Tagged Questions
AngularJS is an open-source JavaScript framework. Its goal is to augment browser-based applications with Model–View–Whatever(MV*) capability and reduce the amount of JavaScript needed to make web applications functional. These types of apps are also frequently known as Single-Page Applications.
0
votes
0answers
3 views
Angular JS ng-mdoel is not working properly for array of array
I'm very new to angular js. i need some help
My requirement
I should to have two multiselect combox box
Should be able to select multiple value
Based on the selected values from combobox1 the ...
0
votes
0answers
13 views
How to disable angular template trimming?
I'm trying to create a tree structure in the select element. I make indention by filter. As a result this indentation trims after output. Is that possible to disable trimming?
<select id="cat">
...
0
votes
2answers
13 views
how to create a combination of two properties as “name” in ng-options
Normally what we do is
...}}_{{$index}}" ng-options="option.serial_no as option.NameRelation for option in fullFamilydetails" ng-model="obj.ch6a_decl_fam_memb_id">
and on Java I am doing
...
...
-4
votes
0answers
9 views
How to integrate step by step mean.js project with cordova
I am not able to understand the flow of integration of cordova with mean.js (branch master) project code.
0
votes
1answer
11 views
angularJS $http.get communicating with API
I am new to AngularJS and I am trying to understand it by studying sample codes.
Here I have one about $http.get, from the following link:
...
0
votes
0answers
16 views
angularjs Add one column to json data
I want to add a color column dynamically to the "house" table. My code is based on angularjs and json. I tried the following:
$scope.house.push({"color": value2.color});
The value2.color is ...
0
votes
1answer
19 views
How to bind dropdown control in edit mode?
I am having a list of country along with its corresponding states.
Now i want to bind the country and state value in dropdown control when open in edit mode.
This is the fiddler link:
...
0
votes
1answer
25 views
How to make scoped variable in Controller based on some condition in Angularjs
My code in Angularjs Controller is like :
$scope.validElements = [
{
"id": "One", ...
0
votes
0answers
2 views
How to get current Index ion-slide-box ionic without create button next (ionic-cordova-angularJs)
i have question about hybrid mobile used ionic-cordova-angular. this question about problem ionic-slide-box without button next. i try to get current index when user swift page in slidebox.
how to ...
0
votes
0answers
13 views
How can I use myprovider in service in angularJS
I just referent the translateProvider in like this:
var myAppModule = angular.module('myapp', ['ngRoute', 'ngMaterial', 'ngResource', 'pascalprecht.translate']);
start js, and I want ...
0
votes
1answer
12 views
Dynamically creating nested navigation menu item using Bootstrap and Angularjs
What I want to achieve is dynamically creating a menu in bootstrap based on a json using angularjs.
The json looks like this:
{
"Page A":"page_A.html",
"Page B":{
"Page ...
1
vote
0answers
8 views
How to upload to Cloudinary with AngularJS?
I am new to Cloudinary. I want to upload images to Cloudinary in my web application using AngularJS but I don't know how. I can't find an fully example to use Cloudinary with Angularjs. I have tried ...
0
votes
1answer
5 views
Load Nav view in index with angular ui-router
I'm trying to keep my index.html file clean and abstract out the navigation along with the partials that I load in there. I want to specify that my nav.html file should load in every page and have ...
-4
votes
1answer
19 views
Best Frameworks for Creating a Website Builder [on hold]
Companies like Wix and Squarespace have a front end website editors that allow users to build dynamic websites through a custom "WYSIWYG" like website builder where users can edit text, add HTML ...
1
vote
0answers
6 views
Take picture without user input with ng-Cordova
Does anyone know how to circumvent the user input needing to take a picture with ngCordova? I am using ionic framework, but I think this would be relevant to anyone using angular.
For example, if ...
0
votes
0answers
17 views
What is SPA? Can I say my application is SPA
![enter image description here][1]
[1]: http://i.stack.imgur.com/Os6cr.jpgstrong text
I am developing a single page application using Angular.
My login and dashboard screen totally different.
In ...
0
votes
0answers
16 views
Angularjs export to excel not working in IE
I want to export my data to excel or pdf but then it's not working in IE. I tried to export it in Chrome and its working fine.
But most of the people who'll use my project are using internet explorer. ...
0
votes
1answer
9 views
window.location.href/reload causing AngularJS [$rootScope:infdig] 10 $digest() iterations reached
I know this is causing the problem, as if I were to change window.location.href/reload to $location.path(), it works just fine. Now, I do not see any performance errors when running the code ...
0
votes
0answers
10 views
AngularJS + Firebase Upload profile image
I have a JavaScript image uploader which will upload an image and give me the image src. I need to save this value in my FireBase DB for the current user being created.
I tried outputting the img.src ...
0
votes
1answer
7 views
Setting up Angular phonecat application on node
Im newbie to Angular and trying to setup angular phonecat application.
I have downloaded the code from here
https://docs.angularjs.org/tutorial/
and installed a nodejs.
Now, I'm not sure how to ...
0
votes
1answer
5 views
I am getting $firebase is not defined with thinkester.io reddit clone
I am getting the following error in my console:
Error: $firebase has been removed. You may instantiate $firebaseArray and $firebaseObject directly now.
My post.js service file is this:
...
0
votes
1answer
17 views
Koa, Angular, Node, Bootstrap, Less: Structure?
I am trying to get a project up and running with the following technologies.
Koajs
Angularjs
Mangodb(not used at the moment, will look at later)
Nodejs
Twitter bootstrap (includes less)
I come ...
-1
votes
0answers
16 views
can someone help me to filter first letter base on button click? any tutorial or links will appreciated
the search box is ok but what i want is, when the user click the tab which is 'A/B' the list will filter the names starting witch 'A/B'
C-D
E-F
...
0
votes
2answers
19 views
How to use underscore.strings with AngularJs
I'm having trouble getting underscore.strings working with AngularJS.
The documentation around underscore.strings always shows examples with requireJs which I don't think is appropriate for ...
0
votes
1answer
12 views
is there a way to have a directive put an object in the injector for its controller?
{
controller: 'myController',
templateUrl: '/templates/my-template.html',
restrict: "E",
};
Is there any way that I can add an object in the injector so that it's available inside ...
-1
votes
2answers
19 views
ng-true-value and required in AngularJs
<input type="checkbox" id="acknowledge" name="acknowledge"
ng-model="formData.acknowledge"
ng-true-value="true"
ng-required="formData.acknowledge !='true'"/>
<div ...
0
votes
0answers
25 views
Model update not refreshing ng-include content
I have the following ng-include In my main page:
<div id="CommentsBox" data-ng-include data-src="'comment.html'" ng-model="comments"></div>
In 'comment.html' I have:
<div ...
0
votes
0answers
13 views
Angular objects not recognized -Protractor-net
Script fails on this step on protractor-net ....NgWebDriver.cs file
probably on command step get('$browser') notifyWhenNoOutstandingRequests(callback) - Any idea on what $browser or ...
0
votes
1answer
14 views
keeping outer view unchanged while just reloading inner view in angular-ui
I have few templates somewhat like these:
home.html
<div ui-view></div> <!-- homeframe.html plugs in here -->
homeframe.html
<!-- quickcontact.html and settings.html plugs ...
1
vote
2answers
21 views
Asynchronous ngOptions
To be honest, I have no idea what I'm doing within Angular, so this is probably terrible coding practices. In any case, I'm trying to load some data into a <select> element asynchronously.
...
0
votes
1answer
18 views
How to use ng-options to set the same text no matter the option selected - Angular.js
I understand how to set the default value of the options box.
My question is different in that there is a default value "Actions" - and there are 3 other filtering options that can be selected...
...
0
votes
1answer
24 views
how do I send additional user information in a form after getting stripe token - angular
So i'm using Stripe to accept payment on a form that also takes other info - name - address etc. I'm using the following library:
https://github.com/gtramontina/stripe-angular
and I have the form ...
1
vote
0answers
4 views
angular-route-segment with angularfire-seed
I'm trying to integrate angular-route-segment into the angularfire-seed application. I'm new to AngularJS so this is all quite confusing at the moment. Has anyone rewritten routes.js to use ...
0
votes
1answer
26 views
angularjs compare two arrays
there, I am wondering how I can compare two arrays in angularjs, and return the value if that makes sense. Here is the first one:
...
0
votes
1answer
20 views
Mongoose populate() is null after server restart in angular-fullstack
I have "Video" mongoose schema that references an "owner" which is a reference to a "User" schema. I am using the Angular-Fullstack Yeoman Generator
video.model.js:
'use strict';
// load the things ...
0
votes
3answers
29 views
How to remove contents of a div with Angular
Is there an easy way to remove the contents of a div in Angular,
I have <div class="row"> inside of which I have an ng-repeat that generates several widgets. Now if an action takes place from ...
0
votes
1answer
15 views
Angular.js application does not work on IIS but there's no errors in the console
I'm trying to push my Angular.js SPA to an IIS7 server but having issues. The application appears to load halfway (as my views and templates are loaded fine), but then stops functioning like so:
...
1
vote
1answer
19 views
How to prime angular $http cache ($cacheFactory) with static JSON content?
My goal is to get $http to work on my local filesystem by caching some static JSON objects in a $cacheFactory. I wish to avoid network requests entirely and use only cached content.
The issue is that ...
0
votes
0answers
20 views
How to test if a function returns a angularJS promise object
I am trying to test if a function returns an angularjs promise but there doesn't seem to be a good way to test for this can someone illuminate me?
0
votes
1answer
15 views
AngularJS, datatables, and ajax call to php
I'm new to an angularjs project and one thing I've encountered is a feature that uses angular-datatables to display and populate the tables for the project. I'm trying to retrieve data using an ajax ...
0
votes
0answers
27 views
Control directive with controller
Basically I've to have the use a custom directive multiples types in a page and control the behavior and look of which "instance" of the directive individually.
Searching I've found same solutions to ...
0
votes
2answers
23 views
Angular Form Validation - min element can't be greater than max element
I have some simply validation in my range inputs like this:
<form name="form" novalidate>
Min: <input type="number" name="min" ng-model="rangemin" ng-pattern="/^[0-9]+$/">
...
0
votes
1answer
14 views
Unique identifiers for ui automation
Our ui automation team is asking for a better way to select elements for their automated tests. My thinking is that we can inject a dedicated attribute (say "ui-auto") for each testable element. This ...
-1
votes
1answer
25 views
Display array as list in angular
I have an array in my javascript called "animals":
var animals = ["dog", "cat", "horse", "cow"];
My html is:
<p>{{animals}}</p>
Currently it is displaying like so:
["dog", "cat", ...
0
votes
0answers
9 views
Polymerjs Rails and Angular-rails-templates
I am having trouble using polymer in Rails app that has angularjs as the frontend.Here is how I installed polymer,
gem 'polymer-rails'
rails g polymer-rails
This created the app/assets/components ...
0
votes
1answer
26 views
AngularJS controller as syntax “this” is not $scope
I'm new to angularjs and I'm trying to employ the styles outlined from this post: https://github.com/johnpapa/angular-styleguide. When using the var vm = this style, rather than $scope, the vars I'm ...
-4
votes
0answers
20 views
How can i remove animation from few ion view
I am working on this app where i want menu + tabs for..
i have seen on one example on codepen and try to implement it ..here's the link "look for second seaction"
...
0
votes
1answer
10 views
AngularJS within polymer element
Whatever i do ng-click of AngularJS in paper-button within polymer-element it doesn't work, is there any file to import? please tell me step by step what should i do.
<link rel="import" ...
0
votes
0answers
11 views
i need advice for semantic ui tab controller with angular
I am beginner for semantic ui, I want write controller for the tabs with angular as dynamic, but there is little example for semantic ui tab with angular. What is your advice on this subject.
Thank ...
0
votes
0answers
17 views
Does KnockoutJs or AngulasJs use DTDs
I am thinking how KnockoutJs or AngulasJs type of frameworks allow us to add new Attributes, Elements etc in our HTML Code? How does the compiler at runtime allows these frameworks.
The only thing I ...