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

Toggle Join/Part | bottom
[00:00:01] *** michaelfavia has quit IRC
[00:00:21] *** jrowny has quit IRC
[00:00:49] *** andydrew has quit IRC
[00:01:32] *** joroci has quit IRC
[00:02:24] *** andydrew has joined #angularjs
[00:02:31] *** Sawbones has joined #angularjs
[00:02:38] *** PDogJr has joined #angularjs
[00:02:39] *** rikkipitt has joined #angularjs
[00:03:49] *** cesarkawakami has quit IRC
[00:03:53] *** joker666 has quit IRC
[00:04:54] *** darrin has joined #angularjs
[00:05:14] *** mjs2600 has joined #angularjs
[00:06:12] *** mennea has quit IRC
[00:07:33] *** g3funk has quit IRC
[00:08:37] *** Reskp has joined #angularjs
[00:08:46] *** g3funk has joined #angularjs
[00:09:19] *** zivester has joined #angularjs
[00:09:37] *** mennea has joined #angularjs
[00:09:52] *** dgncn has quit IRC
[00:13:38] *** Nizumzen has joined #angularjs
[00:13:46] *** michaelfavia has joined #angularjs
[00:14:10] *** Reskp has quit IRC
[00:15:26] *** gnrlbzik has joined #angularjs
[00:15:48] *** darrin has quit IRC
[00:15:51] *** Reskp has joined #angularjs
[00:15:55] *** anivemin has joined #angularjs
[00:16:02] *** kuniyori has joined #angularjs
[00:16:20] *** zz_night-owl is now known as night-owl
[00:16:29] *** andydrew has quit IRC
[00:16:40] *** cesarkawakami has joined #angularjs
[00:16:52] *** Sawbones has quit IRC
[00:18:10] *** knownasilya has joined #angularjs
[00:18:32] *** drej has joined #angularjs
[00:18:35] *** jrowny has joined #angularjs
[00:19:52] *** Sawbones has joined #angularjs
[00:20:00] *** gnrlbzik has quit IRC
[00:20:02] *** abstrakt has joined #angularjs
[00:20:20] *** jeffisabelle has quit IRC
[00:20:29] *** treats has joined #angularjs
[00:20:33] *** anivemin has quit IRC
[00:20:35] <treats> hi guys. I'm trying to overcome a knowledge gap. I want to understand angularjs, how you can build simple api calls, be able to build a simple webapp (I like what i've been learning with Yo and Grunt!), learn the power of libraries, leveraging github, and ultimately be able to hold deeper conversations with rockstar developers. What are one or two resources I should dive deep in? any strategies in getting up to speed will be appre
[00:21:37] *** klaut_ has quit IRC
[00:22:37] *** DrMabuse_ has joined #angularjs
[00:23:10] *** jrowny has quit IRC
[00:23:52] *** FalsePozitive has quit IRC
[00:24:38] *** doginal has quit IRC
[00:24:56] *** danecando has quit IRC
[00:25:34] *** richardlitt has joined #angularjs
[00:25:36] <Foxandxss> jaydubya: http://plnkr.co/edit/yQsXMH3fOQYTS1hKhgE0?p=preview ?
[00:26:01] *** doginal has joined #angularjs
[00:26:02] *** Reskp has quit IRC
[00:27:27] *** DrMabuse_ has quit IRC
[00:27:56] *** Reskp has joined #angularjs
[00:28:11] *** Sawbones has quit IRC
[00:28:53] *** matthoiland has joined #angularjs
[00:29:18] *** jrist has quit IRC
[00:29:32] *** hippobottamus has joined #angularjs
[00:29:39] <jaydubya> Foxandxss: what did I miss?
[00:30:46] <jaydubya> Foxandxss: nevermind, I see that I used _.reduce incorrectly
[00:31:06] *** moafoca_ has joined #angularjs
[00:31:07] *** FalsePozitive has joined #angularjs
[00:31:08] *** phuh has quit IRC
[00:31:14] <Foxandxss> yeah
[00:31:24] *** michaelfavia has quit IRC
[00:31:33] *** phuh has joined #angularjs
[00:32:33] *** Reskp has quit IRC
[00:32:36] *** kuniyori has quit IRC
[00:33:17] *** michaelfavia has joined #angularjs
[00:33:18] *** michaelfavia has joined #angularjs
[00:33:26] *** mrits has joined #angularjs
[00:33:30] *** kalehv has joined #angularjs
[00:33:34] *** matthoiland has quit IRC
[00:34:05] <themime> ...if you forgot a .length on a for loop theres no error message :(
[00:34:17] <themime> and then you spend 30m figuring out why your new filter doesn't work
[00:34:33] <Foxandxss> what error you expect? you forgot your stuff?
[00:34:38] *** teddyp1cker has joined #angularjs
[00:34:38] *** dnewkerk has joined #angularjs
[00:35:27] <themime> i dunno,i < an object seems like it should throw an error syntaxtually
[00:35:30] *** cannap has quit IRC
[00:36:12] *** marshall_ has quit IRC
[00:37:25] *** ProLoser has quit IRC
[00:37:27] *** Ilgrim has quit IRC
[00:37:39] *** Ilgrim has joined #angularjs
[00:37:40] *** dreambox has joined #angularjs
[00:38:14] *** NormySan has quit IRC
[00:39:04] *** teddyp1cker has quit IRC
[00:39:17] *** mennea has quit IRC
[00:40:03] *** mennea has joined #angularjs
[00:40:05] *** kirfu has quit IRC
[00:40:10] *** Somatt_wrk has quit IRC
[00:40:15] *** yoshokatana has joined #angularjs
[00:40:16] *** Somatt_wrk_ has joined #angularjs
[00:41:33] *** jrist has joined #angularjs
[00:43:22] *** kentaro0919 has quit IRC
[00:45:43] *** michaelSharpe has joined #angularjs
[00:48:32] *** annlewis has quit IRC
[00:49:13] *** annlewis has joined #angularjs
[00:49:35] *** michaelfavia has quit IRC
[00:50:19] *** kuniyori has joined #angularjs
[00:51:16] *** michaelfavia has joined #angularjs
[00:51:19] *** hann has quit IRC
[00:52:23] *** ctanga has joined #angularjs
[00:52:25] *** treats has quit IRC
[00:52:47] *** mjs2600 has quit IRC
[00:52:55] *** Aliks has quit IRC
[00:53:31] *** Aliks has joined #angularjs
[00:53:57] *** morel has joined #angularjs
[00:55:03] *** mjs2600 has joined #angularjs
[00:55:04] *** michaelfavia has quit IRC
[00:57:18] *** cakirke has joined #angularjs
[00:57:20] *** diffalot has quit IRC
[00:57:58] *** Aliks has quit IRC
[00:58:05] *** diffalot has joined #angularjs
[00:58:27] *** tkimmel has joined #angularjs
[00:58:29] *** ProLoser has joined #angularjs
[00:59:05] *** bayousoft has quit IRC
[00:59:42] *** marshall_ has joined #angularjs
[01:00:01] *** ctanga has quit IRC
[01:01:58] *** ctanga has joined #angularjs
[01:02:26] *** michaelfavia has joined #angularjs
[01:02:45] *** D9 has joined #angularjs
[01:02:49] *** tkimmel has quit IRC
[01:03:33] *** Reskp has joined #angularjs
[01:03:42] *** Limix has quit IRC
[01:03:51] *** shinnya has joined #angularjs
[01:03:56] *** mennea has quit IRC
[01:05:01] *** DanielKarp has joined #angularjs
[01:05:02] *** victorzki has quit IRC
[01:05:39] *** andydrew has joined #angularjs
[01:06:04] *** prbc has quit IRC
[01:06:39] *** prbc has joined #angularjs
[01:07:09] *** Rahul_Roy_ has quit IRC
[01:08:05] *** Reskp has quit IRC
[01:09:24] *** anjumkaiser has quit IRC
[01:09:30] *** MaxV has joined #angularjs
[01:09:37] *** moafoca_ has quit IRC
[01:10:06] *** annlewis has quit IRC
[01:11:17] *** prbc has quit IRC
[01:11:46] *** chvid has joined #angularjs
[01:12:36] *** JosephSilber has joined #angularjs
[01:13:51] *** Sawbones has joined #angularjs
[01:14:24] *** CorySimmons has joined #angularjs
[01:14:39] *** grantfunke_ has joined #angularjs
[01:14:39] *** nicktesla has joined #angularjs
[01:15:09] *** kalehv has quit IRC
[01:15:41] *** FalsePozitive has quit IRC
[01:15:52] *** chvid has quit IRC
[01:16:17] *** gnrlbzik has joined #angularjs
[01:16:20] <nicktesla> hey deploying angular on heroku and getting this weird issue where none of the dynamic stuff in the html is showing
[01:16:24] <nicktesla> ng-repeats all blank
[01:16:33] <nicktesla> all scope variables in html blank
[01:16:41] <nicktesla> im using angular-fullstack
[01:16:50] *** ctanga has quit IRC
[01:17:03] *** cesarkawakami has quit IRC
[01:17:16] *** prbc has joined #angularjs
[01:17:47] <jaydubya> still extending this plunker to learn loDash so your patience is appreciated. in Line 30, I pluck successfully but on Line 34, that same pluck code is ignored. http://plnkr.co/edit/hTSU80duOL74yF6nfeRh?p=preview
[01:18:03] *** MuffinMan` has joined #angularjs
[01:19:06] *** grantfunke_ has quit IRC
[01:19:17] *** jrowny has joined #angularjs
[01:19:46] *** mjs2600 has quit IRC
[01:19:51] *** doginal has quit IRC
[01:20:06] *** kirfu has joined #angularjs
[01:20:47] *** Sawbones has quit IRC
[01:21:05] *** gnrlbzik has quit IRC
[01:21:36] *** mbenadda_ has quit IRC
[01:23:46] *** jrowny has quit IRC
[01:23:50] *** bpmj has quit IRC
[01:24:22] *** grantfunke_ has joined #angularjs
[01:24:25] *** yoshokatana has quit IRC
[01:25:16] *** BillCriswell has joined #angularjs
[01:25:38] *** rikkipitt has quit IRC
[01:25:42] <Foxandxss> jaydubya: explain me with your words, what pluck does
[01:26:00] <Foxandxss> for example in line 30
[01:26:48] *** michaelfavia has quit IRC
[01:27:40] *** Versality has quit IRC
[01:27:42] <Foxandxss> what the first parameter is, what does the second one
[01:27:45] <Foxandxss> then compare to line 34
[01:27:46] <Foxandxss> brb
[01:28:18] *** doginal has joined #angularjs
[01:28:45] *** ctanga has joined #angularjs
[01:28:49] *** MuffinMan` has quit IRC
[01:29:24] *** optikalmouse has quit IRC
[01:29:50] *** michaelfavia has joined #angularjs
[01:29:50] *** michaelfavia has joined #angularjs
[01:29:55] *** Sawbones has joined #angularjs
[01:30:41] *** michaelfavia has quit IRC
[01:31:08] *** phuh has quit IRC
[01:31:37] *** phuh has joined #angularjs
[01:32:14] <jaydubya> sry, I was getting a cigarette
[01:33:22] <Foxandxss> np
[01:33:26] *** Ilgrim has quit IRC
[01:33:30] <jaydubya> Foxandxss: pluck returns on the parameter #2 attributes from the parameter #1 collection
[01:33:37] <jaydubya> only^
[01:33:44] <Foxandxss> okey
[01:33:46] *** deanclkclk has joined #angularjs
[01:33:59] <Foxandxss> so, what's original on line 30?
[01:34:02] <Foxandxss> (the parameter)
[01:34:36] *** Sawbones has quit IRC
[01:34:56] *** Sky[x] has quit IRC
[01:35:10] <jaydubya> the array declared on line 7
[01:35:47] <Foxandxss> great
[01:35:55] <Foxandxss> and what are you passing to the parameter on 34?
[01:36:30] *** CorySimmons has quit IRC
[01:36:47] <jaydubya> all of the objects that have a cost of more than 25000 from the array declared on line 7
[01:37:00] <Foxandxss> who says that?
[01:37:01] *** cesarkawakami has joined #angularjs
[01:37:16] *** scottc5 has quit IRC
[01:37:25] *** sheerun has quit IRC
[01:37:27] <jaydubya> because found is the filtered results
[01:37:32] <Foxandxss> who says that?
[01:37:42] <jaydubya> and I'm plucking expenses from filtered
[01:37:52] *** drej has quit IRC
[01:38:01] <jaydubya> line 33
[01:38:06] <Foxandxss> I know I am repeating myself but
[01:38:07] <Foxandxss> who says that?
[01:38:12] <jaydubya> line 33
[01:38:27] <Foxandxss> how "found" relates to "collection of filtered results?
[01:39:41] *** doginal has quit IRC
[01:39:44] <jaydubya> damn, it's inside the filter which hasn't been returned yet
[01:40:17] *** TommyO has joined #angularjs
[01:40:25] <jaydubya> found means nothing and I can just return obj.cost > 25000; and it'll be the same
[01:40:59] <jaydubya> so I have to somehow chain the pluck onto big_expenses
[01:40:59] *** annlewis has joined #angularjs
[01:41:39] *** patrick99e99 has joined #angularjs
[01:41:56] *** drej has joined #angularjs
[01:42:09] *** japhar81 has quit IRC
[01:42:21] *** annlewis has quit IRC
[01:42:34] *** jonr22 has quit IRC
[01:42:44] *** annlewis has joined #angularjs
[01:42:53] *** gnrlbzik has joined #angularjs
[01:43:03] <Foxandxss> that is two step job
[01:43:29] *** TyrfingMjolnir has joined #angularjs
[01:43:31] <deweydb> can someone tell me if this is even possible with current browsers. I want to intercept the paste action of when a user pastes something into a textarea and i want to do some manipulation on that data before it gets actually pasted in. is this possible?
[01:43:31] *** gunn has joined #angularjs
[01:44:16] *** annlewis has quit IRC
[01:44:32] *** poolside has joined #angularjs
[01:44:34] *** disorder20 has quit IRC
[01:44:35] *** annlewis has joined #angularjs
[01:44:47] <deweydb> oh, i see, it is possible
[01:44:48] <deweydb> sweet
[01:44:51] <deweydb> sorry shoulda just googled
[01:45:08] <jaydubya> fox, i got it, thanks
[01:45:53] <Foxandxss> saw it
[01:45:59] <Foxandxss> that is a way
[01:46:06] <Foxandxss> I would separate those lines to make them clear
[01:46:08] <Foxandxss> but that works
[01:46:27] *** BillCriswell has quit IRC
[01:46:29] *** patrick99e99 has quit IRC
[01:46:46] *** Sawbones has joined #angularjs
[01:47:04] *** deanclkclk_ has joined #angularjs
[01:47:49] *** grantfunke_ has quit IRC
[01:48:34] *** deanclkclk has quit IRC
[01:49:27] *** annlewis has quit IRC
[01:49:46] *** robdubya has joined #angularjs
[01:50:21] *** scottc5 has joined #angularjs
[01:51:22] *** Sawbones has quit IRC
[01:51:36] *** jrist has quit IRC
[01:52:35] *** levity_island has quit IRC
[01:52:38] *** MalteJ has quit IRC
[01:53:16] *** Nizumzen has quit IRC
[01:53:20] *** robdubya has quit IRC
[01:53:57] *** ProLoser has quit IRC
[01:54:49] *** MaxV has quit IRC
[01:54:55] *** freeman42 has quit IRC
[01:55:38] *** marshall_ has quit IRC
[01:56:11] *** freeman42 has joined #angularjs
[01:57:01] *** linojon has joined #angularjs
[01:58:42] *** szymek_ has quit IRC
[01:58:50] *** gunn has quit IRC
[01:59:21] *** robdubya has joined #angularjs
[01:59:35] <Beg> themime: you still here? if so, yes, the bug is real.
[01:59:39] *** rtpg has quit IRC
[01:59:46] *** rtpg has joined #angularjs
[01:59:50] *** Foxandxss has quit IRC
[02:00:09] <Beg> themime: switching back and forth between the states creates a subscription list each time.
[02:00:11] *** marshall_ has joined #angularjs
[02:00:38] *** elrabin has quit IRC
[02:01:06] *** fixl has joined #angularjs
[02:01:22] *** DanielKarp has quit IRC
[02:01:42] *** grantfunke_ has joined #angularjs
[02:04:03] *** stschwark has quit IRC
[02:04:08] *** Reskp has joined #angularjs
[02:04:35] *** TommyO has quit IRC
[02:04:37] *** anivemin has joined #angularjs
[02:05:10] *** jrist has joined #angularjs
[02:05:39] *** cakirke has quit IRC
[02:06:53] *** aphadke has joined #angularjs
[02:07:47] <aphadke> hello - we are using angularjs 1.2.6, however, when i click on a link the new view doesn't load to top of page but somewhere in middle, added autoscroll="true" but that didn't help, any ideas?
[02:07:55] *** andydrew has quit IRC
[02:08:00] *** DanielKarp has joined #angularjs
[02:08:11] *** dman777_alter has joined #angularjs
[02:08:22] *** Reskp has quit IRC
[02:09:22] <TheAceOfHearts> I don't think anyone is supporting that version aphadke
[02:09:33] *** anivemin has quit IRC
[02:09:34] <TheAceOfHearts> the latest 1.2.x stable is 1.2.26
[02:09:45] *** jrist has quit IRC
[02:09:45] <jaydubya> fox, I might have a new topic for your blog for you
[02:10:04] <aphadke> TheAceOfHearts: typo, i meant 1.2.26
[02:11:17] *** Rejected has quit IRC
[02:11:23] *** DrMabuse_ has joined #angularjs
[02:11:40] *** duke_ has joined #angularjs
[02:12:28] *** chvid has joined #angularjs
[02:13:19] <aphadke> TheAceOfHearts: nm, got it to work: http://stackoverflow.com/questions/18218868/angularjs-safari-force-page-to-scroll-to-top-when-pages-switch
[02:13:45] *** discgo has joined #angularjs
[02:14:09] *** bmac has joined #angularjs
[02:14:18] *** aphadke has quit IRC
[02:14:21] *** gnrlbzik has quit IRC
[02:15:13] *** CoolDuke has quit IRC
[02:15:56] *** boberober has quit IRC
[02:16:09] *** DrMabuse_ has quit IRC
[02:16:56] *** Sawbones has joined #angularjs
[02:17:04] *** chvid has quit IRC
[02:17:28] *** linojon has quit IRC
[02:17:47] *** matthoiland has joined #angularjs
[02:17:55] *** richardlitt has quit IRC
[02:19:18] *** Sawbones has quit IRC
[02:20:02] *** jrowny has joined #angularjs
[02:20:06] *** talvinder has joined #angularjs
[02:20:46] *** mjs2600 has joined #angularjs
[02:21:38] *** bmac has quit IRC
[02:21:56] *** shaisnir has quit IRC
[02:22:08] *** pspace has joined #angularjs
[02:22:12] *** matthoiland has quit IRC
[02:22:19] <pspace> Hey guys, I have a Div tooltip pop up that is delayed when I click a "dismiss" button. The cause of the delay is a CSS "transition left" clause. I don't understand how the "transition left" is causing it. Any ideas? Relevant controller snippet:https://pastee.org/tpgum , relevant css snippet: https://pastee.org/dr93z . I confirmed its that one line of CSS because it works when removed.
[02:22:30] *** jrist has joined #angularjs
[02:23:14] *** bmac has joined #angularjs
[02:24:43] *** jrowny has quit IRC
[02:24:58] *** dreambox has quit IRC
[02:25:17] *** mjs2600 has quit IRC
[02:27:03] *** jrist has quit IRC
[02:28:47] *** Limix has joined #angularjs
[02:29:27] *** simsketch has joined #angularjs
[02:29:30] *** kuniyori has quit IRC
[02:30:21] *** kuniyori has joined #angularjs
[02:30:48] <themime> Beg: how do you mean?
[02:31:10] *** phuh has quit IRC
[02:31:26] *** doug64k has quit IRC
[02:31:31] *** elrabin has joined #angularjs
[02:31:37] *** phuh has joined #angularjs
[02:33:06] *** DanielKarp has quit IRC
[02:34:39] *** DanielKarp has joined #angularjs
[02:34:41] *** SomeKittens has quit IRC
[02:35:16] *** teddyp1cker has joined #angularjs
[02:36:00] *** elrabin has quit IRC
[02:36:32] *** marr has quit IRC
[02:36:40] *** cads has joined #angularjs
[02:38:05] *** AciD`` has quit IRC
[02:38:21] *** junmin has joined #angularjs
[02:38:38] *** marshall_ has quit IRC
[02:39:23] *** jrist has joined #angularjs
[02:40:21] *** teddyp1cker has quit IRC
[02:42:19] *** ProLoser has joined #angularjs
[02:43:10] <Beg> themime: When I show a state for users, I subscribe to channel users, and i then recieve updates for users
[02:43:26] *** jonr22 has joined #angularjs
[02:43:42] <Beg> themime: if i change the state and then back to users, I will get 2x updates because it subscribes again, it's not destroyed when the scope of the state is destroyed
[02:44:13] <Beg> if I do it again I get 3x updates etc. etc. So it's basically a "memory leak"
[02:45:16] *** annlewis has joined #angularjs
[02:45:22] *** ProLoser has quit IRC
[02:45:36] <Beg> themime: I use angular-ui-router, and I found $rootScope.$on('$stateChangeStart', so I'll have to write some smart wrapper around it
[02:46:46] <ctanga> where are you registering for users channel? what function and where?
[02:47:03] *** Fire-Dragon-DoL has quit IRC
[02:47:18] *** tkimmel has joined #angularjs
[02:47:19] *** jrist has quit IRC
[02:47:52] <Beg> socket.io, I use sails-angular wrapper
[02:48:12] <ctanga> no where do you make the registraion happen
[02:48:22] <ctanga> like in your controller? in onEnter? where
[02:48:30] <Beg> ctanga: in my controller
[02:48:50] <ctanga> you can do $scope.$on(“$destroy”, function unregister() {});
[02:49:10] <robdubya> sails-angular wrapper sucks :p
[02:49:17] *** cads has quit IRC
[02:49:20] <BahamutWC> ha
[02:49:25] <Beg> robdubya: I figured that out ^ ^
[02:49:33] <robdubya> angularSails allll day baby
[02:49:35] *** jeffisabelle has joined #angularjs
[02:49:42] *** whitebook has joined #angularjs
[02:49:50] <ctanga> ui-router users please offer your opinion on this RFC: https://github.com/angular-ui/ui-router/issues/1501
[02:50:13] *** annlewis has quit IRC
[02:50:29] *** doug64k has joined #angularjs
[02:50:31] *** DanielKarp has quit IRC
[02:50:38] <BahamutWC> that sounds awesome
[02:50:49] <BahamutWC> ctanga - are you christopherthielen?
[02:50:54] *** prbc has quit IRC
[02:50:56] <ctanga> BahamutWC: ya
[02:51:10] <robdubya> C T angular ;-)
[02:51:11] *** edrocks has joined #angularjs
[02:51:16] <BahamutWC> I think ProLoser mentioned that to me before but I forgot heh
[02:51:58] *** tkimmel has quit IRC
[02:52:24] <opus_> sorry I don't know much about ui-router to comment about it, but looks cool
[02:52:32] <ctanga> that’s funny heheh.. the other day I greeted ProLoser in here and he was like “who are you?”
[02:53:03] <BahamutWC> I think I like A more than B?
[02:53:23] <BahamutWC> yeah, he mentioned that story to me, thebigredgeek, and rodyhaddad
[02:54:08] <ctanga> leave a comment on the issue with your reasoning why, if you don’t mind
[02:55:45] *** MaxV has joined #angularjs
[02:57:18] *** deanclkclk has joined #angularjs
[02:57:18] <robdubya> i cant wait for the next angular meetup, shits gonna be crazy
[02:57:28] <opus_> where at?
[02:57:42] <ctanga> robdubya: lol indeed
[02:57:53] *** gunn has joined #angularjs
[02:58:08] <robdubya> angularJS - we know drama.
[02:58:22] *** deanclkclk_ has quit IRC
[02:58:24] <BahamutWC> haha
[02:58:32] *** talvinder has quit IRC
[02:58:49] <BahamutWC> $10 that someone asks a question at the next angular meetup that's basically a complaint about AtScript and the HTML syntax
[02:58:57] <robdubya> that's a sucker bet
[02:59:08] <robdubya> i expect the entire meeting will be people ranting and raving'
[02:59:37] <BahamutWC> well, the next meetup will most likely be an in depth explanation of what's planned for 2.0 and justifications
[02:59:45] <BahamutWC> so no questions until after
[02:59:52] *** MaxV has quit IRC
[02:59:56] <BahamutWC> bet someone still will complain anyway
[03:00:10] <robdubya> yup
[03:00:13] *** prbc has joined #angularjs
[03:00:15] *** danecando has joined #angularjs
[03:00:23] <BahamutWC> us developers are a pretty whiny breed
[03:00:24] <opus_> basically the 1.3 camp will declare jihad against the 2.0 camp
[03:00:27] <robdubya> that RFC makes me feel a loooot better though
[03:00:39] <BahamutWC> the one about the changing the HTML syntax again?
[03:00:40] *** prbc has quit IRC
[03:00:45] *** whitebook has quit IRC
[03:00:48] <robdubya> yea
[03:01:07] *** fedenunez has joined #angularjs
[03:01:10] <BahamutWC> that's kinda embarrassing that they revealed that syntax prematurely though, clearly bit them in the ass since they're changing it again anyway
[03:01:33] *** [dalguete] has joined #angularjs
[03:01:51] <robdubya> true, but better to have it out in the open i guess
[03:02:15] <opus_> is there even a working demo in the new syntax?
[03:02:26] <robdubya> there was but i think they broke it, haha
[03:03:09] <robdubya> as soon as there is i'm plugging it into polymer
[03:03:14] *** deanclkclk_ has joined #angularjs
[03:03:39] <BahamutWC> really surprised by the work on polymer - just a few months ago it was still massive
[03:03:41] *** DanielKarp has joined #angularjs
[03:04:04] <BahamutWC> I think in June it was still over 500 KB
[03:04:13] *** deanclkclk has quit IRC
[03:04:16] *** scottc5 has quit IRC
[03:04:32] *** FalsePozitive has joined #angularjs
[03:04:36] *** DanielKarp has quit IRC
[03:04:46] <robdubya> its pretty damn sexy in crosswalk
[03:04:56] *** Reskp has joined #angularjs
[03:05:11] *** joshontheweb has joined #angularjs
[03:05:16] *** jrist has joined #angularjs
[03:05:44] <BahamutWC> once they solve the IE10 polyfill bs it's ready for serious use I think
[03:06:20] <robdubya> ill let you bring that up
[03:07:02] <robdubya> it defintiely seems to be the way forward, especially in terms of android UI
[03:07:20] <robdubya> fits the whole android identity way better
[03:07:57] <robdubya> i'm gonna become an android guy. oh noes
[03:08:22] <robdubya> my hotel needs a minibar.
[03:08:48] <BahamutWC> need a good swig of alcohol?
[03:08:57] *** Reskp has quit IRC
[03:09:09] <BahamutWC> don't got much in my place unfortunately...just some beer
[03:09:21] *** FalsePozitive has quit IRC
[03:09:28] <ctanga> speaking of alcohol, time to go
[03:09:33] <ctanga> later
[03:09:50] <BahamutWC> heh have fun
[03:10:02] *** ctanga has quit IRC
[03:10:30] *** codeman has joined #angularjs
[03:10:37] *** rtpg has quit IRC
[03:10:41] *** whitebook has joined #angularjs
[03:10:56] <robdubya> i'm going to get one of these and then i can live on the beach http://www.aeromobil.com/video
[03:11:03] *** rtpg has joined #angularjs
[03:12:03] *** edrocks has quit IRC
[03:12:05] *** duke_ has quit IRC
[03:12:14] *** foooo has joined #angularjs
[03:12:59] *** boberober has joined #angularjs
[03:14:31] <jaydubya> robdubya: do you have a minute?
[03:14:32] *** AngularUI has joined #angularjs
[03:14:32] <AngularUI> [ui-router] nateabele pushed 2 new commits to master: http://git.io/TU9aZg
[03:14:33] <AngularUI> ui-router/master ac90335 Denis Goeury: fix(package): point 'main' to a valid filename
[03:14:33] <AngularUI> ui-router/master fe36903 Nate Abele: Merge pull request #1503 from lucidenis/master...
[03:14:33] *** AngularUI has left #angularjs
[03:14:34] <BahamutWC> robdubya: can it carry a lot?
[03:14:54] <BahamutWC> guess probably no
[03:15:09] *** gnrlbzik has joined #angularjs
[03:15:10] <robdubya> might be a bitch to parallel park too
[03:15:32] <BahamutWC> also that looks like it's right out of a Bond movie
[03:15:33] <robdubya> jaydubya shoot
[03:15:58] <jaydubya> I'm to the brains of my app and I am not sure of the "Angular Way" to do this
[03:16:00] <jaydubya> http://cl.ly/image/341p2O2W1M0z
[03:16:30] *** emmesswhy has joined #angularjs
[03:16:41] <jaydubya> the Res Adj column comes from the loan and the Grade columns are set as constants in the admin
[03:16:59] <jaydubya> the comparison (less than etc) is at the left
[03:17:23] *** boberober has quit IRC
[03:17:25] *** joleal has quit IRC
[03:17:26] <jaydubya> I need to take each resAdj value and find out which column it fails on
[03:17:27] *** mven has joined #angularjs
[03:17:34] <jaydubya> turn that value red
[03:17:48] *** rtpg has quit IRC
[03:18:00] <jaydubya> and the the "score" for the loan is the column that has no red
[03:18:01] *** nicktesla has quit IRC
[03:18:20] <jaydubya> Any suggestions on how to set up something like that
[03:18:42] <robdubya> ng-class + some comparison
[03:18:43] <jaydubya> LOL, basically all the other crap boils down to these 9 lines
[03:18:45] <robdubya> something like
[03:19:20] <robdubya> ng-class="{ red: resAdj > 50 }
[03:19:21] <jaydubya> I will need something to loop on, right?
[03:19:29] *** TommyO has joined #angularjs
[03:19:37] *** gnrlbzik has quit IRC
[03:19:38] <robdubya> so if that evals to true, it'll add the red (css) class to that element
[03:20:20] <BahamutWC> you can also do ng-class="{ red: failure(item) }"
[03:20:30] <jaydubya> k, that works, maybe I need a loop of grades and a loop of criterion
[03:20:33] <BahamutWC> where $scope.failure = function (item) { ... }
[03:20:47] <jaydubya> i get that BahamutWC
[03:20:48] *** jrowny has joined #angularjs
[03:21:42] <BahamutWC> I wonder, would you be able to get some performance benefits out of Angular by doing $rootScope._ = _?
[03:21:58] <themime> Beg: id have to see your code to know why there are x2 subs, it may be different than i envision, perhaps an issue with your notification service wrapper. however id recommend against using rootscope, with nested states you can have a parent state/scope that the events read from, using rootscope is strongly discouraged
[03:22:20] <BahamutWC> so you can do stuff like ng-class="{ red: _.memoize(failure)(item) }" or however memoize works
[03:22:51] *** sinequanon has joined #angularjs
[03:22:52] <jaydubya> what is memoize?
[03:23:01] *** jrist has quit IRC
[03:23:10] <BahamutWC> I'm just speaking on an aside - memoize: https://lodash.com/docs#memoize
[03:23:24] <BahamutWC> think it's in underscore too but lodash is better :)
[03:23:32] <robdubya> yeah i suppose if they're not changing that might work, but probably a bit premature optimzation
[03:23:42] <robdubya> you could just bind once too...
[03:23:44] *** bmac has quit IRC
[03:23:50] <BahamutWC> ah true
[03:23:57] <BahamutWC> guess bind once takes away the need for memoize
[03:24:01] <robdubya> which i guess is ~= to memoize
[03:24:23] <BahamutWC> bind once is a nicer addition to $parse than I expected
[03:25:00] <BahamutWC> I want to upgrade to 1.3 :(
[03:25:10] *** plexiv has quit IRC
[03:25:16] *** bmac has joined #angularjs
[03:25:17] *** jrowny has quit IRC
[03:25:22] *** fedenunez has quit IRC
[03:26:10] *** plexiv has joined #angularjs
[03:26:14] *** japhar81 has joined #angularjs
[03:27:14] <robdubya> 1.3.1 just came out
[03:27:20] *** alinou has joined #angularjs
[03:27:37] *** sinequanon has quit IRC
[03:27:40] *** emmesswhy has quit IRC
[03:28:18] *** sinequanon has joined #angularjs
[03:28:40] <robdubya> coming in beta14!
[03:28:44] <robdubya> huzzah
[03:29:44] *** joshontheweb has quit IRC
[03:31:13] *** phuh has quit IRC
[03:31:33] *** sinequanon has quit IRC
[03:31:39] *** phuh has joined #angularjs
[03:32:07] <BahamutWC|Laptop> I know…I’m just impatient when it comes to upgrading
[03:33:15] <BahamutWC|Laptop> oh damn you plunker you’re down
[03:33:18] *** alinou has quit IRC
[03:34:13] *** balr0g has quit IRC
[03:35:27] *** jrist has joined #angularjs
[03:37:43] *** mandric has quit IRC
[03:37:56] *** opiates has quit IRC
[03:37:59] *** mary5030 has joined #angularjs
[03:37:59] *** whitebook has quit IRC
[03:38:39] *** AtomicCookie has quit IRC
[03:38:46] *** josh-k_ has quit IRC
[03:39:04] <jaydubya> Is that what "Unable to connect to any application instances." means?
[03:39:13] *** josh-k has joined #angularjs
[03:41:48] *** sshaginyan has joined #angularjs
[03:41:59] *** sshaginyan has quit IRC
[03:42:16] *** toad-br has quit IRC
[03:42:39] *** SonikBoom has quit IRC
[03:42:52] *** john0 has joined #angularjs
[03:43:34] *** josh-k has quit IRC
[03:43:38] *** annlewis has joined #angularjs
[03:44:19] *** john0 has quit IRC
[03:44:32] *** marshall_ has joined #angularjs
[03:45:52] *** jrist has quit IRC
[03:47:24] *** AlSquirrel has quit IRC
[03:47:42] <TommyO> $http seems to be dropping my POST data :(
[03:47:51] <robdubya> dropping?
[03:48:12] <TommyO> yeah, like never sending it to the server
[03:48:12] *** jeffisabelle has quit IRC
[03:48:30] *** annlewis has quit IRC
[03:49:12] <TommyO> except on some requests, where I have overridden transformRequest
[03:49:13] *** Limix has quit IRC
[03:49:28] *** marshall_ has quit IRC
[03:49:37] <opus_> strange. try creating a blank project and see if it has the same error
[03:49:52] <opus_> then if not, incrementally add your project code until it breaks
[03:50:15] <TommyO> good idea
[03:50:29] <TommyO> not the best way to spend a Saturday night ;)
[03:50:30] <opus_> basically, its the story of my life :)
[03:50:40] <opus_> Welcome :)
[03:51:23] <opus_> does anyone here use floobits?
[03:52:54] *** mary5030 has quit IRC
[03:53:25] *** anivemin has joined #angularjs
[03:54:06] <opus_> php ? http://i.imgur.com/26t00wg.jpg
[03:55:03] <BahamutWC|Laptop> heh
[03:55:18] <BahamutWC|Laptop> I actually like Symfony with PHP
[03:56:30] *** MaxV has joined #angularjs
[03:57:39] *** dc_ has joined #angularjs
[03:57:51] *** TheAceOfHearts has quit IRC
[03:57:53] *** anivemin has quit IRC
[03:59:08] *** apertoire has quit IRC
[04:00:07] *** DrMabuse has joined #angularjs
[04:00:14] *** jrist has joined #angularjs
[04:00:19] *** bmac has quit IRC
[04:01:09] *** MaxV has quit IRC
[04:01:14] *** chvid has joined #angularjs
[04:02:07] *** emmesswhy has joined #angularjs
[04:02:48] *** anjumkaiser has joined #angularjs
[04:03:44] *** nachinius has joined #angularjs
[04:04:39] *** bmac has joined #angularjs
[04:04:52] <opus_> I'm sorry to hear that :( .. :) j/k
[04:04:53] *** gunn has quit IRC
[04:04:53] *** DrMabuse has quit IRC
[04:05:32] *** chvid has quit IRC
[04:05:33] *** Reskp has joined #angularjs
[04:06:19] *** sinequanon has joined #angularjs
[04:06:27] *** dman777_alter has quit IRC
[04:06:39] *** matthoiland has joined #angularjs
[04:06:45] *** emmesswhy has quit IRC
[04:08:18] <themime> https://github.com/johnpapa/angularjs-styleguide#application-structure-lift-principle - so ive been studying this after someone linked it here the other day and he has a folder "services" that seems inconsistent with his by-type. is it just that services are their own "feature"
[04:08:20] <themime> ?
[04:08:22] *** Jon31 has quit IRC
[04:08:53] *** gunn has joined #angularjs
[04:09:03] *** jonr22 has quit IRC
[04:09:24] *** josh-k has joined #angularjs
[04:09:50] *** imjakechapman has joined #angularjs
[04:10:04] *** Reskp has quit IRC
[04:10:32] *** night-owl is now known as zz_night-owl
[04:10:34] *** MaxV has joined #angularjs
[04:10:39] *** woah has joined #angularjs
[04:10:45] <opus_> i agree with the guys reasoning, but not the layout. only because I am lazy and like to keep things simple. the Ionic framework is the layout I use.
[04:10:53] *** sinequanon has quit IRC
[04:11:08] <robdubya> themime that seems like "core" or "generic" services
[04:11:19] <robdubya> spinners and such that aren't part of a feature
[04:11:22] *** matthoiland has quit IRC
[04:11:31] <themime> i got yelled at for having generic directives folder
[04:12:08] <themime> but i see he just calls that components. it seems similar to me
[04:12:47] *** jrist has quit IRC
[04:12:55] <robdubya> its more about not doing /controllers /directives at the top level
[04:13:15] <opus_> there is a "people" folder, and that isn't even a concept in angular. so he is mixing
[04:13:16] *** BobbieBarker has joined #angularjs
[04:13:21] <robdubya> and honestly, just get on with it.
[04:13:58] <BobbieBarker> rob
[04:14:00] <BobbieBarker> hows san fran
[04:14:01] <robdubya> if you spend more than an hour thinking about this you're wasting time
[04:14:09] <robdubya> BobbieBarker dope bro
[04:14:23] <themime> opus_: haha i guess the mixing is hard on brain this late
[04:14:29] <BobbieBarker> bad ass
[04:14:37] <BobbieBarker> hey broseph what do you know about deploying on azure?
[04:14:38] *** rtpg has joined #angularjs
[04:14:48] <robdubya> node?
[04:14:54] <opus_> themine: seriously, I aim to the ideas that require the least amount of thought... so i can save room for other stuff :)
[04:15:07] <robdubya> and its easy to refactor this stuff
[04:15:10] *** MaxV has quit IRC
[04:15:21] <BobbieBarker> like deploying an angular app onto it?
[04:15:24] <robdubya> and its more important when you have mega apps
[04:15:25] *** jray has joined #angularjs
[04:15:27] <robdubya> BobbieBarker ah
[04:15:28] *** cornerma1 has joined #angularjs
[04:15:30] <robdubya> well
[04:15:38] *** zz_night-owl is now known as night-owl
[04:15:42] <BobbieBarker> i was googling i found damn near nothing
[04:15:50] <robdubya> what's the backend?
[04:16:00] <robdubya> if its just angular (talking to an existing backend elsewhere)
[04:16:00] *** gnrlbzik has joined #angularjs
[04:16:01] <BobbieBarker> L4 but it will be deployed seperately
[04:16:08] <robdubya> then you prolly want a CDN rather than azure
[04:16:16] <BobbieBarker> yeah thats what i vote for
[04:16:18] *** simsketch has quit IRC
[04:16:20] <BobbieBarker> but i maybe getting out voted at work
[04:16:26] <robdubya> ive played with https://divshot.com/
[04:16:28] <robdubya> i like it
[04:16:48] <BobbieBarker> i personally like heroku
[04:16:50] *** techwharf has quit IRC
[04:16:51] <opus_> yeah, you can pick a free web host provider, then sign up for the free tier account on cloudfare and have super high speed CDN exposure
[04:16:52] <wafflej0ck> BobbieBarker: yeah Azure is IIS no reason for it unless you're using MS SQL or something tied to MS (ASP or the like)
[04:17:03] <wafflej0ck> as far as I can tell at least
[04:17:04] <BobbieBarker> what is IIS?
[04:17:05] <robdubya> i do too, but its not great for front end sites
[04:17:11] <wafflej0ck> BobbieBarker: just MS web server
[04:17:16] <wafflej0ck> Internet information services I think
[04:17:20] <robdubya> since there's a delay on dynos booting
[04:17:22] <opus_> I thought azure supported node.js?
[04:17:25] <robdubya> it does
[04:17:31] <wafflej0ck> sure you can get it to work but why?
[04:17:34] <BobbieBarker> yeah for sure bro if you're on a .net stack or have basically sold your soul to microsoft azure is an easy win
[04:17:38] <robdubya> but if its *just* the fornt end, you want static hosting
[04:17:41] <wafflej0ck> BobbieBarker: right
[04:17:45] <opus_> well, just spin up an express route to serve an angular dir
[04:17:55] <robdubya> node is a terrible static host :)
[04:18:01] <BobbieBarker> noted
[04:18:08] <robdubya> and i'm a node fanboy
[04:18:14] <BobbieBarker> i still like heroku it's crazy easy CI integratin with code ship
[04:18:14] *** Limix has joined #angularjs
[04:18:39] <robdubya> https://divshot.com/blog/hosting/dont-host-static-sites-on-heroku/
[04:18:42] <robdubya> lol
[04:18:47] <BahamutWC|Laptop> I spent too much time creating this: http://plnkr.co/edit/JeFlnHmj6gjo4NG3Do75?p=preview
[04:18:47] <BobbieBarker> we're a relatively small shop with like 10 devs and no dev op person they're on rack space right now and our work flow is completely fucked
[04:19:06] <wafflej0ck> ah yeah I vaguely recall you talking about it a bit before
[04:19:11] *** kalehv has joined #angularjs
[04:19:23] *** cornerman has quit IRC
[04:19:27] <opus_> hey if anyone wnats $10 free on digital ocean i have a coupon
[04:19:31] *** cornerma1 is now known as cornerman
[04:19:31] <robdubya> divshot / s3 / nginx etc
[04:19:32] <BobbieBarker> rob you run your angularJS apps off of divshot?
[04:19:49] *** lele has quit IRC
[04:19:52] <robdubya> BobbieBarker i set one up a while back to play with it, i really liked it
[04:19:56] <themime> robdubya: my group is similar BobbieBarker , i just got us to move from jquery mess to angular, but we're on amazon and its awesome
[04:20:03] <opus_> $10 referal link https://www.digitalocean.com/?refcode=706abab5a5b9
[04:20:03] <robdubya> you could hook it up to codeship too
[04:20:14] <BahamutWC|Laptop> what if you do want to make the kitten cry?
[04:20:48] <BobbieBarker> the problem with that themime is we need to be on a PaaS solution we can't be managin servers and all that other bullshit
[04:20:53] <BobbieBarker> it's outside of our core skill set
[04:20:58] <robdubya> definitely static then
[04:21:01] <BobbieBarker> rackspace is basically the same thing
[04:21:08] <wafflej0ck> yeah VPS
[04:21:11] <wafflej0ck> gotta DIY
[04:21:12] *** gnrlbzik has quit IRC
[04:21:12] <wafflej0ck> sorta
[04:21:16] <opus_> BobbieBarker: parse.com , firebase, remoteStorage
[04:21:25] <opus_> or loopback.io on a VPS/docklet
[04:21:30] *** jrowny has joined #angularjs
[04:21:31] <robdubya> wrong, wrong, wrong, wrong
[04:21:36] <robdubya> :D
[04:21:37] <opus_> 100% serverless
[04:21:44] <robdubya> he's already got a backend
[04:21:45] <opus_> i'm sold on the idea
[04:21:59] <opus_> melt it down for the gold and go server-less :)
[04:22:03] <robdubya> all of those are cool for APIs
[04:22:07] <robdubya> but thats not what he's asking
[04:22:12] <BobbieBarker> i have a back end it's mySqL
[04:22:13] <opus_> oh, ok.
[04:22:14] <BobbieBarker> rob is right
[04:22:22] <robdubya> BobbieBarker 2 secs, lemme fire up codeship and see if i can script t
[04:22:32] <BobbieBarker> i'm just looking for a place to park my front end
[04:22:33] <wafflej0ck> yeah just looking for something to serve static files that's decent
[04:22:37] <wafflej0ck> BobbieBarker: twss
[04:22:41] <BahamutWC|Laptop> S3
[04:22:42] <robdubya> lolol
[04:22:53] <BobbieBarker> hardy har har BahamutWC|Work
[04:23:04] <robdubya> i freakin love codeship :D
[04:23:09] <BobbieBarker> me to broseph
[04:23:10] <opus_> codeship..
[04:23:12] *** DrMabuse has joined #angularjs
[04:23:14] <opus_> wtf is this?
[04:23:21] <BobbieBarker> the greatest thing ever
[04:23:23] *** lele has joined #angularjs
[04:23:30] <opus_> better then floobits?
[04:23:43] <BobbieBarker> dunno what that is, but codeship is a continous deployment tool
[04:23:57] <BobbieBarker> runs all your npm instal bower install karma tests etc pre deployment
[04:24:14] *** cthrax has joined #angularjs
[04:24:18] <opus_> ahhh. i can see that value proposition
[04:24:39] <opus_> but robdubya was saying that he would use it to prototype?
[04:24:43] <BobbieBarker> robdubya: i was working on deploying to heroku last weekend but my expres.js server is uhm... depreciated?
[04:24:44] <BobbieBarker> lol
[04:24:48] *** hswolff has quit IRC
[04:24:52] <opus_> Is there some kind of automated template?
[04:25:17] <BobbieBarker> no? but its pretty simple to set code ship up
[04:25:25] *** gunn has quit IRC
[04:25:28] <BobbieBarker> basically 2-3 clicks and you're hooked into your repo
[04:25:29] <robdubya> BobbieBarker the problem with heroku for this sort of thing is your dynos shut down after like 30 secs, so the expereince sucks when loading front end sites
[04:25:32] *** hswolff has joined #angularjs
[04:25:50] *** jrowny has quit IRC
[04:25:55] <BobbieBarker> robdubya: dynos shut down on deployment?
[04:26:02] <robdubya> whereas s3/divshot/etc are basically CDN's for front-end apps
[04:26:10] <robdubya> BobbieBarker yep
[04:26:12] <BobbieBarker> i've never taken heroku into production i've only ran development on it
[04:26:15] *** jrist has joined #angularjs
[04:26:18] <BobbieBarker> robdubya: that's gay broseph
[04:26:31] <robdubya> that's how it works, and actually is great for backends
[04:26:40] <BobbieBarker> noted
[04:26:52] <robdubya> (you can scale 2+ dynos to avoid it, but that's more $)
[04:27:03] *** ish has joined #angularjs
[04:27:05] <robdubya> whereas for your front end you want that shit to load instantly
[04:27:05] *** whitebook has joined #angularjs
[04:27:14] <BobbieBarker> no doubt
[04:27:24] <robdubya> nbd if it take the API itself a couple of secs to fire up ... once your app has loaded
[04:27:43] *** DrMabuse has quit IRC
[04:27:49] *** rtpg has quit IRC
[04:27:56] *** rtpg has joined #angularjs
[04:28:03] <BobbieBarker> i have to refactor 5 of the apps before i can even switch over to this work flow. The fucktard before me made an unmanageable mess. Picture if you will about 4 small sized apps with 8k-10k lines of code in 4 files
[04:28:07] <BobbieBarker> per app
[04:28:15] <BobbieBarker> i'll give you 4 guesses what the file names are?
[04:28:16] *** michaelSharpe has quit IRC
[04:28:26] *** gunn has joined #angularjs
[04:28:49] <robdubya> ooo codeship has an s3 build process built in
[04:29:18] *** mrits has quit IRC
[04:29:35] *** mrtoadsc has quit IRC
[04:29:45] <BobbieBarker> controllers, directives, filters, services.....
[04:30:06] <BahamutWC|Laptop> welcome to the world of software engineering
[04:30:09] <BobbieBarker> then he ran virtually the entire app off of rootscope
[04:30:10] *** kalehv has quit IRC
[04:30:11] <BahamutWC|Laptop> where everyone else’s code sucks
[04:30:25] *** ish has left #angularjs
[04:30:27] <BobbieBarker> not just the entire app. all the apps
[04:30:28] <BobbieBarker> rootscope
[04:30:38] <BobbieBarker> 1500 line controller.js files
[04:30:44] *** simsketch has joined #angularjs
[04:30:47] *** kalehv has joined #angularjs
[04:30:58] <BahamutWC|Laptop> BobbieBarker: not as bad as killing off over 600k lines in one week
[04:31:02] <themime> at least its angular haha
[04:31:11] <BobbieBarker> unstable angular
[04:31:13] *** phuh has quit IRC
[04:31:32] <robdubya> BobbieBarker so i just did a divshot test
[04:31:32] *** jrist has quit IRC
[04:31:36] <BobbieBarker> the only thing that allows this app to run is black magic and goat sacrafices
[04:31:39] <BahamutWC|Laptop> eh, bad angular code is still awful - doesn’t really matter what framework it’s in
[04:31:39] *** phuh has joined #angularjs
[04:31:41] <robdubya> shit's stupid easy bro
[04:31:48] <BobbieBarker> bad code is bad code
[04:31:54] <robdubya> npm install divshot -g
[04:31:57] <BahamutWC|Laptop> yep
[04:31:59] <robdubya> divshot init
[04:32:06] <robdubya> divshot push
[04:32:10] <robdubya> there is no step 4
[04:32:16] <wafflej0ck> profit!
[04:32:25] <BahamutWC|Laptop> the better developers just limit the scope of damage their bad code has :)
[04:32:29] <BobbieBarker> wafflej0ck: FTW
[04:32:37] *** Hackwar1 has joined #angularjs
[04:32:41] <BobbieBarker> BahamutWC|Work: this dude went bannanas.
[04:32:51] <themime> divshot?
[04:32:52] <robdubya> b-a-n-a-n-a-s
[04:32:58] <BobbieBarker> rob gets it
[04:32:59] <BobbieBarker> lol
[04:33:07] <BobbieBarker> i'm definately going to read up on this divshit thing rob
[04:33:10] <robdubya> http://docs.divshot.com/guides/getting-started
[04:33:13] <BobbieBarker> i appreciate you
[04:33:35] <robdubya> then for codeship - you just do the same steps (minus the init) in a script
[04:33:58] <BobbieBarker> just like you normally would for deploying? npm install, bower install etc?
[04:34:00] <BobbieBarker> run tests?
[04:34:02] *** Hackwar has quit IRC
[04:34:03] *** ProLoser has joined #angularjs
[04:34:16] *** [dalguete] is now known as dalguete
[04:34:25] <themime> divshot looks neat, does it cost money?
[04:34:35] <robdubya> BobbieBarker you have codeship setup already for that app?
[04:34:44] <wafflej0ck> themime: https://divshot.com/pricing
[04:34:55] <BahamutWC|Laptop> the worst thing I’ve seen a developer do is save a triply JSON.stringified object with encodeURIComponent and other black magic done right into the database
[04:35:06] <themime> wafflej0ck: thanks its late im derping i see it now in the nav bar
[04:35:11] <BobbieBarker> i rebuilt their business page so i could ttest/demo a CI deployment process for them
[04:35:15] <BahamutWC|Laptop> and I had the fun of reverse engineering it on the frontend because the backend devs didn’t want to unfuck it :(
[04:35:16] <BobbieBarker> so i have code ship set up on it
[04:35:18] <wafflej0ck> themime: heh no worries was there too already
[04:35:29] <robdubya> cool - go to the project on codeship -> deployment -> script
[04:35:34] *** kalehv has quit IRC
[04:35:37] *** mrits has joined #angularjs
[04:35:40] <themime> "docs? support? wheres the pricing?!"
[04:36:05] *** Una has joined #angularjs
[04:36:10] *** tkimmel has joined #angularjs
[04:36:10] *** teddyp1cker has joined #angularjs
[04:36:54] *** josh-k has quit IRC
[04:37:23] <wafflej0ck> dedicated SSL $50 per month <-- what's that about?
[04:37:28] <themime> can someone explain codeship? im trying to understand what it would replace in my companies current pipeline
[04:37:44] <themime> yea that does seem high, i feel like a normal host would be like 20-30
[04:38:00] <robdubya> wafflej0ck where are you seeing that?
[04:38:07] <wafflej0ck> on the pricing page
[04:38:08] <BobbieBarker> rob do i need to put that npm divshot into the package.json on the app?
[04:38:13] <opus_> cloudflare free tier has free ssl
[04:38:18] <wafflej0ck> robdubya: https://divshot.com/pricing
[04:38:28] <wafflej0ck> just seems steep from the $20 a month base price
[04:39:01] <robdubya> wafflej0ck by default, you get https://yourapp.divshot.com for free
[04:39:01] *** ProLoser has quit IRC
[04:39:19] <robdubya> and http://yourapp.com for free too
[04:39:30] <BobbieBarker> ^^ which is perfect for demo'n a deployment process
[04:39:39] <robdubya> but if youwant https://yourapp.com hosted there, its $20
[04:39:54] <robdubya> iirc its about the same on heroku and elsewhere
[04:39:58] <wafflej0ck> robdubya: hover over the SSL part, typically I just install the cert on my server seems like a steep price for the extra processing but dunno
[04:40:14] *** zivester has quit IRC
[04:40:21] <robdubya> bout the same as errywhere else in my experience
[04:40:23] <themime> does codebase fufill a similar role to divshot?
[04:40:35] <robdubya> https://addons.heroku.com/ssl
[04:40:37] <BobbieBarker> wafflej0ck: if yo'ure worried about paying it sure... but my employer has deep pockets they're dumping out a couple grand a month for rackspace
[04:40:40] <wafflej0ck> I'm on AWS it's $30 a month for a medium VPS and doesn't matter how many SSL certs I have or domains I point at it just a matter of if it can handle the load
[04:40:45] <themime> is the idea to show a client a demo and then be able to quickly deploy that final product?
[04:40:49] *** tkimmel has quit IRC
[04:40:53] <robdubya> themime codeship is 2 things
[04:40:59] <themime> ^ i dig AWS as well
[04:41:00] <robdubya> 1 - contious integration
[04:41:01] <wafflej0ck> BobbieBarker: no doubt for me it's more of an issue but also just seems strange the price hike for SSL
[04:41:06] <BobbieBarker> no themime the point is in the work flow
[04:41:14] *** teddyp1cker has quit IRC
[04:41:23] <robdubya> which is - you push to your git repo, it'll run all your tests and shit in the da cloud
[04:41:25] <BobbieBarker> like how much of your teams time is flushed down the toilet doing stupid shit like FPS files onto the production server
[04:41:39] <wafflej0ck> robdubya: got the same on AWS with jenkins
[04:41:44] <wafflej0ck> robdubya: it's more setup for sure
[04:41:45] <BobbieBarker> or just managing the deployment process in general which should be totally automated
[04:41:57] <robdubya> 2 - continous deployment, meaning assuming all your steps on part 1 pass, it'll push to your endpoints
[04:42:08] <wafflej0ck> robdubya: doing that too with jenkins and a Makefile
[04:42:17] <robdubya> nobody's arguiing you can't do that....
[04:42:24] <wafflej0ck> http://karma-runner.github.io/0.8/plus/Jenkins-CI.html
[04:42:27] <BobbieBarker> the thing with jenkins though is it's a very involved tool
[04:42:32] <BobbieBarker> in my opinion
[04:42:50] <wafflej0ck> eh I'm pretty new to it it took some time getting the environment variables right but since then it's been pretty easy going
[04:42:57] <robdubya> i dunno about you, but an hour of my time costs more than $20 :D
[04:43:04] <BobbieBarker> ^^
[04:43:06] <BobbieBarker> exactly
[04:43:08] *** ngoyal has joined #angularjs
[04:43:23] *** zivester has joined #angularjs
[04:43:25] <robdubya> we have an entire fucking department for it, god knows how much they cost a year
[04:43:26] <BobbieBarker> robdubya: i'm on codeship
[04:43:33] <wafflej0ck> yeah just depends on how many times you're buying that versus how much it saves you, not saying it's not worth it, but it's not clear
[04:43:33] <BobbieBarker> robdubya: thats what i want to avoid
[04:43:37] *** annlewis has joined #angularjs
[04:43:47] <opus_> hmm, good point.
[04:43:47] <BobbieBarker> cuz they're talking about hiring a dev ops faggot and i'm like.... his sallary... is my end of the year bonus
[04:43:49] <BobbieBarker> i want the money
[04:44:01] <robdubya> our shit is complex like woah
[04:44:04] <opus_> never leave money on the table
[04:44:06] <robdubya> but if you're one or two dudes
[04:44:08] <wafflej0ck> robdubya: I'm basically a one man shop so $$ makes more of a difference
[04:44:12] <wafflej0ck> robdubya: yup
[04:44:21] <robdubya> then its even more worht it, imo
[04:44:39] *** zwacky has joined #angularjs
[04:44:58] <BobbieBarker> robdubya: enlighen me on this codeship -> divshot business
[04:45:05] *** whitebook has quit IRC
[04:45:06] <robdubya> if you bill $100 hour to a client. and you run your own CI/CD - and it takes an hour a week to mess with - you're losing $300+ a month :)
[04:45:11] *** mandric has joined #angularjs
[04:45:16] <opus_> huh, i'm a one man shop to. actually have a lot of time invested into learning angularjs technology without a client yet. so these ideas are interesting to me to reduce costs
[04:45:25] <wafflej0ck> robdubya: eh the setup was investment time for sure but once things are running it's pretty hands off, I'm still doing manual snapshots but aside from that everything is hands off
[04:45:36] <woah> hahaha what about 2.0?
[04:45:46] <BobbieBarker> opus_: these concepts have more to do with devops than software engineering
[04:45:46] <robdubya> BobbieBarker so set it up from your local first
[04:45:59] <robdubya> just to get a feel for the process
[04:46:00] <BobbieBarker> codeship is hooked into the repo already
[04:46:08] *** kalehv has joined #angularjs
[04:46:09] <robdubya> (divshot i mean)
[04:46:15] *** jrist has joined #angularjs
[04:46:15] <BobbieBarker> do i need to put that NPM package for divshot into my app's package.json?
[04:46:25] <opus_> BobbieBarker: ok. I come from a devops background so I think I understand
[04:46:42] <BobbieBarker> groovy bro, i wasn't trying to be dismissive or anything
[04:46:52] <opus_> so how does codeship deploy prod code?
[04:47:05] <opus_> or is that still manually done?
[04:47:06] <robdubya> BobbieBarker there's a divshot.json pacakge
[04:47:09] <BobbieBarker> i don't come from a dev ops background so basically anything that isn't me directly writing code into sublime is almost always a waste of my time
[04:47:10] <robdubya> yeah, should commit it to source
[04:47:40] *** jray has left #angularjs
[04:47:40] <BobbieBarker> i think i'm going to have to read the docs
[04:47:53] <BobbieBarker> that's probably the best thing to do
[04:48:02] <BobbieBarker> it almost always is
[04:48:06] <robdubya> BobbieBarker did you do a local push? from your own box?
[04:48:11] <robdubya> (to divshot)
[04:48:15] <BobbieBarker> no?
[04:48:16] <opus_> So I have an app right now I'm writing jasmine tests, can I use Codeship for this project?
[04:48:16] *** prbc has joined #angularjs
[04:48:22] <opus_> like seemlessly?
[04:48:26] <BobbieBarker> opus_: yes
[04:48:26] *** annlewis has quit IRC
[04:48:39] <robdubya> opus_ yep
[04:48:41] <opus_> whats the final output? (Sorry I'm not googling all these questions)
[04:48:50] <BobbieBarker> a pass or fail
[04:48:52] <robdubya> you get an email
[04:48:55] <opus_> my final output is a Cordova mobile app
[04:48:59] <BobbieBarker> if it passes the tests it deploys
[04:49:05] <opus_> does it commit changes to a repo or something?
[04:49:09] <BobbieBarker> if it fails tests your bad code stays in the repo
[04:49:25] <opus_> Ah ok, CI
[04:49:26] <BobbieBarker> it will run your deployment scripts
[04:49:29] <BobbieBarker> yes CI
[04:49:41] <wafflej0ck> yup it is good stuff
[04:49:43] <opus_> ok, deployment scripts, that concept. makes sense. its all clicking now
[04:49:52] <robdubya> its pretty dope
[04:49:57] <opus_> badass.
[04:50:02] <BobbieBarker> here is the biggest thing i couldn't figure out with looking at azure though, like is it even possible to run NPM install, bower install, pre deployment tests etc etc?
[04:50:02] <themime> i like the flow, i feel like my teams concern is the trust in the tests. like if it all "passes" how sure are you that there isn't some anomoly?
[04:50:24] <themime> actually
[04:50:27] <robdubya> imo - that's all they do (codeship)
[04:50:29] <BobbieBarker> i fucking hate that mentallity
[04:50:41] <themime> that is waaaywaaay better than the pushes they do without testing at all sometimes...
[04:50:43] <robdubya> to me, that means they are far more likely to do it than your band of misfits
[04:50:48] <robdubya> *do it right
[04:50:49] *** diegoaguilar has joined #angularjs
[04:51:05] <robdubya> or travis, or whomever
[04:51:21] <BobbieBarker> i was talking about the mentallity of omfg we can't deploy any bugs or anything into production.
[04:51:25] <robdubya> but i'm a sails guy, so the boats thing is the deciding factor :p
[04:51:27] <BobbieBarker> so we just freeze up and don't do anything
[04:51:36] <themime> if i get a demo going im thinking of rebuttals to their concerns. thats how i got them to use angular. demo->look at the time we can save and i already have it work->implement
[04:51:54] *** mrits has quit IRC
[04:52:02] <BobbieBarker> one of my coworkers is like that and i'm pretty sure he's an aspie
[04:52:21] <BahamutWC|Laptop> nobody wants to deploy bugs into production
[04:52:28] <opus_> well for me, i like writing crappy code that barely works. last night i was up until 5am and added 9 new features to my app. horrible code. tonight I will write probably a 100 jasmine tests and then refactor it tomorrow
[04:52:33] <BahamutWC|Laptop> but bugs happen
[04:52:34] <robdubya> themime if its already on github / bitbucket its pretty straightforward
[04:52:41] <BobbieBarker> yeah no body wants too, but if you think your app is going to boe 100% bug free all the time you're lieing to yourself
[04:52:45] <BobbieBarker> or you're delusional
[04:52:55] <robdubya> and also typically you'd have a dev/staging/production environments
[04:52:57] <BahamutWC|Laptop> I hate dealing with clients with those sort of expectations
[04:53:14] <BobbieBarker> you'd hate my aspie coworker then
[04:53:16] *** FalsePozitive has joined #angularjs
[04:53:24] *** ngoyal has quit IRC
[04:53:25] <robdubya> sooo if it gets through 3 layers and reaches production, you should probably look into what the fuck is wrong with you
[04:53:29] <robdubya> ;-)
[04:53:33] <BobbieBarker> rofl rob
[04:53:39] <BahamutWC|Laptop> haha
[04:53:47] <robdubya> guaranteed i'll do it on monday now
[04:53:58] <robdubya> and bring down the whole god damn enviroment
[04:53:58] <BobbieBarker> more than likely
[04:54:00] *** mrits has joined #angularjs
[04:54:08] <BahamutWC|Laptop> meh, QA will catch if you didn’t fix things (or broke things) :P
[04:54:32] <opus_> one man show
[04:54:36] <robdubya> BahamutWC|Laptop by far the best thing about QA is that we have real people actually doing it with their hands
[04:54:39] <opus_> QA = client
[04:54:43] <themime> lol
[04:54:57] <BahamutWC|Laptop> well, manual testing will never go away
[04:55:01] <opus_> (or gf lol)
[04:55:09] <robdubya> which seems a bit inefficent, but karma / ptor wouldnt have caught half the bugs on my list
[04:55:14] <themime> haha yep ive used ng-wife before for my testing suite
[04:55:15] *** davesidious_ has joined #angularjs
[04:55:17] <robdubya> so i really like that aspect
[04:55:21] <opus_> haha
[04:55:23] *** gunn has quit IRC
[04:55:32] <BahamutWC|Laptop> yeah, weird edge cases never really will be caught by automation until the environment improves enough to avoid that
[04:55:37] <BahamutWC|Laptop> which will take a looooong time
[04:56:05] <BobbieBarker> AI will probably be writing the apps for us by then
[04:56:10] <themime> yea seems like the idea is to catch what you can with it that would normally take you manually checking and refreshing and derping about
[04:56:20] <themime> those outliers would probably be there anyway
[04:56:22] <opus_> Some AI editor won't let you type a wrong character before it even displays on the screen in the future
[04:56:30] *** gunn has joined #angularjs
[04:56:42] <BahamutWC|Laptop> themime: well, robdubya works for my company and he got assigned some fun bugs with Windows 7 and Android :P
[04:56:45] <BobbieBarker> keyboard-user feed back integration in the form of a cattle prod?
[04:56:53] <robdubya> FUUUUUU
[04:56:53] <BobbieBarker> input validation of the future?
[04:56:57] <BahamutWC|Laptop> or in some cases, client specific bugs
[04:57:06] <BahamutWC|Laptop> which should be a one-liner fix
[04:57:18] <robdubya> BahamutWC|Laptop we're gonna need to rejig for proper cordova tho
[04:57:21] <opus_> its an ANN sublime plugin that knows where you're going to fuck up your own code
[04:57:24] *** mrits has quit IRC
[04:57:29] <BobbieBarker> lol
[04:57:32] <BahamutWC|Laptop> definitely - that’s a ghetto android app we have haha
[04:57:37] <opus_> CodeShipANN
[04:57:42] <robdubya> omg, the conversation the other day with whoever runs the admin end
[04:57:47] <opus_> "Ghost Protocol"
[04:57:50] <robdubya> i was gonna lose my god damn mind
[04:58:04] <themime> so divshot and codebase have different intents?
[04:58:04] <robdubya> i'm not going on those calls anymore.
[04:58:05] *** FalsePozitive has quit IRC
[04:58:05] *** cesarkawakami has quit IRC
[04:58:07] <BahamutWC|Laptop> now you know why thebigredgeek wants to get rid of those contractors
[04:58:19] <robdubya> i'm all about that
[04:58:27] <robdubya> its fucking madness we dont have control of our own user database
[04:58:37] <BobbieBarker> robdubya: i purposefully disabled my email account and basically playing stupid about it so i can try to avoid meetings and other bullshit i don't care about
[04:58:48] <BahamutWC|Laptop> robdubya: the devops is more madness
[04:59:11] <BobbieBarker> do you guys work at the same place now??
[04:59:15] <BahamutWC|Laptop> yup
[04:59:16] <robdubya> yessir
[04:59:17] *** davesidious__ has quit IRC
[04:59:20] <BobbieBarker> holy shit thats awesome
[04:59:26] <opus_> hey, whats that?
[04:59:34] <BobbieBarker> GJ dudes
[04:59:34] <robdubya> building a dreamteam bro
[04:59:40] <BahamutWC|Laptop> we have such an awesome collection of angular talent
[04:59:43] <BobbieBarker> fucking hire me homie
[04:59:46] <BahamutWC|Laptop> haha
[04:59:49] <BobbieBarker> i'll work remote
[04:59:53] *** jrowny has joined #angularjs
[04:59:57] <BobbieBarker> no way in hell i'm moving my fam to the bay
[05:00:03] <BahamutWC|Laptop> we only want people onsite unfortunately :(
[05:00:04] <robdubya> i'm gonna befriend rudy.
[05:00:08] <BobbieBarker> that sucks
[05:00:13] <BahamutWC|Laptop> where are you situated?
[05:00:16] <BobbieBarker> who me?
[05:00:20] <BahamutWC|Laptop> yeah
[05:00:21] <BobbieBarker> I'm in Boise Idaho
[05:00:22] <robdubya> he'll dockerize some sails stuff, and we'll crush
[05:00:36] <BahamutWC|Laptop> don’t want to come to the bay? why not?
[05:00:42] <robdubya> BobbieBarker i thought the same thing
[05:00:46] <BahamutWC|Laptop> it’s pretty amazing here
[05:00:49] <robdubya> i have obviously changed my mind :p
[05:00:54] <BobbieBarker> i have a wife and 3 kids, the financials look daunting
[05:01:02] <BahamutWC|Laptop> companies generally pay for relocation
[05:01:08] *** Una has quit IRC
[05:01:19] <BahamutWC|Laptop> and many will pay signing bonuses too
[05:01:25] <BobbieBarker> i'm about to buy a house that i honestly could probably never buy down there
[05:01:31] <BobbieBarker> 5 acres of land 2k sqft
[05:01:34] <BobbieBarker> house
[05:01:42] <opus_> just get an old 80s era RV and park it on broadway. as long as you move it every 4-5 hours you won't get a ticket
[05:01:43] *** drej has quit IRC
[05:01:49] <BobbieBarker> lol
[05:01:55] <BahamutWC|Laptop> well, not necessarily true - just pick the right startup and you can cash in on the equity
[05:01:57] <themime> man i need to start doing consulting work
[05:02:02] *** chvid has joined #angularjs
[05:02:04] *** cesarkawakami has joined #angularjs
[05:02:18] <opus_> themine, you're hired
[05:02:22] <opus_> first gig
[05:02:26] <BobbieBarker> the only reason i'd want to be down there is to work with people like you and rob
[05:02:34] <robdubya> BobbieBarker that's a big reason i came out here
[05:02:34] <opus_> write me a service factory that calls itself
[05:02:44] <BobbieBarker> honestly i make enough money up here to live comfortably i don't even give a shit about cash i do this work cuz i love it
[05:02:48] <robdubya> the streets are awash with smart people, its crazy
[05:02:49] <BahamutWC|Laptop> that’s why we wanted robdubya as soon as he mentioned being available :)
[05:03:14] <BahamutWC|Laptop> BobbieBarker: I’m at that point myself - it helps that pay in the area is tremendous
[05:03:16] <robdubya> hollar at me in fucking january when its 40 below
[05:03:20] *** mrits has joined #angularjs
[05:03:20] <themime> opus_: if you pay more $20/hr+ then sign me up!
[05:03:28] *** mary5030 has joined #angularjs
[05:03:34] <BahamutWC|Laptop> themime: not in the US?
[05:03:36] <BobbieBarker> lol robdubya i'm pussified on winters after living in texas
[05:03:39] <robdubya> i'd hire you (not that its my call, but still)
[05:03:42] <themime> BahamutWC|Laptop: startup
[05:03:42] *** anomalophobe has joined #angularjs
[05:03:44] <opus_> themine: ok, if I can figure out a gig totally
[05:03:47] <BahamutWC|Laptop> ah
[05:03:51] <BobbieBarker> you'd hire me rob?
[05:03:53] <BahamutWC|Laptop> pre-series A?
[05:03:58] <BobbieBarker> that's a nice vote of confidence thanks homie
[05:04:21] <BahamutWC|Laptop> BobbieBarker: definitely would be interested in interviewing if you were interested in moving here and if we’re looking for a JS person
[05:04:24] *** jrowny has quit IRC
[05:04:26] <opus_> seriously, nobody here uses floobits? you can live edit code, just wondering.
[05:04:34] <BahamutWC|Laptop> atm I think we want a CSS expert though
[05:04:40] <opus_> i'm trying to figure out how to reverse engineer it
[05:04:41] <BobbieBarker> BahamutWC|Work: well i'm never going to say no and close the door to an opportunity on myself
[05:04:49] <themime> opus_: how does it compare to plunker?
[05:04:51] <robdubya> sure - you're def at a good enough level to start, after all, you were taught by the best ;-)
[05:04:57] <BobbieBarker> no doubt
[05:05:09] <BahamutWC|Laptop> plus the benefit of working with a dream team is that we could eventually start a startup of our own and have stellar engineering talent from the getgo
[05:05:19] <BahamutWC|Laptop> and avoid the stupid startup problem of having an amazingly shitty codebase
[05:05:19] <robdubya> i'd rather have peopel who are open to learning than unfucking idiots all day
[05:05:25] <opus_> themine: I type into an editor. Your screen shows me typing. Like ytalk. Except with liveedit and screensharing,i can see your browser as I type changes into sublime editor
[05:05:26] <themime> ^
[05:05:36] <themime> ah gotcha
[05:05:43] <themime> yea not familiar with that
[05:05:49] <robdubya> oh yeah. our team + 6 months + webcomponents? watch out world
[05:05:51] <BobbieBarker> robdubya: despite what ever the fuck i think i know, if i was in your guy's shop i'd have to drop to a juniour posistion and just follow you around all day and take notes lol
[05:05:57] <BahamutWC|Laptop> the bad angular code I’ve seen at various startups…many times of face palming
[05:05:58] <anomalophobe> Howdy!
[05:06:19] *** Reskp has joined #angularjs
[05:06:26] <BahamutWC|Laptop> BobbieBarker: eh, you probably know more than some senior devs in the area
[05:06:27] *** chvid has quit IRC
[05:06:32] <BahamutWC|Laptop> don’t sell yourself short
[05:06:36] <opus_> BobbieBarker: what about remote only, I live in a rural type area
[05:06:39] <BobbieBarker> i try to keep it humble BahamutWC|Work
[05:06:55] *** zivester has quit IRC
[05:06:58] <opus_> BobbieBarker: i'm looking to do angular js work remotely, to clarify
[05:07:23] <opus_> Also I'm on 1mbit dsl, hahah.
[05:07:25] <BahamutWC|Laptop> I’ve found most companies don’t like remote…which is a shame, I wouldn’t mind doing remote contracting on the side for a company
[05:07:44] <themime> BahamutWC|Laptop: yea thats why im spending so much time here, so i can yell at my people when our code starts looking shitty again - so i can recognize what "shitty" angular is
[05:08:07] <BahamutWC|Laptop> themime: recognizing shitty angular isn’t hard - unfucking it can be the hard part
[05:08:26] *** mary5030 has quit IRC
[05:08:27] <themime> yea but we just started so im trying to prevent people having to unfuck it in a few months/year
[05:08:27] <BobbieBarker> when you see $rootScope being used like a global var.....
[05:08:46] <BahamutWC|Laptop> ugh, my soul just goes into despair when I see that
[05:08:50] <BahamutWC|Laptop> that is amazingly hard to fix
[05:09:24] *** anomalophobe has left #angularjs
[05:09:27] *** Una has joined #angularjs
[05:09:31] <BobbieBarker> BahamutWC|Work: that's the situation i'm in atm
[05:09:31] <themime> i keep poking around our repo for stuff like that. i saw a directive called compile-html. i think i need to have a talk to with someone :(
[05:09:59] <opus_> a cool trick that I use is to use any service module from the chrome dev tools via : var e = document.body ; var api = angular.element(e).injector().get('menuFactory');
[05:10:03] <BahamutWC|Laptop> the only thing I don’t mind so much is .run(function ($rootScope) { $rootScope._ = _; }); to get lodash in templates, but it’s a hack
[05:10:07] <themime> BobbieBarker: yea i don't envy your situation. i hate our spagetti jquery but at least my boss can be like "oh yea thats here and here"
[05:10:07] <BobbieBarker> i'm the seniour front end Dev and the guys around me just hear me cussing constantly all day long
[05:10:12] <BobbieBarker> i think they're afraid something is wrong with me
[05:10:18] <robdubya> haha, that was me on thursday :D
[05:10:43] <BahamutWC|Laptop> robdubya: “that’s an extraordinary hack” line was me in my first few days and looking at our code haha
[05:10:47] *** mennea has joined #angularjs
[05:10:48] <robdubya> lololol
[05:11:16] *** Reskp has quit IRC
[05:11:20] *** thirdknife has joined #angularjs
[05:11:24] *** MaxV has joined #angularjs
[05:11:29] <robdubya> we should totally get that on a tshirt
[05:11:32] *** jrowny has joined #angularjs
[05:11:41] <BahamutWC|Laptop> BobbieBarker: I’ve quickly learned I needed to tone down the cussing as a senior dev
[05:11:58] <BobbieBarker> yeah i'm working on it
[05:12:02] <BahamutWC|Laptop> it prevents more junior guys from approaching you for things, which isn’t what you want
[05:12:08] <BobbieBarker> no i agree
[05:12:12] *** jrist has quit IRC
[05:12:15] <BobbieBarker> the problem is i just left he military
[05:12:16] <BobbieBarker> lol
[05:12:23] <BobbieBarker> that si a different can of worms
[05:12:35] <BobbieBarker> this code base just gets to me
[05:12:39] <BahamutWC|Laptop> I know how that’s like heh - I come from the world of Marine Corps infantry
[05:12:59] <BahamutWC|Laptop> where “fuck this shit” is a common refrain
[05:13:21] <BobbieBarker> indeeed
[05:13:26] <BobbieBarker> i left the Army
[05:13:52] <opus_> and went angular js?
[05:13:55] <opus_> awesome
[05:14:01] <themime> lol
[05:14:04] <BobbieBarker> that's a long story
[05:14:32] <opus_> curious. ?
[05:14:44] <BobbieBarker> nah like too long that i don't want to write it out
[05:14:53] <opus_> cool
[05:14:54] *** Left_Turn has quit IRC
[05:15:56] <opus_> basically, my father forbid me from going into the army because he volunteered for vietnam
[05:16:03] *** MaxV has quit IRC
[05:16:32] <BahamutWC|Laptop> my dad was in Vietnam for South Korea
[05:16:38] <opus_> but a lot of my friends went to iraq/afganistan
[05:16:56] <Logicgate> opus_, nam was a mess.
[05:17:06] <opus_> two of my friends are rangers heh
[05:17:07] <Logicgate> I just bought an AR15, coincidentally
[05:17:07] *** gnrlbzik has joined #angularjs
[05:17:32] <robdubya> an assualt murder rifle?!!?
[05:17:41] <opus_> they never talk about what they went through, just like my dad never said a word
[05:17:48] *** mrits has quit IRC
[05:17:55] <BahamutWC|Laptop> I was the machine gunner for my fire team
[05:19:18] <BahamutWC|Laptop> anyhow - awesome to see more military in software development
[05:19:26] <BobbieBarker> like wise
[05:19:31] <opus_> thank you for your service.
[05:19:51] *** sahbeewah has joined #angularjs
[05:20:22] <BobbieBarker> np
[05:20:26] <themime> robdubya: so your backend is divshot then? is that your data solution as well?
[05:20:38] <robdubya> no sir
[05:20:41] *** sinequanon has joined #angularjs
[05:20:56] <robdubya> god, i'd hire military dudes all day long for devs
[05:20:57] <BahamutWC|Laptop> well, my service is sort of half assed unfortunately - getting admin sep due to not being able to deal with admin back-and-forth bs, but that’s another story
[05:21:24] <BobbieBarker> BahamutWC|Work: when where you active, just out of curiousity
[05:21:31] <BahamutWC|Laptop> BobbieBarker: I’m a reservist
[05:21:35] <BobbieBarker> oh
[05:21:42] *** grantfunke_ has quit IRC
[05:21:45] <BobbieBarker> did you deploy?
[05:21:51] *** gnrlbzik has quit IRC
[05:21:56] <BahamutWC|Laptop> got sick of being bounced back and forth between admin for two units when trying to do a unit transfer
[05:22:03] *** discgo has quit IRC
[05:22:05] <BahamutWC|Laptop> nope - my deployments got cancelled 3 times
[05:22:19] <BobbieBarker> i've heard that before from a couple of dudes
[05:22:43] *** browles has joined #angularjs
[05:22:50] <BahamutWC|Laptop> yeah, it’s stupid - I asked if there was anything esle I needed to do, got told no, wait until a document got drafted up for me to sign
[05:23:01] *** thirdknife has quit IRC
[05:23:14] <BahamutWC|Laptop> then, nope, turned out I got marked as UA and I needed to contact admin yet again
[05:23:27] <BobbieBarker> i was in the active army, and actually just went to the reserves cuz i didn't want to totally give up the life. I just was tired of being gone 24/7 and not seeing my kids grow up
[05:23:34] <BobbieBarker> but the reserves man.... holy shit they fucking suck
[05:23:56] <BahamutWC|Laptop> not as much bullshit as active, but still sucks
[05:24:17] <BahamutWC|Laptop> active duty they micromanage you like crazy, so the reserves are better on that front
[05:24:19] <opus_> hold on, according to the CIA factbook total usa army = army + reservist, do they really suck?
[05:24:23] *** BCC9518C23DDE4FA has joined #angularjs
[05:24:37] *** dllama has quit IRC
[05:24:38] *** BCC9518C23DDE4FA has quit IRC
[05:24:48] <BobbieBarker> it's a different life style
[05:25:01] <BobbieBarker> BahamutWC|Work: active duty unit's run like well oiled machines
[05:25:03] *** doug64k has quit IRC
[05:25:05] <BobbieBarker> atleast the ones i was in do
[05:25:05] *** linojon has joined #angularjs
[05:25:07] <BobbieBarker> or did
[05:25:15] <BobbieBarker> the reserves it's like they don't know wtf they're doing.
[05:25:18] <BahamutWC|Laptop> right, but they still micromanage you to get to that point
[05:25:34] <BahamutWC|Laptop> well, the admin I had to deal with are active duty
[05:25:52] *** AngularUI has joined #angularjs
[05:25:52] <AngularUI> [bootstrap] chrisirhc closed pull request #1600: refactor(tooltip): remove child scope (master...feature/tooltip-remove-child-scope) http://git.io/gatZXA
[05:25:52] *** AngularUI has left #angularjs
[05:25:52] *** jrist has joined #angularjs
[05:25:53] <BobbieBarker> where they really active duty or where they active reserves?
[05:25:56] <BobbieBarker> cuz those are the worst
[05:26:01] <BahamutWC|Laptop> active duty for real
[05:26:03] <BobbieBarker> oh
[05:26:05] <BahamutWC|Laptop> part of I&I
[05:26:19] <BobbieBarker> well you can always find assholes and dipshits where ever you go
[05:26:20] <BobbieBarker> lol
[05:26:35] <opus_> true
[05:27:08] <BahamutWC|Laptop> well, it’s more that it’s just hard to get in touch with them via phone
[05:27:13] *** prbc has quit IRC
[05:27:18] <BobbieBarker> that's obnoxious dude
[05:27:18] <BahamutWC|Laptop> and phone is the only interaction they will accept, excepting maybe in person
[05:27:23] <BobbieBarker> sorry that was your military experience
[05:27:33] <BobbieBarker> what is your rank and TIG?
[05:27:36] <BahamutWC|Laptop> kinda sad, I did 3 years
[05:27:45] <BobbieBarker> have you contacted IG or your Sgt Major about this?
[05:27:57] <BahamutWC|Laptop> nah, rather just take the admin sep and be done with it
[05:28:22] *** codeman has quit IRC
[05:28:26] <BahamutWC|Laptop> no need to raise hell over it - duty sucks, and the Corps wants to downsize, so whatever
[05:28:31] <BahamutWC|Laptop> shouldn’t affect my career at all
[05:28:36] <BobbieBarker> for sure
[05:28:53] <BobbieBarker> well you stepped up to the challenge and that's more than what 85% of the country can say
[05:29:11] *** sahbeewah has quit IRC
[05:29:18] <BahamutWC|Laptop> besides, I did get a lot out of the Corps even though it sucked
[05:29:29] <BahamutWC|Laptop> learned a lot about leadership, and that experience itself is valuable
[05:29:41] <BobbieBarker> no doubt
[05:30:51] *** jrist has quit IRC
[05:30:54] *** discgo has joined #angularjs
[05:30:56] *** sinequanon has quit IRC
[05:31:05] <opus_> did you learn self sufficency? honest question
[05:31:13] *** phuh has quit IRC
[05:31:24] <BahamutWC|Laptop> opus_: you learn how to take care of yourself and others
[05:31:35] <BahamutWC|Laptop> they even will teach you how to sew lol
[05:31:39] *** phuh has joined #angularjs
[05:31:53] <opus_> oh, crap. i ment in technical terms , not meta.
[05:32:02] <opus_> Like if you were to live off the land
[05:32:04] *** BCC9518C23DDE4FA has joined #angularjs
[05:32:09] *** prbc has joined #angularjs
[05:32:12] <BahamutWC|Laptop> oh, active duty gets more of that sort of training
[05:32:14] <woah> did you ever get frustrated at being ordered to do things and not being able to question it?
[05:32:21] <BahamutWC|Laptop> woah: oh hell yeah
[05:32:50] *** BCC9518C23DDE4FA has quit IRC
[05:32:55] *** sshaginyan has joined #angularjs
[05:33:09] <BahamutWC|Laptop> I’ve also actively flouted NCO orders since they compromised opsec in public by trying to display authority unnecessarily :)
[05:33:53] *** oktapodi has joined #angularjs
[05:34:11] <BahamutWC|Laptop> but those are stories for outside this channel really heh
[05:34:39] *** sinequanon has joined #angularjs
[05:35:41] <opus_> Well if we've got some good MIL tech guys in #angularjs, I have to say I feel better about our nations defence. :)
[05:35:45] <woah> do you ever feel like that about angular?
[05:36:08] <BahamutWC|Laptop> woah: not so much - but then again, I started my professional career with working with angular
[05:36:21] *** favetelinguis has joined #angularjs
[05:36:34] *** prbc has quit IRC
[05:36:43] <BahamutWC|Laptop> I’m not opinionated enough to really be frustrated by certain patterns with angular yet
[05:37:24] <opus_> my para-military skills include bagging a buck a few weeks ago with a remington 770 243.
[05:37:33] <opus_> and thats it :)
[05:39:11] *** kalehv has quit IRC
[05:40:16] *** mennea has quit IRC
[05:40:54] *** mennea has joined #angularjs
[05:41:03] *** saint-ron has quit IRC
[05:42:12] *** anivemin has joined #angularjs
[05:42:55] *** jrist has joined #angularjs
[05:43:30] *** patrick99e99 has joined #angularjs
[05:43:35] *** annlewis has joined #angularjs
[05:43:39] *** jonr22 has joined #angularjs
[05:44:42] *** bbankes has joined #angularjs
[05:44:59] *** Hackwar1 has quit IRC
[05:45:43] *** Hackwar has joined #angularjs
[05:46:25] *** linojon has quit IRC
[05:47:17] *** anivemin has quit IRC
[05:47:40] *** TrafficMan has joined #angularjs
[05:48:12] *** jonr22 has quit IRC
[05:48:18] *** annlewis has quit IRC
[05:48:41] *** patrick99e99 has quit IRC
[05:48:52] <robdubya> unlike me. who's opinionated as fuck.
[05:49:48] <BahamutWC|Laptop> well, I can be opinionated heh
[05:49:57] <robdubya> BahamutWC|Laptop i'm working on my promise class for next week :D
[05:50:04] <BahamutWC|Laptop> nice
[05:50:11] *** shampine has quit IRC
[05:50:28] <BobbieBarker> promises mother fucker
[05:50:31] <BobbieBarker> do you speak them?
[05:50:33] <BobbieBarker> is that the title?
[05:50:37] <robdubya> it is now
[05:50:40] <themime> haha
[05:50:43] <BobbieBarker> lol
[05:50:56] <BobbieBarker> i'm out of here for the night, thanks guys for the convo and insights etc etc
[05:51:29] <robdubya> BobbieBarker see ya. hollar if you do docker, i'm learning it atm
[05:51:40] <BobbieBarker> imma read up on it int he morning
[05:51:44] <robdubya> i'll probably bug you on the linux buts
[05:51:45] <BobbieBarker> also going to fuck around with divshot still
[05:51:45] <themime> night
[05:51:49] <opus_> I love IRC. in one channel I'm aruging a file layout, the other, a async api property, and here ..
[05:51:53] *** kirfu has quit IRC
[05:52:05] <themime> it helps keep me motivated i find
[05:52:18] <robdubya> literally everything i know about angular i learned in here
[05:52:22] <jaydubya> http://plnkr.co/edit/FY9QFO89EtOEoNVgHtQz?p=preview <-- where do I put the grading conditionals?
[05:52:33] <opus_> robdubya: nice
[05:52:41] <themime> robdubya: i think 30% of my base angular info came from you haha
[05:52:47] <BahamutWC|Laptop> g’night BobbieBarker
[05:52:49] *** ngeksyo has joined #angularjs
[05:53:09] <robdubya> themime and the wheel keeps on spinnin'
[05:53:10] <BahamutWC|Laptop> themime: I learned a lot just from lurking here
[05:53:34] <BahamutWC|Laptop> lurking and attempting various people’s problems
[05:53:35] <themime> yep. and i like answering questions. i either feel good about myself or i learn something, its win-win
[05:53:44] *** bmac has quit IRC
[05:54:02] <BahamutWC|Laptop> I should lurk in #node.js and do the same to pick up node…although node isn’t as easy to spin up duplicate environments as angular
[05:54:20] *** snurfery has joined #angularjs
[05:54:24] <themime> ugggg im about to try node. ive been putting it off
[05:54:33] <BahamutWC|Laptop> with frontend there’s plunker and boom, instant shareability
[05:54:47] <themime> yea ive been doing little experiments on plunker
[05:54:53] *** jrist has quit IRC
[05:55:05] <BahamutWC|Laptop> I spent a lot of today on this: http://plnkr.co/edit/JeFlnHmj6gjo4NG3Do75?p=preview
[05:55:16] <themime> and i just set up a new github that im actually going to use
[05:55:33] *** matthoiland has joined #angularjs
[05:55:34] *** dnewkerk has quit IRC
[05:55:41] *** whitebook has joined #angularjs
[05:55:46] <BahamutWC|Laptop> I’m just writing unit tests for my little library atm
[05:56:16] <robdubya> jaydubya http://plnkr.co/edit/rFrQ5szIebK8EA2nBgK1?p=preview see line 35
[05:56:20] <robdubya> of your html
[05:56:48] <robdubya> oop
[05:56:50] <robdubya> refresh that
[05:57:00] <themime> BahamutWC|Laptop: oh thats awesome!
[05:57:20] <robdubya> tell me you're writing unit tests for confetti
[05:57:23] <robdubya> yes, you are
[05:57:24] <robdubya> fucking rad
[05:57:25] <BahamutWC|Laptop> yup
[05:57:42] <BahamutWC|Laptop> I just need to unit test the recursive step function and it’s done
[05:57:53] <themime> i finished this the other night http://plnkr.co/edit/66Mpvi1hdaiOTPiXNY9o?p=preview
[05:58:10] <robdubya> ima throw that in crosswalk real quick, see how well it animates
[05:58:11] <themime> and then i finally looked up toastr haha
[05:58:33] <BahamutWC|Laptop> themime: toastr is cool
[05:58:37] *** red_horned_rihno has joined #angularjs
[05:58:40] <BahamutWC|Laptop> there’s various angular toastr libraries out there
[05:58:44] <themime> yea im super excited to use it for ...something
[05:58:46] *** ngeksyo is now known as ngeksyo_
[05:58:52] <themime> maybe convince work to use it
[05:58:57] *** ngeksyo_ is now known as ngeksyo
[05:58:58] <BahamutWC|Laptop> https://github.com/Foxandxss/angular-toastr
[05:59:02] <themime> sweet thanks!
[05:59:04] *** mven has quit IRC
[05:59:31] <themime> i just got bower set up
[06:00:01] *** charuru has quit IRC
[06:00:02] *** matthoiland has quit IRC
[06:00:07] <themime> i tried it before and just....i have to be on windows and the default shell sucks. i have powershell now and im starting to tolerate these tools a lot more
[06:00:34] *** whitebook has quit IRC
[06:00:46] <BahamutWC|Laptop> you could use VMware and work in Ubuntu
[06:00:48] *** freeman42 has quit IRC
[06:01:09] <BahamutWC|Laptop> the CLI tools are much more friendly in Ubuntu
[06:01:17] *** elrabin has joined #angularjs
[06:01:40] <themime> yea i thought about that
[06:01:50] <jaydubya> robdubya: ok, that was mentioned earlier in our conversation but I didn't add it in. My question is where do I and how do I actually do the grading ... that is, unless there's a red in the column, it's an A ... oops, there's a red, go to next column and test again and ultimately give them an 'F' if they can't get through any column all black
[06:02:00] *** mdel has joined #angularjs
[06:02:20] <BahamutWC|Laptop> jaydubya: you could use ng-pluralize
[06:02:44] <themime> don't like the inconsistency i guess. not in any rational way, just a weird makes it hard to focus "off" kind of feeling. and i like having my data in the same place. just weird nerd stuff haha. ideally id have a separate computer for coding that is linux and no more VS/C# and then a separate windows machine for gaming, maybe that steam machine or something
[06:02:49] <BahamutWC|Laptop> or…hm
[06:02:52] <jaydubya> I mocked up how the actual results set will come in and there is nothing there I can loop on
[06:02:57] <BahamutWC|Laptop> maybe ng-show/ng-hide might be better
[06:03:09] *** kirfu has joined #angularjs
[06:03:12] <jaydubya> I'm looking up ng-pluralize now
[06:03:51] <BahamutWC|Laptop> themime: that’s what I do, my desktop is a windows desktop for gaming
[06:04:07] <BahamutWC|Laptop> my work machine and personal laptop are both on OS X
[06:04:21] *** scythe__ has quit IRC
[06:04:29] *** cesarkawakami has quit IRC
[06:04:29] <BahamutWC|Laptop> I’m slowly collecting parts for a linux dev machine though
[06:04:32] <themime> nice
[06:04:39] <themime> sounds like a good set up
[06:04:43] <BahamutWC|Laptop> probably will build one in Febuary
[06:05:03] <robdubya> jaydubya the logic will be a bit tricky, in the sense that changing it to red for one and only one of those conditions
[06:05:36] <robdubya> the basic idea is the same though
[06:06:01] *** crazybotsmoker has quit IRC
[06:06:15] *** elrabin has quit IRC
[06:06:32] <BahamutWC|Laptop> oh yeah robdubya, just switched to Atom today - it’s kinda nice, I think I like it
[06:06:38] <jaydubya> maybe BahamutWC|Laptop's idea earlier was better -- a fail() function and as a result, it's red
[06:06:59] <robdubya> yeah - otherwise it'll get a little crazy
[06:07:16] *** Reskp has joined #angularjs
[06:08:12] *** jrist has joined #angularjs
[06:08:13] <jaydubya> lol -- it's already crazy not having anything to ng-repeat on
[06:08:36] <robdubya> hmm BahamutWC|Laptop pretty slow on mobile
[06:08:52] <BahamutWC|Laptop> try reducing the # of confetti heh
[06:09:03] <BahamutWC|Laptop> I put the default to 500 from 150
[06:09:16] *** knownasilya has quit IRC
[06:09:22] *** dgee has joined #angularjs
[06:09:36] <robdubya> lol
[06:10:17] *** mennea has quit IRC
[06:10:52] *** mennea has joined #angularjs
[06:11:08] <jaydubya> would it be of benefit to actually create a "temp" object of just the result set from the rest of the variables?
[06:11:08] <robdubya> nope :/
[06:11:13] <jaydubya> ok
[06:11:18] <robdubya> jaydubya not really
[06:11:19] *** Limix has quit IRC
[06:11:42] *** Reskp has quit IRC
[06:11:43] <robdubya> actually
[06:11:55] <robdubya> why not figure out if its a b c or d before the view
[06:12:02] *** woah has quit IRC
[06:12:09] *** MaxV has joined #angularjs
[06:12:28] *** shinnya has quit IRC
[06:12:32] <robdubya> BahamutWC doesn't seem to affect the speed at all
[06:12:43] <BahamutWC|Laptop> hm
[06:13:03] <BahamutWC|Laptop> guess rAF is not quite ready for mobile then?
[06:13:21] <robdubya> even with 10, same speed
[06:13:29] *** MaxV has quit IRC
[06:13:33] <robdubya> profiling it now, this htc kinda sucks
[06:13:34] <BahamutWC|Laptop> it’s supposedly less power intensive than setTimeout though
[06:13:36] <BahamutWC|Laptop> haha
[06:13:42] <BahamutWC|Laptop> that could probably be why
[06:13:56] *** MaxV has joined #angularjs
[06:14:30] <robdubya> hmmmm
[06:14:47] <robdubya> it looks like its idling in between each frame, a lot -
[06:15:18] *** sshaginyan has quit IRC
[06:15:20] *** thirdknife has joined #angularjs
[06:15:21] <robdubya> damnit now i'm actually gonan have to read the code
[06:16:29] *** zwacky has quit IRC
[06:16:35] *** teddyp1cker has joined #angularjs
[06:17:43] *** joshontheweb has joined #angularjs
[06:18:29] *** MaxV has quit IRC
[06:19:16] *** DV8_ has quit IRC
[06:19:23] *** nachinius has quit IRC
[06:20:09] *** sinequanon has quit IRC
[06:21:03] *** d0nk` has quit IRC
[06:22:12] *** d0nk` has joined #angularjs
[06:22:55] *** ProLoser has joined #angularjs
[06:23:05] *** crazybotsmoker has joined #angularjs
[06:23:14] *** thirdknife has quit IRC
[06:24:59] <BahamutWC|Laptop> that’s probably rAF then
[06:25:00] *** tkimmel has joined #angularjs
[06:25:18] <BahamutWC|Laptop> rAF is similar (but not quite) a setTimeout(function () { … }, 1000 / 60)
[06:25:43] <BahamutWC|Laptop> similar to*
[06:25:55] *** AngularUI has joined #angularjs
[06:25:55] <AngularUI> [bootstrap] chrisirhc pushed 2 new commits to master: http://git.io/BLLRrg
[06:25:56] <AngularUI> bootstrap/master 13b5cd9 Chris Chua: refactor(tooltip): lazily evaluate placement, delay...
[06:25:56] <AngularUI> bootstrap/master a65bea9 Chris Chua: refactor(tooltip): remove observer for triggers...
[06:25:56] *** AngularUI has left #angularjs
[06:26:16] *** teddyp1cker has quit IRC
[06:27:05] *** snapwich has joined #angularjs
[06:27:21] *** ProLoser has quit IRC
[06:27:26] *** snapwich has quit IRC
[06:27:52] *** chvid has joined #angularjs
[06:28:49] <robdubya> BahamutWC|Laptop okay
[06:28:50] <robdubya> so
[06:29:01] <robdubya> i pulled a generic RAF demo from http://joshondesign.com/p/books/canvasdeepdive/chapter04.html
[06:29:13] <robdubya> no jank on it on the htc
[06:29:27] *** tkimmel has quit IRC
[06:29:37] <BahamutWC|Laptop> hmm
[06:29:38] *** sahbeewah has joined #angularjs
[06:29:38] <robdubya> well, a tiny tiny bit every couple of secs, but way faster that confetti
[06:30:06] *** TommyO_ has joined #angularjs
[06:30:16] <BahamutWC|Laptop> so something is bad about my draw function?
[06:30:23] <robdubya> something wacky, yeah
[06:30:37] <BahamutWC|Laptop> wouldn’t be too surprising - I didn’t write that logic heh
[06:30:38] *** narutimateum has quit IRC
[06:30:54] <robdubya> looking at the profiler, its very regular jank
[06:31:02] <robdubya> so it doesn't feel like performance
[06:31:07] <robdubya> if that makes sense
[06:31:14] *** phuh has quit IRC
[06:31:39] <BahamutWC|Laptop> yeah
[06:31:41] *** phuh has joined #angularjs
[06:32:07] <robdubya> if i had to guess
[06:32:21] <robdubya> it would the forEach
[06:32:54] *** TommyO has quit IRC
[06:33:39] <BahamutWC|Laptop> can you tell me if this is janky too robdubya? http://jsfiddle.net/vxP5q/61/embedded/result/
[06:34:02] *** morel has quit IRC
[06:34:48] <robdubya> yep, sec
[06:35:57] *** sahbeewah has quit IRC
[06:36:34] *** teddyp1cker has joined #angularjs
[06:36:53] *** danflies has quit IRC
[06:37:02] *** nalbandia has joined #angularjs
[06:37:16] <BahamutWC|Laptop> just updated plunker with forEach removed
[06:37:51] *** jrowny has quit IRC
[06:39:22] *** vbirtocian has joined #angularjs
[06:39:23] <robdubya> BahamutWC|Laptop that one is fast
[06:39:32] <robdubya> not the plunk
[06:39:33] *** moritzschaefer has quit IRC
[06:39:33] *** moritzs has quit IRC
[06:39:34] <BahamutWC|Laptop> hmm
[06:39:35] <robdubya> the one you lnked
[06:39:54] <BahamutWC|Laptop> the logic is essentially the same hmm
[06:40:04] <BahamutWC|Laptop> the updated plunk is still janky?
[06:40:15] <robdubya> checkin
[06:40:19] *** mennea has quit IRC
[06:40:40] <robdubya> still slow
[06:40:51] <robdubya> so not that lol
[06:40:56] *** mennea has joined #angularjs
[06:41:03] <BahamutWC|Laptop> I wonder if it has to do with the usage of classes for the confetti
[06:41:20] <BahamutWC|Laptop> maybe using Object.create would be better?
[06:41:20] *** jrowny has joined #angularjs
[06:41:33] <robdubya> i thought that was supposed to be slower actually
[06:41:37] <BahamutWC|Laptop> huh
[06:42:07] *** FalsePozitive has joined #angularjs
[06:42:23] <ckboii89> can anyone help me point outwhats wrong?
[06:42:25] <ckboii89> https://gist.github.com/gwong89/96aceafd5afb50bf6243
[06:42:51] *** bbankes has quit IRC
[06:42:51] *** dalguete has quit IRC
[06:43:10] *** mandric has quit IRC
[06:43:37] *** annlewis has joined #angularjs
[06:43:55] *** cthrax has quit IRC
[06:43:55] <robdubya> BahamutWC|Laptop http://i.imgur.com/XZCD9G3.png
[06:43:55] <opus_> I think you can only delcare one module
[06:44:12] <opus_> and ".controller" after defining the module is unorthodox
[06:44:14] <BahamutWC|Laptop> hmm
[06:44:25] <BahamutWC|Laptop> I was just doing profiling too
[06:44:38] <BahamutWC|Laptop> draw seems to be the intensive function
[06:44:43] <BahamutWC|Laptop> and stroke huh...
[06:45:00] <BahamutWC|Laptop> also chrome’s profiling tools are awesome
[06:45:00] <ckboii89> is it?
[06:45:09] *** josh-k has joined #angularjs
[06:46:55] *** FalsePozitive has quit IRC
[06:47:12] *** boberober has joined #angularjs
[06:48:01] *** annlewis has quit IRC
[06:49:30] <opus_> angular.module('youmod')
[06:49:51] *** josh-k_ has joined #angularjs
[06:50:00] <opus_> .controller('BillingCtrl', function($scope, $state,
[06:50:31] *** teddyp1cker has quit IRC
[06:51:04] <robdubya> BahamutWC|Laptop going to in and out, bbiab. gonna fix this bitch
[06:51:11] <BahamutWC|Laptop> haha
[06:51:15] *** jrist has quit IRC
[06:51:19] <BahamutWC|Laptop> see ya in a bit then
[06:51:23] *** boberober has quit IRC
[06:52:39] *** iinzg has joined #angularjs
[06:53:50] *** josh-k has quit IRC
[06:54:25] *** Shock has joined #angularjs
[06:55:01] *** Shock is now known as Guest88783
[06:55:06] *** teddyp1c_ has joined #angularjs
[06:55:28] *** red_horned_rihno has quit IRC
[06:55:56] *** TommyO_ is now known as TommyO
[06:56:18] *** TommyO has quit IRC
[06:56:38] *** rahatm1 has joined #angularjs
[06:56:39] *** TommyO has joined #angularjs
[06:57:04] *** akiress has quit IRC
[06:57:23] *** scottc5 has joined #angularjs
[06:57:33] *** Guest88783 has quit IRC
[07:01:24] *** red_horned_rihno has joined #angularjs
[07:01:26] *** discgo has quit IRC
[07:03:31] *** robdubya has quit IRC
[07:04:20] *** jrist has joined #angularjs
[07:04:29] *** prbc has joined #angularjs
[07:05:53] *** grantfunke_ has joined #angularjs
[07:05:55] *** gnrlbzik has joined #angularjs
[07:06:14] <BahamutWC|Laptop> ckboii89: your injection needs to happen before the module.controller line
[07:06:40] <BahamutWC|Laptop> NewTeamController.$inject = [‘$modal’]; angular.module(‘basketball’).controller(….)
[07:06:47] *** favetelinguis has quit IRC
[07:06:52] <ckboii89> really?
[07:06:53] <sacho> no
[07:06:54] *** mennea has quit IRC
[07:07:02] <ckboii89> the guide doesn't do it that way..
[07:07:17] <ckboii89> https://github.com/johnpapa/angularjs-styleguide#manual-annotating-for-dependency-injection
[07:07:20] <sacho> ckboii89, what error are you getting?
[07:07:33] <ckboii89> reference type error
[07:07:36] <BahamutWC|Laptop> well regardless, you need to do .$inject = not $inject[‘$modal’]
[07:07:40] <ckboii89> $modal
[07:07:50] *** sahbeewah has joined #angularjs
[07:07:53] <sacho> ckboii89, what's the exact error?
[07:07:56] *** teddyp1c_ has quit IRC
[07:08:04] <BahamutWC|Laptop> you should try to reproduce this in plunker
[07:08:09] <sacho> your function doesn't have an $inject property like bahamut noted
[07:08:27] <sacho> you should be assigning an array to it rather than trying to add properties to it
[07:08:35] <sacho> so ctrl.$inject = [...]
[07:08:41] *** joshontheweb has quit IRC
[07:08:46] *** prbc has quit IRC
[07:09:11] *** Zeioth has quit IRC
[07:09:21] <sacho> hmm, that doesn't even add a property, it's just a get :P
[07:09:49] <ckboii89> im just lookin at a picture
[07:09:59] <ckboii89> and the reference guide on how to write proper angular code
[07:10:17] <BahamutWC|Laptop> bleh, canvas api is horrible - unperformant and you have to do context.stroke() every time you change a color
[07:10:25] *** rahil has joined #angularjs
[07:11:02] *** gnrlbzik has quit IRC
[07:11:11] *** martianboy has joined #angularjs
[07:11:45] *** teddyp1c_ has joined #angularjs
[07:12:07] <sacho> ckboii89, yes, do you notice a difference?
[07:12:23] <rahil> anyone using rails+pjax+angular here? i'm having trouble with my set up
[07:12:33] <sacho> you're not assigning an array to the $inject property
[07:12:38] *** kentcdodds has joined #angularjs
[07:12:53] <ckboii89> UAFUGASUIFG
[07:12:56] <ckboii89> jesus
[07:13:00] *** Sontakey has joined #angularjs
[07:13:03] *** dgee has quit IRC
[07:13:04] <kentcdodds> With the $animate service, am I able to hook into ng-repeat "events" to add/remove classes of my own when an item is added/removed from the repeat?
[07:13:04] <ckboii89> i should go eat
[07:13:08] <ckboii89> thanks
[07:13:58] *** favetelinguis has joined #angularjs
[07:14:38] *** MaxV has joined #angularjs
[07:17:30] *** rahatm1 has quit IRC
[07:17:47] *** Sontakey has quit IRC
[07:17:54] *** grantfunke_ has quit IRC
[07:18:50] <BahamutWC|Laptop> kentcdodds: ng-repeat already is wired up to $animate
[07:18:56] <BahamutWC|Laptop> you just need to add the correct css
[07:19:08] *** MaxV has quit IRC
[07:19:21] <kentcdodds> I would like to add a class provided by animate.css
[07:19:33] <kentcdodds> so I don't have to reimplement some of the animations that library provides
[07:19:49] <BahamutWC|Laptop> animate.css is different
[07:20:20] *** Skrypter has quit IRC
[07:20:21] <BahamutWC|Laptop> $animate with angular is about programmatic animations via css + angular
[07:20:54] *** Skrypter has joined #angularjs
[07:21:05] <kentcdodds> right
[07:21:05] <kentcdodds> I know that
[07:21:26] <kentcdodds> I'm saying, I want to add an animate.css class to my elements when they're added / removed
[07:21:39] <BahamutWC|Laptop> right, but that’s not how $animate works
[07:21:42] <kentcdodds> I thought this could be accomplished with the $animate service
[07:22:04] <kentcdodds> Because I know there's a programatic interface to $animate
[07:22:10] <kentcdodds> but I'm not familar with it
[07:22:34] <kentcdodds> Do you have any recommendations for how to accomplish something like this?
[07:22:40] <BahamutWC|Laptop> the way $animate works, the css needs to be designed differently
[07:22:52] *** rtpg_ has joined #angularjs
[07:23:29] <kentcdodds> I see
[07:23:30] *** Sontakey has joined #angularjs
[07:23:39] <kentcdodds> ok, I'll look for an alternative solution. Thanks!
[07:25:33] *** Skrypter has quit IRC
[07:25:50] <jaydubya> I got this far and I am clueless how to proceed: http://plnkr.co/edit/Y09iLtQzIwQ73ndqIXbH?p=preview
[07:26:01] *** rtpg_ has quit IRC
[07:26:06] *** rtpg has quit IRC
[07:26:24] *** ngeksyo has quit IRC
[07:26:27] <jaydubya> if don't think the an if clause just floating around in the controller is a good idea
[07:26:31] *** rtpg has joined #angularjs
[07:26:41] *** rahil has quit IRC
[07:29:32] *** robdubya has joined #angularjs
[07:29:38] *** oktapodi_ has joined #angularjs
[07:29:46] *** gunn has quit IRC
[07:30:16] *** gnrlbzik has joined #angularjs
[07:30:17] *** kentcdodds has quit IRC
[07:30:56] *** anivemin has joined #angularjs
[07:31:17] *** rtpg has quit IRC
[07:31:18] *** phuh has quit IRC
[07:31:36] *** oktapodi has quit IRC
[07:31:42] *** phuh has joined #angularjs
[07:31:45] *** vbirtocian has quit IRC
[07:32:13] *** jonr22 has joined #angularjs
[07:32:17] *** Sontakey has quit IRC
[07:32:44] *** RastaqWhere has joined #angularjs
[07:35:34] *** anivemin has quit IRC
[07:36:19] *** abstrakt has left #angularjs
[07:37:10] *** jonr22 has quit IRC
[07:40:10] *** deanclkclk_ has quit IRC
[07:41:54] *** favetelinguis has quit IRC
[07:42:20] *** chvid has quit IRC
[07:42:29] *** favetelinguis has joined #angularjs
[07:43:14] *** AngularUI has joined #angularjs
[07:43:14] <AngularUI> [ng-grid] PaulL1 closed pull request #1976: #1868 - fix for move column not working for very large number fo columns (master...master) http://git.io/DnhrIw
[07:43:14] *** AngularUI has left #angularjs
[07:43:38] *** annlewis has joined #angularjs
[07:44:07] *** AngularUI has joined #angularjs
[07:44:08] <AngularUI> [ng-grid] PaulL1 closed pull request #1968: Fixed issue #1733 and associated unit tests (master...pinnedXWithoutWidth) http://git.io/JuKsAA
[07:44:08] *** AngularUI has left #angularjs
[07:44:23] *** patrick99e99 has joined #angularjs
[07:44:25] *** matthoiland has joined #angularjs
[07:44:46] *** deanclkclk has joined #angularjs
[07:45:48] *** AngularUI has joined #angularjs
[07:45:49] <AngularUI> [ng-grid] PaulL1 pushed 2 new commits to master: http://git.io/G7DyVw
[07:45:49] <AngularUI> ng-grid/master 81024ea Gabi Boros: add callback for column resize
[07:45:49] <AngularUI> ng-grid/master e9d03bb Paul: Merge pull request #1962 from Servoy/columnresize...
[07:45:49] *** AngularUI has left #angularjs
[07:45:59] *** robdubya has quit IRC
[07:46:07] *** gnrlbzik has quit IRC
[07:47:00] *** favetelinguis has quit IRC
[07:48:30] *** jrowny has quit IRC
[07:48:36] *** annlewis has quit IRC
[07:48:48] *** matthoiland has quit IRC
[07:48:57] *** RastaqWhere has quit IRC
[07:49:26] *** patrick99e99 has quit IRC
[07:49:53] *** AngularUI has joined #angularjs
[07:49:54] <AngularUI> [ng-grid] PaulL1 closed pull request #1958: Fix for issue #1924 - Corrected footer display when there is no aggregationType for a column (master...patch-1) http://git.io/p36aSA
[07:49:54] *** AngularUI has left #angularjs
[07:50:26] *** superstructor has joined #angularjs
[07:50:29] *** robdubya has joined #angularjs
[07:50:50] *** AngularUI has joined #angularjs
[07:50:50] <AngularUI> [ng-grid] PaulL1 reopened pull request #1987: Update README.md (master...patch-1) http://git.io/-fvqNw
[07:50:51] *** AngularUI has left #angularjs
[07:50:58] <robdubya> BahamutWC any joy?
[07:51:18] *** AngularUI has joined #angularjs
[07:51:19] <AngularUI> [ng-grid] PaulL1 pushed 2 new commits to master: http://git.io/91yhhg
[07:51:19] <AngularUI> ng-grid/master 7b3389a Shazypro: Update README.md...
[07:51:19] <AngularUI> ng-grid/master c280b35 Paul: Merge pull request #1987 from Shazypro/patch-1...
[07:51:19] *** AngularUI has left #angularjs
[07:51:30] *** AngularUI has joined #angularjs
[07:51:31] <AngularUI> [ng-grid] PaulL1 closed pull request #1930: Updated minified js url (master...master) http://git.io/BhB5uA
[07:51:31] *** AngularUI has left #angularjs
[07:53:17] *** jaydubya has quit IRC
[07:53:53] *** jaydubya has joined #angularjs
[07:54:34] *** anjumkaiser has quit IRC
[07:54:58] *** tarnus has quit IRC
[07:55:43] *** IvailoStoianov has joined #angularjs
[07:57:03] *** scottc5 has quit IRC
[07:58:08] *** mihserf has joined #angularjs
[07:58:15] *** sahbeewah has quit IRC
[07:58:30] *** yelvert has joined #angularjs
[07:58:41] *** jaydubya has quit IRC
[07:58:42] *** red_horned_rihno has quit IRC
[07:59:02] *** deanclkclk has quit IRC
[07:59:04] *** red_horned_rihno has joined #angularjs
[08:01:02] *** yelvert_ has joined #angularjs
[08:04:11] *** yelvert has quit IRC
[08:04:15] *** superstructor has quit IRC
[08:08:45] *** Reskp has joined #angularjs
[08:10:21] *** Guest23827 has joined #angularjs
[08:11:23] *** Guest23827 has quit IRC
[08:11:48] *** ProLoser has joined #angularjs
[08:12:10] *** Sky[x] has joined #angularjs
[08:13:27] *** Reskp has quit IRC
[08:13:53] *** tkimmel has joined #angularjs
[08:14:30] *** poolside has quit IRC
[08:14:33] *** doug64k has joined #angularjs
[08:15:29] *** robdubya has quit IRC
[08:16:41] *** ProLoser has quit IRC
[08:17:49] *** anjumkaiser has joined #angularjs
[08:18:08] *** tkimmel has quit IRC
[08:18:42] *** grantfunke_ has joined #angularjs
[08:18:46] *** robdubya has joined #angularjs
[08:18:58] <BahamutWC|Laptop> robdubya: https://github.com/wesleycho/confetti.js
[08:19:01] *** jrowny has joined #angularjs
[08:19:06] *** superstructor has joined #angularjs
[08:19:35] <robdubya> sweet
[08:20:24] <BahamutWC|Laptop> so I found out why stroke is causing such a performance hit
[08:20:46] <BahamutWC|Laptop> I can’t batch it because changing colors can only be done on the canvas context itself, not on a line - it’s poor canvas api
[08:20:53] *** travm has joined #angularjs
[08:21:58] *** mandric has joined #angularjs
[08:22:09] *** robdubya has quit IRC
[08:22:46] *** jae has joined #angularjs
[08:23:22] *** grantfunke_ has quit IRC
[08:23:52] *** JohnBat26 has joined #angularjs
[08:24:26] *** agrajag42 has quit IRC
[08:25:45] *** jrowny has quit IRC
[08:26:15] *** browles has quit IRC
[08:26:34] *** mpeterson has joined #angularjs
[08:27:00] *** rtpg has joined #angularjs
[08:28:21] <mpeterson> Could anyone help me get started on testing my Application? I'm pretty new to jasmine testing and I've been having some issues with $routeProvider (and others) being unknown. Thanks!
[08:28:45] *** klaut has joined #angularjs
[08:29:16] <BahamutWC> what's your question?
[08:30:49] *** FalsePozitive has joined #angularjs
[08:30:50] *** mennea has joined #angularjs
[08:31:19] *** phuh has quit IRC
[08:31:45] *** anivemin has joined #angularjs
[08:31:51] *** phuh has joined #angularjs
[08:32:17] <mpeterson> My issue is that when I run my tests, I get this: "Unknown provider: $resourceProvider <- $resource <- MyCtrl. My actual code runs just fine though, so what could I be missing in my test to get this to work?
[08:32:22] *** dnull has joined #angularjs
[08:34:01] *** nalbandia has quit IRC
[08:35:24] *** ProLoser has joined #angularjs
[08:35:26] *** nemothekid has quit IRC
[08:35:39] *** FalsePozitive has quit IRC
[08:36:12] *** Sontakey has joined #angularjs
[08:36:29] *** anivemin has quit IRC
[08:37:01] *** ayarza has joined #angularjs
[08:37:07] *** gunn has joined #angularjs
[08:38:02] *** Sontakey1 has joined #angularjs
[08:38:32] *** Sontakey has quit IRC
[08:38:42] <BahamutWC> mpeterson: did you include angular-resource.js in your tests?
[08:38:46] <BahamutWC> karma.conf.js?
[08:38:52] *** rtpg has quit IRC
[08:38:59] *** rtpg has joined #angularjs
[08:39:09] *** platonic has quit IRC
[08:39:40] *** platonic has joined #angularjs
[08:41:22] <mpeterson> BahamutWC: Forgot about that, thanks. Now it's complaining about "$routeProvider" though
[08:41:41] <BahamutWC> don't forget angular-route.js too
[08:41:45] *** Sontakey1 has quit IRC
[08:41:55] <mpeterson> that one is in there
[08:42:27] *** zulucoda has quit IRC
[08:42:28] *** Hackwar1 has joined #angularjs
[08:42:37] <BahamutWC> hmm is your module requiring ngRoute?
[08:43:20] *** dra_ has quit IRC
[08:43:37] *** Hackwar has quit IRC
[08:43:38] <mpeterson> No it was not. It's working now
[08:43:40] <mpeterson> Thanks
[08:43:43] *** annlewis has joined #angularjs
[08:43:46] *** dra_ has joined #angularjs
[08:44:53] *** zulucoda has joined #angularjs
[08:46:01] *** travm has quit IRC
[08:46:12] *** Sontakey has joined #angularjs
[08:46:32] <mpeterson> I've got another question, how do I test what happens when the controller is created (in the callback function)?
[08:46:58] *** gnrlbzik has joined #angularjs
[08:48:10] *** AngularUI has joined #angularjs
[08:48:10] <AngularUI> [bootstrap] chrisirhc opened pull request #2918: fix(tooltip): remove child scope requirement (master...feature/tooltip-remove-scope-req) http://git.io/Hi8SOw
[08:48:11] *** AngularUI has left #angularjs
[08:48:20] *** Sontakey has quit IRC
[08:48:24] *** dnull has quit IRC
[08:48:25] <BahamutWC> mpeterson: can you give a code snippet in a gist or pastebin?
[08:48:39] *** annlewis has quit IRC
[08:49:33] *** jmverges has quit IRC
[08:49:56] <mpeterson> Sure. Give me a sec
[08:50:53] *** jmverges has joined #angularjs
[08:51:01] *** lexek__ has joined #angularjs
[08:52:04] *** gnrlbzik has quit IRC
[08:52:18] *** uber has quit IRC
[08:52:18] *** uber has joined #angularjs
[08:53:39] *** jMyles has quit IRC
[08:59:17] <mpeterson> Here's what my test looks like now: https://gist.github.com/mpeterson2/d67025aaf7200d557d73
[09:00:36] <BahamutWC> mpeterson: you should do expect(scope).toEqual({thing: 'thing'});
[09:01:06] *** jrist has quit IRC
[09:03:40] *** FalsePozitive has joined #angularjs
[09:04:21] <mpeterson> Ah okay. Is there a way to wait for that promise before running the actual expect?
[09:04:24] *** qstrahl has quit IRC
[09:04:46] *** prbc has joined #angularjs
[09:04:57] *** FalsePozitive has quit IRC
[09:05:18] <BahamutWC> normally you should have the callback that does the $http call wrapped in a function method
[09:05:41] <BahamutWC> example: scope.init = function () { getData().then(function (data) { scope.foo = data; }); };
[09:06:01] <mpeterson> Okay, that's what I was thinking. Is init called automatically, or do I have to call that?
[09:06:02] <BahamutWC> then you do scope.init(); scope.$apply();
[09:06:11] <BahamutWC> you would have to call it manually
[09:06:14] <mpeterson> Okay
[09:06:25] <BahamutWC> lots of people just use ng-init for that purpose in the DOM to run initialization code
[09:06:50] <mpeterson> Okay, I'll look into that
[09:07:22] <BahamutWC> also you should do scope = $rootScope.$new() in your test instead of scope = {}
[09:07:38] <BahamutWC> you can get $rootScope by doing inject(function ($rootScope) { ... })
[09:07:48] *** Sontakey has joined #angularjs
[09:08:04] *** AngularUI has joined #angularjs
[09:08:04] <AngularUI> [bootstrap] chrisirhc opened pull request #2919: fix(tooltip): memory leak on show/hide (master...feature/tooltip-fix-leak-2) http://git.io/ok5ncw
[09:08:04] *** AngularUI has left #angularjs
[09:08:53] *** prbc has quit IRC
[09:08:58] <mpeterson> Okay
[09:09:00] *** ome has joined #angularjs
[09:09:44] *** Reskp has joined #angularjs
[09:10:31] *** mihserf has quit IRC
[09:12:13] *** TheAceOfHearts has joined #angularjs
[09:12:47] *** AngularUI has joined #angularjs
[09:12:48] <AngularUI> [bootstrap] chrisirhc closed pull request #2710: fix scope leak in tooltip (master...master) http://git.io/lRvpVQ
[09:12:48] *** AngularUI has left #angularjs
[09:13:13] *** jrist has joined #angularjs
[09:14:10] *** Reskp has quit IRC
[09:14:51] <mpeterson> Okay, I've moved my http calling to an init function, but I'm still not sure how to wait for it to be resolved before running the expects. I thought "waitsFor" was a function jasmine had, but it doesn't seem to be available.
[09:15:26] *** Sontakey1 has joined #angularjs
[09:15:38] <TheAceOfHearts> well, I just tried soylent.
[09:16:00] *** jae has quit IRC
[09:16:08] *** MaxV has joined #angularjs
[09:16:19] *** NormySan has joined #angularjs
[09:16:53] *** mandric has quit IRC
[09:17:05] *** shaisnir has joined #angularjs
[09:17:48] *** yelvert_ has quit IRC
[09:18:21] *** yelvert has joined #angularjs
[09:18:54] *** Sontakey has quit IRC
[09:19:27] <mpeterson> Now I'm seeing the new syntax for the 2.0 Jasmine, but if I pass in my scope.init function, it doesn't seem to detect my test anymore...
[09:19:38] *** grantfunke_ has joined #angularjs
[09:19:42] *** shaisnir_ has joined #angularjs
[09:20:39] *** MaxV has quit IRC
[09:21:40] *** jonr22 has joined #angularjs
[09:21:55] *** jrowny has joined #angularjs
[09:22:18] *** D9 has quit IRC
[09:22:33] *** Reskp has joined #angularjs
[09:22:41] *** shaisnir has quit IRC
[09:23:02] *** yelvert has quit IRC
[09:23:37] *** ccbmx has joined #angularjs
[09:24:07] *** grantfunke_ has quit IRC
[09:25:48] *** jae has joined #angularjs
[09:26:14] *** calmbird has joined #angularjs
[09:26:16] *** favetelinguis has joined #angularjs
[09:26:21] *** jonr22 has quit IRC
[09:26:27] *** fatshark has quit IRC
[09:26:29] *** jrowny has quit IRC
[09:27:56] *** glosoli has joined #angularjs
[09:27:57] *** boberober has joined #angularjs
[09:28:36] <BahamutWC|Work> mpeterson: did you do my suggestion about doing scope = $rootScope.$new()?
[09:29:15] <mpeterson> Yeah I'm using that now
[09:29:42] <mpeterson> scope.init is defined as a function by the time I get to my tests by the way
[09:31:20] *** phuh has quit IRC
[09:31:36] *** hippobottamus has quit IRC
[09:31:37] *** davi has joined #angularjs
[09:31:45] *** phuh has joined #angularjs
[09:32:30] <calmbird> Hi :) Do you know how to tell $routerprovider.when tell, to not process until some things wont be loaded on page?
[09:32:30] *** anivemin has joined #angularjs
[09:32:40] *** sahbeewah has joined #angularjs
[09:33:03] <BahamutWC|Work> calmbird: look into resolve in your route definitions
[09:33:17] *** matthoiland has joined #angularjs
[09:33:18] <calmbird> BahamutWC|Work: ok
[09:33:27] *** favetelinguis has quit IRC
[09:33:27] *** edzez has quit IRC
[09:33:59] *** edzez has joined #angularjs
[09:35:37] *** mjs2600 has joined #angularjs
[09:36:58] *** rtpg has quit IRC
[09:37:02] *** anivemin has quit IRC
[09:37:44] *** matthoiland has quit IRC
[09:38:50] *** Reskp has quit IRC
[09:40:01] *** jmichaelward has quit IRC
[09:40:11] *** saint-ron has joined #angularjs
[09:40:26] *** narutimateum has joined #angularjs
[09:40:34] <narutimateum> suggest html designer
[09:40:44] <narutimateum> where you can drag drop tables etc
[09:41:03] *** mjs2600 has quit IRC
[09:41:14] *** Reskp has joined #angularjs
[09:42:02] *** jaydubya has joined #angularjs
[09:42:03] *** nemothekid has joined #angularjs
[09:43:06] *** jmverges has quit IRC
[09:43:37] *** annlewis has joined #angularjs
[09:43:58] *** tarnus has joined #angularjs
[09:44:03] *** MrBaboon has quit IRC
[09:44:28] *** jmverges has joined #angularjs
[09:45:17] *** patrick99e99 has joined #angularjs
[09:47:03] *** jaydubya has quit IRC
[09:48:12] *** annlewis has quit IRC
[09:48:22] *** tarnus has quit IRC
[09:50:26] *** patrick99e99 has quit IRC
[09:50:42] *** rhp has joined #angularjs
[09:50:56] *** nya has quit IRC
[09:51:11] <calmbird> I have plunker, how to wait for some data to load, before firing $routeProvider .when http://plnkr.co/edit/L6Fg0cfEfE1rE59LWyF3
[09:51:41] *** shaisnir_ has quit IRC
[09:52:02] *** rtpg has joined #angularjs
[09:52:03] *** shaisnir has joined #angularjs
[09:52:16] *** ProLoser has quit IRC
[09:52:40] *** ProLoser has joined #angularjs
[09:54:58] *** imjakechapman has quit IRC
[09:56:11] *** tech2 has joined #angularjs
[09:56:31] *** rtpg has quit IRC
[09:57:28] *** nemothekid has quit IRC
[09:58:53] *** one0one has quit IRC
[09:58:55] *** Aliks has joined #angularjs
[09:59:23] *** red_horned_rihno has quit IRC
[10:00:07] *** KanwarUjjaval has joined #angularjs
[10:00:09] *** threesixes has quit IRC
[10:02:50] *** tkimmel has joined #angularjs
[10:03:12] *** nemothekid has joined #angularjs
[10:04:22] *** Reskp has quit IRC
[10:05:20] *** prbc has joined #angularjs
[10:07:19] *** tkimmel has quit IRC
[10:07:31] *** elxa has joined #angularjs
[10:08:15] *** Una has quit IRC
[10:08:28] *** nemothekid has quit IRC
[10:09:32] *** Schtive has joined #angularjs
[10:09:44] *** prbc has quit IRC
[10:10:16] *** elxa_ has quit IRC
[10:10:45] *** red_horned_rihno has joined #angularjs
[10:11:50] <calmbird> ok i got it :)
[10:12:07] *** nemothekid has joined #angularjs
[10:12:53] *** Sontakey1 has left #angularjs
[10:15:17] *** TheAceOfHearts has quit IRC
[10:15:30] *** red_horned_rihno has quit IRC
[10:16:34] *** TheAceOfHearts has joined #angularjs
[10:16:59] *** MaxV has joined #angularjs
[10:17:07] *** Reskp has joined #angularjs
[10:18:03] *** scriptThis has quit IRC
[10:18:10] *** Versality has joined #angularjs
[10:18:33] *** TheAceOfHearts has quit IRC
[10:18:56] *** yelvert has joined #angularjs
[10:20:29] *** Reskp has quit IRC
[10:20:35] *** grantfunke_ has joined #angularjs
[10:20:59] *** ckboii89 has quit IRC
[10:22:05] *** MaxV has quit IRC
[10:22:40] *** jrowny has joined #angularjs
[10:23:22] *** yelvert has quit IRC
[10:23:23] *** Reskp has joined #angularjs
[10:24:59] *** grantfunke_ has quit IRC
[10:25:43] *** Ch4rAss has joined #angularjs
[10:26:10] *** sheerun has joined #angularjs
[10:26:19] *** freeman42 has joined #angularjs
[10:26:20] *** mennea_ has joined #angularjs
[10:26:21] *** edy has joined #angularjs
[10:26:59] *** Reskp has quit IRC
[10:27:16] *** jrowny has quit IRC
[10:28:06] *** mennea has quit IRC
[10:28:36] *** Reskp has joined #angularjs
[10:29:50] *** threesixes has joined #angularjs
[10:30:07] *** AngularUI has joined #angularjs
[10:30:07] <AngularUI> [bootstrap] chrisirhc closed pull request #1816: refactor(tooltip): remove tt_ prefix (master...feature/tooltip-remove-prefix) http://git.io/TPTNwA
[10:30:07] *** AngularUI has left #angularjs
[10:30:10] *** KernelCurry has quit IRC
[10:31:04] *** williamherry has joined #angularjs
[10:31:19] *** phuh has quit IRC
[10:31:46] *** phuh has joined #angularjs
[10:33:09] *** JohnBat26 has quit IRC
[10:34:21] *** Reskp has joined #angularjs
[10:35:06] *** Reskp has quit IRC
[10:35:14] *** marr has joined #angularjs
[10:36:06] *** gnrlbzik has joined #angularjs
[10:37:19] *** soee_ has joined #angularjs
[10:40:40] *** gnrlbzik has quit IRC
[10:40:40] *** daoudi has joined #angularjs
[10:41:21] <daoudi> hi, how can i disable the routing for a specific url?
[10:41:37] *** klaut has quit IRC
[10:43:37] *** annlewis has joined #angularjs
[10:44:53] *** Sky[x] has quit IRC
[10:45:09] *** favetelinguis has joined #angularjs
[10:45:13] *** MrBaboon has joined #angularjs
[10:45:26] *** Sky[x] has joined #angularjs
[10:45:39] *** Schtive has quit IRC
[10:45:45] *** Alina-malina has quit IRC
[10:46:07] *** shaisnir_ has joined #angularjs
[10:46:15] *** disorder20 has joined #angularjs
[10:46:35] *** shaisni__ has joined #angularjs
[10:46:49] *** shaisnir has quit IRC
[10:47:18] *** soee__ has joined #angularjs
[10:47:37] *** jmichaelward has joined #angularjs
[10:47:40] *** Ch4rAss has quit IRC
[10:47:52] *** annlewis has quit IRC
[10:48:33] *** EdsonF has joined #angularjs
[10:48:46] <EdsonF> Hi guys
[10:48:52] *** Alina-malina has joined #angularjs
[10:49:02] <EdsonF> I need some advice
[10:49:11] *** MaxV has joined #angularjs
[10:49:52] *** MrBaboon has quit IRC
[10:50:04] <EdsonF> anyone available ?
[10:50:17] *** shaisnir_ has quit IRC
[10:50:22] *** glaksmono has joined #angularjs
[10:50:27] *** nemothekid has quit IRC
[10:50:48] *** favetelinguis has quit IRC
[10:50:52] *** EdsonF has quit IRC
[10:50:59] <daoudi> hi, how can i disable the route in specific url i don't want angular to read # in url
[10:51:38] *** soee_ has quit IRC
[10:51:48] *** ckboii89 has joined #angularjs
[10:51:52] *** jmichaelward has quit IRC
[10:52:23] *** nemothekid has joined #angularjs
[10:53:21] *** rtpg has joined #angularjs
[10:54:33] *** daoudi has quit IRC
[10:54:49] *** ProLoser has quit IRC
[10:55:37] *** MaxV has quit IRC
[10:56:15] *** ckboii89 has quit IRC
[11:00:13] *** klaut has joined #angularjs
[11:00:41] *** Hackwar1 has quit IRC
[11:01:02] *** platonic has quit IRC
[11:01:03] *** Hackwar has joined #angularjs
[11:01:15] *** nemothekid has quit IRC
[11:01:27] *** favetelinguis has joined #angularjs
[11:01:29] *** platonic has joined #angularjs
[11:02:36] *** MaxV has joined #angularjs
[11:02:47] *** ProLoser has joined #angularjs
[11:04:56] *** Reskp has joined #angularjs
[11:05:41] *** shaisni__ has quit IRC
[11:05:59] *** shaisnir has joined #angularjs
[11:06:00] *** platonic has quit IRC
[11:06:08] *** platonic has joined #angularjs
[11:06:14] *** prbc has joined #angularjs
[11:07:22] *** Sijdesign has joined #angularjs
[11:07:56] *** Foxandxss has joined #angularjs
[11:09:59] *** Versality has quit IRC
[11:10:34] *** platonic has quit IRC
[11:10:35] <calmbird> Do you know how to route 'home' and 'home/:someId, to same provider .when?
[11:10:54] *** prbc has quit IRC
[11:11:09] *** Versality has joined #angularjs
[11:12:41] *** ProLoser has quit IRC
[11:13:50] *** Left_Turn has joined #angularjs
[11:14:10] *** Reskp has quit IRC
[11:15:06] *** nemothekid has joined #angularjs
[11:15:22] *** Reskp has joined #angularjs
[11:15:53] *** jrist has quit IRC
[11:16:06] *** ceephax has joined #angularjs
[11:16:54] *** boberober has quit IRC
[11:17:53] *** nemothekid has quit IRC
[11:19:17] *** favetelinguis has quit IRC
[11:19:46] *** boberober has joined #angularjs
[11:20:14] *** shampine has joined #angularjs
[11:21:12] *** anivemin has joined #angularjs
[11:21:38] *** grantfunke_ has joined #angularjs
[11:21:56] <sacho> home/:someId?
[11:22:08] *** matthoiland has joined #angularjs
[11:23:04] *** wd40s has quit IRC
[11:23:22] *** jrowny has joined #angularjs
[11:23:28] *** dreambox has joined #angularjs
[11:24:57] *** glaksmono has quit IRC
[11:25:13] *** mpeterson has quit IRC
[11:25:41] *** anivemin has quit IRC
[11:25:47] *** galaxyAbstractor has left #angularjs
[11:26:12] *** grantfunke_ has quit IRC
[11:26:56] *** steshaw has quit IRC
[11:26:58] *** matthoiland has quit IRC
[11:27:22] *** pspace has quit IRC
[11:27:49] *** pspace has joined #angularjs
[11:28:06] *** jrowny has quit IRC
[11:28:34] *** jrist has joined #angularjs
[11:28:41] <calmbird> yes
[11:28:43] *** cannap has joined #angularjs
[11:29:22] <calmbird> now I have: when('/games', { ... and when('/games/:gameId', { , separated
[11:29:49] <calmbird> if I put only when('/games/:gameId', { , then /games url wont work
[11:29:56] *** Reskp has quit IRC
[11:30:23] *** martianboy has quit IRC
[11:31:20] *** jaydubya has joined #angularjs
[11:31:20] *** phuh has quit IRC
[11:31:46] *** phuh has joined #angularjs
[11:32:19] *** pspace has quit IRC
[11:32:49] *** tarnus has joined #angularjs
[11:33:15] *** martianboy has joined #angularjs
[11:33:16] *** boberober has quit IRC
[11:33:21] *** sigurding has joined #angularjs
[11:34:48] *** boberober has joined #angularjs
[11:34:49] *** ProLoser has joined #angularjs
[11:34:50] *** glosoli has quit IRC
[11:35:05] *** nemothekid has joined #angularjs
[11:35:31] *** glosoli has joined #angularjs
[11:35:45] *** jae has quit IRC
[11:35:53] *** jaydubya has quit IRC
[11:36:52] *** scottc5 has joined #angularjs
[11:36:52] *** gnrlbzik has joined #angularjs
[11:37:08] *** tarnus has quit IRC
[11:37:11] *** glosoli has quit IRC
[11:37:19] *** frankblizzar has joined #angularjs
[11:37:43] *** moafoca_ has joined #angularjs
[11:38:26] *** glosoli has joined #angularjs
[11:40:11] *** glosoli has quit IRC
[11:40:51] *** glosoli has joined #angularjs
[11:41:42] *** gnrlbzik has quit IRC
[11:42:03] *** KanwarUjjaval has quit IRC
[11:43:20] *** nya has joined #angularjs
[11:43:30] *** frankblizzar is now known as tmaximini
[11:43:34] *** annlewis has joined #angularjs
[11:45:23] <sacho> use /games/:gameId?
[11:45:28] *** Fire-Dragon-DoL has joined #angularjs
[11:46:44] *** patrick99e99 has joined #angularjs
[11:47:14] *** Abhijit has joined #angularjs
[11:47:19] *** sacho_ has joined #angularjs
[11:48:09] *** annlewis has quit IRC
[11:48:40] *** glaksmono has joined #angularjs
[11:49:37] *** glaksmono has quit IRC
[11:50:25] *** ProLoser has quit IRC
[11:50:26] *** jmverges has quit IRC
[11:50:34] *** inventor_ has joined #angularjs
[11:50:40] *** inventor_ is now known as apertoire
[11:50:52] *** patrick99e99 has quit IRC
[11:50:52] *** sacho has quit IRC
[11:51:45] *** tkimmel has joined #angularjs
[11:52:11] *** ckboii89 has joined #angularjs
[11:52:19] *** Connect_ has joined #angularjs
[11:54:05] *** zwischenzug has quit IRC
[11:55:32] *** Aliks has quit IRC
[11:56:06] *** Aliks has joined #angularjs
[11:56:13] *** tkimmel has quit IRC
[11:56:44] *** ckboii89 has quit IRC
[11:57:44] *** jrist has quit IRC
[12:00:34] *** sigurding has quit IRC
[12:00:52] *** Aliks has quit IRC
[12:01:14] <dreambox> hey guys, I am doing something with MeanJS , anyone has experience?
[12:01:36] <dreambox> I basically wanna make a model which has a nested property/key
[12:01:37] *** boberober has quit IRC
[12:02:18] *** yelvert has joined #angularjs
[12:02:25] *** quantax- has quit IRC
[12:03:44] <calmbird> sacho: Yes but then it doesn't catch /games
[12:03:57] <calmbird> and /games is index of games
[12:04:10] *** Sijdesign has quit IRC
[12:04:46] <Foxandxss> dreambox: ask on node or mongo channel
[12:04:54] <Foxandxss> if it is database related
[12:05:22] *** rtpg_ has joined #angularjs
[12:06:32] *** yelvert has quit IRC
[12:06:53] *** platonic has joined #angularjs
[12:07:02] *** lite_ has joined #angularjs
[12:07:08] <dreambox> Foxandxss: tried that :)
[12:07:18] *** martianboy has quit IRC
[12:08:07] *** martianboy has joined #angularjs
[12:08:35] *** sacho has joined #angularjs
[12:08:38] *** rtpg has quit IRC
[12:08:49] *** Left_Turn has quit IRC
[12:08:50] *** thomastuts has joined #angularjs
[12:09:34] *** ProLoser has joined #angularjs
[12:09:58] *** favetelinguis has joined #angularjs
[12:10:21] *** shaisnir has quit IRC
[12:11:03] *** martianboy has quit IRC
[12:11:30] *** martianboy has joined #angularjs
[12:11:38] *** sacho_ has quit IRC
[12:11:39] *** martianboy has quit IRC
[12:11:43] *** Reskp has joined #angularjs
[12:11:44] *** favetelinguis has quit IRC
[12:11:44] *** platonic has quit IRC
[12:12:18] *** favetelinguis has joined #angularjs
[12:12:28] *** martianboy has joined #angularjs
[12:14:02] *** Reskp has quit IRC
[12:15:26] *** disorder20 has quit IRC
[12:15:56] *** Reskp has joined #angularjs
[12:16:37] *** favetelinguis has quit IRC
[12:16:41] *** mjs2600 has joined #angularjs
[12:16:47] *** disorder20 has joined #angularjs
[12:17:44] *** jrist has joined #angularjs
[12:18:24] *** thomastuts has quit IRC
[12:19:42] *** Reskp has quit IRC
[12:20:45] *** Reskp has joined #angularjs
[12:20:53] *** comma8 is now known as coma8
[12:21:37] *** mennea has joined #angularjs
[12:22:22] *** grantfunke_ has joined #angularjs
[12:24:11] *** jrowny has joined #angularjs
[12:24:18] *** carlosmantilla has joined #angularjs
[12:24:52] *** mennea_ has quit IRC
[12:25:14] *** ProLoser has quit IRC
[12:25:27] *** guy has joined #angularjs
[12:25:50] <guy> Any insights on when will the v2 be available for inspection?
[12:26:08] *** Rejected has joined #angularjs
[12:26:49] *** grantfunke_ has quit IRC
[12:27:48] *** coma8 is now known as comma8
[12:28:57] *** jrowny has quit IRC
[12:29:32] *** jrist has quit IRC
[12:31:25] *** phuh has quit IRC
[12:31:26] *** Reskp has quit IRC
[12:31:48] *** phuh has joined #angularjs
[12:32:41] *** Reskp has joined #angularjs
[12:33:22] *** niklasmodess has joined #angularjs
[12:34:04] *** MrBaboon has joined #angularjs
[12:36:12] <Foxandxss> guy: there are repos for v2, you can check them
[12:36:18] <Foxandxss> they are split, but the info is there
[12:36:24] <calmbird> Foxandxss: Have you noticed, that google bots already being to index dynamic angular content?
[12:36:27] *** jmichaelward has joined #angularjs
[12:36:39] <Foxandxss> no idea
[12:36:41] <Foxandxss> not my topic
[12:36:44] <calmbird> Hm ok :)
[12:37:04] <calmbird> Preparing webpage for seo is important I think.
[12:37:13] <Foxandxss> I don't do webpages :)
[12:37:17] <calmbird> Oh.
[12:37:23] <calmbird> Ok :P
[12:37:29] <guy> Foxandxss: hm. Where.. ? I don't see any tags on https://github.com/angular/angular.js
[12:37:35] <calmbird> So you don't even probably use $routerProvider
[12:37:37] <Foxandxss> I said repos
[12:37:38] <Foxandxss> not tags
[12:37:51] <Foxandxss> I prefer ui-router
[12:38:11] <guy> Foxandxss: give one example, pleaes.
[12:38:32] *** MrBaboon has quit IRC
[12:38:35] <Foxandxss> sure
[12:38:38] <calmbird> Foxandxss: Could you tell please in short, some cons of using ui-router provider?
[12:38:53] <calmbird> ui-router*
[12:39:01] <calmbird> :D
[12:39:03] <Foxandxss> guy: https://github.com/angular/di.js
[12:39:05] <calmbird> Multitasking
[12:39:06] <Foxandxss> new DI vor v2
[12:39:14] *** ingsoc has joined #angularjs
[12:39:18] <Foxandxss> expression parser: https://github.com/angular/expressionist.js
[12:39:24] <Foxandxss> templating: https://github.com/angular/templating
[12:39:40] <Foxandxss> https://github.com/angular/watchtower.js bindign stuff
[12:39:41] <guy> I see. Thanks. Thats going to get me going.
[12:39:42] <Foxandxss> etc etc
[12:39:45] *** Versality has quit IRC
[12:39:50] *** cakirke has joined #angularjs
[12:39:56] <Foxandxss> calmbird: being able to have multiple ui-views is pretty good
[12:40:08] <calmbird> Oh I see.
[12:40:18] <Foxandxss> so you can have different sections, nav, footer, header, sidebar
[12:40:27] <guy> I am thinking on writing a book on v2. Would you say it is too early to start looking into the individual components?
[12:40:35] <calmbird> Yeah I'm just using provider for <main></main> contect, other things
[12:40:42] <Foxandxss> and on a state you can say.. in nav put this template && controller, in footer this one, and in other states I want to change them
[12:40:51] <Foxandxss> guy: that is up to you
[12:40:56] <Foxandxss> personally, yes
[12:40:58] <calmbird> Foxandxss I see.
[12:41:00] <Foxandxss> it is bit bit early
[12:41:08] *** jmichaelward has quit IRC
[12:41:12] <calmbird> ealy :P
[12:41:14] <calmbird> early
[12:42:14] *** shaisnir has joined #angularjs
[12:42:19] *** tech2 has quit IRC
[12:42:20] *** jrist has joined #angularjs
[12:43:49] *** annlewis has joined #angularjs
[12:44:21] *** krispen has joined #angularjs
[12:46:20] *** Reskp has quit IRC
[12:46:35] *** shaisnir has quit IRC
[12:46:39] *** moafoca_ has quit IRC
[12:46:56] *** RangerRick has quit IRC
[12:47:18] *** RangerRick has joined #angularjs
[12:47:58] *** ceephax has quit IRC
[12:48:04] *** annlewis has quit IRC
[12:48:06] *** moafoca_ has joined #angularjs
[12:48:56] *** jrist has quit IRC
[12:50:12] *** Reskp has joined #angularjs
[12:50:33] *** DanielKarp has joined #angularjs
[12:50:46] *** Reskp has quit IRC
[12:52:56] *** ckboii89 has joined #angularjs
[12:53:46] *** nemothekid has quit IRC
[12:54:29] *** shampine has quit IRC
[12:54:59] *** krispen has quit IRC
[12:55:10] *** narutimateum has quit IRC
[12:56:02] *** drej has joined #angularjs
[12:58:05] *** ckboii89 has quit IRC
[12:58:07] *** krispen has joined #angularjs
[12:58:30] *** krispen has joined #angularjs
[12:59:11] *** jonr22 has joined #angularjs
[13:01:37] *** krispen has quit IRC
[13:01:43] *** jrist has joined #angularjs
[13:01:59] *** krispen has joined #angularjs
[13:02:09] *** krispen has left #angularjs
[13:02:09] *** DanielKarp has quit IRC
[13:03:06] *** kriswep has joined #angularjs
[13:04:24] *** jonr22 has quit IRC
[13:04:56] *** Reskp has joined #angularjs
[13:07:00] *** anivemin has joined #angularjs
[13:07:08] *** Reskp has quit IRC
[13:07:23] *** kriswep has quit IRC
[13:07:23] *** MuffinMan` has joined #angularjs
[13:07:47] *** kriswep has joined #angularjs
[13:08:29] *** kriswep has left #angularjs
[13:09:14] *** kriswep has joined #angularjs
[13:09:47] *** DanielKarp has joined #angularjs
[13:11:01] *** matthoiland has joined #angularjs
[13:11:21] *** moshe has joined #angularjs
[13:11:25] *** carlosmantilla has quit IRC
[13:11:31] *** Abhijit has quit IRC
[13:11:50] *** guy has quit IRC
[13:12:02] *** anivemin has quit IRC
[13:12:32] <moshe> I have a view that shows comments, where I filter the date of the comment like that {{item.created_at | date: dateForamt}}
[13:12:59] <moshe> when I add a new comment - it doesn’t goes through that filter. What should I do? parse it in the controller?
[13:13:07] *** Asiajey has joined #angularjs
[13:14:01] *** DanielKarp has quit IRC
[13:14:26] *** moritzs has joined #angularjs
[13:15:09] *** e0ipso is now known as e0ipso|away
[13:15:37] *** e0ipso|away is now known as e0ipso
[13:15:52] *** matthoiland has quit IRC
[13:16:42] *** boberober has joined #angularjs
[13:19:52] *** jaydubya has joined #angularjs
[13:20:21] *** Ch4rAss has joined #angularjs
[13:20:22] *** patrickreck has joined #angularjs
[13:21:02] *** kaeku has quit IRC
[13:21:42] *** tarnus has joined #angularjs
[13:22:39] *** Arf has joined #angularjs
[13:22:53] *** whitebook has joined #angularjs
[13:23:08] *** grantfunke_ has joined #angularjs
[13:23:43] *** sahbeewah has quit IRC
[13:23:47] *** threesixes has quit IRC
[13:24:08] <Arf> why do they call the process of putting values into placeholders "interpolation"? Interpolation is when you determine an unknown value by looking at known values. This is weird.
[13:24:25] *** jaydubya has quit IRC
[13:24:55] *** jrowny has joined #angularjs
[13:25:00] <calmbird> moshe: That's weird. How you adding a new comment?
[13:25:39] *** gnrlbzik has joined #angularjs
[13:25:52] <moshe> calmbird: I just noticed it works when I do var created_at = new Date(); .push({date: created_at})
[13:26:00] <calmbird> ok
[13:26:01] <calmbird> :P
[13:26:05] <moshe> when I tried to do .push({date: Date()})
[13:26:12] <moshe> it didnt..:)
[13:26:29] <calmbird> .push({date: new Date()})
[13:26:38] *** tarnus has quit IRC
[13:26:38] <calmbird> try also that
[13:27:00] <moshe> I have. weird, it works.
[13:27:06] <calmbird> thats good
[13:27:06] <calmbird> :P
[13:27:19] *** pspace has joined #angularjs
[13:27:20] <moshe> ha yeah, thanks buddy.
[13:27:28] <moshe> life makes sense again
[13:27:48] *** jstroem has joined #angularjs
[13:27:51] *** grantfunke_ has quit IRC
[13:29:12] *** mmealling has quit IRC
[13:29:33] *** jrowny has quit IRC
[13:29:50] *** mmealling has joined #angularjs
[13:29:59] *** gnrlbzik has quit IRC
[13:30:08] *** rtpg_ has quit IRC
[13:30:25] *** rtpg has joined #angularjs
[13:30:40] *** jmichaelward has joined #angularjs
[13:30:47] *** disorder20 has quit IRC
[13:31:23] *** phuh has quit IRC
[13:31:50] *** phuh has joined #angularjs
[13:32:36] *** kriswep has quit IRC
[13:33:11] *** shinnya has joined #angularjs
[13:33:14] *** kuniyori has quit IRC
[13:33:18] *** DanielKarp has joined #angularjs
[13:40:08] *** Arf has quit IRC
[13:40:39] *** e0ipso is now known as e0ipso|away
[13:40:39] *** tkimmel has joined #angularjs
[13:42:00] *** Left_Turn has joined #angularjs
[13:43:06] *** jrist has quit IRC
[13:44:47] *** japhar81 has quit IRC
[13:44:53] *** klaut_ has joined #angularjs
[13:44:56] *** Asiajey has quit IRC
[13:45:17] *** Asiajey has joined #angularjs
[13:45:17] *** Asiajey has joined #angularjs
[13:45:19] *** mtsr has joined #angularjs
[13:45:33] *** tkimmel has quit IRC
[13:46:24] *** IvailoStoianov has quit IRC
[13:46:31] *** klaut has quit IRC
[13:47:02] *** patrick99e99 has joined #angularjs
[13:48:06] *** IvailoStoianov has joined #angularjs
[13:48:22] *** teddyp1cker has joined #angularjs
[13:49:33] *** shaisnir has joined #angularjs
[13:50:35] *** teddyp1__ has joined #angularjs
[13:50:50] *** lite_ has quit IRC
[13:50:53] *** teddyp1c_ has quit IRC
[13:51:26] *** lite_ has joined #angularjs
[13:51:30] *** Connect_ has quit IRC
[13:51:57] *** patrick99e99 has quit IRC
[13:52:25] *** caitp has quit IRC
[13:52:56] *** teddyp1cker has quit IRC
[13:53:22] *** moshe has quit IRC
[13:53:46] *** ckboii89 has joined #angularjs
[13:55:39] *** platonic has joined #angularjs
[13:55:58] *** jrist has joined #angularjs
[13:56:04] *** lite_ has quit IRC
[13:56:31] *** AlSquirrel has joined #angularjs
[13:56:54] *** whitebook has quit IRC
[13:57:39] *** Arf has joined #angularjs
[13:58:32] *** ckboii89 has quit IRC
[14:00:24] *** platonic has quit IRC
[14:00:25] *** tarnus has joined #angularjs
[14:01:47] <calmbird> <moshe> life makes sense again: haha
[14:03:14] *** DanielKarp has quit IRC
[14:03:21] *** whitebook has joined #angularjs
[14:03:42] *** yelvert has joined #angularjs
[14:04:00] *** jmverges has joined #angularjs
[14:04:29] *** teddyp1__ has quit IRC
[14:04:40] *** linojon has joined #angularjs
[14:05:44] *** shenal has joined #angularjs
[14:05:52] <shenal> Hi
[14:07:52] *** Reskp has joined #angularjs
[14:08:19] *** shenal has left #angularjs
[14:08:28] *** yelvert has quit IRC
[14:09:53] *** davi has quit IRC
[14:10:47] *** Sky[x] has quit IRC
[14:11:08] *** caitp has joined #angularjs
[14:11:21] *** jaydubya has joined #angularjs
[14:11:35] *** DanielKarp has joined #angularjs
[14:11:48] *** mjs2600 has quit IRC
[14:13:00] *** Reskp has quit IRC
[14:14:07] *** ProLoser has joined #angularjs
[14:14:07] *** jaydubya has joined #angularjs
[14:16:13] *** cotko has joined #angularjs
[14:17:08] *** sahbeewah has joined #angularjs
[14:18:28] *** ProLoser has quit IRC
[14:18:52] *** michaelSharpe has joined #angularjs
[14:19:21] *** _ritchie_ has joined #angularjs
[14:19:31] *** wd40s has joined #angularjs
[14:19:48] *** jrist has quit IRC
[14:22:55] *** MrBaboon has joined #angularjs
[14:23:02] <zbzzn> can I have a template in a directive (not templateUrl)?
[14:23:19] *** phuh has quit IRC
[14:23:40] *** boberober has quit IRC
[14:23:43] *** michaelSharpe has quit IRC
[14:23:52] *** grantfunke_ has joined #angularjs
[14:24:08] *** wd40s has quit IRC
[14:24:32] *** michaelSharpe has joined #angularjs
[14:25:10] <zbzzn> I remember I can but cannot find it in the docs
[14:25:37] *** jrowny has joined #angularjs
[14:26:30] *** gnrlbzik has joined #angularjs
[14:27:19] *** MrBaboon has quit IRC
[14:27:47] *** michaelSharpe has quit IRC
[14:28:04] *** grantfunke_ has quit IRC
[14:28:09] *** zwacky has joined #angularjs
[14:29:02] *** whitebook has quit IRC
[14:29:51] *** jstroem has quit IRC
[14:30:26] *** jrowny has quit IRC
[14:30:59] <caitp> zbzzn, yes
[14:31:06] *** michaelSharpe has joined #angularjs
[14:31:09] *** gnrlbzik has quit IRC
[14:31:48] <caitp> you can find it in the docs, eg here https://docs.angularjs.org/guide/directive#template-expanding-directive
[14:32:07] *** red_horned_rihno has joined #angularjs
[14:32:07] *** sash has left #angularjs
[14:32:08] *** michaelSharpe has quit IRC
[14:32:16] *** Ch4rAss has quit IRC
[14:32:50] *** jrist has joined #angularjs
[14:33:47] *** Ch4rAss has joined #angularjs
[14:34:23] *** rtpg_ has joined #angularjs
[14:34:42] *** michaelSharpe has joined #angularjs
[14:35:01] *** rtpg has quit IRC
[14:35:17] <zbzzn> caitp, thanks!
[14:35:45] *** michaelSharpe has quit IRC
[14:35:46] *** poolside has joined #angularjs
[14:35:48] <caitp> no problem
[14:38:45] *** DanielKarp has quit IRC
[14:39:16] *** Reskp has joined #angularjs
[14:40:02] *** kuniyori has joined #angularjs
[14:42:53] *** Siecje has joined #angularjs
[14:43:35] *** annlewis has joined #angularjs
[14:44:06] *** bbankes has joined #angularjs
[14:45:34] *** AtomicCookie has joined #angularjs
[14:46:38] *** nfroidure has joined #angularjs
[14:47:01] *** cotko has quit IRC
[14:48:09] *** annlewis has quit IRC
[14:48:16] *** jonr22 has joined #angularjs
[14:48:53] *** Sky[x] has joined #angularjs
[14:49:39] *** JohnFree has joined #angularjs
[14:50:23] <JohnFree> Hi guys. I want to set the page-title in the layout and use the current scope's "pageTitle" attribute as it's value. But my problem is: I have to bind that layout-pagetitle-element to a controller. How can I solve this?
[14:50:39] *** cotko has joined #angularjs
[14:50:50] *** Evil_Peach has joined #angularjs
[14:51:10] <Evil_Peach> http://pastie.org/9691269 here's my code, can't seem to get the data on the scope, any idea what's wrong here?
[14:52:05] *** lite_ has joined #angularjs
[14:52:41] <zbzzn> Is it a good practice to return HTML from a filter?
[14:53:04] *** jonr22 has quit IRC
[14:53:06] *** moafoca_ has quit IRC
[14:53:09] <JohnFree> EVIL_Peach: Past it on plunkr please
[14:53:23] <JohnFree> Evil_Peach: Maybe I can help you
[14:53:28] <JohnFree> Evil_Peach: Paste it on plunkr
[14:54:14] *** moafoca_ has joined #angularjs
[14:54:29] *** ckboii89 has joined #angularjs
[14:55:31] *** martianboy has quit IRC
[14:55:47] *** anivemin has joined #angularjs
[14:56:06] *** tmaximini has quit IRC
[14:56:14] *** tech2 has joined #angularjs
[14:56:16] *** lite_ has quit IRC
[14:56:24] *** iffraff has quit IRC
[14:56:50] <Evil_Peach> JohnFree - http://plnkr.co/edit/h4RSRMnQmhUS2biBctY0
[14:56:53] *** cotko has quit IRC
[14:57:12] <Evil_Peach> it's in the app.js..
[14:57:14] *** jae has joined #angularjs
[14:57:52] *** jae is now known as Jae
[14:58:29] <Evil_Peach> JohnFree: http://plnkr.co/edit/h4RSRMnQmhUS2biBctY0
[14:58:46] *** moafoca_ has quit IRC
[14:58:57] *** ckboii89 has quit IRC
[14:59:45] *** IvailoStoianov_ has joined #angularjs
[14:59:53] *** matthoiland has joined #angularjs
[15:00:17] *** anivemin has quit IRC
[15:00:24] *** klaut_ has quit IRC
[15:00:28] *** edrocks has joined #angularjs
[15:00:36] *** Reskp has quit IRC
[15:01:38] *** ome has quit IRC
[15:01:57] <JohnFree> Evil_Peach: Ok. I'm looking at the code
[15:02:07] <Evil_Peach> JohnFree: thanks
[15:02:13] *** rawc has joined #angularjs
[15:02:15] <caitp> what do you guys like better
[15:02:16] *** IvailoStoianov has quit IRC
[15:02:21] *** IvailoStoianov_ is now known as IvailoStoianov
[15:02:30] <caitp> bind-repeat="paragraph of chapter", or bind-repeat|paragraph="chapter"
[15:04:10] *** Johnny13371337 has joined #angularjs
[15:04:13] <caitp> to me the answer is obvious
[15:04:19] <caitp> but it never hurts to hear from other folks :)
[15:04:41] <JohnFree> Evil_Peach: You had some missing things: http://plnkr.co/edit/zxF4HLUPDgAEoYRu4laS?p=preview
[15:04:45] *** matthoiland has quit IRC
[15:04:51] <JohnFree> Evil_Peach: Now it works
[15:04:53] <sacho> uh, aren't they qualitively different?
[15:04:59] *** jharbaugh|AEA has joined #angularjs
[15:06:13] *** yelvert has joined #angularjs
[15:06:22] <caitp> are what qualitatively different
[15:06:40] <sacho> are those html attributes?
[15:06:42] <caitp> one has the binding identifier encoded into the attribute name
[15:06:52] <caitp> the other extends the expression syntax to support "iterable expressions"
[15:07:14] <sacho> how would the first work, wouldn't the compiler just treat it as different directives?
[15:07:15] <JohnFree> Evil_Peach: 1) You forgot to define the module (app.js, line1) 2) If you define ['$scope' then use the name scope without dollar after that 3) You forgot to close the [ of line 3 in app.js 4) If you define ng-app="index" then you've to define a module with exact the same name and the same counts for ng-controller
[15:07:34] *** ericsonluciano has joined #angularjs
[15:07:48] <caitp> in `bind-repeat="foo of bar"`, we would see `foo of bar` in the expression syntax
[15:07:58] <sacho> sorry, I meant the second
[15:08:04] <JohnFree> Guys I need your help. I'm trying to set pageTitle depending on parameters I pass via angular-root, but somehow it doesn't work
[15:08:08] <caitp> and this would form a construct like BindingIdentifier `of` Expression
[15:08:25] <caitp> well they're bikeshedding the idea of saying anything after the | doesn't count
[15:08:36] <caitp> (trying different symbols), but personally I think that idea is horseshit
[15:08:40] <sacho> ah
[15:08:43] <caitp> nobody wants to write ng-repeat|foo="bar"
[15:08:55] <caitp> or ng-repeat[item]="collection"
[15:09:02] <caitp> it's just ugly :x
[15:09:07] <caitp> and makes the compiler more complicated
[15:09:11] <sacho> it looks even worse than the current situation of writing expressions in attributes
[15:09:17] *** jonr22 has joined #angularjs
[15:09:41] *** quantax- has joined #angularjs
[15:10:30] *** Hackwar1 has joined #angularjs
[15:10:42] *** yelvert has quit IRC
[15:10:47] <caitp> the ultimate goal is to get rid of the "microsyntax" where we make a big regexp to process ng-repeat's expression
[15:11:01] <caitp> we definitely don't want to be doing that again
[15:11:05] <caitp> same for ngOptions and stuff
[15:11:20] <Evil_Peach> JohnFree: if I add the first line, it crashes my app.
[15:11:47] <JohnFree> Evil_Peach: You've to do all changes I added
[15:11:59] <JohnFree> You also have to change index.html
[15:12:00] *** Hackwar has quit IRC
[15:12:04] <Evil_Peach> JohnFree: ok, thanks. working on it
[15:12:32] <JohnFree> Evil_Peach: I'm also working on my own issue :). Trying to pass pageTitle, don't know how to do it
[15:13:02] <JohnFree> Maybe I should use directive
[15:13:04] <BahamutWC|Work> caitp: I just want it to be valid html (not w3c validator valid, but legitimate html)
[15:13:22] <sacho> well that sounds like a good idea, but maybe the problem is the way you pass data to directives
[15:13:25] <caitp> we all want that
[15:13:44] <caitp> you should chime in and +1 the IterableExpressions thing
[15:13:47] *** Reskp has joined #angularjs
[15:13:52] <BahamutWC|Work> increasing the overhead for newer developers is not worth the benefit
[15:14:04] <BahamutWC|Work> link me
[15:14:14] <caitp> https://github.com/angular/angular/issues/133 the giant bikeshed thread
[15:14:22] <caitp> it might crash your browser, be careful ;)
[15:14:28] *** Johnny13371337 has left #angularjs
[15:14:33] *** cesarkawakami has joined #angularjs
[15:16:01] *** kalehv has joined #angularjs
[15:16:20] <sacho> why can't ng-repeat consume multiple attributes?
[15:16:33] <caitp> it can, but it kinda sucks
[15:16:50] <caitp> more work to adapt existing code, more crap for people to remember, uglier
[15:17:10] *** Reskp has quit IRC
[15:17:21] <caitp> i am a big fan of the repeat="item of collection" version
[15:17:30] <caitp> we just have to make that not microsyntax
[15:17:41] *** Orbitrix has quit IRC
[15:17:48] <sacho> well, if the microsyntax is going away, the work to adapt existing code would be similar
[15:17:53] *** rawc has quit IRC
[15:18:49] <sacho> that's a lot of posts for 2 days
[15:18:57] <caitp> you can't really find/repeat "x in y" into `item="x" collection="y"`
[15:19:06] <caitp> er, find/replace*
[15:19:13] <Evil_Peach> JohnFree: It still somewhy doesn't work, when I go to that url manually there is a JSON there but it doesn't add to my scope and it doesn't show up any errors. my body tag has ng-app="index" and the controller is connected.
[15:19:24] <caitp> but "x in y" into "x of y" would be pretty easy
[15:19:33] *** nagappan_ has quit IRC
[15:19:38] <JohnFree> Evil_Peach: What's the URL?
[15:19:40] *** scythe__ has joined #angularjs
[15:19:44] <JohnFree> Evil_Peach: For JSON
[15:19:44] <caitp> (the "of" would just be to look like JS)
[15:19:56] <Evil_Peach> JohnFree: it's on my localhost, still testing..
[15:20:04] *** nagappan_ has joined #angularjs
[15:20:42] *** red_horned_rihno has quit IRC
[15:20:44] *** Umesh has joined #angularjs
[15:21:30] <Umesh> i want to know how to use material design in angular..means which file i should have to implement into html file
[15:21:46] <caitp> https://material.angularjs.org/#/ there is info here
[15:21:55] <JohnFree> Evil_Peach: Send me the result of your JSON
[15:22:22] <Umesh> i know but i dont know which files and how many files should have to include in html
[15:22:23] <Evil_Peach> JohnFree: maybe I should write in the {{}} something like {{myData[0].rows}} or just {{myData[0]}}?
[15:22:41] *** Zeioth has joined #angularjs
[15:22:45] <JohnFree> Evil_Peach: Create a json-file in plunkr and request that
[15:23:00] *** red_horned_rihno has joined #angularjs
[15:23:01] *** Reskp has joined #angularjs
[15:23:03] <JohnFree> Evil_Peach: Put your JSON-output into a file in plunkr and request it and send me the link
[15:23:12] *** Reskp has quit IRC
[15:23:49] <Umesh> <caitp>: i downloaded this zip file but in that file which files are nedded to include in html
[15:23:50] <sacho> heh, there's even a comment suggesting changing how setAttribute works
[15:24:05] *** _ritchie_ has quit IRC
[15:24:23] <caitp> well you need ngMaterial
[15:24:40] *** grantfunke_ has joined #angularjs
[15:24:48] <Umesh> for that what i should have to do
[15:24:51] <BahamutWC|Work> caitp: I read the issue thread yesterday since robdubya pointed it out to me (we now work at the same company :) )
[15:25:00] <Umesh> <caitp>????
[15:25:03] <Umesh> plz
[15:25:36] <caitp> https://github.com/angular/bower-material looks like you include angular-materila.js and the CSS of your choosing
[15:25:41] <BahamutWC|Work> that issue thread heartens me that it isn’t as in stone
[15:25:42] *** nfroidure has quit IRC
[15:25:59] *** ericsonluciano has quit IRC
[15:26:23] *** jrowny has joined #angularjs
[15:26:24] <Evil_Peach> JohnFree: http://plnkr.co/edit/lUKDlTpYztqWJr7gGHuu?p=preview put it in scripts.js
[15:26:30] *** AciD`` has joined #angularjs
[15:26:55] <JohnFree> Evil_Peach: Json files end with ".json"
[15:27:00] <Umesh> ok just this 2 files are imp. to use material design
[15:27:14] <JohnFree> Evil_Peach: Wait a second
[15:27:39] <caitp> BahamutWC|Work, well I mean the [] and () stuff is already deemed not to work
[15:27:40] *** Reskp has joined #angularjs
[15:27:43] <caitp> so we definitely can't do that
[15:27:48] <caitp> we're just bikeshedding stuff to do instead
[15:27:48] <Evil_Peach> JohnFree: just pasted the json there. my express.js router sends it as a json response
[15:27:48] <BahamutWC|Work> yep I saw that
[15:27:54] *** Ch4rAss has quit IRC
[15:28:07] <BahamutWC|Work> really didn’t like the [] and () syntax
[15:28:08] <Umesh> <caitp>:ok just this 2 files are imp. to use material design
[15:28:14] *** Caroga_afk is now known as Caroga
[15:28:24] <BahamutWC|Work> btw, are the plans still to integrate well with Polymer?
[15:28:27] <caitp> Umesh I really have no idea, I haven't worked on material yet, although they might want me to
[15:28:34] *** kuniyori has quit IRC
[15:28:44] <caitp> i haven't heard of any plans to "integrate" with polymer, apart from using polymer polyfills
[15:28:56] *** tmaximini has joined #angularjs
[15:29:01] <JohnFree> Evil_Peach: keys and values in JSON-File should always be strings! Here is the solution: http://plnkr.co/edit/zxF4HLUPDgAEoYRu4laS?p=preview
[15:29:02] <BahamutWC|Work> well, integrate in the sense of making it smooth to use both
[15:29:27] <caitp> there is basically 0 work being done on that front, far as I know
[15:29:29] *** grantfunke_ has quit IRC
[15:29:33] *** tkimmel has joined #angularjs
[15:29:37] <JohnFree> Evil_Peach: Wait
[15:29:41] <Umesh> ok thanks for ur support
[15:29:50] <BahamutWC|Work> so 2.0 isn’t going to use web components?
[15:29:58] <caitp> sure it is
[15:30:03] <caitp> but polymer isn't web components
[15:30:04] <BahamutWC|Work> ah
[15:30:05] *** kuniyori has joined #angularjs
[15:30:06] <BahamutWC|Work> true
[15:30:15] *** cotko has joined #angularjs
[15:30:16] <JohnFree> Evil_Peach: Here is the solution (I forgot to freeze): http://plnkr.co/edit/zxF4HLUPDgAEoYRu4laS?p=preview
[15:30:17] <BahamutWC|Work> sorry, when I mentioned Polymer, I meant the platform.js portion
[15:30:21] *** JohnFree has quit IRC
[15:30:25] <BahamutWC|Work> the polyfill layer
[15:30:32] <caitp> we probably will be using platform.js to support older browsers
[15:30:46] <BahamutWC|Work> :O
[15:30:52] *** jrowny has quit IRC
[15:31:01] *** mrits has joined #angularjs
[15:31:05] <caitp> trouble is, the polyfills are really slow
[15:31:07] <caitp> :(
[15:31:19] <Evil_Peach> JohnFree: thanks a lot! checking
[15:31:21] <BahamutWC|Work> yeah, the polymer team has some work to do still :(
[15:31:23] *** Reskp has quit IRC
[15:31:36] <BahamutWC|Work> but I noticed they shed ~400 KB in the past few months
[15:31:53] *** fixl has quit IRC
[15:32:35] <BahamutWC|Work> we’re considering starting to use web components in production for new projects in January (along with ES6)
[15:32:48] *** sheerun has quit IRC
[15:33:00] *** mandric has joined #angularjs
[15:33:13] <caitp> we might be shipping ES6 classes in v8 by january ^_^ well I don't know that for sure
[15:33:25] <caitp> but they're getting close
[15:33:30] <BahamutWC|Work> sweet
[15:34:02] <zomg> Are people not raging about that feature?
[15:34:04] *** Umesh has quit IRC
[15:34:09] <zomg> I've not seen any rage about it at least :P
[15:34:20] <BahamutWC|Work> I saw a rage article about ES6 classes just yesterday
[15:34:22] *** lianimator has joined #angularjs
[15:34:31] <BahamutWC|Work> saying it was going to be bad for JavaScript
[15:34:31] *** tkimmel has quit IRC
[15:34:34] <zomg> oh, maybe I've just been lucky
[15:34:54] *** cotko has quit IRC
[15:35:10] <zomg> but yeah you'd think people would rage about it because of all the people who start crying whenever you use the word `class` to describe something in JS
[15:35:10] <BahamutWC|Work> JS is certainly transforming significantly as a language with ES6
[15:35:26] <zomg> or the same people who cry so hard about using some helper to do class style OO
[15:35:26] <caitp> https://gist.github.com/caitp/9303a67807d5668c93ad we've already basically got them
[15:35:58] *** nimomo has joined #angularjs
[15:35:58] *** kuniyori has quit IRC
[15:36:04] <caitp> so that probably already works in canary
[15:36:11] <zomg> Is that actually just syntactic sugar for function MyClass() { } MyClass.prototype = { whatever }; ?
[15:36:24] <zomg> I suppose I could go read an article about it or something since I haven't really followed
[15:36:31] <caitp> hmm, not in canary yet :p
[15:36:35] <BahamutWC|Work> ES6 classes are a little different - you can invoke super in the constructor
[15:36:46] <BahamutWC|Work> and extend classes
[15:36:52] <zomg> I guess it'll still use prototypes though?
[15:36:55] <caitp> well it is basically syntax sugar
[15:36:56] <BahamutWC|Work> class Foo extends Bar
[15:36:59] *** mathisjay has joined #angularjs
[15:37:02] <caitp> yeah it still uses prototypes
[15:37:11] *** kuniyori has joined #angularjs
[15:37:12] <mathisjay> could someone help me with some noob questions
[15:37:13] <caitp> but it's a nice syntax sugar
[15:37:22] <zomg> Yeah definitely
[15:37:24] <BahamutWC|Work> a lot of ES6 looks very coffeescriptish
[15:37:30] <BahamutWC|Work> mathisjay: just ask away
[15:37:33] <mathisjay> I'm tryign to follow along with the tutorial but cant get past the git setup
[15:37:34] <zomg> So much for people who were complaining about how it's not a class
[15:37:37] <caitp> some of es6 was very inspired by coffeescript
[15:37:43] <zomg> I'll be enjoying some I told you so cake
[15:37:44] <zomg> haha
[15:37:49] <BahamutWC|Work> arrow syntax, array comprehensions
[15:37:50] <mathisjay> I have git installed
[15:37:54] <Evil_Peach> JohnFree: the problem is that the json comes that way from the DB i'm working with. any way to convert it to json before adding it the the scope? of I do this: :scope.myData = angular.toJson(data);: on the success annonymos function - it still doesn't work
[15:38:26] <caitp> hey, if we're lucky my template literals patch will land soon, and then we'll have templates too :3
[15:38:33] <mathisjay> I start git bash and type git clone --depth=14 https://github.com/angular/angular-phonecat.git
[15:38:35] <caitp> templates are my favourite syntax sugar in es6
[15:38:51] *** Sky[x] has quit IRC
[15:38:51] <mathisjay> put in my username/password and it tell me it cant find the repository
[15:39:19] <sacho> after reading that discussion, it feels lie people are ignoring your very cool suggestion
[15:39:26] <mathisjay> I feel like the tutorial missed a step but I'm not a git expert
[15:39:33] *** josh-k_ has quit IRC
[15:39:45] <BahamutWC|Work> templates ala Java/C++/etc.?
[15:39:53] <caitp> no
[15:39:55] <sacho> no ew
[15:39:58] <caitp> hard to do that in a dynamic language
[15:39:59] <BahamutWC|Work> haha
[15:40:00] *** josh-k has joined #angularjs
[15:40:07] <BahamutWC|Work> I was confused when I read that
[15:40:18] <caitp> `string ${'interpolation'}`
[15:40:19] <sacho> mathisjay, what's the exact error?
[15:40:31] <BahamutWC|Work> mathisjay: don’t use the https string
[15:40:47] <BahamutWC|Work> I think that’s a bad piece of advice on that tutorial
[15:40:51] <BahamutWC|Work> use git at github dot com:angular/angular-phonecat.git
[15:40:52] *** gazbond has joined #angularjs
[15:41:22] *** jrist has quit IRC
[15:41:33] *** IvailoStoianov has quit IRC
[15:42:10] <BahamutWC|Work> mathisjay: also be sure to configure git, i.e. git config —global user.name “Foo Bar”
[15:42:12] *** gnrlbzik has joined #angularjs
[15:42:24] <BahamutWC|Work> and git config —global user.email “foo at bar dot com”
[15:42:41] *** dgncn has joined #angularjs
[15:42:44] *** ben_dev has joined #angularjs
[15:42:56] <jcool> What is a good way to manage roles and permission in angular? Login is good. but confused for role management
[15:43:16] *** sahbeewah has quit IRC
[15:43:19] <jcool> Even if I integreate it with backend , how to check those roles at frontend
[15:43:34] *** annlewis has joined #angularjs
[15:43:44] <BahamutWC|Work> jcool: on a successful login, you can pass back a roles key that is an array of roles the user has
[15:44:17] <BahamutWC|Work> of course, any api hit by something firewalled by a role needs to be enforced on the backend
[15:44:32] <jcool> BahamutWC|Work, Yeah I can but checking in angular. how to do that?
[15:44:33] *** platonic has joined #angularjs
[15:44:37] *** ceephax has joined #angularjs
[15:44:40] *** josh-k has quit IRC
[15:45:06] <BahamutWC|Work> jcool: it’s not really angular specific - you just use a service that does the checking and if the user doesn’t have the correct role, route them appropriately
[15:45:39] <jcool> BahamutWC|Work, For every action I need to check that user has role or not?
[15:45:50] *** klaut has joined #angularjs
[15:46:07] <BahamutWC|Work> if you use ui router, you can do $scope.$on(‘$stateChangeStart’, function (e) { // check target state and user role, if failure, cancel transition and route to another route, otherwise continue });
[15:46:21] *** Mido has joined #angularjs
[15:46:23] <BahamutWC|Work> jcool: yes - but you should be anyway since you need to guarantee the user has the permissions
[15:46:29] <jcool> BahamutWC|Work, yep
[15:46:53] <BahamutWC|Work> there are other ways to enforce it as well, such as with an $httpInterceptor
[15:47:10] <BahamutWC|Work> it’s all up to you how you want to implement it
[15:47:13] *** ben_dev has quit IRC
[15:47:21] <jcool> BahamutWC|Work, I will dig up both options. :)
[15:47:37] <jcool> thanks!
[15:47:37] <BahamutWC|Work> also you can use ui router/ngRoute state/route resolves
[15:47:54] *** patrick99e99 has joined #angularjs
[15:48:08] *** Mido has quit IRC
[15:48:10] <BahamutWC|Work> might be the cleanest way, but it all depends on your architecture
[15:48:15] <jcool> BahamutWC|Work, but what ever I code using this will be in code and if I give a user permission to change permissions of another role
[15:48:16] *** annlewis has quit IRC
[15:48:18] <jcool> that wont that create a mess?
[15:48:34] <BahamutWC|Work> that’s why the server should always be the source of truth
[15:48:51] *** michaelSharpe has joined #angularjs
[15:49:00] <jcool> BahamutWC|Work, yep. I can do that in backend easily. and then can I mix it with last option you gave?
[15:49:02] *** platonic has quit IRC
[15:49:14] *** aisha has joined #angularjs
[15:49:16] <BahamutWC|Work> so if it fails, you can have the server return an error with a 403 or similarly appropriate code
[15:49:18] <jcool> ui Router/ngRoute state/route
[15:49:31] <BahamutWC|Work> and in the reject handler of your promise do the appropriate fallback option for failure
[15:49:55] *** Ch4rAss has joined #angularjs
[15:50:13] <jcool> BahamutWC, So what I can do is get a user role , view he is trying to access, pass that to server and get response for same?
[15:50:24] *** sheerun has joined #angularjs
[15:50:37] *** aisha has left #angularjs
[15:50:47] <sacho> no
[15:50:54] <sacho> the server shouldn't trust a role you pass
[15:50:57] <BahamutWC|Work> well, you should only be doing the checking when the user hits a particular endpoint requiring the permissions
[15:51:01] <jcool> send server 2 things. user role and route. and get response each time. Wouldnt that slow app
[15:51:15] <BahamutWC|Work> and the check is purely based on the user cookie/authenication id/etc.
[15:51:20] <sacho> why are you sending the role to the server?
[15:51:42] <jcool> sacho, send permission and get role for that permission other way round?
[15:51:42] *** Sky[x] has joined #angularjs
[15:51:46] *** Evil_Peach has left #angularjs
[15:51:50] *** sheerun has quit IRC
[15:51:52] <sacho> what would the point of that be
[15:52:02] <BahamutWC|Work> jcool: that’s an extra roundtrip you don’t need to include
[15:52:12] *** dreambox has quit IRC
[15:52:12] <BahamutWC|Work> say you have an admin role
[15:52:31] <jcool> example: admin and user role. actions country-add,view,edit ,delete
[15:52:41] <BahamutWC|Work> you should do a request for say /admin/users to get all of the users for an admin view
[15:52:43] <jcool> logged in user has user role
[15:52:49] *** patrick99e99 has quit IRC
[15:52:59] *** japhar81 has joined #angularjs
[15:53:01] <BahamutWC|Work> the backend then determines whether you have the role based on your account
[15:53:24] <jcool> sacho, verifying permissions ? may be
[15:53:28] <BahamutWC|Work> if it fails, pass a 403 or other appropriate status code back to the client with the response, then you catch that response on the frontend and route the user appropriately
[15:53:29] <steinbeck> anyone know a good bitcoin payment widget I can see workign somewhere like plunkr
[15:53:35] <steinbeck> (plnkr doesnt seem to have one)
[15:53:51] <japhar81> hey guys, im a bit confused on $rootScope.. if I want a function to be available on all $scopes in all controllers, will defining it on $rootScope do that?
[15:54:01] <steinbeck> i dont want to integrate coinbase's widget, but rather make one like it using angular.
[15:54:09] <BahamutWC|Work> japhar81: sure, but that is incredibly dirty
[15:54:14] <steinbeck> its a idea
[15:54:18] <steinbeck> to use rootScope
[15:54:19] <steinbeck> like that
[15:54:23] <steinbeck> *bad idea
[15:54:38] <BahamutWC|Work> I have done .run($rootScope) { $rootScope._ = _; }) in the past for having some nice underscore/lodash helpers in templates, but it’s bad
[15:54:39] *** gazbond has quit IRC
[15:54:42] *** kuniyori has quit IRC
[15:54:43] <japhar81> so what's the right way to handle global functionality?
[15:54:48] <BahamutWC|Work> services
[15:54:56] <steinbeck> yep.
[15:55:01] <steinbeck> then call the service wherever needed
[15:55:08] <jcool> BahamutWC|Work, umm got that. :)
[15:55:09] <BahamutWC|Work> inject only what is needed
[15:55:12] *** michaelSharpe has quit IRC
[15:55:14] <jcool> BahamutWC|Work, seems to be a clean approach.
[15:55:15] *** ckboii89 has joined #angularjs
[15:55:25] <japhar81> so what i need to do is basically set a loading/notloading state
[15:55:32] <japhar81> that toggles ng-show at the very root level
[15:55:41] <japhar81> i was trying not to inject a service into every single controller
[15:55:50] <japhar81> is that really the preferred way?
[15:56:11] <jcool> sacho, thanks for help :) BahamutWC|Work, info appreciated.thanks :)
[15:56:26] <BahamutWC|Work> japhar81: hmm, I would rather create a top level controller and just put it on that scope then, where the state value comes from a service
[15:56:35] *** anivemin has joined #angularjs
[15:56:39] <jcool> BahamutWC|Work, Do these external apis are of use? I came across lot of them like dreamfactory and all
[15:56:40] <japhar81> i got the top level controller
[15:56:48] <japhar81> and have the variable on it's $state
[15:56:52] <BahamutWC|Work> external apis?
[15:56:53] <japhar81> it's the service bit i don't understand
[15:56:57] *** Sky[x] has quit IRC
[15:57:20] *** linojon_ has joined #angularjs
[15:57:28] *** mtsr has quit IRC
[15:57:31] <BahamutWC|Work> japhar81: well, if you are determining loading, you can use an $http interceptor
[15:57:45] <jcool> BahamutWC|Work, There are standalone user management system which integreat with Angular and provide a interface to deal with users and all
[15:57:47] <japhar81> it's not just $http, i have websockets and other stuff going
[15:58:02] <jcool> UserApp is one of them and so is dreamfactory
[15:58:30] <BahamutWC|Work> japhar81: inject it to your websocket service as well then, or refactor your code so that you can get that toggled value into the appropriate place
[15:58:34] *** mathisjay has quit IRC
[15:58:43] *** darrin has joined #angularjs
[15:59:00] <BahamutWC|Work> jcool: I’ve no experience with them
[15:59:04] *** linojon has quit IRC
[15:59:04] *** linojon_ is now known as linojon
[15:59:12] <japhar81> yeah i was really hoping to avoid the refactor, guess i'll have to
[15:59:24] <jcool> BahamutWC|Work, ah okay
[15:59:40] <BahamutWC|Work> japhar81: I know what you mean, but managing your dependencies is arguably the most important part of using angular
[15:59:50] <BahamutWC|Work> globals make it difficult to decouple modules
[15:59:52] *** ckboii89 has quit IRC
[16:00:29] *** kuniyori has joined #angularjs
[16:00:50] *** alinou has joined #angularjs
[16:01:08] <sacho> japhar81, why didn't the top level controller work for you?
[16:01:38] *** cakirke has quit IRC
[16:01:41] <japhar81> it did, but its causing me to do $scope.$emit all over the place
[16:01:42] *** anivemin has quit IRC
[16:01:53] *** Jae has quit IRC
[16:01:59] <japhar81> so my first thought was to put that call into a startLoading/endLoading method on $rootScope
[16:02:05] <japhar81> but i think a global state service is cleaner
[16:02:17] <japhar81> much as i hate the idea of going thru and injecting it in 20 controllers right now
[16:02:24] <BahamutWC|Work> heh
[16:02:25] *** Reskp has joined #angularjs
[16:02:37] *** Una has joined #angularjs
[16:02:37] <BahamutWC|Work> well, injecting it makes clear your dependency hierarchy
[16:02:39] *** Jae has joined #angularjs
[16:02:47] <BahamutWC|Work> think of it as documenting your dependency graph
[16:02:57] *** stephanbuys has joined #angularjs
[16:03:03] *** ProLoser has joined #angularjs
[16:03:10] *** IvailoStoianov has joined #angularjs
[16:03:24] *** Sky[x] has joined #angularjs
[16:03:35] *** darrin has quit IRC
[16:03:51] *** arkin has joined #angularjs
[16:04:34] *** rho has joined #angularjs
[16:04:34] *** rho has joined #angularjs
[16:05:25] *** elrabin has joined #angularjs
[16:05:27] *** kuniyori has quit IRC
[16:06:32] *** Reskp has quit IRC
[16:07:35] *** ProLoser has quit IRC
[16:07:40] *** lite_ has joined #angularjs
[16:08:26] *** discgo has joined #angularjs
[16:08:46] *** bkuberek_ has joined #angularjs
[16:08:49] *** Una has quit IRC
[16:09:09] *** Reskp has joined #angularjs
[16:09:10] *** Una has joined #angularjs
[16:09:19] *** red_horned_rihno has quit IRC
[16:10:41] *** bkuberek has quit IRC
[16:10:43] *** svteoi has joined #angularjs
[16:10:47] *** stephanbuys has quit IRC
[16:10:54] *** kuniyori has joined #angularjs
[16:11:38] *** MrBaboon has joined #angularjs
[16:12:04] <iivvoo> somewhere in the angular documentation, there's an example where you drag a div around
[16:12:10] *** michaelSharpe has joined #angularjs
[16:12:10] <iivvoo> does anyone happen to know where?
[16:12:22] *** iksik has quit IRC
[16:12:26] *** lite_ has quit IRC
[16:12:44] <themime> iivvoo: sounds like an angular-bootstrap drag/drag to me
[16:13:58] <iivvoo> no, if I recall correctly it's just a small snippet somewhere in the angular api documentation
[16:14:18] <themime> ah im not familiar then
[16:14:26] *** michaelSharpe has quit IRC
[16:14:26] *** iksik has joined #angularjs
[16:16:24] *** MrBaboon has quit IRC
[16:17:11] <sacho> iivvoo, https://docs.angularjs.org/guide/compiler
[16:17:20] *** kuniyori has quit IRC
[16:18:47] <iivvoo> actually, https://docs.angularjs.org/guide/directive
[16:19:05] <iivvoo> same example.. thanks :)
[16:19:33] <sacho> iivvoo, angular's site has a search feature, that's how you can find it(search for drag)
[16:19:37] *** wd40s has joined #angularjs
[16:19:40] *** anjumkaiser has quit IRC
[16:19:41] *** mennea has quit IRC
[16:20:41] *** kuniyori has joined #angularjs
[16:20:58] *** grantfunke_ has joined #angularjs
[16:21:29] *** iksik has quit IRC
[16:22:35] *** moafoca_ has joined #angularjs
[16:22:38] *** zivester has joined #angularjs
[16:23:46] <themime> does johnpapa's guide have a place for test files? he mentions them but doesn't go into the ideal location. ive seen them in the feature folders which makes sense but i guess im not sure where to place my main gulp file. do i have a separate 'default' for my server (if im doing nodejs)
[16:23:59] *** boberober has joined #angularjs
[16:24:06] *** elrabin has quit IRC
[16:25:10] *** phil_ has joined #angularjs
[16:25:13] *** kuniyori has quit IRC
[16:25:14] *** lw has joined #angularjs
[16:25:44] <phil_> is someone here familiar with angularjs + strongloop backend?
[16:25:46] *** tech2 has quit IRC
[16:25:47] *** IvailoStoianov has quit IRC
[16:26:06] *** lw has joined #angularjs
[16:26:28] *** IvailoStoianov has joined #angularjs
[16:26:34] *** lw has quit IRC
[16:26:46] <japhar81> http://pastie.org/9691443 -- what am i missing here? my $watch is logging undefined for some reason..
[16:26:54] *** Ch4rAss has quit IRC
[16:27:08] *** jrowny has joined #angularjs
[16:27:16] *** lw has joined #angularjs
[16:27:31] *** kuniyori has joined #angularjs
[16:27:39] *** lw has quit IRC
[16:28:21] *** lw has joined #angularjs
[16:29:05] <edrocks> japhar81: looks like you need to use $global.$watch possibly. seems to me like its looking for $scope.$global
[16:29:25] <japhar81> hmm
[16:29:28] <japhar81> ok will give it a shot
[16:29:29] <edrocks> you might have to bind $global to your scope instead if the first way doesnt work
[16:29:29] *** lw has joined #angularjs
[16:29:31] *** Xethron has joined #angularjs
[16:29:32] *** Xethron has joined #angularjs
[16:30:54] *** stephanbuys has joined #angularjs
[16:31:07] *** mglvl has joined #angularjs
[16:31:13] *** gnrlbzik has quit IRC
[16:31:20] *** adpirz_ has quit IRC
[16:31:49] *** adpirz has joined #angularjs
[16:31:50] <merpnderp> Trying to spot the typo and just can't see it: <input type="email" ng-change="emailChanged()" ng-model="email" class="form-control" name="email" placeholder="A valid email...">{{email}}
[16:31:50] *** Fishy has joined #angularjs
[16:32:10] *** jrowny has quit IRC
[16:33:15] *** elrabin has joined #angularjs
[16:33:25] *** encryptd_fractl has joined #angularjs
[16:34:01] *** Ch4rAss has joined #angularjs
[16:34:52] *** rburns has joined #angularjs
[16:35:29] <themime> do i install bower locally? im having an annoyingly hard time adapting to npm :(
[16:35:34] <merpnderp> Arg the template defaults to hi, bu tthe model doesn't: <input ng-init="email = 'hi'" type="email" ng-model="email" class="form-control" name="email" placeholder="A valid email...">{{email}}
[16:36:13] *** adpirz has quit IRC
[16:36:18] <themime> ive had bad luck with ng-init, i think for the most part you can just set it in the scope
[16:36:32] *** JohnFree has joined #angularjs
[16:37:05] <merpnderp> Oh nice, angular quietly chokes on type="email"
[16:37:21] <themime> also storing primitive types directly on the scope is generally a bad idea due to some picky inheritance things
[16:37:21] *** ctanga has joined #angularjs
[16:37:56] <themime> so instead youll see like user.email
[16:37:58] *** kuniyori has quit IRC
[16:38:03] <JohnFree> Hi guys. I'm only using binding in one direction: Controller -> View, that means after data can't be changed in frontend. Is there any AngularJS plugin which deactivates $watch in View -> Controller direction?
[16:38:07] <themime> $scope.user = {}; $scope.user.email = 'default';
[16:38:39] <themime> JohnFree: angular 1.3 has support for one time binding, its really easy i think you just add :: in front of stuff
[16:38:55] <themime> JohnFree: pretty seamless update from 1.2->1.3, but theres also bind-once for 1.2
[16:39:20] <JohnFree> How can I do that? Can you give me link with example?
[16:39:47] *** kuniyori has joined #angularjs
[16:39:50] <themime> i just did a quick google for "angular 1.3 bind once" - http://swirlycheetah.com/native-bind-once-in-angularjs-1-3/
[16:39:52] *** gunn has quit IRC
[16:40:32] *** Una has quit IRC
[16:40:41] <JohnFree> ß
[16:40:56] <JohnFree> themime: Hopfefully it's not like "Pasvaz/bindonce"?
[16:40:56] *** moafoca_ has quit IRC
[16:41:06] *** gunn has joined #angularjs
[16:41:12] <JohnFree> themime: That plugin deactivates binding completely, that means I can't change data in frontend anymore
[16:41:22] *** StryKaizer has joined #angularjs
[16:41:47] <themime> what is it that you want then?
[16:42:07] <themime> i thought thats what you were asking for
[16:42:15] <JohnFree> themime: No
[16:42:19] *** patrickreck has quit IRC
[16:42:27] *** _ritchie_ has joined #angularjs
[16:42:51] <JohnFree> themime: I'm not changing data in the view. I'm only changing data in the Controller. I asked if there is a oppurtunity to switch off binding in direction View -> Controller
[16:42:52] <themime> JohnFree: what is it that you want then? im a little confused by your initial question now
[16:43:32] *** TripTastic has joined #angularjs
[16:43:34] <JohnFree> themime: I want to improve the perfomance by switching off binding in the direction View -> Controller. The binding for the direction Controller -> View should stay
[16:43:38] *** annlewis has joined #angularjs
[16:44:07] *** arkin has quit IRC
[16:44:09] *** zulucoda has quit IRC
[16:44:25] <themime> that doesn't make sense to me. the view models the data in the controller, if you want to save something thats not apart of the view you may want to save it to a shared service instead
[16:44:37] <JohnFree> themime: In the link you gave me(http://swirlycheetah.com/native-bind-once-in-angularjs-1-3/) you can only print once into frontend. After that the frontend is readonly
[16:44:38] *** thomastuts has joined #angularjs
[16:44:39] *** disgrntld has joined #angularjs
[16:45:25] <JohnFree> themime: If you use bindonce you can only write once into frontend. Do you know what I mean?
[16:46:06] *** JBreit has quit IRC
[16:46:11] *** kuniyori has quit IRC
[16:46:25] *** bmac has joined #angularjs
[16:47:07] *** kuniyori has joined #angularjs
[16:47:39] *** Reskp has quit IRC
[16:47:56] *** alinou has quit IRC
[16:47:58] <JohnFree> Hello??
[16:48:04] *** shaisnir_ has joined #angularjs
[16:48:23] *** annlewis has quit IRC
[16:48:45] *** matthoiland has joined #angularjs
[16:48:47] <disgrntld> hello, I'm trying to compare angular and knockout to learn more about both.. does angular have anything like knockout's dependency tracking? can we use nested scopes or isolate scopes to prune the amount of expressions that have to be made by angular's dirty checking?
[16:49:03] <disgrntld> that have to be checked*
[16:49:09] <JohnFree> themime: You don't understand me?
[16:50:00] <JohnFree> Can anyone help me please?
[16:50:17] *** elrabin has quit IRC
[16:51:05] *** edrocks has quit IRC
[16:51:05] *** shaisnir has quit IRC
[16:51:20] <merpnderp> themime: this is an inline controller on a page with 10 lines total of js :)
[16:51:47] <merpnderp> https://www.irccloud.com/pastebin/dMmRS0Gn
[16:52:00] <JohnFree> hello
[16:52:07] *** JohnBat26 has joined #angularjs
[16:52:20] <themime> JohnFree: so you still want the frontend to update when you update the controller model?
[16:52:31] <themime> sorry for delays im getting ready to leave wife is glaring haha
[16:52:36] <JohnFree> themime: Yes
[16:52:48] *** dreambox has joined #angularjs
[16:52:51] <themime> thats how angular normally works. what are you wanting to change?
[16:52:53] <JohnFree> themime: Oh man, women.. They are a science
[16:53:07] *** linojon has quit IRC
[16:53:08] <themime> if you want to update model, the view will change. if you want to update the view, you update the model
[16:53:10] <JohnFree> themime: I want to do bindonce for perfomance improvement. And if there is new data, I want to change frontend
[16:53:40] *** matthoiland has quit IRC
[16:53:46] <themime> thats two way binding thats how angular works
[16:53:48] <JohnFree> themime: But what's the sense of bindonce if I can only write once into frontend and then never again?
[16:54:10] *** mary5030 has joined #angularjs
[16:54:14] <themime> if you want the view to update when you change the model thats how it normally works. it doesn't sound like you want bind once
[16:54:14] <JohnFree> themime: Then you've static page
[16:54:46] <JohnFree> themime: But can you shortly tell me the sense of bindonce then, if I never can change view?
[16:55:35] <JohnFree> themime: For example on the page you gave me in the code they say "updateOn: 'submit'", so bindonce can be updated?
[16:55:42] <themime> render a list of 2000 customers that renders fast and that you can filter quickly. i don't need to update the list in real time since they'll just pick one from that list right away. if they leave and go back it destroys and recreates the controller/view
[16:56:02] *** ckboii89 has joined #angularjs
[16:56:04] <themime> if you change something on the view, say with ng-model, itll still update the model
[16:56:07] <themime> even with bindonce
[16:56:12] *** arkin has joined #angularjs
[16:56:18] <themime> you usually only do it on something like a long list with ng-repeat
[16:56:39] <themime> but i need to leave, be back in an hour or two
[16:56:45] *** DrPc has joined #angularjs
[16:56:54] <JohnFree> themime: Ok. So if the model is initialized then I can't change. I can only change if I change page and the model get's destroyed?
[16:56:58] <JohnFree> themime: Ok thanks
[16:57:17] *** anivemin has joined #angularjs
[16:57:21] *** dreambox has quit IRC
[16:57:24] *** hugofirth has joined #angularjs
[16:57:55] <themime> JohnFree: if you cant get any more help from here read up on two way binding and ng-model. bindonce does not "deactive" ng-model from updating the view
[16:58:01] <themime> er
[16:58:12] <themime> does not decative ng-model from updating the model on the scope
[16:58:32] <JohnFree> themime: Ok. I'm reading. I don't know much about this. Thanks
[16:58:37] *** DrMabuse_ has joined #angularjs
[16:59:06] <themime> JohnFree: no problem. yea it just sounds like you need to read up on some more basic angular principles first. sometimes you need to just get something working before you worry about efficiency. it seems like its confusing you more right now
[16:59:09] *** cornerma1 has joined #angularjs
[16:59:12] <themime> okay im out though good luck!
[16:59:16] *** dalguete has joined #angularjs
[16:59:27] <JohnFree> thanks :)
[16:59:38] *** Xethron has quit IRC
[16:59:39] *** linojon has joined #angularjs
[17:00:17] *** edrocks has joined #angularjs
[17:00:33] *** Sky[x] has quit IRC
[17:00:40] *** ckboii89 has quit IRC
[17:02:00] *** Xethron has joined #angularjs
[17:02:00] *** anivemin has quit IRC
[17:02:21] *** cornerman has quit IRC
[17:02:30] *** cornerma1 is now known as cornerman
[17:04:39] *** Reskp has joined #angularjs
[17:05:29] *** Reskp has quit IRC
[17:05:45] *** iksik has joined #angularjs
[17:06:46] *** cotko has joined #angularjs
[17:07:08] *** Sky[x] has joined #angularjs
[17:07:10] *** moafoca_ has joined #angularjs
[17:07:15] *** JohnFree has quit IRC
[17:07:46] *** sheerun has joined #angularjs
[17:07:55] *** yelvert has joined #angularjs
[17:08:05] *** ctanga has quit IRC
[17:08:19] *** Jon31 has joined #angularjs
[17:08:30] *** lite_ has joined #angularjs
[17:09:34] *** williamherry has quit IRC
[17:11:45] *** gnrlbzik has joined #angularjs
[17:12:00] *** arkin has quit IRC
[17:12:30] *** MrBaboon has joined #angularjs
[17:12:43] *** travm has joined #angularjs
[17:12:44] *** lite_ has quit IRC
[17:12:46] *** yelvert has quit IRC
[17:14:17] *** robdubya has joined #angularjs
[17:14:33] *** pushpak has joined #angularjs
[17:14:51] *** kirfu has quit IRC
[17:14:55] *** tmaximin_ has joined #angularjs
[17:15:17] *** mary5030 has quit IRC
[17:15:41] <jaydubya> http://plnkr.co/edit/Y09iLtQzIwQ73ndqIXbH?p=preview <-- I almost have this. Since in the real project, the test criterion is computed elsewhere, the grader actually works. However, in the plunker, I tried to add in a test for the testers where they can edit those values and see if the grade computes correctly but the grade is only computed on the original values for the text inputs (the checkboxes work)
[17:16:32] *** whitebook has joined #angularjs
[17:16:39] *** shaisnir_ has quit IRC
[17:17:19] *** MrBaboon has quit IRC
[17:17:23] *** nfroidure has joined #angularjs
[17:17:36] *** tmaximini has quit IRC
[17:17:45] *** iksik has quit IRC
[17:18:08] *** travm has quit IRC
[17:18:18] *** shinnya has quit IRC
[17:18:24] *** tkimmel has joined #angularjs
[17:18:40] *** Ch4rAss has quit IRC
[17:19:20] *** dllama has joined #angularjs
[17:19:47] *** iksik has joined #angularjs
[17:20:59] *** whitebook has quit IRC
[17:21:30] <japhar81> i am stumped.. http://jsfiddle.net/johnlindquist/9Ymvt/1/ -- anyone? can not figure out why this wouldn't work
[17:21:47] *** adpirz has joined #angularjs
[17:21:57] *** piecyk has joined #angularjs
[17:23:02] *** adpirz_ has joined #angularjs
[17:23:03] *** adpirz has quit IRC
[17:23:12] *** nfroidure has quit IRC
[17:23:14] *** tkimmel has quit IRC
[17:23:30] <mbenadda> japhar81 - What exactly is not working as intended here ?
[17:23:48] *** Reskp has joined #angularjs
[17:23:48] <japhar81> sorry, bad cut/paste
[17:23:49] <japhar81> http://jsfiddle.net/9Ymvt/2559/
[17:23:51] <japhar81> click the button
[17:23:56] <japhar81> $scope.toggle gets called
[17:24:03] <japhar81> the service sees it and updates
[17:24:10] *** ctanga has joined #angularjs
[17:24:16] <japhar81> but for some reason the $watch doesn't pick up on it
[17:24:53] *** JohnFree has joined #angularjs
[17:25:19] <japhar81> i only ever get one 'trapped'
[17:25:20] <JohnFree> Hi guys. I want to do bindonce and I also want the Model and View to be updated if new data comes in via http. How can I do that?
[17:25:28] <JohnFree> Hi guys. I want to do bindonce and I also want the Model and View to be updated if new data comes in via http. How can I do that?
[17:25:58] *** Sky[x] has quit IRC
[17:26:51] *** koell has quit IRC
[17:27:12] *** svteoi has quit IRC
[17:27:30] *** adpirz_ has quit IRC
[17:27:32] *** arabot has joined #angularjs
[17:27:33] *** ckboii89 has joined #angularjs
[17:27:35] *** arabot has quit IRC
[17:27:47] *** firelinks has joined #angularjs
[17:27:55] *** jrowny has joined #angularjs
[17:28:18] <JohnFree> Can someone give me some advice for this?
[17:28:21] <ingsoc> JohnFree: what type of data are you assigning
[17:28:22] *** JohnFree has quit IRC
[17:28:32] *** JohnFree has joined #angularjs
[17:28:56] <ingsoc> what have you tried
[17:28:59] <JohnFree> ingsorc: JSON-data
[17:29:00] <ingsoc> what isn't working
[17:29:09] <JohnFree> ingsoc: I tried "Pasvaz/bindonce"
[17:29:18] <ingsoc> are you using bindonce or one -time binding in angular 1.3
[17:29:19] *** DrMabuse_ has quit IRC
[17:29:23] <JohnFree> ingsoc: my problem is, that I can't change data in view if I receive new data via http
[17:29:25] <ingsoc> ok
[17:29:43] <JohnFree> ingsoc: So I want bindonce but I also want to change data if there is an "event" --> new http data
[17:29:46] *** DrMabuse_ has joined #angularjs
[17:29:53] *** drej has quit IRC
[17:29:53] <ingsoc> when you receive the data from http are you doing this
[17:29:58] <ingsoc> $scope = newData
[17:30:09] <ingsoc> newData being possibly an array of objects ?
[17:30:11] *** Sky[x] has joined #angularjs
[17:30:25] <JohnFree> ingsoc: correct
[17:30:26] <ingsoc> if so I think you can just do that with bindonce
[17:30:36] <ingsoc> let me check
[17:30:47] <JohnFree> ingsoc: But it unfortunaletly doesn't work
[17:31:16] <JohnFree> ingsoc: Once you set the model, you can't change the view anymore
[17:31:24] *** Reskp has quit IRC
[17:31:40] *** mrits has quit IRC
[17:32:06] <ingsoc> what version of angular are you using ?
[17:32:19] <JohnFree> ingsoc: Wait a second
[17:32:22] *** jrowny has quit IRC
[17:32:53] <JohnFree> ingsoc: 1.2.x
[17:33:05] <JohnFree> ingsoc: Therefore I'm using the "Pasvaz/bindonce" module
[17:33:06] <ingsoc> i was under the impression that with bindonce if you actually change the reference then it will re render
[17:33:08] *** Sky[x] has quit IRC
[17:33:10] *** platonic has joined #angularjs
[17:33:20] <ingsoc> the top level collection/array
[17:33:29] *** JohnFree has quit IRC
[17:33:38] *** JohnFree has joined #angularjs
[17:33:40] <ingsoc> why are you even using bondonce if you don't want bindonce behaviour
[17:33:47] *** mven has joined #angularjs
[17:34:02] *** DrMabuse_ has quit IRC
[17:34:04] <JohnFree> ingsoc: I have bindonce behaviour with "Pasvaz/bindonce"-module which I'M using
[17:34:07] *** dllama has quit IRC
[17:34:25] *** dllama has joined #angularjs
[17:35:13] *** opiates has joined #angularjs
[17:35:15] *** linojon has quit IRC
[17:35:29] <JohnFree> ingsoc: What's wrong with it?
[17:36:43] *** dllama has quit IRC
[17:37:27] *** Linxcat has quit IRC
[17:37:33] *** mennea has joined #angularjs
[17:37:37] <JohnFree> Can anyone help?
[17:37:52] *** adpirz has joined #angularjs
[17:37:53] *** _ritchie_ has quit IRC
[17:37:58] *** platonic has quit IRC
[17:38:32] <ingsoc> hold on
[17:38:43] <JohnFree> ingsoc: Ok
[17:39:58] <JohnFree> ingsoc: Maybe I forgot to say: I currently only see that problem if I use a service's return-value as value for bo-text: <span bindonce="Layoutservice" bo-text="{Layoutservice.getTitle()}"
[17:40:11] *** marcjs has joined #angularjs
[17:40:35] *** tkimmel has joined #angularjs
[17:41:01] *** thirdknife has joined #angularjs
[17:41:24] *** williamherry has joined #angularjs
[17:41:56] *** annlewis has joined #angularjs
[17:42:33] *** mary5030 has joined #angularjs
[17:42:42] <JohnFree> ingsoc: But why should it be a problem to use a service-function inside bo-text?
[17:43:12] *** Arf has quit IRC
[17:43:35] <themime> im back, ingsoc i had the exact same types of confusion
[17:43:48] <JohnFree> themime: Hi
[17:44:12] *** dreambox has joined #angularjs
[17:44:16] *** Alina-malina has quit IRC
[17:44:22] <JohnFree> themime: Why isn't my view updated if I change the property in a service and use this for binding: <span bindonce="Layoutservice" bo-text="{Layoutservice.getTitle()}"
[17:44:23] *** rtpg has joined #angularjs
[17:45:00] *** mathisjay has joined #angularjs
[17:45:07] <mathisjay> got another total newb question
[17:45:16] <mathisjay> trying to follow along the tutorial
[17:45:17] *** Alina-malina has joined #angularjs
[17:45:22] <mathisjay> trying to install node.jos.
[17:45:25] <mathisjay> node.js
[17:45:32] <themime> JohnFree: make a plunker
[17:45:38] <JohnFree> themime: ok
[17:46:02] <mathisjay> I downloaded and installed node.js
[17:46:07] *** StryKaizer has quit IRC
[17:46:16] *** nimomo has quit IRC
[17:46:29] <mathisjay> started node.js and typed "npm install" like the turoial says to do
[17:46:46] *** dreambox has quit IRC
[17:46:46] *** kuniyori has quit IRC
[17:46:55] *** whitebook has joined #angularjs
[17:47:20] *** kuniyori has joined #angularjs
[17:47:41] *** bayousoft has joined #angularjs
[17:47:41] <mathisjay> i get an error that say "npm should be run outside of the node repl, in your normal shell."
[17:47:41] *** kuniyori has quit IRC
[17:47:45] *** rtpg_ has quit IRC
[17:47:47] *** afuggini has quit IRC
[17:47:59] <mathisjay> this tutorial assumes the reader knows more than I do
[17:48:05] <themime> mathisjay: what d id google reveal?
[17:48:14] *** laurensclaessen has joined #angularjs
[17:49:05] *** patrick99e99 has joined #angularjs
[17:49:06] <themime> JohnFree: remove the single {}'s. two things, for binding its {{}} (two of them) and second when passing to a directive you don't need {{}} at all
[17:49:30] <ingsoc> http://plnkr.co/edit/u2u6b1qbxyhTvoCKXVpx?p=preview
[17:49:36] <ingsoc> is that what you are doing
[17:49:50] *** pushpak has quit IRC
[17:49:59] <themime> if youre using angular 1.3 you don't need bindonce btw
[17:50:24] <BobbieBarker> bindonce was never anything more than a bad hack
[17:50:32] <themime> ingsoc: i was talking to him earlier, i was just as confused as you, i think he's still getting the basics of two way binding and how ng-model works
[17:50:33] <BobbieBarker> imo
[17:50:33] *** Arf has joined #angularjs
[17:50:35] <JohnFree> Man you're faster than me. I'm creating Plunkr like a turtle
[17:51:16] *** whitebook has quit IRC
[17:51:18] <JohnFree> No wait a second. I'm giving you my plunkr
[17:51:52] *** ProLoser has joined #angularjs
[17:52:04] *** disgrntld has quit IRC
[17:52:47] *** kuniyori has joined #angularjs
[17:53:19] *** whitebook has joined #angularjs
[17:53:25] *** mary5030 has quit IRC
[17:53:29] *** patrick99e99 has quit IRC
[17:54:05] <JohnFree> my pc is a little bit slow. Wait a second please
[17:54:26] *** elrabin has joined #angularjs
[17:55:06] <ingsoc> JohnFree: bindonce still uses a watch for the collection (array)
[17:55:17] *** kuniyori has quit IRC
[17:55:20] <ingsoc> themime: yeah
[17:55:21] <JohnFree> ingsoc: Yeah but I'm using a service. Wait a second please
[17:55:24] *** woah has joined #angularjs
[17:55:29] *** whiteboo_ has joined #angularjs
[17:55:38] <themime> you can't just pass a service though. you just call a method on the service to get a collection
[17:55:44] <ingsoc> JohnFree: why are you even using bindonce though
[17:55:55] <JohnFree> ingsoc: I want to improve perfomance
[17:56:01] <ingsoc> so you app is slow
[17:56:06] <ingsoc> you have a large collection ?
[17:56:06] <themime> i think hes misunderstanding how ng-model and bindings work, i think the plunker will help
[17:56:07] <JohnFree> ingsoc: And deactivate continous checking, as long as there is no new data
[17:56:12] *** yelvert has joined #angularjs
[17:56:20] <JohnFree> ingsoc: No, but the app will run on a smartphone, so perfomance matters
[17:56:27] <themime> it sounded like he hadn't even started yet and was pre-opimizing
[17:56:32] <mathisjay> ok if I try 'npm install' from a normal cmd window, I get "npm' is not recognized as an internal or external command
[17:56:49] <ingsoc> JohnFree: well how many items are you intending to render
[17:56:57] <themime> mathisjay: are you on windows
[17:57:00] <mathisjay> yes
[17:57:02] *** ProLoser has quit IRC
[17:57:05] <ingsoc> you should not really be optimising before you have anything built
[17:57:07] <BobbieBarker> mathisjay: first you're in windows which is gay
[17:57:08] <themime> merpnderp: sounds like its not in your path
[17:57:13] <BobbieBarker> 2nd you need to install node.js
[17:57:14] <JohnFree> ingsoc: Not many, but as I said perfomance on smartphones is really important
[17:57:19] <JohnFree> ingsoc: it costs battery life
[17:57:29] <ingsoc> did you look at the plunker
[17:57:31] <themime> JohnFree: you are worrying about things that might not even be relevant
[17:57:33] <ingsoc> just fork that
[17:57:34] <mathisjay> I installed node.js
[17:57:36] <BobbieBarker> mathisjay: are you on windows 8.1?
[17:57:43] <mathisjay> yes
[17:57:48] <ingsoc> it is already setup with bondonce and angular
[17:57:52] *** Alina-malina has quit IRC
[17:57:53] <BobbieBarker> the most recent version of windows and node.js do not play nice together
[17:57:54] *** whitebook has quit IRC
[17:58:09] *** kirfu has joined #angularjs
[17:58:15] <JohnFree> ingsoc: But after a while if I click on the button no data is changed either in your example
[17:58:16] <mathisjay> do I have to have node.js to do the tutorial?
[17:58:25] <BobbieBarker> i had to get one of my designers set up on node.js so he could use npm last week and i ended up having to find an older version of node inorder for it to work
[17:58:36] <mathisjay> just trying to follow along with the tutorial steps
[17:58:49] <BobbieBarker> well you could level up and be a real dev and start working in linux
[17:58:54] <BobbieBarker> just saying
[17:58:55] <ingsoc> JohnFree: when you first run it
[17:59:00] <ingsoc> there is bread, sugar, flour
[17:59:01] <mathisjay> i would love that
[17:59:02] <JohnFree> ingsoc: Yes
[17:59:04] <ingsoc> then you click the button
[17:59:05] <ingsoc> and it changes
[17:59:08] <JohnFree> ingsoc: Yeah.
[17:59:13] <ingsoc> so there you go
[17:59:13] <mathisjay> not feasible right now.
[17:59:17] <BobbieBarker> mathisjay: download virtual box and then download linux mint and run it inside the virtual box
[17:59:49] *** poolside has quit IRC
[17:59:53] *** laurensclaessen has quit IRC
[17:59:57] <JohnFree> ingsoc: But I'm using a function of a service. You're using a property of a model
[17:59:59] <BobbieBarker> otherwise broseph you're going to need to find a slightly older version of node.js if you want to run npm/node on your windows box
[18:00:07] <JohnFree> wait a second I'll show you my code
[18:00:22] <mathisjay> to just follow along the tutorial... do I need to have node.js?
[18:00:29] *** red_ has joined #angularjs
[18:00:57] *** discgo has quit IRC
[18:01:05] *** yelvert has quit IRC
[18:01:19] *** red_ has quit IRC
[18:01:29] <themime> JohnFree: i think you are misunderstanding basic angular concepts. a service would just get the data that hes setting, there should be very little difference
[18:01:36] *** robdubya has quit IRC
[18:01:37] <themime> ill even modify his to use a service
[18:01:51] <JohnFree> themime: That would be great :)
[18:02:16] *** glosoli has quit IRC
[18:02:44] *** Alina-malina has joined #angularjs
[18:03:03] <ingsoc> JohnFree: btw if you are just satrting out, use 1.3
[18:03:32] <JohnFree> ingsoc: I didn't use it because I thought it's not as stable as 1.2.x
[18:03:38] <ingsoc> I still have no idea how you can just be starting put with angular and already thinking about performance optimisations
[18:03:45] <ingsoc> it is now stable
[18:03:49] <themime> JohnFree: i did the same thing and in the last month or so its become stable
[18:03:53] <themime> ingsoc: oops i modified your original i think
[18:04:02] <ingsoc> its fine
[18:04:03] <themime> i just forked it sorry if i fubard your start
[18:04:15] *** mrits has joined #angularjs
[18:04:24] *** toad-br has joined #angularjs
[18:04:40] <ingsoc> its fine nothing chnaged
[18:04:49] <JohnFree> But you've an error
[18:04:55] *** travm has joined #angularjs
[18:04:58] <JohnFree> It should be "bindonce" and not "bind-once"
[18:05:38] <JohnFree> strange. But it still works :)
[18:05:40] *** mennea has quit IRC
[18:05:45] <JohnFree> In the documentation it says "bind-once"
[18:06:19] *** mennea has joined #angularjs
[18:06:20] <themime> JohnFree: its how angular works, you can also add data- to any tag and itll strip it out
[18:06:24] <themime> JohnFree: ingsoc http://plnkr.co/edit/vbWUngsPVE0AEifvqkF4?p=preview
[18:06:40] *** mathisjay has quit IRC
[18:07:48] <ingsoc> JohnFree: http://www.michaelbromley.co.uk/blog/108/paginate-almost-anything-in-angularjs
[18:08:10] <ingsoc> giugantic lists on mobile are gonna suck for the user
[18:08:14] <ingsoc> gigantic*
[18:08:23] *** linojon has joined #angularjs
[18:08:24] *** gunn has quit IRC
[18:08:36] <ingsoc> you could use ionic for mobile
[18:08:37] *** dalguete has quit IRC
[18:08:39] <ingsoc> which uses angular
[18:08:44] <ingsoc> and has large list optimisations
[18:08:44] *** cotko has quit IRC
[18:08:46] <themime> scrolling becomes a pain regardless of binding
[18:08:51] <themime> and you then need a custom solution for that
[18:09:08] <ingsoc> yeah
[18:09:09] <JohnFree> Hm. Ok I'm comparing your code with mine to see where my problem lies
[18:09:24] <ingsoc> you could do a nice pagination directive
[18:09:29] *** phil_ has quit IRC
[18:09:35] <ingsoc> utilising hammer.js for swipes
[18:09:39] <ingsoc> left/right
[18:09:44] <themime> so glad im not doing mobile
[18:09:51] <ingsoc> I am
[18:09:55] <ingsoc> i mean
[18:10:04] <ingsoc> I have to support mobile
[18:10:07] <themime> i only have to build for latest chrome. im pretty spoiled haha
[18:10:39] <JohnFree> Mobile app development is not easy :)
[18:10:53] <ingsoc> what are you building
[18:10:55] <JohnFree> The only thing I hate is CSS
[18:11:00] <ingsoc> what is it you are wanting to display
[18:11:09] *** sshaginyan has joined #angularjs
[18:11:14] <grizzm0> Oh, CSS <3
[18:11:15] <grizzm0> ;]
[18:11:18] <ingsoc> and did themime's updated plunkr help
[18:11:22] *** laurensclaessen has joined #angularjs
[18:11:30] <JohnFree> grizzm0: I hate it and love it. It's somehow very strange
[18:11:42] <grizzm0> That's my feeling against angular
[18:11:45] *** joshontheweb has joined #angularjs
[18:11:52] <JohnFree> ingsoc: An app for managing dates :)
[18:12:22] *** toad-br has quit IRC
[18:12:38] <JohnFree> I'm really excited where my problem is
[18:12:48] *** arkin has joined #angularjs
[18:12:56] <ingsoc> managing dates ?, courtship ritual
[18:13:14] <ingsoc> or the fruit
[18:13:18] <ingsoc> or calendar dates
[18:13:29] *** danflies has joined #angularjs
[18:13:32] <JohnFree> ingsoc: Dates with women :)
[18:13:50] <ingsoc> and you're expecting people with a massive list of dates
[18:14:00] <JohnFree> ingsoc: So you can see on which day you've date with which women :D
[18:14:06] <ingsoc> and angular binding won;t be able to cope
[18:14:16] <JohnFree> ingsoc: Yeah. Especially nerds like we would have a long list
[18:14:31] <JohnFree> ingsoc: exactly. You got it
[18:14:38] <ingsoc> I think i will leave you to get on with your work then
[18:14:41] <ingsoc> :/
[18:14:45] *** scottc5 has quit IRC
[18:14:57] <JohnFree> ingsoc: I'm only joking :). Don't take me too serious
[18:15:54] *** marcjs_ has joined #angularjs
[18:16:12] *** NanoArro1 has joined #angularjs
[18:16:33] *** marcjs has quit IRC
[18:16:34] *** thomastuts has quit IRC
[18:16:34] *** zivester has quit IRC
[18:16:36] *** PDogJr has quit IRC
[18:16:37] *** araujo has quit IRC
[18:16:37] *** tkdaj has quit IRC
[18:16:38] *** Sgeo has quit IRC
[18:16:39] *** merobertsjr has quit IRC
[18:16:39] *** NanoArrow has quit IRC
[18:16:40] *** pnade has quit IRC
[18:16:42] *** aboudreault has quit IRC
[18:16:43] *** az7ar_away has quit IRC
[18:16:44] *** boubbin has quit IRC
[18:16:46] *** ajk27 has quit IRC
[18:16:48] <themime> http://plnkr.co/edit/vbWUngsPVE0AEifvqkF4?p=preview
[18:16:49] <themime> ^ modified to use 1.3.1 bindings. first time i got that working man thats so awesome
[18:17:03] *** lexek__ has quit IRC
[18:17:04] *** shaisnir has joined #angularjs
[18:17:22] *** arkin has quit IRC
[18:18:46] *** laurensclaessen has quit IRC
[18:18:47] <JohnFree> themime: It's not chaning anything
[18:18:59] <JohnFree> themime: Maybe you forgot to freeze
[18:18:59] *** Aliks has joined #angularjs
[18:19:15] <themime> nono youre right its not hmm
[18:19:21] *** laurensclaessen has joined #angularjs
[18:19:42] <Foxandxss> you don't have to freeze
[18:19:46] <Foxandxss> in fact, forget about freeze
[18:19:57] *** thomastuts has joined #angularjs
[18:19:57] *** zivester has joined #angularjs
[18:19:57] *** PDogJr has joined #angularjs
[18:19:57] *** araujo has joined #angularjs
[18:19:58] *** tkdaj has joined #angularjs
[18:19:58] *** Sgeo has joined #angularjs
[18:19:58] *** az7ar_away has joined #angularjs
[18:19:58] *** merobertsjr has joined #angularjs
[18:19:58] *** pnade has joined #angularjs
[18:19:59] *** aboudreault has joined #angularjs
[18:19:59] *** boubbin has joined #angularjs
[18:20:01] *** Matt____ has joined #angularjs
[18:20:01] *** teufelChiCoder has joined #angularjs
[18:20:01] <teufelChiCoder> hi everyone
[18:20:14] *** teufelChiCoder is now known as Guest6803
[18:20:37] <Guest6803> got a question: looking into using Framework7 with AngularJS and trying to figure out how to initiazlize controller when page loads
[18:20:38] *** Matt____ has left #angularjs
[18:20:41] *** merobertsjr has quit IRC
[18:21:05] *** FCH has joined #angularjs
[18:21:12] <themime> uggg its some stupid syntax thing with the app declaration
[18:21:14] *** whiteboo_ has quit IRC
[18:21:23] *** lexek__ has joined #angularjs
[18:21:48] <themime> Foxandxss: i just saw your name in one of my tabs and was like "wtf..." - did you right toastr?
[18:22:30] *** thomastuts has quit IRC
[18:22:33] <themime> oh the angular port? thats awesome
[18:22:55] *** elrabin has quit IRC
[18:23:05] <themime> write*
[18:23:10] <themime> ug its a derpy sunday
[18:23:31] <FCH> Has someone an idea, how to call a controller action after loading the dom (webpage)?
[18:23:38] *** edrocks has quit IRC
[18:23:53] *** Aliks has quit IRC
[18:24:29] *** shaisnir has quit IRC
[18:24:37] <themime> just call it in the controller
[18:24:43] <themime> $scope.someMethod();
[18:25:29] <FCH> thanks a lot!
[18:25:36] <themime> yep!
[18:26:43] *** toad-br has joined #angularjs
[18:27:31] <JohnFree> themime: I see the difference
[18:27:32] *** travm has quit IRC
[18:28:00] *** travm has joined #angularjs
[18:28:12] <JohnFree> themime: The difference is that I say <html ng-app="myApp" ng-controller="DataService"
[18:28:28] <themime> a service is not a controller
[18:28:30] <JohnFree> themime: And then I access the method of the service directly in my index.html
[18:28:35] *** niklasmodess has quit IRC
[18:28:37] *** jrowny has joined #angularjs
[18:28:38] <JohnFree> themime: On no sorry
[18:28:48] *** Caroga is now known as Caroga_afk
[18:28:50] *** FCH has quit IRC
[18:28:50] *** FCH has joined #angularjs
[18:28:52] <JohnFree> themime: I have a seperate "DataServiceController" which I include in <html
[18:29:06] <themime> you could just call it "AppController"
[18:29:12] <themime> it might be a little more clear
[18:29:55] <JohnFree> themime: This controller sets scope.Layout = LayoutService (=Factory). And in the index.html I access LayoutService directly
[18:30:02] <themime> ingsoc: im getting weird issues when i removed the bindonce reference from the app module declaration any idea? http://plnkr.co/edit/vbWUngsPVE0AEifvqkF4?p=preview
[18:30:03] *** travm has quit IRC
[18:30:17] <JohnFree> themime: The value is set once and after that it can't be changed
[18:30:22] *** travm has joined #angularjs
[18:30:27] <themime> JohnFree: im confused is it working for you now?
[18:30:49] *** moafoca_ has quit IRC
[18:30:50] <JohnFree> themime: Your code is working but it is different than mine
[18:31:07] <Foxandxss> themime: yeah, I did
[18:31:15] *** poolside has joined #angularjs
[18:31:33] <themime> i was about to hack in the jquery one today haha
[18:31:59] <themime> or tomorrow... im also learning gulp and doing unit testing for the first time
[18:33:07] *** jrowny has quit IRC
[18:33:10] *** travm has quit IRC
[18:33:32] *** klaut has quit IRC
[18:33:34] <ingsoc> http://plnkr.co/edit/9AvkHXT6hwdYkZ8zS6XL?p=preview
[18:33:39] *** laurensclaessen has quit IRC
[18:34:15] *** laurensclaessen has joined #angularjs
[18:34:22] *** vlitzer has joined #angularjs
[18:34:53] *** Xethron has quit IRC
[18:34:53] *** dllama has joined #angularjs
[18:34:59] <themime> ingsoc: that doesn't work for me, but i found the fix by adding an empty array for params on the module. i had the wrong console up when i tried that originally and falsely though i had errors
[18:35:00] *** lexek__ has quit IRC
[18:35:34] <ingsoc> themime: I am not having issues. Also i replaced "::data" with "data" as this will still trigger updates when collection changes
[18:35:42] *** mennea has quit IRC
[18:36:20] *** mennea has joined #angularjs
[18:37:03] <ingsoc> I think that is how it works with ng-repeat
[18:37:04] <themime> did you freeze it? all that renders is " ::d" and its giving me the error i got when i didn't have the [] in the parms
[18:37:24] <ingsoc> http://plnkr.co/edit/9AvkHXT6hwdYkZ8zS6XL?p=preview ?
[18:37:36] *** matthoiland has joined #angularjs
[18:37:44] *** TheAceOfHearts has joined #angularjs
[18:37:49] <ingsoc> anyone know how to get a list of watches ?
[18:37:51] <ingsoc> active watches
[18:38:17] *** Xethron has joined #angularjs
[18:38:37] *** Arf has quit IRC
[18:38:58] <themime> ingsoc: still no. does yours have <li ng-repeat="d in data">{{ ::d }}</li> and angular .module('myApp') in it?
[18:39:00] *** Zesty has joined #angularjs
[18:39:26] <themime> when i change that second part to .module('myApp',[]) it works
[18:39:28] <themime> so weird...
[18:39:37] <themime> i wonder if its a chrome bug?
[18:41:47] *** Zesty has quit IRC
[18:42:06] *** matthoiland has quit IRC
[18:42:48] *** joshontheweb has quit IRC
[18:43:29] *** platonic has joined #angularjs
[18:43:58] <ingsoc> themime:
[18:44:22] <ingsoc> angular.module('myApp') fetches a an already created moduke
[18:44:27] <ingsoc> module
[18:44:33] <ingsoc> angular.module('myApp', [])
[18:44:37] <ingsoc> creates a new module
[18:44:42] *** Soop has joined #angularjs
[18:45:08] <ingsoc> removing [] means you are trying to fetch 'myApp' module which has not been defined
[18:45:13] <ingsoc> check the JS console
[18:45:19] <Soop> Hey, is anyone around familiar with Satellizer?
[18:45:27] <themime> but why does it work for you then?
[18:45:40] *** williamherry has quit IRC
[18:45:58] <ingsoc> themime: it doesn't, we must have had different versions
[18:46:02] *** anivemin has joined #angularjs
[18:46:24] <ingsoc> also
[18:46:26] <ingsoc> <li ng-repeat="d in ::data">{{ ::d }}</li>
[18:46:39] <ingsoc> this won't update the collection when clickijng the button
[18:46:44] <ingsoc> but <li ng-repeat="d in data">{{ ::d }}</li>
[18:46:48] <ingsoc> will
[18:47:02] <themime> ahhh okay you kept sending that link and it was missing the [] for me, so it makes sense now that when i added it worked, i was just confused by you saying it worked for you
[18:47:15] <themime> and yea i caught that
[18:47:28] <ingsoc> it must have been cached or something
[18:47:36] <ingsoc> i wasn't really looking at the change
[18:47:41] <ingsoc> just sending you my link
[18:47:45] <ingsoc> maybe i had not refreshed
[18:47:50] <themime> gotcha. its all good i understand now :)
[18:47:53] <JohnFree> Can anyone tell me why this bind-once doesn't work: http://plnkr.co/edit/AGrbxLxUy9ItVL5TUt8F?p=preview
[18:48:00] <themime> yay a plunker!
[18:48:24] *** lw has quit IRC
[18:48:57] *** ngbot has joined #angularjs
[18:48:57] <ngbot> [angular.js] Narretz pushed 2 new commits to master: http://git.io/0oLoyQ
[18:48:57] <ngbot> angular.js/master ba731ab Martin Staffa: docs(ngModelController): remove bogus @param fields
[18:48:57] <ngbot> angular.js/master e0198c1 Martin Staffa: docs(ngModelController): add $name property
[18:48:57] *** ngbot has left #angularjs
[18:49:32] <JohnFree> themime: :)
[18:49:55] <JohnFree> oh wait something is missing there
[18:50:14] <themime> look at my example, you are using services incorrectly
[18:50:19] <JohnFree> No its fine
[18:50:22] *** cakirke has joined #angularjs
[18:50:44] <themime> you should not set a service to a scope variable
[18:50:52] *** anivemin has quit IRC
[18:50:55] *** thirdknife has quit IRC
[18:51:03] <JohnFree> themime: I know that your code is different but I don't understand what causes the problem
[18:51:15] <themime> its very bad angular conceptually
[18:51:46] <themime> its like you are building something out of legos except you are sawing them apart and glueing them to each other
[18:52:02] *** shampine has joined #angularjs
[18:52:22] <JohnFree> themime: I have a extra controller for the service so what's wrong with it?
[18:52:22] *** mdw has joined #angularjs
[18:52:31] <JohnFree> That I glue the service to a controller?
[18:52:44] *** tbo_ has joined #angularjs
[18:53:18] <themime> well for one its hard to follow
[18:53:31] *** charuru has joined #angularjs
[18:53:44] *** DrPc has quit IRC
[18:53:50] <JohnFree> themime: Can you send me the last current link where you work with Angular 1.3.x?
[18:54:17] *** joshontheweb has joined #angularjs
[18:54:28] <themime> http://plnkr.co/edit/rmCKdTI0bX1KTelNQSyC?p=preview
[18:54:47] <JohnFree> thank you very much sir
[18:55:07] <ingsoc> https://ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular.js
[18:55:09] <JohnFree> themime: I actually took my solution from Stackoverflow. This shows that not everything which has green light is good
[18:55:15] <Soop> Is there a way to add an extra field to a jwt?
[18:55:15] <ingsoc> why are you referencing an ancient angular
[18:55:31] *** HuchMan has joined #angularjs
[18:55:55] <themime> JohnFree: its a complicated issue. you want to build components in a reusable way, and the way you have it doesn't seem very testable and indepedant. the components are tightly connected, and to test things they need to be modularized
[18:56:13] <themime> JohnFree: this is really long but it has soooo much good information https://github.com/johnpapa/angularjs-styleguide#application-structure-lift-principle
[18:57:18] <themime> also using bind-once there seems completely unncessary
[18:57:26] <JohnFree> themime: Where?
[18:57:32] *** HuchMan has left #angularjs
[18:57:43] <themime> the bo-text
[18:57:55] *** pspace has quit IRC
[18:58:13] <JohnFree> So in the link you sent me "{{ ::d}}" does "bindonce"?
[18:58:30] <themime> yes
[18:58:38] *** TommyO_ has joined #angularjs
[18:58:50] <JohnFree> themime: Can you give me link of AngularJS documentation where I can read this, I haven't found it under the searchword "AngularJS bindonce"
[18:59:05] <ingsoc> JohnFree: https://docs.angularjs.org/guide/expression
[18:59:06] <themime> it looks like you are using a service to store pages, it looks very very hacked up to do something that has existing solutions. look at ui-router
[18:59:15] <themime> or store/switch between
[18:59:17] <ingsoc> it is called one time binding
[18:59:20] <ingsoc> and is new for 1.3
[18:59:32] <ingsoc> this negates the need for bondonce third party module
[18:59:39] *** evan_e has joined #angularjs
[18:59:56] *** bayousoft has quit IRC
[19:00:01] <JohnFree> ingsoc: nice
[19:00:04] *** hugofirth has quit IRC
[19:00:06] <themime> thanks ingsoc i just google angular 1.3 bind once haha wasn't sure of proper names
[19:00:09] *** Aliks has joined #angularjs
[19:01:05] <grizzm0> ingsoc, Freaky
[19:01:05] *** TommyO has quit IRC
[19:01:14] *** mpeterson has joined #angularjs
[19:01:19] *** MrBaboon has joined #angularjs
[19:02:24] *** gnrlbzik has quit IRC
[19:03:31] *** phil_____ has joined #angularjs
[19:03:34] <Guest6803> anyone familiar with ionicframework?
[19:03:53] <Guest6803> trying to figure out how ot bootstrap app in a callback function...
[19:03:59] *** tech2 has joined #angularjs
[19:04:07] *** Soop has quit IRC
[19:04:16] *** Aliks has quit IRC
[19:04:29] *** mdw has quit IRC
[19:04:33] *** joshontheweb has quit IRC
[19:05:46] *** mennea has quit IRC
[19:06:01] *** MrBaboon has quit IRC
[19:06:24] *** mennea has joined #angularjs
[19:07:01] *** kirfu1 has joined #angularjs
[19:07:34] *** phil_____ has quit IRC
[19:07:45] <Foxandxss> Guest6803: #ionic
[19:07:54] <Guest6803> thank you :)
[19:08:34] *** anivemin has joined #angularjs
[19:10:05] *** kirfu has quit IRC
[19:11:29] *** hswolff has quit IRC
[19:12:26] *** Skrypter has joined #angularjs
[19:12:53] *** laurensclaessen has quit IRC
[19:14:04] *** Caroga_afk is now known as Caroga
[19:14:05] *** hswolff has joined #angularjs
[19:15:37] *** g3funk has quit IRC
[19:15:51] *** g3funk has joined #angularjs
[19:15:51] *** AngularUI has joined #angularjs
[19:15:51] <AngularUI> [bootstrap] Tobino opened pull request #2920: fix(modal): Captures focus in both directions - using tab & shift-tab (master...a11y-modal-fix-background-tabbing) http://git.io/kPEr4A
[19:15:51] *** AngularUI has left #angularjs
[19:16:29] *** rho has quit IRC
[19:16:39] *** MrBaboon has joined #angularjs
[19:16:45] *** edrocks has joined #angularjs
[19:17:03] *** MrBaboon has quit IRC
[19:17:49] *** mdw has joined #angularjs
[19:18:01] *** DrMabuse_ has joined #angularjs
[19:18:22] *** MaxV has quit IRC
[19:19:57] *** Moonlight_ has joined #angularjs
[19:20:04] <Moonlight_> Hi!
[19:20:05] *** DLSteve has joined #angularjs
[19:20:47] *** soee has joined #angularjs
[19:21:49] *** soee__ has quit IRC
[19:22:05] <odin_> is it usualy for event handlers to not fire, if you do not specify arguments to the function ?
[19:22:09] *** metal55 has joined #angularjs
[19:22:15] *** rtpg has quit IRC
[19:22:22] *** rtpg has joined #angularjs
[19:22:22] <metal55> Hey all
[19:22:23] <odin_> indexDbRequest.onsuccess = function() { } // does not fire on Chrome
[19:22:36] <odin_> indexDbRequest.onsuccess = function(e) { } // works ok on Chrome
[19:23:04] *** DrMabuse_ has quit IRC
[19:25:08] *** TheAceOfHearts has quit IRC
[19:25:15] *** Moonlight_ has quit IRC
[19:25:28] <sacho> no, it's not, make a plunker
[19:25:31] *** pipo has joined #angularjs
[19:25:44] <JohnFree> Please can anyone tell me why "{{::data2}}" is not resolving to it's actual value
[19:26:08] <themime> you might need {{}}
[19:26:11] <themime> er
[19:26:13] <sacho> solar flares
[19:26:14] <themime> might not need
[19:26:31] <themime> based on your previous code JohnFree you seem to add {{}} when they are not needed
[19:26:36] *** hugofirth has joined #angularjs
[19:26:40] <JohnFree> ha?
[19:26:42] <JohnFree> what's wrong?
[19:27:03] <themime> thats really only to bind directly in html, if its being passed to a directive like ng-model="dont.useBrackets.someVar"
[19:27:04] <odin_> sacho, I think the issue is using IndexedDB.open() API with chrome debugger, if you step/break between the open() call and the request.onevent = function(){} the events do not fire, is this a chrome bug?
[19:27:30] <pipo> can someone check why my 'controller as' declaration isn't working? trying now for one hour... http://plnkr.co/edit/posdifpv1SErCWPxj0x4?p=catalogue
[19:27:45] <JohnFree> But there doing it like me: https://docs.angularjs.org/guide/expression
[19:27:50] *** sshaginyan has quit IRC
[19:27:55] <JohnFree> I'm doing the same as in that documentation
[19:28:04] <themime> is it on a plunker?
[19:28:06] *** bmac has quit IRC
[19:28:08] *** jonr22 has quit IRC
[19:28:09] <sacho> odin_, what events?
[19:28:10] <themime> hard to tell without context
[19:28:21] <JohnFree> themime: http://plnkr.co/edit/YMXsBiMAX6h13R5CgvWn?p=preview
[19:28:35] *** hugofirth has quit IRC
[19:29:16] *** Afl0W has joined #angularjs
[19:29:19] *** qstrahl has joined #angularjs
[19:29:23] *** jrowny has joined #angularjs
[19:29:39] *** Gabri has joined #angularjs
[19:29:47] <JohnFree> Oh I see
[19:29:52] <JohnFree> it wasn't in the controller context
[19:29:54] <sacho> JohnFree, where is that data2 going to come from? that span is only in the rootScope.
[19:30:07] <JohnFree> sacho: Yeah I saw it. Thanks
[19:30:23] <odin_> sacho, all for IndexDB.open(), it also always sets request.readyState="done" even when the onversionchange event has not completed, when it should be "blocked"
[19:32:13] <themime> hahaha JohnFree i just caught that just now
[19:32:22] <themime> i came back to irc to tell you
[19:32:25] <ckboii89> factories can't use scope right?
[19:32:25] <themime> glad you got it
[19:32:35] <themime> factories are kinda their own scope
[19:32:49] <themime> but no they can't use the controllers scope thats active currently
[19:32:50] <themime> ckboii89: why do you ask?
[19:32:58] <ckboii89> does it make sense to use a factory if i'm doing a single page application
[19:32:59] <themime> we can try to help you think about the problem in a different way
[19:33:09] <ckboii89> with php backend
[19:33:09] <themime> i think youre asking the wrong questions
[19:33:16] <ckboii89> yeah maybe
[19:33:34] *** jrowny has quit IRC
[19:33:36] <sacho> ckboii89, sure, it does.
[19:33:38] <themime> thats like asking, "do i need my glasses to turn on my car?" yea if its sunny glassse might be nice but what you really need are keys
[19:33:56] <themime> its usually sunny in angular land though
[19:34:01] <ckboii89> the examples im looking at for $http request they all do it in their controller, which should actually be done in a factory
[19:34:03] <themime> so youll probably need factories
[19:34:08] <JohnFree> But look at this please, if I click on the button and change the model, the view content is not refreshed: http://plnkr.co/edit/kgmhroclVrdCkrNsb2gg?p=preview
[19:34:18] <themime> ckboii89: good thinking, you are correct it should be in a factory
[19:34:32] *** comboy has quit IRC
[19:34:37] <themime> JohnFree: checking it out
[19:34:39] *** thomastuts has joined #angularjs
[19:34:51] <JohnFree> themime: ok
[19:35:26] <themime> JohnFree: you shouldn't use primitive types on $scope
[19:35:26] <ckboii89> im just confused because when doing a http then success/error asych return
[19:35:33] <themime> JohnFree: im not sure if thats the issue though
[19:35:35] <ckboii89> the examples use $scope.data = data;
[19:35:47] *** mennea has quit IRC
[19:35:58] <ckboii89> but in a factory there is no scope, so iwas wondering what do i do with the data and scope in the success/failure return
[19:36:01] <themime> ckboii89: before 1.2 you could assign a promise to a variable and it would resolve it to an array or whatever but it no longer does that
[19:36:03] *** Gabri has quit IRC
[19:36:13] <themime> so probably an old version
[19:36:13] <JohnFree> themime: mhh..
[19:36:20] <themime> JohnFree: ill tweak it in a second
[19:36:24] *** mennea has joined #angularjs
[19:36:28] *** jstroem has joined #angularjs
[19:36:28] *** Gabri has joined #angularjs
[19:36:31] <themime> JohnFree: and confirm if thats it
[19:36:42] <JohnFree> themime: Ok. I've been struggling with this for hours..
[19:36:44] <themime> ckboii89: but read about promises
[19:36:44] *** thirdknife has joined #angularjs
[19:36:45] <ingsoc> ckboii89: services, factories provider all essentially the same thing which is a way to package up some kind of functionality that will be used across a number of controllers.
[19:36:56] <themime> ^ + an understanding of promises
[19:37:18] <ingsoc> you call services methods/functions from controllers
[19:37:21] <themime> what youd probably do now is YourService.getData().then(function(data) {$scope.data = data; });
[19:37:31] <themime> in the controller as ingsoc said
[19:38:10] *** anivemin has quit IRC
[19:38:18] *** arkin has joined #angularjs
[19:38:50] *** Guest6803 has left #angularjs
[19:38:57] <JohnFree> I exceeded the plunkr and added an input-textfield which is also connected to the model. Both the button and input-text-field can't change the model
[19:38:58] <JohnFree> plnkr.co/edit/NPv0j0bEvkQXFBVQjXa2?p=preview
[19:39:03] <JohnFree> http://plnkr.co/edit/NPv0j0bEvkQXFBVQjXa2?p=preview
[19:39:09] *** Gabri has quit IRC
[19:39:31] *** marcjs_ has quit IRC
[19:39:44] <sacho> JohnFree, :: is a one-time binding.
[19:39:51] <themime> yea
[19:39:54] <themime> i was about to say that
[19:39:56] <ingsoc> OMG just quit with the one time binding
[19:39:58] <JohnFree> sacho: I know. But there must be a way to change the model
[19:40:02] <ingsoc> you obviously don't get it yet
[19:40:14] <ingsoc> just use plain angular two-way data binding
[19:40:15] <JohnFree> ingsoc: If I would have got it I wouldn't be talking to you for hours :)
[19:40:20] <sacho> JohnFree, you are changing the model - http://plnkr.co/edit/7CxReA9OIwJILaFXxnvg?p=preview
[19:40:24] <ingsoc> THEN when it is apparent you need to improve performance
[19:40:27] <themime> you are waaaay too obsessive with performance
[19:40:28] <ingsoc> come back on here for advice
[19:40:46] *** ProLoser has joined #angularjs
[19:40:51] <themime> and the reason :: worked on the array is its an array and the whole object is changing rather than a piece of data
[19:41:01] <themime> string vs array object
[19:41:06] <themime> i think (someone confirm?)
[19:41:16] <JohnFree> sacho: I'm looking what you've changed
[19:41:16] <ingsoc> JohnFree: All of Angulars magic powers hinge on auto two way data binding
[19:41:34] *** faviouz has joined #angularjs
[19:41:42] <ingsoc> making everything one-time then you may as well not be using angular
[19:41:52] <JohnFree> ingsoc: But obviously AngularJS creats lots of $watch'es for each Binding and checks again and again if data is changed and that costs perfomance
[19:42:27] <themime> JohnFree: but you can't get it to work even. if it doesn't work it doesn't matter how bad it performs
[19:42:41] <themime> thats why you get it to work THEN worry about performance
[19:42:41] <ingsoc> JohnFree: are you just trolling ?
[19:42:46] <faviouz> Hypothetically, if MyBB (http://mybb.com/) were recruiting AngularJS/JavaScript developers for its next major version (MyBB 2.0), would anyone be interested in contributing?
[19:43:00] <ingsoc> and anyone, eventually there won;t be watches
[19:43:04] *** patrickreck has joined #angularjs
[19:43:08] <ingsoc> it will use object.observe under the hoodf
[19:43:12] <ingsoc> when all browser support itr
[19:43:12] <JohnFree> ingsoc: I'm not trolling. I'm only a paranoid person who cares too much about too many things
[19:43:32] <ingsoc> this is do natively what angular emulates now
[19:43:33] <JohnFree> ingsoc: So what does that mean?
[19:43:38] <themime> JohnFree: i believe you. you sound like me a bit ago. you maybe need to learn to let some things go
[19:43:45] <ingsoc> the browser will tell angular when things change
[19:43:51] <ingsoc> not angular having to keep checking
[19:44:02] <JohnFree> ingsoc: So?
[19:44:03] <ingsoc> this will be how things arte done in future
[19:44:07] <Foxandxss> faviouz: I am not sure if Angular is good for a forum
[19:44:14] *** cthrax has joined #angularjs
[19:44:15] <JohnFree> ingsoc: In future :)
[19:44:22] <ingsoc> but you haven't built anything
[19:44:30] <JohnFree> ingsoc: Me?
[19:44:36] <ingsoc> what are you building
[19:44:38] <faviouz> Foxandxss: care to elaborate? :)
[19:44:39] <ingsoc> yeah
[19:44:47] <JohnFree> ingsoc: I build a lot of stuff. Now I'm caring about perfomance
[19:44:53] <Foxandxss> I wouldn't do "mostly static" pages with angular
[19:44:59] <Foxandxss> SEO issues for example
[19:45:12] *** hugofirth has joined #angularjs
[19:45:16] <sacho> you can use angular without its routing
[19:45:18] *** ProLoser has quit IRC
[19:45:22] *** FCH has quit IRC
[19:45:23] <ingsoc> JohnFree: ok so what performance hit are you having
[19:45:23] <sacho> there's still some benefit
[19:45:26] <ingsoc> what are you rendering
[19:45:29] <faviouz> Didn't Google recently start parsing JS and CSS?
[19:45:35] <pipo> can someone check why my 'controller as' declaration isn't working? trying now for one hour... http://plnkr.co/edit/posdifpv1SErCWPxj0x4?p=catalogue
[19:45:37] <JohnFree> After so many hours of discussing with you I've the feeling that you guys would beat me if you would meet me at street :).
[19:45:48] <themime> ingsoc: i don't think hes actually had the issue yet
[19:45:58] <Foxandxss> faviouz: well, between that and real SEO, there is a long way
[19:46:20] <JohnFree> ingsoc: At the moment I have no perfomance hit. I only want to program a very efficient software.
[19:46:23] *** Joshee has quit IRC
[19:46:26] *** Shrooms` has joined #angularjs
[19:46:53] <sacho> pipo, `this` in your callback is not your controller function - it's most likely the window object.
[19:46:55] <ingsoc> using one time data binding is for when you ACTUALLY have a problem with performance and you have tried other options
[19:47:05] <themime> JohnFree: how many items do you expect to be rendering at once?
[19:47:14] <ingsoc> and come tot he conclusion you really really want to give up a key part of angular
[19:47:16] <sacho> pipo, try assigning this to something at the top of your controller, e.g. var home = this, and then use home everywhere instead
[19:47:18] <ingsoc> in the name of performance
[19:47:22] <faviouz> Foxandxss: If not AngularJS, any other JS framework?
[19:47:23] *** miniShrooms has joined #angularjs
[19:47:38] <Foxandxss> no client app at all I meant faviouz , others have the same issue
[19:47:41] *** arkin has quit IRC
[19:47:42] *** danecando has quit IRC
[19:47:53] <JohnFree> ingsoc: Yes. But I don't get why it is not possible to tell Angular: "If there is event (http-data), please stop checking for changes and carry on checking if you get new http data".
[19:47:53] *** patrickreck has quit IRC
[19:47:59] <ingsoc> if you are developing for mobile and NEED absolute performance like you say
[19:48:01] <ingsoc> go native
[19:48:05] <pipo> sacho thank you i will try !
[19:48:08] <ingsoc> buil an actual native application
[19:48:12] <ingsoc> build*
[19:48:12] <faviouz> I see. Thanks for the feedback ;)
[19:48:15] *** \du has joined #angularjs
[19:48:21] <Foxandxss> classic apps are still better for forums, blogs and stuff like that (web pages)
[19:48:26] <Foxandxss> leave JS frameworks for web apps
[19:48:26] *** ngbot has joined #angularjs
[19:48:26] <ngbot> [angular.js] Narretz pushed 1 new commit to master: http://git.io/Vj5x9A
[19:48:27] <ngbot> angular.js/master 0b16d10 Martin Staffa: docs(ngValue): clarify the limitations of ngValue and option elements
[19:48:27] *** ngbot has left #angularjs
[19:48:52] <sacho> JohnFree, that would have been a good idea, but it would have been a significant change from how watches work, so they didn't do it for 1.3
[19:49:05] <themime> is that how observe will work in 2.0?
[19:49:09] <JohnFree> ingsoc: I care so much about it because the guy in this presentation told that: http://www.youtube.com/watch?v=wVntVkRLR3M
[19:49:09] *** linojon has quit IRC
[19:49:16] <faviouz> Foxandxss: What would you consider a "web app"? Forums are getting more interactive, social and "real-time". Look at Discourse, for example.
[19:49:40] <Foxandxss> yeah, that is true, depend on your intent on mybb2
[19:49:49] <Foxandxss> discourse is full ember
[19:49:54] <Foxandxss> but they do a LOT of stuff in rails
[19:49:54] <JohnFree> sacho: Finally you understand my problem :D
[19:49:56] <Foxandxss> lot and lots
[19:50:06] <JohnFree> sacho: It was worth it discussing for hours
[19:50:11] <JohnFree> sacho: That's the answer I was looking for
[19:50:15] <sacho> JohnFree, this suggestion wanted to do something like what you're talking about - https://github.com/angular/angular.js/issues/6354
[19:50:18] <themime> haha this comment in that video, "this entire presentation is essentially irrelevant with the emergence of the Ionic framework."
[19:50:30] *** hugofirth has quit IRC
[19:50:42] <ingsoc> JohnFree: it is not that we don't understand the nature of what angular does or works
[19:50:42] <JohnFree> sacho: Aha. So it isn't implemented currently in AngularJS. Finally a clear answer. Thanks god
[19:50:45] <themime> i see ionic everywhere, might be a consieration
[19:51:07] <ingsoc> JohnFree: it is the fact that my eyes cannot detect 20ms -50ms speed difference
[19:51:18] <Foxandxss> faviouz: I guess that it worth to see what you want to accomplish, how interactive it is gonna be, etc etc and then decide if client solution is a good idea
[19:51:18] <JohnFree> ingsoc: :D
[19:51:24] <sacho> JohnFree, yes, unfortunately, I think that bind proposal was very good
[19:51:43] <JohnFree> sacho: Yeah. That's the point I wanted to express
[19:51:43] <Foxandxss> watch issues on angular well, it exist
[19:51:48] <Foxandxss> but you can always workaround that
[19:51:53] <ingsoc> if you want absolute performance for whatever reason use react
[19:51:54] <Foxandxss> if you are competent
[19:51:56] <ingsoc> or just raw dom
[19:52:32] *** miniShrooms has quit IRC
[19:53:22] *** rburns has quit IRC
[19:53:23] *** miniShrooms has joined #angularjs
[19:53:51] <sacho> it seems like an interesting idea to implement with a high priority directive
[19:53:59] *** jordandotdev has quit IRC
[19:54:08] *** miniShrooms has quit IRC
[19:54:17] *** rtpg has quit IRC
[19:54:27] *** miniShrooms has joined #angularjs
[19:54:32] *** elrabin has joined #angularjs
[19:54:35] <JohnFree> Ok to conclude our today's discussion: If I use one-way-binding there is no way to change the model-data and refresh the view's content right?
[19:55:38] *** faviouz has quit IRC
[19:55:38] *** rtpg has joined #angularjs
[19:55:39] *** MrBaboon has joined #angularjs
[19:56:04] *** disorder20 has joined #angularjs
[19:56:15] *** faviouz has joined #angularjs
[19:56:23] <sacho> nope
[19:56:29] *** JohnBat26 has quit IRC
[19:56:32] <sacho> that's essentially its intention
[19:56:41] <JohnFree> sacho: Do you mean "nope" that I'm wrong or that I'M right?
[19:56:46] *** JohnBat26 has joined #angularjs
[19:57:52] *** klaut has joined #angularjs
[19:58:37] *** kirfu1 has quit IRC
[19:58:47] <sacho> you're right
[19:58:48] *** niklasmodess has joined #angularjs
[19:58:52] <JohnFree> sacho: yhooooo :)
[19:58:57] <JohnFree> sacho: I'm getting crazy man
[19:59:03] *** ccohn_ has quit IRC
[19:59:10] <JohnFree> sacho: Would you believe that I'm a crazy guy?
[19:59:35] *** laurensclaessen has joined #angularjs
[20:00:22] *** ctanga has quit IRC
[20:00:22] <ingsoc> JohnFree: [obj1, obj2, objn] you could use two-way on the collection (the array) and when you reassign this will then trigger an update, I showed you this ages ago. If you want to use one-time binding on everything then as we said ages ago this would not update the DOM. there are a number of different types of watches with different performance implications
[20:00:25] *** ngbot has joined #angularjs
[20:00:25] <ngbot> [angular.js] Narretz pushed 1 new commit to master: http://git.io/Frwo6w
[20:00:25] <ngbot> angular.js/master d906ed3 jbnizet: docs(input): replace dateTimeLocal by datetime-local...
[20:00:25] *** ngbot has left #angularjs
[20:00:53] *** rtpg has quit IRC
[20:01:17] <JohnFree> ingsoc: ok
[20:01:38] <ingsoc> there is simple watch (object identity), watch with deep checking param set (this weill check identity and all properties for updates), there is also watchcollection which does one level deep ref checking also
[20:02:43] <ingsoc> watch is literally just watching that e.g. $scope.referenceA still points to the same object
[20:03:09] *** tkimmel has quit IRC
[20:03:17] <JohnFree> ok
[20:03:30] <ingsoc> $watch(watchExpression, listener, [objectEquality]);
[20:03:36] <ingsoc> this will check reference
[20:03:58] <ingsoc> and also all properties and is known as a deep watch
[20:04:16] <JohnFree> I'm not using that yet. I'm just using "{::propertxy}"
[20:04:19] <ingsoc> watch collection means [refa, refb, rec]
[20:04:51] <ingsoc> it will watch the collection and also all top level references
[20:04:51] <JohnFree> ingsoc: Are you from google? Or a AngularJS contributer?
[20:04:59] <ingsoc> https://docs.angularjs.org/api/ng/type/$rootScope.Scope
[20:05:07] <ingsoc> no i just RTFM
[20:05:18] <ingsoc> :)
[20:05:23] *** AngularUI has joined #angularjs
[20:05:23] <AngularUI> [bootstrap] chrisirhc opened pull request #2921: fix(tooltip): evaluate appendToBody on init (master...feature/tooltip-remove-append-observer) http://git.io/Pltz9A
[20:05:24] *** AngularUI has left #angularjs
[20:05:33] * themime didn't leave for long enough
[20:05:45] *** edrocks has quit IRC
[20:05:51] *** bmac has joined #angularjs
[20:06:08] *** miniShrooms has quit IRC
[20:06:10] *** iksik has quit IRC
[20:06:33] *** miniShrooms has joined #angularjs
[20:06:53] <ingsoc> my final advice, make it work, make it beutiful then if you really have to
[20:06:56] <ingsoc> make it faster
[20:07:05] *** circ-user-wReJB has joined #angularjs
[20:07:54] *** MrBaboon has quit IRC
[20:08:13] *** bmac has quit IRC
[20:09:14] *** iksik has joined #angularjs
[20:09:33] *** circ-user-wReJB is now known as pipoo
[20:10:00] *** pipo has quit IRC
[20:11:03] *** mr_blue has joined #angularjs
[20:11:11] <mr_blue> hi all
[20:11:18] *** dgee has joined #angularjs
[20:11:32] <mr_blue> is this the right place to ask a question about angular-translate ?
[20:12:11] *** kirfu has joined #angularjs
[20:12:16] *** miniShrooms has quit IRC
[20:12:57] *** pnade has quit IRC
[20:13:23] *** pnade has joined #angularjs
[20:13:35] *** kuniyori has joined #angularjs
[20:13:57] *** annlewis has quit IRC
[20:14:07] *** tkdaj has quit IRC
[20:14:26] *** tkdaj has joined #angularjs
[20:14:28] <ckboii89> https://gist.github.com/gwong89/5983297084fe1dc3d063
[20:14:30] *** Sontakey has joined #angularjs
[20:14:44] *** SonikBoom has joined #angularjs
[20:14:45] *** platonic has quit IRC
[20:14:59] <ckboii89> im getting a provider error for my factory dependency injection,can anyone help me spot my error?
[20:15:12] *** platonic has joined #angularjs
[20:15:14] *** laurensclaessen has quit IRC
[20:15:35] <ingsoc> ckboii89: plunkr ?
[20:15:43] <ingsoc> code ?
[20:15:54] <ckboii89> in the gist
[20:16:02] *** az7ar_away has quit IRC
[20:16:11] *** soee_ has joined #angularjs
[20:16:11] <mr_blue> how to get translation on placeholder with angular-translate and partial-loader ?
[20:16:21] *** danecando has joined #angularjs
[20:16:22] <mr_blue> and directive mechanisme
[20:16:59] *** miniShrooms has joined #angularjs
[20:17:06] *** mennea has quit IRC
[20:17:09] *** elrabin has quit IRC
[20:17:28] <ingsoc> ckboii89: what error
[20:17:40] *** soee has quit IRC
[20:17:42] *** mennea has joined #angularjs
[20:17:44] *** zivester has quit IRC
[20:17:44] *** araujo has quit IRC
[20:17:44] *** elrabin has joined #angularjs
[20:17:56] *** pipoo has quit IRC
[20:18:07] <ckboii89> https://docs.angularjs.org/error/$injector/unpr?p0=AddTeamFactoryProvider%20%3C-%20AddTeamFactory
[20:18:13] *** mjs2600 has joined #angularjs
[20:18:37] *** miniShrooms has quit IRC
[20:18:45] *** DrMabuse_ has joined #angularjs
[20:19:02] *** miniShrooms- has joined #angularjs
[20:19:02] *** Jon31 has quit IRC
[20:19:03] *** D9 has joined #angularjs
[20:19:03] *** Sontakey1 has joined #angularjs
[20:19:09] *** Sontakey has quit IRC
[20:19:48] *** zivester has joined #angularjs
[20:19:54] *** danecando has quit IRC
[20:21:18] *** miniShrooms- has quit IRC
[20:21:48] *** miniShrooms- has joined #angularjs
[20:22:32] <themime> ckboii89: is logger a default thing?
[20:22:35] *** marshall_ has joined #angularjs
[20:22:45] *** araujo has joined #angularjs
[20:22:50] *** shampine has quit IRC
[20:23:11] <ingsoc> ckboii89: well for a start you are not returning a new object
[20:23:29] *** danecando has joined #angularjs
[20:23:44] <themime> why would he? hes returning a singleton, looks pretty standard for a factory
[20:23:51] *** dgee has quit IRC
[20:23:55] <sacho> ckboii89, are you sure you've loaded all the files?
[20:24:28] <themime> i think its the fact you have "logger" free floating. the built in one is $log, are you sure you aren't missing an include in the module for the logger module?
[20:24:31] *** DrMabuse_ has quit IRC
[20:24:37] <ingsoc> oops i was reading as newTeam
[20:24:44] *** iksik has quit IRC
[20:24:46] <ingsoc> meaning new Team
[20:24:49] *** kirfu has quit IRC
[20:24:50] <themime> haha gotcha
[20:24:54] *** shampine has joined #angularjs
[20:24:57] <ckboii89> sacho that was it..
[20:25:00] <ckboii89> sorry guys
[20:25:02] <ckboii89> im used tor ails
[20:25:08] <ckboii89> which laods all my assets at once with one line
[20:25:09] *** browles has joined #angularjs
[20:25:12] *** faviouz has quit IRC
[20:25:16] <sacho> that's ok, it's actually a fairly common problem
[20:25:22] <themime> haha yea
[20:25:24] <ckboii89> im doing PHP with no framework and i have to manually type each script into the head
[20:25:39] <ckboii89> is there a way to load all essentially scripts with one line?
[20:25:47] <themime> i helped a coworker with a problem and it was missing the in index page - next day i spent 30m debugger a separate thing that was exact same issue
[20:25:51] *** kirfu has joined #angularjs
[20:25:52] <themime> ckboii89: a builder/minifier
[20:26:02] <themime> ckboii89: im currently investigating gulp right now
[20:26:03] *** cakirke has quit IRC
[20:26:16] <sacho> ckboii89, grunt and gulp both have pretty good tasks to have such a workflow
[20:26:26] <themime> and im also doing jasmine/karma with it too
[20:26:29] *** matthoiland has joined #angularjs
[20:26:31] <ingsoc> themime: i am thinking of switching over to gulp from grunt
[20:26:34] *** Shrooms` has quit IRC
[20:26:35] *** miniShrooms- has quit IRC
[20:26:59] <ingsoc> I was using yeoman angular generator
[20:27:05] *** thirdknife has quit IRC
[20:27:09] <themime> ingsoc: i haven't used either, but since for this new project im experimenting with nodejs/express/bower i figured id go full JS. gulp seems to have a SLIGHT edge over grunt from what ive seen
[20:27:16] <ckboii89> is it standard to use grunt/gulp?
[20:27:20] <woah> yea
[20:27:20] <sacho> ckboii89, e.g. https://github.com/yeoman/grunt-usemin
[20:27:21] <themime> ckboii89: it seems so
[20:27:27] <ckboii89> when doing a angularjs mixed with backend
[20:27:29] *** robdubya has joined #angularjs
[20:27:30] <woah> grunt is better for projects with a lot of files
[20:27:41] <grizzm0> ckboii89, Backend and frontend should be two projects
[20:27:44] <woah> while gulp is better when you are doing a bunch of things to the files
[20:27:45] <BahamutWC|Laptop> ckboii: there is a tool for PHP for asset management…assetic I think it is
[20:27:47] <themime> woah: hm why is that? at work we'll end up with a bunch
[20:27:53] <BahamutWC|Laptop> ckboii89*
[20:27:55] <ckboii89> well i don't know how large my project will be, its a assignemnt for a internship
[20:27:59] <themime> and whatever i do now will probably end up there
[20:28:05] <woah> just the format of grunt is easier if you have a lot of files
[20:28:08] *** zivester has quit IRC
[20:28:11] <themime> aaah gotcha
[20:28:18] <woah> but harder for if you have a lot of preprocessing steps
[20:28:26] *** elrabin has quit IRC
[20:28:29] <grizzm0> ckboii89, Grunt has "easy" configuration if you ask me. Gulp is newer and better tho.
[20:28:34] *** anjumkaiser has joined #angularjs
[20:28:42] <grizzm0> From what I've heard. :p
[20:28:59] <themime> yea grunt did look easier to jump into but im in an open minded mood today. only way im able to try node...
[20:28:59] *** TuRnaD0 has joined #angularjs
[20:29:04] *** kirfu1 has joined #angularjs
[20:29:07] <ingsoc> themime: the argument for gulp seems to be performance
[20:29:14] <ingsoc> afaict
[20:29:14] <themime> yea cause of the streams?
[20:29:22] <themime> i read a bit about it
[20:29:36] *** Oddman has joined #angularjs
[20:29:44] <themime> its like grunt uses a secondary temp files while gulp uses node streams to do it all in memory
[20:29:48] <themime> from what i recall
[20:29:53] <ingsoc> dunno, not looked into it further than wondering why angular generator tassk are slow as shit
[20:30:10] *** jrowny has joined #angularjs
[20:30:12] *** tech2 has quit IRC
[20:30:21] *** kirfu has quit IRC
[20:30:25] <themime> i heard some meh things about yeoman so i ended up merging two boilerplates
[20:30:31] <ingsoc> (this is my first web project using grunt etc.)
[20:30:37] *** Sontakey has joined #angularjs
[20:30:37] <themime> oh yea part of the reason too was i was relearning java and using eclipse/maven and a bunch of stuff
[20:30:37] *** mtsr has joined #angularjs
[20:30:46] *** matthoiland has quit IRC
[20:30:55] *** kirfu1 has quit IRC
[20:30:55] <themime> it was also using angular but i used the by-feature structure of another
[20:31:01] *** kirfu has joined #angularjs
[20:31:40] <themime> my big slow down right now is using npm for the firs ttime
[20:31:47] *** az7ar_away has joined #angularjs
[20:31:50] <themime> i got the init set up and my package.json in my main app directory
[20:32:12] <themime> little confused on deciding global vs not
[20:32:18] *** cakirke has joined #angularjs
[20:32:53] *** Sontakey1 has quit IRC
[20:33:51] *** klaut_ has joined #angularjs
[20:34:02] *** ayarza has quit IRC
[20:34:41] *** jrowny has quit IRC
[20:34:58] *** jonr22 has joined #angularjs
[20:35:06] *** asteriskATmarmuD has joined #angularjs
[20:35:09] *** klaut has quit IRC
[20:35:36] *** kirfu has quit IRC
[20:35:38] *** kirfu1 has joined #angularjs
[20:35:50] *** thomastuts has quit IRC
[20:35:57] *** DanielKarp has joined #angularjs
[20:36:02] *** Shrooms` has joined #angularjs
[20:36:06] *** mandric has quit IRC
[20:36:55] *** oldridge has joined #angularjs
[20:37:02] *** narutimateum has joined #angularjs
[20:37:31] *** DanielKarp has quit IRC
[20:39:34] *** jonr22 has quit IRC
[20:39:34] *** diegoaguilar has quit IRC
[20:39:45] *** danecando has quit IRC
[20:40:05] *** marcjs_ has joined #angularjs
[20:40:08] *** faviouz has joined #angularjs
[20:40:14] *** DanielKarp has joined #angularjs
[20:40:40] <asteriskATmarmuD> I got a naviCtrl to mark which link was clicked. now I'd like to pass that info to my contentCtrl to
[20:40:40] <asteriskATmarmuD> load the corresponding content. tried it via app.factory + using ng-module in both divs. doesn't work as expected
[20:40:44] <asteriskATmarmuD> http://paste.debian.net/hidden/59132309/
[20:41:27] <asteriskATmarmuD> html: "<div ng-show="{{contentCtrl.link}} === 1">"
[20:41:31] <ingsoc> themime: if you have a project where you are distributing it or others need to work on it, saving node modules locally with things local (npm install dependent_package --save-dev) would be best as this means everything they need to work on your project can be obtained by doing npm install in the project directory and will install everything in your package.json
[20:41:45] *** nemothekid has joined #angularjs
[20:41:49] *** Sontakey has quit IRC
[20:42:10] <ingsoc> installing global is if you have some node modules that are used across a number of projects
[20:42:10] *** Xethron has quit IRC
[20:42:36] *** DanielKarp has quit IRC
[20:43:04] <ingsoc> for projects I prefer the local option and updating package.json then everything is self contained and easily installed by other devs
[20:43:04] *** dylang has joined #angularjs
[20:43:30] *** Shrooms` has quit IRC
[20:43:49] *** Shrooms` has joined #angularjs
[20:44:16] *** sukanta has joined #angularjs
[20:44:30] *** Xethron has joined #angularjs
[20:44:32] *** Xethron has joined #angularjs
[20:44:48] *** annlewis has joined #angularjs
[20:45:00] *** kirfu has joined #angularjs
[20:45:02] *** kirfu1 has quit IRC
[20:45:06] <JohnFree> ingsoc: Are you still there?
[20:45:07] *** jsheely|ltop has joined #angularjs
[20:45:13] *** Shrooms` is now known as Shrooms
[20:45:30] *** marcjs_ has quit IRC
[20:45:31] *** Shrooms has quit IRC
[20:45:31] *** Shrooms has joined #angularjs
[20:45:43] <ingsoc> for alil while
[20:45:44] <ingsoc> why
[20:45:46] *** mtsr has quit IRC
[20:46:06] *** opiates has quit IRC
[20:46:24] <themime> ingsoc: could you give an example of what a global thing you wouldn't want to include? just thinking myself obviously bower itself
[20:46:29] <JohnFree> ingsoc: There's one thing about this solution: http://plnkr.co/edit/NPv0j0bEvkQXFBVQjXa2?p=preview --> How does the MainController recognize changes if the service value get's changed by another controller?
[20:46:41] *** kirfu1 has joined #angularjs
[20:46:48] *** MrBaboon has joined #angularjs
[20:46:52] <JohnFree> ingsoc: It doesn't recognize it and the value isn't changed.
[20:47:08] *** mennea has quit IRC
[20:47:20] <JohnFree> ingsoc: And it's not possible to call a function in controller-x out of controller-y
[20:47:23] <ingsoc> themime: well yeah, or you just want to maintain one version (the latest) across all projects
[20:47:35] <ingsoc> to be used in all projects i mean
[20:47:41] <ingsoc> like bower
[20:47:45] <themime> oooh yea so theyd have to use their own "global" copy of angular or something
[20:47:46] *** mennea has joined #angularjs
[20:47:46] <grizzm0> JohnFree, Watch? :o
[20:47:58] <ingsoc> or grunt
[20:48:06] *** diegoaguilar has joined #angularjs
[20:48:20] <themime> but if they don't have their own the save-dev would allow someone to just right away start going with it?
[20:48:27] <themime> i think its starting to make sense now
[20:49:01] <ckboii89> so uh
[20:49:04] <ckboii89> anyone here good with php?
[20:49:07] <ingsoc> the idea is, you do git clone blah, then cd into directory and do, npm install, bower install
[20:49:07] <JohnFree> grizzm0: The problem is that the main model is initialized with "getXY()" which is a method of the service. I'm not changing the scope variable of the main controller directly
[20:49:10] <grizzm0> ckboii89, Sure
[20:49:14] <themime> ckboii89: i have some experience with it
[20:49:21] <ingsoc> up and running with all dependencies and tools working
[20:49:24] *** annlewis has quit IRC
[20:49:29] <ckboii89> so im used to rails with the MVC architechture
[20:49:31] <ingsoc> (obviously they would still need to have node and npm
[20:49:33] <grizzm0> JohnFree, You can watch a callback
[20:49:35] <JohnFree> That's the problem. the scope variable only get's initialized once
[20:49:42] *** kirfu has quit IRC
[20:49:43] <ckboii89> how do i post my ajax call with php to mysql?
[20:49:52] <ckboii89> im not using any php framework
[20:49:56] <ingsoc> hemime: ^
[20:50:06] <ingsoc> themime:
[20:50:07] <grizzm0> .. ?
[20:50:22] <ckboii89> i mean
[20:50:23] <ckboii89> the data
[20:50:26] <JohnFree> But wouldn't it be better for perfomance to create an extra controller for that service and use it in <html ng-controller="Service"?
[20:50:27] <themime> ckboii89: that question is confusing and i think its because you may not have a firm grasp on ajax and client/server
[20:50:27] <ingsoc> themime: angular would be a bower component
[20:50:31] <sacho> that sounds like a #php questoin
[20:50:37] *** annlewis has joined #angularjs
[20:50:38] <grizzm0> ##php
[20:50:43] *** Shrooms` has joined #angularjs
[20:50:46] <themime> ingsoc: ah so save-dev tells the "npm/bower install" command what to install
[20:50:55] <JohnFree> grizzm0: Why is it bad to use an extra controller for that service?
[20:51:01] <themime> anything i don't want to assume they have?
[20:51:07] *** Skrypter has quit IRC
[20:51:08] *** D9 has quit IRC
[20:51:12] <sacho> JohnFree, you can't use a service as a controller
[20:51:26] <JohnFree> sacho: I know that
[20:51:28] *** Shrooms` has quit IRC
[20:51:39] *** Skrypter has joined #angularjs
[20:52:09] *** Shrooms has quit IRC
[20:52:10] *** Skrypter has quit IRC
[20:52:12] *** danecando has joined #angularjs
[20:52:16] *** whitebook has joined #angularjs
[20:52:23] *** Shrooms has joined #angularjs
[20:52:23] *** Shrooms has joined #angularjs
[20:52:24] *** Skrypter has joined #angularjs
[20:52:27] *** pipoo has joined #angularjs
[20:52:41] <ingsoc> themime: well most people doing web dev have node and npm installed
[20:52:52] <themime> ckboii89: with angular you would use $http.post, is that what you mean?
[20:52:54] <ingsoc> but when you want to add additional tools like minifier etc.
[20:53:09] <ckboii89> yeah its more a php question
[20:53:13] <ckboii89> i have the client side down
[20:53:14] *** faviouz has quit IRC
[20:53:16] *** amphetamines has joined #angularjs
[20:53:26] <ckboii89> right now im just starin at my php file not knowing what to do
[20:53:27] <ingsoc> npm install package --save-dev this puts an entry into your package.json
[20:53:39] <ckboii89> i asked php and they didnt really giv eme any good info...
[20:53:50] <ingsoc> package.json is the file that is consutlted if you simply type "npm install"
[20:53:59] <ingsoc> in your project directory that contains the package.json
[20:54:08] <themime> ckboii89: have you used php before? why are you using php now? maybe try a language you are familiar with?
[20:54:17] <ckboii89> no
[20:54:18] <ingsoc> if you have done npm install bower --save-dev
[20:54:23] <ckboii89> its for a intenrship assignment
[20:54:27] <JohnFree> But why can't I do this like in this link. Here I don't have to define watch... : http://plnkr.co/edit/tvriKMPPd8Zzbw7wCuzZ?p=preview
[20:54:28] <ckboii89> its out of my contorl
[20:54:49] <themime> ckboii89: have you used java or C# or any other backend?
[20:54:58] <ingsoc> bower.json does a similar thing for bower
[20:55:00] <ckboii89> rails
[20:55:09] <JohnFree> That's my example and it works. The example you gave me doesn't work if I change the value in the service out of another controller
[20:55:21] *** annlewis has quit IRC
[20:55:25] <themime> ckboii89: this has nothing to do with angular, why don't you PM me and we can talk from there
[20:55:29] <ingsoc> enabling you to do "bower install" and everything in bower.json will be installed into a folder called bower_components in your project directory or wehrever you specified in
[20:55:31] *** thirdknife has joined #angularjs
[20:55:38] <ingsoc> .bowerrc file
[20:55:48] <sacho> JohnFree, sure, one of the ways to communicate between components is to have a common parent component facilitating the communication
[20:55:50] <ingsoc> themime: does that clear things up ?
[20:55:59] *** Trow has joined #angularjs
[20:55:59] *** ccohn has joined #angularjs
[20:56:09] <JohnFree> sacho: So the code in the link I send you is correct?
[20:56:12] <ingsoc> my ".bowerrc" file contains
[20:56:13] <themime> so i want to include anything my project needs with save-dev, including angular, ui-router, and also other things like minifiers?
[20:56:17] <ingsoc> {
[20:56:17] <ingsoc> "directory": "app/bower_components"
[20:56:17] <ingsoc> }
[20:56:22] <sacho> JohnFree, what does "correct" mean
[20:56:29] *** diosney has joined #angularjs
[20:56:33] <JohnFree> sacho: Architecturally correct
[20:56:33] <ingsoc> this tells it where to place installed libs
[20:56:36] *** threesixes has joined #angularjs
[20:56:45] *** whitebook has quit IRC
[20:56:49] <JohnFree> sacho: correct = how good guys would do it
[20:57:01] *** Una has joined #angularjs
[20:57:02] *** niklasmodess has quit IRC
[20:57:03] *** rtpg has joined #angularjs
[20:57:35] <JohnFree> sacho: I want to know it because many guys here rejected that code and said that it would bad
[20:57:47] *** Shrooms` has joined #angularjs
[20:58:01] <ingsoc> "bower init" creates a bower.json file, and you can save packages to it by doing
[20:58:12] <ingsoc> bower install package --save
[20:58:32] *** Shrooms` has joined #angularjs
[20:58:44] *** nachinius has joined #angularjs
[20:58:47] <sacho> JohnFree, uh, well, I don't see why
[20:58:52] <ingsoc> then in your index.html you just reference them /bower_components/package.js
[20:58:55] <grizzm0> bower, npm and composer (php) <3
[20:59:14] <ingsoc> during development, but for like you concat them all etc. into one vendor.js file
[20:59:19] <ingsoc> (or whatever)
[20:59:30] <JohnFree> sacho: themime
[20:59:30] <JohnFree> its like you are building something out of legos except you are sawing them apart and glueing them to each other
[20:59:41] <JohnFree> I'm reciting themime
[20:59:51] <sacho> ok
[21:00:05] <JohnFree> themime
[21:00:06] <JohnFree> its very bad angular conceptually
[21:00:13] <JohnFree> again reciting
[21:00:23] *** Shrooms has quit IRC
[21:00:35] *** mingzhej has joined #angularjs
[21:00:52] <deweydb> is there some reason why this wouldn't work: element.css({left:'calc(50%+15px)'})
[21:00:54] <JohnFree> sacho: themime: JohnFree: its a complicated issue. you want to build components in a reusable way, and the way you have it doesn't seem very testable and indepedant. the components are tightly connected, and to test things they need to be modularized
[21:01:03] <sacho> JohnFree, you could have done something like this - http://plnkr.co/edit/337xrwOTqX4n6nxCLnrs?p=preview
[21:01:29] <mingzhej> angularjs
[21:01:35] <JohnFree> sacho: What's changed?
[21:01:38] <sacho> the getter and setter seem unnecessary(well, at least, the getter)
[21:01:52] *** rtpg has quit IRC
[21:01:53] *** kuniyori has quit IRC
[21:02:04] <themime> ingsoc: yea i think i get it
[21:02:05] <JohnFree> sacho: But that's no big change :D
[21:02:12] <sacho> sure
[21:02:27] <JohnFree> themime: You critisized my code but sacho says it's great
[21:02:29] *** diosney has quit IRC
[21:02:33] *** TripTastic is now known as JBreit
[21:02:38] *** mandric has joined #angularjs
[21:02:53] <themime> whats the latest link
[21:02:57] <mingzhej> hello everybody, What's the best javascript framework with AngualrJS?
[21:03:14] *** rtucker88 has quit IRC
[21:03:16] <JohnFree> themime: that's mine: http://plnkr.co/edit/tvriKMPPd8Zzbw7wCuzZ?p=preview (you already saw it)
[21:03:42] <JohnFree> themime: I can feel your anger
[21:04:11] <Logicgate> mingzhej, that's a weird question. For doing what? Manipulating the DOM?
[21:04:38] <sacho> mingzhej, angularjs is a javascript framework
[21:04:57] *** Shrooms` is now known as Shrooms
[21:05:06] *** Shrooms has quit IRC
[21:05:09] <ingsoc> JohnFree: you said, "many guys rejected it", themime: just commented on it thats all and where does sacho said it is "great"
[21:05:12] <ingsoc> lol
[21:05:28] <ingsoc> it is just angular code a simple example
[21:06:16] *** danecando has quit IRC
[21:06:18] <themime> angery? you sound manipulative
[21:06:27] *** rtucker88 has joined #angularjs
[21:06:29] *** mr_blue has left #angularjs
[21:06:36] <JohnFree> ingsoc: So it's ok?
[21:07:01] <ingsoc> the original debate was you wanting to use angular but not wanting to have watches because it might possibly at some point sometime maybe not be quite as fast as you think it should be somehow
[21:07:11] <ingsoc> :P
[21:07:16] *** mpeterson has quit IRC
[21:07:17] <JohnFree> :D
[21:07:21] <themime> JohnFree: your sample doesn't make sense to me is all. it still doesn't
[21:07:27] <JohnFree> ok, but you guys like my code right?
[21:07:50] <sacho> I'm not about to ask it on a date, no
[21:07:58] <themime> i don't understand what its trying to do, and the service being directly set on the scope like that is something i haven't seen and ive seen a LOT of code
[21:08:10] *** faviouz has joined #angularjs
[21:08:19] <JohnFree> themime: That service should only be used so that each Controller can set the current pageTitle
[21:08:32] *** nachinius has quit IRC
[21:08:36] <themime> and it just looks weird and silly to me. im all about doing weird experiments but you seem to be trying to phone app and learning core angular concepts, and it seems like a bad direction to go
[21:08:50] <themime> why not use ui-router to change states?
[21:08:56] <themime> and have templates for each state
[21:09:08] <sacho> well, what if the title is outside the templates
[21:09:12] <themime> i tried to get more information like that but you were stuck on bindonce
[21:09:27] <themime> and pre-optimizing
[21:09:30] <JohnFree> themime: Yeah sorry
[21:09:35] <JohnFree> themime: I'm not focused
[21:09:48] <mingzhej> Hi, Logicgate, sacho. What about require-js with angular?
[21:09:49] <JohnFree> I'm only confusing everybody
[21:10:18] <mingzhej> without requirejs, Angular-seed will satisfy?
[21:10:34] <themime> sacho: you think $scope.Page = Page; looks fine?
[21:10:54] *** woah has quit IRC
[21:11:07] *** will_ has joined #angularjs
[21:11:13] <sacho> sure
[21:11:20] <JohnFree> :D
[21:11:22] *** will_ has quit IRC
[21:11:24] <JohnFree> sacho: Thank you
[21:12:43] *** samuelsimoes has joined #angularjs
[21:13:00] <calmbird> I real got confused. Do google bots finally read dynamic content of our page, or not?
[21:13:06] *** TheSoundShinobi has quit IRC
[21:13:07] <sacho> if you want to bind to a service's state you want to have an object carrying it(what people usually call the "dot" rule). At first I used to do something like Service.state but it seemed redundant
[21:13:08] <themime> mingzhej: i used requirejs with jquery before angular and now i use only angular and with its dep injection ive found no need for require
[21:13:13] *** mennea has quit IRC
[21:13:15] *** Shrooms has joined #angularjs
[21:13:18] *** kirfu has joined #angularjs
[21:13:45] <JohnFree> sacho: Are you talking to me?
[21:13:57] <themime> JohnFree: he was explaining to me why it fine to him i think
[21:14:02] *** kirfu1 has quit IRC
[21:14:05] <sacho> no, it was a general comment
[21:14:11] <JohnFree> ok
[21:14:12] *** thirdknife has quit IRC
[21:14:18] *** faviouz has quit IRC
[21:14:38] *** kirfu1 has joined #angularjs
[21:14:50] <themime> i guess i would have just {{page.title}} and then $scope.page = {title: 'desired title'};
[21:15:01] <mingzhej> thank u themime for your advice.
[21:15:17] <themime> and just got rid of the service in this case
[21:15:19] <JohnFree> themime: ha?
[21:15:26] <JohnFree> themime: I'm trying that out now
[21:15:27] <japhar81> why in the world would i get Failed to instantiate module $http
[21:15:32] <japhar81> i thought that was always available
[21:15:33] <sacho> themime, sure, that's also possible
[21:15:40] <themime> sacho: can you give a practical example of saving a service state to a scope?
[21:15:52] *** Sontakey has joined #angularjs
[21:16:11] <dllama> i might be over using this (likely a noob maneuver ) but i gotta say, i'm finding lodash to be extremely helpful :)
[21:16:15] *** laurensclaessen has joined #angularjs
[21:16:27] <JohnFree> themime: The problem is that I use index.html as Layout where page-Title is set outside of "<div ng-view"
[21:16:35] <themime> dllama: ive not used it but ive heard good things. what is it related to? underscore?
[21:16:45] *** winmutt has quit IRC
[21:16:45] <dllama> i think it iS underscore
[21:16:50] <dllama> i never used underscore directly
[21:16:50] *** FergusL has quit IRC
[21:16:52] <ingsoc> dllama: yeah there are a lot of useful functions
[21:16:57] <themime> dllama: aaah okay
[21:17:03] <dllama> but in my plunkr, i'm using _.someFunc , so i'm guessing its underscore renamed?
[21:17:23] <ingsoc> lodash is a newer version of underscore optimised for perfomance with a superset of API functions
[21:17:24] *** FergusL has joined #angularjs
[21:17:32] <sacho> themime, let's say I have a google maps directive which I use to place markers - its state would be an array of the placed markers, and its interface would be addMarker and removeMarker - then various components on the page could use the directive's service to manipulate the map
[21:17:33] <themime> JohnFree: my example still works as long as {{page.title}} is in the controller where you set the page object's title
[21:17:40] <ingsoc> so it has a lot of the underscore fucntions plus more
[21:17:47] *** mennea has joined #angularjs
[21:17:48] <dllama> i'm guessing majority of my usecase can very very likely be done entirely in js, but some things are just way eaiser
[21:17:53] *** kirfu has quit IRC
[21:18:01] *** Sontakey has quit IRC
[21:18:08] *** Sontakey has joined #angularjs
[21:18:15] *** Sontakey has quit IRC
[21:18:21] *** Sontakey has joined #angularjs
[21:18:24] <dllama> also since i've been asking for so much help here and the response has typically been to put up a plunk, my approach has shifted a bit to writing in plnk first anbd then moving to sublime just incase i need to send a link out :)
[21:19:04] <JohnFree> themime: Can you give me the last current link?
[21:19:10] <sacho> themime, the example breaks down once you move away from singletons, e.g. if I could have two maps, then I'd need some way to distinguish between them...
[21:19:17] <ingsoc> dllama: http://www.amazon.com/Functional-JavaScript-Introducing-Programming-Underscore-js/dp/1449360726/ref=sr_1_1
[21:19:38] *** umib0zu has joined #angularjs
[21:19:39] <calmbird> Noone knows I see "I real got confused. Do google bots finally read dynamic content of our page, or not?"
[21:20:07] <dllama> thanks ingsoc! though sadly something like that falls on def ears with me, even back in school, i was never able to learn by reading a book, only through a hands on approach, but maybe i'll grab it just to have as a reference :)
[21:20:08] <sacho> also you could always have a "top-level" directive, which this map directive requires and registers to. Then all the other directives could also require it and "fetch" whatever the map directive registered
[21:20:28] <sacho> which is a bit more work but much cleaner in the end(since it doesn't suffer from this singleton problem)
[21:20:35] <themime> sacho: i guess my issue with that is it seems to tightly couple the service to the controller, rather than just exposes the array or various components that you need
[21:20:42] <ingsoc> dllama: it is just a nice intro to functional style of programming with underscore
[21:20:50] *** Sontakey has quit IRC
[21:20:52] *** doug64k has quit IRC
[21:21:00] <sacho> themime, well, it couples the controller to the service, not vice versa.
[21:21:06] <ingsoc> (underscore and lodash having similar/compatible api
[21:21:25] <JohnFree> So is there a problem with my code?
[21:21:35] <dllama> majority of my development has been learned from psuedo mentorship, with rails i was very fortunate that someone took me under their wing on irc and showed me enough to be able to learn what ever i need to from there on my onw, and teh angular community has been equally as kind, so thank you to all! :)
[21:21:41] *** Jae has quit IRC
[21:21:46] <dllama> apprenticeship i meant*
[21:21:49] *** laurensclaessen has quit IRC
[21:21:54] <JohnFree> Is there a better way of doing it?
[21:22:04] *** IvailoStoianov has quit IRC
[21:22:05] <themime> sacho: ah true. really with JohnFree i guess it was about his use of the service specifically in his context, i may experiment with a service like that
[21:22:17] <themime> JohnFree: yes id get rid of the service all together
[21:22:32] <JohnFree> themime: But how can the other controllers then set that property ?
[21:22:57] <JohnFree> I'm inserting the pagetitle in the layout which contains <div ng-view>
[21:22:57] <themime> two way binding
[21:23:10] <sacho> like he suggested, you could use the scope chain to set a property on a parent scope
[21:23:13] <JohnFree> themime: How? Could you give me an example?
[21:23:54] <ingsoc> rootscope coul dalso be used
[21:23:58] <ingsoc> there's a number of options
[21:24:06] *** travm has joined #angularjs
[21:24:12] *** draconis-chomp has joined #angularjs
[21:24:14] <sacho> JohnFree, http://plnkr.co/edit/zgyxO2SF3pdc4VIJiWCW?p=preview
[21:24:16] *** Trow has quit IRC
[21:24:17] <themime> JohnFree: <h1>{{Page.title()}}</h1> -> this is accessing the scope as it is
[21:24:25] <themime> <h1>{{Page.title()}}</h1> is not accessing the service
[21:24:34] <themime> i think that may be why youre confused
[21:24:46] <themime> the html binds to the scope objects not services
[21:25:07] *** danecando has joined #angularjs
[21:25:10] <themime> thanks sacho i was half way into that haha
[21:25:28] *** danecando has quit IRC
[21:25:53] <JohnFree> But both examples from you now are exactly the same
[21:26:09] <JohnFree> themime: You mean <h1>{{Page.title}}</h1> as second option right?
[21:26:24] <themime> JohnFree: did you see this that sacho posted, it completely gets rid of the service http://plnkr.co/edit/zgyxO2SF3pdc4VIJiWCW?p=preview
[21:27:44] <JohnFree> themime: It's not working
[21:27:54] <JohnFree> themime: The code is wrong
[21:28:17] <themime> it works and looks clean to me, what is not working for you? why do you think its wrong?
[21:28:28] *** Aliks has joined #angularjs
[21:28:50] <JohnFree> themime: Because the expression {{Page.title}} is not replaced with its value
[21:29:03] <Foxandxss> uh, still discussing
[21:29:09] *** darrin has joined #angularjs
[21:29:24] <themime> http://plnkr.co/edit/zgyxO2SF3pdc4VIJiWCW?p=preview JohnFree he had a typo, it should have been page.title
[21:29:25] <JohnFree> Foxandxss: Yeah :)
[21:29:41] *** ProLoser has joined #angularjs
[21:29:49] <themime> er JohnFree http://plnkr.co/edit/AKjsbC3s9pnaatr4McYi?p=preview
[21:29:51] <JohnFree> themime: not working
[21:30:17] *** tmaximin_ has quit IRC
[21:30:23] *** darrin has quit IRC
[21:30:41] *** preben_ has joined #angularjs
[21:30:50] *** draconis-chomp has quit IRC
[21:30:52] *** tmaximini has joined #angularjs
[21:30:55] *** jrowny has joined #angularjs
[21:31:14] *** nemothekid has quit IRC
[21:31:18] <themime> http://plnkr.co/edit/AKjsbC3s9pnaatr4McYi?p=preview works for me can someone confirm? sacho ?
[21:31:22] *** draconis-chomp has joined #angularjs
[21:31:38] *** SFeser has joined #angularjs
[21:31:42] *** nemothekid has joined #angularjs
[21:31:43] *** tmaximini has quit IRC
[21:31:46] <sacho> sure?
[21:32:18] *** Asiajey has quit IRC
[21:32:34] <themime> sacho: the link you posted had a small typo
[21:32:47] <themime> sacho: that link should have fixed it but JohnFree says it doesnt' work for him
[21:32:48] <sacho> it's possible
[21:33:05] <themime> JohnFree: you tried this specific new link here? http://plnkr.co/edit/AKjsbC3s9pnaatr4McYi?p=preview
[21:33:19] *** ccohn has quit IRC
[21:33:26] <JohnFree> I'm trying it on my machine
[21:33:26] *** edzez has quit IRC
[21:33:55] *** ccohn has joined #angularjs
[21:34:13] *** ProLoser has quit IRC
[21:34:14] *** nemothekid has quit IRC
[21:34:27] *** robdubya has quit IRC
[21:34:30] *** edzez has joined #angularjs
[21:34:40] <sacho> must be the solar flares
[21:35:04] <JohnFree> ANd why doesn't it work with primitives?: http://plnkr.co/edit/RriOCZBs9MpogF2ZHkLS
[21:35:08] *** jrowny has quit IRC
[21:35:24] *** emmesswhy has joined #angularjs
[21:35:34] <emmesswhy> sup fuckfaces
[21:35:38] <JohnFree> oh no
[21:35:40] <JohnFree> see it
[21:35:42] *** jsheely|ltop has quit IRC
[21:36:03] <JohnFree> no, it doesn't work: http://plnkr.co/edit/RriOCZBs9MpogF2ZHkLS
[21:36:05] *** asteriskATmarmuD has left #angularjs
[21:36:24] <ingsoc> JohnFree: it taking advantage of scope inheritence
[21:36:44] <themime> JohnFree: did you try googling it? some quick googling found me http://stackoverflow.com/questions/17178943/does-my-ng-model-really-need-to-have-a-dot-to-avoid-child-scope-problems
[21:36:44] <JohnFree> ingsoc: But I don't get why using a primitive String is a problem?
[21:37:58] <JohnFree> themime: Ok I get it
[21:38:09] *** cthrax has quit IRC
[21:38:12] *** ccohn has quit IRC
[21:38:19] <themime> JohnFree: yay!
[21:38:32] <themime> haha i have so many plunker tabs open
[21:39:05] <JohnFree> themime: Yeah. That has slowed down my machine.
[21:39:17] <JohnFree> themime: maybe there are > 9000 $watch'es running
[21:39:25] *** ccohn has joined #angularjs
[21:39:34] *** nardev has joined #angularjs
[21:39:48] <themime> haha
[21:39:53] <themime> zing!
[21:40:07] <nardev> [21:33] <nardev> hello [21:33] <nardev> not sure if anyone can see my messages? [21:34] <nardev> i have a question about phonegap and ionic [21:34] <nardev> i'm using the ios native phonegap developer app to test my ionic app [21:34] <nardev> it's working pretty good [21:35] <nardev> but i'm trying to get the status bar to not show up any more [21:35] <nardev> however it's overlaying my app [21:35] <nardev> in an ugly way [21:35] <
[21:40:12] *** cthrax has joined #angularjs
[21:40:41] <JohnFree> themime: My firefox is eating 700 MB at the moment and opening the explorer takes 5-7 seconds
[21:40:56] <themime> yea i just cleared up a bunch of stuff
[21:40:59] <themime> and im using chrome
[21:41:06] *** laurensclaessen has joined #angularjs
[21:41:07] <JohnFree> Firefox sucks
[21:41:14] <themime> why not use chrome?
[21:41:24] <JohnFree> themime: I'll defineletly do it
[21:41:25] *** mary5030 has joined #angularjs
[21:41:35] <themime> itll even port your bookmarks over
[21:41:37] *** Caroga is now known as Caroga_afk
[21:41:37] <JohnFree> Have you guys heard of 60fp Youtube-Video-Streaming with Google Chrome?
[21:41:54] *** marcjs_ has joined #angularjs
[21:42:09] <JohnFree> you can watch 1080p + 60fp (frames per second) no with Chrome
[21:42:16] <JohnFree> now with Chrome
[21:42:23] <nardev> i have a question about phonegap and ionic , i'm using the ios native phonegap developer app to test my ionic app , it's working pretty good , but i'm trying to get the status bar to not show up any more , however it's overlaying my app , in an ugly way , how can i make it full screen? , i installed the plugin , and followed the guidelines , but it's still there , could it be the phonegap ios app that's just having it stick no matt
[21:42:28] <JohnFree> But I can't watch it because my Laptop slows down
[21:42:39] <themime> nardev: we heard you the first time. did you check #ionic?
[21:42:46] *** ctanga has joined #angularjs
[21:42:54] *** jstroem has quit IRC
[21:42:57] <themime> sup ctanga
[21:43:03] <ctanga> allo
[21:43:09] <nardev> hey sorry cleaned it up (pasted from ionic)
[21:43:23] <nardev> ionic seems dead right now
[21:43:34] <nardev> or i'm not getting anything
[21:43:37] *** annlewis has joined #angularjs
[21:44:09] <ingsoc> nardev: well it is Sunday
[21:44:16] <nardev> :)
[21:44:26] <nardev> was not sure if my irc is missbehaving or somehting
[21:44:35] *** mary5030 has quit IRC
[21:44:35] <ingsoc> core devs are probably chilling
[21:44:36] <nardev> ok, no worries thanks guys
[21:44:46] <themime> yea try tomorrow maybe good luck!
[21:44:52] <themime> or even later tonight
[21:44:52] *** DanielKarp has joined #angularjs
[21:45:13] *** mityaz has quit IRC
[21:45:21] <nardev> thanks!
[21:45:44] *** Sontakey has joined #angularjs
[21:46:06] *** shaisnir has joined #angularjs
[21:46:12] *** Sontakey has quit IRC
[21:46:15] *** hugofirth has joined #angularjs
[21:46:18] *** Sontakey1 has joined #angularjs
[21:46:38] <themime> oh god im looking at my first angular app and it has $http calls in the controller
[21:46:40] *** Sontakey has joined #angularjs
[21:46:41] *** marcjs_ has quit IRC
[21:46:46] <themime> i was so naive :(
[21:46:49] *** samuelsimoes has quit IRC
[21:47:00] <themime> i have to refactor like 5 pages to support promises
[21:47:08] *** mary5030 has joined #angularjs
[21:47:09] <themime> ..or 8
[21:47:32] *** mennea has quit IRC
[21:47:51] *** mennea has joined #angularjs
[21:48:00] *** jstroem has joined #angularjs
[21:48:25] *** annlewis has quit IRC
[21:48:33] *** nardev has quit IRC
[21:49:00] *** mennea has quit IRC
[21:49:12] *** ctanga has quit IRC
[21:49:26] *** Beatzebub has quit IRC
[21:50:12] *** nemothekid has joined #angularjs
[21:50:34] *** patrick99e99 has joined #angularjs
[21:50:39] *** B1x1t0 has joined #angularjs
[21:50:53] <dllama> i think i just took my "make it in plunk first" approach to far lol
[21:50:54] *** mary5030 has quit IRC
[21:51:10] <dllama> adding ui-router to it after the fact isn't playing out as nice as i would have hoped :)
[21:51:14] *** gombos has quit IRC
[21:51:37] *** toad-br has quit IRC
[21:51:39] <B1x1t0> hi guys, how can i play audio (tag audio doesn't support in IE8) in all browsers?
[21:51:45] *** tkimmel has joined #angularjs
[21:51:48] *** mary5030 has joined #angularjs
[21:52:34] *** gombos has joined #angularjs
[21:52:35] <themime> dllama: haha its probably not plunker
[21:52:47] <dllama> i know lol
[21:52:48] <themime> dllama: you know you can check console logs for plunkers right?
[21:52:55] <dllama> i know :D
[21:53:08] <themime> ui-router was the single biggest angular hurdle for me
[21:53:32] *** shaisnir has quit IRC
[21:54:40] *** whunt has joined #angularjs
[21:54:44] <themime> but so worth it
[21:54:54] *** Skrypter has quit IRC
[21:54:54] *** TheAceOfHearts has joined #angularjs
[21:55:09] *** doginal has joined #angularjs
[21:55:41] *** patrick99e99 has quit IRC
[21:56:14] *** tkimmel has quit IRC
[21:56:16] *** tilgovi has joined #angularjs
[21:56:25] *** mary5030 has quit IRC
[21:56:47] *** doug64k has joined #angularjs
[21:57:03] *** Johnny13371337 has joined #angularjs
[21:57:30] *** threesixes has quit IRC
[21:58:11] *** Shai-Tan has joined #angularjs
[21:58:48] *** TuRnaD0 has quit IRC
[21:59:53] *** mrtoadsc has joined #angularjs
[22:01:02] *** ingsoc has quit IRC
[22:01:50] *** threesixes has joined #angularjs
[22:02:31] *** Beatzebub has joined #angularjs
[22:03:33] <dllama> oh i'm loving it in my app
[22:03:45] <dllama> just though about further extending my plunk and will try to do so after i eat :)
[22:05:20] *** BillCriswell has joined #angularjs
[22:05:23] *** FergusL has quit IRC
[22:06:07] *** mennea has joined #angularjs
[22:06:20] *** FergusL has joined #angularjs
[22:07:18] *** mennea has quit IRC
[22:08:29] *** whunt has quit IRC
[22:08:29] *** DrMabuse has joined #angularjs
[22:09:19] *** Sontakey has left #angularjs
[22:09:42] *** blomman has joined #angularjs
[22:10:06] *** bmac has joined #angularjs
[22:10:22] *** jonr22 has joined #angularjs
[22:10:45] *** sacho_ has joined #angularjs
[22:10:48] *** mingzhej has quit IRC
[22:10:52] *** shampine has quit IRC
[22:11:03] *** Shrooms has quit IRC
[22:11:05] *** kuniyori has joined #angularjs
[22:13:41] *** DrMabuse has quit IRC
[22:14:06] *** Xethron has quit IRC
[22:14:14] *** sacho has quit IRC
[22:14:31] <Angelo> So.. I'm new to AngularJS, so excuse me if this is a dumb question. I have a button, and when clicking on it I want it to create an element with a controller (eg. "start" the controller on some element at the moment the button is clicked.) I looked into ngRoute, but it seems that is with url routing, which would not be what I want.
[22:15:13] <Angelo> I just realized that message didn't have any question :p so.. what part of the Angular documentation do I have to read to figure out how to do this?
[22:15:22] *** matthoiland has joined #angularjs
[22:16:19] <Logicgate> Why wouldn't you just toggle a variable instead.
[22:16:28] <Logicgate> and show the element when the variable is positive or negative.
[22:16:34] <Logicgate> using ng-show
[22:17:38] <Angelo> Ah! That is interesting. Time for me to tinker a bit. Thanks.
[22:17:55] *** mennea has joined #angularjs
[22:18:00] *** CorySimmons has joined #angularjs
[22:18:09] *** mary5030 has joined #angularjs
[22:18:10] *** ccohn has quit IRC
[22:18:11] *** shaisnir has joined #angularjs
[22:18:46] *** ccohn has joined #angularjs
[22:19:02] *** arpu has quit IRC
[22:20:11] *** Shrooms has joined #angularjs
[22:20:12] *** Shrooms has joined #angularjs
[22:20:21] *** toreilly has joined #angularjs
[22:20:29] *** matthoiland has quit IRC
[22:20:36] *** MattWelch has quit IRC
[22:21:08] *** laurensc_ has joined #angularjs
[22:21:20] *** mary5030 has quit IRC
[22:21:51] *** TommyO_ has quit IRC
[22:22:22] *** travm has quit IRC
[22:23:25] *** laurensclaessen has quit IRC
[22:23:37] *** ccohn has quit IRC
[22:23:42] *** jonr22 has quit IRC
[22:24:14] *** kalehv has quit IRC
[22:24:41] *** Reskp has joined #angularjs
[22:25:02] <themime> Angelo: also check out ui-router
[22:25:15] <themime> Angelo: state based with lots of features including named/nested views
[22:25:27] <themime> but ng-show is definitely a quick way
[22:25:29] <Angelo> themime: will do, thanks
[22:26:36] *** Trow has joined #angularjs
[22:26:36] *** mary5030 has joined #angularjs
[22:27:19] *** Aerospark has joined #angularjs
[22:28:59] *** mjs2600 has quit IRC
[22:31:02] *** preben_ has quit IRC
[22:31:36] *** jrowny has joined #angularjs
[22:31:39] *** jstroem has quit IRC
[22:32:20] *** FergusL has quit IRC
[22:32:25] *** jstroem has joined #angularjs
[22:33:02] *** Afl0W has left #angularjs
[22:33:17] *** FergusL has joined #angularjs
[22:34:50] *** Reskp has quit IRC
[22:35:18] *** memento_ has joined #angularjs
[22:36:23] *** jstroem has quit IRC
[22:36:42] *** JohnFree has quit IRC
[22:37:06] *** moritzs has quit IRC
[22:37:17] *** Reskp has joined #angularjs
[22:37:19] *** marcjs has joined #angularjs
[22:38:40] *** mary5030 has quit IRC
[22:39:25] *** grantfunke_ has quit IRC
[22:39:53] *** dgncn has quit IRC
[22:40:11] *** sahbeewah has joined #angularjs
[22:40:33] *** vlitzer1 has joined #angularjs
[22:41:13] *** NormySan has quit IRC
[22:41:18] *** xarian has joined #angularjs
[22:41:36] *** CorySimmons has quit IRC
[22:42:33] *** vlitzer has quit IRC
[22:43:34] *** annlewis has joined #angularjs
[22:43:46] *** TinkerTyper has joined #angularjs
[22:44:26] *** vbirtocian has joined #angularjs
[22:44:54] *** vlitzer has joined #angularjs
[22:45:47] *** rtpg has joined #angularjs
[22:46:23] *** travm has joined #angularjs
[22:46:46] *** cthrax has quit IRC
[22:47:17] *** mennea has quit IRC
[22:47:24] *** shinnya has joined #angularjs
[22:47:26] *** sahbeewah has quit IRC
[22:47:27] *** vlitzer1 has quit IRC
[22:47:59] *** annlewis has quit IRC
[22:48:11] *** doginal has quit IRC
[22:48:13] *** mennea has joined #angularjs
[22:48:49] *** TheAceOfHearts has quit IRC
[22:49:06] *** kuniyori has quit IRC
[22:49:12] *** firelinks has quit IRC
[22:49:29] *** vlitzer has quit IRC
[22:49:51] *** rho has joined #angularjs
[22:49:52] *** rho has joined #angularjs
[22:50:16] *** rtpg has quit IRC
[22:50:58] *** moritzs has joined #angularjs
[22:51:02] *** travm has quit IRC
[22:51:06] *** ngoyal has joined #angularjs
[22:51:17] *** ProLoser has joined #angularjs
[22:51:56] *** vlitzer has joined #angularjs
[22:52:02] *** travm has joined #angularjs
[22:52:52] *** annlewis has joined #angularjs
[22:53:04] *** edy has quit IRC
[22:53:31] *** TinkerTyper has quit IRC
[22:54:10] *** doginal has joined #angularjs
[22:54:24] *** Una has quit IRC
[22:55:23] *** threesixes666 has joined #angularjs
[22:55:37] *** edrocks has joined #angularjs
[22:55:39] *** threesixes has quit IRC
[22:55:39] *** threesixes666 has quit IRC
[22:55:54] *** BlinkyBill has joined #angularjs
[22:56:23] *** jeffisabelle has joined #angularjs
[22:56:33] *** calmbird has quit IRC
[22:56:34] *** vlitzer has left #angularjs
[22:56:37] *** threesixes has joined #angularjs
[22:56:45] *** linojon has joined #angularjs
[22:57:08] *** vlitzer has joined #angularjs
[22:57:53] *** MattWelch has joined #angularjs
[22:58:06] *** moafoca_ has joined #angularjs
[22:58:08] *** vlitzer has quit IRC
[22:58:23] *** jonr22 has joined #angularjs
[22:58:27] *** vlitzer has joined #angularjs
[22:59:58] *** vectra has joined #angularjs
[23:00:18] *** joshontheweb has joined #angularjs
[23:00:28] *** mupkoo has joined #angularjs
[23:00:33] *** threesixes has quit IRC
[23:01:08] *** iksik has joined #angularjs
[23:01:20] *** laurensc_ has quit IRC
[23:01:29] *** threesixes has joined #angularjs
[23:02:28] *** doginal has quit IRC
[23:05:05] *** amphetamines has quit IRC
[23:05:56] *** caitp has quit IRC
[23:06:09] *** ajk27 has joined #angularjs
[23:06:14] *** caitp has joined #angularjs
[23:06:23] *** doginal has joined #angularjs
[23:07:22] *** Sawbones has joined #angularjs
[23:08:24] *** B1x1t0 has quit IRC
[23:08:31] *** ceephax has quit IRC
[23:09:40] *** mrits has quit IRC
[23:11:10] *** josh-k has joined #angularjs
[23:11:10] *** Shrooms has quit IRC
[23:11:11] *** tbo_ has quit IRC
[23:12:51] *** Fishy has quit IRC
[23:13:16] *** tbo_ has joined #angularjs
[23:14:10] *** sacho_ has quit IRC
[23:14:33] *** sacho_ has joined #angularjs
[23:14:34] *** MacWinner has quit IRC
[23:14:53] *** jmverges has quit IRC
[23:16:03] *** shaisnir has quit IRC
[23:16:12] *** Sawbones has quit IRC
[23:16:14] *** tilgovi has quit IRC
[23:16:19] *** Trow has quit IRC
[23:16:31] *** emmesswhy has quit IRC
[23:16:45] *** scottc5 has joined #angularjs
[23:17:19] *** mennea has quit IRC
[23:17:36] *** Reskp has quit IRC
[23:17:58] *** mennea has joined #angularjs
[23:18:42] *** VinceZa has joined #angularjs
[23:19:41] *** prbc has joined #angularjs
[23:20:16] *** danecando has joined #angularjs
[23:21:19] *** DLSteve_ has joined #angularjs
[23:21:23] *** joshontheweb has quit IRC
[23:21:59] *** mupkoo has quit IRC
[23:22:40] *** kirfu has joined #angularjs
[23:23:05] *** MacWinner has joined #angularjs
[23:24:04] *** linojon has quit IRC
[23:24:11] *** josh-k_ has joined #angularjs
[23:24:31] *** DLSteve has quit IRC
[23:25:19] *** nickBek has joined #angularjs
[23:25:39] *** TheAceOfHearts has joined #angularjs
[23:26:04] *** kirfu1 has quit IRC
[23:26:21] *** nicksloan has joined #angularjs
[23:26:25] *** tbo_ has quit IRC
[23:27:46] *** szymek_ has joined #angularjs
[23:28:01] *** prbc has quit IRC
[23:28:05] *** josh-k has quit IRC
[23:29:01] *** andydrew has joined #angularjs
[23:29:02] *** Nizumzen has joined #angularjs
[23:29:06] *** shaisnir has joined #angularjs
[23:30:16] *** JohnBat26 has quit IRC
[23:30:17] *** TinkerTyper has joined #angularjs
[23:30:23] *** svteoi has joined #angularjs
[23:30:50] <nicksloan> before my application can do anything, it needs to have an API client id that it gets from localStorage, or from my API if it isn't in localStorage. Here's the code I use for that: https://gist.github.com/nicksloan/b0d8b83a878df5b5ba4e
[23:31:08] *** linojon has joined #angularjs
[23:32:40] <nicksloan> the trouble is, the function will return null a few times before the request finishes, and other stuff might start happening. What strategy do people use for sort of soft-blocking until prerequisites like that are met?
[23:33:13] *** joshontheweb has joined #angularjs
[23:33:26] *** shaisnir has quit IRC
[23:34:04] *** tbo_ has joined #angularjs
[23:34:37] *** szymek_ has quit IRC
[23:34:39] <benjick> Hi. How do I get the value from an input to the controller? I have a ng-model="name" and ng-keyup="myFunction". I wanna get the data from the input field
[23:34:54] *** vlitzer_ has joined #angularjs
[23:35:25] *** mennea has quit IRC
[23:36:08] *** JohnFree has joined #angularjs
[23:36:14] *** diegoaguilar has quit IRC
[23:37:00] <JohnFree> Hi guys. I've interpolation in ng-click and want to use one-way-binding. But bindonce from Pasvaz doesn't provide a bo-click or similar. How can I fix this?
[23:37:22] *** TinkerTyper has quit IRC
[23:37:49] <Grokling> JohnFree: Angular 1.3 fixes that.
[23:37:58] *** Reskp has joined #angularjs
[23:38:01] *** Oddman has quit IRC
[23:38:05] <JohnFree> Grokling: Can you show me sample code for ng-click?
[23:38:33] <JohnFree> Grokling: So everytime I use "{{::expression}}" -> This expression is one-time-binding?
[23:38:41] <Grokling> http://swirlycheetah.com/native-bind-once-in-angularjs-1-3/
[23:39:01] *** vlitzer has quit IRC
[23:39:24] *** jaydubya has quit IRC
[23:39:34] <JohnFree> Grokling: How can I pass expression to a function in ng-click?
[23:40:10] <JohnFree> Grokling: Like: <div ng-click="func({{::item}}"?
[23:40:15] *** doginal has quit IRC
[23:40:27] *** narutimateum2 has joined #angularjs
[23:41:49] *** AtomicCookie has quit IRC
[23:42:09] *** SomeKittens has joined #angularjs
[23:43:04] *** narutimateum has quit IRC
[23:43:07] *** doginal has joined #angularjs
[23:43:10] *** boberober has quit IRC
[23:44:11] *** boberober has joined #angularjs
[23:44:48] *** doginal has quit IRC
[23:44:48] *** TinkerTyper has joined #angularjs
[23:45:25] *** prbc has joined #angularjs
[23:45:33] *** doginal has joined #angularjs
[23:45:35] *** joshontheweb has quit IRC
[23:46:33] *** rtpg has joined #angularjs
[23:47:04] *** marshall_ has quit IRC
[23:48:16] *** edrocks has quit IRC
[23:49:04] *** cannap has quit IRC
[23:49:14] *** mary5030 has joined #angularjs
[23:50:09] *** joshontheweb has joined #angularjs
[23:50:23] *** okapi has joined #angularjs
[23:50:29] *** apertoire has quit IRC
[23:51:16] *** rtpg has quit IRC
[23:51:32] *** memento__ has joined #angularjs
[23:52:16] *** woah has joined #angularjs
[23:52:22] *** JohnFree has quit IRC
[23:53:56] *** mary5030 has quit IRC
[23:53:57] *** memento_ has quit IRC
[23:54:12] *** Reskp has quit IRC
[23:54:47] *** Reskp has joined #angularjs
[23:54:48] *** BillCriswell has quit IRC
[23:54:55] *** jMyles has joined #angularjs
[23:55:34] *** pbarbosa has joined #angularjs
[23:56:57] *** grantfunke_ has joined #angularjs
[23:57:08] *** \du has quit IRC
[23:57:15] *** DrMabuse has joined #angularjs
[23:58:34] *** BillCriswell has joined #angularjs
top

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