-
Notifications
You must be signed in to change notification settings - Fork 27.4k
docs(guide/$location) global cntl deprecated #8255
Conversation
Thanks for the PR! Please check the items below to help us merge this faster. See the contributing docs for more information.
If you need to make changes to your pull request, you can update the commit with Thanks again for your help! |
The docs are generated by angular/dgeni. |
I am sure there is an option to turn it off
|
Use |
See
|
Ah oke thanks (should have read the docs better, sr about that). I'll update the PR. |
Thanks for this @vdyckn - this is a complex example, eh? |
How about a pair of examples like this: http://plnkr.co/edit/KZXbUVRNYuwf0E7sh7j4?p=preview |
Yeah it's too complex to keep in the docs. I was also thinking about changing and simplifying the example, but chose to not change the example too much. @petebacondarwin : the example looks nice. I'll update the PR and split up the examples. (although i think the directive isn't working, but i'll fix it) |
I'll also add some ptor tests |
Great! |
Examples are split up, but didn't have time today to write test. Will do that tommorow. @petebacondarwin was this what you meant with splitting up these examples? |
Yes like that! Some tests would be great then we could merge. |
Okay finally found some time to write the tests. But i got a problem with these tests. If i don't (browser.ignoreSynchronization = true;) before each it statement, i get the following error.
Am I doing something wrong in the code here? |
I'll take a look tomorrow. It might be that Protractor is struggling to find the angular app in the page, since we are hacking the $browser. |
We should use a decorator for $browser and pass through this call. |
I'll fix this up and merge in |
Ok nice, looking forward to see the result. Let me know if you need some extra hands. |
PR partially fixes #8226
There is still a problem where the doc generator constantly adds ng-app to the body which is not necessary or wanted in the example.
BTW: where can i find more info about the doc generator