All Questions
Tagged with angularjs angularjs-scope
8,765
questions
0
votes
0
answers
12
views
AngularJS: Unable to Display Found Items in Search Functionality
I'm working on an AngularJS project where I have implemented a search functionality to filter menu items based on a user-entered search term. However, I'm encountering an issue where the found items ...
1
vote
1
answer
41
views
Why the ng-pristine class in AngularJS form always returns true
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="...
0
votes
1
answer
26
views
Why is $scope >= 0 showing true in interpolation while empty in controller?
I'm setting a $scope variable to 0 or 1 based on a successful action and showing elements with ng-show. I'm resetting the $scope variable to empty when the step is finished. However, I have discovered ...
1
vote
0
answers
21
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/...
0
votes
1
answer
26
views
How to connect a directive with a controller in angularjs?
I am refactoring some angularjs with a new directive and I am trying to access a controllers scope from the directive.
Here is the directive:
(function () {
/**
* Config
*/
var ...
0
votes
1
answer
52
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 ...
1
vote
1
answer
117
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>
...
1
vote
0
answers
77
views
ng-isolate-scope in each child directive along with ng-repeat in AngularJS
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 ...
0
votes
1
answer
77
views
show more in AngularJS dropdown
I have a select Dropdown created using AngularJS. We have set a limit to show the top 5 items and the remaining 5 items should be visible to the user . when he clicks the 5th item with the name "...
2
votes
0
answers
227
views
Rendering AngularJS code inside React component
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-...
2
votes
2
answers
41
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:...
0
votes
1
answer
39
views
Filter and show results from other pages
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" ...
0
votes
1
answer
78
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 ...
0
votes
1
answer
95
views
AngularJS ng-class updating content
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 ...
0
votes
1
answer
120
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 ...