Skip to main content

All Questions

1 vote
0 answers
23 views

Update the isolated scope of all instanced directives

My current situation right now is rather tricky and I've been bashing my head for two days straight trying to fix this problem. I have accordion sections in which there is a space reserved to add/...
Antony Lacerte's user avatar
0 votes
1 answer
54 views

different image url each profile (ng-repeat)(ng-src)

I want a different image url each person profile everytime they’re profile details appeared. But what happen is it’s only targeted the last url on $scope.imgSrc so they have all same pics which is I ...
Hilario Abe's user avatar
1 vote
1 answer
127 views

console.log string inside array object with angularjs

I want to console.log or target the string of an object inside array with angularjs but it doesn't work. Please help me I'm still new on angularjs. Here is what I'm trying to do. <!DOCTYPE html> ...
Hilario Abe's user avatar
2 votes
2 answers
52 views

AngularJs $http post not sending data to restful api

This is my angular controller that performs the post function app.controller ('accountsCtrl', function($scope, $http) { this.accounts = { code:"", account_name:"", description:...
phenomT's user avatar
  • 43
0 votes
1 answer
85 views

Update directive when scope variable is updated in angularjs

I have created a directive in which i am parsing a variable "count". In my page there is a dropdown and "count" gets updated whenever dropdown value is changed. I have created a ...
aryan's user avatar
  • 43
0 votes
1 answer
124 views

While toggle, show/ hide numeric key pad changed to alpha-numeric keypad

In mobile, when inserted pin number, and then toggle show/hide then numeric key pad also changed to alphanumeric keypad. I required, when I toggle show/hide button it should be only display numeric ...
Nitin Sonwane's user avatar
0 votes
1 answer
32 views

How to add $watch for form validation inside AngularJS class

I try to add a $watch to check if the form is valid or not. // testCtrl.html .... <div class="row" ng-form="testCtrl.testForm"> ... ...
Milena's user avatar
  • 986
-1 votes
1 answer
25 views

angularjs prints all method

I need to create a method to compone a url, So in my class I do this: createLink take un id and return the url: console.log("before the method"); console.log($scope.createLink ) $scope....
Picco's user avatar
  • 451
0 votes
0 answers
19 views

ng-href doesn't pint correct url

I need to create an url on icon to download some files. In my controller I do this $scope.download=download; function download(id){ console.log("Parameters "+id); return "......"+...
Polly's user avatar
  • 657
0 votes
1 answer
95 views

a doesn't show href

I need to click on icon and With some api I need to download a file. So I do in my html: <td> <a title="download" ng-show="file.name" ...
Postilla's user avatar
  • 161
0 votes
2 answers
206 views

Angular JS if checked return value

I'm trying to return a value to my $scope depending on if the checkbox is checked in angular JS but cannot seem to do so. Is there a way to get it to work? HTML: <div class=" specialClause ...
Deji James's user avatar
0 votes
1 answer
206 views

How to use a string as a variable in AngularJs

How to use a string as a variable within the scope. Heres my code: HTML (one of many divs like this where type1 can be type2, type3, and so on): <div style="color:red;font-size:11px;">{...
juliebee's user avatar
0 votes
1 answer
102 views

value store in Angularjs Objects and outputting in View

I have a form. It contains Name , quantity & price . I want to get input from form and store in Angularjs Objects. Then i have to output to View the whole array of angular objects. I tried with ...
Jaykumar's user avatar
  • 443
1 vote
1 answer
32 views

How to pass a parent components function into a child and then call it from inside the child AngularJS

Function on parent markAchievement() { console.log("Achievement marked") } Binding on the parent's HTML <mark-goal-button clickEvent="$ctrl.markAchievement()"></mark-...
jjnrmason's user avatar
  • 311
0 votes
1 answer
853 views

How to reset the angular scope variable when the Html tag gets executed?

Hy, I have a variable bound to my scope, $scope.isSuccess = { invalidPhone : false } And I am using a span to display a message when the variable gets true ... <form name = "myForm&...
Ishmeet Singh's user avatar

15 30 50 per page
1
2 3 4 5
251