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
1answer
18 views
Angular 2 app base initialization
Angular 2 gurus.
How can I make basic initialization of my data in app. For example if user logged in and press F5 I need to request current user data from server before all queries starts like get ...
-3
votes
1answer
10 views
Best way to convert JS script into Angular directive
I am new to angular and have read about using custom directives to add functionality to the DOM. I understand how to do this with small functions but I have a JS plugin that I need to use in my ...
1
vote
0answers
7 views
Parse Async Calls not updating $scope variable in AngularJS
I'm having trouble with this code right now, it's not throwing errors right now so I'm not sure what's wrong. What I'm trying to do is get a list of courses from my Parse database and have that ...
0
votes
0answers
6 views
angularjs-nvd3-directives chart: add label at end of line
I'm using angularjs-nvd3-directives to show some data in a line-chart.
On top of the line chart i see the legend and now i want to have at the end of every line a label, where the keyText of this ...
-3
votes
0answers
8 views
Minimized browser blink on certain events like gmail
Minimized browser tab have to blink in task bar when notification or message from my web application.
1
vote
0answers
14 views
Changing the nature of click in daterangepicker
I use date range picker for bootstrap
Currently, if i use a range picker, two calenders are shown: one for "from-date" and one is for "to-date". And according to our user interface test results, ...
0
votes
1answer
7 views
How to skip/exit from bower prompt asking for angular resolution version
I tried to install another package which got interrupted with following prompt asking for which version to use. Is there proper way to skip the installation instead of force stopping process using ...
-2
votes
0answers
7 views
Sinhala Text Editor with Audio Outputs for Blind People [on hold]
Sinhala text-to-speech conversion needs to be done by analyzing user entered Sinhala text and the corresponding speech output needs to be produced for users to hear. what will be the language good for ...
0
votes
3answers
20 views
Directive in Angular not getting DATA
My directive is not getting any data. In console i get that total items: undefined. It's all the same even if i'm passing a number or a value from my controller. Nor do i get any values at my template ...
1
vote
2answers
21 views
Will each use of an angular Controller create a new Instance of if?
I've created an angular controller UserController.
one in my index.html like this:
<nav class="navbar navbar-default" ng-controller="UserController as account">
<span ...
0
votes
0answers
22 views
AngularJS filter an array
I have the following ng-repeat:
<td data-ng-repeat="scheduleAbsenceDayContainer in scheduleAbsenceMonthContainer.scheduleAbsenceDayContainers track by $index
and scheduleAbsenceDayContainer can ...
0
votes
0answers
5 views
Dynamic Graph Using Websocket Inside Cordova App
Hello I'm trying to create dynamic graph inside a mobile cordova angularjs application, I've done a bit of research and tried several libraries to plot a graph using a websocket protocol with no ...
0
votes
0answers
3 views
Gulp changed ionic.app.css in ionic serve
I work with ionic framework and for better performance I add angular templatecache, sass and generate using gulp. In Action this worked for me But when I serve ionic gulp generate/changed original ...
-2
votes
0answers
12 views
can not go to another page when ajax pending
I'm using angularjs 1.3, when I load a page, the lost of $http(ajax) will call, but I can not go to another page when ajax pending, I don't know why
how to solve that?
-1
votes
0answers
20 views
is it Advisable to use Angular js 2.0? [on hold]
I am building Ecommerce mobile-website with bootstrap(responsive) & angular js..
I have really good hand in both..
As Angular Js 2.0 Is out in beta so i am just confused rather to stick with ...
0
votes
1answer
11 views
Display TimeSpan type Data in Angularjs Listing
Trying to show time in table but it shows me time in this format
...
1
vote
2answers
26 views
CSS: How to position elements in ng-for loop using position : “fixed”
<ul class="nav nav-pills nav-stacked" style="list-style: none">
<li *ngFor = "#el of dragZoneElems; #idx = index">
<h4 style = "position: fixed; top : 'idx'* 10" ...
0
votes
0answers
22 views
Angularjs getting different response format of API in Firefox and Chrome
I am trying to implement $localforage in angularjs but when i am getting the response from $localstorage the format is weird, it's returning a different format on Chrome and Firefox.
Correct response ...
0
votes
1answer
10 views
AngularJS doesn't work with yii2
I'm trying to get simple Hello World from yii2 layout.
AppAsset.php:
...
public $js = [
'js/angular.min.js',
];
...
layout/main.php:
...
<html lang="<?= Yii::$app->language ...
0
votes
1answer
21 views
$parse:syntax Syntax Error in AngularJS
i have a program that sorts words based on Authors, which is an array. i am recieving the $parse:syntax error in the console; however, the program is executing and returning the right results. i'm not ...
0
votes
0answers
7 views
SqLite not update in Anglurjs
We are trying to update MobileNumber in SQLite table after that we need hit server using mobileNumber.But We are unable to update and get data from Services also.We are trying like this
...
0
votes
1answer
10 views
SASS not working, command prompt throws error during gulp serve
I m building a web app using angularjs and gulp. Whenever, I run gulp serve,the website is working, however, the CSS is not working. I m getting the following error in the command prompt. I have tried ...
0
votes
1answer
22 views
AngularJS: I am not able to get the http.get's JSON data from parent state's controller
I have a nested view like so:
.state('xyz',{
url:'/xyz',
templateUrl: 'tpl/xyz.html'
controller : 'xyzCtrl'
})
.state('xyz.abc',{
url:'/abc',
templateUrl: 'tpl/abc.html'
})
and ...
1
vote
2answers
36 views
AngularJS - Change properties of a class from a controller
I won't harp on about the use-case for this (it's needed to override some behaviour in Angular Material which is causing bugs in Safari), but here's what I'm trying to do:
HTML:
<style>
...
0
votes
2answers
23 views
Conflict of modules in AngularJS
I am trying to show the content using pagination so I have used "angularUtils.directives.dirPagination" directive in module as angularJS doesn't support pagination inherently. Along with that I want ...
1
vote
0answers
46 views
How to select and deselect an div / button in angularJs?
I am trying to make items not in list but in div and if an item is clicked, the div will be in different colors and the item will be added into a column but if the item is clicked again, the item will ...
1
vote
2answers
21 views
deleting a list from another json list in angular js
This is the main json list
allData=
{
"searchList": [{
"vaccinationId": 1,
"vaccinationName": "vacc 1",
"vaccinationNameAr": null
}, {
"vaccinationId": 2,
...
0
votes
0answers
9 views
Input field not updated upon ngModel change
So I created an Angular directive that can bind input to an array of strings. But whenever I try to remove an item from the array programmatically, the model does not get reflected on the input field. ...
0
votes
0answers
26 views
PHP Script for MYSQL working on one file, not on another
I currently have an AngularJS application querying a database through a factory linked to a PHP script. The script below works exactly as planned and outputs the JSON used for Angular:
<?php
...
0
votes
1answer
9 views
angular material locked md-sidenav takes up entire screen
I am looking to have a locked left sidenav with content on right that will collapse and hide when in tablet/mobile view. I want it to look/have the same functionality as the Angular Material doc ...
1
vote
0answers
10 views
Using ng-model=“search” typeahead= to enter existing tags and repeat after a choice?
I am trying to use ng-model="search" typeahead="..." to get a list of tags. As soon as the user starts typing I want to display all the ones that match. Once a user chooses one, enter that string to ...
1
vote
1answer
33 views
AngularJS dropdown working in Firefox not in Chrome and Safari
In the dropdown for different options ID is different with that one API will be called.
HTML :
<select id="select">
<option ng-repeat="project in orderedProjects | unique:'projectId'" ...
0
votes
1answer
27 views
AngularJS OneTime Binding with ng-repeat doesn't let me refresh scope
I have a list that I am using ng-repeat and one-time binding because there is no need for me to update once I have the data.
I was hoping that I could use one-time binding and force a digest, but I ...
3
votes
1answer
22 views
How to display login error message one after another
I am supposed to check if my login has an error it will display "invalid username. then, the second login will display " server busy" and third login will redirect to link dashboard.html
However, my ...
0
votes
0answers
12 views
Angular-ui-tree not able to create direct child Node
I am using http://angular-ui-tree.github.io/angular-ui-tree/#/connected-trees; but facing an issue while creating direct child nodes by Drag and Drop from another tree.
I am not able to create the ...
0
votes
2answers
23 views
angular service not being called in .then()
I am having problem calling my $apartments service within this controller.
$scope.checkout = () => {
$scope.stripe_err = null;
if ($scope.subscription.type === '') {
$scope.stripe_err = 'No ...
-1
votes
0answers
11 views
search filter on ng-repeat generated table in template html
I'm new to angular, trying to implement search filter on ng-repeat generated table. My search input is in the index page and my ng-repeat generated table is in a template page loaded into index page.
...
0
votes
0answers
6 views
Restful azure website
I would just like to know how to configure Azure for it to load my practice website properly. I found a tutorial and downloaded the file at ...
0
votes
1answer
15 views
I cannot view the html content using ng-route directive
I am trying to route my navbar using angular js but the content in that html file is not displaying , i dont know what is the problem.
here is my register page in this register and login ...
0
votes
4answers
23 views
Using Angular $http in a service to fire on ng-click
I am currently using Angular 1.3.14 and I would like to make an request using $http whenever a link is clicked. I am trying to place the $http request in a service so it's not bound to any one ...
0
votes
0answers
25 views
What is the best practice for wrapping custom angular form controls?
In our app we have an autocomplete form control that is fairly customizable but I don't want to duplicate the same markup and logic throughout our app for common uses (searching for users/groups).
I ...
0
votes
1answer
18 views
How to reload the view page after updating the data in database in angular
am new to angular. please help me in fixing the issue. I have the display.html where i have list of records displayed and having a check-box to select and update the selected record in database. once ...
0
votes
0answers
21 views
Getting Internal Server Error when loading a view in a mixed Angular & .Net MVC app
I have an MCV controller method which can load a total of 3 separate views, two of which are error pages just containing some static html.
public ActionResult Index(string c)
{
try
...
0
votes
0answers
12 views
MEAN stack - updating object with CRUD
I am making a web app using the mean stack that allows me to create/get/delete/update posts. So far I have been able to implement the get/post/delete operations on my post objects but am having ...
0
votes
1answer
26 views
Angular Assigning Object to $scope
I am creating an Angular application in which the form fields fill based on the data return from the MongoDB. In order to do that know I am taking the data that is returned in the object and assigning ...
-1
votes
0answers
18 views
Angularjs another page control
I want that click "#1 view button " than #2 page move.
"#2 close button" click than return LoginPage but popup deleted.
How do I process that code?
Use cookie? Or another angular API?
0
votes
0answers
13 views
modal-content not setting height to contain content
I'm trying to learn Angular and modals just aren't working. The modal will show up, but the modal-content div isn't growing to contain all of the content. Instead, the content just runs out of the ...
1
vote
2answers
23 views
AngularJs Performance of Filter vs Filter inside Controller
Like the title says, what is the best approach to filter a list of ng-repeat? To use a custom (or existing) .filter() or to create a custom filter function inside my controller?
The reason why I'm ...
1
vote
0answers
21 views
Angular 2 not rendering dependancy links with file extensions
I am getting the following errors while running my app:
It seems to be looking for ./app.component, rather than ./app.component.js
Here is my main.ts file:
import { bootstrap } from ...
1
vote
3answers
41 views
How to load data only if something typed in input
I have:
<input type="search" name="" placeholder="Search" class="inputsearchform" ng-model="search"/>
<tr class="rowR" ng-repeat="data in loaded | filter:{song_name: search}">
Is it ...