Search within TutorialsPark

AngularJS Services : Exceptions


Learn how to use AngularJS Exception services to handle exception arising during execution


Table: jQuery Mobile - Button

Name Description Try it
ngJg to force the angular.element library Try»
ngApp Used to designate the root element of the application, typically used within the root element of the page i.e body or html Try»
a To change the default behaviour of the HTML A Tag, inorder to prevent the default action. Try»
ngHref To set the src attribute on a element, it prevents the user from navigating to wrong destination by clicking on the link before AngularJS is done processing the Element. Try»
ngSrc To set the src element on img element. It prevents navigation to wrong image before AngularJS is done processing. Try»
ngSrcset To set the attribute srcset on the img element, srcset. The directive prevents navigation to incorrect image before AngularJS processing is complete. Try»
ngDisabled To set the attribute disabled on the element, if the expression within ngDisabled evaluates to true Try»
ngChecked To set the attribute checked on the element, if the expression within the ngChecked is evaluated to true. Try»
ngReadonly To Handle readonly Attribute. Normally, when an attribute is removed the associated information is lost as well.But ngReadonly directive cannot be removed by browser and hence provides a permanent and reliable space to store binding information Try»
ngSelected To handle ngSelected Attribute.Normally, when an attribute is removed the associated information is lost as well.But ngReadonly directive cannot be removed by browser and hence provides a permanent and reliable space to store binding information Try»
ngOpen To manage open attribute, and used with details element.Normally, when an attribute is removed the associated information is lost as well.But ngReadonly directive cannot be removed by browser and hence provides a permanent and reliable space to store binding information Try»
ngForm Used for nested forms, eg : to determine the validity of sub-group of controls. Try»
form Used to handle form element Try»
textarea To gain control over HTML textarea with angular data-binding. The data-binding and validation properties are same as that of input element. Try»
input HTML input element control. When used with ngModel, it provides data-binding, input state control and validation. Try»
ngValue To Bind the given expression with the value of element option or input[radio], and when the element is selected, the ngModel of the element is set to the bound value. Try»
ngBind Used to replace the contents of the specified element with the value given in the expression. And update the content when the expression changes. Try»
ngBindTemplate To replace the element text content with the template specified in the attribute ngBindTemplate, it can contain multiple expressions as well. Try»
ngBindHtml It Evaluates the expression and then inserts the resulting HTML into the element in a secure way. Try»
ngChange The directive evaluates the given expression when the user changes the input.Unlike, JavaScript onchange event which is triggered at the end of change, this evaluates the expression immediately. Try»
ngClass To dynamically set CSS classes on an HTML element by binding an expression which represents all classes to be added. Try»
ngClassOdd To add classes only on odd rows Try»
ngClassEven To add classes only on even rows Try»
ngCloak To prevent Angular HTML template, from being displayed in its uncompiled from while the application is still loading. Try»
ngController To attach a controller class to a view Try»
ngCsp To Handle Content Security Policy rules. Try»
ngClick To set a custom behaviour when an element is clicked. Try»
ngDblclick To set a custom behaviour when a dblclick event occurs. Try»
ngMousedown To set a custom behaviour for mousedown event Try»
ngMouseup To set a custom behaviour for mouseup event Try»
ngMouseover To set a custom behaviour for mouseover event Try»
ngMouseenter To set a custom behaviour for mouseenter event Try»
ngMouseleave To set a custom behaviour for mouseleave event Try»
ngMousemove To set a custom behaviour for mousemove event Try»
ngKeydown To set a custom behaviour on keydown event Try»
ngKeyup To set a custom behaviour on keyup event Try»
ngKeypress To set a custom behaviour on keypress event Try»
ngSubmit To set a custom behaviour on submit event Try»
ngFocus To set a custom behaviour on ngFocus event Try»
ngBlur To set a custom behaviour on Blur event Try»
ngCopy To set a custom behaviour on copy event Try»
ngCut To set a custom behaviour on cut event Try»
ngPaste To set a custom behaviour on paste event Try»
nglf To remove or recreate a section of the DOM tree using an expression. If the evaluated expression returns false, then the element is removed , if true a clone of the element is inserted in the DOM. Try»
ngInclude To Fetch, compile and include an external HTML fragment. Try»
ngInit To evaluate an expression in the current scope. Try»
ngList Text Input that converts between a delimited string and an array of strings. Try»
ngModel To bind an input, select and textarea to a property on the scope via NgModelController. Try»
ngModelOptions To specify a customized list of event which will trigger a model update. Try»
ngNonBindable It instructs AngularJS not to compile or binds contents of the current DOM Element Try»
ngOptions To dynamically generate a list of option elements for the select element using an array or object . Try»
ngPluralize Directive is used to display messages using en-US localization rules. Try»
ngRepeat To repeat the template specified by an expression once for every item in the collection. Try»
ngShow To show the specified HTML element based on expression provided by the attribute ngShow. Try»
ngHide To hide the specified HTML element based on expression provided by attribute ngHide Try»
ngStyle The Directive allows you to specify CSS style on an HTML element based on a condition Try»
ngSwitch To switch directive is used to swap DOM structure of your template based on a condition Try»
ngTransclude Specifies the insertion point of the transcluded DOM of the nearest parent directive making use of Transclusion Try»
script Load the content of element script into $templateCache, templates are used via ngInclude, ngView or directives. Try»
select HTML SELECT element with angular data-binding Try»