Implementing id generator angularjs

I was working on a grocery store list using angular js. I was trying to add an item to the list using id generator I was able to add the first item when entered in the input field but I was unable to add another random entered item to it. I'm using ...
more »

2017-08-16 17:08 (1) Answers

Angular UI-Router ui-view in ui-view

I have ui-view in index.html and I have a page for info and there I want to put second ui-view with 4 links. In my index.html <body ng-app="myApp"> <div ui-view></div> </body> This is my info. I want to open default i...
more »

2017-08-16 10:08 (1) Answers

New row is not added in component

Here I am using angular Tree for component. When the data is entering first time it is working fine. But the data is coming from backend, then the adding row button is not adding. Plunker Here is my code. $scope.newSubItem = function(scope) { ...
more »

2017-08-16 10:08 (2) Answers

Getting the field of form angular

I have a form with some fields. I'm validating the fields with css classes:(if the field is invalid and the user touched it, then input's border-color = red.),, {...
more »

2017-08-16 09:08 (3) Answers

(Angular 1) Login form submits partial password

I am using Angular 1's login form. I noticed that 1/10 times that the password is being sent partially if the user pressed the enter key really quickly. For example, if the password is "happygolucky", it will send instead "happy." I can't seem to f...
more »

2017-08-15 00:08 (1) Answers

Angular UI Grid reloading cell templates

I can't figure out how to do what's supposed to be very simple. I have 10 columns in my UI grid, they are all editable. My objective is dynamically "disable" or have them be "required" inputs, depending on the options of a scope object. The obje...
more »

2017-08-14 17:08 (1) Answers

rich text with non editable content, angularjs

I use directive textAngular to format my email notification text and stuck for while with task when I need to add non editable html inside rich text. I added my custom directive over textAngular directive. With help my custom directive I replace spe...
more »

2017-08-14 16:08 (1) Answers

Create Chevron with border in AgularJS

I am using below example to create a chevron but I am not able to create a black border around each chevron. HTML: <script src="//"></script> <...
more »

2017-08-14 15:08 (1) Answers

AngularJs filter nested Array

I have a Problem to get the Object when i search my nested Array for a string. So in this Example iam searching for "Schirm". When i pass it into the normal filter it show me that it is into the First area "Marketing" But i want to get it as Response...
more »

2017-08-14 11:08 (0) Answers

Handling JSONP response in Angular JS 1.6

how can i handle a jsonp response? i tried to search but i cant solve it. the screen shot below shows a jsonp result.1 i get that jsonp response using this code, services.js var app=angular.module('', []); app.config(functi...
more »

2017-08-14 10:08 (2) Answers

Doesn't works radio button angularjs

But I have problem when I checked radio button doesn't change ng-model="title" I changed this code a lot but I can not find a solution. Can someone help, I think there is a problem here in ng-repeat? Can someone help solve this problem? I have code:...
more »

2017-08-13 15:08 (2) Answers

ng2 component in angularjs (1.5) application

I'm trying to use angular2 component in my angularjs (v1.5) application. with pure js (ES6) I succeeded to run an ng2 component in my application with downgradeNg2Component function of UpgradeAdapter class. I'm bootstrap my application with the foll...
more »

2017-08-13 10:08 (0) Answers

$parent not working in ng-include angular

I am changing value of variable inside child controller using $scope.$parent but change is not reflecting to its parent. <div data-ng-if="!addBillDetails"> <button class="btn btn-small" data-ng-if="trItem.skuId==217" data-ng...
more »

2017-08-12 12:08 (1) Answers

How to solve Only secure origins are allowed

I am using cordova geolocation plugin in Ionic app . when i ran the app inside emulator i found this bug Only secure origins are allowed . hence was unable to get the geolocation of inside emulator . but using locahost it works fine probably localho...
more »

2017-08-12 08:08 (1) Answers

Pdf viewer for my angular app

Is there any pdf viewer component for to see pdf in my angular app. I am tried angular-pdfjs-viewer but it does not work well. I have only a link to pdf file in server. Thanks in advance ...
more »

2017-08-12 06:08 (1) Answers

Scan DOM for a String in Angularjs

I'm looking for a simple way to traverse a DOM (or element) for a given string in Angularjs. If the given string is found, I'd like to bold it's text. I feel I'm overthinking this already since I haven't come up with a solution yet. For example Sea...
more »

2017-08-12 01:08 (1) Answers