[00:00:04] <robdubya> "back office / administration area" - pretty much angular's bread and butter. i've built some pretty mega ones
[00:00:48] <X-warrior> How could I repeat a request after responseError, but waiting for some user action ? :S
[00:00:59] <Inge-> robdubya: what routing do you like?
[00:01:02] *** jumpstracks has joined #angularjs
[00:01:20] <tristanp> Inge-: ui-router is the only option pretty much right?
[00:01:29] <robdubya> ui-router ftw
[00:02:19] <tristanp> speaking of ui router, has anyone else experienced the bug where you can't call $state.go from a beforeEnter on a state?
[00:03:19] <robdubya> if you're trying to prevent access you should probbaly use resolve, reject the rpomise, catch the error and redirect
[00:03:40] *** merobertsjr has joined #angularjs
[00:04:25] *** scythe__ has quit IRC
[00:04:30] <fotoflo> whoops
[00:04:32] <fotoflo> wrong link
[00:05:25] *** goodenough has quit IRC
[00:05:46] *** scythe__ has joined #angularjs
[00:05:49] *** jaredwilli has quit IRC
[00:05:56] *** dan2k3k4 has quit IRC
[00:06:48] <robdubya> fotoflo you dont need all that promise defer business
[00:07:20] *** boneskull has quit IRC
[00:08:06] *** scythe__ has quit IRC
[00:08:12] *** merobertsjr has quit IRC
[00:08:44] *** g33k5z has joined #angularjs
[00:09:16] *** one_zero has joined #angularjs
[00:09:47] *** Ir1sh has quit IRC
[00:09:55] <robdubya> ugh, i can't debug like this :D
[00:10:15] <tristanp> im watching this shit, it's hilarious
[00:10:17] *** zivester has quit IRC
[00:10:48] *** mokush has quit IRC
[00:11:51] *** BillCriswell has quit IRC
[00:12:31] <fotoflo> hmm, still didn t get to the question
[00:12:42] <fotoflo> thanks for the promise stuff
[00:12:59] <fotoflo> but on line 39 i still get undefined isn’t a function
[00:13:01] <robdubya> if you're getting undefined is not a function, typically its because you're not returning the promise
[00:13:19] *** g33k5z has quit IRC
[00:13:22] <fotoflo> oh its the .then() that’s not a function?
[00:13:24] <robdubya> so there's nothing to call then on
[00:13:25] <tristanp> oh, i just realized the context of you posting that fotoflo
[00:13:48] <robdubya> so if you return $http.get().....
[00:13:56] *** bmac has quit IRC
[00:14:08] *** morenoh149 has quit IRC
[00:14:09] <robdubya> whatever you return from inside its .then blocks is what evenually resolves the outer then
[00:14:17] <tristanp> well for one thing, you are using .service but I think you want to be using .factory
[00:14:25] <robdubya> true
[00:15:06] *** ahtik has quit IRC
[00:15:06] <tristanp> do you still want the http to happen if false is passed?
[00:15:57] <tristanp> but the error you are talking about with undefined is probably because of the service/factory thing
[00:16:17] *** kalz has quit IRC
[00:16:17] *** zivester has joined #angularjs
[00:16:39] *** cotko has joined #angularjs
[00:17:04] <fotoflo> Guys: yes! i hadded that $q.when(“error” + err) and it solved the prob
[00:18:24] *** startupality has joined #angularjs
[00:21:43] *** h0ru5 has quit IRC
[00:21:46] *** JeffBuhrt has joined #angularjs
[00:22:07] <drag0nius> is it possible to pass controller to ng-include with different name?
[00:22:18] *** g33k5z has joined #angularjs
[00:22:41] *** Oxynum has quit IRC
[00:24:12] *** kalz has joined #angularjs
[00:24:19] *** evotuned has joined #angularjs
[00:24:24] <fotoflo> tristanp, robdubya: thanks! I was on that for like 2 hours :-)
[00:24:42] *** rtpg has joined #angularjs
[00:25:54] <robdubya> keep in mind you're un-erroring by doing that
[00:26:05] *** jimvideo has joined #angularjs
[00:26:42] *** merobertsjr has joined #angularjs
[00:28:36] *** manekinekko has quit IRC
[00:28:52] *** evotuned has quit IRC
[00:30:39] *** JeffBuhrt has quit IRC
[00:31:42] *** merobertsjr has quit IRC
[00:31:47] *** Reskp has joined #angularjs
[00:31:52] <tristanp> drag0nius: just put the controller in the partial you're including?
[00:32:11] <drag0nius> i split those into partials just for easier reading
[00:32:13] <tristanp> or i should say, specify which controller you want in the partial
[00:32:14] <drag0nius> they use same controller
[00:32:20] <drag0nius> how?
[00:32:50] *** yts has quit IRC
[00:32:54] <tristanp> well im not really sure what you're trying to accomplish
[00:33:21] *** ProLoser has joined #angularjs
[00:33:23] *** Reskp has quit IRC
[00:33:43] *** g33k5z has quit IRC
[00:34:27] *** g33k5z_ has joined #angularjs
[00:34:39] <drag0nius> maybe i just split it into too many files :P
[00:34:53] *** leolrrj has quit IRC
[00:34:59] <tristanp> long html ain't a crime the same way long javascript files are imo
[00:35:06] *** deanclkclk has joined #angularjs
[00:35:20] <drag0nius> when i see something doing specific job i want to pull it out
[00:36:17] <drag0nius> no matter what type of file is it ;d
[00:36:21] *** fotoflo has quit IRC
[00:37:14] <drag0nius> i should probably make those things into directives in angular
[00:37:36] <tristanp> if they have logic that is sort of bundled up like for example a form, a directive is definitely the right way to go
[00:38:57] <drag0nius> 2 days ago i wouldn't even consider and go for it, but that settings-up-gulp tired me as ...
[00:38:58] *** g33k5z_ has quit IRC
[00:39:26] <drag0nius> at this point i just want to go forward xD
[00:39:37] *** despai has quit IRC
[00:40:17] *** dave_boling has quit IRC
[00:40:27] *** niftylettuce has joined #angularjs
[00:41:01] *** shaisnir has quit IRC
[00:41:01] *** fotoflo has joined #angularjs
[00:41:58] <fotoflo> robdubya: “keep in mind you’re unerroring by doing that” — sorry ?
[00:46:25] *** morenoh149 has joined #angularjs
[00:47:55] *** disorder20 has quit IRC
[00:49:00] *** fiws|meh has quit IRC
[00:49:30] *** slopjong has quit IRC
[00:50:16] *** adben- has quit IRC
[00:50:38] *** Ax` has quit IRC
[00:51:00] *** ron1_ has quit IRC
[00:52:07] *** trond- has quit IRC
[00:53:02] <robdubya> if you return a $q.when from an error block, its not going to error outside of the block. you're 'handling' the error
[00:53:31] <fotoflo> got it, fixed
[00:53:34] <fotoflo> thx
[00:55:14] *** OptimusMK has joined #angularjs
[00:55:30] *** shpoont_ has quit IRC
[00:56:10] *** shpoont has joined #angularjs
[00:57:14] *** shpoont has quit IRC
[00:57:25] *** jumpstracks has quit IRC
[00:57:29] *** shpoont has joined #angularjs
[00:58:03] *** shpoont has joined #angularjs
[01:00:09] *** rtpg has quit IRC
[01:01:16] *** night-owl is now known as zz_night-owl
[01:01:44] *** drag0nius has quit IRC
[01:04:10] *** bayousoft has joined #angularjs
[01:04:32] *** tschundeee has quit IRC
[01:05:32] *** Mosselman has joined #angularjs
[01:05:39] *** AciD`` has quit IRC
[01:05:56] *** Mosselman is now known as Guest3522
[01:08:41] *** JmZ_ is now known as JmZ
[01:09:57] *** Guest3522 has quit IRC
[01:10:39] *** sbellina has quit IRC
[01:12:39] *** tschundeee has joined #angularjs
[01:13:42] *** juanpablo_____ has joined #angularjs
[01:13:47] *** woebtz has quit IRC
[01:13:59] *** JmZ is now known as JmZ_
[01:14:09] *** lexek_ has joined #angularjs
[01:16:46] *** julaboy has quit IRC
[01:18:28] *** juanpablo_____ has quit IRC
[01:20:24] *** Sky[x] has quit IRC
[01:20:51] *** ngbot has joined #angularjs
[01:20:51] <ngbot> angular.js/master c95e38c Robert Haritonov: docs(tutorial/12): fix path to jquery in bower...
[01:20:51] *** ngbot has left #angularjs
[01:21:57] *** ngbot has joined #angularjs
[01:21:57] <ngbot> angular.js/v1.3.x c139e68 Robert Haritonov: docs(tutorial/12): fix path to jquery in bower...
[01:21:57] *** ngbot has left #angularjs
[01:21:58] *** evilaliv3 has quit IRC
[01:22:00] *** jumpstracks has joined #angularjs
[01:24:07] *** ron1_ has joined #angularjs
[01:25:03] *** JesseH has quit IRC
[01:25:06] *** evotuned has joined #angularjs
[01:25:54] *** OptimusMK has quit IRC
[01:27:50] *** woebtz has joined #angularjs
[01:29:59] *** evotuned has quit IRC
[01:29:59] *** greengriminal has quit IRC
[01:30:20] *** TyrfingMjolnir has joined #angularjs
[01:30:24] *** greengriminal has joined #angularjs
[01:30:34] *** ngbot has joined #angularjs
[01:30:34] <ngbot> angular.js/master 5bb2636 Dan Cancro: docs(guide/index): Link to starter options...
[01:30:35] *** ngbot has left #angularjs
[01:30:56] *** ngbot has joined #angularjs
[01:30:57] <ngbot> angular.js/v1.3.x 3a8f3dc Dan Cancro: docs(guide/index): Link to starter options...
[01:30:57] *** ngbot has left #angularjs
[01:31:18] *** sgen__ has joined #angularjs
[01:31:53] *** woebtz has quit IRC
[01:32:30] *** scythe__ has joined #angularjs
[01:32:35] *** boneskull has joined #angularjs
[01:34:51] *** g33k5z_ has joined #angularjs
[01:35:38] *** fbe has quit IRC
[01:37:01] *** morenoh149 has quit IRC
[01:37:08] *** whitebook has joined #angularjs
[01:37:09] *** Aliks has quit IRC
[01:37:12] *** fbe has joined #angularjs
[01:37:19] *** one_zero has quit IRC
[01:37:45] *** Aliks has joined #angularjs
[01:38:28] *** TyrfingMjolnir has quit IRC
[01:39:16] *** g33k5z_ has quit IRC
[01:39:35] *** woebtz has joined #angularjs
[01:40:20] *** swist has joined #angularjs
[01:40:20] *** paul_ has quit IRC
[01:40:20] *** one_zero has joined #angularjs
[01:40:26] *** scythe__ has quit IRC
[01:40:52] *** scythe__ has joined #angularjs
[01:41:46] *** mary5030 has joined #angularjs
[01:42:25] *** Aliks has quit IRC
[01:42:46] *** mtho11 has joined #angularjs
[01:42:58] *** whitebook has quit IRC
[01:43:00] *** Aliks has joined #angularjs
[01:44:27] *** pHcF has quit IRC
[01:44:53] *** morenoh149 has joined #angularjs
[01:45:19] *** dc_ has joined #angularjs
[01:45:21] *** JesseH has joined #angularjs
[01:45:46] *** greengriminal has quit IRC
[01:45:53] *** woebtz has quit IRC
[01:47:39] *** rikko has quit IRC
[01:47:40] *** sgen__ has quit IRC
[01:48:20] *** scythe__ has quit IRC
[01:48:27] *** whitebook has joined #angularjs
[01:48:47] *** scythe__ has joined #angularjs
[01:48:59] *** fairuz has joined #angularjs
[01:49:26] *** shinnya has quit IRC
[01:50:02] *** whiteboo_ has joined #angularjs
[01:50:58] *** soee__ has joined #angularjs
[01:51:53] *** Aliks has quit IRC
[01:52:04] *** ProLoser has quit IRC
[01:52:20] *** TyrfingMjolnir has joined #angularjs
[01:52:31] *** pHcF has joined #angularjs
[01:52:46] *** soee_ has quit IRC
[01:53:18] *** whitebook has quit IRC
[01:53:41] *** marr has quit IRC
[01:55:33] *** rtpg has joined #angularjs
[01:58:38] *** rtpg has quit IRC
[01:58:40] *** vectra has quit IRC
[01:58:45] *** ngbot has joined #angularjs
[01:58:46] <ngbot> angular.js/master 8928d02 gdi2290: perf(ngStyleDirective): use $watchCollection...
[01:58:46] *** ngbot has left #angularjs
[01:58:46] *** rtpg has joined #angularjs
[01:59:10] *** ngbot has joined #angularjs
[01:59:11] <ngbot> angular.js/v1.3.x 4c8d8ad gdi2290: perf(ngStyleDirective): use $watchCollection...
[01:59:11] *** ngbot has left #angularjs
[01:59:17] *** jumpstracks has quit IRC
[02:01:31] *** mglvl has quit IRC
[02:01:57] *** renlo has joined #angularjs
[02:03:17] *** jumpstracks has joined #angularjs
[02:03:59] *** startupality has quit IRC
[02:04:05] *** pHcF has quit IRC
[02:04:41] *** joroc has joined #angularjs
[02:05:17] *** sgen__ has joined #angularjs
[02:05:46] *** deanclkclk has quit IRC
[02:06:39] *** Mosselman has joined #angularjs
[02:07:01] *** Mosselman is now known as Guest9212
[02:07:37] *** aven1 has quit IRC
[02:07:54] *** sahbeewah_ has quit IRC
[02:08:06] *** ngbot has joined #angularjs
[02:08:07] <ngbot> angular.js/master e4f23c4 Olivier Giulieri: docs(guide): fix spaces...
[02:08:07] *** ngbot has left #angularjs
[02:08:09] *** startupality has joined #angularjs
[02:08:14] *** mikerrrrrr has joined #angularjs
[02:08:24] *** jimvideo has quit IRC
[02:08:29] *** ngbot has joined #angularjs
[02:08:30] <ngbot> angular.js/v1.3.x aab632b Olivier Giulieri: docs(guide): fix spaces...
[02:08:30] *** ngbot has left #angularjs
[02:08:52] *** ome has joined #angularjs
[02:09:24] *** ries has quit IRC
[02:10:35] *** tyson2 has joined #angularjs
[02:10:57] *** cakirke has quit IRC
[02:11:04] *** morenoh149 has quit IRC
[02:11:20] *** Guest9212 has quit IRC
[02:11:48] *** g-nom3 has joined #angularjs
[02:12:37] *** tadni_ has joined #angularjs
[02:14:21] <tadni_> So, someone with very little JS knowledge and next to none Webdesign knowledge -- is Angular approachable to have a text heavyish site?
[02:14:29] <tadni_> to have/poop out*
[02:14:37] *** JR____ has joined #angularjs
[02:15:23] *** johnkevinmbasco has joined #angularjs
[02:15:54] <jumpstracks> probably better off with a content management system
[02:15:57] *** TyrfingMjolnir has quit IRC
[02:15:59] *** whiteboo_ has quit IRC
[02:16:31] <tadni_> jumpstracks: What, Drupal or?
[02:16:36] *** pHcF has joined #angularjs
[02:16:42] <jumpstracks> wordpress/drupal
[02:16:44] <BahamutWC|Laptop> drupal, wordpress, etc.
[02:16:47] *** tschunde_ has joined #angularjs
[02:16:48] <johnkevinmbasco> Hi guys, what are your thoughts about combining module by feature and module by type? Example: user and post module. and each of the modules have sub-modules by type. example: user.controllers, user.services etc... ?
[02:16:51] <tadni_> I mean, I probably want to build up my JS skills a tiny bit.
[02:16:55] <jumpstracks> google pages
[02:17:03] *** TyrfingMjolnir has joined #angularjs
[02:17:10] *** fandi has joined #angularjs
[02:17:15] <BahamutWC|Laptop> angular is more for web applications
[02:17:22] *** zwacky has quit IRC
[02:17:32] <jumpstracks> probably could add js to the cms’ without too much problems as long as you can upload .js files
[02:17:32] <johnkevinmbasco> I'm thinking of combining the two because I want to be able to require services of a feature module easily. w/o having to mock the .run method etc...
[02:17:56] *** Foxandxss has quit IRC
[02:18:31] *** sahbeewah_ has joined #angularjs
[02:18:37] *** JR____ has quit IRC
[02:18:39] <BahamutWC|Laptop> johnkevinmbasco: ideally you should have a user model and have any controllers have core logic in services in another module
[02:18:42] *** maikowblue has joined #angularjs
[02:18:51] <tadni_> jumpstracks: I mean, mostly it'd be a kinda documentation viewer to a large degree.
[02:19:08] *** nycdevgirl has joined #angularjs
[02:19:22] <BahamutWC|Laptop> tying the model related to the user and the controllers and other components will create hairyness for the dependency graph if it turns out your user model needs to be used elsewhere
[02:19:42] *** TeddyMurray has quit IRC
[02:19:58] *** fedenunez has joined #angularjs
[02:20:00] <johnkevinmbasco> BahamutWC|Laptop: yep. that's not always the cause though. since there are lots of times that a service is very specific in a feature module. But there are times that the factory can be re-used on other feature module or in another app.
[02:20:21] <BahamutWC|Laptop> that’s why almost everything should live in services
[02:20:29] *** tschundeee has quit IRC
[02:21:04] <johnkevinmbasco> BahamutWC|Laptop: so what can you suggest? Create a "services" module? and let the feature modules who needs it require it?
[02:21:09] <BahamutWC|Laptop> controllers should just be simple implementations of a controller service - if you know Java or PHP or the likes, think of it as abstract classes/interfaces and implementations
[02:21:30] <BahamutWC|Laptop> views may not necessarily be portable
[02:21:36] *** F1LT3R has joined #angularjs
[02:22:19] *** soee__ has quit IRC
[02:23:24] <johnkevinmbasco> BahamutWC|Laptop: was thinking of organizing it like: services module (will contain all the services), and the user module and post module will just require the services module.
[02:23:30]
<tadni_> I mean, againg, with barely any base knowledge on my end ... what would something like https://getfedora.org be done in primarily? Just via a CMS, or via some system similar to Angular?
[02:23:37] <johnkevinmbasco> but I worry that it the services module might have lots of files in it.
[02:23:53] <BahamutWC|Laptop> don’t do it by component type
[02:23:58] <BahamutWC|Laptop> do modules by functionality
[02:24:17] *** devhoag has quit IRC
[02:24:36] *** motionman has joined #angularjs
[02:25:27] *** g33k5z has joined #angularjs
[02:26:05] *** F1LT3R has quit IRC
[02:26:09] *** evotuned has joined #angularjs
[02:26:27]
<jaydubya> https://gist.github.com/anonymous/e6b475c59c611610b961 <-- I've been at this a few hours now and can't seem to stop this creating duplicates of each loan. Is there someway maybe to store the return value to a .then() so then I would only have to loop once?
[02:27:59] *** boxmein has quit IRC
[02:30:07] *** g33k5z has quit IRC
[02:30:33] <BahamutWC|Laptop> jaydubya: you can create a model that saves the loan to a class instance
[02:30:35] *** AlSquire has quit IRC
[02:30:42] *** evotuned has quit IRC
[02:31:04] *** ron1_ has quit IRC
[02:31:06] *** BillCriswell has joined #angularjs
[02:31:23] <jaydubya> BahamutWC|Laptop: uh, I'm still in the Angular 101 class
[02:32:50] *** tomphp has quit IRC
[02:34:46] *** aven1 has joined #angularjs
[02:34:48] <jaydubya> BahamutWC|Laptop: Google returned 114,000,000 articles for the search "angular model class instance" ... can you be a bit more specific?
[02:35:02] <BahamutWC|Laptop> jaydubya: I’m talking pure javascript
[02:35:05] *** BillCriswell has quit IRC
[02:35:34] <robdubya> lol
[02:35:50] <robdubya> "did you mean javascript model class instance"
[02:35:56] *** drag0nius has joined #angularjs
[02:36:46] <jaydubya> cool, there's only 52,300,000 results for that ... cut my work in half!
[02:36:54] <jaawerth> hrm.. anyone got a nice gulp setup that automatically wraps each module in its own self-invoking function?
[02:37:05] *** motionman has quit IRC
[02:37:25] <jaydubya> jaawerth: do you use webstorm?
[02:37:32] <jaawerth> I'm starting to get a little more intense with how I register things on my modules, so I want to split them up into functions and auto-wrap each module in a closure
[02:37:37] <jaawerth> jaydubya: nope
[02:38:09] *** ron1_ has joined #angularjs
[02:38:12] *** joroc has quit IRC
[02:38:14] *** ron1_ has quit IRC
[02:38:15] <jaydubya> cause in webstorm you can create a macro that does a select all and the wraps with the IFFE
[02:38:17] *** Los_Bonitos has joined #angularjs
[02:38:26] *** ron1_ has joined #angularjs
[02:38:42] *** motionman has joined #angularjs
[02:38:59] <jaawerth> ahh here we go, gulp-wrap
[02:39:31] <jaawerth> can wrap stuff with a lodash template, nice
[02:39:50] *** startupality has quit IRC
[02:40:01] <jaydubya> shit, what doesn't Gulp do?
[02:40:14] <ome> Ahoy.
[02:40:51] <ome> So I have a question, I remember having problem with how JavaScript handles references and and reassigning a variable would have removed it's angularjs bindings too.
[02:41:11] <BahamutWC|Laptop> johnkevinmbasco: I think you are grouping controllers under certain things that likely shouldn’t have a controller
[02:41:11] <jaawerth> eventually I should probably look into useful Sublimetext build tools so things are a bit more integrated with my editor
[02:41:15] <ome> Now I have a server that pushes a new version of an object over web sockets everytime something changes. How can I bind that to AngularJS?
[02:41:22] *** TyrfingMjolnir has quit IRC
[02:41:32] <BahamutWC|Laptop> for example, a user is one you traditionally think of as a model - it should be completely separate as a module from any module that contains controllers
[02:41:43] *** phzon has joined #angularjs
[02:41:59] <BahamutWC|Laptop> same with a post
[02:42:34] *** niftylettuce has quit IRC
[02:42:51] *** tSpartak has quit IRC
[02:42:52] <BahamutWC|Laptop> maybe create an admin module with controllers such as addUserCtrl and the addPostCtrl
[02:42:52] <robdubya> jaydubya you should try using map as well, tends to make this kind of thing a lot easier to read
[02:43:06] <jaawerth> ome: There are a few ways you can handle this, but it all ties into the javascript dot rule. For example, if you have object MyFoo to hold your data, and keep all the data on MyFoo.data, and then access it that way everywhere, you can safely overwrite MyFoo.data and it will be grabbing the same reference
[02:43:35] *** erikruthven has quit IRC
[02:43:40] *** Liquori has joined #angularjs
[02:43:44] <johnkevinmbasco> BahamutWC|Laptop: I think I get your idea. it makes sense. hmm.
[02:43:51] *** nemothekid has joined #angularjs
[02:43:57] <BahamutWC|Laptop> robdubya: one person complained about me doing _.sortBy(_.pluck(foo, {bar: ‘baz’}).filter(cb).map(cb2)) before :P
[02:44:00] <ome> jaawerth: That is pretty clever. Do you know of some good reads before I dig into this? cheers.
[02:44:18] *** whunt has quit IRC
[02:44:29] <jaydubya> jaawerth: I was using map until this morning but it was creating an error and someone helped me and changed it to this but it is creating double entries
[02:44:41] <BahamutWC|Laptop> oh forgot cb3 in that chain of stuff - but you get the idea
[02:44:43] <robdubya> jaydubya also do all that shit before you get to your ocntroller
[02:45:17] *** cacts has quit IRC
[02:45:31] <johnkevinmbasco> BahamutWC|Laptop: thanks for the help btw.
[02:45:35] <jaawerth> ome: Hrm... I don't know if I have any reads about it. I might have a couple of plnkrs kicking around that show it in action though *checks*
[02:45:43] <BahamutWC|Laptop> johnkevinmbasco: no prob! it’s a very good question
[02:45:53] *** phzon has quit IRC
[02:46:01] *** JR____ has joined #angularjs
[02:46:13] *** cacts has joined #angularjs
[02:46:18] *** fandi has quit IRC
[02:46:49] *** mliq has quit IRC
[02:46:51] *** Cronoh has quit IRC
[02:47:27] *** dc_ has quit IRC
[02:48:17] *** matheusrocha89 has quit IRC
[02:50:35] <jaawerth> ome: Can't find the ones I was thinking of. I know there are supposed to be some good videos out there that explain the dot rule, though I don't have any bookmarked
[02:50:41] <jaawerth> BahamutWC or robdubya might, though
[02:51:21] <ome> jaawerth: Thanks. I will look 'em up. :)
[02:52:01] *** chrisbirk has joined #angularjs
[02:52:13] <jaawerth> another trick for pulling in new data to update an existing object's properties is to use angular.extend
[02:52:24] <jaawerth> (or lodash's extend, which is basically the same thing)
[02:52:34] <jaawerth> to copy over all the properties of the new data into the existing object
[02:54:03] *** Zren is now known as Zren_
[02:54:08] <jumpstracks> jayduba, looks like should create duplicates
[02:54:22] *** Zren_ is now known as Zren
[02:54:46] <jumpstracks> both promises execute serially
[02:55:39] <jumpstracks> appears you’re grabbing pending votes and comments 2x into promies
[02:55:44] <jumpstracks> *promisis
[02:56:35] *** fedenunez has quit IRC
[02:57:18] <jaydubya> what I am trying to do is to return the entire loans table and then loop through each loan, use some of its attributes to test if a condition should or should not exist and then add a flag to the loan and do it again for a second attribute. I obviously don't want to duplicate each loan.
[02:57:43] *** nemothekid has quit IRC
[02:58:56] <jaydubya> Maybe an alternative for me would be to not loop at all and use a $scope function which would trigger a db query to check if each condition is applicable.
[02:59:26] <jaydubya> so in the view, I do an ng-if to trigger that $scope function
[03:00:52] *** freeAir___ has joined #angularjs
[03:01:40] *** chrisbirk has quit IRC
[03:02:00] *** Solid1_afk has quit IRC
[03:02:00] *** xxMatiasFCxx has quit IRC
[03:02:19] *** xxMatiasFCxx has joined #angularjs
[03:02:28] *** juanpablo_____ has joined #angularjs
[03:02:55] *** merobertsjr has joined #angularjs
[03:03:02] *** donne has quit IRC
[03:03:02] <robdubya> smaller pieces > ubermethods
[03:03:03] <jumpstracks> I can’t figure out how to append characters to a text input value after I lose focus
[03:03:03] <robdubya> always
[03:03:34] *** JesseH has quit IRC
[03:03:50] <jumpstracks> I’m getting reference to an angular object vs the txt input value
[03:04:19] *** TyrfingMjolnir has joined #angularjs
[03:04:30] <robdubya> jumpstracks make a directive, for a start
[03:04:30] <BahamutWC> wow, jsfiddle's stack traces are awful
[03:04:50] *** chrisshattuck has joined #angularjs
[03:05:09] <jumpstracks> never done that
[03:05:26] *** Solid1_afk has joined #angularjs
[03:05:28]
<jaydubya> robdubya: that is beautiful code -- let me verify, this is the entire controller where is use this. (see call at line 70). Since you call getLoans on line 32, I am just checking to make sure I can incorporate your code -- https://gist.github.com/anonymous/9c73b4cb2cd979f34b4b
[03:05:45] *** friederic has joined #angularjs
[03:05:50] *** julaboy has joined #angularjs
[03:05:53] <robdubya> jaydubya i'd do ALL of that in a service
[03:06:05] *** opiates has quit IRC
[03:06:05] <robdubya> and just call the //do it function from the controller
[03:06:52] <jaydubya> robdubya: so, a controller calls a service that calls a factory?
[03:07:01] <BahamutWC> jumpstracks: you will want a custom directive that has require: 'ngModel', and use ngModel there
[03:07:07] <robdubya> service === factory, for all practical purposes
[03:07:22] *** merobertsjr has quit IRC
[03:07:24] *** Mosselman has joined #angularjs
[03:07:26] <BahamutWC> when in doubt, use .factory and never .service
[03:07:37] *** juanpablo_____ has quit IRC
[03:07:37] <jumpstracks> trying to find some directive examples...
[03:07:38] <BahamutWC> the difference between the two are subtle
[03:07:40] <robdubya> jaydubya the point of doing all that jazz inside a service would be a) its reusable and b) it keeps your controllers lightweight
[03:07:48] *** Mosselman is now known as Guest83168
[03:07:49] <robdubya> but in either case
[03:08:08] <robdubya> LoansFactory.getLoans().then(updateLoansData).then(function(arrayOfLoansWithUpdatedData){ //do whatever
[03:08:25] *** tschunde_ has quit IRC
[03:08:28] *** sbellina has joined #angularjs
[03:09:00] *** tschundeee has joined #angularjs
[03:09:08] <jaydubya> you guys make angular sound so elegant but learning it is like dropping silverware
[03:09:14] *** chrisshattuck has quit IRC
[03:09:15] *** whitebook has joined #angularjs
[03:09:24] <BahamutWC> jaydubya: we just went through the pains earlier than you :P
[03:09:26] *** nycdevgirl has quit IRC
[03:09:29] <robdubya> that's really just javascript too :)
[03:09:34] <BahamutWC> but it teaches you a lot about JS
[03:09:53] <robdubya> in vanilla JS it would be === except change $q for Promise
[03:10:04] *** julaboy has quit IRC
[03:10:31] <robdubya> jaydubya so assuming you have a LoansFactory, i'd just still all those methods inside of it
[03:10:41] <robdubya> *stick
[03:10:47] *** PigDude has left #angularjs
[03:10:50] <BahamutWC> jumpstracks: actually, in that doc page near the bottom, there is a simpler example of ngModel at work
[03:11:24] <jumpstracks> adding to the js fiddle now
[03:11:25] <robdubya> jaydubya lol, ok.
[03:11:37] <robdubya> jaydubya one thing that would immediately improve your life 100%
[03:11:51] *** recidive has quit IRC
[03:11:58] *** Guest83168 has quit IRC
[03:11:59] <robdubya> it appears that all your API calls return something like { data: [theActualRecordsYouWant] }
[03:12:04] <robdubya> (nested)
[03:12:05] <robdubya> yea?
[03:12:20] <drag0nius> what is ng-scope attribute?
[03:12:23] <robdubya> so you're constantly doing response.data.data
[03:12:40] *** nickeddy has quit IRC
[03:12:48] <robdubya> function parseResponse(response){ return response.data.data }
[03:12:59] <robdubya> return $http.get(API_URL + '/loans/' + id + '/references').then(parseResponse);
[03:13:06] *** sbellina has quit IRC
[03:13:09] <jumpstracks> wow all this to add some text
[03:13:31] *** tschundeee has quit IRC
[03:13:39] *** whitebook has quit IRC
[03:13:53] <robdubya> and then when you do
[03:14:10] <jumpstracks> sigh, have to get this done quick
[03:14:24] <robdubya> LoanFactory.getReferences).then(function(references){ ...//now you can refer to references, not res.data.data
[03:14:42] <robdubya> which for me just makes it easier to keep track of wtf i'm doing :D
[03:16:03] <robdubya> i always want my services to expose a semantically understandable "public" API - that is, LoanFactory.getLoans() -> should return an array of loans, not a response.data with loans embedded somewhere within
[03:16:25] *** kagitingan has joined #angularjs
[03:16:29] *** X-warrior has quit IRC
[03:17:03] *** sabrehagen has quit IRC
[03:17:26] <jaawerth> ah, that is a good approach, yeah
[03:17:31] <jaydubya> robdubya: My code, unfortunately, is a mash-up of Google searches and tutorials and help in here ... this is my first Angular app
[03:18:05] <robdubya> jaydubya i'm not criticizing - the fact all that stuff is in a factory is good. that's just an easy tweak to make things better
[03:18:10] <jaydubya> robdubya: but I agree with everything you just wrote (and dream of a day SOON when I will be able to write it like that)
[03:18:22] <drag0nius> the functionality looks amazing (aliasing variables)
[03:18:38] <jaydubya> robdubya: I didn't take it as criticism
[03:18:39] <jaawerth> also stop writing 200+ line controllers!
[03:18:42] <jaawerth> ;-)
[03:18:53] <jaawerth> (unless you already have)
[03:19:10] *** kolyaflash has quit IRC
[03:19:28] <jaydubya> that was how I "figured out" how to get everything done ... LOL
[03:19:42] *** sabrehagen has joined #angularjs
[03:19:53] *** sabrehagen has left #angularjs
[03:20:22] <jaydubya> i am pretty literate in CodeIgniter (although I have recently move to Laravel) and in CodeIgniter is is slim models and fat controllers ... I am trying to change my mindset
[03:20:50] <robdubya> shit's weird
[03:21:11] <jaydubya> so, if I am creating a factory method that will only be called internally, I don't return it?
[03:21:23] <robdubya> yep. it's "private"
[03:21:35] *** dllama has joined #angularjs
[03:21:39] <jaydubya> so all of your methods would be private?
[03:22:03] *** Los_Bonitos has left #angularjs
[03:22:42] <robdubya> in the gist i linked? yeah, with the exception of the last one (//do it) which you'd probably wrap in a function which you would return / expose
[03:23:07] *** bayousoft has quit IRC
[03:23:46] *** nickeddy has joined #angularjs
[03:23:55] *** TyrfingMjolnir has quit IRC
[03:24:05] <jaawerth> hrm.. if I auto-wrap all my modules in an IFFE, I won't be able to try out my app pre-compilation without concating, but concating early would make it more annoying to debug
[03:25:55] *** freeAir___ has quit IRC
[03:26:13] *** g33k5z has joined #angularjs
[03:26:19] *** Cronoh has joined #angularjs
[03:26:26] *** zz_night-owl is now known as night-owl
[03:26:37] *** freeAir___ has joined #angularjs
[03:26:53] *** TyrfingMjolnir has joined #angularjs
[03:27:07] *** evotuned has joined #angularjs
[03:27:11] <robdubya> (note that that's a new factory that injects the LoanFactory - which is a decent compromise between pure "Models" and uber-controllers
[03:27:26] <robdubya> CRUD -> Business Logic -> Controller
[03:27:33] <robdubya> ymmv.
[03:27:59] *** Cronoh has quit IRC
[03:28:17] *** nemothekid has joined #angularjs
[03:28:23] *** Aerospark has joined #angularjs
[03:28:49] *** Cronoh has joined #angularjs
[03:30:04] <jaydubya> robdubya: will take me a few to digest but it is readable and beautiful
[03:30:13] *** lexek_ has quit IRC
[03:30:30] *** ngeksyo has quit IRC
[03:31:05] *** frkout has joined #angularjs
[03:31:32] *** evotuned has quit IRC
[03:31:46] *** g33k5z has quit IRC
[03:33:32] *** metasansana has joined #angularjs
[03:33:34] <robdubya> from the ctrl you'd just do LoanManager. getLoansWithExtraData().then(...
[03:33:52] *** Joseph_Silber has quit IRC
[03:34:09] *** tyson2 has quit IRC
[03:34:25] *** sharms has quit IRC
[03:34:50] <jaydubya> robdubya: LoanManager. getLoansWithExtraData().then(function(allLoans){ $scope.loans = allLoans; }, right?
[03:34:58] <robdubya> yup
[03:35:26] *** JosephSilber has joined #angularjs
[03:35:26] <jaydubya> really elegant and so fucking readable ... sorry for the language but it was a needed adjective
[03:36:09] *** Joseph_Silber has joined #angularjs
[03:36:46] *** Aerospark has quit IRC
[03:37:31] *** Aerospark has joined #angularjs
[03:38:33] *** freeAir____ has joined #angularjs
[03:38:36] <jumpstracks> hmm filter looks easier
[03:38:37] <jumpstracks> app.filter('markdown', function () {
[03:38:38] <jumpstracks> return function (input) {
[03:38:39] <jumpstracks> return input.toUpperCase(); // this is where you'd convert your markdown
[03:38:40] <jumpstracks> };
[03:38:41] <jumpstracks> });
[03:39:25] <jumpstracks> doesn’t look like it’s using my directive at all
[03:40:16] *** freeAir___ has quit IRC
[03:42:37] *** freeAir____ has quit IRC
[03:42:46] *** mary5030 has quit IRC
[03:42:59] *** Milkweed has joined #angularjs
[03:43:13] <robdubya> jumpstracks it basically dpeends on if you just want to change how its rendering, or if you want to manipulate the data itself
[03:43:14] *** swist has quit IRC
[03:43:20] *** mary5030 has joined #angularjs
[03:43:37] *** freeAir____ has joined #angularjs
[03:43:44] <jaawerth> jumpstracks: also, it isn't using your directive because anything camelCased ends up looking like "camel-cased"
[03:43:50] <jumpstracks> I want to update the data, and likely add styling for validation issues and such
[03:44:04] <jumpstracks> ya I was just reading htta bit of helpfulness…
[03:44:05] <jaawerth> jumpstracks: so your directive would be "clean-ampm"
[03:44:09] <jaawerth> in the template
[03:44:10] *** freeAir____ has quit IRC
[03:44:37] *** freeAir____ has joined #angularjs
[03:45:13] <jumpstracks> updated, same result, not calling the console.log
[03:45:15] *** digilink has joined #angularjs
[03:45:27] *** maikowblue has quit IRC
[03:47:36] <drag0nius> any idea if it's possible to add something else in place of filter in ngTable?
[03:47:37] <wafflej0ck> jumpstracks: cleanAmpm is what you want
[03:47:40] <robdubya> call it cleanAmpm -> clean-ampm
[03:47:41] <robdubya> haha
[03:47:49] <jumpstracks> ah
[03:47:53] *** mary5030 has quit IRC
[03:48:25] <jumpstracks> cool, getting errors now
[03:48:45] <jumpstracks> okay.. no sorry, but what they hay, it’s renaming variables on me?
[03:49:13] <jumpstracks> first framework I’ve seen that renames variables.
[03:49:18] <jumpstracks> oh well..
[03:49:34] <jumpstracks> any idea how do I read the current value of the model?
[03:49:36] <robdubya> its not renaming them
[03:49:42] <wafflej0ck> jumpstracks: it's just a "normalization" process in JS you have case sensitivity so they use camel case since it's the norm in JS, in HTML no case sensitivity so it's hyphenated
[03:50:00] <jumpstracks> hehe.. that’s renaming to me
[03:50:09] <jumpstracks> but I guess makes sense…
[03:50:10] *** ProLoser has joined #angularjs
[03:50:10] <wafflej0ck> jumpstracks: it didn't make dog->cat :P
[03:50:19] *** rchavik has joined #angularjs
[03:50:23] *** freeAir_____ has joined #angularjs
[03:50:28] <jumpstracks> it changed it enought he compiler didn’t like it :)
[03:50:33] <wafflej0ck> jumpstracks: it's definitely a gotcha the first time around
[03:50:41] <jumpstracks> heh and 30th for me
[03:50:49] <robdubya> web-components-motha-fucka-do-you-speak-em
[03:50:56] <jumpstracks> nodoubt
[03:51:09] *** JesseH has joined #angularjs
[03:51:22] <robdubya> so this is basically :
[03:51:29] <robdubya> input -> 12 -> output 12pm ?
[03:51:46] *** charuru has joined #angularjs
[03:51:53] *** freeAir____ has quit IRC
[03:52:11] *** cacts has quit IRC
[03:52:51] <jumpstracks> ok, closer, but
[03:52:52] <jumpstracks> ya
[03:52:57] <jumpstracks> it’s close...
[03:53:02] <jumpstracks> I need to add onblur
[03:53:31] <jumpstracks> do I have to update every time for it to be public?
[03:53:39] <jumpstracks> * in jsfiddle
[03:56:32] <wafflej0ck> jumpstracks: yeah pretty sure you have to hit update in there, typically use plnkr in here unless it's broken, there's a link in the IRC topic to a template with angular setup already still need to hit save in there for updates though (unless your streaming/sharing)
[03:56:48] <wafflej0ck> you're
[03:56:49] <freeAir_____> angular and angular-latest in bower. which one should i use?
[03:56:54] *** whunt has joined #angularjs
[03:57:12] <jumpstracks> ah ok
[03:57:15] <jumpstracks> sry bout that
[03:57:17] <wafflej0ck> freeAir_____: you can use angular and use the semantic versioning rules to get the one you need
[03:57:31] <wafflej0ck> jumpstracks: no worries good that you set something up, just a pain when people come sans code
[03:57:32] *** nemothekid has quit IRC
[03:57:48] <jumpstracks> i did that initiially :)
[03:58:34] *** macabre has joined #angularjs
[03:58:46] *** renlo has quit IRC
[04:00:32] <jumpstracks> still doesnt’ work, but prettier
[04:00:44] *** Aerospark has joined #angularjs
[04:01:00] *** Aerospark has quit IRC
[04:01:15] *** Aerospark has joined #angularjs
[04:01:32] *** whunt has quit IRC
[04:01:40] <jumpstracks> so basically on blur I need to check for pm/am suffic and add if missing
[04:02:10] *** mkc has joined #angularjs
[04:04:23] *** cotko has quit IRC
[04:04:31] <jumpstracks> got it I think
[04:04:42] *** joroc has joined #angularjs
[04:04:50] *** whitebook has joined #angularjs
[04:05:40] *** goodenough has joined #angularjs
[04:06:16] *** nickgs has joined #angularjs
[04:07:11] *** freeAir_____ has quit IRC
[04:07:45] *** whitebook has quit IRC
[04:08:08] *** aven1 has quit IRC
[04:08:14] *** Mosselman has joined #angularjs
[04:08:36] <jaydubya> robdubya: where do I put the parseResponse method so that it is available to all of my factories?
[04:08:37] *** Mosselman is now known as Guest73649
[04:08:48] <robdubya> in a factory :)
[04:08:55] *** freeAir has joined #angularjs
[04:09:11] *** freeAir has joined #angularjs
[04:09:17] *** mkc has quit IRC
[04:09:23] <robdubya> or if you're sure that ALL of your APi calls do that, you could use an $http interceptor
[04:09:31] <tristanp> on window obviously
[04:10:09] <wafflej0ck> yeah just put a reference to window on $rootScope and keep it there :P
[04:10:21] <wafflej0ck> create a global space in the global space, and have it broadcast an event
[04:10:21] *** F1LT3R has joined #angularjs
[04:10:24] <jumpstracks> well, thanks all
[04:10:29] <jaydubya> my API wraps every response in data so I'll google $http interceptor (sounds like something I should learn)
[04:10:31] <jumpstracks> working nicely
[04:10:39] <wafflej0ck> jumpstracks: nice
[04:11:05] <jumpstracks> much less kudgy than way I was going to do, and learned a bit abotu directives.. :)
[04:11:18] *** goodenough has quit IRC
[04:11:21] *** JR____ has quit IRC
[04:11:25] *** sgen__ has quit IRC
[04:12:58] *** Guest73649 has quit IRC
[04:14:06] *** evanjs has joined #angularjs
[04:14:54] *** freeAir has quit IRC
[04:15:01] <wafflej0ck> drag0nius: you figure out your ngTable filtering business?
[04:15:06] *** jumpstracks has quit IRC
[04:15:30] *** F1LT3R has quit IRC
[04:16:12] <drag0nius> wafflej0ck: looks good, thanks
[04:16:19] *** Siecje has quit IRC
[04:16:24] *** ron1_ has quit IRC
[04:16:28] *** freeAir has joined #angularjs
[04:18:35] <robdubya> instead of using $http everywhere, use a MyAPI factory - that way you can centralize all that logic.
[04:19:50] *** neilff has joined #angularjs
[04:21:09] *** scythe__ has quit IRC
[04:21:30] <jaydubya> robdubya: in the article I am reading, it was suggested to make a "provider" so it can be injected into "config" to be universally available. Is your latest plunker a better concept?
[04:21:41] *** qdk_ has quit IRC
[04:21:54] <robdubya> that's a valid thing, assuming you have things you need to 'config'
[04:22:20] *** shakahl has joined #angularjs
[04:22:23] *** qdk has joined #angularjs
[04:22:30] <robdubya> a provider is just a function that *provides* a factory, basically
[04:23:01] *** nemothekid has joined #angularjs
[04:24:07] <wafflej0ck> yup go with factory/service unless you need to do stuff in config before the service/factory can be used, in which case go with a provider
[04:24:55] <jaydubya> I kinda think the MyAPI is more readable than the .provider
[04:26:07] *** freeman42 has quit IRC
[04:26:35] <drag0nius> how can i watch object outside controller?
[04:26:38] <robdubya> providers are useful but yeah, they always end up looking ugly :D
[04:26:52] <wafflej0ck> eh only case I've needed provider for so far really is when I wanted to be able to enforce that some things are filled in by config somewhere before it's used but don't care where that config happens
[04:27:16] <wafflej0ck> for API URLs specifically
[04:27:19] *** hell_razer has joined #angularjs
[04:27:22] *** g33k5z_ has joined #angularjs
[04:28:06] <wafflej0ck> drag0nius: typically you can use $scope.$watch anywhere but in 90% of cases you can organize things so you don't need or benefit from an explicit watch
[04:28:11] *** evotuned has joined #angularjs
[04:28:39] <drag0nius> i've .warehouses (list of ids) that i want to map to .warehouses_names every time they change
[04:28:50] <drag0nius> so i can later filter them
[04:29:17] *** JesseH has quit IRC
[04:29:33] *** JesseH has joined #angularjs
[04:29:39] <tristanp> drag0nius: that is one of my earliest and still unanswered questions about angular
[04:30:06] <robdubya> you can only watch things that have a scope
[04:30:07] <wafflej0ck> drag0nius: yeah so for that I'd probably just "house" all that logic in a factory (maybe a couple depending on the complexity) and deal with "massaging" the data and whatnot in the factory
[04:30:10] <tristanp> drag0nius: I fear there is no way, you just have to make proper use of events and stuff. im used to having obvservers and computed properties aplenty from Ember but :/
[04:30:19] *** sonofdirt has joined #angularjs
[04:30:33] * Grokling_ smells a use case for factories embodying OOP.
[04:30:59] <wafflej0ck> robdubya: not really true you can have the function as the first arg to watch return whatever you want I'm pretty sure
[04:30:59] <BahamutWC> I created a progress bar library for a previous company - that had to use a provider to configure the progress class
[04:31:21] <robdubya> wafflej0ck but you've got to $watch it from a scope
[04:31:28] <BahamutWC> which essentially was an abstract class for starting and stopping the progress
[04:31:29] <wafflej0ck> robdubya: right right
[04:31:29] *** Hackwar1 has joined #angularjs
[04:31:40] *** dc_ has joined #angularjs
[04:31:49] *** Hackwar has quit IRC
[04:31:57] *** Aerospark has quit IRC
[04:32:03] <drag0nius> well, guess i'll just make .refreshNames to call whenever i need
[04:32:04] *** g33k5z_ has quit IRC
[04:32:16] *** night-owl is now known as zz_night-owl
[04:32:32] <robdubya> drag0nius make a plunker of what you're trying to accomplish
[04:32:42] <drag0nius> it would be way too long :P
[04:32:48] <robdubya> because $watch is typically way unnecessary if you're smart about things
[04:32:53] *** evotuned has quit IRC
[04:33:03] <drag0nius> 1. i've Warehouses.choices()
[04:33:04] *** ProLoser has quit IRC
[04:33:14] <robdubya> which returns?
[04:33:15] <drag0nius> 2. i've ProductType.warehouses (ids)
[04:33:25] <drag0nius> {id: ..., label: ...}
[04:34:14] *** JR____ has joined #angularjs
[04:34:15] <drag0nius> i'd liek to automagically assign .warehouses_names whenever ProductType returned object changes (set in Restangular.addElementTransformer)
[04:34:19] *** bradleyprice has joined #angularjs
[04:34:51] *** aven1 has joined #angularjs
[04:35:42] <robdubya> so a foreign key sort of thing?
[04:35:47] <drag0nius> indeed
[04:36:04] <robdubya> do it when the data returns from the API. once. usnig $watch will make it fire 11ty times
[04:36:29] *** nim has joined #angularjs
[04:36:30] *** AngularUI has joined #angularjs
[04:36:30]
<AngularUI> [bootstrap] robertjf opened pull request #3132: Remove trim() function when compiling tplContent (master...patch-1) http://git.io/AsDXyA
[04:36:30] *** AngularUI has left #angularjs
[04:36:42] <nim> Hi
[04:36:56] *** JesseH has quit IRC
[04:36:57] *** joroc has quit IRC
[04:36:57] <wafflej0ck> hello nim
[04:37:09] <nim> Can i asc?
[04:37:31] *** JesseH has joined #angularjs
[04:37:55] *** bayousoft has joined #angularjs
[04:38:10] <nim> How i can get data controller from poor js
[04:38:28] *** ProLoser has joined #angularjs
[04:38:44] *** morenoh149 has joined #angularjs
[04:39:09] *** Milkweed has quit IRC
[04:39:59] *** Aerospark has joined #angularjs
[04:40:16] <nim> all sleep ^(
[04:40:40] *** muffin has joined #angularjs
[04:42:36] <wafflej0ck> nim: no IRC is just slow sometimes, but the question isn't clear either, good to show a plunkr of what you're trying, see the IRC topic for a link
[04:43:17] *** MuffinMan` has quit IRC
[04:43:25] <johnkevinmbasco> Guys, what are your thoughts about mixing module by functionality and module by type? Example: myApp.aFunctionality, and under it: myapp.afunctionality.services, myapp.afunctionality.directives?
[04:44:44] *** mikerrrrrr has quit IRC
[04:45:12] <drag0nius> is there 'checkbox' filter or something like that in ngTable?
[04:45:31] <tristanp> johnkevinmbasco: is it really necessary?
[04:45:45] *** Hippo_ has joined #angularjs
[04:45:50] <Hippo_> Hey guys
[04:46:10] <Hippo_> I have a select list.
[04:46:16] <Hippo_> <select ng-change="updateTimer(timer)" placeholder="Task" ng-options="task.id as task.name group by task.parent_task.name for task in tasks.data" ng-model="timer.task_id" requred></select>
[04:46:39] <Hippo_> initial value shown is empty - but there is a value in the model
[04:47:05] <Hippo_> if there is a value in the model, shouldn't the select list be set to that?
[04:47:06] <johnkevinmbasco> tristanp: not really. but if I need to require 1 service of a module into another module, it doesn't make sense I think to require the whole module. if you mix module by feature and module by type. I will only need to require myApp.feature.services if I need 1 service of the module.
[04:47:51] *** shakahl has quit IRC
[04:47:54] <fotoflo> is there something wrong with this: ng-repeat="channel in channels|orderBy: channel.created" (doesnt seem to be working)
[04:47:55] *** doginal has joined #angularjs
[04:48:10] <wafflej0ck> johnkevinmbasco: yeah that kind of stuff really only applies once you have a big project with a large team typically and in that case you just need agreement within the team
[04:48:10] <nim> My qestion here
[04:48:12] *** shakahl has joined #angularjs
[04:48:19] <wafflej0ck> fotoflo: orderBy: 'created'
[04:48:19] <tristanp> Hippo_: seems like that should work. can you reproduce the behavior in a plunkr?
[04:48:22] *** mikerrrrrr has joined #angularjs
[04:48:33] *** ProLoser has quit IRC
[04:48:46] <fotoflo> wafflej0ck: also doesnt work
[04:49:36] *** ProLoser has joined #angularjs
[04:49:38] <jaydubya> "doesn't work" is as helpful as console.log(Internet)
[04:49:54] *** rtpg has quit IRC
[04:50:42] <johnkevinmbasco> wafflej0ck: so, you think its not really a bad idea?
[04:50:56] *** rchavik has quit IRC
[04:51:01] <nim> I need get array from js function
[04:51:06] <robdubya> i think ordering by type of thing is arbitrary as fuck
[04:51:27] <robdubya> its far more likely you'll need the FooFactory and the FooDirective at the same time
[04:51:29] *** macabre has quit IRC
[04:51:41] <wafflej0ck> johnkevinmbasco: wouldn't say it's a bad idea I go functional grouping first but if you want by type after that it's up to you, usually more complex than it's worth though
[04:51:49] *** michaelSharpe has joined #angularjs
[04:51:59] *** juanpablo_____ has joined #angularjs
[04:52:10] <johnkevinmbasco> wafflej0ck: cool. thanks man.
[04:53:44] <drag0nius> yay, i just extended ngTables with checkbox filter xD
[04:53:56] <drag0nius> without modifying it's code
[04:54:32] <fotoflo> wafflej0ck: yeah, the one you are showing me isnt working right?
[04:54:35] <jaydubya> wafflej0ck: is your functional grouping "by feature"?
[04:54:47] *** julaboy has joined #angularjs
[04:54:50] <wafflej0ck> nim: I would really question why you want to do this, but you can use angular.element(document.getElementById('theElementWithStuffOnIt')).scope();
[04:54:56] <wafflej0ck> fotoflo: seems to work to me
[04:55:11] <wafflej0ck> jaawerth: yeah that's what I mean function/feature
[04:55:24] *** freeAir has quit IRC
[04:55:48] <fotoflo> you get this?
[04:56:13] *** michaelSharpe has quit IRC
[04:56:15] <wafflej0ck> fotoflo: yeah ordered by created ?
[04:56:23] *** juanpablo_____ has quit IRC
[04:56:24] <fotoflo> ok
[04:56:29] <fotoflo> i changed the datastructure
[04:56:57] <wafflej0ck> fotoflo: yeah so orderBy doesn't work on objects it works on arrays
[04:57:02] <nim> wafflej0ck I have a мукн рфкв Ajax ащкьфе in binary format
[04:57:25] <nim> wafflej0ck I have a very hard Ajax in binary format
[04:57:29] <wafflej0ck> fotoflo: objects have no order to the properties
[04:57:30] *** neilff has quit IRC
[04:57:40] <fotoflo> what about the order ng-repeat displays them in
[04:57:43] <wafflej0ck> fotoflo: arrays are ordered list of elements
[04:57:57] <snurfery> sup yall
[04:58:10] <wafflej0ck> fotoflo: it's a browser specific implementation to what order the properties of an object are traveresed, not set in specifications
[04:58:16] <snurfery> question: I wanna use a plugin like "Rest Client" for chrome to test my endpoints
[04:58:26] <wafflej0ck> snurfery: POSTMan
[04:58:28] <snurfery> any idea how to get it to submit json requests?
[04:58:31] <snurfery> ah ok
[04:59:04] <fotoflo> oh thats kinda bad. i refactored my whole data structure to make it more easy to search and select
[04:59:15] <Grokling_> snurfery: You can pinch your requests out of chrome and import them straight into postman, headers and all. Too easy.
[04:59:16] *** julaboy has quit IRC
[04:59:24] <snurfery> whoa, nice
[04:59:29] <fotoflo> assuming ng-repeat would be able to worry about order for me
[05:00:04] <jaydubya> wafflej0ck: so app.core, app.loans, app.reports and a folder structure like loans/routes.js, loans/view.html, loans/ctrl.js, etc???
[05:00:06] <wafflej0ck> fotoflo: usually if I need both of these things (fast search and ordered list) I keep both an object/map and an array
[05:00:11] <jaawerth> wafflej0ck: ?
[05:00:56] *** Iravan has joined #angularjs
[05:02:10] *** Left_Turn has quit IRC
[05:02:49] <wafflej0ck> jaawerth: not exactly... the first part was pretty much right, would be like, loans, reports, etc. folder structure I still have views/ as a separate part but for all the JS related to say loans it's in scripts/loans/LoanService.js or scripts/loans/LoanSpecificDirective.js and for common things usually a scripts/directives/commonDirective.js and scripts/commonFilters.js but for feature specific ones scripts/loans/loanFilters.js,
[05:02:49] <wafflej0ck> for the routes/states I would have that usually in it's own file too like /scripts/states.js
[05:03:16] <wafflej0ck> jaawerth: the main thing is just knowing where you put everything and where you're going to put everything without thinking about it too much or ending up with a huge mess of a file anywhere IMO
[05:03:17] *** nya_ has quit IRC
[05:03:18] *** kopkaap has joined #angularjs
[05:03:22] <kopkaap> hi
[05:03:22] <jaawerth> wafflej0ck: no I mean, what are you talking about?
[05:03:40] <kopkaap> i have some poblem
[05:03:50] <robdubya> hahaha
[05:04:02] *** freeAir has joined #angularjs
[05:04:12] <jaawerth> wafflej0ck: ohh, you're talking to jdubya
[05:04:13] <jaydubya> wafflej0ck: you need to type "jay" before tab not just "ja" because you keep hailing poor Jaawerth when you are talking to me ... LOL
[05:04:38] <wafflej0ck> jaydubya: argh sorry guys
[05:04:42] <jaydubya> LOL
[05:04:52] *** joroc has joined #angularjs
[05:04:55] <wafflej0ck> two keys is my limit then I start hitting tab :P
[05:04:55] <nim> wafflej0ck: theElementWithStuffOnIt i not understand :( can i get scope by controller name?
[05:05:36] <kopkaap> ??
[05:05:48] <Grokling_> kopkaap: !ask
[05:05:49] <UniBot2> kopkaap, Don't ask to ask. Just state your question (with a !bin code sample) and wait for an answer
[05:05:57] <jaawerth> heh, I was so confused
[05:06:02] <wafflej0ck> nim: problem is the controller by name is a definition of a function not an actual instance of an object
[05:06:29] <wafflej0ck> jaawerth: sorry again, need some way to make Unibot let me know I'm talking to the wrong person :)
[05:06:50] *** aven1 has quit IRC
[05:06:55] *** kopkaap has left #angularjs
[05:07:06] <jaawerth> no worries
[05:07:20] <snurfery> Grokling_, wafflej0ck thx guys, got it sorted
[05:07:30] <Hippo_> tristanp: I fixed it thanks <3
[05:07:50] <nim> wafflej0ck: ok, what mean theElementWithStuffOnIt. HTML element with ng-controller ?
[05:08:44] *** Liquori has quit IRC
[05:09:27] *** Aerospark has quit IRC
[05:09:56] <wafflej0ck> nim: yeah basically, the element would need to have an id so you can reference it from JS (or some other way using a selector or whatever), but you can use that angular.element to wrap the HTML in an angular element and then access the scope associated with that element (which will have the stuff you defined in the controller being used for that element where you put stuff on the scope)
[05:10:33] <wafflej0ck> nim: this is way outside of normal stuff to do with angular though
[05:11:27] *** friederic has quit IRC
[05:11:50] *** Hackwar1 has quit IRC
[05:11:50] *** webster has quit IRC
[05:12:01] *** Hackwar has joined #angularjs
[05:12:04] <nim> wafflej0ck: thanks i seach for this two hours in google :)
[05:12:18] *** bbankes_ has joined #angularjs
[05:12:22] *** webster has joined #angularjs
[05:12:30] *** earthquake has joined #angularjs
[05:12:36] *** bbankes has quit IRC
[05:13:09] *** g33k5z has joined #angularjs
[05:13:45] *** Iravan has quit IRC
[05:13:45] *** lucasjones_ has quit IRC
[05:14:34] *** Iravan has joined #angularjs
[05:14:52] <nim> wafflej0ck: angular understands only json format. This is my problem. Can I even ask? If I change the data via js. How to say angular that he would update the model?
[05:14:54] *** roqo has quit IRC
[05:16:26] *** jegade has quit IRC
[05:16:33] *** jegade has joined #angularjs
[05:16:59] *** JesseH has quit IRC
[05:17:07] *** lucasjones has joined #angularjs
[05:17:31] *** g33k5z has quit IRC
[05:17:42] *** zz_night-owl is now known as night-owl
[05:18:21] *** tapout has quit IRC
[05:19:37] *** Iravan_ has joined #angularjs
[05:20:30] <wafflej0ck> nim: seems like you should just be using ng-click and have a function in your controller for handling it, what's the reason to need something in plain JS, (also it just expects javascript objects JSON is used for transfer between the server/client but the JSON is parsed to plain old javascript objects POJOs)
[05:20:58] *** roqo has joined #angularjs
[05:21:06] <wafflej0ck> nim: typically if you need something from a library you really want to wrap it in a directive or a service/factory to make use of it in angular, and most of the time someone else has already done it
[05:21:36] <wafflej0ck> nim: so if you explain what you're trying to accomplish it's probably easier to get an answer to that problem than try to do it this way
[05:21:41] *** roqo has quit IRC
[05:21:41] *** roqo has joined #angularjs
[05:22:06] *** Iravan has quit IRC
[05:24:28] *** Aerospark has joined #angularjs
[05:25:49] *** mubi has joined #angularjs
[05:26:08] <nim> wafflej0ck: I understood you. It seems instead url I can define functions within which I will refer to the server, giving angular objects ...
[05:26:17] <mubi> hey all, has anyone here used ng-grid with data returned from a server request?
[05:26:42] <mubi> because I need some help with the height of my grid after my data gets returned
[05:27:17] *** mubi has left #angularjs
[05:27:43] *** metasansana has quit IRC
[05:29:11] *** evotuned has joined #angularjs
[05:29:43] *** joshontheweb has quit IRC
[05:30:23] *** mikerrrrrr has quit IRC
[05:31:00] *** muffin has quit IRC
[05:31:38] *** evanjs has quit IRC
[05:31:45] *** tapout has joined #angularjs
[05:31:49] *** ome has quit IRC
[05:32:23] *** earthquake has quit IRC
[05:34:02] *** evotuned has quit IRC
[05:34:34] *** tristanp has quit IRC
[05:34:47] *** aven1 has joined #angularjs
[05:35:38] *** kp666 has joined #angularjs
[05:35:50] *** cacts has joined #angularjs
[05:36:52] *** Aerospark has quit IRC
[05:36:57] *** joroc has quit IRC
[05:37:21] *** nemothekid has quit IRC
[05:37:44] *** Iravan_ has quit IRC
[05:38:19] *** Iravan has joined #angularjs
[05:39:12] *** jrlaw has joined #angularjs
[05:39:38] *** Iravan has quit IRC
[05:40:01] *** richiebkr has joined #angularjs
[05:41:50] *** Iravan has joined #angularjs
[05:42:18] <wafflej0ck> nim: I still don't understand the goal, are you just trying to learn angular or integrating with something else? if the former you should probably start with the tutorial on the angularjs.org site, if the latter need to know what you're trying to integrate with
[05:42:22] *** Iravan has quit IRC
[05:42:51] *** Iravan has joined #angularjs
[05:42:54] *** Iravan has quit IRC
[05:43:27] *** Iravan has joined #angularjs
[05:43:47] *** sonofdirt has quit IRC
[05:44:00] *** Iravan has joined #angularjs
[05:44:19] *** sonofdirt has joined #angularjs
[05:45:09] *** caiges has quit IRC
[05:45:20] *** Iravan has joined #angularjs
[05:45:32] *** Iravan has joined #angularjs
[05:45:46] *** zivester has quit IRC
[05:45:56] *** Iravan has joined #angularjs
[05:46:04] *** cthrax has joined #angularjs
[05:46:53] *** night-owl is now known as zz_night-owl
[05:46:57] *** joshontheweb has joined #angularjs
[05:47:00] *** Iravan has quit IRC
[05:47:17] *** richiebkr has quit IRC
[05:47:19] *** hell_razer has quit IRC
[05:48:19] <nim> wafflej0ck: The server returns the data is not in the format json. I am exploring the possibility of angular.
[05:48:37] *** sonofdirt has quit IRC
[05:48:57] *** fairuz has quit IRC
[05:49:57]
<wafflej0ck> nim: check out transform request/response section in https://docs.angularjs.org/api/ng/service/$http basically you can override the default transformation that normally parses/formats the data from POJO->JSON and back
[05:50:19] *** rtpg has joined #angularjs
[05:50:27] <wafflej0ck> nim: also assuming your API currently uses XML you can google for Angular and XML and will find some relevant posts
[05:50:47] *** fairuz has joined #angularjs
[05:51:02] <wafflej0ck> nim: ultimately you need the data as POJOs to be meddled with using JS
[05:51:07] *** burzum has joined #angularjs
[05:51:16] *** bayousoft has quit IRC
[05:52:31] *** burzum2 has quit IRC
[05:54:41] *** Raging_Hog has joined #angularjs
[05:54:56] *** woebtz has joined #angularjs
[05:55:25] <nim> wafflej0ck: Ok, thanks. You helped me a lot.
[05:55:34] *** rtpg has quit IRC
[05:55:38] <wafflej0ck> nim: np
[05:56:53] *** phynweb has quit IRC
[05:57:16] *** Embassy has quit IRC
[05:57:47] *** nemothekid has joined #angularjs
[05:58:01] *** neilff has joined #angularjs
[05:58:23] *** whunt has joined #angularjs
[05:58:36] *** rtpg has joined #angularjs
[05:58:57] *** cads has quit IRC
[06:00:40] *** daivyk has quit IRC
[06:02:22] *** neilff has quit IRC
[06:02:49] *** angularjs has joined #angularjs
[06:03:05] *** cthrax has quit IRC
[06:03:22] *** whunt has quit IRC
[06:03:44] *** Joseph_Silber has joined #angularjs
[06:03:52] *** mtho11-lunch has joined #angularjs
[06:04:01] *** antons_ has joined #angularjs
[06:04:07] *** TheAceOfHearts1 has joined #angularjs
[06:04:12] *** Lzrbeak has joined #angularjs
[06:04:37] *** Zren_ has joined #angularjs
[06:04:41] *** restless_being_ has joined #angularjs
[06:04:44] *** joroc has joined #angularjs
[06:04:56] *** Zren has quit IRC
[06:04:56] *** antons has quit IRC
[06:04:57] *** cacts|works has quit IRC
[06:04:57] *** Laserbeak has quit IRC
[06:04:57] *** sammych has quit IRC
[06:04:58] *** JosephSilber has quit IRC
[06:05:02] *** sressot has quit IRC
[06:05:17] *** jrlaw has quit IRC
[06:05:17] *** TheAceOfHearts has quit IRC
[06:05:18] *** iamblue_cloud___ has quit IRC
[06:05:18] *** Zariel has quit IRC
[06:05:19] *** jef79m has quit IRC
[06:05:19] *** rodr1go has quit IRC
[06:05:25] *** restless_being has quit IRC
[06:05:41] *** mtho11 has quit IRC
[06:05:43] *** teegee543 has quit IRC
[06:05:53] *** m_gol has quit IRC
[06:06:04] *** Zariel has joined #angularjs
[06:06:07] *** rodr1go has joined #angularjs
[06:06:09] *** therealklanni has quit IRC
[06:06:12] *** rodr1go is now known as Guest88386
[06:06:23] *** wib has quit IRC
[06:06:27] *** sammych has joined #angularjs
[06:06:29] *** sammych has left #angularjs
[06:06:30] *** therealklanni has joined #angularjs
[06:06:30] *** wib has joined #angularjs
[06:06:30] *** wib has joined #angularjs
[06:06:40] *** sammych has joined #angularjs
[06:06:43] *** sressot has joined #angularjs
[06:06:53] *** defaultdict has quit IRC
[06:06:58] *** japhar81 has quit IRC
[06:07:16] *** angularjs has quit IRC
[06:07:24] *** iamblue_cloud___ has joined #angularjs
[06:07:24] *** defaultdict has joined #angularjs
[06:08:01] *** aven1 has quit IRC
[06:08:57] *** tapout has quit IRC
[06:09:20] *** chiburbs has quit IRC
[06:09:23] *** shyshy has quit IRC
[06:09:23] *** eagles0513875 has quit IRC
[06:09:38] *** m_gol has joined #angularjs
[06:09:55] *** shakahl has quit IRC
[06:10:01] *** motionman has quit IRC
[06:10:03] *** shyshy has joined #angularjs
[06:10:05] *** tdubellz has joined #angularjs
[06:10:20] *** shakahl has joined #angularjs
[06:10:23] *** kinabalu has quit IRC
[06:10:25] *** Raging_Hog has quit IRC
[06:10:31] *** teegee543 has joined #angularjs
[06:10:37] *** silo- has joined #angularjs
[06:10:38] *** jef79m has joined #angularjs
[06:10:52] *** piippo_ has joined #angularjs
[06:10:52] <sammych> I can use ngIf/divs as a surrogate for ngRoute/ngView?
[06:11:05] *** kevinfagan has quit IRC
[06:11:05] *** mal`` has quit IRC
[06:11:06] *** jsvana has quit IRC
[06:11:07] *** joshskidmore has quit IRC
[06:11:07] *** adam12 has quit IRC
[06:11:08] *** Guest65999 has quit IRC
[06:11:08] *** lucasjones has quit IRC
[06:11:08] *** cornerman has quit IRC
[06:11:09] *** piippo has quit IRC
[06:11:09] *** cornerman has joined #angularjs
[06:11:10] *** Raging_Hog has joined #angularjs
[06:11:10] <robdubya> sure. or you could use ui-router and do it properly
[06:11:17] *** bmac has joined #angularjs
[06:11:23] *** kevinfagan_ has joined #angularjs
[06:11:41] *** tapout has joined #angularjs
[06:11:41] <snurfery> question
[06:11:49] *** lucasjones has joined #angularjs
[06:11:51] <snurfery> what does angular do for rest endpoints that don't support OPTIONS ?
[06:11:56] *** nickgs has quit IRC
[06:12:21] *** joshskidmore has joined #angularjs
[06:12:28] <sammych> robdubya: thanks, I'll look into it.
[06:12:32] *** kinabalu has joined #angularjs
[06:12:36] *** mal`` has joined #angularjs
[06:12:37] <robdubya> snurfery what do you mean
[06:12:41] *** jsvana has joined #angularjs
[06:12:42] *** adam_ has joined #angularjs
[06:12:49] *** eagles0513875 has joined #angularjs
[06:13:20] <snurfery> another dev made a super "lean" rest endpoint that speaks http but doesn't respond to an OPTIONS request
[06:13:54] <snurfery> but angular always wants to issue OPTIONS before POSTs (or is that the browser making that decision?)
[06:14:03] <fairuz> snurfery: it's the browser
[06:14:06] <snurfery> prolly the browser yeah
[06:14:15] <snurfery> ok lemme see what kinda response I gotta put in here
[06:14:18] *** MistahKurtz has quit IRC
[06:14:19] *** nim has quit IRC
[06:14:29] <fairuz> It's the preflight request
[06:14:32] <fairuz> cors thingy
[06:14:41] *** safani has joined #angularjs
[06:14:49] <sammych> robdubya: ui-router...does that play well with jQM? I was going to use jQM for routing but wanted to clean up with angular + binding
[06:15:01] <safani> Dude ... ngTable is frying my brain
[06:15:22] *** nickgs has joined #angularjs
[06:15:37] <snurfery> ah
[06:15:38] <safani> I cannot do a simple filter with filter.$ it just doesn't work.
[06:15:55] <sammych> existing project. Not re-building the app, just replacing view code
[06:15:58] *** motionman has joined #angularjs
[06:16:28] *** richiebkr has joined #angularjs
[06:16:47] <safani> If anyone has experienced this incredibly annoying issue, please give me a shout! Would love to know what I'm doing wrong. As it seems like nothing.
[06:17:01] *** richiebkr has quit IRC
[06:17:02] <robdubya> sammych nothing really plays well with JQm to be honset
[06:17:29] *** bmac has quit IRC
[06:18:17] *** bmac has joined #angularjs
[06:18:45] <sammych> robdubya: yeah, I'm getting that sentiment lately. To make it as least intrusive as possible, ngIf/div[role=page] would be alright?
[06:18:53] *** ckng has joined #angularjs
[06:19:25] <robdubya> probably.
[06:19:36] <robdubya> i dunno really, haven't used jqm in ages
[06:19:49] *** Aerospark has joined #angularjs
[06:20:11] *** earthquake has joined #angularjs
[06:20:12] *** nycdevgirl has joined #angularjs
[06:20:17] *** Shai-Tan has quit IRC
[06:20:21] <sammych> I'm thinking it'll be ng-if="$.currentPage === 'thisPage'"
[06:21:05] <sammych> so mad at myself for not using angular when I started this project. Could've saved me so many headaches
[06:23:46] *** whitebook has joined #angularjs
[06:24:01] <sammych> you're not helping :p
[06:24:12] *** Iravan has joined #angularjs
[06:24:26] *** Aerospark has quit IRC
[06:24:54] <robdubya> (which works with ui-router :)
[06:25:32] <sammych> this is a client project. So, unless I plan on doing it in my own time...I'm not planning on it at all ;)
[06:26:59] *** renlo has joined #angularjs
[06:27:08] <sammych> I'll do the angular part of it on my own as a learning exercise, but I changing the L&F of the app is out of the question (the client would oppose it).
[06:27:22] *** zz_night-owl is now known as night-owl
[06:28:23] *** whitebook has quit IRC
[06:30:12] <robdubya> "but we LIKE our terrible mobile app"
[06:30:13] *** evotuned has joined #angularjs
[06:30:51] <sammych> hey now...
[06:30:56] <sammych> I wrote this terrible app
[06:31:22] *** safani has quit IRC
[06:32:33] *** bmac has quit IRC
[06:34:27] *** evotuned has quit IRC
[06:36:32] *** Seus has quit IRC
[06:37:02] *** greg5gre_ has quit IRC
[06:37:57] *** nemothekid has quit IRC
[06:38:22] *** Iravan has quit IRC
[06:39:20] *** Iravan has joined #angularjs
[06:40:11] *** Aerospark has joined #angularjs
[06:40:44] *** juanpablo_____ has joined #angularjs
[06:41:13] *** bmac has joined #angularjs
[06:41:23] *** bmac has quit IRC
[06:41:52] *** Aerospark has quit IRC
[06:41:57] *** BahamutWC has quit IRC
[06:42:34] *** Aerospark has joined #angularjs
[06:43:04] *** roqo has quit IRC
[06:43:30] *** BahamutWC has joined #angularjs
[06:43:40] *** julaboy has joined #angularjs
[06:43:46] *** bzitzow has joined #angularjs
[06:43:53] *** nickgs has quit IRC
[06:44:19] *** JesseH has joined #angularjs
[06:44:34] *** scythe__ has joined #angularjs
[06:44:53] *** juanpablo_____ has quit IRC
[06:44:59] *** nemothekid has joined #angularjs
[06:45:03] *** JR____ has quit IRC
[06:45:07] *** roqo has joined #angularjs
[06:45:20] *** earthquake has quit IRC
[06:45:53] *** roqo has quit IRC
[06:45:53] *** roqo has joined #angularjs
[06:46:14] *** Aerospark has quit IRC
[06:46:15] <robdubya> :D
[06:46:27] *** davek has quit IRC
[06:46:29] <robdubya> somebody should make a jqm theme for ionic
[06:46:30] *** it0a has quit IRC
[06:46:49] <sammych> can't use a full stack replacement anyhow. I'm using worklight
[06:46:57] *** boonkerz- has quit IRC
[06:48:07] *** numenor has joined #angularjs
[06:48:16] *** julaboy has quit IRC
[06:49:23] *** Iravan has quit IRC
[06:50:26] *** rikko has joined #angularjs
[06:50:28] *** Iravan has joined #angularjs
[06:50:43] <jaydubya> using ng-grid, the ng-grid header bar is covering the drop down menu of the main navigation bar and neither seems to be responsive to z-index. Anyone else have this issue?
[06:51:54] *** rikko has quit IRC
[06:52:19] *** evanjs has joined #angularjs
[06:53:14] *** nemothekid has quit IRC
[06:53:51] *** renlo has quit IRC
[06:55:46] *** kagitingan has quit IRC
[06:55:51] *** darryl has joined #angularjs
[06:56:29] *** shaisnir has joined #angularjs
[06:57:17] *** drag0nius has quit IRC
[06:58:41] *** boonkerz- has joined #angularjs
[06:58:50] *** kapil__ has joined #angularjs
[06:59:19] *** TheAceOfHearts1 has quit IRC
[06:59:44] *** whunt has joined #angularjs
[07:00:15] *** VeeWee has joined #angularjs
[07:00:27] *** Iravan has quit IRC
[07:00:56] *** Iravan has joined #angularjs
[07:00:58] *** bzitzow has quit IRC
[07:01:02] *** Iravan has quit IRC
[07:01:35] *** Iravan has joined #angularjs
[07:02:14] *** omsmith has quit IRC
[07:02:23] *** omsmith has joined #angularjs
[07:02:32] *** Sky[x] has joined #angularjs
[07:03:39] *** UniBot-test has joined #angularjs
[07:04:09] *** whunt has quit IRC
[07:04:17] *** Guest88386 has quit IRC
[07:05:30] *** UniBot-test has joined #angularjs
[07:05:37] *** windsurf_ has joined #angularjs
[07:06:04] *** tapout has quit IRC
[07:06:05] *** tristanp has joined #angularjs
[07:06:05] <ProLoser> UniBot-test: !test
[07:06:05] *** UniBot-test has quit IRC
[07:06:40] <windsurf_> how can I make eventsResource.query() fetch from the server after I $save() a new even object? query() seems to be using a cached copy and setting up that service with cache:false doesn’t help.
[07:06:55] *** caitp has quit IRC
[07:07:18] *** jamesbdev has joined #angularjs
[07:07:52] *** tapout has joined #angularjs
[07:07:54] <jamesbdev> Hello, anyone here know about $rootScope ? Got a problem where the $rootScope object is different within a callback
[07:08:04] *** tristanp has quit IRC
[07:08:09] *** rodr1go has joined #angularjs
[07:08:12] *** rodr1go is now known as Guest25890
[07:08:36] <BahamutWC> jamesbdev: that isn't possible - you likely have something else going on
[07:08:49] *** tristanp has joined #angularjs
[07:09:17] *** numenor has quit IRC
[07:09:18] <jamesbdev> BahamutWC: Ok well I've done a console.log and it's definitely different, i'll whop up a pastebin real quick
[07:09:23] <jcool> export as csv function creates issue in windows os as opening csv in windows makes data look terrible, is there way to make excel work with using ui router?
[07:10:18] *** sbellina has joined #angularjs
[07:10:26] *** UniBot-test has joined #angularjs
[07:10:33] *** Mosselman has joined #angularjs
[07:10:44] *** renlo has joined #angularjs
[07:10:56] *** Iravan has quit IRC
[07:10:57] *** Mosselman is now known as Guest90175
[07:11:26] <jamesbdev> BahamutWC: mind taking a look at this? $rootScope is different on the second console.log
[07:11:44] *** davek has joined #angularjs
[07:11:54] *** Iravan has joined #angularjs
[07:12:22] *** night-owl is now known as zz_night-owl
[07:12:42] <fairuz> jamesbdev: What are the differences? undefined or something?
[07:13:10] *** tristanp has quit IRC
[07:13:16] <jamesbdev> I'm not sure if it is Restangular doing it or what
[07:13:24] *** Embassy has joined #angularjs
[07:13:48] *** bzitzow has joined #angularjs
[07:13:54] <jamesbdev> I even tried doing var rS = $rootScope and console.log(rS) but same result
[07:14:49] *** sbellina has quit IRC
[07:14:57] *** Guest90175 has quit IRC
[07:14:58] *** bmac has joined #angularjs
[07:16:08] *** UniBot-test has quit IRC
[07:16:09] *** tripu has joined #angularjs
[07:16:17] <jamesbdev> fairuz, BahamutWC: any ideas ?
[07:17:02] <windsurf_> how can I prevent $resource from caching?
[07:17:55] <BahamutWC> jamesbdev: the difference looks harmless as far as I can tell
[07:18:05] <BahamutWC> the $$ variables are "private" properties angular uses
[07:18:12] *** tripu has quit IRC
[07:18:29] <jamesbdev> BahamutWC: except it is preventing $rootScope.$emit from being picked up
[07:18:39] *** zz_night-owl is now known as night-owl
[07:18:57] <jamesbdev> if I do $rootScope.$emit before I enter that function, it works fine, but if I do it after entering that function it doesnt work
[07:19:03] *** {DV8} has quit IRC
[07:19:20] <fairuz> jamesbdev: I think you should use broadcast
[07:19:22] *** JR____ has joined #angularjs
[07:19:26] <fairuz> since you are in rootScope
[07:19:47] <BahamutWC> $emit only goes from that $scope and upwards
[07:19:51] <fairuz> so that it will "broadcast" the event downwards
[07:19:51] <BahamutWC> $broadcast is what goes down
[07:19:57] *** UniBot-test has joined #angularjs
[07:21:55] *** Iravan has quit IRC
[07:22:11] <ProLoser> !help
[07:22:11] *** UniBot-test has quit IRC
[07:22:52] *** dllama has quit IRC
[07:23:03] *** Iravan has joined #angularjs
[07:23:05] <BahamutWC> jamesbdev: if you use $emit, you need to have a listener on $rootScope
[07:23:12] <BahamutWC> you're saying that the listener isn't firing?
[07:23:32] <jamesbdev> BahamutWC: Thanks, I changed it to not use $rootScope completely and use $scope.$broadcast, now working fine
[07:23:51] <jamesbdev> I'm just not going to worry about the $rootScope weirdness but yes, the listener wasn't firing
[07:24:20] *** windsurf_ has left #angularjs
[07:25:12] *** shakahl has quit IRC
[07:25:32] *** renlo has quit IRC
[07:26:47] *** Sky[x] has quit IRC
[07:27:27] <BahamutWC> jamesbdev: not sure what could be wrong with $rootScope there - did notice in the first of the console.logs, that the $scope had a parent though
[07:27:35] <BahamutWC> $rootScope doesn't have $parent set, so not sure what that was about
[07:27:50] <jamesbdev> Yeah I'm thinking perhaps restangular does something super weird but idk
[07:27:51] *** richiebkr has joined #angularjs
[07:30:00] *** ProLoser has quit IRC
[07:31:11] *** evotuned has joined #angularjs
[07:32:19] *** richiebkr has quit IRC
[07:32:54] *** Iravan has quit IRC
[07:33:53] *** Iravan_ has joined #angularjs
[07:34:53] *** aven1 has joined #angularjs
[07:36:04] *** evotuned has quit IRC
[07:36:05] *** numenor has joined #angularjs
[07:36:32] *** Hussain has joined #angularjs
[07:36:34] *** joroc has quit IRC
[07:36:38] *** joshontheweb has quit IRC
[07:36:56] *** Hussain is now known as Guest99544
[07:37:12] <Guest99544> hi
[07:37:55] *** scythe__ has quit IRC
[07:38:19] *** Guest99544 has quit IRC
[07:39:22] *** bmac has quit IRC
[07:40:26] *** woebtz has quit IRC
[07:43:31] *** Iravan_ has quit IRC
[07:44:14] *** ahmetkapikiran has quit IRC
[07:44:25] *** TheAceOfHearts has joined #angularjs
[07:44:30] *** Iravan has joined #angularjs
[07:46:46] *** Sky[x] has joined #angularjs
[07:47:00] *** jaydubya has quit IRC
[07:47:21] *** neilff has joined #angularjs
[07:47:35] *** jaydubya has joined #angularjs
[07:47:37] *** ximenean_ has joined #angularjs
[07:47:46] *** F1LT3R has joined #angularjs
[07:49:15] *** Hippo_ has quit IRC
[07:49:17] *** nya has joined #angularjs
[07:50:09] *** numenor has quit IRC
[07:51:15] *** JesseH has quit IRC
[07:51:37] *** neilff has quit IRC
[07:52:03] *** jaydubya has quit IRC
[07:52:17] *** F1LT3R has quit IRC
[07:52:20] *** PhilS has quit IRC
[07:53:01] *** ips|malc has joined #angularjs
[07:53:13] *** wd40s has quit IRC
[07:53:34] *** evanjs has quit IRC
[07:54:30] *** ProLoser has joined #angularjs
[07:54:31] *** Iravan has quit IRC
[07:55:30] *** Iravan has joined #angularjs
[07:56:26] *** shaisnir has quit IRC
[07:56:49] *** MattWelch has quit IRC
[07:56:50] *** Cronoh has quit IRC
[07:57:07] *** joshontheweb has joined #angularjs
[07:59:27] *** motionman has quit IRC
[07:59:40] *** despai has joined #angularjs
[07:59:46] *** cornerma1 has joined #angularjs
[08:00:01] *** charuru has quit IRC
[08:00:33] *** UniBot-test has joined #angularjs
[08:02:38] *** webus has joined #angularjs
[08:02:39] *** nycdevgirl has quit IRC
[08:02:47] *** cornerman has quit IRC
[08:02:48] *** MattWelch has joined #angularjs
[08:02:53] *** cornerma1 is now known as cornerman
[08:03:28] *** caitp has joined #angularjs
[08:04:44] *** JohnBat26 has joined #angularjs
[08:04:47] *** joroc has joined #angularjs
[08:04:48] *** JohnBat26 has quit IRC
[08:05:04] *** JohnBat26 has joined #angularjs
[08:05:30] *** Iravan has quit IRC
[08:06:00] *** sample has joined #angularjs
[08:06:14] <sample> hi
[08:06:27] <sample> i need angular wizard directive
[08:06:28] *** Iravan has joined #angularjs
[08:06:41] *** JR____ has quit IRC
[08:06:53] *** aven1 has quit IRC
[08:07:00] *** JR___ has joined #angularjs
[08:07:13] *** ProLoser has quit IRC
[08:07:47] *** e0ipso|away is now known as e0ipso
[08:07:50] *** phzon has joined #angularjs
[08:07:53] *** caitp has quit IRC
[08:07:57] *** AWAW has joined #angularjs
[08:09:09] *** crawleyprint has joined #angularjs
[08:10:17] *** UniBot-test has quit IRC
[08:10:19] *** Guest25890 has quit IRC
[08:10:28] *** tapout has quit IRC
[08:10:48] *** iksik has quit IRC
[08:10:51] *** DoubleAW has quit IRC
[08:11:18] *** Mosselman has joined #angularjs
[08:11:42] *** Mosselman is now known as Guest61141
[08:11:57] *** phzon has quit IRC
[08:12:58] *** ProLoser has joined #angularjs
[08:14:14] *** cacts has quit IRC
[08:15:26] *** johnkevinmbasco has quit IRC
[08:15:43] *** Guest61141 has quit IRC
[08:15:47] *** motionman has joined #angularjs
[08:16:09] *** rodr1go has joined #angularjs
[08:16:25] *** rodr1go is now known as Guest30837
[08:16:28] *** Iravan has quit IRC
[08:17:26] *** Iravan has joined #angularjs
[08:17:35] *** motionman has quit IRC
[08:17:56] *** one_zero has quit IRC
[08:17:56] *** motionman has joined #angularjs
[08:18:07] *** tapout has joined #angularjs
[08:18:53] *** numenor has joined #angularjs
[08:19:05] *** macobo has joined #angularjs
[08:19:20] *** wd40s has joined #angularjs
[08:22:07] *** urbildpunkt has quit IRC
[08:22:16] *** deringer has joined #angularjs
[08:23:07] <deringer> hey there - i've been tinkering with angular today for a project and was about 90% of the way to where i need to be, was hoping somebody could give me a nudge in the right direction for that last 10%
[08:23:25] <deringer> basically i have a list of items, which loads via a http get; that's fine
[08:23:34] <deringer> but for each of those, when i click, i want it to load further details about the item
[08:23:37] *** b1rkh0ff has joined #angularjs
[08:24:03] <deringer> i have a $scope.load = function(itemId) function within my controller, and it fires and loads the data i need fine
[08:24:10] <deringer> i just can't seem to display it within my template
[08:24:13] <numenor> deringer , Is the details a separate page ?
[08:24:20] <deringer> it's on the same page
[08:24:26] <numenor> modal ?
[08:24:27] *** phynweb has joined #angularjs
[08:25:03] <deringer> that's what it looks like, so essentially click one of the 'adelaide bank' items on the left, and it will load details for that project on the right
[08:25:06] *** wd40s has quit IRC
[08:25:13] <numenor> Okay
[08:26:02] <numenor> so, are you using ui-router ?
[08:26:07] *** MattWelch has quit IRC
[08:27:22] <numenor> Ok
[08:27:26] *** Iravan has quit IRC
[08:28:22] <deringer> so $scope.loadProject fires and response returns the appropriate JSON, just not rendering it back in my view at this stage
[08:28:31] *** Iravan has joined #angularjs
[08:29:37] *** juanpablo_____ has joined #angularjs
[08:30:01] *** nemothekid has joined #angularjs
[08:30:13] <numenor> Is the JmsProjectsController responsible to show the project detail pane ?
[08:30:30] *** zumba_ad_ has quit IRC
[08:30:35] <deringer> at this stage, yes
[08:30:43] <numenor> ok
[08:30:52] *** pankaj has joined #angularjs
[08:30:53] *** Aerospark has joined #angularjs
[08:31:09] <deringer> you don't have to 'fix' my code, even if you're familiar with an article that'll get me in the right direction would be handy
[08:31:18] <pankaj> hi all
[08:31:23] *** Aerospark has quit IRC
[08:31:36] *** gunn_ has joined #angularjs
[08:31:52] <pankaj> how to do fix SCRIPT438: Object doesn't support property or method 'hasOwnProperty'
[08:31:59] <pankaj> in ie 8
[08:32:07] <numenor> Actually , the controller for both the panels should be one, So in click of loadproject, you will basicall do a get and update the details pane object
[08:32:14] *** zarglex has joined #angularjs
[08:32:15] *** evotuned has joined #angularjs
[08:32:29] *** julaboy has joined #angularjs
[08:32:59] *** MattWelch has joined #angularjs
[08:33:09] *** gunn has quit IRC
[08:33:22] <numenor> Since the controller is the same, you should remove the ng-controller frm line no 24.
[08:33:27] <deringer> oh
[08:33:28] <deringer> i see
[08:33:40] <deringer> i had too many ng-controller attributes lol
[08:34:21] <numenor> yep
[08:34:26] <deringer> i removed the two inner ones and it started working straight away
[08:34:29] *** juanpablo_____ has quit IRC
[08:34:48] *** aven1 has joined #angularjs
[08:34:55] <deringer> thanks for your help numenor !
[08:35:27] <numenor> Sure
[08:36:25] <pankaj> Object doesn't support property or method 'hasOwnProperty'
[08:36:34] <pankaj> in IE 8
[08:36:54] *** julaboy has quit IRC
[08:37:06] *** evotuned has quit IRC
[08:38:25] *** Iravan has quit IRC
[08:38:35] *** shaisnir has joined #angularjs
[08:39:13] *** joroc has quit IRC
[08:39:24] *** Iravan has joined #angularjs
[08:39:45] *** binary has joined #angularjs
[08:40:32] *** plekplek has joined #angularjs
[08:40:50] *** despai has quit IRC
[08:41:27] *** prosper_ has joined #angularjs
[08:41:35] *** despai has joined #angularjs
[08:42:30] *** illume has joined #angularjs
[08:43:44] *** Smokeholder has joined #angularjs
[08:44:08] *** prosper_ has quit IRC
[08:44:26] *** Smokeholder has quit IRC
[08:44:57] *** shaisnir has quit IRC
[08:45:20] *** NormySan has joined #angularjs
[08:45:29] *** NormySan has quit IRC
[08:46:02] *** DoubleAW has joined #angularjs
[08:46:09] *** SargoDarya has joined #angularjs
[08:46:53] *** nemothekid has quit IRC
[08:46:55] <binary> 3 directives, each with it's own controller - the controller is instantiated 3 times, yet only the method on the last controller is invoked on each click
[08:47:03] *** MetaCosm_ has joined #angularjs
[08:47:18] <binary> it does work correctly when you uncomment `scope: { }`
[08:48:09] *** jonasliljestrand has joined #angularjs
[08:48:11] *** AWAW has quit IRC
[08:48:12] *** sebhoss has joined #angularjs
[08:49:44] *** jonasliljestrand has quit IRC
[08:51:06] *** sebhoss_ has joined #angularjs
[08:51:16] *** whunt has joined #angularjs
[08:51:29] *** etz has joined #angularjs
[08:51:30] *** nemothekid has joined #angularjs
[08:51:35] *** sebhoss_ has quit IRC
[08:51:51] *** Iravan has quit IRC
[08:52:01] *** pknordic_ has joined #angularjs
[08:52:03] *** shaisnir has joined #angularjs
[08:52:11] *** etz has quit IRC
[08:52:15] *** sebhoss_ has joined #angularjs
[08:52:33] *** Iravan has joined #angularjs
[08:53:08] *** nemothekid has quit IRC
[08:53:09] *** sebhoss has quit IRC
[08:54:17] *** Aerospark has joined #angularjs
[08:54:38] *** despai has quit IRC
[08:54:58] *** tarnus has quit IRC
[08:55:05] *** jonasliljestrand has joined #angularjs
[08:55:51] *** MattWelch has quit IRC
[08:57:27] *** Aerospark has quit IRC
[08:58:26] *** nemothekid has joined #angularjs
[08:58:59] *** blomman has joined #angularjs
[08:59:31] *** illume has quit IRC
[08:59:52] *** jacuqesdancona has joined #angularjs
[09:00:18] *** cheef has joined #angularjs
[09:01:56] *** erikruthven has joined #angularjs
[09:02:05] *** MattWelch has joined #angularjs
[09:03:32] *** nemothekid has quit IRC
[09:04:51] *** joroc has joined #angularjs
[09:06:05] *** hosterman has joined #angularjs
[09:06:21] *** jonasliljestrand has quit IRC
[09:07:49] *** aven1 has quit IRC
[09:08:25] *** zeezey has quit IRC
[09:08:26] *** shaisnir has quit IRC
[09:09:52] *** samcfc has joined #angularjs
[09:10:54] *** nemothekid has joined #angularjs
[09:11:14] *** sbellina has joined #angularjs
[09:11:33] *** illume has joined #angularjs
[09:11:41] <samcfc> hi guys I am using GULP to compile my code for production but i Cant acgieve to concat in the same file the result of gulp-angular-templatecache and the result of my appprocessed by usemin...
[09:11:59] *** jonasliljestrand has joined #angularjs
[09:12:04] <samcfc> some of you may have a gist or anything else with that scanrio?
[09:12:07] *** shaisnir has joined #angularjs
[09:12:08] *** Mosselman has joined #angularjs
[09:12:31] *** Mosselman is now known as Guest12820
[09:13:50] *** sigurding has joined #angularjs
[09:13:51] *** nemothekid has quit IRC
[09:13:58] <jonasliljestrand> Hi, im having issue with angular-resource caching the response of a 401
[09:14:17] *** illume has quit IRC
[09:14:22] <jonasliljestrand> thats my guess at least
[09:14:34] *** pankaj has quit IRC
[09:15:34] *** sbellina has quit IRC
[09:16:23] *** Guest12820 has quit IRC
[09:16:29] *** rchavik has joined #angularjs
[09:17:04] *** Successful has joined #angularjs
[09:17:23] *** fbenoit has joined #angularjs
[09:17:41] *** Abhi_ has joined #angularjs
[09:17:52] *** freeAir has quit IRC
[09:18:38] *** doug64k has quit IRC
[09:19:04] *** mite_mitreski has joined #angularjs
[09:20:24] *** Iravan has quit IRC
[09:21:23] *** Iravan has joined #angularjs
[09:21:36] *** woebtz has joined #angularjs
[09:21:55] *** Abhi_ has quit IRC
[09:22:34] *** urbildpunkt has joined #angularjs
[09:25:48] *** MattWelch has quit IRC
[09:26:16] *** Hackwar has quit IRC
[09:26:23] *** tangorri has joined #angularjs
[09:26:37] *** cheef has quit IRC
[09:26:55] *** JesseH has joined #angularjs
[09:27:01] *** urbildpunkt has quit IRC
[09:28:03] *** sk87 has joined #angularjs
[09:29:27] *** Usuario_ has joined #angularjs
[09:29:41] *** Usuario_ is now known as frobs
[09:31:01] *** hosterman has quit IRC
[09:31:04] *** laax has joined #angularjs
[09:31:34] *** MattWelch has joined #angularjs
[09:33:17] *** evotuned has joined #angularjs
[09:33:17] *** StryKaizer has joined #angularjs
[09:33:24] *** zeezey has joined #angularjs
[09:33:35] *** zeezey has joined #angularjs
[09:34:06] *** phzon has joined #angularjs
[09:34:22] *** cotko has joined #angularjs
[09:34:39] *** trustyhank has quit IRC
[09:34:50] *** aven1 has joined #angularjs
[09:35:37] *** jaydubya has joined #angularjs
[09:35:49] *** TyrfingMjolnir has quit IRC
[09:36:02] *** laurensclaessen has joined #angularjs
[09:36:37] *** F1LT3R has joined #angularjs
[09:37:28] *** cotko has quit IRC
[09:38:01] *** joroc has quit IRC
[09:38:09] *** Iravan has quit IRC
[09:38:15] *** evotuned has quit IRC
[09:38:36] *** erikruthven has quit IRC
[09:38:58] *** Lzrbeak has quit IRC
[09:39:04] *** Iravan has joined #angularjs
[09:39:30] *** cotko has joined #angularjs
[09:40:10] *** jaydubya has quit IRC
[09:41:18] *** F1LT3R has quit IRC
[09:42:18] *** sgen__ has joined #angularjs
[09:43:21] *** kakashiAL has quit IRC
[09:43:34] *** bradleyprice has quit IRC
[09:46:27] *** jlebrech has joined #angularjs
[09:49:10] *** morenoh149 has quit IRC
[09:50:00] *** saucey has joined #angularjs
[09:50:03] *** guilbep has joined #angularjs
[09:51:04] *** MetaCosm_ has quit IRC
[09:51:07] *** TyrfingMjolnir has joined #angularjs
[09:51:22] *** Guest2568 has quit IRC
[09:51:56] *** s00pcan has quit IRC
[09:52:12] *** s00pcan has joined #angularjs
[09:52:15] *** nfroidure has joined #angularjs
[09:52:36] *** sudohq_ has quit IRC
[09:53:12] *** s00pcan has quit IRC
[09:53:35] *** s00pcan has joined #angularjs
[09:53:48] *** blomman has quit IRC
[09:54:03] *** s00pcan has joined #angularjs
[09:54:09] *** lolmaus has quit IRC
[09:54:22] *** blomman has joined #angularjs
[09:54:24] *** doginal has quit IRC
[09:55:15] *** rchavik has quit IRC
[09:56:31] *** ries has joined #angularjs
[09:57:03] *** TheAceOfHearts has quit IRC
[09:57:10] *** gunn_ has quit IRC
[09:57:13] *** gh0st has joined #angularjs
[09:57:18] *** guilbep has quit IRC
[09:57:33] *** guilbep has joined #angularjs
[09:58:45] *** blomman has quit IRC
[09:59:08] *** Shai-Tan has joined #angularjs
[09:59:10] *** guilbep has quit IRC
[09:59:12] *** tristanp has joined #angularjs
[10:00:04] *** Hounddog has joined #angularjs
[10:00:05] *** apertoire has joined #angularjs
[10:00:41] *** guilbep has joined #angularjs
[10:00:42] *** frkout has quit IRC
[10:01:32] *** numenor has quit IRC
[10:02:38] *** Sadin has quit IRC
[10:03:33] *** tristanp has quit IRC
[10:04:26] *** platonic has joined #angularjs
[10:04:29] *** Aerospark has joined #angularjs
[10:05:01] *** joroc has joined #angularjs
[10:05:22] *** Aerospark has joined #angularjs
[10:06:16] *** DarrenCraig has joined #angularjs
[10:06:17] *** Aerospark has quit IRC
[10:06:40] *** kakashiAL has joined #angularjs
[10:06:43] *** Aerospark has joined #angularjs
[10:07:14] *** rchavik has joined #angularjs
[10:07:21] *** qdk has quit IRC
[10:07:55] *** gunn has joined #angularjs
[10:08:09] *** wd40s has joined #angularjs
[10:08:10] *** platonic has quit IRC
[10:08:16] *** aven1 has quit IRC
[10:08:33] *** platonic has joined #angularjs
[10:08:57] *** aslate has joined #angularjs
[10:11:20] *** fred-fri has joined #angularjs
[10:11:21] *** night-owl is now known as zz_night-owl
[10:12:19] *** startupality has joined #angularjs
[10:12:23] *** joroc has quit IRC
[10:12:55] *** Mosselman has joined #angularjs
[10:13:19] *** Mosselman is now known as Guest38376
[10:13:20] <fred-fri> say i use ng-repeat to loop over persons and print their name and age. say i also want to print their total age. where is the best place to calculate that? can/should it be done in the view? or in the controller?
[10:13:34] *** fotoflo has quit IRC
[10:13:36] *** Iravan has quit IRC
[10:13:37] *** wd40s has quit IRC
[10:13:54] *** Iravan has joined #angularjs
[10:14:36] <Grokling_> fred-fri: I use a filter for that, and let the filter do the calculation.
[10:14:38] *** aven1 has joined #angularjs
[10:14:54] *** MattWelch has quit IRC
[10:15:05] *** herring has joined #angularjs
[10:15:23] <fred-fri> Grokling: ah i see. im a noob hehe not too familiar with filters yet. will see what i can figure out.
[10:15:35] *** herring has quit IRC
[10:16:25] *** Marty- has joined #angularjs
[10:16:27] <Grokling_> then in the view {{person | age}}
[10:16:47] *** MattWelch has joined #angularjs
[10:17:44] *** Guest38376 has quit IRC
[10:17:53] *** _Marty has quit IRC
[10:18:09] *** dollings has joined #angularjs
[10:18:15] *** juanpablo_____ has joined #angularjs
[10:18:15] *** dollings has quit IRC
[10:19:51] <Grokling_> fred-fri: That filter prints their current age. Summing the total is probably something you'd do outside the ng-repeat.
[10:20:21] <fred-fri> Grokling_: cheers for the script, yeah its summing the total age of all people in a collection im after
[10:20:50] *** dubeau has joined #angularjs
[10:21:25] *** julaboy has joined #angularjs
[10:21:25] <fred-fri> i was thinking i would make a function in the controller that adds the sum value to the scope
[10:21:30] *** dubeau has quit IRC
[10:21:36] <fred-fri> but dont know whether thats appropriate/best practice
[10:22:16] *** ximenean_ has quit IRC
[10:22:37] *** juanpablo_____ has quit IRC
[10:22:43] *** plekplek has quit IRC
[10:22:50] *** ximenean_ has joined #angularjs
[10:23:09] *** shaisnir_ has joined #angularjs
[10:23:10] *** doerteDev has joined #angularjs
[10:23:24] *** denysonique has quit IRC
[10:23:41] *** urbildpunkt has joined #angularjs
[10:23:44] *** TheAceOfHearts has joined #angularjs
[10:24:05] *** pilva has joined #angularjs
[10:24:17] *** estrada has joined #angularjs
[10:24:25] *** shaisnir has quit IRC
[10:25:11] *** rtpg has quit IRC
[10:25:28] *** estrada has quit IRC
[10:25:37] *** Aerospark has quit IRC
[10:25:47] *** julaboy has quit IRC
[10:25:48] *** phzon_ has joined #angularjs
[10:25:59] *** laax has quit IRC
[10:26:07] *** tschundeee has joined #angularjs
[10:26:12] *** MetaCosm_ has joined #angularjs
[10:26:20] *** marr has joined #angularjs
[10:26:32] *** tSpartak has joined #angularjs
[10:26:39] *** motionman has quit IRC
[10:26:43] *** tangorri has quit IRC
[10:26:44] *** AciD`` has joined #angularjs
[10:26:57] *** AngularUI has joined #angularjs
[10:26:58]
<AngularUI> [ng-grid] OrenHasbani opened pull request #2416: Update ui-grid-column-resizer.js (master...master) http://git.io/tWKJZw
[10:26:58] *** AngularUI has left #angularjs
[10:27:12] <Grokling> fred-fri: It's usually best to calculate these things as few times as possible, so doing it once and making the result a property of a scope object seems reasonable.
[10:27:21] *** tangorri has joined #angularjs
[10:27:35] *** Cronoh has joined #angularjs
[10:28:01] *** urbildpunkt has quit IRC
[10:28:04] <fred-fri> Grokling: cheers will do that then, thanks for the feedback!
[10:28:07] *** hallio has joined #angularjs
[10:29:28] *** phzon has quit IRC
[10:29:53] *** Caroga is now known as Caroga_afk
[10:29:54] *** Iravan has quit IRC
[10:30:18] *** blomman has joined #angularjs
[10:30:51] *** Iravan has joined #angularjs
[10:31:56] *** jumpstracks has joined #angularjs
[10:32:15] *** evilaliv3 has joined #angularjs
[10:32:24] *** julaboy has joined #angularjs
[10:32:30] *** MetaCosm has quit IRC
[10:33:12] *** b1rkh0ff1 has joined #angularjs
[10:33:22] *** b1rkh0ff has quit IRC
[10:33:37] *** fbenoit has quit IRC
[10:34:00] *** evotuned has joined #angularjs
[10:34:44] *** hallio has quit IRC
[10:34:53] *** illume has joined #angularjs
[10:35:07] *** joroc has joined #angularjs
[10:35:46] *** julaboy has quit IRC
[10:35:52] *** ckng has quit IRC
[10:35:56] *** aven1 has quit IRC
[10:36:48] *** kolyaflash has joined #angularjs
[10:38:19] *** edzez_ has joined #angularjs
[10:38:34] *** evotuned has quit IRC
[10:39:04] *** juampy has joined #angularjs
[10:40:44] *** davi has joined #angularjs
[10:40:46] *** jumpstracks has quit IRC
[10:41:04] *** sammych has quit IRC
[10:41:05] *** Shai-Tan has quit IRC
[10:41:11] *** IvailoStoianov has joined #angularjs
[10:41:12] *** sammych has joined #angularjs
[10:41:17] *** freeAir has joined #angularjs
[10:41:29] *** kapil__ has quit IRC
[10:41:58] *** edzez has quit IRC
[10:42:55] *** numenor has joined #angularjs
[10:43:35] *** tarnus has joined #angularjs
[10:44:20] *** fairuz has quit IRC
[10:44:25] *** nemothekid has joined #angularjs
[10:45:20] *** instence has joined #angularjs
[10:45:30] *** instence_ has quit IRC
[10:45:32] *** blomman has quit IRC
[10:45:47] *** guy has joined #angularjs
[10:45:58] <guy> that I should be able to access $binding data
[10:46:10] <guy> I have tried element.$binding, element.dataset.$binding
[10:46:13] *** blomman has joined #angularjs
[10:46:17] <guy> but in all cases I am getting undefined
[10:46:20] <guy> Where to look for it?
[10:46:21] *** sample has quit IRC
[10:47:26] <guy> .element(paragraph).data().$binding
[10:47:28] <guy> got it
[10:47:33] *** numenor has quit IRC
[10:48:08] *** woebtz has quit IRC
[10:48:25] *** Mosselma1 has joined #angularjs
[10:48:35] <freeAir> hello.what is the best way to get the csrf token in angular?
[10:48:36] <guy> Pretty stupid that it is using jQlite for this
[10:48:46] *** tarnus has quit IRC
[10:48:50] *** joroc has quit IRC
[10:48:55] *** illume has quit IRC
[10:49:05] *** mlpug has joined #angularjs
[10:49:55] *** illume has joined #angularjs
[10:50:19] *** aven1 has joined #angularjs
[10:52:09] *** Left_Turn has joined #angularjs
[10:52:20] *** raibutera has joined #angularjs
[10:52:35] *** fixl has joined #angularjs
[10:52:46] *** ali_ has joined #angularjs
[10:54:04] *** qdk has joined #angularjs
[10:54:42] *** IvailoStoianov has quit IRC
[10:54:47] *** KRIZTE has joined #angularjs
[10:55:28] <KRIZTE> :-)
[10:55:29] *** matheusrocha89 has joined #angularjs
[10:55:47] *** leolrrj has joined #angularjs
[10:55:57] <raibutera> KRIZTE :)
[10:56:36] *** KRIZTE has quit IRC
[10:57:57] *** whunt has quit IRC
[10:59:24] *** Nivag_ has quit IRC
[11:01:37] *** b1rkh0ff1 has quit IRC
[11:01:41] *** soee__ has joined #angularjs
[11:02:11] *** Iravan has quit IRC
[11:02:52] *** pHcF has quit IRC
[11:02:59] *** sebastien__ has joined #angularjs
[11:03:30] *** whunt has joined #angularjs
[11:04:45] *** soee__ is now known as soee
[11:04:51] *** sk87 has quit IRC
[11:04:59] *** joroc has joined #angularjs
[11:07:19] *** aven1 has quit IRC
[11:08:11] *** skyx has joined #angularjs
[11:08:35] *** sk87 has joined #angularjs
[11:09:27] *** Sky[x] has quit IRC
[11:09:52] *** laurensclaessen has quit IRC
[11:11:28] *** Embassy has quit IRC
[11:12:09] *** sbellina has joined #angularjs
[11:12:53] *** JR___ has quit IRC
[11:14:54] *** stodan_ has quit IRC
[11:15:10] *** JesseH has quit IRC
[11:15:36] *** bigwax has quit IRC
[11:15:54] *** bigwax has joined #angularjs
[11:16:04] *** stodan has joined #angularjs
[11:16:08] *** ronskisika has joined #angularjs
[11:16:22] *** Raging_Hog has quit IRC
[11:16:29] *** sbellina has quit IRC
[11:16:46] *** whunt has quit IRC
[11:17:12] *** recidive has joined #angularjs
[11:17:45] *** hell_razer has joined #angularjs
[11:17:50] *** neoadventist has joined #angularjs
[11:18:35] *** lolmaus has joined #angularjs
[11:19:15] *** startupality has quit IRC
[11:19:30] *** shaisnir has joined #angularjs
[11:20:27] *** sbellina has joined #angularjs
[11:20:30] *** sk87 has quit IRC
[11:20:36] *** josh-k has joined #angularjs
[11:20:39] *** shaisnir has quit IRC
[11:20:48] *** b1rkh0ff has joined #angularjs
[11:20:51] *** laurensclaessen has joined #angularjs
[11:21:14] *** shaisnir has joined #angularjs
[11:22:22] *** fbenoit has joined #angularjs
[11:22:27] *** shaisnir_ has quit IRC
[11:22:59] *** chiburbs has joined #angularjs
[11:23:13] *** shaisnir_ has joined #angularjs
[11:24:30] *** jaydubya has joined #angularjs
[11:24:49] *** neilff has joined #angularjs
[11:25:23] *** F1LT3R has joined #angularjs
[11:25:56] *** swirlycheetah has joined #angularjs
[11:26:35] *** shaisnir has quit IRC
[11:27:24] *** arpu has joined #angularjs
[11:28:50] *** sebastien__ has quit IRC
[11:28:55] *** IvanoffC_ has joined #angularjs
[11:28:57] *** neilff has quit IRC
[11:29:17] *** jaydubya has quit IRC
[11:29:52] *** F1LT3R has quit IRC
[11:30:22] *** ximenean_ has quit IRC
[11:31:02] *** IvanoffCSI has quit IRC
[11:31:26] *** JohnBat26 has quit IRC
[11:33:55] *** JohnBat26 has joined #angularjs
[11:33:59] *** adben- has joined #angularjs
[11:34:41] *** nemothekid has quit IRC
[11:34:58] *** evotuned has joined #angularjs
[11:35:01] *** aven1 has joined #angularjs
[11:36:14] *** kapil__ has joined #angularjs
[11:37:08] *** jaznow has joined #angularjs
[11:38:34] *** joroc has quit IRC
[11:39:43] *** evotuned has quit IRC
[11:40:14] *** phzon_ has quit IRC
[11:42:13] *** sigurding has quit IRC
[11:42:49] *** startupality has joined #angularjs
[11:46:09] *** blomman has quit IRC
[11:46:25] *** TheAceOfHearts has quit IRC
[11:47:03] *** neoadventist has quit IRC
[11:50:21] *** EoN has joined #angularjs
[11:52:28] *** ries has quit IRC
[11:52:42] *** marcjs has joined #angularjs
[11:53:31] *** shaisnir_ has quit IRC
[11:53:37] *** shaisnir has joined #angularjs
[11:55:19] *** drag0nius has joined #angularjs
[11:55:29] *** marr has quit IRC
[11:55:58] *** DarrenCraig has quit IRC
[12:06:45] *** echelog-2 has joined #angularjs
[12:07:02] *** juanpablo_____ has joined #angularjs
[12:09:22] *** DarrenCraig has joined #angularjs
[12:09:22] *** aven1 has quit IRC
[12:09:51] *** shaisnir_ has joined #angularjs
[12:10:41] *** shaisnir has quit IRC
[12:10:41] *** medusa has joined #angularjs
[12:10:41] *** julaboy has joined #angularjs
[12:10:42] *** ries has joined #angularjs
[12:22:32] *** echelog-2 has joined #angularjs
[12:24:16] *** sigurding has joined #angularjs
[12:24:23] *** jonatas_oliveira has joined #angularjs
[12:24:25] *** optimalcrime has joined #angularjs
[12:24:31] *** tschundeee has quit IRC
[12:25:10] *** EoN has quit IRC
[12:25:27] *** Hounddog has joined #angularjs
[12:25:46] *** blomman has joined #angularjs
[12:26:08] *** julaboy_ has joined #angularjs
[12:26:43] *** Abhi_ has quit IRC
[12:27:34] <jlebrech> hi
[12:27:51] <jlebrech> i have a method i want to call in a directive, how do you do that?
[12:28:07] <tga> where do you want to call that from?
[12:28:24] *** plekplek has joined #angularjs
[12:28:49] *** seeingred has joined #angularjs
[12:29:15] *** CanyonMan1 has quit IRC
[12:29:23] *** julaboy has quit IRC
[12:29:52] *** julaboy_ has quit IRC
[12:30:07] *** julaboy has joined #angularjs
[12:30:38] *** boxmein has joined #angularjs
[12:32:49] *** tarnus has joined #angularjs
[12:32:58] *** mnngfltg has joined #angularjs
[12:33:28] <cheef> is the method you want to call in a directive, or do you want to call it from a directive?
[12:34:02] *** laurensclaessen has quit IRC
[12:34:10] *** greengriminal has joined #angularjs
[12:34:11] *** bzitzow has quit IRC
[12:35:00] *** aven1 has joined #angularjs
[12:35:39] *** joroc has quit IRC
[12:36:02] *** evotuned has joined #angularjs
[12:36:16] *** paul_ has joined #angularjs
[12:37:17] *** tarnus has quit IRC
[12:37:34] *** MattWelch has quit IRC
[12:39:18] *** Alina-malina has quit IRC
[12:39:18] <jlebrech> cheef: the method is in the directive.
[12:39:29] *** MattWelch has joined #angularjs
[12:39:41] <jlebrech> but it could also be a boolean that i watch? i might do that actually#
[12:40:46] *** evotuned has quit IRC
[12:41:53] <jlebrech> so rather than a method called 'show' I have an attribute called visible that i watch. @tga @cheef
[12:42:43] <guy> why $injector === injector is false (line 28)
[12:43:14] <guy> ah, sorry
[12:43:15] <guy> never mind
[12:44:13] *** Alina-malina has joined #angularjs
[12:44:13] *** Alina-malina has joined #angularjs
[12:45:29] *** shaisnir has joined #angularjs
[12:45:51] <guy> anyone who is familiar with angular internals
[12:46:10] <tga> jlebrech: what are you trying to achieve?
[12:46:11] <guy> how do I make config/run methods trigger if they are defined after app has been bootstrapped?
[12:46:11] *** shaisnir has quit IRC
[12:46:40] *** shaisnir has joined #angularjs
[12:47:01] *** blomman has quit IRC
[12:47:23] *** Caroga_afk is now known as Caroga
[12:47:33] *** blomman has joined #angularjs
[12:48:00] <jlebrech> tga: display something that is display:none from outside the directive
[12:48:12] *** cheef has quit IRC
[12:49:49] *** ximenean_ has joined #angularjs
[12:50:43] *** whitebook has joined #angularjs
[12:51:01] *** webus has quit IRC
[12:51:05] *** SargoDarya has quit IRC
[12:52:03] *** TyrfingMjolnir has quit IRC
[12:52:31] *** jaznow has quit IRC
[12:53:09] *** RangerRick has quit IRC
[12:53:19] *** asn has joined #angularjs
[12:53:29] *** RangerRick has joined #angularjs
[12:54:38] *** julaboy has quit IRC
[12:54:43] *** julaboy_ has joined #angularjs
[12:55:42] *** rchavik has quit IRC
[12:55:49] *** leolrrj has quit IRC
[12:56:18] <jacuqesdancona> Who here is actually using services/factories as models in a more classical mvc way? Instead of doing all kinds of data manipulation in the controller
[12:56:42] *** whitebook has quit IRC
[12:58:08] *** mrru has joined #angularjs
[12:58:19] *** pknordic_ has joined #angularjs
[12:58:59] *** TyrfingMjolnir has joined #angularjs
[12:59:26] *** tangorri has quit IRC
[12:59:51] *** spatialbrew has joined #angularjs
[13:00:33] *** guy is now known as Guest43527
[13:00:39] *** MattWelch has quit IRC
[13:00:42] <zwacky> jacuqesdancona you mean using models as in $resources?
[13:00:53] <jacuqesdancona> not really
[13:01:18] *** SargoDarya has joined #angularjs
[13:01:20] <jacuqesdancona> $resource only takes care of API communication
[13:01:31] *** bigwax has quit IRC
[13:01:40] <zwacky> there is no 'classical mvc' approach in angular tho
[13:01:52] <zwacky> it does more than just api communication
[13:01:54] *** Guest43527 has quit IRC
[13:02:23] *** pknordic_ has quit IRC
[13:03:11] *** boxmein has quit IRC
[13:03:50] *** cheef has joined #angularjs
[13:04:17] *** iShortBus has quit IRC
[13:05:04] *** joroc has joined #angularjs
[13:05:52] *** iShortBus_ has joined #angularjs
[13:06:13] *** freeAir has quit IRC
[13:06:22] *** KushS has joined #angularjs
[13:06:28] *** shaisnir has quit IRC
[13:07:42]
<Hounddog> http://pastebin.com/zJRLzaXp in this i guess i should just be able to do something when all promises are resolved instead of continuing to nest it
[13:07:43] *** laurensclaessen has joined #angularjs
[13:07:57] *** MattWelch has joined #angularjs
[13:08:03] *** optimalcrime has quit IRC
[13:08:30] *** avril14th has joined #angularjs
[13:08:33] *** avril14th has left #angularjs
[13:08:34] *** aven1 has quit IRC
[13:12:23] *** rchavik has joined #angularjs
[13:13:06] <jonasliljestrand> how would you guys wrap a and style an input field with angular?
[13:13:13] <tga> jlebrech: yup, you bind your directive to something in the scope
[13:13:26] <jlebrech> :)
[13:13:41] *** jaydubya has joined #angularjs
[13:14:02] *** raibutera has quit IRC
[13:14:07] *** F1LT3R has joined #angularjs
[13:14:20] *** d10n-work has joined #angularjs
[13:14:36] <cheef> jlebrech:sorry buddy was in a meeting
[13:14:37] <zwacky> jonasliljestrand, ng-class or ng-style?
[13:14:50] <jlebrech> cheef: np
[13:14:58] <cheef> did you sort it?
[13:15:03] <jonasliljestrand> zwacky: not with an directive?
[13:15:37] <zwacky> you can make it a directive
[13:15:44] <zwacky> but depends on how you wanna change the style
[13:16:16] <zwacky> if its only if-else then it doesn't really require a directive
[13:16:40] *** shaisnir has joined #angularjs
[13:16:44] *** mmeallin_ has quit IRC
[13:18:39] *** ProLoser has quit IRC
[13:18:40] *** jaydubya has quit IRC
[13:19:01] *** F1LT3R has quit IRC
[13:19:02] *** matheusrocha89 has quit IRC
[13:19:11] *** ProLoser has joined #angularjs
[13:19:35] *** loverajoel has joined #angularjs
[13:20:05] *** ome has joined #angularjs
[13:21:30] *** pknordic_ has joined #angularjs
[13:22:01] *** ries has quit IRC
[13:22:09] <jonasliljestrand> zwacky: so my main concern is that i want to be able to change the markup of my inputs (without doing it in 100 templates) :) So i thought of an directive. But now im facing validation problems
[13:23:00] *** shaisnir_ has joined #angularjs
[13:23:04] <jonasliljestrand> obviously i do wanna put error handling inside my form field directives to
[13:23:26] *** rikko has joined #angularjs
[13:23:31] *** ProLoser has quit IRC
[13:23:44] *** lif has joined #angularjs
[13:23:53] *** shaisnir has quit IRC
[13:24:03] *** julaboy_ has quit IRC
[13:24:18] *** yuujinlee has joined #angularjs
[13:24:26] *** julaboy has joined #angularjs
[13:25:11] *** crisbeto has joined #angularjs
[13:25:19] <yuujinlee> Hey guys, i'm using a $watch function with (newValue, oldValue) - How would I fade out the oldValue, and fadeIn the newValue without it automatically changing on the dom first?
[13:26:15] *** crisbeto has quit IRC
[13:26:38] *** e0ipso is now known as e0ipso|away
[13:26:39] <zwacky> yuujinlee, you'd need a buffered/additionally saved oldvalue value
[13:27:41] <yuujinlee> sorry buffered/additionally? I'm not sure I follow ( still new to angularjs )
[13:28:27] *** arpu has quit IRC
[13:28:58] *** cheef has quit IRC
[13:29:17] <zwacky> yuujinlee, i guess you have something like $scope.myVal and you watch myVal
[13:29:19] *** platonic has joined #angularjs
[13:29:51] <zwacky> so you'd need another value that stores the old value
[13:30:22] <yuujinlee> i see, okay let me give that a try
[13:30:24] <yuujinlee> thanks zwacky
[13:30:42] *** davi has quit IRC
[13:31:42] *** aslate has quit IRC
[13:31:44] *** Foxandxss has joined #angularjs
[13:31:53] *** Simone\_ has joined #angularjs
[13:31:59] *** Simone\ has quit IRC
[13:32:16] *** kp666 has quit IRC
[13:32:37] *** TyrfingMjolnir has quit IRC
[13:32:40] *** jlebrech has quit IRC
[13:33:14] *** lexek_ has joined #angularjs
[13:33:23] *** wa5ted is now known as oksushi
[13:33:24] *** Simone\_ has quit IRC
[13:33:24] *** TyrfingMjolnir has joined #angularjs
[13:33:37] *** platonic has quit IRC
[13:33:55] *** sebhoss has joined #angularjs
[13:35:05] *** aven1 has joined #angularjs
[13:35:17] *** Shayanjm has quit IRC
[13:36:31] *** julaboy has quit IRC
[13:36:34] *** julaboy_ has joined #angularjs
[13:36:50] *** Simone\ has joined #angularjs
[13:37:02] *** evotuned has joined #angularjs
[13:37:45] *** jaydubya has joined #angularjs
[13:37:52] *** joroc has quit IRC
[13:38:18] *** Shayanjm has joined #angularjs
[13:38:57] *** julaboy_ has quit IRC
[13:39:26] *** Seus has joined #angularjs
[13:41:25] *** toin0u|away is now known as toin0u
[13:41:39] *** evotuned has quit IRC
[13:42:42] *** wd40s has joined #angularjs
[13:44:59] *** sebhoss has quit IRC
[13:48:02] *** illume has joined #angularjs
[13:48:27] *** lsiv568 has joined #angularjs
[13:48:38] *** wd40s has quit IRC
[13:49:42] *** cheef has joined #angularjs
[13:49:53] *** MattWelch has quit IRC
[13:50:03] *** jonasliljestrand has quit IRC
[13:50:26] *** phzon has quit IRC
[13:50:31] <cheef> back
[13:52:00] *** AlSquire has joined #angularjs
[13:52:58] *** cheef has quit IRC
[13:53:27] *** rchavik has quit IRC
[13:53:29] *** cheef has joined #angularjs
[13:55:29] *** tschundeee has joined #angularjs
[13:55:45] *** juanpablo_____ has joined #angularjs
[13:55:46] *** jonasliljestrand has joined #angularjs
[13:56:55] *** MattWelch has joined #angularjs
[13:57:58] *** ctanga has joined #angularjs
[13:58:24] *** ctanga has quit IRC
[13:59:43] *** shaisnir_ has quit IRC
[13:59:44] *** sebhoss has joined #angularjs
[14:00:04] *** juanpablo_____ has quit IRC
[14:00:07] *** shaisnir has joined #angularjs
[14:00:25] *** tarnus has joined #angularjs
[14:00:50] *** ronskisika has quit IRC
[14:01:14] *** urbildpunkt has joined #angularjs
[14:01:21] *** jlebrech has joined #angularjs
[14:01:57] *** kajstrom has quit IRC
[14:02:47] *** serengeor has joined #angularjs
[14:02:52] *** rkjdid has joined #angularjs
[14:02:53] *** ewooy has joined #angularjs
[14:02:54] *** kajstrom has joined #angularjs
[14:03:11] *** boxmein has joined #angularjs
[14:03:18] *** sahbeewah_ has quit IRC
[14:04:28] *** Arf has joined #angularjs
[14:05:10] *** joroc has joined #angularjs
[14:05:42] *** urbildpunkt has quit IRC
[14:05:43] *** rchavik has joined #angularjs
[14:05:53] <Arf> why do command line instructions so often not tell you in which directory the command should be run?
[14:06:07] *** kolyaflash has quit IRC
[14:06:16] <Arf> does that bother anyone else?
[14:07:17] *** whitebook has joined #angularjs
[14:07:35] *** Sadin has joined #angularjs
[14:08:04] *** SargoDarya has quit IRC
[14:08:34] *** aven1 has quit IRC
[14:08:52] *** boxmein has quit IRC
[14:09:24] *** dman777_alter has joined #angularjs
[14:09:36] *** aslate has joined #angularjs
[14:09:46] *** boxmein has joined #angularjs
[14:09:56] *** Sadin has quit IRC
[14:10:14] *** shepheb has quit IRC
[14:10:15] *** Sadin has joined #angularjs
[14:10:24] *** SargoDarya has joined #angularjs
[14:10:38] *** SargoDarya has joined #angularjs
[14:11:08] *** shepheb has joined #angularjs
[14:11:09] *** fbenoit has quit IRC
[14:11:22] *** cboden has joined #angularjs
[14:11:30] <zomg> Usually the assumption is to run them in the project's dir if it's related to coding
[14:11:48] <zomg> but yes might be helpful to include that info I guess
[14:11:57] *** whitebook has quit IRC
[14:11:57] *** kolyaflash has joined #angularjs
[14:13:21] *** SahanH has joined #angularjs
[14:13:54] *** Asiajey has joined #angularjs
[14:13:54] *** Asiajey has joined #angularjs
[14:15:25] *** julaboy has joined #angularjs
[14:15:26] *** wd40s has joined #angularjs
[14:16:10] *** rikko has quit IRC
[14:16:56] *** wd40s has quit IRC
[14:17:17] *** Hounddog has quit IRC
[14:18:05] *** tangorri has joined #angularjs
[14:18:30] <Foxandxss> Arf: there is need, normally they are ran in the root, but well I always include full instructions, it doesn't that too much time
[14:19:25] *** ewooy has quit IRC
[14:19:27] *** julaboy_ has joined #angularjs
[14:20:59] <Arf> many times it doesn't matter, but saying it doesn't matter would be very helpful too
[14:21:43] *** phzon has joined #angularjs
[14:22:07] *** macabre has joined #angularjs
[14:22:36] *** julaboy has quit IRC
[14:22:49] *** Sadin has quit IRC
[14:24:57] *** pknordic_ has quit IRC
[14:25:10] *** ngbot has joined #angularjs
[14:25:10] <ngbot> angular.js/master 25623b7 Kevin Primat: docs(guide/location): add missing definite article...
[14:25:10] *** ngbot has left #angularjs
[14:25:31] *** pknordic_ has joined #angularjs
[14:25:34] *** Sadin has joined #angularjs
[14:25:40] *** julaboy_ has quit IRC
[14:25:45] *** ngbot has joined #angularjs
[14:25:45] <ngbot> angular.js/v1.3.x 7b9b822 Kevin Primat: docs(guide/location): add missing definite article...
[14:25:45] *** ngbot has left #angularjs
[14:25:52] *** julaboy has joined #angularjs
[14:26:00] *** ngbot has joined #angularjs
[14:26:00] <ngbot> angular.js/v1.2.x 643e7ea Kevin Primat: docs(guide/location): add missing definite article...
[14:26:00] *** ngbot has left #angularjs
[14:26:04] *** kuadrosx has joined #angularjs
[14:26:36] *** caitp has joined #angularjs
[14:26:36] *** sk87 has joined #angularjs
[14:26:47] *** ceephax has joined #angularjs
[14:26:52] *** mmealling has joined #angularjs
[14:28:00] *** fred-fri has quit IRC
[14:28:22] *** arpu has joined #angularjs
[14:28:33] *** julaboy has quit IRC
[14:28:42] *** julaboy has joined #angularjs
[14:29:08] *** g3funk is now known as braidn
[14:29:50] *** jaredwilli has joined #angularjs
[14:29:53] *** pknordic_ has quit IRC
[14:30:42] *** boxmein has quit IRC
[14:30:47] *** jaredwilli has quit IRC
[14:30:48] *** KushS has quit IRC
[14:31:03] *** matheusrocha89 has joined #angularjs
[14:32:17] *** rikko has joined #angularjs
[14:32:22] *** KushS has joined #angularjs
[14:33:16] *** aslate has quit IRC
[14:34:28] *** ngbot has joined #angularjs
[14:34:29] <ngbot> angular.js/master 7f5051b Caitlin Potter: docs($rootScope): remove erroneous closing parenthesis...
[14:34:29] *** ngbot has left #angularjs
[14:35:03] *** ngbot has joined #angularjs
[14:35:04] <ngbot> angular.js/v1.3.x c85d064 Caitlin Potter: docs($rootScope): remove erroneous closing parenthesis...
[14:35:04] *** ngbot has left #angularjs
[14:35:07] *** shaisnir_ has joined #angularjs
[14:35:10] *** SahanH has quit IRC
[14:35:12] *** aven1 has joined #angularjs
[14:35:17] *** Hounddog has joined #angularjs
[14:35:18] *** oksushi is now known as wa5ted_
[14:35:23] *** B1x1t0 has quit IRC
[14:35:51] *** wa5ted_ is now known as wa5ted
[14:36:22] *** ngbot has joined #angularjs
[14:36:23] <ngbot> angular.js/v1.2.x 77131c0 Caitlin Potter: docs($rootScope): remove erroneous closing parenthesis...
[14:36:23] *** ngbot has left #angularjs
[14:36:29] *** KushS has quit IRC
[14:36:54] *** shaisni__ has joined #angularjs
[14:37:13] *** recidive has joined #angularjs
[14:37:17] *** joroc has quit IRC
[14:37:29] <cheef> anyone got any advice on creating a factory for some directives (they have a bunch of similar functionality)
[14:38:00] *** neoadventist has joined #angularjs
[14:38:01] *** evotuned has joined #angularjs
[14:38:34] *** shaisnir has quit IRC
[14:38:37] *** shaisni__ has quit IRC
[14:39:19] *** Arf has quit IRC
[14:39:50] *** elrabin has joined #angularjs
[14:40:33] *** shaisnir_ has quit IRC
[14:40:37] *** julaboy has quit IRC
[14:40:43] *** shaisnir has joined #angularjs
[14:40:57] *** julaboy has joined #angularjs
[14:42:32] *** evotuned has quit IRC
[14:42:47] *** neilff has joined #angularjs
[14:42:55] *** rikko has quit IRC
[14:44:11] *** dmamillzzz is now known as dmamills
[14:44:13] *** ries has joined #angularjs
[14:44:35] *** lsiv568 has quit IRC
[14:44:37] *** neilff has quit IRC
[14:45:22] *** shaisnir_ has joined #angularjs
[14:45:43] *** pHcF has joined #angularjs
[14:46:27] *** swist has joined #angularjs
[14:46:53] *** shaisnir has quit IRC
[14:47:56] *** aslate has joined #angularjs
[14:48:25] *** glontu has joined #angularjs
[14:48:26] <glontu> hi
[14:48:37] <glontu> how do i enable html5mode if using ui-router ?
[14:48:58] <glontu> if i try to inject $locationProvider in the app's config function it errs
[14:49:10] <glontu> is there another way when using ui-router ?
[14:49:23] *** Milkweed has joined #angularjs
[14:50:13] *** livingstn has joined #angularjs
[14:50:29] *** mlpug has quit IRC
[14:50:39] *** julaboy has quit IRC
[14:50:41] *** gunn has quit IRC
[14:50:43] <cheef> what error ar eyou getting?
[14:50:55] *** matheusrocha89 has quit IRC
[14:50:58] *** shaisnir_ has quit IRC
[14:51:04] *** sebhoss has quit IRC
[14:51:21] *** sk87 has quit IRC
[14:51:31] *** julaboy has joined #angularjs
[14:51:34] *** rikko has joined #angularjs
[14:51:44] *** freeAir has joined #angularjs
[14:51:48] *** pknordic_ has joined #angularjs
[14:52:03] *** quantax- has joined #angularjs
[14:52:10] *** simplyshipley has joined #angularjs
[14:52:23] *** tomphp has joined #angularjs
[14:52:36] *** akrikos has joined #angularjs
[14:52:49] <cheef> it tells you how to fix that err in there
[14:52:53] *** quantax has quit IRC
[14:53:34] *** F1LT3R has joined #angularjs
[14:53:55] *** e0ipso|away is now known as e0ipso
[14:54:59] *** neilff has joined #angularjs
[14:55:29] *** marr has joined #angularjs
[14:55:41] <glontu> you're right. thanks
[14:56:17] *** freeAir has quit IRC
[14:56:18] *** mccarrontr1ck has joined #angularjs
[14:56:31] *** juanpablo_____ has joined #angularjs
[14:57:15] <cheef> no worries :)
[14:57:40] *** camnora has joined #angularjs
[14:58:08] *** lsiv568 has joined #angularjs
[14:59:27] *** dmack has joined #angularjs
[14:59:50] <tga> is there a way to force apply in the middle of a handler?
[15:00:14] <tga> I am calling a long action in a ng-click and I want to first update some variables and change the interface
[15:00:26] *** lele|w has joined #angularjs
[15:00:38] <tga> hmm or I could $timeout the long action so that it happens async
[15:01:10] *** juanpablo_____ has quit IRC
[15:01:21] *** juanpablo______ has joined #angularjs
[15:01:23] *** mmeallin_ has joined #angularjs
[15:01:23] *** mccarrontr1ck has quit IRC
[15:01:26] <tga> $evalAsync, etc
[15:01:30] *** Embassy has joined #angularjs
[15:02:20] *** juanpablo_______ has joined #angularjs
[15:03:34] *** VeeWee has quit IRC
[15:03:42] *** g33k5z_ has joined #angularjs
[15:04:12] *** mmealling has quit IRC
[15:04:12] *** xxMatiasFCxx has quit IRC
[15:04:19] *** xxMatiasFCxx has joined #angularjs
[15:04:52] <cheef> go with $evalAsync
[15:05:09] *** joroc has joined #angularjs
[15:05:49] *** juanpablo______ has quit IRC
[15:06:32] *** mite_mitreski has quit IRC
[15:07:30] *** mikeones_ has quit IRC
[15:07:52] *** mmeallin_ has quit IRC
[15:07:54] *** ceephax has quit IRC
[15:08:27] *** aven1 has quit IRC
[15:08:31] *** mmealling has joined #angularjs
[15:08:42] *** SargoDarya has quit IRC
[15:09:19] *** FIFOd[a] has joined #angularjs
[15:09:38] *** OnkelTem has joined #angularjs
[15:09:39] <OnkelTem> Hi all
[15:09:56] <OnkelTem> I wonder how to apply class-based ngAnimate to a specific element?
[15:10:18] *** lsiv568 has quit IRC
[15:10:29] *** rtpg has joined #angularjs
[15:11:01] *** seeingred has quit IRC
[15:11:12] <cheef> what are you trying to animate?
[15:11:39] <OnkelTem> cheef: a div, which has class 'active'
[15:12:14] <OnkelTem> I want it to perform some boogie-woogie for me
[15:12:20] *** Hounddog has quit IRC
[15:12:27] *** xdissent has joined #angularjs
[15:13:04] *** Siecje has joined #angularjs
[15:13:08] <OnkelTem> so I'd like ngAnimate will set appropriate classes on the div. But the article doesn't tell how to do this
[15:13:24] *** frabblerock has joined #angularjs
[15:13:31] <cheef> are you using ng-show then in that case e.g. div ng-show="active" ?
[15:13:36] *** tschundeee has quit IRC
[15:13:39] <OnkelTem> cheef: nah, ngClass
[15:14:11] <OnkelTem> like in: ng-repeat... x-ng-class="{ active: item.active }"
[15:14:32] *** guilbep has quit IRC
[15:14:41] <OnkelTem> now when I change item.active and the class is set, I want to get some intermediate states
[15:14:55] <OnkelTem> i.e. ngAnimate to augment it
[15:15:00] *** mccarrontr1ck has joined #angularjs
[15:15:04] *** SargoDarya has joined #angularjs
[15:15:06] *** dass has joined #angularjs
[15:15:14] *** SargoDarya has quit IRC
[15:15:14] *** SargoDarya has joined #angularjs
[15:15:46] <dass> hi, what editor do You use to code html with angular ?
[15:16:03] <cheef> webstorm
[15:16:11] <OnkelTem> dass: SublimeText
[15:16:30] <cheef> can you put it in a plunkr?
[15:16:32] <cheef> i can take alok
[15:16:35] <cheef> alook*
[15:16:40] *** neilff has quit IRC
[15:16:51] <cheef> could be ng-repeat and ng-class on same element causing an issue
[15:17:03] <cheef> as ng-repeat participates in ng-animate too
[15:17:16] *** neilff has joined #angularjs
[15:17:38] *** guilbep has joined #angularjs
[15:17:41] <OnkelTem> cheef: i have nothing to put in plunker, actually, I just don't get from where to start - i.e. how to declare animation?
[15:17:50] <lolmaus> Is there a filter similar to `limitTo` which would add a `...` if trimming has been applied?
[15:18:19] <OnkelTem> cheef: should I add .animate() stuff or place some ngAnimate enabling class on element, or ng-animate=".." attr
[15:18:39] <cheef> start with something simple then, like a fade in or out
[15:18:43] <cheef> on the di
[15:18:44] <cheef> v
[15:19:14] *** Lebby1 has joined #angularjs
[15:19:18] <OnkelTem> cheef: you mean ngAnimate could already animate ALL the elements on the page?
[15:19:28] *** neilff has joined #angularjs
[15:19:28] <OnkelTem> even if I don't tell it to do so
[15:19:29] *** neilff has quit IRC
[15:19:43] <cheef> angular is already applying classes to various directives
[15:19:46] *** neilff has joined #angularjs
[15:19:47] <cheef> e.g. ng-repeat
[15:19:57] <cheef> you can just define the css when they enter/leave
[15:20:16] *** neilff has quit IRC
[15:20:54] *** startupality has quit IRC
[15:21:01] <cheef> try this
[15:21:02] *** dass has quit IRC
[15:21:03] <OnkelTem> maybe I should add ng-animate on an element?
[15:21:15] *** neilff has joined #angularjs
[15:21:20] *** mite_mitreski has joined #angularjs
[15:21:43] *** ximenean_ has quit IRC
[15:22:14] <yuujinlee> I'm having a hard time fading out 'oldValue', and fading in 'newValue' with $watch (newValue, oldValue)
[15:22:18] *** AciD`` has quit IRC
[15:22:42] *** startupality has joined #angularjs
[15:23:06] *** FIFOd[a] has quit IRC
[15:23:26] *** caitp has quit IRC
[15:23:37] *** AciD`` has joined #angularjs
[15:24:07] <OnkelTem> cheef: damn, it does really apply to everything then. Dosn't it cause a... overhead? Gently speaking
[15:24:28] <cheef> those classes wont be defined, so they wont do anything - you can define them if you so choose
[15:24:37] *** g33k5z_ has quit IRC
[15:24:38] *** Lebby1 is now known as Lebby
[15:24:42] <cheef> they are just hooks for you to use
[15:25:04] *** Caroga is now known as Caroga_afk
[15:25:04] *** Lebby has left #angularjs
[15:25:06] *** Hackwar has quit IRC
[15:25:10] <OnkelTem> cheef: thanks! Reading/learning
[15:25:35] *** richiebkr has joined #angularjs
[15:25:39] <cheef> you can use the ngAnimate service, but get your head around when these classes are applied first :)
[15:26:56] <cheef> yuujinlee: put a plunkr up
[15:27:14] <yuujinlee> got it
[15:27:18] *** lsiv568 has joined #angularjs
[15:27:34] *** IvailoStoianov has quit IRC
[15:27:35] *** frabblerock has quit IRC
[15:28:22] *** walden|afk is now known as walden
[15:29:26] *** sinclair has quit IRC
[15:30:00] *** sinclair_ has joined #angularjs
[15:30:01] *** richiebkr has quit IRC
[15:30:12] *** rafagomes has joined #angularjs
[15:30:20] *** frabblerock has joined #angularjs
[15:30:21] *** mikehaas763 has joined #angularjs
[15:30:27] *** lordkryss_ has joined #angularjs
[15:30:42] *** neilff has joined #angularjs
[15:31:08] *** neilff has quit IRC
[15:31:19] *** FIFOd[a] has joined #angularjs
[15:31:23] *** neilff has joined #angularjs
[15:31:50] *** cads has joined #angularjs
[15:32:05] *** jaredwilli has joined #angularjs
[15:32:22] *** TweedleDee has joined #angularjs
[15:32:32] *** t_p has joined #angularjs
[15:33:07] <TweedleDee> is there a way to make a directive behave slightly basec on its restrict?
[15:33:11] *** Menorah has joined #angularjs
[15:33:15] <TweedleDee> different*
[15:33:52] *** CodeFriar has joined #angularjs
[15:33:53] *** serengeor has quit IRC
[15:34:21] *** startupality has quit IRC
[15:34:52] *** Hounddog has joined #angularjs
[15:35:01] *** doug64k has joined #angularjs
[15:35:14] *** aven1 has joined #angularjs
[15:36:03] *** yuujinlee has quit IRC
[15:36:20] *** dsdeiz has joined #angularjs
[15:36:22] *** startupality has joined #angularjs
[15:37:35] *** evanjs has joined #angularjs
[15:37:55] *** marcjs has quit IRC
[15:37:58] *** IvailoStoianov has joined #angularjs
[15:38:12] *** joroc has quit IRC
[15:38:14] *** leolrrj has joined #angularjs
[15:38:49] *** evotuned has joined #angularjs
[15:38:52] *** shinnya has joined #angularjs
[15:40:00] *** Guest33 has joined #angularjs
[15:40:03] *** startupality has quit IRC
[15:41:30] *** julaboy has quit IRC
[15:42:00] *** julaboy has joined #angularjs
[15:43:07] *** lsiv568 has quit IRC
[15:43:14] <Guest33> guys, my code is a mess i know, but i'm having a tough time with $watch (newValue, oldvalue)
[15:43:28] <Guest33> I'm trying to fade-out the oldValue first, and fadeIn the newValue next
[15:43:46] *** evotuned has quit IRC
[15:44:06] <Guest33> I'm so stuck, but still searching online for more info
[15:44:11] *** FunnyLookinHat has joined #angularjs
[15:44:15] *** CodeFriar has quit IRC
[15:44:23] *** Fenikkusu has quit IRC
[15:44:26] *** frabblerock has quit IRC
[15:44:26] *** rtpg has quit IRC
[15:45:24] <cheef> my advice would be to create a directive
[15:46:21] <Guest33> I tried to create a .directive and $watch the scope, but some reason it can't detect a change
[15:46:31] <cheef> isolate scope for title, and a local scope for before/after. setup a watch on title, and adjust the before/after values when it changes
[15:46:34] *** elrabin_ has joined #angularjs
[15:46:43] *** jonasliljestrand has quit IRC
[15:46:49] <cheef> you could even just use add/remove class for fadein fadeout then
[15:47:44] *** startupality has joined #angularjs
[15:48:42] <Guest33> okay i'll try again to create a .directive and try to get it work first
[15:49:58] *** urbildpunkt has joined #angularjs
[15:50:25] *** elrabin has quit IRC
[15:50:38] *** braidn has quit IRC
[15:50:46] *** vassagus has joined #angularjs
[15:50:52] *** sam-nantes has joined #angularjs
[15:50:53] *** dsdeiz has quit IRC
[15:51:00] <sam-nantes> hi there
[15:51:28] <sam-nantes> i cant reachn gulp generating sourcemaps despite of blogs and stuff
[15:51:31] *** josh-k has quit IRC
[15:51:37] <sam-nantes> someone here knows how to handle it?
[15:52:08] *** josh-k has joined #angularjs
[15:52:20] *** g3funk has joined #angularjs
[15:52:59] *** freeAir has joined #angularjs
[15:54:06] *** blomman has quit IRC
[15:54:46] *** urbildpunkt has quit IRC
[15:55:23] <jlebrech> i pass a method to a directive but then call the method from the directive like this "method()(params)" think i should be doing something else
[15:55:25] *** aesinv has joined #angularjs
[15:55:42] *** denysonique has joined #angularjs
[15:55:46] *** mary5030 has joined #angularjs
[15:56:11] *** Oddman has joined #angularjs
[15:56:27] *** mary5030 has joined #angularjs
[15:56:44] *** Everett_ has joined #angularjs
[15:56:59] *** bbankes_ has quit IRC
[15:57:02] *** Embassy has quit IRC
[15:57:13] *** davi has joined #angularjs
[15:57:19] <cheef> looking
[15:57:22] *** mliqu has joined #angularjs
[15:57:31] *** camnora has quit IRC
[15:57:46] <cheef> jlebrech:its perfectly fine to pass bound fns into a directive using &
[15:57:48] *** frabblerock has joined #angularjs
[15:58:06] <cheef> they wont be executed in the directives scope though if using an isolate
[15:58:07] *** mliqu has quit IRC
[15:58:10] <jlebrech> cheef: it just looks silly doing "method()(params)"
[15:58:22] *** mliqu has joined #angularjs
[15:58:31] *** ximenean_ has joined #angularjs
[15:59:01] <jlebrech> plunkr gives you an error message too
[15:59:07] *** eago has joined #angularjs
[15:59:18] *** freeAir has quit IRC
[15:59:20] *** tristanp has joined #angularjs
[15:59:26] <Guest33> ah okay, thanks
[16:00:26] <cheef> jlebrech: you could always make your data available in the original scope
[16:00:31] *** Everett_ has quit IRC
[16:00:41] *** scythe__ has joined #angularjs
[16:00:43] <cheef> so response.data is actually in the onComplete definition
[16:00:48] <cheef> otherwise i'd say its OK
[16:01:06] <jlebrech> cool
[16:01:50] *** ome has quit IRC
[16:02:12] <jlebrech> wish i could git push to plunkr
[16:02:25] *** scythe__ has quit IRC
[16:02:35] <cheef> ;p
[16:02:43] <cheef> sounds like you just offered to build a feature!
[16:02:43] *** scythe__ has joined #angularjs
[16:02:50] *** jdivock has joined #angularjs
[16:02:50] <jlebrech> :D
[16:02:59] *** davi has quit IRC
[16:03:20] *** startupality has quit IRC
[16:03:59] *** jonkri has joined #angularjs
[16:04:24] *** dllama has joined #angularjs
[16:04:30] *** cacts has joined #angularjs
[16:04:49] *** ali_ has quit IRC
[16:04:52] *** pppppaul has quit IRC
[16:05:05] *** joroc has joined #angularjs
[16:05:19] *** startupality has joined #angularjs
[16:05:38] <Guest33> cheef, I think i'll have to give up on this lol, I suppose I need to read up more about directives & controllers you reckon?
[16:05:52] *** BillCriswell has joined #angularjs
[16:06:54] <cheef> if you think about what you're trying to do, its pretty much dom manipulation. whenever you're thinking about that think directive!
[16:06:57] *** julaboy has quit IRC
[16:07:28] <Guest33> alright will do
[16:07:31] *** julaboy has joined #angularjs
[16:07:47] *** encryptd_fractl has joined #angularjs
[16:07:49] *** zwacky has quit IRC
[16:07:52] *** sigurding has quit IRC
[16:08:03] <cheef> what you're saying is that whenever the data bound value changes, you want to store the new and old value in scope (the directives view model) and fade the old out, and the new in (possibly overlaid)
[16:08:12] <jonkri> If we use $emit to send an event, how can we, upon receiving the event, access the controller of the emitting directive, and the scope of that controller (like functions defined using "this.test = function() { ... }"?
[16:08:23] *** aven1 has quit IRC
[16:08:24] *** boxmein has joined #angularjs
[16:08:25] *** julaboy has quit IRC
[16:08:32] <jonkri> Should we include $element in the event?
[16:08:32] <cheef> not really what events are for jonkri
[16:08:46] *** lsiv568 has joined #angularjs
[16:08:52] *** julaboy has joined #angularjs
[16:08:56] <cheef> they are meant to keep parts of the system loosely coupled
[16:09:30] *** denysonique has quit IRC
[16:09:41] <Guest33> yes cheef
[16:09:54] <OnkelTem> Is there any difference betweeen ngAnimate's classes: -add and -add-active?
[16:10:14] <jonkri> cheef: OK, so how can I communicate from the directive to the parent in an asynchronous way? I want to trigger an action in the parent after all directives have finished loading.
[16:10:29] *** Hackwar has joined #angularjs
[16:10:55] <cheef> child to parent is normally emit as it will bubble up
[16:10:58] *** whitebook has joined #angularjs
[16:11:00] <Guest33> cheef, the .json is music data with 'artist' & 'title' - the .json is updated when the song changes. oldValue should fade-out first, and newValue should fade in next & repeat
[16:11:13] <jonkri> cheef: Yes, that's why I'm using $emit. :)
[16:11:16] *** mliqu has quit IRC
[16:11:56] <jonkri> cheef: Are you saying that "communicating from the directive to the parent in an asnynchronous way" is not what I'm supposed to do with AngularJS?
[16:11:58] *** g-nom3 has quit IRC
[16:12:00] <cheef> emit and event, but for better maintainability i'd use a service between the parent/children
[16:12:07] <cheef> emit an*
[16:12:09] *** g-nom3 has joined #angularjs
[16:12:29] *** mliqu has joined #angularjs
[16:12:57] <jonkri> cheef: How would that help?
[16:13:06] <cheef> Guest33 that sounds a fair use case!
[16:13:25] <cheef> you almost want a view model that has $scope.current and $scope.next
[16:13:44] <cheef> as i guess you know the next song in advance :)
[16:14:12] *** encryptd_fractl has quit IRC
[16:14:45] <cheef> jonkri: testing will be easier using serives
[16:14:56] <cheef> but theres nowt wrong with telling the parent that the children have finished
[16:15:03] <cheef> e.g. when an ng-repeat has finished compiling
[16:15:33] *** Lawd has joined #angularjs
[16:15:40] <Lawd> clear
[16:15:50] <jonkri> OK, so before I try out using a service, how can I provide the controller object in the event?
[16:15:54] *** denysonique has joined #angularjs
[16:15:54] *** denysonique has joined #angularjs
[16:15:59] *** jumpstracks has quit IRC
[16:16:10] <Lawd> yo any idea how to make a grayed out textbox? ng-disabled just grays out the text
[16:16:18] *** g33k5z has joined #angularjs
[16:17:01] *** whiteboo_ has joined #angularjs
[16:17:02] <cheef> if you want to share controller logic, then i would advice putting it in a service instead. controllers and the glue between the view/model, the parent/child will have different view models most likely!
[16:17:17] <cheef> if its some reusable dom manipulation, then stick it in a directive
[16:17:31] *** dsdeiz has joined #angularjs
[16:17:38] <cheef> otherwise, you'll need a reference to the controller when you emit the event
[16:17:52] <cheef> normally 'this'
[16:18:26] <cheef> but you're in dangerous territory then, controllers are short lived - you might cache a refence to it and it wont get garbage collected
[16:18:37] *** pppppaul has joined #angularjs
[16:18:53] *** whitebook has quit IRC
[16:19:43] *** KushS has joined #angularjs
[16:20:39] *** evilaliv3 has quit IRC
[16:21:04] *** pilva has quit IRC
[16:21:59] *** mccarrontr1ck has quit IRC
[16:22:03] *** dcherman has joined #angularjs
[16:23:03] *** evilaliv3 has joined #angularjs
[16:23:36] *** julaboy has quit IRC
[16:23:43] *** caiges has joined #angularjs
[16:23:49] *** TyrfingMjolnir has quit IRC
[16:23:55] *** dcherman2 has quit IRC
[16:24:40] *** camnora has joined #angularjs
[16:24:52] *** camnora has quit IRC
[16:25:06] *** camnora has joined #angularjs
[16:25:23] *** crewshin has joined #angularjs
[16:26:00] *** encryptd_fractl has joined #angularjs
[16:26:20] *** annlewis has joined #angularjs
[16:26:45] *** shackleford has joined #angularjs
[16:26:45] *** kuadrosx has quit IRC
[16:27:47] *** shackleford has quit IRC
[16:27:59] *** StryKaizer has quit IRC
[16:28:01] *** shackleford has joined #angularjs
[16:28:16] *** snurfery has quit IRC
[16:28:34] *** walden is now known as walden|afk
[16:29:30] *** shackleford has quit IRC
[16:29:59] *** shackleford has joined #angularjs
[16:30:43] <cheef> checking
[16:31:15] <Guest33> thanks
[16:31:39] *** startupality has quit IRC
[16:31:54] *** knownasilya has joined #angularjs
[16:32:03] <cheef> cant see <something> html?
[16:32:30] *** freeAir has joined #angularjs
[16:32:46] *** mikerrrrrr has joined #angularjs
[16:32:55] <Guest33> ah okay
[16:33:44] <cheef> looks like that plunkrs got some issues in it
[16:33:52] <cheef> take out the ionic platform stuff
[16:34:34] *** julaboy has joined #angularjs
[16:34:36] *** SargoDarya has quit IRC
[16:34:40] *** illume has quit IRC
[16:35:06] <jonkri> How can I pass directives to a service, so that the service can keep track of them?
[16:35:10] *** aven1 has joined #angularjs
[16:35:27] *** s00pcan_ has joined #angularjs
[16:35:51] *** TheDreamIsReal has joined #angularjs
[16:36:00] *** azizur has joined #angularjs
[16:36:09] *** julaboy has quit IRC
[16:36:14] *** richiebkr has joined #angularjs
[16:36:14] *** s00pcan_ has quit IRC
[16:36:20] <cheef> you mean their state?
[16:36:27] *** s00pcan_ has joined #angularjs
[16:36:30] *** camnora has quit IRC
[16:36:53] *** s00pcan_ has quit IRC
[16:37:05] *** s00pcan_ has joined #angularjs
[16:37:23] *** vdrizzle-work has quit IRC
[16:37:37] *** b1rkh0ff has quit IRC
[16:37:42] *** zivester has joined #angularjs
[16:38:21] *** joroc has quit IRC
[16:38:26] *** Johnny13371337 has joined #angularjs
[16:38:45] <jonkri> cheef: I want to be able to create directives that have a certain interface, and that can talk to their parent's interface. The parent can talk to the directives using their element (element.controller), and the way I configured the directives to talk to the parent was through $emit. The problem then was that the $emit message did not include the directive in a way that I could call its controller.
[16:38:57] *** recidive has quit IRC
[16:39:11] *** juampy has quit IRC
[16:39:30] <jonkri> You're probably saying that I'm better off putting some of this logic in a separate service, but how would the service find and communicate with the individual directives?
[16:39:45] *** s00pcan_ has quit IRC
[16:39:45] *** evotuned has joined #angularjs
[16:39:51] *** swist has quit IRC
[16:39:59] *** s00pcan_ has joined #angularjs
[16:40:29] *** afuggini_ has quit IRC
[16:40:30] <cheef> depends on what the directives are doing
[16:40:32] *** whiteboo_ has quit IRC
[16:40:42] *** richiebkr has quit IRC
[16:40:47] *** afuggini_ has joined #angularjs
[16:40:53] <dmack> jonkri: you can make the children require the parents controller.
[16:40:56] *** swist has joined #angularjs
[16:41:02] <dmack> jonkri: no need for events
[16:41:07] <TweedleDee> one is a navigation button, one is a directive that saves an object you point it at
[16:41:19] *** jdivock has quit IRC
[16:41:54] *** camnora has joined #angularjs
[16:42:03] <cheef> to inject the parent controller
[16:42:12] <cheef> normal way for directives to communicate with eachother
[16:42:23] *** jae has joined #angularjs
[16:42:55] *** bbankes has joined #angularjs
[16:43:45] *** jrist has joined #angularjs
[16:44:02] *** afuggini_ has quit IRC
[16:44:12] *** Hounddog has quit IRC
[16:44:12] *** caiges has quit IRC
[16:44:16] *** afuggini has joined #angularjs
[16:44:17] *** evotuned has quit IRC
[16:44:50] *** ngbot has joined #angularjs
[16:44:50] <ngbot> angular.js/master 521c12c gokulkrishh: docs(guide/*): spelling/grammar improvements...
[16:44:50] *** ngbot has left #angularjs
[16:44:59] *** afuggini has quit IRC
[16:45:00] *** rchavik has quit IRC
[16:45:09] *** jae has left #angularjs
[16:45:17] *** ngbot has joined #angularjs
[16:45:17] <ngbot> angular.js/v1.3.x 2e18f44 gokulkrishh: docs(guide/*): spelling/grammar improvements...
[16:45:17] *** ngbot has left #angularjs
[16:45:18] *** scythe__ has quit IRC
[16:45:22] <jonkri> cheef, dmack: Whather we're using controllers or functions or events to talk with the parent, our problem is that we want to include a reference to the directive in question.
[16:45:44] <jonkri> cheef, dmack: So that we can say, "directive.doSomething".
[16:45:53] <dmack> from where, your controller?
[16:46:03] <jonkri> dmack: Yes, from the parent/main controller.
[16:46:14] <dmack> that seems weird.
[16:46:32] <dmack> not sure what the directive does, but why does it need it's events triggeed from another controller?
[16:46:36] *** plekplek has quit IRC
[16:46:42] <dmack> and if it does, seems like it needs to be listening for events.
[16:46:47] *** camnora has quit IRC
[16:46:52] <dmack> you shouldn't bind directive methods to a controller, too coupled
[16:47:01] <dmack> (and i don't even know if it's possible)
[16:47:12] <jonkri> dmack: There is some logic in the parent that will effect events in the child directives, based on events in the directives.
[16:48:05] *** MistahKurtz has joined #angularjs
[16:48:09] <dmack> parent referring to the parent directive, or the controller (outside the directive)?
[16:48:17] *** MistahKurtz has quit IRC
[16:48:36] <TweedleDee> I dont think I need my directives to communicate I just need to both to not compete for same isolate scope, whats the trick?
[16:48:37] <jaawerth> it's fine to bind directive methods to a directive controller
[16:48:49] <jaawerth> it's how you can produce an API to manipulate the directive from outside
[16:48:54] <jaawerth> that's how ngModelController does it
[16:49:05] *** iksik has joined #angularjs
[16:49:10] *** chrisbirk has joined #angularjs
[16:49:35] *** MistahKurtz has joined #angularjs
[16:49:37] <jonkri> dmack: The parent is also a directive. Sorry for being unclear about this.
[16:49:46] <dmack> no worries
[16:49:49] *** goodenough has joined #angularjs
[16:49:54] *** tomphp has quit IRC
[16:50:03] *** freeAir has quit IRC
[16:50:04] <jaawerth> lately I've even been borrowing from how the <form> and <input> directives will stick their ngMOdelController object $scope[nameofelement], only with a bit more configurability so I can use it with controller-as
[16:50:05] *** ngbot has joined #angularjs
[16:50:06] <ngbot> angular.js/v1.2.x b193535 gokulkrishh: docs(guide/*): spelling/grammar improvements...
[16:50:06] *** ngbot has left #angularjs
[16:50:31] *** freeAir has joined #angularjs
[16:50:39] *** Bade has joined #angularjs
[16:50:44] *** urbildpunkt has joined #angularjs
[16:51:50] <dmack> so that "directive.doSomething", you want to be able to cal that in the parents controller, and have it bubble down to the children?
[16:51:59] <dmack> "directive" in this case being a child directive
[16:52:26] <jaawerth> bubble?
[16:52:54] <jaawerth> with the child controller methods, you're essentially exposing an API
[16:52:56] <jonkri> dmack: Yes, we want the parent directive to tell the children to do something.
[16:53:21] <jonkri> dmack: But we don't have a reference to the child directive emitting the event.
[16:53:28] <jaawerth> you can either access the child controllers using jqlite and the ".controller()" method, or you can have the child elements require the parent and attach themselves to an object on the parent
[16:53:29] <jonkri> dmack: Or calling the function, or whatever.
[16:53:33] <cheef> parent > child comms is always tricky
[16:53:54] <dmack> when you emit the event from your children, you can pass a reference in the arguments
[16:53:59] *** AngularUI has joined #angularjs
[16:54:00] <AngularUI> ng-grid/master cf70e90 swalters: fix[RowSelection] Fix misspelling of method name
[16:54:00] *** AngularUI has left #angularjs
[16:54:04] <cheef> i like the second approach jaawerth
[16:54:17] <dmack> yeah, me too
[16:54:19] <jaawerth> yeah, the second approach tends to be a bit more data-driven
[16:54:31] <cheef> although you need to wait for all the child directives to finish compiling and linking :)
[16:54:32] <jaawerth> because then you've just got an object of relevant controllers you can iterate
[16:54:38] *** s00pcan_ has quit IRC
[16:54:48] <cheef> i do something similar with a datepicker component with 3 selects
[16:54:51] *** s00pcan_ has joined #angularjs
[16:54:57] <cheef> do get a reference to the ngModelControllers for the months years days
[16:54:58] <jaawerth> yeah, that's true - lately I've been doing that with a bindOnce
[16:54:59] <cheef> to*
[16:55:08] <jonkri> cheef: Yes, I had that problem. How is that usually solved?
[16:55:15] *** urbildpunkt has quit IRC
[16:55:17] <dmack> tbh, i haven't done a ton of inter directive com stuff
[16:55:21] <cheef> ive been using a $timeout, although im sure there a better solutionf ro it
[16:55:23] <cheef> for it*
[16:55:34] <dmack> I think you can set priority.
[16:55:40] <jaawerth> doesn't always work
[16:55:48] *** Johnny13371337 has left #angularjs
[16:55:52] *** doerteDev has quit IRC
[16:55:58] <dmack> yeah, well if your other directive have things like ngRepeats in them, probably notr
[16:56:02] *** jpstone has joined #angularjs
[16:56:08] <cheef> no, gets trickier with repeats
[16:56:20] *** ejb has joined #angularjs
[16:56:23] <cheef> Wait until ng-repeat has finished before trying to get a handle on the control
[16:56:23] <cheef> */
[16:56:23] <cheef> $timeout(function() {
[16:56:24] <cheef> ctrl = elem.find('input').data('$ngModelController');
[16:56:24] <cheef> });
[16:56:26] <cheef> ack, sorry.
[16:56:26] *** tschundeee has joined #angularjs
[16:56:28] <jonkri> jaawerth: jqlite means using $element, right? Because I tried that, but element.controller('name') gave me some weird controller that didn't have the methods that I defined, I think.
[16:56:30] <ejb> Greetings
[16:56:31] *** freeAir_ has joined #angularjs
[16:56:52] <cheef> jonkri thats likely a scoping issue more than anything
[16:56:58] *** jdivock has joined #angularjs
[16:57:05] *** freeAir has quit IRC
[16:57:24] *** Rutix has quit IRC
[16:57:37] <dmack> cheef: man that seems hacky
[16:57:38] *** yelvert has joined #angularjs
[16:58:21] <cheef> i know, said it was :)
[16:58:21] <ejb> I need to setup some redirects such that /?u=/#/view/project/123 redirects to /#/view/project/123. Some kind of pre-router hook?
[16:58:30] *** adben- has quit IRC
[16:58:45] <dmack> are you using ui-router?
[16:58:58] <cheef> i dont think i need it actually
[16:59:22] <jaawerth> jonkri: it's a bit tricky, and if the element has more than one controller (like if its' requiring a parent, for example), you'll need to specify the controller you want by name
[16:59:27] *** ioudas has quit IRC
[16:59:29] <cheef> could have just required ^form instead of trying to get the ngModelController of the radio
[16:59:40] *** mica1 has joined #angularjs
[16:59:41] <dmack> yeah.
[16:59:45] *** ioudas has joined #angularjs
[16:59:45] <jaawerth> it also sometimes requires using .find to grab the right DOM nodes
[16:59:52] *** mica1 is now known as mica
[16:59:56] *** mica has left #angularjs
[16:59:57] <jaawerth> so it's often easier to just attach to the parent from the children
[17:00:11] *** evanjs has quit IRC
[17:00:13] <cheef> may have been a late night fuelled coding expedition
[17:00:17] <ejb> Is there some hook that I can use for this?
[17:00:17] *** pspfolio has joined #angularjs
[17:00:27] *** uris77 has joined #angularjs
[17:00:44] <TweedleDee> can you get an object through attrs instead of a string?
[17:00:48] <TweedleDee> in a directive
[17:00:52] *** tschundeee has quit IRC
[17:01:02] <cheef> attrs are always strings
[17:01:03] <dmack> scope: { object: '=' }
[17:01:05] *** tyson2 has joined #angularjs
[17:01:11] <cheef> ^^
[17:01:14] <TweedleDee> if I do that I have competing scopes..
[17:01:24] <dmack> you can't pass objs through as attrs
[17:01:26] <TweedleDee> I have 2 directives one type restrict E, the other A
[17:01:28] <jaawerth> ejb: well, judging by the form of that URL, you need server-side code for that, not angular code
[17:01:29] *** kapil__ has quit IRC
[17:01:31] <cheef> you can use object='&' and then do scope.object()
[17:02:18] *** swirlycheetah has quit IRC
[17:02:22] *** evanjs has joined #angularjs
[17:02:38] *** recidive has joined #angularjs
[17:02:41] <jlebrech> can you use restangular with a full url?
[17:02:56] <jaawerth> ejb: It's kind of a bizarre form of URL... everything after the # just gets handled by the client and is never sent to the server, but with the URL parameter before it I'm no sure if it would end up being ignored or sent to the server as the parameter
[17:02:57] <jlebrech> and not have to do .one().all() blah blah
[17:03:32] *** cthrax has joined #angularjs
[17:03:33] *** mtho11-lunch is now known as mtho11
[17:03:38] <dmack> jlebrech: sort of
[17:03:54] <jaawerth> if you really need to pass stuff as strings, you can also get a little more custom than just susing scope: {object: '&'} and use $parse to get the same functionality manually
[17:03:59] *** juampy has joined #angularjs
[17:04:02] *** icfantv has joined #angularjs
[17:04:08] <dmack> you can use allUrl
[17:04:36] <jaawerth> $parse(attrs.someObj)(scope.$parent)
[17:04:38] *** swist has quit IRC
[17:04:43] <dmack> or just use $http if it's a one-off - i've done that before
[17:04:44] *** chrisbirk has quit IRC
[17:04:44] *** swist_ has joined #angularjs
[17:04:48] *** basiclaser_ has joined #angularjs
[17:04:51] *** zarglex has quit IRC
[17:05:13] *** caitp has joined #angularjs
[17:05:15] *** joroc has joined #angularjs
[17:05:25] <ejb> jaawerth: but you can't redirect to a hashbang url from server-side. So I need to look at the query param on the client side
[17:05:52] *** AlexZ has quit IRC
[17:06:10] *** macobo has quit IRC
[17:06:15] *** AlexZ has joined #angularjs
[17:06:25] *** macobo has joined #angularjs
[17:06:33] <dmack> ejb: not sure if ui-router or ngRoute will even pick up the URL like that
[17:06:50] *** pspfolio has quit IRC
[17:06:56] *** camnora has joined #angularjs
[17:07:15] <dmack> you can actually pass a function to urlRouterProvider.otherwise
[17:07:25] <dmack> and set rules.
[17:08:17] *** aven1 has quit IRC
[17:08:18] *** loverajoel has quit IRC
[17:08:35] *** d10n-work has quit IRC
[17:08:42] *** Oddman has quit IRC
[17:08:58] <ejb> dmack: I'm using $routeProvider. Is it the same?
[17:09:12] *** startupality has joined #angularjs
[17:09:20] *** azizur has quit IRC
[17:09:37] *** camnora has quit IRC
[17:11:25] *** Successful has quit IRC
[17:12:07] *** urbildpunkt has joined #angularjs
[17:12:16] <tyson2> jaawerth: lots of competition for that prize
[17:12:28] *** cacts|works has joined #angularjs
[17:12:38] *** trustyhank has joined #angularjs
[17:12:40] *** pilva has joined #angularjs
[17:12:41] *** nickgs has joined #angularjs
[17:12:45] *** trustyhank has quit IRC
[17:12:56] *** Asiajey has quit IRC
[17:13:11] *** tschundeee has joined #angularjs
[17:13:25] <jaawerth> it just has a general description of what it is, which you would already know if you're pulling up that page on the docs, linking to the documentation for $parse which also makes no mention of the API for $parseProvider
[17:13:42] *** Embassy has joined #angularjs
[17:13:44] <jaawerth> they should just write "check the source code, jerks!"
[17:14:04] <cheef> rightio, thats me done for xmas!
[17:14:30] *** Asiajey has joined #angularjs
[17:14:41] <jaawerth> ohh that's why. Downside to the fact taht ngdocs combine the comments and the documentation into one
[17:14:53] <jaawerth> someone did a quick comment describing what it is, which ended up compiled into the docs
[17:14:55] *** gbanis has joined #angularjs
[17:15:27] <lolmaus> We're using ui-router. How do i retrieve current URL (e. g. `/posts/27`) in HTML? I would like to do `<a ng-attr-href="{{url === '/feed' ? '' : '/feed'}}">Sitename</a>`
[17:17:03] *** chrisshattuck has joined #angularjs
[17:17:19] *** frabblerock has quit IRC
[17:17:47] *** nahoskins has joined #angularjs
[17:18:23] *** s00pcan_ has quit IRC
[17:18:41] *** toin0u is now known as toin0u|away
[17:18:46] *** cheef has quit IRC
[17:18:52] <ejb> There must be a way to do this
[17:19:15] *** camnora has joined #angularjs
[17:19:49] *** Embassy has quit IRC
[17:20:56] *** kborchers_ is now known as kborchers
[17:20:57] <dmack> ejb: what's the use case?
[17:21:02] <dmack> why do you need that URL?
[17:21:04] *** frabblerock has joined #angularjs
[17:21:15] *** juampy is now known as juampy_brb
[17:21:20] <dmack> lolmaus: use ui-sref?
[17:21:28] <dmack> don't think about URLs. think states
[17:21:41] *** bbankes_ has joined #angularjs
[17:21:42] *** caitp has quit IRC
[17:21:45] *** camnora has quit IRC
[17:21:54] *** techsethi_ has joined #angularjs
[17:22:12] *** bayousoft has joined #angularjs
[17:22:33] *** jlmitch5dev has joined #angularjs
[17:22:36] *** Snugug has joined #angularjs
[17:22:41] *** caitp has joined #angularjs
[17:22:51] *** tSpartak has quit IRC
[17:23:05] <lolmaus> dmack: the task is "if current page is feed, logo should not be clickable; if current page is not feed, logo should lead to feed".
[17:23:17] *** yelvert has quit IRC
[17:23:23] *** bbankes has quit IRC
[17:23:26] *** rikko has quit IRC
[17:23:45] <dmack> on the logo, setup ng-click="onLogoClick()"
[17:23:51] <dmack> deal with the logic in your controller
[17:24:10] <dmack> if ($state.current.name === 'feed') { .. }
[17:24:18] *** opiates has joined #angularjs
[17:24:25] <dmack> you can make it not "clickable" by just adding custom css that changes the cursor
[17:24:37] <lolmaus> dmack: thx
[17:24:41] *** guy has joined #angularjs
[17:24:58] <jlebrech> can I override base_url with restangular?
[17:25:13] *** rikko has joined #angularjs
[17:25:22] *** techsethi_ has quit IRC
[17:25:37] *** cacts has quit IRC
[17:25:40] *** Simone\_ has joined #angularjs
[17:25:55] <guy> against the spirit of angularjs.. ? using imperative over declerative?
[17:26:07] *** juampy_brb is now known as juampy
[17:26:50] *** arabot has joined #angularjs
[17:26:53] *** arabot has quit IRC
[17:27:07] <macabre> does anyone know of a way to bulk edit rows using ng grid (i'm using ui grid) ? any help is much appreciated
[17:27:35] *** pspfolio has joined #angularjs
[17:27:43] *** ximenean_ has quit IRC
[17:27:47] *** HassanCehef has joined #angularjs
[17:28:27] <ejb> dmack: I need to have prettier urls
[17:28:38] <dmack> use html5 mode?
[17:28:41] *** frobs has quit IRC
[17:29:03] <ejb> dmack: I went down that path but needed wider browser support
[17:29:10] *** bmac has joined #angularjs
[17:29:10] *** Simone\ has quit IRC
[17:29:16] *** pzuraq has joined #angularjs
[17:30:08] *** walden|afk is now known as walden
[17:30:21] <ejb> dmack: it's only for a select few urls
[17:30:26] *** camnora has joined #angularjs
[17:31:05] *** recidive has quit IRC
[17:31:10] *** zumba_addict has joined #angularjs
[17:31:45] *** Hackwar has quit IRC
[17:32:10] *** renlo has joined #angularjs
[17:32:10] *** sonofdirt has joined #angularjs
[17:32:11] *** HassanCehef has quit IRC
[17:32:41] *** F1LT3R has quit IRC
[17:32:46] *** cthrax has quit IRC
[17:32:47] *** jheady has joined #angularjs
[17:33:07] *** jheady has left #angularjs
[17:33:07] <ejb> dmack: /project-name -> /redirect?u=/#/view/project/123 -> /#/view/project/123
[17:33:25] *** HassanCehef has joined #angularjs
[17:33:29] *** icholy has joined #angularjs
[17:33:47] *** chrisshattuck has quit IRC
[17:33:51] <icholy> is there a way to restrict an attribute directive to an a specific type of tag (img for example)?
[17:34:10] <ejb> dmack: If that /redirect view is served by django (my backend) can I do a simple javascript redirect to the hashbang (angular) url?
[17:34:27] *** evilaliv3 has quit IRC
[17:34:32] *** HassanCehef has quit IRC
[17:34:48] *** saucey has quit IRC
[17:34:52] *** HassanCehef has joined #angularjs
[17:35:06] *** guy has quit IRC
[17:35:11] *** aven1 has joined #angularjs
[17:35:19] *** SargoDarya has joined #angularjs
[17:35:26] *** chrisshattuck has joined #angularjs
[17:35:29] *** BahamutWC|Laptop has quit IRC
[17:36:43] *** Ax` has joined #angularjs
[17:37:19] *** mrru has quit IRC
[17:37:28] *** cthrax has joined #angularjs
[17:37:32] *** tschundeee has quit IRC
[17:37:54] *** mglvl has joined #angularjs
[17:38:04] *** tschundeee has joined #angularjs
[17:38:35] *** joroc has quit IRC
[17:39:16] <jlebrech> i'm not sure i like restangular anymore
[17:39:22] *** Oddman has joined #angularjs
[17:39:27] <lolmaus> dmack: will `$state.current.name === 'feed'` be true for states nested under feed?
[17:39:39] <dmack> no
[17:39:46] *** chrisshattuck has quit IRC
[17:39:46] <dmack> $state.includes('feed')
[17:40:30] *** evotuned has joined #angularjs
[17:40:44] *** tschunde_ has joined #angularjs
[17:40:58] *** tschundeee has quit IRC
[17:41:39] *** skyx has quit IRC
[17:42:11] *** ximenean_ has joined #angularjs
[17:43:07] *** SargoDarya has quit IRC
[17:45:00] *** evotuned has quit IRC
[17:45:41] *** Lawd has quit IRC
[17:45:56] *** uris77 has quit IRC
[17:46:01] *** nycdevgirl has joined #angularjs
[17:46:21] *** JeffBuhrt has joined #angularjs
[17:47:05] *** uris77 has joined #angularjs
[17:47:16] *** mliqu has quit IRC
[17:49:42] <zumba_addict> What do you think about my plans folks? I would just get a pro subscription in Egghead rather than attending/finding a 5 day training course
[17:50:02] *** arcanine691 has joined #angularjs
[17:50:09] *** richiebkr has joined #angularjs
[17:50:33] <zumba_addict> one of the reasons is because I could hardly find a professor led training for frontend web developers
[17:50:41] *** cthrax has quit IRC
[17:51:22] *** dmack has quit IRC
[17:51:47] *** KushS has quit IRC
[17:52:32] *** dmack has joined #angularjs
[17:53:17] *** merobertsjr has joined #angularjs
[17:53:18] *** rikko has quit IRC
[17:54:31] *** thedodd has joined #angularjs
[17:54:38] *** cheef has joined #angularjs
[17:55:01] *** kolyaflash has quit IRC
[17:55:35] *** lsiv568 has quit IRC
[17:56:22] *** nfroidure has quit IRC
[17:56:56] *** zwacky has joined #angularjs
[17:57:00] *** shackleford has quit IRC
[17:57:52] <jonkri> I find myself in a situation where $timeout(..., 0) (or $timeout(...)) won't work, and $evalAsync(...) won't work either. I basically want all the children directives to be rendered (have their link and controllers run) before I perform this action. How can that be done?
[17:57:53] *** kolyaflash has joined #angularjs
[17:57:56] *** startupality has quit IRC
[17:58:03] *** lsiv568 has joined #angularjs
[17:58:03] *** cheef has quit IRC
[17:59:26] *** arpu has quit IRC
[17:59:28] *** rikko has joined #angularjs
[17:59:43] *** jharbaugh has quit IRC
[17:59:49] *** wafflej0ck has quit IRC
[18:00:04] *** jlmitch5dev has quit IRC
[18:00:30] *** wafflej0ck has joined #angularjs
[18:00:31] <jonkri> Hmm... Maybe I should try the post link. :)
[18:01:45] *** shackleford has joined #angularjs
[18:01:50] *** jharbaugh has joined #angularjs
[18:01:55] *** IvailoStoianov has quit IRC
[18:02:21] *** ximenean_ has quit IRC
[18:02:36] *** Sky[x] has joined #angularjs
[18:03:11] *** Snugug_ has joined #angularjs
[18:03:17] *** startupality has joined #angularjs
[18:03:56] *** ahmetkapikiran has joined #angularjs
[18:04:02] *** patrickarlt has joined #angularjs
[18:04:15] *** scythe__ has joined #angularjs
[18:04:47] *** Snugug has quit IRC
[18:04:47] *** Snugug_ is now known as Snugug
[18:05:10] *** joroc has joined #angularjs
[18:05:37] *** sonofdirt has quit IRC
[18:06:12] *** recidive has joined #angularjs
[18:08:12] *** tomphp has joined #angularjs
[18:08:33] *** aven1 has quit IRC
[18:08:45] *** loverajoel has joined #angularjs
[18:08:54] *** Ean has joined #angularjs
[18:09:24] *** Sebastien-L has joined #angularjs
[18:11:23] *** sonofdirt has joined #angularjs
[18:11:28] *** neilff has quit IRC
[18:11:57] *** ahmetkapikiran has quit IRC
[18:11:58] *** evanjs has quit IRC
[18:12:23] *** bzitzow has joined #angularjs
[18:13:02] *** mspier|away is now known as mspier
[18:13:12] *** Snugug has quit IRC
[18:13:13] *** Ean has quit IRC
[18:13:41] *** Lewix has joined #angularjs
[18:13:42] *** Lewix has joined #angularjs
[18:13:42] *** loverajoel has quit IRC
[18:13:44] *** LucaS05 has joined #angularjs
[18:14:12] *** leolrrj has quit IRC
[18:14:19] *** evanjs has joined #angularjs
[18:14:27] *** loverajoel has joined #angularjs
[18:14:44] <LucaS05> i'm getting ngRepeat:dupes error
[18:14:51] *** snapwich has joined #angularjs
[18:14:56] <LucaS05> any advices?
[18:15:06] *** rikko has quit IRC
[18:15:24] <zwacky> LucaS05 track by?
[18:16:16] <LucaS05> zwacky: do you have any example?
[18:16:23] <LucaS05> i've just started using angular
[18:16:32] *** AngularUI has joined #angularjs
[18:16:33]
<AngularUI> [bootstrap] FDiskas opened pull request #3133: Update modal.js (master...patch-1) http://git.io/9CgtbA
[18:16:33] *** AngularUI has left #angularjs
[18:16:34] *** jlebrech has quit IRC
[18:16:40] *** ehalas has joined #angularjs
[18:16:46] <zwacky> LucaS05, try in your ng-repeat expression:
[18:17:01] <zwacky> ng-repeat="value in yourarray track by $index"
[18:17:50] *** phzon has quit IRC
[18:18:08] <freeAir_> the ng-message is default to display?
[18:18:08] <LucaS05> what does that mean?
[18:18:23] *** skyx has joined #angularjs
[18:18:40] *** whunt has joined #angularjs
[18:18:40] <zwacky> LucaS05, it means angular cant differentiate between your given array, like it is [1, 1, 1] all are the same -> dupes
[18:19:41] *** nickgs has quit IRC
[18:20:03] *** walden is now known as walden|lunch
[18:20:21] *** Sky[x] has quit IRC
[18:21:30] *** nahoskins has quit IRC
[18:21:34] *** jacuqesdancona has quit IRC
[18:22:08] *** jacuqesdancona has joined #angularjs
[18:22:18] *** frabblerock has quit IRC
[18:22:19] *** ahmetkapikiran has joined #angularjs
[18:22:31] *** phzon has joined #angularjs
[18:22:42] *** goodenough has quit IRC
[18:23:09] *** jumpstracks has joined #angularjs
[18:23:13] *** whunt has quit IRC
[18:23:21] *** greengriminal has quit IRC
[18:25:10] *** goodenough has joined #angularjs
[18:25:14] *** jdivock has quit IRC
[18:25:19] *** bzitzow has quit IRC
[18:25:44] *** ximenean_ has joined #angularjs
[18:25:54] <LucaS05> zwacky: how can i check if the array is empty to display a message?
[18:26:11] *** samcfc has quit IRC
[18:26:27] <zwacky> you could do: <div ng-if="yourarray.length == 0"> for instance
[18:26:38] *** komlev has joined #angularjs
[18:26:48] *** goodenough has quit IRC
[18:26:54] *** jacuqesdancona has quit IRC
[18:26:56] *** mica has joined #angularjs
[18:27:02] *** nickgs has joined #angularjs
[18:27:26] *** renlo has quit IRC
[18:27:36] *** shampine has joined #angularjs
[18:27:36] *** shampine has joined #angularjs
[18:27:54] *** sam-nantes has quit IRC
[18:28:24] *** uris77 has quit IRC
[18:28:25] *** ximenean_ has quit IRC
[18:28:26] *** Zentdayn has joined #angularjs
[18:28:48] *** mica has left #angularjs
[18:28:48] *** startupality has quit IRC
[18:29:12] *** neilff has joined #angularjs
[18:29:13] *** nycdevgirl has quit IRC
[18:29:22] <freeAir_> i dont know why my ng-messages is default to display...and even the i set the filed is required, the form still can submit
[18:29:22] *** annlewis has quit IRC
[18:30:04] <snapwich> did I read something about directive's "replace" being deprecated? I thought I did but I can't find anything about it now
[18:30:10] *** Asiajey has quit IRC
[18:30:39] *** icfantv has quit IRC
[18:30:44] *** neilff has quit IRC
[18:30:54] *** laurensclaessen has quit IRC
[18:31:05] *** cheef has joined #angularjs
[18:31:22] *** mylord has joined #angularjs
[18:31:33] *** swist_ has quit IRC
[18:31:55] <mylord> can I use different templateurl for different items in a list? i.e, based on some $scope var?
[18:32:05] *** swist has joined #angularjs
[18:32:25] *** Zentdayn has left #angularjs
[18:32:25] <snapwich> mylord: I think templateUrl can be a function
[18:32:32] <mylord> Yes, I’ve used that
[18:32:38] <snapwich> no good?
[18:32:40] <mylord> But, all items change when any of them change
[18:32:53] *** shackleford has quit IRC
[18:33:13] <snapwich> yeah that sounds right if it's the same scope var for all directives
[18:33:45] <LucaS05> zwacky: thanks
[18:33:57] *** renlo has joined #angularjs
[18:34:23] *** annlewis has joined #angularjs
[18:34:43] <zwacky> snapwich, yeah there was something about deprecated replace somewhere
[18:34:54] *** niftylettuce has joined #angularjs
[18:35:08] *** aven1 has joined #angularjs
[18:35:53] *** annlewis has quit IRC
[18:36:27] <mylord> snapwich: ya, i have a goal directive, which shows first type A items, then type B. I did it all in 1 directive. If I use 2 directives for A and B, it can get tricky.
[18:36:36] *** s00pcan_ has joined #angularjs
[18:36:42] <mylord> So, if there’s a decent way to change templates only for A and then B items, please point me to it
[18:36:47] *** shackleford has joined #angularjs
[18:36:48] *** mspier is now known as mspier|away
[18:36:50] *** jumpstracks has quit IRC
[18:36:53] *** mortwich has joined #angularjs
[18:37:05] *** nickgs has quit IRC
[18:37:27] *** proteneer has joined #angularjs
[18:37:28] *** annlewis has joined #angularjs
[18:37:32] *** phzon has quit IRC
[18:37:34] <snapwich> zwacky: thanks. next major release, so that's like angular 2.0? that's not too concerning then :)
[18:37:50] *** mortwich has quit IRC
[18:38:03] *** joroc has quit IRC
[18:38:39] *** pydave6367 has left #angularjs
[18:38:43] <zwacky> snapwich, that's really odd. 'major' is kinda unworryful
[18:38:52] *** cheef has quit IRC
[18:39:14] <snapwich> i'm planning on almost everything going away in the next major release. haha
[18:39:43] *** takotuesday has joined #angularjs
[18:39:43] *** phzon has joined #angularjs
[18:40:02] *** takotuesday has left #angularjs
[18:40:10] *** hell_razer has quit IRC
[18:40:29] *** Asiajey has joined #angularjs
[18:40:52] *** D-Boy has quit IRC
[18:41:06] *** zB0hs has joined #angularjs
[18:41:23] <jaawerth> yeah don't worry about using replace until 2.0 is out
[18:42:13] <jaawerth> and by then, yeah, webcomponents will essentially make it a non-issue
[18:42:13] *** julaboy has joined #angularjs
[18:42:30] *** annlewis has quit IRC
[18:42:40] *** sk87 has joined #angularjs
[18:43:13] *** mikehaas763 has quit IRC
[18:43:31] *** RobinBAwesome has joined #angularjs
[18:43:33] *** sk87 has quit IRC
[18:43:34] *** mikehaas763 has joined #angularjs
[18:43:50] *** bzitzow has joined #angularjs
[18:43:58] *** mikehaas763 is now known as Guest77509
[18:44:26] *** bzitzow has quit IRC
[18:46:08] *** KushS has joined #angularjs
[18:46:15] *** Guest77509 is now known as mikehaas763
[18:46:25] *** ejb has quit IRC
[18:46:40] *** bzitzow has joined #angularjs
[18:47:22] *** kakashiA1 has quit IRC
[18:48:00] *** s00pcan has quit IRC
[18:48:15] *** MattWelch has quit IRC
[18:48:15] *** s00pcan has joined #angularjs
[18:48:39] *** Fire-Dragon-DoL has joined #angularjs
[18:48:42] *** bzitzow has quit IRC
[18:48:45] *** Fire-Dragon-DoL has quit IRC
[18:48:51] *** Shrooms has quit IRC
[18:48:53] *** s00pcan_ has quit IRC
[18:49:01] *** evotuned has joined #angularjs
[18:49:02] *** tomfriedhof has joined #angularjs
[18:49:13] *** Fire-Dragon-DoL has joined #angularjs
[18:49:34] *** sebhoss has joined #angularjs
[18:50:09] *** s00pcan_ has joined #angularjs
[18:50:35] *** ahmetkapikiran has quit IRC
[18:50:59] *** phzon has quit IRC
[18:51:10] *** ahmetkapikiran has joined #angularjs
[18:51:18] *** ahmetkapikiran has quit IRC
[18:51:30] *** pHcF has quit IRC
[18:51:37] *** phzon has joined #angularjs
[18:51:58] *** tangorri has quit IRC
[18:52:07] *** despai has joined #angularjs
[18:53:02] *** pHcF has joined #angularjs
[18:53:58] *** neilff has joined #angularjs
[18:54:27] *** pspfolio has quit IRC
[18:54:46] *** ximenean_ has joined #angularjs
[18:54:47] *** allegary` has quit IRC
[18:54:48] *** allegary` has joined #angularjs
[18:54:48] *** kakashiA1 has joined #angularjs
[18:55:05] *** allegary` is now known as allegary
[18:55:07] *** walden|lunch is now known as walden
[18:55:25] *** deranged has quit IRC
[18:55:33] *** frabblerock has joined #angularjs
[18:55:41] *** ejb has joined #angularjs
[18:55:48] *** kolyaflash has quit IRC
[18:55:48] *** Shrooms has joined #angularjs
[18:55:48] *** Shrooms has joined #angularjs
[18:56:18] *** jumpstracks has joined #angularjs
[18:56:57] *** yelvert has joined #angularjs
[18:57:23] *** steeze has joined #angularjs
[18:57:28] *** loverajoel has quit IRC
[18:57:30] *** whitebook has joined #angularjs
[18:58:39] *** morenoh149 has joined #angularjs
[18:59:24] *** cthrax has joined #angularjs
[18:59:39] *** nycdevgirl has joined #angularjs
[18:59:46] *** codeman has joined #angularjs
[18:59:52] *** jlmitch5dev has joined #angularjs
[19:01:09] *** mspier|away is now known as mspier
[19:01:37] *** KodaSimon has joined #angularjs
[19:01:41] *** shackleford has quit IRC
[19:01:43] *** yts has joined #angularjs
[19:01:44] *** icfantv has joined #angularjs
[19:01:56] *** Asiajey has quit IRC
[19:02:11] *** leolrrj has joined #angularjs
[19:02:23] *** despai has quit IRC
[19:02:40] *** Xorlev_ is now known as Xorlev
[19:02:52] *** Xorlev has quit IRC
[19:02:52] *** Xorlev has joined #angularjs
[19:02:52] *** Xorlev has joined #angularjs
[19:03:11] *** ingsoc has joined #angularjs
[19:03:39] *** jdivock has joined #angularjs
[19:03:49] *** Asiajey has joined #angularjs
[19:04:22] *** iammerrick has joined #angularjs
[19:04:30] *** D-Boy has joined #angularjs
[19:04:31] *** lsiv568 has quit IRC
[19:04:34] *** robdubya has quit IRC
[19:05:10] *** joroc has joined #angularjs
[19:06:05] *** whitebook has quit IRC
[19:06:15] *** despai has joined #angularjs
[19:06:21] *** Bade has quit IRC
[19:06:25] *** bmac has quit IRC
[19:06:46] *** annlewis has joined #angularjs
[19:07:50] *** aven1 has quit IRC
[19:07:57] *** jdivock has quit IRC
[19:08:30] *** annlewis_ has joined #angularjs
[19:09:08] *** kolyaflash has joined #angularjs
[19:09:33] *** proteneer has quit IRC
[19:10:06] *** Guest33 has quit IRC
[19:10:17] *** gladely has joined #angularjs
[19:10:19] *** deranged has joined #angularjs
[19:11:19] *** nycdevgirl has quit IRC
[19:11:29] *** annlewis has quit IRC
[19:11:32] *** ximenean__ has joined #angularjs
[19:11:50] *** guilbep has quit IRC
[19:11:53] *** ximenean_ has quit IRC
[19:12:05] *** gaboesquivel has joined #angularjs
[19:12:19] *** cotko has quit IRC
[19:12:24] *** lordkryss_ has quit IRC
[19:12:44] *** whunt has joined #angularjs
[19:12:50] *** lordkryss_ has joined #angularjs
[19:13:06] *** adben- has joined #angularjs
[19:13:09] *** annlewis_ has quit IRC
[19:13:13] *** bzitzow has joined #angularjs
[19:13:44] <jonkri> I just realized that the use of templateUrl changes the order in which the post-compile functions are called for nested directives. What can I do about this?
[19:14:03] *** zbzzn_ has joined #angularjs
[19:14:25] *** josh-k has quit IRC
[19:14:37] *** allegary is now known as allegary`away
[19:14:43] *** proteneer has joined #angularjs
[19:15:45] *** HassanCehef has quit IRC
[19:16:02] *** Successful has joined #angularjs
[19:16:05] *** Nivag_ has joined #angularjs
[19:16:19] *** morenoh149 has quit IRC
[19:18:00] *** iammerrick has left #angularjs
[19:18:12] *** s00pcan__ has joined #angularjs
[19:18:16] *** s00pcan_ has quit IRC
[19:19:13] *** industryslave has joined #angularjs
[19:19:40] *** camnora has quit IRC
[19:20:44] *** mikerrrrrr has quit IRC
[19:20:57] *** Nivag_ has quit IRC
[19:21:30] *** debunk has joined #angularjs
[19:21:50] *** moogey has joined #angularjs
[19:22:25] *** 17WAAOXOD has joined #angularjs
[19:22:31] *** julaboy has quit IRC
[19:23:21] *** allegary`away is now known as allegary
[19:23:35] *** mnngfltg has quit IRC
[19:23:39] *** Milkweed has quit IRC
[19:24:23] *** djvirgen has joined #angularjs
[19:24:36] *** cacts|works has quit IRC
[19:24:43] *** jonasliljestrand has joined #angularjs
[19:25:17] *** Mosselma1 has quit IRC
[19:26:12] *** doginal has joined #angularjs
[19:26:23] *** fotoflo has joined #angularjs
[19:26:36] *** shampine has quit IRC
[19:27:07] *** eago has quit IRC
[19:27:28] *** davi has joined #angularjs
[19:27:35] *** LakWork has joined #angularjs
[19:27:57] *** SargoDarya has joined #angularjs
[19:28:00] *** gbanis has quit IRC
[19:28:14] *** cacts|works has joined #angularjs
[19:28:33] *** __danimal__ has joined #angularjs
[19:28:48] *** bmac has joined #angularjs
[19:29:32] *** jonasliljestrand has quit IRC
[19:30:12] *** Aliks has joined #angularjs
[19:31:11] *** pknordic_ has quit IRC
[19:31:50] *** snurfery has joined #angularjs
[19:32:02] *** basiclaser_ has quit IRC
[19:32:11] *** shackleford has joined #angularjs
[19:32:14] *** robdubya has joined #angularjs
[19:32:49] *** jacuqesdancona has joined #angularjs
[19:32:59] *** zz_night-owl is now known as night-owl
[19:33:12] *** morenoh149 has joined #angularjs
[19:33:58] *** evilaliv3 has joined #angularjs
[19:34:12] *** MistahKurtz has quit IRC
[19:34:58] *** s00pcan__ has quit IRC
[19:35:08] *** yelvert has quit IRC
[19:35:16] *** aven1 has joined #angularjs
[19:35:34] *** mak`` has quit IRC
[19:35:34] *** TheAceOfHearts has joined #angularjs
[19:35:58] *** thedodd has quit IRC
[19:36:38] *** shackleford has quit IRC
[19:37:01] *** jheady has joined #angularjs
[19:37:06] *** jheady has left #angularjs
[19:37:21] *** Bade has joined #angularjs
[19:37:35] *** jacuqesdancona has quit IRC
[19:37:38] *** joroc has quit IRC
[19:37:44] *** DLSteve has joined #angularjs
[19:37:45] *** arpu has joined #angularjs
[19:38:15] *** morenoh149 has quit IRC
[19:40:07] *** lsiv568 has joined #angularjs
[19:40:15] *** Oddman has quit IRC
[19:40:50] *** Oddman has joined #angularjs
[19:41:12] *** AlSquire has quit IRC
[19:41:29] *** rahulprasad has joined #angularjs
[19:41:51] *** Oddman has quit IRC
[19:42:06] *** Oddman has joined #angularjs
[19:42:17] *** recurrence has joined #angularjs
[19:42:31] *** mite_mitreski has quit IRC
[19:43:20] *** KushS has quit IRC
[19:43:21] *** pizthewiz has joined #angularjs
[19:43:56] *** eago has joined #angularjs
[19:44:45] *** lemonerd has joined #angularjs
[19:45:46] *** 17WAAOXOD has quit IRC
[19:46:35] *** renlo has quit IRC
[19:47:53] *** nickgs has joined #angularjs
[19:48:11] *** in2rd has joined #angularjs
[19:48:27] *** tschunde_ has quit IRC
[19:48:42] *** disorder20 has joined #angularjs
[19:48:52] *** camnora has joined #angularjs
[19:48:56] <zumba_addict> jaawerth: i read that 2.0 will not be compatible with 1.x version. Is the syntax easy to learn?
[19:49:02] *** tschundeee has joined #angularjs
[19:49:03] <arcanine691> Any recommendations on tutorial/book that would be great to get started with AngularJS (I have node/mongo/express experience).
[19:49:14] <zumba_addict> arcanine691: egghead
[19:49:14] <robdubya> so easy a caveman could do it
[19:49:15] *** JesseH has joined #angularjs
[19:49:19] *** mzabriskie has joined #angularjs
[19:49:24] <zumba_addict> k
[19:49:36] *** ctanga has joined #angularjs
[19:49:43] <jaawerth> zumba_addict: well, a lot of it is based on ES6 stuff, so it's pretty different - a lot of ES6 makes current Angular unnecessary
[19:49:54] <zumba_addict> k
[19:49:59] <arcanine691> Soooo guys, what shall I do??
[19:50:03] <arcanine691> Is egghead any good??
[19:50:05] <jaawerth> the new directives will be a lot easier, since they'll be built on web components, which are also easier
[19:50:07] <zumba_addict> arcanine691: yes
[19:50:12] *** michaelv_ has joined #angularjs
[19:50:24] <zumba_addict> jaawerth: what would be a good study path for learning 2.0?
[19:50:55] <arcanine691> eago: You should probably look into going stateless for authorization/logging as in where each request is isolated instead of forcing your server to "remember" who is who and where is that person.
[19:50:55] *** SargoDarya has quit IRC
[19:50:57] <jaawerth> hrm... robdubya's probably looked at it more than I have. I'd just say learn ES6 stuff
[19:51:00] *** snurfery has quit IRC
[19:51:01] <jaawerth> for now
[19:51:06] <zumba_addict> k
[19:51:12] *** samuelharden_ has quit IRC
[19:51:29] <jaawerth> webcomponents/shadowDOM and Object.observe might be a good place to start
[19:51:50] *** __danimal__ has quit IRC
[19:51:51] <zumba_addict> and forget about angularjs 1.x just like I got rid of jquery when i was studing angular 1.x
[19:52:03] <jaawerth> 1.3 will still be around a while
[19:52:06] <jaawerth> er, 1.x that is
[19:52:06] *** julaboy has joined #angularjs
[19:52:09] <arcanine691> Is AngularJS worth it now that ES6 is out??
[19:52:13] *** thedodd has joined #angularjs
[19:52:19] <jaawerth> well uh
[19:52:19] <arcanine691> Should I pay more attention to Angular or ES6 ?
[19:52:22] *** nickgs has quit IRC
[19:52:25] *** Oddman has quit IRC
[19:52:32] <zumba_addict> i read that react js is cool
[19:52:48] *** dsdeiz has quit IRC
[19:52:51] *** snurfery has joined #angularjs
[19:53:02] <zumba_addict> couldn't remember which site I read it but he was saying to learn reactjs, angular 2.0 and there was one more i forgot
[19:53:04] <jaawerth> full ES6 isn't even available on most current browsers in a standard way. Angular 1.x will still be around for compatibility reasons unless 2.0 ends up with some good backwards compat stuff
[19:53:06] *** Milkweed has joined #angularjs
[19:53:17] <eago> not sure what you mean arcanine691.... like... user is in one page and logins (login is handled with an api), then user goes to anothe page... I need the webiste to remember the user already loged in
[19:53:32] *** tschundeee has quit IRC
[19:53:35] *** mlpug has joined #angularjs
[19:53:37] *** AimerPaddle has joined #angularjs
[19:53:57] *** vassagus has quit IRC
[19:53:57] *** marr has quit IRC
[19:54:13] *** ejb has quit IRC
[19:54:15] <arcanine691> eago: Look at REST Authorization.
[19:54:20] *** tyson2 has quit IRC
[19:54:26] *** vassagus has joined #angularjs
[19:54:29] <arcanine691> WHy would you need to know both angular and react
[19:54:32] <arcanine691> dont they both do the same thing
[19:54:39] <eago> I'm doin REST authorization
[19:54:46] <zumba_addict> arcanine691: i just read it from an article
[19:54:53] <zumba_addict> I don't even know what react does
[19:54:57] *** pspfolio has joined #angularjs
[19:55:03] <jaawerth> react does one part of what angular does, but to get the full capabilities you'd need to use it with a bunch of other libraries
[19:55:05] <eago> but if I don't save sassion info somwere when I change page I have to re login
[19:55:06] *** ximenean__ has quit IRC
[19:55:07] <BahamutWC|Work> arcanine691: React is pure view layer - angular is more than that
[19:55:14] <jaawerth> ^^
[19:55:25] <jaawerth> it's good to learn both just so you learn more than one way of doing things, IMO
[19:55:37] <zumba_addict> so that means, we really don';t need reactjs. Correct?
[19:55:41] *** jdivock has joined #angularjs
[19:55:41] <BahamutWC|Work> React doesn’t do routing with HTML5 history (& HTML5 pushState) for example, nor gives you a good pattern for organizing your code
[19:55:53] <BahamutWC|Work> Flux seems a little too complex to me
[19:56:10] <zumba_addict> that's what the blogger said, it was flux
[19:56:13] <jaawerth> or handle dependency injection or help you break your code into modules
[19:56:15] <dllama> sup boys and girls
[19:56:16] <zumba_addict> thank you BahamutWC|Work
[19:56:24] <jaawerth> or help you built a data model layer
[19:56:27] *** Successful has quit IRC
[19:56:30] <zumba_addict> is flux for css?
[19:56:33] <jaawerth> BUT you could use it with other libraries that do help with that stuff
[19:56:34] <BahamutWC|Work> testability, Angular is king
[19:56:38] *** Mxyzpltk has joined #angularjs
[19:56:41] <BahamutWC|Work> Flux is for frontend architecture
[19:56:53] <zumba_addict> omg, i was wrong. It was flex i was refering too
[19:56:58] *** vassagus has quit IRC
[19:57:00] <arcanine691> what do you guys think is the best way to implement "push" feature?? where the database is being uploaded with new data and you want to push it to the users browser
[19:57:01] <arcanine691> ???
[19:57:02] <BahamutWC|Work> lol
[19:57:10] <zumba_addict> arcanine691: i love primus
[19:57:10] <arcanine691> for example messaging <--
[19:57:10] *** Aerospark has joined #angularjs
[19:57:14] *** freeAir_ has quit IRC
[19:57:15] *** loverajoel has joined #angularjs
[19:57:24] <zumba_addict> you agree with me guys about primus?
[19:57:25] <arcanine691> or a news platform that pushes like news to your feed or something
[19:57:32] <jaawerth> eh, I use socket.io
[19:57:37] <arcanine691> Long Polling or Web Sockets???
[19:57:51] <jaawerth> websockets with fallback to long polling
[19:57:51] <zumba_addict> primus uses the best of socket.io and the other one, i forgot
[19:57:53] *** snurfery has quit IRC
[19:58:02] <jaawerth> last I checked, socket.io had caught up to primus
[19:58:09] <zumba_addict> ok
[19:58:09] *** jheady has joined #angularjs
[19:58:19] <zumba_addict> i haven't used it for almost 8 months now
[19:58:20] <jaawerth> and possibly surpassed it. I'm not an expert on websocket libs though
[19:58:23] <arcanine691> alright so they are both pretty much sockets?
[19:58:25] <jaawerth> so I could be out of date again
[19:58:33] *** wafflej0ck has quit IRC
[19:58:36] <zumba_addict> yes arcanine691
[19:58:42] *** camnora has quit IRC
[19:59:20] <zumba_addict> jaawerth: btw, I had a question about 2 hours ago. Not sure if you saw it or if someone saw it. I was hoping if you guys can share your insights about my idea
[19:59:28] *** frem has joined #angularjs
[19:59:38] *** Bade has quit IRC
[19:59:40] <arcanine691> zumba_addict: wahts ur idea bud
[19:59:44] *** enigmarm has joined #angularjs
[19:59:49] <zumba_addict> What do you think about my plans folks? I would just get a pro subscription in Egghead rather than attending/finding a 5 day training course
[19:59:51] <arcanine691> zumba_addict: i will give u great feedback
[20:00:06] <arcanine691> zumba_addict: for what??
[20:00:07] <zumba_addict> they have angular 2.0 online training videos
[20:00:19] *** Hackwar has joined #angularjs
[20:00:26] <zumba_addict> i saw it from one of their emails
[20:00:36] <jaawerth> ah, no idea
[20:00:39] <zumba_addict> they were advertising it for $99
[20:00:44] <zumba_addict> for all video access
[20:00:56] <arcanine691> zumba_addict: if its a in class person and it seems to be helpful and its cheap, take the class
[20:01:03] <zumba_addict> no, it's online
[20:01:10] <jaawerth> I honestly haven't used egghead all that much, not my way
[20:01:12] <arcanine691> zumba_addict: than dont take it.
[20:01:14] <zumba_addict> i actually emailed the guy and asking if they had professor led training
[20:01:36] *** pspfolio has quit IRC
[20:01:38] <arcanine691> zumba_addict: i would rather just read book + watch online guides + do a couple sample apps within a week.
[20:01:40] <zumba_addict> i've been looking for a frontend web developer training but can't find one that is good
[20:01:42] <arcanine691> you should learn alot.
[20:01:54] <arcanine691> zumba_addict: i will train you :)
[20:02:00] <zumba_addict> arcanine691: i agree but company is giving us free training
[20:02:06] <zumba_addict> all we have to do is grab it
[20:02:11] <arcanine691> zumba_addict: hmmm...
[20:02:26] <zumba_addict> airfare is also shouldered by them
[20:02:26] <arcanine691> zumba_addict: if they are giving you free training. try to attend an in person one.
[20:02:27] <dllama> anyone here use ng-token-auth with devise?
[20:02:30] *** shackleford has joined #angularjs
[20:02:31] *** ish has left #angularjs
[20:02:35] *** mzabriskie has quit IRC
[20:02:43] <dllama> specifically with the accompanying devise_token_auth gem ?
[20:02:43] <zumba_addict> arcanine691: that's what I want but can't find one that is really good
[20:02:50] *** ish has joined #angularjs
[20:02:52] *** alicefreak has joined #angularjs
[20:02:56] *** cthrax has quit IRC
[20:03:00] <arcanine691> zumba_addict: just go to any man. it doesnt have to be REALLY good.
[20:03:06] <zumba_addict> k
[20:03:12] *** camnora has joined #angularjs
[20:03:18] *** MetaCosm_ has quit IRC
[20:03:26] <zumba_addict> i was hoping to take a training that teaches upcoming technologies
[20:03:28] <arcanine691> zumba_addict: try to do programming in person as much as you can. you always have the chance to do it at home.
[20:03:43] <zumba_addict> k
[20:03:45] <arcanine691> zumba_addict: i would learn front end for mobile though to be honest.
[20:03:49]
<alicefreak> Hi guys, I've two radio buttons 'brand' and 'year'. I want to remove/reset pre selected values of 'year' field. Can you please help? https://dpaste.de/yffA Thanks
[20:03:53] *** ish has left #angularjs
[20:03:59] <arcanine691> zumba_addict: do some mobile stuff because thats whats hot.
[20:04:02] <zumba_addict> ah, good idea. I'm weak in mobile development
[20:04:09] <zumba_addict> i agree with you
[20:04:23] <zumba_addict> now all i need to do is google it
[20:04:26] <arcanine691> \( ^_^ )/ there u go :D
[20:04:28] *** joshontheweb has quit IRC
[20:04:37] <zumba_addict> doesn't have to be here in Chicago. Las Vegas is approved too
[20:04:44] *** tomphp has quit IRC
[20:04:54] <arcanine691> are you in chicago?
[20:05:13] <arcanine691> zumba_addict: are u in chicago?
[20:05:14] *** wolfman2000 has quit IRC
[20:05:16] <zumba_addict> yes
[20:05:21] <arcanine691> sweet man me too
[20:05:22] *** joroc has joined #angularjs
[20:05:23] *** neoadventist has quit IRC
[20:05:26] <zumba_addict> oh cool :D
[20:05:31] *** rafagomes has quit IRC
[20:05:34] <zumba_addict> you live here?
[20:05:41] <arcanine691> just about
[20:05:43] <zumba_addict> I'm in the suburbs
[20:05:48] <zumba_addict> but i work in downtown
[20:05:52] <arcanine691> im in la grange
[20:05:56] <zumba_addict> wow, that's far
[20:05:59] <arcanine691> rly??
[20:06:03] <zumba_addict> that's where I bought my oddysey
[20:06:05] *** ejb has joined #angularjs
[20:06:18] <zumba_addict> it's about 50-60 miles from Huntley
[20:06:24] <zumba_addict> you're near Joliet
[20:06:26] <zumba_addict> right?
[20:07:08] <arcanine691> i think so. not quite sure. i get to canal st/merchandise mart in 15-20m
[20:07:18] *** nuizzy has joined #angularjs
[20:07:34] *** annlewis has joined #angularjs
[20:07:45] <zumba_addict> i pass Canal st everyday :)
[20:07:53] *** steeze has quit IRC
[20:07:53] <zumba_addict> i'm in Jackson
[20:08:03] <BahamutWC|Work> several chicagoians here
[20:08:11] <zumba_addict> but past 290
[20:08:14] <BahamutWC|Work> wafflejock is also in chitown
[20:08:18] <zumba_addict> you here in Chicago BahamutWC|Work?
[20:08:24] *** e0ipso is now known as e0ipso|away
[20:08:31] *** lemonerd has quit IRC
[20:08:32] <BahamutWC|Work> nope - I did go to grad school at UIUC though
[20:08:37] *** aslate has quit IRC
[20:08:37] *** aven1 has quit IRC
[20:08:43] <zumba_addict> oh, wafflejock was one of the guys who taught me angular here :D
[20:08:49] <zumba_addict> k
[20:08:53] *** shackleford has quit IRC
[20:08:53] <BahamutWC|Work> I’m in Mountain View
[20:08:56] <zumba_addict> cool
[20:09:05] <arcanine691> i just came back from mountain view -__- i miss it
[20:09:09] <dllama> zumba_addict: ur in NYC?
[20:09:13] <zumba_addict> Chicago
[20:09:20] <dllama> theres a canal street there too?
[20:09:24] <arcanine691> yaaah
[20:09:25] <zumba_addict> oh ok
[20:09:25] <BahamutWC|Work> yep
[20:09:38] <dllama> ahh chitown, i read it as china town
[20:09:40] <BahamutWC|Work> I miss NYC - grew up near White Plains
[20:09:46] <dllama> since canal street is china town here :)
[20:10:00] <BahamutWC|Work> chitown always === Chicago
[20:10:18] *** samuelharden has joined #angularjs
[20:10:20] <zumba_addict> :)
[20:10:20] <dllama> misread it :)
[20:10:21] *** laurensclaessen has joined #angularjs
[20:10:25] <dllama> chitown vs chinatown :)
[20:10:40] *** juanpablo_______ has quit IRC
[20:11:11] *** renlo has joined #angularjs
[20:11:15] *** juanpablo_______ has joined #angularjs
[20:11:40] *** Successful has joined #angularjs
[20:12:10] *** tSpartak has joined #angularjs
[20:12:17] *** annlewis has quit IRC
[20:12:29] <mylord> if directive d1 calls directive d2’s function, will d2’s template t2 be used to show the items that d2 obtains (e.g. from a server)?
[20:12:36] *** nemothekid has joined #angularjs
[20:13:43] *** ximenean__ has joined #angularjs
[20:13:46] *** ctanga has quit IRC
[20:14:08] *** julaboy_ has joined #angularjs
[20:14:19] *** Sebastien-L has quit IRC
[20:15:02] *** Reskp has joined #angularjs
[20:16:29] *** julaboy has quit IRC
[20:17:43] *** D-Boy has quit IRC
[20:18:02] *** ximenean__ has quit IRC
[20:18:25] *** Successful has quit IRC
[20:18:33] *** camnora has quit IRC
[20:20:05] *** idontgetit has joined #angularjs
[20:20:14] *** tschundeee has joined #angularjs
[20:20:40] *** komlev has quit IRC
[20:20:42] *** gunn has joined #angularjs
[20:20:56] <dllama> so anyone use ng-token-auth?
[20:21:10] *** camnora has joined #angularjs
[20:21:48] <arcanine691> \( ^_^ )/ anyone think of it appropirate to use sockets now
[20:22:03] *** skyx has quit IRC
[20:22:08] *** loverajoel has quit IRC
[20:22:24] *** loverajoel has joined #angularjs
[20:22:44] *** nfroidure has joined #angularjs
[20:23:59] <proteneer> anyone know if there’s an existing controllable slider bar?
[20:24:09] <proteneer> similar to a progressbar, but only one where you can drag it around
[20:24:11] <proteneer> invoke callbacks, etc.
[20:24:16] *** shackleford has joined #angularjs
[20:24:54] *** shackleford has joined #angularjs
[20:24:57] *** tschundeee has quit IRC
[20:25:03] *** nfroidure has quit IRC
[20:25:16] *** jheady has left #angularjs
[20:25:51] *** nfroidure has joined #angularjs
[20:26:07] *** jumpstracks has quit IRC
[20:26:23] *** Milkweed has quit IRC
[20:26:43] *** davi has quit IRC
[20:27:30] <zwacky> idontgetit what is not working
[20:27:36] <idontgetit> Total starter trying to understand this a bit better. Can't figure it out though
[20:28:07] <idontgetit> When I access the html page I don't see any data for either of my {{people}} or {{person}} values
[20:28:51] *** yelvert has joined #angularjs
[20:30:00] *** D-Boy has joined #angularjs
[20:30:11] <zwacky> idontgetit, your $scope.people is only a string (people's fullname), right?
[20:30:36] *** szymek has joined #angularjs
[20:30:40] <idontgetit> yeah
[20:30:42] *** industryslave has quit IRC
[20:31:43] *** pknordic_ has joined #angularjs
[20:32:01] *** HassanCehef has joined #angularjs
[20:32:32] *** Aerospark has quit IRC
[20:32:42] <pizthewiz> If I have a filter that updates dates to be relative ("X days ago"), is there a good way to periodically reevaluate the filter to keep the relative dates fresh?
[20:32:45] *** mary5030 has quit IRC
[20:32:53] *** yelvert has quit IRC
[20:32:59] *** enigmarm has quit IRC
[20:33:19] *** mary5030 has joined #angularjs
[20:33:46]
<alicefreak> Hi guys, I've two radio buttons 'brand' and 'year'. I want to remove/reset pre selected values of 'year' field. Can you please help? https://dpaste.de/yffA Thanks
[20:34:13] *** LucaS05 has quit IRC
[20:35:00] *** Sadin has quit IRC
[20:35:15] *** robdubya has quit IRC
[20:35:47] *** charuru has joined #angularjs
[20:36:31] *** pknordic_ has quit IRC
[20:36:49] *** laurensclaessen has quit IRC
[20:37:18] *** mewm has joined #angularjs
[20:37:52] *** mary5030 has quit IRC
[20:37:59] *** s00pcan_ has joined #angularjs
[20:38:11] *** Asiajey has quit IRC
[20:38:22] *** morenoh149 has joined #angularjs
[20:38:37] *** Embassy has joined #angularjs
[20:40:43] *** ravocom has joined #angularjs
[20:41:02] *** arcanine691 has quit IRC
[20:41:08] *** camnora has quit IRC
[20:41:08] <caitp> don't use cream or sugar! drink your coffee the angular way!
[20:41:36] <ravocom> hello
[20:41:42] <ravocom> I need some help
[20:41:59] <caitp> with wot
[20:41:59] <ravocom> I am developing a web application
[20:42:00] *** jumpstracks has joined #angularjs
[20:42:15] <caitp> right on
[20:42:37] <ravocom> and taught to use angular js framwork to the front end qrids
[20:42:57] <ravocom> can any one suggest how to get the kick start?
[20:43:37] <caitp> what does qrids mean?
[20:43:52] <ravocom> sorry
[20:43:54] <ravocom> Grids
[20:44:02] *** KushS has joined #angularjs
[20:44:08] *** mrru has joined #angularjs
[20:44:32] <sakustar> ravocom: did you complete the angularjs tutorial ?
[20:44:35] <ravocom> something like
[20:44:38] <caitp> i'm not sure what front end grids are, are you talking about layout or table data or something
[20:44:44] *** mary5030 has joined #angularjs
[20:44:45] *** Ax` has quit IRC
[20:45:04] *** fedenunez has joined #angularjs
[20:45:05] *** mary5030 has quit IRC
[20:45:07] <ravocom> I posted a sample url
[20:45:11] <caitp> oh man, pagination is your first angular project?
[20:45:17] *** eago has quit IRC
[20:45:18] <caitp> start simpler :p
[20:45:33] *** merobertsjr has quit IRC
[20:45:38] *** mary5030 has joined #angularjs
[20:45:47] <ravocom> :)
[20:46:01] <ravocom> I have some experience with jquery grids
[20:46:02] *** rahulprasad has quit IRC
[20:46:20] <ravocom> I am looking forward to use angluar js for it
[20:46:24] *** skyx has joined #angularjs
[20:46:28] *** robdubya has joined #angularjs
[20:46:36] <BahamutWC|Work> “don't use cream or sugar! drink your coffee the angular way!” - there’s an angular way to drink coffee?
[20:47:06] <ravocom> can you suggest me a sample on the grids
[20:47:34]
<BahamutWC|Work> there’s a library, ui-grid, that does grids with angular: http://ui-grid.info/
[20:47:35] *** cornerma1 has joined #angularjs
[20:47:42] *** SargoDarya has joined #angularjs
[20:48:24] <ravocom> it looks nice
[20:48:42] *** thebigredgeek has joined #angularjs
[20:48:43] <caitp> BahamutWC|Work, A) stop working it's christmas ;c
[20:48:50] <BahamutWC|Work> caitp: not yet!
[20:49:00] <ravocom> ha ha
[20:49:08] *** skyx has quit IRC
[20:49:10] *** s00pcan_ has quit IRC
[20:49:10] <caitp> and B) yeah, use ng-coffee and depend on module ngCoffee and then use the ng-caffinate directive
[20:49:11] <ravocom> few days more :P
[20:49:44] <ravocom> ok
[20:49:50] <ravocom> Il have a try on that
[20:50:05] <ravocom> I will revert back if I have any conerns
[20:50:06] <ravocom> ;)
[20:50:12] <ravocom> thanks for the support
[20:50:13] <caitp> but never use $('.foo').cream().sugar().imbibe()
[20:50:20] <robdubya> damn straight, why are we at the office? ITS CHRISTMAS
[20:50:21] <thebigredgeek> First we have to “release” a new “version"
[20:50:21] <caitp> that would not be the angular way!
[20:50:25] <thebigredgeek> Then XMas
[20:50:25] <thebigredgeek> :(
[20:50:46] *** skyx has joined #angularjs
[20:50:59] <thebigredgeek> I need an ngJoint after the last few weeks
[20:51:04] *** cornerman has quit IRC
[20:51:05] *** cornerma1 is now known as cornerman
[20:51:28] *** patrick99e99 has joined #angularjs
[20:51:37] *** sonofdirt has quit IRC
[20:51:48] <robdubya> that's okay, i have a "prescription" for that
[20:52:04] <thebigredgeek> Yay
[20:52:07] *** seriema has joined #angularjs
[20:53:42] *** tyson2 has joined #angularjs
[20:54:33] *** IvailoStoianov has joined #angularjs
[20:54:51] *** Aliks has quit IRC
[20:54:51] *** cthrax has joined #angularjs
[20:55:09] <caitp> did you write it yourself
[20:56:06] <thebigredgeek> That isn’t allowed
[20:56:09] <thebigredgeek> Unfortunately
[20:56:22] <thebigredgeek> Just like writing modifications to our “spec” ;(
[20:56:25] *** scythe__ has quit IRC
[20:56:29] *** bbankes_ has quit IRC
[20:56:36] <caitp> "not allowed" doesn't generally stop people when it comes to drugs and alcohol
[20:56:41] <caitp> for better or worse
[20:57:05] <thebigredgeek> robdubya, BahamutWC and me all “work” (suffer) in the same office
[20:57:11] <thebigredgeek> That’s what I meant ;)
[20:57:57] <caitp> i'm not working
[20:58:03] <thebigredgeek> We are ;(
[20:58:03] <caitp> i'm trying to make rest parameters work in v8
[20:58:07] <caitp> and it's hard
[20:58:08] <robdubya> ooo
[20:58:24] <caitp> i have literally no idea what i'm doing
[20:58:24] <thebigredgeek> I have a rest parameter, it’s called my bed which I wish I was sleeping in
[20:58:30] *** TheAceOfHearts has quit IRC
[20:59:02] <thebigredgeek> Who does
[20:59:15] *** nemothekid has quit IRC
[20:59:17] <thebigredgeek> We are all just playing pretend. JavaScript isn’t a real language after all ;)
[21:00:15] *** scythe__ has joined #angularjs
[21:01:06] *** leolrrj has quit IRC
[21:02:12] *** Aerospark has joined #angularjs
[21:02:15] *** julaboy_ has quit IRC
[21:02:15] *** mzabriskie has joined #angularjs
[21:02:22] *** csduarte has quit IRC
[21:03:03] *** tristanp has quit IRC
[21:03:17] *** mzabriskie has quit IRC
[21:03:26] *** merobertsjr has joined #angularjs
[21:03:31] *** nemothekid has joined #angularjs
[21:03:57] <caitp> but not quite :(
[21:04:02] *** japhar81 has joined #angularjs
[21:04:17] *** bradmaxs has joined #angularjs
[21:04:21] <caitp> at least it allocates an array of the right size and doesn't crash though
[21:04:27] <caitp> that's a good sign right
[21:05:22] *** jpstone has quit IRC
[21:05:54] *** frabblerock has quit IRC
[21:05:55] <thebigredgeek> are you doing all the things in C for that?
[21:05:57] *** nickgs has joined #angularjs
[21:06:07] *** qdk has quit IRC
[21:06:47] <caitp> it's C++, but it's basically assembly language
[21:06:54] *** SargoDarya has quit IRC
[21:07:02] <caitp> because it's all "generate the following ASM for this function entry"
[21:07:02] *** h0ru5 has joined #angularjs
[21:07:18] <thebigredgeek> yuk
[21:07:20] <caitp> which makes it really hard to debug
[21:07:21] <caitp> :c
[21:07:28] <thebigredgeek> Cross-platform ASM?
[21:07:33] <thebigredgeek> That’s a horror show
[21:07:34] *** annlewis has joined #angularjs
[21:07:35] <caitp> nah i'm just doing x64 right now
[21:07:39] <thebigredgeek> Lucky
[21:07:42] *** g33k5z has quit IRC
[21:07:45] <caitp> it will probably get torn to pieces in code review, and then i'll fix it
[21:07:51] <thebigredgeek> x64 and x86 aren’t nearly as horrid as others
[21:07:54] <caitp> and then when it's okay will port to other arches
[21:08:02] <thebigredgeek> Weird that you cannot use pure C
[21:08:06] <thebigredgeek> (or C++)
[21:08:07] <thebigredgeek> To do it
[21:08:08] *** 64MABG7J2 has joined #angularjs
[21:08:16] <thebigredgeek> I’ve never worked on V8 tho
[21:08:28] <thebigredgeek> Some sort of constraint?
[21:08:32] *** mikerrrrrr has joined #angularjs
[21:09:02] *** gaboesquivel has quit IRC
[21:09:09] *** 64MABG7J2 has quit IRC
[21:09:21] *** mtho11 is now known as mtho11-lunch
[21:09:28] <caitp> if the last parameter is a rest param, i tell it to build the rest parameter, after maybe constructing the arguments object
[21:09:33] <pizthewiz> Is there a good way to force a reevaluation of a filter? I have a filter that converts dates to relative dates and I'd like to refresh it every minute or so…
[21:09:54] <thebigredgeek> I just vommited a little in my mouth
[21:09:57] *** fotoflo has quit IRC
[21:09:58] <thebigredgeek> That’s horrible
[21:10:00] *** g33k5z has joined #angularjs
[21:10:03] <caitp> i know right?
[21:10:10] *** leolrrj has joined #angularjs
[21:10:10] *** shinnya has quit IRC
[21:10:13] <caitp> it's pretty bad, it would be nice if it were simplified a bit
[21:10:20] *** sonofdirt has joined #angularjs
[21:10:36] <thebigredgeek> I was talking about V8 not your question btw. Sorry if it seemed that way
[21:10:47] <robdubya> lol
[21:10:55] *** mzabriskie has joined #angularjs
[21:11:02] *** shampine has joined #angularjs
[21:11:02] *** shampine has joined #angularjs
[21:11:08] <thebigredgeek> robdubya told me I was an asshole because it sounded like I was insulting his question ;(
[21:11:20] *** whunt has quit IRC
[21:11:26] *** RobinBAwesome has quit IRC
[21:12:06] *** annlewis has quit IRC
[21:13:44] *** JohnBat26 has quit IRC
[21:14:01] <thebigredgeek> caitp do Google usually have you working on V8?
[21:14:06] <thebigredgeek> Or is that just a side thing?
[21:14:12] <caitp> we made it my 20% time project
[21:14:18] *** seriema has quit IRC
[21:14:28] *** ximenean__ has joined #angularjs
[21:14:45] *** seriema has joined #angularjs
[21:14:46] *** simplyshipley has quit IRC
[21:15:27] *** Oddman has joined #angularjs
[21:15:39] *** proteneer has quit IRC
[21:15:44] *** Shai-Tan has joined #angularjs
[21:16:10] *** despai has quit IRC
[21:16:12] <caitp> but for the other 80% of the time, there is nothing to do
[21:16:15] *** nickgs has quit IRC
[21:16:16] <caitp> so it might as well be 100% of the time
[21:16:26] *** shinnya has joined #angularjs
[21:16:34] <caitp> i'd be working on angular 2 if it weren't so godawful
[21:16:47] *** pHcF has quit IRC
[21:17:01] *** despai has joined #angularjs
[21:17:06] *** lsiv568 has quit IRC
[21:17:07] *** jdivock has quit IRC
[21:17:24] <thebigredgeek> I think there are mixed feelings about it all around
[21:17:39] *** jonkri has quit IRC
[21:17:43] <thebigredgeek> I am tired of browsers in general. I just wanna play with cordova/crosswalk and write stuff that feels native using JS
[21:17:45] <thebigredgeek> (personally)
[21:17:55] <thebigredgeek> ES6 + DI.JS + Whatever.
[21:17:57] *** neilff has quit IRC
[21:17:58] <caitp> i mean it's bad for hacking on it
[21:18:12] *** Aerospark has quit IRC
[21:18:12] <caitp> having to deal with dart breaking === makes hacking on it suck
[21:18:12] *** codeman has quit IRC
[21:18:15] <BahamutWC|Work> the dart + AtScript complexity?
[21:18:16] <thebigredgeek> Borked environment?
[21:18:17] * pizthewiz doesn't feel so bad now that he didn't cause thebigredgeek to vomit
[21:18:27] <thebigredgeek> ugh
[21:18:28] *** despai has quit IRC
[21:18:31] <caitp> it's not fun, it's not useful, it's just awful
[21:18:32] <thebigredgeek> Come on lets not go that far
[21:18:34] <caitp> which is really sad :(
[21:18:37] <thebigredgeek> I just didn’t publicize it
[21:18:52] <thebigredgeek> JK
[21:18:52] <thebigredgeek> l)
[21:18:54] <thebigredgeek> ;)
[21:18:56] <BahamutWC|Work> he just would publicize it in the office instead
[21:18:59] *** ximenean__ has quit IRC
[21:19:01] <thebigredgeek> Untrue
[21:19:22] *** seriema has quit IRC
[21:19:27] *** aslate has joined #angularjs
[21:19:38] <thebigredgeek> My filter in text and voice is equally thing
[21:19:39] <thebigredgeek> thin*
[21:19:43] <thebigredgeek> You know that BahamutWC :D
[21:19:47] <dllama> guys, quick question, i'm having some issues setting a scope value outside of ng-view, basically i'm tyring to show a different header based on the state, so i have directive call nav-header and it takes {{isRegistration}} as a value, but for the life of me, i can't get isRegistration to return true. I tried doing it from my registration controller, and now i put the header into its own contorller, and still returns false.
[21:19:52] *** night-owl is now known as zz_night-owl
[21:20:17] <dllama> sorry outside of ui-view
[21:20:19] *** shackleford has quit IRC
[21:20:55] *** lsiv568 has joined #angularjs
[21:20:57] *** sigurding has joined #angularjs
[21:21:05] <thebigredgeek> caitp: are they having endless internal discussions regarding direction?
[21:21:15] <dllama> can scope values be set outside of ui-view/ng-view?
[21:21:17] *** tristanp has joined #angularjs
[21:21:20] <caitp> beats me, i ahven't been going to the meetings for like 3 months
[21:21:29] <thebigredgeek> ya but it depends on where you have mounted the controller
[21:21:44] <thebigredgeek> If you mount it on the view, you need to probably put it on the parent scope
[21:21:50] *** mini has joined #angularjs
[21:21:57] <thebigredgeek> Or you could just use Controller As and have a namespace at each level to work with
[21:22:24] *** japhar81 has quit IRC
[21:22:34] *** niftylettuce has quit IRC
[21:23:07] *** jlmitch5dev has quit IRC
[21:23:14] <dllama> i'm getting Object {name: "", url: "^", views: null, abstract: true}
[21:23:20] <dllama> when logging $state
[21:23:29] *** cthrax has quit IRC
[21:23:38] *** clearcut has joined #angularjs
[21:23:58] *** aslate has quit IRC
[21:24:04] *** lolmaus has quit IRC
[21:24:20] *** juampy has quit IRC
[21:24:24] *** djvirgen1 has joined #angularjs
[21:24:28] *** camnora has joined #angularjs
[21:24:45] *** saucey has joined #angularjs
[21:25:09] <saucey> hey
[21:25:35] *** vinimdocarmo has joined #angularjs
[21:25:39] <saucey> how do u use ng-repeat inside directives?>
[21:25:55] *** camnora has quit IRC
[21:26:05] *** neilff has joined #angularjs
[21:26:37] <caitp> if replace is set to true, you don't make the ng-repeat the top level element in the template
[21:27:02] <saucey> not understanding what you mean
[21:27:15] <saucey> im trying to create a recursive tree
[21:27:21] *** julaboy has joined #angularjs
[21:27:41] <saucey> so far i have this...
[21:27:44] *** djvirgen has quit IRC
[21:28:09] *** Successful has joined #angularjs
[21:28:17] *** camnora has joined #angularjs
[21:29:53] <dllama> plnkr loading for anyone else?
[21:31:52] *** cthrax has joined #angularjs
[21:32:08] *** adamsilver has joined #angularjs
[21:32:16] <dllama> i'd make a plnk, but i can't seem to access it at the moment
[21:32:27] <adamsilver> how can i show a little label whenever an ajax request is in progress?
[21:32:49] *** pknordic_ has joined #angularjs
[21:32:59] *** recurrence has quit IRC
[21:33:09] *** codeman has joined #angularjs
[21:33:31] <mini> hey, someone on here recommended an angular book recently but I forgot the title and author's name...
[21:33:36] *** roadrunneratwast has joined #angularjs
[21:33:55] <mini> the author hangs out here a bit (I think) have any idea what the title might be?
[21:34:04] *** IvailoStoianov has quit IRC
[21:34:12] *** zlalanne has joined #angularjs
[21:34:15] *** despai has joined #angularjs
[21:34:30] <roadrunneratwast> I am having a problem with mouse event. for some reason, the first event gets called three times rather and the other two events do not respond: <input type="text" ng-mouseenter="onMouseEnter($event)" ng-mousedown="onMouseDown($event)" ng-mouseleave="onMouseLeave($event)">
[21:35:01] <roadrunneratwast> the console shows 3 jquery mouseenter events happening
[21:35:17] <roadrunneratwast> but nothing happens on mousedown or mouseleave
[21:35:26] *** jdivock has joined #angularjs
[21:35:33] <roadrunneratwast> any ideas?
[21:35:42] <snapwich> mousedown is click and mouseleave is moving the mouse outside of the bounding area, is that what you intended?
[21:35:58] *** Oddman has quit IRC
[21:36:05] *** alicefreak has quit IRC
[21:36:06] <roadrunneratwast> when i enter the region, 3 mouse enters fire
[21:36:15] <roadrunneratwast> but nothing happens during mousedown
[21:36:24] *** torartc has joined #angularjs
[21:36:25] *** sgen__ has quit IRC
[21:36:31] *** Oddman has joined #angularjs
[21:36:35] <roadrunneratwast> if i switch the order and put mousedown first of the three, then three mousedowns will fire
[21:36:59] <roadrunneratwast> 3 handlers
[21:37:16] <snapwich> not sure. do you have a plunkr?
[21:37:21] *** Aerospark has joined #angularjs
[21:37:22] *** pknordic_ has quit IRC
[21:37:51] <saucey> anyone here can help with directives
[21:37:55] <roadrunneratwast> maybe. i have to figure out how to make a generic angular plunkr
[21:38:02] *** idontgetit has quit IRC
[21:38:04] *** cheef has joined #angularjs
[21:38:16] <torartc> I am using the web audio api, where you need to have 1 audio context that the entire app has access to. What's the best way of making sure all of my directives with isolate scope have access to the page audio context. Is there a better way that throwing it on rootscope
[21:38:47] <robdubya> service
[21:38:49] *** Hestil has joined #angularjs
[21:39:08] <vinimdocarmo> service +1
[21:39:29] *** snurfery has joined #angularjs
[21:39:32] <torartc> thanks! service it is then.
[21:39:33] <snurfery> sup yall
[21:39:40] *** gunn has quit IRC
[21:39:47] *** cheef has quit IRC
[21:40:10] *** Reskp has quit IRC
[21:40:20] *** shpoont has joined #angularjs
[21:40:25] *** wa5ted is now known as oksushi
[21:40:30] *** oksushi is now known as wa5ted
[21:40:37] *** Oddman has quit IRC
[21:40:49] *** jumpstracks has quit IRC
[21:41:40] <dllama> sup
[21:42:09] *** proteneer has joined #angularjs
[21:42:17] *** jordandotdev has joined #angularjs
[21:42:18] *** mliqu has joined #angularjs
[21:43:05] *** nickgs has joined #angularjs
[21:43:12] *** sahbeewah_ has joined #angularjs
[21:43:15] *** Trow has joined #angularjs
[21:43:32] *** g33k5z has quit IRC
[21:43:37] *** Hestil has quit IRC
[21:43:38] *** g33k5z__ has joined #angularjs
[21:43:41] *** Sawbones has joined #angularjs
[21:44:31] *** jumpstracks has joined #angularjs
[21:45:02] *** Successful has quit IRC
[21:47:10] *** d0ngz has quit IRC
[21:47:41] *** Reskp has joined #angularjs
[21:48:01] *** RobinBAwesome has joined #angularjs
[21:48:21] *** foofoobar has joined #angularjs
[21:50:08] *** evotuned_ has joined #angularjs
[21:50:10] <roadrunneratwast> how do i set up my plunkr for angular? i get :undefined is not a function"
[21:50:20] <oniijin> click link in topic
[21:50:25] *** zivester has quit IRC
[21:50:30] *** JSAdam has joined #angularjs
[21:50:53] <caitp> you aren't correctly defining your module
[21:50:55] *** neilff has quit IRC
[21:51:07] <caitp> I think the "undefined is not a function" thing is a bug in plunkr, seems like a new one
[21:51:28] *** ron1 has joined #angularjs
[21:51:31] *** nfroidure has quit IRC
[21:51:44] *** neilff has joined #angularjs
[21:52:05] <roadrunneratwast> thanks caitp
[21:52:07] <zbzzn_> that undefined.... is never a function
[21:52:08] <ron1> how do i have the key of an object show in the select option, but have the whole object as the value of the model
[21:52:13] <roadrunneratwast> well. it works in my plunkr
[21:52:21] *** jheady has joined #angularjs
[21:52:22] <roadrunneratwast> so why isn't it working in my code ...
[21:52:26] <roadrunneratwast> hmmmmmmmm
[21:52:34] <caitp> maybe you're preventing default somewhere that happens before mousedown
[21:52:44] *** jheady has left #angularjs
[21:52:51] <jaawerth> caitp: Hey, question for you - I'm currently trawling parseProvider to see if I can spot the bit that applys bindOnce to the "::" prefix but haven't had any luck so far - am I looking in the wrong place?
[21:52:58] *** Aliks has joined #angularjs
[21:53:23] *** evotuned has quit IRC
[21:54:07] *** mlpug has quit IRC
[21:54:10] *** nickgs has quit IRC
[21:54:13] <jaawerth> ahh, reading comprehension fail
[21:54:25] <caitp> it sets up watch delegate stupidness
[21:54:35] <jaawerth> missed it on my first, skimming pass, hadn't reached it on my second. thanks!
[21:55:07] *** evotuned_ has quit IRC
[21:55:11] <jaawerth> ah, and it's referred to as "oneTime"
[21:55:41] *** zivester has joined #angularjs
[21:55:42] *** Lewix has quit IRC
[21:55:48] <jaawerth> caitp: not a fan of it, then?
[21:55:54] *** deranged has quit IRC
[21:55:54] <caitp> it's terrible
[21:55:55] *** mokush has joined #angularjs
[21:56:25] *** bmac has quit IRC
[21:56:26] *** allegary is now known as allegary`away
[21:56:34] <caitp> make sure you don't use it because you think it will make your app faster
[21:56:44] <caitp> only use it if it makes sense to use it, because it definitely won't make your app faster
[21:56:46] <jaawerth> reading it now
[21:56:51] *** sigurding has quit IRC
[21:56:52] *** ChadStrat has joined #angularjs
[21:56:59] <saucey> hey guys how do i make a directive tree
[21:57:00] <jaawerth> it certainly seems like a lot of overhead
[21:57:20] <jaawerth> seems like I'd be better off using a regular watch that just deregisters itself
[21:57:47] *** roadrunneratwast has quit IRC
[21:57:54] <jaawerth> caitp: This is good to know. I'd been using it in my code more and more lately
[21:58:11] *** Reskp has quit IRC
[21:58:15] <snapwich> how does it make sense to use it for anything other than performance? i thought that was the only use-case
[21:58:23] *** pspfolio has joined #angularjs
[21:58:34] <jaawerth> non-idempotent functions
[21:58:35] *** deranged has joined #angularjs
[21:59:01] *** nickgs has joined #angularjs
[21:59:02] <snapwich> hrmm, i guess that's true. never thought of that
[21:59:26] <jaawerth> this really doesn't seem like the easiest/best way to accomplish this
[21:59:26] <Sawbones> Has anyone had any performance problems just using react to build directives for their multipage site?
[21:59:30] <Sawbones> Sorry
[21:59:34] <Sawbones> lol I meant angular*
[21:59:45] <jaawerth> ProLoser's idea for namedspaced watchers seems like a better match, albeit harder to implement well
[22:00:14] *** __danimal__ has joined #angularjs
[22:01:43] <caitp> actually, non-idempotent functions would still not work with it
[22:02:00] <caitp> the only use case is if you really need a view not to change, but still want to change the variables
[22:02:00] *** TheAceOfHearts has joined #angularjs
[22:02:07] <jaawerth> ugh
[22:02:23] <jaawerth> but there are otherways you can do that
[22:02:28] <caitp> the feature doesn't really make a lot of sense and introduces a lot of things that I don't like
[22:02:31] *** julaboy has quit IRC
[22:02:33] <caitp> but, that's what we have :d
[22:02:47] *** mtho11-lunch is now known as mtho11
[22:02:50] *** Lewix has joined #angularjs
[22:02:50] *** Lewix has joined #angularjs
[22:02:52] <jaawerth> and why can't you just make the one-time watchers deregister themselves after they run?
[22:02:58] <jaawerth> wouldn't that accomplish the same goal without as much overhead?
[22:03:04] *** pspfolio has quit IRC
[22:03:05] <caitp> they do unwatch themselves
[22:03:09] <jaawerth> well yeah
[22:03:09] *** encryptd_fractl has quit IRC
[22:03:11] <caitp> the problem is that the unwatching is expensive
[22:03:17] <caitp> so here's what happens
[22:03:36] <caitp> the watch delegates crap was introduced to do all of the administrative checks to figure out when to unwatch
[22:03:37] *** Reskp has joined #angularjs
[22:03:43] *** jumpstracks has quit IRC
[22:03:43] <caitp> needless to say, the watch delegates are a terrible idea and I don't like them
[22:04:04] <jaawerth> I'm gonna have to spend some time with this code to really get a handle on it, probably
[22:04:07] <caitp> but for one time bindings, they check if the value has stabilized, which we've defined as "not undefined"
[22:04:14] <caitp> and if it's not undefined, it gets unwatched
[22:04:14] *** dman777_alter has quit IRC
[22:04:20] *** SargoDarya has joined #angularjs
[22:04:22] <jaawerth> I.. see
[22:04:24] <caitp> unwatching is expensive, unfortunately
[22:04:25] *** fedenunez has quit IRC
[22:04:26] *** pHcF has joined #angularjs
[22:04:35] *** julaboy has joined #angularjs
[22:04:37] *** ingsoc has quit IRC
[22:04:39] <jaawerth> sure, but you only have to do it once!
[22:04:46] <caitp> so we have these administrative checks with high overhead that perform until they decide they need to do this expensive unwatching operation
[22:04:52] <jaawerth> sucks about non-idempotent functions, though
[22:05:07] <jaawerth> yeah, that's bad
[22:05:16] *** aven1 has joined #angularjs
[22:05:24] <caitp> if you have a few thousand of these on a page, it's baaaad
[22:05:31] <caitp> i am not a fan of the implementation
[22:05:45] *** deranged has quit IRC
[22:05:53] *** Sadin has joined #angularjs
[22:06:06] <caitp> but it's what we have, because nobody listens to me :>
[22:06:12] <jaawerth> the reason I wanted to find the code is that I want to tinker with namespaced watchers as an experiment (and potentially integrating a little Object.observe polyfill I wrote for IE9+)
[22:06:39] <jaawerth> caitp: what were you in favor of?
[22:06:53] <caitp> i'm in favour of improving the dirty checking algorithm
[22:07:13] <jaawerth> well that certainly makes sense
[22:07:36] *** annlewis has joined #angularjs
[22:07:50] *** eago has joined #angularjs
[22:07:51] <jaawerth> it's hard to do well, though
[22:07:58] <jaawerth> in that sense, it's well-named :P
[22:08:07] <caitp> sure it is, but it makes a lot more sense than introducing terrible hacks with poor performance
[22:08:11] <caitp> that makes debugging impossible
[22:08:18] <jaawerth> true
[22:08:20] *** Reskp has quit IRC
[22:08:35] <caitp> there are like 3 different hooks for watches that all make it way more complicated than it should be without really solving any problems
[22:09:05] *** nickgs has quit IRC
[22:09:07] *** joroc has quit IRC
[22:09:10] *** annlewis has quit IRC
[22:09:24] *** annlewis has joined #angularjs
[22:09:25] <caitp> anyways I'm going to get yelled at if I keep criticizing this codebase because I might hurt peoples feelings if I say that certain things are less than good
[22:09:45] <oniijin> tell them to sack up and quit being sissies
[22:09:47] <caitp> so it's time to change the topic to something we can all agree on
[22:09:49] *** SargoDarya has quit IRC
[22:09:55] <caitp> guava
[22:10:06] <jaawerth> well, thanks for being frank with me about it, it's helpful
[22:10:22] *** Sadin has quit IRC
[22:10:35] <oniijin> o i drank a bunch of scotch the other day. tasted like smoldering swamp trees in my mouth
[22:10:56] <caitp> that doesn't sound that great actually onii
[22:11:05] <caitp> what were you drinking?
[22:11:06] *** deranged has joined #angularjs
[22:11:07] <jaawerth> I like scotch, but I'm a rye guy
[22:11:20] <oniijin> macallan 18
[22:11:33] <oniijin> glenmorgan 12
[22:11:34] *** IJNX has joined #angularjs
[22:11:35] *** lsiv568 has quit IRC
[22:11:35] *** cornerma1 has joined #angularjs
[22:11:38] *** allegary`away is now known as allegary
[22:11:41] *** nya has quit IRC
[22:11:48] *** pzuraq has quit IRC
[22:11:49] <caitp> mmm, you think the 18 years adds any distinctive flavours (in a good way), or just swamp?
[22:11:50] <oniijin> er glenmorangian?
[22:11:58] <caitp> i got my dad some 18 year scotch for christmas, hoping he likes it
[22:12:14] <oniijin> the 18 was good, the swamp was the ardbeg
[22:12:21] <caitp> ah
[22:12:23] *** lexek_ has quit IRC
[22:12:24] <oniijin> literally like someone pumped swamp water into my face
[22:12:33] <caitp> that sounds terrible
[22:12:35] <oniijin> a swamp that recently had a catastrophic fire
[22:12:46] *** Aliks has quit IRC
[22:13:00] <oniijin> the macallan 18 was good
[22:13:12] <oniijin> also I drank all of these back to back so wasnt tasting much by the end
[22:13:23] <oniijin> then I had absinthe afterwards
[22:13:25] *** cornerman has quit IRC
[22:13:31] *** cornerma1 is now known as cornerman
[22:13:31] <nickeddy> then oniijin died
[22:13:33] <caitp> what kinda party was this
[22:13:38] <oniijin> lol
[22:13:57] *** allegary is now known as allegary`away
[22:14:01] *** allegary`away is now known as allegary
[22:14:05] *** whunt has joined #angularjs
[22:14:12] <oniijin> friend came to visit, went to one of my favorite speakeasy bars in austin
[22:14:19] *** annlewis has quit IRC
[22:14:48] <oniijin> i was all like, what would caitp do? o right, drink all the scotch.
[22:15:12] <caitp> so it was probably bootleg moonshine from louisiana or something
[22:15:18] <caitp> that explains the swamp flavour
[22:15:18] *** Hestil has joined #angularjs
[22:15:32] <oniijin> haha nah it's all quality stuff
[22:16:03] *** deranged has quit IRC
[22:16:07] <oniijin> pretty sure a place that has macallan 18, and it being like mid level for the place, isn't going to be serving moonshine
[22:16:10] *** nickgs has joined #angularjs
[22:16:39] *** Oddman has joined #angularjs
[22:16:44] *** laurensclaessen has joined #angularjs
[22:16:44] <robdubya> oniijin did you go to that speakeasy place that's down on 6th? with the dim lighitng and shit
[22:16:51] <dllama> can anyone suggest ways to encrypt stuff being stored in session?
[22:17:00] <oniijin> robdubya i think it's on 3rd. peche
[22:17:06] <oniijin> i dont go to dirty 6
[22:17:12] *** jlebrech has joined #angularjs
[22:17:37] *** mini has quit IRC
[22:17:37] *** shampine has quit IRC
[22:18:04] <oniijin> it's on 4th st
[22:18:07] *** deranged has joined #angularjs
[22:18:12] <caitp> hey you never know oniijin, they'll serve what people buy
[22:18:29] *** sonofdirt has quit IRC
[22:18:34] <oniijin> lol nah, they dont even have beer. and a lot of people want beer
[22:18:38] *** ngbot has joined #angularjs
[22:18:38]
<ngbot> [angular.js] jeffbcross created g3_v1_4 from g3_v1_3 (+0 new commits): http://git.io/w0jCqQ
[22:18:38] *** ngbot has left #angularjs
[22:18:43] <dllama> the data i'm storing is semi-sensitive, i think base64 should be enough, since its just session data, i hope i'm not mistaken in thinking it should expire when the session ends. would base64 cause any noticeable performance issues?
[22:19:04] <nickeddy> dllama: that's not encryption
[22:19:09] <nickeddy> dllama: that's just encoding to another base
[22:19:10] *** elrabin_ has quit IRC
[22:19:18] *** mrru has quit IRC
[22:19:20] <dllama> for my purpose its enough
[22:19:23] <oniijin> lolol
[22:19:24] *** fotoflo has joined #angularjs
[22:19:31] <dllama> i jsut dont want it clearly visible
[22:19:39] *** scythe__ has quit IRC
[22:19:43] *** elrabin has joined #angularjs
[22:19:43] <dllama> i jsut want some data to persist through out the site even if they refresh
[22:19:55] *** proteneer_ has joined #angularjs
[22:20:03] <dllama> keeping it in a service, still clears out if they refresh
[22:20:12] *** elrabin has quit IRC
[22:20:21] *** proteneer has quit IRC
[22:20:22] *** proteneer_ is now known as proteneer
[22:20:47] <nickeddy> dllama: okay, just making sure you understand that that isn't protecting whatever data you're storing anyway
[22:20:58] <oniijin> nickeddy it's unbreakable dood
[22:21:00] *** julaboy_ has joined #angularjs
[22:21:08] *** elrabin has joined #angularjs
[22:21:10] <oniijin> ftknox.js
[22:21:27] *** Sawbones_ has joined #angularjs
[22:21:35] <dllama> just for registration process, user enters how many loans they have, what their approximate total payment amount is, etc.
[22:21:38] *** sonofdirt has joined #angularjs
[22:21:52] *** jlebrech has quit IRC
[22:21:52] *** Sawbones has quit IRC
[22:22:05] *** nemothekid has quit IRC
[22:22:07] *** roadrunneratwast has joined #angularjs
[22:22:20] <dllama> and when they click next, it goes from form onhome page to the actual registration page, where i'm carrying the data over in a service, but if they refresh the page, i dont want it to skew the UI
[22:22:20] *** TheAceOfHearts has quit IRC
[22:22:23] *** tschundeee has joined #angularjs
[22:22:28] *** ChadStrat has quit IRC
[22:22:43] *** jacuqesdancona has joined #angularjs
[22:22:44] *** julaboy has quit IRC
[22:23:22] <oniijin> if it doesnt persist past session dunno y it matters if it's plaintext
[22:23:22] *** jaredwilli has quit IRC
[22:23:23] *** deranged has quit IRC
[22:23:23] <nickeddy> well it really doesn't matter if it's plaintext if you're just base64 encoding it
[22:23:31] *** chrisbirk has joined #angularjs
[22:23:32] <nickeddy> literally 0 protection gained from that
[22:23:36] <dllama> thats a good point
[22:24:16] <oniijin> that's what im sayin. who cares
[22:24:27] <oniijin> adding an extra step for basically no gain
[22:24:37] *** deranged has joined #angularjs
[22:24:48] <dllama> alright
[22:24:48] *** Laserbeak has joined #angularjs
[22:25:34] *** seriema has joined #angularjs
[22:25:50] *** dmack has quit IRC
[22:25:52] *** ngbot has joined #angularjs
[22:25:52]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 3d78bf3 to 47a55ca: http://git.io/ejE05g
[22:25:53] *** ngbot has left #angularjs
[22:26:40] *** shackleford has joined #angularjs
[22:26:57] *** ngbot has joined #angularjs
[22:26:58]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 47a55ca to eae848a: http://git.io/3WlHSw
[22:26:58] *** ngbot has left #angularjs
[22:26:59] *** pzuraq has joined #angularjs
[22:27:07] *** gunn has joined #angularjs
[22:27:14] *** tschundeee has quit IRC
[22:27:14] *** jacuqesdancona has quit IRC
[22:27:18] *** shackleford has joined #angularjs
[22:27:21] *** ejb has quit IRC
[22:27:50] *** bmac has joined #angularjs
[22:27:58] *** doodlehaus has joined #angularjs
[22:28:11] *** ngbot has joined #angularjs
[22:28:11]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from eae848a to 2caec44: http://git.io/RXYgUg
[22:28:11] *** ngbot has left #angularjs
[22:28:56] *** nickgs has quit IRC
[22:29:14] *** ngbot has joined #angularjs
[22:29:14]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 2caec44 to c139e68: http://git.io/Po1IYQ
[22:29:15] *** ngbot has left #angularjs
[22:29:15] *** elrabin has quit IRC
[22:29:20] *** Reskp has joined #angularjs
[22:29:40] *** mikehaas763 has quit IRC
[22:30:06] *** ChadStrat has joined #angularjs
[22:30:18] *** ngbot has joined #angularjs
[22:30:18]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from c139e68 to 3a8f3dc: http://git.io/toy2LQ
[22:30:19] *** ngbot has left #angularjs
[22:30:30] *** seriema has quit IRC
[22:31:18] *** ngbot has joined #angularjs
[22:31:18]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 3a8f3dc to 4c8d8ad: http://git.io/QMdQsw
[22:31:18] *** ngbot has left #angularjs
[22:31:50] *** elrabin_ has joined #angularjs
[22:32:08] *** zwacky has quit IRC
[22:32:09] <jaawerth> huh, looks like it shouldn't actually be too hard to patch in ES5 getter/setter as a scope.$watch replacement in $parse
[22:32:24] *** ngbot has joined #angularjs
[22:32:24]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 4c8d8ad to aab632b: http://git.io/Y2kgzA
[22:32:24] *** ngbot has left #angularjs
[22:33:13] *** JSAdam has quit IRC
[22:33:23] *** Pro| has joined #angularjs
[22:33:29] *** ngbot has joined #angularjs
[22:33:30]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from aab632b to 7b9b822: http://git.io/KWqQtw
[22:33:30] *** ngbot has left #angularjs
[22:33:39] <Pro|> $scope.value = valueShouldBeWhatThisReturns();
[22:33:39] *** roadrunneratwast has quit IRC
[22:33:41] <Pro|> how can i do that?
[22:33:45] <Pro|> or should it work that wa
[22:33:46] <Pro|> y
[22:33:54] <jaydubya> I have an ng-grid on my landing page and a drop-down menu for the whole site above it. The dropdown menu drops down under the header bar of the grid so a block of 24px is blocked of the main nav. I have put z-indexes on EVERYTHING I could see in the console. Is there some voodoo by ng-grid to be always on top?
[22:34:36] *** ngbot has joined #angularjs
[22:34:37]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 7b9b822 to c85d064: http://git.io/JTOEqw
[22:34:37] *** ngbot has left #angularjs
[22:34:44] *** startupality has joined #angularjs
[22:34:52] <jaawerth> Pro|: well, that'll just copy the value returned by that function at execution time over to a scope property when you execute it. Is that what you want, or do you want the value to be consistent?
[22:35:14] *** CrashHD has left #angularjs
[22:35:15] <jaawerth> Pro|: er taht is, or do you want the value to be persistently updating?
[22:35:22] *** joroc has joined #angularjs
[22:35:25] <Pro|> just once
[22:35:25] *** ejb has joined #angularjs
[22:35:30] *** ngbot has joined #angularjs
[22:35:31] *** ngbot has left #angularjs
[22:35:31] <jaawerth> oh, then that will work, sure
[22:35:47]
<digilink> hey guys... beginner here.. trying to make something work in angular for learning purposes and it's not for some reason. I am trying to build a weather app that will call an API, but for whatever reason my custom module won't load and it stops there before I can continue on with the rest of my work. All the examples I've looked at suggest I'm doing it correctly, but stumped: http://plnkr.c
[22:35:49] <digilink> o/edit/2Rx1t98T1aBfwAjfX4um?p=preview
[22:35:50] <jaawerth> $scope has a lot of stuff gong on, but at its core it's still just a javascript object on which you can set properties
[22:35:53] <Pro|> ok thanks then something else is wrong
[22:36:20] *** marr has joined #angularjs
[22:37:17] *** startupality has quit IRC
[22:37:23] <jaawerth> digilink: you need to bootstrap/initialize your application, easiest way is with the ng-app="yourCoreModule"
[22:37:30] <jaawerth> digilink: on, say, the <body> tag
[22:37:39] <jaawerth> (or on whatever root element you want angular to bootstrap from)
[22:37:43] *** nycdevgirl has joined #angularjs
[22:38:14] <digilink> ahh.. forgot about that... I do have that on my locally edited app, so I will try it
[22:38:19] *** drag0nius has quit IRC
[22:38:29] *** __danimal__ has quit IRC
[22:38:37] <BahamutWC|Work> I just do it on the html element
[22:38:55] *** aven1 has quit IRC
[22:38:56] *** msg has joined #angularjs
[22:39:04] <jaawerth> I usually do the same
[22:39:07] <jaawerth> depending
[22:39:15] *** proteneer_ has joined #angularjs
[22:39:19] *** proteneer has quit IRC
[22:39:19] *** proteneer_ is now known as proteneer
[22:39:26] *** recurrence has joined #angularjs
[22:39:53] *** in2rd has quit IRC
[22:40:23] *** rikko has joined #angularjs
[22:40:31] *** FIFOd[a] has quit IRC
[22:42:04] <Pro|> $scope.hi = test(); function test() { return "hi" }
[22:42:05] *** elrabin_ has quit IRC
[22:42:09] <Pro|> how come scope hi isn't "hi"
[22:42:11] *** doodlehaus has quit IRC
[22:42:28] *** Sadin has joined #angularjs
[22:42:35] <jaawerth> it should be
[22:42:38] <saucey> can anyone how i can modify this code
[22:42:42] *** elrabin has joined #angularjs
[22:42:42] *** startupality has joined #angularjs
[22:42:43] *** juanpablo_______ has quit IRC
[22:42:52] *** juanpablo_ has joined #angularjs
[22:42:56] *** Sadin has joined #angularjs
[22:43:11] <saucey> i want to created class on only the parent that has children so i can style it with bootstrap
[22:43:12] *** thebigredgeek has quit IRC
[22:43:14] <saucey> any ideas?
[22:44:19] <icfantv> saucey: so if a parent has children you want the parent styled?
[22:44:22] <oniijin> aw i was just gonna do that jaawerth
[22:44:27] <icfantv> saucey: or the children styled
[22:44:28] <saucey> yea
[22:44:34] <jaawerth> oniijin: too slow!
[22:44:47] <saucey> i want to style both essentially
[22:44:49] <oniijin> too busy adding dicknballs
[22:45:08] <jaawerth> that's your fatal flaw
[22:45:16] <oniijin> im always tryin to add in some balls
[22:45:21] <saucey> but how do i do the checks?
[22:45:21] <oniijin> cant help it
[22:45:49] <jaawerth> saucey: what kind of element is parent?
[22:45:57] <icfantv> saucey: there is no parent selector in CSS
[22:45:59] <jaawerth> do you mean children in the DOM sense?
[22:46:07] <saucey> yea
[22:46:14] *** laurensclaessen has quit IRC
[22:46:21] <jaawerth> well you could write a directive
[22:46:24] <icfantv> saucey: can you give us an HTML snippet? are all the children the same dom element?
[22:46:33] <saucey> but i need to give the parent of them children a class to create the drop down
[22:46:42] <jaawerth> and in the directive code, you could look at element.children().length, that should work in theory
[22:46:54] <saucey> il send you a pastie one sec
[22:47:02] <icfantv> saucey: yea, what jaawerth said. do this in a directive
[22:47:07] * icfantv likes pasties
[22:47:09] *** evilaliv4 has joined #angularjs
[22:47:57] *** AngularUI has joined #angularjs
[22:47:57] <AngularUI> ng-grid/master a547a52 Brian Hann: feat(uiGridRow): Allow dynamic row templates...
[22:47:57] <AngularUI> ng-grid/master 64d3918 Brian Hann: fix(uiGridRow): Fix memory leak...
[22:47:58] <AngularUI> ng-grid/master ed95cfe Brian Hann: Merge branch 'feat-row-templates'
[22:47:58] *** AngularUI has left #angularjs
[22:47:59] <oniijin> pasties = things that go over stripper nipples at crappy clubs
[22:48:50] <jaawerth> digilink: that plunk still has neither ng-app nor the angular code included with it
[22:48:58] <oniijin> lol
[22:48:59] <saucey> jaawerth
[22:48:59] *** zbzzn_ has quit IRC
[22:49:13] <digilink> oops... forgot to save
[22:49:16] <digilink> refresh :D
[22:49:24] *** morenoh149 has quit IRC
[22:49:29] <saucey> can u check that snippet out
[22:49:30] *** proteneer has quit IRC
[22:49:48] <jaawerth> wait, so you're adding children by ng-repeating over an array?
[22:49:54] <saucey> in the link how do i change the template to have class if it contains children?
[22:50:28] *** qdk has joined #angularjs
[22:50:29] <saucey> yes this was the closest example to what i was lookinf for!
[22:50:31] <jaawerth> then you can just use ng-class="{hasChildren: collection.length > 0}" and call it good, no custom directive code necessary
[22:50:42] *** evilaliv3 has quit IRC
[22:50:59] *** deranged has quit IRC
[22:51:14] <saucey> were do i place this?
[22:51:21] <jaawerth> in the template
[22:51:41] <jaawerth> you don't even need a special directive for it unless you want to turn it into a resuable component and/or add other custom DOM code
[22:52:10] *** evilaliv3 has joined #angularjs
[22:52:12] *** evilaliv4 has quit IRC
[22:52:19] *** dmack has joined #angularjs
[22:52:34] *** jumpstracks has joined #angularjs
[22:52:42] <saucey> i need it to be recursive, how else do i modify the collection?
[22:52:54] <saucey> with links and stuff which are all dynamic
[22:53:07] <saucey> i added this .... template: "<li ng-class="{hasChildren: collection.length > 0}">{{member.title}}</li>",
[22:53:10] <saucey> but didnt work
[22:53:28] *** lolmaus has joined #angularjs
[22:53:58] *** jdivock has quit IRC
[22:54:08] *** dc_ has quit IRC
[22:55:27] *** phrozensilver has joined #angularjs
[22:55:43] *** arpu has quit IRC
[22:55:51] *** ahmetkapikiran has joined #angularjs
[22:56:35] *** spatialbrew has quit IRC
[22:56:55] *** uuuuuu7 has joined #angularjs
[22:57:02] *** jdivock has joined #angularjs
[22:57:05] *** icholy has quit IRC
[22:58:11] *** pizthewiz has left #angularjs
[22:58:30] <uuuuuu7> рубль по 55 уже о_0
[22:58:40] *** proteneer has joined #angularjs
[22:58:53] *** gunn has quit IRC
[22:58:54] *** djvirgen1 has quit IRC
[22:59:20] *** tyson2 has quit IRC
[22:59:43] *** uuuuuu7 has quit IRC
[22:59:48] *** that has joined #angularjs
[23:00:02] *** djvirgen has joined #angularjs
[23:00:07] *** kakashiA1 has quit IRC
[23:00:28] *** djvirgen has quit IRC
[23:00:58] *** djvirgen has joined #angularjs
[23:00:59] *** annlewis has joined #angularjs
[23:01:10] <that> what is a good e2e testing framework that takes advantage of karma cross-browser testing?
[23:02:47] *** Siecje has left #angularjs
[23:02:48] *** djvirgen has quit IRC
[23:03:05] *** encryptd_fractl has joined #angularjs
[23:03:11] *** dylan9o4 has joined #angularjs
[23:03:22] *** z3n1 has joined #angularjs
[23:03:36] *** ximenean__ has joined #angularjs
[23:03:57] <dylan9o4> Can anyone help me with my application? I must be misunderstanding how scopes work with ng-repeat because it isn't working for me
[23:04:00] *** jonatas_oliveira has quit IRC
[23:04:16] *** ejb has quit IRC
[23:04:53] *** Aliks has joined #angularjs
[23:05:24] *** aven1 has joined #angularjs
[23:05:34] *** ehalas_ has joined #angularjs
[23:05:49] *** dmack has quit IRC
[23:06:28] *** z3n2 has joined #angularjs
[23:06:33] *** sammych2 has joined #angularjs
[23:06:37] *** ehalas has quit IRC
[23:06:37] *** ehalas_ is now known as ehalas
[23:06:37] *** recurrence has quit IRC
[23:07:06] *** SargoDarya has joined #angularjs
[23:07:10] *** phrozensilver has quit IRC
[23:07:47] *** one_zero has joined #angularjs
[23:07:48] *** ximenean__ has quit IRC
[23:07:52] *** joroc has quit IRC
[23:08:44] *** proteneer has quit IRC
[23:08:50] <Foxandxss> dylan9o4: every item has a new scope
[23:09:27] *** aesinv has quit IRC
[23:09:33] *** MetaCosm has joined #angularjs
[23:10:02] <dylan9o4> Foxandxss: yes, and even when i try ng-repeat="item in $parent.array" it still doesn't work
[23:10:06] <jaawerth> digilink: you have to pick a module for your ng-app that 1) actually exists in the app and 2) is the root module of your app
[23:10:20] <Foxandxss> dylan9o4: $parent is never a good sign
[23:10:48] <dylan9o4> well it is the controller variable im trying to iterate Foxandxss
[23:10:53] *** proteneer has joined #angularjs
[23:11:06] <sammych2> Does AngularJS have any issues with Windows 8.1 webviews and innerHTML ?
[23:11:48] *** mmeallin_ has joined #angularjs
[23:11:56] <Foxandxss> dylan9o4: still, bad sign
[23:11:56] *** mmeallin_ has quit IRC
[23:11:57] *** ivor has quit IRC
[23:11:58] <caitp> because JScript is really different from web browsers
[23:12:04] <Foxandxss> you don't need to do $parent for controller access
[23:12:11] *** cotko has joined #angularjs
[23:12:11] *** nickgs has joined #angularjs
[23:12:12] <caitp> and we don't explicitly support it or verify that it works
[23:12:56] <caitp> not jscript, but that particular JS environment
[23:13:05] <caitp> of windows store apps
[23:13:18] <caitp> they have their own weird version of CSP that nobody else implements
[23:13:26] <caitp> that does crazy things
[23:13:33] <jaawerth> and their own open source libraries for it, IIRC
[23:13:34] <caitp> so yeah that's basically why
[23:13:34] <Foxandxss> I prefer to see code dylan9o4
[23:13:54] *** leolrrj has quit IRC
[23:14:08] *** roadrunneratwast has joined #angularjs
[23:14:14] *** startupality has quit IRC
[23:14:22] *** shampine has joined #angularjs
[23:14:23] *** shampine has joined #angularjs
[23:14:42] *** deranged has joined #angularjs
[23:14:43] *** that has quit IRC
[23:14:49] *** mmealling has quit IRC
[23:15:26] *** JesseH has quit IRC
[23:15:33] *** sammych2 has quit IRC
[23:16:16] *** BillCriswell has quit IRC
[23:17:25] <Foxandxss> dylan9o4: not sure what I have to see there but for starting
[23:17:31] *** JeffBuhrt has left #angularjs
[23:17:32] <Foxandxss> DOM manipulation in controller is a big no
[23:17:45] *** grogs has joined #angularjs
[23:17:58] *** mdedetrich has joined #angularjs
[23:18:39] *** camnora has quit IRC
[23:18:57] *** jlmitch5dev has joined #angularjs
[23:19:55] *** deranged has quit IRC
[23:20:21] *** proteneer has quit IRC
[23:20:28] *** jdivock has quit IRC
[23:20:31] *** jlmitch5_ has joined #angularjs
[23:20:32] *** Dido has joined #angularjs
[23:20:38] *** morenoh149 has joined #angularjs
[23:20:43] *** julaboy_ has quit IRC
[23:20:44] *** ehalas has quit IRC
[23:21:36] *** evanjs has quit IRC
[23:21:54] *** pknordic_ has joined #angularjs
[23:22:09] *** nycdevgirl has quit IRC
[23:22:16] *** nickgs has quit IRC
[23:22:29] *** jdivock has joined #angularjs
[23:22:39] *** SargoDarya has quit IRC
[23:22:58] *** Trindaz has joined #angularjs
[23:23:23] *** jlmitch5dev has quit IRC
[23:23:53] *** Val_ has joined #angularjs
[23:24:52] *** msg has quit IRC
[23:24:54] *** startupality has joined #angularjs
[23:25:00] <sammych> caitp: thanks. in a non-angular app I have, I worked around it by modifying/wrapping jQuery.support so that innerHTML was allowed. So, wondering if there was something similar
[23:25:43] *** Aliks has quit IRC
[23:25:59] *** h0ru5 has quit IRC
[23:26:16]
<Val_> i'm trying to use an orderBy filter, passing to it an array of predicates, some of which are functions. for some reason orderBy isn't like the functions in the array. here's a quick jsfiddle with this: http://jsfiddle.net/zjvsu/286/
[23:26:26] *** pknordic_ has quit IRC
[23:27:01] *** fotoflo has quit IRC
[23:27:22] *** fotoflo has joined #angularjs
[23:27:38] *** annlewis has quit IRC
[23:28:03] *** neoadventist has joined #angularjs
[23:29:30] *** FunnyLookinHat has quit IRC
[23:30:32] *** loverajoel has quit IRC
[23:31:19] *** sahbeewah_ has quit IRC
[23:31:38] *** sammych1 has joined #angularjs
[23:31:56] *** ron1 has quit IRC
[23:32:00] *** sammych has quit IRC
[23:32:59] *** Sawbones_ has quit IRC
[23:33:23] <jaawerth> Val_: if you use a string, it's going to look for that string as a property. IE, you need to reference the function directly
[23:33:32] *** z3n2 is now known as phrozensilver
[23:35:07] <Val_> jaawerth: i tried that. then it just doesn't display anything at all
[23:35:21] *** joroc has joined #angularjs
[23:35:32] *** JesseH has joined #angularjs
[23:35:56] *** sebhoss has quit IRC
[23:36:38] *** nickgs has joined #angularjs
[23:37:00] *** jdivock has quit IRC
[23:37:06] *** g33k5z__ has quit IRC
[23:37:32] *** g33k5z has joined #angularjs
[23:37:43] *** danecando has quit IRC
[23:37:48] *** moogey has quit IRC
[23:37:53] *** cotko has quit IRC
[23:38:10] *** MuffinMan` has joined #angularjs
[23:38:35] <jaawerth> Val_: you need to assign your function to scope before you reference it in the order array
[23:38:51] *** KushS has quit IRC
[23:39:06] <jaawerth> Val_: unless you define the function with an actual name. here, let me update (also for future reference, plnkr is way better than jsfiddle :P )
[23:39:07] *** aven1 has quit IRC
[23:39:16] *** Nivag_ has joined #angularjs
[23:39:42] *** livingstn has quit IRC
[23:40:07] *** neilff has quit IRC
[23:40:33] <Val_> jaawerth: yeah, i didn't create the original fiddle, found it as an example. but isn't it defining the function in the scope, e.g.: $scope.myValueFunction = function(card) {...
[23:40:57] *** nickgs has quit IRC
[23:41:40] *** shyshy has quit IRC
[23:41:49] *** g33k5z has quit IRC
[23:42:03] <jaawerth> Val_: yeah, but you're trying to reference it in the array before you define it, and you're doing so as an anonymous function, so it isn't going to pull to the top of your current closure unless you actually define it as a named function like I do in the updated example
[23:42:36] <jaawerth> Val_: in other words, another solution here would have been to do $scope.order = [$scope.myValueFunction] and move it to the bottom
[23:42:56] *** TheAceOfHearts has joined #angularjs
[23:43:17] <Val_> ah, doh! thanks
[23:43:19] <jaawerth> sure
[23:43:33] *** Aerospark has quit IRC
[23:43:33] <jaawerth> using named functions also has the benefit of making debugging easier, since it will show up in any stacktrace
[23:43:37] *** quantax- has quit IRC
[23:45:50] *** zz_night-owl is now known as night-owl
[23:45:58] *** joshontheweb has joined #angularjs
[23:46:36] *** g33k5z has joined #angularjs
[23:46:37] *** JesseH has quit IRC
[23:46:57] <saucey> whats the best way of doing a tree recursive?
[23:47:01] *** Browser has joined #angularjs
[23:47:12] *** Menorah has quit IRC
[23:47:15] <saucey> this topics had me baffled for for a few days now
[23:47:20] *** mokush has quit IRC
[23:47:22] <saucey> what approach do i take
[23:47:53] *** ries has quit IRC
[23:49:20] *** ngbot has joined #angularjs
[23:49:20]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_4 from 3d78bf3 to 47a55ca: http://git.io/ejE05g
[23:49:20] *** ngbot has left #angularjs
[23:49:44] *** g33k5z has quit IRC
[23:50:05] *** neilff has joined #angularjs
[23:50:58] *** soee_ has joined #angularjs
[23:51:12] *** proteneer has joined #angularjs
[23:51:27] *** MuffinMan` has quit IRC
[23:51:33] *** proteneer has quit IRC
[23:51:37] *** fixl has quit IRC
[23:51:45] <fotoflo> actually, thats not true, my whole sort is messed up. maybe a bigger problem...
[23:52:04] *** startupality has quit IRC
[23:52:13] *** grogs has quit IRC
[23:52:28] *** zlalanne has quit IRC
[23:52:29] *** pen has quit IRC
[23:52:46] *** nahoskins has joined #angularjs
[23:52:50] *** annlewis has joined #angularjs
[23:52:52] *** jtimon has quit IRC
[23:53:02] <fotoflo> or rather a smaller problem :-) fixed
[23:53:13] <nahoskins> suggestions on user generated templates..?
[23:53:20] <nahoskins> is such a thing feasible with angular
[23:53:37] *** torartc has quit IRC
[23:53:46] *** sonofdirt has quit IRC
[23:53:50] <nahoskins> I have a backend API communicating user data and need to allow users to generate their own templates around that data
[23:54:07] <nahoskins> how much of a headache is this
[23:54:20] *** Aliks has joined #angularjs
[23:54:44] *** soee has quit IRC
[23:54:46] <nahoskins> I am failing to find anything but references to angular templates with my choice of google keywords
[23:54:50] <nahoskins> go figure
[23:54:56] *** laurensclaessen has joined #angularjs
[23:55:02] *** saucey has quit IRC
[23:55:45] *** vinimdocarmo has quit IRC
[23:57:16] *** ngbot has joined #angularjs
[23:57:16]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_4 from 47a55ca to eae848a: http://git.io/3WlHSw
[23:57:17] *** ngbot has left #angularjs
[23:58:16] *** bmac has quit IRC
[23:58:20] *** Lewix has quit IRC
[23:59:01] *** FunnyLookinHat has joined #angularjs
[23:59:08] *** chrisbirk has quit IRC
[23:59:14] *** renlo has quit IRC
[23:59:14] *** mdedetrich has quit IRC
[23:59:19] *** dan2k3k4 has quit IRC
[23:59:27] *** whitebook has joined #angularjs
[23:59:37] *** mdedetrich has joined #angularjs
[23:59:49] *** pspfolio has joined #angularjs