An intermediate/advanced look at how to use Angular JS in conjunction with a server-side.
This is an extension of my screencast Intro to Angular JS that focuses more on intermediate/advanced topics and walks through creating a working web application on top of the Laravel 4 Web Application Framework.
Things you can expect to learn from End to End with Angular JS:
Things you can expect to learn from Security with Angular JS:
Installing PHP 5.4 and MCrypt is the most tedious part of getting up and running with this example, but Laravel 4 is so nice that I think it's worth it. Here's the basic instructions for getting up on Mac OS X:
brew tap josegonzalez/php
brew install php55
brew install php55-mcrypt(this will automatically link the binary into the php.ini for you)
brew install composer(think of it like homebrew, or npm, or apt-get, but for PHP modules)
git clone https://github.com/davemo/end-to-end-with-angularjs.git
php artisan key:generate
php artisan migrate
php artisan db:seed
php artisan serve
http://localhost:8000and log in with email
Once you have the app up and running you can visit
http://localhost:8000and you will see the Login Form.
If you liked this code and screencast you should follow me on twitter: @dmosher
Happy Coding! :)