javascript - Angular Uncaught object adding urlRouterProvider -


on config function when pass param ".config(function($urlrouterprovider)" got error

uncaught object angular.min.js:6  (anonymous function) angular.min.js:6 (anonymous function) angular.min.js:34 q angular.min.js:7 f angular.min.js:33 cb angular.min.js:37 d angular.min.js:18 fc angular.min.js:18 id angular.min.js:17 (anonymous function) angular.min.js:217 angular.min.js:146 (anonymous function) angular.min.js:31 q angular.min.js:7 de.c angular.min.js:31 

i've downloaded lastest version of angular , route module.

i think might have forgotten include ng-route module in app.

var app = angular.module('yourapp',['ngroute']); 

Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -