[00:00:03] *** moritzs has joined #angularjs
[00:00:04] <BahamutWC|Work> I’d rather use d3 for that stuff
[00:00:13] <rhp> charlesfinley, because I think JavaScript is a language, and not built as part of a framework like Java and C# which have got a massive library of its own
[00:00:42] *** InezK is now known as InezK_away
[00:01:04] <nickeddy> no because it's trivial to peek in an array you're using as a "stack"
[00:01:10] <moogumbo> BahamutWC|Work: Hm, interesting thought
[00:01:23] <moogumbo> I'm using HighCharts right now
[00:01:43] <rhp> only if you use an array, which is a primitive-type, as a stack
[00:02:02] <rhp> you can build any datastructure you like
[00:02:03] <moogumbo> I have (essentially) a <graph> directive that specifies the entire graph using attributes, and then the directive invokes HighCharts on its DOM element, but it would be nice to specify separate parts of the graph separately like they show
[00:02:07] *** InezK_away is now known as InezK
[00:02:11] *** icfantv has quit IRC
[00:02:20] *** Wills_ has quit IRC
[00:02:23] *** patrickarlt has quit IRC
[00:02:28] *** Joshee has quit IRC
[00:02:46] <charlesfinley> rhp: oh really? So why it has a .pop() function?
[00:02:49] *** henn1nk has joined #angularjs
[00:03:04] <BahamutWC|Work> pop modifies the array itself
[00:03:18] <charlesfinley> true
[00:03:20] *** Sky[x] has quit IRC
[00:03:21] <BahamutWC|Work> if you want the last element of an array, you could just do array[array.length - 1]
[00:03:27] *** vbabiy has quit IRC
[00:03:31] <charlesfinley> I'm aware of that :D
[00:03:38] <charlesfinley> i'm just wondering
[00:03:40] <snapwich> Array.prorotype.peek = function() {} problem solved
[00:03:43] <rhp> because thats part of array
[00:04:03] <charlesfinley> snapwich: i'm talking from a language design perspective
[00:04:15] *** hell_razer has joined #angularjs
[00:04:21] *** Siecje1 has joined #angularjs
[00:04:34] *** phuh has quit IRC
[00:05:02] *** phuh has joined #angularjs
[00:05:19] *** amargherio has quit IRC
[00:05:53] *** InezK is now known as InezK_away
[00:05:58] *** Methylated has joined #angularjs
[00:06:00] *** hell_razer has quit IRC
[00:06:51] *** teslanick has joined #angularjs
[00:06:52] *** MistahKurtz has joined #angularjs
[00:07:32] *** panchisco has joined #angularjs
[00:07:57] *** hell_razer has joined #angularjs
[00:08:57] *** CodeFriar has joined #angularjs
[00:08:57] *** TorchDragon has quit IRC
[00:10:00] *** Rovak has quit IRC
[00:10:21] *** FunnyLookinHat has quit IRC
[00:10:41] *** Azzurrio has quit IRC
[00:11:02] *** OffTheRails has joined #angularjs
[00:11:18] *** spencercarnage has quit IRC
[00:11:52] *** dcherman has quit IRC
[00:12:45] <in_deep_thought> if I have put ng-controller = mainCtrl on the body tag, and I put a console.log(“test”) inside of the controller function in the js file, should I be able to see the console.log’d “test” in the console? aka does the controller function run by default?
[00:12:46] *** Sgeo has joined #angularjs
[00:13:24] *** jamesshijie has quit IRC
[00:13:45] *** cacts|works has joined #angularjs
[00:13:47] *** CodeFriar has quit IRC
[00:13:58] *** noob has joined #angularjs
[00:14:09] *** tomzx is now known as tomzx`afk
[00:14:10] *** e-dard is now known as e-dard_afk
[00:14:33] *** noob is now known as Guest29824
[00:15:21] *** thomasburleson has joined #angularjs
[00:15:24] *** moritzs has quit IRC
[00:15:35] *** kotyy has quit IRC
[00:15:39] *** hell_razer has joined #angularjs
[00:15:56] *** apetro__ has quit IRC
[00:16:15] *** thomasburleson has left #angularjs
[00:16:47] *** Vloz has quit IRC
[00:16:53] *** spencercarnage has joined #angularjs
[00:16:58] *** marcospgp has joined #angularjs
[00:17:12] <marcospgp> what's the difference between parameters and data when dealing with $http using POST?
[00:17:48] *** Guest29824 has left #angularjs
[00:18:14] *** bkuberek_ has joined #angularjs
[00:18:39] *** jamto11 has joined #angularjs
[00:18:47] *** IanOlson has quit IRC
[00:18:52] *** roymiloh has quit IRC
[00:19:39] *** ngoyal_ has joined #angularjs
[00:20:06] *** OffTheRails has quit IRC
[00:20:07] *** medMJhurray has joined #angularjs
[00:20:30] *** dob_ has joined #angularjs
[00:20:50] *** mven_ has joined #angularjs
[00:20:54] *** dcherman has joined #angularjs
[00:21:08] *** bkuberek has quit IRC
[00:21:48] *** cthrax has joined #angularjs
[00:22:05] *** AlexZanf has joined #angularjs
[00:22:43] *** zumba_addict has joined #angularjs
[00:22:44] *** bkuberek_ has quit IRC
[00:22:44] *** in_deep_thought has quit IRC
[00:22:48] *** ngoyal has quit IRC
[00:22:49] *** jkremser has quit IRC
[00:22:54] *** elrabin has joined #angularjs
[00:23:07] *** jamto11 has quit IRC
[00:23:07] *** dob_ has quit IRC
[00:23:27] *** rho has joined #angularjs
[00:23:44] *** thomasburleson has joined #angularjs
[00:23:59] *** mikehaas763 has quit IRC
[00:24:06] *** ishi has quit IRC
[00:24:07] <zumba_addict> The button is on a different html page which is under a different ng-controller
[00:24:28] <zumba_addict> it does call the showHide() function but looks like i'm referring to toggle incorrectly in the html page
[00:24:35] *** delano has joined #angularjs
[00:24:35] <zumba_addict> i tried $root, $parent with no luck
[00:24:39] *** s3shs has quit IRC
[00:24:40] *** ngoyal_ has quit IRC
[00:25:00] *** bmac has quit IRC
[00:25:10] *** francisl has quit IRC
[00:25:25] *** vintik has quit IRC
[00:25:51] *** DrMabuse has quit IRC
[00:26:26] <medMJhurray> Didn't realize this AngularJS stuff was so popular
[00:27:32] *** foofoobar has quit IRC
[00:27:46] <zumba_addict> if I change it to $rootScope, it works but I don't want to use rootScope
[00:27:48] <zumba_addict> oh looking
[00:27:59] *** epantzar has joined #angularjs
[00:28:08] <snapwich> that's what I did, change it to rootScope :p
[00:28:17] <snapwich> it doesn't work the way you have it because the controllers have different scopes
[00:28:30] *** FIFOd[a] has joined #angularjs
[00:28:37] <zumba_addict> yup, but I was thinking we can still refer to it properly
[00:28:44] <epantzar> anyone with experience with heroku? I've been developing and starting a server locally with 'npm start' (using angular-seed) ... doesnt seem to work on heroku
[00:28:46] <snapwich> you shouldn't use $parent
[00:28:49] <zumba_addict> k
[00:28:54] *** patouche has quit IRC
[00:28:56] <snapwich> and no, you can't really refer to it because they are siblings
[00:28:57] *** delano has quit IRC
[00:28:58] *** DrMabuse has joined #angularjs
[00:29:06] <snapwich> you'd have to go to $parent and traverse its children
[00:29:10] <zumba_addict> got it
[00:29:10] *** krawek has quit IRC
[00:29:26] <zumba_addict> i converted my code in to factory hoping i would be able to refer to it but no, it didn't
[00:29:32] <snapwich> you can either communicate through $rootScope. send events and have it listen to those, or inject a shared service into both
[00:29:41] <zumba_addict> yup
[00:29:49] *** in_deep_thought has joined #angularjs
[00:29:50] <zumba_addict> ok, I'll use rootScope then for now
[00:30:02] *** InezK_away is now known as InezK
[00:30:58] *** nicholaswyoung has quit IRC
[00:31:25] *** nicholaswyoung has joined #angularjs
[00:31:27] *** chrisbirk has quit IRC
[00:31:55] *** bphogan is now known as bphogan_afk
[00:32:01] *** jmichaelward has quit IRC
[00:33:07] <BahamutWC|Work> don’t share data with $rootScope :(
[00:33:16] *** jamesshijie has joined #angularjs
[00:33:30] <in_deep_thought> marcospgp: data is what gets returned from the call, the parameters are what gets sent with the request
[00:33:31] <snapwich> yeah, use window instead
[00:33:39] *** stirling_ has joined #angularjs
[00:33:47] *** nicholaswyoung_ has joined #angularjs
[00:33:48] <medMJhurray> What is the best way to use angularJS and have encrpyted data that is synchronized to sql databases?
[00:33:52] *** nicholaswyoung has quit IRC
[00:33:59] <marcospgp> in_deep_thought thanks a lot
[00:34:00] *** stirling_ has quit IRC
[00:34:03] *** waylon999 has quit IRC
[00:34:07] <zumba_addict> BahamutWC|Work: what is the ideal approach to my scenario?
[00:34:12] *** jeffszusz has quit IRC
[00:34:15] <BahamutWC|Work> medMJhurray: websockets? Firebase?
[00:34:27] *** stirling_ has joined #angularjs
[00:34:36] *** waylon999 has joined #angularjs
[00:34:44] <BahamutWC|Work> zumba_addict: I’d use eventing
[00:34:45] *** waylon999 has quit IRC
[00:34:56] <zumba_addict> Ok, got to read up on it
[00:35:07] <zumba_addict> like $watch?
[00:35:09] *** naneau has quit IRC
[00:35:18] <BahamutWC|Work> you could do $rootScope.$emit and have a listener on $rootScope, or you could use a library like bacon.js
[00:35:21] *** waylon999 has joined #angularjs
[00:35:32] *** jamesbdev has joined #angularjs
[00:35:34] <zumba_addict> ok, I'll take a look at bacon
[00:35:36] *** merrihew has joined #angularjs
[00:36:00] <snapwich> lol. events and bacon.js to hide a div from one controller to another?
[00:36:02] <zumba_addict> I was thinking about factory and let the value in factory be $watch for changes
[00:36:03] *** bLu_ has joined #angularjs
[00:36:26] *** krawek has joined #angularjs
[00:36:45] *** Schtive has quit IRC
[00:36:46] *** shackleford has quit IRC
[00:37:18] *** cthrax has quit IRC
[00:37:20] <zumba_addict> so in my ControllerA which has the button, I won't add ControllerB in the html code to call the button. I will call a button that's still within Controller's A scope but I'l make sure that the factory is injected on both controllers
[00:37:22] *** shackleford has joined #angularjs
[00:37:39] *** stirlingw has quit IRC
[00:37:47] <zumba_addict> so controllerA button will update the value via factory while controller be watches for changes
[00:37:53] <zumba_addict> i think that'll work
[00:38:00] <zumba_addict> i'll try it now
[00:38:12] *** Destos has quit IRC
[00:39:07] *** stirling_ has quit IRC
[00:39:21] *** BlinkyBill has joined #angularjs
[00:39:35] *** mspier_off is now known as mspier
[00:39:51] *** cspra85 has quit IRC
[00:40:45] *** sonofdirt has quit IRC
[00:41:23] *** shackleford has quit IRC
[00:41:31] *** vintik has joined #angularjs
[00:41:37] *** atomical has joined #angularjs
[00:42:44] *** OffTheRails has joined #angularjs
[00:42:56] *** jdowdle is now known as jdowdle|afk
[00:43:27] *** Nizumzen has quit IRC
[00:43:30] *** RexButler_ has joined #angularjs
[00:43:44] *** bejames has joined #angularjs
[00:44:13] *** juanlas has quit IRC
[00:44:32] *** cthrax has joined #angularjs
[00:44:43] *** jamesshijie has quit IRC
[00:44:59] *** gunn has joined #angularjs
[00:45:13] <zumba_addict> yup, the $watch worked :)
[00:45:14] *** doddstack has quit IRC
[00:45:35] *** jonnybro has joined #angularjs
[00:46:07] *** darwin_bio1 has joined #angularjs
[00:46:53] *** mrits has quit IRC
[00:47:01] *** jobelenus has quit IRC
[00:47:02] <darwin_bio1> anyone know if it's possible to use Google's Drawing Object lib with Angular-Google-Maps?
[00:47:19] *** anjumkaiser has joined #angularjs
[00:47:30] *** yoshokatana has joined #angularjs
[00:49:20] <cthrax> darwin_bio1, sure, just attach to the tilesloaded event on the map to get the map instance and use the google api from there
[00:49:23] *** gunn has quit IRC
[00:50:05] *** jamesshijie has joined #angularjs
[00:50:15] <cthrax> darwin_bio1, or the Markers, Info Windows and Shapes have directives built-in to angular google maps
[00:50:33] <darwin_bio1> cthrax: cool. thanks. Just didn't find any docs on using the Drawing library. Looks like the project as a whole is still under development.
[00:50:36] <zumba_addict> actually, I was wrong, even without using $watch, it's now working
[00:50:37] *** mrits has joined #angularjs
[00:50:47] <cthrax> darwin_bio1, no project is ever really complete
[00:51:28] <cthrax> darwin_bio1, the developers also don't ever intend to wrap the entirety of the google maps API, just the things that make sense to be directives and get angularized
[00:51:52] <darwin_bio1> cthrax: that seems to be for pre-drawing polygons. I want to grab the controls etc. too as you can by passing '&libraries=drawing' for the regular API.
[00:52:11] *** bertrandk has quit IRC
[00:53:00] <darwin_bio1> yeah, I want to do some heavy customization, allowing users to draw ibjects at scale etc. I'm feeling the google-angular-maps is more focussed on presenting rendered data, editing markers etc.
[00:53:02] <cthrax> darwin_bio1, ah, well that would just be a I first mentioned, getting the map instance after it's loaded, via "tilesloaded" or whichever event you prefer and passing that to the DrawingManager
[00:53:07] *** spencercarnage has quit IRC
[00:53:17] *** mrits has quit IRC
[00:53:21] *** jobelenus has joined #angularjs
[00:53:32] <cthrax> I know the main dev is working on a freehand drawing feature right now
[00:53:38] *** jobelenus has quit IRC
[00:54:04] *** epantzar has quit IRC
[00:55:00] <darwin_bio1> At the moment the only async part I need is geocoding the zip on the fly. Is it ugly to load google maps the traditional way and have a light controller to do the location search and somehow pass that data to the map?
[00:55:01] <cthrax> the library expects most dynamisim to come through angular data-binding
[00:55:16] *** bbsss has quit IRC
[00:55:16] <in_deep_thought> when you look at view source, should you still be seeing stuff like <li ng-repeat=“item in items”></li> or should it have been converted into straight html by that point?
[00:55:49] *** plitzenberger has joined #angularjs
[00:55:52] <cthrax> darwin_bio1, to load the traditional way, you have to have a global method, then you have to put a reference to that somewhere that angular can get to it
[00:56:04] <cthrax> a little clumsy in my mind, but it can be done
[00:56:23] *** teslanick has quit IRC
[00:56:45] *** Tidwell has joined #angularjs
[00:57:06] <darwin_bio1> yeah, that was my conclusion. Might have to leave Angular out if the loop for now and go back to jQuery land. <sigh>
[00:57:17] *** dcherman has quit IRC
[00:57:31] <cthrax> darwin_bio1, well before you did that, I'd give angular-google-maps a go, I really do think it would do what you want just fine
[00:57:36] <cthrax> with minimal overhead
[00:57:36] *** dcrk has joined #angularjs
[00:57:42] *** jdcasey has quit IRC
[00:57:44] <robdubya_> darwin_bio1 for async loading of libs (like the g thigns)
[00:57:55] <robdubya_> throw a promse around it
[00:58:05] <robdubya_> so all your calls to gmaps etc would look something like
[00:58:15] *** thomasburleson has quit IRC
[00:58:17] <robdubya_> gMaps.get().then(function(gmapsLib){ ....
[00:58:19] *** bertrandk has joined #angularjs
[00:58:33] <cthrax> ^^^^
[00:58:34] *** gunn has joined #angularjs
[00:58:39] <robdubya_> i do a similar kind of thing for the cordova callbacks (deviceReady)
[00:58:41] <cthrax> that's what angular-google-maps does under the hood
[00:58:41] *** trave has quit IRC
[00:58:50] <darwin_bio1> cthrax: hmmm. But I'm going to get into the Drawing object stuff, and that seems weakly supported bu angualr-google-maps ATM.
[00:58:57] *** thomasburleson has joined #angularjs
[00:59:11] *** thomasburleson has left #angularjs
[00:59:25] *** bulkan has joined #angularjs
[00:59:29] *** lw has quit IRC
[00:59:31] <robdubya_> darwin_bio1 you're going to draw layers *on* the map, using the layer API in gmaps?
[00:59:35] <cthrax> darwin_bio1, it's up to you, but if the other option is to leave angular, I'd use angular-google-maps in a heart beat
[00:59:39] <darwin_bio1> robdubya_: not sure I follow you.
[01:00:03] *** damoncasale has quit IRC
[01:00:05] <darwin_bio1> robdubya_: yes
[01:00:07] *** zomg has joined #angularjs
[01:00:18] <robdubya_> darwin_bio1 "Google's Drawing Object " <- what are you talking about?
[01:00:41] *** fedenunez has quit IRC
[01:00:47] *** cspra85 has joined #angularjs
[01:00:48] *** fedenunez1 has joined #angularjs
[01:01:00] *** prbc has joined #angularjs
[01:01:18] *** danielpq_ has joined #angularjs
[01:01:20] *** mven_ has quit IRC
[01:01:28] <dcrk> intreseting promise question - when chaining promises in a loop, as in the following code, why is the success function called with i == promiseArray.length and not with 0, 1, 2 ... promiseArray.length?
[01:01:36] <robdubya_> yeah, should be very doable, though maybe not out of the box with ng-google-maps
[01:01:48] <darwin_bio1> robdubya_: yes, that's the one ;)
[01:02:05] <cthrax> yeah, you'd just be using the google maps api
[01:02:08] <robdubya_> darwin_bio1 get a plunker started up, happy to poke around
[01:02:12] *** Blazedd has joined #angularjs
[01:02:18] <robdubya_> dcrk that seems, uh, a bit strange
[01:02:21] <robdubya_> what are you trying to do there?
[01:02:35] <darwin_bio1> robdubya_: thanks, I will.
[01:02:35] <cthrax> darwin_bio1, with angular-google-maps taking care of loading and angularizing for you
[01:02:39] *** TorchDragon has joined #angularjs
[01:02:41] *** mindlace has joined #angularjs
[01:02:57] *** brownbathrobe has joined #angularjs
[01:02:57] <Blazedd> I need to apply an error class to the parent of an input that has become dirty. What is the best way to pass that (via event or directive)?
[01:02:58] <robdubya_> worst case you'd have to watch for drawing layer events, and store them
[01:03:15] <dcrk> robdubya_: well, I'm proccessing heavy, partially-asyc javascript across several elements, and want to process them one after another
[01:03:23] *** diffkid has quit IRC
[01:03:24] <darwin_bio1> robdubya_: that is the intention.
[01:03:25] <robdubya_> Blazedd angular should do that automatically, would apply on the form element
[01:03:28] <cthrax> dcrk, because of closures, it's grabbing a reference to the outside reference
[01:03:46] <Blazedd> robdubya_: Right, I need to apply a class to the PARENT of that input :b
[01:03:50] <robdubya_> dcrk so you have... an array of things, and you want to do something async to each of them?
[01:03:55] *** tomzx`afk is now known as tomzx
[01:03:59] <Blazedd> div.error input.ng-dirty.ng-invalid
[01:04:05] <robdubya_> Blazedd right, the parent of an input = a form, and that happens *automatically*
[01:04:16] <brownbathrobe> hey guys, anyone have some spare braincells to help with some directive madness?
[01:04:20] <Blazedd> robdubya_: Immediate parent, not the form
[01:04:27] *** danielpquinn has quit IRC
[01:04:28] <dcrk> cthrax: oh. I thought it uses the value of i in the time of definition
[01:04:33] <MistahKurtz> just fire away brownbathrobe
[01:04:34] *** bluesm has quit IRC
[01:04:39] <dcrk> robdubya_: yeah, but only one at a time
[01:05:00] <brownbathrobe> i'm trying to figure out the best way to dynamically add a directive from another directive
[01:05:05] <brownbathrobe> and it's driving me bonkers
[01:05:23] *** Drako__ has quit IRC
[01:05:30] *** lordkryss has quit IRC
[01:06:31] <MistahKurtz> brownbathrobe just put the other directive in the template, nested inside an ng-if?
[01:06:49] <MistahKurtz> what are you trying to do?
[01:06:54] <MistahKurtz> do you have any example code?
[01:07:04] <brownbathrobe> MistahKurtz: i like that idea but the dynamic directive has to be on the element itself
[01:07:04] *** TimmyTones has quit IRC
[01:07:08] *** wilmoore has quit IRC
[01:07:08] <robdubya_> dcrk one at a time in the sense that each *depends* on the prevous, or no?
[01:07:23] <dcrk> robdubya_: does not depend
[01:07:31] <robdubya_> then you should do
[01:07:33] <dcrk> can be any order
[01:07:38] *** TimmyTones has joined #angularjs
[01:07:45] *** TorchDragon has quit IRC
[01:07:51] *** snurfery has joined #angularjs
[01:08:15] <robdubya_> var results = yourArrayOfThings.map(function(thing) { return doAsyncThingWithThing(thing); })
[01:08:22] <robdubya_> var doAllThings = $q.all(results);
[01:08:31] <MistahKurtz> brownbathrobe use `replace: true` ?
[01:08:32] <robdubya_> doAllThings.then(function(results){ ...
[01:08:40] *** richiebkr has quit IRC
[01:08:52] <brownbathrobe> MistahKurtz: i need to keep the original element intact :)
[01:09:13] *** CodeFriar has joined #angularjs
[01:09:26] <MistahKurtz> brownbathrobe it would probably be best if you created a plunkr
[01:09:35] <dcrk> robdubya_: that is amazing.
[01:09:35] *** cerbone has joined #angularjs
[01:09:42] <brownbathrobe> MistahKurtz: coming right up
[01:09:59] *** mccarrontr1ck has quit IRC
[01:10:13] <dcrk> robdubya_: I will try doing this. thanks :)
[01:10:16] *** xavia has left #angularjs
[01:10:18] <robdubya_> dcrk map / reduce + promises = amazing
[01:10:22] *** benjamingr has quit IRC
[01:10:39] <dcrk> robdubya_: btw, how does it combine the notifiers?
[01:10:43] *** odin_ has joined #angularjs
[01:10:53] *** jamesshijie has quit IRC
[01:11:06] *** danyim has joined #angularjs
[01:11:19] *** danyim has quit IRC
[01:11:27] *** danielpq_ has quit IRC
[01:11:27] <dcrk> (i.e, I want to know how many promises resolved so far, or what is the sum of progress)
[01:11:29] *** danielpquinn has joined #angularjs
[01:11:39] <brownbathrobe> MistahKurtz: ^^
[01:11:42] *** danyim has joined #angularjs
[01:12:17] *** spencercarnage has joined #angularjs
[01:12:21] *** snapwich has quit IRC
[01:12:25] <brownbathrobe> basically i've made a directive that adds a tooltip to the element (among other things)
[01:12:48] <brownbathrobe> but compiling the directive results in other directives on the element being compiled multiple times
[01:12:54] *** mdedetrich has joined #angularjs
[01:13:04] <brownbathrobe> which results in click-handlers etc being bound multiple times
[01:13:04] *** frickett has joined #angularjs
[01:13:47] *** Tidwell has quit IRC
[01:13:54] *** CodeFriar has quit IRC
[01:13:56] *** jamesshijie has joined #angularjs
[01:14:21] *** diffkid has joined #angularjs
[01:14:23] *** Bade has quit IRC
[01:14:38] <brownbathrobe> MistahKurtz: if you pop open the console you'll see what i mean
[01:14:56] *** cthrax has quit IRC
[01:14:59] *** frickettz has quit IRC
[01:15:36] *** whitebook has quit IRC
[01:16:25] <MistahKurtz> hm
[01:17:03] <zumba_addict> I think I know why it's able to find or update slidingPanel.toggleOdometerPanel in the second html. It's because, the parent html uses ui-view and scope flows to the subview
[01:17:24] <zumba_addict> it's still part of the parent html
[01:18:39] *** jamto11 has joined #angularjs
[01:19:08] *** Sky[x] has joined #angularjs
[01:19:32] <robdubya_> dcrk notify, while handy, is out of the promise spec (and wouldn't really tell you much here, xhrs are kind of binary, either they're done or not)
[01:19:46] <dcrk> robdubya_: this is awesome. thanks!
[01:20:13] <robdubya_> usually that counter will move faster than the ui can update, but ymmv
[01:20:26] <robdubya_> and typically ALL of that would be in the service, whereever possible
[01:20:44] <dcrk> robdubya_: it is in one :)
[01:21:00] *** frickett has quit IRC
[01:21:02] *** andrew9183 has joined #angularjs
[01:21:04] *** Tidwell has joined #angularjs
[01:21:05] *** nicholaswyoung_ has quit IRC
[01:21:13] <dcrk> robdubya_: out of interest, how is this solved when step are dependant?
[01:21:15] *** richiebkr has joined #angularjs
[01:21:22] <dcrk> steps*
[01:21:32] <robdubya_> that's a little trickier
[01:21:37] <andrew9183> heres a brain teaser: i have a tbody with an ng-repeat and nested tr with an ng-repeat, and i want to highlight even and odd rows. how would you do it
[01:21:38] *** nicholaswyoung_ has joined #angularjs
[01:21:45] <robdubya_> andrew9183 use $index
[01:21:57] <robdubya_> i think there's an odd/even built in, somewhere
[01:22:17] <andrew9183> but each ngrepeat uses a new scope, so how would it know the other tbody had even or odd in it
[01:22:18] *** morenoh151 has quit IRC
[01:22:54] *** SpearThruster has quit IRC
[01:22:59] <robdubya_> not sure i follow... are you doing odd/even on the parent or child repeat?
[01:23:07] *** jamto11 has quit IRC
[01:23:43] <robdubya_> its not ng specifc, but promises be promises errywhere
[01:23:44] *** nicholaswyoung__ has joined #angularjs
[01:23:50] <dcrk> robdubya_: thanks, I'll give it a read.
[01:24:27] *** nicholaswyoung_ has quit IRC
[01:25:11] *** fedenunez1 has quit IRC
[01:25:40] *** nonsenz has quit IRC
[01:26:22] *** delano has joined #angularjs
[01:26:31] *** yogurt_truck has quit IRC
[01:26:39] *** nonsenz has joined #angularjs
[01:26:57] *** snurfery has quit IRC
[01:27:05] *** phuh has quit IRC
[01:27:41] *** phuh has joined #angularjs
[01:27:49] *** mary5030 has joined #angularjs
[01:28:03] <andrew9183> robdubya_: i want to do even/odd on total tr's
[01:28:09] <andrew9183> but there can be any number of tbody's
[01:28:40] *** patricka_ has quit IRC
[01:29:22] *** OnkelTem has quit IRC
[01:29:37] *** MaxV has quit IRC
[01:29:56] *** marcospgp has quit IRC
[01:30:10] *** MaxV has joined #angularjs
[01:30:16] *** Methylated has quit IRC
[01:30:25] *** styles_ has quit IRC
[01:30:41] *** OnkelTem has joined #angularjs
[01:30:49] *** synestry has joined #angularjs
[01:31:17] *** kofight has quit IRC
[01:32:14] *** MuffinMan` has joined #angularjs
[01:32:25] *** nicholaswyoung__ has quit IRC
[01:32:46] *** ascarter has quit IRC
[01:32:47] *** styles_ has joined #angularjs
[01:33:15] *** RexButler_ has quit IRC
[01:33:38] *** in_deep_thought has quit IRC
[01:33:42] <robdubya_> so that's doing it on the parent
[01:33:59] <robdubya_> which is / is not what you mean?
[01:34:34] *** one_zero has joined #angularjs
[01:34:40] *** MaxV has quit IRC
[01:34:44] *** hell_razer has joined #angularjs
[01:35:08] *** hell_razer has quit IRC
[01:35:47] <andrew9183> not quite: moreso like this:
[01:35:49] *** dccc has quit IRC
[01:36:33] <robdubya_> so effectively ignore the grouping?
[01:36:39] <andrew9183> yeah
[01:36:47] *** MuffinMan` has quit IRC
[01:36:51] <andrew9183> unfortunately the tbody is needed for the nested ng-repeats
[01:36:57] *** zwacky has joined #angularjs
[01:37:11] <robdubya_> mmm
[01:37:13] *** danielpquinn has quit IRC
[01:37:39] *** danielpquinn has joined #angularjs
[01:37:49] *** MuffinMan` has joined #angularjs
[01:38:23] *** cspra85 has quit IRC
[01:38:41] *** cacts|works has quit IRC
[01:38:47] *** mdedetrich has joined #angularjs
[01:38:54] *** cacts|works has joined #angularjs
[01:39:48] *** medMJhurray has quit IRC
[01:40:10] <robdubya_> andrew9183 not sure on a clean way to do this. you'll likely have to DIY a directive, and do something like get the previous parent row's count
[01:40:24] <andrew9183> yeah :(
[01:40:50] *** Aartsie has quit IRC
[01:40:50] *** bLu_ has quit IRC
[01:41:23] *** spencercarnage has quit IRC
[01:41:25] *** bLu_ has joined #angularjs
[01:42:28] *** in_deep_thought has joined #angularjs
[01:42:31] <robdubya_> andrew9183 what do the groups / rows represent?
[01:42:59] *** one_zero has quit IRC
[01:43:17] *** one_zero has joined #angularjs
[01:43:18] <andrew9183> basically models a group of projects and then its users
[01:43:31] <andrew9183> i suppose i could change the controller to return the users
[01:44:15] *** tarkus has quit IRC
[01:44:22] <robdubya_> foos = project, bars = users?
[01:45:38] *** mdedetrich has quit IRC
[01:45:38] *** heidi has quit IRC
[01:45:42] *** bLu_ has quit IRC
[01:46:28] <andrew9183> yeah basically
[01:46:38] *** delano has quit IRC
[01:46:38] *** cacts|works has quit IRC
[01:46:49] *** danyim has quit IRC
[01:46:57] <robdubya_> sorting a flat list would give you the same effect, no?
[01:47:08] <robdubya_> eg, all projects, sorted (vs grouped) by user?
[01:48:06] *** plitzenberger has quit IRC
[01:48:33] *** elrabin has quit IRC
[01:48:33] *** screamingbanshee has joined #angularjs
[01:48:50] <andrew9183> yeah i suppose
[01:48:51] *** pootpoot has quit IRC
[01:49:06] *** elrabin has joined #angularjs
[01:49:27] *** marr has quit IRC
[01:49:33] *** jimmy___ has joined #angularjs
[01:49:34] <SockSorcerer> caitp: surely there is a way to make chrome's console not truncate error messages >:)
[01:50:49] *** Reskp has quit IRC
[01:51:00] *** slainer68 has quit IRC
[01:51:05]
<jimmy___> I'm trying to get the 'success' callback from an ng-resource save method, i'm able to get the error callback data, but i'm not sure how to get the success data, please see here http://pastebin.com/CUDhwjLL
[01:51:11] *** nemothek_ has joined #angularjs
[01:51:22] <davek> SockSorcerer, what do you mean truncate?
[01:51:38] *** heidi has joined #angularjs
[01:51:46] <brownbathrobe> can anyone shed some insight into this scope madness?
[01:52:05] *** slainer68 has joined #angularjs
[01:52:21] *** styles has quit IRC
[01:52:28] <robdubya_> andrew9183 gonna have to do something like this (see line 15 in the html)
[01:52:53] *** tilgovi has quit IRC
[01:53:00] *** screamingbanshee has quit IRC
[01:53:15] <robdubya_> SockSorcerer are you using angular.min?
[01:53:34] *** elrabin has quit IRC
[01:53:38] <andrew9183> robdubya: did you paste a new link?
[01:54:00] *** nemothekid has quit IRC
[01:54:03] *** visionary__ has quit IRC
[01:54:05] <SockSorcerer> yes, why?
[01:54:20] <davek> SockSorcerer, register with the window onerror event and inspect the message yourself.
[01:54:28] *** skullcrasher has joined #angularjs
[01:54:31] <SockSorcerer> yea
[01:54:43] <robdubya_> andrew9183 oops, haha
[01:54:43] <SockSorcerer> shouldn't really have to though, especially for the purposes of debugging something remotely
[01:54:46] *** Reskp has joined #angularjs
[01:54:52] <robdubya_> SockSorcerer or just stop using shitty resource and do it with $http
[01:54:58] <robdubya_> so you can use promises properly
[01:54:59] <davek> No you shouldn't but it's a bug.
[01:55:07] <davek> Bugs happen, there's already a ticket, deal with it.
[01:55:12] <SockSorcerer> and especially for that particular error where it's erroring because the module isn't found for injection
[01:55:49] <SockSorcerer> davek: if there's already a bug, then cool :)
[01:56:20] <andrew9183> that's very creative !
[01:56:22] *** DrMabuse has quit IRC
[01:56:33] <skullcrasher> I got a short question regarding disabled js. are all expressions just shown in html then?
[01:56:53] <robdubya_> its a bit yuck, and you'd probably be better handling that data side, and it'll probably fall apart the second you apply a filter, but meh
[01:57:12] *** D-Boy has quit IRC
[01:57:17] <davek> skullcrasher, what do you mean?
[01:57:25] <davek> The use of ng-disabled or what?
[01:57:34] <robdubya_> no JS = no angular, no nada
[01:57:46] <skullcrasher> yes ok
[01:58:00] <robdubya_> so you'll see whatever is on your HTML page when it loads, and that's it
[01:58:07] <robdubya_> which is usually = not much at all
[01:58:43] <skullcrasher> robdubya_, well the expression show up :)
[01:58:51] <SockSorcerer> skullcrasher: you can use ng-cloak to hide your templates until angular parses then
[01:59:02] <robdubya_> andrew9183 oh i didnt even get into the even/odd logic. you're going to have to keep track of the "total" index manually, and then your own (custom) ng-class-even/odd type thing
[01:59:03] <SockSorcerer> if js is disabled, they will just not show
[01:59:11] *** MuffinMan` has quit IRC
[01:59:27] <robdubya_> actually
[01:59:41] <skullcrasher> ok, I just go through the first tutorials and want to see if I can throw jquery over board
[02:00:01] *** dccc has joined #angularjs
[02:00:02] *** MuffinMan` has joined #angularjs
[02:00:04] *** mguillech has quit IRC
[02:00:11] <robdubya_> you could just do ng-class="{ even: totalIndex % 2 == 0, odd: totalIndex % 2 != 0 }"
[02:00:33] *** mguillech has joined #angularjs
[02:00:41] <SockSorcerer> why not just use element:nth-child(odd) and nth-child(even)?
[02:00:43] *** MaxV has joined #angularjs
[02:00:54] *** OffTheRails has quit IRC
[02:01:15] <andrew9183> SockSorcerer: unfortunately its nested in tbody's so the nth-child is scoped to the tbody
[02:01:16] <robdubya_> SockSorcerer its a nested repeat
[02:01:34] <SockSorcerer> ah
[02:01:43] *** seydoggy has joined #angularjs
[02:02:56] *** jonasrosenlind has joined #angularjs
[02:04:49] *** D-Boy has joined #angularjs
[02:04:50] *** mguillech has quit IRC
[02:05:13] *** stevvooe_ has joined #angularjs
[02:05:17] *** balancerockmedia has joined #angularjs
[02:05:22] *** MaxV has quit IRC
[02:05:42] *** stevvooe has quit IRC
[02:05:44] *** slainer68 has quit IRC
[02:06:08] *** bejames has quit IRC
[02:06:08] *** b1rkh0ff has quit IRC
[02:06:11] *** jamesshi_ has joined #angularjs
[02:06:22] *** bLu_ has joined #angularjs
[02:06:43] *** CodeFriar has joined #angularjs
[02:06:45] *** BlinkyBill has quit IRC
[02:07:11] *** tschundeee has quit IRC
[02:07:11] <wafflejock> skullcrasher: yes regarding jQuery going overboard, was just complaining to my roommate here that I wish something else would break aside from parts where people are abusing jQuery, initially I think it's good to stop thinking about how you would solve problems with jQuery since it generally lands you in using your view as a model which is bad
[02:07:30] *** synestry has quit IRC
[02:07:43] *** styles has joined #angularjs
[02:07:43] *** styles has joined #angularjs
[02:07:56] *** jonasrosenlind has quit IRC
[02:08:07] *** zwacky has quit IRC
[02:08:28] *** balancerockmedia has left #angularjs
[02:09:05] *** vintik has quit IRC
[02:09:30] *** jamesshijie has quit IRC
[02:09:39] *** vintik has joined #angularjs
[02:10:21] *** bphogan_afk is now known as bphogan
[02:10:58] *** seydoggy has quit IRC
[02:11:32] *** seydoggy has joined #angularjs
[02:11:42] *** RedOrangeZ has quit IRC
[02:12:40] *** bootsWitDaFur has joined #angularjs
[02:13:27] *** seydoggy has quit IRC
[02:13:30] *** s3shs has joined #angularjs
[02:13:32] *** TimmyTones has quit IRC
[02:13:39] *** richiebkr has quit IRC
[02:13:41] *** seydoggy has joined #angularjs
[02:13:57] *** vintik has quit IRC
[02:14:21] *** zumba_addict has quit IRC
[02:14:48] *** fedenunez has joined #angularjs
[02:15:16] *** subnl2 has joined #angularjs
[02:15:32] *** bphogan is now known as bphogan_afk
[02:16:50] *** henn1nk has quit IRC
[02:18:37] *** jamto11 has joined #angularjs
[02:19:02] *** prbc has quit IRC
[02:20:06] *** Nek has quit IRC
[02:20:40] *** CodeFriar has quit IRC
[02:21:01] *** skullcrasher has quit IRC
[02:21:25] *** bicranial has joined #angularjs
[02:21:36] *** holymac has joined #angularjs
[02:21:44] *** elrabin has joined #angularjs
[02:22:18] *** davedev24_ has quit IRC
[02:22:49] *** brownbathrobe has quit IRC
[02:23:12] *** jamto11 has quit IRC
[02:23:24] *** eperez has joined #angularjs
[02:23:27] *** bbankes has joined #angularjs
[02:24:16] *** mkc has joined #angularjs
[02:24:21] *** OffTheRails has joined #angularjs
[02:25:40] *** waylon999 has quit IRC
[02:26:13] *** mkc has quit IRC
[02:26:14] *** waylon999 has joined #angularjs
[02:26:19] *** bootsWitDaFur has quit IRC
[02:26:23] *** mkc has joined #angularjs
[02:26:57] *** rigel_ has quit IRC
[02:27:09] *** bphogan_afk is now known as bphogan
[02:27:14] *** DrMabuse has joined #angularjs
[02:27:54] *** zumba_addict has joined #angularjs
[02:28:08] <panchisco> OT: If you have an Invoice of $100, you then take payment of $100, then you refund $50, what should the balance be? Still 0 or $50? How then, should a “Fully Paid” status be calculated?
[02:28:19] *** rigel_ has joined #angularjs
[02:28:42] *** DrMabuse has quit IRC
[02:29:27] *** AciD`` has quit IRC
[02:30:54] *** waylon999 has quit IRC
[02:31:00] *** dccc has quit IRC
[02:31:02] *** mguillech has joined #angularjs
[02:31:05] *** danielpquinn has quit IRC
[02:31:41] *** danielpquinn has joined #angularjs
[02:31:48] *** CodeFriar has joined #angularjs
[02:32:24] *** zumba_addict has quit IRC
[02:32:37] *** Kane`_ has quit IRC
[02:33:09] *** zumba_ad_ has joined #angularjs
[02:33:19] <zumba_ad_> ooops, got disconnected
[02:33:23] *** rho has quit IRC
[02:33:28] *** jimmy___ has quit IRC
[02:34:35] <SockSorcerer> panchisco: the balance is +$50
[02:34:38] <SockSorcerer> it's called a credit
[02:34:56] *** BlinkyBill has joined #angularjs
[02:34:58] *** lucasefe has joined #angularjs
[02:35:05] <SockSorcerer> if you refund it, then the balance is $0, and you should track that refund somewhere
[02:35:30] <SockSorcerer> "fully paid" would be whether the account is >= $0
[02:35:37] *** fedenunez has quit IRC
[02:35:53] *** rho has joined #angularjs
[02:36:08] *** danielpquinn has quit IRC
[02:37:11] *** bertrandk has quit IRC
[02:37:18] <panchisco> SockSorcerer: So I should be using both Credit and Refund for a case like this?
[02:37:21] <dynacker> i use private internet access zumba_ad_
[02:37:26] <dynacker> it's pretty good
[02:37:29] <zumba_ad_> ok
[02:37:29] *** ome has quit IRC
[02:37:38] <dynacker> mainly to get around our firewall at work
[02:37:43] <zumba_ad_> i was just reading a thread, mixed of good and bad reviews
[02:37:47] *** mguillech has quit IRC
[02:37:51] <dynacker> what were the bad reviews saying?
[02:38:03] <zumba_ad_> it became slower
[02:38:06] <dynacker> i'm from AU too and use the california nodes
[02:38:11] <dynacker> speed seems good enough
[02:38:17] *** JoshGlzBrk has joined #angularjs
[02:38:22] <zumba_ad_> k
[02:39:22] *** fedenunez has joined #angularjs
[02:40:35] *** jonnybro has quit IRC
[02:41:48] *** Aartsie has joined #angularjs
[02:42:43] *** greengriminal has quit IRC
[02:42:50] *** xavia has joined #angularjs
[02:42:58] *** greengriminal has joined #angularjs
[02:43:00] *** knownasilya has quit IRC
[02:43:07] <SockSorcerer> panchisco: depends on the business, i suppose
[02:43:17] <SockSorcerer> some companies don't actually do refunds
[02:43:23] <SockSorcerer> some companies only do refunds
[02:43:43] <panchisco> SockSorcerer: I need to handle refunds.. i’m just trying to get my business logic down correctly in this area
[02:43:48] *** lucasefe has quit IRC
[02:43:49] *** codedungeon has quit IRC
[02:43:50] *** bbankes has quit IRC
[02:44:11] *** stevvooe_ has quit IRC
[02:44:27] *** Foxandxss has quit IRC
[02:44:29] *** dcrk has quit IRC
[02:44:58] *** ahsin has joined #angularjs
[02:45:09] *** ahsin has left #angularjs
[02:45:20] *** darrin has joined #angularjs
[02:46:13] *** bLu_ has quit IRC
[02:46:22] *** blueadept has quit IRC
[02:46:28] *** Aartsie has quit IRC
[02:46:46] *** BillCriswell has joined #angularjs
[02:46:48] *** bLu_ has joined #angularjs
[02:47:04] <SockSorcerer> that's how i would handle it, probably. i would track both credits and refunds, but i would change the account balance to be positive for whatever the credit value is
[02:47:15] <SockSorcerer> a refund would just cancel out a previous charge
[02:47:17] *** danyim has joined #angularjs
[02:47:32] <SockSorcerer> which would zero that out in the accuont balance
[02:48:20] *** patrickarlt has joined #angularjs
[02:48:25] *** TimmyTones has joined #angularjs
[02:48:33] *** patrickarlt has quit IRC
[02:48:36] *** TimmyTones has quit IRC
[02:49:00] *** mven_ has joined #angularjs
[02:50:02] *** Aliks_ has quit IRC
[02:50:19] *** willmarshall has joined #angularjs
[02:50:33] *** nanoyak has quit IRC
[02:50:39] *** Aliks_ has joined #angularjs
[02:51:12] *** bLu_ has quit IRC
[02:51:18] *** gunn has quit IRC
[02:51:22] *** danyim has quit IRC
[02:51:55] *** jamto11 has joined #angularjs
[02:53:36] *** gunn has joined #angularjs
[02:53:41] *** codedungeon has joined #angularjs
[02:55:06] *** Aliks_ has quit IRC
[02:55:10] *** bbrown has quit IRC
[02:55:20] *** zivester has joined #angularjs
[02:55:41] *** stevvooe has joined #angularjs
[02:55:47] *** lw has joined #angularjs
[02:56:21] *** patrick99e99 has joined #angularjs
[02:57:16] *** cyen_ has joined #angularjs
[02:57:20] *** Reskp has quit IRC
[02:57:24] *** snurfery has joined #angularjs
[02:57:31] *** rquinn has joined #angularjs
[02:58:50] <cyen_> Hi, I am using angular-ui/ui-router to direct an address to an html page. I get the html page, however, it doesn't hit the backend for some reason. Any ideas?
[02:59:02] *** AlexZanf has quit IRC
[02:59:25] *** seydoggy has quit IRC
[02:59:34] *** krawek has quit IRC
[02:59:41] *** jamto11 has quit IRC
[02:59:47] *** toastynerd has quit IRC
[02:59:58] *** seydoggy has joined #angularjs
[03:00:18] <SockSorcerer> no
[03:00:22] <SockSorcerer> show us your code
[03:00:31] <cyen_> My line of code is this: app.route('/users') .get(compositions.showProfile); and it doesn't ever hit showProfile
[03:00:41] <zelrik> I wont help you if you use angular-ui
[03:00:54] *** in_deep_thought has quit IRC
[03:00:55] *** lefant has quit IRC
[03:00:56] <cyen_> Sorry, I am using angular-ui/ui-router.
[03:01:10] <zelrik> :p
[03:01:26] *** MaxV has joined #angularjs
[03:01:29] *** InezK is now known as InezK_away
[03:02:19] *** TorchDragon has joined #angularjs
[03:03:14] *** in_deep_thought has joined #angularjs
[03:03:30] *** frickettz has joined #angularjs
[03:03:57] *** tsalb has quit IRC
[03:04:00] *** seydoggy has quit IRC
[03:06:02] *** MaxV has quit IRC
[03:06:10] *** in_deep_thought has quit IRC
[03:06:21] *** jshultz has quit IRC
[03:06:28] *** subnl has quit IRC
[03:06:50] *** BReda has joined #angularjs
[03:06:54] *** TorchDragon has quit IRC
[03:07:05] <BReda> Hello all !
[03:07:47] *** bertrandk has joined #angularjs
[03:08:23] *** scriptThis has joined #angularjs
[03:09:07] *** KernelCurry has quit IRC
[03:09:53] *** fedenunez has quit IRC
[03:10:13] *** Bardosity has joined #angularjs
[03:11:31] *** InezK_away is now known as InezK
[03:12:21] <cigarshark> is it possible to update the location hash without triggering the router? is that an anti-pattern?
[03:12:25] *** jlambert has quit IRC
[03:12:32] *** bertrandk has quit IRC
[03:12:40] <cigarshark> i saw a hack method on stack overflow but it seems like it could have very bad side effects
[03:12:42] *** Sky[x] has quit IRC
[03:13:01] *** styles has quit IRC
[03:13:11] <cigarshark> should i just drive all my logic through the router to avoid this?
[03:13:22] *** cthrax has joined #angularjs
[03:13:23] *** uchuff has quit IRC
[03:13:35] *** cerbone has quit IRC
[03:13:38] <MistahKurtz> cigarshark probably.
[03:13:50] <wallerdev> does $location.replace() trigger the route
[03:14:08] <wallerdev> i guess it would
[03:14:27] <cigarshark> i have heard that driving all the logic through the router is an anti-pattern, at least according to Derik Bailey in one of his backbone posts.
[03:14:36] *** heidi has quit IRC
[03:14:54] <wallerdev> why are you updating the location hash if it has nothing to do with routing?
[03:15:25] *** motionman has joined #angularjs
[03:15:26] <cigarshark> just for bookmarkability
[03:15:42] *** itsmeandrewd has quit IRC
[03:16:24] *** anene has joined #angularjs
[03:16:29] <wallerdev> if you use $location.search you can update it with params and that wont trigger a state change
[03:16:35] <cigarshark> its easy to go through the router, but i just remember derik bailey had a post about why this is an antipattern in SPAs . too bad i can't remember his rationale. I'll see if I can dig it up.
[03:16:47] <wallerdev> yeah would be good to read
[03:18:19] *** milky has joined #angularjs
[03:18:47] <cigarshark> i'm going to re-read it. essentially he says not to call any sort of router code from your app, but rather...perform the logic and update the hash...bypassing the router entirely. this is backbone but same would apply to angular.
[03:19:22] *** stevvooe has quit IRC
[03:19:25] <wallerdev> interesting
[03:19:29] *** toastynerd has joined #angularjs
[03:19:39] <wallerdev> will read as well, probably tomorrow though
[03:19:41] *** toastynerd has quit IRC
[03:20:14] *** prbc has joined #angularjs
[03:20:31] *** sbeam has quit IRC
[03:20:52] *** stevvooe has joined #angularjs
[03:21:07] *** ckboii89 has joined #angularjs
[03:22:59] *** jareddlc has quit IRC
[03:23:30] *** agrajag42 has quit IRC
[03:24:59] *** holymac has quit IRC
[03:25:02] *** rho has quit IRC
[03:25:29] *** ccbmx has joined #angularjs
[03:26:57] *** holymac has joined #angularjs
[03:27:02] *** stevvooe has quit IRC
[03:27:08] *** phuh has quit IRC
[03:27:16] *** InezK is now known as InezK_away
[03:27:16] *** bphogan is now known as bphogan_afk
[03:27:50] *** phuh has joined #angularjs
[03:28:01] *** fatshark has quit IRC
[03:28:12] *** rud has quit IRC
[03:28:20] *** Reskp has joined #angularjs
[03:29:08] *** DrMabuse has joined #angularjs
[03:29:13] *** subsonic has quit IRC
[03:29:24] *** FIFOd[a] has quit IRC
[03:29:25] *** mcicoria has joined #angularjs
[03:29:38] *** mcicoria has joined #angularjs
[03:30:04] *** FIFOd[a] has joined #angularjs
[03:30:37] *** conner_ has joined #angularjs
[03:30:50] *** AlexZanf has joined #angularjs
[03:31:24] *** knownasilya has joined #angularjs
[03:31:31] *** edrocks has joined #angularjs
[03:32:05] *** danielpquinn has joined #angularjs
[03:32:22] *** prbc has quit IRC
[03:32:47] *** Reskp has quit IRC
[03:32:58] *** prbc has joined #angularjs
[03:33:22] <edrocks> anyone using webpack?
[03:33:24] *** whunt has quit IRC
[03:33:38] <wallerdev> i think i need to learn backbone before this post would make sense lol
[03:34:04] <cyen_> Is anybody here familiar with angular-ui/ui-router???
[03:34:15] *** DrMabuse has quit IRC
[03:34:18] *** jamto11 has joined #angularjs
[03:34:21] <edrocks> cyen_: im no expert but i could probably help you
[03:34:32] *** FIFOd[a] has quit IRC
[03:34:33] <wallerdev> i use ui-router as well
[03:34:40] <cyen_> Awesome! Thank you guys
[03:35:01] <wallerdev> glad i could help
[03:35:06] <wallerdev> lol
[03:35:15] <cyen_> so, I have these states in a 'Compositions' module. These states are all for compositions that are like 'compositions/:compositionId' or 'composition/create'
[03:36:02] <cyen_> and so I wanted to add another state
[03:36:13] <cyen_> it's called 'users'
[03:36:31] *** Pookz has quit IRC
[03:36:42] <cyen_> and for some reason when I GET to /users/ ... I want it to hit a method called showProfile... but it does not.
[03:36:48] *** danielpquinn has quit IRC
[03:36:53] *** davedev24_ has joined #angularjs
[03:36:53] *** stevvooe has joined #angularjs
[03:36:53] *** chrisbirk has joined #angularjs
[03:37:08] <cyen_> if I forget the angular symbol #!/users and instead go with /users... I get to my backend method
[03:37:15] <cyen_> ... I am so sorry that is confusing.. I am using mean.io
[03:37:18] <cyen_> and they abstract it a lot.
[03:37:27] <cyen_> I could show you my code, but it doesn't work on plunker
[03:37:34] <wallerdev> lol
[03:37:39] *** codedungeon has quit IRC
[03:37:41] <wallerdev> thats always a good sign
[03:37:45] <cyen_> soooo it'd be hard to test. lol.
[03:37:47] *** prbc has quit IRC
[03:37:57] *** FIFOd[a] has joined #angularjs
[03:37:58] <cyen_> Hmm. It's just it's abstracted with server stuff as well..
[03:37:59] *** FIFOd[a] has quit IRC
[03:38:21] *** stevvooe has quit IRC
[03:38:35] *** FIFOd[a] has joined #angularjs
[03:38:47] <wallerdev> how do you define your states? cant you define another state for your /users path
[03:38:53] <wallerdev> and give it a templateUrl
[03:39:24] *** holymac_ has joined #angularjs
[03:39:33] *** kirfu has joined #angularjs
[03:39:39] <cyen_> I define my states like how you describe
[03:39:55] *** stevvooe has joined #angularjs
[03:39:59] <cyen_> I have a url: '/users' and I have a templateUrl that points to my html page. I actually get the html page
[03:40:04] <cyen_> but angular does not hit my backend method.
[03:40:35] <edrocks> cyen
[03:40:38] <edrocks> enable html5mode
[03:40:51] <cyen_> okay..
[03:40:57] <edrocks> that will remove the hashbangs(#!)
[03:41:17] <cyen_> I see.
[03:41:25] <cyen_> How do I enable html5 mode? Is that in my code or in my browser?
[03:41:37] <edrocks> ur code one sec ill find it
[03:42:04] <edrocks> $locationProvider.html5Mode(true)
[03:42:17] *** holymac has quit IRC
[03:42:17] <edrocks> add that in your config
[03:42:22] <wallerdev> im still confused about what he wants lol
[03:42:25] <edrocks> or service
[03:42:44] *** holymac has joined #angularjs
[03:42:52] *** FIFOd[a] has quit IRC
[03:42:57] <edrocks> i think his server is only recognizing mysite.com/myservice/dosomething instead of mysite.com/#!myservice/dosomething
[03:43:08] *** prbc has joined #angularjs
[03:43:22] *** s3shs has quit IRC
[03:43:50] *** JosephSilber has joined #angularjs
[03:44:03] *** tzu_chi has joined #angularjs
[03:44:05] <wallerdev> but tahts how it should work for the server side of things, the 2nd link hits / on the server and sends the myservice/dosomething to angular
[03:44:45] <cyen_> hm.
[03:44:48] *** bmac has joined #angularjs
[03:44:49] *** holymac_ has quit IRC
[03:44:50] <cyen_> It didn't work :/
[03:44:58] <cyen_> wait
[03:44:59] <cyen_> nvm
[03:45:00] <cyen_> it did :D
[03:45:02] <edrocks> idk i never used node for server side i use go and make everything pretty urls with no hashbangs
[03:45:04] *** Shai_Tan has joined #angularjs
[03:45:13] <wallerdev> glad it worked lol
[03:45:15] <cyen_> Pretttyyy cool. I don't know how you did, but that's awesome. lol
[03:45:29] *** bmac has quit IRC
[03:45:30] <cyen_> I thought no one would understand me. Angular-ui/ui-router is sooo abstract.
[03:45:35] *** tigrang has quit IRC
[03:45:55] <edrocks> read there guides there api docs suck but the guides on there github wiki are decent
[03:46:12] <Shai_Tan> is there a grid option for angular similar to jquery's DataTables
[03:46:21] *** JosephSilber has quit IRC
[03:46:22] *** bLu_ has joined #angularjs
[03:46:30] <edrocks> took me a while to get it but i got afew apps no so its easy for me to pull most of the code from them
[03:46:31] <cyen_> I do like their docs too, but this bug..
[03:46:39] *** JosephSilber has joined #angularjs
[03:46:41] <cyen_> It drove me bonkers. I can't believe how easily you solved it.
[03:47:06] *** holymac has quit IRC
[03:47:44] <cyen_> Thank you again :)
[03:47:47] <edrocks> idk exactly how you define your routes in node but with go it makes it pretty obvious. Only problem i had at first was i didnt know that the html5 mode even existed
[03:47:48] <edrocks> np
[03:48:00] *** lw has quit IRC
[03:48:01] *** Noeble has quit IRC
[03:48:20] *** InezK_away is now known as InezK
[03:49:19] *** bmac has joined #angularjs
[03:49:47] *** wuwoot has joined #angularjs
[03:49:58] <cyen_> twitter did the same thing for a while... they had the #! in front of their urls too
[03:50:00] *** cigarshark has quit IRC
[03:50:02] *** mindlace has joined #angularjs
[03:50:09] *** [n0b0dy] has quit IRC
[03:50:18] *** [n0b0dy] has joined #angularjs
[03:50:42] <wallerdev> we use the # still
[03:51:06] <wallerdev> i dont think all browsers support no #
[03:51:07] <edrocks> i only use it on my phonegap app but thats because its a local file and it breaks if you use html5 mode but you dont see it anyways
[03:51:22] <edrocks> they need history api
[03:51:24] *** kirfu has quit IRC
[03:51:30] <wallerdev> yeah
[03:51:32] *** fedenunez has joined #angularjs
[03:51:33] <wallerdev> pushstate etc right?
[03:51:56] <edrocks> but i also think screw old browsers they will update eventually and me not supporting them is one more reason for ppl to update
[03:52:16] <Shai_Tan> thanks guys, you rock
[03:52:19] <wallerdev> yeah but not letting people come to your site to buy things is a bit worse for us
[03:52:20]
<wuwoot> question: my app is making a request to my mocked backend @ http://localhost:3000/api/v1/rankings/:id, but I can’t figure out how to get $httpBackend.when(‘GET’, [what goes here]) to work… little help, please?
[03:52:21] <edrocks> but im also not supporting legacy crap
[03:52:21] <wallerdev> lol
[03:52:23] *** shinnya has quit IRC
[03:52:36] <edrocks> so its easier choice for me
[03:52:43] *** stayarrr has joined #angularjs
[03:53:05] <edrocks> like if i ever update our main external site i have to support ie7 until next year
[03:53:34] <cyen_> so, enabling html5 mode has broke a lot of my routes now :/ It thinks I am trying to GET resources from the root twice
[03:53:53] *** wallerdev has quit IRC
[03:54:00] *** anjumkaiser has quit IRC
[03:54:14] <edrocks> look at the network tab of chromes dev tools
[03:54:19] *** Shai_Tan has quit IRC
[03:54:24] *** calumet has joined #angularjs
[03:54:25] <edrocks> you probably just need to update your server side now
[03:54:36] <edrocks> to forward everything to one file
[03:54:39] *** conner_ has quit IRC
[03:54:43] *** s3shs has joined #angularjs
[03:54:50] <edrocks> like /myapp/something needs to forward to /myapp now
[03:55:07] *** karinaOK has quit IRC
[03:55:11] *** tigrang has joined #angularjs
[03:55:14] <edrocks> or you will have errors if you ever refresh your page on /myapp/something and it would only work if you came from /myapp otherwise
[03:55:27] *** whunt has joined #angularjs
[03:55:52] *** whitebook has joined #angularjs
[03:57:41] *** bphogan_afk is now known as bphogan
[03:57:51] <cyen_> I don't understand. The break seems to happen on random pages. Is there another way to fix my problem without enabling html5?
[03:58:11] *** InezK is now known as InezK_away
[03:58:17] *** bLu_ has quit IRC
[03:58:29] *** willmarshall has quit IRC
[03:58:53] *** bLu_ has joined #angularjs
[03:59:47] <edrocks> is it when you reload?
[04:00:03] <cyen_> It's when I am navigating my site
[04:00:16] <cyen_> If I go from a root like /articles/ to /compositions/ it breaks
[04:00:28] <cyen_> How would one forward everything to one file?
[04:00:36] *** colock_ has quit IRC
[04:00:39] *** seydoggy has joined #angularjs
[04:00:53] *** zfogg_ has quit IRC
[04:01:10] <edrocks> idk i never used node
[04:01:14] <edrocks> its a server side
[04:01:35] *** bmac has quit IRC
[04:01:35] <edrocks> in go i use router.HasPrefix("basefile").myhandler
[04:01:52] *** ccohn has joined #angularjs
[04:01:58] <cyen_> I see...
[04:02:00] *** zfogg_ has joined #angularjs
[04:02:03] *** colock_ has joined #angularjs
[04:02:12] *** MaxV has joined #angularjs
[04:02:14] *** DoubleAW is now known as murt
[04:02:18] *** murt is now known as DoubleAW
[04:02:27] <BobbieBarker> anyone in here have any experience with s3??
[04:02:50] *** kirfu has joined #angularjs
[04:03:02] *** newUser1234 has joined #angularjs
[04:03:03] *** darrin has quit IRC
[04:03:30] *** willmarshall has joined #angularjs
[04:03:31] <cyen_> edrocks: Do you mean to have all my routes in one file?
[04:03:32] *** bLu_ has quit IRC
[04:03:36] *** styles has joined #angularjs
[04:03:36] *** styles has joined #angularjs
[04:03:42] <wafflejock> trying to figure out what is causing a state change in ui-router I have state change event handlers but not sure how to trace back to what started the state change, any suggestions?
[04:03:47] *** TorchDragon has joined #angularjs
[04:03:58] <edrocks> i mean if anything begins with "something" you return your whatever.html
[04:04:32] *** kirfu1 has joined #angularjs
[04:04:34] *** toastynerd has joined #angularjs
[04:04:38] <BobbieBarker> wafflejock you can turn on the state change messages
[04:04:46] <BobbieBarker> and errors from ui.router
[04:04:52] *** seydoggy has quit IRC
[04:05:17] <cyen_> edrocks: Could you give me examples of what your talking about?
[04:05:50] <BobbieBarker> anyone have any experience sending data to aws s3?
[04:06:24] *** bertrandk has joined #angularjs
[04:06:25] *** elrabin has quit IRC
[04:06:33] <MistahKurtz> BobbieBarker you don't really send data to AWS S3
[04:06:39] <MistahKurtz> what are you trying to do?
[04:06:43] <edrocks> api.PathPrefix("/message").HandlerFunc(messengerHandler) and i have pages like /message/detail /message/create etc
[04:06:43] <cyen_> edrocks: Nevermind, I know how to fix this. I've been using mean.io. Have you used the stack before?
[04:06:53] <edrocks> they all go to my message.html
[04:06:55] <edrocks> no
[04:06:58] *** elrabin has joined #angularjs
[04:07:05] <edrocks> whats it do?
[04:07:07] *** MaxV has quit IRC
[04:07:18] <BobbieBarker> .... store a file on s3
[04:07:24] <BobbieBarker> well set up a file upload directive to s3
[04:07:25] *** willmarshall has quit IRC
[04:07:35] <wafflejock> BobbieBarker: got a link? I have state change event handlers but since it's all happening async I can't just see what called $state.go or whatever to initiate the state change
[04:07:47] *** kirfu has quit IRC
[04:07:54] *** TorchDragon has quit IRC
[04:07:56] *** willmarshall has joined #angularjs
[04:08:09] *** mspier is now known as mspier_off
[04:08:15] <cyen_> edrocks: It's a webstack for Mongodb, Express, Angular and Nodejs, but it is built and supported by linnovate. I think their documentation sucks and it's more of a tutorial, but I didn't realize until I started my college project...
[04:08:22] *** zfogg_ has quit IRC
[04:08:27] <BobbieBarker> that maybe a hit or a miss for you bro
[04:08:27] <wafflejock> BobbieBarker: bug I'm working on is that the same state change happens twice but I only see the one call to $state.go and trying to dig out the other state change call cause right now it's going to the same state twice
[04:08:30] *** BryceReynolds has quit IRC
[04:08:42] <cyen_> edrocks: It abstracts everything into different modules, different features.
[04:08:47] <edrocks> o i use mongo on server side
[04:08:53] <BobbieBarker> MistahKurtz i have a sourceUrl i'm using
[04:08:56] <edrocks> you use mongo client side?
[04:09:02] <MistahKurtz> cyen_ I'm not a fan of mean.io either
[04:09:14] <MistahKurtz> although there website looks quite a bit different than from when I first tried it
[04:09:15] <BobbieBarker> we use an l4 back end
[04:09:43] <cyen_> edrocks: Hmm, am I using mongo client side? Yes? I think? I wanted to retrieve a user from the db and display their information on a page. But I have a data access layer as well
[04:10:18] <cyen_> MistahKurtz: It looks friendly and usable...
[04:10:47] *** bayousoft has joined #angularjs
[04:10:54] <wafflejock> BobbieBarker: thx for the suggestion will keep poking at it and figure it out here eventually... maybe just need some breakpoints in the ui-router code
[04:11:00] *** elrabin has quit IRC
[04:11:08] <BobbieBarker> perhaps
[04:11:14] <BobbieBarker> sorry i couldn't be of more help to you
[04:11:29] *** b1rkh0ff has joined #angularjs
[04:11:33] *** MuffinMan` has quit IRC
[04:11:36] *** danyim has joined #angularjs
[04:11:42] <BobbieBarker> MistahKurtz do you have any follow ups to my aws s3 issue?
[04:11:51] *** bmac has joined #angularjs
[04:12:02] <the-erm> For the record ... I don't like working in mongo. I'm always running into situations where a join is required, and I end up doing all the logic in python on the backend.
[04:12:40] *** JoshGlzBrk has quit IRC
[04:13:02] *** mmitchel_ has quit IRC
[04:13:12] <MistahKurtz> cyen_, my beef with mean.io when I first tried it some months ago was that it didn't cleanly separate client/server...the server was generating views
[04:13:25] <MistahKurtz> I much prefer the backend-agnostic approach proferred by ngbp
[04:13:55] <edrocks> idk i like go for my backend
[04:14:01] *** night-owl2 has quit IRC
[04:14:09] *** joshontheweb has joined #angularjs
[04:14:46] <the-erm> I need to look into go.
[04:15:04] *** newUser1234 has quit IRC
[04:15:42] *** diffkid has quit IRC
[04:16:01] *** danyim has quit IRC
[04:16:15] *** newUser1234 has joined #angularjs
[04:16:56] *** newUser1234 has quit IRC
[04:17:05] *** newUser1234 has joined #angularjs
[04:17:52] *** danyim has joined #angularjs
[04:18:52] *** bmac has quit IRC
[04:19:23] *** cthrax has quit IRC
[04:19:29] *** patrickarlt has joined #angularjs
[04:20:19] *** heidi has joined #angularjs
[04:20:58] *** night-owl2 has joined #angularjs
[04:21:08] *** BillCriswell has quit IRC
[04:21:50] *** conner_ has joined #angularjs
[04:22:12] *** patrickarlt has quit IRC
[04:22:40] *** toastynerd has quit IRC
[04:23:14] *** toastynerd has joined #angularjs
[04:23:32] *** toastynerd has quit IRC
[04:23:59] *** mdedetrich has joined #angularjs
[04:24:04] *** toastynerd has joined #angularjs
[04:24:35] *** whiteboo_ has joined #angularjs
[04:25:55] *** CodeFriar has quit IRC
[04:26:13] <BobbieBarker> so anyone have any actual experience sending files into aws s3
[04:26:37] *** whitebook has quit IRC
[04:26:49] *** ccohn has quit IRC
[04:27:30] *** slainer68 has joined #angularjs
[04:28:39] *** oste has joined #angularjs
[04:28:42] *** Bade has joined #angularjs
[04:28:44] *** wuwoot has quit IRC
[04:29:06] *** Reskp has joined #angularjs
[04:30:01] *** jobelenus has joined #angularjs
[04:30:06] *** Aartsie has joined #angularjs
[04:30:12] *** teslanick has joined #angularjs
[04:30:13] *** DrMabuse has joined #angularjs
[04:30:37] *** mercwithamouth has quit IRC
[04:31:35] *** davemaurakis has joined #angularjs
[04:32:15] *** InezK_away is now known as InezK
[04:32:22] *** MistahKurtz has quit IRC
[04:32:26] *** eperez has quit IRC
[04:32:42] *** slainer68 has quit IRC
[04:32:50] *** danielpquinn has joined #angularjs
[04:33:00] *** shepheb has quit IRC
[04:33:33] *** earthquake has joined #angularjs
[04:33:48] *** bphogan is now known as bphogan_afk
[04:33:51] <davemaurakis> can someone take a look at this plnkr and tell me what the heck is going on with the scope?
[04:33:52] <davemaurakis> :)
[04:33:52] *** Reskp has quit IRC
[04:34:16] *** bayousoft has quit IRC
[04:34:21] *** mguillech has joined #angularjs
[04:34:23] *** livingstn has joined #angularjs
[04:34:23] *** davemaurakis is now known as brownbathrobe
[04:34:35] *** encrypt3d_fracti has quit IRC
[04:34:45] *** shepheb has joined #angularjs
[04:34:48] *** DrMabuse has quit IRC
[04:35:04] *** encrypt3d_fracti has joined #angularjs
[04:35:11] *** hell_razer has joined #angularjs
[04:35:19] <brownbathrobe> specifically... why the scopes are not the same for all 3 directives...
[04:35:27] *** brownbathrobe has quit IRC
[04:35:29] *** Aartsie has quit IRC
[04:35:35] *** whunt_ has joined #angularjs
[04:35:41] *** davemaurakis has joined #angularjs
[04:35:45] *** Afwas has joined #angularjs
[04:35:53] *** hell_razer has quit IRC
[04:35:58] *** conner_ has quit IRC
[04:36:01] *** davemaurakis is now known as brownbathrobe
[04:36:30] *** Stampy has joined #angularjs
[04:37:47] *** danielpquinn has quit IRC
[04:38:00] *** hell_razer has joined #angularjs
[04:38:05] <brownbathrobe> i would expect all three of these directives to have the same scope, but they do not
[04:38:23] *** whunt has quit IRC
[04:38:31] *** hell_razer has quit IRC
[04:38:35] *** trave has joined #angularjs
[04:39:24] <brownbathrobe> i'm guessing it has something to do with the way they're being compiled
[04:39:25] *** encrypt3d_fracti has quit IRC
[04:39:35] *** mguillech has quit IRC
[04:39:42] *** Olsonfold has quit IRC
[04:40:40] *** hell_razer has joined #angularjs
[04:41:09] *** davesidious_ has joined #angularjs
[04:41:31] *** nickeddy has quit IRC
[04:41:32] *** Hackwar has quit IRC
[04:41:48] *** davesidious has quit IRC
[04:42:16] *** Hackwar has joined #angularjs
[04:42:28] *** yoshokatana has quit IRC
[04:44:12] *** terryb has joined #angularjs
[04:44:36] *** nagappan has quit IRC
[04:44:44] *** encrypt3d_fracti has joined #angularjs
[04:45:08] *** nagappan has joined #angularjs
[04:45:09] *** Fire-Dragon-DoL has quit IRC
[04:45:14] <terryb> greetings, can anyone point me to some guidance please on form validation. Trying to understand how you test validation and how much goes into the controller, please?
[04:48:19] *** Left_Turn has quit IRC
[04:48:34] *** davemerwin has joined #angularjs
[04:49:03] <davemerwin> i'm looking for some guidance with Restangular
[04:49:23] <davemerwin> how do I update a $scope.object after a patch?
[04:49:41] *** phuh has quit IRC
[04:50:12] <snurfery> $scope.object.patch().then(function(obj) { $scope.object = obj;})
[04:50:21] *** phuh has joined #angularjs
[04:50:35] <snurfery> assuming your rest api returns the complete object
[04:50:51] <davemerwin> AHHHHHHH... are you kidding me! Yes, it does. I'll try that now. Thanks!
[04:50:55] <snurfery> np
[04:50:57] *** screamingbanshee has joined #angularjs
[04:51:05] <snurfery> all glory to Restangular of course =)
[04:51:10] <edrocks> anyone use angular-google-maps?
[04:51:29] *** milky has quit IRC
[04:51:41] *** bzitzow has joined #angularjs
[04:51:50] <davemerwin> lol
[04:55:11] *** davedev24_ has quit IRC
[04:55:20] *** screamingbanshee has quit IRC
[04:55:49] *** shepheb_ has joined #angularjs
[04:56:22] <FifthWall> Is there a mechanism for extending built in functionality?
[04:56:38] <FifthWall> Specifically, I'd like to add something like validations to a form
[04:56:44] <FifthWall> Except these should be "warnings"
[04:56:54] <edrocks> FifthWall: make your own directive?
[04:57:43] *** davedev24_ has joined #angularjs
[04:58:11] <FifthWall> Would that let me do stuff like `ng-show="myForm.field.$warning"` the same way I might do with errors?
[04:58:19] *** shepheb has quit IRC
[04:58:26] *** rquinn has quit IRC
[04:58:53] *** mercwithamouth has joined #angularjs
[04:58:56] <davemerwin> @snurfery you just made my week! Thanks for the help.
[04:59:05] <edrocks> cyen_: yea
[04:59:06] <snurfery> sweet, glad it worked out
[04:59:20] <edrocks> i mean fifth you can make it do anything with a directive
[04:59:48] <snurfery> FifthWall: sounds like some plain ol markup to me
[05:00:18] <snurfery> ohhh I see what you mean
[05:00:55] *** bLu_ has joined #angularjs
[05:01:14] *** seydoggy has joined #angularjs
[05:01:43] <snurfery> I mean, everything's just a POJO right
[05:02:04] <snurfery> so you can write a custom validator the sets/unsets myForm.field.$warning
[05:03:01] *** merrihew has quit IRC
[05:03:02] *** MaxV has joined #angularjs
[05:03:30] <FifthWall> Makes sense.
[05:04:34] <SockSorcerer> not everything is an object
[05:04:50] <FifthWall> I was hoping I could mix something in to like NgModelController so I didn't have to redo a bunch of stuff for every warningValidator I wanted to create.
[05:05:38] *** seydoggy has quit IRC
[05:06:18] *** {DV8} has joined #angularjs
[05:06:18] *** the-erm has quit IRC
[05:07:23] *** MaxV has quit IRC
[05:07:50] *** the-erm has joined #angularjs
[05:07:58] *** brownbathrobe has quit IRC
[05:08:04] *** apetro_ has joined #angularjs
[05:09:02] *** zumba_ad_ has quit IRC
[05:09:02] *** encrypt3d_fracti has quit IRC
[05:09:28] *** encrypt3d_fracti has joined #angularjs
[05:09:50] <davemerwin> does anyone work with firefox as a tester? I'm getting an error on every API call: This web page is being redirected to a new location. Would you like to resend the form data you have typed to the new location? - none of teh fixes maks since since I'm local and not using a proxy
[05:09:55] <davemerwin> suggestions?
[05:10:22] *** nickeddy has joined #angularjs
[05:10:48] *** edrocks has quit IRC
[05:11:19] *** naxs has joined #angularjs
[05:12:11] <terryb> in angularjs should the controller play a role in form validation like user.username != ""
[05:12:15] <SockSorcerer> yes. don't use firefox
[05:12:16] *** motionman has quit IRC
[05:12:51] *** richiebkr has joined #angularjs
[05:12:52] *** MTGap has quit IRC
[05:13:28] *** terryb has quit IRC
[05:13:49] <davemerwin> lol
[05:14:07] *** encrypt3d_fracti has quit IRC
[05:14:15] *** InezK is now known as InezK_away
[05:14:19] *** InezK_away is now known as InezK
[05:15:36] *** naxs has quit IRC
[05:16:12] *** fusepilot has left #angularjs
[05:19:58] *** negval has quit IRC
[05:20:27] *** s3shs has quit IRC
[05:22:11] *** jamesbdev has quit IRC
[05:22:38] *** panchisco has quit IRC
[05:22:55] *** calumet has quit IRC
[05:22:59] *** mcicoria has quit IRC
[05:23:32] *** davemerwin has quit IRC
[05:23:47] *** holymac_ has joined #angularjs
[05:23:49] *** InezK is now known as InezK_away
[05:24:16] *** encrypt3d_fracti has joined #angularjs
[05:24:29] *** b1rkh0ff has quit IRC
[05:24:56] *** motionman has joined #angularjs
[05:25:15] *** TyrfingMjolnir has joined #angularjs
[05:26:43] *** CodeFriar has joined #angularjs
[05:27:23] *** tzu_chi has quit IRC
[05:28:49] *** teuteuguy has joined #angularjs
[05:29:27] *** jamesshi_ has quit IRC
[05:29:28] *** steffengy has joined #angularjs
[05:29:52] *** mehlah has quit IRC
[05:29:56] *** Reskp has joined #angularjs
[05:30:48] *** DrMabuse has joined #angularjs
[05:30:53] *** CodeFriar has quit IRC
[05:31:07] <thomasvs> anyone know of an angular project that helps you implement tutorials for your webapp?
[05:31:13] *** kirfu1 has quit IRC
[05:31:30] <thomasvs> Basically, show a bunch of popups step by step, ask your user to type in some values somewhere and click some buttons and see the results, and verify that he's doing it properly every step of the way
[05:31:31] *** iateadonut has left #angularjs
[05:31:33] <thomasvs> to explain how your app works
[05:32:03] *** jobelenus has quit IRC
[05:32:23] <caitp> thomasvs, you mean like bootstrap-tour or whatever?
[05:32:26] *** steffengy1 has quit IRC
[05:32:32] <teuteuguy> Hey everyone, I'm banging my head around how many times my DOM get's reloaded for a simple page refresh. I've got a simple menu div, that i've attached a menu controller to. In that menu controller, I've put a $scope.$watch(function(){console.log('digest called');}); And my console shows that message being called twice. Is there a reason for this ?
[05:32:50] <thomasvs> caitp: I didn't know that one, but that looks about right yeah
[05:32:53] <caitp> i started working on a bootstrap-tour like module last year, but it died
[05:33:02] <caitp> you could probably make one though
[05:33:03] <SockSorcerer> teuteuguy: yes, there is a reason
[05:33:09] <SockSorcerer> read the documentation on $watch
[05:33:12] *** earthquake has quit IRC
[05:33:42] *** danielpquinn has joined #angularjs
[05:33:47] *** trave has quit IRC
[05:33:54] <thomasvs> caitp: bootstrap-tour looks cool, but it's not interactive with your app, so I guess a combo of that and something that ensures the user is typing in or clicking what you tell him to do
[05:34:10] <thomasvs> caitp: would it be possible to use bootstrap-tour as is, or would it have to be angularized?
[05:34:23] *** Reskp has quit IRC
[05:34:30] <caitp> beats me
[05:34:32] <teuteuguy> SockSorcerer: I just did, and I don't understand why
[05:35:17] *** DrMabuse has quit IRC
[05:35:36] *** drej has quit IRC
[05:35:53] *** drej has joined #angularjs
[05:37:20] <teuteuguy> Is there a way to force the dom to only be refreshed once ?
[05:37:49] *** Aliks_ has joined #angularjs
[05:37:58] <teuteuguy> I ask, because I'm concerned that because of this, when I implement API calls, they only be executed once rather than numerous times (like the digest watch is showing).
[05:38:49] *** danielpquinn has quit IRC
[05:39:14] <teuteuguy> Is this the reason: "The watch listener may change the model, which may trigger other listeners to fire. This is achieved by rerunning the watchers until no changes are detected. The rerun iteration limit is 10 to prevent an infinite loop deadlock."
[05:40:04] <snurfery> teuteuguy: $watch is going to be called super often
[05:40:08] <snurfery> there's no getting around that
[05:40:37] <snurfery> your API calls are typically done from your controller, or resolves in your routes, etc
[05:41:12] *** terryb has joined #angularjs
[05:41:19] <snurfery> you mention you're concerned about "what might happen when you implement API calls"
[05:41:24] <snurfery> don't worry about it
[05:41:27] <snurfery> make your API calls
[05:41:39] <snurfery> if there's an observable problem, then ask the question
[05:41:46] <snurfery> ;)
[05:41:48] *** prbc has quit IRC
[05:41:54] <teuteuguy> Well, I'm starting my project over, cleanly
[05:42:09] <teuteuguy> because I was seeing a lot, and I mean a lot of API calls being made (same one).
[05:42:33] *** prbc has joined #angularjs
[05:42:35] <snurfery> start writing your code, and as soon as you see that behavior we can help you by looking at the actual code
[05:42:41] <teuteuguy> And as I'm debugging, I saw that one of my controller functions was getting called extensive amount of times ... investigated... $watch ... and saw this
[05:42:46] <teuteuguy> ok will do
[05:42:47] <teuteuguy> Thanks
[05:42:54] <snurfery> np
[05:42:58] <snurfery> I will say
[05:43:08] *** BillCriswell has joined #angularjs
[05:43:14] *** tarkus has joined #angularjs
[05:43:19] <snurfery> if you put naked/unwrapped code directly in your controllers
[05:43:28] <snurfery> it might get executed more than you'd expect
[05:43:48] *** zumba_addict has joined #angularjs
[05:44:04] *** digia is now known as digia|away
[05:44:27] <teuteuguy> snurfery: what do you mean by naked/unwrapped code ?
[05:44:39] <snurfery> 1 sec
[05:44:59] *** phrozensilver has joined #angularjs
[05:45:50] *** encrypt3d_fracti has quit IRC
[05:46:02] <phrozensilver> If I want to use a text area and accept a whole list of things and then filter each line into its own value in an object what can I look into to do that?
[05:46:09] *** newUser1234 has quit IRC
[05:46:16] *** encrypt3d_fracti has joined #angularjs
[05:47:08] *** prbc has quit IRC
[05:47:49] *** holymac_ has quit IRC
[05:48:00] <snurfery> see what I mean?
[05:48:05] *** tigrang has quit IRC
[05:48:28] <teuteuguy> snurfery: yes thanks
[05:48:29] <teuteuguy> makes sense
[05:48:48] <snurfery> Having a bunch of naked code directly inside my controllers led to a bunch of unwanted rest calls, then I wrapped em up
[05:48:50] *** jamto11 has quit IRC
[05:48:52] *** holymac_ has joined #angularjs
[05:49:02] <snurfery> good luck
[05:49:05] *** yukondude has joined #angularjs
[05:49:10] *** gunn has quit IRC
[05:49:12] <teuteuguy> snurfery: thx
[05:49:27] *** jamto11 has joined #angularjs
[05:50:50] *** yukondude has quit IRC
[05:51:08] *** gunn has joined #angularjs
[05:51:57] *** heidi has quit IRC
[05:53:27] *** heidi has joined #angularjs
[05:53:40] *** motionman has quit IRC
[05:55:08] *** Ethix has quit IRC
[05:56:32] *** jordandotdev has joined #angularjs
[05:56:45] *** Mouzi has joined #angularjs
[05:57:03] *** fedenunez has quit IRC
[05:57:50] *** jamesbdev has joined #angularjs
[05:59:24] *** mindlace has quit IRC
[06:00:03] <teuteuguy> snurfery: are you still there ? can I ask you another question ?
[06:00:09] *** teslanick has quit IRC
[06:00:23] *** OffTheRails has quit IRC
[06:01:01] <snurfery> sure, what's up
[06:03:12] <teuteuguy> snurfery: I've got an issues with loading up my menu. My html loads up a div with the menu controller attached to it. Then each item of the menu has an ng-if attached to it that calls a function in the menu controller to define (based on user rights) if that menu item should be displayed or not. Upon refresh, i get a flicker of the html code for each menu item, before they actually disapear... Anyway to avoid this flicker effec
[06:03:41] *** codedungeon has joined #angularjs
[06:03:43] *** MaxV has joined #angularjs
[06:04:00] <snurfery> got cut off a little bit
[06:04:07] <snurfery> but you might be looking for ng-cloak
[06:04:47] *** zumba_addict has quit IRC
[06:04:55] <teuteuguy> snurfery: great, i'll have a look
[06:04:59] <teuteuguy> snurfery: thx again
[06:05:02] <snurfery> np
[06:05:06] *** TorchDragon has joined #angularjs
[06:05:20] *** styles has quit IRC
[06:05:34] *** whiteboo_ has quit IRC
[06:05:39] *** Siecje1 has quit IRC
[06:06:15] <teuteuguy> snurfery: yep, that was it :)
[06:06:23] *** defaultdict has quit IRC
[06:06:46] <snurfery> shweeeeet
[06:06:55] *** jamto11 has quit IRC
[06:06:55] <snurfery> super glad angular has all this stuff built-in
[06:06:59] *** motionman has joined #angularjs
[06:07:47] *** night-owl2 has quit IRC
[06:08:03] *** jamesbdev_ has joined #angularjs
[06:08:07] *** MaxV has quit IRC
[06:09:02] *** tomzx is now known as tomzx`afk
[06:09:14] *** nanoyak has joined #angularjs
[06:09:45] *** TorchDragon has quit IRC
[06:10:01] *** jamesbdev has quit IRC
[06:11:02] *** [n0b0dy] has quit IRC
[06:11:12] *** [n0b0dy] has joined #angularjs
[06:11:30] *** night-owl2 has joined #angularjs
[06:11:57] *** AlSquire has joined #angularjs
[06:12:09] *** phuh has quit IRC
[06:12:17] *** josh-k_ has quit IRC
[06:12:20] *** duke_ has joined #angularjs
[06:12:34] *** jamesbdev_ has quit IRC
[06:12:35] *** phuh has joined #angularjs
[06:14:39] *** InezK_away is now known as InezK
[06:14:51] *** jamesbdev has joined #angularjs
[06:14:55] *** citizen-stig has joined #angularjs
[06:15:20] *** MistahKurtz has joined #angularjs
[06:15:46] *** heidi has quit IRC
[06:16:18] *** bc____ has joined #angularjs
[06:17:39] *** negletios has joined #angularjs
[06:18:13] *** gauravsaini03 has joined #angularjs
[06:18:20] *** RandyT has quit IRC
[06:18:22] *** Aartsie has joined #angularjs
[06:18:46] *** bc has quit IRC
[06:18:50] *** holymac_ has quit IRC
[06:18:53] *** sneakertack has joined #angularjs
[06:19:54] *** holymac_ has joined #angularjs
[06:19:57] *** gunn has quit IRC
[06:20:21] *** phrozensilver has quit IRC
[06:20:23] *** Vinnyceptr has joined #angularjs
[06:21:31] *** bc____ is now known as bc
[06:21:37] *** bc has joined #angularjs
[06:21:40] *** benjamingr has joined #angularjs
[06:22:05] *** bc has left #angularjs
[06:22:19] *** Joshee has joined #angularjs
[06:22:55] *** Aartsie has quit IRC
[06:23:00] *** negletios has quit IRC
[06:23:03] *** mennea has joined #angularjs
[06:23:14] *** heidi has joined #angularjs
[06:23:26] *** stayarrr has quit IRC
[06:24:34] *** InezK is now known as InezK_away
[06:25:18] *** motionman has quit IRC
[06:26:23] *** gauravsaini03 has quit IRC
[06:26:52] *** motionman has joined #angularjs
[06:27:24] <Aliks_> ok, so I have a "multiple selection" type element, which has individual selector elements within it... each of the "individual selectors" takes an ng-model...
[06:27:36] *** nanoyak has quit IRC
[06:27:45] <Aliks_> but the problem is, the value I need to set is ".selection" on each of the selections
[06:27:52] *** heidi has quit IRC
[06:27:54] *** stayarrr has joined #angularjs
[06:27:55] *** vintik has joined #angularjs
[06:28:03] <Aliks_> so for example, the ng-model would be ng-model="something[index].selection"
[06:28:08] *** MacWinner has quit IRC
[06:28:26] <Aliks_> but in the multiple selector, I'm not sure how to pass through that information to the individual selectors
[06:29:03] *** gauravsaini03 has joined #angularjs
[06:29:16] <Aliks_> so for example <multi-select selectors="something"> would be fine if I could just iterate over the "something" array
[06:29:27] <Aliks_> but I also need to add .selection to it... but that's only in this case
[06:29:34] <Aliks_> it isn't reusable if I just hard code that
[06:29:47] <Aliks_> so I'm thinking, I could provide getterSetter models to the child selectors
[06:30:46] *** Reskp has joined #angularjs
[06:30:57] <wafflejock> anyone use bitbucket.org.... seems to be down?
[06:31:16] <Aliks_> or I could provide some other way of indicating to the child selectors that they should set a property on the value rather than the whole value
[06:31:32] <Aliks_> yeah it's down
[06:31:34] *** DrMabuse has joined #angularjs
[06:32:14] <wafflejock> yeah thanks for confirmation
[06:32:20] *** night-owl2 has quit IRC
[06:33:12] *** DrMabuse has quit IRC
[06:33:23] *** DrMabuse has joined #angularjs
[06:33:29] <Aliks_> hmm but passing gettersetter functions seems nasty...
[06:33:42] <Aliks_> for an array of things I'd probably have to pass an array of unique functions...
[06:33:57] <Aliks_> possible, not particularly difficult, but doesn't seem especially clean
[06:34:22] *** danielpquinn has joined #angularjs
[06:35:12] *** Reskp has quit IRC
[06:35:44] *** mguillech has joined #angularjs
[06:36:41] *** danyim has quit IRC
[06:37:34] *** wilmoore has joined #angularjs
[06:37:36] *** terryb has quit IRC
[06:37:38] *** MacWinner has joined #angularjs
[06:38:21] *** DrMabuse has quit IRC
[06:38:39] *** mkc has quit IRC
[06:38:53] *** danielpquinn has quit IRC
[06:41:00] *** zfogg_ has joined #angularjs
[06:41:18] *** caitp has quit IRC
[06:42:12] *** mguillech has quit IRC
[06:44:29] *** danyim has joined #angularjs
[06:45:36] <BobbieBarker> so anyone have any \ experience sending files into aws s3
[06:45:45] *** apetro_ has quit IRC
[06:46:18] *** apetro_ has joined #angularjs
[06:47:08] *** willmarshall has quit IRC
[06:47:38] *** willmarshall has joined #angularjs
[06:48:25] *** InezK_away is now known as InezK
[06:49:31] *** {DV8} has quit IRC
[06:50:50] *** apetro_ has quit IRC
[06:50:55] *** bLu_ has quit IRC
[06:51:31] *** bLu_ has joined #angularjs
[06:53:46] *** BillCriswell has quit IRC
[06:53:47] *** dutis has quit IRC
[06:54:52] *** nanoyak has joined #angularjs
[06:55:07] <ckboii89> hey if i want the page to re-render a page after the modal closes, do i put $route.reload(); in the main controller or the controller that the modal is in?
[06:55:35] *** bkuberek has joined #angularjs
[06:56:12] *** bLu_ has quit IRC
[06:56:54] *** agrajag42 has joined #angularjs
[06:57:09] *** dutis has joined #angularjs
[06:58:14] *** InezK is now known as InezK_away
[06:58:48] <snurfery> someone crashed msnbc's site
[06:58:52] <snurfery> woops
[06:59:04] *** duke_ has quit IRC
[06:59:10] <BobbieBarker> lol
[06:59:49] *** davemerwin has joined #angularjs
[07:03:06] *** VarunNambiar has joined #angularjs
[07:03:24] *** bLu_ has joined #angularjs
[07:04:12] *** oste has quit IRC
[07:04:30] *** MaxV has joined #angularjs
[07:05:22] <BobbieBarker> no but that has me excited cuz i'm basically beating my brains out trying to solve this problem
[07:06:13] *** vintik has quit IRC
[07:06:54] *** vintik has joined #angularjs
[07:08:07] *** patrick99e99 has quit IRC
[07:08:35] <BobbieBarker> thanks for the resource waffle it will atleast give me something to compare notes against
[07:08:52] *** patrick99e99 has joined #angularjs
[07:09:16] *** MaxV has quit IRC
[07:10:31] <cyen_> hello
[07:10:40] <cyen_> I am still having troubles with routing v.v
[07:10:41] *** m3 has joined #angularjs
[07:11:09] <snurfery> what kinda troubles?
[07:11:17] <cyen_> I am using angular-ui-router
[07:11:17] *** vintik has quit IRC
[07:11:25] <snurfery> indeed
[07:11:27] <cyen_> and it's a odd error... i have a stack overflow
[07:11:41] *** LuxuryMode has joined #angularjs
[07:11:42] <ckboii89> how do i refresh the parent page after closing the modal?> i did $route.reload() it was refreshing all the time
[07:12:10] *** phuh has quit IRC
[07:12:28] *** naxs has joined #angularjs
[07:12:37] *** phuh has joined #angularjs
[07:12:45] *** BlinkyBill has quit IRC
[07:13:00] *** knownasilya has quit IRC
[07:13:09] <snurfery> cyen_: what command do you run to start up your server? grunt serve?
[07:13:12] *** BlinkyBill has joined #angularjs
[07:13:19] <cyen_> snurfery: yes
[07:13:21] <snurfery> express serve? something like that?
[07:13:26] <snurfery> is there also an express command?
[07:13:26] <cyen_> grunt
[07:13:33] <cyen_> yes node app I think
[07:13:57] <snurfery> so your browser is only going to talk to grunt.. that's the frontend server
[07:13:59] *** InezK_away is now known as InezK
[07:14:06] <snurfery> that's gonna be static html and angular js
[07:14:19] <snurfery> your angular js code would need to talk to express
[07:14:23] <snurfery> issue get requests and so on
[07:14:52] *** m3 has quit IRC
[07:14:56] <snurfery> I could be super wrong of course, but I don't think I am
[07:15:17] *** msarta has joined #angularjs
[07:15:24] <cyen_> I don't see how that makes a difference... if I were to change "showProfile" to any other routing get request, it works
[07:16:02] <snurfery> explain that a little more ?
[07:16:10] *** danyim has quit IRC
[07:16:43] *** danyim has joined #angularjs
[07:16:44] *** mzehrer_ has joined #angularjs
[07:16:53] *** naxs has quit IRC
[07:17:01] *** rjshkr has joined #angularjs
[07:17:10] <cyen_> I did an edit on the stackoverflow
[07:17:14] *** mzehrer__ has joined #angularjs
[07:17:54] *** nitin has joined #angularjs
[07:18:00] <snurfery> hmm so it seems like express and angular are both trying to handle the routes
[07:18:18] <snurfery> when it's prefixed with '#' angular steps in and does what it can, delivering html/etc
[07:18:30] *** bkuberek has quit IRC
[07:18:36] <snurfery> when that's not there, express' route matching answers the request
[07:18:44] <cyen_> exactly.
[07:18:53] *** dancasttro has joined #angularjs
[07:19:07] <snurfery> you aren't the first one that has needed to get express working together with angular
[07:19:11] <snurfery> are you following a guide?
[07:19:17] <snurfery> or tutorial?
[07:19:33] <snurfery> because I'm sure there are very specific steps to get them working together
[07:19:34] <rjshkr> yupp
[07:19:45] <cyen_> No... I am not using a guide.. but I suppose.
[07:19:55] <snurfery> ain't nobody got time for that
[07:19:56] <snurfery> haha
[07:20:10] *** rjshkr has quit IRC
[07:20:54] *** mspier_off is now known as mspier
[07:20:55] <snurfery> find the answer from someone who's done it, understand how the pieces work together, then you can customize to your heart's content
[07:21:10] *** danyim has quit IRC
[07:21:49] *** nitin has quit IRC
[07:22:22] <cyen_> okay thank you
[07:22:30] <snurfery> np, good luck
[07:23:33] *** zfogg_ has quit IRC
[07:24:19] *** AxldenieD has joined #angularjs
[07:24:42] <AxldenieD> hey :)
[07:24:52] *** mary5030 has quit IRC
[07:25:26] *** mary5030 has joined #angularjs
[07:26:00] <wafflejock> BobbieBarker: np let me know how it goes always good to know what works in case I need to deal with it in the future
[07:26:13] <wafflejock> AxldenieD: hello
[07:26:15] <BobbieBarker> i'll try
[07:26:35] *** lite_ has joined #angularjs
[07:26:58] *** tplaner has quit IRC
[07:27:09] *** nanoyak has quit IRC
[07:27:33] *** house has quit IRC
[07:28:03] *** dancasttro has quit IRC
[07:29:01] *** BlinkyBill has quit IRC
[07:29:59] *** mary5030 has quit IRC
[07:30:50] *** richiebkr has quit IRC
[07:31:31] *** Reskp has joined #angularjs
[07:31:33] *** olveraricardo72 has quit IRC
[07:32:48] *** encrypt3d_fracti has quit IRC
[07:33:03] <wafflejock> BobbieBarker: sort of figured out my routing thing earlier had something to do with how the state itself was defined, nothing was actually calling $state.go the second time the state changed, it was something internally watching the URL and causing it to trigger the resolve/onEnter for the state... was able to work around it but still not entirely clear what was wrong
[07:33:15] *** encrypt3d_fracti has joined #angularjs
[07:33:20] *** nbrosnah_ has joined #angularjs
[07:33:24] *** Reskp_ has joined #angularjs
[07:33:29] <AlexZanf> hi has anyone used cropme?
[07:33:40] *** Sauvin has joined #angularjs
[07:34:08] *** DrMabuse has joined #angularjs
[07:35:06] *** danielpquinn has joined #angularjs
[07:35:24] *** Dragory has quit IRC
[07:36:13] *** Reskp has quit IRC
[07:36:30] *** nbrosnah_ has left #angularjs
[07:36:54] *** zfogg_ has joined #angularjs
[07:37:05] *** tom_nibbons has joined #angularjs
[07:37:10] <tom_nibbons> hello?
[07:37:57] *** encrypt3d_fracti has quit IRC
[07:38:14] <snurfery> sup
[07:38:26] *** karlkeefer has joined #angularjs
[07:38:29] *** Reskp_ has quit IRC
[07:38:32] *** DrMabuse has quit IRC
[07:39:17] <tom_nibbons> not much
[07:39:28] *** danielpquinn has quit IRC
[07:40:06] *** tom_nibbons has quit IRC
[07:41:06] <snurfery> cool
[07:41:35] *** [n0b0dy] has quit IRC
[07:41:44] *** [n0b0dy] has joined #angularjs
[07:45:26] *** codedungeon has quit IRC
[07:47:34] *** mdedetrich has quit IRC
[07:47:34] *** karlkeefer has quit IRC
[07:47:55] *** bLu_ has quit IRC
[07:48:48] *** tzu_chi has joined #angularjs
[07:49:26] *** Aliks has quit IRC
[07:50:47] *** holymac has joined #angularjs
[07:50:50] *** prbc has joined #angularjs
[07:52:27] *** holymac_ has quit IRC
[07:53:13] *** tzu_chi has quit IRC
[07:54:44] *** Shrooms has quit IRC
[07:55:14] *** prbc has quit IRC
[07:56:54] *** _ht has joined #angularjs
[07:56:56] <teuteuguy> snurfery: still there ?
[07:57:00] *** lefant has joined #angularjs
[07:57:03] <snurfery> yeah
[07:57:04] <snurfery> oddly
[07:57:05] <snurfery> what's up
[07:57:25] <teuteuguy> snurfery: awesome
[07:57:29] <teuteuguy> question
[07:57:33] *** HypnotiX has joined #angularjs
[07:57:50] *** wwnnbb has joined #angularjs
[07:58:02] *** gunn has joined #angularjs
[07:58:11] *** qpok_ is now known as qpok
[07:58:12] *** zanea is now known as zanea|away
[07:58:37] <teuteuguy> If I have a view, I attach a controller to, for which i want to populate the content of a rest query. In respect to your comment on 'naked' / 'unwrapped' way of loading the data. How would you go about calling the resource that gets the actual data ?
[07:59:04] <teuteuguy> Would you do it inline in the controller, or via a function ? but if it is a function, who/what calls the function ?
[07:59:13] *** zivester has quit IRC
[07:59:21] <teuteuguy> would it be something like: ng-init ?
[07:59:28] *** Aliks has joined #angularjs
[07:59:30] <wafflejock> teuteuguy: just my 2 cents but typically do your API calls in a service/factory
[07:59:48] <teuteuguy> or would the ng-repeat actually call the function that returns the array of objects ?
[07:59:51] <wafflejock> teuteuguy: ng-init has a very special use case in the docs typically you don't want to use it unless you need to alias special properties of ng-repeat
[07:59:56] *** frozenice has quit IRC
[07:59:57] *** joliss has quit IRC
[07:59:57] *** felipesabino has quit IRC
[07:59:57] *** ikevin_ has quit IRC
[08:00:08] *** jacobwg has quit IRC
[08:00:10] *** richburke has quit IRC
[08:00:21] *** Imdsm^ has quit IRC
[08:00:21] *** ceej has quit IRC
[08:00:34] *** jga has quit IRC
[08:00:34] *** JuiceSSH has quit IRC
[08:00:34] *** kwmiebach_ has quit IRC
[08:00:35] *** Ironlink has quit IRC
[08:00:35] *** merpnderp has quit IRC
[08:00:40] <teuteuguy> wafflejock: yes agreed on the ng-init part. Regarding the API call, yes it is done via a factory returning a resource
[08:00:41] *** jennmoneydollars has quit IRC
[08:00:57] *** amtiskaw has quit IRC
[08:01:07] <snurfery> if you need to fetch a resource before rendering a page, that's the perfect use-case for 'resolve'
[08:01:08] *** SomeKittens has quit IRC
[08:01:08] *** syphar has quit IRC
[08:01:09] <teuteuguy> The question, is who/what actually makes the call to that factory ? What is the best-practice ?
[08:01:12] <wafflejock> teuteuguy: okay so the factory can actually store the data too
[08:01:19] <snurfery> it's a ui-router feature
[08:01:21] *** spazbite has joined #angularjs
[08:01:30] <teuteuguy> ui-router ?
[08:01:43] *** lefant has quit IRC
[08:01:46] *** frkout has joined #angularjs
[08:01:47] <wafflejock> teuteuguy: if you have the factory store the data then use the data in the controller and have the factory automatically initialize on first use then everything just works
[08:01:48] *** asilluron_______ has quit IRC
[08:01:57] <snurfery> (oh, nm, I might be mistaking you with someone that was using ui-router)
[08:01:58] *** duncanbeevers has quit IRC
[08:02:00] *** lite_ has quit IRC
[08:02:04] <snurfery> wafflejock has the right idea ^^
[08:02:16] <wafflejock> snurfery: believe resolve is included in ngRoute as well... but it can cause problems where there is a delay before the route change (dealing with this now in various bugs)
[08:02:30] <snurfery> yeah
[08:02:33] *** lite_ has joined #angularjs
[08:02:36] *** lebster has quit IRC
[08:02:47] <snurfery> I use it in some places, but not in others
[08:02:51] *** bobbyd918 has quit IRC
[08:02:58] <teuteuguy> hum, not sure this helps though, because my resource changes over time. So I want to be able to refresh the view to get the latest info
[08:03:08] *** OliverTynes has quit IRC
[08:03:15] <wafflejock> teuteuguy: you can still expose the call to refresh data through the service...
[08:03:18] *** mercwithamouth has quit IRC
[08:03:19] <wafflejock> teuteuguy: er factory
[08:03:22] <teuteuguy> Thus, I dont want to store the returned data in the factory
[08:03:25] *** janoelze__ has quit IRC
[08:03:58] <wafflejock> teuteuguy: let me see if I can just make something easy to show you what I'm saying I have the general gist in an SO post but would be better to show it in a plunkr
[08:05:08] *** merlinsbrain has quit IRC
[08:05:13] *** MaxV has joined #angularjs
[08:05:16] *** frkout_ has quit IRC
[08:05:29] *** richburke has joined #angularjs
[08:05:29] *** jga has joined #angularjs
[08:05:30] *** frozenice has joined #angularjs
[08:05:30] *** merpnderp has joined #angularjs
[08:05:30] *** Ironlink has joined #angularjs
[08:05:32] *** kwmiebach_ has joined #angularjs
[08:05:40] *** JuiceSSH has joined #angularjs
[08:05:46] *** TuRnaD0 has joined #angularjs
[08:05:52] *** ceej has joined #angularjs
[08:05:55] *** BlinkyBill has joined #angularjs
[08:06:03] *** felipesabino has joined #angularjs
[08:06:12] *** amtiskaw has joined #angularjs
[08:06:26] *** TorchDragon has joined #angularjs
[08:06:38] *** Aartsie has joined #angularjs
[08:07:08] *** lite_ has quit IRC
[08:07:13] <teuteuguy> wafflejock: ok, having a look now
[08:07:15] *** m1hael has joined #angularjs
[08:07:17] <wafflejock> teuteuguy: in this case both controllers are actually making reference to the same object in memory not a copy so when I want to repopulate the data set I use angular.copy so the references don't need to be updated, but otherwise this requires the least rigging/watching from other methods I've seen
[08:07:45] *** joliss has joined #angularjs
[08:07:50] *** ikevin_____ has joined #angularjs
[08:07:52] *** lefant has joined #angularjs
[08:07:56] *** AlSquirrel has joined #angularjs
[08:08:02] *** Imdsm^ has joined #angularjs
[08:08:39] *** SomeKittens has joined #angularjs
[08:08:44] *** jennmoneydollars has joined #angularjs
[08:08:47] *** holymac has quit IRC
[08:08:55] *** jacobwg has joined #angularjs
[08:08:56] *** syphar has joined #angularjs
[08:09:10] *** jamesbdev_ has joined #angularjs
[08:09:10] *** Birdbones_____ has joined #angularjs
[08:09:10] <teuteuguy> wafflejock: yes, I see, interesting
[08:09:23] *** lebster has joined #angularjs
[08:09:27] *** MaxV has quit IRC
[08:09:33] *** willmarshall has quit IRC
[08:09:42] *** asilluron_______ has joined #angularjs
[08:09:43] *** bejames has joined #angularjs
[08:09:51] *** OliverTYnes has joined #angularjs
[08:10:03] *** willmarshall has joined #angularjs
[08:10:04] <teuteuguy> The loading of scope gets loaded by the service
[08:10:11] *** paddymahoney has quit IRC
[08:10:23] *** AlSquire has quit IRC
[08:10:39] *** jae is now known as Jae
[08:10:48] *** TorchDragon has quit IRC
[08:11:01] *** jamesbdev has quit IRC
[08:11:02] *** janoelze___ has joined #angularjs
[08:11:23] *** Aartsie has quit IRC
[08:11:37] *** bobbyd918 has joined #angularjs
[08:11:47] *** [n0b0dy] has quit IRC
[08:11:49] *** FIFOd[a] has joined #angularjs
[08:11:57] *** [n0b0dy] has joined #angularjs
[08:12:09] *** merlinsbrain has joined #angularjs
[08:12:12] *** phuh has quit IRC
[08:12:29] <wafflejock> teuteuguy: yea I see it more like the service/factory maintains the model but essentially the data that's going to be made referenceable (word?) from the scope is in the service/factory
[08:12:38] *** Ilyas has joined #angularjs
[08:12:49] *** phuh has joined #angularjs
[08:13:26] *** mykz_ has joined #angularjs
[08:13:57] *** mikronaz has joined #angularjs
[08:14:40] *** mennea has quit IRC
[08:15:25] *** bejames has quit IRC
[08:16:07] *** FIFOd[a] has quit IRC
[08:17:09] *** wwnnbb has quit IRC
[08:17:42] *** AlexZanf has quit IRC
[08:18:54] *** svycka has joined #angularjs
[08:20:07] *** MickeyO has joined #angularjs
[08:21:14] *** stevvooe_ has joined #angularjs
[08:21:32] *** joliss has quit IRC
[08:21:32] *** kwmiebach_ has quit IRC
[08:22:14] *** merlinsbrain has quit IRC
[08:22:16] *** Imdsm^ has quit IRC
[08:22:16] *** jga has quit IRC
[08:22:17] *** ikevin_____ has quit IRC
[08:22:19] *** SomeKittens has quit IRC
[08:22:21] *** bobbyd918 has quit IRC
[08:22:41] *** syphar has quit IRC
[08:22:41] *** jennmoneydollars has quit IRC
[08:22:42] *** asilluron_______ has quit IRC
[08:22:42] *** ceej has quit IRC
[08:22:44] *** jacobwg has quit IRC
[08:22:52] *** lefant has quit IRC
[08:22:52] *** JuiceSSH has quit IRC
[08:23:12] *** JohnBat26 has joined #angularjs
[08:23:22] *** MaxV has joined #angularjs
[08:23:22] *** UniBot has joined #angularjs
[08:23:30] *** joshtau has quit IRC
[08:23:37] *** stevvooe has quit IRC
[08:24:37] *** UniBot has quit IRC
[08:24:56] *** UniBot has joined #angularjs
[08:25:01] *** jamesbdev_ has quit IRC
[08:25:12] *** UniBot has quit IRC
[08:25:20] *** richburke has quit IRC
[08:25:44] *** stevvooe_ has quit IRC
[08:26:16] *** felipesabino has quit IRC
[08:27:04] *** AndyFTP has joined #angularjs
[08:27:44] *** joliss has joined #angularjs
[08:27:44] *** lefant has joined #angularjs
[08:27:47] *** OliverTYnes has quit IRC
[08:28:04] *** JoshGlzBrk has joined #angularjs
[08:28:12] *** asilluron_______ has joined #angularjs
[08:28:12] *** jga has joined #angularjs
[08:28:15] *** kwmiebach_ has joined #angularjs
[08:28:24] *** merlinsbrain has joined #angularjs
[08:28:24] *** jacobwg has joined #angularjs
[08:28:25] *** JuiceSSH has joined #angularjs
[08:28:47] *** syphar has joined #angularjs
[08:28:51] *** lefant has quit IRC
[08:29:43] *** ceej has joined #angularjs
[08:29:52] *** foofoobar has joined #angularjs
[08:29:56] *** bobbyd918 has joined #angularjs
[08:29:58] *** Imdsm^ has joined #angularjs
[08:29:58] *** joshtau has joined #angularjs
[08:30:00] *** ikevin_____ has joined #angularjs
[08:30:07] *** SomeKittens has joined #angularjs
[08:30:09] *** richburke has joined #angularjs
[08:30:47] *** jdj_dk has joined #angularjs
[08:30:59] *** jennmoneydollars has joined #angularjs
[08:31:16] *** trave has joined #angularjs
[08:31:56] *** xyNNN has joined #angularjs
[08:31:58] *** felipesabino has joined #angularjs
[08:32:11] *** Christer has joined #angularjs
[08:32:16] *** OliverTYnes has joined #angularjs
[08:32:24] *** lefant has joined #angularjs
[08:32:28] *** jamesbdev has joined #angularjs
[08:34:15] *** Reskp has joined #angularjs
[08:34:53] *** DrMabuse has joined #angularjs
[08:35:59] *** danielpquinn has joined #angularjs
[08:36:56] *** UniBot has joined #angularjs
[08:37:00] *** trave has quit IRC
[08:37:02] *** UniBot has quit IRC
[08:37:10] *** Christer| has joined #angularjs
[08:37:46] *** danielpq_ has joined #angularjs
[08:37:47] *** danielpquinn has quit IRC
[08:38:27] *** DuelShark has joined #angularjs
[08:38:34] *** asdofindia has joined #angularjs
[08:39:07] *** Reskp has quit IRC
[08:39:11] *** mguillech has joined #angularjs
[08:39:42] *** DrMabuse has quit IRC
[08:40:57] *** Patrick_Baitman has joined #angularjs
[08:41:04] *** Christer has quit IRC
[08:41:22] *** screamingbanshee has joined #angularjs
[08:42:18] *** danielpq_ has quit IRC
[08:42:45] *** KamalKaur has joined #angularjs
[08:43:37] *** mguillech has quit IRC
[08:44:07] *** linojon has quit IRC
[08:45:34] *** Ilyas has quit IRC
[08:45:55] *** teuteuguy has quit IRC
[08:46:20] *** screamingbanshee has quit IRC
[08:46:31] *** MaxV has quit IRC
[08:47:04] *** MaxV has joined #angularjs
[08:47:10] *** Sky[x] has joined #angularjs
[08:47:55] *** danyim has joined #angularjs
[08:48:02] *** Joshee has quit IRC
[08:48:14] *** MacWinner has quit IRC
[08:48:41] *** Reskp has joined #angularjs
[08:49:53] *** DrMabuse has joined #angularjs
[08:51:25] *** MaxV has quit IRC
[08:51:32] *** prbc has joined #angularjs
[08:52:23] *** danyim has quit IRC
[08:52:28] *** Click66 has joined #angularjs
[08:52:50] *** disorder20 has joined #angularjs
[08:52:52] *** KamalKaur has quit IRC
[08:52:59] *** _tpavel has joined #angularjs
[08:53:14] *** bin has joined #angularjs
[08:53:17] *** Reskp has quit IRC
[08:53:25] <bin> guys how can i get variable from normal js
[08:54:00] *** DrMabuse has quit IRC
[08:54:31] *** lite_ has joined #angularjs
[08:54:50] *** bulkan has quit IRC
[08:54:58] *** tarnus has quit IRC
[08:55:30] *** tarnus has joined #angularjs
[08:55:38] *** Hackwar1 has joined #angularjs
[08:56:04] *** Hackwar has quit IRC
[08:56:22] *** jonnybro has joined #angularjs
[08:56:22] *** prbc has quit IRC
[08:57:17] *** TuRnaD0 has quit IRC
[08:57:25] *** miname has joined #angularjs
[08:58:10] *** disorder20 has quit IRC
[08:58:45] *** ziocarlo45 has joined #angularjs
[08:59:45] *** ziocarlo45 has quit IRC
[08:59:47] *** tarnus has quit IRC
[08:59:57] *** jonnybro has quit IRC
[09:00:01] *** charuru has quit IRC
[09:01:14] *** nemothek_ has quit IRC
[09:01:24] *** stodan has joined #angularjs
[09:01:36] <opiispanen> bin, normal js? you mean outside of angularjs ?
[09:01:42] <bin> yeah yeha
[09:02:16] <opiispanen> well, if it's a global variable it should show everywhere in angularjs
[09:02:40] *** Bade has quit IRC
[09:03:18] <bin> yeah it's a global
[09:03:25] <bin> but how do i access it
[09:03:39] *** willmarshall has quit IRC
[09:03:45] <lite_> if its global you can access it from window
[09:04:01] *** anene has quit IRC
[09:04:02] <bin> well i tried but not working ..
[09:04:08] <bin> btw can i assing controller to the html tag?
[09:04:32] *** encrypt3d_fracti has joined #angularjs
[09:04:38] *** frkout has quit IRC
[09:05:10] *** VeeWee has joined #angularjs
[09:05:11] <lite_> bin, then youre doing it wrong. provide a plunker or fiddle if you want us to debug your problem.
[09:05:13] *** frkout has joined #angularjs
[09:05:35] <bin> opiispanen: it's declared in the html
[09:05:36] *** fwielstra has joined #angularjs
[09:05:47] <bin> like <script> var smth = blalbalba </script>
[09:06:28] *** KamalKaur has joined #angularjs
[09:06:44] <opiispanen> bin
[09:07:19] <lite_> beat me to the punch, opiispanen :p
[09:07:19] <bin> niceeee
[09:08:47] *** gundry has joined #angularjs
[09:08:52] <lite_> as far as setting a controller in the html tag, yes. You can do that binjured
[09:08:53] <lite_> bin*
[09:08:55] *** vintik has joined #angularjs
[09:09:12] *** encrypt3d_fracti has quit IRC
[09:09:43] *** DuelShark has quit IRC
[09:10:57] <bin> opiispanen: thanks ;) but i fould my problem I i had openned the deployed version i try to test against it :) haeuaa
[09:12:16] *** phuh has quit IRC
[09:12:34] *** Vloz has joined #angularjs
[09:12:41] *** phuh has joined #angularjs
[09:12:41] *** mennea has joined #angularjs
[09:13:17] *** OddDuck` has quit IRC
[09:13:27] *** jonasrosenlind has joined #angularjs
[09:13:30] *** agrajag42 has quit IRC
[09:13:43] *** OddDuck` has joined #angularjs
[09:13:46] *** slainer68 has joined #angularjs
[09:14:03] *** ajk27 has quit IRC
[09:15:16] *** UniBot has joined #angularjs
[09:15:17] *** KamalKaur has quit IRC
[09:16:26] *** MaxV has joined #angularjs
[09:17:17] *** zwacky has joined #angularjs
[09:18:25] *** slainer68 has quit IRC
[09:18:32] <BReda> anyone here !!
[09:18:45] *** arthas has joined #angularjs
[09:18:45] *** arthas has joined #angularjs
[09:19:30] <opiispanen> relaax
[09:19:44] *** MaxV has quit IRC
[09:19:57] *** dariocravero has joined #angularjs
[09:20:00] *** mspier is now known as mspier_off
[09:20:14] *** FLaMeS has joined #angularjs
[09:20:26] *** MaxV has joined #angularjs
[09:20:40] *** gundry has quit IRC
[09:21:47] *** house has joined #angularjs
[09:22:43] *** DrMabuse has joined #angularjs
[09:22:58] *** joshbrw has joined #angularjs
[09:23:50] <the-erm> I lufs angular.
[09:23:53] *** zfogg_ has quit IRC
[09:24:23] <the-erm> I'm doing stuff that would take weeks if not months really quickly.
[09:24:23] *** MaxV has quit IRC
[09:24:34] *** jonasrosenlind has quit IRC
[09:24:48] *** MaxV has joined #angularjs
[09:25:14] *** MaxV has quit IRC
[09:25:26] *** MaxV has joined #angularjs
[09:26:43] *** ajk27 has joined #angularjs
[09:26:59] *** jk-5|gone has quit IRC
[09:28:51] *** DevAntoine has joined #angularjs
[09:28:57] *** Christer has joined #angularjs
[09:29:51] *** JoshGlzB_ has joined #angularjs
[09:29:56] <opiispanen> the-erm, same here
[09:30:04] *** JoshGlzBrk has quit IRC
[09:30:28] <fwielstra> We’re rebuilding a pretty big (60K LOC) Backbone app to Angular atm, 80% code reduction and awesome things like that. More and more reliable tests, too.
[09:30:51] *** nemothekid has joined #angularjs
[09:30:53] <opiispanen> that time should be used designing and building better user experiences tho
[09:32:15] *** arthas has quit IRC
[09:32:15] *** fbenoit has joined #angularjs
[09:32:17] *** zfogg_ has joined #angularjs
[09:32:17] *** Christer| has quit IRC
[09:32:20] *** bertrandk has quit IRC
[09:32:56] *** bertrandk has joined #angularjs
[09:33:00] *** arthas has joined #angularjs
[09:33:00] *** jk-5|gone has joined #angularjs
[09:33:26] <ansu> 80% sounds incredible. angular is my first front-end experience. where do you save the most comparing to backboine?
[09:33:27] *** jonasrosenlind has joined #angularjs
[09:33:55] *** bengillies has joined #angularjs
[09:34:25] <the-erm> ansu: It took me over a week just to define the models in backbone. In 1 week I've managed to rebuild my entire frontend.
[09:34:28] *** mchapman has joined #angularjs
[09:34:49] *** dc__ has joined #angularjs
[09:35:13] *** orion1111 has joined #angularjs
[09:35:58] *** prikk has joined #angularjs
[09:36:10] *** subnl2 has quit IRC
[09:36:19] <the-erm> Don't get me wrong backbone was great for it's time, but angular has really impressed me.
[09:37:11] *** miname has quit IRC
[09:37:12] *** dc_ has quit IRC
[09:37:29] *** zfogg_ has quit IRC
[09:37:40] <the-erm> I don't have to worry about calling this.template({"data":'foo'});
[09:37:51] *** AciD`` has joined #angularjs
[09:37:55] <ansu> sounds great. how did you manage the models in angular? I'm using a mix of $resource and $http
[09:37:57] <the-erm> Or this.$.html()
[09:38:26] <ansu> I guess backbone doesn't have two-way data-binding ^^?
[09:38:30] *** guilbep has joined #angularjs
[09:38:32] *** danielpquinn has joined #angularjs
[09:38:36] <the-erm> no it doesn't.
[09:38:52] *** guilbep has quit IRC
[09:39:33] <the-erm> I had to model.on("change", function() {}) all over the place. worry about calling _.bind(someFunction,this);
[09:39:52] *** milka has joined #angularjs
[09:40:06] *** bbsss has joined #angularjs
[09:40:32] <joroci> hey]
[09:40:52] *** Sky[x] has quit IRC
[09:41:04] *** mindlace has joined #angularjs
[09:41:25] *** Natsu- has joined #angularjs
[09:42:00] *** Xethron has joined #angularjs
[09:42:20] *** miname has joined #angularjs
[09:42:44] *** jonasliljestrand has joined #angularjs
[09:43:16] *** danielpquinn has quit IRC
[09:43:36] <joroci> i want to check for all input and textareas values to change direction based on the user input, i thought of creating a directive and use it on each input, question is if there is a better way maybe something like jquery $document.on event ?
[09:44:00] *** negval has joined #angularjs
[09:44:19] *** dve has joined #angularjs
[09:44:38] <the-erm> joroci: there is ng-change so you can <input ng-change="someFunction()">
[09:45:12] *** xyNNN has quit IRC
[09:45:39] <joroci> and change the direction in the controller?
[09:45:50] *** phuh has quit IRC
[09:46:20] *** phuh has joined #angularjs
[09:46:23] *** dariocravero has quit IRC
[09:46:23] <ansu> what do you mean with change the direction?
[09:46:29] <wafflejock> yeah no idea what that means
[09:46:39] <wafflejock> like LTR vs RTL writing?
[09:47:15] *** dariocravero has joined #angularjs
[09:47:15] *** the-erm has quit IRC
[09:47:44] *** xyNNN has joined #angularjs
[09:47:50] <joroci> yea rtl and ltr
[09:47:52] *** vintik has quit IRC
[09:48:22] <wafflejock> joroci: can you elaborate on the use case... like what is happening and what you hope to have happen
[09:48:23] *** xAt is now known as xat-
[09:48:24] *** vintik has joined #angularjs
[09:48:40] *** dve_ has joined #angularjs
[09:49:04] *** UniBot has quit IRC
[09:49:23] *** the-erm has joined #angularjs
[09:49:26] *** UniBot has joined #angularjs
[09:49:34] *** bengillies has quit IRC
[09:50:42] *** phuh has quit IRC
[09:51:23] *** dve has quit IRC
[09:51:34] <wafflejock> joroci: in terms of trying to do something with a directive vs applying it across the entire document on load or some other event I imagine you'll have problems if you don't go with a directive that you apply in a more direct way (maybe not per input element but per form or something instead)
[09:51:47] *** hannesvdvreken has joined #angularjs
[09:51:58] *** Aliks_ has quit IRC
[09:51:58] <joroci> i have some textareas and inputs with placeholders, these placeholders can be rtl or ltr, when the user enters text it also can be rtl or rtl i want the direction of the inputs to be rtl or ltr based on the user input
[09:52:02] <wafflejock> this way when routes change and new elements are added and old ones removed you don't have problems
[09:52:11] *** prbc has joined #angularjs
[09:52:30] *** UniBot has quit IRC
[09:52:34] *** Aliks_ has joined #angularjs
[09:52:42] *** vintik has quit IRC
[09:53:20] <joroci> so use the directive on the form and watch for changes on the inputs, that seems like a good idea
[09:53:28] <wafflejock> joroci: yeah think that's your best bet
[09:54:34] *** synestry has joined #angularjs
[09:54:52] *** Aartsie has joined #angularjs
[09:55:36] <joroci> thanks for your help
[09:56:12] <wafflejock> np gotta get to sleep here good luck though
[09:56:25] <wafflejock> sounds like you have a handle on it
[09:56:31] *** hell_razer has quit IRC
[09:56:31] *** prbc has quit IRC
[09:56:44] *** Aliks_ has quit IRC
[09:56:46] <joroci> yea
[09:57:06] <joroci> gn
[09:57:14] *** Sky[x] has joined #angularjs
[09:59:26] *** Aartsie has quit IRC
[09:59:29] *** Joulse has joined #angularjs
[10:00:09] *** ineedarobot has joined #angularjs
[10:00:25] *** kaeku has joined #angularjs
[10:00:36] *** jamesbdev has quit IRC
[10:00:56] *** UniBot has joined #angularjs
[10:01:52] *** mven_ has quit IRC
[10:02:18] *** hannesvdvreken has quit IRC
[10:03:01] *** synestry has quit IRC
[10:03:01] *** miname has quit IRC
[10:03:28] *** SomeKittens has quit IRC
[10:03:45] *** miname has joined #angularjs
[10:04:13] *** plitzenberger has joined #angularjs
[10:04:20] <bin> when testing how to inject a global variable which is not part of angular (it's in a script file) ?
[10:04:33] *** plitzenberger has quit IRC
[10:05:00] *** mennea_ has joined #angularjs
[10:05:16] <gauravsaini03> Hello
[10:06:50] *** mennea has quit IRC
[10:07:31] *** Christer has quit IRC
[10:07:49] *** plitzenberger has joined #angularjs
[10:07:54] *** mven_ has joined #angularjs
[10:07:56] *** gkap has joined #angularjs
[10:08:01] *** Christer has joined #angularjs
[10:08:01] *** Christer has joined #angularjs
[10:08:28] *** TorchDragon has joined #angularjs
[10:08:50] *** fouzko has joined #angularjs
[10:08:54] *** bengillies has joined #angularjs
[10:09:38] <fwielstra> ansu (late): mostly our views, in Backbone we often had ‘main views’ that set up all kinds of subviews not related to the actual page. That was sorted out with angular easily enough. Could probably be done with backbone too, but that’s the architecture we went with at the time. Actually you can probablly get a lot less code in Backbone than we did if we were to use things like marionette and the like.
[10:09:42] *** Christer| has joined #angularjs
[10:10:10] *** AndyFTP has quit IRC
[10:10:36] *** msarta has quit IRC
[10:10:55] *** Vinnyceptr has quit IRC
[10:11:07] *** icarus75 has quit IRC
[10:11:30] *** VarunNambiar has quit IRC
[10:11:53] *** dariocravero has quit IRC
[10:11:53] *** Sonderblade has joined #angularjs
[10:12:12] *** Sonderblade has quit IRC
[10:12:47] *** arntempelgibbarn has joined #angularjs
[10:12:52] *** dariocravero has joined #angularjs
[10:12:52] *** Christer has quit IRC
[10:12:54] *** hannesvdvreken has joined #angularjs
[10:13:11] *** TorchDragon has quit IRC
[10:13:18] *** uf6667 has joined #angularjs
[10:13:26] *** jonasliljestrand has quit IRC
[10:13:51] *** mindlace has quit IRC
[10:13:57] *** AndyFTP has joined #angularjs
[10:15:18] *** FIFOd[a] has joined #angularjs
[10:17:00] *** UniBot has quit IRC
[10:17:00] *** ineedarobot has quit IRC
[10:17:19] *** UniBot has joined #angularjs
[10:18:20] *** uchuff has joined #angularjs
[10:18:57] *** rhp has quit IRC
[10:19:11] *** miname has quit IRC
[10:19:37] *** slainer68 has joined #angularjs
[10:19:53] <greengriminal> can you nest a ng-switch-when inside ng-switch-on ?
[10:20:04] *** FIFOd[a] has quit IRC
[10:20:11] *** miname has joined #angularjs
[10:20:12] *** fbenoit has quit IRC
[10:20:41] *** drej has quit IRC
[10:20:53] *** dc__ has quit IRC
[10:21:42] *** Cydmax has joined #angularjs
[10:22:20] *** Cydmax has joined #angularjs
[10:22:39] *** Foxandxss has joined #angularjs
[10:23:27] *** hmr has joined #angularjs
[10:23:32] *** UniBot has quit IRC
[10:23:52] *** paul_dijou has joined #angularjs
[10:23:56] <Gooder> hi, I am using Restangular.several('accounts', 1234, 123, 12345); how can I set the id parameters with an Array?
[10:24:14] *** synestry has joined #angularjs
[10:24:47] *** roolo has joined #angularjs
[10:27:12] *** fbenoit has joined #angularjs
[10:27:29] *** dariocravero has quit IRC
[10:27:33] *** Sky[x] has quit IRC
[10:28:53] *** guilbep has joined #angularjs
[10:30:01] *** ineedarobot has joined #angularjs
[10:31:07] *** UniBot has joined #angularjs
[10:32:05] *** [n0b0dy] has quit IRC
[10:32:16] *** [n0b0dy] has joined #angularjs
[10:32:27] *** disorder20 has joined #angularjs
[10:33:12] *** wilmoore has quit IRC
[10:34:04] *** hychen has joined #angularjs
[10:34:22] *** Sky[x] has joined #angularjs
[10:35:24] *** dob_ has joined #angularjs
[10:36:26] *** dve has joined #angularjs
[10:38:14] *** ldgood has joined #angularjs
[10:38:30] *** icarus75 has joined #angularjs
[10:39:05] *** UniBot has quit IRC
[10:39:19] *** danielpquinn has joined #angularjs
[10:40:12] *** dve_ has quit IRC
[10:40:32] *** LoveAndHappiness has joined #angularjs
[10:40:48] *** ngbot has joined #angularjs
[10:40:48] <ngbot> angular.js/master 3607c98 Shahar Talmi: feat(http): allow caching for JSONP requests...
[10:40:48] *** ngbot has left #angularjs
[10:40:55] *** ineedarobot has quit IRC
[10:40:58] *** CainVampyr has joined #angularjs
[10:41:47] *** RedOrangeZ has joined #angularjs
[10:41:50] *** kaeku has quit IRC
[10:42:23] *** VarunNambiar has joined #angularjs
[10:43:53] *** danielpquinn has quit IRC
[10:44:52] *** synsyn has joined #angularjs
[10:45:01] *** joshontheweb has quit IRC
[10:45:02] *** gkap has quit IRC
[10:45:30] *** dve_ has joined #angularjs
[10:45:44] *** Left_Turn has joined #angularjs
[10:45:49] *** dc_ has joined #angularjs
[10:46:13] *** marr has joined #angularjs
[10:48:10] *** VarunNambiar has quit IRC
[10:48:31] *** synestry has quit IRC
[10:48:58] *** Sebastien-L has joined #angularjs
[10:49:04] *** dve has quit IRC
[10:49:06] *** danyim has joined #angularjs
[10:49:11] *** LuxuryMode has quit IRC
[10:49:40] *** one_zero has quit IRC
[10:49:54] *** msarta has joined #angularjs
[10:50:22] *** benjamingr has quit IRC
[10:51:05] <uf6667> hi folks, can anyone tell me what you call those boxes that appear when you hover over something please?
[10:51:47] *** kaeku has joined #angularjs
[10:51:57] *** defaultdict has joined #angularjs
[10:52:20] <ansu> tooltips?
[10:52:55] *** prbc has joined #angularjs
[10:53:05] <uf6667> yes, do you know how to do it in html please?
[10:53:05] *** mirror has joined #angularjs
[10:53:06] <uf6667> or js
[10:53:08] <uf6667> or angular
[10:53:25] *** VarunNambiar has joined #angularjs
[10:53:30] *** danyim has quit IRC
[10:54:54] *** ineedarobot has joined #angularjs
[10:55:32] <uf6667> ahhhhhhhhh I thought there'd be something else
[10:55:40] <uf6667> I thought I could have a whole box
[10:56:33] *** Schtive has joined #angularjs
[10:57:31] *** prbc has quit IRC
[10:59:12] <uf6667> thanks
[11:00:40] *** cyen_ has quit IRC
[11:01:01] *** BobbieBarker has quit IRC
[11:02:09] *** BobbieBarker has joined #angularjs
[11:04:50] *** intellix has joined #angularjs
[11:06:58] *** RG has joined #angularjs
[11:07:08] <RG> hello sir/mam
[11:07:49] *** r0ok has quit IRC
[11:08:16] <RG> hello
[11:08:44] <RG> is anybody there ????
[11:08:48] *** AngularUI has joined #angularjs
[11:08:48]
<AngularUI> [bootstrap] Nimaen opened pull request #2523: Delay collapse animation (master...delayCollapseAnimation) http://git.io/2X6UOg
[11:08:48] *** AngularUI has left #angularjs
[11:08:54] *** InezK is now known as InezK_away
[11:09:09] <RG> hello
[11:09:36] *** e-dard_afk is now known as e-dard
[11:09:42] *** Xethron has quit IRC
[11:10:05] *** jkremser has joined #angularjs
[11:10:10] *** RG has left #angularjs
[11:10:28] <intellix> not sure how I use that bot but there's one that says: don't ask to ask your question, just ask it :D
[11:10:35] *** jkremser has quit IRC
[11:10:35] *** jkremser has joined #angularjs
[11:10:45] <intellix> we're all here really RG, but aint nobody got time fo small talk!
[11:10:48] <OnkelTem> How to consistently detect mobile device? I need this to conditionally load a view
[11:11:16] <OnkelTem> a view which shows videos slideshow which is only valid for desktop devices
[11:11:17] *** cladic has joined #angularjs
[11:11:22] *** rg has joined #angularjs
[11:12:14] *** BReda has quit IRC
[11:12:29] <intellix> checking it against navigator.userAgent in where-ever you want
[11:12:41] *** LoveAndHappiness has quit IRC
[11:12:52] *** LoveAndHappiness has joined #angularjs
[11:13:41] *** charuru has joined #angularjs
[11:14:03] *** naxs has joined #angularjs
[11:14:16] *** rg has quit IRC
[11:16:21] *** Xethron has joined #angularjs
[11:16:33] *** UniBot has joined #angularjs
[11:17:22] *** e-dard is now known as e-dard_afk
[11:17:43] *** e-dard_afk is now known as e-dard
[11:18:38] *** naxs has quit IRC
[11:19:05] *** e-dard has left #angularjs
[11:19:43] *** dariocravero has joined #angularjs
[11:20:30] *** dve has joined #angularjs
[11:21:13] *** rg has joined #angularjs
[11:22:03] *** milka has quit IRC
[11:22:05] *** lordkryss has joined #angularjs
[11:22:35] *** rg has quit IRC
[11:23:01] *** paul_dijou has quit IRC
[11:23:11] *** mykz_ has quit IRC
[11:23:51] *** dve_ has quit IRC
[11:24:04] *** milka has joined #angularjs
[11:24:23] *** mven has quit IRC
[11:25:29] *** klaut has joined #angularjs
[11:26:21] *** klaut has quit IRC
[11:27:09] *** BlinkyBill has quit IRC
[11:27:20] *** mven has joined #angularjs
[11:27:27] *** _jpfm has joined #angularjs
[11:27:57] *** benjamingr has joined #angularjs
[11:28:01] *** morenoh151 has joined #angularjs
[11:28:32] *** klaut has joined #angularjs
[11:29:12] *** mennea_ has quit IRC
[11:31:54] *** zfogg_ has joined #angularjs
[11:32:31] *** Schtive has quit IRC
[11:32:45] *** pskrz_ has joined #angularjs
[11:32:52] *** VarunNambiar has quit IRC
[11:34:11] *** pskrz has quit IRC
[11:34:11] *** pskrz_ is now known as pskrz
[11:35:39] *** kumpudra has joined #angularjs
[11:36:39] *** LoveAndHappiness has quit IRC
[11:36:40] *** davemerwin has quit IRC
[11:36:46] *** davemerw_ has joined #angularjs
[11:37:03] *** paul_dijou has joined #angularjs
[11:37:29] <kumpudra> hi
[11:37:38] *** LoveAndHappiness has joined #angularjs
[11:37:46] *** ceephax has joined #angularjs
[11:38:17] <kumpudra> waste time
[11:38:19] <kumpudra> bye
[11:38:32] *** kumpudra has quit IRC
[11:39:12] <intellix> and that could be one of the most random things I see all day
[11:39:28] <opiispanen> yep :D
[11:39:36] *** spazbite has quit IRC
[11:39:43] <opiispanen> must have been in a hurry
[11:40:03] *** danielpquinn has joined #angularjs
[11:40:27] *** timppa has quit IRC
[11:41:11] *** marcospgp has joined #angularjs
[11:41:28] *** mguillech has joined #angularjs
[11:41:52] <marcospgp> where can I see some documentation on the http authorization header? specifically why it should have "Bearer [token]"
[11:43:14] *** Aartsie has joined #angularjs
[11:43:15] *** ldgood has quit IRC
[11:43:24] *** stayarrr has quit IRC
[11:44:22] *** danielpquinn has quit IRC
[11:44:33] *** AngularUI has joined #angularjs
[11:44:33]
<AngularUI> [bootstrap] Nimaen closed pull request #2523: Delay collapse animation (master...delayCollapseAnimation) http://git.io/2X6UOg
[11:44:33] *** AngularUI has left #angularjs
[11:44:45] *** ldgood has joined #angularjs
[11:44:54] *** epantzar has joined #angularjs
[11:46:07] *** mguillech has quit IRC
[11:46:07] *** IKO_ has joined #angularjs
[11:46:37] *** knownasilya has joined #angularjs
[11:46:39] <intellix> marcospgp I think Bearer is a custom type used by OAuth2 protocol
[11:46:54] *** Reskp has joined #angularjs
[11:46:54] <marcospgp> intellix I see ty
[11:47:33] *** onats has quit IRC
[11:47:57] *** CainVampyr has quit IRC
[11:48:06] *** Aartsie has quit IRC
[11:48:15] *** kofight has joined #angularjs
[11:48:36] *** \du has joined #angularjs
[11:50:13] *** xv has joined #angularjs
[11:50:21] *** \du has quit IRC
[11:50:31] *** danyim has joined #angularjs
[11:51:35] *** epantzar has quit IRC
[11:51:59] *** CainVampyr has joined #angularjs
[11:52:32] *** LoveAndHappiness has quit IRC
[11:53:17] *** BMCouto has joined #angularjs
[11:53:29] *** mven has quit IRC
[11:53:44] *** prbc has joined #angularjs
[11:54:33] *** LoveAndHappiness has joined #angularjs
[11:54:59] *** nemothekid has quit IRC
[11:55:08] *** texinwien has joined #angularjs
[11:56:04] *** CainVampyr has joined #angularjs
[11:56:18] *** danyim has quit IRC
[11:57:18] *** milka_ has joined #angularjs
[11:57:34] *** dariocravero has quit IRC
[11:57:39] *** CainVampyr has quit IRC
[11:58:04] *** milka has quit IRC
[11:58:12] *** prbc has quit IRC
[12:01:23] *** DevAntoine has quit IRC
[12:01:26] *** plitzenberger has quit IRC
[12:02:01] *** duall has joined #angularjs
[12:02:02] *** greg5green has quit IRC
[12:02:10] *** greg5green has joined #angularjs
[12:02:23] *** LoveAndHappiness has quit IRC
[12:02:56] *** davesidious_ is now known as davesidious
[12:03:23] *** CainVampyr has joined #angularjs
[12:03:53] *** duall has left #angularjs
[12:04:01] *** duall has joined #angularjs
[12:04:20] *** Justus has joined #angularjs
[12:04:30] <Justus> Hi what is wrong with this select: <select ng-options="value as key for (key, value) in base.defaultUserAgent"></select>
[12:04:32] *** DrMabuse has quit IRC
[12:04:50] <Justus> key and value are strings, the ng-repeat here works perfectly: <div ng-repeat="(key, value) in base.defaultUserAgent">{{key}} - {{value}}</div>
[12:06:29] *** mennea has joined #angularjs
[12:06:29] *** the-erm has quit IRC
[12:07:07] *** plitzenberger has joined #angularjs
[12:07:19] *** duall has left #angularjs
[12:07:21] *** mtsr has joined #angularjs
[12:07:25] *** duall has joined #angularjs
[12:07:37] *** the-erm has joined #angularjs
[12:08:19] *** duall has left #angularjs
[12:08:22] *** duall has joined #angularjs
[12:08:23] *** CainVampyr has quit IRC
[12:09:09] *** IKO_ has quit IRC
[12:09:10] *** bengilli_ has joined #angularjs
[12:09:13] *** dariocravero has joined #angularjs
[12:09:21] *** Raging_Hog has joined #angularjs
[12:09:37] <duall> Sorry for offtopic SASS question, but how do I make this line multiline? $colors: (primary-color: #999999, action-color: #7F7F7F, link-color: #4ba3cb, link-color2: #484848)
[12:10:01] *** bengillies has quit IRC
[12:10:05] *** TorchDragon has joined #angularjs
[12:10:14] *** CainVampyr has joined #angularjs
[12:10:19] *** kaeku has quit IRC
[12:11:31] *** kaeku has joined #angularjs
[12:12:19] *** dariocravero has quit IRC
[12:12:51] *** Click66 has quit IRC
[12:12:57] *** Click66 has joined #angularjs
[12:12:58] *** dariocravero has joined #angularjs
[12:13:15] *** Dan___ has joined #angularjs
[12:13:19] *** CainVampyr has quit IRC
[12:13:41] *** CainVampyr has joined #angularjs
[12:14:01] *** jonasrosenlind has quit IRC
[12:14:17] *** Justus has left #angularjs
[12:14:21] <Dan___> Why would anyone ever organize their source files by file type instead of by functional module?
[12:14:22] *** TorchDragon has quit IRC
[12:14:38] *** CainVampyr has quit IRC
[12:15:03] *** Reskp has quit IRC
[12:15:07] <Dan___> I've read that 'by file type' is 'ok' for small apps. Why not just always do it 'by functional module'? Is that really so bad for a small app?
[12:15:16] *** Sathya has joined #angularjs
[12:15:17] *** Left_Turn has quit IRC
[12:15:28] <Sathya> Hi there!
[12:16:07] *** Reskp has joined #angularjs
[12:16:47] *** UniBot has quit IRC
[12:16:52] *** CainVampyr has joined #angularjs
[12:16:55] *** Reskp has quit IRC
[12:17:09] *** FIFOd[a] has joined #angularjs
[12:17:15] *** leftblank has joined #angularjs
[12:17:34] *** milka_ is now known as milka
[12:17:39] *** dariocra_ has joined #angularjs
[12:17:40] *** sneakertack has quit IRC
[12:17:58] *** Raging_Hog has quit IRC
[12:18:01] <OnkelTem> intellix: thanks, now I use it too :)
[12:18:17] *** mykz_ has joined #angularjs
[12:18:47] *** Sky[x] has quit IRC
[12:19:31] *** rma1 has quit IRC
[12:20:16] *** dariocravero has quit IRC
[12:20:24] *** fwielstra has quit IRC
[12:20:34] *** jamie_ has joined #angularjs
[12:20:51] <jamie_> hi nice to meet you
[12:20:57] *** Raging_Hog has joined #angularjs
[12:21:01] <jamie_> nice to meet you all
[12:21:32] *** FIFOd[a] has quit IRC
[12:21:33] *** cotko has joined #angularjs
[12:21:48] *** jamie_ has quit IRC
[12:23:15] *** Vinnyceptr has joined #angularjs
[12:24:35] *** intellix has quit IRC
[12:25:10] *** Sathya has quit IRC
[12:26:23] *** miname has quit IRC
[12:27:02] *** Sky[x] has joined #angularjs
[12:28:16] *** sneakertack has joined #angularjs
[12:28:34] *** IJNX has joined #angularjs
[12:28:37] *** morenoh151 has quit IRC
[12:28:55] *** RubenCordeiro has joined #angularjs
[12:28:56] *** gunn has quit IRC
[12:29:06] *** Grokling_ has quit IRC
[12:29:46] *** Vinnyceptr has quit IRC
[12:30:37] *** kaeku has quit IRC
[12:31:00] *** miname has joined #angularjs
[12:31:05] *** gunn has joined #angularjs
[12:31:18] *** Tidwell1 has joined #angularjs
[12:33:03] <marcospgp> jamie_ heyo
[12:33:22] *** Click66 has quit IRC
[12:33:42] *** Vinnyceptr has joined #angularjs
[12:33:57] *** Aartsie has joined #angularjs
[12:34:02] *** Tidwell has quit IRC
[12:34:11] *** Left_Turn has joined #angularjs
[12:34:45] *** encrypt3d_fracti has joined #angularjs
[12:35:08] *** seydoggy has joined #angularjs
[12:35:18] *** ckboii89 has quit IRC
[12:35:54] *** ckboii89 has joined #angularjs
[12:37:10] *** roolo has quit IRC
[12:37:41] *** Reskp has joined #angularjs
[12:38:59] *** miname has quit IRC
[12:39:02] *** encrypt3d_fracti has quit IRC
[12:39:39] *** miname has joined #angularjs
[12:39:56] *** ckboii89 has quit IRC
[12:40:00] *** kaeku has joined #angularjs
[12:40:50] *** danielpquinn has joined #angularjs
[12:41:08] *** Sakurazaki is now known as Sakurazaki|off
[12:42:51] *** Hounddog has joined #angularjs
[12:43:07] *** Raging_Hog has quit IRC
[12:43:20] *** joojis has quit IRC
[12:45:03] *** xyNNN has quit IRC
[12:45:35] *** danielpquinn has quit IRC
[12:45:36] *** kaeku has quit IRC
[12:47:08] *** fwielstra has joined #angularjs
[12:47:24] *** kaeku has joined #angularjs
[12:47:33] *** jonasrosenlind has joined #angularjs
[12:47:53] *** Dan___ has quit IRC
[12:47:59] *** miname has quit IRC
[12:48:41] *** house has quit IRC
[12:48:50] *** bulkan has joined #angularjs
[12:49:10] *** miname has joined #angularjs
[12:49:44] *** kirfu has joined #angularjs
[12:50:20] *** slainer68 has quit IRC
[12:50:21] *** Joulse has quit IRC
[12:52:34] *** bertrandk has quit IRC
[12:52:49] *** danyim has joined #angularjs
[12:53:57] *** jongravois has joined #angularjs
[12:54:55] *** jongravois has quit IRC
[12:56:02] *** bertrandk has joined #angularjs
[12:56:57] *** tarnus has joined #angularjs
[12:57:21] *** jgravois has joined #angularjs
[12:57:33] <jgravois> 10:36 jongravois : In a $scope method, I am using $http.post('loans', {field1: 'value1', field2: 'value2'}); to successfully insert a db record. How do I retrieve the insert id from that post to push to the $scope so I can continue with the next part of the form?
[12:57:40] *** drej has joined #angularjs
[12:57:43] *** danyim has quit IRC
[12:58:12] <greengriminal> If you are using the ng-switch and can you change the state from the controller. So say for example someone clicks "search" which triggers the search() can you get your page to change once that method is fired?
[12:58:35] *** josh-k has joined #angularjs
[12:58:43] *** arntempelgibbarn has quit IRC
[12:58:45] *** house has joined #angularjs
[12:58:55] *** morenoh151 has joined #angularjs
[13:00:38] *** prikk has quit IRC
[13:01:02] *** IJNX has quit IRC
[13:01:27] *** tarnus has quit IRC
[13:01:38] *** roolo has joined #angularjs
[13:02:10] *** intellix has joined #angularjs
[13:04:54] *** Click66 has joined #angularjs
[13:05:31] *** DrMabuse has joined #angularjs
[13:06:53] *** kaeku has quit IRC
[13:07:10] *** jgravois_ has joined #angularjs
[13:07:19] *** mguillech has joined #angularjs
[13:07:40] *** Sebastien-L has quit IRC
[13:07:42] *** UniBot has joined #angularjs
[13:07:47] *** patrick99e99 has quit IRC
[13:07:48] *** house has quit IRC
[13:07:54] *** AngularUI has joined #angularjs
[13:07:54]
<AngularUI> [bootstrap] R3VoLuT1OneR opened pull request #2524: feat(modal): Add CSS class(es) to the top modal window (master...master) http://git.io/H0kf1g
[13:07:54] *** AngularUI has left #angularjs
[13:08:04] *** Dragory has joined #angularjs
[13:09:01] *** Johnny13371337 has joined #angularjs
[13:09:20] <jgravois_> In a $scope method, I am using $http.post('loans', {field1: 'value1', field2: 'value2'}); to successfully insert a db record. How do I retrieve the insert id from that post to push to the $scope so I can continue with the next part of the form?
[13:09:43] *** Joshee has joined #angularjs
[13:09:58] <jgravois_> (sorry for a duplicate post. I changed IRC clients)
[13:09:59] *** DrMabuse has quit IRC
[13:10:13] *** jgravois has quit IRC
[13:11:10] *** sneakertack has quit IRC
[13:11:11] <jgravois_> LOL ... I have not left
[13:11:35] *** dariocra_ has quit IRC
[13:11:53] *** mehlah has joined #angularjs
[13:11:55] *** plitzenberger has quit IRC
[13:12:17] *** kirfu has quit IRC
[13:12:37] *** daslicht has joined #angularjs
[13:12:42] *** wiherek has joined #angularjs
[13:12:44] <wiherek> hi
[13:13:03] <wiherek> i have a weird bug - links that used to work OK now reload the app
[13:13:12] <wiherek> those are internal links, built with data-ng-href
[13:13:20] <wiherek> i have a base path '/'
[13:13:39] <wiherek> and those links go to '/post/{{ id }}'
[13:14:00] <wiherek> and now they started to cause a full reload :S anyone experienced something similar?
[13:14:24] *** FIFOd[a] has joined #angularjs
[13:14:29] <jgravois_> I did once because of the order of my routes
[13:14:50] <wiherek> what was the issue?
[13:14:58] *** naxs has joined #angularjs
[13:15:38] *** plitzenberger has joined #angularjs
[13:16:21] <jgravois_> since routes are respected from top to bottom, when I added a route too high up in the .config(), I ended up losing all the potential matches below. I moved my wildcard to the bottom so that all of the named routes would be evaluated before a wildcard route and it worked
[13:16:45] *** epantzar has joined #angularjs
[13:17:06] <jgravois_> not sure if it is the same issue here though
[13:17:07] *** bin has left #angularjs
[13:17:20] <wiherek> hm
[13:18:02] <wiherek> no.
[13:18:10] <wiherek> routing in other places of the app works fine.
[13:18:21] <wiherek> its just inside one directive that it doesn't work.
[13:18:28] *** MaxV has quit IRC
[13:18:34] *** MaxV_ has joined #angularjs
[13:18:44] <wiherek> i can have a link there and the same another place, and the latter will work correctly
[13:18:50] <jgravois_> sorry I couldn't help
[13:19:01] <wiherek> no worries, maybe someone else experienced that too
[13:19:06] *** fbenoit has quit IRC
[13:19:28] <jgravois_> you don't happen to know about $http.post() do you?
[13:19:47] *** naxs has quit IRC
[13:19:48] *** dejane has joined #angularjs
[13:19:53] <wiherek> what about it?
[13:19:57] *** MaxV_ has quit IRC
[13:20:00] *** fbenoit has joined #angularjs
[13:20:10] <jgravois_> my question above: In a $scope method, I am using $http.post('loans', {field1: 'value1', field2: 'value2'}); to successfully insert a db record. How do I retrieve the insert id from that post to push to the $scope so I can continue with the next part of the form?
[13:20:17] *** MaxV has joined #angularjs
[13:20:40] <wiherek> you mean how you get the result?
[13:20:56] *** MaxV has quit IRC
[13:21:05] *** MaxV has joined #angularjs
[13:21:12] <jgravois_> I need the auto-increment id that the database assigned to my insert
[13:21:21] <wiherek> does you API return the id?
[13:21:26] <wiherek> if so, do:
[13:21:49] <jgravois_> I am writing my API in Laravel so I CAN return it
[13:22:25] <wiherek> $http.post('loans', {field1: 'somevalue'}).then(function (result) { console.log(result.data); }, function (error) { console.log(error) })
[13:22:37] <wiherek> theres a semicolon missing there
[13:22:48] <wiherek> the id will be in result.data
[13:23:12] <wiherek> you can also use .success(function(....... and failure(function.....
[13:23:23] <jgravois_> so .post is a promise?
[13:23:27] *** dejane has quit IRC
[13:23:29] <wiherek> yes
[13:23:46] <jgravois_> well, crap. Thanks!
[13:23:55] *** daslicht has quit IRC
[13:24:15] *** FIFOd[a] has quit IRC
[13:24:48] *** FIFOd[a] has joined #angularjs
[13:24:52] *** Johnny13371337 has left #angularjs
[13:24:57] <wiherek> np
[13:25:00] <marcospgp> just as a note it's success and error, not failure :)
[13:25:07] <wiherek> righto :)
[13:26:54] *** scrooge_mcduck has joined #angularjs
[13:26:57] <scrooge_mcduck> hello
[13:27:00] *** agronholm has quit IRC
[13:27:06] <scrooge_mcduck> anyway to access filters in controllers?
[13:27:33] *** in_deep_thought has joined #angularjs
[13:27:37] *** kaeku has joined #angularjs
[13:28:34]
<in_deep_thought> can someone tell me why my ng-submit function isn’t being called on this form? nothing is being logged to the console (As you can see): http://jsbin.com/kuduxilu/1/
[13:28:36] *** MaxV has quit IRC
[13:28:58] *** MaxV has joined #angularjs
[13:29:01] *** agronholm has joined #angularjs
[13:29:04] *** FIFOd[a] has quit IRC
[13:29:48] *** dob_ has quit IRC
[13:30:19] *** dob_ has joined #angularjs
[13:30:28] *** DrMabuse has joined #angularjs
[13:31:26] *** drej has quit IRC
[13:32:49] *** thomastuts has joined #angularjs
[13:33:23] *** epantzar has quit IRC
[13:33:55] *** styles has joined #angularjs
[13:34:32] *** patrick99e99 has joined #angularjs
[13:35:08] *** slainer68 has joined #angularjs
[13:35:58] <in_deep_thought> wiherek: thanks! so I have to use button type=“submit” instead of input type = “button”?
[13:36:32] *** paul_dijou has quit IRC
[13:36:38] *** daslicht has joined #angularjs
[13:36:39] *** Sebastien-L has joined #angularjs
[13:37:31] *** jkremser has quit IRC
[13:38:05] *** Cavallari has joined #angularjs
[13:38:15] *** prbc has joined #angularjs
[13:38:32] *** Joulse has joined #angularjs
[13:38:50] *** whitebook has joined #angularjs
[13:39:17] <wiherek> well something needs to make the form submit
[13:39:26] *** FunnyLookinHat has joined #angularjs
[13:39:27] <wiherek> a button doesnt do much on its own
[13:39:37] *** FunnyLookinHat has quit IRC
[13:39:37] *** FunnyLookinHat has joined #angularjs
[13:39:45] *** miname has quit IRC
[13:40:20] *** slainer68 has quit IRC
[13:40:30] *** nxf has joined #angularjs
[13:40:45] *** Cavallari has quit IRC
[13:41:35] *** danielpquinn has joined #angularjs
[13:42:35] *** eamonn has joined #angularjs
[13:42:42] *** mercwithamouth has joined #angularjs
[13:42:51] *** patrick99e99 has quit IRC
[13:43:12] *** miname has joined #angularjs
[13:43:27] *** hychen has quit IRC
[13:43:59] *** Bardosity has quit IRC
[13:44:07] *** akrikos has joined #angularjs
[13:44:17] *** miname has quit IRC
[13:44:52] *** guilbep has quit IRC
[13:45:06] *** guilbep has joined #angularjs
[13:45:36] *** bengilli_ has quit IRC
[13:46:10] *** charuru has quit IRC
[13:46:10] *** danielpquinn has quit IRC
[13:46:39] *** akrikos has quit IRC
[13:47:29] *** kirfu has joined #angularjs
[13:48:43] *** bengillies has joined #angularjs
[13:49:57] *** Afwas has quit IRC
[13:50:48] *** guilbep has quit IRC
[13:51:00] *** paul_dijou has joined #angularjs
[13:51:04] *** sharondio has quit IRC
[13:52:02] *** uf6668 has joined #angularjs
[13:52:28] *** uf6667 has quit IRC
[13:52:47] *** TyrfingMjolnir has quit IRC
[13:52:50] *** dob_ has quit IRC
[13:52:56] *** dob_ has joined #angularjs
[13:54:12] *** joliss has quit IRC
[13:54:16] *** fwielstra has quit IRC
[13:54:35] *** lucasefe has joined #angularjs
[13:54:43] *** joliss has joined #angularjs
[13:56:04] *** fwielstra has joined #angularjs
[13:56:15] *** Sgeo has quit IRC
[13:58:21] *** orion1111 has quit IRC
[13:58:27] *** elrabin has joined #angularjs
[13:59:47] *** lsiv568 has joined #angularjs
[14:00:07] *** fouzko has quit IRC
[14:00:24] *** morenoh151 has quit IRC
[14:00:28] *** in_deep_thought has quit IRC
[14:00:33] *** fouzko has joined #angularjs
[14:00:36] *** DrMabuse_ has joined #angularjs
[14:00:44] *** tarnus has joined #angularjs
[14:01:20] *** kirfu has quit IRC
[14:01:42] *** fouzko_ has joined #angularjs
[14:01:47] *** Xethron has quit IRC
[14:02:31] *** epantzar has joined #angularjs
[14:04:13] *** DrMabuse has quit IRC
[14:04:27] *** guilbep has joined #angularjs
[14:04:47] *** house has joined #angularjs
[14:04:48] *** Xethron has joined #angularjs
[14:04:54] <thomastuts> i'm kind of confused about providers; if i have a provider called 'Inquirer', i should be able to inject it into the module's .config section with 'InquirerProvider', right?
[14:04:57] *** fouzko has quit IRC
[14:05:01] *** wwnnbb has joined #angularjs
[14:05:36] *** Emperor_Earth has joined #angularjs
[14:06:31] *** Dimlock has joined #angularjs
[14:06:38] *** ckboii89 has joined #angularjs
[14:06:48] *** UniBot has quit IRC
[14:07:10] *** UniBot has joined #angularjs
[14:07:20] *** tschundeee has joined #angularjs
[14:07:54] *** ngoyal has joined #angularjs
[14:08:01] *** seydoggy has quit IRC
[14:08:35] *** seydoggy has joined #angularjs
[14:08:55] *** Fishy has joined #angularjs
[14:09:37] *** patrick99e99 has joined #angularjs
[14:09:38] *** ngoyal has quit IRC
[14:10:10] *** ngoyal has joined #angularjs
[14:10:21] *** Aartsie has quit IRC
[14:10:24] *** eperez has joined #angularjs
[14:10:44] *** ckboii89 has quit IRC
[14:11:03] *** Aartsie has joined #angularjs
[14:11:19]
<Hounddog> trying to use transition in module.run http://pastebin.com/Asf1VFR7 i just verified it is passing but then not redirecting to the state
[14:11:28] *** mtsr has quit IRC
[14:11:38] <Hounddog> maybee i am missing something
[14:11:44] *** TorchDragon has joined #angularjs
[14:11:50] *** paul_dijou has quit IRC
[14:12:12] *** lite_ has quit IRC
[14:13:10] *** seydoggy has quit IRC
[14:13:11] *** Reskp has quit IRC
[14:14:07] <marcospgp> thomastusts, i believe so
[14:14:23] *** mercwithamouth has quit IRC
[14:14:24] *** patrick99e99 has quit IRC
[14:14:59] *** ceephax has quit IRC
[14:16:07] *** TorchDragon has quit IRC
[14:16:08] *** kaeku has quit IRC
[14:17:22] *** stodan has quit IRC
[14:17:37] <thomastuts> marcospgp: found it, the problem was with the order in which stuff was being declared
[14:17:47] <thomastuts> i was trying to configure the provider before the app loaded the actual provider
[14:17:56] <marcospgp> thomastusts ^^
[14:18:14] *** JasonStoltz has joined #angularjs
[14:18:17] *** ingshtrom has joined #angularjs
[14:18:17] *** ninsei has quit IRC
[14:18:38] *** ninsei has joined #angularjs
[14:18:42] *** bertrandk has quit IRC
[14:19:33] *** DevAntoine has joined #angularjs
[14:20:21] *** tomzx`afk is now known as tomzx
[14:20:29] *** ki0 has quit IRC
[14:20:34] *** slainer68 has joined #angularjs
[14:20:55] *** lefant has quit IRC
[14:21:04] *** ki0 has joined #angularjs
[14:21:08] *** opiispanen has left #angularjs
[14:21:14] <Hounddog> i dont get it... i can't seem to be able to transition to a different state in module.run
[14:21:44] *** blckbrd has joined #angularjs
[14:22:21] *** UniBot has quit IRC
[14:22:38] *** UniBot has joined #angularjs
[14:22:43] *** epantzar has quit IRC
[14:22:44] *** UniBot has quit IRC
[14:22:53] *** anderskristo has joined #angularjs
[14:23:11] *** apetro_ has joined #angularjs
[14:23:21] *** pskrz has quit IRC
[14:23:40] *** DrMabuse_ has quit IRC
[14:23:59] *** aendrew_ has joined #angularjs
[14:24:16] *** DrMabuse has joined #angularjs
[14:24:38] *** aendrew_ has quit IRC
[14:25:24] *** JoshGlzB_ has quit IRC
[14:25:33] *** soujiro has joined #angularjs
[14:25:36] *** ki0 has quit IRC
[14:25:57] *** ccohn has joined #angularjs
[14:27:12] *** kaeku has joined #angularjs
[14:28:26] *** slainer68 has quit IRC
[14:28:30] *** morenoh151 has joined #angularjs
[14:28:30] *** HypnotiX has quit IRC
[14:28:34] *** slainer68 has joined #angularjs
[14:28:44] *** jamto11 has joined #angularjs
[14:29:54] <workthrick> hmm, is $element supposed to be automagically available within the HTML templates? I was told it is, but now I can't get it to work and I cannot see any references to such a thing in documentation either
[14:29:59] *** whiteboo_ has joined #angularjs
[14:30:00] *** pskrz has joined #angularjs
[14:30:16] *** whitebook has quit IRC
[14:30:17] *** bengilli_ has joined #angularjs
[14:30:27] *** mccarrontr1ck has joined #angularjs
[14:30:28] *** bengillies has quit IRC
[14:31:14] *** drej has joined #angularjs
[14:31:32] *** Joshee has quit IRC
[14:31:34] <zomg> workthrick: what html template? I don't recall it being available unless you actually ask for it
[14:32:47] <workthrick> zomg: yeah, I don't see anything like that either. I was told that by a coworker who isn't here atm, so I have no way of getting a clarification of what he meant
[14:32:59] *** mven_ has quit IRC
[14:33:59] *** xyNNN has joined #angularjs
[14:34:05] *** cladic has quit IRC
[14:34:08] <zomg> it's available for directives in the link function at least, but I don't recall it gets passed to anything else unless you explicitly ask for it from the injector
[14:34:10] <workthrick> zomg: can I make it available somehow to signify the DOM element on which it's invoked? Such as <div foo="bar($element)"> ?
[14:34:25] *** gauravsaini03 has quit IRC
[14:34:39] <zomg> What would be the purpose of that? I kinda get the feeling there's probably some better way of doing it :)
[14:35:26] *** whiteboo_ has quit IRC
[14:35:37] <workthrick> zomg: maybe. It's for a callback in a directive wrapping jqueryUI resizable, in which I need to grab the element on which the callback is invoked, extract some of its children, and then reflect their measurements in the model
[14:35:57] *** djam90 has joined #angularjs
[14:36:07] <djam90> I don't suppose there are any lodash experts here?
[14:36:07] *** plitzenberger has quit IRC
[14:36:11] *** Emperor_Earth has quit IRC
[14:36:15] <workthrick> I can't just chuck it directly onto the directive since different users of it need to do different things in the callback
[14:36:36] *** Emperor_Earth has joined #angularjs
[14:37:13] <workthrick> the callback being defined as scope: { resizeDone: '&' }
[14:37:14] <zomg> workthrick: so you have something like this <div resizable="myCallback()"> ? and you want to give the element as a parameter to myCallback?
[14:37:15] *** mven has joined #angularjs
[14:37:23] <workthrick> zomg: yeah
[14:37:52] <zomg> How about just store the element within the resizable directive, and then when you trigger your callback, pass the element from the directive as a parameter?
[14:38:06]
<djam90> I have a Lodash multi filter: http://pastebin.com/YTnhMGdu and it works fine with arrays of multiple values, for example "Petrol" and Diesel", howeever when using it with numbers, like "2" or "3" (think doors) then it doesn't work :/ Is it the _.filter or _.contains or something that breaks?
[14:38:54] *** CodeFriar has joined #angularjs
[14:39:00] *** Nizumzen has joined #angularjs
[14:39:28] *** ethern has joined #angularjs
[14:40:23] <djam90> Where is robdubya_ when ya need him
[14:40:44] *** whitebook has joined #angularjs
[14:41:13] *** wwnnbb has quit IRC
[14:42:25] *** danielpquinn has joined #angularjs
[14:42:32] *** CodeFriar has quit IRC
[14:43:10] *** Deepak has joined #angularjs
[14:43:31] *** vbabiy has joined #angularjs
[14:44:34] *** elrabin has quit IRC
[14:44:37] <pskrz> djam90: are you passing numbers or strings?
[14:44:51] *** FLaMeS has quit IRC
[14:45:02] <djam90> i don't.. actually know :(
[14:45:09] *** hychen has joined #angularjs
[14:45:10] *** elrabin has joined #angularjs
[14:45:23] *** Deepak has quit IRC
[14:45:24] *** ccohn has quit IRC
[14:45:27] <djam90> I am using Angular CheckList to store the model
[14:45:45] *** FLaMeS has joined #angularjs
[14:45:59] *** ccohn has joined #angularjs
[14:46:09] *** hugofirth has joined #angularjs
[14:46:20] *** Blazedd has quit IRC
[14:46:41] *** vijay has joined #angularjs
[14:46:53] *** danielpquinn has quit IRC
[14:46:55] <workthrick> zomg: yeah, I can do that, I was basically wondering if there weren't a magical way to get a reference to it, because I was told there was
[14:47:43] <vijay> hi
[14:47:56] <vijay> i m new in angularjs
[14:48:05] <vijay> but i like so much
[14:48:49] <vijay> any one here who learn me routing
[14:48:53] <djam90> Yes the problem is my dataset I am filtering against has numbers but my checklist saves them as strings :(
[14:49:16] *** ccohn has quit IRC
[14:49:17] *** bertrandk has joined #angularjs
[14:49:24] *** vijay has quit IRC
[14:49:26] *** ccohn has joined #angularjs
[14:49:31] *** elrabin has quit IRC
[14:49:37] <pskrz> djam90: "2"==2 returns true, "2"===2 returns false. I think it's type coercion biting you
[14:49:49] *** drej has quit IRC
[14:49:55] *** ineedarobot has quit IRC
[14:50:07] *** UniBot has joined #angularjs
[14:50:14] <djam90> pskrz, not sure whether to change my filters to numbers to match, or change the source data to strings
[14:50:15] *** duall has quit IRC
[14:50:39] *** Sakurazaki|off is now known as Sakurazaki
[14:50:40] *** ethern has quit IRC
[14:51:00] <pskrz> djam90: rule of thumb is to change the dataset before the code
[14:51:01] *** CodeFriar has joined #angularjs
[14:51:58] *** CodeFriar has joined #angularjs
[14:52:18] *** sharondio has joined #angularjs
[14:52:45] *** jkremser has joined #angularjs
[14:52:45] *** jkremser has joined #angularjs
[14:53:38] *** eperez has quit IRC
[14:53:39] *** jamto11 has quit IRC
[14:54:03] *** danyim has joined #angularjs
[14:54:16] *** eperez has joined #angularjs
[14:55:16]
<djam90> Can anyone tell me how this checklist directive stores the values? http://pastebin.com/GEKZZSZm It is storing as a string and I want it to store as a number but not sure...
[14:56:02] *** bengillies has joined #angularjs
[14:56:05] *** bengilli_ has quit IRC
[14:56:10] *** bertrandk has quit IRC
[14:56:15] *** JohnBat26 has quit IRC
[14:56:29] *** eperez_ has joined #angularjs
[14:56:32] *** Joshee has joined #angularjs
[14:56:52] *** mennea has quit IRC
[14:57:33] *** eperez has quit IRC
[14:57:36] <djam90> The collection in my ng-repeat is a number, not string
[14:58:11] *** Pwnna has quit IRC
[14:58:12] *** raibutera has quit IRC
[14:58:23] *** danyim has quit IRC
[14:58:30] *** dariocravero has joined #angularjs
[14:58:34] *** joshontheweb has joined #angularjs
[14:59:14] *** raibutera has joined #angularjs
[14:59:15] <djam90> But when the checklist directive stores it in an array, it is stored as a string
[14:59:39] *** caitp has joined #angularjs
[15:00:41] <zomg> hmm, was thinking of maybe writing some content for jQuery developers wanting to learn angular
[15:00:48] <zomg> Though ng-book seems to be *extremely* comprehensive =)
[15:00:57] *** paddymahoney has joined #angularjs
[15:01:38] *** duall has joined #angularjs
[15:01:42] <marcospgp> This throws an error in my service, why? $rootScope.on('load', function () {...
[15:02:01] *** Pwnna has joined #angularjs
[15:02:03] <marcospgp> says undefined is not a function
[15:02:40] <zomg> marcospgp: $on, not on
[15:02:54] *** ineedarobot has joined #angularjs
[15:02:58] <marcospgp> zomg <- this
[15:03:00] *** hannesvdvreken has quit IRC
[15:03:11] *** epantzar has joined #angularjs
[15:03:53]
<djam90> Does anyone know why this directive stores the checked items as a string rather than a number? Even when the input was a number? http://pastebin.com/GEKZZSZm
[15:03:54] *** davemerw_ has quit IRC
[15:04:06] *** davemerwin has joined #angularjs
[15:05:08] *** imehesz has joined #angularjs
[15:06:00] *** Destos has joined #angularjs
[15:06:12] *** dariocravero has quit IRC
[15:06:44] *** mfunkie has joined #angularjs
[15:07:20] *** ckboii89 has joined #angularjs
[15:07:42] <djam90> I am using this for my inputs: <input class="prog-code" type='checkbox' value="{{item.name | num}}" check-list='filterItem.doors' ng-disabled="!postcodeFound" >
[15:07:53] *** lsiv568 has quit IRC
[15:07:59] <djam90> The "| num" filter is just a simple parseInt() filter
[15:08:04] *** mmccook has joined #angularjs
[15:08:07] *** ki0 has joined #angularjs
[15:08:13] <djam90> so it should surely pass in a NUMBER to the value of the checkbox
[15:08:20] *** lsiv568 has joined #angularjs
[15:08:24] <djam90> but when the checklist directive uses it, it says typeof as string!
[15:08:27] *** whitebook has quit IRC
[15:08:29] <djam90> How is this possibl
[15:08:30] <djam90> e
[15:08:38] *** darrin has joined #angularjs
[15:09:03] <marcospgp> can be javascript doing type conversion under the hood to optimize things
[15:09:09] <marcospgp> anyway how is that affecting you?
[15:09:34] *** BillCriswell has joined #angularjs
[15:09:35] *** VictorBjelkholm has joined #angularjs
[15:09:39] <zomg> javascript doesn't convert types to optimize
[15:09:46] *** zivester has joined #angularjs
[15:10:01] <djam90> marcospgp, because the checklist directive stores the checked items inside filterItems.doors. And I use those values in that array to filter my ng-repeat data
[15:10:04] *** patrick99e99 has joined #angularjs
[15:10:14] <zomg> djam90: `value` is a dom attribute, and dom attributes are always strings
[15:10:19] *** elrabin has joined #angularjs
[15:10:37] <zomg> value="{{item.name|num}}" is essentially the same as saying foo.value = parseInt(item.name)
[15:10:40] <zomg> it still becomes a string
[15:10:46] *** _tpavel has quit IRC
[15:11:13] <djam90> zomg, so how can I ensure that the value is converted to a number in my filterItem.doors array?
[15:11:22] *** marcospgp has quit IRC
[15:11:32] *** ckboii89 has quit IRC
[15:11:43] <djam90> I am using the checklist directive in other cases not just numbers, sometimes strings
[15:11:49] *** Willow has quit IRC
[15:11:55] <workthrick> djam90: .value is always a string, simple
[15:11:56] <zomg> you could try using ng-model and using a secondary directive that adds a converter to the model value that converts it into a number
[15:12:02] <workthrick> that's how the DOM works
[15:12:05] <zomg> I mean ng-model instead of just value
[15:12:15] *** Willow has joined #angularjs
[15:12:20] <zomg> or convert the values into numbers in your filter
[15:12:33] <djam90> In my ng-repeat filter?
[15:12:38] *** lsiv568 has quit IRC
[15:12:38] *** stayarrr has joined #angularjs
[15:12:45] <workthrick> oh, zomg already said that
[15:12:47] <djam90> I currently use thios: multiFilter:'doors': filterItem.doors |
[15:12:51] <djam90> multiFilter:'doors': filterItem.doors |
[15:13:20] *** bluesm has joined #angularjs
[15:14:04] *** seydoggy has joined #angularjs
[15:14:27] *** UniBot has quit IRC
[15:14:28] *** patrick99e99 has quit IRC
[15:14:48] *** UniBot has joined #angularjs
[15:14:59] <zomg> maybe there's a lodash function that doesn't do a strict equals check
[15:15:01] *** UniBot has quit IRC
[15:15:13] *** cladic has joined #angularjs
[15:15:46] *** quantax- has quit IRC
[15:16:09] *** francisl has joined #angularjs
[15:16:09] *** francisl has quit IRC
[15:16:20] *** lsiv568 has joined #angularjs
[15:16:46] *** francisl has joined #angularjs
[15:17:03] <djam90> zomg I can't find one in the documentation :(
[15:17:04] *** Willow has quit IRC
[15:17:15] <lsiv568> djam90: use ng-model
[15:17:34] *** KamalKaur has joined #angularjs
[15:17:48] <djam90> lsiv568, I avoided ng-model and used checklist directive because I needed to get the values of multiple checked checkboxes into an array
[15:17:54] *** mennea has joined #angularjs
[15:18:09] *** mmitchel_ has joined #angularjs
[15:18:39] <lsiv568> djam90: do you have a fiddle?
[15:18:42] <lsiv568> or plunk?
[15:18:57] <zomg> djam90: maybe just create another filter like multiFilter and make it convert a key to a number :)
[15:19:06] *** ktornwall has left #angularjs
[15:19:09] *** plitzenberger has joined #angularjs
[15:19:19] <zomg> then you can do multiFilter | numericize blah
[15:19:23] <zomg> or something along those lines
[15:19:39] *** apetro_ has quit IRC
[15:20:16] *** apetro_ has joined #angularjs
[15:21:05] *** stayarrr has quit IRC
[15:21:15] *** calumet has joined #angularjs
[15:21:30] *** MANCHUCK has joined #angularjs
[15:22:07] *** schuran_ has quit IRC
[15:22:36] *** jobelenus has joined #angularjs
[15:22:41] *** fedenunez has joined #angularjs
[15:22:49] <guilbep> hmm I'm trying to create a directive that modify some $scope.variable.. and because of ng-repeat ng-include and stuff.. I have to bind it like <span test="$parent.$parent.$parent.$parent.sort"> ... that looks bad.. any idea how I should improve that ? :p
[15:23:31] *** TorchDragon has joined #angularjs
[15:24:30] *** _tpavel has joined #angularjs
[15:24:30] *** bbankes has joined #angularjs
[15:24:37] *** kaeku has quit IRC
[15:24:53] *** FunnyLookinHat has quit IRC
[15:25:08] *** ppppaul has joined #angularjs
[15:25:17] *** TweedleDee has joined #angularjs
[15:25:17] *** drej has joined #angularjs
[15:25:18] *** apetro_ has quit IRC
[15:25:22] *** CainVampyr has quit IRC
[15:25:25] *** tschundeee has quit IRC
[15:25:30] <zomg> you can use ng-controller="MyController as foo", and then do test="foo.sort"
[15:25:32] <djam90> zomg how can you chain filters like that? Because currently my ng-repeat looks like this:
[15:25:39] *** richiebkr has joined #angularjs
[15:25:40] *** tschundeee has joined #angularjs
[15:25:47] *** mikronaz has quit IRC
[15:25:48] *** CainVampyr has joined #angularjs
[15:26:22] *** drej has quit IRC
[15:26:25] *** juanlas has joined #angularjs
[15:26:29] <zomg> Huh, you're chaining filters in there already? :)
[15:26:58] <djam90> zomg yes but look at the multiFilter:'doors': filterItem.doors |
[15:27:06] *** fouzko_ has quit IRC
[15:27:09] *** drej has joined #angularjs
[15:27:27] *** stayarrr has joined #angularjs
[15:27:32] *** fouzko has joined #angularjs
[15:27:34] <djam90> zomg how would I also filter the filterItem.doors to be numerical?
[15:27:40] <zomg> ohh right, you mean have like a "sub chain"?
[15:27:47] <djam90> yeah
[15:28:01] <zomg> I'm not entirely sure whether it's possible to do that...
[15:28:20] <zomg> you could create a filter that just takes the whole list and then takes a key
[15:28:27] <TweedleDee> is this the proper format when using multiple plugins on ng-grid? plugins: [new plugin1(), new plugin2()] ?
[15:28:35] <zomg> eg. makeNumeric:'doors':filterItems
[15:28:41] <zomg> or whatever the syntax was
[15:28:46] *** morenoh151 has quit IRC
[15:28:53] *** nathanb has joined #angularjs
[15:29:37] <djam90> zomg, not sure I follow that... what do you mean, takes the whole list and takes a key
[15:30:15] *** fbenoit has quit IRC
[15:30:28] *** richiebkr has quit IRC
[15:30:36] *** fbenoit has joined #angularjs
[15:30:37] <nathanb> Hi, I'm just having a look at angular and was wondering if it would be suitable to use as a dynamic app on a website I would control. a basic example of what I would like to achieve would be like a facebook like button which injects html onto a users website, but abit more complicated.
[15:31:23] *** lefant has joined #angularjs
[15:31:26] <fwielstra> member:nathanb I’d say Angular is a bit too heavyweight for that; it’s a 600 KB (uncompressed) library (60K compressed); I wouldn’t want to have my audience load that onto my or 3rd party sites for just a like button
[15:31:27] *** eperez_ has quit IRC
[15:31:36] <fwielstra> (like-like button?)
[15:31:48] <nathanb> nar I want it to do a booking form
[15:31:57] <nathanb> so it would be much more complicate dthen a like button
[15:32:00] *** eperez has joined #angularjs
[15:32:07] <nathanb> but in the scheme of things, still pretty simple
[15:32:13] *** fouzko has quit IRC
[15:32:52] *** endash has joined #angularjs
[15:33:31] *** Willow has joined #angularjs
[15:33:31] *** styles has quit IRC
[15:33:43] *** AxldenieD has quit IRC
[15:33:46] *** mfunkie has quit IRC
[15:34:09] *** teeray has joined #angularjs
[15:34:12] *** mfunkie has joined #angularjs
[15:34:57] *** alho has joined #angularjs
[15:35:08] *** foofoobar has quit IRC
[15:35:39] *** alho has quit IRC
[15:35:53] *** yoshokatana has joined #angularjs
[15:35:55] *** avens has joined #angularjs
[15:36:06] *** metasansana has joined #angularjs
[15:36:08] *** eperez has quit IRC
[15:36:18] *** TweedleDee has left #angularjs
[15:36:22] *** TweedleDee has joined #angularjs
[15:36:41] *** shackleford has joined #angularjs
[15:37:05] <zomg> djam90: yeah, takes the whole list and a key, then it loops through the list and just changes the key objects into numeric :)
[15:37:25] <guilbep> zomg hmm
[15:37:37] *** sqwk has joined #angularjs
[15:37:37] *** encrypt3d_fracti has joined #angularjs
[15:37:37] *** shackleford has quit IRC
[15:38:07] *** shackleford has joined #angularjs
[15:38:36] <djam90> zomg I don't think that will work though, as I am already using the part where you said makeNumeric, to instead say multiFilter
[15:38:37] <sqwk> Is it possible to hook up angular with global functions? eg: typing in play() into the console and executing a function inside an angular controller?
[15:38:44] *** mfunkie has quit IRC
[15:38:55] <sqwk> (Needs to be done to ‘talk’ to a video server.)
[15:39:27] *** ajk27 has quit IRC
[15:39:53] *** jdj_dk has quit IRC
[15:39:57] *** xv has quit IRC
[15:40:06] *** \du has joined #angularjs
[15:40:11] *** ajk27 has joined #angularjs
[15:40:17] *** patrick99e99 has joined #angularjs
[15:40:18] *** mfunkie has joined #angularjs
[15:40:18] *** ETBlue has quit IRC
[15:40:29] *** Patrick_Baitman has quit IRC
[15:40:37] *** kaeku has joined #angularjs
[15:41:07] *** Tidwell1 has quit IRC
[15:41:12] <guilbep> zomg not working :/ maybe because the MyController is not in the same scope (because the controller is above the ng-include)
[15:41:47] *** KamalKaur has quit IRC
[15:42:05] *** blckbrd has quit IRC
[15:42:06] *** andern has joined #angularjs
[15:42:36] *** encrypt3d_fracti has quit IRC
[15:42:57] *** nathanb has quit IRC
[15:42:58] <andern> using ng-route and $routeProvider.otherwise({redirectTo: 'X' }); is there a way to get it to reload the page after redirect?
[15:43:00] *** danielpquinn has joined #angularjs
[15:43:06] *** tschundeee has quit IRC
[15:43:16] *** mityaz has quit IRC
[15:43:31] *** tschundeee has joined #angularjs
[15:43:36] *** eperez has joined #angularjs
[15:44:41] <BahamutWC|Laptop> man, the protractor tests are slow for angular core
[15:45:08] *** wiherek has quit IRC
[15:45:08] *** patrick99e99 has quit IRC
[15:45:08] *** bbankes has quit IRC
[15:45:16] *** Reskp has joined #angularjs
[15:45:28] *** patrickreck has joined #angularjs
[15:45:28] *** the-erm has quit IRC
[15:45:35] <djam90> zomg
[15:45:37] <djam90> I did this: multiFilter:'doors': arrayStrToNum(filterItem.doors) |
[15:46:09] <djam90> arrayStrToNum just does array.map(function(item){return parseInt(item,10);})
[15:46:15] <djam90> fixed!
[15:46:20] *** wilmoore has joined #angularjs
[15:46:23] *** bulkan has quit IRC
[15:46:52] *** eperez has quit IRC
[15:46:59] *** bulkan has joined #angularjs
[15:47:11] *** Joulse has quit IRC
[15:47:18] *** danielpquinn has quit IRC
[15:47:23] <zomg> yeah that's a pretty good solution
[15:47:31] *** eperez has joined #angularjs
[15:47:56] *** the-erm has joined #angularjs
[15:48:17] *** stayarrr has quit IRC
[15:48:27] *** s3shs has joined #angularjs
[15:49:33] *** Schtive has joined #angularjs
[15:49:35] *** MANCHUCK_ has joined #angularjs
[15:49:45] *** cspra85 has joined #angularjs
[15:51:06] *** davi has joined #angularjs
[15:51:14] *** marc_v92 has joined #angularjs
[15:51:21] *** alho has joined #angularjs
[15:51:22] *** bulkan has quit IRC
[15:51:41] *** eperez_ has joined #angularjs
[15:52:02] *** eperez has quit IRC
[15:52:37] *** Efrem has joined #angularjs
[15:52:47] *** MANCHUCK has quit IRC
[15:53:49] *** UniBot has joined #angularjs
[15:53:57] *** linojon has joined #angularjs
[15:54:07] *** UniBot has quit IRC
[15:54:12] *** FunnyLookinHat has joined #angularjs
[15:54:16] *** francisl has quit IRC
[15:55:09] *** plitzenberger has quit IRC
[15:55:36] *** eperez_ has quit IRC
[15:55:37] *** alho has quit IRC
[15:55:38] *** Joulse has joined #angularjs
[15:55:51] *** tomzx is now known as tomzx`afk
[15:56:00] *** mykz_ has quit IRC
[15:56:03] *** eperez has joined #angularjs
[15:56:09] *** tplaner has joined #angularjs
[15:56:16] *** Fishy__ has joined #angularjs
[15:56:18] <guilbep> zomg hmm I'm on my way to make it work :p not used to do angular like .. I usually use $scope all the way..
[15:56:35] *** Emperor_Earth has quit IRC
[15:56:35] <guilbep> zomg are $watch detecting this.variable too ? hm
[15:56:49] *** mary5030 has joined #angularjs
[15:57:12] *** msarta has quit IRC
[15:57:13] *** VeeWee has quit IRC
[15:57:32] *** plitzenberger has joined #angularjs
[15:57:48] *** Shrooms has joined #angularjs
[15:57:58] <scrooge_mcduck> how can i hop to a element id when using angular and ngRouter?
[15:58:01] *** hannesvdvreken has joined #angularjs
[15:59:02] *** Fishy has quit IRC
[15:59:09] *** Fishy__ is now known as Fishy
[15:59:40] *** Tidwell has joined #angularjs
[15:59:45] *** kvnm has joined #angularjs
[15:59:48] *** sacho has joined #angularjs
[15:59:56] *** jdcasey has joined #angularjs
[15:59:59] *** zwacky has quit IRC
[16:01:00] *** encrypt3d_fracti has joined #angularjs
[16:01:43] *** icfantv has joined #angularjs
[16:01:53] *** ldgood has quit IRC
[16:03:21] *** chrisbirk has joined #angularjs
[16:03:39] *** francisl has joined #angularjs
[16:03:39] *** patrickreck has quit IRC
[16:03:45] *** ldgood has joined #angularjs
[16:03:59] *** synestry has joined #angularjs
[16:04:02] *** jonasrosenlind has quit IRC
[16:04:04] *** prbc has quit IRC
[16:04:12] *** sixr420 has quit IRC
[16:04:30] *** sixr420 has joined #angularjs
[16:04:32] *** mennea has quit IRC
[16:04:37] *** prbc has joined #angularjs
[16:06:21] *** MANCHUCK__ has joined #angularjs
[16:06:56] *** Bade has joined #angularjs
[16:07:09] *** wiherek has joined #angularjs
[16:07:10] <wiherek> hi
[16:07:25] *** mennea has joined #angularjs
[16:07:40] <wiherek> this is about directives with isolated scope
[16:07:48] *** chrisbirk has quit IRC
[16:07:49] <wiherek> can I update a variable that is one-way bound?
[16:07:52] *** Methylated has joined #angularjs
[16:08:07] *** amargherio has joined #angularjs
[16:08:17] *** ckboii89 has joined #angularjs
[16:08:18] *** umib0zu_ has joined #angularjs
[16:09:02] *** MANCHUCK_ has quit IRC
[16:09:35] *** gordroid has joined #angularjs
[16:09:43] *** NaOH has quit IRC
[16:09:44] *** prbc has quit IRC
[16:09:54] *** {DV8} has joined #angularjs
[16:10:21] *** eutheria has joined #angularjs
[16:10:21] *** synsyn has quit IRC
[16:10:26] *** prbc has joined #angularjs
[16:10:36] *** rawGem has joined #angularjs
[16:10:42] *** startupality has joined #angularjs
[16:10:53] *** patrick99e99 has joined #angularjs
[16:11:02] *** sixr420 has quit IRC
[16:11:08] *** jdj_dk has joined #angularjs
[16:11:54] *** UniBot has joined #angularjs
[16:12:16] <jaawerth> wiherek: bound how, exactly? which binding method?
[16:12:20] *** ckboii89 has quit IRC
[16:12:23] <wiherek> &
[16:12:28] *** MANCHUCK__ is now known as MANCHUCK
[16:12:43] *** drej has quit IRC
[16:12:52] <wiherek> without recompiling the directive, that is
[16:12:54] *** prbc_ has joined #angularjs
[16:13:01] *** drej has joined #angularjs
[16:13:16] *** kirfu has joined #angularjs
[16:13:28] *** bmac has joined #angularjs
[16:13:40] *** slainer68 has quit IRC
[16:14:11] *** [n0b0dy] has quit IRC
[16:14:21] *** [n0b0dy] has joined #angularjs
[16:14:24] <jaawerth> well
[16:14:40] <Siecje> robdubya_: From yesterday, I'm trying to prevent having to request objects every time I load a page.
[16:14:41] *** FIFOd[a] has joined #angularjs
[16:15:02] *** prbc has quit IRC
[16:15:10] *** enaqx has joined #angularjs
[16:15:17] *** dcherman has joined #angularjs
[16:15:23] *** diffkid has joined #angularjs
[16:15:35] *** patrick99e99 has quit IRC
[16:15:54] *** jdj_dk has quit IRC
[16:16:05] <jaawerth> wiherek: My understanding of & is that it's really intended for functions, so that you can execute them with the context of local scope. I'd recommend you follow that, but you can always try it with a test directive and see what happens ;-). My guess is it will throw an error
[16:16:07] *** mc___ has joined #angularjs
[16:16:09] *** oniijin_ is now known as oniijin
[16:16:11] <guilbep> zomg.. I had to do a this.$scope = $scope; in my scope.. looks like a hack to me.. what do you think?
[16:16:35] *** IanOlson has joined #angularjs
[16:16:37] *** bayousoft has joined #angularjs
[16:16:42] *** cacts|works has joined #angularjs
[16:16:49] <guilbep> (it's working though.. I'm binding link that <div test="foo.$scope.bar"> instead of $parent.$parent.$parent.$parent.bar
[16:16:59] <guilbep> but still it's weird noh?
[16:17:06] *** slainer68 has joined #angularjs
[16:17:32] *** jrodicus_ has joined #angularjs
[16:17:38] *** IanOlson_ has joined #angularjs
[16:17:40] *** jaredjones has quit IRC
[16:17:40] *** kvnm has quit IRC
[16:17:46] *** Vloz_ has joined #angularjs
[16:18:02] *** amacgregor has quit IRC
[16:18:02] *** SockSorcerer has quit IRC
[16:18:03] *** kvnm has joined #angularjs
[16:18:04] *** screamingbanshee has joined #angularjs
[16:18:10] *** SockSorcerer has joined #angularjs
[16:18:10] *** apetro_ has joined #angularjs
[16:18:14] <Foxandxss> wiherek: & for one-way? I would use @
[16:18:20] *** amacgregor has joined #angularjs
[16:18:32] *** OnkelTem has quit IRC
[16:18:49] <kirfu|work> Anyone else getting git problems this morning: SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
[16:19:06] *** OnkelTem has joined #angularjs
[16:19:11] *** FIFOd[a] has quit IRC
[16:19:18] <wiherek> it's an object
[16:19:24] *** alho has joined #angularjs
[16:19:26] <mc___> Hi there, i have a question about what is the best way to load certain information before angular runs or the template is displayed
[16:19:48] *** rawGem has quit IRC
[16:20:15] *** UniBot has quit IRC
[16:20:32] <Foxandxss> wiherek: you can use attrs.$observe to observe its changes
[16:20:33] <Foxandxss> if it is @
[16:20:45] *** edrocks has joined #angularjs
[16:21:00] <mc___> i already check that i can work with promises in the routerProvider, but i don't want to add a resolv in every single route
[16:21:02] *** IanOlson has quit IRC
[16:21:02] *** Vloz has quit IRC
[16:21:03] <wiherek> but it's an object :)
[16:21:27] <edrocks> can anyone help me with a directive?
[16:21:42] *** Click66 has quit IRC
[16:21:50] *** lw has joined #angularjs
[16:22:02]
<Hounddog> http://pastebin.com/VjirJTvP just trying to modify my custom Validator directive here. as i understand parser is on user input and formatter on code modification e.g. in controller $scope.var="foo"
[16:22:12] <Hounddog> is there any other difference i have to watch out for?
[16:22:16] *** ome has joined #angularjs
[16:22:18] *** in_deep_thought has joined #angularjs
[16:22:33] *** oste has joined #angularjs
[16:22:40] <Hounddog> It is settig to invalid but apparently the invalid styles are not getting applied
[16:22:47] *** kirfu has quit IRC
[16:23:20] *** Jagan has joined #angularjs
[16:23:37] <Jagan> Hi..
[16:23:48] *** mguillec_ has joined #angularjs
[16:23:58] *** JohnBat26 has joined #angularjs
[16:24:08] *** tomzx`afk is now known as tomzx
[16:24:43] <Jagan> How to use angular UI select2 for autocomplete with object based?
[16:25:50] *** karinaOK has joined #angularjs
[16:26:59] *** mguillech has quit IRC
[16:27:22] *** secondjeff has quit IRC
[16:27:34] <wiherek> tx
[16:28:48] *** {DV8} has quit IRC
[16:29:23] *** LoveAndHappiness has joined #angularjs
[16:29:36] *** anderskristo has quit IRC
[16:29:57] *** nxf has quit IRC
[16:30:02] *** eutheria has left #angularjs
[16:30:49] <Foxandxss> edrocks: ng-if doesn't exist on 1.0.1
[16:30:51] <Hounddog> actually i think i can put a quick plunker...
[16:31:06] <edrocks> i have 1.3
[16:31:15] <Foxandxss> the fiddle is using 1.0.1
[16:31:19] <Foxandxss> NEVER use fiddle
[16:31:24] <edrocks> why?
[16:31:29] <Foxandxss> suck hard
[16:31:34] <edrocks> can i just change it to 1.3 on fiddle
[16:31:35] *** lsiv568 has quit IRC
[16:31:39] *** UniBot has joined #angularjs
[16:31:39] <Foxandxss> use plunker
[16:31:41] <edrocks> it doesnt work locally either
[16:31:41] <Foxandxss> check the topic
[16:31:55] <Foxandxss> I won't open any fiddle from now on
[16:32:01] *** lsiv568 has joined #angularjs
[16:32:02] <guilbep> thank you zomg though :p
[16:32:10] <edrocks> why?
[16:32:14] *** PapaKai has joined #angularjs
[16:32:18] <oniijin> Foxandxss +1
[16:32:21] <Foxandxss> I don't like it
[16:32:25] <edrocks> is there any reason because i dont really get why people hate it so much
[16:32:27] <oniijin> cuz fiddle sux donkeyballs
[16:32:27] <Foxandxss> and I am free to do what I like
[16:32:32] <Foxandxss> edrocks: because it suck
[16:32:41] <Foxandxss> it doesn't have multi file support
[16:32:49] <Foxandxss> just one js, one css and one html
[16:32:54] <oniijin> also hard to view code/results
[16:32:55] *** maurycyg has joined #angularjs
[16:32:57] <Foxandxss> no head is crap
[16:32:59] *** Christer| has quit IRC
[16:33:10] *** tschundeee has quit IRC
[16:33:16] <Foxandxss> and it is not intuitive at all
[16:33:21] <Foxandxss> plunker >>>>> fiddle
[16:33:27] <Foxandxss> plunker.NEXT >>>>>>>>>>> plunker
[16:33:30] <edrocks> ok that makes sense
[16:33:36] *** dejanr has joined #angularjs
[16:33:47] *** PapaKai has left #angularjs
[16:33:58] *** ldgood has quit IRC
[16:34:05] *** narutimateum has joined #angularjs
[16:34:12] *** mkc has joined #angularjs
[16:34:27] *** mkc has left #angularjs
[16:34:45] *** night-owl2 has joined #angularjs
[16:34:55] *** patrickreck has joined #angularjs
[16:35:04] *** night-owl2 has quit IRC
[16:35:04] *** gauravsaini03 has joined #angularjs
[16:35:12] <patrickreck> How do I use multiple ng-mouseenter on a single element?
[16:35:20] *** average has joined #angularjs
[16:35:31] *** jamesshijie has joined #angularjs
[16:35:33] *** ETBlue has joined #angularjs
[16:35:57] <snurfery> just call a function that does multiple things
[16:36:00] *** kotyy has joined #angularjs
[16:36:06] <oniijin> mornin snurf
[16:36:10] <snurfery> mornin
[16:36:16] *** lsiv568 has quit IRC
[16:36:31] *** Olsonfold has joined #angularjs
[16:36:37] *** elux has joined #angularjs
[16:36:49] <snurfery> have you acquired a shiny new ride yet? =)
[16:37:18] <oniijin> no
[16:37:36] <oniijin> trying to see if we can get a cla with the packages she wants
[16:37:36] *** ineedarobot has quit IRC
[16:37:40] *** UniBot has quit IRC
[16:37:52] *** stayarrr has joined #angularjs
[16:38:13]
<Siecje> I have a resolve on my route but how would I access the data in a controller https://dpaste.de/9c8e
[16:38:18] <jaawerth> wiherek: well I'll be damned, you CAN update it
[16:38:23] *** metasansana has quit IRC
[16:38:42] <snurfery> Siecje: you have to inject what you resolved
[16:39:00] *** Dan___ has joined #angularjs
[16:39:07] <Dan___> hi folks!
[16:39:07] <Siecje> snurfery: in my case users.
[16:39:10] <jaawerth> wiherek: You just have to make sure it's an object you're passing into '&' (which I know it is in your case) and that you're invoking scope.foo() as a function in the directive so it returns the object
[16:39:13] *** AlexZanf has joined #angularjs
[16:39:16] *** JCinDE has quit IRC
[16:39:27] *** IanOlson_ has quit IRC
[16:39:28] *** Jagan has quit IRC
[16:39:43] *** melmoussaoui has joined #angularjs
[16:40:05] *** shinnya has joined #angularjs
[16:40:08] <oniijin> the uirouter wiki has examples on resolves
[16:40:11] *** Stampy has quit IRC
[16:40:12] *** frickettz has quit IRC
[16:40:20] *** colinbits has quit IRC
[16:40:42] <Dan___> i think i am getting my head around the problem with my app. the template is loading before the service has gotten the data. is there a standard way of solving this?
[16:41:07] *** spaceonline has quit IRC
[16:41:24] *** patrick99e99 has joined #angularjs
[16:41:26] *** bphogan_afk is now known as bphogan
[16:41:27] <mc___> Dan___, i have the same issue :D i'm trying to find out what is the best way to solve that
[16:41:29] <oniijin> resolve/ngcloak?
[16:41:40] <Dan___> misery loves company :)
[16:41:56] <snurfery> there's an example of a simple resolve
[16:42:16] <snurfery> then you inject the resolved value into your controller
[16:42:44] <oniijin> also in the wiki snurfery =]
[16:42:55] <mc___> i solved in an UGLY(maybe) way... i call the service that is doing the http during the run and broadcast and event once the promise from the http is good... then i work in the controller depending that callback
[16:43:04] *** Sijdesign has joined #angularjs
[16:43:07] <Dan___> i'm looking at the data-ng-init attribute in the template. this seems to be the purpose of it
[16:43:11] <Sijdesign> are you guys using Gulp ?
[16:43:21] <edrocks> yea
[16:43:42] <snurfery> mc___: fugly++
[16:43:53] <Sijdesign> edrocks how do you handle it? using browserify or something?
[16:43:53] *** danielpquinn has joined #angularjs
[16:43:54] *** MANCHUCK_ has joined #angularjs
[16:43:55] <oniijin> smugly?
[16:44:00] <edrocks> im using webpack
[16:44:00] <wiherek> jaaswerth: thanks
[16:44:30] *** sonicparke|bradm has joined #angularjs
[16:44:42] <edrocks> which idk if i would suggest because its very hard to get working but it's also very nice once it is working
[16:44:43] *** CainVampyr_ has joined #angularjs
[16:45:01] <snurfery> mc___, Dan___ - you guys want to make sure all the data is fetched before the page is rendered, correct?
[16:45:06] <Dan___> from the docs... "The only appropriate use of ngInit is for aliasing special properties of ngRepeat" looks like i am wrong about that
[16:45:08] <Sijdesign> oh
[16:45:11] <snurfery> that's what "resolve" is used for
[16:45:21] *** in_deep_thought has quit IRC
[16:45:35] *** Nizumzen has quit IRC
[16:46:00] *** CainVampyr has quit IRC
[16:46:04] <Dan___> it would be great if this chatroom could be broken into sections for different discussions. let's make an app for that!
[16:46:15] <snurfery> embrace the chaos
[16:46:20] <Dan___> wahhhhh
[16:46:31] *** colinbits has joined #angularjs
[16:46:34] *** stayarrr has quit IRC
[16:46:37] *** MANCHUCK has quit IRC
[16:46:37] *** styles has joined #angularjs
[16:46:38] <snurfery> this chat room is asynchronous, like your JS
[16:46:38] <snurfery> haha
[16:46:59] <snurfery> Dan___: check out 'resolve'
[16:47:07] <Dan___> some days i really miss fortran :)
[16:47:17] <oniijin> make promises
[16:47:51] *** CainVampyr_ is now known as somethingelse
[16:48:20] *** somethingelse has joined #angularjs
[16:48:20] *** somethingelse is now known as CainVampyr
[16:48:24] *** morenoh151 has joined #angularjs
[16:48:28] *** CainVampyr has quit IRC
[16:48:45] *** CainVampyr has joined #angularjs
[16:48:50] <Dan___> can you be any more specific about resolve? i am sure that has to do with it, but i'm fuzzy about what code goes where... the service, the controller, the directive?
[16:48:54] *** danielpquinn has quit IRC
[16:49:17] *** CainVampyr is now known as somethingelse
[16:49:21] <Sijdesign> i keep getting this error Failed to instantiate module mainApp due to:
[16:49:22] <oniijin> time to start reading
[16:49:24] *** somethingelse is now known as CainVampyr
[16:49:39] *** CainVampyr has quit IRC
[16:49:41] <snurfery> ^^ what oniijin said
[16:50:11] <sonicparke|bradm> has anyone else noticed that ng-class kinda picks & chooses which class to overwrite and which not to?
[16:50:15] <Sijdesign> oniijin me ?
[16:50:17] <sonicparke|bradm> specifically with font-awesome
[16:50:48] <snurfery> but you're not gonna get around reading the documentation
[16:50:50] <oniijin> too nice snurfery too nice
[16:51:13] <snurfery> heh
[16:51:17] *** UniBot has joined #angularjs
[16:51:29] *** AndyFTP has quit IRC
[16:51:34] <Dan___> read what? in the angular docs?
[16:51:35] *** wilmoore has quit IRC
[16:51:44] *** jeffszusz has joined #angularjs
[16:51:53] *** stayarrr has joined #angularjs
[16:51:58] <mc___> snurfery, i know is ugly... the problem is that when i was using resolve... the a petition was trigger everytime the route change... i would like to avoid that.. and load the date once in one petition
[16:51:59] <oniijin> there are plenty of resources on resolve
[16:52:09] *** colinbits has quit IRC
[16:52:19] *** pootpoot has joined #angularjs
[16:52:22] <oniijin> both in docs, and many popular sources online, like egghead or scotch
[16:52:23] <Dan___> is resolve a javascript concept or an angular concept?
[16:52:23] *** mcreager has joined #angularjs
[16:52:24] *** ghox has joined #angularjs
[16:52:33] <Siecje> snurfery: What does BrandService.getBrandPromise() look like?
[16:52:48] *** jamesshijie has quit IRC
[16:52:53] *** morenoh151 has quit IRC
[16:52:55] *** lordkryss has quit IRC
[16:52:56] *** mcreager has quit IRC
[16:52:58] *** kamanato has joined #angularjs
[16:53:26] <snurfery> Siecje: function() { return Restangular.all('brands').get(id).$promise; }
[16:53:29] <snurfery> something like that
[16:53:30] *** xavia has joined #angularjs
[16:53:32] *** colinbits has joined #angularjs
[16:53:48] <snurfery> it's just something that returns a promise
[16:54:26] *** bbankes has joined #angularjs
[16:54:35] *** jamto11 has joined #angularjs
[16:54:57] *** patrickreck has quit IRC
[16:55:23] *** philips has quit IRC
[16:55:32] <Dan___> i understand a promise as a temporary placeholder of sorts that is eventually replaced by the actual output of the asynchronous function call. is that right?
[16:55:43] <oniijin> no
[16:55:46]
<edrocks> can anyone help me with this directive problem http://plnkr.co/edit/ZPq4FtgIfWzjlNZyOr83 i have it working with no directives but i want to use a directive and see what i am doing wrong
[16:55:54] *** mven has quit IRC
[16:56:06] *** kaeku has quit IRC
[16:56:51] *** rho has joined #angularjs
[16:56:51] *** rho has joined #angularjs
[16:56:51] *** marpe has joined #angularjs
[16:57:04] *** dejanr has quit IRC
[16:57:24] <marpe> ugh, i was just about to ask about promises
[16:57:47] *** m1hael has left #angularjs
[16:58:00] <marpe> trying to make a protractor test which visits all pages on my domain
[16:58:24] *** screamingbanshee has quit IRC
[16:58:24] *** dejanr has joined #angularjs
[16:58:26] *** fedenunez has quit IRC
[16:58:30] *** xavia has quit IRC
[16:58:53] *** jamto11 has quit IRC
[16:59:03] *** stayarrr has quit IRC
[16:59:22] *** Olsonfold has quit IRC
[16:59:41] *** Olsonfold has joined #angularjs
[17:00:07] *** foofoobar has joined #angularjs
[17:00:18] *** Snugug has joined #angularjs
[17:01:15] *** Sijdesign has quit IRC
[17:01:21] <snurfery> I don't wanna go to work =\
[17:01:25] <snurfery> =(
[17:01:27] <snurfery> bah
[17:01:34] *** ascarter has joined #angularjs
[17:01:34] <oniijin> dont be a fatty
[17:01:53] <snurfery> trudat
[17:01:58] <oniijin> GETSWOL
[17:01:59] *** conan_the_destro has joined #angularjs
[17:02:06] * snurfery getsthefuggup
[17:02:20] <oniijin> back and bi day today
[17:02:24] <marpe> can someone help me? trying to write a protractor script which visits all links on a page
[17:02:29] *** eperez has quit IRC
[17:02:59] *** mennea has quit IRC
[17:03:13] *** eperez has joined #angularjs
[17:03:26] *** wilmoore has joined #angularjs
[17:03:38] <Dan___> i get that a promise lets things continue without waiting. but i want to make sure things DO wait. rendering the page has to wait for the data to come back or it won't look right.
[17:03:48] *** lumio has joined #angularjs
[17:04:07] *** lite_ has joined #angularjs
[17:04:18] <Dan___> you're fast
[17:04:26] <oniijin> that's not what she ever said
[17:04:45] *** philips has joined #angularjs
[17:04:51] *** UniBot has quit IRC
[17:05:00] *** hannesvdvreken has quit IRC
[17:05:05] *** _tpavel has quit IRC
[17:05:07] *** UniBot has joined #angularjs
[17:05:12] *** jdj_dk has joined #angularjs
[17:05:22] *** plitzenberger has quit IRC
[17:05:26] *** hannesvdvreken has joined #angularjs
[17:05:36] *** UniBot has quit IRC
[17:05:46] <oniijin> lesson: use google
[17:06:00] <Dan___> hmm, i'm not sure that's quite it. it's not flickering. it's just outright working wrong
[17:06:19] <edrocks> is anyone good with making directives?
[17:06:25] *** amargherio has quit IRC
[17:06:47] *** mikerrrrrr has joined #angularjs
[17:06:49] *** bzitzow has quit IRC
[17:06:50] *** jpstone has joined #angularjs
[17:06:54] *** kaeku has joined #angularjs
[17:07:05] *** MickeyO has quit IRC
[17:08:11] *** lite_ has quit IRC
[17:08:29] *** kaeku has quit IRC
[17:08:30] <scrooge_mcduck> hello
[17:08:42] <scrooge_mcduck> how do you use #myElementId when using routing in Angular.js :/
[17:09:03] *** ckboii89 has joined #angularjs
[17:09:09] <scrooge_mcduck> i want to jump to an element on the page
[17:09:27] <mc___> if i find a nice way to do it, i will let you know.. if you find something let me know too :D
[17:09:39] *** bphogan is now known as bphogan_afk
[17:09:41] *** jdj_dk has quit IRC
[17:09:47] <edrocks> same for me
[17:09:52] *** mfunkie has quit IRC
[17:09:59] <Dan___> i think someone just sent me something and it disappeared
[17:10:18] *** mfunkie has joined #angularjs
[17:10:27] *** FLaMeS has quit IRC
[17:11:07] *** xyNNN has quit IRC
[17:11:28] <scrooge_mcduck> gaaf
[17:11:29] <scrooge_mcduck> thanks
[17:11:47] *** tschundeee has joined #angularjs
[17:11:51] *** Jae has quit IRC
[17:12:16] *** zwacky has joined #angularjs
[17:12:54] *** Trow has joined #angularjs
[17:13:08] *** ckboii89 has quit IRC
[17:13:25] <scrooge_mcduck> hmm, seems to be fighting with the router
[17:13:34] *** lordkryss has joined #angularjs
[17:13:34] <Siecje> snurfery: I have 'ui.router' as a dependency (and using the file) but I get app.state is not a function
[17:14:49] *** eperez has quit IRC
[17:14:57] *** encrypt3d_fracti has quit IRC
[17:15:10] *** Vovin has joined #angularjs
[17:15:34] *** encrypt3d_fracti has joined #angularjs
[17:15:46] *** Fire-Dragon-DoL has joined #angularjs
[17:15:59] <snurfery> oh yeah my example was terrible
[17:16:13] <snurfery> I just looked at it
[17:16:14] <snurfery> super terrible
[17:16:15] *** alho has quit IRC
[17:16:24] <snurfery> it's supposed to be $stateProvider.state()
[17:16:58] *** UniBot has joined #angularjs
[17:17:02] *** orion1111 has joined #angularjs
[17:17:06] *** tschundeee has quit IRC
[17:17:10] *** UniBot has quit IRC
[17:17:15] *** fwielstra has quit IRC
[17:17:27] <snurfery> Siecje: look at the ui-router examples a bit, the code snippet I provided wasn't put together well
[17:18:15] *** fouzko has joined #angularjs
[17:18:30] *** alho has joined #angularjs
[17:18:33] <Siecje> It has $routeProvider.state at the root level, but they don't have a module. I thought it would as you had it.
[17:18:33] *** hugofirth has quit IRC
[17:18:45] *** bphogan_afk is now known as bphogan
[17:18:54] *** krawek has joined #angularjs
[17:18:54] *** krawek has joined #angularjs
[17:19:17] *** thomastuts has quit IRC
[17:19:52] *** encrypt3d_fracti has quit IRC
[17:20:08] *** panchisco has joined #angularjs
[17:20:11] *** lsiv568 has joined #angularjs
[17:21:24] *** bmac has quit IRC
[17:21:55] *** Vovin has quit IRC
[17:21:57] *** subnl2 has joined #angularjs
[17:22:13] *** prbc_ has quit IRC
[17:22:19] *** eperez has joined #angularjs
[17:22:25] *** MacWinner has joined #angularjs
[17:22:42] *** bmac has joined #angularjs
[17:23:31] <edrocks> why does ng-if not work inside a directive?
[17:23:37] *** eperez has quit IRC
[17:23:55] *** bkuberek_ has joined #angularjs
[17:23:56] *** cthrax has joined #angularjs
[17:23:57] *** mindlace has joined #angularjs
[17:24:10] *** eperez has joined #angularjs
[17:24:20] *** lsiv568 has quit IRC
[17:24:25] *** kaeku has joined #angularjs
[17:24:34] *** digia|away is now known as digia
[17:24:37] *** lsiv568 has joined #angularjs
[17:24:47] *** sqwk has quit IRC
[17:25:02] *** tschundeee has joined #angularjs
[17:25:20] *** motionman has quit IRC
[17:26:10] *** Jae has joined #angularjs
[17:26:17] *** lsiv568 has quit IRC
[17:26:33] *** djam90 has quit IRC
[17:26:55] *** lsiv568 has joined #angularjs
[17:27:16] <wafflejock> edrocks: the template should only have one root element (at least this used to be true don't see an error about it though) and the ng-transclude should a property of an element not a self closing element
[17:27:38] <Siecje> edrocks: ng-if creates a new scope, maybe try ng-show
[17:28:00] *** speakingcode has quit IRC
[17:28:14]
<Siecje> I've manage to setup my states (I think) but I'm not sure how to inject and use the resolve in the controller. https://dpaste.de/xSQ2
[17:28:21] <edrocks> the transclude works but the ng-show is still messed up
[17:28:23] *** eperez has quit IRC
[17:28:43] *** amargherio has joined #angularjs
[17:28:59] *** olli-F5 is now known as olli-
[17:29:56] *** panchisco has quit IRC
[17:30:42] *** UniBot has joined #angularjs
[17:30:59] *** nemothekid has joined #angularjs
[17:31:07] *** lsiv568 has quit IRC
[17:31:37] <edrocks> never mind i can just use ng-hide
[17:31:42] *** eperez has joined #angularjs
[17:32:55] *** lsiv568 has joined #angularjs
[17:33:29] *** LoveAndHappiness has quit IRC
[17:33:44] *** LoveAndHappiness has joined #angularjs
[17:33:46] *** lumio has quit IRC
[17:33:51] *** crockett95 has quit IRC
[17:34:13] *** sonofdirt has joined #angularjs
[17:34:16] *** wwnnbb has joined #angularjs
[17:34:46] *** Reskp has quit IRC
[17:34:59] *** mguillec_ has quit IRC
[17:35:08] *** joshontheweb has quit IRC
[17:35:08] *** xaxisx has joined #angularjs
[17:35:32] *** whitebook has joined #angularjs
[17:35:45] *** nemothekid has quit IRC
[17:35:52] *** lsiv568 has quit IRC
[17:35:56] *** CainVampyr has joined #angularjs
[17:36:14] *** richiebkr has joined #angularjs
[17:36:20] *** mguillech has joined #angularjs
[17:36:28] *** lsiv568 has joined #angularjs
[17:37:02] *** patrick99e99 has quit IRC
[17:37:48] <wafflejock> Siecje: I don't see anything obviously wrong (the factory call using the cache is a bit hard to follow but think it's doing the right thing) I would take out the resolve until you're sure the basic route config is right though then try adding it back in
[17:38:40] <scrooge_mcduck> how can i find the name to use for a directive :/
[17:38:41] *** lsiv568 has quit IRC
[17:38:44] <wafflejock> if it works without the resolve/injection but fails with it perhaps start dropping some debugger; lines around to see how things are being created
[17:38:53] *** lsiv568 has joined #angularjs
[17:38:58] <wafflejock> scrooge_mcduck: you mean an existing one or how to name your own directive?
[17:39:05] <scrooge_mcduck> i made a directive named activeNavItem
[17:39:13] <Siecje> well if gets to the controller since that is where is says 'users' is not defined.
[17:39:14] <wafflejock> should be active-nav-item in the html
[17:39:18] <scrooge_mcduck> but using it like active-nav-item="howyoucanhelp" doesn't work
[17:39:19] <Siecje> well it gets*
[17:39:28] *** cmenscher is now known as IamJacksComplete
[17:39:37] *** IamJacksComplete is now known as cmenscher
[17:39:57] <scrooge_mcduck> oh bloody grunt it is again
[17:40:01] <scrooge_mcduck> brb
[17:40:03] *** UniBot has quit IRC
[17:40:10] <scrooge_mcduck> grunt-watch is so crappy
[17:40:36] *** lsiv568 has quit IRC
[17:40:53] *** karinaOK has quit IRC
[17:40:59] *** kaeku has joined #angularjs
[17:41:02] *** dutis has quit IRC
[17:41:03] *** lsiv568 has joined #angularjs
[17:41:19] *** UniBot has joined #angularjs
[17:41:43] <davemerwin> I just found something strange. A button type reset doesn't actually reset the form and actually submits it. Is there some documentation I'm missing here? I couldn't find why a reste would submit.
[17:41:48] <wafflejock> scrooge_mcduck: you don't really have to use it if you have a local server configured but I like the live reload particularly when I'm tweaking things on mobile devices on my LAN
[17:41:48] *** seydoggy has quit IRC
[17:41:49] *** dc_ has quit IRC
[17:41:58] *** dob__ has joined #angularjs
[17:42:05] *** snurfery has quit IRC
[17:42:07] *** ngbot has joined #angularjs
[17:42:08] <ngbot> angular.js/master e5c6b70 Nathan Wiebe: docs(tutorial): clarify sentence in step 02...
[17:42:08] *** ngbot has left #angularjs
[17:42:08] *** dc_ has joined #angularjs
[17:42:09] *** karinaOK has joined #angularjs
[17:42:23] *** lsiv568 has quit IRC
[17:42:24] *** seydoggy has joined #angularjs
[17:42:25] <wafflejock> davemerwin: you need to use type="button" or by default HTML buttons are submit buttons when used in a form
[17:42:27] *** lsiv568_ has joined #angularjs
[17:43:01] *** secondjeff has joined #angularjs
[17:43:09] *** hannesvdvreken has quit IRC
[17:43:21] *** kaeku has quit IRC
[17:43:23] *** Methylated has quit IRC
[17:43:27] *** hychen has quit IRC
[17:43:30] <davemerwin> that is strange. You'd think that button type="reset" would reset the form to pristine and NOT submit the form
[17:43:38] *** subnl2 has quit IRC
[17:43:46] *** LoveAndHappiness has quit IRC
[17:43:59] *** LoveAndHappiness has joined #angularjs
[17:44:18] *** lsiv568_ has quit IRC
[17:44:38] *** whiteboo_ has joined #angularjs
[17:44:39] *** danielpquinn has joined #angularjs
[17:44:52] <wafflejock> it is strange actually I forgot about the reset option for HTML forms... perhaps a bug
[17:45:00] *** Jae has quit IRC
[17:45:34] <davek> Yeah, davemerwin I would create a reproducible test case on plunkr and see if there's an open angular bug for that
[17:45:42] *** dob_ has quit IRC
[17:45:43] *** sweeper has quit IRC
[17:45:48] <davemerwin> will do
[17:45:51] *** hannesvdvreken has joined #angularjs
[17:45:56] *** hmr has quit IRC
[17:46:03] *** slainer68 has quit IRC
[17:46:32] *** karinaOK has quit IRC
[17:46:45] *** arntempelgibbarn has joined #angularjs
[17:46:58] *** yoshokatana_ has joined #angularjs
[17:47:09] *** seydoggy has quit IRC
[17:47:10] *** dob__ has quit IRC
[17:47:53] *** whitebook has quit IRC
[17:47:57] <davemerwin> is there a way to see network on that, cause it could still be submitting teh form
[17:48:12] <wafflejock> scrooge_mcduck: if you use SublimeText also I personally exclude the .tmp and dist/ folders so I don't edit the output files, that screwed me over a few times for a few hours
[17:48:12] *** futuredale has quit IRC
[17:48:27] <davemerwin> i have that same setup locally and it actually submits the form
[17:48:41] *** crockett95 has joined #angularjs
[17:48:41] *** prbc has joined #angularjs
[17:48:42] <wafflejock> davemerwin: debug console should show all the attempted requests you can preserve it between page reloads too with a checkbox in Chrome
[17:48:49] *** danielpquinn has quit IRC
[17:48:53] *** tschundeee has quit IRC
[17:49:02] *** danielpquinn has joined #angularjs
[17:49:09] <scrooge_mcduck> wafflejock: i did that in WebStorm too :)
[17:49:10] *** hannesvdvreken has quit IRC
[17:49:18] *** kaeku has joined #angularjs
[17:49:20] *** encrypt3d_fracti has joined #angularjs
[17:49:20] <scrooge_mcduck> it's just grunt or the browser who doesn't refresh correctly
[17:49:32] *** epantzar has quit IRC
[17:49:43] *** ManBearPixel has joined #angularjs
[17:49:50] *** shaym_ has joined #angularjs
[17:50:39] *** ccohn has quit IRC
[17:50:41] *** hannesvdvreken has joined #angularjs
[17:50:47] <wafflejock> davemerwin: in the plunkr I made it seems to all work correctly from what I can tell, don't see the requests when I hit reset do see it when I hit submit after the alert is dismissed
[17:51:01] <davemerwin> interesting
[17:51:10] <Siecje> how do you iterate through all states using ui-router
[17:51:16] *** ccohn has joined #angularjs
[17:51:23] *** yoshokatana_ has quit IRC
[17:51:46] *** ManBearPixel has quit IRC
[17:51:46] *** Xethron has quit IRC
[17:51:55] <Hounddog> why would you want to iterate all the states?
[17:51:57] *** hannesvdvreken has quit IRC
[17:52:04] *** mfunkie has quit IRC
[17:52:30] *** mfunkie has joined #angularjs
[17:52:40] *** Aartsie has quit IRC
[17:53:10] *** teslanick has joined #angularjs
[17:53:14] *** xavia has joined #angularjs
[17:53:21] *** snurfery has joined #angularjs
[17:54:13] <shackleford> I got the following array [1: "123321"] , how would I retrieve just the string "123321"?
[17:54:27] <wafflejock> shackleford: that's not a valid array I don't think
[17:54:48] <shackleford> It is a returned array
[17:54:54] <wafflejock> shackleford: it needs to be an array with an object in it, what you have there would be a syntax error if read as JSON
[17:54:56] <scrooge_mcduck> any way to set the locale of the angular.js app to en_GB?
[17:55:06] <scrooge_mcduck> for some reason my bosses in the UK don't like American format
[17:55:23] <maurycyg> scrooge_mcduck: you need to use localisation
[17:55:27] *** Methylated has joined #angularjs
[17:55:30] *** bertrandk has joined #angularjs
[17:55:31] *** plitzenberger has joined #angularjs
[17:55:32] *** ManBearPixel has joined #angularjs
[17:55:35] *** ccohn has quit IRC
[17:55:38] <ManBearPixel> Hey everyone, quick question.. I’m working with Directives. Let’s say I want to append itemA and itemB to the DOM with data from $scope.itemDetails. So I pass $scope.itemDetails for itemA and it gets added, cool. But now if I change the contents of $scope.itemDetails and do the same thing for itemB, itemB uses that new data but itemA also reflects those changes. Is there a way to stop that from
[17:55:38] <ManBearPixel> happening? Like stop a directive to watch for changes on those variables?
[17:55:49] *** MacWinner has quit IRC
[17:55:50] <scrooge_mcduck> maurycyg: that's fine
[17:56:02] *** rho has quit IRC
[17:56:15] <wafflejock> ManBearPixel: nope you just duplicate the object (you can use angular.copy)
[17:56:24] <scrooge_mcduck> interesting
[17:56:29] <maurycyg> scrooge_mcduck: inlude it adter including angularjs
[17:56:31] <scrooge_mcduck> why doesn't my bower component come with these files :P
[17:56:41] *** Xethron has joined #angularjs
[17:56:44] <shackleford> you guys are correct
[17:56:48] <shackleford> it is not a valid array
[17:56:49] *** eperez has quit IRC
[17:56:59] <shackleford> but that is what is returned to the console
[17:57:01] <maurycyg> bower comes with whatever you have in scaffolding ;)
[17:57:14] *** fouzko has quit IRC
[17:57:14] *** mfunkie has quit IRC
[17:57:15] <Hounddog> show us a screenshot...
[17:57:22] *** eperez has joined #angularjs
[17:57:27] <shackleford> the actual array has 2 objects
[17:57:29] <scrooge_mcduck> thanks
[17:57:31] <shackleford> 0 & 1
[17:57:34] *** ineedarobot has joined #angularjs
[17:57:40] *** fouzko has joined #angularjs
[17:57:42] *** LoveAndHappiness has quit IRC
[17:57:49] <Hounddog> shackleford: am not sure how we are supposed to help you basred on invalid data which you claim to be correct
[17:57:51] <scrooge_mcduck> maurycyg: i just use angular bower component :)
[17:57:57] *** gordroid has quit IRC
[17:58:00] *** LoveAndHappiness has joined #angularjs
[17:58:10] <shackleford> Fair point
[17:58:12] *** gordroid has joined #angularjs
[17:58:21] <shackleford> I gotta think about this a bit more, thanks though
[17:58:29] <maurycyg> scrooge_mcduck: yeah, this one lacks localisation, it just has the most popular components
[17:58:34] *** DrMabuse has quit IRC
[17:58:48] *** hychen has joined #angularjs
[17:58:51] *** waylon999 has joined #angularjs
[17:58:53] *** shaym_ has quit IRC
[17:59:03] *** DrMabuse has joined #angularjs
[17:59:06] <scrooge_mcduck> bower install angular-i18n :D
[17:59:14] *** jdj_dk has joined #angularjs
[17:59:21] *** melmoussaoui has quit IRC
[17:59:22] *** naneau has joined #angularjs
[17:59:46] *** maveneagle has joined #angularjs
[17:59:52] <wafflejock> nice yup scrooge_mcduck they broke up angular into a bunch of pieces in 1.2.x so people could mix and match parts with other libraries (so far mostly just ui-router) and people who don't need it don't have all the extra beef
[17:59:53] <scrooge_mcduck> didn't knew there were some many en-* locales, lol
[17:59:56] *** maveneagle has quit IRC
[18:00:08] *** tschundeee has joined #angularjs
[18:00:32] *** eperez_ has joined #angularjs
[18:00:49] *** tysweezy has joined #angularjs
[18:00:51] <scrooge_mcduck> thanks people :)
[18:00:53] *** DrMabuse has quit IRC
[18:00:55] <scrooge_mcduck> <- happy cow
[18:01:03] <snurfery> today I learned
[18:01:04] *** lsiv568 has joined #angularjs
[18:01:21] <snurfery> damn, I forgot craigslist has so much cool stuff on it
[18:01:23] *** richiebkr has quit IRC
[18:01:24] <snurfery> for dirt cheap
[18:01:32] *** eperez has quit IRC
[18:01:33] <snurfery> someone selling a 25" pro monitor for $85
[18:01:34] *** dsk has joined #angularjs
[18:01:42] <wafflejock> nice
[18:01:57] <davek> Depends on what city you're in but the general rule about things that sound too good to be true holds for craigslist.
[18:02:02] *** fouzko has quit IRC
[18:02:13] *** richiebkr has joined #angularjs
[18:02:28] <icfantv> is there a way to update the $location history without actually navigating? if i say $location.path(…) it physically navigates (as one would expect).
[18:02:30] <snurfery> one of my previous business ideas was this crazy craigslist scraper/parser that would try to find ridiculous value in certain posts
[18:02:33] <wafflejock> saw a 4K 36" at Tigerdirect for like $400 (as davek mentions probably not the deal it sounds like on the tin)
[18:02:45] <oniijin> snurfery u probably gonna get catfished
[18:03:08] <icfantv> i have a details view that allows selection of other items whose details are to be viewed and i'd like to add this to history, but without physically reloading the template
[18:03:10] *** xaxisx has quit IRC
[18:03:12] <snurfery> I'll steer clear of the close encounters section
[18:03:24] <snurfery> not where I typically do my electronics shopping lol
[18:03:28] <wafflejock> icfantv: you might be looking for reloadOnSearch property of states
[18:03:36] *** sriram-dev has joined #angularjs
[18:03:43] <snurfery> hahahahaha
[18:04:05] *** jdj_dk has quit IRC
[18:04:23] <icfantv> wafflejock: ok, thanks.
[18:04:29] *** Gambit- has joined #angularjs
[18:04:39] <snurfery> wafflejock: I've seen some uber-cheap 4k monitors floating around too
[18:04:44] *** thomastuts has joined #angularjs
[18:05:08] <snurfery> a 40" one was on amazon and got hundreds of 5-star ratings from legit geeks
[18:05:15] *** kaeku has quit IRC
[18:05:47] <sriram-dev> hey guys.. I have this doubt but i think the soln here must be simple one.. I have a angular SPA and a href (/somepage) doest seem to call node route .. giving the whole path calls the node route though.. can anyone tell why.. i see that its probably because browser doesnt send a request at all .. but how can i make it send a request ?
[18:06:04] <snurfery> $340 for a 39" 4k
[18:06:06] <wafflejock> my pops just threw down on a massive one it is pretty sweet, I'm not a huge HD videophile or anything but it is a super nice picture
[18:06:09] <wafflejock> nice
[18:06:09] *** fbenoit has quit IRC
[18:06:13] <snurfery> mmmmmm that's juicy
[18:06:23] *** marr has quit IRC
[18:06:42] *** dsk has quit IRC
[18:06:57] <sriram-dev> anyway i can bypass the angular route provider and call node route provider instead ?
[18:07:15] <davek> What...
[18:07:32] *** ineedarobot has quit IRC
[18:07:47] <davek> sriram-dev, if you use the short-form URI the browser simply joins that with the origin's URL.
[18:07:51] <davek> So what is the full path?
[18:08:36] <sriram-dev> davek i see the trouble in this .. the minute i load first page , its all angular.. from now on i cant use any of the node routes i suppose
[18:08:51] *** disorder20 has quit IRC
[18:08:57] *** thomastuts has quit IRC
[18:08:58] *** startupality has quit IRC
[18:09:01] <snurfery> jeeeeesus man
[18:09:02] *** trave has joined #angularjs
[18:09:04] *** Efrem has quit IRC
[18:09:08] <snurfery> 65" 4k tv?
[18:09:09] <sriram-dev> and the only way i use it is through http calls from angular ?
[18:09:19] <oniijin> i wish i got the 70
[18:09:23] <snurfery> that's something to aspire to right there
[18:09:27] <wafflejock> snurfery: yeah he's getting pretty old and has money he never does anything with so it was a good purchase
[18:09:27] *** rho has joined #angularjs
[18:09:37] *** rho has quit IRC
[18:09:37] *** rho has joined #angularjs
[18:09:48] <snurfery> $2200 doesn't seem bad at all
[18:09:50] *** ckboii89 has joined #angularjs
[18:09:54] <snurfery> for a beast of such size and grace
[18:09:59] <oniijin> not at all. that's less than my 55" samsung
[18:10:01] <davek> sriram-dev, I think you're confusing how the interaction between your site and your server works.
[18:10:03] <wafflejock> yeah it's pretty epic, the smart features are nice
[18:10:16] <oniijin> wafflejock it's nice, but clunky. pisses me off a lot
[18:10:42] <wafflejock> yeah it's not a full computer yet but they've gotten better last thing he had like that was a "smart blue ray player" which was horribly slow
[18:10:48] <davek> Wow only $2,500
[18:10:51] <davek> It's a steal.
[18:11:05] <snurfery> the smart tv stuff is pretty cool sometimes, esp youtube + streaming music
[18:11:12] *** brownbathrobe has joined #angularjs
[18:11:16] <snurfery> it's better than the crap that comes with dvd players most often
[18:11:22] <wafflejock> yea the old man digs youtube and skype for the grand kids
[18:11:29] <oniijin> it works fine for pandora, but the netflix app on smarthub sucks
[18:11:32] <snurfery> oh it has skype too?
[18:11:37] <snurfery> that's a gamechanger
[18:11:37] <davek> Samsung's Smart TV initiative is the only one even half worth a shit.
[18:11:44] <sriram-dev> if instead i do a browser load giving the full path localhost:8080/auth/google it seems to hit node auth in server
[18:11:45] *** mercwithamouth has joined #angularjs
[18:11:46] <davek> And even that gets sort of wonky.
[18:11:52] <oniijin> werd
[18:12:03]
<Siecje> So now that I have converted to using ui-router I'm having the same issue, If I use my code the first time I view the page I never load the page unless I refresh without caching. If I use the other code I get 'users is undefined' https://dpaste.de/R5Lq
[18:12:04] <davek> sriram-dev, well it _is_ going to your server... what do you mean?
[18:12:05] <oniijin> skype on tv is nice for family chats tho
[18:12:15] *** OffTheRails has joined #angularjs
[18:12:17] <oniijin> everyone just sits on couch instaed of crowding around a desk
[18:12:18] <davek> I'm assuming you have just a simple redirect on that route?
[18:12:22] <snurfery> giant-ass skype conversations would make me feel like I'm in the future... I'd be abusing the hell out of it
[18:12:34] <oniijin> it's not as great as u would think
[18:12:37] <oniijin> since skype is balls lol
[18:12:44] *** Ethix has joined #angularjs
[18:12:46] <sriram-dev> am not sure why, but it is not going to my server.. its just staying client side angular
[18:12:54] *** lsiv568 has quit IRC
[18:12:54] <snurfery> they need a smart tv with chatroulette
[18:12:55] <snurfery> haha
[18:12:58] <davek> My girlfriend does telemedicine and has a huge telepresence setup in our livingroom.
[18:13:00] *** mspier_off is now known as mspier
[18:13:01] <snurfery> all the shlongs
[18:13:02] <davek> it is the future...
[18:13:06] *** milka has quit IRC
[18:13:08] <snurfery> davek: whoa
[18:13:20] *** patrickreck has joined #angularjs
[18:13:20] *** lsiv568 has joined #angularjs
[18:13:21] <davek> I never get to use it don't get too excited.
[18:13:26] *** nemothekid has joined #angularjs
[18:13:36] <snurfery> also: props on having a successful girlfriend
[18:13:38] *** defaultdict has quit IRC
[18:13:47] <snurfery> I gotta quit dating broke chicks
[18:13:53] <oniijin> snurfery +1
[18:13:54] *** subsonic has joined #angularjs
[18:13:55] <snurfery> they have wayyyyyy too much free time on their hands
[18:13:56] *** ckboii89 has quit IRC
[18:14:02] *** nemothekid has quit IRC
[18:14:10] <nickeddy> hahaha snurfery
[18:14:19] <nickeddy> i think you mean girls without jobs
[18:14:25] <oniijin> but their hands are then free for other activities
[18:14:32] *** DevAntoine has quit IRC
[18:14:33] <davek> We've been broke together. If you can survive that and still love each other then you're golden.
[18:14:37] <nickeddy> hahaha
[18:14:59] <snurfery> davek trudat
[18:15:03] <oniijin> isnt there some saying, idle hands..something something handos
[18:15:15] <nickeddy> devils and stuff
[18:15:27] *** Tidwell has quit IRC
[18:15:37] *** MacWinner has joined #angularjs
[18:15:38] <sriram-dev> ah i found the reason davek.. its because i enabled html5 mode in angular routeProvider config
[18:16:02] *** brownbathrobe has quit IRC
[18:16:03] *** stayarrr has joined #angularjs
[18:16:11] *** dejanr has quit IRC
[18:16:17] *** mercwithamouth has quit IRC
[18:16:18] *** andern has quit IRC
[18:16:51] *** zeroquake has joined #angularjs
[18:16:52] <davek> Anyone have a fairly large project with a node backend?
[18:17:04] *** mindlace has quit IRC
[18:17:14] <nickeddy> walmart does davek
[18:17:17] *** in_deep_thought has joined #angularjs
[18:17:18] <nickeddy> :P
[18:17:29] <oniijin> paypal?
[18:17:46] *** lsiv568 has quit IRC
[18:17:51] <average> davek: so dependencies are usually a problem for node backends
[18:18:03] <nickeddy> no way i didn't know they contribute to open source lol
[18:18:05] <davek> Unless one of you works for walmart.com that's not what I intended.
[18:18:07] *** Xethron has quit IRC
[18:18:11] *** Tidwell has joined #angularjs
[18:18:15] <average> there is an inevitable clash between ops and devs when it comes ot deploying stuff
[18:18:34] <average> stuff with nodejs I mean
[18:18:40] <davek> Well I do both and I'm fairly sane so I don't see that being a problem.
[18:18:44] <scrooge_mcduck> nothing more fun then importing some data from SAP into an app :++
[18:18:54] <davek> I'm looking for some advice on reorganizing my back end services.
[18:18:59] *** sacho has quit IRC
[18:19:04] <nickeddy> davek: what do you use?
[18:19:11] *** MaxV has quit IRC
[18:19:13] <average> davek: read some Javascript design pattern books. Maybe use some frameworks
[18:19:14] *** MaxV_ has joined #angularjs
[18:19:17] *** lite_ has joined #angularjs
[18:19:27] <nickeddy> i find sails organizes things pretty nicely davek
[18:19:27] *** alho has quit IRC
[18:19:29] <davek> Currently just exposing my globally accessible services (like db, graph, job queue) through GLOBAL which is sort of hacky.
[18:19:38] <nickeddy> ah
[18:19:43] *** Xethron has joined #angularjs
[18:19:43] *** Xethron has joined #angularjs
[18:19:44] <davek> average, I have an existing site...
[18:19:49] <average> know your Linux distribution's packaging system and package your npm.js deps as packages of the distro..
[18:19:53] <davek> And plenty of experience in node.
[18:19:57] *** negval has quit IRC
[18:20:01] <davek> Is this just like a script or something?
[18:20:06] <average> a script ?
[18:20:13] <average> what do you mean ?
[18:20:30] *** francisl has quit IRC
[18:20:32] <davek> I figured you had a prepared shtick for node.js and were just running through lines.
[18:21:00] *** plitzenberger has quit IRC
[18:21:11] <average> davek: I was answering your question but whatever
[18:21:19] *** eperez_ has quit IRC
[18:21:19] <nickeddy> davek: yeah i don't honestly have much experience with large node apps, sorry
[18:21:21] <davek> nickeddy, as do I! Fully intending to try out sails on my next project, this one happens to be a bit advanced though with a lot of moving parts. Trying to simplify at the moment.
[18:21:27] *** siddart has quit IRC
[18:21:28] <davek> nickeddy, not a problem.
[18:21:29] <nickeddy> sure
[18:21:36] <nickeddy> yeah sails seems to keep things nice and organized
[18:21:39] <zomg> davek: we have a pretty big node thing
[18:21:42] *** colinbits has quit IRC
[18:21:58] *** lsiv568 has joined #angularjs
[18:21:59] <davek> Love the real time aspect as well, nickeddy. Going to try doing some socket.io magic with this later on.
[18:22:10] <average> last time I checked, there was a npm.js package where the author forgot his .git in the package
[18:22:14] <average> kind of ridiculous
[18:22:20] <average> several packages that were that way ...
[18:22:28] *** alho has joined #angularjs
[18:22:29] <nickeddy> davek: yeah, angularsails integrates really well - i believe robdubya is on that
[18:22:39] <davek> zomg, how do you guys end up organizing back end services that need to be accessible to multiple routes?
[18:22:44] *** fouzko has joined #angularjs
[18:23:01] *** mfunkie has joined #angularjs
[18:23:06] *** andern has joined #angularjs
[18:23:14] *** siddart has joined #angularjs
[18:23:19] *** colinbits has joined #angularjs
[18:23:49] *** lite_ has quit IRC
[18:24:08] *** spencercarnage has joined #angularjs
[18:24:10] <nickeddy> stop being so dramatic davek
[18:24:16] *** ldgood has joined #angularjs
[18:24:50] *** Methylated has quit IRC
[18:25:06] *** golcarcol has joined #angularjs
[18:25:09] *** MaxV_ has quit IRC
[18:25:11] *** Methylated has joined #angularjs
[18:25:12] <davek> nickeddy, eh?
[18:25:14] *** arek_at_work has joined #angularjs
[18:25:29] <nickeddy> cause the guy's name is zomg... i'm bored, i need coffee.
[18:26:04] <icfantv> i'm finding that i'm starting to do a lot of state management in my controllers to prevent UI manipulation code from being present (in my controllers). is this "proper" angular?
[18:26:05] <zomg> davek: some of them are just functions
[18:26:16] *** mrogne has joined #angularjs
[18:26:17] *** stodan has joined #angularjs
[18:26:22] <ManBearPixel> Still having no luck with this directive thing.. I tried angular.copy on $scope.itemDetails, passed that in
[18:26:34] <zomg> davek: we actually also have some bits on a second server with a custom messaging bus in the middle
[18:26:48] <ManBearPixel> Then I tired both itemDetails.itemName and just itemName but they both throw errors
[18:27:21] *** mpaarating has joined #angularjs
[18:27:26]
<Siecje> So the problem is definitely with getUsers() If I return the http.get() promise it doesn't work the very first time but works after that. The other code allows me to load the page but I don't have my resolve object https://dpaste.de/gtcL#L61,72
[18:27:30] *** kirfu|work has quit IRC
[18:27:34] *** shinnya has quit IRC
[18:28:33] *** Joulse has quit IRC
[18:28:33] <davek> zomg, but things like your ORM, or logging services, mailer transports, that sort of thing? Just publishing all of my services to GLOBAL seems so iffy.
[18:28:36] *** phuh has joined #angularjs
[18:28:45] *** Dan___ has quit IRC
[18:28:50] <wafflejock> ManBearPixel put together a plunkr showing your directive in action
[18:28:53] *** arabot has joined #angularjs
[18:29:04] *** lsiv568 has quit IRC
[18:29:05] <wafflejock> ManBearPixel: just start with the plunkr template in the IRC topic and paste in your directive code
[18:29:19] *** blueadept has joined #angularjs
[18:29:22] *** svycka has quit IRC
[18:29:35] *** lsiv568 has joined #angularjs
[18:29:36] *** mfunkie has quit IRC
[18:29:53] *** sriram-dev has quit IRC
[18:29:56] *** drej has quit IRC
[18:30:11] <wafflejock> icfantv: so long as you aren't manipulating the DOM or using the DOM as the model I don't think you're doing anything wrong if you need to do some extra work for the routers, typically there isn't too much of this with ui-sref and whatnot though
[18:31:41] <nickeddy> davek: i honestly think sails does the same thing with its stuff. like when you make a model or controller you have access to it everywhere in the entire app
[18:31:43] *** slainer68 has joined #angularjs
[18:31:53] *** Dimlock has quit IRC
[18:32:00] <icfantv> wafflejock: i'm starting to do stuff like $scope.saveClicked = false and $scope.switching = true to manage how the UI behaves and relying on the ng-xxxx bindings to control UI stuff (classes, disabled, etc…)
[18:32:25] *** avens has quit IRC
[18:32:27] <icfantv> wafflejock: and this is ok?
[18:32:34] <wafflejock> icfantv: yeah
[18:32:35] *** gunn has quit IRC
[18:32:40] <icfantv> cool
[18:32:42] *** tschundeee has quit IRC
[18:33:19] *** IanOlson has joined #angularjs
[18:34:06] *** lsiv568 has quit IRC
[18:34:39] *** jshultz has joined #angularjs
[18:34:48] *** bbrown has joined #angularjs
[18:35:08] *** Nizumzen has joined #angularjs
[18:35:19] *** alho has quit IRC
[18:35:25] *** orion1111 has quit IRC
[18:35:38] <davek> nickeddy, that's... interesting.
[18:35:45] *** InezK_away is now known as InezK
[18:36:11] <nickeddy> davek: right? i don't know how it does it though, might be some magic behind the scenes.
[18:36:11] <zomg> davek: we have modules that can be require()'d
[18:36:16] *** stayarrr has quit IRC
[18:36:38] *** Browser has joined #angularjs
[18:36:47] *** frostig has joined #angularjs
[18:36:53] *** klaut has quit IRC
[18:37:26] *** itsmeandrewd has joined #angularjs
[18:37:28] *** klaut has joined #angularjs
[18:37:43] *** lsiv568 has joined #angularjs
[18:37:57] <nickeddy> because you don't have to require anything
[18:38:09] *** kemm0 has joined #angularjs
[18:38:27] *** lsiv568 has quit IRC
[18:38:53] *** lsiv568 has joined #angularjs
[18:38:56] *** wiherek has quit IRC
[18:39:04] *** t_smith has joined #angularjs
[18:39:06] *** kamanato has quit IRC
[18:39:07] *** BobbieBarker has quit IRC
[18:39:12] *** Cydmax has quit IRC
[18:39:33] <xastey> anyone know of a small image editor just for croping resizing on the client side?
[18:39:38] *** eperez has joined #angularjs
[18:40:09] *** fedenunez has joined #angularjs
[18:40:27] <crispus> mspaint
[18:40:40] *** ngbot has joined #angularjs
[18:40:41] <ngbot> angular.js/master 38678cb Andrew Pham: docs(tutorial/step-2): warn reader not to minimise browser that Karma's running on...
[18:40:41] *** ngbot has left #angularjs
[18:40:43] <joroci> paint.net
[18:40:45] *** snurfery has quit IRC
[18:40:47] *** Schtive has quit IRC
[18:41:02] *** foofoobar has quit IRC
[18:41:03] *** ghox has quit IRC
[18:41:09] *** teddyp1cker has joined #angularjs
[18:41:17] *** ehynds has joined #angularjs
[18:41:52] *** arthas has quit IRC
[18:41:53] *** klaut has quit IRC
[18:42:19] *** daslicht has quit IRC
[18:42:26] *** mc___ has quit IRC
[18:42:27] *** mguillech has quit IRC
[18:42:29] <nickeddy> xastey: do you mean something for the web
[18:42:34] <xastey> yeah
[18:42:40] *** dejanr has joined #angularjs
[18:42:54] *** eperez_ has joined #angularjs
[18:43:24] *** UniBot has joined #angularjs
[18:43:26] *** guilbep has quit IRC
[18:43:26] *** lsiv568 has quit IRC
[18:43:37] <ManBearPixel> @wafflejock Here’s my plunkr
[18:43:39] *** mguillech has joined #angularjs
[18:43:43] *** eperez has quit IRC
[18:44:41] *** bphogan is now known as bphogan_afk
[18:44:43] *** Browser has quit IRC
[18:44:53] *** Sebastien-L has quit IRC
[18:45:14] *** fouzko has quit IRC
[18:45:41] *** fouzko has joined #angularjs
[18:45:45] <davek> xastey, looks like a great plugin with a bunch of jQ dependencies.
[18:45:54] <davek> Might want to find a better angular-focused alternative.
[18:46:00] *** screamingbanshee has joined #angularjs
[18:46:18] <xastey> o fuking yes
[18:46:22] <xastey> thanks nickeddy
[18:46:24] <davek> Like what nickeddy just posted which is awesome. ngImgCrop is actually just what I was looking for, thanks nickeddy.
[18:46:29] *** apetro_ has quit IRC
[18:46:29] <davek> Group hug or?
[18:46:31] *** whunt has joined #angularjs
[18:46:31] *** UniBot has quit IRC
[18:46:41] <nickeddy> *hugs*
[18:46:54] *** Corealis has joined #angularjs
[18:47:04] *** rd_ has joined #angularjs
[18:47:36] <xastey> looks like.. first one looks like I can read file from html5 .. so can do the process on the client.. not sure about second
[18:47:44] *** encrypt3d_fracti has quit IRC
[18:47:45] <xastey> the fact its angular win everyone.. thanks guys
[18:47:48] *** amedia has joined #angularjs
[18:47:51] <rd_> hi guys
[18:47:54] <nickeddy> np
[18:47:59] *** dejanr has quit IRC
[18:48:02] <nickeddy> howdy rd_
[18:48:11] *** encrypt3d_fracti has joined #angularjs
[18:48:25] *** xaxisx has joined #angularjs
[18:48:36] <rd_> is there an efficient way in angular directive to detect click outside of element with many nested elements ?
[18:48:41] *** whiteboo_ has quit IRC
[18:48:51] <amedia> hello, i need to load some resources from server (api), which are needed across the whole app (account details, various data for select boxes and so on)
[18:49:17] <amedia> where is the best place to load the resources, so i won’t be having problems? (such as being null - not loaded yet)
[18:49:43] *** ngbot has joined #angularjs
[18:49:43] <ngbot> angular.js/master ca0f59e Misha Moroshko: docs(dateFilter): fix milliseconds example...
[18:49:43] *** ngbot has left #angularjs
[18:49:44] *** Methylated has quit IRC
[18:49:47] *** _jpfm has quit IRC
[18:50:16] <davek> amedia, account details I can understand but form configuration is needed across your entire app?
[18:50:23] *** fouzko has quit IRC
[18:50:33] <davek> Anyway, wrapping those resources in a service is the way to go.
[18:50:35] <\du> how i can sent a parameter to a function from inside a directive when the function have the scope: & ?
[18:50:59] *** Natsu- has quit IRC
[18:51:01] *** LoveAndHappiness has quit IRC
[18:51:03] *** josh-k has quit IRC
[18:51:05] *** Ilyas has joined #angularjs
[18:51:38] <\du> directive: scope: { fooFunc = '&' }.... link: fooFunc(false) .. doesn't work
[18:51:56] <amedia> davek, thanks, there are only a few data sources for populating a few select boxes
[18:52:02] *** snapwich has joined #angularjs
[18:52:03] *** Browser has joined #angularjs
[18:52:12] *** cladic has quit IRC
[18:52:13] *** subnl has joined #angularjs
[18:52:23] <amedia> is it okay, to make those calls in run() method? and i have also seen the use of $q, to wait for all promises to finish loading
[18:52:27] <davek> \du well = inside of an object definition means nothing.
[18:52:31] *** DrMabuse has joined #angularjs
[18:52:48] *** vintik has joined #angularjs
[18:52:48] *** ki0 has quit IRC
[18:52:48] *** umib0zu_ has quit IRC
[18:52:49] <davek> So may want to start there. Also you can't use the scope function AS the link function for a directive.
[18:52:49] *** seydoggy has joined #angularjs
[18:52:51] <\du> sorry... davek.. = is :
[18:52:53] *** Hounddog has quit IRC
[18:53:08] <davek> fooFunc will show up as scope.fooFunc in the link function.
[18:53:27] <\du> davek: yes, and i want to sent a parameter
[18:53:27] *** jdj_dk has joined #angularjs
[18:53:45] *** francisl has joined #angularjs
[18:53:59] <davek> \du, so use sscope.fooFunc(param) what's the issue?
[18:54:23] *** eperez_ has quit IRC
[18:54:31] <\du> davek: sound logic, but isn't working for me, i believe that it is not possible, so i will check if this is the way
[18:54:35] <\du> davek: thanks
[18:54:42] <nickeddy> it is possible haha
[18:54:46] <nickeddy> something must be going wrong
[18:54:49] <\du> strange
[18:54:50] <\du> yeap
[18:54:51] <nickeddy> post some code \du
[18:55:21] <ManBearPixel> wafflejock: So getting out of the jQ mindset.. it’d be better to just use a repeater to display that information?
[18:55:23] *** jdowdle|afk is now known as jdowdle
[18:55:28] *** roolo has quit IRC
[18:55:35] *** kirfu|work has joined #angularjs
[18:55:46] <wafflejock> ManBearPixel: yeah repeater just lets you show a set of elements basically which seems like it's what you want with adding the things to the container manually
[18:56:09] <\du> nickeddy: okay, but is is a bit complicate because i have a function in a controller and a directive inside otrher directive, so i sent this function to the scope of the first directive that sent later to the second directive and i do the call from there.. maybe i should to use a broadcast
[18:56:19] *** eperez has joined #angularjs
[18:56:26] <davek> What...
[18:56:30] <ManBearPixel> Alright. Interesting. Yeah I’ve still got much logic process rethinking to do with AngularJS
[18:56:31] *** kirfu|work has quit IRC
[18:56:34] *** greengriminal has quit IRC
[18:56:38] *** rd_ has quit IRC
[18:56:40] <davek> No, just post code. You're barking up the wrong tree.
[18:56:43] <nickeddy> don't use the event bus for something like that
[18:56:48] <nickeddy> what davek said
[18:56:56] <\du> okay, i will
[18:57:05] *** kirfu|work has joined #angularjs
[18:57:35] <wafflejock> ManBearPixel: yeah I got lucky there, came from a Flex/AS3 background so I had to learn all the JS quirks but didn't have to adjust paradigms really since they used MVC in a really similar way to Angular, it's a somewhat mindshift initially but the coding ends up being cleaner and easier
[18:57:41] *** mcreager has joined #angularjs
[18:57:44] *** jdowdle is now known as jdowdle|afk
[18:57:44] <BahamutWC|Work> CSS is such a pain :(
[18:57:58] *** jdj_dk has quit IRC
[18:58:03] *** Fishy has quit IRC
[18:58:17] <nickeddy> BahamutWC|Work: i know those feels
[18:58:21] <intellix> I'm doing this: scope.$watch(attrs.ngModel, fn..... but it seems it doesn't always trigger. I suppose the ngModel doesn't get updated if the field is invalid... what's the best way to get the current value for validation?
[18:58:23] *** hswolff has quit IRC
[18:58:23] *** lsiv568 has joined #angularjs
[18:58:24] *** darwin_bio1 has quit IRC
[18:58:32] *** bengillies has quit IRC
[18:58:42] *** Fishy has joined #angularjs
[18:58:49] <BahamutWC|Work> nickeddy: I’m handling a bootstrap 2 -> 3 migration
[18:58:49] *** lsiv568 has quit IRC
[18:58:55] *** InezK is now known as InezK_away
[18:59:08] *** bengillies has joined #angularjs
[18:59:08] *** ldgood has quit IRC
[18:59:10] <nickeddy> BahamutWC|Work: i had to do that once. wanted to shoot myself. :|
[18:59:13] *** Click66 has joined #angularjs
[18:59:15] *** lsiv568 has joined #angularjs
[18:59:18] <intellix> ngModel.$viewValue?
[18:59:19] *** bphogan_afk is now known as bphogan
[18:59:22] *** kvnm has quit IRC
[18:59:24] <intellix> say whaaat. bootstrap 2 > 3 is so easy :D
[18:59:34] <wafflejock> depends on how much code you have to migrate
[18:59:37] <nickeddy> ^
[18:59:41] <trave> ^^
[18:59:44] <intellix> I did bootstrap 3 > ionic, that was a freaking bitch, the whole HTML is different
[18:59:46] <bd> yea it was a bit of a pain in the tits when i had to do it
[18:59:46] <nickeddy> billion partials? not fun
[18:59:55] *** kvnm has joined #angularjs
[18:59:57] <BahamutWC|Work> well…part of the pain is the usage of the Ace bootstrap theme
[19:00:01] *** mguillech has quit IRC
[19:00:04] <intellix> bootstrap 2 -> 3 is just classes and adding some responsive classes :P
[19:00:09] *** mven has joined #angularjs
[19:00:15] <BahamutWC|Work> Bootstrap 3 required an upgrade of Ace, which…is kinda a bad theme
[19:00:23] <nickeddy> intellix: the html does change between 2->3
[19:00:30] <nickeddy> and some of the class names
[19:00:31] *** hswolff has joined #angularjs
[19:00:33] <intellix> not majorly though
[19:00:34] <BahamutWC|Work> the theme uses !important in some styles :/
[19:00:52] <wafflejock> intellix: eh the form stuff changed quite a bit and there are other bits, it depends on the size of the project really... I've done it on small ones no problem but am on a bigger project right now and don't want to be the guy who has to make that switch
[19:01:03] *** mguillech has joined #angularjs
[19:01:09] *** in_deep_thought has quit IRC
[19:01:21] <intellix> I thought my project was pretty big :P took me a couple of days. Every now and again I quite like the mindless repetitive work :P
[19:01:25] *** InezK_away is now known as InezK
[19:01:27] <ManBearPixel> wafflejock: Also two things, curious if your thoughts on using the angular factories/services as a type of ‘class’ to handle a lot of the logic behind the application. And also, do you know of any good examples of boradcasting events? I originally was using the jQuery.on and .trigger to send custom event names through the body, which then if i attached a function to .on would get called
[19:01:52] <BahamutWC|Work> intellix: but this is at a startup…and lord knows how much bad code startups accumuluate
[19:01:56] <BahamutWC|Work> accumulate*
[19:02:02] *** DrMabuse_ has joined #angularjs
[19:02:48] *** InezK is now known as InezK_away
[19:02:51] *** InezK_away is now known as InezK
[19:02:51] *** slainer68 has quit IRC
[19:02:52] <wafflejock> ManBearPixel: you can use $emit, $broadcast and $on but the events move through the scopes not the DOM so it's a bit different, typically I try to do most things with services/factories though over using events since the events can get unwieldly to debug
[19:02:54] <intellix> well I suppose so. I'm quite a style-nazi so everything is perfectly indented etc etc :D
[19:02:57] *** lsiv568 has quit IRC
[19:03:03] *** nanoyak has joined #angularjs
[19:03:23] *** DrMabuse_ has quit IRC
[19:03:25] *** joshbrw has quit IRC
[19:03:32] *** mfunkie has joined #angularjs
[19:03:36] *** bengillies has quit IRC
[19:03:39] *** DrMabuse_ has joined #angularjs
[19:03:44] <wafflejock> ManBearPixel: you can also use the require property when doing a directive definition to get the controller from another directive to allow your directives to communicate with each other directly if you need that
[19:03:59] <BahamutWC|Work> intellix: hint: there are inline styles
[19:04:02] <wafflejock> ManBearPixel: but in general I like the idea of using services/factories for doing most of the data work
[19:04:12] *** lsiv568 has joined #angularjs
[19:04:17] <davek> \du you use the function in the directive that does not bind the function. Your first directive has isolate scope by virtue of you declaring scope binding properties.
[19:04:22] *** richiebkr has quit IRC
[19:04:32] *** duall has quit IRC
[19:04:32] *** teeray has quit IRC
[19:04:40] *** richiebkr has joined #angularjs
[19:04:47] *** kvnm has quit IRC
[19:04:49] <ManBearPixel> wafflejock: Say I was using a factory ‘appManager’ which is linked to my rootController. After ‘appManager’ sets up some basic information I have it broadcast NOTIF_APP_READY which I want other controllers to listen for so they can resume/start what they need to do
[19:04:55] *** lsiv568 has quit IRC
[19:04:58] *** wallerdev has joined #angularjs
[19:05:00] *** patrick99e99 has joined #angularjs
[19:05:00] *** xat- is now known as xAt
[19:05:13] *** patrick99e99 has quit IRC
[19:05:21] *** lsiv568 has joined #angularjs
[19:05:29] *** conan_the_destro has quit IRC
[19:05:37] *** JoshRobertson has joined #angularjs
[19:05:40] <wafflejock> ManBearPixel: yeah that's one way to solve it but you could also use resolve on a route to prevent the route from loading the view/controller before it has some data
[19:05:47] *** patrick99e99 has joined #angularjs
[19:05:49] *** ColKurtz has joined #angularjs
[19:05:51] <\du> davek: oh yes, my second directive doesn't have an scope, but it should work anyway, not? actually it works, but now i want to sent a parameter and it isn't working
[19:05:56] *** richiebkr has quit IRC
[19:06:01] <ManBearPixel> I made a few single page apps with Cappucino which had a cool event broadcasting/watch system. I recreated it using jQuery for the original design of this new project. And now I’m switching over to AngularJS since I figured it would be alot easier for all the DOM adjustments I need to do.
[19:06:03] *** cladic has joined #angularjs
[19:06:18] <\du> davek: maybe there is a best way acomplish it?
[19:06:29] *** conan_the_destro has joined #angularjs
[19:06:39] <wafflejock> ManBearPixel: yeah the only downside I see with the event system is since it all happens asynch you can't see the calling function in the stacktrace
[19:06:57] <wafflejock> ManBearPixel: so when the thing gets more complex tracing the chain of events that led to an action can be difficult
[19:07:12] <ManBearPixel> hmm
[19:07:31] *** Efrem has joined #angularjs
[19:07:36] <the-erm> I remember hearing about a tool that helps you debug angular, but I can't remember what it was.
[19:07:45] <bd> batarang
[19:07:46] *** umib0zu_ has joined #angularjs
[19:07:46] <wafflejock> ManBearPixel: in certain cases like your example above it's pretty obvious what's happening and so probably isn't aproblem
[19:07:50] <the-erm> That's it.
[19:07:51] *** patrick99e99 has quit IRC
[19:08:02] <ManBearPixel> Well thanks wafflejock :)
[19:08:04] <Corealis> the-erm: Batarang?
[19:08:11] *** patrick99e99 has joined #angularjs
[19:08:13] *** snurfery has joined #angularjs
[19:08:14] <wafflejock> ManBearPixel: but some developers fall in the trap of using events for communicating everything and then you have event handlers that just broadcast other events and it becomes a mess
[19:08:21] *** spaceonline has joined #angularjs
[19:08:22] *** DrMabuse_ has quit IRC
[19:08:35] <wafflejock> ManBearPixel: np as always take it with a grain of salt and situations vary but good luck with whatever you do
[19:08:36] <cacts|works> im running into a weird strange thing with form validity
[19:08:43] *** rodyhaddad has joined #angularjs
[19:08:57] <ManBearPixel> Well I’m hoping to put this project on an open source example map when I’m finished
[19:08:59] *** patrick99e99 has quit IRC
[19:09:14] <ManBearPixel> I’m using Java Spring MVC on the backend and AngularJS on the front end
[19:09:15] <cacts|works> i'm calling control.$setValidity('customError', true);
[19:09:16] *** patrick99e99 has joined #angularjs
[19:09:26] <cacts|works> but its not updating the $valid on the parent form
[19:09:35] <wafflejock> ManBearPixel: nice I did a little Spring MVC haven't touched it in over a year though
[19:09:35] <ManBearPixel> Spring to mostly help out with SEO so when particular pages are loaded up, the content is all there
[19:09:41] *** josh-k has joined #angularjs
[19:09:43] *** lsiv568 has quit IRC
[19:09:43] <ManBearPixel> And I let AngularJS take over from there
[19:09:44] *** tylerjohnst has joined #angularjs
[19:09:56] *** Ethix has quit IRC
[19:10:02] *** OffTheRails has quit IRC
[19:10:11] *** patrick99e99 has quit IRC
[19:10:30] *** RandyT has joined #angularjs
[19:10:36] *** ckboii89 has joined #angularjs
[19:10:41] *** UniBot has joined #angularjs
[19:10:51] *** patrickreck has quit IRC
[19:11:02] <davek> \du what do you mean it works?
[19:11:17] <davek> Also, plunkr is generally good for this sort of thing.
[19:11:24] *** whitebook has joined #angularjs
[19:11:53] *** lsiv568 has joined #angularjs
[19:11:54] <wafflejock> the-erm: ng-inspector.org is pretty decent too one of the peeps in the IRC made it
[19:12:00] <cacts|works> i believe this is a bug
[19:12:19] *** patrick99e99 has joined #angularjs
[19:12:21] *** InezK is now known as InezK_away
[19:12:25] *** ColKurtz has quit IRC
[19:12:38] <wafflejock> cacts|works: try to show the behaviour in a plunkr and link to the docs or whatever you've read and I can take a look with you
[19:12:49] <cacts|works> yeah im trying to figure out how to best do that
[19:13:12] *** Tidwell has quit IRC
[19:13:13] *** kvnm has joined #angularjs
[19:13:48] <\du> davek: that the controller function is executed, but i can't sent an argument, if i try to send one, it doesn't arrive to the controller function
[19:13:54] *** thomastuts has joined #angularjs
[19:14:00] *** disorder20 has joined #angularjs
[19:14:05] *** Schtive has joined #angularjs
[19:14:05] *** Tidwell has joined #angularjs
[19:14:06] *** {DV8} has joined #angularjs
[19:14:07] *** maurycyg has quit IRC
[19:14:14] <davek> \du that's because you're executing the function when you bind it.
[19:14:15] *** mehlah has quit IRC
[19:14:15] *** davemerwin has quit IRC
[19:14:20] <davek> If you use =, simply name the function.
[19:14:24] *** Methylated has joined #angularjs
[19:14:29] *** henn1nk has joined #angularjs
[19:14:42] *** mfunkie has quit IRC
[19:14:49] *** ckboii89 has quit IRC
[19:15:09] *** mfunkie has joined #angularjs
[19:15:22] *** ColKurtz has joined #angularjs
[19:15:29] *** UniBot has quit IRC
[19:15:29] <davek> You only invoke the function in an expression if you (a) want to deal with the result of that invocation and it is bound to the directive's scope or (b) you want to $parse that expression yourself with a given scope.
[19:15:32] *** richiebkr has joined #angularjs
[19:15:38] *** s3shs has quit IRC
[19:15:45] *** SomeKittens has joined #angularjs
[19:15:53] *** adarshaj has quit IRC
[19:16:01] *** davemerwin has joined #angularjs
[19:16:02] <ManBearPixel> wafflejock: Totally forgot.. So the reason I was appending this to the container was because there were going to be two different “layouts” for the data to display in
[19:16:05] <davek> \du no idea then, like I said this is difficult without having a plunkr.
[19:16:20] <ManBearPixel> wafflejock: One was going to be a normal display, and one was going to be an Ad
[19:16:29] <\du> davek: yes sure! no problem, thanks anyway :)
[19:16:31] <wafflejock> ManBearPixel: yeah so you can handle that with a directive that takes a type and figures out what to display
[19:16:38] *** naxs has joined #angularjs
[19:16:44] *** melmoussaoui has joined #angularjs
[19:16:50] <wafflejock> ManBearPixel: er perhaps just using ng-switch in your existing directive
[19:16:57] *** arntempelgibbarn has quit IRC
[19:17:10] *** mehlah has joined #angularjs
[19:17:20] <wafflejock> ManBearPixel: the key there would be to have information about the type in the model itself
[19:17:56] *** mguillech has quit IRC
[19:18:08] <ManBearPixel> wafflejock: So for example the itemDetails would have isAd: true/false
[19:18:19] <wafflejock> ManBearPixel: depending on exactly what you're doing you might want the ng-repeat just on some other element or might need to reorganize things.... ^ ypu
[19:18:20] <wafflejock> yup
[19:18:29] *** mguillech has joined #angularjs
[19:18:31] *** Hounddog has joined #angularjs
[19:18:52] *** patrick99e99 has quit IRC
[19:19:07] *** patrick99e99 has joined #angularjs
[19:19:16] *** ccohn has joined #angularjs
[19:19:47] *** mfunkie has quit IRC
[19:19:49] *** RexButler has joined #angularjs
[19:20:01] *** futuredale has joined #angularjs
[19:20:06] *** CodeFriar has quit IRC
[19:20:17] *** RexButler has quit IRC
[19:20:31] *** davemerwin has quit IRC
[19:20:38] *** RexButler has joined #angularjs
[19:20:38] *** mfunkie has joined #angularjs
[19:20:53] *** naxs has quit IRC
[19:21:18] *** heidi has joined #angularjs
[19:21:33] *** Sijdesign has joined #angularjs
[19:22:05] *** jareddlc has joined #angularjs
[19:22:05] <Sijdesign> good evning all
[19:22:25] *** RandyT has quit IRC
[19:22:28] *** gvc has joined #angularjs
[19:22:54] <wafflejock> good evening Sijdesign
[19:23:02] <Sijdesign> how are you wafflejock
[19:23:21] *** derrzzaa has quit IRC
[19:23:21] <wafflejock> Sijdesign: pretty good... hungry, forgot to eat, but taking care of that
[19:23:52] <Sijdesign> hehe :D when you first start coding its easy to forget eating
[19:24:01] <Sijdesign> wafflejock do you use Gulp
[19:24:02] *** whiteboo_ has joined #angularjs
[19:24:07] *** cspra85 has quit IRC
[19:24:10] <wafflejock> no unfortunately not yet
[19:24:11] <wafflejock> I want to
[19:24:27] *** devilx has quit IRC
[19:24:32] *** alextucker has quit IRC
[19:24:34] *** bluesm has quit IRC
[19:24:38] *** stayarrr has joined #angularjs
[19:24:44] *** s3shs has joined #angularjs
[19:24:44] *** dcadenas has quit IRC
[19:24:51] <wafflejock> so far just used grunt myself and the project I'm doing bug fixes on uses grunt too but I like gulp when I read about it
[19:24:53] *** MalfaitRobin has quit IRC
[19:24:57] *** RandyT has joined #angularjs
[19:24:58] *** s3shs has quit IRC
[19:24:58] *** styles has quit IRC
[19:25:05] *** gvc has quit IRC
[19:25:09] <Sijdesign> okay :), i really love gulp
[19:25:11] *** joshfinnie has quit IRC
[19:25:12] *** FifthWall has quit IRC
[19:25:14]
<Siecje> So the issue I'm having on the first load is due to the cache part. I see the promise in the console and the route changes but the new template doesn't load. https://dpaste.de/kuOS#L5
[19:25:16] *** Nek has joined #angularjs
[19:25:16] *** Click66 has quit IRC
[19:25:18] <Sijdesign> i just have some problems with browserify
[19:25:22] *** s3shs has joined #angularjs
[19:25:32] *** amacgregor has quit IRC
[19:25:41] *** derrzzaa has joined #angularjs
[19:25:45] <Sijdesign> keep getting "Failed to instantiate module mainApp due to:"
[19:25:47] *** zonetti has quit IRC
[19:25:50] *** Click66 has joined #angularjs
[19:25:54] *** Aliks_ has joined #angularjs
[19:25:56] *** jonashw has joined #angularjs
[19:25:59] *** tilgovi has joined #angularjs
[19:26:04] <jonashw> hey all'
[19:26:07] *** Sean-Der has quit IRC
[19:26:08] *** raycats has quit IRC
[19:26:09] <cacts|works> the on change event correctly sets the control as valid
[19:26:11] *** JoshRobertson has quit IRC
[19:26:20] <Sijdesign> hey jonashw
[19:26:23] *** jory has quit IRC
[19:26:35] *** bphogan is now known as bphogan_afk
[19:26:36] *** clamstar has quit IRC
[19:26:40] <cacts|works> oh gosh i think i see it
[19:27:06] *** amacgregor has joined #angularjs
[19:27:09] *** joshfinnie has joined #angularjs
[19:27:12] *** accelerate has joined #angularjs
[19:27:12] *** elux has quit IRC
[19:27:12] *** juampy has joined #angularjs
[19:27:12] *** FifthWall has joined #angularjs
[19:27:16] *** devilx has joined #angularjs
[19:27:21] *** Cavallari has joined #angularjs
[19:27:23] *** whitebook has quit IRC
[19:27:26] *** philp has quit IRC
[19:27:26] <davek> Holy hell this is a weird bug... one specific test starts spitting out ECONNREFUSED errors on user creation even though plenty of other tests do just that without issue. Literally nothing to differentiate this test case...
[19:27:39] *** davemerwin has joined #angularjs
[19:27:49] *** MalfaitRobin has joined #angularjs
[19:27:53] *** ajaxan has quit IRC
[19:28:09] *** phuh has quit IRC
[19:28:13] *** accelerate is now known as raycats
[19:28:15] *** clamstar has joined #angularjs
[19:28:27] *** elrabin_ has joined #angularjs
[19:28:31] *** Sean-Der has joined #angularjs
[19:28:41] *** phuh has joined #angularjs
[19:28:42] *** philp has joined #angularjs
[19:28:45] <davek> raycats!
[19:29:00] *** dcherman2 has joined #angularjs
[19:29:05] <cacts|works> something still seems off with formcontroller.setvalidity
[19:29:12] *** elnur` is now known as elnur
[19:29:25] <raycats> davek!
[19:29:36] *** InezK_away is now known as InezK
[19:29:46] <davek> Your name is rather clever, I enjoyed it.
[19:29:46] *** the-erm has quit IRC
[19:29:52] *** adarshaj has joined #angularjs
[19:30:08] *** s3shs has quit IRC
[19:30:13] *** Click66 has quit IRC
[19:30:25] *** MANCHUCK has joined #angularjs
[19:30:27] *** jory has joined #angularjs
[19:30:32] <Sijdesign> are you guys using browserify ?
[19:30:33] *** jory is now known as Guest34197
[19:30:34] *** elrabin has quit IRC
[19:30:44] *** whunt has quit IRC
[19:30:51] *** Naaab has joined #angularjs
[19:31:02] *** t_smith has quit IRC
[19:31:04] *** mindlace has joined #angularjs
[19:31:33] *** dcadenas has joined #angularjs
[19:31:38] *** tsalb has joined #angularjs
[19:31:47] *** alextucker has joined #angularjs
[19:31:50] *** the-erm has joined #angularjs
[19:31:52] *** francisl has quit IRC
[19:32:01] *** optikalmouse has joined #angularjs
[19:32:18] *** dcherman has quit IRC
[19:32:24] <optikalmouse> where are the angularjs style guides at?
[19:32:42] <Naaab> Hi guys so i was wondering if is possible to when I uncheck a checkBox set the value of a selectBox to '' ? Thanks in advance
[19:32:50] *** francisl has joined #angularjs
[19:32:51] *** AlSquirrel has quit IRC
[19:32:53] <optikalmouse> I'm also not digging the unimaginative uses of factory. returning an object? come on, you can do more exciting things than that! ;x
[19:32:56] <zomg> I saw one on reddit the other day but I don't think people were agreeing with it too much
[19:33:10] *** MANCHUCK_ has quit IRC
[19:33:11] <optikalmouse> zomg: a new style guide? or the googley one/
[19:33:14] <optikalmouse> ?
[19:33:15] *** whunt has joined #angularjs
[19:33:36] <zomg> that was it
[19:34:03] <wafflejock> Naaab: check out the angular docs on checkbox they have ng-true-value and ng-false-value
[19:34:22] *** MacWinner has quit IRC
[19:34:44] *** MacWinner has joined #angularjs
[19:35:00] *** soujiro has quit IRC
[19:35:06] <zomg> I think there were some ok bits in that, but some of it was quite accurately "opinionated"
[19:35:10] <wafflejock> cacts|works: you figure it out?
[19:35:16] <cacts|works> kind of
[19:35:18] <zomg> and not necessarily the only way, or not necessarily even a good way =)
[19:35:58]
<intellix> seem to be having an issue with 1.3.0-beta.12 in regards to scope.$watch(attrs.ngModel). I've got a custom validator (equals) and it works in beta 11 but not 12. I've created a simple plunk here: http://plnkr.co/edit/W6AFHF308nyKVMQ9vomw?p=preview
[19:36:31] *** Hounddog has quit IRC
[19:36:32] *** jkremser has quit IRC
[19:36:49] *** fedenunez has quit IRC
[19:36:55] *** fedenunez1 has joined #angularjs
[19:37:04] <cacts|works> i fixed it in my plunker wafflejock but still not in my app :P
[19:37:30] <cacts|works> as usual
[19:37:31] *** dob_ has joined #angularjs
[19:37:45] <wafflejock> cacts|works: ah that's a half bummer, so you know it works but just not in the context of your app code
[19:37:48] *** ajaxan has joined #angularjs
[19:37:49] <cacts|works> yeah
[19:38:05] <wafflejock> cacts|works: same angular versions?
[19:38:08] <cacts|works> there was something wrong with the initial plunker though too so i need to make sure these are the same
[19:38:30] <kemm0> wafflejock the answer to the s3 question is that you have to send the file binary
[19:38:36] *** styles has joined #angularjs
[19:38:36] *** styles has joined #angularjs
[19:39:06] <wafflejock> kemm0: using http with custom headers or is there more to it?
[19:39:30] *** patric100e99 has joined #angularjs
[19:39:38] *** gauravsaini03 has quit IRC
[19:39:41] *** cigarshark has joined #angularjs
[19:39:42] <Naaab> wafflejock: But is that like and event trigger that ng-true-false ?
[19:40:24] <Naaab> wafflejock: I think its the shown value you want for the false and true value of the checkbox
[19:40:29] *** InezK is now known as InezK_away
[19:40:54] *** SpearThruster has joined #angularjs
[19:41:07] *** stodan has quit IRC
[19:41:18] *** zfogg_ has quit IRC
[19:41:18] <wafflejock> Naaab: right it's the value the model will get if the box is true/false checked/unchecked
[19:41:33] <cacts|works> ok i got it
[19:41:46] <cacts|works> thanks for making me plunk it haha
[19:41:51] <snapwich> Sijdesign: looks right to me
[19:41:52] <wafflejock> haha np
[19:42:08] <kemm0> wafflejock i have like 90% of the solution i'll share it with you in a bit when it's 100%
[19:42:09] <Sijdesign> snapwich are you using gulp and browserify too ?
[19:42:14] *** opensourcegeek has joined #angularjs
[19:42:25] <snapwich> no. but browserify uses node type exports, which i am familiar with
[19:42:40] <wafflejock> kemm0: cool, what's the reasoning for using S3 actually is it faster/cheaper/both?
[19:42:44] <snapwich> well, and i have used gulp, yes. i haven't used browserify
[19:42:52] *** hannesvdvreken has joined #angularjs
[19:42:56] *** jaequery has joined #angularjs
[19:43:19] *** stayarrr has quit IRC
[19:43:24] <Sijdesign> ahh its in my html it trys to see it
[19:43:25] <Sijdesign> doh
[19:43:27] *** dejanr has joined #angularjs
[19:43:36] *** ericbarnes has joined #angularjs
[19:43:42] *** mehlah has quit IRC
[19:43:43] <kemm0> scales extremely well with huge amounts of data
[19:43:56] *** patric100e99 has quit IRC
[19:43:57] <wafflejock> zomg: yeah I agree with most of that just read through most of it
[19:44:07] *** RandyT has quit IRC
[19:44:14] *** Xethron has quit IRC
[19:44:16] <snapwich> i'm not sure how browserify works. does it build all your requires into a single file or does it do lazy-loading of .js requires?
[19:44:17] *** Pookz has joined #angularjs
[19:44:24] *** patrickreck has joined #angularjs
[19:44:35] *** patrick99e99 has quit IRC
[19:44:44] <Sijdesign> im not sure with the var mainCtrl and then mainCtrl.contrller
[19:44:47] <kemm0> oh i almost forgot i came in here to ask if anyone could recommend a solution for generating md5 checksums on files
[19:44:48] <opensourcegeek> hey guys - does anyone know how to look up content-type and content-location inside an interceptor?
[19:44:59] <Sijdesign> or i just should remove var mainCtrl and got with a .controller
[19:45:00] *** \du has quit IRC
[19:45:02] <snapwich> Sijdesign: mainCtrl is not a controller. it's am odule
[19:45:23] <cthrax> kemm0, md5 on the command line
[19:45:26] *** tschundeee has joined #angularjs
[19:45:30] *** patrick99e99 has joined #angularjs
[19:45:36] <Sijdesign> snapwich what should i change then ?
[19:45:44] <snapwich> that style guideline would suggest you do angular.module('mainCtrl', []) .controller('mainCtrl', function() {});
[19:45:45] *** juanlas has quit IRC
[19:45:52] *** intellix has quit IRC
[19:45:53] <wafflejock> kemm0: yeah where are you trying to check it?
[19:45:54] <snapwich> not assigning the module to a var and just chaining
[19:45:56] <opensourcegeek> i have no CORS - it's all same server, but the response.headers() function does not have both content-type and content-location header inside
[19:45:57] <Sijdesign> okay :)
[19:46:20] <Sijdesign> snapwich maybe thats why i got a error when i bundle them all with browserify
[19:46:33] <snapwich> probably. you're exporting the module, not the controller
[19:46:35] *** mtsr has joined #angularjs
[19:46:37] *** RandyT has joined #angularjs
[19:46:52] *** nanoyak has quit IRC
[19:46:59] *** InezK_away is now known as InezK
[19:47:17] *** jaequery has quit IRC
[19:47:30] *** scrooge_mcduck has quit IRC
[19:47:30] <snapwich> but you want to export the controller, right?
[19:47:34] *** jdj_dk has joined #angularjs
[19:47:40] *** Drako_ has joined #angularjs
[19:47:50] *** nuizzy has joined #angularjs
[19:48:02] <opensourcegeek> could anyone please tell me from an interceptor if it is possible to get content-type or content-location?
[19:48:21] *** xAt is now known as xat-
[19:48:22] <Sijdesign> one thing i see some people do is .controller('mainController', [$scope, 'etc.' ,'etc', function($scope, etc. etc.)] {} and other just have the function and not the ['$scope' ....] can you tell me why? and what is best practice
[19:48:25] *** dejanr has quit IRC
[19:48:28] <Sijdesign> snapwich yes
[19:48:30] *** nanoyak has joined #angularjs
[19:48:37] *** UniBot has joined #angularjs
[19:49:04] *** stirlingw has joined #angularjs
[19:49:19] *** quan__ has quit IRC
[19:49:21] *** mven has quit IRC
[19:49:30] <Sijdesign> ohh so its like that
[19:49:40] <Sijdesign> that makes sense
[19:49:50] *** artisangoose has joined #angularjs
[19:49:59] <wafflejock> opensourcegeek: can you show what you're trying
[19:50:05] <snapwich> you probably want to get rid of that angular.module all together too
[19:50:08] *** SpearThruster has quit IRC
[19:50:09] *** mguillech has quit IRC
[19:50:12] <snapwich> unless you're importing angular, it's going to be undefined
[19:50:22] *** tschundeee has quit IRC
[19:50:24] <wafflejock> opensourcegeek: headers – {function([headerName])} – Header getter function.
[19:50:43] <Sijdesign> im importing angularjs in my html file
[19:50:51] *** mguillech has joined #angularjs
[19:50:51] *** mguillech has joined #angularjs
[19:50:54] *** mspier is now known as mspier_off
[19:51:00] *** juanlas has joined #angularjs
[19:51:21] *** mspier_off is now known as mspier
[19:51:27] *** synestry has quit IRC
[19:51:41] <kemm0> i need to generate the md5 in the app
[19:51:44] <kemm0> not in my terminal
[19:51:50] <snapwich> see that's why I say i don't know how browserify works. but in node you don't have anything in your package except for what you import. so unless you have a require("angular") somewhere then angular is going to be undefined. i'm guessing it's the same for browserify
[19:51:54] *** olveraricardo72 has joined #angularjs
[19:51:55] <wafflejock> kemm0: yeah what backend though?
[19:52:01] *** jdj_dk has quit IRC
[19:52:01] <kemm0> l4
[19:52:06] <kemm0> laravel4
[19:52:14] *** Naaab has quit IRC
[19:52:27] <wafflejock> there's one that does files too one min
[19:52:34] <opensourcegeek> @wafflejock: sure
[19:52:40] *** dve has quit IRC
[19:52:43] <kemm0> ... the back end guy says he wants me to generate the md5 on teh front end and send it to him
[19:52:48] <wafflejock> ah
[19:52:52] <kemm0> to be used in creating the signed URL for s3
[19:53:09] *** DuelShark has joined #angularjs
[19:53:12] <davek> Wha?
[19:53:13] <wafflejock> you'll need to be able to read the file stream data not sure all browsers support that
[19:53:18] <zomg> kemm0: as much as people dislike phpjs, they would probably have a function for that =)
[19:53:18] <kemm0> just for the record, i'd like to state that i fucking hate s3 and uploading files
[19:53:31] <davek> Oh you're doing direct-to-s3?
[19:53:40] *** davi has quit IRC
[19:53:43] <snapwich> Sijdesign: well, scratch that. it probably can still pull angular off the global. but it's probably not good practice to export the controller and attach it in that file. you probably want to export it and attach it somewhere else
[19:54:21] *** mehlah has joined #angularjs
[19:54:25] *** shackleford has quit IRC
[19:54:26] *** amedia has quit IRC
[19:54:28] <kemm0> i can read the files for the md5 i already have a fileread emplace
[19:54:53] *** krawek has quit IRC
[19:55:01] *** shackleford has joined #angularjs
[19:55:10] *** teeray has joined #angularjs
[19:56:52] <juanlas> you know angular has its own module system that can supercede the need for browserify
[19:56:52] *** danizord has joined #angularjs
[19:56:54] *** mikerrrrrr has quit IRC
[19:57:00] *** shackleford has quit IRC
[19:57:07] *** Nizumzen has quit IRC
[19:57:15] *** shackleford has joined #angularjs
[19:57:33] <juanlas> unless you use a ton of third party libraries, everything can be wrapped in angular modules
[19:57:33] *** subnl has quit IRC
[19:58:12] <snapwich> well, angular doesn't support lazy-ajax-loading of dependencies. but then again, i don't know if browserify does either. does it
[19:58:14] <snapwich> ?
[19:58:46] *** JoshGlzBrk has joined #angularjs
[19:58:56] <hippch> no, it doesnt
[19:58:56] *** ManBearPixel has quit IRC
[19:58:58] <wafflejock> yeah was trying to figure that out on their site right now
[19:59:08] <hippch> requirejs can lazy-load stuff
[19:59:20] <hippch> and package a-la browserify
[19:59:42] *** ManBearPixel has joined #angularjs
[19:59:44] <hippch> but you have to wrap your code in AMD modules to make it work
[19:59:48] *** whiteboo_ has quit IRC
[19:59:59] *** Gambit- has quit IRC
[20:00:11] <Sijdesign> snapwich hmm yea its hard to wrap my head around it
[20:00:12] <hippch> google "angular requirejs" to see if you want to deal with it
[20:00:28] <Sijdesign> hippch me ?
[20:00:48] <hippch> sorry, was aswering to @snapwich
[20:01:00] *** mindlace has quit IRC
[20:01:01] *** RubenCordeiro has quit IRC
[20:01:09] <snapwich> Sijdesign. if you're using angular modules, just concat your stuff and everything should work
[20:01:13] <snapwich> you don't need browserify
[20:01:19] <snapwich> is what they're saying
[20:01:39] <Sijdesign> okay i will try to set that up :P
[20:01:52] *** VictorBjelkholm has quit IRC
[20:01:53] <opensourcegeek> wafflejock: where can I upload the code for you to see? I think jsfiddle is down at the moment
[20:01:58] <opensourcegeek> it takes ages to load
[20:02:09] <wafflejock> try plunkr there's a link in the IRC topic with angular loaded already
[20:02:19] <Sijdesign> snapwich but then i need to tell / update my gulpfile everytime i add a new js file, right?
[20:02:27] *** pluma has joined #angularjs
[20:02:36] <snapwich> no, use a glob
[20:02:47] *** MistahKurtz has quit IRC
[20:02:51] <wafflejock> put a glob in yer gulp
[20:02:57] *** zonetti has joined #angularjs
[20:03:00] <wafflejock> sounds silly
[20:03:09] <snurfery> sounds like a visit to HR
[20:03:19] <snapwich> well you can put a glob in your grunt if that sounds more to your liking ;)
[20:03:20] *** ColKurtz has quit IRC
[20:03:27] *** hychen has quit IRC
[20:03:32] *** RandyT has quit IRC
[20:03:38] <snurfery> some people like to be on the receiving end I suppose
[20:03:44] *** seydoggy has quit IRC
[20:03:45] *** MistahKurtz has joined #angularjs
[20:04:09] *** ngbot has joined #angularjs
[20:04:09] <ngbot> angular.js/master 3625803 Jeff Cross: fix($location): add semicolon to whitelist of delimiters to unencode...
[20:04:09] *** ngbot has left #angularjs
[20:04:13] *** icarus75 has quit IRC
[20:04:18] *** seydoggy has joined #angularjs
[20:04:26] *** DrMabuse_ has joined #angularjs
[20:04:27] <davek> I like to shove my glob in a pipe.
[20:04:28] <wafflejock> good job Jeff Cross
[20:04:29] <Sijdesign> and glob is global ?
[20:04:43] <davek> File glob, it's a directory pattern string.
[20:04:44] *** Gambit- has joined #angularjs
[20:04:45] <wafflejock> Sijdesign: nope they mean the **/*.js patterns
[20:04:46] <snapwich> gulp supports globs by default
[20:04:51] <snapwich> with gulp.src
[20:04:53] <Sijdesign> ahh okay :D
[20:04:56] <Sijdesign> oh yea doh
[20:05:04] *** synestry has joined #angularjs
[20:05:21] *** zwacky has quit IRC
[20:05:39] *** siddart has quit IRC
[20:06:02] *** RandyT has joined #angularjs
[20:06:30] <opensourcegeek> in the interceptor i would like to check for the response headers like content-type and content-location
[20:06:48] *** mguillech has quit IRC
[20:06:48] *** tschundeee has joined #angularjs
[20:07:14] <opensourcegeek> the response.headers() there gives me some headers but not content-type and content-location
[20:07:27] <wafflejock> opensourcegeek: I see content-type
[20:07:31] *** dob_ has quit IRC
[20:07:45] <wafflejock> opensourcegeek: is content-location required? perhaps the server is leaving it out of the headers
[20:07:56] *** dob_ has joined #angularjs
[20:08:16] *** mguillech has joined #angularjs
[20:08:16] *** mguillech has joined #angularjs
[20:08:23] *** seydoggy has quit IRC
[20:08:34] <wafflejock> opensourcegeek: I see the same response headers in Chrome network panel
[20:08:36] *** cotko has quit IRC
[20:08:39] <wafflejock> so think it's right
[20:09:02] *** DrMabuse_ has quit IRC
[20:09:07] *** shredjs has quit IRC
[20:09:48] <davek> So excited for ES6 template strings: INLINE QUERIES BITCHES.
[20:09:58] <davek> Not having to quote and escape every goddamn thing.
[20:09:59] <opensourcegeek> wafflejock: that's weird - I cannot see the content-type/content-location when i run locally hmmm starting to wonder if it's server that's not setting these headers correctly
[20:10:28] <wafflejock> opensourcegeek: yeah sounds like it... check the network panel select the actual request to see the response/request headers that the browser is seeing
[20:10:35] *** teslanick has left #angularjs
[20:10:38] <wafflejock> if the browser doesn't see it I don't think angular is going to be picking it up
[20:11:07] *** tschundeee has quit IRC
[20:11:12] *** Hackwar1 has quit IRC
[20:11:37] *** vintik has quit IRC
[20:12:04] *** mercwithamouth has joined #angularjs
[20:12:10] *** vintik has joined #angularjs
[20:12:11] *** seydoggy has joined #angularjs
[20:12:20] *** mspier is now known as mspier_off
[20:12:24] *** MANCHUCK_ has joined #angularjs
[20:12:39] *** thomastuts has quit IRC
[20:12:43] *** dob_ has quit IRC
[20:12:53] *** mtsr has quit IRC
[20:13:20] *** UniBot has quit IRC
[20:13:33] *** Hackwar has joined #angularjs
[20:13:37] <wafflejock> davek: yeah I use PDO in PHP it gets rid of all that business using prepared statements
[20:13:41] *** UniBot has joined #angularjs
[20:13:56] *** charlie_sanders has joined #angularjs
[20:13:59] *** eperez has quit IRC
[20:13:59] *** zfogg_ has joined #angularjs
[20:14:06] <BahamutWC|Work> something like Doctrine DBAL saves you from that hell
[20:14:07] *** codedungeon has joined #angularjs
[20:14:18] <wafflejock> crazy how many big places have been taken down by SQL injections
[20:14:25] *** panchisco has joined #angularjs
[20:14:34] *** lsiv568 has quit IRC
[20:14:35] <BahamutWC|Work> well, when you decide to rush features into production…you get bad code
[20:14:35] *** negval has joined #angularjs
[20:14:37] *** eperez has joined #angularjs
[20:14:37] <Sijdesign> sorry i ask so much but im really new to angularjs :D
[20:14:42] *** slainer68 has joined #angularjs
[20:14:49] <BahamutWC|Work> big places aren’t immune
[20:15:01] *** lsiv568 has joined #angularjs
[20:15:18] *** MANCHUCK has quit IRC
[20:15:35] *** lite_ has joined #angularjs
[20:15:55] *** mspier_off is now known as mspier
[20:16:03] *** rand0mbits has quit IRC
[20:16:09] *** OddDuck` has quit IRC
[20:16:12] <Sijdesign> are you guys using google chrome to debug? i find it hard to show good error messages
[20:16:26] <davek> Yes and never had that problem.
[20:16:27] *** vintik has quit IRC
[20:16:32] <davek> What do you mean "good error messages"?
[20:16:41] *** mercwithamouth has quit IRC
[20:16:50] *** bertrandk has quit IRC
[20:17:21] *** kirfu has joined #angularjs
[20:17:44] <Corealis> davek: Error messages that say. "You have an error, but don't worry - we will fix it for you"
[20:18:39] <Corealis> Sorry, Sijdesign, couldn't resist :)
[20:18:39] *** siddart has joined #angularjs
[20:18:41] <Sijdesign> Corealis yea :D
[20:18:51] *** FIFOd[a] has joined #angularjs
[20:18:53] *** {DV8} has quit IRC
[20:19:11] *** eperez has quit IRC
[20:19:26] *** lsiv568 has quit IRC
[20:19:37] <davek> Sijdesign yeah that's a chrome bug, it's bizarre, not very reproducible and is being addressed.
[20:20:01] <davek> For me, reloading the page or recreating the tab usually fixes it for some reason.
[20:20:15] *** DrMabuse has quit IRC
[20:20:23] <Sijdesign> ahh thanks for that tip
[20:20:33] <Sijdesign> but its funny when its Google that made angularjs
[20:20:36] <wafflejock> Sijdesign: I usually use the pause on exceptions and just look around at what's being called in the stacktrace
[20:20:52] <wafflejock> Sijdesign: eh Google makes everything though
[20:20:56] <Foxandxss> if anyone is interested on the bookie
[20:21:27] <Sijdesign> Foxandxss is it up to date
[20:21:37] <Foxandxss> Sijdesign: came 2 weeks ago, so yes
[20:21:43] <Sijdesign> sweet!
[20:21:57] *** whitebook has joined #angularjs
[20:22:17] *** livingstn has quit IRC
[20:22:18] <Foxandxss> I am going to write a directives series for free anyway
[20:22:23] *** encrypt3d_fracti has quit IRC
[20:22:27] *** cthrax has quit IRC
[20:22:28] *** livingstn has joined #angularjs
[20:22:29] *** synestry has quit IRC
[20:22:48] <wafflejock> Foxandxss: nice review
[20:22:50] *** encrypt3d_fracti has joined #angularjs
[20:22:58] <Foxandxss> wafflejock: I have been asked to do it
[20:23:00] <Sijdesign> Foxandxss nice!
[20:23:02] *** FIFOd[a] has quit IRC
[20:23:03] <Foxandxss> by packt marketing girl
[20:23:13] <wafflejock> Foxandxss: yeah we chatted about it a bit before glad you decided to do it
[20:23:19] <Foxandxss> but that didn't mean I would give 5 stars for a free book
[20:23:22] <Foxandxss> ah, true
[20:23:31] <Sijdesign> Foxandxss let me know if i should help make a landing page with you
[20:23:51] <Foxandxss> a landing page for what? :P
[20:24:20] *** Sauvin has quit IRC
[20:24:21] <Sijdesign> let people know and get their email so you can send out at launch
[20:24:28] <Foxandxss> ah
[20:24:29] <davek> 747
[20:24:29] <Foxandxss> nah
[20:24:31] <Foxandxss> it is my blog
[20:24:36] <Sijdesign> ahh okay :)
[20:24:40] <Foxandxss> I will publish a couple of articles about directives
[20:24:40] <Sijdesign> can i get a link
[20:24:43] <davek> Foxandxss what platform are you using?
[20:24:44] <Foxandxss> time to time
[20:24:52] <Foxandxss> davek: platform of what
[20:24:58] <davek> For your blog?
[20:24:59] <Sijdesign> Ghost?
[20:25:03] <Foxandxss> ah
[20:25:04] <Sijdesign> websitebaker
[20:25:05] <Foxandxss> octopress
[20:25:17] *** mary5030 has quit IRC
[20:25:25] <Foxandxss> I should change my theme, but I am a crap designer heh
[20:25:36] <Sijdesign> unit tests oh god
[20:25:53] <Foxandxss> I Still have more unit test ideas for more posts
[20:25:53] *** icfantv has quit IRC
[20:26:02] <Foxandxss> I just had a hard working july, but plans changed
[20:26:14] <Foxandxss> seems like I am going to stay unemployed a little bit more
[20:26:46] <Foxandxss> so I have some time for blogging again
[20:26:57] <Sijdesign> oh thats not good :/
[20:27:02] *** encrypt3d_fracti has quit IRC
[20:27:24] *** patouche has joined #angularjs
[20:27:30] *** cthrax has joined #angularjs
[20:28:01] *** mtsr has joined #angularjs
[20:28:02] *** elux has joined #angularjs
[20:28:04] *** kamanato has joined #angularjs
[20:28:05] *** euskadi313 has quit IRC
[20:28:09] *** phuh has quit IRC
[20:28:23] *** spencercarnage has quit IRC
[20:28:24] *** mary5030 has joined #angularjs
[20:28:25] <BahamutWC|Work> Foxandxss: you should apply to some US companies :P
[20:28:35] <Foxandxss> can't go to US
[20:28:35] *** phuh has joined #angularjs
[20:28:47] <Foxandxss> I can't get the green card
[20:28:49] <wafflejock> Foxandxss: you can probably work remotely
[20:28:53] <BahamutWC|Work> could get a work visa
[20:28:54] *** kirfu has quit IRC
[20:29:00] <Foxandxss> no
[20:29:03] *** mspier is now known as mspier_off
[20:29:08] <Foxandxss> I need a university career for that
[20:29:08] *** endash has quit IRC
[20:29:29] <nickeddy> Foxandxss: ^
[20:29:30] <BahamutWC|Work> not necessarily
[20:29:35] <nickeddy> Foxandxss: come work for my university haha
[20:30:25] <Foxandxss> BahamutWC|Work: to go US, I am afraid that it is needed
[20:30:32] *** Click66 has joined #angularjs
[20:30:37] <Foxandxss> I wasn't lucky to born there at the first place
[20:30:42] <wafflejock> Foxandxss: I dunno about that really I have a BS in CS which helps but there are lots of people looking for good JS developers, they say they want a degree on the job descriptions but if you have proven history that goes a long way
[20:31:04] <Foxandxss> yeah, but still
[20:31:06] <BahamutWC|Work> a lot don’t really care about degrees
[20:31:10] <wafflejock> Foxandxss: I get hit up all the time from recruiters looking for lead JS devs
[20:31:15] <BahamutWC|Work> just being good in the field is enough
[20:31:21] <Foxandxss> it is not about having a dregrees
[20:31:28] <BahamutWC|Work> same wafflejock
[20:31:32] <Foxandxss> it is the ability to enter the country
[20:31:35] *** fedenunez1 has quit IRC
[20:31:39] *** zwacky has joined #angularjs
[20:31:41] <BahamutWC|Work> turned down lead positions are well known companies
[20:31:43] *** fedenunez has joined #angularjs
[20:31:44] <BahamutWC|Work> at*
[20:32:00] *** lsiv568 has joined #angularjs
[20:32:00] *** dve has joined #angularjs
[20:32:07] *** hell_razer has joined #angularjs
[20:32:08] <wafflejock> Foxandxss: yeah just sayin', you could do it remotely too if citizenship is a problem
[20:32:23] <Foxandxss> wafflejock: yeah, that could be an option
[20:32:37] <Foxandxss> I recently got a good offer to do remote (rails) but seems that that needs to wait a little bit more
[20:32:42] *** MistahKurtz has quit IRC
[20:33:05] *** MistahKurtz has joined #angularjs
[20:33:14] <BahamutWC|Work> you could probably find a remote Angular position out there too
[20:33:30] <BahamutWC|Work> Angular devs in particular seem to be very high demand atm
[20:33:34] *** bphogan_afk is now known as bphogan
[20:33:42] <BahamutWC|Work> especially if you have good experience/knowledge
[20:33:48] <BahamutWC|Work> which you fit the bill
[20:33:50] *** FifthWall has quit IRC
[20:33:52] *** spencercarnage has joined #angularjs
[20:33:52] *** pluma has quit IRC
[20:33:52] *** Click66 has quit IRC
[20:33:53] *** soujiro has joined #angularjs
[20:34:12] *** ajaxan has quit IRC
[20:34:18] *** Click66 has joined #angularjs
[20:34:36] <zomg> we have a good position for a skilled JS guy (remote, angular, node)
[20:34:39] *** dcadenas has quit IRC
[20:34:41] <zomg> yeah, constant need, hard to find =)
[20:34:59] <Foxandxss> yes, I have to think about that, I like this company way to work, but I can't wait that much
[20:35:05] *** philp has quit IRC
[20:35:08] <Foxandxss> zomg: I was going to say that, you are always looking :P
[20:35:23] *** Sean-Der has quit IRC
[20:35:24] <zomg> hehe
[20:35:26] *** Guest34197 has quit IRC
[20:35:26] *** MalfaitRobin has quit IRC
[20:35:26] *** devilx has quit IRC
[20:35:27] <Sijdesign> snapwich Thanks so much! it works !
[20:35:32] <zomg> tbh the CEO is handling doing the job ad stuff
[20:35:32] *** amacgregor has quit IRC
[20:35:34] *** raycats has quit IRC
[20:35:36] *** jordandotdev has quit IRC
[20:35:38] <zomg> and he's only using Indeed.com, 'cause CEO
[20:35:46] *** InezK is now known as InezK_away
[20:35:51] *** xaxisx has quit IRC
[20:35:52] <zomg> and we get nothing but shit from indeed.com... we got some guy the other day who claimed he built uniqlo.com
[20:35:52] <BahamutWC|Work> zomg: I’d be down doing remote work part time
[20:35:55] *** adarshaj has quit IRC
[20:35:57] *** jbinto has quit IRC
[20:35:58] <Foxandxss> Sijdesign: the uncaught object is a chrome bug
[20:35:59] *** clamstar has quit IRC
[20:35:59] * mrogne browses indeed.com
[20:36:00] *** overra has quit IRC
[20:36:02] *** alextucker has quit IRC
[20:36:02] *** d10n_ has quit IRC
[20:36:08] *** jgravois_ has quit IRC
[20:36:12] *** derrzzaa has quit IRC
[20:36:19] <Sijdesign> do you guys know when google will fix it ?
[20:36:20] <zomg> BahamutWC|Work: oh interesting, how much would you be able to work per week?
[20:36:33] *** Fistful_of_coins has quit IRC
[20:36:40] *** Fistful_of_coins has joined #angularjs
[20:36:40] <Foxandxss> BahamutWC|Work: greedy :P
[20:36:45] <BahamutWC|Work> 15-20 hours a week I think
[20:36:51] *** jgravois_ has joined #angularjs
[20:36:56] <BahamutWC|Work> Foxandxss: I got almost $200k of debt to pay :(
[20:36:57] <zomg> I think we would need a bit more than that
[20:36:58] *** uris77 has quit IRC
[20:37:00] *** arek_at_work has quit IRC
[20:37:08] *** dve has quit IRC
[20:37:09] <Foxandxss> university?
[20:37:11] *** philp has joined #angularjs
[20:37:16] *** uris77 has joined #angularjs
[20:37:25] <BahamutWC|Work> yep, and credit cards (got screwed by parents)
[20:37:26] <oniijin> zomg i'd be interested as well
[20:37:40] *** Zamerick has joined #angularjs
[20:37:45] *** scorphus has quit IRC
[20:37:46] *** zouave has quit IRC
[20:37:49] <Foxandxss> university is really really expensive in US
[20:38:05] <BahamutWC|Work> grad school is what eats up most of my student debt
[20:38:05] <Foxandxss> here a full year is less than $2000
[20:38:13] <zomg> oniijin: Send any references, cv, code samples etc. to jani at responsiveads dot com :) I can answer any questions you may have, might be better to do that in pm tho
[20:38:16] <BahamutWC|Work> undergrad I got by only $20k in debt, which is pretty damn good
[20:38:52] *** xaxisx has joined #angularjs
[20:38:55] <zomg> I went 30k into debt for buying a 2004 car
[20:38:57] *** xaxisx has quit IRC
[20:38:59] <zomg> Finland is awesome.
[20:39:00] *** bertrandk has joined #angularjs
[20:39:00] <zomg> :p
[20:39:04] <BahamutWC|Work> ouch
[20:39:05] <mrogne> lol
[20:39:09] <Foxandxss> yay, here earning 30-40k top, 200k is a looot
[20:39:14] <BahamutWC|Work> $30k is almost an Infiniti here
[20:39:15] *** cspra85 has joined #angularjs
[20:39:20] *** intellix has joined #angularjs
[20:39:30] *** snapwich has quit IRC
[20:39:31] <zomg> yeah our car prices are basically double than US prices
[20:39:31] *** intellix has quit IRC
[20:39:32] <BahamutWC|Work> Foxandxss: tbh, $200k is a lot for the US too
[20:39:37] <wafflejock> BahamutWC|Work: yeah my brother just went through law school so he's in the same boat (slightly worse)... taking the Bar exam today I think
[20:39:42] <zomg> but gotta have something to spend my money on I guess
[20:39:45] <zomg> since I don't have a lot of other expenses
[20:39:45] <zomg> :D
[20:39:53] <Foxandxss> BahamutWC|Work: no doubt, but you earn it well :)
[20:40:14] <BahamutWC|Work> I could probably do better
[20:40:26] <BahamutWC|Work> I hate having to worry about $
[20:40:30] <marc_v92> BahamutWC|Work: Man, $200K is insane, lol.
[20:40:42] <wafflejock> BahamutWC|Work: what'd you get your graduate degree in?
[20:40:49] <BahamutWC|Work> wafflejock: math
[20:40:50] *** clamstar has joined #angularjs
[20:40:52] *** devilx has joined #angularjs
[20:40:54] *** ajaxan has joined #angularjs
[20:40:55] *** zouave has joined #angularjs
[20:40:59] <BahamutWC|Work> at a top 15 program
[20:41:13] *** amacgregor has joined #angularjs
[20:41:18] *** BMCouto has quit IRC
[20:41:23] *** morenoh151 has joined #angularjs
[20:41:25] *** alextucker has joined #angularjs
[20:41:28] <wafflejock> cool I'm working with a guy with his masters in Math too, I think I'd want to do Physics if I went back but dunno maybe just more CS
[20:41:38] *** danyim has joined #angularjs
[20:41:40] *** opensourcegeek has quit IRC
[20:41:42] <BahamutWC|Work> I wish I had a CS education sometimes
[20:41:45] *** derrzzaa has joined #angularjs
[20:41:50] *** elrabin_ has quit IRC
[20:41:55] <BahamutWC|Work> but…math is more broad/useful on a larger scale I feel
[20:41:57] *** davemerwin has quit IRC
[20:42:02] <Foxandxss> you are the channel top 5
[20:42:04] <Foxandxss> or even top 3
[20:42:06] *** Sean-Der has joined #angularjs
[20:42:10] *** dcadenas has joined #angularjs
[20:42:10] <Foxandxss> with less than two years of experience
[20:42:13] <Foxandxss> don't be greedy :P
[20:42:19] *** FifthWall has joined #angularjs
[20:42:26] *** elrabin has joined #angularjs
[20:42:34] *** davemerwin has joined #angularjs
[20:43:18] <BahamutWC|Work> Foxandxss: I know, been trying to fix that lately…had an issue lately that made me realize that $ won’t bring me happiness
[20:43:20] *** d10n has joined #angularjs
[20:43:26] <wafflejock> BahamutWC|Work: yeah agree on the general application of math but I've just always loved programming and AI and robotics are both interesting areas to me
[20:43:42] <mrogne> robotics = cool
[20:43:42] <Foxandxss> BahamutWC|Work: I see, but we love you too, don't worry :P
[20:43:43] *** darwin_bio has joined #angularjs
[20:43:45] *** Gho5t has joined #angularjs
[20:43:55] *** Cydmax has joined #angularjs
[20:43:58] *** whitebook has quit IRC
[20:43:58] *** lsiv568 has quit IRC
[20:44:12] *** dejanr has joined #angularjs
[20:44:15] *** intellix has joined #angularjs
[20:44:31] *** MalfaitRobin has joined #angularjs
[20:44:33] *** scorphus has joined #angularjs
[20:44:34] *** lsiv568 has joined #angularjs
[20:44:55] *** codedungeon has quit IRC
[20:44:57] *** DrMabuse has joined #angularjs
[20:45:00] *** juampy has quit IRC
[20:45:11] *** scorphus has quit IRC
[20:45:11] *** scorphus has joined #angularjs
[20:45:23] <Gho5t> so if I have some inputs that are using ng-model, is accessing them through the formController the right way to access the ngmodels for them?
[20:45:50] *** intellix has joined #angularjs
[20:46:07] *** danyim has quit IRC
[20:46:15] *** accelerate has joined #angularjs
[20:46:20] *** slainer68 has quit IRC
[20:46:22] <wafflejock> Gho5t: typically you just have a POJO you assign to some property of the scope and bind the ng-model values to that object
[20:46:24] *** adarshaj has joined #angularjs
[20:46:48] <BahamutWC|Work> Gho5t: can you explain your problem more?
[20:46:52] *** davemerwin has quit IRC
[20:46:54] <BahamutWC|Work> or question
[20:46:55] <edrocks> what is POJO?
[20:46:56] <wafflejock> Gho5t: $scope.myModel = {firstname:'',lastname:''}; then you can access them like $scope.myModel.firstname
[20:46:56] *** Guest29114 has joined #angularjs
[20:47:00] <wafflejock> plain old javascript object
[20:47:06] <edrocks> o
[20:47:06] *** jbinto has joined #angularjs
[20:47:07] <wafflejock> or java object depending on which language you're talking about
[20:47:08] *** recidive has joined #angularjs
[20:47:17] <edrocks> i was thinking piece of junk object for somereason
[20:47:22] <BahamutWC|Work> haha
[20:47:23] *** elrabin has quit IRC
[20:47:23] *** yogurt_truck has joined #angularjs
[20:47:30] <wafflejock> haha that works too I guess
[20:47:40] <Gho5t> right so using wafflejock's example, my property would be accessed via $scope.myModel.firstName
[20:47:48] *** starptech has joined #angularjs
[20:47:50] <edrocks> yea
[20:47:52] <Gho5t> but if I wanted to call $render() on the ng-model for that property
[20:48:00] <Gho5t> it doesn't exist
[20:48:09] <Gho5t> but if I go through the formcontroller it does
[20:48:18] <Gho5t> e.g. $scope.myFormName.myModel.firstName
[20:48:32] *** lsiv568 has quit IRC
[20:48:53] <wafflejock> Gho5t: yeah so if you access the data object directly you aren't getting the input or any of the extra form related bits just the original string or whatever you have stored in there so it won't have the $render property
[20:48:54] *** dejanr has quit IRC
[20:48:59] *** francisl has quit IRC
[20:49:07] *** nanoyak has quit IRC
[20:49:11] <Gho5t> right makes sense
[20:49:17] <wafflejock> Gho5t: if you need that then you'll need to access the form elements through the form name like you said and using the control names I think
[20:49:19] *** starptech has quit IRC
[20:49:22] *** whunt has quit IRC
[20:49:40] <Gho5t> ok
[20:49:41] *** overra has joined #angularjs
[20:49:42] *** whitebook has joined #angularjs
[20:49:47] <Gho5t> yeah I have it working just double-checking
[20:49:56] <edrocks> has anyone ever had problems with breaking an apis tos?
[20:49:57] <BahamutWC|Work> Gho5t: I like creating my own directives for interacting with ng-model by requiring ngModelController
[20:49:58] <wafflejock> cool
[20:50:13] <wafflejock> edrocks: you mean where they noticed :P
[20:50:29] <edrocks> what happens when they do notice they just block you?
[20:50:38] <Gho5t> BahamutWC|Work: yeah I hear ya. this is a simple task I need to do for many inputs on one form. actually I would like to explain my task because one more thing is foggy
[20:50:49] <wafflejock> edrocks: yeah typically some kind of cease and decist type thing and you get cut off, depends on the provider though
[20:50:55] *** francisl has joined #angularjs
[20:50:58] <edrocks> ok
[20:51:18] <wafflejock> edrocks: also depends on what part of the TOS you violate but if it's usage stuff they generally just cut you off and let you nkow
[20:51:19] <wafflejock> know*
[20:51:24] *** whunt has joined #angularjs
[20:51:52] <Gho5t> when a user changes one form field I need to set the value of 3 other inputs in the controller. the values were being set fine when I was updating the model alone but the dirty state wasn't showing. it seems I have to access each's ng-model and then call $setViewValue() and then $render()
[20:52:08] <Gho5t> I'm a little confused why I can't just set the $modelValue
[20:52:10] *** richiebkr has quit IRC
[20:52:25] <Gho5t> I guess I should probably step through it
[20:52:42] *** InezK_away is now known as InezK
[20:53:13] <caitp> ughhh my network is such baaaad
[20:53:18] *** richiebkr has joined #angularjs
[20:53:27] <wafflejock> I can tell it's repeating characters
[20:53:31] *** elrabin has joined #angularjs
[20:53:40] *** zonetti has quit IRC
[20:53:44] *** richiebkr has quit IRC
[20:53:51] *** snapwich has joined #angularjs
[20:53:55] <optikalmouse> it's so crazy working on salvaging an angularjs project and seeing that every single minute that I'm fixing bugs has a cost and it really puts bug/defect prevention into perspective. writing units and reasoning 5 months earlier prevents your project from going to crap.
[20:54:35] *** mspier_off is now known as mspier
[20:54:37] <cacts|works> Gho5t, you can call $setDirty() on each input
[20:54:38] *** Guest29114 has quit IRC
[20:54:51] <Gho5t> afaik there is no $setDirty()
[20:54:56] <edrocks> at what point in a project should you write test?
[20:55:00] <darwin_bio> Anyone have experience with Angular-Google-Maps?
[20:55:09] <edrocks> darwin_bio: i do
[20:55:15] <snapwich> edrocks: ever heard of test driven development?
[20:55:17] <Gho5t> cacts|works: there's only $setPristine()
[20:55:22] <Gho5t> on ng-model
[20:55:22] <edrocks> snapwich: yes
[20:55:22] *** mennea has joined #angularjs
[20:55:30] *** accelerate has quit IRC
[20:55:30] *** joshfinnie has quit IRC
[20:55:35] <snapwich> well, it would dictate that you write tests first
[20:55:46] <edrocks> snapwich: i dont think i could ever do it though
[20:56:15] *** overra has quit IRC
[20:56:17] <wafflejock> snapwich: edrocks yeah I think pure TDD is a little bit crazy maybe but earlier the better probably and the greate the coverage the better
[20:56:20] *** jbinto has quit IRC
[20:56:29] *** phrozensilver has joined #angularjs
[20:56:30] <wafflejock> have seen the same horrors optikalmouse
[20:56:30] <edrocks> o darwin i forgot to tell you I tried it afew times but I just switched back to plain google maps api
[20:56:35] <cacts|works> oh you're right
[20:56:36] *** xaxisx has joined #angularjs
[20:56:41] *** xaxisx has quit IRC
[20:56:41] *** pluma has joined #angularjs
[20:56:50] *** whiteboo_ has joined #angularjs
[20:57:17] *** joshfinnie has joined #angularjs
[20:57:21] *** scrooge_mcduck has joined #angularjs
[20:57:36] *** xaxisx has joined #angularjs
[20:57:40] <darwin_bio> edrocks: really? So no support for drawing controls in the current directive?
[20:57:44] <edrocks> darwin_bio: I dont really like it. it seems to keep refering you back to googles docs which is hard to juggle between the two so I found it easier just to do it in js with googles api
[20:57:51] *** accelerate has joined #angularjs
[20:57:56] *** jbinto has joined #angularjs
[20:57:57] *** MANCHUCK__ has joined #angularjs
[20:58:03] *** lordkryss has quit IRC
[20:58:28] *** zonetti has joined #angularjs
[20:58:32] <edrocks> I would suggest if your not too far in to just use googles api directly its pretty easy to use and if you want you could hook it up to a service
[20:58:46] *** hannesvdvreken has quit IRC
[20:59:09] *** Nizumzen has joined #angularjs
[20:59:14] <optikalmouse> wafflejock: I like angular, but at the same time, the whole hype of JS frameworks and all those quick start tutorials are doing more harm than good. same deal with mongo, "omg i got it runnin in 1min!!!111one!" not the same as delivering a production system.
[20:59:39] <wafflejock> edrocks: darwin_bio yeah I used an early version of that angular-google-maps project but it was primitive and easy to fix up
[20:59:43] *** elux has quit IRC
[20:59:51] <wafflejock> might be best off doing it "from scratch" depending on your needs
[21:00:16] *** Aliks_ has quit IRC
[21:00:16] *** dcherman has joined #angularjs
[21:00:27] *** plitzenberger has joined #angularjs
[21:00:33] <edrocks> like i just spent all of last night with angular-google-maps trying to get some simple markers with text working but i switched to just using googles api directly and had most of it finished in 30min
[21:00:35] *** whitebook has quit IRC
[21:00:38] *** Aliks_ has joined #angularjs
[21:00:40] <wafflejock> optikalmouse: yeah lots of hype for sure, I still love the framework but lots of devs seem to claim they know how to use angularJS but then do DOM manipulation in controllers and whatnot
[21:00:45] *** MANCHUCK_ has quit IRC
[21:01:27] *** jory` has joined #angularjs
[21:01:32] *** whunt has quit IRC
[21:01:36] *** bertrandk has quit IRC
[21:01:47] *** dcherman2 has quit IRC
[21:01:52] *** no_mind has joined #angularjs
[21:02:10] <wafflejock> I suppose more work is good but in terms of project success it worries me
[21:02:15] *** lite_ has quit IRC
[21:02:21] *** overra has joined #angularjs
[21:02:28] <darwin_bio> edrocks: OK, there was a different consensus here yesterday, as a acouple of members said to use angualr-google-maps unless I had a really good reason not to. I want to implement some quite complex drawing functionality though. Don't want to get hooped further down the line...
[21:02:51] *** JoshGlzBrk has quit IRC
[21:03:04] *** InezK is now known as InezK_away
[21:03:07] *** InezK_away is now known as InezK
[21:03:08] *** JoshGlzBrk has joined #angularjs
[21:03:10] *** bertrand_ has joined #angularjs
[21:03:42] <edrocks> darwin_bio: I didn't like that it forced underscore on me. I also had several problems getting it to work with webpack, and the documentation seemed as if just shipping you off to googles website with very little context was ok
[21:03:43] *** Silne30 has quit IRC
[21:03:43] <wafflejock> darwin_bio: I see it this way... if you are going to use a lot of the functionality provided by the existing directive then learn how it all works and just add what you need, if not you're probably better off just implementing the parts you need, it just depends on how much your needs overlap with the existing functionality
[21:04:10] *** josh-k has quit IRC
[21:04:11] <optikalmouse> wafflejock: I'm starting to make time on projects so that I can write "clean" and "proper" angular, like better tests and factories/services and all that just so I'm not getting used to shitty style
[21:04:17] *** Silne30 has joined #angularjs
[21:04:28] <bealtine> i used prepackaged directives when i started then dropped them
[21:04:34] <optikalmouse> feels like there's no significantly large angulae codebase to learn good style from
[21:04:37] *** josh-k has joined #angularjs
[21:04:39] <intellix> so anyone a master of NgModel XOR Validation? My c
[21:04:45] *** ColKurtz has joined #angularjs
[21:04:58] *** djam90 has joined #angularjs
[21:04:59] <snapwich> optikalmouse: ng-bp is the best i've found, but it's old now
[21:05:12] *** lsiv568 has joined #angularjs
[21:05:16] *** DrMabuse_ has joined #angularjs
[21:05:21] <intellix> edrocks have you seen AngularGM?
[21:05:28] *** cladic has quit IRC
[21:05:28] *** UniBot has quit IRC
[21:05:36] <edrocks> intellix: no ill look though
[21:05:39] *** axelav has joined #angularjs
[21:05:44]
<wafflejock> optikalmouse: I think everyone is still sort of figuring it out as they go in terms of overall architecture there are some good ideas out there though... I like this though I haven't implemented it myself yet: https://gist.github.com/jelbourn/6276338
[21:05:44] <intellix> I switched from angular-google-maps to AngularGM. Have to say it's much better. Still using it
[21:05:44] *** UniBot has joined #angularjs
[21:05:47] <cigarshark> is it now best practice to resolve all of your async queries within the router resolve method?
[21:05:52] *** UniBot has quit IRC
[21:05:54] *** cthrax has quit IRC
[21:06:17] <wafflejock> cigarshark: no if they are long running async operations they route change is delayed until the resolve occurs
[21:06:18] <cigarshark> how many people are doing this for the majority of their async requests?
[21:06:21] *** icfantv has joined #angularjs
[21:06:24] <reduce> trying netbeans as an ide for my angular stuff
[21:06:24] <wafflejock> cigarshark: in that case it's not a good thing
[21:06:24] <bealtine> best practice?...only if you need to resolve them
[21:06:35] * reduce boots it up for the first time
[21:06:43] <cigarshark> well, you could show a loading animation wafflejock
[21:06:58] *** stevvooe has joined #angularjs
[21:07:05] <wafflejock> cigarshark: you can but if the navigation depends on state change then it doesn't occur until after the resolve
[21:07:10] *** JohnBat26 has quit IRC
[21:07:12] <snurfery> ^^yup
[21:07:14] <wafflejock> cigarshark: it depends on how you do things
[21:07:49] <wafflejock> cigarshark: you can make it work but just saying it's not always the solution sometimes just having the controller trigger or just use a factory/service is fine
[21:08:01] <edrocks> intellix: the memory leak issue it fixes looks intresting. I'll have to see if I have the same problem in my app because it opens and closes alot of maps
[21:08:21] <cigarshark> i think having the controller do it is simpler and I like that. just wanted to see what the current trend is for this.
[21:08:50] *** Silne30 has quit IRC
[21:08:57] <ManBearPixel> Is there a way to have ng-repeat only repeat the children, not the included parent?
[21:09:03] <Sijdesign> are you guys using bootstrap ?
[21:09:16] *** josh-k has quit IRC
[21:09:20] <Foxandxss> meh, depend on the project
[21:09:21] <djam90> ManBearPixel, why not just wrap a parent around the ng-repeat?
[21:09:22] <darwin_bio> intellix: so maybe Angular-GM is a better implementation than angular-google-maps?
[21:09:30] <Foxandxss> some projects are bootstrap, other hand made, others foundation
[21:09:32] <edrocks> Siecje: I use it for my websites and im using ionic for my apps
[21:09:45] *** DrMabuse_ has quit IRC
[21:09:46] <djam90> Does anyone have any examples of sites built in AngularJS?
[21:09:54] <wafflejock> ManBearPixel: what went wrong with ng-repeat-start and ng-repeat-end, didn't notice the PM till just now better to keep it in the chat for more eyes anyhow
[21:09:55] <intellix> I think so. I tried both. I don't remember why I moved to AngularGM from AGM :P
[21:10:10] <snurfery> ManBearPixel: there's something called ng-repeat-start ahh dammit wafflejock beat me to it
[21:10:17] <ManBearPixel> I tried that
[21:10:22] *** toastynerd has quit IRC
[21:10:23] <intellix> actually they "stole" some code from AGM
[21:10:36] *** mindlace has joined #angularjs
[21:10:36] <ManBearPixel> ng-repeat-start still includes itself
[21:10:49] <edrocks> intellix: we would be where we are now if no one "stole" code
[21:10:50] <Sijdesign> guys on bootstrap, if i have col-lg-6 and col-lg-6 but i want the last one to float to the right, how can i do that
[21:10:51] <snurfery> ManBearPixel: so only repeat over the contents
[21:11:03] <Foxandxss> I am doing some brainstorming for a "Deep dive into directives" if you have any ideas, ping me
[21:11:20] <Foxandxss> Sijdesign: ah, design, sorry, I know the javascript part only
[21:11:22] <edrocks> I would hate to imagine not having some of my projects for reference with angular
[21:11:26] <wafflejock> Sijdesign: you can float stuff in the columns but they just make up the grid so the whole container should be used by the grid
[21:11:37] <djam90> Sijdesign, add pull-right?
[21:11:40] <intellix> Sijdesign I know that bootstrap 3.2.0 added some extra responsive classes like.... block-lg or something
[21:11:45] *** Aliks_ has quit IRC
[21:11:48] <oniijin> what are you talking about, if u have two lg-6 that's 50/50
[21:11:50] *** subnl has joined #angularjs
[21:11:57] <ManBearPixel> snurfery: I also have ng-switch there
[21:11:59] <intellix> so I guess you could steal that and twerk it
[21:12:00] <oniijin> there's no space to float divs
[21:12:03] *** citizen-stig has quit IRC
[21:12:07] <Sijdesign> oniijin yes but its the content
[21:12:09] <edrocks> add float:right to the content of the second col
[21:12:13] <Sijdesign> like a nav bar
[21:12:15] *** Aliks_ has joined #angularjs
[21:12:20] <oniijin> just add .text-right
[21:12:21] <Foxandxss> I am waiting for material directives
[21:12:21] <wafflejock> ManBearPixel: right but the ng-repeat start can be on the first element not the div that wraps it
[21:12:21] *** sincarne has joined #angularjs
[21:12:23] <oniijin> to the second div
[21:12:37] <wafflejock> Foxandxss: I think they're already out robdubya_ was looking the other day I think
[21:12:41] <Foxandxss> well, noone has ideas for a deep dive into directives series? well, don't regret it later :P
[21:12:43] *** dejanr has joined #angularjs
[21:12:50] <Foxandxss> wafflejock: no
[21:12:53] *** Aliks_ has joined #angularjs
[21:13:03] <Foxandxss> 0.0.1 has to come yet, soon, but not here yet
[21:13:43] *** dve has joined #angularjs
[21:13:44] *** rodyhaddad has quit IRC
[21:13:44] *** InezK is now known as InezK_away
[21:13:55] <edrocks> intellix: also im using webpack and getting alot of the libraries to work with it that have dependencies is a pain
[21:14:07] *** plitzenberger has quit IRC
[21:14:16] *** Aliks__ has joined #angularjs
[21:14:32] *** Aliks_ has quit IRC
[21:14:48] <Sijdesign> hm oniijin didnt work
[21:14:55] *** Aliks_ has joined #angularjs
[21:15:05] *** mehlah has quit IRC
[21:15:15] <Sijdesign> :/
[21:15:47] <djam90> Angular is awesome if you are building Angular only stuff. Importing 3rd party stuff just makes it 1000x more difficul
[21:15:48] <wafflejock> Sijdesign: did you say the magic words while you rubbed the lamp
[21:15:50] *** vintik has joined #angularjs
[21:16:00] *** eperez has joined #angularjs
[21:16:12] <wafflejock> Foxandxss: I must be thinking of Polymer integration or something else, thought it was material related but maybe not
[21:16:19] <Sijdesign> wafflejock i tried
[21:16:32] *** Click66 has quit IRC
[21:16:45] <oniijin> wafflejock i think the magic words are, knowbasiccss
[21:16:53] *** kotyy has quit IRC
[21:16:55] <snurfery> Sijdesign: not sure what you're describing. you want 2 col-lg-6's but the second one needs to float?
[21:16:57] <Sijdesign> damn
[21:16:58] *** Click66 has joined #angularjs
[21:17:09] <Foxandxss> oniijin: I know basic css but I still suck at it
[21:17:18] <Sijdesign> yes like you can a logo and the nav bar to the right of the screen
[21:17:23] *** dejanr has quit IRC
[21:17:26] <Sijdesign> snurfery
[21:17:31] *** foofoobar has joined #angularjs
[21:17:35] <Sijdesign> can = have
[21:17:38] *** Silne30 has joined #angularjs
[21:17:43] <snurfery> so you just need stuff aligned to the right
[21:17:46] <oniijin> Foxandxss i think the situation is different
[21:17:49] *** davemerwin has joined #angularjs
[21:17:53] <Sijdesign> snurfery yes :D
[21:17:55] <Foxandxss> probably :P
[21:18:02] *** CainVampyr has quit IRC
[21:18:03] *** axelav has quit IRC
[21:18:06] <wafflejock> yeah really just want to float the element in the column on the right not float the column itself it sounds like
[21:18:16] <snurfery> yeah don't float the column
[21:18:18] <oniijin> wrap your shit and .pull-right
[21:18:28] <edrocks> just put a div inside the col and float that
[21:18:35] *** amacgregor is now known as amacgregor|afk
[21:18:37] <wafflejock> these sound like sweet dance moves
[21:18:57] <snurfery> <div class="col-lg-6"><div style="display:inline-block;" class="pull-right">My shit</div></div>
[21:19:01] *** whunt has joined #angularjs
[21:19:04] <snurfery> something like that?
[21:19:16] <snurfery> (forgive my pasting of the codez)
[21:19:19] *** Aliks_ has quit IRC
[21:19:39] <oniijin> that would float the div
[21:19:41] <oniijin> not the content
[21:19:45] <edrocks> snurfery: open up chrome or firefox dev tools and mess with the css it will work eventually
[21:19:48] <oniijin> u need to wrap your content in something, then float that
[21:20:04] <snurfery> edrocks: I'm offering help ;)
[21:20:07] *** spencercarnage has quit IRC
[21:20:12] *** SFeser has quit IRC
[21:20:20] *** slainer68 has joined #angularjs
[21:20:22] *** benjamingr has quit IRC
[21:20:29] <oniijin> ezpz
[21:20:39] *** jae has joined #angularjs
[21:20:46] *** mcreager has quit IRC
[21:20:51] <edrocks> o ops then but to whoever was asking the dev tools are best if you dont know css yet
[21:20:53] *** MANCHUCK_ has joined #angularjs
[21:21:05] *** drej has joined #angularjs
[21:21:21] *** patrickarlt has joined #angularjs
[21:21:23] *** jae is now known as Jae
[21:21:25] <wafflejock> yeah even knowing it the dev tools are great to live tweak and then adjust the css/less/sass/whateves
[21:21:32] <Sijdesign> oniijin damn your good!
[21:21:42] <oniijin> no u just need to up ur game
[21:21:43] <TorchDragon> I'm trying to cook up a button directive that will allow me to decorate it with a function to be executed when its clicked, and then set the button's state to disabled.
[21:21:45] <Sijdesign> Thanks so much!
[21:21:51] *** Click66 has quit IRC
[21:22:17] <TorchDragon> Is it good/bad practice/possible to access a Controller's scope through a directive that is embedded in said controller's template?
[21:22:25] *** UniBot has joined #angularjs
[21:22:26] *** prbc has quit IRC
[21:22:32] *** phrozensilver has left #angularjs
[21:22:34] <wafflejock> TorchDragon: better to pass in the data to the directives scope instead of reach up
[21:22:50] <wafflejock> TorchDragon: keep things decoupled
[21:22:55] *** cladic has joined #angularjs
[21:23:19] *** UniBot has quit IRC
[21:23:21] <TorchDragon> wafflejock: Fair enough... the issue is that the function is defined inside the Controller and I'm not sure how to "pass it forw....
[21:23:23] *** MANCHUCK__ has quit IRC
[21:23:23] *** zfogg_ has quit IRC
[21:23:29] <wafflejock> TorchDragon: not an absolute truth just like most things in programming but usually isolating scope seems like the way to go
[21:23:51] <edrocks> just do ng-click for your function then make the directive listen for clicks and set it to disabled on click
[21:24:04] *** guilbep has joined #angularjs
[21:24:05] *** elrabin has quit IRC
[21:24:13] <reduce> is there an ide that will show me members of a service when inside a directive?
[21:24:13] *** ndvivedi has left #angularjs
[21:24:15] <wafflejock> TorchDragon: check out the details in the directive defintion object section about specifiying a scope
[21:24:24] <reduce> in intellisense or similar
[21:24:36] *** krawek has joined #angularjs
[21:24:37] *** krawek has joined #angularjs
[21:24:39] <Foxandxss> javascript intellisense is hard to achieve correctly
[21:24:40] <reduce> or show me all references to a service member
[21:24:43] *** calumet_ has joined #angularjs
[21:24:48] <Foxandxss> webstorm is the better one probably
[21:25:02] *** patric100e99 has joined #angularjs
[21:25:05] <reduce> yea, my evaluation version ran out, might buy it
[21:25:08] *** patric100e99 has quit IRC
[21:25:14] *** zumba_addict has joined #angularjs
[21:25:22] <Foxandxss> worth every penny
[21:25:22] <zumba_addict> hi folks, anyone uses httpInterceptors?
[21:25:27] *** patric100e99 has joined #angularjs
[21:25:38] <zumba_addict> i'm having a nightmare setting content-type on request for GET method
[21:25:44] *** calumet has quit IRC
[21:25:44] *** calumet_ is now known as calumet
[21:25:44] <zumba_addict> it's not taking it
[21:25:48] *** patric100e99 has quit IRC
[21:25:53] <TorchDragon> wafflejock: So, if I set scope to false, it'll pass in the controller's scope?
[21:26:01] <reduce> fuck it im buyin git
[21:26:08] <wafflejock> reduce: buying git?
[21:26:09] <wafflejock> it's free
[21:26:13] <reduce> heh
[21:26:15] <edrocks> it
[21:26:17] <wafflejock> ah
[21:26:18] <wafflejock> hehe
[21:26:27] <edrocks> i was thinking the same
[21:26:33] *** seydoggy has quit IRC
[21:26:52] <reduce> netbeans looks like.... java
[21:27:00] *** CodeFriar has joined #angularjs
[21:27:08] *** seydoggy has joined #angularjs
[21:27:12] <reduce> i dont want to look at java while doing my side projects at night
[21:27:13] <Foxandxss> webstorm is based on intellij which is a java ide
[21:27:14] <Foxandxss> :P
[21:27:19] <wafflejock> TorchDragon: yeah if it's not specified (or I think false) it will just use the existing scope not create a new isolate scope
[21:27:24] <reduce> but it hides it well Foxandxss!
[21:27:31] <Foxandxss> indeed it does
[21:27:39] <TorchDragon> I'm using PHPStorm to do my Angular work right now because its tying into a PHP api backend. Works mostly well.
[21:27:49] <reduce> it buries that shame deep
[21:27:53] <Foxandxss> I use webstorm for front, rubymine for back
[21:28:00] *** frickettz has joined #angularjs
[21:28:05] <Foxandxss> and android studio for android :P
[21:28:09] *** phuh has quit IRC
[21:28:13] *** SFeser has joined #angularjs
[21:28:18] <edrocks> i have sublime for everything
[21:28:21] <wafflejock> reduce: eh whateves Java is everywhere and runs tons of stuff in various forms
[21:28:27] *** guilbep has quit IRC
[21:28:36] *** phuh has joined #angularjs
[21:28:39] *** Anton_ has quit IRC
[21:28:39] <reduce> wafflejock: yea, im just kidding around really
[21:28:39] <TorchDragon> wafflejock: Ok, the documentation is slightly ambiguous on that. It has true (which is different from {}) and {}. But doesn't nicely explain in line the meaning of default or false.
[21:28:45] <TorchDragon> wafflejock: Thanks.
[21:28:46] *** uf6668 has quit IRC
[21:28:57] *** uf6667 has joined #angularjs
[21:29:11] *** frickett has joined #angularjs
[21:29:22] <Foxandxss> TorchDragon: normally you don't want to access controller's scope directly from a directive
[21:29:26] <Foxandxss> but there are use cases for that too
[21:29:34] *** Nizumzen has quit IRC
[21:30:05] *** spencercarnage has joined #angularjs
[21:30:07] *** fouzko has joined #angularjs
[21:30:26] *** ColKurtz has quit IRC
[21:30:46] <reduce> actually im developing an open source application at the moment, i see webstorm offers a free open source version
[21:30:48] *** ColKurtz has joined #angularjs
[21:30:56] <Foxandxss> good luck
[21:30:58] *** seydoggy_ has joined #angularjs
[21:31:03] *** lsiv568 has quit IRC
[21:31:04] <Foxandxss> they need a big project, a lot of contributors
[21:31:05] <Foxandxss> really alive
[21:31:07] <Foxandxss> with webpage
[21:31:08] <reduce> meh, cant be bothered waiting
[21:31:09] <Foxandxss> etc etc
[21:31:15] *** ki0 has joined #angularjs
[21:31:22] *** CodeFriar has quit IRC
[21:31:28] *** seydoggy has quit IRC
[21:31:34] <reduce> £34 is good value
[21:31:41] *** lsiv568 has joined #angularjs
[21:31:41] *** mykz_ has joined #angularjs
[21:31:58] *** niftylettuce_ has joined #angularjs
[21:32:00] <wafflejock> yeah if you're any craftsman tools cost a ton more (or in video/photo editing)
[21:32:00] *** MANCHUCK_ has quit IRC
[21:32:43] <TorchDragon> Foxandxss: So the issue is that I want to define a function in a controller and then pass that function to a directive. I don't have a problem using view decorator to operate as a pass-along withthat.
[21:33:06] <zumba_addict> i feel like i just started Angular. I have been troubleshooting setting request Content-Type header for 5 hours now :(
[21:33:09] *** frickettz has quit IRC
[21:33:18] <Foxandxss> TorchDragon: you can do it, pass it as an attribute
[21:33:23] <Foxandxss> and then call it from the directive
[21:33:29] *** InezK_away is now known as InezK
[21:33:42] *** mfunkie has quit IRC
[21:33:50] *** Anton_ has joined #angularjs
[21:33:57] *** endash has joined #angularjs
[21:34:06] *** juanlas has quit IRC
[21:34:08] *** mfunkie has joined #angularjs
[21:34:34] <TorchDragon> Foxandxss: Great. That sounds reasonable. Thanks, you and wafflejock.
[21:34:48] *** hell_razer has quit IRC
[21:34:52] <wafflejock> TorchDragon: yup if you get stuck just plunkr it
[21:34:53] <caitp> guess what guys
[21:34:56] <zumba_addict> if I add config.headers['Accept'] = 'application/csv', I can see it in the request header :(
[21:35:00] <caitp> i get to do the release this week!
[21:35:03] <caitp> unless they don't let me
[21:35:05] <edrocks> zumba_addict: your using ;
[21:35:08] <wafflejock> caitp: haha awesome
[21:35:11] <caitp> i'm excited ;3
[21:35:23] *** wilmoore has quit IRC
[21:35:25] <zumba_addict> edrocks: where?
[21:35:27] <wafflejock> what version will it be?
[21:35:33] <caitp> idk i've lost count
[21:35:34] <wafflejock> I can't keep up
[21:35:34] *** cladic has quit IRC
[21:35:42] <caitp> 1.3 beta 9000 or something
[21:35:42] *** MistahKurtz has quit IRC
[21:35:44] <edrocks> lines 3 4 and 6
[21:35:46] <Foxandxss> wafflejock: I update the topic always
[21:35:53] *** lsiv568 has quit IRC
[21:35:56] <wafflejock> Foxandxss: ah nice
[21:35:58] *** calumet has quit IRC
[21:36:04] *** UniBot has joined #angularjs
[21:36:10] <bealtine> there's a topic? :~P
[21:36:25] <Foxandxss> yeah, the one noone reads
[21:36:29] <zumba_addict> edrocks: what's wrong with the ;
[21:36:44] <bealtine> j/k
[21:36:48] <edrocks> nothing wrong you just dont need them
[21:36:49] *** CodeFriar has joined #angularjs
[21:36:50] *** Gho5t has quit IRC
[21:36:51] <zumba_addict> edrocks: it works when I use this, config.headers['Accept'] = 'application/csv'
[21:37:00] <zumba_addict> oh
[21:37:03] <oniijin> it's the caitborg!
[21:37:04] <Foxandxss> edrocks: it is safer to use them
[21:37:11] *** wallerdev has quit IRC
[21:37:13] <caitp> borg? :c
[21:37:19] <zumba_addict> still wondering why it's not allowing me to set Content-Type
[21:37:31] *** milka has joined #angularjs
[21:37:40] *** richiebkr has joined #angularjs
[21:37:41] <edrocks> ill find the article i was reading but to be safe with no ; you only need them with one kind of var declaration
[21:38:15] *** dman777_alter has joined #angularjs
[21:38:19] *** calumet has joined #angularjs
[21:38:43] <Foxandxss> ; is used internally to know where an expression ends
[21:38:48] *** lsiv568 has joined #angularjs
[21:39:23] <dman777_alter> key/property named 'actions' that is
[21:39:27] <oniijin> how u doing maam
[21:39:57] <oniijin> still trying to come up with better name mashing caitp and cyborg
[21:40:02] *** secondjeff has quit IRC
[21:40:05] *** Sijdesign has quit IRC
[21:40:14] *** UniBot has quit IRC
[21:40:16] <caitp> hah
[21:40:23] *** Browser has quit IRC
[21:40:48] <jaawerth> cait9000
[21:41:08] *** wilmoore has joined #angularjs
[21:41:12] <jaawerth> or.. hm... dupliCait (okay I'm done)
[21:41:46] <oniijin> what was the morphing chick terminator from the last movie
[21:41:53] *** alekibango has joined #angularjs
[21:42:10] <oniijin> o wait not the last one
[21:42:16] *** trave has quit IRC
[21:42:26] *** mykz_ has quit IRC
[21:42:26] *** cdaringe has joined #angularjs
[21:42:27] *** ccohn has quit IRC
[21:42:27] <jaawerth> dman777_alter: you mean the attr.actiontype stuff?
[21:42:35] *** MuffinMan` has joined #angularjs
[21:42:36] <jaawerth> oh god that movie was terrible
[21:42:47] *** cotko has joined #angularjs
[21:42:55] <reduce> woho, waiting on the license key
[21:42:59] <oniijin> wait was it not even two ago
[21:43:00] *** ccohn has joined #angularjs
[21:43:03] <wafflejock> oniijin: the T-X
[21:43:04] *** Fishy__ has joined #angularjs
[21:43:05] *** juanlas has joined #angularjs
[21:43:07] *** stirlingw has quit IRC
[21:43:08] <reduce> #first time im paid for software in a while
[21:43:19] <reduce> oh, bad typos
[21:43:23] <oniijin> heh YEAH
[21:43:23] *** whunt has quit IRC
[21:43:30] *** cotko has quit IRC
[21:43:30] *** jk-5|gone has quit IRC
[21:43:33] <oniijin> wafflejock+1
[21:43:39] *** stirlingw has joined #angularjs
[21:43:45] *** cotko has joined #angularjs
[21:43:57] <dman777_alter> jaawerth: yes, the scope does not seem to contain the $scope.action object from the controller
[21:44:00] <oniijin> for some reason i remember her doing a split and forming a machine gun out her cooch
[21:44:34] *** trave has joined #angularjs
[21:45:02] *** dejanr has joined #angularjs
[21:45:10] <wafflejock> oniijin: must have been the alternate ending, er maybe you're thinking of Desperado and the male type
[21:45:14] *** cdaringe_ has joined #angularjs
[21:45:19] <oniijin> lol
[21:45:35] *** plitzenberger has joined #angularjs
[21:45:45] *** BryceReynolds has joined #angularjs
[21:45:53] <uf6667> how do you go about doing a $http.post?
[21:45:54] <jaawerth> dman777_alter: when you do scope: { foo: <something> } in a directive, that creates an isolate scope where only the items you designate in that scope object can be passed through (as attributes on the directive, usually)
[21:46:02] *** Fishy has quit IRC
[21:46:06] <jaawerth> dman777_alter: so with isolate scope, nothing gets inherited from the parent controller.
[21:46:32] *** cdaringe has quit IRC
[21:46:46] <wafflejock> uf6667: $http.post("someplace.phperwhatever", {someData:data})
[21:46:47] <dman777_alter> jaawerth: ah...I need to do '=' instead of '@'?
[21:46:56] *** InezK is now known as InezK_away
[21:47:13] *** milka has quit IRC
[21:47:17] *** Fishy__ has quit IRC
[21:47:33] *** ccohn has quit IRC
[21:47:37] <oniijin> hahaha nowhere near as cool tho
[21:47:46] <oniijin> needs more ahhnold
[21:47:59] <wafflejock> haha for sure
[21:48:27] *** stirlingw has quit IRC
[21:48:35] <uf6667> thanks wafflejock
[21:48:59] *** jk-5|gone has joined #angularjs
[21:49:02] <jaawerth> dman777_alter: well, if you use '=' you can pass entire objects in via attributes from the parent scope, sure. It's either that, change to inherited scope, or keep those items in a service. The best course of action typically depends on how you intend to use the directive and whether the action/actionType data is a key part of your application logic
[21:49:14] *** patrickarlt has quit IRC
[21:49:20] *** nanoyak has joined #angularjs
[21:49:33] *** dejanr has quit IRC
[21:49:37] *** cdaringe_ has quit IRC
[21:49:47] *** zfogg_ has joined #angularjs
[21:50:06] <uf6667> wafflejock: is data just the same as with get?
[21:50:23] *** foofoobar has quit IRC
[21:50:23] *** swirlycheetah has joined #angularjs
[21:50:42] <nickeddy> does anyone have experience doing a <select> with ng-options from a list of option objects from the server, and also doing ng-model and having it actually select the correct one?
[21:50:45] <swirlycheetah> how would you go about instantiate a directive on click from another directive?
[21:50:48] <djam90> You know Google Charts... Can it be angularised to update based on the data changing in scope?
[21:50:51] <swirlycheetah> instantiating*
[21:51:19] *** xaxisx has quit IRC
[21:51:32] <dman777_alter> jaawerth: it is..action/actionType spceifiys the values to use on the scope in that if in statement. How can I change it to a inherited scope?
[21:51:38] <wafflejock> djam90: there's one out there do some googlin
[21:51:43] <djam90> cooool
[21:51:44] *** xaxisx has joined #angularjs
[21:51:56] <djam90> Have to format data as JSON. yawn
[21:52:02] *** {DV8} has joined #angularjs
[21:52:24] *** ededagic has joined #angularjs
[21:52:56] *** patricka_ has joined #angularjs
[21:53:25] <jaawerth> djam90: You just have to remove the scope: { } part and use the inherited scope as you normally would. Just keep in mind that if you do it that way, the directive will be capable of modifying the child properties of all objects on the parent scope, which isn't always a desired behavior for directives that are going to be reused across an app
[21:53:31] *** CodeFriar has quit IRC
[21:53:34] <jaawerth> djam90: whoops, wrong name got autocompleted
[21:53:38] <jaawerth> sorry! heh
[21:53:49] <jaawerth> dman777_alter: ^ see above ;-)
[21:53:51] <djam90> haha :P
[21:54:02] *** mzehrer_ has quit IRC
[21:54:09] *** mzehrer__ has quit IRC
[21:54:19] *** stirlingw has joined #angularjs
[21:54:23] <nickeddy> errr i guess select multiples in angular isn't a thing?
[21:54:25] *** zfogg_ has quit IRC
[21:54:28] *** no_mind has quit IRC
[21:54:36] <nickeddy> whyyyyyyyyy
[21:55:02] *** screamingbanshee has quit IRC
[21:55:04] *** sigurding has joined #angularjs
[21:55:05] *** leftblank has quit IRC
[21:55:19] *** MANCHUCK has joined #angularjs
[21:55:19] *** cthrax has joined #angularjs
[21:55:41] <nickeddy> i guess i can just get some directive
[21:56:06] *** cdaringe has joined #angularjs
[21:57:12] <dman777_alter> jaawerth: what if I did <div action-button scope-name"actions" action-type="vips" class="pull-right"></div>; and in the directive I added 'scopeName' : "=" in scope: {}?
[21:57:19] <dman777_alter> jaawerth: would that be a correct and appropriate way?
[21:57:37] *** elrabin has joined #angularjs
[21:57:41] <dman777_alter> I assume scope-name"actions" would bind scopeName to $scope.actions...correct?
[21:58:16] *** screamingbanshee has joined #angularjs
[21:58:24] <TorchDragon> wafflejock: I can break into the directive and on line 22, $scope.doOnClick is being mapped to the directive's function and I can manually call it on the console and it works.
[21:58:35] <TorchDragon> wafflejock: But when I click the button, I get nothing.
[21:58:35] *** encrypt3d_fracti has joined #angularjs
[21:58:36] *** icarus75 has joined #angularjs
[21:59:31]
<Siecje> When I visit a route it takes several seconds to load the page because of the request it makes in the resolve. How can I prevent having to wait everytime I go back to the page. https://dpaste.de/5yhT
[21:59:57] <wafflejock> Siecje: have your factory/service cache the value and return it directly is generally the answer
[22:00:03] <jaawerth> dman777_alter: with isolate scope, anything you define with scope: { camelCase: '=|@|&' } can be bound via the template with "camel-case"
[22:00:15] *** InezK_away is now known as InezK
[22:00:34] *** richiebkr has quit IRC
[22:00:38] *** ki0 has quit IRC
[22:00:50] <drej> what's the popular (or not popular) opinion on polymer
[22:00:52] * drej ducks
[22:00:57] *** cdaringe has quit IRC
[22:00:59] *** cdaringe_ has joined #angularjs
[22:01:09] *** whunt has joined #angularjs
[22:01:11] <dman777_alter> jaawerth: would scope-name"actions" bind $scope.actions={} from the controller to scopeName?
[22:01:13] <kamanato> scope:{'doOnClick': '&doOnClick'} should work
[22:01:14] *** swirlycheetah has quit IRC
[22:01:22] *** texinwien has quit IRC
[22:01:22] *** Zamerick has quit IRC
[22:01:57]
<Siecje> wafflejock: I used to have this but it wouldn't load the page the first time I visited the route. https://dpaste.de/zXwx
[22:01:59] <jaawerth> dman777_alter: do you mean scope-name="actions"?
[22:02:12] <kamanato> but html should be <cerora-lock-button label="My Lockable Button" do-on-click="myContFunction()"></cerora-lock-button>
[22:02:18] <wafflejock> drej: dunno looks interesting
[22:02:19] <dman777_alter> jaawerth: yes
[22:02:30] <wafflejock> TorchDragon: like kamanato says here
[22:02:31] *** pluma has quit IRC
[22:02:36] <kamanato> you need to call in myContFunction() do-on-click attr
[22:02:38] <jaawerth> dman777_alter: Oh wait I think I see what your question is. With isolate scope, nothing on $scope will pass into your directive unless you specify it in your view
[22:02:50] <wafflejock> TorchDragon: it's how ng-click itself works
[22:02:52] * reduce sniggers
[22:02:52] *** juanlas has quit IRC
[22:03:16] *** UniBot has joined #angularjs
[22:03:16] <drej> wafflejock there's a lot of overlap with directives and polymer components
[22:03:18] <dman777_alter> jaawerth: so, <div action-button scope-name="actions" icon="glyphicon glyphicon-cog" action-type="vips" class="pull-right"></div> should do it, right?
[22:03:25] <jaawerth> dman777_alter: so for example, $scope.actions in the control won't pass into your directive unless you then do <mydirective actions="actions">. Then $scope.actions in the controller will be available as $scope.actions in the directive
[22:03:32] <drej> ive heard some backlash from angular community
[22:03:45] <wafflejock> drej: for sure, there's a lot of overlap with web components for both too it seems but not a problem till those become more popular
[22:04:03] *** Jdubs has joined #angularjs
[22:04:15] <wafflejock> I don't see any huge advantages but maybe just don't know enough about it
[22:04:22] *** mpaarating has quit IRC
[22:04:22] *** DrJae has joined #angularjs
[22:04:33] <dman777_alter> jaawerth: cool, thanks!
[22:04:39] *** shaym_ has joined #angularjs
[22:04:41] <davek> So... there's a chrome bug that just straight up prevents dragging the scrollbar.
[22:04:46] <jaawerth> dman777_alter: it's like this: if you have $scope.foo in your controller and scope.bar in your directive, and scope: {foo: '=bar'} set, then if you do <my-directive bar="foo">, that will pass $scope.foo to scope.bar
[22:04:55] *** foofoobar has joined #angularjs
[22:05:04] <wafflejock> davek: might be a plugin interferring
[22:05:08] *** eperez has quit IRC
[22:05:16] *** juanlas has joined #angularjs
[22:05:19] <djam90> Is there a channel for lodash?
[22:05:21] <quicksnap> drej: I've seen experimentation using both, two-way binding Polymer and Angular
[22:05:35] *** cdaringe has joined #angularjs
[22:05:36] <davek> wafflejock, no I mean it's a logged bug. It just seems like something you should test for...
[22:05:40] <djam90> I need to strip 3 properties from an array of objects
[22:05:44] *** eperez has joined #angularjs
[22:05:49] *** Sauvin has joined #angularjs
[22:06:01] *** DrMabuse_ has joined #angularjs
[22:06:01] *** cdaringe_ has quit IRC
[22:06:02] *** edrocks has quit IRC
[22:06:04] <wafflejock> davek: ah, what's the scenario?
[22:06:05] *** trave has quit IRC
[22:06:13] *** trave has joined #angularjs
[22:06:25] <dman777_alter> jaawerth: what about just scope: {foo: '=' } without bar name in it?
[22:06:28] *** Jae has quit IRC
[22:06:28] <TorchDragon> Sorry, got distracted by other things at work.
[22:06:30] <wafflejock> davek: I've had it where I have to click to give it focus before the wheel takes action on scrolling but don't think I've seen a problem with the bar itself
[22:06:48] <wafflejock> TorchDragon: cool see what kamanato was saying above
[22:06:52] *** dcherman has quit IRC
[22:07:07] *** mspier is now known as mspier_off
[22:07:07] <davek> Really can't be sure. Scrolling works just fine (i.e. scroll action or scroll wheel input), but clicking and dragging the scrollbar does nothing.
[22:07:08] *** screamingbanshee has quit IRC
[22:07:29] *** dcherman has joined #angularjs
[22:07:39] *** DrJae is now known as JAe
[22:07:41] *** tilgovi has quit IRC
[22:07:42] *** JAe is now known as Jae
[22:07:46] *** Jae has quit IRC
[22:07:46] *** Jae has joined #angularjs
[22:07:50] *** screamin_ has joined #angularjs
[22:08:15] *** melmoussaoui has quit IRC
[22:08:25] *** ftwordring has joined #angularjs
[22:08:45] <wafflejock> Jae: has been stripped of doctorate
[22:09:26] <jaawerth> dman777_alter: basically, if you just do "foo: '='", then anything passed in via <my-directive foo="something"> will show up as scope.foo in the directive. The name of the controller's $scope var doesn't matter as long as you're passing it in via the attribute
[22:09:28] *** disorder20 has quit IRC
[22:09:38] <davek> Nope, you're quite right wafflejock its some unknown plugni.
[22:09:49] <ftwordring> I have a default search filter like "filter:search" where search is my ng-model on a couple of inputs hooking into things like "search.option1", "search.option2"... what's the proper way to get all results by default if my option1 or option2 is 'Any'???
[22:10:01] *** eperez has quit IRC
[22:10:01] *** cdaringe has quit IRC
[22:10:09] <Jae> wafflejock, :(
[22:10:11] <TorchDragon> kamanato , wafflejock: Bing! Thanks guys... I really, really, really, really, really hate having to bounce between PHP and JavaScript.
[22:10:31] *** BryceReynolds has quit IRC
[22:10:46] <wafflejock> davek: yeah guessed that cause I've seen some that seem to leave behind panels or whatever UI stuff around the scrollbar
[22:10:48] <jaawerth> dman777_alter: $scope.potatoSalada will show up as scope.foo so long as you do <my-directive foo="potatoSalad"> and scope: {foo: '='}
[22:10:51] *** Aliks_ has joined #angularjs
[22:10:56] <davek> Okay, nevermind no it's not.
[22:11:00] <jaawerth> $scope.potatoSalad*
[22:11:04] <wafflejock> TorchDragon: yeah I'm in the same boat but haven't dug into Node seriously yet
[22:11:15] *** DrMabuse_ has quit IRC
[22:11:20] <TorchDragon> I miss Python. :-(
[22:11:20] <davek> Bug just disappeared despite reenabling all of my plugins.
[22:11:21] *** naneau has quit IRC
[22:11:31] *** Hackwar1 has joined #angularjs
[22:11:42] <wafflejock> davek: might be something in a plugin that fails after use or over time
[22:11:56] <wafflejock> could be a chrome bug but sounds like something they'd catch
[22:12:03] <jaawerth> I'm quite enjoying node now that I'm using it frequently
[22:12:10] <wafflejock> I think my scrolling thing is probably somehow related to KDE but no big deal
[22:12:17] *** foofoobar has quit IRC
[22:12:24] *** Methylated has quit IRC
[22:12:31] *** Hackwar has quit IRC
[22:12:40] <jaawerth> there is some stuff I'm probably going to need python for (math calculations) unless I decide to attempt interfacing node and R
[22:12:52] <jaawerth> I somehow doubt node will be able to keep up with much math processing
[22:13:36] <wafflejock> yeah depends on the dataset size you're dealing with JS can be fast but in extreme cases you probably still want something faster
[22:13:47] <ftwordring> filter:any provides me with what I need but I don't know how to use that in conjunction with my search model
[22:14:22] <wafflejock> ftwordring: you want to use a filter in your JS?
[22:14:28] <jaawerth> wafflejock: that and the single-threaded nature of node. I'd probably have to fork processes off for the actual calculations
[22:14:35] <ftwordring> Let me post a fiddle
[22:14:38] *** edrocks has joined #angularjs
[22:14:41] <ftwordring> of what I'm talking about
[22:15:02] <ftwordring> all I'm trying to do is have an "any" option for my search model
[22:15:04] <wafflejock> ftwordring: preference here is to use plnkr.co there's a link in the IRC topic but whatever works
[22:15:08] <ftwordring> so that filter:search will return all the results
[22:15:14] <jaawerth> wafflejock: that's the one confusing thing about node: how it's single-threaded but most of its IO is multi-threaded
[22:15:27] *** UniBot has quit IRC
[22:15:32] <wafflejock> ftwordring: ah I think '' blank string works for anything
[22:15:43] <jaawerth> using it for streaming/piping is awesome, though
[22:15:48] *** UniBot has joined #angularjs
[22:15:49] <ftwordring> but my value is 'Any' so that it shows up like that in my dropdown
[22:16:08] <ftwordring> I don't want just a blank string in my dropdown preferrably
[22:16:15] *** UniBot has quit IRC
[22:16:16] <wafflejock> ftwordring: with the select ng-options you can choose different parts of the objects in the array as the value and the label
[22:16:47] *** joshbrw has joined #angularjs
[22:17:07] *** secondjeff has joined #angularjs
[22:17:22] <wafflejock> ftwordring: label for value in array might work
[22:17:36] <ftwordring> my label and value are the same
[22:17:57] *** screamin_ has quit IRC
[22:18:01] *** jimp has joined #angularjs
[22:18:03] <wafflejock> ftwordring: not anymore
[22:18:19] *** cladic has joined #angularjs
[22:18:33] <jimp> hello
[22:18:38] *** joshbrw has quit IRC
[22:18:40] *** zfogg_ has joined #angularjs
[22:18:56] *** jaawerth has left #angularjs
[22:19:04] *** jaawerth has joined #angularjs
[22:19:11] *** AllanKacz has joined #angularjs
[22:20:19] <jimp> anyone have time to look at this ng-bind-directive that i can't get to display html entities?
[22:20:45] *** ccohn has joined #angularjs
[22:20:52] <wafflejock> jimp: are you using $sce and ngSanitize/angular-santize.js
[22:21:00] <jimp> i have angular sanitize, yes
[22:21:15] <jimp> i have the ng-bind-html inside a template for my directive
[22:21:52] *** sonicparke|bradm has quit IRC
[22:21:53] <jimp> let me pastebin it
[22:22:14] *** cspra85 has quit IRC
[22:22:33] *** joshontheweb has joined #angularjs
[22:23:31] *** AllanKacz has left #angularjs
[22:23:37] *** screamingbanshee has joined #angularjs
[22:24:41] <wafflejock> jimp: yeah think you still need to inject $sce and use $sce.trustAsHtml(); on the bit you're assigning to help_text
[22:25:06] <jaawerth> dman777_alter: because you did scopeName: '=', in your directive you'd access it via scope.scopeName. If you want it to be scope.actions, you need to do scope: {actions: '='}
[22:25:07] <jimp> dman777_alter, because you need to do console.log(scope.scopeName)
[22:25:11] *** JohnBat26 has joined #angularjs
[22:25:16] *** grindmodeon has joined #angularjs
[22:25:22] <jimp> e;fb
[22:25:30] <jaawerth> dman777_alter: and then <my-dir actions="actions">
[22:25:35] *** elrabin has quit IRC
[22:25:38] <jimp> wafflejock, ok, let me try that once
[22:26:09] *** elrabin has joined #angularjs
[22:26:41] *** bertrand_ has quit IRC
[22:27:13] <jimp> wafflejock, thanks, that appears to fix it. do i still need to do ng-bind-html? or can i just put {{group.help_text}} into the span directly if i am using $sce?
[22:27:38] <wafflejock> jimp: not sure about that I think either way will work but let me know :)
[22:27:43] *** ppppaul has quit IRC
[22:28:16] *** phuh has quit IRC
[22:28:35] *** soupedreiro has joined #angularjs
[22:28:35] <davek> This guy is giving a presentation for our local node users group and has put "shemales" instead of "schemaless" like three separate times in his slides.
[22:28:38] *** phuh has joined #angularjs
[22:29:02] *** spaceonline has quit IRC
[22:29:07] <jimp> wafflejock, trip report: you still have to use ng-bind-html after $sce.trustAsHtml()
[22:29:09] *** UniBot has joined #angularjs
[22:29:13] <jimp> at least in the directive template
[22:30:35] *** elrabin has quit IRC
[22:30:40] *** pluma has joined #angularjs
[22:30:45] <jimp> thanks again
[22:30:56] <wafflejock> jimp: cool
[22:31:02] <jaawerth> huh, in the angular.js git repo, the angular stuff is all run through grunt but the docs use gulp
[22:31:07] <wafflejock> davek: haha that's classic
[22:31:23] *** jimp has quit IRC
[22:31:25] <TorchDragon> Another stupid question... :/
[22:31:26] <jaawerth> I found a bug in docs.angularjs.org and I'm seeing if I can find it and submit a pull request
[22:31:49] *** Joshee has quit IRC
[22:31:53] *** panchisco has quit IRC
[22:31:55] *** ki0 has joined #angularjs
[22:32:00] *** ceephax has joined #angularjs
[22:32:09] *** wallerdev has joined #angularjs
[22:32:16] <dman777_alter> jaawerth: ah...thanks!
[22:32:41] *** davedev24_ has quit IRC
[22:32:47] <TorchDragon> Can you "override" an ng-attribute in code?
[22:33:03] *** davedev24_ has joined #angularjs
[22:33:10] *** in_deep_thought has joined #angularjs
[22:33:22] <TorchDragon> Like, if I have ng-disabled="something on the view". Can I do { $element.ngDisabled = thisOtherFunction() } ?
[22:33:23] *** ki0 has quit IRC
[22:33:47] *** xaxisx has quit IRC
[22:34:03] *** ki0 has joined #angularjs
[22:34:04] *** juampy has joined #angularjs
[22:34:24] *** xaxisx has joined #angularjs
[22:35:27] *** sigurding has quit IRC
[22:35:58] *** hannesvdvreken has joined #angularjs
[22:36:53] <kemm0> TorchDragon you shouldn't be putting that kind of logic in your view imo
[22:36:57] *** elrabin has joined #angularjs
[22:37:11] <davek> I wish there was a foundation build that was just user-agent overrides + mixins. No default styles applied to every one of my goddamn elements.
[22:37:12] <TorchDragon> kenm0: The logic would be in the controller.
[22:37:24] *** stirling_ has joined #angularjs
[22:37:37] <kemm0> i would put it in a directive
[22:37:45] *** seydoggy_ has quit IRC
[22:38:01] <jaawerth> TorchDragon: why would you want to do that? I'd recommend naming any of your own directives with the ng- prefix
[22:38:07] *** _ht has quit IRC
[22:38:10] <zumba_addict> I'm so friggin confused. Can Content-Type be added in GET method request? Rest client plugins allow me to add it but httpInterceptor is not
[22:38:10] <jaawerth> er, I'd recommend AGAINST naming* heh
[22:38:17] *** seydoggy has joined #angularjs
[22:38:32] *** ki0 has quit IRC
[22:38:32] *** JohnBat26 has quit IRC
[22:38:54] <TorchDragon> jaawerth: I have an Element that currently is decorated with ng-disabled="logic that is viable on the view". When the user clicks the button, I want the button to be disabled regardless of any other logic.
[22:39:03] *** Jdubs_ has joined #angularjs
[22:39:23] *** soujiro has quit IRC
[22:39:24] <TorchDragon> Once the button is clicked, the disabling is orthogonal to any other previous logic.
[22:39:27] <cigarshark> question: Inside the resolve section of a standard angular router, I am returning a function that returns a $promise from a call to $resource. However, the $resource itself is then injected into the controller as opposed to the value!
[22:39:34] *** stirlingw has quit IRC
[22:40:02] *** mspier_off is now known as mspier
[22:40:11] *** pluma has quit IRC
[22:40:20] *** mtsr has quit IRC
[22:40:24] *** spencercarnage has quit IRC
[22:41:13] *** spencercarnage has joined #angularjs
[22:42:02] *** Jdubs has quit IRC
[22:42:14] <jaawerth> TorchDragon: ohhh, so not an override in the traditional sense. well you can either do ng-disabled="logic || override" ng-click="override=true"
[22:42:23] *** charlie_sanders has quit IRC
[22:42:31] <jaawerth> TorchDragon: or you could do ng-disabled="myfunc()" and then put the boolean logic in your function if you'd rather obscure it
[22:42:32] <jaawerth> either way
[22:42:47] *** seydoggy has quit IRC
[22:42:51] <wafflejock> cigarshark: think you want to return the $promise or maybe it's just the .promise property of the $resource
[22:43:00] *** danyim has joined #angularjs
[22:43:14] *** bayousoft has quit IRC
[22:43:26] *** ki0 has joined #angularjs
[22:43:26] <jaawerth> zumba_addict: are you trying to modify the header to specify a content-type, or filter the response to modify/set the content type (or reject any that don't match)?
[22:43:27] *** ccohn has quit IRC
[22:43:32] *** Mouzi has quit IRC
[22:43:34] <TorchDragon> jaawerth: Ahhh, dur. I keep forgetting the the ng- stuff is "live javascript" and not just databinding.
[22:43:38] <zumba_addict> modify the header jaawerth
[22:43:47] *** capida has joined #angularjs
[22:43:48] <zumba_addict> I think our backend is wrong
[22:43:51] *** the-erm has quit IRC
[22:44:01] *** ccohn has joined #angularjs
[22:44:05] <wafflejock> zumba_addict: check the network panel, select the request see what headers you see there
[22:44:07] <zumba_addict> based from what i've read. Content-type is for response only but I may be wrong. What do you think?
[22:44:15] <jaawerth> zumba_addict: could be, it's easy enough to modify the headers. You should be able to see the headers being sent out from your browser's dev tools
[22:44:19] <in_deep_thought> if I have a simple text field with submit button form that is submitted with an ng-click=“submit()” so submit is the function, can I pass the text field text into submit, so that it can do something with it? What would I call this? submit(data)?
[22:44:26] *** capida has quit IRC
[22:44:29] <wafflejock> zumba_addict: alternatively use an external proxy like Charles Web Debugging proxy to capture the full request/response without regard to the browser
[22:44:35] <zumba_addict> wafflejock: Content-Type is not there in the request header. The api doc is requiring me to set it on the request header
[22:44:52] *** the-erm has joined #angularjs
[22:45:03] <jaawerth> wafflejock: or just node up a quick app that prints out the headers ;-)
[22:45:10] <zumba_addict> wafflejock: I'm using angular http Interceptor
[22:45:14] <cigarshark> I am returning the $promise, and indeed the controller doesn't kick off until resource request completes. However, I was expecting the unwrapped value to be injected into the controller. Instead, its a Resource object of some sort. Very frustrating.
[22:45:23] *** hannesvdvreken has quit IRC
[22:45:30] <zumba_addict> it's really weird because I can add ['Accept'] and it works
[22:45:32] *** tschundeee has joined #angularjs
[22:45:45] <zumba_addict> but when I add ['Content-Type'], it doesn't add it
[22:45:54] *** dejanr has joined #angularjs
[22:46:24] <wafflejock> cigarshark: ah well with $resource the result of calling things is wrapped up in objects so you can call $save on that object or whatever
[22:46:41] *** seydoggy has joined #angularjs
[22:46:52] *** josh-k has joined #angularjs
[22:46:59] *** charlie_sanders has joined #angularjs
[22:47:00] *** jon___ has joined #angularjs
[22:47:12] *** uf6667 has quit IRC
[22:47:17] <zumba_addict> ok
[22:47:19] <jaawerth> zumba_addict: well, the Content-Type property on your request will determine the content-type of your actual request, but that won't affect the response unless your server is designed to change its response conditionally depending on the request type
[22:47:24] *** danyim has quit IRC
[22:47:26] *** uf6667 has joined #angularjs
[22:47:29] *** plitzenberger has quit IRC
[22:47:37] <jon___> Anyone point me to an example where I can pass a parameter to a service? e.g. $scope.myService = MyService(myVar)
[22:47:45] *** intellix has quit IRC
[22:47:45] <zumba_addict> that's the code from my interceptor wafflejock jaawerth
[22:48:25] *** ccohn has quit IRC
[22:48:28] *** Dan_ has joined #angularjs
[22:48:30] <cigarshark> yeah, this thing that is returned does have a $save method. How can I get the actual value out of it?
[22:48:37] <jaawerth> zumba_addict: so you want would to set that on a request if the content you're actually sending is formatted as a CSV, IIRC
[22:48:44] *** apetro_ has joined #angularjs
[22:48:50] <zumba_addict> jaawerth: but server is saying I'm not sending Content-Type which is true
[22:49:00] <zumba_addict> it's not in chrome dev tools as I look at the Request headers
[22:49:29] <jaawerth> hm. I'd have to play with it, it isn't a syntax I have memorized. I gotta step away for a few minutes but I'll mess around with it when I get back if nobody's answered you
[22:49:32] <cigarshark> sorry, i mean the thing that is injected into the controller after the $resource call returns. Its not a domain object. Its some Resource object with a save method and other methods.
[22:49:32] <zumba_addict> so before I send the request, also add Content-Type : application/csv
[22:49:42] <zumba_addict> ok
[22:49:49] <zumba_addict> i tried so many syntax and both works
[22:49:56] <zumba_addict> config.headers['Accept'] works
[22:50:05] *** alexeld has joined #angularjs
[22:50:11] <zumba_addict> config.headers = {'Accept' : 'application/csv' } works too
[22:50:26] <wafflejock> cigarshark: actually should have just added those methods to the plain objects that came back I'm pretty sure
[22:50:29] <zumba_addict> but config.headers['Content-Type'] = 'application/csv' is not working
[22:50:32] *** bayousoft has joined #angularjs
[22:50:46] *** davlefou has quit IRC
[22:51:09] *** dejanr has quit IRC
[22:51:11] *** Pookz has quit IRC
[22:51:49] <dman777_alter> Hmm...I have this underscore.string filter called humanize. I use it in <td>{{vip.algorithm.name | humanize}}</td>. When I moved the scope manipulation/modification out of the controller into my directive, I get errors angular with the filter: Error: [$interpolate:interr] Can't interpolate: {{vip.algorithm.persistence_method | humanize}} TypeError: Cannot call method 'titleize' of undefined
[22:52:26] *** nanoyak has quit IRC
[22:52:49] *** nanoyak has joined #angularjs
[22:52:53] *** alexeld has quit IRC
[22:53:26] *** Xethron has joined #angularjs
[22:53:26] *** Xethron has joined #angularjs
[22:53:28] <davek> dman777_alter, you have an angular filter that wraps this function yes?
[22:54:04] *** thebigredgeek has joined #angularjs
[22:54:11] <thebigredgeek> BahamutWC: :(
[22:54:12] *** CodeFriar has joined #angularjs
[22:54:41] *** bkuberek has joined #angularjs
[22:54:46] <dman777_alter> davek: no.... it was working when I had the $scope in controller without an angular wrapping. How would I wrap this filter?
[22:54:48] *** nuizzy has quit IRC
[22:54:52] *** kaeku has joined #angularjs
[22:54:55] <thebigredgeek> caitp: hey, do you know if there is ever a case where, with multiple modules, a service would be injected BEFORE all config blocks have run across all modules?
[22:55:03] *** tomzx is now known as tomzx`afk
[22:55:11] <wafflejock> ftwordring: sorry got distracted just noticed I had your plunkr open
[22:55:19] *** Methylated has joined #angularjs
[22:55:21] <wafflejock> ftwordring: think you are close though, did you get it already?
[22:55:31] <thebigredgeek> worried that if I use the same provider in 4 different modules, and the service depends on all config complete before injection, it could somehow jack stuff up :(
[22:55:38] *** nuizzy has joined #angularjs
[22:56:00] <thebigredgeek> does anyone know anything about that?
[22:56:03] <thebigredgeek> :(
[22:56:08] <Dan_> what's the easiest way to get data asynchronously and make sure the page waits for it before displaying?
[22:56:08] *** mfunkie has quit IRC
[22:56:17] <ftwordring> all good, ehhhh not happily there yet... it's VERY ugly, in my actual code base I have a horrible xml format coming in and being converted to json and then from the json I'm having to apply all sorts of filtering to get it to a user-readable format and as a result the filters are essentially worthless b/c they're not filtering on what's being "shown" it's filtering on what actually exists in the object
[22:56:25] <davek> dman777_alter, by defining a filter in your module (i.e. myapp.filter('humanize', function() {}))
[22:56:31] *** henn1nk has quit IRC
[22:56:36] *** mfunkie has joined #angularjs
[22:56:37] <davek> Refer to angular docs for syntax, conventions, etc.
[22:56:47] *** Fishy has joined #angularjs
[22:56:47] *** plitzenberger has joined #angularjs
[22:56:52] *** henn1nk has joined #angularjs
[22:56:52] *** rabaznaz has joined #angularjs
[22:56:55] <davek> It worked when it was a scope function because you can also use a scope function (again reference angular docs for this)
[22:56:56] <ftwordring> In a lot of cases I'm just getting the data from my services and converting it into a much more data friendly format
[22:56:57] *** henn1nk has quit IRC
[22:57:03] *** arek_deepinit has joined #angularjs
[22:57:03] *** DuelShark has quit IRC
[22:57:25] <davek> If you need this humanize filter in multiple places, use module.filter() if you need it only in a particular context just use a scope function.
[22:57:33] <ftwordring> but it feels like I'm having to write the same thing over and over and I'm kind of tired of being on the "get my data" stage instead of being on the "do something with it" stage
[22:57:37] *** jkremser has joined #angularjs
[22:57:37] *** jkremser has joined #angularjs
[22:57:50] *** Silne30 has quit IRC
[22:57:56] *** bkuberek_ has quit IRC
[22:58:04] *** mehlah has joined #angularjs
[22:58:06] <davek> ftwordring, yes data retrieval, transformation and display.
[22:58:38] <wafflejock> ftwordring: yeah much nicer when the API uses JSON
[22:58:38] *** Cavallari has quit IRC
[22:58:39] *** CodeFriar has quit IRC
[22:58:41] *** dariocravero has joined #angularjs
[22:58:42] <davek> That's just how things are done. If your data from the back end is just totally unusable then readdress your service.
[22:59:12] <wafflejock> thebigredgeek: don't think that should happen but haven't tried it When bootstrapping, first Angular applies all constant definitions. Then Angular applies configuration blocks in the same order they were registered.
[22:59:23] *** kaeku has quit IRC
[22:59:28] <ftwordring> wafflejock: My API is entirely XML based and it's a pain b/c I can't touch it so a lot of my javascript work is just iterating through huge json interpretations of xml and constructing a reasonable looking object
[22:59:29] *** marc_v92 has quit IRC
[22:59:33] <thebigredgeek> thats what I thought, but I ran into a couple of issues last week
[22:59:41] <thebigredgeek> I've picked apart the compiler and injector, so it was surprising :(
[22:59:47] <in_deep_thought> if I have a simple text field with submit button form that is submitted with an ng-click=“submit()” so submit is the function, can I pass the text field text into submit, so that it can do something with it? What would I call this? submit(data)?
[22:59:53] *** Silne30 has joined #angularjs
[22:59:54] <davek> ftwordring, don't do that on the client. Parse and reconstruct your XML on the server side.
[22:59:57] <cigarshark> promise unwrapping has been deprecated and disabled in latest version of angularjs...hmmm
[23:00:09] *** gweedo767 has joined #angularjs
[23:00:18] *** livingstn has quit IRC
[23:00:23] *** Silne30 has quit IRC
[23:00:24] <BahamutWC|Work> thebigredgeek: I’d avoid using too many providers with the same name
[23:00:27] <thebigredgeek> It's supposed to do constants, then config blocks, then bootstrap, then run blocks, then finally everything else, by way of following the dep tree
[23:00:38] *** Silne30 has joined #angularjs
[23:00:38] *** xat- is now known as xAt
[23:00:43] <thebigredgeek> BahamutWC|Work: you broke my spirit with that rejection
[23:00:44] <thebigredgeek> Good offer?
[23:00:53] *** mfunkie has quit IRC
[23:01:23] <thebigredgeek> and ya I don't use providers with same name. I don't think you can?
[23:01:24] <BahamutWC|Work> nah - got stuff cleared up with my boss
[23:01:27] <ftwordring> davek: the data is good, it's just escaped in various different ways and I don't want to rewrite an API function that just returns a decoded version
[23:01:31] <BahamutWC|Work> although, I’m still wary
[23:01:38] *** Seus has joined #angularjs
[23:01:48] *** mennea has quit IRC
[23:01:56] <ftwordring> davek: like for instance, one API call returns the same property of an object as another API call but one is URI encoded and one isn't
[23:01:59] <ftwordring> it's just a huge pain
[23:02:17] <davek> Yeah that sounds like pretty awful API design.
[23:02:17] <BahamutWC|Work> it may very well be that within the next couple of months I may be searching again though depending on how things go
[23:02:25] *** richiebkr has joined #angularjs
[23:02:33] <ftwordring> davek: lol it wasn't so much designed as "sprung into existance"
[23:02:38] <BahamutWC|Work> thebigredgeek: you can use services with the same name - the last most defined one overwrites the previous ones
[23:02:42] *** mehlah has quit IRC
[23:02:54] <wafflejock> ftwordring: heh yeah rapidly put together with duct tape
[23:02:59] *** Ilyas has quit IRC
[23:03:02] *** djam90 has quit IRC
[23:03:13] <snurfery> that'd be a cool kickstarter
[23:03:20] <dman777_alter> davek: hmm...actually it is defined angular.module('main.vips').filter('humanize', function() {}.... strange this error shows up angular.module('main.vips').directive('actionButton', function($modal) {}
[23:03:21] <snurfery> like the guy who can fill 100 water balloons in a minute
[23:03:25] <davek> Rapid prototyping involves paper mache. Everything else is just shitty engineering.
[23:03:35] <wafflejock> I prefer cardboard
[23:03:41] <wafflejock> but whatever floats your boat
[23:03:46] <thebigredgeek> BahamutWC|Work: we could still interview
[23:04:03] *** stevvooe has quit IRC
[23:04:07] <ftwordring> inheriting this project and then being told to convert it to angular is making me google new jobs
[23:04:22] <thebigredgeek> That way if you are unhappy again you have an offer ready :)
[23:04:27] <thebigredgeek> Like any time
[23:04:29] <wafflejock> it's not a real prototype if it isn't made of 90% cardboard and 10% duct/electrical tape IMO :P
[23:04:35] <BahamutWC|Work> heh, I wouldn’t be against that
[23:04:53] <thebigredgeek> Assuming there is a good mutual fit. Cool. Do you reach out via skype with me and we can set something up?
[23:05:03] <davek> Cardboard boat: Did not pass initial tests. Ship as "aquatic platform as a service" and offer buoyant modules for exorbitant prices.
[23:05:04] <davek> Next idea.
[23:05:07] *** seydoggy has quit IRC
[23:05:11] *** hannesvdvreken has joined #angularjs
[23:05:26] <thebigredgeek> rhyneandrew at gmail dot com
[23:05:27] <thebigredgeek> ;)
[23:05:36] *** edrocks has quit IRC
[23:05:40] <BahamutWC|Work> gotcha
[23:05:43] *** seydoggy has joined #angularjs
[23:05:43] *** Silne30 has quit IRC
[23:05:49] *** Reskp has joined #angularjs
[23:05:53] *** sincarne has quit IRC
[23:06:01] *** danizord has quit IRC
[23:06:15] *** dutis has joined #angularjs
[23:06:27] *** stevvooe has joined #angularjs
[23:06:28] <ftwordring> It irked me today when there was a publicly accessible static util function in a class that had nothing to do with it's function.
[23:06:35] *** JasonSto_ has joined #angularjs
[23:06:54] *** DrMabuse_ has joined #angularjs
[23:06:55] <ftwordring> Like: Cars.convertProprietaryIdToBigDecimal
[23:07:19] *** henn1nk has joined #angularjs
[23:07:23] <davek> Do you need some counseling or?
[23:07:36] *** dlongley-db has joined #angularjs
[23:07:55] *** ericbarnes has quit IRC
[23:08:15] *** davlefou has joined #angularjs
[23:08:19] *** darrin has quit IRC
[23:08:31] *** spencercarnage has quit IRC
[23:08:46] <wafflejock> haha, I've got problems davek BIG PROBLEMS! my electronic sand metal machine isn't perfect damn humans messing everything up ;)
[23:09:23] *** grindmodeon has quit IRC
[23:09:26] *** juampy has quit IRC
[23:09:31] *** dve has quit IRC
[23:09:32] *** JasonStoltz has quit IRC
[23:09:36] *** fouzko has quit IRC
[23:09:38] *** riets has joined #angularjs
[23:10:02] *** fouzko has joined #angularjs
[23:10:04] *** seydoggy has quit IRC
[23:10:06] *** chrisbirk has joined #angularjs
[23:10:08] <blak422> anyone here familiar with hapijs
[23:10:16] *** dve has joined #angularjs
[23:10:18] <davek> Took me way too long to figure out what you were alluding to, wafflejock.
[23:10:23] <wafflejock> ftwordring: yeah it happens more than it should for sure but code organization problems like that aren't the worst in the world
[23:10:30] *** encrypt3d_fracti has quit IRC
[23:10:30] <wafflejock> davek: yeah sorry I got pretty obscure there
[23:10:47] *** BillCriswell has quit IRC
[23:10:53] *** JasonSto_ has quit IRC
[23:10:55] *** mfunkie has joined #angularjs
[23:11:03] <riets> hello, I need a good tutorial to make angular login, you can recommend me one?
[23:11:07] *** encrypt3d_fracti has joined #angularjs
[23:11:08] *** DrMabuse_ has quit IRC
[23:11:42] *** zeroquake has quit IRC
[23:12:06] *** juanlas has quit IRC
[23:12:08] *** elrabin has quit IRC
[23:12:11] <davek> blak422, it looks bizarre but easy enough to understand. What is your question?
[23:12:16] *** Gambit- has quit IRC
[23:12:30] *** encrypt3d_fracti has quit IRC
[23:12:44] *** uf6667 has quit IRC
[23:12:44] *** elrabin has joined #angularjs
[23:12:44] *** encrypt3d_fracti has joined #angularjs
[23:12:46] <davek> Strike the bizarre, this looks really cool.
[23:12:54] <blak422> :D
[23:12:55] *** jeffszusz has quit IRC
[23:13:12] <blak422> I am attempting to dl a file
[23:13:14] *** xaxisx has quit IRC
[23:13:21] *** juanlas has joined #angularjs
[23:13:26] *** uf6667 has joined #angularjs
[23:13:35] <davek> blak422, alright and what's the problem?
[23:14:31] *** fouzko has quit IRC
[23:15:02] *** dve has quit IRC
[23:15:59] <davek> blak422, you haven't mentioned the issue yet :P
[23:16:12] *** xaxisx has joined #angularjs
[23:16:16] *** maxmatix has joined #angularjs
[23:16:37] <maxmatix> hello guys, I need some tutorial on responsive desing
[23:16:45] <blak422> using sockets I request the file. that triggers a series of listeners that fecth the file and saves it to the server the via socket I tell angular to request the file via $http.get()
[23:16:47] *** epantzar has joined #angularjs
[23:16:52] *** dariocravero has quit IRC
[23:17:13] *** maxmatix has quit IRC
[23:17:27] *** elrabin has quit IRC
[23:17:35] *** mfunkie has quit IRC
[23:17:41] <blak422> even though inspecting dev tool I can see the request and response
[23:18:02] *** mfunkie has joined #angularjs
[23:18:09] *** naxs has joined #angularjs
[23:18:19] *** jobelenus has quit IRC
[23:18:21] <davek> Well if you're communicating by sockets HTTP isn't going to have anything to do with it.
[23:18:27] <davek> Or am I misunderstanding here?
[23:18:48] <blak422> I think your are misunderstanding
[23:18:55] *** zackiv31 has joined #angularjs
[23:19:01] *** dutis has quit IRC
[23:19:19] <blak422> sockets basically tells the browser whether the file is ready to be requested or not
[23:19:47] *** yowmamasita has joined #angularjs
[23:19:57] *** jon___ has quit IRC
[23:20:21] *** amargherio has quit IRC
[23:20:28] <davek> Got it, so you send the client a message when the back end processing is complete. I do something similar.
[23:20:37] <davek> So what is the issue then?
[23:20:39] <blak422> yup
[23:20:51]
<yowmamasita> help: $http.get('/someUrl') gets me to the http:// url even though im using https://
[23:20:54] <blak422> Its sorta distributed sys
[23:21:08] *** FIFOd[a] has joined #angularjs
[23:21:12] *** frostig has quit IRC
[23:21:19] <dlongley-db> anyone in here seeing detached DOM node leaks w/ngAnimate?
[23:21:28] <blak422> many browsers -> server <- many node clients
[23:21:32] *** bbankes has quit IRC
[23:21:58] *** screamingbanshee has quit IRC
[23:22:08] <blak422> the file just doenst download
[23:22:12] <cigarshark> wafflejock: you were right about the object being returned. I stupidly mismatched my dependency injection array and was looking at an entirely different injected item.
[23:22:15] <blak422> idk why
[23:22:25] *** MTGap has joined #angularjs
[23:22:33] *** naxs has quit IRC
[23:22:40] <wafflejock> cigarshark: oh man I've done that before... I just use ngmin now and don't do that array syntax manually
[23:22:47] *** mfunkie has quit IRC
[23:22:49]
<yowmamasita> help: $http.get('/someUrl') gets me to the http:// url even though im using https://, thus error on accept-origin header
[23:22:51] *** ftwordring has quit IRC
[23:23:00] <reduce> hrm, making use of the dom expando feature, ye or ney
[23:23:02] <reduce> ?
[23:23:27] <wafflejock> yowmamasita: is everything loaded via https?
[23:23:35] <wafflejock> reduce: huh?
[23:23:40] <yowmamasita> wafflejock: yes
[23:23:41] *** drej has quit IRC
[23:23:43] <zwacky> hey guys, i'm having a bit of a problem with ng-view and controller madness here. all of my routes have their own controller. every controller has $scope.page = 'actual-page-name';.
[23:23:56] <reduce> wafflejock: assigning properties to dom elements
[23:24:00] <zwacky> i'm using that {{ page }} variable outside of ng-view for the navigation though, so it's not reading it from all different controllers. should i use just a directive that checks the url?
[23:24:08] <cigarshark> wafflejock: i heard ngmin is deprecated? I'm using the boilerplate setup from JHipster
[23:24:16] *** bjr217 has joined #angularjs
[23:24:22] *** teeray has quit IRC
[23:24:30] *** arek_deepinit has quit IRC
[23:24:33] <wafflejock> cigarshark: could be but it's been working fine for me so far
[23:24:39] *** fouzko has joined #angularjs
[23:24:44] <davek> zwacky, wha? Don't parameterize your page name at all would be my suggestion.
[23:24:57] <davek> If you have many different views and many different controllers just put the page name in your view..
[23:25:05] <riets> wafflejock: I have an idea, my backend control if session exists, it return a json error if session doesn't exist. I only need to save login user information and create a interceptor to capture the error, is it a good idea?
[23:25:08] *** lw has quit IRC
[23:25:31] <zwacky> davek, how to get that variable in your view to your navigation, which is outside of the view?
[23:25:36] <davek> blak422, that's hardly enough info to help you debug.
[23:25:48] <wafflejock> riets: yup in general, I put the login stuff in a service then like you said use an interceptor to deal with redirect to login on 401 or whatever unauthorized error
[23:25:50] <davek> zwacky, no idea what you mean? You know what pages your site has yeah?
[23:25:59] *** FIFOd[a] has quit IRC
[23:26:00] <davek> Just put those page names in your navigation..
[23:26:02] <yowmamasita> wafflejock: any reason you know why it still loads http instead of https? damn......
[23:26:05] *** sharondio has quit IRC
[23:26:06] *** UniBot has quit IRC
[23:26:26] <wafflejock> yowmamasita: nope sorry I've used angular on a few https sites though and haven't seen this problem I rarely have leading / in my urls but don't think it should matter
[23:26:27] *** UniBot has joined #angularjs
[23:26:40] *** calumet has quit IRC
[23:27:02] *** henn1nk has quit IRC
[23:27:12] *** paul_dijou has joined #angularjs
[23:27:20] *** bertrandk has joined #angularjs
[23:27:46] *** TorchDragon has quit IRC
[23:27:57] <davek> yowmamasita, the request URIs default to the protocol used by the origin (this isn't angular-specific this is just how URIs work in browsers). If you need to access an HTTPS endpoint, you need to state the full URI or make the origin use HTTPS.
[23:27:58] *** Nizumzen has joined #angularjs
[23:27:59] <wafflejock> reduce: well in terms of properties used to hold data associated with DOM elements I think it's a bad thing better to have the model in some JSON object you can look at and test rather than stored in the view
[23:28:01] *** stevvooe has quit IRC
[23:28:02] *** lsiv568 has quit IRC
[23:28:10] *** stevvooe_ has joined #angularjs
[23:28:11] *** phuh has quit IRC
[23:28:18] <wafflejock> reduce: if you mean something else I might need a link to understand
[23:28:28] *** lsiv568 has joined #angularjs
[23:28:38] *** phuh has joined #angularjs
[23:28:51] *** teddyp1cker has quit IRC
[23:28:56] <wafflejock> er POJO not necessarily really JSON with the quoted properties and all
[23:28:56] *** cspra85 has joined #angularjs
[23:29:03] *** AlexZanf has quit IRC
[23:29:09] <reduce> wafflejock: im using a 3rd party library called jsPlumb which allows the user to create connections between objects on screen
[23:29:23] <reduce> think of it like a flowcharting app
[23:29:24] <riets> wafflejock: How can I save user information after I login?
[23:29:24] *** UniBot has quit IRC
[23:29:24] *** stevvooe_ has quit IRC
[23:29:25] *** CodeFriar has joined #angularjs
[23:29:40] <reduce> when a connection is created i just get the source and destination dom objects
[23:29:49] <wafflejock> riets: services/factories are singletons so just make an object that's a property of the service/factory
[23:29:51] *** stevvooe has joined #angularjs
[23:29:56] <reduce> so i have to link those back to my model objects
[23:29:58] *** mehlah has joined #angularjs
[23:30:22] <wafflejock> reduce: hmm yeah not sure about that... I might try to roll my own directive to take over the functionality depending on how complex it is
[23:30:23] <reduce> so bunging them into properties on the dom elements that represent them would be handy
[23:30:38] *** francisl has quit IRC
[23:30:52] <yowmamasita> davek: i see... but i dont see the Origin header in any of my requests?
[23:30:59] <reduce> wafflejock: that sounds like a lot of work
[23:31:24] <yowmamasita> davek: also, /main.css loads correctly with the https url
[23:31:50] *** futuredale has quit IRC
[23:31:53] <riets> wafflejock: nice, thanks
[23:31:54] *** lordkryss has joined #angularjs
[23:31:54] *** boboc has joined #angularjs
[23:32:11] *** bertrandk has quit IRC
[23:32:40]
<yowmamasita> i'm also just redirecting http:// to https:// at start.. i'm using nginx config to do a permanent redirect
[23:32:42] *** joroci has quit IRC
[23:32:58] *** lsiv568 has quit IRC
[23:33:06] <cigarshark> any former Marionette users here who feel like AngularJS is more productive even for large projects?
[23:33:08] *** joroci has joined #angularjs
[23:33:10] *** ehynds has quit IRC
[23:33:11] *** tomzx`afk is now known as tomzx
[23:33:12] *** secondjeff has quit IRC
[23:33:23] *** mmccook has quit IRC
[23:33:24] *** xaxisx has quit IRC
[23:33:32] *** ki0 has quit IRC
[23:33:50] *** {DV8} has quit IRC
[23:34:03] <uf6667> how come I'm able to do $http.get but not $http.post? it converts into OPTIONS :(
[23:34:13] <reduce> wafflejock: im going with the first guys suggestion, keeping the jsPlumb stuff in a service
[23:34:15] <uf6667> all I want is to be able to post json
[23:34:22] <davek> yowmamasita, nothing to do with the origin header. The browser makes an automatic determination of the resource origin by parsing the URI.
[23:34:33] <BahamutWC|Work> uf6667: that has to do with CORS
[23:35:03] <BahamutWC|Work> because you’re making a cross-origin request, the browser is firing an OPTIONS request to determine what permissions the server is configured for
[23:35:07] <wafflejock> uf6667: yeah classic CORS problem you see OPTIONs request when trying to POST
[23:35:09] <uf6667> BahamutWC|Work: how do I change it?
[23:35:17] *** icarus75 has quit IRC
[23:35:24] *** Snugug has quit IRC
[23:35:26] <yowmamasita> davek: .. my uri is using https.. does it have something to do with the self signed certificate?
[23:35:36] <BahamutWC|Work> either your stuff needs to be hosted on the same domain, or that api endpoint needs to be configured to do the request
[23:35:45] <wafflejock> uf6667: if the backend and front end are served from the same domain/port pair it just works otherwise you need to specify the Accept headers on the server
[23:35:56] *** elrabin has joined #angularjs
[23:36:09] <yowmamasita> davek: does it have a conscious switch because my browser/angular thinks the url is insecure?
[23:36:15] *** marr has joined #angularjs
[23:36:29] <uf6667> I did this
[23:36:31] <uf6667> app.all('/*', function(req, res, next) {
[23:36:31] <uf6667> res.header("Access-Control-Allow-Origin", "*");
[23:36:31] <uf6667> res.header("Access-Control-Allow-Headers", "X-Requested-With");
[23:36:31] <uf6667> next();
[23:36:31] <uf6667> });
[23:36:38] *** dlongley-db has left #angularjs
[23:36:41] <davek> uf6667, multiline pastes go in a pastebin.
[23:36:43] *** mven has joined #angularjs
[23:36:59] <uf6667> oops sorry
[23:37:04] <uf6667> I use this in express
[23:37:07] *** dariocravero has joined #angularjs
[23:37:22] <davek> uf6667, also you can simply use middleware for that instead of a catch-all.
[23:37:35] <wafflejock> uf6667: looks okay though you see these headers if you try to hit the endpoints with POSTMan or check out the network panel
[23:37:39] *** jonashw has quit IRC
[23:37:45] <BahamutWC|Work> there should be some express middleware that lets you do it easier
[23:37:57] *** bluesm has joined #angularjs
[23:37:58] <uf6667> POSTMan gives me the right result, but then again it does post
[23:38:13] <uf6667> thanks BahamutWC|Work let me check it out
[23:38:57] *** Siecje has left #angularjs
[23:39:02] *** artisangoose has left #angularjs
[23:39:17] <wafflejock> yowmamasita: are you prompted initially to accept the certificate despite it not being able to be validated?
[23:39:37] <zumba_addict> jaawerth: here is what I did. it works with custom key, $httpProvider.defaults.headers.get = { 'Report-Content-Type' : 'application/csv; charset=utf-8' };
[23:39:48] *** imehesz has quit IRC
[23:39:53] <jaawerth> zumba_addict: I just got back and tried it
[23:40:01] <zumba_addict> but if content-type only, it doesn't work. Maybe Content-type doesn't really work in Request
[23:40:08] <jaawerth> zumba_addict: it worked for met when I just set the Content-Type on the request
[23:40:11] <wafflejock> yowmamasita: really think this is probably a browser level thing not an angular issue directly but could be
[23:40:12] *** elrabin has quit IRC
[23:40:19] <zumba_addict> really? how did you do it?
[23:40:24] <zumba_addict> what is the code?
[23:40:31] <uf6667> you're a saviour BahamutWC|Work THANK YOUUUUUUUUUUUUUUUUUUUU
[23:40:39] *** sweeper has joined #angularjs
[23:40:42] <BahamutWC|Work> haha np
[23:40:46] *** edrocks has joined #angularjs
[23:40:51] <zumba_addict> jaawerth: are you sure you were doing a GET method request?
[23:40:53] <wafflejock> think uf6667 is having that network problem caitp was having earlier
[23:40:53] *** tplaner has quit IRC
[23:41:00] *** kvnm has quit IRC
[23:41:07] <uf6667> lol, there should be some sort of faq :)
[23:41:08] <yowmamasita> wafflejock: it says The site's security certificate is not trusted! and the option to continue is just to proceed anyway
[23:41:13] *** rhp has joined #angularjs
[23:41:18] *** ingshtrom has quit IRC
[23:42:15] <uf6667> thanks
[23:42:17] <wafflejock> uf6667: it's not the most succinct FAQ ever
[23:42:18] <BahamutWC|Work> wafflejock: I think caitp is familiar with cors though
[23:42:20] <wafflejock> but lots there
[23:42:32] <wafflejock> BahamutWC|Work: yeah was a bad joke about the repeating letters just ignore me most of the time :P
[23:42:44] <BahamutWC|Work> heh
[23:42:53] *** frege has quit IRC
[23:42:54] <BahamutWC|Work> also Bootstrap 3 is making me sad
[23:43:11] <zumba_addict> jaawerth: are you looking for you code?
[23:43:20] *** mehlah has quit IRC
[23:43:22] *** UniBot has joined #angularjs
[23:43:23] <BahamutWC|Work> I didn’t realize how damaging Bootstrap 3’s * { box-sizing: border-box; } style was going to make me
[23:43:28] <BahamutWC|Work> how sad*
[23:43:39] *** endash has quit IRC
[23:44:06] *** zanea|away is now known as zanea
[23:44:44] <jaawerth> zumba_addict: just double-checking it
[23:44:55] <zumba_addict> ok
[23:44:57] <jaawerth> zumba_addict: aaand I think you're right. Works with everything but GET
[23:45:04] <zumba_addict> wow
[23:45:07] <jaawerth> zumba_addict: or rather, it works with POST and PUT
[23:45:10] <zumba_addict> yes
[23:45:13] <zumba_addict> that's true
[23:45:14] <jaawerth> it makes sense if you think about it
[23:45:14] <wafflejock> DrMabuse: nice add it to ngModules.org too (it's easy and get you some more exposure) can make a gh-pages branch too (I used the github settings section to do one of the predesigned ones)
[23:45:14] *** lw has joined #angularjs
[23:45:22] <zumba_addict> i need a doc so I can show to them that it doesn't work with GEt
[23:45:23] <jaawerth> sending formatted data isn't really what GET is for
[23:45:29] *** Ethix has joined #angularjs
[23:45:36] <zumba_addict> it's weird that REST clients is able to send Content-Type on GET request
[23:45:44] <DrMabuse> @wafflejack when its finished thx
[23:46:06] *** panchisco has joined #angularjs
[23:46:29] *** yoshokatana has quit IRC
[23:46:47] *** dejanr has joined #angularjs
[23:46:58] *** cspra85 has quit IRC
[23:47:13] *** Nizumzen has quit IRC
[23:48:29] <zumba_addict> i read that :)
[23:48:34] *** UniBot has quit IRC
[23:48:39] <jaawerth> zumba_addict: basically, GET requests have no body, and therefore don'aren't meant to use content-type stuff
[23:48:49] <zumba_addict> got it
[23:48:53] *** Dan_ has quit IRC
[23:48:54] *** CodeFriar has quit IRC
[23:48:56] <zumba_addict> i had a hard time understand that
[23:49:02] <zumba_addict> understanding that
[23:49:28] *** Dan_ has joined #angularjs
[23:49:34] <davek> Which is dumb because the request body would be super useful for passing request parameters that are not so easily urlencoded.
[23:49:47] <jaawerth> the problem is that a lot of servers don't know how to handle it
[23:50:14] <davek> And even if they did, its just non-standard. I was just saying the standard is silly, that seems like an oversight.
[23:50:26] *** cspra85 has joined #angularjs
[23:50:31] <in_deep_thought> can someone help me understand how the forms work in angular? so once the form gets submitted with ng-submit, it seems that the text in the field is accesible through the controller with $scope.____? how do I know what this text input is named?
[23:50:38] <zumba_addict> i told the backend dev to disable checking of content-type on GET request
[23:50:56] <zumba_addict> i have not done any proper work today, just debugging content-type for 6 hours
[23:51:09] <zumba_addict> and our deadline is tomorrow
[23:51:11] <zumba_addict> :(
[23:51:12] <jaawerth> zumba_addict: here's the thing, though - you're using $http.get, right?
[23:51:21] *** oste has quit IRC
[23:51:27] *** dejanr has quit IRC
[23:51:47] <zumba_addict> i tried that too. I also used Restangular but it's not able to update Content-type
[23:52:06] <zumba_addict> tell me what you think about $http?
[23:52:27] *** zackiv31 has quit IRC
[23:53:07] *** mikerrrrrr has joined #angularjs
[23:53:46] <davek> blak422, it looks like the hapijs reply() function accepts a stream as a parameter, you should be able to pass the file read stream to this.
[23:54:02] <davek> Oh apparently there's also just reply.file() which would be easier.
[23:54:10] <blak422> yeah
[23:54:21] <blak422> that is what Im using
[23:54:33] <blak422> reply.file()
[23:54:43] <blak422> cache-control:no-cache
[23:54:43] <blak422> Connection:keep-alive
[23:54:43] <blak422> content-disposition:attachment; filename=someDAT.txt
[23:54:43] <blak422> content-type:text/plain; charset=utf-8
[23:54:44] <blak422> Date:Tue, 29 Jul 2014 21:45:08 GMT
[23:54:48] <blak422> those are my header
[23:54:53] <blak422> headers*
[23:54:59] <blak422> from the request
[23:55:38] <blak422> I can preview the response which as expected is the file but no download gets initiated
[23:56:17] <Dan_> how do i make sure the data arrives before the page displays?
[23:56:49] <jaawerth> zumba_addict: no, I'm asking
[23:56:58] <zumba_addict> oh, what was your question?
[23:57:01] *** ceephax has quit IRC
[23:57:08] *** henn1nk has joined #angularjs
[23:57:11] <zumba_addict> I'm currently using Restangular?
[23:57:16] <jaawerth> zumba_addict: I'm asking because if you use raw $http instead of a convenience/wrapper method, you can set a body on the request object with data: <yourdata>
[23:57:29] <jaawerth> zumba_addict: and then it will allow you to set content-type
[23:57:30] <jaawerth> in fact...
[23:57:31] *** dcherman has quit IRC
[23:57:33] <jaawerth> hmm
[23:57:34] <zumba_addict> but request is GET
[23:57:34] <jaawerth> one sec
[23:57:37] <davek> blak422, what were you expecting?
[23:57:40] *** ColKurtz has quit IRC
[23:57:46] <davek> You received the file in the response, that's all your server does
[23:57:51] <zumba_addict> i don;t think we'll be able to set a body in GET, right?
[23:57:56] <jaawerth> zumba_addict: $http.get is just a convenience function. You can use raw $http and just set method: 'GET'
[23:58:06] *** hefferon has joined #angularjs
[23:58:17] <zumba_addict> so with $http.get, we can set a body?
[23:58:18] <jaawerth> I just did it and it worked, but only when I set data: <something> (IE, only when I gave it a body)
[23:58:21] *** riets has quit IRC
[23:58:28] *** henn1nk has quit IRC
[23:58:45] *** henn1nk has joined #angularjs
[23:59:08] *** whiteboo_ has quit IRC
[23:59:11] <jaawerth> zumba_addict: again, I jsut tried it without .get, just with pure $http({method: 'GET', data: {some: data},...})
[23:59:14] <jaawerth> but.. one sec
[23:59:19] <henn1nk> sodele 4.3.1 mit ssl
[23:59:34] <blak422> to my browser initiate a download for the requested file