angular.youtube - an AngularJS demo using YouTube feeds
Built from the Angular-Seed project
View the running app [here] (http://tdoherty.github.com/angular.youtube)
Running the app during development
You can pick one of these options:
- serve this repository with your webserver
- install node.js and run
Then navigate your browser to
http://localhost:<port>/app/index.html to see the app running in
Running the app in production
This really depends on how complex is your app and the overall infrastructure of your system, but
the general rule is that all you need in production are all the files under the
Everything else should be omitted.
Angular apps are really just a bunch of static html, css and js files that just need to be hosted somewhere, where they can be accessed by browsers.
If your Angular app is talking to the backend server via xhr or other means, you need to figure out what is the best way to host the static files to comply with the same origin policy if applicable. Usually this is done by hosting the files by the backend server or through reverse-proxying the backend server(s) and a webserver(s).
For more information on AngularJS please check out http://angularjs.org/