Data dodania Pytanie
2017-03-18 22:03 Can't see my html file in view »
I am trying to run basic mean app. My app is working without the angular part. But when I have included angular I can't see the html page which is i...
(1) odpowiedzi
2017-03-18 22:03 How to add content inside div with angular without using jquery »
I'm trying to build a basic tic tac toe game in angular 1. When I click on a square I want to either add X or O depending on the turn. I cannot figure...
(1) odpowiedzi
2017-03-18 18:03 angularjs $http always return -1 with response status 404 »
I found a strange question in angular $http. My request code $http({ method: 'GET', url: 'http://localhost:8080/server/' }).th...
(1) odpowiedzi
2017-03-18 13:03 What is causing the model to null »
Angular Service:- app.service('loginService', ['$http', function ($http) { this.userLogin = function (user) { console.log(user); //prints {'usern...
(1) odpowiedzi
2017-03-18 07:03 Angularjs search filter based on dropdown range »
I have an angular dropdown problem. I want to show projects with ng-repeat with dropdown selected value and split them into range. can anybody help m...
(2) odpowiedzi
2017-03-17 20:03 How to pass $state variable into 2 other sibling $states? »
Plnkr: https://plnkr.co/edit/Brmcxd2LjGVJ6DXwuJtF?p=preview Architecture: $login -> $container (contains $dashboard and $feed), dashboard contains: ...
(2) odpowiedzi
2017-03-17 20:03 Canonical way to debug Protractor-to-Angular sync issues »
The Problem Description: We've recently got this infamous error while opening one of the pages in our application in a Protractor end-to-end test: ...
(2) odpowiedzi
2017-03-17 20:03 Angular 1.x migration performance issues »
I am upgrading a huge angular 1 project from 1.3.x to 1.6.x because we require some patches in the latest version. After updating it seems that the en...
(0) odpowiedzi
2017-03-17 13:03 Save bulk of rows at one time using Angular js ,Spring,hibernate »
Code snippet which i have posted is working fine and values are saving into DB. But what actually i need is to save the list of rows at a time for one...
(1) odpowiedzi
2017-03-16 18:03 Weird error when testing a Rails + AngularJS app with Rspec and PhantomJS »
I have an app that lists tickets. It uses AngularJS. Here's the controller action: def index @tickets = apply_scopes(@tickets) response.headers['...
(1) odpowiedzi
2017-03-16 14:03 Is $timeout still best practice for waiting on Angular directive template? »
Our team's design pattern for waiting on a directive's template to render is to wrap our DOM manipulation code in a $timeout (inside the directive's l...
(1) odpowiedzi
2017-03-16 13:03 Unable to display file in browser angularjs via webapi »
I am trying to download a file returned from Web API to angular client. The problem is that the file does not open, i.e pdf the browser displays "fail...
(1) odpowiedzi
2017-03-16 05:03 400 Bad Request for $http post method »
While using this code I got 400 Bad request rest_missing_callback_params $scope.signUp = function () { var data = { ...
(1) odpowiedzi
2017-03-16 02:03 Does the scope change when we change to other page? »
I have created a variable with $scope in my controller. Apparently, that $scope will be applied (available) to that controller only. Can we use that $...
(2) odpowiedzi
2017-03-15 22:03 Error: $injector:modulerr ASP.Net Core »
I'm trying to get angular working in my dotnet webapi project. I've installed angular and angular-ui-router through npm and all scripts added to my de...
(1) odpowiedzi
2017-03-15 20:03 ngDialog not programmatically closing on IE but works on Chrome »
I have a site that allows a person to import some data. They click a button, and the file select opens and they select a file. When they select a file...
(2) odpowiedzi
2017-03-15 19:03 Target only 1 button in Angular »
Im getting the values in a div from the DB and displaying using ng-repeat: <div ng-controller = "myTest"> <div ng-repeat="name in names...
(3) odpowiedzi
2017-03-14 21:03 How to set a max length for the search input in (AngularJS) ui-select component? »
Suppose I have the following (very basic) code for a ui-select <ui-select ng-model="vm.selected"> <ui-select-match> <span ...
(1) odpowiedzi
2017-03-14 14:03 Not working with json but working with urlencoding in Postman »
I am stuck, I spent almost whole day to solve this problem. I am trying to integrate csrf security to our website that is written with play framework ...
(1) odpowiedzi
2017-03-14 07:03 $location.path does not work in popup browser window »
In my JavaScript Addin for Excel, I use window.open("https://localhost:3000/#/posts/editor/", "popup", "width=1000, height=1100") to popup a browser w...
(1) odpowiedzi
2017-03-14 03:03 Can we display duplicate items in an array with ng-repeat in angularjs? »
I have an array with repeated items.I want to go through all the items in my array with ng-repeat.but Iam unable to display the duplicate items which ...
(1) odpowiedzi
2017-03-14 03:03 Angularjs Load object into array via forEach »
I have an array of Drug Codes 'BARB', 'HALU', 'METH'. I want to loop thru these codes and create a new object for each one. var saveObj = {}; saveO...
(1) odpowiedzi
2017-03-13 13:03 Angular $http POST sending empty object as body »
I have some pretty vanilla code, but can't seem to figure out the issue. On the server side, I get an empty object in the body of the request when se...
(1) odpowiedzi
2017-03-13 10:03 Using an empty object as a parameter to a conditional if loop »
This is similar to what I have been trying to do, var obj = {}; if(obj){ //do something } What i want to do is that the condition should fail when...
(3) odpowiedzi
2017-03-13 10:03 Wrapper function which returns promise irrespective of function arguments »
In my project, I have a scenario where I have different kind of functions with different arguments. One of those arguments holds the callback function...
(1) odpowiedzi
2017-03-12 15:03 IIFE declation of angularJs filter »
I'm new to angularJs and trying to apply the "John Papa style guide" for angularJs coding. I have the following html code : (function(){ ...
(1) odpowiedzi
2017-03-12 11:03 AngularJS how to filter an element in an array »
I have this massive $scope.arrVaritions = [ [1, 2, 3], [4, 5, 6], [7, 8, 9], [1, 4, 7], [2, 5, 8], [3, 6, 9], [1, 5...
(2) odpowiedzi
2017-03-12 08:03 How to read properties file from angular controller »
I am trying to load properties file from angular controller, But I am not getting values instead of values I am getting undefined. For that I am using...
(2) odpowiedzi
2017-03-11 18:03 Angular 2 npm install error packages »
I'm using Angular 2.Node version is v6.9.1. Npm version is: 4.0.3.When I run npm start the following errors are shown: ng2-fundamentals-demo@1.0...
(4) odpowiedzi
2017-03-11 15:03 Using Webpack module loader in browser - only via JS file »
Now that Angular2-cli has moved to Webpack , I guess I should too. With System.Js I could load the file itself (system.js) in browser via : <sc...
(0) odpowiedzi
2017-03-11 11:03 What is difference between ionic-header-bar and ion-header-bar ? When I must use each of them? »
I am new to ionic. I have encountered following two directives :- ion-header-bar and ionic-header-bar I am confused regarding, when each of these d...
(2) odpowiedzi
2017-03-10 16:03 Why does AngularJS filter only run once? »
Consider the following example: angular.module('app', []).controller('TestController', function($scope) { $scope.getText = function() { c...
(5) odpowiedzi
2017-03-10 15:03 Static code analyzer for Angularjs »
I have a project build with AngularJS with frontend and Spring framework on backend. I am applying CI for the builds and I need to check the code stan...
(0) odpowiedzi
2017-03-10 14:03 angularjs and json server error: [$injector:unpr] Unknown provider: $resourceProvider <- $resource <- menuFactory »
Hi guys I developed small angularjs application and use json server to run my backend code. There is a problem with provider in my code. When I run th...
(2) odpowiedzi
2017-03-10 09:03 How to convert .wav data to .mp3 and play audio in Meteor app »
I have a Meteor call which takes the text as parameter and returns the .wav data of that particular text. Now I need to convert that into .mp3 and pla...
(1) odpowiedzi