Questions tagged [angular-directive-link]
21 questions
0
votes
2 answers
Increment Value in directive
I have a directive which is inside ng-repeat. For example:

Sarvani Annamraju
- 31
- 2
- 8
0
votes
1 answer
Form Input Field Validation Using Directives
I want to apply "ng-pattern" to the form input fields using a directive. Let's say I want to check if the value provided is an integer or not.
form-markup
0
votes
1 answer
How to query Angularjs directive nested DOM element by a dynamic selector?
Directive allocation inside a parent template:
Directive template templates/badge.html:
Notice allocation of the dynamic id, using directive $id.
Nik Sumeiko, Frontend…

Nik Sumeiko
- 8,263
- 8
- 50
- 53
0
votes
0 answers
Angular Directive show and hide div within template
I have created a directive that I use on an attribute, in particular a button or anchor.
When clicking the button I append a template (that contains a div) after the button. If the button (or outside of the button / menu ie. body) is clicked again…

dotnethaggis
- 1,000
- 12
- 26
-1
votes
1 answer
expand page element in a modal
I have a widget in the page that shows google chart for some data with couple of filters to filter the chart data and with a print icon to print it.
I want to add a button to open this same widget with the chart, filters and print functionality…

sisimh
- 1,287
- 3
- 20
- 37
-2
votes
3 answers
How to automatically add http prefix in a href using Angular 5
Is there a way in angular 5 to add the prefix http automatically if res.MyWebsiteURL do not contains it.
I would like to have a generic way to do it since I'll use at many place in the project.

Jean-Francois
- 1,899
- 4
- 35
- 73