[AngularJS] Removing Event Listeners in Angular JS

2015-11-09 Thread user12345
I am using the below event listener in my custom directive code to execute certain logic once that event is triggered. element.on("change", function(e) {//Logic goes here} I want to know whether do we need to manually destroy these listeners or will angular destroys these listeners. If we

[AngularJS] Memory Leak while using ng-options (Custom Directive)

2015-11-03 Thread user12345
Hi In my application(1.3.17 version), we have lot of dropdowns in HTML Pages which were created as a part of custom directive(Here the drop down is created with the help of custom directive). The data in the dropdowns are being filled with the data which we receive as a part of Rest API

[AngularJS] Angular : How to detect changes made to form automatically

2016-09-15 Thread user12345
Hi All Is there any way to detect whether the user has made any change to the form using angular form .? example : Step 1 : Value for name (type = input) will be : "test".(By default, the ng-model will be defaulted as value will be retrieved from API Response). Step 2 : User has changed value

[AngularJS] Re: deploying an angular 2 app

2016-09-16 Thread user12345
HI You can create a war file and deploy it with the help of jboss. Actually i would suggest to de-couple both front end(Angular) and backend(Any server technology) code and deploy them as separate wars. You can use gulp for creating a war which will bundle all the js,css and other files which