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
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
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
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 =
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
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':
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,
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':
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
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
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
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) {
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
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
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
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
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
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
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
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
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
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.
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,
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
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
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
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=
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
41 matches
Mail list logo