-
Notifications
You must be signed in to change notification settings - Fork 184
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
NG1 ES6 components usage #170
Comments
A possible solution is to use reslove in your route. If you do this you can access the $resolve of the ui-router
An other option is to use an inner property of angular called $$childHead (which retrieves a child scope)
|
Thanks @kristofdegrave , both solutions worked on Ang 1.6 components with class definitions. |
For me
Update
|
@blowsie did you figure out a solution to your problem? |
@tonestrike yes, my solution was to access
|
Thanks! I used a much more janky way to solve this problem. This is helpful. |
@blowsie I'm using the solution from here #42 (comment) to fix it. I don't know how or why it works, but it works. This is literally my run block:
|
@biltongza yep, thanks I already had this in my config too, usefeull for @tonestrike to know. |
Oh awesome! Thank you both. |
Hi Hackers!
I was wondering, is there an example using a dynamic label from $scope => using ES6 Classes?
For example:
I am not able to use
name
,$ctrl.name
nor$scope
in the config route for this PoC.Any help is welcome, thanks!
The text was updated successfully, but these errors were encountered: