The problem was caused by missing inclusion of ngRoute module. Since version 1.1.6 it’s a separate part:
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0rc1/angular-route.min.js"></script>
var app = angular.module('myapp', ['ngRoute']);
More Related Contents:
- capitalize the first letter and the letter followed by a dot(.) using angular js
- http request has been block from https
- “Thinking in AngularJS” if I have a jQuery background? [closed]
- AngularJS routing without the hash ‘#’
- AngularJS passing data to $http.get request
- AngularJS ng-click stopPropagation
- How to create separate AngularJS controller files?
- How to filter (key, value) with ng-repeat in AngularJs?
- AngularJS: No “Access-Control-Allow-Origin” header is present on the requested resource [duplicate]
- What is the $$hashKey added to my JSON.stringify result
- How can I use command line arguments in Angularjs Protractor?
- AngularJs – cancel route change event
- Using $window or $location to Redirect in AngularJS
- Customizing the template within a Directive
- How to handle file downloads with JWT based authentication?
- Angularjs: ‘controller as syntax’ and $watch
- How to make a preselection for a select list generated by AngularJS?
- ng-selected not working in select element
- Hide Angular UI Bootstrap popover when clicking outside of it
- Share a single service between multiple angular.js apps
- AngularJS error: ‘argument ‘FirstCtrl’ is not a function, got undefined’
- AngularJS: ng-if not working in combination with ng-click?
- Angular ui router – Redirection doesn’t work at all
- Validate phone number using angular js
- AngularJS ng-include inside of Google Maps InfoWindow?
- Tell screen reader that page has changed in Backbone/Angular single-page app
- How is AngularJS different from jQuery
- how to fix 404 warnings for images during karma unit testing
- How do I pass multiple attributes into an Angular.js attribute directive?
- Globally defined AngularJS controllers and encapsulation