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

Toggle Join/Part | bottom
[00:00:45] <roadrunneratwast> a loop with the templates ?
[00:00:47] *** juanpablo__ has quit IRC
[00:00:52] *** samuel02 has joined #angularjs
[00:00:59] <Grokling> alasi: or.. you could do thing.init(someJson); if you had an instance of a class like we were playing with yesterday.
[00:01:02] <alasi> Yes, i think the problem is I need to make the dispensed arr global. That would be the issue
[00:01:13] <alasi> Not global, i mean serviced
[00:01:20] *** Beatzebub_ has quit IRC
[00:01:44] <Grokling> alasi: catch me up.. I'm not following this 'dispensed' business..
[00:02:17] *** wex13r has joined #angularjs
[00:02:30] <alasi> As in, iterating over the arr of objects and pushing each "id" property to another arr. For example, [{id: "foo"}, {id: "bar"}] translates to ["foo", "bar"]
[00:02:56] <alasi> The problem atm was that the values in the latter were immutable to the former
[00:03:21] <Grokling> I'm biased of course, but I think you should do it the way we were looking at yesterday ;-)
[00:03:44] <Grokling> alasi !primitives
[00:03:44] <UniBot> Because javascript passes primitives by value, the values you assigned to $scope (the ones you're using in your view) are copies and not references, so they won't update when your data changes.
[00:04:01] <Grokling> Not so much $scope here, but same thing applies.
[00:04:11] <alasi> Aha
[00:04:29] <alasi> because my setup is that each of the <options> are modifiable in another controller
[00:04:45] *** freelyfred has joined #angularjs
[00:04:48] <Grokling> right, so pass the whole option (that way it'll be a reference)
[00:05:27] <Grokling> That's why the ng-options allows you to 'finger' specific properties like that.
[00:05:47] <alasi> hrm
[00:06:16] <alasi> ok let me rewrite this
[00:06:35] <Grokling> alasi: want to stream that plunker and hack on it?
[00:06:43] *** marcjs_ has joined #angularjs
[00:06:52] <alasi> Grokling: Shure!
[00:06:57] *** enaqx has quit IRC
[00:07:27] <Grokling> You make/fork one this time - that way you'll have it for posterity rather than me.
[00:07:45] <alasi> Ok
[00:07:58] *** aslate has joined #angularjs
[00:08:35] <alasi> Im initializing what i have so far right now
[00:08:52] *** javierbyte has joined #angularjs
[00:08:56] *** jlmitch5dev has quit IRC
[00:09:47] <Grokling> When you figure out how to initialise what you'll have two years from now, please let me know.. I'd love to be able to do that!
[00:10:10] *** NormySan has quit IRC
[00:10:23] *** DarrenCraig has joined #angularjs
[00:10:51] *** javierbyte has left #angularjs
[00:11:19] *** marcjs_ has quit IRC
[00:11:20] *** enaqx has joined #angularjs
[00:11:45] *** roadrunneratwast has quit IRC
[00:11:47] <alasi> XD Sorry that grammar
[00:11:48] *** Sontakey has joined #angularjs
[00:12:07] *** SergioFilhow has joined #angularjs
[00:12:23] *** aslate has quit IRC
[00:12:54] <alasi> Grokling: ok here we go
[00:12:55] <alasi> http://plnkr.co/edit/J8qL7KE7t1iZgkKGorr6?p=preview
[00:12:56] *** jasonp has quit IRC
[00:13:05] <alasi> this is the immutable edition
[00:13:22] *** memento__ has joined #angularjs
[00:13:33] <alasi> oh
[00:13:36] <alasi> here is a stream rather
[00:13:38] <alasi> http://plnkr.co/edit/?p=streamer&s=dNloiAqvACRLoABz
[00:14:18] *** memento_ has quit IRC
[00:14:36] *** robksawyer has joined #angularjs
[00:14:44] *** marshall_ has joined #angularjs
[00:15:27] *** zz_night-owl is now known as night-owl
[00:15:55] *** tskaggs has joined #angularjs
[00:16:41] *** dacuca has joined #angularjs
[00:17:04] *** DarrenCraig has quit IRC
[00:18:10] *** Sky[x] has quit IRC
[00:19:32] *** startupality has quit IRC
[00:21:06] *** nya has quit IRC
[00:21:30] *** samuel02 has quit IRC
[00:22:37] *** arcanin has joined #angularjs
[00:22:54] *** discgo has joined #angularjs
[00:23:07] <arcanin> do you know how i could 'reset' the base url for deep states, when using angular ui
[00:23:14] *** sirsirsir has joined #angularjs
[00:23:32] *** night-owl is now known as zz_night-owl
[00:23:49] <arcanin> ie. i have a parent "home.library" state, routed to "/home/library, and a "home.library.upload" child state, that i want to bind on "/upload"
[00:23:54] *** disgrntld has quit IRC
[00:24:08] *** Embassy has quit IRC
[00:24:18] <snurfery> url: '^upload'
[00:24:32] <snurfery> err
[00:24:34] *** ron1 has joined #angularjs
[00:24:36] *** mennea has quit IRC
[00:24:44] <snurfery> url: '^/upload'
[00:24:53] <alasi> Awesomeee
[00:25:12] *** Embassy has joined #angularjs
[00:25:17] *** mennea has joined #angularjs
[00:25:21] <Grokling> 'Native' enough for you alasi?
[00:25:23] <arcanin> thanks snurfery, it works great! :)
[00:25:24] *** TyrfingMjolnir has joined #angularjs
[00:25:30] <alasi> Grokling: haha, totally :)
[00:25:49] <Grokling> Don't go stealing it's resources, or mistreating it now eh..
[00:27:05] <snurfery> in the spirit of thanksgiving, he should do exactly that
[00:27:44] *** sirsirsir has quit IRC
[00:28:09] <alasi> Grokling: My rifles are stowed!
[00:29:00] <Grokling> Ooohh.. I didn't realise there were thanksgiving grinches too! I shall call you my cousin. I am one of the slightly more common Christmas grinches.
[00:29:20] <Grokling> rifles?! It was muskets when my natives got the treatment.
[00:29:30] <alasi> my bad
[00:29:35] <alasi> Cannons, what have you
[00:29:43] <Grokling> alasi: Nah - you can't be that old..
[00:29:56] *** jondbaker has joined #angularjs
[00:29:57] <alasi> that is true
[00:30:05] <Grokling> Don't forget the common cold, and syphillis..
[00:30:11] <alasi> if angular is a cannon, is backbone a trebuchet
[00:30:22] <alasi> >:)
[00:30:28] *** Lewix has joined #angularjs
[00:30:28] *** Lewix has joined #angularjs
[00:30:34] *** yelvert has joined #angularjs
[00:30:34] <snurfery> we need emoji in here
[00:30:38] <alasi> Wait is burning other MV*'s against the rules
[00:30:53] *** jlmitch5dev has joined #angularjs
[00:31:07] <Grokling> alasi: the Geneva convention.. you have to actually kill it, not just maim or disfigure.
[00:31:12] *** nesquerra has joined #angularjs
[00:31:16] <alasi> Haha
[00:31:19] *** mennea has quit IRC
[00:31:49] <alasi> Grok, is there any way to fix the whole deal with the options weirding out and creating 2 blank ones while u modify the current one?
[00:32:44] <Grokling> 2 blank ones? You'll get one blank one if your ng-model doesn't match one of the options...
[00:33:07] *** cacts|works has quit IRC
[00:33:16] *** Solid1 is now known as Solid1_afk
[00:33:27] <Grokling> Oh yeah - I see.. two.
[00:33:42] <alasi> Haha
[00:33:55] *** disorder20 has quit IRC
[00:33:56] *** charuru has joined #angularjs
[00:33:57] <alasi> The 2nd one is a result of there being no default
[00:34:03] *** DrMabuse has joined #angularjs
[00:34:03] <alasi> which i cannot fix either D:
[00:34:17] *** balr0g has quit IRC
[00:34:18] *** MistahKurtz has quit IRC
[00:34:21] *** yts has quit IRC
[00:34:32] <alasi> Bonus points if the default is not within the list, I would not want the NONE represented as editable
[00:34:59] *** JoeGaudet has joined #angularjs
[00:34:59] <Grokling> yeah - because you're messing with the key, you now don't match the blank one, and the one you don't have isn't represented in the options list..
[00:35:22] <Grokling> That's why we use an 'id' that we don't change, and a 'value' that we display.
[00:35:23] *** opiates has quit IRC
[00:35:30] *** stormbytes has joined #angularjs
[00:35:31] <alasi> Ahhhh
[00:35:32] *** yelvert has quit IRC
[00:35:53] <alasi> Duhduhduh
[00:36:10] *** nesquerra has quit IRC
[00:36:10] <Grokling> so, now your irrelephants are not so irrelevant huh.
[00:36:26] *** crakrjak has quit IRC
[00:36:38] *** renlo has quit IRC
[00:36:45] <alasi> Lol
[00:36:57] <alasi> ok lets see
[00:37:29] *** dacuca has quit IRC
[00:37:55] <alasi> ah, cool :)
[00:38:23] *** DrMabuse has quit IRC
[00:39:05] <alasi> Ok i updated the stream
[00:39:23] *** kuadrosx has quit IRC
[00:39:58] *** edrocks has quit IRC
[00:40:33] <Grokling> There you go.. works now.
[00:41:11] *** cboden has quit IRC
[00:41:40] *** enaqx has quit IRC
[00:41:54] <alasi> Still a blank default value ahh
[00:42:31] <Grokling> Yeah - so set your ctrl.option to one of the keys (in the controller)
[00:42:36] <alasi> aha
[00:43:12] *** doginal has quit IRC
[00:43:17] *** nerdy has joined #angularjs
[00:43:37] *** nerdy has quit IRC
[00:43:54] *** knownasilya has joined #angularjs
[00:45:18] *** mdedetrich has joined #angularjs
[00:45:30] *** oste has joined #angularjs
[00:45:30] *** roven has quit IRC
[00:46:14] *** bmac has quit IRC
[00:47:39] *** optikalmouse has joined #angularjs
[00:48:11] *** t1mmen has joined #angularjs
[00:48:25] *** roven has joined #angularjs
[00:49:27] *** bmac has joined #angularjs
[00:50:07] <TheAceOfHearts> Hmmm
[00:50:28] <kzoo> http://pastebin.com/NtLzH4V5, how can i make this work, i need to prepend data:image/jpeg;base64, to my pipe(res)
[00:50:29] *** Lewix has quit IRC
[00:51:14] *** doginal has joined #angularjs
[00:51:48] *** nerdy has joined #angularjs
[00:52:35] <TheAceOfHearts> Foxandxss: you there?
[00:52:49] <Foxandxss> kinda
[00:52:53] <TheAceOfHearts> lol
[00:53:28] <TheAceOfHearts> do you know if there'd be any interest in breaking up ui-bootstrap into multiple repos? that way you can pull in only the parts you care about :D
[00:53:43] <Foxandxss> TheAceOfHearts: I am not part of the team anymore
[00:53:47] <TheAceOfHearts> ah
[00:53:49] <Foxandxss> so I have no idea
[00:53:52] *** jlmitch5dev has quit IRC
[00:54:06] *** tskaggs has quit IRC
[00:54:06] *** lexek__ has joined #angularjs
[00:54:19] <Foxandxss> they have toooooooo much to do
[00:54:23] <Foxandxss> and they go 1mp/h
[00:54:25] <Foxandxss> so, guess no
[00:54:25] <TheAceOfHearts> yeah
[00:54:26] *** Lewix has joined #angularjs
[00:54:28] <TheAceOfHearts> aw
[00:55:05] <Foxandxss> that is one of the reasons I left
[00:55:25] *** startupality has joined #angularjs
[00:55:30] *** ron1 has quit IRC
[00:55:42] <TheAceOfHearts> sad~
[00:55:57] *** Wextux has joined #angularjs
[00:56:13] <Foxandxss> yeah
[00:56:24] <Foxandxss> they are really busy with their life, I don't blame them tho
[00:56:40] <TheAceOfHearts> well, if they made it lots of small repos it'd be easier to manage :|
[00:56:45] <TheAceOfHearts> and easier to contribute
[00:56:46] *** dsdeiz has joined #angularjs
[00:56:49] <alasi> What does @Fat do all day then? :P
[00:57:03] <Fuzzier> what does ui-bootstrap do?
[00:57:13] <TheAceOfHearts> http://angular-ui.github.io/bootstrap/
[00:57:13] *** Beatzebub_ has joined #angularjs
[00:57:20] <Fuzzier> or rather hows it different from
[00:57:23] <Fuzzier> regular bootstrap
[00:57:33] <TheAceOfHearts> it's 100% angular
[00:57:41] <Fuzzier> how come u cant like
[00:57:42] <alasi> oh
[00:57:44] *** Oxynum has joined #angularjs
[00:57:45] <Fuzzier> just use bootstrap
[00:57:47] <Fuzzier> with angular
[00:57:48] <alasi> lol
[00:57:54] <Fuzzier> or are there problems
[00:58:16] <sacho_> you could.
[00:58:19] *** ron1 has joined #angularjs
[00:58:29] <TheAceOfHearts> regular bootstrap doesn't play well with angular
[00:58:33] <Fuzzier> oh
[00:58:39] <Fuzzier> im sort of mashing it together right now
[00:58:42] <Fuzzier> dunno how it'll pan out
[00:58:54] <Fuzzier> cuz I took an existing bootstrap templat
[00:58:58] <Fuzzier> and just put angular in there
[00:59:01] <TheAceOfHearts> lol
[00:59:03] <TheAceOfHearts> that's horrible
[00:59:05] <Fuzzier> not sure if there's a better way.
[00:59:06] <Fuzzier> lol
[00:59:14] <TheAceOfHearts> I mean, w/e
[00:59:17] <TheAceOfHearts> it's fine for some apps
[00:59:24] <TheAceOfHearts> it depends on how long you plan to maintain your app
[00:59:26] <TheAceOfHearts> and how large it'll be
[00:59:30] <TheAceOfHearts> for smaller apps it's probably fine
[00:59:31] <Fuzzier> not very large/long
[00:59:38] <TheAceOfHearts> probably fine for you
[00:59:40] *** Sontakey has quit IRC
[00:59:40] *** lexek__ has quit IRC
[00:59:42] <Fuzzier> lol
[00:59:42] <TheAceOfHearts> but if you're maintaining a larger app
[00:59:42] <TheAceOfHearts> ugh
[00:59:47] <Fuzzier> so you would
[00:59:50] <Fuzzier> build it from the ground up
[00:59:54] <TheAceOfHearts> no
[00:59:59] <TheAceOfHearts> I'm using ui-bootstrap
[01:00:02] <TheAceOfHearts> I just don't like it
[01:00:04] <Fuzzier> oh
[01:00:07] <Fuzzier> whats the process anyways
[01:00:13] <TheAceOfHearts> Hmm?
[01:00:14] *** startupality has quit IRC
[01:00:15] <Fuzzier> if you're building an app from scratch
[01:00:25] <Fuzzier> whats generally the best/fastest way to get it running
[01:00:26] <Fuzzier> from a template?
[01:00:33] <TheAceOfHearts> well, I dunno
[01:00:37] <TheAceOfHearts> there's generators to get you started
[01:00:41] <Fuzzier> my problem is i can build out the functionality and angular fine
[01:00:48] <Fuzzier> but like..the css
[01:00:50] <Fuzzier> and the html
[01:00:50] *** marr has quit IRC
[01:00:53] <Fuzzier> i dont know where to start
[01:00:53] *** Beatzebub__ has quit IRC
[01:01:23] *** vassagus has quit IRC
[01:01:41] *** jonr22 has joined #angularjs
[01:02:32] *** kas84 has quit IRC
[01:02:36] *** doginal has quit IRC
[01:02:40] *** zz_night-owl is now known as night-owl
[01:03:23] *** MaxV has joined #angularjs
[01:03:45] *** jmichaelward has joined #angularjs
[01:03:57] *** kirfu has quit IRC
[01:04:17] *** ron1 has quit IRC
[01:04:30] *** t1mmen has quit IRC
[01:05:43] *** ChadStrat has joined #angularjs
[01:06:39] *** digisky has joined #angularjs
[01:07:06] *** jonr22 has quit IRC
[01:07:08] *** t1mmen has joined #angularjs
[01:08:14] *** sirsirsir has joined #angularjs
[01:08:48] *** mdedetrich has quit IRC
[01:09:08] <TheAceOfHearts> well, idk
[01:09:09] <TheAceOfHearts> it depends
[01:09:36] *** ehalas has quit IRC
[01:09:53] <Grokling> My boss used to fine me everytime I said 'it depends'.
[01:10:22] *** Oxynum has quit IRC
[01:12:22] <TheAceOfHearts> lol
[01:12:32] *** ziggurat81 has quit IRC
[01:12:36] *** sirsirsir has quit IRC
[01:14:44] *** DrMabuse has joined #angularjs
[01:15:03] *** jlmitch5dev has joined #angularjs
[01:15:30] *** Lewix has quit IRC
[01:16:23] *** josh has quit IRC
[01:17:44] *** kokeroulis has quit IRC
[01:19:05] *** fabiofb has joined #angularjs
[01:19:56] *** dsdeiz has quit IRC
[01:21:22] *** bundledavid has joined #angularjs
[01:21:50] *** faddah has quit IRC
[01:22:04] *** threesixes has joined #angularjs
[01:22:06] *** il has quit IRC
[01:22:35] *** startupality has joined #angularjs
[01:23:05] *** plushy has quit IRC
[01:23:35] *** MrC0de has joined #angularjs
[01:23:47] <MrC0de> Hey any of you guys heard of respoke?
[01:25:31] <MrC0de> cuz hey use angular in their demo and I dont know angular :P
[01:25:37] *** enaqx has joined #angularjs
[01:25:58] *** bundledavid has quit IRC
[01:29:42] <davek> Grokling, the saving grace of all engineers everywhere.
[01:29:53] <davek> Will this product meet specifications? It depends.
[01:30:15] *** kokeroulis has joined #angularjs
[01:30:29] <davek> Even the fucking space shuttle had like a 1 in 9 chance of catastrophic failure, I think its safe to say that "it depends" is universally applicable.
[01:30:59] <Grokling> davek: Sure, but apparently it's "not helpful"..
[01:31:32] *** jondbaker has quit IRC
[01:31:37] *** t1mmen has quit IRC
[01:31:54] *** nesquerra has joined #angularjs
[01:32:42] *** dacuca has joined #angularjs
[01:32:53] *** fabiofb has quit IRC
[01:33:18] *** fabiofb has joined #angularjs
[01:34:08] <davek> Grokling, well.
[01:34:10] <davek> It depends.
[01:34:20] *** SergioFilhow has quit IRC
[01:34:37] <Grokling> $1 for the swear jar thanks davek..
[01:36:33] *** robksawyer has quit IRC
[01:36:43] <Grokling> alasi: My browser needed a restart.. Or rather, my OS needed some RAM back..
[01:36:44] *** nesquerra has quit IRC
[01:36:44] *** bmac has quit IRC
[01:37:31] <Grokling> plunker isn't the friendliest on RAM when you have a bunch of them running for days on end!
[01:38:02] *** yoshokatana has joined #angularjs
[01:38:16] *** {DV8} has joined #angularjs
[01:39:16] *** whitebook has joined #angularjs
[01:39:30] *** optikalmouse has quit IRC
[01:39:44] *** cornerma1 has joined #angularjs
[01:42:37] *** cornerman has quit IRC
[01:42:48] *** cornerma1 is now known as cornerman
[01:43:50] *** lilbaby has joined #angularjs
[01:44:00] *** whitebook has quit IRC
[01:45:26] <TyrfingMjolnir> Where are the parts of the AngularJS source that intercepts the DOM elements?
[01:45:35] *** diegoaguilar has quit IRC
[01:45:37] <davek> TyrfingMjolnir, do you mean the virtual dom implementation?
[01:45:38] *** digisky has quit IRC
[01:45:42] <TyrfingMjolnir> In particular the root objects
[01:45:49] <TyrfingMjolnir> *object
[01:46:14] <TyrfingMjolnir> davek: I mean the part that puts html in the "workbench"
[01:46:27] <TyrfingMjolnir> I would like to use Angular on other XML formats than HTML
[01:46:37] <TyrfingMjolnir> ubl
[01:46:39] <TyrfingMjolnir> oag
[01:46:41] <TyrfingMjolnir> svg
[01:46:43] <TyrfingMjolnir> and so on
[01:46:44] <alasi> Grokling: aha
[01:46:47] *** robksawyer has joined #angularjs
[01:47:04] *** ChadStrat has quit IRC
[01:47:05] *** freelyfred has quit IRC
[01:47:23] *** lilbaby has quit IRC
[01:47:29] *** freelyfred has joined #angularjs
[01:47:42] *** dannyc has joined #angularjs
[01:48:46] *** caitp has quit IRC
[01:49:37] *** stormbytes has quit IRC
[01:51:39] *** doginal has joined #angularjs
[01:51:53] *** dannyc has quit IRC
[01:52:28] *** jlmitch5dev has quit IRC
[01:53:35] *** Foxandxss has quit IRC
[01:54:09] <alasi> Grokling: I think for now, to just make a messy first version I will stick with what we had before the optionsMap stuff
[01:54:24] *** Embassy has quit IRC
[01:54:30] *** uru is now known as uru|away
[01:55:13] <Grokling> As you wish.
[01:55:22] *** TyrfingMjolnir has quit IRC
[01:55:42] *** nesquerra has joined #angularjs
[01:56:41] <davek> TyrfingMjolnir, https://github.com/Matt-Esch/virtual-dom Not quite sure what you mean but this is imployed to build the abstract DOM tree.
[01:57:21] *** Beatzebub__ has joined #angularjs
[01:58:58] <CanyonMan> can 'grunt serve' be a proxy too in addition to serving your stuff i wonder
[02:01:05] *** TyrfingMjolnir has joined #angularjs
[02:01:20] *** Beatzebub_ has quit IRC
[02:01:29] <snurfery> CanyonMan: yup
[02:01:45] <snurfery> for example you can proxy "/api" to go to your backend server or something
[02:01:51] *** startupality has quit IRC
[02:02:27] <CanyonMan> That's waht I want it to do!!!
[02:03:11] <CanyonMan> I still probably will have stupid cross-site problems though since my stupid backend is https
[02:03:15] *** beilabs___ has quit IRC
[02:04:08] *** jeffisabelle has quit IRC
[02:04:47] *** tristanp has joined #angularjs
[02:05:43] <CanyonMan> oh maybe that's not a problem, holy merde i think this looks like it might work
[02:06:02] *** beilabs___ has joined #angularjs
[02:06:51] *** bmac has joined #angularjs
[02:07:17] *** lilbaby has joined #angularjs
[02:07:40] *** Takyoji[laptop] has joined #angularjs
[02:07:45] <CanyonMan> snurfery: do I need to add something besides grunt-contrib-connect for this?
[02:07:58] *** bretep has quit IRC
[02:08:52] *** soee has quit IRC
[02:09:13] *** beilabs____ has joined #angularjs
[02:09:15] * hernan grunts
[02:09:59] <CanyonMan> ahh its a separate thing ok
[02:10:28] *** beilabs___ has quit IRC
[02:10:56] *** startupality has joined #angularjs
[02:11:14] <snurfery> not sure, I bow before the google gods like everyone else
[02:11:32] <snurfery> I just remember a coworker using it and me feeling like an idiot because I never thought to do it
[02:11:57] <CanyonMan> yeah exactly
[02:12:07] <CanyonMan> instead you screw around with loading your app on to a real server to do a simple test
[02:12:13] *** jaznow has quit IRC
[02:12:16] <CanyonMan> or running your browser in bend-over-and-spread-em mode
[02:13:25] *** alinou has quit IRC
[02:14:27] *** startupality has quit IRC
[02:15:42] <snurfery> so frustrated
[02:16:21] <snurfery> I figured out how to get a form to publish itself on a parent's scope by naming the form something like name="obj.MyForm"
[02:16:32] <snurfery> and having $scope.obj ={} in the controller
[02:16:53] <snurfery> but right after I learned that, I try to apply it to a different page and it won't friggin work
[02:17:01] *** bmac has quit IRC
[02:17:07] <snurfery> ahh there must be something with isolate scope
[02:17:17] <snurfery> that must be it
[02:17:52] *** MaxV has quit IRC
[02:18:59] *** vectra has joined #angularjs
[02:19:56] *** epantzar has quit IRC
[02:20:05] <BahamutWC> snurfery: heh, I had to do that trick with forms with ui bootstrap's modal
[02:23:00] <snurfery> this is so frustrating
[02:23:54] <snurfery> I can see the scope right there but it's not going up the prototype chain all the way, it's just stopping one level before where I need it
[02:24:15] *** MuffinMan` has quit IRC
[02:24:37] *** robksawyer has quit IRC
[02:24:50] *** mary5030 has joined #angularjs
[02:25:37] *** DrMabuse has joined #angularjs
[02:27:10] *** pen has joined #angularjs
[02:27:49] <davek> snurfery, isn't that fucking annoying?
[02:28:11] <davek> One of the major pain points in angular for me. Just generally speaking the form system itself is kinda bunk.
[02:29:09] <snurfery> ahh got it
[02:29:17] <snurfery> what a bunch of nonsense
[02:29:19] *** mary5030 has quit IRC
[02:29:28] *** Takyoji[laptop] has quit IRC
[02:29:48] <snurfery> had to use controllerAs: "ctrl" then name the form "ctrl.myForm"
[02:29:52] *** DrMabuse has quit IRC
[02:30:13] <snurfery> how ridiculous, oh well I should be using controllerAs more often anyway
[02:31:09] *** tristanp has quit IRC
[02:31:32] <snurfery> davek: yeah I've devoted the whole day to cleaning up my forms
[02:31:39] *** tristanp has joined #angularjs
[02:31:42] <snurfery> they had literally zero error states, feedback, etc
[02:31:55] *** yelvert has joined #angularjs
[02:31:55] *** nerdy has quit IRC
[02:32:54] *** alasi has quit IRC
[02:33:16] *** darrin has joined #angularjs
[02:35:12] *** SergioFilhow has joined #angularjs
[02:36:13] *** tristanp has quit IRC
[02:36:30] *** yelvert has quit IRC
[02:38:09] *** deanclkclk has joined #angularjs
[02:39:38] *** SergioFilhow has quit IRC
[02:41:51] <monokrome> Does anyone here know how I can use Traceur to convert a directory full of JS scripts into a single output file without providing each file to the compiler separately?
[02:44:21] *** pen has quit IRC
[02:45:22] <monokrome> I guess that's just using modules, but then you end up with this big index file to manage :/
[02:45:38] *** pen has joined #angularjs
[02:47:25] *** tomengland_mbp has joined #angularjs
[02:49:55] *** pen has quit IRC
[02:50:35] *** pen has joined #angularjs
[02:51:40] *** linojon_ has joined #angularjs
[02:51:59] *** toddynho has joined #angularjs
[02:52:00] *** linojon has quit IRC
[02:52:01] *** linojon_ is now known as linojon
[02:52:42] *** deanclkclk_ has quit IRC
[02:54:03] *** themime has joined #angularjs
[02:54:13] *** mmealling has quit IRC
[02:54:33] *** pencilcheck has joined #angularjs
[02:54:41] *** cotko has joined #angularjs
[02:54:52] *** pen has quit IRC
[02:54:58] <themime> is there a way to easily find the new element in a collection when using $observe?
[02:55:20] *** BillCriswell has joined #angularjs
[02:56:01] <themime> oh i guess its always the last element in an array maybe?
[02:56:08] *** mary5030 has joined #angularjs
[02:56:39] *** pen has joined #angularjs
[02:57:00] *** sirsirsir has joined #angularjs
[02:57:25] *** Beatzebub_ has joined #angularjs
[02:58:53] *** pencilcheck has quit IRC
[03:00:06] *** BillCriswell has quit IRC
[03:00:18] *** pencilcheck has joined #angularjs
[03:01:07] *** pen has quit IRC
[03:01:12] *** Beatzebub__ has quit IRC
[03:01:37] *** motionman has joined #angularjs
[03:01:38] *** sirsirsir has quit IRC
[03:02:08] <CanyonMan> the proxy almost works. it works for some sites. for mine it says: "Fatal error: socket hang up"
[03:02:12] <CanyonMan> I have no idea what taht means
[03:02:27] * CanyonMan starts wireshart
[03:03:28] <Grokling> wireshart. Awesome.
[03:03:57] *** pen has joined #angularjs
[03:04:16] *** mmealling has joined #angularjs
[03:04:40] <Grokling> What are these copper stains in your pants? Wireshart.
[03:04:42] *** darrin has quit IRC
[03:05:18] *** pencilcheck has quit IRC
[03:07:05] <davek> Beautiful.
[03:07:46] *** wsmoak has quit IRC
[03:07:56] *** Aliks has quit IRC
[03:08:31] *** Aliks has joined #angularjs
[03:08:38] <CanyonMan> huh, the source really makes it look like the option is not 'https' as the document suggests, but rather is 'secure'
[03:09:22] *** joshontheweb has joined #angularjs
[03:09:59] *** jonr22 has joined #angularjs
[03:10:17] *** bundledavid has joined #angularjs
[03:10:42] *** marshall_ has quit IRC
[03:10:47] <freelyfred> monokrome did you find a solution?
[03:11:06] <monokrome> freelyfred: Not really, I'm just using a potentially long list of import statements now
[03:11:33] <freelyfred> do you use a build tool like gulp or grunt?
[03:11:38] *** BillCriswell has joined #angularjs
[03:11:46] <monokrome> Just a Makefile
[03:12:34] <freelyfred> if you wanted to use gulp, it'd be a really simple thing to do
[03:12:36] <Grokling> gulp ftw. concatenate, minify, ng-annotate. So much goodness to be had.
[03:12:43] <CanyonMan> nope that wasn't it, it's not 'secure' ... but wireshart proves that it's trying to send a GET on the socket, not start an SSL negotiation
[03:12:50] *** firelinks has joined #angularjs
[03:12:58] *** Aliks has quit IRC
[03:13:00] <freelyfred> but I'm not versed in Makefiles
[03:13:07] <monokrome> freelyfred: I'm growing tired of tools like gulp due to common issues like these: https://github.com/patrickxb/gulp-iced/issues/3
[03:13:39] <Grokling> Seems like another reason to stay away from coffeescript to me!
[03:13:45] *** daslicht has quit IRC
[03:14:04] <monokrome> I'm not using coffee-script if I can get traceur to be sueful
[03:14:06] <monokrome> useful*
[03:14:10] <monokrome> not a simple thing to do, apparently
[03:14:13] <freelyfred> ^I'm in the same boat atm
[03:14:25] <freelyfred> just use traceur with gulp...?
[03:14:27] *** bundledavid has quit IRC
[03:14:50] <monokrome> freelyfred: I literally just explained why I'm not using gulp. The makefile is easy, but I am having an issue with traceur.
[03:15:22] <monokrome> I could also just concatenate them together with another tool (not gulp) and then feed them to traceur assuming it supports input from stdin (not sure that it does)
[03:16:04] <freelyfred> no but you say issues like that, and the specific example linked to a version of coffeescript, so using traceur would alleviate the coffeescript issue as you wouldn't be using it :P
[03:16:42] <freelyfred> I'm just surprised you're having issues with gulp, I've never had issues with it
[03:16:54] *** mmealling has quit IRC
[03:17:14] <monokrome> freelyfred: That's not even coffee-script, it's a gulp plugin that wraps *iced coffee script*
[03:17:22] <monokrome> Poor community plugins is the issue
[03:17:42] <monokrome> I could write my own plugins too, but writing a Makefile is easy. Gulp is unrelated to the traceur question.
[03:17:43] <freelyfred> sorry, by version of coffeescript I meant a variation
[03:17:57] *** mogaj has joined #angularjs
[03:18:05] <monokrome> Well, the issue is that lots of gulp plugins have poor documentation and are poorly supported.
[03:18:34] <freelyfred> that is true
[03:18:49] <monokrome> Including the most popular ones
[03:18:54] *** MaxV has joined #angularjs
[03:19:01] <monokrome> and the Gulp tool itself is far from a decent build tool
[03:19:09] *** motionman has quit IRC
[03:19:56] <freelyfred> is there a way to find all the files in a directory with a makefile?
[03:20:22] <monokrome> I wrote a tool that wraps Gulp into a more configuration-like build tool (https://github.com/monokrome/glp) and have seen poor response from the gulp team about a couple small changes that are core node principles ignored by them which causes my tool to have usability issues, and they have no interest in fixing the issues. So, now I'm doing a Makefile, it's super easy, and I am wondering about traceur
[03:20:24] <monokrome> specifically.
[03:20:37] *** dman777 has quit IRC
[03:20:44] <monokrome> freelyfred: Not without resorting to shell scripting
[03:20:54] <freelyfred> and then you could concat all the js files before feeding it into traceur
[03:20:57] *** caitp has joined #angularjs
[03:21:15] <monokrome> freelyfred: Yes, that is why I said that I could use another tool for concatenation but still doesn't answer whether or not traceur can do this
[03:21:17] *** pen has quit IRC
[03:21:49] *** pen has joined #angularjs
[03:22:01] <monokrome> Then again, apparently Makefiles don't like you to have implicit as well as explicit dependencies in the same rule
[03:22:09] *** samuel02 has joined #angularjs
[03:22:13] <monokrome> Maybe I should just write a build tool :/
[03:22:19] *** dman777 has joined #angularjs
[03:22:52] <freelyfred> do you have a list of differences between gulp and glp?
[03:23:09] <caitp> the u
[03:23:13] *** jondbaker has joined #angularjs
[03:23:19] <monokrome> freelyfred: GLP uses the gulp API but your configuration is written in a configuration language instead of a big ugly code file
[03:23:22] *** MaxV has quit IRC
[03:23:29] <freelyfred> caitp heh
[03:23:32] <monokrome> https://github.com/monokrome/angular-glp
[03:23:39] <monokrome> There's an example
[03:23:50] *** GeneralChoomin has quit IRC
[03:24:08] <monokrome> glp.yml can be glp.json, glp.ini, glp.xml, glp,yml, or whatever format you prefer thanks to prefer (http://gitub.com/LimpidTech/prefer)
[03:25:15] *** jrajaratnam has joined #angularjs
[03:25:16] *** tomengland_mbp has quit IRC
[03:25:31] <monokrome> but either way, that's all tangential from whether traceur can compile all sources in a directory without being given their names expicitly
[03:25:57] *** pen has quit IRC
[03:26:04] *** saint-ron has joined #angularjs
[03:26:22] <caitp> > people preferring to write xml configuration files
[03:26:25] <freelyfred> correct me if I'm wrong, but isn't gulp meant to be a tool to assist in the scripting of a build tool, rather than a configuration of prebuilt scripts
[03:26:32] *** motionman has joined #angularjs
[03:26:32] *** samuel02 has quit IRC
[03:26:59] <monokrome> Nope
[03:27:28] <freelyfred> I think the way gulp works now avoids the pitfalls of Grunt, which was configured, rather than scripted, and ironically lacked configuration
[03:27:36] <monokrome> It's supposedly a supported use-case, but the community doesn't respond well to people doing it
[03:27:45] *** doginal has quit IRC
[03:27:45] <caitp> gulp is basically "streams are cool and virtual files are cool so lets use those concepts for everything"
[03:28:05] <freelyfred> caitp and it works well, so why not use it?
[03:28:30] <caitp> eh, the wellness of its workings is debatable --- at this point it's pretty much user preference
[03:28:46] *** pen has joined #angularjs
[03:29:27] *** JoeGaudet has quit IRC
[03:29:30] *** threesixes has quit IRC
[03:30:08] <freelyfred> I like how in gulp the complexity of someone's scripts is not limited by the plugins you use, but rather your knowledge of the tool
[03:30:24] *** tfennelly has quit IRC
[03:30:33] *** Lewix has joined #angularjs
[03:30:33] *** epantzar has joined #angularjs
[03:30:59] *** pencilcheck has joined #angularjs
[03:31:00] <freelyfred> things like compiling coffee script files, and then adding javascript files and concatenating them all without using temp files or anything is so powerful and liberating
[03:31:01] *** deg has joined #angularjs
[03:31:27] *** RedOrangeZ has quit IRC
[03:31:33] <monokrome> meh, it can cause problems as well
[03:31:36] *** dobladez has quit IRC
[03:32:02] *** beilabs____ has quit IRC
[03:32:12] *** rburns has joined #angularjs
[03:32:23] *** drej has joined #angularjs
[03:32:35] <Lewix> Grokling: im attempting to use httpbackend with resource but im unable to do so
[03:32:50] <freelyfred> I haven't found anything I couldn't do in it yet, but even if I had, the benefits of using it far away any possible shortcomings
[03:32:59] <freelyfred> *far outweigh
[03:33:00] <Lewix> Grokling: it returns an incomprehensible output , which is in fast the app.js page (instead of the response)
[03:33:11] <Lewix> json response*
[03:33:30] *** pen has quit IRC
[03:34:01] *** deg__ has quit IRC
[03:34:06] *** snurfery has quit IRC
[03:34:06] *** pen has joined #angularjs
[03:34:09] <Lewix> so i want to make a a request and receive fake json data from httpbackend instead of using a backend
[03:34:30] *** AciD`` has quit IRC
[03:34:46] <Lewix> if you have an idea how to implement this, I'll give you a lottery ticket
[03:34:48] *** Milk_weed has joined #angularjs
[03:35:00] *** bmac has joined #angularjs
[03:35:03] <Grokling> Lewix: I have distant recollections of doing something like that once.. Let me have a look in my test folder. I'll have to dust it off first.
[03:35:07] *** joshontheweb has quit IRC
[03:35:11] <BobbieBarker> caitp still lives!
[03:35:16] <caitp> i do
[03:35:16] *** epantzar has quit IRC
[03:35:17] *** pencilcheck has quit IRC
[03:35:20] <Lewix> Grokling: thank you so much man
[03:35:28] <caitp> did people think i died or something? :s
[03:35:28] <Lewix> caitp: !!
[03:35:32] <Lewix> yes
[03:35:36] <caitp> o_o
[03:35:45] <BobbieBarker> i started a rumor that you had prostrate cancer
[03:35:54] <Lewix> we collected funds
[03:36:01] <Lewix> BobbieBarker: so you were lying!?
[03:36:04] <caitp> not quite, but i had some correctional work done on sinuses
[03:36:25] <BobbieBarker> broseph chicks don't have prostrates.... I thought it was an obvious enough lie.
[03:36:32] <caitp> i had some deformities in there that were making it hard to breathe :(
[03:36:35] <BobbieBarker> but people still donated
[03:36:44] <Lewix> BobbieBarker: she used to be a man
[03:36:48] *** joshontheweb has joined #angularjs
[03:36:52] <BobbieBarker> caitp i'm supposed to get something done in there too cuz i had my nose broken about 5x
[03:36:53] *** tomengland_mbp has joined #angularjs
[03:36:59] <caitp> serious?
[03:37:02] <BobbieBarker> yeah
[03:37:06] <caitp> dang
[03:37:18] <BobbieBarker> maybe more... i kind of quit counting after the 2nd time
[03:37:20] <BobbieBarker> lol
[03:37:27] *** BillCriswell has quit IRC
[03:37:29] <Grokling> She could have had prostrate cancer - that the one you get from lying down. She definitely didn't have prostate cancer though ;-)
[03:37:34] <caitp> Lewix, that's not something you should say about anyone, especially when they're right in front of you =)
[03:37:54] *** zivester has joined #angularjs
[03:37:54] <Lewix> caitp: i wanted to show BobbieBarker how obvious lies sounds like. My apologies
[03:37:57] *** rburns has quit IRC
[03:38:17] <caitp> alright well I'm just saying, if you're wrong, you're gonna break some hearts saying that
[03:38:22] <caitp> and if you're right, you're gonna break some hearts saying that
[03:38:28] *** pen has quit IRC
[03:38:28] <caitp> there's no winning scenario with that line lol
[03:38:37] <BobbieBarker> there isn't?
[03:38:48] <caitp> yeah, it's a pretty bad thing to say
[03:38:49] <Lewix> caitp: but I'm right
[03:38:56] <Grokling> I dunno - I thought prostrate cancer was kinda humorous. It's got lying all over it!
[03:39:07] *** asheinfeld has joined #angularjs
[03:39:17] <davek> Grokling, beautiful.
[03:39:22] <caitp> alright alright --- anyways yeah, septoplasty
[03:39:24] <davek> You're on a goddamn roll tonight.
[03:39:24] <Grokling> !google prostrate
[03:39:25] <UniBot> Grokling: http://lmgtfy.com/q?:search
[03:39:27] <caitp> and it's great, i can breathe now
[03:39:31] <caitp> feels good
[03:39:35] <davek> caitp, you're having your sevens removed?/
[03:39:51] <Lewix> Grokling: did you find it
[03:39:56] <Grokling> unibot! you let me down!
[03:39:57] *** Milk_weed has quit IRC
[03:40:00] <BobbieBarker> caitp the only thing holding me back is a deep and profound fear of surgery
[03:40:01] <BobbieBarker> lol
[03:40:03] *** MrC0de has quit IRC
[03:40:08] <Lewix> Grokling: if you do your're gonna win some hearts
[03:40:09] <caitp> yeah
[03:40:16] *** nirvana has joined #angularjs
[03:40:23] <nirvana> Hi
[03:40:26] <Lewix> BobbieBarker: don't feat anything but fear itself
[03:40:29] *** josh has joined #angularjs
[03:40:29] <Lewix> BobbieBarker: you'll be fine
[03:40:31] <nirvana> How can I use d3 in angular
[03:40:32] <BobbieBarker> and surgery?
[03:40:32] <Grokling> Sorry Lewix - I must've dreamed it. I never got that far. Only actual tests for my api.
[03:40:49] <davek> nirvana, oh come on that's Googleable.
[03:40:50] <BobbieBarker> nirvana: google for an angular d3 module ???? profit
[03:40:56] <nirvana> davek
[03:40:59] *** dhrami has quit IRC
[03:41:02] *** joshontheweb has quit IRC
[03:41:04] <nirvana> There are mnultiple ways
[03:41:05] <davek> No apologies, nirvana.
[03:41:08] <Lewix> Grokling: crap. would you have an idea how to go about it /
[03:41:10] <nirvana> np
[03:41:23] *** tomengland_mbp has quit IRC
[03:41:24] <nirvana> ok.
[03:41:26] <nirvana> Let me google
[03:41:35] <BobbieBarker> damn davek with the hard deny, atleast i told him to google in a semi nice way
[03:41:42] <davek> nirvana, there are multiple ways yes, have you tried any, is there something in the way?
[03:42:08] <nirvana> I am using bower to install the dependency
[03:42:12] <nirvana> And created a service
[03:42:13] <BobbieBarker> davek: clearly he wants you to drive to his house and write his code for him
[03:42:18] <nirvana> No no
[03:42:20] <Grokling> !remember google is :nick: http://lmgtfy.com/q?:tokens
[03:42:21] <nirvana> Not at all
[03:42:23] <nirvana> :D
[03:42:27] *** renlo_ has joined #angularjs
[03:42:32] <BobbieBarker> just check it out of the repo, and save on gas money>?
[03:42:39] <davek> That's about as simple a solution as they come, as you are simply providing the d3 source with yours.
[03:42:42] <Grokling> !google d3+angular
[03:42:43] <UniBot> Grokling: http://lmgtfy.com/q?d3+angular
[03:42:51] *** codeninja-don has joined #angularjs
[03:43:01] <nirvana> What links are these?
[03:43:03] <nirvana> they dont work
[03:43:06] *** saint-ron has quit IRC
[03:43:14] <davek> nirvana, don't know but they smell like teen spirit. I can't do this anymore.
[03:43:22] <davek> I've run out of songs.
[03:43:30] <BobbieBarker> davek: i'm thinking about writing some code later to set up some firebase services etc, maybe you could just do it for me
[03:43:30] <nirvana> Hmm.
[03:43:42] <Grokling> !remember google is :nick: http://lmgtfy.com/?q=:tokens
[03:43:45] <Grokling> !google d3+angular
[03:43:46] <UniBot> Grokling: http://lmgtfy.com/?q=d3+angular
[03:43:50] <nirvana> I get this
[03:43:51] <nirvana> Error: [$injector:unpr] Unknown provider: d3ServiceProvider <- d3Service
[03:44:01] <Grokling> Now it's fixed. sheesh.
[03:44:03] <BobbieBarker> sounds like you have an unkown provider
[03:44:12] <BobbieBarker> you should uh.... go figure out how to know it.
[03:44:16] *** Aliks has joined #angularjs
[03:44:28] <BahamutWC> you did something like module.value('d3', window.d3)?
[03:44:31] <davek> BobbieBarker, probably not!
[03:44:44] <BobbieBarker> davek: i'm just asking sheesh.
[03:44:47] <nirvana> npoe
[03:44:57] *** fedenunez has joined #angularjs
[03:45:01] *** dacuca has quit IRC
[03:45:13] <davek> BobbieBarker, I'm having fun rewriting all of my migrations from scratch!
[03:45:14] *** asheinfeld has quit IRC
[03:45:15] <nirvana> I’ll get back
[03:45:17] <davek> Because Sequelize's migrator kinda blows.
[03:45:28] <nirvana> But thanks for thq quick replies
[03:45:31] <nirvana> Davek
[03:45:36] *** beilabs____ has joined #angularjs
[03:45:51] *** emmesswhy has joined #angularjs
[03:46:09] *** cannap has quit IRC
[03:48:39] *** roven has quit IRC
[03:49:19] *** dannyc has joined #angularjs
[03:49:32] *** sheplu has joined #angularjs
[03:49:40] *** Aliks has quit IRC
[03:49:46] *** toddynho has quit IRC
[03:49:50] *** apoorvparijat has joined #angularjs
[03:50:13] *** Aliks has joined #angularjs
[03:50:18] *** beilabs____ has quit IRC
[03:50:45] *** emmesswhy has quit IRC
[03:51:05] <CanyonMan> It works! Thanks, wireshart!
[03:52:27] *** threesixes has joined #angularjs
[03:52:31] *** araujo has quit IRC
[03:54:07] *** dannyc has quit IRC
[03:54:48] *** Aliks has quit IRC
[03:55:15] *** codeninja-don has quit IRC
[03:55:54] *** lemur has quit IRC
[03:56:00] *** saint-ron has joined #angularjs
[03:56:05] *** joshontheweb has joined #angularjs
[03:56:30] *** lemur has joined #angularjs
[03:57:24] *** dman777_alter has joined #angularjs
[03:57:34] *** Beatzebub__ has joined #angularjs
[03:57:39] <Lewix> Where can i find some infor about setting up nginx with angularjs
[03:58:57] *** nirvana has quit IRC
[03:59:58] *** mdedetrich has joined #angularjs
[04:00:25] *** mkc has joined #angularjs
[04:00:55] *** tfennelly has joined #angularjs
[04:00:56] *** lemur has quit IRC
[04:01:34] *** k-dawg has joined #angularjs
[04:01:42] *** Beatzebub_ has quit IRC
[04:02:29] *** TheAceOfHearts has quit IRC
[04:02:42] *** BobbieBarker has quit IRC
[04:03:29] *** pen has joined #angularjs
[04:03:39] *** renlo_ has quit IRC
[04:03:55] *** jonr22 has quit IRC
[04:04:37] <monokrome> freelyfred: caitp?
[04:05:07] *** threesixes has quit IRC
[04:05:23] <freelyfred> monokrome hi?
[04:05:52] *** tfennelly has quit IRC
[04:05:53] *** SergioFilhow has joined #angularjs
[04:08:18] *** deg has quit IRC
[04:08:37] *** Aliks has joined #angularjs
[04:09:12] *** kapil__ has joined #angularjs
[04:09:21] <monokrome> oh never mind
[04:09:55] <monokrome> I thought you were saying that was a concatenation tool but it's somewhere here -.-
[04:10:20] *** SergioFilhow has quit IRC
[04:12:37] *** mary5030 has quit IRC
[04:12:59] *** jmichaelward has quit IRC
[04:13:06] *** learner has quit IRC
[04:13:13] *** mary5030 has joined #angularjs
[04:13:15] *** deg has joined #angularjs
[04:16:39] *** Aliks has quit IRC
[04:17:13] *** Aliks has joined #angularjs
[04:17:23] *** yoshokatana has quit IRC
[04:17:48] *** mary5030 has quit IRC
[04:19:40] *** MaxV has joined #angularjs
[04:19:51] *** emmesswhy has joined #angularjs
[04:20:00] *** pen has quit IRC
[04:20:20] *** learner has joined #angularjs
[04:20:38] *** rud has quit IRC
[04:21:16] *** rud has joined #angularjs
[04:21:16] *** rud has joined #angularjs
[04:21:26] *** TheAceOfHearts has joined #angularjs
[04:21:38] *** Aliks has quit IRC
[04:22:39] *** lemur has joined #angularjs
[04:22:49] *** codeninja-don has joined #angularjs
[04:23:41] *** rud has quit IRC
[04:23:59] *** davesidious_ has joined #angularjs
[04:24:27] *** maikowblue has joined #angularjs
[04:24:30] *** MaxV has quit IRC
[04:27:07] *** snurfery has joined #angularjs
[04:27:34] *** davesidious has quit IRC
[04:27:54] *** deanclkclk has quit IRC
[04:30:21] *** dobladez has joined #angularjs
[04:30:38] *** edrocks has joined #angularjs
[04:31:03] *** mmealling has joined #angularjs
[04:31:18] *** diegoaguilar has joined #angularjs
[04:33:11] *** Sontakey has joined #angularjs
[04:33:36] *** yelvert has joined #angularjs
[04:35:33] *** despai has quit IRC
[04:35:51] *** Prjio has quit IRC
[04:36:41] *** jlmitch5dev has joined #angularjs
[04:37:29] *** s3shs has joined #angularjs
[04:37:43] *** yelvert has quit IRC
[04:38:36] *** xvb2 has joined #angularjs
[04:39:07] *** pen has joined #angularjs
[04:39:46] *** s3shs has quit IRC
[04:39:47] *** jonr22 has joined #angularjs
[04:39:47] *** edzez has quit IRC
[04:39:48] *** daviesgeek has quit IRC
[04:40:51] *** edzez has joined #angularjs
[04:41:43] *** pencilcheck has joined #angularjs
[04:41:48] *** joshontheweb has joined #angularjs
[04:41:59] *** Left_Turn has quit IRC
[04:42:00] *** joshontheweb has quit IRC
[04:42:11] *** daviesgeek has joined #angularjs
[04:44:52] *** jonr22 has quit IRC
[04:44:56] *** Sontakey has quit IRC
[04:44:57] *** pen has quit IRC
[04:45:43] *** sirsirsir has joined #angularjs
[04:48:20] *** Sontakey has joined #angularjs
[04:48:25] *** AimerPaddle has joined #angularjs
[04:49:26] *** AimerPaddle has joined #angularjs
[04:49:53] *** sirsirsir has quit IRC
[04:51:32] *** fedenunez has quit IRC
[04:52:31] *** Sontakey has quit IRC
[04:52:56] *** k-dawg has quit IRC
[04:57:43] *** Beatzebub_ has joined #angularjs
[04:59:09] *** bundledavid has joined #angularjs
[04:59:22] *** dobladez has quit IRC
[04:59:37] *** Hackwar has joined #angularjs
[05:00:32] *** rud has joined #angularjs
[05:00:32] *** rud has joined #angularjs
[05:00:56] *** jMyles has quit IRC
[05:01:20] *** Hackwar1 has quit IRC
[05:01:41] *** Beatzebub__ has quit IRC
[05:01:45] *** threesixes has joined #angularjs
[05:03:05] *** xvb2 has quit IRC
[05:03:38] *** Grokling_ has joined #angularjs
[05:04:03] *** bundledavid has quit IRC
[05:06:36] *** wolfman2000 has quit IRC
[05:08:07] *** ome has joined #angularjs
[05:10:17] *** rburns has joined #angularjs
[05:10:32] *** ngbot has joined #angularjs
[05:10:32] <ngbot> [angular.js] caitp pushed 1 new commit to master: http://git.io/jeq1OQ
[05:10:32] <ngbot> angular.js/master b2b6d74 Sagar Ranglani: docs(ngHref): fix poor paragraph construction...
[05:10:32] *** ngbot has left #angularjs
[05:10:44] *** asheinfeld has joined #angularjs
[05:10:54] *** ngbot has joined #angularjs
[05:10:54] <ngbot> [angular.js] caitp pushed 1 new commit to v1.2.x: http://git.io/WpEnOg
[05:10:54] <ngbot> angular.js/v1.2.x 370676d Sagar Ranglani: docs(ngHref): fix poor paragraph construction...
[05:10:54] *** ngbot has left #angularjs
[05:12:33] *** jondbaker has quit IRC
[05:12:41] *** asheinfeld has quit IRC
[05:12:46] *** freelyfred has quit IRC
[05:13:41] *** jmichaelward has joined #angularjs
[05:14:41] *** Snugug has joined #angularjs
[05:17:54] *** burzum has joined #angularjs
[05:18:08] *** asheinfeld has joined #angularjs
[05:18:13] *** bmac has quit IRC
[05:18:26] *** Snugug has quit IRC
[05:18:46] *** jmichaelward has quit IRC
[05:20:32] *** burzum2 has quit IRC
[05:20:50] *** Grokling_ has quit IRC
[05:21:10] *** jimmyy has joined #angularjs
[05:22:50] *** nya has joined #angularjs
[05:22:58] *** threesixes has quit IRC
[05:23:28] *** threesixes has joined #angularjs
[05:23:31] <CanyonMan> What happened to the angular-ui with the templates ?
[05:24:01] *** bmac has joined #angularjs
[05:25:41] *** mary5030 has joined #angularjs
[05:26:41] *** bmac has quit IRC
[05:28:08] *** atomi has quit IRC
[05:29:01] *** atomi has joined #angularjs
[05:29:10] *** ngbot has joined #angularjs
[05:29:10] <ngbot> [angular.js] caitp pushed 1 new commit to master: http://git.io/Dixmvw
[05:29:10] <ngbot> angular.js/master d0351c4 Caitlin Potter: style(ngHref): make jscs happy ;-;
[05:29:10] *** ngbot has left #angularjs
[05:29:22] *** dweave has joined #angularjs
[05:29:25] *** ngbot has joined #angularjs
[05:29:25] <ngbot> [angular.js] caitp pushed 1 new commit to v1.2.x: http://git.io/VuD1VA
[05:29:25] <ngbot> angular.js/v1.2.x 14409d7 Caitlin Potter: style(ngHref): make jscs happy ;-;
[05:29:25] *** ngbot has left #angularjs
[05:32:20] *** bmac has joined #angularjs
[05:33:30] *** rburns has quit IRC
[05:34:05] *** Wextux has quit IRC
[05:34:15] *** mmealling has quit IRC
[05:34:33] *** dman777_alter has quit IRC
[05:36:39] *** Prjio has joined #angularjs
[05:36:41] *** SergioFilhow has joined #angularjs
[05:37:12] *** s3shs has joined #angularjs
[05:37:48] <oste> is it not valid to have an attribute directive like this my-test=“myTest()"
[05:37:55] *** jlmitch5dev has quit IRC
[05:38:07] <oste> i am finding that this function cannot be called
[05:38:18] <oste> if i change it to my-test=“test()”
[05:38:20] <oste> it works
[05:38:29] *** night-owl is now known as zz_night-owl
[05:38:49] *** jlmitch5dev has joined #angularjs
[05:39:01] *** tfennelly has joined #angularjs
[05:39:04] *** s3shs has quit IRC
[05:39:09] *** zz_night-owl is now known as night-owl
[05:39:46] *** whitebook has joined #angularjs
[05:40:57] *** SergioFilhow has quit IRC
[05:40:59] *** Prjio has quit IRC
[05:41:16] *** atula has joined #angularjs
[05:42:47] *** edrocks has quit IRC
[05:43:11] <atula> I'm using angular-strap's modal directive. Everything is fine... opened and working. The only problem is, inputs of the form I have in the modal, they have bidirectional binding (I wrap the modal template in a controller). Anyway, typing in these inputs does nothing.
[05:43:12] *** tfennelly has quit IRC
[05:43:15] <atula> This is very strange to me :)
[05:43:34] <atula> Not sure where to begin looking. I believe it has something to do with $scope issue?
[05:43:44] <Grokling> atula: !primitives
[05:43:45] <UniBot> Because javascript passes primitives by value, the values you assigned to $scope (the ones you're using in your view) are copies and not references, so they won't update when your data changes.
[05:43:53] *** whitebook has quit IRC
[05:44:16] <Grokling> !moar
[05:44:16] <UniBot> Grokling, MOAR DOTS!! You might be using a primitive in your view. Do you have something like this {{someValue}} or ng-model='someValue'? Instead, put an object in $scope, and bind to a property of that object: {{object.property}} or ng-model='object.property' (See those dots? They're the important part. You need MOAR of them)
[05:44:20] <atula> UniBot, no no... I'm not even trying to display anything.. the input keyup event... it's like nothing happening
[05:44:50] <atula> does that make sense?
[05:44:54] *** TeddyMurray has quit IRC
[05:45:14] *** Grokling_ has joined #angularjs
[05:45:35] <Grokling> atula: So you actually can't type in the inputs?
[05:45:42] <atula> nope.
[05:45:52] <atula> and I am using an object too
[05:46:05] <Grokling> nothing on the console?
[05:46:41] <atula> inspecting the input element just shows value='f' or one char
[05:46:49] <atula> bizarre thing
[05:47:07] *** atomical has quit IRC
[05:47:46] <Grokling> Can you replicate it?
[05:47:56] <Grokling> atula: !plunker
[05:47:56] <UniBot> "atula, paste your code here: http://plnkr.co/edit/tpl:nKLNBdve51sqOoKZAOUS Try to isolate the specific problem (i.e. the least code you can use to show the issue - not your whole app), and get the code as near to running as you can, and someone will be happy to help."
[05:48:08] *** atomical has joined #angularjs
[05:48:18] <atula> I was in the middle of pasting everything to plunkr
[05:48:23] *** caitp has quit IRC
[05:48:23] <atula> give me a sec, Grokling
[05:49:07] <Grokling> Lemme fix unibot here..
[05:49:09] *** josh-k has quit IRC
[05:49:10] *** roven has joined #angularjs
[05:49:14] <Grokling> !remember plunker is :nick, paste your code here: http://plnkr.co/edit/tpl:nKLNBdve51sqOoKZAOUS Try to isolate the specific problem (i.e. the least code you can use to show the issue - not your whole app), and get the code as near to running as you can, and someone will be happy to help.
[05:49:28] <Grokling> There. That should be better.
[05:49:36] *** josh-k has joined #angularjs
[05:51:02] *** dannyc has joined #angularjs
[05:51:41] *** emmesswhy has quit IRC
[05:51:52] *** Zesty has joined #angularjs
[05:52:01] <atula> Grokling, http://plnkr.co/edit/cDcpkL1m3qgoqavV5fTq?p=preview <--
[05:52:36] <atula> I will plug in the CDN source if you can't see something obvious
[05:52:41] <Grokling> atula: I'll have a quick look - can't promise anything though unless it's something obvious!
[05:52:46] <atula> yeah
[05:53:06] <atula> it's very simple right now... I'm just testing out the modal and angular strap
[05:53:31] *** dweave has quit IRC
[05:54:01] <Grokling> Does that button work for you?
[05:54:14] <atula> oh that's what I mean... it's not hooked up
[05:54:18] <atula> I'm just pasting the codes
[05:54:28] *** josh-k has quit IRC
[05:54:29] *** roven has quit IRC
[05:54:35] <atula> I will plug in the CDN stuff if you think it's worth the trouble
[05:54:38] <Grokling> Okay.. looks okay so far then!
[05:55:07] <atula> the only relevant thing I Think is the app.js, forms template and the button definition in index.html
[05:56:03] *** ziggurat81 has joined #angularjs
[05:57:52] *** Beatzebub__ has joined #angularjs
[05:58:50] *** vdiaz has quit IRC
[05:58:51] *** arcanin has quit IRC
[05:59:03] *** arcanin has joined #angularjs
[06:01:03] *** Dixty has quit IRC
[06:01:15] *** Dixty_ has joined #angularjs
[06:01:32] *** Dixty_ is now known as Dixty
[06:01:50] *** Beatzebub_ has quit IRC
[06:02:28] *** VerbGarden has joined #angularjs
[06:02:41] *** asheinfeld has quit IRC
[06:05:19] *** quantax- has joined #angularjs
[06:06:14] *** codeninja-don has quit IRC
[06:06:34] *** Dixty_ has joined #angularjs
[06:06:35] *** cotko has quit IRC
[06:06:41] *** Dixty has quit IRC
[06:07:05] *** Zesty has quit IRC
[06:07:21] *** Dixty_ is now known as Dixty
[06:07:27] *** quantax has quit IRC
[06:08:22] *** MaxV has joined #angularjs
[06:09:25] *** asheinfeld has joined #angularjs
[06:09:43] *** josh has quit IRC
[06:09:57] *** mary5030 has quit IRC
[06:10:30] *** mary5030 has joined #angularjs
[06:11:31] *** arcanin has quit IRC
[06:12:37] *** MaxV has quit IRC
[06:14:02] *** fabiofb has quit IRC
[06:14:40] *** mary5030 has quit IRC
[06:15:07] *** ekinmur has joined #angularjs
[06:15:38] *** dontdont has joined #angularjs
[06:15:41] *** apoorvparijat has quit IRC
[06:16:10] * monokrome is so happy that Angular2 doesn't have controllers
[06:17:49] *** dseitz has joined #angularjs
[06:18:35] *** MaxV has joined #angularjs
[06:18:47] *** bmac has quit IRC
[06:19:08] *** Lewix has quit IRC
[06:19:11] *** atula has quit IRC
[06:19:20] *** Grokling_ has quit IRC
[06:21:48] *** robksawyer has joined #angularjs
[06:23:11] *** dontdont has quit IRC
[06:23:22] *** MaxV has quit IRC
[06:24:23] *** dannyc has quit IRC
[06:26:05] *** atomical has quit IRC
[06:26:09] <snurfery> guys
[06:26:11] <snurfery> question
[06:26:39] *** joebobjoe has joined #angularjs
[06:26:50] <snurfery> what do rails people use to quickly build apis?
[06:26:51] *** joebobjoe has quit IRC
[06:26:54] <snurfery> it's for a friend
[06:27:02] <TheAceOfHearts> lol
[06:27:04] <TheAceOfHearts> "for a friend"
[06:27:08] <TheAceOfHearts> I use jbuilder
[06:27:08] *** wafflej0ck_ has joined #angularjs
[06:27:09] <snurfery> I'm a django guy
[06:27:21] <snurfery> and I lovvvvvve django-rest-framework
[06:27:26] <snurfery> but he's just getting started with angular
[06:27:32] <snurfery> and insists on rails
[06:27:34] <TheAceOfHearts> jbuilder is good enough
[06:27:38] <TheAceOfHearts> rails is great :p
[06:28:35] *** stormbytes has joined #angularjs
[06:28:37] *** nesquerra has quit IRC
[06:28:40] *** jonr22 has joined #angularjs
[06:28:52] *** srini_ has joined #angularjs
[06:28:59] *** atomical has joined #angularjs
[06:29:10] <stormbytes> can someone tell me where $scope.$watch statement belongs?
[06:29:24] <stormbytes> i want to watch a $scope variable for change.
[06:30:01] *** srini_ has quit IRC
[06:30:05] *** mdedetrich has quit IRC
[06:30:08] *** firelinks has quit IRC
[06:30:11] <stormbytes> so far , i have to use the ControllerAs name inside the $scope.$watch(ctrlAs.variable, CB())
[06:30:30] <stormbytes> which is weird.. if it goes in the controller, then using controllerAs makes no sense
[06:30:54] *** s3shs has joined #angularjs
[06:31:09] <snurfery> stormbytes: I was just reading about that
[06:31:19] *** ziggurat81 has quit IRC
[06:31:21] *** s3shs has quit IRC
[06:31:24] *** marshall_ has joined #angularjs
[06:31:35] <stormbytes> this framework is clearly made by Google. its unmistakable.
[06:31:53] <snurfery> instead of $watch('variable')
[06:31:53] *** s3shs has joined #angularjs
[06:31:58] <SexualRickshaw> Okay, I have a newbie question about controllers: When is it a good time to think "I need to make another controller"? Like right now I have a small app that prints out a list of people, their ID# and check-in times that's all being handled by one controller right now, and I'm thinking about putting a second controller in that handles a form that adds people to that list
[06:32:14] <stormbytes> snurfery huh?
[06:32:15] <SexualRickshaw> Would this be a good idea to do or should I just throw more logic into the first, list-handling controller?
[06:32:17] *** chabier has joined #angularjs
[06:32:23] *** s3shs has quit IRC
[06:32:50] <snurfery> stormbytes: you do var ctrl = this; $scope.$watch(function() { return ctrl.variable }, function(nv, ov) {... })
[06:32:58] <Grokling> SexualRickshaw: You need services/factories bad!
[06:33:07] <SexualRickshaw> Tell me more
[06:33:07] <Grokling> Thin controllers..
[06:33:21] <SexualRickshaw> Educate me
[06:33:27] *** jonr22 has quit IRC
[06:33:27] <stormbytes> my point exact
[06:33:30] <snurfery> stormbytes: I got it from here, more or less http://toddmotto.com/digging-into-angulars-controller-as-syntax/
[06:33:36] <Grokling> Controllers exist just to connect factories/services to your view via $scope. That's it.
[06:33:49] *** Dixty_ has joined #angularjs
[06:34:02] <Grokling> If you have logic in there, you should probably move it to either a service/factory or a directive.
[06:34:28] <SexualRickshaw> I was thinking about breaking the list hander out into its own directive
[06:34:46] <stormbytes> i'm really tired of reading this, and reading that.. i've invested more hours into this pos framework then I care to admit. honestly if i had to do it over again, i would have probably organized my own code and used some binding framework like knockout.JS
[06:34:49] *** nesquerra has joined #angularjs
[06:34:51] <SexualRickshaw> Should the list printing and list adding function go in the same factory/service/directive?
[06:35:01] <Grokling> Controllers are also going away in angular 2, so don't get too comfy with them.
[06:35:10] *** yelvert has joined #angularjs
[06:35:13] *** mmealling has joined #angularjs
[06:35:17] *** Dixty has quit IRC
[06:35:19] <stormbytes> Google *is* the new Microsoft. They are exceedingly incapable of touching anything without making it go to complete sh**
[06:35:20] <Grokling> Make a factory for each 'thing' (list is a thing)
[06:35:48] *** joebobjoe has joined #angularjs
[06:35:51] <joebobjoe> Does anyone know why they wrap section.container in section.content here? https://github.com/meanjs/mean/blob/master/app/views/layout.server.view.html
[06:36:05] <stormbytes> I just want to know, if someone would care to state it clearly and succinctly, where $scope.$watch() statements belong.
[06:36:07] <snurfery> TheAceOfHearts: is there anything rails-y for creating automatic REST urls/views?
[06:36:53] <Grokling> SexualRickshaw: There are a bunch of ways you can make factories/services work.. Four of them are laid bare here for your viewing pleasure: http://plnkr.co/edit/PgGjSZ0zMXoOOOHUZ0Cx?p=preview
[06:37:15] <SexualRickshaw> Grokling: Thank you
[06:37:22] *** lilbaby has quit IRC
[06:37:28] *** Prjio has joined #angularjs
[06:39:35] *** zivester has quit IRC
[06:39:37] *** mmealling has quit IRC
[06:39:42] *** Dixty_ is now known as Dixty
[06:40:20] *** yelvert has quit IRC
[06:40:46] <stormbytes> smurfery passing a function to retrieve a variable that's defined right there in the context of the controller?? htf is that not ass backwards? ugh
[06:41:27] <SexualRickshaw> So with a factory/service, I don't have to pass $scope into it as long as it's being handled by a controller?
[06:41:37] *** nesquerra has quit IRC
[06:42:09] *** Prjio has quit IRC
[06:42:34] <TheAceOfHearts> snurfery: jbuilder is 1 line per endpoint
[06:42:36] <TheAceOfHearts> pretty simple imo
[06:44:54] *** JR___ has joined #angularjs
[06:46:21] *** nemothekid has quit IRC
[06:46:22] *** TuRnaD0 has joined #angularjs
[06:47:24] <snurfery> stormbytes: lol $watch is pretty magical... if you want to reimplement it in a flexible, performant, stable way to save yourself an extra 10 characters of typing I'm sure everyone would be quite proud
[06:47:53] *** VerbGarden has quit IRC
[06:47:59] <stormbytes> its like i'm being penalized for using ControllerAs
[06:48:01] *** bundledavid has joined #angularjs
[06:48:34] <stormbytes> there is so much dissociation in the methodology that is Angular
[06:48:40] *** maikowblue has quit IRC
[06:48:49] *** VerbGarden has joined #angularjs
[06:48:52] <stormbytes> its like the friggin bible -- clearly written by several different authors
[06:49:45] <stormbytes> snurfery : i was looking for $scope.foo = 'whatever'; $scope.$watch('foo', callback());
[06:50:18] *** bayousoft has quit IRC
[06:50:49] <stormbytes> ideally i would have liked to be able to put the $watch statements to go into a service, but I'm thinking I'd have to read several volumes of Googlosophy to figure out htf to pull that one off sheesh..
[06:51:02] *** mennea has joined #angularjs
[06:52:03] *** Dixty has quit IRC
[06:52:16] *** bundledavid has quit IRC
[06:52:28] <stormbytes> looks like i'm going to have to refactor my entire controller and remove all traces of ControllerAs
[06:52:54] <joebobjoe> Does it make sense to make a Service that is really only going to be used once in the application?
[06:53:30] *** asheinfeld has quit IRC
[06:54:38] <JR___> are there any frontend framework that has twoway binding + import any external scripts you want?
[06:56:32] <stormbytes> snurfery: here see both methods side by side https://gist.github.com/stormbytes/04f80a3da291f087db5c
[06:57:56] *** Beatzebub_ has joined #angularjs
[06:58:14] <snurfery> stormbytes: you're refactoring it all to avoid the $watch syntax?
[06:58:47] <stormbytes> snurfery : i'll probably just eat it
[06:58:56] <stormbytes> this is so ugly it makes ugly look good.
[06:58:59] <snurfery> count the character difference
[06:59:11] <stormbytes> its not the character difference.. its unreadable
[06:59:18] <snurfery> 22 characters
[06:59:35] <stormbytes> here i just fixed the white space https://gist.github.com/stormbytes/04f80a3da291f087db5c
[07:00:33] *** morenoh149 has joined #angularjs
[07:01:29] *** mkc has quit IRC
[07:01:56] *** Beatzebub__ has quit IRC
[07:02:37] <snurfery> I just commented on your gist
[07:02:42] <snurfery> that sounds gross
[07:02:53] *** discgo has quit IRC
[07:03:05] *** mdedetrich has joined #angularjs
[07:04:09] <stormbytes> snurfery : i was going to do some variant of that -- yes
[07:04:47] <stormbytes> what pisses me off is how completely ineloquent this methodology is.
[07:05:03] <stormbytes> this was a fix for a problem that was created by fixing something that wasn't ever broken.
[07:05:16] *** mdedetrich has quit IRC
[07:05:17] *** morenoh149 has quit IRC
[07:05:36] *** BlinkyBill has joined #angularjs
[07:05:48] <stormbytes> i just don't get why ctrl.variable cannot be resolved correctly inside the $scope.$watch() statement
[07:05:59] <stormbytes> why all these backflips are necessary
[07:06:04] *** jaydubya has quit IRC
[07:06:07] *** IJNX has joined #angularjs
[07:06:16] <stormbytes> its more tracking, more headaches, more to confuse me 2 weeks down the line when i don't remember why I did this.
[07:09:08] *** motionman has quit IRC
[07:10:54] *** chabier has quit IRC
[07:12:06] <monokrome> Is there a way to just have an element be removed during the `compile` step?
[07:12:24] <monokrome> There's a failure case during compile where I want the element to not exist if it fails
[07:12:58] <monokrome> I know that I can do element.detach() in a link function, but seems like it'd be better to just not even attempt linking
[07:17:45] *** chabier has joined #angularjs
[07:19:20] *** knownasilya has quit IRC
[07:19:55] *** kzoo has quit IRC
[07:19:55] *** BlinkyBill has quit IRC
[07:21:02] *** dannyc has joined #angularjs
[07:21:43] *** Grokling_ has joined #angularjs
[07:22:16] *** motionman has joined #angularjs
[07:23:12] *** tskaggs has joined #angularjs
[07:23:28] *** tfennelly has joined #angularjs
[07:23:32] *** Fire-Dragon-DoL has quit IRC
[07:25:25] *** SergioFilhow has joined #angularjs
[07:25:38] *** Nivag_ has quit IRC
[07:25:42] *** nerdy has joined #angularjs
[07:25:58] *** PGTips_ has joined #angularjs
[07:26:07] *** bc__ has joined #angularjs
[07:26:24] *** MetaCosm_ has joined #angularjs
[07:26:31] *** frkout_ has joined #angularjs
[07:27:04] *** lemur_ has joined #angularjs
[07:27:21] *** oste_ has joined #angularjs
[07:27:42] <monokrome> Does anyone know the proper way to get a constant from $injector?
[07:27:42] *** tfennelly has quit IRC
[07:27:44] *** motionman has quit IRC
[07:28:06] <monokrome> oh, n/m it's just $injector.get
[07:28:11] *** elmcrest_ has joined #angularjs
[07:29:38] *** slobo_ has joined #angularjs
[07:30:22] *** SergioFilhow has quit IRC
[07:30:44] *** andern_ has joined #angularjs
[07:30:53] *** francog_ has joined #angularjs
[07:30:59] *** gunn_ has joined #angularjs
[07:31:01] *** GeertJohan_ has joined #angularjs
[07:33:59] *** JmZ- has joined #angularjs
[07:34:01] *** iffert has quit IRC
[07:34:03] *** oniMaker_ has joined #angularjs
[07:34:17] *** tomzx_ has joined #angularjs
[07:34:53] *** nerdy has quit IRC
[07:35:02] *** lahwran_ has joined #angularjs
[07:35:07] *** sirsirsir has joined #angularjs
[07:35:17] *** tomzx has quit IRC
[07:35:29] *** tomzx_ is now known as tomzx
[07:35:33] *** IvailoStoianov has joined #angularjs
[07:35:46] *** brettfrable has joined #angularjs
[07:36:48] *** lamens has joined #angularjs
[07:36:52] *** tskaggs has quit IRC
[07:37:15] *** lemur has quit IRC
[07:37:16] *** oste has quit IRC
[07:37:16] *** MetaCosm has quit IRC
[07:37:17] *** Circlefusion has quit IRC
[07:37:17] *** mayday_jay has quit IRC
[07:37:18] *** PGTips has quit IRC
[07:37:18] *** Alina-malina has quit IRC
[07:37:19] *** francog has quit IRC
[07:37:19] *** frkout has quit IRC
[07:37:20] *** gunn has quit IRC
[07:37:20] *** bc has quit IRC
[07:37:23] *** dra_ has quit IRC
[07:37:23] *** TweedleDee has quit IRC
[07:37:24] *** j_wright has quit IRC
[07:37:25] *** andern has quit IRC
[07:37:27] *** slobo has quit IRC
[07:37:27] *** JmZ_ has quit IRC
[07:37:28] *** GeertJohan has quit IRC
[07:37:28] *** lahwran has quit IRC
[07:37:29] *** oniMaker has quit IRC
[07:37:30] *** elmcrest has quit IRC
[07:37:31] *** [0__0] has quit IRC
[07:37:31] *** nathanic has quit IRC
[07:37:32] *** oste_ is now known as oste
[07:37:32] *** Prjio has joined #angularjs
[07:37:38] *** joebobjoe has quit IRC
[07:37:46] *** Alina-malina has joined #angularjs
[07:37:50] *** TweedleDee has joined #angularjs
[07:37:51] *** dra has joined #angularjs
[07:38:27] *** nathanic has joined #angularjs
[07:39:01] *** Circlefusion has joined #angularjs
[07:39:05] *** elmcrest_ is now known as elmcrest
[07:39:43] *** sirsirsir has quit IRC
[07:40:05] *** oste has quit IRC
[07:40:26] *** mayday_jay has joined #angularjs
[07:43:30] *** BlinkyBill has joined #angularjs
[07:45:39] *** symmetric has joined #angularjs
[07:45:59] *** ekinmur has quit IRC
[07:46:32] *** morenoh149 has joined #angularjs
[07:47:39] *** e0ipso is now known as e0ipso|away
[07:47:48] *** j_wright has joined #angularjs
[07:48:40] *** e0ipso|away is now known as e0ipso
[07:48:45] *** martianboy has joined #angularjs
[07:49:05] *** Prjio has quit IRC
[07:49:40] *** Prjio has joined #angularjs
[07:50:10] *** Grokling_ has quit IRC
[07:50:18] *** Prjio has joined #angularjs
[07:50:28] *** roven has joined #angularjs
[07:50:32] *** speakingcode has joined #angularjs
[07:51:12] *** snurfery has quit IRC
[07:51:20] *** ekinmur has joined #angularjs
[07:51:52] *** speaking1ode has quit IRC
[07:51:52] *** slacko80541 has joined #angularjs
[07:52:42] *** stormbytes has quit IRC
[07:54:14] *** dannyc has quit IRC
[07:54:22] *** narutimateum has joined #angularjs
[07:54:53] *** roven has quit IRC
[07:55:36] *** ekinmur has quit IRC
[07:56:32] *** saint-ron has quit IRC
[07:58:06] *** nemothekid has joined #angularjs
[07:58:11] *** Beatzebub has joined #angularjs
[07:58:27] *** jimvideo has quit IRC
[07:59:35] *** jlmitch5dev has quit IRC
[08:00:32] *** xxMatiasFxx has joined #angularjs
[08:01:40] *** Beatzebub_ has quit IRC
[08:03:31] *** DrMabuse has joined #angularjs
[08:04:21] *** xxMatiasFCxx has quit IRC
[08:04:58] *** jonr22 has joined #angularjs
[08:05:00] *** jlmitch5dev has joined #angularjs
[08:06:18] *** nocturne777 has quit IRC
[08:06:33] *** jonr22 has quit IRC
[08:06:37] *** jonr2219 has joined #angularjs
[08:06:45] *** marcjs_ has joined #angularjs
[08:07:24] *** {DV8} has quit IRC
[08:07:26] *** grindmodeon has joined #angularjs
[08:08:11] *** jonr2219 has quit IRC
[08:08:33] *** opiates has joined #angularjs
[08:08:40] *** jonr22 has joined #angularjs
[08:08:42] *** ngbot has joined #angularjs
[08:08:42] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 09a9832 to 9474ec1: http://git.io/yM5xQA
[08:08:42] *** ngbot has left #angularjs
[08:09:20] *** saint-ron has joined #angularjs
[08:09:21] *** chabier has quit IRC
[08:09:34] *** ngbot has joined #angularjs
[08:09:34] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 9474ec1 to 266da34: http://git.io/G3nM5A
[08:09:34] *** ngbot has left #angularjs
[08:10:30] *** ngbot has joined #angularjs
[08:10:30] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 266da34 to 719d5c5: http://git.io/X1OGGA
[08:10:30] *** ngbot has left #angularjs
[08:11:09] *** chabier has joined #angularjs
[08:11:22] *** ngbot has joined #angularjs
[08:11:22] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 719d5c5 to 5d36353: http://git.io/bPMXhw
[08:11:22] *** ngbot has left #angularjs
[08:12:16] *** ngbot has joined #angularjs
[08:12:16] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 5d36353 to 0caa5ad: http://git.io/5N8Xbw
[08:12:16] *** ngbot has left #angularjs
[08:12:49] *** marcjs_ has quit IRC
[08:13:04] *** ngbot has joined #angularjs
[08:13:04] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 0caa5ad to 41dc7d5: http://git.io/JA8mIQ
[08:13:04] *** ngbot has left #angularjs
[08:13:20] *** chabier has quit IRC
[08:13:21] *** grindmodeon has quit IRC
[08:13:44] *** one0one has quit IRC
[08:13:56] *** ngbot has joined #angularjs
[08:13:56] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 41dc7d5 to 08cd5c1: http://git.io/i-tB2Q
[08:13:56] *** ngbot has left #angularjs
[08:14:40] *** ngbot has joined #angularjs
[08:14:40] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 08cd5c1 to 2ec8d1f: http://git.io/A1vE2Q
[08:14:40] *** ngbot has left #angularjs
[08:15:31] *** ngbot has joined #angularjs
[08:15:31] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 2ec8d1f to 8f05ca5: http://git.io/l5ArqQ
[08:15:31] *** ngbot has left #angularjs
[08:16:18] *** ngbot has joined #angularjs
[08:16:18] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 8f05ca5 to 1e6a5b2: http://git.io/n4CtBA
[08:16:18] *** ngbot has left #angularjs
[08:16:31] *** pencilcheck has quit IRC
[08:17:10] *** ngbot has joined #angularjs
[08:17:10] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 1e6a5b2 to 9b3d965: http://git.io/Ud2iWg
[08:17:10] *** ngbot has left #angularjs
[08:18:00] *** ngbot has joined #angularjs
[08:18:00] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 9b3d965 to e2b9ecc: http://git.io/aUtcFw
[08:18:00] *** ngbot has left #angularjs
[08:18:49] *** ngbot has joined #angularjs
[08:18:49] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from e2b9ecc to e5a9b26: http://git.io/vgWFMg
[08:18:50] *** ngbot has left #angularjs
[08:18:51] *** jonr22 has quit IRC
[08:19:32] *** jonr22 has joined #angularjs
[08:19:39] *** ngbot has joined #angularjs
[08:19:39] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from e5a9b26 to 655ac64: http://git.io/5ZcSVg
[08:19:40] *** ngbot has left #angularjs
[08:20:31] *** mennea has quit IRC
[08:20:33] *** ngbot has joined #angularjs
[08:20:34] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 655ac64 to 30694c8: http://git.io/uXjt2Q
[08:20:34] *** ngbot has left #angularjs
[08:21:12] *** mennea has joined #angularjs
[08:21:21] *** jonr2219 has joined #angularjs
[08:21:24] *** ngbot has joined #angularjs
[08:21:24] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 30694c8 to b2b6d74: http://git.io/5UNxWg
[08:21:25] *** ngbot has left #angularjs
[08:21:32] *** jonr22 has quit IRC
[08:22:09] *** ngbot has joined #angularjs
[08:22:09] <ngbot> [angular.js] jeffbcross merged master into g3_v1_3: https://github.com/angular/angular.js/compare/b2b6d74ae5c9...d0351c4803c2
[08:22:10] *** ngbot has left #angularjs
[08:22:17] *** charuru has quit IRC
[08:23:51] *** mmealling has joined #angularjs
[08:25:00] *** Shrooms` has joined #angularjs
[08:25:21] *** jonr2219 has quit IRC
[08:25:26] *** jonr22 has joined #angularjs
[08:27:15] *** jonr22 has quit IRC
[08:27:29] *** jonr22 has joined #angularjs
[08:27:46] *** lahwran_ is now known as lahwran
[08:28:23] *** mmealling has quit IRC
[08:29:32] *** jonr2219 has joined #angularjs
[08:29:36] *** jonr22 has quit IRC
[08:31:32] *** doug64k has joined #angularjs
[08:32:20] *** martianboy has quit IRC
[08:33:01] *** grindmodeon has joined #angularjs
[08:33:09] *** jonr2219 has quit IRC
[08:33:17] *** stormbytes has joined #angularjs
[08:33:38] *** jonr22 has joined #angularjs
[08:33:48] <stormbytes> any reason karma freaks out anytime $scope is passed to a controller's contstructor function?
[08:34:10] *** dain has joined #angularjs
[08:34:43] *** dain has left #angularjs
[08:34:57] <stormbytes> so... angular.module("app").controller("foo", foo); then in the constructor: function foo($scope) { ...} and this makes Karma meltdown
[08:35:17] <stormbytes> as soon as i take out $scope, Karma behaves
[08:35:18] <Grokling> SexualRickshaw: You shouldn't pass $scope into a controller at all. ever.
[08:35:41] *** jonr22 has quit IRC
[08:35:41] *** jonr2219 has joined #angularjs
[08:36:01] <Grokling> Gah. I mean into a service.. Been a long day, and I'm only halfway there.
[08:36:15] *** brettfrable has quit IRC
[08:36:18] <stormbytes> hiya Grokling
[08:36:23] <SexualRickshaw> So no scope in services?
[08:36:24] <stormbytes> i'm not passing into a service...
[08:36:28] <stormbytes> its a Controller*
[08:36:29] <Grokling> hey stormbytes
[08:36:49] *** yelvert has joined #angularjs
[08:36:57] *** bundledavid has joined #angularjs
[08:37:04] <Grokling> I was answering a question SexualRickshaw asked a while back (before I went for dinner)
[08:37:06] <stormbytes> omg compared to rspec karma/jasmine are in the stone age
[08:37:12] *** jonr2219 has quit IRC
[08:37:13] <stormbytes> gotcha
[08:37:41] *** jonr22 has joined #angularjs
[08:37:41] <SexualRickshaw> So putting $scope in controllers/factories isn't bad?
[08:38:11] <Grokling> controllers and directives is fine, factory/service is not fine.
[08:38:28] <Grokling> Did you have a rummage through that plunker?
[08:38:35] <SexualRickshaw> Yes
[08:39:07] <SexualRickshaw> So you use the factories/services to manipulate the scope data that's passed into them via the controller, right?
[08:39:42] *** jonr22 has quit IRC
[08:39:53] *** jonr22 has joined #angularjs
[08:40:07] *** grindmodeon has quit IRC
[08:40:12] <stormbytes> Grokling any idea why karma would go to pieces over $scope being passed into a controller? ( getting ReferenceError: Can't find variable: $scope)
[08:40:34] <DrMabuse> SexualRickshaw: most time i use it for logic that i dont need in controller or API calls
[08:40:42] <Grokling> flip that sideways.. You keep all your data in your service/factories, you pass either some of your data, or your entire factory/service THROUGH your controller to $scope.
[08:41:02] *** yelvert has quit IRC
[08:41:02] *** grindmodeon has joined #angularjs
[08:41:07] *** bundledavid has quit IRC
[08:41:09] <SexualRickshaw> Let me see if I can whip something up here in the next hour or so using the data I already have in this app
[08:41:13] <SexualRickshaw> and see how far off I am
[08:41:52] <Grokling> From that plunker, my favorite technique is a variant of the ConstructorFct example.
[08:41:53] *** jonr2219 has joined #angularjs
[08:42:05] *** jonr22 has quit IRC
[08:42:06] <grindmodeon> I have an API and if the token provided is invalid, it will respond with a json response saying hey that token is invalid blah blah…. so I guess I'm going to use factories for the API calls, how do I listen for those global errors?
[08:42:16] <grindmodeon> and perform actions like log the user out?
[08:42:24] <grindmodeon> if that error occurs
[08:42:55] <Grokling> grindmodeon: 401 http interceptor
[08:43:28] <Grokling> http://djds4rce.wordpress.com/2013/08/13/understanding-angular-http-interceptors/
[08:44:20] <grindmodeon> ahhhh word Grokling
[08:44:47] *** motionman has joined #angularjs
[08:45:11] *** opiates has quit IRC
[08:45:24] *** grantfunke_ has joined #angularjs
[08:45:27] *** Frankized has joined #angularjs
[08:45:46] *** jonr2219 has quit IRC
[08:45:48] *** grantfunke_ has quit IRC
[08:45:49] *** jonr22 has joined #angularjs
[08:45:54] <grindmodeon> Grokling: is there a way to store global variables or something? I'd like to store the base API url somewhere
[08:46:04] <grindmodeon> and use it within the factories/controllers
[08:46:15] <Grokling> You can have constants in your module.
[08:47:17] <Grokling> angular.module(blah blah).constant('constantName',{url:'http://api.myDomain.com'})
[08:47:44] <Grokling> Then you inject 'api' where you need it.
[08:48:24] <Grokling> OR, and this is better generally, you make a service/factory to look after your api calls, and then you only have to worry about it in one place.
[08:48:48] *** jmichaelward has joined #angularjs
[08:49:35] <Grokling> correction: Then you inject 'constantName' where you need it.
[08:49:49] *** Frankized has quit IRC
[08:49:55] *** jonr2219 has joined #angularjs
[08:50:06] *** martianboy has joined #angularjs
[08:50:13] *** jonr22 has quit IRC
[08:50:33] *** mennea has quit IRC
[08:50:50] *** ehalas has joined #angularjs
[08:51:10] *** renlo_ has joined #angularjs
[08:51:11] *** mennea has joined #angularjs
[08:51:24] <grindmodeon> hmm
[08:51:36] *** dannyc_ has joined #angularjs
[08:51:43] *** ome has quit IRC
[08:51:53] *** jonr2219 has quit IRC
[08:51:57] *** jonr22 has joined #angularjs
[08:52:47] *** mkusher has joined #angularjs
[08:53:55] *** jonr22 has quit IRC
[08:53:58] *** jmichaelward has quit IRC
[08:53:59] *** jonr2219 has joined #angularjs
[08:54:15] *** BahamutWC|Laptop has quit IRC
[08:54:52] *** recurrence has joined #angularjs
[08:54:58] *** tarnus has quit IRC
[08:55:30] *** mkusher has quit IRC
[08:55:32] *** jonr2219 has quit IRC
[08:55:44] *** mkusher has joined #angularjs
[08:56:01] *** jonr22 has joined #angularjs
[08:56:51] *** brettfrable has joined #angularjs
[08:56:59] *** davi has joined #angularjs
[08:58:19] *** Beatzebub_ has joined #angularjs
[08:58:24] *** Evanion has joined #angularjs
[08:59:33] *** BahamutWC|Laptop has joined #angularjs
[09:00:05] *** jonr22 has quit IRC
[09:00:54] *** jonr22 has joined #angularjs
[09:01:01] *** BahamutWC|Laptop has quit IRC
[09:01:28] *** kostiak has joined #angularjs
[09:01:37] *** JR___ has quit IRC
[09:02:09] *** jonr22 has quit IRC
[09:02:16] *** Beatzebub has quit IRC
[09:02:39] *** stormbytes has quit IRC
[09:02:41] *** Trow has joined #angularjs
[09:02:42] *** jonr22 has joined #angularjs
[09:04:08] *** themime has quit IRC
[09:06:12] *** jonr22 has quit IRC
[09:06:13] *** phzon has joined #angularjs
[09:06:40] *** jonr22 has joined #angularjs
[09:08:01] *** Mael has joined #angularjs
[09:08:23] *** jonr22 has quit IRC
[09:09:02] *** jonr22 has joined #angularjs
[09:09:18] *** Shrooms` has quit IRC
[09:10:39] *** jonr22 has quit IRC
[09:10:54] *** jonr22 has joined #angularjs
[09:10:56] *** phzon has quit IRC
[09:13:46] *** Mael has quit IRC
[09:14:13] *** SergioFilhow has joined #angularjs
[09:14:49] *** jonr22 has quit IRC
[09:14:50] *** jonr2219 has joined #angularjs
[09:15:16] *** BlinkyBill has quit IRC
[09:16:13] *** Shrooms` has joined #angularjs
[09:17:20] *** BahamutWC|Laptop has joined #angularjs
[09:17:24] *** davi has quit IRC
[09:18:03] *** kzoo has joined #angularjs
[09:18:32] *** jonr2219 has quit IRC
[09:18:47] *** SergioFilhow has quit IRC
[09:18:53] *** jonr22 has joined #angularjs
[09:20:36] *** mennea has quit IRC
[09:20:37] *** aton` has quit IRC
[09:21:14] *** mennea has joined #angularjs
[09:21:14] *** beilabs____ has joined #angularjs
[09:23:47] *** marcjs_ has joined #angularjs
[09:24:08] *** sirsirsir has joined #angularjs
[09:24:13] *** symmetric has quit IRC
[09:24:37] *** tomengland_mbp has joined #angularjs
[09:25:02] *** jonr2219 has joined #angularjs
[09:25:06] *** jonr22 has quit IRC
[09:25:14] *** dannyc_ has quit IRC
[09:25:32] *** bealtine has joined #angularjs
[09:25:51] *** tfennelly has joined #angularjs
[09:27:02] *** jonr22 has joined #angularjs
[09:27:04] *** jonr2219 has quit IRC
[09:28:23] *** sirsirsir has quit IRC
[09:28:42] *** marcjs_ has quit IRC
[09:30:05] *** threesixes has quit IRC
[09:30:37] *** jonr22 has quit IRC
[09:30:43] *** DrMabuse has quit IRC
[09:31:06] *** jonr22 has joined #angularjs
[09:31:08] *** Oxynum has joined #angularjs
[09:34:01] *** lamens has quit IRC
[09:34:05] *** DrMabuse has joined #angularjs
[09:35:11] *** jonr2219 has joined #angularjs
[09:35:17] *** renlo__ has joined #angularjs
[09:35:19] *** Oxynum has quit IRC
[09:35:30] *** jonr22 has quit IRC
[09:35:54] *** renlo_ has quit IRC
[09:36:17] *** motionman has quit IRC
[09:36:44] *** Oxynum has joined #angularjs
[09:36:46] *** koutras has joined #angularjs
[09:36:57] *** nesquerra has joined #angularjs
[09:36:57] *** roven has joined #angularjs
[09:38:13] *** slacko80541 has quit IRC
[09:38:51] *** JBreit has quit IRC
[09:38:59] *** jonr2219 has quit IRC
[09:39:08] *** Alina-malina has quit IRC
[09:39:16] *** jonr22 has joined #angularjs
[09:39:26] *** raj___ has joined #angularjs
[09:39:51] *** Alina-malina has joined #angularjs
[09:39:51] *** Alina-malina has joined #angularjs
[09:40:09] *** BlinkyBill has joined #angularjs
[09:41:10] *** jonr22 has quit IRC
[09:41:19] *** jonr2219 has joined #angularjs
[09:42:20] *** jrajaratnam has quit IRC
[09:42:53] *** TheAceOfHearts has quit IRC
[09:42:53] *** jonr2219 has quit IRC
[09:43:18] *** jonr22 has joined #angularjs
[09:43:49] *** TheAceOfHearts has joined #angularjs
[09:44:51] *** JBreit has joined #angularjs
[09:46:32] *** e0ipso is now known as e0ipso|away
[09:46:37] *** grantfunke_ has joined #angularjs
[09:46:57] *** Shrooms` has quit IRC
[09:47:21] *** e0ipso|away is now known as e0ipso
[09:48:30] *** kostiak has quit IRC
[09:49:37] *** jonr22 has quit IRC
[09:49:46] *** cheef has joined #angularjs
[09:49:51] *** jonr22 has joined #angularjs
[09:50:22] *** disorder20 has joined #angularjs
[09:50:25] *** calmbird has joined #angularjs
[09:50:37] *** mennea has quit IRC
[09:51:16] *** mennea has joined #angularjs
[09:51:18] *** grantfunke_ has quit IRC
[09:51:20] <calmbird> Hi. How in directive:link I can make elem.attr('data-ng-bind-html', 'someModel') live?
[09:51:35] *** jonr22 has quit IRC
[09:51:42] *** disorder20 has quit IRC
[09:51:56] <DrMabuse> what ?
[09:51:57] *** jonr22 has joined #angularjs
[09:52:18] <calmbird> In directive, Im adding in link element attribute
[09:52:28] <DrMabuse> and ?
[09:52:40] <calmbird> ng-bind-html but angular doesn't use it
[09:52:54] <DrMabuse> because you have to use $compile
[09:52:58] <calmbird> what should I do to make it live
[09:53:03] <calmbird> i see, on element?
[09:53:12] <DrMabuse> yes
[09:53:22] <DrMabuse> and without data-ng
[09:53:23] <calmbird> so scope.$apply($compile(elem)) ?
[09:53:36] <DrMabuse> dont use $aply
[09:53:53] <calmbird> ok thank you, I will try to make it work
[09:54:31] <DrMabuse> but i dont understand you can use it at start ?
[09:54:44] <DrMabuse> looks something wrong for me
[09:55:40] <calmbird> elem.attr('data-ng-bind-html', elem.attr('turn-text-angular')); $compile(elem);
[09:55:59] *** jonr2219 has joined #angularjs
[09:56:04] <calmbird> DrMabuse: Oh, because I have text-angular plugin and it's messing html code
[09:56:06] *** jonr22 has quit IRC
[09:56:32] <DrMabuse> calmbird: https://gist.github.com/DrMabuse23/d8a534af746fcc6c1a45
[09:56:38] <calmbird> and I want to check if someone is loged in as admin, if no I want to use ng-bind-html, if yes, I want to use text-angular
[09:57:03] <calmbird> Thank you
[09:57:53] *** jonr2219 has quit IRC
[09:57:59] *** jonr22 has joined #angularjs
[09:58:28] *** Beatzebub__ has joined #angularjs
[09:59:34] *** VerbGarden has quit IRC
[10:02:17] *** Beatzebub_ has quit IRC
[10:02:21] <calmbird> Well it still doesn't want to work. http://gyazo.com/f3e440ebedc06c2688880fb2803d8461, http://gyazo.com/9de990f54cfe1c6faa6e927964001789
[10:04:34] *** [0__0] has joined #angularjs
[10:06:39] *** IJNX has quit IRC
[10:06:48] <calmbird> I thought it will be easier :P
[10:07:46] *** tomengland_mbp has quit IRC
[10:07:55] *** jonr22 has quit IRC
[10:08:11] *** jonr22 has joined #angularjs
[10:10:30] *** soee has joined #angularjs
[10:12:37] *** mmealling has joined #angularjs
[10:12:42] <SexualRickshaw> Grokling: I'm probably way, way, way, way, way, way, way, way, way off, but here's my attempt to take what I had in a controller and put it inside a factory: http://plnkr.co/edit/beDSECWZleMoyg0JWeYr
[10:13:06] <recurrence> Hi guys, I want to have multiple angular copies on my page. Could I wrap angular in a function and init it twice for the two copies? Are there issues with that?
[10:13:08] <Grokling> Ooo.. A plunker! nice. I thought you'd gone to bed or something..
[10:13:11] <SexualRickshaw> and here's the original, for reference: http://plnkr.co/edit/LqD3VMLFoIqO90aX4bgG
[10:13:15] <SexualRickshaw> I'm a night owl
[10:13:33] <Grokling> recurrence: Why multiple copies?
[10:13:53] <recurrence> it's complicated but basically I want my different ng-apps to be properly separated so they can't access each other's modules
[10:14:13] <recurrence> ng-modules is nice for allowing multiple ng-apps, but they still use the same angular
[10:14:37] <recurrence> so app B can instantiate with A's modules even though they should be unable to
[10:15:12] <recurrence> For a massive project like this one, they need to have proper separation to meet good engineering principles
[10:15:16] <Grokling> kind of a namespacing thing then?
[10:15:19] <recurrence> yeah
[10:15:25] <recurrence> but angular normally has only a global namespace
[10:15:54] <recurrence> However, I was thinking I could wrap angular, and set window during init. Then call it again for the second app and voila, separate angulars (hopefully :) )
[10:16:14] <sacho_> sure, you could
[10:16:17] *** AimerPaddle has quit IRC
[10:16:29] <recurrence> I'm okay with router being an issue here obviously. Just wont use router :)
[10:16:38] <recurrence> sweet thanks sacho_
[10:16:43] <Grokling> I don't know enough about that level of stuff to comment really. Only to wonder if it's the same 'page' does it matter really?
[10:16:49] <recurrence> so this should theoretically work then before I go and write it all up? :)
[10:16:50] *** grantfunke_ has joined #angularjs
[10:16:50] *** TuRnaD0 has quit IRC
[10:16:57] *** mmealling has quit IRC
[10:17:06] <sacho_> you'd have to write your own bootstrap
[10:17:09] <sacho_> for each app
[10:17:22] <recurrence> oh, why can't I use the regular bootstrapping process?
[10:17:28] <recurrence> ng-modules resolves the multi ng-app problem
[10:17:35] <sacho_> ng-modules?
[10:17:41] <recurrence> it's a multi ng-app library
[10:17:53] <recurrence> very simple, just re-implements ng-app and calls it ng-module :)
[10:18:10] <sacho_> how would you tell each wrapped angular which ng-app to use?
[10:18:12] <recurrence> but it still has only one namespace, which is where my project is falling over
[10:18:30] <Grokling> SexualRickshaw: Have a look at this plunker - this is part of the method I use: http://plnkr.co/edit/bqb7aL1VtVfgUIOd8Obx?p=preview
[10:18:38] <sacho_> do you really need multiple angular versions?
[10:18:43] <sacho_> a solution would be to write a custom bootstrap
[10:18:47] <sacho_> and create multiple injectors
[10:18:56] <sacho_> you'd have to engineer some way of accessing the different injectors per "app"
[10:19:05] <recurrence> okay, that sounds interesting
[10:19:12] <sacho_> but then your apps would be "namespaced"
[10:19:23] <sacho_> (each app woudl have its own injector which only has its modules)
[10:19:26] <recurrence> but don't modules get registered as they are processed before bootstrap even starts?
[10:19:30] *** gurke_ has joined #angularjs
[10:19:31] <SexualRickshaw> Grokling: Well, that's a lot more informative and clearer to me than the Plunker you linked earlier
[10:19:37] *** gurke_ has quit IRC
[10:20:06] <Grokling> SexualRickshaw: But, it only shows one method, and it's not an especially common method. Generally considered 'advanced usage'..
[10:20:09] *** gurke_ has joined #angularjs
[10:20:17] <recurrence> I was thinking that wrapping it all in a specific angular would mean it only registers against that angular
[10:20:25] <sacho_> recurrence, yeah, you'd still need to wrap angular's functions with your own...that dispatch to the proper injector
[10:20:30] <recurrence> ah
[10:20:35] <Grokling> SexualRickshaw: Personally, I think it's clear, and reasonably fluent, but then I know what it's doing..
[10:20:35] <recurrence> hmm, that might be a better idea
[10:20:39] *** mennea has quit IRC
[10:21:08] *** grantfunke_ has quit IRC
[10:21:16] *** mennea has joined #angularjs
[10:21:17] <SexualRickshaw> Well, my main issue was trying to figure out how to fit the information pulled from the JSON into it all
[10:21:22] <SexualRickshaw> and dealing with sorting
[10:21:26] <Grokling> SexualRickshaw: The Context pattern is entirely optional, and not part of the factory thing at all..
[10:21:28] <recurrence> so set the app in a variable then use that during module processing. Then the injector is associated with that particular app
[10:21:32] *** TheAceOfHearts has quit IRC
[10:21:39] *** dannyc has joined #angularjs
[10:21:49] *** goodenough has joined #angularjs
[10:21:51] <recurrence> I don't want to manipulate the modules because they shouldn't have to know about any of this :)
[10:21:54] *** JessicaLing has joined #angularjs
[10:21:56] <sacho_> yeah
[10:22:02] <sacho_> um
[10:22:11] <SexualRickshaw> Grokling: Context pattern?
[10:22:30] <sacho_> recurrence, well, do the registered modules accept angular as a parameter or fetch a global one?
[10:22:40] <sacho_> actually that's irrelevant
[10:22:48] <bealtine> multiple ng-apps can be done but it's probably not worth it
[10:22:51] <recurrence> My idea was to set the window.angular and then change it
[10:22:55] <Grokling> SexualRickshaw: Using the contextService as a clearing house for collections of instances..
[10:23:06] <SexualRickshaw> Oh, I was mainly talking about the Factory itself
[10:23:23] <sacho_> I suppose you could, if you control the script loading process
[10:23:28] <Grokling> SexualRickshaw: Indeed, and that's the key takeaway for you at this point.
[10:23:37] <recurrence> bealtine: I'm already using mutliple ng-app actually, just need to solve the namespace problem and I'm set ;)
[10:23:52] * sacho_ takes a look at ng-modules
[10:23:53] <bealtine> whatever
[10:24:10] <recurrence> I know it sounds fine for small projects
[10:24:12] <sacho_> actually, do you have a link for this ng-modules?
[10:24:16] <SexualRickshaw> Because the Factory/Services plunker you linked earlier only had very basic examples of how they're used, and not knowing how to put my stuff in them kinda set me back
[10:24:25] <recurrence> but massive projects need multiple ng-apps and proper namespacing
[10:24:50] <Grokling> SexualRickshaw: right - that one was just to show the different ways you could create them, and I agree, doesn't show how to fully use them.
[10:24:52] <recurrence> which is fine, I just need to make it work :)
[10:25:20] <bealtine> i disagree
[10:25:20] <SexualRickshaw> Right, right, but thanks on both accounts, I'll study that one and clean up the Plunker I linked and see if I'm any closer that time
[10:25:23] *** Sontakey has joined #angularjs
[10:25:23] *** apertoire has quit IRC
[10:25:30] <JessicaLing> I am a little new to angularjs, please forgive me if this doesn't make sense, but I have a state with a resolve attribute. The ng-leave animation for the previous state doesn't play until after the resolve for the next state has completed.
[10:25:35] <JessicaLing> Is there anyway I could make the ng-leave animation play before the next state resolves?
[10:25:49] <bealtine> altho I've done it and it was a huge pita
[10:25:49] *** bundledavid has joined #angularjs
[10:26:24] <recurrence> there was an attempt to use just one ng-app and it blew up
[10:26:25] <calmbird> Is it any way to prevent showing <!-- ng-repeat !--> and other stuff like that?
[10:26:35] <calmbird> in DOM
[10:26:42] <recurrence> ng-module fixed that but the new problem now is namespace issues. :)
[10:26:48] *** jonr22 has quit IRC
[10:26:50] <bealtine> exactly
[10:26:57] *** jonr22 has joined #angularjs
[10:27:01] <recurrence> which it looks like I have a few ways to solve
[10:27:17] <recurrence> sacho_ has a good idea
[10:27:41] <sacho_> technically you can use one angular
[10:27:57] <sacho_> but you need some way to mark which modules are for which namespace
[10:28:04] <bealtine> i'd go with one ng and lots of modules
[10:28:05] <recurrence> I can mark them via grunt
[10:29:05] <recurrence> the issue with one ng is it became one big blob
[10:29:20] <bealtine> no it doesnt
[10:29:29] <recurrence> well, that's what happened in this case anyway :)
[10:29:43] <bealtine> in your case maybe
[10:29:45] <recurrence> and someone would update a directive, and break everyone else
[10:29:50] <recurrence> along with tons of other problems :)
[10:30:07] *** plushy has joined #angularjs
[10:30:22] <recurrence> with namespace separation I can even have multiple versions of the same module
[10:30:30] *** bundledavid has quit IRC
[10:30:48] <bealtine> sounds like a nightmare in waiting
[10:30:55] <recurrence> well, it's how large companies build products
[10:31:00] <sacho_> couldn't you introduce the namespaces in the module names?
[10:31:12] <recurrence> I could but then that couples the module name to the namespace
[10:31:21] *** renlo__ has quit IRC
[10:31:21] <sacho_> yeah
[10:31:27] <sacho_> ok well here's the problems you need to solve
[10:31:43] <sacho_> first, angular.module(name, [deps]) will overwrite modules with the same name
[10:31:58] <sacho_> so you'd need to modify the function to somehow accept a namespace and store modules via namespace
[10:33:13] *** sressot has quit IRC
[10:33:26] *** marcjs_ has joined #angularjs
[10:33:33] *** DrMabuse has quit IRC
[10:33:50] <recurrence> I can definitely do that
[10:33:55] <recurrence> looking at the code right now :)
[10:34:57] *** jonr22 has quit IRC
[10:35:01] <bealtine> my solution was rjs + self contained modules
[10:35:37] <recurrence> I suppose that's similar to what ng-modules does
[10:35:39] *** raj___ has quit IRC
[10:35:45] <sacho_> what does ng-modules do?
[10:35:57] <recurrence> it just reimplements ng-app as ng-module
[10:35:59] <recurrence> super simple code
[10:36:03] <recurrence> I'll link it one sec :)
[10:36:05] *** raj___ has joined #angularjs
[10:36:06] <sacho_> how?
[10:36:12] *** JessicaLing has quit IRC
[10:37:09] <recurrence> http://www.simplygoodcode.com/wp-content/uploads/2014/07/angular.ng-modules.js
[10:37:23] *** jmichaelward has joined #angularjs
[10:37:42] *** yandos has joined #angularjs
[10:38:00] <recurrence> obviously there are drawbacks since a browser only has one location and whatnot :)
[10:38:11] *** DrMabuse has joined #angularjs
[10:38:30] *** yelvert has joined #angularjs
[10:39:49] *** pspfolio has joined #angularjs
[10:41:25] *** sressot has joined #angularjs
[10:41:56] *** jmichaelward has quit IRC
[10:42:22] *** BlinkyBill has quit IRC
[10:42:46] <SexualRickshaw> Grokling, I've updated the Plunker: http://plnkr.co/edit/beDSECWZleMoyg0JWeYr but my issue is is how do I fit the logic near the end of the factory into the prototype?
[10:43:06] * Grokling is having a look.
[10:43:23] *** yandos has quit IRC
[10:43:49] *** sahbeewah has joined #angularjs
[10:44:04] <Grokling> SexualRickshaw: You're talking about lines 47-61 of script.js?
[10:44:09] *** tarnus has joined #angularjs
[10:44:18] *** wafflej0ck_ has quit IRC
[10:44:22] *** emmesswhy has joined #angularjs
[10:44:22] <SexualRickshaw> Yes, those lines
[10:45:26] *** yelvert has quit IRC
[10:46:23] <Grokling> SexualRickshaw: http://plnkr.co/edit/?p=streamer&s=yMQnS2fL8b9kP9ES
[10:47:33] <sacho_> recurrence, it seems like tagging your modules with namespaces in angular.module() and then fixing loadModules() to respect that would pretty much do it
[10:48:03] <sacho_> it's not just a little work though
[10:48:23] <sacho_> angular's module system is just inherently crippled :/
[10:48:36] *** marcjs_ has quit IRC
[10:48:37] *** tarnus has quit IRC
[10:48:56] *** DrMabuse has quit IRC
[10:48:57] *** DrAwesomeClaws has joined #angularjs
[10:49:15] <recurrence> hehe
[10:49:28] <recurrence> This is really good feedback, thanks
[10:49:37] *** apertoire has joined #angularjs
[10:49:43] *** Left_Turn has joined #angularjs
[10:49:48] <recurrence> This channel always has interesting things to say :)
[10:49:50] <calmbird> Do you have any favourite way, to dynamically load plugins to angular?
[10:49:55] *** uru|away is now known as uru
[10:50:14] <SexualRickshaw> Grokling: I see how that all fits together... except for the checkin function, will that add the timestamp to each entry that's added into the empList?
[10:50:17] *** TheAceOfHearts has joined #angularjs
[10:50:36] *** nesquerra has quit IRC
[10:51:48] <recurrence> hi calmbird: define 'dynamically load'. Do you mean lazy loaded?
[10:52:04] <Grokling> SexualRickshaw: That's an instance method, so you'd call it once you had the employee method. If you want to add the timestamp to each entry as it's instantiated, add it into the prototype init function - just beware that you can call that again later, so you might want to check if that timestamp exists before writing it again.
[10:52:23] <SexualRickshaw> Gotcha
[10:52:33] *** IvailoStoianov has quit IRC
[10:52:49] <SexualRickshaw> Thanks once again, you've been a REALLY big help tonight
[10:53:07] <Grokling> damn. I've been doing this too long today. wrong words keep appearing in my messages..
[10:53:07] *** IvailoStoianov has joined #angularjs
[10:53:14] <calmbird> recurrence: Well for example, someone logged in as admin, I have to load admin modules then.
[10:53:17] <Grokling> you'd call it once you had the employee instance.
[10:53:46] *** Mrityunjaya has joined #angularjs
[10:53:55] <Mrityunjaya> Hi
[10:53:57] *** urh has quit IRC
[10:54:12] <sacho_> calmbird, you can't really do that
[10:54:18] <sacho_> (with the current angular setup)
[10:54:25] <sacho_> since the bootstrap is the only point in time when modules are loaded
[10:54:37] <Mrityunjaya> i am trying to create a sample application of angualrjs in visual studio 2010
[10:54:38] *** urh has joined #angularjs
[10:54:41] *** MaxV has joined #angularjs
[10:54:48] <calmbird> sacho_: hm ok
[10:55:09] <Mrityunjaya> but it is not showing message that "it could not be loaded"
[10:55:11] <recurrence> It's sort of doable, just not as a regular module
[10:55:21] <sacho_> calmbird, if you really wanted to do it, check out createInjector in the angular source
[10:55:33] <sacho_> you'd need to do similar things in order to add your new modules to the injector
[10:55:41] <SexualRickshaw> Grokling: I'm going to throw some simple HTML together to test all this
[10:55:45] <calmbird> sacho_: I have to always load admin modules then, a bit of security issue but np.
[10:55:53] *** dannyc has quit IRC
[10:55:53] <sacho_> it can't be a security issue
[10:56:40] <Grokling> SexualRickshaw: You should be able to raid the gadgetFactory and be most of the way there.
[10:56:40] <sacho_> well, I guess if you walled them off behind an auth
[10:56:40] <Grokling> Context stuff aside.
[10:56:46] <sacho_> but the backend should just be unusable if you aren't an admin
[10:56:46] <Mrityunjaya> can someone please tell me basic requirements to create a angular js project in visual studio 2010
[10:56:52] <recurrence> calmbird: There was an article written about lazy loading a year ago. You can sort of load parts lazily. http://www.bennadel.com/blog/2554-loading-angularjs-components-with-requirejs-after-application-bootstrap.htm
[10:56:55] <Grokling> (worth looking at though IMO)
[10:57:05] *** brettfrable has quit IRC
[10:57:12] <SexualRickshaw> Grokling: What do you think I've been doing so far?
[10:57:20] <calmbird> recurrence: Thanx for article.
[10:57:34] <recurrence> but the module registration phase can't really be run again
[10:57:43] * Grokling is glad someone is getting use out of his plunker example.
[10:58:15] <Mrityunjaya> can someone please tell me basic requirements to create a angular js project in visual studio 2010?
[10:58:25] <sacho_> you need angular.
[10:58:30] *** Beatzebub_ has joined #angularjs
[10:58:30] <Mrityunjaya> ok
[10:58:31] <Grokling> A keyboard.
[10:58:31] <calmbird> sacho_: Yes, server won't accept admin requests, bus till you can see them :P
[10:58:36] *** iksik has quit IRC
[10:58:42] <sacho_> There's some templates for creating angular spa - maybe they're only for newer vs
[10:58:45] <calmbird> still
[10:59:09] <Mrityunjaya> ok
[10:59:41] *** joker666 has joined #angularjs
[10:59:46] *** seriema has joined #angularjs
[10:59:55] *** fairuz has quit IRC
[11:00:00] *** iksik has joined #angularjs
[11:00:14] <Grokling> Mrityunjaya: !google create+angularjs+project+in+visual+studio
[11:00:14] <UniBot> Mrityunjaya: http://lmgtfy.com/?q=create+angularjs+project+in+visual+studio
[11:00:15] *** fairuz has joined #angularjs
[11:00:23] *** doug64k has quit IRC
[11:00:26] *** fairuz has quit IRC
[11:00:27] *** fairuz has joined #angularjs
[11:00:57] *** DLSteve has joined #angularjs
[11:01:56] *** mennea has quit IRC
[11:02:06] <Mrityunjaya> can't we use angularjs template with visual studio 2010?
[11:02:23] *** Beatzebub__ has quit IRC
[11:02:37] *** mennea has joined #angularjs
[11:02:37] <SexualRickshaw> Grokling: Hrm, something isn't working
[11:02:41] <Mrityunjaya> because every sample and link i am finding is using 2012 or higher version of visual studio.
[11:02:57] *** SergioFilhow has joined #angularjs
[11:03:03] <Grokling> Mrityunjaya: 2010 is nearly 4 years ago..
[11:03:29] *** DrAwesomeClaws has quit IRC
[11:03:34] <Mrityunjaya> yes.
[11:03:35] *** DrClawsomeAwe has joined #angularjs
[11:03:36] <Grokling> SexualRickshaw: Yeah, you haven't set $scope.all anywhere yet.
[11:04:13] *** seriema has quit IRC
[11:04:45] *** seriema has joined #angularjs
[11:05:07] <Grokling> SexualRickshaw: If you're following the gadget factory example, you're missing the contextService (which is where 'all' is setup)
[11:05:24] *** josh-k has joined #angularjs
[11:05:25] <SexualRickshaw> Oh, I thought I could just leave that part out
[11:05:47] <SexualRickshaw> Shows you what coding at 4 am will do to your brain
[11:05:49] <Grokling> Sure, you can. But then you have to plumb it up yourself in your controller.
[11:06:32] <Grokling> SexualRickshaw: also grab the part from the controller where it says 'you'd do this in a resolve'
[11:06:53] *** Solid1_afk is now known as Solid1
[11:07:17] *** SergioFilhow has quit IRC
[11:07:27] <Grokling> SexualRickshaw: Urgh. The monolithic script file. That won't help you at 4am!
[11:08:38] *** DrMabuse has joined #angularjs
[11:09:25] *** seriema has quit IRC
[11:09:32] *** Mrityunjaya has quit IRC
[11:09:34] *** beckyconning_ has joined #angularjs
[11:10:48] *** dseitz has quit IRC
[11:11:10] <SexualRickshaw> So I should be splitting it up?
[11:11:19] *** VeeWee has joined #angularjs
[11:12:01] <Grokling> SexualRickshaw: Up to you. I find smaller files easier to follow. It's going to work either way.
[11:12:13] <Grokling> SexualRickshaw: Fixed it for you so it actually runs now too.
[11:12:49] *** sirsirsir has joined #angularjs
[11:13:04] *** grindmodeon has quit IRC
[11:13:34] *** sahbeewah has quit IRC
[11:13:40] *** DrMabuse has quit IRC
[11:13:42] <SexualRickshaw> Well, did before I started splitting things up
[11:15:37] *** wsmoak has joined #angularjs
[11:17:02] *** sirsirsir has quit IRC
[11:17:37] *** grantfunke_ has joined #angularjs
[11:18:13] <Grokling> SexualRickshaw: There. Fixed again.
[11:18:19] <SexualRickshaw> Thank you so much
[11:18:48] <SexualRickshaw> To get the ordering working, would I have to do $scope.all.order?
[11:18:52] *** mlpug has joined #angularjs
[11:19:05] <Grokling> How should it work?
[11:19:31] <SexualRickshaw> It orders the names based on the first name (or by ID or by check-in time)
[11:19:39] <Grokling> Usually with an array, you use a filter in your ng-repeat to do the ordering based on some predicate.
[11:19:43] *** startupality has joined #angularjs
[11:19:50] <SexualRickshaw> Which I do
[11:20:35] <calmbird> Do we have to still use ?_escaped_fragment_ for our angular pages? Some say yes, some say no.
[11:20:56] *** yandos has joined #angularjs
[11:21:29] *** DuelShark has joined #angularjs
[11:21:36] *** iksik has quit IRC
[11:21:38] *** lexek__ has joined #angularjs
[11:21:45] *** BlinkyBill has joined #angularjs
[11:22:13] <SexualRickshaw> I only have it set up the way I do is that in the original version, I have buttons that allow you to resort the list of employees
[11:22:27] *** grindmodeon has joined #angularjs
[11:22:42] *** snkcld has joined #angularjs
[11:22:50] *** yandos has quit IRC
[11:22:55] *** grantfunke_ has quit IRC
[11:22:56] <Grokling> Yeah, so you'd bind the result of those buttons (or select box) to order, and it should work.
[11:23:23] <Grokling> Not sure what's up with it at the moment though.. that seems like it should be working.
[11:23:48] <SexualRickshaw> Huh, well, let me throw it all back in what I have already and see if it works on my end
[11:23:51] *** gurke_ has quit IRC
[11:25:29] <Grokling> SexualRickshaw: your app.js line 15 won't work because !primitives
[11:25:29] <UniBot> Because javascript passes primitives by value, the values you assigned to $scope (the ones you're using in your view) are copies and not references, so they won't update when your data changes.
[11:25:49] <SexualRickshaw> YOu mean script.js?
[11:26:04] <Grokling> Yeah. It's not even 4am here..
[11:26:39] <Grokling> SexualRickshaw: !moar
[11:26:40] <UniBot> SexualRickshaw, MOAR DOTS!! You might be using a primitive in your view. Do you have something like this {{someValue}} or ng-model='someValue'? Instead, put an object in $scope, and bind to a property of that object: {{object.property}} or ng-model='object.property' (See those dots? They're the important part. You need MOAR of them)
[11:27:01] <Grokling> You knew that though right?
[11:27:02] *** iksik has joined #angularjs
[11:27:14] <SexualRickshaw> Well, considering I'm fairly new to JS in general, no
[11:27:38] <Grokling> Excellent lesson to have then! Just saved you hours of frustration!
[11:27:43] *** DLSteve has quit IRC
[11:27:54] *** gurke_ has joined #angularjs
[11:28:09] *** gurke_ has quit IRC
[11:28:40] *** gurke_ has joined #angularjs
[11:28:45] *** jeffisabelle has joined #angularjs
[11:28:56] <SexualRickshaw> So could I attach it to the Employee object in my controller?
[11:29:34] *** TheAceOfHearts has quit IRC
[11:30:08] <Grokling> SexualRickshaw: You wouldn't. The order is really nothing to do with an Employee. It's more to do with your state/view. I'd make a new object for that.
[11:30:30] <Grokling> Just a pojo (plain old javascript object)
[11:30:37] *** goodenough has quit IRC
[11:30:43] *** gurke_ has quit IRC
[11:30:48] *** yandos has joined #angularjs
[11:31:25] *** tfennelly has quit IRC
[11:31:40] *** yandos has quit IRC
[11:31:59] *** mennea has quit IRC
[11:32:15] <SexualRickshaw> So from the state we're in now, I'd just replace $scope with something else?
[11:32:33] *** mennea has joined #angularjs
[11:34:03] <Grokling> It's good now - order is an object, and we're messing with the 'predicate' property. We've got that vital dot.
[11:34:47] <Grokling> Nice. You're onto it.
[11:35:10] *** memento_ has joined #angularjs
[11:35:23] *** ingsoc has joined #angularjs
[11:36:49] <SexualRickshaw> It should work as it is now, right?
[11:37:41] *** memento__ has quit IRC
[11:38:04] <Grokling> Yeah, but it doesn't. Not sure why not..
[11:39:09] <joker666> Grokling: hey bud
[11:39:12] *** boxmein has joined #angularjs
[11:39:19] *** Alina-malina has quit IRC
[11:39:22] <Grokling> joker666! Been a while@
[11:39:38] <joker666> lol joined a company and doing react fulltime
[11:39:58] <joker666> how about you?
[11:40:53] <Grokling> Still playing CEO, Technical Director, Developer and Cleaner.
[11:40:54] *** ageep has joined #angularjs
[11:40:59] *** GeneralChoomin has joined #angularjs
[11:41:11] <Grokling> Had to buy a hat rack..
[11:41:24] <joker666> lol, did you get your devs?
[11:42:03] <Grokling> Nope. Not yet. I'm at a point where it's going to take more time to bring someone in and up to speed than I can afford right now.
[11:42:06] *** tfennelly has joined #angularjs
[11:43:06] <joker666> hmm, my boss helped me out pretty much with react, he's a silicon valley guy :D
[11:43:25] <SexualRickshaw> Huh, after pulling everything back down into my local files, it's bitching at me
[11:44:03] *** martianboy_ has joined #angularjs
[11:44:16] <SexualRickshaw> Wait, I think I know why
[11:44:21] <joker666> SexualRickshaw: where do you live, just curious :P
[11:44:31] <SexualRickshaw> The US
[11:44:37] *** DrMabuse has joined #angularjs
[11:44:47] <SexualRickshaw> It was because I wasn't loading the app.js file before everything else, so it wasn't seeing that definition
[11:44:49] *** boxmein has quit IRC
[11:45:03] <Grokling> That would do it.
[11:45:17] <Grokling> That and the fact that the sun is coming up soon for you ;-)
[11:45:48] <Grokling> joker666: How is react to work with? Did you get far enough with angular to compare?
[11:45:50] <joker666> still lurking :D
[11:45:59] <joker666> yuss
[11:46:13] <joker666> Grokling: http://www.chaldal.com/
[11:46:18] <joker666> this is where i work
[11:46:33] <joker666> see how blazing fast the site is
[11:46:43] <joker666> and search something
[11:46:46] *** nesquerra has joined #angularjs
[11:46:53] *** martianboy has quit IRC
[11:47:28] <Grokling> might be fast, but I wasn't expecting to see steak or chicken when I searched fish!
[11:47:35] <Grokling> Or mushrooms..
[11:47:56] <joker666> theFuck :/
[11:48:02] <recurrence> lol
[11:48:09] <recurrence> What is the backend composed of?
[11:48:18] <joker666> Isomorphic app
[11:48:31] <joker666> frontend backend node api backend asp
[11:48:38] *** DrClawsomeAwe has quit IRC
[11:48:39] <SexualRickshaw> Huh, well, on my local instance of it all, it's grabbing the entire JSON file and reading it all, but only loading the last entry in the view
[11:48:46] <Grokling> first three rows, only three fish. out of 27 products.. doh.
[11:48:48] <recurrence> ah cool
[11:49:42] <Grokling> SexualRickshaw: Did you alter that factory again? Cause that's what I would expect from your first plunker I think.
[11:50:06] <SexualRickshaw> I only altered the path to the json file
[11:50:19] *** MaxV has quit IRC
[11:50:27] <joker666> ok ok, i will look into it, apparently algolia is screwing me up
[11:50:28] *** ageep has left #angularjs
[11:50:43] <Grokling> Throw a console.log(self); into the end of the init.
[11:50:50] *** Alina-malina has joined #angularjs
[11:51:02] *** DrMabuse_ has joined #angularjs
[11:51:28] *** nesquerra has quit IRC
[11:51:41] <Grokling> joker666: Whew. Only got batteries (and a battery powered toothbrush) when I searched battery. I was hoping for some fish ;-)
[11:52:07] *** dannyc has joined #angularjs
[11:52:08] *** DrMabuse_ has quit IRC
[11:52:18] *** DrMabuse_ has joined #angularjs
[11:52:32] <joker666> lol
[11:52:37] *** DrMabuse has quit IRC
[11:52:38] <joker666> i take it for granted
[11:52:40] <SexualRickshaw> It's properly getting all the entries, accoring to the console
[11:53:25] <Grokling> {{all}} in the view?
[11:53:30] *** wsmoak has quit IRC
[11:54:09] *** recurrence has quit IRC
[11:54:17] <SexualRickshaw> It's only displaying one entry from that array by doing that
[11:54:25] *** wsmoak has joined #angularjs
[11:56:30] <joker666> Grokling: so the naswer to your question is > you have to hack a lot of stuffs to do isomorphic app ans currently react is the best solution. it's api is really small unlike cumbersome angular. caveat : you have to write 3 times more code [than angular] and for as it's only VIEW , so for model you have to come up with a strategy what works for you best. benefit : super fast
[11:56:30] <joker666> site, like really really fast.
[11:56:37] *** DLSteve has joined #angularjs
[11:56:47] <joker666> *and
[11:58:18] *** mmealling has joined #angularjs
[11:58:41] *** Beatzebub__ has joined #angularjs
[11:58:41] <Grokling> SexualRickshaw: There was a bug in the loadJSON function - it needed a $q.all in there - you were seeing a timing issue I think..
[11:58:56] <SexualRickshaw> It's loading everyhting, but still only displaying one
[12:00:30] *** net2014 has joined #angularjs
[12:00:31] *** DrMabuse_ has quit IRC
[12:00:44] <net2014> hello, generally, what widget library you use with angularjs?
[12:00:50] *** DrMabuse has joined #angularjs
[12:00:52] *** anivemin has joined #angularjs
[12:02:03] *** mennea has quit IRC
[12:02:10] *** anivemin has quit IRC
[12:02:13] *** DuelShark has quit IRC
[12:02:17] *** Beatzebub_ has quit IRC
[12:02:20] <SexualRickshaw> Wait wait wait
[12:02:25] <SexualRickshaw> I know what the hell is going on
[12:02:25] <Grokling> SexualRickshaw: I'm just about out of ideas - the pattern is working for me..
[12:02:26] *** DuelShark has joined #angularjs
[12:02:30] *** JR___ has joined #angularjs
[12:02:36] *** mennea has joined #angularjs
[12:02:37] *** mmealling has quit IRC
[12:03:01] *** Solid1 is now known as Solid1_afk
[12:03:06] *** raj___ has quit IRC
[12:03:06] <Grokling> Everyone has the same id?
[12:03:06] <SexualRickshaw> I modified the JSON in the Plunker to include an id field, but the local version didn't have that
[12:03:23] *** tfennelly has quit IRC
[12:03:36] *** DuelShark has joined #angularjs
[12:03:47] <Grokling> Ah yep. So they're all ending up on top of each other under the 'undefined' key.
[12:04:05] <SexualRickshaw> Exactly
[12:04:25] *** raj___ has joined #angularjs
[12:05:01] <SexualRickshaw> Now you said about the timestamp that I would want that function that assigns a timestamp to run after an employee has been instantiated, so would I just call that function in the init?
[12:06:09] <Grokling> if you have myEmployee.setTimestamp() you can run that anytime. Which you may or may not want. That's all I was thinking. It's business logic more than anything.
[12:06:13] *** php-engineer has joined #angularjs
[12:07:00] <Grokling> If you only want it run at init time, do it then, but make sure that it can't overwrite itself if someone calls myEmployee.init() later on.
[12:07:16] *** nesquerra has joined #angularjs
[12:07:17] <SexualRickshaw> Well, hrm, because if I stick that bit of logic to assign it a timestamp, it doesn't render in the view, despite being in the JSON file
[12:07:20] *** JR___ has quit IRC
[12:07:24] *** DrMabuse_ has joined #angularjs
[12:07:37] <net2014> do you think that angularjs is used regularly nowadays as small apps in traditional web applications (e.g laravel/php applications) to make application look more responsive(faster)?
[12:07:45] *** DrMabuse has quit IRC
[12:09:06] <zomg> if you don't mind the payload then I think it'll do that job quite nicely
[12:09:41] <zomg> we're using angular on one page quite heavily, and on some other pages which are still mostly static, we use angular on certain bits to make them work more nicely
[12:09:53] *** Mael has joined #angularjs
[12:10:09] <zomg> they were either almost entirely static or used a big pile of jquery crap before
[12:10:10] <SexualRickshaw> What the hell, wrapping it in an if statement makes it work, but having it on its own doesn't
[12:10:25] *** sixr420 has joined #angularjs
[12:10:28] <Grokling> SexualRickshaw: works either way..
[12:10:38] <php-engineer> hey guys I have a best practice question... I want to create a 'selectCategories' directive which get a list of categories through the Categories service from a RESTful service... It's possible to create the directive and load the Categories service and request the categories in the directive itself. I'm not sure, this feels not clean... has someone experience with it?
[12:10:41] *** sixr420- has quit IRC
[12:11:23] <SexualRickshaw> Ugh, once again the "why are you coding in the middle of the night" syndrome strikes again, as I forgot to capitialize one thing in the key for that assignment
[12:11:35] <SexualRickshaw> and now it works
[12:13:04] <net2014> zomg: ah, ok, by static you mean, no js, not that they don't have a server side back end
[12:13:07] <net2014> ?
[12:13:08] <calmbird> Do we still need to use ?_secaped_fragment_ in our angular.js webapp?
[12:13:08] *** nesquerra has quit IRC
[12:13:15] <zomg> net2014: yes, no js based behavior
[12:13:38] <net2014> zomg: but you still use JQuery along with angularjs, right?
[12:14:00] <zomg> yeah, we're slowly moving away from it however
[12:14:06] <zomg> although we are using it in directives
[12:14:39] <net2014> zomg: if you use angularjs, JQuery becomes obsolete?
[12:14:47] <calmbird> zomg: Why do you use jquery, angular has builtin jqlite
[12:14:47] *** bundledavid has joined #angularjs
[12:15:09] *** lugzer has joined #angularjs
[12:15:27] <lugzer> morning
[12:15:37] *** deyna has joined #angularjs
[12:16:28] <deyna> morning guys, ive got a really weird problem that i cant figure out. ive written some custom directives for some simple form controls, passing the model in to an isolate scope. They code for each component is practically identical, but only the one works in the other the model is undefined
[12:16:53] *** Mael has quit IRC
[12:17:23] *** cbennett has joined #angularjs
[12:17:30] <calmbird> deyna: because you passing undefined model
[12:17:31] <calmbird> there is no other option
[12:17:39] *** Sontakey has quit IRC
[12:17:49] *** nemothekid has quit IRC
[12:17:49] <deyna> they exist in the same scope though - why would one differ form the other?
[12:17:56] <calmbird> mby you misspelled something
[12:17:59] <zomg> net2014, calmbird, jquery has some extra features that are not in jqlite
[12:18:11] <calmbird> zomg: true
[12:18:15] *** mennea has quit IRC
[12:18:18] <zomg> plus some of our directives wrap some jquery plugins which we use for some UI bits
[12:18:40] *** SergioFilhow has joined #angularjs
[12:18:59] <calmbird> deyna: Can you print screen fragment of codes?
[12:19:02] *** bundledavid has quit IRC
[12:19:03] *** grantfunke_ has joined #angularjs
[12:19:03] <deyna> ye im doing so now!
[12:19:22] *** memento__ has joined #angularjs
[12:19:35] *** cbennett has quit IRC
[12:19:36] <deyna> http://pastebin.com/f9neGUgM
[12:19:37] *** DrMabuse_ has quit IRC
[12:19:45] <deyna> markup followed by directives
[12:19:49] <lugzer> are there any issues related to using ui-router with browser sync? i wrote ultra simple example with one router rule ($urlRouterProvider.otherwise('/');) and whenever i am loading any url i am not redirected but shown an error "Cannot GET /test"
[12:20:00] <deyna> im sure im being an absolute tool here - but I get the following error
[12:20:02] *** jonr22 has joined #angularjs
[12:20:16] <deyna> TypeError: Cannot read property 'input_personal_first__name' of undefined
[12:20:31] *** sahbeewah has joined #angularjs
[12:21:17] *** memento_ has quit IRC
[12:21:26] *** cbennett has joined #angularjs
[12:21:40] <calmbird> which lane?
[12:21:51] <net2014> thanks
[12:23:04] *** SergioFilhow has quit IRC
[12:23:21] *** SergioFilhow has joined #angularjs
[12:23:29] *** grantfunke_ has quit IRC
[12:23:34] *** apoorvparijat has joined #angularjs
[12:23:35] *** cbennett has quit IRC
[12:24:05] <deyna> any ideas?
[12:24:15] *** e0ipso has quit IRC
[12:24:29] *** sahbeewah has quit IRC
[12:24:34] *** _45kb has joined #angularjs
[12:24:38] *** lrvick has quit IRC
[12:24:38] *** diffalot has quit IRC
[12:25:01] *** jonr22 has quit IRC
[12:25:08] *** e0ipso has joined #angularjs
[12:25:11] *** net2014 has left #angularjs
[12:25:56] <calmbird> deyna which lane is that error
[12:25:58] *** uru is now known as uru|away
[12:26:12] *** squeakytoy has joined #angularjs
[12:26:16] *** jmichaelward has joined #angularjs
[12:26:20] <deyna> line?
[12:26:22] *** dannyc has quit IRC
[12:26:34] <calmbird> scope.definition = scope.schema()[scope.id]; scope.ngModel = scope.ngModel[scope.id]; here?
[12:26:35] <deyna> 29 in the pastebin
[12:26:39] <calmbird> ok
[12:27:14] *** diffalot has joined #angularjs
[12:27:22] <calmbird> a bit of weird things going on there :P
[12:27:42] *** Seich has quit IRC
[12:27:49] <calmbird> you passing same two way binding model: ww-model="model", for both directives
[12:28:02] <calmbird> scope.ngModel = scope.ngModel[scope.id];
[12:28:04] <deyna> ye im 90% thats the problem
[12:28:05] <calmbird> then overwriting it
[12:28:14] <deyna> oh ofc
[12:28:16] <deyna> its a object ref
[12:28:19] <calmbird> it is to complicated, try to make it a lot simplier
[12:28:42] <calmbird> ngModel: '=wwModel', yes its object ref with two way binding
[12:29:04] <deyna> i guess im making the object ref undefined in the dropdown directive
[12:29:11] <calmbird> ok i see
[12:29:19] <calmbird> sec mby i'm wrong in this
[12:29:40] <calmbird> but you changing ref for it
[12:29:45] <calmbird> mby thats the problem
[12:30:12] <deyna> where am i changing the ref?
[12:30:12] *** cbennett has joined #angularjs
[12:30:22] *** nesquerra has joined #angularjs
[12:30:33] <calmbird> mby try something like that: <ww-dropdown ww-model="model.personal_title" ww-schema="schema.properties" ww-id="input_personal_title" ></ww-dropdown>
[12:30:37] *** Seich has joined #angularjs
[12:30:49] *** lrvick has joined #angularjs
[12:30:50] <deyna> ye i was going for not passing the same id in twice
[12:30:52] *** jmichaelward has quit IRC
[12:30:55] <deyna> seemed a bit redundant
[12:31:03] <calmbird> It is complicated logic.
[12:31:23] <calmbird> i have a feeling you can make it a lot simplier
[12:31:37] *** lemur_ has quit IRC
[12:31:44] <calmbird> well you doing this: scope.ngModel = scope.ngModel[scope.id];
[12:31:55] <deyna> yup
[12:31:59] <deyna> you're right
[12:32:01] <deyna> i can see that now!
[12:32:13] *** lemur has joined #angularjs
[12:32:14] <calmbird> more natural for me would be pass <ww-dropdown ww-model="model.personal_title"
[12:32:21] <calmbird> its my personal thoguhts ofc :P
[12:33:01] *** tarnus has joined #angularjs
[12:33:19] <calmbird> I'm asuring you can make it more readable and less complicated try, if you want ofc ^^
[12:33:30] <deyna> ye i did have it like that orginally
[12:33:48] <deyna> fixe dit
[12:34:22] <calmbird> am I helping, did it work?
[12:34:38] <deyna> yup
[12:34:41] <deyna> just removed that line
[12:34:56] *** tfennelly has joined #angularjs
[12:35:01] <calmbird> great
[12:35:38] <deyna> thanks fella!
[12:35:55] <calmbird> np :)
[12:36:05] <deyna> right i gotta pop out with a smile on my face ;p
[12:36:54] *** lemur has quit IRC
[12:37:18] *** e0ipso is now known as e0ipso|away
[12:37:34] *** nesquerra has quit IRC
[12:37:37] *** tarnus has quit IRC
[12:38:25] *** tfennelly has quit IRC
[12:38:56] <zomg> Anyone happen to remember when was windowTemplateUrl introduced in ui-bootstrap?
[12:38:57] *** Foxandxss has joined #angularjs
[12:39:02] <zomg> for $modal that is
[12:39:16] <zomg> We're stuck on old bootstrap and thus we can't update ui-bootstrap either.. :P
[12:39:47] *** MuffinMan` has joined #angularjs
[12:40:27] *** RangerRick has quit IRC
[12:40:47] *** RangerRick has joined #angularjs
[12:40:52] *** boxmein has joined #angularjs
[12:41:30] *** vectra has quit IRC
[12:42:02] *** raj___ has quit IRC
[12:42:16] *** e0ipso|away has quit IRC
[12:42:54] *** e0ipso|away has joined #angularjs
[12:43:03] *** vectra has joined #angularjs
[12:43:11] *** e0ipso|away is now known as e0ipso
[12:43:46] <lugzer> anyone knows of issues with angular-ui-router and browsersync? simplest example with only .otherwise('/') rule does not work for me
[12:44:50] *** IvailoStoianov_ has joined #angularjs
[12:45:26] *** gunn_ has quit IRC
[12:45:58] *** ingsoc1 has joined #angularjs
[12:46:16] *** ingsoc has quit IRC
[12:46:37] *** IvailoStoianov has quit IRC
[12:46:40] *** IvailoStoianov_ is now known as IvailoStoianov
[12:47:01] *** gunn has joined #angularjs
[12:47:59] *** grindmodeon has quit IRC
[12:48:12] *** fedenunez has joined #angularjs
[12:49:10] *** Beatzebub__ has quit IRC
[12:49:37] *** Sky[x] has joined #angularjs
[12:51:27] *** nesquerra has joined #angularjs
[12:52:12] *** _45kb has quit IRC
[12:52:26] *** DLSteve has quit IRC
[12:52:38] *** Solid1_afk is now known as Solid1
[12:52:40] *** ingsoc1 has quit IRC
[12:53:01] *** deanclkclk has joined #angularjs
[12:53:54] *** nfroidure has joined #angularjs
[12:54:06] *** Solid1 is now known as Solid1_afk
[12:54:23] *** Solid1_afk is now known as Solid1
[12:54:24] *** NoNMaDDeN has joined #angularjs
[12:54:39] *** Solid1 has quit IRC
[12:56:14] *** firelinks has joined #angularjs
[12:56:54] *** foofoobar has joined #angularjs
[12:57:03] *** mtsr has joined #angularjs
[12:57:14] *** marshall_ has quit IRC
[12:57:50] *** marshall_ has joined #angularjs
[12:58:13] *** jaydubya has joined #angularjs
[12:59:07] *** mmealling has joined #angularjs
[12:59:09] *** spatialbrew has joined #angularjs
[12:59:40] *** DLSteve has joined #angularjs
[13:00:12] <lugzer> the router started to work when i inserted an element <div ui-view></div>, which caused the url to have a '#' .. however url without the # is not going to work with the router.. i don't get it
[13:00:33] *** Solid1 has joined #angularjs
[13:01:38] *** sirsirsir has joined #angularjs
[13:02:12] *** marshall_ has quit IRC
[13:02:35] *** RedOrangeZ has joined #angularjs
[13:02:42] <calmbird> lugzer: It should work.
[13:02:50] <calmbird> Without # things
[13:02:53] *** cbennett has quit IRC
[13:02:55] <calmbird> have you set html5 mode?
[13:03:40] *** mmealling has quit IRC
[13:03:43] *** spatialbrew has quit IRC
[13:04:49] <lugzer> calmbird: yes. i realized i must have ui-view in the html..
[13:04:51] *** ziggurat81 has joined #angularjs
[13:05:18] <lugzer> calmbird: but i was not aware the router requires /#/ in the url
[13:05:55] <calmbird> they don't
[13:06:01] *** mtsr has quit IRC
[13:06:08] *** sirsirsir has quit IRC
[13:06:10] <calmbird> http://54.88.187.230/games
[13:06:18] <calmbird> look my wepgage, have route without /#/
[13:06:32] *** BlinkyBill has quit IRC
[13:07:06] *** ingsoc has joined #angularjs
[13:07:19] *** cbennett has joined #angularjs
[13:07:32] <calmbird> do you have $locationProvider.html5Mode({ enabled: true, requireBase: false } ?
[13:07:41] <calmbird> option?
[13:09:41] *** cbennett_ has joined #angularjs
[13:09:57] *** cbennett has quit IRC
[13:10:12] *** NikoZz has joined #angularjs
[13:13:17] *** uru|away is now known as uru
[13:14:07] <lugzer> calmbird: ok i realized that's what you meant. yeah i need to add it... thanks man
[13:15:37] <calmbird> np ^^
[13:15:48] *** threesixes has joined #angularjs
[13:15:51] *** marshall_ has joined #angularjs
[13:16:17] *** nanduraj has joined #angularjs
[13:17:16] *** boxmein_ has joined #angularjs
[13:17:17] *** firelinks has quit IRC
[13:17:27] <nanduraj> I am using ui-router with nested views, how would I wait for data to be fetched before changing view?
[13:17:30] *** foofoobar has quit IRC
[13:17:47] *** cbennett_ has quit IRC
[13:19:55] *** grantfunke_ has joined #angularjs
[13:20:04] *** boxmein has quit IRC
[13:20:33] *** moritzs has joined #angularjs
[13:21:32] *** joker666 has quit IRC
[13:22:41] *** dannyc has joined #angularjs
[13:22:55] *** joker666 has joined #angularjs
[13:23:50] <lugzer> calmbird: your config removes the # but breaks my otherwise rule.. i guess i will leave it for now.
[13:24:09] <calmbird> shouldnt break :P
[13:24:44] *** grantfunke_ has quit IRC
[13:25:30] <lugzer> calmbird: i added it as dependency into the config... removed the # fine. but then all the states stopped working as well as the otherwise rule
[13:25:40] *** DrMabuse has joined #angularjs
[13:25:41] <lugzer> i guess i made this part wrong
[13:27:05] *** motionman has joined #angularjs
[13:27:12] *** OnkelTem has quit IRC
[13:28:03] *** beckyconning_ has quit IRC
[13:28:21] *** OnkelTem has joined #angularjs
[13:28:55] <NikoZz> hi there.. im totally new to angularjs. basically im thinking about starting with it and my big question is whats going on with databases?? can I use a database with angular??
[13:29:23] *** tfennelly has joined #angularjs
[13:30:23] *** firelinks has joined #angularjs
[13:31:34] *** moritzschaefer has joined #angularjs
[13:31:58] *** firelinks has quit IRC
[13:32:59] *** moritzs has quit IRC
[13:35:08] *** Sijdesign has joined #angularjs
[13:35:10] *** php-engineer has quit IRC
[13:35:43] *** caitp has joined #angularjs
[13:36:32] *** mogaj has quit IRC
[13:36:48] *** cotko has joined #angularjs
[13:37:46] *** josh-k has quit IRC
[13:38:10] *** JessicaLing has joined #angularjs
[13:38:22] *** ziggurat81 has quit IRC
[13:39:08] *** tfennelly has quit IRC
[13:40:56] *** joker666 has quit IRC
[13:41:13] *** xjiujiu has joined #angularjs
[13:41:17] <bealtine> of course you can use a db it just needs to supply an http endpoint (rest) this is the most common way
[13:41:47] *** hecatonicosachor has joined #angularjs
[13:43:29] *** emmesswhy has quit IRC
[13:43:48] <JessicaLing> Hi! I am trying to pass params using $state.go, but without listing the param in the url.
[13:44:11] <JessicaLing> When I log $stateParams in the controller, I get an object that looks like {0: undefined, 1: undefined)
[13:44:34] <JessicaLing> Which goes to n where n is the number of params I specified in the $stateProvider
[13:44:47] *** Sijdesign has quit IRC
[13:45:08] *** sacho_ has quit IRC
[13:45:08] *** CoolDuke has joined #angularjs
[13:45:12] <Fuzzier> ?
[13:45:22] <Fuzzier> hm
[13:45:29] <Fuzzier> plunker it?
[13:45:34] <JessicaLing> Sure
[13:45:40] *** fedenunez has quit IRC
[13:45:54] *** rchavik has joined #angularjs
[13:48:18] *** Oxynum has quit IRC
[13:48:45] *** AciD`` has joined #angularjs
[13:49:23] *** mlpug has quit IRC
[13:49:30] *** Fuzzier is now known as Fuzzy
[13:50:24] *** yts has joined #angularjs
[13:51:17] *** quantax- has quit IRC
[13:51:49] *** hecatonicosachor is now known as Sacho
[13:52:44] *** ingsoc has quit IRC
[13:52:56] <calmbird> lugzer: you have something wrong in your code then :P
[13:53:06] <lugzer> yeah'
[13:53:22] <calmbird> .when('/home', { templateUrl: "/view/pages/home.html", controller: "homeController", controllerAs: 'home', caseInsensitiveMatch: true, resolve: myResolve })
[13:53:28] *** robksawyer has quit IRC
[13:55:08] <lugzer> oh, so it's the resolve thing. i guess i will leave it for now. i need to solve more basic problems that i face
[13:55:25] <calmbird> you dont need to use this resolve
[13:55:48] <calmbird> it is only predoing something before running controller
[13:56:04] *** dannyc has quit IRC
[13:57:22] *** marc_v92 has joined #angularjs
[13:57:26] <lugzer> i barely made some simple stuff to work ;) and i have enough more to learn.. i will leave this for later
[13:57:38] *** marc_v92 has quit IRC
[13:57:51] *** boxmein_ is now known as boxmein
[13:58:47] *** ingsoc has joined #angularjs
[13:59:14] *** Oxynum has joined #angularjs
[13:59:49] *** mtsr has joined #angularjs
[14:00:23] *** tarnus has joined #angularjs
[14:02:00] *** cakirke has joined #angularjs
[14:02:22] *** sirsirsir has joined #angularjs
[14:02:26] *** DuelShark has quit IRC
[14:02:34] *** mtsr has quit IRC
[14:02:40] *** DuelShark has joined #angularjs
[14:02:52] *** nanduraj has quit IRC
[14:03:42] *** bundledavid has joined #angularjs
[14:04:33] *** Snugug has joined #angularjs
[14:05:01] *** lugzer has quit IRC
[14:06:27] *** mlpug has joined #angularjs
[14:06:31] *** waverider has joined #angularjs
[14:07:06] *** sirsirsir has quit IRC
[14:07:35] *** Sijdesign has joined #angularjs
[14:07:52] *** ome has joined #angularjs
[14:07:53] *** bundledavid has quit IRC
[14:07:56] *** melmoussaoui has joined #angularjs
[14:08:18] *** chabier has joined #angularjs
[14:09:08] *** mennea has joined #angularjs
[14:09:11] *** Snugug has quit IRC
[14:09:39] <Sijdesign> is $location in angularjs root project, or do i need to pull it in?
[14:09:40] *** jonr22 has joined #angularjs
[14:11:32] *** CoolDuke has quit IRC
[14:11:43] *** mlpug has quit IRC
[14:11:49] *** CoolDuke has joined #angularjs
[14:12:32] *** AimerPaddle has joined #angularjs
[14:12:34] *** chabier has quit IRC
[14:13:44] *** cbennett has joined #angularjs
[14:13:48] *** elxa has quit IRC
[14:13:50] *** melmoussaoui has quit IRC
[14:13:53] *** chabier has joined #angularjs
[14:13:55] *** jonr22 has quit IRC
[14:14:37] *** CoolDuke has quit IRC
[14:14:49] *** mmealling has joined #angularjs
[14:14:50] *** jmichaelward has joined #angularjs
[14:16:56] *** cbennett has quit IRC
[14:17:08] *** AimerPaddle has quit IRC
[14:18:36] *** hswolff has quit IRC
[14:18:57] *** mmealling has quit IRC
[14:19:38] *** jmichaelward has quit IRC
[14:20:27] *** hswolff has joined #angularjs
[14:20:39] *** grantfunke_ has joined #angularjs
[14:20:52] *** opiates has joined #angularjs
[14:21:20] *** rburns has joined #angularjs
[14:21:28] *** cornerma1 has joined #angularjs
[14:22:53] <JessicaLing> How come when I uncomment the "params" line, this plunker breaks?
[14:22:54] <JessicaLing> http://plnkr.co/edit/wWOAI8JPTeg4SxsCeKTH
[14:23:31] *** Snugug has joined #angularjs
[14:23:50] *** chabier has quit IRC
[14:24:14] *** Nivag has quit IRC
[14:24:14] *** DLSteve has quit IRC
[14:24:51] *** Nivag has joined #angularjs
[14:25:02] *** cornerman has quit IRC
[14:25:11] *** cornerma1 is now known as cornerman
[14:25:13] *** grantfunke_ has quit IRC
[14:25:15] *** macbroadcast has joined #angularjs
[14:25:26] *** H1FuelCell has joined #angularjs
[14:26:10] <apoorvparijat> JessicaLing: If you change 'params' to something else like '_params', it works.
[14:26:42] *** IvailoStoianov has quit IRC
[14:27:25] *** Gabriel403 has quit IRC
[14:28:04] *** Foxandxss has quit IRC
[14:28:16] <JessicaLing> apoorvparijat: Thank you, I am trying to send a param to that state called testParam.
[14:28:39] <JessicaLing> That is why I have the params array there.
[14:28:39] *** IvailoStoianov has joined #angularjs
[14:28:58] <apoorvparijat> JessicaLing: Can you link me to the tutorial you are following?
[14:29:38] *** brettfrable has joined #angularjs
[14:30:41] <JessicaLing> I am not following a tutorial apoorvparijat :(
[14:30:59] *** macbroadcast has quit IRC
[14:32:12] <JessicaLing> I am just trying to send params to a state without them being in the URL.
[14:32:20] *** phzon has joined #angularjs
[14:32:21] <JessicaLing> I thought the params array was the correct place to do that.
[14:34:21] <JessicaLing> https://github.com/angular-ui/ui-router/issues/928
[14:34:35] <jaydubya> I just cloned this project from John Papa -- https://github.com/johnpapa/gulp-patterns/tree/4f612fbfb79bf0e8c4227d62b9ed745fd5abb2b8 -- and ran "npm install" and "bower install" and "gulp serve-dev" and the app is running on localhost:7203 as expected. Now, I would like to map this to MAMP PRO so I can use it as a starting point for a project. However, I have to clue as to where the site's root folder is. Can anyone
[14:34:36] <jaydubya> help?
[14:34:37] *** mtsr has joined #angularjs
[14:34:48] *** Foxandxss has joined #angularjs
[14:36:30] <apoorvparijat> JessicaLing: looking into it.
[14:36:39] *** Rampages has joined #angularjs
[14:36:46] <JessicaLing> apoorvparijat: Thank you :D!
[14:36:52] *** phzon has quit IRC
[14:37:51] *** nfroidure has quit IRC
[14:38:34] *** mennea has quit IRC
[14:38:36] *** uru is now known as uru|away
[14:39:09] *** mennea has joined #angularjs
[14:39:59] <JessicaLing> apoorvparijat: Ah, seems it should be a map, not an array.
[14:40:05] *** JR___ has joined #angularjs
[14:40:07] <apoorvparijat> Oh
[14:40:08] *** NoNMaDDeN has quit IRC
[14:40:17] <JessicaLing> params: { testParam: { value: "defaultValue" } }, worked for me
[14:40:33] <JessicaLing> Thank you so much for looking into it, sorry to take up your time.
[14:41:00] <Sijdesign> Guys, Can i speed up the request to the server when i submit a new commit, see my video how slow it is on localhost https://docs.google.com/file/d/0B8W7xgiPAxgdZDlUSW1MNlBjSE0/edit?usp=drivesdk
[14:41:09] <Sijdesign> is there any way i can speed it up with angularjs ?
[14:41:40] *** jlmitch5dev has quit IRC
[14:41:44] <zomg> you want to speed up the internet using angularjs? =)
[14:41:53] <JessicaLing> I thought angular could do anything
[14:41:55] <apoorvparijat> JessicaLing: No problem. Can you show me the working plunker? I can't get it working.
[14:42:13] <deyna> any idea how to stop infinite digests when you have things like ng-show=hasError()?
[14:42:42] <zomg> Sijdesign: you have a few options: either make the backend respond faster, or pretend it's fast
[14:43:04] *** jlmitch5dev has joined #angularjs
[14:43:23] <JessicaLing> apoorvparijat, Sure: http://plnkr.co/edit/wWOAI8JPTeg4SxsCeKTH
[14:43:37] *** morenoh149 has quit IRC
[14:43:39] <zomg> in this case, you can use angular to pretend it's fast by a) showing UI animations or other things to make it feel it's doing something so the wait doesn't feel as long b) just show the comment right away and let the request finish in the background
[14:44:21] <JessicaLing> apoorvparijat: So defaultValue is the value testParam gets if I don't give it a value in $state.go
[14:44:46] <JessicaLing> But I gave it a value in $state.go, so when I log stateParams it appears as "test"
[14:45:26] *** leehambley has joined #angularjs
[14:45:40] <apoorvparijat> O nice.
[14:46:05] <apoorvparijat> Never came to use it in my last project. We mostly used 'resolve'.
[14:46:10] <leehambley> hi all, given a line like `<select name="taskUuid" class="form-control" ng-model="job.taskUuid" ng-required="true" ng-options="t.subject.uuid as t.subject.name for t in tasks"></select>` is there a way to get the currently selected *label* rahter than the value (which is job.taskUuid)
[14:46:12] <apoorvparijat> Check this http://plnkr.co/edit/QIRCDhXo26LfMhcH1LJD?p=preview
[14:46:30] <apoorvparijat> Also JessicaLing, how far you are in learning angular?
[14:46:54] <JessicaLing> apoorvparijat: Cool.
[14:47:00] <JessicaLing> apoorvparijat, I have been learning for a few months.
[14:47:08] *** rafagomes has joined #angularjs
[14:47:12] <JessicaLing> But I am a slow learner, I think
[14:47:37] *** jlmitch5dev has quit IRC
[14:47:44] *** cannap has joined #angularjs
[14:47:53] <apoorvparijat> Angular has slow initial learning curve. You just need the right resource.
[14:48:48] *** DLSteve has joined #angularjs
[14:48:49] <JessicaLing> Yes, factories/services/providers/constants/values still confuse me
[14:49:09] *** rafagomes_ has joined #angularjs
[14:50:00] *** Alax has joined #angularjs
[14:52:48] *** rafagomes has quit IRC
[14:53:11] *** dannyc has joined #angularjs
[14:54:02] *** bayousoft has joined #angularjs
[14:54:25] *** cswelin has quit IRC
[14:54:47] *** DrMabuse_ has joined #angularjs
[14:56:00] *** Snugug has quit IRC
[14:56:42] <calmbird> Do we still have to use _escaped_fragment_ for our angularjs pages?
[14:57:12] *** JessicaLing has quit IRC
[14:57:15] *** DrMabuse has quit IRC
[14:57:41] *** skyx_ has joined #angularjs
[14:58:12] *** Sky[x] has quit IRC
[14:58:23] *** cswelin has joined #angularjs
[14:59:42] *** JR___ has quit IRC
[14:59:47] *** yelvert has joined #angularjs
[14:59:54] *** gunn_ has joined #angularjs
[15:00:44] *** gunn has quit IRC
[15:01:30] *** yelvert has quit IRC
[15:01:32] <deyna> is there a difference between ngModelController and FormController[key] (another instance of modelController)?
[15:01:47] <deyna> seem to get different values depending on which i use
[15:01:52] <deyna> assuming they are the same thing
[15:04:28] <deyna> but set touched on the formctroller doesnt update set touched on the ngmodelcontroller
[15:04:28] *** nesquerra has quit IRC
[15:04:54] *** evilaliv3 has joined #angularjs
[15:04:58] *** bmac has joined #angularjs
[15:05:28] *** DrMabuse_ has quit IRC
[15:05:50] *** Nurbs has joined #angularjs
[15:06:16] *** Sijdesign has quit IRC
[15:06:41] <Alax> Are there any good tutorials for an angularjs / backend multi user app?
[15:08:04] <TyrfingMjolnir> Alax: backend?
[15:08:16] <Alax> over a rest api.
[15:08:19] <TyrfingMjolnir> backend could be any webservice
[15:08:33] <deyna> dont get that sadly, been working on the asummption that if you register an input inside a form, require ngModel and form gives you access to the same thing
[15:08:37] *** mennea has quit IRC
[15:08:51] <TyrfingMjolnir> Do you have nginx, nodejs or other web service set up?
[15:09:09] <TyrfingMjolnir> Alax: Do you have a REST api configured?
[15:09:19] <Alax> I plan to configure it
[15:09:25] *** mennea has joined #angularjs
[15:09:27] <Alax> i'd like to find a tutorial that helps me better understand it
[15:09:58] <TyrfingMjolnir> Which DB?
[15:10:11] <Alax> Most likely MySQL or Mongo... haven't thought it out quite
[15:10:15] <TyrfingMjolnir> If you are using postgreSQL I would set this one up for dev purposes: http://rny.io/nginx/postgresql/2013/07/26/simple-api-with-nginx-and-postgresql.html
[15:10:16] <Alax> here is what im trying todo) https://cdn.mediacru.sh/b7sFe_bs4tmY.png
[15:10:32] <Alax> I'll def look into it.
[15:10:46] <TyrfingMjolnir> But be prepared to do the production one in NodeJS / express
[15:10:57] <Alax> Hmm?
[15:11:08] <TyrfingMjolnir> The link I just gave you should make you able to get a REST API up and running in 10-25 mins
[15:11:29] <Alax> Alright awesome.
[15:11:31] <TyrfingMjolnir> The nginx approach is good for learning and for public repos
[15:11:48] <Alax> How would i go about multiple users and storing there information? With Angular as frontend and this rest api as my backend
[15:12:00] <TyrfingMjolnir> But for production with limited access you will like to do NodeJS / express / passport or the likes
[15:12:53] *** Mael has joined #angularjs
[15:12:55] *** SergioFilhow_ has joined #angularjs
[15:13:16] <Alax> ok..
[15:13:42] *** SergioFilhow has quit IRC
[15:14:58] <TyrfingMjolnir> Do yourself a favor just do the nginx setup for any user first
[15:15:37] *** apoorvparijat has quit IRC
[15:15:38] <TyrfingMjolnir> Also the design of your db will limit which user
[15:16:01] <TyrfingMjolnir> table user: userID, shortname, validationCriteria
[15:16:14] <TyrfingMjolnir> Setting up a http://localhost/api/login/:userID
[15:16:32] *** marshall_ has quit IRC
[15:16:35] <TyrfingMjolnir> Will make sure you get the user's shortname
[15:18:06] <TyrfingMjolnir> But using http is only for development
[15:18:07] *** mjw56 has quit IRC
[15:18:14] <TyrfingMjolnir> For deployment you will need to use https
[15:18:37] *** sirsirsir has joined #angularjs
[15:19:25] *** Mael has quit IRC
[15:20:49] *** balr0g has joined #angularjs
[15:21:26] *** grantfunke_ has joined #angularjs
[15:22:41] *** nanduraj has joined #angularjs
[15:22:47] *** sirsirsir has quit IRC
[15:23:04] *** DrMabuse has joined #angularjs
[15:25:40] *** narutimateum has quit IRC
[15:25:55] *** grantfunke_ has quit IRC
[15:26:38] *** dannyc has quit IRC
[15:26:59] *** tfennelly has joined #angularjs
[15:27:17] *** apoorvparijat has joined #angularjs
[15:29:09] *** caitp has quit IRC
[15:29:29] *** emmesswhy has joined #angularjs
[15:31:29] <TyrfingMjolnir> Alax: http://www.postgresql.org/docs/current/static/functions-json.html json_populate_record(base anyelement, from_json json, [, use_json_as_text bool=false]
[15:32:11] *** morenoh149 has joined #angularjs
[15:32:28] *** caitp has joined #angularjs
[15:32:36] *** Alina-malina has quit IRC
[15:32:46] *** martianboy_ has quit IRC
[15:33:02] *** Alina-malina has joined #angularjs
[15:33:03] *** bmac has quit IRC
[15:33:07] *** mtsr has quit IRC
[15:33:48] *** NoNMaDDeN has joined #angularjs
[15:34:05] *** brettfrable has quit IRC
[15:36:34] *** jmichaelward has joined #angularjs
[15:36:55] *** mjw56 has joined #angularjs
[15:37:28] *** caitp has quit IRC
[15:38:27] *** mjw56 has quit IRC
[15:38:39] *** mennea has quit IRC
[15:38:55] *** Alina-malina has quit IRC
[15:38:55] *** Solid1 is now known as Solid1_afk
[15:39:15] *** mennea has joined #angularjs
[15:39:35] *** leehamble has joined #angularjs
[15:39:38] *** rchavik has quit IRC
[15:39:48] *** leehamble has quit IRC
[15:39:53] *** H1FuelCell has quit IRC
[15:40:59] *** whitebook has joined #angularjs
[15:42:20] *** NoNMaDDeN has quit IRC
[15:43:32] *** leehambley has quit IRC
[15:44:58] *** NoNMaDDeN has joined #angularjs
[15:45:15] *** whitebook has quit IRC
[15:46:27] *** NoNMaDDeN has quit IRC
[15:46:45] *** deyna has quit IRC
[15:48:10] *** Alina-malina has joined #angularjs
[15:48:25] *** canthugeverycat has quit IRC
[15:49:00] *** thumpba has joined #angularjs
[15:51:36] *** VeeWee has quit IRC
[15:51:53] *** kent\n has quit IRC
[15:51:59] *** kent\n has joined #angularjs
[15:52:03] *** tfennelly has quit IRC
[15:52:34] *** bundledavid has joined #angularjs
[15:53:42] *** rcanepa has joined #angularjs
[15:54:33] *** mmealling has joined #angularjs
[15:55:10] *** despai has joined #angularjs
[15:55:23] *** ciwolsey has joined #angularjs
[15:55:30] *** jlmitch5dev has joined #angularjs
[15:55:43] *** Sijdesign has joined #angularjs
[15:55:59] *** bbankes has joined #angularjs
[15:56:58] *** bundledavid has quit IRC
[15:57:49] *** Oxynum has quit IRC
[16:00:04] *** xjiujiu has quit IRC
[16:00:36] *** jmichaelward has quit IRC
[16:01:09] *** DLSteve has quit IRC
[16:04:40] *** Oxynum has joined #angularjs
[16:06:27] *** araujo has joined #angularjs
[16:06:28] *** araujo has joined #angularjs
[16:07:58] *** rafagomes_ has quit IRC
[16:08:40] *** mennea has quit IRC
[16:08:57] *** chabier has joined #angularjs
[16:09:18] *** mennea has joined #angularjs
[16:09:53] *** evilaliv3 has quit IRC
[16:10:34] *** apoorvparijat has quit IRC
[16:12:38] *** Oxynum has quit IRC
[16:13:20] *** callmekatootie has joined #angularjs
[16:15:30] *** quantax- has joined #angularjs
[16:16:39] <jaydubya> I just cloned this project from John Papa -- https://github.com/johnpapa/gulp-patterns/tree/4f612fbfb79bf0e8c4227d62b9ed745fd5abb2b8 -- and ran "npm install" and "bower install" and "gulp serve-dev" and the app is running on localhost:7203 as expected. Now, I would like to map this to MAMP PRO so I can use it as a starting point for a project. However, I have to clue as to where the site's root folder is.
[16:17:03] <jaydubya> ^no clue
[16:17:04] *** callmekatootie has left #angularjs
[16:19:19] <CanyonMan> Can soembody explain these selects to me?
[16:19:27] <CanyonMan> typeahead="platform for platform in platforms"
[16:19:31] <CanyonMan> It works, but I have no idea why
[16:19:31] <TyrfingMjolnir> MAMP?
[16:19:49] <TyrfingMjolnir> /Library/Webserver/Documents/
[16:19:52] <TyrfingMjolnir> ?
[16:19:52] *** thumpba has quit IRC
[16:19:56] <CanyonMan> https://docs.angularjs.org/api/ng/directive/select <-- is this the right thing to look at to figure this out?
[16:20:00] *** boxmein has quit IRC
[16:20:37] *** Oxynum has joined #angularjs
[16:20:38] *** leehambley has joined #angularjs
[16:20:46] *** jmichaelward has joined #angularjs
[16:22:09] *** jumpstracks has joined #angularjs
[16:22:12] *** Sijdesign has quit IRC
[16:22:14] *** grantfunke_ has joined #angularjs
[16:22:21] *** xjiujiu has joined #angularjs
[16:23:19] <jaydubya> TyrfingMjolnir: MAMP is like WAMP for a mac
[16:23:44] <TyrfingMjolnir> Guess I used LAMP back in the day
[16:23:51] <jaydubya> TyrfingMjolnir: I need to know where the index.html file is so I can point MAMP to the site
[16:24:13] *** dannyc has joined #angularjs
[16:24:24] <TyrfingMjolnir> sudo find / -name index.html
[16:24:48] <TyrfingMjolnir> Usually /Library/Webserver/Documents/
[16:25:13] *** bbankes has quit IRC
[16:26:32] *** grantfunke_ has quit IRC
[16:27:32] *** pants_ has quit IRC
[16:27:45] <jaydubya> what I don't understand is where is gulp serving this site FROM ... I tries /src/client/index.html and that doesn't look correct. Is it because this project uses Gulp that the site is "generated at runtime?" ... if so, how would I ever know what to upload to the production server? I don't understand this Gulp business at all.
[16:27:55] *** chabier has quit IRC
[16:28:24] *** mennea has quit IRC
[16:29:59] *** soee_ has joined #angularjs
[16:32:29] *** DuelShark has quit IRC
[16:33:30] *** DLSteve has joined #angularjs
[16:33:37] *** soee has quit IRC
[16:33:38] *** yoshokatana has joined #angularjs
[16:33:57] *** adpirz has joined #angularjs
[16:34:02] *** motionman has quit IRC
[16:34:17] *** sirsirsir has joined #angularjs
[16:34:45] *** chabier has joined #angularjs
[16:36:05] *** Luyt has left #angularjs
[16:36:39] *** DLSteve has quit IRC
[16:37:48] *** despai has quit IRC
[16:38:03] *** evilaliv3 has joined #angularjs
[16:38:24] *** SergioFilhow_ has quit IRC
[16:38:37] *** sirsirsir has quit IRC
[16:38:39] *** ekinmur has joined #angularjs
[16:39:03] *** leehambley has quit IRC
[16:40:20] *** Sna4x8 has quit IRC
[16:41:05] *** Sna4x8 has joined #angularjs
[16:41:15] *** emmesswhy has quit IRC
[16:42:33] *** chabier has quit IRC
[16:42:47] *** threesixes has quit IRC
[16:43:07] *** ekinmur has quit IRC
[16:43:30] *** chabier has joined #angularjs
[16:43:36] *** caitp has joined #angularjs
[16:43:38] *** chabier has quit IRC
[16:45:11] *** chabier has joined #angularjs
[16:45:24] *** TyrfingMjolnir has quit IRC
[16:46:16] *** codeninja-don has joined #angularjs
[16:47:48] *** Prjio has quit IRC
[16:47:59] *** caitp has quit IRC
[16:48:25] *** motionman has joined #angularjs
[16:51:01] *** firelinks has joined #angularjs
[16:54:55] *** bbankes has joined #angularjs
[16:55:44] *** cheef has quit IRC
[16:56:06] *** fabiofb has joined #angularjs
[16:57:09] *** firelink_ has joined #angularjs
[16:57:15] *** SergioFilhow_ has joined #angularjs
[16:57:23] *** dannyc has quit IRC
[16:58:15] *** chabier has quit IRC
[16:58:18] *** despai has joined #angularjs
[16:58:30] *** Harshil has joined #angularjs
[16:59:57] *** firelinks has quit IRC
[17:00:58] <dman777> jaydubya: var index = paths.client + 'index.html';
[17:01:19] *** epantzar has joined #angularjs
[17:01:23] *** kapil__ has quit IRC
[17:01:25] <dman777> jaydubya: from https://github.com/johnpapa/gulp-patterns/blob/4f612fbfb79bf0e8c4227d62b9ed745fd5abb2b8/gulpfile.js . so look at paths.client
[17:01:31] *** yelvert has joined #angularjs
[17:02:31] <dman777> jaydubya: hehe...not sure where paths.client is sat though
[17:03:30] <jaydubya> yeah, I don't see a paths directory either
[17:03:30] *** codeninja-don has quit IRC
[17:03:44] <dman777> jaydubya: ah...just found it https://github.com/johnpapa/gulp-patterns/blob/4f612fbfb79bf0e8c4227d62b9ed745fd5abb2b8/gulp.config.json
[17:04:00] <dman777> oh wait...sorrry...maybe not
[17:04:33] *** gunn_ has quit IRC
[17:05:28] <dman777> jaydubya: ah.... var paths = require('./gulp.config.json');
[17:05:49] *** yelvert has quit IRC
[17:06:56] *** cakirke has quit IRC
[17:07:37] <dman777> jaydubya: so it looks like the same directory "/ src / client / index.html" https://github.com/johnpapa/gulp-patterns/blob/4f612fbfb79bf0e8c4227d62b9ed745fd5abb2b8/src/client/index.html
[17:07:47] *** cacts has joined #angularjs
[17:07:52] <dman777> as you stated. I see the index.html file there.
[17:08:01] *** doug64k has joined #angularjs
[17:08:09] *** apoorvparijat has joined #angularjs
[17:09:03] *** apoorvparijat has left #angularjs
[17:09:05] *** apoorvparijat has joined #angularjs
[17:09:07] <dman777> The file is already gennerated, but at run time the bower and js injection will happen if there are new files.
[17:09:25] *** busticated has joined #angularjs
[17:09:55] *** iksik has quit IRC
[17:10:36] *** iksik has joined #angularjs
[17:12:04] <jaydubya> yes, I think I will have to look elsewhere for a starter ... this one is beyond my abilities
[17:14:59] *** motionman has quit IRC
[17:15:36] *** chabier has joined #angularjs
[17:16:06] <jaydubya> this is how the site looks when using Gulp on localhost http://cl.ly/image/3q1k240Y0W2s
[17:16:17] *** bbankes has quit IRC
[17:16:49] <jaydubya> and this is how it looks in MAMP when pointing to that index.html http://cl.ly/image/313K3B332B0l
[17:18:02] *** NoNMaDDeN has joined #angularjs
[17:18:25] *** simsketch has quit IRC
[17:19:15] *** apertoire has quit IRC
[17:19:46] *** busticated has quit IRC
[17:19:52] *** Alax has quit IRC
[17:21:27] *** codeninja-don has joined #angularjs
[17:22:57] *** grantfunke_ has joined #angularjs
[17:23:06] *** DuelShark has joined #angularjs
[17:23:22] *** DrMabuse has quit IRC
[17:23:40] *** bbankes has joined #angularjs
[17:25:05] *** plato has quit IRC
[17:25:45] *** chabier has quit IRC
[17:26:26] *** chabier has joined #angularjs
[17:27:10] *** arabot has joined #angularjs
[17:27:17] *** grantfunke_ has quit IRC
[17:27:44] *** motionman has joined #angularjs
[17:28:12] *** mtsr has joined #angularjs
[17:31:47] *** mary5030 has joined #angularjs
[17:32:23] *** cheef has joined #angularjs
[17:34:46] *** tripu has joined #angularjs
[17:36:12] *** jmichaelward has quit IRC
[17:39:41] *** jonr22 has joined #angularjs
[17:40:19] *** jmichaelward has joined #angularjs
[17:40:33] *** plato has joined #angularjs
[17:40:58] *** waverider has quit IRC
[17:41:17] *** s3shs has joined #angularjs
[17:41:28] *** bundledavid has joined #angularjs
[17:42:13] *** kirfu has joined #angularjs
[17:42:15] *** apoorvparijat has quit IRC
[17:42:53] *** dweave has joined #angularjs
[17:44:06] <opiates> Silly question, but I'm not sure what words to search: I'm using ngResource to GET, but the URL requires a username/password (well, username is blank) when you typically access it via browser...
[17:44:06] *** cannap has quit IRC
[17:44:24] *** cannap has joined #angularjs
[17:44:26] *** canthugeverycat has joined #angularjs
[17:44:29] <opiates> how would i go about passing the password
[17:44:53] *** loverajoel has joined #angularjs
[17:45:38] *** bundledavid has quit IRC
[17:45:56] *** mmealling has quit IRC
[17:46:17] *** codeninja-don has quit IRC
[17:47:19] *** codeninja-don has joined #angularjs
[17:47:25] *** loverajoel has quit IRC
[17:47:42] *** jonr2219 has joined #angularjs
[17:48:23] *** cotko has quit IRC
[17:48:37] *** Prjio has joined #angularjs
[17:51:30] *** kirfu has quit IRC
[17:51:32] *** crazy_v_k has joined #angularjs
[17:51:38] *** IvailoStoianov has quit IRC
[17:51:53] *** jonr2219 has quit IRC
[17:52:57] *** xjiujiu has quit IRC
[17:53:02] *** kirfu has joined #angularjs
[17:53:26] *** IvailoStoianov has joined #angularjs
[17:53:49] *** mmealling has joined #angularjs
[17:54:15] *** jmichaelward has quit IRC
[17:54:54] *** s3shs has quit IRC
[17:55:05] *** dannyc has joined #angularjs
[17:55:27] *** Prjio has quit IRC
[17:55:47] *** chabier has quit IRC
[17:57:01] *** josh-k has joined #angularjs
[17:57:28] *** oniMaker_ is now known as oniMaker
[17:57:31] *** Dixty has joined #angularjs
[17:57:35] *** s3shs has joined #angularjs
[17:58:28] *** Browserr has quit IRC
[17:58:51] *** Harshil has quit IRC
[17:59:23] *** moritzschaefer has quit IRC
[17:59:41] *** codeninja-don has quit IRC
[17:59:44] *** crazy_v_k has quit IRC
[17:59:53] *** llll has joined #angularjs
[18:00:34] *** JR___ has joined #angularjs
[18:01:34] *** moritzs has joined #angularjs
[18:01:47] *** jlmitch5_ has joined #angularjs
[18:01:48] *** chabier has joined #angularjs
[18:02:48] *** llll has quit IRC
[18:02:52] *** chabier has quit IRC
[18:03:11] *** yelvert has joined #angularjs
[18:03:44] *** t1mmen has joined #angularjs
[18:03:53] *** jlmitch5dev has quit IRC
[18:04:51] *** JR___ has quit IRC
[18:05:02] *** evilaliv3 has quit IRC
[18:05:45] *** ingsoc has quit IRC
[18:05:57] *** bbankes has quit IRC
[18:06:04] *** cheef has quit IRC
[18:07:13] *** cheef has joined #angularjs
[18:08:07] *** yelvert has quit IRC
[18:08:22] *** adpirz has quit IRC
[18:10:19] *** firelink_ has quit IRC
[18:11:42] *** bbankes has joined #angularjs
[18:11:43] *** ome has quit IRC
[18:12:26] *** cheef has quit IRC
[18:13:17] *** instence_ has joined #angularjs
[18:13:54] *** instence has quit IRC
[18:15:11] *** Embassy has joined #angularjs
[18:15:22] *** Mael has joined #angularjs
[18:15:31] *** motionman has quit IRC
[18:16:45] <amergin> any idea why element.on('resize', function() { ... } ) would not be triggered
[18:19:38] *** Embassy has quit IRC
[18:19:45] *** nanduraj has quit IRC
[18:20:48] *** grantfunke_ has joined #angularjs
[18:23:09] *** sirsirsir has joined #angularjs
[18:23:24] *** mjw56 has joined #angularjs
[18:27:34] *** dannyc has quit IRC
[18:27:59] *** sirsirsir has quit IRC
[18:30:11] *** grantfunke_ has quit IRC
[18:30:27] *** despai has quit IRC
[18:31:23] *** dannyc has joined #angularjs
[18:32:13] *** Snugug has joined #angularjs
[18:34:11] *** DrMabuse has joined #angularjs
[18:34:42] *** beilabs____ has quit IRC
[18:35:20] *** bayousoft has quit IRC
[18:35:58] *** jumpstracks has quit IRC
[18:36:52] *** anderskristo has quit IRC
[18:37:02] *** Snugug has quit IRC
[18:37:29] *** Snugug has joined #angularjs
[18:37:46] *** anderskristo has joined #angularjs
[18:37:50] *** t1mmen has quit IRC
[18:38:03] *** beilabs____ has joined #angularjs
[18:39:01] *** dannyc has quit IRC
[18:39:10] *** DrMabuse has quit IRC
[18:39:27] *** cthrax has joined #angularjs
[18:39:36] *** dannyc has joined #angularjs
[18:40:28] *** ____aaaah has quit IRC
[18:41:10] *** Prjio has joined #angularjs
[18:41:37] *** amirn has joined #angularjs
[18:42:14] *** Oxynum has quit IRC
[18:42:19] *** cboden_ has joined #angularjs
[18:42:23] *** grantfunke_ has joined #angularjs
[18:42:56] *** s3shs has quit IRC
[18:42:58] *** jumpstracks has joined #angularjs
[18:45:34] *** s3shs has joined #angularjs
[18:45:53] *** mgustaf has joined #angularjs
[18:46:12] *** cboden_ has quit IRC
[18:46:34] *** DrAwesomeClaws has joined #angularjs
[18:46:57] *** cacts has quit IRC
[18:46:58] *** cboden_ has joined #angularjs
[18:47:34] *** DrAwesomeClaws has joined #angularjs
[18:49:54] *** alasi has joined #angularjs
[18:50:35] *** goodenough has joined #angularjs
[18:51:46] <alasi> Hi guys. It seems that when I make a setter for a service, any controller whose own attributes reflecting that service's attributes will not be updated?
[18:52:12] <alasi> Should the service have an onUpdated() call for all the controllers to respond to?
[18:53:21] *** LinxCat has joined #angularjs
[18:54:00] <alasi> I will make an example
[18:54:15] <LinxCat> here is a question for anyone who uses asp.net with angularJS. How do you handle postbacks and angularJS routing together? I mean how do you keep the URL fragements which angular needs on postbacks?
[18:55:04] *** nocturne777 has joined #angularjs
[18:55:25] *** jmichaelward has joined #angularjs
[18:55:35] *** Snugug has quit IRC
[18:55:49] *** epantzar has quit IRC
[18:56:14] *** fairuz has quit IRC
[18:57:16] *** fairuz has joined #angularjs
[18:57:23] <alasi> Here we go
[18:57:25] <alasi> http://jsbin.com/fetozigapu/1/edit?html,js,output
[18:57:32] <alasi> When you click the button, why does foo not turn to bar?
[18:57:56] *** amirn has quit IRC
[18:58:20] *** vdiaz has joined #angularjs
[18:58:26] *** s3shs has quit IRC
[18:58:40] *** apertoire has joined #angularjs
[18:58:42] *** rburns has quit IRC
[18:59:18] *** jonr22 has quit IRC
[18:59:34] *** s3shs has joined #angularjs
[19:00:14] *** jmichaelward has quit IRC
[19:00:24] *** glassir has joined #angularjs
[19:00:33] *** cboden_ has quit IRC
[19:01:13] *** aarapov has joined #angularjs
[19:01:48] *** despai has joined #angularjs
[19:02:13] *** evilaliv3 has joined #angularjs
[19:03:06] <alasi> here is a better example using a different method
[19:03:07] <alasi> http://jsbin.com/badujugofu/1/edit?html,js,output
[19:03:54] *** s3shs has quit IRC
[19:04:23] *** morenoh149 has quit IRC
[19:04:32] *** t1mmen has joined #angularjs
[19:04:40] *** eago has joined #angularjs
[19:06:37] *** instence_ has quit IRC
[19:06:49] *** instence has joined #angularjs
[19:07:23] *** loverajoel has joined #angularjs
[19:07:59] *** loverajoel has quit IRC
[19:08:13] *** wookiehangover has quit IRC
[19:08:46] *** adpirz has joined #angularjs
[19:08:49] <jcool> alasi, It seems its scope issue. The value being changed is limited to that controller only
[19:08:58] <jcool> alasi, as all controller have their own scopes.
[19:09:22] *** cboden_ has joined #angularjs
[19:09:34] <alasi> jcool: I thought the purpose of services was to bridge the gap between scopes...
[19:10:20] <alasi> And even with a scope-neutral setter method, the other controllers will not update their own scopes accordingly
[19:10:29] *** cboden_ has quit IRC
[19:11:42] <jcool> alasi, I dont know deep down. I am new to angular. I havent used services yet. :)
[19:11:54] <alasi> Ok :) sorry, I am desperate
[19:12:08] <alasi> it is lunchtime, maybe i will ask later
[19:12:09] <alasi> :P
[19:12:18] *** mjw56 has quit IRC
[19:12:38] *** marshall_ has joined #angularjs
[19:12:54] *** thumpba has joined #angularjs
[19:12:58] <jcool> alasi, ;)
[19:13:03] <alasi> ooh i found a video
[19:13:16] *** memento_ has joined #angularjs
[19:14:18] *** balr0g has quit IRC
[19:15:05] *** H1FuelCell has joined #angularjs
[19:15:54] *** memento__ has quit IRC
[19:19:07] *** shubhu has joined #angularjs
[19:19:47] *** bealtine has quit IRC
[19:20:56] *** t1mmen has quit IRC
[19:21:09] *** deanclkclk has quit IRC
[19:21:36] *** shaym_ has quit IRC
[19:23:06] *** diegoaguilar has quit IRC
[19:23:52] *** dannyc_ has joined #angularjs
[19:23:53] *** sirsirsir has joined #angularjs
[19:24:50] *** s3shs has joined #angularjs
[19:24:59] *** cthrax has quit IRC
[19:26:13] *** Evanion has quit IRC
[19:27:15] *** cthrax has joined #angularjs
[19:27:21] *** beilabs_____ has joined #angularjs
[19:27:42] *** marshall_ is now known as marshall
[19:28:24] *** xuu has quit IRC
[19:28:27] *** beilabs____ has quit IRC
[19:28:27] *** sirsirsir has quit IRC
[19:28:42] *** voltagex has quit IRC
[19:29:09] *** josh-k_ has joined #angularjs
[19:30:23] *** bundledavid has joined #angularjs
[19:31:12] *** xuu has joined #angularjs
[19:32:26] *** s3shs has quit IRC
[19:32:26] *** josh-k has quit IRC
[19:34:37] *** bundledavid has quit IRC
[19:35:19] *** doug64k has quit IRC
[19:35:31] *** Beatzebub has joined #angularjs
[19:35:34] *** adpirz has quit IRC
[19:36:39] *** cheef has joined #angularjs
[19:36:45] *** sressot has quit IRC
[19:36:56] *** alasi has quit IRC
[19:37:56] *** cheef has quit IRC
[19:39:17] *** BillCriswell has joined #angularjs
[19:39:36] *** DrMabuse has joined #angularjs
[19:39:57] *** appariti_ has joined #angularjs
[19:39:59] *** apparition168 has quit IRC
[19:40:25] *** yoshokatana has quit IRC
[19:40:31] *** vbabiy_ has quit IRC
[19:40:40] *** trampi has quit IRC
[19:41:03] *** Milkweed has joined #angularjs
[19:41:17] *** beilabs______ has joined #angularjs
[19:41:26] *** sressot has joined #angularjs
[19:41:39] *** rcanepa has quit IRC
[19:43:03] *** nocturne777 has quit IRC
[19:43:03] *** Ephemeral has quit IRC
[19:43:06] *** wolf__ has joined #angularjs
[19:43:09] *** BahamutWC_ has joined #angularjs
[19:43:21] *** beilabs_____ has quit IRC
[19:43:23] *** Ephemeral has joined #angularjs
[19:43:32] *** BahamutWC|Laptop has quit IRC
[19:43:34] *** diosney has joined #angularjs
[19:43:53] *** wolf__ has quit IRC
[19:43:54] *** diosney has left #angularjs
[19:44:09] *** nocturne777 has joined #angularjs
[19:44:24] *** shubhu_ has joined #angularjs
[19:44:33] *** radiodario has quit IRC
[19:44:54] *** jumpstracks has quit IRC
[19:45:00] *** dannyc has quit IRC
[19:45:07] *** kirfu has quit IRC
[19:45:18] <shubhu_> http://plnkr.co/edit/tpl:rfqcl9AHEoJZEEJxyNn2
[19:45:19] *** shubhu has quit IRC
[19:45:33] <shubhu_> my timeout works fine when i input text
[19:45:46] *** josh-k_ has quit IRC
[19:45:47] *** eago has quit IRC
[19:45:47] *** StevenMcD has quit IRC
[19:45:48] *** sressot has quit IRC
[19:45:49] *** kirfu has joined #angularjs
[19:45:52] <shubhu_> but when i clear text using backspaces it fires twice
[19:46:00] *** StevenMcD has joined #angularjs
[19:46:09] *** radiodario has joined #angularjs
[19:46:13] *** josh-k has joined #angularjs
[19:46:38] *** yoshokatana has joined #angularjs
[19:46:56] *** dannyc has joined #angularjs
[19:47:22] *** BahamutWC has quit IRC
[19:47:38] *** beilabs_______ has joined #angularjs
[19:47:41] *** skyx_ has quit IRC
[19:48:04] *** tristanp has joined #angularjs
[19:48:17] *** beilabs______ has quit IRC
[19:49:05] *** DrAwesomeClaws has quit IRC
[19:49:21] *** fairuz has quit IRC
[19:49:45] *** __alex has quit IRC
[19:49:54] *** __alex has joined #angularjs
[19:49:57] *** fairuz has joined #angularjs
[19:50:26] <shubhu_> anyone?
[19:50:28] *** iamaregee21 has joined #angularjs
[19:51:02] *** joebobjoe has joined #angularjs
[19:51:09] *** ABCDEFGMinor has quit IRC
[19:51:21] *** SergioFilhow_ has quit IRC
[19:51:34] *** iamaregee2 has quit IRC
[19:51:45] *** ABCDEFGMinor has joined #angularjs
[19:51:48] <joebobjoe> According to this: https://docs.angularjs.org/guide/services "Each component dependent on a service gets a reference to the single instance generated by the service factory."
[19:52:00] <joebobjoe> Is the singleton shared module-wide or app-wide?
[19:52:00] *** skyx_ has joined #angularjs
[19:52:30] *** yoshokatana_ has joined #angularjs
[19:52:33] *** skyx_ has quit IRC
[19:52:42] *** sressot has joined #angularjs
[19:52:54] *** tristanp has quit IRC
[19:53:23] *** yoshokatana has quit IRC
[19:53:24] *** SergioFilhow_ has joined #angularjs
[19:53:32] *** tristanp has joined #angularjs
[19:53:33] *** Beg has quit IRC
[19:53:37] *** beilabs________ has joined #angularjs
[19:53:45] *** cboden_ has joined #angularjs
[19:54:02] *** Beg has joined #angularjs
[19:54:37] *** Nivag_ has joined #angularjs
[19:54:52] *** beilabs_______ has quit IRC
[19:54:53] *** Mael has quit IRC
[19:55:40] *** silo- has joined #angularjs
[19:56:35] *** sressot has quit IRC
[19:56:40] *** tristanp has quit IRC
[19:56:56] *** tristanp has joined #angularjs
[19:57:13] *** snurfery has joined #angularjs
[19:57:40] *** d0nk` has quit IRC
[19:57:50] *** sressot has joined #angularjs
[19:57:54] *** dannyc_ has quit IRC
[19:57:58] *** d0nk` has joined #angularjs
[19:58:05] *** beilabs_________ has joined #angularjs
[19:58:07] *** beilabs________ has quit IRC
[19:58:21] *** cthrax has quit IRC
[19:58:25] *** fabiofb has quit IRC
[19:59:22] *** silo has quit IRC
[20:00:16] <dman777> joebobjoe: app wide...depending where ever you choose to inject that service
[20:00:49] <joebobjoe> dman777, So the service is only created once ever?
[20:01:26] <dman777> joebobjoe: yes
[20:01:33] <joebobjoe> dman777, k
[20:01:39] <dman777> joebobjoe: http://angular-tips.com/blog/categories/services/
[20:02:17] *** xxMatiasFCxx has joined #angularjs
[20:04:07] *** siovene has joined #angularjs
[20:04:22] <dman777> shubhu_: $timeout will fire with each digest....but not sure if this applies to you
[20:04:54] <dman777> shubhu_: that link it's show ing the code your speaking of
[20:06:00] *** m_rc has joined #angularjs
[20:06:08] *** xxMatiasFxx has quit IRC
[20:06:09] *** tristanp has quit IRC
[20:06:18] *** mkusher has quit IRC
[20:06:18] *** epantzar has joined #angularjs
[20:06:40] *** tristanp has joined #angularjs
[20:07:29] *** brettfrable has joined #angularjs
[20:07:37] *** DLSteve has joined #angularjs
[20:07:59] <shubhu_> sorry, check this http://plnkr.co/edit/Q0PDNPyf2h5De8Y844Em
[20:08:09] *** cthrax has joined #angularjs
[20:09:07] *** tristanp_ has joined #angularjs
[20:09:13] *** tristanp has quit IRC
[20:09:35] <shubhu_> dman777: my problem is that when i clear the text maybe timeout is not being canceled
[20:09:48] <m_rc> Anyone here good with unit tests? Having an issue with the fact that a resolve on my main '/' route seemingly needs to be resolved within every file.
[20:09:51] *** Aliks has joined #angularjs
[20:10:53] *** DrMabuse has quit IRC
[20:11:16] *** epantzar has quit IRC
[20:11:38] *** snurfery has quit IRC
[20:11:51] <dman777> shubhu_: I would guess that is because after if (timer) {} runs.... timer = $timeout runs
[20:11:57] <dman777> shubhu_: it's not a if else
[20:12:02] *** brettfrable has quit IRC
[20:12:23] <dman777> shubhu_: oh wait
[20:12:28] *** BahamutWC|Laptop has joined #angularjs
[20:12:58] *** grantfunke_ has quit IRC
[20:13:33] <siovene> Hi. Is there a way to make a karma unit test to write something to a file?
[20:13:42] <dman777> shubhu_: it's possible that there is a race condition somewhere and timer is already placed on the event loop and runs...so the cancel is to late
[20:14:12] <shubhu_> dman777: behaviour is correct when i type text
[20:14:17] *** beilabs_________ has quit IRC
[20:15:14] *** beilabs_________ has joined #angularjs
[20:15:44] *** lexek__ has quit IRC
[20:15:46] *** doug64k has joined #angularjs
[20:15:53] *** sl33k_ has joined #angularjs
[20:16:21] <dman777> shubhu_: I don't know without stepping through but I wonder...does backspace count as ng-change?
[20:16:26] *** Dixty has quit IRC
[20:16:52] *** patrickarlt has joined #angularjs
[20:16:58] *** H1FuelCell has quit IRC
[20:17:20] *** vectra has quit IRC
[20:17:34] <dman777> shubhu_: also, I would write it as function foo() { if (true) { do this and exit function } else { $timeout(foo, 3000) } }
[20:17:38] *** eslaron has joined #angularjs
[20:18:26] *** grindmodeon has joined #angularjs
[20:18:26] <dman777> shubhu_: that would be more exact than the flow currently...if I am looking at it correctly
[20:18:56] *** Dixty has joined #angularjs
[20:19:07] <shubhu_> dman777: backspace should count as ng-change as the function is being called
[20:19:09] <eslaron> Hey ^^
[20:19:28] *** jumpstracks has joined #angularjs
[20:19:29] <dman777> shubhu_: ya, I don't know...backspace it provening to be different than the other text
[20:19:35] <eslaron> How can I access date from resolve block when define my controller like this? http://pastebin.com/swtvHa7v
[20:19:42] <eslaron> *data
[20:19:42] *** Evanion has joined #angularjs
[20:20:24] <dman777> shubhu_: have you tried ng-keyup to see if it's the same behavior?
[20:20:25] *** yoshokatana_ has quit IRC
[20:21:08] *** slopjong has joined #angularjs
[20:21:27] <dman777> shubhu_: I get different behavior with that. not sure if it's the behavior you want
[20:21:28] <shubhu_> dman777: no, checking now
[20:22:00] *** saint-ron has quit IRC
[20:22:51] *** huhu has joined #angularjs
[20:22:58] <eslaron> How can I access date from resolve block when define my controller like this? http://pastebin.com/swtvHa7v
[20:25:10] *** deanclkclk has joined #angularjs
[20:25:26] <shubhu_> dman777: thanks, ng-keyup works for me
[20:25:31] <dman777> +1
[20:25:44] *** huhu has quit IRC
[20:25:52] <Sacho> eslaron, assign the object you're passing to state to something.
[20:25:55] <dman777> eslaron: you can use regular javascript code in that function of the resolve block for date if you need to
[20:26:30] *** beilabs_________ has quit IRC
[20:26:57] *** beilabs_________ has joined #angularjs
[20:27:02] *** josh-k_ has joined #angularjs
[20:27:10] <dman777> eslaron: do you mean data?
[20:27:49] <eslaron> yeah
[20:28:02] *** seriema has joined #angularjs
[20:28:50] <dman777> eslaron: if you are trying to access return data from a resolved promise.... you may need to create a service to hold that value. then do .then(function(data){ servicename.data = data}
[20:29:10] *** josh-k__ has joined #angularjs
[20:29:29] *** grindmodeon has quit IRC
[20:29:58] <dman777> eslaron: typically, data in resolved promise is not accessable to the code outside of .then(), so you need to ether store it in a globalish variable
[20:30:22] <Sacho> eslaron, can you inject $state into that resolve?
[20:30:23] <eslaron> I tried making a service with restangular request, but it didn't work well.
[20:30:27] *** josh-k has quit IRC
[20:30:38] <Sacho> then you could use $state.current.data, probably
[20:30:39] <eslaron> probably yes
[20:30:46] <eslaron> let me try
[20:30:57] <dman777> eslaron: no, make a normal angular service and inject it into users: function(Restangular, servicenae) {} to hold the value
[20:31:08] <eslaron> well this data isn't in the current state, but in the parent state
[20:31:13] *** josh-k has joined #angularjs
[20:31:38] <dman777> eslaron: eslaron: typically, data in resolved promise is not accessable to the code outside of .then(), so you have to store that data somewhere inside the promise
[20:31:52] <dman777> hence do .then(function(data){ servicename.data = data}
[20:31:55] *** chabier has joined #angularjs
[20:31:56] *** charuru has joined #angularjs
[20:32:32] *** josh-k_ has quit IRC
[20:32:47] <Sacho> eslaron, wha tother properties does $state have?
[20:33:09] * Sacho doesn't use ui-router
[20:33:22] *** beilabs_________ has quit IRC
[20:33:28] <dman777> eslaron: I would not recommend using $state to hold that data. There can be side effects. In my experience.
[20:33:52] *** beilabs_________ has joined #angularjs
[20:33:55] *** sinequanon has joined #angularjs
[20:34:01] *** koutras has quit IRC
[20:34:30] *** josh-k__ has quit IRC
[20:34:38] <dman777> eslaron: normal angular service to hold primitive data :) don't make it complicated. However, you will need to clear out that data in the controller when it is done with a event handler on $destroy... like servicename.data = ""
[20:34:48] <Sacho> eslaron, if $state.current doesn't hold the state you need, I think you'd just have to what I suggested earlier
[20:34:55] *** renlo has joined #angularjs
[20:35:22] <Sacho> e.g. var stateConfig = {...}. .state(stateConfig), then you could access your data
[20:35:34] *** Beatzebub_ has joined #angularjs
[20:36:17] *** edy has joined #angularjs
[20:36:52] *** delisa has joined #angularjs
[20:36:52] *** dannyc has quit IRC
[20:37:01] <eslaron> dman777, could you show me how to build a service that retrieves data from Restangular requesT?
[20:37:21] *** josh-k_ has joined #angularjs
[20:37:26] <dman777> eslaron: sure...one sec
[20:37:28] *** dannyc has joined #angularjs
[20:38:03] *** disorder20 has joined #angularjs
[20:38:28] *** Oddman has joined #angularjs
[20:39:31] *** Beatzebub has quit IRC
[20:39:43] *** sirsirsir has joined #angularjs
[20:40:06] *** dus has joined #angularjs
[20:40:20] *** josh-k has quit IRC
[20:41:00] *** grindmodeon has joined #angularjs
[20:41:09] *** deanclkclk has quit IRC
[20:41:15] *** grindmodeon has quit IRC
[20:41:41] <dman777> eslaron: http://pastebin.com/0TaXULTz
[20:42:05] *** dannyc has quit IRC
[20:42:42] <dman777> eslaron: make sure app.service('fooService', function() {}) is loaded first in whatever file you place it in. Also, from http://angular-tips.com/blog/2013/08/understanding-service-types/ you probably could of used app.value('foo', 'A simple value'); also
[20:43:02] <dman777> in fact, app.value('foo', 'A simple value'); might be the best choice. but you can experiment
[20:43:27] <dman777> eslaron: but remember, that data sustains through out the life of the app. so when the controller is destroyed you will want to clar that data
[20:43:34] *** dannyc has joined #angularjs
[20:44:05] *** sirsirsir has quit IRC
[20:44:11] *** jmichaelward has joined #angularjs
[20:44:47] <dman777> eslaron: ah....in that code example I forgot to inject the service... so it would be users: function(Restangular, fooService ) {}
[20:44:49] <eslaron> I see
[20:44:55] *** RedOrangeZ has quit IRC
[20:44:58] *** e0ipso is now known as e0ipso|away
[20:45:03] *** yoshokatana has joined #angularjs
[20:45:33] *** warehouse13 has joined #angularjs
[20:45:39] <dman777> eslaron: but the important thing to remember in this is 2 things to help you in the future: data in .then() is not accessable from the outside. AND read up on pass by reference versus pass by value
[20:46:29] *** gunn has joined #angularjs
[20:46:57] <eslaron> I see
[20:47:02] <dman777> I find ui-router to be a little buggy...I feel better not using it myself when I can.
[20:47:21] <eslaron> Well I'm using it for the nested routes
[20:47:28] <dman777> ya, it's claim to fame
[20:47:34] *** Left_Turn has quit IRC
[20:47:44] <dman777> but I would stay away from its other features
[20:48:35] <eslaron> I also use Restangular but it doesn't want to cooperate with ngTable xD
[20:48:45] *** jmichaelward has quit IRC
[20:49:04] *** dannyc has quit IRC
[20:49:04] <dman777> eslaron: I find it's best to stay away from frameworks made of frameworks. In reality, angular.js alone is enough to get it all done
[20:49:19] *** jmichaelward has joined #angularjs
[20:49:20] *** morenoh149 has joined #angularjs
[20:50:08] <eslaron> Probably yes, but I'm in a hurry, so I need quick solutions
[20:50:46] <dman777> eslaron: most people are...in my expirience those bugs will end up taking much longer
[20:50:56] *** dannyc has joined #angularjs
[20:52:11] <eslaron> Passing data through states is kind of problematic in ui-router
[20:53:47] *** dannyc has quit IRC
[20:54:09] *** morenoh149 has quit IRC
[20:54:23] *** dannyc has joined #angularjs
[20:55:14] <eslaron> dman777 I did how you instructed me and... fooService.resolveData is undefined xD
[20:56:26] *** grantfunke_ has joined #angularjs
[20:56:34] *** eBureau has quit IRC
[20:56:57] *** alasi has joined #angularjs
[20:57:03] *** dannyc_ has joined #angularjs
[20:57:45] *** beilabs_________ has quit IRC
[20:58:10] *** shaym_ has joined #angularjs
[20:58:11] *** beilabs_________ has joined #angularjs
[20:58:32] *** chabier has quit IRC
[20:59:35] *** dannyc_ has quit IRC
[20:59:39] *** despai has quit IRC
[20:59:53] *** yoshokatana has quit IRC
[21:00:07] <joebobjoe> dman777, http://angular-tips.com/blog/2013/08/consuming-services/ doesn't make sense to me. Is there an error in the snippet starting with `app.service('Auth', function() {`?
[21:00:11] *** dannyc_ has joined #angularjs
[21:00:22] <alasi> Hi guys, I can't figure out how to properly share data between controlers with services. It seems that when I modify the service's variable in one controller, it doesn't update the service (http://jsbin.com/badujugofu/1/edit?html,js,output). So I tried to use setters, and this updated the service, but not the other controllers (http://jsbin.com/fetozigapu/1/edit?html,js,output)
[21:00:29] <joebobjoe> Shouldn't it be a Factory?
[21:01:23] <dman777> eslaron: sorry, instead of return resolveData try return { resolveData: resolveData }
[21:01:43] *** dannyc_ has quit IRC
[21:02:04] <dman777> joebobjoe: it is a factory...the article will explain it better
[21:02:17] <eslaron> I soled the problem :P
[21:02:22] *** despai has joined #angularjs
[21:02:32] *** aarapov has quit IRC
[21:02:53] *** threesixes has joined #angularjs
[21:03:03] <dman777> +1
[21:03:10] <eslaron> tfooService.resolveData.data - > fooService.resolveData. ( .data was making the arror)
[21:03:14] <joebobjoe> dman777, Don't Factories have to be defined with app.factory(...?
[21:03:27] *** grantfunke_ has quit IRC
[21:03:33] *** dannyc_ has joined #angularjs
[21:04:15] <dman777> eslaron: make sure to read pass by value versus pass by reference
[21:04:47] *** eago has joined #angularjs
[21:05:23] <dman777> eslaron: I think that may not work in the long wrong...it looks like fooService.resolveData will be passing by value. needs to be fooService.resolveData.data = data
[21:05:36] <dman777> eslaron: return { resolveData: resolveData } in service
[21:05:48] *** Oddman has quit IRC
[21:05:54] *** tfennelly has joined #angularjs
[21:06:22] <dman777> eslaron: or just use app.value()
[21:07:06] <Sacho> joebobjoe, the way Foxandxss uses it in that case, it would be the same whether you register the function as a factory or a service
[21:07:19] *** dannyc_ has quit IRC
[21:07:31] <eslaron> Anybody knows how to paginate data in AngularJs?
[21:07:38] <Sacho> joebobjoe, in general the difference between .service() and .factory() is minor - it's not really worth caring about.
[21:07:42] <Foxandxss> hey hey hey hey
[21:07:47] <eslaron> I can't display 500 records at once xD
[21:07:54] <joebobjoe> Sacho, what is the difference?
[21:07:58] <dman777> lol
[21:08:06] *** canthugeverycat has quit IRC
[21:08:08] *** yelvert has joined #angularjs
[21:08:14] <Foxandxss> joebobjoe: there is another article on the blog explaining the differences
[21:08:29] <Foxandxss> joebobjoe: http://angular-tips.com/blog/2013/08/understanding-service-types/
[21:08:41] *** DuelShark has quit IRC
[21:08:47] <joebobjoe> Foxandxss, I thought the service function would have to construct the object using `this`
[21:08:51] <joebobjoe> Not return an object...
[21:08:53] *** discgo has joined #angularjs
[21:09:00] <Foxandxss> that is wrong
[21:09:07] <Foxandxss> service is the one who uses "this"
[21:09:29] *** dannyc_ has joined #angularjs
[21:09:54] *** beilabs_________ has quit IRC
[21:09:56] *** yelvert has quit IRC
[21:10:01] *** beilabs_________ has joined #angularjs
[21:10:04] *** dhcar_AFK is now known as dhcar
[21:10:10] *** rcanepa has joined #angularjs
[21:10:38] *** rcanepa has quit IRC
[21:10:47] *** rcanepa has joined #angularjs
[21:11:34] *** cheef has joined #angularjs
[21:11:57] <eslaron> Anybody knows how to paginate data in AngularJS?
[21:11:59] *** brownish has quit IRC
[21:12:20] <joebobjoe> Foxandxss, huh?
[21:12:26] <joebobjoe> Foxandxss, I said it right
[21:12:37] <Foxandxss> joebobjoe: yeah, sorry, missread
[21:12:41] *** morenoh149 has joined #angularjs
[21:13:00] <joebobjoe> Foxandxss, Then why is the snippet in the page I linked not using `this`?
[21:13:15] *** sl33k_ has quit IRC
[21:13:55] <Foxandxss> actually it is not a bad idea
[21:13:56] *** SergioFilhow_ has quit IRC
[21:13:58] <Foxandxss> errr
[21:13:59] *** DrAwesomeClaws has joined #angularjs
[21:14:00] <Foxandxss> bad question
[21:14:01] *** marshall has quit IRC
[21:14:03] <Foxandxss> damn, today is not my day
[21:14:21] <Foxandxss> you can just return a function, but I would probably update that example
[21:14:22] *** beilabs_________ has quit IRC
[21:14:26] <Foxandxss> that is one of my first articles
[21:14:32] *** SergioFilhow_ has joined #angularjs
[21:14:37] *** beilabs_________ has joined #angularjs
[21:14:39] *** grantfunke_ has joined #angularjs
[21:14:40] *** thumpba has quit IRC
[21:14:40] <Foxandxss> and even when it is right to use it like that
[21:14:42] *** TheAceOfHearts has joined #angularjs
[21:14:46] <Foxandxss> better to use a factory in that case
[21:14:48] <Foxandxss> easier to read
[21:15:13] <TheAceOfHearts> Foxandxss: Rails 5 started: https://github.com/rails/rails/commit/f25ad07f5ade46eb978fa82658463232d0247c65
[21:15:46] <Foxandxss> TheAceOfHearts: shut up, I am starting to like node
[21:15:47] <Foxandxss> :P
[21:16:05] <TheAceOfHearts> Node isn't the best tool for every job :p, nor is Rails
[21:16:32] <Foxandxss> yeah, but mostly for what I do
[21:16:47] <Foxandxss> anyway, that is good
[21:16:48] <joebobjoe> Foxandxss, but will what you did even work?
[21:17:00] <alasi> Anyone know why my setter function within my service doesn't reflect the controller's data? http://jsbin.com/cimewiwuje/1/edit?html,js,output
[21:17:03] <Foxandxss> that will take a while tho
[21:17:06] <Foxandxss> joebobjoe: why it shouldn't?
[21:17:11] <Foxandxss> that is a better question
[21:17:21] *** morenoh149 has quit IRC
[21:17:29] <joebobjoe> Foxandxss, you can return an object from the constructor function passed to app.service?
[21:17:40] <joebobjoe> Thanks for the article by the way
[21:18:18] *** shubhu_ has quit IRC
[21:18:23] <japhar81> does ui.bootstrap typeahead not play nicely with form validation?
[21:18:40] *** grantfunke_ has quit IRC
[21:18:49] <Foxandxss> joebobjoe: http://plnkr.co/edit/7qllVR3HGx0nS3YJdHob?p=preview
[21:18:49] *** beilabs_________ has quit IRC
[21:18:54] <Foxandxss> apparently, you can do it
[21:18:56] *** beilabs_________ has joined #angularjs
[21:18:56] *** SergioFilhow_ has quit IRC
[21:19:09] <Foxandxss> probably not the best idea, I will change my article to use factory
[21:19:17] *** bundledavid has joined #angularjs
[21:19:25] <Foxandxss> alasi: let me see
[21:19:29] <alasi> Foxandxss: D
[21:19:31] <alasi> :D**
[21:20:29] <Foxandxss> alasi: out of curiosity, the article joebobjoe and I are discussing
[21:20:31] <Foxandxss> talks about that issue
[21:20:35] <alasi> I just read it XD
[21:20:41] <Foxandxss> http://angular-tips.com/blog/2013/08/consuming-services/
[21:20:42] <Foxandxss> just in case
[21:20:44] <alasi> Yup
[21:21:01] <alasi> I feel like im following it except for the whole "return" part which I dont understand
[21:21:10] <Foxandxss> you're changing the reference
[21:21:17] <Foxandxss> typical example I put
[21:21:25] <Foxandxss> a = 10; b = a; a = 20; console.log(b);
[21:21:28] <Foxandxss> what do you get from there?
[21:21:32] <alasi> 10
[21:21:40] <Foxandxss> right
[21:21:50] <alasi> Ok, so then how does one maintain the same reference ? sorry
[21:21:57] <TheAceOfHearts> I wish we had template strings already :(
[21:22:03] <Foxandxss> when you assign something, you change the reference
[21:22:08] <Foxandxss> TheAceOfHearts: explain that
[21:22:18] <Foxandxss> you need to grab the reference of the most durable object
[21:22:21] <TheAceOfHearts> it's coming in ES6, but it's not implemented yet
[21:22:24] <Foxandxss> there is none
[21:22:34] *** nitinjavakid has joined #angularjs
[21:22:35] <TheAceOfHearts> but y'know how in Ruby you can do: "Foo is #{Foo}"
[21:22:44] <Foxandxss> ah yes
[21:22:46] <TheAceOfHearts> and it'll evaluate the expression
[21:22:47] <TheAceOfHearts> yeah
[21:22:50] <TheAceOfHearts> so, JS needs that
[21:22:53] <alasi> I am guessing there is a lib for that tho
[21:22:56] <alasi> ^^
[21:22:56] <TheAceOfHearts> it's coming in the form of like backticks
[21:23:08] <TheAceOfHearts> I don't wanna pull in a lib for that
[21:23:12] <TheAceOfHearts> it should be in the language :U
[21:23:12] <alasi> Lol
[21:23:20] <TheAceOfHearts> but yeah
[21:23:23] <Foxandxss> alasi: http://jsbin.com/bepawefobu/1/edit?html,js,output
[21:23:23] <TheAceOfHearts> there's a lot of libs for that
[21:23:24] <Foxandxss> like that
[21:23:42] *** bundledavid has quit IRC
[21:23:42] <Foxandxss> you can do weird stuff with those templates
[21:23:43] <TheAceOfHearts> so, ES6 added template strings
[21:23:48] <eago> hello... working on my first angular project... what is the correct way to bind a variable that is updated by a service and not by a controller?
[21:23:50] <alasi> hmmmm
[21:23:54] <Foxandxss> + some extra stuff which I Forgot the names
[21:24:27] <nitinjavakid> Hi, I have a directive, <me dosomething="test(param1, param2)" /> Now how can I make the directive populate and call param2 and not param1. Param1 will be dictated by the user of that directive.
[21:24:28] *** adpirz has joined #angularjs
[21:25:05] <alasi> Foxandxss: and can I do it without setters ? like this.service.stuff = "bar" and it won't change the reference?
[21:25:08] *** beilabs_________ has quit IRC
[21:25:14] <alasi> or should i just use setters
[21:25:29] <alasi> Because setters are annoying if you have live data from say a text box
[21:25:32] *** jonr22 has joined #angularjs
[21:25:37] <Foxandxss> alasi: try
[21:25:38] *** DarrenCraig has joined #angularjs
[21:25:40] <alasi> Ok
[21:26:04] <Foxandxss> nitinjavakid: not sure if I follow
[21:26:09] <Foxandxss> eago: same for you
[21:26:55] <eago> I have two controllers... that have to work on the same data
[21:27:12] <eago> so I built a service to handle that data and be used in the controllers
[21:27:19] <TheAceOfHearts> eago: just bind the service object on both
[21:27:24] *** dannyc has quit IRC
[21:27:30] <jaydubya> Foxandxss: Is there a way to see which css/js files are actually being loaded in your gulp workflow ... all I see is <link rel="stylesheet" href="<%= css %>"> when I view source
[21:27:34] *** IvailoStoianov has quit IRC
[21:27:44] *** jumpstracks has quit IRC
[21:27:47] <TheAceOfHearts> $scope.banana = bananaService; and then bananaService can update stuff inside of itself~
[21:28:00] <Foxandxss> jaydubya: all of them
[21:28:16] <alasi> Foxandxss: whoa, sick.. Thanks so much!
[21:28:32] <Foxandxss> alasi: at the end of the day, it is just javascript
[21:28:36] <alasi> Yup
[21:28:36] *** IvailoStoianov has joined #angularjs
[21:28:46] <alasi> Slightly more infuriating javascript :D but fun javascript
[21:29:03] *** voltagex has joined #angularjs
[21:29:13] *** cthrax has quit IRC
[21:29:17] <eslaron> Anybody used ngTable?
[21:29:22] <jcool> I am trying to add a value at run time to a dropdown. I have a link besides dropdown that opens form , saves data returns reponse and I get id and name that were stored.
[21:29:28] *** adpirz has quit IRC
[21:29:53] <jcool> Now I need to append the returnig value to the existing dropdown without page reload. A lil confused on how to achieve that.
[21:29:54] <eago> TheAceOfHearts so I assign the service to a global variable like var myService = myModule.factory('myService', function() {}); ? or is there a better way to do it?
[21:29:56] *** Aliks has quit IRC
[21:30:09] *** jonr22 has quit IRC
[21:30:14] <TheAceOfHearts> ...
[21:30:20] <TheAceOfHearts> you inject the service into your controllers
[21:30:26] <TheAceOfHearts> services are singletons
[21:30:31] <eago> ahhhh
[21:30:32] <eago> ok
[21:30:42] <eago> didn't know they were singletons sorry
[21:30:53] <eago> thank you
[21:30:59] <TheAceOfHearts> no problem
[21:32:28] *** gunn has quit IRC
[21:32:42] *** dus has quit IRC
[21:33:08] *** chabier has joined #angularjs
[21:34:47] *** Circlefusion has quit IRC
[21:35:20] *** Evanion has quit IRC
[21:35:37] *** Trow has quit IRC
[21:35:44] *** dhcar is now known as dhcar_AFK
[21:35:51] *** Beatzebub has joined #angularjs
[21:36:45] *** oste has joined #angularjs
[21:36:56] <nitinjavakid> Basically something like this. http://plnkr.co/edit/4wAew2NrBtuJSgNgPvgM
[21:37:36] *** balr0g has joined #angularjs
[21:38:39] *** josh-k_ has quit IRC
[21:39:04] <nitinjavakid> The on-select function will call onSelectFunc and set user parameter, but dont care about other parameters. So something like on-select="somefunction(param1, user)" should work
[21:39:12] *** m_rc has quit IRC
[21:39:22] <jaydubya> Foxandxss, I know the concept is any js or css file listed in manifest.js will be loaded, but I would like to see then if I can because I am thinking one is not getting loaded and it could be I am referencing it wrong.
[21:39:25] *** BahamutWC_ is now known as BahamutWc
[21:39:36] *** BahamutWc is now known as BahamutWC
[21:39:40] *** Beatzebub_ has quit IRC
[21:39:54] <Foxandxss> jaydubya: on the generated folder (tmp one) there is a css/app.css
[21:39:57] <Foxandxss> there is what is loaded
[21:40:07] <jaydubya> thanks!
[21:41:11] *** chabier has quit IRC
[21:41:21] *** foofoobar has joined #angularjs
[21:41:56] <nitinjavakid> Foxandxss: Does above help clarify the question?
[21:41:58] *** beilabs_________ has joined #angularjs
[21:42:08] *** johnstorey has joined #angularjs
[21:42:23] <Foxandxss> maybe, will look in a bit, shower time
[21:42:52] *** rud has quit IRC
[21:43:25] *** one0one has joined #angularjs
[21:43:57] *** lemur has joined #angularjs
[21:44:11] <jcool> nitinjavakid, that was answer to my query?
[21:44:22] *** NikoZz has quit IRC
[21:45:56] <nitinjavakid> No it was my query :)
[21:46:10] *** Gabriel403 has joined #angularjs
[21:46:26] <jcool> nitinjavakid, ah :)
[21:46:36] *** beilabs_________ has quit IRC
[21:46:47] *** beilabs_________ has joined #angularjs
[21:48:07] *** oste has quit IRC
[21:48:19] *** PeterMetz has joined #angularjs
[21:48:59] <nitinjavakid> jcool: you are trying to add new element to drop down right? If so then just add the element to the model bound to the ng-repeat using .push
[21:49:34] <jcool> nitinjavakid, doing that will update dropdown without reloading?
[21:49:47] <nitinjavakid> yup
[21:50:07] <jcool> nitinjavakid, ah great. I will try that out.
[21:51:04] *** TheAceOfHearts has quit IRC
[21:52:57] *** beilabs_________ has quit IRC
[21:53:29] *** beilabs_________ has joined #angularjs
[21:54:11] *** mary5030 has quit IRC
[21:54:44] *** mary5030 has joined #angularjs
[21:54:50] *** dannyc_ has quit IRC
[21:56:25] *** doug64k has quit IRC
[21:57:01] <nitinjavakid> Foxandxss: My code was right all along :), I just messed up my html tag ending :P
[21:57:32] *** maikowblue has joined #angularjs
[21:58:08] *** DarrenCraig has quit IRC
[21:58:56] *** beilabs_________ has quit IRC
[21:59:04] *** beilabs_________ has joined #angularjs
[21:59:06] *** johnstorey has quit IRC
[21:59:09] *** mary5030 has quit IRC
[21:59:27] *** dannyc has joined #angularjs
[21:59:30] *** sahbeewah has joined #angularjs
[22:01:17] *** dannyc has quit IRC
[22:01:36] *** s00pcan has joined #angularjs
[22:01:41] *** D-Boy has quit IRC
[22:01:47] *** _D-Boy_ has joined #angularjs
[22:01:51] *** dannyc has joined #angularjs
[22:01:51] <joebobjoe> What is a URL prefix?
[22:02:10] *** _D-Boy_ is now known as D-Boy
[22:02:30] *** Snugug has joined #angularjs
[22:03:12] *** VerbGarden has joined #angularjs
[22:03:16] *** ekinmur has joined #angularjs
[22:03:48] <alasi> www. i think
[22:04:09] *** jonr22 has joined #angularjs
[22:04:20] <alasi> oh it's http:// or https://
[22:05:46] *** beilabs_________ has quit IRC
[22:06:08] *** despai has quit IRC
[22:06:09] *** dannyc has quit IRC
[22:06:36] *** cthrax has joined #angularjs
[22:06:55] *** sinequanon has quit IRC
[22:07:56] *** beilabs_________ has joined #angularjs
[22:08:18] *** codeninja-don has joined #angularjs
[22:08:28] *** kotyy has joined #angularjs
[22:10:05] *** alasi has quit IRC
[22:11:19] *** disorder20 has quit IRC
[22:12:40] *** disorder20 has joined #angularjs
[22:14:30] *** rhp has joined #angularjs
[22:14:33] *** beilabs_________ has quit IRC
[22:15:01] *** SergioFilhow_ has joined #angularjs
[22:15:56] *** oste has joined #angularjs
[22:16:04] *** marshall has joined #angularjs
[22:16:11] *** cboden_ has quit IRC
[22:16:17] *** dannyc has joined #angularjs
[22:16:22] *** jlmitch5_ has quit IRC
[22:16:43] *** codeninja-don has quit IRC
[22:17:04] *** beilabs_________ has joined #angularjs
[22:17:13] *** DrAwesomeClaws has quit IRC
[22:18:49] *** Dido has joined #angularjs
[22:18:52] *** charlenopires has joined #angularjs
[22:19:28] *** SergioFilhow_ has quit IRC
[22:20:37] *** marshall has quit IRC
[22:21:14] *** startupality has quit IRC
[22:21:36] <jcool> I have kept a watch over a variable from service. The value of service gets changed but due to some reason watch is not getting notified about that value
[22:21:44] *** startupality has joined #angularjs
[22:22:32] *** startupality has quit IRC
[22:23:33] *** despai has joined #angularjs
[22:24:25] *** dannyc_ has joined #angularjs
[22:25:18] *** fairuz has quit IRC
[22:26:00] *** edzez_ has joined #angularjs
[22:27:44] *** edzez has quit IRC
[22:28:24] *** sirsirsir has joined #angularjs
[22:29:09] *** dannyc has quit IRC
[22:29:42] *** dannyc has joined #angularjs
[22:29:48] <joebobjoe> What is "type friendly injection" from the table at the bottom of https://docs.angularjs.org/guide/providers
[22:30:17] *** Snugug has quit IRC
[22:31:44] *** sahbeewah has quit IRC
[22:32:53] *** sirsirsir has quit IRC
[22:34:45] *** dannyc has quit IRC
[22:34:49] <Foxandxss> no idea
[22:35:18] *** IvailoStoianov has quit IRC
[22:35:51] *** Beatzebub_ has joined #angularjs
[22:36:20] *** foofoobar has quit IRC
[22:37:17] <Sacho> joebobjoe, it means the functions you pass to service, value and constant are called with the new operator...
[22:37:32] <Sacho> which someone seems to think is useful
[22:38:59] *** storkme has joined #angularjs
[22:39:43] *** Beatzebub has quit IRC
[22:39:53] <storkme> tips for testing a controller that has something injected via the resolve function? unit tests keep complaining about it
[22:42:42] *** MaxV has joined #angularjs
[22:44:09] *** nitinjavakid has quit IRC
[22:44:28] *** Nivag_ has quit IRC
[22:44:54] *** beilabs_________ has quit IRC
[22:45:07] *** beilabs_________ has joined #angularjs
[22:45:08] <rcanepa> Hi... I am a little confused about how should I handle the response/result from a failed login attempt. I have a service with a login function that make a request to an API through a $http.post. The result are handled by a success or error function, but I am not sure how should I pass the response back to the controller to diplay an error message whenever it is necesary.
[22:45:19] *** mmealling has quit IRC
[22:45:20] <joebobjoe> Sacho, You can pass functions to app.value and Angular will call it?
[22:45:50] *** DrAwesomeClaws has joined #angularjs
[22:46:18] *** dweave has joined #angularjs
[22:46:44] *** nemothekid has joined #angularjs
[22:48:08] *** jmichaelward has quit IRC
[22:48:50] *** johnstorey has joined #angularjs
[22:49:31] <Sacho> yes
[22:49:31] *** cthrax has quit IRC
[22:51:21] *** ziggurat81 has joined #angularjs
[22:51:24] *** lenswipe has joined #angularjs
[22:51:24] *** lenswipe has joined #angularjs
[22:51:55] <lenswipe> hey guys
[22:51:56] <lenswipe> anyone around?
[22:51:58] *** discgo has quit IRC
[22:52:03] <lenswipe> Having problems with my angular app
[22:52:07] *** epantzar has joined #angularjs
[22:52:10] <lenswipe> for some reason, it's always falling back to the 404 option
[22:52:19] *** jonr22 has quit IRC
[22:52:22] <lenswipe> https://plus.google.com/hangouts/_/g7mvex7oenkd74a7z2amyozb5aa?hl=en-GB
[22:52:23] <lenswipe> oops
[22:52:33] <lenswipe> https://gist.github.com/1d5be386c44226815b99
[22:53:53] *** jimmyy has quit IRC
[22:54:34] *** beilabs_________ has quit IRC
[22:54:41] *** beilabs_________ has joined #angularjs
[22:58:36] *** dannyc_ has quit IRC
[22:59:07] *** BillCriswell has quit IRC
[23:00:15] *** ekinmur has quit IRC
[23:00:26] *** alinou has joined #angularjs
[23:00:58] *** newbster has joined #angularjs
[23:03:04] *** lexek__ has joined #angularjs
[23:03:23] *** thumpba has joined #angularjs
[23:03:30] *** tristanp_ has quit IRC
[23:03:57] *** tristanp has joined #angularjs
[23:05:03] *** nya has quit IRC
[23:05:23] *** mary5030 has joined #angularjs
[23:06:00] *** cheef has quit IRC
[23:06:00] *** goodenough has quit IRC
[23:07:16] *** rcanepa has quit IRC
[23:07:37] *** thumpba has quit IRC
[23:07:48] *** patrickarlt has quit IRC
[23:08:11] *** bundledavid has joined #angularjs
[23:08:38] *** tristanp has quit IRC
[23:09:33] *** yelvert has joined #angularjs
[23:09:47] *** mary5030 has quit IRC
[23:10:57] *** Sontakey has joined #angularjs
[23:11:10] <Petazz> How do I perform just a normal POST with ready formatted urlencoded body data?
[23:11:26] *** mtsr has quit IRC
[23:12:41] *** joebobjoe has quit IRC
[23:13:06] *** bundledavid has quit IRC
[23:13:07] <Petazz> Or is angular basically forced to use xhr?
[23:13:22] *** adpirz has joined #angularjs
[23:13:23] *** beilabs_________ has quit IRC
[23:13:41] *** beilabs_________ has joined #angularjs
[23:14:12] *** jonr22 has joined #angularjs
[23:14:40] *** yelvert has quit IRC
[23:16:04] *** DrMabuse has joined #angularjs
[23:17:15] *** oste has quit IRC
[23:17:46] *** mickhansen_ has joined #angularjs
[23:18:28] *** adpirz has quit IRC
[23:18:53] *** jonr22 has quit IRC
[23:18:59] *** beilabs_________ has quit IRC
[23:19:20] *** beilabs_________ has joined #angularjs
[23:20:16] *** ngbot has joined #angularjs
[23:20:17] <ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/lnaeoA
[23:20:17] <ngbot> angular.js/master e6a2527 Chris Tanseer: docs($rootElement): fix minor grammatical errors...
[23:20:17] *** ngbot has left #angularjs
[23:20:47] *** Sontakey has quit IRC
[23:22:34] *** Mer|inDMC has joined #angularjs
[23:22:34] *** plato has quit IRC
[23:22:38] *** mickhansen has quit IRC
[23:22:40] *** mickhansen_ is now known as mickhansen
[23:23:31] *** sacho_ has joined #angularjs
[23:24:39] *** skyx_ has joined #angularjs
[23:25:36] *** Nivag_ has joined #angularjs
[23:26:04] *** MerlinDMC has quit IRC
[23:26:04] *** derrzzaa has quit IRC
[23:26:38] *** beilabs_________ has quit IRC
[23:26:38] *** Sacho has quit IRC
[23:26:45] *** beilabs_________ has joined #angularjs
[23:27:19] *** morenoh149 has joined #angularjs
[23:27:48] *** charlenopires has quit IRC
[23:28:14] *** charlenopires has joined #angularjs
[23:30:20] *** styles has joined #angularjs
[23:30:27] *** styles has joined #angularjs
[23:32:38] *** elxa has joined #angularjs
[23:32:53] *** Lewix has joined #angularjs
[23:32:53] *** Lewix has joined #angularjs
[23:34:33] *** BillCriswell has joined #angularjs
[23:36:05] *** Beatzebub__ has joined #angularjs
[23:38:30] *** numproc has joined #angularjs
[23:38:32] *** numproc has quit IRC
[23:39:22] *** beilabs_________ has quit IRC
[23:39:45] *** beilabs_________ has joined #angularjs
[23:39:59] *** Beatzebub_ has quit IRC
[23:40:17] *** dannyc has joined #angularjs
[23:40:37] *** anderskristo has quit IRC
[23:40:46] *** DrMabuse has quit IRC
[23:41:47] *** anderskristo has joined #angularjs
[23:42:52] *** calmbird has quit IRC
[23:42:58] *** plato has joined #angularjs
[23:43:16] <lenswipe> Petazz, you can pass options to xhr
[23:44:18] *** NoNMaDDe_ has joined #angularjs
[23:44:23] *** jcool is now known as jal_92
[23:44:35] *** NoNMaDDe_ has quit IRC
[23:44:36] <jal_92> clear
[23:44:40] *** dannyc has quit IRC
[23:44:41] <jal_92> oops sorry
[23:45:37] *** jal_92 has left #angularjs
[23:45:56] *** mgustaf has quit IRC
[23:46:09] *** SergioFilhow_ has joined #angularjs
[23:46:17] *** jal_92 has joined #angularjs
[23:46:20] *** charlenopires has quit IRC
[23:46:21] *** jonr22 has joined #angularjs
[23:46:45] *** jal_92 is now known as jcool
[23:48:43] *** jmichaelward has joined #angularjs
[23:48:50] *** NoNMaDDeN has quit IRC
[23:48:55] *** goodenough has joined #angularjs
[23:49:16] *** mgustaf has joined #angularjs
[23:49:31] *** derrzzaa has joined #angularjs
[23:50:42] *** discgo has joined #angularjs
[23:50:51] *** SergioFilhow_ has quit IRC
[23:50:57] *** beilabs_________ has quit IRC
[23:51:03] *** beilabs_________ has joined #angularjs
[23:52:28] *** eago has quit IRC
[23:53:00] *** ekinmur has joined #angularjs
[23:53:31] *** jmichaelward has quit IRC
[23:54:26] *** MaxV has quit IRC
[23:54:32] *** moritzs has quit IRC
[23:54:58] *** dannyc has joined #angularjs
[23:55:51] *** evilaliv3 has quit IRC
[23:57:26] *** saucey has joined #angularjs
[23:59:04] <lenswipe> could someone help me with ui-router?
[23:59:38] *** beilabs_________ has quit IRC
[23:59:44] *** beilabs_________ has joined #angularjs
[23:59:45] *** mgustaf has quit IRC
[23:59:46] *** symmetric has joined #angularjs
top

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