More angular refactor

This PR will:

  - Allow us to add angular examples by just creating a controller file and loading the appropriate dependencies in `restful_angular_example_page`.
  - Fix the JSHint errors.