Like i did some time ago for AngularJS i want to write a simple tutorial useful to setup a new application using Laravel 5.2 and Angular 2 together using the asset pipeline offered by Laravel.
We are going to setup the 5 mins quickstart of Angular 2 Beta into a Laravel view. We will use Laravel Elixir to create a basic gulp task to compile the Typescript Angular code and to move some file.
Angular 2 Beta Simple Todo application [Obsolete]
After long time of waiting finally the Angular2 Framework, or ng2 if you prefer, passed in Beta stage. It’ s not the final version so, a lot of thing may change before the official release but for sure we can consider it more stable then when I wrote the first basic tutorial. In the new version of this powerful framework, there is lot of things to learn so i will start with a very basic tutorial.
If you are going to develop a multi platform mobile application and you googled a bit probably you have met Ionic. Ionic is a complete framework based on AngularJS and Cordova to develop mobile application with a great interface and an excellent support for all the Cordova plugin like Camera and Social sharing.
In this second part of the tutorial we will build the frontend of our chat application. The application will be built with AngularJS using the Loopback SDK and some other good modules we will see soon. The starting point of the app will be created with the Angular Yeoman generator so be sure to have this tool installed.
As announced some days ago in this tutorial we will see how to build a chat application using AngularJS as frontend and Loopback for backend. A demo can be found here. The communications from AngularJS to the backend will be made via REST API, meanwhile the real time messaging will be handled with Socket.io. The chat will be available only for registered users so we need to setup the authentication process in both AngularJS and in Loopback. A user, once logged in, can join an already created room or can create new rooms as he like.