# Category: angularjs-directive

## Upgrade directive from angular js to angular 8

someone can help to upgrade this directive to a angular 2+ I like this directive, cuz let me validate only

## In Angular JS, is there a way to watch for changes to the DOM without using scope.watch?

I am attempting to create an angularjs bootstrap accordion that scrolls the accordion to the top when opened. These solutions

Currently when I pass a param to $state.go that includes a ~ it duplicates when the url is being created. Continue reading ## Pass getterSetter to directive I’m working with AngularJS and i want to extract a form field into a directive. This field is using as Continue reading ## Assign unique id to directive attribute from link In my AngularJS app, I have a shopping cart directive where I need to assign a unique id from the Continue reading ## ng-repeat items not available in post-link function of parent directive I would like to bind event listeners on ng-repeat items from within post-link function of “hosting” directive. But during post-link Continue reading ## Angualr Js Error:$parse:syntax Syntax Erro

Error Message is Error: [$parse:syntax] http://errors.angularjs.org/1.6.9/$parse/syntax?p0=Object&p1=is%20unexpected%2C%20expecting%20%5B%5D%5D&p2=20&p3=eventClick(%5Bobject%20Object%5D%2C6)&p4=Object%5D%2C6) at angular.min.js:7 at q.throwError (angular.min.js:239) at q.consume (angular.min.js:240) at q.arrayDeclaration (angular.min.js:238) at q.primary (angular.min.js:235)

## Insert Text in HTML Input / Textarea at Specified Position

In AngularJS, how do we insert a text, for example, I Want to insert text at position 7 with word