Switch to DuckDuckGo Search
   November 24, 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:01:11] *** reavengr1y has joined #angularjs
[00:01:29] *** adpirz has quit IRC
[00:02:02] *** benjamingr has joined #angularjs
[00:02:29] *** jMyles has quit IRC
[00:02:37] *** deanclkclk_ has quit IRC
[00:03:07] *** davemerwin has quit IRC
[00:03:30] *** deanclkclk has joined #angularjs
[00:03:39] *** c00ljs has quit IRC
[00:04:08] *** VinceZa has joined #angularjs
[00:04:35] *** c00ljs has joined #angularjs
[00:05:25] *** disorder20 has quit IRC
[00:05:50] *** tfennelly has quit IRC
[00:05:59] *** DrAwesomeClaws has joined #angularjs
[00:06:30] *** niop has quit IRC
[00:06:43] *** Lewix has quit IRC
[00:07:18] *** plushy1 has joined #angularjs
[00:07:28] *** monir has quit IRC
[00:08:11] *** plushy has quit IRC
[00:09:11] *** Johnny13371337 has quit IRC
[00:09:22] *** mary5030 has joined #angularjs
[00:10:05] *** JosephSilber has joined #angularjs
[00:10:20] *** patrick99e99 has joined #angularjs
[00:10:37] *** mary5030_ has joined #angularjs
[00:12:42] *** reavengr1y has quit IRC
[00:13:05] *** greg5green has quit IRC
[00:13:51] *** mary5030 has quit IRC
[00:14:37] *** dejanr has joined #angularjs
[00:14:40] *** patrick99e99 has quit IRC
[00:14:40] *** mven has joined #angularjs
[00:18:06] *** yts has quit IRC
[00:18:21] *** Una has quit IRC
[00:19:31] *** lemur has quit IRC
[00:19:36] *** punch has quit IRC
[00:19:52] *** DrAwesomeClaws has quit IRC
[00:20:02] *** reavengr1y has joined #angularjs
[00:20:04] *** lemur has joined #angularjs
[00:20:21] *** DrAwesomeClaws has joined #angularjs
[00:20:49] *** deanclkclk_ has joined #angularjs
[00:22:50] *** whunt has joined #angularjs
[00:23:11] *** Geertje123_ has joined #angularjs
[00:23:17] *** deanclkclk has quit IRC
[00:24:00] *** AlSquirikou has quit IRC
[00:24:35] *** lemur has quit IRC
[00:24:40] *** sajt has quit IRC
[00:24:49] *** Prjio has quit IRC
[00:24:49] *** Lewix has joined #angularjs
[00:24:58] *** Lewix has joined #angularjs
[00:25:23] *** Prjio has joined #angularjs
[00:25:32] *** danecando has quit IRC
[00:25:38] *** boxmein has quit IRC
[00:25:44] *** elrabin has quit IRC
[00:26:17] *** elrabin has joined #angularjs
[00:27:21] *** epantzar has quit IRC
[00:27:23] *** whunt has quit IRC
[00:27:59] *** elrabin has quit IRC
[00:29:07] *** danecando has joined #angularjs
[00:29:27] *** Prjio has quit IRC
[00:29:29] *** peterp has quit IRC
[00:30:33] *** jimmyy has quit IRC
[00:31:33] *** jpstone has joined #angularjs
[00:31:59] <ctanga> BahamutWC: https://github.com/angular-ui/ui-router/blob/master/src/common.js#L15
[00:33:27] *** punch has joined #angularjs
[00:34:11] <Grokling> ctanga! Just the man I need to talk to. I have some nested states with resolves. Can I expect the outer state to wait on completion of it's resolve map before the inner state kicks off it's resolves?
[00:34:21] <ctanga> Grokling: yep
[00:34:22] <Grokling> promises in the resolves.
[00:34:27] *** Una has joined #angularjs
[00:34:47] <ctanga> in 0.2.x all the resolves get resolved before the transition actually starts running
[00:35:15] <Grokling> Hmm. I have an outer which checks authentication. It's rejecting at the moment(as it should), but my inner resolve is firing off an api request anyway, which it shouldn't..
[00:35:18] <ctanga> but it’s all jumbled up if there aren’t actual dependencies
[00:35:51] *** epantzar has joined #angularjs
[00:35:57] <ctanga> if you want the nested resolve to wait for the outer resolve, inject its name into the nested state’s resolve
[00:36:00] *** epantzar has quit IRC
[00:36:10] *** soee has quit IRC
[00:36:19] *** tfennelly has joined #angularjs
[00:37:04] *** rhp has quit IRC
[00:37:12] <Grokling> So the nesting of the states is not sufficient?
[00:37:40] *** doginal has joined #angularjs
[00:38:32] *** MistahKurtz has joined #angularjs
[00:38:35] *** dweave has quit IRC
[00:39:21] <ctanga> the resolves happen for the entire transition, and is as eager as possible
[00:39:33] <ctanga> so it rolls up all the resolves it needs to process, and says “go for it”
[00:39:52] *** Geertje123_ has quit IRC
[00:39:54] <ctanga> they’ll all happen simultaneously, unless one depends on something else that is not yet ready
[00:40:47] <Grokling> Right. So consider it parallel. Thanks for clarifying that. How do I go about 'injecting it's name' into the nested state's resolve?
[00:40:49] *** tfennelly has quit IRC
[00:40:49] <ctanga> in 1.0 the resolves systemis way more flexible
[00:41:05] <ctanga> resolve: { nestedResolve: function(parentResolve) { } }
[00:42:13] <Grokling> The key is the map index from the combined app-wide collection of 'resolve' maps? So I should be namespacing them a bit?
[00:43:20] *** dc_ has joined #angularjs
[00:43:20] <Grokling> AND, that would allow me to chain resolves with an ability to refer to the result of an earlier resolve?
[00:44:15] *** Una has quit IRC
[00:44:18] *** evilaliv3 has quit IRC
[00:44:47] *** peterp has joined #angularjs
[00:45:28] <peterp> wafflej0ck_ BahamutWC - it worked! Thank you for the help. I didn't realize I could work it that easily by just setting the units to each other
[00:45:30] *** Sky[x] has quit IRC
[00:45:42] <peterp> err in this case, vars to each other. Will have to walk through the source and see how ng does that
[00:46:05] *** jmichaelward has joined #angularjs
[00:46:38] *** memento has joined #angularjs
[00:46:46] *** nemothekid has joined #angularjs
[00:47:21] *** parametaortho_ has joined #angularjs
[00:48:18] *** jpstone has quit IRC
[00:48:24] *** seriema_ has quit IRC
[00:48:28] *** glassir has quit IRC
[00:48:30] *** tobleronegordon has joined #angularjs
[00:48:47] *** vdiaz has joined #angularjs
[00:48:50] *** nairys has joined #angularjs
[00:49:20] <ctanga> Grokling: I wouldn’t go overboard on namespacing.. but yes, when you inject a resolve into a resolve, you get the resulting value of it
[00:49:22] <ctanga> gotta go, good luck
[00:49:26] *** whitebook has quit IRC
[00:49:28] <Grokling> ctanga: This code tells me that it has an unknown provider 'identity' http://pastebin.com/Ri9uVXVe
[00:49:44] <Grokling> Not yet! Please..
[00:50:17] *** jmichaelward has quit IRC
[00:51:37] *** Tyler_ has quit IRC
[00:53:07] *** Hippo has joined #angularjs
[00:53:32] *** seriema has joined #angularjs
[00:53:52] *** Aerospark has quit IRC
[00:53:52] *** seriema has quit IRC
[00:56:05] *** areologist has quit IRC
[00:56:08] *** Aliks has quit IRC
[00:56:26] *** alp82 has joined #angularjs
[00:56:44] *** Aliks has joined #angularjs
[00:57:32] *** rbs has quit IRC
[01:00:37] *** mkusher has quit IRC
[01:01:01] *** Aliks has quit IRC
[01:01:51] <Grokling> Mmm. So it doesn't quite work like I thought. It's a pain, but I can work around it.
[01:01:58] *** whitebook has joined #angularjs
[01:05:40] *** jonr2219 has joined #angularjs
[01:07:17] <burzum> is there any known bug that when using ng-if the text of the element doesnt shop up?
[01:07:51] *** dejanr has quit IRC
[01:07:52] <burzum> ive tried span, p and div - the text doesnt show up. if i try a h1 it works. ive tried to disable all styles in the inspector as well for the element no success.
[01:08:00] *** lite_ has joined #angularjs
[01:08:12] *** monir has joined #angularjs
[01:09:43] *** alinou has quit IRC
[01:09:50] <nairys> are you passing in a function for the expression?
[01:10:07] <nairys> or just evaluating a scope object?
[01:10:10] *** alinou has joined #angularjs
[01:10:38] <beckyconning_> burzum: posting code using the link in the topic will get your question answered faster : )
[01:11:15] <burzum> its not angular, happens in chrome and FF to me but there is nothing that would hide the text inside the element, pretty strange behavior
[01:12:19] <Grokling> burzum: You haven't somehow managed to put white text on a white background? (that happened to someone yesterday)
[01:12:19] *** lemur has joined #angularjs
[01:12:25] <nairys> it's not angular? as in you don't expect the problem to be with angular? or as in you're not using angular?
[01:12:39] *** lite_ has quit IRC
[01:12:42] <burzum> Grokling, no its a red gradiant with a white color (error msg)
[01:12:50] *** parametaortho_ is now known as parametaortho
[01:13:01] <burzum> nairys, i just figured out it happens without using an ng- directive on that element as well
[01:13:08] <burzum> its inside a modal, using angular ui
[01:13:22] *** dnull has joined #angularjs
[01:13:34] *** codeman has quit IRC
[01:13:58] *** Sadi has joined #angularjs
[01:14:02] <nairys> i'm assuming your modal is in another controller then
[01:14:29] <nairys> that means your modal has a different scope.
[01:14:49] *** rileylark has joined #angularjs
[01:14:51] <nairys> if you have a scope object from the main page, your modal won't have access to it
[01:15:10] *** TheAceOfHearts has quit IRC
[01:15:21] <dnull> how can i display var in html: http://plnkr.co/edit/flwTNAekTt8oT7mCoqUG?p=catalogue
[01:16:43] <burzum> nairys no, the ng-if works perfect, it shows the div / p but the text inside the element, which is not coming from angular, its inside the html is not shown. I dont think this is an angular issue.
[01:17:10] <nairys> burzum a plunkr would be helpful then if you really want to get help
[01:17:32] <nairys> dnull, you need a controller if you want to use $scope
[01:17:41] <BackEndCoder> Hippo, SEE
[01:17:53] <burzum> I'll try to fix it tomorrow and then try to do a plunker. its always time consuming to set these js things up on plunker imho :/
[01:17:54] <Hippo> Haha
[01:17:57] <Hippo> <3
[01:18:07] <BackEndCoder> i'm making an angular app now accually
[01:18:11] <dnull> nairys so i cant pass values in factory and display as a part of htmk
[01:18:14] <BackEndCoder> well trying too
[01:18:15] <dnull> *html
[01:18:26] <nairys> dnull, you can but you need to use a controller and inject the factory into the controller
[01:18:45] *** frem has joined #angularjs
[01:18:57] *** rileylark has quit IRC
[01:18:59] <dnull> nairys I have controller alrady, let me put that in pluker
[01:20:03] <dnull> nairys http://plnkr.co/edit/flwTNAekTt8oT7mCoqUG?p=catalogue
[01:20:08] <dnull> I have just updated
[01:21:53] <nairys> dnull, https://docs.angularjs.org/api/ng/directive/ngBindHtml
[01:23:14] <dnull> nairys I also have that working, How can i pass variable value is my issue
[01:24:06] *** whitebook has quit IRC
[01:24:25] *** Aerospark has joined #angularjs
[01:24:36] *** duellsy has joined #angularjs
[01:25:22] *** emmesswhy has joined #angularjs
[01:25:25] <nairys> dnull, i don't see you using that directive anywhere
[01:25:48] *** TheAceOfHearts has joined #angularjs
[01:25:58] *** Prjio has joined #angularjs
[01:25:58] *** robksawyer has quit IRC
[01:26:02] <nairys> ok so you're saying you're having an issue returning the {{bankrupt_flag}} variable within the html?
[01:26:48] <dnull> nairys Yes
[01:27:29] *** ludkiller has quit IRC
[01:28:14] *** asher^ has joined #angularjs
[01:29:17] *** Oddman has quit IRC
[01:29:34] *** jlambert121 has joined #angularjs
[01:29:42] *** alinou has quit IRC
[01:29:44] *** ludkiller has joined #angularjs
[01:29:48] <nairys> does it just say {{bankrupt_flag}} on the webpage?
[01:29:54] *** DrAwesomeClaws has quit IRC
[01:30:01] *** frem has quit IRC
[01:30:14] *** alinou has joined #angularjs
[01:30:17] *** Prjio has quit IRC
[01:30:26] *** DrAwesomeClaws has joined #angularjs
[01:30:54] *** Aerospark has quit IRC
[01:30:58] <dnull> nairys Yes
[01:31:03] <vdiaz> Hello. anyone know how to dynamically set input to required in directive (I know there is the required attr). JS fiddle here: http://jsfiddle.net/hm2b771z/
[01:31:15] *** renlo has quit IRC
[01:31:42] *** tfennelly has joined #angularjs
[01:32:12] *** frem_ has joined #angularjs
[01:32:22] <BahamutWC> vdiaz: use ng-required
[01:32:23] *** Shrooms has quit IRC
[01:32:47] <BahamutWC> ng-required and ng-model
[01:32:54] *** hmsimha_ has quit IRC
[01:33:03] <vdiaz> @BahamutWC I know aout ng-required. But this wont suffice for me. getting a config from DB and have many forms
[01:33:06] *** uru is now known as uru|away
[01:34:12] *** punch has quit IRC
[01:34:26] <BahamutWC> you can dynamically generate form elements with angular
[01:34:28] <Grokling> ng-required="inputModel.required"
[01:34:38] <BahamutWC> http://www.yearofmoo.com/2014/09/taming-forms-in-angularjs-1-3.html
[01:34:49] <oniijin> +1 on that article
[01:34:51] *** punch has joined #angularjs
[01:35:13] <nairys> dnull i think $compile is what you are looking for. i don't have a lot of experience with it so i wouldn't be able to help very much
[01:35:19] <nairys> maybe someone else here can help
[01:35:34] <wafflej0ck_> dnull: http://plnkr.co/edit/OafoArJNuYELPQ4GlGNh?p=preview
[01:35:42] <dnull> nairys np Thanks for you help
[01:35:47] *** renlo has joined #angularjs
[01:36:07] *** tfennelly has quit IRC
[01:36:47] <Grokling> wafflej0ck_: Turns out that you can inject resolves into each other. But only within the one state it seems.
[01:37:01] *** frem_ has quit IRC
[01:37:36] <wafflej0ck_> Grokling: yeah sort of saw you speaking with ctanga there figured really he'd know better personally I mostly have stayed away from resolves so I'm not too familiar with all the details anyhow but good to know
[01:37:38] <BahamutWC> also for those curious, Matias gave a talk on forums with Angular a week ago here in Mountain View: http://slides.yearofmoo.com/ng-mtv-meetup-nov2014/index.html#/0/0/
[01:37:40] *** jonr22 has quit IRC
[01:37:47] <dnull> wafflej0ck_ Thanks you :)
[01:37:48] *** Oddman has joined #angularjs
[01:37:53] <wafflej0ck_> dnull: np
[01:37:54] <dnull> *Thank
[01:38:07] <wafflej0ck_> nairys: yeah it's $interpolate for this case $compile you want for directives
[01:38:18] *** jonr2219 has quit IRC
[01:38:29] <BahamutWC> forms* not forums
[01:38:32] <nairys> thanks wafflej0ck_ - i learned something today!
[01:38:53] *** jonr22 has joined #angularjs
[01:38:55] <Grokling> wafflej0ck_: Yeah, it didn't really work out how I'd hoped. So I ended up making my own promise chain inside the resolve for the child state. It's uglier than it needs to be, but it works.
[01:38:57] <vdiaz> BehamutWC, Grokling - I want to pull the config inside the directive and set ng-required within the directive
[01:39:00] *** k-dawg has joined #angularjs
[01:39:06] *** jonr22 has quit IRC
[01:39:20] *** punch has quit IRC
[01:39:24] <BahamutWC> vdiaz: you could create a directive wrapper that has the input element you want as a template with the ng-required and ng-model attributes
[01:40:00] <BahamutWC> check out that yearofmoo article I linked, it seems to address the things you're trying to do
[01:40:11] <vdiaz> reviewing now.. thx
[01:40:42] *** jgladwill has quit IRC
[01:40:54] <BahamutWC> I should also note, yearofmoo.com is the blog of one of the Angular core team members
[01:41:11] <wafflej0ck_> yah brian ford right?
[01:41:19] <BahamutWC> Matias
[01:41:21] *** marcjs_ has quit IRC
[01:41:25] <wafflej0ck_> oh is it?
[01:41:32] <wafflej0ck_> hmm got them mixed up I guess
[01:41:43] <BahamutWC> who else would write about ngAnimate stuff :P
[01:41:50] <wafflej0ck_> right make sense
[01:42:27] <wafflej0ck_> I used his post on bower components was super helpful, a few other ones too
[01:44:04] *** Aliks has joined #angularjs
[01:44:19] *** evotuned has joined #angularjs
[01:45:03] <wafflej0ck_> haven't really dug into $animate but I've made use of ngAnimate for some basic CSS driven animations, still have to try that like 10 times every time I give it a go though and takes lots of debugging would be good to get a solid grasp on that
[01:46:01] *** jlmitch5dev has joined #angularjs
[01:46:51] *** epantzar has joined #angularjs
[01:47:37] *** whitebook has joined #angularjs
[01:48:00] *** SonikBoom has quit IRC
[01:48:07] *** evotuned has quit IRC
[01:48:07] <beckyconning_> is there an angular util for indexof with object value equality rather?
[01:48:10] *** Aerospark has joined #angularjs
[01:48:16] <beckyconning_> i.e. not object reference equality
[01:48:26] <beckyconning_> or however you say it : P
[01:48:42] <Grokling> angular.equals
[01:48:46] <beckyconning_> thanks!
[01:49:07] *** Sadi has quit IRC
[01:49:10] <Grokling> or was it .equal? You'll find it either way I suspect!
[01:49:23] *** Sadi has joined #angularjs
[01:50:04] *** deanclkclk_ has quit IRC
[01:50:10] *** quantax- has joined #angularjs
[01:50:13] *** evotuned has joined #angularjs
[01:50:51] *** punch has joined #angularjs
[01:51:18] *** epantzar has quit IRC
[01:51:32] *** \du has quit IRC
[01:52:24] <beckyconning_> Grokling: its equals but not quite what i was looking for! i'll stick to using filters and then getting the indexOf after. ty!
[01:52:34] *** quantax has quit IRC
[01:52:51] *** Aerospark has quit IRC
[01:52:58] <Grokling> beckyconning_: Maybe array.find() is closer to what you need?
[01:53:04] *** recidive has quit IRC
[01:53:15] <beckyconning_> that sounds promising!
[01:53:34] *** dejanr has joined #angularjs
[01:53:42] *** jmichaelward has joined #angularjs
[01:53:56] <Grokling> Works the same as a filter, only returns the first match and stops.
[01:54:27] <beckyconning_> Grokling: ah! its Array.prototype.findIndex : )
[01:54:29] <beckyconning_> thanks!
[01:55:11] <Grokling> np. Lots of tricks out there waiting to be discovered.
[01:56:25] *** kwaledesign has joined #angularjs
[01:57:00] *** alinou has quit IRC
[01:57:28] <wafflej0ck_> beckyconning_: not really supported anywhere it looks like https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex
[01:57:34] <beckyconning_> ah its too out there for now.
[01:57:37] <wafflej0ck_> beckyconning_: I typically use lodash for that kind of thing
[01:57:39] <beckyconning_> wafflej0ck_: yeah
[01:57:45] *** alinou has joined #angularjs
[01:57:57] *** DrAwesomeClaws has quit IRC
[01:58:03] *** bmac has quit IRC
[01:58:18] *** punch has quit IRC
[01:59:13] *** junmin has joined #angularjs
[01:59:23] <beckyconning_> filter then indexOf seems to work though so i'll stick with that
[01:59:25] *** plushy has joined #angularjs
[01:59:31] *** davemerwin has joined #angularjs
[01:59:45] *** dnewkerk has quit IRC
[02:00:03] *** Luser_ has quit IRC
[02:00:31] *** punch has joined #angularjs
[02:00:36] *** Luser has joined #angularjs
[02:00:40] <Grokling> beckyconning_: Are you trying to find one matching object from an array of objects?
[02:00:43] *** plushy has quit IRC
[02:00:54] <beckyconning_> need the index
[02:01:01] <beckyconning_> for bad bad bad ionic services
[02:01:13] *** plushy1 has quit IRC
[02:01:13] <BahamutWC> what are you doing with Ionic?
[02:01:21] *** plushy has joined #angularjs
[02:01:27] <beckyconning_> http://ionicframework.com/docs/api/service/$ionicActionSheet/
[02:01:38] <BahamutWC> oh that one lol
[02:02:16] <beckyconning_> testing the function that produces the `buttonClicked` handler omg
[02:02:20] <BahamutWC> what we do is have an object that has the index of the choice on it :(
[02:02:30] <BahamutWC> an array of objects*
[02:03:52] *** davemerwin has quit IRC
[02:03:58] *** Sadi has quit IRC
[02:03:59] <beckyconning_> you would have thought it would be as simple as `buttons: [ { text: x, buttonClicked: f }, { text: y, buttonClicked: g } ]`...
[02:04:21] <BahamutWC> a lot of things are not simple with Ionic
[02:04:37] *** rho has joined #angularjs
[02:04:37] *** gunn has quit IRC
[02:04:37] *** rho has quit IRC
[02:04:38] *** rho has joined #angularjs
[02:04:39] <BahamutWC> we're trying our next app with Angular Material as a result of dissatisfaction
[02:04:54] <beckyconning_> i know this from having to patch it to have a feature that the client thought was in it...
[02:05:10] <BahamutWC> we forked Ionic too :(
[02:05:18] <Lewix> this keyword vs $scope - what do you prefer
[02:05:32] <BahamutWC> the code may be open source, but they seem to ignore contributions from the community
[02:05:37] *** Juanchito has quit IRC
[02:05:38] <Lewix> $scope separate concerns, the this keyword would put the model in the controller instance
[02:05:42] <beckyconning_> https://github.com/driftyco/ionic/pull/2579/files
[02:06:00] <Grokling> $scope is always what it says. 'this' means different things in different places.
[02:06:03] *** jonr22 has joined #angularjs
[02:06:12] *** elrabin has joined #angularjs
[02:06:21] <Lewix> Grokling: that's not what i asked =)
[02:06:23] <Lewix> but thanks
[02:07:19] <Grokling> yw. Only mentioned it because disambiguation is high on my list of priorities at the moment, so I prefer $scope for exactly that reason.
[02:07:20] <BahamutWC> beckyconning_: I have two PRs open that are over a month old myself
[02:07:33] <BahamutWC> and they keep merge conflicting them repeatedly without even commenting
[02:07:42] <BahamutWC> one of them fixes a real issue with the garbage collection
[02:07:47] <beckyconning_> BahamutWC: its a shame! they're gonna try and push their saas full stack stuff
[02:07:56] *** whitebook has quit IRC
[02:08:03] <beckyconning_> BahamutWC: but they could have made loads off selling support for ionic if they supported it properly
[02:08:08] <beckyconning_> imho
[02:08:14] <beckyconning_> at 1 in the morning
[02:08:15] <BahamutWC> yup
[02:08:17] <Lewix> Grokling: angular 2.0 got rid of $scope
[02:08:28] *** Foxandxss has quit IRC
[02:08:36] <Grokling> Sheesh.. past tense already, and it's not even out yet.
[02:08:36] <Lewix> Grokling: I was thinking that its not MVVM anymore
[02:08:37] <BahamutWC> I think they are angling their product more for designers who want to rapidly prototype with not completely awful code
[02:09:40] <Lewix> Grokling: it's out in google labs -
[02:09:43] <beckyconning_> the thing is its great if you only use it for what its meant to do
[02:09:43] <Lewix> =)
[02:10:00] <BahamutWC> but angular devs are anything but typical :)
[02:10:04] <beckyconning_> yeah : P
[02:10:22] <beckyconning_> also the designs i am working to (which are great) have very little to do with ionic
[02:10:25] <BahamutWC> this is one issue that bit me hard: https://github.com/driftyco/ionic/issues/2471
[02:10:30] <Lewix> i mean if they get rid of scope where the separation of concerns
[02:10:42] <Lewix> where is* / I wonder
[02:10:52] <BahamutWC> I even pointed to where in the code is the issue
[02:10:58] <beckyconning_> aaaaaaaaaaaaaaaa
[02:11:14] *** eamonn has quit IRC
[02:11:14] *** patrick99e99 has joined #angularjs
[02:11:34] <beckyconning_> BahamutWC: ouch.
[02:11:39] <BahamutWC> oh hey that's right they deprecated the viewService heh
[02:11:46] *** eamonn has joined #angularjs
[02:12:15] *** bmac has joined #angularjs
[02:12:35] *** darrin has joined #angularjs
[02:12:38] <BahamutWC> also I have an awful hack to hide tabs but that has to inherit from the view with tabs due to how opinionated Ionic is
[02:12:58] <BahamutWC> <ion-tab class="ng-hide"><ion-nav-view name="foo-tab"></ion-nav-view></ion-tab>
[02:13:02] *** jmichaelward has quit IRC
[02:13:09] *** kwaledesign has quit IRC
[02:13:45] *** whitebook has joined #angularjs
[02:14:25] *** k-dawg has quit IRC
[02:14:26] <BahamutWC> if the DOM isn't structured carefully, you can also run into scroll issues in the desktop
[02:14:29] *** dnewkerk has joined #angularjs
[02:14:48] <BahamutWC> and some of the Ionic directives are heavily tied to the ionScroll directive, which magically appears from ion-content
[02:14:55] *** dnewkerk has quit IRC
[02:15:27] <TheAceOfHearts> wow, I just looked at the initial commit for git, it was literally under 1000 LOC
[02:15:28] *** darrin has quit IRC
[02:15:42] *** darrin has joined #angularjs
[02:15:48] *** patrick99e99 has quit IRC
[02:15:49] <BahamutWC> did they use git to commit for git?
[02:15:53] *** eamonn has quit IRC
[02:16:15] *** FIFOd[a] has quit IRC
[02:16:31] *** FIFOd[a] has joined #angularjs
[02:16:57] <BahamutWC> oh, it's one of the top posts on HN
[02:17:26] *** Luser has quit IRC
[02:19:33] *** alinou has quit IRC
[02:19:44] *** plushy has quit IRC
[02:20:16] *** alinou has joined #angularjs
[02:20:21] *** dejanr has quit IRC
[02:20:23] <wsmoak> anyone doing GeoJSON with Angular?
[02:20:34] *** cthrax has joined #angularjs
[02:20:44] *** rburns has joined #angularjs
[02:20:44] *** jlmitch5dev has quit IRC
[02:20:46] <wsmoak> I tried <input type="text" ng-model="ctrl.item.location.coordinates[0]" /> (and another with [1])
[02:21:00] *** dejanr has joined #angularjs
[02:21:12] *** Una has joined #angularjs
[02:21:18] *** jlmitch5dev has joined #angularjs
[02:21:22] *** dweave has joined #angularjs
[02:21:23] *** DatAceHoleTweedl has quit IRC
[02:21:43] <wsmoak> and got location: { coordinates: { 0: 3.2, 1: 5.0 } when I need coordinates as an array
[02:21:48] *** plushy has joined #angularjs
[02:22:22] *** darrin has quit IRC
[02:23:09] *** blackpuma has joined #angularjs
[02:23:22] <ctanga> Grokling: i see a pastebin you posted, but it’s gone
[02:23:55] <ctanga> Grokling: you can inject any parent state’s resolve into any child state’s resolve
[02:24:12] *** whunt has joined #angularjs
[02:24:15] <Grokling> ctanga: Yeah, I didn't get it working in the end - I needed to inject resolves into a different state, and it wouldn't work for me.
[02:24:34] <ctanga> hmm it should work
[02:24:45] <ctanga> what version of uirouter?
[02:24:49] *** seriema has joined #angularjs
[02:24:55] *** fedenunez has joined #angularjs
[02:24:55] *** whitebook has quit IRC
[02:24:59] *** dsdeiz has joined #angularjs
[02:25:01] *** dsdeiz has joined #angularjs
[02:25:01] <ctanga> there was a bug before 0.2.11 i think
[02:25:04] *** marr has quit IRC
[02:25:25] <Grokling> here it is again: http://pastebin.com/J1Wkc8pG
[02:25:34] <BahamutWC> you're a ui-router encyclopedia :)
[02:25:49] <Grokling> I'm on 0.2.10, so possibly should look at an update!
[02:26:39] *** kevinxu_ has joined #angularjs
[02:26:54] *** dylan9o4 has joined #angularjs
[02:27:03] *** Prjio has joined #angularjs
[02:27:27] <Grokling> I'd been hoping that the parent state resolves would happen first all by themselves (because that would make sense), then I'd know that any child states would necessarily have tested true for authentication without me having to test it again for each one.
[02:27:30] *** tfennelly has joined #angularjs
[02:27:44] *** blackpuma has quit IRC
[02:28:19] <ctanga> Grokling: current ui-router is very eager about resolves executing. ui-router 1.0 will have 3 options: “eager”, “lazy”, “just-in-time”
[02:28:22] *** jMyles has joined #angularjs
[02:28:24] *** dannyc has joined #angularjs
[02:28:30] *** motionman has joined #angularjs
[02:28:32] *** prbc has quit IRC
[02:28:38] <ctanga> Grokling: you are expecting the “lazy” mode, but ui-router implements “eager” mode currently
[02:28:50] *** jlmitch5dev has quit IRC
[02:28:51] *** whunt has quit IRC
[02:29:07] <Grokling> right. So I need to be un-lazy to work around the eagerness ;-)
[02:29:13] *** dweave has quit IRC
[02:29:17] <beckyconning_> before this project i was working on an frp "realtime" database service thing so i think after this project i'll be moving away from angular and towards mixing that library with kefir js and react js and browserify instead of angular js. but then it might drag me back in again! it has lots to offer.
[02:29:35] <pontiki> my first angular app: http://blog.tamouse.org/move.com-coding-challenge-ng-002/#/view1
[02:29:48] *** seriema has quit IRC
[02:30:02] *** ludkiller has quit IRC
[02:30:23] *** MistahKurtz has quit IRC
[02:30:44] *** ludkiller has joined #angularjs
[02:31:40] <ctanga> Grokling: here’s the issue fixed in 0.2.11 https://github.com/angular-ui/ui-router/issues/702
[02:31:51] *** Prjio has quit IRC
[02:32:18] *** tfennelly has quit IRC
[02:32:33] <ctanga> Grokling: although your pastebin looks like it would work, since you’re trying to access the resolve from a direct parent state
[02:32:36] <BahamutWC> beckyconning_: I've been thinking of Polymer myself instead of React
[02:32:39] <wafflej0ck_> pontiki: congrats!
[02:32:50] <ctanga> BahamutWC: interesting. why for?
[02:32:56] *** dannyc has quit IRC
[02:33:10] <BahamutWC> ctanga: for a project down the line, maybe one outside work
[02:33:22] <Grokling> ctanga: I tried it in a plunker which uses //angular-ui.github.io/ui-router/release/angular-ui-router.js and it still doesn't give me any love.
[02:33:22] <beckyconning_> BahamutWC: polymer looks nice and i love the way they are sensible web components but i'm not 100% sure how to fit it into frp patterns
[02:33:23] *** charuru has quit IRC
[02:33:28] *** Nannet has quit IRC
[02:33:49] <BahamutWC> I'm sort of waiting for Angular 2.0 before going into FRP patterns
[02:33:59] <Grokling> ctanga: http://plnkr.co/edit/09CDtp?p=preview
[02:34:01] <ctanga> Grokling: hold a sec, I’ll post a p plunk
[02:34:02] <BahamutWC> O.o seems to be the way to go
[02:34:47] <BahamutWC> in that sense, Angular was the framework to bring that pattern to the popularity with $watch, but instead is changing to use native JS for that behavior
[02:35:45] <BahamutWC> React seems to overlap with Web Components quite heavily but in an awkward fashion
[02:36:01] <BahamutWC> I sense similar breaking changes on the horizon for React
[02:36:49] *** ron1 has joined #angularjs
[02:37:15] <BahamutWC> this is a dangerous time for frontend development
[02:37:39] <BahamutWC> things are moving very fast, and the goal of code reusability may be fractured by the fast coming changes of ES6 and web components
[02:37:50] *** charuru has joined #angularjs
[02:38:40] *** cswelin has quit IRC
[02:38:59] <BahamutWC> with the irony that they're supposed to foster reusability and ease of developing with
[02:39:13] *** greengriminal has quit IRC
[02:39:49] <s3shs> They'll foster all the good stuff after the transition.
[02:39:51] <s3shs> :-)
[02:39:55] <BahamutWC> true
[02:39:59] <s3shs> (To ES6)
[02:40:04] <BahamutWC> spent some time with Polymer again this morning
[02:40:18] <BahamutWC> found a Chrome bug with shadow dom
[02:40:19] <s3shs> How do you like it?
[02:40:47] <BahamutWC> Polymer has a quite different feel to it
[02:40:49] <s3shs> I gotta say, shadowdom sounds like it's gonna be a can of worms.
[02:40:59] <BahamutWC> I think React might be the closest thing to web components out there atm
[02:41:00] <s3shs> "everything's a directive"
[02:41:15] <dylan9o4> hey guys, I'm new to angular, I have a test app based on the one provided in the ajs website tut, and I had a question about how the data is synced and what I can do to fix what appears to be a problem im running into on the detail template page in my code
[02:41:31] <BahamutWC> well, I think how angular is going to handle is is each directive will register a new shadow dom element on the fly
[02:41:43] *** mtho11 has joined #angularjs
[02:41:51] <beckyconning_> BahamutWC: i mean there isn't really anything to React so i can see it being easy to swap it out for other stuff
[02:42:02] <dylan9o4> here is my page, http://phenoral.com/ang/env2/#/phones
[02:42:06] <BahamutWC> beckyconning_: well, it's the whole view layer
[02:42:20] <dylan9o4> and I'm running into an issue when choosing a phone
[02:42:35] *** lemur has quit IRC
[02:42:40] *** Cache_Money has quit IRC
[02:42:41] *** cswelin has joined #angularjs
[02:42:43] <BahamutWC> but certain things in its design already conflicts with web components, such as camelcased element names
[02:42:51] <s3shs> React looks like jquery.
[02:42:54] <s3shs> (Sort of.)
[02:43:06] <ctanga> Grokling: http://plnkr.co/edit/sm3rmCb65gmnGAz9RcA2?p=preview
[02:43:10] *** lemur has joined #angularjs
[02:43:27] <beckyconning_> i might just use underscore templates i have no idea what i'm doing after this lol
[02:43:31] <BahamutWC> haha
[02:43:43] <BahamutWC> I want to use Polymer bad for a static page project
[02:43:54] <BahamutWC> seems like the perfect thing to use for something simple
[02:44:30] *** FIFOd[a] has quit IRC
[02:44:40] <BahamutWC> I can see why people are liking using React, although I think React isn't as much of a joy when projects get more complex
[02:44:53] *** nemothekid has quit IRC
[02:45:00] <BahamutWC> having to choose and piece together libraries kind of sucks
[02:45:04] *** kwaledesign has joined #angularjs
[02:45:10] *** peterp has quit IRC
[02:45:14] <Grokling> Thanks ctanga. I'll climb all through that later tonight and see if I can get it sorted.
[02:45:15] <ctanga> Grokling: the plunk you posted has a typo it tries to inject ‘foos’ into ‘FooRootController’ but it should be ‘Foos’
[02:46:01] <Grokling> ctanga: It was right.. but I changed 'foos' to 'freckles'. Your one works, so I'll run with that.
[02:46:17] *** motionman has quit IRC
[02:46:21] *** NoNMaDDeN has quit IRC
[02:46:29] *** nemothekid has joined #angularjs
[02:46:49] *** MaxV has joined #angularjs
[02:46:56] <beckyconning_> anyway i'm gonna get back to work lol.
[02:47:08] <BahamutWC> gl
[02:47:57] *** lemur has quit IRC
[02:47:57] <dsdeiz> hey all any suggestion on how i can "refresh" a directive on button click?
[02:48:46] *** Aerospark has joined #angularjs
[02:49:48] *** lilbaby has joined #angularjs
[02:51:33] *** MaxV has quit IRC
[02:53:04] *** Aerospark has quit IRC
[02:53:19] *** gunn has joined #angularjs
[02:56:12] *** kwaledesign has quit IRC
[02:56:29] *** Shrooms has joined #angularjs
[02:56:30] *** Shrooms has joined #angularjs
[02:56:46] *** abosama has joined #angularjs
[02:56:48] *** lite_ has joined #angularjs
[02:57:13] *** devhoag has quit IRC
[02:57:45] <abosama> Salam everyone <3
[02:58:01] *** JERE has quit IRC
[02:58:33] *** abosama has left #angularjs
[02:58:42] *** ludkiller has quit IRC
[02:58:48] *** JoshGlzBrk has joined #angularjs
[02:58:50] *** ludkiller has joined #angularjs
[02:59:53] *** motionman has joined #angularjs
[02:59:58] *** motionman has joined #angularjs
[03:00:48] *** ron1 has quit IRC
[03:00:59] *** elrabin has quit IRC
[03:01:22] *** lite_ has quit IRC
[03:01:22] *** threesixes has quit IRC
[03:01:44] <dsdeiz> any suggestions on how i can "refresh" a directive's template when a button is clicked? and also call the controller as well..
[03:02:05] *** punch has quit IRC
[03:02:30] *** abosama has joined #angularjs
[03:02:55] *** oliver___ has joined #angularjs
[03:03:00] <abosama> Here is great resource guys: https://thinkster.io/
[03:03:09] <abosama> also this: https://egghead.io/
[03:03:26] *** lw has joined #angularjs
[03:03:29] *** ron1 has joined #angularjs
[03:03:30] *** Aliks has quit IRC
[03:03:42] *** rileylark has joined #angularjs
[03:03:50] *** fourq has joined #angularjs
[03:04:03] <dylan9o4> is there somewhere better than this to go for help? this seems like a more conversational channel..
[03:05:00] *** BillCriswell has quit IRC
[03:05:07] *** ron1 has quit IRC
[03:05:09] *** MuffinMan` has quit IRC
[03:05:20] *** punch has joined #angularjs
[03:05:52] *** elrabin has joined #angularjs
[03:06:46] *** elrabin has quit IRC
[03:07:00] *** ankushnarula has joined #angularjs
[03:07:18] *** jmichaelward has joined #angularjs
[03:07:29] *** corehook has joined #angularjs
[03:07:44] *** heizkessel has joined #angularjs
[03:07:54] *** kwaledesign has joined #angularjs
[03:08:22] *** rho has quit IRC
[03:08:23] *** themime has joined #angularjs
[03:09:16] *** parametaortho has quit IRC
[03:09:16] *** dejanr has quit IRC
[03:10:58] *** motionman has quit IRC
[03:11:03] *** heizkessel is now known as motionman
[03:12:02] *** peterp has joined #angularjs
[03:12:13] <abosama> Ya welcome everybody
[03:13:13] *** elrabin has joined #angularjs
[03:13:28] *** ron1 has joined #angularjs
[03:13:54] *** plushy has quit IRC
[03:14:04] *** plushy has joined #angularjs
[03:14:37] *** Aerospark has joined #angularjs
[03:15:51] *** kmtrowbr has joined #angularjs
[03:16:51] *** mogaj has joined #angularjs
[03:16:52] *** mdedetrich has joined #angularjs
[03:16:54] *** prbc has joined #angularjs
[03:16:58] *** elrabin has quit IRC
[03:17:01] *** kwaledesign has quit IRC
[03:17:11] *** asher^_ has joined #angularjs
[03:17:23] <TheAceOfHearts> dylan9o4: nope lol
[03:17:33] <TheAceOfHearts> but that's just IRC
[03:17:41] <TheAceOfHearts> you could try the mailing list
[03:18:00] *** JoshGlzBrk has quit IRC
[03:18:01] <dylan9o4> lol yeahh
[03:18:19] *** TyrfingMjolnir has quit IRC
[03:18:21] <TheAceOfHearts> but like, keep in mind that people here that are helping others out are doing it in their free time
[03:18:27] *** jmichaelward has quit IRC
[03:18:37] *** asher^ has quit IRC
[03:19:10] *** dlehn has quit IRC
[03:19:50] *** punch has quit IRC
[03:20:11] *** threesixes has joined #angularjs
[03:21:01] *** dlehn has joined #angularjs
[03:21:51] *** renlo has quit IRC
[03:23:12] *** ron1 has quit IRC
[03:23:21] *** VinceZa has quit IRC
[03:23:29] *** jonr22 has quit IRC
[03:23:32] *** monir has quit IRC
[03:23:48] *** elrabin has joined #angularjs
[03:23:58] *** monir has joined #angularjs
[03:25:11] *** ron1 has joined #angularjs
[03:25:14] *** monir has quit IRC
[03:25:30] *** Aerospark has quit IRC
[03:25:32] *** seriema has joined #angularjs
[03:25:47] *** VinceZa has joined #angularjs
[03:26:13] *** asher^_ has quit IRC
[03:26:39] *** elrabin has quit IRC
[03:26:40] *** jonr22 has joined #angularjs
[03:26:50] *** c00ljs has quit IRC
[03:26:51] *** asher^ has joined #angularjs
[03:27:47] *** Prjio has joined #angularjs
[03:29:33] *** dannyc has joined #angularjs
[03:29:48] *** Aliks has joined #angularjs
[03:30:30] *** seriema has quit IRC
[03:30:37] *** humanPincushion has joined #angularjs
[03:31:42] *** jonr22 has quit IRC
[03:32:00] *** bmac has quit IRC
[03:32:13] *** Prjio has quit IRC
[03:32:28] *** lemur has joined #angularjs
[03:32:48] *** threesixes has quit IRC
[03:33:09] *** SergioFilhow_ has quit IRC
[03:33:10] *** punch has joined #angularjs
[03:33:53] *** dannyc has quit IRC
[03:34:05] *** emmesswhy has quit IRC
[03:34:07] *** ctanga has quit IRC
[03:34:28] *** emmesswhy has joined #angularjs
[03:34:46] *** ctanga has joined #angularjs
[03:35:13] *** ron1 has quit IRC
[03:35:22] *** davemerwin has joined #angularjs
[03:35:28] *** rchavik has joined #angularjs
[03:35:37] *** davemerwin has quit IRC
[03:35:53] *** davemerwin has joined #angularjs
[03:36:14] *** davemerwin has quit IRC
[03:36:14] *** elrabin has joined #angularjs
[03:36:53] *** Aerospark has joined #angularjs
[03:38:02] *** kwaledesign has joined #angularjs
[03:38:16] *** apertoire has quit IRC
[03:38:22] *** reavengr1y has quit IRC
[03:39:14] *** adpirz has joined #angularjs
[03:39:58] *** elrabin has quit IRC
[03:40:54] *** FortuneDays has joined #angularjs
[03:40:56] *** wsmoak has quit IRC
[03:41:14] <FortuneDays> Is there a yeoman angular generator for feature sorting instead of type sorting?
[03:41:15] *** rileylark has quit IRC
[03:41:21] *** Iravan has joined #angularjs
[03:42:26] *** renlo_ has joined #angularjs
[03:42:36] *** ctanga has quit IRC
[03:42:37] *** renlo_ is now known as renlo
[03:43:03] *** RedOrangeZ has quit IRC
[03:43:45] *** adpirz has quit IRC
[03:44:34] <sacho> dylan9o4, you never asked a question
[03:44:52] *** dc_ has quit IRC
[03:44:55] *** robksawyer has joined #angularjs
[03:46:28] *** jeffbalboni has quit IRC
[03:46:54] *** NoNMaDDeN has joined #angularjs
[03:47:14] *** elrabin has joined #angularjs
[03:47:59] <dylan9o4> sacho: you're right, its just a special character encoding in a json in an environment and how to handle them
[03:48:55] *** scrooge_mcduck has left #angularjs
[03:49:48] <dylan9o4> I'm using firebase but it is angularfire and #firebase is pretty sparse
[03:50:00] *** rileylark has joined #angularjs
[03:51:05] *** elrabin has quit IRC
[03:51:38] <dylan9o4> like ™
[03:51:44] *** alinou has quit IRC
[03:52:21] *** NoNMaDDeN has quit IRC
[03:53:17] *** dc_ has joined #angularjs
[03:54:13] *** darrin has joined #angularjs
[03:55:04] *** threesixes has joined #angularjs
[03:55:06] *** corehook has quit IRC
[03:55:14] *** Oddman has quit IRC
[03:56:21] *** niop has joined #angularjs
[03:57:13] *** ron1 has joined #angularjs
[03:58:02] *** MaxV has joined #angularjs
[03:58:26] *** corehook has joined #angularjs
[04:00:37] *** VinceZa has quit IRC
[04:01:25] *** alp82 has quit IRC
[04:02:06] *** VinceZa has joined #angularjs
[04:02:54] *** MaxV has quit IRC
[04:03:41] *** discgo has quit IRC
[04:05:36] *** motionman has quit IRC
[04:07:09] *** Hackwar1 has joined #angularjs
[04:07:24] *** Shrooms has quit IRC
[04:08:36] *** Hackwar has quit IRC
[04:08:40] *** mmealling has joined #angularjs
[04:09:12] *** TyrfingMjolnir has joined #angularjs
[04:09:28] *** robksawyer has quit IRC
[04:09:28] *** motionman has joined #angularjs
[04:10:20] <beckyconning_> does anyone have any idea why this spy isn't being called? http://plnkr.co/edit/t4NTTmjA4SsEGAzguj4h?p=preview
[04:10:45] *** kwaledesign has quit IRC
[04:12:06] *** patrick99e99 has joined #angularjs
[04:12:23] *** kushNYC has joined #angularjs
[04:13:00] <dsdeiz> any suggestions on how i can "refresh" a directive's template when a button is clicked? and also call the controller as well..
[04:13:06] *** ankushnarula has quit IRC
[04:13:06] *** kushNYC is now known as ankushnarula
[04:13:07] *** map7 has joined #angularjs
[04:13:15] *** robksawyer has joined #angularjs
[04:13:48] *** moritzschaefer has joined #angularjs
[04:14:15] <wafflej0ck_> dsdeiz: can you show what you're trying?
[04:15:08] *** Nannet has joined #angularjs
[04:15:21] *** threesixes has quit IRC
[04:15:50] *** AlSquirikou has joined #angularjs
[04:16:22] *** patrick99e99 has quit IRC
[04:16:33] *** niop has quit IRC
[04:16:42] <BahamutWC> beckyconning_: http://plnkr.co/edit/RWgwQNZySRp4I7h2z5QF?p=preview
[04:16:45] <dsdeiz> yeah sec
[04:17:18] <BahamutWC> when working with promises in Angular, you need to do $scope.$apply()
[04:17:28] *** moritzs has quit IRC
[04:17:30] <beckyconning_> BahamutWC: thanks! i do know that but i've have been up for at least 24 hours and would have missed that forever so thanks!
[04:17:30] *** robksawyer has quit IRC
[04:17:38] <BahamutWC> ah heh
[04:17:46] <BahamutWC> just explaining in case :)
[04:18:18] <beckyconning_> BahamutWC: : ]
[04:18:42] *** robksawyer has joined #angularjs
[04:19:02] *** moritzschaefer has quit IRC
[04:21:01] <beckyconning_> i got stuck for half an hour earlier because i had typed Promise.resolve instead of $q.when and so locals.$scope.$digest wasn't working and like, rather than thinking i had made a silly mistake somewhere i thought that i basically didn't know anything about javascript and that i was missing some sort of massive fundamental point or something omg
[04:21:16] *** mary5030_ has quit IRC
[04:21:32] <beckyconning_> programming is weird.
[04:21:34] *** VinceZa has quit IRC
[04:21:52] *** mary5030 has joined #angularjs
[04:21:56] *** elrabin has joined #angularjs
[04:22:23] *** kirfu has quit IRC
[04:22:23] *** rburns has quit IRC
[04:22:25] <wafflej0ck_> dylan9o4: I haven't used firebase but it looks like it mostly stores things as UTF-8 and from doing a bit of googling it looks like a trademark should encode correctly if the response headers indicate the response body is UTF-8 encoded json using the appropriate headers, do you have a sample by chance?
[04:22:25] *** ctanga has joined #angularjs
[04:22:30] <BahamutWC> well, Angular does its own funky stuff
[04:22:34] *** ElysiumNet has quit IRC
[04:22:39] *** kirfu has joined #angularjs
[04:22:54] *** kushNYC has joined #angularjs
[04:22:54] *** rburns has joined #angularjs
[04:24:21] *** ankushnarula has quit IRC
[04:24:21] *** kushNYC is now known as ankushnarula
[04:25:33] *** daminhove has joined #angularjs
[04:25:41] *** diegoaguilar has joined #angularjs
[04:25:53] *** mary5030 has quit IRC
[04:26:04] *** bayousoft has joined #angularjs
[04:26:05] *** elrabin has quit IRC
[04:26:24] *** ankushnarula has quit IRC
[04:26:37] *** seriema has joined #angularjs
[04:27:17] *** ankushnarula has joined #angularjs
[04:27:50] *** peterp has quit IRC
[04:28:00] *** cotko has quit IRC
[04:28:06] *** oliver___ has quit IRC
[04:28:08] *** shinnya has quit IRC
[04:28:20] *** VinceZa has joined #angularjs
[04:28:39] *** Prjio has joined #angularjs
[04:29:38] *** davesidious_ has joined #angularjs
[04:30:22] *** dannyc has joined #angularjs
[04:30:26] <dsdeiz> wafflej0ck_: trying to do this http://plnkr.co/edit/rXpk7oZ6dU7AjllD5QKW?p=preview but can't get it to work with plnkr
[04:31:03] <dsdeiz> basically when refresh is called, everything inside the controller is re-ran
[04:31:11] *** k-dawg has joined #angularjs
[04:31:42] *** seriema has quit IRC
[04:32:26] <dsdeiz> i'm not sure what the best way to do this though :D
[04:32:58] *** focii has joined #angularjs
[04:33:03] *** Prjio has quit IRC
[04:33:12] *** davesidious__ has quit IRC
[04:33:34] <wafflej0ck_> dsdeiz: here got the basic part working can you expand on it a bit more http://plnkr.co/edit/luSuh1dGYLrgzt8gbjI4?p=preview
[04:33:42] *** shinnya has joined #angularjs
[04:33:48] <wafflej0ck_> dsdeiz: you have a few options here
[04:34:00] *** SergioFilhow_ has joined #angularjs
[04:34:07] <wafflej0ck_> dsdeiz: basically you can have the directive emit an event that the controller has a listener setup for and then it does some stuff
[04:34:23] *** dannyc has quit IRC
[04:34:27] <wafflej0ck_> dsdeiz: or you could move the logic/data into a service/factory and then inject that into the controller and directive and just modify the data that way
[04:34:40] *** bayousoft has quit IRC
[04:34:50] *** ankushnarula has quit IRC
[04:35:03] <wafflej0ck_> the latter is typically "better" IMO but not always the case
[04:35:11] *** ankushnarula has joined #angularjs
[04:35:44] <wafflej0ck_> depends on what the directive is really supposed to do and how you plan to re-use it
[04:35:46] *** edrocks has joined #angularjs
[04:35:58] <dsdeiz> nah, not planning on re-using it
[04:36:11] <wafflej0ck_> yah go the second route then
[04:36:12] <focii> Hi. I have a ng-submit that calls a save function which will use $http to post to a url different than the page. If I modify the headers to ‘application/x-www-form-urlencoded; charset=utf-8’ the action still fires but the url is changed from ‘/test-save’ to ‘/test’ and from POST to GET. I’ve tried changed it in both the $httpProvider.defaults and in the $http call itself. I’m lost at whats going on
[04:36:47] <dsdeiz> you mena logic/data in a service/factory?
[04:36:51] <dsdeiz> s/mena/mean
[04:36:53] <wafflej0ck_> dsdeiz: the first route using an event decouples it a bit better but tracing what happened with events makes things more difficult since it's all async stuff going on you don't get clean stack traces
[04:36:56] <wafflej0ck_> dsdeiz: yeah
[04:37:01] <dsdeiz> got it. thx!
[04:38:12] *** SergioFilhow_ has quit IRC
[04:39:05] *** darrin has quit IRC
[04:40:41] *** bkuberek has quit IRC
[04:40:42] *** fedenunez has quit IRC
[04:41:17] *** mdedetrich has quit IRC
[04:42:00] *** mdedetrich has joined #angularjs
[04:43:25] *** Fenikkusu has quit IRC
[04:43:44] *** VinceZa has quit IRC
[04:43:51] *** SahanH has joined #angularjs
[04:43:56] *** Fenikkusu has joined #angularjs
[04:44:27] *** Cooluhuru has joined #angularjs
[04:44:44] *** jrajaratnam has joined #angularjs
[04:45:10] *** darrin has joined #angularjs
[04:45:11] *** FIFOd[a] has joined #angularjs
[04:45:28] *** lite_ has joined #angularjs
[04:45:48] <jrajaratnam> hello all! I have searched all over the web and can not get a resolution to my issue.. any help would be greatly appreciated… I’m implementing angular-google-maps to my app.
[04:46:02] <jrajaratnam> I’ve followed all the steps and I get the following error when running my app:
[04:46:13] <jrajaratnam> Error: [$injector:modulerr] Failed to instantiate module google-maps due to:
[04:46:13] <jrajaratnam> Error: [$injector:nomod] Module 'google-maps' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
[04:47:04] <jrajaratnam> i’ve even tried moving: <script src="//maps.googleapis.com/maps/api/js?sensor=false"></script> into my header to ensure that it gets loaded before any other scripts
[04:47:13] <jrajaratnam> I used yo angular to create my app
[04:47:25] <jrajaratnam> and bower install to install angular-google-maps
[04:47:54] <wafflej0ck_> jrajaratnam: the error means it doesn't have the angular-google-maps javascript file loaded
[04:47:59] *** jackliusr has joined #angularjs
[04:48:03] <beckyconning_> wafflej0ck_: dsdeiz: i normally have an directive scope thing called like on-update or something that the directive user can register a controller method with it. is that a bad idea or something? e.g. `scope: { onRefresh: "&", rows: "=" }` on a directive definition object
[04:48:08] <wafflej0ck_> jrajaratnam: are you using grunt-wiredep to include your dependencies
[04:48:35] <jrajaratnam> I’m using whatever comes out of the box with Yeoman
[04:48:48] *** theBorgu has quit IRC
[04:48:53] <wafflej0ck_> beckyconning_: nope nothing wrong with that, the solution just didn't come to mind... but seems reasonable too
[04:49:00] *** emmesswhy has quit IRC
[04:49:21] <jrajaratnam> wafflej0ck: I am seeing <script src="bower_components/angular-google-maps/dist/angular-google-maps.js"></script>
[04:49:22] *** ankushnarula has quit IRC
[04:49:35] <jrajaratnam> in my .html flie so it must be adding it and loading it
[04:49:42] <wafflej0ck_> jrajaratnam: no errors before the one you put there?
[04:49:47] <jrajaratnam> I believe the issue is with loading the Google Maps API script
[04:49:48] <beckyconning_> wafflej0ck_: cool : ) i like that method cos it feels like they are easy to re-use. just wanted to make sure it wasn't a bad idea.
[04:49:58] *** FIFOd[a] has quit IRC
[04:50:06] <jrajaratnam> Uncaught Error: [$injector:modulerr] Failed to instantiate module liqrlyAngularApp due to:
[04:50:18] *** lite_ has quit IRC
[04:50:22] <jrajaratnam> so:
[04:50:24] <jrajaratnam> Uncaught Error: [$injector:modulerr] Failed to instantiate module liqrlyAngularApp due to:
[04:50:25] <jrajaratnam> Error: [$injector:modulerr] Failed to instantiate module google-maps due to:
[04:50:25] <jrajaratnam> Error: [$injector:nomod] Module 'google-maps' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
[04:50:50] *** delight has quit IRC
[04:50:51] <wafflej0ck_> jrajaratnam: you see this file loaded in the network panel? bower_components/angular-google-maps/dist/angular-google-maps.js
[04:50:56] <wafflej0ck_> jrajaratnam: check it's contents
[04:51:24] <beckyconning_> e.g. `<sc-list on-refresh="getLatestRows" rows="rows"></sc-list>`
[04:52:02] <jrajaratnam> hmmm.. the only thing loaded in Network is “bootstrap.css.map”
[04:52:11] <wafflej0ck_> beckyconning_: yeah I mean only "issue" I see with it is you can't easily have multiple functions listen for it just like ng-click but it's a nice convenient and pretty clean way to go otherwise
[04:52:20] <wafflej0ck_> jrajaratnam: refresh while you have the panel open
[04:52:28] <wafflej0ck_> jrajaratnam: disable cache checkbox in there too
[04:52:39] <beckyconning_> wafflej0ck_: ah that makes sense. yeah.
[04:52:54] *** bhuvanaurora has joined #angularjs
[04:52:55] *** rburns has quit IRC
[04:53:32] *** bhuvanaurora has quit IRC
[04:53:35] <jrajaratnam> ok i see that it is loaded
[04:53:48] <BahamutWC> did you include your module as a dependency?
[04:53:51] *** bhuvanaurora has joined #angularjs
[04:54:02] <BahamutWC> i.e. angular.module('liqrlyAngularApp', ['google-maps'])
[04:54:09] <jrajaratnam> yes
[04:54:17] *** Cache_Money has joined #angularjs
[04:54:23] <BahamutWC> is the module name 'google-maps'?
[04:54:31] <wafflej0ck_> yeah so in the content of the file loaded check it's definition
[04:54:50] <jrajaratnam> yes.. the tutorial i’m followingis using the same name
[04:54:51] <wafflej0ck_> you'll see angular.module('something-about-maps-here') make sure that matches with your dependency
[04:54:58] <BahamutWC> looks like it's 'uiGmapgoogle-maps'
[04:55:01] <wafflej0ck_> jrajaratnam: check the actual source that's loaded
[04:55:10] <BahamutWC> https://github.com/angular-ui/angular-google-maps/blob/master/dist/angular-google-maps.js
[04:55:29] *** ankushnarula has joined #angularjs
[04:55:41] <jrajaratnam> the angular-google-maps directive is a dependent on the Google Maps API script
[04:55:55] <wafflej0ck_> jrajaratnam: try to change the dependency to uiGmapgoogle-maps as BahamutWC said
[04:56:12] <wafflej0ck_> jrajaratnam: if you're loading the code just linked to it appears that's the current module name
[04:56:16] <jrajaratnam> and the ‘google-maps’ is a module of the Google Maps API script not the angular-google-maps
[04:56:23] <jrajaratnam> ok I will try it
[04:56:41] <BahamutWC> the angular module system is different from other non-angular scripts
[04:56:59] *** jackliusr has quit IRC
[04:57:06] <jrajaratnam> google.maps = google.maps
[04:57:24] <jrajaratnam> that’s the line in the actual Google Maps API script
[04:57:32] <BahamutWC> that has nothing to do with the angular module system
[04:57:34] <jrajaratnam> so I feel like I’m using the right modeul
[04:57:36] <jrajaratnam> module
[04:57:41] <jrajaratnam> I’ll try it with the other one as suggested
[04:57:53] *** NoNMaDDeN has joined #angularjs
[04:57:54] <BahamutWC> the only thing that matters is the module defined in angular.module('moduleName', [])
[04:58:30] *** rburns has joined #angularjs
[04:58:55] *** kushNYC has joined #angularjs
[04:59:39] <jrajaratnam> wow… well that seemed to do the trick
[04:59:46] *** L0j1k has left #angularjs
[04:59:52] *** Milkweed has quit IRC
[05:00:01] <jrajaratnam> must have been a change since the video tutorial was done in July
[05:00:03] *** ankushnarula has quit IRC
[05:00:03] *** kushNYC is now known as ankushnarula
[05:00:07] <BahamutWC> could be
[05:00:12] <BahamutWC> do some reading up on angular.module
[05:00:30] *** jmichaelward has joined #angularjs
[05:00:30] <jrajaratnam> thank you so much guys.. learned how to diagnose this stuff a little better with your help
[05:00:46] <BahamutWC> np
[05:00:54] <jrajaratnam> another arrow in the quiver…. although I have PLENTY of room for more arrows
[05:01:13] *** tobleronegordon has quit IRC
[05:01:38] <BahamutWC> you won't be able to carry them all once you're done using angular :)
[05:02:15] <jrajaratnam> haha, hope that’s the case.
[05:02:21] *** k-dawg has quit IRC
[05:02:57] <jaydubya> nickeddy, are you around?
[05:03:14] *** bhuvanaurora has quit IRC
[05:03:24] *** SpotSec has quit IRC
[05:03:30] *** NoNMaDDeN has quit IRC
[05:03:35] *** Left_Turn has quit IRC
[05:04:31] <jaydubya> anyone using gulp-concat as an autoloader for the javascript files that have to be included in index.html
[05:04:33] *** robksawyer has quit IRC
[05:05:04] <BahamutWC> jaydubya: what do you need to know?
[05:05:16] *** ciwolsey has quit IRC
[05:05:40] *** jmichaelward has quit IRC
[05:05:41] *** Angulario has joined #angularjs
[05:05:54] *** nycdevgirl has joined #angularjs
[05:06:16] <jaydubya> i have been playing all weekend with nickeddy's gulpfile and I was wondering how people who use the "autoloader" start a new ng project (that includes testing)
[05:06:17] *** SpotSec has joined #angularjs
[05:06:39] *** deanclkclk has joined #angularjs
[05:06:44] <BahamutWC> you can inject the scripts you need into the config files/index.html
[05:06:54] <BahamutWC> best to do it to a copy of index.html to avoid merge conflicts though
[05:07:51] *** corehook has quit IRC
[05:08:34] *** corehook has joined #angularjs
[05:08:56] <jaydubya> to start a brand new project, do you use a github repo or bower or what ... I'm looking for a "proper" workflow and "proper" architecture with plans on using gulp-concat and karma and phantomjs
[05:10:22] <BahamutWC> with task runners like grunt or gulp, it's about setting up a workflow you like
[05:10:45] <BahamutWC> for example I like having a watch task of sorts that watches for when a file changes and then runs through the appropriate task associated with that file
[05:10:59] <BahamutWC> for example, if I change a LESS file, I like to see my LESS files get compiled to a new CSS file
[05:11:38] <jaydubya> yes, that's what I am trying to build but there doesn't seem to be a consensus on structure etc
[05:11:40] <wafflej0ck_> jaydubya: I basically have a git repo that I mirror for new projects with all the basics setup then just customize it from there
[05:12:08] *** kevinxu_ has quit IRC
[05:12:08] <jaydubya> so no bower
[05:12:16] <BahamutWC> that's because there isn't much of a consensus
[05:12:20] <jaydubya> lol
[05:12:29] *** MTGap has quit IRC
[05:12:31] <jaydubya> tough for beginners
[05:12:42] <BahamutWC> devs are opinionated as hell
[05:13:14] *** corehook has quit IRC
[05:13:17] <wafflej0ck_> jaydubya: I use bower too
[05:13:17] <map7> I'm getting an error when starting protractors webdriver-manager, has anyone seen this error before http://pastie.org/9739443
[05:13:32] <wafflej0ck_> jaydubya: https://docs.google.com/document/d/1XXMvReO8-Awi1EZXAXS4PzDzdNvV6pGcuaF4Q9821Es/pub <-- this is I think the generally accepted way to go in terms of folder structure
[05:13:33] <BahamutWC> I use bower as well - it's convenient as hell, and lets you version your plugins
[05:13:39] <BahamutWC> I hate wiredep though
[05:13:43] <jaydubya> I watched a video on egghead on saturday on refactoring and absolutely loved how the project was assembled
[05:13:49] <BahamutWC> too opinionated of a tool
[05:14:01] *** araujo has quit IRC
[05:14:04] *** Orbitrix has quit IRC
[05:14:13] <wafflej0ck_> yeah so far have barely used wiredep so far has seemed okay to me but I haven't put it through any serious paces on projects or anything
[05:14:18] <Angulario> When using the module: angular-local-storage from: https://github.com/grevory/angular-local-storage is this the correct initialization process ( my app runs fine other than getting this module loaded ) Here is the paste-bin: http://pastebin.com/fieQHZkh
[05:14:37] *** Orbitrix has joined #angularjs
[05:14:45] <jaydubya> so, wafflej0ck_, you used bower to build a sample project and then repoed it and that's your starter?
[05:15:25] *** jonr22 has joined #angularjs
[05:15:27] <BahamutWC> Angulario: any errors?
[05:15:34] <Angulario> just says lss is undefined
[05:15:36] <Angulario> no errors
[05:15:38] <wafflej0ck_> jaydubya: actually used yo angular as the basis of it initially, stripped down/modified the Gruntfile for one of my early projects and mirrored that as the template, since then I just keep that project-template.git project updated with changes I want for all future projects
[05:15:39] <Angulario> all seems to build fine
[05:16:07] <wafflej0ck_> jaydubya: wrote two scripts one to setup a new bare repo on the server and one to run on my client machine that mirrors the project-template.git into the new bare repository
[05:16:19] <BahamutWC> Angulario: shouldn't .setPrefix('TSLApplication'); be 'TestCaseApplication'?
[05:16:25] <BahamutWC> 'TestCaseApp'*
[05:16:32] <Angulario> yeah that was a typo of me trying to cover up my company name
[05:16:39] <Angulario> its all TSLApplication in the source on my cpu lol
[05:17:01] <jaydubya> wafflej0ck_: so if you have a new project, you just clone, run bower install, and start coding
[05:17:31] *** defaultdict has quit IRC
[05:18:19] <wafflej0ck_> jaydubya: yeah run script on server, run script on client (provide same name in each, I also have a project-template for websites vs components so it sets up the appropriate stuff by prompting in the bash scripts for website or component) then I just change directory to the new place the second script clones to by default (/var/www/projectName), npm install && bower install, subl ., grunt serve
[05:18:26] <BahamutWC> Angulario: not sure what the problem would be here
[05:18:30] *** mennea has joined #angularjs
[05:18:37] <BahamutWC> not sure why you would even get the error message that lss is not a function
[05:18:37] *** sinequanon has joined #angularjs
[05:18:45] <wafflej0ck_> oh actually it does the npm install && bower install
[05:18:49] *** wolfman2000 has joined #angularjs
[05:18:49] <BahamutWC> isSupported is just a key...
[05:18:51] <wafflej0ck_> forgot about that
[05:19:10] *** corehook has joined #angularjs
[05:19:14] <Angulario> yeah seems lss should be mapped to... localStorageService
[05:19:17] <jaydubya> wafflej0ck_: that's what I want to build ... do you use grunt-concat?
[05:19:30] <Angulario> so lss.isSupported should be a bool..
[05:19:39] <wafflej0ck_> jaydubya: yeah for the build step it uses concat
[05:19:40] *** il is now known as audioburn
[05:20:09] *** punch has quit IRC
[05:20:12] <BahamutWC> the code looks fine to me
[05:20:12] *** edzez_ has quit IRC
[05:20:20] *** jonr22 has quit IRC
[05:20:28] <jaydubya> wafflej0ck_: OK, I'm off to yo angular then (via Google, of course)
[05:20:51] <Angulario> lss is undefined..
[05:20:57] <dnull> how can I wrap something like this in between ' ' : '{{outcome['@runnerNumber']}}{{$last ? '.' : ', '}}'
[05:21:12] <Angulario> so bummer right now I wanted to work on this but been 30 mins looking at what seems like no error
[05:21:18] <dnull> I get error: https://docs.angularjs.org/error/$parse/lexerr?p0=Unexpected%20next%20character%20&p1=s%208-8%20%5B@%5D&p2=outcome%20@runnerNumber
[05:21:20] *** edzez_ has joined #angularjs
[05:21:23] <wafflej0ck_> jaydubya: http://youtu.be/zQNbsCTFrAA?t=34m55s <-- video I did for this stuff
[05:21:38] <jaydubya> wafflej0ck_: you are awesome!
[05:22:02] <BahamutWC> dnull: just use a function at that point
[05:22:25] <wafflej0ck_> jaydubya: yeah np figured since it took me a while to figure out I wouldn't want to forget it all and would be helpful for others
[05:22:25] *** davek has quit IRC
[05:22:37] <BahamutWC> that's a lot of logic in two interpolation statements - one interpolation statement with a function that returns the value you want would be more efficient
[05:23:06] *** corehook has quit IRC
[05:24:02] *** burzum2 has joined #angularjs
[05:24:18] <wafflej0ck_> jaydubya: I do want to switch to using gulp eventually but for now this gruntfile does everything I need, basically I just take out the filerev or rev task from the Gruntfile since I don't typically care about the cache-busting and it has been problematic for me
[05:24:19] *** nesquerra has joined #angularjs
[05:24:28] *** delight has joined #angularjs
[05:26:01] *** burzum has quit IRC
[05:26:30] <jaydubya> wafflej0ck_: does Grunt do the autoloading thing that gulp-concat can do ... that is my most important need b/c going back to index.html to include every file is killing me b/c I am trying to be "religious" in that each file only contains one thing
[05:26:46] <dnull> BahamutWC I didnt get that
[05:26:59] *** asher^ has quit IRC
[05:27:16] <wafflej0ck_> jaydubya: sounds like what wiredep does the yo angular project currently includes that by default
[05:27:42] *** seriema has joined #angularjs
[05:27:44] <BahamutWC> dnull: why not do {{getValue()}} where $scope.getValue returns what you want?
[05:27:45] <wafflej0ck_> jaydubya: the wiredep task automatically loads the dependencies in your bower.json by looking the dependencies bower.json file for a main:"somefile.js" property
[05:28:12] *** adpirz has joined #angularjs
[05:28:16] <wafflej0ck_> jaydubya: the problem is if the package maintainer doesn't include a main section in their bower.json, then you still have to load it yourself or get a pull request merged to fix their repo
[05:28:20] <dnull> BahamutWC Ahh ok
[05:28:23] <wafflej0ck_> jaydubya: or clone it or something
[05:28:32] <jaydubya> wafflej0ck_: have you ever used Laravel (PHP)
[05:28:58] <wafflej0ck_> jaydubya: I use Eloquent ORM so I use a big chunk of Laravel but I use Slim for doing my routing since I don't need the templating of Laravel
[05:28:58] *** rburns has quit IRC
[05:29:07] *** rburns has joined #angularjs
[05:29:23] *** Prjio has joined #angularjs
[05:29:48] *** punch has joined #angularjs
[05:30:06] <jaydubya> wafflej0ck_: well, in Laravel we have psr4 which means I can autoload a namespace and anytime I create a file in a watched folder, it is automatically included by Laravel. THAT is what I desperately need in Angular
[05:30:08] *** exp10r3r has quit IRC
[05:30:46] <wafflej0ck_> jaydubya: yeah the problem is basically you don't really want to load all the js files in the bower folder
[05:31:28] <wafflej0ck_> jaydubya: I'm sure you could code up a grunt task or a gulp plugin or whatever to do some more advanced loading for you but there's gotta be somewhere you list the dependencies still
[05:31:30] *** princeraj has joined #angularjs
[05:31:38] <princeraj> Hello
[05:31:52] <wafflej0ck_> jaydubya: typically I just do it myself in the index.html, it's usually all that's in the index.html aside from a ui-view or a few maybe
[05:32:16] <jaydubya> wafflej0ck_: I can deal with listing the eight or so js files that bootstraps the ng app ... it is the controllers, filters, directives, factories, services, etc, etc that I want to automate
[05:32:24] *** seriema has quit IRC
[05:32:39] *** rileylark has quit IRC
[05:32:43] <princeraj> excuse me.........
[05:32:50] <princeraj> can i have attension please
[05:32:59] *** adpirz has quit IRC
[05:33:00] *** darrin has quit IRC
[05:33:18] <wafflej0ck_> jaydubya: yeah personally I "solved" this problem by typically including a service and controllers related to some area of the app in one file unless it becomes "too long" which is just a judgement call I make this way I don't have 100 files to include
[05:33:30] *** elrabin has joined #angularjs
[05:33:42] *** ankushnarula has quit IRC
[05:33:48] <princeraj> i want to perform city state relation with php mysql
[05:33:54] <princeraj> using angularjs
[05:33:56] *** Prjio has quit IRC
[05:33:56] *** kp666 has joined #angularjs
[05:33:58] <jaydubya> wafflej0ck_: gotcha
[05:34:04] <dnull> wafflej0ck_ could you please poiint me how can i put this in ' ' : '{{outcome['@runnerNumber']}}{{$last ? '.' : ', '}}
[05:34:05] *** ankushnarula has joined #angularjs
[05:34:08] *** Sgeo is now known as Woosh2
[05:34:15] <princeraj> can anyone have any idea?
[05:34:17] *** Woosh2 is now known as Sgeo
[05:34:26] *** kevinxu has joined #angularjs
[05:34:27] *** bhuvanaurora has joined #angularjs
[05:34:41] *** princeraj has quit IRC
[05:34:48] *** whitebook has joined #angularjs
[05:34:58] *** kevinxu is now known as Guest65478
[05:35:06] <wafflej0ck_> dnull: js properties can't start with an @
[05:35:10] *** JohnBat26 has joined #angularjs
[05:35:22] *** NoNMaDDeN has joined #angularjs
[05:35:54] <dnull> wafflej0ck_ That is a json property which is working fine at the moment
[05:36:21] <wafflej0ck_> dnull: just sayin' I've looked it up recently you can't start a property with @ so I would start with changing that if you have the option
[05:36:58] <dnull> wafflej0ck_ Yes we have version 2 of 3rd party coming
[05:37:09] <dnull> 3rd party api
[05:37:22] <wafflej0ck_> okay so not sure I understand the question though
[05:37:38] <wafflej0ck_> you want to quote the thing or something?
[05:37:40] <dnull> wafflej0ck_ Let me plnkr
[05:37:58] *** elrabin has quit IRC
[05:38:44] *** Orbitrix has quit IRC
[05:38:51] <dnull> wafflej0ck_ http://plnkr.co/edit/flwTNAekTt8oT7mCoqUG?p=info line 24
[05:39:08] *** Orbitrix has joined #angularjs
[05:39:15] *** bhuvanaurora has quit IRC
[05:40:03] *** delight_ has joined #angularjs
[05:40:15] <wafflej0ck_> dnull: oh probably either use " on the outside or use \' to escape the single quotes on the inside
[05:41:18] *** delight has quit IRC
[05:41:18] *** delight_ is now known as delight
[05:41:26] *** ctanga has quit IRC
[05:41:52] <wafflej0ck_> jaydubya: really grouping parts in one file like that was also a judgement call because I felt I had to flip between files too much using services in controllers, having it in one file makes that a lot easier too
[05:42:41] *** discgo has joined #angularjs
[05:43:37] <jaydubya> wafflej0ck_: do you mean that all of your directives are in directives.js? or all filters, directives, controllers etc that deal with let's say football go in football.js
[05:44:35] *** Nannet has quit IRC
[05:44:51] <wafflej0ck_> jaydubya: yeah usually something like, users.js, companies.js these would each have a service and a few controllers, maybe some filters or directives if they are specific to that part of the app, then a directives folder that has more generic directives that would be used throughout or that I might make into separate components for inclusion on other projects cause they're generic enough
[05:44:59] *** gauravsaini03 has joined #angularjs
[05:45:05] *** exp10r3r has joined #angularjs
[05:45:21] <wafflej0ck_> same kind of thing for filters though typically I just group the filters based on what they do like, dateFitlers.js or whatever
[05:45:24] *** Nannet has joined #angularjs
[05:45:48] *** ankushnarula has quit IRC
[05:46:02] <wafflej0ck_> dateFilters.js* even
[05:46:11] *** ankushnarula has joined #angularjs
[05:46:12] <jaydubya> wafflej0ck_: yeah, I've seen something like that with a shared folder (for app wide stuff) and then each "feature" having a folder with a js file and a view
[05:46:32] <wafflej0ck_> yeah my views I keep separate from the scripts
[05:46:41] <wafflej0ck_> but typically has the same feature folder structure
[05:46:51] *** threesixes has joined #angularjs
[05:47:04] *** lilbaby has quit IRC
[05:47:43] *** SergioFilhow has joined #angularjs
[05:47:57] *** mennea has quit IRC
[05:48:00] *** bhuvanaurora has joined #angularjs
[05:48:30] <wafflej0ck_> jaydubya: but yeah I would also have those in /scripts/user/users.js and then if users.js gets unwieldy I might split it into userService.js and userControllers.js or even split the controllers if they get verbose (though this is avoided and rare)
[05:48:34] *** mennea has joined #angularjs
[05:48:54] <wafflej0ck_> and would have /views/user/home.html /views/user/edit.html something like that
[05:48:56] *** lw has quit IRC
[05:49:04] <jaydubya> wafflej0ck_: gotcha
[05:49:16] *** tfennelly has joined #angularjs
[05:50:01] *** raj__ has joined #angularjs
[05:50:11] *** Grokling_ has joined #angularjs
[05:50:38] <jaydubya> the wiredep you mentioned is "taptapship/wiredep"?
[05:51:12] *** raj__ has left #angularjs
[05:51:15] <jaydubya> wafflej0ck_: ^
[05:51:21] <wafflej0ck_> jaydubya: https://github.com/stephenplusplus/grunt-wiredep
[05:51:31] <wafflej0ck_> jaydubya: that taptapship one is the basis for the plugins so yeah sort of
[05:51:45] <jaydubya> wafflej0ck_: thanks
[05:51:48] <wafflej0ck_> np
[05:51:55] <dnull> wafflej0ck_ Do you think ng-repeat would be an issue in that code
[05:51:56] <dnull> ?
[05:52:10] *** j_wright has quit IRC
[05:52:10] <dnull> http://plnkr.co/edit/flwTNAekTt8oT7mCoqUG?p=info line 2
[05:52:13] <dnull> 21
[05:52:20] <dnull> wafflej0ck_
[05:52:56] <wafflej0ck_> dnull: oh yeah that ng-repeat won't get picked up if you're just using $interpolate you'll actually want to use $compile instead
[05:53:32] <dnull> wafflej0ck_ ok let me try. Thanks
[05:54:15] *** tfennelly has quit IRC
[05:54:23] *** robksawyer has joined #angularjs
[05:54:24] *** asher^ has joined #angularjs
[05:54:40] *** j_wright has joined #angularjs
[05:54:49] <wafflej0ck_> dnull: yeah np $interpolate is only good for the {{}} curly braces to get evaluated with some object, $compile will get the link functions ready for all the directives it finds in whatever is passed to it and then you pass an object to be used as the scope for those directives link functions into the function returned by the call to $compile
[05:55:00] *** whitebook has quit IRC
[05:55:46] *** whitebook has joined #angularjs
[05:55:47] <wafflej0ck_> ends up being something like var compiledElement = $compile(thingToCompile)(scopeObject); but yeah check out the docs for samples
[05:56:02] *** corehook has joined #angularjs
[05:56:35] <dnull> wafflej0ck_ Yap will do.
[05:56:43] *** lilbaby has joined #angularjs
[05:56:45] <dnull> You are awesome
[05:56:56] <dnull> wafflej0ck_
[05:57:00] <wafflej0ck_> thx appreciate it I feel like my heads on fire :)
[05:57:21] <dnull> wafflej0ck_ You could reaplce John oliver...
[05:57:31] <dnull> but wait why?
[05:57:54] <dnull> na we should make you stick here.. dont replace john oliver
[05:58:13] *** freeRadical has quit IRC
[05:58:46] *** plushy has quit IRC
[05:59:14] *** TyrfingMjolnir has quit IRC
[05:59:33] *** plushy has joined #angularjs
[05:59:38] *** sinequanon has quit IRC
[06:00:01] <dnull> :)
[06:00:10] *** SergioFilhow has quit IRC
[06:00:18] *** sinequanon has joined #angularjs
[06:00:20] <wafflej0ck_> yeah I'll probably stick around here for a while
[06:00:38] *** jimvideo has quit IRC
[06:00:46] *** corehook has quit IRC
[06:01:34] <wafflej0ck_> at least till I figure out how to just code everything with Qt or GTK and use broadway or one of these things for hooking it into a web UI (seems that stuff is still nascient too)
[06:01:52] *** ron1 has quit IRC
[06:02:47] <wafflej0ck_> not that it's really necessary but anything I can do to get away from browser inconsistencies and getting back to some typed stuff would be a nice break for me
[06:03:01] *** lilbaby has quit IRC
[06:03:24] *** bhuvanaurora has quit IRC
[06:04:03] <jaydubya> wafflej0ck_: do you use Browserify and, if so, what does it do and do I need it?
[06:04:20] *** ron1 has joined #angularjs
[06:04:26] <wafflej0ck_> jaydubya: no idea sorry, I'm familiar at a surface level with it but never used it
[06:04:52] <jaydubya> wafflej0ck_: just something I just came across in my research
[06:05:08] *** sinequanon has quit IRC
[06:05:24] <wafflej0ck_> jaydubya: http://briantford.com/blog/angular-bower
[06:05:42] <wafflej0ck_> BahamutWC: ah the article I just linked is what I was thinking of earlier it was Brian Ford but not yearofmoo.com
[06:06:00] <wafflej0ck_> jaydubya: I used that guide to make components that I can re-use
[06:06:02] *** TyrfingMjolnir has joined #angularjs
[06:06:11] <jaydubya> wafflej0ck_: pretty impressive that you started a company with your brother ... all I ever wanted was from my brother to move OUT the house
[06:06:17] *** mennea has quit IRC
[06:06:27] *** mennea_ has joined #angularjs
[06:06:43] <jaydubya> for my brother^
[06:07:28] *** deanclkclk_ has joined #angularjs
[06:07:38] <wafflej0ck_> jaydubya: heh yeah we've always mostly gotten along but are very different people too, so it works out pretty well, he likes to talk a lot and just passed the state bar exam in Illinois so he can practice law and has friends all over the city, I'm mostly introverted and focused on building stuff
[06:07:53] *** delight has quit IRC
[06:08:08] <wafflej0ck_> so he finds people with needs and I find solutions we pitch them on and it's worked out well enough so far
[06:08:32] *** trustyhank has quit IRC
[06:09:12] <jaydubya> wafflej0ck_: sounds like it ... my brother is a surgeon so his favorite pastime is letting me know that developers hover just above the poverty line
[06:09:14] *** ron1 has quit IRC
[06:09:40] *** GregL has joined #angularjs
[06:09:57] *** deanclkclk has quit IRC
[06:10:32] *** ron1 has joined #angularjs
[06:11:12] <wafflej0ck_> jaydubya: hmm yeah not sure if you're gonna be making surgeon money but you also don't have to worry about accidentally killing your computer (you can always buy another) also I dunno where you're at but around the city developer jobs are pretty lofty
[06:11:23] <dnull> I got something like this : $scope.resultHtml= $compile(AppFactory.getResultHtmlSnippet(), $scope.winplace); but no output
[06:11:29] *** lilbaby has joined #angularjs
[06:11:43] <jaydubya> wafflej0ck_: Memphis, TN suburb here
[06:12:22] *** patrick99e99 has joined #angularjs
[06:12:30] <jaydubya> wafflej0ck_: about six hours due south of you
[06:12:37] <wafflej0ck_> jaydubya: yeah Chicago there are jobs around $100K+ for experienced front end developers
[06:13:29] <wafflej0ck_> jaydubya: check out glassdoor.com or the javascript jabber talk show they always advertise for places to get front end dev jobs
[06:13:33] *** ron1 has quit IRC
[06:14:08] *** kushNYC has joined #angularjs
[06:14:18] <wafflej0ck_> jaydubya: seemingly lots of people do want Ruby/Rails experience too now but lots of places will train you on it too and it's not a deal breaker
[06:15:14] <jaydubya> wafflej0ck_: longtime CodeIgniter dev here that transitioned to Laravel a few months ago
[06:15:30] *** ankushnarula has quit IRC
[06:15:30] *** kushNYC is now known as ankushnarula
[06:15:40] <dnull> wafflej0ck_ http://plnkr.co/edit/flwTNAekTt8oT7mCoqUG?p=info
[06:15:55] <dnull> wafflej0ck_ $compile is use this way?
[06:16:15] *** j_wright has quit IRC
[06:16:49] *** micks_9093 has joined #angularjs
[06:17:13] <dnull> [$sce:itype] Attempted to trust a non-string value in a content requiring a string: Context: html
[06:17:23] *** patrick99e99 has quit IRC
[06:17:30] *** bhuvanaurora has joined #angularjs
[06:18:22] <wafflej0ck_> dnull: yeah problem is with $compile you're no longer dealing with just a string it's actually an element, so you'll want it being done in a directive
[06:19:09] *** ron1 has joined #angularjs
[06:19:56] *** areologist has joined #angularjs
[06:21:35] *** ankushnarula has quit IRC
[06:21:52] <nesquerra> anyone using angular 1.3 these days?
[06:21:59] *** d10n-work has quit IRC
[06:22:02] <nesquerra> I've been mostly happy with 1.2.26
[06:23:23] *** dididi has joined #angularjs
[06:24:16] *** plushy1 has joined #angularjs
[06:24:16] <areologist> using 1.3 now
[06:24:55] *** plushy has quit IRC
[06:26:08] *** kirfu has quit IRC
[06:26:24] <Fifty5Plus> wafflej0ck_: hi ... pm
[06:28:29] *** seriema has joined #angularjs
[06:30:06] *** Prjio has joined #angularjs
[06:30:10] <Grokling_> Can anyone walk me through dragging ionic up to date? ui-router 0.2.10 (the bundled version) has bugs which are fixed in later versions. I'm already stuck with angular 1.2 because ionic isn't up to 1.3 yet. Maybe it's time to learn how to roll my own..
[06:30:28] <areologist> nesquerra: some reasons to upgrade: it's easy and compatibility is high, one-time bindings, $compileProvider.debugInfoEnabled, $watchGroup, ng-strict-di, $rootScope.applyAsync, $httpProvider.useApplyAsync..
[06:30:56] <Cooluhuru> I have a couple of question about angularjs releases. Why does 1.3 releases incrementally 1.3.1, 1.3.2, 1.3.3, while 1.2 had a more traditional bug fixes release
[06:31:08] <Cooluhuru> 1.2.21, 1.2.22, 1.2.23, etc
[06:31:41] <areologist> I don't follow the question, Cool.
[06:31:50] <Cooluhuru> actually, i just realized that I asked a really dumb no sense question
[06:32:04] <areologist> 21st, 22nd, and 23rd revision vs. 1st, 2nd, 3rd?
[06:32:14] *** dannyc has joined #angularjs
[06:32:56] <areologist> np. hehe
[06:33:12] *** seriema has quit IRC
[06:33:22] *** trustyhank has joined #angularjs
[06:34:13] *** lite_ has joined #angularjs
[06:34:28] *** Prjio has quit IRC
[06:35:44] *** plushy1 has quit IRC
[06:35:55] *** mennea_ has quit IRC
[06:36:02] *** plushy has joined #angularjs
[06:36:23] *** dannyc has quit IRC
[06:36:32] *** mennea has joined #angularjs
[06:37:11] *** lilbaby has quit IRC
[06:37:36] *** marcjs_ has joined #angularjs
[06:38:24] *** humanPincushion has quit IRC
[06:38:28] *** marcjs_ has quit IRC
[06:38:31] *** bhuvanaurora has quit IRC
[06:39:20] *** lite_ has quit IRC
[06:41:24] *** benjamingr has quit IRC
[06:41:30] *** whitebook has quit IRC
[06:43:40] *** mike_f has quit IRC
[06:43:56] *** renlo has quit IRC
[06:45:14] *** nesquerra has quit IRC
[06:46:05] *** corehook has joined #angularjs
[06:47:00] *** techsethi has joined #angularjs
[06:47:12] *** nesquerra has joined #angularjs
[06:47:26] <nesquerra> good to know
[06:47:27] *** bhuvanaurora has joined #angularjs
[06:47:38] *** gunn has quit IRC
[06:48:21] <nesquerra> thx y'all
[06:49:11] *** JesuZ has joined #angularjs
[06:49:20] *** tfennelly has joined #angularjs
[06:49:42] *** jmichaelward has joined #angularjs
[06:50:44] *** JesuZ has quit IRC
[06:51:36] *** ron1 has quit IRC
[06:52:25] *** JesuZ has joined #angularjs
[06:52:45] *** dejanr has joined #angularjs
[06:53:30] *** gunn has joined #angularjs
[06:53:51] *** tfennelly has quit IRC
[06:53:53] *** robksawyer has quit IRC
[06:54:17] *** gunn has joined #angularjs
[06:54:21] *** jmichaelward has quit IRC
[06:54:28] *** VeeWee has joined #angularjs
[06:54:42] *** rhp has joined #angularjs
[06:55:36] *** j_wright has joined #angularjs
[06:56:31] *** xxMatiasFCxx has quit IRC
[06:56:49] *** xxMatiasFCxx has joined #angularjs
[06:57:06] *** prbc has quit IRC
[06:58:20] *** NormySan has joined #angularjs
[06:58:22] *** discgo has quit IRC
[06:59:18] *** NormySan has quit IRC
[07:01:02] *** bhuvanaurora has quit IRC
[07:01:58] *** zanea is now known as zanea|away
[07:02:14] *** exp10r3r has quit IRC
[07:02:37] *** bhuvanaurora has joined #angularjs
[07:02:43] *** punch has quit IRC
[07:03:53] *** punch has joined #angularjs
[07:04:25] *** jonr22 has joined #angularjs
[07:05:18] *** dididi has quit IRC
[07:06:04] *** sajt has joined #angularjs
[07:06:18] *** sajt has quit IRC
[07:08:12] *** Una has quit IRC
[07:08:40] *** cthrax has quit IRC
[07:08:57] *** jonr22 has quit IRC
[07:09:06] *** deranged_user has quit IRC
[07:09:17] *** Una has joined #angularjs
[07:09:42] *** SpotSec has quit IRC
[07:10:57] <jrajaratnam> hey folks! I think I have a quick one. WIthin my controller I have a function that gets a single store as an object response. I then store that response as an object and I am able to get those elements to me view. I am trying to store an element of that object within the controller itself so that I can store it to a local variable… how would I go about doing that?
[07:11:56] *** deranged_user has joined #angularjs
[07:12:05] *** whitebook has joined #angularjs
[07:12:14] *** Una has quit IRC
[07:12:31] <jrajaratnam> http://jsfiddle.net/zmmmsvv7/
[07:12:32] *** soren_engel has joined #angularjs
[07:13:08] <jrajaratnam> the store object has a ‘latitude’ and ‘longitude’ element
[07:14:00] <jrajaratnam> I tried ‘storeLatitude = response.latitude;’
[07:14:00] *** nesquerra has quit IRC
[07:14:20] <jrajaratnam> I tried ‘storeLatitude = store.latitude;’
[07:14:36] *** sacho has quit IRC
[07:15:37] *** plekplek has joined #angularjs
[07:16:06] *** Una has joined #angularjs
[07:17:01] *** soren_engel has quit IRC
[07:17:09] *** adpirz has joined #angularjs
[07:20:06] *** MistahKurtz has joined #angularjs
[07:20:46] *** whitebook has quit IRC
[07:21:45] *** adpirz has quit IRC
[07:21:56] *** JesuZ has quit IRC
[07:22:52] *** Evanion has joined #angularjs
[07:24:06] *** SahanH has quit IRC
[07:24:09] *** JesuZ has joined #angularjs
[07:24:14] *** trustyhank has quit IRC
[07:24:19] *** Cooluhuru has quit IRC
[07:24:39] *** bhuvanaurora has quit IRC
[07:24:43] *** SahanH has joined #angularjs
[07:26:44] *** mtsr has joined #angularjs
[07:27:03] *** motionman has quit IRC
[07:27:08] *** ahmetkapikiran has quit IRC
[07:28:05] <Fifty5Plus> wafflej0ck_: r u around
[07:28:10] *** {DV8} has quit IRC
[07:28:30] *** mattattaque has quit IRC
[07:29:29] *** seriema has joined #angularjs
[07:29:53] *** Grokling_ has quit IRC
[07:30:30] *** mdedetrich has quit IRC
[07:30:53] *** Prjio has joined #angularjs
[07:31:11] *** sajt has joined #angularjs
[07:32:08] *** _JohnBat26_ has joined #angularjs
[07:32:46] *** dannyc has joined #angularjs
[07:32:53] *** testin has joined #angularjs
[07:34:01] *** derer has quit IRC
[07:34:26] *** seriema has quit IRC
[07:34:31] *** SergioFilhow has joined #angularjs
[07:35:16] *** JohnBat26 has quit IRC
[07:35:23] *** Prjio has quit IRC
[07:36:39] *** testin has joined #angularjs
[07:37:02] *** orta has joined #angularjs
[07:37:45] *** mdedetrich has joined #angularjs
[07:38:05] *** tripu has joined #angularjs
[07:38:05] *** e0ipso has joined #angularjs
[07:38:35] *** mbuf has joined #angularjs
[07:39:02] *** nairys has quit IRC
[07:39:04] <mbuf> any recommended books on AngularJS for beginners?
[07:39:26] *** nemothekid has quit IRC
[07:39:30] *** SergioFilhow has quit IRC
[07:39:30] *** dannyc has quit IRC
[07:39:38] *** motionman has joined #angularjs
[07:40:19] <pontiki> i just picked up ng-book on a strong recommendation. it's quite good, so far
[07:40:48] *** one0one has quit IRC
[07:41:06] *** tech2 has joined #angularjs
[07:41:18] *** Cache_Money has quit IRC
[07:42:13] *** martianboy has joined #angularjs
[07:42:24] *** punch has quit IRC
[07:42:33] *** bc__ has quit IRC
[07:42:48] *** bc_ has joined #angularjs
[07:43:00] *** punch has joined #angularjs
[07:43:33] <pontiki> mbuf: also, this was highly recommended, if you can sit for a bit over an hour: https://www.youtube.com/watch?v=i9MHigUZKEM
[07:44:24] *** nemothekid has joined #angularjs
[07:44:34] *** jaydubya has quit IRC
[07:44:46] *** mtsr has quit IRC
[07:45:01] *** Hippo has quit IRC
[07:45:12] *** jaydubya has joined #angularjs
[07:45:23] *** macobo has joined #angularjs
[07:45:32] <mbuf> pontiki, the 60 minutes is in my TODO list
[07:45:39] <mbuf> pontiki, okay
[07:46:22] *** Nannet has quit IRC
[07:46:56] *** punch_ has joined #angularjs
[07:47:15] *** Nannet has joined #angularjs
[07:47:26] *** punch has quit IRC
[07:47:43] *** morenoh149 has joined #angularjs
[07:48:06] *** techsethi has quit IRC
[07:49:20] *** techsethi has joined #angularjs
[07:49:42] *** jaydubya has quit IRC
[07:50:02] *** lite_ has joined #angularjs
[07:51:37] *** rhp has quit IRC
[07:51:44] *** elrabin has joined #angularjs
[07:52:10] *** punch_ has quit IRC
[07:52:43] *** Evanion has quit IRC
[07:52:50] *** samuel02 has joined #angularjs
[07:53:08] *** corehook has quit IRC
[07:53:35] *** TuRnaD0 has joined #angularjs
[07:54:19] *** asher^ has quit IRC
[07:54:37] *** lite_ has quit IRC
[07:54:48] *** soren_engel has joined #angularjs
[07:55:23] *** wa5ted_away has quit IRC
[07:56:02] *** gazbond has joined #angularjs
[07:56:03] *** wa5ted_away has joined #angularjs
[07:56:32] *** elrabin has quit IRC
[07:56:40] *** shredjs has joined #angularjs
[07:56:45] *** nemothekid has quit IRC
[07:56:59] *** bhuvanaurora has joined #angularjs
[07:57:44] *** JesuZ has quit IRC
[07:57:49] *** soren_engel has quit IRC
[07:57:58] *** jrajaratnam has quit IRC
[07:58:08] *** GregL has quit IRC
[07:58:29] *** opiates has quit IRC
[07:58:42] *** j_wright has quit IRC
[07:58:43] *** bhuvanaurora has quit IRC
[07:59:39] *** asher^ has joined #angularjs
[07:59:58] *** JesuZ has joined #angularjs
[08:00:01] *** charuru has quit IRC
[08:00:24] *** bhuvanaurora has joined #angularjs
[08:00:30] *** gazbond has quit IRC
[08:00:35] *** jonr22 has joined #angularjs
[08:00:43] *** bkuberek has joined #angularjs
[08:00:58] *** charuru has joined #angularjs
[08:01:16] *** IJNX has joined #angularjs
[08:01:25] *** IJNX has quit IRC
[08:01:44] *** Raging_Hog has joined #angularjs
[08:01:52] *** samuel02 has quit IRC
[08:02:03] *** bhuvanaurora has quit IRC
[08:02:31] *** jonr2219 has joined #angularjs
[08:02:40] *** jonr22 has quit IRC
[08:03:30] *** lite_ has joined #angularjs
[08:04:15] <wafflej0ck_> mbuf: https://www.youtube.com/watch?v=ZhfUv0spHCY check this one out too when you have some time lots of good tips on overall how to use what angular provides
[08:04:38] <wafflej0ck_> mbuf: also huge list of resources here https://github.com/jmcunningham/AngularJS-Learning
[08:05:43] *** bkuberek has quit IRC
[08:06:06] *** jonr2219 has quit IRC
[08:06:11] <wafflej0ck_> mbuf: personally I started off with a book too but found it was out of date too quickly that said I feel like things have slowed down some since then in terms of big breaking changes in angular (at least till 2.0 eventually starts rolling out) so ng-book might be better than the one I picked up, still was good for some fundamentals
[08:06:42] *** testin has joined #angularjs
[08:06:45] *** jonr22 has joined #angularjs
[08:07:01] *** Lewix has quit IRC
[08:07:37] *** lite_ has quit IRC
[08:07:45] *** Nijikokun has quit IRC
[08:08:09] *** nycdevgirl has quit IRC
[08:08:15] *** platonic has quit IRC
[08:08:40] *** sajt has quit IRC
[08:08:40] *** jonr2219 has joined #angularjs
[08:08:41] *** jonr22 has quit IRC
[08:08:53] *** nycdevgirl has joined #angularjs
[08:09:06] *** thomastuts has joined #angularjs
[08:09:21] *** rtp_ has joined #angularjs
[08:10:01] *** shredjs has quit IRC
[08:10:43] *** platonic has joined #angularjs
[08:10:47] *** jonr2219 has quit IRC
[08:10:53] *** jonr22 has joined #angularjs
[08:11:12] *** nycdevgirl has quit IRC
[08:11:58] *** testin has quit IRC
[08:12:38] *** jonr22 has quit IRC
[08:12:39] *** wa5ted_away has quit IRC
[08:12:43] *** _JohnBat26_ has quit IRC
[08:12:48] *** evotuned has quit IRC
[08:12:52] *** JohnBat26 has joined #angularjs
[08:13:04] *** sajt has joined #angularjs
[08:13:13] *** jonr22 has joined #angularjs
[08:13:17] *** patrick99e99 has joined #angularjs
[08:13:19] *** corehook has joined #angularjs
[08:13:54] *** fedenunez has joined #angularjs
[08:14:12] *** dnull has quit IRC
[08:14:38] *** jonr22 has quit IRC
[08:15:04] *** jonr22 has joined #angularjs
[08:15:15] *** soee has joined #angularjs
[08:15:16] *** platonic has quit IRC
[08:15:21] *** Grokling_ has joined #angularjs
[08:16:31] <soee> good morning
[08:16:38] *** jonr22 has quit IRC
[08:16:56] *** wa5ted_away has joined #angularjs
[08:16:57] *** jonr22 has joined #angularjs
[08:17:43] *** uru|away is now known as uru
[08:18:04] *** patrick99e99 has quit IRC
[08:18:21] *** jonr22 has quit IRC
[08:18:42] *** deanclkclk has joined #angularjs
[08:18:58] *** jonr22 has joined #angularjs
[08:20:42] *** jonr22 has quit IRC
[08:21:01] *** NoNMaDDeN has quit IRC
[08:21:02] *** jonr22 has joined #angularjs
[08:21:10] *** deanclkclk_ has quit IRC
[08:21:50] *** bhuvanaurora has joined #angularjs
[08:21:57] *** wa5ted_away has quit IRC
[08:22:52] *** Una has quit IRC
[08:23:09] *** jonr22 has quit IRC
[08:23:30] *** jonr22 has joined #angularjs
[08:26:59] *** jonr22 has quit IRC
[08:27:38] *** jonr22 has joined #angularjs
[08:27:59] *** Ch4rAss has joined #angularjs
[08:28:42] *** wa5ted_away has joined #angularjs
[08:29:11] *** jonr22 has quit IRC
[08:29:31] *** jonr22 has joined #angularjs
[08:29:52] *** thomastuts has quit IRC
[08:30:04] *** dan2k3k4 has joined #angularjs
[08:30:12] *** bhuvanaurora has quit IRC
[08:30:42] *** seriema has joined #angularjs
[08:30:46] *** Sadi has joined #angularjs
[08:30:51] *** dejanr has quit IRC
[08:31:07] *** jonr22 has quit IRC
[08:31:31] *** Sadi has quit IRC
[08:31:38] *** juampy has joined #angularjs
[08:31:42] *** Prjio has joined #angularjs
[08:31:43] *** jonr22 has joined #angularjs
[08:32:06] *** Sadi has joined #angularjs
[08:32:07] *** rburns has quit IRC
[08:32:19] *** rburns has joined #angularjs
[08:32:35] *** vdiaz has quit IRC
[08:32:40] *** mennea has joined #angularjs
[08:33:11] *** jonr22 has quit IRC
[08:33:36] *** jonr22 has joined #angularjs
[08:33:39] *** tfennelly has joined #angularjs
[08:33:53] *** NoNMaDDeN has joined #angularjs
[08:34:20] *** samuel02 has joined #angularjs
[08:34:22] *** nemothekid has joined #angularjs
[08:34:36] <gnu_d> why the controller is being reloaded each time I change the route ? - For instance I have init function inside the controller, and it's being called on the bottom of the controller, now whenever I visit the controller's route, the init function is being loaded.
[08:34:59] *** whunt has joined #angularjs
[08:35:07] *** foofoobar has joined #angularjs
[08:35:10] <GreenJello> gnu_d, that's how controllers work
[08:35:21] *** ggrzybek has joined #angularjs
[08:35:32] <GreenJello> gnu_d, the easiest alternative would be to keep any one time behavior in a service
[08:35:32] *** JesuZ has quit IRC
[08:35:37] *** jonr22 has quit IRC
[08:35:38] *** seriema has quit IRC
[08:35:38] *** jonr2219 has joined #angularjs
[08:35:53] *** Prjio has quit IRC
[08:36:02] *** samuel02 has quit IRC
[08:36:03] *** testin has joined #angularjs
[08:36:33] *** bhuvanaurora has joined #angularjs
[08:36:40] *** dan2k3k4 has quit IRC
[08:36:40] *** Alina-malina has quit IRC
[08:36:53] *** dan2k3k4 has joined #angularjs
[08:37:16] *** Alina-malina has joined #angularjs
[08:37:17] *** Alina-malina has joined #angularjs
[08:37:37] *** Sadi has quit IRC
[08:37:40] *** jonr22 has joined #angularjs
[08:37:44] *** jonr2219 has quit IRC
[08:37:54] <gnu_d> GreenJello: actually the init was calling a service to add to the model
[08:37:56] *** macobo has quit IRC
[08:38:05] *** JesuZ has joined #angularjs
[08:38:06] *** tfennelly has quit IRC
[08:38:28] <gnu_d> GreenJello: so, you're suggesting to migrate the init function inside the service, and the service it's self to generate the test data ?
[08:38:34] *** areologist has quit IRC
[08:38:40] *** jmichaelward has joined #angularjs
[08:38:41] <GreenJello> yeah
[08:38:44] <gnu_d> :)
[08:39:15] *** audioburn is now known as il
[08:39:27] *** lite_ has joined #angularjs
[08:39:40] *** jonr22 has quit IRC
[08:39:42] *** jonr2219 has joined #angularjs
[08:39:50] *** cornerma1 has joined #angularjs
[08:40:22] *** testin has quit IRC
[08:40:42] *** testin has joined #angularjs
[08:40:57] <gnu_d> GreenJello: how come the variables were intact ?
[08:41:19] *** rtp_ has quit IRC
[08:41:39] *** jonr2219 has quit IRC
[08:41:43] *** jonr22 has joined #angularjs
[08:41:53] <mbuf> wafflej0ck_, thanks!
[08:41:59] *** bhuvanaurora has quit IRC
[08:42:19] <wafflej0ck_> mbuf: np
[08:42:25] *** lemur has quit IRC
[08:42:47] *** jmichaelward has quit IRC
[08:42:59] *** lemur has joined #angularjs
[08:43:10] *** cornerman has quit IRC
[08:43:11] *** cornerma1 is now known as cornerman
[08:43:39] *** jonr22 has quit IRC
[08:43:45] *** Greed has quit IRC
[08:43:46] *** jonr2219 has joined #angularjs
[08:43:46] *** testin has joined #angularjs
[08:44:25] *** qdk has quit IRC
[08:44:38] *** testin has joined #angularjs
[08:44:50] <dsdeiz> is the whole controller a class? i wonder how i can define a function without using $scope.methodName = function(); this is what i've been using always
[08:45:03] *** night-owl is now known as zz_night-owl
[08:45:14] *** testin has quit IRC
[08:45:25] *** tech2 has quit IRC
[08:45:32] *** Evanion has joined #angularjs
[08:45:32] *** testin has joined #angularjs
[08:46:50] *** frobs has joined #angularjs
[08:47:00] *** FIFOd[a] has joined #angularjs
[08:47:31] *** deanclkclk has quit IRC
[08:47:31] *** lemur has quit IRC
[08:47:47] *** jonr2219 has quit IRC
[08:47:49] *** jonr22 has joined #angularjs
[08:48:01] *** Ajans has joined #angularjs
[08:48:51] <gnu_d> How can I separate edit and view only logic in some controller ? For instance the edit logic to be loaded from a separate module if user role is admin.
[08:49:20] *** testin has quit IRC
[08:49:41] *** tfennelly has joined #angularjs
[08:49:44] <Grokling_> wafflej0ck_: What timezone are you in?
[08:49:52] *** jonr22 has quit IRC
[08:50:04] *** jonr2219 has joined #angularjs
[08:50:12] <wafflej0ck_> Grokling: Central standard time
[08:50:14] *** testin has joined #angularjs
[08:50:16] *** Artagan has joined #angularjs
[08:50:53] *** Artagan has left #angularjs
[08:50:56] <Grokling_> wafflej0ck_: So, you just never sleep?
[08:51:22] *** bhuvanaurora has joined #angularjs
[08:51:30] <dsdeiz> i guess this.someFunction() = function() { ... } doesn't work? i declared my method like this and basically just called it inside the controller but it says that the function is 'undefine'
[08:51:43] *** FIFOd[a] has quit IRC
[08:51:52] *** jonr2219 has quit IRC
[08:52:07] *** whunt has quit IRC
[08:52:17] *** jonr22 has joined #angularjs
[08:53:01] *** robksawyer has joined #angularjs
[08:53:14] <oddalot> you can't assign a value to a function invocation
[08:53:38] <oddalot> this.someFucntion = function (){}; is what you want
[08:53:38] *** robksawyer has quit IRC
[08:53:39] <Grokling_> this.somefunction = function(){...} should work though.
[08:54:03] <dsdeiz> oops sorry, yeah this.someFunction = function()
[08:54:09] <wafflej0ck_> Grokling: eh I sleep late
[08:54:25] *** tfennelly has quit IRC
[08:54:28] <dsdeiz> yeah still it says 'undefined'
[08:54:40] <wafflej0ck_> Grokling: did some night jobs for a while and have always been more of a night time person
[08:54:42] *** iksik has quit IRC
[08:54:58] *** tarnus has quit IRC
[08:55:02] *** Leika has joined #angularjs
[08:55:04] *** iksik has joined #angularjs
[08:55:29] *** jonr22 has quit IRC
[08:55:35] <dsdeiz> i've got this.someFunction = function() { $scope.foo = 'bar' }; and just called it inside the controller via someFunction();
[08:55:55] <Grokling_> wafflej0ck_: Me too. Unfortunately the kids have school, and I have to get them organised first, so no sleeping late for me any more.
[08:55:58] *** jonr22 has joined #angularjs
[08:56:32] <oddalot> if you assign it to this, you're going to have to either reference this, or the object it refers to when you want to call the function
[08:57:19] *** jgladwill has joined #angularjs
[08:57:35] *** testin has quit IRC
[08:57:36] *** mtsr has joined #angularjs
[08:57:43] <oddalot> var someFunction = this.someFunction = function () {};
[08:57:56] *** testin has joined #angularjs
[08:58:02] *** jonr22 has quit IRC
[08:58:15] *** kmtrowbr has quit IRC
[08:58:18] <oddalot> also works
[08:58:22] *** jonr22 has joined #angularjs
[08:58:38] *** duellsy has quit IRC
[08:58:47] <Grokling_> $scope.functions.myFunction = function(){...} is another option too.
[08:58:52] <dsdeiz> hm, actually i just want to have methods inside the controller.. cause i'd like to call it on two different other functions
[08:58:59] <dsdeiz> yeah, don't really wanted to use $scope
[08:59:15] *** testin has quit IRC
[08:59:17] <eighty4> stupid question, if I have <div ng-repeat="...." my-directive> can I somehow bind that my-directive just once to the parent of each ngRepeat element?
[08:59:26] <eighty4> doing that code it will bind for EACH element
[08:59:30] *** testin has joined #angularjs
[08:59:43] <dsdeiz> so i have something like someFunction = function() { ... }; and i got $scope.anotherFunction = function() { someFunction(); }
[08:59:43] <oddalot> really if you are going to be doing a lot of work that requires many many functions it might make sense to move that into a Service
[08:59:48] *** seriema has joined #angularjs
[08:59:54] *** jonr22 has quit IRC
[08:59:55] <dsdeiz> nah it's just one function
[09:00:10] *** jonr22 has joined #angularjs
[09:00:14] <dsdeiz> and only this controller is calling it
[09:00:16] <oddalot> you can declare functions inside the current scope of course
[09:00:17] *** jacuqesdancona has joined #angularjs
[09:00:25] <oddalot> using closure, you will have access to them
[09:00:30] *** fedenunez has quit IRC
[09:00:32] <Grokling_> If it's just one function, do var myFunction = function(){...}??
[09:00:33] *** mkusher has joined #angularjs
[09:00:38] <dsdeiz> oh
[09:00:48] *** testin has quit IRC
[09:00:52] <dsdeiz> lol. i fail again :D gonna give that a try
[09:01:07] *** testin has joined #angularjs
[09:01:22] *** joshontheweb has quit IRC
[09:01:51] <dsdeiz> crap.. thx :D
[09:03:00] <Grokling_> heh. Sometimes it's too obvious huh!
[09:03:05] *** larsgk has joined #angularjs
[09:03:14] *** Click66 has joined #angularjs
[09:03:46] *** jonr22 has quit IRC
[09:04:09] *** testin has quit IRC
[09:04:09] *** jonr22 has joined #angularjs
[09:05:49] *** samuel02 has joined #angularjs
[09:05:50] *** Leon has joined #angularjs
[09:05:52] *** Sky[x] has joined #angularjs
[09:06:04] *** adpirz has joined #angularjs
[09:06:14] *** jonr2219 has joined #angularjs
[09:06:16] *** jonr22 has quit IRC
[09:06:51] *** SargoDarya has joined #angularjs
[09:08:25] *** jonr22 has joined #angularjs
[09:08:34] *** testin has joined #angularjs
[09:08:36] *** jonr2219 has quit IRC
[09:09:05] *** corehook has quit IRC
[09:09:33] *** Nijikokun has joined #angularjs
[09:09:39] *** Nijikokun has quit IRC
[09:09:47] *** kirstein has joined #angularjs
[09:09:59] *** jonr22 has quit IRC
[09:10:13] *** Nijikokun has joined #angularjs
[09:10:17] *** adpirz has quit IRC
[09:10:18] *** jonr22 has joined #angularjs
[09:10:42] *** benjick has quit IRC
[09:11:02] *** joshontheweb has joined #angularjs
[09:11:06] *** leonbienek has joined #angularjs
[09:11:20] *** edzez_ has quit IRC
[09:11:20] *** testin has quit IRC
[09:11:28] *** platonic has joined #angularjs
[09:12:09] *** kirstein has quit IRC
[09:12:19] *** jonr2219 has joined #angularjs
[09:12:25] *** evilaliv3 has joined #angularjs
[09:12:26] *** jonr22 has quit IRC
[09:13:52] *** jonr2219 has quit IRC
[09:14:00] *** tomengland_mbp has joined #angularjs
[09:14:15] *** thomastuts has joined #angularjs
[09:14:33] *** jonr22 has joined #angularjs
[09:14:40] *** larsgk has quit IRC
[09:16:09] *** Juanchito has joined #angularjs
[09:16:14] *** testin has joined #angularjs
[09:16:19] *** jonr22 has quit IRC
[09:16:24] *** platonic has quit IRC
[09:16:30] *** jonr22 has joined #angularjs
[09:16:45] *** gkap has joined #angularjs
[09:17:11] *** nfroidure has joined #angularjs
[09:17:29] *** doginal has quit IRC
[09:18:25] *** jonr2219 has joined #angularjs
[09:18:42] *** jonr22 has quit IRC
[09:19:11] *** juampy is now known as juampy_brb
[09:20:25] *** jonr22 has joined #angularjs
[09:20:36] *** samuel02 has quit IRC
[09:20:39] *** jonr2219 has quit IRC
[09:20:57] *** SahanH has quit IRC
[09:21:58] *** jonr22 has quit IRC
[09:22:37] *** jonr22 has joined #angularjs
[09:22:56] *** RedOrangeZ has joined #angularjs
[09:23:12] *** SergioFilhow has joined #angularjs
[09:23:16] *** edzez has joined #angularjs
[09:23:38] *** gunn has quit IRC
[09:23:51] *** seriema has quit IRC
[09:24:11] *** jonr22 has quit IRC
[09:24:36] *** jonr22 has joined #angularjs
[09:24:50] *** Sadi has joined #angularjs
[09:25:06] *** Beatzebub has quit IRC
[09:25:29] *** Sadi has quit IRC
[09:25:46] *** bhuvanaurora has quit IRC
[09:25:46] *** JesuZ has quit IRC
[09:26:16] *** asher^ has quit IRC
[09:26:38] *** jonr2219 has joined #angularjs
[09:26:54] *** mattattaque has joined #angularjs
[09:26:57] *** jonr22 has quit IRC
[09:27:19] *** qdk has joined #angularjs
[09:27:43] *** SergioFilhow has quit IRC
[09:28:01] *** kas84 has quit IRC
[09:28:21] *** whunt has joined #angularjs
[09:28:22] *** nemothekid has quit IRC
[09:29:32] *** tomengland_mbp has quit IRC
[09:30:07] *** phzon has joined #angularjs
[09:30:10] *** JesuZ has joined #angularjs
[09:30:26] *** charuru has quit IRC
[09:30:28] *** leonbienek has quit IRC
[09:30:34] *** jonr2219 has quit IRC
[09:30:37] *** jonr22 has joined #angularjs
[09:31:49] *** Left_Turn has joined #angularjs
[09:32:21] *** Prjio has joined #angularjs
[09:32:39] *** jonr2219 has joined #angularjs
[09:32:40] *** jonr22 has quit IRC
[09:33:08] *** jaydubya has joined #angularjs
[09:33:09] *** rburns has quit IRC
[09:33:19] *** rburns has joined #angularjs
[09:33:29] *** sajt has quit IRC
[09:33:40] *** Prjio has quit IRC
[09:34:01] *** orta has quit IRC
[09:34:12] *** jonr2219 has quit IRC
[09:34:23] *** qdk has quit IRC
[09:35:04] *** c00ljs has joined #angularjs
[09:35:05] *** jonr22 has joined #angularjs
[09:35:15] *** larsgk has joined #angularjs
[09:35:27] *** StryKaizer has joined #angularjs
[09:36:13] *** joshontheweb has quit IRC
[09:36:20] *** rosidoo has joined #angularjs
[09:36:21] *** guilbep has joined #angularjs
[09:36:35] *** exp10r3r has joined #angularjs
[09:36:44] *** dannyc_ has joined #angularjs
[09:36:44] *** jonr2219 has joined #angularjs
[09:36:45] *** jonr22 has quit IRC
[09:37:00] *** lamarque has joined #angularjs
[09:37:40] *** jaydubya has quit IRC
[09:38:45] *** jonr22 has joined #angularjs
[09:39:15] *** jonr2219 has quit IRC
[09:39:22] *** whunt has quit IRC
[09:39:23] *** MistahKurtz has quit IRC
[09:39:28] *** hashtag has joined #angularjs
[09:40:06] *** delight has joined #angularjs
[09:40:23] *** edy has joined #angularjs
[09:40:39] *** jonr22 has quit IRC
[09:40:50] *** wa5ted_a_ has joined #angularjs
[09:41:06] *** jonr22 has joined #angularjs
[09:41:15] *** dannyc_ has quit IRC
[09:41:57] *** MaxV has joined #angularjs
[09:42:07] *** gunn has joined #angularjs
[09:42:12] *** Makpoc has quit IRC
[09:42:20] *** laurensclaessen has joined #angularjs
[09:42:52] *** jonr2219 has joined #angularjs
[09:43:00] *** hashtag has quit IRC
[09:43:06] *** jonr22 has quit IRC
[09:43:15] *** aks has joined #angularjs
[09:43:43] *** jillesme has joined #angularjs
[09:44:09] *** Makpoc has joined #angularjs
[09:44:09] *** Iravan has quit IRC
[09:44:13] *** ronskisika has joined #angularjs
[09:44:18] *** Raging_Hog has quit IRC
[09:44:19] *** wa5ted_away has quit IRC
[09:44:39] *** Iravan has joined #angularjs
[09:45:04] *** jonr22 has joined #angularjs
[09:45:21] *** jonr2219 has quit IRC
[09:46:08] *** sajt has joined #angularjs
[09:46:35] *** jonr22 has quit IRC
[09:46:55] *** jonr22 has joined #angularjs
[09:48:40] <gnu_d> how do I use filter to extract the values only ?
[09:48:57] *** jonr2219 has joined #angularjs
[09:49:06] *** jonr22 has quit IRC
[09:49:17] *** Aerospark has quit IRC
[09:49:41] *** bkuberek has joined #angularjs
[09:49:42] *** Iravan has quit IRC
[09:50:42] *** jonr2219 has quit IRC
[09:50:59] *** jonr22 has joined #angularjs
[09:52:32] *** mchammer has joined #angularjs
[09:54:16] *** bkuberek has quit IRC
[09:54:32] *** qdk has joined #angularjs
[09:54:38] *** jonr22 has quit IRC
[09:55:05] *** jonr22 has joined #angularjs
[09:55:14] *** milka has joined #angularjs
[09:56:54] *** derrzzaa_ has joined #angularjs
[09:57:07] *** jonr2219 has joined #angularjs
[09:57:29] *** derrzzaa_ has quit IRC
[09:57:38] *** jonr22 has quit IRC
[09:58:06] *** morenoh149 has quit IRC
[09:58:07] *** sk87 has joined #angularjs
[09:58:31] <Grokling_> gnu_d: How do you mean?
[09:58:44] *** jkl444 has joined #angularjs
[09:58:48] *** c00ljs has quit IRC
[09:58:53] *** rchavik has quit IRC
[09:59:10] <jkl444> hi guys, what would you recommend for a spinner in angularjs (when doing ajax calls)?
[09:59:30] <wafflej0ck_> gnu_d: angular.module('myFilters', []).filter('valuesOnly', function(){return function(input){var retString='';for(var property in input){if(input.hasOwnProperty(property)){retString+=input[property]+', ';}}return retString}})
[09:59:58] *** tschundeee has joined #angularjs
[10:00:04] *** Bovine has quit IRC
[10:00:06] *** c00ljs has joined #angularjs
[10:00:54] <wafflej0ck_> jkl444: depends on your use case and how complex you need it
[10:00:56] *** fbenoit has joined #angularjs
[10:01:02] <wafflej0ck_> jkl444: a gif with ng-show/hide can be enough
[10:01:02] <jkl444> very simple actually
[10:01:05] *** jonr2219 has quit IRC
[10:01:10] *** jonr22 has joined #angularjs
[10:01:13] <jkl444> i would rather have something unified
[10:01:13] <gnu_d> Grokling_: let's say I got tags object, which is a list containing objects, each object has a key "text", the goal is to extract the values and stringify them, separated by ", "
[10:01:24] <jkl444> css maybe
[10:01:30] <meverone> jkl444: http://cgross.github.io/angular-busy/demo/
[10:01:37] <meverone> or
[10:01:38] <meverone> http://tobiasahlin.com/spinkit/
[10:01:46] *** aks has quit IRC
[10:01:51] <jkl444> meverone
[10:01:53] <jkl444> thanks
[10:01:57] <Grokling_> gnu_d: Check what wafflej0ck_ posted above - that'll get you pretty close!
[10:01:57] <jkl444> i'll have a look
[10:02:23] <wafflej0ck_> yeah with no actual parameters I just guessed but it's the basics at least
[10:02:29] *** Oxynum has joined #angularjs
[10:02:31] <meverone> n/p
[10:02:35] *** Geertje123_ has joined #angularjs
[10:02:39] <gnu_d> Grokling_: I was looking for something built-in :) if possible, I want to learn custom filter later.
[10:02:43] *** jonr22 has quit IRC
[10:02:50] *** kas84 has joined #angularjs
[10:03:12] *** jonr22 has joined #angularjs
[10:03:13] <wafflej0ck_> gnu_d: sounds like a pretty specific scenario don't think any built in filters do it
[10:03:15] *** qdk has quit IRC
[10:03:21] <wafflej0ck_> gnu_d: rolling your own is easy I did it in a line above :)
[10:03:32] <wafflej0ck_> well maybe 2 lines
[10:03:32] *** rburns has quit IRC
[10:03:35] <Grokling_> gnu_d: No time like the present. There's nothing builtin that does what you want - but it's not too hard to make something. Like wafflej0ck_ just did.
[10:03:39] <wafflej0ck_> unless you have a real high res monitor
[10:03:51] *** testin has quit IRC
[10:03:54] <Grokling_> You don't have to do it in it's own module either which would simplify it a bit.
[10:03:56] *** rburns has joined #angularjs
[10:04:07] *** testin has joined #angularjs
[10:04:17] <wafflej0ck_> yeah I was trying to be thorough :P and a bit goofy as I'm on the brink of sleep here
[10:04:31] *** marcjs_ has joined #angularjs
[10:04:42] *** styles has quit IRC
[10:04:45] *** jonr22 has quit IRC
[10:04:52] <gnu_d> Grokling_: Ok, I'll learn custom filters now :)
[10:04:52] *** c00ljs has quit IRC
[10:05:05] *** tfennelly has joined #angularjs
[10:05:24] *** jonr22 has joined #angularjs
[10:05:37] *** bengillies has joined #angularjs
[10:05:44] *** Leika has quit IRC
[10:05:46] *** aks has joined #angularjs
[10:06:04] *** IJNX has joined #angularjs
[10:06:12] *** motionman has quit IRC
[10:06:15] *** rchavik has joined #angularjs
[10:06:31] *** azizur has joined #angularjs
[10:07:12] *** jonr22 has quit IRC
[10:07:17] *** jonr2219 has joined #angularjs
[10:07:53] *** TheAceOfHearts has quit IRC
[10:07:55] *** il has quit IRC
[10:08:58] *** jonr2219 has quit IRC
[10:09:29] *** jonr22 has joined #angularjs
[10:10:01] *** JesuZ has quit IRC
[10:10:46] <scav> are there any angular libraries for oauth2 that anyone would like to recomend?
[10:11:06] <scav> i would very much like to not write my own, so i want to look at propper alternatives
[10:11:09] *** marr has joined #angularjs
[10:11:22] *** jonr2219 has joined #angularjs
[10:11:24] *** jonr22 has quit IRC
[10:11:53] *** dejanr has joined #angularjs
[10:13:07] *** jonr2219 has quit IRC
[10:13:24] *** jonr22 has joined #angularjs
[10:14:27] *** patrick99e99 has joined #angularjs
[10:14:48] *** dannyc_ has joined #angularjs
[10:15:06] *** jonr22 has quit IRC
[10:15:07] *** gurke_ has joined #angularjs
[10:15:10] *** Prjio has joined #angularjs
[10:15:21] <gurke_> good morning. :)
[10:15:25] *** jonr22 has joined #angularjs
[10:15:29] *** qdk has joined #angularjs
[10:15:35] <Prjio> sers
[10:15:43] *** gurke_ has quit IRC
[10:15:52] *** gurke_ has joined #angularjs
[10:15:52] *** dannyc__ has joined #angularjs
[10:15:54] *** tangorri has joined #angularjs
[10:15:57] *** dejanr has quit IRC
[10:16:59] *** jonr22 has quit IRC
[10:17:27] *** mennea has quit IRC
[10:17:36] *** jonr22 has joined #angularjs
[10:18:24] *** basiclaser_ has joined #angularjs
[10:18:43] *** Nannet has quit IRC
[10:19:28] *** jillesme has quit IRC
[10:19:42] *** patrick99e99 has quit IRC
[10:20:24] *** glassir has joined #angularjs
[10:20:37] *** juristr has joined #angularjs
[10:20:41] *** moritzschaefer has joined #angularjs
[10:20:46] *** kostiak has joined #angularjs
[10:21:10] *** aks has quit IRC
[10:21:31] *** tech2 has joined #angularjs
[10:21:45] *** jonr22 has quit IRC
[10:21:46] *** jonr2219 has joined #angularjs
[10:22:19] *** aks has joined #angularjs
[10:22:24] *** napcoder has joined #angularjs
[10:22:37] <lite_> anyone here familiar with protractor? Im trying to have protractor handle the starting/stopping of the selenium server but according to the guide the selenium jar should be in a subfolder of node_modules/protractor . It is not.
[10:22:55] *** jillesme has joined #angularjs
[10:22:57] <lite_> did they remove selenium from the protractor package at some point ?
[10:23:46] *** jonr22 has joined #angularjs
[10:23:46] *** jonr2219 has quit IRC
[10:24:11] *** AlSquirikou has quit IRC
[10:24:17] *** skyx_ has joined #angularjs
[10:24:26] *** TheAceOfHearts has joined #angularjs
[10:24:49] *** brodul_ has joined #angularjs
[10:24:52] *** jillesme has quit IRC
[10:25:01] *** brodul has quit IRC
[10:25:31] *** cotko has joined #angularjs
[10:25:37] *** jonr22 has quit IRC
[10:25:38] *** jonr2219 has joined #angularjs
[10:25:47] *** rosidoo has quit IRC
[10:26:51] *** Sky[x] has quit IRC
[10:27:10] *** jonr2219 has quit IRC
[10:27:16] *** jmichaelward has joined #angularjs
[10:27:23] *** wafflej0ck_ has quit IRC
[10:27:39] *** jonr22 has joined #angularjs
[10:29:00] *** sk87 has quit IRC
[10:29:14] *** wafflej0ck_ has joined #angularjs
[10:29:38] *** rosidoo has joined #angularjs
[10:29:42] *** jonr2219 has joined #angularjs
[10:29:45] *** jonr22 has quit IRC
[10:29:45] *** corehook has joined #angularjs
[10:30:31] *** davidreis has joined #angularjs
[10:30:58] *** JR___ has joined #angularjs
[10:31:02] *** sk87 has joined #angularjs
[10:31:14] *** juampy_brb is now known as juampy
[10:31:18] *** greengriminal has joined #angularjs
[10:31:47] *** jmichaelward has quit IRC
[10:31:55] *** JERE has joined #angularjs
[10:32:39] *** duellsy has joined #angularjs
[10:34:15] *** m8 has joined #angularjs
[10:34:54] *** jonr2219 has quit IRC
[10:37:30] *** jaznow has joined #angularjs
[10:41:29] *** rosieres has joined #angularjs
[10:41:29] *** Ajans has quit IRC
[10:41:30] *** markus_ has joined #angularjs
[10:41:30] <markus_> Hi guys
[10:41:31] *** bhuvanaurora has joined #angularjs
[10:41:31] *** evilaliv3 has quit IRC
[10:41:33] *** cebor has quit IRC
[10:42:17] *** evilaliv3 has joined #angularjs
[10:42:25] *** cebor has joined #angularjs
[10:43:15] *** chaohuanghong has joined #angularjs
[10:43:35] *** tarnus has joined #angularjs
[10:43:51] *** chaohuanghong1 has quit IRC
[10:43:55] *** c00ljs has joined #angularjs
[10:44:57] *** TheAceOfHearts has quit IRC
[10:45:05] <juristr> hi, does anyone have experiences in using $resource vs. Restangular??
[10:45:18] <markus_> Hi i am new to angularjs an tried to use an own directive in a dialog service template. But i am not sure why, the directive is not used.
[10:47:13] <andern> juristr: better to just ask your question
[10:47:29] <andern> some of the differences are listed here: https://github.com/mgonto/restangular#differences-with-resource
[10:47:53] *** eamonn has joined #angularjs
[10:48:23] *** tarnus has quit IRC
[10:48:28] *** micks_9093 has quit IRC
[10:48:32] *** otisZart has joined #angularjs
[10:48:59] <juristr> andern: Yep, already went through that list. I was more interested in any experiences or shortcomings...like $resources is more lightweight (?) but you have to type more/have to do lots of tedious stuff manually etc..
[10:49:00] *** edy has quit IRC
[10:49:11] *** motto has joined #angularjs
[10:49:35] *** motto is now known as Guest33514
[10:50:17] *** Mackseraner has joined #angularjs
[10:51:13] <andern> juristr: i haven't tried restangular, but i use $resource in a huge angular app and our total code concerning $resource is very small
[10:51:16] *** m8 has quit IRC
[10:51:43] *** bengillies has quit IRC
[10:52:44] *** punch has joined #angularjs
[10:52:58] *** bhuvanaurora has quit IRC
[10:53:08] *** Aliks has quit IRC
[10:53:19] <juristr> andern: So you maybe know what they mean with "You don't have to create one $resource object per request" on the Restangular site. Is is that you need to create a $resource for every REST api endpoint you'd like to map, like for "/people", "/nations", ...
[10:53:30] *** bengillies has joined #angularjs
[10:53:44] *** Aliks has joined #angularjs
[10:53:52] *** mennea has joined #angularjs
[10:54:09] *** bhuvanaurora has joined #angularjs
[10:54:29] <andern> yes we do that. say we have on average 4 rest services per resource like /people /organization
[10:54:37] *** cotko has quit IRC
[10:54:39] <andern> that's 3 lines with $resource per resource
[10:54:59] *** JesuZ has joined #angularjs
[10:55:00] *** adpirz has joined #angularjs
[10:55:02] *** Ajans has joined #angularjs
[10:55:06] <andern> not even that. it's basically one line; a return statement, and two lines for wrapping it in a module and a factory
[10:55:14] *** NoNMaDDe_ has joined #angularjs
[10:55:41] *** NoNMaDDeN has quit IRC
[10:56:39] *** bengillies has quit IRC
[10:56:51] *** bengillies has joined #angularjs
[10:57:17] *** JR___ has quit IRC
[10:57:28] *** punch has quit IRC
[10:57:33] <andern> http://pastebin.com/6F9xr7yG
[10:57:35] <andern> something like that
[10:57:36] *** phaza has joined #angularjs
[10:57:55] *** JR___ has joined #angularjs
[10:57:55] *** sacho has joined #angularjs
[10:58:10] *** Aliks has quit IRC
[10:58:11] *** bengillies has quit IRC
[10:58:11] *** Greed has joined #angularjs
[10:58:30] *** JesuZ has quit IRC
[10:58:33] <phaza> hello there. how to send push notifications to an angular frontend? some message qeue will be holding the notifications
[10:59:27] *** adpirz has quit IRC
[10:59:33] *** jillesme has joined #angularjs
[10:59:36] *** Sebastien-L has joined #angularjs
[10:59:48] *** JesuZ has joined #angularjs
[11:00:12] *** platonic has joined #angularjs
[11:00:21] *** DuelShark has joined #angularjs
[11:01:53] *** qdk has quit IRC
[11:01:58] *** JesuZ has quit IRC
[11:03:47] *** fedenunez has joined #angularjs
[11:04:36] *** bengillies has joined #angularjs
[11:04:36] *** rburns has quit IRC
[11:05:02] *** platonic has quit IRC
[11:05:04] *** rburns has joined #angularjs
[11:05:43] *** JesuZ has joined #angularjs
[11:07:02] *** spaceonline has joined #angularjs
[11:07:55] *** bengillies has quit IRC
[11:07:57] *** robksawyer has joined #angularjs
[11:08:56] *** gkaplan has joined #angularjs
[11:09:15] *** cilkay has quit IRC
[11:09:39] *** larsgk has quit IRC
[11:10:36] *** mdedetrich has quit IRC
[11:10:41] *** Makpoc has quit IRC
[11:10:51] *** skyx_ has quit IRC
[11:11:18] *** patricx has joined #angularjs
[11:11:38] *** dannyc__ has quit IRC
[11:11:40] <patricx> hello
[11:11:41] *** oliver___ has joined #angularjs
[11:11:58] <patricx> please how to set angular ui-grid custom cell footer
[11:12:04] <juristr> andern: Exactly. Did something similar. So they probably mean that with Restangular you simply inject the Restangular object and create them on the fly..although I'm not sure I'd prefer that.
[11:12:18] *** gkap has quit IRC
[11:13:04] *** JayFK has joined #angularjs
[11:13:28] <patricx> <div>how to put aggregation result here </div>
[11:13:50] <juristr> andern: last question :) Does $restangular automatically "understand" when to execute a PUT vs. POST based on the object ID or do u have to do it by yourself? Meaning, to use .$save / .$update on the object instance (and obviously conf $resource to do PUTs for updates)
[11:14:19] *** bengillies has joined #angularjs
[11:14:51] *** qdk has joined #angularjs
[11:15:22] *** DuelShark has quit IRC
[11:15:37] *** DuelShark has joined #angularjs
[11:15:46] *** numenor has joined #angularjs
[11:16:06] *** mak`` has joined #angularjs
[11:16:15] *** focii has quit IRC
[11:16:38] *** whitebook has joined #angularjs
[11:16:53] *** pyfisch has joined #angularjs
[11:17:07] *** DuelShark has quit IRC
[11:17:47] *** ElysiumNet has joined #angularjs
[11:18:27] *** nerder has joined #angularjs
[11:18:33] <nerder> hello
[11:18:42] *** DuelShark has joined #angularjs
[11:18:57] <pyfisch> hello. I am trying to serve an angular app on a development server. Serving the files works, the page is even shown, but then the the chrome tab crashes. And there are strange requests like "/bower_components/angular-route/angular-route.js?_=1416824085858" in the log of the development server, they are not shown in the network tab of the developer console.
[11:19:21] *** arpu has joined #angularjs
[11:19:43] <pyfisch> any ideas what it could be or where I could look?
[11:19:47] *** DuelShark has quit IRC
[11:19:47] *** jlebrech has joined #angularjs
[11:19:52] *** patricx has quit IRC
[11:20:53] *** DuelShark has joined #angularjs
[11:21:06] *** whitebook has quit IRC
[11:21:13] <nerder> why angular is not defined? http://plnkr.co/edit/poyJ4dn0PeZIUJA51tFg?p=preview
[11:21:16] *** TyrfingMjolnir has quit IRC
[11:21:24] *** dannyc__ has joined #angularjs
[11:21:41] *** DuelShark has joined #angularjs
[11:22:10] *** jaydubya has joined #angularjs
[11:22:26] *** wa5ted_a_ has quit IRC
[11:22:45] *** bengillies has quit IRC
[11:23:00] *** bengillies has joined #angularjs
[11:23:23] <Helzibah> nerder: you've not included it
[11:23:34] <Helzibah> nerder: you need a <script src="">
[11:24:04] *** gkaplan has quit IRC
[11:24:24] <nerder> Helzibah: line 9: index.html
[11:24:40] *** gkap has joined #angularjs
[11:25:01] <Helzibah> nerder: no, that's referencing your own javascript, you need to include the angular framework
[11:25:53] <Grokling_> phaza: websockets
[11:25:53] <nerder> yep i realize just know, but i use the pluker in the channel description, i suppose was already included.
[11:26:27] *** cacts has quit IRC
[11:26:48] *** dejanr has joined #angularjs
[11:26:54] *** jaydubya has quit IRC
[11:27:06] *** Xethron has joined #angularjs
[11:28:19] *** sajt has quit IRC
[11:28:30] <Grokling_> heh nerder.. it used to be included.. Someone has borked the plunker template.
[11:29:04] <nerder> Grokling_: i knew it, that's why i didn't check for that
[11:30:59] <elmcrest> Hi all. I have a <li> with a child <ul> - for styling purpose the child <ul> has a margin - this margin triggers ng-mouseleave ... is there a best-pratice to solve this?
[11:31:01] *** rburns has quit IRC
[11:31:04] *** gurke_ has quit IRC
[11:31:06] *** duellsy has quit IRC
[11:31:24] *** cotko has joined #angularjs
[11:31:27] *** aortmann has joined #angularjs
[11:31:51] *** dejanr has quit IRC
[11:32:08] *** kas84 has quit IRC
[11:32:23] <Helzibah> elmcrest: have you tried using padding instead?
[11:33:29] <elmcrest> Helzibah: no because I have a background color ...
[11:33:42] *** DuelShark has quit IRC
[11:33:57] *** DuelShark has joined #angularjs
[11:34:19] <Helzibah> elmcrest: fair enough, was just a thought as to where the mouseleave trigger was
[11:34:23] *** davidreis_ has joined #angularjs
[11:34:32] *** DuelShark has joined #angularjs
[11:35:04] *** memento has quit IRC
[11:35:28] <elmcrest> Helzibah: yeah ... I tried a $timeout, but it isn't canceled on a (again) coming mouseenter ... so doesn't help too
[11:36:23] *** Muthu has joined #angularjs
[11:36:57] *** wafflej0ck_ has quit IRC
[11:37:01] <Muthu> any one explain me angular js date picker functionality
[11:37:32] <andern> juristr: did you mean $resource?
[11:37:44] <juristr> andern: Yep
[11:38:11] <juristr> andern: Oh sorry...wrote restangular. Yep, meant $resource
[11:38:13] *** Sky[x] has joined #angularjs
[11:38:24] <andern> you have to specify .$save or .$update or whatever
[11:38:27] <elmcrest> Helzibah: ok I just added an empty <li> child which does the margin ... maybe not so nice, but it works ^^
[11:38:36] *** bkuberek has joined #angularjs
[11:38:40] *** leonbienek has joined #angularjs
[11:39:01] <juristr> andern: I see...
[11:39:08] <andern> i'm not completely sure what you mean by 'based on the object id'
[11:39:17] *** Guest65478 has quit IRC
[11:39:28] <elmcrest> which does include the background-color though, but that's ok because in the "spacing-area" the unterlying background is black ... padding doesn't work because it would have broken the border style ... just to let you know Helzibah
[11:39:53] *** rosidoo has quit IRC
[11:40:27] *** Sky[x] has quit IRC
[11:40:28] <juristr> andern: Well often (other JS frameworks) there's some logic that you can always call .save on some instance of an object and internally based on whether it is a new entity (.id is not defined or < 0) it executes a POST and otherwise a PUT request to the server (as normally done with REST apis)
[11:40:37] <Helzibah> elmcrest: glad you found a fix one way or another!
[11:40:53] *** azizur has quit IRC
[11:40:57] *** arpu has quit IRC
[11:41:03] <juristr> andern: It's not really that important as you can easily implement it by yourself...was just curious
[11:41:14] *** arpu has joined #angularjs
[11:41:22] *** robksawyer has quit IRC
[11:41:26] <andern> i'm not exactly sure. we have implemented that on the client side here on the one place where we needed it
[11:41:47] <andern> but it would be handy. sometimes it can be too much magic though :)
[11:43:12] <Muthu> after selected date picker one day before to be binding
[11:43:13] *** bkuberek has quit IRC
[11:43:58] <nerder> angular,forEach have "break"?
[11:44:16] <Leon> nerder no
[11:44:25] *** bengillies has quit IRC
[11:44:27] <Leon> it's a functional construct
[11:44:39] <nerder> i dont want to use a native for, cause i way slower
[11:44:48] <nerder> *it's
[11:44:54] <Leon> it's better in that case to combine a .filter and then use a forEach
[11:45:33] *** Muthu has quit IRC
[11:45:41] *** metal55 has joined #angularjs
[11:46:20] <nerder> you mean for instance that if i want to show just the first 5 result of the array that i buid with my forEach i have to use a filter?
[11:46:41] <sacho> you could use .slice
[11:46:49] <metal55> Hey all, I am quite new to Angular... I am adding ng-change="searchChange()" to an element and I get Error: [$compile:ctreq] - I am not sure I I understand the error message?
[11:47:01] <sacho> what's the whole error
[11:47:07] *** net2014 has joined #angularjs
[11:47:28] <nerder> sacho: you tell me?
[11:47:39] <metal55> Ah... I am sorry I missed the ng-model
[11:47:41] *** dannyc__ has quit IRC
[11:47:47] <metal55> I just had ng-bind
[11:47:47] *** macobo has joined #angularjs
[11:47:57] <net2014> hello, how long an average javascript programmer would take to learn the most important elements of angularjs?
[11:48:16] *** rosidoo has joined #angularjs
[11:48:27] *** rburns has joined #angularjs
[11:48:29] <sacho> 5 light years.
[11:48:34] *** Oxynum has quit IRC
[11:48:53] *** sajt has joined #angularjs
[11:49:36] *** JR___ has quit IRC
[11:49:53] *** sp00x has quit IRC
[11:50:02] <numenor> sacho, Another 5 to learn angular 2.0
[11:50:44] <net2014> I am more of average in javascript and its jquery. I understand that ratings are subjective
[11:51:17] *** sp00x has joined #angularjs
[11:51:36] <net2014> maybe a better question would be, is the learning curve of angularjs short?
[11:51:40] <ElysiumNet> numenor: 2.0?
[11:51:56] <ElysiumNet> net2014: depends on prior experience
[11:52:24] *** edy_ has joined #angularjs
[11:52:26] <numenor> net2014 , Exclude directives, factories stc for a quicker startup
[11:52:27] <metal55> I am using ng-change which fired on every key press (change) but I want to call a function when the user has finished typing (presses enter)
[11:52:46] <ElysiumNet> metal55: that's covered in the guide and tutorial
[11:52:46] *** raj_ has quit IRC
[11:52:47] <numenor> net2014 , begin with just the controller and $scope.
[11:53:10] <metal55> ElysiumNet: Ah awesome where is that ?
[11:53:39] <metal55> https://docs.angularjs.org/tutorial
[11:53:42] <metal55> That one?
[11:54:11] <net2014> thank you
[11:54:25] <ElysiumNet> metal55: wrong, I was thinking of the developer reference. https://docs.angularjs.org/guide/forms
[11:54:46] <metal55> Thank you ElysiumNet
[11:54:49] <ElysiumNet> Non-immediate (debounced) model updates
[11:55:42] *** sebhoss has joined #angularjs
[11:56:25] <metal55> Perfect thank you ElysiumNet
[11:56:25] *** bayousoft has joined #angularjs
[11:56:37] *** rburns has quit IRC
[11:57:21] *** azizur has joined #angularjs
[11:57:54] *** mattattaque has quit IRC
[11:58:00] *** metal55 has quit IRC
[12:00:11] *** bhuvanaurora has quit IRC
[12:01:27] *** dylan9o4 has quit IRC
[12:01:51] *** sk87 has quit IRC
[12:02:29] *** wsmoak has joined #angularjs
[12:03:19] *** marcjs_ has quit IRC
[12:03:24] *** Grokling_ has quit IRC
[12:03:31] *** bhuvanaurora has joined #angularjs
[12:03:58] *** leonbienek has left #angularjs
[12:04:01] *** bengillies has joined #angularjs
[12:04:18] <ElysiumNet> when is 2.0 coming out anyway?
[12:04:42] <lite_> a year
[12:04:43] <lite_> maybe
[12:05:55] <net2014> would you say that angularjs is to javascript as to what laravel is to php?
[12:06:25] <ElysiumNet> net2014: a framework?
[12:06:50] <net2014> ElysiumNet: yes, ok
[12:08:04] *** jaydubya has joined #angularjs
[12:08:20] *** MaxV has quit IRC
[12:08:39] *** Oxynum has joined #angularjs
[12:09:25] *** mattattaque has joined #angularjs
[12:09:44] *** duall has joined #angularjs
[12:09:46] <duall> Hi
[12:09:53] *** AngularUI has joined #angularjs
[12:09:53] <AngularUI> [ng-grid] jpuri opened pull request #2212: #1815 (master...master) http://git.io/K3O5jQ
[12:09:53] *** AngularUI has left #angularjs
[12:11:16] *** platonic has joined #angularjs
[12:11:21] <net2014> well, laravel for php, helps you write using mvc, and offers various classes and libraries to help you write code faster, it also offers you some structure
[12:11:35] <net2014> is that the same with angularjs but for javascript?
[12:12:38] *** MaxV has joined #angularjs
[12:12:48] *** SergioFilhow has joined #angularjs
[12:13:19] <bd-> angularjs is a framework that provides some structure, yes
[12:13:25] <bd-> but it's not really similar to laravel
[12:13:28] *** _45kb has joined #angularjs
[12:14:03] <_45kb> hey, is there some gentleman who can help on a little datepicker on github?
[12:14:53] <_45kb> :D come on…. :D
[12:14:58] *** gurke_ has joined #angularjs
[12:14:59] *** gurke_ has joined #angularjs
[12:15:10] <duall> that's what she said ^^
[12:15:15] *** sk87 has joined #angularjs
[12:15:21] <_45kb> :(
[12:15:33] *** patrick99e99 has joined #angularjs
[12:15:41] <duall> _45kb, it would've be easier if you ask the question instead of asking for permission to ask one
[12:15:55] * elmcrest is going to hate bootstrap ... bootstrap everywhere! fail!! :)
[12:15:58] *** jmichaelward has joined #angularjs
[12:16:13] * duall bootstrap worst thing that could happen to angular
[12:16:16] *** platonic has quit IRC
[12:16:18] *** laurensclaessen has quit IRC
[12:16:24] <_45kb> duall: well the question is little bit generic its how to make it work with keyboard keys on Safari and Firefox, on Chrome it already works
[12:16:35] *** AciD`` has joined #angularjs
[12:16:47] *** corehook has quit IRC
[12:16:50] <_45kb> i tryed using tabindex but Safari and Firefox wont work :(
[12:16:54] *** arpu has quit IRC
[12:17:08] <elmcrest> Does anyone have a link for a "responsive navbar without bootstrap" with angular? ... it seems I'm too stupid to find anything
[12:17:22] <duall> \o/ I'm pretty sure someone has faced the same issue, try some googling
[12:17:27] *** SergioFilhow has quit IRC
[12:17:30] <_45kb> elmcrest: i did my framework https://github.com/720kb/csshelper
[12:17:34] <scav> are there any angular libraries for oauth2 that anyone would like to recomend?
[12:17:50] <elmcrest> _45kb: thx
[12:18:07] <_45kb> elmcrest: np just i wrote this to not use bootstrap at all :P
[12:18:23] *** elyssonmr has joined #angularjs
[12:18:42] *** jonr22 has joined #angularjs
[12:18:49] *** sajt has quit IRC
[12:18:50] <duall> somewhat reminds me to https://material.angularjs.org
[12:19:18] <_45kb> duall: sure in the near future i'll use materials maybe with a own framework again :D
[12:19:18] <elmcrest> hehe ok ... I mean in general bootstrap or foundation isn't that bad ... but there is too much relevance for them and too less for more general solutions IMHO
[12:19:35] *** fedenunez has quit IRC
[12:19:39] *** fedenunez1 has joined #angularjs
[12:19:40] *** laurensclaessen has joined #angularjs
[12:20:00] <duall> elmcrest, i found everything related to ui-angular quite dirty ( code-wise )
[12:20:02] *** patrick99e99 has quit IRC
[12:20:25] *** az7ar_away has quit IRC
[12:20:50] *** niklasmodess has joined #angularjs
[12:20:55] *** jmichaelward has quit IRC
[12:20:56] <duall> and i think some of their components still use jquery
[12:21:57] <elmcrest> _45kb: doesn't help me though to solve my collapsible navbar :( ...
[12:22:20] <_45kb> elmcrest: eheh yes i mean this is CSS only then you need little bit of angularjs ;)
[12:22:20] <elmcrest> Or am I missing something ... ?
[12:22:37] <elmcrest> _45kb: yeah that part is what I try to find :)
[12:23:00] <elmcrest> maybe that's too easy that somebody wrote some documentation somewhere :)
[12:23:02] <_45kb> elmcrest: you just need to toggle a new menu on ng-click
[12:23:14] <_45kb> elmcrest: i can tell you more in PM if you want
[12:23:17] *** jonr22 has quit IRC
[12:23:29] <elmcrest> _45kb: I'd apreciated that, yes :)
[12:23:38] <elmcrest> *apreciate
[12:23:40] <duall> elmcrest, can you show us a working example of what you need ? or something similar ?
[12:23:42] <_45kb> PM me np
[12:24:21] <elmcrest> duall: just a "bootstrap" like burger style menu ... like too less width = burger menu -> enough width navbar (<ul><li> ... )
[12:25:02] <duall> should i google 'bootstrap burger style menu' ?
[12:25:15] <duall> you mean accordion ?
[12:26:35] *** sajt has joined #angularjs
[12:26:36] <nerder> hello, anybody can expalin me why the ng-click dosent work with this? https://gist.github.com/anonymous/d1a1e5db12a561de3a7d
[12:26:52] *** dejanr has joined #angularjs
[12:27:13] *** MaxV has quit IRC
[12:27:14] <nerder> it' works if i'm in #/main and in any other routes, but not when i'm in the same route that i trigger
[12:27:44] *** mjw56 has quit IRC
[12:28:32] <nerder> i mean if i try to use the form in #/routes seems to don't do nothing
[12:28:43] *** pyfisch has quit IRC
[12:29:19] *** arpu has joined #angularjs
[12:30:11] *** tomengland_mbp has joined #angularjs
[12:30:15] <_45kb> duall: he means responsive mobile menu yeah
[12:30:19] <_45kb> the classic burger menu
[12:30:47] *** rburns has joined #angularjs
[12:31:08] *** e0ipso is now known as e0ipso|away
[12:31:23] *** dejanr has quit IRC
[12:32:19] *** Prjio has quit IRC
[12:32:41] *** niklasmodess has quit IRC
[12:32:41] *** lukas_ has joined #angularjs
[12:32:48] *** tarnus has joined #angularjs
[12:33:29] *** Ch4rAss has quit IRC
[12:34:36] *** e0ipso|away is now known as e0ipso
[12:34:37] <elmcrest> duall: yes sry, as _45kb mentioned ... just the kind of standard way. but I try my luck with _45kb's lib now :)
[12:34:47] <lukas_> Hi, I am trying to enable i18n on AngularJS app. I included the angular-locale_cs.js and angular-locale_en-us.js files but the switching is not working. Date format is always in language which I included last no matter what is set in the Accept-Langage header. What could be wrong?
[12:35:02] *** tomengland_mbp has quit IRC
[12:35:16] *** niklasmodess has joined #angularjs
[12:36:26] *** Crippy has joined #angularjs
[12:36:49] *** glassir has quit IRC
[12:36:54] <nerder> https://docs.angularjs.org/guide/i18n did you see this already?
[12:37:23] *** marcjs_ has joined #angularjs
[12:37:43] *** glassir has joined #angularjs
[12:37:48] *** tarnus has quit IRC
[12:38:02] *** k-dawg has joined #angularjs
[12:38:03] *** araujo has joined #angularjs
[12:38:03] *** corehook has joined #angularjs
[12:38:11] *** mmealling has quit IRC
[12:38:17] <lukas_> yes
[12:38:31] <Crippy> Can the DatePicker and the TimePicker to a single DateTime object so that the date of the DateTime object will be the date from the DatePicker, and the time from the DateTime object?
[12:39:07] <Crippy> bind the date and the time together to make one DateTime object...
[12:39:14] <nerder> lukas_: take a look of this too: http://codingsmackdown.tv/blog/2012/12/14/localizing-your-angularjs-app/
[12:39:18] *** yts has joined #angularjs
[12:39:48] <nerder> Crippy: you could use $.extend()
[12:40:35] <lukas_> nerder: Is it possible to have multiple i18n files included in index.html?
[12:40:44] <nerder> Crippy: sorry i mean https://docs.angularjs.org/api/ng/function/angular.extend
[12:40:54] *** frobs has quit IRC
[12:41:00] *** daminhove has quit IRC
[12:41:08] <Crippy> Ok thanks nerder, ill have a read now :)
[12:41:09] <bd-> Crippy: i tried this before and it didn't work well
[12:41:14] <Crippy> lol
[12:41:20] <nerder> i guess that it give an example of something like this in the second link that i give you
[12:41:22] <bd-> when changing the date, it would reset the time to midnight
[12:41:45] <lukas_> nerder: I would expect that if I include multiple files for more languaes that the format of the date would be specified by user's browser settings.
[12:41:55] <Crippy> Been finding hard to find anything to do this
[12:42:12] <bd-> i ended up using input [type=datetime]
[12:42:15] <bd-> but it's pretty crap
[12:42:19] *** daminhove has joined #angularjs
[12:42:46] <Crippy> as long as it submits to the db in a DatTime object im happy :)
[12:42:54] <Crippy> DateTime*
[12:42:56] <nerder> lukas_: yep, i know what you are looking for
[12:43:55] *** adpirz has joined #angularjs
[12:44:06] <bd-> actually, was type=datetime-local
[12:44:14] <bd-> not sure how supported it is by browsers
[12:44:42] *** recidive has joined #angularjs
[12:44:43] *** tommyjam has joined #angularjs
[12:45:16] <nerder> anybody can explain me why ui-sref don't let ng-click to trigger a function() if is in the same route it is suppose to "link"?
[12:45:34] <nerder> i expect that he refresh the view, instead of not working at all
[12:46:03] *** qdk has quit IRC
[12:46:25] *** SargoDarya has quit IRC
[12:46:28] *** fedenunez1 has quit IRC
[12:47:07] *** startupality has joined #angularjs
[12:47:31] *** storresi has joined #angularjs
[12:47:35] <nerder> lukas_: http://www.ng-newsletter.com/posts/angular-translate.html this seems to show exactly what are you looking for
[12:47:40] *** drej has joined #angularjs
[12:48:23] *** adpirz has quit IRC
[12:48:34] *** Oxynum has quit IRC
[12:48:43] <lukas_> nerder: thanks. I'll try it
[12:49:04] *** yts has quit IRC
[12:49:40] *** laurensclaessen has quit IRC
[12:49:55] *** fedenunez has joined #angularjs
[12:50:41] *** RangerRick has quit IRC
[12:51:03] *** RangerRick has joined #angularjs
[12:51:21] *** lukas_ has quit IRC
[12:51:52] *** jacob_ has joined #angularjs
[12:52:19] *** Imagineer has joined #angularjs
[12:52:48] *** areologist has joined #angularjs
[12:53:15] <scav> are there any angular libraries for oauth2 that anyone would like to recomend?
[12:53:19] *** e0ipso is now known as e0ipso|away
[12:53:37] <_45kb> scav: oAuth.io is a good one dont know if some angular lib for it
[12:53:52] <bd-> scav: for clientside oauth or serverside?
[12:54:34] <bd-> i think most people don't actually want to do oauth clientside, unless they're working only with google apis
[12:54:37] *** bhuvanaurora has quit IRC
[12:56:00] *** tangorri has quit IRC
[12:56:11] *** recidive has quit IRC
[12:56:23] *** dsdeiz has quit IRC
[12:56:34] *** PrinceAMD has joined #angularjs
[12:57:03] *** jgladwill has quit IRC
[12:58:04] *** pen has quit IRC
[12:58:06] *** mbuf has quit IRC
[12:58:13] *** larsgk has joined #angularjs
[12:58:29] *** qdk has joined #angularjs
[12:58:37] *** dannyc__ has joined #angularjs
[12:58:58] *** tangorri has joined #angularjs
[12:58:58] *** kevinxu has joined #angularjs
[12:59:06] <nerder> how can i build a function that "if i'm in this path return true"? i'm using ui-router.
[12:59:07] *** IvailoStoianov has joined #angularjs
[12:59:21] *** kevinxu is now known as Guest55771
[12:59:25] *** recidive has joined #angularjs
[12:59:29] <bd-> return $state.is('whatever')
[12:59:31] *** Imagineer has quit IRC
[12:59:35] <bd-> or $state.includes('partialpath')
[12:59:54] *** elyssonmr has quit IRC
[12:59:58] *** recidive has quit IRC
[13:00:03] *** Guest55771 has quit IRC
[13:01:07] *** e0ipso|away is now known as e0ipso
[13:01:13] <_45kb> nerder: also $state.current gives you what the current state is
[13:01:16] <_45kb> afaik
[13:01:41] *** bayousoft has quit IRC
[13:01:48] *** bhuvanaurora has joined #angularjs
[13:02:16] *** rosidoo has quit IRC
[13:02:48] *** dannyc__ has quit IRC
[13:03:22] *** lite_ has quit IRC
[13:03:30] *** fedenunez has quit IRC
[13:03:33] *** ahtik has joined #angularjs
[13:03:40] *** lite_ has joined #angularjs
[13:03:53] *** sajt has quit IRC
[13:04:11] <nerder> bd-: something like this: https://gist.github.com/anonymous/fd2d885b6c55ad4659c8
[13:04:51] *** tripu has quit IRC
[13:05:14] *** laurensclaessen has joined #angularjs
[13:05:20] <bd-> yea, should work
[13:05:57] *** sajt has joined #angularjs
[13:06:05] *** kevinxu_ has joined #angularjs
[13:06:10] *** tripu has joined #angularjs
[13:06:16] <nerder> bd-: but i have to do this workaround to let it work in the way i want? or there is something else possible?
[13:06:32] <bd-> how is it a workarond?
[13:06:39] *** rburns has quit IRC
[13:07:11] *** kevinxu_ has quit IRC
[13:07:41] *** sk87 has quit IRC
[13:08:04] *** marcjs_ has quit IRC
[13:08:16] *** _45kb has quit IRC
[13:08:21] <nerder> bd-: i do in this way because ui-sref seems to don't let ng-click to trigger a function if is in the same path it is suppose to link
[13:09:08] *** \du has joined #angularjs
[13:10:26] <scav> bd-: ofc im not implementing an oauth2 server on the client side, i got a java based backend, i just need the frontend stuff
[13:10:45] *** laurensc_ has joined #angularjs
[13:11:16] <scav> having it on the front end sounds like insanity :p
[13:11:16] *** vvdwivedi has joined #angularjs
[13:11:36] *** laurensclaessen has quit IRC
[13:11:54] <vvdwivedi> hi guys, anyone can help me in implementing a patch request with angular?
[13:11:59] *** Xethron has quit IRC
[13:12:31] *** rburns has joined #angularjs
[13:13:00] <burzum2> Probably a stupid question but why isn't this updating the commentLength when I type into the body textarea? $scope.commentLength = 1000 - $scope.comment.Comment.body.length;
[13:13:01] <bd-> scav: then you probably want an oauth lib for java instead of angular, no?
[13:13:22] *** jillesme has quit IRC
[13:13:41] *** drej has quit IRC
[13:14:12] *** shinnya has quit IRC
[13:14:22] *** Xethron has joined #angularjs
[13:14:22] *** Xethron has joined #angularjs
[13:14:33] <bd-> vvdwivedi: $http.patch() works if you have 1.3, if <=1.2 you need $http({method:'PATCH' ...})
[13:14:36] <Crippy> nerder managed to bind the data together with new date object and passing the two seperate datetime for date and datetime for the time into the new date object then used moment js to format it and it successfully submitted to the db
[13:15:41] <nerder> Crippy: sounds good ;)
[13:15:56] *** jas- has joined #angularjs
[13:16:06] <Crippy> might do a blog post on it
[13:16:12] <Crippy> bound to happy to someone else
[13:16:19] <vvdwivedi> I think I have 1.3
[13:16:19] <Crippy> happen*
[13:16:52] <vvdwivedi> I will give this a try
[13:16:56] <nerder> there's something that let me refresh the view with ui-router?
[13:19:03] <Leon> nerder I think there is a refresh or reload function on the $state
[13:19:08] *** elyssonmr has joined #angularjs
[13:19:45] <Leon> nerder https://github.com/angular-ui/ui-router/wiki/Quick-Reference#statereload
[13:20:04] *** Artagan has joined #angularjs
[13:20:49] *** fedenunez has joined #angularjs
[13:20:55] *** b1rkh0ff has joined #angularjs
[13:21:04] *** shinnya has joined #angularjs
[13:21:42] *** testin has quit IRC
[13:21:51] *** SergioFilhow has joined #angularjs
[13:22:14] *** vvdwivedi has quit IRC
[13:22:18] *** Ch4rAss has joined #angularjs
[13:24:03] *** whitebook has joined #angularjs
[13:24:15] *** agocorona_ has joined #angularjs
[13:25:00] *** agocorona has joined #angularjs
[13:25:27] *** whitebook has quit IRC
[13:26:43] *** ronskisika has quit IRC
[13:27:28] *** bkuberek has joined #angularjs
[13:27:34] *** MaxV has joined #angularjs
[13:27:43] *** NoNMaDDe_ has quit IRC
[13:28:55] <scav> bd-: lets assume for a moment that im not a complete idiot, and that i just want to save some time here, if you are unaware of anything oauth related to angular - fine
[13:29:22] *** tripu has quit IRC
[13:29:26] *** soee has quit IRC
[13:29:28] <scav> bd-: im not asking for help implementing oauth, or using it, im asking for a library to just slap into my bower file, and add my backend params and open the login form
[13:29:51] *** deez79 has quit IRC
[13:29:57] *** Oddman has joined #angularjs
[13:30:12] <bd-> well the question is whether you need to authorise the browser or the user's session on the server
[13:30:43] *** Geertje123_ has quit IRC
[13:30:47] *** soee has joined #angularjs
[13:31:33] <scav> uh what_?
[13:32:16] *** bkuberek has quit IRC
[13:33:03] *** Geertje123_ has joined #angularjs
[13:33:06] <bd-> what is your actual use case? like, do you want google/fb login or something?
[13:33:41] <scav> that is irrelevant, it doenst matter if i want to use google or grandmaslogin.io
[13:34:10] *** azizur has quit IRC
[13:35:01] *** wethil has joined #angularjs
[13:35:13] <wethil> anybody can help me about angular-seed?
[13:35:13] <scav> but its fine, i asked google instead
[13:36:01] <bd-> ok, but you want to use it as a login method for your service?
[13:37:01] <burzum2> how can i stop an user from typing more characters into an text area when a maximum amount of characters is reached? Im using ng-keypress right now but i cant figure out how to prevent the input when the limit is reached. any ideas please?
[13:37:02] *** oliver___ has quit IRC
[13:37:23] *** kirfu has joined #angularjs
[13:37:36] *** yano has quit IRC
[13:38:11] *** IJNX_ has joined #angularjs
[13:39:46] *** IJNX has quit IRC
[13:39:46] *** IJNX_ is now known as IJNX
[13:40:13] *** wolfman2000 has quit IRC
[13:40:42] *** DuelShark has quit IRC
[13:40:55] *** whitebook has joined #angularjs
[13:41:17] *** jas- has quit IRC
[13:41:37] *** VinceZa has joined #angularjs
[13:42:17] *** ali4ever4 has joined #angularjs
[13:42:36] *** jas- has joined #angularjs
[13:44:14] *** spatialbrew has joined #angularjs
[13:44:29] *** yts has joined #angularjs
[13:44:52] *** quantax- has quit IRC
[13:44:58] <ali4ever4> Hello , i was wondering using Angularjs with cordova (in mobile hybrid development) will that make the apps slower than other hybrid html5 js applications ?!
[13:45:11] *** cakirke has joined #angularjs
[13:49:00] *** phzon has quit IRC
[13:50:04] *** sqwk has joined #angularjs
[13:50:44] *** jas- has quit IRC
[13:50:45] *** whitebook has quit IRC
[13:51:49] *** NoNMaDDeN has joined #angularjs
[13:52:11] *** corehook has quit IRC
[13:52:36] *** jas- has joined #angularjs
[13:52:39] *** jacob_ has quit IRC
[13:53:45] *** j_wright has joined #angularjs
[13:55:23] *** DuelShark has joined #angularjs
[13:56:31] *** techsethi has quit IRC
[13:57:02] *** Gonzalo has joined #angularjs
[13:57:29] *** jas- has quit IRC
[13:57:43] *** JayFK has quit IRC
[13:58:44] *** dsdeiz has joined #angularjs
[13:59:19] *** loverajoel has joined #angularjs
[13:59:32] *** markus_ has quit IRC
[14:00:03] *** moritzschaefer has quit IRC
[14:00:20] *** sebhoss has quit IRC
[14:00:26] *** tarnus has joined #angularjs
[14:01:07] <tangorri> anyone using websotrm with grunt ?
[14:01:24] <tangorri> can't specify the statup page ..
[14:02:03] *** spaceonline has quit IRC
[14:02:03] *** spaceonl_ has joined #angularjs
[14:02:03] *** juampy is now known as juampy_backlater
[14:03:17] *** sp00x has quit IRC
[14:03:19] *** jlebrech has quit IRC
[14:04:22] *** robe2 has quit IRC
[14:04:31] *** sp00x has joined #angularjs
[14:04:39] *** greengriminal has quit IRC
[14:04:44] *** jmichaelward has joined #angularjs
[14:04:57] *** Niro_ has joined #angularjs
[14:05:30] *** sqwk has quit IRC
[14:05:43] *** Nijikokun has quit IRC
[14:06:25] *** azizur has joined #angularjs
[14:06:33] *** marr has quit IRC
[14:07:14] *** jkl444 has quit IRC
[14:07:17] *** Ch4rAss has quit IRC
[14:07:43] *** jonr22 has joined #angularjs
[14:08:11] *** net2014 has quit IRC
[14:08:29] *** jillesme has joined #angularjs
[14:09:00] *** techsethi has joined #angularjs
[14:09:11] *** quantax- has joined #angularjs
[14:09:24] *** jmichaelward has quit IRC
[14:10:15] *** sk87 has joined #angularjs
[14:11:03] *** mkusher has quit IRC
[14:11:59] <nerder> anybody can explain me why the controller is not gonna reinizialize with this code? https://gist.github.com/anonymous/9c53155fa2db501033f7
[14:12:01] *** LoveAndHappiness has joined #angularjs
[14:12:05] *** mkusher has joined #angularjs
[14:12:17] *** jonr22 has quit IRC
[14:13:39] *** g3funk is now known as braidn
[14:13:41] *** tristanp has joined #angularjs
[14:13:48] *** TweedleDee has quit IRC
[14:14:01] *** martianboy has quit IRC
[14:14:38] *** duall has quit IRC
[14:15:09] *** bayousoft has joined #angularjs
[14:15:18] *** Sebastien-L has quit IRC
[14:15:52] *** Fishy has quit IRC
[14:17:15] *** danecando has quit IRC
[14:18:12] *** evilaliv3 has quit IRC
[14:18:54] *** vonnegut has joined #angularjs
[14:19:43] <bd-> nerder: $state.transitionTo( $state.current, angular.copy($stateParams), { reload: true, inherit: true, notify: true } );
[14:19:43] <bd-> try that instead of $state.reload()
[14:20:02] <nerder> ok
[14:20:22] <bd-> or wait for ui-router 0.2.13 release, it has bugfix for .reload
[14:20:25] *** memento has joined #angularjs
[14:21:08] *** Ch4rAss has joined #angularjs
[14:21:10] *** veiz has joined #angularjs
[14:21:12] *** glassir has quit IRC
[14:21:17] *** kirfu has quit IRC
[14:21:39] <bd-> actually apparently it is out, maybe you just need to bower update
[14:22:49] <veiz> /mode $me +x
[14:23:01] <nerder> bd-: it works!
[14:23:02] <soee> directive controller is a good way to load some form with different controller to create some record ?
[14:23:07] *** cakirke has quit IRC
[14:23:27] <nerder> once i can i update the ui-router then
[14:23:33] *** phzon has joined #angularjs
[14:23:53] *** dannyc__ has joined #angularjs
[14:24:40] *** richburke_ has quit IRC
[14:24:40] *** Templarian has quit IRC
[14:24:40] *** mafs_ has quit IRC
[14:24:41] *** iamblue_cloud___ has quit IRC
[14:24:41] *** imanc has quit IRC
[14:24:41] *** thanpolas has quit IRC
[14:24:42] *** shadowhand has quit IRC
[14:24:42] *** frozenice_ has quit IRC
[14:24:42] *** JonathanNeal has quit IRC
[14:24:43] *** oyvinmar___ has quit IRC
[14:24:43] *** ETBlue has quit IRC
[14:24:43] *** jkatsnelson has quit IRC
[14:24:45] *** kudos has quit IRC
[14:24:46] *** tombee has quit IRC
[14:24:47] *** tfnico____ has quit IRC
[14:24:48] *** iamstef has quit IRC
[14:24:49] *** amatecha has quit IRC
[14:24:49] *** adhipg has quit IRC
[14:24:49] *** hguux_ has quit IRC
[14:24:50] *** eristic has quit IRC
[14:24:50] *** merlinsbrain has quit IRC
[14:24:50] *** ceej has quit IRC
[14:24:51] *** ZucchiniZe has quit IRC
[14:24:51] *** andreypopp_ has quit IRC
[14:24:51] *** magnars has quit IRC
[14:24:52] *** prikk__ has quit IRC
[14:24:52] *** lebster has quit IRC
[14:24:53] *** epickillerpigz has quit IRC
[14:24:53] *** digitalfiz_ has quit IRC
[14:25:08] *** themime has quit IRC
[14:25:09] *** cuong_ has quit IRC
[14:25:09] *** hsn has quit IRC
[14:25:20] *** VeggieMeat_ has joined #angularjs
[14:25:27] *** sajt has quit IRC
[14:25:31] *** Juanchito_ has joined #angularjs
[14:25:31] *** themime has joined #angularjs
[14:25:31] *** apipkin_ has joined #angularjs
[14:25:36] *** iamblue_cloud___ has joined #angularjs
[14:25:37] *** mafs_ has joined #angularjs
[14:25:37] *** imanc has joined #angularjs
[14:25:38] *** basiclaser_ has quit IRC
[14:25:38] *** Juanchito has quit IRC
[14:25:39] *** elijah has quit IRC
[14:25:39] *** apipkin has quit IRC
[14:25:40] *** Shadda has quit IRC
[14:25:41] *** alphonse23_ has quit IRC
[14:25:41] *** shennyg has quit IRC
[14:25:42] *** lowell has quit IRC
[14:25:42] *** jeffw198____ has quit IRC
[14:25:43] *** thanpolas_ has joined #angularjs
[14:25:43] *** rikkus has quit IRC
[14:25:43] *** Templarian__ has joined #angularjs
[14:25:46] *** shennyg_ has joined #angularjs
[14:25:47] *** richburke__ has joined #angularjs
[14:25:47] *** rikkus has joined #angularjs
[14:25:47] *** hsn has joined #angularjs
[14:25:47] *** jeffw198____ has joined #angularjs
[14:25:48] *** shadowhand has joined #angularjs
[14:25:48] *** basiclaser_ has joined #angularjs
[14:25:52] *** fourq_ has joined #angularjs
[14:25:57] *** JonathanNeal has joined #angularjs
[14:25:58] *** oyvinmar___ has joined #angularjs
[14:25:58] *** bremnes_ has joined #angularjs
[14:26:00] *** tombee has joined #angularjs
[14:26:00] *** ETBlue has joined #angularjs
[14:26:01] *** elijah_ has joined #angularjs
[14:26:04] *** alphonse23__ has joined #angularjs
[14:26:05] *** lowell has joined #angularjs
[14:26:06] *** cuong_ has joined #angularjs
[14:26:07] *** fourq has quit IRC
[14:26:07] *** machty has quit IRC
[14:26:08] *** octarine has quit IRC
[14:26:08] *** tanepiper___ has quit IRC
[14:26:08] *** bremnes has quit IRC
[14:26:09] *** VeggieMeat has quit IRC
[14:26:10] *** iamstef_ has joined #angularjs
[14:26:13] *** magnars has joined #angularjs
[14:26:15] *** adhipg has joined #angularjs
[14:26:19] *** hguux_ has joined #angularjs
[14:26:22] *** tanepiper____ has joined #angularjs
[14:26:23] *** kudos_ has joined #angularjs
[14:26:23] *** numenor has quit IRC
[14:26:28] *** tfnico____ has joined #angularjs
[14:26:32] *** Juanchito_ is now known as Juanchito
[14:26:39] *** VinceZa has quit IRC
[14:26:41] *** andreypopp_ has joined #angularjs
[14:26:41] *** merlinsbrain has joined #angularjs
[14:26:44] *** digitalfiz_ has joined #angularjs
[14:26:47] *** lebster has joined #angularjs
[14:26:55] *** amatecha_ has joined #angularjs
[14:26:56] *** elijah_ is now known as elijah
[14:26:59] *** fornax has joined #angularjs
[14:27:00] *** bremnes_ is now known as bremnes
[14:27:04] *** eristic_ has joined #angularjs
[14:27:08] *** dejanr has joined #angularjs
[14:27:10] *** apipkin_ is now known as apipkin
[14:27:23] *** ZucchiniZe has joined #angularjs
[14:27:29] *** frozenice_ has joined #angularjs
[14:27:33] *** shennyg_ is now known as shennyg
[14:27:33] *** paperElectron has quit IRC
[14:27:37] *** jkatsnelson____ has joined #angularjs
[14:27:42] *** prikk___ has joined #angularjs
[14:28:00] *** whitebook has joined #angularjs
[14:28:05] *** fourq_ is now known as fourq
[14:28:06] *** Xorlev has quit IRC
[14:28:14] *** octarine has joined #angularjs
[14:28:29] *** epickillerpigz has joined #angularjs
[14:28:31] *** jlebrech has joined #angularjs
[14:28:42] *** machty has joined #angularjs
[14:28:45] *** ceej has joined #angularjs
[14:28:52] <Helzibah> irccloud really anti-advertise themselves when their entire userbase appears to split
[14:28:59] *** roadrunneratwast has joined #angularjs
[14:29:30] *** atomi has quit IRC
[14:29:51] *** Xorlev_ has joined #angularjs
[14:30:03] *** wethil has quit IRC
[14:30:20] *** Fenikkusu has quit IRC
[14:31:09] *** atomi has joined #angularjs
[14:31:17] *** dejanr has quit IRC
[14:31:30] <roadrunneratwast> can angular help with inheritance through dynamic name binding? i have a div <produce>, can I use angular to dynamically make <produce-fruit>, <produce-vegetables>, <produce-herbs>, etc
[14:31:34] *** paperElectron has joined #angularjs
[14:32:48] *** JesuZ has quit IRC
[14:32:49] *** adpirz has joined #angularjs
[14:34:11] *** cboden has joined #angularjs
[14:34:24] *** bhuvanaurora has quit IRC
[14:34:26] *** threesixes has quit IRC
[14:35:35] *** ederign is now known as ederign_afl
[14:35:45] *** rburns has quit IRC
[14:36:21] *** cboden has quit IRC
[14:36:51] *** techsethi has quit IRC
[14:37:26] *** adpirz has quit IRC
[14:37:28] *** arthas has joined #angularjs
[14:37:29] *** arthas has joined #angularjs
[14:38:29] *** net2014 has joined #angularjs
[14:38:33] *** Shadda has joined #angularjs
[14:38:36] *** Mackseraner has quit IRC
[14:39:53] *** bhuvanaurora has joined #angularjs
[14:40:02] *** epantzar has joined #angularjs
[14:40:57] *** dsdeiz has quit IRC
[14:41:00] *** rosidoo has joined #angularjs
[14:41:17] *** mkusher has quit IRC
[14:41:54] *** gauravsaini03 has quit IRC
[14:42:12] *** nya_ has joined #angularjs
[14:42:33] *** tech2 has quit IRC
[14:42:52] *** nya has quit IRC
[14:43:40] *** Sebastien-L has joined #angularjs
[14:43:45] *** ehalas has joined #angularjs
[14:44:40] *** ciwolsey has joined #angularjs
[14:44:52] *** mogaj has quit IRC
[14:45:06] *** jas- has joined #angularjs
[14:45:17] *** mmealling has joined #angularjs
[14:45:25] *** lw has joined #angularjs
[14:45:57] *** VeeWee has quit IRC
[14:46:24] *** IJNX has quit IRC
[14:46:30] *** tfennelly has quit IRC
[14:46:34] *** jas- has quit IRC
[14:46:57] *** sebhoss has joined #angularjs
[14:47:04] *** threesixes has joined #angularjs
[14:47:19] *** mccarrontr1ck has joined #angularjs
[14:47:58] *** IJNX_ has joined #angularjs
[14:48:18] *** Ajans has quit IRC
[14:48:37] *** vdiaz has joined #angularjs
[14:48:57] *** FIFOd[a] has joined #angularjs
[14:50:55] *** sqwk has joined #angularjs
[14:51:14] *** jas- has joined #angularjs
[14:51:20] *** TweedleDee has joined #angularjs
[14:51:33] <TweedleDee> is there a method that fire everytime a ng-model is updated?
[14:51:51] *** Rampages has joined #angularjs
[14:52:06] <TweedleDee> I would like to use the ngStorage module from https://github.com/gsklee/ngStorage to update local-storage everytime a value has been changed via the ng-model binding
[14:52:07] *** Xorlev_ has quit IRC
[14:52:22] *** simplyshipley has joined #angularjs
[14:52:36] *** Xorlev_ has joined #angularjs
[14:52:49] <TweedleDee> a $watch per say?
[14:52:55] *** bengillies has quit IRC
[14:53:16] *** glassir has joined #angularjs
[14:53:50] *** FIFOd[a] has quit IRC
[14:54:18] *** rileylark has joined #angularjs
[14:54:18] *** boxmein has joined #angularjs
[14:54:19] *** veiz has left #angularjs
[14:54:26] *** veiz has joined #angularjs
[14:54:48] *** whitebook has quit IRC
[14:54:48] *** ciwolsey has quit IRC
[14:55:00] *** deanclkclk has joined #angularjs
[14:55:11] *** younqcass has joined #angularjs
[14:55:14] *** Ch4rAss has quit IRC
[14:55:16] *** htmelvis has joined #angularjs
[14:55:21] <htmelvis> morning
[14:55:59] *** knownasilya has joined #angularjs
[14:56:20] *** dnakov has joined #angularjs
[14:56:53] *** jeffbalboni has joined #angularjs
[14:57:18] *** sandelius has joined #angularjs
[14:57:40] *** danecando has joined #angularjs
[14:57:41] *** IJNX_ is now known as IJNX
[14:58:06] *** jas- has quit IRC
[14:58:15] *** dannyc__ has quit IRC
[14:58:39] *** e0ipso is now known as e0ipso|away
[14:58:45] *** duall has joined #angularjs
[14:58:46] *** jas- has joined #angularjs
[14:59:25] *** jas- has quit IRC
[14:59:30] <net2014> angularjs plays well with jquery and bootstrap (I guess?)?
[14:59:40] <htmelvis> yes net2014 it does
[14:59:57] *** macobo has quit IRC
[15:00:59] <net2014> I still don't angularjs, although it's the second time I am looking at it, or possibly more times
[15:01:14] *** jas- has joined #angularjs
[15:01:16] <net2014> is its goal to separate view and models and have a controller in between?
[15:02:21] <htmelvis> I wouldn't say specifically that but it gives you a modular approach to writing your javascript apps
[15:02:42] <net2014> to avoid messy code?
[15:02:51] <htmelvis> It def has an easy point of entry. Things can get complicated quickly if you're not careful.
[15:03:07] <htmelvis> yes to avoid spaghetti code
[15:03:12] *** veiz has quit IRC
[15:03:28] <htmelvis> this is a good resource https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CB4QtwIwAA&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Di9MHigUZKEM&ei=pTpzVKLUOMOGyATNq4DwCg&usg=AFQjCNGAvcCy03OnmDL7VhvB5RAuXUMDSg&bvm=bv.80185997,d.aWw
[15:03:44] <htmelvis> Dan Wahlin does a great job of introduciing its features
[15:03:55] <net2014> thanks
[15:04:07] <net2014> angularjs seems small
[15:04:22] *** charlenopires has joined #angularjs
[15:04:22] <net2014> seems like something that can be leant quickly
[15:04:24] <htmelvis> it's not the smallest but fairly lightweight
[15:04:48] *** e0ipso|away is now known as e0ipso
[15:04:49] <htmelvis> yes, there is some vocabulary and techniques that may confuse if you come from a traditional JS Background
[15:05:05] *** tech2 has joined #angularjs
[15:05:40] *** jheady has joined #angularjs
[15:06:31] *** FIFOd[a] has joined #angularjs
[15:06:43] *** LoveAndHappiness has quit IRC
[15:06:46] *** elrabin has joined #angularjs
[15:06:49] *** Lewix has joined #angularjs
[15:06:49] *** FIFOd[a] has quit IRC
[15:06:52] *** xdissent has joined #angularjs
[15:06:57] *** mupkoo has joined #angularjs
[15:07:02] *** fourq has quit IRC
[15:07:08] *** fourq_ has joined #angularjs
[15:07:15] *** FIFOd[a] has joined #angularjs
[15:07:24] *** jheady has left #angularjs
[15:07:26] *** fourq_ is now known as fourq
[15:07:31] *** JesuZ has joined #angularjs
[15:07:48] *** rileylark has quit IRC
[15:07:51] *** focii has joined #angularjs
[15:07:52] *** Mackseraner has joined #angularjs
[15:08:18] <TweedleDee> if I'm using controller as syntax with the var self = this; self.myVariableName and I want to setup a $watch is this correct? inject $scope into the controller then $scope.$watch(function($scope){return $scope.testVar}, function(newValue, oldValue) { localStorage.testVar = $scope.testVar });
[15:08:48] *** Mackseraner has quit IRC
[15:09:07] <TweedleDee> or should it be $scope.$watch(function($scope){return self.testVar}, function(newValue, oldValue) { localStorage.testVar = self.testVar });
[15:09:26] *** alinouman has joined #angularjs
[15:09:56] *** rileylark has joined #angularjs
[15:10:01] *** exp10r3r has quit IRC
[15:10:14] *** davidreis has quit IRC
[15:10:19] <htmelvis> Sorry TweedleDee not sure of that one.
[15:10:22] *** lexek_ has joined #angularjs
[15:10:23] *** ctanga has joined #angularjs
[15:10:50] *** roadrunneratwast has quit IRC
[15:10:56] *** juanpablo_ has joined #angularjs
[15:11:17] <SergioFilhow> TweedleDee: have you tried $scope.$watch(self, fn(){}) ?
[15:11:24] <TweedleDee> nope but about to..
[15:11:28] <TweedleDee> neither of mine worked so...
[15:11:30] <TweedleDee> up for anything
[15:11:31] *** phaza has quit IRC
[15:11:38] *** epantzar has quit IRC
[15:12:07] <TweedleDee> nah didn't work..
[15:12:21] <TweedleDee> this is code, just doesn't fire when self.testVar changes
[15:12:24] *** fornax has quit IRC
[15:12:26] *** rchavik has quit IRC
[15:12:26] <TweedleDee> $scope.$watch(function (self) { return self.testVaraible }, function (newValue, oldValue) {
[15:12:26] <TweedleDee> console.log(self.testVaraible);
[15:12:27] <TweedleDee> localStorage.testVaraible = self.testVaraible;
[15:12:27] <TweedleDee> });
[15:12:30] <TweedleDee> oops sorry spam..
[15:12:34] <elmcrest> I thought I can use $rootScope to share some stuff between controllers, isn't that true? in particular I have a window width .on('resize' which I'd like to share to another controller.
[15:12:42] *** yano has joined #angularjs
[15:13:54] *** incacola has joined #angularjs
[15:13:59] *** phaza has joined #angularjs
[15:14:16] <incacola> hi
[15:14:31] *** kwaledesign has joined #angularjs
[15:15:19] *** areologist has quit IRC
[15:15:20] *** lite_ has quit IRC
[15:15:30] *** ron1_ has joined #angularjs
[15:15:53] *** TuRnaD0 has quit IRC
[15:16:40] *** incacola has quit IRC
[15:16:51] *** Leika has joined #angularjs
[15:17:16] *** dman777_alter has joined #angularjs
[15:17:52] <TweedleDee> all be damned if I can figure out a controller as syntax watch lol
[15:17:54] *** ev500b has joined #angularjs
[15:18:14] *** areologist has joined #angularjs
[15:18:15] *** bmac has joined #angularjs
[15:18:21] *** darrin has joined #angularjs
[15:18:27] *** ikevin_ has joined #angularjs
[15:18:33] *** dsdeiz has joined #angularjs
[15:18:35] <sacho> what's there to figure out?
[15:18:42] <htmelvis> haha
[15:19:31] <htmelvis> Anyone run into Sizzle.error on every route change? seems sizzle does not like the AngularJS url fragments
[15:21:21] *** lite_ has joined #angularjs
[15:21:38] *** davesidious_ is now known as davesidious
[15:21:47] *** Siecje has joined #angularjs
[15:21:48] *** gurke_ has quit IRC
[15:23:02] *** ev500b has quit IRC
[15:23:28] *** darrin has quit IRC
[15:23:38] *** Ajans has joined #angularjs
[15:23:45] *** SpotSec has joined #angularjs
[15:23:48] *** darrin has joined #angularjs
[15:25:27] *** areologist has quit IRC
[15:25:37] *** richiebkr has joined #angularjs
[15:26:32] *** shinnya has quit IRC
[15:26:35] *** threesixes has quit IRC
[15:26:41] *** VinceZa has joined #angularjs
[15:27:32] *** DuelShark has quit IRC
[15:27:49] *** DuelShark has joined #angularjs
[15:27:55] <Siecje> When writing end-to-end tests how do you mock object creation?
[15:28:12] *** livingstn has joined #angularjs
[15:28:35] *** Guest33514 has quit IRC
[15:28:58] *** tfennelly has joined #angularjs
[15:29:23] *** VinceZa has quit IRC
[15:29:54] *** DuelShark has quit IRC
[15:30:00] *** richiebkr has quit IRC
[15:30:10] *** m8 has joined #angularjs
[15:30:11] *** cboden has joined #angularjs
[15:30:40] *** DuelShark has joined #angularjs
[15:30:45] *** BillCriswell has joined #angularjs
[15:30:49] <m8> Hi, there is a way for resolve categories $resource before get_category_by_type call? http://pastie.org/private/8xtrdl3l7jub7xyuurbg
[15:31:48] <davesidious> hey folks - has anyone seen a filter for pretty-printing XML?
[15:32:01] *** DuelShark has joined #angularjs
[15:32:20] *** SahanH has joined #angularjs
[15:32:33] *** alho has joined #angularjs
[15:32:36] *** dejanr has joined #angularjs
[15:32:51] *** DuelShark has quit IRC
[15:33:04] *** bengillies has joined #angularjs
[15:33:06] *** DuelShark has joined #angularjs
[15:33:08] *** cboden has quit IRC
[15:33:40] *** ciro_nunes has joined #angularjs
[15:34:01] *** cacts has joined #angularjs
[15:34:06] *** DuelShark has joined #angularjs
[15:34:13] *** boxmein is now known as [boxmein]
[15:34:30] *** lw has quit IRC
[15:34:44] *** plato has quit IRC
[15:35:21] *** DrMabuse has joined #angularjs
[15:35:28] *** mven has joined #angularjs
[15:35:33] *** VinceZa has joined #angularjs
[15:35:45] <dman777_alter> how can I spy on a object.property with jasmine? For instance, in my service I have disable = { inputLabelBox : false, nodeIpInput: false, checkBox: false}; and I want to say "expect(disable.checkBox).toBe(true);" in my test.
[15:35:46] *** DuelShark has quit IRC
[15:35:53] *** dsdeiz has quit IRC
[15:35:55] <net2014> in angularjs I don't need to do document ready as in JQuery to ensure that my code will run after DOM finished loading?
[15:36:13] *** Mackseraner has joined #angularjs
[15:36:16] *** DuelShark has joined #angularjs
[15:36:41] *** Mackseraner has quit IRC
[15:37:46] *** DuelShark has quit IRC
[15:37:58] *** vassagus has joined #angularjs
[15:38:01] *** DuelShark has joined #angularjs
[15:38:10] *** dra_ has joined #angularjs
[15:38:51] *** BumpDrone has joined #angularjs
[15:38:56] *** DuelShark has joined #angularjs
[15:39:35] *** hell_razer has joined #angularjs
[15:41:40] *** azizur has quit IRC
[15:42:06] *** mmealling has quit IRC
[15:42:33] *** NorthBlast has joined #angularjs
[15:43:00] *** d10n-work has joined #angularjs
[15:43:14] *** gkap has quit IRC
[15:43:21] *** mupkoo has quit IRC
[15:43:53] *** gkap has joined #angularjs
[15:44:02] *** DuelShark has quit IRC
[15:44:53] *** sirkitree|afk is now known as sirkitree
[15:45:31] *** DuelShark has joined #angularjs
[15:45:35] *** meltdown has joined #angularjs
[15:45:38] *** plato has joined #angularjs
[15:45:44] *** evilaliv3 has joined #angularjs
[15:45:45] *** kp666 has quit IRC
[15:45:51] <elmcrest> http://plnkr.co/edit/ephqGM1OiR8zsxApSrkR?p=preview this doesn't work for me - the only difference I could spot was that this plnkr works with angular 1.2.21 - I use 1.3.x - can maybe somehow have a look? the resize event listener seems not to work - I don't get updated output on resize.
[15:46:10] *** lw has joined #angularjs
[15:46:52] *** BumpDrone has quit IRC
[15:47:30] *** vonnegut has quit IRC
[15:48:16] *** gkap has quit IRC
[15:48:30] *** bhuvanaurora has quit IRC
[15:49:01] *** mkusher has joined #angularjs
[15:49:27] *** lucasjones has quit IRC
[15:49:36] *** lucasjones has joined #angularjs
[15:49:38] *** Snugug has joined #angularjs
[15:49:44] *** azizur has joined #angularjs
[15:49:52] *** millr|wrk has joined #angularjs
[15:50:22] *** Milkweed has joined #angularjs
[15:50:24] <elmcrest> ok nevermind, I didn't realize the directive which has to be add to html ...
[15:50:43] *** thedodd has joined #angularjs
[15:50:58] *** cboden has joined #angularjs
[15:51:34] *** rburns has joined #angularjs
[15:51:48] *** Joseph_Silber has joined #angularjs
[15:51:50] *** GPH|work has joined #angularjs
[15:52:32] *** cthrax has joined #angularjs
[15:52:41] *** plato1 has joined #angularjs
[15:52:47] *** net2014 has quit IRC
[15:52:47] *** Geertje123_ has quit IRC
[15:53:04] *** silentimp has joined #angularjs
[15:53:06] *** younqcass has quit IRC
[15:53:27] *** jmichaelward has joined #angularjs
[15:54:07] *** mkusher has quit IRC
[15:54:33] *** JosephSilber has quit IRC
[15:54:40] <jacuqesdancona> So I just received work from some guys with class="{{something}}"
[15:54:41] *** bjorn`_ has joined #angularjs
[15:55:07] <jacuqesdancona> Afaik this is pretty much incorrect
[15:55:10] <jacuqesdancona> because of ng-class
[15:55:13] *** bayousoft has quit IRC
[15:55:16] <bjorn`_> Is there an easy way to animate the appearance of elements in series? Ie have elements in an ng-each appear after eachother?
[15:55:16] <jacuqesdancona> but why?
[15:55:24] *** silentimp has quit IRC
[15:55:31] *** konradsurf has joined #angularjs
[15:55:34] *** soee has quit IRC
[15:55:38] *** sajt has joined #angularjs
[15:55:47] *** bayousoft has joined #angularjs
[15:56:16] <ciro_nunes> jacuqesdancona: it's not incorrect, you can use both approaches
[15:56:40] *** plato has quit IRC
[15:56:40] <jacuqesdancona> does it matter in performance?
[15:56:42] *** jonr22 has joined #angularjs
[15:56:47] <jacuqesdancona> I guess they both just set up watchers
[15:57:00] <Helzibah> bjorn`_: I came across an article about that the other day, but only skimmed it so it may not apply: http://www.yearofmoo.com/2013/12/staggering-animations-in-angularjs.html
[15:57:06] *** ehynds has joined #angularjs
[15:57:14] *** nycdevgirl has joined #angularjs
[15:57:34] *** macabre has joined #angularjs
[15:57:39] *** NorthBlast has quit IRC
[15:57:44] <ciro_nunes> jacuqesdancona: they do. You can use class="{{ ::something }}" for one-way binding
[15:57:53] <jacuqesdancona> allright, thanks
[15:57:56] *** lw has quit IRC
[15:58:06] *** jmichaelward has quit IRC
[15:58:40] <bjorn`_> Helzibah: seems relevant, thanks!
[15:58:49] <jacuqesdancona> First time I've it being used
[15:58:54] <jacuqesdancona> I've seen*
[15:58:56] <ciro_nunes> jacuqesdancona: not one-way binding, what I wanted to say was bind once
[15:59:09] <jacuqesdancona> Yeah, got what you went
[15:59:28] *** azizur has quit IRC
[15:59:32] <jacuqesdancona> meant*
[16:01:10] *** laurensc_ has quit IRC
[16:01:15] <konradsurf> is there an appengine channel? i'm new to angular but i think i'm having problems to serve the partials with GAE. i am seeing a blank page when trying to show my views. it works when i serve it with webstorm, but not when i server it with App Engine.
[16:01:28] *** jonr22 has quit IRC
[16:01:45] *** jolts has quit IRC
[16:01:52] *** laurensclaessen has joined #angularjs
[16:02:09] *** jolts has joined #angularjs
[16:02:42] *** TyrfingMjolnir has joined #angularjs
[16:02:56] *** chrisbirk has joined #angularjs
[16:02:58] *** alho has left #angularjs
[16:03:18] <konradsurf> i will look for the GAE irc channel. i came here but just realized my server is trying to resolve my partial templates with Jinja (instead of angular).
[16:03:46] *** plushy has quit IRC
[16:03:51] *** lw has joined #angularjs
[16:04:00] <konradsurf> #appengine
[16:04:05] *** plushy has joined #angularjs
[16:04:05] *** siddart has quit IRC
[16:04:22] *** ChuckOckstarter is now known as cmenscher
[16:04:27] *** lw has quit IRC
[16:04:36] *** mmealling has joined #angularjs
[16:04:46] *** JR___ has joined #angularjs
[16:06:02] <DuelShark> ciro_nunes: jacuqesdancona i think in IE 8 it doesn't work unless you use ng-class BTW so best not to use class="{{ something }}"
[16:06:17] <jacuqesdancona> good point :)
[16:06:20] *** a3gis has joined #angularjs
[16:06:21] *** doug64k has joined #angularjs
[16:06:35] <burzum2> http://plnkr.co/edit/40xoDECCnIB650bj8N0E how can I stop the user from adding more than in this example 10 characters?
[16:06:41] *** dweave has joined #angularjs
[16:06:45] *** siddart has joined #angularjs
[16:07:24] *** charlenopires has quit IRC
[16:07:32] <dannyc_> i have a form name that is dynamic. something like <ng-form name="myform.{{dynamicName}}>. can i disable the submit button in the view? i've tried? because, of course, ng-disabled isn't going to expect an expression. any help?
[16:07:32] *** Click66 has quit IRC
[16:07:41] *** laurensclaessen has quit IRC
[16:08:06] *** Una has joined #angularjs
[16:08:07] <ciro_nunes> DuelShark: I don't know if that's true, but 1.3+ isn't supposed to support IE8 whatsoever
[16:08:27] <ciro_nunes> I just checked if ng-class creates a $watcher and it doesn't!
[16:08:35] *** mary5030 has joined #angularjs
[16:08:43] *** lucianenache has quit IRC
[16:08:53] <DuelShark> yeah i didn't think of that oops
[16:08:57] *** JR___ has quit IRC
[16:09:10] *** dannyc__ has joined #angularjs
[16:09:17] <ciro_nunes> I would prefer ng-class over class="{{}}" anyways (although the syntax)
[16:09:23] <AlexZanf> hey guys is there a package or some documentation on using the repository pattern with caching for angular?
[16:09:26] <Helzibah> yeah, IE8 won't load 1.3+ for me, finds errors in the angular library so I had to downgrade :(
[16:09:34] <Helzibah> ng-class seems to be working though iirc
[16:09:51] *** Lewix has quit IRC
[16:10:47] *** mary5030 has quit IRC
[16:11:18] *** jasonp has joined #angularjs
[16:11:24] *** craigp has joined #angularjs
[16:11:27] *** mary5030 has joined #angularjs
[16:12:17] *** shackleford has joined #angularjs
[16:12:33] *** craigp has quit IRC
[16:12:57] *** shackleford has quit IRC
[16:13:19] *** sacho has quit IRC
[16:13:30] *** shackleford has joined #angularjs
[16:13:42] *** kas84 has joined #angularjs
[16:13:46] *** dannyc__ has quit IRC
[16:13:51] *** laurensclaessen has joined #angularjs
[16:14:05] *** patrickarlt has joined #angularjs
[16:14:09] *** moritzschaefer has joined #angularjs
[16:14:31] <konradsurf> ok i fixed my problem. my server issue was that jinja threw errors if my top-level html used {{template params}}. moving params into statically served views fixes it.
[16:15:52] *** cthrax has quit IRC
[16:15:54] *** foofoobar has quit IRC
[16:16:50] *** patrick99e99 has joined #angularjs
[16:17:44] *** konradsurf has quit IRC
[16:17:48] *** rashidkpc has quit IRC
[16:17:54] *** enigmarm has joined #angularjs
[16:17:56] *** jolts has quit IRC
[16:18:09] *** ctanga has quit IRC
[16:18:53] *** jasonp has quit IRC
[16:18:58] *** rashidkpc has joined #angularjs
[16:19:40] *** jasonp has joined #angularjs
[16:19:46] *** Geertje123_ has joined #angularjs
[16:20:02] *** jpstone has joined #angularjs
[16:20:09] *** bade has joined #angularjs
[16:20:11] *** dimetron has joined #angularjs
[16:20:28] *** ludkiller has quit IRC
[16:20:38] *** cacts|works has joined #angularjs
[16:20:41] *** DoubleAW has joined #angularjs
[16:20:43] *** sonicparke|bradm has joined #angularjs
[16:21:14] *** ludkiller has joined #angularjs
[16:21:41] *** sebhoss has quit IRC
[16:21:48] *** adpirz has joined #angularjs
[16:22:06] *** patrick99e99 has quit IRC
[16:22:07] *** jdcasey has joined #angularjs
[16:22:28] *** thedodd has quit IRC
[16:22:37] *** enigmarm has quit IRC
[16:22:59] *** Niro_ has quit IRC
[16:23:13] *** AWAW has quit IRC
[16:23:17] *** niro has joined #angularjs
[16:25:33] *** derrzzaa_ has joined #angularjs
[16:26:02] <sonicparke|bradm> morning
[16:26:08] *** derrzzaa_ has quit IRC
[16:26:17] <sonicparke|bradm> afternoon, whichever is applicable for you.
[16:26:18] *** ngeksyo has joined #angularjs
[16:26:27] *** adpirz has quit IRC
[16:26:37] *** corehook has joined #angularjs
[16:27:36] *** Ch4rAss has joined #angularjs
[16:29:17] *** ron1_ has quit IRC
[16:29:42] <shackleford> When creating an evaluate statement within an ng-if
[16:29:57] <shackleford> do normal javascript rules apply to == vs ===
[16:30:23] *** ali4ever4 has quit IRC
[16:30:25] *** Expi1 has joined #angularjs
[16:30:46] <shackleford> in terms of coercion?
[16:31:32] *** whitebook has joined #angularjs
[16:31:37] *** Ch4rAss has quit IRC
[16:31:38] *** sqwk has quit IRC
[16:31:41] *** cleme1mp_ has joined #angularjs
[16:31:52] *** evotuned has joined #angularjs
[16:32:57] *** zmo has quit IRC
[16:32:57] *** zmo has joined #angularjs
[16:33:04] *** phaza has quit IRC
[16:33:19] *** Lewix has joined #angularjs
[16:33:19] *** Lewix has joined #angularjs
[16:33:33] *** cleme1mp has quit IRC
[16:33:38] *** Evanion has quit IRC
[16:33:41] *** zfmf has joined #angularjs
[16:34:02] *** VinceZa has quit IRC
[16:34:07] *** themime has quit IRC
[16:34:53] *** Gonzalo has quit IRC
[16:35:22] *** IvailoStoianov has quit IRC
[16:35:23] *** azizur has joined #angularjs
[16:36:27] <zfmf> he guys i have a problem on ie8, only one ng-click is called multiple times all others are working normal, anyone an idea what can be the problem here????
[16:36:35] <zfmf> ok also one ng-click is called never :D
[16:36:53] *** jweaver__ has joined #angularjs
[16:36:59] *** Sadi has joined #angularjs
[16:37:19] *** NoNMaDDeN has quit IRC
[16:37:21] *** nanozer2 has joined #angularjs
[16:38:18] *** fatz has joined #angularjs
[16:38:20] *** NoNMaDDeN has joined #angularjs
[16:38:24] *** sandelius has quit IRC
[16:38:52] *** busticated has joined #angularjs
[16:39:35] *** Fishy__ has joined #angularjs
[16:39:54] *** iksik has quit IRC
[16:40:07] *** rhp has joined #angularjs
[16:40:40] *** VinceZa has joined #angularjs
[16:40:42] *** cacts|wtf has joined #angularjs
[16:41:12] *** kuadrosx has joined #angularjs
[16:41:19] *** sebhoss has joined #angularjs
[16:41:40] *** dacuca has joined #angularjs
[16:41:51] *** Fire-Dragon-DoL has joined #angularjs
[16:42:08] *** jiskiras has joined #angularjs
[16:43:35] *** iksik has joined #angularjs
[16:43:40] *** ctanga has joined #angularjs
[16:43:42] *** lite_ has quit IRC
[16:43:51] *** moritzschaefer has quit IRC
[16:44:05] *** cacts has quit IRC
[16:44:08] *** cacts|wtf is now known as cacts
[16:44:15] *** Sadi has quit IRC
[16:44:39] *** plekplek has quit IRC
[16:44:49] *** cacts|works has quit IRC
[16:44:59] *** net2014 has joined #angularjs
[16:45:10] *** plekplek has joined #angularjs
[16:45:28] *** prosper_ has joined #angularjs
[16:45:32] <net2014> hello, I've been finding out that javascript validation with angulajs is quite compact, readable too
[16:45:46] *** NorthBlast has joined #angularjs
[16:45:47] *** NorthBlast has left #angularjs
[16:46:03] *** ederign_afl is now known as ederign
[16:46:37] <net2014> generally though, with angularjs it seems that you immediately see the js app, but I've been thinking, what if I want to do feature sniffing? If a feature is not present I don't want to see the application
[16:47:03] *** plekplek has quit IRC
[16:48:18] *** SadiQ_ has joined #angularjs
[16:48:25] *** nanozer2 has quit IRC
[16:48:35] <oniijin> put app in a subdirectory?
[16:48:49] <net2014> ah, ok
[16:48:52] <net2014> thanks
[16:48:59] *** nanozer2 has joined #angularjs
[16:49:24] *** jolts has joined #angularjs
[16:49:30] *** crewshin has joined #angularjs
[16:49:46] <net2014> I see an example, and I see there is code in ng-disabled tag: http://www.w3schools.com/angular/tryit.asp?filename=try_ng_validate What I've known so far, was, never put code or functions in tags in javascript
[16:50:11] <net2014> but I see this in angularjs, is it the example that is faulty or is something that is usual in angularjs?
[16:50:28] <oniijin> it's using ng directives
[16:50:30] <oniijin> very normal
[16:50:38] *** nloding has joined #angularjs
[16:51:07] *** iksik has quit IRC
[16:51:30] *** ehynds has quit IRC
[16:51:30] <nerder> hello, i'm try to have an array of array with this code, but i get an array of object instead, probably because i'm using push in the wrong way
[16:51:38] <nerder> this is my code: https://gist.github.com/anonymous/325b63b1e0eaaf28fc49
[16:51:45] *** cthrax has joined #angularjs
[16:52:12] <nloding> nerder - is an object returned from your $http request?
[16:52:19] <net2014> oniijin: ok, thanks, but why I see an html5 attribute "required" in the input type="text"? That's html5, right? Why would I need that?
[16:52:37] *** bmcgee has joined #angularjs
[16:52:44] <net2014> what if my browser is old and doesn't understand required?
[16:52:57] *** MJD has quit IRC
[16:53:40] *** VeggieMeat_ is now known as VeggieMeat
[16:53:53] *** rburns has quit IRC
[16:53:58] <oniijin> then u'll need some fallback method to handle it
[16:54:13] <oniijin> tho 1.3 dropped support for ie8
[16:54:14] *** iamjmw has joined #angularjs
[16:54:46] *** DoubleAW has quit IRC
[16:54:48] *** iksik has joined #angularjs
[16:54:54] *** ron1 has joined #angularjs
[16:55:05] *** DoubleAW has joined #angularjs
[16:55:10] *** MJD has joined #angularjs
[16:55:31] *** rho_ has joined #angularjs
[16:55:31] *** rho_ has joined #angularjs
[16:55:36] *** Lewix has quit IRC
[16:55:56] *** micks_9093 has joined #angularjs
[16:57:13] *** BahamutWC|Work has quit IRC
[16:57:22] *** artisangoose has joined #angularjs
[16:57:27] <net2014> oniijin: ok
[16:58:52] *** iamjmw has quit IRC
[16:59:04] <net2014> I will be having server side validation in any case.
[16:59:23] <oniijin> you always should. client side is just to improve UX
[17:00:17] *** Geertje123_ has quit IRC
[17:01:03] *** jimvideo has joined #angularjs
[17:01:55] <net2014> yes, thanks
[17:01:55] *** bayousoft has quit IRC
[17:02:07] <TweedleDee> Looking for some help persisting state of a bootstrap btn-group here is entire paste-bin to bring you up to speed: http://pastebin.com/TcpvQGLj
[17:02:10] <net2014> bye, have a nice day
[17:02:12] <TweedleDee> the yes will persist, the no.. will not
[17:02:14] *** net2014 has quit IRC
[17:02:19] *** tschunde_ has joined #angularjs
[17:02:32] *** bayousoft has joined #angularjs
[17:03:53] <nerder> nloding: no it's an array, that could be empty
[17:04:44] <nerder> i expect to have something like [ [],[],[] ]
[17:05:09] *** matisoffn has joined #angularjs
[17:05:14] <matisoffn> http://stackoverflow.com/questions/27085721/angular-datatables-directive-apply-ready-on-promise-return-not-recognizing-a-re
[17:05:17] *** mennea has quit IRC
[17:05:25] *** chaohuanghong1 has joined #angularjs
[17:05:28] *** tschundeee has quit IRC
[17:05:47] *** bmcgee has quit IRC
[17:05:51] <TweedleDee> i fixed my issue
[17:05:54] *** chaohuanghong has quit IRC
[17:05:57] <TweedleDee> was stupid lol
[17:06:09] <TweedleDee> making that paste-bin took 10 mins longer than fixing it.. jesus
[17:06:15] <nloding> anyone have any thoughts on my CORS issue?
[17:06:16] <nloding> https://laracasts.com/discuss/channels/requests/laravel-5-cors-headers-with-filters?page=2
[17:06:20] *** PrinceAMD has quit IRC
[17:06:21] *** k-dawg has quit IRC
[17:07:29] *** juampy_backlater is now known as juampy
[17:07:42] *** aks has quit IRC
[17:08:02] *** jheady has joined #angularjs
[17:08:10] *** sajt has quit IRC
[17:10:14] *** tschundeee has joined #angularjs
[17:10:46] *** prosper_ has quit IRC
[17:10:48] *** morenoh149 has joined #angularjs
[17:10:52] *** Lewix has joined #angularjs
[17:10:52] *** Lewix has joined #angularjs
[17:11:43] *** zbzzn has joined #angularjs
[17:11:53] *** tschunde_ has quit IRC
[17:12:24] *** prbc has joined #angularjs
[17:12:40] *** chrisshattuck has joined #angularjs
[17:12:41] *** canthugeverycat has joined #angularjs
[17:13:35] *** IvailoStoianov has joined #angularjs
[17:13:44] *** aks has joined #angularjs
[17:13:52] *** jheady has left #angularjs
[17:14:24] <zbzzn> Is there a way to check if a directive with isolated scope got anything in the '=' binding?
[17:14:29] *** loverajoel has quit IRC
[17:14:42] <zbzzn> I mean if it was specified at all by the user
[17:14:46] *** rud has joined #angularjs
[17:14:57] <zbzzn> maybe via attributes?
[17:14:59] *** rud has quit IRC
[17:14:59] *** rud has joined #angularjs
[17:15:29] *** sheplu has joined #angularjs
[17:15:53] *** rileylark has quit IRC
[17:15:55] *** bkuberek has joined #angularjs
[17:16:33] *** bkuberek_ has joined #angularjs
[17:16:53] *** prbc has quit IRC
[17:17:12] *** larsgk has quit IRC
[17:17:51] *** sajt has joined #angularjs
[17:17:55] *** juampy has quit IRC
[17:18:30] *** rileylark has joined #angularjs
[17:19:14] *** corehook has quit IRC
[17:19:27] *** fatz has quit IRC
[17:19:30] *** shackleford has quit IRC
[17:19:57] *** bkuberek has quit IRC
[17:20:15] *** larsam has joined #angularjs
[17:20:15] *** edzez has quit IRC
[17:20:25] *** elyssonmr has quit IRC
[17:20:46] *** edzez has joined #angularjs
[17:21:04] *** bundledavid has joined #angularjs
[17:21:19] *** elyssonmr has joined #angularjs
[17:21:44] *** Una has quit IRC
[17:21:58] *** areologist has joined #angularjs
[17:22:08] *** StryKaizer has quit IRC
[17:22:10] *** Una has joined #angularjs
[17:22:46] *** Lewix has quit IRC
[17:24:30] *** IJNX has quit IRC
[17:24:41] *** zfmf has quit IRC
[17:24:57] *** dannyid has joined #angularjs
[17:26:48] *** chizbang has joined #angularjs
[17:26:59] *** phpxadmin has joined #angularjs
[17:27:10] <chizbang> Is it possible to enable and disable an ng-model on a checkbox tick?
[17:27:14] *** arabot has joined #angularjs
[17:29:18] *** ko3t has joined #angularjs
[17:29:20] *** niro has quit IRC
[17:29:33] *** net2014 has joined #angularjs
[17:29:41] *** [boxmein] is now known as boxmein
[17:29:42] *** edy_ has quit IRC
[17:29:49] *** shackleford has joined #angularjs
[17:30:31] *** eristic_ is now known as eristic
[17:30:49] <net2014> hello, in this demo: http://www.w3schools.com/angular/tryit.asp?filename=try_ng_validate if I disable javascript, form goes away, I was thinking that the form would display and if browser supports required, I would see inputs get error message required from html5 if I didn't fill fields on submit
[17:30:53] *** otisZart has quit IRC
[17:32:02] *** ahtik has quit IRC
[17:32:15] *** gurke_ has joined #angularjs
[17:33:24] *** JERE has quit IRC
[17:33:29] *** BahamutWC has quit IRC
[17:33:37] *** tschundeee has quit IRC
[17:33:43] *** PrinceAMD has joined #angularjs
[17:34:06] <nickeddy> if you disabled javascript?
[17:34:11] *** PercolatorLa has joined #angularjs
[17:34:15] <net2014> nickeddy: yes
[17:34:16] *** BahamutWC|Laptop has quit IRC
[17:34:25] <nickeddy> i mean you know angular is js...
[17:34:42] <chizbang> Yeah if you disabled Javascript it wont work
[17:34:50] <net2014> yes, but I was hopping there would be some graceful degradation with the validation
[17:34:53] <PercolatorLa> Hello
[17:35:05] *** BahamutWC has joined #angularjs
[17:35:16] *** Aswebb has joined #angularjs
[17:35:18] <nickeddy> net2014: see the novalidate attr on the form? that tells the browser not to do its own validation
[17:35:20] <PercolatorLa> Has there been any changes to angulars filter capabilities in ng-repeat?
[17:35:49] *** pnade has joined #angularjs
[17:35:52] *** bayousoft has quit IRC
[17:35:54] *** BahamutWC|Laptop has joined #angularjs
[17:36:17] <net2014> nickeddy: ah, ok, I will be trying it without that now
[17:36:32] <PercolatorLa> For some reason they are no longer working in my apps.
[17:37:13] *** cthrax has quit IRC
[17:37:21] *** jiskiras has quit IRC
[17:37:22] *** Schtive has joined #angularjs
[17:37:26] *** cthrax has joined #angularjs
[17:37:28] *** Lewix has joined #angularjs
[17:37:28] *** Lewix has joined #angularjs
[17:37:53] <nickeddy> net2014: well you need that for the angular validation to happen
[17:37:56] *** JERE has joined #angularjs
[17:37:56] *** devinandrews has joined #angularjs
[17:38:02] <Schtive> Hi there I have a quick question about the one day binding. Let's say I have a one way binding on a ng-repeat, do I have to also put the :: inside every {{}} ?
[17:38:31] *** Lewix has quit IRC
[17:38:35] <net2014> nickeddy: ok, but why would I want angularjs instead of html5 validation?
[17:38:56] <nickeddy> because html5 validation can't do what angular's validation can do
[17:38:57] *** Evanion has joined #angularjs
[17:39:24] <nickeddy> not sure why you're worrying about people disabling javascript
[17:39:37] *** dan2k3k4 has quit IRC
[17:39:51] <oniijin> people do that?
[17:39:54] *** BahamutWC has quit IRC
[17:40:14] *** juampy has joined #angularjs
[17:40:14] <nickeddy> only when asking about a js framework
[17:40:24] *** azizur has quit IRC
[17:40:26] *** tristanp has quit IRC
[17:40:35] <net2014> well, not really worrying, I am just thinking of the various options and try to end up with some solution
[17:40:44] *** BahamutWC|Laptop has quit IRC
[17:40:51] <nickeddy> various options?
[17:40:57] <oniijin> lol if they're disabling js, what app are they going/expecting to run anyway
[17:41:06] <nickeddy> javascript has to be on for ANY javascript framework, not just angular.
[17:41:14] <nickeddy> lol
[17:41:22] <net2014> yes, you can do very nice javascript like validation in e.g. laravel, the effect is almost identical
[17:41:34] <oniijin> ew php
[17:41:44] *** BahamutWC has joined #angularjs
[17:41:56] *** punch has joined #angularjs
[17:42:01] *** busticated has quit IRC
[17:42:16] *** BahamutWC|Laptop has joined #angularjs
[17:42:51] <nickeddy> yeah that's called server side form validation
[17:43:07] <PercolatorLa> Does anyone know if using filters in ng-repeat has changes recently?
[17:43:19] <nickeddy> PercolatorLa: have you moved from 1.2.x to 1.3.x?
[17:43:20] *** sebhoss has quit IRC
[17:43:22] <net2014> but yes, that's what I believe too, who is going to disable javascript
[17:43:29] <nickeddy> probably some changes there
[17:43:37] *** wdom has quit IRC
[17:43:47] *** snapwich has joined #angularjs
[17:43:52] <PercolatorLa> Nick: Not sure since I am using ionic framework and it takes care of all that.
[17:43:52] <net2014> nickeddy: yes, but on the eye is really quite identical, unless you notice the browser's icon indicating a write trip to the server
[17:44:39] <PercolatorLa> It was working just fine then now I come back and it no longer works.
[17:44:41] <nickeddy> PercolatorLa: they may have updated... here let me get you the changelog
[17:45:05] *** punch has quit IRC
[17:45:05] *** Marble68 has joined #angularjs
[17:45:26] *** punch has joined #angularjs
[17:45:29] *** iribarne has joined #angularjs
[17:45:43] *** jonr22 has joined #angularjs
[17:45:48] <nickeddy> PercolatorLa: https://docs.angularjs.org/guide/migration
[17:46:19] *** sk87 has quit IRC
[17:46:25] *** Geertje123_ has joined #angularjs
[17:46:26] <nickeddy> net2014: i still don't know what point you're trying to make
[17:46:42] *** Lewix has joined #angularjs
[17:46:43] *** Lewix has joined #angularjs
[17:47:12] *** DuelShark has quit IRC
[17:47:13] <net2014> nickeddy: well, javascript validation is quite common, but if you want you can just redirect to fom on errors and display the errors next the fields
[17:47:25] <areologist> http://www.fse.guru/2-years-with-angular
[17:47:32] <net2014> I was saying that was another option
[17:47:34] *** milka has quit IRC
[17:47:42] *** busticated has joined #angularjs
[17:47:52] <nickeddy> net2014: angular is a SPA, i don't really cater to edge cases like that
[17:48:03] *** boxmein is now known as [boxmein]
[17:48:08] *** Milkweed has quit IRC
[17:48:09] <nerder> anybody can help me with this: https://gist.github.com/anonymous/325b63b1e0eaaf28fc49
[17:48:14] *** doug64k has quit IRC
[17:48:32] <net2014> ok
[17:48:36] <nerder> my problem is that i get back an array of object intead of an array of array
[17:48:57] *** ajk27 has quit IRC
[17:49:06] <net2014> I just noticed that angular can do very nice javascript validation
[17:49:14] <net2014> the code is very readable and compact
[17:49:34] <nickeddy> nerder: why are you wrapping the $http in a promise? just do return $http.post().then(function(response) { return response; });
[17:49:36] *** jgladwill has joined #angularjs
[17:49:59] <nickeddy> nerder: $http already returns promises
[17:50:14] *** tangorri has quit IRC
[17:50:17] *** ajk27 has joined #angularjs
[17:50:29] <net2014> thanks
[17:50:30] <nerder> nickeddy: i did that cause i need to use $q.all()
[17:50:36] *** net2014 has quit IRC
[17:50:42] *** jonr22 has quit IRC
[17:50:47] <nickeddy> nerder: you can still do that with a list of $http promises
[17:50:54] <nickeddy> no need to re-wrap in a promise
[17:51:23] *** BahamutWC|Work has joined #angularjs
[17:51:25] *** bayousoft has joined #angularjs
[17:51:31] <nerder> ok i should refactor my code, but i guess that my problem is not there
[17:51:57] *** dannyid_ has joined #angularjs
[17:52:04] *** richardlitt has joined #angularjs
[17:52:04] <nerder> this is just an "pre-alpha" version, and it's my first time with angular, so i'm sorry in advance for every "stupid" thing i did xD
[17:52:06] *** evilaliv3 has quit IRC
[17:52:09] *** xeoncross has joined #angularjs
[17:52:29] *** xeoncross has left #angularjs
[17:52:30] <nickeddy> we all have to start somewhere :)
[17:52:43] *** LoveAndHappiness has joined #angularjs
[17:53:26] <nerder> anyway i think that the problem could be this.push()
[17:53:36] *** JR___ has joined #angularjs
[17:53:39] *** sajt has quit IRC
[17:53:41] <nickeddy> oh yeah
[17:53:42] *** snurfery has quit IRC
[17:53:50] <nickeddy> do $scope.warnings.push
[17:53:51] *** abram_away is now known as abram
[17:53:58] <nickeddy> no need to pass in $scope.warnings as the context
[17:54:03] *** dannyid has quit IRC
[17:54:03] *** dannyid_ is now known as dannyid
[17:54:06] <nerder> but i dnt know how to use in other way
[17:54:40] <nickeddy> $scope.warnings = []; angular.forEach(things, function(thing) { $scope.warnings.push(doStuffWithThing(thing)); }
[17:54:55] *** nfroidure has quit IRC
[17:55:09] <Schtive> So, anyone know? If I'm using the ::one-way-binding on a ng-repeat, do I have to also put the :: inside every {{}} also?
[17:55:10] *** iamjmw has joined #angularjs
[17:55:17] *** mchammer has quit IRC
[17:55:32] *** Foxandxss has joined #angularjs
[17:55:41] <nickeddy> Schtive: yeah i think you have to anyways
[17:55:50] <nerder> nickeddy: https://gist.github.com/anonymous/cb08f60ab8a607b534af like this?
[17:56:02] <Schtive> Thank you!
[17:56:15] <nickeddy> nerder: do you know how angular.forEach works?
[17:56:48] <nickeddy> areologist: ah yes, i totally trust some random dude to judge what's good for 'professional' web dev
[17:57:07] <nickeddy> nerder: https://docs.angularjs.org/api/ng/function/angular.forEach
[17:57:17] <nerder> i generally know how for each in general
[17:57:21] *** Ragn has joined #angularjs
[17:57:30] *** corehook has joined #angularjs
[17:57:48] <nickeddy> nerder: angular.forEach(items, function(item) {})
[17:57:59] *** dannyc__ has joined #angularjs
[17:58:00] *** jheady1 has joined #angularjs
[17:58:01] *** JR___ has quit IRC
[17:58:47] *** moritzschaefer has joined #angularjs
[17:58:50] *** tschundeee has joined #angularjs
[17:58:59] *** tristanp has joined #angularjs
[17:59:01] <maraneta> does anyone here use django rest framework? i'm querying thousands of objects and it's taking ages to get the data... how can i profile drf/make it faster?
[17:59:09] *** moogey has joined #angularjs
[17:59:13] <nickeddy> maraneta: yep
[17:59:15] *** rosidoo has quit IRC
[17:59:16] <nickeddy> maraneta: drf is slow as balls
[17:59:17] <nerder> yeah, items is the "list" item is the iterator right?
[17:59:24] *** sime_ has joined #angularjs
[17:59:30] *** SadiQ_ has quit IRC
[17:59:30] <nickeddy> nerder: iterator? no, item is an item from that list
[17:59:31] *** jillesme has quit IRC
[17:59:40] *** JERE has quit IRC
[17:59:44] *** iamjmw has quit IRC
[17:59:51] *** Lewix has quit IRC
[18:00:02] <nickeddy> nerder: it iterates over the list and passes each item in the list to that iterator fn
[18:00:02] <maraneta> nickeddy: yeah, i'm just using curl to run a get request in my terminal and it takes minutes to get a response
[18:00:04] *** yts has quit IRC
[18:00:04] *** prosper_ has joined #angularjs
[18:00:09] *** Aswebb has quit IRC
[18:00:13] <Ragn> Hi, I'm a newbie just getting started with angular (attempting to use the tutorial at angularjs.org). In it, I installed node.js, and cloned the git project. I then ran npm install from the root of the project but got an error message saying ENOGIT is not installed or not in the path.
[18:00:17] <nickeddy> maraneta: what's the query?
[18:00:18] <Ragn> Does anyone know what might be wrong?
[18:00:28] *** jheady1 has left #angularjs
[18:00:35] *** jiskiras has joined #angularjs
[18:00:54] <nickeddy> Ragn: that sounds like a permission error
[18:00:59] <Ragn> It seems to stop at bower install
[18:01:00] <nickeddy> Ragn: did you try running as sudo ?
[18:01:07] <nerder> ok but you mean that the code i implemented is incorrect?
[18:01:07] <Ragn> Ahh
[18:01:09] <maraneta> nickeddy: is there some way i can change my query to make it faster? the query is 'Lot.objects.all()', but the serializer adds all of its related objects as well
[18:01:12] *** PercolatorLa has left #angularjs
[18:01:19] <sime_> I have an array of objects with a day property. How can I order it so the output is ordered in the following order: Mon, Tue, Wed, Thu, Fri, Sat, Sun
[18:01:39] <Ragn> nickeddy, it's most likely my inferior OS, using W7 and powershell (which I can't use git commands from).
[18:01:43] <nickeddy> nerder: i guess if you don't use the item in the function that looks right
[18:01:44] *** edy has joined #angularjs
[18:01:53] <nickeddy> Ragn: ah did you open the node.js shell? that's important
[18:01:57] *** NormySan has joined #angularjs
[18:02:08] *** davidreis_ has quit IRC
[18:02:10] <maraneta> nickeddy: so i have another model called 'Retain', which points to lots, and i have DRF returning each lot and all the retains that point to each lot... which increases the number of objects returned by a lot
[18:02:13] <areologist> nickeddy: trust is irrelevant, as is the author's alleged randomness.
[18:02:17] *** dannyc__ has quit IRC
[18:02:37] <maraneta> nickeddy: either way it's taking a really long time to get a response, and i'm not too sure how i can speed this up or if it's even possible
[18:02:42] <nickeddy> maraneta: yeah it doesn't do well with lots of nested objects like tyhat, i don't think
[18:02:44] *** punch has quit IRC
[18:02:57] *** MaxV has quit IRC
[18:03:03] <Ragn> nickeddy: I have it open, but I did not run any commands in it, I attempted to use npm install but I think it said to run them in my regular shell.
[18:03:07] <nickeddy> maraneta: i'm not sure
[18:03:11] *** mennea has joined #angularjs
[18:03:19] <nickeddy> Ragn: sec
[18:03:22] <maraneta> nickeddy: hm okay, thanks
[18:03:30] *** tschundeee has quit IRC
[18:03:39] <nickeddy> Ragn: i think you need node.js command line, not the shell... see if there's that
[18:03:51] <nickeddy> maraneta: google is probably your best bet
[18:04:35] *** tschundeee has joined #angularjs
[18:04:36] *** mtsr has quit IRC
[18:04:50] *** punch has joined #angularjs
[18:04:53] <nerder> nickeddy: but is still [{},{},{}] so an array that contains object and not an array of arrays as expected
[18:05:01] *** vonnegut has joined #angularjs
[18:05:01] <moogey> sime_: run a sort on the array and may the strings to numbers and order off of that?
[18:05:03] *** MaxV has joined #angularjs
[18:05:23] <nickeddy> nerder: what are the objects themselves?
[18:05:59] *** bkuberek_ is now known as bkuberek
[18:05:59] <nerder> the $http.post return an array of object
[18:06:12] *** BahamutWC|Laptop has quit IRC
[18:06:16] *** BahamutWC has quit IRC
[18:06:23] <sime_> moogey: I don't follow. My initial thought was the loop the array and add a order property, with zero being Mon
[18:06:28] <nickeddy> nerder: i'm guessing they're the promises, in which case you need to $q.all(promiseList).then(function(res) { })
[18:06:33] *** NormySan has quit IRC
[18:06:45] <Ragn> nickeddy: Tried running from the node.js command prompt just now. Got: 'bower install' exit status 1. Failed at the angular-phonecat at 0 dot 0.0 postinstall script.
[18:06:45] <nerder> umm could be actually
[18:06:54] <nerder> you mean in the service right?
[18:07:03] <nickeddy> Ragn: try npm install -g bower and then try that again
[18:07:15] <nickeddy> nerder: no you can do that outside of the service
[18:07:24] <nickeddy> nerder: well or in, i guess it doesn't really matter
[18:07:54] <moogey> sime_: that works too. More or less what I was saying just you're adding the order into the object instead of using an outside reference. Good for it you want to do more than just an initial sort.
[18:08:05] *** FortuneDays has left #angularjs
[18:08:07] *** fbenoit has quit IRC
[18:08:08] *** prosper_ has quit IRC
[18:08:12] *** BahamutWC has joined #angularjs
[18:08:33] *** BahamutWC|Laptop has joined #angularjs
[18:08:36] <sime_> Cheers moogey
[18:09:11] <moogey> sime_: *clinky*
[18:10:00] <Ragn> nickeddy: Thanks for your time. The npm install -g bower command seems to run fine but the other (npm install) still stops with the same message
[18:10:44] *** adpirz has joined #angularjs
[18:11:48] <Ragn> nickeddy: Wait, the message is still bower ENOGIT git is not isntalled or not in the PATH.
[18:11:58] *** doug64k has joined #angularjs
[18:12:03] *** snurfery has joined #angularjs
[18:12:03] <Ragn> Might be because I can only run the git command from git bash?
[18:12:10] <areologist> discussion of Alexey's provocative post on HN: https://news.ycombinator.com/item?id=8651641
[18:12:22] <Ragn> And unfortunately: can't run the npm command from the git bash..
[18:12:38] *** boffo has joined #angularjs
[18:12:44] *** TyrfingMjolnir has quit IRC
[18:12:48] *** seriema has joined #angularjs
[18:13:22] *** doginal has joined #angularjs
[18:13:42] *** chrisbirk has quit IRC
[18:13:48] *** richiebkr has joined #angularjs
[18:14:23] *** ron1 has quit IRC
[18:14:51] *** kuadrosx has quit IRC
[18:14:59] *** loverajoel has joined #angularjs
[18:15:17] *** adpirz has quit IRC
[18:16:02] *** Fuzzy has quit IRC
[18:16:04] *** loverajoel has quit IRC
[18:16:17] *** loverajoel has joined #angularjs
[18:16:34] *** startupality has quit IRC
[18:17:06] *** mmealling has quit IRC
[18:17:37] *** seriema has quit IRC
[18:17:57] *** PrinceAMD has quit IRC
[18:18:21] *** jweaver__ has quit IRC
[18:18:29] *** doginal has quit IRC
[18:18:56] *** jweaver__ has joined #angularjs
[18:18:57] *** cleme1mp_ has quit IRC
[18:18:59] *** doginal has joined #angularjs
[18:19:10] *** loverajoel has quit IRC
[18:20:07] *** dan2k3k4 has joined #angularjs
[18:20:25] *** syzygy__ has joined #angularjs
[18:21:57] *** Aliks has joined #angularjs
[18:22:07] *** joelwallis has joined #angularjs
[18:22:08] *** jonathanpglick has joined #angularjs
[18:22:39] *** corehook has quit IRC
[18:22:48] *** htmelvis has quit IRC
[18:22:50] *** PrinceAMD has joined #angularjs
[18:22:58] *** ron1 has joined #angularjs
[18:23:04] <nickeddy> Ragn: yeah node.js for windows comes with a git bash sort of thing but with node
[18:23:10] *** jweaver__ has quit IRC
[18:23:30] *** rahulprasad has joined #angularjs
[18:23:36] *** Snugug has quit IRC
[18:24:03] *** dacuca has quit IRC
[18:24:25] *** sajt has joined #angularjs
[18:25:01] *** Aliks has quit IRC
[18:25:11] *** say2joe has joined #angularjs
[18:25:32] <matisoffn> http://stackoverflow.com/questions/27085721/angular-datatables-directive-apply-ready-on-promise-return-not-recognizing-a-re
[18:27:02] <ctanga> how long has chrome had this feature? http://i.imgur.com/h8SBHhO.png
[18:27:16] *** htmelvis has joined #angularjs
[18:28:06] *** cohitre has joined #angularjs
[18:28:13] <nickeddy> ctanga: :| idk but that is useful
[18:28:20] *** ngeksyo has quit IRC
[18:28:41] <ctanga> indeed
[18:29:18] *** nodedfree has quit IRC
[18:29:37] *** robksawyer has joined #angularjs
[18:30:18] *** phuh has joined #angularjs
[18:30:38] *** tommyjam has quit IRC
[18:31:24] *** morenoh149 has quit IRC
[18:31:33] *** Sky[x] has joined #angularjs
[18:31:42] *** PrinceAMD has quit IRC
[18:32:26] *** m8 has quit IRC
[18:32:39] *** mennea has quit IRC
[18:33:14] *** mennea has joined #angularjs
[18:33:30] *** Siecje1 has joined #angularjs
[18:34:29] *** jheady has joined #angularjs
[18:35:26] *** Siecje has quit IRC
[18:35:29] *** ehalas has quit IRC
[18:35:51] *** Oxynum has joined #angularjs
[18:36:25] *** niklasmodess has quit IRC
[18:37:00] *** Ajans has quit IRC
[18:37:20] *** despai has joined #angularjs
[18:37:22] *** phix has quit IRC
[18:37:28] *** laurensclaessen has quit IRC
[18:38:25] *** ahmetkapikiran has joined #angularjs
[18:38:56] *** jheady has left #angularjs
[18:39:47] *** bayousoft has quit IRC
[18:40:18] *** jlebrech has quit IRC
[18:40:26] *** bayousoft has joined #angularjs
[18:41:20] *** PrinceAMD has joined #angularjs
[18:41:20] *** cacts has quit IRC
[18:41:44] *** drej|work has joined #angularjs
[18:41:54] *** MetaCosm_ has joined #angularjs
[18:41:57] <drej|work> what does timeline look like for angular2? when is it expected to drop *roughly* ?
[18:42:05] <ctanga> 1.5-2 years
[18:42:15] *** MetaCosm_ has quit IRC
[18:42:16] *** MetaCosm_ has joined #angularjs
[18:42:18] *** loverajoel has joined #angularjs
[18:42:19] *** MetaCosm_ is now known as MetaCosm
[18:42:37] *** junmin has quit IRC
[18:42:52] <ctanga> if you do the math, that’s negative 0.5 years
[18:42:58] <drej|work> neat
[18:43:02] <nickeddy> lol
[18:43:05] <s3shs> :-)
[18:43:12] <drej|work> so im late to the party
[18:43:20] <nickeddy> no you're early!
[18:44:16] *** Lewix has joined #angularjs
[18:44:28] <drej|work> so yeah, end of 2015 is still sort of the timeline?
[18:44:34] <nickeddy> yep
[18:44:42] <nickeddy> at the earliest
[18:45:06] <drej|work> hrm, now to figure out how to delay the client until then
[18:45:08] *** cacts has joined #angularjs
[18:45:15] <ctanga> hah
[18:45:17] <ctanga> use 1.34
[18:45:20] <ctanga> 1.3
[18:45:26] <nickeddy> ^
[18:45:33] <drej|work> we have a contract that makes it such that we're maintaining this app for 5 years
[18:45:41] <moogey> For as much as everyone was freaking out over the angular2.0 release. I can only imagine how much all frameworks are going to have evolved by the time angular2.0 comes out.
[18:45:42] <ctanga> use 1.3
[18:45:53] <drej|work> i have no problem building it in 1.3 but afraid of future support (or lack thereof)
[18:45:58] <ctanga> use 1.3
[18:46:00] <drej|work> i mean, i dont have a choice anyway
[18:46:02] <drej|work> ctanga:
[18:46:03] <ctanga> ;)
[18:46:05] <drej|work> jesus
[18:46:07] <drej|work> :)
[18:46:08] *** Snugug has joined #angularjs
[18:46:10] <nickeddy> 1.3 will be supported 18-24 months after 2.0 release
[18:46:13] <nickeddy> so yeah
[18:46:32] <drej|work> but i want my thing that i build today to transcend all technological advances for 5+ years
[18:46:35] <drej|work> is that so much to ask for?
[18:46:35] *** syzygy__ has quit IRC
[18:46:39] <nickeddy> lol
[18:46:41] <nickeddy> on the web, yes
[18:46:43] *** mmealling has joined #angularjs
[18:46:44] *** jareddlc has joined #angularjs
[18:46:44] <drej|work> :)
[18:46:49] <TweedleDee> can you put an ng-click on a span tag?
[18:46:55] *** foofoobar_ has joined #angularjs
[18:46:58] <ctanga> tweedle sure
[18:46:59] *** PrinceAMD has quit IRC
[18:47:01] <drej|work> TweedleDee: you can put it on any element in the dom
[18:47:04] <nickeddy> https://docs.angularjs.org/api/ng/directive/ngClick
[18:47:04] <TweedleDee> alright cool didnt try..
[18:47:10] <nickeddy> rtfd
[18:47:11] <ctanga> O_o
[18:47:13] <TweedleDee> smfd
[18:47:17] <drej|work> nickeddy: yup because angular docs are soooooo good :)
[18:47:23] *** fedenunez has quit IRC
[18:47:31] <nickeddy> they are pretty decent and answer his question
[18:47:31] <drej|work> TweedleDee: be nice
[18:47:35] <TweedleDee> ;)
[18:47:36] *** melter_ has quit IRC
[18:47:47] <drej|work> nickeddy: the ui utils docs totally made me want to punch a small puppy in the face a couple weeks ago
[18:47:51] <drej|work> w/ masking/validation
[18:47:51] <nickeddy> USAGE: <ANY ng-click="" ...></ANY>
[18:47:54] <drej|work> that sso badly documented
[18:48:04] <TweedleDee> wasn't always that way I'm 80% sure
[18:48:05] <drej|work> i know its not the same thing
[18:48:08] <drej|work> just saying
[18:48:11] <drej|work> TweedleDee: it sure was :0
[18:48:13] <nickeddy> it was.
[18:48:18] *** melter has quit IRC
[18:48:21] <TweedleDee> oh, then I'll take my foot outa my mouth
[18:48:21] <ctanga> TweedleDwas
[18:48:24] <drej|work> a span is an element just like any element, that never changed
[18:48:24] *** Xethron has quit IRC
[18:48:30] *** sajt has quit IRC
[18:48:37] <s3shs> The talk of react is exhausting. The idea of writing all my HTML in script tags is ridiculous. Ember tried that. It was awful... with another language on top to boot.
[18:48:56] *** nerder has quit IRC
[18:49:06] *** lexek_ has quit IRC
[18:49:07] <ctanga> frameworks that invent new languages are useless
[18:49:14] *** napcoder has quit IRC
[18:49:16] *** Lewix has quit IRC
[18:49:24] <s3shs> I know, right?
[18:49:27] *** sajt has joined #angularjs
[18:49:27] <ctanga> ¬_¬
[18:49:28] <nickeddy> oh you mean view shouldn't be non-html screwy jsx?
[18:49:31] *** despai has quit IRC
[18:49:39] <nickeddy> :P
[18:50:00] <nickeddy> ctanga: saw the 0.2.13 release, how's that going?
[18:50:16] *** bayousoft has quit IRC
[18:50:17] <ctanga> nickeddy: good, only one new bug reported (and fixed)
[18:50:24] <nickeddy> nice
[18:50:38] *** htmelvis is now known as htmelvis_zz
[18:50:39] <ctanga> next up is strict type validation
[18:50:42] *** Xethron has joined #angularjs
[18:50:42] *** wafflej0ck_ has joined #angularjs
[18:50:47] *** htmelvis_zz has quit IRC
[18:50:49] <s3shs> How is React binding changes?
[18:51:10] <nickeddy> they "don't have an event loop" but they do
[18:51:12] *** tfennell_ has joined #angularjs
[18:51:35] <ctanga> AFAIK it’s a pipeline of data changes. each change pushed into the pipeline causes the entire subtree to re-render to shadow dom, then they diff the shadow dom with the dom and push any updated pieces
[18:52:03] <GreenJello> s3shs, you mean how does it know when an input changes?
[18:52:04] <ctanga> sound right?
[18:52:07] *** evotuned_ has joined #angularjs
[18:52:11] *** edy has quit IRC
[18:52:15] *** evotuned has quit IRC
[18:52:15] <GreenJello> there's no two way binding if that's what you mean
[18:52:17] <s3shs> Sounds like it may work. Until it doesn't. ;-)
[18:52:25] *** arthas has quit IRC
[18:52:27] <s3shs> GreenJello, yeah.
[18:52:30] *** cleme1mp has joined #angularjs
[18:52:32] *** foofoobar_ has quit IRC
[18:52:43] *** Artagan has quit IRC
[18:52:46] <GreenJello> it uses event delegation
[18:52:48] *** RobinBAwesome has joined #angularjs
[18:52:54] *** PrinceAMD has joined #angularjs
[18:52:57] <s3shs> Isn't there object.observe coming soon? (or something?)
[18:53:11] *** devinandrews has quit IRC
[18:53:12] <GreenJello> just puts a change listener on window, and then propagates events through the components
[18:53:18] <ctanga> I can’t believe those react sneetches wear stars on their bellies ಠ_ಠ
[18:53:32] *** devinandrews has joined #angularjs
[18:53:37] <nickeddy> ctanga: english?
[18:53:44] <GreenJello> some browsers already support Object.observe
[18:53:58] <s3shs> Yeah, chrome experimental or something.
[18:54:05] *** doginal has quit IRC
[18:54:08] <GreenJello> you can use it in chrome stable
[18:54:17] <ctanga> nickeddy: http://en.wikipedia.org/wiki/The_Sneetches_and_Other_Stories
[18:54:21] *** tfennelly has quit IRC
[18:54:23] *** fedenunez has joined #angularjs
[18:54:46] *** phix has joined #angularjs
[18:54:58] <nickeddy> ctanga: haha i still don't know what you're talking about
[18:55:51] <ctanga> nickeddy: hah, it’s a tongue-in-cheek reference to the suess story, implying maybe react has an OK approach, although it’s different from our superheroic framework’s approach
[18:55:52] *** DrMabuse has quit IRC
[18:56:09] *** doug64k has quit IRC
[18:56:14] <ctanga> didn’t read dr suess as a kid?
[18:56:23] <nickeddy> it's been awhile
[18:56:24] *** Evanion has quit IRC
[18:56:31] <nickeddy> :P
[18:56:39] <ctanga> here ya go https://www.youtube.com/watch?v=PdLPe7XjdKc :)
[18:56:58] *** phuh has quit IRC
[18:57:06] *** phzon has quit IRC
[18:57:21] *** richardlitt has quit IRC
[18:57:25] *** phuh has joined #angularjs
[18:57:26] <nickeddy> have you used slush at all?
[18:57:31] <ctanga> no
[18:57:34] <ctanga> whassat
[18:57:39] <nickeddy> https://github.com/slushjs/slush
[18:57:46] *** nodedfree has joined #angularjs
[18:57:46] *** nodedfree has joined #angularjs
[18:57:48] <nickeddy> thinking about using it to make a slush generator for my team
[18:57:55] <ctanga> interesting
[18:57:57] *** wallerdev has joined #angularjs
[18:58:01] <nickeddy> like yeoman but uses gulp instead
[18:58:30] <areologist> JSX is optional, kind of like AtScript
[18:58:41] *** bhuvanaurora has joined #angularjs
[18:58:45] *** bundledavid has quit IRC
[18:58:58] *** xxMatiasFxx has joined #angularjs
[18:59:22] <ctanga> I wouldn’t want to NOT use JSX though, from what I’ve seen
[18:59:42] <nickeddy> "optional"
[18:59:44] <areologist> probably true. I've not done anything serious with react yet so I dunno
[18:59:54] <s3shs> So long as I can debug through it with the debugger I don't care about jsx, etc.
[19:00:06] <s3shs> Unfortunately I suspect that's not the case.
[19:00:13] <matisoffn> http://stackoverflow.com/questions/27085721/angular-datatables-directive-apply-ready-on-promise-return-not-recognizing-a-re
[19:00:14] <areologist> I'm stoked about ng 2.0 more than anything.
[19:00:18] *** doginal has joined #angularjs
[19:00:19] <moogey> I've heard around that some people who don't want to use JSX can get by if their already using coffeescript, without wanting to rip out their hair
[19:00:36] <nickeddy> coffescript makes me want to rip out my hair though... :(
[19:00:43] <moogey> areologist: agreed. I wish they had waited so I didn't have to wait so long to use it
[19:00:44] *** SadiQ_ has joined #angularjs
[19:00:52] <snapwich> coffeescript is awful
[19:00:55] *** bhuvanaurora has quit IRC
[19:00:56] <moogey> nickeddy: *same*
[19:01:08] <s3shs> All I really want from JS is co-routines.
[19:01:10] <SergioFilhow> how can I add an eventlistener to be called only once in angularjs?
[19:01:12] *** FalsePozitive has joined #angularjs
[19:01:20] *** bhuvanaurora has joined #angularjs
[19:01:38] *** doug64k has joined #angularjs
[19:01:40] <moogey> s3shs: different from webworkers?
[19:01:45] <nickeddy> snapwich+
[19:01:47] <nickeddy> snapwich++
[19:01:47] *** SadiQ__ has joined #angularjs
[19:01:49] <UniBot> snapwich Karma: 2
[19:01:57] <snapwich> oh yes, sweet karma
[19:01:58] *** sime_ has quit IRC
[19:02:09] <s3shs> Seriously? coroutines have been around for 25 years and they had to rename them?
[19:02:10] *** bhuvanaurora has quit IRC
[19:02:31] <snapwich> i can see the benefit behind something like typescript though. coffee script, not as much
[19:02:40] *** mennea has quit IRC
[19:02:48] *** platonic has joined #angularjs
[19:02:53] <nickeddy> yeah i don't mind something like type/atscript as long as stuff like arrow fns are optional
[19:02:54] *** xxMatiasFCxx has quit IRC
[19:03:05] <nickeddy> that syntax is acid for my eyeballs
[19:03:11] <AciD`> \o/
[19:03:19] *** mennea has joined #angularjs
[19:03:22] <nickeddy> yes, it's you for my eyeballs
[19:03:24] <nickeddy> ;(
[19:03:36] <areologist> One thing I'm dying to see is the 1.3 port of the 2.0 router. The departure of Eisenberg, who was the main author, makes me worry about it.
[19:03:50] *** UnderSampled has joined #angularjs
[19:03:57] <snapwich> when people put javascript answers in coffeescript on stackoverflow and stuff. oh THANKS, now I have to transpile your answer for no good reason
[19:03:59] <ctanga> Frankly, I’m not too impressed with the 2.0 router
[19:03:59] <moogey> I don't remember seeing anything about the 2.0 router
[19:04:02] <nickeddy> ui-router 1.0
[19:04:03] *** Soop has joined #angularjs
[19:04:41] <areologist> ctanga: what's the story? why u no impressed?
[19:04:43] <moogey> snapwich: just an excuse so they can get points for editing it back to js
[19:05:07] <Soop> Hey does anyone know how one could add user roles to a satellizer JWT
[19:05:14] <ctanga> areologist: it doesn’t bring much beyond what ui-router has done
[19:05:33] <ctanga> one exception is the re-usable component structure for routes, which ui-router lacks
[19:05:57] *** Lewix has joined #angularjs
[19:06:02] *** phix has quit IRC
[19:06:09] <areologist> the component structure, pipeline architecture, etc. plus borrowing good ideas from durandal's router and ui-router
[19:06:16] *** phuh has quit IRC
[19:06:33] <areologist> I dunno. I haven't seen any code, or anything in action, just have an impression based on the router talk at ng-europe
[19:06:50] *** Fuzzy has joined #angularjs
[19:06:51] *** edy has joined #angularjs
[19:06:56] <ctanga> you can see the code, it’s on github
[19:07:02] *** getn_outchea has joined #angularjs
[19:07:06] *** melter has joined #angularjs
[19:07:18] <ctanga> The pipeline architecture is nice
[19:07:31] *** melter_ has joined #angularjs
[19:07:37] <ctanga> which is why I implemented one in ui-router before I learned about the 2.0 architecture
[19:07:39] *** phuh has joined #angularjs
[19:08:13] *** platonic has quit IRC
[19:08:20] *** phuh has quit IRC
[19:08:52] *** ngbot has joined #angularjs
[19:08:52] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 5c43b94 to b5fbd6a: http://git.io/Otb10g
[19:08:52] *** ngbot has left #angularjs
[19:08:53] *** junmin_ has joined #angularjs
[19:08:57] *** phuh has joined #angularjs
[19:09:30] <ish> Did ng-repeat="(key, val) in model.someObject" break in 1.3?
[19:09:54] <ctanga> ish: don’t think so; did you check the changelog for breaking change?
[19:09:54] *** ngbot has joined #angularjs
[19:09:55] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from b5fbd6a to 93552fe: http://git.io/faOrpQ
[19:09:55] *** ngbot has left #angularjs
[19:10:13] *** platonic has joined #angularjs
[19:10:17] *** dan2k3k4 has quit IRC
[19:10:22] *** sacho has joined #angularjs
[19:10:33] *** Lewix has quit IRC
[19:10:40] *** Nijikokun has joined #angularjs
[19:10:42] *** Soop has quit IRC
[19:11:02] *** ngbot has joined #angularjs
[19:11:02] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 93552fe to 891acf4: http://git.io/CUL42g
[19:11:02] *** ngbot has left #angularjs
[19:11:14] *** duall has quit IRC
[19:11:33] <snapwich> can you use the bind-once syntax for something like ng-style?
[19:11:50] *** d4rklit3 has joined #angularjs
[19:11:56] *** Una has quit IRC
[19:11:57] *** focii has quit IRC
[19:12:03] <jaydubya> ctanga: do you use gulp-concat to "autoload" your scripts or do you have the 12,681 script tags in index.html?
[19:12:04] <ctanga> snapwich: it’s implemented at the expression level, so yes
[19:12:10] <snapwich> cool
[19:12:11] <snapwich> thanks
[19:12:17] *** ngbot has joined #angularjs
[19:12:17] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 891acf4 to 5c1fdff: http://git.io/XRu4Tw
[19:12:17] *** ngbot has left #angularjs
[19:12:21] *** iribarne has quit IRC
[19:12:34] <ctanga> I don’t concat/minify at the moment
[19:12:47] <ctanga> that doesn’t mean that you shouldn’t, though
[19:13:14] *** snurfery has quit IRC
[19:13:31] *** phix has joined #angularjs
[19:13:32] *** ngbot has joined #angularjs
[19:13:32] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 5c1fdff to 92f87b1: http://git.io/a-CJAg
[19:13:33] *** ngbot has left #angularjs
[19:13:58] *** jae has joined #angularjs
[19:14:10] *** a3gis has quit IRC
[19:14:23] *** platonic has quit IRC
[19:14:29] *** snurfery has joined #angularjs
[19:14:47] *** Sky[x] has quit IRC
[19:14:52] *** ngbot has joined #angularjs
[19:14:53] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 92f87b1 to 00b623e: http://git.io/uyTEdA
[19:14:53] *** ngbot has left #angularjs
[19:14:53] *** kmikus has joined #angularjs
[19:14:54] *** tech2 has quit IRC
[19:14:59] *** jae has left #angularjs
[19:15:04] <chizbang> How do I get a ng model or ng-bind to enable and disable on demand
[19:15:06] *** whitebook has quit IRC
[19:15:10] <areologist> ctanga: are you a ui-router contributor? just curious.
[19:15:17] <ctanga> areologist: i am
[19:15:31] <nickeddy> maintainer
[19:15:37] <jaydubya> guru
[19:15:42] <nickeddy> kool-aid
[19:15:58] *** ngbot has joined #angularjs
[19:15:58] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 00b623e to 7812dfc: http://git.io/cpsAFg
[19:15:58] *** ngbot has left #angularjs
[19:16:01] *** tsalb has joined #angularjs
[19:16:15] <areologist> ctanga: props
[19:16:29] *** a3gis has joined #angularjs
[19:16:56] <jaydubya> nickeddy: spent the weekend with your gulpfile ... I understand at least 40% of it now
[19:17:08] <nickeddy> me too
[19:17:09] <ctanga> free gulpfiles?!
[19:17:13] <nickeddy> nah jk :P
[19:17:14] *** ngbot has joined #angularjs
[19:17:15] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 7812dfc to 764fa86: http://git.io/iTIZVg
[19:17:15] *** ngbot has left #angularjs
[19:17:30] <nickeddy> jaydubya: any questions feel free to ask
[19:17:45] *** jweaver__ has joined #angularjs
[19:17:52] <jaydubya> nickeddy: I am curious ... how do you start a new project ... bower, a repo or what?
[19:17:55] *** dimetron has quit IRC
[19:18:04] *** phix has quit IRC
[19:18:05] <ctanga> notepad index.html
[19:18:06] <ctanga> ;)
[19:18:07] <nickeddy> oh i don't have that written yet
[19:18:14] <nickeddy> at the moment it's manual
[19:18:25] *** dannyid has quit IRC
[19:18:26] *** ngbot has joined #angularjs
[19:18:27] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 764fa86 to 6dbd606: http://git.io/9f_ZAw
[19:18:27] *** ngbot has left #angularjs
[19:18:29] <nickeddy> but i am going to be writing another gulpfile for that
[19:18:46] *** DuelShark has joined #angularjs
[19:18:52] <jaydubya> nickeddy: cool, I'd love to see it and understand at least 25% of that too
[19:19:23] <nickeddy> i'll let you know when i'm done, maybe end of the week, probably not though since it's a short week :P
[19:19:30] *** ngbot has joined #angularjs
[19:19:30] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 6dbd606 to bb4d3b7: http://git.io/SfbRQw
[19:19:30] *** ngbot has left #angularjs
[19:19:46] <Foxandxss> gulp is not that hard to understand on its basics
[19:19:53] <jaydubya> I watched a Refactor: video on Egghead and absolutely loved his project set up including testing, coverage, etc ... I want to build a seed like that
[19:19:53] *** nairys has joined #angularjs
[19:19:57] <Foxandxss> but advanced stuff is hard
[19:20:18] <s3shs> Gulp is actually wonderfully simple.
[19:20:19] *** platonic has joined #angularjs
[19:20:20] <nickeddy> jaydubya: yeah essentially i'll be making a yeoman generator but with slush which uses gulp
[19:20:36] <nickeddy> jaydubya: it will simplify a lot of that
[19:20:40] *** ngbot has joined #angularjs
[19:20:40] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from bb4d3b7 to aa01be8: http://git.io/cjH3vw
[19:20:40] *** ngbot has left #angularjs
[19:21:15] <s3shs> nickeddy, it's sentences like that that if you had said them 10 years ago you would have been locked up for reasons of insanity. ;-)
[19:21:32] *** Leon has quit IRC
[19:21:41] *** kwaledesign has quit IRC
[19:21:44] *** ngbot has joined #angularjs
[19:21:44] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from aa01be8 to 3109342: http://git.io/iuFBPw
[19:21:44] *** ngbot has left #angularjs
[19:21:44] <nickeddy> s3shs: slush the gulp yeoman bower npm install
[19:21:58] <drej|work> aaand 400 megs of build tools later
[19:21:59] <nickeddy> OH GOD IM CRAZY
[19:22:00] <s3shs> In front of children no less!
[19:22:05] <drej|work> you get index.html and main.sass
[19:22:16] <ctanga> what do you guys think of this at the top of a template: <div ng-init="ui = releaseCtrl.ui”>, where releaseCtrl is my controllerAs?
[19:22:17] *** Una has joined #angularjs
[19:22:21] <nickeddy> nah drej|work only like 30kb
[19:22:32] *** snurfery has quit IRC
[19:22:36] <drej|work> i doubt it
[19:22:40] <drej|work> just a basic yo webapp
[19:22:46] <drej|work> creates like 350 megs of dependencies
[19:22:48] <s3shs> ctanga, trying to shorten things?
[19:22:52] *** ngbot has joined #angularjs
[19:22:52] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 3109342 to 920b595: http://git.io/z6SIMg
[19:22:52] *** ngbot has left #angularjs
[19:22:52] <ctanga> in order to reduce variable references like this: <td colspan="releaseCtrl.ui.getVisibleColumns().length"
[19:22:54] <oniijin> lol the gulp ng gen i tried was like 300mb
[19:22:55] <ctanga> s3shs: yeah
[19:23:00] <nickeddy> drej|work: well yo is crap, hence slush
[19:23:07] <s3shs> It's kind of like assigning a service to a scope. I kind of like it.
[19:23:15] <s3shs> ^ ctanga
[19:23:17] <nickeddy> ctanga: but more dots man...
[19:23:21] *** jaznow has quit IRC
[19:23:29] *** punch has quit IRC
[19:23:34] <s3shs> Don't we all get paid by the dot?
[19:23:41] <ctanga> the idea is that it would be a pattern that my templates all use
[19:23:42] *** mkc has joined #angularjs
[19:23:51] *** nuizzy has joined #angularjs
[19:23:52] <s3shs> ctanga, so long as you're consistent.
[19:23:54] *** ngbot has joined #angularjs
[19:23:54] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 920b595 to a3d7977: http://git.io/4ca2-w
[19:23:54] *** ngbot has left #angularjs
[19:23:59] <ctanga> the short name ‘ui’ would be only for that template
[19:24:03] <s3shs> However, why not do it in the first line of the controller?
[19:24:05] *** mennea has quit IRC
[19:24:08] *** phix has joined #angularjs
[19:24:08] <ctanga> and it would be pulled off the controller
[19:24:10] <s3shs> Oh, for that template.
[19:24:16] *** Xethron has quit IRC
[19:24:28] <ctanga> if I do it in the controller, then I have to inject $scope
[19:24:34] *** dannyid has joined #angularjs
[19:24:52] *** ngbot has joined #angularjs
[19:24:53] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from a3d7977 to 3be6835: http://git.io/LjbFGA
[19:24:53] *** ngbot has left #angularjs
[19:24:58] *** mennea has joined #angularjs
[19:25:00] <s3shs> I tend to avoid init code in my templates unless I've got a really good reason. I dislike having to look in two places for code. (template + js)
[19:25:02] *** sonofdirt has quit IRC
[19:25:05] *** BahamutWC|Laptop has quit IRC
[19:25:14] <ctanga> otherwise my template is utterly littered with “releaseCtrl.something.somethingelse"
[19:25:18] *** rahulprasad has quit IRC
[19:25:23] <ctanga> and it looks fugly
[19:25:31] *** doug64k has quit IRC
[19:25:46] <jaydubya> wondering ... who uses classic controller syntax and who uses controller as?
[19:25:47] <s3shs> Mmm.
[19:25:56] <s3shs> I'm still classic because my app is old.
[19:25:59] *** ngbot has joined #angularjs
[19:25:59] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 3be6835 to 7a37469: http://git.io/VT92aQ
[19:25:59] *** ngbot has left #angularjs
[19:26:04] <ctanga> “old” jaha
[19:26:09] *** BahamutWC has quit IRC
[19:26:17] *** zilla_ has joined #angularjs
[19:26:23] <s3shs> I need to move to controller-as and ng-annotate. My goals before the end of the year.
[19:26:36] <ctanga> I’m continuing development on a product I started writing in 2001
[19:26:39] *** BahamutWC has joined #angularjs
[19:26:47] <s3shs> fsdo "old"
[19:27:02] *** MaxV has quit IRC
[19:27:07] *** ngbot has joined #angularjs
[19:27:07] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 7a37469 to e9b9421: http://git.io/pKeWFg
[19:27:07] *** ngbot has left #angularjs
[19:27:08] <nickeddy> s3shs: ng-annotate?
[19:27:14] <nickeddy> you mean proper di syntax?
[19:27:27] <jaydubya> I just took the Joe Papa Clean Code course on Pluralsite and he was pushing Controller As pretty hard but I didn't see the pros and cons
[19:27:31] *** Lewix has joined #angularjs
[19:27:32] *** Sky[x] has joined #angularjs
[19:27:34] <zilla_> what is ng-annotate?
[19:27:37] <areologist> controllerAs is nice.
[19:27:40] <ctanga> and now that 13 year old web app is getting replaced by angular bits by bits
[19:27:44] *** mclenithan has joined #angularjs
[19:27:44] <areologist> ng-annotate = successor to ngMin
[19:27:53] <moogey> I'm in the weird inbetween stage where part of my app is transitioned
[19:27:55] *** bayousoft has joined #angularjs
[19:27:56] *** BahamutWC|Laptop has joined #angularjs
[19:28:02] <ish> jaydubya: I've converted some of my smaller controllers to controllerAs, and all new ones are. But my app isn't very big.
[19:28:02] *** beckyconning_ has quit IRC
[19:28:07] *** ngbot has joined #angularjs
[19:28:07] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from e9b9421 to 7496e8e: http://git.io/ngbmlA
[19:28:07] *** ngbot has left #angularjs
[19:28:08] <nickeddy> zilla_: it makes it so your angular app's DI syntax doesn't break during minification
[19:28:12] *** evilaliv3 has joined #angularjs
[19:28:27] <zilla_> can we write angular expression in ng-model???
[19:28:49] <nickeddy> zilla_: http://mattgemmell.com/what-have-you-tried/
[19:28:52] *** Aliks has joined #angularjs
[19:28:57] <zilla_> thanks nickeddy
[19:28:58] <areologist> also check out the ng-strict-di directive in 1.3
[19:28:59] <jaydubya> anyone know if the dreaded Angular 2.0 will advocate controller as?
[19:29:05] <nickeddy> don't thank me yet
[19:29:07] *** ngbot has joined #angularjs
[19:29:07] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 7496e8e to addb4bd: http://git.io/CDq5nw
[19:29:07] *** ngbot has left #angularjs
[19:29:08] <ctanga> heh.
[19:29:14] <Foxandxss> jaydubya: angular 2 will be real different
[19:29:18] <Foxandxss> REAL different
[19:29:26] *** Lewix has quit IRC
[19:29:28] *** KernelCurry has joined #angularjs
[19:29:29] <Foxandxss> did I say real?
[19:29:32] *** Lewix_ has joined #angularjs
[19:29:33] <Foxandxss> I meant real
[19:29:40] <ctanga> angular 2.0 will take controllerAs to a whole new level
[19:29:53] <zomg> would you say it will take it.. up to 11?
[19:30:00] <ctanga> :)
[19:30:05] *** ngbot has joined #angularjs
[19:30:05] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from addb4bd to 4644c58: http://git.io/Ys0DTA
[19:30:05] *** ngbot has left #angularjs
[19:30:07] *** gkap has joined #angularjs
[19:30:09] *** sonofdirt has joined #angularjs
[19:30:48] <areologist> actually, 1.3 changes address a good chunk of the criticisms in that blog post I shared above. The thing trending on HN atm.
[19:30:50] <jaydubya> so my losing $scope would be an investment in the future ... he's kinda a friend right now as I am learning this stuff but I really like the look of Papa's code
[19:31:06] *** ngbot has joined #angularjs
[19:31:06] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 4644c58 to 40406e2: http://git.io/U2qhuQ
[19:31:06] *** ngbot has left #angularjs
[19:31:21] *** whunt has joined #angularjs
[19:31:23] <jaydubya> and heaven knows I NEED to clean up code
[19:32:02] *** baweaver has joined #angularjs
[19:32:02] <ctanga> yeah drop $scope
[19:32:06] *** ngbot has joined #angularjs
[19:32:06] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 40406e2 to 8692f87: http://git.io/SQpYnQ
[19:32:06] *** ngbot has left #angularjs
[19:32:17] <ctanga> areologist: which article?
[19:32:41] *** MrWreck has joined #angularjs
[19:32:42] <moogey> Does controllerAs inheritance work the same similar to $scope
[19:33:00] <areologist> ctanga: the blog post shared here, plus a set of 6 short posts the guy links internally: https://news.ycombinator.com/item?id=8651641
[19:33:06] *** Efrem has joined #angularjs
[19:33:06] *** ngbot has joined #angularjs
[19:33:06] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 8692f87 to 42d09f1: http://git.io/dHxtuw
[19:33:06] *** ngbot has left #angularjs
[19:33:11] <ctanga> oh yeah
[19:33:30] *** BahamutWC has quit IRC
[19:33:32] *** abram has quit IRC
[19:33:33] *** doginal has quit IRC
[19:33:51] <MrWreck> hi
[19:34:12] <jaydubya> areologist: last week we were talking about testing in Angular and the seeming lack of tutorial support for it
[19:34:12] *** ngbot has joined #angularjs
[19:34:13] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 42d09f1 to 8ee8ffe: http://git.io/OUm_3g
[19:34:13] *** ngbot has left #angularjs
[19:34:13] *** despai has joined #angularjs
[19:34:13] <ctanga> hi!
[19:34:14] *** kmikus has quit IRC
[19:34:26] <matisoffn> http://stackoverflow.com/questions/27085721/angular-datatables-directive-apply-ready-on-promise-return-not-recognizing-a-re
[19:34:32] <areologist> good news for this guy: one-way bindings, coalesce $httpProvider responses, also applyAsync on $rootScope, toggling debug info, ngModelOptions...
[19:34:44] *** jonr22 has joined #angularjs
[19:34:44] <MrWreck> I am fairly new to angular and I am building a school project in it. I was wondering if someone might be able to answer quick (hopefully quick) question for me
[19:34:56] <MrWreck> I am trying to post to a json file but nothing is working
[19:35:06] *** doginal has joined #angularjs
[19:35:07] *** plushy has quit IRC
[19:35:09] <nickeddy> so long as the question isn't "can you do my homework for me?"
[19:35:12] *** ngbot has joined #angularjs
[19:35:12] <ngbot> [angular.js] jeffbcross merged master into g3_v1_3: http://git.io/1ZW6kg
[19:35:12] *** ngbot has left #angularjs
[19:35:14] *** dnakov has quit IRC
[19:35:18] *** BahamutWC|Laptop has quit IRC
[19:35:25] *** Una has quit IRC
[19:35:26] *** macksfield has joined #angularjs
[19:35:28] <areologist> jaydubya: i remember that. In the software dev world I'm familiar with everything is TDD so yeah, testing seems to get lip service but not much demonstration in angular tutorials
[19:35:30] *** il has joined #angularjs
[19:35:31] *** devinandrews has quit IRC
[19:35:39] *** BahamutWC has joined #angularjs
[19:35:47] *** Una has joined #angularjs
[19:35:48] *** mkc has quit IRC
[19:35:56] *** plushy has joined #angularjs
[19:36:19] <MrWreck> The project is a fully functioning website so this isnt the assignment
[19:36:23] *** NoNMaDDeN has quit IRC
[19:36:23] *** BahamutWC|Laptop has joined #angularjs
[19:36:26] <MrWreck> we just want to store some data in a json
[19:36:31] <jaydubya> areologist: yesterday I watched a four video series on Egghead called Refactor: that showed testing guided refactoring that was GREAT (if you are a PRO member there)
[19:36:57] <areologist> jaydubya: sh*t. I pay on pluralsight, not egghead. that sounds fantastic though.
[19:37:08] *** DuelShark has quit IRC
[19:37:24] *** DuelShark has joined #angularjs
[19:37:26] <areologist> might have to suspend my pluralsight for a month and do a month of egghead instead
[19:37:33] *** Siecje1 has quit IRC
[19:37:54] *** Siecje has joined #angularjs
[19:38:12] <jaydubya> I do Laracasts and Egghead and get PluralSight through work
[19:38:15] *** a3gis has quit IRC
[19:38:44] <areologist> dang. I want that.
[19:38:58] *** DuelShark has joined #angularjs
[19:39:02] <areologist> which do you think is best?
[19:39:07] <areologist> I've not tried laracasts
[19:39:19] <jaydubya> areologist: Apples Oranges and Grapes
[19:39:26] <areologist> figures
[19:39:40] *** jonr22 has quit IRC
[19:39:49] *** cpitt has left #angularjs
[19:40:05] *** snurfery has joined #angularjs
[19:40:36] *** nloding has left #angularjs
[19:40:47] <wafflej0ck_> they should join up and make fruit salad
[19:40:48] <wafflej0ck_> mmm
[19:40:57] *** fedenunez has quit IRC
[19:41:09] *** merobertsjr has joined #angularjs
[19:41:28] *** dnakov has joined #angularjs
[19:41:35] <jaydubya> Laracast is extremely opinionated but offers GREAT insight into the server-side world of Laravel; Egghead has good and bad on Angular and D3; and PluralSight has good courses but too much Windows (Microsoft) Friendly for my taste
[19:41:48] *** seriema has joined #angularjs
[19:41:52] *** crewshin has quit IRC
[19:42:17] *** BahamutWC has quit IRC
[19:42:18] *** fedenunez has joined #angularjs
[19:42:21] *** JR___ has joined #angularjs
[19:42:31] *** Sijdesign has joined #angularjs
[19:42:42] *** BahamutWC has joined #angularjs
[19:42:45] *** jrist has left #angularjs
[19:42:53] *** qdk has quit IRC
[19:42:54] <Sijdesign> Hey guys,
[19:43:00] <areologist> I do a ton of MS stuff so pluralsight makes sense. Looking at Laracast now and I like that it has a bit of software craftsmanship flavor.
[19:43:04] <jaydubya> areologist: you are Ruby, right?
[19:43:23] <Sijdesign> http://laravel.io/bin/yGQoR can some one see how i get a good object output and not object object
[19:43:43] *** jmichaelward has joined #angularjs
[19:43:52] *** Sky[x] has quit IRC
[19:44:02] *** TheWhiteOx has joined #angularjs
[19:44:07] *** dannyc__ has joined #angularjs
[19:44:16] *** crewshin has joined #angularjs
[19:44:25] <TheWhiteOx> Anybody know the ETA on Angular 2.0?
[19:44:31] <areologist> jaydubya: C# has been my main language since 2002, or so, do a little Ruby here and there. Been moving more toward front-end dev and SPAs in recent years.
[19:44:38] <nickeddy> TheWhiteOx: end of 2015 earliest
[19:44:40] *** Johnny13371337 has joined #angularjs
[19:44:57] *** lrvick has joined #angularjs
[19:45:07] <Sijdesign> nickeddy can you help me
[19:45:31] <TheWhiteOx> Yikes icic
[19:45:45] *** whitebook has joined #angularjs
[19:45:53] <lrvick> Anyone know a way to specify a route in routeProvider that will skip history?
[19:45:58] *** mlpug has joined #angularjs
[19:46:02] <nickeddy> Sijdesign: with what
[19:46:07] <TheWhiteOx> If I have no experience with Anguluar would it be wise to put off learning ANgular when 2.0 comes out? Or will learning the current Angular help with learning 2.0?
[19:46:08] *** Joe_knock has joined #angularjs
[19:46:08] *** Joe_knock has joined #angularjs
[19:46:08] <Sijdesign> nickeddy http://laravel.io/bin/yGQoR can some one see how i get a good object output and not object object
[19:46:09] <areologist> The browser platform has been getting really good. It's fun to develop in the browser now, used to prefer the server and avoid the browser as much as possible.
[19:46:24] <moogey> Irvick: I think i remember reading something about a .replace()
[19:46:47] *** JR___ has quit IRC
[19:46:48] <areologist> jaydubya: what do you program in mainly?
[19:46:50] <nickeddy> Sijdesign: that just means you're passing in a user to the createUser function..
[19:46:55] <nickeddy> Sijdesign: err object*
[19:47:13] <jaydubya> areologist: same here but I was CodeIgniter ... if it couldn't be done serverside with a few strands of copied jQuery, it wasn't worth doing
[19:47:22] *** marshall___ has joined #angularjs
[19:47:29] <marshall___> hey ng
[19:47:52] *** punch has joined #angularjs
[19:47:56] <wafflej0ck_> TheWhiteOx: if you've never worked with some client side MV* framework or bindings it's worth learning just for that 2.0 is mostly still unknown and going to be a long work in progress I've heard
[19:47:57] <jaydubya> areologist: but I am now on Step 10 and use Laravel as an API providers and Angular as the front end
[19:48:05] *** bhuvanaurora has joined #angularjs
[19:48:20] *** jmichaelward has quit IRC
[19:48:20] *** marshall___ is now known as marshall
[19:48:23] *** dannyc__ has quit IRC
[19:48:23] *** LoveAndHappiness has quit IRC
[19:48:25] <Sijdesign> nickeddy its just because my laravel cant grab the Input::get('firstname') etc.
[19:48:40] *** pspfolio has quit IRC
[19:48:50] <nickeddy> i don't know what that means
[19:49:19] <TheWhiteOx> ahh thanks for the suggestion
[19:49:20] <jaydubya> Input::get( ['firstname'] ) you mean? Get takes a null or an array
[19:49:29] *** MistahKurtz has joined #angularjs
[19:49:34] *** soee has joined #angularjs
[19:49:35] <Sijdesign> it says null jaydubya
[19:49:46] <areologist> Laravel looks like fun too. PHP has changes so much since the last time I dabbled in it (~2007)
[19:50:01] <Sijdesign> jaydubya http://cl.ly/image/0b3w3S0A0g3Q
[19:50:04] <jaydubya> Sijdesign: but you are passing in a string
[19:50:05] * nickeddy throws up a little bit
[19:50:10] *** rho_ is now known as rho
[19:50:21] <marshall> i'm working on a hybrid angular app. it has an unordered list element that's populated on the server-side that needs to be cleared out and populated on the clientside by angular. what's the best way to do this?
[19:50:37] <Sijdesign> jaydubya hmm
[19:50:38] <areologist> nickeddy: throwing up at php by chance? :-D
[19:50:49] <nickeddy> yes, what else?
[19:50:53] *** Sebastien-L has quit IRC
[19:51:01] <areologist> haha
[19:51:01] <jaydubya> Sijdesign: are you getting or putting?
[19:51:03] *** Sawbones has joined #angularjs
[19:51:06] <nickeddy> marshall: i'd make that list element population in to a restful api
[19:51:16] *** davek_ has joined #angularjs
[19:51:18] <Sijdesign> im trying to create a new user in the DB
[19:51:22] *** devinandrews has joined #angularjs
[19:51:24] *** davek_ is now known as davek
[19:51:25] <Sijdesign> i have ng-model="user.firstname" etc.
[19:51:28] *** guilbep has quit IRC
[19:51:29] <Sijdesign> on my inputs
[19:51:48] <wafflej0ck_> Sijdesign: check the network panel look at the request body to be sure it has the appropriate payload
[19:51:51] <marshall> nickeddy: i want the element and it's children to be available on first-load so that search engines will see it
[19:51:57] *** Schtive has quit IRC
[19:52:02] <Sijdesign> http://laravel.io/bin/kWor0
[19:52:05] <jaydubya> Sijdesign: that error says you can't insert a null but above, you were using get in a query ... I'm confused
[19:52:13] *** cthrax has quit IRC
[19:52:14] *** Crippy has quit IRC
[19:52:19] <wafflej0ck_> marshall: check out prerender.io it's for solving the SEO issue and is open source if you don't want to pay for SaaS
[19:52:36] *** punch has quit IRC
[19:52:51] *** whitebook has quit IRC
[19:52:59] *** micks_9093 has quit IRC
[19:53:38] *** abram has joined #angularjs
[19:53:44] <Sijdesign> jaydubya im a little bit confused too :D
[19:53:46] *** ggrzybek has quit IRC
[19:53:55] *** jheady has joined #angularjs
[19:54:04] <nairys> has anyone used ngGrid or uiGrid and tried listening for the beginCellEdit event?
[19:54:10] <snurfery> sup yall
[19:54:18] <wafflej0ck_> hiya snurfery
[19:54:24] * snurfery waves
[19:55:07] *** crewshin has quit IRC
[19:55:19] *** Tom_ has joined #angularjs
[19:55:30] *** punch has joined #angularjs
[19:55:34] *** jimvideo has quit IRC
[19:55:39] *** Leonty has joined #angularjs
[19:55:42] *** ingsoc has joined #angularjs
[19:55:43] *** Tom_ is now known as Guest90365
[19:55:46] <moogey> nairys: not yet. But hoping to go there next to get rid of having to work with jquery.datatables
[19:55:50] <jaydubya> Sijdesign: this is my Laravel controller to save a user https://gist.github.com/anonymous/b903e7e4f3c297454df9
[19:56:14] *** chrisbirk has joined #angularjs
[19:56:16] *** ehalas has joined #angularjs
[19:56:31] <ingsoc> anyone using angular material in production yet ?
[19:56:42] <Sijdesign> jaydubya what function do you use for logging the user in then?
[19:56:46] <ingsoc> just be good to hear some feedback
[19:56:47] <jaydubya> Sijdesign: and my Users service in Angular https://gist.github.com/anonymous/0c4a83a91184519a653e
[19:56:57] *** Guest90365 has quit IRC
[19:57:22] *** robksawyer has quit IRC
[19:57:24] <nairys> moogey i was trying out angular-datatables a couple weeks ago
[19:57:40] <nairys> it's a nice angular layer on top of datatables
[19:57:43] <jaydubya> Sijdesign: I use this SessionsController for that https://gist.github.com/anonymous/0a196fc3ec953e36c094
[19:58:06] *** jeffisabelle has joined #angularjs
[19:58:20] <jaydubya> Sijdesign: do you subscribe to Laracasts?
[19:58:25] <moogey> nairys: I guess I should try that first. We have a guy who wrote a django package that works with datatables, and we haven't tried to shoehorn angular into it yet
[19:58:25] <areologist> This is encouraging after reading so many critical comments: https://news.ycombinator.com/item?id=8652617
[19:58:54] *** jeffisabelle has quit IRC
[19:58:57] <nickeddy> areologist: why do you keep posting about that?
[19:58:58] *** tomengland_mbp has joined #angularjs
[19:59:05] *** htmelvis has joined #angularjs
[19:59:09] <nickeddy> areologist: that original article is FUD
[19:59:23] <areologist> It's an interesting discussion.
[19:59:25] *** ryst has joined #angularjs
[19:59:37] *** plazm has joined #angularjs
[19:59:37] <areologist> I like to hear differnet views on angular, and ppl's experiences
[19:59:49] *** cthrax has joined #angularjs
[19:59:49] <nickeddy> not really, when the source for why angular is "bad" is the guy's own 8 part series on why angular is bad
[19:59:57] <nickeddy> and those articles are trash in and of themselves
[19:59:58] *** Leonty has quit IRC
[20:00:05] *** mkc has joined #angularjs
[20:00:19] <areologist> I thought it contained some valid concerns, some of which are addressed in 1.3 and other in 2.0
[20:00:21] <seiyria> hey, has anyone here worked on angular-strap before that could help me out a bit?
[20:00:34] <seiyria> (worked on, not with, to be clear)
[20:00:39] *** jheady has quit IRC
[20:00:40] <areologist> but yeah, it wasn't backed up with data or anything, it was a guy spouting off, I'll grant that
[20:01:02] <nickeddy> most complaints i've ever seen are when a. people are trying to use angular where it doesn't belong or b. they haven't actually used angular on a large web app that's living in production
[20:01:04] <areologist> I wasn't sharing it as *truth*, just as a fun thing
[20:01:30] <nairys> it's not really a helpful comment
[20:01:37] *** MrWreck has quit IRC
[20:01:43] <nairys> spouting numbers doesn't prove anything
[20:02:08] <TheWhiteOx> Hmmm when is ES6 supposed to be released?
[20:02:11] *** mcastro has joined #angularjs
[20:02:19] <nickeddy> areologist: well linking to an article about "why angular is bad" doesn't help anyone
[20:02:24] <Sijdesign> jaydubya yes i subscribe to laracasts :D
[20:02:33] <nairys> unless you still believe in LOC as a metric for your coding skills
[20:02:58] <nickeddy> nairys: indeed the most useless metric of all
[20:03:19] *** sacho has quit IRC
[20:03:35] *** richardlitt has joined #angularjs
[20:03:40] *** rahulprasad has joined #angularjs
[20:03:42] *** squeakytoy has joined #angularjs
[20:04:35] *** Sijdesign has quit IRC
[20:04:43] *** themime has joined #angularjs
[20:04:52] <areologist> I like things that criticize stuff that I am biased toward. Helps me notice loss aversion, sunk cost, framing effects, and other manifestations of compromised decision making.
[20:05:31] <nickeddy> fair enough, but not when the person being critical of it doesn't know what the fuck he's talking about
[20:05:36] <nairys> i guess i just don't see how the comment you pasted helps avoid any of those. all he did was state numbers
[20:05:57] *** iShortBus_ is now known as iShortBus
[20:06:01] *** bhuvanaurora has quit IRC
[20:06:03] <areologist> In the case of the article, and ycombinator comments, I've found myself reflecting upon best practices and how to leverage new 1.3 features.
[20:06:08] *** cohitre has quit IRC
[20:06:10] <nickeddy> i'll state again: library size (in kB, LoC, whatever) is such a shit metric
[20:06:34] <nairys> ok well i'm glad you've managed to take some positive away from it
[20:06:40] *** kas84 has quit IRC
[20:06:48] <wafflej0ck_> yeah 50,000,000+ LOC can't seem to make Windows worth using :P that said I think it's always good to look at the other side to avoid the echo chamber
[20:06:51] <nairys> just don't be surprised if not everyone else has the same reaction
[20:07:05] *** sirkitree is now known as sirkitree|afk
[20:07:19] *** kwaledesign has joined #angularjs
[20:08:13] <devinandrews> Would anyone know why my service wouldn't be updating, until I call another service? Sounds like some sort of weird service digest thing...
[20:08:16] <areologist> I would care about LoC and library size for different reasons. Neither measure how good or bad a library is.
[20:08:28] *** phuh has quit IRC
[20:08:49] <areologist> I'd care more about the performance characteristics of a library in a particular application
[20:08:53] *** phuh has joined #angularjs
[20:09:04] *** macobo has joined #angularjs
[20:09:06] <nairys> i say let's move on
[20:09:09] <areologist> a *lot* more
[20:10:01] <jaydubya> Sijdesign, Jeffrey takes you through those steps in "From Install through Registration" and then shows how to get Angular involved in "Laravel and Angular"
[20:10:05] *** doginal has quit IRC
[20:10:47] *** nycdevgirl has quit IRC
[20:11:11] *** doginal has joined #angularjs
[20:11:33] *** dnakov has quit IRC
[20:11:54] <Foxandxss> areologist: all you say lately is how problematic 2.0 is going to be and posting bad articles
[20:11:57] <Foxandxss> that doesn't help heh
[20:12:02] *** prbc has joined #angularjs
[20:12:45] *** tech2 has joined #angularjs
[20:13:16] *** nycdevgirl has joined #angularjs
[20:13:19] *** cthrax has quit IRC
[20:14:04] *** jacuqesdancona has quit IRC
[20:14:32] <seiyria> hey guys, I found a file in ng-strap called bower_components that has ./../bower_components as its only contents. it looks like a symlink from linux. is that what it is?
[20:14:40] *** jacuqesdancona has joined #angularjs
[20:14:41] *** wallerdev has quit IRC
[20:15:37] *** Juanchito has quit IRC
[20:15:41] <nairys> has anyone successfully built a custom cellTemplate for uiGrid?
[20:15:47] *** dnakov has joined #angularjs
[20:16:08] *** Oxynum has quit IRC
[20:16:09] *** wafflej0ck_ has quit IRC
[20:16:12] *** mivv has joined #angularjs
[20:16:20] *** dannyc_ has quit IRC
[20:16:27] <ish> Is it bad form to expose a service (say with utility text rendering functions) on your $scope (or this/vm) for use in your templates?
[20:16:46] *** MaxV has joined #angularjs
[20:16:53] *** wafflej0ck has joined #angularjs
[20:16:54] <ish> I've even found myself exposing _ (lodash) on my scope.
[20:17:09] <Foxandxss> I wouldn't expose lodash to the template
[20:17:09] *** lamarque has quit IRC
[20:17:18] <Foxandxss> templates are not for logic
[20:17:25] <Foxandxss> logic belongs to other places, but not view
[20:17:45] *** baweaver has quit IRC
[20:17:46] *** jacuqesdancona_ has joined #angularjs
[20:18:14] <ish> its actually for an ng-repeat filter for an object instead of an array. But perhaps I should wrap that in a method of the controller.
[20:18:25] *** ryst has quit IRC
[20:18:39] *** jacuqesdancona has quit IRC
[20:19:00] *** wallerdev has joined #angularjs
[20:19:13] *** robksawyer has joined #angularjs
[20:19:18] <seiyria> I used lodash in a template to do _.isEmpty()
[20:19:22] <seiyria> I
[20:19:25] *** junmin has joined #angularjs
[20:19:34] <seiyria> I'm not going to wrap _.isEmpty just so I don't expose lodash to my template
[20:20:59] *** ederign is now known as ederign_afk
[20:21:12] *** Milkweed has joined #angularjs
[20:21:26] *** nemothekid has joined #angularjs
[20:21:49] *** iamstef_ is now known as iamstef
[20:21:58] *** \du has quit IRC
[20:22:20] *** junmin_ has quit IRC
[20:22:31] *** dacuca has joined #angularjs
[20:22:46] *** foofoobar_ has joined #angularjs
[20:22:50] *** NoNMaDDeN has joined #angularjs
[20:23:02] *** loverajoel has quit IRC
[20:23:13] <matisoffn> http://stackoverflow.com/questions/27085721/angular-datatables-directive-apply-ready-on-promise-return-not-recognizing-a-re
[20:23:33] *** JERE has joined #angularjs
[20:23:39] <wafflej0ck> seiyria: someone actually did this https://github.com/cabrel/angular-lodash haven't used it myself but does seem somewhat handy
[20:23:58] <seiyria> that's neat
[20:23:59] *** mennea has quit IRC
[20:24:15] <seiyria> I would use that
[20:24:34] *** TheAceOfHearts has joined #angularjs
[20:24:37] *** philp_ has joined #angularjs
[20:24:42] *** despai has quit IRC
[20:24:56] <areologist> Foxandxss: that's wrong. I say lots of stuff, only good things about ng 2.0, and only shared one critical article. Is this the inquisition?
[20:25:31] *** kirfu has joined #angularjs
[20:25:55] *** focii has joined #angularjs
[20:26:07] *** mennea has joined #angularjs
[20:26:28] *** despai has joined #angularjs
[20:27:41] *** Schtive has joined #angularjs
[20:27:47] *** richardlitt has quit IRC
[20:28:36] *** mclenithan has quit IRC
[20:28:36] *** wjw has joined #angularjs
[20:28:37] *** zanea|away is now known as zanea
[20:30:48] *** cohitre has joined #angularjs
[20:31:55] *** basiclaser_ has quit IRC
[20:32:02] *** jiskiras has quit IRC
[20:32:24] *** qdk has joined #angularjs
[20:32:29] *** cohitre has quit IRC
[20:32:42] *** jackdpeterson has joined #angularjs
[20:32:43] <nairys> oh my god drop it please
[20:33:08] *** ahtik has joined #angularjs
[20:33:38] *** glassir has quit IRC
[20:33:41] *** morenoh149 has joined #angularjs
[20:34:02] <Foxandxss> areologist: good
[20:34:20] <Foxandxss> nairys: I can't, I need to maintain the channel well behaved
[20:34:24] *** cohitre has joined #angularjs
[20:35:29] <nickeddy> well posting articles that literally say angular is bad i wouldn't call "critical" given he doesn't even point to what's "good"
[20:35:31] <jaawerth> it's just too early to react to angular 2.0 stuff with anything other than, "oh, that's interesting." too much is still yet to be determined
[20:35:37] <nickeddy> but that's just me
[20:36:08] <jaawerth> that's my take on it, anyway
[20:36:13] *** mcastro has quit IRC
[20:36:14] *** diegoaguilar has quit IRC
[20:36:17] <nairys> this 2.0 meta conversation is not helpful for anyone right now
[20:36:21] <areologist> jaawerth: that's basically how I feel about it, except that some things that I've learned about 2.0 are exciting and address and/or negate pain points of 1.x
[20:36:40] <Foxandxss> nairys: I agree, that is why I ask people to stop
[20:37:02] <ish> is there a preference to stick to just one of factory or service?
[20:37:05] *** pspfolio has joined #angularjs
[20:37:21] *** jae has joined #angularjs
[20:37:38] <jaawerth> not really. I tend to use factories over services just because a factory lets you do more to configure your service
[20:37:45] *** ahmetkapikiran has quit IRC
[20:37:54] <nickeddy> i thought services did more than factories?
[20:37:56] *** sajt has quit IRC
[20:37:59] <Foxandxss> ish: as jaawerth said, personal preference
[20:38:07] <Foxandxss> nickeddy: a service is a factory
[20:38:08] <Foxandxss> :P
[20:38:13] <nickeddy> i know
[20:38:17] <nickeddy> providers, providers everywhere
[20:38:36] <jaawerth> a service is literally just a factory that invokes "new" on the function you pass into it, treating it as a constructor, so you don't have to yourself
[20:38:55] <jaawerth> (and automatically returns the instantiated object)
[20:38:59] <jaawerth> that is the only difference
[20:39:17] *** sajt has joined #angularjs
[20:39:36] *** nemothekid has joined #angularjs
[20:39:42] *** seanmacd2nald has joined #angularjs
[20:40:06] *** ahtik has quit IRC
[20:40:08] *** mansoormb has joined #angularjs
[20:40:12] <areologist> the angular styleguide on JPs github recommends using factory
[20:40:17] <mansoormb> i have a random html5 question
[20:40:35] *** wallerdev has quit IRC
[20:40:42] *** ahtik has joined #angularjs
[20:40:46] <mansoormb> is there anyway to continuously track GPS data even if the website is not open
[20:40:47] <mansoormb> ?
[20:40:57] *** nemothekid has quit IRC
[20:41:03] <nickeddy> wat
[20:41:06] <mansoormb> maybe using a web socket or something
[20:41:39] <oniijin> lol if the site is not open what is the socket connecting to
[20:41:43] <areologist> but there isn't really a strong argument (that I'm aware of) for factory() over service().. maybe factory is slightly cleaner in DI context.
[20:41:46] *** richardlitt has joined #angularjs
[20:41:56] <mansoormb> lets say I want to use HTML5 geo tracking with google maps on a web application and I want to track an individual even when off of the website
[20:42:18] *** burzum2 has quit IRC
[20:42:18] *** RobinBAwesome has quit IRC
[20:42:21] <mansoormb> similar to how apps do it
[20:42:25] <nickeddy> <NSA> we do that on your phone already
[20:42:27] <oniijin> that's not happening
[20:42:37] *** foofoobar_ has quit IRC
[20:42:42] <mansoormb> I didn't think so
[20:42:48] <oniijin> u'll need to use mobile os hooks
[20:43:03] *** omolin4 has joined #angularjs
[20:43:04] *** burzum has joined #angularjs
[20:43:11] *** wallerdev has joined #angularjs
[20:43:11] <oniijin> but that's not going to work from a strict browser app
[20:43:21] *** mcastro has joined #angularjs
[20:43:22] *** ahtik has quit IRC
[20:43:51] <mansoormb> hmm so basically to get the functionality I want I would need to build out a native system
[20:43:52] *** ahtik has joined #angularjs
[20:43:57] <plato1> maybe there's an API for google's location history
[20:44:06] <areologist> "even when off the website" - sounds like malware
[20:44:08] *** mclenithan has joined #angularjs
[20:44:17] <mansoormb> Yeah I don't want that hahah
[20:44:21] *** cthrax has joined #angularjs
[20:44:46] *** loverajoel has joined #angularjs
[20:44:49] <areologist> :-P
[20:44:58] *** doginal has quit IRC
[20:45:16] <ciro_nunes> https://docs.angularjs.org/guide/providers#conclusion
[20:45:35] *** StvnW has joined #angularjs
[20:45:39] *** phzon has joined #angularjs
[20:45:52] *** Una has quit IRC
[20:46:07] *** Una has joined #angularjs
[20:46:09] <mansoormb> I want gps tracking on this web app im creating
[20:46:19] <mansoormb> I want it to be real time
[20:46:26] *** nemothekid has joined #angularjs
[20:46:32] <seiyria> well then people would need your website open in real time
[20:46:44] <mansoormb> thats what I was thinking and I can do that
[20:46:48] <nickeddy> honestly that sounds evil and i don't know if anyone would help you do that
[20:46:58] <mansoormb> Its not evil
[20:47:02] <seiyria> yes it is
[20:47:06] <mansoormb> NO ITS NOT!
[20:47:07] <mansoormb> lol
[20:47:18] *** bundledavid has joined #angularjs
[20:47:18] <nickeddy> tracking someone's location while they don't have the app up...
[20:47:18] <mansoormb> I want to be able to shut it off too
[20:47:19] *** Ragn has quit IRC
[20:47:21] <seiyria> I don't want something to continue tracking me after I close it unless I've explicitly told it to
[20:47:26] <oniijin> you should get their phone to take photos every 10 seconds too and send to server
[20:47:29] <nickeddy> evil as fuck
[20:47:34] <mansoormb> HAHAH
[20:47:41] *** nemothek_ has joined #angularjs
[20:47:43] <mansoormb> the tracking only is meant for the employees
[20:47:47] <mansoormb> not for users
[20:47:56] <seiyria> that's even more sketchy
[20:47:56] <nickeddy> hope that's in their contract ;)
[20:47:59] <seiyria> you don't trust your employees?
[20:48:05] <seiyria> if I were working for you, I would fight that hardcore
[20:48:09] <mansoormb> Its a feature damn!
[20:48:09] <snurfery> aren't employees the users, in that case?
[20:48:09] <nickeddy> ^
[20:48:15] <nickeddy> feature?
[20:48:20] <seiyria> that's not a feature
[20:48:20] <snurfery> I mean delivery drivers have their trucks tracked, etc
[20:48:24] <mansoormb> the idea is a small local based delivery service
[20:48:26] <snurfery> so it's not unheard of
[20:48:33] <snurfery> yeah
[20:48:35] <nickeddy> well that clears things up
[20:48:35] <seiyria> sure, but that shouldn't be a web app then
[20:48:37] *** maraneta has quit IRC
[20:48:38] <snurfery> and lyft, uber, etc
[20:48:38] <nickeddy> lol
[20:48:48] <seiyria> what if they accidentally hit home
[20:48:50] <snurfery> don't be lazy, build a native app
[20:48:52] *** jillesme has joined #angularjs
[20:48:53] <seiyria> or w/e button takes you to the home screen
[20:48:55] <nickeddy> or ionic
[20:49:00] <mansoormb> I want the users that are having their items delivered to be able to track the drivers location
[20:49:01] <snurfery> (or ionic)
[20:49:07] <seiyria> that
[20:49:10] <seiyria> is sketchy af
[20:49:14] <snurfery> how?
[20:49:15] *** chrisbirk has quit IRC
[20:49:17] <oniijin> regardless that 'feature' wont be possible in a browser
[20:49:19] *** nemothek_ has quit IRC
[20:49:24] <snurfery> same as lyft/uber tracking where your driver is
[20:49:28] <seiyria> "oh, that guy is making a delivery, jump his truck!"
[20:49:31] <mansoormb> Exactly same idea
[20:49:33] <oniijin> u need to go native or webapp with native hooks (cordova)
[20:49:33] <seiyria> idk, I feel like that's a problem
[20:49:38] *** ahtik has quit IRC
[20:49:44] *** baweaver has joined #angularjs
[20:49:52] <mansoormb> I might go native on this i just wanted to know other options
[20:49:53] <areologist> need a native app or native wrapper. look at geolocation api for your options in html5 browser environment
[20:50:05] <mansoormb> so ill take a look at cordova
[20:50:09] <plato1> agreed, use native app
[20:50:15] <oniijin> u should just hire children to follow your employees around
[20:50:18] *** phzon has quit IRC
[20:50:20] <mansoormb> HAHAHA!
[20:50:21] <oniijin> and phone in every minute with location
[20:50:27] <mansoormb> Children is the route im going for sure
[20:50:32] *** DuelShark has quit IRC
[20:50:32] *** ahtik has joined #angularjs
[20:50:34] <mansoormb> hahaha
[20:50:35] <oniijin> they're cheap
[20:50:44] <areologist> program mini-drones to follow the employees all day with constant video recording
[20:50:47] <oniijin> give them some candy
[20:50:55] *** StvnW has left #angularjs
[20:51:02] *** TheAceOfHearts has quit IRC
[20:51:17] <mansoormb> okay cool I didn't think there was a way to do it using just the web interface
[20:51:29] <mansoormb> so I am guessing that native app is the direction I am heading
[20:51:34] *** say2joe has quit IRC
[20:51:44] *** jae has left #angularjs
[20:51:48] *** nemothekid has quit IRC
[20:52:20] *** SahanH has quit IRC
[20:53:04] *** bundledavid has quit IRC
[20:53:10] *** kirfu has quit IRC
[20:53:15] <oniijin> i still think slave labor children is better
[20:53:55] <mansoormb> probably cheaper initially too
[20:54:04] *** crunch-choco has joined #angularjs
[20:54:07] *** DuelShark has joined #angularjs
[20:54:09] *** Sky[x] has joined #angularjs
[20:54:12] <oniijin> u can probably buy a lb of candy for $5
[20:54:12] *** JoshGlzBrk has joined #angularjs
[20:54:24] *** dejanr has quit IRC
[20:54:30] <mansoormb> I believe in fair wages ill give them 2 pounds
[20:54:42] <oniijin> jeez are u trying to have diabetic obese children
[20:54:47] <oniijin> those are not trust worthy
[20:54:48] *** Poppabear has quit IRC
[20:54:50] <oniijin> u need them hungry
[20:54:55] <crunch-choco> guys, I have a little problem with UI.Router, i don't manage to call my controller
[20:55:06] *** richiebkr has quit IRC
[20:55:30] <crunch-choco> the controller is in a different folder from app.js, can I just set "controller: 'adminCtrl'" or should it be full path?
[20:55:37] *** mennea has quit IRC
[20:55:50] *** loverajoel has quit IRC
[20:55:55] <oniijin> DI bro
[20:55:56] *** Evanion has joined #angularjs
[20:56:06] *** jheady has joined #angularjs
[20:56:18] *** mennea has joined #angularjs
[20:56:21] *** gkap has quit IRC
[20:56:26] *** Aliks has quit IRC
[20:56:57] *** Fishy__ has quit IRC
[20:57:01] <crunch-choco> oniijin: ah yes
[20:57:09] <crunch-choco> thanks :D
[20:57:19] *** rileylar_ has joined #angularjs
[20:57:20] *** mkc has quit IRC
[20:57:40] <s3shs> nickeddy, "you mean proper di syntax?" ? ng-annotate ?
[20:57:41] *** mkc has joined #angularjs
[20:58:14] <nickeddy> ng-annotate just turns your non-minify safe DI to safe, proper DI
[20:58:22] *** tata has joined #angularjs
[20:58:35] <mansoormb> its all about that DI!
[20:58:47] <s3shs> nickeddy, yeah.
[20:59:02] *** tata has quit IRC
[20:59:04] <nickeddy> so instead of angular.module('app').controller('SomeCtrl', function($scope, $http) { }); -> angular.module('app').controller('SomeCtrl', ['$scope', '$http', function($scope, $http) {}]);
[20:59:10] *** DuelShark has quit IRC
[20:59:16] <s3shs> But if you've got 200 controllers, doing it manually becomes a chore.
[20:59:18] <nickeddy> second way is how you should be writing DI
[20:59:30] <nickeddy> well not if you have done that from the get go :P
[20:59:35] *** ColKurtz has joined #angularjs
[20:59:49] *** tomengland_mbp has quit IRC
[20:59:50] <nickeddy> took me all of maybe 20 mins to refactor my bajillion controllers/directives/everything
[20:59:50] <oniijin> ngannotate that shiz =p
[20:59:52] *** MaxV has quit IRC
[21:00:09] *** Poppabear has joined #angularjs
[21:00:17] <s3shs> I am writing it the second way. With ng-annotate you can do the first way and not have to type every service twice.
[21:00:19] *** sirkitree|afk is now known as sirkitree
[21:00:26] *** charuru has joined #angularjs
[21:00:34] <s3shs> ng-annotate is a better solution.
[21:00:36] *** marr has joined #angularjs
[21:00:47] *** cornerma1 has joined #angularjs
[21:00:51] *** nemothekid has joined #angularjs
[21:00:53] *** rileylark has quit IRC
[21:01:29] *** chrisbirk has joined #angularjs
[21:01:31] <nickeddy> one less dependency for a few keypresses is ok with me
[21:01:37] <nickeddy> but either way works
[21:01:37] *** cotko has quit IRC
[21:01:51] <s3shs> I feel your pain, re: dependency. I choose them wisely.
[21:01:52] *** ryst has joined #angularjs
[21:01:58] <s3shs> I think this one will be worth it.
[21:02:03] *** jheady1 has joined #angularjs
[21:02:17] <themime> nickeddy: s3shs ive been using $inject and have found it pretty clean
[21:02:20] *** sinequanon has joined #angularjs
[21:02:42] <themime> ive heard good thing about ng-annotate though
[21:02:46] <oniijin> i like having ngannotate in there just in case i forget to array notation something
[21:02:47] <oniijin> =p
[21:02:53] <oniijin> foolproof yourself
[21:02:59] *** jheady1 has left #angularjs
[21:03:02] *** jillesme_ has joined #angularjs
[21:03:08] <crunch-choco> oniijin: idk if you were answering me earlier, but i aactually had the same DI issue :p
[21:03:23] <oniijin> yes my DI remark was to u
[21:03:33] <crunch-choco> aha ;)
[21:03:35] <s3shs> $inject is kind of cool but puts the services after the controller which is kind of weird to read.
[21:03:51] <areologist> ng-annotate isn't a dependency outside of your dev and build process so not sure why it would be an issue
[21:03:59] <nickeddy> does anyone here use slush?
[21:04:06] *** richardlitt has quit IRC
[21:04:21] *** doginal has joined #angularjs
[21:04:28] *** cornerman has quit IRC
[21:04:28] *** b1rkh0ff has quit IRC
[21:04:32] *** richardlitt has joined #angularjs
[21:04:34] *** cornerma1 is now known as cornerman
[21:05:03] *** jheady has quit IRC
[21:05:19] <s3shs> areologist, I think he's thinking "one more thing on top of everything else." One could argue that with every step in the build comes the changes of something screwing up.
[21:05:30] <s3shs> ^chances
[21:06:07] *** jillesme has quit IRC
[21:06:54] *** zz_night-owl is now known as night-owl
[21:07:03] *** juampy has quit IRC
[21:07:09] *** jolts has quit IRC
[21:07:13] <areologist> benefits may outweight. for example, with ng-strict-di directive (1.3) ngAnnotate will find missing DI annotations. It can also generate source maps and do some other things that might knock out another grunt/gulp task to break even. :-D
[21:07:23] *** whunt has quit IRC
[21:07:34] <crunch-choco> hm do you guys have a cleanly angularJS app on github that I could use as reference for structure, and best practices?
[21:07:45] <crunch-choco> cleanly coded*
[21:07:53] *** jillesme_ has quit IRC
[21:07:54] *** MaxV has joined #angularjs
[21:08:24] <s3shs> areologist, good. :-)
[21:08:27] *** phuh has quit IRC
[21:09:03] *** jillesme has joined #angularjs
[21:09:04] *** phuh has joined #angularjs
[21:09:22] *** IvailoStoianov_ has joined #angularjs
[21:09:23] <oniijin> https://github.com/johnpapa/angularjs-styleguide
[21:09:24] *** ederign_afk is now known as ederign
[21:09:28] *** richardlitt has quit IRC
[21:09:34] *** devinandrews has quit IRC
[21:09:41] *** loverajoel has joined #angularjs
[21:09:48] *** TripTastic has quit IRC
[21:09:55] *** devinandrews has joined #angularjs
[21:09:58] *** cthrax has quit IRC
[21:10:08] *** simiographics has joined #angularjs
[21:10:09] <oniijin> http://toddmotto.com/opinionated-angular-js-styleguide-for-teams/
[21:10:42] *** IvailoStoianov has quit IRC
[21:10:55] *** IvailoStoianov_ is now known as IvailoStoianov
[21:12:02] *** bealtine has quit IRC
[21:12:06] *** tech2 has quit IRC
[21:12:24] *** ryst has quit IRC
[21:12:27] *** Lingos has joined #angularjs
[21:13:07] <crunch-choco> oniijin: that's awesome, thanks a lot man!
[21:13:40] *** larsgk has joined #angularjs
[21:13:45] *** jolts has joined #angularjs
[21:14:15] <Grokling> ctanga: You about today?
[21:14:24] <ctanga> ay
[21:14:45] *** bayousoft has quit IRC
[21:14:46] *** elyssonmr has quit IRC
[21:15:06] *** dejanr has joined #angularjs
[21:15:18] *** bayousoft has joined #angularjs
[21:15:25] *** chrisbirk has quit IRC
[21:15:26] *** tristanp has quit IRC
[21:15:27] *** wallerdev has quit IRC
[21:15:47] *** Snugug has quit IRC
[21:15:48] *** tristanp has joined #angularjs
[21:16:14] *** thedodd has joined #angularjs
[21:16:22] *** MistahKurtz has quit IRC
[21:16:31] *** richardlitt has joined #angularjs
[21:16:32] <Grokling> ctanga: Awesome. I spent a lot more time playing with the nested resolve stuff last night, and determined that it's not working for me because I have named views. The resolves run, but the DI fails. http://plnkr.co/edit/Drnmd7wXVYvUQVccZ0Cg?p=preview
[21:16:45] *** juampy has joined #angularjs
[21:16:47] *** chrisbirk has joined #angularjs
[21:16:54] <Grokling> Remove the named views, and you have the plunker you sent me yesterday..
[21:17:21] *** juampy has quit IRC
[21:17:23] *** brandon_ has joined #angularjs
[21:17:28] *** b1rkh0ff has joined #angularjs
[21:17:46] <brandon_> I have a ng-repeat + form question if anyone is free
[21:17:56] *** laurensclaessen has joined #angularjs
[21:18:05] <ctanga> Grokling: resolves are primarily state-based
[21:18:13] *** disorder20 has joined #angularjs
[21:18:16] <ctanga> Grokling: your views are like little leaf nodes attached to the state
[21:18:23] *** fataldecrease has joined #angularjs
[21:18:25] <jaawerth> I like that
[21:18:28] *** Expi1 has quit IRC
[21:18:29] <jaawerth> well put
[21:18:34] *** JBreit has joined #angularjs
[21:18:39] <ctanga> Grokling: the states are the tree, the views are leaves. as they’re leaf nodes, a view can’t inherit from other views
[21:18:52] <jaawerth> ctanga: oh sorry I never commented in that discussion, work was SUUPER busy that week (also the week after)
[21:18:57] *** Rampages has quit IRC
[21:18:58] <brandon_> I assume this wrong, but under how else to accomplish ng-repeat with forms. <form class="table_refine group" ng-attr-id="insightEditForm_{{ $index }}" ng-attr-name="insightEditForm_{{ $index }}" ng-submit="clicked || processEditInsightForm(insightEditForm_{{$index}}.$valid, insight)">
[21:19:02] *** iribarne has joined #angularjs
[21:19:04] <ctanga> jaawerth: we got’er done :)
[21:19:09] <brandon_> the ng-submit seems to hate {{ $index }}
[21:19:12] <Grokling> So what you're saying is that I'm a muppet, and should shift the resolves back out to the state level ?
[21:19:24] <ctanga> Grokling: so if you move your resolve to the state level (retain the named views) and it will work again
[21:19:25] <dhrami> quick question? is there a nice way in ui-router to do component type development. I worte a really nice wizard generator that generates all the html and states for a wizard. Now I realized I need to be able to drop it into various different place in my app. but the generated staes all have names such as 'wizard-x.page-y', is there a way to inject a group of states into my route tree so the the pages would be 'route-z.wizard-x.pag
[21:19:27] *** Una has quit IRC
[21:19:38] *** caitp has joined #angularjs
[21:19:52] *** Rampages has joined #angularjs
[21:19:53] <dhrami> I really don't want to have to generated multiple copies of my wizard for different locations
[21:19:55] <jaawerth> brandon_: where is your ng-repeat? inside the form out outside?
[21:19:57] <ctanga> dhrami: not nicely
[21:19:58] *** Una has joined #angularjs
[21:20:04] <brandon_> outside the form
[21:20:08] *** Beatzebub has joined #angularjs
[21:20:38] *** robksawyer has quit IRC
[21:20:50] <jaawerth> brandon_: can you post a plnkr or if you don't want to get all your code working in a plunk, pastebin or gist your full template in context?
[21:20:51] *** mtsr has joined #angularjs
[21:20:53] *** chizbang has quit IRC
[21:21:16] *** pspfolio has quit IRC
[21:21:19] *** fedenunez has quit IRC
[21:21:32] *** kkthxbye has quit IRC
[21:21:47] <Grokling> Thanks ctanga. It did cross my mind at like 3am to try that instead. I worked around it by injecting a service instead, and returning some promises from there. Possibly works out easier to follow the code with the service method.
[21:22:11] <brandon_> @jaawerth - here's the pastbin: http://pastebin.com/wF8RUtQG
[21:22:33] *** cthrax has joined #angularjs
[21:22:37] *** JBreit has quit IRC
[21:22:49] <dhrami> ctanga, am I looking at the problem the wrong way? or is there really no model for routing code reuse?
[21:22:55] *** JoshGlzBrk has quit IRC
[21:23:16] *** matisoffn has quit IRC
[21:23:21] *** nemothekid has quit IRC
[21:23:32] <ctanga> dhrami: there’s no standard mechanism for reusing state trees
[21:23:37] <brandon_> inside the " <div ng-if="insight.editMode">" you can see the form. The error I get is is syntax / $parse error, specifically with the $index in the ng-submit
[21:23:50] *** jonr22 has joined #angularjs
[21:23:50] <ctanga> dhrami: you can of course loop and copy, like you mentioned
[21:24:00] <dhrami> k.thanks. I am at the point where I know just enough Angular to be dangerous
[21:24:10] *** jillesme has quit IRC
[21:24:21] <ctanga> dhrami: I wrote ui-router-extras sticky states to solve a similar use case
[21:24:33] <ctanga> dhrami: http://christopherthielen.github.io/ui-router-extras/example/stickymodal/#/
[21:24:35] <dhrami> been doing desktop stuff in WPF for 4 years and am just getting back into web
[21:24:50] *** Lingos has quit IRC
[21:25:00] *** jillesme has joined #angularjs
[21:25:16] *** nairys has quit IRC
[21:25:22] *** phpxadmin has quit IRC
[21:25:39] *** mennea has quit IRC
[21:25:57] <dhrami> lol, ctanga. I was looking at that page when trying to solve my problem and it made my head hurt so I stopped. Guess I will go back and try to grok it all
[21:26:18] *** philp_ has quit IRC
[21:26:19] *** mennea has joined #angularjs
[21:26:25] *** phpxadmin has joined #angularjs
[21:26:44] *** RobinBAwesome has joined #angularjs
[21:27:01] *** danecando has quit IRC
[21:27:03] *** JBreit has joined #angularjs
[21:27:40] <jaawerth> brandon_: well there's nothing inherent about using $index like that that would break it http://plnkr.co/edit/UqKDupB3zZm2GoQEC7E5?p=preview
[21:27:53] *** helen_ has joined #angularjs
[21:28:32] *** Beatzebub has quit IRC
[21:28:33] *** plazm has quit IRC
[21:28:34] *** jonr22 has quit IRC
[21:28:38] *** ahtik has quit IRC
[21:28:45] *** mary5030 has quit IRC
[21:29:00] <brandon_> @jaawerth: hmm. maybe the issues is using $index with $valid dynamically
[21:29:05] *** Rampages has quit IRC
[21:29:07] *** mary5030 has joined #angularjs
[21:29:31] *** Rampages has joined #angularjs
[21:29:40] *** nemothekid has joined #angularjs
[21:29:50] *** robksawyer has joined #angularjs
[21:29:56] <snurfery> any ops around? we got new angular versions yo
[21:30:03] <snurfery> 1.2.27 & 1.3.3
[21:30:05] *** Lewix_ has quit IRC
[21:30:08] *** whunt has joined #angularjs
[21:30:15] *** prbc has quit IRC
[21:30:23] *** MuffinMan` has joined #angularjs
[21:30:28] *** jillesme has quit IRC
[21:30:44] *** TheAceOfHearts has joined #angularjs
[21:30:58] *** Shrooms has joined #angularjs
[21:30:59] *** Shrooms has joined #angularjs
[21:31:01] <jaawerth> Foxandxss: was around a little earlier
[21:31:06] <jaawerth> er, no :
[21:31:07] *** JR___ has joined #angularjs
[21:31:23] <jaawerth> I didn't realize there were still 1.2.x iterations
[21:31:25] <Foxandxss> uh oh h
[21:31:30] <Foxandxss> me either
[21:31:35] *** ChanServ sets mode: +o Foxandxss
[21:31:45] <jaawerth> I've already migrated all my active stuff with no ill effects
[21:31:48] *** Foxandxss changes topic to "http://angularjs.org/ | Docs: http://docs.angularjs.org/ | Latest release: 1.2.27 / 1.3.3 | Be respectful! Code Of Conduct: http://goo.gl/m7MHxk | Paste your code here: http://plnkr.co/edit/tpl:FrTqqTNoY8BEfHs9bB0f | #ionic for Ionic questions | The channel is being logged at: http://goo.gl/8Wwttq | Be polite! ☃"
[21:32:05] *** joelwallis has quit IRC
[21:32:06] <jaawerth> there are very few breaking changes that I've run into
[21:32:07] <Foxandxss> jaawerth: I guess that some big issues discovered now are relevant on 1.2.x
[21:32:08] *** mary5030 has quit IRC
[21:32:17] <Foxandxss> yeah, .27 is all bug fixes
[21:32:21] *** IvailoStoianov has quit IRC
[21:32:28] *** iamjmw has joined #angularjs
[21:32:31] *** simplyshipley has quit IRC
[21:32:52] <Grokling> Ah Foxandxss.. While you're operator, the plunker in the channel topic is borked - it now no longer loads angular. Confused the heck out of a few people while you were sleeping!
[21:32:56] <jaawerth> Foxandxss: yeah that's what I'd expect. I mean I haven't really run into any breaking changes moving from 1.2.x to 1.3.x. The ones I did encounter (already forgotten) were easy to find and fix
[21:33:06] <jaawerth> that's a plunkr issue
[21:33:16] <Foxandxss> Grokling: will check in a minute, dinner here :P
[21:33:36] <jaawerth> the default template that loads 1.2.x in plunkr is now broken and doesn't load angular, because the library defaults to 1.3.x instead of 1.2.x. It occurs when yo utry to launch from that predefined template as well
[21:33:43] <Grokling> jaawerth: True, but only an operator can change the link to point to a plunker that actually works..
[21:33:46] *** nairys has joined #angularjs
[21:33:51] <snurfery> yeah I noticed that too
[21:33:52] <jaawerth> yeah
[21:33:57] <snurfery> I had to put in 1.2.25
[21:34:03] <jaawerth> but someone has to go borrow George T. Plunker about it
[21:34:07] <jaawerth> er, bother*
[21:34:21] *** Lingos has joined #angularjs
[21:34:22] <oniijin> u should borrow him instead
[21:34:25] <oniijin> have him write your app
[21:34:29] <Foxandxss> I have some good ones too
[21:34:39] *** a3gis has joined #angularjs
[21:34:40] *** djam90 has joined #angularjs
[21:34:40] *** marcospgp has joined #angularjs
[21:34:46] <Foxandxss> oh, that one is borked indeed
[21:34:57] <Foxandxss> hell borked
[21:35:11] <Grokling> It's had the borking from 'Nam.
[21:35:20] <Foxandxss> if there is any good tell me, or I create a new one
[21:35:27] <marcospgp> Why is it that $http request urls with '/' are relative to the base url (and not index.html), while templateUrl's starting with "/" are relative to index.html?
[21:35:32] *** Una has quit IRC
[21:35:42] *** richiebkr has joined #angularjs
[21:35:50] <jaawerth> if anyone wants it, this is the custom 1.3.1 template I've been using lately. It uses 1.3.x, controllerAs syntax, and I also removed the poor practice var app = angular.module stuff in the default one. I got sick of seeing it every time I stubbed out a plunk
[21:35:52] <jaawerth> http://plnkr.co/edit/tpl:jxl60G0hVTT0K6EqFEnh?p=catalogue
[21:36:07] *** JR___ has quit IRC
[21:36:11] *** marshall has quit IRC
[21:36:30] *** nycdevgirl has quit IRC
[21:36:46] <Foxandxss> nice, bet leek keep it non opinionated for newbies
[21:36:56] *** Shrooms has quit IRC
[21:36:56] *** Snugug has joined #angularjs
[21:37:03] <jaawerth> yeah, I wasn't suggesting that be the default
[21:37:15] *** iamjmw has quit IRC
[21:37:18] *** Shrooms has joined #angularjs
[21:37:24] <jaawerth> THOUGH, the app.module stuff just gives new people bad habits because they end up learning that as the "right" way to do it
[21:37:29] *** night-owl is now known as zz_night-owl
[21:37:40] <Grokling> Actually, just had a thought.. (happens sometimes) What we need to do is curate a collection of useful plunkers. A basic one 'hello world', one that uses ui-router, one that uses named views, one that demonstrates factories etc. No idea how or who though, just seems like reinventing the wheel otherwise.
[21:37:44] <jaawerth> that's what I did anyway, and only realized otherwise once I got into the best practices guide
[21:37:45] <TheAceOfHearts> I think opinionated code is good, it lessens the burden of decision-making for the noobs
[21:37:56] <jaawerth> that's true
[21:37:58] <Foxandxss> yeah, agreed jaawerth
[21:38:08] <Foxandxss> true TheAceOfHearts , but depend o n the opinion
[21:38:14] <Foxandxss> the NON app stuff is awesome
[21:38:32] <jaawerth> also, controllerAs is definitely opinionated code, but it also saves people from primitive on scope issues
[21:38:38] <TheAceOfHearts> best practices are kinda bs too, some people are putting out these best practice guides after using it for one or two small projects
[21:38:43] *** Oxynum has joined #angularjs
[21:38:54] <jaawerth> and part of the problem people do that so often is that a lot of introductory material is rife with it
[21:39:31] *** sajt_ has joined #angularjs
[21:39:49] *** Una has joined #angularjs
[21:40:02] *** vbabiy has quit IRC
[21:40:05] <Foxandxss> http://plnkr.co/edit/tpl:nKLNBdve51sqOoKZAOUS
[21:40:06] *** vbabiy_ has joined #angularjs
[21:40:06] <Foxandxss> thoughts?
[21:40:16] *** startupality has joined #angularjs
[21:40:19] *** sajt has quit IRC
[21:40:19] *** sajt_ is now known as sajt
[21:40:24] <jaydubya> AS a noob, I think opinionated is GREAT until I know enough to form my own opinion
[21:40:32] <TheAceOfHearts> yeah
[21:40:35] <TheAceOfHearts> Foxandxss: lgtm
[21:40:48] <jaawerth> Foxandxss: good compromise. it still bugs me that it's putting a primitive on scope, though
[21:40:58] <marcospgp> Anyone pls? Why is it that $http request urls with '/' are relative to the base url (and not index.html), while templateUrl's starting with "/" are relative to index.html?
[21:41:00] <snurfery> grr why does bower-angular try to force me to 1.3.x
[21:41:01] <Foxandxss> yeah, but controllerAs is an opinion AND a personal preference
[21:41:02] *** josh3336 has joined #angularjs
[21:41:06] *** mclenithan has quit IRC
[21:41:10] <Foxandxss> trying to leave personal preferences aside
[21:41:19] *** nycdevgirl has joined #angularjs
[21:41:23] <jaawerth> wrap it in an object then?
[21:41:40] <Foxandxss> definitely
[21:41:49] <jaawerth> I mean for your template ;-)
[21:41:56] *** sajt has quit IRC
[21:41:57] <Foxandxss> yes yes
[21:42:01] <TheAceOfHearts> eh
[21:42:07] <Grokling> Foxandxss: which is why a collection of plunkers could be useful. Here's the 'no opinion' option, 'opinion A', and 'opinion B'
[21:42:09] <TheAceOfHearts> I have primitives on some scopes
[21:42:18] <Foxandxss> Grokling: topic is small tho ;(
[21:42:21] <TheAceOfHearts> as long as you're not doing anything convoluted it should be fine~
[21:42:21] <jaawerth> I keep my own curated collection of plunkers that I draw from when answering questions
[21:42:27] <Foxandxss> maybe we could create a list of plunkers tho
[21:42:36] <TheAceOfHearts> a plunkr plunkr~
[21:42:43] <jaawerth> one of these days I'll throw up a blog and properly aggregate them + expand upon them
[21:42:56] <Foxandxss> jaawerth: feel short of imagination
[21:43:00] <Foxandxss> how would you name the object?
[21:43:01] *** mary5030 has joined #angularjs
[21:43:09] <Foxandxss> you can be famous now! official plunk!
[21:43:09] <Grokling> Foxandxss: I was thinking of maybe setting up a plunker account for the channel, and linking from the topic to the list of plunkers in that account perhaps?
[21:43:10] <Foxandxss> haha
[21:43:19] <Foxandxss> it is a idea yes
[21:43:29] <jaawerth> Foxandxss: haha, that's why I like controllerAs! It's a more natural way of wrapping things in objects ;-). I'd keep it general, though. $scope.my?
[21:43:36] <jaawerth> $scope.main?
[21:43:37] *** djam90 has quit IRC
[21:44:05] <Foxandxss> no, sounds like a pattern to follow, like people thinking that if the primitive is not inside main, it won't work
[21:44:09] *** RobinBAwesome has quit IRC
[21:44:11] <jaawerth> $scope.foo?
[21:44:18] <jaawerth> $scope.latefordinner?
[21:44:21] <ish> With controllerAs syntax, should I be adding functions to the prototype? Or attaching them to 'this' in my constructor? And doesn't this effectively put them on my scope (which I suppose is fine)?
[21:44:21] <Foxandxss> $scope.foo.bar
[21:44:25] <Foxandxss> that one is good
[21:44:43] *** jdelgado has joined #angularjs
[21:44:47] *** laurensclaessen has quit IRC
[21:44:52] <cthrax> anyone in here found any gotchas using restmod? I've been using Restangular but am considering switching
[21:44:56] <Grokling> There's a heap of good stuff in plunkers.. If you go trawling through jaawerth and robdubya's plunker accounts you can lose an entire week learning new things.
[21:44:59] *** mclenithan has joined #angularjs
[21:45:15] <Foxandxss> http://plnkr.co/edit/tpl:nKLNBdve51sqOoKZAOUS
[21:45:27] <Foxandxss> I have a folder on chrome
[21:45:31] <jaawerth> ish: It's a small difference. your controllers aren't likely to be instantiated a ton, so I would probably not put it on prototype, particularly if it's likely to be a frequently-called function (one going in a template, for example), since you'll get a minimal perf hit due to the prototype lookup chain
[21:45:33] <Foxandxss> with a couple of templates I use
[21:45:40] <Foxandxss> for directive testing
[21:45:41] <Foxandxss> general testing
[21:45:58] *** Lewix has joined #angularjs
[21:46:03] <jaawerth> ish: it IS effectively putting it on scope, but as a property of your controller object - the net effect is still that your scopes are going to be MUCH cleaner
[21:46:11] *** evotuned_ has quit IRC
[21:46:12] *** areologistica has joined #angularjs
[21:46:38] <jaawerth> Grokling: haha mine is also full of one-off random crap that I wrote for people in here for a specific purpose. I always tell myself I'll go back and delete those..
[21:46:39] *** baweaver has quit IRC
[21:46:43] *** boffo has quit IRC
[21:46:47] *** rosieres has quit IRC
[21:46:54] *** cebor has quit IRC
[21:46:58] <jaydubya> nickeddy: thoughts on gulp-load-plugins?
[21:47:02] *** Sebastien-L has joined #angularjs
[21:47:07] *** baweaver has joined #angularjs
[21:47:16] <Foxandxss> I like it jaawerth
[21:47:17] <Foxandxss> errr
[21:47:18] <cthrax> jaydubya, you weren't asking me, but I like it, keeps me free of a ton of vars
[21:47:22] <Foxandxss> jaydubya:
[21:47:23] <Foxandxss> jaydubya: change your name already!
[21:47:25] *** baweaver has quit IRC
[21:47:26] *** jdelgado has quit IRC
[21:47:35] <Grokling> jaawerth: Yeah, I'd noticed ;-) Hence my proposal for a curated collection of well commented and labeled plunkers.
[21:47:37] <nickeddy> jaydubya: is that the thing that loads all of your gulp dependencies under the local node_modules?
[21:47:39] *** cebor has joined #angularjs
[21:47:45] <areologistica> random cultural question: why is angular so popular in Utah and among Mormons?
[21:47:49] *** Foxandxss changes topic to "http://angularjs.org/ | Docs: http://docs.angularjs.org/ | Latest release: 1.2.27 / 1.3.3 | Be respectful! Code Of Conduct: http://goo.gl/m7MHxk | Paste your code here: http://plnkr.co/edit/tpl:nKLNBdve51sqOoKZAOUS | #ionic for Ionic questions | The channel is being logged at: http://goo.gl/8Wwttq | Be polite! ☃"
[21:47:58] <TheAceOfHearts> *cough*
[21:48:10] *** simiographics has quit IRC
[21:48:13] *** mennea has quit IRC
[21:48:17] <ish> jaawerth: Thanks. So style wise, it may not be best to put it on the prototype (and as far as I can tell, I don't need them there anyways).
[21:48:34] *** macobo has quit IRC
[21:48:35] *** jotbe has joined #angularjs
[21:48:35] <Grokling> areologistica: Because the Amish don't use computers all that much?
[21:48:38] <jaawerth> ish: I'd say don't bother unless you have a particular reason to do so
[21:48:43] *** areologist has quit IRC
[21:48:43] *** PrinceAMD has quit IRC
[21:48:45] <nickeddy> jaydubya: i don't see anything wrong with it really but i like to be explicit on my requires
[21:48:53] <marcospgp> angular $http url starting with "/" is treated as absolute while no "/" is treated as relative. wtf?
[21:49:03] <areologistica> for example, I see sample code that references book of Mormon (ngGrid, as one example off the top of my head), many angular ppl I follow on twitter post mormon stuff, and by far the most Google searches for AngularJS come from Utah.
[21:49:15] <TheAceOfHearts> marcospgp: that's expected behavior
[21:49:16] <cthrax> marcospgp, isn't that the web?
[21:49:23] *** \du has joined #angularjs
[21:49:24] *** \du has joined #angularjs
[21:49:31] <jaawerth> ish: you might see more benefit if it's a controller for, say, a directive that's going to see a lot of repeated use
[21:49:31] <nickeddy> ^
[21:49:35] <TheAceOfHearts> that's exactly how I'd expect it to work
[21:49:35] <marcospgp> I was expecting the contrary? hm
[21:49:37] <jaydubya> nickeddy: as usual, both sides have good points ... explicit means it makes sense in 3 months but lazy is ALWAYS good
[21:49:41] <cthrax> marcospgp, or filesystem 101
[21:49:58] <nickeddy> jaydubya: then again i don't have like 90 requires so who knows
[21:50:05] <marcospgp> anyway then why is it that templateUrl starting with '/' is relative while no '/' is absolute?
[21:50:13] <jaawerth> ish: since in that case, it's going to be instantiated a lot
[21:50:27] <TheAceOfHearts> marcospgp: it's not...
[21:50:38] <TheAceOfHearts> template starting with / is absolute, without leading slash it's relative
[21:50:56] <cthrax> ^^^
[21:50:56] *** seanmacd2nald has quit IRC
[21:50:57] <areologistica> I feel like there's some history or connection to Utah that I'm not aware of, that's why I ask. Curiosity.
[21:51:06] *** Aliks has joined #angularjs
[21:51:14] <TheAceOfHearts> I saw a blog post last night
[21:51:14] <cthrax> areologistica, sounds antecodotal to me
[21:51:16] <Foxandxss> areologistica: we are not interested
[21:51:27] <TheAceOfHearts> the guy wrote some stuff I agree with :u
[21:51:36] <TheAceOfHearts> I don't think angular is well suited for really large projects
[21:51:44] <marcospgp> well weirdly when deployed the dash was making chrome send a request to domain.com/devindexfolder/file.html and removing it made the request become domain.com/file.html
[21:52:04] <cthrax> TheAceOfHearts, you could make the argument that any scripted language is not suited to really large projects
[21:52:37] <marcospgp> I think they messed up the part where '/' is relative to the index.html or the base domain
[21:52:50] <nickeddy> they didn't marcospgp, you're just not understanding it
[21:52:56] *** dreadpiratepeter has joined #angularjs
[21:53:14] <jaawerth> Foxandxss: hahaha actually I am now morbidly curious about this theoretical Angular/Mormonism connection. Here I always thought it had more ties with Dudeism
[21:53:17] <areologistica> some of what I said is anecdotal, which doens't mean it's wrong. Anecdotal observations can form a valid basis for further inquiry.
[21:53:33] *** e0ipso is now known as e0ipso|away
[21:53:34] <marcospgp> Weell, for $http I had to use a dash to make it relative to the domain, while for templateUrl I had to remove it
[21:53:42] <nickeddy> dash? or slash?
[21:53:45] <areologistica> But the Google thing is not anecdotal, it's data. The metro area with the most interest in Angular is Salt Lake City UT.
[21:53:46] <nickeddy> dash !== slash
[21:54:00] <marcospgp> If this was reversed, they both would make a request to domain.com/indexfolder/something
[21:54:00] <nickeddy> areologistica: because ng-conf is there next year
[21:54:04] <areologistica> The state with the most interest (in terms of Google searches) in angular is Utah.
[21:54:15] <marcospgp> ofc slash is a much better guitarist
[21:54:16] <jaawerth> areologistica: what nickeddy said. Also, Salt Lake City is IIRC sort of a burgeoning tech hub
[21:54:23] *** jotbe has quit IRC
[21:54:34] <areologistica> TheThe trend starts pretty abruptly at the beginning of 2013
[21:54:34] *** Una has quit IRC
[21:54:37] <marcospgp> aha but this -> '/'
[21:54:39] <marcospgp> slash
[21:54:43] <marcospgp> saul hudson
[21:54:51] <cthrax> jaawerth, I don't understand how that could be, tech without coffee???
[21:54:58] *** sirkitree is now known as sirkitree|afk
[21:55:00] <nickeddy> lol
[21:55:02] <jaawerth> or alcohol!
[21:55:05] <jaawerth> madness!
[21:55:07] *** dhrami has quit IRC
[21:55:12] <nickeddy> oh they have plenty of madness
[21:55:12] <cthrax> impossible!
[21:55:22] <areologistica> Okay, SLC as burgeoning tech hub and ng-conf. Interesting. Thanks.
[21:55:29] <nickeddy> http://xkcd.com/323/
[21:55:42] <TheAceOfHearts> Utah isn't that great, it's too cold
[21:55:44] <TheAceOfHearts> Cali weather ftw
[21:55:50] <cthrax> beware the balmer's peak
[21:55:58] *** jheady has joined #angularjs
[21:56:05] <cthrax> TheAceOfHearts, yeah, but then you have to put up with CA people
[21:56:06] *** sirkitree|afk is now known as sirkitree
[21:56:08] *** mivv has quit IRC
[21:56:08] *** Una has joined #angularjs
[21:56:12] <areologistica> But the conf. being there wouldn't necessarily generate more searches from there, just about there.
[21:56:12] *** josh-k has joined #angularjs
[21:56:19] *** mennea has joined #angularjs
[21:56:33] <areologistica> I think burgeoning tech hub may explain, but it's quite a bit above even silicon valley in Angular searches.
[21:56:54] *** Oxynum has quit IRC
[21:56:57] <areologistica> Is Pluralsight based in Utah?
[21:56:57] *** vonnegut has quit IRC
[21:57:00] <nickeddy> i still don't see why you're trying to make a point about utah/mormonism and angular
[21:57:06] <nickeddy> not everyone in utah is mormon
[21:57:30] *** cilkay has joined #angularjs
[21:57:33] <areologistica> I'm not making a point, I'm wondering about a trend. You seem very quick to read intent into everything.
[21:57:40] *** Sebastien-L has quit IRC
[21:57:41] *** loverajoel has quit IRC
[21:57:43] *** Una has quit IRC
[21:57:48] <cthrax> nickeddy, oh sure, next you're going to tell me not everyone in Texas owns a gun
[21:58:07] <TheAceOfHearts> I want bear arms
[21:58:13] *** DLSteve has joined #angularjs
[21:58:16] *** jonnybro has joined #angularjs
[21:58:19] <nickeddy> TheAceOfHearts: bear arms are your right after all
[21:58:26] *** doug64k has joined #angularjs
[21:58:27] <TheAceOfHearts> 'muricah
[21:58:52] *** mclenithan has quit IRC
[21:59:42] <nickeddy> areologistica: just pointing out some incorrect assumptions is all
[21:59:44] *** bundledavid has joined #angularjs
[21:59:58] <areologistica> which incorrect assumption is that?
[22:00:05] <Grokling> Aw.. Don't spoil it.. I thought everyone in texas lives on a ranch, drives a truck and every truck has a gun-rack in the back window.
[22:00:07] *** baweaver has joined #angularjs
[22:00:18] <nickeddy> just because you're in Utah doesn't mean you're fucking mormon
[22:00:19] <nickeddy> lol
[22:00:22] <areologistica> You're incorrectly assuming that I've made that assumption
[22:00:25] <TheAceOfHearts> shit, a gun-rack would be pretty sweet
[22:00:26] <areologistica> Ironically
[22:00:32] <TheAceOfHearts> stop
[22:00:33] <TheAceOfHearts> stop
[22:00:33] *** adpirz has joined #angularjs
[22:00:36] <nickeddy> holy fuck kill yourself
[22:00:36] *** aks has quit IRC
[22:00:39] *** tomengland_mbp has joined #angularjs
[22:00:40] <nickeddy> new ignore
[22:00:41] <jaydubya> Grokling: you forgot cowboy boots, stetsons and "overalls"
[22:00:44] <TheAceOfHearts> you're arguing about nothing, guys
[22:00:48] <TheAceOfHearts> just be happy :D
[22:00:52] *** MaxV has quit IRC
[22:00:55] *** jonathanpglick has quit IRC
[22:01:13] <cthrax> TheAceOfHearts, https://www.youtube.com/watch?v=mXuCgD4cbHs
[22:01:23] <TheAceOfHearts> nickeddy: probably not a great thing to tell someone to kill themselves :p
[22:01:32] *** phpxadmin has quit IRC
[22:01:35] *** alinouman has quit IRC
[22:01:40] <Foxandxss> no is not
[22:01:46] <Foxandxss> don't do that again
[22:01:52] *** nickeddy has left #angularjs
[22:02:21] * Grokling puts down his popcorn and starts to think about angular again.
[22:02:45] *** jimvideo has joined #angularjs
[22:02:49] *** jonathanpglick has joined #angularjs
[22:03:08] *** doginal has quit IRC
[22:03:11] *** jonnybro has quit IRC
[22:03:28] *** cheef has joined #angularjs
[22:03:35] *** joelwallis has joined #angularjs
[22:04:06] *** jonnybro has joined #angularjs
[22:04:13] *** Una has joined #angularjs
[22:04:20] <Foxandxss> yes
[22:04:23] *** jheady has left #angularjs
[22:04:24] <Foxandxss> Offtopic is done
[22:04:32] *** bundledavid has quit IRC
[22:04:37] <TheAceOfHearts> so, how about them bear arms, eh?
[22:04:52] *** adpirz has quit IRC
[22:04:58] <Foxandxss> doone
[22:05:00] <davek> No freedom without .50 BMG.
[22:05:02] *** tomengland_mbp has quit IRC
[22:05:03] <TheAceOfHearts> http://images.brandretailers.com/thrivesnowboards/assets/users/66513/files/images/Bear%20Arms.png @Foxandxss
[22:05:25] <cthrax> So how about angular-restmod vs restangular, any real world experience worth sharing?
[22:05:31] *** laurensclaessen has joined #angularjs
[22:05:33] <davek> Yes, angular-restmod is awful.
[22:05:37] <davek> Great attempt, awful execution.
[22:05:39] *** matisoffn has joined #angularjs
[22:05:57] <cthrax> davek, what made it so?
[22:06:01] <cthrax> boilerplate to create the models?
[22:06:02] *** jonnybro has quit IRC
[22:06:10] <cthrax> difficult to debug?
[22:06:15] <cthrax> details!
[22:06:25] *** jonnybro has joined #angularjs
[22:06:27] *** jotbe has joined #angularjs
[22:06:32] *** whitebook has joined #angularjs
[22:06:55] <TheAceOfHearts> http://semantic-ui.com/ did you guys see this? pretty coool
[22:07:04] <Foxandxss> areologistica: warned you last time with your crap articles and 2.0 FUD, won't warn again
[22:07:06] <davek> It uses so many anti-patterns and poor design decisions. The guy misuses promises at every turn and refuses to integrate them correctly. I submitted a ticket and his response was "well this is familiar to people" and that I should fork it if I wanted to fix it.
[22:07:37] <areologistica> Crap articles? Warned for what exactly? I don't appreciate this.
[22:07:48] *** Schtive has quit IRC
[22:07:58] <TheAceOfHearts> drama~
[22:08:00] <areologistica> I recall one article that was a mixed bag, pretty subjective though. I don't think you're being fair.
[22:08:04] *** dnewkerk has joined #angularjs
[22:08:07] *** mlpug has quit IRC
[22:08:10] *** simiographics has joined #angularjs
[22:08:12] <Foxandxss> areologistica: yes, trying to bring bad discussions on board
[22:08:17] <Foxandxss> and then all this mormon crap
[22:08:23] <cthrax> davek, fair enough, thanks for the feedback!
[22:08:27] *** phuh has quit IRC
[22:08:36] *** [boxmein] is now known as boxmein
[22:08:36] *** punch has quit IRC
[22:08:47] *** AlexZanf has quit IRC
[22:08:54] *** phuh has joined #angularjs
[22:08:57] *** D-Boy has quit IRC
[22:09:04] *** D-Boy has joined #angularjs
[22:09:04] *** storresi has quit IRC
[22:09:07] *** mkc has quit IRC
[22:09:11] *** AlexZanf has joined #angularjs
[22:09:38] *** mtsr has quit IRC
[22:10:05] <cthrax> TheAceOfHearts, <div class="ui stackable center aligned very relaxed page grid"> looks more readable than some css, but I'd never remember all that
[22:10:06] <cheef> evening guys, im working with ui-router, and ui-router-extras (future states). in the config phase im creating some dynamic states (use the same controller), but i want inject some differences, things like an id, or some config. Whats a nice way to do that?
[22:10:11] <areologistica> Not at all. An article about Angular was trending on Hacker News. It brought up some valid issues that, as I pointed out, are partially addressed in 1.3. The claim that I'm *trying* to bring bad discussions to the board is way off.
[22:10:52] <TheAceOfHearts> cthrax: nor would I lol
[22:10:55] <areologistica> yes, some discussions that I've participated in have gone south, but I do not take the blame. Some of the reactions have been absurd, including yours, imo.
[22:10:56] <Foxandxss> alright, I'll keep an eye
[22:11:05] <TheAceOfHearts> mutiny~
[22:11:06] <davek> ngActiveRecord gets much much closer in my opinion but again the guy running the project seems to be clueless about what people want out of the project (like 20+ heavy and unnecessary dependencies?)
[22:11:10] <davek> @cthrax
[22:11:13] <TheAceOfHearts> areologistica: enhance your calm~
[22:11:34] *** agocorona has quit IRC
[22:11:35] <Foxandxss> areologistica: tbh I received some "notifications" about your bad behavior here
[22:11:40] <Foxandxss> I was just pointing it out
[22:11:48] <areologistica> Ace: your interpretation of my level of calm is not consistent my actual emotional state. And why are you telling me how to feel anyway?
[22:11:49] *** marcospgp has quit IRC
[22:12:03] <TheAceOfHearts> jesus
[22:12:03] *** tellijo has joined #angularjs
[22:12:08] *** mkc has joined #angularjs
[22:12:15] <davek> Defense++
[22:12:16] <UniBot> Defense Karma: 1
[22:12:19] <davek> No.
[22:12:21] <davek> God dammit.
[22:12:22] <TheAceOfHearts> lmao
[22:12:23] *** tplaner has joined #angularjs
[22:12:29] <TheAceOfHearts> davek++
[22:12:30] <UniBot> davek Karma: 4
[22:12:35] <TheAceOfHearts> leveling up~
[22:12:45] *** focii has quit IRC
[22:12:52] <cthrax> davek, interesting, I'll give that a look. He also seems a little short on documentation
[22:12:56] <davek> 1996 more points until I get the cool Angular eraser.
[22:13:04] *** focii has joined #angularjs
[22:13:11] <davek> cthrax, don't look at it, its a disappointment but its what I want to see out of 2.0
[22:13:12] *** phpxadmin has joined #angularjs
[22:13:21] <davek> Or what I would make if I had the time or inclination.
[22:13:27] *** mclenithan has joined #angularjs
[22:13:30] *** dejanr has quit IRC
[22:13:35] <cthrax> haha
[22:13:49] *** focii has quit IRC
[22:14:02] *** AlexZan has joined #angularjs
[22:14:13] <davek> Transport-agnostic, OOP-based models with built-in validation, form generation, etc? Fuck yes.
[22:14:20] <davek> All about that jam.
[22:14:22] *** josh-k_ has joined #angularjs
[22:14:25] *** dnakov has quit IRC
[22:14:30] *** dejanr has joined #angularjs
[22:14:35] *** ehalas has quit IRC
[22:14:36] <davek> Also, association-aware.
[22:14:42] *** joshontheweb has joined #angularjs
[22:14:57] <cthrax> yeah, that sounds pretty nice
[22:15:11] <cthrax> though I have yet to have a validation/form-generation paradigm that just worked
[22:15:11] *** punch has joined #angularjs
[22:15:15] *** baweaver has quit IRC
[22:15:16] <areologistica> Foxxandxss, as I'm confident that there are no concrete instances of unambiguous bad behavior on my part I might suggest that someone has abused the notifications system and/or been unintentionally rubbed the wrong way by my posts.
[22:15:21] *** one0one has joined #angularjs
[22:15:24] *** seanmacd3nald has joined #angularjs
[22:15:35] *** baweaver has joined #angularjs
[22:15:42] *** AlexZanf has quit IRC
[22:16:06] *** caitp has quit IRC
[22:16:10] <TweedleDee> is there any easy way to make all fields on a <form> $pristine again?
[22:16:11] *** punch has quit IRC
[22:16:23] <davek> areologistica, is this how you would react if there were an HR issue at work?
[22:16:32] <cheef> $setPristine
[22:16:53] <Foxandxss> areologistica: that is why I did nothing, but you have to admit that the mormon crap is not helpful at all
[22:17:00] <Grokling> areologistica: I think Foxandxss is just letting you know that you're on his radar for whatever reason. Just keep your head down for a while, and it'll pass..
[22:17:00] <areologistica> I am here primarily to learn about AngularJS, and help others when I can, and secondarily to interact cordially but logically with fellow angular enthusiasts.
[22:17:10] *** jaydubya has quit IRC
[22:17:12] <TweedleDee> ... thanks cheef
[22:17:15] <TweedleDee> lmao
[22:17:17] *** dnakov has joined #angularjs
[22:17:32] <cheef> :D
[22:17:45] <jaawerth> TweedleDee: check out $setPristine https://docs.angularjs.org/api/ng/type/form.FormController
[22:17:50] *** josh-k has quit IRC
[22:17:52] <Foxandxss> Grokling: nah, I am not paying attention lately
[22:17:53] *** snapwich has quit IRC
[22:18:10] <Foxandxss> and it becomes annoying when you get notifications and damn, what I know
[22:18:16] *** Efrem has quit IRC
[22:18:18] <TweedleDee> yeah worked like a charm, for some reason since you never ng-model or anything I didn't think my form name would be in scope, but since its actually a directive, it was...
[22:18:58] *** VinceZa has quit IRC
[22:18:58] *** dnakov has quit IRC
[22:19:12] *** jotbe has quit IRC
[22:19:13] <cheef> as long as you give your form a name it will be
[22:19:32] *** bkuberek_ has joined #angularjs
[22:19:40] *** dnakov has joined #angularjs
[22:19:55] <areologistica> The Utah (secondarily, and by association, Mormonism) question is just a passing matter of curiosity. Not sure why it's taboo. Apologies if it offended anyone.
[22:20:16] <Foxandxss> it is _not_ tabu
[22:20:23] <Foxandxss> but for an offtopic, it is a little bit wierd
[22:20:24] *** moritzschaefer has quit IRC
[22:20:41] *** prbc has joined #angularjs
[22:21:08] *** nickeddy has joined #angularjs
[22:21:25] <areologistica> When I asked I thought it would have some simple answer that everyone knew except me: like, Google has some big Angular office in Utah.
[22:21:29] <areologistica> So, sorry I asked.
[22:21:30] *** Snugug has quit IRC
[22:21:47] *** caitp has joined #angularjs
[22:22:13] <cheef> Foxandxss: what are my options for injecting some config data into a controller in a config phase?
[22:22:14] *** conan_the_destro has joined #angularjs
[22:22:40] <nickeddy> cheef: angular.value or .constant
[22:22:50] *** tfennelly has joined #angularjs
[22:22:50] *** tfennell_ has quit IRC
[22:22:52] *** bkuberek has quit IRC
[22:23:05] *** rileylark has joined #angularjs
[22:23:16] *** snapwich has joined #angularjs
[22:23:19] *** jonnybro has quit IRC
[22:23:20] <cheef> nickeddy: that would be OK for once instance of the controller, i have many instances of the same controller
[22:23:27] *** davek has quit IRC
[22:23:32] <cheef> but I want to paramterise them with a few bits and peices
[22:23:41] *** rileylar_ has quit IRC
[22:23:48] *** punch has joined #angularjs
[22:23:57] <TweedleDee> also if you are using the "controller as ctrl" syntax it doesn't appear that if you have a form named "myForm" that from within your controller you can use that $setPristine() function unless you inject $scope and do $scope.myForm.$setPristine() because I tried ctrl.myForm.$setPristine(); and it didn't work
[22:24:07] <Foxandxss> wait wait wait
[22:24:12] <nickeddy> cheef: if you use ui-router, perhaps a resolve on the state for that controlle
[22:24:14] *** RobinBAwesome has joined #angularjs
[22:24:15] <nickeddy> r
[22:24:16] *** kuadrosx has joined #angularjs
[22:24:19] <Foxandxss> you can't do that in "config" pthase
[22:24:32] *** doginal has joined #angularjs
[22:24:33] *** ron1 has quit IRC
[22:24:38] <jaawerth> TweedleDee: probably, since I believe the form directives will by default act upon scope. I haven't played with it though
[22:24:41] <ish> I'm changing my view by doing window.location("#/otherView"), and while it switches to the other view fine, the scroll stays the same (if at first I'm scrolled to the bottom of a page, the new view is scrolled to the bottom). Is that normal?
[22:25:03] *** bkuberek_ has quit IRC
[22:25:12] <cheef> Foxandxss:sorry, for clarification im using future states
[22:25:22] <cheef> as part of the config phase im fetching a json schema
[22:25:35] <nickeddy> cheef: in that case resolve is perfect
[22:25:36] <cheef> schema gets turned into a series of forms
[22:25:51] *** mennea has quit IRC
[22:26:02] *** jonnybro has joined #angularjs
[22:26:15] *** joshskidmore has quit IRC
[22:26:17] *** ColKurtz has quit IRC
[22:26:17] *** merobertsjr has quit IRC
[22:26:20] *** sajt has joined #angularjs
[22:26:24] *** mennea has joined #angularjs
[22:26:26] *** caitp has quit IRC
[22:26:31] <cheef> but ive templated the controller, so there were some properties on the view model I wanted to paramterise
[22:26:46] <cheef> I guess I could use state params?
[22:26:59] *** joshskidmore has joined #angularjs
[22:27:09] <jaawerth> cheef: or resolves - that's kind of what they're for
[22:27:40] <cheef> ye im using reslves for the original schema. brb dogs trying to play with mr!
[22:27:41] <cheef> me*
[22:28:10] *** Joe_knock has left #angularjs
[22:28:18] *** joshskidmore has quit IRC
[22:28:22] <cheef> wont leave me alone :D
[22:28:29] *** joshskidmore has joined #angularjs
[22:28:40] *** whitebook has quit IRC
[22:28:44] *** rileylark has quit IRC
[22:28:45] *** zbzzn has quit IRC
[22:28:55] *** jonnybro1 has joined #angularjs
[22:29:02] *** rileylark has joined #angularjs
[22:29:18] *** helen_ has quit IRC
[22:29:36] *** jonnybro has quit IRC
[22:29:43] *** soee has quit IRC
[22:29:45] *** Sontakey has joined #angularjs
[22:30:01] *** merobertsjr has joined #angularjs
[22:30:17] <cheef> so when im registering the future states i can just use resolve on tha tha?
[22:32:04] *** whunt has quit IRC
[22:32:07] *** soee has joined #angularjs
[22:32:27] *** kwaledesign has quit IRC
[22:32:45] *** say2joe has joined #angularjs
[22:33:07] *** StvnW has joined #angularjs
[22:33:09] *** wallerdev has joined #angularjs
[22:33:12] *** jotbe has joined #angularjs
[22:33:12] *** ron1 has joined #angularjs
[22:33:31] *** jewelsjacobs has joined #angularjs
[22:33:57] *** jonnybro1 has quit IRC
[22:34:06] *** AlexZanf has joined #angularjs
[22:34:20] *** Lingos has quit IRC
[22:34:44] *** dberry37388 has joined #angularjs
[22:35:05] *** StvnW has left #angularjs
[22:35:06] *** kotyy has joined #angularjs
[22:36:14] *** mcastro has quit IRC
[22:36:28] *** laravelnewbie has joined #angularjs
[22:36:34] <laravelnewbie> Hi Guys
[22:36:34] <laravelnewbie> how to create select list without first empyt line in angularjs?
[22:36:51] *** davek_ has joined #angularjs
[22:36:52] *** davek_ has joined #angularjs
[22:37:08] *** conan_the_destro has quit IRC
[22:37:24] *** AlexZan has quit IRC
[22:37:32] *** cboden has quit IRC
[22:37:52] *** conan_the_destro has joined #angularjs
[22:40:04] *** johnnyfive has quit IRC
[22:40:05] *** bkuberek has joined #angularjs
[22:40:15] *** jewelsjacobs has quit IRC
[22:40:17] <Grokling> laravelnewbie: You'll get the empty line if your ng-model doesn't match up with one of the select options. Make it match, then the empty line goes away.
[22:41:23] *** tech2 has joined #angularjs
[22:41:29] <Grokling> laravelnewbie: http://plnkr.co/edit/o9kiI1lydYCFcz6zgGgj?p=preview Select one of the options, then drop down the list again, and notice that the empty line has gone.
[22:41:30] *** Sna4x8 has quit IRC
[22:41:32] *** omolin4 has quit IRC
[22:41:36] *** bkuberek has quit IRC
[22:41:38] *** bkuberek_ has joined #angularjs
[22:41:48] <laravelnewbie> ok, I need try this
[22:41:52] *** tplaner has quit IRC
[22:42:03] *** johnnyfive has joined #angularjs
[22:42:15] *** htmelvis has quit IRC
[22:42:30] *** arpu has quit IRC
[22:42:35] *** joshontheweb has quit IRC
[22:42:36] *** Mackseraner has joined #angularjs
[22:42:44] *** bkuberek_ has quit IRC
[22:42:45] *** Snugug has joined #angularjs
[22:42:45] *** Sna4x8 has joined #angularjs
[22:43:01] *** Evanion has quit IRC
[22:43:02] *** Prjio has joined #angularjs
[22:43:05] <Grokling> laravelnewbie: Then, in the app.js, change it to be $scope.thing = {answer:2}; and have a look at that dropdown again.
[22:43:11] *** bkuberek has joined #angularjs
[22:43:21] <laravelnewbie> ok
[22:43:27] *** prbc has quit IRC
[22:43:57] *** whunt has joined #angularjs
[22:44:10] *** kwaledesign has joined #angularjs
[22:44:12] *** AlexZan has joined #angularjs
[22:44:24] <laravelnewbie> I have something like this
[22:44:25] <laravelnewbie> <select ng-change="leavesCountUpdate([[quote[0].sections.indexOf(section)]]);updateFlatXCount([[quote[0].sections.indexOf(section)]]); updateFlatYCount([[quote[0].sections.indexOf(section)]]); updateFlatSizeLength([[quote[0].sections.indexOf(section)]]); updateFlatSizeWidth([[quote[0].sections.indexOf(section)]]);" name="leavesType" ng-model="secti
[22:44:25] <laravelnewbie> on.leavesType" id="leavesType" class="form-control selectpicker" data-live-search="true">
[22:44:25] <laravelnewbie> <option ng-repeat="val in lookup[[quote[0].sections.indexOf(section)]].leavesTypes" value="[[ val.key ]]">[[ val.value ]]</option>
[22:44:25] <laravelnewbie> </select>
[22:44:27] *** bkuberek has quit IRC
[22:44:28] *** seanmacd3nald has quit IRC
[22:44:36] *** bkuberek_ has joined #angularjs
[22:45:12] *** bahoo has joined #angularjs
[22:45:19] *** baweaver has quit IRC
[22:45:23] *** cotko has joined #angularjs
[22:45:32] <Grokling> laravelnewbie: Do your code pasting somewhere other than in the channel.. plunker is good - feel free to fork one that is close to what you need.
[22:45:55] <laravelnewbie> ok
[22:45:57] *** mmealling has quit IRC
[22:46:15] <davek_> Don't know what you mean, that's perfectly legible.
[22:46:23] *** AlexZanf has quit IRC
[22:46:28] *** cswelin has quit IRC
[22:46:38] <Grokling> Also, that's a whole lot of logic to have in the view..
[22:46:55] <laravelnewbie> http://codetidy.com/5785/
[22:47:04] <Grokling> davek_: All the linebreaks and indentations come across so well huh ;-)
[22:47:05] <laravelnewbie> problem is with (key, val)
[22:47:15] *** c00ljs has quit IRC
[22:47:24] <laravelnewbie> I need in value input show 0,1,2
[22:47:28] *** caitp has joined #angularjs
[22:47:34] <laravelnewbie> I don't need there id
[22:48:13] <moogey> Does anybody have a pattern when using tabs to lazy load content as they're selected?
[22:48:14] <Grokling> laravelnewbie: Is there any particular reason you're not using ng-options?
[22:48:26] <laravelnewbie> no
[22:48:26] <s3shs> moogey, sure.
[22:48:33] *** c00ljs has joined #angularjs
[22:48:38] <laravelnewbie> no
[22:48:45] <laravelnewbie> Grokling no
[22:48:46] *** mary5030 has quit IRC
[22:48:53] <s3shs> moogey, just use ng-if with ng-include for each tab.
[22:48:54] *** jotbe has quit IRC
[22:48:55] <Grokling> laravelnewbie: Have a good look at that plunker again - it might just simplify things for you.
[22:49:18] *** mary5030 has joined #angularjs
[22:49:42] <bahoo> I might be trying to do something silly
[22:49:54] <bahoo> I’ve got these JS files I’d like to load in with something possibly like ngResource
[22:49:57] <laravelnewbie> :(
[22:49:57] *** jonnybro has joined #angularjs
[22:49:59] <bahoo> they look like this: http://pastebin.com/n1aQ3MS9
[22:49:59] <laravelnewbie> thx
[22:50:05] *** a3gis has quit IRC
[22:50:17] *** shepheb_ has joined #angularjs
[22:50:18] *** say2joe has quit IRC
[22:50:20] <moogey> s3shs: I was about to say something about destroying scope, but i'm not sure if what I'm doing right now isn't already doing that
[22:50:21] <bahoo> would love to be able to do something like:
[22:50:26] <moogey> thanks s3shs
[22:50:41] <bahoo> var foo = Resource.get();, then be able to use foo.myfunc();
[22:50:44] <s3shs> ng-if creates a new scope. ng-show does not.
[22:51:03] *** shepheb has quit IRC
[22:51:30] *** getn_outchea has quit IRC
[22:51:30] *** wjw has quit IRC
[22:51:33] *** dreadpiratepeter has quit IRC
[22:51:41] <Grokling> moogey: Another option is to look at nested states - make the content of your tab a child state, and use the tab handles to load the child state.
[22:51:54] *** j0z has joined #angularjs
[22:51:58] *** dreadpiratepeter has joined #angularjs
[22:52:09] *** Siecje has left #angularjs
[22:52:19] *** say2joe has joined #angularjs
[22:52:30] <bahoo> but in Chrome, i get a Uncaught SyntaxError: Unexpected token (
[22:52:34] *** JoshGlzBrk has joined #angularjs
[22:52:46] *** baweaver has joined #angularjs
[22:52:47] *** caitp has quit IRC
[22:53:03] <moogey> Grokling: I have my tabs registering themselves with a parent url, so I think that's the way to go
[22:53:28] *** c00ljs has quit IRC
[22:53:30] *** jonnybro has quit IRC
[22:53:33] *** sinequanon has quit IRC
[22:53:34] *** mary5030 has quit IRC
[22:53:48] *** darrin has quit IRC
[22:54:21] *** dannyid has quit IRC
[22:54:46] *** snurfery_ has joined #angularjs
[22:54:48] *** cthrax has quit IRC
[22:55:07] *** laurensclaessen has quit IRC
[22:55:08] *** shaym has joined #angularjs
[22:55:14] *** shaym has left #angularjs
[22:55:38] *** BillCriswell has quit IRC
[22:55:49] *** mennea has quit IRC
[22:56:05] *** getn_outchea has joined #angularjs
[22:56:24] *** mennea has joined #angularjs
[22:57:11] <laravelnewbie> noo co jest kurwa
[22:57:11] *** rileylark has quit IRC
[22:57:16] <laravelnewbie> moglby kto pomoc
[22:57:17] <laravelnewbie> ?
[22:57:22] *** davek_ has quit IRC
[22:57:24] *** rileylark has joined #angularjs
[22:57:28] *** Oxynum has joined #angularjs
[22:57:33] *** mennea has quit IRC
[22:58:22] *** snurfery has quit IRC
[22:58:23] *** snurfery_ is now known as snurfery
[22:58:35] *** phpxadmin has quit IRC
[22:58:37] *** tech2 has quit IRC
[22:58:49] *** melter_ has quit IRC
[22:59:09] *** dc_ has quit IRC
[22:59:24] *** mennea has joined #angularjs
[22:59:48] *** baweaver has quit IRC
[22:59:53] *** laravelnewbie has quit IRC
[22:59:54] <Grokling> laravelnewbie: A pimp?
[23:00:05] <s3shs> heh
[23:00:05] *** cheef has quit IRC
[23:00:37] *** gurke_ has quit IRC
[23:00:45] *** spatialbrew has quit IRC
[23:01:11] <Grokling> Google translate thinks that was polish.. I'm not so sure based on it's translation :-D
[23:01:12] *** cthrax has joined #angularjs
[23:01:19] *** baweaver has joined #angularjs
[23:01:24] *** jas- has quit IRC
[23:01:25] *** rahulprasad has quit IRC
[23:01:27] *** laurensclaessen has joined #angularjs
[23:02:53] *** areologistica has quit IRC
[23:03:04] *** iribarne has quit IRC
[23:03:26] *** iamjmw has joined #angularjs
[23:03:30] *** jpstone has quit IRC
[23:03:33] *** boxmein is now known as [boxmein]
[23:03:39] *** faddah has joined #angularjs
[23:03:52] *** cthrax_ has joined #angularjs
[23:03:58] <moogey> yeah I'm lost now
[23:04:03] *** FIFOd[a] has quit IRC
[23:05:05] *** opiates has joined #angularjs
[23:05:06] *** Beatzebub has joined #angularjs
[23:05:31] <Grokling> moogey: I can't remember when I last wasn't..
[23:05:59] <moogey> so deep *wipes tear*
[23:06:05] <oniijin> twss
[23:06:10] <nickeddy> ^
[23:06:13] <nickeddy> oniijin++
[23:06:14] <UniBot> oniijin Karma: 1
[23:06:20] *** arathunku has joined #angularjs
[23:06:21] <oniijin> my job here is done
[23:06:25] *** dnakov has quit IRC
[23:06:27] <nickeddy> for all time
[23:06:33] <nickeddy> everyone wave farewell to oniijin
[23:06:45] * moogey bows to oniijin
[23:06:57] * nickeddy bids farewell
[23:07:06] *** jheady1 has joined #angularjs
[23:07:11] *** cohitre has quit IRC
[23:07:29] *** m_rc has joined #angularjs
[23:07:51] *** sirkitree is now known as sirkitree|afk
[23:07:58] *** cthrax has quit IRC
[23:08:02] <m_rc> Anyone know if it's possible to access resolve data during $stateChange ?
[23:08:04] *** iamjmw has quit IRC
[23:08:15] *** shackleford has quit IRC
[23:08:30] *** phuh has quit IRC
[23:08:43] *** jaydubya has joined #angularjs
[23:09:02] *** phuh has joined #angularjs
[23:09:12] *** mmealling has joined #angularjs
[23:09:14] <matisoffn> http://stackoverflow.com/questions/27085721/angular-datatables-directive-apply-ready-on-promise-return-not-recognizing-a-re
[23:09:45] *** dweave has quit IRC
[23:09:53] *** mennea has quit IRC
[23:10:13] *** DuelShark has joined #angularjs
[23:10:47] *** tristanp has quit IRC
[23:11:20] *** rho has quit IRC
[23:12:18] *** caitp has joined #angularjs
[23:12:46] *** jonr22 has joined #angularjs
[23:13:59] *** [boxmein] is now known as boxmein
[23:14:18] *** rileylark has quit IRC
[23:15:01] <themime> since 1.3 it seems like $scope.$apply isn't needed as much, what are /good/ times to use it now?
[23:15:10] *** charuru has quit IRC
[23:15:20] <s3shs> themime, From directives.
[23:15:28] *** helen_ has joined #angularjs
[23:15:34] <s3shs> But if you use all angular APIs you shouldn't have to at all.
[23:15:41] *** prbc has joined #angularjs
[23:16:03] <ingsoc> why would 1.3 be different to 1.x ?
[23:16:28] <s3shs> The angular guys have gotten smarter.
[23:16:28] *** charuru has joined #angularjs
[23:16:29] *** Medice2 is now known as medice
[23:16:30] <s3shs> (And gals.)
[23:16:50] *** JohnBat26 has quit IRC
[23:16:56] *** evotuned has joined #angularjs
[23:17:14] <ingsoc> s3shs: what has changed with regards to negating the need for using $scope.$apply
[23:17:29] <s3shs> Specifically, I don't know.
[23:17:36] *** jonr22 has quit IRC
[23:17:39] *** despai has quit IRC
[23:17:42] <s3shs> But i've got a 40K line app here and I think I only call it like twice.
[23:18:10] *** boneskull has quit IRC
[23:18:19] *** boneskul_ has joined #angularjs
[23:18:30] <ingsoc> s3shs: my point was I am not sure what would be any different in when you should use it
[23:18:31] *** rho has joined #angularjs
[23:18:50] <s3shs> ok
[23:18:52] *** PercolatorLa has joined #angularjs
[23:18:57] *** despai has joined #angularjs
[23:18:59] <ingsoc> s3shs: 40k, quite a sizeable app
[23:19:00] *** reynierpm has joined #angularjs
[23:19:05] *** reynierpm has left #angularjs
[23:19:08] <s3shs> yes
[23:19:21] <ingsoc> what does it do
[23:19:25] <s3shs> web stuff
[23:19:29] *** dberry37388 has quit IRC
[23:19:51] *** JR___ has joined #angularjs
[23:19:52] *** Geertje123_ has quit IRC
[23:19:59] <ingsoc> i thoguht you were gonna say, launch satelites
[23:20:33] *** andrewdee has joined #angularjs
[23:20:50] <PercolatorLa> I am still having issues with ng-repeat filter... Can someone take a look at this codepen and advise what I am doing wrong?
[23:20:53] *** jonnybro has joined #angularjs
[23:21:06] <s3shs> No reason you couldn't do that with web stuff
[23:21:09] <PercolatorLa> http://codepen.io/ersalmon/pen/emNJVg
[23:21:25] *** dannyc has joined #angularjs
[23:21:36] *** evotuned has quit IRC
[23:22:37] *** ingsoc has quit IRC
[23:22:47] *** webnerd_lw has joined #angularjs
[23:23:02] *** jonnybro has quit IRC
[23:23:47] *** webnerd_lw has quit IRC
[23:23:57] *** JR___ has quit IRC
[23:24:19] *** jareddlc has quit IRC
[23:24:43] *** dsdeiz has joined #angularjs
[23:24:54] *** dannyc has quit IRC
[23:24:55] *** davek_ has joined #angularjs
[23:24:59] *** davek_ has joined #angularjs
[23:25:19] *** jonnybro has joined #angularjs
[23:25:31] *** dannyc has joined #angularjs
[23:26:04] *** dannyc has joined #angularjs
[23:26:36] *** jareddlc has joined #angularjs
[23:26:40] *** dannyc has joined #angularjs
[23:26:43] *** c00ljs has joined #angularjs
[23:26:58] *** sinequanon has joined #angularjs
[23:27:01] *** jonnybro1 has joined #angularjs
[23:27:18] *** ngbot has joined #angularjs
[23:27:18] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/1qKUbQ
[23:27:18] <ngbot> angular.js/master 09a9832 Pawel Kozlowski: fix(Angular): properly get node name for svg element wrapper...
[23:27:18] *** ngbot has left #angularjs
[23:27:29] *** jonnybro has quit IRC
[23:28:26] *** caitp has quit IRC
[23:28:37] *** DuelShark has quit IRC
[23:28:46] <PercolatorLa> Can anyone assist me on an issue with ng-repeat filter?
[23:29:13] *** plato1 has quit IRC
[23:29:37] *** dc has joined #angularjs
[23:30:05] *** Lewix has quit IRC
[23:30:14] *** chrisbirk has quit IRC
[23:30:30] *** despai has quit IRC
[23:30:32] *** dannyc_ has joined #angularjs
[23:30:41] <Grokling> ui-router is beating me up today. I have a really odd scenario happening while in the midst of running the resolves for the desired state, ui-router apparently gets bored and loads an entirely different state. I'm really stuck figuring this one out!
[23:31:16] *** dannyc has quit IRC
[23:31:31] *** dannyc_ has quit IRC
[23:31:59] <dsdeiz> hey guys, i'm back again with my noob questions :D
[23:32:15] *** dannyc has joined #angularjs
[23:33:18] *** nanozer2 has quit IRC
[23:33:20] *** areologist has joined #angularjs
[23:33:31] *** Lewix has joined #angularjs
[23:33:37] *** nanozer2 has joined #angularjs
[23:33:46] *** jonnybro1 has quit IRC
[23:33:48] <jaawerth> Grokling: sounds like a rogue event listener
[23:34:01] <jaawerth> PercolatorLa: go ahead and ask the question anyway, someone will likely be able to answer
[23:34:18] *** Fishy__ has joined #angularjs
[23:34:21] *** glassir has joined #angularjs
[23:34:36] *** metasansana has joined #angularjs
[23:34:36] *** metasansana has joined #angularjs
[23:34:41] *** chrisbirk has joined #angularjs
[23:34:54] *** plato has joined #angularjs
[23:34:59] *** plato has joined #angularjs
[23:35:43] *** sinequanon has quit IRC
[23:35:43] <Grokling> jaawerth: I don't think I have any event listeners set up outside of $rootScope.$on('$stateChangeError' and that's not firing. I've also trawled my code for references to the state it's ending up at either by state or by url and come up empty.
[23:35:56] *** jheady1 has left #angularjs
[23:35:58] *** larsgk has quit IRC
[23:36:35] *** Lewix has quit IRC
[23:36:36] *** livingstn has quit IRC
[23:36:47] *** FalsePozitive has quit IRC
[23:36:48] *** Snugug has quit IRC
[23:36:52] *** Lewix has joined #angularjs
[23:36:57] *** Geertje123_ has joined #angularjs
[23:38:20] *** mkusher has joined #angularjs
[23:38:41] *** shackleford has joined #angularjs
[23:38:46] *** glassir has quit IRC
[23:38:47] <Grokling> jaawerth: I think I got it.. It's a click event which is not preventing the default. I have a button in a div, clicking the div takes me to the state I didn't want. Clicking the button tries to get to the right place, but the div clicks as well, and screws it over.
[23:39:49] *** atomiccc has joined #angularjs
[23:40:02] *** Oxynum has quit IRC
[23:40:11] *** apertoire has joined #angularjs
[23:40:12] *** mkc has quit IRC
[23:40:51] *** mdedetrich has joined #angularjs
[23:41:06] *** prbc has quit IRC
[23:41:48] <Grokling> Yep. Looks like it: https://github.com/driftyco/ionic/issues/550
[23:42:01] *** prbc has joined #angularjs
[23:42:31] <jaawerth> Grokling: ah!
[23:42:39] *** mdedetrich has quit IRC
[23:42:40] <jaawerth> there you go
[23:43:07] <Grokling> Now, if only the proposed solution actually worked..
[23:43:10] *** shackleford has quit IRC
[23:43:17] *** mdedetrich has joined #angularjs
[23:43:34] *** Shrooms has quit IRC
[23:43:47] *** woah has joined #angularjs
[23:44:29] *** MistahKurtz has joined #angularjs
[23:44:50] *** richardlitt has quit IRC
[23:45:06] *** dc has quit IRC
[23:45:12] *** andypham has joined #angularjs
[23:45:23] *** Mackseraner has quit IRC
[23:45:35] *** edy has quit IRC
[23:45:42] *** dc_ has joined #angularjs
[23:45:58] *** kotyy has quit IRC
[23:46:01] *** edy has joined #angularjs
[23:46:17] *** prbc has quit IRC
[23:46:35] *** bengillies has quit IRC
[23:47:01] *** nanozer2 has quit IRC
[23:47:45] *** nuizzy has quit IRC
[23:47:49] *** bayousoft has quit IRC
[23:47:56] <jaawerth> Grokling: is it propagation causing it, or the event's default behavior? is it a link?
[23:48:12] *** richiebkr has quit IRC
[23:48:15] *** ytsejam has joined #angularjs
[23:48:19] *** tomengland_mbp has joined #angularjs
[23:48:24] <jaawerth> Grokling: if it's a link causing the issue and not a JS-based/ng-click-based event causing the change, you may (also/instead) need $event.preventDefault()
[23:48:31] *** bundledavid has joined #angularjs
[23:48:40] *** glassir has joined #angularjs
[23:48:48] *** AlexZan has quit IRC
[23:48:56] <Grokling> jaawerth: Both the button, and the containing div have ng-click functions. It seems that the button fires, and then the div fires.
[23:49:14] *** AlexZan has joined #angularjs
[23:49:29] *** adpirz has joined #angularjs
[23:49:36] *** ngbot has joined #angularjs
[23:49:36] <ngbot> [angular.js] jeffbcross merged master into g3_v1_3: http://git.io/FbuhIw
[23:49:36] *** ngbot has left #angularjs
[23:49:45] *** oste has joined #angularjs
[23:50:00] <ytsejam> I will try to implement this iquery template to angularjs. But I wonder is it wrong type of template for angularjs ? link here: http://8eyelashes.com/balloon/index.html
[23:50:03] *** nanozer2 has joined #angularjs
[23:50:16] <ytsejam> I mean sliding views right to left
[23:50:21] *** nanozer2 has quit IRC
[23:50:29] <ytsejam> and one page index.html
[23:50:33] <jaawerth> Grokling: and which one are you trying to prevent?
[23:50:52] <Grokling> jaawerth: the div should not fire if I click the button.
[23:51:06] *** jas- has joined #angularjs
[23:51:12] *** edy has quit IRC
[23:51:45] *** H1FuelCell has joined #angularjs
[23:52:12] <jaawerth> Grokling: odd. In that case the stopPropagation should theoretically work
[23:52:17] *** dweave has joined #angularjs
[23:52:23] *** il has quit IRC
[23:52:45] *** Sadi has joined #angularjs
[23:53:10] <Grokling> Mm. Maybe I need to check into which version I'm using - maybe my current version doesn't have that additional directive yet.
[23:53:18] *** richiebkr has joined #angularjs
[23:53:20] *** bundledavid has quit IRC
[23:53:43] *** nanozer2 has joined #angularjs
[23:54:06] *** adpirz has quit IRC
[23:54:23] *** moritzschaefer has joined #angularjs
[23:55:17] <dweave> hey I have a requirement for a “pencils down” type of timer that needs to broadcast to everyone subscribed over a websocket. Does anyone know an appropriate server side solution to that? Not strictly angular question, but teh front end is angular.
[23:55:30] <dweave> using nodejs
[23:55:59] <nickeddy> sailsssssssssssss
[23:56:12] <Grokling> Yeah, I was also going to say sails..
[23:56:15] <dweave> nickeddy was that directed towar moi?
[23:56:18] *** jas- has quit IRC
[23:56:20] <nickeddy> yes
[23:56:21] <dweave> hmm sails
[23:56:30] <dweave> how is it implemented in sails
[23:56:35] *** seriema has quit IRC
[23:56:37] <Grokling> Out of the box..
[23:56:45] *** AngularUI has joined #angularjs
[23:56:45] <AngularUI> [bootstrap] kevinoid opened pull request #3012: fix(datepicker): disable title button when in max mode (master...datepicker-disable-title-button) http://git.io/IsESgw
[23:56:46] *** AngularUI has left #angularjs
[23:56:58] <dweave> gotcha. that’s probably not an option just cause the project is in a pretty late stage
[23:57:00] <nickeddy> dweave: http://sailsjs.org/#/documentation/reference/websockets/resourceful-pubsub/message.html
[23:57:04] *** jdcasey has quit IRC
[23:57:08] <dweave> and we’re using express
[23:57:08] *** seriema has joined #angularjs
[23:57:20] <Grokling> Sails uses express under the hood.
[23:57:23] *** Una has quit IRC
[23:57:29] <dweave> yah i know
[23:57:41] <Grokling> But, as you say, it's likely overkill just for that one thing.
[23:57:46] <dweave> so we have a pubsub mechanism already too: faye. i’m wondering how to implement a timer server side basically
[23:57:47] *** jdcasey has joined #angularjs
[23:57:54] <dweave> i’ll take a look at that nickeddy thanks
[23:57:54] <Foxandxss> I am not too much in the sails mood
[23:57:55] *** m_rc has quit IRC
[23:57:57] <davek_> dweave, send a broadcast event?
[23:58:00] <davek_> Ove the socket?
[23:58:17] <dweave> davek_ yeah how does that event originate though
[23:58:34] <dweave> the workflow is one client sends a message to “start the timer”
[23:58:41] *** mccarrontr1ck has quit IRC
[23:58:42] <davek_> Yeah Sails has good intentions but its super top-heavy and I do node+express to avoid the Rails ultra-conformative bullshit.
[23:58:45] *** Lewix has quit IRC
[23:58:47] <dweave> then all clients need to be notified when the timer expires
[23:59:02] <davek_> dweave, any number of ways. You can have them join a room then broadcast the finished event to the room.
[23:59:24] <Foxandxss> I would love if sails moves to koa
[23:59:25] <dweave> davek_: so oyou’d just have a setTimeout on the server or something?
[23:59:28] <Foxandxss> koa is wonderful
[23:59:40] <Foxandxss> with this co thingy
top

   November 24, 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 | >