Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Questions:

The angluar tips page shows this code...

Wiki Markup
var app = angular.module('beta', \[\], function($routeProvider, $locationProvider) {

  ...
{color:#dddddd}});

Does this imply that a "module" is an angular application?  

The docs say you can have more then one app per page.  Do all the routers then get called with the GET url?

Am i correct that app.factory('foo",...)  sets it so that a controller definition can be of the form func(foo) and will get

a copy of the foo service in foo?