[Angular] Angular 1.4.3 help. Creating Custom Table Cell Renderer

2022-07-28 Thread Chris Rollings
Hi i posted a message on reddit.. not getting much look. I thought I would try positing it here: https://www.reddit.com/r/angularjs/comments/w9ivi0/angular_143_help_creating_custom_table_cell/ Thanks for any help -- You received this message because you are subscribed to the Google Groups

[AngularJS] How to test events on custom components?

2020-03-15 Thread Chris de Vries
Hello everyone. Can someone please help me with this Angular custom input component? I've created a small and simple project to illustrate the problem: https://github.com/cdvries/angularTestApp This component has a onBlur event wich adds a dollar sign in front of the input when exiting the

[AngularJS] Angular 6 Workspace Project: Testing Library Can't resolve '@ngtools/webpack'

2018-09-24 Thread chris . r . gardner
I've created an angular 6 workspace project. It has two libraries. When I run ng test library-one, I receive the following: ERROR in Entry module not found: Error: Can't resolve '@ngtools/webpack' in ... Any ideas as to what might be going wrong? -- You received this message because you

Re: [AngularJS] Data not refreshed after Deleting from List

2018-09-24 Thread Chris wang
when it delete success, why not just reinvocation the GET method to get the NOW list? Partha Majumdar 于2018年9月24日周一 下午4:55写道: > Dear Sir/Madam, > > I am new to Angular. I have started programming using Angular and Node > since 17-Sep-2018. > > I have a page where I display a list of currencies

[AngularJS] Re: Angular - Routing and refreshing

2018-02-25 Thread Chris Anderson
break; case 'faq': this.FAQ = true; this.NarrowView = false; break; default: this.News = true; break; } this.messageService.add('currentView:' + currentView); this.messageService.add('NarrowView: ->' + this.NarrowView); } -Chris On Sunday, February 25, 2018 at 4:26:35

[AngularJS] Angular - Routing and refreshing

2018-02-24 Thread Chris Anderson
I'm working on rebuilding an old website from a PHP-based MVC structure platform to Angular. One of the areas where I'm currently running into a problem with is what seems like some basic routing. I've got some paged which are largely static HTML. It seems like overkill to create a component

[AngularJS] Re: Contemporary Angular 1.x Grid?

2017-12-21 Thread Chris Huston
I would suggest having a look at ag-grid . It supports Angular 1 as well as Angular 5. There is a free version which has a good feature set and impressive performance. The Enterprise paid version adds row grouping, pivoting and other high-end features. On Wednesday,

[AngularJS] Re: Module not found: Error: Can't resolve 'child_process'

2017-10-12 Thread Chris Velevitch
I managed to narrow down the issue. I located a Angular Electron Starter kit [1] and used it to successfully import the spawn function, although the final import statement ended up being a little different:- import { spawn, spawnSync } from 'child_process'; I suspect there is a difference

[AngularJS] Module not found: Error: Can't resolve 'child_process'

2017-10-11 Thread Chris Velevitch
I'm trying to import spawn from child_process in electron app using but I keep getting "Can't resolve 'child_process'" I'm using:- import * as child from 'child_process'; What needs to be done to get this working? -- You received this message because you are subscribed to the Google

[AngularJS] Re: iFrame with ng-src says can't interpolate

2017-07-07 Thread Chris Huston
https links do work. See Plunker below with working https links: http://plnkr.co/edit/1uTF5GPAwtTmvUawA2og?p=preview You just need to have a link to a video source that does not require same_origin. -- You received this message because you are subscribed to the Google Groups "Angular and

[AngularJS] Can I use a screenshot of the AngularJS homepage in a magazine article?

2016-12-06 Thread chris
I am writing an article about frameworks for a Dutch magazine. Can I add a screenshot of the AngularJS homepage to this? Are there any specific copyrights? -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop

[AngularJS] Re: Dynamic component creation

2016-02-25 Thread Chris Derossi
h the DOM and the innerHTML. Not very object-oriented of me, I know. The ability to programmatically cause the insertion of dynamic "live" elements is going to be important, in my opinion. I'm very glad to hear that it's going to be possible with the integrated HTML parser. Chris On We

[AngularJS] Re: Dynamic component creation

2016-02-23 Thread Chris Derossi
Heh, good question. I tagged the post Angular2, but that's probably not obvious enough. Definitely version 2. Chris On Tuesday, February 23, 2016 at 10:36:10 PM UTC-8, Sander Elias wrote: > > Hi Chris, > > Ok, now I need to know for real, version 1 or 2? ;) > > Regards &

[AngularJS] Re: Dynamic component creation

2016-02-23 Thread Chris Derossi
, that should be more on point. I would appreciate any pointers on what is required to "compile the new element" and how to add it to the DOM while keeping the linkage between the component instance and the element intact. Chris On Tuesday, February 23, 2016 at 7:36:53 AM UTC-8, Sander E

[AngularJS] Dynamic component creation

2016-02-22 Thread Chris Derossi
I have a with contenteditable=true and I'd like to use components inside this div to give some of the contents specific behaviors. Essentially these components are s with some data binding and css styling. I need to be able to create these components, at any location within the div, based on

[AngularJS] Re: Getting reference to component loaded by @RouteConfig

2016-02-22 Thread Chris Derossi
I had a similar need and wound up having to address it in a very roundabout way. Here's the thread: https://groups.google.com/forum/#!topic/angular/KbZS207xL-k In short, I created an external app-wide service that the components used to find each other. This is the equivalent of having to use

[AngularJS] Re: [Angular2] Access router-inserted component instance?

2016-01-29 Thread Chris Derossi
work well with just binding. > Otherwise use a shared service > See http://stackoverflow.com/questions/34700438/global-events-in-angular-2 > for an example > > On Monday, January 25, 2016 at 3:11:09 AM UTC+1, Chris Derossi wrote: >> >> I want to be able to com

[AngularJS] How to conditionally hide/show elements in an list

2016-01-26 Thread Chris Velevitch
In an angular2 app, I want to conditionally hide/show list elements in a unordered list. I'm trying to work out how to create a complex *ngIf= expression with a combination of data from the current list item and an injected value, but I need to listen for changes in the injected value. Below

[AngularJS] [Angular2] Access router-inserted component instance?

2016-01-24 Thread Chris Derossi
I want to be able to communicate (i.e. call methods) between a component instance and one of its child component instances. Or just as good for me, call from one component instance to the parent component instance. For example, take this pseudo setup: @Component({ selector: 'outerC',

[AngularJS] Re: Event propagation continuing always

2016-01-17 Thread Chris Derossi
Michael, That works, thanks. Hopefully the Angular2 bug will get fixed, or maybe the code that's supposed to handle the return value will get taken out and the canonical approach will be to call event.stopPropagation(). _chris -- You received this message because you are subscribed to the

[AngularJS] Event propagation continuing always

2016-01-15 Thread Chris Derossi
Example code with test case: http://plnkr.co/edit/WbjneiG1G3oWf20HaYaq?p=preview I have nested elements and if someone clicks on an inner element, I want to handle the click and stop it from propagating to the outer elements. I also have a (click) binding on the outer element which does

[AngularJS] Re: Installing Angular 2 into a Visual Studio 2015 application

2015-12-11 Thread Chris RykrSmith
things to Camelcasing worked for me. Chris On Friday, December 11, 2015 at 11:26:29 AM UTC-5, Chris RykrSmith wrote: > > https://www.youtube.com/watch?v=Zkesm9CUP_o > > here is a youtube video that helped me. > > One thing to note however is I had to include the system

[AngularJS] Re: Installing Angular 2 into a Visual Studio 2015 application

2015-12-11 Thread Chris RykrSmith
https://www.youtube.com/watch?v=Zkesm9CUP_o here is a youtube video that helped me. One thing to note however is I had to include the system-polyfills.js file and reference it after the system.js file to get VS 2015 to not throw errors on System. You can find that file in the same folder as

[AngularJS] Re: Angular 2, Visual Studio 2015, ASP 5 - 'System' is Undefined, 'Require' is Undefined

2015-12-11 Thread Chris RykrSmith
Adding an Update to this. After installing Visual Studio 2015 Update 1, and using Alpha 52 from NPM I still have to add a reference to the system-pollyfills.js file for Visual studio to not throw a debugging System is undefined error. Using IE 11 on Windows 10. Chris On Thursday, November

[AngularJS] An npm to use Phoenix Channels in an Angular2

2015-11-22 Thread Chris Nelson
All, I've published a very small npm to make it really easy to turn Phoenix Channels into Angular 2 compatible Observables. It's here: https://github.com/gaslight/angular2-phoenix-channels. Feedback welcomed. Chris Nelson -- You received this message because you are subscribed to the Google

[AngularJS] Re: Angular 2, Visual Studio 2015, ASP 5 - 'System' is Undefined, 'Require' is Undefined

2015-11-12 Thread Chris RykrSmith
and referenced it first. Everything seems to be running correctly now. Thank you so much for the help Chris On Friday, November 6, 2015 at 9:49:46 PM UTC-5, Eric Martinez wrote: > > Chris, > > what browser and version, are you using? Try adding after system.js the > file system-po

[AngularJS] Angular 2, Visual Studio 2015, ASP 5 - 'System' is Undefined, 'Require' is Undefined

2015-11-06 Thread Chris RykrSmith
I am attempting to get the Quick Start to run in Visual Studio 2015 using ASP-5 Empty Template. I downloaded the angular2 and systemjs last week. The problem I am getting is when I run it as it with this piece of code in the html.index System.config({ packages: { 'app': {

[AngularJS] Angular2 / Visual Studio 2015

2015-10-17 Thread Chris Alvarado
Hello all, I am hoping someone here can provide some guidance on the CURRENT proper way to get a project up and running in VS2015. I realize the build process for VS is still in flux for NG2. Here is what I have done. I start a new project using the "HTML With Typescript" project template.

Re: [AngularJS] Re: https via ui router

2015-10-10 Thread Chris Hendrix
So there is no way to force buttons in the router js and keep the benefits of having ui-sref and ui-sref-active? Sent from my phone > On Oct 10, 2015, at 1:23 AM, Sander Elias <sanderel...@gmail.com> wrote: > > Hi Chris, > > For switching between protocols? Yes indeed.

[AngularJS] https via ui router

2015-10-09 Thread chris hendrix
i'm using ui router and trying to make a state force into https... how do i do that? -- 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

Re: [AngularJS] Re: https via ui router

2015-10-09 Thread chris hendrix
so it basically renders ui-sref useless? On Fri, Oct 9, 2015 at 11:37 PM, Sander Elias <sanderel...@gmail.com> wrote: > Hi Chris, > > Most effectively? on your server. Otherwise, window.location will do the > trick. Anyway, switching will cause a reload anyway. > > Regar

[AngularJS] Re: Why is this simple controller not working?

2015-07-26 Thread Chris Huston
Try this: !doctype html html lang=en ng-app=demo head meta charset=UTF-8 titleAngular Demo/title script src=lib/angular/angular.min.js/script /head body div ng-controller = MyController h2{{author.name}}/h2 p{{ author.title + ', ' + author.company }}/p /div

[AngularJS] Re: npm run update-webdriver fails on windows

2015-06-10 Thread chris stone
I'm having the same issue On Tuesday, June 9, 2015 at 4:30:48 PM UTC-4, Vadorequest Mini Vado wrote: I'm trying to install the webdriver following that tutorial: Here is what happens when I try to update the webdriver: C:\wamp\www\angular-phonecatnpm run update-webdriver

[AngularJS] Re: Restangular Get returns undefined result- missing payload/body

2015-05-27 Thread Chris Cottrell
This is a slightly old issue, but something I am seeing as well.. I see the response returning looking at my watch, but get undefined in the then(). Did you ever find out what happened? Thanks! On Saturday, August 16, 2014 at 9:10:22 PM UTC-5, Darin Hensley wrote: Using Restangular, the get

[AngularJS] Re: Protractor browser.debugger(); not pausing test

2015-03-21 Thread Chris Trees
Having the same issue. I did find this: https://github.com/angular/protractor/issues/1790 And it looks as it got juliemr attention so I'm hope it's a know issue ?? -- You received this message because you are subscribed to the Google Groups AngularJS group. To unsubscribe from this group and

[AngularJS] Interactive free online book covering AngularJS directives, modules, routing, and more

2015-03-11 Thread Chris Smith
After a year and a half of night weekend work, I am happy to finally release my interactive, free, online book on Angular. It is intended for beginners and covers directives, modules, services, controllers, routing, and more. Please let me know what you think! http://www.angularjsbook.com/

[AngularJS] Re: Angular-ui-router.js with C# MVC avoiding C# controller calls

2015-03-10 Thread Chris Frattinger
always add custom Http headers of your own and check for those in the filter as well, say an application guid. This help? Chris On Monday, March 9, 2015 at 10:18:04 AM UTC-6, Nikola Radisic wrote: Hi. I am building a .NET MVC 5 application on back-end and Angularjs on front-end. I am

[AngularJS] How do I test the methods on an anonymous controller of a directive with a bound scope

2015-02-21 Thread Chris Hokamp
This blog post [1] touches on a good solution - write a separate controller and use the controller: property of the directive to use it. It keeps your tests cleaner because you can unit test the controller logic separately without needing to create an element. [1]

Re: [AngularJS] How to compile dynamically added directive in angular

2015-01-04 Thread Chris Huston
Below is a directive I use for dynamically loaded html with angular content. I haven't used this inside another directive, but it might get you going: div dynamic=html_with_angular_here/div App.directive('dynamic', function ($compile) { return { restrict: 'A',

[AngularJS] Angular routing, troubleshoot on reload page navigation

2014-12-19 Thread Chris Lopez
Hi. I have a problem with angular routing, when i start to navigate through pages, and then i want to reload that page and then send to an 404 error page. Example: Url: http://localhost/mysite/my-page Then click in the Reload button of the explorer; send me a 404 error. Other problema i've is

[AngularJS] Re: Another question about directives and jquery

2014-12-02 Thread Chris Trude
with this: {{_i(image, listing.posted_date, 'l')}} or scope.$last, So I left those out for now. -Chris Trude On Tuesday, February 12, 2013 11:55:55 AM UTC-5, Jeremy Fry wrote: So I've been wracking my head with trying to get Angular to play nice with a jQuery slideshow plugin. I have a working

[AngularJS] Re: Another question about directives and jquery

2014-12-02 Thread Chris Trude
:9000/bower_components/jcarousel/dist/jquery.jcarousel.js:213:22) at Object.$pc.fn.extend.build (http://localhost:9000/bower_components/pikachoose-bower/lib/jquery.pikachoose.js:218:15) pikachoose On Tuesday, December 2, 2014 6:43:26 PM UTC-5, Chris Trude wrote: Hey Jeremy, Funny seeing

[AngularJS] Re: ng-repeat math mystery

2014-11-13 Thread Chris Geir***
of a bound variable? If so, then I could output the static expressions to see if that 'adds up' :) Thanks for your respose, Chris -- 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

Re: [AngularJS] Re: ng-repeat math mystery

2014-11-13 Thread Chris Geir***
Kai, Great explanation and example! See, I learned something I never would have otherwise. I agree that there's no point to this code, but it lead to learning more about the digest cycle, and that's why we play. I really appreciate your help! The Angular community really is the best. Chris

[AngularJS] ng-repeat math mystery

2014-11-12 Thread Chris Geir***
I'm a n00b, just playing around, but I can't for the life of me make sense of what's going on here. In my app.js, I have the following declaration in my controller... $scope.cells = [0,1,2,3,4,5,6,7,8,9]; In my html file, I have the following table (the interesting bit is highlighted) table

[AngularJS] Re: ng-repeat math mystery

2014-11-12 Thread Chris Geir***
If you're wondering why I'm using square brackets rather than curly, it's because I'm playing with angular-meteor together. Here's a working example on codepen so you can see it in action... http://codepen.io/geirman/pen/qEBZwZ On Wednesday, November 12, 2014 10:25:41 PM UTC-8, Chris Geir

Re: [AngularJS] Re: Announcing angular-meteor

2014-11-03 Thread Chris Nelson
. Are the two related in any way? Will have a look at a Angular/Meteor package in the next days if Meteor is still almost blank on the frontend (as it was when I had the last look)... Tnx, Anton Am Samstag, 1. November 2014 20:03:09 UTC+1 schrieb Chris Nelson: Angulars, I've been having a lot

Re: [AngularJS] Announcing angular-meteor

2014-11-02 Thread Chris Nelson
for dummies the added sugar that angular has that meteor needs? Regards António 2014-11-01 19:03 GMT+00:00 Chris Nelson superchrisnel...@gmail.com: Angulars, I've been having a lot of fun using Angular and Meteor together. I've released an updated and renamed version of the ngMeteor

[AngularJS] Announcing angular-meteor

2014-11-01 Thread Chris Nelson
it (pretty well I hope) on the github repo https://github.com/superchris/angular-meteor and created an example app to show off all the features. Feedback is welcomed, and thanks for AngularJS. Chris Nelson -- You received this message because you are subscribed to the Google Groups AngularJS

Re: [AngularJS] Angular vs Meteor

2014-10-21 Thread Chris Rhoden
If you want a framework with persistence built in, use meteor. Angular is for building rich client applications, and has literally nothing to say about the server. On Tue, Oct 21, 2014 at 9:37 AM, António Ramos ramstei...@gmail.com wrote: Hello i read some pro/cons about these 2 but i´m

Re: [AngularJS] ui-router resolve - what am I doing wrong?

2014-10-07 Thread Chris Rhoden
The only possibility I can see is that Whatever.query() is resolving to an empty array. There's nothing else that would introduce an empty array. Try changing Whatever.query() to Whatever.query().then (result) - $log.debug result result On Tue, Oct 7, 2014 at 3:23 AM, Anton Trapp

Re: [AngularJS] Ugly Loading

2014-09-11 Thread Chris Rhoden
https://docs.angularjs.org/api/ng/directive/ngCloak On Thu, Sep 11, 2014 at 10:45 AM, Christian Nwamba nwambachrist...@gmail.com wrote: Hi When i ever i initiate my angular app, it looks ugly for half a second before displaying the real thing. By ugly i mean it displays the raw html first,

[AngularJS] dynamic forms in angular

2014-09-02 Thread Chris
Hi the forms in my app display themself based on metadata. In design mode the user should be able to reconfigure the form (metadata) by dragging and dropping all elements. I wonder, if there is allready any solution. Thanks in advance Chris -- You received this message because you

Re: [AngularJS] Re: Angular 1.3.0-rc.0 breaks karma unit tests, please help

2014-09-02 Thread Chris Rhoden
The solution I put in place was to have my ng-app directive point at a new module (say, modulename.base) which enables HTML5 mode and depends on the module my ng-app directive previously depended on. This way, HTML5 mode is only activated when in the context of my HTML page, and is not enabled in

[AngularJS] Angular application with multiple locales active on the page

2014-08-26 Thread Chris Scribner
opinions or advice? Thanks, Chris -- 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 post to this group, send email to angular

[AngularJS] Template testing question

2014-08-26 Thread Chris Scribner
, Chris -- 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 post to this group, send email to angular@googlegroups.com. Visit

Re: [AngularJS] duplicate query string parameters with $resource or $http

2014-08-25 Thread Chris Jones
I was able to create the following get request: (notice there are 2 deliverytypeid's) http://localhost:8080/rule?*deliverytypeid*=1*deliverytypeid* =3inputtypeid=1languageid=1materialtypeid=1 Here is my $promise that I use to call the $resource: var selectedInputTypeId =

[AngularJS] Problem with $httpBackend mocks

2014-07-31 Thread Chris Roemisch
I am getting an error on calling the $httpBackend module. My $http call is as follows. $http({method: get, cache: false, url: claimUrl}).success(someFunction); When the $http call is intercepted the $httpBackend call fails because it is expecting a method and a url not an object containing

[AngularJS] Isolate scope

2014-07-29 Thread Chris M
We have an isolate scope issue that we have been struggling with for a few days. We want to be able to change the text in one label within a group of labels and have a directive change the text just for the one label rather than all of them. Plunker is below, this is also on Stack.

[AngularJS] angular-debaser: unit test helper

2014-07-26 Thread Chris Hiller
Hi, Made a tool to help unit test AngularJS code: http://decipherinc.github.io/angular-debaser We're dogfooding it but would be interested in what others might want in new features. Hope this is helpful to somebody! Chris -- You received this message because you are subscribed

[AngularJS] Re: Directives With Sub Elements and processes

2014-07-25 Thread Chris Mingay
up to the server what it does with this information. /some-directive On Friday, July 4, 2014 5:07:30 PM UTC+1, Chris Mingay wrote: Hi all, I am quite new to AngularJS and specifically chart rendering through it. I have currently spent the most time looking at D3 and I think that's what

[AngularJS] Testing nested promises

2014-07-25 Thread chris nikitas
Hi all, I am trying to test nested promised in my application without any luck so far. You can see my setup and code below: app.factory('myService', '$q', function($q) { var methodOne = function (param) { var deferred = $q.defer(); thirdParty.callMethodOne(param, function

[AngularJS] Re: $resource and automatic promise unwrapping

2014-07-24 Thread Chris Scribner
I'd still like to get this answered (making a post to bump up the list for visibility). -- 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

Re: [AngularJS] How did another scope get created?

2014-07-24 Thread Chris Rhoden
Lots of directives trigger the creation of a new child scope. On Thu, Jul 24, 2014 at 3:55 PM, Tobiah t...@tobiah.org wrote: I just have one controller and a brief HTML page. I attached a select to a variable using ng-model. It wasn't updating in the controller, and I read about always

[AngularJS] Re: orderBy string filter to favor whitespace as an 'earlier' sorted word than if additional digit

2014-07-23 Thread Chris Dieringer
Hi Tobiah: I realize that I may have mislead. Let me be more explicit about my issue. I have an Array, $scope.array. Within the array, there are objs w/ props. I.e., $scope.array[arbitrary-n] = {prop1: '1', prop2: '2'..., propN-1:'n-1'}; div ng-repeat=obj as obj.prop1 for obj in array |

Re: [AngularJS] Re: orderBy string filter to favor whitespace as an 'earlier' sorted word than if additional digit

2014-07-22 Thread Chris Dieringer
Apologies, Tobiah *** -- 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 post to this group, send email to

Re: [AngularJS] Re: orderBy string filter to favor whitespace as an 'earlier' sorted word than if additional digit

2014-07-22 Thread Chris Dieringer
With the new direction of using a custom sort comparator, the thread description should really read something more like: *howto use orderBy custom sort when iterating over objects* Tobias, thanks for the feedback. Indeed I cannot quite do as you suggest, as I'm iterating over a raw object{},

[AngularJS] orderBy string filter to favor whitespace as an 'earlier' sorted word than if additional digit

2014-07-21 Thread Chris Dieringer
to be sorted properly, is there a quick trick? Example: http://codepen.io/cdaringe/pen/kyHht?editors=101 Much appreciated! -Chris -- 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

Re: [AngularJS] Re: how can I identify parent directives inside of their children?

2014-07-15 Thread Chris Dawson
at the enclosing scopes to understand what is happening, but not making much headway. Thank you for your help. Chris On Mon, Jul 14, 2014 at 11:08 PM, Sander Elias sanderel...@gmail.com wrote: Hi Chris, You do realize that using transclusion, the parent scope of your foo elements is the same

Re: [AngularJS] Re: how can I identify parent directives inside of their children?

2014-07-14 Thread Chris Dawson
=preview Is there a way to save the ID into the scope of the parent as well? In other words, to have the parent is ... from the plinkr match the children? Chris On Thu, Jul 10, 2014 at 4:21 AM, Roman rbres...@gmail.com wrote: have you considered using a 'pre' link function in the parent so that you

Re: [AngularJS] Phoneapp tutorial without using node.js

2014-07-10 Thread Chris
considered using them for any website code. Every tutorial which seems to come up in google *expects* you to know what bower is (and how to use it) - I'd never heard of it before yesterday! Chris On Thursday, 10 July 2014 06:27:31 UTC+1, Eric Eslinger wrote: While you can serve up the angular

[AngularJS] $resource and automatic promise unwrapping

2014-07-09 Thread Chris Scribner
(maybe it deals with getting the automatic unwrapping behavior?). I tried returning a similar structure from one of my own methods and it did not get automatically unwrapped... Can anyone help explain the thinking around this and how we should use it? Thanks for the help, Chris -- You received

[AngularJS] Dynamic AngularJS JavaScript animations

2014-07-09 Thread Chris Frolik
name, such as .animatable, and the enter/leave functions defer to some dynamic service to figure out what to do for that particular animatable element. However, that seems like an extra layer of abstraction I don't need. Thanks. -- Chris -- You received this message because you

[AngularJS] Re: Dynamic AngularJS JavaScript animations

2014-07-09 Thread Chris Frolik
Whoops, sorry about the confusion - I meant app.animation, not app.animate (in the couple of places in my original post where I typed the wrong thing). On Wednesday, July 9, 2014 5:30:37 PM UTC-4, Chris Frolik wrote: I've noticed that if I call app.animation(...) *after* my app has been

[AngularJS] Phoneapp tutorial without using node.js

2014-07-09 Thread Chris
to run the preconfigured web-server, or use their test tools, I skipped this step. I've been given the impression that Angular does not need Node.js to run at all - is this correct? I checked out the angular-phonecat files to `C:\Users\chris\htdocs\angularjs_tutorial\angular-phonecat\app

[AngularJS] Phoneapp tutorial without using node.js

2014-07-09 Thread Chris
to run the preconfigured web-server, or use their test tools, I skipped this step. I've been given the impression that Angular does not need Node.js to run at all - is this correct? I checked out the angular-phonecat files to `C:\Users\chris\htdocs\angularjs_tutorial\angular-phonecat\app

[AngularJS] Directives With Sub Elements and processes

2014-07-04 Thread Chris Mingay
, is that possible? Thanks -Chris -- 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 post to this group, send email to angular

[AngularJS] Re: marketplace detail view and maintaining scrolling position

2014-07-01 Thread Chris Cinelli
but in this case I cannot use the router to separate the states. What do you think? On Monday, June 30, 2014 7:59:55 PM UTC-7, Chris Cinelli wrote: Back button and scrolling positions are not easy on dynamic apps. What is easy on a statically generated page becomes quite hard in a dynamic app

[AngularJS] marketplace detail view and maintaining scrolling position

2014-06-30 Thread Chris Cinelli
Back button and scrolling positions are not easy on dynamic apps. What is easy on a statically generated page becomes quite hard in a dynamic app. On a statically generated page the back button and scrolling position is managed by the browser and the browser does a very good job to bring you

[AngularJS] Re: Angular ng-repeat with controller as syntax

2014-06-27 Thread Chris
this helps. On Wednesday, June 25, 2014 3:54:55 PM UTC-3, Chris wrote: fiddle example: http://jsfiddle.net/squirrelradio/LZEbT/ -- 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

Re: [AngularJS] Re: Input=range acts weird when setting attributes dynamically

2014-06-26 Thread Chris Rhoden
I suspect you're referring to the thumb not appearing in the correct place when the min and max are changed. If I had to guess, that's the result of the sequence in which things happen: 1) The input element is created, with the range 0-100. 2) Angular sees the ng-model tag, and sets the value to

[AngularJS] Angular ng-repeat with controller as syntax

2014-06-25 Thread Chris
I'm using the controller as syntax, which works great for sharing between controller directives, but I can't figure out how to do this with ng-repeat. It seems to insist that the data is a scope variable (not this) which is not what I want. div ng-controller=StudyCtrl as study

[AngularJS] Re: Angular ng-repeat with controller as syntax

2014-06-25 Thread Chris
fiddle example: http://jsfiddle.net/squirrelradio/LZEbT/ -- 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 post to this group,

Re: [AngularJS] How to prevent a page load depending on the route's resolve return values.

2014-06-16 Thread Chris Rhoden
add this to your resolves: authorized: ['auth_payload', '$q', function (auth_payload, $q) { return auth_payload.then(function (pl) { if (/* payload is valid */) { return true; } else { return $q.reject(not authorized); } })] This will cause the route change to fail if

Re: [AngularJS] AngularJs and HTML 5 history API not working

2014-06-12 Thread Chris Rhoden
Is there a reason you can't use the $location service with html5 mode enabled? On Thu, Jun 12, 2014 at 6:21 AM, hyperN nikola.mrati...@gmail.com wrote: I have problem using HTML 5 History API with Angular: Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!Watchers

Re: [AngularJS] AngularJs and HTML 5 history API not working

2014-06-12 Thread Chris Rhoden
to rewrite my routing and use Angular's, so this is solution is more convenient for me (as I plan to use this on only one page on my website) On Thursday, June 12, 2014 2:27:19 PM UTC+2, Chris Rhoden wrote: Is there a reason you can't use the $location service with html5 mode enabled? On Thu, Jun

Re: [AngularJS] AngularJs and HTML 5 history API not working

2014-06-12 Thread Chris Rhoden
:) set up a route which matched all requests - on my server side or in Angular ? On Thursday, June 12, 2014 2:46:06 PM UTC+2, Chris Rhoden wrote: I think I may be confused – when you say that you are using server-side routing, does that mean you want to trigger a new request to the server

[AngularJS] Re: ngRoute // How-to use .when()'s resolve property with a non-local controller

2014-06-10 Thread Chris Dieringer
Great, thank you, Praveen! I'll give this a shot. Thanks for the response! -- 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

[AngularJS] Redirecting certain routes to login page if user is not authenticated

2014-06-08 Thread Chris White
My Angular application talks to a REST API I've built and I'd like to only make certain routes in my application accessible to users who are logged in. At the moment, the user logs in with a username/password and the API gives them an encrypted access token. I then store that access token in

[AngularJS] ngRoute // How-to use .when()'s resolve property with a non-local controller

2014-06-07 Thread Chris Dieringer
('EntryController').loadEntryController OR ??? *###* } }) EntryController.js lives in a different folder, and is included in after app.js. How do I get access to the EntryController here? Thanks, Chris -- You received this message because you are subscribed to the Google Groups

[AngularJS] Using providers in depended modules

2014-06-04 Thread Chris Quach
on the 'foo' service and still get a unique instance per module? Thanks in advance.. Chris -- 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

[AngularJS] Re: Advice on BKM for integrating standalone lib across all controllers

2014-06-01 Thread Chris Dieringer
Hey Sander: I never responded! Apologies. Yes--makes good sense. Thank you again. -Chris -- 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

[AngularJS] Feasible to dynamically bind function to ng-click?

2014-05-27 Thread Chris Dieringer
) { ... }* } When this runs, I get an illegal invocation error. What gives? Am I not permitted to pass functions dynamically into ng-click? Thanks! Chris -- You received this message because you are subscribed to the Google Groups AngularJS group. To unsubscribe from this group and stop receiving

[AngularJS] Re: Feasible to dynamically bind function to ng-click?

2014-05-27 Thread Chris Dieringer
More specifically, the error occurs when I click the button* and the function is attempted to be executed. -- 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

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

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

2014-05-15 Thread Chris
, 2014 11:51:25 AM UTC-4, Chris Rhoden wrote: You aren't injecting $q, because your injection annotation does not include it. On Thu, May 15, 2014 at 11:46 AM, Chris squirr...@gmail.com javascript: wrote: hi all, i'm new to angularjs, trying to use $q in a controller with no luck. any

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

2014-05-15 Thread Chris Rhoden
of the module object instead of making them global, as in: angular.module('module.name', ['module.dependency']) .controller('ControllerName', ['$scope', '$q', function ($scope, $q) { ... }]) .factory( ... ); On Thu, May 15, 2014 at 12:00 PM, Chris squirrelra...@gmail.com wrote: I guess I don't

Re: [AngularJS] $timeout with 0 bad practice?

2014-05-01 Thread Chris Rhoden
The 0 isn't necessary, and using $timeout to defer some action isn't an antipattern, but the rest of your message concerns me. If you're communicating between controllers using $scope, you're doing it wrong. Make a service if two controllers need to share state. On Thu, May 1, 2014 at 4:04 PM,

[AngularJS] Re: ngGrid Resizing

2014-04-24 Thread Chris Stephens
I know this is a late reply but thought I'd post incase someone else needs to know. you need to initialize the plugin once it finishes rendering. window.setTimeout(function () { layoutPlugin.updateGridLayout(); }, 100); or use $timeout I had

[AngularJS] Advice on BKM for integrating standalone lib across all controllers

2014-03-18 Thread Chris Dieringer
Howdy people. I'm looking to build a large lib-like-object that once instantiated, has 'state' (i.e., once initialized, use that single object in all of the app). It's intentionally written as a standalone js object to be used feasibly in other projects. I'm also looking into using

  1   2   >