[AngularJS] Re: $httpBackend.whenGET() passThrough() not actually passing through for me

2014-01-03 Thread Ward Bell
Daniel. Not sure if my reply was recorded. Perhaps it takes time or has to be approved. Perhaps it was lost. The gist: I commend your efforts but think you have it wrong as I explain at length in my updated SO question. > -- You received this message because you are subscribed to the Google Gr

Re: [AngularJS] Re: How to use two ng-app in same page

2014-01-03 Thread Archana
Thank you for your reply!!! ya i'm just refering i have not created. here is my plunker link (*here* ). example.js,example.html and index .html. th

[AngularJS] Re: Searching for angularjs job?

2014-01-03 Thread ng-geek
is this job still open? On Friday, October 25, 2013 12:42:52 AM UTC+5:30, Megan Buonamia wrote: > > Good Afternoon, > > If you are still looking for the job, we have on in Minneapolis, MN. We > are looking for someone who specializes in Angularjs. If interested, > please contact me at mbuo...@

Re: [AngularJS] Controller

2014-01-03 Thread Archana
Thank you!! I will try On Saturday, January 4, 2014 11:03:50 AM UTC+5:30, Sander Elias wrote: > > Hi, > > Took a look at your plunk. It is erroring out all over the place, because > lots of the stuff you put in it isn't in the plunk. > However, your application needs routing. you put in an ng-vie

[AngularJS] Re: Can't connect angular to rails model

2014-01-03 Thread Sander Elias
Hi Steven, you seem to have missed an ng-repeat in your sample, this might get you going: {{todo.title}} - {{todo.importance}} Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group a

Re: [AngularJS] Controller

2014-01-03 Thread Sander Elias
Hi, Took a look at your plunk. It is erroring out all over the place, because lots of the stuff you put in it isn't in the plunk. However, your application needs routing. you put in an ng-view, but you didn't put in the needed routes. Regards, Sander -- You received this message because you a

Re: [AngularJS] Controller

2014-01-03 Thread Archana
Thanks again Aadithya!! :) but m unable to get it. calendar is not displaying.I'm working on a project so in the plnkr I've put my ful project code. Can you please me. example.html,example.js,index.html. These are the three files I'm using. regards On Saturday, January 4, 2014 10:01:04 AM UTC+5

Re: [AngularJS] Can't connect angular to rails model

2014-01-03 Thread Chris Rhoden
You need to reference $scope.todos (todos) in your view. As it stands, your template only references undefined scope values (todo) On Fri, Jan 3, 2014 at 7:17 PM, Steven Brooks wrote: > I am trying to show the index action of a rails app with an angular > front-end. Currently, I am able to save

Re: [AngularJS] Controller

2014-01-03 Thread Aadithya C Udupa
Hi again, I believe this may not be the right way to create a plnkr. It is giving whole lot of 404s. It must have files that are only relevant to the issue that you want the group to help. So if I have a questions about using Date picker : I would create a plnkr like this - http://plnkr.co/edit/z6c

[AngularJS] Here is my code for controller and view. Please help me

2014-01-03 Thread Archana
here is my code. here. I'm trying to code for datepicker. Please do the needful. regards, Archana -- You received this message because you are su

[AngularJS] Re: $httpBackend.whenGET() passThrough() not actually passing through for me

2014-01-03 Thread Daniel Tabuenca
Cross posting from SO: I’m not trying to be snarky, bu I really do think you are mis-understanding the purpose of the $httpBackend that is in the ngMockE2E module. This is not a matter of opinion, the ngMockE2E module is simply not designed nor intended to be used from within a jasmine specif

[AngularJS] Can't connect angular to rails model

2014-01-03 Thread Steven Brooks
I am trying to show the index action of a rails app with an angular front-end. Currently, I am able to save the input to my rails model, but no objects are loaded to the page when I refresh. Here is my index action: def index respond_with Todo.all end and here is my TodoController: f

[AngularJS] Re: Releasing Angular Table, the first 100% declarative angular table grid directive

2014-01-03 Thread David Nelson
Hi Andrew, Sorry you're having trouble with angular-table with angular 1.2.6. I created a github issue for it ( https://github.com/davidjnelson/angular-table/issues/38 ). Unfortunately I haven't had time to fix bugs lately, although I really want to. Best, David On Friday, January 3, 2014

[AngularJS] $httpBackend.whenGET() passThrough() not actually passing through for me

2014-01-03 Thread Ward Bell
See my StackOverflow post here and the corresponding failing test in Plunkr here in which I show that I am getting the extended $httpBackend mock but

Re: [AngularJS] Re: angularjs and grails.

2014-01-03 Thread Mauro Sanna
On 31 December 2013 05:24, Praveen Gandhi wrote: > I am using Angular with Grails REST. > > Do you have some code that I can read to learn something? -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receivin

Re: [AngularJS] Re: angular custom directive sequence

2014-01-03 Thread Ian Zhang
Thank you Daniel. pre-link function works perfectly. I really learned a lot from you. Thanks. Ian On Fri, Jan 3, 2014 at 11:49 AM, Daniel Tabuenca wrote: > You can use a pre-link function instead of the default post-link function > like this: > > app.directive("log", function() { > return

[AngularJS] Re: window.execCommand acting quirky

2014-01-03 Thread Ed Thompson
> > so really an issue is when the DOM get rewritten to include the tags, > the change is NOT being propogated, which means its out of sync for the > NEXT call. > The issue I'm trying to address with the blur code is the fact that the change (adding the tags) is NOT getting propogated to the

[AngularJS] Re: window.execCommand acting quirky

2014-01-03 Thread Ed Thompson
> > I agree. > The problem is, without the blur code, the changes do not propogated from the view to the model. Also a change event does not seem to get triggered. >>By the time your button handler gets called the selection is lost.<< why would that effect Scenario 2, where I reselect first

[AngularJS] Re: window.execCommand acting quirky

2014-01-03 Thread Daniel Tabuenca
The problem is in your blur handler. Here's the sequence: 1. You select the "cruel" word 2. You click on the **bold** button 3. The blur event gets triggered 4. ctlr.$setViewValue("Hello cruel editable world!") is called but since the value is the same as it was before, the view is not re-rendere

[AngularJS] Re: window.execCommand acting quirky

2014-01-03 Thread Sander Elias
Hi, I took a quick look. Here is an update. Not a complete solution though, not enough time available. 1. on the blur you don't need the scope.$phase stuff. the $setViewValue will take care of updating angular. no need for an apply there. 2. if yo

[AngularJS] Re: Directives Loading Before $resource Returns Data

2014-01-03 Thread Paul McCaughtry
Oh, that makes sense. Out of curiousity, how can I use $http to simplify this because I receive the same types of errors when I use the following: .factory(DepositCount, ['$http', function ($http) { return $http.get('./count.json').success(function(response) { return response.data;

[AngularJS] Re: Directives Loading Before $resource Returns Data

2014-01-03 Thread Paul McCaughtry
Oh, that makes sense. I tried running the plunkr code against actual server calls and now receive an empty array. Going to play with this some more. Out of curiousity, how can I use $http to simplify this because I receive the same types of errors when I use the following: .factory(DepositCoun

Re: [AngularJS] Re: angular custom directive sequence

2014-01-03 Thread Daniel Tabuenca
You can use a pre-link function instead of the default post-link function like this: app.directive("log", function() { return { link: { pre: function(scope, element, attrs) { console.log("PRE LINKED " + attrs.name); }, post: function(scope, element, attrs) {

[AngularJS] Senior Frontend / AngularJS Developer - Rolling Contract - Digital Publishing Company - Old Street, London

2014-01-03 Thread Nicky Driver
Hi Guys, I wonder if you can help me? My client; a leading Digital Publishing company based in Old Street, London are urgently seeking a Senior / Lead Frontend Developer on a 1 month rolling contract. The project is for a high profile fashion Magazine. The platform is a multi-channel

[AngularJS] Re: Building a rich text editor directive: dynamic toolbar

2014-01-03 Thread Daniel Tabuenca
If you append custom elements in the linking phase I don’t think they will ever be compiled since compilation is over once angular starts linking. I assume you need to do this during the linking function because commandscould be an expression stored in the scope somewhere (rather than always

[AngularJS] window.execCommand acting quirky

2014-01-03 Thread Ed Thompson
OK, I have a jsfiddle that demonstrates this issue: http://jsfiddle.net/ed4becky/NJnyU/36/ I have a contenteditable field. when it has focus a formatter bar pops up. Scenerio 1: Select text. Text is highlighted Click the italic button. text is converted to italic and still highlighted Click

[AngularJS] using buttons to change a reference site

2014-01-03 Thread philipsivyer
Hi Newbie to Angular and what my attempt below does is that when my test.html file below is clicked on it immediately retrieves/links to a Tableau Dashboard and the user can interact with the Dashboard. Ideally, I would like when the html file is opened first we see a button and when the button

Re: [AngularJS] Re: angular custom directive sequence

2014-01-03 Thread Ian Zhang
Thanks Daniel. I spent 2 hours today exploring "compile" option. You are right. By using compile option on custom directive, the directive runs from outer node to inner node. But the "compile" function has limitation. I need scope.$watch in my directive. The "compile" function cannot acces

[AngularJS] Re: Looking for a thesis topic on angular/javascript application frameworks

2014-01-03 Thread Alon Nisser
I think a work on the different generation of javascript frameworks could be very interesting (where angular.js and ember,js are the "Next generation frameworks", correlating framework development to js specs (es3, es5 es6 etc) and advancing browsers capabilities and new api's (eg html5). thje

Re: [AngularJS] Re: How to use two ng-app in same page

2014-01-03 Thread alonn
Did you actually create the ```dashboardApp``` module or are you just referencing it without creating it? what exactly isn't working. please provide a plunker/fiddle so we can look at actual code and trace problems Twitter:@alonisser LinkedIn Profile

[AngularJS] Re: Looking for a thesis topic on angular/javascript application frameworks

2014-01-03 Thread ebaggg
That's a pretty broad question...any more details you can provide what you're trying to do? There are tons of articles out there comparing the different frameworks and even this website that houses them all: http://todomvc.com/ Certainly an important part of using a framework for me is that I d

[AngularJS] Add many icons to nav-tree

2014-01-03 Thread BEN BELAID Maroua
Hi all, i displayed data in my nav-tree and i want assign to each branch a specific icon can someone help me ? -- 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 angu

[AngularJS] Re: Building a rich text editor directive: dynamic toolbar

2014-01-03 Thread Oliver Joseph Ash
Bump! On Tuesday, 17 December 2013 11:30:12 UTC, Oliver Joseph Ash wrote: > > I want to create a directive for a rich text editor. The rich text editor > is > formed of the input area and the toolbar (with buttons for commands, such > as > `bold`). > > I want to create the toolbar and its butto

[AngularJS] Fade in transition

2014-01-03 Thread Oliver Joseph Ash
I want a "fade in" transition, but when the element is not faded in, I don't want it to be visible/clickable. Is the best way to do it using `$animate.addClass/removeClass` with the following CSS? .fade-in { opacity: 0; visibility: hidden; transition: opacity 0.2s; &.fade-i

[AngularJS] Re: Recompiling form causing issues

2014-01-03 Thread Martin MacPherson
Thanks for the reply. I can't work in the compile function as I need to use the scope to get details from the bound model as to what validation is required. In the end I went the route of your original suggestion which was to compile the individual elements rather than a blank compile of the w

[AngularJS] Re: Releasing Angular Table, the first 100% declarative angular table grid directive

2014-01-03 Thread Andrew Bone
Hi David, Thanks for this - it looks exactly what I need. However I am running into difficulty with the rows of the table not populating when I use Angular 1.2.6. (I have tested on the demo that is in the source and changing from v1.0 to v1.2 breaks it.) Am I right in thinking that this

Re: [AngularJS] Controller

2014-01-03 Thread Archana
http://plnkr.co/edit/i1ZwRP1CvgKKfXvr1o4h?p=catalogue. Here is the link.example.html,example.js,index.html are the three files m using. Thanks On Friday, January 3, 2014 5:11:03 PM UTC+5:30, Archana wrote: > > Thank you sander! can u please tel me how to put my code in plunker as m > new to dis

Re: [AngularJS] Controller

2014-01-03 Thread Archana
Thank you sander! can u please tel me how to put my code in plunker as m new to dis On Friday, January 3, 2014 4:44:28 PM UTC+5:30, Sander Elias wrote: > > Hi, > > If you put your issue inside a plunk or a fiddle, most of us are happy to > help. Now all I can do is tell you you have a error in y

Re: [AngularJS] How to include my own controllers

2014-01-03 Thread Archana
Thanks for ur reply. I ve main file 'index.html' in this file ng-app and controller are already defined. if i ve to write my own js files then i should make use of only this 'dashboardApp'' and 'exampleCtrl'.Here is my prob On Friday, January 3, 2014 4:52:38 PM UTC+5:30, Pushpendra Kumar wrote:

Re: [AngularJS] How to include my own controllers

2014-01-03 Thread Pushpendra Kumar
write file example.js. and include controller name in body or any div where you want your controller to be covered. data-ng-controller="controller name" Regards, Pushpendra On 3 January 2014 11:30, Archana wrote: > Hi. I'm working on angular js just from two weeks. I have a main page > index.h

Re: [AngularJS] Controller

2014-01-03 Thread Sander Elias
Hi, If you put your issue inside a plunk or a fiddle, most of us are happy to help. Now all I can do is tell you you have a error in your code! Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and sto

[AngularJS] Re: Directives Loading Before $resource Returns Data

2014-01-03 Thread Sander Elias
Hi, There was noting bad in your data, but if you feed plotr incomplete data, it crashes. Had to put in a check for that. Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails fro

Re: [AngularJS] Controller

2014-01-03 Thread Archana
Only the input box and icon are visible. when i click calendar is not poping up, please help me On Friday, January 3, 2014 12:03:46 PM UTC+5:30, Aadithya Udupa wrote: > > Not sure I understand what the issue here is. But if you want to include > datepicker here (refer > here

Re: [AngularJS] Controller

2014-01-03 Thread Archana
Thank you very much for ur reply but i m gettin error as *Uncaught Error: Syntax error, unrecognized expression: /example jquery.js:1850 * 1. *Error: [ng:areq] Argument 'exampleCtrl' is not a function, got undefined* 2. On Frid

[AngularJS] Re: Directives Loading Before $resource Returns Data

2014-01-03 Thread Paul McCaughtry
Thank you Sander. I really appreciate the help. Regarding comments: The json validated. What was bad about the data? I tried using $http and had similar results. When I was using v1.0.7 I used $http across all calls and then moved to $resource because many calls that were read-only now were go

[AngularJS] Re: Directives Loading Before $resource Returns Data

2014-01-03 Thread Sander Elias
Hi Paul, Had little to do with the directive, except for that plotr seems very sensitive to bad data. also it can't handle promises, so I had to make sure those were resolved before putting in the data. here is a version that will work. I'm not sure why you had chosen to