Skip to main content
0 votes
0 answers
90 views

I'm new to AngularJS and this is my first attempt in creating a custom directive. I found that the same piece of code for downloading a file was used in multiple places so I want to create a directive ...
Francis.Tricka's user avatar
1 vote
1 answer
547 views

I have written a directive in AngularJS, and used the input type number with min-max and ng-model attribute. I have used isolated scope. In the directive, I have written a blur event. I am getting min-...
Rohit Hushare's user avatar
0 votes
1 answer
27 views

I am building a custom Angular directive to display pagination across my application. I'm using isolated scope to pass totalNoOfRecords but it's not getting displayed. Any help will be appreciated ...
Shashank's user avatar
  • 447
1 vote
0 answers
51 views

Iam using a directive to form a select element, repeating the json and forming select for each element. Now change of first dropdown1 i need to change the allowed_values of dropdown2. My sample Code. ...
Sridhar's user avatar
  • 73
0 votes
0 answers
26 views

I was reading about the isolated scopes in AngularJs. I was wondering that are there any built-in directives in AngularJs that uses isolated scope. Could you please provide some useful link or mention ...
Mohit's user avatar
  • 532
0 votes
2 answers
59 views

I want to call a function of Controller from Directive, It is for validation. But i'm a bit confused about how to call it from Directive when i'm using isolated scope. Here is the code of directive:- ...
ahsan ayub's user avatar
0 votes
1 answer
301 views

I have a directive like below - <div data-my-param-control data-save-me="saveMe()"></div> In directive controller, I bind saveMe() function from controller with isolated scope & like ...
s.jain's user avatar
  • 23
1 vote
1 answer
112 views

tag: <grid-filter varible="info.M_id" on-change="searchMember()"> </grid-filter> directive app.directive("gridFilter", function () { return { scope: { varible: "=", onChange: "&...
anil singh butola's user avatar
0 votes
0 answers
30 views

I'm following Dan Wahlin isolate scope with function parameters. I have a couple of ambiguity in this article. Since there is no response at that site, I opted for stack overflow. I'm new to the ...
Raida Adn's user avatar
  • 415
0 votes
0 answers
62 views

Is there a way of calling a function defined in a directive from the parent controller without using isolated scope or events?
Sapna Dhalor's user avatar
0 votes
2 answers
127 views

Below is the code illustrating the isolated scope scenario. directivesModule.controller('CustomersController', ['$scope', function ($scope) { var counter = 0; $scope.customer = { ...
sandiee's user avatar
  • 153
0 votes
3 answers
371 views

Is there a way to pass a boolean value (dataLoading) from an isolated scope directive to another element to show a progress bar when data is loading during login operations? index.html <div class=...
Daniele's user avatar
  • 69
1 vote
2 answers
144 views

I have two examples in favor of the above statement - 1) When using $scope (http://plnkr.co/edit/kFM77mVReS7AUwZsNzCV?p=preview) - <!DOCTYPE html> <html> <head> <script ...
Rachit Belwariar's user avatar
1 vote
2 answers
4k views

We are using Angular 1.4.2 and I am trying to take a count value from a directive using ng-click, pass it to a function, then pass it up to the parent controller. After some effort it is working in a ...
James-Jesse Drinkard's user avatar
112 votes
2 answers
51k views

Creating an isolate scope inside a directive lets us map the outer scope to the inner scope. We have seen six different ways to map to attrbutes: =attr &attr @attr = & @ What do each of these ...
Shaun Luttin's user avatar

15 30 50 per page