Data dodania Pytanie
2017-11-17 21:11 toastr doesn't appear in ui-router child states »
Below is an example of my parent/child states and the index.html file that renders my angular app. No toastr messages appear in the child states, not ...
(1) odpowiedzi
2017-11-17 17:11 CSS selectors not working after AngularJS upgrade »
I've migrated an AngularJS application from version 1.2.26 cu 1.5.11 and I'm having some troubles with selectors. In a directive I have this piece o...
(0) odpowiedzi
2017-11-17 02:11 Error: [filter:notarray] Expected array but received: 0 »
error Error: [filter:notarray] Expected array but received: 0 html Activator (a menu item) of the getConcessionaireList function. <ion-item ng...
(1) odpowiedzi
2017-11-16 12:11 Wait for $http result before initializing angular app »
I have an angular app that needs to do a quick http request to get some config information before the rest of the application is initiated, at least b...
(2) odpowiedzi
2017-11-16 09:11 Shorthand method to count length of array »
I have an array like this var arr = [{a:1, ...},{a:1, ...},{c:2, ...},{a:3, ...},{a:1, ...}] how can I get the length of array where arr[x].a != 1 ...
(3) odpowiedzi
2017-11-16 08:11 Crop image via finger(touch) in Ionic App »
I am Working on ionic based Application.My ionic app version is 1.2.4. I want to Crop Functionality in my application. I want to crop image Via Touch ...
(3) odpowiedzi
2017-11-15 15:11 transclude and Require on Angular4 »
I'm trying to convert this component of angularJs 1.6 to angular 4 and I can't find the solution for require and transclude: Here AngularJs version:...
(1) odpowiedzi
2017-11-15 15:11 AngularJS with jQuery for selecting parent element »
I'm posting my html and directive code. I have two spans, which I have attached ng-click to. On ng-click I want to check the classes of their parents ...
(3) odpowiedzi
2017-11-15 10:11 Make input type file required based on condition in AngularJS »
I am receiving a JSON data from backend like these { "data":{ "xyz":[ { "number":"1", "short_text":"Vertrag unterzeichnen...
(3) odpowiedzi
2017-11-14 22:11 Angularjs Filter Table contents based on a property »
I am getting into some angular development and I am building a very simple example, but somehow I am stuck... (Yes, yes I know angular 5 is out and I ...
(1) odpowiedzi
2017-11-14 17:11 Differences between .call(this) and () on a immediately self invoking function »
I came across this code in one of our online AngularJS apps, and was wondering what this does. Is it different than just calling a immediately self in...
(1) odpowiedzi
2017-11-14 02:11 angular wont reset form after ng-click? »
My form won't reset after I do a ng-click, am I doing it right? I can submit just fine, but the form will not reset, here is my log: angular.js:1...
(2) odpowiedzi
2017-11-13 16:11 Webpack AngularJS Sourcemaps issue »
I've been struggling with getting my source-maps working in my app for quite a while. I have set devtool: 'source-map', in the webpack configurat...
(3) odpowiedzi
2017-11-13 14:11 Will the ternary operator be executed on every digest? »
If I use the ternary operator in my Angular.js view will it be executed on every digest(like functions) or only if the variables necessary for the dec...
(3) odpowiedzi
2017-11-13 07:11 Cross Site Request Forgery (XSRF) Protection AngularJS »
Our AngularJS app is located in site.com and our api is hosted in api.site.com, The backend is written by ASP.NET Web API, It is appearent that the CO...
(1) odpowiedzi
2017-11-13 06:11 Angular filter with multiple dropdown »
I am trying to filter with multiple dropdowns. For example, when narrowing down by two numbers of value and num, there is no corresponding data when s...
(2) odpowiedzi
2017-11-12 20:11 filter through array of objects in ng-repeat angular.js »
I am trying to filter an array (list) of repeated objects, based on the value of one of the property. However I keep getting [filter: not array] error...
(1) odpowiedzi
2017-11-12 16:11 CSS vertical line in angularjs treeview »
I have been trying to make tree view in angularjs. Frankly speaking, I am very bad in styling have to struggle a lot for simple things. Now I am stuck...
(1) odpowiedzi
2017-11-12 00:11 mediaDevices.getUserMedia not working with Safari 11 in iOs 11 (video is black) »
I can't find explanation on this. From what I read it seems that Safari 11 is working with getUserMedia APIs, from iOs 11. So I don't understand what ...
(1) odpowiedzi
2017-11-11 23:11 Manipulate JSON data using AngularJS »
hope you well.. I have an API made using php, to grab from SQL and convert it to JSON which is working fine. My only problem was, i can't manipulate ...
(1) odpowiedzi
2017-11-11 23:11 Returning data from the factory to the controller »
I'm new to AngularJS and this is my first question in stackoverflow. I've been reading a lot of possible answers for this problem but I didn't find a ...
(2) odpowiedzi
2017-11-11 20:11 Angularjs ng-init in select doesn't work »
I have simple select tag: <select ng-model="newItem" ng-options="pr.id + ') ' for pr in products track by pr.id" ng-init="newItem=...
(1) odpowiedzi
2017-11-10 23:11 directive with `this` doesnt give current element angular js »
hello im using this directive in angular js to track a enter keypress angular.module('botApp').directive('myEnter', function () { return function...
(1) odpowiedzi
2017-11-10 14:11 'IPromise<any>' is not assignable to type 'Promise<any>' »
I'm building a confirm dialog for when the user changes tabs. The code works fine but tslint complains about a type mismatch. The controller looks lik...
(1) odpowiedzi
2017-11-10 05:11 Can I call $rootScope.$emit inside a $rootScope.$on function? »
I want to know if I can call a $rootScope.$emit inside a $rootScope.$on function, the reason is I have two controllers ctrl1.js and `ctrl2.js, and I ...
(2) odpowiedzi
2017-11-09 18:11 how to apply filter functionality on a particular trees node rather on the whole tree »
I am searching for compName-1 in the search box. It is returning all the repos in which this compName-1 string is found. I dont want the search optio...
(0) odpowiedzi
2017-11-09 16:11 ng-model not being set for input color when style display is none »
I have this html (below), for an input color type, I want to show the Font Awesome icons instead of the input, which works fine, the thing is that by ...
(3) odpowiedzi
2017-11-09 13:11 CSRF with ASP.NET Core and Angular 1 - ValidateAntiforgeryToken always fails »
I have a NET Core 2.0 application and my views are not using Razor, just Angular 1. Following a few articles(1, 2, 3), I have the following: Configur...
(0) odpowiedzi
2017-11-09 12:11 Displaying data from a database using Angularjs »
Basically what I am trying to do is ng-repeat records from my database, however, I am getting the following error 'SyntaxError: Unexpected token F in ...
(2) odpowiedzi
2017-11-09 07:11 How to pass global data in Controller in Angularjs »
I have an application in Angularjs and Coldfusion. I saved in session data on user thanks to my file application.cfc. I would like to get these data i...
(1) odpowiedzi
2017-11-08 14:11 why this angularjs animation does not work? »
The animation doesn't work. I could not fint what I am wrong. Here is the code. HTML <html> <head> <script src="https://...
(0) odpowiedzi
2017-11-08 13:11 AngularJS testing with Protractor- call to click() never seems to be performed »
I am developing a suite of tests for an AngularJS application, and have recently added the following test script to my spec.js file: it('should navig...
(0) odpowiedzi
2017-11-08 08:11 Angular and Select2 combined cant get the value to array »
I am working an a project and had to make a product list. but when I use select2 with the search option the value doesn't change and if I add a new ro...
(1) odpowiedzi
2017-11-07 14:11 Hiding disabled select options in internet explorer > 11 using angularjs »
I was wondering how I can hide the disabled options in AngularJS for IE? To be more clear take a look at this fiddle: https://jsfiddle.net/s723gqo1/...
(1) odpowiedzi
2017-11-07 10:11 editing a JSON file »
First of all yes I did check other options, questions and answers but sadly those didn't work for me. So I'm currently working on a small project in...
(2) odpowiedzi