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

Doesn't work with Angular's "Controller as" syntax #71

Closed
pulkitsinghal opened this issue Jun 18, 2015 · 1 comment
Closed

Doesn't work with Angular's "Controller as" syntax #71

pulkitsinghal opened this issue Jun 18, 2015 · 1 comment

Comments

@pulkitsinghal
Copy link

Using the Angular's "Controller as" syntax breaks:

Error: [ng:areq] Argument 'MyCtrl' is not a function, got undefined
http://errors.angularjs.org/1.3.16/ng/areq?p0=MyCtrl&p1=not%20aNaNunction%2C%20got%20undefined
    at https://site.me/bower_components/angular/angular.js:63:12

Here's a sample html that breaks:

<div class="container" ng-controller="MyCtrl as myController">
    <div class="row main-container" cg-busy="myController.myPromise">
</div>

Why would this happen? I can't help but feel that this may not be a angular-busy issue. What do you think?

@pulkitsinghal
Copy link
Author

It was a missing carat that had broken the entire index.html ... everything is fine.

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