[AngularJS] Placing resource files and html files inside WEB-INF

2014-08-05 Thread Chathuraka Waas
hi, i'm fairly new to AngularJS and trying to decide the project structure for my application. i'm planning to have AngularJS on front-end with a Spring Rest full back-end. I tried going through lots of sample project posted online and not sure whats the best location to put the html files reso

[AngularJS] TextBox flickering is happen in my code.

2014-08-05 Thread t.k.kaarthik Keyan
Hi, I have following code.While page gets load the below div is flickers. Report Number How to avoid the flicker.I used ng-cloak also.But still its happening.Anyone help on this. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Angular

[AngularJS] Re: Set up two states with the same url, one for logged in users and one for everyone else.

2014-08-05 Thread Daniel Lidström
I check this server side. If you're not logged on, I show a non-angular page for that on '/' that allows you to log on. When you're logged on, I show another page for '/' that contains the angularjs stuff. This should be possible with express. On Wednesday, July 30, 2014 7:58:08 AM UTC+2, Damie

[AngularJS] AngularJS Complete Tutorials

2014-08-05 Thread Hafiz Faraz Mukhtar
Follow this link for tutorial : http://blog.hfarazm.com/filters-in-angularjs/ -- You received this message because you are subscribed to the Google Groups "AngularJ

[AngularJS] Custom Event Directive Like Regular Ones

2014-08-05 Thread chocolatechipui
I have a mobile Web app framework with custom gestures for touch devices (Android, iOS and Windows Phone 8). The events are: tap, singeltap, longtap, doubletap, swipe, swipeleft, swiperight, swipeup swipedown. They are currently exposed on the DOM through use of the following jQuery code: ['sw

Re: [AngularJS] Re: binding expressions in option elements not evaluated in IE

2014-08-05 Thread Mark Volkmann
Here's an even simpler example that works in Chrome, but not in Firefox! I don't even need to use ng-repeat to cause the binding expression to not be evaluated. http://plnkr.co/edit/hU6gZeLvpmy4g7b0wPdN?p=preview https://ajax.googleapis.com/ajax/libs/angularjs/1.2.21/angular.js";>

Re: [AngularJS] Re: binding expressions in option elements not evaluated in IE

2014-08-05 Thread Mark Volkmann
Check out this new plunk: http://plnkr.co/edit/UnlmYHqKlSZXW0kabvYd?p=preview I have testing this in Chrome, Firefox, and IE8. Plunkr itself seems not to work in IE8, but if I server up this file using a simple Express server I see that the binding expression in the option does not get evaluated i

Re: [AngularJS] Re: binding expressions in option elements not evaluated in IE

2014-08-05 Thread Mark Volkmann
I'm using IE8. I think my issue was related to the browser switching into quirks mode. I'm working on coming up with a better code sample to demonstrate the problem I'm hitting. I'll post another soon. On Tue, Aug 5, 2014 at 2:05 PM, Charly Poly wrote: > Hi Mark, > > Which IE version do you use

[AngularJS] Re: calling a ui-router url externally

2014-08-05 Thread Neil Camara
I think it's working! :) Thanks! On Tuesday, August 5, 2014 2:07:46 PM UTC-5, Charly Poly wrote: > > Hi Neil, > > try the following syntax > > .state("svc", { > url: "/svc/:mode/:model", > templateUrl: 'views/svc.html' > }) > > > Regards, > Charly. > > On Tuesday, 5 August 20

Re: [AngularJS] How to provide computed parameters to states which are activated by ui-sref with ui-router

2014-08-05 Thread bastienneJS
I have solved it that way and it works fine: The only thing I have to complain is that the stateChange should be a function of the $stateProvider`s state function to have everything together... Maybe Router 2.0 ;-) $rootScope.$on('$stateChangeStart', function(ev, toState, toParams, fromState

Re: [AngularJS] Set up two states with the same url, one for logged in users and one for everyone else.

2014-08-05 Thread Charly Poly
Hi Damien, I have a similar pattern in my application. I'm using abstract states to handle redirection depending on authentification. I think you should setup a abstract state on '/' like this : .state('root', { abstract : true, resolve : { anonymous : redirectIfNoAut

[AngularJS] Re: calling a ui-router url externally

2014-08-05 Thread Charly Poly
Hi Neil, try the following syntax .state("svc", { url: "/svc/:mode/:model", templateUrl: 'views/svc.html' }) Regards, Charly. On Tuesday, 5 August 2014 19:37:05 UTC+2, Neil Camara wrote: > > Forgot to mention, I don't see svc.html in chrome dev tools Network tab. -- You

[AngularJS] Re: binding expressions in option elements not evaluated in IE

2014-08-05 Thread Charly Poly
Hi Mark, Which IE version do you use for this test ? Regards, Charly. On Tuesday, 5 August 2014 20:12:55 UTC+2, Mark Volkmann wrote: > > This plunk works fine in Chrome, but the same code doesn't work correctly > in IE. > http://plnkr.co/edit/xTly4Bq8MI3zXEYiR0zm?p=preview > > Here's the HTML f

[AngularJS] forwarding in section resolve by RouteProvider to another view

2014-08-05 Thread Łukasz Roggenbuck
hi, I have a problem with the provider in AngularJS. I would like to in any view to check whether the user is logged on. If not then it should redirect to / login. On the console, there is no error. I do not know what is wrong. var app= angular.module("app", ["ngRoute", "ngAnimate", "ngResource"

[AngularJS] binding expressions in option elements not evaluated in IE

2014-08-05 Thread Mark Volkmann
This plunk works fine in Chrome, but the same code doesn't work correctly in IE. http://plnkr.co/edit/xTly4Bq8MI3zXEYiR0zm?p=preview Here's the HTML from the plunk: https://ajax.googleapis.com/ajax/libs/angularjs/1.2.21/angular.min.js "> {{'foo'}} {{'bar'}}

[AngularJS] Re: calling a ui-router url externally

2014-08-05 Thread Neil Camara
Forgot to mention, I don't see svc.html in chrome dev tools Network tab. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To po

[AngularJS] calling a ui-router url externally

2014-08-05 Thread Neil Camara
Hi folks, Is it possible to create a ui-route and call the path externally from another application? for example .state("svc", { url: "/svc?mode&model", templateUrl: 'views/svc.html' }) I tried calling it like this but no luck >From another application, I created a . htt

[AngularJS] Re: Angular app.run() with async data

2014-08-05 Thread Raoul Jaeckel
Hi guys, for me this is still an open issue. I want to initialize the application with data about the current user which comes from the server. Using the $routeProvider to resolve the promise is not sexiest way when you have a dozen of routes. I would like to use the run-function to bootstrap

[AngularJS] Re: treeRepeat directive : as ngRepeat, but on a tree

2014-08-05 Thread Jens Melgaard
I ended up creating https://github.com/dotJEM/angular-tree my self. I actually started as a reaction to something similar to your directive (https://github.com/stackfull/angular-tree-repeat), yet somewhat simpler, but obviously I wanted to try to make things even more elegant. And as a side eff

[AngularJS] Re: Create dynamic tree widget

2014-08-05 Thread Jens Melgaard
Just for others that may pass here... I created https://github.com/dotJEM/angular-tree to which is merely a way of connecting recursive templates, which is one of the basic building blocks in many of the Angular Tree examples I have seen out there that doesn't end up over complicating things a

Re: [AngularJS] Re: How to measure End2End Test coverage?

2014-08-05 Thread Xiaohui Chen
Thanks a lot. Tony On Aug 5, 2014 2:00 AM, "alonn" wrote: > This is my script to rune2e with instrumenting: > As you can see I create an instrumented copy of my js files. > change index.html to reference the instrumented files (with sed) > the script: > > #!/bin/bash > > BASE_DIR=`dirname $0` >

[AngularJS] Re: ng-template georgian text

2014-08-05 Thread Philip Saa
I created a Git Repo to demonstrate the problem github.com/cowglow/ka-templates -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.co

[AngularJS] Re: Playing customized alert sound using AngularJS

2014-08-05 Thread Eric Ratshili
try that: http://danielstern.github.io/ngAudio/ On Wednesday, 23 April 2014 11:28:07 UTC+2, Sam wrote: > > I would like play a customized alert sound on the browser. It will play > from a alert.wav file I created. > > Currently, I am using AngularJS to create an alert by using > $window.alert(al

[AngularJS] Re: Offline Html Applications and Angular

2014-08-05 Thread 'Robert Greenberg' via AngularJS
I found a solution and I wanted to post it out there for anyone else who is trying to get an offline html app working with Angular. It appears that Angular internally caches the views that are stored in separate html files. So everything works initially when I go offline. At some point Angular

Re: [AngularJS] angular js parse object from json file

2014-08-05 Thread Antoine Polatouche
Le 05/08/2014 10:46, maxim couton a écrit : > Hi, > > Any woorking example of parsing local json file , and getting its > content as object ? RTFM https://docs.angularjs.org/tutorial/step_05 -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsub

[AngularJS] TextAngular youtube support.

2014-08-05 Thread Cethal Mary Tony
Hi, I am not able to add youtube videos in richtext editor. Just getting blank boxes. Also tried using to insert html. Same when trying with textangular site. Any one have a solution for it? -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To uns

Re: [AngularJS] Set up two states with the same url, one for logged in users and one for everyone else.

2014-08-05 Thread Damien Metcalf
I am still trying to figure out how I can set up the redirects to a page if a user is logged in as I mentioned below. Any ideas on how I could do this? On Monday, 4 August 2014 22:45:07 UTC+12, Damien Metcalf wrote: > > I have given this a bit more thought, and I have decided perhaps the best >

Re: [AngularJS] Re: How to measure End2End Test coverage?

2014-08-05 Thread alonn
This is my script to rune2e with instrumenting: As you can see I create an instrumented copy of my js files. change index.html to reference the instrumented files (with sed) the script: #!/bin/bash BASE_DIR=`dirname $0` echo "" echo "Istanbul instrumenting js files" echo "

[AngularJS] angular js parse object from json file

2014-08-05 Thread maxim couton
Hi, Any woorking example of parsing local json file , and getting its content as object ? Thanks, -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsub

[AngularJS] AngularsJS + Bootstrap (DatePicker)

2014-08-05 Thread Андрей Скрыпник
Hello, i have the next problem. I have to be able to disable some dates in datepicker. I know that exist function $scope.disabled = function(date, mode) but this function is invoked during initializing the page. I need first to make ajax request before open datepicker to get array of dates t