Move index to a new folder
Display movies info

* Move json file with the data
* Fuse angular code in a single js file
* Add angular directives to show the data
Add node.js based server

* Declare api URLs
* Declare model
* Query for all movies
Use the API as data source

* Delete json file
* Update data source URI
Use angularjs routes

* In node.js redirect all URL not matching with an API URL to the
  Angular app
* User Angular routes and partials.
Add form for inserting movies

* Add a new route.
* Add a new controller for the new route.
* Add a method on the server for handling the post requests.
Add page for movie details

* Add a route based on the movie id.
* Add a controller for the new route.
* Query for a single movie on nodejs.
Handle success and failure when adding movies

* Send HTTP 201 on success and HTTP 400 on failure.
* Redirect to movied details on success.
* On failure, display error on the new movie form.
Handle bad request for movie details

Return 404 if the movie's not found.
Pretify URLs

Use $lovationProvider to remove the hash (#) from the routes.
Add links to movie detail on movie list

Also use spans instead of divs loop on arrays.
Change module & controllers declaration

See:
* https://docs.angularjs.org/guide/controller
* http://stackoverflow.com/questions/17035890/angular-convention-for-declaring-controllers
* http://stackoverflow.com/questions/19957280/angularjs-best-practices-for-module-declaration

Also:
* Rename mainController to movieListController
Pretify

* Replace tabs with four spaces.
* Ensure that the lines are less than 80 characters long.
Add remove button on the movie list

* Add a method to remove movies to the API.
* Add a button to remove movies from the movie list.
Add editing capabilities

* Add route on the server to edit movies.
* Use creation form to edit movies.
* Add navigation links among pages.
Fix deletion on movie list page

The return value from the server made it necessary to click twice for
the movie to dissapear from the interface.
Set and get date and time via separated input

* Use inputs of type time and date instead of datetime.
* Split the movies screening date when editing an existing movie.
* Compose dates for new and modified movies by combining the new
  inputs.
Fill array elements in the movie model

* Add a service for adding and removing items from arrays.
* Link the service with the interface.

In other news:
* Use strict mode.
Pretify

* Remove some useless lines.
* Fix some indentation.
Update function to modify arrray

Take the new element as a parameter.