Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hi, like this demo, updating to working with angular 1.2.xx #21

Open
rednaxus opened this issue Jan 27, 2014 · 0 comments
Open

hi, like this demo, updating to working with angular 1.2.xx #21

rednaxus opened this issue Jan 27, 2014 · 0 comments

Comments

@rednaxus
Copy link

To update this example for angular.js 1.2+, you need

angular.module("exampleApp", ["ngRoute","ssAngular"]).config(["authProvider", "$routeProvider", "$locationProvider", (authProvider, $routeProvider, $locationProvider) ->

and to include the angular route stuff separately, e.g.

<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.9/angular.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.9/angular-route.min.js"></script>

(From http://stackoverflow.com/questions/18287482/angularjs-1-2-injectormodulerr)

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant