[AngularJS] Re: live chart data via REST API request

2014-05-15 Thread pwldp
Hi, maybe this example: https://github.com/pwldp/exp-ang-sio will be useful for you. W dniu czwartek, 8 maja 2014 04:07:39 UTC+2 użytkownik Neil Camara napisał: Hi folks, I currently have a chart and I click a button to fetch newer data via a REST API call, GET method. Now, the bosses

[AngularJS] Re: ngRepeat iterating over a non-array - is this kosher or a bad idea?

2014-05-15 Thread Domenico Matteo
I'm not sure if I correctly understood your question (maybe you provide a plnkr?), but if you are asking Is it a good idea to iterate over the properties of an Object?, I can certainly say that is OK Cheers On Thursday, 15 May 2014 01:41:30 UTC+2, Eric Eslinger wrote: Short question: if I

[AngularJS] Video doesn't start muted on Firefox

2014-05-15 Thread Sirio Lombardi
I can't manage to start a video muted in Firefox v29.0.1. I have a video tag in an ng-repeat loop, and I want to start the video muted; however, it does't mute in Firefox. In Chrome it works well. If I remove the ng-repeat, it works also in Firefox. The code is very simple: div

[AngularJS] Re: How to redirect to another route?

2014-05-15 Thread Kowthal ganesh
Hi guys, I want to share my source with you i have some problem on routing, am new for angular js 'use strict'; var sampleApp =angular.module(myapp, []) sampleApp.controller(MyController, function($scope, $location, $window) { $scope.doClick =

[AngularJS] Re: Form Validation Not Working For Some Users

2014-05-15 Thread cutey Love
I'm not really sure what you mean? the only validation im using is default ng-length and form type email, the rest I leave to angular. On Wednesday, May 14, 2014 9:08:22 AM UTC+1, Sander Elias wrote: Hi, Its not about validators. The problem is that the programs I told you about change

[AngularJS] $http.get not working

2014-05-15 Thread Yonatan Kra
Hi, I have the following directive which sends a get request to the server. Here is the code: var params = { data: { 'userID': $scope.tasks.id, 'Age': $scope.aversion.choice, 'Experience': $scope.aversion.choice, 'Gender': $scope.aversion.choice, 'Nationality':

[AngularJS] Re: How to redirect to another route?

2014-05-15 Thread Mickey Vashchinsky
Or you can use ui-router https://github.com/angular-ui/ui-router with which you define states, so you have showState among others (and you can nest them too) which has a template + controller that you need. var myApp = angular.module(MyApp, [ui.router]) .config(function($urlRouterProvider,

[AngularJS] Re: $http.get not working

2014-05-15 Thread Filipe Monteiro
Hi Yonatan, I know you already solved the problem, but your first problem was: You don't always need to use the data attribute to specify params. According to what your server was expecting your params should be: var params = { 'userID': $scope.tasks.id, 'Age':

[AngularJS] Re: Help! I got troubles with my AngularJS delete(by.id)

2014-05-15 Thread Mathias Christensen
I've done that, but still not working. I do have in mind, that maybe I should store my data before it can get it by id or something? I'm quite new to angularjs :/ Den torsdag den 15. maj 2014 14.09.19 UTC+2 skrev Filipe Monteiro: Your scope functions are inside of your http.get success. You

[AngularJS] Re: Repetitive patterns

2014-05-15 Thread breaddes
So far I came up with this: http://plnkr.co/edit/didVzYHWZbNY6r9QlKi1 Does this make any sense? Am Donnerstag, 15. Mai 2014 13:36:37 UTC+2 schrieb breaddes: I wonder how deal with repetitive patterns in angular. Here is an example: http://plnkr.co/edit/o8ex2IwVieEb8MxEBP01 In an OOP

[AngularJS] Re: Help! I got troubles with my AngularJS delete(by.id)

2014-05-15 Thread Mathias Christensen
Hello. I've done that now, but still doesn't work. Should my delete form look different? Should I store my data somehow or anything? Den torsdag den 15. maj 2014 14.09.19 UTC+2 skrev Filipe Monteiro: Your scope functions are inside of your http.get success. You should put those functions

Re: [AngularJS] Re: Help! I got troubles with my AngularJS delete(by.id)

2014-05-15 Thread Mathias Christensen
I just tried that, and still doesn't seem to work. But I figured something out. I tried this: var customerListApp = angular.module('customerListApp', []); customerListApp.controller('customerListCtrl', ['$scope', '$http', function (scope, http) {

Re: [AngularJS] Re: Help! I got troubles with my AngularJS delete(by.id)

2014-05-15 Thread Filipe Monteiro
you need to call some function (rest, for example) to delete this register in your database, the angular part is working perfectly. 2014-05-15 9:34 GMT-03:00 Mathias Christensen mathias.soll...@gmail.com: I just tried that, and still doesn't seem to work. But I figured something out. I tried

[AngularJS] Re: binding Html with Angular code inside

2014-05-15 Thread Kamal
Hi Yves, Why dont you use ngInclude https://docs.angularjs.org/api/ng/directive/ngIncludewith templates, where you can change the template name as and when needed. Cheers, Kamal On Wednesday, 14 May 2014 18:26:21 UTC+5:30, Yves Kircher wrote: *Hi, * *How can i bind a html code into a

[AngularJS] Re: Framework for REST integration

2014-05-15 Thread mario
Hello Fabrizio You can easily do that with AngularJS. For a minimal demo see this plunkr: http://plnkr.co/edit/K9t3kRklhTLN2aLOeKKi?p=preview Cheers Mario On Wednesday, May 14, 2014 7:21:09 PM UTC+2, Fabrizio Reale wrote: Hi all, I often need to develop a common partner: A text that is

[AngularJS] Re: Re-usable AngularJS directive for NVD3 visualization (via JSON).

2014-05-15 Thread Demetrius Nunes
Awesome! I guess you can close the issue about basic documentation now. :) Em quarta-feira, 14 de maio de 2014 23h59min13s UTC-3, krispo escreveu: Hi! Let me introduce you to AngularJS directive for nvD3 charts - angular-nvd3https://github.com/krispo/angular-nvd3 . It allows you to fully

[AngularJS] Re: Trouble with Geolocation API and angularjs

2014-05-15 Thread Parker Woodworth
I ran into a similar problem using the angular-leaflet-directivehttps://github.com/tombatossals/angular-leaflet-directivemodule (which it looks like you might be using as well?). While I haven't had a chance to drill down into the source yet, it looks like the problem is being caused by a

[AngularJS] How to use ASP.NET MVC and AngularJS routing?

2014-05-15 Thread gsrjedi
I’m working on a new ASP.NET MVC and AngularJS application that is intended to be a collection of SPAs. I’m using the MVC areas concept to separate each individual SPA, and then I’m using AngularJS within each MVC area to create the SPA. Since I’m new to AngularJS and haven’t been able to

[AngularJS] Re: Framework for REST integration

2014-05-15 Thread Fabrizio Reale
Hello Mario, You can easily do that with AngularJS. For a minimal demo see this plunkr: http://plnkr.co/edit/K9t3kRklhTLN2aLOeKKi?p=preview Thank you for your answer. But I already know how to do that. I was wondering in there is module that let me avoid to write all that code for each

Re: [AngularJS] Re: Trouble with Geolocation API and angularjs

2014-05-15 Thread Sylvain M.
Thank you for the answer. I confirmed that the error was in angular-leaflet-directive too. I moved to angular-google-maps and then it works fine. Nice job, you have found where the bug was... I will wait until some fix is done prior to go back to angular-leaflet-directive. Onq question : how

[AngularJS] Re: How to use ASP.NET MVC and AngularJS routing?

2014-05-15 Thread steven smock
Here is what worked for my last MVC 5 project: 1. Create a folder called Asset within the site root. This is where the HTML templates, partials, and lazy-loaded scripts will go. 2. Add an IgnoreRoute for Asset/{*all} within your RegisterRoutes config method. I am not, however, using HTML5

Re: [AngularJS] 'defer' undefined when using $q in controller

2014-05-15 Thread Chris Rhoden
Also, here's a hint. It isn't saying that defer is undefined, it's saying that you're trying to read the `defer` property of undefined. On Thu, May 15, 2014 at 11:51 AM, Chris Rhoden carho...@gmail.com wrote: You aren't injecting $q, because your injection annotation does not include it.

Re: [AngularJS] 'defer' undefined when using $q in controller

2014-05-15 Thread Chris
I guess I don't understand where $q comes from. I thought you would have full access just like $ if you in jQuery. Even if I do something like this, it has to be defined somewhere else? Application.Controllers.controller(XXX, ['$scope', '$q'], function($scope, $q) { On Thursday, May 15,

[AngularJS] Lazy Loading with Angular

2014-05-15 Thread Jagadesh Paladugula
Hello Everyone, Does Angular support lazy loading by default? If so, could any one provide some working examples. -- Regards Jagadesh -- You received this message because you are subscribed to the Google Groups AngularJS group. To unsubscribe from this group and stop receiving emails from

[AngularJS] Re: Repetitive patterns

2014-05-15 Thread Sander Elias
Hi Breaddes, There are multiple way's to solve this. What do you think about this: http://plnkr.co/edit/A2bW7Fatg0aEEoKqqp0Q?p=preview Regards Sander -- You received this message because you are subscribed to the Google Groups AngularJS group. To unsubscribe from this group and stop

[AngularJS] Headless web driver with AngularJS

2014-05-15 Thread Lee Rosenberg
We have a site under development that uses AngularJS and I'm working to create some automation tests against it. I'm using PhantomJS web driver with Selenium for the headless tests. When I use the Firefox web driver, everything works wonderfully. When I use the headless PhantomJS web

[AngularJS] Re: binding Html with Angular code inside

2014-05-15 Thread Filipe Monteiro
You can use the $compile service. return $compile($scope.ngHtmlSnippet)($scope); Em quarta-feira, 14 de maio de 2014 09h56min21s UTC-3, Yves Kircher escreveu: *Hi, * *How can i bind a html code into a div, that has angular features inside ?* *Example:* script type=text/javascript src=

[AngularJS] Re: Video doesn't start muted on Firefox

2014-05-15 Thread Sirio Lombardi
Il giorno giovedì 15 maggio 2014 11:10:59 UTC+2, Sirio Lombardi ha scritto: I can't manage to start a video muted in Firefox v29.0.1. I have a video tag in an ng-repeat loop, and I want to start the video muted; however, it does't mute in Firefox. In Chrome it works well. If I

[AngularJS] Re: Headless web driver with AngularJS

2014-05-15 Thread Edgars Zagorskis
I had similar issues (works in browser, fails in phanotmjs) while doing integration tests on a website which used one of popular twitter bootstrap adaptations for AngularJS. It just didn't want to work (element wasn't created in time). I solved it by getting rid of 3rd party bootstrap

[AngularJS] Re: Lazy Loading with Angular

2014-05-15 Thread Edgars Zagorskis
AFAIK everybody uses RequireJS. There are hundreds of tutorials and examples out there. -- 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

[AngularJS] Learning AngularJS complete step by step guide for beginners.

2014-05-15 Thread Zaheer Ahmed
Guide for beginners to learn AngularJS : Easy to understand post on Model View Controller or Model View View Model (MVVM) in AngularJS http://conceptf1.blogspot.com/2014/04/learning-angularjs-part2.html -- You received this message because you are subscribed to the Google Groups AngularJS

[AngularJS] Re: Form Validation Not Working For Some Users

2014-05-15 Thread Justin Walsh
Sander is saying that the password manager/form-filling solution built into the browser *may be* pre-populating the username/password fields *outside of the digest cycle of angular* and therefore the submit button is not enabled (as the validation has not run). A few users are having an issue

[AngularJS] Re: Headless web driver with AngularJS

2014-05-15 Thread Lee Rosenberg
We have a number of third party js add-ons. We tried to remove the ui-bootstrap one, but same result. I'm guessing we may need to go through a long process of elimination to find out if one of those is the culprit. Thanks for the reply, this was helpful. On Thursday, May 15, 2014 11:48:19 AM

Re: [AngularJS] 'defer' undefined when using $q in controller

2014-05-15 Thread Chris Rhoden
nothing but `angular` is global. To make your thing work you need to do: Application.Controllers.controller(XXX, ['$scope', '$q', function($scope, $q) { ... }]); Note that this is not an endorsement of the apparent structure of your application. Typically, I chain all definitions off of the

[AngularJS] Focus an input added dynamically on mobile safari

2014-05-15 Thread Jeremy Kallman
Here is my issue: I have an array of inputs that are bound to a ng-model inside an ng-repeat. Works really well for desktop - you can see the control at www.pro.com. But for mobile we start with just 1 input and have a button to add additional inputs as you go. So, in the click handler, I add

[AngularJS] Error: [$parse:syntax] from JSON echo'd from PHP. Angularjs min 1.2.12

2014-05-15 Thread Trash Match
I'm getting an angularjs error in my firebug console from JSON echo'd out with PHP. Even when I strip out ALL references to angularjs, that PHP file STILL gives me the same error. I'm guessing that angularjs is somehow monitoring anything that looks like JSON data, and trying to parse it? I

[AngularJS] Re: Error: [$parse:syntax] from JSON echo'd from PHP. Angularjs min 1.2.12

2014-05-15 Thread Trash Match
I just found out that my JSON was not right after all. I had an extra curly brace at the beginning of every sub array. That is part of my problem. -- You received this message because you are subscribed to the Google Groups AngularJS group. To unsubscribe from this group and stop receiving

[AngularJS] Re: Error: [$parse:syntax] from JSON echo'd from PHP. Angularjs min 1.2.12

2014-05-15 Thread Trash Match
I figured out my problem. I was constructing the JSON wrong. I am going to construct the multi-dimensional array with text formulas after all. I didn't have any luck pushing sub arrays into the array in PHP, then converting it back to JSON with JavaScript in the front end. I'm going to add

[AngularJS] Injecting $location service in config and calling path triggers 10 $digest() iterations reached

2014-05-15 Thread Mieczysław Daniel Dyba
I'm building an app that is composed of several mortgage calculators. Each calculator is a separate route in the app. I'm bootstrapping the angular app so that I can render any number of calculators simply by adding a data attribute to a div tag that points to the correct route. Here is a

[AngularJS] Re: Injecting $location service in config and calling path triggers 10 $digest() iterations reached

2014-05-15 Thread Jeff Hubbard
Let me guess: you've got at least 2 apps that you're bootstrapping, and at least 2 of them make use of $location? Because that's a big no-no. I spent a few days tracking that down recently. If you really, truly do need to write to $location in two apps... then I have no idea. But if all you

[AngularJS] Update $scope.variable value after POST

2014-05-15 Thread jay . munjpara
I am creating an simple TODO app using AngularJS, i POST the data to server when response comes, that response i want to store it existing variable and refresh the view. i.e // This stores on page load, its working fine var todos = $scope.todos = sever_passed_data; but when i do,