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
7 views
Using Grunt to concat multiple js files but want them split?
I am new to grunt (literally installed it today and using it) and its great, but i cannot work out something.
I have an angularJs project and i would like to concat all my javascript files into 3 ...
0
votes
0answers
13 views
Best build tool for AngularJS frontend and Spring Framework backend
We are developing an application where we have AngularJS as Front-end and on Back-end we have Spring framework with hibernate, Rest web services etc. We are planning to use Gradle build for back-end ...
-1
votes
0answers
20 views
MEAN - Stack data access
I just a tool in the Program the "MEAN - Stack".
Have been using "Express.js" the "Restfull - Api" and built a folder specified in my "Static - Files" lie. To the I use "jsonwebtoken" and ...
0
votes
0answers
6 views
Can $routeProvider be replaced by $stateProvider or vice versa and how?
I have found a perfectly working and advanced Angularfire-Seed (that encompasses Simple Login). This framework uses ngRoute and $routeProvider to route the appropriate view and to make sure that ...
0
votes
0answers
5 views
How to integrate Paypal Express payment with a custom AngularJS cart?
So, I have this AngularJS-powered website with a custom shopping cart and I need to make Paypal Express payments available for customers. I've seen a couple of AngularJS/Paypal integrations but none ...
0
votes
1answer
23 views
how to send data from one view to another view in angular js
Could you please tell me how to send data from one view to another using state .I don't want to use factory or service .I need to send data using url and get the data from url and display it on view .
...
0
votes
0answers
6 views
create table using angularjs xml data with condition in mvc
<tr ng-repeat="item in spers | distinct" ng-class="{success: $index1 == 0}">
<td>{{item}}</td>
<td ng-repeat="year in data" ng-class="{success: $index == 0}" ...
0
votes
0answers
16 views
AngularJS ng-model-options getter-setter
I've just upgrade to angular version 1.3.8.
When using 1.2.23 version I've created a directive to convert the data form view to model and vice verse.
This is my directive:
...
0
votes
0answers
7 views
Ionic + Angular - cannot translate values in select menu
I have defined following select:
<!--SELECTED MEASSURE VALUE -->
<label class="item item-input item-select">
<div class="input-label">
{{ ...
0
votes
0answers
7 views
Call rails controller custom methods from angular js service
Hi I am using angular js in my rails application ,so far I am fine with angular js services to get my data (from CRUD operations) but now I need to get the data from custom method which I define in ...
1
vote
1answer
13 views
Using SignalR with AngularJS, how to write unit tests
I currently have an app that get data using SignalR and binds to the DOM using Knockout. The app has grown and Knockout is getting pretty complex and bloated, so I'm switching to AngularJS for ...
0
votes
0answers
12 views
filter list of localized strings
I've created directive with list and search field, the directive gets list of objects from my controller, one of the params on the object is localized string which I am translating in the controller ...
1
vote
1answer
18 views
Access GET parameter
I want to send my server.js (in an AngularJS controller) an set the id parameter like this:
$http
.get('/getCst', {
params: {
id: customerID
}
})
...
0
votes
1answer
12 views
Write an ng-pattern Allow Special Text and Number
I have form . I want to Allow input Special text and Number Only.
Example : Allow Number and Special text "N/A" or maybe "NA".
<input type="text" class="form-control" ...
0
votes
0answers
10 views
angular ui.router ui-sref replace url characters - beautify
I'm searching for a possibility to replace characters in the ui-sref, respecting the URL of a target.
.state('base.product.detail', {
url: 'detail/:productName-:productId/'
The URLs now look ...
0
votes
1answer
41 views
How to use ng-show with a function in the controller that returns true/false
I'm new to AngularJS and I'm having trouble with understanding the working of ng-show attribute. I'm trying to create a modal pop-up in a video,which shows when the current time of the video is 7 or ...
1
vote
0answers
21 views
Dump / Install HTML files with assetic in Symfony2
This is more a technical question than a real problem so I don't know if it will be removed but I will ask it anyway.
So I am developing some platform using Symfony2, AngularJS, RequireJS and other ...
0
votes
0answers
12 views
AngularJS Non SPA template for Visual studio
I want to Create a NON SPA Web application using HTML5 and AngularJS. Is there any any template available for AngularJS NON SPA? What will be the structure for the Project inside visual studio? Please ...
0
votes
1answer
10 views
Export as CSV from mongodb in nodejs
I want to export the data collection in csv format in MEAN stack.
This is my csv.server.controller function:
function(err, source) {
var result = [];
//res.setHeader('content-type', ...
0
votes
0answers
8 views
smart table columns width changes after search
Im using smart table (https://github.com/lorenzofox3/Smart-Table) and I've added search box.
after search the width of the headers is changed.
Im using the table several times so the amount of columns ...
1
vote
1answer
16 views
Accessing interpolated value from inside a directive
I have the following simple directive:
angular.module('MyApp').directive('readonlyList', function () {
return {
restrict: 'E',
replace: true,
templateUrl: 'list.html',
...
0
votes
1answer
20 views
angular js - ng-hide/ng-show API not working properly
Here i trying to implement application in angular js. I have an minimize/maximize button for all child element and seprate minimize/maximize button to inside child element.
But when i click toggle ...
1
vote
1answer
23 views
Assigning ng-model to checkboxes generated by ng-repeat
I have set up a json containing a list of countries with an ID and Country code attached:
It looks like this:
$scope.countries = [
{"name":"Afghanistan","id":"AFG","country-code":"004"},
...
0
votes
2answers
7 views
How to make Apache proxy to NodeJS correctly?
I'm developing a NodeJS application with AngularJS.
For testing I want to host it on a webserver that runs an apache2 webserver.
Googling and Try-And-Error brought me to the fact that I need to simply ...
0
votes
0answers
26 views
How to load scripts in <script> tag within a template by $routeProvider?
My router.coffee (module.exports is from browerify) looks like this:
module.exports = [
'$routeProvider'
($routeProvider) ->
$routeProvider
.when '/',
templateUrl: 'home.html'
...
-2
votes
0answers
20 views
ng-if condition in ng-repeat using two Arrays in MVC4
Bind Data from DB to View Controller using JSON with XML
<tr ng-repeat="item in spers">
<td>{{item}}</td>
<td ng-repeat="year in spersss" ng-class="{success: $index == ...
0
votes
0answers
12 views
why won't my slider display?
I'm using the angular ui slider, http://angular-ui.github.io/ui-slider/
I believe I've got things setup as close to the example code as I can get. The below screenshot is output of my rendered ...
0
votes
1answer
11 views
routeChangeStart is not fired when route changed
I have this code snippet below (ionic framework) but routeChangeStart is not printed when i'm navigating around.
.run(function($ionicPlatform, $rootScope, $location) {
...
0
votes
0answers
15 views
Ionic: Check Internet Connection using Cordova
I am working on Ionic Framework, and facing issues using the Apache Cordova Network API to detect internet connection in Android App.
I have referred this tutorial and also created a demo project, ...
0
votes
0answers
3 views
Facebook header issue in Angular/Hapi
I've been at this for a couple of days and have looked at many possible solutions that did not end up working. I've been using Angular Satellizer and Hapi/bell to handle oAuth on the backend. ...
0
votes
0answers
14 views
AngularJS data-binding with DOM not working while using D3js
I am implementing the force-layout graph using D3js.
I have implemented a directive where I have implemented the graph.
Now I wanted to fetch some data from the back-end upon clicking on each node.
I ...
0
votes
0answers
18 views
how to move one page to another without base page?
Could you please tell me how to move move one page to another in angular without base.html ..
Here is my plunker .
http://plnkr.co/edit/NBNOPS76DvUI1AfPxxnA?p=preview
In other words I will explain I ...
0
votes
2answers
27 views
AngularJS trims leading zeros in model, while view/input value still remains unchanged?
For an input element with type number, when the number entered has leading zeros like '0000123456', the model is updated to 123456, while the view/input still remains the same 0000123456.
However if ...
0
votes
0answers
19 views
What is an example of statically typed javascript in context to better unit testing?
I'm new to testing but recently, I've been trying using angularJS and Jasmine.
With ES6 on the horizon, in comes new frameworks/languages like: atScript and google angular-dart. Both which now ...
1
vote
2answers
14 views
Angular Js $http.post method unable to access data in Zend Framework
This is my Angular js Function
$scope.submitform = function () {
$http.post('http://localhost:90/vendor/dashboard/accountinfosave/',
{'uname': 'vikrant', 'pswd': '111', 'email': ...
0
votes
0answers
38 views
Please correct my AngularJS code [on hold]
Html:
<p><button ng_click="save()">Register Now</button></p>
myctrl.js:
<script>
app.controller("myctrl", function ($scope, $http) {
$scope.save = ...
0
votes
1answer
9 views
Rendering Backbone (or Angular, Ember) template inside a Rails partial
Is it possible to render a Backbone template as a Rails partial? Most of my site uses simple ERB views, but some of the frontend of my site is more complex and it might make more sense to use a JS ...
0
votes
1answer
13 views
multi file upload for angularjs with IE9 support without plugin
I am seeking an easy and light weight way to upload using angular.
http://nervgh.github.io/pages/angular-file-upload/examples/simple/
like this upload .it's more difficulty.so i want easy one.
1
vote
2answers
27 views
Angular JS an alternative to traditional jQuery AJAX?
I used AJAX a lot.Its good not to reload a page ,just a part of page without even knowing to user.
I saw lots of sites using Angular JS and what i found common in them is :
1.All use AJAX stuff which ...
0
votes
0answers
8 views
Magnific Popup with partial path url not displaying
This is an AngularJS app and I have jQuery and the required .js files as this works with some code copied and pasted from the magnific popup website/documentation.
The code below is the magnific popup ...
0
votes
1answer
18 views
Angular 1.3 breaking changes - scope set but reset before $apply
AngularJs 1.3.x, simple controller works but as soon as I re-write it using Typescript and Injection, it fails. If I reference 1.2.x it starts working again.
//This works in 1.3.x
...
0
votes
0answers
9 views
VS-Cordova hybrid app performance profiler [on hold]
I am building Android application using Angularjs, Angular material and Visual Studio Cordova Hybrid environment.
Application performance is very slow. I want to know which part of application like ...
1
vote
2answers
29 views
how to move one page to another in angular js?
could you please tell me why I am not able to navigate one page to another on button click .
I do like that
var loginCntrl=function($scope,$location){
$scope.testClick =function(){
...
1
vote
1answer
14 views
dynamic template based on login role using templaterProvider in AngularJS UI Router
I am trying to render different templates based on the role of the logged in user. I am using templateProvider to achieve this in UI-Router but it doesnt seem to work. Made a quick example of what I ...
0
votes
0answers
9 views
overriding isolate scope in external angular library
I have a scenario where I've been asked to add a way to view data, currently being viewed graphically, in a data table. The requirements are that I keep the graph view, but that I add an additional ...
0
votes
1answer
19 views
angular to append a template on click of button
I am trying to append some html to the existing container through angular directives. here is the code what i have written for the same.
app.directive("addActivityRow", function($compile){
var ...
0
votes
0answers
15 views
Angular google maps window html
I am trying to render some HTML in a window using angular google maps. Here is my code:
<ui-gmap-window coords="homeWindow.coordinates" idKey="homeWindow._id" show="homeWindow.showWindow" ...
1
vote
1answer
15 views
random ng-show within directive
I can't see to figure this out... I'm new to angular so sorry if I'm doing something stupid.
I want to show parts of the directive randomly using ng-show.
html:
<div ng-controller="MyCtrl">
...
0
votes
0answers
30 views
What is the best way to create dinamically a DOM? [on hold]
I know that there are plenty answers to this question on stackoverflow, but I can´t find one that give me an answer that can help me to solve a question that came out after read a lot of Javascript, ...
0
votes
2answers
20 views
How can i make pagination through AngularJS?
Recently I create a AngularJs App . Thats code are below
HTML :
<div ng-app="" ng-controller="Hello">
<ul>
<li ng-repeat="x in greeting">
...