Switch to DuckDuckGo Search
   November 19, 2014  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | >

Toggle Join/Part | bottom
[00:00:12] *** walden is now known as walden|afk
[00:00:15] *** Sawbones has quit IRC
[00:00:38] <snurfery> any tips for troubleshooting minification problems? I thought all my code was using the minification-proof syntax, plus I have ngMin....
[00:00:42] *** beilabs has joined #angularjs
[00:00:54] *** DLSteve_ has joined #angularjs
[00:01:17] *** joroc has joined #angularjs
[00:01:19] *** bayousoft has quit IRC
[00:01:22] *** uru is now known as uru|away
[00:01:52] *** bayousoft has joined #angularjs
[00:01:57] <areologist> what kind of minificaiton problems?
[00:02:03] *** jwowwz has quit IRC
[00:02:07] *** jwowwz2 has joined #angularjs
[00:02:12] *** DLSteve has quit IRC
[00:02:19] *** BillCriswell has joined #angularjs
[00:02:22] *** nycdevgirl has joined #angularjs
[00:02:31] <snurfery> the normal "Unknown provider: aProvider <- a" with a longass traceback
[00:02:32] *** sacho has quit IRC
[00:02:32] *** nycdevgirl has quit IRC
[00:02:51] <snurfery> I know the fix, just not how to find the offending piece(s) of code
[00:03:01] <robdubya> areologist if you want all the new sexy things (annotations, etc) traceur is the way
[00:03:06] *** alinou has quit IRC
[00:03:08] *** Una has quit IRC
[00:03:17] <robdubya> if you jsut want ES6, then there's a project called 6to5 which is pretty cool too
[00:03:34] *** Makpoc has quit IRC
[00:03:49] <areologist> are you sure it's a minification issue? could be caused by many things
[00:04:05] <areologist> "all the new sexy things" sounds fun
[00:04:06] *** sacho has joined #angularjs
[00:04:07] <snurfery> yup
[00:04:19] <areologist> thanks, rubdubya.
[00:04:20] <snurfery> well actually I'll doublecheck
[00:04:23] *** seriema has quit IRC
[00:04:44] *** DrMabuse has quit IRC
[00:05:00] <Grokling> How do I grab the 'type' of an object? Some of them are 'Object' and others are my custom factory Objects like 'Foo'. Seems to show up in console as __proto__ but that's not a property I seem to be able to evaluate?
[00:05:02] *** japhar81 has quit IRC
[00:05:12] <robdubya> typeof Foo
[00:05:13] *** joaodias has quit IRC
[00:05:16] *** minimoo1 has quit IRC
[00:05:43] *** livingstn has quit IRC
[00:05:43] *** mdedetrich has quit IRC
[00:05:57] *** jeffbalboni has quit IRC
[00:06:02] <Aswebb> robdubya: Hi robdubya ! I was wondering, have u tried satellizer (auth with fb,twitter,linked) with angular ?
[00:06:05] *** Una has joined #angularjs
[00:06:17] *** mdedetrich has joined #angularjs
[00:06:23] *** BillCriswell has quit IRC
[00:06:44] <robdubya> nope, i dont think i use any of the off-the-shelf auth stuff anymore
[00:07:13] *** Joe_knock has quit IRC
[00:07:22] <Grokling> perfect. Thanks robdubya.
[00:07:23] *** bayousoft has quit IRC
[00:07:25] <areologist> I already had traceur starred on github. Looks perfect.
[00:07:46] *** TwinkleHood has quit IRC
[00:07:58] *** dman777_alter has quit IRC
[00:07:59] *** josh-k has joined #angularjs
[00:08:12] *** whitebook has joined #angularjs
[00:08:24] *** bayousoft has joined #angularjs
[00:09:18] *** tschundeee has quit IRC
[00:09:35] *** mmitchell has quit IRC
[00:09:36] *** tschundeee has joined #angularjs
[00:11:10] *** afuggini has joined #angularjs
[00:11:10] *** vassagus has quit IRC
[00:11:12] <robdubya> anybody else going to the angular meetup today?
[00:11:16] *** tomzx is now known as tomzx`afk
[00:11:18] *** MuffinMan` has quit IRC
[00:11:19] *** alexw has quit IRC
[00:11:24] *** lilbaby has joined #angularjs
[00:11:58] *** jwowwz2 has quit IRC
[00:12:08] *** ChanServ has quit IRC
[00:12:10] *** oste has quit IRC
[00:12:18] *** tschundeee has quit IRC
[00:12:23] *** zz_night-owl is now known as night-owl
[00:12:32] *** tschundeee has joined #angularjs
[00:13:01] *** jimobrien has joined #angularjs
[00:13:19] *** juanpablo_ has quit IRC
[00:13:26] *** tschundeee has quit IRC
[00:13:33] <stormbytes> Grokling I'm trying to implement what you & wafflej0ck_ suggested and i'm a little stumped.. the getBookList method is stil not working.. i'm thinking iv'e got an obvious code error somewhere but i'm not seeing it -- http://plnkr.co/edit/XG7z93oDez9tNY8ACL5Y?p=preview
[00:13:37] *** mguillech has quit IRC
[00:13:46] *** plato has quit IRC
[00:13:47] *** tschundeee has joined #angularjs
[00:13:51] *** Joe_knock has joined #angularjs
[00:14:01] <cthrax> robdubya, the one in westminster?
[00:14:05] <Grokling> stormbytes: I'll take a look for you now. This stuff isn't the easiest to get your head around to start!
[00:14:11] <icfantv> wafflej0ck_: yt?
[00:14:19] <stormbytes> ok
[00:15:13] <icfantv> cthrax: wait, are you in CO?
[00:15:14] *** ChanServ has joined #angularjs
[00:15:14] *** tepper.freenode.net sets mode: +o ChanServ
[00:15:38] <icfantv> robdubya: are you in CO as well?
[00:15:56] *** tschundeee has quit IRC
[00:15:57] *** Dead_Thinker has joined #angularjs
[00:16:01] *** soee has quit IRC
[00:16:05] *** Pluff has quit IRC
[00:16:09] *** tschundeee has joined #angularjs
[00:16:13] <Joe_knock> robdubya: Is alive? :O
[00:16:14] <stormbytes> Grokling the problem seems to be in the way that getBookList iterates through the Books array.. i think i'm missing something in how I'm referencing the variables ('instance variables') of my factory
[00:16:23] <cthrax> icfantv, indeed I am
[00:16:28] *** sonofdirt has quit IRC
[00:16:38] <Grokling> stormbytes: So, you're in a mucky kind of middle ground between the two options. You haven't really got a factory..
[00:16:51] *** Dead_Thinker has left #angularjs
[00:16:52] *** tkimmel has quit IRC
[00:17:04] <icfantv> cthrax: where? i work in broomfield
[00:17:07] <cthrax> robdubya, icfantv: It's not looking good, but if I get my work done at work I was hoping to head south.
[00:17:10] <cthrax> I'm in fort collins
[00:17:16] *** tschundeee has quit IRC
[00:17:18] <stormbytes> Grokling this about the whole factory vs. service difference?
[00:17:31] <icfantv> cthrax: ahhhh. that's a bit of a hike
[00:17:34] *** tschundeee has joined #angularjs
[00:17:35] *** forcer has left #angularjs
[00:17:49] *** tschundeee has quit IRC
[00:18:14] <Grokling> stormbytes: the factory pattern should allow you do to something like: var newBook = new Book(someJson);
[00:18:21] *** tschundeee has joined #angularjs
[00:18:36] <stormbytes> ahh
[00:18:38] <Grokling> Which would give you an Instance of a Book.
[00:18:51] <robdubya> cthrax no the one at the googleplex
[00:18:52] *** plato has joined #angularjs
[00:19:03] *** plato has joined #angularjs
[00:19:06] <stormbytes> with its own (instantiated) variables, etc
[00:19:13] *** Hippo has joined #angularjs
[00:19:18] <Grokling> You could do var allBooks = Book.getAllBooks(); That is a factory method.
[00:19:21] <Grokling> exactly.
[00:19:30] *** chrisshattuck has joined #angularjs
[00:19:34] <Hippo> If I update data in my controller will it reflect in the facoty?
[00:19:36] <stormbytes> I'd like the data to persist..
[00:19:41] <Hippo> "should" it?
[00:19:48] <stormbytes> so this.slidemanager.method()
[00:19:57] <stormbytes> as wafflej0ock_ suggested
[00:20:07] *** mike_f has joined #angularjs
[00:20:16] <stormbytes> why isn't that working in my getBookList method?
[00:20:17] <Grokling> stormbytes: have a look at my plunker again - the instances are persisted inside the Factory.
[00:20:24] <stormbytes> will do
[00:20:54] <Grokling> gadgetCache I think (without looking it up again)
[00:21:25] *** mguillech has joined #angularjs
[00:21:38] *** vlahupetar has quit IRC
[00:21:44] <Hippo> it does! yay <3
[00:21:58] *** zlalanne has quit IRC
[00:22:05] *** xxtjaxx has joined #angularjs
[00:22:13] <Grokling> Hippo: Yes, it should - you're really just passing around a reference to the same piece of memory.
[00:22:21] *** lilbaby has quit IRC
[00:22:23] *** discgo has joined #angularjs
[00:22:25] *** bayousoft has quit IRC
[00:22:28] <Hippo> Grokling: this is awesome :D
[00:22:46] <Grokling> Hippo: are you playing with that plunker too?
[00:22:57] *** larsgk has quit IRC
[00:23:05] <cthrax> icfantv, yeah, often disuades me from getting down there, particularly as the traffic gets worse on I-25
[00:23:11] *** bayousoft has joined #angularjs
[00:23:15] *** evotuned has joined #angularjs
[00:23:27] <Hippo> what plunker? nope im moving certain parts of this site to angular
[00:23:30] *** greengriminal has quit IRC
[00:23:39] <Hippo> because some things have just become so dynamic
[00:23:43] <Hippo> so much fun!
[00:24:04] *** dcherman has joined #angularjs
[00:24:16] *** Aerospark has quit IRC
[00:24:17] <Grokling> Hippo: ah. Okay. This plunker: http://plnkr.co/edit/4nCW9eun0yxwIYoi4Bqh?p=preview factories that follow the factory pattern.
[00:24:26] <stormbytes> Grokling slightly over my head.. could you explain the basic gist of what's going on in your factory?
[00:24:27] *** greengriminal has joined #angularjs
[00:24:43] <xxtjaxx> ng-app should work at any level of the html right? ie. I have ng-app declared on a div and defind angular.module("dashboard",["ngRoute"]).config([ "$routeProvider", function($routeProvider){ $routeProvider.when("/", { template:... })}]) but the html template is not injected(?) it works as far as getting the template from the server
[00:24:44] <stormbytes> i see your'e not exposing an api but rather returning a 'Gadet"
[00:24:52] <stormbytes> Gadget, sorry
[00:24:56] <Grokling> stormbytes: :-D
[00:25:02] *** tschundeee has quit IRC
[00:25:05] <Grokling> It's a brain bender, but it makes so much sense.
[00:25:10] *** dannyc has joined #angularjs
[00:25:12] *** FunnyLookinHat has quit IRC
[00:25:14] *** bradmaxs has quit IRC
[00:25:20] *** tschundeee has joined #angularjs
[00:25:23] <Grokling> So, a factory can make things. In this case Gadgets.
[00:25:34] <beckyconning_> is there a way to override just a specific part of a directive's options? for example say i wanted to just swap out the scope or template?
[00:25:39] *** baweaver has quit IRC
[00:25:43] <Grokling> We'd do that by doing "new Gadget()"
[00:25:57] <robdubya> beckyconning_ depends on which bit. scope, not so muc
[00:26:01] <robdubya> templates, yes
[00:26:03] *** woebtz has joined #angularjs
[00:26:17] <Grokling> That would run the Gadget function that we're returning from the factory.
[00:26:37] <Grokling> In this case, that also runs the init function internally which populates some values of the Gadget.
[00:26:56] <Grokling> So, we get a Gadget with some values.
[00:27:13] *** a3gis has joined #angularjs
[00:27:31] <Grokling> BUT, we also get the benefit of a Gadget being able to now come with it's own methods. Like 'save' or 'addWidget'.
[00:27:40] <beckyconning_> robdubya: hmm~ i'm basically i'm trying to add a single attribute to a directive with as little copying and pasting of the entire directive and related directives...
[00:27:52] <icfantv> cthrax: yea, gotta get that lightrail done...
[00:27:55] <robdubya> why not just use it optionally
[00:28:05] <icfantv> robdubya: are you in CO as well?
[00:28:09] <beckyconning_> ?
[00:28:12] <robdubya> no, SF
[00:28:51] <icfantv> robdubya: ahhh. and there's a meet up there as well i take it
[00:29:09] *** tbo_ has quit IRC
[00:29:15] <lebster> snurfery: finally got ui select to work... i had to include ngSanitize lol
[00:29:25] <snurfery> yeah
[00:29:32] *** dannyc has quit IRC
[00:29:34] <robdubya> icfantv yessir, at teh googleplex
[00:29:57] <beckyconning_> part of the problem is that i want to change this: https://github.com/driftyco/ionic/blob/master/js/angular/directive/tabNav.js but its related to https://github.com/driftyco/ionic/blob/master/js/angular/directive/tab.js and https://github.com/driftyco/ionic/blob/master/js/angular/directive/tabs.js
[00:30:08] <snurfery> same thing happened to me, except for some reason most places cant find the 1.2.x versions of ngSanitize
[00:30:12] *** ClarusCogitatio has quit IRC
[00:30:14] *** bkuberek_ has joined #angularjs
[00:30:21] <snurfery> like google cdn doesn't have em, bower doesn't have em, etc
[00:30:33] <snurfery> even though they exist. had to manually grab it
[00:30:51] <lebster> hmmm im using 1.3.1
[00:30:53] *** BlinkyBill has joined #angularjs
[00:31:07] *** rosieres has quit IRC
[00:31:10] <snurfery> yeah works fine with 1.3.x
[00:31:21] *** minimoo1 has joined #angularjs
[00:31:41] *** bmac has quit IRC
[00:31:47] *** ClarusCogitatio has joined #angularjs
[00:32:32] *** RobinBAwesome_ has joined #angularjs
[00:32:52] *** eamonn has joined #angularjs
[00:32:54] *** AtomicCookie has quit IRC
[00:33:02] *** bkuberek has quit IRC
[00:33:38] *** RobinBAwesome has quit IRC
[00:33:39] *** RobinBAwesome_ is now known as RobinBAwesome
[00:34:06] <BlinkyBill> When defining a template in a directive, how do I get it to use a dom element? I've tried the element's ID, but no juice. my template is defined inside this dom node <script type="text/ng-template" id="showUrl.html">
[00:34:10] *** busticated has quit IRC
[00:34:22] *** phuh has quit IRC
[00:34:47] *** phuh has joined #angularjs
[00:34:55] *** joroc has quit IRC
[00:35:09] *** danielmahon has quit IRC
[00:35:33] <icfantv> robdubya: aw man….that sounds both glorious and somewhat terrifying
[00:35:42] *** Geertje123_ has quit IRC
[00:35:46] <robdubya> icfantv iknorite
[00:35:51] <BlinkyBill> *forehead slap*. TemplateUrl does it. Carry on.
[00:36:27] *** elrabin_ has joined #angularjs
[00:36:43] *** annlewis has quit IRC
[00:36:45] *** boxmein has quit IRC
[00:37:28] *** ClarusCogitatio has quit IRC
[00:37:29] *** bayousoft has quit IRC
[00:37:41] *** mguillech has quit IRC
[00:37:58] *** eamonn has quit IRC
[00:38:18] *** phazei has joined #angularjs
[00:38:21] *** bayousoft has joined #angularjs
[00:38:41] *** ClarusCogitatio has joined #angularjs
[00:38:53] *** baweaver has joined #angularjs
[00:39:25] *** dnakov has joined #angularjs
[00:39:25] <phazei> I'm a bit new to angular, had a quick question. On this page: http://www.jvandemo.com/how-to-resolve-angularjs-resources-with-ui-router/ In resolve they resolve customersResource: 'customersResource'. Is that not redundent, or uneeded?
[00:39:38] *** mguillech has joined #angularjs
[00:39:52] *** elrabin has quit IRC
[00:40:07] <phazei> They use di for customerResource in the next line for resolving "customer", but that will resolve on it's own anyway.
[00:40:09] *** thedodd has quit IRC
[00:40:23] *** shannonlucas has quit IRC
[00:40:32] <phazei> So is there any particular use or benefit of putting it there when it'll simply be DI anyway?
[00:40:46] *** elrabin_ has quit IRC
[00:41:27] <wafflej0ck_> phazei: no because the one on the left is the property and the name of the injectable argument for the controller using this resolve definition, the part on the right is saying what value to assign to that property
[00:41:56] <wafflej0ck_> the multiple lines they show in the resolve are just for the sake of example though
[00:42:33] *** mary5030 has quit IRC
[00:42:34] *** crakrjak has joined #angularjs
[00:43:08] *** ClarusCogitatio has quit IRC
[00:43:23] *** doodlehaus has joined #angularjs
[00:43:50] *** patrick99e99 has joined #angularjs
[00:43:58] *** baweaver has quit IRC
[00:44:10] *** qdk_ has joined #angularjs
[00:44:24] *** dnakov has quit IRC
[00:44:38] *** shackleford has quit IRC
[00:44:45] *** dcherman has quit IRC
[00:44:55] <phazei> ok, that's what I thought. As a secondary question, since the resolve items set items that can be DI into the controller, if there's a conflict between the key of something in resolve, and some other item, does the key in resolve take precedence for the DI?
[00:45:01] *** jangid has joined #angularjs
[00:45:28] *** ClarusCogitatio has joined #angularjs
[00:45:36] *** subtone100 has quit IRC
[00:45:46] <ctanga> I think it’s redundant
[00:46:34] *** baweaver has joined #angularjs
[00:47:00] *** dhcar is now known as dhcar_AFK
[00:47:07] <ctanga> I don’t understand why they allow you to resolve a service by name like that
[00:47:32] <ctanga> makes no sense to me, since all the places you can inject a resolve, you can just inject the service by name
[00:47:39] <wafflej0ck_> ctanga: well I suppose for this particular example it is redundant but in general property on the left is injected for whatever happens on the right
[00:48:09] <ctanga> yes, but ui-router docs state the right-hand-side is… factory - {string|function}: If string then it is alias for service. Otherwise if function, it is injected and return value it treated as dependency. If result is a promise, it is resolved before its value is injected into controller.
[00:48:19] <ctanga> if string, then it’s an alias for a service. what’s the point?
[00:48:31] <wafflej0ck_> to add confusion
[00:48:33] <ctanga> you can alias your service to some other DI name? whoop-de-doo
[00:48:37] <ctanga> yeah.
[00:48:37] <wafflej0ck_> variety is the spice of life
[00:48:39] <wafflej0ck_> haha
[00:48:40] <ctanga> heh
[00:49:04] <ctanga> I should take that out of the docs
[00:49:24] <ctanga> that feature is before my time
[00:49:32] *** Aerospark has joined #angularjs
[00:49:56] <ctanga> i updated the docs for .state() it’s much nicer now: http://angular-ui.github.io/ui-router/site/#/api/ui.router.state.$stateProvider#methods_state
[00:50:25] <areologist> anyone used angular-route-segment in production?
[00:50:47] <areologist> I wonder about its performance characteristics, for one thing
[00:51:32] <areologist> I don't need to state the obvious by saying the vanilla routing in angular is too limited
[00:52:05] *** Fishy has joined #angularjs
[00:52:20] <monokrome> Hmm... Does transclusion require isolate scope?
[00:52:30] *** bayousoft has quit IRC
[00:52:32] *** marcjs has quit IRC
[00:52:42] *** marcjs has joined #angularjs
[00:52:57] *** crakrjak has quit IRC
[00:52:59] <ctanga> we use ui-router in production
[00:53:01] *** bayousoft has joined #angularjs
[00:53:12] <ctanga> it’s ok.
[00:53:35] *** disorder20 has quit IRC
[00:53:36] <TheAceOfHearts> so… for SEO, should I redirect trailing slash to no trailing slash, or vice-versa?
[00:53:55] *** shennyg____ has left #angularjs
[00:53:59] <ctanga> no idear.
[00:54:03] <TheAceOfHearts> fucking SEO bs
[00:54:10] <ctanga> indeed.
[00:54:18] <ctanga> what a crock of ship
[00:54:20] *** annlewis has joined #angularjs
[00:54:38] *** shennyg has joined #angularjs
[00:54:42] *** doodlehaus has quit IRC
[00:55:57] *** mmealling has joined #angularjs
[00:56:14] *** dfgbsf has joined #angularjs
[00:56:16] *** mguillech has quit IRC
[00:58:13] *** mguillech has joined #angularjs
[00:58:58] *** Aerospark has quit IRC
[00:59:25] *** asheinfeld has quit IRC
[01:00:25] *** oniMaker has left #angularjs
[01:00:30] *** oniMaker has joined #angularjs
[01:00:58] <oniMaker> TheAceOfHearts: try ##seo
[01:01:17] *** joroc has joined #angularjs
[01:01:18] *** jheady has joined #angularjs
[01:01:25] *** Aswebb has quit IRC
[01:01:57] *** Aerospark has joined #angularjs
[01:02:24] <TheAceOfHearts> alright, ty
[01:02:35] *** slopjong has quit IRC
[01:02:43] *** eamonn has joined #angularjs
[01:03:03] *** stormbytes has quit IRC
[01:03:43] *** italoacasas has joined #angularjs
[01:04:10] *** macabre has quit IRC
[01:04:15] <areologist> monokrome: don't think so
[01:04:42] *** minimoo1 has quit IRC
[01:04:43] *** italoacasas has quit IRC
[01:05:30] *** dfgbsf has quit IRC
[01:05:34] *** a3gis has quit IRC
[01:05:37] *** enigmarm has quit IRC
[01:05:41] <ctanga> what processes do ya’ll use to manage schema updates and data migration?
[01:05:44] *** ps has joined #angularjs
[01:06:04] *** subr0utine has joined #angularjs
[01:06:06] *** ps is now known as Guest29869
[01:06:10] <areologist> monokrome: what are you trying to do?
[01:06:20] *** fairuz1 has quit IRC
[01:06:22] *** adpirz has joined #angularjs
[01:06:38] *** Guest29869 is now known as p_s
[01:06:41] <areologist> don't have a single process for each DB type, sad to say
[01:06:42] <xxtjaxx> An I missing something? I declared a module api with a factory and a module named dashboard depending on angular.module(["api"]).config(/* ... */). and in the controller I include the factory dashboard.controller("dashboardCtrl",["$scope", "browsers", function($scope, browsers){ }])
[01:06:47] *** Aerospar_ has joined #angularjs
[01:06:48] *** mguillech has quit IRC
[01:06:48] <xxtjaxx> this should work right?
[01:06:53] *** simiographics has quit IRC
[01:06:56] *** conner__ has joined #angularjs
[01:07:10] <ctanga> xxtjaxx: nope. angular.module(“api”) if you already defined it somewhere
[01:07:19] *** Aerospark has quit IRC
[01:07:30] <ctanga> angular.module(“api”, [ “ng”, “othermoduledep”]) declares a module
[01:07:37] <ctanga> angular.module(“api”) gets a previously declared module
[01:07:39] <xxtjaxx> yup thats what I ded
[01:08:08] <areologist> ctanga, have some sql server dbs in azure that are maintained with source control and decent staging and automation
[01:08:12] <ctanga> that’s not what you pasted though
[01:08:15] <areologist> version control, i should say
[01:08:19] <ctanga> angular.module([“api”]) is invalid
[01:08:34] *** dhcar_AFK is now known as dhcar
[01:08:43] <xxtjaxx> brainfarted while typing, my bad m(
[01:08:46] <ctanga> ah
[01:09:16] *** p_s has left #angularjs
[01:09:24] *** mjs2600 has quit IRC
[01:09:42] <ctanga> we use a series of DDL and data scripts that migrate the database from one minor rev to the next
[01:09:50] *** conner_ has quit IRC
[01:09:59] *** mccarrontr1ck has quit IRC
[01:10:04] *** mmitchell has joined #angularjs
[01:10:04] <ctanga> we have a stored proc that selectively runs the ddl/data scripts depending on the run-log stored in a special table
[01:10:12] *** richiebkr has quit IRC
[01:10:23] <ctanga> so we can incrementally bump up from an arbitrary schema version to any future version
[01:10:43] *** jheady has left #angularjs
[01:10:49] <ctanga> it gets tricky, however, when we support a whole bunch of past versions deployed to customers, and patch them
[01:11:18] *** richiebkr has joined #angularjs
[01:11:22] *** conner__ has quit IRC
[01:11:31] *** vassagus has joined #angularjs
[01:11:32] *** adpirz has quit IRC
[01:11:59] <ctanga> xxtjaxx: angular.module(“api”, [“ng”]).factory(“browsers”, function() { return {}; }).controller(“dashboardCtrl”, [ “$scope”, “browsers”, function($scope, browsers) {});
[01:12:53] *** garbanzio has quit IRC
[01:13:01] <ctanga> xxtjaxx: alternative: var app = angular.module(“api”, [“ng”]); app.factory(“browsers”, function() { return {}; }); app.controller(“dashboardCtrl”, [ “$scope”, “browsers”, function($scope, browsers) {});
[01:13:02] *** renlo has quit IRC
[01:13:29] <MistahKurtz> Need to write a directive that wraps a few different form inputs...would it be good practice to require ng-model, so I can do <my-directive ng-model="foo" /> or should I just do <my-directive my-directive-value="foo" />
[01:13:39] <xxtjaxx> ctanga: Thanks!
[01:14:36] *** renlo has joined #angularjs
[01:14:58] *** UniBot1 has joined #angularjs
[01:15:14] *** juanpablo_ has joined #angularjs
[01:15:16] <areologist> MK: I would do ngModel, particularly if you mean to support two-way binding
[01:15:29] *** mmitchell has quit IRC
[01:15:31] *** tomzx`afk is now known as tomzx
[01:15:43] *** UniBot1 has quit IRC
[01:16:19] *** p_s has joined #angularjs
[01:16:23] *** annlewis has quit IRC
[01:16:27] <areologist> basically, I'd try to provide interaction with my directive that is intuitive based on how one interacts with the built-in form directives
[01:16:46] *** vassagus has quit IRC
[01:17:25] <ctanga> require: “ngModel” gives you some other capabilities that you may or may not need
[01:17:43] <ctanga> you make hooks for ‘view updated’ ‘model updated’ etc
[01:17:52] *** cactauz has quit IRC
[01:17:54] *** drult has joined #angularjs
[01:18:00] <ctanga> you can do things like delay setting the model value until a user clicks an ‘apply’ widget, or whatevs
[01:18:20] <ctanga> I use this when creating a date picker
[01:18:54] <ctanga> it can also be used when your model doesn’t necessarily map directly to the view representation
[01:19:20] <ctanga> model changed to “NE”, view representation changes to “Nebraska”
[01:19:34] *** bayousoft has quit IRC
[01:19:35] *** asher^ has joined #angularjs
[01:19:59] *** juanpablo_ has quit IRC
[01:20:20] *** tech2_ has quit IRC
[01:20:26] *** bayousoft has joined #angularjs
[01:20:32] <shennyg> Hello. I've got a view1 and it has a print button, it changes to view2 and works fine. What I'd like to do is turn view2 into a popup window. I'd prefer if it wasn't a angular app. Is there a way to take the results of the rendered view2 and turn it into a string and then use var popup = window.open(); popup.document.write(renderedView2Html) ?
[01:20:32] *** bmac has joined #angularjs
[01:20:47] *** jlmitch5dev has joined #angularjs
[01:20:48] *** brianthecoder has quit IRC
[01:21:02] <areologist> This is weird: "How Google broke the OSS compact with Angular 2.0" http://codebetter.com/johnvpetersen/
[01:21:03] *** mmealling has quit IRC
[01:21:24] *** tschundeee has quit IRC
[01:21:40] *** jangid has quit IRC
[01:21:48] <snurfery> I'm trying to make an $http interceptor that catches 401's and deletes their token/session and the default headers sent with $http/Restangular
[01:21:51] <wafflej0ck_> shennyg: you sould reconsider the pop up many browsers will block this
[01:21:57] <snurfery> but thats causing a circular import
[01:22:00] *** tschundeee has joined #angularjs
[01:22:07] <shennyg> wafflej0ck_: even on ng-click?
[01:22:23] <ctanga> shennyg: you can probably fall back to jquery if thats what you want to do
[01:22:46] <wafflej0ck_> shennyg: shouldn't be a problem since it's responding to a click event (user started) but have seen some complaints about it recently (may have been doing it in response to $http or something though dunno)
[01:22:46] *** drult has quit IRC
[01:22:56] <shennyg> I thought as long as the window.open was triggered by a user action browsers wouldn't block the popup.
[01:23:02] *** gunn has quit IRC
[01:23:03] <ctanga> snurfery: wanna do it wrong? just inject $injector into your interceptor and .get() your deps there
[01:23:16] <snurfery> tried that =(
[01:23:16] <shennyg> wafflej0ck_: gotcha. thanks for the input.
[01:23:21] <ctanga> snurfery: that’s what I did :)
[01:23:38] <snurfery> lemme try that again, maybe I didnt push the changes
[01:23:50] <shennyg> ctanga: that was my option2, fall back to jresig's micro-templating.
[01:23:55] <shennyg> thank you.
[01:24:22] *** simiographics has joined #angularjs
[01:25:51] <snurfery> I've been prepping my project for deploy to an outside server for the first time in 6 months... this whole angular app has never run outside my laptop
[01:25:59] <ctanga> hah
[01:25:59] <snurfery> but goddamn there's a lotta stuff to mess with
[01:26:06] *** nuizzy has quit IRC
[01:26:17] *** p_s has quit IRC
[01:26:34] <wafflej0ck_> shennyg: not sure why you need/want the pop-up window (feel they have a negative connotation) but you may want to check out ngDialog too it seems pretty feature rich
[01:26:40] *** danecando has joined #angularjs
[01:26:45] *** tschundeee has quit IRC
[01:27:17] *** woah has joined #angularjs
[01:27:34] <shennyg> wafflej0ck_: the end goal is to have a simple html page that is printable. I've had trouble printing angular apps.
[01:27:39] *** Fishy has quit IRC
[01:27:41] <wafflej0ck_> shennyg: also I threw this together recently and has a sort of draggable pop-up window incorporated into it (just used the angular example for dragging) https://github.com/shusain/itDebugPanel
[01:27:56] <wafflej0ck_> shennyg: strange i haven't really encountered any print issues
[01:28:24] <wafflej0ck_> shennyg: I don't focus on it a lot but like to use CSS media queries for print to show/hide things and typically it works out fine, what problems you run int?
[01:28:26] <wafflej0ck_> into*
[01:28:31] <shennyg> wafflej0ck_: just in chrome. I'd get a print preview failed.
[01:28:37] *** bayousoft has quit IRC
[01:28:44] <jlmitch5dev> wafflej0ck_: that's sweet!
[01:28:44] <wafflej0ck_> hmmm weird
[01:28:57] *** h-darklow has quit IRC
[01:29:08] <wafflej0ck_> jlmitch5dev: cool glad you like it, play with it let me know if it's useful or what would be more useful in it
[01:29:10] <areologist> ngDialog says their dist is 2kb, but look at the minified .js and .css; it's more like 7 kb, or 9-10 kb with theme
[01:29:27] *** josh3336 has quit IRC
[01:29:28] *** bayousoft has joined #angularjs
[01:29:35] <areologist> unless i'm smoking something
[01:29:35] <shennyg> yes wafflej0ck_ very cool.
[01:30:24] *** alexw has joined #angularjs
[01:30:54] <jlmitch5dev> starred and bookbarked, wafflej0ck, will let you know if I end up coming with any interesting ideas
[01:30:56] *** RobinBAwesome has quit IRC
[01:31:04] <wafflej0ck_> cool
[01:31:44] *** Zesty has joined #angularjs
[01:32:14] <shennyg> here is a example where I'm getting 'Print preview failed' http://gel-walmart-bulb-finder-widget.s3-website-us-west-2.amazonaws.com/#/product/00204/direct (you will need to load the page then refresh to actually get the view rendering - deep linking isn't yet setup)
[01:32:38] <shennyg> it's Chrome only.
[01:33:12] *** herzi has quit IRC
[01:33:29] *** brennon_ has joined #angularjs
[01:34:09] *** RobinBAwesome has joined #angularjs
[01:34:23] *** MistahKurtz has quit IRC
[01:34:23] *** phuh has quit IRC
[01:34:49] *** phuh has joined #angularjs
[01:35:10] *** marcjs has quit IRC
[01:35:13] *** mmealling has joined #angularjs
[01:35:32] *** MistahKurtz has joined #angularjs
[01:35:47] <wafflej0ck_> shennyg: weird wonder if it has something to do with ionic or flexbox or something
[01:35:49] *** gunn has joined #angularjs
[01:35:50] *** k-dawg has joined #angularjs
[01:36:03] <wafflej0ck_> shennyg: I don't typically use either of those so could be that
[01:36:14] *** icfantv has quit IRC
[01:36:20] <shennyg> aha. good idea. ionic is supposed to be mobile only - that could be the issue.
[01:36:39] <shennyg> thanks for all your input wafflej0ck_ !!
[01:36:42] *** Zesty has quit IRC
[01:36:47] *** TuRnaD0 has quit IRC
[01:36:58] <wafflej0ck_> shennyg: np also just deleted the ionic node in the chrome inspector and print preview works
[01:37:13] <wafflej0ck_> also deleted the cordova.js node and some others but don't think they matter
[01:37:23] <wafflej0ck_> those probably already ran
[01:37:49] *** bmac has quit IRC
[01:38:12] <areologist> peace, ppl
[01:38:24] *** areologist has left #angularjs
[01:39:03] *** enaqx has joined #angularjs
[01:39:08] *** artisangoose has quit IRC
[01:39:52] <shennyg> wafflej0ck_: you mean the ionic.css - nice find, yes that fixes it. thank you.
[01:39:58] *** conan_the_destro has quit IRC
[01:40:17] <wafflej0ck_> yup de nada good to know just gotta store that in the ol' brain somewhere :)
[01:40:37] <wafflej0ck_> till there's a bugfix then gotta take that out of the ol' brain
[01:40:42] <shennyg> I was thinking it was a JS issue not a css issue. thx!!
[01:40:48] <wafflej0ck_> damn you progress!!! :)
[01:41:20] *** nycdevgirl has joined #angularjs
[01:41:28] *** jlmitch5dev has quit IRC
[01:41:29] *** evert0n has joined #angularjs
[01:43:03] *** oste has joined #angularjs
[01:43:13] *** longneckbeard has joined #angularjs
[01:43:38] *** nycdevgirl has quit IRC
[01:44:37] *** doug64k has quit IRC
[01:44:44] *** s3shs has quit IRC
[01:45:01] *** mjs2600 has joined #angularjs
[01:45:04] *** qdk_ is now known as qdk
[01:45:07] *** rtpg has joined #angularjs
[01:45:37] *** ClarusCogitatio has quit IRC
[01:46:59] *** p_s has joined #angularjs
[01:47:15] *** annlewis has joined #angularjs
[01:47:41] *** p_s has quit IRC
[01:48:08] <snurfery> debugging some wacky-ass issue with ngLocale and angular not catching a damn error it's supposed to, anyone dealt with this?
[01:48:20] *** trend has quit IRC
[01:48:39] *** annlewis has quit IRC
[01:48:41] *** p_s has joined #angularjs
[01:49:01] *** annlewis has joined #angularjs
[01:49:04] *** chrisshattuck has quit IRC
[01:49:11] *** trend has joined #angularjs
[01:49:14] *** anjumkaiser1 has quit IRC
[01:49:31] *** phzon has joined #angularjs
[01:49:32] <sacho> sure
[01:49:42] *** bayousoft has quit IRC
[01:49:44] <ctanga> just ignore it
[01:49:46] <ctanga> that’s what I do
[01:49:48] *** p_s has quit IRC
[01:49:57] *** SpotSec has joined #angularjs
[01:50:23] *** ClarusCogitatio has joined #angularjs
[01:50:31] <snurfery> there's a try/catch in angular's source... but it's not getting caught, the error is bubbling up and preventing the app from continuing
[01:50:34] <snurfery> super annoying
[01:50:38] *** bayousoft has joined #angularjs
[01:51:10] *** richiebkr has quit IRC
[01:51:55] *** krawek has quit IRC
[01:51:58] *** tschundeee has joined #angularjs
[01:52:13] *** darrin has joined #angularjs
[01:53:15] *** stormbytes has joined #angularjs
[01:53:18] *** ASUchander1 has joined #angularjs
[01:53:31] *** webtroll has joined #angularjs
[01:53:40] *** annlewis has quit IRC
[01:53:40] *** ASUChander has quit IRC
[01:53:43] *** bayousoft has quit IRC
[01:54:02] *** phzon has quit IRC
[01:54:28] *** bayousoft has joined #angularjs
[01:54:37] *** ClarusCogitatio has quit IRC
[01:55:42] *** richardlitt has quit IRC
[01:56:41] *** Guest60253 has joined #angularjs
[01:56:58] *** rchavik has joined #angularjs
[01:57:05] *** RobinBAwesome has quit IRC
[01:57:29] *** doug64k has joined #angularjs
[01:57:59] *** discgo has quit IRC
[01:58:03] *** Guest13630 has quit IRC
[01:58:49] *** baweaver has quit IRC
[01:59:07] *** nesquerra has joined #angularjs
[01:59:36] *** RobinBAwesome has joined #angularjs
[01:59:41] *** mchapman has quit IRC
[02:00:25] *** codeman has joined #angularjs
[02:00:30] *** whunt has quit IRC
[02:01:13] *** minimoo1 has joined #angularjs
[02:01:24] *** whunt has joined #angularjs
[02:01:42] *** josh-k has quit IRC
[02:02:28] *** bmac has joined #angularjs
[02:03:24] *** mguillech has joined #angularjs
[02:03:51] *** phzon has joined #angularjs
[02:04:29] *** crakrjak has joined #angularjs
[02:04:46] *** nesquerra has quit IRC
[02:05:10] *** rud has quit IRC
[02:05:15] *** Guest60253 has quit IRC
[02:05:28] *** tkimmel has joined #angularjs
[02:05:34] *** nesquerra has joined #angularjs
[02:05:38] *** joroc has quit IRC
[02:05:58] *** jkatsnelson____ is now known as jkatsnelson
[02:05:59] *** junmin has quit IRC
[02:06:01] *** nairys has quit IRC
[02:06:57] *** hotnikks_ has joined #angularjs
[02:07:38] *** fedenunez has joined #angularjs
[02:07:45] *** motionman has joined #angularjs
[02:07:52] *** simiographics has quit IRC
[02:07:53] *** nairys has joined #angularjs
[02:08:04] <hotnikks_> how can i prevent an ng-repeat from executing until 'bar' has values (e.g., <tr ng-repeat="foo in bar">)? im noticing upon view load that angular is trying to pull an image from the server from within that tr/ng-repeat loop
[02:08:37] *** crakrjak has quit IRC
[02:08:42] <snurfery> what's your img tag look like?
[02:08:42] *** mguillech has quit IRC
[02:08:44] <hotnikks_> the loop has something like: "<td><img src="img/{{foo.value}}.png">
[02:08:48] <snurfery> use ng-src
[02:08:51] <hotnikks_> should i be using ng-src
[02:08:51] <hotnikks_> k
[02:09:04] <hotnikks_> thanks
[02:09:11] <snurfery> np
[02:09:13] *** Aerospar_ has quit IRC
[02:09:15] *** {DV8} has joined #angularjs
[02:09:18] *** Joe_knock has left #angularjs
[02:09:41] *** longneckbeard has quit IRC
[02:09:42] *** Foxandxss has quit IRC
[02:09:44] *** whitebook has quit IRC
[02:09:45] *** tylerdmace has joined #angularjs
[02:09:49] *** jimobrien has quit IRC
[02:09:52] *** tkimmel has quit IRC
[02:09:58] *** frankbli_ has quit IRC
[02:10:30] *** frankblizzar has joined #angularjs
[02:10:31] *** Fire-Dragon-DoL has quit IRC
[02:11:24] *** dc_ has joined #angularjs
[02:11:31] *** mmitchell has joined #angularjs
[02:11:37] *** busticated has joined #angularjs
[02:12:57] *** snapwich has quit IRC
[02:13:06] *** jheady has joined #angularjs
[02:13:09] *** AimerPaddle has quit IRC
[02:13:55] *** AciD`` has quit IRC
[02:14:09] *** dannyc has joined #angularjs
[02:14:14] *** jeffscottward has joined #angularjs
[02:14:23] <snurfery> ahhhh finally got it fixed... had to manually include an ngLocale definition or else angular flipped out
[02:14:42] *** jheady has left #angularjs
[02:14:46] *** tylerdmace has quit IRC
[02:14:50] *** jangid has joined #angularjs
[02:14:50] *** frankblizzar has quit IRC
[02:15:33] *** evert0n has quit IRC
[02:15:40] *** jeremymarc has quit IRC
[02:15:55] *** ome has joined #angularjs
[02:15:59] *** nesquerra has quit IRC
[02:16:22] *** mmitchell has quit IRC
[02:16:57] *** Aerospark has joined #angularjs
[02:17:52] *** shinnya has quit IRC
[02:18:12] *** lukegb has quit IRC
[02:18:19] *** themime has joined #angularjs
[02:18:26] *** dannyc has quit IRC
[02:20:43] <hotnikks_> do people typically prefer a consolidated routePRovider config or do they spread them out within each component? e.g., do you agree with how angular-seed puts one in view1/view1.js and another in view2/view2.js? i typically see one big route file
[02:21:06] <themime> i like john papa's of having a feature.route.js
[02:21:19] <hotnikks_> john papa
[02:21:20] <hotnikks_> ?
[02:21:23] <themime> im using gulp to concat to a single js file, my html templates for ui-router are sprinkled throughout ala by-feature, how does my final main.js reference those templates? do i need to build it from the start to just look in a templates folder in dist/release?
[02:21:28] <themime> hotnikks_: getting a link fory ou one sec
[02:21:39] <themime> hotnikks_: also /highly/ recommend ui-router
[02:21:41] <hotnikks_> thc
[02:21:57] <themime> hotnikks_: https://github.com/johnpapa/angularjs-styleguide#application-structure-lift-principle
[02:22:00] <hotnikks_> yeah we use that in our main project. i'm just following some tutorials now
[02:22:07] <hotnikks_> cool
[02:22:12] *** whunt has quit IRC
[02:22:48] *** james has joined #angularjs
[02:22:57] *** brennon_ has quit IRC
[02:22:57] *** james has quit IRC
[02:23:01] *** JosephSilber has joined #angularjs
[02:23:21] *** baweaver has joined #angularjs
[02:23:31] *** edrocks_ has joined #angularjs
[02:24:25] *** TheAceOfHearts has quit IRC
[02:24:29] <oste> how should i pass a window.var into $scope?
[02:24:33] *** annlewis has joined #angularjs
[02:24:35] *** woah has quit IRC
[02:24:46] <oste> i should say “all scopes”
[02:25:53] <ctanga> oste: is it coming from some outside code or something?
[02:26:02] *** annlewis has quit IRC
[02:26:06] <themime> if you /must/ like patching from some external hack lib, i wrap a service around it
[02:26:12] *** whunt has joined #angularjs
[02:26:18] <JonathanNeal> A few of us are starting work on Element Queries. Your thoughts, concerns, questions, and feedback are most desired. https://github.com/ResponsiveImagesCG/eq-demos if anyone knows of or is interested in building an element query solution in Angular, I’d love to hear about it.
[02:26:22] *** annlewis has joined #angularjs
[02:26:46] <themime> oste: and only have a single entry point - and if i can i wrap the external code in a object like ExternalLib.start() or getReference() or something thats relevant
[02:27:04] <themime> JonathanNeal: can you elaborate what that is?
[02:27:08] <ctanga> angular.module(“mymodule”).value(“InjectableValue”, window.variable); then it can be injected anywhere like .controller(function(InjectableValue) { });
[02:27:19] <themime> JonathanNeal: nm im reading the site haha
[02:27:22] *** robdubya has quit IRC
[02:27:33] <themime> ctanga: is that an angular constant?
[02:27:40] <ctanga> themime: yes
[02:27:51] <themime> ctanga: hm that looks like something i need to start using
[02:27:51] <oste> that looks useful
[02:27:54] <JonathanNeal> I built a demo using Hitch, but this seems like the stuff of Angular, as long as there is some kind of CSS parser or similar means of styling it.
[02:28:01] <themime> oste: yea ignore what i said, do what ctanga said haha
[02:28:03] <JonathanNeal> ^ themime
[02:28:17] <ctanga> see docs here https://docs.angularjs.org/api/ng/type/angular.Module
[02:28:30] <ctanga> here rather https://docs.angularjs.org/api/auto/service/$provide#value
[02:28:30] <themime> oste: you still might want to wrap it in a service though
[02:28:31] *** subtone100 has joined #angularjs
[02:28:37] *** brennon_ has joined #angularjs
[02:29:02] <ctanga> Value services are similar to constant services, except that they cannot be injected into a module configuration function (see angular.Module) but they can be overridden by an Angular decorator.
[02:29:06] *** jangid has quit IRC
[02:29:28] *** say2joe has joined #angularjs
[02:29:31] <themime> hm decorator is also something i need to investigate too. still using console.log >.>
[02:29:37] <oste> perhaps - that looks like the most simple provider
[02:30:08] <ctanga> I use decorator extensively in ui-router-extras to make ui-router behave differently
[02:30:14] *** bmac has quit IRC
[02:30:20] *** rtpg has quit IRC
[02:30:31] <ctanga> I add hooks which execute before I invoke the standard ui-router apis
[02:30:41] *** fairuz has joined #angularjs
[02:30:52] *** annlewis has quit IRC
[02:31:08] *** cannap has quit IRC
[02:31:17] *** joroc has joined #angularjs
[02:31:33] *** Oxynum has joined #angularjs
[02:31:35] <themime> this is kinda random but something ive been trying to figure out is a best practice for where to stash a factory for shared data between just a single page - like a header+content
[02:31:53] *** Oxynum has quit IRC
[02:32:14] <themime> if im going by-feature would it be weird to have that service in the feature folder?
[02:32:23] <ctanga> not weird
[02:32:40] *** subtone100 has quit IRC
[02:32:44] *** RobinBAwesome_ has joined #angularjs
[02:32:47] <ctanga> you could put it on parentstate.data if you’re using ui-router
[02:32:56] <ctanga> depends how you structure your app
[02:33:01] *** whitebook has joined #angularjs
[02:33:16] *** RobinBAwesome has quit IRC
[02:33:16] *** RobinBAwesome_ is now known as RobinBAwesome
[02:33:22] *** raibutera has joined #angularjs
[02:33:32] *** alexw has quit IRC
[02:33:37] *** morenoh149 has quit IRC
[02:34:27] *** phuh has quit IRC
[02:34:44] *** minimoo1 has quit IRC
[02:34:50] *** phuh has joined #angularjs
[02:35:09] *** alexw has joined #angularjs
[02:35:14] *** hiattp_ has joined #angularjs
[02:35:27] *** rtpg has joined #angularjs
[02:35:34] *** subr0utine has quit IRC
[02:36:10] *** rtpg has quit IRC
[02:36:31] *** ethlor has quit IRC
[02:36:45] *** eamonn has quit IRC
[02:37:47] *** AWAW has joined #angularjs
[02:37:51] *** iinzg has quit IRC
[02:38:10] *** brennon_ has quit IRC
[02:39:02] *** marr has quit IRC
[02:39:06] *** RedOrangeZ has quit IRC
[02:39:41] *** startupality has quit IRC
[02:40:25] *** rburns has joined #angularjs
[02:40:54] *** DoubleAW has quit IRC
[02:40:55] *** philryan has joined #angularjs
[02:40:59] *** SergioFilhow__ has joined #angularjs
[02:41:14] <philryan> anyone know what
[02:41:19] <philryan> s up with the tutorial?
[02:41:21] *** renlo has quit IRC
[02:41:23] *** rho has quit IRC
[02:41:29] <philryan> the bower_components folder doesn't get installed
[02:41:45] <hotnikks_> have you run bower install?
[02:41:50] <hotnikks_> which tutorial do you mean?
[02:41:55] <philryan> npm install -g bower
[02:41:56] <hotnikks_> or an npm install (that calls bower install)?
[02:42:09] *** SergioFilhow_ has quit IRC
[02:42:10] <hotnikks_> no, i mean "bower install" (after that)
[02:42:12] <philryan> the angular_phonecat
[02:42:14] <hotnikks_> it downloads ish into bower_components/
[02:42:35] *** vbabiy has quit IRC
[02:43:11] <philryan> no it didn;t
[02:43:12] *** jangid has joined #angularjs
[02:43:13] *** k-dawg has quit IRC
[02:43:37] <philryan> thanks, btw for answering... it just bugs me not being able to get to step 0! :-)
[02:43:51] <hotnikks_> have you run "npm install" first?
[02:43:57] *** Josh has joined #angularjs
[02:44:00] <philryan> yah
[02:44:03] *** MrBaboon has quit IRC
[02:44:04] *** sacho has quit IRC
[02:44:17] *** joshuafcole has quit IRC
[02:44:32] *** Josh is now known as Guest9264
[02:45:02] *** nemothekid has quit IRC
[02:45:04] *** chaohuanghong1 has joined #angularjs
[02:45:17] *** chaohuanghong has quit IRC
[02:45:35] <philryan> (wish we could filter all the joins and leaves)
[02:46:07] <philryan> ok, I know that 99% of these initialization things are environment
[02:46:10] *** emmesswhy has joined #angularjs
[02:46:16] *** codeman has quit IRC
[02:46:20] <philryan> so, I suppose just have to go back to scratch and re-install it all from the top
[02:46:26] <zomg> philryan: sup :P
[02:46:59] <philryan> unable to run the initial phonecat tutorial, step 0
[02:47:09] *** subtone100 has joined #angularjs
[02:47:10] <philryan> since the bower_components folder wasn't installed
[02:47:10] *** Una has quit IRC
[02:47:19] *** chongwish has joined #angularjs
[02:47:30] <philryan> anyway, I'll go away, try to start again from the top... :-)
[02:47:32] *** woah has joined #angularjs
[02:47:37] *** akrikos has joined #angularjs
[02:47:45] *** philryan has quit IRC
[02:47:57] *** josh3336 has joined #angularjs
[02:48:25] <zomg> hm I thought that was someone I know but I guess it wasn't.. funny because you'd think that that nick is not that common :D
[02:48:38] *** mary5030 has joined #angularjs
[02:48:45] <hotnikks_> maybe youre thinking of jasonjim
[02:48:47] <hotnikks_> or bobmike
[02:49:15] *** RastaqWhere has joined #angularjs
[02:49:36] *** philryan has joined #angularjs
[02:49:42] <hotnikks_> i like this papa john guy's style guide
[02:49:47] <hotnikks_> nice of him to provide sublime text snippets too
[02:51:31] *** krawek has joined #angularjs
[02:51:31] *** krawek has joined #angularjs
[02:51:32] <reavengr1y> lehen
[02:51:35] <reavengr1y> dary
[02:51:37] *** rtpg has joined #angularjs
[02:52:05] *** woah has quit IRC
[02:52:21] *** sd_sher has quit IRC
[02:52:26] *** alphonse23_ has quit IRC
[02:53:04] *** alphonse23_ has joined #angularjs
[02:53:36] *** richardlitt has joined #angularjs
[02:54:28] *** subtone100 has quit IRC
[02:55:17] *** adpirz has joined #angularjs
[02:56:22] *** rchavik has quit IRC
[02:56:25] *** Silne30 has joined #angularjs
[02:57:07] *** subsonic has quit IRC
[02:57:22] <JonathanNeal> Has anyone bundled a CSS parser or CSS fetcher with Angular?
[02:58:01] *** cohitre has quit IRC
[02:58:14] *** bayousoft has quit IRC
[02:58:21] *** dylan9o4 has joined #angularjs
[02:58:43] <zomg> JonathanNeal: what exactly do you mean by that?
[02:59:29] <JonathanNeal> I mean, has anyone written an Angular plugin or worked with Angular and another a library to fetch and/or parse CSS?
[02:59:58] *** adpirz has quit IRC
[03:00:25] <hotnikks_> ..for what purpose?
[03:00:29] *** greengriminal has quit IRC
[03:00:35] *** BillCriswell has joined #angularjs
[03:00:49] *** japhar81 has joined #angularjs
[03:00:56] *** greengriminal has joined #angularjs
[03:00:56] <dylan9o4> Hey is anybody here familiar with firebase?
[03:00:57] *** hiattp__ has joined #angularjs
[03:01:15] <hotnikks_> which firebase?
[03:01:19] *** minimoo1 has joined #angularjs
[03:01:31] <JonathanNeal> hotnikks_: to interpret more expressive CSS, to use or enable newer CSS features, any other use case of http://www.hitchjs.com
[03:01:34] <zomg> JonathanNeal: we use the npm module css-parse and css-stringify with some stuff at work
[03:01:44] <hotnikks_> the game engine from cubeia? or the cloud provider?
[03:01:50] <zomg> can run them through browserify and they work in the browser
[03:01:59] *** merobertsjr has quit IRC
[03:02:07] *** jlmitch5dev has joined #angularjs
[03:02:27] *** baweaver has quit IRC
[03:02:37] <hotnikks_> is hitch an alternative to sass/less?
[03:02:46] *** tschundeee has quit IRC
[03:02:58] *** ASUchander1 has quit IRC
[03:03:12] <dylan9o4> hotnikks_: actually just the firebase ui
[03:03:19] <JonathanNeal> hotnikks_: no
[03:03:37] *** annlewis has joined #angularjs
[03:03:44] *** Nijikokun has quit IRC
[03:03:45] *** jimobrien has joined #angularjs
[03:03:52] *** hiattp__ has quit IRC
[03:03:53] *** ASUChander has joined #angularjs
[03:04:16] *** joroc has quit IRC
[03:04:20] *** hiattp__ has joined #angularjs
[03:04:21] *** ludkiller has quit IRC
[03:04:22] *** hiattp__ has quit IRC
[03:04:39] *** TechCel has joined #angularjs
[03:04:57] *** metasansana has joined #angularjs
[03:05:29] <lebster> with angular ui-select anyone know how to save the value to scope isnetad of the whole model?
[03:05:31] <JonathanNeal> Sass/Less allows you to write expressions that render as something the browsers understands. Hitch allows you to write expressions the browser could otherwise never understand.
[03:05:38] <lebster> http://plnkr.co/edit/cx5Megjh6PSjVtI47rjy?p=preview (first dropdown)
[03:05:55] *** kuadrosx_ has joined #angularjs
[03:05:56] *** rho has joined #angularjs
[03:05:57] *** rho has joined #angularjs
[03:06:09] *** Nijikokun has joined #angularjs
[03:06:12] *** kuadrosx has quit IRC
[03:06:14] *** ludkiller has joined #angularjs
[03:06:24] *** sirkitree is now known as sirkitree|afk
[03:06:25] *** morenoh149 has joined #angularjs
[03:06:51] *** scriptThis has joined #angularjs
[03:07:04] *** thepro4ever has joined #angularjs
[03:07:10] *** thepro4ever has left #angularjs
[03:07:20] *** rosieres has joined #angularjs
[03:08:19] *** annlewis has quit IRC
[03:08:35] *** danecando has quit IRC
[03:09:09] *** mclenithan has quit IRC
[03:09:45] *** danecando has joined #angularjs
[03:09:50] *** prbc has joined #angularjs
[03:10:11] *** cthrax has quit IRC
[03:10:13] *** rileylark has joined #angularjs
[03:11:26] <hotnikks_> gotta love this quote from papa john's style guide: "Why?: It makes sense.
[03:11:27] <hotnikks_> "
[03:12:36] *** VinceZa has joined #angularjs
[03:12:36] *** junmin has joined #angularjs
[03:13:47] *** Guest9264 has quit IRC
[03:14:10] <reavengr1y> you're wrong
[03:14:21] *** jimobrien has quit IRC
[03:15:04] <TechCel> it's a good style guide
[03:15:49] <hotnikks_> TechCel; agreed. most of it makes me nod my head like "yup, makes sense"
[03:16:18] <hotnikks_> never knew about resolving controller data dependencies using the routerProvider tho
[03:18:16] *** dllama has quit IRC
[03:18:17] <hotnikks_> not sure i understand this part of the guide tho: https://github.com/johnpapa/angularjs-styleguide#manually-identify-route-resolver-dependencies
[03:18:23] <hotnikks_> what exactly is he trying to say here?
[03:18:27] *** frem has quit IRC
[03:19:14] *** afuggini has quit IRC
[03:19:16] *** nycdevgirl has joined #angularjs
[03:19:20] *** DoubleAW has joined #angularjs
[03:19:28] *** asher^ has quit IRC
[03:20:12] *** asher^ has joined #angularjs
[03:20:12] *** gcann has quit IRC
[03:20:23] *** evotuned has quit IRC
[03:20:43] *** bkuberek_ is now known as bkuberek
[03:20:46] *** hiattp__ has joined #angularjs
[03:21:02] *** dllama has joined #angularjs
[03:21:09] *** tylerdmace has joined #angularjs
[03:21:16] *** ASUchander1 has joined #angularjs
[03:21:25] *** ASUChander has quit IRC
[03:21:33] <philryan> no, did a complete re-install of node, then re-download of the phonecat tutorial, get the same error
[03:21:39] *** philryan has quit IRC
[03:21:50] <TechCel> what's the error
[03:21:56] *** philryan has joined #angularjs
[03:21:58] *** jonathanpglick has quit IRC
[03:22:08] *** gcann has joined #angularjs
[03:22:16] <philryan> did the complete re-install of node, and then re-downloaded the phonecat tutorial, still no luck
[03:22:18] *** AWAW has quit IRC
[03:23:02] <philryan> did get a warning: npm WARN cannot run in wd angular-phonecat at 0 dot 0.0 bower install
[03:23:33] <hotnikks_> well there you go, it can't run bower install and thus there's nob ower_components/
[03:23:39] *** emmesswhy has quit IRC
[03:23:57] <hotnikks_> pastebin the output of "npm install -g bower"
[03:24:15] *** danecando has quit IRC
[03:25:00] *** dhcar is now known as dhcar_AFK
[03:25:45] *** h-darklow has joined #angularjs
[03:26:23] <hotnikks_> TechCel; do you know if there's a seed project based off papajohn's layout?
[03:26:25] <philryan> sudo npm install -g bower Password: Sorry, try again. Password: /usr/local/bin/bower -> /usr/local/lib/node_modules/bower/bin/bower bower at 1 dot 3.12 /usr/local/lib/node_modules/bower ├── is-root at 1 dot 0.0 ├── junk at 1 dot 0.0 ├── stringify-object at 1 dot 0.0 ├── abbrev at 1 dot 0.5 ├── chmodr at 0 dot 1.0 ├── which at 1 dot 0.5 ├── osenv at 0 dot 1.0 ├── opn at 1 dot 0.0 ├── archy at 0 dot 0.2 ├── rimraf at 2 dot 2.8 ├── bower-logge
[03:26:36] <philryan> sorry, but it installed a-ok with 'sudo'
[03:26:39] <philryan> not otherwise
[03:26:43] <hotnikks_> yes no kidding
[03:26:48] <hotnikks_> you're trying to install it globally (-g)
[03:26:57] <hotnikks_> try running bower install now
[03:27:17] *** mmitchell has joined #angularjs
[03:27:41] <philryan> ok, getting a failure to connect to gihub
[03:27:49] <philryan> Additional error details: fatal: unable to connect to github.com: github.com[0: 192.30.252.129]: errno=Connection refused
[03:27:57] *** TechCel has quit IRC
[03:28:03] *** simiographics has joined #angularjs
[03:28:05] <philryan> pretty bizarre, given a previous (and current) ability to use git with github
[03:28:05] *** kuadrosx_ has quit IRC
[03:28:20] *** Browserr has quit IRC
[03:28:24] <hotnikks_> i think you need to call your IT helpdesk
[03:28:30] *** Browser has joined #angularjs
[03:28:43] *** Josh has joined #angularjs
[03:28:52] <philryan> you could be right; it could be a net block issue
[03:29:06] <hotnikks_> fire up an strace or tcpdump
[03:29:07] *** Josh is now known as Guest97253
[03:29:10] *** danecando has joined #angularjs
[03:29:11] *** hiattp__ has quit IRC
[03:29:13] <philryan> just blindsided since the initial git command in the tutorial worked like a charm
[03:29:14] <hotnikks_> and see why you're getting connection refused, at least what port, etc.
[03:29:22] <hotnikks_> yeah could be https vs. ssh vs. something else
[03:29:34] *** jangid has quit IRC
[03:29:38] <hotnikks_> origins can be defined for github using https or ssh, one may work but other might now
[03:29:41] <hotnikks_> might *not
[03:29:46] <philryan> yah, yah, thanks for the tip
[03:30:11] *** frkout_ has joined #angularjs
[03:31:21] *** joroc has joined #angularjs
[03:31:53] *** mmitchell has quit IRC
[03:33:23] *** fedenunez has quit IRC
[03:34:06] *** frkout has quit IRC
[03:34:25] *** phuh has quit IRC
[03:34:44] *** Guest97253 has quit IRC
[03:34:53] *** phuh has joined #angularjs
[03:35:02] *** VinceZa has quit IRC
[03:35:23] *** minimoo1 has quit IRC
[03:35:30] *** Silne30 has quit IRC
[03:35:57] *** Aliks has quit IRC
[03:36:43] *** nicholes has quit IRC
[03:36:46] *** brennon_ has joined #angularjs
[03:37:05] *** RobinBAwesome has quit IRC
[03:37:06] *** rosieres has quit IRC
[03:37:28] <beckyconning_> does ngDisabled want a string or a bool?
[03:37:50] <beckyconning_> like does it parse "true" / "false" or does it go on truthiness?
[03:37:54] *** VinceZa has joined #angularjs
[03:38:48] *** VinceZa has quit IRC
[03:40:42] *** nairys has quit IRC
[03:40:57] *** cilkay has quit IRC
[03:41:11] *** dhcar_AFK is now known as dhcar
[03:41:11] *** rburns has quit IRC
[03:41:34] *** rburns has joined #angularjs
[03:42:03] *** mmitchell has joined #angularjs
[03:42:14] *** jimobrien has joined #angularjs
[03:42:26] *** cilkay has joined #angularjs
[03:43:21] *** jimobrien has quit IRC
[03:44:49] *** patrick99e99 has quit IRC
[03:45:02] <philryan> (I know there's no surprises here, but just for info, changing the GIT protocol from git:// to https:// seems to have worked)
[03:45:08] *** oste has quit IRC
[03:45:45] <philryan> so thanks *hotnikks
[03:45:51] *** krawek has quit IRC
[03:46:06] *** discgo has joined #angularjs
[03:46:24] *** krawek has joined #angularjs
[03:46:25] *** krawek has joined #angularjs
[03:46:41] *** krawek has quit IRC
[03:47:22] *** eamonn has joined #angularjs
[03:47:38] *** say2joe has quit IRC
[03:48:17] *** jangid has joined #angularjs
[03:48:25] *** whunt has quit IRC
[03:50:06] *** webtroll has quit IRC
[03:50:07] *** jeffscottward has quit IRC
[03:51:49] *** eamonn has quit IRC
[03:52:15] *** darrin has quit IRC
[03:52:20] <hotnikks_> np
[03:52:58] *** simiographics has quit IRC
[03:53:51] *** jareddlc has quit IRC
[03:53:51] *** plato has quit IRC
[03:54:02] *** jordandotdev has quit IRC
[03:54:32] *** plato has joined #angularjs
[03:54:34] *** annlewis has joined #angularjs
[03:55:06] *** VinceZa has joined #angularjs
[03:55:14] *** VinceZa has quit IRC
[03:55:34] *** jeffscottward has joined #angularjs
[03:55:55] *** VinceZa has joined #angularjs
[03:56:09] <snurfery> omg I just found the 'goto definition' feature in the sublime text angularjs plugin
[03:56:23] <hotnikks_> ?
[03:56:25] <hotnikks_> oh
[03:56:26] <snurfery> automatically jump to any service/controller/directive/whatever
[03:56:40] <snurfery> so much win
[03:56:54] <snurfery> how did I live before now? so much wasted time
[03:57:22] <hotnikks_> ehh shift+command+f is pretty close
[03:57:26] <hotnikks_> save maybe a second or two
[03:57:33] <hotnikks_> with jump
[03:58:02] <snurfery> interesting
[03:58:37] <snurfery> I need to learn more about this damn editor, considering I'm working in it umpteen hours a day
[03:59:13] *** annlewis has quit IRC
[03:59:43] *** jeffscottward_ has joined #angularjs
[03:59:49] *** jangid has quit IRC
[04:00:52] *** jangid has joined #angularjs
[04:01:04] *** darrin has joined #angularjs
[04:01:21] *** minimoo1 has joined #angularjs
[04:01:28] *** jeffscottward has quit IRC
[04:01:29] *** jeffscottward_ is now known as jeffscottward
[04:01:53] <hotnikks_> mmmm sprig
[04:02:03] *** RobinBAwesome has joined #angularjs
[04:02:11] <hotnikks_> glad they learned their lesson on those delivery prices. price elasticity of demand -- econ 101!
[04:02:18] <hotnikks_> any of you guys in SF use em?
[04:02:21] *** morenoh150 has joined #angularjs
[04:02:25] *** wallerdev has quit IRC
[04:02:46] <hotnikks_> shift+ctrl+k is the most annoying delete line tho
[04:02:53] <hotnikks_> re: sublime text. makes me miss 'dd' in vim :/
[04:03:01] *** dannyc has joined #angularjs
[04:03:14] *** digisky1 has joined #angularjs
[04:03:24] <snurfery> dd is the hotness
[04:03:36] *** morenoh149 has quit IRC
[04:03:43] *** digisky has quit IRC
[04:04:29] *** cads has joined #angularjs
[04:05:04] *** joroc has quit IRC
[04:05:17] *** mdedetrich has quit IRC
[04:05:46] *** gunn has quit IRC
[04:05:57] *** {DV8} has quit IRC
[04:06:28] *** digisky has joined #angularjs
[04:06:43] *** P1RATEZ has joined #angularjs
[04:07:06] *** crakrjak has joined #angularjs
[04:07:10] *** ciwolsey has quit IRC
[04:07:16] *** Poppa has joined #angularjs
[04:07:48] *** dannyc has quit IRC
[04:08:10] *** Poppa has quit IRC
[04:08:11] *** digisky1 has quit IRC
[04:08:16] *** kirfu has joined #angularjs
[04:08:27] *** bayousoft has joined #angularjs
[04:08:58] *** MistahKurtz has quit IRC
[04:09:27] *** wsmoak has quit IRC
[04:09:37] *** mary5030 has quit IRC
[04:09:49] *** Cryode has joined #angularjs
[04:10:42] <Cryode> Does anyone know if it would be possible for a filter to modify the children of a nested array without triggering Angular’s watcher, which calls the filter, and gets me stuck in an endless loop?
[04:10:50] *** Poppabear has quit IRC
[04:11:00] <Cryode> I’m trying to create a category tree filter, essentially. I only want to show results that match, and any direct parents above them.
[04:11:22] *** cwill747 has quit IRC
[04:11:32] *** crakrjak has quit IRC
[04:11:33] *** rburns has quit IRC
[04:11:35] *** mdedetrich has joined #angularjs
[04:11:55] *** rburns has joined #angularjs
[04:12:15] <snurfery> you can manually $watch and $filter in your controller
[04:12:36] <snurfery> if the view stuff isn't giving you enough control
[04:12:46] *** Hackwar has joined #angularjs
[04:13:03] *** josh-k has joined #angularjs
[04:13:09] <Cryode> snurfery: I’ve created a basic filter that uses recursion to find matches and generate the proper array(s). But as soon as I attempt to replace a category’s child with the correct matches, the loop hits.
[04:13:23] <Cryode> snurfery: But I’ve just created a standard filter, not done anything with controllers.
[04:13:32] <hotnikks_> mmm javascript recursion
[04:13:41] <hotnikks_> browser *blushes*
[04:13:48] *** mayday_jay has joined #angularjs
[04:14:42] *** jeffscottward has quit IRC
[04:15:34] *** Hackwar1 has quit IRC
[04:15:35] *** busticated has quit IRC
[04:15:35] <reavengr1y> pls don't use recursion
[04:15:38] *** gunn has joined #angularjs
[04:15:41] <reavengr1y> in any language
[04:15:48] <snurfery> wat
[04:15:52] *** RobinBAwesome has quit IRC
[04:15:53] <hotnikks_> why not
[04:16:02] <hotnikks_> my cs profs would slap you
[04:16:07] <Cryode> Recursion is perfectly fine, lol.
[04:16:08] <hotnikks_> for insulting recursion
[04:16:58] *** pnade has quit IRC
[04:17:05] *** gunn has quit IRC
[04:17:13] <hotnikks_> to learn papa john's style guide im going to refactor this tutorial into it haha: http://www.toptal.com/angular-js/a-step-by-step-guide-to-your-first-angularjs-app
[04:17:13] *** phazei has quit IRC
[04:17:16] <snurfery> Cryode: that's a tricky one, it doesn't sound like it's something that'll work out of the box so you might need to get creative
[04:17:17] *** pnade has joined #angularjs
[04:17:39] <snurfery> like for example, maybe you don't have to actually replace the category's child results
[04:17:44] *** gunn has joined #angularjs
[04:17:45] *** phzon has quit IRC
[04:17:47] *** tsalb has quit IRC
[04:17:52] <Cryode> snurfery: I’m leaning towards the same conclusion, I’m just not sure how to be creative.
[04:17:57] *** oste has joined #angularjs
[04:18:04] <snurfery> maybe you store a boolean like "filterActive = true" when a filter is active
[04:18:08] *** MrBaboon has joined #angularjs
[04:18:15] *** kevinxu has joined #angularjs
[04:18:39] *** kevinxu is now known as Guest10889
[04:18:40] <snurfery> then <ul ng-show="filterActive"><li ng-repeat="item in myCustomArrayFromTheFilter">...</li></ul>
[04:19:20] <snurfery> and your normal unfiltered list of child elements would have a corresponding <ul ng-hide="filterActive">
[04:19:24] <snurfery> see what I'm getting at?
[04:19:33] *** hmsimha_ has joined #angularjs
[04:19:37] *** plushy1 has quit IRC
[04:19:41] <Cryode> snurfery: If it helps, this is a real-time filter using user input. So the setup now is <li ng-repeat=“item in menu | searchMenu:searchMenuInput”> … </li>
[04:19:41] *** phzon has joined #angularjs
[04:19:46] *** afuggini has joined #angularjs
[04:20:02] <Cryode> I see what you mean, though. Use a conditional to show two different scopes.
[04:20:31] <snurfery> so you can show a custom list without "reassigning" anything
[04:20:52] <snurfery> dunno what your code looks like but I think that approach wouldn't be too hard
[04:21:29] <Cryode> No, it wouldn’t be. It’s an intriguing thought. My initial reaction is that doesn’t keep things as DRY as possible, but this doesn’t exactly fall into out of the box functionality.
[04:21:47] *** ctanga has quit IRC
[04:24:48] *** cohitre has joined #angularjs
[04:24:50] *** zivester has joined #angularjs
[04:24:52] *** cohitre has quit IRC
[04:26:24] *** jlmitch5dev has quit IRC
[04:26:47] *** jlmitch5dev has joined #angularjs
[04:27:26] *** mmitchell has quit IRC
[04:27:52] *** jlmitch5dev has quit IRC
[04:28:00] *** rchavik has joined #angularjs
[04:28:11] *** plushy has joined #angularjs
[04:28:33] *** jrist has quit IRC
[04:28:45] <snurfery> omg it works
[04:28:51] *** whitebook has quit IRC
[04:28:56] <snurfery> final f*kingly
[04:29:08] <snurfery> PRAISE BE
[04:29:41] <Cryode> snurfery: Woot
[04:29:49] *** rtpg has quit IRC
[04:29:54] *** ASUchander1 has quit IRC
[04:29:57] <diegoaguilar> Hello, Id like to use some js library which shows every examples using jquery on ready event
[04:30:07] *** rileylark has quit IRC
[04:30:11] <diegoaguilar> how could I ahieve this inside an Angular controlller?
[04:30:20] *** busticated has joined #angularjs
[04:30:32] *** mdedetrich has quit IRC
[04:30:46] *** raibutera has quit IRC
[04:30:50] <snurfery> diegoaguilar: http://angular-ui.github.io/ui-utils/ has something called "jquery passthrough"
[04:31:00] <snurfery> see if that helps
[04:31:07] *** mdedetrich has joined #angularjs
[04:31:13] *** raibutera has joined #angularjs
[04:31:24] *** joroc has joined #angularjs
[04:31:29] *** CodeTroth has joined #angularjs
[04:33:18] *** frkout_ has quit IRC
[04:33:42] *** frkout has joined #angularjs
[04:33:44] *** ASUChander has joined #angularjs
[04:33:56] *** minimoo1 has quit IRC
[04:34:26] *** phuh has quit IRC
[04:34:28] *** morenoh150 has quit IRC
[04:34:32] <diegoaguilar> snurfery, I somehow guess it could be simple than that
[04:34:34] <diegoaguilar> I got this: http://www.hastebin.com/zoruticeko.xml
[04:34:48] *** phzon has quit IRC
[04:34:49] <diegoaguilar> which should work as done here:https://gist.github.com/maxkfranz/621d51ea7de19608127e
[04:34:53] *** phuh has joined #angularjs
[04:35:08] *** rho has quit IRC
[04:35:27] *** davesidious__ has joined #angularjs
[04:36:08] *** plushy has quit IRC
[04:36:45] *** cacts has joined #angularjs
[04:38:49] *** jordandotdev has joined #angularjs
[04:38:57] *** davesidious_ has quit IRC
[04:39:08] *** chrisshattuck has joined #angularjs
[04:39:08] *** ASUchander1 has joined #angularjs
[04:39:14] *** conner_ has joined #angularjs
[04:39:26] *** morenoh150 has joined #angularjs
[04:40:00] *** ASUChander has quit IRC
[04:40:07] *** plushy has joined #angularjs
[04:40:29] *** josh3336 has quit IRC
[04:40:38] *** jrist has joined #angularjs
[04:40:45] *** stormbytes has quit IRC
[04:42:06] *** rburns has quit IRC
[04:42:10] *** darrin has quit IRC
[04:42:22] *** albivian has quit IRC
[04:42:30] *** rburns has joined #angularjs
[04:42:41] *** darrin has joined #angularjs
[04:42:43] *** Aliks has joined #angularjs
[04:42:48] *** Josh has joined #angularjs
[04:43:13] *** Josh is now known as Guest89062
[04:43:19] <Cryode> snurfery: Thanks for your ideas, we’ll get something worked out. :) Have a good night!
[04:43:32] <snurfery> you too!
[04:43:38] *** Cryode has quit IRC
[04:44:17] *** adpirz has joined #angularjs
[04:44:33] *** raibutera has quit IRC
[04:44:39] *** trend has quit IRC
[04:45:21] *** raibutera has joined #angularjs
[04:45:52] <themime> when is angular-bootstrap going to update to 1.3? we're at 1.3.3 and bower is crying :(
[04:46:05] <themime> their site still says 1.2.26
[04:46:14] *** Sontakey1 has quit IRC
[04:46:16] *** GreenJello has joined #angularjs
[04:46:57] *** edrocks_ has quit IRC
[04:48:37] *** adpirz has quit IRC
[04:48:49] *** patrick99e99 has joined #angularjs
[04:51:21] *** CodeTroth has quit IRC
[04:51:22] *** brennon_ has quit IRC
[04:51:23] *** TheAceOfHearts has joined #angularjs
[04:51:53] *** chongwish has quit IRC
[04:54:06] *** akrikos has quit IRC
[04:54:16] *** patrick99e99 has quit IRC
[04:54:27] *** MrBaboon has quit IRC
[04:54:34] *** annlewis has joined #angularjs
[04:54:47] *** evotuned has joined #angularjs
[04:55:23] *** elza` has joined #angularjs
[04:55:32] *** unpro has joined #angularjs
[04:55:41] *** busticated has quit IRC
[04:56:24] *** freelyfred has joined #angularjs
[04:56:56] *** kirfu has quit IRC
[04:57:10] *** kirfu has joined #angularjs
[04:57:47] *** adam12 has quit IRC
[04:58:38] *** xxtjaxx has quit IRC
[04:58:50] *** akrikos has joined #angularjs
[04:59:09] *** annlewis has quit IRC
[04:59:17] *** elza` has quit IRC
[04:59:31] *** akrikos has quit IRC
[04:59:44] *** joepie91 has quit IRC
[04:59:53] *** raypulver has quit IRC
[05:00:09] *** adam- has joined #angularjs
[05:00:37] *** raypulver has joined #angularjs
[05:00:55] *** nycdevgirl has quit IRC
[05:01:24] *** minimoo1 has joined #angularjs
[05:01:33] *** joepie91 has joined #angularjs
[05:01:44] *** nesquerra has joined #angularjs
[05:01:57] *** zivester has quit IRC
[05:02:00] *** ludkiller has quit IRC
[05:02:22] *** BlinkyBill has quit IRC
[05:03:37] *** joroc has quit IRC
[05:04:44] *** zanea is now known as zanea|away
[05:05:56] *** raibutera has quit IRC
[05:06:24] *** tkimmel has joined #angularjs
[05:07:23] *** whitebook has joined #angularjs
[05:07:23] *** whunt has joined #angularjs
[05:08:14] *** ludkiller has joined #angularjs
[05:09:35] *** Left_Turn has quit IRC
[05:10:59] <jsheely> Always the problem with package managers
[05:11:09] <jsheely> They never seem to be as up to date as the code bases
[05:11:13] *** busticated has joined #angularjs
[05:11:16] *** tkimmel has quit IRC
[05:12:30] *** recidive has quit IRC
[05:12:30] *** rburns has quit IRC
[05:12:51] *** Guest10889 has quit IRC
[05:12:55] *** rburns has joined #angularjs
[05:12:56] *** ludkiller has quit IRC
[05:13:05] *** kevinxu_ has joined #angularjs
[05:14:53] *** arpu has quit IRC
[05:17:08] *** daviesgeek has quit IRC
[05:17:22] *** crazybotsmoker has quit IRC
[05:18:02] *** whunt has quit IRC
[05:19:02] *** richardlitt has quit IRC
[05:19:24] <beckyconning_> hi i'm using ui-router and have an abstract "tabs" state. whats the best approach to setting values on the abstract state's controller (or some other place) from its children? (e.g. tabs.login)
[05:19:53] <beckyconning_> is it best to use a service for inter controller communication in this case?
[05:20:14] *** asher^ has quit IRC
[05:20:39] <BahamutWC> I might consider using $scope.$emit in that case
[05:21:27] *** Oddman has quit IRC
[05:21:35] *** kp666 has joined #angularjs
[05:22:27] *** daviesgeek has joined #angularjs
[05:25:33] *** opiates has joined #angularjs
[05:25:45] *** crazybotsmoker has joined #angularjs
[05:26:10] *** tsalb has joined #angularjs
[05:27:14] *** ludkiller has joined #angularjs
[05:27:58] *** mmitchell has joined #angularjs
[05:28:08] *** whitebook has quit IRC
[05:28:27] *** s3shs has joined #angularjs
[05:28:43] *** burzum2 has joined #angularjs
[05:29:54] *** eBureau has quit IRC
[05:30:12] *** rtpg has joined #angularjs
[05:30:17] *** conner_ has quit IRC
[05:30:30] *** freelyfred has quit IRC
[05:31:06] *** burzum has quit IRC
[05:31:27] *** joroc has joined #angularjs
[05:31:42] *** ome has quit IRC
[05:32:10] *** H1FuelCell has joined #angularjs
[05:32:54] *** asher^ has joined #angularjs
[05:33:04] <hotnikks_> can someone point me to some decent examples/docs for using routeProvider's resolve map?
[05:33:19] <hotnikks_> im trying to figure out exactly what im supposed to be returning
[05:33:30] *** mmitchell has quit IRC
[05:33:45] <hotnikks_> my service call is simply returning $http({...});
[05:34:32] *** minimoo1 has quit IRC
[05:34:43] *** phuh has quit IRC
[05:34:49] *** williamtdr has quit IRC
[05:34:55] *** phuh has joined #angularjs
[05:35:09] *** jimobrien has joined #angularjs
[05:35:39] *** thumpba has joined #angularjs
[05:35:42] *** rtpg has quit IRC
[05:35:54] *** thumpba has quit IRC
[05:36:16] *** thumpba has joined #angularjs
[05:37:08] *** freelyfred has joined #angularjs
[05:38:42] *** lemur has joined #angularjs
[05:38:45] *** Cwl97045 has joined #angularjs
[05:41:37] *** mguillech has joined #angularjs
[05:43:05] *** TyrfingMjolnir has joined #angularjs
[05:43:05] *** rburns has quit IRC
[05:43:31] *** rburns has joined #angularjs
[05:44:21] *** NoNMaDDeN has joined #angularjs
[05:44:57] *** josh-k_ has joined #angularjs
[05:45:09] *** trend has joined #angularjs
[05:45:29] *** VinceZa has quit IRC
[05:45:32] *** mennea has joined #angularjs
[05:45:54] *** mguillech has quit IRC
[05:46:26] *** {DV8} has joined #angularjs
[05:47:07] *** gunn has quit IRC
[05:48:03] *** rtpg has joined #angularjs
[05:48:23] *** josh-k has quit IRC
[05:48:44] *** prbc has quit IRC
[05:49:27] *** trend has quit IRC
[05:50:50] *** frkout has quit IRC
[05:51:16] *** frkout has joined #angularjs
[05:51:48] *** rajatarora has joined #angularjs
[05:53:13] *** tomengland_mbp has joined #angularjs
[05:53:44] *** darrin has quit IRC
[05:53:53] *** danecando has quit IRC
[05:54:21] *** jshultz has quit IRC
[05:54:33] *** annlewis has joined #angularjs
[05:55:06] *** hiattp_ has quit IRC
[05:55:16] *** gunn has joined #angularjs
[05:55:24] *** MrBaboon has joined #angularjs
[05:55:46] *** MrBaboon has joined #angularjs
[05:55:47] *** crakrjak has joined #angularjs
[05:56:24] *** HungDQ has joined #angularjs
[05:57:47] *** ASUChander has joined #angularjs
[05:57:49] *** dllama has quit IRC
[05:59:17] *** annlewis has quit IRC
[05:59:19] *** Aerospark has quit IRC
[05:59:26] *** ASUchander1 has quit IRC
[05:59:53] *** crakrjak has quit IRC
[06:01:26] *** minimoo1 has joined #angularjs
[06:01:54] *** Aerospark has joined #angularjs
[06:02:52] *** nemothekid has joined #angularjs
[06:04:19] <hotnikks_> nm figured out except for one thing
[06:04:42] *** joroc has quit IRC
[06:04:55] *** jamesbdev has joined #angularjs
[06:05:01] <hotnikks_> when im in the .when('/foo/:id', { resolve: { myFunc : function(myService) { /* how can i refer to id within here? $routeProvider.id doesn't work :/ */ } } } );
[06:05:28] <snurfery> might be $routeParams
[06:05:48] <snurfery> yep
[06:05:52] <hotnikks_> http://stackoverflow.com/questions/13433116/routeparams-doesnt-work-in-resolve-function
[06:05:55] <hotnikks_> hmm
[06:06:12] <snurfery> oh interesting
[06:06:18] *** discgo has quit IRC
[06:06:23] <jamesbdev> Hi, I'm looking to use AngularJS to have multiple users updating a table at the same time with updates being saved to the server and updates from the server displaying on the front end in real(ish) time - kinda like Google Sheets. Would AngularJS be the best tech to use for this? Could someone point me towards some AngularJS technologies?
[06:06:28] <snurfery> I was trying to draw a parallel from ui-router's $stateParams, which does work in resolve
[06:06:33] *** tomengland_mbp has quit IRC
[06:06:46] *** HungDQ has quit IRC
[06:07:17] *** VinceZa has joined #angularjs
[06:07:18] <snurfery> jamesbdev: angular can help but the most challenging part is going to be the websocket stuff
[06:07:52] <snurfery> jamesbdev: https://github.com/janpantel/angular-sails
[06:08:09] <snurfery> that kinda realtime stuff sounds like the perfect use-case for sails.js
[06:08:18] <jamesbdev> snurfery: doesn't even need to be real-time but changes must be visible to other users when the user presses "save" or something
[06:08:48] <jamesbdev> basically I need one page with a table that multiple users can work on
[06:08:55] <jamesbdev> ill look into "sails" thanks
[06:09:25] *** alexw has quit IRC
[06:09:34] *** ASUChander has quit IRC
[06:09:51] <snurfery> if you don't do real-time, you'll need every client to poll for changes
[06:09:52] *** nfw has joined #angularjs
[06:09:57] *** rajatarora has quit IRC
[06:10:06] *** nfw is now known as nfw04
[06:10:15] <snurfery> which sounds super hassle-ish to me, but might not be too bad
[06:10:34] <nfw04> Quick question: how can I cause angular to pause on exceptions in chrome?
[06:10:45] <snurfery> there are other websockets libs out there, sails is kind of a big framework thingy
[06:10:53] *** JesuZ has quit IRC
[06:10:54] <jamesbdev> yeah im just looking for something super simple
[06:11:32] <hotnikks_> lol
[06:11:39] *** ASUChander has joined #angularjs
[06:11:46] <hotnikks_> "i want to do real time updates with multiple users over the web .. AAAAND i want it super simple"
[06:11:56] *** chrisshattuck has quit IRC
[06:12:19] *** thumpba has quit IRC
[06:12:40] *** Xethron has joined #angularjs
[06:12:42] <jamesbdev> hotnikks_: there might have been some technology that is perfect, for example something in angular that emulates google sheets, that i could drop in - how else could i found out without asking (and googling, which im doing)?
[06:12:43] <snurfery> I'd prolly find a simple demo of a websockets chat room (there are a bunch of those) and just build offa that
[06:12:50] <hotnikks_> true true
[06:12:51] <hotnikks_> just teasin
[06:13:36] *** jangid has quit IRC
[06:13:37] *** rburns has quit IRC
[06:13:55] *** rburns has joined #angularjs
[06:14:04] *** cornerma1 has joined #angularjs
[06:14:06] *** snapwich has joined #angularjs
[06:14:35] *** exp10r3r has joined #angularjs
[06:15:25] *** jstimm has joined #angularjs
[06:15:28] <nfw04> Quick question: how can I cause angular to pause on exceptions in chrome?
[06:15:35] *** shredjs has joined #angularjs
[06:15:36] *** jstimm has quit IRC
[06:15:48] *** mennea_ has joined #angularjs
[06:16:04] *** mennea has quit IRC
[06:17:18] *** cornerman has quit IRC
[06:17:23] *** bayousoft has quit IRC
[06:17:24] *** cornerma1 is now known as cornerman
[06:18:10] <themime> nfw04: thats a chrome question - but the answer is the developer console. google it! you can set breakpoints and such
[06:18:28] <themime> nfw04: if thats not what you mean youll have to clarify what you mean by "pause"
[06:18:42] *** VinceZa has quit IRC
[06:18:52] *** ASUchander1 has joined #angularjs
[06:19:20] *** crakrjak has joined #angularjs
[06:20:07] *** phuh has quit IRC
[06:20:12] *** phuh_ has joined #angularjs
[06:20:13] <nfw04> Thanks, I've googled around and haven't found it. I'm wondering if it's something to do with the yeoman generator I'm using
[06:20:56] <nfw04> Basically what's going on is that when I get exceptions the chrome console prints the errors to the console but even when I have the "pause on exceptions" thing selected it doesn't pause and let me inspect variables etc
[06:21:09] <snurfery> I just learned how to do that today
[06:21:16] * snurfery is super excited to know the answer
[06:21:19] <nfw04> In order to get it to pause in that spot I need to manually set a breakpoint and reproduce the error
[06:21:28] <snurfery> oh damn you already know.
[06:21:30] <nfw04> I am super excited to learn it from you hahaha
[06:21:32] *** ASUChander has quit IRC
[06:21:43] <snurfery> I just learned about breakpoints
[06:21:49] <snurfery> so .... that was my answer
[06:22:04] <nfw04> haha well damn
[06:22:07] <snurfery> does that not work for you?
[06:22:36] <nfw04> When using other frameworks I can just select pause on exceptions and it will pause and let you interactively check out the call stack and scope variables and such
[06:22:43] *** dhcar is now known as dhcar_AFK
[06:22:49] <nfw04> But in angular it just dumps it all to the console and doesn't let you pause
[06:22:54] *** ASUChander has joined #angularjs
[06:23:01] <nfw04> It works, but it's an extra step
[06:23:14] *** ASUchander1 has quit IRC
[06:23:15] <jamesbdev> hotnikks_: for example, something like this: codepen.io/fabiobiondi/pen/DwKqE
[06:23:18] *** reavengr1y has quit IRC
[06:23:30] <jamesbdev> that's perfect for my purposes
[06:23:32] *** Fuzzy has quit IRC
[06:23:38] <snurfery> oic
[06:25:42] *** woebtz has quit IRC
[06:25:58] *** BillCriswell has quit IRC
[06:26:34] *** BillCriswell has joined #angularjs
[06:27:12] *** nfw04 has quit IRC
[06:27:12] *** Xethron has quit IRC
[06:27:17] *** Una has joined #angularjs
[06:27:36] *** kp666 has quit IRC
[06:27:43] *** brennon_ has joined #angularjs
[06:30:54] *** BillCriswell has quit IRC
[06:31:28] *** joroc has joined #angularjs
[06:31:42] *** Xethron has joined #angularjs
[06:32:13] *** Milk_weed has quit IRC
[06:33:00] *** Regi has joined #angularjs
[06:33:06] *** adpirz has joined #angularjs
[06:34:42] *** minimoo1 has quit IRC
[06:34:46] *** ASUChander has quit IRC
[06:34:48] *** Guest89062 has quit IRC
[06:34:49] *** ASUchander1 has joined #angularjs
[06:36:37] *** discgo has joined #angularjs
[06:37:37] *** brennon_ has quit IRC
[06:37:37] *** adpirz has quit IRC
[06:37:41] *** whunt has joined #angularjs
[06:38:19] *** vassagus has joined #angularjs
[06:38:34] *** rosieres has joined #angularjs
[06:38:36] *** Zren has quit IRC
[06:39:56] *** Shadeness has joined #angularjs
[06:40:53] *** Aliks has quit IRC
[06:42:27] *** dhcar_AFK is now known as dhcar
[06:43:24] *** vassagus has quit IRC
[06:43:35] *** rajatarora has joined #angularjs
[06:46:01] *** rho has joined #angularjs
[06:46:14] *** whunt has quit IRC
[06:46:49] *** dhcar is now known as dhcar_AFK
[06:49:05] *** chongwish has joined #angularjs
[06:49:06] *** faddah has quit IRC
[06:49:18] *** mennea_ has quit IRC
[06:50:28] *** patrick99e99 has joined #angularjs
[06:52:06] *** VeeWee has joined #angularjs
[06:52:47] *** morenoh150 has quit IRC
[06:53:46] *** jimobrien has quit IRC
[06:53:46] *** brennon_ has joined #angularjs
[06:54:37] *** annlewis has joined #angularjs
[06:55:09] *** rhp has joined #angularjs
[06:55:10] *** patrick99e99 has quit IRC
[06:55:11] *** pootpoot has quit IRC
[06:55:22] *** Fuzzy has joined #angularjs
[06:55:37] *** tkimmel has joined #angularjs
[06:57:15] *** joshmu has joined #angularjs
[06:57:21] *** rajatarora has quit IRC
[06:57:23] *** oste has quit IRC
[06:57:26] *** Iravan_ has joined #angularjs
[06:58:13] *** rajatarora has joined #angularjs
[06:58:37] *** IJNX has joined #angularjs
[06:59:17] *** rho has quit IRC
[06:59:17] *** annlewis has quit IRC
[06:59:58] *** tkimmel has quit IRC
[07:01:38] *** minimoo1 has joined #angularjs
[07:01:47] *** junmin has quit IRC
[07:03:04] *** faddah has joined #angularjs
[07:03:59] *** brennon_ has quit IRC
[07:04:24] *** Sontakey has joined #angularjs
[07:04:46] *** joroc has quit IRC
[07:04:50] *** NormySan has joined #angularjs
[07:05:48] *** Sontakey1 has joined #angularjs
[07:06:32] *** corehook has joined #angularjs
[07:07:49] *** thumpba has joined #angularjs
[07:08:02] *** Josh has joined #angularjs
[07:08:26] *** Josh is now known as Guest22890
[07:08:51] *** Sontakey has quit IRC
[07:09:39] *** crakrjak has quit IRC
[07:09:48] *** NoNMaDDeN has quit IRC
[07:09:51] *** whunt has joined #angularjs
[07:09:58] *** bjtitus has quit IRC
[07:10:07] *** NoNMaDDeN has joined #angularjs
[07:11:17] *** rho has joined #angularjs
[07:11:17] *** rho has joined #angularjs
[07:13:03] *** cilkay has quit IRC
[07:13:45] *** junmin has joined #angularjs
[07:14:18] *** Aliks has joined #angularjs
[07:15:09] *** one0one has quit IRC
[07:15:09] *** rburns has quit IRC
[07:15:26] *** jimobrien has joined #angularjs
[07:15:31] *** macobo has joined #angularjs
[07:15:55] *** rburns has joined #angularjs
[07:16:12] *** bjtitus has joined #angularjs
[07:16:37] *** rajatarora has quit IRC
[07:16:54] *** soee has joined #angularjs
[07:17:19] *** mmitchell has joined #angularjs
[07:17:44] *** Guest22890 has quit IRC
[07:18:03] *** Una has quit IRC
[07:19:02] *** cads has quit IRC
[07:19:08] *** JosefDe has joined #angularjs
[07:20:02] *** phuh_ has quit IRC
[07:20:24] <JosefDe> Hi guys. I'm having difficulties with "deviceready" event. If I do "document.addEventListener('deviceready')" within my index.html the event is catched. But if I do "$window.document.addEventListener(..." in my MainController.js then the "deviceready" event is not catched. Why?
[07:20:26] *** phuh has joined #angularjs
[07:20:29] *** nuizzy has joined #angularjs
[07:22:04] *** mmitchell has quit IRC
[07:22:07] <GreenJello> JosefDe, probably because it already occured
[07:22:20] <GreenJello> it's only emitted once
[07:22:36] *** jangid has joined #angularjs
[07:22:48] <JosefDe> GreenJello: But how can I fix this? Manual bootstrapping isn't possible, because I'm using ngCordova's Push Service which looks for "ng-app='XY'"
[07:23:01] <GreenJello> an alternative would be to wrap it in a promise... not sure how you'd do that with angular
[07:23:05] *** sacho has joined #angularjs
[07:23:18] <JosefDe> GreenJello: Wrap what in a promise?
[07:23:35] <GreenJello> but generally it looks like var deviceReady = new Promise(function(resolve){ document.addEventListener('deviceready', resolve) })
[07:24:14] <GreenJello> and then you can do deviceReady.then(fn) and it'll behave the same whether it's already been emitted or not
[07:25:02] *** trend has joined #angularjs
[07:25:02] *** Raging_Hog has joined #angularjs
[07:25:07] <JosefDe> GreenJello: And I shall do this inside MainController.js?
[07:25:44] <GreenJello> JosefDe, no, you'd do it in index.html or somewhere else that's reached immediately when the page loads
[07:26:21] <JosefDe> GreenJello: Or can't I just set a variable inside a service?
[07:26:32] *** d4rklit3 has quit IRC
[07:27:09] <GreenJello> huh?
[07:27:15] <JosefDe> But the problem is, that I can only put AngularJS code inside a AngularJS controller or service or something like that. And at the time, the controller is loaded the event has already been fired, so it's too late
[07:27:45] <GreenJello> you could do that in a file that defines a service, and inside the service put service.deviceReady = deviceReady; or similar
[07:27:47] <JosefDe> What you show me is Javascript code
[07:28:05] *** thumpba has quit IRC
[07:28:40] <JosefDe> How shall I connect javascript-code with angularjs code?
[07:29:18] *** knownasilya has quit IRC
[07:29:19] <GreenJello> you put the code that creates the promise outside of the angular service and use it inside the service/controller
[07:29:55] <JosefDe> You say that I shall access the javascript variable out of a Angular-Controller or Service?
[07:29:58] *** trend has quit IRC
[07:30:58] *** rileylark has joined #angularjs
[07:31:01] *** busticated has quit IRC
[07:32:48] *** asher^ has quit IRC
[07:33:56] *** {DV8} has quit IRC
[07:34:57] *** rileylark has quit IRC
[07:36:42] *** opiates has quit IRC
[07:36:43] *** philryan has quit IRC
[07:36:52] *** gruenes has joined #angularjs
[07:37:15] *** dc_ has quit IRC
[07:37:57] *** sinequanon has joined #angularjs
[07:38:17] *** platonic has quit IRC
[07:38:23] *** corehook has quit IRC
[07:38:23] *** cilkay has joined #angularjs
[07:40:16] *** jmverges has joined #angularjs
[07:40:35] *** e0ipso|away is now known as e0ipso
[07:40:43] <JosefDe> I'm asking for days and noone can tell me a real solution to this problem
[07:40:52] *** dannyc has joined #angularjs
[07:41:31] *** freelyfred has quit IRC
[07:41:47] <narutimateum> have you heard the new angular?.. total makeover... how do i migrate to that
[07:42:06] *** NoNMaDDeN has quit IRC
[07:43:15] <JosefDe> I don't know buddy. I'm struggling with a problem myself for days and I still didn't get a solution
[07:43:23] *** gh0st has joined #angularjs
[07:43:26] *** tomzx is now known as tomzx`afk
[07:43:59] <narutimateum> JosefDe: what do you mean js code into angy code?
[07:44:29] <narutimateum> nvm forget i asked.. im not that knowledgeable in angy n js either XD
[07:44:44] <JosefDe> narutimateum: I have this problem: I'm doing "document.addEventListener('deviceready')" inside my MainController.js. But at that time the "deviceready" event has already been fired and doesn't get catched inside my MainController.js
[07:45:02] *** dannyc has quit IRC
[07:45:59] *** rburns has quit IRC
[07:46:32] *** rburns has joined #angularjs
[07:46:37] <snurfery> JosefDe: you can always do that inside of plain javascript, doesn't need to be in angular
[07:47:16] <JosefDe> snurfery: But I have to access angularjs scope variable and function after deviceready has been fired. How shall I do this inside javascript?
[07:47:54] *** hmsimha_ has quit IRC
[07:47:59] <JosefDe> snurfery: So after deviceready I want to call a special scope function
[07:48:01] <nuizzy> JosefDe: sounds like your working with cordova if your waiting for device ready? If so you might want to try ng-cordova http://ngcordova.com/docs/
[07:48:03] <snurfery> you're using cordova?
[07:48:08] <JosefDe> snrufery: Right buddy
[07:48:13] *** Ch4rAss has joined #angularjs
[07:48:21] <snurfery> what nuizzy said^^
[07:48:36] <JosefDe> And I've been struggling with this for days and are near to cry
[07:49:37] <JosefDe> I'm already using ngCordova
[07:49:43] <JosefDe> I'musing ngCordova's Push Service
[07:49:55] *** charuru has quit IRC
[07:52:12] *** ahmetkapikiran has quit IRC
[07:52:22] <JosefDe> But that's where the real problem is
[07:52:27] *** kirfu has quit IRC
[07:52:44] *** ahmetkapikiran has joined #angularjs
[07:52:46] <JosefDe> ngCordova's Push Notification doesn't trigger "onNotification"
[07:52:51] <nuizzy> JodefDe: probably best if you post you code in which your checking device ready
[07:53:23] <JosefDe> nuizzy: Ok. Wait a second please
[07:53:54] *** rhp has quit IRC
[07:54:34] *** annlewis has joined #angularjs
[07:56:53] *** ahmetkapikiran has quit IRC
[07:57:45] *** tsalb has quit IRC
[07:57:46] *** Xethron has quit IRC
[07:58:00] <JosefDe> nuizzy: I only need one more minute. I'm sending you
[07:58:14] *** jangid has quit IRC
[07:59:29] *** corehook has joined #angularjs
[07:59:34] *** annlewis has quit IRC
[08:00:13] *** Xethron has joined #angularjs
[08:00:34] *** mmitchell has joined #angularjs
[08:01:36] *** Regi has quit IRC
[08:02:12] *** hmsimha_ has joined #angularjs
[08:02:22] <dsdeiz> hey all, so right now, i'm using express and a gulp task to serve the pages locally. i'm wondering how do you guys manage it when in production?
[08:02:59] *** NoNMaDDeN has joined #angularjs
[08:06:13] *** jimobrien has quit IRC
[08:06:22] *** mmitchell has quit IRC
[08:06:42] <nuizzy> dsdeiz: u need a web server. Just make a simple server that serves your index.html page and you should be good to go. https://www.npmjs.org/package/http-server
[08:07:36] *** mennea has joined #angularjs
[08:08:07] *** herzi has joined #angularjs
[08:09:01] *** uru|away is now known as uru
[08:09:02] *** junmin has quit IRC
[08:09:32] *** sigurding has joined #angularjs
[08:10:51] *** drult has joined #angularjs
[08:11:20] *** ludkiller has quit IRC
[08:11:23] <JosefDe> nuizzy: Are you ready for the link?
[08:11:38] *** jimobrien has joined #angularjs
[08:12:09] *** mennea_ has joined #angularjs
[08:12:40] <JosefDe> Can anyone help me please. Why isn't Push Notification working?: http://plnkr.co/edit/q94V8eHCGBEx6vOC5vzc?p=preview
[08:13:15] *** dc_ has joined #angularjs
[08:13:46] <dsdeiz> yeah actually got it now. thx
[08:13:57] *** mtsr has joined #angularjs
[08:14:14] *** ludkiller has joined #angularjs
[08:14:35] <JosefDe> I really don't know what I'm doing wrong
[08:15:15] *** tomengland_mbp has joined #angularjs
[08:15:16] *** wmluke has joined #angularjs
[08:15:42] *** mennea has quit IRC
[08:15:46] *** beilabs has quit IRC
[08:16:19] *** jimobrien has quit IRC
[08:17:22] *** jacuqesdancona_ has joined #angularjs
[08:17:53] *** dc_ has quit IRC
[08:18:24] <JosefDe> I'm using ngCordova, a standard thing, but it doesn't work
[08:19:36] *** dannyc has joined #angularjs
[08:20:01] *** phuh has quit IRC
[08:20:12] <nuizzy> JosefDe: and where is device ready function?
[08:20:27] *** phuh has joined #angularjs
[08:20:34] *** Pluff has joined #angularjs
[08:21:06] *** mtsr has quit IRC
[08:21:23] <nuizzy> it should be somehwere in your main module defined like so http://ngcordova.com/docs/
[08:21:25] <JosefDe> nuizzy: I let it out because that's my first problem
[08:21:29] *** rajatarora has joined #angularjs
[08:21:45] *** slopjong has joined #angularjs
[08:21:49] *** discgo has quit IRC
[08:22:06] *** adpirz has joined #angularjs
[08:22:14] *** nesquerra has quit IRC
[08:22:23] <nuizzy> you installed the .js in your index but you have to move now to your angular moduel and inject them
[08:22:24] <JosefDe> nuizzy: Ok can you wait a further minute?
[08:22:33] *** rho has quit IRC
[08:22:40] <JosefDe> nuizzy: What do you mean with inject? What inject?
[08:22:45] *** corehook has quit IRC
[08:23:52] *** jmverges has quit IRC
[08:23:59] *** michaeljohndok has joined #angularjs
[08:24:59] <nuizzy> u need to include it to you main module
[08:25:01] <nuizzy> angular.module('MainApp', ['ngCordova'])
[08:25:08] *** discgo has joined #angularjs
[08:25:43] *** busticated has joined #angularjs
[08:25:59] <JosefDe> http://plnkr.co/edit/Yyoe5ILPaMdD9jsrWCID?p=preview
[08:26:27] *** ASUChander has joined #angularjs
[08:26:34] <JosefDe> nuizzy: I did that in "app.js"
[08:26:51] <JosefDe> nuizzy: Now I included the deviceready-listening: http://plnkr.co/edit/Yyoe5ILPaMdD9jsrWCID?p=preview
[08:27:16] *** adpirz has quit IRC
[08:27:30] *** michaeljohndok has quit IRC
[08:28:11] *** hgwells2005 has quit IRC
[08:28:28] *** ASUchander1 has quit IRC
[08:29:42] <nuizzy> JosefDe: your showing the index but that only loading the .js files. The problem is more likely in your app.js
[08:30:53] *** ASUChander has quit IRC
[08:31:26] *** AngularUI has joined #angularjs
[08:31:27] <AngularUI> [bootstrap] chrisirhc opened pull request #2996: fix(tooltip): incorrect position when text wraps (master...feature/fix-2995) http://git.io/P4G4qQ
[08:31:27] *** AngularUI has left #angularjs
[08:31:29] <JosefDe> nuizzy: He? What do you mean?
[08:32:15] <JosefDe> What's the problem?
[08:33:19] *** corehook has joined #angularjs
[08:34:45] *** mdedetrich has quit IRC
[08:35:10] <nuizzy> JosefDe: sorry not sure
[08:35:21] *** Sontakey has joined #angularjs
[08:36:17] <JosefDe> lol. noone can answer a pretty simple question for days. I don't get why this simple thing has to be so difficult to solve
[08:36:45] *** Sontakey1 has quit IRC
[08:37:15] *** ASUChander has joined #angularjs
[08:37:24] *** Sontakey1 has joined #angularjs
[08:37:30] *** nesquerra has joined #angularjs
[08:37:44] <sacho> because that's a ton of code and your problem doesn't seem to be related to angular
[08:38:10] *** dsdeiz_ has joined #angularjs
[08:38:16] <JosefDe> sacho: :). And the sad thing is that you guys are the only active community. In the other phonegap and ionic channels the guys never answer
[08:38:35] <snurfery> JosefDe: have you seen this? http://stackoverflow.com/questions/21556090/cordova-angularjs-device-ready
[08:38:37] *** e0ipso is now known as e0ipso|away
[08:38:55] <JosefDe> snurfery: I've seen a dozen of those infos and tried each of them
[08:38:58] *** platonic has joined #angularjs
[08:39:06] <snurfery> I'm not asking about the dozen
[08:39:09] <snurfery> only the one I posted
[08:39:23] *** metasansana has quit IRC
[08:39:24] <snurfery> they're saying you have to manually bootstrap your application
[08:39:36] <snurfery> by removing the "ng-app" from your markup
[08:39:42] *** Sontakey has quit IRC
[08:39:43] <JosefDe> snurfery: Right. But they forget that ngCordova's Push NOtification looks for "ng-app='XY'"
[08:39:56] *** dsdeiz has quit IRC
[08:39:57] <snurfery> why does it look for that?
[08:40:15] <JosefDe> snurfery: Because it looks for the function "onNotification" inside that controller
[08:40:41] <snurfery> that's fine
[08:40:46] <snurfery> look at the link I posted
[08:40:46] <JosefDe> snurfery: Alternatively I can set "ecb" to a "window.customfunction" but the problem then is that I can't set scope variables inside a window-function
[08:41:12] <JosefDe> snurfery: That's the second problem. ngCordova uses window-functions and not scope-functions
[08:41:29] <JosefDe> So how shall I set scope variables inside a window-function? That's so silly
[08:41:35] <nuizzy> JosefDe: yea its hard because its obscured a little.
[08:41:40] <snurfery> it manually finds the element where ng-app would normally be, then calls angular.bootstrap() on it, there's no functional difference
[08:41:46] <snurfery> let's deal with one thing at a time
[08:42:00] <JosefDe> snurfery: Ok :).
[08:42:08] <JosefDe> snurfery: So I'm doing manual bootstraping at the moment
[08:42:20] <snurfery> have you updated your plunker?
[08:42:22] <nuizzy> maybe start with a clan page and just try and get the device ready to fire
[08:42:27] <JosefDe> snurfery: No wait a second please
[08:43:06] *** Xethron has quit IRC
[08:43:27] *** larsgk has joined #angularjs
[08:43:30] *** niklasmodess has joined #angularjs
[08:43:38] *** dc_ has joined #angularjs
[08:43:41] *** platonic has quit IRC
[08:43:57] <JosefDe> snurfery: htp://plnkr.co/edit/VNmNpDR5g4xHj7kivAUD?p=preview
[08:44:08] <JosefDe> oh wait
[08:44:16] <JosefDe> snurfery: http://plnkr.co/edit/VNmNpDR5g4xHj7kivAUD?p=preview
[08:44:35] *** tkimmel has joined #angularjs
[08:44:39] *** evotuned has quit IRC
[08:44:50] *** HelperW has joined #angularjs
[08:44:54] *** ASUChander has quit IRC
[08:45:02] <JosefDe> snurfery: I changed index.js and MainAppController.js
[08:45:21] *** HelperW has quit IRC
[08:46:41] <tombee> Hi all, I'm wondering if anyone can help me figure out how I extract the logic in this controller into a re-usable service: https://github.com/tombee/shipyard/blob/angularjs-refactoring/controller/static/app/engines/engines.controller.js
[08:47:57] *** dc_ has quit IRC
[08:48:01] *** beckyconning_ has quit IRC
[08:48:43] *** Sontakey1 has quit IRC
[08:48:49] *** Sontakey has joined #angularjs
[08:48:57] *** tkimmel has quit IRC
[08:49:13] *** evilaliv3 has joined #angularjs
[08:50:07] *** ggrzybek has joined #angularjs
[08:51:59] *** Xethron has joined #angularjs
[08:52:09] *** Sontakey1 has joined #angularjs
[08:52:10] <JosefDe> snurfery: Do you have any idea?
[08:52:17] <snurfery> looking at it
[08:52:22] *** Caroga_afk is now known as Caroga
[08:52:24] <JosefDe> snurfery: Ok. Take your time
[08:52:57] *** Sontakey has quit IRC
[08:53:00] *** threesixes has quit IRC
[08:53:38] *** ASUChander has joined #angularjs
[08:54:06] <JosefDe> snurfery: Geting deviceready token works. My Service sends this AngularJS client a Push notification, but it doesn't reach the device, it only reaches the XCode-Editor. So the "onNotification" event is not fired on the device
[08:54:30] *** Sontakey1 has quit IRC
[08:54:37] *** Sontakey has joined #angularjs
[08:54:37] *** annlewis has joined #angularjs
[08:54:56] *** busticated has quit IRC
[08:54:59] *** tarnus has quit IRC
[08:55:09] *** Hippo has quit IRC
[08:55:17] *** GreenJello has quit IRC
[08:56:53] *** larsgk has quit IRC
[08:57:35] *** Xethron has quit IRC
[08:57:56] <JosefDe> snurfery: If I set "ecb" in "iosConfig" to a window.customFunction, then that "window.customFunction" is called when a Push notification is received. But otherwise, ngCordova looks for "ng-app" and in this version of my code doesn't find it as we are manually bootstrapping and not using "ng-app='MainApp'"
[08:58:39] *** gunn has quit IRC
[08:58:50] <snurfery> hmm, I feel like ng-app is populated by the angular.bootstrap() method
[08:58:58] <snurfery> but maybe not
[08:58:59] *** fairuz has left #angularjs
[08:59:15] *** annlewis has quit IRC
[08:59:16] <JosefDe> snurfery: No. In my opionin ngCordova looks for "ng-app" within html-Code
[08:59:56] <JosefDe> snurfery: And that's in my opinion a very bad thing
[09:00:12] *** frkout_ has joined #angularjs
[09:00:38] *** gunn has joined #angularjs
[09:00:47] <JosefDe> snurfery: Because waiting for deviceReady in Angular is impossible. The only thing you can do is manual bootstrap if deviceready has occured in index.html
[09:00:57] *** Xethron has joined #angularjs
[09:01:13] *** cacts has quit IRC
[09:01:24] <JosefDe> snurfery: But ngCordova on the other side looks for "ng-app", so that's a big contradiction
[09:01:31] <snurfery> really? hmm checking that
[09:01:42] *** waverider has joined #angularjs
[09:01:47] <snurfery> I mean yeah I see that right here https://github.com/driftyco/ng-cordova/blob/master/dist/ng-cordova.js#L3297
[09:01:52] <waverider> hello
[09:01:56] *** Geertje123_ has joined #angularjs
[09:01:59] <snurfery> but I wonder if bootstrap() creates the ng-app attr
[09:02:03] *** scriptThis has quit IRC
[09:02:14] <waverider> can I have access to formName.$valid from page
[09:02:15] *** mmitchell has joined #angularjs
[09:02:19] *** caitp has quit IRC
[09:02:21] *** cacts has joined #angularjs
[09:02:25] <waverider> can I have access to formName.$valid from page's controller (without creating a form controller)
[09:02:41] *** mtsr has joined #angularjs
[09:03:01] *** scriptThis has joined #angularjs
[09:03:06] <JosefDe> snurfery: How to fix this?
[09:03:41] *** frankblizzar has joined #angularjs
[09:03:51] *** frkout has quit IRC
[09:04:10] *** whunt has quit IRC
[09:04:30] <JosefDe> snurfery: As I said I can set "ecb" to "window.customFunction" in "iosOptions". But then how shall I access a scope variable inside a window.customFunction?
[09:06:40] <snurfery> you can pass it $scope if you want
[09:06:44] <snurfery> not sure
[09:06:58] <JosefDe> snurfery: But is that standard Angular thing? Is it allowed?
[09:07:00] *** mmitchell has quit IRC
[09:07:15] <snurfery> that's less of a concern
[09:07:27] *** jagga has joined #angularjs
[09:07:28] <JosefDe> snurfery: What do you mean?
[09:07:28] <snurfery> get it working, then figure out how to improve it
[09:08:06] <JosefDe> snurfery: There is nothing to improve. I only want to be sure that it is ok in AngularJS to access scope variables inside a window.customFunction
[09:08:18] *** Ajans has joined #angularjs
[09:08:24] <snurfery> you can pass $scope around, it's just an object, nothing too magical about it
[09:08:43] *** Sontakey has quit IRC
[09:08:48] *** Sontakey1 has joined #angularjs
[09:08:50] <JosefDe> snurfery: You mean I shall pass it as a variable for the window.customFunction?
[09:08:55] <snurfery> yup
[09:09:17] <snurfery> there's prolly a better way
[09:09:18] <JosefDe> snurfery: Can you give me a documentation where it says that this is allowed? I'm really afraid of that it won't work in future angular versions
[09:09:23] *** corehook has quit IRC
[09:09:28] <JosefDe> snurfery: What's the better way?
[09:09:48] <snurfery> if I knew i'd have suggested it already haha
[09:09:50] <JosefDe> snurfery: The better way would be to call a scope function instead a window.customFunction but how?
[09:09:55] *** mtsr has quit IRC
[09:09:57] <JosefDe> :D
[09:11:01] <snurfery> I gotta get back to my own code, but you have plenty of options, I'm sure you'll figure something out
[09:11:18] *** Sontakey has joined #angularjs
[09:11:38] <JosefDe> snurfery: Yeah plenty of "uncomplete" and "dirty" options which don't work and don't consider the whole context
[09:11:51] <snurfery> of course
[09:12:06] <snurfery> this is your problem, so you'll be the one to create the "complete" one for your own needs
[09:12:12] <snurfery> =)
[09:12:22] <snurfery> your challenge*
[09:12:44] *** corehook has joined #angularjs
[09:12:53] <JosefDe> :D. Yeah
[09:12:57] *** Sontakey1 has quit IRC
[09:13:42] *** sigurding has quit IRC
[09:13:52] *** Xethron has quit IRC
[09:14:30] *** tomengland_mbp has quit IRC
[09:14:33] *** jimobrien has joined #angularjs
[09:15:24] *** mikhailvs has joined #angularjs
[09:15:43] <mikhailvs> hello, is there a basic, simple way to use polymer components inside of an angular 1.3 app?
[09:15:46] *** Caroga is now known as Caroga_afk
[09:16:03] *** Xethron has joined #angularjs
[09:17:26] *** ioudas_ has quit IRC
[09:18:13] *** robksawyer has joined #angularjs
[09:18:42] *** nfroidure has joined #angularjs
[09:18:42] *** Sontakey1 has joined #angularjs
[09:19:10] *** jimobrien has quit IRC
[09:19:19] *** IJNX has quit IRC
[09:20:01] *** phuh has quit IRC
[09:20:04] *** Sontakey has quit IRC
[09:20:17] *** rajatarora has quit IRC
[09:20:26] *** Poppabear has joined #angularjs
[09:20:28] *** phuh has joined #angularjs
[09:20:34] *** lexek_ has joined #angularjs
[09:21:11] *** dannyc has quit IRC
[09:21:21] *** tbo_ has joined #angularjs
[09:22:34] *** beilabs has joined #angularjs
[09:22:58] *** yahyambah has joined #angularjs
[09:23:11] *** sinequanon has quit IRC
[09:23:38] *** robksawyer has quit IRC
[09:23:40] <yahyambah> Hii... I want to ask,, how to show pdf with angularjs on ionic framework..
[09:23:46] *** phzon has joined #angularjs
[09:23:53] <yahyambah> please helpme..
[09:24:06] *** themime has quit IRC
[09:24:25] *** robksawyer has joined #angularjs
[09:24:50] *** discgo has quit IRC
[09:25:12] *** guilbep has joined #angularjs
[09:25:51] *** mtsr has joined #angularjs
[09:26:02] *** grindmodeon has joined #angularjs
[09:26:14] <grindmodeon> Which do you use for API calls? A service? or factory?
[09:27:16] *** plato has quit IRC
[09:28:23] *** DrMabuse has joined #angularjs
[09:28:43] *** tripu has joined #angularjs
[09:29:06] *** Sontakey1 has quit IRC
[09:29:12] *** mikhailvs has left #angularjs
[09:29:32] *** frkout_ has quit IRC
[09:29:33] <sacho> either. The difference between the two is negligible.
[09:30:15] *** bengillies has joined #angularjs
[09:30:51] *** rajatarora has joined #angularjs
[09:30:58] *** sigurding has joined #angularjs
[09:31:14] <grindmodeon> sacho: too high to know what that means.
[09:31:20] *** mchammer has joined #angularjs
[09:31:23] <sacho> ok.
[09:31:25] *** MisterLemons has joined #angularjs
[09:31:38] <grindmodeon> sacho: :)
[09:32:13] *** yahyambah has quit IRC
[09:32:38] *** sk87 has joined #angularjs
[09:32:59] *** Xethron has quit IRC
[09:33:08] *** MisterLemons has quit IRC
[09:33:29] *** ahtik has joined #angularjs
[09:33:29] *** Vincent has joined #angularjs
[09:33:37] *** cacts has quit IRC
[09:33:43] *** josh-k_ has quit IRC
[09:33:44] *** edzez has quit IRC
[09:33:53] *** Vincent is now known as Guest3393
[09:33:59] *** JohnBat26 has joined #angularjs
[09:34:01] *** gruenes has quit IRC
[09:34:10] *** edzez has joined #angularjs
[09:34:15] *** frkout has joined #angularjs
[09:34:15] *** josh-k has joined #angularjs
[09:34:16] *** frkout has quit IRC
[09:34:22] *** frkout_ has joined #angularjs
[09:34:41] *** larsgk has joined #angularjs
[09:35:02] *** mtsr has quit IRC
[09:35:20] *** Guest3393 has quit IRC
[09:35:47] *** Sjimi has joined #angularjs
[09:36:02] *** zanea|away is now known as zanea
[09:36:50] *** MisterLemons has joined #angularjs
[09:36:57] *** aguiar has joined #angularjs
[09:37:28] *** MisterLemons has quit IRC
[09:37:30] *** MaxV has joined #angularjs
[09:37:51] *** Click66 has joined #angularjs
[09:38:12] *** drult has quit IRC
[09:38:47] *** josh-k has quit IRC
[09:38:55] *** mtsr has joined #angularjs
[09:39:43] *** platonic has joined #angularjs
[09:39:55] *** fairuz has joined #angularjs
[09:40:00] <JosefDe> Hey guys. How can I get a reference to a scope function like this way?: angular.element(document.querySelector('[ng-app]')).injector().get('$cordovaPush').onNotification"?
[09:40:32] *** arkin has joined #angularjs
[09:40:32] *** arkin has joined #angularjs
[09:41:08] *** drult has joined #angularjs
[09:42:15] *** sikor_sxe has joined #angularjs
[09:44:06] *** rajatarora has quit IRC
[09:44:35] *** platonic has quit IRC
[09:44:59] *** frobs has joined #angularjs
[09:45:30] *** evotuned has joined #angularjs
[09:45:34] *** frem has joined #angularjs
[09:48:05] *** ytsejam has joined #angularjs
[09:48:20] *** beilabs has quit IRC
[09:48:20] *** rburns has quit IRC
[09:48:41] *** rburns has joined #angularjs
[09:48:54] *** beilabs has joined #angularjs
[09:49:06] *** MrBaboon has quit IRC
[09:49:10] <ytsejam> good morning. Do you see any synthax errors in this paste because phantomjs gives parse synthax error. http://laravel.io/bin/0ezPR
[09:49:15] *** fixl has joined #angularjs
[09:49:50] *** ahtik has quit IRC
[09:50:23] *** evotuned has quit IRC
[09:53:09] *** AciD`` has joined #angularjs
[09:53:17] *** StryKaizer has joined #angularjs
[09:53:59] *** cilkay has quit IRC
[09:54:04] *** mkusher has joined #angularjs
[09:54:34] *** annlewis has joined #angularjs
[09:56:14] *** tangorri has joined #angularjs
[09:56:40] *** NoNMaDDeN has quit IRC
[09:56:51] *** m8 has joined #angularjs
[09:56:57] *** dannyc_ has joined #angularjs
[09:57:31] *** dannyc__ has joined #angularjs
[09:57:55] *** eamonn has joined #angularjs
[09:58:46] *** Ch4rAss has quit IRC
[09:59:17] *** annlewis has quit IRC
[09:59:50] <tombee> Any reason why 'ng-repeat="c in vm.containers | orderBy:vm.orderByField:vm.reverseSort"' wouldn't work for ordering?
[10:01:06] *** laurensclaessen has joined #angularjs
[10:01:15] *** ASUchander1 has joined #angularjs
[10:01:57] *** NoNMaDDeN has joined #angularjs
[10:02:02] *** motionman has quit IRC
[10:02:27] *** ASUChander has quit IRC
[10:02:30] *** JesuZ has joined #angularjs
[10:02:38] *** marcjs has joined #angularjs
[10:02:39] <tombee> (https://github.com/tombee/shipyard/blob/angularjs-refactoring/controller/static/app/engines/engines.html#L31)
[10:02:53] *** fbenoit has joined #angularjs
[10:02:53] <shredjs> HEy im having a very nasty problem. Im using a select with ng-model and ng-options. First when im using the select with ng-model. i can set the selected ng-model to a certain value. but when im using ng-option it doesnt work....
[10:03:53] *** lemur has quit IRC
[10:04:27] *** lemur has joined #angularjs
[10:05:07] *** tbo_ has quit IRC
[10:05:25] <sacho> why not
[10:06:49] *** ogdabou has joined #angularjs
[10:06:55] *** jaydubya has joined #angularjs
[10:07:01] <JosefDe> sacho: Hey guys. How can I get a reference to a scope function like this way?: angular.element(document.querySelector('[ng-app]')).injector().get('$cordovaPush').onNotification"?
[10:07:06] *** drult has quit IRC
[10:07:15] <JosefDe> sacho: Sorry for "Hey guys". Copy and paste error
[10:07:15] *** grindmodeon has quit IRC
[10:07:26] *** BlinkyBill has joined #angularjs
[10:07:27] *** boneskull has joined #angularjs
[10:07:39] <sacho> .scope() instead of .injector()
[10:07:49] *** ASUChander has joined #angularjs
[10:07:51] *** jaydubya_ has joined #angularjs
[10:07:57] *** jaydubya has quit IRC
[10:08:05] *** brantalvo has joined #angularjs
[10:08:14] <JosefDe> sacho: But the problem is that I'm bootstrapping the Module. There is no "ng-app" in my .html document
[10:08:15] *** jaydubya_ has quit IRC
[10:08:30] *** dan2k3k4 has joined #angularjs
[10:08:34] *** laurensclaessen has quit IRC
[10:08:38] <JosefDe> sacho: http://plnkr.co/edit/q94V8eHCGBEx6vOC5vzc?p=preview
[10:08:40] <sacho> what does a "reference to a scope function" mean?
[10:09:01] *** lemur has quit IRC
[10:09:09] *** dra has quit IRC
[10:09:19] <JosefDe> sacho: If you look at this: https://github.com/driftyco/ng-cordova/blob/master/dist/ng-cordova.js#L3297
[10:09:34] *** ASUchander1 has quit IRC
[10:09:35] *** dra has joined #angularjs
[10:09:39] <sacho> I'll see what?
[10:09:51] <JosefDe> sacho: It looks for "ng-app" in the document. But I have no "ng-app" in my html document. So what I want to do is: I want to pass a scope function selector
[10:10:03] <sacho> what's a scope function selector
[10:10:11] <JosefDe> sacho: You see that one line 3297
[10:10:17] <sacho> I saw the line.
[10:10:35] <JosefDe> sacho: What I mean is: I want to pass the scope function as ecb parameter
[10:10:55] <sacho> "the scope function"?
[10:10:56] *** adpirz has joined #angularjs
[10:10:59] <JosefDe> yes
[10:11:03] <sacho> what's that
[10:11:10] <JosefDe> sacho: Are you kidding me?
[10:11:21] <JosefDe> sacho: scope.customFunc = function() { ... }
[10:11:35] *** frem has quit IRC
[10:11:42] <sacho> well, how has this bloody scope been created if you haven't bootstrapped your app?
[10:11:58] <JosefDe> sacho: he? What do you mean?
[10:12:15] *** rtpg has quit IRC
[10:12:19] <JosefDe> sacho: I'm bootstrapping my app manually in index.html as you can see in the link from plnkr
[10:12:47] <JosefDe> sacho: And inside the controller I want to pass the scope function as parameter to ngCordova's $cordovaPush
[10:12:49] *** Nijikokun has quit IRC
[10:12:57] <sacho> no, I can't see that from the index.html in the plunker, all I see is that you have an ng-app there
[10:13:43] <JosefDe> Oh wait sorry
[10:13:49] *** frem has joined #angularjs
[10:14:24] <jagga> :p
[10:14:28] *** ahtik has joined #angularjs
[10:14:34] <sacho> you've also already injected scope into your controller, so I have no idea what exactly you're asking for
[10:14:46] *** frkout_ has quit IRC
[10:14:57] <JosefDe> sacho: http://plnkr.co/edit/VNmNpDR5g4xHj7kivAUD?p=preview (the old one was wrong)
[10:15:10] *** speaking1ode has joined #angularjs
[10:15:17] *** adpirz has quit IRC
[10:15:35] *** speakingcode has quit IRC
[10:15:36] *** TheAceOfHearts has quit IRC
[10:15:44] <JosefDe> sacho: if you look at the plunkr
[10:15:53] *** P1RATEZ has quit IRC
[10:15:53] <JosefDe> sacho: MainAppController.js
[10:15:54] *** Aliks has quit IRC
[10:16:03] *** rinceRepeat has quit IRC
[10:16:38] *** Aliks has joined #angularjs
[10:17:01] *** derrzzaa_ has joined #angularjs
[10:17:16] *** tylerdmace has quit IRC
[10:17:44] *** JosefDe has quit IRC
[10:18:20] *** derrzzaa_ has quit IRC
[10:18:26] *** JosefDe has joined #angularjs
[10:18:31] <JosefDe> I lost connection
[10:18:39] <sacho> I'm missing what your question is
[10:18:44] <JosefDe> sacho: http://plnkr.co/edit/hkybdss5PJYUP0xzgrP3?p=info
[10:18:48] <JosefDe> sacho: Now it's complete
[10:19:00] <JosefDe> sacho: If you look at MainAppController.js line 17
[10:19:01] *** rburns has quit IRC
[10:19:13] <sacho> please, "if you look" is not a question
[10:19:15] *** JosefDe has quit IRC
[10:19:19] *** rburns has joined #angularjs
[10:19:39] <sacho> you can't pass scope.customFunction before defining it
[10:19:46] *** JosefDe has joined #angularjs
[10:19:47] *** arete74 has joined #angularjs
[10:19:48] <sacho> switch their places
[10:19:51] *** grindmodeon has joined #angularjs
[10:19:55] <JosefDe> sacho: Sorry. I don't understand what's going on with connection
[10:20:01] <JosefDe> sacho: I lost conection
[10:20:04] *** phuh has quit IRC
[10:20:08] <sacho> <sacho> you can't pass scope.customFunction before defining it<sacho> switch their places
[10:20:22] <JosefDe> sacho: ok. I'm trying that out
[10:20:30] *** phuh has joined #angularjs
[10:20:38] *** frkout has joined #angularjs
[10:20:54] *** Aliks has quit IRC
[10:21:13] *** frem has quit IRC
[10:21:13] *** arete74 has left #angularjs
[10:21:26] *** drult has joined #angularjs
[10:22:10] *** beilabs has quit IRC
[10:22:23] *** Crippy has joined #angularjs
[10:22:27] <JosefDe> sacho: Doesn't work. The scope function is not called
[10:22:33] *** greengriminal has quit IRC
[10:22:58] <sacho> well that's a problem with your cordova code
[10:23:02] <JosefDe> sacho: If I use a window.customFunction and pass that as 'ecb' then it works
[10:23:02] <sacho> or whatever
[10:23:16] <JosefDe> sacho: No. That's pure AngularJS
[10:23:30] <JosefDe> sacho: If I pass a window-Function it works. Why?
[10:24:04] *** ASUChander has quit IRC
[10:24:15] <JosefDe> There has to be a simple solution to this
[10:24:37] <sacho> ask whoever wrote $cordovaPush
[10:24:54] *** ASUChander has joined #angularjs
[10:24:59] <JosefDe> sacho: That's the sad thing. You're the only active community. In the other community there is no answer
[10:25:34] * sacho shrugs
[10:25:36] *** cool has joined #angularjs
[10:25:42] *** sigurding has quit IRC
[10:25:43] *** sinclair has joined #angularjs
[10:25:54] *** tsahl has joined #angularjs
[10:26:16] <sacho> you can't pass a function to ecb anyway, it expects a string
[10:26:18] <sacho> that's disgusting
[10:26:39] *** cool has left #angularjs
[10:26:41] *** sigurding has joined #angularjs
[10:26:47] *** beilabs has joined #angularjs
[10:27:32] <JosefDe> sacho: Yeah. That's what I'm trying to say. It is really disgusting
[10:27:38] <sacho> add a controller to document.body, then set ecb to "angular.element(document.body).scope().callback"
[10:27:42] <JosefDe> sacho: They have programmed it really weird
[10:28:00] <sacho> *an ng-controller
[10:28:03] <sacho> and add scope.callback there
[10:28:54] <JosefDe> sacho: I'm thinking how to do this
[10:29:24] <sacho> or simply set your callbacks as global functions, you might as well.
[10:29:31] <JosefDe> sacho: Ok. So you say I have to add an extra controller only for this purpose to the document-body
[10:29:40] <JosefDe> sacho: You mean as window.CustomFunction?
[10:29:43] <sacho> yes
[10:29:54] <JosefDe> sacho: That's what frightens me
[10:30:00] <sacho> ok
[10:30:03] <JosefDe> sacho: Can I access scope variables inside that window function
[10:30:20] <sacho> if you defined it in your controller
[10:30:34] *** Ch4rAss has joined #angularjs
[10:30:37] <JosefDe> sacho: Yes. It works, but I'm not sure if it is allowed to do that in Standard AngularJS?
[10:31:00] <sacho> uh
[10:31:02] <JosefDe> sacho: I'm only asking for solution for days, because I thought that it's not good to set scope variables inside that window-function
[10:31:09] *** marcjs has quit IRC
[10:31:26] *** ASUChander has quit IRC
[10:31:31] <JosefDe> sacho: This is what is causing me pain
[10:31:57] <sacho> an equal solution would be to set ecb to angular.element(document.body).injector().get('someservice').callback
[10:32:04] <sacho> and use the service
[10:32:10] *** reavengr1y has joined #angularjs
[10:32:27] <JosefDe> sacho: And where do I have to inject the service?
[10:32:45] <sacho> ..?
[10:32:52] *** ASUChander has joined #angularjs
[10:33:01] <tsahl> hi
[10:33:01] <JosefDe> sacho: I mean if I say ...(document.body) then it has to be placed somewhere in the document.body, but how?
[10:33:06] <sacho> no
[10:33:25] *** tkimmel has joined #angularjs
[10:33:33] <sacho> angular.element(document.body).injector() just gets the active injector
[10:33:40] <sacho> in fact, angular.bootstrap returns the injector
[10:33:42] <sacho> so you could do
[10:33:59] <JosefDe> sacho: Ok. I've tried that out earlier and I got null. But I'm trying this out again now. Can you wait please a second so that I can give feedback?
[10:34:03] <sacho> window.injector = angular.bootstrap(...) and then ecb would be window.injector.get('service').callback
[10:34:54] <tsahl> hi, I want to ask some questions in ##hardware room, but, for some reason, I can't > it sais "Could't send to channel". Does anyone have a clue what's the problem?
[10:34:57] *** nemothekid has quit IRC
[10:35:14] <JosefDe> sacho: I have to put that code inside document body right?
[10:35:33] *** jlebrech has joined #angularjs
[10:35:46] *** rikkipitt has joined #angularjs
[10:35:51] *** sandelius has joined #angularjs
[10:35:52] <sacho> tsahl, well, your nick is probably not registered.
[10:35:53] *** grindmodeon has quit IRC
[10:36:06] <sacho> check /msg nickserv help register or ask on #freenode
[10:36:49] *** grindmodeon has joined #angularjs
[10:36:56] <tsahl> thanx, sacho. I will try that
[10:37:33] *** mkusher has quit IRC
[10:37:53] *** tkimmel has quit IRC
[10:38:38] *** startupality has joined #angularjs
[10:38:56] *** JesuZ has quit IRC
[10:39:14] *** grindmodeon has quit IRC
[10:39:14] *** ahtik has quit IRC
[10:39:29] <JosefDe> sacho: !!!!!!!
[10:39:33] <JosefDe> sacho: You're a real hero
[10:40:00] <JosefDe> sacho: I looked in hundreds of pages and asked hundres of people, but your solution is absolutely the only solution that's working 100% robust!
[10:40:01] *** venkatesh has joined #angularjs
[10:40:15] *** grindmodeon has joined #angularjs
[10:40:35] <tombee> I need a hero, I'm holding out for a hero 'til the end of the night!
[10:40:46] <tsahl> nothing works on hardware channel. Even NickServ. May be I should put the phrase some ather way?
[10:40:47] <JosefDe> sacho: There are only complex solutions out there with tens of lines of code. And you fixed it within only 2 lines of code :)
[10:41:09] *** bengillies has quit IRC
[10:41:17] <JosefDe> sacho: Man you really relieved me from a big pain
[10:41:29] <sacho> well, I'm glad
[10:41:33] <JosefDe> :D
[10:41:38] <sacho> tsahl, did you try /msg nickserv help register ?
[10:41:52] <sacho> tsahl, also, #freenode would be able to provide irc help better
[10:41:53] <JosefDe> The guy is absolutely amazing :)
[10:41:54] *** \du has joined #angularjs
[10:42:11] <tsahl> should I put all the words after slash?
[10:42:18] <tsahl> I am new heer
[10:42:22] <tsahl> here*
[10:42:31] <sacho> yes
[10:43:07] <venkatesh> can u any one help us how to run server in system using node.js
[10:43:22] *** FIFOd[a] has joined #angularjs
[10:43:54] *** tarnus has joined #angularjs
[10:44:06] <Helzibah> tsahl: were you able to type before? You may have been muted by an operator
[10:45:02] *** bengillies has joined #angularjs
[10:45:30] *** e0ipso|away is now known as e0ipso
[10:46:23] *** Sebastien-L has joined #angularjs
[10:46:30] *** evotuned has joined #angularjs
[10:46:55] *** yts has joined #angularjs
[10:48:13] <tsahl> sacho, THANK YOU! I registered and everything is fine now. I'd pray for you if I wasn't an atheist :D
[10:48:17] *** tarnus has quit IRC
[10:48:33] <tsahl> Helzibah, it's ok now
[10:48:41] *** \du has quit IRC
[10:49:02] *** tech2_ has joined #angularjs
[10:49:22] *** arpu has joined #angularjs
[10:49:44] *** davidreis has joined #angularjs
[10:49:49] <jlebrech> how do I use dashes for classes in ng-class?
[10:49:59] *** sara-zahrani has joined #angularjs
[10:50:08] *** rburns has quit IRC
[10:50:13] <jlebrech> quotes?
[10:50:30] <tombee> sacho: Are you able to tell me what I'm doing wrong on this line? https://github.com/tombee/shipyard/blob/angularjs-refactoring/controller/static/app/engines/engines.controller.js#L15
[10:50:30] <tombee> :P
[10:50:31] <Helzibah> yeah, quotes work
[10:50:37] *** Caroga_afk is now known as Caroga
[10:50:49] <sacho> what makes you think there's something wrong with it?
[10:50:51] <Helzibah> alternatively, I think you can use underscores
[10:51:03] *** sara-zahrani has quit IRC
[10:51:14] <tombee> sacho: when I print the contents of vm.orderByField in my view or console, it's blank.
[10:51:15] *** evotuned has quit IRC
[10:51:16] *** Iravan_ has quit IRC
[10:51:21] *** mmitchell has joined #angularjs
[10:51:22] *** MrBaboon has joined #angularjs
[10:51:23] *** sandelius has quit IRC
[10:51:38] <sacho> well, what does .getSortField() return?
[10:51:39] *** raj___ has joined #angularjs
[10:51:42] *** patrick99e99 has joined #angularjs
[10:51:53] *** Iravan_ has joined #angularjs
[10:52:06] *** ahtik has joined #angularjs
[10:52:10] <tombee> sacho: https://github.com/tombee/shipyard/blob/angularjs-refactoring/controller/static/app/shared/tablesort/tablesort.service.js#L36
[10:52:22] <tombee> it returns a member variable in the table sort service that contains the field to sort by
[10:52:38] *** RobertMeta has quit IRC
[10:52:39] <tombee> I'm trying to use this service to hold state, so that I can sort a table using angular
[10:52:45] <sacho> it looks like sortField is ""
[10:52:55] <sacho> so calling getSortField() would return ""
[10:53:08] <sacho> unless you called sortBy before that
[10:53:16] <tombee> Yeah, I did.
[10:53:26] *** raj___ has quit IRC
[10:54:02] <tombee> sacho: I used ng-init here: https://github.com/tombee/shipyard/blob/angularjs-refactoring/controller/static/app/engines/engines.html#L18
[10:54:17] <tombee> and I also click on the headings to call sortBy(..)
[10:54:37] *** JosefDe has quit IRC
[10:54:37] *** annlewis has joined #angularjs
[10:54:51] <sacho> where's the engines controller?
[10:55:01] *** reavengr1y has quit IRC
[10:55:02] <tombee> if I print tablesort.getSortField(), it prints the correct value.
[10:55:15] <tombee> It's here: https://github.com/tombee/shipyard/blob/angularjs-refactoring/controller/static/app/engines/engines.controller.js
[10:55:18] *** raj___ has joined #angularjs
[10:55:23] *** mmitchell has quit IRC
[10:55:24] <sacho> well yes, when your engines controller is executed,the ng-init hasn't been executed yet
[10:55:30] *** robksawyer has quit IRC
[10:55:55] *** MrBaboon has quit IRC
[10:55:57] *** Iravan_ has quit IRC
[10:55:57] *** rikkipitt has quit IRC
[10:56:02] *** sk87 has quit IRC
[10:56:05] <venkatesh> how to run server in localhost for nodejs command
[10:56:18] *** rikkipitt has joined #angularjs
[10:56:20] *** \du has joined #angularjs
[10:56:34] *** patrick99e99 has quit IRC
[10:56:47] *** marcjs has joined #angularjs
[10:56:59] *** MistahKurtz has joined #angularjs
[10:56:59] *** \du has quit IRC
[10:57:02] <sacho> tombee, are you trying to make it so vm.orderByField reflects the same value as the service's sortField?
[10:57:20] <tombee> sacho: yeah :)
[10:57:27] <sacho> it would be much simpler if you expose sortField and place your service on the scope
[10:58:16] <sacho> e.g. vm.tablesort = tablesort; vm.tablesort.sortField in your templates would do that
[10:58:26] *** NoNMaDDeN has quit IRC
[10:58:31] <tombee> Nice, ok :)
[10:58:41] <sacho> you'd need to expose sortField first, i.e. set it as a property on the object you're returning, and make the functions modify the property rather than a local variable
[10:58:43] *** NoNMaDDeN has joined #angularjs
[10:58:45] *** brantalvo has quit IRC
[10:58:49] *** venkatesh has quit IRC
[10:59:15] *** annlewis has quit IRC
[10:59:27] *** AlSquire has joined #angularjs
[10:59:36] *** Xethron has joined #angularjs
[10:59:49] *** sk87 has joined #angularjs
[11:00:47] <tombee> sacho: great, I'll give that a try and see if I can make it work :)
[11:01:04] *** grindmodeon has quit IRC
[11:01:27] *** debdeep has joined #angularjs
[11:01:28] <debdeep> hello
[11:01:43] *** joroc has joined #angularjs
[11:02:04] <debdeep> can any one help me on angularJS radio button selection in ng-repeate
[11:02:10] *** trend has joined #angularjs
[11:02:22] <Helzibah> debdeep: try summarising your problem (either in text or ideally in a plunker)
[11:02:37] <Crippy> I have a select list which its option values are True & False, all post ok to database. But I have a filter on the ng-init to show yes or no depending on value, but it doesnt seem to work. Can this be done?
[11:03:10] *** jimobrien has joined #angularjs
[11:03:10] *** doug64k has quit IRC
[11:03:12] <debdeep> <div ng-repeat="a in q.Question.AudittemplateQuestionAnswer"> <label style="font-weight:normal; font-size:small"> {{$index+1 + '.'}} {{a.AnswerValue}} <input class="gridradio" name={{a.QuestionID}} type="radio" ng-value="true" ng-model="a.Selected" ng-checked="a.Selected" ng-change= "on
[11:03:25] *** GreenJello has joined #angularjs
[11:03:39] <debdeep> if i have 3 answer , yes , no , NA
[11:04:26] *** FIFOd[a] has quit IRC
[11:04:29] <debdeep> when i click yes, yes Selected set to true but when i click on No yes selected is not set to false
[11:04:37] *** azizur has joined #angularjs
[11:04:41] <debdeep> no and yes both selected set to true
[11:04:46] *** minimoo1 has quit IRC
[11:04:59] *** FIFOd[a] has joined #angularjs
[11:05:36] <debdeep> it is not setting previous seleted to false !
[11:05:39] <debdeep> why?
[11:06:05] *** vinise has joined #angularjs
[11:06:12] <debdeep> although html view is working fine but the problem is in the model
[11:06:45] *** trend has quit IRC
[11:06:45] *** NoNMaDDeN has quit IRC
[11:06:46] *** nerder has joined #angularjs
[11:06:55] <nerder> hello
[11:06:58] *** zanea is now known as zanea|away
[11:07:17] *** jimobrien has quit IRC
[11:07:27] <vinise> HI looking for a way to have an ng-view inside an other and be able to change template & controller dynamicaly (a bit like loading a modal)
[11:07:47] *** rikkipitt has quit IRC
[11:08:21] <Crippy> debdeep im having a similar problem too
[11:09:00] *** rikkipitt has joined #angularjs
[11:09:32] <debdeep> do we need to set all answer value set to false ?
[11:09:48] *** Left_Turn has joined #angularjs
[11:10:13] <Crippy> vinise look at DanWahlin customer manager app on github
[11:10:30] <Crippy> it has a nice was of including views in views etc
[11:10:43] *** rikkipit_ has joined #angularjs
[11:10:48] *** Jagadheesh has joined #angularjs
[11:10:56] <vinise> thanks Crippy ;) looking at it
[11:11:01] *** rikkipitt has quit IRC
[11:11:15] <Crippy> in his controller he calls modals etc
[11:11:24] <Crippy> should be of some help
[11:11:33] <vinise> hope so :p
[11:12:32] *** Jagadheesh has quit IRC
[11:12:38] *** tsahl has quit IRC
[11:13:03] <nerder> hello. anybody know a solution if i have 2 form that build the same object, in 2 different context? this is the code: https://gist.github.com/anonymous/f84aac9e8ae31e5ab43b
[11:13:56] <nerder> the search-form, is fixed in the page, and have to work even alone, when is use this one i set the Current date and time to build my request
[11:13:59] *** nuizzy has quit IRC
[11:14:29] <nerder> when there is the form.html view i need to make this form work 2togher if the checkbox is unselected, is that possibile?
[11:15:06] *** sk87 has quit IRC
[11:15:10] *** JesuZ has joined #angularjs
[11:15:10] <tombee> sacho: so if I'm exposing that tablesort service, do you think it's ok if I just allow the view to call it directly for all operations?
[11:15:39] <sacho> sure, why not
[11:16:10] <tombee> it does simplify things a lot, and really, I'm not sure it's the controller's job to know anything about view specific sorting
[11:16:22] *** vassagus has joined #angularjs
[11:16:30] <sacho> it is
[11:16:45] <sacho> but you don't need to write wrapper functions for functionality you have, if you can just use it directly
[11:16:49] *** tga has joined #angularjs
[11:17:05] <tga> greetings
[11:17:23] *** TyrfingMjolnir has quit IRC
[11:17:38] <tga> basic thing that is still giving me some trouble: do you put a directive's internal logic in the link or controller functions?
[11:18:28] *** greengriminal has joined #angularjs
[11:19:32] *** svycka has joined #angularjs
[11:20:05] *** phuh has quit IRC
[11:20:19] *** k-dawg has joined #angularjs
[11:20:22] *** tripu has quit IRC
[11:20:33] *** phuh has joined #angularjs
[11:21:17] *** joshmu has quit IRC
[11:21:30] *** vassagus has quit IRC
[11:22:05] *** kevinxu_ has quit IRC
[11:22:07] *** avi__ has joined #angularjs
[11:22:12] *** nesquerra has left #angularjs
[11:22:13] *** phuh has quit IRC
[11:22:25] *** avi__ has quit IRC
[11:22:28] *** rikkipit_ has quit IRC
[11:22:46] *** tripu has joined #angularjs
[11:23:38] <sacho> well, there's two things to consider - execution sequence and interface
[11:23:53] *** phuh has joined #angularjs
[11:24:24] *** jlebrech has quit IRC
[11:25:04] <tga> the only interface I care about is through parameters on the directive
[11:25:06] <sacho> the execution sequence goes controller -> link. Also, the element the directive is applied on hasn't been added to the dom yet
[11:25:38] <sacho> as for interface, other directives can require yours, which gives them access to your directive's controller. This lets you use the directive's controller as an interface to it.
[11:25:58] *** joshontheweb has quit IRC
[11:26:37] *** scorphus has joined #angularjs
[11:26:41] <tga> alright, practical stuff, I am making an editor that replaces an <input>
[11:26:44] *** scorphus has quit IRC
[11:26:44] *** scorphus has joined #angularjs
[11:26:53] <sacho> the controllers also have a modest capability of reuse or inheritance/composition
[11:27:02] *** apertoire has quit IRC
[11:27:03] *** Sebastien-L has quit IRC
[11:27:04] <tga> something like <input foo extra-data="bar" />
[11:27:08] *** \du has joined #angularjs
[11:27:10] <Crippy> ng-init="project.Accredited === 'yes' ? true : 'No'" ... cant get this ng-init to work with boolean values on load
[11:27:20] <sacho> so my preference would be to place anything that doesn't involve dom manipulation in the controller.
[11:27:48] <Crippy> is there any good reading about initialising with booleans in a select...
[11:27:59] *** \du has quit IRC
[11:28:08] *** \du has joined #angularjs
[11:28:12] <tga> I see
[11:28:14] *** preben__ has joined #angularjs
[11:28:28] *** platonic has joined #angularjs
[11:28:31] <sacho> what do you mean you can't get the ng-init to work? What do you expect it to do?
[11:28:42] *** phuh has quit IRC
[11:28:42] <tga> practically if you don't care about inheritance or reuse, only internal logic, the same code would work in both link and controller?
[11:28:48] *** cxz has quit IRC
[11:28:55] *** jlebrech_ has joined #angularjs
[11:28:56] <tga> setting things on the scope basically
[11:28:59] *** whitebook has joined #angularjs
[11:29:06] *** preben__ has quit IRC
[11:29:28] *** Sebastien-L has joined #angularjs
[11:31:06] *** mennea_ has quit IRC
[11:31:38] *** corehook has quit IRC
[11:31:40] *** minimoo1 has joined #angularjs
[11:32:45] <sacho> sure.
[11:32:53] *** Wizek has joined #angularjs
[11:33:00] *** svycka has quit IRC
[11:33:12] *** platonic has quit IRC
[11:33:16] *** whitebook has quit IRC
[11:33:33] *** corehook has joined #angularjs
[11:33:37] *** Ch4rAss has quit IRC
[11:33:41] *** \du_ has joined #angularjs
[11:33:47] <tga> sacho: why is it recommended to add $watches in link then?
[11:34:05] <tga> sacho: if you are only watching things that are passed in as directive parameters
[11:34:16] *** Aerospark has quit IRC
[11:34:16] *** \du_ has quit IRC
[11:34:44] *** joroc has quit IRC
[11:34:53] *** trovster has joined #angularjs
[11:35:07] *** Nicolas________ has joined #angularjs
[11:35:08] *** ahtik has quit IRC
[11:35:39] *** Aerospark has joined #angularjs
[11:36:40] <sacho> who's recommending that?
[11:38:20] *** corehook has quit IRC
[11:38:23] *** snapwich has quit IRC
[11:39:06] <burzum2> when im accessing the parent scope from within a directive is it read only? $scope.$parent
[11:40:01] <sacho> no
[11:40:57] <nerder> what i can do if i have to use 3 value from 3 different controller? i need a service?
[11:41:51] <ytsejam> hello guys.. I am getting parse synthax error with this test. I cant see any errors .. can you give a short look ? http://laravel.io/bin/0ezPR
[11:42:53] *** JesuZ has quit IRC
[11:44:58] <nerder> ytsejam: just use jshint to check the syntax
[11:45:12] *** DrMabuse_ has joined #angularjs
[11:45:41] *** synestry has joined #angularjs
[11:45:46] *** bealtine has joined #angularjs
[11:46:13] *** dc_ has joined #angularjs
[11:46:28] *** D-Boy has quit IRC
[11:46:35] *** D-Boy has joined #angularjs
[11:46:54] <Crippy> has anyone any good reading material around ng-init with boolean values in a select...?
[11:47:14] *** evotuned has joined #angularjs
[11:47:16] *** fairuz1 has joined #angularjs
[11:47:17] *** ASUchander1 has joined #angularjs
[11:47:49] <ytsejam> nerder, jshint shows errors like "'describe' was used before it was defined" and space errors
[11:48:09] <ytsejam> still other tests work which I have written in the same synthax
[11:48:22] <debdeep> @Crippy
[11:48:41] *** DrMabuse has quit IRC
[11:48:45] <sacho> ytsejam, have you tried actually running it?
[11:48:45] <debdeep> we need to manually update the result set'
[11:48:47] <debdeep> ;(P
[11:49:27] *** ASUChander has quit IRC
[11:49:35] <ytsejam> I tried running with node
[11:49:46] *** \du has quit IRC
[11:50:12] *** Left_Turn has quit IRC
[11:50:18] *** fairuz has quit IRC
[11:50:28] <ytsejam> http://laravel.io/bin/8K92d I added the error with node.
[11:50:46] *** niklasmodess has quit IRC
[11:51:12] *** dc_ has quit IRC
[11:51:15] <sacho> well, you're not adding this 'edje' module to the modules to load
[11:51:37] *** evotuned has quit IRC
[11:51:48] <sacho> actually no, that's not what the error says, but whatever - it seems specific to that edje.js file
[11:51:54] *** BlinkyBill has quit IRC
[11:52:05] *** Naaab has joined #angularjs
[11:52:13] * sacho facepalms twice
[11:52:27] <sacho> actually, what is module.js?
[11:52:55] <ytsejam> beforeEach( module('swFrontApp') ); here is module
[11:52:55] *** debdeep has quit IRC
[11:53:05] <sacho> no, what is module.js
[11:53:36] *** ASUchander1 has quit IRC
[11:54:02] <ytsejam> node edje.js, I used like this and got error
[11:54:30] *** gunn has quit IRC
[11:54:31] *** \du has joined #angularjs
[11:54:32] *** \du has joined #angularjs
[11:54:33] *** annlewis has joined #angularjs
[11:54:40] *** NoNMaDDeN has joined #angularjs
[11:54:41] *** ASUChander has joined #angularjs
[11:54:48] <sacho> ohk. Well, your problem seems to be related to node
[11:54:55] <tga> I have something like http://pastie.org/9729727, but I get no <option> elements
[11:55:04] <Naaab> Hi guys so my $routeParams sometimes comes as undefined, any ideas ?
[11:55:11] *** gunn has joined #angularjs
[11:55:31] <tga> even though I get values in the <pre>
[11:55:33] *** \du has quit IRC
[11:55:37] *** trovster has quit IRC
[11:55:40] *** \du has joined #angularjs
[11:56:15] *** elyssonmr has joined #angularjs
[11:56:19] *** stormbytes has joined #angularjs
[11:56:22] *** \du has quit IRC
[11:56:23] <tga> do you see anything wrong with my select?
[11:56:26] *** chongwish has quit IRC
[11:56:29] *** \du has joined #angularjs
[11:56:36] <sacho> try making a plunker
[11:56:53] <ytsejam> sacho, I use karma and phantomjs and check this is controller test and it works http://laravel.io/bin/okXxQ
[11:57:02] *** JesuZ has joined #angularjs
[11:57:11] <ytsejam> but not in filters
[11:57:42] *** mennea has joined #angularjs
[11:57:49] <tga> I must be using ng-options wrong because if I create them manually with ng-repeat it's all good
[11:58:25] *** Shadda has quit IRC
[11:59:16] *** annlewis has quit IRC
[11:59:53] *** adpirz has joined #angularjs
[12:00:54] *** RobertMeta has joined #angularjs
[12:00:55] *** RobertMeta has joined #angularjs
[12:00:56] *** corehook has joined #angularjs
[12:01:44] *** joroc has joined #angularjs
[12:01:51] *** SkireM has joined #angularjs
[12:02:06] *** ASUChander has quit IRC
[12:02:44] *** Shadda has joined #angularjs
[12:02:50] <tga> sacho: yeah I'm surely missing something here http://plnkr.co/edit/FUGvRij2MX776VyD8C8T
[12:03:43] *** azizur2 has joined #angularjs
[12:04:23] *** adpirz has quit IRC
[12:04:52] *** Schtive has joined #angularjs
[12:05:08] <tga> sacho: a-ha, ng-model is required, if you don't specify it, ng-options doesn't work
[12:05:08] *** minimoo1 has quit IRC
[12:05:21] *** hasq has joined #angularjs
[12:05:42] *** jtimon has joined #angularjs
[12:05:42] *** Xethron has quit IRC
[12:05:47] *** \du has quit IRC
[12:05:55] *** \du has joined #angularjs
[12:06:20] *** azizur has quit IRC
[12:06:24] *** mennea has quit IRC
[12:06:30] *** \du has quit IRC
[12:06:31] <hasq> Hi, all! How I can watch from controller on directive variable?
[12:06:40] *** \du has joined #angularjs
[12:06:40] *** \du has joined #angularjs
[12:06:44] *** James has joined #angularjs
[12:06:54] *** Xethron has joined #angularjs
[12:07:08] *** James is now known as Guest42139
[12:08:23] <Guest42139> I have a question regarding URL routing in Angular - I have a URL which has a string as a param (e.g. http://mysite.com/department/food) the problem I have is one department is actually "n/a" so it'll be http://mysite.com/department/n/a) which of course breaks the routing. I've tried encodeURIcomponent which gives me "n%2Fa" but angular is automatically converting this directly back to n/a.. Is there a way to stop this? (I.E 8 supported) thanks so
[12:08:23] <Guest42139> much if anyone can help
[12:09:41] *** ASUChander has joined #angularjs
[12:11:13] *** sk87 has joined #angularjs
[12:13:36] *** akshaya has joined #angularjs
[12:13:46] <burzum2> when im accessing the parent scope from within a directive is it read only? $scope.$parent
[12:13:55] *** \du has quit IRC
[12:14:02] *** \du has joined #angularjs
[12:14:10] *** svycka has joined #angularjs
[12:14:13] *** BlinkyBill has joined #angularjs
[12:14:21] *** \du has quit IRC
[12:14:59] *** akshaya has left #angularjs
[12:15:13] <sacho> it's not read only.
[12:15:30] *** glassir has joined #angularjs
[12:15:31] *** ogdabou has quit IRC
[12:15:32] *** basiclaser_ has joined #angularjs
[12:16:27] *** kp666 has joined #angularjs
[12:16:46] *** \du has joined #angularjs
[12:16:47] <burzum2> sacho ok thanks i must do something wrong then :/
[12:17:18] *** rajatarora has joined #angularjs
[12:18:47] *** AlSquirrel has joined #angularjs
[12:20:38] *** \du has quit IRC
[12:20:47] *** \du has joined #angularjs
[12:20:56] *** glassir has quit IRC
[12:21:23] *** MistahKurtz has quit IRC
[12:21:25] *** IvailoStoianov has joined #angularjs
[12:21:52] *** rikkipitt has joined #angularjs
[12:22:18] *** tkimmel has joined #angularjs
[12:22:30] *** AlSquire has quit IRC
[12:23:12] *** fairuz1 has left #angularjs
[12:24:59] <tombee> So how do I go about having a controller deal with multiple views (or am I trying to deal with multiple routes? or both), e.g. I want my "EnginesController" to be able to handle CRUD operations where there is a different template for each of them
[12:25:09] *** poacher2k has joined #angularjs
[12:25:20] *** rikkipitt has quit IRC
[12:25:42] *** Evil_Peach has joined #angularjs
[12:26:30] <Evil_Peach> Hi guys, why isn't this working? http://pastie.org/9729807 it only toggles from "ture
[12:26:36] <jlebrech_> i love ng-class but now have a problem that i need to put bootstrap's columns in mixins
[12:26:38] <Evil_Peach> from "true" to "false"
[12:27:01] *** tkimmel has quit IRC
[12:27:32] *** Left_Turn has joined #angularjs
[12:27:32] *** GeertV has joined #angularjs
[12:31:00] *** enkristoffer has joined #angularjs
[12:31:44] *** minimoo1 has joined #angularjs
[12:32:01] <sacho> Evil_Peach, because you always pass true to your checkAll() function
[12:32:33] <Evil_Peach> sacho: how come? I am passing a parameter that I change from param = !param
[12:32:45] *** sigurding has quit IRC
[12:32:48] *** tarnus has joined #angularjs
[12:32:51] <sacho> yes, you're passing a value.
[12:33:08] <sacho> that value is assigned to a local variable. Then you assign another value to that local variable
[12:33:24] <sacho> none of that changes the $scope.selectAllType property
[12:33:34] *** corehook has quit IRC
[12:34:12] *** wsmoak has joined #angularjs
[12:34:16] <Evil_Peach> sacho: hmm, I understand. and how do I change the $scope.selectAllType property?
[12:34:25] <sacho> $scope.selectAllType = ...
[12:34:25] *** wsmoak has quit IRC
[12:34:25] *** wsmoak has joined #angularjs
[12:34:55] *** joroc has quit IRC
[12:35:19] *** zemanel has joined #angularjs
[12:35:23] <Evil_Peach> sacho: but I don't want to hardcode it. I want it to be a parameter, I have 3 of those and I pasted only one example that uses the CheckAll(param1, param2) function
[12:35:59] *** JayFK has joined #angularjs
[12:37:23] *** tarnus has quit IRC
[12:38:06] *** tripu has quit IRC
[12:38:49] *** duall has joined #angularjs
[12:38:56] <duall> Is there a better way to do this: http://pastebin.com/w7tfch0Q
[12:39:35] *** Aerospark has quit IRC
[12:40:14] *** MrBaboon has joined #angularjs
[12:40:35] *** mkusher has joined #angularjs
[12:41:00] *** Click66 has quit IRC
[12:41:08] *** DrMabuse_ has quit IRC
[12:41:09] <sacho> Evil_Peach, then you could return the new value from checkAll(), and assign it wherever you call it.
[12:41:32] *** GeertV has quit IRC
[12:42:40] *** corehook has joined #angularjs
[12:42:42] <Evil_Peach> sacho: any example of how to do it with the pastie I have?
[12:42:51] *** Schtive has quit IRC
[12:44:17] *** mennea has joined #angularjs
[12:44:54] *** MrBaboon has quit IRC
[12:46:42] *** JesuZ has quit IRC
[12:47:04] *** JesuZ has joined #angularjs
[12:47:40] *** caitp has joined #angularjs
[12:47:59] *** metasansana has joined #angularjs
[12:48:02] *** evotuned has joined #angularjs
[12:48:29] *** reavengr1y has joined #angularjs
[12:51:25] *** glassir has joined #angularjs
[12:51:57] *** jimobrien has joined #angularjs
[12:52:30] <Evil_Peach> sacho: you mean I need to break this function into two and make some switch case to see who called it?
[12:52:30] *** oncenull has joined #angularjs
[12:52:42] *** evotuned has quit IRC
[12:53:02] *** sk87 has quit IRC
[12:53:03] *** patrick99e99 has joined #angularjs
[12:53:30] *** JesuZ has quit IRC
[12:53:44] <duall> Is there a better way to delete in angular.forEach: http://pastebin.com/w7tfch0Q
[12:54:10] *** leslie2 has joined #angularjs
[12:54:17] *** RangerRick has quit IRC
[12:54:27] *** JesuZ has joined #angularjs
[12:54:34] *** annlewis has joined #angularjs
[12:54:38] *** RangerRick has joined #angularjs
[12:54:52] <Helzibah> duall: I would love to know, I needed to do something similar recently :(
[12:55:23] *** larsgk has quit IRC
[12:55:28] *** bengillies has quit IRC
[12:56:14] *** PrinceAMD has joined #angularjs
[12:56:28] *** glassir has quit IRC
[12:56:31] *** jimobrien has quit IRC
[12:56:41] <duall> Helzibah, :(
[12:56:45] <sacho> use .filter()
[12:56:54] *** ogdabou has joined #angularjs
[12:57:15] <nerder> how can i fill 2 form in the same time using model?
[12:57:41] *** patrick99e99 has quit IRC
[12:58:03] <Crippy> anyone know of good datetimepickers?
[12:58:26] <\du> Crippy: i use this one http://www.eyecon.ro/bootstrap-datepicker/
[12:58:31] <Crippy> for angularJS
[12:58:38] <Crippy> great du
[12:58:41] <Crippy> thanks
[12:58:52] <\du> nerder: Crippy i create a directive to init my datepicker
[12:59:12] *** annlewis has quit IRC
[12:59:12] *** bengillies has joined #angularjs
[12:59:21] *** Mackseraner has joined #angularjs
[12:59:27] <Crippy> ok thanks
[12:59:38] <\du> welcome
[13:00:07] <\du> nerder: itn't so fast javascript and angular to fill one model and in the next line the other ?
[13:00:13] <nerder> \du: even this one is nice, http://plnkr.co/edit/?p=preview
[13:00:24] <Crippy> is there a date and time picker or is that just date?
[13:00:38] <\du> nerder: if not you can use promises
[13:00:48] <Crippy> I need a dateTime picker, sorry du
[13:00:50] *** trovster has joined #angularjs
[13:01:22] <\du> Crippy: i forget about the 'time' part ;p
[13:01:32] <nerder> i need to pass the value from one form to another, and my guess is to store the value in the hidden input of the form
[13:01:36] *** vinise has quit IRC
[13:01:43] *** lugzer has joined #angularjs
[13:01:44] <Crippy> lol
[13:01:50] *** niklasmodess has joined #angularjs
[13:02:04] *** vinise has joined #angularjs
[13:02:33] *** RedOrangeZ has joined #angularjs
[13:03:05] *** glassir has joined #angularjs
[13:04:52] *** BlinkyBill has quit IRC
[13:05:39] <nerder> conceptually something like that, if there is another way you are welcome to tell me ;)
[13:05:40] <nerder> http://plnkr.co/edit/pmpe9uxtzq19MPltP0O1?p=preview
[13:06:42] *** japhar81 has quit IRC
[13:07:10] *** mokush has joined #angularjs
[13:07:26] *** davesidious__ is now known as davesidious
[13:07:51] *** stormbytes has quit IRC
[13:08:01] *** sigurding has joined #angularjs
[13:08:56] <nerder> http://plnkr.co/edit/pmpe9uxtzq19MPltP0O1?p=preview+
[13:09:32] *** sk87 has joined #angularjs
[13:09:54] *** a3gis has joined #angularjs
[13:10:25] *** Aerospark has joined #angularjs
[13:10:25] *** quantax- has quit IRC
[13:11:04] *** corehook has quit IRC
[13:12:12] *** sixr420- has quit IRC
[13:14:53] *** Aerospark has quit IRC
[13:15:59] <\du> nerder: and how are you submit the form two ?
[13:16:13] <\du> why not merge the data before sent it to the server and not in the dom ?
[13:16:51] <nerder> \du: my bad, this code looks more clear: http://plnkr.co/edit/pmpe9uxtzq19MPltP0O1?p=preview
[13:17:13] *** platonic has joined #angularjs
[13:17:17] <\du> nerder: yes i see it
[13:17:17] *** nfroidure has quit IRC
[13:17:26] <\du> but before sent the date to the server you can do something like
[13:17:26] *** trovster has quit IRC
[13:17:56] <nerder> http://plnkr.co/edit/pmpe9uxtzq19MPltP0O1?p=preview
[13:17:59] *** dsdeiz_ has quit IRC
[13:18:00] <\du> allData = $.extend($scope.newData, $scope.newData2);
[13:18:12] <nerder> i commented the code to expain you why i need to do something like that
[13:18:26] <nerder> umm
[13:18:27] <nerder> nice!
[13:18:44] <Crippy> anyone used any good DateTime Pickers for angualrJS? Have come across this one.... http://dalelotts.github.io/angular-bootstrap-datetimepicker/
[13:18:59] <\du> you merge the two object in one, just take care about don't have two property with the same new
[13:19:13] <\du> Crippy: did you checked ui-angular ?
[13:19:31] *** dylan9o4 has quit IRC
[13:19:55] <Crippy> yea its just a date picker again
[13:20:43] *** ASUchander1 has joined #angularjs
[13:20:48] <\du> no, they have also a Timepicker
[13:20:54] *** corehook has joined #angularjs
[13:21:10] <nerder> Crippy: i'm using this one: http://angular-ui.github.io/bootstrap/
[13:21:12] <Crippy> I'll try the dalelotts one here
[13:21:31] <\du> Crippy: https://angular-ui.github.io/bootstrap/ check for the date and timer picker
[13:21:37] *** platonic has quit IRC
[13:21:45] <\du> nerder: yeap, same link
[13:21:49] *** frem has joined #angularjs
[13:21:51] <\du> Crippy: they are two different componnets
[13:21:55] *** FarLight has joined #angularjs
[13:22:05] <Crippy> yea
[13:22:14] <nerder> lol
[13:22:14] *** JesuZ has quit IRC
[13:22:16] <FarLight> I am getting the error: "Looking up elements via selectors is not supported by jqLite!"
[13:22:28] <nerder> \du: i'll try your solution now
[13:22:34] <Crippy> I need to post a DateTime as the user will be picking a date along with a certain time
[13:22:35] <nerder> thank you ;)
[13:22:43] <\du> nerder: welcome
[13:23:01] <zomg> FarLight: is there a question somewhere in that statement?
[13:23:04] <Crippy> seems to be the only solution that will allow me to select a date along with a pre defined time
[13:23:08] *** ASUChander has quit IRC
[13:23:12] <\du> Crippy: put a datepicker and later filter the timepicker depending the datepicker value
[13:23:26] <FarLight> zomg: It occurs on the line "angular.element('.coin').css('opacity', 0);"
[13:23:32] <FarLight> Why might that occur?
[13:23:34] <Crippy> awww I see
[13:23:41] <Crippy> sorry du
[13:23:43] <zomg> FarLight: the error tells you exactly why it occurs :)
[13:23:58] *** qdk has quit IRC
[13:24:00] <FarLight> zomg: You mean, I can't select classes with jquery lite like I can in jquery?
[13:24:35] <zomg> Correct
[13:24:47] <zomg> You need to include jQuery-proper on the page to support that
[13:24:51] <FarLight> How do people select elements in angularjs with jquery lite?
[13:25:11] <zomg> you could use DOM's own methods like document.querySelector or such
[13:25:31] <FarLight> Probably preferable to including jquery for this one call.
[13:26:09] <zomg> Yeah, it's quite widely available these days
[13:26:32] *** frem has quit IRC
[13:26:47] *** DrMabuse has joined #angularjs
[13:26:57] *** ASUchander1 has quit IRC
[13:27:07] *** recidive has joined #angularjs
[13:27:42] *** DrMabuse_ has joined #angularjs
[13:28:14] *** ASUChander has joined #angularjs
[13:28:23] *** canthugeverycat has joined #angularjs
[13:28:41] <FarLight> zomg, thanks
[13:28:59] *** Browser has quit IRC
[13:29:23] *** Browserr has joined #angularjs
[13:29:47] <zomg> np
[13:29:49] *** DrMabuse has quit IRC
[13:30:44] *** ASUchander1 has joined #angularjs
[13:31:50] *** joroc has joined #angularjs
[13:32:46] *** ASUChander has quit IRC
[13:33:54] *** Mackseraner has quit IRC
[13:34:00] *** minimoo1 has quit IRC
[13:34:23] *** sk87 has quit IRC
[13:35:07] *** ngeksyo has joined #angularjs
[13:35:16] *** jeffisabelle has joined #angularjs
[13:37:15] *** whitebook has joined #angularjs
[13:37:17] *** rajatarora has quit IRC
[13:37:47] *** elyssonmr has quit IRC
[13:38:28] *** rud has joined #angularjs
[13:38:29] *** rud has joined #angularjs
[13:38:44] *** livingstn has joined #angularjs
[13:39:31] *** diosney has joined #angularjs
[13:40:18] *** FarLight has quit IRC
[13:40:22] *** Evil_Peach has quit IRC
[13:40:44] *** nfroidure has joined #angularjs
[13:42:19] *** mmealling has quit IRC
[13:42:32] *** jeffbalboni has joined #angularjs
[13:43:35] *** SkireM has quit IRC
[13:43:57] *** nya has quit IRC
[13:44:13] *** FunnyLookinHat has joined #angularjs
[13:45:53] *** caitp has quit IRC
[13:45:53] *** nya has joined #angularjs
[13:46:23] *** sk87 has joined #angularjs
[13:46:35] *** anjumkaiser has joined #angularjs
[13:47:27] *** fairuz has joined #angularjs
[13:47:32] *** saucey has joined #angularjs
[13:48:34] *** cotko has joined #angularjs
[13:48:36] *** jlebrech_ has quit IRC
[13:48:47] *** evotuned has joined #angularjs
[13:48:50] *** Greed has quit IRC
[13:48:51] *** davesidious has quit IRC
[13:48:54] *** adpirz has joined #angularjs
[13:49:32] <canthugeverycat> Hey guys, can anyone help me out with sending a POST request with image(file) in data ?
[13:49:32] *** boxmein has joined #angularjs
[13:50:37] *** phzon has quit IRC
[13:51:05] *** Ch4rAss has joined #angularjs
[13:51:36] *** lite has joined #angularjs
[13:51:39] *** elyssonmr has joined #angularjs
[13:51:40] *** aguiar has quit IRC
[13:51:46] *** NoNMaDDeN has quit IRC
[13:52:01] *** enkristoffer has quit IRC
[13:52:03] *** mayday_jay has quit IRC
[13:52:11] *** rileylark has joined #angularjs
[13:53:01] *** ciwolsey has joined #angularjs
[13:53:07] *** evotuned has quit IRC
[13:53:17] *** adpirz has quit IRC
[13:54:39] *** annlewis has joined #angularjs
[13:55:08] *** enkristoffer has joined #angularjs
[13:55:27] *** eBureau has joined #angularjs
[13:55:34] *** Sebastien-L has quit IRC
[13:55:34] <dannyc__> i'm passing an ngModel attribute down into a directive using scope { ngModel : '=' }. all works fine (the directive updates the model) until i bring in an ng-repeat inside that directive, and then i lose the two way binding (worked down, not up). i'm assuming it's because of the whole dot thing, and prototypical inheritance, but in this case how can i have a dot? i'm getting ngModel straight from the scope attribute of the directi
[13:55:35] <dannyc__> ve. how can i manipulate that so that when i use it in the directive view, i can do something like foo.mgModel? and still have two way binding?
[13:56:40] *** rileylark has quit IRC
[13:57:06] *** fedenunez has joined #angularjs
[13:58:19] *** ehalas2 has joined #angularjs
[13:58:53] *** annlewis has quit IRC
[14:00:25] *** tarnus has joined #angularjs
[14:01:51] *** minimoo1 has joined #angularjs
[14:03:37] *** ehalas2 has quit IRC
[14:03:51] *** Evil_Peach has joined #angularjs
[14:04:54] *** JesuZ has joined #angularjs
[14:05:00] *** joroc has quit IRC
[14:05:04] *** JesuZ has quit IRC
[14:05:50] *** lite has quit IRC
[14:05:55] *** corehook has quit IRC
[14:06:04] *** enkristoffer has quit IRC
[14:06:11] *** plato has joined #angularjs
[14:06:24] *** lite has joined #angularjs
[14:06:37] *** naiyte has quit IRC
[14:07:28] *** enkristoffer has joined #angularjs
[14:08:33] *** naiyte has joined #angularjs
[14:08:37] *** Oddman has joined #angularjs
[14:09:43] *** sk87 has quit IRC
[14:10:14] *** poofmooter has quit IRC
[14:10:44] *** lite has quit IRC
[14:10:46] *** mguillech has joined #angularjs
[14:10:53] *** Nicolas________ has quit IRC
[14:11:14] *** tkimmel has joined #angularjs
[14:11:47] *** enkristoffer has quit IRC
[14:12:05] *** Aerospark has joined #angularjs
[14:12:20] *** beilabs has quit IRC
[14:12:47] *** beilabs has joined #angularjs
[14:13:37] *** Ch4rAss has quit IRC
[14:14:27] *** quantax- has joined #angularjs
[14:15:31] *** crakrjak has joined #angularjs
[14:15:56] *** duall has quit IRC
[14:16:13] *** tkimmel has quit IRC
[14:16:25] *** akrikos has joined #angularjs
[14:16:33] *** tripu has joined #angularjs
[14:17:04] *** beilabs has quit IRC
[14:17:23] *** Aerospark has quit IRC
[14:18:32] *** testing_ has joined #angularjs
[14:18:38] *** a3gis has quit IRC
[14:19:30] <testing_> angular ui-mask with android and ipad not working.. can i use it or should i use jquery ui mask?
[14:19:52] *** VinceZa has joined #angularjs
[14:20:34] *** e0ipso is now known as e0ipso|away
[14:20:50] *** e0ipso|away is now known as e0ipso
[14:20:55] *** VinceZa has quit IRC
[14:21:21] <testing_> cursor stop after second number and then numbers are not comes in wrong order
[14:21:33] *** jlebrech has joined #angularjs
[14:22:21] *** discgo has joined #angularjs
[14:22:34] <canthugeverycat> What is the proper syntax for sending image (as multipart/form-data) in POST data via resource ?
[14:22:34] *** lsiv568 has joined #angularjs
[14:22:53] <testing_> angularjs and masked input not working with android. how can i make it work?
[14:22:58] *** VinceZa has joined #angularjs
[14:23:36] *** bkuberek has quit IRC
[14:23:59] *** VinceZa has quit IRC
[14:24:03] *** esk4nd4r has joined #angularjs
[14:24:37] *** hswolff has quit IRC
[14:25:07] *** pen has joined #angularjs
[14:25:42] *** azizur2 has quit IRC
[14:25:47] *** hswolff has joined #angularjs
[14:26:07] *** defaultdict has joined #angularjs
[14:26:16] *** phzon has joined #angularjs
[14:27:30] *** mennea has quit IRC
[14:28:20] *** bayousoft has joined #angularjs
[14:28:29] *** williamtdr has joined #angularjs
[14:28:44] *** mmitchell has joined #angularjs
[14:28:55] *** MrBaboon has joined #angularjs
[14:29:12] *** NoNMaDDeN has joined #angularjs
[14:29:24] *** storresi has joined #angularjs
[14:29:28] *** larsgk has joined #angularjs
[14:29:30] *** leslie2 has quit IRC
[14:29:32] *** VinceZa has joined #angularjs
[14:30:36] *** mccarrontr1ck has joined #angularjs
[14:31:26] *** ashokkumar has joined #angularjs
[14:31:34] *** dsdeiz has joined #angularjs
[14:31:54] <ashokkumar> can you explain any one how to use angular.bind(); function ?
[14:32:14] *** spatialbrew has joined #angularjs
[14:32:39] *** VinceZa has quit IRC
[14:32:46] *** mdedetrich has joined #angularjs
[14:32:51] *** Oddman has quit IRC
[14:33:12] *** mmitchell has quit IRC
[14:33:14] *** ashokkumar has quit IRC
[14:33:24] *** MrBaboon has quit IRC
[14:34:24] <nerder> i could call a method of a controller inside another method of the same controller?
[14:34:25] <nerder> https://gist.github.com/anonymous/48353ae94a0b3c8db48d
[14:34:32] *** VinceZa has joined #angularjs
[14:34:33] *** edrocks has quit IRC
[14:34:37] *** VinceZa has quit IRC
[14:35:12] *** VinceZa has joined #angularjs
[14:35:16] *** bradmaxs has joined #angularjs
[14:35:32] <Helzibah> nerder: line 40? try "$scope.getDetails(tripDetails);"
[14:36:32] *** testing_ has quit IRC
[14:36:50] *** sigurding has quit IRC
[14:37:12] *** Nicolas________ has joined #angularjs
[14:38:15] *** d10n-work has joined #angularjs
[14:39:12] *** jlmitch5dev has joined #angularjs
[14:39:39] *** trend has joined #angularjs
[14:40:03] *** Oddman has joined #angularjs
[14:40:08] *** sigurding has joined #angularjs
[14:40:33] *** duall has joined #angularjs
[14:40:42] *** jimobrien has joined #angularjs
[14:40:50] *** sandalon has joined #angularjs
[14:41:22] <nerder> Helzibah: yes it works now i guess, but why i got undefined trip details? https://gist.github.com/anonymous/a6af3db21370f4883082
[14:41:36] <nerder> i'm using ng-model in the right way?
[14:41:54] *** chhsiao1981 has joined #angularjs
[14:42:04] *** bradmaxs has quit IRC
[14:42:19] *** Aerospark has joined #angularjs
[14:42:21] *** bradmaxs has joined #angularjs
[14:43:40] *** compton has joined #angularjs
[14:43:49] *** mfunkie has joined #angularjs
[14:43:53] *** trend has quit IRC
[14:44:02] *** mfunkie has quit IRC
[14:45:03] *** jimobrien has quit IRC
[14:45:34] *** amethyste has joined #angularjs
[14:45:43] <amethyste> hi all
[14:46:13] *** bayousoft has quit IRC
[14:46:32] <amethyste> is that to possible to use base64 video with ng-src ?
[14:46:37] *** Schtive has joined #angularjs
[14:46:46] *** bayousoft has joined #angularjs
[14:46:52] *** lukegb has joined #angularjs
[14:47:15] <Crippy> has anyone used any drag drop feature with angular? just wondering general thoughts with it?
[14:47:15] *** mfunkie has joined #angularjs
[14:47:41] <sweeper> Crippy: it's pretty vanilla
[14:47:49] *** grindmodeon has joined #angularjs
[14:48:07] *** FIFOd[a] has quit IRC
[14:48:07] <bradmaxs> I was hoping to use the directive for the list and another one for the markers or one for both instead of the for loop but am not sure how to accomplish this. If I use 2 directives, will the $scope be available to both and will the data binding be there? http://plnkr.co/edit/AweF4do62DEad8mT5Uk0?p=preview
[14:48:16] <Crippy> simple enough to implement and use with REST?
[14:49:16] *** bayousoft has quit IRC
[14:49:33] *** evotuned has joined #angularjs
[14:49:36] *** mennea has joined #angularjs
[14:50:01] *** Wizek has quit IRC
[14:50:03] *** bayousoft has joined #angularjs
[14:50:08] *** jlmitch5dev has quit IRC
[14:50:12] *** dc_ has joined #angularjs
[14:50:51] *** Oddman has quit IRC
[14:51:26] *** mdedetrich has quit IRC
[14:51:28] <amethyste> when using data uri inside ng_src, do i need to sanitize or trust content ?
[14:51:30] *** vassagus has joined #angularjs
[14:52:01] *** edy has joined #angularjs
[14:52:17] *** bayousoft has quit IRC
[14:52:48] *** Raydiation has joined #angularjs
[14:52:49] *** bayousoft has joined #angularjs
[14:53:02] *** Aerospar_ has joined #angularjs
[14:53:09] *** Browser has joined #angularjs
[14:53:16] <Raydiation> hi, i want to redirect to $location.path('/route') if a service method returns 0.
[14:53:20] *** sher has joined #angularjs
[14:53:20] <Raydiation> whats the best way to do this
[14:53:26] *** Aerospark has quit IRC
[14:53:33] *** Artagan has joined #angularjs
[14:53:33] *** jlmitch5dev has joined #angularjs
[14:53:42] <sher> Need a suggestion.. how can i start small now so that am not blown away by 2.0 changes ?
[14:53:49] *** TommyO has quit IRC
[14:53:52] <Raydiation> sher: you cant
[14:53:59] *** tkimmel has joined #angularjs
[14:54:03] *** evotuned has quit IRC
[14:54:23] *** Linell has joined #angularjs
[14:54:27] *** brennon_ has joined #angularjs
[14:54:33] *** annlewis has joined #angularjs
[14:54:45] <scav> whats up with this angular 2 stuff?
[14:54:48] <sher> i heard there are ways to use some of the stuff now using traceur but its not clear to me
[14:54:56] *** dc_ has quit IRC
[14:55:16] <Browser> Hi, I have a field with a ng-model and a value but AngularJS resets that value when the page is loaded. How can I save the value in the ng-model before AngularJS resets it?
[14:55:19] *** TommyO has joined #angularjs
[14:55:21] *** bayousoft has quit IRC
[14:55:54] *** dllama has joined #angularjs
[14:55:55] *** bayousoft has joined #angularjs
[14:55:56] <sher> Browser: u mean page refresh ?
[14:56:04] *** vassagus has quit IRC
[14:56:04] *** ASUchander1 has quit IRC
[14:56:09] <SergioFilhow__> u must save it in local storage
[14:56:31] *** ogdabou has quit IRC
[14:56:37] <SergioFilhow__> or session storage (browser)
[14:56:41] *** walden|afk is now known as walden
[14:56:56] <sacho> Browser, you'd need to have a directive get the value and set it to the model
[14:56:57] *** grindmodeon has quit IRC
[14:57:01] *** Silne30 has joined #angularjs
[14:57:36] *** Sebastien-L has joined #angularjs
[14:57:46] *** ASUChander has joined #angularjs
[14:58:48] *** vbabiy has joined #angularjs
[14:59:01] *** FIFOd[a] has joined #angularjs
[14:59:18] *** larsgk has quit IRC
[14:59:28] *** annlewis has quit IRC
[14:59:40] <Helzibah> hmm, IE8 often seems to refuse to load angular, I'm gettig {{templates}} everywhere. I believe I have my id="ng-app" etc set up correctly, and after enough refreshes it *does* load...
[15:00:14] *** jheady has joined #angularjs
[15:00:26] <sher> something failed.. check console
[15:00:36] *** dan2k3k4 has quit IRC
[15:00:46] <Helzibah> nope, no errors
[15:00:48] *** thumpba has joined #angularjs
[15:00:50] *** jheady has left #angularjs
[15:00:58] *** Fishy has joined #angularjs
[15:00:59] *** jae has joined #angularjs
[15:01:02] <Browser> sacho: at the moment the page loads, the value is right as I can see it in the Inspect Element tool but then, as the ng-model is empty, the field is blank.
[15:01:05] <Helzibah> I already had to downgrade to 1.2.26 to fix errors it was finding in angular itself
[15:01:21] *** bayousoft has quit IRC
[15:01:25] *** tristanp has joined #angularjs
[15:01:47] *** joroc has joined #angularjs
[15:01:50] <sacho> Browser, yes, I know
[15:01:58] *** sher has quit IRC
[15:02:02] *** bayousoft has joined #angularjs
[15:02:18] *** ASUChander has quit IRC
[15:02:25] *** jdcasey has joined #angularjs
[15:02:42] *** FunnyLookinHat has quit IRC
[15:02:44] *** crakrjak has quit IRC
[15:02:47] *** VeeWee has quit IRC
[15:03:06] *** crakrjak has joined #angularjs
[15:03:14] *** whitebook has quit IRC
[15:03:16] *** elrabin has joined #angularjs
[15:03:19] *** danecando has joined #angularjs
[15:03:22] *** mmealling has joined #angularjs
[15:03:36] *** rileylark has joined #angularjs
[15:03:55] *** IvailoStoianov has quit IRC
[15:03:55] *** pushpak has joined #angularjs
[15:04:27] *** rileylark has joined #angularjs
[15:04:27] *** minimoo1 has quit IRC
[15:04:59] *** Oddman has joined #angularjs
[15:05:18] *** joshskidmore_ has quit IRC
[15:05:44] *** asheinfeld has joined #angularjs
[15:05:58] *** platonic has joined #angularjs
[15:06:07] *** rosieres has quit IRC
[15:06:25] *** azizur has joined #angularjs
[15:06:32] <duall> $rootScope.$on('SyncInbound, SyncDeleted', function() { can i have multiple like this ?
[15:06:47] <duall> ^ Does not work, neither does without comma
[15:07:02] *** ogdabou has joined #angularjs
[15:07:16] <scav> nobody got any info? if angular 2.0 is going to be a new framework, and angular 1.3 will die in a couple of years, then i dont see any reason to use it
[15:07:21] *** jlmitch5dev has quit IRC
[15:07:38] *** darrin has joined #angularjs
[15:07:56] *** SuperPhly has quit IRC
[15:07:59] <Helzibah> scav: do you really expect your web apps to still be up and exactly the same in 2 years?
[15:08:09] *** chrisshattuck has joined #angularjs
[15:08:29] *** brennon_ has quit IRC
[15:08:36] *** joshskidmore has joined #angularjs
[15:08:39] <duall> what are web apps ? (me: 3 years ago)
[15:08:40] *** dman777_alter has joined #angularjs
[15:09:09] *** ASUChander has joined #angularjs
[15:09:22] <GeneralChoomin> i say we move to angular 6.3
[15:09:55] *** xxMatiasFCxx has joined #angularjs
[15:10:03] <compton> but let's call it angular 10
[15:10:09] *** imehesz has joined #angularjs
[15:10:29] <xxMatiasFCxx> Hey guys, do you know any library to create charts that allows to export as image? (nodejs is acceptable also)
[15:10:29] *** bayousoft has quit IRC
[15:10:32] *** exp10r3r has quit IRC
[15:10:42] *** platonic has quit IRC
[15:10:50] <GreenJello> xxMatiasFCxx, pretty much all of them
[15:11:01] <xxMatiasFCxx> GreenJello, like which ?
[15:11:02] *** bayousoft has joined #angularjs
[15:11:17] *** lexek_ has quit IRC
[15:11:38] <xxMatiasFCxx> GreenJello, I know charts.js but not sure if it is supported
[15:11:42] <GreenJello> pick one, and if it's using svg or canvas, then you can get an image from it
[15:12:26] <SergioFilhow__> I have an element with a ng-repeat with an event onclick, I want to get the data attached to the current element on the click event handler, is it possible?
[15:12:30] *** cotko has quit IRC
[15:12:39] *** SuperPhly has joined #angularjs
[15:13:14] <nerder> http://plnkr.co/edit/CiaM7NybNRY5RItR9gwm?p=preview why the ng-model dosent work?
[15:13:18] <Linell> SergioFilho: you can make that ng-click event function accept a parameter that is the data
[15:13:20] *** VinceZa has quit IRC
[15:13:21] *** chrisshattuck has quit IRC
[15:13:27] *** bayousoft has quit IRC
[15:13:39] *** jmckind has joined #angularjs
[15:14:04] *** bayousoft has joined #angularjs
[15:14:36] *** prosper has joined #angularjs
[15:14:46] *** ASUChander has quit IRC
[15:14:59] *** jae has quit IRC
[15:15:00] *** prosper is now known as Guest27368
[15:15:09] *** juanpablo_ has joined #angularjs
[15:15:13] *** stephan|2 has joined #angularjs
[15:15:38] <stephan|2> hello, is there is any solution for $routeProvider works not only on root folder of the server?
[15:15:45] *** ASUChander has joined #angularjs
[15:16:00] *** hiddentoken has joined #angularjs
[15:16:04] *** Ch4rAss has joined #angularjs
[15:16:17] *** whitebook has joined #angularjs
[15:17:01] *** lite has joined #angularjs
[15:18:11] *** corehook has joined #angularjs
[15:18:17] *** jmckind has quit IRC
[15:18:39] *** jheady1 has joined #angularjs
[15:18:46] *** tomzx`afk is now known as tomzx
[15:19:02] *** Geertje123_ has quit IRC
[15:19:13] *** nicholes has joined #angularjs
[15:19:58] *** AngularUI has joined #angularjs
[15:19:58] <AngularUI> [bootstrap] iranreyes opened pull request #3000: Add IE8 compatibility for tab directive (master...ietabscompatible) http://git.io/DBfdng
[15:19:58] *** AngularUI has left #angularjs
[15:20:43] *** xavia has joined #angularjs
[15:20:54] *** Iravan has joined #angularjs
[15:20:54] *** ctanga has joined #angularjs
[15:21:08] *** khayes has quit IRC
[15:21:23] *** lite has quit IRC
[15:21:23] *** SuperPhly has quit IRC
[15:21:26] *** annlewis has joined #angularjs
[15:21:26] *** Guest27368 has quit IRC
[15:21:52] *** zivester has joined #angularjs
[15:22:10] *** AngularUI has joined #angularjs
[15:22:10] <AngularUI> [bootstrap] pkozlowski-opensource closed pull request #3000: Add IE8 compatibility for tab directive (master...ietabscompatible) http://git.io/DBfdng
[15:22:10] *** AngularUI has left #angularjs
[15:22:25] *** maraneta has quit IRC
[15:22:35] *** BillCriswell has joined #angularjs
[15:22:41] *** plato has quit IRC
[15:22:58] *** corehook has quit IRC
[15:23:07] *** duall has quit IRC
[15:23:21] *** jheady1 has quit IRC
[15:23:30] *** nuizzy has joined #angularjs
[15:23:44] *** nicholes has quit IRC
[15:24:22] *** Una has joined #angularjs
[15:24:27] *** dsdeiz has quit IRC
[15:24:32] *** cotko has joined #angularjs
[15:25:21] *** HelperW has joined #angularjs
[15:25:27] *** vonnegut has joined #angularjs
[15:25:30] *** aks123 has joined #angularjs
[15:25:38] *** SuperPhly has joined #angularjs
[15:25:54] *** bmac has joined #angularjs
[15:26:11] *** aks123 has quit IRC
[15:26:49] *** cotko has quit IRC
[15:27:07] *** cotko has joined #angularjs
[15:27:10] *** sk87 has joined #angularjs
[15:27:37] *** duall has joined #angularjs
[15:27:53] *** taybin has joined #angularjs
[15:28:17] *** rajatarora has joined #angularjs
[15:28:26] *** bpmj has joined #angularjs
[15:28:29] *** bayousoft has quit IRC
[15:29:27] *** bayousoft has joined #angularjs
[15:30:02] *** jheady has joined #angularjs
[15:30:07] *** jaznow has joined #angularjs
[15:30:15] *** SuperPhly has quit IRC
[15:30:18] *** JBreit has quit IRC
[15:30:20] *** Una has quit IRC
[15:30:37] <nerder> anybody can explain me why this code dosent work as expected: http://plnkr.co/edit/CiaM7NybNRY5RItR9gwm?p=preview
[15:31:47] *** minimoo1 has joined #angularjs
[15:31:53] *** __emps is now known as _emps
[15:32:04] <Linell> nerder: look closely at where your ng-controller is compared to where your span displaying date is
[15:32:12] *** corehook has joined #angularjs
[15:32:30] *** qdk has joined #angularjs
[15:33:04] *** rajatarora has quit IRC
[15:33:09] *** crakrjak has quit IRC
[15:33:16] *** SuperPhly has joined #angularjs
[15:33:28] *** caitp has joined #angularjs
[15:33:33] <nerder> ow! i didn't see that
[15:33:37] *** jbsio has joined #angularjs
[15:33:37] *** Milk_weed has joined #angularjs
[15:33:39] *** bpmj has quit IRC
[15:33:51] *** bpmj_ has joined #angularjs
[15:33:56] <\du> [bootstrap] iranreyes opened pull request #3000: Add IE8 compatibility for tab directive (master...ietabscompatible) http://git.io/DBfdng
[15:33:58] *** bpmj_ has quit IRC
[15:34:01] <\du> ^ hahaha sure
[15:34:25] *** bpmj has joined #angularjs
[15:34:34] *** jheady has left #angularjs
[15:34:44] *** Una has joined #angularjs
[15:34:49] *** jlmitch5dev has joined #angularjs
[15:34:56] <oniijin> lol
[15:35:38] *** FunnyLookinHat has joined #angularjs
[15:36:00] *** joroc has quit IRC
[15:36:01] <scav> Helzibah: no, but i do expect a framework to remain within the boundaries of its initial version, not implemented as a new framework with the same name and 2.0 slapped at the end of it
[15:36:10] *** Milk_weed has quit IRC
[15:36:22] <oniijin> y
[15:36:33] *** Una has quit IRC
[15:36:35] <oniijin> that's the point of major version releases
[15:36:40] *** elxa has quit IRC
[15:36:53] <scav> this isnt a major version release, this is a new framework
[15:37:00] <scav> it could just as well have been called angular2 1.0
[15:37:19] *** catonabike has joined #angularjs
[15:37:23] *** lewdev has quit IRC
[15:37:23] *** thumpba has quit IRC
[15:37:29] *** kp666 has quit IRC
[15:37:33] <oniijin> dunno y people are so butthurt about something that isn't even coming out for a long time
[15:37:41] <catonabike> how do you handle third-party libs in your angular code? if I make a factory to return them from $window, I can mock them ... worth it? alternatives?
[15:37:45] *** Caroga is now known as Caroga_afk
[15:37:47] <Linell> It's not like 1.x stuff is going to just disappear, either.
[15:37:48] *** adpirz has joined #angularjs
[15:38:01] *** yoshokatana has joined #angularjs
[15:38:05] <catonabike> do you use them globally and put them in a provider only once you need to mock them?
[15:38:18] *** vassagus has joined #angularjs
[15:38:53] *** SuperPhly has quit IRC
[15:39:10] *** sirkitree|afk is now known as sirkitree
[15:39:23] *** jlmitch5dev has quit IRC
[15:39:32] *** yoshokatana has quit IRC
[15:39:48] <scav> oniijin: because "people" are maintaining applications of size?
[15:39:50] *** Raging_Hog has quit IRC
[15:39:59] *** Poppabear has quit IRC
[15:40:03] <oniijin> so don't update to ng2
[15:40:24] *** pardo_bsso has joined #angularjs
[15:40:30] <scav> i wont, im not even sure i can convince my team to keep working with angular anymore
[15:40:35] <scav> let alone, management
[15:41:05] *** lewdev has joined #angularjs
[15:41:19] *** AciD`` has quit IRC
[15:41:32] <BahamutWC> 1.3 is going to be supported for 1.5 years after 2 comes out - what more guarantee do you want?
[15:41:42] <BahamutWC> that will likely be at least 2.5 years from now
[15:42:00] <oniijin> no change evah BahamutWC
[15:42:09] <jbsio> hey guys. for the sake of my own sanity, i can't get animations working on ng-view. my project uses 1.3.2. i have a css class with (what i believe to be) the correct additional classes for animation. any suggestions? http://pastebin.com/KB3HKnbC
[15:42:17] <oniijin> IE6 4eva
[15:42:50] <boxmein> semantic versioning's entire point is that you can define a new major version and make incompatible API changes
[15:42:54] <vinise> It is possible to retrieve next templateUrl inside $locationChangeStart ??
[15:43:00] *** adpirz has quit IRC
[15:43:01] <scav> BahamutWC: a migration path for once, nobody cares about support, when they have invested money into a front end tech which either a) dies or b) fragments
[15:43:04] *** larsgk has joined #angularjs
[15:43:37] <boxmein> and, if people really are as butthurt as they seem about 2.0 redefining a lot of things (probably going to use web components, lol), then why not keep using 1.3?
[15:43:45] *** Siecje has joined #angularjs
[15:43:51] <oniijin> bc butthurt
[15:43:52] <boxmein> it's not like python 3 completely eradicated python 2
[15:43:54] *** IvailoStoianov has joined #angularjs
[15:43:55] <boxmein> people are still using python 2
[15:44:23] <oniijin> mainly I don't get the freakout. they're not even sure what ng2 is really going to look like yet
[15:44:35] <scav> incredible, nobody has SINGLE negative remark about the path to 2.0, its just fucking perfect for everyone?
[15:45:04] <oniijin> it's too early to get pissy
[15:45:05] <boxmein> I'm not saying it's perfect for everyone
[15:45:11] <catonabike> also I thought there was a tool for generating angular-specific docs, but all i find is https://github.com/ryanzec/angular-doc which is deprecated for an undocumented repository (that being the cool thing for nodejs packages to do) that appears to be untouched since march 18
[15:45:12] <scav> there is no freakout, but they have stated that it will not be compatible, and that there is a 2 year migration window
[15:45:15] <scav> *at best*
[15:45:26] <catonabike> thoughts?
[15:45:41] <boxmein> I'm saying that there's no point in freaking out, since the angular project really is theirs to take wherever
[15:45:45] <catonabike> yellow is a superior color to purple. thoughts?
[15:45:56] <boxmein> catonabike: lol
[15:45:56] <oniijin> evaluate your tools, if you think it's doomed, you have more than 3.5 years to change to something better
[15:46:07] *** crakrjak has joined #angularjs
[15:46:16] <boxmein> and seeing as html web components and angular kind of strive towards the same goal, element directives at least
[15:46:20] <catonabike> oniijin: "hand wave"
[15:46:23] <BahamutWC> same as what everyone else has said so far, but also, we've been experimenting with future tech already at my company since we are concerned with how much ES6 and web components are already going to change the landscape
[15:46:32] *** bayousoft has quit IRC
[15:46:35] *** NoNMaDDeN has quit IRC
[15:46:38] <BahamutWC> web components as it is are pretty incompatible with Angular 1.x
[15:46:48] *** mewm has joined #angularjs
[15:46:57] <catonabike> this channel should be called #rubberduck
[15:47:02] <boxmein> so it would make sense for angular (developed by google) to try and incorporate native web components etc (webcomponents.js/polymer ui, also developed by google), into angular
[15:47:04] *** bayousoft has joined #angularjs
[15:47:26] *** simplyshipley has joined #angularjs
[15:47:27] *** crakrjak has quit IRC
[15:47:29] <catonabike> /topic ask questions, get frustrated, find your own answers
[15:47:34] *** SuperPhly has joined #angularjs
[15:47:36] <boxmein> catonabike: lol
[15:47:37] *** bkuberek has joined #angularjs
[15:47:47] <oniijin> if you were able to find your own answer, then maybe you didn't try hard enough the first time?
[15:47:50] <BahamutWC> the more we investigate, we're becoming increasingly convinced at my company that the choices the angular team in general are making are sensible
[15:47:51] <ClearsTheScreen> catonabike: the channel isn't called #fixmyangularproblems either ... ;)
[15:48:17] <boxmein> catonabike: it's weird there isn't a great utility for it like protractor for end-to-end tests
[15:48:20] <ClearsTheScreen> also, purple > yellow >:| ;)
[15:48:22] <oniijin> #givemecodeicancopyformyjob
[15:48:23] <boxmein> catonabike: well... here's your chance! :D
[15:48:30] <catonabike> ha
[15:48:37] <boxmein> #stackoverflow_except_quicker
[15:48:40] <catonabike> i recall in 2012 there was such a tool but i can't seem to find it
[15:48:56] *** nycdevgirl has joined #angularjs
[15:48:59] <Floyd_> has anyone experience with nested angular directives? Like <my-directive my-second-directive></my-directive>. Is there a good read or smt? got in trouble with them latly
[15:49:01] *** mubi has joined #angularjs
[15:49:16] <catonabike> ClearsTheScreen: that's true, it's not a support channel
[15:49:31] *** crakrjak has joined #angularjs
[15:49:44] <catonabike> ClearsTheScreen: it's a different beast altogether and always has been that way
[15:49:52] <catonabike> ClearsTheScreen: #rubberduck
[15:50:00] *** jae has joined #angularjs
[15:50:03] <BahamutWC> Floyd_: funny you should ask that, the latest angular talk at Google in Mountain View last night involved nesting directives
[15:50:03] *** plato has joined #angularjs
[15:50:19] *** evotuned has joined #angularjs
[15:50:25] *** macabre has joined #angularjs
[15:50:29] *** fixl has quit IRC
[15:50:31] *** crakrjak has quit IRC
[15:50:31] <BahamutWC> there will probably be video available within the next couple of days on it (it involved nesting form elements and dynamically generating forms)
[15:50:31] <Floyd_> BahamutWC: really? Any slides or something i could ready?
[15:50:38] <BahamutWC> oh right there are slides too
[15:50:43] <Linell> Ha, #rubberduck is a thing.
[15:50:52] *** Bovine has joined #angularjs
[15:50:53] <Floyd_> BahamutWC: that is exactly my use case. generating forms
[15:50:59] *** yoshokatana has joined #angularjs
[15:51:06] <catonabike> hehe
[15:51:33] <BahamutWC> crap, don't remember the url :(
[15:51:36] <BahamutWC> trying to fish for it
[15:51:42] <catonabike> try chicken livers
[15:52:06] *** Oddman has quit IRC
[15:52:29] *** Sebastien-L has quit IRC
[15:52:36] <Floyd_> thank you BahamutWC!
[15:52:36] *** bayousoft has quit IRC
[15:52:40] *** jbsio has left #angularjs
[15:52:41] *** edy_ has joined #angularjs
[15:52:42] <BahamutWC> Floyd_: huh, looks like there was a whole article on it posted beforehand - http://www.yearofmoo.com/2014/09/taming-forms-in-angularjs-1-3.html
[15:52:57] <BahamutWC> the speaker was Matias, the creator of ngAnimate
[15:53:03] <BahamutWC> who wrote that article as well likely
[15:53:03] *** bayousoft has joined #angularjs
[15:53:04] <catonabike> there we go, it's called ngdoc. see?
[15:53:18] *** SuperPhly has quit IRC
[15:53:21] <catonabike> now, i guarantee most everybody here knows of ngdoc. it's quite common, but i'd forgotten the name.
[15:53:23] *** fedenunez has quit IRC
[15:53:25] *** Oxynum has joined #angularjs
[15:53:28] *** canthugeverycat has quit IRC
[15:53:57] *** xavia has quit IRC
[15:54:19] *** falk_netstyler has joined #angularjs
[15:54:46] *** fakingfantastic has joined #angularjs
[15:55:05] *** cacts has joined #angularjs
[15:55:18] *** evotuned has quit IRC
[15:55:23] <Floyd_> catonabike: hopefully you survived your wait of like not even 10mins. must have been pretty hard ;)
[15:55:33] *** fedenunez has joined #angularjs
[15:55:35] *** Sebastien-L has joined #angularjs
[15:55:37] *** bayousoft has quit IRC
[15:55:45] <Floyd_> BahamutWC: Thanks! I'll read it. Looks very promissing.
[15:56:05] *** rchavik has quit IRC
[15:56:17] *** bayousoft has joined #angularjs
[15:56:18] *** edy has quit IRC
[15:56:34] *** AciD`` has joined #angularjs
[15:57:04] *** MaxV has quit IRC
[15:57:13] *** dan2k3k4 has joined #angularjs
[15:57:40] *** nycdevgirl has quit IRC
[15:58:04] *** MaxV has joined #angularjs
[15:58:15] *** soee_ has joined #angularjs
[15:58:18] *** sk87 has quit IRC
[15:58:19] *** doug64k has joined #angularjs
[15:59:08] *** nycdevgirl has joined #angularjs
[15:59:10] *** shackleford has joined #angularjs
[15:59:11] *** diegoaguilar has quit IRC
[15:59:11] *** josh-k has joined #angularjs
[15:59:24] *** NorthBlast has joined #angularjs
[15:59:32] *** drult_ has joined #angularjs
[15:59:45] *** shackleford has quit IRC
[16:00:22] *** shackleford has joined #angularjs
[16:00:46] *** afuggini has quit IRC
[16:01:22] *** no1uknow has joined #angularjs
[16:01:38] *** bayousoft has quit IRC
[16:01:39] <dman777_alter> does $on produce a digest()?
[16:02:09] *** bayousoft has joined #angularjs
[16:02:23] *** drult has quit IRC
[16:02:27] *** soee has quit IRC
[16:02:46] <catonabike> Floyd_: what's that supposed to mean? it's not like the channel was idle and i had a simple question. by all reckoning my wait would be indefinite because the question as ignored
[16:02:50] *** soee_ is now known as soee
[16:03:18] <catonabike> Floyd_: regulars here don't really read all the questions as all, i'll have to become a regular again
[16:03:22] <BahamutWC> catonbike: what's the questions?
[16:03:32] <BahamutWC> question*
[16:03:33] *** Geertje123_ has joined #angularjs
[16:03:33] *** MaxV has quit IRC
[16:03:35] <catonabike> BahamutWC: i'd forgotten that ngdoc is called ngdoc
[16:03:36] *** NoNMaDDeN has joined #angularjs
[16:03:39] *** FIFOd[a] has quit IRC
[16:03:40] *** vbabiy has quit IRC
[16:03:45] <catonabike> BahamutWC: was wondering what the name of that angular doc thing was, it was ngdoc
[16:03:49] *** thedodd has joined #angularjs
[16:03:50] *** josh-k has quit IRC
[16:04:06] *** bpmj has quit IRC
[16:04:08] *** vbabiy has joined #angularjs
[16:04:17] *** whitebook has quit IRC
[16:04:31] <catonabike> BahamutWC: btw congrats on making it to the bay area :)
[16:04:43] *** bayousoft has quit IRC
[16:04:53] <BahamutWC> thanks
[16:04:54] <catonabike> last i remember you were working in DC or whereabouts
[16:04:59] <BahamutWC> yup
[16:05:05] <BahamutWC> moved out here a half a year ago or so
[16:05:09] *** scriptThis has quit IRC
[16:05:10] *** bayousoft has joined #angularjs
[16:05:19] *** Bade has joined #angularjs
[16:05:20] *** mmitchell has joined #angularjs
[16:05:28] <catonabike> ah man that's really cool, you're going to learn a ton
[16:05:34] <Crippy> anyone converted a number into DateTime?
[16:06:00] <Crippy> getting a typeof number when posting yyy/mm/dd HH:mm:ss Z
[16:06:07] *** caitp has quit IRC
[16:06:27] <Linell> Crippy: what number are you trying to do that with?
[16:06:31] <Linell> http://www.w3schools.com/jsref/jsref_obj_date.asp
[16:06:38] *** enigmarm has joined #angularjs
[16:06:39] <BahamutWC> catonabike: learned a lot out here, some good, some bad
[16:06:52] *** subtone100 has joined #angularjs
[16:06:54] <catonabike> Crippy: you can convert a timestamp to a Date object with `new Date(µs)`
[16:06:54] *** JohnBat26 has quit IRC
[16:06:57] <Floyd_> catonabike: I just made fun of your impatience. Asking a question :45 and moaning about no answers to it at :47
[16:07:01] <BahamutWC> I feel like companies out in DC are far more well oiled than here in general, but lots of good devs here
[16:07:04] <catonabike> Crippy: maybe look at date.js if you want it easy
[16:07:05] *** dllama has quit IRC
[16:07:28] <oniijin> moment.js
[16:07:36] <Crippy> 2014-11-21T17:00:00.000Z is coming from my $scope.date from an input but just to check I done a tyeof and it says its a number
[16:07:47] <Crippy> the db is set up as a dateTime
[16:07:57] <catonabike> BahamutWC: a fair assessment! I went DC -> CA -> Boston (just got here). Boston's kind of a half-way between DC and CA in some ways
[16:08:12] <Crippy> ok thanks
[16:08:16] *** youngroger has joined #angularjs
[16:08:24] *** AtomicCookie has joined #angularjs
[16:08:37] *** tristanp has quit IRC
[16:08:37] *** nycdevgirl has quit IRC
[16:08:41] <Crippy> Will look into date.js and moment
[16:08:52] <oniijin> moment ftw
[16:09:03] <elrabin> i use moment for everything date-related
[16:09:07] *** jpstone has joined #angularjs
[16:09:13] <BahamutWC> catonabike: for all of the talent out here, it kinda surprises me that that is the case
[16:09:45] <BahamutWC> I'd expect there to be more senior people around who understand good process and the drive to fix issues of those nature
[16:09:47] *** krawek has joined #angularjs
[16:09:56] <catonabike> BahamutWC: I attribute it to less emphasis on business stability
[16:09:57] *** Bade has quit IRC
[16:09:58] *** tristanp has joined #angularjs
[16:10:09] *** oste has joined #angularjs
[16:10:16] *** FIFOd[a] has joined #angularjs
[16:10:31] <BahamutWC> ironically, I think that fixing issues of that nature is important to building a good foundation for a business
[16:10:35] *** mfunkie has quit IRC
[16:11:10] *** Aerospar_ has quit IRC
[16:11:11] <yoshokatana> BahamutWC what's up?
[16:11:53] <yoshokatana> oh, congrats on Bay Area-ing!
[16:11:53] *** mven has joined #angularjs
[16:11:59] <BahamutWC> yoshokatana: not much, wishing I could wake up later :(
[16:12:06] <yoshokatana> haha yeah
[16:12:09] <BahamutWC> keep waking up at 4-6 these days
[16:12:12] <yoshokatana> oof
[16:12:28] <yoshokatana> I've been waking up at 7:30 and getting into work about an hour before people. I...don't know why
[16:12:39] <BahamutWC> haha that's the problem I have
[16:12:45] <youngroger> Hi guys, I was wondering whether I could test angular 2.0 without Dart allready, as the instructions on the GitHub page tell to install Dart?
[16:12:48] <BahamutWC> I almost went into a work at 7 today (still at home atm)
[16:12:56] *** Una has joined #angularjs
[16:12:56] <yoshokatana> haha
[16:12:59] <yoshokatana> 2early4me
[16:13:12] *** kuadrosx_ has joined #angularjs
[16:13:19] <yoshokatana> youngroger angular 2.0 should work without dart (it has a js implementation), right?
[16:13:24] <Linell> I usually get to work around then. It's nice to have the office to myself in teh mornings
[16:13:37] *** lsiv568 has quit IRC
[16:13:54] <yoshokatana> Linell my issue is that everything I need to work on depends on some pull requests I'm waiting for other people to review .___.
[16:13:57] *** zivester has quit IRC
[16:14:01] <yoshokatana> at least today
[16:15:28] *** nycdevgirl has joined #angularjs
[16:16:05] *** digisky has quit IRC
[16:17:06] *** doug64k has quit IRC
[16:17:13] *** Oxynum has quit IRC
[16:17:34] *** NorthBlast has quit IRC
[16:17:43] *** MrBaboon has joined #angularjs
[16:18:08] *** bradgignac has joined #angularjs
[16:18:14] *** kuadrosx_ is now known as kuadrosx
[16:18:14] *** bradgignac_ has joined #angularjs
[16:18:21] *** bradgignac has quit IRC
[16:18:37] *** bradgignac has joined #angularjs
[16:18:42] <youngroger> yoshokatana I'm not sure whether a full JS implementation exists or some parts are still "Dart only"
[16:18:51] *** s00pcan has quit IRC
[16:18:58] *** pardo_bsso has quit IRC
[16:19:19] *** Rafzzz has joined #angularjs
[16:19:32] *** nycdevgirl has quit IRC
[16:19:50] <BahamutWC> youngroger: I think parts of it are done in dart, parts in JS
[16:19:53] *** jaznow has quit IRC
[16:20:04] <BahamutWC> the build process converts both into dart and JS versions of the library
[16:20:12] *** cacts|wtf has joined #angularjs
[16:20:29] *** bkuberek_ has joined #angularjs
[16:20:33] *** poacher2k has quit IRC
[16:20:36] <BahamutWC> what happened is the angular dart and angular teams combined manpower
[16:20:56] *** Ownix_ is now known as Ownix
[16:21:08] *** crakrjak has joined #angularjs
[16:21:11] *** s00pcan has joined #angularjs
[16:21:57] *** MrBaboon has quit IRC
[16:22:21] *** Ownix has quit IRC
[16:22:22] *** Ownix has joined #angularjs
[16:22:22] *** Ownix has joined #angularjs
[16:22:26] *** nuizzy has quit IRC
[16:22:32] *** thumpba has joined #angularjs
[16:22:50] *** digisky has joined #angularjs
[16:23:07] *** youngroger has quit IRC
[16:23:25] *** sher has joined #angularjs
[16:23:32] *** cacts has quit IRC
[16:23:55] *** bkuberek has quit IRC
[16:23:56] *** DLSteve_ has quit IRC
[16:24:08] *** sk87 has joined #angularjs
[16:24:20] *** cthrax has joined #angularjs
[16:24:39] *** mubi has quit IRC
[16:24:43] *** dnakov has joined #angularjs
[16:25:08] *** FalsePozitive has joined #angularjs
[16:25:29] *** memento_ has joined #angularjs
[16:25:31] *** taybin has quit IRC
[16:25:44] *** rawGem has joined #angularjs
[16:25:46] *** thumpba has quit IRC
[16:26:14] *** rawGem is now known as mblaine
[16:26:32] *** mblaine has left #angularjs
[16:27:00] *** mubi has joined #angularjs
[16:27:07] *** corehook has quit IRC
[16:27:12] *** subtone100 has quit IRC
[16:27:43] *** bayousoft has quit IRC
[16:28:19] <dman777_alter> commitViewValue() is missing from my form object...why is this?
[16:28:24] *** nycdevgirl has joined #angularjs
[16:28:34] *** bayousoft has joined #angularjs
[16:28:35] *** trend has joined #angularjs
[16:28:55] *** albivian has joined #angularjs
[16:29:01] *** MaxV has joined #angularjs
[16:29:15] *** cthrax_ has joined #angularjs
[16:29:26] *** jimobrien has joined #angularjs
[16:29:40] *** FalsePozitive has quit IRC
[16:29:49] *** bradmaxs has quit IRC
[16:29:56] *** FalsePozitive has joined #angularjs
[16:29:58] *** Oddman has joined #angularjs
[16:30:04] <sher> If i use controlleras syntax how should this call be changed ? angular.element(this).scope().someFunc() ??
[16:30:19] *** mary5030 has joined #angularjs
[16:30:23] *** FalsePozitive has left #angularjs
[16:31:13] *** crakrjak has quit IRC
[16:31:13] *** cthrax has quit IRC
[16:31:39] *** josh-k has joined #angularjs
[16:31:43] *** doug64k has joined #angularjs
[16:31:50] *** tfennelly has joined #angularjs
[16:32:00] *** Oddman has quit IRC
[16:32:09] <sacho> scope().ctrlname.someFunc()
[16:32:11] *** joroc has joined #angularjs
[16:32:11] *** jiskiras has joined #angularjs
[16:32:15] <sacho> why do you need to do that?
[16:32:23] *** ctanga has quit IRC
[16:32:28] <sacho> ctrlname being the "as" name that you assigned
[16:32:35] <sher> i need to handle a filechange event
[16:32:45] <sher> ok let me try that
[16:32:45] *** tomzx is now known as tomzx`afk
[16:32:50] *** kkthxbye has quit IRC
[16:32:50] *** trend has quit IRC
[16:33:25] *** Schtive has quit IRC
[16:33:37] *** jimobrien has quit IRC
[16:33:49] *** Oddman has joined #angularjs
[16:33:59] *** JimTheDev has joined #angularjs
[16:34:11] *** minimoo1 has quit IRC
[16:34:23] <sher> sacho Thanks that worked and makes sense :)
[16:34:40] *** no1uknow has quit IRC
[16:34:54] *** crakrjak has joined #angularjs
[16:35:13] *** no1uknow has joined #angularjs
[16:35:14] *** ASUChander has quit IRC
[16:35:17] *** no1uknow has quit IRC
[16:35:18] *** lugzer has quit IRC
[16:35:20] *** Oddman has quit IRC
[16:36:09] *** crakrjak has quit IRC
[16:36:09] *** Oddman has joined #angularjs
[16:36:20] *** Rebirth has joined #angularjs
[16:36:23] *** Ch4rAss has quit IRC
[16:37:07] *** subtone100 has joined #angularjs
[16:37:37] *** dcherman has joined #angularjs
[16:37:48] *** ASUChander has joined #angularjs
[16:38:04] *** JBreit has joined #angularjs
[16:38:15] *** Aerospark has joined #angularjs
[16:38:23] *** Schtive has joined #angularjs
[16:38:28] <sher> ok so instead of injecting scope to view , we are only injecting our object.. so thats the adv of using this "controllerAs" syntax right ?
[16:38:36] *** glassir has quit IRC
[16:38:36] *** mak`` has joined #angularjs
[16:38:40] *** shinnya has joined #angularjs
[16:38:45] *** glassir has joined #angularjs
[16:38:57] *** Oddman has quit IRC
[16:39:05] <dman777_alter> why is commitViewValue listed in documentation for forms but not existing for me?
[16:39:24] *** NorthBlast has joined #angularjs
[16:39:31] *** crakrjak has joined #angularjs
[16:39:34] *** corehook has joined #angularjs
[16:41:38] *** Rafzzz has quit IRC
[16:43:19] *** jeffisabelle_ has joined #angularjs
[16:43:22] *** optikalmouse has joined #angularjs
[16:43:37] <NorthBlast> https://gist.github.com/anonymous/54951b0bd0a8396a0447
[16:43:43] *** optikalmouse has quit IRC
[16:43:46] *** Oxynum has joined #angularjs
[16:43:47] <NorthBlast> I gotta a problem with ng-grid
[16:44:01] <NorthBlast> my header checkbox is not working and I don't know why
[16:44:19] *** a3gis has joined #angularjs
[16:44:47] *** marr has joined #angularjs
[16:45:26] *** Oddman has joined #angularjs
[16:45:34] *** jeffisabelle has quit IRC
[16:45:43] *** mihalybak has quit IRC
[16:45:58] *** HelperW has quit IRC
[16:46:07] * tga is having trouble getting select2 to play nice with angular
[16:46:23] <tga> looks like there is no easy way of getting select2s to refresh on a dynamic data change
[16:46:31] *** taybin has joined #angularjs
[16:46:39] *** kohgpat has joined #angularjs
[16:46:56] *** jae is now known as Jae
[16:47:01] *** stephan|2 has quit IRC
[16:47:56] *** Oxynum has quit IRC
[16:48:02] *** cthrax_ has quit IRC
[16:48:12] *** metasansana has quit IRC
[16:48:17] *** dc_ has joined #angularjs
[16:49:36] *** Aerospark has quit IRC
[16:49:50] *** crakrjak has quit IRC
[16:51:06] *** evotuned has joined #angularjs
[16:51:09] *** junmin has joined #angularjs
[16:52:47] *** drult_ has quit IRC
[16:52:52] *** kevinxu has joined #angularjs
[16:53:16] *** kevinxu is now known as Guest57388
[16:53:19] *** Aerospark has joined #angularjs
[16:53:32] *** Guest57388 has quit IRC
[16:54:03] *** junmin_ has joined #angularjs
[16:54:21] *** exempla has joined #angularjs
[16:54:42] *** platonic has joined #angularjs
[16:54:53] *** Snugug has joined #angularjs
[16:55:11] *** thedodd has quit IRC
[16:55:42] *** evotuned has quit IRC
[16:56:25] *** corehook has joined #angularjs
[16:56:28] *** kohgpat has quit IRC
[16:56:33] *** Aerospark has quit IRC
[16:56:41] *** slopjong has quit IRC
[16:56:46] *** Aliks has joined #angularjs
[16:57:14] *** sk87 has quit IRC
[16:57:22] *** junmin has quit IRC
[16:57:52] *** naneau has joined #angularjs
[16:58:06] *** Jae has quit IRC
[16:58:10] *** brennon_ has joined #angularjs
[16:58:41] *** kohgpat has joined #angularjs
[16:59:27] *** artisangoose has joined #angularjs
[16:59:35] *** platonic has quit IRC
[16:59:37] *** Snugug has quit IRC
[17:00:04] *** ctanga has joined #angularjs
[17:00:33] *** conan_the_destro has joined #angularjs
[17:00:46] *** tsalb has joined #angularjs
[17:01:36] *** sandalon has quit IRC
[17:01:41] *** Milkweed has joined #angularjs
[17:01:42] *** mennea has quit IRC
[17:01:55] *** dc___ has joined #angularjs
[17:02:13] *** minimoo1 has joined #angularjs
[17:02:19] *** tomzx`afk is now known as tomzx
[17:02:23] *** sandalon has joined #angularjs
[17:02:26] *** CorySimmons has joined #angularjs
[17:02:40] *** tfennell_ has joined #angularjs
[17:03:10] *** juanpablo_ has quit IRC
[17:03:37] *** dc_ has quit IRC
[17:03:52] *** crakrjak has joined #angularjs
[17:04:11] *** mfunkie has joined #angularjs
[17:04:15] *** lsiv568 has joined #angularjs
[17:04:16] *** balr0g has quit IRC
[17:04:17] *** guiiks has joined #angularjs
[17:04:33] *** svycka has quit IRC
[17:04:42] *** joroc has quit IRC
[17:04:50] <guiiks> Hello ! I hope you can help me, I found something weird
[17:04:54] *** chaohuanghong1 has quit IRC
[17:05:04] *** greengriminal has quit IRC
[17:05:06] <guiiks> I've a link like this one http://localhost:1337/#/redefine/$2a$10$ar99MpPkFIiwRinSrR128.YlAXqwbfvlS4vBvqtk2HhfJMDbDxSS
[17:05:17] <guiiks> and if i click on it, the route isn't recognized
[17:05:18] *** chaohuanghong has joined #angularjs
[17:05:30] <guiiks> but if i change it in the top bar url of my app it's ok
[17:05:44] *** kohgpat has quit IRC
[17:06:00] *** yelvert has joined #angularjs
[17:06:21] *** tfennelly has quit IRC
[17:06:57] *** vinise has quit IRC
[17:07:02] *** SuperPhly has joined #angularjs
[17:07:06] *** Una has quit IRC
[17:07:06] *** mjs2600 has quit IRC
[17:07:20] *** sigurding has quit IRC
[17:07:52] *** mewm has quit IRC
[17:07:53] *** jimobrien has joined #angularjs
[17:07:55] *** waverider has quit IRC
[17:08:05] *** favetelinguis has joined #angularjs
[17:08:06] *** josh3336 has joined #angularjs
[17:08:26] *** eshlox has quit IRC
[17:08:58] *** k-dawg has quit IRC
[17:09:02] *** eshlox has joined #angularjs
[17:09:46] *** bradmaxs has joined #angularjs
[17:09:48] *** icfantv has joined #angularjs
[17:09:54] *** falk_netstyler has quit IRC
[17:10:01] *** ElysiumNet has joined #angularjs
[17:10:05] *** jheady1 has joined #angularjs
[17:10:06] *** glassir has quit IRC
[17:10:23] <ElysiumNet> is there a way to send a message body with a GET request within Angular?
[17:10:33] *** pardo_bsso has joined #angularjs
[17:10:47] <jagga> guiiks, do you have http:// in your href or wherever you are changing the link
[17:10:55] <jagga> I'm going to assume you're doing this in chrome?
[17:11:51] *** gurke_ has joined #angularjs
[17:11:53] *** larsgk has quit IRC
[17:11:53] <guiiks> yes with chrome
[17:12:01] <guiiks> actually i'm sending the link in an email
[17:12:02] *** h-darklowz has joined #angularjs
[17:12:05] *** DanielKarp has joined #angularjs
[17:12:06] <jagga> ok so make sure your href's have http
[17:12:09] <guiiks> for a password redefinition jagga
[17:12:09] <jagga> if they don't then the page won't load
[17:12:15] <jagga> now if you try open the same site in internet explorer
[17:12:17] *** gurke_ has quit IRC
[17:12:18] *** Raydiation has left #angularjs
[17:12:28] <jagga> that wont work, because IE doesn't add the http for you when you hit enter
[17:12:30] <guiiks> the page loads but the route isn't matched
[17:12:31] *** sandalon has quit IRC
[17:12:33] <jagga> where as Chrome does
[17:12:49] *** gurke_ has joined #angularjs
[17:13:16] <icfantv> ElysiumNet: what do you mean?
[17:13:31] <icfantv> ElysiumNet: oh. nevermind.
[17:13:35] *** FIFOd[a] has quit IRC
[17:13:40] <jagga> make sure the links aren't localhost:1336 and have the http, that's all I can input
[17:13:40] *** discgo has quit IRC
[17:13:56] <icfantv> ElysiumNet: as opposed to just query parameters?
[17:14:02] <ElysiumNet> icfantv: I'm trying to send an json object with GET, basically
[17:14:07] <guiiks> but that is ok jagga :/
[17:14:35] <ElysiumNet> icfantv: I guess I went a bit overboard with allowing only 1 mechanism
[17:14:39] *** StryKaizer has quit IRC
[17:14:45] <bradmaxs> I am wanting to access the createMarker function from the regionWineriesList directive (in app.js). Is this possible, calling a function within a directive? http://plnkr.co/edit/ozdnBHuhNLQywbWdgKhZ
[17:14:49] <jagga> I had a day earlier where the routes weren't gettig picked up and the page wasn't loading because my href's were just localhost/etc etc and not http://locahost
[17:14:55] <ElysiumNet> since php does the whole querystring thing wrong
[17:15:03] *** h-darklow has quit IRC
[17:15:12] *** NoNMaDDeN has quit IRC
[17:15:14] <icfantv> ElysiumNet: i'm looking at the spec now, but i vaguely recall that the GET request does not allow a body
[17:15:16] *** Sebastien-L has quit IRC
[17:15:18] *** kuadrosx_ has joined #angularjs
[17:15:28] <ElysiumNet> icfantv: it's not prohibited, but not widely supported either
[17:15:29] <icfantv> ElysiumNet: the HTTP spec
[17:15:33] *** NoNMaDDeN has joined #angularjs
[17:15:56] *** after_r has joined #angularjs
[17:16:10] *** kuadrosx has quit IRC
[17:16:13] *** cactauz has joined #angularjs
[17:16:41] <ElysiumNet> icfantv: it's that servers may choose to ignore it
[17:16:44] <after_r> Is it possible to attache an angular directive to an element programatically, witout using strings of the names of the directive but using a reference to the diretive?
[17:16:45] *** tplaner has joined #angularjs
[17:16:49] <after_r> directive *
[17:16:49] *** ionpulse has quit IRC
[17:16:54] <icfantv> ElysiumNet: allegedly, the body should have no semantic meaning
[17:16:56] *** jheady1 has left #angularjs
[17:16:56] <after_r> attach *
[17:17:06] *** phzon has quit IRC
[17:17:13] <icfantv> ElysiumNet: so it sounds like you probably shouldn't be doing it then, yes?
[17:17:37] <ElysiumNet> icfantv: the HTTP 1.1 spec should clarify more on this
[17:17:50] <ElysiumNet> and the yahoo group discussion you just cited is from 2007 :P
[17:17:50] *** edrocks has joined #angularjs
[17:18:04] <after_r> something like: var mydir = myApp.directive('directiveName', ...); and then attach it somehow like: var element = ...; mydir.attach(element); ?? anything like that possible?
[17:18:10] <icfantv> ElysiumNet: i was looking at a SO question from 2009....
[17:18:10] *** kohgpat has joined #angularjs
[17:18:15] *** Alex_____ has joined #angularjs
[17:18:22] *** josh-k has quit IRC
[17:18:31] <icfantv> ElysiumNet: regardless, how much data are you wanting to send?
[17:18:34] *** snapwich has joined #angularjs
[17:18:35] *** snapwich has quit IRC
[17:18:36] *** Sebastien-L has joined #angularjs
[17:18:49] <ElysiumNet> icfantv: search query conditions
[17:18:52] <icfantv> ElysiumNet: and are the fields dynamic?
[17:18:55] <ElysiumNet> yes
[17:18:55] *** azizur has quit IRC
[17:19:12] <ElysiumNet> icfantv: the SO questions from 2009 references that 2007 yahoo comment
[17:19:17] <icfantv> ElysiumNet: clarification…not the field values, the field names
[17:19:17] *** annlewis has quit IRC
[17:19:20] *** Alex_____ has quit IRC
[17:19:30] <ElysiumNet> icfantv: dynamic as well, but from a limited set
[17:19:32] <icfantv> ElysiumNet: god, i love the internet....
[17:20:02] *** Alex_____ has joined #angularjs
[17:20:09] *** hasq has quit IRC
[17:20:09] <icfantv> ElysiumNet: i would create a QueryParams object with all your fields and let $http or $resource do the rest
[17:20:11] *** sandalon has joined #angularjs
[17:20:23] *** jimobrien has quit IRC
[17:20:32] <ElysiumNet> icfantv: that sounds horrible o.O
[17:20:36] <icfantv> search parameters are almost always query string parameters
[17:20:45] <icfantv> ElysiumNet: you were the one wanting to use the GET
[17:20:50] <ElysiumNet> icfantv: yeah, but php doesn't exactly keep to the standard...
[17:20:51] *** phzon has joined #angularjs
[17:21:03] <ElysiumNet> yes, because POST/PUT/DELETe/PATCH isn't correct for searching :P
[17:21:07] *** Alex_____ has quit IRC
[17:21:15] <icfantv> ElysiumNet: agreed
[17:21:20] *** weeyum has joined #angularjs
[17:21:32] *** Alex_____ has joined #angularjs
[17:21:54] *** mokush has quit IRC
[17:21:56] <icfantv> ElysiumNet: you could also write a serializer for your search params and send it as one query param and then deserialize it on the server
[17:22:02] <ElysiumNet> e.g. should I send ?search[terms][]=test or ?search[terms]=test&search[terms]=test2
[17:22:31] *** bengillies has quit IRC
[17:22:36] <sacho> to what
[17:22:37] *** Alex_____ has quit IRC
[17:22:40] *** dan2k3k4 has quit IRC
[17:22:40] <icfantv> ElysiumNet: i would say that that depends on what your search term fields are
[17:22:43] *** kuadrosx_ is now known as kuadrosx
[17:22:53] *** subtone100 has quit IRC
[17:22:58] <ElysiumNet> icfantv: let's just assume it's an "list of terms" for the sake of the example
[17:23:09] <sacho> you should ask whoever wrote your backend what they expect
[17:23:13] <ElysiumNet> they're both interpreted differently when either using php (non-spec) or python (spec)
[17:23:14] <icfantv> sacho: ElysiumNet wants to send search query parameters up to the server via a GET, but is hesitant to use query string parameters
[17:23:41] <icfantv> sacho: and the HTTP spec is murky as to whether or not the GET request can/should have a meaningful body
[17:24:04] *** FIFOd[a] has joined #angularjs
[17:24:16] *** bengillies has joined #angularjs
[17:24:32] *** cthrax_ has joined #angularjs
[17:24:37] <ElysiumNet> icfantv: where in angular should I look to change the object to whatever the server should be expecting?
[17:24:45] <icfantv> ElysiumNet: if you store your query params in a JSON object and just add the fields as the user enters values, you can very easily write your own serializer or let angular convert that into key=value query string params
[17:24:55] *** jagga has quit IRC
[17:25:02] <nerder> i have to something in my controller to let this work? https://gist.github.com/anonymous/09175ac1ad09b5ae9fc2
[17:25:22] <nerder> i'm focused on the /routes/:id
[17:25:25] <icfantv> ElysiumNet: are you using $http, $resource, or something else?
[17:25:27] *** Iravan has quit IRC
[17:25:32] <ElysiumNet> $http at the moment
[17:25:41] *** naneau has quit IRC
[17:25:42] *** Snugug has joined #angularjs
[17:25:56] *** tfennell_ has quit IRC
[17:26:06] *** naneau has joined #angularjs
[17:26:14] *** tfennelly has joined #angularjs
[17:26:42] *** adpirz has joined #angularjs
[17:27:18] *** arabot has joined #angularjs
[17:27:29] <icfantv> ElysiumNet: the second parameter to $http.get takes a config object
[17:27:32] *** DanielKarp has quit IRC
[17:27:33] *** atomical has quit IRC
[17:27:51] <icfantv> ElysiumNet: you can put your query object in there. word of warning, GET requests have a max length
[17:27:54] <ElysiumNet> transformRequest ?
[17:28:03] <icfantv> ElysiumNet: so if you expect it to be large, be careful
[17:28:10] <icfantv> ElysiumNet: i think it's params
[17:28:18] <icfantv> ElysiumNet: looking for the docs
[17:28:23] <ElysiumNet> icfantv: I thought the server imposed the limit, while the RFC defines no limit?
[17:28:33] <TweedleDee> State: <select ng-model="state" ng-init="Nebraska" ng-options="state as state for state in ctrl.states"></select> ( I know the ng-init="Nebraska" doens't work just trying to illustrate the functionality I want, I also tried in my Init() function in my ctrl setting state = "Nebraska" but it is still a blank line, with all options available
[17:28:33] <icfantv> ElysiumNet: data
[17:28:46] <icfantv> ElysiumNet: i'm pretty sure it's the browser
[17:28:49] <ElysiumNet> icfantv: I tried that
[17:28:55] *** guiiks has quit IRC
[17:28:57] <icfantv> ElysiumNet: and?
[17:29:03] <TweedleDee> nm works, I was using controller as syntax and forgot the alias..
[17:29:04] *** artisangoose has quit IRC
[17:29:10] <icfantv> ElysiumNet: whoops, it's data
[17:29:13] <icfantv> GAH!
[17:29:16] <icfantv> ElysiumNet: params
[17:29:18] <ElysiumNet> it doesn't get sent at all from the browser for either data or params
[17:29:23] *** daslicht has joined #angularjs
[17:29:36] *** artisangoose has joined #angularjs
[17:29:38] *** atomical has joined #angularjs
[17:29:55] *** corehook has quit IRC
[17:30:08] <ElysiumNet> oh gah! it's literally 2 arguments
[17:30:12] <icfantv> yes
[17:30:37] <icfantv> $http.get('/my/happy/path', { params: { key: 'value', … } }
[17:31:08] <bradmaxs> Is it possible to call an action from a controller in a directive. I want to add a marker to a map for each location. http://plnkr.co/edit/ozdnBHuhNLQywbWdgKhZ
[17:31:13] *** Guest42139 has quit IRC
[17:31:15] <ElysiumNet> odd that it ignores data here
[17:31:18] *** frobs has quit IRC
[17:31:34] *** James has joined #angularjs
[17:31:37] <icfantv> ElysiumNet: for the GET request? probably because of the spec
[17:31:42] *** adpirz has quit IRC
[17:31:57] <ElysiumNet> icfantv: I've done it with jquery before, so it's not the browser that's going wrong I think
[17:31:58] *** James is now known as Guest68031
[17:32:10] *** weeyum has quit IRC
[17:32:21] *** weeyum has joined #angularjs
[17:32:23] *** tech2_ has quit IRC
[17:32:24] *** sonofdirt has joined #angularjs
[17:32:24] <after_r> anyone can answer my question?
[17:32:36] <dannyc__> how do i select an option in a select element? i would have thought that if the model matches the option value, it would be selected. no?
[17:32:38] <icfantv> ElysiumNet: sure, i was talking about angular. but i'm not sure it's 'wrong'
[17:32:45] <after_r> something like: var mydir = myApp.directive('directiveName', ...); and then attach it somehow like: var element = ...; mydir.attach(element); ?? anything like that possible?
[17:33:08] <TweedleDee> why would you do such a thing is my question for you
[17:33:13] *** busticated has joined #angularjs
[17:33:15] *** prbc has joined #angularjs
[17:33:25] <ElysiumNet> icfantv: at least passing it as a body as a json-encoded string would make it more "standard" than trying to figure out what style of query parameters to use
[17:33:32] <icfantv> after_r: first, what are you trying to do? and second, why do you think you need to do something like that?
[17:33:32] <ElysiumNet> or making it work with a particular type
[17:34:13] *** weeyum_ has joined #angularjs
[17:34:20] *** weeyum_ has quit IRC
[17:34:20] *** weeyum has quit IRC
[17:34:27] *** m1hael has left #angularjs
[17:34:34] <icfantv> ElysiumNet: i disagree that there's a "standard" here. it sounds like you've figured out what angularJS will support/allow and now you need to decide if you want to use it.
[17:34:37] *** elyssonmr has quit IRC
[17:34:48] *** weeyum has joined #angularjs
[17:35:05] *** josh-k_ has joined #angularjs
[17:35:22] *** mmitchell has quit IRC
[17:35:31] <icfantv> after_r: directives are parsed at page load time - in the directive, you can set watches so that if scope fields change, you can update your view.
[17:35:32] *** Joe_knock has joined #angularjs
[17:35:40] *** PGTips has joined #angularjs
[17:35:43] *** mmitchell has joined #angularjs
[17:35:57] <TweedleDee> ^ true
[17:36:07] <ElysiumNet> icfantv: have you tried to use angularjs in front of an rest api that was made with python?
[17:36:11] <after_r> im building the app dom programatically
[17:36:21] <ElysiumNet> I would like to see how badly that crashes and burns
[17:36:26] <icfantv> ElysiumNet: not python. but REST api, yes
[17:36:35] *** nycdevgirl has quit IRC
[17:36:40] <ElysiumNet> icfantv: PHP and Python both take different types of query parameters
[17:36:46] <ElysiumNet> and interpret them differently
[17:36:50] *** tangorri has quit IRC
[17:37:00] *** cacts|wtf has quit IRC
[17:37:01] *** danielmahon has joined #angularjs
[17:37:09] <icfantv> after_r: why? what are you doing that makes you think you have to do this?
[17:37:31] *** Evil_Peach has quit IRC
[17:37:38] <icfantv> ElysiumNet: sorry mate. sounds like this isn't really an angular issue anymore then.
[17:37:51] *** Pluff has quit IRC
[17:37:58] *** aortmann has joined #angularjs
[17:37:58] <dman777_alter> I'm stuck using version 1.2.26...is there a way to set "allow invalid" for a form input field
[17:38:01] <dman777_alter> ?
[17:38:15] <icfantv> after_r: you can use ng-if and ng-show to include (or not) or show (or hide) elements
[17:38:22] *** azizur has joined #angularjs
[17:38:27] *** nycdevgirl has joined #angularjs
[17:38:31] *** rburns has joined #angularjs
[17:38:40] *** ishan1604 has joined #angularjs
[17:38:46] *** corehook has joined #angularjs
[17:38:59] *** shinnya has quit IRC
[17:39:28] *** mica1 has joined #angularjs
[17:40:01] <after_r> i guess this works https://groups.google.com/forum/#!msg/angular/an9QpzqIYiM/r8v-3W1X5vcJ
[17:40:07] *** mica1 has left #angularjs
[17:40:13] *** nicholes has joined #angularjs
[17:40:16] *** Shareyourpeace has joined #angularjs
[17:41:20] *** Fuzzy has quit IRC
[17:41:29] *** Slowintrepid has joined #angularjs
[17:41:43] <Shareyourpeace> Hi, running a script from a tutorial. Nav to folder and 'node server.js' to start server. When I run the script it keeps loading with localhost:8383 not 8080 the node server. Please explain how to resolve. Thanks
[17:42:07] *** doug64k has quit IRC
[17:42:23] *** walden is now known as walden|brb
[17:42:33] *** sandalon has quit IRC
[17:42:35] <Slowintrepid> Question, if I'm unit testing a controller and I have a nested module based architecture. Do I have to inject my main app module AND the module my controller lives in. Or just the module my controller lives in/
[17:43:09] *** prbc has quit IRC
[17:43:18] *** zB0hs has joined #angularjs
[17:43:45] *** hicker has joined #angularjs
[17:44:59] *** Xethron has quit IRC
[17:45:01] *** eBureau has quit IRC
[17:45:08] *** tech2_ has joined #angularjs
[17:45:19] *** shinnya has joined #angularjs
[17:45:53] <dannyc__> how do i select an option in a select element? i would have thought that if the model matches the option value, it would be selected. no?
[17:46:04] *** Shareyourpeace has quit IRC
[17:46:11] *** cornernote has quit IRC
[17:46:21] <Linell> It should match it, yes. What does your select code look like?
[17:46:58] <hicker> Hi everyone, I have a multi-view form wizard where I'm persisting values in a service called referral
[17:47:02] *** stormbytes has joined #angularjs
[17:47:24] *** bkuberek_ is now known as bkuberek
[17:47:35] *** sixr420 has joined #angularjs
[17:47:46] <hicker> I'm having trouble persisting this select box when I click the back button: select(ng-model='referral.practice' ng-options='practice.name for practice in practices')
[17:47:47] *** edy__ has joined #angularjs
[17:49:04] *** snapwich has joined #angularjs
[17:49:37] *** edy__ is now known as edy
[17:49:39] *** seriema has joined #angularjs
[17:49:46] *** tplaner has quit IRC
[17:50:04] *** codeninja-don has joined #angularjs
[17:50:07] *** mhartington has joined #angularjs
[17:50:14] *** edy_ has quit IRC
[17:50:21] <hicker> I think it might be having trouble because referral.practice is an object, not an id?
[17:50:58] *** yts has quit IRC
[17:51:06] *** diosney has quit IRC
[17:51:32] *** slopjong has joined #angularjs
[17:51:34] <hicker> Do I need to store an id instead?
[17:51:42] *** sandalon has joined #angularjs
[17:51:45] *** mhartington has left #angularjs
[17:51:49] *** evotuned has joined #angularjs
[17:52:08] *** rhp has joined #angularjs
[17:52:37] *** jae has joined #angularjs
[17:52:43] *** elyssonmr has joined #angularjs
[17:53:11] *** brennon_ has quit IRC
[17:53:28] <Linell> Have you tried putting something like <pre>{{ referral.practice | json }}</pre> right above your select to see what value is actually coming back?
[17:53:43] *** crakrjak has quit IRC
[17:53:45] *** mchammer has quit IRC
[17:54:00] *** brennon_ has joined #angularjs
[17:54:03] *** sk87 has joined #angularjs
[17:54:03] <hicker> Let me try that. I've been using the console mainly
[17:55:09] *** brl4n has joined #angularjs
[17:55:10] *** crakrjak has joined #angularjs
[17:55:23] <Siecje> How can you conditionally have an attribute?
[17:55:39] <hicker> Yeah, it persists. It's the whole object though, which is what I want, but I can't seem to get the select element to default to that value
[17:55:44] <brl4n> so i guess angular is popular...
[17:56:09] *** Nicolas________ has quit IRC
[17:56:14] *** ishan1604 has quit IRC
[17:56:24] *** sk87 has quit IRC
[17:56:28] *** evotuned has quit IRC
[17:56:28] *** shinnya has quit IRC
[17:56:47] <seriema> brl4n: all the cool kids are doing it
[17:56:47] *** ishan1604 has joined #angularjs
[17:56:52] <oniijin> ng-attr-class?
[17:57:51] <brl4n> :{} 880+ people! like screaming underwater.
[17:57:54] <Linell> hicker: I'm not 100% convinced yoru select works quite right, and that could be the issue. Try to change ng-options to 'practice.name as practice for practice in practices' or something. I think the issue is that your model is the entire object but it's attempting to select it based off of the name
[17:58:00] *** Raydiation has joined #angularjs
[17:58:06] <Raydiation> how do i flatten $http?
[17:58:07] *** dc___ has quit IRC
[17:58:08] <Siecje> oniijin: I'm trying to set the title attribute when a button is disabled
[17:58:16] <Raydiation> like do request 1 then 2 and if error do something else?
[17:58:31] *** josh3336_ has joined #angularjs
[17:58:42] *** Sebastien-L has quit IRC
[17:58:48] *** JayFK has quit IRC
[17:58:53] *** rburns has quit IRC
[17:59:01] *** JayFK has joined #angularjs
[17:59:11] <Raydiation> $http.get('url').then(function () { return $http.get('url2'); }, function () { console.log('error'); }); ?
[17:59:18] *** jae has left #angularjs
[17:59:21] *** oncenull has quit IRC
[17:59:33] *** JayFK has joined #angularjs
[17:59:58] *** oncenull has joined #angularjs
[18:00:23] *** seriema has quit IRC
[18:00:43] *** elyssonmr_ has joined #angularjs
[18:00:59] *** seriema has joined #angularjs
[18:01:00] *** elyssonmr has quit IRC
[18:01:00] *** sk87 has joined #angularjs
[18:01:01] <hicker> Linell: Ok, thanks a lot, I'll play around with it some more. Do you think I can get it work? Or do you think I should be storing my form model separate from my actual model?
[18:01:15] *** elyssonmr_ has quit IRC
[18:01:17] *** ishan1604 has quit IRC
[18:01:21] *** juampy has joined #angularjs
[18:01:23] *** brl4n has quit IRC
[18:01:37] *** josh3336 has quit IRC
[18:01:37] *** josh3336_ is now known as josh3336
[18:01:39] *** elyssonmr has joined #angularjs
[18:01:47] *** fbenoit has quit IRC
[18:01:53] *** sher has quit IRC
[18:01:59] *** aortmann has quit IRC
[18:02:19] *** shinnya has joined #angularjs
[18:03:23] <Linell> hicker, nah that should work just fine once you get the options sorted out
[18:04:15] *** ElysiumNet has quit IRC
[18:04:26] *** synestry has quit IRC
[18:04:41] *** Aswebb has joined #angularjs
[18:04:42] *** saucey has quit IRC
[18:04:52] *** oncenull has quit IRC
[18:05:01] <Aswebb> Hi
[18:05:09] <dannyc__> \
[18:05:20] *** seriema has quit IRC
[18:05:25] *** oncenull has joined #angularjs
[18:05:34] *** richiebkr has joined #angularjs
[18:05:41] <bradmaxs> In app.js, I want to call the createMarkers in the regionWineriesList directive. is this possible? http://plnkr.co/edit/ozdnBHuhNLQywbWdgKhZ?p=info
[18:05:47] <Aswebb> Small question, would it be a good idea to store an entire user object in a localStorage? and update it whenever the user comes back ?
[18:05:55] *** akrikos has quit IRC
[18:06:07] <jaawerth> Raydiation: you can just do promise chaining. Anything you return from one promise gets wrapped in another promise
[18:06:19] *** fedenunez1 has joined #angularjs
[18:06:21] *** phzon has quit IRC
[18:06:26] *** fedenunez has quit IRC
[18:06:27] *** rho has joined #angularjs
[18:06:28] *** rho has joined #angularjs
[18:06:37] *** naneau has quit IRC
[18:06:40] *** phuh has joined #angularjs
[18:06:43] *** MrBaboon has joined #angularjs
[18:07:17] *** Naaab has quit IRC
[18:07:27] *** ctanga has quit IRC
[18:08:09] *** mennea has joined #angularjs
[18:08:10] *** mary5030_ has joined #angularjs
[18:08:32] *** mary5030_ has quit IRC
[18:08:53] *** tplaner has joined #angularjs
[18:09:05] *** mary5030_ has joined #angularjs
[18:09:29] *** mennea has quit IRC
[18:09:43] *** sandalon has quit IRC
[18:09:44] *** mary5030 has quit IRC
[18:11:06] *** mennea has joined #angularjs
[18:11:31] *** MrBaboon has quit IRC
[18:11:38] *** woah has joined #angularjs
[18:12:08] *** AtomicCookie has quit IRC
[18:12:19] *** Sna4x8 has quit IRC
[18:12:25] *** jacuqesdancona_ has quit IRC
[18:12:35] *** storresi has quit IRC
[18:12:47] *** mennea has quit IRC
[18:12:52] *** Sna4x8 has joined #angularjs
[18:12:54] <Raydiation> jaawerth: but how do i handle an error for all promises?
[18:12:57] *** jacuqesdancona_ has joined #angularjs
[18:13:32] *** Una has joined #angularjs
[18:13:50] <Siecje> oniijin: How come the title doesn't show up on mouseover http://plnkr.co/edit/o0MVCvfVDpEKIJbQ73Wc?p=preview
[18:14:07] *** crakrjak has quit IRC
[18:14:18] *** tarnus has quit IRC
[18:14:19] *** Crippy has quit IRC
[18:14:36] *** trend has joined #angularjs
[18:14:38] *** mennea has joined #angularjs
[18:16:15] *** kohgpat has quit IRC
[18:17:03] *** ccbmx has quit IRC
[18:17:07] *** jsheely has quit IRC
[18:17:14] <jaawerth> Raydiation: well, you could use $q.all to achieve that I guess, but I typically just make sure I have a .catch for the final promise in the chain and then handle the intermediate ones as needed. Better for stacktrace anyway
[18:17:22] *** jacuqesdancona_ has quit IRC
[18:17:33] *** evotuned has joined #angularjs
[18:17:55] *** jonathanpglick has joined #angularjs
[18:18:02] *** Naaab has joined #angularjs
[18:18:05] <Raydiation> jaawerth: yep, but iirc $q has no catch method
[18:18:06] *** walden|brb is now known as walden
[18:18:12] *** quantax- has quit IRC
[18:18:23] *** jonathanpglick has quit IRC
[18:18:32] *** storresi has joined #angularjs
[18:18:59] *** caitp has joined #angularjs
[18:19:00] *** jlebrech has quit IRC
[18:19:20] *** SergioFilhow__ has quit IRC
[18:19:25] *** Naaab has quit IRC
[18:19:37] *** fatshark has joined #angularjs
[18:19:38] <jaawerth> Raydiation: the promises returned by $q do
[18:19:44] <Raydiation> oh nice
[18:19:50] <Raydiation> that isnt documented though i think
[18:20:03] *** jlebrech has joined #angularjs
[18:20:25] <jaawerth> Raydiation: it's under "The Promise API" https://docs.angularjs.org/api/ng/service/$q
[18:20:42] *** sikor_sxe has quit IRC
[18:20:54] <jaawerth> you just don't pass an errorCallback into your .then and use .catch instead
[18:20:59] *** SergioFilhow__ has joined #angularjs
[18:21:27] <Raydiation> ty
[18:21:32] <jaawerth> $q.all lets you combine multiple promises into one, which is potentially useful for global error handling
[18:21:33] <jaawerth> sure
[18:22:10] *** boneskull has quit IRC
[18:22:35] *** evotuned has quit IRC
[18:22:51] *** Guest68031 has quit IRC
[18:23:16] *** zemanel has quit IRC
[18:23:19] *** tarnus has joined #angularjs
[18:23:40] <Raydiation> yep i know $q.all :)
[18:23:43] <Raydiation> and its awesome
[18:24:04] *** lsiv568 has quit IRC
[18:24:40] *** CorySimmons has left #angularjs
[18:25:11] <Slowintrepid> does anyone know of a way to get more detailed test reporting from karma? (aside from using webstorm) right now it just says like Executed 8 of 8 SUCCESS
[18:25:21] <Slowintrepid> I'd like to know which tests its running by name
[18:25:28] *** yts has joined #angularjs
[18:25:54] *** mennea_ has joined #angularjs
[18:26:27] <duall> Is there a better way to delete in angular.forEach: http://pastebin.com/w7tfch0Q ( Should i use filter instead ) ?
[18:27:03] *** mennea_ has quit IRC
[18:27:23] *** mennea has quit IRC
[18:27:23] *** compton has quit IRC
[18:27:51] *** mennea has joined #angularjs
[18:28:06] *** elyssonmr has quit IRC
[18:28:14] *** sk87 has quit IRC
[18:29:10] *** NorthBlast has quit IRC
[18:29:26] *** Ajans has quit IRC
[18:30:20] *** cohitre has joined #angularjs
[18:30:23] *** mennea has quit IRC
[18:30:35] *** shaym_ has joined #angularjs
[18:30:55] *** Johnny13371337 has joined #angularjs
[18:30:57] *** sonofdirt has quit IRC
[18:31:20] *** jonathanpglick has joined #angularjs
[18:31:43] *** catonabike has quit IRC
[18:31:47] *** patrick99e99 has joined #angularjs
[18:31:53] *** esk4nd4r has quit IRC
[18:32:03] *** ggrzybek is now known as ggrzybek_afk
[18:32:17] *** sonicparke|bradm has joined #angularjs
[18:32:17] *** sonofdirt has joined #angularjs
[18:32:58] *** xxMatiasFxx has joined #angularjs
[18:33:54] *** Oxynum has joined #angularjs
[18:33:58] <duall> nvm i used underscore with $timeout
[18:33:59] *** arkin has quit IRC
[18:34:06] *** Artagan has quit IRC
[18:34:10] *** ytsejam has quit IRC
[18:34:43] *** merobertsjr has joined #angularjs
[18:34:55] *** xxMatiasFCxx has quit IRC
[18:35:51] *** josh3336 has quit IRC
[18:36:06] *** cornerma1 has joined #angularjs
[18:36:14] *** thedodd has joined #angularjs
[18:36:29] *** jimobrie_ has joined #angularjs
[18:36:38] <merobertsjr> I'm trying to get started using karma for tests and getting a "ReferenceError: Cant find variable: module", but I have already included angular-mocks.js is there anything else major I am missing?
[18:36:49] *** Fuzzy has joined #angularjs
[18:36:51] *** monir has quit IRC
[18:36:54] *** ctanga has joined #angularjs
[18:37:00] *** josh3336 has joined #angularjs
[18:37:01] *** codeninja-don has quit IRC
[18:37:18] <BahamutWC|Work> I am starting to hate cordova :(
[18:37:23] *** monir has joined #angularjs
[18:37:25] *** Pritchard_ has joined #angularjs
[18:37:46] *** Oddman has quit IRC
[18:38:04] *** Oxynum has quit IRC
[18:38:38] *** Fuzzier has joined #angularjs
[18:38:40] <Pritchard_> Guys, I'm configuring a templateUrl (relative path) in my Angular directives, but when I load the web page, even though it appears to be working correctly, I'm not seeing AJAX requests for the templates in network traffic - neither in Chrome, IE, or Fiddler.
[18:38:42] *** oste has quit IRC
[18:38:45] *** Oxynum has joined #angularjs
[18:39:04] <nerder> anybody can explain me why this controller dosen't work as expected?
[18:39:04] <nerder> https://gist.github.com/anonymous/7db74b3898cbb7c4207a
[18:39:15] <nerder> how can i bring value outside of a promise?
[18:39:22] *** atomical has quit IRC
[18:39:32] *** cornerman has quit IRC
[18:39:32] *** cornerma1 is now known as cornerman
[18:39:51] <Linell> Replace return $scope.trips = data with $scope.trips = data
[18:39:53] *** stirlingw has joined #angularjs
[18:39:53] *** Sjimi has quit IRC
[18:40:12] <Linell> Also, I think you might run into an issue where the console.log is getting hit before the promise completes. So put that inside of it too
[18:40:13] *** codeninja-don has joined #angularjs
[18:40:26] *** josh3336_ has joined #angularjs
[18:40:34] *** JosefDe has joined #angularjs
[18:40:35] *** elyssonmr has joined #angularjs
[18:40:45] *** Luser has joined #angularjs
[18:40:53] *** conner_ has joined #angularjs
[18:40:54] *** Fuzzy has quit IRC
[18:41:01] <nerder> Linell: but i need to have the value outside, becuase i wanna pass the value of $scope.trips to another controller, so i have to build another service
[18:41:03] *** TheAceOfHearts has joined #angularjs
[18:41:09] * stirlingw does his f5 finger stretches before the big game...
[18:41:09] *** Oxynum has quit IRC
[18:41:11] <JosefDe> Life sometimes can be really unfair. I've been working on a problem for 5 days. I always get disappointed when I think that I have solved the problem :(
[18:41:12] <Luser> Hi guys. Can anyone provide feedback about egghead.io as a tutorial for angular? I am thinking if it's worth to pay for subscription.
[18:41:23] *** ahmetkapikiran has joined #angularjs
[18:41:27] *** mjs2600 has joined #angularjs
[18:41:31] <nerder> but i dont wanna do another request to the backend server that took me some time to get responded
[18:41:32] *** jbalesteri has joined #angularjs
[18:41:34] *** m8 has quit IRC
[18:41:42] <Pritchard_> Luser: I can't say everything egghead offers is extraordinary versus just sitting your butt down and looking at the Angular docs... but...
[18:41:46] <bradgignac> nerder: it's async code, so you cannot do that.
[18:41:47] <Linell> Well once you set it, it *is* outside. Promises are kinda tricky to understand at first
[18:41:54] *** josh3336 has quit IRC
[18:41:54] *** josh3336_ is now known as josh3336
[18:41:55] <stirlingw> JosefDe: got a bug hydra? Those are the worst
[18:42:02] <bradgignac> nerder: what Linell said
[18:42:09] *** atomical has joined #angularjs
[18:42:18] <Pritchard_> Luser: I've been using Angular for months and egghead is the only source that's been able to answer some of my more technical questions about architecting angular applications.
[18:42:28] <Pritchard_> Luser: Ex, communication between directives, controller scopes.
[18:42:30] *** xavia has joined #angularjs
[18:42:32] <JosefDe> stirlingw: I don't know what it is. I'm getting crazy. It worked some hours ago. I don't know what I've changed but know it doesn't work anymore
[18:42:56] <ctanga> new Date(2014, 01, 14): Fri Feb 14 2014 00:00:00 GMT-0600 (CST)
[18:42:56] <ctanga> new Date("2014-01-14"): Mon Jan 13 2014 18:00:00 GMT-0600 (CST) O_o
[18:43:04] <jbalesteri> JosefDe cant just roll back the repo?
[18:43:09] <stirlingw> My code works I don't know why... my code doesn't work and I don't know why.
[18:43:18] *** monir has quit IRC
[18:43:24] <Pritchard_> stirlingw: Why? ;P
[18:43:29] *** xavia has left #angularjs
[18:43:32] <JosefDe> stirlingw: Why are you so funny?
[18:43:36] *** brennon_ has quit IRC
[18:43:37] *** platonic has joined #angularjs
[18:43:49] *** jbalesteri has quit IRC
[18:43:53] <nerder> Linell: so i can pass it to another controller? using a service'
[18:44:20] <Luser> Pritchard_: sounds like a good review, but I am not sure about one thing- will it be enough to start coding simple apps in angular by myself, or should I do some other course before watching these videos?
[18:44:39] <Pritchard_> Luser: Do you already know HTML, CSS, and JavaScript
[18:44:41] <Pritchard_> ?
[18:44:42] *** slopjong_ has joined #angularjs
[18:44:54] <Linell> nerder: yup, just do that inside of the .then
[18:44:54] *** SpotSec has quit IRC
[18:44:55] <Luser> Pritchard_: I think I do :).
[18:44:55] *** slopjong_ has quit IRC
[18:45:04] *** soee has quit IRC
[18:45:13] *** slopjong_ has joined #angularjs
[18:45:23] <nerder> Linell: like in this way: https://gist.github.com/anonymous/fc807818c4cab62dee5d ?
[18:45:26] <warnew_> Luser: I started with egghead.io (the free plan) and started coding.
[18:45:50] *** esk4nd4r has joined #angularjs
[18:45:51] *** annlewis has joined #angularjs
[18:45:56] <Pritchard_> Luser: I'd say go for it. Pay if you feel comfortable doing so. There's free content, right? If you like the teaching style, support your educators :)
[18:45:59] *** SpotSec has joined #angularjs
[18:46:06] <Linell> yup. Or even shorter, just pass it data (unless you (*need*) $scope.trips
[18:46:06] <Luser> Pritchard_: I was mostly doing backend for now (ruby on rails), but I am familiar with css,html,js,coffee,sass etc.
[18:46:08] *** speaking1ode is now known as speakingcode
[18:46:13] <Pritchard_> And then work your butt off and make sure you're getting what you pay for ;)
[18:46:26] *** MrBaboon has joined #angularjs
[18:46:44] <Luser> Okay, gonna do it that way. I have to figure out something for my first project (to-do list not included :D)
[18:46:57] * Pritchard_ banishes Luser for rejecting the ToDo list.
[18:47:06] *** soee has joined #angularjs
[18:47:07] *** jlebrech has quit IRC
[18:47:18] *** ogdabou has quit IRC
[18:47:22] <Pritchard_> Luser: Why not a todo list? Serious question.
[18:47:42] *** mikeduran has joined #angularjs
[18:47:47] *** platonic has quit IRC
[18:47:49] *** slopjong_ has quit IRC
[18:47:49] *** slopjong has quit IRC
[18:48:08] *** SuperPhly has quit IRC
[18:48:13] <Luser> Pritchard_: I want to work on something 'bigger', also- I've done something similiar to todo-list alerady using some tutorial from net.
[18:48:15] *** slopjong_ has joined #angularjs
[18:48:15] *** slopjong has joined #angularjs
[18:49:08] <Pritchard_> Luser: A todo list with a calendar, scheduling, notifications, additional notes, Google Maps integrations, email accounts and user passwords, history?
[18:49:14] <mikeduran> can someone help with a quick directive question?
[18:49:14] *** TheAceOfHearts has quit IRC
[18:49:30] <Pritchard_> Ijs you can make just about any app pretty big if you start targeting a wider user base or more workflows.
[18:49:42] *** crakrjak has joined #angularjs
[18:50:22] *** nairys has joined #angularjs
[18:50:54] *** threesixes has joined #angularjs
[18:50:59] <Pritchard_> Luser: I think it would be worth spending a little more upfront time thinking about exactly what you want out of Angular before accepting/rejecting any ideas on your next project with it.
[18:51:06] <Pritchard_> But that's just my opinion :)
[18:51:35] <Pritchard_> I recommending looking at builtwith.angularjs.org for inspiration.
[18:51:43] *** Aliks has quit IRC
[18:51:54] *** crakrjak has quit IRC
[18:52:19] *** Aliks has joined #angularjs
[18:52:20] *** RobinBAwesome has joined #angularjs
[18:52:31] *** glassir has joined #angularjs
[18:53:23] *** jiskiras has quit IRC
[18:53:43] *** crakrjak has joined #angularjs
[18:53:46] *** markalanevans has joined #angularjs
[18:53:50] <Luser> Pritchard_: I have a sketch of an app which I want to create, but am lacking skills atm :P. What I want to do is to use imdb API and make a tv-shows/movies 'suggesting' site.
[18:53:52] *** iksik has quit IRC
[18:54:16] <Pritchard_> Luser: How detailed is this "sketch", or is it literally a drawing?
[18:54:29] *** evotuned has joined #angularjs
[18:54:30] *** mubi has quit IRC
[18:54:51] *** bayousoft has quit IRC
[18:54:58] *** slopjong has quit IRC
[18:55:06] <Luser> Pritchard_: I know basic functionalities I want to use atm. Also I want to practice angularjs because I've got an internship offer which would begin on january.
[18:55:07] *** sharms has joined #angularjs
[18:55:14] *** slopjong has joined #angularjs
[18:55:22] *** slopjong_ has quit IRC
[18:55:29] <merobertsjr> anyone have experience with angular-fullstack-generator?
[18:55:30] *** MaxV has quit IRC
[18:55:31] *** slopjong_ has joined #angularjs
[18:55:43] <Pritchard_> Luser: Gotcha :) Good luck. I was just asking because 90% of the time it's a communication/vision issue, not a technology issue.
[18:55:53] *** bayousoft has joined #angularjs
[18:55:59] *** slopjong has quit IRC
[18:56:06] *** slopjong_ is now known as slopjong
[18:56:07] <mikeduran> i have a directive that returns the correct html but it is not compiled(?)
[18:56:15] *** slopjong_ has joined #angularjs
[18:56:21] <sharms> I have an application with <div ng-controller="Controller1 as Ctrl1"></div> and <div ng-controller="Controller2 as Ctrl2"></div>. When Controller1 has it's dropdown box clicked, I need to update Controller2's data when ng-click fires
[18:56:27] <sharms> That data is backed by ngResource / json
[18:56:32] <sharms> how I can I do that?
[18:56:33] <Luser> Pritchard_: I am just not familiar with frontend frameworks, but I've watched few videos/tuts about angular and am pretty amazed already.
[18:56:59] *** Aliks has quit IRC
[18:57:01] *** amethyste has quit IRC
[18:58:00] *** Josh has joined #angularjs
[18:58:24] *** Josh is now known as Guest16078
[18:58:30] *** corehook has quit IRC
[18:59:10] *** thedodd has quit IRC
[18:59:27] *** Foxandxss has joined #angularjs
[18:59:55] *** crakrjak has quit IRC
[19:00:10] *** mmitchel_ has joined #angularjs
[19:00:11] *** codeninja-don has quit IRC
[19:00:12] *** mmitchell has quit IRC
[19:00:13] *** mikeduran is now known as mike
[19:00:43] *** mike is now known as Guest23971
[19:01:17] *** Guest23971 has quit IRC
[19:02:00] *** SpotSec has quit IRC
[19:02:10] *** despai has joined #angularjs
[19:02:19] *** icfantv has quit IRC
[19:03:12] *** crakrjak has joined #angularjs
[19:03:18] *** storresi has quit IRC
[19:03:21] *** rileylark has quit IRC
[19:03:21] *** storresi_ has joined #angularjs
[19:03:41] <Sna4x8> I could use some help with a hierarchical filter. In this example, I have people who can sell in various locations: http://plnkr.co/edit/FOYXcAK2V1gdDV0g1GJL?p=preview
[19:03:52] <Sna4x8> I'd like to filter on location as I'm doing.
[19:04:04] *** esk4nd4r has quit IRC
[19:04:16] *** jlebrech has joined #angularjs
[19:04:23] *** iksik has joined #angularjs
[19:04:40] <Sna4x8> The issue comes up when the user selects building 1, floor 3, then selects building 2. The floor filter obviously doesn't get cleared.
[19:04:43] *** wallerdev has joined #angularjs
[19:04:50] *** tech2_ has quit IRC
[19:05:04] *** cswelin has quit IRC
[19:05:12] <Sna4x8> How should I approach this?
[19:05:14] *** soee has quit IRC
[19:05:46] *** knownasilya has joined #angularjs
[19:05:47] *** icfantv has joined #angularjs
[19:05:59] <Luser> Sna4x8: not sure what you mean, but after selecting B1F3 and B2 after I've got filter by floor emptied :>
[19:06:02] *** Oddman has joined #angularjs
[19:06:21] <Sna4x8> Yeah, but $scope.emp.filters.floor === 3
[19:06:28] *** jlebrech has quit IRC
[19:06:33] *** phuh has quit IRC
[19:06:33] *** crakrjak has quit IRC
[19:06:34] *** cswelin has joined #angularjs
[19:06:40] <Sna4x8> And there is no building 2 floor 3, so an empty filter is there on the page.
[19:06:54] *** soee has joined #angularjs
[19:06:58] *** phuh has joined #angularjs
[19:07:28] *** duall has quit IRC
[19:07:29] *** raj___ has quit IRC
[19:07:33] *** freelyfred has joined #angularjs
[19:07:46] *** vassagus has quit IRC
[19:07:50] <Sna4x8> Luser: Does that make sense? I can try to rephrase the problem if it helps.
[19:07:55] *** soee has quit IRC
[19:08:10] *** quantax- has joined #angularjs
[19:08:12] *** Snugug has quit IRC
[19:08:39] *** tristanp has quit IRC
[19:08:43] <Sna4x8> Seems like when the building changes, the floor filter should get reset (as building->floor is hierarchical). I'm not sure of the "correct" approach for that, though.
[19:09:04] *** guilbep has quit IRC
[19:09:04] <nickeddy> Sna4x8: you may be able to do an ng-change on the building and clear out the floor filter
[19:09:21] <nickeddy> i'd probably do it that way
[19:09:31] *** weeyum_ has joined #angularjs
[19:09:52] *** soee has joined #angularjs
[19:09:52] *** whunt has joined #angularjs
[19:09:59] *** MistahKurtz has joined #angularjs
[19:10:14] *** ggrzybek_afk has quit IRC
[19:10:20] *** lsiv568 has joined #angularjs
[19:10:31] <nickeddy> well looks like i'm not going to ng-conf after all lol
[19:10:35] *** krawek has quit IRC
[19:10:46] *** crakrjak has joined #angularjs
[19:11:35] *** tristanp has joined #angularjs
[19:12:21] *** evotuned has quit IRC
[19:12:53] *** JosefDe has quit IRC
[19:12:56] <nickeddy> sharms: i'd use a service
[19:13:17] *** mak`` has quit IRC
[19:13:23] *** evotuned has joined #angularjs
[19:13:36] *** esk4nd4r has joined #angularjs
[19:13:42] *** weeyum has quit IRC
[19:13:53] <sharms> nickeddy: I have a service to share data, but I dont know how to make it tell ngResource to refresh its Query()
[19:14:31] *** \du has quit IRC
[19:14:40] <nickeddy> sharms: when will you need to refresh?
[19:14:45] <sharms> ie on page load, I have a hidden div (ng-show hides it) but the data loads at that exact second. The dropdown is clicked, and now I want different data instead, in a different controller
[19:15:17] <nickeddy> can you make a plnkr with what you're trying to do?
[19:15:24] *** dannyc_ has quit IRC
[19:15:32] <sharms> ex my user clicks Location1 which changes the set of things offered in that location. So I made a LocationController and ThingController
[19:15:34] *** dannyc__ has quit IRC
[19:15:38] *** adpirz has joined #angularjs
[19:15:58] <ctanga> so, this is fun.
[19:16:04] *** sinclair has quit IRC
[19:16:10] <ctanga> new Date(2014, 01, 14): Fri Feb 14 2014 00:00:00 GMT-0600 (CST)
[19:16:14] <ctanga> new Date("2014-01-14"): Mon Jan 13 2014 18:00:00 GMT-0600 (CST)
[19:16:25] <nickeddy> sharms: why are they in two different controllers? sounds like that's stuff that could be under one
[19:16:32] <ctanga> i love dates
[19:16:33] <Sna4x8> ctanga: month is 0-based.
[19:16:47] <ctanga> Sna4x8: yeah. look at the date too
[19:16:47] <nickeddy> ctanga: moment.js <3
[19:16:55] <ctanga> nickeddy: as a dependency of ui-router? :P
[19:17:02] <nickeddy> yes
[19:17:02] <nickeddy> lol
[19:17:04] <ctanga> no heh
[19:17:06] <ctanga> :)
[19:17:08] *** crakrjak has quit IRC
[19:17:16] <nickeddy> what's ui-router have to do with dates?
[19:17:35] <sharms> nickeddy: I definitely know how to do it as one controller, but I wasnt sure that was pragmatic angular
[19:17:41] <ctanga> nate added a ‘date’ type
[19:17:59] *** evilaliv3 has quit IRC
[19:18:01] <Sna4x8> nickeddy: Thanks for the help. I considered doing that - it just feels wrong/hackey to use ng-change to clear a hierarchical filter. It seems like I could structure my filter data differently or something...
[19:18:02] *** comfreek has joined #angularjs
[19:18:03] *** TheAceOfHearts has joined #angularjs
[19:18:31] *** raj___ has joined #angularjs
[19:18:43] <nickeddy> sharms: i think that's fine. no need to break it up unless you've got a ton of reusage of those two components. even still, sounds like they are closely linked regardless
[19:18:43] *** despai has quit IRC
[19:18:57] <sharms> ok thanks for the help
[19:18:58] <nickeddy> Sna4x8: nah i wouldn't call that hacky
[19:19:10] <nickeddy> Sna4x8: i mean that's the behavior you want
[19:19:22] <Sna4x8> Yep. Good enough for the girls I go with.
[19:19:25] <nickeddy> :)
[19:19:26] <Sna4x8> Thanks man.
[19:19:27] *** mtsr has quit IRC
[19:19:29] <nickeddy> np
[19:19:30] *** trend has quit IRC
[19:19:57] *** adpirz has quit IRC
[19:20:05] <nickeddy> ctanga: date type for params?
[19:20:07] *** __TheDodd__ has joined #angularjs
[19:20:28] *** pardo_bsso has quit IRC
[19:20:30] <ctanga> nickeddy: yeah
[19:20:34] <ctanga> seems sketchy to me
[19:20:35] *** JayFK has quit IRC
[19:20:35] *** crakrjak has joined #angularjs
[19:20:39] <nickeddy> yeah..
[19:20:44] *** eamonn has quit IRC
[19:21:06] *** mtsr has joined #angularjs
[19:21:06] *** diosney has joined #angularjs
[19:21:13] *** jeremymarc has joined #angularjs
[19:21:16] <nickeddy> i've never really liked how js handles dates, as evidenced by the whole "oh strings aren't 0 based index but providing the raw Date(year, month, day) is"
[19:21:25] *** dc_ has joined #angularjs
[19:21:26] <nickeddy> silly as fuck
[19:21:40] <ctanga> don’t get me started on time zones
[19:21:46] <Sna4x8> lol, serious^^
[19:21:46] <nickeddy> heh...
[19:21:50] <Sna4x8> Time zones === my nightmare.
[19:22:05] *** jimmont has joined #angularjs
[19:22:26] <nickeddy> ctanga: moment.js as an optional dependency wouldn't be too bad though. moment.min.js is 11.3kB
[19:22:38] *** IvailoStoianov has quit IRC
[19:22:39] <ctanga> that’s like 1/4 the size of ui-router-extras!
[19:22:53] *** bayousoft has quit IRC
[19:22:53] *** Linell has quit IRC
[19:23:21] <cboden> + ∞ for moment and moment timezone
[19:23:23] <nickeddy> ui-router-extras is fatty
[19:23:33] *** subsonic has joined #angularjs
[19:23:41] *** mmitchel_ has quit IRC
[19:23:45] *** jacuqesdancona_ has joined #angularjs
[19:23:47] <comfreek> Is there a filter option for arrays which can transform every array item? As far as I understand, filter functions used with arrays can only return 'true/false'.
[19:23:54] <ctanga> but, I think I’m going to make the date type do everything in local time zone, and mention that you can add your own date or datetime type using moment in the docs
[19:23:58] <nickeddy> moment-timezone-all-years.min.js -> 24kB
[19:24:10] <cboden> comfreek you want map instead of filter
[19:24:13] *** mubi has joined #angularjs
[19:24:20] *** nemothekid has joined #angularjs
[19:24:26] <Siecje> How come the title doesn't show up on mouseover http://plnkr.co/edit/o0MVCvfVDpEKIJbQ73Wc?p=preview
[19:24:39] *** IvailoStoianov has joined #angularjs
[19:24:46] *** subsonic has quit IRC
[19:24:50] <nickeddy> Siecje: look at console
[19:25:20] <oniijin> http://thechive.files.wordpress.com/2014/11/84355173.gif
[19:25:29] *** bayousoft has joined #angularjs
[19:25:52] <nickeddy> oniijin: lol dogs are so stupid when they're puppies
[19:26:10] <oniijin> it's great
[19:26:12] *** Una has quit IRC
[19:26:19] *** crakrjak has quit IRC
[19:26:19] <Siecje> nickeddy: sorry fixed but still the title attribute is not working
[19:26:36] *** anapitupulu has joined #angularjs
[19:26:45] <nickeddy> link to the plnkr again
[19:26:50] <nickeddy> updated one*
[19:26:51] *** d4rklit3 has joined #angularjs
[19:26:54] *** stormbytes has quit IRC
[19:27:02] *** elyssonmr has quit IRC
[19:27:28] *** trend has joined #angularjs
[19:27:56] *** jiskiras has joined #angularjs
[19:28:27] *** jacuqesdancona_ has quit IRC
[19:28:35] *** Lingo____ has joined #angularjs
[19:28:37] *** memento_ has quit IRC
[19:28:45] <Siecje> nickeddy: http://plnkr.co/edit/RXEvd5O1PZZA4nVNxymR?p=preview
[19:28:49] *** mmitchell has joined #angularjs
[19:28:56] *** Schtive has quit IRC
[19:28:57] <jpstone> dogs are always stupid. :D
[19:29:00] *** FIFOd[a] has quit IRC
[19:29:11] *** bengillies has quit IRC
[19:29:17] <comfreek> cboden: Thanks, how can I call Array#map in a ng-repeat directive? __ng-repeat="image in ctrl.images.map(function)"__ doesn't work because 'function' is undefiend. I have defined it as a filter function on the same controller.
[19:29:39] <nickeddy> Siecje: what are you trying to do?
[19:30:27] *** DrMabuse_ has quit IRC
[19:30:28] <cboden> comfreek: you probably want to do that in the controller and pass the result to loop in your view instead. That way the computation is only done once
[19:30:36] *** joshontheweb has joined #angularjs
[19:31:17] *** whunt has quit IRC
[19:31:23] *** gurke_ has quit IRC
[19:32:07] *** JosefDe has joined #angularjs
[19:32:16] *** Lingo____ has left #angularjs
[19:32:21] *** Lingo____ has joined #angularjs
[19:32:25] *** Lingo____ has left #angularjs
[19:32:34] *** Snugug has joined #angularjs
[19:33:02] <Siecje> nickeddy: I want there to be a title when the button is disabled
[19:33:55] <nickeddy> well you need an expression
[19:34:11] *** chromatome has joined #angularjs
[19:34:21] *** Lingo___ has joined #angularjs
[19:34:28] *** Lingo___ has left #angularjs
[19:34:37] <nickeddy> ng-attr-title="{{ someTest? 'Agenda is locked': 'Save Changes' }}"
[19:34:38] *** __TheDodd__ has quit IRC
[19:34:43] *** whunt has joined #angularjs
[19:34:49] <Siecje> You mean instead of 'true'? ng-attr-title="true ? 'Agenda is locked' : 'Save Changes'"
[19:35:06] *** tripu has quit IRC
[19:35:10] <nickeddy> same thing you have but in {{ }}
[19:35:23] *** eBureau has joined #angularjs
[19:35:27] *** esk4nd4r has quit IRC
[19:35:30] *** GTgolfer has joined #angularjs
[19:35:43] <nickeddy> i don't think plunkr lets you change the title though
[19:35:52] <nickeddy> so try that outside of plnkr
[19:36:10] <oniijin> wouldnt that always be true
[19:36:13] *** Poppabear has joined #angularjs
[19:36:22] <nickeddy> he's just doing it to test i'm guessing
[19:36:24] *** storresi_ has quit IRC
[19:36:29] <nickeddy> but yeah that would always evaluate to the first part
[19:36:50] *** storresi has joined #angularjs
[19:36:57] *** nerder has quit IRC
[19:36:59] *** zB0hs has quit IRC
[19:37:34] *** rahulprasad has joined #angularjs
[19:37:37] <Siecje> In my code I have ng-attr-title="{{agenda.locked ? 'Agenda is locked': 'Save Changes'}}"
[19:38:03] *** zB0hs has joined #angularjs
[19:38:29] <nickeddy> i'm 90% sure that will update the title attr on the thing you're doing ng-attr-title on also
[19:39:05] <nickeddy> so <button ng-attr-title="{{agenda.locked ? 'Agenda is locked': 'Save Changes'}}"> turns to <button title="Agenda is locked">
[19:39:07] *** manekinekko has joined #angularjs
[19:39:08] <nickeddy> = not what you want
[19:39:15] *** patricka_ has joined #angularjs
[19:39:16] <nickeddy> you want to update the page title?
[19:39:27] <Siecje> I want to add a title attribute
[19:39:37] <Siecje> I can have two different buttons with ng-show and different titles
[19:39:43] *** joshfinnie has quit IRC
[19:40:09] <nickeddy> i'm curious as to what a title attr on a button does...
[19:40:15] <nickeddy> because i'm pretty sure it doesn't do anything
[19:40:36] <Siecje> In Bootstrap it gives it mouseover text
[19:40:41] *** lsiv568 has quit IRC
[19:40:57] *** patrickarlt has quit IRC
[19:41:00] <Siecje> I didn't think it was Bootstrap though
[19:41:13] <ctanga> i frigging love sushi wednesdays
[19:41:15] <nickeddy> that's still not doing anything. inspect your code in plnkr, it does have the title attr... but nothing happens
[19:41:17] <oniijin> it does it regardless
[19:41:24] <ctanga> 5$ grab and go sushi
[19:41:46] <nickeddy> ctanga: $5 grab and go food poisoning
[19:42:03] <oniijin> blergh US sushi is inedible usually
[19:42:26] <nickeddy> lol oniijin are you a sushi purist?
[19:42:50] *** cthrax_ has quit IRC
[19:43:05] *** baweaver has joined #angularjs
[19:43:05] *** phpxadmin has joined #angularjs
[19:43:05] *** zB0hs has quit IRC
[19:43:18] <Siecje> I guess you can't have a title on a disabled button
[19:43:25] *** nickebowen has joined #angularjs
[19:43:46] <oniijin> nickeddy i wouldnt say purist, but most of what gets served in the US shouldnt even be called sushi
[19:43:47] <nickeddy> Siecje: ah yeah enabling it puts the mouseover. weird
[19:43:57] *** elyssonmr has joined #angularjs
[19:44:06] *** zB0hs has joined #angularjs
[19:44:15] <Siecje> Change it to an anchor?
[19:44:15] <nickeddy> oniijin: i normally don't get the super americanized rolls, but some are good. nigiri = <33333333333
[19:44:19] *** AlSquirrel has quit IRC
[19:44:20] *** lsiv568 has joined #angularjs
[19:44:31] <nickeddy> Siecje: that would work, can still stylize it to be a button with bootstrap
[19:44:32] *** zB0hs has quit IRC
[19:44:47] <oniijin> issue might be disabled not reacting to mouse events
[19:44:52] *** JosefDe has quit IRC
[19:45:07] <oniijin> nickeddy fish quality is a big issue for me
[19:45:26] *** SuperPhly has joined #angularjs
[19:46:49] *** joshuafcole has joined #angularjs
[19:47:13] <nickebowen> in my ng-repeat, i'm using the filter orderBy:event.updatetime:true This works great in Firefox/Chrome/Safari, but the OrderBy is ignored in IE 10 or IE 11. I'm running 1.3.2. Any ideas?
[19:47:23] <oniijin> yeah Siecje if u change pointer-events to something like fill, your title will show up
[19:47:44] *** esk4nd4r has joined #angularjs
[19:47:48] *** IvailoStoianov has quit IRC
[19:47:48] *** nilsma has joined #angularjs
[19:47:54] *** storresi has quit IRC
[19:47:55] *** a3gis has quit IRC
[19:47:56] *** mclenithan has joined #angularjs
[19:48:00] *** seriema has joined #angularjs
[19:48:21] <Siecje> I ended up wrapping it in a div with data-toggle="tooltip" and title
[19:48:28] *** monir has joined #angularjs
[19:48:34] *** sharms has quit IRC
[19:49:17] *** JosefDe has joined #angularjs
[19:50:12] *** azizur has quit IRC
[19:50:42] <oniijin> in any case, it was disabled getting rid of mouse events
[19:51:41] *** yelvert has quit IRC
[19:52:07] *** yelvert has joined #angularjs
[19:52:40] *** Una has joined #angularjs
[19:52:52] *** yelvert has quit IRC
[19:52:57] <sonicparke|bradm> ctanga: where is this sushi wednesday?
[19:52:59] *** evotuned has quit IRC
[19:53:11] *** dmack has joined #angularjs
[19:53:14] *** yelvert has joined #angularjs
[19:53:30] <ctanga> teeny little sushi shop in mn
[19:54:03] *** scriptThis has joined #angularjs
[19:54:13] <sonicparke|bradm> bummer. my kids love sushi
[19:54:14] *** Nijikokun has joined #angularjs
[19:54:45] <sonicparke|bradm> we all do...but the kids would eat it all the time
[19:54:48] *** IvailoStoianov has joined #angularjs
[19:54:51] *** phzon has joined #angularjs
[19:54:52] *** Geertje123_ has quit IRC
[19:55:01] *** scriptThis has joined #angularjs
[19:55:02] *** soee has quit IRC
[19:55:37] *** ngbot has joined #angularjs
[19:55:37] <ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/OKSHUg
[19:55:37] <ngbot> angular.js/master bb16759 Toilal: docs(jqLite): clarify that Debug Data must be enabled for scope/isolateScope methods...
[19:55:37] *** ngbot has left #angularjs
[19:55:38] * stirlingw gets ready for battle
[19:55:59] *** esk4nd4r has quit IRC
[19:56:03] *** davidreis has quit IRC
[19:56:23] *** jiskiras has quit IRC
[19:56:23] *** soee has joined #angularjs
[19:56:32] *** jeremymarc has quit IRC
[19:56:45] *** Slowintrepid has quit IRC
[19:56:48] *** jiskiras has joined #angularjs
[19:57:14] <stirlingw> looks like they changed it so you don't have a 1 in the workshops
[19:57:15] <stirlingw> woot
[19:58:13] *** jiskiras_ has joined #angularjs
[19:58:14] *** NorthBlast has joined #angularjs
[19:58:31] *** chromatome has quit IRC
[19:58:36] *** raj___ has quit IRC
[19:58:37] *** jiskiras has quit IRC
[19:59:01] <dmack> yeah.
[19:59:06] *** phzon has quit IRC
[19:59:09] *** esk4nd4r has joined #angularjs
[20:00:09] *** Snugug has quit IRC
[20:00:15] *** vassagus has joined #angularjs
[20:00:18] *** tech2_ has joined #angularjs
[20:00:41] <dman777_alter> is it possible to have 2 ng-model's for one input element?
[20:00:53] <icfantv> WOOOT
[20:00:57] <icfantv> got my ticket
[20:01:02] <nickeddy> nice
[20:01:14] <nickeddy> my boss concluded it would be worthless
[20:01:17] <icfantv> what a different experience than last week
[20:01:23] *** esk4nd4r has joined #angularjs
[20:01:29] *** Luser has quit IRC
[20:01:30] <dmack> got a ticket
[20:01:32] <dmack> sweeeet
[20:01:41] <dmack> wow.
[20:01:42] <dmack> so much better
[20:01:54] *** basiclaser_ has quit IRC
[20:02:07] *** jiskiras_ has quit IRC
[20:02:34] <sonicparke|bradm> dmack: congrats
[20:02:42] *** glosoli has joined #angularjs
[20:02:44] <dmack> you get one?
[20:02:57] *** dcherman2 has joined #angularjs
[20:02:59] * icfantv got one
[20:03:02] <sonicparke|bradm> I got one last week but my coworker didn't. But did today
[20:03:26] *** anjumkaiser1 has joined #angularjs
[20:03:34] <icfantv> they either increased capacity big time or the number of tickets available in round 2 was exponentially larger than round one
[20:03:40] *** chrisshattuck has joined #angularjs
[20:03:45] *** favetelinguis has quit IRC
[20:03:47] <dmack> nah, they improved the system
[20:04:01] *** chrisbirk has joined #angularjs
[20:04:02] <dmack> or, people were so put off my try #1 they didn't try #2
[20:04:02] *** markalanevans has quit IRC
[20:04:03] <icfantv> looks like they're all allocated
[20:04:09] <icfantv> dmack, that was my hope
[20:04:13] *** weeyum__ has joined #angularjs
[20:04:13] <cody--> how the fuck is it locked at 2:00PM on the dot
[20:04:20] *** favetelinguis has joined #angularjs
[20:04:35] *** chromatome has joined #angularjs
[20:04:44] <dmack> i refreshed at 1:59:58
[20:04:51] *** Aswebb has quit IRC
[20:04:51] <cody--> if there's this much demand for an angular conf... why not have like 4 in a month or something
[20:04:51] <dmack> and had my mouse alreay on the button
[20:05:11] <nickeddy> or just make it bigger
[20:05:22] *** anjumkaiser has quit IRC
[20:05:27] *** esk4nd4r has quit IRC
[20:05:28] *** thedodd has joined #angularjs
[20:05:29] <icfantv> dmack: i did too…and every 15s prior for like 3 minutes
[20:05:42] *** dcherman has quit IRC
[20:05:49] <icfantv> cody--: dude, we were all saying this last week
[20:06:04] *** jimmont has quit IRC
[20:06:12] <dmack> yeah. i'm sure the hotel is already booked
[20:06:16] *** MaxV has joined #angularjs
[20:06:26] <dmack> since it appears to be in a motel 6
[20:06:27] <sonicparke|bradm> there's still a chance. Tickets are locked but not sold yet
[20:06:28] <icfantv> cody--: if you didn't get a ticket and want one, wait until 15 after, all the locked tickets that weren't purchased will be released
[20:06:34] *** phuh has quit IRC
[20:06:34] <cody--> anyone know how many tickets they are selling?
[20:06:41] <icfantv> cody--: 700
[20:06:43] *** jakswa has joined #angularjs
[20:06:54] *** jimmont has joined #angularjs
[20:06:59] *** phuh has joined #angularjs
[20:07:04] <icfantv> dmack: i hope not, boss won't let me book/pay until next year
[20:07:08] <cody--> holy fuck
[20:07:13] *** nemothekid has quit IRC
[20:07:17] <cody--> that over $500,000
[20:07:18] *** coffey has joined #angularjs
[20:07:29] <dmack> yeah, they're making a pretty penny
[20:07:29] *** Slowintrepid has joined #angularjs
[20:07:38] *** NoNMaDDeN has quit IRC
[20:07:40] <dmack> but organizing conferences is a huge pain in the ass
[20:07:44] *** weeyum_ has quit IRC
[20:07:45] <icfantv> cody--: rental of hotel conference space is NOT cheap
[20:07:49] <nickeddy> i'm guessing the organization costs aren't cheap
[20:07:50] <nickeddy> what icfantv said
[20:08:00] <dmack> they're making money.
[20:08:03] <nickeddy> also there's probably a bit of swag involved
[20:08:03] <cody--> oh ya, no doubt, but still..
[20:08:21] <dmack> it's mainly time/stress, these dudes have other jobs
[20:08:23] *** favetelinguis has quit IRC
[20:08:25] *** ngbot has joined #angularjs
[20:08:25] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 16833d0 to a2f2032: http://git.io/iW1ONQ
[20:08:26] *** ngbot has left #angularjs
[20:08:32] <icfantv> my nephew's bar mitzvah was this past weekend and the price difference between having brunch in the hotel restaurant vs a conference room was astronomical
[20:08:46] <icfantv> food alone was $25/person more
[20:08:51] <dmack> should have signed up for the SC2 tourney
[20:08:52] *** NoNMaDDeN has joined #angularjs
[20:08:53] *** yoshokatana has quit IRC
[20:09:02] <dmack> pwn some ngNoobs
[20:09:05] <icfantv> dmack: hehehehe. i would suck SO bad at that
[20:09:05] <nickeddy> dmack: which one? lol
[20:09:18] <oniijin> sucking
[20:09:20] *** jiskiras has joined #angularjs
[20:09:24] <dmack> i was so nervous I just clicked everything as fast as possible
[20:09:24] <icfantv> nickeddy: starcraft 2
[20:09:30] <nickeddy> i know what sc2 is
[20:09:31] <nickeddy> there'
[20:09:31] <icfantv> dmack: me too
[20:09:34] *** ngbot has joined #angularjs
[20:09:34] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from a2f2032 to 7ff5ec2: http://git.io/F51P7g
[20:09:34] *** ngbot has left #angularjs
[20:09:36] *** JosefDe has quit IRC
[20:09:37] <nickeddy> there's a billion different tournies though
[20:09:41] *** darrin has quit IRC
[20:09:42] <icfantv> dmack: but once i had the CC # entry screen i figured i had it
[20:09:49] <dmack> nickeddy: the one at ngConf?
[20:09:57] *** darrin has joined #angularjs
[20:09:58] <nickeddy> there's one at ngconf, really? lol
[20:10:01] <icfantv> nickeddy: oh.
[20:10:02] <dmack> apparently
[20:10:06] <stirlingw> hurray... I got my ticket to the chocolate factory
[20:10:14] <nickeddy> weird
[20:10:24] <seiyria> hey guys, is it possible to use $location.search() w/o having a hash in the url, but having query parameters?
[20:10:29] *** \du has joined #angularjs
[20:10:29] *** \du has joined #angularjs
[20:10:38] *** ngbot has joined #angularjs
[20:10:38] <ngbot> [angular.js] jeffbcross merged v1.2.x into g3_v1_2: http://git.io/tUQdSw
[20:10:38] *** ngbot has left #angularjs
[20:10:46] *** MaxV has quit IRC
[20:10:50] *** ngbot has joined #angularjs
[20:10:50] <ngbot> [angular.js] Narretz pushed 1 new commit to master: http://git.io/FAaTgg
[20:10:50] <ngbot> angular.js/master e8941c0 IShotTheSheriff: feat(ngModelController): add $setDirty method...
[20:10:50] *** ngbot has left #angularjs
[20:11:16] <icfantv> dmack: did you get any of the extra training?
[20:11:23] <icfantv> my boss said i could, so i did
[20:11:25] <dmack> icfantv: I didn't
[20:11:33] <dmack> I'm pretty well versed in Ionic
[20:11:40] <dmack> built several things with it already
[20:11:46] *** lsiv568 has quit IRC
[20:11:58] *** despai has joined #angularjs
[20:12:02] *** lsiv568 has joined #angularjs
[20:12:03] <dmack> I'm sure they'll be good though.
[20:12:11] <icfantv> dmack: oh sorry, not ionic, the angular training
[20:12:17] <icfantv> i did the advanced one
[20:12:20] <dmack> hmm
[20:12:23] <dmack> I didn't
[20:12:34] *** brogrammer has joined #angularjs
[20:12:35] <dmack> guess I could still buy it
[20:12:42] <icfantv> dmack: yea, it's the workshop ticket
[20:12:44] <icfantv> 6 hours
[20:12:46] <icfantv> on wednesday
[20:12:48] <icfantv> includes lunch
[20:12:49] *** TrevDev has quit IRC
[20:12:51] <icfantv> $400
[20:12:54] *** comfreek has quit IRC
[20:12:56] <sonicparke|bradm> dmack: we ignored the workshop tickets this time to make sure we got a conf ticket
[20:13:03] <dmack> wonder if they'll talk about 2.0
[20:13:05] <brogrammer> is it possible to have a directive return a ng-include?
[20:13:06] <dmack> during the workshop
[20:13:06] <sonicparke|bradm> then went back to get the workshop ticket after
[20:13:08] *** TrevDev has joined #angularjs
[20:13:25] *** favetelinguis has joined #angularjs
[20:13:28] <brogrammer> for dynamic ng-includes ... the app is configurable on what panels to see on a page
[20:13:38] *** Linell has joined #angularjs
[20:13:42] *** mubi has left #angularjs
[20:13:46] <icfantv> brogrammer: you can load and inject templates in your directive
[20:14:21] <icfantv> brogrammer: but you could also add ng-if to your ng-include
[20:14:30] <icfantv> brogrammer: or wrap it
[20:14:37] *** spatialbrew has quit IRC
[20:14:38] *** Carlangueitor has joined #angularjs
[20:14:38] *** kkthxbye has joined #angularjs
[20:14:39] <icfantv> brogrammer: or ng-show....
[20:14:44] *** bbankes has joined #angularjs
[20:15:35] <brogrammer> ya i have a list of possible 'panels' and they each have a templateurl and controller..the directive seems to pu the correct code in the html but doesnt' seem to actually include the tmplate url
[20:15:38] <dmack> icfantv: just biught the advanced workshop
[20:15:39] <dmack> cya there :)
[20:15:53] *** Benstr has joined #angularjs
[20:16:21] <brogrammer> i end up with <div ng-include="'templatename.html'" ng-controller="Ctrl"></div> but the template doesn't actually get included ???
[20:16:36] *** monir has quit IRC
[20:16:40] <dmack> brogrammer: it's ng-include src="'xxx'"
[20:16:45] <brogrammer> do i have to do soemthing with $compile in the template to get it to work?
[20:16:48] *** Rebirth has quit IRC
[20:16:59] <dmack> you forgot src :)
[20:17:05] <icfantv> brogrammer: can you create a plunkr?
[20:17:11] <brogrammer> i thought you could do it either way...
[20:17:14] <icfantv> dmack: yep
[20:17:14] <jaawerth> dmack: no, when using it as an attribute you can use it without src
[20:17:24] <nickeddy> dmack: it can be either ng-include="" or ng-include src=""
[20:17:32] *** rileylark has joined #angularjs
[20:17:34] <icfantv> brogrammer: oh, sorry, i'm behind on the thread
[20:17:35] <dmack> oh?
[20:17:36] *** favetelinguis has quit IRC
[20:17:41] *** dc_ has quit IRC
[20:17:48] <nickeddy> as an element it needs the src.
[20:17:52] <dmack> my bad, I thought it was just <ng-include>
[20:17:53] <brogrammer> ya i'll see if i can get one that duplicates what i am doing....damn account manager wants the page very configurable which makes my life harder :)
[20:17:54] <nickeddy> as attr you can use the quotes
[20:17:56] <dmack> didn;t see it was an attr
[20:18:16] <icfantv> brogrammer: also, if your template is defined via <script ng-template/> then you need to wrap the id in single AND double quotes in the src attribute
[20:18:32] *** _lexjm has joined #angularjs
[20:18:33] *** larsgk has joined #angularjs
[20:18:58] <jaawerth> that shouldn't matter so long as you've stored it correctly in templateCache
[20:19:05] *** Guest16078 has quit IRC
[20:19:09] *** nemothekid has joined #angularjs
[20:19:09] <seiyria> nevermind, found a relevant issue: https://github.com/angular/angular.js/issues/7239
[20:19:10] *** quadmasta has joined #angularjs
[20:19:16] <icfantv> jaawerth: is he using a cache?
[20:19:38] <jaawerth> well depends on how the template was defined
[20:19:49] <brogrammer> hmm i don't think we are using tempalteCache...i will look at that
[20:19:50] <brogrammer> thanks
[20:20:00] <stirlingw> Any bets on how fast 2nd round will sell out?\
[20:20:15] <quadmasta> I'm retrofitting an angular app into an existing Java/JSP app and everything works fine in Firefox and Chrome but I get the dreaded "Object Expected" error in IE
[20:20:31] *** Geertje123_ has joined #angularjs
[20:20:35] <quadmasta> I've tried everything I could find with my search terms "objected expected" ie angularjs
[20:20:36] *** stormbytes has joined #angularjs
[20:20:45] *** Josh has joined #angularjs
[20:20:50] <quadmasta> can anyone recommend any other search terms?
[20:21:08] *** Josh is now known as Guest46146
[20:21:30] *** ehalas2 has joined #angularjs
[20:21:42] *** brennon_ has joined #angularjs
[20:22:17] <zomg> quadmasta: iirc one cause could be an extra , in an array or object literal
[20:22:31] <zomg> considering both chrome and firefox accept that with no issue would also point towards that
[20:22:42] *** dweave has joined #angularjs
[20:22:43] <jaawerth> icfantv: actually, pretty sure using script tags will automatically put it in templatecache
[20:22:46] <quadmasta> zomg: It blows up if I just include the angular js
[20:22:47] <nickeddy> ie doesn't like [1,2,3,4,] ?
[20:22:51] *** babykosh has joined #angularjs
[20:22:57] *** tristanp has quit IRC
[20:22:59] <zomg> quadmasta: "the angular js" meaning what exactly?
[20:23:05] <jaawerth> icfantv: oh wait nevermind, I misread your earlier comment
[20:23:08] <icfantv> jaawerth: really? i'm using that and if i left off the single ticks it didn't work
[20:23:17] <icfantv> jaawerth: Ahhhhh, ok. that make sense
[20:23:18] *** andrewdub has quit IRC
[20:23:20] *** elrabin_ has joined #angularjs
[20:23:22] *** ElysiumNet has joined #angularjs
[20:23:27] <quadmasta> zomg: just the angular library, no directives anywhere
[20:23:35] *** baweaver has quit IRC
[20:23:39] *** Una has quit IRC
[20:23:42] <quadmasta> so whatever static code it's running is causing the "object expected"
[20:23:47] <nickeddy> quadmasta: what version of ie?
[20:23:51] <icfantv> jaawerth: it wasn't totally clear. i should have said the value of the id attribute in the src attribute needs to be single and double quoted
[20:24:00] <quadmasta> 11
[20:24:13] *** foofoobar has joined #angularjs
[20:24:14] <dweave> what exactly is the purpose of using the $animate service when using css3 transitions? can’t i just add classes and remove them like i normally would with transitions
[20:24:16] <nickeddy> lol i hate ie. it really needs to just go die in a corner somewhere
[20:24:20] <jaawerth> icfantv: yeah, you do need single and doublequotes, but you do *anyway* since that's just an interpolation thing
[20:24:24] <quadmasta> nickeddy: I don't disagree
[20:24:34] *** say2joe has joined #angularjs
[20:24:35] *** elrabin has quit IRC
[20:24:41] *** bjtitus has quit IRC
[20:24:47] <icfantv> nickeddy: my company only supports chrome internally now - it's glorious
[20:24:48] <quadmasta> I tried reverting to 1.2.x but I get a different syntax error
[20:24:57] *** GreenJello has quit IRC
[20:25:01] <zomg> quadmasta: you mean you're just including the angularjs library itself and no custom code?
[20:25:09] <nickeddy> icfantv: i've been lucky to only have to support chrome/firefox
[20:25:11] <icfantv> jaawerth: ahhhh, got it. i thought it was for angular.
[20:25:19] <quadmasta> zomg: yes, no directives on any html elements either
[20:25:20] *** oste has joined #angularjs
[20:25:35] *** basiclaser_ has joined #angularjs
[20:25:36] *** RWOverdijk has joined #angularjs
[20:25:38] <icfantv> nickeddy: makes our dev jobs a LOT easier
[20:25:38] <RWOverdijk> If I specify a module as dependency of another module, can I use it's controllers in the same ng-app?
[20:25:46] *** spatialbrew has joined #angularjs
[20:25:48] <zomg> quadmasta: That's strange.. it should definitely work in IE 11 with no issues if you're just loading the library
[20:25:49] <jaawerth> hm? oh, I mean ng-include="" or <ng-include src=""> is interpolated as an expression, so if you want to put a url string right in you need to double-quote it anyway
[20:26:08] <quadmasta> zomg: now you understand my frustration :)
[20:26:14] <zomg> quadmasta: you should be able to get a reference to which file and line the error occurred on if you look in the IE dev tools
[20:26:32] *** Una has joined #angularjs
[20:26:35] <quadmasta> it's complaining about line 335 column 12 in angular.js
[20:26:55] <quadmasta> I'm 100% positive it's the angular include that's causing the browser to crap ou
[20:26:57] <quadmasta> out*
[20:27:07] <quadmasta> if I comment it, the page loads fine
[20:27:32] <jaawerth> dweave: you can do it yourself if you want, but $animate makes it a little easier to define and trigger the animations, and to set up fallbacks when appropriate. It just automates a bunch of event listening and stuff, and provides hooks, where you'd otherwise have to code by hand.
[20:27:48] *** RWOverdijk has left #angularjs
[20:27:49] <dweave> i see.
[20:27:55] <icfantv> aaaaaaand just like that ng-conf 2015 is sold out
[20:27:56] <dweave> pretty convenient actually
[20:28:18] *** Txandy has quit IRC
[20:28:23] <icfantv> jaawerth: right, but what is so special about the single ticks?
[20:28:43] <jaawerth> nothing, you could do double-quotes inside of single-quotes if you wanted to
[20:28:44] *** around_ has joined #angularjs
[20:28:56] <jaawerth> it's just that it's an angular expression, so if you want a string you need to specify that via quotes
[20:29:02] *** elyssonmr has quit IRC
[20:29:09] *** Una has quit IRC
[20:29:16] <jaawerth> and it's easier to use single-quotes than it is to do " \"stuff\" "
[20:29:26] *** ishan1604 has joined #angularjs
[20:29:34] *** bengillies has joined #angularjs
[20:29:37] *** ishan1604 has joined #angularjs
[20:29:41] <MacWinner> hi guys, could someone point me to a good method or architecture for doing route protection. I was thinking about something using route resolves along with http-auth-interceptor
[20:30:00] <quadmasta> zomg: any suggestions on stuff to look into?
[20:30:05] <nickeddy> MacWinner: do you use ui-router?
[20:30:10] <ctanga> you rang
[20:30:12] <MacWinner> ngRoute
[20:30:24] <nickeddy> well there's your first problem
[20:31:15] *** manekinekko has quit IRC
[20:31:34] *** Schtive has joined #angularjs
[20:31:43] <MacWinner> does ui-router have this built in somehow? I'm open to switching as long as it clearly fits the need.. but i feel like both ngRoute and ui-router are the same for me because my apps are single views with a bunch of directives in them
[20:31:56] *** rahulprasad has quit IRC
[20:32:11] *** platonic has joined #angularjs
[20:32:13] *** brennon_ has quit IRC
[20:32:19] *** mdcox has joined #angularjs
[20:32:20] <nickeddy> ngroute sucks cock, just trust me on that. ui-router has onEnter callbacks you can use for checking auth
[20:32:30] <nickeddy> at least that's how i do it
[20:32:37] <nickeddy> ctanga probably has a better way of doing it
[20:32:37] *** Underbyte has joined #angularjs
[20:33:10] <MacWinner> k.. i'll read up more on it
[20:33:46] *** eBureau has quit IRC
[20:33:53] <jaawerth> I use resolves
[20:33:54] <dweave> jaawerth: what exactly is ng-move callback?
[20:33:57] <Linell> I like the bluntness of your ngroute assessment
[20:34:10] *** bengillies has quit IRC
[20:34:20] <ctanga> MacWinner: something like this: http://www.reddit.com/r/angularjs/comments/2k29jo/show_reddit_roles_and_permissions_for_your_routes
[20:34:26] *** Underbyte has quit IRC
[20:34:26] *** Underbyte has joined #angularjs
[20:34:41] <jaawerth> dweave: huh?
[20:34:50] <ctanga> hah somebody gilded me
[20:34:51] <dweave> one of the animation hooks is “move”
[20:35:07] <MacWinner> ctanga, thanks!
[20:35:24] *** spectator has joined #angularjs
[20:35:29] *** akrikos has joined #angularjs
[20:35:42] *** VeeWee has joined #angularjs
[20:36:01] <nickeddy> ctanga: i don't see any gold, don't lie!
[20:36:04] *** Una has joined #angularjs
[20:36:07] *** manekinekko has joined #angularjs
[20:36:15] *** GTgolfer has quit IRC
[20:36:22] <zomg> quadmasta: press F12 in IE and try to use the debugger, see if you can get the file/line for the error
[20:36:25] <jakswa> anyone know if more tickets are going on sale for ngconf or is that it?
[20:36:27] *** ehynds has joined #angularjs
[20:36:34] <jakswa> last time they kept releasing small batches iirc
[20:36:38] *** platonic has quit IRC
[20:36:41] <nickeddy> jakswa: that's it from what i know
[20:37:06] *** fox__ has joined #angularjs
[20:37:14] <icfantv> dmack: you better book your hotel soon, i had some trouble finding availability
[20:37:38] *** spectator has quit IRC
[20:37:39] <jaawerth> dweave: I believe the docs go into it - it fires the move DOM operation and gives you some intermediate classes for your animations
[20:37:42] *** around_ has quit IRC
[20:37:44] *** GTgolfer has joined #angularjs
[20:37:58] *** Guest46146 has quit IRC
[20:38:35] *** spectator has joined #angularjs
[20:38:41] *** fox__ has left #angularjs
[20:38:43] <jaawerth> that's only when you need to define custom animations though
[20:38:51] <jaawerth> most of the built-in angular directives already provide some decent ones
[20:39:05] *** VeeWee has quit IRC
[20:39:14] *** IvailoStoianov has quit IRC
[20:39:30] *** ctanga has quit IRC
[20:39:41] *** foofoobar has quit IRC
[20:39:55] *** spectator has quit IRC
[20:40:18] *** AlSquirrel has joined #angularjs
[20:40:35] *** quadmasta_ has joined #angularjs
[20:40:41] *** spectator has joined #angularjs
[20:40:58] *** scriptThis has quit IRC
[20:41:16] *** trend has quit IRC
[20:41:25] *** quadmasta has quit IRC
[20:41:26] *** soee has quit IRC
[20:41:35] <MacWinner> alright.. i'm converting over to ui-router before doing anything on the auth side
[20:41:56] *** mtsr has quit IRC
[20:42:19] *** saucey has joined #angularjs
[20:42:57] *** soee has joined #angularjs
[20:42:57] <quadmasta_> zomg: according to the debugger the error is on this line http://pastebin.com/f6uWFe5j
[20:43:15] <quadmasta_> the position it mentions is just before the i in if
[20:43:20] *** rahulprasad has joined #angularjs
[20:43:21] *** larsgk has quit IRC
[20:43:42] *** digisky has quit IRC
[20:45:48] *** Lingos has joined #angularjs
[20:46:13] *** digisky has joined #angularjs
[20:46:16] *** ehalas2 has quit IRC
[20:46:51] *** eamonn has joined #angularjs
[20:47:51] *** baweaver has joined #angularjs
[20:48:22] *** freelyfred has quit IRC
[20:48:37] *** joshfinnie has joined #angularjs
[20:48:38] *** trend has joined #angularjs
[20:49:42] *** spectator has quit IRC
[20:49:53] *** Geertje123_ has quit IRC
[20:49:55] *** Sawbones has joined #angularjs
[20:50:07] *** Geertje123_ has joined #angularjs
[20:50:26] *** samuel02 has joined #angularjs
[20:50:54] *** cthrax_ has joined #angularjs
[20:51:43] *** codeninja-don has joined #angularjs
[20:51:59] *** zanea|away is now known as zanea
[20:52:07] *** baweaver has quit IRC
[20:52:12] *** opiates has joined #angularjs
[20:52:24] *** Expi1 has joined #angularjs
[20:52:27] *** babykosh has quit IRC
[20:52:50] <quadmasta_> zomg: X-UA-Compatible was set to use IE7's engine
[20:52:59] <Sawbones> Would it be frowned upon to load angular in an old project of mine simply for the directives I have?
[20:53:39] <zomg> quadmasta_: yeah that would probably do it :P
[20:53:40] *** soee has quit IRC
[20:53:42] *** evotuned has joined #angularjs
[20:53:58] *** spectator has joined #angularjs
[20:54:03] <quadmasta_> zomg: nothin like using something that's 7 years ole
[20:54:05] <quadmasta_> old*
[20:54:32] *** Sky[x] has joined #angularjs
[20:54:55] *** juanpablo_ has joined #angularjs
[20:55:36] <zomg> Sawbones: depends on how much you care about loading the extra KBs =)
[20:55:49] *** MaxV has joined #angularjs
[20:55:55] <ElysiumNet> "can't instantiate module.." the module is right there!
[20:56:12] *** larsgk has joined #angularjs
[20:56:19] <Sawbones> zomg: idk, I think it's worth it for the time it's going to save me
[20:56:29] <zomg> quadmasta_: yep, and it's conveniently a tiny bit different from using the real IE7 so if you actually need to test or support.. you're kinda screwed =)
[20:56:50] <Sawbones> zomg: I tried building components with react to make elements not reliant on loading angular but that was a bust.
[20:56:57] *** Una has quit IRC
[20:57:05] <zomg> Sawbones: yeah I think it's fine if the extra load is not an issue
[20:57:13] *** mtsr has joined #angularjs
[20:57:19] *** codeninja-don has quit IRC
[20:57:34] <nickebowen> are there any know issues with orderby under IE 10 or IE 11. works fine under FF,Chrome,Safari. Thx.
[20:57:58] <quadmasta_> zomg: this app was written using a framework that had been publicly declared end of life before the project started
[20:58:26] *** thedodd has quit IRC
[20:58:28] *** evotuned has quit IRC
[20:58:35] *** instence_ has joined #angularjs
[20:59:09] *** instence has quit IRC
[20:59:12] *** CoolDuke has joined #angularjs
[20:59:22] *** josh-k_ has quit IRC
[20:59:47] *** CoolDuke has quit IRC
[20:59:55] *** josh-k has joined #angularjs
[21:00:01] *** NorthBlast has quit IRC
[21:00:08] *** CoolDuke has joined #angularjs
[21:00:21] <snurfery> sup yall
[21:00:22] *** tristanp has joined #angularjs
[21:00:36] *** krawek has joined #angularjs
[21:01:30] *** Bovine has quit IRC
[21:02:01] *** juanpablo_ has quit IRC
[21:02:04] *** juanpablo__ has joined #angularjs
[21:02:38] *** ElysiumNet has left #angularjs
[21:02:49] *** favetelinguis has joined #angularjs
[21:03:03] *** Underbyte has quit IRC
[21:03:30] *** whitebook has joined #angularjs
[21:03:54] <hicker> Linell: Oh, I have to use track by when working with an array of objects :-)
[21:04:05] *** patta_ has quit IRC
[21:04:07] *** Angusoid has joined #angularjs
[21:04:18] <Angusoid> clear
[21:04:31] *** josh-k has quit IRC
[21:04:34] *** adpirz has joined #angularjs
[21:04:38] <Angusoid> aw lol i thought i was on console
[21:04:48] <Linell> hicker: sweet, does that fix ti?
[21:04:53] *** nemothekid has quit IRC
[21:04:54] <hicker> Yes :-)
[21:05:11] *** wafflej0ck_ has quit IRC
[21:05:18] *** anapitupulu has quit IRC
[21:05:26] *** anapitupulu has joined #angularjs
[21:05:27] *** wafflej0ck_ has joined #angularjs
[21:05:48] <MacWinner> nickeddy, switching to ui-router was pretty painless..
[21:05:59] *** BlinkyBill has joined #angularjs
[21:06:09] *** eBureau has joined #angularjs
[21:06:23] *** dcherman2 has quit IRC
[21:06:35] *** phuh has quit IRC
[21:07:00] *** phuh has joined #angularjs
[21:07:11] <nickeddy> MacWinner: oh good :)
[21:07:17] *** DrMabuse has joined #angularjs
[21:07:30] *** disorder20 has joined #angularjs
[21:07:36] *** night-owl is now known as zz_night-owl
[21:07:47] *** whunt has quit IRC
[21:08:05] *** kwaledesign has joined #angularjs
[21:08:19] *** kwaledesign has left #angularjs
[21:08:41] *** dcherman has joined #angularjs
[21:08:47] *** esparkman-mbp has joined #angularjs
[21:08:59] *** kwaledesign has joined #angularjs
[21:09:11] *** adpirz has quit IRC
[21:09:53] *** thedodd has joined #angularjs
[21:09:57] *** kwaledesign has quit IRC
[21:09:58] *** instence has joined #angularjs
[21:10:02] *** richiebkr has quit IRC
[21:10:27] *** whitebook has quit IRC
[21:10:47] *** instence_ has quit IRC
[21:11:45] *** wallerdev has quit IRC
[21:11:47] *** eamonn has quit IRC
[21:11:49] *** busticated has quit IRC
[21:11:50] *** Sontakey has joined #angularjs
[21:12:14] *** Rahul_Roy_ has joined #angularjs
[21:12:14] *** one0one has joined #angularjs
[21:13:18] *** baweaver has joined #angularjs
[21:13:20] <quadmasta_> zomg: thanks anyhow :)
[21:13:42] *** weeyum_ has joined #angularjs
[21:14:24] *** spectator has quit IRC
[21:14:38] *** baweaver has quit IRC
[21:14:42] *** Sontakey has left #angularjs
[21:14:46] *** marcjs has quit IRC
[21:15:04] *** soee has joined #angularjs
[21:15:20] *** baweaver has joined #angularjs
[21:15:21] *** soee has quit IRC
[21:15:36] *** IvailoStoianov has joined #angularjs
[21:15:39] *** hmsimha_ has quit IRC
[21:15:46] *** dra has quit IRC
[21:16:03] *** MaxV has quit IRC
[21:16:27] *** jiskiras has quit IRC
[21:16:30] *** babykosh has joined #angularjs
[21:16:31] *** monir has joined #angularjs
[21:16:37] *** MaxV has joined #angularjs
[21:16:46] *** jiskiras has joined #angularjs
[21:16:54] *** soee has joined #angularjs
[21:17:35] <snurfery> oh snap ui-router came out with a new release https://github.com/angular-ui/ui-router/releases/tag/0.2.12
[21:17:51] <nickeddy> 6 days ago snurfery :P
[21:17:53] *** weeyum__ has quit IRC
[21:18:10] *** jimmont has quit IRC
[21:18:13] <snurfery> it's new to me!
[21:18:13] <snurfery> ahha
[21:18:19] <snurfery> have you upgraded?
[21:18:37] <nickeddy> yeah
[21:18:59] *** prettybigmonster has joined #angularjs
[21:19:05] *** frem has joined #angularjs
[21:19:16] <nickeddy> i am a router nazi and ui-router is the only router i like :P
[21:19:52] *** Lingos has quit IRC
[21:19:57] *** digisky1 has joined #angularjs
[21:20:09] *** jpstone has quit IRC
[21:20:14] *** frem has quit IRC
[21:20:16] *** digisky has quit IRC
[21:20:39] *** charuru has joined #angularjs
[21:20:41] *** morenoh149 has joined #angularjs
[21:20:49] *** Expi1 has quit IRC
[21:20:53] *** seriema has quit IRC
[21:21:07] *** frem has joined #angularjs
[21:21:22] *** Josh has joined #angularjs
[21:21:27] *** seriema has joined #angularjs
[21:21:31] *** frem has joined #angularjs
[21:21:46] *** Josh is now known as Guest79796
[21:22:11] *** AimerPaddle has joined #angularjs
[21:22:37] *** josh-k has joined #angularjs
[21:23:12] *** RobinBAwesome has quit IRC
[21:23:27] *** soee has quit IRC
[21:23:40] *** whitebook has joined #angularjs
[21:23:40] *** jonathanpglick has quit IRC
[21:24:02] *** jiskiras has quit IRC
[21:24:04] *** rahulprasad has quit IRC
[21:24:08] *** andrewdub has joined #angularjs
[21:24:17] *** merobertsjr has quit IRC
[21:24:26] *** jiskiras has joined #angularjs
[21:24:47] <Sawbones> Speaking of ui router I'm having some issues with it
[21:24:53] *** soee has joined #angularjs
[21:24:56] <TheAceOfHearts> I haven't looked at the new angular router yet, but I've heard it's supposed to be awesome~
[21:25:22] <Sawbones> It seems like stateParams is async and I have no way of understanding how I would fix it
[21:25:27] *** eamonn has joined #angularjs
[21:25:30] *** jonathanpglick has joined #angularjs
[21:25:51] <nickeddy> fix it?
[21:25:55] <snurfery> whaddya mean
[21:26:01] *** doug64k has joined #angularjs
[21:26:12] *** seriema has quit IRC
[21:26:13] <nickeddy> TheAceOfHearts: yeah same here. they're supposed to be backporting it to 1.3
[21:26:20] <TheAceOfHearts> yup
[21:26:24] *** hiddentoken is now known as jmckind
[21:26:32] <TheAceOfHearts> they mentioned that at the angular meetup yesterday
[21:26:34] *** oncenull has quit IRC
[21:26:37] *** despai has quit IRC
[21:26:37] <Sawbones> When I console.log $stateParams the object is empty
[21:27:17] <Sawbones> but if I console.log the $state and look at the params, the value is there, leading my to believe that the stateParams is async
[21:27:46] *** TN_AA has joined #angularjs
[21:27:52] *** jimobrie_ has quit IRC
[21:28:12] *** dynacker has quit IRC
[21:28:31] *** JimTheDev has quit IRC
[21:28:39] *** dra has joined #angularjs
[21:28:44] *** BlinkyBill has quit IRC
[21:29:03] *** Sky[x] has quit IRC
[21:29:04] *** dynacker has joined #angularjs
[21:30:17] *** IvailoStoianov has quit IRC
[21:30:42] *** ColKurtz has joined #angularjs
[21:30:48] *** eamonn has quit IRC
[21:30:51] *** bengillies has joined #angularjs
[21:31:16] <dman777_alter> http://dpaste.com/23V7AE3 curious, why does FormDeviceExistSvc.disable.inputLabelBox when it's returned from a function only in $scope.$watchCollection()?
[21:31:49] *** despai has joined #angularjs
[21:32:14] *** joroc has joined #angularjs
[21:32:20] *** to0 has quit IRC
[21:32:24] *** ctanga has joined #angularjs
[21:32:47] *** plato has quit IRC
[21:33:47] <dman777_alter> sorry, I mean why does FormDeviceExistSvc.disable.inputLabelBox *work when it's returned from a function only in $scope.$watchCollection()?
[21:33:47] *** edzez has quit IRC
[21:33:53] *** Lingos has joined #angularjs
[21:33:53] *** trend has quit IRC
[21:34:02] *** jimobrien has joined #angularjs
[21:34:05] <MacWinner> nickeddy, now that I'm on ui-router.. any suggestions for an auth framework? i've seen visor, and angular-permission...
[21:34:15] *** babykosh has quit IRC
[21:34:22] *** edzez has joined #angularjs
[21:34:36] *** cthrax_ is now known as cthrax
[21:34:55] *** simplyshipley has quit IRC
[21:35:57] *** minimoo1 has quit IRC
[21:36:04] <nickeddy> MacWinner: for route auth protection i've just built it myself - let me give you a gist
[21:36:20] <MacWinner> cool, thanks!
[21:36:24] *** bengillies has quit IRC
[21:36:33] *** cakirke has joined #angularjs
[21:37:25] *** Pritchard_ has quit IRC
[21:37:28] *** Lingos has quit IRC
[21:37:37] *** joshontheweb has quit IRC
[21:37:38] *** nemothekid has joined #angularjs
[21:39:12] *** busticated has joined #angularjs
[21:39:19] <snurfery> nice
[21:39:38] *** Sky[x] has joined #angularjs
[21:39:39] *** nemothekid has quit IRC
[21:40:12] *** mclenithan has quit IRC
[21:40:31] *** nemothekid has joined #angularjs
[21:41:01] *** dannyc has joined #angularjs
[21:41:16] *** plato has joined #angularjs
[21:43:20] *** pushpak has quit IRC
[21:43:49] *** jae has joined #angularjs
[21:43:50] *** RyanStratton has joined #angularjs
[21:43:50] *** grindmodeon has joined #angularjs
[21:43:52] *** gunn has quit IRC
[21:44:21] *** Oddman has quit IRC
[21:44:58] *** jiskiras has quit IRC
[21:45:01] *** ron1 has joined #angularjs
[21:45:02] *** RyanStratton has quit IRC
[21:45:40] <merpnderp> in ui-router how do you create a watcher on a stateParam variable?
[21:45:43] *** dannyc has quit IRC
[21:45:54] *** jiskiras has joined #angularjs
[21:46:29] *** gurke_ has joined #angularjs
[21:46:38] *** joshontheweb has joined #angularjs
[21:46:57] *** monir has quit IRC
[21:46:59] *** jiskiras has quit IRC
[21:47:00] *** mclenithan has joined #angularjs
[21:47:23] *** magellanicloud has joined #angularjs
[21:47:44] <merpnderp> Would you just set it equal to a scope param and watch that?
[21:47:49] <Sawbones> Is it bad to load a controller in the parent state and the child?
[21:48:11] *** atomical has quit IRC
[21:48:15] *** richiebkr has joined #angularjs
[21:48:35] *** jae is now known as Jae
[21:49:03] <cthrax> Is it a bad sign that batarang is nigh unuseable due to how many scopes I have in my tree?
[21:49:37] *** saucey has quit IRC
[21:49:56] *** danecando has quit IRC
[21:50:08] *** cthrax has quit IRC
[21:50:30] *** jeffisabelle_ has quit IRC
[21:50:45] *** atomical has joined #angularjs
[21:51:41] *** cliluw has quit IRC
[21:51:42] *** mmealling has quit IRC
[21:51:49] *** busticated has quit IRC
[21:52:11] *** andrewdub has quit IRC
[21:52:45] *** jiskiras has joined #angularjs
[21:52:49] *** dnakov has quit IRC
[21:52:51] *** jiskiras has quit IRC
[21:53:19] *** soee has quit IRC
[21:53:23] *** TommyO has quit IRC
[21:53:40] *** DrMabuse has quit IRC
[21:53:43] *** whunt has joined #angularjs
[21:54:22] *** Jae has left #angularjs
[21:54:33] *** Pluff has joined #angularjs
[21:54:44] *** soee has joined #angularjs
[21:54:45] *** busticated has joined #angularjs
[21:54:49] *** cthrax has joined #angularjs
[21:55:06] *** evotuned has joined #angularjs
[21:55:12] *** jiskiras has joined #angularjs
[21:55:18] *** dnakov has joined #angularjs
[21:55:21] *** jiskiras has quit IRC
[21:55:52] *** CoolDuke has quit IRC
[21:56:05] *** plato has quit IRC
[21:56:07] *** jheady has joined #angularjs
[21:56:16] *** PrinceAMD has quit IRC
[21:56:35] *** cliluw has joined #angularjs
[21:56:46] *** SuperPhly has quit IRC
[21:56:47] *** jheady has left #angularjs
[21:57:10] *** TommyO has joined #angularjs
[21:57:20] *** kuadrosx_ has joined #angularjs
[21:57:23] *** marcjs has joined #angularjs
[21:57:25] *** kuadrosx has quit IRC
[21:57:42] *** jiskiras has joined #angularjs
[21:57:51] *** jiskiras has quit IRC
[21:57:56] *** merobertsjr has joined #angularjs
[21:58:08] *** whitebook has quit IRC
[21:58:20] *** lsiv568 has quit IRC
[21:58:34] *** jiskiras has joined #angularjs
[21:58:55] *** recidive has quit IRC
[21:59:02] *** bayousoft has quit IRC
[21:59:34] *** bayousoft has joined #angularjs
[21:59:44] *** evotuned has quit IRC
[21:59:50] *** baweaver has quit IRC
[22:00:17] *** patrick99e99 has quit IRC
[22:00:18] *** oncenull has joined #angularjs
[22:00:40] *** stormbytes has quit IRC
[22:00:45] *** yelvert has quit IRC
[22:01:04] <dmack> merpnderp: hook into $stateChangeStart and you get the params there
[22:01:19] *** brogrammer has quit IRC
[22:01:20] <dmack> cthrax: no, that tool is not optimized and doesnt really work properly
[22:01:23] *** macobo has quit IRC
[22:02:14] <albivian> I can't get this ng-animate stuff to work :(
[22:02:15] *** minimoo1 has joined #angularjs
[22:02:21] <dmack> merpnderp: althrough typically what I do at this point, is in my highest level AppController just set $scope.stateParams = $stateParams;
[22:02:35] *** frankbli_ has joined #angularjs
[22:02:36] <albivian> ng-enter doesn't add to the element ever
[22:02:37] <dmack> case you ever need to do anything with params in your templates, etc.
[22:02:40] *** speaking1ode has joined #angularjs
[22:02:41] *** joshuafcole has quit IRC
[22:02:55] *** garbanzio has joined #angularjs
[22:03:10] *** ehynds has quit IRC
[22:03:54] *** frankblizzar has quit IRC
[22:04:28] *** trend has joined #angularjs
[22:04:30] *** jimobrien has quit IRC
[22:04:40] *** jimobrien has joined #angularjs
[22:04:42] *** DrMabuse has joined #angularjs
[22:04:47] *** speakingcode has quit IRC
[22:04:54] *** Lorthirk has quit IRC
[22:04:54] *** mtsr has quit IRC
[22:04:59] <merpnderp> dmack: that's what I ended up doing. Setting a scope param equal to the stateParam reference.
[22:05:03] *** MistahKurtz has quit IRC
[22:05:18] *** DrMabuse has quit IRC
[22:05:26] *** DrMabuse has joined #angularjs
[22:05:31] <merpnderp> $scope.employeeID = $stateParam.employeeID; $scope.$watch("employeeID", ....); seems to work just fine.
[22:05:31] *** stormbytes has joined #angularjs
[22:05:36] *** joroc has quit IRC
[22:05:48] *** cthrax has quit IRC
[22:05:54] <merpnderp> although once this module is done I'll be rewriting all the model code to use serviceModels.
[22:06:11] <merpnderp> that way they can be shared between controllers
[22:06:34] *** e0ipso is now known as e0ipso|away
[22:06:35] *** phuh has quit IRC
[22:06:56] *** baweaver has joined #angularjs
[22:07:01] *** phuh has joined #angularjs
[22:07:03] *** jiskiras has quit IRC
[22:07:06] *** mtsr has joined #angularjs
[22:07:22] *** jiskiras has joined #angularjs
[22:07:42] *** speakingcode has joined #angularjs
[22:08:09] *** Sky[x] has quit IRC
[22:08:50] *** baweaver has quit IRC
[22:09:03] *** Oddman has joined #angularjs
[22:09:20] <snurfery> this channel has spoiled me
[22:09:20] *** speaking1ode has quit IRC
[22:09:31] *** dannyc has joined #angularjs
[22:09:37] *** jiskiras has joined #angularjs
[22:09:45] <snurfery> now I expect every programming-related channel to be filled with interesting people and problems
[22:09:50] <snurfery> I am disappoint.
[22:10:17] *** cthrax has joined #angularjs
[22:10:31] <Grokling> snurfery: There's certainly a lot of inane noise out there!
[22:10:32] *** RobinBAwesome has joined #angularjs
[22:10:56] *** a3gis has joined #angularjs
[22:11:29] *** mmealling has joined #angularjs
[22:11:42] *** snapwich has quit IRC
[22:12:01] *** snapwich has joined #angularjs
[22:13:12] *** Pluff has quit IRC
[22:13:13] *** walden is now known as walden|brb
[22:13:33] *** jacuqesdancona_ has joined #angularjs
[22:13:34] *** josh3336_ has joined #angularjs
[22:13:37] *** xdotcommer has joined #angularjs
[22:13:52] *** josh3336 has quit IRC
[22:13:52] *** josh3336_ is now known as josh3336
[22:13:55] *** MistahKurtz has joined #angularjs
[22:14:25] *** plato has joined #angularjs
[22:14:28] *** nickebowen has quit IRC
[22:14:30] *** plato has quit IRC
[22:14:30] *** plato has joined #angularjs
[22:14:52] *** ColKurtz has quit IRC
[22:14:57] *** mmealling has quit IRC
[22:17:24] *** snapwich has quit IRC
[22:17:24] *** disorder20 has quit IRC
[22:17:27] *** joshuafcole has joined #angularjs
[22:17:46] *** jacuqesdancona_ has quit IRC
[22:17:56] *** babykosh has joined #angularjs
[22:18:10] *** disorder20 has joined #angularjs
[22:18:24] *** siaw has joined #angularjs
[22:18:35] *** JayFK has joined #angularjs
[22:18:46] <siaw> if i asked for the best source to learn angular what would you say?
[22:18:52] *** snapwich has joined #angularjs
[22:19:03] *** wallerdev has joined #angularjs
[22:19:12] *** xdotcomm_ has joined #angularjs
[22:19:27] *** appariti_ has joined #angularjs
[22:19:33] *** gurke_mbp has joined #angularjs
[22:19:37] *** fch has joined #angularjs
[22:19:38] *** gurke_ has quit IRC
[22:19:45] *** NormySan has quit IRC
[22:20:22] <Grokling> siaw: https://github.com/jmcunningham/AngularJS-Learning
[22:20:36] *** baweaver has joined #angularjs
[22:20:37] *** platonic has joined #angularjs
[22:20:41] *** glosoli has quit IRC
[22:20:50] <siaw> Grokling: thanks
[22:20:54] *** xdotcommer has quit IRC
[22:21:04] *** sveajobb has joined #angularjs
[22:21:06] *** cakirke has quit IRC
[22:21:17] *** favetelinguis has quit IRC
[22:21:28] *** hnomad has quit IRC
[22:21:35] *** apparition168 has quit IRC
[22:21:47] <Grokling> siaw: If you're just starting, the phone-cat tutorial is nice and fundamental. Beyond that, make something, and explore as you go.
[22:22:40] *** lsiv568 has joined #angularjs
[22:22:47] <GTgolfer> http://campus.codeschool.com/courses/shaping-up-with-angular-js/intro
[22:22:48] <siaw> Grokling: yeah i’m just starting
[22:22:55] <sveajobb> Hi, I have a promise returned from a service, which is wrapped around a $http-promise. When I simply assign it in my controller like this: $scope.game = Service.getGame(); nothing happens (i.e. the view is not updated). if I however user Service.getGame().then(function(game) { $scope.game = game; } ,..... then it works. Any pointers? I tried calling $rootScope.$apply when performing deferred.resolve(); but it threw an exception s
[22:22:55] <sveajobb> aying a digest was already in progress.
[22:23:26] <Grokling> siaw: in that case: http://docs.angularjs.org/tutorial
[22:23:31] *** hnomad has joined #angularjs
[22:23:51] <GTgolfer> slaw: angular has great documentation on their site ^
[22:24:28] *** kirfu|work has quit IRC
[22:24:28] <siaw> thanks :)
[22:24:33] <Linell> sveajobb: The second way you mentioned is the correct way to do it. Just do that.
[22:24:34] *** kirfu|work1 has joined #angularjs
[22:24:45] <Linell> sveajobb: or is there some sort of problem for you to do it that way?
[22:25:24] *** Pluff has joined #angularjs
[22:25:51] *** xdotcomm_ has quit IRC
[22:26:05] <sveajobb> Linell, yeah well it's less nice looking and means more code. That's the only thing.
[22:26:19] *** dweave has quit IRC
[22:26:21] *** walden|brb is now known as walden
[22:26:23] <sveajobb> Linell, I've read some tutorials on promises and they seem to suggest the first version is a working way of doing it
[22:26:49] *** plato1 has joined #angularjs
[22:26:50] <Linell> sveajobb: It is more code, true. I'm not exactly an angular guru, but that's the way I've been doing it.
[22:27:24] *** plato has quit IRC
[22:27:29] <sveajobb> Linell, yeah, that's the way I've been using it on earlier projects as well...but on this new project I wanted the code to be "better" ;)
[22:28:03] <Grokling> sveajobb: That's the way to do it - it's all to do with memory references.
[22:28:06] *** mdcox has quit IRC
[22:28:20] <stormbytes> g'day folks
[22:28:21] <lebster> should everything be a directive?
[22:28:21] <Linell> That way, it's very explicit what you're doing too.
[22:29:05] <sveajobb> Grokling, so this working tutorial code SHOULD not work? http://plnkr.co/edit/QBAB0usWXc96TnxqKhuA?p=preview
[22:29:06] *** joshontheweb has quit IRC
[22:29:13] *** jimobrien has quit IRC
[22:29:16] <jaawerth> sveajobb: well, what I'd suggest is store the data itself in the service and then copy that object reference to scope
[22:29:23] <sveajobb> I just thought there were two ways of doing it, one that's a "faster" way of doing it
[22:29:32] *** danielmahon has quit IRC
[22:29:35] <jaawerth> that way the .then(function() { do stuff with data }) bits are still abstracted
[22:29:53] <jaawerth> that's essentially how $resource does it
[22:29:55] <lebster> is it bad to nest directives?
[22:30:01] <jaawerth> not really
[22:30:04] <jaawerth> depends what you're doing
[22:30:22] <wafflej0ck_> lebster: re:should everything be a directive, not necessarily everything you'd still want factories/services but everything to do with adding/modifying the DOM or behaviors should be a directive
[22:30:23] <sveajobb> jaawerth, actually that's what I'm doing. I "manipulate" the data from $http.then(); and do my own deferred.resolv(); on my own promise which I return
[22:30:33] *** Sky[x] has joined #angularjs
[22:30:35] *** lsiv568 has quit IRC
[22:31:21] <lebster> wafflej0ck_: those services would then belong to that directive right?
[22:31:34] <wafflej0ck_> lebster: no they may have a shared module
[22:31:38] <sveajobb> jaawerth, so when the service gets the actual new data it returns reference to an internally stored object as the resolv. But that's not picking up in the $scope.game object
[22:31:45] *** icarus75 has joined #angularjs
[22:31:53] *** jimobrien has joined #angularjs
[22:31:59] <wafflej0ck_> lebster: but the service or factory is independent of the directive, that said a directive may directly use a factory/service/other provider
[22:32:22] *** ngbot has joined #angularjs
[22:32:22] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/fvrH9g
[22:32:22] <ngbot> angular.js/master dc9775d Peter Bacon Darwin: doc(ngModelController): move example below members
[22:32:22] *** ngbot has left #angularjs
[22:32:33] *** joroc has joined #angularjs
[22:32:46] <dannyc> anyone help with angular.extend? i'm doing var foo = angular.extend({}, obj1, obj2), but when i change foo.property, it also changes obj2.property.
[22:33:17] *** kuadrosx_ is now known as kuadrosx
[22:33:21] *** kuadrosx is now known as jocuca
[22:33:58] <jaawerth> sveajobb: are you overwriting the object entirely when you update it?
[22:34:20] <jaawerth> sveajobb: because if so, that's likely your issue - you're overwriting the object reference with a new one, whereas the one on $scope is still pointing to your old data
[22:34:23] <wafflej0ck_> dannyc: is foo.property an Object or an Array?
[22:34:51] *** memento_ has joined #angularjs
[22:34:53] *** Underbyte has joined #angularjs
[22:34:55] <jaawerth> the workaround there is to write an update function that essentially iterates through and overwrites the relevant properties rather than the entire object at once
[22:35:06] *** mmealling has joined #angularjs
[22:35:07] <dannyc> yes. an array of objects.
[22:35:16] <dannyc> wafflej0ck_: yes. an array of objects.
[22:35:24] <Fifty5Plus> wafflej0ck_: greetings ... are you planning to do that final cleanup or is that it?
[22:35:25] <wafflej0ck_> dannyc: okay so the problem is extend isn't going to do a deep copy of that
[22:35:27] *** dweave has joined #angularjs
[22:35:27] <sveajobb> jaawerth, well in this case the object is never updated as the object returned is the promise, and the promise is resolved to the internal object which may get change in the future.
[22:35:47] <jaawerth> OR just put the whole service on your controller object (you COULD do scope but that could be iffy, I'd feel more comfortable using controllerAs syntax there) so you can refer to the data directly as a property of the service - that way overwriting its reference will be no big deal
[22:35:57] <sveajobb> jaawerth, the part not working is the transformation of $scope.game (promise object) == > $scope.game (internal ref)
[22:36:04] <wafflej0ck_> Fifty5Plus: I'll get back to it eventually here... just got a list of thing to get done today aside from that.... got gitlab setup on my server to make sharing private repositories more selectively easier
[22:36:07] <jaawerth> oh, yeah. you can't do that
[22:36:12] *** minimoo1 has quit IRC
[22:36:23] <dannyc> wafflej0ck_: ahhhhh! damn. ok, thank you. a better alternative?
[22:36:28] *** babykosh has quit IRC
[22:37:03] <lebster> wafflej0ck_: say i have a project and each project has multiple tasks, i have a service for project and a service for tasks. On one page I want to edit the project and its tasks. Do i separate project and task into separate modules? and maybe make a directive for the list of tasks?
[22:37:14] *** mmealling has quit IRC
[22:37:32] *** krawek is now known as dacuca
[22:37:46] <wafflej0ck_> dannyc: dunno but would search on Javascript Deep copy
[22:38:06] *** bayousoft has quit IRC
[22:38:14] <dannyc> wafflej0ck_: doing so right now. thanks for pointing me in the right direction. was banging my head against the wall.
[22:38:16] <wafflej0ck_> dannyc: I did some related stuff in a debug project I put together recently but it got more complicated than just a deep copy, ended up making a tree structure to represent the object so probably overkill for what you'd need
[22:38:21] <wafflej0ck_> dannyc: np
[22:38:23] *** tech2_ has quit IRC
[22:38:41] *** bayousoft has joined #angularjs
[22:39:06] *** jimobrien has quit IRC
[22:39:07] *** iksik has quit IRC
[22:39:38] <fch> Hi together! If I use ng-repeat to build a list of buttons from a list in JSON, how can I use the iterator object in the ng-click directive? AngularJS cannot parse ng-click="func({{iterator.prop}})".
[22:39:49] <wafflej0ck_> lebster: typically I don't jump right into making a directive as the initial though, instead try to use the build in directives and setup a data model that works in a simple way with what you have, if you feel you are repeating some markup or need to add some sort of event handlers then start thinking about how to create a directive (as in what should be supplied, how should it deal with that to create the result)
[22:39:55] <wafflej0ck_> thought*
[22:40:04] *** jimobrien has joined #angularjs
[22:41:05] *** icarus75 has quit IRC
[22:41:13] <sveajobb> but are you guys saying it's BAD to do $scope.game = aPromise; ?
[22:41:14] <lebster> wafflej0ck_: say i would make a page to propose projects, or approve projects or create projects , they would all have that same list, so i assume a directive would be good?
[22:41:17] *** uber has quit IRC
[22:41:20] *** eamonn has joined #angularjs
[22:41:35] <lebster> wafflej0ck_: althought i probably could handle all that in one view
[22:41:42] <wafflej0ck_> lebster: yeah if it's somethign you'll re-use it generally makes sense
[22:42:04] *** dabockster has joined #angularjs
[22:42:08] <wafflej0ck_> but if you just do it once inline it's typically easy to move that into the template of a directive and figure out the interface you want to have for the directive
[22:42:22] *** laurensclaessen has joined #angularjs
[22:42:22] *** joroc has quit IRC
[22:42:24] <fch> thanks
[22:42:28] *** frankbli_ has quit IRC
[22:42:42] <wafflej0ck_> Fifty5Plus: any progress on picking up git?
[22:42:45] *** jimobrien has quit IRC
[22:43:14] *** Aliks has joined #angularjs
[22:43:15] <sveajobb> ok .... https://github.com/angular/angular.js/commit/5dc35b527b3c99f6544b8cb52e93c6510d3ac577
[22:43:42] <wafflej0ck_> fch: get rid of your {{}}
[22:43:46] <Fifty5Plus> wafflej0ck_: git is demented ;)
[22:43:51] <lebster> wafflej0ck_: for this i would still keep it in the same module - "project" right? u
[22:44:05] *** uber has joined #angularjs
[22:44:22] <wafflej0ck_> lebster: it depends, a lot of the times I like my directives to be really generic so they would be in their own module
[22:44:33] *** minimoo1 has joined #angularjs
[22:44:35] *** uber has joined #angularjs
[22:44:44] <wafflej0ck_> lebster: like instead of being the "project list module" it can just be a list module that takes some data and I tell it which property to show
[22:45:05] *** uber has joined #angularjs
[22:45:08] *** monir has joined #angularjs
[22:45:29] *** garbanzio has quit IRC
[22:45:35] *** uber has joined #angularjs
[22:45:42] *** eamonn has quit IRC
[22:45:49] <lebster> wafflej0ck_: ahh yes that makes sense
[22:46:05] *** uber has joined #angularjs
[22:46:09] *** bayousoft has quit IRC
[22:46:16] *** patrick__ has joined #angularjs
[22:46:28] *** dweave has quit IRC
[22:46:35] *** uber has joined #angularjs
[22:46:38] *** weeyum__ has joined #angularjs
[22:46:47] *** patricka_ has quit IRC
[22:46:50] *** bayousoft has joined #angularjs
[22:47:10] *** minimoo1 has quit IRC
[22:47:34] *** minimoo1 has joined #angularjs
[22:47:35] *** uber has joined #angularjs
[22:47:53] *** jimobrien has joined #angularjs
[22:48:05] *** uber has joined #angularjs
[22:48:14] *** bradmaxs has quit IRC
[22:48:31] *** baweaver has quit IRC
[22:48:35] *** uber has joined #angularjs
[22:48:41] *** DrMabuse has quit IRC
[22:49:07] *** DrMabuse has joined #angularjs
[22:49:17] *** lsiv568 has joined #angularjs
[22:50:29] *** weeyum_ has quit IRC
[22:51:21] *** easywriter has joined #angularjs
[22:52:02] *** mfunkie has quit IRC
[22:52:23] *** darrin has quit IRC
[22:52:40] *** jimobrien has quit IRC
[22:52:50] *** jimobrien has joined #angularjs
[22:52:53] *** Una has joined #angularjs
[22:53:18] *** DrMabuse has quit IRC
[22:53:21] *** tech2_ has joined #angularjs
[22:53:30] *** adpirz has joined #angularjs
[22:53:46] *** josh3336_ has joined #angularjs
[22:54:32] *** akrikos has quit IRC
[22:54:53] *** mkusher has quit IRC
[22:55:23] *** Tran has joined #angularjs
[22:56:30] *** andrewdub has joined #angularjs
[22:56:47] *** spatialbrew has quit IRC
[22:56:48] *** jMyles has joined #angularjs
[22:57:06] *** Ansikt has joined #angularjs
[22:57:10] *** ishan1604 has quit IRC
[22:57:30] *** josh3336 has quit IRC
[22:57:30] *** josh3336_ is now known as josh3336
[22:58:14] *** adpirz has quit IRC
[22:58:39] *** taybin has quit IRC
[22:59:02] *** trend has quit IRC
[22:59:39] *** antons_ has joined #angularjs
[23:00:04] *** Sky[x] has quit IRC
[23:00:54] *** dabockster has quit IRC
[23:01:13] *** easywriter has quit IRC
[23:01:29] <lebster> wafflej0ck_: so if I made that generic list directive and then found myself reusing that directive over and over for the same task list do I then make that into a directive?
[23:01:54] *** basiclaser_ has quit IRC
[23:01:58] <lebster> So a directive using a directive lol
[23:02:04] <wafflej0ck_> lebster: you could... in most cases I don't find it to be necessary but if you want to be super DRY about it you can
[23:02:14] <wafflej0ck_> lebster: lots of my directives use built in directives
[23:02:21] *** siaw has left #angularjs
[23:02:36] <wafflej0ck_> lebster: sometimes I end up writing directives to use in my directives too though or ones that "require" each other so they work together
[23:02:57] *** woah has quit IRC
[23:03:00] *** trend has joined #angularjs
[23:03:02] *** cboden has quit IRC
[23:03:13] *** oncenull has quit IRC
[23:03:23] <wafflej0ck_> lebster: not sure if you saw this already but posted one of the ones I did recently here https://github.com/shusain/itDebugPanel <-- has a few directives to work together
[23:04:11] <lebster> Cool I'll check it out thanks
[23:05:16] <wafflej0ck_> lebster: yeah I haven't gotten around to updating the README.md on this one but it uses the other one I just linked too http://shusain.github.io/itHolyGrail/dist/
[23:05:21] *** jasperridge has quit IRC
[23:05:25] <wafflej0ck_> lebster: really built the first to help debug the second :P
[23:05:42] *** Oddman has quit IRC
[23:06:06] *** jdcasey has quit IRC
[23:06:08] *** favetelinguis has joined #angularjs
[23:06:36] *** phuh has quit IRC
[23:06:43] *** anjumkaiser1 has quit IRC
[23:06:44] *** \du has quit IRC
[23:07:02] *** phuh has joined #angularjs
[23:07:14] *** jlebrech has joined #angularjs
[23:07:36] *** samuel02 has quit IRC
[23:08:05] *** Una_ has joined #angularjs
[23:08:06] *** Una has quit IRC
[23:08:09] <wafflej0ck_> yay for Android L, happy I got it on my phone today and tablet a few days ago, overall like it.... complaints would be, it runs better on the tablet but the designs are mostly better UI/UX on the phone, but yeah back to the Google Keep list
[23:08:27] *** mtsr has quit IRC
[23:08:29] *** jjasonclark has joined #angularjs
[23:08:43] *** whitebook has joined #angularjs
[23:08:54] *** stirlingw has quit IRC
[23:08:58] *** bradgignac has quit IRC
[23:09:16] <jjasonclark> is it possible to replace the template of a route? I would like to use 1 of 2 different templates based on an attribute of a parameter
[23:09:36] *** juampy is now known as juampy_brb
[23:09:36] *** Una has joined #angularjs
[23:09:38] *** BillCriswell has quit IRC
[23:09:46] *** rileylar_ has joined #angularjs
[23:09:46] *** glassir has quit IRC
[23:10:03] <dmack> pass a function to templateUrl
[23:10:15] <dmack> make it return a string that matches what you want to load
[23:10:29] *** babykosh has joined #angularjs
[23:10:50] *** favetelinguis has quit IRC
[23:10:55] *** glassir has joined #angularjs
[23:10:58] <jjasonclark> dmack: can I use a promise?
[23:11:21] <dmack> in which fashion? take a step back, where are these attributes coming from?
[23:11:23] *** spectator has joined #angularjs
[23:11:29] *** lsiv568 has quit IRC
[23:11:54] *** jlebrech has quit IRC
[23:12:09] *** eamonn has joined #angularjs
[23:12:10] <jjasonclark> dnack: route with a resolve. the resolve is finished then a template with a ng-include in it gets displayed. the template in the include is changed
[23:12:22] *** esparkman-mbp has quit IRC
[23:12:28] *** Raydiation has quit IRC
[23:12:29] <jjasonclark> dmack: I would like to set the template on the outside so I don’t create another nested scope
[23:12:30] *** gurke_mbp has quit IRC
[23:12:37] <dmack> ah, so the ng-include is what you want to dynamically populate?
[23:13:02] *** rileylark has quit IRC
[23:13:05] *** Una_ has quit IRC
[23:13:12] *** whitebook has quit IRC
[23:13:17] *** fairuz1 has joined #angularjs
[23:13:18] <jjasonclark> dmack: no, I’ve got that now. I want to go up another layer and get rid of the ng-include altogether
[23:13:23] *** angelicvenus has joined #angularjs
[23:13:46] <dmack> you using ui-router?
[23:13:53] *** rileylar_ has quit IRC
[23:14:43] *** cads has joined #angularjs
[23:14:44] *** cohitre has quit IRC
[23:14:52] <jjasonclark> dmack: yep, let me paste it
[23:14:57] <dmack> I'm not sure if you can dynamically genereate a template at the $stateProvider level based on resolved data.
[23:15:05] *** iksik has joined #angularjs
[23:15:07] <dmack> what you can do is do it based on $stateParams
[23:15:10] <angelicvenus> Hi I have a credit card number input field with spaces in it for formatting but a [0-9]* pattern on it (so iOS shows a numeric keyboard) and the form (obviously) fails validation meaning the input's ng-model isn't updated … any suggestions on what to do about this?
[23:15:12] *** mdedetrich has joined #angularjs
[23:15:32] <angelicvenus> Currently the formatting is applied outside of angular (a stripejs formatter)
[23:15:33] <dmack> jjasonclark: https://gist.github.com/dmackerman/95ea8b1a409bc57c04d9
[23:15:33] <jjasonclark> dmack: https://gist.github.com/jjasonclark/aea001538467eb3c1493
[23:15:38] *** cohitre has joined #angularjs
[23:15:41] *** fairuz has quit IRC
[23:15:51] <dmack> that's not ui-router :)
[23:16:10] *** jimobrien has quit IRC
[23:16:17] *** gunn has joined #angularjs
[23:17:00] *** tech2_ has quit IRC
[23:17:04] <jjasonclark> no, its the normal one
[23:17:07] *** babykosh has quit IRC
[23:17:12] *** martinhill has joined #angularjs
[23:17:12] *** Rahul_Roy_ has quit IRC
[23:17:24] *** tplaner has quit IRC
[23:17:34] *** AtomicCookie has joined #angularjs
[23:17:35] *** jimobrien has joined #angularjs
[23:17:41] *** MistahKurtz has quit IRC
[23:17:42] *** Pluff has quit IRC
[23:17:55] <dmack> what's your thinking with templateUrl in the ng-include?
[23:18:02] *** monir has quit IRC
[23:18:06] *** MistahKurtz has joined #angularjs
[23:18:11] *** babykosh has joined #angularjs
[23:18:32] *** fairuz1 has left #angularjs
[23:18:55] <dmack> also, couldnt you just have one route?
[23:18:56] *** tech2_ has joined #angularjs
[23:19:30] <dmack> https://gist.github.com/dmackerman/8b5068aa275defcd5232
[23:19:47] <jjasonclark> dmack: exactly. I want only 1 route. Get rid of the other 2 with type in the name
[23:19:49] *** tristanp has quit IRC
[23:20:11] <jjasonclark> dmack: does the template function get any params?
[23:20:14] <dmack> ok. need to look at the regular ngRoute docs, but i think params get passed into the function you throw in template
[23:20:19] <dmack> yeah, looking
[23:20:37] *** cthrax has quit IRC
[23:20:43] <jjasonclark> dmack: would really like the value returned by fetch_details in the template function param
[23:20:47] <dmack> f template is a function, it will be called with the following parameters:
[23:20:47] <dmack> {Array.<Object>} - route parameters extracted from the current $location.path() by applying the current route
[23:20:56] <dmack> hmm
[23:20:58] *** qdk has quit IRC
[23:21:28] <jaawerth> angelicvenus: it's hard to picture what you're doing without seeing code, but the formatting would need to occur within angular context, so that angular knows about the changes and updates validation.
[23:21:30] *** stirlingw has joined #angularjs
[23:21:36] <jaawerth> angelicvenus: can you make a plunk? or is this a native thing?
[23:21:44] *** juanpablo__ has quit IRC
[23:21:54] <dmack> well, can you inject a service into that template function and do it there?
[23:22:01] <dmack> not sure that works, nevermind
[23:22:12] *** juanpablo__ has joined #angularjs
[23:22:13] *** bayousoft has quit IRC
[23:22:29] *** Schtive has quit IRC
[23:22:29] *** PGTips has quit IRC
[23:22:46] *** spectator has quit IRC
[23:22:49] <angelicvenus> jaawerth: I think I can hack something dodgy together which shows it
[23:22:55] *** bayousoft has joined #angularjs
[23:23:05] <jaawerth> cool
[23:23:19] <wafflej0ck_> thank you internet, just learned how to fix a zipper on a coat, and fixed the zipper on my coat
[23:23:25] *** fch has left #angularjs
[23:23:27] <jaawerth> I suspect you'll just need to use ngModelController so that your external formatter is added to the $formatters queue (which I can show you how to do), but it depends onw hat's really going on
[23:24:19] *** richiebkr has quit IRC
[23:24:27] *** mjs2600 has quit IRC
[23:25:09] <dmack> angelicvenus: can;t you just use input type="tel" to get a numeric keypad as well?
[23:25:17] <dmack> unrelated to your issue I think
[23:25:28] *** diosney has quit IRC
[23:25:42] *** dsdeiz has joined #angularjs
[23:25:44] *** sonicparke|bradm has quit IRC
[23:25:50] <angelicvenus> dmack: I think that's still subject to the same validation as numeric, no?
[23:26:00] <dmack> that I do not know.
[23:26:02] *** areologist has joined #angularjs
[23:26:15] <angelicvenus> Lemme check, if I can shortcut this with a silly solution like that I don't mind
[23:26:15] *** CoolDuke has joined #angularjs
[23:26:29] *** Sky[x] has joined #angularjs
[23:26:33] <angelicvenus> having that pattern in there is already broken (seeing as the pattern doesn't validate, and shouldn't)
[23:26:38] *** Sky[x] has quit IRC
[23:26:38] *** juanpablo__ has quit IRC
[23:26:40] *** glassir has quit IRC
[23:26:47] <jaawerth> jjasonclark: if you make your template a function in your route object, that funciton will take as a parameter an array of your route params
[23:27:06] <merpnderp> What happens in $q.all(promises, ....); if after that call, new promises are pushed into the promises array?
[23:27:07] *** Tran has quit IRC
[23:27:47] *** Slowintrepid has quit IRC
[23:28:01] *** mdedetrich has quit IRC
[23:29:05] <jjasonclark> dmack: jaawerth: It looks like the resolve functions are done after the route’s templateURL function. So It seems I cannot do it in the order I have now.
[23:29:23] *** edy has quit IRC
[23:29:31] *** icfantv has quit IRC
[23:29:46] *** joshtau has quit IRC
[23:30:09] <jjasonclark> dmack: jaawerth: know if I can set some injected values for the controller from with in the template function? Basically move my resolve functions inside the template function?
[23:30:41] *** Slowintrepid has joined #angularjs
[23:31:40] *** Third has joined #angularjs
[23:31:45] *** joshtau has joined #angularjs
[23:31:46] *** fairuz1 has joined #angularjs
[23:32:02] *** Oxynum has joined #angularjs
[23:32:12] *** cthrax has joined #angularjs
[23:32:24] *** fakingfantastic has quit IRC
[23:32:26] *** joroc has joined #angularjs
[23:32:34] *** doug64k has quit IRC
[23:32:40] *** juanpablo_ has joined #angularjs
[23:32:53] *** doug64k has joined #angularjs
[23:32:53] *** juanpablo_ has joined #angularjs
[23:32:54] *** jiskiras has quit IRC
[23:34:10] <angelicvenus> jaawerth: That was exactly what I needed. It's a much better option … I just hope normal browsers don't start doing something crazy with it (like giving the option to open up people's contacts list to look up phone numbers)
[23:34:11] *** Oxynum has quit IRC
[23:34:11] *** weeyum__ has quit IRC
[23:34:26] *** Oxynum has joined #angularjs
[23:34:29] <angelicvenus> also thanks dmack for the offer of help
[23:35:00] *** jeremymarc has joined #angularjs
[23:35:44] *** brennon_ has joined #angularjs
[23:35:59] *** minimoo1 has quit IRC
[23:36:07] *** oncenull has joined #angularjs
[23:36:21] *** bayousoft has quit IRC
[23:36:36] *** boxmein has quit IRC
[23:36:42] <Third> Hello, I'm new to Angular. I have an issue where my Angular expressions are printed out as the literal expression. Do you know where I should start to troubleshooting this? Other sections of my app work fine and I'm not seeing any obvious errors.
[23:37:30] *** Rutix has quit IRC
[23:37:40] *** jakswa has left #angularjs
[23:37:43] *** jamesbdev has quit IRC
[23:37:47] *** tommyjam has joined #angularjs
[23:37:50] *** woah has joined #angularjs
[23:37:53] *** Rutix has joined #angularjs
[23:37:53] *** Rutix has joined #angularjs
[23:37:56] <jaawerth> jjasonclark: the template function fires before the controller does, so I'm afraid that won't work. You could, however, write a directive that grabs from multiple templates based on a condition. I can show you how. Alternatively, if the templates are predefined and you just need to check params, you can take the template function approach - I can provide an example
[23:38:15] *** Oxynum has quit IRC
[23:38:27] *** samuel02 has joined #angularjs
[23:38:55] *** livingstn has quit IRC
[23:39:16] *** angelicvenus has quit IRC
[23:39:18] *** magellanicloud has quit IRC
[23:39:24] <jjasonclark> jaawerth: shoot! well I’m working on a hack now so one of your solutions might be best. I’m trying to use the template function to both go get my object and based on it’s return value set the template. Then in the resolve function return the fetched object.
[23:39:55] *** laurensclaessen has quit IRC
[23:40:23] *** jiskiras has joined #angularjs
[23:40:29] <dmack> jjasonclark: what's int he resolve that's so important to the route?
[23:40:37] <dmack> the coupling there shouldn't be ncessar.
[23:40:44] <dmack> I'm making a lot of assumptions though
[23:41:05] <jjasonclark> dmack: the main object to be displayed by the template. Its a details view in the route
[23:41:33] <jjasonclark> dmack: a few attributes to be displayed then provide a launching point for other interactions
[23:41:42] <dmack> merpnderp: $q.all() doesn't get called again, if that's what you're asking
[23:41:57] *** Una has quit IRC
[23:41:58] *** d10n-work has quit IRC
[23:42:06] *** manekinekko has quit IRC
[23:42:07] *** Una has joined #angularjs
[23:42:47] <jaawerth> jjasonclark: so it has to depend upon the object itself and not on your route params?
[23:42:47] *** tommyjam has quit IRC
[23:43:07] *** Oxynum has joined #angularjs
[23:43:18] *** dannyc has quit IRC
[23:43:20] <jjasonclark> jaawerth: yes…object lookup = type attribute. Type attribute = which template to display
[23:43:38] <jjasonclark> well I should say “leads to” instead of =
[23:43:53] <merpnderp> dmack: right, but does it watch the array and wait on the new promises added?
[23:43:58] <jaawerth> I see. In that case, I'd just use ng-include in your template as before, inject your value into the controller, and set up the value on scope so the template can use it
[23:44:01] <dmack> merpnderp: nope.
[23:44:04] <jaawerth> your initial approach is close
[23:44:14] *** windsurf_ has joined #angularjs
[23:44:16] *** bayousoft has joined #angularjs
[23:44:24] <dmack> agreed with jaawerth: you can't really accomplish what you want in your route config.
[23:44:25] *** TheAceOfHearts has quit IRC
[23:44:27] <dmack> just not possible.
[23:44:32] <merpnderp> dmack: but what if some of my async calls trigger new async calls that I need the original call to also wait on?
[23:44:33] <jaawerth> not with ngRoute
[23:44:34] <dmack> (or really makes sense)
[23:44:37] <jaawerth> UI-router lets you do more with injectibles
[23:44:45] *** mdedetrich has joined #angularjs
[23:44:46] <jaawerth> on account of it's awesome
[23:44:52] <merpnderp> I'll have ot have a new $q.wait which calls the outside resolve
[23:44:57] <windsurf_> When I see, myAppModule.factory('CreditCard', ['$resource', function($resource) {
[23:45:04] <dmack> merpnderp: chain your promises together, and just return one.
[23:45:10] <dmack> $q.all() can contain another $q.all()
[23:45:13] <dmack> ...I think
[23:45:14] <areologist> I thought I heard the ng team were rewriting ngRoute
[23:45:25] *** RobertMeta has quit IRC
[23:45:31] <areologist> Surely for 2.0, but I thought I might have heard something about 1.x too.
[23:45:37] <areologist> maybe not..
[23:45:37] <windsurf_> is [‘$resource’ specifiying a dependency of $resource? I can’t find the docs that show an array for the 2nd param of factor()
[23:45:41] <dmack> they're backporting the router to 1.3
[23:45:41] <windsurf_> factory()*
[23:45:45] <dmack> supposedly
[23:45:47] <jaawerth> yeah, that
[23:46:04] <jaawerth> basically they took a look at ui-router and were like, "this thing is awesome, we need to up our game!"
[23:46:08] <areologist> I've played with ui-router and angular-route-segment and found the latter to be more useful for what I needed to do
[23:46:17] <jjasonclark> well pooh. template expects a string response. Doesn’t seem to wait for the promise response
[23:46:18] <dmack> ui-router is phenomenal
[23:46:42] <dmack> jaawerth: actually, I think they realized Ember's router was pretty damn good
[23:46:42] <Grokling> dmack, merpnderp, yes, you can nest $q.all, and to make an outer call wait on an inner, use the inner call's promise as the return value.
[23:46:52] *** Ansikt has quit IRC
[23:47:13] <jaawerth> dmack: I remember in the announcement where they talk about their new router, they specifically refer to ui-router. That's all I'm basing my opinion on ;-)
[23:47:16] <areologist> ui-router is definitely the most popular
[23:47:39] <dmack> one of Embers huge selling points is it's routing. never used it, but I know people who do and swear by it
[23:47:49] *** mjs2600 has joined #angularjs
[23:48:09] <areologist> I'd like to have custom builds of angular where you could select from a couple different routers, for example, based on the complexity of your requirements.
[23:48:09] <dmack> which is fine. ngRoute as it currently stands is pretty subpar compared to the rest of the framework
[23:48:17] *** h-darklowz has quit IRC
[23:48:23] <areologist> presuming that ui-router is much bigger in code size then ngRoute
[23:48:34] *** fakingfantastic has joined #angularjs
[23:48:40] <jaawerth> well that's what you can do right now
[23:48:47] <jaawerth> that's why ngRoute was separated off as an optional module
[23:48:52] <dmack> would be nice, I think they're just going down the state route, versus having routes tied to template/controllers
[23:49:10] *** bayousoft has quit IRC
[23:49:11] <areologist> is ngRoute optional now? I guess I forgot.
[23:49:17] <jaawerth> yep!
[23:49:22] <jaawerth> gotta include and inject it
[23:49:23] <areologist> sweet
[23:49:26] <dmack> yeah
[23:49:50] *** bayousoft has joined #angularjs
[23:49:53] *** samuel02 has quit IRC
[23:50:01] <jjasonclark> where do I find the ui router to try it out here?
[23:50:07] <jaawerth> which was directly because the Angular team noticed people building featureful third party modules, which they want to encourage, and decided it was silly to pack that functionality in
[23:50:13] <dmack> https://github.com/angular-ui/ui-router/
[23:50:17] <areologist> I watched Nick Zakas's "Enough witH JavaScript" talk last night and it has me second guessing everything
[23:50:26] <jaawerth> there's something of a learning curve compared to ngRoute, but it's well worth it
[23:50:54] *** andrewdub has quit IRC
[23:50:57] *** annlewis has quit IRC
[23:50:58] *** patrick99e99 has joined #angularjs
[23:51:03] *** snapwich1 has joined #angularjs
[23:51:04] <dmack> Javascript is what we've got if you want to work in the browser - learn to deal with it :)
[23:51:08] *** snapwich has quit IRC
[23:51:12] <jaawerth> multiple views, named views, nested states, URL-less routing, more injectible things in your state setup are just some of the advantages
[23:51:22] <jaawerth> rates are like routes but you don't NEED them to actually be URL routes
[23:51:25] *** iksik has quit IRC
[23:51:34] *** thedodd has quit IRC
[23:51:35] <areologist> the talk wasn't actually against JS but was a criticism of the current (allegedly) overuse of libraries and frameworks
[23:51:42] <areologist> like, here
[23:51:45] <areologist> whoops
[23:51:51] <jaawerth> can you link the talk?
[23:51:55] <areologist> yeah
[23:52:02] <areologist> https://www.youtube.com/watch?v=gNmbxhRruLU
[23:52:27] <jaawerth> on the face of it that sounds silly to me, since JavaScript is like the last language to the party when it comes to frameworks
[23:52:27] <dmack> I don't see how you build anything substantial without a framework
[23:52:39] *** michaeltresseras has joined #angularjs
[23:52:43] <dmack> you'll end up building a framework
[23:52:45] <areologist> also watched his "Scalable JavaScript Application Architecture" talk and together they made me want to just build minimalist custom framework and library for each project
[23:52:46] <dmack> and it'll be shit
[23:52:55] <jaawerth> every other language out there is rife with them, not just on the web but in systems programming.. pretty much anything substantial, you're gonna use a library rather than reinventing the wheel.
[23:53:04] <dmack> agree
[23:53:09] *** Underbyte has quit IRC
[23:53:10] <jaawerth> a framework is just a library that helps your organize your code
[23:53:12] *** mdedetrich has quit IRC
[23:53:13] <ctanga> hipsters
[23:53:13] <areologist> if you're a good architect and dev it could be much more streamlined
[23:53:17] <dmack> areologist: great, now you're the maintainer of that framework
[23:53:20] <dmack> what if you leave?
[23:53:27] <dmack> hope you wrote good docs!
[23:53:28] <areologist> framework vs. library = inversion of control
[23:53:31] <dmack> (which will never happen)
[23:53:35] <jaawerth> if you're a good architect and dev you still wouldn't do it by hand unless you're building a custom framework
[23:53:55] *** Third has quit IRC
[23:53:59] *** anapitupulu has quit IRC
[23:54:11] *** platonic has quit IRC
[23:54:18] *** RobertMeta has joined #angularjs
[23:54:19] <dmack> building your own thing is great for expanding your learning and becoming a better dev, but probably not great if you're working with an everchanging team
[23:54:26] *** RobertMeta has quit IRC
[23:54:26] *** RobertMeta has joined #angularjs
[23:54:31] *** elrabin_ has quit IRC
[23:54:31] *** quantax- has quit IRC
[23:54:32] *** dcherman2 has joined #angularjs
[23:54:35] *** Oxynum has quit IRC
[23:54:40] <jjasonclark> Can you access the ng-view that a route is displayed in?
[23:54:42] <dmack> my 2 cents.
[23:54:46] *** joshontheweb has joined #angularjs
[23:54:49] <jaawerth> I DO dislike frameworks that try to force you into using their entire toolkit. I tried Ember and thought it was too much. Angular, IMO, lies somewhere between "here are all your tools bloat bloat bloat you must do everything one way" (aka Ember) and "here's a minimal toolkit, do whatever, have fun including more libraries or writing more messy code" (Backbone)
[23:54:52] <areologist> a dream tool I was imagining is something that could do static analysis of your entire project, including your dependencies, and pull out all unused code
[23:54:54] *** Siecje has left #angularjs
[23:55:17] *** vishal__ has joined #angularjs
[23:55:22] <jaawerth> obviously I'm exaggerating and/or handwaving to save time, but you get the idea ;-)
[23:55:31] <dmack> the tooling around JS is just now getting serious.
[23:55:42] <vishal__> hi
[23:55:45] <jaawerth> yeah. it's getting there, but web dev is only now turning into actual software development
[23:55:49] <dmack> things like typescript, atscript...they'll make development easier, make IDE's better, etc.
[23:55:52] <jaawerth> as opposed to a web page with pretty little widgets
[23:55:53] *** jimobrien has quit IRC
[23:55:55] <areologist> so only the parts of angular that you're using, or that the parts you're using depend on, will be there. you could also include jQuery if you want just one feature and this build tool would strip out anything else.. but this would only be possible if the libraries/frameworks were architected in such a way
[23:55:55] <dmack> keep things more consitent.
[23:56:05] *** spectator has joined #angularjs
[23:56:18] *** vishal__ has quit IRC
[23:56:30] *** MaxV has quit IRC
[23:56:36] *** sirkitree is now known as sirkitree|afk
[23:56:41] *** busticated has quit IRC
[23:56:43] <jaawerth> yeah but there are a lot of crossdependencies in any complex code
[23:56:57] <areologist> my app code is completely coupled to angular so I couldn't realistically swap out a different framework, or differen view piece, or whatever, if I wanted to
[23:57:02] <jaawerth> modularity is good, but at some point you're into diminishing returns when it comes to reducing your filesize
[23:57:08] *** cthrax has quit IRC
[23:57:13] <jaawerth> your framework should really be very small as compared with the rest of your code
[23:57:18] *** richiebkr has joined #angularjs
[23:57:20] <areologist> I like this sandbox layer Zakas has that segregates the framework and your app modules
[23:57:22] <jaawerth> unless you're making a very basic app
[23:57:31] *** dweave has joined #angularjs
[23:57:37] *** dcherman has quit IRC
[23:57:39] <roqo> Hello yall
[23:57:48] <roqo> Here's a brain teaser
[23:57:50] *** artisangoose has quit IRC
[23:58:01] <jaawerth> and modularity is really where angular shines anyway
[23:58:37] <jaawerth> all the fancy data binding and stuff is nice, but IMO the true power is writing all your code as injectible components using DI, directives, and services
[23:58:48] *** Slowintrepid has quit IRC
[23:58:51] <areologist> yeah, that's the main attraction for me too
[23:58:54] <roqo> I am working on a big application, and we started moving to angular modules for all new features. Problem is some of the old code are globals in JS.
[23:59:00] <roqo> I want to DI my globals
[23:59:06] *** Una has quit IRC
[23:59:07] <areologist> testable code.. although I've yet to figure out elegant unit testing of complex directives
[23:59:11] <jaawerth> you can accomplish some of these things with, say, CommonJS/require but Angular gives you the whole package
[23:59:19] *** dcherman2 has quit IRC
[23:59:31] *** DrMabuse has joined #angularjs
[23:59:41] <jaawerth> areologist: it's tricky to unit test DOM stuff, yeah. That's kinda why things are moving toward protractor, since that has you puppeteering an actual browser
[23:59:44] <roqo> I was able to create a factory for most of them that returns $window.globalname and inject that
top

   November 19, 2014  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | >