Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p><strong>Angular 1.0.5 and 1.0.4:</strong></p> <ul> <li><a href="http://docs.angularjs.org/api/ng.$rootScope.Scope#Properties" rel="nofollow noreferrer">Scope</a> has two useful undocumented properties: <ol> <li><code>$parent</code> - can be used as a hack for binding to a primitive property in a parent scope - <a href="https://stackoverflow.com/a/13850702/215945">example</a></li> <li><code>$$phase</code> - can be used to determine if a $digest is already in progress - see <a href="https://stackoverflow.com/a/12859093/215945">this SO answer</a></li> </ol></li> <li><a href="http://docs.angularjs.org/api/ng.directive:ngSwitch#Parameters" rel="nofollow noreferrer">ng-switch</a> has an undocumented <code>change</code> parameter that accepts an expression (<a href="http://plnkr.co/edit/HpTRNv?p=preview" rel="nofollow noreferrer">example plnkr</a>)</li> <li><a href="http://docs.angularjs.org/api/ng.directive:select" rel="nofollow noreferrer">select</a> has an undocumented <code>ng-change</code> parameter that accepts an expression</li> <li><a href="http://docs.angularjs.org/api/ng.$compile.directive.Attributes#Methods" rel="nofollow noreferrer">Attributes</a> has an undocumented <code>$observe</code> method (although it is mentioned on the <a href="http://docs.angularjs.org/guide/directive#Attributes" rel="nofollow noreferrer">Directives</a> page)</li> <li><a href="http://docs.angularjs.org/api/ng.$cacheFactory" rel="nofollow noreferrer">$cacheFactory</a> has two undocumented methods (<a href="http://jsfiddle.net/moderndegree/yYEXN/" rel="nofollow noreferrer">example fiddle</a>) <ol> <li><code>get()</code></li> <li><code>info()</code></li> </ol></li> <li>the <a href="http://docs.angularjs.org/api/ng.$location" rel="nofollow noreferrer">$location</a> service has two undocumented events <ol> <li><code>$locationChangeStart(evt, newUrl, oldUrl)</code> (<a href="https://stackoverflow.com/a/13918833/215945">example</a>)</li> <li><code>$locationChangeSuccess(evt, newUrl, oldUrl)</code> (see also <a href="https://stackoverflow.com/questions/15006849/angularjs-whats-the-difference-between-locationchangesuccess-and-locationch">What&#39;s the difference between $locationChangeSuccess and $locationChangeStart?</a>)</li> </ol></li> <li>use ng-value (undocumented) with <code>input type="radio"</code>, see <a href="http://docs.angularjs.org/api/ng.directive:input.radio#comment-880774822" rel="nofollow noreferrer">Disqus comment</a> in API docs</li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload