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 applications are also frequently known as single-page ...

learn more… | top users | synonyms (2)

1
vote
0answers
9 views

how to access a variable from outside the $scope function angular javascript?

i am trying to access the variable "k" from out side the $scope function .controller('AboutCtrl', ['$scope','$http', function($scope,$http) { var k =""; $scope.search = function() { // $...
0
votes
0answers
7 views

Where do i create or generate a Service?

I would like to know where should I be generating an angular2 service? The latest documentation of angular2 says its okay to generate a service inside the app folder, however, some video tutorials ...
0
votes
0answers
6 views

Angular JS Directive with ng-class

I have a pagination links directive, app.directive('postsPagination', function(){ return{ restrict: 'E', template: '<ul class="pagination" ng-show="totalPages > 1">'+ '<li ng-...
0
votes
1answer
7 views

ui-router events and $location events order

I want to know which one comes first and what is the correct order of these events? $locationChangeStart, $locationChangeSuccess, $stateChangeStart, $stateChangeSuccess
0
votes
0answers
6 views

failed to show the data of next date

i am creating a web app in which i want to show the data of multiple dates like if i am executing my proc likeexec welcomepageproc 'admin','admin','' all the data of today will be loaded and if i ...
0
votes
0answers
4 views

Angular JS Cryptography. pbkdf2 and iteration

I want to convert my string to PBKDF2 with sha512 and iteration count. I did in nodejs by using "pbkdf2" module. how can i achieve the same in angular JS.
0
votes
1answer
3 views

When using Angular typeahead directive, console displays error “Template for directive 'uibTypeaheadPopup' must have exactly one root element.”

It seems like there are a lot of related questions - however, I've tried everyone of the solutions to no avail. Let me start by discussing the problem and what I've tried: I literally copied and ...
0
votes
0answers
2 views

Getting error while trying to display location on google map using Angular.js

I am getting the following error while displaying the location on google map using Angular.js. Error: Mixed Content: The page at 'https://plnkr.co/edit/ifUKClNS0Ocju9iQLGPo?p=preview' was loaded ...
0
votes
0answers
6 views

Set the returned data to Kendo Dropdownlist

I am working in ASP.Net MVC. I have a dropdownlist of Kendo and a form to insert data to database and set the recently inserted data to be selected on kendo dropdown.I am using angular for post method....
0
votes
0answers
7 views

Ionic / Angular.js- Converting Binary Image Data to Image

In my Ionic App, I have a Laravel webservice that is pulling an image file from AWS S3. The S3 bcuket is secured with an IAM user. Therefore just by simply pointing to the http://S3URL/bucket/...
0
votes
0answers
14 views

Two way binding in reactive forms

Using Angular 2, two-way binding is easy in template-driven forms - you just use the banana box syntax. How would you replicate this behavior in a model-driven form? For example, here is a standard ...
1
vote
2answers
31 views

handling key value pair

HTML: <input type="text" ng-model="user.fname" ng-disabled="!allow.fname"/> <input type="checkbox" ng-model="allow.fname" /> <hr/> <input type="text" ng-model="user.lname" ...
0
votes
0answers
8 views

UX Flow after user sign in in Single Page Application

I've built a single page application using angular(MEAN) and curious to know the how the user navigation needs to follow after he has logged in. A guest can see several sections in the single page (...
2
votes
6answers
27 views

Jquery search using real time input , like Filter option in Angular JS

how to apply filter option for following html code that will check and display on real time input given. <div class="block-parent"> <input type="text" name="search" class="search"> &...
0
votes
1answer
6 views

I am not getting Jquery datepicker value on submit button from UIGRid

//I have set jquery Datepicker in UI-GRid cell as below: { name: 'RDD', displayName: 'RDD', cellTemplate:'<input type="text" class="datepicker" id="{{row.entity.PartID}}" ng-model="row.entity....
0
votes
1answer
30 views

how to show loader when i select somthing from dropdown ?means while loading data from backend it should show some event like spinner

This is my HTML form div <div class="col-lg-2 "> <select name="limitCount" id="limitCount" ng-model="limitCount" class="form-...
0
votes
0answers
8 views

Align each md-tab object in md-tabs to right and to left and center

There are 6 tabs: I want to align first 3 tabs to left in the second row. Last 2 tabs to right and 4. is in center. download template, upload product, gallery to left, "my products" is in center, ...
1
vote
0answers
19 views

How to create rest client through angularJS?

When I hit the Rest API from Angular rest client, I am getting error like XMLHttpRequest cannot load http://localhost:2222/utn/accounts/all. Request header field X-Requested-With is not allowed by ...
0
votes
0answers
26 views

Controller life-cycle in Angular

I defined m my application states using ui-router: $stateProvider .state('app', { abstract: true, views: { 'nav@': { templateUrl: 'app/navbar.html', controller: '...
0
votes
2answers
30 views

ng-change increment and decreament value in ng-repeat loop

I have a code like this: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Welcome to LearnKode - A code learning platform</...
0
votes
0answers
5 views

Google analytics SPA analytics screen view count always zero

I implemented GA on my latest project.The web part of project is done using angularjs1 framework. I have a strange issue.I have implemented GA on android,ios and web. The issue is that the screen ...
0
votes
1answer
13 views

'tables-basic' is an Angular component, then verify that it is part of this module

I have a table-basic.component.ts in which i declared 'tables-basic' as a selector and i am calling the template in dashboard.html and i followed the below process but still i did got an error,which i ...
0
votes
1answer
26 views

Inherit CSS from parent component in Angular Application

I am building an application that I have to hard 'reset' all default CSS that is applied by browsers. However, I'm having to copy/paste this in for each xxx.component.css because it doesn't appear ...
-3
votes
0answers
16 views

Web application Security Discussions

I am developing classified web application using Laravel 5.3 for back end and AngularJS 1 for front end. to ensure the security of my application (client side & server side), I’m planning to do ...
0
votes
0answers
14 views

Adding duplicate rows in ui-grid, typing on one field reflecting on all other rows,

created a UI grid with the following fields. vm.gridRadioTest.columnDefs = [{ name: 'testName', displayName: 'Test Name', enableCellEdit: false, enableColumnMenu: false, ...
0
votes
0answers
12 views

How do I pass data with my MEAN app? From a page of products to a new page with details about the specific product that the user clicked on?

I am a newbie at the MEAN stack. I have a full app working and have searched extensively on how to solve the following problem but I'm realizing that I don't know how to "ask" the question to be sent ...
-1
votes
0answers
14 views

How to integrate BlurAdmin template with my django project?

Firstly, is it possible to integrate? If it is, can you let me know how to go about it. I am stuck here. I have cloned it to my system following the guidelines provided and it worked. Now I have to ...
0
votes
0answers
8 views

angular-bootstrap-lightbox “invalid image” with more than four JSON “urls” properties

I am trying to make use of angular-bootstrap-lightbox to open a modal after clicking on a thumbnail, and then navigate through that collection of images. The issue I am having is that only the first ...
0
votes
0answers
5 views

Ionic with Google Maps - Failed to instantiate module

I have installed angular-google-maps and underscore through bower. I included all files in index.html: <!-- ionic/angularjs js --> <script src="lib/ionic/js/ionic.bundle.js"></...
0
votes
0answers
19 views

Using ASP .NET MVC, how can I create a web page to display dynamic data from tests?

I don't know if this is the right place to ask this question or not but here goes: At the moment I've put together a few applications at the place where I work that run a series of tests that check ...
0
votes
0answers
4 views

Angular 1.5 ui-view ng-scope fixed positioning css context is not window but view

I have an Angular 1.5 application. I have a .5 opacity div that covers the view / think modal. The project has changed a bit and now I need to get this div covering the entire window. The project ...
-2
votes
2answers
30 views

Validation on html

i'm trying to validate my loan form. So, here's how it works. The minimum amount of the loan is 100k, meanwhile the maximum amount is 10million. I tried using minlength and maxlength, but it surely ...
0
votes
0answers
8 views

How to make ionic popup continuously open infinitely instead of only two times when page reload?

The codes below shows only TWICE popup shows when user need to try again to check whether there were internet connection or not. var statusDeviceNetwork = DeviceApps.statusDeviceNetwork(); if(...
0
votes
2answers
34 views

Hide show div angular

I am trying to hide and show div on each button click. Basically, if the first button is clicked show the first div... if the second div is clicked show the second div. My issue is that it shows and ...
0
votes
0answers
5 views

$q.defer(), AngularJS1 $asyncValidators only matches the first object in the array

{ key: "username", $asyncValidators: { 'asynch': function(username) { var deferred = $q.defer(); $timeout(function(){ for(var i=0; i<=RegUsers.users.length-1; i++) { ...
0
votes
1answer
17 views

Angular - Cant update textarea after user input

Im having an issue with Anuglar. ng-bind doesnt update textarea once its value has been altered by user input. Note: The reason im using ng-bind instead of ng-model is that I need ng-bind-html as the ...
0
votes
0answers
14 views

Argument is not aNaNunction, got undefined on a Controller

So I'm getting this error, and I've been looking at the other questions but nothing worked. Here is where I declare my module: (function () { 'use strict'; var app = angular.module('...
0
votes
0answers
19 views

How to use logic of one html in another (angular 2)?

I have an html file with some logic of how to show my list: <!-- Show list with the last name--> <div *ngIf="person.lastName" class="list-row-bg"> <b>Name: </b>{{person.name}...
0
votes
0answers
6 views

how can I add info of console.log($scope.items) in firebase

I want to add the info from my console.log inside my firebase. all the infos shown in console.log($scope.items) , how to insert in firebase database. <div ng-controller="MainCtrl"> <...
0
votes
1answer
15 views

Add an Array to Model and Data in Angular 2 with TypeScript

I get the following error when trying to add a descriptives array to my data and model. error TS2322: Type '{ "id": string; "name": string; "competency": string; "descriptives": string[]; "year": ...
-1
votes
1answer
24 views

How can i make my tutorial made angular app run properly? [on hold]

First of all i'm new to angular and javascript in general, i'm trying to follow a tutorial on this website: http://thewebhacker.com/rapid-app-prototyping-with-angularjs-and-couchdb/ I can run the ...
0
votes
1answer
25 views

NodeJS and AngularJS Conceptual confusion

I recently made some simple single page applications using AngularJS but I never used a server, I rant it locally... Today I started with a NodeJS course and there was something bothering me... For ...
0
votes
2answers
28 views

How to pass string parameters into ng-click

When I hard code in the value I want to pass like this, it works and data is being returned correctly: <!-- This works! --> ng-click="LSCC.getCrawlResults(4661224)" However, when I try to ...
0
votes
1answer
8 views

Angular ui-router parameter causes conflicts with other states

Just to give some context, I have an Angular application with several separate modules. I am working with ui-router to provide routing to these modules, and I want to use the names of the modules in ...
0
votes
0answers
10 views

Ionic: reload modal from a different controller

I have an app, that has a side menu with it's own controller. In side menu template, I have login and logout links, among the others. I've set ng-if for login and logout links, to check whether a user ...
0
votes
0answers
11 views

Is Smart Table compatible with Angular 2.0?

I was looking at the documentation for Smart Table (https://lorenzofox3.github.io/smart-table-website/) and all the examples seem to use Angular 1.0. I was wondering if Smart Table can be used with ...
0
votes
1answer
7 views

Attempting to use controllers with angularjs, error when taking controller code from app.js and putting into a controller file

So I'm trying to play with basic angular code so that I can get a feel for how to create and declare controllers for the project I'm working on. I took some sample code from the angularjs.org ...
-2
votes
0answers
20 views

How filter with several parameters

What I can do to make a filter with several parameters? My JSON is: { age: 12, state: "New", ethnic "Afro-Colombian", phase "3", region: "Manaure", name: "Pablito Perez" } The filter I need is ...
0
votes
1answer
13 views

Populate table based on selected filter option using angular

Currently i am returning carType results like so: Truck SUV Sedan Truck SUV I would like to populate a filter select box so it will have the following as options without repetition: ...
0
votes
0answers
14 views

AngularJS bind and replace text

I am new to AngularJS and I am struggling with this.I am using MVC 5 to create a form. I have an input text where people enter some text (Note the ng-model): <div class="form-group"> ...