[00:00:35] <monokrome> seriema: How is that any different than using element.find in my example? Normally I'd just use a child directive, but I can't change the child DOM in this case :(
[00:00:47] *** samuel02 has joined #angularjs
[00:00:54] <seriema> monokrome: element.find is not part of jqLite? =)
[00:00:54] <monokrome> wafflej0ck: That describes the problem ^
[00:00:59] <wafflej0ck> monokrome: yup gotcha
[00:01:05] <TheAceOfHearts> just add jQuery
[00:01:07] *** livingstn has quit IRC
[00:01:08] *** bjtitus has joined #angularjs
[00:01:10] <monokrome> We have jQuery
[00:01:11] <TheAceOfHearts> stop fighting it~
[00:01:20] <monokrome> There are no child elements for some reason during the post-link phase
[00:01:20] * seriema removes TheAceOfHearts jQuery and doesn't tell anyone
[00:01:30] <TheAceOfHearts> resistance is futile~
[00:01:31] <monokrome> nor is there when the transclusion handler is called, or during the compilation
[00:01:32] <TheAceOfHearts> lol
[00:01:38] <TheAceOfHearts> I don't use jquery :p
[00:01:42] <TheAceOfHearts> but I use plugins that use it
[00:01:49] <wafflej0ck> same, usually
[00:01:55] *** subtone100 has quit IRC
[00:02:01] <monokrome> jQuery.find and jqLite.find do the same thing here, so it is irrelevant - right?
[00:02:07] *** trend_ has joined #angularjs
[00:02:07] <TheAceOfHearts> dunno
[00:02:15] <monokrome> heh
[00:02:23] *** zB0hs has joined #angularjs
[00:02:30] <monokrome> So, the problem (if you expect the elements) is that the element has no children at this point
[00:02:40] <seriema> monokrome: there's no jqlite.find ?
[00:02:40] *** blckamj has quit IRC
[00:02:46] <monokrome> If I drop a `debugger` statement and look in the inspector, no children are there
[00:02:55] *** Ix-xitan has quit IRC
[00:03:01] <monokrome> then this must be using jQuery.find
[00:03:21] <monokrome> Either way, why are the children removed by Angular and how can I get access to them?
[00:03:49] <TheAceOfHearts> Angular is the new child protective services, maybe you should stop abusing them
[00:04:23] <lilbaby> Can someone explain this __variable__ convention?
[00:04:42] *** japhar81 has quit IRC
[00:04:55] *** vassagus has quit IRC
[00:04:59] *** ProLoser has quit IRC
[00:05:12] *** bayouso__ has quit IRC
[00:05:22] <TheAceOfHearts> where?~
[00:05:53] *** josh3336 has quit IRC
[00:06:12] *** FunnyLookinHat has quit IRC
[00:06:39] *** demi` has quit IRC
[00:06:53] *** DigitallyBrn has quit IRC
[00:06:57] *** patrick99e99 has quit IRC
[00:07:05] *** zB0hs has quit IRC
[00:07:33] *** pikapp has quit IRC
[00:07:33] <davek> lilbaby, never once seen that. __variable__ convention is usually used (in Javascript) to indicate implementation-defined properties and are named that way to avoid collision with ECMA-specified properties.
[00:07:33] *** plato has quit IRC
[00:07:33] *** jbolie has joined #angularjs
[00:07:38] <ctanga> __frodo__
[00:07:42] *** vassagus has joined #angularjs
[00:07:42] <davek> Seen that in angular*.
[00:07:50] <lilbaby> davek: gratzi
[00:08:16] *** Johnny13371337 has quit IRC
[00:08:25] <davek> prego
[00:08:37] *** dsdeiz has quit IRC
[00:08:41] <ctanga> ragu
[00:08:42] <seriema> lilbaby: davek: it's also used just to indicate "private"
[00:08:45] <monokrome> Does nobody know why an element has no children during postLink? It seems like this is potentially a performance issue if not an API issue
[00:08:48] <seriema> or at least _variable
[00:08:51] <davek> seriema not generally no.
[00:08:54] *** demi` has joined #angularjs
[00:08:55] <davek> Yes single underscores are.
[00:09:16] *** willeponken has quit IRC
[00:09:28] *** intellix has joined #angularjs
[00:09:37] <GreenJello> any undocumented property is 'private' :-)
[00:09:38] *** willeponken has joined #angularjs
[00:10:14] *** Reskp has joined #angularjs
[00:10:50] <seriema> GreenJello: not in OSS where the docs are often crap or outdated :P
[00:11:54] *** bkuberek_ has joined #angularjs
[00:11:57] <GreenJello> seriema, if they're crap or outdated, that's a good indication you shouldn't be using the library :-)
[00:11:58] <monokrome> Any properly marked as private is private. They are marked by two or more $ instead of one. EG, the $$rAF service vs the $compile service
[00:12:01] *** lvegerano-home has joined #angularjs
[00:12:08] *** crakrjak has joined #angularjs
[00:12:16] *** cbeacock1 has quit IRC
[00:12:24] <monokrome> $$rAF is a "private" service that isn't guaranteed to exist with minor upgrades
[00:12:25] <GreenJello> yeah angular has its own convention, which I haven't seen elsewhere
[00:12:27] *** Oxynum has quit IRC
[00:12:29] <seriema> GreenJello: uhuh, like the early days of angular? :P some devs are just great coders but not great at doc
[00:12:48] *** firelinks has quit IRC
[00:13:15] *** nagappan_ has quit IRC
[00:13:19] *** plato has joined #angularjs
[00:13:44] *** mennea has quit IRC
[00:13:45] *** whunt has joined #angularjs
[00:13:49] <GreenJello> seriema, it doesn't take much to write decent docs; MyThing.foo(bar: String, bax: Number) returns {quux: String}
[00:13:50] *** nagappan_ has joined #angularjs
[00:13:58] *** mary5030 has quit IRC
[00:14:16] <seriema> GreenJello: doesn't take much to write decent code. don't think we'll get anywhere with that argument =)
[00:14:22] *** mennea has joined #angularjs
[00:14:26] <ctanga> API docs generally suck
[00:14:34] *** demi` has quit IRC
[00:14:36] <ctanga> cause you don’t get a macro view
[00:14:39] *** Sawbones has quit IRC
[00:14:46] *** dman777_alter has quit IRC
[00:14:47] *** Reskp has quit IRC
[00:14:56] <GreenJello> that's a different story; I'm just talking about the public api
[00:15:27] *** down_quark has quit IRC
[00:15:29] *** bkuberek has quit IRC
[00:15:29] *** burzum2 has quit IRC
[00:15:39] *** demi` has joined #angularjs
[00:15:40] *** jeffbalboni has quit IRC
[00:15:42] *** josh-k has joined #angularjs
[00:15:45] <GreenJello> it's easy to say what the public api is; actually explaining how to use the library, best practices, etc. is where docs tend to fall short
[00:16:00] <ctanga> yup
[00:16:26] *** davek has quit IRC
[00:16:32] *** bkuberek_ has quit IRC
[00:17:14] *** eBureau has quit IRC
[00:17:24] *** Ix-Xitan has joined #angularjs
[00:17:25] *** Ix-Xitan is now known as PointBlank
[00:17:29] <monokrome> There's the example
[00:17:44] *** tsalb has quit IRC
[00:17:52] *** pikapp has joined #angularjs
[00:18:20] *** dhcar_AFK is now known as dhcar
[00:18:21] *** whunt has quit IRC
[00:18:39] *** jackdpeterson has quit IRC
[00:19:11] *** seriema has quit IRC
[00:19:19] *** subtone100 has joined #angularjs
[00:19:20] <monokrome> Why is that 0 instea dof 3?...
[00:19:38] <Foxandxss> how do you specify different env variables like endpoints for dev and prod? Gulp task ? (like gulp-ng-constant)
[00:19:46] *** seriema has joined #angularjs
[00:20:01] *** _ritchie_ has quit IRC
[00:20:10] *** crakrjak has quit IRC
[00:20:23] *** vassagus has quit IRC
[00:20:30] *** josh-k has quit IRC
[00:20:52] *** caitp has quit IRC
[00:21:00] *** crakrjak has joined #angularjs
[00:21:14] *** cthrax has quit IRC
[00:21:16] *** kreigger_ has joined #angularjs
[00:21:17] *** optikalmouse has quit IRC
[00:21:28] *** mennea has quit IRC
[00:21:43] *** shampine has quit IRC
[00:21:49] <monokrome> Foxandxss: Looks like it's in that config.json file
[00:22:01] *** mjs2600 has joined #angularjs
[00:22:11] <Foxandxss> monokrome: "that" ?
[00:22:24] *** PointBlank has quit IRC
[00:22:25] <monokrome> or like this: ngConstant({ constants: { someVar: "here" } })
[00:22:31] *** Ix-Xitan has joined #angularjs
[00:22:31] *** Ix-Xitan is now known as PointBlank
[00:22:36] <Foxandxss> ah yes, the task
[00:22:47] <Foxandxss> I never had to do CORS and for ionic sounds like a good idea
[00:23:05] <monokrome> but that seems optional if you prefer to hardcode into the task
[00:23:12] <Foxandxss> nah, you specify there what constants you need, it generates a real file for you
[00:23:16] *** kreiggers has quit IRC
[00:23:18] <Foxandxss> yes, that too
[00:23:42] <monokrome> Does the preprocess your DOM and insert constant values from the configuration into your templates?
[00:23:49] *** cthrax has joined #angularjs
[00:23:57] <Foxandxss> I don't think so
[00:24:00] *** shampine_ has joined #angularjs
[00:24:01] <Foxandxss> there is no need
[00:24:03] <monokrome> I need to add some of this stuff to my pipeline before gulp-angular-templatecache if so O_O
[00:24:04] <monokrome> oooh okay
[00:24:07] *** seriema has quit IRC
[00:24:40] *** annlewis has joined #angularjs
[00:24:42] <monokrome> I've used Angular on the server-side before. It'd be cool to process server-side directives for building out static sites.
[00:24:48] <wafflej0ck> Foxandxss: personally I just rolled by own solution with a service where I register what URLs I need and for what environments and it's up the the app config that's using the various modules that need to know what endpoints to use to provide the actual URLs
[00:24:52] <Foxandxss> just enough to create a foo.js with different endpoints depending if I run dev or prod tasks
[00:24:53] *** jiskiras has quit IRC
[00:24:54] <monokrome> IE, converting blog posts into static pages
[00:24:57] <monokrome> EG*
[00:24:58] *** MaxV has quit IRC
[00:25:08] <monokrome> Oh, okay.
[00:25:10] <lilbaby> seriema: I got it working!!! Thanks! You're the best!
[00:25:22] <lilbaby> seriema: The mock DI is pretty sweet stuff.
[00:25:59] <GreenJello> monokrome, for things like that, React or simple templates would probably be better
[00:26:00] *** Sgeo has quit IRC
[00:26:08] <wafflej0ck> Foxandxss: if the app doesn't provide all the config needed for the various environments/modules that need endpoint information, then the service complains and tells you what the config should look like, was a small PITA but pretty happy with it
[00:26:09] *** cotko has joined #angularjs
[00:26:23] *** Sgeo has joined #angularjs
[00:26:25] <monokrome> GreenJello: Maybe. I use underscore templating atm
[00:26:34] <Foxandxss> wafflej0ck: can I see an example? not sure if I follow
[00:26:47] <wafflej0ck> Foxandxss: you can also use the grunt fileprocess task but I found it to be not very concrete with using regex to replace parts
[00:26:54] *** mjs2600 has quit IRC
[00:26:54] <wafflej0ck> Foxandxss: er gulp whateves :)
[00:26:59] <monokrome> but it'd be nice to do the angular on server method because I can have directives that apply into the static site and then can be applied again by JS if it's enabled
[00:27:15] <monokrome> to degrade gracefully when possible
[00:27:36] <GreenJello> monokrome, yeah that's one of the design goals of React
[00:27:43] *** crewshin has quit IRC
[00:27:54] <GreenJello> and simple templates would be better if you don't need the client to do anything fancy
[00:28:20] <GreenJello> or if you just wanted to add a few effects with jQuery (common on blogs)
[00:28:59] <GreenJello> and then there's also the static blog approach, where you build every page ahead of time and deploy directly to a CDN
[00:29:13] <monokrome> I'm talking about the static blog approach specifically
[00:29:15] <wafflej0ck> Foxandxss: yeah trying to debug some weird issue ATM but will dig up that code in a few and try to put together a coherent pastebin
[00:29:17] *** lthomas has joined #angularjs
[00:29:33] *** carlosmantilla has joined #angularjs
[00:29:55] *** lthomas has quit IRC
[00:29:57] <Foxandxss> wafflej0ck: it doesn't need to be now, can be tomorrow, don't worry
[00:29:59] *** Sontakey has joined #angularjs
[00:30:21] *** dsdeiz has joined #angularjs
[00:30:29] <monokrome> IE, I could have a directive <section data-twitter-recent></section> that injects recent twitter posts into the static page but also will get processed by Angular on the client if JS is enabled and have real-time data
[00:30:30] <wafflej0ck> Foxandxss: k yeah would be good to actually just publish the module I have so far will make it easier for you to reuse and can let me know where I'm doing stupid things
[00:30:39] *** cbennett has quit IRC
[00:30:53] <monokrome> kind of a bad example since it's not really "recent" without JS
[00:31:01] <monokrome> but "related" might make more sense
[00:31:08] *** younqcass_ has joined #angularjs
[00:31:18] *** eamonn has joined #angularjs
[00:31:31] <monokrome> anyway, g2g thanks for the help
[00:31:48] *** adpirz has joined #angularjs
[00:32:07] *** dcherman has joined #angularjs
[00:32:22] *** younqcass has quit IRC
[00:32:23] *** younqcass_ is now known as younqcass
[00:32:35] *** fairuz has quit IRC
[00:33:16] *** tomzx is now known as tomzx`afk
[00:33:43] *** jasonp has quit IRC
[00:34:15] *** carlosmantilla has quit IRC
[00:34:52] *** c00ljs has joined #angularjs
[00:35:10] *** lilbaby has quit IRC
[00:36:47] *** simiographics_ has quit IRC
[00:36:57] *** kreigger_ has quit IRC
[00:37:05] *** cohitre has quit IRC
[00:37:09] *** crakrjak has quit IRC
[00:37:27] *** mven has quit IRC
[00:37:49] *** kreiggers has joined #angularjs
[00:37:59] *** crakrjak has joined #angularjs
[00:38:04] *** c00ljs has quit IRC
[00:38:19] *** crakrjak has quit IRC
[00:38:50] *** benschaaf has joined #angularjs
[00:39:09] *** robdubya has joined #angularjs
[00:39:10] *** c00ljs has joined #angularjs
[00:40:04] *** mdedetrich has quit IRC
[00:40:46] *** JosephBergevin has quit IRC
[00:40:58] *** Luser has quit IRC
[00:41:05] *** shackleford has quit IRC
[00:42:19] *** crakrjak has joined #angularjs
[00:42:28] *** cthrax has quit IRC
[00:42:34] *** mmeallin_ has quit IRC
[00:42:46] *** optikalmouse has joined #angularjs
[00:43:40] *** NoNMaDDeN has joined #angularjs
[00:43:48] *** tfennelly has quit IRC
[00:43:54] *** bmac has quit IRC
[00:44:02] *** bradmaxs has quit IRC
[00:44:05] *** lthomas has joined #angularjs
[00:44:14] *** desp has joined #angularjs
[00:44:23] *** NoNMaDDeN has quit IRC
[00:44:37] *** dcherman has quit IRC
[00:45:26] *** samuel02 has quit IRC
[00:46:34] *** cthrax has joined #angularjs
[00:47:05] *** cakirke has joined #angularjs
[00:48:04] *** baweaver has quit IRC
[00:48:26] *** crakrjak has quit IRC
[00:48:32] *** mdedetrich has joined #angularjs
[00:48:52] *** mguillech has quit IRC
[00:51:26] *** narutimateum2 has joined #angularjs
[00:52:09] *** nuizzy has quit IRC
[00:52:11] *** intellix has quit IRC
[00:52:35] *** cohitre has joined #angularjs
[00:52:45] *** desp has quit IRC
[00:52:47] *** brettfrable has joined #angularjs
[00:53:15] *** optikalmouse has quit IRC
[00:53:18] *** despai has joined #angularjs
[00:53:40] *** narutimateum has quit IRC
[00:54:58] *** marr has quit IRC
[00:55:06] *** spatialbrew has quit IRC
[00:55:28] *** kuadrosx has quit IRC
[00:55:55] *** baweaver has joined #angularjs
[00:55:55] *** kuadrosx has joined #angularjs
[00:56:07] <OttlikG_> Hi
[00:56:12] *** mven has joined #angularjs
[00:56:19] *** nuizzy has joined #angularjs
[00:57:00] <OttlikG_> There is someone who know how can I use element's attribute in {{}} expression?
[00:57:18] *** dcherman has joined #angularjs
[00:57:49] *** caitp has joined #angularjs
[00:58:03] *** crakrjak has joined #angularjs
[00:58:13] *** lvegerano-home has quit IRC
[00:58:23] *** despai has quit IRC
[00:58:27] *** ProLoser has joined #angularjs
[00:58:27] *** poofmooter has quit IRC
[00:58:37] *** sugarcane has joined #angularjs
[00:58:53] *** subtone100 has quit IRC
[00:59:09] *** subtone100 has joined #angularjs
[00:59:28] *** narutimateum2 has quit IRC
[01:01:11] *** sacho has joined #angularjs
[01:01:29] <GreenJello> OttlikG_, you could put the element on $scope, but it's better to use a directive for that
[01:01:53] *** opioids has quit IRC
[01:02:00] *** hmsimha has quit IRC
[01:02:15] *** lilbaby has joined #angularjs
[01:02:16] *** zlalanne has quit IRC
[01:02:40] *** lilbaby has quit IRC
[01:03:23] *** moritzschaefer has quit IRC
[01:03:34] *** moritzs has quit IRC
[01:03:47] *** MistahKurtz has joined #angularjs
[01:03:53] *** ethlor has joined #angularjs
[01:04:20] *** lthomas has quit IRC
[01:05:01] *** emmesswhy has quit IRC
[01:05:26] *** cthrax has quit IRC
[01:05:41] *** rafaelabreu has left #angularjs
[01:07:09] *** hardyvent has quit IRC
[01:07:57] *** snapwich has quit IRC
[01:08:56] *** JosephBergevin has joined #angularjs
[01:09:00] *** chrisshattuck has quit IRC
[01:09:19] *** tkimmel has quit IRC
[01:09:42] *** emmesswhy has joined #angularjs
[01:09:53] *** davek_ has joined #angularjs
[01:09:59] *** mccarrontr1ck has quit IRC
[01:10:04] *** davek_ has quit IRC
[01:10:04] *** davek_ has joined #angularjs
[01:10:06] *** disorder20 has quit IRC
[01:11:02] *** Reskp has joined #angularjs
[01:11:47] *** dcherman has quit IRC
[01:12:12] *** fedenunez has joined #angularjs
[01:12:14] *** ctanga has quit IRC
[01:12:35] *** patrick99e99 has joined #angularjs
[01:12:50] *** Aerospark has quit IRC
[01:13:07] *** AtomicCookie has quit IRC
[01:14:17] <snurfery> this is weird
[01:14:39] <snurfery> I'm trying to clear out a form input
[01:15:03] <snurfery> should I be using el.$setViewValue() for that?
[01:15:23] <snurfery> seems to be setting the contents of the model but not updating the view
[01:15:35] *** caitp has quit IRC
[01:15:43] *** Reskp has quit IRC
[01:17:48] *** zzing has joined #angularjs
[01:18:16] *** Shrooms has joined #angularjs
[01:18:20] *** woah has quit IRC
[01:18:34] *** whunt has joined #angularjs
[01:19:17] *** Bade has quit IRC
[01:19:50] *** juanpablo_ has quit IRC
[01:20:01] *** seriema has joined #angularjs
[01:20:45] *** vassagus has joined #angularjs
[01:21:12] *** lthomas has joined #angularjs
[01:21:22] *** doginal has quit IRC
[01:21:40] *** jstroem has quit IRC
[01:21:47] *** mjs2600 has joined #angularjs
[01:21:48] *** eamonn has quit IRC
[01:21:52] *** jonathanpglick has quit IRC
[01:21:52] *** bpmj has quit IRC
[01:21:53] *** tfennelly has joined #angularjs
[01:22:50] *** jonathanpglick has joined #angularjs
[01:23:25] *** kuadrosx_ has joined #angularjs
[01:23:29] *** doginal has joined #angularjs
[01:23:36] *** kuadrosx has quit IRC
[01:23:39] *** Guest21302 has quit IRC
[01:24:32] *** seriema has quit IRC
[01:24:48] *** DannyCallaghan has joined #angularjs
[01:24:59] *** mary5030 has joined #angularjs
[01:25:11] *** Aerospark has joined #angularjs
[01:25:14] *** kreiggers has quit IRC
[01:25:37] *** lthomas has quit IRC
[01:25:40] *** rho has quit IRC
[01:26:03] *** vassagus has quit IRC
[01:27:28] *** tfennelly has quit IRC
[01:27:45] *** tripu has joined #angularjs
[01:28:04] *** davek_ has quit IRC
[01:28:11] *** artisangoose has quit IRC
[01:28:24] *** davek_ has joined #angularjs
[01:28:24] *** davek_ has joined #angularjs
[01:28:28] <wafflej0ck> snurfery: not sure but someone else with a $setViewValue earlier said they had forgotten to call $render, details of ngModelController still elude me though
[01:28:28] *** oliver___ has joined #angularjs
[01:28:39] <snurfery> whoa
[01:29:02] <snurfery> oh snap that might be it exactly
[01:29:31] *** DannyCallaghan has quit IRC
[01:30:03] *** alanp has quit IRC
[01:30:04] <snurfery> holy mother of mary christ lord buddah zeus in hades it worked
[01:30:10] *** mary5030 has quit IRC
[01:30:13] <wafflej0ck> snurfery: heh nice
[01:30:26] <snurfery> so many high fives to you sir, thanks
[01:30:38] *** wartdev has joined #angularjs
[01:30:42] *** greg5green has quit IRC
[01:30:47] *** tomzx`afk is now known as tomzx
[01:30:58] *** Siecje has joined #angularjs
[01:31:20] *** alanp has joined #angularjs
[01:31:31] *** Typher has joined #angularjs
[01:31:43] <lebster> maybe i shouldnt even be accessing the main controller variables from a child? and use a service to communicate between the two?
[01:31:47] *** Beatzebub has joined #angularjs
[01:31:53] *** PointBlank has quit IRC
[01:31:55] <wafflej0ck> lebster: sounds much better
[01:32:11] <wafflej0ck> lebster: typically reaching up is a bad plan
[01:32:41] <lebster> wafflej0ck: i assume because it couples them together?
[01:32:41] <wafflej0ck> lebster: cause it means you automatically are assuming a given context and are completely coupling the parts
[01:32:44] *** crakrjak has quit IRC
[01:33:10] <lebster> yah i figured hmmmm ok thanks
[01:33:24] *** soee has quit IRC
[01:34:12] *** mmealling has joined #angularjs
[01:34:25] *** simiographics_ has joined #angularjs
[01:34:33] *** josh3336 has joined #angularjs
[01:35:12] *** zivester has joined #angularjs
[01:35:17] *** Ix-Xitan has joined #angularjs
[01:35:17] *** Ix-Xitan is now known as PointBlank
[01:35:29] *** cacts has quit IRC
[01:35:49] *** bbankes has quit IRC
[01:35:58] *** doug64k has quit IRC
[01:36:06] *** lthomas has joined #angularjs
[01:36:30] *** Typher has quit IRC
[01:37:08] *** asher^ has joined #angularjs
[01:38:00] *** beckyconning_ has quit IRC
[01:38:42] *** younqcass has quit IRC
[01:38:46] *** younqcass_ has joined #angularjs
[01:39:30] *** asher^ has quit IRC
[01:39:48] *** dhcar is now known as dhcar_AFK
[01:40:05] *** lthomas has quit IRC
[01:40:17] *** c00ljs has quit IRC
[01:40:46] *** asher^ has joined #angularjs
[01:40:54] *** Rejected has quit IRC
[01:42:11] <wafflej0ck> lebster: really once you start getting more comfortable with things you should put most of your functionality into services and factories and just create a reference to them from the scope of the controller to use the data/functions in the view
[01:42:42] *** hnomad has joined #angularjs
[01:44:10] *** Aliks has quit IRC
[01:44:35] <jnott> wafflej0ck, how come
[01:44:37] <wafflej0ck> just found a fantastic service to help with creating recursive directives, made a little utility UI thing for tweaking a model to see the changes immediately
[01:44:54] <wafflej0ck> jnott: then most of your code is re-usable and you don't repeat yourself
[01:44:58] *** eslaron has joined #angularjs
[01:45:09] *** doginal has quit IRC
[01:45:09] *** akrikos has joined #angularjs
[01:45:09] <wafflej0ck> jnott: also in the future controllers will eventually go away if things stay on the current track from what I've heard
[01:45:24] *** uru is now known as uru|away
[01:45:44] *** firelinks has joined #angularjs
[01:45:48] *** threesixes has joined #angularjs
[01:46:17] <wafflej0ck> jnott: in the controllers I generally only have config for directives that are only used in conjunction with that particular controller, even that stuff could be pulled out but I haven't come up with a totally clean way to do that all the time
[01:46:37] <lebster> wafflej0ck: say i make a service that holds just data, do i references the variables in the controller or reference the whole service?
[01:46:55] <wafflej0ck> lebster: the whole service generally seems to work better
[01:46:56] *** fedenunez has quit IRC
[01:47:13]
<eslaron> Hello :) I can't resolve a restangular request in a service function. Simple things like alert() work fine, but I can't get a PUT request to work. The is no error whatsoever. Angular and all the libs cease to work and there is only the background displayed. Here's my service code: http://pastebin.com/PqdjeTpB
[01:47:22] *** LeBlaaanc has quit IRC
[01:47:32] *** jameswork has joined #angularjs
[01:47:38] <wafflej0ck> lebster: initially when I started using this pattern I would have references to the data itself but have found just having a reference to the service or factory works out fine too and is less code
[01:47:39] <lebster> wafflej0ck: wouldnt that couple the view now to the service?
[01:47:54] <lebster> i c
[01:48:05] *** josh3336 has quit IRC
[01:48:54] *** gnrlbzik has joined #angularjs
[01:49:00] *** baweaver has quit IRC
[01:49:13] *** rburns has joined #angularjs
[01:49:17] <wafflej0ck> lebster: yeah this is sort of true but I don't really have a problem with that, in the case of coupling things within controllers or the controller to the view or anything that's not a directive to the view is that writing unit tests that can run independent of the view becomes hard or impossible
[01:49:19] *** mguillech has joined #angularjs
[01:49:23] *** Foxandxss has quit IRC
[01:49:31] *** _ritchie_ has joined #angularjs
[01:49:36] *** RobinBAwesome_ has joined #angularjs
[01:49:56] *** gnrlbzik has quit IRC
[01:50:13] *** gnrlbzik has joined #angularjs
[01:50:15] *** seriema has joined #angularjs
[01:51:04] *** Guest10839 has quit IRC
[01:51:24] *** nagappan_ has quit IRC
[01:51:28] *** RobinBAwesome has quit IRC
[01:51:29] *** RobinBAwesome_ is now known as RobinBAwesome
[01:51:51] <lebster> wafflej0ck: sorry what was that? writting unit tests that run independent of the view becomes hard or impossible when doing what
[01:51:57] *** AciD`` has quit IRC
[01:51:58] *** nemothekid has quit IRC
[01:52:00] *** moritzs has joined #angularjs
[01:52:03] <wafflej0ck> lebster: if you access the DOM from a controller say
[01:52:11] *** nagappan_ has joined #angularjs
[01:52:12] *** moritzschaefer has joined #angularjs
[01:52:13] *** fedenunez has joined #angularjs
[01:52:14] <wafflej0ck> coupling the controller to the view
[01:52:23] <wafflej0ck> or services or factories to the view
[01:53:02] *** krawek has quit IRC
[01:53:09] *** sgnl has joined #angularjs
[01:53:27] <lebster> hmmm i c
[01:53:39] *** mguillech has quit IRC
[01:53:44] *** sgnl has joined #angularjs
[01:53:44] *** sugarcane is now known as marciopuga
[01:53:52] *** sgnl has quit IRC
[01:54:01] *** nya has quit IRC
[01:54:07] *** jMyles has quit IRC
[01:54:21] *** sgnl has joined #angularjs
[01:54:24] *** BillCriswell has joined #angularjs
[01:54:42] *** ctanga has joined #angularjs
[01:55:04] *** seriema has quit IRC
[01:55:05]
<eslaron> I can't resolve a restangular request in a service function. Simple things like alert() work fine, but I can't get a PUT request to work. The is no error whatsoever. Angular and all the libs cease to work and there is only the background displayed. Here's my service code: http://pastebin.com/PqdjeTpB and my routing: http://pastebin.com/HAABpJ0j
[01:55:50] *** opioids has joined #angularjs
[01:55:51] *** evilaliv3 has quit IRC
[01:56:12] *** nuizzy has quit IRC
[01:56:32] *** firelinks has quit IRC
[01:56:37] *** opioids has quit IRC
[01:56:47] *** frem_ has quit IRC
[01:57:26] *** frem has joined #angularjs
[01:57:28] *** shinnya has quit IRC
[01:57:46] *** fairuz has joined #angularjs
[01:57:51]
<wafflej0ck> eslaron: seems like http://pastebin.com/PqdjeTpB line 31 is doing an async call but being treated as though it's synchronous?
[01:57:56] *** subtone100 has quit IRC
[01:58:06] *** Seus has joined #angularjs
[01:58:21] *** Aliks has joined #angularjs
[01:58:34] *** chizbang has quit IRC
[01:58:36] *** btc_panhandler has quit IRC
[01:58:57] <wafflej0ck> eslaron: also I don't use restangular but I assume all gets a collection not a single element but not sure how it handles that kind of thing
[01:59:48] <eslaron> wafflej0ck, line 31 is just a new object with a resource path declared. It's not a request in itself.
[02:00:14] *** opiates has quit IRC
[02:00:24] <eslaron> line 33 has a PUT request that has a built in promise
[02:00:36] <eslaron> restangular works on promises from the get go
[02:00:38] <Seus> question: why would my directive be compiled 5 times ? it’s not in an ng-repeat or anything
[02:01:00] *** AimerPaddle has quit IRC
[02:01:11] <eslaron> In the controller it works just fine, but it has a problem working within a service.
[02:01:14] *** caitp has joined #angularjs
[02:01:25] *** yaneq has quit IRC
[02:01:38] *** sekyms has joined #angularjs
[02:02:38] <wafflej0ck> eslaron: do you see the request in the network tab?
[02:02:42] *** grantfunke_ has quit IRC
[02:03:06] <SergioFilhow_> Hey guys, Is it possible to make a $http request before each state change ($stateChangeStart)? I want to freeze the stateChange
[02:03:07] <eslaron> wafflej0ck, no everything goes blank. No requests.
[02:03:22] <wafflej0ck> eslaron: would drop a debugger; point in that function see if it's being triggered
[02:03:47] <wafflej0ck> SergioFilhow_: that's basically what resolve does
[02:04:01] *** hmsimha has joined #angularjs
[02:04:02] <wafflej0ck> SergioFilhow_: waits for some promises to be complete before it changes the view/controller
[02:04:03] *** zzing has quit IRC
[02:04:06] *** rburns has quit IRC
[02:04:12] <SergioFilhow_> wafflej0ck, what should I do? which dependencies should I use?
[02:04:28] <wafflej0ck> SergioFilhow_: which router are you using ui-router or ngRoute?
[02:04:34] <SergioFilhow_> ui-router
[02:04:42] *** KernelCurry has quit IRC
[02:05:00] <eslaron> wafflej0ck, I'm using firebug. How to get the debug?
[02:05:49] <wafflej0ck> eslaron: F12 to open the console, write debugger; literally on the line you want to break on
[02:05:57] *** JosephBergevin has quit IRC
[02:06:01] <wafflej0ck> eslaron: er I think it's F12 i use chrome most of the time
[02:06:06] <SergioFilhow_> wafflej0ck, this procedure is going to be default to every state change, with resolve I think i have to declare the same resolver for every state I add
[02:06:54] *** dhcar_AFK is now known as dhcar
[02:07:12] <wafflej0ck> SergioFilhow_: yeah that is true, you may want to write some code to handle adding that to the resolve object or setting one for all the states if you have a ton of states
[02:07:34] <wafflej0ck> SergioFilhow_: dunno maybe with UI-router you can manually block the state change too when you get the event
[02:07:35] *** kuadrosx_ is now known as kuadrosx
[02:07:44] *** junmin_ has quit IRC
[02:07:53] <wafflej0ck> sekyms: you probably need $sce.trustAsHTML on that
[02:08:12] *** OddDuck has quit IRC
[02:08:13] <SergioFilhow_> wafflej0ck: exactly, I want to block the state change
[02:08:14] <ctanga> SergioFilhow_: what are you fetching on every state change?
[02:08:50] <SergioFilhow_> checking if user has permission to open the state
[02:09:33] *** doginal has joined #angularjs
[02:09:35] <ctanga> and you have to check via http? you don’t have their roles downloaded already?
[02:09:35] *** cakirke has quit IRC
[02:09:40] <wafflej0ck> sekyms: be cautious with that function though cause opening yourself up to some possible unintentional code execution though I believe the whiteList is pretty restrictive with $sce by default
[02:09:53] <SergioFilhow_> just to avoid the user to, for example, fill an entire form and then get the permission denied message
[02:10:27] <wafflej0ck> SergioFilhow_: seems like info you can just get on login and retain in a service
[02:10:47] <wafflej0ck> SergioFilhow_: are their permissions likely to change as they navigate from state to state?
[02:10:50] <SergioFilhow_> ctanga: I've done this way before and didn't like, It doesn't feel right to me
[02:10:53] <wafflej0ck> SergioFilhow_: if not seems like a lot of wasted calls
[02:11:08] *** sgnl has quit IRC
[02:11:20] *** jynxed has joined #angularjs
[02:11:38] *** Reskp has joined #angularjs
[02:11:49] *** aawc has joined #angularjs
[02:12:01] *** damain has quit IRC
[02:12:05] <SergioFilhow_> I agree it's a waste of calls, but I don't think it's gonna slows the application
[02:12:30] <wafflej0ck> SergioFilhow_: well just don't do it if it's a waste of calls, your slowing down my Netflix :)
[02:12:40] *** {DV8} has joined #angularjs
[02:12:46] *** Surface has quit IRC
[02:12:57] *** nemothekid has joined #angularjs
[02:13:07] <sekyms> wafflej0ck: this is the manner in which I am attempting to invoke it: <div class="col-xs-12"><p ng-bind-html="{{issue.data.body | userLinker }}"></p></div>
[02:13:29] *** fedenunez has quit IRC
[02:13:33] <wafflej0ck> sekyms: yeah you'll need $sce.trustAsHtml to be run in the filter on the value being returned
[02:13:34] *** lthomas has joined #angularjs
[02:13:52] *** Mahonar has quit IRC
[02:13:55] <sekyms> do I have to pass $sce in, or is it there by default?
[02:14:12] <wafflej0ck> sekyms: pass it into the top level function for the filter just like you would inject any other service
[02:14:13] *** abailarri has joined #angularjs
[02:14:22] *** DrMabuse has quit IRC
[02:14:41] *** adpirz has quit IRC
[02:14:41] *** Skrypter has quit IRC
[02:15:02] <wafflej0ck> sekyms: without passing the string through that function to explicitly trust it, it will only allow you to have like bold tags and some very limited stuff in ng-bind-html
[02:15:07] *** cthrax has joined #angularjs
[02:15:09] <dsdeiz> is it possible to use angular.isArray inside templates?
[02:15:15] <abailarri> but when I go to the page I see this: Error: [$injector:unpr] Unknown provider: $resourceProvider <- $resource <- Authenticate
[02:15:17] *** firelinks has joined #angularjs
[02:15:22] <abailarri> Any suggestion please?
[02:15:34] <wafflej0ck> abailarri: make sure you include the script for angular-resource
[02:15:45] <wafflej0ck> abailarri: and make sure you include ngResource dependency in your app
[02:15:45] *** patrickarlt has quit IRC
[02:15:54] <sekyms> wafflej0ck: Error: [$interpolate:interr] Can't interpolate: {{issue.data.body | userLinker }}
[02:16:19] *** zwacky has quit IRC
[02:16:25] <wafflej0ck> sekyms: try taking off the {{}}
[02:16:47] <wafflej0ck> sekyms: ng-bind-html might take an expression and interpolate it internally
[02:16:50] *** fedenunez has joined #angularjs
[02:16:52] <sekyms> that did it
[02:17:01] <sekyms> although my regular expression isn't working
[02:17:01] *** Reskp has quit IRC
[02:17:02] *** baweaver has joined #angularjs
[02:17:04] <sekyms> but thats another issue
[02:17:08] <sekyms> thanks wafflej0ck
[02:17:09] <wafflej0ck> sekyms: yeah regex101.com
[02:17:11] <wafflej0ck> sekyms: np
[02:17:19] <sekyms> that works in ember
[02:17:22] <sekyms> so i thought Id try it
[02:17:27] *** crakrjak has joined #angularjs
[02:17:36] <wafflej0ck> sekyms: yea regex is always a little different between languages
[02:17:47] *** carlosmantilla has joined #angularjs
[02:17:48] <sekyms> this looks nice
[02:17:53] <sekyms> i use regexr.com
[02:18:15] *** JoshGlzBrk has joined #angularjs
[02:18:20] *** burzum has joined #angularjs
[02:18:28] *** Zesty has joined #angularjs
[02:18:36] *** JoshGlzBrk has quit IRC
[02:18:51] <sekyms> ember is js too bt I see what you mean
[02:19:07] <wafflej0ck> ah heh yeah was thinking rails for some reason :)
[02:19:45] <wafflej0ck> framework overload, they're falling out of my ears
[02:20:15] *** trend_ has quit IRC
[02:20:35] <wafflej0ck> dsdeiz: yeah I don't think so, I just had to make a func on a scope to do .isObject
[02:20:47] <dsdeiz> got it. thx!
[02:20:49] <wafflej0ck> dsdeiz: you give it a shot?
[02:20:55] *** dimetron has joined #angularjs
[02:21:35] <dsdeiz> yeah i will
[02:21:53] *** basiclaser_ has quit IRC
[02:22:01] <wafflej0ck> dsdeiz: oh okay, thought you had found some more novel way, but yeah I know that works at least
[02:22:17] *** carlosmantilla has quit IRC
[02:22:37] *** ProLoser has quit IRC
[02:22:38] *** Surface has joined #angularjs
[02:23:26] *** nemothekid has quit IRC
[02:25:19] *** beckyconning_ has joined #angularjs
[02:25:48] *** ryst has quit IRC
[02:26:44] *** Shrooms has quit IRC
[02:26:50] *** subtone100 has joined #angularjs
[02:27:39] *** areologist has joined #angularjs
[02:27:52] *** btc_panhandler has joined #angularjs
[02:28:02] *** nya has joined #angularjs
[02:28:31] *** AlSquirrel has quit IRC
[02:28:48] *** scriptThis has joined #angularjs
[02:29:21] *** samuel02 has joined #angularjs
[02:29:34] *** lthomas has quit IRC
[02:29:38] *** windsurf_ has quit IRC
[02:29:48] *** mettjus has quit IRC
[02:30:10] *** nemothekid has joined #angularjs
[02:30:18] *** areologist has quit IRC
[02:30:19] *** MrBaboon has quit IRC
[02:30:37] *** _ritchie_ has quit IRC
[02:30:56] *** zmbmartin has left #angularjs
[02:30:57] *** livingstn has joined #angularjs
[02:30:59] *** gazbond has quit IRC
[02:31:14] <sekyms> thanks again wafflej0ck
[02:31:24] <wafflej0ck> sekyms: sure thing
[02:31:38] *** motionman has joined #angularjs
[02:32:11] *** cohitre has quit IRC
[02:32:23] *** junmin has joined #angularjs
[02:32:24] *** eamonn has joined #angularjs
[02:33:13] *** Rafzzz has quit IRC
[02:33:53] *** HEx1 has quit IRC
[02:33:53] *** SergioFilhow_ has quit IRC
[02:33:57] *** samuel02 has quit IRC
[02:34:29] <burzum> ive bound a variable in my directive with = and watching it, when a change happens and i log the change to the console I always get function (a){return k(c,a)} something like this back instead of a value. is there any explanation for that behavior?
[02:34:57] *** marcjs has quit IRC
[02:35:27] *** lthomas has joined #angularjs
[02:35:55] *** mspier is now known as mspier|away
[02:35:59] <snurfery> let's see what your $watch looks like
[02:36:04] <snurfery> and your log
[02:36:27] *** trend has joined #angularjs
[02:36:29] *** CodeTroth has quit IRC
[02:36:49] <snurfery> $scope.$watch('someModel.prop', function(nv, ov) {console.log(nv, ov);});
[02:36:53] *** eamonn has quit IRC
[02:37:11] *** Seus has quit IRC
[02:37:57] <burzum> snurfery, my fault I've had to use = and transclude:true
[02:38:06] <burzum> i need to get used to these scopes :/
[02:38:44] *** mistermjtek has quit IRC
[02:40:14] *** rchavik has joined #angularjs
[02:40:20] *** ryst has joined #angularjs
[02:42:42] *** sekyms has quit IRC
[02:42:51] *** lthomas has quit IRC
[02:43:07] *** rburns has joined #angularjs
[02:43:09] *** sinclair has joined #angularjs
[02:43:20] *** doginal has quit IRC
[02:44:03] *** Hackwar1 has joined #angularjs
[02:44:25] *** Hackwar has quit IRC
[02:44:37] *** snurfery has quit IRC
[02:44:44] *** krawek has joined #angularjs
[02:44:53] *** moritzschaefer has quit IRC
[02:45:00] *** emmesswhy has quit IRC
[02:45:23] *** an_gu has joined #angularjs
[02:45:29] *** moritzs has quit IRC
[02:45:39] *** fedenunez has quit IRC
[02:45:40] <an_gu> Hi, I have a jQuery section of my code and I call this: angular.element('#myController').scope().loadData();
[02:45:46] *** jonr22 has joined #angularjs
[02:45:50] <an_gu> But it says "Uncaught TypeError: undefined is not a function "
[02:47:07] *** lthomas has joined #angularjs
[02:47:21] *** doug64k has joined #angularjs
[02:47:28] <an_gu> I have done $scope.loadData = loadData; in the controller
[02:47:34] *** Zesty has quit IRC
[02:47:59] *** crakrjak has quit IRC
[02:48:09] *** stirlingw has quit IRC
[02:48:31] *** doginal has joined #angularjs
[02:48:43] *** bengillies has joined #angularjs
[02:49:17] *** damain has joined #angularjs
[02:49:22] *** lthomas has quit IRC
[02:50:32] *** shampine_ has quit IRC
[02:50:40] *** shampine has joined #angularjs
[02:50:40] *** shampine has joined #angularjs
[02:50:41] *** mguillech has joined #angularjs
[02:50:45] <an_gu> Please - any ideas?
[02:51:06] *** prbc has joined #angularjs
[02:51:09] *** seriema has joined #angularjs
[02:51:16] *** eslaron has quit IRC
[02:51:33] *** jareddlc has quit IRC
[02:52:15] *** merobertsjr has quit IRC
[02:52:23] <jaawerth> well.. couple things
[02:52:44] *** ProLoser has joined #angularjs
[02:52:46] *** brettfrable has quit IRC
[02:52:54] *** jbolie has quit IRC
[02:53:18] <jaawerth> first, to answer your direct question: the controller itself is a javascript object. $scope isn't a property on the object (unless you set it as one, but you shouldn't): it's something that gets injected/passed into the parameter for the controller's constructor function
[02:53:41] *** Kamal__ has joined #angularjs
[02:53:45] <jaawerth> if you do this.loadData = loadData from the controller, you'll be able to call it from the controller object, BUT
[02:53:47] *** Glen_ has joined #angularjs
[02:53:52] *** bengillies has quit IRC
[02:54:09] *** Kamal__ has left #angularjs
[02:54:12] <jaawerth> angular.element isn't how you get controllers - all that does is wrap jqlite (or jquery if you have it in your app) around a DOM node. It's.. sort of an alias for using $
[02:54:44] <jaawerth> the right way to use jquery with angular is putting it in a directive. The directives act as "targets" for your jquery code instead of having to use jquery selectors
[02:54:55] *** mguillech has quit IRC
[02:55:03] *** johnkevinmbasco has joined #angularjs
[02:55:11] *** trend has quit IRC
[02:55:40] <wafflej0ck> lebster: personally I prefer the first
[02:55:56] <wafflej0ck> lebster: sometimes I want to have a call to init for some data on the object before I even return it
[02:55:59] <an_gu> ok
[02:56:08] <wafflej0ck> lebster: not sure what is more common though really
[02:56:17] *** seriema has quit IRC
[02:56:21] *** violinappren has joined #angularjs
[02:56:29] <an_gu> but surely jquery and angular can work side by side?
[02:56:38] <an_gu> I have my angular area
[02:56:41] <an_gu> then i have my jquery area
[02:56:45] *** hmsimha has quit IRC
[02:56:53] <an_gu> it's only in this one position that I want to call angular from jquery
[02:56:53] *** PointBlank has quit IRC
[02:57:02] <an_gu> is there a better way of doing it? directives seem like overkill
[02:57:03] <wafflej0ck> an_gu: it's nto gonna work out that way
[02:57:07] <jaawerth> it's not impossible, but it's an anti-pattern. Angular is an entire framework for your app, jquery is a toolkit full of utility functions
[02:57:28] <an_gu> okay. for example, i have this: $('#play').hide();
[02:57:37] <lebster> wafflej0ck: oh so like instead do this.sideBar = ''. and then in an init function set it to true?
[02:57:37] <jaawerth> as such, putting your jquery in the proper Angular context is really the right way to go. Otherwise your app risks turning into spaghetti
[02:57:38] *** kevinxu has joined #angularjs
[02:57:39] <an_gu> should i do that in angular instead?
[02:57:42] <wafflej0ck> an_gu: you setup a boolean then use ng-hide
[02:57:52] *** tkimmel has joined #angularjs
[02:58:02] *** kevinxu is now known as Guest37704
[02:58:06] <an_gu> ok, and then attach the angular equivalent to a click event?
[02:58:12] *** ProLoser has quit IRC
[02:58:13] <jaawerth> ng-click
[02:58:14] *** Guest37704 has quit IRC
[02:58:18] <wafflej0ck> yuppers
[02:58:53] *** qdk has quit IRC
[02:58:55] *** NanoArro1 has quit IRC
[02:59:03] <an_gu> okay, i'll need to refactor my app a bit then
[02:59:12] <an_gu> i didn't realise you shouldn't use jquery and angular side by side
[02:59:41] <an_gu> is there anything I can do as a temporary work around? it'll take some time to refactor, so until then i'd just like to get it working
[02:59:50] <Logicgate> an_gu, you can.
[02:59:53] *** scythe__ has quit IRC
[02:59:59] <wafflej0ck> lebster: yeah would be something like viewData.getData(); before the return in your first example assuming getData() does some asynch request and is defined in the object above
[03:00:00] <jaawerth> one of the reasons google created Angular was to stop apps turning into jquery spaghetti
[03:00:14] <jaawerth> so you put your jquery in its proper angular context (directives) and you're in good shape
[03:00:31] <Logicgate> there's too much JQ Spaghetti out there.
[03:00:31] <wafflej0ck> an_gu: yeah you can convert something piecewise but you don't want to keep the jQuery and angular modifying the same DOM
[03:00:48] *** jareddlc has joined #angularjs
[03:00:52] <jaawerth> yeah, you'll get all sorts of race conditions going on
[03:00:53] <an_gu> at the moment I just have a lot of click events that i need to refresh data with
[03:00:59] *** moritzschaefer has joined #angularjs
[03:01:06] <an_gu> so I just want to be able to call my angular function from within those jquery click events
[03:01:17] *** moritzs has joined #angularjs
[03:01:25] *** baweaver has quit IRC
[03:01:45] *** annlewis has quit IRC
[03:01:56] <lebster> wafflej0ck: oh, an init for ViewData itself, not an init for the mainService
[03:02:07] <wafflej0ck> lebster: yeah
[03:02:15] <lebster> makes sense
[03:02:31] *** lthomas has joined #angularjs
[03:02:31] *** tkimmel has quit IRC
[03:02:59] *** akrikos has quit IRC
[03:03:31] <lebster> thanks for you help man, finally starting to understand all this lol
[03:03:49] *** doginal has quit IRC
[03:03:54] *** nesquerra has joined #angularjs
[03:04:10] <wafflej0ck> lebster: np, glad to help
[03:04:31] *** pikapp has quit IRC
[03:04:44] <wafflej0ck> lebster: always good to be "interviewed" on these things to confirm my own understanding too
[03:04:54] <jaawerth> wafflej0ck: what are you working on these days?
[03:05:34] <wafflej0ck> jaawerth: nothing really in particular, at the moment just been playing around with making some layout directives and some stuff for debugging
[03:06:06] *** nairys has quit IRC
[03:06:52] *** jordandotdev has joined #angularjs
[03:06:53] *** shampine has quit IRC
[03:07:00] *** emmesswhy has joined #angularjs
[03:07:22] *** cacts|wtf has quit IRC
[03:07:36] <jaawerth> for.. angular?
[03:07:39]
<wafflej0ck> jaawerth: also this is the layout thing I've been messing around with for a few days http://shusain.github.io/itHolyGrail/dist/ mostly just working on various CSS manipulation stuff to make it work
[03:07:43] <wafflej0ck> jaawerth: yeah
[03:07:50] <jaawerth> chrome extension?
[03:07:55] <wafflej0ck> jaawerth: just want something I pass a model to and then I can change the properties easily
[03:08:07] <wafflej0ck> want it to be something I can use programatically or in the HTML easily
[03:08:11] <wafflej0ck> like growl sort of
[03:08:17] <jaawerth> hahaha small world, I've been working on a very similar layout thing
[03:08:22] <wafflej0ck> I got a basic functioning version
[03:08:27] *** dimetron has quit IRC
[03:08:27] *** ProLoser has joined #angularjs
[03:08:33] <jaawerth> but that also does resizing
[03:08:59] <wafflej0ck> yeah I have no resize handles but changing the model updates everything live without a problem
[03:09:12] <wafflej0ck> just need to come up with stuff to handle the mouse events
[03:10:07] <jaawerth> neat
[03:10:52] <jaawerth> what are you using for the layout CSS?
[03:10:57] <jaawerth> flexbox? some grid thing?
[03:11:08] *** pikapp has joined #angularjs
[03:11:08] *** tfennelly has joined #angularjs
[03:11:20] <jaawerth> pure js?
[03:11:30] <wafflej0ck> jaawerth: I'm doing all the calc in the JS... it has the disadvantage that you need to specify stuff about the layout in the JS but I can calc everything that way
[03:11:32] <wafflej0ck> so no flexbox
[03:11:45] *** subtone100 has quit IRC
[03:12:00] <jaawerth> ahh
[03:12:14] *** ricset has joined #angularjs
[03:12:15] <jaawerth> I've been playing around with the ID of using flexbox by default and falling back to JS when necessary
[03:12:21] <jaawerth> with the idea*
[03:12:38] *** Reskp has joined #angularjs
[03:12:42] <wafflej0ck> yeah no IE9 flexbox support and limited in 10 I'm pretty sure is what caniuse said
[03:12:56] *** bayousoft has joined #angularjs
[03:12:57] <jaawerth> yeah. but if it IS supported, it's going to render a lot quicker
[03:13:13] <jaawerth> so I figure it's worth the perf boost for compatible browsers to only use the JS as a polyfill
[03:13:13] *** rburns has quit IRC
[03:13:17] <wafflej0ck> are you automatically shimming it somehow?
[03:13:35] <ricset> hi all; can someone tell me if angular caches html files for views (ng-view)?
[03:13:38] <jaawerth> well, you're a lot further than I am in pulling it all together. my stuff is still largely code fragments
[03:13:40] <JonathanNeal> yay polyfills
[03:13:43] *** rburns has joined #angularjs
[03:13:54] *** Trow has quit IRC
[03:14:17] *** ajk27 has quit IRC
[03:14:25] *** Reskp_ has joined #angularjs
[03:14:55] *** Linell has joined #angularjs
[03:15:09] <jaawerth> but basically on bootstrap my directives start out with blank functions and only execute layout controls if it detects flexbox support
[03:15:18] <jaawerth> (in which case it'll also remove the flex classes)
[03:15:22] *** Aliks has quit IRC
[03:15:39] *** tfennelly has quit IRC
[03:15:56] *** corehook has joined #angularjs
[03:16:03] <jaawerth> the reason for the latter is that I know a lot of browsers have weird or old API support for flexbox
[03:16:22] *** whunt has quit IRC
[03:16:40] *** edzez has quit IRC
[03:16:53] *** motionman has quit IRC
[03:16:55] *** emmesswhy has quit IRC
[03:17:05] *** NoNMaDDeN has joined #angularjs
[03:17:13] *** Reskp has quit IRC
[03:17:15] <jaawerth> I still don't know the CSS well enough to make flex behave predictably in every situation though
[03:17:32] *** Linell has quit IRC
[03:17:33] <jaawerth> (without JS to back it up)
[03:17:37] *** RobinBAwesome has quit IRC
[03:17:37] *** tfennelly has joined #angularjs
[03:18:22] *** btc_panhandler has quit IRC
[03:18:41] *** Reskp_ has quit IRC
[03:18:43] *** krawek has quit IRC
[03:19:10] <wafflej0ck> jaawerth: yeah same problem really I ought to get to know flexbox itself better would be good to see if it can just be shimmed how you're saying but actually provide the same support with JS fallback
[03:19:24] *** nesquerra has quit IRC
[03:20:29] <wafflej0ck> jaawerth: but for now doing a little more styling stuff for the debugger part, know of any "window" directives that are any good so I can pop this thing up in a draggable window
[03:21:11] <jaawerth> like modules? I do not
[03:21:16] *** subtone100 has joined #angularjs
[03:21:23] *** nesquerra has joined #angularjs
[03:22:05] <jaawerth> I am still slow to use 3rd party modules for things, I'm trying to be more open-minded about it
[03:22:22] <wafflej0ck> yeah ngDialog is pretty nice but not draggable I don't think
[03:22:37] <jaawerth> couldn't you just use, like, angular-dragdrop on it?
[03:22:41] *** fotoflo has quit IRC
[03:22:41] <wafflej0ck> trying to keep the 3rd party stuff to a minimum on this but thinking a draggable window may be a pain
[03:23:37] *** conan_the_destro has quit IRC
[03:23:44] *** darrin has joined #angularjs
[03:23:56] <wafflej0ck> yeah need something like a mix of those two
[03:24:02] <jaawerth> I do like angular-dragdrop, the code is pretty minimal and easy to extend
[03:24:16] *** angelazou has joined #angularjs
[03:24:22] *** dejanr has quit IRC
[03:24:50] <jaawerth> though I DON'T like that it relies on jquery-ui
[03:24:52] <jaawerth> bleh
[03:25:21] <dsdeiz> anyone used gulp-browserify? i'm trying to get it to include the js file generated by gulp-ng-constant
[03:25:55] *** brettfrable has joined #angularjs
[03:26:14] <ricset> hi all; can someone tell me if angular caches html files for views (ng-view)?
[03:26:45] <jaawerth> ricset: yeah, in $templateCache
[03:26:48] *** mogaj has joined #angularjs
[03:26:51] *** ajk27 has joined #angularjs
[03:26:56] <jaawerth> unless you tell ngRoute not to
[03:27:10] *** cornerma1 has joined #angularjs
[03:28:29] *** merobertsjr has joined #angularjs
[03:28:35] *** caitp has quit IRC
[03:28:45] *** jonathanpglick has quit IRC
[03:29:19] *** motionman has joined #angularjs
[03:29:45] *** codeman has joined #angularjs
[03:30:04] *** Linell has joined #angularjs
[03:30:11] <Fifty5Plus> wafflej0ck: you have email ... hi all
[03:30:14] <wafflej0ck> jaawerth: actually one of the directive guide examples has how to do drag and drop without jQuery
[03:30:16] *** MistahKurtz has quit IRC
[03:30:17] *** subtone100 has quit IRC
[03:30:23] *** Linell has left #angularjs
[03:30:24] *** faddah has quit IRC
[03:30:25] *** cornerman has quit IRC
[03:30:26] *** cornerma1 is now known as cornerman
[03:31:28] *** cbennett has joined #angularjs
[03:31:34] <jaawerth> wafflej0ck: yeah I've done it before. I honestly never really understood why there were so many longer techniques than theh simple x + dx method, I just figured it was a matter of optimization
[03:31:46] <abailarri> Hello. have a question. I have a template with one div class. I want to hide() this class with jquery on load page, but because there is not in yhe dom jquery not work with it. What can I do?
[03:32:13] <mmealling> I have a silly, silly client.
[03:32:16] <jaawerth> wafflej0ck: never really looked into it though. it's not something I've really had to do a ton of most of the time, cool as it is
[03:32:23] <wafflej0ck> jaawerth: yeah that's all the solution is provided in the guide simple x+dx y+dy good enough just need to do it on a modal
[03:32:34] <jaawerth> yeah, should be easy
[03:32:38] <wafflej0ck> Fifty5Plus: cool looks pretty reasonable
[03:33:13] *** ProLoser has quit IRC
[03:33:17] *** defaultdict has quit IRC
[03:33:43] *** grantfunke_ has joined #angularjs
[03:33:50] <jaawerth> abailarri: why with jquery? this is #angularjs :-P
[03:33:50] *** Shrooms has joined #angularjs
[03:33:51] <mmealling> for reasons I can't change we have an angular web app sitting at /app.html and a mobile version sitting at /mobile/app.html. They sent an email with deep links to /app.html#route/something and now they want all of those to automatically get redirected to /mobile/app.html#route/something if the browser is a mobile user agent.
[03:34:30] <abailarri> jaawerth, because I started to implement angular on my app now
[03:34:31] <mmealling> I'm using ui.router which has onEnter callbacks. If I put something in onEnter does it have access to $location and can it use that to trigger a redirect?
[03:34:38] *** mackieconnell has quit IRC
[03:34:40] <abailarri> first was made with jquery
[03:34:54] <mmealling> or should I just bite the bullet and put that mobile test into every controller?
[03:35:09]
<jaydubya> kinda going crazy here ... I created a custom directive that changes the passed in value on click. If the original value is 0 or 2, it works great by changing the value to 1. However, if the initial value is 1, the increment is ignored. http://plnkr.co/edit/Fhur5JXidZeaXtGnH5EJ?p=preview
[03:35:10] <Fifty5Plus> wafflej0ck: tried to keep all key names the same so that you could perhaps easier use the same functions for side panels as well as verticalness
[03:35:12] *** violinappren has quit IRC
[03:35:26] *** kirfu has joined #angularjs
[03:35:29] <jaawerth> abailarri: with angular you can just use ng-show or ng-hide.
[03:35:50] <abailarri> jaawerth, now i'm reading :)
[03:35:57] *** cbennett has quit IRC
[03:36:37] <Fifty5Plus> wafflej0ck: "outer-space-px": *
[03:36:51] <wafflej0ck> Fifty5Plus: yeah this is actually close to what I have already working some things are a bit different but I can find a good middle-ground I think
[03:37:03] *** fotoflo has joined #angularjs
[03:37:19] <jaawerth> anyway, if you want the element to be hidden on page load it's easier to give it a class that hides it and then remove that class when you want it shown (that way it will be hidden before the JS has actually loaded). That's basically what ng-show will do
[03:37:20] *** benschaaf has quit IRC
[03:37:21] *** chrisshattuck has joined #angularjs
[03:37:52] *** benschaaf has joined #angularjs
[03:37:58] <wafflej0ck> Fifty5Plus: I already have it mapping from an object that describes the styles to the actual styles that get applied by parsing for % vs px and calculating a px value for everything I need, was just telling jaawerth I also setup a little debug utility so I could just change values in the view of the model and see the change immediately
[03:38:17] *** charuru has quit IRC
[03:38:43] *** faddah has joined #angularjs
[03:38:51] *** qdk has joined #angularjs
[03:38:52] *** ricset has quit IRC
[03:39:32] *** benschaaf has quit IRC
[03:40:09] *** joshontheweb has quit IRC
[03:40:36] *** nya has quit IRC
[03:40:41] *** mclenithan has quit IRC
[03:40:52] *** asher^ has quit IRC
[03:41:18] *** RobinBAwesome has joined #angularjs
[03:41:53] *** wallerdev has quit IRC
[03:42:00] <wafflej0ck> Fifty5Plus: think the array of padding is the only wrench but everything else should be pretty seamless to integrate
[03:42:01] *** moritzschaefer has quit IRC
[03:42:11] *** darrin has quit IRC
[03:42:27] *** moritzs has quit IRC
[03:42:55] *** MrBaboon has joined #angularjs
[03:43:39] <wafflej0ck> might just need to do the padding separately, that'd make it simpler, like padding-right: padding-left: with an optional padding: that gets applied before the padding-left or right etc.
[03:43:43] <Fifty5Plus> wafflej0ck: pay attention to "show": everywhere - which is an overkill, so what do you suggest
[03:44:14] *** MrBaboon has quit IRC
[03:44:31] *** DrMabuse has joined #angularjs
[03:44:33] <wafflej0ck> yeah right now can only show/hide east west and head or foot
[03:44:34] <Fifty5Plus> wafflej0ck: is css standard to start at top as in ... top, right, bottom, left ? .... i think it is
[03:44:51] *** MrBaboon has joined #angularjs
[03:45:11] *** corehook has quit IRC
[03:45:11] <jaydubya> Fifty5Plus: Easy to remember is TROUBLE -- Top Right Bottom Left
[03:45:33] <deweydb> hey guys, is there some way i can force a browser to download a pdf from javascript?
[03:45:35] *** jonr22 has quit IRC
[03:45:35] <wafflej0ck> yeah I just mean in terms of parsing the info in that object
[03:45:45] <wafflej0ck> right now my function doesn't have anything to deal with arrays
[03:45:50] <Fifty5Plus> wafflej0ck: ok ... let me tweak the shows, to see how to set
[03:45:52] <wafflej0ck> could add it I suppose
[03:46:10] <deweydb> What i'm doing: on user click, take dom markup, serialize, generate pdf, get pdf from pdf generating server. and then window.open(url)
[03:46:18] <deweydb> but right now this gives them a popup blocked error
[03:46:50] *** subtone100 has joined #angularjs
[03:48:03] <Fifty5Plus> wafflej0ck: show on west, east and head, foot is the only thing that makes sense ... why would you knockout the body into a single one but then keep head and foot busted into columns ? ... what do you think?
[03:48:05] *** RedOrangeZ has quit IRC
[03:48:25] <wafflej0ck> Fifty5Plus: yeah there's no way to know how to flood the parts correctly if you knock out just one piece
[03:49:22] *** DrMabuse has quit IRC
[03:49:55] *** BillCriswell has quit IRC
[03:50:12] <abailarri> jaawerth, for example I have this line in one js: var imagePos = $('.section-menu').offset().top; Then, if the dom is not loaded (because is a angular template) how can I select elements?
[03:50:13] <wafflej0ck> Fifty5Plus: have cleaned up a lot of the code locally though and not committed/pushed yet... working on this debug thing now in here and gonna piece things apart a bit more really so this CSS handling stuff isn't directly integrated with the layout component (just depend on it from the layout component instead)
[03:50:16] <Fifty5Plus> i already saw it from pm link .
[03:50:24] <wafflej0ck> Fifty5Plus: ah k
[03:50:27] <Fifty5Plus> FLEX ... EAT YOUR HEART OUT :))))))))))))
[03:50:29] *** BillCriswell has joined #angularjs
[03:51:02] *** Owner__ has joined #angularjs
[03:51:12] *** caitp has joined #angularjs
[03:51:16] *** pikapp has quit IRC
[03:51:25] *** Owner__ is now known as Guest86288
[03:51:32] *** kuadrosx has quit IRC
[03:52:03] *** seriema has joined #angularjs
[03:52:16] *** kirfu has quit IRC
[03:52:17] *** kuadrosx_ has joined #angularjs
[03:52:54] <wafflej0ck> Fifty5Plus: heh yeah was just talking with jaawerth about this and he's working on a shim for flexbox as well
[03:53:30] <Fifty5Plus> shim?
[03:53:49] *** corehook has joined #angularjs
[03:53:54] <Fifty5Plus> I meant Adobe Flex, eat your heart out :)
[03:53:57] <wafflej0ck> polyfill whatever, just checking for support and using JS fallback if there's no flexbox built in support
[03:53:59] *** codeman has quit IRC
[03:54:25] <wafflej0ck> Fifty5Plus: ah yeah I wish, really I do want to adapt this into some more Adobe/Apache Flex like components
[03:54:29] *** woebtz has quit IRC
[03:54:34] *** m3_del has joined #angularjs
[03:54:50] <wafflej0ck> in terms of the layout wrappers
[03:54:51] *** RobinBAwesome has quit IRC
[03:55:16] <Fifty5Plus> wafflej0ck: this will take 80% of all we do .. the other 20% mind as well do by hand :)
[03:55:31] <wafflej0ck> yeah but I want an HBox :) haha
[03:55:34] *** trend has joined #angularjs
[03:55:37] *** busticated has quit IRC
[03:56:24] <wafflej0ck> to be fair scrolling in Flex was a bit of a nightmare with the flexible layouts
[03:56:32] *** seriema has quit IRC
[03:56:53] <Fifty5Plus> wafflej0ck: so we can ignoere "show": on west/main/east-body parts
[03:57:30] <wafflej0ck> Fifty5Plus: right as is I just had those outside the main config object but no big deal to bring them into the same object and less parts to setup in the view then
[03:57:34] <Fifty5Plus> wafflej0ck: because if *-co is show: true then *-body is minimum one gets
[03:58:01] <Fifty5Plus> wafflej0ck: because if *-col is show: true then *-body is minimum one gets
[03:58:30] <an_gu> Hi
[03:58:33] <an_gu> Another question
[03:58:42] <an_gu> I've noticed, the moment I load my page I can see all the placeholders
[03:58:48] <an_gu> like {{ name }} and so on
[03:58:53] *** mot0rola has quit IRC
[03:58:56] <an_gu> only for a split second though
[03:59:06] <wafflej0ck> an_gu: see ng-cloak
[03:59:09] <an_gu> how can I stop that from happening?
[03:59:42] *** jonr22 has joined #angularjs
[04:00:19] <beckyconning_> does anyone know if there any code style conventions for splitting a html tag onto multiple lines? they can get quite long with angular directives. maybe thats me making a mistake though?
[04:00:21] <jaawerth> abailarri: with angular. you target target your DOM modification using directives rather than selectors
[04:00:44] <abailarri> jaawerth, then I need to create a directive
[04:00:45] <wafflej0ck> beckyconning_: got an example?
[04:00:55] <Fifty5Plus> wafflej0ck: for testing, each of the three columns needs a toggle head and toggle foot
[04:01:06] *** trend has quit IRC
[04:01:13] <abailarri> but if I want .remove() one directive, where I need to place the code?
[04:01:14] <jaawerth> yeah. you wrap dom modification code (including jquery) in a directive
[04:01:34] <abailarri> ok I undestans jaawerth
[04:01:48] <Fifty5Plus> wafflej0ck: for testing, each of the three bodies needs a toggle head and toggle foot
[04:01:50] *** nya has joined #angularjs
[04:02:47] <abailarri> thanks
[04:03:22] *** an_gu has quit IRC
[04:03:32] *** adpirz has joined #angularjs
[04:03:39] <wafflej0ck> abailarri: yeah usually good to google first to see if there is a directive to solve the problem, there are lots of things you can do with the built in directives
[04:03:56] <abailarri> thanks wafflej0ck
[04:04:09] <jaawerth> yeah, that's true
[04:04:14] <abailarri> thanks!
[04:04:17] <jaawerth> there are a lot of built-in ones that make writing your own unnecessary
[04:04:27] <jaawerth> (in a lot of cases, though not all)
[04:04:45] <beckyconning_> wafflej0ck: <pr-password requested-char-indicies="passwordRequestedCharIndicies" value="passwordChars" id="protected-action-pr-password"></pr-password>
[04:05:11] <wafflej0ck> beckyconning_: something like that I typically just split it based on attributes and tab align them together
[04:05:19] *** abailarri has quit IRC
[04:05:24] <wafflej0ck> beckyconning_: makes it pretty easy to read
[04:05:26] <beckyconning_> wafflej0ck: example?
[04:05:48] <Fifty5Plus> jaawerth: what i am really hoping to find is something that is a good overhead because i kind of get what directives do and how to construct modules but at the same time i have no clue as to how everything is playing together, other than it just seems to ;)
[04:06:07] *** nya has quit IRC
[04:06:16] *** carlosmantilla has joined #angularjs
[04:06:47] *** nya has joined #angularjs
[04:06:53] *** TheAceOfHearts has quit IRC
[04:07:01] <jaawerth> Fifty5Plus: it doesn't cover all the intricacies, but that sitepoint link is pretty good for that
[04:07:10] *** Milkweed has quit IRC
[04:07:11] *** patrickarlt has joined #angularjs
[04:07:32] <beckyconning_> wafflej0ck: cool! looks like my kind of thing but i'm not sure if the client will like it lol! i will see how it goes in code review though. thanks!
[04:07:58] *** adpirz has quit IRC
[04:08:00] <Fifty5Plus> jaawerth: excellent thanks, i will go read it so i can follow what wafflej0ck is doing
[04:08:03] <jaawerth> Fifty5Plus: and part 2 really delves into the more advanced stuff like the different isolate scopes, transclusion, etc in a fairly digestible way
[04:08:35] <jaawerth> some of it just comes down to experimenting until you get a feel for it all though
[04:08:44] <wafflej0ck> beckyconning_: yup
[04:08:54] *** jonr22 has quit IRC
[04:10:41] *** merobertsjr has quit IRC
[04:11:02] *** carlosmantilla has quit IRC
[04:11:44] *** phuh has joined #angularjs
[04:11:49] *** Surface has quit IRC
[04:12:05] *** H1FuelCell has joined #angularjs
[04:12:42] *** annlewis has joined #angularjs
[04:13:50] *** tfennelly has quit IRC
[04:14:43] *** dejanr has joined #angularjs
[04:15:11] *** Reskp has joined #angularjs
[04:15:27] *** Josh has joined #angularjs
[04:15:50] *** Josh is now known as Guest73857
[04:17:17] *** annlewis has quit IRC
[04:18:07] *** samuel02 has joined #angularjs
[04:18:27] *** Hackwar has joined #angularjs
[04:18:35] *** themime has joined #angularjs
[04:18:57] <mmealling> if I'm in an onEnter callback in a $stateProvider.state() definition, what should I use to create a redirect from that point?
[04:19:08] *** Hackwar1 has quit IRC
[04:19:15] <mmealling> and its a redirect to another entire path, not a state transition.
[04:19:23] *** TyrfingMjolnir has quit IRC
[04:19:42] *** tripu has quit IRC
[04:19:46] <jaawerth> if it's a path and not a state, then usually you'd just use $location.path()
[04:20:05] <mmealling> is $location available inside onEnter? Can't see a way to inject it.
[04:20:27] <jaawerth> wait, what onEnter do you mean? Like the native browser one?
[04:20:31] *** shampine has joined #angularjs
[04:20:31] *** Reskp has quit IRC
[04:20:40] <jaawerth> you'd inject it in the parent of wherever you're declaring the onEnter
[04:20:44] <jaawerth> you'll get it as a closure
[04:21:14] <mmealling> no... in UI Router's state manager.
[04:21:14] *** dc_ has quit IRC
[04:21:34] *** benschaaf has joined #angularjs
[04:21:39] *** ^Denis has joined #angularjs
[04:22:05] *** angelazou has left #angularjs
[04:22:24] *** gnrlbzik has quit IRC
[04:22:25] *** subtone100 has quit IRC
[04:22:47] *** samuel02 has quit IRC
[04:22:48] <jaawerth> mmealling: oh, then you just inject it using array syntax
[04:22:55] *** benschaaf has quit IRC
[04:23:10] <jaawerth> onEnter: ['$location', function($location) { stuff }]
[04:23:16] *** Aerospark has quit IRC
[04:23:17]
<jaydubya> here's a custom directive that changes the passed in value on click. If the original value is 0 or 2, it works great by changing the value to 1. However, if the initial value is 1, the increment is ignored. http://plnkr.co/edit/Fhur5JXidZeaXtGnH5EJ?p=preview
[04:23:46] <jaawerth> or you can do it more explicitly by declaring your onEnter callback as function myOnEnter($location), and then doing myOnEnter.$inject = [$location]
[04:23:49] <mmealling> i.e. $stateProvider.state('foo, { url: '/foo', controller: 'fooController', onEnter: function() { if (isMobile) { $location.path('/mobile/app.html#foo'); } });
[04:24:02] *** whitebook has joined #angularjs
[04:24:26] *** josh-k has joined #angularjs
[04:25:01] <jaawerth> mmealling: see above ;-)
[04:25:04] *** Guest24183 has joined #angularjs
[04:25:05] *** gnrlbzik has joined #angularjs
[04:25:58] <mmealling> giving that a try... thanks!
[04:27:44] *** gnrlbzik_ has joined #angularjs
[04:27:46] *** gnrlbzik has quit IRC
[04:28:28] *** dhcar is now known as dhcar_AFK
[04:28:59] *** josh-k has quit IRC
[04:29:34] *** zivester has quit IRC
[04:29:54] *** gnrlbzik has joined #angularjs
[04:30:14] *** gnrlbzik_ has quit IRC
[04:30:17] *** derickf has joined #angularjs
[04:30:27] *** kuadrosx_ has quit IRC
[04:30:54] *** wartdev has quit IRC
[04:30:54] *** zivester has joined #angularjs
[04:30:54] *** derickf has quit IRC
[04:31:17] *** GreenJello has quit IRC
[04:31:21] *** subtone100 has joined #angularjs
[04:31:36] <jaawerth> wafflej0ck: Adobe Air has discontinued Linux support :(
[04:31:43] <jaawerth> you can still get it to work for now, but grrr
[04:31:56] *** chrisshattuck has quit IRC
[04:32:04] <wafflej0ck> jaawerth: yeah haven't used any Air stuff for a while, but lame
[04:32:21] *** tripu has joined #angularjs
[04:32:27] <jaawerth> haha yeah, I just found out because I picked up Balsamiq to do some wireframes
[04:32:33] *** fotoflo has quit IRC
[04:32:37] <jaawerth> it uses Air
[04:32:41] *** pikapp has joined #angularjs
[04:32:59] *** Aerospark has joined #angularjs
[04:33:08] <jaawerth> BUT luckily, I also just picked up Crossover on the company dime, which supports air, so if and when the tricks to get it working natively fail, I'll have that to fall back on
[04:33:40] <jaydubya> if a $scope variable with a value of 1 seen by default as a boolean? If so, wouldn't parseInt() cast it? I can't see anything else that could explain why my directive doesn't work for 1.
[04:34:10] <Guest73857> Hey guys
[04:34:18] <Guest73857> Was hoping someone could help me with a performance issue
[04:34:37] <jaawerth> jaydubya: where are you setting it?
[04:34:49] *** gnrlbzik has quit IRC
[04:34:53] <jaydubya> jaawerth: MainController
[04:35:03] <jaawerth> jaydubya: in a controller or on your template? It shouldn't automatically cast as boolean either way - it'd be a string from a template though
[04:35:08] *** lthomas has quit IRC
[04:35:09] <jaawerth> though 1 is of course a truthy value
[04:35:11] *** crakrjak has joined #angularjs
[04:35:18] *** mmealling has quit IRC
[04:35:41] <Guest73857> Anyone have any performance tips for doing a table with 3 nested ng-repeats lol
[04:35:51] *** mmealling has joined #angularjs
[04:36:00] <Guest73857> it chugs when it needs to add columns
[04:36:00] <jaydubya> jaawerth: line 108 - 113 in app.js sets all of them the same
[04:36:02] <Guest73857> or remove them
[04:36:03] *** bbankes has joined #angularjs
[04:36:11] <Guest73857> or when a different view is chosen (which switches out the data)
[04:36:28] <jaawerth> use "track by" in your ng-repeats, minimize DOM listeners where possible, if using 1.3.x use "bind once" where possible
[04:37:02] <jaawerth> "track by" in particular should help with problems that involve changes to your ng-repeat array and initial load stuff
[04:37:35] *** bengillies has joined #angularjs
[04:37:47] *** Guest24183 has quit IRC
[04:37:55] *** jareddlc has quit IRC
[04:38:18] <mmealling> hmm... $location.path changes state (i.e. changes the path to the right of the #)
[04:38:27] <mmealling> I need to change the left hand side.
[04:38:36] <jaawerth> use an absolute URL
[04:38:46] *** Hackwar1 has joined #angularjs
[04:38:54] *** Hackwar has quit IRC
[04:39:26] <Guest73857> jaawerth: I'm using track by on all my ng-repeats already :( I also have :: for bind once on some of them...Is there anything else I can do or is angular just not up to such a task?
[04:39:39] <jaawerth> mmealling: you may also need to use $location.url
[04:39:55] *** OttlikG has joined #angularjs
[04:40:08] *** m3_del has quit IRC
[04:40:24] <jaawerth> Guest52874: well, nested ng-repeats are gonna be expensive particularly if they're.. significant DOM elements
[04:40:43] *** m3_del has joined #angularjs
[04:41:01] *** davesidious_ has joined #angularjs
[04:41:23] *** gunn has quit IRC
[04:41:32] *** m3_del has quit IRC
[04:41:53] <wafflej0ck> Guest73857: good to use the profiler in chrome to see what its doing along with the timeline and other views
[04:42:03] *** JosephBergevin has joined #angularjs
[04:42:16] <Guest73857> wafflej0ck: I checked the profiler, should I make a screen shot of it and link that?
[04:42:17] <wafflej0ck> Guest73857: determine if it's spending it's time rendering or in scripts and if in scripts see what functions take a significant amount of time
[04:42:30] *** bengillies has quit IRC
[04:42:32] *** jameswor_ has joined #angularjs
[04:42:42] <wafflej0ck> Guest73857: you can save the profiled data and post it somewhere, make sure you use unminified source though or it's pretty meaningless
[04:43:00] <wafflej0ck> Guest73857: dropbox or something should work
[04:43:03] <jaawerth> mmealling: oh, uh, you mean need to use $window.location instead actually. It's been a while since I've needed to do this
[04:43:13] <jaawerth> if it's entirely outside of your single page app
[04:43:16] <mmealling> that's what I was fearing/thinking....
[04:43:22] <mmealling> yea, entirely outside....
[04:43:22] *** kirfu|work has quit IRC
[04:43:34] *** kirfu|work has joined #angularjs
[04:43:38] *** mven_ has joined #angularjs
[04:43:44] *** whiteboo_ has joined #angularjs
[04:43:46] *** sptq has quit IRC
[04:43:53] <jaawerth> mmealling: $window.location.href that is
[04:43:56] <wafflej0ck> yeah
[04:44:14] *** gunn has joined #angularjs
[04:44:27] *** ericduran has quit IRC
[04:44:30] *** davesidious has quit IRC
[04:44:45] *** jameswork has quit IRC
[04:44:45] *** rhodesjason has quit IRC
[04:44:46] *** benjick has quit IRC
[04:44:46] *** Bennit has quit IRC
[04:44:47] <Guest73857> wafflej0ck: it looks like almost all the time is spent in jquery doing something, but i can't tell what
[04:44:48] *** simiographics_ has quit IRC
[04:45:00] <wafflej0ck> Guest73857: take out jQuery ;D
[04:45:00] *** rburns has quit IRC
[04:45:03] <Guest73857> wafflej0ck: im guessing building/removing elements
[04:45:05] <wafflej0ck> I kid I kid
[04:45:13] *** spion has quit IRC
[04:45:15] <Guest73857> since i'm not using the jquery at all there
[04:45:22] *** braidn has quit IRC
[04:45:23] *** rburns has joined #angularjs
[04:45:23] <jaawerth> yeah too many event listeners in a repeater will kill you
[04:45:39] *** willeponken has quit IRC
[04:45:39] *** jwanglof has quit IRC
[04:45:40] *** diegoviola has joined #angularjs
[04:45:40] <wafflej0ck> Guest73857: are you actually using jQuery youself or you mean it's in the jQLite functions?
[04:45:41] *** whitebook has quit IRC
[04:45:41] *** derrzzaa has quit IRC
[04:45:44] *** rashidkpc has quit IRC
[04:45:48] *** diegoviola has left #angularjs
[04:45:59] <Guest73857> We have jquery 1.10.2
[04:46:01] *** Inge- has quit IRC
[04:46:09] <Guest73857> which is where the calls seem to be from
[04:46:10] *** mven has quit IRC
[04:46:13] *** gcann has quit IRC
[04:46:15] <jaawerth> in a directive I hope?
[04:46:16] *** Fuzzy has joined #angularjs
[04:46:22] *** Fuzzy is now known as Pirateking
[04:46:29] *** Bennit has joined #angularjs
[04:46:30] *** benjick has joined #angularjs
[04:46:35] <Guest73857> on this page it isnt anywhere
[04:46:40] *** Pirateking is now known as Fuzzier
[04:46:44] <Fuzzier> hey guys
[04:46:44] *** angularjs1 has joined #angularjs
[04:46:51] <jaawerth> what we mean is: what's setting up all your listeners in the repeat?
[04:46:56] *** bbankes has quit IRC
[04:47:04] <jaawerth> or uh
[04:47:06] <Fuzzier> Any good examples on github using ui-bootstrap?
[04:47:12] *** rashidkpc has joined #angularjs
[04:47:14] *** ericduran has joined #angularjs
[04:47:14] *** Inge- has joined #angularjs
[04:47:15] <angularjs1> hi
[04:47:19] *** bbankes has joined #angularjs
[04:47:23] <jaawerth> wait, nevermind... you said building/removing elements. what jquery is building/removing elements then?
[04:47:30] *** rhodesjason has joined #angularjs
[04:47:34] <jaawerth> do you have any ng-ifs in your repeater? those can hurt
[04:47:34] *** gcann has joined #angularjs
[04:47:35] <angularjs1> The moment I load my angularjs page, I see all the placeholders like {{ name }} etc very briefly - like half a second
[04:47:37] <Guest73857> jaawerth I'm just guessing that's what its doing...
[04:47:40] *** Surface has joined #angularjs
[04:47:40] *** skakri has joined #angularjs
[04:47:40] <angularjs1> how do I stop that from happening?
[04:47:42] *** willeponken has joined #angularjs
[04:47:48] <wafflej0ck> Guest73857: it should be pretty clear from the profiler data
[04:47:58] <angularjs1> I asked this about an hour ago but my internet connection went, so if it was answered earlier I apologise
[04:48:08] <wafflej0ck> Guest73857: if you zoom and and mouse over a function in the flame chart view then it'll show the CPU time spent in the function
[04:48:13] <jaawerth> angularjs1: try ng-cloak
[04:48:13] *** spion has joined #angularjs
[04:48:19] *** derrzzaa has joined #angularjs
[04:48:21] *** OttlikG has quit IRC
[04:48:23] <angularjs1> jaawerth in what context?
[04:48:34] *** Grokling has quit IRC
[04:48:42] *** sptq has joined #angularjs
[04:48:42] <beckyconning_> if i have a `ng-disabled` directive whose state i want to be based on a bunch of values is is doing something like `ng-disabled="validDetails()"` a reasonable approach?
[04:48:55] <Guest73857> wafflej0ck: about 75% of the time is in scripting
[04:49:00] <wafflej0ck> beckyconning_: yup
[04:49:02] *** Grokling has joined #angularjs
[04:49:13] *** jwanglof has joined #angularjs
[04:49:14] <beckyconning_> ty!
[04:49:25] *** prbc has quit IRC
[04:49:34] <wafflej0ck> Guest73857: yeah but in the CPU profile section when you record/collect data then stop there should be a little drop down arrow around the top left of that panel where it has a chart view that shows over time CPU usage
[04:49:35] *** gnrlbzik has joined #angularjs
[04:49:49] <wafflej0ck> Guest73857: it shows stacks that show all the function calls and how long they took to process
[04:50:02] *** g3funk has joined #angularjs
[04:50:06] <angularjs1> so I literally just put "ng-cloak" in <body....> ?
[04:50:09] *** Fuzzier has quit IRC
[04:50:10] <jaawerth> angularjs1: as shown in the docs, it'll hide all of your stuff until angular bootstraps and the code is ready to render your directives
[04:50:11] <angularjs1> and that will fix it?
[04:50:17] <jaawerth> it often will, yeah
[04:50:23] <jaawerth> sometimes you need to add the CSS it shows
[04:50:27] *** Fuzzy has joined #angularjs
[04:50:38] <Guest73857> wafflej0ck: i see a ton of request animation frame, recalculate style, cancel animation frame, and a garbage collect
[04:50:39] <wafflej0ck> yeah best to have the CSS if you load angular in the body which you probably should
[04:51:17] <jaawerth> personally I'll tend to use ng-show or ng-class instead so I can hook in a pretty CSS animation for the loading
[04:51:18] *** ishan1604 has joined #angularjs
[04:51:20] <Guest73857> wafflej0ck: but about half of that function call thats taking so long doesnt have a spot on the timeline, so i dont know what its doing
[04:51:50] <wafflej0ck> Guest73857: if you can save that profile data and upload it to dropbox or gdrive or whatever and I can try to take a look but dunno
[04:52:52] <angularjs1> jaweerth
[04:52:54] <angularjs1> thanks
[04:52:55] <angularjs1> that fixed it
[04:52:58] <jaawerth> sure thing
[04:53:02] *** seriema has joined #angularjs
[04:53:10] <jaawerth> Guest52874: are your CSS animations acting on your repeated elements individually?
[04:54:06] *** patrickarlt has quit IRC
[04:54:09] *** Latros-OS has joined #angularjs
[04:54:10] *** Surface has quit IRC
[04:54:16] *** pikapp has quit IRC
[04:54:21] *** Limix has quit IRC
[04:54:22] <Guest73857> jaawerth: i dont actually have any animations on anything in the table
[04:54:47] <jaawerth> hm
[04:55:02] <Guest73857> would it help if i linked you the actual page?
[04:55:06] <Guest73857> you'd have to make an account though
[04:55:28] *** gunn has quit IRC
[04:56:30] <jaydubya> do === react differently on a value of 1 or a truthy values than other values? Would == make a difference?
[04:57:14] *** gunn has joined #angularjs
[04:57:22] *** OttlikG_ has quit IRC
[04:57:25] <wafflej0ck> Guest73857: looksl ike that's not the data (droids) I'm looking for
[04:57:50] *** kirfu has joined #angularjs
[04:57:59] <Guest73857> wafflej0ck: i was using the timeline
[04:58:10] <Fuzzy> === has to match exactly
[04:58:14] <Fuzzy> == is truthy
[04:58:15] <jaawerth> jaydubya: === means it has to match both value AND type, == will do casting (so "1" == 1 but that would fail with ===)
[04:58:22] *** ctanga has quit IRC
[04:58:23] *** GreenJello has joined #angularjs
[04:58:33] <wafflej0ck> Guest73857: ah okay well sicne it says it's 75% script time check out the Profiles -> CPU profile section
[04:58:41] *** seriema has quit IRC
[04:58:53] *** NormySan has joined #angularjs
[04:59:10] <jaawerth> jaydubya: if you need to quickly cast a value into its boolean equivalent, one easy trick using !!
[05:00:11] *** whunt has joined #angularjs
[05:00:36] <jaydubya> jaawerth: actually I am trying to make sure it isn't seen as a boolean, it's supposed to be integer. But if it is 0 or 2, the code works but it fails if the value is 1 so I am desperately trying to think of things that could make 1 different
[05:00:44] <wafflej0ck> Guest73857: seems to not have saved right or something got a 0 byte file there
[05:00:54] <Guest73857> weird let me look
[05:01:09] *** ctanga has joined #angularjs
[05:01:14] *** ciwolsey has quit IRC
[05:01:27] <jaawerth> jaydubya: both 2 and 1 would both cast to true
[05:01:30] <jaawerth> IF it were casting
[05:01:52] <Guest73857> wafflej0ck: weird...i cant get it to save anything :/
[05:02:04] <wafflej0ck> Guest73857: hmm bummer never seen that one
[05:02:16] <jaydubya> then WHY won't 1 work?
[05:02:27] *** richardlitt has joined #angularjs
[05:02:29] <jaawerth> post a plunk :p
[05:02:43] *** phuh has quit IRC
[05:02:50] <Guest73857> wafflej0ck: :( i just tried again and still nothing...i just record, then stop, then hit save right?
[05:02:54] *** livingstn has quit IRC
[05:03:03] <wafflej0ck> yeah think so
[05:03:09] *** phuh has joined #angularjs
[05:03:14] <richardlitt> I feel like I’m missing something: my custom filter is permanently affecting the object it is filtering, so I can’t apply it multiple times
[05:03:29] <jaawerth> jaydubya: okay, can you give me a line # for the problematic bits?
[05:03:38] <jaawerth> or a description of what I'm looking for?
[05:03:59] <jaydubya> app.js line 91-93
[05:04:02] *** BillCriswell has quit IRC
[05:04:05] <wafflej0ck> Guest73857: well isht seems to be broken here too
[05:04:23] <Guest73857> wafflej0ck: :(
[05:04:26] <wafflej0ck> Guest73857: hmm suppose you could try chromium instead or something but that sure is an annoying bug
[05:04:28] *** BillCriswell has joined #angularjs
[05:04:34] <richardlitt> I thought filters didn’t touch the model? they just worked on top of it?
[05:04:40] <jaydubya> if the icon is clicked and the passed in value is 0 or 2, the logic is followed and the value becomes 1 but if the original is 1, nothing happens
[05:05:06] *** tfennelly has joined #angularjs
[05:05:10] *** doginal has joined #angularjs
[05:05:26] <wafflej0ck> Guest73857: well either way try zooming on that view where you see humps, and hover the mouse over the parts to see how long it actually spends in various functions
[05:05:29] <Guest73857> wafflej0ck: got something using canary
[05:05:45] <wafflej0ck> Guest73857: the calls go from the top of the display to the bottom (calls making the calls below them)
[05:05:48] <jaawerth> jaydubya: quit usuing ngModel as an isolate scope thing without actually requiring the ngModel directive :p
[05:06:14] <jaawerth> jaydubya: also you're violating the dot rule
[05:06:29] *** whunt has quit IRC
[05:06:31] *** Fuzzy has quit IRC
[05:06:36] <jaawerth> jaydubya: IE that isn't going to bind in both directions
[05:06:38] <wafflej0ck> Guest73857: k data came through but I don't see any CPU load really
[05:06:43] <jaydubya> jaawerth: I think I need ngModel for the next step which is to change the color of the click icon
[05:06:47] <wafflej0ck> Guest73857: did you hit record then do the thing that makes it slow then stop
[05:06:53] <Guest73857> wafflej0ck: yeah
[05:07:09] <wafflej0ck> Guest73857: biggest function call it's showing here is 80ms
[05:07:38] <wafflej0ck> Guest73857: it's either network stuff going on or else we didn't get a good capture of the right part of the code execution
[05:07:39] <Guest73857> wafflej0ck: ill get a bigger set of data gimme a sec
[05:07:45] *** frem has quit IRC
[05:07:58] <jaawerth> jaydubya: so you should use ngModelController to get and set the values
[05:08:28] *** dsdeiz_ has joined #angularjs
[05:08:34] <jaydubya> do I write that or is it core?
[05:09:14] *** rosieres has joined #angularjs
[05:09:17] <jaawerth> jaydubya: but anyway, what behavior should happen in the app that isn't?
[05:09:22] *** hdon has joined #angularjs
[05:09:23] *** tfennelly has quit IRC
[05:09:29] *** Sontakey has quit IRC
[05:09:29] *** BillCriswell has quit IRC
[05:09:40] <jaawerth> if you're looking for something to change outside of the directive as a result of the directive changing your scope.ngModel, it's because you're violating the dot rule
[05:09:51] *** mot0rola has joined #angularjs
[05:10:33] *** dsdeiz has quit IRC
[05:10:38] <jaydubya> if you click FSA, the value for fsa_compliant changes to 1. If you click leases, the 0 changes to 1. If you click the others, the value stays 1.
[05:10:48] *** Left_Turn has quit IRC
[05:11:17] *** nesquerra has quit IRC
[05:11:33] <hdon> hi all :) i've written several applications using Sequelize, socket.io, and templating on the client-side, to do something like what angular.js does. my applications can listen for changes to a model, and receive them via socket.io, and if they want to make a change to a model, the controller resides on the server, and the server either rejects or propagates the change to anyone listening. i'm new to angular, and I want to ask.. can ang
[05:11:34] <hdon> ular.js do this?
[05:11:50] <jaydubya> my logic however is consistent for all 3 ... if X then Y
[05:12:12] <jaydubya> I don't see why a value of 1 doesn't work like the others
[05:12:56] <wafflej0ck> hdon: not sure what you're asking really sounds like what you wrote might be similar to firebase.io
[05:13:45] *** zzing has joined #angularjs
[05:13:58] *** mot0rola has quit IRC
[05:14:08] *** grantfunke_ has quit IRC
[05:14:43] *** grantfunke_ has joined #angularjs
[05:14:56] <hdon> wafflej0ck, well i've seen, so far, that angular.js can make a conventional database-driven application, and the view rendering seems to happen on the client side (hence the #hash part of the location,) but i wonder if these views can only be updated because the client asks to update them, or if the server can automatically propagate updates to clients that are interested in those updates, and then update the view dynamically (and conve
[05:14:57] <hdon> rsely: request changes to the model through a server-side controller, without pageload)
[05:15:06] * hdon googles firebase.io
[05:15:11] *** zzing has quit IRC
[05:15:12] *** kp666 has joined #angularjs
[05:15:28] *** rburns has quit IRC
[05:15:31] <wafflej0ck> hdon: yeah can do that firebase.io should answer it too :)
[05:15:46] *** rburns has joined #angularjs
[05:15:46] <wafflej0ck> Guest73857: only seeing like 2sec of data here does that seem right?
[05:15:59] <Guest73857> wafflej0ck: yeah
[05:15:59] <wafflej0ck> Guest73857: 158KB or so?
[05:16:09] *** Reskp has joined #angularjs
[05:16:10] <Guest73857> wafflej0ck: takes about 2 seconds for it to do the action
[05:16:11] <hdon> wafflej0ck, thanks :)
[05:16:27] <Guest73857> wafflej0ck: i need that under half a second, preferably less...but i have no idea how lol
[05:16:27] <wafflej0ck> Guest73857: okay other problem is it looks like this is minified source
[05:17:00] *** Siecje has quit IRC
[05:17:24] *** richardlitt has quit IRC
[05:17:27] <Guest73857> why is that a problem?
[05:17:36] *** shampine has quit IRC
[05:17:40] <jaawerth> jaydubya: it might have something to do with that $apply already in progress error you're getting
[05:17:46] <wafflej0ck> Guest73857: looks like you're going through a fair amount of $digest time but the function names end up being things like k
[05:17:53] *** doginal has quit IRC
[05:17:55] *** adamdbradley has joined #angularjs
[05:18:11] <wafflej0ck> Guest73857: easier to understand what is actually going on with nonminified code so things are named reasonably in here
[05:18:29] <hdon> wafflej0ck, this is not open source :(
[05:18:39] *** jonathanpglick has joined #angularjs
[05:18:39] <jaawerth> jaydubya: hmm nope, I fixed that and it's still happening. let's see
[05:18:52] <Guest73857> wafflej0ck: hmmm yeah it looks like a ton of it is digest time
[05:19:01] <Guest73857> wafflej0ck: like 70%
[05:19:19] *** shampine has joined #angularjs
[05:19:20] *** AngularUI has joined #angularjs
[05:19:20]
<AngularUI> [ui-router] christopherthielen pushed 5 new commits to gh-pages: http://git.io/b3KZKg
[05:19:21] <AngularUI> ui-router/gh-pages f0da8c7 christopherthielen: fix($urlMatcherFactory): fix ParamSet.$$keys...
[05:19:21] <AngularUI> ui-router/gh-pages 896c1e4 christopherthielen: prep for 0.2.12 release
[05:19:21] <AngularUI> ui-router/gh-pages 3d0b121 christopherthielen: release 0.2.12
[05:19:21] *** AngularUI has left #angularjs
[05:19:23] <Guest73857> is there anything i can do for that?
[05:19:28] <jaydubya> jaawerth: so weird because it's just a little increment
[05:19:36] *** AngularUI has joined #angularjs
[05:19:36]
<AngularUI> [ui-router] christopherthielen fast-forwarded master from a3b38eb to 3d0b121: http://git.io/o_8D3A
[05:19:36] *** AngularUI has left #angularjs
[05:20:57] *** Reskp has quit IRC
[05:21:12] <wafflej0ck> Guest73857: profile with the non minified source and I can probably tell you more
[05:21:28] *** cotko has quit IRC
[05:21:32] <jaawerth> jaydubya: where are you using that sglclick directive? I don't see it anywhere
[05:21:41] <jaawerth> oh nevermind
[05:21:43] <wafflej0ck> Guest73857: try checking out the other views in the cpu profiler aside from the chart
[05:21:48] *** cotko has joined #angularjs
[05:21:57] *** d10n-work has quit IRC
[05:22:05] *** AngularUI has joined #angularjs
[05:22:05] *** AngularUI has left #angularjs
[05:22:12] <Guest73857> wafflej0ck: i dont see any views...just a single list
[05:22:40] *** AngularUI has joined #angularjs
[05:22:40]
<AngularUI> [ng-grid] PaulL1 opened pull request #2091: Fix #2080(gridApi): change getVisibleRows to use visibleCache (master...2080_getVisibleRows) http://git.io/mGQpdQ
[05:22:40] *** AngularUI has left #angularjs
[05:22:42] <jaydubya> still to come. when you add ng-dblclick the ng-click is ignored so I have that so I can add a double-click action to bring up a modal.
[05:22:53] *** shampine has quit IRC
[05:23:07] *** doginal has joined #angularjs
[05:23:09] *** TyrfingMjolnir has joined #angularjs
[05:23:12] <jaydubya> and still have the click action changing the value
[05:23:43] <wafflej0ck> Guest73857: yeah if you go to the Heavy (bottom up) chart and sort by self time you can see how much time it spends in any given function, based on what I can see here though it's hard to really say any one thing is to blame directly
[05:24:07] <wafflej0ck> Guest73857: but you'd have to dig around more here to pin it all down
[05:25:07] *** AngularUI has joined #angularjs
[05:25:07] <AngularUI> ng-grid/master 2fab0d5 Paul Lambert: Fix #2080(gridApi): change getVisibleRows to use visibleCache
[05:25:07] <AngularUI> ng-grid/master 08cd991 Paul: Merge pull request #2091 from PaulL1/2080_getVisibleRows...
[05:25:07] *** AngularUI has left #angularjs
[05:26:00] *** brettfrable has quit IRC
[05:26:56] <jaawerth> jaydubya: it's your sgclick directive, something in there is screwing it up
[05:27:14] <jaawerth> jaydubya: just adding a click listener to your other directive and calling progClicked makes it work
[05:27:22] *** adamdbradley has quit IRC
[05:27:51] <jaydubya> jaawerth: and the icon changes color too?
[05:27:53] <jaawerth> jaydubya: one thing I noticed - you're... executing a function that you've set as an attribute? you don't need to do this. passing functions into a directive for execution on the parent scope is exactly what isolate scope's '&' option is for
[05:28:41] <jaawerth> um, the icon wasn't changing color in the first place for me
[05:28:42] *** asher^ has joined #angularjs
[05:28:55] <jaydubya> jaawerth: this is only my third custom directive ... I am still mashing up Google "recipes" to make it work.
[05:29:12] <jaydubya> no, the icon's color was my next issue to tackle
[05:30:03] *** Guest24183 has joined #angularjs
[05:32:33] *** bbankes has quit IRC
[05:33:45] *** DrMabuse has joined #angularjs
[05:34:05] *** burzum2 has joined #angularjs
[05:34:16] *** zoeycakes has joined #angularjs
[05:36:06] *** Aliks has joined #angularjs
[05:36:10] *** crakrjak has quit IRC
[05:36:25] *** burzum has quit IRC
[05:36:42] *** greg5gre_ has joined #angularjs
[05:36:45] *** eBureau has joined #angularjs
[05:38:18] *** DrMabuse has quit IRC
[05:38:20] *** mennea has joined #angularjs
[05:38:24] *** younqcass_ has quit IRC
[05:38:37] *** ^Denis has quit IRC
[05:38:53] *** H1FuelCell has joined #angularjs
[05:39:20] *** Cache_Money has joined #angularjs
[05:39:27] *** oliver___ has quit IRC
[05:40:12] *** crakrjak has joined #angularjs
[05:40:24] *** ^Denis has joined #angularjs
[05:41:05] *** H1FuelCell has quit IRC
[05:41:50] <jaawerth> jaydubya: hahaha I see what your problem is
[05:42:01] <jaydubya> uh oh
[05:42:04] <jaawerth> jaydubya: take a look at your second and third if statements
[05:42:14] <jaawerth> specifically, what happens when your second if statement is true
[05:42:21] <jaawerth> and then what the conditional is in your third
[05:42:36] *** doginal has quit IRC
[05:42:50] <jaydubya> that's right
[05:43:27] <jaydubya> ohhhh, it switches it right back
[05:43:28] *** sinequanon has joined #angularjs
[05:43:31] <jaawerth> hahaha
[05:43:33] <jaawerth> ;-)
[05:43:50] <jaawerth> just change your ifs to if-else or use a switch statement and you'll be in good shape for that part
[05:44:00] *** bmac has joined #angularjs
[05:44:03] <jaydubya> crap
[05:44:13] *** Sontakey has joined #angularjs
[05:44:20] <jaawerth> also get rid of the scope.$apply in your sglclick directive and it will stop throwing that error. You don't need it, since $parse should already trigger it
[05:44:52] <jaawerth> that's a funny one, it took me a bit to notice it too
[05:45:06] *** MrBaboon has quit IRC
[05:45:49] *** Sontakey has quit IRC
[05:45:50] *** rburns has quit IRC
[05:46:13] *** whiteboo_ has quit IRC
[05:46:23] *** rburns has joined #angularjs
[05:46:33] *** nesquerra has joined #angularjs
[05:46:53] *** stirlingw has joined #angularjs
[05:46:59] <jaydubya> jaawerth: ok, done and done!. Now changing the color will be handled by that ngModelController? I still have to read that article.
[05:47:35] *** MrBaboon has joined #angularjs
[05:47:54] *** Daemonik has quit IRC
[05:48:27] *** dharmit has joined #angularjs
[05:49:19] <jaawerth> uh, ngModelController does all kinds of stuff
[05:49:38] <jaawerth> color changing I'd just do with ng-class (or just manipulate the class or style stuff from your directive)
[05:50:28] *** prbc has joined #angularjs
[05:51:23] *** stirlingw has quit IRC
[05:52:29] *** adpirz has joined #angularjs
[05:53:26] *** Tigey has joined #angularjs
[05:53:43] <Tigey> Good evening all!
[05:53:44] *** yaneq has joined #angularjs
[05:53:49] *** ctanga has quit IRC
[05:54:20] *** seriema has joined #angularjs
[05:54:43] *** carlosmantilla has joined #angularjs
[05:55:10] *** ctanga has joined #angularjs
[05:55:10] *** mguillech has joined #angularjs
[05:55:28] *** carlosmantilla has quit IRC
[05:55:31] *** prbc has quit IRC
[05:55:45] *** carlosmantilla has joined #angularjs
[05:55:51] <Tigey> Has anyone encountered an exception where on ng-click execution inside an ng-repeat, the Sizzle.attr function in jquery throws 'Uncaught TypeError: undefined is not a function' when evaluating the end ng-repeat comment?
[05:56:08] <jaydubya> jaawerth: is it possible to call the linker function again after the increment?
[05:56:26] *** carlosmantilla has quit IRC
[05:56:43] *** carlosmantilla has joined #angularjs
[05:56:47] *** adpirz has quit IRC
[05:56:47] *** nya has quit IRC
[05:56:59] *** Xethron has joined #angularjs
[05:57:14] *** nya has joined #angularjs
[05:57:16] *** kirfu has quit IRC
[05:57:25] *** carlosmantilla has quit IRC
[05:57:31] *** kirfu has joined #angularjs
[05:57:43] *** carlosmantilla has joined #angularjs
[05:57:56] <jaawerth> jaydubya: uh, you wouldn't want to do that anyway..
[05:58:02] <jaawerth> anyway, I gotta get to bed, sorry I can't help more
[05:58:14] <jaydubya> k
[05:58:18] *** carlosmantilla has quit IRC
[05:58:21] <jaydubya> thanks
[05:58:39] *** carlosmantilla has joined #angularjs
[05:58:48] *** Cache_Money has quit IRC
[05:58:52] *** tkimmel has joined #angularjs
[05:59:06] *** emocakes has joined #angularjs
[05:59:09] <emocakes> hey guys
[05:59:13] *** carlosmantilla has quit IRC
[05:59:19] *** Cache_Money has joined #angularjs
[05:59:19] <Tigey> Howdy Emo
[05:59:21] *** bmac has quit IRC
[05:59:22] <emocakes> anyone familiar with writing directives?
[05:59:27] *** mguillech has quit IRC
[05:59:28] *** seriema has quit IRC
[05:59:29] <emocakes> and 1.3
[05:59:31] *** carlosmantilla has joined #angularjs
[05:59:34] <emocakes> hey Tigy
[05:59:36] <emocakes> *Tigey
[05:59:40] <Tigey> I am more familiar with copying directives....
[05:59:43] <emocakes> lol
[06:00:01] <emocakes> I would like to know how to get an elements scope
[06:00:15] <emocakes> without doing .scope()
[06:00:23] <emocakes> not really directive specific
[06:00:29] *** zoeycakes has quit IRC
[06:00:44] <emocakes> when the compileprovider has debug info disabled
[06:00:55] <emocakes> you can't do .scope() on the element
[06:01:20] <emocakes> so I'm wondering how to get it to work
[06:01:55] *** Manoj has joined #angularjs
[06:01:58] *** NoNMaDDeN has quit IRC
[06:02:00] *** kirfu has quit IRC
[06:02:30] *** Tigey_ has joined #angularjs
[06:02:43] *** phuh has quit IRC
[06:02:45] * Tigey_ rants about crappy intel NIC drivers
[06:02:54] *** emmesswhy has joined #angularjs
[06:03:11] *** phuh has joined #angularjs
[06:03:12] *** doginal has joined #angularjs
[06:03:17] *** tkimmel has quit IRC
[06:03:22] <emocakes> hah
[06:03:27] <emocakes> my irc just dies
[06:03:29] <Tigey_> Sorry Emocakes, I am not all that familiar with writing them. I am an almost intermediate angular user at best
[06:03:31] <Manoj> hi plz explain about (fromJson)
[06:03:32] *** nya_ has joined #angularjs
[06:03:33] *** emmesswhy has quit IRC
[06:03:37] <emocakes> because of yosemite
[06:03:42] <emocakes> power management shi
[06:04:07] *** Tigey has quit IRC
[06:04:24] *** Tigey_ is now known as Tigey
[06:04:28] *** carlosmantilla has quit IRC
[06:05:14] *** bmac has joined #angularjs
[06:05:17] *** Shai-Tan has quit IRC
[06:05:47] *** doug64k has quit IRC
[06:06:29] *** j_wright_ has joined #angularjs
[06:06:47]
<Tigey> Anyone ever seen something like this when executing an ng-click on an element in an ng-repeat? http://prntscr.com/566ewd
[06:06:50] *** nya has quit IRC
[06:06:51] *** Manoj has left #angularjs
[06:07:16] *** ctanga has quit IRC
[06:07:25] *** gnrlbzik has quit IRC
[06:07:49] *** mennea has quit IRC
[06:07:54] *** NoNMaDDeN has joined #angularjs
[06:08:07] *** j_wright_ has quit IRC
[06:08:18] *** frem has joined #angularjs
[06:08:26] *** mennea has joined #angularjs
[06:09:31] *** Latros-OS has quit IRC
[06:09:36] <Tigey> Actually, looks like I am incorrect. The ng-click is on a <th> element in the header of a table that has <tr> as an ng-repeat
[06:09:47] *** doginal has quit IRC
[06:09:50] *** AngularUI has joined #angularjs
[06:09:50]
<AngularUI> [ng-grid] PaulL1 closed pull request #2085: Move scrollbar bottom to account for viewport adjustments (master...master) http://git.io/9eH4nw
[06:09:50] *** AngularUI has left #angularjs
[06:10:08] <Tigey> The ng-click in question is setting a property name on which to sort.
[06:10:17] *** jaydubya has quit IRC
[06:10:44] *** Trow has joined #angularjs
[06:10:50] *** recidive has joined #angularjs
[06:10:52] *** jaydubya has joined #angularjs
[06:12:57] *** frem has quit IRC
[06:12:58] *** emocakes has quit IRC
[06:14:23] *** chrisshattuck has joined #angularjs
[06:14:45] *** Sontakey has joined #angularjs
[06:14:52] *** caitp has quit IRC
[06:15:17] *** robdubya has quit IRC
[06:15:25] *** jaydubya has quit IRC
[06:16:10] *** TheAceOfHearts has joined #angularjs
[06:16:18] *** sinequanon has quit IRC
[06:16:22] *** hdon has quit IRC
[06:16:32] *** rburns has quit IRC
[06:16:42] *** Reskp has joined #angularjs
[06:16:46] *** rburns has joined #angularjs
[06:16:49] *** bmac has quit IRC
[06:16:56] *** plato has quit IRC
[06:17:45] *** sinequanon has joined #angularjs
[06:17:59] *** jae has joined #angularjs
[06:18:31] *** Fuzzy has joined #angularjs
[06:18:33] *** rahil has joined #angularjs
[06:18:37] *** Daemonik has joined #angularjs
[06:21:29] *** jonathanpglick has quit IRC
[06:21:37] *** chaohuanghong1 has quit IRC
[06:21:51] *** Reskp has quit IRC
[06:22:39] *** plato has joined #angularjs
[06:23:15] *** MistahKurtz has joined #angularjs
[06:24:41] *** Skrypter has joined #angularjs
[06:25:26] *** damain has quit IRC
[06:26:13] *** doug64k has joined #angularjs
[06:27:47] *** ^Denis has quit IRC
[06:28:43] *** ^Denis has joined #angularjs
[06:29:14] *** brandom has joined #angularjs
[06:30:35] *** plato has quit IRC
[06:30:55] *** oliver___ has joined #angularjs
[06:32:35] <Fuzzy> watups
[06:33:36] *** guiambros has joined #angularjs
[06:34:25] *** Proditor has quit IRC
[06:34:26] *** Tigey has quit IRC
[06:35:25] *** Proditor has joined #angularjs
[06:35:28] *** Guest73857 has quit IRC
[06:35:53] *** cotko has quit IRC
[06:36:19] *** Glen_ has quit IRC
[06:37:36] *** jae has quit IRC
[06:37:50] *** jae has joined #angularjs
[06:37:53] *** mennea has quit IRC
[06:38:28] *** reavengrey has quit IRC
[06:38:31] *** mennea has joined #angularjs
[06:39:06] *** caitp has joined #angularjs
[06:39:18] *** knownasilya has quit IRC
[06:39:42] *** Josh has joined #angularjs
[06:40:05] *** brandom has quit IRC
[06:40:06] *** Josh is now known as Guest84796
[06:40:12] *** eBureau has joined #angularjs
[06:40:59] *** Xethron has quit IRC
[06:41:38] *** OttlikG has joined #angularjs
[06:42:54] *** abram_ has joined #angularjs
[06:42:56] *** bmac has joined #angularjs
[06:43:17] *** plato has joined #angularjs
[06:43:40] *** monir has quit IRC
[06:44:20] *** recidive has quit IRC
[06:45:58] *** AngularUI has joined #angularjs
[06:45:59]
<AngularUI> [ng-grid] PaulL1 opened pull request #2092: Fix #2065 (dataChange): add refreshRows to dataChangeCallbacks (master...2065_live_sort) http://git.io/3z4Qzg
[06:45:59] *** AngularUI has left #angularjs
[06:46:14] *** monir has joined #angularjs
[06:46:47] *** rburns has quit IRC
[06:47:25] *** rburns has joined #angularjs
[06:47:37] *** OttlikG has quit IRC
[06:48:05] *** FarLight has joined #angularjs
[06:48:24] <FarLight> How do I update the list of included js files in the bower list?
[06:48:33] *** justind has joined #angularjs
[06:48:40] *** monir has quit IRC
[06:48:49] <FarLight> I installed a lib through bower but it didn't get included in my index.htlm
[06:49:03] *** AngularUI has joined #angularjs
[06:49:03] <AngularUI> ng-grid/master d29999f Paul Lambert: Fix #2065 (dataChange): add refreshRows to dataChangeCallbacks...
[06:49:03] <AngularUI> ng-grid/master 27bd0c3 Paul: Merge pull request #2092 from PaulL1/2065_live_sort...
[06:49:04] *** AngularUI has left #angularjs
[06:49:07] *** monir has joined #angularjs
[06:49:14] *** plato has quit IRC
[06:49:27] *** ^Denis has quit IRC
[06:49:29] *** wa5ted_ has joined #angularjs
[06:50:14] *** justind has quit IRC
[06:50:55] *** kp666 has quit IRC
[06:51:53] *** nesquerra has quit IRC
[06:52:26] *** justind has joined #angularjs
[06:53:45] *** monir has quit IRC
[06:53:52] *** Trow1 has joined #angularjs
[06:54:01] *** jordandotdev has quit IRC
[06:54:03] *** jonathanpglick has joined #angularjs
[06:55:23] *** seriema has joined #angularjs
[06:57:44] *** Trow has quit IRC
[06:57:50] *** Typher has joined #angularjs
[06:58:01] *** fotoflo has joined #angularjs
[06:58:34] *** greg5gre_ is now known as greg5green
[06:58:35] *** JosephBergevin has quit IRC
[06:59:17] *** cthrax has quit IRC
[06:59:28] *** nya_ has quit IRC
[07:00:34] *** seriema has quit IRC
[07:01:18] *** snurfery has joined #angularjs
[07:01:32] *** xdissent has joined #angularjs
[07:01:38] *** kevinh has joined #angularjs
[07:01:47] *** ishan160_ has joined #angularjs
[07:01:51] *** slopjong has joined #angularjs
[07:02:18] <snurfery> sup yall
[07:02:46] *** phuh has quit IRC
[07:02:52] *** plato has joined #angularjs
[07:02:53] *** ishan1604 has quit IRC
[07:02:53] *** Typher has quit IRC
[07:02:57] *** bmac has quit IRC
[07:03:11] *** phuh has joined #angularjs
[07:04:38] <deweydb> can i use a promise wrapped value for ng-class or ng-click directives?
[07:05:10] *** nesquerra has joined #angularjs
[07:05:22] *** kirfu has joined #angularjs
[07:05:27] *** {DV8} has quit IRC
[07:06:10] *** justind has quit IRC
[07:06:29] *** JBreit has quit IRC
[07:06:37] *** brandom has joined #angularjs
[07:07:34] *** tomzx is now known as tomzx`afk
[07:07:39] *** d4rklit3 has quit IRC
[07:07:58] <deweydb> and the answer is, no.
[07:08:07] <xdissent> lol
[07:08:09] *** mennea has quit IRC
[07:08:13] *** dabockster has joined #angularjs
[07:08:19] *** gnrlbzik has joined #angularjs
[07:08:32] *** mennea has joined #angularjs
[07:08:42] *** Fuzzy has quit IRC
[07:09:03] *** Fuzzy has joined #angularjs
[07:09:16] *** thumpba has joined #angularjs
[07:09:20] *** Aerospark has quit IRC
[07:09:41] *** corehook has quit IRC
[07:09:47] *** dllama has quit IRC
[07:09:58] *** bjtitus has quit IRC
[07:10:46] *** plato has quit IRC
[07:10:57] *** kevinh has quit IRC
[07:10:58] *** mennea has quit IRC
[07:12:22] *** dejanr has quit IRC
[07:13:07] *** mdel has quit IRC
[07:14:28] *** NormySan has quit IRC
[07:14:30] *** favetelinguis has joined #angularjs
[07:15:09] *** marciopuga has quit IRC
[07:15:44] *** prbc has joined #angularjs
[07:16:30] *** JBreit has joined #angularjs
[07:16:58] *** brandom has quit IRC
[07:17:13] *** plato has joined #angularjs
[07:17:44] *** Reskp has joined #angularjs
[07:17:52] *** brandom has joined #angularjs
[07:18:10] *** ahmetkapikiran has quit IRC
[07:18:27] *** Skrypter_ has joined #angularjs
[07:19:21] *** Skrypter has quit IRC
[07:19:24] *** FarLight has quit IRC
[07:19:59] *** prbc has quit IRC
[07:20:43] *** a_ghost_irl has joined #angularjs
[07:21:34] *** sybarite has joined #angularjs
[07:21:45] *** samuel02 has joined #angularjs
[07:22:07] *** Reskp has quit IRC
[07:22:18] *** tfennelly has joined #angularjs
[07:24:09] *** Guest84796 has quit IRC
[07:24:50] *** zivester has quit IRC
[07:26:10] *** iksik has joined #angularjs
[07:26:53] *** tfennelly has quit IRC
[07:27:03] *** bengillies has joined #angularjs
[07:27:14] *** Cache_Money has quit IRC
[07:27:36] *** soren_engel has joined #angularjs
[07:28:09] *** plato has quit IRC
[07:28:09] *** Guest24183 has quit IRC
[07:28:48] *** asher^ has quit IRC
[07:28:48] *** brandom has quit IRC
[07:29:05] *** dabockster is now known as Agent_Smith
[07:29:08] *** brandom has joined #angularjs
[07:29:50] *** mettjus has joined #angularjs
[07:30:23] *** Agent_Smith is now known as dabockster
[07:31:46] *** bengillies has quit IRC
[07:32:17] *** soren_engel has quit IRC
[07:33:45] *** trend has joined #angularjs
[07:33:48] *** NoNMaDDeN has quit IRC
[07:34:24] *** kp666 has joined #angularjs
[07:34:42] *** brandom has quit IRC
[07:35:00] *** thumpba has quit IRC
[07:35:20] *** brandom has joined #angularjs
[07:36:24] *** samuel02 has quit IRC
[07:36:36] *** subtone100 has quit IRC
[07:36:43] *** clara has joined #angularjs
[07:36:45] *** VeeWee has joined #angularjs
[07:38:27] *** trend has quit IRC
[07:38:53] *** mennea has joined #angularjs
[07:39:10] *** thumpba has joined #angularjs
[07:39:14] *** Fuzzier has joined #angularjs
[07:39:25] *** zwacky has joined #angularjs
[07:40:40] *** ggrzybek has joined #angularjs
[07:40:52] *** Fuzzy has quit IRC
[07:41:18] *** JosephBergevin has joined #angularjs
[07:41:25] *** adpirz has joined #angularjs
[07:42:20] *** favetelinguis has quit IRC
[07:42:20] *** brandom has quit IRC
[07:42:32] *** brandom has joined #angularjs
[07:42:47] <oniMaker> When I go to save the model being used in an ng-repeat, it works, but then another set of the same models are added to the repeater
[07:42:54] *** favetelinguis has joined #angularjs
[07:43:06] <oniMaker> how can I make sure the first set is cleared, or that only the values get updated
[07:43:35] *** MattWelch has quit IRC
[07:44:02] *** favetelinguis has quit IRC
[07:44:14] *** asher^ has joined #angularjs
[07:44:32] *** favetelinguis has joined #angularjs
[07:45:53] *** adpirz has quit IRC
[07:46:56] *** MattWelch has joined #angularjs
[07:47:03] *** kirfu1 has joined #angularjs
[07:47:46] *** carlosmantilla has joined #angularjs
[07:48:14] *** kirfu has quit IRC
[07:48:14] *** rburns has quit IRC
[07:48:17] *** tkimmel has joined #angularjs
[07:48:36] *** rburns has joined #angularjs
[07:48:53] *** Beatzebub has quit IRC
[07:49:16] *** Beatzebub has joined #angularjs
[07:50:18] *** fotoflo has quit IRC
[07:50:40] *** dabockster has quit IRC
[07:50:51] *** gurke_ has joined #angularjs
[07:51:10] *** cacts has joined #angularjs
[07:51:11] *** MattWelch has quit IRC
[07:51:11] *** monir has joined #angularjs
[07:51:16] <gurke_> good morning. :)
[07:51:42] *** MistahKurtz has quit IRC
[07:52:42] *** carlosmantilla has quit IRC
[07:52:47] *** tkimmel has quit IRC
[07:53:36] *** Josh has joined #angularjs
[07:54:00] *** Josh is now known as Guest52480
[07:54:23] *** eBureau has quit IRC
[07:54:49] *** gurke_ has quit IRC
[07:55:02] *** JohnBat26 has joined #angularjs
[07:56:24] *** seriema has joined #angularjs
[07:57:20] *** Guest52480 has quit IRC
[07:59:07] *** jaydubya has joined #angularjs
[08:00:24] *** nya has joined #angularjs
[08:01:21] *** hmsimha has joined #angularjs
[08:01:35] *** seriema has quit IRC
[08:02:24] *** hmsimha_ has joined #angularjs
[08:02:46] *** phuh has quit IRC
[08:03:13] *** phuh has joined #angularjs
[08:03:32] *** c00ljs has joined #angularjs
[08:04:05] *** jaydubya has quit IRC
[08:04:26] *** plato has joined #angularjs
[08:04:48] *** Guest86288 has quit IRC
[08:05:40] *** mspier|away is now known as mspier
[08:05:52] <snurfery> sup guys
[08:05:59] *** sigurding has joined #angularjs
[08:06:04] <snurfery> oniMaker: you still around? can you show some code?
[08:06:21] *** hmsimha has quit IRC
[08:06:27] <oniMaker> snurfery: hey, I figured it out... it actually wasn't duplicating things... that's just what it looked like
[08:06:43] <snurfery> sweet
[08:06:47] *** MaxV has joined #angularjs
[08:06:51] <oniMaker> snurfery: there were some things I was stripping out in the transformResponse for GET, but I didn't have one set up for PUT
[08:07:06] <snurfery> ah
[08:07:16] *** NoNMaDDeN has joined #angularjs
[08:08:04] *** falk_netstyler has joined #angularjs
[08:08:20] *** mennea has quit IRC
[08:08:25] <oniMaker> angular was sort of frustrating on first approach... but it's slowly growing on me
[08:08:55] *** mennea has joined #angularjs
[08:09:18] *** sinequanon has quit IRC
[08:09:45] *** nya has quit IRC
[08:09:53] *** sinequanon has joined #angularjs
[08:10:08] *** Pyrrhus has joined #angularjs
[08:10:11] *** corehook has joined #angularjs
[08:11:08] *** Pyrrhus has quit IRC
[08:14:32] *** sinequanon has quit IRC
[08:14:32] *** AndreasLutro has joined #angularjs
[08:14:38] *** deebo has left #angularjs
[08:15:01] *** corehook has quit IRC
[08:15:45] *** soee has joined #angularjs
[08:16:37] *** sinequanon has joined #angularjs
[08:18:09] *** DannyCallaghan has joined #angularjs
[08:18:12] *** plato has quit IRC
[08:18:22] *** Reskp has joined #angularjs
[08:19:24] *** dnull has quit IRC
[08:19:53] *** samuel02 has joined #angularjs
[08:20:23] *** falk_netstyler has quit IRC
[08:20:40] *** samuel02 has quit IRC
[08:22:56] *** Xethron has joined #angularjs
[08:23:10] *** Reskp has quit IRC
[08:23:18] *** apparition has quit IRC
[08:23:53] *** monir has quit IRC
[08:24:05] *** themime has quit IRC
[08:24:56] *** DannyCallaghan has quit IRC
[08:26:42] *** apparition has joined #angularjs
[08:27:30] *** apparition has quit IRC
[08:27:53] *** apparition168 has joined #angularjs
[08:27:54] *** DannyCallaghan has joined #angularjs
[08:28:47] *** jstroem has joined #angularjs
[08:29:04] *** ravimone has joined #angularjs
[08:29:08] *** jstroem has quit IRC
[08:29:37] <ravimone> Hi guys, Need a help, anybidy there to help me ?
[08:29:42] <ravimone> *anubody
[08:29:53] <ravimone> *anybody
[08:30:54] <snurfery> yeah dude, just throw your question to us
[08:31:36] *** sgnl has joined #angularjs
[08:32:41] *** Raging_Hog has joined #angularjs
[08:32:58] *** plato has joined #angularjs
[08:33:37] *** soee has quit IRC
[08:33:49] *** soee has joined #angularjs
[08:35:02] *** DrMabuse has joined #angularjs
[08:35:17] <ravimone> Sir, I have a angularjs project done to an extent, using ng-route, now I am in a need to show dynamic content with in a view/template, I think, I need to use ui-route
[08:35:17] *** frobs has joined #angularjs
[08:35:30] *** jstroem has joined #angularjs
[08:35:40] *** angularjs1 has quit IRC
[08:35:46] *** tech2_ has joined #angularjs
[08:36:31] *** abram_ has quit IRC
[08:36:33] <ravimone> @sgnl
[08:36:39] <snurfery> hmm
[08:36:49] *** nya has joined #angularjs
[08:36:50] <snurfery> how many routes do you have on the project?
[08:37:33] <snurfery> if you only need it in a specific area, maybe you can get around it using ng-include and ng-if to control the content in a specific area
[08:38:06] <oniMaker> I've got some variables that affect lots of different things across the site, and also a single page to manage all of them (they're just boolean toggles)
[08:38:08] <ravimone> @sgnl , have 5 routes, with complex controllers
[08:38:21] *** mennea has quit IRC
[08:38:39] <snurfery> that's not too many actually
[08:38:40] <oniMaker> should I get them on each scope they're needed in... or just put them in $rootScope and only ever refer to them there (even on their management page)
[08:39:01] *** mennea has joined #angularjs
[08:39:13] *** Skrypter_ has quit IRC
[08:39:22] <oniMaker> I think $rootScope is the way to go, but I'm new to angular, so maybe there's a better solution
[08:39:44] <ravimone> @sgnl, Do I have any options where I can use ng-routes + ui-routes ?
[08:39:50] *** Skrypter has joined #angularjs
[08:40:05] *** DrMabuse has quit IRC
[08:40:41] <snurfery> oniMaker: I mean, you might as well store em in a service
[08:40:49] *** plato has quit IRC
[08:41:05] <snurfery> it's kinda poor form to throw a buncha stuff on rootScope
[08:41:17] <oniMaker> snurfery: ah... yeah that does make more sense
[08:41:20] <snurfery> just make a SiteConfigService or something
[08:41:54] <snurfery> if you want, you can attach that to rootScope haha ;)
[08:41:59] <oniMaker> I've already got that actually... so I can just re-use it then
[08:42:00] *** MattWelch has joined #angularjs
[08:42:00] *** simiographics_ has joined #angularjs
[08:42:07] <oniMaker> forgot those were singletons, aren't they?
[08:42:11] <snurfery> yep
[08:42:16] *** jacuqesdancona_ has joined #angularjs
[08:42:17] <oniMaker> cool, thanks
[08:42:23] *** MistahKurtz has joined #angularjs
[08:42:35] <snurfery> it's the "recommended way" to share data between controllers and various parts of the site
[08:42:54] *** jstroem has quit IRC
[08:43:07] *** carlosmantilla has joined #angularjs
[08:43:15] *** motionman has quit IRC
[08:43:17] *** guiambros has quit IRC
[08:43:29] *** jstroem has joined #angularjs
[08:43:43] *** carlosmantilla has quit IRC
[08:44:04] *** carlosmantilla has joined #angularjs
[08:44:09] <snurfery> ravimone: pretty sure they're mutually exclusive
[08:44:30] *** Skrypter has quit IRC
[08:45:16] *** jonathanpglick has quit IRC
[08:45:23] *** sinequanon has quit IRC
[08:45:33] <xyNNN> it is possible to force a rerendering of a directive?
[08:45:41] *** bayousoft has quit IRC
[08:45:52] <xyNNN> i want to change the template after a $scope variable has change (redirect to another state and i would set a scope var)
[08:46:09] *** ProLoser has joined #angularjs
[08:46:23] *** MattWelch has quit IRC
[08:47:35] <snurfery> xyNNN: is it your own directive?
[08:47:44] <xyNNN> yes
[08:47:51] <oniMaker> snurfery: If I'm using that controller to set $scope data for a template... would it make sense to just return $scope; as part of the module (using browserify) and then require the controller wherever I need access to the variables in its scope?
[08:48:07] *** jstroem has quit IRC
[08:48:09] <frobs> xyNNN, you can use a ng-include with src referencing a variable in $scope or if you want use states you can use ui-serf and send the $scope as parameter
[08:48:14] <snurfery> xyNNN normally you would setup a $watch inside your directive to do something if the value changes
[08:48:16] *** ravimone has quit IRC
[08:48:17] *** carlosmantilla has quit IRC
[08:48:25] *** thumpba has quit IRC
[08:48:28] *** nfroidure has joined #angularjs
[08:48:47] <oniMaker> snurfery: right now there's a service which has a $request endpoint, so I could call .get() from there... but that wouldn't automatically update if the settings changed
[08:48:49] <xyNNN> @frobs: and the template will change if the var is changing? probably i have to disable the templateCache for this partial, right?
[08:48:49] *** rahil has quit IRC
[08:49:08] <oniMaker> so I guess I'd either have to use the controller as a service somehow... or separate the controller logic into another service
[08:49:23] *** Ajans has joined #angularjs
[08:49:24] *** rburns has quit IRC
[08:49:33] *** larsgk has joined #angularjs
[08:49:46] *** rburns has joined #angularjs
[08:50:23] <frobs> xyNNN, yes the template specified in ng-include will be change when the variable update, if i am honest i don't know if i hace the template cache activated hehe, i can't say you
[08:50:38] <snurfery> oniMaker: you can just attach the service to scope
[08:50:45] <xyNNN> @frobs: thanks for you help, i will try it :)
[08:50:53] *** tfennelly has joined #angularjs
[08:50:58] <oniMaker> snurfery: I'm not sure I follow
[08:51:02] <snurfery> and so, like many other things on your scope, if it changes then the view will as well
[08:51:08] *** evilaliv3 has joined #angularjs
[08:51:27] <snurfery> k 1 sec
[08:51:34] *** AngularUI has joined #angularjs
[08:51:34]
<AngularUI> [ng-grid] igormalyk opened pull request #2093: Pager next/previous buttons are invisible because of different class names. (master...master) http://git.io/D79UxQ
[08:51:34] *** AngularUI has left #angularjs
[08:51:43] *** emmesswhy has joined #angularjs
[08:51:53] <oniMaker> snurfery: right now I've got each endpoint set up as its own service (and all it returns is a $resource object)
[08:52:15] <oniMaker> maybe... ALL endpoints should live in one service, then have a service for each endpoint which keeps state?
[08:52:17] <frobs> xyNNN, like this <div ng-include src="optionsTemplates[selectedOption.type]"></div>
[08:52:31] <frobs> you are welcome
[08:53:23] *** Raging_Hog has quit IRC
[08:53:27] *** NanoArro1 has joined #angularjs
[08:53:30] <snurfery> sorry, gotta run
[08:54:36] *** junmin has quit IRC
[08:54:45] *** lud has quit IRC
[08:54:52] *** sundar has joined #angularjs
[08:54:58] *** DannyCallaghan has quit IRC
[08:54:59] *** tarnus has quit IRC
[08:55:02] *** junmin has joined #angularjs
[08:55:14] *** ludkiller has joined #angularjs
[08:55:19] *** tfennelly has quit IRC
[08:55:22] *** motionman has joined #angularjs
[08:55:26] *** motionman has joined #angularjs
[08:56:06] *** larsgk has quit IRC
[08:56:52] *** mdedetrich has quit IRC
[08:57:49] *** Sky[x] has joined #angularjs
[08:57:50] *** bengillies has joined #angularjs
[08:58:11] *** frem has joined #angularjs
[08:59:23] *** junmin has quit IRC
[09:01:24] <sundar> hai i new to angular js . I trying out google maps in angular when i load 4000 point in ng-repeated it make pages slower is there any method to load faster
[09:01:33] *** SuRfDeMo1 is now known as SuRfDeMoN
[09:01:59] <fairuz> sundar: I think it's Google Map who is slow
[09:02:11] <fairuz> You load 4000 points onto the map?
[09:02:33] *** bengillies has quit IRC
[09:02:41] <sundar> yes
[09:02:52] *** phuh has quit IRC
[09:02:53] *** frem has quit IRC
[09:03:15] *** phuh has joined #angularjs
[09:04:33] <sundar> no fairuz it throw repsonse for script error
[09:04:40] <sundar> in browser
[09:04:46] <soee> now think, if you have some watchers and you do changes this 4000 are rechecked each time :)
[09:05:12] *** eamonn has joined #angularjs
[09:05:12] *** sigurding has quit IRC
[09:05:50] *** tobmaster2 has quit IRC
[09:06:26] *** sundar has quit IRC
[09:06:34] *** vgpillai has joined #angularjs
[09:06:55] <doug64k> sundar, browsers cant handle that usually. presenting the user with thousands of elements at once is either someone's clever hack or unreasonable
[09:07:14] *** AngularUI has joined #angularjs
[09:07:15] <AngularUI> bootstrap/master 32c4704 Chris Chua: fix(tooltip): remove extra digest causing incompatibility...
[09:07:15] *** AngularUI has left #angularjs
[09:07:20] <doug64k> it needs pagination
[09:07:40] *** rahil has joined #angularjs
[09:08:24] *** mennea has quit IRC
[09:08:27] *** kwd has quit IRC
[09:08:53] *** Xethron has quit IRC
[09:09:00] *** mennea has joined #angularjs
[09:09:22] *** MattWelch has joined #angularjs
[09:09:22] *** jonathanpglick has joined #angularjs
[09:09:28] *** Click66 has joined #angularjs
[09:09:30] *** jonathanpglick has quit IRC
[09:09:30] *** zwacky has quit IRC
[09:09:51] *** edzez has joined #angularjs
[09:10:08] *** m1hael has joined #angularjs
[09:10:35] *** cbennett has joined #angularjs
[09:10:53] *** sgnl has quit IRC
[09:12:32] *** DrMabuse has joined #angularjs
[09:12:49] *** Ch4rAss has joined #angularjs
[09:12:51] *** DrMabuse has joined #angularjs
[09:12:56] *** jagga has joined #angularjs
[09:13:07] *** asher^ has quit IRC
[09:13:12] *** moritzs has joined #angularjs
[09:13:19] *** vgpillai has quit IRC
[09:13:24] *** moritzs has quit IRC
[09:13:42] *** macobo has joined #angularjs
[09:13:46] *** moritzs has joined #angularjs
[09:14:18] *** VeeWee has quit IRC
[09:14:23] *** MattWelch has quit IRC
[09:14:50] *** advy has joined #angularjs
[09:15:33] *** tripu has quit IRC
[09:15:37] *** favetelinguis has quit IRC
[09:16:16] *** tfennelly has joined #angularjs
[09:16:18] *** Anup has joined #angularjs
[09:16:42] *** Anup is now known as Guest77169
[09:16:48] <Guest77169> Can anyOne tell future release version of AngularJS
[09:17:05] *** thomastuts has joined #angularjs
[09:17:59] <Guest77169> Hello any idea for future release version for angular js
[09:18:41] *** StryKaizer has joined #angularjs
[09:19:20] *** tobmaster has joined #angularjs
[09:19:21] *** sigurding has joined #angularjs
[09:21:04] *** monir has joined #angularjs
[09:21:05] *** Ch4rAss has quit IRC
[09:21:06] *** Sky[x] has quit IRC
[09:21:11] *** Guest77169 has quit IRC
[09:21:31] <Inge-> yes
[09:21:36] <Inge-> it will break everything
[09:21:38] <Inge-> as you know it
[09:21:49] *** AngularUI has joined #angularjs
[09:21:49]
<AngularUI> [ng-grid] igormalyk opened pull request #2096: Pager $watchers will not fire if sum of totalItems and page size stays the same (master...pager-watchers) http://git.io/jgnE9A
[09:21:50] *** AngularUI has left #angularjs
[09:22:22] *** qrob has joined #angularjs
[09:22:29] *** trend has joined #angularjs
[09:22:50] *** eamonn has quit IRC
[09:23:34] *** Ch4rAss has joined #angularjs
[09:24:27] *** Mohan_ has joined #angularjs
[09:24:28] *** plato has joined #angularjs
[09:24:34] *** favetelinguis has joined #angularjs
[09:25:07] <Mohan_> Hi ALl, I need help.As i want to know the future release version for Angular JS
[09:26:10] *** jstroem has joined #angularjs
[09:26:15] *** folippi has joined #angularjs
[09:26:46] *** trend has quit IRC
[09:26:57] *** glassir has joined #angularjs
[09:28:03] *** marcjs has joined #angularjs
[09:28:08] <folippi> I have an app that kinda implements windows. I have a WindowController, that has a $scope.windows array and in the UI I iterate over it to show the windows to the users. But having the state ($scope.windows) in a controller is problematic, because one instance of the controller has the state, and it's not really reachable from other views/code. Should I make a Service to handle global state, or how do you do that in the Angular way?
[09:28:42] <folippi> Question is: how can I handle state, that has to be reachable from all parts of the app and only needs one instance? Service? Provider? Confused developer over here ;)
[09:28:49] *** Juanchito has joined #angularjs
[09:29:02] *** plato has quit IRC
[09:29:08] *** Sky[x] has joined #angularjs
[09:30:03] *** cacts has quit IRC
[09:30:17] *** VeeWee has joined #angularjs
[09:30:18] *** adpirz has joined #angularjs
[09:30:28] <qrob> Hi. I'm trying to upload a three.js based app in an angularjs website. But I countinue to get: "Uncaught ReferenceError: THREE is not defined", when I try to load three.js and the app within the tamplate page. If I put the three.js library before jquery and angularjs src (in the head element) it works but I don't want to load the library on the entire website, just for a page. Maybe someone could suggest me some better practice to resolve <script
[09:30:28] <qrob> src="externalLibrary.js"></script> dipendencies with angularjs?
[09:31:21] *** sigurding has quit IRC
[09:31:22] *** MattWelch has joined #angularjs
[09:31:51] <folippi> qrob: I'd say use some module loader, like browserify (best) or requirejs (also nice) and none of these things will be a problem. You can load dependencies async just when you need them
[09:32:16] *** Typher has joined #angularjs
[09:32:21] <folippi> qrob: that's a feature I personally think should be in JS by spec
[09:32:39] *** mguillech has joined #angularjs
[09:33:17] *** JosephBergevin has quit IRC
[09:33:30] *** edy has joined #angularjs
[09:33:48] *** ishan160_ has quit IRC
[09:34:01] *** clara has quit IRC
[09:34:31] *** one0one has quit IRC
[09:34:55] *** adpirz has quit IRC
[09:35:33] *** MattWelch has quit IRC
[09:35:39] <folippi> qrob: also, does three.js depend upon jQuery?
[09:36:13] *** cbennett has quit IRC
[09:36:26] *** rtnm has joined #angularjs
[09:36:42] *** plecker has joined #angularjs
[09:36:57] *** mguillech has quit IRC
[09:36:58] *** rtnm has quit IRC
[09:37:03] *** tkimmel has joined #angularjs
[09:37:15] *** merb has joined #angularjs
[09:37:54] *** Pyrrhus has joined #angularjs
[09:38:00] *** mettjus has quit IRC
[09:38:00] *** beckyconning_ has quit IRC
[09:38:27] *** mennea has quit IRC
[09:38:48] <Fuzzier> what does requirejs actually do
[09:39:05] *** mennea has joined #angularjs
[09:39:28] *** mennea has quit IRC
[09:40:50] <Mohan_> nobody has idea for future release version for angular JS
[09:40:54] *** zep--- has quit IRC
[09:41:04] *** guilbep has joined #angularjs
[09:41:45] *** tkimmel has quit IRC
[09:41:50] *** BahamutWC_ has joined #angularjs
[09:41:51] <Mohan_> hui
[09:42:14] *** plato has joined #angularjs
[09:42:16] *** BahamutWC has quit IRC
[09:42:21] <Mohan_> please somebody tell me future release version for angular JS
[09:42:25] <folippi> Fuzzier: requirejs & browserify are module loaders (what is import() or require() in many languages). Basically, they are a function that takes a module name and when it's needed loads it. It also makes sure to load whatever code the module depends upon before loading the module you asked for, so no more worrying about that ever again, and never again having to think about 'should I load x before y & z?'
[09:42:29] *** BahamutWC|Lapt-1 has joined #angularjs
[09:42:39] <folippi> Basically a smart <script> tag kinda
[09:42:50] <Fuzzier> so why not just use
[09:42:51] *** laurensclaessen has joined #angularjs
[09:42:52] <Fuzzier> require()
[09:43:01] <Fuzzier> or is this for html
[09:43:05] <folippi> no JS
[09:43:12] <folippi> Yeah require() is just what it is
[09:43:15] <folippi> that's the thing
[09:43:21] <Mohan_> we are trying to present it to client so
[09:43:25] <Fuzzier> ?
[09:43:48] <Mohan_> please somebody tell me future release version for angular JS
[09:43:48] <folippi> Fuzzier: requirejs & browserify gives you the require() function, so you can load modules
[09:43:54] *** phzon has joined #angularjs
[09:43:55] *** BahamutWC|Laptop has quit IRC
[09:43:57] <folippi> Mohan_: well 2.0 is coming
[09:44:01] <Fuzzier> oh I see
[09:44:01] *** jillesme has joined #angularjs
[09:44:05] <Fuzzier> I thougth require was built in
[09:44:06] <Fuzzier> to javascript
[09:44:09] <Fuzzier> u can just require files right?
[09:44:13] <folippi> In Node it is
[09:44:20] <Mohan_> any month specified
[09:44:23] <Fuzzier> so node uses requirejs?
[09:44:53] *** sybarite has quit IRC
[09:44:53] *** advy has quit IRC
[09:45:29] *** Ch4rAss has quit IRC
[09:45:30] <Fuzzier> hmm
[09:45:33] <Fuzzier> guess im still a bit confused
[09:45:38] <folippi> Fuzzier: nah, think they have something else but almost same api. Node packages are made with something called CommonJS, which means a package has a module.exports variable. Whatever that returns, is what is returned when you require() the module. RequireJS uses some other format, forgot the name. Browserify uses CommonJS just like Node.
[09:45:43] <Mohan_> Any specified date for Angular JS 2.0?
[09:45:53] *** tech2_ has quit IRC
[09:45:56] <folippi> Browserify can actually load modules you install with npm too
[09:46:05] <Fuzzier> oh I see
[09:46:11] <Fuzzier> like with angular I usually just load the scripts themselves
[09:46:13] <Fuzzier> in the html
[09:46:17] <Fuzzier> don't have to require anything
[09:46:18] *** milka has joined #angularjs
[09:46:25] <Fuzzier> is there a better way to do it using requirejs?
[09:46:30] *** sybarite has joined #angularjs
[09:46:32] <Mohan_> Any specified release date for Angular JS 2.0?
[09:46:43] <folippi> Fuzzier: yeah in angular we use the dependency injection to load things, but it's kinda sucky in comparison to browserify to be honest
[09:46:49] *** corehook has joined #angularjs
[09:46:57] <folippi> Mohan_: no, google it? It's gonna be a total overhaul, so you'll have to rewrite any apps
[09:47:36] <Mohan_> ok Thanks Folippi
[09:47:44] <Fuzzier> oh intersting
[09:47:54] *** sybarite has quit IRC
[09:48:04] *** jaydubya has joined #angularjs
[09:48:20] <folippi> Fuzzier: Angular kinda re-invents everything (which is my least fav part of it). But requireJS & Browserify are simple, they just return an object that you can attach to a var. So you could say `var three = require('three')` and then just use it when you need it. Works in an Angular app, or any kind of app, because it's no magic. It's just a JS object
[09:48:37] <Fuzzier> right
[09:48:43] <folippi> the require() function returns whatever is set to module.exports in the module
[09:48:47] *** advy has joined #angularjs
[09:48:52] <Fuzzier> yeah like in node?
[09:48:59] <Fuzzier> I thougth browsers came with node
[09:49:01] <Fuzzier> or whatever
[09:49:06] <Fuzzier> or does this just change it a little bit
[09:49:26] <folippi> so `require('three')` will look for a file `three.js`, and whatever the `module.exports` is set to in there will be returned by require(). Simple!
[09:49:38] *** larsgk has joined #angularjs
[09:49:41] <Fuzzier> ahhh
[09:49:49] <Fuzzier> hm.
[09:49:53] <Fuzzier> guess i've already been doing it
[09:49:55] <Fuzzier> just npm install
[09:50:00] <folippi> Nah, node is just some dude who took chromes JS runtime and put it on top of libuv. Browsers work in a little bit different way
[09:50:02] <Fuzzier> then require('lodash')
[09:50:04] <Fuzzier> or whatever
[09:50:06] <folippi> Exactly
[09:50:15] <folippi> With browserify you can do the same in the browser, super sweet
[09:50:20] *** marcjs has quit IRC
[09:50:26] *** plato has quit IRC
[09:50:33] <Fuzzier> oh so the browser doesnt come with it built in?
[09:50:34] <Fuzzier> I see
[09:50:40] <folippi> Fuzzier: nopes. Sadly not
[09:50:43] *** cbennett has joined #angularjs
[09:50:48] <Fuzzier> so when u serve the client to a user
[09:50:55] <Fuzzier> you gotta put that in there then
[09:50:59] <Fuzzier> browserify/require
[09:51:01] *** cbennett has quit IRC
[09:51:01] *** kas84 has joined #angularjs
[09:51:07] *** ogdabou has joined #angularjs
[09:51:08] <Fuzzier> hm.
[09:51:34] *** cbennett has joined #angularjs
[09:51:34] *** rburns has quit IRC
[09:51:43] *** DrMabuse has quit IRC
[09:51:47] *** rburns has joined #angularjs
[09:52:05] *** MistahKurtz has quit IRC
[09:52:14] <Fuzzier> so like
[09:52:14] *** laurensclaessen has quit IRC
[09:52:19] <Fuzzier> what kind of architecture does this work best with
[09:52:22] *** jaydubya has quit IRC
[09:52:33] <Fuzzier> stuff like backbone/angular you don't have to require anything it seems
[09:52:39] <Fuzzier> maybe if you wrote your own app from scratch?
[09:52:44] <folippi> You have a part of your build process (gulp, grunt, brunch, make, whatever) that bundles your scrips into one file that you serve to the client. Browserify will then read from there to know what urls to load scripts from. I think requireJS will just load from the server with the name you supply, like require('lodash') will look for hostname.com/lodash.js (I think, not sure)
[09:52:50] *** kas84 has quit IRC
[09:53:06] <folippi> Fuzzier: because the devs of those libraries never set anything to module.exports, they just put it in the global namespace
[09:53:09] *** monir has quit IRC
[09:53:22] <folippi> But it's easy to convert to a CommonJS module (module.exports thing)
[09:53:25] *** Sontakey has quit IRC
[09:53:31] <eighty4> Writing some protractor tests and trying to figure out the best solution to target specific buttons/menues. Is it ok to add ids to everything just for protractor or are you guys solving that in a different way?
[09:53:31] <folippi> And all libs have CommonJS versions in npm
[09:54:04] *** laurensclaessen has joined #angularjs
[09:54:16] <Fuzzier> hmmmmm
[09:54:16] *** Versality has joined #angularjs
[09:54:43] <Fuzzier> yeah I've never heard of commonjs before actually
[09:54:44] <Fuzzier> lol
[09:54:47] <folippi> if you're doing browserify, you can add angular with `npm install --save angular` or something like that. Same for backbone, lodash, react, everything
[09:55:03] <Fuzzier> yea
[09:55:04] <folippi> CommonJS is the standard Node implements in it's require()
[09:55:04] *** plato has joined #angularjs
[09:55:11] <Fuzzier> oh I see
[09:55:18] <TheAceOfHearts> CommonJS is great
[09:55:22] <folippi> Took me a while to get comfortable with these things in the client, but now I can never go back
[09:55:32] *** aditya_vy has joined #angularjs
[09:55:37] <TheAceOfHearts> angular sorta fucks with it
[09:55:38] *** laurensclaessen has quit IRC
[09:55:39] *** yaneq has quit IRC
[09:55:43] *** Raging_Hog has joined #angularjs
[09:55:47] *** simiographics_ has quit IRC
[09:56:01] <Fuzzier> I see
[09:56:05] <folippi> A compromise is to load angular the old way but other modules with require()
[09:56:12] *** mspier is now known as mspier|away
[09:56:18] *** laurensclaessen has joined #angularjs
[09:56:21] <TheAceOfHearts> well
[09:56:24] <folippi> then you can inject them into angulars DI system. Or just skip it and use React ;)
[09:56:28] <TheAceOfHearts> I think with browserify if you require normal modules
[09:56:28] <Fuzzier> is there any synchronicity issues with angular?
[09:56:35] <TheAceOfHearts> they'll get loaded normally, won't they?
[09:56:42] *** MistahKurtz has joined #angularjs
[09:56:43] *** DannyCallaghan has joined #angularjs
[09:56:51] <folippi> TheAceOfHearts: afaik yea
[09:57:22] *** edy has quit IRC
[09:57:32] <Fuzzier> lol
[09:57:37] <Fuzzier> whats react better for
[09:57:38] *** firelinks has quit IRC
[09:57:42] <Fuzzier> ive used it a little bit but
[09:57:54] <Fuzzier> not enough to know whats really going on
[09:58:12] <TheAceOfHearts> React is smaller
[09:58:14] <TheAceOfHearts> so it does a lot less
[09:58:27] <TheAceOfHearts> it's great for doing view stuff
[09:58:31] <TheAceOfHearts> imo, it depends on your project
[09:58:37] *** advy has quit IRC
[09:58:38] <TheAceOfHearts> just hacing somehing together? angular is probablyt better
[09:58:47] <sacho> Fuzzier, synchronicity issues?
[09:58:52] <TheAceOfHearts> for big projects I think a good architecture with react makes more sense
[09:58:56] *** cboden has quit IRC
[09:59:00] <Fuzzier> like
[09:59:00] <folippi> React is simple. No mutable states to keep track of (seriously, 50% of my bugs are from messing up state)
[09:59:08] <Fuzzier> what gets required first or what not
[09:59:15] <Fuzzier> or when u are requiring stuff
[09:59:16] <folippi> A react component is just a dump function. x in, y out.
[09:59:16] <sacho> Fuzzier, no
[09:59:28] <Fuzzier> oh
[09:59:32] <Fuzzier> hmmm
[09:59:41] <Fuzzier> is ther any way to not get {{blah}} to show up for a split second
[09:59:42] <Fuzzier> on load btw
[09:59:50] *** kayoone has joined #angularjs
[09:59:51] <sacho> see ng-bind and ng-cloak
[09:59:52] <Fuzzier> or is that only during testing
[10:00:15] *** johnkevinmbasco has quit IRC
[10:00:16] *** sigurding has joined #angularjs
[10:00:23] <Fuzzier> interesting
[10:00:29] <folippi> Fuzzier: you could maybe wrap it in a directive, and it will not be loaded before angular is instantiated
[10:00:33] <folippi> idk
[10:00:43] *** TheAceOfHearts has left #angularjs
[10:00:44] *** TheAceOfHearts has joined #angularjs
[10:00:54] <rhp> <TheAceOfHearts> for big projects I think a good architecture with react makes more sense <-- wouldn't for big projects angular make more sense, because it's more strict and more than simple compontents, forcing a single way to work in the app?
[10:01:01] *** motionman has quit IRC
[10:01:10] <TheAceOfHearts> no
[10:01:16] <TheAceOfHearts> angular is stupid
[10:01:18] <TheAceOfHearts> for big apps
[10:01:23] <TheAceOfHearts> imo, angular is terrible for larger apps
[10:01:27] <rhp> can you elaborate?
[10:01:30] <TheAceOfHearts> you don't enforce enough structure
[10:01:37] <TheAceOfHearts> I'm sortadrubnm right now
[10:01:39] <TheAceOfHearts> remind me tomororw
[10:01:40] <TheAceOfHearts> but
[10:01:43] <rhp> haha :)
[10:01:45] <TheAceOfHearts> angular is just too unopinionated
[10:01:58] <TheAceOfHearts> you need more structure than what angualr gives you
[10:02:02] <TheAceOfHearts> to make an app
[10:02:04] <rhp> but react is even way less opiniontated right?
[10:02:05] <TheAceOfHearts> and if you're defining sturcture
[10:02:10] <TheAceOfHearts> yeah
[10:02:23] <TheAceOfHearts> that's why I said a good architecture + react
[10:02:36] <rhp> right, so something like flux you mean
[10:02:39] <TheAceOfHearts> yeah
[10:02:44] *** Sebastien-L has joined #angularjs
[10:02:48] <TheAceOfHearts> well, flux is sorta iffy
[10:02:50] <TheAceOfHearts> I'm still not sold
[10:02:53] *** phuh has quit IRC
[10:02:53] *** cannap has joined #angularjs
[10:02:57] <TheAceOfHearts> but the concept of flux is nice
[10:03:16] <TheAceOfHearts> angular is weird in that it''s sorta opnionated and not at the same time
[10:03:17] *** phuh has joined #angularjs
[10:03:32] <rhp> I;m still looking into it as well, hence my questions, it's good to hear other views
[10:03:36] *** frankblizzar has joined #angularjs
[10:03:49] <TheAceOfHearts> idk, I mena, I love angular, but it's not a silver bullet
[10:03:53] *** Shrooms has quit IRC
[10:03:54] <TheAceOfHearts> just don't drin kthe koolaid
[10:03:57] <rhp> :)
[10:04:11] <TheAceOfHearts> I don't think angular is great for large applications
[10:04:12] *** sk87 has joined #angularjs
[10:04:16] <TheAceOfHearts> I think that's a straight up lie
[10:04:16] *** plecker has quit IRC
[10:04:20] *** m8 has joined #angularjs
[10:04:30] <TheAceOfHearts> I think flux is a lot nicer for large applications
[10:04:34] <TheAceOfHearts> it applies more constaints
[10:04:36] <Fuzzier> lol
[10:04:40] <TheAceOfHearts> but I was shown a couple of large apps in Flux
[10:04:45] *** cboden has joined #angularjs
[10:04:47] <TheAceOfHearts> and they were just SO EASY so follow along
[10:04:49] <rhp> internal, or public apps?
[10:05:04] <TheAceOfHearts> internal apps :(, I wish more stuff were public
[10:05:07] <TheAceOfHearts> I just met with some people
[10:05:10] *** Lebby1 has joined #angularjs
[10:05:11] <TheAceOfHearts> and they showed me stuff
[10:05:15] <rhp> yeah, same with angular stuff - most seems internal...
[10:05:34] <TheAceOfHearts> well, the app I work on has source maps
[10:05:37] <TheAceOfHearts> you can look at that~
[10:05:38] *** arkin has joined #angularjs
[10:05:40] <TheAceOfHearts> console.treasure-data.com
[10:05:41] *** Lebby1 has left #angularjs
[10:05:51] <TheAceOfHearts> you can see what design decisions we've taken
[10:06:23] <TheAceOfHearts> but overall I think with Flux you just get simpler code-flow
[10:06:35] *** AciD`` has joined #angularjs
[10:06:35] <TheAceOfHearts> it's easier to figure out what's going on
[10:06:39] <TheAceOfHearts> and yeah, youcan do the same with angular
[10:06:44] <TheAceOfHearts> but you need more discipline
[10:06:52] <Fuzzier> hmmm
[10:07:02] <Fuzzier> so how does flux work
[10:07:03] <Fuzzier> anyway
[10:07:06] *** Mohan_ has quit IRC
[10:07:09] <TheAceOfHearts> idk though, I haven't built anything complicated with flux / react
[10:07:12] *** jdj_dk has joined #angularjs
[10:07:17] <Fuzzier> whys the flow better
[10:07:20] *** sahbeewah has joined #angularjs
[10:07:27] <rhp> treasuredata is all angular right?
[10:07:31] <TheAceOfHearts> it is
[10:07:41] <TheAceOfHearts> so, Fuzzier
[10:07:51] *** dra_ has quit IRC
[10:08:00] <TheAceOfHearts> it's just simpler
[10:08:04] <TheAceOfHearts> at least the examples I was shown
[10:08:08] *** plato has quit IRC
[10:08:09] <TheAceOfHearts> it's a lot simpler to look at what's going on
[10:08:12] <TheAceOfHearts> and trace the code
[10:08:26] <TheAceOfHearts> with angular it's a bit tricky
[10:08:30] <TheAceOfHearts> idk
[10:08:35] <Fuzzier> hmm true
[10:08:39] <TheAceOfHearts> I think it might really be all abou slef control
[10:08:42] <Fuzzier> if the angular app is architected properly
[10:08:45] *** tangorri has joined #angularjs
[10:08:46] <TheAceOfHearts> you can write really bad react code
[10:08:48] <TheAceOfHearts> or really bad angular code
[10:08:57] <Fuzzier> its kinda hard to follow properly
[10:09:05] *** dejanr has joined #angularjs
[10:09:12] *** Aliks has quit IRC
[10:09:17] <TheAceOfHearts> i think our app isn't that bad but it still has some parts that I hnik are iffy
[10:09:36] <TheAceOfHearts> but idk, even Rails has that problem
[10:09:39] <TheAceOfHearts> maybe all apps have that
[10:09:47] *** Aliks has joined #angularjs
[10:09:57] <TheAceOfHearts> Flux / React is more work, but it feels simpler.
[10:10:04] <TheAceOfHearts> at least the examples I saw
[10:10:08] *** c00ljs has quit IRC
[10:10:15] <TheAceOfHearts> I got to sit dowon with some people
[10:10:20] <TheAceOfHearts> and I was really convinced
[10:10:23] *** Aerospark has joined #angularjs
[10:10:36] *** oliver___ has quit IRC
[10:10:39] *** Skrypter has joined #angularjs
[10:10:41] <Fuzzier> hmm
[10:11:42] <TheAceOfHearts> so, the examples I was shown
[10:11:49] <TheAceOfHearts> they requied more code to be written
[10:11:54] <TheAceOfHearts> but they were more obvious
[10:12:00] <TheAceOfHearts> so I guess it's a bit of a tradeoff
[10:12:19] *** Xethron has joined #angularjs
[10:12:55] <TheAceOfHearts> but as I said, I haven't built anything compelx with Flux
[10:13:34] <Fuzzier> I see
[10:13:41] *** dejanr has quit IRC
[10:13:42] <Fuzzier> hmm..so like
[10:13:45] <Fuzzier> whats the best way of
[10:13:53] *** nemothekid has quit IRC
[10:13:57] *** Aliks has quit IRC
[10:13:58] <Fuzzier> setting up the html templating or what not
[10:14:05] <Fuzzier> if you're building an angular app from scratch
[10:14:09] *** crunch-choco has joined #angularjs
[10:14:14] *** bullicon has joined #angularjs
[10:14:17] <Fuzzier> like i looked into bootstrap
[10:14:20] <Fuzzier> and foundation
[10:14:33] <crunch-choco> guys, does it exist something like element.bind('empty', function() ?
[10:14:37] *** Aerospark has quit IRC
[10:14:41] <Fuzzier> but is there an easy way to get those layouts working
[10:14:43] <TheAceOfHearts> I have my own build tasks with gulp
[10:14:46] <TheAceOfHearts> idk
[10:14:48] <crunch-choco> i would like to check if ng src is empty
[10:14:49] <TheAceOfHearts> you just include em
[10:15:03] *** Skrypter has quit IRC
[10:15:05] *** jstroem has quit IRC
[10:15:08] <Fuzzier> oh yeah
[10:15:08] <Fuzzier> but like
[10:15:12] <Fuzzier> getting started with the html
[10:15:14] <Fuzzier> or what not
[10:15:16] *** gazbond has joined #angularjs
[10:15:21] <Fuzzier> just like...something that'd look good
[10:15:24] *** jstroem has joined #angularjs
[10:15:39] <Fuzzier> like thers demos and stuff
[10:15:43] <Fuzzier> but thats just bootstrap
[10:15:47] <Fuzzier> not really integrated with angular
[10:16:00] <TheAceOfHearts> idk, that's just css
[10:16:04] *** Trow1 has quit IRC
[10:16:07] <TheAceOfHearts> it depends on what you're building
[10:16:08] *** marcjs has joined #angularjs
[10:16:18] <TheAceOfHearts> just pay a couple hundreds of dollars to a designer to make something pretty or w/e
[10:16:33] <Fuzzier> err maybe not pretty but like
[10:16:47] <Fuzzier> something more fleshed out
[10:16:59] <Fuzzier> few menus on the side, auth system
[10:17:08] *** marcjs has quit IRC
[10:17:27] <TheAceOfHearts> I'm not sure what your goal is
[10:18:00] *** marcjs has joined #angularjs
[10:18:20] *** sigurding has quit IRC
[10:18:53] *** Oxynum has joined #angularjs
[10:18:54] <TheAceOfHearts> bootstrap just by itself is useless
[10:19:02] <Fuzzier> hmm like
[10:19:02] *** elxa has joined #angularjs
[10:19:06] <TheAceOfHearts> it requires at least SOME customized css to make a usable app
[10:19:54] <Fuzzier> I see
[10:20:05] *** eamonn has joined #angularjs
[10:20:18] <TheAceOfHearts> you should learn css
[10:20:21] <TheAceOfHearts> it's a valuable skill
[10:20:24] <Fuzzier> yeah
[10:20:28] <Fuzzier> i dont really know it at all
[10:20:34] <TheAceOfHearts> I mean
[10:20:34] <Fuzzier> and i dont even know what css really lets u do
[10:20:34] <TheAceOfHearts> idk
[10:20:39] <TheAceOfHearts> I don't know css either
[10:20:39] <Fuzzier> to me its just like
[10:20:40] <Fuzzier> oh colors
[10:20:41] <Fuzzier> styling
[10:20:43] <Fuzzier> where things are placed
[10:20:44] <TheAceOfHearts> I just hack o n it until I have why I want
[10:20:47] <TheAceOfHearts> yeah
[10:20:55] <Fuzzier> but its mostly like
[10:20:56] <TheAceOfHearts> css is a cunt
[10:21:01] <Fuzzier> fleshing out the html templates that are hard for me
[10:21:08] <Fuzzier> like if i have an angular route with 5 routes
[10:21:11] <Fuzzier> designing those pages is hard
[10:21:18] <Fuzzier> angular app*
[10:21:23] <TheAceOfHearts> you should read some books about design, depending on what you do in your job, it might be valuable
[10:21:42] <TheAceOfHearts> I'm actually surprised there's no books about like commmon ux pattterns for diitios
[10:21:55] <davek_> For doritos.
[10:21:56] *** rburns has quit IRC
[10:21:58] *** mettjus has joined #angularjs
[10:22:05] <TheAceOfHearts> davek_: shhh
[10:22:07] <TheAceOfHearts> stop hating
[10:22:13] *** AngularUI has joined #angularjs
[10:22:14]
<AngularUI> [ng-grid] sickan90 opened pull request #2098: Fix rowBuilders gridOption attribute (master...rowBuilderReturnUndefined) http://git.io/pGUUMg
[10:22:14] *** AngularUI has left #angularjs
[10:22:22] <TheAceOfHearts> my PR for ui-router got accepted
[10:22:23] *** rburns has joined #angularjs
[10:22:36] <TheAceOfHearts> and we're gonna be doing series B in a coupel weeks
[10:22:39] <TheAceOfHearts> so I'm celebrating early
[10:23:04] <TheAceOfHearts> I hope we IPO and all become rockstars~
[10:23:04] *** yaneq has joined #angularjs
[10:23:06] <TheAceOfHearts> that's be cool
[10:24:09] <Fuzzier> lol
[10:24:20] <Fuzzier> where are u located
[10:24:28] <TheAceOfHearts> Mars~
[10:24:32] <TheAceOfHearts> top secret~ don't tell anyone~
[10:24:41] <Fuzzier> dammit elon
[10:24:47] <Fuzzier> so u got the rockets workin
[10:24:55] *** RedOrangeZ has joined #angularjs
[10:25:45] *** instence_ is now known as instence
[10:25:45] *** TyrfingMjolnir has quit IRC
[10:25:50] <TheAceOfHearts> rockets kinda suck, we're just using teleportation~
[10:25:52] <TheAceOfHearts> it's easier~
[10:26:35] <Fuzzier> lol
[10:26:57] *** glassir has quit IRC
[10:27:17] *** glassir has joined #angularjs
[10:28:33] *** reavengrey has joined #angularjs
[10:29:11] *** threesixes has quit IRC
[10:29:16] *** Aguenokk has joined #angularjs
[10:29:40] *** fbenoit has joined #angularjs
[10:29:49] *** NanoArro1 has quit IRC
[10:30:12] <soee> can i convert json object to array ?
[10:30:19] <TheAceOfHearts> anything is possible
[10:30:42] *** mupkoo has joined #angularjs
[10:30:56] *** rahil has quit IRC
[10:31:10] <TheAceOfHearts> var arr = []; for (val in obj) {arr.push(arr.push(obj[val]);}
[10:31:11] <TheAceOfHearts> or something
[10:31:14] <TheAceOfHearts> idk
[10:31:19] *** zanea is now known as zanea|away
[10:32:06] <TheAceOfHearts> is a for in loop ordered alphabetically? I'm guessing yes, but I'm actaully not 100% certain
[10:32:19] <Fuzzier> sure
[10:32:20] <Fuzzier> u can
[10:32:21] *** carlosmantilla has joined #angularjs
[10:32:21] <TheAceOfHearts> oh interesting
[10:32:27] <TheAceOfHearts> it's actually not specified in the spec
[10:32:29] <TheAceOfHearts> great.
[10:32:37] *** NanoArro1 has joined #angularjs
[10:33:03] *** rhp has quit IRC
[10:33:04] <TheAceOfHearts> so you'd have to iterate over the object to save all keys, sort it, and then iterate over that
[10:33:09] <TheAceOfHearts> ugh
[10:33:16] <sacho> a for..in loop is not ordered alphabetically
[10:33:36] <TheAceOfHearts> yeah
[10:33:37] *** mnngfltg has joined #angularjs
[10:33:39] <TheAceOfHearts> just checked
[10:33:41] <TheAceOfHearts> sad
[10:33:57] *** atomatt has joined #angularjs
[10:35:04] <soee> oh interesting, but maybe my approach is not so good
[10:35:51] *** jaznow has joined #angularjs
[10:37:06] *** carlosmantilla has quit IRC
[10:37:27] <sacho> soee, what do you want to do?
[10:37:41] <TheAceOfHearts> you should build a robot~
[10:38:21] *** merb has quit IRC
[10:38:38] *** sai has joined #angularjs
[10:38:39] <sai> sdfasdf
[10:38:45] <sai> sai sagar
[10:38:46] <sai> sagar
[10:38:48] <sai> venkat
[10:38:50] <sai> sai sagar
[10:38:51] <sai> kache
[10:38:52] <sai> ls
[10:38:55] <sai> jagannsai
[10:39:00] *** c00ljs has joined #angularjs
[10:39:33] <sai> s
[10:39:34] <sai> s
[10:39:35] <sai> s
[10:39:37] <soee> sacho: pastebin.com/eq3MNjTU
[10:39:38] *** MrBaboon has quit IRC
[10:39:38] *** sai has quit IRC
[10:39:55] <soee> sacho: so i have json object from response, and i need to loop through messages
[10:40:05] *** jstroem has quit IRC
[10:40:18] *** jstroem has joined #angularjs
[10:40:33] <sacho> and messages are?
[10:41:30] <Fuzzier> i mean you could make your json an array of message objects
[10:41:31] <Fuzzier> then thats easy
[10:41:37] <soee> sacho: its a json response from server return response()->json(['model' => $model, 'messages' => ['success' => trans('record.created')]]);
[10:41:37] *** brettfrable has joined #angularjs
[10:41:40] *** plato has joined #angularjs
[10:42:49] *** kirfu has joined #angularjs
[10:43:13] *** okdamn has joined #angularjs
[10:43:27] <okdamn> do you think i can use angularjs with php pages or its a shit?
[10:43:33] *** junmin has joined #angularjs
[10:43:41] <okdamn> i mean its not a one-page app its a normal php website…
[10:43:52] *** sigurding has joined #angularjs
[10:43:55] <soee> okdamn: im using it on such project atm :)
[10:43:55] *** tarnus has joined #angularjs
[10:44:14] <arkin> can someone tell me whats wrong with my pattern ng-pattern="^[0-9]+(.[0-9]{1,2})?$", its showing the error: Token '.' not a primary expression at column 9 of the expression
[10:44:22] <okdamn> soee: so ok :D i mean i would like to avoid using jquery :D
[10:44:47] *** kirfu1 has quit IRC
[10:44:55] <soee> arkin: escape dot ? \.
[10:45:10] <arkin> soee: I tried
[10:45:20] <arkin> "^[0-9]+(\.[0-9]{1,2})?$" gives the same error
[10:45:42] <arkin> nvm seems to be jade
[10:46:15] *** jstroem has quit IRC
[10:46:34] *** jstroem has joined #angularjs
[10:46:34] *** bengillies has joined #angularjs
[10:47:11] *** eden_lane has joined #angularjs
[10:47:23] *** jstroem has quit IRC
[10:47:49] *** jstroem has joined #angularjs
[10:48:04] *** Aguenokk has quit IRC
[10:48:16] *** junmin has quit IRC
[10:48:28] *** davidreis has joined #angularjs
[10:48:43] *** tarnus has quit IRC
[10:49:00] *** lite_ has joined #angularjs
[10:49:20] *** tech2 has joined #angularjs
[10:51:29] *** bengillies has quit IRC
[10:52:11] *** corehook has quit IRC
[10:52:19] *** rburns has quit IRC
[10:52:25] *** AngularUI has joined #angularjs
[10:52:26] <AngularUI> bootstrap/gh-pages e10a1e6 Chris Chua: fix(demo): make custom builds work...
[10:52:26] *** AngularUI has left #angularjs
[10:52:40] *** AngularUI has joined #angularjs
[10:52:41] <AngularUI> bootstrap/master 390f2bf Chris Chua: fix(build): make custom builds on demo site work...
[10:52:41] *** AngularUI has left #angularjs
[10:52:48] *** AngularUI has joined #angularjs
[10:52:48]
<AngularUI> [bootstrap] chrisirhc closed pull request #2892: chore(build): make custom builds work (from browser) (master...feature/custom-build) http://git.io/__G80A
[10:52:48] *** AngularUI has left #angularjs
[10:53:21] *** tfennelly has quit IRC
[10:53:58] *** zivester has joined #angularjs
[10:54:46] *** bengillies has joined #angularjs
[10:55:41] *** TheAceOfHearts has quit IRC
[10:55:44] *** plato has quit IRC
[10:58:14] *** Josh has joined #angularjs
[10:58:38] *** Josh is now known as Guest39457
[11:00:19] *** lxer_ has joined #angularjs
[11:00:59] *** Proditor has quit IRC
[11:01:23] *** Proditor has joined #angularjs
[11:02:15] <lxer_> I made some changes on a template, but they dont show up after I reload my browser. what can I do about that?
[11:02:40] *** Guest39457 has quit IRC
[11:02:53] *** phuh has quit IRC
[11:03:09] <sacho> purge your browser's cache
[11:03:18] *** phuh has joined #angularjs
[11:03:21] *** plato has joined #angularjs
[11:04:01] *** edy has joined #angularjs
[11:04:02] <lxer_> sacho: it sucks to do that all the time during development. there must be a better way
[11:04:14] <sacho> tell your browser to stop caching
[11:04:28] *** SidFerreira has joined #angularjs
[11:04:50] <sacho> or configure your server to return no-cache headers
[11:05:09] <lxer_> sacho: thats a workaround. but very annoying
[11:05:18] <eden_lane> Hi, folks ! Could you suggest me a good example of angularjs app with source code ?
[11:05:34] *** uru|away is now known as uru
[11:06:05] <lxer_> eden_lane: what type of app?
[11:06:12] *** plato has quit IRC
[11:06:29] *** dharmit has quit IRC
[11:06:35] <eden_lane> lxer_: any
[11:06:50] <eden_lane> lxer_: i'm just looking for a good example of best practices
[11:07:56] *** Caroga_afk is now known as Caroga
[11:08:59] *** MistahKurtz has quit IRC
[11:09:24] *** NoNMaDDeN has quit IRC
[11:09:51] *** azizur has joined #angularjs
[11:11:13] *** trend has joined #angularjs
[11:11:44] *** nesquerra has quit IRC
[11:12:50] <lxer_> sacho: so how do you handle dynamic elements then? (a menu for example)
[11:13:39] *** TyrfingMjolnir has joined #angularjs
[11:13:47] <sacho> what about them?
[11:13:54] *** azizur8 has joined #angularjs
[11:14:26] *** Raging_Hog has quit IRC
[11:14:27] <lxer_> i asume you dont ask the user to clear the cache every time, right? ;)
[11:14:29] *** plato has joined #angularjs
[11:14:58] <sacho> ...what does "the user" have to do with this?
[11:14:58] *** jstroem has quit IRC
[11:15:12] *** jstroem has joined #angularjs
[11:15:14] *** jillesme has quit IRC
[11:15:47] *** trend has quit IRC
[11:16:15] *** azizur has quit IRC
[11:16:19] <lxer_> nevermind. you're useless.
[11:16:55] <jagga> hoi everyone atm my angular controller takes a little while to load on the server I'm hosting it at. There is a resource being passed through to the controller via the routeProvider. My thought was to implement a circle loading sort of animation etc until the controller has fully executed to load.
[11:17:00] <jagga> Is this trivial to achieve?
[11:17:08] <jagga> Or do I have the wrong idea completely
[11:17:22] <sacho> lxer_, why are you updating your templates on a production server?
[11:17:51] <lxer_> yes
[11:18:07] <sacho> jagga, sure, why not.
[11:19:06] <jagga> alright awesome
[11:19:13] *** adpirz has joined #angularjs
[11:19:48] <lxer_> "why are you updating your templates on a production server?" wow.. that must have been the most stupid question I heard in years..
[11:20:31] *** dejanr has joined #angularjs
[11:21:04] *** younqcass has joined #angularjs
[11:21:51] <jagga> relax guy
[11:21:58] *** aendrew has joined #angularjs
[11:23:09] *** ethlor has quit IRC
[11:23:37] *** adpirz has quit IRC
[11:23:37] *** jstroem has quit IRC
[11:24:08] *** jstroem has joined #angularjs
[11:24:58] *** JohnBat26 has quit IRC
[11:25:46] *** plato has quit IRC
[11:25:50] *** corehook has joined #angularjs
[11:25:54] *** tkimmel has joined #angularjs
[11:26:44] *** jillesme has joined #angularjs
[11:27:35] *** lugzer has joined #angularjs
[11:27:57] *** hmsimha_ has quit IRC
[11:28:07] *** lexek__ has joined #angularjs
[11:28:14] <lxer_> Some changes in my template don't show up after I reload the page. Some other templates update just fine. is there something in Angular that tells it to cache certain elements/files?
[11:28:20] *** arkonova has joined #angularjs
[11:29:43] *** yandos has joined #angularjs
[11:30:15] *** tkimmel has quit IRC
[11:30:17] *** mak`` has joined #angularjs
[11:30:42] <sacho> angular isn't magic. When you reload the page, all your previous scripts are unloaded.
[11:31:03] <sacho> Angular does have a template cache to avoid loading the same template multiple times, but it's irrelevant to your case.
[11:31:27] *** rahil has joined #angularjs
[11:32:05] *** sk87 has quit IRC
[11:32:37] *** eden_lane has quit IRC
[11:32:47] <soee> can i make submit button active only of any form field value changed ?
[11:33:16] *** gunn has quit IRC
[11:33:25] *** tfennelly has joined #angularjs
[11:33:53] *** firelinks has joined #angularjs
[11:34:12] <sacho> check out the form directive
[11:34:51] *** firelinks has quit IRC
[11:36:14] *** rahil has quit IRC
[11:36:20] *** gunn has joined #angularjs
[11:37:02] *** jaydubya has joined #angularjs
[11:37:07] *** sigurding has quit IRC
[11:38:16] *** jstroem has quit IRC
[11:38:29] *** jstroem has joined #angularjs
[11:39:03] *** favetelinguis has quit IRC
[11:39:06] *** Skrewtape has joined #angularjs
[11:39:27] <arkonova> Hi guys! I have bug I can't fix with a pretty much vanilla angular-fullstack generated app. $location.path() does work fine when fired from within one of my controllers...
[11:39:35] <arkonova> But when fired from the app.js's "$rootScope.$on('$routeChangeStart') for authenticated routes, only the browser's location is changed. The original route view is shown.
[11:39:37] *** favetelinguis has joined #angularjs
[11:39:40] <arkonova> However, this bug does not occur if I enter an authenticated route by hand, this time both location and view are correctly changed. Any idea? Hope this ring some bells...
[11:39:51] *** monir has joined #angularjs
[11:40:34] <Skrewtape> Why are you changing the path instead of redirecting to the new route?
[11:40:46] *** okdamn has quit IRC
[11:40:57] *** Skrewtape has quit IRC
[11:41:16] <arkonova> This is the original code used to redirect to /login if an authenticated route is used
[11:41:17] *** jaydubya has quit IRC
[11:42:26] <arkonova> Skrewtape: How could I redirect to a new route without using location.path?
[11:42:55] *** _ritchie_ has joined #angularjs
[11:43:10] <jillesme> Any ideas how you can filter your ng-repeat with an input model AND checkboxes?
[11:43:32] <jillesme> I've got 'item in items | filter: search'
[11:43:37] *** D-Boy has quit IRC
[11:43:39] <jillesme> And added models to my checkboxes
[11:43:41] *** favetelinguis has quit IRC
[11:43:44] *** D-Boy has joined #angularjs
[11:44:28] *** Versality has quit IRC
[11:45:07] *** laurensclaessen has quit IRC
[11:45:14] *** Versality has joined #angularjs
[11:45:45] *** zivester has quit IRC
[11:45:45] *** milka has quit IRC
[11:46:01] *** milka_ has joined #angularjs
[11:46:44] *** laurensclaessen has joined #angularjs
[11:48:12] *** qdk has quit IRC
[11:50:06] *** mattattaque has quit IRC
[11:50:06] *** brettfrable has quit IRC
[11:50:41] *** greengriminal has joined #angularjs
[11:51:31] *** nandoflorestan has joined #angularjs
[11:51:57] *** sk87 has joined #angularjs
[11:52:30] *** intellix has joined #angularjs
[11:53:26] *** Left_Turn has joined #angularjs
[11:53:54] *** sigurding has joined #angularjs
[11:53:56] *** eden_lane has joined #angularjs
[11:54:53] <DannyCallaghan> anyone used the $validators stuff in 1.3? have a question.
[11:55:01] *** yaneq has quit IRC
[11:55:05] <nandoflorestan> don't ask to ask.
[11:55:10] *** sk87 has quit IRC
[11:56:05] *** mjs2600 has quit IRC
[11:56:44] *** Nicolas________ has joined #angularjs
[11:57:15] <DannyCallaghan> nandoflorestan: :D not asking if i can ask, was checking if i'm wasting my time :)
[11:57:21] <DannyCallaghan> so, as i see it, in my custom directive i can do ngModel.$validators.foo = function () {…} ngModel.$validators.bar = function () {…}
[11:57:26] <DannyCallaghan> is there anyway i can use that directive on an element, but only validate to foo? or bar? rather than all of the methods on $validators for that directive?
[11:58:14] *** plato has joined #angularjs
[11:58:41] *** eden_lane has quit IRC
[11:58:53] *** damain has joined #angularjs
[11:59:25] *** Skrypter has joined #angularjs
[11:59:48] *** jdj_dk has quit IRC
[12:00:35] *** jstroem has quit IRC
[12:01:17] *** nesquerra has joined #angularjs
[12:01:28] *** arpu has quit IRC
[12:02:51] *** mjs2600 has joined #angularjs
[12:02:54] *** phuh has quit IRC
[12:03:12] *** herzi has joined #angularjs
[12:03:23] *** phuh has joined #angularjs
[12:04:05] *** Skrypter has quit IRC
[12:04:48] *** Skrewtape has joined #angularjs
[12:05:05] *** firelinks has joined #angularjs
[12:06:06] *** elyssonmr has joined #angularjs
[12:06:07] *** firelinks has quit IRC
[12:06:52] *** damain has quit IRC
[12:07:34] <Skrewtape> I just upgraded my code from AngularJS 1.2.22 to 1.3.2 and now I'm getting this error that it can't find my app module
[12:07:41] <Skrewtape> Did something change around how all that works?
[12:08:01] *** Foxandxss has joined #angularjs
[12:08:53] <DannyCallaghan> nandoflorestan: glad i asked :)
[12:09:13] *** otisZart has joined #angularjs
[12:09:20] *** damain has joined #angularjs
[12:09:39] *** otisZart has quit IRC
[12:10:03] *** otisZart has joined #angularjs
[12:10:10] *** _ritchie_ has quit IRC
[12:10:14] <DannyCallaghan> Skrewtape: i'm migrating too. there's nothing that would break due to the way it handles modules, so it must be something else in your code. the migration info on the docs has been good enough to remove all of my errors.
[12:10:29] <DannyCallaghan> Skrewtape: so far.
[12:10:57] *** monir has quit IRC
[12:11:12] <Skrewtape> Something is making it so it buidls and loads my JS files just fine, but then it can't find the module
[12:11:18] *** Aerospark has joined #angularjs
[12:11:40] *** plato has quit IRC
[12:12:00] <Skrewtape> Oh wait; it's actually crashing in angular-route.js
[12:13:14] *** arthas has joined #angularjs
[12:13:15] *** arthas has joined #angularjs
[12:13:21] *** jstroem has joined #angularjs
[12:14:18] *** Trow has joined #angularjs
[12:14:47] <Skrewtape> Aha
[12:15:12] <sacho> that's a blog post, not a problem
[12:15:12] *** fairuz has quit IRC
[12:16:05] *** Aerospark has quit IRC
[12:16:11] <Skrewtape> It's a blog post which describes a solution to a problem
[12:16:32] *** evilaliv3 has quit IRC
[12:16:35] *** cotko has joined #angularjs
[12:17:00] <sacho> ok..
[12:17:12] *** spaceonline has joined #angularjs
[12:18:18] *** cbennett has quit IRC
[12:20:47] *** carlosmantilla has joined #angularjs
[12:21:44]
<eamonn> Does anyone know why I can't seem to call a helper method in the 'request' property of an HTTP interceptor factory? http://pastie.org/9718789
[12:22:13] *** recidive has joined #angularjs
[12:22:45] <eamonn> I've also tried adding the helper method as a property on the returned object and using 'this'
[12:24:08] *** macobo has quit IRC
[12:24:09] *** sk87 has joined #angularjs
[12:24:19] *** cbennett has joined #angularjs
[12:24:34] *** cbennett has quit IRC
[12:24:50] *** reavengrey has quit IRC
[12:25:06] *** moritzs has quit IRC
[12:25:13] *** waverider has joined #angularjs
[12:25:29] *** cbennett has joined #angularjs
[12:25:52] *** carlosmantilla has quit IRC
[12:27:50] *** yaneq has joined #angularjs
[12:27:53] *** ogdabou has quit IRC
[12:28:10] <sacho> what do you mean "doesn't work"
[12:29:07] <sacho> did you register the interceptor?
[12:29:09] *** favetelinguis has joined #angularjs
[12:29:14] <eamonn> Yeah the interceptor itself works fine
[12:29:18] <sacho> you have a syntax error in your code.
[12:29:19] *** mak`` has quit IRC
[12:29:26] <eamonn> isUrlForAPI is undefined within the request function
[12:29:38] *** Somatt_wrk has quit IRC
[12:29:38] *** Somatt_wrk_ has joined #angularjs
[12:29:42] <eamonn> I deleted portions of it to make it easier to read, must have made a mistake
[12:29:57] <eamonn> but it is working
[12:30:06] <sacho> well, try making a plunker
[12:31:46] *** emmesswhy has quit IRC
[12:32:25] *** junmin has joined #angularjs
[12:32:47] *** tarnus has joined #angularjs
[12:33:34] *** basiclaser_ has joined #angularjs
[12:33:54] *** MattWelch has joined #angularjs
[12:33:58] *** cakirke has joined #angularjs
[12:34:14] *** Skrewtape has quit IRC
[12:34:25] *** rosieres has quit IRC
[12:35:18] *** nesquerra has quit IRC
[12:35:26] *** mak`` has joined #angularjs
[12:35:36] *** frem has joined #angularjs
[12:37:13] *** junmin has quit IRC
[12:37:53] *** tarnus has quit IRC
[12:38:53] *** H1FuelCell has joined #angularjs
[12:40:18] *** spatialbrew has joined #angularjs
[12:40:18] *** frem has quit IRC
[12:40:40] *** diegoaguilar has joined #angularjs
[12:40:43] *** mjs2600 has quit IRC
[12:40:50] *** ogdabou has joined #angularjs
[12:40:51] *** MattWelch has quit IRC
[12:41:17] *** adpirz has joined #angularjs
[12:41:49] *** laurensclaessen has quit IRC
[12:41:50] *** crakrjak has quit IRC
[12:42:34] *** spatialbrew has quit IRC
[12:43:50] *** Asiajey has joined #angularjs
[12:43:54] *** jstroem has quit IRC
[12:44:23] *** fedenunez has joined #angularjs
[12:44:39] *** H1FuelCell has quit IRC
[12:44:46] *** cakirke has quit IRC
[12:46:01] <eamonn> it was because I was assigning the variable name to be the same as the function name, and I think due to hoisting or something(?) it was wiping it back to undefined
[12:46:20] *** naneau has joined #angularjs
[12:46:48] *** cakirke has joined #angularjs
[12:46:50] * sacho facepalms
[12:47:01] <sacho> I should have noticed that
[12:47:56] <sacho> rather because variable declarations are hoisted, your code is something like var isUrlForApi; // shadow isUrlForApi isUrlForApi = isUrlForApi(config); // isUrlForApi is undefined here
[12:48:14] <eamonn> Yea
[12:48:33] <eamonn> That has caught me before! :/
[12:49:06] *** H1FuelCell has joined #angularjs
[12:49:07] *** fedenunez has quit IRC
[12:49:11] *** thumpba has joined #angularjs
[12:49:49] *** corehook has quit IRC
[12:50:25] *** corehook has joined #angularjs
[12:50:26] *** fedenunez has joined #angularjs
[12:50:34] *** corehook has quit IRC
[12:50:39] *** favetelinguis has quit IRC
[12:50:48] *** esk4nd4r has joined #angularjs
[12:52:27] *** jstroem has joined #angularjs
[12:53:24] *** jstroem_ has joined #angularjs
[12:53:24] *** jstroem has quit IRC
[12:53:53] *** qdk has joined #angularjs
[12:54:38] *** RangerRick has quit IRC
[12:54:57] *** RangerRick has joined #angularjs
[12:54:59] *** atomatt has quit IRC
[12:55:07] *** MattWelch has joined #angularjs
[12:55:21] *** jagga has quit IRC
[12:55:37] *** AtomicCookie has joined #angularjs
[12:56:14] *** corehook has joined #angularjs
[12:56:30] *** junmin has joined #angularjs
[12:56:31] *** crunch-choco has quit IRC
[12:57:38] *** younqcass has quit IRC
[12:58:03] *** HexSquid has joined #angularjs
[12:58:19] *** tech2_ has joined #angularjs
[12:58:21] *** adpirz has quit IRC
[12:58:36] *** josh-k has joined #angularjs
[12:58:56] *** jagga has joined #angularjs
[12:59:05] *** jstroem_ has quit IRC
[12:59:26] *** jstroem has joined #angularjs
[12:59:36] <HexSquid> Hello!
[12:59:50] *** MattWelch has quit IRC
[12:59:59] *** pipoo has joined #angularjs
[12:59:59] *** trend has joined #angularjs
[13:00:26] *** jillesme has quit IRC
[13:00:32] *** testerde has joined #angularjs
[13:01:11] *** junmin has quit IRC
[13:01:22] <HexSquid> Is it possible to set a constant from a service? I'm trying to load a 'config' object (different users get different configs) and then set constants in a route 'resolve', am I doing it wrong?
[13:01:28] *** fedenunez has quit IRC
[13:01:37] *** tech2 has quit IRC
[13:01:56] *** aendrew has quit IRC
[13:02:13] *** frobs has quit IRC
[13:02:17] *** aendrew has joined #angularjs
[13:02:48] *** tangorri has quit IRC
[13:02:57] *** phuh has quit IRC
[13:03:06] *** Typher has quit IRC
[13:03:16] *** Latros-OS has joined #angularjs
[13:03:24] *** phuh has joined #angularjs
[13:03:42] <testerde> Hi guys, I'm facing a problem: I'm creating hierarchical self-containing objects. so think of a: [{a: [{a: ... }] }]. For adding I have a function that may add siblings or child objects. Its confusing, but adding siblings will trigger the link function to be run. Adding child objects, the link function is not executed. What am I doing wrong?
[13:03:58] <testerde> Is there a way to trigger the link function to be called?
[13:04:26] *** Typher has joined #angularjs
[13:04:42] *** trend has quit IRC
[13:04:48] *** SergioFilhow has joined #angularjs
[13:04:58] <testerde> and most confusing: the object is there, if I do a round-trip of the object structure to the server, parsing it again, the link function will be called for each sibling and each child... So the only thing missing is that the link function is called directly after adding a child :/
[13:05:23] *** jillesme has joined #angularjs
[13:05:24] <sacho> how are you adding child objects
[13:05:26] *** jillesme has quit IRC
[13:05:26] *** jillesme has joined #angularjs
[13:05:28] *** Latros-OS has quit IRC
[13:05:30] *** jstroem has quit IRC
[13:05:35] *** jas-_ has joined #angularjs
[13:05:44] *** eBureau has joined #angularjs
[13:06:06] *** bealtine^ has joined #angularjs
[13:06:12] <soee> what would be the best way to prvent same request multiple times (for example if data in form did not changed )?
[13:07:00] *** Latros-OS has joined #angularjs
[13:07:06] *** bealtine has quit IRC
[13:07:17] *** corehook has quit IRC
[13:07:42] *** mmealling has quit IRC
[13:08:06] *** djam90 has joined #angularjs
[13:08:17] <testerde> sacho: if there is already a child array, i do that.children.push({...}), if there is none, I first add a children array with that.children = [] and then do the push. The first works (so the link function is called), the second works (so there is no error and the object is as expected) but no link function is called
[13:08:28] *** mjs2600 has joined #angularjs
[13:08:56] <sacho> ??
[13:09:23] <sacho> are you using ng-repeat to display this hierarchy?
[13:09:29] *** Typher has quit IRC
[13:09:54] <testerde> sacho: yeah, the link function should add the directive itself to the template again for each child
[13:09:58] *** enkristo_ has joined #angularjs
[13:10:02] *** mguillech has joined #angularjs
[13:10:08] <djam90> I have been building an online car service booking form using Laravel and PHP with a hint of jQuery to handle some of the front-end. Stage 1: select reg number, sends it to API and the vehicle details are returned. Step 2: select a location. location is sent to API and the list of services is returned. Stage 3: select services, then step 4, select a date on a calendar (calander is quite dynamic, prices shown on it change depending on values
[13:10:08] <djam90> in database)
[13:10:09] *** danizord has joined #angularjs
[13:10:24] <djam90> Someone suggested I do it in frontend framework alone instead of using Laravel and a staged process, to instead do a SPA
[13:10:35] *** Skrypter has joined #angularjs
[13:10:41] *** jillesme has quit IRC
[13:10:41] <sacho> why, are you having problems with your current setup?
[13:10:49] *** Raging_Hog has joined #angularjs
[13:10:54] *** Latros-OS has quit IRC
[13:11:48] <djam90> sacho if that question is to me, well the calendar is proving problematic, when a date is chosen, I need to grab the price associated with that date, and the jQuery slowly becoming spaghetti code trying to block out Sundays, putting the price into the actual cell on the date picker and using that price
[13:12:03] <djam90> also with regards to going back a step, currently it is messy, handled by Sessions in PHP
[13:12:17] <djam90> i could provide you a link to it currently to have a look?
[13:12:26] *** simplyshipley has joined #angularjs
[13:13:52] *** zemanel has joined #angularjs
[13:14:20] *** vassagus has joined #angularjs
[13:14:34] *** mguillech has quit IRC
[13:14:47] *** tkimmel has joined #angularjs
[13:14:52] *** Skrypter has quit IRC
[13:14:59] *** santhu78 has joined #angularjs
[13:15:55] <santhu78> hai
[13:16:07] *** carlosmantilla has joined #angularjs
[13:16:21] <djam90> I am just wondering if AngularJS or even another JS framework would be more suitable for this type of project
[13:16:26] <djam90> however I have never done routing in Angular
[13:16:41] *** carlosmantilla has quit IRC
[13:16:42] <djam90> and I think this would be quite a learning curve to be passing data between each view
[13:17:01] *** carlosmantilla has joined #angularjs
[13:17:26] *** santhu78 has quit IRC
[13:17:33] *** plato has joined #angularjs
[13:18:57] *** intellix has quit IRC
[13:18:57] <djam90> sacho mind if I PM you the link?
[13:19:01] *** vassagus has quit IRC
[13:19:04] <testerde> djam90: no need to do a complete SPA for that. Sounds good to me what you're doing
[13:19:27] *** tkimmel has quit IRC
[13:19:58] <djam90> it just seems much extra work involved in making sure the user can go back a step, and passing data between each step, when they are forms that POST the data but then being able to go to the same page via GET without that data without it breaking
[13:20:11] <testerde> djam90: you just should avoid messing around every part of the website to be bound together. strip parts to own components. Have a look at Web Components e.g.
[13:20:40] <testerde> djam90: SPA isn't an anwer to everything ;)
[13:20:49] *** danizord has quit IRC
[13:20:56] *** emmesswhy has joined #angularjs
[13:21:17] *** carlosmantilla has quit IRC
[13:21:18] <sacho> djam90, I'm not sure why "the jquery" code is becoming spaghetti, or how a framework would help you with it
[13:22:12] <testerde> djam90: but you could for example make the part of step 1-4 to be a little application with angular, just having a clean part of your whole website to be declared as an angular app with multiple views
[13:22:17] *** milka_ is now known as milka
[13:23:02] *** adpirz has joined #angularjs
[13:23:06] <sacho> that doesn't look like spaghetti code
[13:23:12] *** bealtine^ has quit IRC
[13:23:14] *** cakirke has quit IRC
[13:23:15] <testerde> :)
[13:23:56] <testerde> sacho: do you have any tips to my problem above?
[13:24:32] *** borvoh_ has joined #angularjs
[13:25:54] *** plato has quit IRC
[13:25:59] *** jaydubya has joined #angularjs
[13:26:02] <sacho> I don't know what you're doing
[13:27:37] *** glassir_ has joined #angularjs
[13:27:37] *** glassir has quit IRC
[13:28:58] *** _thumpba has joined #angularjs
[13:29:07] *** borvoh_ has quit IRC
[13:29:30] <testerde> sacho: it's sadly hard to show a fiddle, because it's a complex thing to strip down to the basics. Is it bad practise to add ng-repeat self-containing directives in a link function?
[13:30:17] *** jaydubya has quit IRC
[13:30:18] <sacho> probably.
[13:30:49] *** sk87 has quit IRC
[13:30:51] *** damain has quit IRC
[13:31:01] *** josh-k has quit IRC
[13:31:26] <testerde> should i add the ng-repeat in the template of the directive itself? but won't that probably end up with a big boom? :D
[13:31:35] *** josh-k has joined #angularjs
[13:32:23] *** thumpba has quit IRC
[13:32:40] <sacho> angular won't compile elements it's already compiled
[13:32:53] <sacho> so adding directives in the link function won't "do" anything, unless you actually compile them yourself
[13:33:18] *** bee_keeper has joined #angularjs
[13:33:36] *** bealtine has joined #angularjs
[13:33:41] *** Latros-OS has joined #angularjs
[13:35:14] *** favetelinguis has joined #angularjs
[13:36:06] *** josh-k has quit IRC
[13:36:21] *** chilloutalready has joined #angularjs
[13:36:23] *** Click66 has quit IRC
[13:36:34] *** brettfrable has joined #angularjs
[13:36:38] *** sandelius has joined #angularjs
[13:37:05] *** deviled has joined #angularjs
[13:37:28] *** HexSquid has quit IRC
[13:37:54] *** jstroem has joined #angularjs
[13:38:16] *** cakirke has joined #angularjs
[13:38:34] *** gazbond has quit IRC
[13:39:41] *** NoNMaDDeN has joined #angularjs
[13:39:57] *** dejanr has quit IRC
[13:40:03] <djam90> So in Angular, is it possible to load up a specific view, and when the NEXT button is clicked, switch it with the second view, and the third, and also go back to the second, without touching the URL?
[13:40:52] *** rmichnik has joined #angularjs
[13:41:20] *** eBureau has quit IRC
[13:41:28] <sacho> sure
[13:41:34] *** adpirz has quit IRC
[13:41:44] <sacho> there's no built-in directive to do that - you'd need to roll your own.
[13:41:51] <sacho> probably something using ng-include
[13:42:04] <sacho> or ng-if
[13:42:12] <djam90> sacho, is ui-router something different?
[13:42:33] <djam90> (I want to avoid any type of URL switching, I just want one page with multiple views)
[13:42:42] *** nandoflorestan has quit IRC
[13:42:49] *** younqcass has joined #angularjs
[13:43:20] *** cbennett has quit IRC
[13:43:22] <djam90> also is ngRoute something different?
[13:43:27] *** jaydubya has joined #angularjs
[13:43:47] *** tangorri has joined #angularjs
[13:43:48] *** eamonn has quit IRC
[13:43:48] *** svycka has joined #angularjs
[13:43:54] *** alxd has joined #angularjs
[13:43:58] <sacho> well, you could use ui-router and switch between states manually.
[13:44:28] *** sahbeewah has quit IRC
[13:44:29] <alxd> I am using a ng-click on a <div> inside another <div> with ng-click - how can I make the inner one not activate the outer? Going with $event.stopPropagation(); stops ALL the ng-clicks.
[13:44:51] <sacho> "all the ng-clicks"?
[13:44:52] *** kirfu has quit IRC
[13:45:03] *** deviled has quit IRC
[13:45:04] *** H1FuelCell has quit IRC
[13:45:10] *** aendrew has quit IRC
[13:45:18] <sacho> do you get any errors? did you pass $event to your handler?
[13:45:20] <alxd> sacho, when clicking on the inner ng-click, it is stopped as well as the outer one
[13:45:27] *** damain has joined #angularjs
[13:45:28] <SergioFilhow> djam90: have you tried nested views?
[13:45:37] <alxd> sacho, ng-click="myFunctionSth($event)"
[13:45:49] *** mattattaque has joined #angularjs
[13:45:50] *** FunnyLookinHat has joined #angularjs
[13:45:52] *** Fire-Dragon-DoL has joined #angularjs
[13:46:12] <djam90> SergioFilhow, nope. I have never done anything with switching views. How do nested views work?
[13:46:19] <SergioFilhow> djam90: with ui-router you can define nested views, for example: state 'main' and state 'main.subscreen'
[13:46:35] <SergioFilhow> inside 'main' there's a templateView with a element ui-view
[13:46:43] *** brettfrable has quit IRC
[13:46:59] <SergioFilhow> when you try to switch to state 'main.subscreen' the view from subscreen will be loaded inside the element with ui-view
[13:47:07] *** damain has quit IRC
[13:47:08] *** plato has joined #angularjs
[13:47:26] <sacho> alxd, do you have a plunker with your code?
[13:47:43] <djam90> SergioFilhow, have you seen an example of any?
[13:47:49] <SergioFilhow> e.g: <section ui-view></section>
[13:48:02] *** davidreis_ has joined #angularjs
[13:48:16] <SergioFilhow> let me try to show you on plunker
[13:48:23] <djam90> awesome!
[13:48:48] *** davidreis_ has quit IRC
[13:49:27] *** davidreis has quit IRC
[13:50:27] *** azizur8 has quit IRC
[13:51:20] *** zzing has joined #angularjs
[13:51:37] *** emmesswhy has quit IRC
[13:52:23] *** mattattaque has quit IRC
[13:53:30] *** sk87 has joined #angularjs
[13:54:36] *** paradox41 has joined #angularjs
[13:54:56] *** mattattaque has joined #angularjs
[13:55:03] *** ikanobori__ is now known as ikanobori
[13:55:20] *** lsiv568 has joined #angularjs
[13:55:26] *** ikanobori has quit IRC
[13:55:26] *** ikanobori has joined #angularjs
[13:56:10] *** macobo has joined #angularjs
[13:56:24] *** crunch-choco has joined #angularjs
[13:56:31] *** monir has joined #angularjs
[13:56:43] <alxd> sacho, it works on plunkr, there seems to be something wrong with my code
[13:56:46] *** soee has quit IRC
[13:56:48] *** crunch-choco is now known as Guest51483
[13:57:13] *** plato has quit IRC
[13:57:17]
<jaydubya> hammering on this for hours and it is winning ... I am trying ANYTHING that will make the icon change to the appropriate color after being clicked. IE, if the value is 0, it should be gray or have a class of .pending, 1 should be green or class .completed, and 2 should be red or class .overdue. The values change nicely but the color doesn't. http://plnkr.co/edit/Fhur5JXidZeaXtGnH5EJ?p=preview
[13:57:25] *** brettfrable has joined #angularjs
[13:58:21] <sacho> ugh, alerts
[13:58:45] *** rchavik has quit IRC
[13:59:16] *** Seus has joined #angularjs
[13:59:35] *** MrBaboon has joined #angularjs
[13:59:53] *** fedenunez has joined #angularjs
[14:00:02] *** mmealling has joined #angularjs
[14:00:14] <Seus> is there any particular reason why my directive’s link function is called by my web app multiple times? It’s NOT inside of an ng-repeat
[14:00:14] *** azizur has joined #angularjs
[14:00:26] *** tarnus has joined #angularjs
[14:00:30] *** jstroem has quit IRC
[14:00:40] <djam90> Is your script included twice?
[14:00:42] *** poofmooter has joined #angularjs
[14:00:46] <djam90> Sounds stupid but happened to me once
[14:00:51] <Seus> hmm
[14:00:55] <Seus> let me double check
[14:01:00] <djam90> had a click event firing twice, the script was in the HTML twice!
[14:01:02] *** MattWelch has joined #angularjs
[14:01:06] *** jstroem has joined #angularjs
[14:01:16] *** slopjong has quit IRC
[14:02:03] <Seus> so the directive is only included once in my index.html file
[14:02:12] <Seus> and the tag itself is only present once in the template html file
[14:02:57] *** phuh has quit IRC
[14:02:58] *** mattattaque has quit IRC
[14:03:15] <sacho> well, use the debugger and figure out which elements the directive is being applied on
[14:03:16] <Seus> i have an idea to at least see where the issue is
[14:03:28] *** phuh has joined #angularjs
[14:03:33] *** sikor_sxe has joined #angularjs
[14:03:38] <sacho> e.g. break in the link function and inspect the element parameter
[14:03:47] <Seus> ah that’s a good idea
[14:03:51] <Seus> hadn’t thought of that yet
[14:04:00] *** MrBaboon has quit IRC
[14:04:25] *** bwin has joined #angularjs
[14:04:41] *** shinnya has joined #angularjs
[14:04:47] <sikor_sxe> hey there, ui-router changed behaviour in their last release when it comes to the parsing of params, numstrings are now not converted to numbers any more
[14:04:53] *** mogaj has quit IRC
[14:04:55] <sikor_sxe> do you think this is by purpose?
[14:05:15] <sikor_sxe> i don't see anything in the changelog clarifying this, and it is a breaking change
[14:05:34] *** jstroem has quit IRC
[14:05:38] *** bullicon has quit IRC
[14:05:46] *** crakrjak has joined #angularjs
[14:05:52] <SergioFilhow> djam90: please let me know If the code is clear
[14:05:54] *** mattattaque has joined #angularjs
[14:07:06] *** shaym_ has quit IRC
[14:08:04] *** yandos has quit IRC
[14:08:45] *** d10n-work has joined #angularjs
[14:09:16] *** paradox41 has quit IRC
[14:09:17] *** yandos has joined #angularjs
[14:10:36] *** kp666 has quit IRC
[14:10:38] *** aendrew has joined #angularjs
[14:10:43] *** sahbeewah has joined #angularjs
[14:10:47] *** akrikos has joined #angularjs
[14:11:47] *** volkan has joined #angularjs
[14:12:39] *** Aerospark has joined #angularjs
[14:13:16] *** annlewis has joined #angularjs
[14:13:34] *** volkan has quit IRC
[14:14:20] *** sandelius has quit IRC
[14:14:43] <Foxandxss> How do you use socket.io on angular if the backend is via CORS o proxied?
[14:14:51] *** mattattaque has quit IRC
[14:15:10] *** gazbond has joined #angularjs
[14:15:20] <Foxandxss> I guess I can download a package for that
[14:15:31] <Foxandxss> I am really ignorant on socket.io
[14:15:59] <bd-> what do you meaan?
[14:16:02] *** recidive has quit IRC
[14:16:05] <bd-> the proxied part
[14:16:32] *** jillesme has joined #angularjs
[14:16:41] <Foxandxss> I have my express on :3000 for example
[14:16:47] <Foxandxss> and then I have my angular workflow on :5000
[14:16:58] <Foxandxss> but all the request I do on angular like $http.get('/api/foo');
[14:17:04] <Foxandxss> are proxied to localhost:3000/api/foo
[14:17:27] *** Aerospark has quit IRC
[14:17:30] *** sacho_ has joined #angularjs
[14:17:40] *** tristanp has joined #angularjs
[14:17:44] *** Milkweed has joined #angularjs
[14:17:51] <bd-> you mean you want to change the websocket endpoint with like, an interceptor?
[14:17:53] *** recidive has joined #angularjs
[14:18:06] <Foxandxss> so far no idea
[14:18:18] <Foxandxss> I am not into socket.io
[14:18:24] <Foxandxss> so I see you normally do: <script src="/socket.io/socket.io.js"></script>
[14:18:35] <Foxandxss> but since angular is not served my express
[14:18:37] *** IvailoStoianov has joined #angularjs
[14:18:39] <Foxandxss> you don't have access to that
[14:19:03] <bd-> you can load the socket.io clientside js from whereever
[14:19:08] <bd-> it doesn't have to be served by express
[14:19:11] <Foxandxss> oh
[14:19:30] <Foxandxss> I am socket.io ignorant :P
[14:19:42] *** HexSquid has joined #angularjs
[14:19:47] *** bealtine has quit IRC
[14:20:01] *** Typher has joined #angularjs
[14:20:06] <bd-> some people recommend engine.io instead of straight socket.io
[14:20:33] <bd-> i'm not sure the details but socket.io is/was 'bad' in some way
[14:20:37] *** sacho has quit IRC
[14:20:48] <Bennit> Hi, using ui-router and $stateProvider, is it possible to transition from a state of one module to a state of another module
[14:21:01] <BahamutWC|Lapt-1> Bennit: sure, nothing wrong with that
[14:21:05] <testerde> any way to avoid a self-containing directive (<my-directive ng-repeat="childs in that.children">) to destroy the browser? :D
[14:21:12] <BahamutWC|Lapt-1> bd-: something to do with performance I think
[14:21:15] <Bennit> I tried this but angular says it can't resolve the state i'm trying to transition to
[14:21:16] <bwin> try to move cursor on corner of document, and document autoscrolls, but it generates alot of $timeout, even they are canceled, why they are a lot?
[14:21:24] *** nandoflorestan has joined #angularjs
[14:21:28] *** arkonova has quit IRC
[14:21:53] *** HexSquid has quit IRC
[14:22:02] *** hdon has joined #angularjs
[14:22:55] <Foxandxss> well, I don't care about competences right now, just wanted to make it work for a demo
[14:23:01] <Foxandxss> thanks bd- that helped
[14:23:28] *** Click66 has joined #angularjs
[14:24:13] *** codephobic has joined #angularjs
[14:24:16] <codephobic> hi
[14:24:28] *** frem has joined #angularjs
[14:24:30] <Foxandxss> I need to specify the node URL to make it work tho, but it is an step
[14:24:36] *** Rafzzz has joined #angularjs
[14:24:42] <bwin> want a directive, that can autoscroll page when cursor gets to the edge of document, i use $timeout, but guys any better idea?
[14:24:44] <Rafzzz> can i use $inject on services?
[14:24:58] <Rafzzz> getting conflicting accounts and my code breaks on .min at moment QQ
[14:25:22] <sacho_> yes you can
[14:25:37] *** azizur has quit IRC
[14:25:38] <djam90> bwin what is wrong with timeout here
[14:25:57] *** eden_lane has joined #angularjs
[14:26:44] *** hswolff has quit IRC
[14:26:48] *** crakrjak has quit IRC
[14:27:20] <bwin> djam90: as you can see in console of demo, there is alot of timeout generated, is that normal behaviour? im afraid if it can crash browser, or eats alot memory
[14:27:35] *** crakrjak has joined #angularjs
[14:28:14] <djam90> bwin where is the demo
[14:28:15] *** rburns has joined #angularjs
[14:28:22] <codephobic> quick question, how do you validate that a user is logged in, when using a RESTful approach? I'm new to angularjs/RESTful applications and I'm just trying to mentally get a picture of how you cope without cookies/session objects
[14:28:45] *** hswolff has joined #angularjs
[14:29:07] *** frem has quit IRC
[14:29:09] *** cakirke has quit IRC
[14:29:20] <bwin> codephobic: you can just request any data from server, and if it can return 401, you are validated
[14:29:28] <djam90> bwin the timeout is to be expected I guess. If you need to constantly check if the mouse is at that location all the time
[14:29:33] *** alinouman has joined #angularjs
[14:29:38] <bwin> codephobic: i mean $interceptor
[14:29:51] *** crakrjak has quit IRC
[14:29:56] *** monir has quit IRC
[14:30:09] *** Bunhok has joined #angularjs
[14:30:12] <bwin> djam90: no bad code in there
[14:30:22] <Bunhok> Hell
[14:30:29] <Bunhok> Hello
[14:30:37] *** mccarrontr1ck has joined #angularjs
[14:30:41] *** qrob has quit IRC
[14:30:42] <bwin> djam90: forgot this "?"
[14:31:10] <djam90> I'm not the best person to check over the Angular code bwin but maybe someone else might
[14:31:16] *** plato has joined #angularjs
[14:31:37] *** corehook has joined #angularjs
[14:31:52] <bwin> nevermind, me to
[14:32:26] <Bunhok> Could I ask you all a question?
[14:32:31] <djam90> bwin have a Google: angular auto scroll module directive
[14:32:46] *** tkimmel has joined #angularjs
[14:32:57] *** plato has quit IRC
[14:32:58] <codephobic> bwin, but wouldn't I be using the url, say /user/32/ ..., after I log-in and would that not mean that someone else could simply type that in and be "logged in", if there are no cookies/session objects to check that the request is originating from the same place as the original log-in credentials were sent?
[14:32:58] *** eBureau has joined #angularjs
[14:34:06] *** ssucreme has joined #angularjs
[14:34:20] *** danecando has quit IRC
[14:34:26] *** ciwolsey has joined #angularjs
[14:34:39] <Bunhok> My question is when I added attribute 'ng-model' to input or others control, these control was added attribute 'tabindex=0' automatically.
[14:35:40] *** gnrlbzik has quit IRC
[14:35:56] *** gnrlbzik has joined #angularjs
[14:36:01] <bwin> codephobic: you need cookie, or something that can be inserted into header, so you can check it in serverside and responde accordingly
[14:36:12] <codephobic> ah
[14:36:23] <jaydubya> Is it possible to trigger a "refresh" of a directive?
[14:36:32] <bwin> Asp.net does it automatically
[14:37:06] *** gnrlbzik has quit IRC
[14:37:11] <Rafzzz> Anyone got any tips on how to debug DI in a minified file?
[14:37:27] *** trend has joined #angularjs
[14:37:27] <codephobic> bwin, everything I read about REST just says that you do not use cookies/session objects, that it is all a combination of url, data and request headers
[14:37:28] <Rafzzz> Got unknown provider but dont know what line etc...
[14:37:34] <SergioFilhow> jaydubya: perharps your directive is incomplete, maybe you should put a watcher in your directive
[14:38:39] <bwin> codephobic: yup, but cookie is just storage, which is always grabbed by request header, so when you request something,
[14:39:10] <codephobic> bwin, thanks that clears up a lot of the confusion I've been having.
[14:39:15] <bwin> codephobic: you can store token inside app, but when browser closes it, you loose that, so you store it inside cookie, and get back on request
[14:39:28] <eden_lane> Hello folks. Could you suggest a repository with working (not demo) app on Angular.js ?
[14:39:35] <jaydubya> SergioFilhow: so you are saying that I $watch() the value inside the directive and change an attribute when needed?
[14:39:46] <codephobic> bwin, will do, thanks! :)
[14:39:51] <bwin> eden_lane: dellapp.dyndns.org:9999
[14:39:54] *** pipoo has quit IRC
[14:40:01] <SergioFilhow> jaydubya: yea
[14:40:21] <bwin> eden_lane: oh, i cannot give you pw, but you can see all the scripts there
[14:40:31] <codephobic> I'm trying to learn angularjs/RESTful app development, by doing things I normally do, in this paradigm...
[14:40:37] *** nandoflorestan has quit IRC
[14:40:37] <jaydubya> SergioFilhow: what would I Google, I've never used $watch() before
[14:40:54] <eden_lane> bwin: didn't work
[14:41:24] <bwin> eden_lane: works indead
[14:41:24] *** favetelinguis has quit IRC
[14:41:29] *** waverider has left #angularjs
[14:41:48] <eden_lane> bwin: hmm, but not for me
[14:41:48] *** recidive has quit IRC
[14:42:04] *** trend has quit IRC
[14:42:06] *** wdna has quit IRC
[14:42:23] *** jstroem has joined #angularjs
[14:42:40] <Helzibah> in Russian (?)
[14:42:54] <bwin> eden_lane: oh sorry, im extracting it right now wait a minute
[14:43:04] *** plato has joined #angularjs
[14:43:08] <eden_lane> :D
[14:43:13] <eden_lane> yep, it's russian
[14:43:28] <bwin> eden_lane: try again ;)
[14:44:00] *** cbennett has joined #angularjs
[14:44:20] <eden_lane> bwin: thanks, it works now
[14:44:37] <jaydubya> SergioFilhow: that's promising ... in a directive, do I do the $watch in the Link?
[14:44:39] *** spaceonline has quit IRC
[14:45:11] *** cbennett has joined #angularjs
[14:45:18] *** SargoDarya has joined #angularjs
[14:45:56] <eden_lane> bwin: thanks, but i'm looking for a big open-source angular-app
[14:46:07] *** borvoh has joined #angularjs
[14:46:10] <SergioFilhow> jaydubya: yea
[14:46:32] <SergioFilhow> but you can also do the $watch in the controller, if you want to
[14:46:35] <SargoDarya> Just stumbled over an interesting thing. If you create a radio button group and do not mount it in the DOM you can select multiple values.
[14:46:42] <bwin> eden_lane: oh ok
[14:47:03] <eden_lane> bwin: всё равно большое спасибо
[14:47:25] *** elyssonmr has quit IRC
[14:47:26] *** Snugug has joined #angularjs
[14:47:41] *** favetelinguis has joined #angularjs
[14:47:49] *** BillCriswell has joined #angularjs
[14:48:42] *** favetelinguis has quit IRC
[14:49:15] *** cbennett_ has joined #angularjs
[14:49:24] *** cbennett has quit IRC
[14:50:15] <bwin> eden_lane: незачто
[14:50:20] *** plato has quit IRC
[14:50:38] *** corehook has quit IRC
[14:51:13] *** annlewis has quit IRC
[14:52:42] *** Linell has joined #angularjs
[14:52:56] *** ctanga has joined #angularjs
[14:53:10] *** bayousoft has joined #angularjs
[14:53:13] *** recidive has joined #angularjs
[14:53:49] *** codephobic has quit IRC
[14:53:52] *** Sjimi has joined #angularjs
[14:54:33] *** Snugug has quit IRC
[14:54:46] *** Mahonar has joined #angularjs
[14:54:47]
<jaydubya> SergioFilhow: This is my use-case (http://plnkr.co/edit/Fhur5JXidZeaXtGnH5EJ?p=preview) and I just need to change the color of the icon when the value passed in changes. There are actually 24 of these on a page so I would like to keep as much logic inside the directive as I can. I can't figure out where the $watch goes. I appreciate your help.
[14:54:47] *** eamonn has joined #angularjs
[14:55:00] *** edrocks has joined #angularjs
[14:55:38] *** Raging_Hog has quit IRC
[14:55:45] *** ronskisika has joined #angularjs
[14:55:58] *** ^Denis has joined #angularjs
[14:56:21] <SidFerreira> Ok, just found out why :)
[14:56:38] *** jillesme has quit IRC
[14:57:24] <SergioFilhow> jaydubya: let me see
[14:58:29] *** bayousoft has quit IRC
[14:59:00] *** mel| has joined #angularjs
[14:59:06] *** bayousoft has joined #angularjs
[14:59:08] *** Versality has quit IRC
[14:59:19] *** Skrypter has joined #angularjs
[14:59:33] *** _thumpba has quit IRC
[14:59:35] <mel|> hi there, i'm trying to understand how to unit test with $httpBackend
[14:59:44] *** Versality has joined #angularjs
[15:00:03] *** jillesme has joined #angularjs
[15:00:22] *** livingstn has joined #angularjs
[15:00:27] <mel|> in my controller, i have a function that fetches some json data from an external rest service ( GET /xy/info)
[15:00:34] *** crakrjak has joined #angularjs
[15:00:35] *** MrBaboon has joined #angularjs
[15:00:43] *** ^Denis has quit IRC
[15:00:50] *** shinnya has quit IRC
[15:01:03] *** ronskisika has quit IRC
[15:01:03] *** prosper_ has joined #angularjs
[15:01:10] *** emmesswhy has joined #angularjs
[15:01:30] <mel|> i'd like to fake the response with $httpBackend.when(GET, /xy/info).respond(200, {somefakeJSON})
[15:01:31] *** bayousoft has quit IRC
[15:01:36] *** parky128 has joined #angularjs
[15:01:38] *** edzez_ has joined #angularjs
[15:01:43] *** evilaliv3 has joined #angularjs
[15:01:46] *** cbeacock1 has joined #angularjs
[15:01:58] *** bayousoft has joined #angularjs
[15:02:06] <parky128> Hello Angular Gods
[15:02:23] *** mven_ has quit IRC
[15:02:50] *** crakrjak has quit IRC
[15:02:52] <mel|> when i run that function in the test, I can't seem to reach either one of the promises result functions
[15:03:35] <SergioFilhow> jaydubya: when the icon is clicked you want to change the value and change dom properties, is that right?
[15:03:49] <jaydubya> SergioFilhow: yes
[15:03:56] *** Skrypter has quit IRC
[15:03:57] <mel|> so in the end, the test tests '' toBe {somefakeJSON}
[15:04:02] *** elyssonmr has joined #angularjs
[15:04:09] *** edzez has quit IRC
[15:04:33] *** bayousoft has quit IRC
[15:04:34] <mel|> so i guess the response for that call doesnt actually get mocked?
[15:04:53] <jaydubya> SergioFilhow: the color of the icon has to change as well as the value ... 0 is CCC, 1 is 006837 and 2 is 990000
[15:05:08] <SergioFilhow> why did you create two directives?
[15:05:09] *** bayousoft has joined #angularjs
[15:05:12] *** jae has quit IRC
[15:05:17] *** carlosmantilla has joined #angularjs
[15:05:18] *** MrBaboon has quit IRC
[15:05:36] *** VeeWee has quit IRC
[15:05:36] <mel|> are promises in general a problem when unit testing?
[15:05:48] *** Owner__ has joined #angularjs
[15:05:49] *** mica has joined #angularjs
[15:05:58] *** mica has left #angularjs
[15:06:12] *** Owner__ is now known as Guest40759
[15:06:19] *** ^Denis has joined #angularjs
[15:06:27] <SergioFilhow> jaydubya: angularjs has ng-click, I think it could replace your sglclick directive
[15:06:45] *** iribarne has joined #angularjs
[15:07:03] *** FIFOd[a] has joined #angularjs
[15:07:14] *** sacho_ has quit IRC
[15:07:43] *** walden|afk is now known as walden
[15:08:14] *** whitebook has joined #angularjs
[15:08:22] *** Bunhok has quit IRC
[15:08:51] *** simplyshipley has quit IRC
[15:09:10] *** sacho has joined #angularjs
[15:09:21] *** lsiv568 has quit IRC
[15:09:34] *** neo2k has left #angularjs
[15:10:05] *** carlosmantilla has quit IRC
[15:10:34] *** bayousoft has quit IRC
[15:11:03] *** bayousoft has joined #angularjs
[15:11:07] <jaydubya> SergioFilhow: if you use ng-bdlclick and ng-click on the same item, the ng-click is ignored so I found a workaround with that sglclick directive
[15:11:16] *** aendrew has quit IRC
[15:11:22] *** bradgignac has joined #angularjs
[15:11:26] *** simplyshipley has joined #angularjs
[15:11:28] <SergioFilhow> aw, I see
[15:12:16] *** danecando has joined #angularjs
[15:12:23] *** SidFerreira has quit IRC
[15:12:40] *** darrin has joined #angularjs
[15:12:55] *** lthomas has joined #angularjs
[15:13:16] <bitnumus> Hi, i'm trying to use ngrepeat to make a list of buttons, but its not honoring the CSS why would this be ?
[15:13:23] <parky128> Hi, I am looking at adding some authentication logic to my app, and need a http request to be made as soon as the app launches to check if a user has a session already running (session cookie present)...
[15:13:36] <jaydubya> SergioFilhow: This directive is the CENTRAL gui mechanism for the entire app so it has to serve as an indicator (color of icon), a default action (single click), a "special case" (a double click which will pop up a modal for explanation) and a hover (to see a tooltip of info) and I am SOOOOO over my head with it
[15:13:44] <bitnumus> <button ng-repeat="symbol in symbols" type="button" class="btn btn-square btn-primary" href=#> {{ symbol }} </button> <<< "btn" class has padding but its not working
[15:13:44] <Linell> butnumus: It definitely *should*. Can you create a plunker?
[15:13:45] *** HexSquid has joined #angularjs
[15:13:45] <edrocks> is there anyway to have a default value for a template when you have to bind two variables? ng-bind="var1 || 'n/a'" works with one var but I cant get it to work with two
[15:13:49] *** cuebix-wk has joined #angularjs
[15:13:57] <Linell> butnumus: oh, nvm
[15:14:15] <HexSquid> Is it possible to lazily initialise constants?
[15:14:24] *** tristanp has quit IRC
[15:15:13] <parky128> I am thinking, that as soon as my app launches, redirect to a dedicated 'authenticating' page with a controller that does my session check logic, and on success redirect back to my main application e.g index.html, setting a logged in flag of sorts so rest of app knows users is authenticated
[15:15:16] *** jeffbalboni has joined #angularjs
[15:15:19] *** BahamutWC_ is now known as BahamutWC
[15:15:22] <bitnumus> Linell, ?
[15:15:56] <Linell> bitnumus: looks right to me. You've inspected the actual html generated and the class just isn't there?
[15:16:08] <edrocks> parky128: I use a "home" route which either redirects to the dashboard if your logged in or to my login page if your not
[15:16:27] *** azizur has joined #angularjs
[15:16:36] *** bayousoft has quit IRC
[15:16:54] *** afuggini has joined #angularjs
[15:16:55] *** prosper_ has quit IRC
[15:17:03] *** bayousoft has joined #angularjs
[15:17:08] <bitnumus> <button ng-repeat="symbol in symbols" type="button" class="btn btn-square btn-primary ng-binding ng-scope" href="#"> BTCILS </button>
[15:17:11] <bitnumus> the css class is there
[15:17:15] *** lsiv568 has joined #angularjs
[15:17:36] *** tomzx`afk is now known as tomzx
[15:17:51] *** iribarne has quit IRC
[15:17:53] <Linell> bitnumus: Well if the CSS is there on the generated HTML, the problem isn't with angular.
[15:18:17] <Linell> Look at the CSS pane in dev tools and see if something is overriding your CSS
[15:18:19] *** cxz has quit IRC
[15:18:36] <TweedleDee> anyone messed with UI-Grid?
[15:18:47] <jaydubya> bitnumus: Is there perhaps a more explicit css rule overriding? Maybe the nasty !important would make it work?
[15:18:48] <TweedleDee> For some strange reason I have it working but the header is like... huge as fuck
[15:19:03] <jaydubya> that's huge
[15:19:11] *** doodlehaus has joined #angularjs
[15:19:38] <bitnumus> jaydubya, Linell how would i see overrides ?
[15:19:38] *** bayousoft has quit IRC
[15:19:46] *** zzing has quit IRC
[15:19:52] <jaydubya> TweedleDee: you can apply a css style to the header using a template
[15:20:04] <bitnumus> "computed" tab shows padding-right: 20px, but there is 0 padding
[15:20:22] *** bayousoft has joined #angularjs
[15:20:28] <Linell> bitnumus: go to the regular 'Styles' tab and make sure you have that element selected
[15:20:28] *** azizur has quit IRC
[15:20:43] <bitnumus> "styles" meaning "rules" ?
[15:20:48] *** mven has joined #angularjs
[15:20:51] <jaydubya> bitnumus: sounds like you are being blocked by the inline-id-class-combo cascade
[15:20:59] <Linell> bitnumus: There's probably a padding-right: 20px crossed out somewhere there. -- I only really know whta it looks like in chrome.
[15:21:38] *** zivester has joined #angularjs
[15:21:39] *** Guest51483 has quit IRC
[15:21:40] <bitnumus> hmm, padding is ticked, if i untick it the button size changes, seems the padding is being filled by colour for some reason
[15:21:51] *** sandelius has joined #angularjs
[15:21:53] <bitnumus> the thing is, if i don't use ng repeat and just put them in line by line, its fine...
[15:22:12] *** bbankes has joined #angularjs
[15:22:12] <bitnumus> ie multiple <button class="btn"></button> lines
[15:22:55] *** shout-user58 has joined #angularjs
[15:22:56]
<TweedleDee> you'd think out of the box it wouldn't look like this tho.. i followed the examples to the T and get no errors? http://pbrd.co/115LI58
[15:23:10] <TweedleDee> I've used ng-grid in the past with zero issues, built templates etc
[15:23:10] *** eden_lane has quit IRC
[15:23:39] *** manoj has joined #angularjs
[15:23:49] <manoj> hi
[15:24:03] <manoj> i am new to angular
[15:24:08] *** manoj has quit IRC
[15:24:34] <jaydubya> TweedleDee: Is your content enough to fill the size you defined ... if you ask for a 300px high grid and only have 100px of content, the grid will "find a way" to make itself 300px and not always at the bottom
[15:24:37] *** caitp has quit IRC
[15:25:17] <parky128> edrocks: how do you deal with checking to see if the user is already logged and not doing any routing until the check has been completed?
[15:25:27] <parky128> edrocks: how do you deal with checking to see if the user is already logged in and not doing any routing until the check has been completed?
[15:25:38] *** phuh has quit IRC
[15:25:38] <parky128> sorry for double entry!
[15:25:50] <TweedleDee> ahh i'll check that jaydubya
[15:26:03] *** Siecje has joined #angularjs
[15:26:08] *** phuh has joined #angularjs
[15:26:11] *** caitp has joined #angularjs
[15:26:20] <TweedleDee> looks like that may be the issue sweet
[15:26:30] *** uru is now known as uru|away
[15:26:33] <edrocks> parky128: I use ui routers state change events to check Account.IsLoggedIn() and redirect back to the login page if the arent(only if the route your going to requires auth which is just a bool set on the state)
[15:26:59] <jaydubya> TweedleDee: it is not the most intuitive in that regard
[15:27:20] *** tristanp has joined #angularjs
[15:27:24] <SergioFilhow> I tried to put a watcher but it was undefined, maybe I am doing something wrong
[15:27:47] *** jstroem has quit IRC
[15:28:16] *** nandoflorestan has joined #angularjs
[15:28:39] *** glassir has joined #angularjs
[15:28:45] <jaydubya> SergioFilhow: thanks! I see how to work with this now and I can get it working like I need.
[15:28:55] *** glassir_ has quit IRC
[15:28:56] <TweedleDee> I just wonder why there example with 1 entry doesn't do the same thing..
[15:29:13] <SergioFilhow> jaydubya: ur welcome :)
[15:29:28] *** milka has quit IRC
[15:30:21] *** marcjs_ has joined #angularjs
[15:30:32] *** adpirz has joined #angularjs
[15:30:37] <bitnumus> Linell, i was setting up a plunker thing, but it seems angular doesn't even work?
[15:30:39] *** prbc has joined #angularjs
[15:31:10] *** phishy has joined #angularjs
[15:31:39] *** bayousoft has quit IRC
[15:32:06] *** Click66 has quit IRC
[15:32:08] *** bayousoft has joined #angularjs
[15:32:20] <Linell> bitnumus: What are you expecting there? It works for me.
[15:32:21] *** scythe__ has joined #angularjs
[15:32:45] <bitnumus> it shows {{name}}
[15:32:47] <bitnumus> ..
[15:32:51] *** Click66 has joined #angularjs
[15:32:51] *** marcjs has quit IRC
[15:32:52] *** mel| has quit IRC
[15:32:57] <ses1984> i'm trying to get the e2e tests as described in the tutorial to work with firefox instead of chrome on ubuntu and something is not right. using chrome, it runs fine, switching to firefox, the browser launches but then it doesnt do anything
[15:33:04] <ses1984> when the tests are running in chrome, i can open the selenium console through browser and i see a chrome session going. when i try to run with firefox, i see no sessions
[15:33:06] *** rud has joined #angularjs
[15:33:10] <TweedleDee> says Hello World to me
[15:33:14] <bitnumus> wtf
[15:33:16] <TweedleDee> bitnumus
[15:33:17] *** jheady has joined #angularjs
[15:33:20] <bitnumus> something failing
[15:33:22] *** dc_ has joined #angularjs
[15:33:23] <Linell> bitnumus: Yeah, no idea man. Have you checked your console to make sure something isn't going weird?
[15:33:25] *** spatialbrew has joined #angularjs
[15:33:29] *** jheady has left #angularjs
[15:33:30] *** junmin has joined #angularjs
[15:33:31] <TweedleDee> click the run button at the top? lol
[15:33:46] *** jstroem has joined #angularjs
[15:33:54] *** FunnyLookinHat has quit IRC
[15:33:58] <bitnumus> doesnt work!
[15:34:01] <bitnumus> Hello {{name}}!
[15:34:16] <bitnumus> FF 33, nothing in console
[15:34:41] *** bayousoft has quit IRC
[15:34:52] *** adpirz has quit IRC
[15:35:04] *** bullicon has joined #angularjs
[15:35:19] *** bayousoft has joined #angularjs
[15:36:31] <sahbeewah> i was having the same problems as well, as it turns out it's a plnkr problem, something is messed up on their end
[15:36:32] <Linell> That one doesn't either.
[15:36:50] <tangorri> anyone use an interceptor to do camelCase locally <==> _ notation to backend ?
[15:36:53] <bitnumus> TweedleDee, are you toying with us ?
[15:37:02] <sahbeewah> but seems to work randomly across computers
[15:37:27] *** azizur has joined #angularjs
[15:37:55] <bitnumus> well Linell i can't even show my issue properly :(
[15:38:20] *** dman777_alter has joined #angularjs
[15:39:02] <Linell> bitnumus: Yeah, I've got no idea how to fix that. Sorry mate, hopefully plunker will work for you soon
[15:39:17] <bitnumus> i'll keep an eye out and come back
[15:39:34] *** shackleford has joined #angularjs
[15:40:13] *** surreal_ has joined #angularjs
[15:40:19] *** shackleford has quit IRC
[15:40:41] *** lukegb has quit IRC
[15:40:55] *** shackleford has joined #angularjs
[15:41:01] *** soee has joined #angularjs
[15:41:07] *** cbeacock has quit IRC
[15:41:50] *** Z3R0_Home has joined #angularjs
[15:42:09] *** cleme1mp has joined #angularjs
[15:42:27] *** ThatTreeOverTher has joined #angularjs
[15:42:38] *** jdcasey has joined #angularjs
[15:43:21] *** hell_razer has joined #angularjs
[15:43:38] *** Z3R0_Home has quit IRC
[15:43:43] *** tristanp has quit IRC
[15:43:43] *** bayousoft has quit IRC
[15:44:18] *** bayousoft has joined #angularjs
[15:45:01] *** bjtitus has joined #angularjs
[15:45:36] *** vassagus has joined #angularjs
[15:46:08] *** Snugug has joined #angularjs
[15:46:21] *** davi has joined #angularjs
[15:46:35] *** dc___ has joined #angularjs
[15:46:47] *** marr has joined #angularjs
[15:46:59] *** lukegb has joined #angularjs
[15:47:51] *** tristanp has joined #angularjs
[15:48:17] *** dc_ has quit IRC
[15:49:04] *** mary5030 has joined #angularjs
[15:50:11] *** krawek has joined #angularjs
[15:50:26] *** krawek has quit IRC
[15:50:26] *** krawek has joined #angularjs
[15:50:37] *** mdel has joined #angularjs
[15:50:56] *** yaneq1 has joined #angularjs
[15:51:29] *** emmesswhy has quit IRC
[15:52:34] *** gnrlbzik has joined #angularjs
[15:52:55] *** macobo has quit IRC
[15:54:16] *** Caroga is now known as Caroga_afk
[15:54:38] *** yaneq has quit IRC
[15:54:55] *** SergioFilhow has quit IRC
[15:55:19] *** livingst_ has joined #angularjs
[15:55:35] *** gazbond has quit IRC
[15:55:42] *** bb6xt has joined #angularjs
[15:56:34] *** bmac has joined #angularjs
[15:56:47] <jaydubya> The documentation says a service runs once ... so if it grabs data from an API, is it cached? Meaning every call to the service is accessing that data and if you want to refresh it from the source, you have to null it out and call it again?
[15:56:51] *** ctanga has quit IRC
[15:57:01] *** firelinks has joined #angularjs
[15:57:29] *** brettfrable has quit IRC
[15:57:33] *** monir has joined #angularjs
[15:57:37] *** sl33k has joined #angularjs
[15:57:52] *** mguillech has joined #angularjs
[15:58:08] *** livingstn has quit IRC
[15:58:32] *** dsdeiz_ has quit IRC
[15:59:31] *** iribarne has joined #angularjs
[16:00:42] *** recidive has quit IRC
[16:01:08] *** mary5030 has quit IRC
[16:01:08] <Linell> jaydubya: I don't think that's the case. I think it means that the service is only instantiated once. I'm far from sure about that, though
[16:01:31] <bitnumus> Linell, it seems the padding is taking the colour of the button, but its only with ngrepeat, ever come across this, or anyone else ?
[16:02:03] *** jae has joined #angularjs
[16:02:28] *** AndreasLutro has quit IRC
[16:02:47] *** fairuz has joined #angularjs
[16:02:58] *** parky128 has quit IRC
[16:03:54] *** hell_razer has quit IRC
[16:05:06] *** ThatTreeOverTher has quit IRC
[16:05:08] *** jae has quit IRC
[16:05:27] <eighty4> Linell, jaydubya my understanding of services is exactly that. You get one instance of the service as with a factory where you instanciate it each time
[16:05:35] <Linell> What do you mean exactly by padding taking the color of the button?
[16:05:43] *** FunnyLookinHat has joined #angularjs
[16:06:00] *** Snugug has quit IRC
[16:06:48] *** hugofirth has joined #angularjs
[16:07:00] *** recidive has joined #angularjs
[16:07:11] *** sandelius has quit IRC
[16:07:12] *** bwin has quit IRC
[16:08:45] *** jstroem has quit IRC
[16:08:53] *** corehook has joined #angularjs
[16:09:15] *** Click66 has quit IRC
[16:09:26] *** ngbot has joined #angularjs
[16:09:26] <ngbot> angular.js/master 8eabc54 Karol Wypchło: perf(orderBy): copy array with slice instead of for loop...
[16:09:27] <ngbot> angular.js/master be6920b Caitlin Potter: test(orderBy): add test cases for ordering array-like objects...
[16:09:27] *** ngbot has left #angularjs
[16:09:36] *** benjah1 has joined #angularjs
[16:10:15] <eighty4> \o/ way to go caitp
[16:10:33] *** krawek has quit IRC
[16:10:55] *** mattattaque has joined #angularjs
[16:10:57] *** diegoaguilar has quit IRC
[16:10:59] *** crakrjak has joined #angularjs
[16:11:05] <bitnumus> Linell, it seems the button size is increasing, but the "padding" is the same colour of the button or something along these lines
[16:11:30] *** Snugug has joined #angularjs
[16:11:32] *** cornerma1 has joined #angularjs
[16:12:03] *** tristanp has quit IRC
[16:12:18] *** iribarne has quit IRC
[16:12:28] <caitp> heh :>
[16:12:36] *** tristanp has joined #angularjs
[16:13:00] <surreal_> Have you guys encountered problems with Safari? I'm having the same problem in 2 different Angular apps.
[16:13:07] *** jillesme has quit IRC
[16:13:10] *** SergioFilhow has joined #angularjs
[16:13:11] <eighty4> surreal_: what kind of problem?
[16:13:14] *** frem has joined #angularjs
[16:13:19] <eighty4> it's working great for us in safari
[16:13:21] *** favetelinguis has joined #angularjs
[16:13:23] <eighty4> both 7 and 8
[16:13:26] *** knownasilya has joined #angularjs
[16:13:28] <surreal_> We have this SSO system we built, and logging out is a problem.
[16:13:42] *** jasonp has joined #angularjs
[16:13:43] <surreal_> The first time you log out, it's fine, you're logged out.
[16:13:59] <eighty4> and it's an angular problem?
[16:14:00] *** Kay-z has joined #angularjs
[16:14:00] <surreal_> If you log back in, you can't log out after that. A Safari Exclusive! :)
[16:14:08] *** jillesme has joined #angularjs
[16:14:16] *** aditya_vy has quit IRC
[16:14:28] <surreal_> It *could* be angular. Both affected apps are Angular apps.
[16:14:46] *** Bade has joined #angularjs
[16:14:53] <eighty4> how are you actually signing out? clearing some session/cookie?
[16:14:53] <surreal_> It could also be that Safari just isn't my friend.
[16:14:56] *** cornerman has quit IRC
[16:15:06] *** cornerma1 is now known as cornerman
[16:15:13] <eighty4> safari is noones friend
[16:15:16] <eighty4> I hate it so much
[16:15:20] <surreal_> It's a link to an endpoint that clears the session and cookies
[16:15:28] <bitnumus> is there a way to select a variable from ngrepeat in the same element? ng-repeat="symbol in symbols" ng-click="active_cur = symbol"
[16:15:29] *** rburns has quit IRC
[16:15:35] <surreal_> The crazy part is that it works the first time
[16:15:52] <surreal_> And it works if you visit the logout address in a new tab
[16:15:52] <bee_keeper> I'm making a second ajax call in the success method of a prior ajax call and the browser is getting blocked - is this normal?
[16:15:59] *** Kay-z has quit IRC
[16:16:12] *** Pyrrhus has left #angularjs
[16:16:26] <surreal_> But if you already logged out once and you log back in, logging out doesn't work.
[16:16:29] *** sigurding has quit IRC
[16:16:55] <surreal_> I suspect it's JavaScript related because a new window/tab won't have any running scripts.
[16:17:03] *** sigurding has joined #angularjs
[16:17:14] *** firelinks has quit IRC
[16:17:17] *** enigmarm has joined #angularjs
[16:17:20] *** Kay-z has joined #angularjs
[16:17:26] *** sonofdirt has joined #angularjs
[16:17:31] *** frem has quit IRC
[16:17:36] *** sacho_ has joined #angularjs
[16:17:43] <eighty4> weird :)
[16:17:45] *** crakrjak has quit IRC
[16:17:48] <surreal_> Pretty much
[16:17:50] *** CodeFriar has quit IRC
[16:17:51] *** AngularUI has joined #angularjs
[16:17:51]
<AngularUI> [ng-grid] brianchance opened pull request #2102: Fix missing icons on paging buttons (master...master) http://git.io/flA1Lg
[16:17:51] *** AngularUI has left #angularjs
[16:17:53] <Linell> bitnumus: Yep, that should work. And I have no idea what's happening on the CSS
[16:17:56] *** testerde has quit IRC
[16:18:10] <bitnumus> lol Linell it doesn't work, nothing seems to work!
[16:18:52] <surreal_> bitnumus: if you output active_cur, what do you get?
[16:19:08] <Linell> bitnumus: Are you using an old version of angular?
[16:19:08] <surreal_> Is it the last value for symbol?
[16:19:11] *** ggrzybek has quit IRC
[16:19:26] <bitnumus> and it just stays as USD
[16:19:56] <bitnumus> even if i try and explicitly declare it as like ng-click="active_cur = EUR" it doesn't work?
[16:19:57] *** Bade has quit IRC
[16:19:59] *** sonofdirt has quit IRC
[16:20:09] <TweedleDee> JESUS christ boys I figured it out.. you leave <!DOCTYPE html> off your page... your UI-grid will render all fucked up had nothing to do with the directive or css or anything else
[16:20:12] <eighty4> surreal_: I haven't noticed anything like that, we do also have a login/logout and that definitly works
[16:20:17] *** bmac has quit IRC
[16:20:22] *** Trow has quit IRC
[16:20:23] *** Asiajey has quit IRC
[16:20:31] <eighty4> TweedleDee: can't leave the doctupe
[16:20:34] *** whiteboo_ has joined #angularjs
[16:20:35] *** mmealling has quit IRC
[16:20:46] *** zivester has quit IRC
[16:20:51] <TweedleDee> apparently... i've had it not included on quite a few sites before, without issue
[16:21:21] *** sonofdirt has joined #angularjs
[16:21:33] <TweedleDee> what does a browser think it's viewing by default? I would assume html..?
[16:21:40] *** subtone100 has joined #angularjs
[16:21:40] *** Asiajey has joined #angularjs
[16:21:40] *** sacho has quit IRC
[16:21:40] *** macabre has joined #angularjs
[16:21:49] *** subtone100 has quit IRC
[16:22:22] *** whitebook has quit IRC
[16:22:41] *** SargoDarya has quit IRC
[16:22:49] <sacho_> depends on the browser
[16:22:53] *** gaganjyot has joined #angularjs
[16:23:06] <Helzibah> never let browsers guess things, that's always going to end badly :P
[16:23:08] <TweedleDee> every browser had the same issue with UI-Grid and the absense of <!DOCTYPE html>
[16:23:11] *** yaneq1 has quit IRC
[16:23:11] *** H1FuelCell has joined #angularjs
[16:23:17] <sacho_> that's nice
[16:23:30] *** patricx has joined #angularjs
[16:23:43] *** prbc has quit IRC
[16:23:49] <TweedleDee> *shrug* lesson learned, an hour later
[16:23:50] <sacho_> also, you're confusing doctype with mime type.
[16:23:54] *** tplaner has joined #angularjs
[16:24:02] *** spaceonline has joined #angularjs
[16:24:07] *** gaganjyot has quit IRC
[16:24:20] <patricx> hello
[16:24:23] *** mary5030 has joined #angularjs
[16:24:33] <patricx> console.log on $scope
[16:24:35] *** Kay-z has quit IRC
[16:24:50] *** jaydubya has quit IRC
[16:25:02] <patricx> $scope.$parent.aarrayKey return an array
[16:25:10] *** CodeFriar has joined #angularjs
[16:25:28] *** gaganjyot has joined #angularjs
[16:25:32] <patricx> but conssole.log($scope.$parent.arrayKey) returns empty
[16:25:39] *** phuh has quit IRC
[16:25:40] *** thomastuts has quit IRC
[16:25:55] <patricx> can anyone please tell me why ?N
[16:25:55] <TweedleDee> could be different depending on where its being called
[16:26:11] *** trend has joined #angularjs
[16:26:13] *** phuh has joined #angularjs
[16:26:15] *** chrisshattuck has quit IRC
[16:26:15] *** tomzx is now known as tomzx`afk
[16:26:17] *** gaganjyot has quit IRC
[16:26:23] *** shackleford has quit IRC
[16:26:31] *** fotoflo has joined #angularjs
[16:26:46] <patricx> console.log($scope, $scope.$parent.modelBiens);
[16:26:53] *** shackleford has joined #angularjs
[16:27:20] <TweedleDee> I don't use any of that $scope syntax for that reason, I use my Controller as syntax and in my controller do var self = this; then everything is self.WhateverVariable and in the HTML you use <div ng-controller="MyController as ctrl"><span ng-bind="ctrl.WhateverVariable"></span></div>
[16:27:29] *** dc___ has quit IRC
[16:27:41] *** gaganjyot has joined #angularjs
[16:27:53] *** xavia has joined #angularjs
[16:27:59] *** thedodd has joined #angularjs
[16:28:04] *** dc_ has joined #angularjs
[16:28:22] *** ajenkins has joined #angularjs
[16:28:25] *** dsdeiz has joined #angularjs
[16:28:46] *** gaganjyot has quit IRC
[16:28:53] *** prbc has joined #angularjs
[16:29:07] *** chrisshattuck has joined #angularjs
[16:29:44] *** cbennett_ has quit IRC
[16:30:01] *** sandalon has joined #angularjs
[16:30:11] *** gaganjyot has joined #angularjs
[16:30:44] *** monir has quit IRC
[16:30:52] *** dejanr has joined #angularjs
[16:30:55] *** trend has quit IRC
[16:31:09] *** Aerospark has joined #angularjs
[16:31:27] *** jaydubya_ has joined #angularjs
[16:31:46] *** mmealling has joined #angularjs
[16:32:39] *** bkuberek has joined #angularjs
[16:32:43] *** livingstn has joined #angularjs
[16:32:50] *** sandalon has quit IRC
[16:32:54] *** prbc has quit IRC
[16:33:00] *** sandalon has joined #angularjs
[16:33:07] *** gaganjyot has quit IRC
[16:33:18] *** patricx has quit IRC
[16:34:20] *** subtone100 has joined #angularjs
[16:34:22] *** gagan has joined #angularjs
[16:34:24] *** livingst_ has quit IRC
[16:34:25] *** dllama has joined #angularjs
[16:34:27] *** dc_ has quit IRC
[16:34:34] *** dc_ has joined #angularjs
[16:36:15] *** davidreis has joined #angularjs
[16:36:44] *** iribarne has joined #angularjs
[16:37:27] *** ludkiller has quit IRC
[16:37:28] *** larsgk has quit IRC
[16:37:53] *** Sjimi has quit IRC
[16:38:35] *** patrickarlt has joined #angularjs
[16:39:29] *** krawek has joined #angularjs
[16:39:41] *** jstroem has joined #angularjs
[16:39:44] *** ludkiller has joined #angularjs
[16:39:47] *** sonofdirt has quit IRC
[16:39:51] *** uru|away is now known as uru
[16:40:12] *** Aerospark has quit IRC
[16:40:48] *** jillesme has quit IRC
[16:41:23] *** gnrlbzik has quit IRC
[16:41:30] *** Aerospark has joined #angularjs
[16:41:56] *** ngbot has joined #angularjs
[16:41:56] <ngbot> angular.js/v1.2.x 409bcb3 Karol Wypchło: perf(orderBy): copy array with slice instead of for loop...
[16:41:56] <ngbot> angular.js/v1.2.x b1f2917 Caitlin Potter: test(orderBy): add test cases for ordering array-like objects...
[16:41:56] *** ngbot has left #angularjs
[16:42:00] *** stirlingw has joined #angularjs
[16:43:07] *** sandalon has quit IRC
[16:43:12] *** m1hael has left #angularjs
[16:43:44] *** jiskiras has joined #angularjs
[16:44:08] *** mot0rola has joined #angularjs
[16:44:10] *** jstroem has quit IRC
[16:44:48] *** ctanga has joined #angularjs
[16:44:51] *** PGTips has joined #angularjs
[16:44:54] *** DoubleAW has joined #angularjs
[16:45:48] *** sonofdirt has joined #angularjs
[16:46:02] *** zz_night-owl is now known as night-owl
[16:46:04] *** gagan has quit IRC
[16:46:10] *** digisky has joined #angularjs
[16:46:34] *** gagan has joined #angularjs
[16:46:38] *** dcherman has joined #angularjs
[16:46:46] *** umib0zu has joined #angularjs
[16:46:46] *** jheady1 has joined #angularjs
[16:46:53] *** glassir has quit IRC
[16:47:09] *** AWAW has quit IRC
[16:47:24] *** glassir has joined #angularjs
[16:47:27] *** miso2217 has joined #angularjs
[16:47:37] *** ajenkins has quit IRC
[16:47:48] *** phuh has quit IRC
[16:47:53] *** \du has joined #angularjs
[16:48:13] *** Skrypter has joined #angularjs
[16:48:23] *** iribarne has quit IRC
[16:48:25] *** phuh has joined #angularjs
[16:48:29] *** jheady1 has left #angularjs
[16:48:31] <miso2217> Hello, I'm lookig for help with angular-translate, can someone here help me with my problem?
[16:48:50] *** jillesme has joined #angularjs
[16:49:11] *** willeponken_ has joined #angularjs
[16:49:21] *** otisZart has quit IRC
[16:49:25] *** MrBaboon has joined #angularjs
[16:49:39] *** DannyCallaghan has quit IRC
[16:50:08] *** sandalon has joined #angularjs
[16:50:15] *** enkristo_ has quit IRC
[16:51:09] *** monir has joined #angularjs
[16:52:05] *** glassir has quit IRC
[16:52:22] *** Skrypter has quit IRC
[16:52:29] *** vassagus has quit IRC
[16:52:48] <Helzibah> miso2217: you're best off stating your problem and if someone knows the answer, they will chime in
[16:53:04] *** dra_ has joined #angularjs
[16:53:42] *** carlosmantilla has joined #angularjs
[16:53:52] *** MrBaboon has quit IRC
[16:54:13] *** mak`` has quit IRC
[16:54:23] *** fatshark has quit IRC
[16:54:36] *** codydashdash is now known as cody--
[16:55:01] *** jagga has quit IRC
[16:55:07] <miso2217> Ok, Im using the follwing custom loader for angular-transalte:
[16:55:45] *** Z3R0_Home has joined #angularjs
[16:56:39] *** mmealling has quit IRC
[16:56:49] *** svycka has quit IRC
[16:56:54] *** H1FuelCell has quit IRC
[16:56:56] *** prbc has joined #angularjs
[16:57:08] <miso2217> The data I'm getting from the first $http.get hets translated but the date I'm getting from the second $http.get does not. Any ideas why?
[16:57:10] *** Z3R0_Home has quit IRC
[16:57:45] <miso2217> I checked the data structure and everything seems correct
[16:58:08] *** carlosmantilla has quit IRC
[16:58:11] *** mmealling has joined #angularjs
[16:58:27] *** H1FuelCell has joined #angularjs
[16:58:29] *** elaijuh has joined #angularjs
[16:59:02] *** jiskiras has quit IRC
[16:59:02] *** kent\n has quit IRC
[16:59:16] *** kent\n has joined #angularjs
[16:59:36] *** oliverdore has joined #angularjs
[17:00:07] *** sandalon has quit IRC
[17:00:53] *** gagan has quit IRC
[17:01:47] *** tomzx`afk is now known as tomzx
[17:01:54] *** esk4nd4r has quit IRC
[17:01:57] *** lexek__ has quit IRC
[17:02:01] *** tangorri has quit IRC
[17:02:13] *** nandoflorestan has quit IRC
[17:02:24] *** chrisshattuck has quit IRC
[17:02:30] *** esk4nd4r has joined #angularjs
[17:02:56] *** miso2217 has quit IRC
[17:03:31] *** vassagus has joined #angularjs
[17:03:40] *** rho has joined #angularjs
[17:03:43] *** vassagus has quit IRC
[17:03:53] *** gnrlbzik has joined #angularjs
[17:03:56] *** ngbot has joined #angularjs
[17:03:56] <ngbot> angular.js/master 7f857e4 Chatchavan Wacharamanotham: docs(guide/compiler): replaced 'locals' with 'scope'...
[17:03:57] *** ngbot has left #angularjs
[17:03:59] *** vassagus has joined #angularjs
[17:04:17] *** jynxed has quit IRC
[17:04:17] *** ngbot has joined #angularjs
[17:04:18] <ngbot> angular.js/v1.2.x eec78e7 Chatchavan Wacharamanotham: docs(guide/compiler): replaced 'locals' with 'scope'...
[17:04:18] *** ngbot has left #angularjs
[17:04:36] *** lthomas has quit IRC
[17:05:39] *** elaijuh has quit IRC
[17:05:49] *** umib0zu has quit IRC
[17:05:58] *** yaneq has joined #angularjs
[17:06:13] *** StryKaizer has quit IRC
[17:06:21] *** elaijuh has joined #angularjs
[17:06:49] *** lthomas has joined #angularjs
[17:06:55] *** nycdevgirl has joined #angularjs
[17:07:44] *** NevilleS has joined #angularjs
[17:08:19] *** AtomicCookie has quit IRC
[17:08:48] *** chrisshattuck has joined #angularjs
[17:09:54] *** willeponken has quit IRC
[17:09:54] *** willeponken_ is now known as willeponken
[17:10:59] *** Maxvien has joined #angularjs
[17:11:40] <Maxvien> Hello
[17:11:55] <Maxvien> Anybody here?
[17:12:13] <Linell> Nope
[17:12:22] *** busticated has joined #angularjs
[17:12:24] *** ngbot has joined #angularjs
[17:12:24] <ngbot> angular.js/master 22ecbc5 Bernie Telles: docs($q): explain what the $q service does in description...
[17:12:25] <ngbot> angular.js/master eca14d9 Caitlin Potter: chore($q): make jscs happy...
[17:12:25] *** ngbot has left #angularjs
[17:12:35] *** vectra has quit IRC
[17:12:48] *** Guest40759 has quit IRC
[17:13:11] <Maxvien> Oh, you're here, Linell :D
[17:13:48] <Helzibah> Only us robots.
[17:14:10] *** AlSquirrel has joined #angularjs
[17:14:15] *** ngbot has joined #angularjs
[17:14:15] <ngbot> angular.js/v1.2.x 3b3de3f Bernie Telles: docs($q): explain what the $q service does in description...
[17:14:15] <ngbot> angular.js/v1.2.x e49e7d5 Caitlin Potter: chore($q): make jscs happy...
[17:14:15] *** ngbot has left #angularjs
[17:14:27] *** H1FuelCell has quit IRC
[17:14:30] <Maxvien> ngbot?
[17:14:32] *** Aerospark has quit IRC
[17:14:41] *** jiskiras has joined #angularjs
[17:15:28] *** jiskiras has joined #angularjs
[17:15:41] *** Ix-Xitan has joined #angularjs
[17:15:41] *** Ix-Xitan is now known as PointBlank
[17:16:05] <Foxandxss> ngbot is a bot
[17:16:12] *** jiskiras has joined #angularjs
[17:16:32] *** phuh has quit IRC
[17:17:00] *** Sjimi has joined #angularjs
[17:17:06] *** jaydubya_ has quit IRC
[17:18:28] <maraneta> how can i check if all the forms in my view are valid?
[17:18:36] *** AWAW has joined #angularjs
[17:18:37] *** cthrax has joined #angularjs
[17:18:46] *** sandalon has joined #angularjs
[17:19:02] *** fourq is now known as salesforce
[17:19:21] *** salesforce is now known as fourq
[17:19:24] <surreal_> valid, like valid HTML?
[17:19:28] *** adpirz has joined #angularjs
[17:19:46] *** bmac has joined #angularjs
[17:20:00] <surreal_> Or valid, as in you want to validate the input?
[17:20:13] *** Guest24183 has joined #angularjs
[17:20:19] *** umib0zu has joined #angularjs
[17:20:25] <SergioFilhow> Does someone know how to get session data from server and then load application? I want to get the session data before the application loads, otherwise it'll fail to load
[17:20:42] *** fatshark has joined #angularjs
[17:21:05] *** Una has joined #angularjs
[17:21:05] *** hugofirth is now known as hugofirth|away
[17:21:11] <SergioFilhow> maraneta: forms you mean, <form> or inputs?
[17:21:26] *** dejanr has quit IRC
[17:21:33] *** mupkoo has quit IRC
[17:21:59] *** mupkoo has joined #angularjs
[17:21:59] *** lthomas has quit IRC
[17:22:09] *** DoubleAW has quit IRC
[17:22:13] *** elaijuh has quit IRC
[17:22:34] <SergioFilhow> maraneta: if you meant all inputs inside a form, you can use ngModel.$invalid property from ngModelController
[17:22:46] <SergioFilhow> maraneta: or ngModel.$valid
[17:23:06] *** skakri has left #angularjs
[17:23:41] *** vc has joined #angularjs
[17:23:59] *** adpirz has quit IRC
[17:24:05] *** vc is now known as Guest85318
[17:24:26] *** folippi has quit IRC
[17:24:28] *** mspier|away is now known as mspier
[17:24:37] *** subtone100 has quit IRC
[17:24:42] *** elaijuh has joined #angularjs
[17:25:04] *** kreiggers has joined #angularjs
[17:25:06] <cythrawll> SergioFilhow, what about using a blocking xhr request and then bootstrap the app after
[17:25:13] *** Maxvien has quit IRC
[17:25:30] <Guest85318> following tutorial step 0, clone phonecat from git and run npm install, got error on Windows 7
[17:25:32] <Guest85318> npm ERR! angular-phonecat at 0 dot 0.0 postinstall: `bower install` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the angular-phonecat at 0 dot 0.0 postinstall script. npm ERR! This is most likely a problem with the angular-phonecat package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! bower install npm ERR! You can get their info via: npm ERR! npm owner ls angular-phonecat npm
[17:25:34] <SergioFilhow> cythrawll: how can I do that?
[17:25:39] <cythrawll> SergioFilhow, or you can use a serverside language to just to initiate what you need from the session in your model.
[17:26:14] *** mupkoo has quit IRC
[17:26:17] <Guest85318> anyone got this problem too?
[17:27:22] *** arabot has joined #angularjs
[17:28:18] *** seiyria is now known as thisisatestonlya
[17:28:19] *** hugofirth|away has quit IRC
[17:28:40] *** sandalon has quit IRC
[17:28:48] *** jstroem has joined #angularjs
[17:28:55] *** frem has joined #angularjs
[17:29:13] *** Guest85318 has quit IRC
[17:29:17] *** jaydubya has joined #angularjs
[17:29:34] *** elaijuh has quit IRC
[17:29:51] *** corehook has quit IRC
[17:30:29] *** bbankes has quit IRC
[17:30:33] *** tangorri has joined #angularjs
[17:30:49] *** ssucreme has quit IRC
[17:30:56] *** elaijuh has joined #angularjs
[17:31:05] *** Typher has quit IRC
[17:31:29] <tangorri> hmmm isn't $http({method: 'GET', data: {foo: 'foo'}) supposed to do a ?foo=foo url request ?
[17:31:59] *** jmckind has joined #angularjs
[17:32:28] <maraneta> SergioFilhow: what if i have a bunch of differen forms with inputs in each form? i want my submit button to only execute a function if every single form is valid
[17:32:41] *** JosephBergevin has joined #angularjs
[17:32:56] *** sonicparke|bradm has joined #angularjs
[17:33:15] *** frem has quit IRC
[17:33:22] *** mot0rola has quit IRC
[17:33:52] <sonicparke|bradm> so I just experienced another ng-conf ticket catastrophe with Garth Brooks Tickets
[17:33:58] <SergioFilhow> maraneta: let me try
[17:34:11] *** mnngfltg has quit IRC
[17:34:28] <maraneta> SergioFilhow: i'm thinking of just putting all my forms into one big form, but maybe there's another way
[17:34:48] *** edy has quit IRC
[17:34:51] <sonicparke|bradm> Garth Brooks, 3 nights, big arena, Garth's Hometown... within just a couple of seconds no tickets to be found
[17:34:59] *** gnrlbzik has quit IRC
[17:35:00] *** mguillech has quit IRC
[17:35:50] *** jiskiras has quit IRC
[17:36:01] <Linell> I'm sure there will be plenty scalped for that, though
[17:36:31] *** lthomas has joined #angularjs
[17:36:33] *** mguillech has joined #angularjs
[17:37:23] *** edzez_ has quit IRC
[17:37:30] *** corehook has joined #angularjs
[17:37:38] *** optikalmouse has joined #angularjs
[17:37:50] *** Ajans has quit IRC
[17:38:12] *** thisisatestonlya is now known as seiyria
[17:38:34] *** azizur has quit IRC
[17:38:40] *** Guest24183 has quit IRC
[17:39:28] *** gnrlbzik has joined #angularjs
[17:39:29] *** sl33k has quit IRC
[17:39:29] *** bb6xt has quit IRC
[17:39:39] *** Sjimi has quit IRC
[17:39:44] *** tangorri has quit IRC
[17:40:32] *** Josh has joined #angularjs
[17:40:46] *** reavengrey has joined #angularjs
[17:40:56] *** Josh is now known as Guest97571
[17:41:20] *** intellix has joined #angularjs
[17:41:34] *** cthrax has quit IRC
[17:42:15] *** sonicparke|bradm has quit IRC
[17:42:34] *** sonicparke|bradm has joined #angularjs
[17:42:36] *** cthrax has joined #angularjs
[17:42:47] <maraneta> SergioFilhow: any luck?
[17:42:48] *** josh3336 has joined #angularjs
[17:42:57] <SergioFilhow> maraneta: just one sec
[17:43:10] *** ngbot has joined #angularjs
[17:43:10] <ngbot> angular.js/master d81ff88 David Stensland: fix(ngMock): call $interval callbacks even when invokeApply is false...
[17:43:10] *** ngbot has left #angularjs
[17:43:35] *** artisangoose has joined #angularjs
[17:44:44] *** mupkoo has joined #angularjs
[17:46:28] *** glassir has joined #angularjs
[17:46:45] *** seriema has joined #angularjs
[17:46:52] *** jlebrech has joined #angularjs
[17:46:52] *** cohitre has joined #angularjs
[17:48:14] *** sk87 has quit IRC
[17:48:25] *** josh3336_ has joined #angularjs
[17:48:34] *** rhp has joined #angularjs
[17:49:13] *** azizur has joined #angularjs
[17:50:11] *** josh3336 has quit IRC
[17:50:11] *** josh3336_ is now known as josh3336
[17:51:05] *** Fire-Dragon-DoL has quit IRC
[17:51:34] *** snapwich has joined #angularjs
[17:51:38] *** ngbot has joined #angularjs
[17:51:38]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from d87b791 to 756640f: http://git.io/DJovzQ
[17:51:39] *** ngbot has left #angularjs
[17:51:54] *** basiclaser_ has quit IRC
[17:52:15] *** dejanr has joined #angularjs
[17:52:15] *** Nicolas________ has quit IRC
[17:52:17] *** gagan has joined #angularjs
[17:52:26] *** fbenoit has quit IRC
[17:52:29] *** Fire-Dragon-DoL has joined #angularjs
[17:52:35] *** ngbot has joined #angularjs
[17:52:35]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 756640f to 4d0614f: http://git.io/ePBX0w
[17:52:35] *** ngbot has left #angularjs
[17:52:46] *** Latros-O_ has joined #angularjs
[17:52:47] *** kuadrosx_ has joined #angularjs
[17:53:15] *** gagan has quit IRC
[17:53:29] *** ngbot has joined #angularjs
[17:53:29]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 4d0614f to c26b5e3: http://git.io/ec2zVA
[17:53:30] *** ngbot has left #angularjs
[17:53:33] *** Fuzzier has quit IRC
[17:53:40] *** rosieres has joined #angularjs
[17:53:42] *** HexSquid has quit IRC
[17:54:03] *** jmckind has quit IRC
[17:54:16] *** pell0 has joined #angularjs
[17:54:19] *** ogdabou has quit IRC
[17:54:26] *** ngbot has joined #angularjs
[17:54:26]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from c26b5e3 to e49a143: http://git.io/RDHXdA
[17:54:26] *** ngbot has left #angularjs
[17:54:30] *** gagan has joined #angularjs
[17:55:39] *** gagan has quit IRC
[17:55:43] *** jiskiras has joined #angularjs
[17:56:01] <SergioFilhow> maraneta: i'm trying but no luck, brb
[17:56:07] *** Guest97571 has quit IRC
[17:56:17] *** dsdeiz has quit IRC
[17:56:34] *** seriema has quit IRC
[17:56:46] *** Latros-OS has quit IRC
[17:57:05] *** gagan has joined #angularjs
[17:57:07] <maraneta> sergiofilhow: don't worry about it
[17:57:11] <maraneta> thanks for trying =]
[17:57:26] *** Aliks has joined #angularjs
[17:57:35] *** Ajans has joined #angularjs
[17:57:45] *** gagan has quit IRC
[17:58:12] *** frankblizzar has quit IRC
[17:58:23] *** jillesme has quit IRC
[17:58:30] *** Anton_ has quit IRC
[17:58:49] *** tombee has joined #angularjs
[17:59:01] *** fourq has quit IRC
[17:59:03] *** gagan has joined #angularjs
[17:59:29] *** Nicolas________ has joined #angularjs
[18:00:35] <tombee> Hey folks, any tips on how I might use angularjs funkyness to provide a nice graphical representation the words "up" and "down", I'm getting a json response back from a web service with a bunch of hostnames telling me whether they're up or down
[18:00:35] *** gurke_ has joined #angularjs
[18:00:45] *** spatialbrew has quit IRC
[18:01:16] <tombee> Maybe a nice way of turning "up"/"down" into a green/red traffic light or something
[18:01:36] *** btc_panhandler has joined #angularjs
[18:01:48] *** intellix has quit IRC
[18:02:06] *** arpu has joined #angularjs
[18:02:23] *** H1FuelCell has joined #angularjs
[18:02:39] *** ludkiller is now known as lud
[18:03:04] <Linell> tombee: create some CSS to display a red or green traffic light and use ng-class='host.up ? "traffic-light-green" : "traffic-light-red"'
[18:03:09] *** blackkbo- has joined #angularjs
[18:03:23] <tombee> Linell: great, I'll give that a go :D
[18:03:25] *** jacuqesdancona_ has quit IRC
[18:03:25] *** kuadrosx_ is now known as kuadrosx
[18:03:25] *** blackkbo- is now known as blackkbot
[18:04:00] *** jacuqesdancona_ has joined #angularjs
[18:04:02] <Linell> You could also just have two images (red/green) and wrap those in an ng-if='host.up' or ng-if='!host.up'
[18:05:18] *** richiebkr has joined #angularjs
[18:05:39] *** Guest24183 has joined #angularjs
[18:06:07] *** Oxynum has quit IRC
[18:06:19] *** benjah1 has quit IRC
[18:07:17] *** benjah1 has joined #angularjs
[18:07:34] *** Oxynum has joined #angularjs
[18:07:56] *** spatialbrew has joined #angularjs
[18:08:05] *** Trow has joined #angularjs
[18:08:15] *** mguillech has quit IRC
[18:08:16] *** NormySan has joined #angularjs
[18:08:23] *** jacuqesdancona_ has quit IRC
[18:09:03] *** mguillech has joined #angularjs
[18:09:18] *** Versality has quit IRC
[18:09:38] *** shampine has joined #angularjs
[18:09:48] *** fotoflo has quit IRC
[18:09:54] *** Versality has joined #angularjs
[18:10:06] *** mettjus has quit IRC
[18:10:58] *** mischat has joined #angularjs
[18:11:03] *** gunn has quit IRC
[18:11:04] *** Guest24183 has quit IRC
[18:11:17] *** chilloutalready has quit IRC
[18:11:29] *** sikor_sxe has quit IRC
[18:11:48] *** jillesme has joined #angularjs
[18:11:48] *** jillesme has joined #angularjs
[18:11:55] *** bbankes has joined #angularjs
[18:12:01] *** dansays has joined #angularjs
[18:12:10] *** jillesme has quit IRC
[18:12:14] *** ethanwelborn has joined #angularjs
[18:12:20] *** ethanwelborn has left #angularjs
[18:12:40] *** obto has quit IRC
[18:12:44] *** recidive has quit IRC
[18:13:01] *** elaijuh has left #angularjs
[18:13:21] *** elaijuh has joined #angularjs
[18:13:29] <SergioFilhow> maraneta: one question, why do you need more than one form?
[18:13:33] *** H1FuelCell has quit IRC
[18:13:58] *** oliverdore has quit IRC
[18:14:13] *** Versality has quit IRC
[18:14:22] *** beardyname has joined #angularjs
[18:14:55] *** trend has joined #angularjs
[18:15:23] *** Aerospark has joined #angularjs
[18:15:25] *** adkron has joined #angularjs
[18:15:46] *** Oxynum has quit IRC
[18:15:58] <adkron> What is the best way to hide or show a link through authorization? I have a link that needs to hide, but I don't know
[18:16:04] <adkron> how much of that code I want in angular
[18:16:06] *** djam90 has quit IRC
[18:16:10] *** simook has joined #angularjs
[18:16:15] <adkron> I'm just looking for some thoughts on best practices
[18:16:35] <adkron> I don't really want to make a request back to the client for a whole list of features, and updating the client
[18:16:37] <SergioFilhow> adkron: create a directive
[18:16:38] *** Nicolas________ has quit IRC
[18:16:39] <adkron> if the feature names change
[18:17:01] *** simook is now known as ksimukka
[18:17:21] *** azizur has quit IRC
[18:17:43] *** Oxynum has joined #angularjs
[18:18:06] <adkron> SergioFilhow: I understand the ng-show ng-hide directives, but I'm thinking more of the requests to the server.
[18:18:28] <beardyname> Hello! I was wondering if it's recommend to use multiple controllers per view, or if i should add more functions to said controller
[18:18:33] <elaijuh> when is ng2.0 to be released?
[18:18:43] <adkron> Is there some kind of best practice around how to implement feature level authorization
[18:18:55] <BahamutWC|Work> elaijuh: probably not until 2016
[18:18:57] *** Asiajey has quit IRC
[18:19:14] *** trend has quit IRC
[18:19:16] <SergioFilhow> adkron: do you want to make a request to the server for every check? I wasn't talking about ng directives, I was talking about you create a custom directive
[18:19:21] *** dansays has quit IRC
[18:19:25] *** Asiajey has joined #angularjs
[18:19:31] <adkron> SergioFilhow: ah
[18:19:36] *** Aerospark has quit IRC
[18:19:49] *** cacts|wtf has joined #angularjs
[18:20:40] *** whitebook has joined #angularjs
[18:20:47] *** mupkoo has quit IRC
[18:21:15] *** mupkoo has joined #angularjs
[18:21:18] *** jdcasey has quit IRC
[18:21:19] <adkron> I'd really rather not make a call to the server every time
[18:21:36] *** soee_ has joined #angularjs
[18:21:37] *** mupkoo has quit IRC
[18:21:59] *** mupkoo has joined #angularjs
[18:22:33] *** soee has quit IRC
[18:22:50] *** whiteboo_ has quit IRC
[18:23:17] *** mccarrontr1ck has quit IRC
[18:23:34] *** reavengrey has quit IRC
[18:23:38] *** Fuzzy has joined #angularjs
[18:23:44] *** FIFOd[a] has quit IRC
[18:23:58] *** Linell has quit IRC
[18:24:13] *** sigurding has quit IRC
[18:24:55] *** Aerospark has joined #angularjs
[18:24:59] *** chr1stopher has joined #angularjs
[18:25:04] *** simiographics_ has joined #angularjs
[18:25:11] <yandos> adkron: when you say feature level authorization do you mean based on the current users role?
[18:25:13] *** diosney has joined #angularjs
[18:25:29] *** mguillech has quit IRC
[18:25:50] *** Aerospar_ has joined #angularjs
[18:26:35] *** mguillech has joined #angularjs
[18:26:37] *** Owner__ has joined #angularjs
[18:26:37] *** bullicon has quit IRC
[18:27:00] *** Owner__ is now known as Guest51721
[18:27:45] *** bayousoft has quit IRC
[18:28:25] *** bayousoft has joined #angularjs
[18:28:45] *** bullicon has joined #angularjs
[18:29:05] *** duall has joined #angularjs
[18:29:10] <duall> Heyyy
[18:29:22] *** Aerospark has quit IRC
[18:29:33] *** phzon has quit IRC
[18:29:39] *** firelinks has joined #angularjs
[18:29:46] <duall> So i have this tabled, invalid , ugly, stupid HTML ( Typical email ), what are your thoughts about rendering it inside a DIV? without breaking my page ?
[18:29:52] <duall> option1: iframe
[18:30:25] <duall> option2: ? try striping invalid stuff ?
[18:30:35] *** ahmetkapikiran has joined #angularjs
[18:30:53] *** swombat has joined #angularjs
[18:30:54] *** jlebrech has quit IRC
[18:30:55] *** Oxynum has quit IRC
[18:31:20] *** recidive has joined #angularjs
[18:31:37] *** tplaner has quit IRC
[18:31:41] *** subsonic has joined #angularjs
[18:31:49] *** bayousoft has quit IRC
[18:32:19] *** bayousoft has joined #angularjs
[18:32:45] *** prosper_ has joined #angularjs
[18:32:53] *** brandom has quit IRC
[18:33:25] *** Sjimi has joined #angularjs
[18:33:35] *** adamdbradley has joined #angularjs
[18:33:36] *** kreiggers has quit IRC
[18:33:49] <elaijuh> clear
[18:33:50] *** tristanp has quit IRC
[18:34:00] *** mccarrontr1ck has joined #angularjs
[18:34:15] *** brandom has joined #angularjs
[18:34:16] *** kreiggers has joined #angularjs
[18:34:22] <adkron> SergioFilhow: is there a way to make a directive available to all controllers. I'm currently placing all controllers in a controllers module
[18:34:32] *** Oxynum has joined #angularjs
[18:34:52] *** fedenunez1 has joined #angularjs
[18:35:00] *** jas-_ has quit IRC
[18:35:18] *** tfennelly has quit IRC
[18:35:27] *** nemothekid has joined #angularjs
[18:35:44] <adkron> If I attach it to the controllers module it should be available to everything inside that right?
[18:35:45] <SergioFilhow> adkron: you have to put a directive on an element, for example: <a show-permission="my.permission.id" href="#">...</a>
[18:35:52] *** esk4nd4r has quit IRC
[18:36:18] <swombat> If you use ng-repeat with "item in array", does it create a copy of the items or something? For some reason it's not binding properly (I'm also using xeditable)
[18:36:33] <swombat> basically <a ng-repeat="item in user.stuff" href="#" editable-text="item" onaftersave="updateUser()"> doesn't work
[18:36:41] *** merobertsjr has joined #angularjs
[18:36:58] *** Skrypter has joined #angularjs
[18:37:03] <swombat> (clicking on and editing a, b, c doesn't do anything)
[18:37:08] *** MrBaboon has joined #angularjs
[18:37:19] *** prosper_ has quit IRC
[18:37:22] *** fedenunez has quit IRC
[18:37:28] <swombat> I mean, doesn't save when you click ok, even though it's exactly the same code as the user.name editable
[18:37:33] *** Snugug has quit IRC
[18:37:36] <swombat> (with ng-repeat thrown in)
[18:37:41] <adkron> SergioFilhow: yes, thanks. I don't think I'm being very clear, but you have pointed me in a direction
[18:37:43] *** Una has quit IRC
[18:37:43] <adkron> Thanks you
[18:38:21] *** fourq has joined #angularjs
[18:38:37] *** tplaner has joined #angularjs
[18:39:56] *** fotoflo has joined #angularjs
[18:40:01] *** edy has joined #angularjs
[18:40:10] *** Ajans has quit IRC
[18:40:10] <swombat> ok, well, I figured out a way to do it
[18:40:24] *** tplaner has quit IRC
[18:40:24] <swombat> by accessing the elements in the array via $index instead of the "item in array" approach
[18:40:25] *** Sjimi has quit IRC
[18:41:09] *** ksimukka has quit IRC
[18:41:14] *** tplaner has joined #angularjs
[18:41:21] *** cybernode has joined #angularjs
[18:41:54] *** Skrypter has quit IRC
[18:42:11] *** jamieshepherd has quit IRC
[18:42:12] *** NevilleS has quit IRC
[18:42:57] *** mguillech has quit IRC
[18:43:09] *** minded has joined #angularjs
[18:43:18] *** carlosmantilla has joined #angularjs
[18:43:23] *** AngularUI has joined #angularjs
[18:43:23]
<AngularUI> [ng-grid] igormalyk closed pull request #2093: Pager next/previous buttons are invisible because of different class names. (master...master) http://git.io/D79UxQ
[18:43:23] *** AngularUI has left #angularjs
[18:43:49] *** azizur has joined #angularjs
[18:43:51] *** carlosmantilla has quit IRC
[18:43:54] *** tristanp has joined #angularjs
[18:44:09] *** mguillech has joined #angularjs
[18:44:12] *** carlosmantilla has joined #angularjs
[18:44:14] *** arthas has quit IRC
[18:44:33] *** firelinks has quit IRC
[18:44:40] *** gnrlbzik has quit IRC
[18:44:54] *** carlosmantilla has quit IRC
[18:44:56] *** richiebkr has quit IRC
[18:44:57] <elaijuh> when ng-grid3.0 is gonna be released?
[18:44:59] *** ksimukka has joined #angularjs
[18:45:02] *** grogs has joined #angularjs
[18:45:02] *** jamieshepherd has joined #angularjs
[18:45:08] *** carlosmantilla has joined #angularjs
[18:45:18] *** krawek has quit IRC
[18:45:23] *** thedodd has quit IRC
[18:45:42] *** FIFOd[a] has joined #angularjs
[18:45:58] *** darnell has joined #angularjs
[18:46:18] *** darnell has joined #angularjs
[18:46:29] *** robdubya has joined #angularjs
[18:46:51] *** lthomas has quit IRC
[18:47:06] <darnell> Hey folks. I think I've been doing something very wrong, but I can't think of another way to go about it.
[18:47:07] *** FIFOd[a] has quit IRC
[18:47:20] <darnell> Could use some help if someone has a minute. Here's my issue.
[18:47:43] *** reavengrey has joined #angularjs
[18:47:43] *** FIFOd[a] has joined #angularjs
[18:48:23] <darnell> My Angular Controllers have method calls at the end that result in $http calls. So, my Jasmine tests end up needing to mock a lot of $http requests.
[18:48:57] <darnell> They become unmanageable, and are throwing errors when I run Karma that I'm having problems troubleshooting.
[18:49:10] *** gnrlbzik has joined #angularjs
[18:49:37] *** carlosmantilla has quit IRC
[18:49:50] *** FIFOd[a][a] has joined #angularjs
[18:49:52] *** m8 has quit IRC
[18:49:52] <darnell> Does anyone know of a better pattern for initializing a Controller from their REST API without making tests that instantiate the Controller a mess?
[18:49:57] *** adamdbradley has quit IRC
[18:50:00] *** FIFOd[a] has quit IRC
[18:51:03] <elaijuh> put api in service
[18:51:07] *** sm|s2 has joined #angularjs
[18:51:09] *** cybernode has quit IRC
[18:51:55] *** stylemistake has quit IRC
[18:51:55] *** sm|s2 has quit IRC
[18:52:06] *** stylemistake has joined #angularjs
[18:52:12] *** Sjimi has joined #angularjs
[18:52:29] *** mupkoo has quit IRC
[18:52:53] *** josh3336 has quit IRC
[18:52:55] *** mupkoo has joined #angularjs
[18:53:34] *** Sjimi has quit IRC
[18:54:25] *** pell0 has quit IRC
[18:55:05] *** RobinBAwesome has joined #angularjs
[18:55:31] *** jheady has joined #angularjs
[18:55:42] *** deweydb has quit IRC
[18:56:17] <digisky> Anyone have an idea where I might find good examples of using ngAnimate?
[18:56:33] *** tsalb has joined #angularjs
[18:56:35] *** Rafzzz has quit IRC
[18:57:00] *** mupkoo_ has joined #angularjs
[18:57:04] *** gnrlbzik has quit IRC
[18:57:09] *** mupkoo has quit IRC
[18:57:22] *** whitebook has quit IRC
[18:57:26] *** Josh has joined #angularjs
[18:57:47] *** beardyname has quit IRC
[18:57:49] <glitch100> darnell: if you can distill your issue on plunker, you'll likely get faster responses. I don't know if your issue is one that can be put on there.
[18:57:50] *** Josh is now known as Guest60939
[18:57:57] *** spaceonline has quit IRC
[18:58:15] <glitch100> darnell: that said, I don't have the skill to help, plunker or not.
[18:58:18] *** whitebook has joined #angularjs
[18:58:20] *** agrajag42 has joined #angularjs
[18:58:32] *** Fuzzier has joined #angularjs
[18:58:48] <darnell> glitch100 Yeah. I was thinking about that. Seems like a complex example, though maybe just because I'm looking at my monster Controller.
[18:59:15] <ClearsTheScreen> darnell: (a) make the monster controller a tinycreature controller; throw away the unneded parts :) (b) as been said before, services can be your friend.
[18:59:17] <darnell> glitch100 If I stay stuck after trying a couple more things, I'll probably do that. Thanks.
[18:59:47] *** Fuzzy has quit IRC
[18:59:48] *** mguillech has quit IRC
[19:00:02] <glitch100> darnell: there are some good pluralsight courses, too, that go into testing and so forth.
[19:00:12] *** trend has joined #angularjs
[19:00:13] *** jstroem has quit IRC
[19:00:22] <glitch100> darnell: you can cherry pick the relevant modules in those tuts.
[19:00:40] *** mguillech has joined #angularjs
[19:00:44] *** jheady1 has joined #angularjs
[19:00:56] *** jstroem has joined #angularjs
[19:01:04] *** soee__ has joined #angularjs
[19:01:27] <darnell> glitch100 I'm not familiar with pluralsight. I'll give it a look. Thanks for the recommendation.
[19:01:34] *** Fuzzy has joined #angularjs
[19:02:14] *** zemanel has quit IRC
[19:02:19] *** soee_ has quit IRC
[19:02:28] *** jheady has quit IRC
[19:02:43] <digisky> meh
[19:02:51] *** Fuzzier has quit IRC
[19:02:56] *** sandalon has joined #angularjs
[19:03:19] *** mzabriskie has joined #angularjs
[19:04:29] *** recidive has quit IRC
[19:04:31] *** kenhoes has joined #angularjs
[19:04:49] *** kenhoes is now known as kenpoint
[19:05:04] *** tomzx is now known as tomzx`afk
[19:05:17] *** jstroem has quit IRC
[19:06:17] *** favetelinguis has quit IRC
[19:07:55] *** wallerdev has joined #angularjs
[19:08:14] *** nairys has joined #angularjs
[19:08:17] *** adpirz has joined #angularjs
[19:08:22] *** emmesswhy has joined #angularjs
[19:08:49] *** fotoflo has quit IRC
[19:09:23] *** NevilleS has joined #angularjs
[19:09:45] *** bee_keeper has quit IRC
[19:10:44] *** bradgignac has quit IRC
[19:10:56] *** Sky[x] has quit IRC
[19:11:13] *** Guest24183 has joined #angularjs
[19:11:27] *** cthrax has quit IRC
[19:11:32] *** Sky[x] has joined #angularjs
[19:12:01] *** adben has joined #angularjs
[19:12:01] *** prbc has quit IRC
[19:12:19] *** chrisbirk has joined #angularjs
[19:12:51] *** sandalon has quit IRC
[19:13:05] *** adpirz has quit IRC
[19:13:22] *** bealtine has joined #angularjs
[19:13:45] *** jareddlc has joined #angularjs
[19:13:50] *** tomzx`afk is now known as tomzx
[19:14:02] *** favetelinguis has joined #angularjs
[19:14:36] *** jacuqesdancona_ has joined #angularjs
[19:14:48] *** bayousoft has quit IRC
[19:14:51] *** trend has quit IRC
[19:15:23] *** bayousoft has joined #angularjs
[19:15:35] *** Juanchito has quit IRC
[19:17:24] *** prbc has joined #angularjs
[19:17:39] *** frem has joined #angularjs
[19:18:24] *** duall has quit IRC
[19:18:28] *** trend has joined #angularjs
[19:18:37] *** prbc has quit IRC
[19:18:56] *** Rejected has joined #angularjs
[19:18:57] *** jacuqesdancona_ has quit IRC
[19:19:08] *** larsgk has joined #angularjs
[19:19:31] *** iribarne has joined #angularjs
[19:19:33] *** moritzs has joined #angularjs
[19:19:45] *** whunt has joined #angularjs
[19:19:49] *** yandos has quit IRC
[19:20:56] *** bayousoft has quit IRC
[19:21:27] *** Oxynum has quit IRC
[19:21:32] *** adben has quit IRC
[19:21:47] *** tfennelly has joined #angularjs
[19:22:20] *** Snugug has joined #angularjs
[19:22:23] *** frem has quit IRC
[19:22:28] *** mguillech has quit IRC
[19:22:48] *** zzing has joined #angularjs
[19:23:13] *** Guest98582 has quit IRC
[19:23:14] *** woah has joined #angularjs
[19:23:37] *** mguillech has joined #angularjs
[19:23:39] *** jheady1 has left #angularjs
[19:24:14] *** Kwastie has joined #angularjs
[19:24:15] *** NorthBlast has joined #angularjs
[19:24:21] *** d4rklit3 has joined #angularjs
[19:24:34] *** merobertsjr has quit IRC
[19:24:37] *** hmsimha_ has joined #angularjs
[19:24:55] *** Evanion has quit IRC
[19:25:36] *** wallerdev has quit IRC
[19:25:40] *** davidreis has quit IRC
[19:25:53] *** Xethron has quit IRC
[19:25:54] *** merobertsjr has joined #angularjs
[19:25:57] *** tplaner has quit IRC
[19:26:14] *** zzing has quit IRC
[19:26:16] *** Linell has joined #angularjs
[19:26:18] *** Guest51721 has quit IRC
[19:26:38] *** RobinBAwesome has quit IRC
[19:26:52] *** cthrax has joined #angularjs
[19:27:06] *** tplaner has joined #angularjs
[19:27:12] *** sinequanon has joined #angularjs
[19:27:21] *** vsateeshk has joined #angularjs
[19:27:23] *** vassagus has quit IRC
[19:27:32] *** RobinBAwesome has joined #angularjs
[19:27:33] *** wallerdev has joined #angularjs
[19:27:55] *** recidive has joined #angularjs
[19:27:58] *** favetelinguis has quit IRC
[19:28:06] *** wallerdev has quit IRC
[19:28:11] *** vsateeshk has quit IRC
[19:28:16] *** emmesswhy has quit IRC
[19:28:26] *** orbsio has joined #angularjs
[19:28:28] *** wallerdev has joined #angularjs
[19:28:36] *** orbsio is now known as Guest89872
[19:28:36] *** favetelinguis has joined #angularjs
[19:29:25] *** phuh has joined #angularjs
[19:29:35] *** asteriskATmarmuD has joined #angularjs
[19:29:52] *** Siecje has quit IRC
[19:30:45] *** MistahKurtz has joined #angularjs
[19:31:12] *** arkin has quit IRC
[19:31:16] *** plato has joined #angularjs
[19:31:21] *** MistahKurtz has quit IRC
[19:32:07] *** Siecje has joined #angularjs
[19:32:07] *** MistahKurtz has joined #angularjs
[19:32:14] *** favetelinguis has quit IRC
[19:32:19] *** digisky has left #angularjs
[19:32:29] *** quantax- has quit IRC
[19:32:40] *** favetelinguis has joined #angularjs
[19:32:54] *** MistahKurtz has quit IRC
[19:32:54] <ctanga> it’s quiet in here today
[19:33:18] *** derickf has joined #angularjs
[19:33:26] *** Lingos has joined #angularjs
[19:33:40] *** yts has joined #angularjs
[19:33:43] *** MistahKurtz has joined #angularjs
[19:34:05] <asteriskATmarmuD> how do I get the data of a php array "into" angular to display it using ng-repeat?
[19:34:18] *** nandoflorestan has joined #angularjs
[19:34:19] *** derickf has quit IRC
[19:34:30] *** NevilleS has quit IRC
[19:35:03] <Linell> asteriskATm: You'd need to make a route in PHP that returns the JSON encoded array. Then call that route from your angular app and boom, there it is.
[19:35:08] *** whitebook has quit IRC
[19:35:09] *** derickf has joined #angularjs
[19:35:13] *** eamonn has quit IRC
[19:35:17] *** trend has quit IRC
[19:35:30] <elaijuh> $httpBackend.expectGET and $httpBackend.flush
[19:35:43] *** jackdpeterson has joined #angularjs
[19:35:45] *** derickf has quit IRC
[19:35:57] <asteriskATmarmuD> Linell: sounds like I could do that. thanks for the keywords, will google and figure something out :)
[19:35:58] *** eBureau has quit IRC
[19:37:05] <zomg> those are if you want to avoid using ajax
[19:38:10] <caitp> let us watch
[19:38:13] <caitp> and hope for the best
[19:38:18] *** CiE has quit IRC
[19:38:22] *** NevilleS has joined #angularjs
[19:38:25] <caitp> particularly the asan builds those scare me
[19:38:57] <ctanga> whats up?
[19:39:04] *** guilbep has quit IRC
[19:39:20] *** CiE has joined #angularjs
[19:39:26] *** AimerPaddle has joined #angularjs
[19:39:31] *** trend_ has joined #angularjs
[19:39:32] *** disorder20 has joined #angularjs
[19:39:40] *** dcherman2 has joined #angularjs
[19:39:56] *** mguillech has quit IRC
[19:40:02] *** say2joe has joined #angularjs
[19:40:19] *** naneau has quit IRC
[19:40:33] <asteriskATmarmuD> zomg: thx!
[19:41:02] *** dcherman has quit IRC
[19:41:06] <ioudas> Does anyone know why i cant transfer checkbox values between controllers or root scope. It seems i initalize them and when i change state the logic turns back to initalizing them....
[19:41:08] *** mguillech has joined #angularjs
[19:41:58] <Linell> ioudas: Do you have a plunker of it?
[19:42:12] *** say2joe has quit IRC
[19:42:43] <ioudas> i dont have a plunker. I can show you a pasebin
[19:42:46] <ioudas> pastebin
[19:42:50] <ioudas> does that work?
[19:43:19] <Linell> It might. Being able to run the code and fiddle with it easily helps, though.
[19:43:23] <ioudas> yeah
[19:43:27] <ioudas> my back end is all cobol/soap
[19:43:31] *** chr1stopher has left #angularjs
[19:44:06] *** AngularUI has joined #angularjs
[19:44:07]
<AngularUI> [bootstrap] kbaltrinic opened pull request #2972: Fix 2331 (master...fix-2331) http://git.io/m9mKxQ
[19:44:07] *** AngularUI has left #angularjs
[19:44:19] *** baweaver has joined #angularjs
[19:44:30] *** bradgignac has joined #angularjs
[19:44:39] *** quantax- has joined #angularjs
[19:44:56] *** bradgignac has quit IRC
[19:45:19] *** IvailoStoianov has quit IRC
[19:45:28] *** marcjs__ has joined #angularjs
[19:45:44] *** baweaver has quit IRC
[19:45:45] *** Asiajey has quit IRC
[19:45:49] *** tech2_ has quit IRC
[19:46:07] *** Asiajey has joined #angularjs
[19:46:27] *** IvailoStoianov has joined #angularjs
[19:46:27] *** NorthBlast has quit IRC
[19:46:37] *** japhar81 has joined #angularjs
[19:46:50] *** brantje`away has quit IRC
[19:47:23] <ioudas> it works when i move to the 2nd view/controller
[19:47:49] <ioudas> but when i go back using $state it puts them all back as checked. If i remove the true statements it needs to be initalized and errors out...
[19:48:50] *** a_ghost_irl has joined #angularjs
[19:48:51] *** jaznow has quit IRC
[19:49:05] *** marcjs_ has quit IRC
[19:49:27] <ctanga> monokrome: the children nodes aren’t in place during postlink methinks.
[19:50:06] *** davek_ has quit IRC
[19:50:12] *** fotoflo has joined #angularjs
[19:51:00] <monokrome> ctanga: Yeah, but I'm wondering what the solution is. They aren't in place during compile, postlink, or after attaching the child from a transclusion function
[19:51:13] *** lthomas has joined #angularjs
[19:51:16] *** _ritchie_ has joined #angularjs
[19:51:21] *** say2joe has joined #angularjs
[19:51:23] <monokrome> I'm thinking that maybe there's an event or something that I can listen for
[19:51:25] <ctanga> monokrome: check the plunk, I just ran your DOM code in the next digest
[19:51:35] *** say2joe has quit IRC
[19:52:05] *** sandalon has joined #angularjs
[19:52:06] <monokrome> hmm
[19:52:15] <ctanga> not pretty, but it works
[19:52:15] <monokrome> I was trying to avoid that, but I guess it may be the only solution
[19:52:28] *** baweaver has joined #angularjs
[19:52:30] <monokrome> Is there a way to listen for *any* event on a scope?
[19:52:39] <ctanga> no idea
[19:52:43] <monokrome> hmm
[19:52:52] <monokrome> dropping a console.log into angular itself will do it then :D
[19:52:55] *** quantax- has quit IRC
[19:52:57] <monokrome> Thanks for the help!
[19:53:28] <ctanga> I don’t think there’s any event you can trigger on that says “the content of my directive is done rendering”
[19:53:53] *** Asiajey has quit IRC
[19:53:56] <ctanga> because all that content rendering may happen in digest after digest with one nested directive loading others, etc
[19:54:04] *** shackleford has quit IRC
[19:54:06] *** patrick99e99 has quit IRC
[19:55:00] <monokrome> Yeah, I wouldn't mind that unless you're saying that the order of elements being parsed isn't deterministic?
[19:55:14] *** glassir has quit IRC
[19:55:32] <ctanga> i’m sure it’s deterministic, but I think it is essentially async and “coalesces”, more than it “terminates”
[19:55:36] *** Sky[x] has quit IRC
[19:55:44] <asteriskATmarmuD> zomg: would love to avoid ajax, since I already got the data out of the DB. but I don't get how to assign my PHP array to the module.value
[19:55:57] *** SergioFilhow has quit IRC
[19:56:32] *** Versality has joined #angularjs
[19:56:34] *** SergioFilhow has joined #angularjs
[19:56:56] *** glassir has joined #angularjs
[19:57:12] *** mettjus has joined #angularjs
[19:57:12] <ctanga> assign it to a JS var; reference that js var in module.value
[19:57:26] <ctanga> if you wanna get fancy, you can delete the global var when you’ve got the reference
[19:57:26] *** mclenithan has joined #angularjs
[19:57:33] *** elaijuh has quit IRC
[19:57:37] *** glassir has quit IRC
[19:57:40] *** gnrlbzik has joined #angularjs
[19:57:49] *** fotoflo has quit IRC
[19:57:54] *** mguillech has quit IRC
[19:58:08] *** gazbond has joined #angularjs
[19:58:11] *** TheAceOfHearts has joined #angularjs
[19:58:28] *** Sky[x] has joined #angularjs
[19:58:40] *** mguillech has joined #angularjs
[19:59:01] <ctanga> monokrome: I meant quiesce, not coalesce
[19:59:02] <asteriskATmarmuD> ctanga: ok, that was helpful. gotta figure out how again, to new to all of this :)
[19:59:23] <ctanga> asteriskATmarmuD: find the PHP function that converts an array to JSON
[19:59:47] *** marcjs__ has quit IRC
[20:00:05] <lebster> say i have a project, and it has a list of tasks. do i make a project service, and a tasklist service. and when i call getProjectData(id) on my prjoect service, do i have it call tasklist getTasksData(projectId)? or do i just return tasks in my getProjectData json?
[20:00:35] <asteriskATmarmuD> ctanga: ok, so first to json, than assign to JS var, then using it in module.value
[20:00:44] *** boxmein has joined #angularjs
[20:01:10] *** elaijuh has joined #angularjs
[20:01:18] <elaijuh> clear
[20:01:21] <ctanga> asteriskATmarmuD: yeah. your php code will basically be “generating javascript code”, so make sure everything is quoted (or not) appropriately
[20:01:30] *** danecando has quit IRC
[20:01:51] *** nuizzy has joined #angularjs
[20:01:56] <ctanga> lebster: either approach is acceptable
[20:01:58] <monokrome> ctanga: What is the syntax trick on line 13 of the JS file?
[20:02:10] *** quantax- has joined #angularjs
[20:02:20] *** mic has joined #angularjs
[20:02:26] <ctanga> monokrome: that’s a typo
[20:02:35] *** firelinks has joined #angularjs
[20:02:35] <mic> hiu
[20:02:38] <mic> hi
[20:02:40] <ctanga> hi
[20:02:44] *** mic is now known as Guest86515
[20:02:49] <monokrome> oh okay
[20:02:52] <monokrome> :)
[20:03:00] <Guest86515> how are u today
[20:03:01] *** waverider has joined #angularjs
[20:03:02] *** rhp has quit IRC
[20:03:09] *** Shai-Tan has joined #angularjs
[20:03:15] *** Siecje has quit IRC
[20:03:27] *** gazbond has quit IRC
[20:03:37] *** mccarrontr1ck has quit IRC
[20:03:45] <Guest86515> hi
[20:04:05] *** ^Denis has quit IRC
[20:04:08] *** ctanga has quit IRC
[20:04:15] <lebster> ctanga: hmmm ok... what about if i have a projectService and a projectListService. in my projectListService, do I somehow use the projectService object when populating a list from a json response?
[20:04:22] <ioudas> Does anyone know why i cant transfer checkbox values between controllers or root scope. It seems i initalize them and when i change state the logic turns back to initalizing them....
[20:04:27] *** rho has quit IRC
[20:04:31] <lebster> or are they treated as two separate things
[20:04:38] <lebster> are they to be treated*
[20:04:52] *** ctanga has joined #angularjs
[20:05:35] *** whitebook has joined #angularjs
[20:06:04] *** lxer has joined #angularjs
[20:06:05] *** Ch4rAss has joined #angularjs
[20:06:05] *** lxer_ has quit IRC
[20:06:18] *** ^Denis has joined #angularjs
[20:06:38] <boxmein> hi
[20:06:38] *** SergioFilhow has quit IRC
[20:06:42] <boxmein> it seems I'm missing something huge
[20:06:56] <boxmein> if I write a mostly-client-side web app with angular, or whichever library
[20:07:13] <boxmein> with an existing server-side, though
[20:07:27] <boxmein> what is a decent way to get initial data into the webpage without making the client fetch it in the background
[20:07:38] *** Underbyte has joined #angularjs
[20:07:38] *** ciwolsey has quit IRC
[20:07:44] *** Una has joined #angularjs
[20:07:56] *** ^Denis has quit IRC
[20:08:06] <boxmein> the webpage feels slower with this ...strategy of first loading the webpage and assets, then displaying spinny things, then waiting for the asynchronous request and then re-displaying the webpage, this time with data in place of spinners
[20:08:06] <Underbyte> question, what does '/#/' accomplish in a route?
[20:08:08] *** waverider is now known as Guest36322
[20:08:09] *** waverider_ has joined #angularjs
[20:08:15] *** ^Denis has joined #angularjs
[20:08:23] *** mzabriskie has quit IRC
[20:08:30] *** SergioFilhow has joined #angularjs
[20:08:38] *** sandalon has quit IRC
[20:08:47] *** FIFOd[a][a] has quit IRC
[20:08:50]
<boxmein> Underbyte: well, https://site.com/ refers to / of site.com, meaning mostly every browser will go to fetch /index.html, not something under /verify/token
[20:08:50] *** Sebastien-L has quit IRC
[20:08:54] *** shackleford has joined #angularjs
[20:09:13] *** robdubya has quit IRC
[20:09:22] *** FIFOd[a] has joined #angularjs
[20:09:24] <boxmein> Underbyte: when you define multiple different pages inside a single index page, then the concept of URLs becomes wonky, since you're still referring to the same index.html page, just a different display of it
[20:09:28] *** azizur has quit IRC
[20:09:59] *** bullicon has quit IRC
[20:10:09] *** opiates has joined #angularjs
[20:10:11] *** favetelinguis has quit IRC
[20:10:14] <boxmein> Underbyte: but you still somehow have to remember which view of the index.html you actually want, so let's use `window.location.hash` to store it in!
[20:10:33] *** rmichnik has quit IRC
[20:10:39] <boxmein> Underbyte: #anchors are little snippets you can add at the end of URLs that won't change the request page, but client-side code can access it
[20:10:39] *** wafflej0ck has quit IRC
[20:10:44] *** favetelinguis has joined #angularjs
[20:11:16] <boxmein> Underbyte: its actual use is to automatically scroll to a sub-heading referred to with id=asdf or name=asdf, by simply adding #asdf to the end of the URL
[20:11:34] *** Guest36322 has quit IRC
[20:11:43] *** NevilleS has quit IRC
[20:11:47] <boxmein> Underbyte: well, angular probably just cuts off the # to get the actual path it needs, instead of cutting off #! like Twitter and a few other apps did
[20:11:57] *** CHC has joined #angularjs
[20:12:02] *** wafflej0ck has joined #angularjs
[20:12:14] *** bengillies has quit IRC
[20:12:29] *** mzabriskie has joined #angularjs
[20:12:53] *** davi has quit IRC
[20:12:55] <ioudas> Does anyone know why i cant transfer checkbox values between controllers or root scope. It seems i initalize them and when i change state the logic turns back to initalizing them....
[20:12:57] *** whitebook has quit IRC
[20:13:10] *** Sontakey has joined #angularjs
[20:13:41] *** borvoh has quit IRC
[20:13:43] *** Oxynum has joined #angularjs
[20:13:50] *** NevilleS has joined #angularjs
[20:14:01] *** tristanp has quit IRC
[20:14:34] *** FIFOd[a] has quit IRC
[20:14:58] *** favetelinguis has quit IRC
[20:15:10] *** mguillech has quit IRC
[20:15:29] *** PointBlank has quit IRC
[20:15:30] *** thedodd has joined #angularjs
[20:15:50] *** Guest86515 has quit IRC
[20:16:03] *** boxmein is now known as [boxmein]
[20:16:17] *** SergioFilhow has quit IRC
[20:16:19] *** mguillech has joined #angularjs
[20:16:20] *** favetelinguis has joined #angularjs
[20:16:21] *** grumpyOldRussian has joined #angularjs
[20:16:24] *** cphil has joined #angularjs
[20:16:31] *** moritzs has quit IRC
[20:16:38] *** Ch4rAss has quit IRC
[20:17:03] *** Siecje has joined #angularjs
[20:17:12] *** Evanion has joined #angularjs
[20:17:13] *** NevilleS has quit IRC
[20:18:05] *** phzon has joined #angularjs
[20:18:25] *** dc_ has quit IRC
[20:18:26] *** prbc has joined #angularjs
[20:18:50] *** lugzer has quit IRC
[20:19:06] <grumpyOldRussian> hey guys, I'm a bit confused about testing a directive with dragging functionality. Jasmine doesn't seem to be helpful unless I use something like funcUnit for mocking user interactions. But protractor seems to serve another purpose namely testing the whole app.
[20:19:20] *** Underbyte has quit IRC
[20:19:28] *** robdubya has joined #angularjs
[20:19:50] *** NevilleS has joined #angularjs
[20:20:01] *** simiographics_ has quit IRC
[20:20:02] <ioudas> Does anyone know why i cant transfer checkbox values between controllers or root scope. It seems i initalize them and when i change state the logic turns back to initalizing them....
[20:20:03] <elaijuh> how you impl dragging?
[20:20:03] *** Underbyte has joined #angularjs
[20:20:09] <grumpyOldRussian> Or I'm getting it wrong and if my directive is a standalone module I can just write a demo app for this directive only and test it with protractor
[20:20:14] <grumpyOldRussian> drag and drop
[20:20:17] *** ColKurtz has joined #angularjs
[20:20:25] *** c00ljs has quit IRC
[20:20:31] *** tom_ has joined #angularjs
[20:20:31] <elaijuh> i mean by lib or by yourself
[20:20:37] <grumpyOldRussian> by myself
[20:20:52] *** ColKurtz has quit IRC
[20:20:56] *** kayoone has quit IRC
[20:20:56] *** tom_ is now known as Guest60253
[20:21:26] *** nagappan_ has quit IRC
[20:21:31] *** c00ljs has joined #angularjs
[20:21:33] *** ColKurtz has joined #angularjs
[20:22:11] <elaijuh> i will do that in protractor rather than mocking user interaction in jasmine
[20:22:22] *** Guest24183 has quit IRC
[20:22:22] *** vassagus has joined #angularjs
[20:22:25] *** nagappan has joined #angularjs
[20:22:25] *** nagappan has joined #angularjs
[20:22:26] *** MistahKurtz has quit IRC
[20:22:33] *** FIFOd[a] has joined #angularjs
[20:22:41] *** SergioFilhow has joined #angularjs
[20:22:45] *** nuizzy has quit IRC
[20:22:57] <grumpyOldRussian> elaijuh: ok, thanks. I thought so as well. seems like doing it in jasmine is trying to write your own protractor:)
[20:23:11] *** phzon has quit IRC
[20:23:32] <elaijuh> grumpyOldRussian: got the point, and without webdriver
[20:23:41] *** NevilleS has quit IRC
[20:24:29] *** gnrlbzik has quit IRC
[20:24:43] *** Ch4rAss has joined #angularjs
[20:24:45] <grumpyOldRussian> elaijuh: well, I'm off to lean protractor then... hope I can handle it:)
[20:25:13] *** mupkoo_ has quit IRC
[20:25:24] *** NevilleS has joined #angularjs
[20:25:40] *** mupkoo has joined #angularjs
[20:25:44] *** phuh has quit IRC
[20:25:45] *** jdcasey has joined #angularjs
[20:25:53] *** ColKurtz has quit IRC
[20:26:11] <grumpyOldRussian> elaijuh: I obviuosly can't use protractor in a tdd way where I write my tests first and then implement the functionality?
[20:26:15] *** phuh has joined #angularjs
[20:26:20] *** H1FuelCell has joined #angularjs
[20:26:29] *** stew_ has joined #angularjs
[20:26:38] *** gazbond has joined #angularjs
[20:26:53] *** stew_ is now known as Guest68519
[20:27:07] <Guest68519> is there any way to register a watch and not have it fire immediately? most of the time when i register a watch, it immediately gets called with the first value in both newVal and oldVal... id prefer it if it only fires when it changes
[20:27:07] <elaijuh> grumpyOldRussian: well tdd is much for unit test, protractor is for e2e test
[20:27:12] *** Guest68519 is now known as jacksonmills
[20:27:16] *** Owner__ has joined #angularjs
[20:27:17] *** StryKaizer has joined #angularjs
[20:27:22] *** tech2_ has joined #angularjs
[20:27:25] *** iribarne has quit IRC
[20:27:32] <elaijuh> grumpyOldRussian: i will not suggest doing tdd with protractor...
[20:27:40] *** Owner__ is now known as Guest39431
[20:27:46] <elaijuh> grumpyOldRussian: that drives you crazy :>
[20:28:23] *** merobertsjr has quit IRC
[20:28:31] <grumpyOldRussian> elaijuh: that just means writing and constantly checking in browser. I wanted to avoid it:-/
[20:28:32] *** [boxmein] is now known as boxmein
[20:28:52] *** anjumkaiser has joined #angularjs
[20:29:07] <jacksonmills> here is a snippet to show you what i am talking about
[20:29:40] *** jmckind has joined #angularjs
[20:29:52] *** krawek has joined #angularjs
[20:29:53] *** krawek has joined #angularjs
[20:30:01] <jacksonmills> i seem to always need the newVal != oldVal
[20:30:06] *** qdk has quit IRC
[20:30:11] *** mupkoo has quit IRC
[20:30:19] <elaijuh> grumpyOldRussian: definitely
[20:30:28] *** johnstorey has joined #angularjs
[20:30:41] *** uru is now known as uru|away
[20:30:54] *** nagappan has quit IRC
[20:31:24] *** stirlingw has quit IRC
[20:31:33] *** iateadonut has joined #angularjs
[20:31:34] *** nagappan has joined #angularjs
[20:31:53] *** adamdbradley has joined #angularjs
[20:32:03] *** merobertsjr has joined #angularjs
[20:32:47] *** mguillech has quit IRC
[20:33:03] *** firelinks has quit IRC
[20:33:14] *** Z3R0 has joined #angularjs
[20:33:26] *** carlosmantilla has joined #angularjs
[20:33:32] *** Sebastien-L has joined #angularjs
[20:33:54] *** mguillech has joined #angularjs
[20:34:03] *** NevilleS has quit IRC
[20:34:03] *** Oxynum has quit IRC
[20:34:06] *** Snugug has quit IRC
[20:34:54] *** macabre has quit IRC
[20:35:04] *** surreal_ has quit IRC
[20:35:35] *** scythe__ has quit IRC
[20:35:46] *** MJD has quit IRC
[20:35:56] <jacksonmills> is this normal?
[20:36:00] <jacksonmills> ...is anyone here?
[20:36:02] <jacksonmills> hahah
[20:36:13] *** NevilleS has joined #angularjs
[20:36:30] *** Z3R0 has quit IRC
[20:36:56] *** macabre_ has joined #angularjs
[20:37:16] <elaijuh> it's angular mechanism to trigger an init watch
[20:37:35] <elaijuh> and the newValue should be undefined
[20:37:44] *** nagappan has quit IRC
[20:37:44] *** carlosmantilla has quit IRC
[20:37:58] <jacksonmills> its not in this case
[20:38:22] *** prosper_ has joined #angularjs
[20:38:22] <jacksonmills> very defined, very false
[20:38:28] *** nagappan has joined #angularjs
[20:38:33] *** MJD has joined #angularjs
[20:39:45] *** btc_panhandler has quit IRC
[20:39:47] *** Oxynum has joined #angularjs
[20:40:47] *** NevilleS has quit IRC
[20:40:52] *** IvailoStoianov has quit IRC
[20:40:56] *** esk4nd4r has joined #angularjs
[20:42:12] *** folippi has joined #angularjs
[20:43:41] <ioudas> Does anyone know why i cant transfer checkbox values between controllers or root scope. It seems i initalize them and when i change state the logic turns back to initalizing them....
[20:43:43] *** NevilleS has joined #angularjs
[20:43:43] *** dc_ has joined #angularjs
[20:44:02] *** gnrlbzik has joined #angularjs
[20:45:50] *** eamonn has joined #angularjs
[20:45:55] *** Una has quit IRC
[20:45:57] *** cacts has joined #angularjs
[20:46:02] *** bb6xt has joined #angularjs
[20:46:06] *** sl33k has joined #angularjs
[20:46:07] *** tech2_ has quit IRC
[20:46:14] *** trend_ has quit IRC
[20:46:28] *** NevilleS has quit IRC
[20:46:46] *** eBureau has joined #angularjs
[20:47:01] *** larsgk has quit IRC
[20:47:11] *** Z3R0 has joined #angularjs
[20:47:16] *** ethanwelborn has joined #angularjs
[20:47:45] *** disorder20 has quit IRC
[20:48:02] <zomg> ioudas: you've asked that like five or six times I think? Maybe you should try rephrasing the question if nobody is answering it
[20:48:09] *** atomical has joined #angularjs
[20:48:17] *** SergioFilhow has quit IRC
[20:48:33] <zomg> I for one have no idea what you're trying to do... :D
[20:48:47] <ioudas> fair enough
[20:49:02] *** NevilleS has joined #angularjs
[20:49:17] *** whitebook has joined #angularjs
[20:49:36] *** mguillech has quit IRC
[20:49:59] *** nagappan has quit IRC
[20:50:04] *** folippi has quit IRC
[20:50:23] *** eamonn has quit IRC
[20:50:41] *** nagappan has joined #angularjs
[20:50:45] <Guest60253> anyone else here find nodeschool is always out of date, expressworks official solutions dont even work
[20:51:57] *** trend has joined #angularjs
[20:51:58] *** one0one has joined #angularjs
[20:52:07] *** NevilleS has quit IRC
[20:52:54] *** prosper_ has quit IRC
[20:53:34] *** folippi has joined #angularjs
[20:53:36] *** H1FuelCell has quit IRC
[20:53:41] *** folippi has quit IRC
[20:53:53] *** folippi has joined #angularjs
[20:53:56] *** swombat has quit IRC
[20:54:13] *** NevilleS has joined #angularjs
[20:54:30] *** subtone100 has joined #angularjs
[20:54:30] *** jillesme has joined #angularjs
[20:54:31] *** jillesme has joined #angularjs
[20:54:39] *** tristanp has joined #angularjs
[20:54:51] *** tplaner has quit IRC
[20:54:54] *** folippi has quit IRC
[20:56:15] *** firelinks has joined #angularjs
[20:56:36] *** jmckind has quit IRC
[20:57:01] *** baweaver has quit IRC
[20:57:08] *** Sna4x8 has quit IRC
[20:57:12] *** adpirz has joined #angularjs
[20:57:18] *** mtsr has joined #angularjs
[20:57:23] *** NevilleS has quit IRC
[20:57:49] *** Snugug has joined #angularjs
[20:58:02] *** fabioluciano has joined #angularjs
[20:58:08] *** Sna4x8 has joined #angularjs
[20:58:20] *** mguillech has joined #angularjs
[20:58:34] *** iribarne has joined #angularjs
[20:58:45] *** tplaner has joined #angularjs
[20:58:57] *** NevilleS has joined #angularjs
[20:58:59] <ioudas> Does anyone know why i cant transfer checkbox values between controllers or root scope. It seems i initalize them on the first controller for the models to be initalized and when i change state the logic turns back to initalizing them....
[21:00:00] *** Latros-O_ has quit IRC
[21:00:32] *** Lingos has quit IRC
[21:00:39] *** szymek has joined #angularjs
[21:00:44] *** Alina-malina has quit IRC
[21:00:45] *** CodeFriar is now known as codefriar|hotWet
[21:00:48] *** mccarrontr1ck has joined #angularjs
[21:01:00] *** codefriar|hotWet is now known as Codefriar
[21:01:04] *** Alina-malina has joined #angularjs
[21:01:04] *** Alina-malina has joined #angularjs
[21:01:20] *** firelinks has quit IRC
[21:01:35] *** Lingos has joined #angularjs
[21:01:37] *** adpirz has quit IRC
[21:02:16] *** kuadrosx has quit IRC
[21:02:36] *** hmsimha_ has quit IRC
[21:02:41] *** esk4nd4r has quit IRC
[21:03:02] *** tfennelly has quit IRC
[21:03:23] *** Juanchito has joined #angularjs
[21:03:51] *** Trow1 has joined #angularjs
[21:03:54] *** MistahKurtz has joined #angularjs
[21:04:03] *** nandoflorestan has quit IRC
[21:04:10] *** stirlingw has joined #angularjs
[21:05:05] *** NevilleS has quit IRC
[21:05:13] *** esk4nd4r has joined #angularjs
[21:05:18] *** NevilleS has joined #angularjs
[21:05:27] *** Trow has quit IRC
[21:05:28] *** plato has quit IRC
[21:05:42] *** kuadrosx has joined #angularjs
[21:05:46] *** lsiv568 has quit IRC
[21:05:50] *** ihsw has joined #angularjs
[21:06:00] *** Ch4rAss has quit IRC
[21:06:19] *** bayousoft has joined #angularjs
[21:06:22] *** folippi has joined #angularjs
[21:06:29] *** Lingos has quit IRC
[21:06:46] *** nagappan has quit IRC
[21:06:56] *** elyssonmr has quit IRC
[21:07:18] *** reavengrey has quit IRC
[21:07:25] *** nagappan has joined #angularjs
[21:07:38] *** Aliks has quit IRC
[21:07:40] *** Sebastien-L has quit IRC
[21:08:00] *** mjs2600 has quit IRC
[21:08:04] *** darnell has quit IRC
[21:08:05] *** MaxV has quit IRC
[21:08:06] *** folippi has quit IRC
[21:08:06] *** Aliks has joined #angularjs
[21:08:07] *** jacksonmills has left #angularjs
[21:08:22] <ihsw> so i have two ng-app on one page, how do i communicate between them?
[21:09:11] *** NevilleS has quit IRC
[21:09:23] *** sandalon has joined #angularjs
[21:09:31] *** Aliks has quit IRC
[21:09:33] *** Aliks_ has joined #angularjs
[21:10:06] *** NevilleS has joined #angularjs
[21:10:19] *** Versality has quit IRC
[21:10:20] *** sandelius has joined #angularjs
[21:10:25] *** plato has joined #angularjs
[21:10:26] *** plato has joined #angularjs
[21:10:50] *** lsiv568 has joined #angularjs
[21:10:54] *** Versality has joined #angularjs
[21:10:59] *** kotyy has joined #angularjs
[21:11:17] *** Oxynum has quit IRC
[21:11:33] *** darrin has quit IRC
[21:11:35] *** plato has quit IRC
[21:11:37] *** chrisbirk has quit IRC
[21:11:43] *** a_ghost_irl has quit IRC
[21:11:49] *** cthrax has quit IRC
[21:11:56] *** Aliks_ has quit IRC
[21:12:23] *** optikalmouse has quit IRC
[21:12:43] *** bengillies has joined #angularjs
[21:12:44] <caitp> > <ihsw> so i have two ng-app on one page, how do i communicate between them? << you could write a service that uses window.postMessage for communication
[21:12:47] *** marcjs has joined #angularjs
[21:12:56] *** darrin has joined #angularjs
[21:12:57] <caitp> angular wasn't really intended to support that use case, though
[21:13:10] *** SergioFilhow has joined #angularjs
[21:14:09] *** chrisbirk has joined #angularjs
[21:14:40] *** larsgk has joined #angularjs
[21:14:53] *** Versality has quit IRC
[21:14:53] *** johnstorey has quit IRC
[21:15:12] *** fabioluciano has quit IRC
[21:15:17] *** mupkoo has joined #angularjs
[21:15:25] *** disorder20 has joined #angularjs
[21:15:50] *** Oxynum has joined #angularjs
[21:15:56] *** mguillech has quit IRC
[21:16:47] *** mguillech has joined #angularjs
[21:17:05] *** hmsimha_ has joined #angularjs
[21:17:14] *** reavengrey has joined #angularjs
[21:17:15] <ioudas> Does anyone know why i cant transfer checkbox values between controllers or root scope. It seems i initalize them on the first controller for the models to be initalized and when i change state the logic turns back to initalizing them....
[21:17:23] *** Aerospar_ has quit IRC
[21:17:27] *** prosper_ has joined #angularjs
[21:17:47] *** bengillies has quit IRC
[21:17:56] *** favetelinguis has quit IRC
[21:18:01] *** thedodd has quit IRC
[21:18:04] *** plato has joined #angularjs
[21:18:04] *** optikalmouse has joined #angularjs
[21:18:14] <Guest60253> any ideas why I would get a Error: connect ECONNREFUSED
[21:18:14] <Guest60253> error trying to run nodeschools expressworks?
[21:18:22] *** folippi has joined #angularjs
[21:18:29] *** DLSteve has joined #angularjs
[21:18:30] *** frem has joined #angularjs
[21:18:45] *** davek_ has joined #angularjs
[21:18:49] *** prbc has quit IRC
[21:18:57] *** folippi has quit IRC
[21:19:11] *** NevilleS has quit IRC
[21:19:31] *** ngbot has joined #angularjs
[21:19:32] <ngbot> angular.js/master 85eb966 Caitlin Potter: fix(ngPattern): match behaviour of native HTML pattern attribute...
[21:19:32] *** ngbot has left #angularjs
[21:19:32] *** NevilleS has joined #angularjs
[21:21:20] *** favetelinguis has joined #angularjs
[21:21:27] <Linell> Guest60253: are you sure that what you're trying to connect to is running?
[21:21:32] <Linell> Or that you have access to it?
[21:22:20] <Guest60253> fixed: I had to killall node
[21:22:20] *** MuffinMan` has joined #angularjs
[21:22:35] <Guest60253> some bug, old server on port still running i thik
[21:22:36] <Guest60253> think
[21:22:42] *** RobinBAwesome has quit IRC
[21:22:46] <Guest60253> thanks
[21:23:27] *** younqcass has quit IRC
[21:23:59] *** cotko has quit IRC
[21:24:19] *** marcjs has quit IRC
[21:24:29] *** mupkoo has quit IRC
[21:25:00] *** nagappan has quit IRC
[21:25:04] *** atomical has quit IRC
[21:25:13] *** Aerospark has joined #angularjs
[21:25:32] *** eamonn has joined #angularjs
[21:25:42] *** nagappan has joined #angularjs
[21:25:47] *** phuh has quit IRC
[21:25:48] *** rho has joined #angularjs
[21:25:49] *** rho has joined #angularjs
[21:25:49] *** nycdevgirl has quit IRC
[21:26:11] *** phuh has joined #angularjs
[21:26:48] *** Fuzzier has joined #angularjs
[21:27:07] *** esk4nd4r has quit IRC
[21:27:59] *** folippi has joined #angularjs
[21:28:05] *** Fuzzy has quit IRC
[21:28:51] *** abram is now known as abram_lunch
[21:28:52] *** wallerdev has quit IRC
[21:29:10] *** folippi has quit IRC
[21:29:53] *** JBreit has quit IRC
[21:30:34] *** macabre_ has quit IRC
[21:30:44] *** jheady has joined #angularjs
[21:31:30] *** JBreit has joined #angularjs
[21:32:02] *** Z3R0 has quit IRC
[21:32:06] *** NevilleS has quit IRC
[21:32:41] *** sandalon has quit IRC
[21:32:53] *** wa5ted_ is now known as wa5te
[21:32:55] *** wa5te is now known as wa5ted
[21:32:56] *** qdk has joined #angularjs
[21:33:21] *** soee__ is now known as soee
[21:33:24] *** mguillech has quit IRC
[21:33:32] *** tfennelly has joined #angularjs
[21:33:35] *** simplyshipley has quit IRC
[21:33:40] *** NevilleS has joined #angularjs
[21:33:56] *** whiteboo_ has joined #angularjs
[21:34:03] *** djam90 has joined #angularjs
[21:34:23] *** mguillech has joined #angularjs
[21:34:28] *** iribarne_ has joined #angularjs
[21:34:38] *** gnrlbzik has quit IRC
[21:35:12] *** kirfu has joined #angularjs
[21:35:36] *** sandelius has quit IRC
[21:35:38] *** Z3R0 has joined #angularjs
[21:35:53] *** whitebook has quit IRC
[21:36:23] *** JBreit has quit IRC
[21:37:10] *** Trow1 has quit IRC
[21:37:12] *** grogs has quit IRC
[21:37:31] *** steeze has joined #angularjs
[21:37:55] *** kirfu1 has joined #angularjs
[21:37:56] *** trend has quit IRC
[21:38:05] *** busticated has quit IRC
[21:38:09] *** tfennelly has quit IRC
[21:38:17] *** iribarne has quit IRC
[21:38:20] *** tech2_ has joined #angularjs
[21:38:22] *** iribarne__ has joined #angularjs
[21:38:25] *** JBreit has joined #angularjs
[21:39:23] *** kirfu has quit IRC
[21:39:51] *** Trow has joined #angularjs
[21:40:04] *** obto has joined #angularjs
[21:40:05] *** iribarne_ has quit IRC
[21:40:32] *** atomical has joined #angularjs
[21:40:37] *** steeze has quit IRC
[21:40:40] *** sonofdirt has quit IRC
[21:40:43] *** obto has quit IRC
[21:41:07] *** whiteboo_ has quit IRC
[21:41:16] *** sonofdirt has joined #angularjs
[21:41:35] *** NorthBlast has joined #angularjs
[21:42:06] *** Bostjan has joined #angularjs
[21:42:09] *** mjs2600 has joined #angularjs
[21:42:33] <Bostjan> hi, guys.....how good is google now parsing angularjs sites?
[21:42:49] <Bostjan> i currently have phantomjs set up, but....not good, too many errors :|
[21:43:03] *** folippi has joined #angularjs
[21:43:25] <asteriskATmarmuD> I assigned this string '[{"id":"1","filename":"app.svg","user":"admin","timestamp":"1415358201","location":"\/","type":null,"mime":null},{...}]' to a JS var. can't figure out how to reference it in my Angular Controller (via module.value). Finally want to print items out with ng-repeat in my template (which is the soft part)
[21:43:29] *** ethanwelborn has quit IRC
[21:43:48] *** ksimukka has quit IRC
[21:43:57] *** folippi has quit IRC
[21:44:07] *** gnrlbzik has joined #angularjs
[21:44:22] *** ksimukka has joined #angularjs
[21:44:50] *** Sky[x] has quit IRC
[21:45:01] *** jameswork has joined #angularjs
[21:46:09] *** djam90 has quit IRC
[21:47:18] *** woebtz has joined #angularjs
[21:47:39] *** esk4nd4r has joined #angularjs
[21:47:40] *** jameswor_ has quit IRC
[21:47:44] *** woah has quit IRC
[21:47:56] *** vassagus has quit IRC
[21:48:56] *** esk4nd4r has quit IRC
[21:48:57] *** ksimukka has quit IRC
[21:49:26] *** \du has quit IRC
[21:49:35] *** SergioFilhow has quit IRC
[21:49:46] <ctanga> asteriskATmarmuD: angular.module(“yourmodule”).value(“MyInjectableValue”, window.globalJsVar);
[21:49:47] *** Shrooms has joined #angularjs
[21:49:47] *** Shrooms has joined #angularjs
[21:50:01] *** ethanwelborn has joined #angularjs
[21:50:04] *** mguillech has quit IRC
[21:50:22] *** ethanwelborn has quit IRC
[21:50:36] *** ethanwelborn has joined #angularjs
[21:50:54] <ctanga> just make sure you put your <script src=“app.js”></script> AFTER you’ve spit out the global JS var
[21:51:01] *** NevilleS has quit IRC
[21:51:06] *** mguillech has joined #angularjs
[21:51:29] *** prbc has joined #angularjs
[21:51:32] *** jameswor_ has joined #angularjs
[21:51:34] *** kuadrosx_ has joined #angularjs
[21:51:50] *** prbc has quit IRC
[21:51:56] *** edrocks has quit IRC
[21:52:16] *** NevilleS has joined #angularjs
[21:52:27] *** kirfu has joined #angularjs
[21:52:30] *** folippi has joined #angularjs
[21:52:56] *** benjah1 has quit IRC
[21:53:34] <asteriskATmarmuD> ctanga: ok, a bit more understandable. but I donÄt get why and where to put "<script src=“app.js”></script>" after spitting out... do I spit out the var.... ok, will give it a try - thanks a lot so far, saved me quite some time! :)
[21:54:12] *** niko has quit IRC
[21:54:24] *** kuadrosx has quit IRC
[21:54:24] <plato> asteriskATmarmuD: javascript loads in order of appearance on the page
[21:54:27] *** jameswork has quit IRC
[21:54:30] *** kirfu1 has quit IRC
[21:54:30] *** night-owl is now known as zz_night-owl
[21:54:31] *** NevilleS has quit IRC
[21:54:41] *** NevilleS has joined #angularjs
[21:55:06] <plato> asteriskATmarmuD: also I recommend storing data like that as a json string on `body[data-currentuser]="{json}"`
[21:55:18] *** jheady has quit IRC
[21:55:27] *** nandoflorestan has joined #angularjs
[21:55:32] *** jheady has joined #angularjs
[21:56:12] *** Tigey has joined #angularjs
[21:56:15] *** jheady1 has joined #angularjs
[21:56:40] *** zz_night-owl is now known as night-owl
[21:56:45] *** niko has joined #angularjs
[21:56:49] *** Aerospark has quit IRC
[21:56:53] *** folippi has quit IRC
[21:57:09] *** atomical has quit IRC
[21:57:16] <Tigey> Hey guys, I am getting an exception from Jquery during an ng-repeat sort and filter, and I don't know why. It is screwing up the layout of the page though.
[21:57:21] *** Aerospark has joined #angularjs
[21:57:36] *** alinouman has quit IRC
[21:57:46] *** DoubleAW has joined #angularjs
[21:57:51] *** cthrax has joined #angularjs
[21:57:51] *** sonofdirt has quit IRC
[21:58:29] <ioudas> Does anyone know why i cant transfer checkbox values between controllers or root scope. It seems i initalize them on the first controller for the models to be initalized and when i change state the logic turns back to initalizing them....
[21:58:30] *** kenpoint has quit IRC
[21:58:40] <asteriskATmarmuD> plato: thx!
[21:59:07] <Tigey> the problem happens in Sizzle.attr function call where it looks like it is trying to get the data-tooltip attribute of the end ng-repeat comment " end ngRepeat: detail in athlete.Scoring.Details "
[21:59:09] *** Lingos has joined #angularjs
[21:59:20] *** asteriskATmarmuD has quit IRC
[21:59:57] *** jheady has quit IRC
[22:00:00] *** AWAW has quit IRC
[22:00:08] *** Una has joined #angularjs
[22:00:22] *** Shrooms has quit IRC
[22:00:29] *** MistahKurtz has quit IRC
[22:01:11] *** woah has joined #angularjs
[22:01:17] <Tigey> I understand that Angular has to add that comment to define an ending to the repeated elements but why is it trying to get a data-tooltip attribute value from it?
[22:01:18] *** busticated has joined #angularjs
[22:01:29] *** reavengrey has quit IRC
[22:01:33] *** jameswor_ has quit IRC
[22:01:34] <Tigey> Does it think that it is one of the generated elements?
[22:01:39] *** AngularUI has joined #angularjs
[22:01:39] <AngularUI> ng-grid/master 3b70758 Brian Hann: fix(Edit): Remove leftover console.log()
[22:01:39] *** AngularUI has left #angularjs
[22:01:40] <Tigey> An off by 1 error somewhere?
[22:01:47] <boxmein> ello, how the hay do I handle storing default or initial data attached by the server-side?
[22:01:56] <boxmein> is there some sort of best practice for it?
[22:02:00] *** Guest60253 has quit IRC
[22:02:25] *** kirfu1 has joined #angularjs
[22:02:28] <boxmein> aka, if I wanted angular to render my webapp with some set of data without using XHR to fetch it right after the page finishes loading
[22:03:26] *** scottc5 has joined #angularjs
[22:03:29] *** chrisbirk has quit IRC
[22:03:35] *** DLSteve has quit IRC
[22:03:43] *** juanpablo_ has joined #angularjs
[22:03:43] *** kirfu has quit IRC
[22:03:44] *** dcherman has joined #angularjs
[22:04:08] *** lsiv568 has quit IRC
[22:04:37] *** AngularUI has joined #angularjs
[22:04:37]
<AngularUI> [ng-grid] PaulL1 opened pull request #2108: doco(sort): alter tutorial wording for sorting (master...adjust_sort_tut) http://git.io/Aux2tw
[22:04:37] *** AngularUI has left #angularjs
[22:04:40] *** jacuqesdancona_ has joined #angularjs
[22:04:49] *** Aerospark has quit IRC
[22:04:55] *** vassagus has joined #angularjs
[22:05:49] *** bradgignac has joined #angularjs
[22:06:06] *** dcherman2 has quit IRC
[22:06:17] *** night-owl is now known as zz_night-owl
[22:06:18] *** AngularUI has joined #angularjs
[22:06:18] <AngularUI> ng-grid/master de75401 Brian Hann: chore(jshint): Don't allow console statements...
[22:06:19] *** AngularUI has left #angularjs
[22:06:29] *** bradgignac has quit IRC
[22:06:44] *** favetelinguis has quit IRC
[22:06:51] *** zz_night-owl is now known as night-owl
[22:06:51] *** bradgignac has joined #angularjs
[22:07:04] *** jheady1 has left #angularjs
[22:07:24] *** AngularUI has joined #angularjs
[22:07:24] <AngularUI> ng-grid/master f9746c8 Paul Lambert: doco(sort): alter tutorial wording for sorting
[22:07:24] <AngularUI> ng-grid/master 1aa6727 Paul: Merge pull request #2108 from PaulL1/adjust_sort_tut...
[22:07:24] *** AngularUI has left #angularjs
[22:07:41] *** davek_ has quit IRC
[22:07:44] *** mguillech has quit IRC
[22:08:40] *** Tigey has quit IRC
[22:08:48] *** mguillech has joined #angularjs
[22:09:08] *** MaxV has joined #angularjs
[22:09:11] *** jacuqesdancona_ has quit IRC
[22:09:24] *** Shrooms has joined #angularjs
[22:09:27] *** BobbieBarker has quit IRC
[22:10:39] *** sonofdirt has joined #angularjs
[22:11:26] *** ksimukka has joined #angularjs
[22:11:46] *** wmbutler has joined #angularjs
[22:12:25] *** tskaggs has joined #angularjs
[22:12:26] *** Z3R0 has quit IRC
[22:12:39] *** RobinBAwesome has joined #angularjs
[22:12:41] *** jmckind has joined #angularjs
[22:12:41] *** nfroidure has quit IRC
[22:12:49] *** Trow1 has joined #angularjs
[22:12:56] <ioudas> Does anyone know why i cant transfer checkbox values between controllers or root scope. It seems i initalize them on the first controller for the models to be initalized and when i change state the logic turns back to initalizing them....
[22:13:05] *** ksimukka has quit IRC
[22:13:10] *** Trow has quit IRC
[22:13:10] *** anjumkaiser has quit IRC
[22:13:12] *** MaxV has quit IRC
[22:13:41] *** kirfu1 has quit IRC
[22:13:49] <Foxandxss> ioudas: please, it is enough
[22:14:12] <Foxandxss> learn proper angular
[22:14:17] <ioudas> Foxandxss, no thanks.
[22:14:30] <Foxandxss> then stop spamming the channel
[22:14:43] *** Aerospark has joined #angularjs
[22:15:05] <ioudas> asking a question every 20 minutes isnt spamming the channel. Try again.
[22:15:24] <Foxandxss> 20 minutes for the past 3 days
[22:15:35] <Foxandxss> same issue
[22:15:42] *** baweaver has joined #angularjs
[22:15:55] *** iateadonut has left #angularjs
[22:16:01] *** Aerospark has quit IRC
[22:16:28] *** night-owl is now known as zz_night-owl
[22:16:36] *** Schtive has joined #angularjs
[22:16:36] *** ngbot has joined #angularjs
[22:16:37] <ngbot> angular.js/v1.2.x beeb64a Judy Tuan: docs(misc/Develop): update required Java version
[22:16:37] *** ngbot has left #angularjs
[22:16:38] *** vectra has joined #angularjs
[22:16:59] <ioudas> ah yes, the duration of asking affects it. How silly of me.
[22:17:06] <ioudas> how dare i ask for help.
[22:17:17] <Foxandxss> Don't ask if you don't want to be helped
[22:17:20] <Foxandxss> I asked you, create a plunker
[22:17:36] <Foxandxss> and you said "never mind"
[22:17:43] <ioudas> was that in this channel?
[22:17:49] <Foxandxss> it was to me
[22:17:54] <ioudas> In this channel?
[22:17:55] *** ngbot has joined #angularjs
[22:17:55]
<ngbot> [angular.js] petebacondarwin pushed 2 new commits to master: http://git.io/tqw4Cw
[22:17:55] <ngbot> angular.js/master 195deca Peter Bacon Darwin: test(select): refactor option elements expectations to use `toEqualOption` matcher...
[22:17:56] <ngbot> angular.js/master 6604c23 Peter Bacon Darwin: fix(select): ensure the label attribute is updated in Internet Explorer...
[22:17:56] *** ngbot has left #angularjs
[22:17:57] <Foxandxss> no
[22:18:00] <ioudas> exactly
[22:18:07] *** ksimukka has joined #angularjs
[22:18:16] <Foxandxss> ok
[22:18:19] <Foxandxss> reproduce it on a plunker
[22:18:35] *** wmbutler has quit IRC
[22:18:47] <ioudas> Im not sure how to cause i dont understand whats like going on.
[22:18:56] <Foxandxss> plunk what you have
[22:18:58] <Foxandxss> a basic idea
[22:19:05] <Foxandxss> couple of checkboxes, multiple controllers
[22:19:08] <Foxandxss> and services
[22:19:13] <Foxandxss> to reproduce your issue
[22:19:15] <ioudas> ah, thats now different than me needing to mock up everything as was your previosu request.
[22:19:21] <ioudas> now isnt it
[22:19:26] <ioudas> funny how that works
[22:19:27] *** Aerospark has joined #angularjs
[22:19:32] <Foxandxss> don't be funny
[22:19:35] <Foxandxss> or I won't help
[22:19:42] *** iribarne has joined #angularjs
[22:20:14] *** reavengrey has joined #angularjs
[22:20:29] *** vassagus has quit IRC
[22:20:33] *** prettiestPony11 has joined #angularjs
[22:20:51] <ioudas> On that note. Foxandxss ive already pasted you the code. I dont think i will use your "help".
[22:20:54] <ioudas> Thanks, but no thanks.
[22:21:13] <Foxandxss> alright
[22:21:25] <Foxandxss> good luck then
[22:21:28] *** CHC has quit IRC
[22:21:33] <ioudas> Thanks.
[22:21:40] *** BillCriswell has quit IRC
[22:21:52] *** carlosmantilla has joined #angularjs
[22:22:09] *** pikapp has joined #angularjs
[22:22:42] *** sonofdirt has quit IRC
[22:22:43] *** iribarne__ has quit IRC
[22:22:54] *** Skrypter has joined #angularjs
[22:23:08] *** Mahonar has quit IRC
[22:23:20] *** favetelinguis has joined #angularjs
[22:24:29] *** agrajag42 has quit IRC
[22:24:47] *** reavengrey has quit IRC
[22:24:47] *** fedenunez1 has quit IRC
[22:24:48] *** dra_ has quit IRC
[22:24:49] *** Bostjan has left #angularjs
[22:24:59] *** fedenunez has joined #angularjs
[22:25:09] *** mguillech has quit IRC
[22:25:11] *** morenoh149 has joined #angularjs
[22:25:12] *** darrin has quit IRC
[22:25:26] *** vassagus has joined #angularjs
[22:25:37] *** nk121 has quit IRC
[22:25:46] *** phuh has quit IRC
[22:26:13] <ctanga> I have a dialog that displays which permissions are mapped to roles. Each permission is a row iterated via ng-repeat. For each permission, I ng-repeat over some meta-data as columns (between 3 and 7 meta-data per row).
[22:26:13] *** elaijuh has quit IRC
[22:26:13] *** phuh has joined #angularjs
[22:26:16] *** mguillech has joined #angularjs
[22:26:42] *** carlosmantilla has quit IRC
[22:26:54] <ctanga> Some roles have a couple thousand permissions. Performance is bad. I tried using one-time binding on the loop and expressions, but that doesn’t seem to address the initial render
[22:27:01] <NevilleS> ah
[22:27:12] *** diosney has quit IRC
[22:27:15] <ctanga> I realize I can/should use paging…. but is there any other mechanism to speed up the one-time-render?
[22:27:16] *** sonofdirt has joined #angularjs
[22:27:26] <Foxandxss> yeah, all watches are there on the first load
[22:27:29] *** evilaliv3 has quit IRC
[22:27:49] <NevilleS> you could drop the usage of ng-repeat
[22:27:50] *** adamdbradley has quit IRC
[22:27:57] <NevilleS> if you're willing to sacrifice those features
[22:28:04] *** tfennelly has joined #angularjs
[22:28:06] <Foxandxss> ng-repeat is not that problematic this days
[22:28:06] <NevilleS> and just have a my-permission-list directive
[22:28:12] <NevilleS> that pushed DOM nodes fast
[22:28:24] <ctanga> NevilleS: true
[22:28:28] <ctanga> Foxandxss: what do you mean?
[22:28:41] <Foxandxss> that ng-repeat won't slow you that much
[22:28:43] <ctanga> ah
[22:28:50] *** phaggood has joined #angularjs
[22:29:05] <Foxandxss> of course that it will be more problematic the bigger is the list tho
[22:29:29] <phaggood> anyone with jasmine experience? I can’t get karma to find my service
[22:29:30] <ctanga> yeah. In one case (third party auditor role), I end up with about 30,000 bindings I think
[22:29:35] <Foxandxss> phaggood: I am
[22:29:46] <ctanga> takes about 4 seconds to render
[22:29:52] <Foxandxss> have*
[22:29:52] <phaggood> I’m getting Error: [$injector:unpr] Unknown provider: RoseMarkServiceProvider <- RoseMarkService
[22:29:53] *** nk121 has joined #angularjs
[22:30:03] <Foxandxss> phaggood: need more info than that
[22:30:04] *** Shrooms has quit IRC
[22:30:16] *** tristanp has quit IRC
[22:30:27] <phaggood> sorry, I’m trying to figure out the best way to post this - maybe postbin
[22:30:40] <Foxandxss> or a gist
[22:30:50] <ctanga> OH Damn. I just realized I might be full of s***
[22:30:50] <Foxandxss> so I can see different files and highlight
[22:30:54] <NevilleS> lol ctanga
[22:31:00] *** fedenunez has quit IRC
[22:31:06] <Foxandxss> ctanga: that is never an issue if that solves the issue
[22:31:21] *** Sky[x] has joined #angularjs
[22:31:28] *** baweaver has quit IRC
[22:31:32] <ctanga> I just noticed this piece of code is wrapped in JqueryUI Table Sorter
[22:31:40] <ctanga> lemme just nuke that :)
[22:31:45] *** wallerdev has joined #angularjs
[22:31:52] <Foxandxss> every sentence with jQueryUI on it is bad :P
[22:31:56] <ctanga> indeed
[22:32:07] <ctanga> company I work for is heavily invested in it :(
[22:32:23] *** prosper_ has quit IRC
[22:32:31] <Foxandxss> uh, I bet they are blaming now :P
[22:32:35] *** tfennelly has quit IRC
[22:32:58] *** favetelinguis has quit IRC
[22:33:22] *** baweaver has joined #angularjs
[22:33:30] *** favetelinguis has joined #angularjs
[22:33:37] *** NorthBlast has quit IRC
[22:34:18] <nandoflorestan> What HTTP status code should my web server return to angular when there's a validation failure on the entity being PUT?
[22:34:32] <ctanga> bummer, tablesorter wasn’t the bottleneck
[22:34:32] <nandoflorestan> Does angular have an opinion on this?
[22:34:48] <farn5w0rth> if im getting data in my html {{product.name}}, how do i get the same thing in javascript? i want to assign a variable to {{product.name}} so i can inject it into a jquery event...?
[22:34:53] *** abram_lunch is now known as abram
[22:34:57] <ctanga> nandoflorestan: that’s really a REST question
[22:35:06] <phaggood> never used before
[22:35:25] <Foxandxss> phaggood: well, you can choose javascript for highlighting (for the next time, worry not)
[22:35:50] *** kuadrosx_ is now known as kuadrosx
[22:36:04] <Foxandxss> phaggood: so, is there a 'mcaregiver' module which contains a service with that exact name? "RoseMarkService"
[22:36:21] <nandoflorestan> ctanga, true. I am inclined to return 422 Unprocessable Entity.
[22:36:36] <Foxandxss> Dinner time, bbl
[22:36:49] *** mguillec_ has joined #angularjs
[22:37:11] *** mtsr has quit IRC
[22:37:47] *** favetelinguis has quit IRC
[22:38:10] *** iribarne_ has joined #angularjs
[22:38:19] *** trend has joined #angularjs
[22:38:28] *** Guest60939 has quit IRC
[22:39:19] *** phaggood has quit IRC
[22:39:20] *** Notte has joined #angularjs
[22:39:24] <NevilleS> so ctanga just remember that ngRepeat $transcludes the template you give it 30,000 times
[22:39:26] *** Josh has joined #angularjs
[22:39:32] *** mguillech has quit IRC
[22:39:39] <ctanga> yar.
[22:39:41] *** MistahKurtz has joined #angularjs
[22:39:50] *** phaggood has joined #angularjs
[22:39:50] *** Josh is now known as Guest19592
[22:40:03] <ctanga> and sets up nested scopes, etc
[22:40:07] *** adamdbradley has joined #angularjs
[22:40:11] <NevilleS> yessir
[22:40:13] <NevilleS> it's not free.
[22:40:16] <phaggood> k
[22:40:20] <NevilleS> if you don't want to watch those elements
[22:40:30] <NevilleS> then do it in your own directive with vanilla elements
[22:40:47] <NevilleS> the one time binding you say is pretty indicative to me that this is the right approach :)
[22:40:57] <ctanga> I think I agree
[22:41:17] *** iribarne has quit IRC
[22:41:18] *** iribarne_ is now known as iribarne
[22:42:05] *** soee has quit IRC
[22:42:07] * NevilleS high fives ctanga
[22:42:30] *** stirlingw has quit IRC
[22:42:34] *** pikapp has quit IRC
[22:42:35] *** Snugug has quit IRC
[22:42:53] *** trend has quit IRC
[22:42:58] <ctanga> I feel like I *should* be able to use ng-repeat instead of write a directive that inserts dom nodes
[22:43:00] *** nk121 has quit IRC
[22:43:23] <ctanga> To retain consistent templating, etc
[22:43:23] *** rosieres has quit IRC
[22:43:27] *** yaneq has quit IRC
[22:43:39] <ctanga> I mean, I get it, but I don’t think I should *have to* resort to writing directly to the dom
[22:43:46] *** seriema has joined #angularjs
[22:43:52] <NevilleS> well, you can benchmark what you have now
[22:43:53] *** mtsr has joined #angularjs
[22:44:00] <NevilleS> and see what pops up
[22:44:00] *** phaggood has quit IRC
[22:44:14] <NevilleS> I suspect it's ngRepeatTransclude
[22:44:15] <NevilleS> :)
[22:44:43] <jillesme> Hi guys, just wanted to let you know that we are doing the first episode of Angular Air with the Angular core team
[22:44:54] <ctanga> oh right, jillesme thanks
[22:45:02] <jillesme> Cheers ctanga
[22:45:02] <NevilleS> cool!
[22:45:43] <ioudas> 15 minutes! But work is over then!
[22:46:05] *** phaggood has joined #angularjs
[22:46:08] *** adpirz has joined #angularjs
[22:46:26] *** dra_ has joined #angularjs
[22:46:32] *** prbc has joined #angularjs
[22:46:34] *** AWAW has joined #angularjs
[22:46:41] <ctanga> hah, that’s what I was thinking :P
[22:46:41] *** Shrooms has joined #angularjs
[22:46:44] <ioudas> hehe
[22:46:47] *** prbc has quit IRC
[22:47:18] <NevilleS> ctanga you could also just render the first 10 or 20 permissions and have the ability to show more...
[22:47:30] <ctanga> NevilleS: yeah, i know :)
[22:47:34] <NevilleS> you can do that in the client without doing pagination necessarily, just use the "limit" option I think?
[22:47:44] *** tsalb has quit IRC
[22:47:45] <NevilleS> saves you some unnecessary work mb
[22:48:01] *** UniBot has quit IRC
[22:48:14] *** UniBot has joined #angularjs
[22:48:18] <NevilleS> plug in infinite scroll to increase the limit while you scroll, render it on demand basically... eh
[22:48:42] *** soee has joined #angularjs
[22:48:50] <ctanga> part of this is just convincing myself and my coworkers that angular can handle what we throw at it, and the react approach isn’t moar bettar.
[22:49:27] *** DoubleAW has quit IRC
[22:49:31] *** AWAW is now known as DoubleAW
[22:49:36] *** gnrlbzik has quit IRC
[22:49:43] *** UniBot has quit IRC
[22:49:43] *** bayousoft has quit IRC
[22:49:54] *** UniBot has joined #angularjs
[22:50:26] *** SergioFilhow has joined #angularjs
[22:50:33] <MistahKurtz> hey @caitp, we need to implement $q.allSettled, would you advise decorating $q to do so? or a as a separate service?
[22:50:35] *** RobinBAwesome has quit IRC
[22:50:52] *** adpirz has quit IRC
[22:50:56] <caitp> i'm not sure what difference it really makes
[22:51:12] <caitp> you could put it on $q.prototype and $$q.prototype and be done with it
[22:51:26] <caitp> or would you be done with it... not positive there
[22:51:43] <caitp> yeah I don't really know
[22:52:00] *** AngularUI has joined #angularjs
[22:52:01] <AngularUI> ng-grid/master 0885e50 Brian Hann: fix(RTL): Put filter cancel on left for RTL...
[22:52:01] *** AngularUI has left #angularjs
[22:52:05] <NevilleS> well ctanga angular is kinda written for different use cases I think
[22:52:05] <MistahKurtz> I read somewhere that 1.3 made $q prototype based, we're on 1.2, you know if that presents a problem?
[22:52:16] * MistahKurtz to the source!
[22:52:45] *** AngularUI has joined #angularjs
[22:52:45] <AngularUI> ng-grid/master e6a5a51 Brian Hann: Remove unused .right class
[22:52:45] *** AngularUI has left #angularjs
[22:52:51] *** darnell has joined #angularjs
[22:53:12] *** RobinBAwesome has joined #angularjs
[22:53:20] *** mguillec_ has quit IRC
[22:53:27] *** nabmans has quit IRC
[22:53:33] *** Mahonar has joined #angularjs
[22:53:39] <linagee> is there a good way to timeout from an angular SPA if someone hasn't entered anything or clicked anything? (binding to every ng-change and ng-click maybe?)
[22:53:43] *** baweaver has quit IRC
[22:53:57] *** phaggood has quit IRC
[22:53:59] *** folippi has joined #angularjs
[22:54:00] *** DrMabuse has joined #angularjs
[22:54:19] *** mguillech has joined #angularjs
[22:54:35] *** Nijikokun has joined #angularjs
[22:55:02] *** trend has joined #angularjs
[22:55:13] *** Nijikokun has joined #angularjs
[22:55:33] *** SergioFilhow has quit IRC
[22:55:37] <caitp> [16:52] <MistahKurtz> I read somewhere that 1.3 made $q prototype based, we're on 1.2, you know if that presents a problem? << I don't know ... I guess it's kind of a static method, so it's not clear it would matter
[22:55:55] <caitp> so yeah, I guess it wouldn't go on the prototype at all
[22:56:04] <MistahKurtz> yep, just found that out
[22:56:20] <caitp> no $$q in 1.2, so it's a bit simpler that way
[22:56:33] <MistahKurtz> so a decorator then, that simply adds an `allSettled` method
[22:56:40] <MistahKurtz> what do you mean $$q?
[22:57:02] *** ctanga has quit IRC
[22:57:17] <caitp> $$q is a version of $q that doesn't cause a digest when promises are fulfilled
[22:57:53] <MistahKurtz> ohh
[22:57:57] <MistahKurtz> was that added in 1.3?
[22:58:02] *** mtsr has quit IRC
[22:58:09] *** folippi has quit IRC
[22:58:23] *** reavengrey has joined #angularjs
[22:58:42] <caitp> yeah
[22:58:48] *** mguillech has quit IRC
[22:59:24] <MistahKurtz> er /tag/branch
[23:00:04] *** firelinks has joined #angularjs
[23:00:08] *** BillCriswell has joined #angularjs
[23:00:20] *** shackleford has quit IRC
[23:00:33] <linagee> can I add a directive for <button> and <input> and then tack on an ng-click/ng-change to there?
[23:00:36] *** Aliks has joined #angularjs
[23:00:39] *** mtsr has joined #angularjs
[23:00:44] <linagee> (and then tell it to continue the default behaviors afterward)
[23:00:51] *** mguillech has joined #angularjs
[23:00:58] *** tech2_ has quit IRC
[23:01:08] <caitp> MistahKurtz: the g3 branches are for google internal apps
[23:01:16] <caitp> basically measures what versions they're testing against
[23:01:30] *** spatialbrew has quit IRC
[23:01:40] *** jillesme has quit IRC
[23:02:03] *** baweaver has joined #angularjs
[23:02:37] *** mtsr has quit IRC
[23:02:45] *** recidive has quit IRC
[23:03:36] <MistahKurtz> ah okay. What's the right branch to look at 1.3 code then caitp ?
[23:03:49] *** shackleford has joined #angularjs
[23:04:08] *** eamonn has quit IRC
[23:04:19] *** mtsr has joined #angularjs
[23:04:44] *** eamonn has joined #angularjs
[23:05:29] *** Siecje has left #angularjs
[23:05:30] <woebtz> Hi, just looking for a sanity check... if I'd like to pull out a specific module from my main project into its own project, so that I can re-use it in multiple other projects, would it be sensible to: 1) clone a new project + filter-branch only those specific modules files, 2) remove those files from the original main project, 3) refactor the specific module files into a bower component, 4) add back my new module as a bower
[23:05:30] <woebtz> dependency
[23:05:46] <caitp> MistahKurtz, master branch
[23:05:59] <caitp> or one of the tagged releases
[23:06:05] *** shhhhhhhh has joined #angularjs
[23:06:27] *** shhhhhhhh has quit IRC
[23:06:52] *** shaym_ has joined #angularjs
[23:06:55] *** AngularUI has joined #angularjs
[23:06:55] <AngularUI> ng-grid/master 7f188d3 Brian Hann: chore(RTL): Move filter-cancel change to rtl.less...
[23:06:55] *** AngularUI has left #angularjs
[23:07:02] *** Trindaz_ has joined #angularjs
[23:07:37] <ish> does the controller as syntax idea work on the controller for a directive?
[23:07:38] <Trindaz_> I'm about to try something pretty basic with Resources, but I may want a little help. I want to "extent" $resource so that certain properties area always available. This would need to be created at instantiation time.
[23:08:33] *** cbeacock1 has quit IRC
[23:08:47] <Trindaz_> I thought that I would need to use JS inheritance for that because $resource doesn't seem to provide anyway of setting default properties when it is created (new MyResource({k:'v'});)
[23:09:04] *** eamonn has quit IRC
[23:09:08] *** bb6xt has quit IRC
[23:09:09] *** sl33k has quit IRC
[23:09:12] *** Una has quit IRC
[23:09:35] <Trindaz_> I would way rather be able to do something like var MyResource = $resource('endpoint/', {k: 'v'}, {});
[23:10:00] *** livingstn has quit IRC
[23:10:05] *** NevilleS has quit IRC
[23:10:26] *** mtsr has quit IRC
[23:11:05] *** macabre has joined #angularjs
[23:11:22] *** waverider_ has quit IRC
[23:11:30] *** shackleford has quit IRC
[23:12:09] *** danecando has joined #angularjs
[23:12:21] *** mtsr has joined #angularjs
[23:12:25] *** pulpfree has joined #angularjs
[23:12:29] *** NevilleS has joined #angularjs
[23:12:49]
<linagee> Can I do something like this in an attempt to change every ng-click attribute? http://pastebin.com/em3nHNrH (It doesn't seem to be working... probably not recompiling the right thing...)
[23:13:28] *** rud has quit IRC
[23:13:52] <Foxandxss> ioudas: yes
[23:13:57] <Foxandxss> ouch
[23:13:58] *** Notte has quit IRC
[23:14:00] <Foxandxss> ish: yes
[23:14:06] *** bengillies has joined #angularjs
[23:14:09] *** bayousoft has joined #angularjs
[23:14:19] *** rud has joined #angularjs
[23:14:23] *** Milkweed has quit IRC
[23:15:11] *** xdissent has quit IRC
[23:15:32] *** trend has quit IRC
[23:15:42] *** bradmaxs has joined #angularjs
[23:15:46] *** \du has joined #angularjs
[23:15:46] *** \du has joined #angularjs
[23:15:46] <mmealling> I have a modal that I'm setting show/hide on based on whether a cookie is set. In order to bring that modal into the context of the controller that does the test I have to set ng-controller to the same controller. But that causes me to enter the controller twice which turns off the modal almost immediately.
[23:16:03] *** cboden has quit IRC
[23:16:16] *** shackleford has joined #angularjs
[23:16:25] *** shout-user58 has quit IRC
[23:16:43] <mmealling> how might one show/hide the modal without triggering the controller again?
[23:16:50] *** juanpablo_ has quit IRC
[23:17:11] *** carlosmantilla has joined #angularjs
[23:17:12] *** mguillech has quit IRC
[23:17:18] *** juanpablo_ has joined #angularjs
[23:17:48] *** KurtB has joined #angularjs
[23:17:58] *** NevilleS has quit IRC
[23:18:26] *** fedenunez has joined #angularjs
[23:18:34] *** mguillech has joined #angularjs
[23:19:09] *** trend has joined #angularjs
[23:19:22] *** dc_ has quit IRC
[23:19:25] *** bengillies has quit IRC
[23:20:30] *** NevilleS has joined #angularjs
[23:20:48] *** tfennelly has joined #angularjs
[23:20:59] *** Sky[x] has joined #angularjs
[23:21:23] *** davek_ has joined #angularjs
[23:21:29] *** carlosmantilla has quit IRC
[23:22:40] *** jcruz has joined #angularjs
[23:23:54] *** NevilleS has quit IRC
[23:23:58] *** elaijuh has joined #angularjs
[23:24:28] *** RobinBAwesome_ has joined #angularjs
[23:25:47] *** phuh has quit IRC
[23:25:54] *** NevilleS has joined #angularjs
[23:25:58] *** RobinBAwesome has quit IRC
[23:25:58] *** RobinBAwesome_ is now known as RobinBAwesome
[23:26:14] *** phuh has joined #angularjs
[23:26:15] *** mjs2600 has quit IRC
[23:26:17] *** nandoflorestan has quit IRC
[23:26:45] *** sonicparke|bradm has quit IRC
[23:28:59] *** FIFOd[a] has quit IRC
[23:29:19] *** folippi has joined #angularjs
[23:31:06] *** rawGem has joined #angularjs
[23:31:48] *** doodlehaus has quit IRC
[23:32:22] *** subsonic has quit IRC
[23:32:41] *** rawGem is now known as hkgeffart
[23:33:04] *** NevilleS has quit IRC
[23:34:00] *** AlSquirrel has quit IRC
[23:34:17] *** ksimukka has quit IRC
[23:34:53] *** ksimukka has joined #angularjs
[23:35:03] *** mguillech has quit IRC
[23:35:10] *** KurtB has quit IRC
[23:35:42] *** NevilleS has joined #angularjs
[23:36:06] *** mguillech has joined #angularjs
[23:36:10] *** walden is now known as walden|afk
[23:36:14] *** firelinks has quit IRC
[23:36:35] *** ksimukka has quit IRC
[23:36:40] *** amatecha_ is now known as amatecha
[23:36:49] *** ksimukka has joined #angularjs
[23:37:06] *** _kenjamin has joined #angularjs
[23:37:34] *** MotherMGA has joined #angularjs
[23:38:12] *** Guest60253 has joined #angularjs
[23:38:32] *** gagan has quit IRC
[23:39:03] <MotherMGA> Anyone know how to suppress the browser console logging an error for valid 400 responses from a rest application when using the $http service?
[23:39:07] *** scythe__ has joined #angularjs
[23:40:37] *** Underbyte has quit IRC
[23:40:39] *** umib0zu has quit IRC
[23:41:38] *** NorthBlast has joined #angularjs
[23:41:40] *** xavia has quit IRC
[23:41:43] <_kenjamin> Question: Is there an easy trick to disable the “required” validation of a input field until after the input has been $touched? (angular 1.3)
[23:41:46] *** NorthBlast has quit IRC
[23:41:48] *** prettiestPony11 has quit IRC
[23:42:24] *** tskaggs has quit IRC
[23:43:24] *** NevilleS has quit IRC
[23:44:17] *** fedenunez has quit IRC
[23:44:37] *** iribarne_ has joined #angularjs
[23:45:22] *** dcherman has quit IRC
[23:45:38] *** recidive has joined #angularjs
[23:45:59] *** kreigger_ has joined #angularjs
[23:46:05] *** NevilleS has joined #angularjs
[23:46:57] *** iribarne has quit IRC
[23:46:57] *** iribarne_ is now known as iribarne
[23:47:41] <mmealling> I'm injecting $cookies and doing this in a controller: if($cookies.foo == undefined) { show a modal; } else { $cookies.foo = true; } but the first test is never successful, even if the cookie in question doesn't exist.
[23:47:59] *** zzing has joined #angularjs
[23:48:05] <mmealling> but if we do typeof $cookies.foo we get 'undefined'
[23:48:27] *** phoenixrlv has joined #angularjs
[23:48:40] *** arpu has quit IRC
[23:48:53] *** jynxed has joined #angularjs
[23:49:01] <mmealling> what the heck is $cookies.foo returning if the cookie isn't defined?
[23:49:05] *** kreiggers has quit IRC
[23:49:17] *** mot0rola has joined #angularjs
[23:50:35] *** kotyy has quit IRC
[23:50:54] *** crakrjak has joined #angularjs
[23:51:14] *** kuadrosx has quit IRC
[23:51:37] *** mguillech has quit IRC
[23:51:52] *** AtomicCookie has joined #angularjs
[23:51:56] *** SergioFilhow has joined #angularjs
[23:52:19] *** bmac has quit IRC
[23:52:23] *** NevilleS has quit IRC
[23:52:50] *** mzabriskie has quit IRC
[23:52:51] *** mguillech has joined #angularjs
[23:53:25] *** ksimukka has quit IRC
[23:53:51] *** cuebix-wk has quit IRC
[23:54:01] *** ksimukka has joined #angularjs
[23:54:08] <mmealling> are the cookies set with $cookies only session cookies?
[23:54:50] *** merobertsjr has quit IRC
[23:55:24] *** kuadrosx has joined #angularjs
[23:56:00] *** eamonn has joined #angularjs
[23:56:18] *** SergioFilhow has quit IRC
[23:56:21] *** jmckind has quit IRC
[23:56:49] *** richiebkr has joined #angularjs
[23:57:39] *** apertoire has joined #angularjs
[23:57:51] *** MaxV has joined #angularjs
[23:58:09] *** dcherman has joined #angularjs
[23:58:16] *** Linell has quit IRC
[23:58:18] *** zz_night-owl is now known as night-owl
[23:58:29] *** MotherMGA has left #angularjs
[23:58:30] *** joelwallis has joined #angularjs
[23:58:31] *** ksimukka has quit IRC
[23:58:32] *** baweaver has quit IRC
[23:58:58] *** nicholes has joined #angularjs
[23:59:29] *** adamdbradley has quit IRC
[23:59:38] *** kuadrosx has joined #angularjs
[23:59:48] *** annlewis has joined #angularjs
[23:59:53] *** lthomas has quit IRC
[23:59:55] *** baweaver has joined #angularjs