Skip to main content

All Questions

0 votes
0 answers
13 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 ...
Ibrahim Gidi's user avatar
1 vote
1 answer
47 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="...
김영민's user avatar
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
27 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 ...
Vadim Buryakovsky's user avatar
1 vote
0 answers
79 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 ...
Aniket's user avatar
  • 11
0 votes
1 answer
89 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 "...
user2918673's user avatar
2 votes
0 answers
257 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-...
Marko Tomic's user avatar
0 votes
1 answer
42 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" ...
Computer's user avatar
  • 2,227
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
98 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 ...
user9417455's user avatar
0 votes
1 answer
42 views

How to use controller with custom directive in AngularJS?

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
2 answers
217 views

Manipulate an element that is conditionally rendered

I'm fixing a bug on some legacy Angular 1.5 code. I have a template like this <div id="container" ng-if="ctrl.show_container"> <div id="child"></div> &...
user2183384's user avatar
0 votes
1 answer
101k views

ng-keyup firing but not reading properly when used with an ng-if inside a directive template

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

directive with ng-if not rendering in Angular.js

I'm trying to render a directive whenever I get the search results back. My plan was to keep a scope variable algoliaSearch initially false and whenever I get back search results I change it to true. ...
cmgchess's user avatar
  • 10.3k
0 votes
0 answers
256 views

angular.min.js:117 Error: Could not resolve 'create' from state ''

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

15 30 50 per page
1
2 3 4 5
223