Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
53 views

Why the ng-pristine class in AngularJS form always returns true. enter a value in the input field and click the button, it does not return false, it returns true. test.html <div ng-app="...
김영민's user avatar
1 vote
0 answers
25 views

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
61 views

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
0 answers
81 views

The HTML template contains the nested directives. The child directive will create the element or fields based on the data injected to it. So field can be type of dropdown, input field etc. I suspect ...
Aniket's user avatar
  • 11
2 votes
0 answers
282 views

Is it possible to render AngularJS component inside React component which is rendered from an AngularJS component. I have a specific scenario where: <angularjs-component-1> <react-...
Marko Tomic's user avatar
0 votes
1 answer
43 views

I have a HTML page with a textbox and table to display data <input id="search-term" type="search" placeholder="Search..." ng-model="vm.term.search" ...
Computer's user avatar
  • 2,247
0 votes
1 answer
101 views

I've got some code in AngularJS here working half percent (I will explain) : <button ng-class="{'svgMinus-dark': isDarkTheme, 'svgMinus': !isDarkTheme}"></button> I also tried ...
user9417455's user avatar
0 votes
1 answer
46 views

Let's say I am using a custom directive named my-form-data: <my-form-data info='infoObj1' template="ssc.html"/> <my-form-data info='infoObj2' template="college.html"/> ...
p zankat's user avatar
  • 135
0 votes
1 answer
305 views

I'd like to edit my checkbox so I get a or an input with type=button instead. I have for now, properly working : <label>Afficher</label> <input type="checkbox" ng-model="...
user9417455's user avatar
0 votes
1 answer
106k views

I'm trying to implement a Refresh button for fetching latest search results from an external index. When I click on the Refresh button the icon is supposed to spin. My plan was to have a scope ...
cmgchess's user avatar
  • 10.3k
0 votes
1 answer
106k views

I have a directive and it works fine in a way such that when I type something the search() scope function inside my directive fires and sets $scope.query with the input text. here is the directive ...
cmgchess's user avatar
  • 10.3k
0 votes
0 answers
263 views

Hi I have created a angularjs+webix project wherein I will be adding CRUD operations. I have a app.js file where I put the routing: var app = angular.module('app', [ "webix", "ui....
Preksha Sharma's user avatar
0 votes
1 answer
98 views

I have this scope function where it has a cost and a formatted value in data. That cost and formatted value are coming from an API. The formatted value can be in a different currency not limited to ...
stellainlucem's user avatar
0 votes
1 answer
684 views

I have developing some code in Angular JS and i need to disable radio button based on previous selection or change in text box in JS controller: PPCO.cusGender = [ { id : '1', key : 'Male', value : '...
sandeep's user avatar
  • 25
-1 votes
1 answer
25 views

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
  • 461
0 votes
1 answer
98 views

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
207 views

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
230 views

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
108 views

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
36 views

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
1 vote
1 answer
35 views

I am trying to have a variable string, and access the matching $scope.field but it is undefined and not returning what I am expecting. What am I doing wrong, or is this not possible? $scope....
Suzy's user avatar
  • 261
0 votes
1 answer
103 views

Here is HTML with internal script <html> <body ng-controller="test"> <span> {{data.name}} </span> <input ng-model="data.name"> ...
Rohit Hushare's user avatar
0 votes
1 answer
214 views

Trying to get a simple binding going with a html select and a scope variable but the select is not populating with the right value. <select ng-model="noOfReps" name="reps" id=&...
p0tta's user avatar
  • 1,691
0 votes
2 answers
258 views

I am working on a legacy AngularJS project. The code is too complicated/large to show here. But I have noticed that functions that are called when the digest changes are getting called hundreds of ...
John Gilmer's user avatar
-1 votes
1 answer
336 views

How to disable the pinning in UI Grid for AngularJs?? Even after setting enablePinning:false or enableGridMenu: false It is not work app.js file: var app = angular.module('app', ['ngTouch', 'ui.grid',...
Satish Hawalppagol's user avatar

1
2 3 4 5
179