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 applications are also frequently known as single-page ...
0
votes
0answers
3 views
Angular 2 - Can't bind to 'ngModel' since it isn't a known property of 'input'
I have a Angular 2 Inline Editing component in plunker. But suddenly i'm getting the above error. What happened to it?
Plunker code: http://plnkr.co/edit/3AODo6YGEhvPOKzloofz?p=preview
Parent ...
0
votes
0answers
2 views
Making a generic angular modal controller
I have a controller with a modal that looks like this (slightly simplified for clarity):
(function () {
angular
.module('reservation')
.controller('ReservationCreateCtrl', ...
0
votes
0answers
5 views
How-To: groupBy in an ng-repeat to get count of items in group
I have a list pulled from C#. I'll call it Teams. Teams has a few properties: Team Type, and Team Members (which is a subset list).
[
{
"team": {
"teamName": "The First Team",
"...
1
vote
0answers
5 views
Image upload to Parse Server using Angular and Ionic not working
I have been unable tu upload an image to Parse Server using Angular and Ionic on a hybrid mobile ap. I am using the latest version of Parse Sever and the Parse Javascript SDK. I am always getting the ...
0
votes
0answers
5 views
AngularRest API wont return JSON property
I have 3 components, the web api, the controller, and the html. I can hit the web api just fine and i get back the results in JSON format, but when it then tries to render the JSON into the html, it ...
0
votes
0answers
5 views
Setting D3 svg.transition to go from slow to fast to slow
I have a D3 graph that allows a user to click a button to take them to a specified node. The button looks like this:
<button type="button" class="btn btn-primary" ng-click="ctrl.panGraph(9)">...
0
votes
0answers
14 views
How scalable is Angular and other SPA's?
Since everything is only loaded into one html file, is there a breaking point where it's just too much? How big can a project get before it becomes a problem? And how would I know? Any other useful ...
0
votes
0answers
7 views
angular-carousel adds extra empty slide at end of carousel
I have implemented a slider with the angular-carousel package using ng-repeat. It works correctly, but it adds an extra blank slide at the end of the carousel. I searched online and other people had a ...
-2
votes
0answers
15 views
block same http request in angularjs
If user click the button to save a data in angularjs, if user clicks the button many times the data will be create in database even if check the duplicate (before create check the many collections in ...
0
votes
0answers
7 views
Error :“ Cannot read property 'newMedia' of undefined” with ng cordova media
Hi guys i am building a hybrid app using ionic framework and i want to create a audio player .My code is correct but when i try to play music nothing happens and the chrome console give me this error ....
0
votes
1answer
15 views
Angular changing object in scope doesn't change view
Screencast: http://screencast-o-matic.com/watch/cDjX00isoo
All Javascript: http://fontget.com/js/all.js (at the bottom)
Demo of the issue: http://www.fontget.com
So I have this issue that I have ...
0
votes
2answers
18 views
Increase the width of the popover
I am trying to show a popover on Mouse over.
The problem I am having is to increase the size of the popover box.
Here is the Plunker
I tried to adjust the width using css as shown below :
....
0
votes
0answers
7 views
How do I pass an Angular object to a Javascript function in a Google Chrome extension?
I am building a Google chrome extension that "scrapes" the DOM of a particular website for objects and processes them in javascript functions.
Currently I am using the chrome.tabs.query API to ...
0
votes
0answers
13 views
Ionic / Angular hybrid app, issue with getting a shake event working
This is for a Ionic/Angular hybrid app. I'm trying get a shake event to fire using cordova-plugin-shake. It's supposed to reload a random image. So far a random image is showing up on load, but it's ...
0
votes
1answer
8 views
How to control width of chart using angular-chart and chart.js?
I'm using angular-chart (and Angular, obviously) and chart.js to draw several charts on a single page. Presently, each chart takes up the entire width of the screen. I've tried many different ...
-2
votes
0answers
9 views
Angularjs using multiple modules
I want to make angular.module using "ui.router" and "angularFileUpload"
But when i import them at the same time they make errors
var app = angular.module('test', ["angularFileUpload", "ui.router"])
...
0
votes
0answers
12 views
How do you update an element after adding it to a database using AngularJS http calls?
So currently, I have a method that adds my objects to my database. It works, and is written as such:
var $scope.insertToDB = function(myObj){
$http.put("my_DB_Link", myObj).then(function(...
0
votes
0answers
11 views
angular- how to hide one element and show another with ng-blur?
I want to hide this div: <div class="desc" ng-show="desc">
and show this div <div class="lists"ng-show="lists" ng-repeat="x in todoWork | orderBy:['todoPriority', 'todoTime']" ng-class="{...
0
votes
0answers
3 views
Functions like onBeforeShow not working in angular-strap popover
I am using angular-strap popover. http://mgcrea.github.io/angular-strap/#/popovers
The documentation says if onBeforeShow function is provided, it should be invoked before the popover is shown. But ...
1
vote
1answer
11 views
Using angular and trying to email contents of div
So I have a div with a class name and am trying to figure out how I can inject the rendered components of that div as text into the body of an email. All things for my email works and I have tried ...
0
votes
1answer
5 views
Angular - Jasmine: Testing immediatly invoked functions inside a directive controller
Suppose that I have a directive like:
.directive('myDir', function(TemplateHandler){
return {
...
controller: function(ExploreCmd){
this.foo = {
bar: function(){...}
};
...
2
votes
0answers
25 views
Angular app not loading CSS and JS on refreshing page?
I have an app using AngularJS. Here is a link of it - Angular App
All the links in the navbar are using default angular router. All the pages work fine when i refresh them, but a page like this loads ...
0
votes
2answers
9 views
angular md-dialog using controller scope
I open a dialog with mdDialog when checking a checkbox (in the example checkbox 1).
Within this dialog there are several input fields, which should be connected via ng-modell to a controller - but it ...
0
votes
0answers
5 views
Why the plugin cordova of qr code scan does't work?
I need do an app of qr code scan but my code doens't work and I already installed ngcordova and the plugin and the plugin of camera just for sure. And the error that keeps popping up is this, I have ...
0
votes
0answers
11 views
Angular Bootstrap Colorpicker is not working in Minified Version
I am currently using Angular Bootstrap Colorpicker (https://github.com/buberdds/angular-bootstrap-colorpicker)
It works fine when I run it locally. However when I use Grunt to build the files, the ...
0
votes
1answer
12 views
Angular Material Design - Issue centering in a nested div
On my home page I want to display a calendar centered in a div on my page. I am creating the calendar as an AngularJS directive as shown in the code below.
<div md-whiteframe="14" class="layout-...
0
votes
0answers
8 views
Angular nvd3 line chart labels not updating and shifted up
I'm receiving data periodically from the back end and drawing a line chart using angular-nvd3. Two issues I am facing:
a) although the data on the graph update properly and the line chart reflects the ...
-2
votes
0answers
30 views
Angular - order by is not working
I want my list to order by priority and date.But it is not happening.
<div class="lists"ng-show="lists" ng-repeat="x in todoWork |orderBy:['todoPriority','todoPriority']" ng-class="{strike:x.done!...
1
vote
4answers
22 views
Create disabled binding in attribute directive
I'm trying to create a really simple character counter directive that I can just drop an attribute on any textarea or input and get an easy way to have the input/textarea obey angulars ng-maxlength ...
0
votes
1answer
41 views
Why can't jQuery see the span?
I'm using Angular & jQuery, and
I have the following span:
<span id="datacheck">{{data.checkFiles.length}}</span>
The content of this span is going to be a single digit number (1, 2,...
0
votes
0answers
6 views
Angular datatables server-side paging
I'm being told that going from client-side paging to server-side paging is a simple implementation - just providing an offset and a size and poof it works.
This is what my dtOptions currently looks ...
0
votes
1answer
14 views
How can have an ng-if two way conditionality within a button?
I have a button that I would like to not autofocus on a textfield if the browser is Internet explorer. There are other ids and various things in the button element I didn't include. I know I could ...
0
votes
1answer
8 views
Watch for screen size change in a directive Angularjs
I am having an issue with using $watch in a directive. I want to update an elements left and top based on some basic information on the page. Below is my code:
var myApp = angular.module("myApp", ...
0
votes
0answers
16 views
For my Angular app, I have an API key in my JS, what's stopping people from just viewing source?
I have been learning a lot about angular, however I come from a php background were I would have a settings file for a database that has permissions of 444, 644 etc. With that said its very hard for a ...
1
vote
1answer
25 views
Get currently selected object as an argument for another field in Angular
I have a select box that outputs all car objects in cars-array as a select option
<select name="car">
<option ng-repeat="car in cars" ng-value="car">
//car.car_name//
<...
0
votes
0answers
11 views
Using Angular $http get and express app.get
I am new to node and have been trying to figure out how to basically search my logs folder for the date entered into an input by using app.get
HTML (where date will be entered by user)
<input ...
1
vote
0answers
16 views
deploying angularjs app to heroku
My app is developped using angular yoeman.
I am following the instructions found here to deploy my app to heroku.
When I deploy empty app generator from yoeman, the app is running on heroki, no ...
0
votes
0answers
12 views
Angular binding inside form not working when modifying collection of contained ngfor
I am trying to build a form with dynamic content (list of elements), but run into a model-update problem with the following setup:
I have a component that contains a CONTAINER, which itself contains ...
1
vote
1answer
21 views
Angularjs: Create scatter plot where every data point is a different color
I'm using angularjs to create a web app that visualilzes data. I need to create a scatter plot where each data point is a different color. What is the best option to create this type of plot?
Should ...
0
votes
2answers
15 views
Using foreign key in ng-repeat
I have two tables:
A jobs table with 3 fields: id, client_id, name.
A clients table with 2 fields: id, name.
Using Angular 1.5, I'm iterating over the jobs:
controller('JobsController', ['$scope',...
1
vote
1answer
28 views
Why can't I display records with ngTable
I was trying to display records on html using ngTable. The records are retrieved from server side through rest api.
html:
<div class="container">
<table ng-table="tableParams" ...
0
votes
0answers
18 views
Angular div popup
i'm using Angular and its Bootstrap implementation to popup a div when the mouse is over another div... i can debug the code and the ng-mouseover and the ng-mouseleave work correctly changing the ...
0
votes
1answer
19 views
How to wait for Meteor subscription before launching angular app
I am using angular-meteor with pascalprecht.translate
the translations object have to be stored in the database in order that some users can modify the translations via a back-office
I subscribe the ...
0
votes
0answers
9 views
How to animate this transitions?
My ionic app consists of a number of views and transitions between them is smooth and animated as expected. Nevertheless, due to design reasons, one of the pages has a pseudo-navigation where using ...
0
votes
1answer
18 views
Updating DOM attached to directive without refreshing it
I have a directive that contains some text and a video tag
app.directive('ngAzuremediaplayer', function () {
return {
restrict: 'AE',
priority: 10,
link: function (...
1
vote
1answer
27 views
Gulp deleting CSS in html file
I have a HTML file with all the scripts and stylesheets that I use in my Web App. When I add a new, custom CSS, and I run gulp, it automatically deletes that new line from the HTML file. My web ...
0
votes
0answers
8 views
Webpack CSS modules and angular templates
Trying to setup webpack CSS modules with my angular/ionic project. Is it possible to have my CSS module class definitions appended correctly to and external template rather than an inline template?
...
0
votes
0answers
16 views
Angular Translate - Multi Language - Static Files - Race Condition?
I'm currently using angular translate with the static files loader. I'm implementing at least 3 languages currently, however, I've noticed that typically when it's attempting to load the language file ...
1
vote
0answers
13 views
i cannot open external url in webview in ionic android app
I have this ionic app that opens up an external url in a webview. I have been testing on the ios simulator and it works fine, now testing on android simulator but it does not work. and the android ...
0
votes
1answer
27 views
Angular - how to make $interval work from user input
I am taking date and time from user and then wanted it to display in interval in label
After that datetime completes I want to make that label color change
Do anyone tell me the trick.
https://codepen....