[00:00:01] *** ajk27 has quit IRC
[00:00:23] *** [mX] has quit IRC
[00:00:24] *** ajk27 has joined #angularjs
[00:00:40] <jaawerth> mmitchell: how deep do the objects go? as in, how deep do you need the watch to go insofar as scope.object.data.foo.bar.etc?
[00:00:43] *** mguillech has quit IRC
[00:00:56] *** iksik has quit IRC
[00:01:00] <mmitchell> oh just 2 levels
[00:01:05] *** jonog has joined #angularjs
[00:01:18] *** bootsWitDaFur has quit IRC
[00:01:21] *** Jdubs has joined #angularjs
[00:01:23] <elnur> robdubya, I see. I guess since I haven't run into this yet, I don't understand it fully. Thanks. I'll remember this advice when I run into this. :)
[00:01:29] <mmitchell> strange because the view updates properly, but $watch doesn't work
[00:01:33] *** mfunkie has quit IRC
[00:01:35] *** Jdubs_ has quit IRC
[00:01:37] <robdubya> got a bit carried away, but lots of info in there
[00:01:40] *** nukulb has quit IRC
[00:01:56] <robdubya> might answer your question about promises vs directly
[00:02:13] *** Androo has quit IRC
[00:02:18] *** arrty has quit IRC
[00:02:38] *** narutimateum has quit IRC
[00:02:55] *** Jdubs_ has joined #angularjs
[00:02:57] *** kornalius has joined #angularjs
[00:03:47] *** FunnyLookinHat has joined #angularjs
[00:04:08] <jaawerth> mmitchell: Well, by default $watch only checks for object reference equality. To actually check for equality on properties (or elements in a collection), you need to either enable "deep" watching (ie $scope.$watch('stuff', function() { do stuff }, true) ) or use $scope.$watchCollection (which is like "deep" watching, but it only goes one level deep, which can save performance if you're only watching an array)
[00:04:46] <robdubya> ps array.find is the single most useful new thing i've found in es6. they could just implement that, and nothing else, and i'd be happy
[00:04:55] <mmitchell> jaawerth: ah! Yes, I always forget that, thanks!
[00:05:26] <jaawerth> robdubya: how is it implemented in es6, though? is it just a linear search?
[00:05:29] *** jonog has quit IRC
[00:05:42] *** Jdubs has quit IRC
[00:05:49] <jaawerth> sultunate: what's it doing? 404?
[00:05:57] *** rrocsal has joined #angularjs
[00:06:09] <robdubya> jaawerth i actually have no idea. should jsperf it i guess
[00:06:14] <elnur> robdubya, nice job. Yea, that find() method looks interesting. Couldn't figure out where it came from. :)
[00:06:32] <elnur> robdubya, how do you invalidate the cache?
[00:06:43] <robdubya> i don't, typically
[00:06:48] <elnur> Is it true that services stay instantiated as long as the app is running?
[00:06:51] <robdubya> yes
[00:06:57] <robdubya> (thats why i dont invalidate it)
[00:06:59] <elnur> That could be a long time. :)
[00:07:03] <elnur> Haha.
[00:07:03] *** mewm has quit IRC
[00:07:21] <jaawerth> sultunate: without knowing any of your setup, it sounds like angular has been set up to handle the routing but the server isn't (as in, the server isn't set up so that path serves the angular app and passes in the rest of the path for angular to handle)
[00:07:21] <robdubya> in my stuff i have it as a parameter i can pass in
[00:07:26] <robdubya> forceFetch or something
[00:07:57] <robdubya> elnur i'm using websockets, so long times don't matter
[00:08:08] <robdubya> but you could do all sorts of things
[00:08:15] <elnur> robdubya, pushing stuff from the server?
[00:08:18] <robdubya> yea
[00:08:20] <elnur> Cool.
[00:08:31] <robdubya> which is why i have such a hard-on for instances :D
[00:08:31] *** sgnl has joined #angularjs
[00:08:33] <jaawerth> I like the approach of keeping a server-side index of "modified" so you can only fetch changes
[00:08:35] <elnur> There's a shitload for me to learn.
[00:08:36] *** sgnl has quit IRC
[00:08:43] <robdubya> because they update everywehre magically when the server pushes
[00:08:47] *** stevvooe has quit IRC
[00:08:57] <elnur> Cool. :)
[00:09:05] *** sgnl has joined #angularjs
[00:09:06] <elnur> I'll get there. Someday. :)
[00:09:07] <jaawerth> or "push" only those updated since the client's last fetch
[00:09:09] *** tomzx is now known as tomzx`afk
[00:09:27] <robdubya> elnur its not like i wrote it from scratch :D
[00:09:39] *** sgnl has quit IRC
[00:09:40] <robdubya> (well, the angular side i did, but ... )
[00:09:43] <jaawerth> robdubya: how do you handle that from a UX angle, by the way? Do you just have it update hte content no matter what o rdo you use a "there is an update from the server. Click to refresh" sort of thing?
[00:09:49] <elnur> robdubya, socket.io?
[00:09:51] *** arizzo has quit IRC
[00:09:57] <robdubya> elnur yeah, in sails
[00:10:04] *** aslate has joined #angularjs
[00:10:12] *** kornalius has quit IRC
[00:10:16] *** stevvooe has joined #angularjs
[00:10:19] <elnur> Node.js on the server?
[00:10:23] <robdubya> jaawerth on the simple level, i just update the instances in the service, instantly
[00:10:29] *** arizzo has joined #angularjs
[00:10:35] <robdubya> one tricky thing i still havent totally worked out:
[00:11:07] <robdubya> lets say a have a bazillion records on the server. so i Foo.find({ something: 'bar'})
[00:11:14] <jaawerth> yeah, I'm starting to implement that on an app I've built (and for which I'm finally ready to make the data retrieval more efficient), and the one thing I'm looking to avoid is interrupting or confusing the user if the data tehy're working on changes
[00:11:27] <robdubya> so i get a *subset* of records
[00:11:35] *** MuffinMan` has quit IRC
[00:11:41] <jaawerth> yeah?
[00:11:52] <robdubya> the tricky part is, when a *new* record comes in, knowing if it matches the filter sent out previously
[00:12:19] <robdubya> eg, should i add it to the list(s) that are on scope. so today i'm messing with the ocncept of a "collection
[00:12:20] <TheAceOfHearts> does anyone know of a cookies lib like ths one mozilla links to, that isn't GPL'd?
[00:12:53] *** blueadept has joined #angularjs
[00:12:53] *** blueadept has joined #angularjs
[00:12:54] <robdubya> jaawerth that's the other fun one, not overwriting changes
[00:13:13] <jaawerth> wait, so you have a bazillion records on the server, you've done a "find"
[00:13:13] *** mbroadst has quit IRC
[00:13:20] *** arizzo_ has joined #angularjs
[00:13:30] <jaawerth> your service only contains a subset as well, right?
[00:13:32] *** Matt_Ricketts has quit IRC
[00:13:48] <robdubya> sure, but its not necessarily the *same* subset
[00:13:56] *** batdorf has quit IRC
[00:13:58] *** mbroadst has joined #angularjs
[00:14:11] <jaawerth> ah
[00:14:24] <robdubya> so there's any number of "result sets" floating around
[00:14:35] <jaawerth> ah. yeah
[00:14:36] *** DrShoggoth has joined #angularjs
[00:14:39] *** blueadept` has joined #angularjs
[00:14:42] *** aslate has quit IRC
[00:14:57] <robdubya> so when a new message arrives, i'm working out how to check if the new message should be inserted into any of those result sets
[00:14:57] *** kornalius has joined #angularjs
[00:15:09] *** arizzo has quit IRC
[00:15:12] <jaawerth> interesting
[00:15:20] *** icodefo__ has quit IRC
[00:15:30] <robdubya> jaawerth would be interested to hear how you're thinking about the "dirty" handling
[00:15:53] <robdubya> elnur yeah, node.js + sails.js
[00:15:59] *** discipolo has quit IRC
[00:16:13] *** BillCriswell has joined #angularjs
[00:16:14] *** snurfery has joined #angularjs
[00:16:26] <jaawerth> for the resultset thing or the UX angle?
[00:16:28] *** dbouwman has joined #angularjs
[00:16:35] <robdubya> both, really
[00:16:38] <jaawerth> ah
[00:16:52] <elnur> robdubya, I have Java on the backend. :)
[00:17:02] *** Sgeo has joined #angularjs
[00:17:06] <jaawerth> well, ideally you'd want to be all object oriented about it, right? say you have a "resultset" object that contains your data
[00:17:07] <robdubya> the concept of "hit the button" sorta is antithetical to sockets, but its an itneresting challenge
[00:17:26] <robdubya> yeah. i think i may break it out into two things:
[00:17:26] *** blueadept has quit IRC
[00:17:34] <robdubya> - find -> which returns a "static" collection
[00:17:56] <robdubya> and - stream?() which returns a collection that will pick up new records
[00:18:14] <Cixis> i wish node would just die
[00:18:26] <robdubya> that makes one of us. i fucking love node
[00:18:29] <jaawerth> you could store your resultset's data with information on what "filters" are active so you don't have to track them independently, and then have a handler that knows what your main data service is up to AND any active resultsets on the scope
[00:18:50] <jaawerth> then you can just use the destroy event to remove 'em
[00:18:53] <robdubya> jaawerth yeah, that's basically what i'm thinking
[00:19:13] <robdubya> "watchedCollections" -> and then just check if a new object matches the collection's filter
[00:19:20] <nickeddy> hey robdubya how do you do ui-sref to some state with stateparams again?
[00:19:27] *** shackleford has quit IRC
[00:19:34] *** jhulten has quit IRC
[00:19:38] <nickeddy> ui-sref="somestate({})" ?
[00:19:42] <robdubya> yea
[00:19:43] *** dbouwman_ has quit IRC
[00:20:00] *** shackleford has joined #angularjs
[00:20:04] <jaawerth> as for UX.. I sitll haven't gotten that quite figured out yet, but I'm thinking I'll make anything that's updated turn red with a big shiny alert somewhere giving the user an option to show changes
[00:20:04] <nickeddy> thanks
[00:20:14] <robdubya> elnur i think they've even got realtime over in javaland now
[00:20:15] *** arizzo_ has quit IRC
[00:20:20] *** AxldenieD has quit IRC
[00:20:20] *** azureknight has quit IRC
[00:20:47] *** dbouwman has quit IRC
[00:20:50] *** jhulten has joined #angularjs
[00:20:54] <jaawerth> OR just go ahead and push the changes nad have it turn an appropriate shade (perhaps with a companion tooltip) to cue the user that their data has changed since they've started working
[00:20:58] *** arizzo has joined #angularjs
[00:21:21] <robdubya> jaawerth makes sense. i've been dealing with sync algorithms for the past couple of weeks, its very little fun
[00:21:26] *** Techdeck has quit IRC
[00:21:37] <jaawerth> it depends on whether you need the user to be able to either save changes they've already made but haven't commited yet (if you aren't auto-commiting), or if they need to be able to keep access to the "before" and "after"
[00:22:12] <robdubya> jaawerth assuming you're using instances (rather than pojos) you could easily track the dirty status
[00:22:13] <jaawerth> that said, with the app I"m working on I'm keeping a total changelog in my database, so the before and after will always be available until it's time to clean the database
[00:22:20] <elnur> robdubya, yea, websockets are supported with Java. If anything, I could use Node just for the socket stuff.
[00:22:22] <jaawerth> yeah
[00:22:37] *** dbouwman has joined #angularjs
[00:22:38] <robdubya> elnur socketio 1.0 (new) has the concept of a non-node emitter
[00:23:03] *** akrikos has quit IRC
[00:23:06] <robdubya> some masochist even wrote a php implementation. they just communicate via a common redis store
[00:23:30] *** BillCriswell has quit IRC
[00:23:41] *** mguillec_ has quit IRC
[00:23:50] *** bamyyyooo14335 has quit IRC
[00:23:52] <robdubya> jaawerth when you say "total changelog" -> hows that work?
[00:23:57] <robdubya> like a transaction log?
[00:24:10] *** cjessup has joined #angularjs
[00:24:21] *** cpciv has joined #angularjs
[00:24:40] <jaawerth> pretty much, but one wherein you can revert if necessary (this is an inventory thing)
[00:24:45] *** mguillech has joined #angularjs
[00:24:45] *** mguillech has joined #angularjs
[00:24:47] *** shackleford has quit IRC
[00:24:54] <elnur> Right, PHP. Thanks, but I'd be happy to never touch PHP again. :P
[00:24:57] <robdubya> elnur in any case, realtime is very cool. sorta breaks your brain sometimes, but users frickin love it
[00:24:58] *** icodefor_ has joined #angularjs
[00:25:02] *** ngoyal_ has quit IRC
[00:25:11] *** arizzo has quit IRC
[00:25:35] <jaawerth> still pretty much a transaction log. just keeping track of all the deltas so I can go back to a previous state if I have to
[00:25:40] *** ngoyal has joined #angularjs
[00:25:42] *** kornalius has quit IRC
[00:26:01] *** kornalius has joined #angularjs
[00:26:13] *** cjessup_ has quit IRC
[00:26:14] *** jdj_dk_ has joined #angularjs
[00:26:38] *** rbs- is now known as rbs
[00:27:11] <robdubya> (re using it with java)
[00:27:46] <robdubya> jaawerth what's that look like schema wise? a log table per table? per schema? on the same table?
[00:28:32] <jaawerth> robdubya: at the moment, per table, but one of my big to-dos is finding a more efficient way to deal with it
[00:29:17] *** KernelCurry has quit IRC
[00:29:18] *** shoeles__ has quit IRC
[00:29:58] <elnur> robdubya, yea, implementing real time would be freaking fun. Just have no use case for it in my mom and pop project.
[00:29:59] *** matiasow has joined #angularjs
[00:30:01] <jaawerth> just adding a log table that has a many-to-one relationship with whatever it's logging
[00:30:16] *** mbroadst has quit IRC
[00:30:29] *** akrikos has joined #angularjs
[00:30:37] <jaawerth> with an index by date
[00:30:44] *** dancek has quit IRC
[00:30:54] *** jdj_dk_ has quit IRC
[00:30:55] <robdubya> roger
[00:31:14] *** mbroadst has joined #angularjs
[00:31:15] <jaawerth> I even briefly considered using a nosql database for the log, though
[00:31:26] *** TorpedoSkyline has joined #angularjs
[00:31:36] <robdubya> i think that's not unreasonable
[00:31:42] <elnur> I did a real time chat for fun with socket.io a couple of months ago.
[00:31:48] *** Guest37336 has quit IRC
[00:31:50] <jaawerth> Yeah, just unnecessary for the scale I'll initially have to deal with
[00:32:08] <robdubya> jaawerth still though, postgres > nosql
[00:32:14] *** QuantumNinja has joined #angularjs
[00:32:16] <robdubya> just toss it in a json column
[00:32:32] <jaawerth> haha, that's another possibility on my list
[00:32:44] *** tedwing has quit IRC
[00:32:56] <jaawerth> centralized log that just uses json to avoid having to deal with different table schema
[00:32:56] *** bootsWitDaFur has joined #angularjs
[00:33:07] <robdubya> elnur the neato thing about sails is that its doing REST over sockets
[00:33:18] <robdubya> so i have the same API whether i'm using http or socket.io
[00:33:27] <robdubya> just if i fetch via sockets, i get updates too
[00:33:31] <elnur> Hmm. How can REST be over sockets? :)
[00:33:32] <jaawerth> that works great until binary data enters the mix
[00:33:35] <jaawerth> then it could get... messy
[00:33:44] *** dcadenas has joined #angularjs
[00:34:39] <jaawerth> elnur: why not? you could use the socket message the same way you use a URL path, you just have to amke sure you're stick to your "pathing" rules
[00:34:44] <robdubya> elnur client -> server { method: "GET", "url" : "/foobar" }
[00:34:44] *** ngoyal has quit IRC
[00:34:50] *** bamyyyooo14335 has joined #angularjs
[00:34:57] <jaawerth> you*
[00:35:03] *** jscheel has quit IRC
[00:35:38] <jaawerth> it isn't technically "stateless" but you can have it come pretty close
[00:35:41] <robdubya> server -> client { model : "foobar" , verb : "updated" , data : { etc }}
[00:35:52] *** KernelCurry has joined #angularjs
[00:36:08] *** aviraldg has quit IRC
[00:36:15] *** dancek has joined #angularjs
[00:36:23] *** matiasow has quit IRC
[00:36:34] *** spencercarnage has joined #angularjs
[00:36:44] <jaawerth> and the only states you really need are "sockets alive," "sockets dead," and "sockets not yet initiated" (probably an oversimplification)
[00:36:50] *** obert has quit IRC
[00:36:56] *** bayousof_ has quit IRC
[00:37:00] <elnur> I'd rather keep REST and sockets separate.
[00:37:14] <elnur> REST is for data exchange and sockets are for real time stuff.
[00:37:23] *** Damiox has quit IRC
[00:37:39] <robdubya> real time stuff... like exchanging data... in realtime
[00:37:40] <robdubya> :p
[00:37:44] <jaawerth> well, it's a "future" thing. In theory, sockets save you the overhead of sending an HTTP header for every request
[00:37:45] <BobbieBarker> hey how do you reset your git to a commit you didn't push
[00:37:54] *** cthrax has joined #angularjs
[00:37:58] *** obert has joined #angularjs
[00:38:11] <BobbieBarker> like i made a commit on a branch that i has closed previously, then i switched to master with out pushing the local branch
[00:38:18] <BobbieBarker> how do recover so i don't kill himself
[00:38:19] <BobbieBarker> myself
[00:38:22] <BobbieBarker> for loosing all this work
[00:38:27] *** akrikos has quit IRC
[00:38:29] *** snurfery has quit IRC
[00:38:59] *** snurfery has joined #angularjs
[00:39:00] *** azureknight has joined #angularjs
[00:39:01] *** msafi has joined #angularjs
[00:39:05] *** franzip has joined #angularjs
[00:39:07] *** Ir1sh_ has joined #angularjs
[00:39:26] <elnur> BobbieBarker, just check out that branch.
[00:39:39] *** blueadept` has quit IRC
[00:39:45] *** blueadept has joined #angularjs
[00:40:07] <BobbieBarker> timetracker----timetracker fbe332d
[00:40:07] *** mguillec_ has joined #angularjs
[00:40:11] <BobbieBarker> so thats the brach
[00:40:12] <BobbieBarker> branch
[00:40:20] <BobbieBarker> check it out with that serial number busienss?
[00:40:22] <BobbieBarker> included
[00:40:31] <elnur> git checkout timetracker
[00:40:44] <elnur> If that's that branch you were working on.
[00:40:46] *** azureknight has quit IRC
[00:41:02] <BobbieBarker> yeah the dayquill almost one
[00:41:02] <BobbieBarker> won
[00:41:07] <BobbieBarker> fucking day quill
[00:41:11] *** umib0zu has quit IRC
[00:41:31] <robdubya> BobbieBarker do not fuck with your git repo under the influence
[00:41:37] <robdubya> i speak from experience
[00:41:50] <BobbieBarker> dude i just need to merge this with the mother ship then i'm taking my ass to the couch
[00:41:57] *** patrickc_ has joined #angularjs
[00:41:58] <BobbieBarker> this has been like the worst development day ever
[00:42:05] <jaawerth> ugh I too have horror stories from screwing with your git repo willy nilly
[00:42:22] *** mguillech has quit IRC
[00:42:26] <robdubya> jaawerth re overhead, not just in theory,
[00:42:29] <jaawerth> if you're at ALL unsure about what you're doing with git, it never hurt to .tgz up the whole directory before you do anything drastic
[00:42:31] <BobbieBarker> how do i merge this fucker in after the remote branch has been closed?
[00:42:36] *** Ir1sh has quit IRC
[00:42:44] <BobbieBarker> nah normally git and i get along just fine
[00:42:50] *** mfunkie has joined #angularjs
[00:42:52] <elnur> What do you mean by closed?
[00:42:56] <elnur> How can you close a branch?
[00:42:56] <BobbieBarker> but git + me + dayquill + this head cold != success
[00:43:03] *** patrickc_ has quit IRC
[00:43:16] <BobbieBarker> i made a pull request merged then closed
[00:43:27] *** CocoStorm has joined #angularjs
[00:43:38] <elnur> It's just GitHub. It doesn't affect your branches.
[00:43:42] *** doddstack has quit IRC
[00:43:49] <BobbieBarker> i'm on bitbucket
[00:43:54] <jaawerth> robdubya: well, I say in theory only because of the various factors you'd have to account for since it isn't standardized yet
[00:43:54] <elnur> Doesn't matter.
[00:44:05] <jaawerth> (or you DO have to account for)
[00:44:09] <elnur> BobbieBarker, what did you do again?
[00:44:09] *** pdillinger has joined #angularjs
[00:44:11] *** dcherman2 has quit IRC
[00:44:12] <elnur> And what you wanna do?
[00:44:22] <elnur> Step by step.
[00:44:32] *** sdouglas has joined #angularjs
[00:44:56] <BobbieBarker> last night on the server i created a pull request for this branch, then i merged it in and deleted it. Now this morning i got up and forgot to switch branches locally so i put all my work on this branch i had closed
[00:44:57] <jaawerth> such as zombie sessions wasting your time with heartbeats (which I'm sure you can time out), and ROI for unnecessary traffic keeping the socket alive vs. number of HTTP headers you'd otherwise be dealing with
[00:45:14] <robdubya> *2* bytes vs 871 bytes
[00:45:19] <BobbieBarker> so i need to merge my work into some branch so i can do a pull request and merge it to master
[00:45:20] <jaawerth> yeah yeah I know
[00:45:21] <robdubya> which is woah
[00:45:24] <jaawerth> still, it isn't something I'd want to ignore
[00:45:36] <elnur> BobbieBarker, how many commits?
[00:45:43] <BobbieBarker> i'm 1 ahead
[00:45:55] <elnur> Then do this:
[00:45:58] <elnur> git checkout that-branch
[00:46:03] <elnur> git reset --soft HEAD~
[00:46:05] <elnur> git checkout master
[00:46:09] <elnur> git checkout new-branch
[00:46:13] <elnur> And then commit your shit.
[00:46:17] <jaawerth> robdubya: but yeah, I concede your point, it's more than in theory
[00:46:21] <jaawerth> also that link IS interesting
[00:46:28] <robdubya> jaawerth i will say though, there's a tipping point as far as request / response time, since there's some ovehead on the backend as far as hooking up subscriptions
[00:46:30] *** sdouglas_ has joined #angularjs
[00:46:32] *** sdouglas has quit IRC
[00:46:41] <robdubya> but thats not really specific to WS as much as "model subscriptions"
[00:47:13] <BobbieBarker> i don't need to do anything locally like a merge request?
[00:47:21] *** Tidwell has joined #angularjs
[00:47:22] *** mbroadst has quit IRC
[00:47:23] <jaawerth> what I'm curious about is whether you could negotiate a websocket subscription directly between two clients that are behind firewalls
[00:47:58] *** BlinkyBill has joined #angularjs
[00:47:59] <jaawerth> ALA the way AIM used to do file transfers, or torrent tracking
[00:48:05] *** rtpg has joined #angularjs
[00:48:05] <elnur> BobbieBarker, you can also just merge your changes into master directly. If you want that. You don't need a PR for that.
[00:48:15] *** CocoStorm has quit IRC
[00:48:15] <jaawerth> if you can, you could in theory write an app that saves bandwidth via P2P
[00:48:22] <BobbieBarker> i don't want that i want to have the branch incase i fuck something up
[00:48:23] <robdubya> i've had few issues, and my stuff runs on some heinous networks. thats the beauty of s.io though, even is WS is unavailable, it'll drop down to something else it does
[00:48:24] <BobbieBarker> i can roll back master
[00:48:26] <BobbieBarker> or what ever
[00:48:27] *** mbroadst has joined #angularjs
[00:48:34] <elnur> git checkout that-branch
[00:48:37] <BobbieBarker> i try to avoid merging straight to master
[00:48:38] <elnur> git rebase master
[00:48:41] <elnur> git checkout master
[00:48:47] <elnur> git merge --ff-only that-branch
[00:48:56] <elnur> Okay. It's up to you.
[00:49:05] <BobbieBarker> it looks like your first solution is going to work
[00:49:07] <BobbieBarker> thanks dude
[00:49:09] <jaawerth> it would be a neat experiment (websocket p2p)
[00:49:12] <BobbieBarker> i had a mini freak out when i thought i had lost this shit
[00:49:18] *** klaut_ has quit IRC
[00:49:22] *** jk-5|gone has quit IRC
[00:49:27] <elnur> Git is pretty safe even if you fuck up your commits.
[00:49:35] <elnur> Unless you run garbage collection.
[00:49:43] <BobbieBarker> yeah
[00:50:07] *** ascarter has quit IRC
[00:50:11] *** pdillinger has quit IRC
[00:50:13] *** aviraldg has joined #angularjs
[00:51:26] <robdubya> jaawerth i havent messed with the new binary stuff in 1.0, but its on my list
[00:52:42] *** azureknight has joined #angularjs
[00:53:08] *** dutis has quit IRC
[00:53:25] *** sdouglas_ has quit IRC
[00:53:56] *** wilmoore has quit IRC
[00:54:00] <robdubya> thats a very interesting idea actually jaawerth, we have some distributed sites and keeping data in sync is a nightmare
[00:55:00] *** geuis has joined #angularjs
[00:55:33] *** night-owl-MBP has quit IRC
[00:55:41] *** daivyk has quit IRC
[00:55:47] *** jk-5|gone has joined #angularjs
[00:56:14] *** dariocravero has quit IRC
[00:56:24] *** mguillec_ has quit IRC
[00:56:42] *** ascarter has joined #angularjs
[00:56:42] *** kornalius has quit IRC
[00:56:50] <geuis> hey guys. we're having a debate about whether data-ng-<directive> or ng-<directive> is better. Other dev argues data-ng prevents SEO problems with markup validation. I argue no such validation negatively hurts us. Can't really find documentation either way
[00:56:52] *** Snugug has joined #angularjs
[00:56:55] *** aljohri has quit IRC
[00:57:01] *** jhulten has quit IRC
[00:57:24] *** aviraldg has quit IRC
[00:57:32] *** kornalius has joined #angularjs
[00:57:44] *** mguillech has joined #angularjs
[00:57:51] <geuis> He's basing his argument on this line in the docs, "If you want to use an HTML validating tool, you can instead use the data-prefixed version"
[00:57:53] *** krawek has joined #angularjs
[00:57:59] *** kewark has quit IRC
[00:58:07] *** tomzx`afk is now known as tomzx
[00:58:56] *** sheerun has joined #angularjs
[00:59:04] *** atomical has quit IRC
[00:59:12] <elnur> geuis, who gives a shit about HTML validation these days?
[00:59:34] *** franzip has quit IRC
[01:00:11] <geuis> its not really about the validation, its whether either style of markup has an effect on rankings
[01:00:30] *** jaxtrx has joined #angularjs
[01:00:35] <geuis> like Google: "I see your html5 doesn't validate correctly, so ding ding down you go"
[01:00:52] *** testa has joined #angularjs
[01:00:55] *** hswolff has quit IRC
[01:01:21] *** Snugug has quit IRC
[01:01:29] <elnur> geuis, I don't think Google gives a shit about it either.
[01:01:40] *** patricka_ has quit IRC
[01:01:49] *** jonog has joined #angularjs
[01:02:20] <geuis> I tend to agree but looking for some hard evidence either way. Bothersome. sigh
[01:02:58] *** knownasilya has quit IRC
[01:03:00] *** Ir1sh_ has quit IRC
[01:03:07] *** hugofirth has joined #angularjs
[01:03:30] <Cixis> i prefer data-ng-<directive> because it's easier to search for
[01:03:39] *** Ir1sh has joined #angularjs
[01:03:43] <Cixis> it also catches my eyes better than ng-whatever or my-whatever
[01:03:50] <Cixis> data-something draws my attention to it
[01:04:56] <Cixis> fwiw it's the rule i've established at my workplace, and i've heard no complaints about it
[01:05:13] <Cixis> s/rule/style
[01:05:15] <geuis> awesome robdubya! Thanks a lot
[01:05:16] *** rtpg has quit IRC
[01:05:35] *** [mX] has joined #angularjs
[01:05:54] *** dcadenas has quit IRC
[01:06:00] *** jonog has quit IRC
[01:06:02] *** Yancy has quit IRC
[01:06:24] *** jdcasey has quit IRC
[01:06:26] <s3shs> The only issue with data- is with it taking up too much horizontal space if you have multiple of them on a line.
[01:06:41] *** ngbot has joined #angularjs
[01:06:42] <ngbot> angular.js/master c7c363c Martin Staffa: fix($http): don't remove content-type header if data is set by request transform...
[01:06:42] *** ngbot has left #angularjs
[01:06:44] <geuis> @cixis Our site is a mixup of standard web framework (pyramid) for most things and some particular sections as Angular apps. We use data- for data binding in pyramid land and have used both data-ng- and just ng-<directive> in Angular land
[01:06:50] *** Kismet010 has quit IRC
[01:06:54] *** bmac has quit IRC
[01:07:01] <Cixis> funny. this guy's opening line is the first lesson of Udacity's language parsing course
[01:07:07] *** intellix has quit IRC
[01:07:14] *** tlvince has quit IRC
[01:07:15] <Cixis> "HTML is broken everywhere, so your parser needs to support that"
[01:07:17] <s3shs> I use the same argument for snake_case vs. camel_case.
[01:07:26] *** xavia has quit IRC
[01:07:34] <geuis> I prefer just ng- because it differentiates better from our non-Angular code
[01:07:50] <geuis> isn't camel_case snake_case? =)
[01:07:57] *** Yancy has joined #angularjs
[01:07:58] <s3shs> And I use the same argument for putting { at the end of the line instead of on a line of its own.
[01:08:06] <s3shs> Bah, camelCase.
[01:08:11] *** Ir1sh has quit IRC
[01:08:39] <Cixis> geuis: i find it much more handy when you're working with your own directives. you can name them just "table," and seeing something like <div table></div> is weird to me
[01:08:44] <Cixis> it's rather see <div data-table></div>
[01:08:47] *** mbroadst has quit IRC
[01:08:50] <s3shs> I hate getting code where I open it up and I can only see a half-dozen lines that actually do anything without scrolling.
[01:09:00] <Cixis> and if i need to search the code for the table direction, i don't have to worry about filtering non-directive results
[01:09:04] <Cixis> grep -ri data-table .
[01:09:18] <Cixis> directive*
[01:09:26] <geuis> ah we do something like that. We namespace our custom directives too
[01:09:41] <geuis> native angular directives are ng- and ours are like td- or something
[01:09:45] <Cixis> yea. then what happens when you have other directives from other groups?
[01:09:55] <Cixis> then you have blt-table, ng-whatever, fish-derp
[01:10:05] *** testa has quit IRC
[01:10:06] <s3shs> Ooh, fish-deep. I want.
[01:10:06] *** Tidwell has quit IRC
[01:10:07] <Cixis> prepending with data makes it much more clear and obvious, imo
[01:10:09] *** jhulten has joined #angularjs
[01:10:10] <s3shs> derp
[01:10:27] <robdubya> fwiw the your-own-prefix thing is explicitly mentioned as a best practice
[01:10:39] *** kornalius has quit IRC
[01:10:47] <geuis> We haven't run into that problem (yet)
[01:10:49] *** PeteCampbell has quit IRC
[01:10:51] <s3shs> "your-own-prefix" seems a little wordy for every directive.
[01:11:08] *** encryptd_fractl has quit IRC
[01:11:09] <geuis> besides doing 'git grep data-' gives tons of mis hits
[01:11:10] <robdubya> s3shs know how we can tell you have kids? you make dad jokes :D
[01:11:11] <s3shs> (I'll go wait in the car now.)
[01:11:30] <s3shs> Why did Darth Vader cross the road?
[01:11:34] *** aviraldg has joined #angularjs
[01:11:39] <Cixis> i'd rather take the mis-hits for data- than the mis-hits for not data-
[01:11:40] <cthrax> To get to the dark side?
[01:11:46] <s3shs> ^ cthrax
[01:11:52] <Cixis> i'd be more like to search for data-ng or something like that
[01:11:54] *** Lunchy has quit IRC
[01:12:00] <Cixis> likely
[01:12:03] *** anth0ny has quit IRC
[01:12:11] *** dcadenas has joined #angularjs
[01:12:17] *** dashed has quit IRC
[01:12:48] <elnur> data-* is supported by Angular just for the sake of HTML5 validation.
[01:13:11] *** andizzle has joined #angularjs
[01:13:25] *** mfunkie has quit IRC
[01:13:46] <Cixis> i think IE9 won't allow consutm attributes without data-
[01:13:56] *** DrShoggoth has quit IRC
[01:14:01] *** mfunkie has joined #angularjs
[01:14:08] <Cixis> is there really something wrong with adding data- though? it's to-spec, and i don't think there's any confusion about what it's for
[01:14:18] *** avree has joined #angularjs
[01:14:28] <Cixis> imo seems kind of lazy not to use it
[01:14:33] *** PeteCampbell has joined #angularjs
[01:14:58] <elnur> Personally, I don't like it because it's verbose.
[01:15:07] <elnur> But there's nothing wrong with using it.
[01:15:11] <Cixis> oh i thought i was in ##csharp for a second heh
[01:15:14] <Cixis> i was like "what?"
[01:15:22] *** mfunkie has quit IRC
[01:15:39] *** Ymesio has quit IRC
[01:15:56] *** andkan has quit IRC
[01:15:57] *** sonofdir_ has quit IRC
[01:15:59] *** Damiox has joined #angularjs
[01:16:02] <Cixis> re verbosity, that is
[01:16:07] <elnur> Discussing Java?
[01:16:30] *** kornalius has joined #angularjs
[01:16:32] *** andkan has joined #angularjs
[01:17:01] *** mguillech has quit IRC
[01:17:11] <geuis> don't need data- in IE9
[01:17:27] *** payomdousti has quit IRC
[01:17:49] <Cixis> right on
[01:17:57] <geuis> Well, the best practice recommendation is just ng-
[01:18:06] <geuis> and html validation doesn't really matter
[01:18:18] *** mguillech has joined #angularjs
[01:18:23] <geuis> well, it matters of course but you don't get dinged for having non data- attributes
[01:19:32] <azureknight> jaawerth
[01:19:32] *** bootsWitDaFur has quit IRC
[01:19:39] <azureknight> This is a plunk of my situation. XD
[01:20:13] *** lingo has quit IRC
[01:20:18] <geuis> whats the problem ak
[01:20:27] *** jdj_dk has joined #angularjs
[01:20:34] <Cixis> best practices say either or
[01:20:44] *** andkan has quit IRC
[01:20:54] <geuis> true true
[01:21:31] <geuis> I'm kind of prejudiced against storing data in the DOM anyway
[01:21:36] *** [mX] has quit IRC
[01:21:55] <geuis> so that probably is what makes me way towards the one vs other.
[01:22:03] *** calvinx has joined #angularjs
[01:22:12] <Cixis> as you should be. the data- prefix is a bit of a misnomer here
[01:22:30] *** Milanito has joined #angularjs
[01:22:33] * Cixis baths is filthy filthy data- attributes
[01:22:39] <Cixis> bathes in*
[01:22:43] <azureknight> wafflejock_ this is my current confusion:
[01:22:52] *** [mX] has joined #angularjs
[01:22:53] <geuis> hehe
[01:22:54] *** jayflo has joined #angularjs
[01:23:01] *** DHowett_ is now known as DHowett
[01:23:06] <jayflo> hello
[01:23:09] *** anth0ny has joined #angularjs
[01:23:15] *** rtpg has joined #angularjs
[01:23:40] *** hivearts has quit IRC
[01:24:17] *** cjessup_ has joined #angularjs
[01:24:18] *** hivearts has joined #angularjs
[01:25:12] *** jdj_dk has quit IRC
[01:25:16] *** vintik has joined #angularjs
[01:25:39] *** aviraldg has quit IRC
[01:25:42] *** richardbaker has quit IRC
[01:25:47] *** cjessup has quit IRC
[01:25:51] *** mguillec_ has joined #angularjs
[01:26:45] *** markisonfire has quit IRC
[01:27:27] *** Drako_ has quit IRC
[01:28:20] *** mguillech has quit IRC
[01:28:44] <jayflo> Is it possible to have moduleA be a dependency of moduleB while moduleA.someController is a parent of moduleB.anotherController?
[01:29:11] *** hivearts has quit IRC
[01:29:38] *** hugofirth has quit IRC
[01:30:05] *** jiggliemon has joined #angularjs
[01:30:12] *** spencercarnage has quit IRC
[01:30:16] *** night-owl-MBP has joined #angularjs
[01:31:06] *** DrMabuse_ has quit IRC
[01:31:49] *** term|null is now known as termleech
[01:32:48] *** markisonfire has joined #angularjs
[01:33:18] *** morenoh153 has joined #angularjs
[01:34:45] *** rtpg has quit IRC
[01:35:00] *** dorei has joined #angularjs
[01:35:37] *** bamyyyooo14335 has quit IRC
[01:37:19] *** sloria has joined #angularjs
[01:37:24] *** geuis has quit IRC
[01:37:28] *** dbouwman has quit IRC
[01:37:30] *** CodeFriar has joined #angularjs
[01:38:36] *** sloria has quit IRC
[01:39:05] *** snapwich has quit IRC
[01:39:07] *** sheerun has quit IRC
[01:39:39] *** aviraldg has joined #angularjs
[01:40:10] *** mbroadst has joined #angularjs
[01:40:11] *** mbroadst has joined #angularjs
[01:41:32] *** CodeFriar has quit IRC
[01:42:27] *** mguillec_ has quit IRC
[01:42:30] *** payomdousti has joined #angularjs
[01:42:38] *** bamyyyooo14335 has joined #angularjs
[01:43:07] <wafflejock_> azureknight: sorry still debugging this issue here
[01:43:10] *** spencercarnage has joined #angularjs
[01:43:14] *** mguillech has joined #angularjs
[01:43:18] <azureknight> wafflejock_ no worries.
[01:43:20] *** [mX] has quit IRC
[01:43:26] <azureknight> If you get a chance, that's swell. I totally understand if not.
[01:44:00] <robdubya> azureknight whats your problem?
[01:44:07] <robdubya> (wanna fight about it?)
[01:44:17] <wafflejock_> azureknight: turns out not a memory problem because my limits are set super high and I'm dumping the memory info from a server it works on and locally for other requests and it's only using like 12MB of RAM but for some reason it blows up in json_encode
[01:44:25] <azureknight> rodubya you're on.
[01:44:30] <azureknight> robdubya*
[01:45:10] *** Tidwell has joined #angularjs
[01:45:13] <robdubya> azureknight so what's up? i have a guess, but i'll wait
[01:45:13] *** rho has quit IRC
[01:45:15] *** Jdubs_ has quit IRC
[01:46:23] <robdubya> yeah, i'm looking, thats why i have a guess
[01:46:39] <azureknight> This right here, if you use the hide button, it will hide the sub elements appropriately, but when you then use the drop down filter, and return to the "Select One" position, it will show the hidden sub-element of an item.
[01:47:08] *** evilaliv3 has quit IRC
[01:47:48] *** sgnl has joined #angularjs
[01:47:56] *** evan_e_ has quit IRC
[01:47:58] *** jayflo has quit IRC
[01:48:16] *** artisangoose has quit IRC
[01:48:23] *** IJNX has quit IRC
[01:49:05] *** Milanito has quit IRC
[01:49:42] <robdubya> azureknight k. so first - i realize this is probably just a demo, but why strings (as opposed to objects) - they will cause you allll sorts of headaches
[01:49:53] *** TorpedoSkyline has quit IRC
[01:49:56] *** Shrooms has quit IRC
[01:50:12] *** cthrax has quit IRC
[01:50:52] <robdubya> let me just see if i understand this - request data, merge unique tags, filter by unique tag
[01:50:52] *** d2dchat has joined #angularjs
[01:50:54] <robdubya> yes?
[01:50:56] *** akrikos has joined #angularjs
[01:50:58] <azureknight> Yup.
[01:51:25] *** ascarter has quit IRC
[01:51:32] <azureknight> I'm currently using SilverStripe CMS to build my objects and produce a json, then using angular to grab the json and print out the items.
[01:51:44] *** lbracher has joined #angularjs
[01:52:33] <robdubya> cool. refactoring a bit for you
[01:52:40] *** fels_zh has joined #angularjs
[01:53:01] <azureknight> Oh, sweet. Thank you.
[01:53:11] <robdubya> i'm so poisoned by es6, now i can't think without Set :(
[01:53:21] *** jamto11 has quit IRC
[01:53:23] <lbracher> Hi there! I'm really new on angularjs and I couldn't yet load the angular-google-maps module on seed. I updated bower.json, installed all modules, however, it didn't work. Do you have any idea how to deal with google-maps using angularjs seed? thanks in advance! :)
[01:55:03] *** disorder20 has quit IRC
[01:55:40] *** zwacky has quit IRC
[01:55:55] *** disorder20 has joined #angularjs
[01:55:56] *** mbroadst has quit IRC
[01:56:16] *** morenoh153 is now known as morenoh149
[01:56:46] <azureknight> es6?
[01:56:47] *** mbroadst has joined #angularjs
[01:57:00] *** nickp has joined #angularjs
[01:57:53] *** bicranial has joined #angularjs
[01:58:22] *** fels_zh has quit IRC
[01:59:02] *** mguillech has quit IRC
[01:59:10] *** mguillech has joined #angularjs
[01:59:10] *** mguillech has joined #angularjs
[02:00:16] *** benjamingr has quit IRC
[02:00:33] *** mguillec_ has joined #angularjs
[02:01:02] *** xanadu has joined #angularjs
[02:01:02] *** sloria has joined #angularjs
[02:01:04] *** cujojp_ has joined #angularjs
[02:01:12] *** subnl1 has quit IRC
[02:01:17] *** ngbot has joined #angularjs
[02:01:17] <ngbot> angular.js/master b3b5015 Carlo s A. Guillen: docs(CHANGELOG.md): add changes for 1.3.0-beta.14 and 1.2.19
[02:01:17] *** ngbot has left #angularjs
[02:01:47] <xanadu> i don't understand angular.mock.module - anyone have a good explanation?
[02:01:58] *** DrMabuse has joined #angularjs
[02:02:23] *** kas84 has quit IRC
[02:02:41] *** arrty has joined #angularjs
[02:02:58] *** Demego has quit IRC
[02:03:02] <Cixis> it parses your module and makes fun of you if you did something wrong
[02:03:10] <xanadu> hahaha
[02:03:14] <xanadu> that's awesome
[02:03:19] *** MmmmPie has joined #angularjs
[02:03:45] *** DrMabuse_ has joined #angularjs
[02:04:04] *** mguillech has quit IRC
[02:04:23] <xanadu> Cixis, what's the difference between angular.module and angular.mock.module?
[02:04:23] *** cujojp has quit IRC
[02:04:25] <Cixis> wafflejock_: php?
[02:04:53] *** lucasefe has joined #angularjs
[02:04:54] <Cixis> xanadu: i don't know. i've never written tests for angular
[02:04:56] *** ojacobson has joined #angularjs
[02:05:08] *** waylon999 has quit IRC
[02:05:13] <xanadu> Cixis - a tear just fell from heaven
[02:05:24] *** snurfery has quit IRC
[02:05:25] <robdubya> azureknight more clarity - your hide button, you're just wanting to show hide the subtags, yes?
[02:05:36] <Cixis> maybe
[02:05:41] <wafflejock_> Cixis: yeah working ona project that uses Slim PHP framework for routing and Eloquent ORM to hook into a MSSQL DB
[02:05:43] <azureknight> Yeah, I want to hide a sub div.
[02:05:50] <Cixis> never had the opportunity, never really ran into the need for a full test suite
[02:05:51] *** rrocsal has quit IRC
[02:05:56] <azureknight> Because I'm just trying to create an "alternate" view idea.
[02:06:15] <wafflejock_> Cixis: things are generally working fine but in a couple of the calls when it gets to the point of doing a json_encode it fails silently
[02:06:16] <Cixis> wafflejock_: recursive reference possibly?
[02:06:27] <wafflejock_> Cixis: well it's some server config problem
[02:06:31] <robdubya> azureknight and the default state - shown or hidden?
[02:06:41] <azureknight> I'm writing default as shown.
[02:06:42] <wafflejock_> cause it works in a vagrant/VM wrapper I have locally running
[02:06:45] *** DrMabuse has quit IRC
[02:06:50] *** Valesk has quit IRC
[02:06:59] <azureknight> robdubya but, I still have to make these paginate... Which I still haven't figured out.
[02:07:00] <wafflejock_> Cixis: but when I upload to my server it's failing at json_encode for some reason
[02:07:12] <Cixis> wafflejock_: php also doesn't necessarily tell you where the leak is when it crashes with a oom. that's just the last piece of code to run before it ran out. could be something else entirely
[02:07:35] <wafflejock_> Cixis: well I put die() statements before and after the json encode
[02:07:38] <Cixis> best bet is to use something like xhprof
[02:07:52] <wafflejock_> is that for xdebug stepping through?
[02:07:55] <wafflejock_> that's what I need
[02:08:00] <Cixis> nah, it profiles your php code
[02:08:08] <azureknight> So much to do. :'(
[02:08:10] <Cixis> works very well, found a lot of php leaks with it
[02:08:17] *** bayousoft has joined #angularjs
[02:08:23] <wafflejock_> ah well I also dumped the memory usage before the json_encode and it's never to high, like 12MB at most
[02:08:26] *** icodefor_ has quit IRC
[02:08:33] *** DrMabuse_ has quit IRC
[02:09:02] *** icodefor_ has joined #angularjs
[02:09:09] <Cixis> it's possible the number is inaccurate. which php version?
[02:09:16] <wafflejock_> I feel like maybe it's some character encoding issue
[02:09:20] *** cthrax has joined #angularjs
[02:09:21] <Cixis> as for xdebug stepping, what editor or ide are you using?
[02:09:31] *** stirling_ has joined #angularjs
[02:09:31] <wafflejock_> PHP 5.5.14-1+deb.sury.org~precise+1 (cli) (built: Jun 27 2014 14:11:34)
[02:09:34] <wafflejock_> SublimeText
[02:09:36] <Cixis> ew
[02:09:49] *** Guest38741 is now known as InezK
[02:09:50] <Cixis> i was hoping you'd say either vim or phpstorm ;)
[02:10:08] <wafflejock_> Cixis: eh whateves Sublime has vim style support for those who like it
[02:10:19] *** BillCriswell has joined #angularjs
[02:10:31] <azureknight> Ooh. That works nicely.
[02:10:33] <Cixis> yea, but i don't know how to set up xdebug in st2
[02:10:38] <azureknight> But, I was just going to make an overall toggle like how I did at the top.
[02:10:45] <Cixis> anyway, what does the object you're serializing look like?
[02:11:10] *** calvinx has quit IRC
[02:12:07] <robdubya> azureknight i figured, just wanted to show how the scoping works
[02:12:07] *** nukulb has joined #angularjs
[02:12:10] *** Nizumzen has quit IRC
[02:12:18] *** danielpq_ has quit IRC
[02:12:20] *** markisonfire has quit IRC
[02:12:21] <robdubya> each button is speaking to that subset of the DOM
[02:12:21] *** bayousoft has quit IRC
[02:12:24] <azureknight> robdubya yeah. I really need to get a better understanding of Scope.
[02:12:34] *** jonog has joined #angularjs
[02:12:35] *** vintik has quit IRC
[02:12:41] <robdubya> azureknight people overthink it, its literally "the space inside the box"
[02:12:44] *** stirlingw has quit IRC
[02:12:51] <Cixis> wafflejock_: you can var_export your object to a file, and work with it in a separate php script
[02:12:52] <ojacobson> Instead, it's left alone, and there's no console noise at all.
[02:12:54] <ojacobson> (Safari 7.)
[02:12:57] *** aviraldg has quit IRC
[02:13:02] <Cixis> should help you narrow down if the issue is related to json_encode or your object
[02:13:02] <azureknight> robdubya I've always had that sort of understanding.
[02:13:07] <azureknight> I just figured I was under-simplifying it. XD
[02:13:07] *** mbroadst has quit IRC
[02:13:08] <robdubya> the key takeway here is that the *data* is driving the view - so to manipulate the view, you manipulate the data
[02:13:08] *** vintik has joined #angularjs
[02:13:09] *** zrl has joined #angularjs
[02:13:10] *** icodefor_ has quit IRC
[02:13:23] <zrl> using $resource, how can i pass query parameters for GET requests?
[02:13:31] *** ascarter has joined #angularjs
[02:13:32] *** stirling_ has quit IRC
[02:13:33] *** night-owl-MBP has quit IRC
[02:13:34] <Cixis> wafflejock_: or serialize() the object to a file, and deserialize() it in a different php script
[02:13:36] *** ascarter has quit IRC
[02:13:43] <azureknight> robdubya would my hide button then have to be within my controller's div?
[02:14:04] *** mbroadst has joined #angularjs
[02:14:04] *** edzez_ has quit IRC
[02:14:10] *** akrikos has quit IRC
[02:14:18] *** anth0ny has quit IRC
[02:14:19] *** ascarter has joined #angularjs
[02:14:21] <Cixis> wafflejock_: and if you really want to get into it, valgrind may help point you in the right direction, or gdb
[02:14:37] *** edzez_ has joined #angularjs
[02:14:41] *** xanadu has quit IRC
[02:15:02] *** avree has quit IRC
[02:15:33] <wafflejock_> Cixis: yeah will PM you a link here with the contents it's trying to json_encode
[02:16:01] *** Matt_Ricketts has joined #angularjs
[02:16:05] *** mguillec_ has quit IRC
[02:16:19] *** snurfery has joined #angularjs
[02:16:37] *** mguillech has joined #angularjs
[02:17:18] *** vintik has quit IRC
[02:17:25] *** subnl2 has joined #angularjs
[02:18:25] <Cixis> you do have some special characters in there, but i'd be surprised if that's the issue
[02:18:28] <Cixis> TOURG�VILLE
[02:18:32] <Cixis> oh sorry
[02:18:34] <Cixis> wrong window
[02:18:40] *** tsyd has joined #angularjs
[02:18:52] <robdubya> azureknight your hide all button?
[02:18:58] *** TorchDragon has joined #angularjs
[02:20:07] *** xanadu has joined #angularjs
[02:20:07] <zrl> ah, figured it out
[02:21:12] *** mguillech has quit IRC
[02:21:15] <ojacobson> Never mind, pilot error. Don't put ng-app on <head>, kids! It's legal, but not very useful.
[02:21:17] <robdubya> azureknight typically yes, though (in theory) you could do it inside the service
[02:21:48] *** bootsWitDaFur has joined #angularjs
[02:22:24] *** tekky has joined #angularjs
[02:22:37] *** tmrudick has quit IRC
[02:22:40] <robdubya> ojacobson doesn't work on <!DOCTYPE either
[02:22:44] <robdubya> done that a few times :D
[02:22:50] <ojacobson> :D
[02:22:51] <azureknight> robdubya ok. I thought so.
[02:23:04] <ojacobson> that should at least provoke browser warnings (though I'm not terribly optimistic that it actually does)
[02:23:05] <azureknight> Which is why people normally write their controller into the body is to expand their box.
[02:23:07] <azureknight> or "scope"
[02:24:21] *** cjessup has joined #angularjs
[02:24:39] *** shoelessone has quit IRC
[02:24:57] *** tmrudick has joined #angularjs
[02:25:16] *** bootsWitDaFur has quit IRC
[02:25:27] *** ascarter has quit IRC
[02:25:28] *** DrMabuse has joined #angularjs
[02:25:35] *** TorchDragon has quit IRC
[02:26:00] *** bootsWitDaFur has joined #angularjs
[02:26:08] *** amargherio has joined #angularjs
[02:26:30] *** azureknight has quit IRC
[02:26:42] *** jdj_dk has joined #angularjs
[02:26:42] *** jsoverson has quit IRC
[02:26:43] *** vintik has joined #angularjs
[02:26:44] *** Gambit-_s has quit IRC
[02:26:44] *** bayousoft has joined #angularjs
[02:27:02] *** cjessup_ has quit IRC
[02:27:10] *** titanomachy has joined #angularjs
[02:27:28] *** nickp has quit IRC
[02:28:40] *** kornalius has quit IRC
[02:29:02] <elnur> ojacobson, o/
[02:29:07] <ojacobson> \o
[02:29:10] <elnur> \o/
[02:29:31] *** tekky has quit IRC
[02:29:41] <elnur> ojacobson, developing an ng frontend for a Java backend?
[02:29:56] *** DrMabuse has quit IRC
[02:30:08] *** disorder20 has quit IRC
[02:30:20] *** mbroadst has quit IRC
[02:30:23] *** Foxandxss has quit IRC
[02:30:48] <elnur> Hmm. Is it possible to emulate an abstract method in JS?
[02:30:58] <Cixis> sure
[02:30:58] *** shoelessone has joined #angularjs
[02:31:06] <elnur> So that a method from the parent class calls a method from a child class.
[02:31:12] *** mbroadst has joined #angularjs
[02:31:33] <Cixis> you'd have to write the code for that, but it's not impossible
[02:31:35] <elnur> JS really needs some serious OO support.
[02:31:35] *** jdj_dk has quit IRC
[02:31:48] *** teeray has joined #angularjs
[02:31:53] <Cixis> js "is" oo
[02:31:57] *** jarrison has joined #angularjs
[02:31:58] <Cixis> really we should just stop using js
[02:31:58] <elnur> Cixis, lots of code?
[02:32:08] <Cixis> probably not
[02:32:17] <elnur> Okay, I meant serious OO constructs.
[02:32:35] <Cixis> off the top of my head, you can probably just do "if (this.method != 'undefined') this.method()"
[02:32:36] <elnur> You can do OO in C, but hey, don't you have anything better to do?
[02:32:46] <Cixis> at least C tells you when you fucked up
[02:32:49] *** lucasefe has quit IRC
[02:32:53] <elnur> Haha. That's true.
[02:33:00] <elnur> I actually miss Java stacktraces.
[02:33:23] *** SpearThruster has joined #angularjs
[02:33:29] <elnur> Even though some people call Java an XML to stacktraces converter.
[02:33:30] *** rho has joined #angularjs
[02:33:58] <Cixis> serialize all the things~
[02:34:03] <elnur> Cixis, so, will this.method() go down the prototype chain?
[02:34:06] *** marr has quit IRC
[02:34:06] *** rtpg has joined #angularjs
[02:34:21] *** blueadept has quit IRC
[02:34:24] *** OdinIncarnate has quit IRC
[02:34:33] <Cixis> i'm not sure
[02:34:44] *** tmrudick has quit IRC
[02:34:53] <elnur> Does Dart have long stacktraces?
[02:35:25] *** bootsWitDaFur has quit IRC
[02:35:36] *** shoelessone has quit IRC
[02:36:16] *** sgnl__ has joined #angularjs
[02:37:11] *** faddah has quit IRC
[02:38:02] <elnur> Damn, I have to use libs for OO. (facepalm)
[02:38:06] *** lw has joined #angularjs
[02:38:09] *** faddah has joined #angularjs
[02:38:25] *** dcadenas_ has joined #angularjs
[02:38:25] *** mange has joined #angularjs
[02:38:27] *** lw has quit IRC
[02:38:28] <tsyd> You don't have to.
[02:38:44] *** bicranial has quit IRC
[02:38:57] *** TyrfingMjolnir has quit IRC
[02:39:21] *** hychen has joined #angularjs
[02:39:23] <elnur> Has OO retardness been sold as a feature?
[02:39:32] *** duczen has joined #angularjs
[02:39:58] *** TyrfingMjolnir has joined #angularjs
[02:40:15] <elnur> tsyd, thanks. Gonna delve into this and other results from that page of Google.
[02:40:19] *** sgnl has quit IRC
[02:40:21] *** one_zero has joined #angularjs
[02:40:35] *** dcadenas has quit IRC
[02:40:49] *** nemothekid has quit IRC
[02:42:01] <Cixis> use typescript
[02:42:05] <Cixis> it's the sex
[02:42:24] <elnur> Why not Dart?
[02:42:32] <elnur> Or Traceur?
[02:43:18] <Cixis> no reason
[02:43:22] <Cixis> typescript is just very noce
[02:43:23] *** krawek has quit IRC
[02:43:23] <Cixis> nice
[02:43:27] <elnur> You using it?
[02:43:30] *** mdedetrich has joined #angularjs
[02:43:35] *** conan_the_destro has quit IRC
[02:43:37] <Cixis> almost exclusively
[02:44:00] <elnur> I won't ask you if you like it since it seems obvious you do.
[02:44:09] <snurfery> sup yall
[02:44:37] <Cixis> it adds the much needed static typing to js and provides a usable class/interface/model structure
[02:44:53] <Cixis> the compilation is almost a 1:1 as well, which makes debugging much simpler than, say, coffescript
[02:44:59] <elnur> Cixis, does it gel with Angular?
[02:45:03] <Cixis> yea
[02:45:08] <elnur> Awesome.
[02:45:14] <Cixis> pretty nicely, actually, though it takes a little getting used to
[02:45:17] <elnur> I tried Traceur today but failed.
[02:45:44] *** cpciv has quit IRC
[02:45:49] <elnur> So, MS once in their life developed something worth using, huh?
[02:46:09] *** mmitchell has quit IRC
[02:46:13] <elnur> Well, for the 2nd time, actually. I use their ergonomic keyboard.
[02:46:44] *** AngularUI has joined #angularjs
[02:46:45]
<AngularUI> [ng-grid] guzart opened pull request #1274: chore(performance): remove class interpolation and do manual add/remove ... (3.0-pinned-containers...3.0-remove-class-interpolation) http://git.io/JesoTQ
[02:46:45] *** AngularUI has left #angularjs
[02:47:06] *** Mahonar has quit IRC
[02:47:13] *** pdillinger has joined #angularjs
[02:47:22] *** cpciv has joined #angularjs
[02:47:27] <Cixis> well, i also really nice visual studio, C#, windows 8, and windows phone
[02:47:28] *** mbroadst has quit IRC
[02:47:40] *** bamyyyooo14335 has quit IRC
[02:47:42] <Cixis> really like*
[02:47:57] *** cujojp_ has quit IRC
[02:48:25] *** mbroadst has joined #angularjs
[02:48:33] *** cujojp has joined #angularjs
[02:48:39] *** jamto11 has joined #angularjs
[02:48:48] <elnur> I'm a Linux guy: Kubuntu, Android, IntelliJ IDEA, etc. :P
[02:49:15] *** Cache_Money has joined #angularjs
[02:49:20] *** AciD`` has quit IRC
[02:49:38] *** juanlas has quit IRC
[02:49:44] *** Gambit- has joined #angularjs
[02:49:48] <Cixis> same, though not using atm
[02:50:00] <Cixis> gentoo/kde/intellij/vim
[02:50:21] *** InezK is now known as InezK_away
[02:51:35] *** duczen has quit IRC
[02:51:36] *** pdillinger has quit IRC
[02:51:38] *** xanadu has quit IRC
[02:51:49] *** stirlingw has joined #angularjs
[02:52:47] *** Malone has quit IRC
[02:52:50] *** TheAceOfHearts has quit IRC
[02:53:46] <elnur> Cixis, Module 'app' is not available!
[02:53:49] *** jaxtrx has quit IRC
[02:53:49] <elnur> What does it mean?
[02:53:59] *** cpciv has quit IRC
[02:54:03] <elnur> Can't I use both JS and TS at the same time?
[02:54:27] <elnur> : error TS2095: Could not find symbol 'en'.
[02:54:33] *** cpciv has joined #angularjs
[02:54:35] <elnur> : error TS2095: Could not find symbol 'angular'.
[02:55:32] <Cixis> you can. typescript is javascript, really
[02:55:38] <Cixis> it just adds some sugar on top
[02:56:15] <elnur> So, can I start with just renaming .js files to .ts files?
[02:56:21] <Cixis> you should be able to
[02:56:49] *** jareddlc_ has quit IRC
[02:56:57] *** raghunayyar has quit IRC
[02:58:00] *** mdedetrich has quit IRC
[02:58:15] *** vf1 has quit IRC
[02:58:22] <elnur> I hoped it would be easier to start. :/
[02:58:35] *** rtpg has quit IRC
[02:58:44] <Cixis> it's easy to start, but you still have to learn it to get the benefits of it
[02:59:24] <elnur> The first thing I wanna do is to just make it work without using any language features.
[02:59:33] <elnur> Then I could start using them in baby steps.
[02:59:44] <Cixis> yep
[02:59:45] *** lsiv568 has joined #angularjs
[02:59:48] <Cixis> first step is renaming
[02:59:51] <elnur> So, what does your paste mean?
[03:00:03] <Cixis> going home. if you're around later, i can link you to the steps to refactor per the Build 2014 talk
[03:00:13] <Cixis> my paste is a one line javascript file that compiles
[03:00:16] <elnur> Going to sleep soon.
[03:00:23] <Cixis> that error is because ts doesn't know what angular is, but it will still compile it
[03:00:26] <elnur> But you couldn't compile the TS file.
[03:00:32] <elnur> I see.
[03:00:39] <elnur> Talk to you tomorrow than.
[03:00:41] <Cixis> if i included angular it would be fine
[03:00:43] <Cixis> see ya
[03:00:47] <elnur> Thanks. See ya.
[03:01:02] *** rtpg has joined #angularjs
[03:01:03] *** xanadu has joined #angularjs
[03:01:13] *** cassler has joined #angularjs
[03:01:16] *** quantax- has joined #angularjs
[03:02:29] *** jhulten has quit IRC
[03:02:30] *** nagappan has quit IRC
[03:02:52] *** hswolff has joined #angularjs
[03:03:07] *** nagappan has joined #angularjs
[03:03:11] *** shoelessone has joined #angularjs
[03:03:17] *** Matt_Ricketts has quit IRC
[03:03:49] *** dhcar is now known as dhcar_AFK
[03:04:57] *** dcherman has joined #angularjs
[03:05:04] *** matiasow has joined #angularjs
[03:05:09] <robdubya> Cixis apparently typescript is gaining notations, which would be nicely compatible with ng 2.0
[03:05:16] <robdubya> eer annotations
[03:05:21] *** morenoh149 has quit IRC
[03:05:41] *** [mX] has joined #angularjs
[03:07:18] *** bicranial has joined #angularjs
[03:07:57] *** shoelessone has quit IRC
[03:08:00] *** xanadu has quit IRC
[03:08:40] *** mbroadst has quit IRC
[03:09:15] *** Yancy has quit IRC
[03:09:25] *** Yancy has joined #angularjs
[03:11:19] *** MmmmPie has quit IRC
[03:11:20] *** Aliks has quit IRC
[03:12:10] *** sloria has quit IRC
[03:12:19] *** wa5ted_ has joined #angularjs
[03:12:44] *** styles has joined #angularjs
[03:13:00] *** danielpquinn has joined #angularjs
[03:13:26] <styles> I don't need a SPA framework, but I have an app that has some spa like functionallity on some pages. Is it too much to use angular?
[03:13:27] *** sloria has joined #angularjs
[03:13:37] <cassler> nope
[03:13:40] <cassler> angular is very lightweight
[03:14:38] *** pdillinger has joined #angularjs
[03:15:04] *** wa5ted has quit IRC
[03:15:11] *** tilgovi has quit IRC
[03:15:13] *** wa5ted_ is now known as wa5ted
[03:15:39] *** recurrence has joined #angularjs
[03:16:28] *** heidi has quit IRC
[03:16:59] *** morenoh149 has joined #angularjs
[03:17:14] *** danielpquinn has quit IRC
[03:17:38] *** ccbmx has quit IRC
[03:17:47] *** InezK_away is now known as InezK
[03:18:29] *** jamto11 has quit IRC
[03:19:39] *** CodeFriar has joined #angularjs
[03:19:45] *** moritzs has joined #angularjs
[03:20:06] *** pdillinger has quit IRC
[03:20:55] *** snurfery has quit IRC
[03:21:05] *** sloria has quit IRC
[03:22:01] *** [mX] has quit IRC
[03:22:24] *** endash has quit IRC
[03:22:32] *** dbouwman has joined #angularjs
[03:22:37] *** jonathanpglick has quit IRC
[03:23:01] *** [mX] has joined #angularjs
[03:23:03] *** motionman has joined #angularjs
[03:23:04] *** motionman has joined #angularjs
[03:23:54] *** tsalb has quit IRC
[03:23:57] *** cjessup_ has joined #angularjs
[03:23:57] *** jtimon has quit IRC
[03:24:16] *** vf1 has joined #angularjs
[03:24:20] *** lsiv568 has quit IRC
[03:24:40] *** dcadenas_ has quit IRC
[03:24:47] *** cthrax has quit IRC
[03:25:05] *** d2dchat has quit IRC
[03:25:16] *** MistahKurtz has quit IRC
[03:25:45] *** carbonpile has quit IRC
[03:25:47] *** mattweg has quit IRC
[03:25:54] *** Hackwar1 has joined #angularjs
[03:25:58] *** the_rat has joined #angularjs
[03:26:00] *** the_rat is now known as baseball_fan
[03:26:13] *** DrMabuse has joined #angularjs
[03:26:31] *** bchoate has quit IRC
[03:26:34] *** cjessup has quit IRC
[03:27:04] *** dcadenas has joined #angularjs
[03:27:42] *** DHowett has quit IRC
[03:27:44] *** Left_Turn has quit IRC
[03:27:52] *** ajk27 has quit IRC
[03:28:26] *** ajk27 has joined #angularjs
[03:28:47] *** DHowett has joined #angularjs
[03:28:48] *** DHowett has joined #angularjs
[03:28:52] *** lucasefe has joined #angularjs
[03:29:02] *** bchoate has joined #angularjs
[03:29:26] *** wilmoore has joined #angularjs
[03:30:17] *** sloria has joined #angularjs
[03:30:51] *** mattweg has joined #angularjs
[03:30:59] *** DrMabuse has quit IRC
[03:31:34] *** jonog has quit IRC
[03:32:12] *** patrickarlt has joined #angularjs
[03:33:16] *** toors_ has quit IRC
[03:33:35] *** shoelessone has joined #angularjs
[03:34:10] *** morenoh149 has quit IRC
[03:34:11] *** mspier is now known as mspier_off
[03:34:20] *** andizzle has quit IRC
[03:34:24] <dman777> should switch case in js work in angular?
[03:35:17] *** heidi has joined #angularjs
[03:35:33] *** MmmmPie has joined #angularjs
[03:36:49] <robdubya> why wouldn't it
[03:37:33] <dman777> robdubya: well, I did console.log(type) right above switch(event) and it shows the string...but after switch(event) and I get Uncaught SyntaxError: Unexpected identifier
[03:37:49] <robdubya> the 2nd is a syntax error
[03:37:49] <dman777> sorry, I mean I did consoloe.log(event)
[03:38:12] <robdubya> no, i mean putting stuff in a switch statement like you did in the paste
[03:38:17] *** jonog has joined #angularjs
[03:38:55] <dman777> robdubya: ah...I see. thanks
[03:39:55] *** jiggliemon has quit IRC
[03:40:19] *** mbroadst has joined #angularjs
[03:40:20] *** jdowdle has quit IRC
[03:40:21] *** Ymesio has joined #angularjs
[03:40:33] *** RobinBAwesome has quit IRC
[03:41:09] *** new2angualr has joined #angularjs
[03:41:21] *** codebyjeff has joined #angularjs
[03:42:56] *** Jdubs has joined #angularjs
[03:43:35] *** [mX] has quit IRC
[03:44:02] *** morenoh149 has joined #angularjs
[03:44:15]
<dman777> http://bpaste.net/show/x9th1UqLsid1e9pRm0ML/ I know $watch() watches only scope variables in the controler..but with the attaching a object on a object sseHandler.result = result and returning it...shouldn't $watch() detect that also?
[03:44:21] *** darrin has joined #angularjs
[03:44:31] *** joshontheweb has joined #angularjs
[03:45:20] *** heidi has quit IRC
[03:45:30] *** icodefor_ has joined #angularjs
[03:45:37] *** arizzo has joined #angularjs
[03:45:48] *** SpearThruster has quit IRC
[03:46:03] *** spencercarnage has quit IRC
[03:47:06] *** dhcar_AFK is now known as dhcar
[03:47:09] *** the_shane has joined #angularjs
[03:47:24] <new2angualr> Hi everyone! I am new to angular. when data needed from server, either to use angularjs http or socket.io ? could anyone please give me hints?
[03:47:36] *** patrickarlt has quit IRC
[03:47:43] *** Riobe has joined #angularjs
[03:47:49] *** nickp has joined #angularjs
[03:47:59] <the_shane> I started using http but moved to sockets instaed
[03:48:16] <the_shane> but am not using socket.io just bare js ws
[03:48:39] <the_shane> I put them in services and it seems to be working great
[03:49:13] <new2angualr> So is it wise to replace http with socket.io?
[03:49:34] <wafflejock_> new2angualr: depends on if you need push/near real time data
[03:49:35] *** stirlingw has quit IRC
[03:49:48] *** cujojp has quit IRC
[03:50:00] *** icodefor_ has quit IRC
[03:50:22] *** mdedetrich has joined #angularjs
[03:50:28] <dman777> SSE is good also. But that is done on the server side....never heard of that needing to be done on client side other than the usualy js listener
[03:51:20] *** MistahKurtz has joined #angularjs
[03:51:26] <dman777> *usual
[03:51:33] *** codebyjeff has quit IRC
[03:51:46] *** cpciv has quit IRC
[03:52:06] *** RobinBAwesome has joined #angularjs
[03:52:29] <the_shane> yea, I went with sockets just because the requests can take a few more seconds than I would like so I just have a socket push data when it is available and have my controller refresh evenry 10 seonds and if there is new data it is updated in the view
[03:52:36] *** rrocsal has joined #angularjs
[03:52:55] *** codebyjeff has joined #angularjs
[03:52:59] *** dorei has quit IRC
[03:53:16] *** RobinBAwesome has quit IRC
[03:53:38] <dman777> the_shane: actually, that is what I am trying to write also...bue with one way push using SSE
[03:53:50] <dman777> *but
[03:54:38] *** cpciv has joined #angularjs
[03:54:44] *** moritzs has quit IRC
[03:55:07] <robdubya> the_shane you're pushing with sockets.... but only updating your view every 10 secods?
[03:55:14] <robdubya> that seems a bit counterintuitive
[03:55:14] *** Jdubs_ has joined #angularjs
[03:55:18] *** kalehv has joined #angularjs
[03:56:07] *** mbroadst has quit IRC
[03:56:19] *** night-owl-MBP has joined #angularjs
[03:56:31] *** moritzs has joined #angularjs
[03:56:32] *** Jdubs has quit IRC
[03:56:47] *** shinnya has quit IRC
[03:56:56] *** mbroadst has joined #angularjs
[03:57:16] *** codebyjeff has quit IRC
[03:57:44] *** jamto11 has joined #angularjs
[03:58:08] *** vf1 has quit IRC
[03:58:08] *** lucasefe has quit IRC
[03:59:10] *** sultunate has quit IRC
[03:59:23] *** the_shane has quit IRC
[04:01:00] *** mven has joined #angularjs
[04:01:07] *** InezK is now known as InezK_away
[04:01:23] *** aniM has joined #angularjs
[04:01:29] *** andizzle has joined #angularjs
[04:01:37] *** baseball_fan has quit IRC
[04:02:05] *** baseball_fan has joined #angularjs
[04:03:06] *** wallerdev has quit IRC
[04:03:07] *** apetro_ has joined #angularjs
[04:04:20] *** teeray has quit IRC
[04:05:45] *** reg_ has joined #angularjs
[04:05:45] *** Ir1sh has joined #angularjs
[04:05:51] *** arizzo has quit IRC
[04:05:52] *** baseball_fan has quit IRC
[04:06:27] *** MistahKurtz has quit IRC
[04:06:33] *** arizzo has joined #angularjs
[04:06:34] *** nukulb has quit IRC
[04:07:05] *** reg_ has quit IRC
[04:07:48] *** cpciv has quit IRC
[04:07:56] *** Captain_Picard has joined #angularjs
[04:09:01] *** MistahKurtz has joined #angularjs
[04:09:56] *** Ir1sh has quit IRC
[04:10:03] *** Fire-Dragon-DoL has quit IRC
[04:10:23] *** blueadept has joined #angularjs
[04:10:58] *** arizzo has quit IRC
[04:11:13] *** shackleford has joined #angularjs
[04:11:30] *** joshontheweb has quit IRC
[04:12:23] *** shacklef_ has joined #angularjs
[04:12:23] *** shackleford has quit IRC
[04:12:31] *** Matt_Ricketts has joined #angularjs
[04:12:46] *** bayousoft has quit IRC
[04:12:49] *** night-owl has quit IRC
[04:13:27] *** atomical has joined #angularjs
[04:13:27] *** mbroadst has quit IRC
[04:13:35] *** moritzs has quit IRC
[04:13:46] *** danielpquinn has joined #angularjs
[04:14:03] *** rho has quit IRC
[04:14:07] *** mbroadst has joined #angularjs
[04:14:17] <shacklef_> If I have a table, with 3 columns, how can I make column 1 & 3 to use ng-repeat, but columns 2 to use hard coded data?
[04:14:21] *** mikehaas763 has joined #angularjs
[04:14:26] *** sloria has quit IRC
[04:14:30] *** bayousoft has joined #angularjs
[04:15:00] *** jdj_dk_ has joined #angularjs
[04:15:49] *** night-owl-MBP has quit IRC
[04:15:50] <mikehaas763> I don't usually use $http, anyone know if there is a native way to configure the success handler for .then() to just return the data and not an object with data, headers etc. I realize I could just write a service that wraps $http in a promise and just returns the data piece.
[04:16:11] <mikehaas763> Wondering if I can get it natively though
[04:16:23] <robdubya> no
[04:16:31] *** rburns has joined #angularjs
[04:16:46] <robdubya> you can use the .success
[04:16:51] *** pdillinger has joined #angularjs
[04:16:57] *** digia is now known as digia|away
[04:17:09] <robdubya> or do .then(function(res){ return.res.data; })
[04:17:39] *** nukulb has joined #angularjs
[04:17:40] *** MmmmPie has quit IRC
[04:18:12] *** danielpquinn has quit IRC
[04:18:18] <shacklef_> robdubya, do you think it is possible to have a table, with 3 columns, how can I make column 1 & 3 to use ng-repeat, but columns 2 to use hard coded data?
[04:18:26] <ojacobson> shacklef_: you _definitely_ won't be able to get an $http call to return data, as in 'var v = $http.get(...with some magic...);, because of how browser HTTP works.
[04:18:36] <ojacobson> There's no way to suspend script evaluation like that. You _have_ to deal with callbacks.
[04:18:50] <shacklef_> ?
[04:18:51] <ojacobson> (Technically ECMA generators can deal with this, but using those in a browser is unwise)
[04:18:54] <robdubya> ojacobson dont think thats what he means
[04:18:55] <shacklef_> not what I'm asking
[04:19:08] *** jdj_dk_ has quit IRC
[04:19:18] <ojacobson> You can turn a promise that will yield an HTTP response object into a promise that will yield its body, though; robdubya's approach is pretty good
[04:19:26] <robdubya> and shacklef_ whats going in the third column shacklef_ ?
[04:19:31] *** sloria has joined #angularjs
[04:19:40] <ojacobson> oops, wrong recipient
[04:19:44] <ojacobson> shacklef_: sorry, my mistake
[04:19:47] <shacklef_> it will populated by the ng-repeat
[04:19:52] <ojacobson> mikehaas763: ^^ all of that was meant for you
[04:19:55] <robdubya> mikehaas763 in either case, you should be doing $http inside a service anyway, so its a non-issue
[04:19:58] <shacklef_> no prob ojacobson
[04:20:07] <mikehaas763> ah
[04:20:34] <mikehaas763> I would use .success but I want to chain promises
[04:20:55] <robdubya> mikehaas763 line 16
[04:21:18] *** pdillinger has quit IRC
[04:21:20] <robdubya> then you can carry on chaining
[04:21:24] <robdubya> with the actual data
[04:22:27] <mikehaas763> robdubya: I am making the $http call from within a service. I just find it neater to not have response.data
[04:22:48] *** AngularUI has joined #angularjs
[04:22:48]
<AngularUI> [ng-grid] swalters closed pull request #1274: chore(performance): remove class interpolation and do manual add/remove ... (3.0-pinned-containers...3.0-remove-class-interpolation) http://git.io/JesoTQ
[04:22:48] *** AngularUI has left #angularjs
[04:23:11] <robdubya> i understand that. if you do it inside the service, then your controllers see the data (not the response)
[04:24:10] <robdubya> i'm pretty sure you can chain .success as well
[04:24:24] *** freeman42 has quit IRC
[04:24:31] *** nukulb has quit IRC
[04:24:54] *** nickp has quit IRC
[04:24:58] <mikehaas763> I see, .then() creates the new promise for you. I usually use restangular so I'm just out of my element a bit
[04:25:28] <robdubya> mikehaas763 why not just write 1 service, that does the thing you want, and use that everywhere you use $http?
[04:25:32] *** jonog has quit IRC
[04:25:38] *** cjessup_ has quit IRC
[04:25:47] <robdubya> $mikeHttp
[04:25:50] <robdubya> or whatever
[04:25:51] <mikehaas763> robdubya: Huh? I'm not using $http all ofer the place
[04:26:05] *** jonog has joined #angularjs
[04:26:06] *** matiasow has quit IRC
[04:26:31] <robdubya> the fact you're even asking the question, i assumed you were doing this more than once
[04:26:40] *** night-owl-MBP has joined #angularjs
[04:26:58] *** DrMabuse has joined #angularjs
[04:27:33] *** BillCriswell has quit IRC
[04:27:39] <mikehaas763> No, I always wrap my "resource retrieving" in a service. I just was getting mixed up probably getting some analysis paralysis.
[04:28:23] *** bicranial has quit IRC
[04:28:24] <mikehaas763> I've used restangular forever now so I think I just started thinking about other shit from $http and thought about it all wrong
[04:28:31] <robdubya> alternately you can define a simple function that does the return res.data thing too
[04:28:47] <robdubya> $http.get().then(parseData).then(....
[04:28:48] *** nibster has joined #angularjs
[04:29:02] <robdubya> lots of options
[04:29:07] <robdubya> just not the one you want :)
[04:30:00] <nibster> guys anyone know how to add new object in array but keep the state. What i mean i have inputs of certain properties of a object, with a method addNew() i push new Object("") to the array of the object i type but when i click again all new added values are cleared
[04:30:01] *** jamto11 has quit IRC
[04:30:05] *** KanwarUjjaval has quit IRC
[04:30:15] <nibster> what i want to dynamically add objects to an array using input to set the values
[04:30:21] <nibster> let me say it that way
[04:30:24] <ojacobson> ~show us
[04:30:24] *** mbroadst has quit IRC
[04:30:37] *** subnl2 has quit IRC
[04:30:38] <robdubya> nibster its cuz you're passing the refererence each time
[04:30:42] *** earthquake has quit IRC
[04:30:43] <robdubya> angular.copy is the easy solution
[04:30:46] *** TheAceOfHearts has joined #angularjs
[04:30:56] <ojacobson> oof, wrong chat :)
[04:30:58] <nibster> well i tried it but doesn't work i will show you snippet
[04:31:16] *** InezK_away is now known as InezK
[04:31:19] *** frkout_ has joined #angularjs
[04:31:22] *** mbroadst has joined #angularjs
[04:31:24] *** dcherman has quit IRC
[04:31:52] *** DrMabuse has quit IRC
[04:32:16] <nibster> robdubya:
[04:32:50] *** earthquake has joined #angularjs
[04:32:54] <nibster> so adding new element will create new input so that i can enter the value for the new object but when i enter value and click add new again , the previous value is cleared ..
[04:34:03] *** Hackwar has joined #angularjs
[04:34:26] *** frkout has quit IRC
[04:34:31] <shacklef_> is it possible to have multiple ng-repeats on the same table?
[04:34:35] *** the-erm has quit IRC
[04:35:02] *** bayousoft has quit IRC
[04:35:34] <nibster> robdubya: did you check it ?
[04:35:58] <robdubya> your copy syntax was wrong
[04:36:08] *** Damiox has quit IRC
[04:36:28] <nibster> but could it be done like i want it
[04:36:34] <nibster> on click new to add new input ..
[04:36:48] <nibster> and not having static input ..
[04:36:59] *** Hackwar1 has quit IRC
[04:37:51] *** confused has joined #angularjs
[04:38:02] <nibster> ahh man you are awesome : )
[04:38:31] *** confused has quit IRC
[04:38:44] <robdubya> the way you were doing was copying the old value back in every time
[04:38:55] <nibster> o.O
[04:39:16] <nibster> let me realize it : )but cheers
[04:39:17] <robdubya> actually, thinking about it, copy isnt really necessary here at all
[04:39:25] *** anth0ny has joined #angularjs
[04:39:51] <robdubya> that seemed weird as i did it :)
[04:40:15] *** anth0ny has quit IRC
[04:40:28] *** davesidious_ has joined #angularjs
[04:40:28] <nibster> hmm .
[04:41:09] <robdubya> nibster two things
[04:41:09] *** InezK is now known as InezK_away
[04:41:28] <robdubya> doing new Object() is generally not needed, doing an object literal works fine
[04:42:15] *** bayousoft has joined #angularjs
[04:42:30] <nibster> yeah but
[04:42:34] <nibster> in the input is shown
[04:42:38] <nibster> [object Object]
[04:42:41] *** davesidious has quit IRC
[04:43:20] <robdubya> ?
[04:43:35] <robdubya> and if you do new Object(), dont pass a string into it
[04:43:51] <robdubya> because that's weird as fuck. i'm not even sure WHAT that does
[04:44:13] <nibster> well at least it's not showing [object Object] in the field
[04:44:29] *** waylon999 has joined #angularjs
[04:44:32] *** arizzo has joined #angularjs
[04:44:41] <robdubya> because you need to bind to the property of an object
[04:44:56] *** moogumbo_ has quit IRC
[04:44:59] <robdubya> ng-input="someObject.someProperty"
[04:45:05] <robdubya> "if you dont have a dot you're doing it wrong
[04:45:08] *** moogumbo_ has joined #angularjs
[04:45:14] <ojacobson> var o = new Object("foo"); is more or less equivalent to var o = "foo";
[04:45:15] <nibster> well it's an array of strings
[04:45:19] *** moogumbo_ is now known as moogumbo
[04:45:23] <ojacobson> if I'm reading this MDN page right
[04:45:23] *** theshane has joined #angularjs
[04:46:00] <blackkbot> nooo
[04:46:04] *** icodefor_ has joined #angularjs
[04:46:10] <blackkbot> yeah not the same at all
[04:46:10] *** new2angualr has quit IRC
[04:46:19] <blackkbot> a string isn't an object
[04:46:20] <shacklef_> does anyone know if you can use multiple ng-repeats on the same table?
[04:46:57] <robdubya> ojacobson you're not :)
[04:47:16] <ojacobson> surreal
[04:47:21] <moogumbo> I have some JSON that needs to be fetched and then shared amongst multiple views -- what's the right way to architect this?
[04:47:23] <ojacobson> definitely agree with "don't do that"
[04:47:30] <robdubya> like, i dont even know what that's telling me
[04:47:33] <robdubya> but its not right
[04:47:44] *** mbroadst has quit IRC
[04:47:47] <theshane> moogumbo, I would say to check out services
[04:47:55] <moogumbo> I tried setting the different views to all use the same controller in the router, but it fires off the $http request each time I switch to a different view
[04:47:58] <theshane> I am still fairly new though
[04:47:58] <robdubya> shacklef_ yes. why dont you make a plunk of what you're trying to accomplish
[04:48:03] *** rbs has quit IRC
[04:48:08] <robdubya> theshane is correct
[04:48:19] <shacklef_> the html is what I am trying to do
[04:48:20] <robdubya> use a service, store the data inside of it, ????, profit
[04:48:26] *** rbs has joined #angularjs
[04:48:44] *** mbroadst has joined #angularjs
[04:49:00] <nibster> i cannot make it work .. damn it
[04:49:00] <theshane> robdubya about my webocket push thing earlier, is there a way to set up a service listener in a controller?
[04:49:01] *** the-erm has joined #angularjs
[04:49:01] <robdubya> shacklef_ well, that's not going to work, but its still not clear what your objective is
[04:49:21] <shacklef_> ok, the num is coming from a service
[04:49:31] <shacklef_> but the age is coming from hard coded array
[04:49:36] <shacklef_> I want them to be in the same table
[04:49:45] <robdubya> fix the data, fix the view
[04:49:46] <moogumbo> I see. So I would make my own service that depends on $http, and then my controller would depend on this custom service?
[04:49:54] <robdubya> moogumbo bingo
[04:50:20] *** icodefor_ has quit IRC
[04:50:26] *** mguillech has joined #angularjs
[04:50:44] *** atomical has quit IRC
[04:51:17] <moogumbo> robdubya: Cool. Will give it a try.
[04:51:20] *** Captain_Picard has quit IRC
[04:51:32] *** mspier_off has quit IRC
[04:51:42] <nibster> fuuuuck i can't think anymore
[04:51:47] <nibster> 24hours of coding is enough
[04:52:03] *** mmitchell has joined #angularjs
[04:52:11] *** carbonpile has joined #angularjs
[04:52:44] *** rho has joined #angularjs
[04:52:45] *** rho has joined #angularjs
[04:53:11] *** arizzo has quit IRC
[04:53:20] *** mspier_off has joined #angularjs
[04:53:30] *** mspier_off is now known as mspier
[04:54:23] <robdubya> probably a bit overkill for what you're doing
[04:54:44] *** mguillech has quit IRC
[04:55:16] *** hswolff has quit IRC
[04:55:48] *** MistahKurtz has quit IRC
[04:55:57] *** Diaoer has joined #angularjs
[04:56:39] *** shoelessone has quit IRC
[04:57:02] <moogumbo> robdubya: Nah, this is exactly what I needed. Thanks.
[04:57:29] <robdubya> the polyfill in there is hugely useful
[04:58:30] *** KernelCurry has quit IRC
[04:58:56] *** apetro_ has quit IRC
[04:59:32] *** dancek has quit IRC
[04:59:54] *** anth0ny has joined #angularjs
[05:00:01] *** charuru has quit IRC
[05:00:16] *** cthrax has joined #angularjs
[05:00:56] *** amargherio has quit IRC
[05:01:18] *** kaey has joined #angularjs
[05:01:33] *** stevvooe has quit IRC
[05:02:06] <dman777> I mean view
[05:02:12] *** MistahKurtz has joined #angularjs
[05:02:22] *** carbonpi_ has joined #angularjs
[05:02:23] *** frkout_ has quit IRC
[05:02:34] *** baseball_fan has joined #angularjs
[05:02:37] *** carbonpile has quit IRC
[05:02:49] *** frkout has joined #angularjs
[05:03:11] *** sloria has quit IRC
[05:03:12] *** TorpedoSkyline has joined #angularjs
[05:03:41] *** sloria has joined #angularjs
[05:03:48] *** TorchDragon has joined #angularjs
[05:04:21] <robdubya> shacklef_ still not going to work. whats the relationship between the two array?
[05:04:53] <shacklef_> so in my actual app, I have have one array from a service
[05:04:58] *** anth0ny has quit IRC
[05:05:00] <shacklef_> and the other is needs to be hard coded
[05:05:11] <robdubya> do they represent apples? bananas?
[05:05:19] <shacklef_> sure
[05:05:26] <shacklef_> they can represent anything
[05:05:35] <shacklef_> jsut two different arrays
[05:05:40] <robdubya> ...of the same thing?
[05:06:01] <shacklef_> what do mean
[05:06:03] *** dcadenas_ has joined #angularjs
[05:06:05] *** [mX] has joined #angularjs
[05:06:05] <shacklef_> back up
[05:06:12] <shacklef_> think of 2 arrays
[05:06:16] <shacklef_> one that has dates
[05:06:23] *** Diaoer has quit IRC
[05:06:23] <shacklef_> and the 2nd has names
[05:06:25] *** MengHX has joined #angularjs
[05:06:27] *** bayousoft has quit IRC
[05:06:37] <shacklef_> the dates are hard coded in an array
[05:06:45] <shacklef_> and the names come from a service
[05:06:51] <robdubya> great. whats the relationship between them
[05:07:09] <shacklef_> but the goal is to populate a single table
[05:07:10] <robdubya> you're putting them in a tableview. the same table. they're obviously related somehow
[05:07:21] <shacklef_> thats arrbitrary
[05:07:24] <robdubya> no, its not
[05:07:36] <shacklef_> i dont see how the relationship matters
[05:07:52] <shacklef_> it could be letters in one array and numbers in a second
[05:07:55] <robdubya> and that's why you're having trouble with this. in angular, data should always drive your view.
[05:08:10] <robdubya> but two arrays full of numbers doesn't *mean* anything
[05:08:17] <shacklef_> can they populate the same table
[05:08:31] <shacklef_> but we are just talking about an example
[05:08:38] *** joshontheweb has joined #angularjs
[05:08:46] <shacklef_> hmm...
[05:08:46] <robdubya> okay, how about this. what should the end result look like?
[05:08:47] *** TorchDragon has quit IRC
[05:08:50] *** FunnyLookinHat has quit IRC
[05:09:05] <robdubya> forget about angular for a second
[05:09:12] *** dcadenas has quit IRC
[05:09:12] <shacklef_> in a table, the first column will have 1,2,3,4
[05:09:23] *** mbroadst has quit IRC
[05:09:25] <shacklef_> and the second column has A,B,C,D
[05:09:32] *** atomical has joined #angularjs
[05:10:01] <shacklef_> 1,2,3,4 will be populated by ng-repeat, from a service
[05:10:12] <robdubya> based on what? order?
[05:10:44] <shacklef_> and A,B,C,D will be populated from a controller array
[05:10:53] <shacklef_> same order, 1234 abcd
[05:10:56] <shacklef_> just like that
[05:11:08] <shacklef_> i have logic part sorted
[05:11:10] <shacklef_> by a filter
[05:11:35] <shacklef_> so for second imagine that relationship doesn't matter
[05:11:46] <shacklef_> just populate a table with 2 arrays
[05:11:57] <shacklef_> can we do it using ng-repeat?
[05:11:59] <robdubya> sigh.
[05:12:02] <shacklef_> lol
[05:12:07] *** kalehv has quit IRC
[05:12:10] <shacklef_> i'm not trying to be diffucult
[05:12:13] <shacklef_> i swear
[05:12:17] *** dancek has joined #angularjs
[05:12:25] <robdubya> do you want the answer you want? or the right answer?
[05:12:38] <shacklef_> the right answer
[05:13:01] <shacklef_> ok, i'll take a step back... let me know what you think
[05:13:33] *** andy__ has quit IRC
[05:13:48] <robdubya> ok
[05:14:05] *** jdj_dk_ has joined #angularjs
[05:14:11] *** TorpedoSkyline has quit IRC
[05:14:20] *** Hackwar has quit IRC
[05:14:21] *** recurrence has quit IRC
[05:14:35] *** MistahKurtz has quit IRC
[05:14:39] *** danielpquinn has joined #angularjs
[05:14:41] <robdubya> but, that's brittle for a number of reasons
[05:15:16] <robdubya> a) if basically any of the data in either of those arrays change, or gets filtered, or sorted, or basically anything, you're fucked
[05:15:35] *** darrin has quit IRC
[05:15:43] <robdubya> because using the $index is a meaningless relationship.
[05:15:52] *** andizzle has quit IRC
[05:15:53] <robdubya> the reason i keep asking you "what do they reprsent"
[05:16:07] <robdubya> is that an array of primitives is more or less meaningless
[05:16:18] <robdubya> you should *always* in angular work with objects.
[05:16:24] <shacklef_> I understand, but believe me, for this specific app... it is the EXACT solution I was looking for... your solution is so simple and clean.
[05:16:27] <robdubya> a) because thats how javascript works
[05:16:33] <robdubya> b) its semantically wrong
[05:16:35] <shacklef_> I was trying to use multiple ng-repeats
[05:16:43] *** Novtopro has joined #angularjs
[05:16:52] *** Novtopro has left #angularjs
[05:16:53] <shacklef_> I understand everything you are saying why this is wrong, and COMPLETELY agree
[05:17:15] <robdubya> so perhaps enlighten me on what they represent, and there's probably a cleaner way that isnt broken, and still fulfills your requirment
[05:17:37] *** pdillinger has joined #angularjs
[05:17:38] <shacklef_> sure, we have an API that is in the works
[05:17:43] <shacklef_> the payload is not set yet
[05:17:50] <robdubya> ok, first
[05:17:51] <shacklef_> I need to hard code parts of a process
[05:17:56] <robdubya> that API should 100% return JSON
[05:18:02] *** pablasso is now known as pablasso_afk
[05:18:02] <robdubya> *objects(
[05:18:11] *** sirkitree|afk is now known as sirkitree|afk|af
[05:18:12] <robdubya> otherwise you're fucked before you even start
[05:18:14] <shacklef_> oh it will
[05:18:24] <shacklef_> but there is no contract on what the payload will look like
[05:18:28] <shacklef_> but it will be json
[05:18:42] <robdubya> (which your array of primitives is NOT)
[05:18:44] *** jdj_dk_ has quit IRC
[05:19:03] <shacklef_> I understand, but this more of an early stage prototype
[05:19:07] <shacklef_> just a mock up
[05:19:11] <shacklef_> for demo purposes
[05:19:20] *** danielpquinn has quit IRC
[05:19:23] <shacklef_> the actual payload will have everything in the JSON
[05:19:29] <shacklef_> and use a single ng-repeat
[05:19:34] <robdubya> so why not:
[05:19:37] *** kaey has quit IRC
[05:19:43] *** darrin has joined #angularjs
[05:19:56] <robdubya> is the point of the number array just to get an index?
[05:20:12] <shacklef_> yes
[05:20:32] <shacklef_> does it make better sense?
[05:20:45] *** Shrooms has joined #angularjs
[05:20:49] *** mikehaas763 has quit IRC
[05:21:56] *** [mX] has quit IRC
[05:22:23] <quantax-> all that data stuff should happen server side
[05:22:30] *** pdillinger has quit IRC
[05:22:31] <robdubya> same result, no silly arrays, not broken
[05:22:32] *** [mX] has joined #angularjs
[05:22:32] <quantax-> combining two arrays and all
[05:22:42] *** [mX] has quit IRC
[05:22:42] *** [mX] has joined #angularjs
[05:22:57] <robdubya> quantax- not necessarily, but it should certainly happen before the view
[05:23:37] <robdubya> shacklef_ anything you get back from your server is (or at least *should*) be an array of objects.
[05:23:49] *** jsoverson has joined #angularjs
[05:23:50] <shacklef_> true
[05:24:03] <shacklef_> and it will be
[05:24:28] *** carbonpi_ has quit IRC
[05:25:51] *** andy__ has joined #angularjs
[05:26:54] *** williampower has joined #angularjs
[05:27:28] <robdubya> shacklef_ added benefit of doing it right means its easy to show off shiny things for demos
[05:27:47] <williampower> anyone have a template handy for a chrome extension (browser action / popup) that uses angular? can't get anything to load
[05:27:47] *** DrMabuse has joined #angularjs
[05:27:50] *** carbonpile has joined #angularjs
[05:28:01] <robdubya> williampower you prob need to turn on csp
[05:28:03] <shacklef_> that looks sharp
[05:28:07] <williampower> did that
[05:28:18] <moogumbo> robdubya: In this Plunker, it's required for one of the controllers to call DataService.find() -- what if I didn't want to make the controller layer worry about that?
[05:28:28] <robdubya> moogumbo only ever going to do it once?
[05:28:35] <williampower> <html ng-app="myApp" ng-csp>
[05:28:40] <williampower> etc
[05:28:53] <robdubya> williampower included the ng-csp.css too>
[05:28:56] <moogumbo> robdubya: For v1, yeah, I could get away with only doing it once, when the Angular app is instantiated onto the page
[05:29:22] <robdubya> moogumbo you can just call _find(); at the bottom of the service
[05:29:27] <robdubya> or whatever i called the finder method
[05:29:37] <moogumbo> Ah, true
[05:30:10] *** shacklef_ has quit IRC
[05:30:19] *** CodeFriar has quit IRC
[05:30:24] *** ZEH has joined #angularjs
[05:32:44] *** Ethix has quit IRC
[05:32:44] *** DrMabuse has quit IRC
[05:34:05] <williampower> ooh! alright, so I hadn't seen ng-csp.css prior to this. thank you
[05:34:16] <robdubya> that work?
[05:34:21] <williampower> it seems like linking it as a stylesheet isn't enough
[05:34:21] *** earthquake has quit IRC
[05:34:27] <williampower> maybe needs some manifest.json love?
[05:34:56] <night-owl-MBP> Hey guys, I'm wrapping my head around promises right now. I'm trying to take 3 users in an array and for each user, make two HTTP requests to get tracks.json and playlists.json that belong to each user. I finally got the promises set up to return everything to the $scope in my controller, but I'm not sure how to chain the promises to incorporate a _.each(artists, getTracksAndPlaylists) function call into it.
[05:35:09] <robdubya> doesnt in my chrome apps, cant imagine it would in an extension
[05:35:33] <robdubya> night-owl-MBP ahhh this is like my favorite thing ever
[05:35:36] <williampower> okay. i'll keep poking at it
[05:35:45] <night-owl-MBP> I wrote it all out inside a controller instead of a service so I could step through it
[05:35:46] <robdubya> williampower throwing errors or anything?
[05:36:13] <night-owl-MBP> robdubya: is it usually this tricky? lol. damn promiseception here
[05:36:41] <night-owl-MBP> I'll basically pull functions out of the chain once I get it figured out
[05:36:53] <robdubya> night-owl-MBP is this the mini version or the first question?
[05:36:55] *** MacWinner has joined #angularjs
[05:36:57] <robdubya> might as well do the whole hog
[05:37:20] <williampower> i'm not seeing any errors, but i'm SUPER new to debugging JS (I'm an iOS dev), so I may not be using the right tool. I'm using the web tools by clicking on 'inspect views' from chrome://extensions
[05:37:28] *** frkout has quit IRC
[05:37:49] <robdubya> williampower you generally would see A BUNCH OF RED FUCKING LETTERs in the console tab
[05:37:52] <night-owl-MBP> robdubya: The only diff from my version is that the buildStream function is in a service. I tried tackling it by starting with the _.each call immediately and got confused
[05:37:53] <robdubya> (of the dev tools panels)
[05:37:57] <williampower> lol ok
[05:38:01] *** ccohn has joined #angularjs
[05:38:05] *** frkout has joined #angularjs
[05:38:05] <robdubya> opt cmd i
[05:38:17] <night-owl-MBP> robdubya: I'll fork it and attempt to add in the for each artist
[05:38:29] *** arrty has quit IRC
[05:38:50] <williampower> robdubya well I don't see red letters :)
[05:38:56] <robdubya> night-owl-MBP interesting this is where lodash gets in the way
[05:39:07] *** wasabi has joined #angularjs
[05:39:08] *** [mX] has quit IRC
[05:39:17] *** wasabi is now known as wasabii
[05:39:40] <night-owl-MBP> robdubya: If I need to do this for all of the artists in my array, how should I go about doing it without lodash/underscore?
[05:39:51] *** [mX] has joined #angularjs
[05:40:02] <robdubya> night-owl-MBP so - pass in ids, make initial request, get 2 more requests per object in the response, yeah?
[05:41:04] <robdubya> oh wait, no - one request per passed in id, then 2x more per response
[05:41:11] <wasabii> I'm looking for a tutorial for how to do dynamic routes, and controllers, and views. I have a JSON service that returns objects with links to other objects, and I want to dynamically load up templates based on properties of the objects.
[05:41:12] <night-owl-MBP> what i want to do is:
[05:42:07] <night-owl-MBP> I have a list of 3 artists. I take artist 1 and request his tracks and his playlists. I take artist 2 and request his tracks and playlists. I take artist 3 and request his tracks and playlists.
[05:42:33] <night-owl-MBP> And then take the results of all 6 requests and return them to $scope.stream in one big collection
[05:42:40] <night-owl-MBP> so for each artist, two requests
[05:42:51] *** andizzle has joined #angularjs
[05:42:52] *** stevvooe has joined #angularjs
[05:42:58] <robdubya> so you already have the artists - any reason they're not objects? i assume they're coming from the soundcloud API too?
[05:43:00] *** ZEH has quit IRC
[05:43:08] *** carbonpile has quit IRC
[05:43:21] *** hychen has quit IRC
[05:43:38] *** ZEH has joined #angularjs
[05:44:47] *** obert has quit IRC
[05:44:49] *** dhcar has left #angularjs
[05:44:50] <night-owl-MBP> robdubya: I'm writing a chrome extension that lets the user make a list of Soundcloud artists, then view a Stream of recent tracks/playlists from the artists in the list.
[05:45:00] *** lbracher has quit IRC
[05:45:07] *** darrin has quit IRC
[05:45:08] *** dancek has quit IRC
[05:45:15] *** rho has quit IRC
[05:45:58] <night-owl-MBP> So my object that stores the list of artists will probably be something like var groups = [ { artists: [{ name: string, id: number }] }]
[05:46:10] <night-owl-MBP> i just wanted to break it down as simple as possible to get the promises chained proper
[05:46:24] <night-owl-MBP> build my way back up to the full shebang
[05:46:39] *** stayarrr has joined #angularjs
[05:46:53] *** icodefor_ has joined #angularjs
[05:47:15] *** ccohn has quit IRC
[05:48:13] *** recurrence has joined #angularjs
[05:48:49] <styles> Is it possible to use Angular in a NON-SPA fashion? Using it to just make neat controllers & actions for random ajax calls on specific pages?
[05:48:49] *** sloria has quit IRC
[05:48:57] <styles> Or would some other JS framework suit my needs
[05:49:05] *** darrin has joined #angularjs
[05:49:31] *** arizzo has joined #angularjs
[05:49:39] *** aniM has quit IRC
[05:50:10] <oniijin> maybe check out knockout
[05:50:45] *** theshane has quit IRC
[05:50:56] *** recurrence has quit IRC
[05:51:10] *** tomzx is now known as tomzx`afk
[05:51:11] <night-owl-MBP> so i'm trying to figure out, if i have _.each(artists, getItems), where getItems returns a promise, how can I combine the results from each promise?
[05:51:12] *** icodefor_ has quit IRC
[05:51:47] *** darrin has quit IRC
[05:52:06] <night-owl-MBP> i should prob look at how lodash returns data from .each() and figure out how to concatenate the results, i suppose
[05:52:18] *** ojacobson_ has joined #angularjs
[05:52:32] *** rrocsal has quit IRC
[05:52:50] *** benschwarz has joined #angularjs
[05:53:23] <robdubya> not done - question is, what do you want the final stream to look like?
[05:54:00] *** bbankes has joined #angularjs
[05:54:05] <robdubya> right now its deeply nested, just depends how you want to display it
[05:54:28] <moogumbo> robdubya: _people.push(res.data[0]) propagates the changes and causes data bindings to update, but _people = res.data does not -- Why?
[05:54:37] <night-owl-MBP> the final stream should be a collection of all of the tracks/playlists for all of the artists
[05:55:24] <robdubya> right, but a flat array of tracks? eg, the tracks and all the tracks within a playlist?
[05:55:29] <robdubya> or grouped?
[05:55:31] <robdubya> or etc
[05:56:02] *** maurovitale has joined #angularjs
[05:56:07] *** linagee has quit IRC
[05:56:28] *** ojacobson has quit IRC
[05:56:34] *** sloria has joined #angularjs
[05:56:34] *** sultunate has joined #angularjs
[05:56:46] <night-owl-MBP> nope. i don't want to flatten the playlists or anything
[05:56:49] *** linagee has joined #angularjs
[05:57:12] *** mbroadst has joined #angularjs
[05:57:23] *** steffengy1 has quit IRC
[05:57:29] *** shoelessone has joined #angularjs
[05:57:34] *** akiress has quit IRC
[05:57:45] <night-owl-MBP> just concatenating the results from each request into a collection
[05:57:48] <robdubya> night-owl-MBP dont mean to be pedantic. but a "collection" = an array of things. you have two types of things
[05:57:48] *** steffengy has joined #angularjs
[05:58:26] *** Mouzi has joined #angularjs
[05:58:35] *** arizzo has quit IRC
[05:58:44] *** aniM has joined #angularjs
[05:58:46] *** ojacobson_ is now known as ojacobson
[05:59:29] <chovy> animate doesn't work for me in 1.3
[05:59:34] <chovy> i'm not getting transition classes.
[06:00:23] *** [mX] has quit IRC
[06:01:11] <chovy> i made a plunker but it works fine there.
[06:01:52] *** shabadoo has joined #angularjs
[06:02:11] *** shoelessone has quit IRC
[06:02:57] *** SomeKittens has quit IRC
[06:04:16] *** andizzle has quit IRC
[06:04:38] *** caitp has quit IRC
[06:04:52] *** shabadoo_ has quit IRC
[06:04:52] *** daleharvey_ has quit IRC
[06:04:55] *** caitp has joined #angularjs
[06:05:11] *** artgon has quit IRC
[06:06:09] *** maurovitale has quit IRC
[06:06:14] *** daleharvey__ has joined #angularjs
[06:07:05] *** twelverobots has quit IRC
[06:07:26] *** twelverobots has joined #angularjs
[06:07:45] *** rmichnik has quit IRC
[06:08:18] <williampower> robduby I got it straightened out
[06:08:22] *** jonog has quit IRC
[06:08:23] <williampower> didn't need the ng-csp.css
[06:09:31] <williampower> thanks for the help tonight <robdubya>
[06:09:35] <williampower> 'night all
[06:09:39] *** sloria has quit IRC
[06:09:42] *** williampower has quit IRC
[06:09:51] *** sloria has joined #angularjs
[06:10:04] *** artgon has joined #angularjs
[06:10:38] *** rtpg has quit IRC
[06:11:30] *** Zeeshan_M has quit IRC
[06:11:31] *** MacWinner has quit IRC
[06:11:32] *** dcadenas_ has quit IRC
[06:11:32] *** cthrax has quit IRC
[06:11:34] *** night-owl-MBP has quit IRC
[06:11:35] *** Matt_Ricketts has quit IRC
[06:11:36] *** wilmoore has quit IRC
[06:11:38] *** cassler has quit IRC
[06:11:39] *** PeteCampbell has quit IRC
[06:11:40] *** QuantumNinja has quit IRC
[06:11:41] *** stork has quit IRC
[06:11:42] *** ericduran has quit IRC
[06:11:43] *** veturi^ has quit IRC
[06:11:43] *** kryft_ has quit IRC
[06:11:44] *** adborden has quit IRC
[06:11:45] *** diffalot has quit IRC
[06:11:45] *** Simone\ has quit IRC
[06:11:46] *** sal1191 has quit IRC
[06:11:46] *** monokrome has quit IRC
[06:11:47] *** in_deep_thought has quit IRC
[06:11:47] *** squeakytoy has quit IRC
[06:11:48] *** sacho has quit IRC
[06:11:48] *** AWAW has quit IRC
[06:11:49] *** davedev24_ has quit IRC
[06:11:49] *** RandyT has quit IRC
[06:11:50] *** benhx has quit IRC
[06:11:51] *** Guest67852 has quit IRC
[06:11:51] *** jonasliljestrand has quit IRC
[06:11:52] *** mityaz has quit IRC
[06:11:52] *** speakingcode has quit IRC
[06:11:52] *** RedOrangeZ has quit IRC
[06:11:53] *** cobakobodob has quit IRC
[06:11:54] *** kcm has quit IRC
[06:11:56] *** reflectivedev has quit IRC
[06:11:57] *** zeph__ has quit IRC
[06:11:58] *** jlambert has quit IRC
[06:11:59] *** MerlinDMC has quit IRC
[06:12:00] *** Johnny- has quit IRC
[06:12:00] *** medusa has quit IRC
[06:12:01] *** zenodub has quit IRC
[06:12:01] *** Columcille has quit IRC
[06:12:02] *** aarellano has quit IRC
[06:12:02] *** seventy3 has quit IRC
[06:12:03] *** dman777 has quit IRC
[06:12:04] *** Noeble has quit IRC
[06:12:04] *** kppullin has quit IRC
[06:12:04] *** baseonmars has quit IRC
[06:12:06] *** ish has quit IRC
[06:12:06] *** AntonioR1beiro has quit IRC
[06:12:07] *** MJD_ has quit IRC
[06:12:09] *** teegee543 has quit IRC
[06:12:10] *** jscarmona has quit IRC
[06:12:10] *** bluebloodx has quit IRC
[06:12:11] *** patsToms has quit IRC
[06:12:11] *** brandom has quit IRC
[06:12:12] *** rma1 has quit IRC
[06:12:12] *** flexd_ has quit IRC
[06:12:13] *** clamstar has quit IRC
[06:12:13] *** zonetti has quit IRC
[06:12:13] *** GitNick has quit IRC
[06:12:14] *** trippo has quit IRC
[06:12:15] *** HoloPed has quit IRC
[06:12:17] *** evan_e has quit IRC
[06:12:17] *** jaredjones has quit IRC
[06:12:18] *** tomzx`afk has quit IRC
[06:12:18] *** Takumo has quit IRC
[06:12:19] *** pablasso_afk has quit IRC
[06:12:20] *** enhance_ has quit IRC
[06:12:20] *** Petazz_ has quit IRC
[06:12:21] *** ch3mical has quit IRC
[06:12:21] *** amergin has quit IRC
[06:12:21] *** mdallastella has quit IRC
[06:12:22] *** busata has quit IRC
[06:12:22] *** zrl has quit IRC
[06:12:23] *** airtonix has quit IRC
[06:12:24] *** scarr has quit IRC
[06:12:24] *** s3shs has quit IRC
[06:12:25] *** youngnico has quit IRC
[06:12:25] *** dagingaa has quit IRC
[06:12:26] *** k308 has quit IRC
[06:12:27] *** Xteven has quit IRC
[06:12:27] *** overra has quit IRC
[06:12:27] *** sss2500 has quit IRC
[06:12:28] *** systematik has quit IRC
[06:12:28] *** taaz has quit IRC
[06:12:28] *** drweird has quit IRC
[06:12:29] *** benjf has quit IRC
[06:12:30] *** fourq_ has quit IRC
[06:12:31] *** brodul has quit IRC
[06:12:31] *** binjured has quit IRC
[06:12:32] *** nick125 has quit IRC
[06:12:35] *** obihann has quit IRC
[06:12:35] *** ASUChander has quit IRC
[06:12:36] *** workthrick has quit IRC
[06:12:36] *** freannrak has quit IRC
[06:12:37] *** BadHorsie has quit IRC
[06:12:37] *** boonkerz has quit IRC
[06:12:38] *** liori has quit IRC
[06:12:38] *** DexterTheDragon has quit IRC
[06:12:39] *** Zerot has quit IRC
[06:12:39] *** Somatt has quit IRC
[06:12:41] *** Nighthawk has quit IRC
[06:12:42] *** paperElectron has quit IRC
[06:12:45] *** n4l has quit IRC
[06:12:45] *** racicot has quit IRC
[06:12:45] *** gwoo has quit IRC
[06:12:46] *** alextucker has quit IRC
[06:12:46] *** amacgregor has quit IRC
[06:12:47] *** mmitchell has quit IRC
[06:12:47] *** dancek has joined #angularjs
[06:13:06] *** Asiajey has joined #angularjs
[06:13:30] *** mbroadst has quit IRC
[06:13:54] *** twelverobots has quit IRC
[06:14:27] *** cellofellow has quit IRC
[06:14:28] *** mbroadst has joined #angularjs
[06:14:28] *** mbroadst has joined #angularjs
[06:14:33] *** twelverobots has joined #angularjs
[06:14:36] *** jeffisabelle has quit IRC
[06:15:17] *** danielpquinn has joined #angularjs
[06:15:28] *** Zeeshan_M has joined #angularjs
[06:15:34] <chovy> does anyone know why i would get class="ng-animate" but no .enter or .leave
[06:16:06] <chovy> these calssees i am no tgetting
[06:16:07] <chovy> ng-hide-remove.ng-hide-remove-active
[06:16:56] *** stayarrr has quit IRC
[06:17:08] *** chrisbirk has joined #angularjs
[06:17:49] *** obert has joined #angularjs
[06:17:57] *** Zeeshan_M has quit IRC
[06:18:22] *** pdillinger has joined #angularjs
[06:19:38] *** wxo has joined #angularjs
[06:20:02] *** danielpquinn has quit IRC
[06:20:03] <ojacobson> Hmm. The way template loading works in Angular is seriously unfriendly towards apps that (a) aren't purely single-page (for example, apps that have /session/login as a separate page in its own right) or (b) might be deployed with different URL prefixes (eg. anything based on Java's webapp system)
[06:20:17] <ojacobson> Resolving relative to the page is unfortunate, but possibly unavoidable :-\
[06:21:30] *** Takumo has joined #angularjs
[06:21:44] *** clamstar has joined #angularjs
[06:23:13] *** MacWinner has joined #angularjs
[06:23:13] *** dcadenas_ has joined #angularjs
[06:23:13] *** cthrax has joined #angularjs
[06:23:13] *** night-owl-MBP has joined #angularjs
[06:23:14] *** Matt_Ricketts has joined #angularjs
[06:23:14] *** cassler has joined #angularjs
[06:23:14] *** zrl has joined #angularjs
[06:23:14] *** PeteCampbell has joined #angularjs
[06:23:14] *** QuantumNinja has joined #angularjs
[06:23:15] *** stork has joined #angularjs
[06:23:15] *** ericduran has joined #angularjs
[06:23:15] *** veturi^ has joined #angularjs
[06:23:15] *** kryft_ has joined #angularjs
[06:23:16] *** adborden has joined #angularjs
[06:23:16] *** diffalot has joined #angularjs
[06:23:16] *** Simone\ has joined #angularjs
[06:23:17] *** sal1191 has joined #angularjs
[06:23:17] *** monokrome has joined #angularjs
[06:23:17] *** in_deep_thought has joined #angularjs
[06:23:17] *** squeakytoy has joined #angularjs
[06:23:17] *** sacho has joined #angularjs
[06:23:18] *** AWAW has joined #angularjs
[06:23:18] *** davedev24_ has joined #angularjs
[06:23:18] *** RandyT has joined #angularjs
[06:23:18] *** benhx has joined #angularjs
[06:23:19] *** Guest67852 has joined #angularjs
[06:23:19] *** jonasliljestrand has joined #angularjs
[06:23:19] *** mityaz has joined #angularjs
[06:23:19] *** seventy3 has joined #angularjs
[06:23:19] *** speakingcode has joined #angularjs
[06:23:20] *** RedOrangeZ has joined #angularjs
[06:23:20] *** cobakobodob has joined #angularjs
[06:23:20] *** kcm has joined #angularjs
[06:23:20] *** AntonioR1beiro has joined #angularjs
[06:23:21] *** Noeble has joined #angularjs
[06:23:21] *** dman777 has joined #angularjs
[06:23:21] *** kppullin has joined #angularjs
[06:23:21] *** baseonmars has joined #angularjs
[06:23:22] *** ish has joined #angularjs
[06:23:22] *** MJD_ has joined #angularjs
[06:23:22] *** teegee543 has joined #angularjs
[06:23:23] *** jscarmona has joined #angularjs
[06:23:23] *** bluebloodx has joined #angularjs
[06:23:23] *** patsToms has joined #angularjs
[06:23:23] *** brandom has joined #angularjs
[06:23:24] *** rma1 has joined #angularjs
[06:23:24] *** flexd_ has joined #angularjs
[06:23:24] *** zonetti has joined #angularjs
[06:23:25] *** GitNick has joined #angularjs
[06:23:25] *** trippo has joined #angularjs
[06:23:25] *** 1JTAARXMN has joined #angularjs
[06:23:25] *** evan_e has joined #angularjs
[06:23:26] *** jaredjones has joined #angularjs
[06:23:26] *** n4l has joined #angularjs
[06:23:26] *** tomzx`afk has joined #angularjs
[06:23:27] *** reflectivedev has joined #angularjs
[06:23:27] *** pablasso_afk has joined #angularjs
[06:23:27] *** enhance_ has joined #angularjs
[06:23:27] *** Petazz_ has joined #angularjs
[06:23:28] *** ch3mical has joined #angularjs
[06:23:28] *** amergin has joined #angularjs
[06:23:28] *** mdallastella has joined #angularjs
[06:23:28] *** busata has joined #angularjs
[06:23:29] *** airtonix has joined #angularjs
[06:23:29] *** scarr has joined #angularjs
[06:23:29] *** s3shs has joined #angularjs
[06:23:29] *** racicot has joined #angularjs
[06:23:30] *** Xteven has joined #angularjs
[06:23:30] *** aarellano has joined #angularjs
[06:23:30] *** Columcille has joined #angularjs
[06:23:30] *** zenodub has joined #angularjs
[06:23:30] *** medusa has joined #angularjs
[06:23:31] *** Johnny- has joined #angularjs
[06:23:31] *** MerlinDMC has joined #angularjs
[06:23:31] *** jlambert has joined #angularjs
[06:23:31] *** zeph__ has joined #angularjs
[06:23:31] *** youngnico has joined #angularjs
[06:23:32] *** k308 has joined #angularjs
[06:23:32] *** dagingaa has joined #angularjs
[06:23:32] *** overra has joined #angularjs
[06:23:32] *** sss2500 has joined #angularjs
[06:23:33] *** systematik has joined #angularjs
[06:23:33] *** taaz has joined #angularjs
[06:23:33] *** drweird has joined #angularjs
[06:23:33] *** benjf has joined #angularjs
[06:23:34] *** fourq_ has joined #angularjs
[06:23:34] *** brodul has joined #angularjs
[06:23:34] *** binjured has joined #angularjs
[06:23:34] *** nick125 has joined #angularjs
[06:23:34] *** obihann has joined #angularjs
[06:23:35] *** ASUChander has joined #angularjs
[06:23:35] *** workthrick has joined #angularjs
[06:23:35] *** freannrak has joined #angularjs
[06:23:35] *** BadHorsie has joined #angularjs
[06:23:35] *** boonkerz has joined #angularjs
[06:23:36] *** liori has joined #angularjs
[06:23:36] *** DexterTheDragon has joined #angularjs
[06:23:36] *** Somatt has joined #angularjs
[06:23:36] *** Zerot has joined #angularjs
[06:23:36] *** alextucker has joined #angularjs
[06:23:37] *** Nighthawk has joined #angularjs
[06:23:37] *** paperElectron has joined #angularjs
[06:23:37] *** gwoo has joined #angularjs
[06:23:37] *** amacgregor has joined #angularjs
[06:23:38] *** Zeeshan_M has joined #angularjs
[06:23:42] *** patsToms has quit IRC
[06:24:16] *** mennea has joined #angularjs
[06:25:27] *** janoelze__ has quit IRC
[06:25:28] *** fsargent has quit IRC
[06:25:28] *** andreypopp has quit IRC
[06:25:28] *** Xorlev has quit IRC
[06:25:28] *** amtiskaw has quit IRC
[06:25:29] *** kwmiebach has quit IRC
[06:25:29] *** remysharp has quit IRC
[06:25:50] *** twisted`_ has quit IRC
[06:25:50] *** iamblue_cloud___ has quit IRC
[06:26:05] *** patsToms has joined #angularjs
[06:26:12] *** glamb_ has quit IRC
[06:26:12] *** Birdbones____ has quit IRC
[06:26:12] *** dfyock has quit IRC
[06:26:12] *** felipesabino has quit IRC
[06:26:12] *** OliverTynes has quit IRC
[06:26:13] *** red_racer12 has quit IRC
[06:26:13] *** travisc____ has quit IRC
[06:26:13] *** fuziontech_____ has quit IRC
[06:26:14] *** frozenice has quit IRC
[06:26:14] *** tanepiper has quit IRC
[06:26:14] *** richburke has quit IRC
[06:26:23] *** sal1191_ has joined #angularjs
[06:26:24] *** Simone\_ has joined #angularjs
[06:26:33] *** happyface has quit IRC
[06:26:34] *** syphar has quit IRC
[06:26:34] *** jlyndon has quit IRC
[06:26:34] *** mpw has quit IRC
[06:26:34] *** tomdale has quit IRC
[06:26:35] *** rtpg has joined #angularjs
[06:26:36] *** speaking1ode has joined #angularjs
[06:26:41] *** veturi has joined #angularjs
[06:26:43] *** kryft has joined #angularjs
[06:26:51] *** kwmiebach_ has joined #angularjs
[06:26:53] *** happyface has joined #angularjs
[06:26:56] *** mpw has joined #angularjs
[06:26:58] *** remysharp has joined #angularjs
[06:26:59] *** Xorlev has joined #angularjs
[06:26:59] *** red_racer12 has joined #angularjs
[06:27:02] *** storkme has joined #angularjs
[06:27:07] *** kcm_ has joined #angularjs
[06:27:07] *** felipesabino has joined #angularjs
[06:27:09] *** iamblue_cloud___ has joined #angularjs
[06:27:09] *** janoelze__ has joined #angularjs
[06:27:14] *** travisc____ has joined #angularjs
[06:27:17] *** joliss has quit IRC
[06:27:17] *** lebster has quit IRC
[06:27:18] *** weaktea__ has quit IRC
[06:27:18] *** bremnes has quit IRC
[06:27:18] *** amtiskaw has joined #angularjs
[06:27:21] *** fuziontech_____ has joined #angularjs
[06:27:22] *** tomdale has joined #angularjs
[06:27:22] *** tanepiper has joined #angularjs
[06:27:23] *** Birdbones_____ has joined #angularjs
[06:27:26] *** dfyock has joined #angularjs
[06:27:28] *** syphar has joined #angularjs
[06:27:29] *** Guest736 has joined #angularjs
[06:27:30] *** glamb__ has joined #angularjs
[06:27:31] *** twisted`_ has joined #angularjs
[06:27:32] *** OliverTYnes has joined #angularjs
[06:27:33] *** richburke has joined #angularjs
[06:27:46] *** kcm has quit IRC
[06:27:46] *** stork has quit IRC
[06:27:47] *** kryft_ has quit IRC
[06:27:48] *** veturi^ has quit IRC
[06:27:48] *** Simone\ has quit IRC
[06:27:49] *** sal1191 has quit IRC
[06:27:52] *** shoelessone has joined #angularjs
[06:28:20] *** aniM has quit IRC
[06:28:34] *** DrMabuse has joined #angularjs
[06:29:00] *** andreypopp has joined #angularjs
[06:29:01] *** lebster has joined #angularjs
[06:29:02] *** weaktea__ has joined #angularjs
[06:29:03] *** joliss has joined #angularjs
[06:29:03] *** frozenice has joined #angularjs
[06:29:08] *** Demego has joined #angularjs
[06:29:16] *** bremnes has joined #angularjs
[06:29:17] *** jlyndon_ has joined #angularjs
[06:29:58] *** anth0ny has joined #angularjs
[06:30:45] *** mbroadst has quit IRC
[06:30:48] *** Milanito has joined #angularjs
[06:30:57] *** andizzle has joined #angularjs
[06:31:06] *** CodeFriar has joined #angularjs
[06:31:28] *** squeakytoy has quit IRC
[06:31:35] *** bbankes has quit IRC
[06:31:42] *** RedOrangeZ has quit IRC
[06:31:42] *** sacho has quit IRC
[06:31:59] *** dcadenas_ has quit IRC
[06:32:04] *** sacho has joined #angularjs
[06:32:11] *** reflecti` has joined #angularjs
[06:32:15] *** AWAW has quit IRC
[06:32:24] *** shoelessone has quit IRC
[06:32:24] *** morenoh149 has quit IRC
[06:32:27] *** speakingcode has quit IRC
[06:32:28] *** reflectivedev has quit IRC
[06:32:36] *** in_deep_thought has quit IRC
[06:32:40] *** AWAW has joined #angularjs
[06:32:43] *** squeakytoy has joined #angularjs
[06:32:53] *** JesseEichar_ has joined #angularjs
[06:32:55] *** ojacobson has quit IRC
[06:32:58] *** mbroadst has joined #angularjs
[06:32:58] *** mbroadst has joined #angularjs
[06:34:01] *** DrMabuse has quit IRC
[06:35:35] *** CodeFriar has quit IRC
[06:36:17] *** in_deep_thought has joined #angularjs
[06:37:21] *** sloria has quit IRC
[06:37:44] *** sloria has joined #angularjs
[06:38:20] *** cullum has quit IRC
[06:38:31] *** TheAceOfHearts has quit IRC
[06:39:41] <robdubya> night-owl-MBP that was doozy, no wonder you were confused
[06:39:48] *** cullum has joined #angularjs
[06:40:01] <robdubya> thats about as clean a solution as i can figure
[06:40:25] *** pdillinger has quit IRC
[06:41:15] *** chrisbirk has quit IRC
[06:43:30] *** andizzle has quit IRC
[06:43:51] *** vf1 has joined #angularjs
[06:44:24] <robdubya> chovy have you previously used animation?
[06:45:49] *** armdale has joined #angularjs
[06:47:43] <robdubya> aaaand chovy your class declration looks weird
[06:47:49] <chovy> robdubya: i had this working the other day on same code base. different tag. Trying to get it to work again. I had same problem earlier, but I was on 1.2 not 1.3
[06:47:49] *** mbroadst has quit IRC
[06:47:50] *** icodefor_ has joined #angularjs
[06:47:57] <chovy> robdubya: its sass
[06:47:58] *** sloria has quit IRC
[06:48:12] <robdubya> not the css itself, the fact you're doing {{}} in the class
[06:48:16] <robdubya> in the html
[06:48:24] *** mbroadst has joined #angularjs
[06:49:07] *** fastfrwrd has joined #angularjs
[06:49:08] *** icodefor_ has quit IRC
[06:49:10] *** jonnybro has joined #angularjs
[06:49:34] <chovy> that gives it .success or .error classes
[06:49:39] *** icodefor_ has joined #angularjs
[06:50:56] *** bkuberek has joined #angularjs
[06:51:11] <chovy> a message object will be { type: 'success', text: 'Booya!' }
[06:51:30] *** MengHX has quit IRC
[06:51:43] *** mguillech has joined #angularjs
[06:53:25] *** fastfrwrd has quit IRC
[06:53:56] *** icodefor_ has quit IRC
[06:54:28] *** arizzo has joined #angularjs
[06:55:42] *** night-owl-MBP has quit IRC
[06:56:37] *** night-owl-MBP has joined #angularjs
[06:57:04] *** Ymesio has quit IRC
[06:57:59] *** mguillech has quit IRC
[06:58:05] <robdubya> chovy you were keying the show / hide off the existence of the message, which i *think* is actually enter/leave
[06:58:21] *** wilmoore has joined #angularjs
[06:58:26] *** ccohn has joined #angularjs
[06:58:30] *** shoelessone has joined #angularjs
[06:58:32] *** jpavlick has quit IRC
[06:59:09] <chovy> not sure i understand what you're saying.
[06:59:17] <chovy> robdubya
[06:59:56] *** cpciv has joined #angularjs
[07:00:03] <robdubya> differnt ng-animate classes get added and removed based on what's happening
[07:00:27] <robdubya> you were using ng-show="message"
[07:00:27] <chovy> i'm not getting those classes.
[07:00:35] <chovy> all i get is ng-animate
[07:00:36] <chovy> nothing else.
[07:00:40] <chovy> and ng-hide and ng-show
[07:01:09] *** bicranial has joined #angularjs
[07:01:20] <night-owl-MBP> robdubya: Thanks dude! I'm about to go over it
[07:02:18] *** jdj_dk has joined #angularjs
[07:02:20] *** dancek has quit IRC
[07:02:44] *** ccohn has quit IRC
[07:02:47] *** arizzo has quit IRC
[07:03:24] <chovy> this is what i'm doing. except ijn my code it doesn't work. works fine in plunker.
[07:03:55] *** Milanito has quit IRC
[07:04:50] *** wxo has quit IRC
[07:05:01] *** jonnybro has quit IRC
[07:05:01] *** mbroadst has quit IRC
[07:05:06] <robdubya> chovy dont mean to be short, but if it works on my computer, and it works on plunker....
[07:05:19] *** sgnl has joined #angularjs
[07:05:28] *** biba8163 has quit IRC
[07:05:39] <chovy> right.
[07:05:43] *** mbroadst has joined #angularjs
[07:05:45] <chovy> i have no idea why mine doesn't
[07:05:51] <robdubya> tried other browsers?
[07:05:56] <chovy> that's the problem with plunker.
[07:06:07] <robdubya> you can download it as a zip, open it, and run it locally
[07:06:08] <chovy> its not that. its not even getting any of the animate classes. only ng-animate.
[07:06:16] <chovy> its like ngAnimate isn't even loaded.
[07:06:37] *** mehlah has quit IRC
[07:06:52] <robdubya> do you have a bunch of modules? or just one 'app'
[07:07:20] *** jdj_dk has quit IRC
[07:07:53] <chovy> i have a few
[07:08:14] *** sloria has joined #angularjs
[07:08:30] *** dancek has joined #angularjs
[07:09:12] *** Yahkob has joined #angularjs
[07:09:30] *** sgnl__ has quit IRC
[07:10:09] *** carbonpile has joined #angularjs
[07:10:17] *** andizzle has joined #angularjs
[07:10:49] <robdubya> chovy what version of the beta btw?
[07:10:56] <robdubya> there's a few $animate changes here and there
[07:11:17] <chovy> v1.3.0-build.2860+sha.85f8b65
[07:11:25] <chovy> i just updated it last night.
[07:11:29] <chovy> maybe it broke.
[07:12:25] *** mmitchell has joined #angularjs
[07:13:20] <chovy> robdubya
[07:14:20] *** jpavlick has joined #angularjs
[07:14:28] *** chrisbirk has joined #angularjs
[07:15:30] *** carbonpile has quit IRC
[07:15:56] *** atomical has quit IRC
[07:15:57] <robdubya> doesn't seem to
[07:16:16] *** danielpquinn has joined #angularjs
[07:16:43] *** morenoh149 has joined #angularjs
[07:16:58] *** mmitchell has quit IRC
[07:17:01] *** oniijin_ has joined #angularjs
[07:17:08] *** sharondio has joined #angularjs
[07:17:36] <chovy> ok
[07:17:46] <chovy> so if i do a <div> in my template it works!
[07:17:54] <chovy> but if I use a directive <foo></foo> it does not.
[07:17:59] *** danielpq_ has joined #angularjs
[07:18:18] <robdubya> via templateUrl you mean?
[07:18:59] *** oniijin has quit IRC
[07:19:30] *** Cache_Money has quit IRC
[07:19:50] *** vf1 has quit IRC
[07:20:15] <chovy> this is causing it to break
[07:20:37] *** night-owl-MBP has quit IRC
[07:20:54] <chovy> if i remove the .message class and just use .animate-show it works as expected. but i can't style it.
[07:20:55] *** danielpquinn has quit IRC
[07:21:03] <robdubya> i bet its what i said at the beginning
[07:21:09] <robdubya> your wonky class syntax
[07:21:11] <chovy> what did you say in beginning?
[07:21:37] <robdubya> the reason ng-class exists is doing class="foo {{anybinding}}" is wonky
[07:22:08] *** knicholes has quit IRC
[07:22:08] *** mbroadst has quit IRC
[07:22:19] <chovy> i removed that
[07:22:42] <chovy> its my default .message {}
[07:22:47] *** danielpq_ has quit IRC
[07:22:53] *** mbroadst has joined #angularjs
[07:23:04] *** oniijin has joined #angularjs
[07:23:20] *** oniijin_ has quit IRC
[07:24:17] *** JoshGlzBrk has joined #angularjs
[07:25:20] *** phuh has joined #angularjs
[07:26:00] *** patrickarlt has joined #angularjs
[07:27:29] *** apetro_ has joined #angularjs
[07:27:48] <chovy> man. ok. you are right. how should i add the class.
[07:27:52] *** TheAceOfHearts has joined #angularjs
[07:27:58] <chovy> ng-class="{{message.type}}" ?
[07:28:26] <robdubya> dont need the {{}} iirc
[07:28:27] <chovy> that works
[07:28:34] <chovy> sorry dude. wild goose chase.
[07:28:57] <robdubya> happens!
[07:29:14] *** DrMabuse has joined #angularjs
[07:29:27] *** andizzle has quit IRC
[07:29:32] *** dancek has quit IRC
[07:29:52] *** arrty has joined #angularjs
[07:30:02] *** sultunate has joined #angularjs
[07:31:09] *** CodeFriar has joined #angularjs
[07:31:41] <robdubya> the $compile change
[07:31:45] *** sloria has quit IRC
[07:31:56] <styles> Does anyone have any samples of apps that aren't spa?
[07:32:03] *** dancek has joined #angularjs
[07:32:43] *** kongthap has joined #angularjs
[07:33:07] <Cixis> sure
[07:33:09] <Cixis> wordpress
[07:33:11] <chovy> haha
[07:33:14] <chovy> java
[07:33:19] <styles> lol apps using angular
[07:33:21] <styles> that aren't spa*
[07:33:23] <robdubya> not gonna find a lot of that around here
[07:33:27] <chovy> or as i like to call it 'sans-script'
[07:33:32] <robdubya> its basiclaly the same as an angular SPA app
[07:33:39] <robdubya> just reloaded 11ty times
[07:34:03] <styles> humm
[07:34:08] <kongthap> hi, how can i inject dependencies into controller using $inject ?
[07:34:15] <styles> I have an app that has a lot of "spaish" stuff but.. it's not SPA
[07:34:16] <chovy> styles: angular is a spa framework
[07:34:17] *** DrMabuse has quit IRC
[07:34:28] <styles> What would you guys recommend?
[07:34:33] <chovy> styles: you can code on piece of your page using angular if you want.
[07:34:35] <styles> Model binding, convention etc.
[07:34:40] <chovy> one*
[07:35:02] <Cixis> grr
[07:35:18] <chovy> <div ng-app="MyThing" ng-controller="ThingCtrl">thing app goes here</div>
[07:35:28] <Cixis> SPA isn't a word, at least use the correct words when talking about it
[07:35:32] <Cixis> "it's not a SPA"
[07:35:57] *** sloria has joined #angularjs
[07:36:05] *** CodeFriar has quit IRC
[07:36:19] <styles> no it's an acronym for single page application. My app isn't one, but has a few pages that will be "single page" ish.
[07:36:22] <chovy> made sense to me Cixis. his app is not a single page app.
[07:36:38] *** mdedetrich has quit IRC
[07:36:38] <sacho> you don't need to have a single page app to use angular
[07:36:39] <Cixis> he said "it's not SPA"
[07:36:45] <chovy> yeah
[07:36:47] *** chrisbirk has quit IRC
[07:36:47] <sacho> just don't use any routing
[07:36:49] <chovy> its not a single page app (spa)
[07:36:58] <chovy> its not a spa
[07:37:01] *** instence has joined #angularjs
[07:37:03] *** UniBot has joined #angularjs
[07:37:08] *** mdedetrich has joined #angularjs
[07:37:08] <styles> Ok if that's the case, how do you activate controllers on specific pages?
[07:37:10] <Cixis> yes. he left off the word "a"
[07:37:21] <chovy> styles: i just gave you an exmplae
[07:37:32] <styles> backbone?
[07:37:33] <sacho> styles, the same way you do it with a single page app
[07:37:36] <styles> ok
[07:37:41] <styles> I'll jump in, thanks guys
[07:37:42] <chovy> Cixis: lol. nazi
[07:38:00] <Cixis> the nazi's killed a bunch of innocent people. i'm just irked by this
[07:38:03] <Cixis> nazis*
[07:38:05] <robdubya> me too.
[07:38:05] <chovy> styles: you just use ng-controller
[07:38:22] <chovy> Cixis: i meant grammar nazi
[07:38:26] <robdubya> if you dont have an API, you're going to be extracing your data from the DOM, or some dumb shit
[07:38:27] <chovy> not Germany Nazi
[07:38:33] <robdubya> and thats a waste of time
[07:38:43] <robdubya> if you have an API, why dont you have an SPA
[07:38:47] *** instence_ has quit IRC
[07:38:50] <chovy> an?
[07:38:53] <chovy> i thought it was 'a'
[07:38:59] <Cixis> it's really an unfair use of the word nazi, and kind of dulls what they did, don't you think?
[07:39:02] <robdubya> fuck
[07:39:11] <chovy> ?
[07:39:14] <robdubya> i agree.
[07:39:20] *** mbroadst has quit IRC
[07:39:43] <chovy> Cixis: you know the point of calling someone a nazi is to let them know they are being too critical.
[07:39:59] <robdubya> chovy this is where you stop, say "ok, cool", and move on
[07:40:02] <Cixis> no, it isn't. you call someone a nazi if they were part of the nazi party in nazi germany
[07:40:04] *** phuh has joined #angularjs
[07:40:12] *** mbroadst has joined #angularjs
[07:40:39] <s3shs> <crickets>
[07:40:44] <chovy> sorry guys
[07:40:48] <robdubya> all good
[07:40:51] <robdubya> ohhai s3shs
[07:40:52] <chovy> didn't meant to call the grammar nazi a nazi
[07:40:57] <s3shs> hai
[07:41:05] *** patrickarlt has quit IRC
[07:41:23] *** sultunate has quit IRC
[07:41:39] <Cixis> chovy: i feel like your nick is missing two letters are the beginning
[07:41:42] <Cixis> at*
[07:41:56] <robdubya> is it an chovy or a chovy
[07:43:02] <s3shs> the chovy
[07:43:15] *** carbonpile has joined #angularjs
[07:43:28] <s3shs> I get it. Something's fishy.
[07:43:28] <Cixis> ^
[07:43:40] <s3shs> anchovy.
[07:43:59] *** phuh has quit IRC
[07:44:11] <robdubya> real talk, putting those on your pizza is gross
[07:44:13] <Cixis> the chovy has a nice ring to it
[07:44:29] <chovy> anchovy -> chovy over the years
[07:44:48] <Cixis> i had anchovys on a salad once
[07:44:53] <Cixis> they were quickly removed
[07:44:56] <chovy> yeah
[07:45:00] <chovy> they are horrible.
[07:45:02] <chovy> i hate them.
[07:45:11] *** oniijin_ has joined #angularjs
[07:45:21] <s3shs> Greek dressing tho.
[07:45:29] *** snurfery has joined #angularjs
[07:45:33] *** devx101 has joined #angularjs
[07:45:39] *** oniijin_ has quit IRC
[07:45:55] <s3shs> The older i get the more crap I put on things I eat.
[07:46:15] <robdubya> i'm from texas. i just cover everything in bbq sauce
[07:46:31] *** oniijin has quit IRC
[07:46:51] *** DerekPerkins has quit IRC
[07:47:07] <s3shs> Huh. SQL has a command called "show create table".
[07:47:32] <Cixis> is that sql standard? i thought only mysql supported that
[07:47:39] <s3shs> Bettchya didn't see that coming.
[07:47:54] *** DrMabuse has joined #angularjs
[07:47:59] <s3shs> Cixis, I need it for MySQL. Have to do a dumpmysql from node.
[07:48:21] *** sultunate has joined #angularjs
[07:48:29] <robdubya> that sounds like no fun at all
[07:48:34] <Cixis> why not just use mysqldump?
[07:49:09] *** waylon999 has quit IRC
[07:49:40] *** joshontheweb has quit IRC
[07:49:50] <robdubya> ever used plv8? its blowing my mind a little
[07:50:11] *** icodefor_ has joined #angularjs
[07:50:27] *** qpok_ is now known as qpok
[07:50:37] *** night-owl-MBP has joined #angularjs
[07:50:40] *** mgolawala has joined #angularjs
[07:50:41] *** armdale has quit IRC
[07:50:50] <Cixis> oh good lord
[07:51:02] <Cixis> seriously guys, javascript doesn't need to be used everywhere
[07:51:04] <Cixis> stop it
[07:51:11] <s3shs> Cixis, keep talking about mysqldump.
[07:51:36] <robdubya> Cixis haha
[07:51:41] <Cixis> that syntax also looks nutters man
[07:51:56] <s3shs> Cixis, one nice thing about JS everywhere is you don't have to keep learning a new language.
[07:51:57] <Cixis> plsql is more readable, imo
[07:52:21] *** DrMabuse has quit IRC
[07:52:27] *** jonog has joined #angularjs
[07:52:28] *** night-owl-MBP has quit IRC
[07:52:32] <s3shs> I definitely lean towards utils written in JS that want input in JS.
[07:52:42] <robdubya> i'm terrible at sql. but i'm pretty good at JS.
[07:52:48] <Cixis> it's turtles all the way down
[07:53:07] <s3shs> ^ Cixis
[07:53:08] <robdubya> mean stack? HA. pean all the way bitches
[07:53:48] <s3shs> SQL is hard until you realize it's declarative.
[07:53:50] <Cixis> s3shs: you don't have to learn a new language, but you have to learn to concepts. my major fear is that "front end" developers will start mucking around in the backend with out taking the time to figure out how server code works because "it's just javascript"
[07:53:54] <Cixis> and really
[07:53:56] <Cixis> WHY javascript
[07:53:59] <Cixis> there are so many better languages
[07:54:02] <robdubya> to be fair, i started on the backend
[07:54:13] <robdubya> i aint no jquery cowboy
[07:54:18] *** waylon999 has joined #angularjs
[07:54:22] <Cixis> i'm not saying everyone is
[07:54:36] *** icodefor_ has quit IRC
[07:54:37] *** sharad has joined #angularjs
[07:54:39] <Cixis> just depressed about javascript
[07:54:41] <s3shs> Cixis, I don't know of any languages that have as many libraries, are as easily debuggable, and have as good lambda implementations than JS.
[07:54:43] *** DerekPerkins has joined #angularjs
[07:54:49] *** dbouwman has quit IRC
[07:54:53] <s3shs> Sure, JS has a nasty nasty underbelly. But the lambda stuff rocks.
[07:54:54] <robdubya> Cixis i dont necessarily disagree with you about that
[07:55:17] *** jsoverson has quit IRC
[07:55:24] <Cixis> other languages have lambds. C has a huge set of libraries. it's also not that hard to debug
[07:55:28] <robdubya> but at the same time... i htink the idea of a single language all the way through the stack (mongo notwithstanding) is a compelling idea
[07:55:36] *** jshultz has quit IRC
[07:55:41] <Cixis> eh. i can get behind that
[07:55:46] <Cixis> but i want it to be C#
[07:55:51] <s3shs> Everything is harder to debug than JS. No IDE necessary. Threading sucks in C. Lamdas suck in C.
[07:55:55] <robdubya> plus ES6 and typescript and stuff
[07:56:03] <sharad> i want to utilize my old module function in new creating module can we do this in angular.
[07:56:06] <s3shs> String processing sucks in C.
[07:56:28] <Cixis> js is still difficult to debug certain things, like where events are fired from, or what handlers might be called
[07:56:28] *** mbroadst has quit IRC
[07:56:35] <Cixis> but anyway, nothing will be perfect
[07:56:37] <s3shs> Cixis, definitely.
[07:56:42] <s3shs> And definitely.
[07:56:48] <robdubya> agreed. js is imperfect, but its everywhere
[07:56:53] *** GeertVL has joined #angularjs
[07:56:54] <s3shs> I've used lots of languages. Written some. And JS just makes me happy.
[07:56:55] *** limez has quit IRC
[07:56:57] <RandomStranger> But that's why we luckily got TypeScript nowadays! :D
[07:57:06] <Cixis> but js is so shittttttyyyyyyyyy
[07:57:15] * Cixis cries to himself
[07:57:18] <s3shs> In many ways. But not in the ones that count.
[07:57:20] <robdubya> listen to this motherfucker, write one printer driver in javascript and he's a convert
[07:57:27] <s3shs> Heh.
[07:57:30] *** zanea is now known as zanea|away
[07:57:31] *** mbroadst has joined #angularjs
[07:57:38] <sharad> guys ,i want to utilize my old module function in new creating module can we do this in angular.
[07:57:41] <s3shs> Somewhat. Google's got issues with that framework and they don't care.
[07:57:41] *** mbroadst has quit IRC
[07:57:42] *** mbroadst has joined #angularjs
[07:57:45] <robdubya> sharad i dont know what that means
[07:57:49] <s3shs> It'll be discontinued soon, I predict.
[07:57:54] *** cthrax has quit IRC
[07:57:54] <Cixis> what, typescript?
[07:57:56] *** ppppaul has joined #angularjs
[07:58:01] <robdubya> chrome? doubltful
[07:58:04] <Cixis> wat
[07:58:08] <robdubya> they are selling chromebooks like a motherfucker
[07:58:17] <s3shs> No, their chrome app apis.
[07:58:24] <robdubya> and now chrome apps run (some) android apps
[07:58:31] <s3shs> How's that $1200 chrome book selling?
[07:58:34] <robdubya> and chrome apps run on mobile
[07:58:48] <robdubya> not as well as the iirc 1/5th of notebook sales the 299 ones are doing
[07:58:59] <robdubya> (enterprise notebooks or something)
[07:58:59] *** RootWeiller has joined #angularjs
[07:59:01] *** mgolawala has quit IRC
[07:59:34] *** arizzo has joined #angularjs
[07:59:34] *** mgolawala has joined #angularjs
[07:59:39] *** dbouwman has joined #angularjs
[07:59:48] *** andizzle has joined #angularjs
[07:59:49] <sharad> robdubya=> i have two different angular module and i want to use first module method in second one
[08:00:02] <robdubya> sharada ahh
[08:00:08] *** frkout_ has joined #angularjs
[08:00:15] <robdubya> angular.module('app1, [ 'app2'])
[08:00:24] <sharad> just like in java where we use class method in another class by inheriting
[08:02:22] *** mdedetrich has quit IRC
[08:02:45] *** carlosmantilla has joined #angularjs
[08:02:49] *** svycka has joined #angularjs
[08:02:50] <sacho> just like in java
[08:03:01] *** oniijin has joined #angularjs
[08:03:02] <sacho> sharad, modules don't have methods
[08:03:08] *** frkout has quit IRC
[08:03:40] <sacho> is this method part of a service?
[08:03:40] *** sigurding has joined #angularjs
[08:04:00] *** mrjensen has joined #angularjs
[08:04:01] <sharad> sacho => $scope.anything =function()
[08:04:07] <sharad> i definid this
[08:04:19] <sacho> that's not really reusable.
[08:04:35] *** mgolawala has quit IRC
[08:04:44] *** waylon999 has quit IRC
[08:06:13] <sharad> sacho so there is another way to do that
[08:06:36] *** oniijin has quit IRC
[08:07:10] <sacho> yes, place this function in a service, then you can add your module as a dependancy, like robw showed you, and use that service
[08:08:07] *** arizzo has quit IRC
[08:08:32] *** bkuberek has quit IRC
[08:08:47] *** Ir1sh has joined #angularjs
[08:08:58] *** sharondio has quit IRC
[08:09:06] <sharad> sorry but what is robw
[08:09:18] *** zumba_addict has joined #angularjs
[08:09:28] *** andizzle has quit IRC
[08:09:32] <Cixis> rob white?
[08:09:43] <sharad> ohh thanx
[08:09:49] <Cixis> heh
[08:09:52] <sacho> robdubya
[08:09:54] *** partikus has joined #angularjs
[08:10:04] <robdubya> wut
[08:10:21] *** Xethron has joined #angularjs
[08:10:33] *** mennea has quit IRC
[08:12:06] *** cellofellow has joined #angularjs
[08:12:58] *** mmitchell has joined #angularjs
[08:13:12] *** eburcat has joined #angularjs
[08:13:27] *** Ir1sh has quit IRC
[08:13:31] *** cpciv has left #angularjs
[08:13:47] *** mbroadst has quit IRC
[08:14:04] *** eburcat has quit IRC
[08:14:29] *** eburcat has joined #angularjs
[08:14:46] *** mbroadst has joined #angularjs
[08:14:46] *** mbroadst has joined #angularjs
[08:15:20] *** sultunate has quit IRC
[08:15:36] *** BlinkyBill has quit IRC
[08:15:37] *** BlinkyBill_ has joined #angularjs
[08:16:16] *** squeakytoy has quit IRC
[08:16:20] *** sloria has quit IRC
[08:16:38] <s3shs> No fair, php has a mysqldump lib.
[08:16:55] *** jonathanpglick has joined #angularjs
[08:17:08] *** jonathanpglick has quit IRC
[08:17:27] <Cixis> oh yea, you were saying something about going on about mysqldump
[08:17:29] <Cixis> what did you mean?
[08:17:44] *** mmitchell has quit IRC
[08:18:05] *** sharad has quit IRC
[08:18:43] *** danielpquinn has joined #angularjs
[08:18:58] <s3shs> To spawn the util from node is what you're thinking?
[08:18:59] *** stodan has joined #angularjs
[08:19:01] *** PoketAA has joined #angularjs
[08:19:02] <Cixis> oh
[08:19:06] <Cixis> yea, just shell it out
[08:19:11] <PoketAA> good morning every one :)
[08:19:16] <Cixis> no use pulling your hair out making your own dump generator
[08:19:29] <s3shs> Mrm.
[08:19:34] <Cixis> either that, or make a v8 module i guess. the libraries are available
[08:20:47] *** xastey- has quit IRC
[08:23:19] *** danielpquinn has quit IRC
[08:23:56] <s3shs> hrm.
[08:24:14] *** stevvooe has quit IRC
[08:24:23] <s3shs> I'm temped to script this locally with navicat.
[08:24:28] <s3shs> Two clicks.
[08:24:42] *** apetro_ has quit IRC
[08:25:45] <Cixis> mysqldump --user derp --pass database > dump.sql
[08:25:47] <Cixis> done
[08:26:06] *** sgnl has quit IRC
[08:26:54] *** wasabii has quit IRC
[08:28:21] *** rburns has quit IRC
[08:28:38] <robdubya> love me some navicat
[08:28:56] <robdubya> bedtime. nighty night all
[08:28:57] <s3shs> navicat makes mysql usable.
[08:29:01] *** vintik has quit IRC
[08:29:05] <s3shs> But all sql clients kind of suck.
[08:29:06] *** Kismet010 has joined #angularjs
[08:29:15] *** hannesvdvreken has joined #angularjs
[08:29:28] *** nodeman has joined #angularjs
[08:30:48] *** mbroadst has quit IRC
[08:31:23] *** frkout_ has quit IRC
[08:31:33] *** rburns has joined #angularjs
[08:31:37] *** shoelessone has quit IRC
[08:31:41] *** frkout has joined #angularjs
[08:31:51] *** ahtik has joined #angularjs
[08:31:56] *** wilmoore has quit IRC
[08:32:07] *** mbroadst has joined #angularjs
[08:33:43] *** Xethron has quit IRC
[08:34:17] <s3shs> Cixis, you say that like mysqldump and mysqlimport are installed at EC2 by default.
[08:34:28] <s3shs> Rather "on" EC2.
[08:35:26] *** jdj_dk has joined #angularjs
[08:35:54] *** GeertV_ has joined #angularjs
[08:36:11] *** andizzle has joined #angularjs
[08:36:16] <Cixis> hm
[08:36:26] <s3shs> No worries. I can take it from here.
[08:36:38] <Cixis> nuke it from orbit
[08:38:22] *** mmitchell has joined #angularjs
[08:38:45] *** nshahpazov has joined #angularjs
[08:38:47] *** mupkoo has joined #angularjs
[08:38:56] *** mupkoo has quit IRC
[08:39:04] *** mupkoo has joined #angularjs
[08:39:44] *** sdouglas has joined #angularjs
[08:39:59] *** anth0ny has quit IRC
[08:40:33] *** UniBot has quit IRC
[08:41:05] *** m1hael has joined #angularjs
[08:41:48] *** Jdubs_ has quit IRC
[08:41:56] *** H1FuelCell has joined #angularjs
[08:41:59] *** Malkav has joined #angularjs
[08:42:07] *** cassler has quit IRC
[08:42:44] *** mmitchell has quit IRC
[08:42:55] *** Tidwell has quit IRC
[08:42:57] *** tarkus has joined #angularjs
[08:42:58] *** bamyyyooo14335 has joined #angularjs
[08:43:02] *** carbonpile has quit IRC
[08:43:44] *** ccohn has joined #angularjs
[08:44:01] *** ccohn has quit IRC
[08:44:09] *** Yahkob has quit IRC
[08:44:29] *** mchammer has joined #angularjs
[08:44:35] *** Left_Turn has joined #angularjs
[08:44:41] *** ccohn has joined #angularjs
[08:45:51] *** klaut has joined #angularjs
[08:46:24] *** HelperW has joined #angularjs
[08:47:03] *** gunn has joined #angularjs
[08:47:19] *** DrMabuse has joined #angularjs
[08:47:46] *** Milanito has joined #angularjs
[08:47:59] *** mbroadst has quit IRC
[08:48:17] *** H1FuelCell has quit IRC
[08:48:24] *** mbroadst has joined #angularjs
[08:48:55] *** ccohn has quit IRC
[08:49:20] *** nodweber has joined #angularjs
[08:51:09] *** DuelShark has joined #angularjs
[08:51:13] *** icodefor_ has joined #angularjs
[08:53:47] *** andizzle has quit IRC
[08:54:49] *** evilaliv3 has joined #angularjs
[08:54:58] *** tarnus has quit IRC
[08:55:14] *** carbonpile has joined #angularjs
[08:55:33] *** tarnus has joined #angularjs
[08:55:35] *** wilmoore has joined #angularjs
[08:55:41] *** icodefor_ has quit IRC
[08:56:20] *** DuelShark has quit IRC
[08:58:48] *** frkout has quit IRC
[08:58:49] *** peldan has joined #angularjs
[08:59:00] *** frkout has joined #angularjs
[08:59:27] *** maurovitale has joined #angularjs
[08:59:45] *** jonasrosenlind has joined #angularjs
[08:59:46] *** dbouwman has quit IRC
[08:59:51] *** tarnus has quit IRC
[09:00:20] *** BlinkyBill_ has quit IRC
[09:01:00] *** kongthap has quit IRC
[09:01:22] *** fbenoit has joined #angularjs
[09:01:44] *** massi_syed has joined #angularjs
[09:02:20] *** DerekPerkins has quit IRC
[09:02:25] *** zwacky has joined #angularjs
[09:02:31] *** HelperW_ has joined #angularjs
[09:04:31] <massi_syed> Hi all, i am creating a temporary variable for the scope variable, doing operations on temporary variable like removing elements using pop(), effects the scope variable and the UI, Any idea?
[09:04:31] *** arizzo has joined #angularjs
[09:05:02] *** HelperW has quit IRC
[09:05:14] *** mbroadst has quit IRC
[09:05:41] *** devx101 has quit IRC
[09:05:46] *** mbroadst has joined #angularjs
[09:05:59] *** devx101 has joined #angularjs
[09:06:28] *** devx101 has quit IRC
[09:06:46] *** illume has joined #angularjs
[09:08:30] *** Anticom has joined #angularjs
[09:08:39] *** sneakertack has joined #angularjs
[09:10:45] *** wafflejock_ has quit IRC
[09:11:40] *** Matt_Ricketts has quit IRC
[09:11:47] <Cixis> because in javascript objects are reference types, not value types
[09:12:14] <Cixis> you need to create a clone of your object if you want to do operations on it without affecting the "original" object
[09:13:37] *** arizzo has quit IRC
[09:14:03] *** bamyyyooo14335 has quit IRC
[09:14:16] *** Bardosity has joined #angularjs
[09:14:17] <massi_syed> cixis: u mean using copy()?
[09:15:19] *** frkout has quit IRC
[09:15:41] <Cixis> i don't know what copy does
[09:15:41] *** Hackwar has joined #angularjs
[09:15:56] *** frkout has joined #angularjs
[09:15:59] *** kesroesweyth has quit IRC
[09:16:53] <massi_syed> could you please tell me then how to create a clone
[09:17:11] *** s00pcan has quit IRC
[09:18:44] <Bardosity> angular.copy?
[09:18:46] *** bootsWitDaFur has joined #angularjs
[09:18:55] <Bardosity> Are you trying to clone an object? I came into this a bit late
[09:19:25] <Bardosity> Whilstyou answer that, anyone know what state the “Controller as” syntax is in?
[09:19:28] *** danielpquinn has joined #angularjs
[09:19:50] <Bardosity> Aside from $watch sucking when using Controller as, it seems pretty great
[09:19:54] *** dutis has joined #angularjs
[09:20:26] *** sdouglas has quit IRC
[09:20:54] *** carbonpile has quit IRC
[09:22:19] *** mbroadst has quit IRC
[09:22:58] *** bkuberek has joined #angularjs
[09:23:06] *** mbroadst has joined #angularjs
[09:23:11] <Cixis> state? it's stable afaik
[09:23:30] <Cixis> imo, i think it's a bit useless, but i think most disagree
[09:24:04] *** danielpquinn has quit IRC
[09:24:45] *** mdedetrich has joined #angularjs
[09:24:52] *** JoshGlzBrk has quit IRC
[09:25:49] *** mupkoo has quit IRC
[09:26:47] *** JoshGlzBrk has joined #angularjs
[09:26:56] *** JoshGlzBrk has quit IRC
[09:27:32] *** JoshGlzBrk has joined #angularjs
[09:27:52] *** mange has quit IRC
[09:27:59] *** bkuberek has quit IRC
[09:29:25] *** mennea has joined #angularjs
[09:30:02] *** joshbrw has joined #angularjs
[09:30:11] *** thomastuts has joined #angularjs
[09:31:03] *** guilbep has joined #angularjs
[09:31:28] *** frkout_ has joined #angularjs
[09:31:45] *** TheAceOfHearts has quit IRC
[09:32:04] *** stayarrr has joined #angularjs
[09:33:43] *** Keika has joined #angularjs
[09:34:27] *** TorchDragon has joined #angularjs
[09:34:44] *** Left_Turn has quit IRC
[09:35:17] *** frkout has quit IRC
[09:35:56] *** illume has quit IRC
[09:36:41] *** sigurding has quit IRC
[09:37:47] *** illume has joined #angularjs
[09:39:20] *** mmitchell has joined #angularjs
[09:39:23] *** TorchDragon has quit IRC
[09:39:36] *** bengillies has joined #angularjs
[09:40:26] *** [mX] has joined #angularjs
[09:40:27] *** mupkoo has joined #angularjs
[09:40:37] *** gauravsaini03 has joined #angularjs
[09:40:48] *** cpciv1 has joined #angularjs
[09:40:58] *** Yahkob has joined #angularjs
[09:41:17] *** abique has left #angularjs
[09:42:11] *** mupkoo has quit IRC
[09:42:11] *** Milanito has quit IRC
[09:42:20] *** Jdubs has joined #angularjs
[09:43:35] *** mbroadst has quit IRC
[09:43:51] *** Dimlock has joined #angularjs
[09:44:10] *** joshontheweb has joined #angularjs
[09:44:11] *** mmitchell has quit IRC
[09:45:53] *** sigurding has joined #angularjs
[09:45:56] *** sneakertack has quit IRC
[09:46:35] *** zumba_addict has quit IRC
[09:47:11] *** Jdubs has quit IRC
[09:47:48] *** mewm has joined #angularjs
[09:47:52] *** marcghorayeb has joined #angularjs
[09:48:11] *** sneakertack has joined #angularjs
[09:49:09] *** zz_Brocken is now known as Brocken
[09:49:21] *** bengillies has quit IRC
[09:49:26] *** bootsWitDaFur has left #angularjs
[09:49:29] *** sneakertack has joined #angularjs
[09:49:56] *** bengillies has joined #angularjs
[09:50:18] *** sneakertack has joined #angularjs
[09:50:22] *** sneakertack has left #angularjs
[09:50:35] *** Aartsie has joined #angularjs
[09:50:43] *** night-owl-MBP has joined #angularjs
[09:51:19] *** sneakertack_ has joined #angularjs
[09:51:43] *** icodefor_ has joined #angularjs
[09:51:51] *** DuelShark has joined #angularjs
[09:52:08] *** wilmoore has quit IRC
[09:53:01] *** HACKING-TWITTER has joined #angularjs
[09:53:25] *** dashed has joined #angularjs
[09:54:10] *** joshontheweb has quit IRC
[09:54:25] *** banana_ has joined #angularjs
[09:54:30] *** icodefor_ has quit IRC
[09:54:32] *** bengillies has quit IRC
[09:54:49] <banana_> hello
[09:55:37] *** wilmoore has joined #angularjs
[09:56:07] *** banana_ has quit IRC
[09:56:46] *** [mX] has quit IRC
[09:56:51] *** dbouwman has joined #angularjs
[09:56:55] *** AciD`` has joined #angularjs
[09:57:32] *** nodweber has quit IRC
[09:57:47] *** [mX] has joined #angularjs
[09:57:51] *** srph has joined #angularjs
[09:57:52] *** nodweber has joined #angularjs
[09:58:51] <srph> Umm, hey! Is it reasonable or fine to use a service(factory) along with a provider? I am currently creating a module that needs to be configured with the angular.config.
[09:59:08] *** jnaour has joined #angularjs
[10:00:36] *** fels_zh has joined #angularjs
[10:00:48] *** peldan_ has joined #angularjs
[10:00:53] *** sgnl has joined #angularjs
[10:01:08] *** dbouwman has quit IRC
[10:01:16] *** Christer has joined #angularjs
[10:01:16] *** Vynith has joined #angularjs
[10:01:35] *** peldan has quit IRC
[10:02:37] <Christer> Hi, is there any way to track all ng-clicks? - i want to extend the login expiration upon activity. im doing it now with $routeChanged, but there isnt much changing of routes in the application.
[10:02:40] *** hannesvdvreken has quit IRC
[10:03:13] *** frkout has joined #angularjs
[10:03:16] *** frkout_ has quit IRC
[10:03:18] *** wilmoore has quit IRC
[10:06:37] *** dsanel has joined #angularjs
[10:07:20] *** bicranial has quit IRC
[10:08:46] *** VeeWee has joined #angularjs
[10:09:21] *** sigurding has quit IRC
[10:09:34] *** dsanel has quit IRC
[10:09:38] *** arizzo has joined #angularjs
[10:09:46] *** Alina-malina has quit IRC
[10:09:52] *** Alina-malina has joined #angularjs
[10:09:53] *** Alina-malina has joined #angularjs
[10:10:04] *** Emperor_Earth has joined #angularjs
[10:10:45] *** jonog has quit IRC
[10:10:46] *** Yahkob has quit IRC
[10:10:59] *** mongo_ has joined #angularjs
[10:12:22] *** srph has quit IRC
[10:12:51] *** icodefor_ has joined #angularjs
[10:12:51] <AciD`> Malkav > you should post a plnkr/jsfiddle link in your question, just for people to tinker a bit when answering you :)
[10:13:01] *** cpciv1 has left #angularjs
[10:13:02] *** sigurding has joined #angularjs
[10:14:04] *** icodefor_ has quit IRC
[10:14:04] *** [mX] has quit IRC
[10:14:07] *** hannesvdvreken has joined #angularjs
[10:14:11] *** mokush has joined #angularjs
[10:14:16] *** DevAntoine has joined #angularjs
[10:14:22] <Malkav> AciD. I'd love to, but unfortunately plunkr and jsfiddle do not handle $location and $window.history manipulations ((
[10:14:36] *** icodefor_ has joined #angularjs
[10:15:04] *** [mX] has joined #angularjs
[10:15:24] *** JoshGlzBrk has quit IRC
[10:15:37] *** sk87 has joined #angularjs
[10:15:42] *** devx101 has joined #angularjs
[10:15:43] *** juampy has joined #angularjs
[10:15:56] *** jpavlick has quit IRC
[10:16:22] *** sneakertack_ has quit IRC
[10:17:00] *** stayarrr has quit IRC
[10:17:06] *** devx101_ has joined #angularjs
[10:17:19] *** Milanito has joined #angularjs
[10:17:36] *** devx101_ has quit IRC
[10:17:38] *** HACKING-TWITTER has quit IRC
[10:17:52] *** mupkoo has joined #angularjs
[10:17:56] *** arizzo has quit IRC
[10:18:44] *** icodefor_ has quit IRC
[10:18:52] *** Raging_Hog has joined #angularjs
[10:18:55] *** marcghorayeb is now known as marcghorayeb|afk
[10:19:15] *** HACKING-TWITTER has joined #angularjs
[10:19:53] *** LuxuryMode has joined #angularjs
[10:20:01] *** Hounddog has joined #angularjs
[10:20:16] *** danielpquinn has joined #angularjs
[10:20:34] *** HACKING-TWITTER has joined #angularjs
[10:21:07] *** wilmoore has joined #angularjs
[10:21:23] *** devx101 has quit IRC
[10:21:24] *** dutis has quit IRC
[10:21:51] *** HACKING-TWITTER has joined #angularjs
[10:21:54] *** Sebastien-L has joined #angularjs
[10:21:57] *** HACKING-TWITTER has quit IRC
[10:23:04] *** mupkoo has quit IRC
[10:23:05] *** HACKING-TWITTER has joined #angularjs
[10:23:21] *** mupkoo has joined #angularjs
[10:23:29] <motionman> google's polymer seems like a good alternative to directives
[10:24:02] *** bkuberek has joined #angularjs
[10:24:03] *** H1FuelCell has joined #angularjs
[10:24:20] *** danielpquinn has quit IRC
[10:24:30] *** HACKING-TWITTER has joined #angularjs
[10:24:44] *** AndyFTP has joined #angularjs
[10:25:26] *** mupkoo has quit IRC
[10:25:39] *** JohnBat26 has joined #angularjs
[10:26:01] *** Joulse has joined #angularjs
[10:26:01] *** HACKING-TWITTER has joined #angularjs
[10:26:26] *** wilmoore has quit IRC
[10:27:08] *** mupkoo has joined #angularjs
[10:27:23] *** HACKING-TWITTER has joined #angularjs
[10:27:42] *** bengillies has joined #angularjs
[10:27:45] *** Raging_Hog has quit IRC
[10:27:51] *** klaut has quit IRC
[10:27:54] *** jstimm has joined #angularjs
[10:28:16] *** hannesvdvreken has quit IRC
[10:28:54] *** HACKING-TWITTER has joined #angularjs
[10:29:00] *** bkuberek has quit IRC
[10:29:39] *** sgnl has quit IRC
[10:29:41] *** ArmandC has joined #angularjs
[10:31:40] *** mupkoo has quit IRC
[10:31:42] *** bengilli_ has joined #angularjs
[10:32:02] *** nodweber has quit IRC
[10:32:14] *** tlvince has joined #angularjs
[10:32:24] *** pluma has joined #angularjs
[10:32:25] *** pluma has joined #angularjs
[10:32:37] *** sigurding has quit IRC
[10:32:44] *** mupkoo has joined #angularjs
[10:32:48] *** jamto11 has joined #angularjs
[10:32:49] *** shroom_ has joined #angularjs
[10:32:55] *** ArmandC has quit IRC
[10:33:39] *** IJNX has joined #angularjs
[10:33:50] *** mupkoo has quit IRC
[10:33:59] *** bengillies has quit IRC
[10:34:21] *** hannesvdvreken has joined #angularjs
[10:34:21] *** HelperW_ has quit IRC
[10:34:34] *** mattwynne has joined #angularjs
[10:34:44] *** avens has joined #angularjs
[10:34:53] *** morenoh149 has quit IRC
[10:34:53] *** HelperW_ has joined #angularjs
[10:35:00] *** chakkimatti has joined #angularjs
[10:35:05] <chakkimatti> hey
[10:35:18] *** morenoh149 has joined #angularjs
[10:36:19] <chakkimatti> What is the right way to call a controller from a route? I can't seem to invoke it in my code.
[10:36:35] *** fouzko has joined #angularjs
[10:36:39] <Cixis> you specify the controller as part of your route definition
[10:36:50] *** Kismet010 has quit IRC
[10:37:08] *** Malkav has quit IRC
[10:37:30] *** jamto11 has quit IRC
[10:37:32] *** sigurding has joined #angularjs
[10:38:03] *** marcghorayeb|afk is now known as marcghorayeb
[10:38:35] <chakkimatti> Cixis: Thanks.. I think I did so {controller : 'myCtrl'}
[10:38:38] <chakkimatti> but nothing
[10:39:10] <chakkimatti> I even tried controller : function () { console.log} but nothing
[10:39:11] *** Natsu- has joined #angularjs
[10:39:19] *** HelperW_ has quit IRC
[10:41:12] *** ManneW has joined #angularjs
[10:41:20] *** jonog has joined #angularjs
[10:41:22] *** mspier is now known as mspier_off
[10:41:34] *** tlvince has quit IRC
[10:43:00] <bealtine> i think the app name on plunker is plunker
[10:43:00] *** icodefor_ has joined #angularjs
[10:43:16] *** tlvince has joined #angularjs
[10:43:17] *** krupnik has joined #angularjs
[10:45:12] <chakkimatti> bealtine: I defined the app name
[10:46:07] *** Joulse has quit IRC
[10:46:25] <night-owl-MBP> robdubya: you around by any chance?
[10:46:40] <bealtine> not what i said
[10:47:38] <Anticom> hi all
[10:48:08] <Anticom> I've got a question that's not really related to Angular but more to REST and its concepts... is it okay to ask here?
[10:48:17] <hubertusanton> good morning!
[10:48:23] <hubertusanton> at least over here it is :)
[10:48:44] <sacho> chakkimatti, you have no ng-view.
[10:48:58] <hubertusanton> been trying to do a unique function on a nested loop for few days now
[10:49:02] <Anticom> I was wondering, how i would trigger some actions on the server side, that don't neccesarily have to return the result itself. For example if i gathered some data and sent them over to the server using a REST api and now i want the server to generate a PDF for me. Would there be a URI that may return something like `{job: 45w6r5we48r646wer1wer531ewr35w1er, status: running }` and then lateron use the returned id to fetch the actual PDF?
[10:49:04] <hubertusanton> im a noob / beginner
[10:49:04] *** chinna has joined #angularjs
[10:49:10] <hubertusanton> hope someone can help
[10:49:48] *** aslate has joined #angularjs
[10:49:52] <hubertusanton> producttypes are in products and i cannot get unique filter to work in nested loop
[10:49:53] <chinna> hi folks
[10:50:33] *** viscera has quit IRC
[10:50:41] *** davedev24_ has quit IRC
[10:50:56] <chinna> am getting uncaught object error in angularjs
[10:50:57] <sacho> chakkimatti, just changing the route doesn't magically invoke a controller(on which part of the dom?) and include a template(where?)
[10:51:18] *** davedev24_ has joined #angularjs
[10:51:28] <hubertusanton> chinna is that in IE8? :)
[10:51:31] *** IJNX has quit IRC
[10:51:31] <chinna> can any one help me
[10:51:36] <chinna> thans in advance
[10:51:51] <chinna> am getting uncaught object error in angularjs
[10:52:02] <chinna> error showing in library file
[10:52:04] <sacho> chinna, try using another browser - chrome has a bug when displaying large error messages
[10:52:15] *** H1FuelCell_ has joined #angularjs
[10:52:15] <chinna> in mozilla too
[10:52:20] *** H1FuelCell has quit IRC
[10:52:23] <chakkimatti> sacho: So the route's controller just defines the scope?
[10:52:25] <chinna> am using grunt runner
[10:52:26] <bealtine> uncaught error usually means you are injecting a service/factory but it isnt loaded yet
[10:52:34] <sacho> chakkimatti, huh?
[10:53:01] <chakkimatti> sacho: doen't invoke ctrl
[10:53:27] <sacho> chakkimatti, all that ngRoute does when changing a route is setting up a route object with some properties
[10:53:42] <sacho> you need *something else* to make use of that route, e.g. ng-view
[10:53:42] *** mrjensen has quit IRC
[10:54:15] <bealtine> i tried to mod your plunk to show that but "no premission"
[10:54:25] <chakkimatti> ah
[10:54:27] <chakkimatti> wait
[10:54:34] *** Left_Turn has joined #angularjs
[10:54:41] *** mtsr has joined #angularjs
[10:55:08] *** Joulse has joined #angularjs
[10:55:22] <chakkimatti> sacho: now?
[10:55:33] *** azizur has joined #angularjs
[10:56:04] *** davedev24_ has quit IRC
[10:56:19] <sacho> you haven't changed anything
[10:56:22] *** tarnus has joined #angularjs
[10:56:54] *** sultunate has joined #angularjs
[10:57:19] <bealtine> modded the permissions
[10:57:43] *** dbouwman has joined #angularjs
[10:57:48] <bealtine> anyway dunno if my changes will stick
[10:59:18] *** Milanito has quit IRC
[10:59:20] *** mdedetrich has quit IRC
[10:59:29] *** mtsr has quit IRC
[11:00:05] *** Vynith has quit IRC
[11:00:44] *** motionman has quit IRC
[11:00:59] *** tarnus has quit IRC
[11:01:04] *** Ir1sh has joined #angularjs
[11:01:05] *** marr has joined #angularjs
[11:01:26] *** Vynith has joined #angularjs
[11:01:37] *** mattwynne has quit IRC
[11:01:56] *** dbouwman has quit IRC
[11:02:20] *** Ir1sh has quit IRC
[11:04:29] *** [mX] has quit IRC
[11:04:46] *** Ir1sh has joined #angularjs
[11:05:16] *** [mX] has joined #angularjs
[11:05:22] *** terranca has joined #angularjs
[11:05:34] *** Ir1sh has quit IRC
[11:05:47] *** klaut has joined #angularjs
[11:05:48] *** nodweber has joined #angularjs
[11:06:12] *** Ir1sh has joined #angularjs
[11:06:20] <Vinnyceptr> hubertusanton, line 87
[11:06:22] <Vinnyceptr> ;
[11:06:27] *** bengilli_ has quit IRC
[11:06:28] <Vinnyceptr> in productController.js
[11:06:50] *** jtimon has joined #angularjs
[11:07:11] <Vinnyceptr> line 92 also needs one
[11:07:34] *** mehlah has joined #angularjs
[11:07:41] *** alpha080 has quit IRC
[11:08:15] *** gunn has quit IRC
[11:08:24] *** illume has quit IRC
[11:08:40] *** balboah has joined #angularjs
[11:08:49] *** Aartsie has quit IRC
[11:09:14] *** nodeman has quit IRC
[11:09:18] *** sultunate has quit IRC
[11:09:24] *** Aartsie has joined #angularjs
[11:09:26] *** sk87 has quit IRC
[11:09:48] *** alpha080 has joined #angularjs
[11:09:51] *** gunn has joined #angularjs
[11:10:05] *** peldan_ has quit IRC
[11:10:34] <hubertusanton> Vinnyceptr ty!
[11:10:37] *** peldan has joined #angularjs
[11:10:39] <Vinnyceptr> you are welcome
[11:10:43] *** decached_ has joined #angularjs
[11:10:52] <Vinnyceptr> Can I interest someone in a free intel galileo?
[11:10:57] <hubertusanton> problem is i cannot do a unique on the nested producttype values
[11:10:57] <hubertusanton> <div ng-repeat="producttype in product.producttypes | unique:'producttype'">
[11:11:21] *** rockfordal has joined #angularjs
[11:11:26] <hubertusanton> yep!
[11:12:00] <hubertusanton> thats a cool device
[11:12:03] *** Ir1sh has quit IRC
[11:12:10] <Vinnyceptr> especially when it's free
[11:12:24] *** evan_e has quit IRC
[11:12:25] *** bmcgee has joined #angularjs
[11:12:43] *** LuxuryMode has quit IRC
[11:12:49] *** Aartsie_ has joined #angularjs
[11:12:58] <hubertusanton> no eperience in .NET to be honest :(
[11:13:20] <Vinnyceptr> just fill something out, :) they will send it
[11:13:32] *** Aartsie has quit IRC
[11:13:34] *** jkremser has joined #angularjs
[11:13:49] *** futuredale has joined #angularjs
[11:13:54] *** jkremser has quit IRC
[11:13:54] *** jkremser has joined #angularjs
[11:14:07] <Vinnyceptr> what did you say about the unique filter? It seems to me it does it job...?
[11:14:09] *** sk87 has joined #angularjs
[11:14:20] *** frkout has quit IRC
[11:14:28] <Vinnyceptr> nevermind, i was looking at the wrong ng-repeat
[11:14:29] *** Milanito has joined #angularjs
[11:14:32] *** arizzo has joined #angularjs
[11:14:38] *** ahtik_ has joined #angularjs
[11:14:39] *** Ir1sh has joined #angularjs
[11:14:44] *** Gambit- has quit IRC
[11:14:44] *** frkout has joined #angularjs
[11:15:31] <hubertusanton> Vinnyceptr the unique filter does not work nope, which it did :-)
[11:15:53] *** nielsle has quit IRC
[11:15:59] *** H1FuelCell_ has quit IRC
[11:16:45] *** euskadi31 has joined #angularjs
[11:17:29] *** dutis has joined #angularjs
[11:17:58] *** Vynith has quit IRC
[11:18:03] <hubertusanton> Vinnyceptr this is a situation which someone must have come accross using angularjs dont you think?
[11:18:28] *** ahtik has quit IRC
[11:18:36] <Vinnyceptr> for sure
[11:18:46] *** VeeWee has quit IRC
[11:20:17] *** dc_ has quit IRC
[11:20:25] *** H1FuelCell has joined #angularjs
[11:20:28] *** carlosmantilla has quit IRC
[11:20:35] *** carlosmantilla has joined #angularjs
[11:20:38] *** vintik has joined #angularjs
[11:20:44] *** zarul has quit IRC
[11:20:50] *** illume has joined #angularjs
[11:20:58] *** SpearThruster has joined #angularjs
[11:21:01] *** danielpquinn has joined #angularjs
[11:21:16] *** ahtik_ has quit IRC
[11:21:20] <joroci> any file uploaders for angular that supports IE9 and chunks upload?
[11:22:37] *** mbroadst has joined #angularjs
[11:22:42] *** mbroadst has joined #angularjs
[11:22:48] *** bmcgee_ has joined #angularjs
[11:22:50] *** bmcgee has quit IRC
[11:22:50] *** bmcgee_ is now known as bmcgee
[11:23:27] *** arizzo has quit IRC
[11:23:36] *** ppppaul has quit IRC
[11:23:44] <morenoh149> so I just want to display $scope.imgsrc in my html for <img src=blah >
[11:23:49] <morenoh149> what should blah be?
[11:24:05] <Vinnyceptr> {{ imgsrc }}
[11:24:25] *** kas84 has joined #angularjs
[11:24:25] *** bmcgee has quit IRC
[11:24:34] *** bamyyyooo14335 has joined #angularjs
[11:24:42] <morenoh149> Vinnyceptr: not "{{ imgsrc }}" ?
[11:24:48] *** bkuberek has joined #angularjs
[11:24:55] <Vinnyceptr> with the "
[11:24:58] *** vintik has quit IRC
[11:25:00] *** jtimon has quit IRC
[11:25:00] <Hounddog> ng-class="{item.type: true}" is giving me the class "item.type" am trying to get the value inside item.type though
[11:25:04] *** bmcgee has joined #angularjs
[11:25:08] *** danielpquinn has quit IRC
[11:25:11] *** Joulse has quit IRC
[11:25:16] *** Malkav has joined #angularjs
[11:25:22] <Vinnyceptr> you need two pair of }
[11:25:43] *** [mX] has quit IRC
[11:25:47] <Vinnyceptr> and what is the : true doing there? make a plnkr of it
[11:25:56] *** samsamm777 has joined #angularjs
[11:26:14] <Hounddog> g-class="{{item.type: true, favourite: item.favourite}}" this is the whole thing cause i had to apply 2 styles ;)
[11:26:31] *** samsamm777 has quit IRC
[11:26:33] *** styles has quit IRC
[11:27:12] *** nodweber has quit IRC
[11:27:25] *** krat0sprakhar has joined #angularjs
[11:27:55] *** dc_ has joined #angularjs
[11:29:08] *** bkuberek has quit IRC
[11:29:12] *** wdx has quit IRC
[11:29:36] *** wdx has joined #angularjs
[11:30:49] *** Joulse has joined #angularjs
[11:31:22] <krat0sprakhar> Hi, I'm making a $http.post call which returns HTML in response. How can I set this on as the template on a routeProvider route
[11:31:23] *** nodweber_ has joined #angularjs
[11:32:21] *** luca__ has joined #angularjs
[11:32:44] *** thomastuts has quit IRC
[11:32:57] *** joshontheweb has joined #angularjs
[11:33:06] <luca__> hi all, how can I ask help with a binding problem?
[11:33:51] <Hounddog> seems that ng-class can not take the value from the variable hmmm
[11:34:05] <chinna> getting uncaught object error on loading
[11:34:15] *** Jon30 has quit IRC
[11:34:25] <chinna> did not load any factory or controller even
[11:34:54] <Vinnyceptr> plnkr plnkr plnkr
[11:35:12] *** panosRV has joined #angularjs
[11:35:13] <Hounddog> Vinnyceptr: take your meds and caml down? ;)
[11:35:36] <chinna> error msg showing in angular.js file
[11:35:51] <Vinnyceptr> Hounddog, take your unconstructed question for free help elsewhere and read the channels topic?
[11:36:20] *** bd has quit IRC
[11:36:25] <Hounddog> Vinnyceptr: thx, i hope you never need help as i also try to help here but am putting you on ignore
[11:36:33] *** panosRV has quit IRC
[11:36:53] <Vinnyceptr> good for you
[11:37:08] *** sigurding has quit IRC
[11:37:10] *** bd has joined #angularjs
[11:38:20] *** luca__ has quit IRC
[11:38:34] *** chinna has quit IRC
[11:39:04] *** wiherek has joined #angularjs
[11:39:43] <wiherek> hi
[11:39:56] <SpearThruster> HELLO
[11:39:59] *** [mX] has joined #angularjs
[11:40:01] <SpearThruster> I AM LINDSEY LOHAN
[11:40:20] <wiherek> when using UI router, I want to create a nested state from the bottom up
[11:40:21] *** KushS has joined #angularjs
[11:40:44] <wiherek> so I have a few questions :) Do i need to provide ng-controller atribute for my top-most controller?
[11:40:52] *** ppppaul has joined #angularjs
[11:40:53] *** mmitchell has joined #angularjs
[11:41:30] *** mattwynne has joined #angularjs
[11:42:02] <Hounddog> wiherek: i dont really understand but using ui-router i am not using ng-controller anymore.
[11:42:22] <Hounddog> wiherek: you can also nest states in the ui-router
[11:42:59] *** mbroadst has quit IRC
[11:42:59] <wiherek> yea
[11:43:21] <wiherek> for some reason my first nested state does not resolve :(
[11:43:39] <wiherek> basically the top most state is abstract, it has url: '/'
[11:43:59] *** marr has quit IRC
[11:44:00] <wiherek> it's called 'main'
[11:44:01] <Hounddog> ok, so that would be the state applied to all and the nested state url?
[11:44:14] <Hounddog> also name of the nested state
[11:44:20] <wiherek> then the first nested state is 'main.home'
[11:44:27] <wiherek> it has url: '' and a template
[11:44:28] *** BruNeX_ has joined #angularjs
[11:44:32] <wiherek> they both have controllers.
[11:45:05] <wiherek> it doesn't get rendered for some reason :(
[11:45:08] *** mmitchell has quit IRC
[11:45:21] *** peldan has quit IRC
[11:45:37] *** bamyyyooo14335 has quit IRC
[11:46:07] *** VeeWee has joined #angularjs
[11:46:20] *** eburcat has quit IRC
[11:46:43] <Hounddog> wiherek: can you just show the config for the ui-router that you have
[11:47:05] *** peldan has joined #angularjs
[11:47:43] <wiherek> i commented out the resolve in MainCtrl for now
[11:48:26] <wiherek> it all works fine if I remove the url from the MainCtrl and just set it in HomeCtrl
[11:48:38] *** eburcat has joined #angularjs
[11:48:50] *** mehlah has quit IRC
[11:49:18] *** mattwynne has quit IRC
[11:50:14] *** Milanito has quit IRC
[11:50:30] <Hounddog> wiherek: just looking at something and on a call ... gimme a min
[11:50:47] *** moritzs has joined #angularjs
[11:52:33] *** saumya has joined #angularjs
[11:52:50] *** combat1 has joined #angularjs
[11:53:27] *** BrianGO has joined #angularjs
[11:54:02] *** G________ has joined #angularjs
[11:54:28] *** dariocravero has joined #angularjs
[11:54:53] *** Drako_ has joined #angularjs
[11:55:13] *** texinwien has joined #angularjs
[11:55:22] *** Jdubs has joined #angularjs
[11:55:57] *** [mX] has quit IRC
[11:56:19] <wiherek> robdubya can I take a look at your ui router config?
[11:56:27] *** BrianGO_ has joined #angularjs
[11:57:17] *** [mX] has joined #angularjs
[11:57:42] *** mguillech has joined #angularjs
[11:58:01] *** shroom_ has quit IRC
[11:58:07] <rockfordal> how do i associate task with cat? datacontext.currentcat doesnt seem to be in sync with cat view
[11:58:15] *** dbouwman has joined #angularjs
[11:58:21] *** illume has quit IRC
[11:58:21] *** mtsr has joined #angularjs
[11:58:31] <rockfordal> must i use watch?
[11:59:11] *** tfennelly has joined #angularjs
[11:59:23] *** BrianGO has quit IRC
[11:59:40] <Hounddog> wiherek: sorry, finished the call... lets look at it now
[11:59:46] *** fels_zh has quit IRC
[11:59:51] *** Jdubs has quit IRC
[11:59:59] *** TyrfingMjolnir has quit IRC
[12:00:13] <chakkimatti> How would I go about hooking a route to some controller action? Like when a specific route is hit, the default template still rocks, but it would raise a modal from the controller - if that makes any sense.
[12:00:23] <wiherek> this needs to be something with the config
[12:00:27] *** fels_zh has joined #angularjs
[12:00:49] <Hounddog> wiherek: you dont have a view assigned to main, not sure about it, but i have it in my config. Could be that it is required
[12:01:07] <wiherek> chakkimatti: changing the route will instantiate a new controller by default
[12:01:28] *** illume has joined #angularjs
[12:01:30] *** joshontheweb has quit IRC
[12:01:31] <wiherek> Hounddog: what view?
[12:01:35] <wiherek> template?
[12:01:51] <Hounddog> wiherek: template yes
[12:02:02] <wiherek> thats an abstract state
[12:02:07] *** mguillech has quit IRC
[12:02:08] *** sigurding has joined #angularjs
[12:02:18] <Hounddog> wiherek: so?
[12:02:20] *** dbouwman has quit IRC
[12:02:23] *** Foxandxss has joined #angularjs
[12:02:46] <chakkimatti> wiherek: it intantiates a new controller, or new scope? The view is a template
[12:02:47] *** dutis has quit IRC
[12:02:54] <wiherek> hm
[12:02:54] *** joshontheweb has joined #angularjs
[12:02:56] <Hounddog> wiherek: as said, not sure but it could be required to have a templateurl just checking the documentation
[12:03:18] <wiherek> chakkimatti: a new controller, which then creates a new scope (if you inject $scope)
[12:03:27] <chakkimatti> oh
[12:03:51] <sacho> chakkimatti, like I said, you need an ng-view.
[12:03:58] <chakkimatti> And by defining controller in the route object, I name that newly created controller?
[12:03:59] *** benjamingr has joined #angularjs
[12:04:09] <Hounddog> wiherek: i dont see it saying that template url is optional
[12:04:29] <wiherek> you probably are right
[12:04:33] <Hounddog> wiherek: just give it a try and see :)
[12:04:34] <chakkimatti> controller : 'someCtrl' or controller : function ()
[12:04:39] <wiherek> but this leads me to another thing
[12:04:49] <wiherek> I would like that controller to encapsulate the whole app
[12:05:03] <wiherek> like, html
[12:05:12] <Hounddog> yeah, it would then
[12:05:14] *** jtimon has joined #angularjs
[12:05:16] *** DevAntoine has quit IRC
[12:05:36] <Hounddog> wiherek: just that in your abstract you place your layout and in the others you create a view
[12:06:14] *** Al` has joined #angularjs
[12:06:16] <Hounddog> wiherek: if all your states are nested to main it would be using the main as a parent controller
[12:06:20] *** jonog has quit IRC
[12:06:31] *** Jae has joined #angularjs
[12:06:41] <wiherek> then i need ui-view somewhere, right?
[12:06:54] <wiherek> this is kind of weird :)
[12:07:07] <wiherek> of course i have an ui-view, i am actually refactoring a large app now
[12:07:16] *** decached_ has quit IRC
[12:07:22] <wiherek> but i was using the MainCtrl all the time without it rendering
[12:07:32] *** dancek has quit IRC
[12:07:32] <Hounddog> you need ui-view already in your template :)
[12:07:37] <wiherek> oh, I think I know now
[12:07:39] <Hounddog> index i mean lol
[12:07:41] *** decached has joined #angularjs
[12:08:02] <wiherek> I'll just add a template <div data-ui-view></div>
[12:08:06] *** BrianGO_ has quit IRC
[12:08:07] <wiherek> that should do it
[12:08:21] <Hounddog> wiherek: but yeah in your main view you also need a ui.view then
[12:08:47] <Hounddog> wiherek: may i ask why you need to have the controller to be a parent of all others?
[12:08:50] <wiherek> it would be better if template wasnt required though
[12:08:54] *** wa5ted has quit IRC
[12:09:02] <wiherek> yea, I want to put a resolve into that controller
[12:09:11] *** BrianGO has joined #angularjs
[12:09:12] <wiherek> im basically sick of adding watchers everywhere
[12:09:18] <Hounddog> wiherek: cant you use a service or anything?
[12:09:34] <wiherek> this is an interesting thing actually
[12:09:35] <sacho> what are you trying to do, anyway
[12:10:01] <wiherek> i want an async request to resolve before instantiating all controllers and directives
[12:10:05] *** dancek has joined #angularjs
[12:10:10] *** GeertVL has quit IRC
[12:10:31] <wiherek> i need to set the user object, that's why.
[12:10:49] *** GeertVL has joined #angularjs
[12:11:24] *** Yahkob has joined #angularjs
[12:11:55] *** dc_ has quit IRC
[12:11:56] <sacho> Why don't you run your app manually after you've fetched your user object
[12:11:58] <wiherek> i think resolve on main ctrl is the best way.
[12:12:21] *** jonasrosenlind has quit IRC
[12:12:30] *** moritzs has quit IRC
[12:13:00] <wiherek> sacho: do you mean fetching it from outside of angular then running the app then passing the data to angular?
[12:13:01] <saumya> anyone uses AngularDart ?
[12:13:06] *** [mX] has quit IRC
[12:13:33] *** [mX] has joined #angularjs
[12:13:54] <wiherek> because getting the object is dependent on some services, like token, localStorage, that I handle from Angular
[12:14:38] <sacho> you don't need to initialize your app to use its services, I think.
[12:15:10] *** jonog has joined #angularjs
[12:15:17] <Al`> basically my directive isn't rendering the nested input name
[12:15:19] <Al`> on the form
[12:15:27] <Al`> and I can't figure out why :s
[12:15:52] *** kornalius has joined #angularjs
[12:16:03] *** Yahkob has quit IRC
[12:16:12] <Al`> or rather it seems to be rendering both the nested input name AND the expression to be evaluated
[12:16:22] <wiherek> sacho: do you have any reference to that method?
[12:16:29] *** mattwynne has joined #angularjs
[12:16:32] <wiherek> Hounddog, thanks, setting the template worked.
[12:16:53] <Hounddog> wiherek: the documentation is a bit vague on that i would say...
[12:16:55] <sacho> Al`, huh?
[12:17:01] <sacho> wiherek, see angular.bootstrap
[12:17:02] *** peldan has quit IRC
[12:17:14] <wiherek> ok
[12:17:40] *** peldan has joined #angularjs
[12:18:12] *** krnflake has quit IRC
[12:18:19] *** rockfordal has quit IRC
[12:18:21] *** BrianGO_ has joined #angularjs
[12:18:45] *** rockfordal has joined #angularjs
[12:18:45] <Al`> if you look at the form data
[12:18:48] *** rtpg has quit IRC
[12:18:50] *** joshontheweb has quit IRC
[12:19:08] *** dancek has quit IRC
[12:19:12] <sacho> don't use the name attribute itself.
[12:19:27] <Al`> what do you mean?
[12:19:30] *** arizzo has joined #angularjs
[12:19:35] *** H1FuelCell has quit IRC
[12:20:17] *** krnflake has joined #angularjs
[12:20:37] *** dancek has joined #angularjs
[12:20:49] *** PoketAA has quit IRC
[12:20:51] *** DrMabuse has quit IRC
[12:21:01] *** Petazz_ is now known as Petazz
[12:21:04] *** BrianGO__ has joined #angularjs
[12:21:11] *** BrianGO has quit IRC
[12:21:34] *** jonog has quit IRC
[12:21:47] *** danielpquinn has joined #angularjs
[12:21:53] *** jonog has joined #angularjs
[12:21:54] *** jaxtrx has joined #angularjs
[12:22:09] *** mrjensen has joined #angularjs
[12:22:44] *** BrianGO_ has quit IRC
[12:22:51] *** rtpg has joined #angularjs
[12:23:09] *** rtpg has quit IRC
[12:24:55] *** mattwynne has quit IRC
[12:25:32] *** bkuberek has joined #angularjs
[12:25:38] *** krat0sprakhar has quit IRC
[12:26:06] *** ahtik has joined #angularjs
[12:26:27] *** danielpquinn has quit IRC
[12:26:50] *** mehlah has joined #angularjs
[12:26:54] *** bkuberek has quit IRC
[12:27:15] *** decached has quit IRC
[12:27:15] *** bkuberek has joined #angularjs
[12:27:18] *** QuantumNinja has quit IRC
[12:27:29] *** jtimon has quit IRC
[12:27:32] *** arizzo has quit IRC
[12:28:49] *** dc_ has joined #angularjs
[12:29:06] *** mattwynne has joined #angularjs
[12:29:27] *** decached has joined #angularjs
[12:30:10] <sacho> hmm, looks like the problem is with the form directive itself
[12:30:30] <sacho> once it's linked it won't keep checking the name attributes.
[12:30:49] *** davedev24_ has joined #angularjs
[12:30:51] <sacho> so, I don't think you can have dynamic attribute names with the form directive.
[12:31:06] *** avens has quit IRC
[12:31:21] *** mbroadst has joined #angularjs
[12:31:21] *** mbroadst has joined #angularjs
[12:31:44] *** bkuberek has quit IRC
[12:32:38] <Foxandxss> name="{{foo}}" won't work
[12:32:53] <caitp> you can
[12:32:56] *** carlosmantilla has quit IRC
[12:33:10] *** jonasrosenlind has joined #angularjs
[12:33:22] <sacho> how?
[12:33:28] <Foxandxss> caitp: since when?
[12:33:38] <caitp> since I wrote those decorators showing people how to do it
[12:33:43] *** jamto11 has joined #angularjs
[12:33:54] <Foxandxss> ah, I didn't saw it, let me check
[12:33:59] *** [mX] has quit IRC
[12:34:05] <saumya> anyone on angularDart ? or any pointers to an active group ?
[12:34:20] *** Jae has quit IRC
[12:34:22] <caitp> there's some chat about angularDart in here sometimes, and also in #dart
[12:34:25] <sacho> so, the directive doesn't do it by default :P
[12:34:43] *** rburns has quit IRC
[12:34:44] <caitp> no, the directive doesn't do it by default, although in dart we have some kind of support for it
[12:34:50] <sacho> that's pretty useful though
[12:34:56] <saumya> hey @caitp thanks for the info. Can I ask here
[12:35:09] <caitp> you can, although I haven't done very much on the dart side
[12:35:17] <caitp> no guarantees of helpful answers :>
[12:35:20] <saumya> :)
[12:35:23] <saumya> no worries
[12:35:43] *** marcghorayeb is now known as marcghorayeb|afk
[12:35:47] <saumya> thing is the docs in the site is quite old ? any pointers or person to ask to
[12:35:52] <saumya> or group ?
[12:36:57] *** QuantumNinja has joined #angularjs
[12:37:10] *** motionman has joined #angularjs
[12:37:10] *** motionman has joined #angularjs
[12:37:53] <Foxandxss> caitp: I see, so in the decoration you need to inject those stuff by hand because well, it is basically what it does, they aren't normal injections
[12:37:56] *** jaxtrx has quit IRC
[12:37:59] <Foxandxss> I like it, better than nested forms
[12:38:11] *** jamto11 has quit IRC
[12:38:36] <caitp> saumya I'm not sure what's going on with the angulardart docs app
[12:38:53] <caitp> I know that they've been a bit busy the past few weeks with some perf issues on an internal app
[12:39:26] <caitp> so it may not have been a high priority to fix the docs
[12:39:59] *** raibutera has joined #angularjs
[12:40:01] <caitp> I think naomi has been pretty active in taking care of that stuff, but I have no idea where you'd find her on irc or mailing lists
[12:40:46] *** dutis has joined #angularjs
[12:40:53] *** kas84 has quit IRC
[12:41:11] *** avens has joined #angularjs
[12:41:37] *** mmitchell has joined #angularjs
[12:41:42] *** H1FuelCell has joined #angularjs
[12:41:53] *** juampy has quit IRC
[12:42:10] *** viscera has joined #angularjs
[12:42:30] *** raibutera has quit IRC
[12:42:53] *** mattwynne has quit IRC
[12:43:00] *** bengillies has joined #angularjs
[12:43:42] *** gunn has quit IRC
[12:45:23] *** marcghorayeb|afk is now known as marcghorayeb
[12:46:12] *** mmitchell has quit IRC
[12:46:22] *** jae has joined #angularjs
[12:46:22] *** freeman42 has joined #angularjs
[12:47:05] *** tfennelly has quit IRC
[12:47:10] *** wa5ted has joined #angularjs
[12:47:26] *** mbroadst has quit IRC
[12:48:30] *** mbroadst has joined #angularjs
[12:48:45] *** Joulse has quit IRC
[12:48:59] *** djam90 has joined #angularjs
[12:49:06] *** PoketAA has joined #angularjs
[12:49:09] *** sinclair|work has quit IRC
[12:49:28] <djam90> It is possible to access the $first and $last outside of an ng-repeat, for example within the code inside a directive function or a controller?
[12:49:51] *** jae is now known as Jae
[12:51:08] *** krnflake has quit IRC
[12:51:42] <Zerot> djam90: I would say no. even if it is possible it would be horrible. You can access it in the ng-repeat loop, but for outside you will have to get them yourself
[12:52:05] <Foxandxss> djam90: those exist inside a new scope
[12:52:26] <djam90> Zerot - how would I get it myself? I have a function inside a directive that needs to run some code ONLY if on the $last item
[12:52:40] <night-owl-MBP> if i have two arrays of objects, $scope.itemsA and $scope.itemsB, where items in both arrays have a created_on property, is it possible to use ng-repeat to list itemsA and itemsB together and sort them by created_on?
[12:52:52] *** chaitu87 has joined #angularjs
[12:53:06] <Zerot> djam90: if it is an array: var item = array[array.length-1];
[12:53:14] <texinwien> Any ideas why I'm seeing "Cannot read property 'insertBefore' of null" on an ng-repeat?
[12:53:23] *** kas84 has joined #angularjs
[12:53:25] <Zerot> if it is not an array, it doesn't make a lot of sense
[12:53:51] *** krnflake has joined #angularjs
[12:53:58] *** jtimon has joined #angularjs
[12:54:17] *** DrMabuse has joined #angularjs
[12:54:20] <djam90> Zerot - it is an array of objects
[12:54:28] <Zerot> night-owl-MBP: you would have to combine/concat the arrays first
[12:54:40] <Zerot> djam90: so, then the line I just gave will work fine
[12:55:11] *** BrianGO__ has quit IRC
[12:55:12] *** bmcgee has quit IRC
[12:55:12] <Zerot> so now you can either supply the directive with the last item, or supply the array and have the directive get the last item from it
[12:55:34] *** chaitu87 has quit IRC
[12:56:19] *** zwacky has quit IRC
[12:56:35] <night-owl-MBP> Zerot: so if itemsA and itemsB needed different templates, would I just create a directive that checks if an item is type A or B, then assign template A or B accordingly?
[12:57:04] *** tarnus has joined #angularjs
[12:57:05] <djam90> thats great thanks
[12:57:11] *** dc_ has quit IRC
[12:57:14] <Zerot> night-owl-MBP: yes. or use ng-switch to pick the correct bit
[12:57:16] <sacho> night-owl-MBP, yes, for example, the ng-switch directive
[12:57:24] *** decached has left #angularjs
[12:57:31] <djam90> I have a feeling I have created our application completely wrong in AngularJS
[12:57:44] <saumya> ok, let me ask this angularDart question here.
[12:57:52] <djam90> would anyone take a look at the code and agree/disagree?
[12:58:34] *** mguillech has joined #angularjs
[12:58:36] <saumya> the new application in the new Dart Editor says "type", "value" and "factory" are deprecated! what is used for them?
[12:59:03] <sacho> type?
[12:59:07] *** dbouwman has joined #angularjs
[12:59:12] <night-owl-MBP> Zerot & sacho, thanks! I think I'll read over the Angular directives chapter in ng-book :p
[12:59:21] *** tlyng has joined #angularjs
[13:00:04] *** TuomasTielinen has joined #angularjs
[13:01:01] <tlyng> I've created a directive here for generating table data, one of the option is that it's possible to override the cell and row templateUrl for custom display of some tables. Using this I stumpled upon a problem, I want to evaluate something in the cell template with data (Date.now()) which is not available on the scope, any suggestions on how to tackle such problems?
[13:01:35] *** tarnus has quit IRC
[13:01:55] <sacho> use a function, or a property on the scope that you update whenever you want.
[13:02:51] *** mguillech has quit IRC
[13:03:11] <tlyng> i dont want to populate the directive scope with lots of that for potential use in some custom cell template, basically i dont know which data may be used to do some custom displaylogic :-)
[13:03:28]
<djam90> My code is here.. http://jsbin.com/bumedata/1/edit?html,js,output could anyone take a look at see if I have basically coded this wrong? It is a Sly Carousel in a directive and I just think I am approaching it all wrong...
[13:03:28] *** dbouwman has quit IRC
[13:03:56] *** dariocravero has quit IRC
[13:04:15] *** dariocravero has joined #angularjs
[13:04:16] <sacho> what makes you think you're approaching it all wrong
[13:04:48] *** mbroadst has quit IRC
[13:05:36] *** RedOrangeZ has joined #angularjs
[13:05:46] *** jonog has quit IRC
[13:05:50] *** mbroadst has joined #angularjs
[13:05:53] *** DrMabuse has quit IRC
[13:05:54] <Foxandxss> sacho: that is a common thought among developers. Thinking that you always do it wrong
[13:06:08] * sacho shrugs
[13:06:20] <sacho> Usually when I have that feeling, I have a reason for it.
[13:06:48] <sacho> e.g. code is not DRY, takes too much effort to do something simple, result is very unflexible/unreusable, etc.
[13:07:01] <sacho> inflexible?
[13:07:37] *** \du has joined #angularjs
[13:07:41] *** \du has joined #angularjs
[13:08:02] *** avens has quit IRC
[13:08:31] *** tfennelly has joined #angularjs
[13:08:36] *** Joulse has joined #angularjs
[13:08:44] *** kornalius has quit IRC
[13:09:47] *** Sebastien-L has quit IRC
[13:10:12] <Foxandxss> \du: what you mean?
[13:10:38] *** frankblizzard has joined #angularjs
[13:11:08] *** Shrooms has quit IRC
[13:11:31] <\du> if is okay that i alter the $locale from inside the directive, and also set the Preferences (of the user, it is saved in a cookie) from inside the directive
[13:11:46] *** zemanel has joined #angularjs
[13:11:54] *** TorchDragon has joined #angularjs
[13:11:59] <\du> i think that is more clear have all it in the directive, but also i know that directive should be only for DOM manipulation
[13:12:15] <Foxandxss> I am not sure what to say. If you test it well, I don't think it is gonna bite you anytime soon
[13:12:28] <Foxandxss> maybe you could extract those things inside a service
[13:12:36] <Foxandxss> but well, test it
[13:12:42] <Foxandxss> also
[13:12:49] <Foxandxss> don't use scope.$apply like that
[13:13:03] <Foxandxss> it receives a callback function
[13:13:25] <Foxandxss> put inside of it anything that needs to be run inside a digest
[13:13:50] *** aslate has quit IRC
[13:13:51] <\du> okay, thanks, i see so i put inside the element.on("click...
[13:13:52] *** maurovitale has quit IRC
[13:13:58] *** HypnotiX has joined #angularjs
[13:14:13] *** peldan_ has joined #angularjs
[13:14:24] *** maurovitale has joined #angularjs
[13:14:33] *** Keika has quit IRC
[13:14:43] <Foxandxss> no
[13:15:03] <Foxandxss> only the parts inside that functions that need to be run inside a digest
[13:15:08] <Foxandxss> to update some DOM
[13:15:09] *** mguillech has joined #angularjs
[13:15:12] *** JohnBat26 has quit IRC
[13:15:50] *** peldan has quit IRC
[13:15:51] *** jonog has joined #angularjs
[13:15:52] <\du> ahhh, i get
[13:15:56] *** TorchDragon has quit IRC
[13:16:08] *** carlosmantilla has joined #angularjs
[13:17:01] *** raibutera has joined #angularjs
[13:17:04] *** spookyfork has joined #angularjs
[13:17:05] <Foxandxss> event.preventDefault doesn't need the appy, the preferences.put also. Just the scope.selected and maybe the Convert.reCalc (if it updates bindings)
[13:17:10] <Foxandxss> not sure about $locale, never used it
[13:17:19] <\du> thanks, yes i better i am not forcing a new digest i am adding think to do in the "normal" diggest
[13:17:50] <\du> *things
[13:17:54] <\du> it's workd
[13:17:57] <\du> *worked
[13:18:19] *** Malkav has quit IRC
[13:18:35] *** Tuomas_ has joined #angularjs
[13:18:47] *** maurovitale has quit IRC
[13:18:58] *** mpaarating has joined #angularjs
[13:19:05] *** raibutera has quit IRC
[13:19:41] <Foxandxss> \du: no
[13:19:45] <Foxandxss> you're forcing a new digest
[13:19:50] *** zwacky has joined #angularjs
[13:20:58] *** sk87 has quit IRC
[13:21:13] <\du> so, which are the differents?
[13:21:17] *** mattwynne has joined #angularjs
[13:21:33] *** narutimateum has joined #angularjs
[13:21:44] *** TuomasTielinen has quit IRC
[13:21:44] *** mbroadst has quit IRC
[13:22:01] *** rockfordal has quit IRC
[13:22:09] *** rockfordal has joined #angularjs
[13:22:25] *** stayarrr has joined #angularjs
[13:22:30] *** styles has joined #angularjs
[13:22:34] *** danielpquinn has joined #angularjs
[13:22:42] *** styles has quit IRC
[13:22:42] *** styles has joined #angularjs
[13:23:00] *** mbroadst has joined #angularjs
[13:24:34] *** arizzo has joined #angularjs
[13:26:00] *** klaut has quit IRC
[13:26:14] <rockfordal> can someone help me - how can i from my datacontext.js called from taskController get selectedCat from category controller scope
[13:26:44] *** danielpquinn has quit IRC
[13:26:57] <djam90> sacho, sorry I went for lunch!
[13:27:35] *** Joulse has quit IRC
[13:27:35] <djam90> I think it is approached wrong because of how the Sly Carousel is used in the directive, it seems inflexible, difficult to call methods on the Sly carousel, scopes seem messy, all over the place
[13:28:01] *** bkuberek has joined #angularjs
[13:29:35] *** stayarrr has quit IRC
[13:29:52] *** mattwynne has quit IRC
[13:30:25] *** mattwynne has joined #angularjs
[13:30:35] *** Ethix has joined #angularjs
[13:30:40] *** one_zero has quit IRC
[13:30:51] *** instence_ has joined #angularjs
[13:31:03] *** instence has quit IRC
[13:31:56] *** krnflake has quit IRC
[13:32:35] *** bkuberek has quit IRC
[13:32:44] *** arizzo has quit IRC
[13:33:13] *** stayarrr has joined #angularjs
[13:33:32] *** endash has joined #angularjs
[13:34:06] <Foxandxss> \du: which one? none?
[13:34:15] *** teeray has joined #angularjs
[13:34:17] *** TuomasTielinen has joined #angularjs
[13:34:22] <sacho> well, carousels tend to have a bit of state to them
[13:34:24] *** krnflake has joined #angularjs
[13:34:32] *** HelperW has joined #angularjs
[13:34:40] *** G________ has quit IRC
[13:34:46] *** carpediembaby has joined #angularjs
[13:34:52] *** hswolff has joined #angularjs
[13:35:06] *** daslicht has joined #angularjs
[13:35:12] *** mattwynne has quit IRC
[13:35:24] <djam90> what dya mean sacho
[13:35:32] *** Tuomas_ has quit IRC
[13:35:46] *** intellix has joined #angularjs
[13:35:53] <\du> Foxandxss: no problem! thanks
[13:36:11] *** pluma has quit IRC
[13:36:26]
<carpediembaby> Hello, i am trying to write a directive to show an alert when a form has been changed. i copied an example from stackoverflow pasted here http://pastebin.com/EyEKQSKw . but i get an error for rootscope that it is undefined. Can someone explain to me why that might be the case? thanks.
[13:36:36] *** jk-5|gone has quit IRC
[13:36:56] *** mennea has quit IRC
[13:37:12] *** partikus has quit IRC
[13:37:51] *** Emperor_Earth_ has joined #angularjs
[13:37:57] <OnkelTem> Hi. I've faced a strange slowness of $http.get
[13:38:16] *** Emperor_Earth has quit IRC
[13:38:18] <carpediembaby> i get this error on line 14 in the paste where i am trying to use $watch.
[13:38:19] *** G________ has joined #angularjs
[13:38:36] <OnkelTem> when I measure request time from angular, $http.get takes 90ms. But according to Chrome log real request took only 15ms. Why?
[13:38:39] *** teeray has quit IRC
[13:38:44] *** krnflake has quit IRC
[13:38:47] *** spookyfork has quit IRC
[13:38:56] *** fbenoit has quit IRC
[13:38:56] *** mbroadst has quit IRC
[13:39:09] <chakkimatti> Can I have a conditional controller init like this: <div ng-if="token" ng-controller="ResetCtrl" ng-init="init()"></div> ?
[13:39:23] *** jtimon has quit IRC
[13:39:28] <OnkelTem> So either $http.get is 6x times slower then real request or it adds some great overhead
[13:39:30] *** partikus has joined #angularjs
[13:39:37] <OnkelTem> any ideas?
[13:39:55] *** krnflake has joined #angularjs
[13:40:10] *** DrMabuse has joined #angularjs
[13:40:11] <carpediembaby> chakkimatti: why don't you put the condition in the init function?
[13:40:16] <chakkimatti> OnkelTem: do you have some array map action in between?
[13:40:17] *** mbroadst has joined #angularjs
[13:40:48] *** Alina-malina has quit IRC
[13:41:01] *** lsiv568 has joined #angularjs
[13:41:20] <chakkimatti> carpediembaby: Hmm.. ah! Yes - why don't I do that?
[13:41:23] *** rockfordal has quit IRC
[13:41:29] <chakkimatti> Because I'm not too bright?
[13:41:42] <chakkimatti> thanks carpediembaby
[13:42:10] *** GeertVL has quit IRC
[13:42:13] <carpediembaby> chakkimatti: no problem ! sometimes you just need a fresh look at the issue :)
[13:42:14] *** rockfordal has joined #angularjs
[13:42:15] *** jk-5|gone has joined #angularjs
[13:42:18] *** mmitchell has joined #angularjs
[13:42:42] <OnkelTem> chakkimatti: nothing at all. I can create a plunker
[13:42:51] <OnkelTem> chakkimatti: should I?
[13:42:55] *** wiherek has quit IRC
[13:43:02] *** kas84 has quit IRC
[13:43:22] <chakkimatti> OnkelTem: Well, it might help realize it
[13:43:25] <Left_Turn> plunker?
[13:43:37] <chakkimatti> plnkr.co
[13:43:54] <sacho> djam90, if you want to programatically affect your carousel, you could have a service that creates carousel "instances"
[13:43:59] <Left_Turn> oh:)
[13:44:22] <sacho> and then pass the carousel "instance" object to your directive
[13:44:42] <sacho> other than that, it doesn't seem like there's a lot of scopes?
[13:44:50] *** kas84 has joined #angularjs
[13:45:03] *** Joulse has joined #angularjs
[13:45:43] *** BruNeX_ has quit IRC
[13:45:58] *** mmitchel_ has joined #angularjs
[13:46:34] *** icodefor_ has quit IRC
[13:46:57] *** mattwynne has joined #angularjs
[13:47:15] *** Snugug has joined #angularjs
[13:47:41] *** narutimateum2 has joined #angularjs
[13:48:32] *** rockfordal has quit IRC
[13:48:43] *** deleted_ has joined #angularjs
[13:48:52] *** raghunayyar has joined #angularjs
[13:49:32] *** mmitchell has quit IRC
[13:49:41] *** pluma has joined #angularjs
[13:49:56] *** digiaz has joined #angularjs
[13:50:10] *** DrMabuse has quit IRC
[13:50:19] *** narutimateum2 has quit IRC
[13:50:19] *** digiaz is now known as digia
[13:50:36] *** narutimateum has quit IRC
[13:51:37] *** ajk27 has quit IRC
[13:51:47] *** deleted has quit IRC
[13:51:49] *** digia|away has quit IRC
[13:52:08] *** avens has joined #angularjs
[13:52:20] *** hachiya has quit IRC
[13:52:25] *** daryllxd has joined #angularjs
[13:52:55] *** bengillies has quit IRC
[13:52:59] <daryllxd> hi all, what is the directory where angular bases templateUrl in a directive from?
[13:53:55] *** hachiya has joined #angularjs
[13:54:16] *** akrikos has joined #angularjs
[13:55:03] <sacho> it's relative to the current page's url
[13:55:36] *** HACKING-TWITTER has quit IRC
[13:56:10] *** brick__ has joined #angularjs
[13:56:10] *** mbroadst has quit IRC
[13:56:33] *** mbroadst has joined #angularjs
[13:56:41] *** DrMabuse has joined #angularjs
[13:56:48] *** rockfordal has joined #angularjs
[13:56:49] *** Jdubs has joined #angularjs
[13:56:52] *** DrMabuse has quit IRC
[13:57:07] *** DrMabuse has joined #angularjs
[13:57:40] *** HACKING-TWITTER has joined #angularjs
[13:57:41] *** fixl has joined #angularjs
[13:57:46] *** Alina-malina has joined #angularjs
[13:57:47] *** HACKING-TWITTER has quit IRC
[13:58:16] *** Milanito has joined #angularjs
[13:58:23] *** Sgeo has quit IRC
[13:58:33] <daryllxd> I think this is a bit nooby but what exactly does this mean? I'm on Rails, the page is at app/views/home/index.html.haml
[13:58:51] <daryllxd> the template is in app/assets/javascripts/angular/templates/paging.html
[13:59:05] *** fbenoit has joined #angularjs
[13:59:17] *** HACKING-TWITTER has joined #angularjs
[13:59:50] *** dbouwman has joined #angularjs
[13:59:51] *** tlvince has quit IRC
[14:00:03] *** JckPry has joined #angularjs
[14:00:26] <Foxandxss> try /templates/paging.html
[14:00:35] <Foxandxss> wait wait wait wait wait
[14:00:36] *** HACKING-TWITTER has joined #angularjs
[14:00:40] <Foxandxss> rails?
[14:00:45] <Foxandxss> that is problematic
[14:00:47] *** HACKING-TWITTER has quit IRC
[14:00:47] *** tarnus has joined #angularjs
[14:00:52] *** krnflake has quit IRC
[14:01:02] *** rockfordal has quit IRC
[14:01:07] <Foxandxss> you're gonna need to put templates under /assets
[14:01:09] *** eperez_ has joined #angularjs
[14:01:16] <Foxandxss> and then put .erb as an extension tot he javascript file
[14:01:23] <Foxandxss> and use <% asset_path .... %>
[14:01:28] *** brik has quit IRC
[14:01:33] *** rockfordal has joined #angularjs
[14:01:35] *** Jdubs has quit IRC
[14:01:38] <Foxandxss> never ever use angular inside an angular application
[14:01:46] <Foxandxss> inside a rails app*
[14:01:48] *** eperez_ has joined #angularjs
[14:01:53] *** Efrem has joined #angularjs
[14:01:57] *** krnflake has joined #angularjs
[14:01:59] *** HACKING-TWITTER has joined #angularjs
[14:02:30] *** raghunayyar has quit IRC
[14:02:30] *** raghunayyar has joined #angularjs
[14:02:31]
<JckPry> Hey, I'm using a module called ngTagsInput (http://github.com/mbenford/ngTagsInput) however, when I try and "load" a tag field with data (from inside a ngInclude'd view) it seems to replace the whole model and replace all keys with just those of "tag'd" keys
[14:02:48] *** hannesvdvreken has quit IRC
[14:02:58] <sacho> daryllxd, I've never used rails so see what Fox said, but you can also use <script> tags with templates as a last resort.
[14:03:09] <Foxandxss> indeed
[14:03:10] *** HypnotiX has quit IRC
[14:03:18] <JckPry> I.e. model = {"hello":"world", "tags": []}. then when i set the ng-model of the tag, it gets set to {"tags":[]}
[14:03:20] <Foxandxss> there are some gems that gets all your templates and output them into index.html
[14:03:24] *** HACKING-TWITTER has joined #angularjs
[14:03:29] <Foxandxss> so you don't need to fight with the assets pipeline
[14:03:31] *** HACKING-TWITTER has quit IRC
[14:03:32] <djam90> Does AngularJS work okay with iPad air?
[14:03:43] <Foxandxss> djam90: sure, why not
[14:03:53] *** HypnotiX has joined #angularjs
[14:03:56] *** jlambert has quit IRC
[14:04:13] <djam90> got Sly Carousel in an Angular app and all was working fine on previous ipads etc, but in the latest ipad air with safari it doesn't scroll when the data is refreshed :\
[14:04:18] <sacho> JckPry, can you make a test case on plunker
[14:04:26] <Foxandxss> I see
[14:04:28] <JckPry> sacho: Sure.
[14:04:31] *** stayarrr has quit IRC
[14:04:32] <Foxandxss> safari is pain in the ass
[14:04:35] *** dbouwman has quit IRC
[14:04:41] <daryllxd> so paging.html.erb
[14:04:46] *** HACKING-TWITTER has joined #angularjs
[14:04:49] <sacho> djam90, well, the problem is probably with the scrolling, not angular specifically
[14:04:54] *** HACKING-TWITTER has quit IRC
[14:04:57] <Foxandxss> daryllxd: consider creating an angular app outside rails
[14:05:17] <daryllxd> then templateUrl: " <%= asset_path %> + templates/paging.html" %>
[14:05:22] *** sneakertack has joined #angularjs
[14:05:26] <djam90> sacho, hmm :( probably Sly Carousel being rubbish then
[14:05:35] <Foxandxss> daryllxd: that is not quite the syntax
[14:05:38] <daryllxd> Foxandxss: if same repo, does this mean putting it in the public or
[14:05:46] <daryllxd> btw still very new to angular
[14:05:52] <daryllxd> cause right now
[14:06:08] *** HACKING-TWITTER has joined #angularjs
[14:06:10] <djam90> sacho, the scrolling works perfectly, but when we change the data that is in the ng-repeat in the slider, then it breaks, though works fine on other devices
[14:06:13] *** nukulb has joined #angularjs
[14:06:24] *** eperez_ has quit IRC
[14:06:27] <Foxandxss> daryllxd: the end result will end on /public yes
[14:06:29] *** pgu has joined #angularjs
[14:06:48] <Foxandxss> brb lunch
[14:06:57] *** davzie1 is now known as davzie
[14:07:20] *** arizzo has joined #angularjs
[14:07:26] <daryllxd> ok
[14:08:38] *** joroci has quit IRC
[14:09:15] *** jamto11 has joined #angularjs
[14:09:18] *** JckPry has quit IRC
[14:09:19] *** JckPry has joined #angularjs
[14:09:22] *** joroci has joined #angularjs
[14:10:10] *** sacho_ has joined #angularjs
[14:10:14] *** tommyziegler1 has quit IRC
[14:10:20] *** dancek has quit IRC
[14:10:36] *** vbabiy has joined #angularjs
[14:10:52] *** Joulse has quit IRC
[14:11:01] <storkme> worried about that
[14:11:04] <storkme> oops ignore that
[14:11:12] *** stayarrr has joined #angularjs
[14:11:23] *** elrabin has joined #angularjs
[14:11:25] *** eperez has joined #angularjs
[14:11:48] *** nodweber_ has quit IRC
[14:12:15] *** Yahkob has joined #angularjs
[14:12:20] *** sloria has joined #angularjs
[14:12:40] *** Joulse has joined #angularjs
[14:12:42] *** DrMabuse has quit IRC
[14:13:00] *** thomastuts has joined #angularjs
[14:13:08] *** sacho has quit IRC
[14:13:27] *** mbroadst has quit IRC
[14:13:51] *** mbroadst has joined #angularjs
[14:13:52] *** mbroadst has joined #angularjs
[14:13:57] *** jamto11 has quit IRC
[14:13:57] *** edzez_ has quit IRC
[14:14:08] *** nodweber has joined #angularjs
[14:14:09] *** DrMabuse has joined #angularjs
[14:14:28] *** edzez_ has joined #angularjs
[14:14:46] <djam90> Does anyone here have an iPad Air and maybe any dev tools they can debug with?
[14:15:19] *** sk87 has joined #angularjs
[14:15:24] *** peldan_ has quit IRC
[14:15:41] *** bayousoft has joined #angularjs
[14:16:13] *** avens has quit IRC
[14:16:38] *** bmcgee has joined #angularjs
[14:16:44] <JckPry> djam90: I do.
[14:17:06] *** peldan has joined #angularjs
[14:17:06] *** Yahkob has quit IRC
[14:17:40]
<djam90> I have a URL: http://josh.sourceengine.co.uk/newcar/search/ford/focus and it works fine on desktop and initially works fine on ipad except that when you click "View the full range" the carousel breaks and just wonder if you could see anything sticking out that says YES
[14:17:47] *** nagappan has quit IRC
[14:18:25] *** nagappan has joined #angularjs
[14:18:51] *** Sebastien-L has joined #angularjs
[14:19:18] *** sloria has quit IRC
[14:21:56] <djam90> I found out what is causing the issue, perhaps you might know why? When an item in the carousel becomes "active" in Sly terms, it calls a function, and in this function I called another function to fetch the below filter section and the results all in one go. If I remove the line that causes everything below to load, then the carousel works as it should
[14:22:03] <djam90> is it a performance issue for ipads?
[14:22:13] <djam90> as it works on desktop and even my Android
[14:22:44] *** Ethix has quit IRC
[14:22:50] *** bengillies has joined #angularjs
[14:23:04] <djam90> so there is the carousel at top, middle section is the filters, then results at the bottom. Every time an item in the slider becomes "active" it fetches the filters and results. When I stop this behavior, scrolling works normally again.
[14:23:13] *** jonog has quit IRC
[14:23:25] *** bengillies has quit IRC
[14:23:30] <djam90> Again - the issue is that when you change to the "view full range" or "view motability" it breaks scrolling
[14:23:31] *** dariocravero has quit IRC
[14:23:31] *** danielpquinn has joined #angularjs
[14:23:36] *** Snugug has quit IRC
[14:23:47] *** jonog has joined #angularjs
[14:24:29] <djam90> could it be because my ajax calls are via jquery ajax instead of via angular?
[14:24:47] *** aslate has joined #angularjs
[14:25:07] <Foxandxss> daryllxd: coupling the frontend with the backend makes no sense and only brings problems
[14:25:12] *** jonog has quit IRC
[14:25:24] <mmitchel_> i have a directive that wraps other HTML, and that HTML also includes custom directives. So in my wrapper, I set transclude=true and then provide a template that also contains an ng-transclude element. All of my non-custom-directive children appear in the ng-transclude fine, but my custom directives do not. What am I missing here?
[14:25:33] <sakustar> djam90: note2 @ 4.4.x chokes with that page too
[14:25:39] *** DevAntoine has joined #angularjs
[14:25:48] <sakustar> atleast on firefox
[14:26:03] *** tlvince has joined #angularjs
[14:26:11] *** aslate has quit IRC
[14:26:21] <daryllxd> Foxandxss: whats your opinion on $templateCache
[14:26:21] *** dancek has joined #angularjs
[14:26:34] *** aslate has joined #angularjs
[14:26:35] *** cassler has joined #angularjs
[14:26:38] <Foxandxss> daryllxd: that is the best solution
[14:26:45] <Al`> caitp: I just saw your link - thanks so much, that's exactly what I'm after
[14:26:54] *** lw has joined #angularjs
[14:27:09] <daryllxd> yeah cause I was checking another project which has templates in the assets directory
[14:27:15] <djam90> The code is sakustar yeah on Chrome it is a bit weird but it does work
[14:27:17] <daryllxd> so either do that + $templateCache
[14:27:25] <daryllxd> or just separate things entirely
[14:27:32] <mmitchel_> D'oh! Never mind - my problem was that data was not being passed through correctly so the child directives (lots of ng-repeat's) had nothing to loop over.
[14:27:36] <Foxandxss> the later is better
[14:27:37] <daryllxd> have Rails act as just the API?
[14:27:43] <Foxandxss> yes
[14:27:46] <Foxandxss> you have two options
[14:27:56] *** danielpquinn has quit IRC
[14:28:06] <daryllxd> if sharing the same repo, everything "front-end related" is in the "/public: directory
[14:28:09] <daryllxd> ?
[14:28:09] <Foxandxss> mixing both rails + angular together at deploy time (moving angular to /public when you finish)
[14:28:13] <Foxandxss> or going CORS all the way down
[14:28:19] <Foxandxss> no
[14:28:33]
<djam90> My code is here if you could see anything causing the issue with the carousel http://jsbin.com/bumedata/1/edit?html,js specifically the part at the bottom of the JS code in the directive, in the scope.setActive function calling scope.clickSeriesFn breaks the scrolling
[14:28:36] *** rikkus has joined #angularjs
[14:28:42] *** nukulb has quit IRC
[14:28:44] <rikkus> Hi
[14:28:47] *** bkuberek has joined #angularjs
[14:28:50] *** nodweber has quit IRC
[14:28:54] <Foxandxss> angular is on /frontend
[14:29:01] <Foxandxss> which has its own workflow
[14:29:13] <Foxandxss> and when you build it, you can move it safely to /public
[14:29:16] <daryllxd> oks will check, but
[14:29:21] <daryllxd> have to eat lunch first lol
[14:29:24] <Foxandxss> I mean, you move to /public the end result, not the development files
[14:29:26] *** nodweber has joined #angularjs
[14:30:40] *** jonog has joined #angularjs
[14:31:32] <rikkus> There seem to be a few very small Drag+Drop libraries around that people have made. Is there a comprehensive, all-powerful one around which supports things like options (e.g. copy rather than move, custom highlighting of drop zones and dragged elements, etc.)? I'm managing okay, but feel like what I want could exist already but be tricky to find :)
[14:32:05] *** ccohn has joined #angularjs
[14:32:38] <OnkelTem> There are few lines of code. No errors, I'm basically out of ideas!
[14:32:40] *** ccohn has quit IRC
[14:32:59] <djam90> anyone know why the carousel breaks on ipad? JckPry did you manage to look?
[14:33:04] *** krnflake has quit IRC
[14:33:18] *** bkuberek has quit IRC
[14:33:18] *** marcghorayeb is now known as marcghorayeb|afk
[14:33:19] *** ccohn has joined #angularjs
[14:33:50] *** OdinIncarnate has joined #angularjs
[14:34:00] *** ClarusCogitatio has quit IRC
[14:34:05] *** nodweber has quit IRC
[14:34:06] *** rockfordal has quit IRC
[14:34:18] *** fels_zh has quit IRC
[14:34:29] *** rockfordal has joined #angularjs
[14:34:31] *** krnflake has joined #angularjs
[14:35:00] *** fels_zh has joined #angularjs
[14:35:48] <texinwien> What is the best way to tie an ng-click on an ng-repeat item back to the collection member from which the item was created?
[14:36:00] *** SpearThruster has quit IRC
[14:36:02] *** marcghorayeb|afk is now known as marcghorayeb
[14:36:20] *** nshahpazov has quit IRC
[14:36:21] *** msafi1 has joined #angularjs
[14:37:08] *** tommyziegler1 has joined #angularjs
[14:37:16] *** joroci has quit IRC
[14:37:29] <Foxandxss> dman777: does the log on the watch return something?
[14:37:35] *** lw has quit IRC
[14:37:38] <Foxandxss> and also, that result is global
[14:37:47] *** ccohn has quit IRC
[14:37:52] *** raibutera has joined #angularjs
[14:38:03] *** joroci has joined #angularjs
[14:38:31] *** msafi has quit IRC
[14:38:38] *** jreeter_ has joined #angularjs
[14:39:09] <dman777> Foxandxss: only when it first runs..but what is wierd is when I click on the view over and over....then it will update in a manual fashion.
[14:39:26] *** fels_zh has quit IRC
[14:39:30] *** moritzs has joined #angularjs
[14:39:39] *** DrMabuse has quit IRC
[14:39:39] <Foxandxss> the log should popup in every digest
[14:39:43] <Foxandxss> the one at line 36
[14:40:01] *** Willow has joined #angularjs
[14:40:02] <hubertusanton> hi! stuck for few days now :|
[14:40:06] <dman777> Foxandxss: ya...it does...but only if i click on the view manually repeatedly
[14:40:12] *** arizzo has quit IRC
[14:40:17] <hubertusanton> product type filter is working
[14:40:38] <hubertusanton> only the ng-repeat in the ng-repeat i cannot get unique in any way
[14:40:44] <Foxandxss> dman777: and how you expect it to be triggered?
[14:40:53] *** ClarusCogitatio has joined #angularjs
[14:41:21] *** nshahpazov has joined #angularjs
[14:41:31] <texinwien> Here I have an ng-repeat with items based on a.b.c.circles
[14:41:41] <texinwien> I have an ng-click on each circle
[14:41:47] <dman777> Foxandxss: when a sse event comes in to updates the scope variables and show in the view without the manual clickinng on the view
[14:41:52] *** bayousoft has quit IRC
[14:41:56] *** Asiajey has quit IRC
[14:42:09] <texinwien> I would like to set a.g.c.circles[clickedCircle].clicked = true when a circle is clicked on.
[14:42:20] <Foxandxss> dman777: what only runs when you trigger $apply
[14:42:22] <Foxandxss> you or angular
[14:42:30] <Foxandxss> s/what/watch
[14:42:39] <texinwien> how do I tie the click back to the item in the array that the ng-repeat item is based on?
[14:42:41] <hubertusanton> someone must have come accross this issue with an unique in a nested ng-repeat
[14:42:42] *** DrMabuse has joined #angularjs
[14:43:01] *** SahanH has joined #angularjs
[14:43:12] <hubertusanton> as you can see the filter on product type (Fat Snack for example :)) works ok
[14:43:22] *** danizord has joined #angularjs
[14:43:40] *** disorder20 has joined #angularjs
[14:43:45] <hubertusanton> if only i can get the second repeat to be unique ...
[14:43:46] <Foxandxss> hubertusanton: patience, there is no need to repeat yourself after 3 minutes
[14:43:57] *** intellix has quit IRC
[14:44:04] <Foxandxss> if someone knows or wants to help, he will
[14:44:06] *** DrMabuse has quit IRC
[14:44:09] <Foxandxss> if not, bad luck then
[14:44:17] <dman777> Foxandxss: that didn't help ether. Here is is without the reply...you can see the time stamps refresh every 5 seconds but you have to keep clicking on the view CPU
[14:44:46] <hubertusanton> srry it was even faster than 3 mins. i'll wait :-)
[14:44:57] *** disorder20 has quit IRC
[14:45:01] *** PoketAA has quit IRC
[14:45:05] *** imehesz has joined #angularjs
[14:45:17] *** nodweber has joined #angularjs
[14:45:22] *** bayousoft has joined #angularjs
[14:45:40] <Foxandxss> dman777: if the event runs outside angular, wrap the event callback into an apply
[14:46:00] <Foxandxss> probably with $rootScope
[14:46:02] *** tlvince has quit IRC
[14:46:06] <Foxandxss> uhm
[14:46:15] <Foxandxss> or maybe not
[14:46:23] *** cthrax has joined #angularjs
[14:46:31] <Foxandxss> the thing is that the event is not triggering any digest
[14:46:36] <Foxandxss> or that is what I think you're trying to say
[14:46:46] *** bayousoft has quit IRC
[14:47:01] <dman777> Foxandxss: I think so...but the event does trigger if I click on the view.
[14:47:33] <dman777> Foxandxss: which is wierd...
[14:47:48] *** intellix has joined #angularjs
[14:47:54] *** Milanito has quit IRC
[14:47:58] <Foxandxss> if the click you do triggers an apply, it is not wierd
[14:48:20] <dman777> Foxandxss: oh...ok..because it happens even without apply()
[14:48:39] <Foxandxss> angular does a lot of apply for you
[14:48:49] <dman777> Foxandxss: ah...ok. that helps.
[14:48:51] *** Evanion has joined #angularjs
[14:48:56] <dman777> in understanding what is going on
[14:49:03] *** Asiajey has joined #angularjs
[14:49:56] <Evanion> Hello, Anyone know how to add a chevron/arrow/indicator to a ng-repeat sort/ng-click?
[14:50:15] <Foxandxss> dman777: basically you need to tell angular that when an event of that type comes, you want to trigger a digest
[14:50:26] <ppppaul> Evanion, ?
[14:50:45] <ppppaul> on click you want the order to change?
[14:50:57] <ppppaul> there is examples of this in the filters documentation
[14:51:05] *** brockm has quit IRC
[14:51:20] <Evanion> and it want it to update an icon in the ng-click element to indicate rising or falling
[14:51:26] <Evanion> and I*
[14:51:29] <Asiajey> Evanion: you want to add class on change ? ng-class
[14:51:33] *** walden|afk is now known as walden
[14:51:38] *** ccohn has joined #angularjs
[14:51:40] <Evanion> I have already fixed the actual sorting
[14:51:45] <Evanion> yea
[14:52:20] *** saumya has quit IRC
[14:52:26] <Asiajey> Evanion: just set ng-class with function/model which indicates sort order and return schevron class for it
[14:52:58] *** stayarrr has quit IRC
[14:53:12] <Evanion> here is my markup: <a href="" class="uk-button" ng-click="predicate = 'fname'; reverse=!reverse">Förnamn <i class="uk-icon-chevron-up"</a>
[14:53:25] <Evanion> so I would add ng-class to the ‘i’ tag
[14:53:29] *** Snugug has joined #angularjs
[14:53:49] *** Milanito has joined #angularjs
[14:53:53] <Evanion> ops … incomplete ‘i’ tag … typo ;)
[14:54:07] <Asiajey> what the problem ? <i ng-class="chevron()">....
[14:55:40] <texinwien> hubertsanton: have you considered filtering the items via underscore / lodash?
[14:56:03] <texinwien> See the "$scope.allProductTypes" function I added to ProductController.js
[14:56:06] *** cassler has quit IRC
[14:56:15] *** bmac has joined #angularjs
[14:56:26] <Hounddog> How could i get the media size in the view? am having a small issue where i have to add/remove stuff according the viewsize. Not just show/hide it
[14:57:01] <dman777> Foxandxss: since the view is updating the scope on each click... is watch() detecting it?
[14:57:09] <texinwien> hubertusanton: sorry, misspelled your name
[14:57:12] *** klaut has joined #angularjs
[14:57:21] *** knownasilya has joined #angularjs
[14:57:23] *** teslanick has joined #angularjs
[14:57:25] *** jelle___ has joined #angularjs
[14:57:27] *** jreeter_ has quit IRC
[14:57:28] <jelle___> hi
[14:57:45] <jelle___> i have a bearertoken architecture and do my initial login with basic auth
[14:57:50] *** teslanick has left #angularjs
[14:57:52] <jelle___> when the basic auth fails, I get the browser window
[14:58:01] *** Milanito has quit IRC
[14:58:02] <chakkimatti> console logging $routeParams logs Object { token : "12345" } but console logging $routeparams.token gives undefined. Why?
[14:58:02] <jelle___> before my 401 gets to angular
[14:58:08] *** DrMabuse has joined #angularjs
[14:58:20] <Hounddog> or hmmm i could propably just use a directlive which watches on the viewsize and accordingly add/remove the stuff
[14:58:21] *** msafi has joined #angularjs
[14:58:22] <jelle___> anyone has a custom basic auth login form?
[14:58:33] <jelle___> or is this something impossible to do with this setup?
[14:58:51] *** Aartsie_ has quit IRC
[14:59:03] *** msafi1 has quit IRC
[14:59:24] <hubertusanton> texinwien, yes i used underscore in the controller but that broke the unique filter angular ui offers :-|
[14:59:31] <hubertusanton> ty for answering
[14:59:36] *** mtsr has quit IRC
[14:59:49] *** TorchDragon has joined #angularjs
[14:59:50] *** krawchyk has joined #angularjs
[14:59:52] *** m0t0r has joined #angularjs
[15:00:12] <texinwien> have a look at the plunker - if it's not possible with angular unique, I'm sure you can manage it with underscore.
[15:00:32] <JckPry> Any idea why my ngInclude is only getting the first object from a ngRepeat no matter what?
[15:00:43] *** dbouwman has joined #angularjs
[15:00:44] *** Aartsie_ has joined #angularjs
[15:00:57] <JckPry> i.e. ng-repeat="foo in bar"
[15:01:02] *** Bardosity has quit IRC
[15:01:11] <Asiajey> JckPry: check the console, probably error here,
[15:01:14] <hubertusanton> texinwien thanks a lot! that really helped me out!
[15:01:20] <JckPry> Always, no matter how big the for loop is it will always use the first "foo
[15:01:23] *** G________ has quit IRC
[15:01:28] *** livingstn has joined #angularjs
[15:01:29] <texinwien> gern geschehen!
[15:01:54] *** xastey has joined #angularjs
[15:01:55] *** cthrax has quit IRC
[15:01:56] *** dancek has quit IRC
[15:02:43] *** fixl has quit IRC
[15:02:51] *** fels_zh has joined #angularjs
[15:02:52] *** daslicht has quit IRC
[15:03:11] *** samsamm777 has joined #angularjs
[15:03:53] *** fbenoit has quit IRC
[15:04:19] *** sloria has joined #angularjs
[15:04:24] <JckPry> Asiajey: No errors. It seem to output the content correctly on the "original" page, however it's only the include that uses the "stale" content
[15:04:54] <Asiajey> JckPry: can you repeat it in plnkr ?
[15:05:02] *** massi_syed has quit IRC
[15:05:12] <JckPry> It's kinda of difficult to replicate this setup :/
[15:05:15] *** m_davitz has joined #angularjs
[15:05:17] *** dbouwman has quit IRC
[15:05:22] *** atomical has joined #angularjs
[15:05:46] *** Hari_ has joined #angularjs
[15:05:52] <Hari_> haiiiiiii
[15:05:56] <Hari_> anybody therer??
[15:06:13] <Hari_> any Angular JS Geek here??
[15:06:22] *** [mX] has joined #angularjs
[15:06:32] <Hounddog> Hari_: no one is here
[15:06:42] <JckPry> Asiajey: It's kinda of difficult to replicate this setup :/
[15:06:50] *** jshultz has joined #angularjs
[15:06:54] <Hari_> Good joke @ounddog
[15:06:59] <Hari_> *HoundDog
[15:07:00] *** avens has joined #angularjs
[15:07:04] <Hounddog> Hari_: Asking about asking, or asking if anyone is online, or taking a survery of who knows about component X will often be ignored on IRC. Please don't feel you have to ask to ask, just ask, you will be much more likely to get a response.
[15:07:08] *** joroci has quit IRC
[15:07:34] <Hari_> How angular Js is different from aother Javascript libraries?
[15:08:07] *** joroci has joined #angularjs
[15:08:11] *** mbroadst has quit IRC
[15:08:12] <Asiajey> JckPry: try to do reduce your setup to repeat problem, usually it works without problem,
[15:08:39] <Hounddog> and so on
[15:08:58] <Hounddog> Hari_: try using google or any other search engine... there is plenty of information out there ;)
[15:09:03] *** mnngfltg has joined #angularjs
[15:09:14] <Hari_> Thanks for the link...
[15:09:16] *** Milanito has joined #angularjs
[15:09:44] <Hari_> I expected some straight forward answer
[15:09:59] *** apetro_ has joined #angularjs
[15:10:13] <Hari_> as there is no point of joining here if everthing is found by googling
[15:10:18] <Hounddog> Hari_: you ask the difference between Angular and any other js libary and want a straight answer? You want us to write an essay for you?
[15:10:22] *** fbenoit has joined #angularjs
[15:10:55] <Hari_> hehe..No ...A couple of core points would be enough......
[15:10:58] *** mikaeldice has quit IRC
[15:11:10] <Hounddog> Hari_: There are hundreds of libraries out there and i am not willing to compare all of them to Angular to give you a detailed list of the differences.
[15:11:35] *** cisox has joined #angularjs
[15:11:49] <Asiajey> Hari_: how tree different from snake ?
[15:12:03] <Hounddog> Hari_: maybee you should be clear on what difference you are looking for ;)
[15:12:06] <Hari_> I agree.... But there are only few libraries which are worth discussing (which are frequently asked in interviews) to be frank :)
[15:12:18] <Asiajey> Hari_: how snake different from other species ?
[15:13:21] <Hari_> Out of subject @asiajey
[15:13:23] <Hounddog> Oh so i should only go and give you a comparison of angular, dojo, extjs, jquery, MoTools, Prototype... just a few noteworthy ones
[15:13:25] *** rmichnik has joined #angularjs
[15:13:49] <Hari_> 90% people are using Jquery
[15:13:59] <Hari_> Maybe coupple of dojo people
[15:14:04] <Hounddog> Hari_: i can do that, give me about 6 hours for the documentation and an hourly rate of 90 euros
[15:14:18] <twisted`_> hey
[15:14:31] <twisted`_> I need to include a view that is generated by the server, there's sadly no way around it
[15:14:38] <twisted`_> so I've tried multiple things
[15:14:44] <twisted`_> but for some reason, I can't get it to include
[15:14:54] <Hounddog> Hari_: now you are saying any other library is now jquery?
[15:14:59] *** aslate has quit IRC
[15:15:18] <twisted`_> I've tried a relative path, doesn't work... ( src="'../../navigation.html'" )
[15:15:34] *** lw has joined #angularjs
[15:15:37] *** rockfordal has quit IRC
[15:15:42] <twisted`_> I've tried having it generate it on the location it might expect it ( src="'views/navigation.html'" )
[15:15:44] <Hari_> As you said the same in the link you redirected me...
[15:16:00] <twisted`_> however because it places single quotes around the filename it doesn't get found
[15:16:01] *** dancek has joined #angularjs
[15:16:15] <twisted`_> and because it's not an 'actual' file, AngularJS of course doesn't load it
[15:16:16] <twisted`_> any idea?
[15:16:29] <Hari_> Before me speaking about jquery , you have mentioned about jquery in your link
[15:16:50] <Hounddog> Then go and look ath the comparisons
[15:17:06] *** RcDABO has joined #angularjs
[15:17:11] <RcDABO> hi
[15:17:15] <RcDABO> this is a silly question
[15:17:17] <RcDABO> but
[15:17:35] *** Rajendra has joined #angularjs
[15:17:37] <RcDABO> is it possible to have more than one controller declared in a tag?
[15:17:39] *** Hari_ has quit IRC
[15:17:52] *** Snugug has quit IRC
[15:18:02] <RcDABO> ng-controller = "Ctrl1 Ctrl2 ..."
[15:18:18] <Rajendra> hi there
[15:18:19] *** tlvince has joined #angularjs
[15:18:23] *** CodeFriar has joined #angularjs
[15:18:53] *** aslate_ has joined #angularjs
[15:19:01] <twisted`_> <div ng-include="" src="'views/toolbar/navigation.html'" class="ng-scope"></div>
[15:19:05] <twisted`_> that's what I try to include
[15:19:09] *** maurovitale has joined #angularjs
[15:19:35] *** dashed has quit IRC
[15:19:38] *** sloria has quit IRC
[15:19:49] <twisted`_> why would angularjs refuse to load that file?
[15:19:53] <Rajendra> I am facing issue with loading json file , can anyone help me out ?
[15:19:59] *** [mX] is now known as mbroadst
[15:20:22] <Asiajey> Rajendra: just ask.
[15:20:48] *** jdj_dk has quit IRC
[15:21:00] *** FunnyLookinHat has joined #angularjs
[15:21:37] *** sloria has joined #angularjs
[15:21:38] *** mbroadst has quit IRC
[15:22:24] <Rajendra> hi Asiajey , i am trying to load json file where my controller and module are in separate .js file , i put all my codes in Xampp
[15:22:43] *** BillCriswell has joined #angularjs
[15:22:54] <twisted`_> anyone?
[15:23:00] <ppppaul> i am learning the css
[15:23:06] <ppppaul> css is the hard
[15:23:29] *** 1JTAARXMN is now known as HoloPed
[15:23:37] <Rajendra> but still not working , showing error SyntaxError: Unexpected token }
[15:23:52] *** mbroadst has joined #angularjs
[15:23:55] *** sloria has quit IRC
[15:23:58] <jelle___> when using $location, can i pass a value to the new initialized controller?
[15:23:59] <chakkimatti> I have no idea - it shouldn't do that right?
[15:24:06] *** danielpquinn has joined #angularjs
[15:24:26]
<tlvince> I've a spec that's throwing 'Unexpected request: GET ... .html'. I'm familiar with "httpBackend.when('GET', …" mocking, but I'm not sure which spec is throwing the error (Karma + 'progress' reporter doesn't mention it). How can I find the culprit? Usually the spec name is printed, but in this case, I'm just seeing: https://gist.github.com/tlvince/ec9cefe5793fc0fce299
[15:24:50] <Asiajey> twisted`_: it should work i think
[15:25:06] *** icodefor_ has joined #angularjs
[15:25:12] <twisted`_> the bizarre thing is I now see in my network inspector
[15:25:12] *** sloria has joined #angularjs
[15:25:13] *** aniM has joined #angularjs
[15:25:15] <twisted`_> that it loaded but
[15:25:16] *** [mX] has joined #angularjs
[15:25:19] *** FIFOd[a] has joined #angularjs
[15:25:30] *** [mX] has quit IRC
[15:25:30] <twisted`_> it claims the response is: []
[15:25:31] *** krupnik has quit IRC
[15:25:33] *** nodweber has quit IRC
[15:25:35] <twisted`_> that's the entire response
[15:26:08] <Asiajey> but it looks like your request incorrect,
[15:26:43] <Asiajey> Rajendra: your json not json probably, check the response in network console
[15:27:24] *** icfantv has joined #angularjs
[15:27:26] <Rajendra> i tried the same .. but not able to figure it out
[15:28:10] *** Matt_Ricketts has joined #angularjs
[15:28:18] *** khayes has joined #angularjs
[15:28:23] *** mbroadst has quit IRC
[15:28:47] *** spookyfork has joined #angularjs
[15:29:01] *** rockfordal has joined #angularjs
[15:29:11] *** danielpquinn has quit IRC
[15:30:03] *** spookyfork has quit IRC
[15:30:38] *** shackleford has joined #angularjs
[15:30:42] *** sirkitree|afk|af is now known as sirkitree
[15:30:50] <RcDABO> is it possible to have more than one controller declared in a tag? ng-controller = "Ctrl1 Ctrl2 ..."
[15:31:26] *** shacklef_ has joined #angularjs
[15:31:27] *** shackleford has quit IRC
[15:31:28] *** unexpectedWaffle has joined #angularjs
[15:31:40] *** teeray has joined #angularjs
[15:31:45] <twisted`_> found the issue
[15:31:50] <twisted`_> AngularJS sends the Request as:
[15:31:53] <twisted`_> "application/json, text/plain, */*"
[15:31:56] *** Ronyrun has quit IRC
[15:31:56] *** Asiajey has quit IRC
[15:31:57] <twisted`_> for the Accept
[15:32:00] *** geilt has joined #angularjs
[15:32:07] *** hychen has joined #angularjs
[15:32:49] *** Asiajey has joined #angularjs
[15:32:50] *** Asiajey has joined #angularjs
[15:32:55] *** Tidwell has joined #angularjs
[15:34:04] *** nodweber has joined #angularjs
[15:34:15] *** Snugug has joined #angularjs
[15:34:18] *** krawek has joined #angularjs
[15:35:23] *** apetro_ has quit IRC
[15:35:47] <sacho_> twisted`_, what's the issue with that
[15:36:11] <twisted`_> sacho_: somehow, it triggers the server in returning application/json for that URL which is an empty array
[15:36:26] <twisted`_> sacho_: I just tried with curl, if I do "Accept: text/html" it returns the file properly
[15:36:33] <sacho_> sounds like the issue is with the server
[15:36:57] <twisted`_> no it's preference
[15:37:01] <twisted`_> the order is important
[15:37:11] *** illume has quit IRC
[15:37:24] <sacho_> I'm aware of what an Accept header does
[15:37:25] <twisted`_> application/json makes sense if the requested content should be json, but it is HTML at that point
[15:38:16] <twisted`_> now it's figuring out if it's easier to tell the server to ignore the application/json accept or to tell angularjs to load that specific resource with a specific Accept header
[15:38:16] *** SahanH has quit IRC
[15:38:24] *** joroci has quit IRC
[15:38:25] *** sirkitree is now known as sirkitree|afk
[15:38:29] *** sirkitree|afk is now known as sirkitree
[15:38:39] *** juampy has joined #angularjs
[15:38:40] *** bayousoft has joined #angularjs
[15:38:41] *** joroci has joined #angularjs
[15:38:45] <sacho_> of course the server should ignore a preference for json when serving an html file.
[15:38:49] *** Ymesio has joined #angularjs
[15:39:20] *** dashed has joined #angularjs
[15:39:54] *** corban has quit IRC
[15:40:08] *** Asiajey has quit IRC
[15:40:21] *** night-owl-MBP is now known as night-owl
[15:40:51] *** dbouwman has joined #angularjs
[15:40:55] *** sloria has quit IRC
[15:40:55] *** RcDABO has quit IRC
[15:41:20] <sacho_> chakkimatti, please provide an actual test case
[15:41:21] *** bkuberek has joined #angularjs
[15:41:36] *** Damiox has joined #angularjs
[15:41:37] *** Damiox has joined #angularjs
[15:41:57] *** bkuberek_ has joined #angularjs
[15:42:02] *** apetro_ has joined #angularjs
[15:42:04] *** aniM has quit IRC
[15:42:04] *** themisterunknown has joined #angularjs
[15:42:15] *** H1FuelCell has quit IRC
[15:42:17] *** kas84 has quit IRC
[15:42:59] *** Sebastien-L has quit IRC
[15:43:07] *** rockfordal has quit IRC
[15:43:19] <texinwien> hubertusanton: I'm not sure I understand your question
[15:43:27] <sacho_> chakkimatti, your most likely problem is that console.log is asynchronous and you don't see the object as it is at that point in time, but some future modification of it.
[15:43:49] *** dashed has quit IRC
[15:44:01] *** Ymesio has quit IRC
[15:44:15] *** Rajendra has quit IRC
[15:44:20] <chakkimatti> sacho_: thanks but the logging are actually right next to each other.
[15:44:46] *** partikus has quit IRC
[15:44:52] <sacho_> chakkimatti, yes, so?
[15:44:53] *** azizur has quit IRC
[15:45:02] *** Anticom has quit IRC
[15:45:19] *** bkubere__ has joined #angularjs
[15:45:41] <chakkimatti> sacho_: I mean, there is nothing calling or changing between - I reckon.
[15:45:43] <hubertusanton> texinwien the products are filtered by a search on name and a productRegion checkbox input; this search and region selection will posibly limit the number of available product type checkboxes. Probably have to do this in the controller.
[15:45:46] *** Tuomas_ has joined #angularjs
[15:45:59] *** bkuberek has quit IRC
[15:46:02] <sacho_> chakkimatti, like I said, console.log's printing is asynchronous.
[15:46:02] *** shinnya has joined #angularjs
[15:46:11] <hubertusanton> texinwien wonder how to get search by name in the controller and limit product types on this
[15:46:20] *** apetro_ has quit IRC
[15:46:20] <sacho_> chakkimatti, if you pass it an object and then modify it, it'll print the modifications as well.
[15:46:36] *** Fire-Dragon-DoL has joined #angularjs
[15:47:08] <ppppaul> chakkimatti, use angular.copy for your logging
[15:47:18] *** H1FuelCell has joined #angularjs
[15:47:19] <texinwien> hm, yes, that may be tricky
[15:47:20] <chakkimatti> sacho_: but I don't modify it. It's really quite big a set-up (read: I'm a slow typer)
[15:47:33] <Zerot> chakkimatti: objects logged during console.log are evaluated when inspecting. Their state is not stored when logging
[15:47:44] <sacho_> chakkimatti, well, *something* is modifying it.
[15:47:59] *** cisox is now known as cisox_away
[15:48:00] <Zerot> chakkimatti: so if the object is modified after the log, that modification will show up in the log
[15:48:09] *** eperez has quit IRC
[15:48:20] *** TuomasTielinen has quit IRC
[15:48:23] <chakkimatti> sacho_: Yes.. If I knew what, I'd fix it - or be googling for a fix, rather :D
[15:48:30] *** Asiajey has joined #angularjs
[15:48:39] <sacho_> chakkimatti, what makes you think we can guess what's modifying it from your two lines of code?
[15:48:40] *** bkuberek_ has quit IRC
[15:48:42] <ppppaul> angular.copy
[15:48:57] <Zerot> chakkimatti: so during the log the token is undefined for both. but the second log stored the token refernece which is undefined. after that you actually set the token
[15:48:58] *** m0t0r has quit IRC
[15:48:59] <texinwien> you could try to replicate the products filtering in producttypes in your controller. I don't know that there's a way to access the array of filtered items
[15:49:03] *** dk01 has joined #angularjs
[15:49:12] <Zerot> so that when you check the log token looks to be set, but it was not set at that point in time
[15:49:18] <hubertusanton> texinwien thats why i had a nested loop in the first place, this way its posible to do the filters on the first loop looping the products.
[15:49:18] *** arizzo has joined #angularjs
[15:49:36] *** thebope has joined #angularjs
[15:49:41] *** jamto11 has joined #angularjs
[15:49:52] <Zerot> chakkimatti: change the first log to "console.log(JSON.stringify($routeParams));"
[15:50:01] *** Tidwell has quit IRC
[15:50:39] <chakkimatti> Zerot: okay.. wait
[15:51:01] *** josh-k has quit IRC
[15:51:24] *** jdj_dk has joined #angularjs
[15:51:28] *** josh-k has joined #angularjs
[15:51:35] *** sethetter has left #angularjs
[15:51:48] <ppppaul> console.log(angular.fromJson(JSON.stringify($routeParams)));
[15:51:56] *** yoshokatana has joined #angularjs
[15:53:00] *** aniM has joined #angularjs
[15:53:19] *** sloria has joined #angularjs
[15:53:27] *** snurfery has quit IRC
[15:53:40] *** icodefor_ has quit IRC
[15:53:53] *** denny007 has joined #angularjs
[15:53:59] *** icodefor_ has joined #angularjs
[15:54:17] <denny007> hello all ... it's possible to attach 2 custom directive to the same module?
[15:54:34] <sacho_> well, all that will do is successfully demonstrate that indeed, $routeParams doesn't have token set.
[15:55:00] <sacho_> denny007, do you mean to the same dom element?
[15:55:07] *** endash has quit IRC
[15:55:11] *** alpha080 has quit IRC
[15:55:42] *** josh-k has quit IRC
[15:55:44] *** apetro_ has joined #angularjs
[15:55:45] *** Emperor_Earth has joined #angularjs
[15:56:04] *** Emperor_Earth_ has quit IRC
[15:56:08] *** jdj_dk has quit IRC
[15:56:11] *** jdcasey has joined #angularjs
[15:56:29] <chakkimatti> Zerot: okay.. JSON.stringify does print the stringified JSON - and also $routeParams.token prints the value, but it only works on clear cache :D
[15:56:40] *** Fishy has quit IRC
[15:56:59] <chakkimatti> Reloading makes it disappear or if I have already visited the page in history.
[15:57:00] *** guilbep has quit IRC
[15:57:03] *** mrjensen has quit IRC
[15:57:04] *** jk-5|gone has quit IRC
[15:57:06] *** juampy has quit IRC
[15:57:20] *** juampy has joined #angularjs
[15:57:28] *** guilbep has joined #angularjs
[15:57:36] *** nukulb has joined #angularjs
[15:57:45] *** andkan has joined #angularjs
[15:57:49] *** icodefo__ has joined #angularjs
[15:57:53] *** aljohri has joined #angularjs
[15:58:40] *** cisox_away has quit IRC
[15:58:44] *** daivyk has joined #angularjs
[15:58:57] *** Milanito has quit IRC
[15:59:03] *** icodefor_ has quit IRC
[15:59:10] *** dashed has joined #angularjs
[15:59:13] *** JckPry has quit IRC
[15:59:18] *** Christer_ has joined #angularjs
[15:59:38] <chakkimatti> but $routeParams stays intact.
[16:00:23] *** apetro_ has quit IRC
[16:00:30] *** aljohri has quit IRC
[16:00:39] <shacklef_> Is there a way to have an empty table with 10 rows, and then populate it with an ng-repeat?
[16:01:18] *** wasabi has joined #angularjs
[16:01:20] <shacklef_> I want the user to see the empty table, and have fill up as $get request are made using $interval
[16:01:26] *** night-owl has quit IRC
[16:01:29] *** stodan has quit IRC
[16:01:42] *** wasabi is now known as Guest56441
[16:01:48] *** night-owl-MBP has joined #angularjs
[16:02:02] <sacho_> sure.
[16:02:04] *** patrickarlt has joined #angularjs
[16:02:34] *** anjumkaiser has joined #angularjs
[16:02:43] *** juanlas has joined #angularjs
[16:02:44] *** DerekPerkins has joined #angularjs
[16:02:54] *** jk-5|gone has joined #angularjs
[16:03:05] <sacho_> use ng-if or ng-switch to show empty row(s) while your data hasn't loaded yet.
[16:03:16] *** rtpg has joined #angularjs
[16:03:27] <russql> hey guys how do I update my view after my promise gets resolved?
[16:03:47] *** vladyn has joined #angularjs
[16:04:14] *** eperez has joined #angularjs
[16:04:47] <shacklef_> sacho_ ahh ok...
[16:04:57] <sacho_> russql, the same way you'd do it if your data was available immediately
[16:05:38] *** eladgolan has joined #angularjs
[16:05:44] <russql> sacho_: right, but how... before my data was available immediately in my controller init. Now it comes back later, so none of the view stuff gets rendered properly.
[16:05:52] <russql> I think i need to call repaint or something
[16:05:56] *** dancek has quit IRC
[16:06:09] *** D-Boy has quit IRC
[16:06:13] <eladgolan> Hi
[16:06:16] <eladgolan> Is it possible to get json through jsonp $http request?
[16:06:27] *** Asiajey has quit IRC
[16:06:39] *** Milanito has joined #angularjs
[16:06:44] *** sloria has quit IRC
[16:07:08] *** sloria has joined #angularjs
[16:07:15] *** bkubere__ has quit IRC
[16:07:16] *** GatorCSE has joined #angularjs
[16:07:18] *** rockfordal has joined #angularjs
[16:08:41] <sacho_> russql, there's no "repaint" function you can call.
[16:08:41] <eladgolan> return $http({method: 'JSONP',
[16:08:41] <eladgolan> params: {'callback': 'predictions', 'input': val, 'components': 'country:' + $scope.countryCode, "types": "(cities)", "language": "en", "sensor": true, "key": key},
[16:08:41] <eladgolan> url: url})
[16:08:44] <eladgolan> .then(function (data) {
[16:08:44] <eladgolan> $scope.isFechingCity = false;
[16:08:45] <eladgolan> debugger;
[16:08:47] <eladgolan> });
[16:08:50] <sacho_> eladgolan, don't paste in the channel.
[16:08:51] *** Christer_ has quit IRC
[16:08:57] *** nukulb has quit IRC
[16:09:03] <eladgolan> ok
[16:09:05] <russql> sacho_: so how do I force the view to update?
[16:09:25] *** Elemeant has joined #angularjs
[16:09:33] <sacho_> well, if you're using angular's promises, your callback would already be wrapped in a function that triggers a digest cycle.
[16:09:38] <sacho_> otherwise, you'd need to do it manually.
[16:10:03] *** AntonioR1beiro has left #angularjs
[16:10:03] *** dancek has joined #angularjs
[16:10:24] <eladgolan> Does anyone has an idea how to bypass googleapis cors?
[16:11:00] <sacho_> why would you want to bypass it?
[16:11:05] *** Milanito has quit IRC
[16:11:11] *** nodweber has quit IRC
[16:11:12] <sacho_> or, rather, what would bypassing it entail?
[16:11:20] *** Ymesio has joined #angularjs
[16:11:27] *** mchapman has joined #angularjs
[16:11:33] *** JosephSilber has joined #angularjs
[16:11:34] <russql> sacho: I currently have this: ajax.getCompanies().then(function(companies){ $scope.companies = companies; });
[16:11:42] *** jelle___ has quit IRC
[16:11:45] <russql> I'm not sure how to trigger the digest cycle
[16:12:01] *** ngoyal has joined #angularjs
[16:12:03] <eladgolan> I can't do this via $http.get
[16:12:03] <sacho_> what does getCompanies() return?
[16:12:08] *** boptop has joined #angularjs
[16:12:11] *** corban has joined #angularjs
[16:12:16] <eladgolan> Chrome blocks it
[16:12:17] <sacho_> eladgolan, there's no 'JSONP' HTTP method.
[16:12:21] <caitp> (is it a promise created by $q?)
[16:12:41] <eladgolan> $http.jsonp()
[16:12:57] *** Hounddog has quit IRC
[16:13:13] <sacho_> that's not what you're using, in your pasted code.
[16:13:15] *** Yahkob has joined #angularjs
[16:13:15] <caitp> does google maps support jsonp? huh
[16:13:20] <russql> return $http.get("/getCompanies.json").then(function(res){ return res.data.map(function(rec){ return rec; });
[16:13:22] <eladgolan> @sacho_ also $http.get({method: 'JSONP'})
[16:13:24] *** lw has quit IRC
[16:13:26] <caitp> wow it does
[16:13:27] <caitp> hah
[16:13:27] <eladgolan> no
[16:13:40] <sacho_> eladgolan, method is an HTTP method.
[16:13:40] *** Asiajey has joined #angularjs
[16:13:40] *** Asiajey has joined #angularjs
[16:13:43] *** D-Boy has joined #angularjs
[16:13:44] <sacho_> there's no such thing as a JSONP method.
[16:13:52] <texinwien> do the angular-google-maps team hang out here at all?
[16:14:14] <texinwien> also, what's considered to be the best angular google maps module?
[16:14:17] *** dc_ has joined #angularjs
[16:14:18] <sacho_> eladgolan, you can't use $http, or $http.get, to do a JSONP request. you need to use $http.jsonp().
[16:14:36] <eladgolan> How could you get googleapis response without getting any cors from chrome?
[16:14:36] <caitp> (don't forget to include JSON_CALLBACK somewhere in the url)
[16:14:50] <eladgolan> I did
[16:14:55] <sacho_> russql, well, that'll trigger a digest cycle.
[16:14:59] <eladgolan> and I've got a response
[16:15:01] *** Christer_ has joined #angularjs
[16:15:04] <caitp> JSONP avoids cors because it works by injecting a <script> into the document
[16:15:18] *** stevvooe has joined #angularjs
[16:15:22] <caitp> the returned script calls a function that you specify usually via query parameters
[16:15:28] *** tomas has joined #angularjs
[16:15:29] <caitp> ?callback=JSON_CALLBACK
[16:15:36] <texinwien> also, is there any way to resolve a directive-name-collision issue where a third party module uses common names for directives?
[16:15:38] <sacho_> russql, so, make a test case of your problem.
[16:15:38] <eladgolan> but I counldn't reach the callback function
[16:15:42] *** jnaour has quit IRC
[16:15:44] <Christer_> Hi, i just activated HTML5 mode, and now it seems like it doesnt read/parse json correctly when using $http.get('folder/file.json') - Any idea on whats goin on?
[16:15:58] <caitp> you couldn't reach the callback function?
[16:15:58] *** TorpedoSkyline has joined #angularjs
[16:16:03] *** dashed has quit IRC
[16:16:14] <eladgolan> yes
[16:16:14] *** tlyng has quit IRC
[16:16:15] <texinwien> angular-google-maps has a directive named 'circle' that collides with my svg 'circle' elements
[16:16:23] <eladgolan> I've got the response
[16:16:43] *** peldan has quit IRC
[16:17:00] <eladgolan> but I can't parse it
[16:17:04] <russql> sacho_: hmm is there a site where I can make a test case?
[16:17:07] <eladgolan> nor debug
[16:17:12] <sacho_> russql, see the topic
[16:17:13] <caitp> eladgolan post some code to a gist
[16:17:16] *** peldan has joined #angularjs
[16:17:20] *** masak has joined #angularjs
[16:17:29] <eladgolan> gist
[16:17:32] *** TorpedoSkyline has quit IRC
[16:17:40] <masak> if I want to keep up-to-date with what's happening with Angular 2.0, which resources should I pay attention to?
[16:17:59] *** KushS has quit IRC
[16:18:00] *** Yahkob has quit IRC
[16:18:00] *** tomas_ has quit IRC
[16:18:13] *** KushS has joined #angularjs
[16:18:28] *** cornfeedhobo has left #angularjs
[16:18:31] *** shinnya has quit IRC
[16:18:39] *** Destos has joined #angularjs
[16:18:49] <caitp> masak: good luck dude lol :( it's hard even when you sit in on the team meetings
[16:18:51] *** calumet has joined #angularjs
[16:18:55] *** pluma_ has joined #angularjs
[16:19:02] <caitp> you could watch all of the angular 2.0 repositories you care about
[16:19:05] *** pluma has quit IRC
[16:19:10] <caitp> but that's about the best you can do right now
[16:19:20] *** pluma_ has quit IRC
[16:19:34] *** tomas has quit IRC
[16:19:38] *** balboah has quit IRC
[16:19:49] *** pluma_ has joined #angularjs
[16:19:54] *** apetro_ has joined #angularjs
[16:19:56] *** stevvooe has quit IRC
[16:20:08] <caitp> we actually got a community contribution to watchtower.js the other day, that was neat :3 hopefully there is more of that in the future, maybe after the code is documented
[16:20:11] *** pluma_ has left #angularjs
[16:20:30] *** tomas has joined #angularjs
[16:20:46] <denny007> sacho_: i mean .module().controller().directive().directive().directive()
[16:21:08] <sacho_> ..?
[16:21:10] *** cphoniball has joined #angularjs
[16:21:27] *** rockfordal has quit IRC
[16:21:30] *** pluma has joined #angularjs
[16:21:30] *** pluma has joined #angularjs
[16:21:40] <sacho_> ah. yes.
[16:22:02] <sacho_> you can have multiple controllers as well.
[16:22:12] *** calumet has quit IRC
[16:22:42] *** sdouglas has joined #angularjs
[16:23:18] <denny007> sacho_: the problem is that i've a module but in the graphics interface the info are in differeent place. For example username on top left and password bottom tight....so i think the module is the same i.e. userInfo with 1 controller, 1 factory but 2 directive
[16:23:18] *** hannesvdvreken has joined #angularjs
[16:23:39] *** jscheel has joined #angularjs
[16:23:43] *** Ymesio has quit IRC
[16:23:49] *** azizur has joined #angularjs
[16:24:17] *** eladgolan has quit IRC
[16:24:27] <sacho_> ..ok?
[16:24:38] *** apetro_ has quit IRC
[16:24:41] *** hannesvd_ has joined #angularjs
[16:24:43] *** rho has joined #angularjs
[16:24:44] *** danielpquinn has joined #angularjs
[16:24:56] <sacho_> not really clear what 'the problem' is
[16:25:03] *** hannesvdvreken has quit IRC
[16:25:04] *** shinnya has joined #angularjs
[16:25:20] <denny007> sacho_: so it's possible to attach 2 directive to the same module?
[16:25:27] <caitp> i wish people would stop putting everything in different modules when it's clearly specific to a single application =(
[16:25:28] *** moritzs has quit IRC
[16:25:29] <sacho_> yes
[16:25:33] *** aslate_ has quit IRC
[16:26:06] <caitp> you always see people create like `myApp.directives` and `myApp.controllers` and stuff and it's like :@
[16:26:09] *** Justus has joined #angularjs
[16:26:19] *** encryptd_fractl has joined #angularjs
[16:26:40] <Justus> Hi, I'm looking for a way to dynamically set a scope path for ng-model
[16:26:42] *** metasansana has joined #angularjs
[16:26:49] <Justus> sadly all my search came up with was "not possible"
[16:26:50] *** eperez has quit IRC
[16:26:53] <Justus> true or not?
[16:27:48] *** cthrax has joined #angularjs
[16:28:04] *** eladgola_ has joined #angularjs
[16:28:05] *** DerekPerkins_ has joined #angularjs
[16:28:31] *** Ymesio has joined #angularjs
[16:28:51] *** DerekPerkins__ has joined #angularjs
[16:29:17] *** danielpquinn has quit IRC
[16:29:25] <texinwien> any way to get around directive-name-collisions caused by unprefixed directive names in third party modules?
[16:30:03] *** dashed has joined #angularjs
[16:30:27] <sacho_> caitp, I think it's from a tutorial site.
[16:30:32] <andkan> texinwien: I always use Leaflet :-P
[16:30:34] *** toin0u|a1ay is now known as toin0u
[16:30:39] *** aslate has joined #angularjs
[16:30:52] *** toin0u has quit IRC
[16:30:52] *** toin0u has joined #angularjs
[16:31:15] *** Tidwell has joined #angularjs
[16:31:21] <caitp> sacho_: it's just all kinds of terrible I wish they wouldn't do that :(
[16:31:23] *** ajk27 has joined #angularjs
[16:31:51] *** DerekPerkins has quit IRC
[16:31:52] *** amargherio has joined #angularjs
[16:31:57] <sacho_> it seems the angular-seed guys disagree with you
[16:32:19] <caitp> they're wrong =)
[16:32:32] *** icodefo__ has quit IRC
[16:32:34] *** eperez has joined #angularjs
[16:32:39] <caitp> the seed project isn't really properly maintained anyways
[16:32:48] *** patrickarlt has quit IRC
[16:33:00] *** DerekPerkins_ has quit IRC
[16:33:06] <sacho_> but it's what a lot of people start with in angular, and since angular is voodoo magic, people tend to not touch the code they don't understand
[16:33:13] *** KushS has quit IRC
[16:33:16] *** dariocravero has joined #angularjs
[16:33:54] *** jk-5|gone has quit IRC
[16:33:57] *** scottc5 has joined #angularjs
[16:33:58] *** pablasso_afk is now known as pablasso
[16:34:08] <texinwien> andkan: leaflet also has issues with unprefixed directive names
[16:34:15] <caitp> hmm, I wonder if my first angular app was built like that
[16:34:29] <texinwien> Frankly, I find it hard to believe that anyone would name a directive 'circle'
[16:34:46] <caitp> nope, it was totally not built like that
[16:34:49] <texinwien> how the heck am I supposed to create SV circles :)
[16:35:00] <texinwien> SVG circles, that is
[16:35:09] *** hswolff has quit IRC
[16:35:15] <caitp> texinwien: fork the library and make a version that prefixes the directive?
[16:35:44] <vladyn> guys
[16:35:45] *** vf1 has joined #angularjs
[16:35:48] <sacho_> element directives, the devils
[16:36:00] *** endash has joined #angularjs
[16:36:09] <texinwien> caitp: that's always an option. I was wondering whether there was a way within angular to resolve such a collision. Guess not?
[16:36:19] <caitp> nope
[16:36:27] <caitp> i mean
[16:36:28] <vladyn> I'm fighting with an issue, where I have directive and compile function, which returns element height via jquery
[16:36:32] <caitp> you can decorate the directive and remove it
[16:36:41] *** jeffisabelle has joined #angularjs
[16:36:55] <caitp> or can you
[16:37:00] <caitp> no you can't decorate directives can you
[16:37:28] <vladyn> it returns one height, after the document is ready - when I run $(element).height() it returns actual height
[16:38:05] <Justus> where in the code is ng-model defined? I can't find a matching directive anywhere on github
[16:38:20] *** sdouglas has quit IRC
[16:38:21] <sacho_> err, wasn't your forms solution for dynamic names a decorator on form?
[16:38:35] *** tarkus has quit IRC
[16:38:38] <caitp> form controller
[16:38:40] <caitp> not the directive
[16:38:42] <sacho_> ah
[16:38:55] <caitp> or was it the directive
[16:39:04] *** oniijin has joined #angularjs
[16:39:08] *** mattwynne has quit IRC
[16:39:16] <caitp> i can't remember at all, but directives aren't registered with the injector, they're registered with the $compileProvider
[16:39:19] <masak> caitp: ok, thanks. I guess following the Angular blog is a decent start, combined with following the proper repositories.
[16:39:28] *** PatF has joined #angularjs
[16:39:31] *** jeffisabelle has quit IRC
[16:39:31] <oniijin> mornin all
[16:39:41] *** KushS has joined #angularjs
[16:39:42] <masak> caitp: what's your sense of Angular 2.0 falling into or avoiding Second System Syndrome?
[16:39:56] *** dbouwman has quit IRC
[16:39:56] <caitp> well it's totally second system syndrome
[16:40:06] <masak> :)
[16:40:22] <sacho_> I wouldn't call angular 1.x a "small and elegant" system
[16:40:31] <caitp> which is good because it means we can drop the nonsense from 1.x
[16:40:31] *** dbouwman has joined #angularjs
[16:40:45] *** Destos has quit IRC
[16:40:46] *** PatF is now known as Destos
[16:40:47] <caitp> but it's also bad because people will be like "we can't migrate to 2.x because we have to support 10 year old browsers"
[16:40:55] <masak> aye.
[16:41:14] <sacho_> winxp and ie8 will never die
[16:41:21] <sacho_> they will haunt library makers forever
[16:41:27] *** jk-5|gone has joined #angularjs
[16:41:36] *** umib0zu has joined #angularjs
[16:41:51] *** Fire-Dragon-DoL has quit IRC
[16:41:53] *** themisterunknown has quit IRC
[16:42:24] <caitp> well the angular 2.0 compiler and router are broken if you enable experimental web platform features, so who knows when they'll work properly in the future <_< I really need to figure out what they're doing that's broken
[16:42:36] *** teeray has quit IRC
[16:42:42] *** tendencydriven has joined #angularjs
[16:42:42] *** nodweber has joined #angularjs
[16:42:47] <caitp> enale experimental web platform features in chrome*
[16:43:13] *** scottc5 has quit IRC
[16:43:31] <Justus> and here I was preaching to everyone that angular is better O_o
[16:43:37] *** djam90 has quit IRC
[16:43:42] *** flexd_ is now known as flexd
[16:43:43] *** scottc5 has joined #angularjs
[16:43:46] *** Fire-Dragon-DoL has joined #angularjs
[16:43:56] <caitp> don't stop preaching!
[16:44:09] <Justus> I HATE finding posts like "Here is <solution for problem I'm working on>" - "No, why would you need that, there is no usecase for this!" - Closed
[16:44:25] *** DerekPerkins__ has quit IRC
[16:44:31] <caitp> which issue?
[16:44:36] *** rockfordal has joined #angularjs
[16:44:36] *** krawchyk has quit IRC
[16:44:37] *** naneau has joined #angularjs
[16:44:48] <Justus> dynamic bindings for ng-model
[16:45:12] <caitp> dynamic bindings?
[16:45:16] <Justus> being able to provide an arbitrary string that gets evaluated as if it was there before
[16:45:17] *** endash has quit IRC
[16:45:20] *** toin0u is now known as toin0u|away
[16:45:20] <caitp> like, changing the property it binds to?
[16:45:41] <sacho_> ng-model={{expr}} is what you mean?
[16:45:41] *** apetro_ has joined #angularjs
[16:45:45] <Justus> ng-model="some.data" where some.data is a string in foo.bar
[16:45:46] *** krawchyk has joined #angularjs
[16:45:52] *** DerekPerkins has joined #angularjs
[16:45:55] <Justus> sacho_: yep
[16:45:58] <shacklef_> sacho_ so I have been trying to get a table to show empty fields
[16:46:13] <shacklef_> In this case I am not sure how to always show 10 rows
[16:46:24] <shacklef_> even if there is only 6 rows of data
[16:46:38] *** Shrooms has joined #angularjs
[16:46:38] *** zarul has joined #angularjs
[16:46:53] <shacklef_> the issue is that the ng-repeat only shows when it iterates
[16:47:06] *** partikus has joined #angularjs
[16:47:18] *** HypnotiX has quit IRC
[16:47:18] <caitp> make sure that the collection has a length of 10?
[16:47:41] <caitp> eg whenever you get a new response from the server, transform it so that length === 10
[16:48:10] *** Shrooms has quit IRC
[16:48:36] <shacklef_> ok, so the tr === 10?
[16:48:41] *** vf1 has quit IRC
[16:48:48] *** cisox has joined #angularjs
[16:49:01] *** krawek has quit IRC
[16:49:18] *** GeertV_ has quit IRC
[16:49:19] *** icodefor_ has joined #angularjs
[16:49:56] *** \du has quit IRC
[16:50:06] *** shinnya has quit IRC
[16:50:16] *** eladgola_ has quit IRC
[16:50:28] *** jk-5|gone has quit IRC
[16:50:41] *** peldan has quit IRC
[16:50:59] *** QuantumNinja has quit IRC
[16:51:18] *** raibutera has quit IRC
[16:51:26] *** mven has quit IRC
[16:51:31] *** QuantumNinja has joined #angularjs
[16:52:45] *** QuantumNinja has quit IRC
[16:52:55] *** QuantumNinja has joined #angularjs
[16:52:59] *** jscheel has quit IRC
[16:53:09] <tendencydriven> Edited what you had in your plunkr, not the most elegant solution but it works
[16:53:28] *** dbouwman_ has joined #angularjs
[16:53:39] *** KushS has quit IRC
[16:53:59] <shacklef_> that looks like it is the right direction for sure
[16:54:04] <shacklef_> let me work with it for a bit
[16:54:07] <tendencydriven> Kk
[16:54:12] <shacklef_> but thanks, much appreciated
[16:54:15] <tendencydriven> np
[16:54:55] <sacho_> is the $id() function documented anywhere? the one used in tracking expressions.
[16:55:06] *** teeray has joined #angularjs
[16:55:12] *** lw has joined #angularjs
[16:55:26] *** mattwynne has joined #angularjs
[16:55:53] *** icodefor_ has quit IRC
[16:55:58] *** jk-5 has joined #angularjs
[16:56:29] *** jeffisabelle has joined #angularjs
[16:56:52] *** arizzo has quit IRC
[16:56:59] *** atomical has quit IRC
[16:57:04] *** dbouwman has quit IRC
[16:57:18] *** arizzo has joined #angularjs
[16:57:20] *** Nizumzen has joined #angularjs
[16:57:41] *** Tidwell has quit IRC
[16:57:59] *** tmrudick has joined #angularjs
[16:58:35] *** thomastuts has quit IRC
[16:58:58] * sacho_ wonders if there's an angular fork with one-way binding syntax
[16:59:02] *** csaldan has joined #angularjs
[16:59:04] *** russql has quit IRC
[16:59:12] *** csaldan has quit IRC
[16:59:24] *** PLATOSCAVE has joined #angularjs
[16:59:35] <Justus> yup, it's official, angular is stupid you just need very long to find out about it
[16:59:37] <quan___> theres libs like bindonce
[16:59:37] *** denny007 has quit IRC
[16:59:41] <Justus> *grumble*
[16:59:43] *** Christer_ has quit IRC
[17:00:07]
<carpediembaby> Hello, i am stuck at trying to write a directive which alerts a user when the page has been modified. I have the following code for the directive: http://jsfiddle.net/49JrH/1/ and I want to show the message conitionally when the isModified flag is set through the controller. Ive tried several things (as seen in the directive) but nothing seems to work. I want this message to be shown when the user tries to go away from the p
[17:00:11] <quan___> which helps for performance on views with a lot of data that dont need 2 way binding
[17:00:17] <sacho_> quan___, yeah, but see ng-repeat for example, it assumes you need to track the elements of the array because it assumes two-way binding.
[17:00:21] <carpediembaby> can anyone help me figure out what is wrong with this?
[17:00:24] *** HACKING-TWITTER has quit IRC
[17:00:29] <OnkelTem> sacho_: so is this by design that we can't see errors in resolve's try..catch or it's a chrome bug?
[17:00:44] <sacho_> OnkelTem, it's not a chrome bug
[17:00:48] <OnkelTem> I'm running v36
[17:00:57] <OnkelTem> then V8 bug?
[17:01:03] <sacho_> or a v8 bug
[17:01:09] <sacho_> it's not a bug with the javascript engine running your code
[17:01:19] *** krawek has joined #angularjs
[17:01:31] <OnkelTem> hm.. them I just don't get how to perform develpoment when you don't get errors
[17:01:35] <OnkelTem> then
[17:01:37] *** lostInParadise has joined #angularjs
[17:01:43] <robdubya> morning y'all
[17:01:43] *** arizzo has quit IRC
[17:02:08] <sacho_> OnkelTem, it's not like angular is catching all errors and silently ignoring them.
[17:02:27] <sacho_> if you need to debug your resolve() function, you can turn on break on exceptions.
[17:02:31] <sacho_> or simply step through it in a debugger
[17:02:39] <sacho_> you'd see your error getting caught
[17:02:47] *** jk-5 has quit IRC
[17:02:59] <OnkelTem> sacho_: then probably there is some development version of NG which doesn't silently ignore such erros?
[17:03:14] *** Christer_ has joined #angularjs
[17:03:21] *** hannesvd_ has quit IRC
[17:03:23] *** m_davitz has quit IRC
[17:03:23] <sacho_> not really.
[17:03:26] *** pablasso is now known as pablasso_afk
[17:03:40] *** hannesvdvreken has joined #angularjs
[17:03:48] *** nemothekid has joined #angularjs
[17:03:48] <OnkelTem> sacho_: I tried that, it's not convenient as there could be other catched exceptions like those in jQuery or others
[17:03:50] *** kornalius has joined #angularjs
[17:03:55] *** lsiv568 has quit IRC
[17:03:58] <OnkelTem> each makes debugger to stop, messy
[17:03:59] <sacho_> ok.
[17:04:17] *** calumet has joined #angularjs
[17:04:21] <carpediembaby> The problem, i think, is that the onbeforeunload is not called when i try to move away from the page. . .
[17:04:26] *** carlosmantilla has quit IRC
[17:04:39] *** samcfc has joined #angularjs
[17:04:47] <samcfc> Hi everyone
[17:04:54] *** conan_the_destro has joined #angularjs
[17:04:59] *** hannesvdvreken has quit IRC
[17:05:03] *** lw has quit IRC
[17:05:28] *** ojacobson has joined #angularjs
[17:06:05] *** DrShoggoth has joined #angularjs
[17:06:23] <samcfc> I am going to give a try to css 3 animation but it is on a div so tell meif I am right but i should go tradinal css way and not angular animation way? am I right?
[17:06:52] <oniijin> no idea what you're asking
[17:06:55] *** KushS has joined #angularjs
[17:07:13] <oniijin> 'angular animation way' still uses css classes
[17:07:17] <samcfc> the div is a the botom of teh scrren and shoul slide down out of screen or slide in in order to be at the page bottom
[17:07:22] <linagee> On an ng-repeat, when you don't use track by and orderBy, what do these default to?
[17:07:24] *** hannesvdvreken has joined #angularjs
[17:07:33] <ppppaul> can someone show me an example of using the transcludeFn in the link part of a directive?
[17:07:41] <ppppaul> even if it's from angular source
[17:07:41] *** sigurding has quit IRC
[17:07:45] <oniijin> linagee i think it just redos all of them
[17:07:56] *** hannesvdvreken has joined #angularjs
[17:07:59] *** hannesvdvreken has quit IRC
[17:08:08] *** HACKING-TWITTER has joined #angularjs
[17:08:21] <robdubya> linagee index
[17:08:26] *** Aartsie_ has quit IRC
[17:08:27] *** hannesvdvreken has joined #angularjs
[17:08:29] *** jk-5 has joined #angularjs
[17:08:40] <robdubya> well, index for sort
[17:08:45] <sacho_> linagee, track by defaults to $id(element)
[17:09:00] *** HACKING-TWITTER has joined #angularjs
[17:09:05] *** PLATOSCAVE has quit IRC
[17:09:05] *** HACKING-TWITTER has quit IRC
[17:09:28] *** combat1 has left #angularjs
[17:09:46] <linagee> best practice would be to always include a track by and an orderBy though, right? (especially if your data has a primary key to make use of)
[17:09:54] *** HACKING-TWITTER has joined #angularjs
[17:10:08] <ppppaul> track by $index
[17:10:18] *** ojacobson has quit IRC
[17:10:26] <robdubya> linagee i'd agree with trackby
[17:10:41] <robdubya> sortby sometimes, but usually that's coming from my server, so no need to (re)sort
[17:10:42] <linagee> ppppaul: ah. so the index of the object array you're using. (which could really get messy if you start modifying it)
[17:10:51] *** mokush has quit IRC
[17:10:58] <robdubya> and use the id if you've got one i reckon
[17:11:15] *** arizzo has joined #angularjs
[17:12:01] *** GatorCSE has quit IRC
[17:12:05] *** sk87 has quit IRC
[17:12:07] *** hswolff has joined #angularjs
[17:12:19] *** sonofdirt has joined #angularjs
[17:13:40] *** waylon999 has joined #angularjs
[17:13:53] *** Milanito has joined #angularjs
[17:13:56] *** Sebastien-L has joined #angularjs
[17:14:01] *** eburcat has quit IRC
[17:14:35] <OnkelTem> Please load the example, see time statistics in the console. According to it request takes about 30ms. But the real request according to the Network tab - takes only 2-3ms
[17:14:38] *** calumet has quit IRC
[17:14:44] *** GaborM has joined #angularjs
[17:14:51] <OnkelTem> Can you explain where is the problem?
[17:14:52] <GaborM> Hey there
[17:15:10] <robdubya> OnkelTem best i can tell you're not handling your errors anywhere
[17:15:11] *** combat has joined #angularjs
[17:15:21] <Rikle_S> Hi
[17:15:26] <GaborM> I'm discovering Angular and really loving what I'm seeing so far, but I'm worried about one thing... SEO ?
[17:15:30] <Rikle_S> someone use seltize.js here ?
[17:15:48] <OnkelTem> robdubya: what do you mean? Are you talking about previous question or about $http.get() performance?
[17:16:07] *** calumet has joined #angularjs
[17:16:40] <sacho_> OnkelTem, your code has an execution time as well.
[17:16:54] *** Fishy has joined #angularjs
[17:17:10] <OnkelTem> sacho_: but there are just few lines of trivial code, nothing special. Why it takes so much?
[17:17:13] <oniijin> GaborM a lot of articles cover that topic
[17:17:25] *** xavia has joined #angularjs
[17:17:39] <Rikle_S> i'm gonna cry
[17:17:45] <OnkelTem> its as simple as: $http.get('plainfile.json').then()
[17:17:55] *** patrickarlt has joined #angularjs
[17:17:57] <sacho_> OnkelTem, for me, it takes anywhere between 2-5ms.
[17:18:13] <GaborM> oniijin: I read some that say that Google is crawling those sites fine by now, but still I'm not convinced :p
[17:18:25] <robdubya> OnkelTem you wre talking about angular hiding your errors
[17:18:27] <OnkelTem> sacho_: hm... extensions may affect?
[17:18:30] <robdubya> its cuz you're not handling them
[17:18:45] <Rikle_S> i'm crying
[17:18:49] <GaborM> Since you guys are users of Angular, I guessed you guys could confirm this
[17:18:56] *** tlvince has quit IRC
[17:19:01] <robdubya> GaborM you can try it for yourself
[17:19:06] <OnkelTem> robdubya: you mean if I add error hanlding then I start catching those one which even not displayed by Chrome?
[17:19:09] *** roymiloh has joined #angularjs
[17:19:20] *** lingo_ has joined #angularjs
[17:19:22] <robdubya> the ones that are silently failing in the resolve? yep
[17:19:25] <GaborM> robdubya: Way to welcome new users :)
[17:19:32] <ppppaul> linagee, $index is from ng-repeat
[17:19:34] *** chaitu87 has joined #angularjs
[17:19:42] <OnkelTem> robdubya: ok, give me a minute!
[17:19:43] <robdubya> GaborM ha - that wasn't meant to be dickish, but informative
[17:19:48] <sacho_> GaborM, your question is way too broad - we're not encyclopedias for your own usage
[17:19:53] <sacho_> google is.
[17:19:54] <oniijin> +1
[17:20:02] <robdubya> you can go into google webmaster console and say "crawl with google"
[17:20:52] *** atomical has joined #angularjs
[17:20:52] *** the-erm has quit IRC
[17:21:12] <lingo_> anyone have some recommended reading on getting started with unit testing? in general or in angularjs? I'm trying to get started with unit testing.. I'm getting lost as to what I should really be testing
[17:21:17] *** nukulb has joined #angularjs
[17:21:17] *** calumet has quit IRC
[17:21:34] <GaborM> My question ain't that broad really, my question is if Google interprets the JS, and not just reading the placeholders in the HTML, but I guess that yes it does
[17:21:40] <ppppaul> generative testing > unit testing
[17:21:44] *** tfennelly has quit IRC
[17:21:56] *** tmrudick has quit IRC
[17:22:03] <robdubya> GaborM they've announced they are *starting* to do it
[17:22:04] *** theahind1e is now known as theahindle
[17:22:16] <Rikle_S> how can I return an array when using selectize.js with multiple value ?
[17:22:19] *** moritzs has joined #angularjs
[17:22:40] <chakkimatti> OnkelTem: Wow! Thank you so much! That doesn't use $routeParams anywhere tho. Such clean and logical code! Gotta pin this to my wall - like print it and frame it and stuff! Thanks OnkelTem
[17:22:53] *** the-erm has joined #angularjs
[17:23:06] *** partikus has quit IRC
[17:23:14] <robdubya> OnkelTem, ah, no
[17:23:16] *** KushS has quit IRC
[17:23:22] <robdubya> i mean within promises themselves
[17:23:26] *** icodefor_ has joined #angularjs
[17:23:29] <OnkelTem> chakkimatti: this is rough copy-paste from my internal code
[17:23:37] *** gauravsaini03 has quit IRC
[17:23:37] <robdubya> doSomethingThatReturnsAPromise(onSuccess,onError)
[17:23:41] <robdubya> er
[17:23:42] <OnkelTem> ahh
[17:23:45] <robdubya> doSomethingThatReturnsAPromise.then(onSuccess,onError)
[17:23:53] <chakkimatti> OnkelTem: Very nice - thanks
[17:24:06] <robdubya> you dont have any onErrors - so its just propagating all the way up to the resolve
[17:24:19] *** fouzko has quit IRC
[17:24:23] *** jscheel has joined #angularjs
[17:24:31] *** rtpg has quit IRC
[17:24:32] <robdubya> (which catches it sliently, and then rethrows an error that $onStateChangeError catches
[17:24:33] *** arrty has quit IRC
[17:24:37] <GaborM> robdubya: Mmmh OK, I will have to test it out myself to know for sure, thanks :)
[17:24:49] <robdubya> indeed
[17:24:54] *** fouzko has joined #angularjs
[17:24:59] *** rtpg has joined #angularjs
[17:25:10] <sacho_> the error he gets is actually before even getting the promise.
[17:25:16] *** shoresh has joined #angularjs
[17:25:20] <Rikle_S> how can I return an array when using selectize.js with multiple value ?
[17:25:37] *** danielpquinn has joined #angularjs
[17:25:46] *** chaitu87 has quit IRC
[17:25:46] *** mattwynn_ has joined #angularjs
[17:25:56] *** rtpg_ has joined #angularjs
[17:26:09] *** tekky has joined #angularjs
[17:26:35] *** mattwynne has quit IRC
[17:26:43] <shoresh> quit
[17:26:49] <shoresh> exit
[17:26:57] *** shoresh has left #angularjs
[17:27:16] *** Shrooms has joined #angularjs
[17:27:46] *** rrocsal has joined #angularjs
[17:27:52] <oniijin> sure
[17:28:01] <ppppaul> i did my first transclude without ng-transclude! wooooooooooo!
[17:28:11] *** krawchyk has quit IRC
[17:28:13] <storkme> so I'm looking at doing some authentication in my single page app, it seems like a lot of people are recommending uirouter over ngroute, does anyone have any opinions on this? I've only ever used ngroute in the past
[17:28:37] <robdubya> storkme ui-router
[17:28:43] <oniijin> lol
[17:28:45] *** KamalKaur has joined #angularjs
[17:28:48] *** Ronyrun has joined #angularjs
[17:28:51] *** eperez has quit IRC
[17:28:51] <oniijin> uirouter will make ur life easier
[17:28:57] <Christer_> Any recommendation on social sharing with angular? any plugins?
[17:29:03] *** fouzko has quit IRC
[17:29:04] *** krnflake has quit IRC
[17:29:11] *** Maverickz has joined #angularjs
[17:29:36] *** jonasrosenlind has quit IRC
[17:29:37] <ppppaul> ui-router doesn't have much to do with auth storkme
[17:29:45] <ppppaul> i use it, and i really like the $resolve and other things
[17:29:47] *** rtpg has quit IRC
[17:29:54] <GaborM> robdubya: Yeah that's it, thanks :) My google account is all in french, had troubles finding it :)
[17:30:07] <Maverickz> hello, how can i get data from my rest api, and display it
[17:30:09] *** danielpquinn has quit IRC
[17:30:11] *** bbankes has joined #angularjs
[17:30:16] <oniijin> lol
[17:30:26] *** andkan has quit IRC
[17:30:29] <ppppaul> Maverickz, magic
[17:30:29] *** jawr has quit IRC
[17:30:36] <storkme> okay, i'll check it out. thanks.
[17:30:48] <lingo_> storkme i would also recommend ui-router
[17:30:52] <oniijin> Maverickz you need to do some basic googling
[17:30:58] *** andkan has joined #angularjs
[17:31:02] <oniijin> dont be lazy
[17:31:11] *** vf1 has joined #angularjs
[17:31:13] *** Tidwell has joined #angularjs
[17:31:22] *** snurfery has joined #angularjs
[17:31:33] <Maverickz> (y)
[17:31:43] *** waylon999 has quit IRC
[17:31:49] <OnkelTem> sacho_: so you see in the console blue digits and they show just 2-5ms?
[17:31:51] <ppppaul> all my APIs give me data via fax
[17:32:08] <oniijin> that's a great way to get help Maverickz
[17:32:12] *** shoelessone has joined #angularjs
[17:32:19] *** krnflake has joined #angularjs
[17:32:22] <oniijin> ppppaul pager yo, get with the times
[17:32:38] *** aslate has quit IRC
[17:32:51] <robdubya> people who email you 4 times before 8am can suck it
[17:33:13] *** lingo_ has quit IRC
[17:33:14] <Christer_> My API just shown up on the door and asks if i want the data.
[17:33:17] <sacho_> OnkelTem, the timers show the latency for the network request + 2-5 ms.
[17:33:20] *** GatorCSE has joined #angularjs
[17:33:30] <robdubya> special delivery son, JSON
[17:33:32] <Maverickz> :)
[17:33:36] *** chaitu87 has joined #angularjs
[17:33:39] <OnkelTem> sacho_: fantastic. Why our results are so different
[17:33:39] *** bkuberek has joined #angularjs
[17:33:50] * sacho_ shrugs.
[17:34:00] <OnkelTem> hmm
[17:34:04] <sacho_> this isn't really an angularjs problem.
[17:34:11] <OnkelTem> yes, I see this already
[17:34:17] *** bkuberek_ has joined #angularjs
[17:34:21] <linagee> does anyone know why this won't work in Chrome? (or anything else using Webkit) <input class='input-form' type="text" ng-model="p.phone" size="14" ui-mask="{{'(999) 999-9999'}}" autofocus>
[17:34:31] *** jscheel has quit IRC
[17:34:33] <OnkelTem> Is my vision corrent: that since javascript is step-based language, then when after $http.get() is called and BEFORE the request is really happen many things may happen on that step?
[17:34:34] <linagee> the ui-mask is making the cursor jump around.
[17:34:57] <Rikle_S> please, need help
[17:35:01] <OnkelTem> those steps*
[17:35:05] *** jawr has joined #angularjs
[17:35:10] *** cime has joined #angularjs
[17:35:21] <robdubya> OnkelTem have you dug into the dev tools?
[17:35:37] *** jsoverson has joined #angularjs
[17:35:44] *** tomzx`afk is now known as tomzx
[17:35:52] <OnkelTem> robdubya: I'd like to. But don't know from where to start. I tried learning Profiler many times but with no success as it shows too much
[17:35:52] *** krawchyk has joined #angularjs
[17:35:56] *** tsalb has joined #angularjs
[17:36:05] <ppppaul> OnkelTem, many things happen after you call .get() and before the XHR is made
[17:36:14] <caitp> *if an XHR is made
[17:36:18] <OnkelTem> ppppaul: how can I really catch them?
[17:36:22] *** aslate_ has joined #angularjs
[17:36:24] <robdubya> paul irish <3
[17:36:35] *** alinou has joined #angularjs
[17:36:40] <oniijin> he's so dreamy
[17:36:41] <ppppaul> you can use .error or .then(,errorFn)
[17:36:48] <OnkelTem> robdubya: watching, thanks
[17:36:53] *** jscheel has joined #angularjs
[17:36:54] <maurovitale> Hi all, i've an issue with e2e testing, the problem is generated with an 'input filter' that send a request to the server everytime a user types something (remote filter) . How can i wait the result of the search , and after, test it ?
[17:36:55] *** HelperW has quit IRC
[17:36:57] <robdubya> spending 30 minutes on that video will save you freakin hours in the future
[17:36:58] *** shoelessone has quit IRC
[17:37:08] *** samsamm777 has quit IRC
[17:37:13] *** Guest736 is now known as fsargent
[17:37:21] *** Jdubs has joined #angularjs
[17:37:23] *** danielpquinn has joined #angularjs
[17:37:24] <cime> hi! I'm looking for a tutorial/sample/tool on how to organize angular files and build/minimize them into one file... anybody know of some better whay than using require.js?
[17:37:26] * OnkelTem embraces robdubya tightly
[17:37:38] <oniijin> gross
[17:37:38] <robdubya> haha
[17:37:40] *** Milanito has quit IRC
[17:37:43] *** fsargent is now known as Guest41800
[17:37:49] <oniijin> stop jousting
[17:38:11] *** bkuberek has quit IRC
[17:38:13] <oniijin> gonna poke an eye out
[17:38:25] <snurfery> arrrrr
[17:38:27] <snurfery> g
[17:38:31] *** Milanito has joined #angularjs
[17:38:47] *** mchammer has quit IRC
[17:38:55] <snurfery> (missing eye -> patch -> pirate)
[17:39:05] <snurfery> mornin ppl
[17:39:06] <oniijin> yeah i got it snurfery
[17:39:13] <robdubya> cime grunt or gulp
[17:39:13] *** anjumkaiser has quit IRC
[17:39:14] <Asiajey> cime: I using angular-app, but it is little outdated, so i had to tweak it to use with latest angular and bootstrap
[17:39:39] *** jdj_dk has joined #angularjs
[17:39:55] <robdubya> that link has a bad mother gulpfile
[17:40:01] <robdubya> (shut yo mouth)
[17:40:27] <snurfery> yup, reading it now
[17:40:56] <Asiajey> cime: sorry ngBoilerplate :)
[17:41:03] *** mkulke has joined #angularjs
[17:41:19] *** ngbot has joined #angularjs
[17:41:19] <ngbot> angular.js/master 2c7d085 Sekib Omazic: fix($location): remove query args when passed in object...
[17:41:19] *** ngbot has left #angularjs
[17:41:38] <snurfery> I spent half the day yesterday trying to coax/persuade/brainwash one of my co-workers into embracing rest+angular rather than server-rendered html
[17:41:58] *** illume has joined #angularjs
[17:42:18] *** isthisreallife has joined #angularjs
[17:42:39] *** dashed has quit IRC
[17:42:45] <cime> Asiajey: I'll check it, thanks
[17:42:45] *** optikalmouse has joined #angularjs
[17:42:47] *** joepie91 has quit IRC
[17:43:04] *** isthisreallife has left #angularjs
[17:43:19] *** jamieshepherd has quit IRC
[17:43:39] <oniijin> snurfery did you end up just hitting him over the head with a bat
[17:43:49] *** Tuomas__ has joined #angularjs
[17:44:12] *** jdj_dk has quit IRC
[17:44:40] <snurfery> nah, my bat skills are already top notch so I focused on practicing my developer-whisperer skills
[17:44:47] *** roymiloh has quit IRC
[17:45:09] *** nemothekid has quit IRC
[17:45:11] <oniijin> that just involves strippers bro
[17:45:21] *** mewm has quit IRC
[17:45:33] *** fbenoit has quit IRC
[17:47:18] *** Tuomas_ has quit IRC
[17:47:29] *** lw has joined #angularjs
[17:47:37] *** lw has quit IRC
[17:47:39] <snurfery> if I could train strippers to also be developers
[17:47:51] <oniijin> then u would never get anything done
[17:47:53] *** nukulb has quit IRC
[17:48:10] *** terranca has quit IRC
[17:48:11] *** lw has joined #angularjs
[17:48:20] *** eperez has joined #angularjs
[17:48:25] <snurfery> it'd be very disruptive
[17:48:32] <oniijin> I did meet one at rhino in vegas who knew what objc and mysql were
[17:48:38] <snurfery> fake police "arresting" everyone
[17:48:42] *** tmrudick has joined #angularjs
[17:48:44] <snurfery> human-sized cakes everywhere
[17:48:52] <oniijin> cake filled strippers?
[17:49:19] <snurfery> they'd probably have a very short mainstream stripping career, man or woman
[17:49:28] *** Natsu- has quit IRC
[17:49:30] <snurfery> they'd quickly move into the chubby-chaser niche
[17:49:32] *** tmrudick has quit IRC
[17:49:35] *** styles has quit IRC
[17:49:37] *** darrin has joined #angularjs
[17:49:45] <oniijin> that's a pretty big niche
[17:49:51] *** joepie91 has joined #angularjs
[17:49:51] <snurfery> I see what you did there.
[17:49:59] *** nick125 has quit IRC
[17:50:12] <mmitchel_> anyone here use ui-router? I'd like to refresh the url (including query params) but not re-execute the controller. Is that possible?
[17:50:20] *** atomical has quit IRC
[17:50:28] <oniijin> why
[17:50:31] *** chaitu87 has quit IRC
[17:50:40] *** bengillies has joined #angularjs
[17:50:56] *** nick125 has joined #angularjs
[17:51:26] <snurfery> mmitchel_: why indeed
[17:51:37] <oniijin> sounds like design issue
[17:52:59] *** Matt_Ricketts has quit IRC
[17:53:06] <mmitchel_> snurfery: It is possible?
[17:53:11] *** GaborM has quit IRC
[17:53:16] *** lw has quit IRC
[17:53:22] *** Matt_Ricketts has joined #angularjs
[17:53:23] <oniijin> u know what else is an issue? damn adobe naming new software the same thing
[17:53:56] *** tommmied has joined #angularjs
[17:53:56] *** JesseEichar_ has quit IRC
[17:54:25] *** thedodd has joined #angularjs
[17:54:29] <snurfery> mmitchel_: there's always a way
[17:54:30] *** lw has joined #angularjs
[17:54:41] *** lsiv568 has joined #angularjs
[17:54:44] *** nukulb has joined #angularjs
[17:54:45] <tommmied> Hey, is ace more popular than codemirror?
[17:55:15] *** lostInParadise has quit IRC
[17:55:43] <robdubya> oh dear
[17:55:44] <oniijin> snurfery are u an ios user
[17:55:47] *** KushS has joined #angularjs
[17:55:48] <robdubya> my imac is now making a grinding noise
[17:55:51] <robdubya> i think the end is near
[17:55:56] *** lostInParadise has joined #angularjs
[17:55:58] *** Jon30 has joined #angularjs
[17:56:00] <oniijin> need to hold out till oct robdubya
[17:56:04] <robdubya> i knowwww
[17:56:10] <robdubya> arghhhhh
[17:56:12] *** darrin has quit IRC
[17:56:12] *** aslate_ has quit IRC
[17:56:14] *** lsiv568 has quit IRC
[17:56:44] *** rtpg_ has quit IRC
[17:56:46] <oniijin> aside from being a portable space heater, mine is still running pretty well
[17:57:00] *** H1FuelCell has quit IRC
[17:57:07] <oniijin> I think at some point after I get a new one, i'll swap out for ssd in this one
[17:57:13] *** rtpg has joined #angularjs
[17:57:20] *** blueadept has quit IRC
[17:57:36] *** arizzo has quit IRC
[17:57:37] <robdubya> this one's got an SSD and 32gb of RAM. it's served me well for a long time
[17:57:43] *** VeeWee has quit IRC
[17:57:47] <robdubya> pretty sure its a fan on its way out
[17:58:01] <oniijin> those are easier to replace
[17:58:02] *** arizzo has joined #angularjs
[17:58:05] *** RangeRick has quit IRC
[17:58:07] <oniijin> than mainboard or gpu
[17:58:22] <snurfery> oniijin: hells to the n-o
[17:58:27] *** KushS has quit IRC
[17:58:29] <snurfery> not an ios fan
[17:58:29] <oniijin> well poop in your soup then
[17:58:49] <snurfery> even though I do love all technology and whatnot, and it's gorgeous and cool people and girls love iphones
[17:58:51] *** waylon999 has joined #angularjs
[17:58:52] *** partikus has joined #angularjs
[17:58:55] <snurfery> BUT
[17:59:05] <snurfery> I'm a motherfuggin nerd
[17:59:09] <robdubya> oniijin yeah, taking em apart used to be my jerb
[17:59:15] <snurfery> and I don't like people telling me what I can and can't do with my computer
[17:59:19] <robdubya> which means i hate doing it now :(
[17:59:34] <snurfery> so a pox on IOS
[17:59:35] <snurfery> /rant
[17:59:38] <oniijin> lol
[17:59:58] *** atomical has joined #angularjs
[18:00:03] *** lostInParadise has quit IRC
[18:00:12] <oniijin> robdubya yeah but u know how so that's a huge plus if u need to replace fan
[18:00:12] *** pablasso_afk is now known as pablasso
[18:00:18] *** atomical has quit IRC
[18:00:23] <oniijin> luckily all my internals got replaced and are less then a year old
[18:00:28] <mmitchel_> snurfery: re. ui-router - do you know how to get it to not reload the controller when changing the params? If so, mind sharing any info on that?
[18:00:29] <oniijin> so should last a while
[18:00:58] *** endash has joined #angularjs
[18:01:00] <snurfery> i do love my macbook though, which causes all sorts of conflict within my soul
[18:01:37] *** AndyFTP has quit IRC
[18:01:46] *** rtpg has quit IRC
[18:02:03] <snurfery> mmitchel_: well it's going to reload the controller of course, so the question becomes "how do you get it to not re-run some/all of the code within the controller"
[18:02:06] *** aslate has joined #angularjs
[18:02:12] <robdubya> the real question is "why"
[18:02:12] *** fouzko has joined #angularjs
[18:02:15] *** illume has quit IRC
[18:02:20] <snurfery> ^^ yeah that too
[18:02:20] <robdubya> because it sounds like you're storing state on the controller
[18:02:24] <oniijin> didn't i ask why like 10 minutes ago
[18:02:29] <robdubya> which is wrongalongadingdong
[18:02:33] <snurfery> lolol
[18:02:36] <oniijin> adongdong
[18:02:41] *** pgu has quit IRC
[18:03:05] *** arizzo has quit IRC
[18:03:10] <snurfery> apparently it's a secret?
[18:03:20] *** spookyfork has joined #angularjs
[18:03:20] *** AndyFTP has joined #angularjs
[18:03:32] *** caitp has quit IRC
[18:03:32] *** RangerRick has joined #angularjs
[18:03:33] <robdubya> two can keep a secret, if one of them is dead
[18:03:43] <oniijin> welp simple google search returns TONS of hits on HOW to do it
[18:03:50] <oniijin> sooooooo
[18:03:57] *** chrisbirk has joined #angularjs
[18:04:09] *** jscheel has quit IRC
[18:04:09] <oniijin> whyt
[18:04:38] <robdubya> speaking of paul irish, this is full of super good things
[18:04:39] <robdubya> v
[18:04:52] <robdubya> my shell is so pretty!
[18:05:00] <snurfery> aww man
[18:05:06] *** atomical has joined #angularjs
[18:05:08] <snurfery> now I have to watch all this stuff
[18:05:12] *** azizur has quit IRC
[18:05:21] <snurfery> cuz lord help me if I skip it and remain ignorant
[18:05:33] <snurfery> damn your valuable resources robdubya
[18:05:35] <oniijin> ignant
[18:05:43] *** bengillies has quit IRC
[18:06:07] *** cisox is now known as cisox_away
[18:06:21] *** redian has joined #angularjs
[18:06:24] <snurfery> just know that my day job employer is now paying for me to watch the videos
[18:06:28] <robdubya> snurfery adhd bro
[18:06:30] <mmitchel_> :) - Yes there is some state, but it's not in the controller. The controller is setting it initially from the URL params, but after that the controls set the state. But I want the URL to stay synchronized with any related data that changes (2 params)
[18:06:30] <snurfery> so yeah, capitalism
[18:06:37] *** bengillies has joined #angularjs
[18:06:43] <robdubya> i should probably be writing codSHINY
[18:06:54] *** DuelShark has quit IRC
[18:06:55] *** chakkimatti has quit IRC
[18:07:18] *** jscheel has joined #angularjs
[18:07:28] <oniijin> mmitchel_ some combo of preventdefault and using $location
[18:07:32] <oniijin> +google
[18:07:38] *** knicholes has joined #angularjs
[18:07:39] *** darrin has joined #angularjs
[18:07:44] *** AndyFTP has quit IRC
[18:07:50] <mmitchel_> ha i did "google" also, but I couldn't get any of it to work, will try again
[18:08:18] <mmitchel_> omsmith: thanks yeah, i've had more luck with $location than trying to change it with ui-router
[18:08:21] <snurfery> "controls set the state" - you mean like buttons or elements on the page?
[18:08:34] <mmitchel_> yeah exactly, a couple of selects
[18:08:37] *** Jdubs has quit IRC
[18:08:47] *** chrisbirk has quit IRC
[18:08:57] *** mattwynn_ has quit IRC
[18:09:10] *** armdale has joined #angularjs
[18:09:15] *** carbonpile has joined #angularjs
[18:09:56] <snurfery> so you want the url to update to reflect the values selected, but you don't want a full page reload and controller re-init
[18:10:13] <snurfery> seems pretty reasonable, I don't have the exact answer tho
[18:10:17] *** jonog has quit IRC
[18:10:58] *** atomical has quit IRC
[18:10:59] <mmitchel_> exactly yes. OK no problem, you guys have given me a couple of good hints!
[18:11:05] *** KernelCurry has joined #angularjs
[18:11:29] <snurfery> I have some promising google results
[18:11:32] <snurfery> gimme a sec
[18:11:34] *** apetro__ has joined #angularjs
[18:11:35] <oniijin> maybe an onstatechangestart prevent deault, and update $location
[18:11:39] *** jscheel has quit IRC
[18:11:59] *** spookyfork has quit IRC
[18:12:06] <oniijin> i think location only changes url, doesnt navigate unless u tell it to
[18:12:39] *** JakeSays has quit IRC
[18:13:05] *** atomical has joined #angularjs
[18:13:44] *** benschwarz has quit IRC
[18:13:48] *** atomical has quit IRC
[18:13:51] *** bmcgee has quit IRC
[18:14:09] *** azizur has joined #angularjs
[18:14:20] *** KushS has joined #angularjs
[18:14:26] *** spookyfork has joined #angularjs
[18:14:39] *** bengillies has quit IRC
[18:15:04] *** apetro_ has quit IRC
[18:15:05] *** darrin has quit IRC
[18:15:24] *** Guest41800 is now known as fsargent
[18:16:08] *** spookyfork has quit IRC
[18:16:44] *** Christer_ has quit IRC
[18:16:50] *** carbonpile has quit IRC
[18:17:36] *** tarkus has joined #angularjs
[18:17:59] *** andkan has quit IRC
[18:17:59] *** spencercarnage has joined #angularjs
[18:18:05] *** illume has joined #angularjs
[18:18:10] *** nukulb has quit IRC
[18:18:22] *** InezK_away is now known as InezK
[18:18:33] *** andkan has joined #angularjs
[18:19:17] *** QuantumNinja has quit IRC
[18:19:26] *** Evanion has quit IRC
[18:19:30] <jpstone-> mitchel / snurfery: I'm doing that in one of my apps right now
[18:19:35] *** hannesvdvreken has quit IRC
[18:19:37] *** samcfc has quit IRC
[18:19:38] *** sloria has quit IRC
[18:19:40] <jpstone-> seems to be working like a champ
[18:19:59] <snurfery> 3rd to last comment
[18:20:05] *** Ronyrun has quit IRC
[18:20:26] *** sonofdirt has quit IRC
[18:21:11] *** rtucker88 has quit IRC
[18:21:40] *** Tidwell has quit IRC
[18:21:43] *** blackkbot has quit IRC
[18:21:45] *** Dimlock has quit IRC
[18:22:00] *** sal1191_ has quit IRC
[18:22:03] *** avens has quit IRC
[18:22:24] *** Christer_ has joined #angularjs
[18:22:28] *** redian has quit IRC
[18:22:30] *** illume has quit IRC
[18:22:31] *** rtucker88 has joined #angularjs
[18:22:32] *** rburns has joined #angularjs
[18:22:48] *** lw has quit IRC
[18:23:06] *** Jdubs has joined #angularjs
[18:23:21] *** andkan has quit IRC
[18:23:27] *** juanlas has quit IRC
[18:23:32] *** avens has joined #angularjs
[18:23:35] *** Ymesio has quit IRC
[18:24:38] *** maurovitale has quit IRC
[18:24:46] *** illume has joined #angularjs
[18:25:16] *** KamalKaur has quit IRC
[18:25:23] <storkme> does anyone here use generator-angular w/ yeoman?
[18:25:32] *** zwacky has quit IRC
[18:26:11] *** futuredale has quit IRC
[18:26:17] *** Jdubs has quit IRC
[18:27:29] <snurfery> yah mon
[18:27:30] <jpstone-> I use generator-angular-fullstack
[18:27:34] *** sharondio has joined #angularjs
[18:27:36] <jpstone-> most of the time
[18:27:37] *** nick125 has quit IRC
[18:28:04] *** charuru has joined #angularjs
[18:28:07] *** InezK is now known as InezK_away
[18:28:15] *** subnl has joined #angularjs
[18:28:29] <snurfery> mmitchel_: found it
[18:28:52] *** whunt has joined #angularjs
[18:28:56] *** SahanH has joined #angularjs
[18:28:58] <snurfery> use $location.search({paramName: value})
[18:29:09] *** senayar has joined #angularjs
[18:29:11] <snurfery> then on your route use reloadOnSearch: false
[18:29:15] *** nick125 has joined #angularjs
[18:29:15] *** nick125 has joined #angularjs
[18:29:17] *** arabot has joined #angularjs
[18:29:28] *** Jdubs has joined #angularjs
[18:29:28] *** atomical has joined #angularjs
[18:29:36] *** arabot has left #angularjs
[18:29:38] *** sharondio has quit IRC
[18:30:46] *** mongo_ has quit IRC
[18:30:58] *** juampy_ has joined #angularjs
[18:30:59] *** Gho5t has joined #angularjs
[18:31:50] *** Cavallari has joined #angularjs
[18:31:51] *** carbonpile has joined #angularjs
[18:31:54] <elnur> \o/
[18:31:55] *** sal1191 has joined #angularjs
[18:32:28] *** pluma has quit IRC
[18:32:28] *** JosephSilber has quit IRC
[18:32:35] *** Joulse has quit IRC
[18:32:55] *** Snugug has quit IRC
[18:33:08] *** zchwyng has joined #angularjs
[18:33:23] *** snapwich has joined #angularjs
[18:33:23] <jpstone-> snurfery: what's your backend of preference
[18:33:26] <jpstone-> as it relates to code, of course
[18:33:29] *** GatorCSE has quit IRC
[18:33:34] <snurfery> I'm a python/django guy
[18:33:43] <snurfery> angular is my first foray into proper frontend frameworks
[18:33:45] <jpstone-> yeah, I was for a long time
[18:33:56] *** jbub has quit IRC
[18:34:12] <jpstone-> but I kept running into node and node packages, and got tired of spending days in the front end, then doing a brain-switch for contexts
[18:34:14] <snurfery> now I'm mostly just setting up awesome django-rest-framework views/endpoints and coding angular all damn day
[18:34:16] <jpstone-> so decided to go node
[18:34:18] *** walden is now known as walden|lunch
[18:34:19] <snurfery> ah
[18:34:20] *** juampy has quit IRC
[18:34:54] *** m1hael has left #angularjs
[18:35:07] *** QuantumNinja has joined #angularjs
[18:35:15] <jpstone-> now I feel my javascipt skills improving faster since I'm using it whether or not I'm in the front end or back end
[18:35:20] <Gho5t> I guess I don't really get why 'np' is on scope
[18:35:21] *** blueadept has joined #angularjs
[18:35:21] *** blueadept has joined #angularjs
[18:35:24] *** nshahpazov has quit IRC
[18:35:29] *** bmac has quit IRC
[18:35:36] *** dylukes has joined #angularjs
[18:35:40] *** Al` has quit IRC
[18:36:28] *** anth0ny has joined #angularjs
[18:36:43] *** cisox_away has quit IRC
[18:37:31] *** ccohn has quit IRC
[18:37:31] *** cphoniball has quit IRC
[18:37:39] <snurfery> my poor little brain is still intimidated at the thought of js on the server side
[18:38:01] <jpstone-> I'm currently trying to think of a way to dynamically add inputs in my template, and bind each one to a unique model index. I've created a $scope.shifts = [], which I'm using a $watch on to increment $scope.shiftIndex, so in the model I can use ng-model="shift[shiftIndex]"
[18:38:07] *** ccohn has joined #angularjs
[18:38:27] *** daryllxd has quit IRC
[18:38:28] <jpstone-> so each time shift receives a new value, it increments
[18:38:30] *** anth0ny has quit IRC
[18:38:38] <jpstone-> but I'm stuck on how to show the new inputs
[18:38:43] *** in_deep_thought has quit IRC
[18:38:50] *** joepie91 has quit IRC
[18:38:51] <jpstone-> using ng-if obviously
[18:38:53] *** motionman has quit IRC
[18:39:03] *** Malone has joined #angularjs
[18:39:06] *** JesseEichar_ has joined #angularjs
[18:39:21] *** blackkbot has joined #angularjs
[18:39:33] *** dylukes has quit IRC
[18:39:33] *** QuantumNinja has quit IRC
[18:39:46] *** Cracker has joined #angularjs
[18:39:54] *** teslanick has joined #angularjs
[18:39:55] *** sonofdirt has joined #angularjs
[18:40:02] *** teslanick has left #angularjs
[18:40:31] *** tarkus has quit IRC
[18:40:38] <jpstone-> snurfery: I felt the same way. It's not too bad. I actually like it better.
[18:40:42] <jpstone-> Don't get me wrong, I love python
[18:40:55] <Christer_> Any recommendation on social sharing with angular? any plugins?
[18:40:57] <jpstone-> But having the full stack in one language, in one project, is very convenient
[18:41:03] *** krnflake has quit IRC
[18:41:07] <jpstone-> angular-fullstack is great
[18:41:36] *** in_deep_thought has joined #angularjs
[18:41:45] *** Jdubs has quit IRC
[18:41:56] *** marcghorayeb is now known as marcghorayeb|afk
[18:42:04] *** bayousoft has quit IRC
[18:42:32] *** ccohn has quit IRC
[18:42:33] *** Malone has quit IRC
[18:42:41] *** nanoyak has joined #angularjs
[18:42:50] *** Guest56441 has quit IRC
[18:43:04] *** DevAntoine has quit IRC
[18:43:05] *** jbub has joined #angularjs
[18:43:09] *** fedenunez has joined #angularjs
[18:43:36] *** Elemeant has left #angularjs
[18:43:37] *** Malone has joined #angularjs
[18:43:44] *** hannesvdvreken has joined #angularjs
[18:44:27] *** krnflake has joined #angularjs
[18:45:13] *** hannesvdvreken has joined #angularjs
[18:45:23] *** jamto11 has quit IRC
[18:45:27] *** KushS has quit IRC
[18:46:08] *** Malone has quit IRC
[18:46:32] *** kaey has joined #angularjs
[18:46:44] *** azizur has quit IRC
[18:47:12] *** intellix has quit IRC
[18:47:12] *** marcghorayeb|afk is now known as marcghorayeb
[18:47:29] *** nanoyak has quit IRC
[18:47:33] *** fedenunez has quit IRC
[18:47:57] *** joepie91 has joined #angularjs
[18:48:28] *** avens_ has joined #angularjs
[18:48:35] *** Jdubs has joined #angularjs
[18:48:52] *** avens_ has quit IRC
[18:48:52] *** ccohn has joined #angularjs
[18:48:52] *** carbonpile has quit IRC
[18:49:03] *** moritzs has quit IRC
[18:49:05] *** edzez__ has joined #angularjs
[18:49:45] *** brianturgeon has joined #angularjs
[18:50:15] *** JesseEichar_ has quit IRC
[18:50:15] *** mkulke has quit IRC
[18:51:05] *** juampy_ is now known as juampy
[18:52:03] *** mspier_off is now known as mspier
[18:52:04] *** avens has quit IRC
[18:52:05] *** bmac has joined #angularjs
[18:52:18] *** jhulten has joined #angularjs
[18:52:26] *** edzez_ has quit IRC
[18:52:27] *** jamto11 has joined #angularjs
[18:53:31] *** carpediembaby has quit IRC
[18:54:05] *** vintik has joined #angularjs
[18:54:34] *** jbub has quit IRC
[18:54:54] <robdubya> Gho5t what are you trinyg to accomplish there?
[18:55:27] <Gho5t> robdubya: I am passing an object to my directives and want to work with it
[18:55:29] *** RobinBAwesome has joined #angularjs
[18:55:39] <Gho5t> some of the properties are loaded async
[18:55:39] *** joepie91 has quit IRC
[18:55:54] <Gho5t> so I have to use a $watch or $observer or something
[18:56:05] <Gho5t> what I have is working but I don't really get why and if it's the right way
[18:56:07] *** terrykfwong has joined #angularjs
[18:56:10] *** sal1191 has quit IRC
[18:56:26] *** pablasso is now known as pablasso_afk
[18:56:39] <Gho5t> *$observe
[18:56:45] *** blackkbot has quit IRC
[18:57:10] *** Christer_ has quit IRC
[18:57:29] *** hswolff has quit IRC
[18:57:50] *** hswolff has joined #angularjs
[18:58:19] *** pablasso_afk is now known as pablasso
[18:58:38] *** JesseEichar_ has joined #angularjs
[18:58:53] *** Jdubs has quit IRC
[18:58:56] *** JosephSilber has joined #angularjs
[18:58:58] <robdubya> Gho5t typically you'd use the link function for this
[18:58:58] *** joepie91 has joined #angularjs
[18:59:12] <mmitchel_> snurfery: thanks! Where does "reloadOnSearch" go? Is that an option to a state definition? Like: $stateProvider.state('/foo', {reloadOnSearch: false}) ?
[18:59:17] *** illume has quit IRC
[18:59:36] *** sultunate has joined #angularjs
[18:59:39] <Gho5t> robdubya: I am.
[18:59:41] *** sal1191 has joined #angularjs
[18:59:43] <Gho5t> did you look at my fiddle?
[18:59:44] <jpstone-> in your app.config
[18:59:52] *** roymiloh has joined #angularjs
[18:59:59] <robdubya> you're using compile
[18:59:59] *** caitp has joined #angularjs
[19:00:02] <robdubya> and the post
[19:00:25] *** boptop has quit IRC
[19:00:27] *** snapwich has quit IRC
[19:00:37] *** jbub has joined #angularjs
[19:00:40] <jpstone-> $routeProvider.when('route', {reloadOnSearch: false, otherStufF: etc})
[19:00:58] <Gho5t> umm
[19:01:04] *** klaut has quit IRC
[19:01:04] <Gho5t> you know that's the link function right
[19:01:09] *** in_deep_thought has quit IRC
[19:01:19] <Gho5t> there's no such thing as post compile
[19:01:19] <snurfery> mmitchel_: in your routes
[19:01:21] *** Tuomas__ has quit IRC
[19:01:23] *** Validatorian has joined #angularjs
[19:01:32] <robdubya> Gho5t yes dude
[19:01:40] <robdubya> no eval necessary
[19:01:50] *** zwacky has joined #angularjs
[19:01:57] <Gho5t> dude
[19:01:57] *** Jdubs has joined #angularjs
[19:02:00] <robdubya> its on scope, you can work with it, whether that's inherited (the first one) or directly defined (the 2nd)
[19:02:02] <Gho5t> you're using isolate scope
[19:02:11] <Gho5t> and you're using a shorthand for link
[19:02:12] *** klaut has joined #angularjs
[19:02:18] <Gho5t> my syntax is still the link function...
[19:02:23] *** wallerdev has joined #angularjs
[19:02:33] <robdubya> and absolutely none of what you were doing is necessary.
[19:02:35] *** klaut has quit IRC
[19:02:35] <robdubya> that's my point
[19:03:16] *** zemanel has quit IRC
[19:03:28] *** arizzo has joined #angularjs
[19:03:34] *** joepie91 has quit IRC
[19:03:35] *** eperez has quit IRC
[19:03:36] *** mehlah has quit IRC
[19:03:43] *** TheAceOfHearts has joined #angularjs
[19:03:44] *** sal1191 has quit IRC
[19:04:03] *** chrisbirk has joined #angularjs
[19:04:12] <Gho5t> yes cause you know if I need isolate or child scope
[19:04:17] *** chrisbirk has quit IRC
[19:04:25] <Gho5t> search for postlink
[19:04:34] *** bayousoft has joined #angularjs
[19:04:43] <robdubya> i know what it does
[19:04:47] *** teeray has quit IRC
[19:04:48] <Gho5t> I don't think you do
[19:04:52] *** sal1191 has joined #angularjs
[19:04:52] <robdubya> why. are. you. evaling.
[19:04:55] <Gho5t> tell me what post compile is
[19:05:02] <Gho5t> I am really curious
[19:05:09] *** joshbrw has quit IRC
[19:05:29] *** sloria has joined #angularjs
[19:05:30] <OdinIncarnate> something akin link?
[19:05:33] <OdinIncarnate> :>
[19:05:33] *** JesseEichar_ has quit IRC
[19:05:35] *** rockfordal has quit IRC
[19:05:39] *** gr1nd has joined #angularjs
[19:05:43] *** krawchyk has quit IRC
[19:05:52] <Gho5t> my code even says post: function postLink(scope, iElement, iAttrs){
[19:06:08] *** darrin has joined #angularjs
[19:06:08] <robdubya> forget it. carry on with your $eval self
[19:06:15] *** vintik has quit IRC
[19:06:19] <Gho5t> anyone who knows angular able to help?
[19:06:40] *** terrykfwong has quit IRC
[19:06:44] <cthrax> Basically when I'm using a the jquery sparklines library and try and transclude points into a directive, something is wrong with how those points are transferred over
[19:06:49] *** blueadept has quit IRC
[19:07:18] *** chrisbirk has joined #angularjs
[19:07:36] *** vbabiy has quit IRC
[19:07:36] <cthrax> I'm not sure exactly what, because it's clear the points make it to the library, evidenced by the underlines in saSparkline, but no height is involved, as evidenced by saSparkline2
[19:07:51] *** krawchyk has joined #angularjs
[19:07:54] <cthrax> so the solution is to pass the points an attribute
[19:08:03] *** joroci has quit IRC
[19:08:05] <cthrax> but that makes the markup kind of messy
[19:08:12] *** blueadept has joined #angularjs
[19:08:12] *** blueadept has joined #angularjs
[19:08:22] <cthrax> so I'm looking for someway of maybe pre-linking the contents into the template
[19:08:27] *** toors has joined #angularjs
[19:08:29] <gr1nd> Every time I go to a different route, the controller loads the view and rebinds all the data. Is it possible to cache the controller so when it gets called again from a different route, it doesn't re-load the view?
[19:08:31] <robdubya> cthrax where are the values coming from?
[19:08:40] <cthrax> robdubya, the markup
[19:08:43] *** joroci has joined #angularjs
[19:08:59] <cthrax> robdubya, in the case of saSparkline2 it's in the template
[19:09:06] *** cisox has joined #angularjs
[19:09:08] *** TyrfingMjolnir has joined #angularjs
[19:09:08] *** caitp has quit IRC
[19:09:09] *** carbonpile has joined #angularjs
[19:09:10] *** arizzo has quit IRC
[19:09:32] *** lsiv568 has joined #angularjs
[19:09:34] <robdubya> cthrax so you're rendering that on the server, and then trying to extract it?
[19:09:36] *** arizzo has joined #angularjs
[19:09:39] *** Gambit- has joined #angularjs
[19:09:51] *** blackkbot has joined #angularjs
[19:09:59] *** joepie91 has joined #angularjs
[19:10:03] *** InezK_away is now known as InezK
[19:10:09] *** brianturgeon has quit IRC
[19:10:15] <cthrax> robdubya, nah, I'm putting that in the markup, it will ultimately be bound to a scope value
[19:10:22] *** Snugug has joined #angularjs
[19:11:02] *** patrick99e99 has quit IRC
[19:11:06] *** Tidwell has joined #angularjs
[19:11:11] *** jareddlc has joined #angularjs
[19:11:15] *** nanoyak has joined #angularjs
[19:11:27] *** scottc5 has quit IRC
[19:11:38] *** boptop has joined #angularjs
[19:11:40] *** Johnny13371337 has joined #angularjs
[19:11:47] *** brianturgeon has joined #angularjs
[19:12:13] <cthrax> robdubya, wow, I guess I should have tried that first
[19:12:23] <cthrax> it doesn't work at all with binding templates
[19:12:24] *** atomical has quit IRC
[19:12:28] *** mennea has joined #angularjs
[19:12:53] <cthrax> I guess I just need to use attributes after all
[19:12:53] *** Shoe has joined #angularjs
[19:12:55] *** krawchyk has quit IRC
[19:13:03] <robdubya> cthrax typically
[19:13:03] *** jamieshepherd has joined #angularjs
[19:13:11] <robdubya> $scope.values = [1,2,3,4]
[19:13:16] <cthrax> right
[19:13:26] <robdubya> <sparkline spark-values="values"
[19:13:27] <robdubya> etc
[19:13:27] *** cisox is now known as cisox_away
[19:13:29] <cthrax> robdubya, it's tricky mixing the jquery and angular paradigms like this
[19:13:33] <Shoe> Anyone have extensive experience with midway testing?
[19:14:02] *** marcghorayeb has quit IRC
[19:14:02] *** jamieshepherd has quit IRC
[19:14:06] *** arizzo has quit IRC
[19:14:12] <robdubya> cthrax indeed :)
[19:14:32] *** DrMabuse has quit IRC
[19:14:38] <snurfery> did I just see some dude in here using $eval then not listening to any of the help provided?
[19:14:48] <snurfery> because that would be fucking precious
[19:14:49] <snurfery> haha
[19:14:49] *** Aliks has joined #angularjs
[19:14:51] <robdubya> turns out i dont know anything about angular
[19:14:55] <snurfery> apparently
[19:14:59] *** bmac has quit IRC
[19:15:05] *** bmac_ has joined #angularjs
[19:15:28] *** bmac_ is now known as Guest38410
[19:15:34] *** scottc5 has joined #angularjs
[19:15:34] <robdubya> cthrax that's a fuckton of code (the jq lib)
[19:15:48] *** mnngfltg has quit IRC
[19:16:03] <cthrax> robdubya, lol, yeah, that's why I'm not messing with it, it's actually fairly full features graphing library that is tailored toward inline graphs
[19:16:09] <cthrax> not mine, btw
[19:16:40] <cthrax> oops, not sure why that went twice
[19:16:48] *** Sebastien-L has quit IRC
[19:16:49] *** ccohn has quit IRC
[19:17:08] *** eperez has joined #angularjs
[19:17:20] *** eperez has quit IRC
[19:17:27] *** ccohn has joined #angularjs
[19:17:33] *** marthinal has joined #angularjs
[19:17:55] *** eperez has joined #angularjs
[19:17:58] *** aarontrostle has joined #angularjs
[19:18:03] *** ccohn_ has joined #angularjs
[19:18:10] <snurfery> a buddhist master poured tea into a scholar's cup until it began to overflow. The scholar shouted "Stop, stop! It's full, you can't get anymore in!"
[19:18:13] <snurfery> The master stopped and said "You are like this cup; you are full of your own ideas. You come and ask for teaching, but your cup is full; I can't put anything in. Before I can teach you, you'll have to empty your cup."
[19:18:15] *** kornalius has quit IRC
[19:18:23] *** juanlas has joined #angularjs
[19:18:34] *** joepie91 has quit IRC
[19:19:40] *** cujojp has joined #angularjs
[19:19:45] *** thebigredgeek has joined #angularjs
[19:19:50] <snurfery> it's getting zen up in this piece
[19:19:50] *** mite_mitreski has joined #angularjs
[19:19:52] <subnl> Is there an order of execution for a nested controller B and a parent controller A? I assumed it would go outside to inside (A, B), since you have access to the parent scope, but it doesn't seem to be the case
[19:20:08] *** heidi has joined #angularjs
[19:20:16] <subnl> basically I have some init code in the nested controller that depends on the code in the parent executing
[19:20:22] *** mite_mitreski has quit IRC
[19:20:25] *** cujojp has left #angularjs
[19:20:38] <thebigredgeek> Weird issue.. how can I forcibly bypass angular's form validation for inputs with type of "email" using my own regex?
[19:20:45] *** arrty has joined #angularjs
[19:21:01] *** bmac has joined #angularjs
[19:21:17] <snurfery> can you just make em input type "text" then add the custom validation?
[19:21:24] <robdubya> thebigredgeek novalidate?
[19:21:33] *** tylerjohnst has joined #angularjs
[19:21:33] <elnur> Anyone using TypeScript with Angular?
[19:21:33] *** fels_zh has quit IRC
[19:21:35] <thebigredgeek> ng-pattern doesn't work. using a directive to set a single custom hook for ctrl.$parsers and ctrl.$formatters doesn't work.
[19:21:58] *** blackkbot has quit IRC
[19:21:59] *** ccohn has quit IRC
[19:22:03] <elnur> I'm trying to figure out how to start using TypeScript with Angular without using any TS features for now. I want to be able to just run the existing code.
[19:22:03] <thebigredgeek> It has to be type='email' because our site is mobile friendly. If you remove type email mobile browsers won't show the email keyboard
[19:22:04] *** kornalius has joined #angularjs
[19:22:05] *** fels_zh has joined #angularjs
[19:22:07] *** stevvooe has joined #angularjs
[19:22:12] * snurfery nods
[19:22:13] <thebigredgeek> the FORM is novalidate
[19:22:17] <thebigredgeek> that is correct?
[19:22:23] <snurfery> these are good points
[19:22:25] <elnur> It seems like I have to somehow describe Angular code to be able to use it in TS.
[19:22:26] <Shoe> Having some issues midway testing: I have a directive that listens for a 'message' event fired by a 'postMessage' in an iFrame. I'm trying to figure out how to test that the event is getting handled.
[19:22:29] *** jk-5 is now known as jk-5|gone
[19:22:29] <elnur> Is that correct?
[19:22:35] *** Guest38410 has quit IRC
[19:22:50] <storkme> omg I think I've solved my problem. I can keep using cookies for authenticating with my API. when the app first loads, i can check to see if a cookie exists, if not the user needs to login. if the cookie does exist, I make a simple API call that validates my cookie and returns the user model back to me, then i can store it in my application and carry on happily.
[19:23:42] *** evilaliv3 has quit IRC
[19:23:44] <thebigredgeek> Any ideas guys?
[19:24:01] *** joepie91 has joined #angularjs
[19:24:09] *** teeray has joined #angularjs
[19:24:23] *** Cracker has quit IRC
[19:24:37] *** eburcat has joined #angularjs
[19:24:38] <thebigredgeek> My form has novalidate, I have a special directive on the input overloading ctrl.$formatters and ctrl.$parsers but no joy
[19:25:03] <snurfery> thebigredgeek: maybe another directive
[19:25:21] *** GatorCSE has joined #angularjs
[19:26:02] <mmitchel_> snurfery: dang, FINALLY got it! I'm using ui-router along with abstract states. I thought that reloadOnSearch would work in a parent/abstract state (for the child states) but nope. Adding reloadOnSearch to each individual route does the trick. Thanks for the help :)
[19:26:13] *** hecatonicosachor has joined #angularjs
[19:26:28] <snurfery> mmitchel_: win! glad you figured it out =)
[19:26:40] <snurfery> bonus points for using "dang"
[19:26:42] <snurfery> haha
[19:27:13] *** tlvince has joined #angularjs
[19:27:19] *** fels_zh has quit IRC
[19:27:25] *** sloria has quit IRC
[19:27:33] *** joepie91 has quit IRC
[19:27:34] *** shabadoo has quit IRC
[19:27:39] <mmitchel_> :)
[19:27:41] *** Tidwell has quit IRC
[19:27:43] *** rrocsal has quit IRC
[19:28:27] *** jonnybro has joined #angularjs
[19:28:51] *** blackkbot has joined #angularjs
[19:28:54] *** KushS has joined #angularjs
[19:29:05] *** kornalius has quit IRC
[19:29:05] *** sacho_ has quit IRC
[19:29:46] *** vbabiy has joined #angularjs
[19:29:58] <robdubya> heckdang boy
[19:29:59] *** andkan has joined #angularjs
[19:30:01] <robdubya> nice work
[19:30:03] *** Ymesio has joined #angularjs
[19:30:24] *** whunt has quit IRC
[19:30:43] *** Jdubs_ has joined #angularjs
[19:31:10] *** ccohn_ has quit IRC
[19:31:45] *** ccohn has joined #angularjs
[19:32:05] *** jsoverson has quit IRC
[19:32:27] *** juanlas has quit IRC
[19:32:55] *** juanlas has joined #angularjs
[19:33:02] *** joepie91 has joined #angularjs
[19:33:02] *** sneakertack has quit IRC
[19:33:05] <mmitchel_> robdubya: yeehah dang, thanks!
[19:33:13] *** Jdubs has quit IRC
[19:33:44] *** daslicht has joined #angularjs
[19:33:45] *** sal1191 has quit IRC
[19:33:59] *** whunt has joined #angularjs
[19:34:02] *** LuxuryMode has joined #angularjs
[19:34:24] *** DerekPerkins_ has joined #angularjs
[19:34:26] *** sal1191 has joined #angularjs
[19:34:29] *** lsiv568 has quit IRC
[19:35:04] *** nanoyak has quit IRC
[19:35:47] *** ankakusu has joined #angularjs
[19:35:51] *** ccohn has quit IRC
[19:35:53] *** DerekPerkins has quit IRC
[19:36:52] <ankakusu> Hi, I want to develop an AngularJS directive for contextmenu
[19:36:58] <ankakusu> what is the right approach for that?
[19:37:03] *** vbabiy has quit IRC
[19:37:03] <ankakusu> Do you have any idea?
[19:37:10] *** nanoyak has joined #angularjs
[19:37:15] *** m0t0r has joined #angularjs
[19:37:48] *** m0t0r has quit IRC
[19:37:58] *** dylukes has joined #angularjs
[19:38:04] *** disorder20 has joined #angularjs
[19:38:33] *** hecatonicosachor is now known as sacho
[19:39:14] *** eperez has quit IRC
[19:39:25] *** jonnybro has quit IRC
[19:39:35] *** blackkbot has quit IRC
[19:39:48] *** KushS has quit IRC
[19:40:00] *** sal1191 has quit IRC
[19:40:22] *** KushS has joined #angularjs
[19:40:26] *** cthrax has quit IRC
[19:40:31] *** KushS has quit IRC
[19:40:50] *** krimple has joined #angularjs
[19:41:15] <krimple> Quick question - anyone know a bower repo for angular-mocke2e? Can't find one though the documentation refers to it.
[19:41:51] *** shabadoo has joined #angularjs
[19:42:16] *** sonofdirt has quit IRC
[19:42:25] *** cisox_away is now known as cisox
[19:42:34] *** joepie91 has quit IRC
[19:42:36] *** Maverickz has quit IRC
[19:42:49] *** sk87 has joined #angularjs
[19:42:56] *** AlSquire has quit IRC
[19:43:02] <Foxandxss> krimple: what's that?
[19:43:18] *** DrMabuse has joined #angularjs
[19:43:20] *** DrMabuse has quit IRC
[19:43:43] <krimple> a mocking tool that you'd install for faking out the backend in a running server.
[19:43:55] *** blackkbot has joined #angularjs
[19:44:00] *** sonofdirt has joined #angularjs
[19:44:23] <Foxandxss> that is angular-mocks.js
[19:44:26] *** ceephax has joined #angularjs
[19:44:26] *** Snugug has quit IRC
[19:44:37] *** jonog has joined #angularjs
[19:44:41] <Foxandxss> uh
[19:44:44] <Foxandxss> that doc is wrong
[19:44:46] *** vintik has joined #angularjs
[19:44:48] *** sk87 has quit IRC
[19:44:52] <krimple> gotcha, was thinking it was but wasn't sure
[19:44:59] *** DerekPerkins has joined #angularjs
[19:45:21] <krimple> my concern - if all I want is the ngMockE2E module but I don't want to have a fake $log I'm out of luck
[19:45:24] *** Malone has joined #angularjs
[19:45:48] *** sal1191 has joined #angularjs
[19:45:50] *** krawchyk has joined #angularjs
[19:46:14] *** atomical has joined #angularjs
[19:46:25] *** jstephen has joined #angularjs
[19:46:42] <linagee> I'm in the middle of trying to fix ui-utils / ui-mask. Does anyone know why a mobile keyboard would send keyUp events twice? :-/
[19:46:43] *** dcherman has joined #angularjs
[19:47:17] *** Tidwell has joined #angularjs
[19:47:41] *** DerekPerkins_ has quit IRC
[19:47:46] *** ankakusu has quit IRC
[19:48:01] *** ckknight has joined #angularjs
[19:48:36] *** DrShoggoth has quit IRC
[19:49:04] *** jonog has quit IRC
[19:50:01] *** AlSquire has joined #angularjs
[19:50:03] *** joepie91 has joined #angularjs
[19:50:07] *** ppppaul has quit IRC
[19:50:09] *** nemothekid has joined #angularjs
[19:50:16] *** benjamingr has quit IRC
[19:50:19] <TheAceOfHearts> why not?
[19:50:32] *** kaey has quit IRC
[19:50:47] *** texinwien has quit IRC
[19:50:51] <linagee> er, its the iElement (jquery) .bind that's firing twice. From what I see on stackoverflow, people say make sure its not bound twice.
[19:50:53] *** JmZ_ is now known as JmZ
[19:50:57] <linagee> TheAceOfHearts: to me?
[19:51:02] <TheAceOfHearts> ah, no hahahaha
[19:51:07] <TheAceOfHearts> my chat was scrolled way up
[19:51:18] *** bbankes has quit IRC
[19:51:18] <TheAceOfHearts> and someone said something like: stop it, you shouldn't use javascript everywhere
[19:51:26] <TheAceOfHearts> but I didn't realize it was an old message rtight away haha
[19:51:32] *** aslate has quit IRC
[19:51:40] *** brianturgeon has quit IRC
[19:51:42] *** D-Boy has quit IRC
[19:51:42] *** Nizumzen has quit IRC
[19:51:54] *** whunt has quit IRC
[19:52:09] *** marcospgp has joined #angularjs
[19:52:16] *** eperez has joined #angularjs
[19:52:23] *** walden|lunch is now known as walden
[19:52:44] *** ccohn has joined #angularjs
[19:53:03] *** scmx has joined #angularjs
[19:53:43] *** krimple has quit IRC
[19:53:54] <marcospgp> Hello! I've been trying to learn angular for a few days but I can't seem to fit the way it works in my head. Controllers, services, etc. is all very complicated to me. I seem to get it on a basic level, but I can't really see how it all fits together in order to start working on a production-sized webapp. Say, if I wanted to add a scrollbar to a certain div using a javascript plugin, where would I fit the code that calls for the
[19:54:01] *** krawek has quit IRC
[19:54:30] <oniijin> you're thinking about stuff in jquery way
[19:54:39] <oniijin> and in piecemeal js way
[19:55:02] <oniijin> you'll run into same issue that you are currently having with any framework if you think about things that way
[19:55:17] *** nodeman has joined #angularjs
[19:55:48] <marcospgp> Can you please tell me how I should think then? How would I add a scrollbar to a div in the "framework" way
[19:56:49] <robdubya> how would you do that "normally"
[19:56:53] *** pluma has joined #angularjs
[19:57:05] *** nibster has quit IRC
[19:57:14] *** Christer_ has joined #angularjs
[19:57:59] *** AlSquire has quit IRC
[19:58:06] *** sirkitree is now known as sirkitree|afk
[19:58:10] *** balboah has joined #angularjs
[19:58:24] <marcospgp> I would fit the scrollbar initialization code in a function that controls the DOM
[19:58:45] *** dashed has joined #angularjs
[19:59:09] *** mchapman has quit IRC
[19:59:13] *** scarr has quit IRC
[19:59:38] <robdubya> in angular, you'd add a directive to the div
[19:59:43] *** akiress has joined #angularjs
[19:59:50] <robdubya> the directive would handle the initialization stuff
[20:00:10] <robdubya> <div my-scrolly-directive>
[20:00:12] <marcospgp> that does seem logical
[20:00:32] <oniijin> the main jq thinking is, i have some dom, how do i manipulate it
[20:00:35] <robdubya> what we mean when we say "you're thinking about it wrong"
[20:00:39] <oniijin> think about it from the other side
[20:00:41] <robdubya> is that angular is about data
[20:00:55] <robdubya> server -> API -> json -> angular service -> angular controller - > angular view
[20:01:11] <robdubya> typically, jq refugees think about it in the opposite direction
[20:01:31] *** payomdousti has quit IRC
[20:01:38] <robdubya> but the DOM is the last link in a long chain of stuff that has to happen before you start rendering content
[20:01:43] *** KendrickVT has joined #angularjs
[20:01:44] *** Christer_ has quit IRC
[20:01:51] *** jstephen has quit IRC
[20:01:52] <marcospgp> that part makes sense to me, but I get lost when I think of things such as settings or more complicated UI interaction such as dragging and dropping
[20:02:07] <robdubya> suggestion - stop thinking about that stuff for bit
[20:02:10] <oniijin> lol
[20:02:14] <robdubya> learn the basic mechanics of angular
[20:02:14] <oniijin> drink more
[20:02:16] <marcospgp> I know how to make the code for those things, and with jQuery it made sense where to write it, but with angular I just don't know where to do those things
[20:02:38] *** mven has joined #angularjs
[20:02:46] <oniijin> jq makes some things easier but also created a whole generation of devs with really bad programming habits
[20:02:50] *** night-owl-MBP has quit IRC
[20:02:54] <robdubya> but its like... learning how to rally race before you've learned how to shift
[20:03:19] <thebigredgeek> ugh...nothing works
[20:03:23] <oniijin> twss
[20:03:23] <robdubya> that's a terrible analogy, so i'm going to go eat lunch
[20:03:28] <thebigredgeek> the form validation thing is super annoying
[20:03:34] <marcospgp> what I mean by jquery is the same as native javascript, I would just place the code in functions and call those in a main starter function
[20:03:36] <thebigredgeek> they shouldn't make such assumptions regarding validation
[20:04:00] *** patrickarlt has quit IRC
[20:04:06] <oniijin> marcospgp think about stuff as components
[20:04:13] <oniijin> that's basically what the pieces are
[20:04:58] <marcospgp> I think it will take a little more time to get angular in my head aha
[20:05:10] <robdubya> marcospgp here's a "typical" angular application
[20:05:15] *** patrickarlt has joined #angularjs
[20:05:19] <robdubya> hits most of the major bits and pieces
[20:05:29] <marcospgp> does anyone know where I can check the source of a relatively big sized angular app-- oh you beat me by a few seconds aha, nice!
[20:05:33] *** lsiv568 has joined #angularjs
[20:05:37] *** vbabiy has joined #angularjs
[20:05:40] *** frankblizzard has quit IRC
[20:06:05] <robdubya> lots going on there, so dig around. happy to answer q's once i've had a burger
[20:06:34] <oniijin> marcospgp the official tutorial has a pretty large crud app i think
[20:06:35] *** Jdubs_ has quit IRC
[20:06:57] <oniijin> and it hink there's another pretty large one with walkthru on thinkster
[20:07:13] <marcospgp> oh man tell me about it, what I would give for a burger right now
[20:07:19] *** tlvince has quit IRC
[20:07:21] <oniijin> basically, forget jq
[20:07:24] <robdubya> (there's also zero jquery in that app - no manual dom manipulation whatsoever)
[20:07:27] *** jstephen has joined #angularjs
[20:07:31] <oniijin> and if that's how u were writing vanilla js, u were doing it wrong anyway
[20:07:46] *** andizzle has joined #angularjs
[20:07:48] *** patrickarlt has quit IRC
[20:07:58] <robdubya> in and out bishes,brb
[20:08:11] <oniijin> ive yet to eat there
[20:08:11] *** tlvince has joined #angularjs
[20:08:18] *** Jdubs has joined #angularjs
[20:08:21] <oniijin> even tho they're everywhere
[20:08:30] <marcospgp> I probably was aha
[20:08:34] *** Ir1sh has quit IRC
[20:08:43] *** D-Boy has joined #angularjs
[20:08:49]
<marcospgp> thanks a lot for the help! I'm trying to rebuild this with angular, since the code just got too messy and slow http://startpagerr.com/
[20:08:57] *** cthrax has joined #angularjs
[20:09:12] <oniijin> that's what happens if u build large things with jq
[20:09:13] *** Ir1sh has joined #angularjs
[20:09:27] <oniijin> start getting callback clusterfck
[20:09:33] *** joepie91 has quit IRC
[20:10:08] *** Notte has joined #angularjs
[20:10:10] *** zchwyng has quit IRC
[20:10:23] *** lsiv568 has quit IRC
[20:10:24] *** dashed has quit IRC
[20:10:26] *** boptop has quit IRC
[20:11:06] *** thedodd has quit IRC
[20:11:48] *** nibster has joined #angularjs
[20:11:48] <marcospgp> oh yea, at a point there with ajax I ended up having like 3 nested callbacks
[20:12:02] <marcospgp> that's just too much error handling for my head
[20:12:09] *** andizzle has quit IRC
[20:12:15] *** patrickarlt has joined #angularjs
[20:12:35] *** fels_zh has joined #angularjs
[20:12:50] *** whunt has joined #angularjs
[20:12:56] *** angulabe has joined #angularjs
[20:13:31] *** Ir1sh has quit IRC
[20:13:47] <angulabe> I have a directive that loads a templateUrl and in the templateUrl there's another directive
[20:13:57] <angulabe> that directive is not loading properly and not working
[20:14:20] <angulabe> I'm trying to use a popover in my directive template
[20:14:25] <Foxandxss> arg, animations are biting me
[20:15:04] *** bayousoft has quit IRC
[20:15:05] <Foxandxss> who knows about animation here to lend me a hand? I think that I see the culprit but...
[20:15:17] <oniijin> fyi, twbs moving to ##bootstrap
[20:15:32] *** Ir1sh has joined #angularjs
[20:15:36] <Foxandxss> never joined that channel
[20:15:42] *** fedenunez has joined #angularjs
[20:16:18] *** intellix has joined #angularjs
[20:16:58] *** jonnybro has joined #angularjs
[20:17:11] *** dutis has quit IRC
[20:17:32] *** apetro__ has quit IRC
[20:18:06] *** apetro_ has joined #angularjs
[20:18:39] *** joepie91 has joined #angularjs
[20:18:58] *** teeray has quit IRC
[20:19:54] <angulabe> any help on nested directives?
[20:20:00] *** evc has joined #angularjs
[20:20:48] <shacklef_> has anyone written a unit test to test $interval?
[20:21:09] <Foxandxss> I need to fix my own stuff before help
[20:21:10] *** fedenunez has quit IRC
[20:21:14] <shacklef_> if so, do you know of any good examples or approaches.
[20:21:22] *** TyrfingMjolnir has quit IRC
[20:21:41] <Notte> Foxandxss: do you know bounce.js? That may help maybe
[20:21:59] *** frege has joined #angularjs
[20:22:16] <Foxandxss> Notte: I don't know, I Suck at css and animations
[20:22:22] <Foxandxss> I barely knows what I am doing
[20:22:48] *** xastey has quit IRC
[20:22:49] <Foxandxss> I have animation working
[20:22:59] <Foxandxss> but seems that children of the animated element are also triggering the animation
[20:23:17] *** nodweber has quit IRC
[20:23:19] <Foxandxss> so if I have an animation on .foo and I prepend something inside it, it also triggers the animation
[20:23:25] <Foxandxss> so I get an animation done twice
[20:23:49] *** nodweber has joined #angularjs
[20:23:51] *** Matt_Ricketts has quit IRC
[20:23:54] <Foxandxss> I need some scoping or something
[20:24:36]
<Notte> Foxandxss: i suck at css too. I thought a visual approach could have helped but maybe that's not your case: http://bouncejs.com/
[20:24:44] *** nodweber has quit IRC
[20:24:50] <Foxandxss> thank you, the page is handy
[20:24:55] <Foxandxss> but I don't need animations
[20:24:57] *** tlvince has quit IRC
[20:24:58] <Foxandxss> I need to remove it
[20:25:20] *** nodweber has joined #angularjs
[20:25:55] <Foxandxss> ill keep googling
[20:26:16] *** angulabe has quit IRC
[20:27:37] *** jonnybro has quit IRC
[20:27:51] <evc> Foxandxss: Hi!
[20:27:58] <Foxandxss> hi
[20:28:03] <evc> Foxandxss: i need help, i have a collection
[20:28:08] *** Matt_Ricketts has joined #angularjs
[20:28:18] <Foxandxss> I am busy with my own problems atm
[20:28:20] <evc> Foxandxss: and i want to filter it, but with 3 types of value,
[20:28:30] <evc> Foxandxss: fast look and say
[20:28:33] <Foxandxss> don't be selfish
[20:28:38] <evc> Foxandxss: ok
[20:28:53] *** xastey has joined #angularjs
[20:29:25] *** cthrax has quit IRC
[20:29:26] *** teeray has joined #angularjs
[20:29:50] *** bradmc has joined #angularjs
[20:30:23] <evc> guys any ideas? who tried filtering data with true/false/trueFalse
[20:30:23] *** payomdousti has joined #angularjs
[20:30:54] *** juampy has quit IRC
[20:30:59] *** DrMabuse has joined #angularjs
[20:31:04] *** dutis has joined #angularjs
[20:31:18] <Foxandxss> evc: be quiet and wait for answer
[20:31:25] *** dutis has quit IRC
[20:31:28] <evc> Foxandxss: they ignore me
[20:31:37] <Foxandxss> We warned you multiple times
[20:31:42] <Foxandxss> just ask and wait
[20:31:50] <Foxandxss> if someone knows good, if not bad luck
[20:31:57] <evc> Foxandxss: look at right side, tons of connected people. and only you are active
[20:32:10] <Foxandxss> bad luck then
[20:32:15] *** lucasefe has joined #angularjs
[20:32:24] *** partikus has quit IRC
[20:33:03] <oniijin> lol Foxandxss who are u talking to
[20:33:20] <oniijin> i have a bunch of people on ignore so you seem to be having a solo conversation =]
[20:33:29] <Foxandxss> oniijin: maybe I talk alone
[20:33:36] <oniijin> the voices in your head?
[20:33:43] <Foxandxss> yup
[20:33:44] <evc> please help
[20:33:51] <oniijin> there are super drugs for that
[20:34:00] <Foxandxss> oniijin: banning spree helps
[20:34:03] <oniijin> lol
[20:34:06] <oniijin> yay!
[20:34:12] <evc> i want to filter data with true-false-truefalse
[20:34:17] <oniijin> i just put a bunch of the usual suspects on ignore
[20:34:39] *** tlvince has joined #angularjs
[20:34:41] <oniijin> "help me out now, I'm too lazy to try myself"
[20:34:56] <Foxandxss> evc: we read you, I won't warn you again
[20:34:56] <oniijin> "ok thanks for telling me how to do it, can you write the code for me"
[20:35:15] <evc> hey i tried, and made plunker,
[20:35:15] <Foxandxss> oniijin: bah, I hate more the teamviewer ones
[20:35:20] *** Cavallari1 has joined #angularjs
[20:35:25] <oniijin> LOL wtf seriously
[20:35:29] <oniijin> that should be instant ban
[20:35:31] <evc> oniijin: you are talking about me/?
[20:35:39] <Foxandxss> no, he is ignoring you
[20:35:47] <oniijin> hahahahaha
[20:35:52] <Foxandxss> oniijin: I have a friend who doesn't want to share his code
[20:36:01] <Foxandxss> so he only wants me to help him via teamviewer
[20:36:02] *** jamieshepherd has joined #angularjs
[20:36:06] *** Milanito has quit IRC
[20:36:12] <oniijin> bc it's super ultra secret and no one has ever thought of it before?
[20:36:13] <Foxandxss> and is the crappest code ever
[20:36:14] <evc> so sad
[20:36:19] *** dashed has joined #angularjs
[20:36:22] *** Cavallari has quit IRC
[20:36:33] <oniijin> you should secret post it to gh when he's not looking
[20:36:38] *** thedodd has joined #angularjs
[20:36:47] <Foxandxss> gh is full of crap already
[20:36:49] <evc> you both talking about nonsense
[20:36:59] <oniijin> lol
[20:37:09] <LuxuryMode> How can I set the value of some text input using my model?
[20:37:18] <Foxandxss> oniijin: he wanted to save the checkbox status on the options (windows)
[20:37:46] <Foxandxss> it was something like (more or less) options.checkboxChecked = checkbox1.checked;
[20:37:49] <Foxandxss> one line
[20:37:53] <oniijin> LuxuryMode that is super available online
[20:37:53] <evc> LuxuryMode: god it's the primitivest thing you are asking. dont ask read documentation (c)Misko Hevery
[20:38:14] <LuxuryMode> ah, ng-model
[20:38:18] <oniijin> tada
[20:38:19] *** sultunate has quit IRC
[20:38:20] *** Shrooms has quit IRC
[20:38:22] <LuxuryMode> for some reason thought it was more complicated than that
[20:38:26] <Foxandxss> he did something like.... if (checkbox1.checked == false) options.checkboxChecked = false; else options.checkboxChecked = false;
[20:38:29] <oniijin> keep it simple
[20:38:32] *** reduce has joined #angularjs
[20:38:34] <Foxandxss> he was complaining about it not saving its value
[20:38:35] <LuxuryMode> thanks oniijin
[20:38:41] <oniijin> Foxandxss lol wow that's awful
[20:38:45] <LuxuryMode> and relax evc, didnt mean to ruin your day
[20:38:52] <evc> "dont ask read documentation (c)Misko Hevery" best words ever
[20:39:02] <quan___> 'do you even angular bro?'
[20:39:09] <Foxandxss> LuxuryMode: he is like that
[20:39:14] <reduce> ive just seen this in some angular code, <th ng-class="{mandatory: validation.NextRev.notNullable}"> Typo?
[20:39:24] *** ngoyal_ has joined #angularjs
[20:39:29] *** brianturgeon has joined #angularjs
[20:39:30] <Foxandxss> reduce: where?
[20:39:34] <Foxandxss> (the typo)
[20:39:34] <oniijin> it's ngclass
[20:39:36] <oniijin> y typo
[20:39:38] <reduce> single {
[20:39:48] <oniijin> yes
[20:39:58] <Foxandxss> no
[20:39:59] <oniijin> not typo
[20:40:01] <Foxandxss> that is not a typo
[20:40:07] <Foxandxss> reduce: that is an object
[20:40:11] <Foxandxss> he is passing an object to ng-class
[20:40:14] *** rev087 has joined #angularjs
[20:40:15] <oniijin> {{ }} would give u interpolationdingadongdong
[20:40:17] <evc> guys help with my strugle
[20:40:18] <storkme> isn't 'mandatory' supposed to be in quotes
[20:40:27] <reduce> of course, im a dumbass lol
[20:40:32] <Foxandxss> storkme: no
[20:40:33] *** momomomomo has joined #angularjs
[20:40:36] <TheAceOfHearts> evc: the struggle is real
[20:40:38] <oniijin> dont dong it up reduce
[20:40:43] <Foxandxss> only for multi-word classes
[20:40:49] *** Notte has quit IRC
[20:40:51] *** carbonpile has quit IRC
[20:41:00] <storkme> are you sure? oh
[20:41:06] <evc> i want to filter data with 3 vals. true/false/none
[20:41:18] <evc> in ng-repeat
[20:41:23] *** ChanServ sets mode: +o Foxandxss
[20:41:29] <Foxandxss> warned you
[20:41:32] <evc> but how? startup here dont ask read documentation (c)Misko Hevery
[20:41:32] *** Foxandxss sets mode: +b *!054c4127@gateway/web/freenode/ip.5.76.65.39
[20:41:32] *** evc was kicked by Foxandxss (Your behavior is not conducive to the desired environment.)
[20:41:41] *** Matt__Ricketts has joined #angularjs
[20:41:53] *** avree has joined #angularjs
[20:42:00] *** Jdubs has quit IRC
[20:42:28] *** Matt_Ricketts has quit IRC
[20:42:28] *** ngoyal has quit IRC
[20:42:51] *** bayousoft has joined #angularjs
[20:43:34] *** ngoyal_ has quit IRC
[20:43:42] <reduce> oniijin: noted
[20:43:43] *** vf1 has quit IRC
[20:44:36] *** mpaarating has quit IRC
[20:45:12] <TorchDragon> Setting an array value should be causing a render call on a service object, right?
[20:45:26] <TorchDragon> ie, myArray[newKey] = newValue
[20:45:39] *** jonog has joined #angularjs
[20:45:40] <oniijin> lol +1 Foxandxss
[20:45:56] *** icodefor_ has quit IRC
[20:46:00] <Foxandxss> one day can pass, two also, but not hree
[20:46:02] <Foxandxss> three*
[20:46:05] <TorchDragon> I had some code working with myArray.push(newValue), but then I needed to change the data model and now my UI isn't updating even though the scope variable is showing the addition.
[20:46:09] <s3shs> TorchDragon, so long as that array is bound to a repeat.
[20:46:10] <oniijin> ur too lenient Foxandxss
[20:46:12] <s3shs> Or some other way.
[20:46:15] <Foxandxss> ya
[20:46:22] <TorchDragon> s3shs: It is. :-/
[20:46:22] *** anjumkaiser has joined #angularjs
[20:46:24] *** JosephSilber has quit IRC
[20:46:29] <TorchDragon> Not getting any kind of updates on it.
[20:46:36] <oniijin> Foxandxss haha i have him on my list
[20:46:41] *** mspier is now known as mspier_off
[20:46:50] <s3shs> Do a {{myArray}} in the dom, see what shows up.
[20:46:50] <oniijin> i keep a list of irc shitbags on evernote, so i can keep track of y i ignored them
[20:46:57] <TorchDragon> s3shs: []
[20:47:05] <s3shs> You may have a scoping issue.
[20:47:14] <oniijin> moar dots (probably)
[20:47:18] <s3shs> The scope the array is bound to is not the one you're ready.
[20:47:19] <s3shs> reading.
[20:47:20] <Foxandxss> oniijin: I can't ignore or I miss the problems
[20:47:28] <oniijin> yeah u should just ban =]
[20:47:48] *** tlvince has quit IRC
[20:47:50] <TorchDragon> s3shs: If you have a Service being imported into your controller, you still need to bind it to a $scope variable, right?
[20:47:51] <s3shs> Sounds like I missed some drama.
[20:47:56] *** dashed has quit IRC
[20:48:01] <oniijin> TorchDragon yeah you need moar dots bro
[20:48:20] <s3shs> TorchDragon, the way people usually do it is $scope.myService = MyService. Then they bind to {{myService.var}}
[20:48:22] *** futuredale has joined #angularjs
[20:48:34] <TorchDragon> s3shs: And that's exactly what I have.
[20:48:50] *** terrykfwong has joined #angularjs
[20:48:51] <s3shs> You're doing something wrong. I predict the wrong scope.
[20:49:01] <TorchDragon> The only thing different now is that I'm using $scope.myService.myArray['newKey'] = value;
[20:49:20] <s3shs> Revert your code and step through slowly.
[20:50:01] *** avree has quit IRC
[20:50:08] *** jonog has quit IRC
[20:50:09] <TorchDragon> So, change my code back to the old data model that I can't use so that I can verify that it works the old way that is different from the current way that I need it to work?
[20:50:12] *** SahanH has quit IRC
[20:50:47] *** nagappan has quit IRC
[20:50:54] <Foxandxss> oh, my problem is fixed, wasn't the animations after all
[20:50:56] <s3shs> When you say "It worked" and now "It doesn't work", yes, that's how you debug. Other than that, please make a plnkr so we can take a look at your code.
[20:51:00] *** InezK is now known as InezK_away
[20:51:11] *** avree has joined #angularjs
[20:51:21] <oniijin> Foxandxss what issue were u havin? sorry im shoving food in my face
[20:51:26] *** nbrookie has joined #angularjs
[20:51:26] *** nagappan has joined #angularjs
[20:51:29] *** nbrookie has left #angularjs
[20:51:32] *** avree has quit IRC
[20:51:46] *** wafflejock_ has joined #angularjs
[20:51:47] <Foxandxss> oniijin: I added an element dynamically to a directive and it was waiting until the enter animation was done
[20:52:02] <Foxandxss> I thought it was triggering another animation, but that wasn't true
[20:52:07] *** stites has joined #angularjs
[20:52:17] <stites> clear
[20:52:18] <Foxandxss> I just had to add it before showing it
[20:52:36] <oniijin> lol
[20:52:58] <Foxandxss> I got a half backed PR so I am fixing a couple of things before merging it :)
[20:53:18] *** svycka has quit IRC
[20:53:38] *** senayar has quit IRC
[20:53:46] <wafflejock_> Cixis: ended up getting that problem resolved yesterday with the json_encode problem using utf8_encode explicitly... not sure what's different in my server config where I need to do this explicitly but will know to use the json_last_error function when something bombs in json_encode going forward since it doesn't throw exceptions, thx again for your help
[20:53:59] *** KernelCurry has quit IRC
[20:54:00] *** vintik has quit IRC
[20:54:11] *** senayar has joined #angularjs
[20:54:30] *** nanoyak has quit IRC
[20:54:45] *** dan2 has joined #angularjs
[20:54:51] <dan2> hi guys
[20:55:01] <dan2> I'm having an issue trying to get a parameter passed through to my directive
[20:55:06] *** markisonfire has joined #angularjs
[20:55:07] <dan2> no matter what happens, it seems to just ignore it
[20:55:12] <TorchDragon> Line 1 does not trigger a view update. Line 2 does.
[20:55:19] *** icfantv has quit IRC
[20:55:56] *** GatorCSE has quit IRC
[20:56:58] *** spencercarnage has quit IRC
[20:57:04] <TorchDragon> s3shs: I would rather not have the key value inside of the object, which is why I'm trying to have it work as an associative array.
[20:57:26] *** Notte has joined #angularjs
[20:57:34] *** evilaliv3 has joined #angularjs
[20:58:28] *** senayar has quit IRC
[20:59:02] <dan2> forgot the controller code
[20:59:15] *** discipolo_ has joined #angularjs
[20:59:31] *** Shoe has quit IRC
[20:59:34] *** icodeforlove has joined #angularjs
[20:59:39] *** Jdubs has joined #angularjs
[20:59:43] <dan2> what's happening is that the flavorHeading is never executed inside {{}}
[20:59:46] *** greylurk has joined #angularjs
[20:59:52] <dan2> the transclude appears to be working properly
[20:59:59] *** spencercarnage has joined #angularjs
[21:00:07] <linagee> is there a reason why sometimes .$observe is called twice?
[21:00:50] <linagee> inside of ui-mask: iAttrs.$observe('uiMask', initialize); (and I put a console.log inside of initialize and it gets printed twice.)
[21:01:20] *** rburns has quit IRC
[21:01:26] *** JakeSays has joined #angularjs
[21:01:30] *** bkuberek has joined #angularjs
[21:01:51] *** Ir1sh_ has joined #angularjs
[21:02:09] <linagee> per angular docs: "The observer function will be invoked once during the next $digest following compilation"
[21:02:26] <linagee> but its called twice. is that because of something $digest related?
[21:02:27] *** aslate has joined #angularjs
[21:02:36] *** guilbep has quit IRC
[21:02:37] *** thebigredgeek has quit IRC
[21:02:47] *** chrisbirk has quit IRC
[21:02:55] <dan2> linagee: do you have any idea how to fix the directive I've got going on?
[21:03:21] *** DuelShark has joined #angularjs
[21:03:35] <linagee> dan2: no
[21:03:45] *** KernelCurry has joined #angularjs
[21:04:13] *** Ir1sh has quit IRC
[21:04:33] *** whunt has quit IRC
[21:04:40] *** bkuberek_ has quit IRC
[21:07:03] *** aslate has quit IRC
[21:07:09] <snurfery> linagee: because it always has to check if the object is the same
[21:07:25] *** InezK_away is now known as InezK
[21:07:31] <snurfery> the first time is to see what the object is like, on the next pass it's saying "is it still the same as the first time?"
[21:07:46] <snurfery> so there's a minimum of two times
[21:08:04] <snurfery> of course i haven't actually looked at your code so I might be way off
[21:08:17] *** LakWork has joined #angularjs
[21:08:51] *** mdix has joined #angularjs
[21:09:19] *** Matt__Ricketts has quit IRC
[21:09:23] *** tilgovi has joined #angularjs
[21:10:04] *** jbub has quit IRC
[21:10:07] *** DuelShark has quit IRC
[21:10:34] *** Ir1sh has joined #angularjs
[21:10:40] *** jtimon has joined #angularjs
[21:11:02] *** Ir1sh_ has quit IRC
[21:11:36] *** Notte has quit IRC
[21:11:50] *** matiasow has joined #angularjs
[21:12:33] *** jstephen has quit IRC
[21:13:07] *** GatorCSE has joined #angularjs
[21:13:19] *** ipaul has joined #angularjs
[21:14:10] *** nodweber has quit IRC
[21:15:49] *** eperez has quit IRC
[21:15:50] *** sirkitree|afk is now known as sirkitree
[21:16:21] *** armdale has quit IRC
[21:16:24] <Cixis> wafflejock_: very cool
[21:17:05] <Cixis> json_encode is suppose to return false on failure
[21:17:06] <Cixis> Return Values ¶
[21:17:07] <Cixis> Returns a JSON encoded string on success or FALSE on failure.
[21:17:11] <Cixis> so weird that it wasn't
[21:17:22] *** bkuberek has quit IRC
[21:17:42] <Cixis> my guess regarding the difference between your server and theirs is what locales are available on the server, or built into php
[21:17:57] <Cixis> or possibly some stupid .ini config issue
[21:18:02] *** icfantv has joined #angularjs
[21:18:21] *** juanlas has quit IRC
[21:18:24] *** RobinBAwesome has quit IRC
[21:18:42] <linagee> snurfery: ah ok. I think I see code in here to check for a repeat call, it just must be working differently on mobile. (or some wierd race condition.)
[21:19:24] *** JosephSilber has joined #angularjs
[21:20:03] *** juanlas has joined #angularjs
[21:20:10] *** ipaul has quit IRC
[21:20:16] *** Gho5t has quit IRC
[21:20:17] *** danielpquinn has quit IRC
[21:21:22] *** jbub has joined #angularjs
[21:21:58] *** djam90 has joined #angularjs
[21:22:18] *** jstephen has joined #angularjs
[21:22:22] *** Efrem has quit IRC
[21:23:44] *** mrded has joined #angularjs
[21:24:06] <snurfery> I should really spend a weekend reading through the angular source code
[21:24:26] <snurfery> it's damn good codin' in there
[21:24:27] *** Snugug has joined #angularjs
[21:24:31] <mrded> Hi everyone!
[21:24:47] <snurfery> howdy
[21:25:08] *** Milanito has joined #angularjs
[21:25:10] <robdubya> snurfery thats how i built $sailsSocket
[21:25:47] <snurfery> oh yeah? I gotta check that out
[21:25:50] *** Yancy has quit IRC
[21:25:59] *** ansu has quit IRC
[21:26:00] *** Yancy has joined #angularjs
[21:26:07] <snurfery> every time I look at the source I'm impressed
[21:26:46] *** shacklef_ has quit IRC
[21:27:01] *** endash has quit IRC
[21:27:19] *** shackleford has joined #angularjs
[21:27:45] *** moritzs has joined #angularjs
[21:28:29] *** Milanito has quit IRC
[21:28:39] *** Notte has joined #angularjs
[21:28:54] *** Leech has joined #angularjs
[21:29:08] <bradmc> anybody happen to have any express experience?
[21:29:20] *** Jdubs has quit IRC
[21:29:21] *** ceephax has quit IRC
[21:29:27] *** juanlas has quit IRC
[21:29:42] *** wilmoore has joined #angularjs
[21:29:47] *** jeffisabelle has quit IRC
[21:29:48] *** Notte has quit IRC
[21:30:03] <snurfery> it's not pure angular-ish-ness though
[21:31:04] <mrded> snurfery: I read it already. it's not as easy as it looks like. using drug&drop with sortable makes huge mess
[21:31:35] <snurfery> what do you mean "huge mess"?
[21:31:56] *** shackleford has quit IRC
[21:32:05] *** Snugug has quit IRC
[21:32:07] *** vintik has joined #angularjs
[21:32:19] *** Jdubs has joined #angularjs
[21:32:43] *** chrisbirk has joined #angularjs
[21:33:25] <ajk27> bradmc: A bit, but have you checked out #expressjs?
[21:33:56] *** enapupe has joined #angularjs
[21:34:20] *** marthinal has quit IRC
[21:34:22] *** fels_zh has quit IRC
[21:34:24] <bradmc> ajk27: ah. I will do that. My issues are kinda related to angular also. I'm trying to get an angular app up on node/express so I can put passportjs in it
[21:34:29] *** storkme has left #angularjs
[21:34:30] *** mspier_off is now known as mspier
[21:34:53] <mrded> snurfery: I mean it's hard to track weight of each item, and also update the draggable item.
[21:34:57] *** fels_zh has joined #angularjs
[21:35:23] <mrded> snurfery: I've also tried ui.sortable
[21:35:25] *** markisonfire has quit IRC
[21:35:36] *** juanlas has joined #angularjs
[21:35:43] *** markisonfire has joined #angularjs
[21:35:50] *** juanlas has quit IRC
[21:35:57] <snurfery> is your page online somewhere I can see?
[21:36:06] <wafflejock_> Cixis: yeah I think it might have something to do with the freetds config or versions or something, I'll let you know if I get an answer about what the difference is
[21:36:13] <ajk27> bradmc: Ah, having issues with routing and the handoff between express and angular?
[21:36:46] *** benjamingr has joined #angularjs
[21:36:55] <mrded> snurfery: oh, I'm sorry. I didn't notice what that post is about sortable library. Thank you!
[21:36:58] <robdubya> bradmc whatup
[21:37:08] <bradmc> ajk27: I'm not even sure I'm that far. I can't seem to get express to want to get down into my public folder where all my angular code is
[21:37:15] <bradmc> robbubya^
[21:37:22] <robdubya> are you wanting to use a 3rd party auth via passport?
[21:37:25] <snurfery> np, hope it helps?
[21:37:28] *** danielpquinn has joined #angularjs
[21:37:29] <enapupe> How do I listen to a Service function inside a directive Element? This element includes a url which is retrieved by SomeService.getActive(), the first time it runs goes ok but when I modify the object it remains including the old one.. so, I need to watch this service?
[21:37:34] *** ansu has joined #angularjs
[21:38:02] *** juanlas has joined #angularjs
[21:38:04] *** krawek has joined #angularjs
[21:38:05] *** krawek has joined #angularjs
[21:38:14] <ajk27> bradmc: Ah robdubya is on the scene, I will definitely defer to him :P
[21:38:26] <bradmc> robdubya: kinda. I need to use ldapauth and passport
[21:38:54] <robdubya> bradmc anything specific to passport, or just ldap in general?
[21:39:32] *** wilmoore has quit IRC
[21:39:34] <bradmc> robdubya: I was thinking I'd try to get passport in there to kinda help me manage it all and learn how to use it as a bonus
[21:39:36] *** InezK is now known as InezK_away
[21:39:38] *** fels_zh has quit IRC
[21:39:49] *** darrin has quit IRC
[21:40:32] *** moritzs has quit IRC
[21:40:57]
<djam90> I am having a problem with Sly Carousel that is in an Angular directive, when the "active" event of the carousel is triggered, it runs a function which runs an ajax to load search filters, which also runs an ajax to fetch results straight after. See here: http://josh.sourceengine.co.uk/newcar/search/ford/focus .
[21:41:02] <snurfery> just looked at the passport homepage
[21:41:07] <snurfery> jesus man.
[21:41:10] <djam90> It all works perfectly on PC, but when you take it to iPad, it also seems to work fine
[21:41:11] <snurfery> that's good stuff
[21:41:16] *** tendencydriven has quit IRC
[21:41:19] *** cthrax has joined #angularjs
[21:41:29] <djam90> but then when you click the "view full range" and it reloads the slider data to different data, the carousel breaks completely!
[21:41:31] <djam90> yet it does not on desktop
[21:42:07] <djam90> do iPads not handle JS very well? Is it a performance bottleneck? Sliding the carousel on page load works fine on iPad until you change the slider data and it breaks
[21:42:15] <robdubya> bradmc gimme a minute, i'm just pushing a demo auth repo i helped somebody with the other day
[21:42:26] <bradmc> robdubya: thanks
[21:42:41] *** jeffisabelle has joined #angularjs
[21:42:47] <robdubya> djam90 you're gonna be on a losing battle with that, unfortunately.
[21:43:01] <robdubya> better to look at something more lightweight
[21:43:07] <robdubya> ionic has a carousel yuo could adapt
[21:43:07] <djam90> why do you say that robdubya
[21:43:13] <robdubya> i feel like we've had this conversation before
[21:43:17] <djam90> hahaha
[21:43:22] <djam90> I know, I solved the previous issues
[21:43:25] *** partikus has joined #angularjs
[21:43:37] <bradmc> robdubya: gotta step away for a few but I'll be back to look at that demo
[21:43:41] <djam90> if I don't make the carousel auto-load all the content below it via ajax etc, then the carousel works fine!!!
[21:43:52] <robdubya> bradmc cool
[21:44:20] *** patrickarlt has quit IRC
[21:44:23] <robdubya> djam90 i'd suggest getting your remote debugger hooked up and profiling
[21:44:36] *** jonnybro has joined #angularjs
[21:44:53] *** ipaul has joined #angularjs
[21:44:55] <djam90> I tried that, on a windows machine *sigh* and Safari just wouldn't show me the iPad in the dev tools
[21:45:07] <djam90> plus I have no idea what I'm doing with profiling
[21:45:12] <ipaul> joine #angular
[21:45:27] *** bkuberek has joined #angularjs
[21:45:47] *** nanoyak has joined #angularjs
[21:45:58] <oniijin> ur already in bro
[21:46:20] <oniijin> tho mistyping the command and the channel name probably doesn't help
[21:46:23] *** jonog has joined #angularjs
[21:46:28] *** moritzs has joined #angularjs
[21:46:28] <intellix> and performance issues with updating the URL lots?
[21:46:42] <intellix> or “concerns”. Would pretty much like to two-way-bind kind of
[21:47:06] *** ericduran is now known as ericduran|away
[21:47:24] <djam90> robdubya, someone today suggested putting the carousel into a Service instead of directive
[21:47:36] *** InezK_away is now known as InezK
[21:47:46] <oniijin> that doesn't make sense
[21:48:16] <djam90> or - a service that creates a carousel
[21:48:24]
<linagee> weird.... I'm testing just a regular .bind demo on my mobile device: http://jsfiddle.net/DKkP9/ (outputs event on console)
[21:48:41] <linagee> ^works just fine. ONE keyup per key on mobile.......... something crazy is just going on with ui-mask.
[21:49:05] *** zumba_addict has joined #angularjs
[21:49:17] *** mtsr has joined #angularjs
[21:49:37] <zumba_addict> hey folks, I made a grunt build and it was successul. I deployed it to our Apache. I'm getting this error "Error: [$injector:modulerr] Failed to instantiate module CPApplication due to"
[21:49:44] <zumba_addict> [$injector:unpr] Unknown provider: a
[21:49:53] <zumba_addict> my last build was fine
[21:49:56] *** brianturgeon has quit IRC
[21:50:48] <snurfery> djam90: you probably have a scope problem once you write to $scope.seriess
[21:50:48] *** moritzs has quit IRC
[21:50:48] *** jonog has quit IRC
[21:50:51] *** cisox is now known as cisox_away
[21:51:05] *** krnflake has quit IRC
[21:51:11] <djam90> snurfery, why do you say that
[21:51:26] <snurfery> fits the behavior
[21:51:35] <snurfery> plus your sly-carousel probably creates its own scope
[21:51:54] <snurfery> so you have the scope of the newCarCtrl
[21:52:14] <snurfery> and a child scope of the sly-carousel directive
[21:52:19] *** krnflake has joined #angularjs
[21:52:25] <djam90> don't they share scope?
[21:52:31] *** vintik has quit IRC
[21:52:34] *** whunt has joined #angularjs
[21:52:40] <snurfery> and the model you're referring to is a plain, "no dot" scope property named "seriess"
[21:52:45] *** MuffinMan` has joined #angularjs
[21:52:48] *** illume has joined #angularjs
[21:52:49] *** quellhorst has joined #angularjs
[21:53:12] *** shackleford has joined #angularjs
[21:53:20] <djam90> snurfery, I'm not sure I follow... don;t they share scope?
[21:53:22] <snurfery> so this behavior ("why don't updates show up?"), mixed with child scopes, mixed with models that don't contain a dot
[21:53:32] *** Reskp has joined #angularjs
[21:53:55] *** bbankes has joined #angularjs
[21:54:19] <snurfery> typically means that some scope is losing the reference to the object somehow
[21:54:59] <snurfery> djam90: they kinda share scope in a parent/child fashion, but there's a chance that the child might lose track of/shadow the parent
[21:55:16] *** InezK is now known as InezK_away
[21:55:17] <snurfery> this isnt very clear lemme propose a quick code change for you to test it out, 1 sec
[21:55:23] *** jsoverson has joined #angularjs
[21:55:59] *** pablasso is now known as pablasso_afk
[21:56:08] *** anjumkaiser has quit IRC
[21:56:24] *** pablasso_afk is now known as pablasso
[21:56:42] *** andizzle has joined #angularjs
[21:57:40] *** bkuberek has quit IRC
[21:57:41] *** lucasefe has quit IRC
[21:57:42] *** andkan_ has joined #angularjs
[21:57:57] *** ipaul has quit IRC
[21:58:01] *** kornalius has joined #angularjs
[21:58:10] *** bkuberek has joined #angularjs
[21:58:40] <djam90> ok snurfery looking forward to it
[21:58:53] *** jkremser has quit IRC
[21:59:14] *** nodeman has quit IRC
[21:59:46] *** chrisbirk has quit IRC
[22:00:09] *** mrded has quit IRC
[22:00:28] *** nibster has quit IRC
[22:00:41] *** jsoverson has quit IRC
[22:00:52] *** patrickarlt has joined #angularjs
[22:01:04] *** jsoverson has joined #angularjs
[22:01:12] *** cisox_away is now known as cisox
[22:01:35] *** andkan has quit IRC
[22:01:35] *** anjumkaiser has joined #angularjs
[22:01:40] *** ekinmur has joined #angularjs
[22:01:51] *** andizzle has quit IRC
[22:01:54] <snurfery> I changed seriess into an object
[22:02:12] *** Bruno has joined #angularjs
[22:02:18] *** GatorCSE has quit IRC
[22:02:18] *** ngoyal has joined #angularjs
[22:02:18] *** benjf has quit IRC
[22:02:27] <djam90> you're kidding?
[22:02:30] <snurfery> so there won't be so much confusion amongst scopes when referring to it
[22:02:36] <snurfery> no
[22:02:41] <snurfery> did you try it? and did it work?
[22:02:42] *** Bruno is now known as Guest6377
[22:02:46] *** benjf has joined #angularjs
[22:02:47] <djam90> trying now
[22:02:59] <djam90> will report back asap
[22:03:04] <snurfery> no promises, I might be super wrong of course ;)
[22:03:05] *** whunt_ has joined #angularjs
[22:03:08] *** HACKING-TWITTER has quit IRC
[22:03:10] <snurfery> but it fits the behavior
[22:03:11] *** superscott[8] has joined #angularjs
[22:03:36] <djam90> and please excuse the jQuery ajax stuff, I will switch that over to promises asap!
[22:03:51] <snurfery> there's a little change to the markup too so don't miss that
[22:03:54] *** senayar has joined #angularjs
[22:04:50] *** aljohri has joined #angularjs
[22:04:56] *** whunt has quit IRC
[22:05:27] *** senayar has quit IRC
[22:05:45] *** eburcat has quit IRC
[22:06:09] *** HACKING-TWITTER has joined #angularjs
[22:06:16] *** colinbits has joined #angularjs
[22:06:20] *** HACKING-TWITTER has quit IRC
[22:06:24] *** eburcat has joined #angularjs
[22:06:57] *** raghunayyar has quit IRC
[22:07:02] <djam90> snurfery, do you have an iPad? haha
[22:07:18] *** cisox is now known as cisox_away
[22:07:23] *** braoru has joined #angularjs
[22:07:24] <djam90> 2secs
[22:07:28] *** lsiv568 has joined #angularjs
[22:07:37] *** manorgy has joined #angularjs
[22:07:49] *** senayar has joined #angularjs
[22:07:56] *** HACKING-TWITTER has joined #angularjs
[22:08:06] *** shackleford has quit IRC
[22:08:24] *** Narretz has joined #angularjs
[22:08:34] *** ngoyal has quit IRC
[22:08:36] *** shackleford has joined #angularjs
[22:08:41] *** cthrax has quit IRC
[22:08:51] *** Matt__Ricketts has joined #angularjs
[22:08:52] *** stites has quit IRC
[22:09:04] *** spencercarnage has quit IRC
[22:09:05] *** Aliks has quit IRC
[22:09:06] *** ngoyal has joined #angularjs
[22:09:13] *** cisox_away is now known as cisox
[22:09:24] <robdubya> djam90 if you've got a repo up i'm happy to clone it and run it
[22:09:27] *** vbabiy has quit IRC
[22:09:31] *** HACKING-TWITTER has joined #angularjs
[22:09:49] <snurfery> nah, I avoid IOS stuff
[22:10:01] *** cthrax has joined #angularjs
[22:10:16] *** lucasefe has joined #angularjs
[22:10:39] *** cmoneylulz has joined #angularjs
[22:10:56] <Narretz> I think I just did something terrible to the angular.js repo. There was a closed pull request of which the owner said he had fixed the issues. So I clicked reopen pull request - and I swear nothing else - but seconda later it said I had merged 800 commits into master! What a disaster. Can anyone see that? Did that really happen?
[22:11:10] <robdubya> hahahaha
[22:11:20] <robdubya> dude ur in so much trouble
[22:11:22] <snurfery> if you haven't pushed, we're all good?
[22:11:23] <djam90> snurfery, that broke the carousel completely
[22:11:24] <Narretz> Please, this is urgent ... I don't see the commits on the repo, but the PR still shows up as merged
[22:11:27] *** terrykfwong has quit IRC
[22:11:29] *** HACKING-TWITTER has joined #angularjs
[22:11:33] <snurfery> djam90: is it online?
[22:11:38] *** mindlace has joined #angularjs
[22:11:41] *** patricka_ has joined #angularjs
[22:11:44] <Narretz> well, I clicked it in the issue directly
[22:11:55] <djam90> yes its at josh.sourceengine.co.uk/newcar/search/ford/focus and doesn't work at all now on desktop as well
[22:12:05] <snurfery> djam90: ok checking
[22:12:08] <Narretz> But I did not clock merge or anything
[22:12:11] *** jhulten has quit IRC
[22:12:14] <Narretz> Maybe it's a display bug?
[22:12:23] *** lsiv568 has quit IRC
[22:12:29] <djam90> snurfery, you will see one but thats because I add that option to data later on in the code
[22:12:39] *** dc_ has quit IRC
[22:12:50] <robdubya> Narretz do you have write access to angular?
[22:12:57] *** krawchyk has quit IRC
[22:12:58] <djam90> snurfery, check console on that page
[22:12:58] <zumba_addict> this is so hard to troubleshoot :( [$injector:unpr] Unknown provider: a
[22:13:02] *** Emperor_Earth has quit IRC
[22:13:08] <Narretz> I am part of the organziation, so I can basically do anything
[22:13:19] <robdubya> ooooo
[22:13:21] *** hychen has quit IRC
[22:13:36] *** stites has joined #angularjs
[22:13:46] <robdubya> yeah, you might be in a bit o trouble.
[22:14:06] <robdubya> not catastrophic, this is why git is what it is, buuuut you might want to let somebdoy know
[22:14:54] <zumba_addict> robdubya: any tips on how to troubelshoot the error I'm getting? The error in console.log is not helpful enough
[22:15:01] *** sdouglas has joined #angularjs
[22:15:11] <snurfery> djam90: damn, it's generating thousands of errors
[22:15:21] <zumba_addict> if I was doing a build everyday, I would have caught the culprit
[22:15:27] *** patrickarlt has quit IRC
[22:15:36] <robdubya> Narretz dont stress. been there, done this. easy to revert if it fucked anything up
[22:15:37] <djam90> snurfery, at the heart it says "undefined is not a function"
[22:15:50] <djam90> i think it is thousands of errors because of the goSlyGo function
[22:15:58] *** fedenunez has joined #angularjs
[22:16:11] <djam90> snurfery, the whenDone function does it in a $timeout
[22:16:19] <robdubya> and ngoyal is right, you only made the one change to the comments
[22:17:02] <snurfery> djam90: oh my bad, I didn't update the other places in the code that were using scope.seriess
[22:17:10] <snurfery> scope.seriess used to be an array
[22:17:19] *** tk has quit IRC
[22:17:34] <robdubya> zumba_addict are you minifying?
[22:17:39] <snurfery> now it's an object with an array in its 'data' property (i.e. scope.seriess.data = [] )
[22:17:40] <zumba_addict> yes
[22:17:51] <djam90> snurfery, so where else to change it?
[22:17:52] <robdubya> you've missed using the array syntax somewhere then
[22:18:03] <zumba_addict> robdubya: I've been building for many times and it's the first time this hapen
[22:18:05] <snurfery> djam90: can you update all the places that are using scope.seriess to use scope.seriess.data
[22:18:10] <snurfery> lemme find the line numbers
[22:18:27] <robdubya> zumba_addict somewhere, you're injecting something, and not notating it properly
[22:18:34] <zumba_addict> ok
[22:18:38] <robdubya> eg ['$http', function($http){...
[22:18:47] <zumba_addict> yes, that's how i always coded
[22:18:53] *** Snugug has joined #angularjs
[22:18:59] <zumba_addict> that's what I am thinking too.
[22:19:04] <robdubya> yeah, you've probbaly just missed one somwhere
[22:19:05] *** HACKING-TWITTER has quit IRC
[22:19:10] <zumba_addict> will look again
[22:19:20] <robdubya> zumba_addict are you using grunt?
[22:19:23] <zumba_addict> yes
[22:19:25] <snurfery> djam90: 193, 205, 656 673,
[22:19:34] *** sdouglas has quit IRC
[22:19:43] <snurfery> replace 'scope.seriess' with 'scope.seriess.data'
[22:19:46] <robdubya> zumba_addict might want to plug this into your pipeline
[22:19:50] <Narretz> Well, I wrote two of the maintainers, hopefully they can check what happened. No commits are showing up, so I hope it's a display error or there's still time (because of Travis CI or whatever) to fix it
[22:19:55] <zumba_addict> looking
[22:20:09] <robdubya> Narretz not as scary as it looks
[22:20:17] *** stites has quit IRC
[22:20:18] <djam90> Snugug, does it need changing in the carousel template too?
[22:20:23] <zumba_addict> robdubya: what about for my codes that I've already coded properly?
[22:20:30] *** stites has joined #angularjs
[22:20:43] <robdubya> zumba_addict its just a backup, it (should) catch the ones you miss
[22:20:50] <zumba_addict> got it
[22:20:52] <zumba_addict> cool
[22:20:55] <zumba_addict> i'll try it now
[22:21:02] <Narretz> robdubya Technically yeah, because git, but not with a project that is used by thousands of developers
[22:21:34] <djam90> snurfery, I changed those
[22:21:40] <robdubya> Narretz i know those feels
[22:21:40] *** davi has joined #angularjs
[22:21:41] <Narretz> I just died a little when I saw the message
[22:21:58] *** stites has quit IRC
[22:22:11] *** stites has joined #angularjs
[22:22:21] *** HACKING-TWITTER has joined #angularjs
[22:22:24] <robdubya> i've done it a couple of times to the sails repo. linus figured this would happen :D
[22:22:24] <djam90> snurfery, new errors now - can't interpolate
[22:22:39] <zumba_addict> robdubya: I'm not using this kind of code in my Grunfile - grunt.loadNpmTasks('grunt-ng-annotate');
[22:22:42] <robdubya> i htink there's a new button specifically for this fuckup in github actually
[22:22:49] <zumba_addict> i'll check how i'm loading other task
[22:23:00] <Snugug> djam90: ???
[22:23:11] <djam90> sorry Snugug meant snurfery haha
[22:23:23] <snurfery> damn that thing is looping sooooo fast
[22:23:37] <snurfery> 20k errors in a few seconds jeez
[22:23:39] <robdubya> god, the announcers on ESPN are SO BAD
[22:24:04] <djam90> snurfery, Cannot read property 'trim' of undefined
[22:24:12] *** moritzs has joined #angularjs
[22:24:32] <djam90> is it my ng-repeat now that it is an object or something
[22:24:33] <snurfery> yeah that's not the real error, but it's generating so many errors that we can't see what came before it
[22:24:33] *** moritzs has quit IRC
[22:24:48] *** lucasefe has quit IRC
[22:25:00] <djam90> does it need to be seriess.data.series in the ng-repeat?
[22:25:27] <djam90> snurfery, it is currently <li ng-repeat="series in seriess">
[22:25:33] <djam90> I am guessing that is now borked
[22:25:37] <Snugug> djam90: np
[22:25:39] <djam90> should it be series in seriess.data
[22:26:02] *** RobinBAwesome has joined #angularjs
[22:26:14] <djam90> snurfery, fixed it!
[22:26:15] *** Tidwell has quit IRC
[22:26:30] <snurfery> oh snap I didn't even look for more places in your markup
[22:26:31] *** PLATOSCAVE has joined #angularjs
[22:26:31] <snurfery> phew
[22:26:33] <zumba_addict> if you look at it, I don't have loadNpmTasks
[22:26:35] <snurfery> good job =)
[22:26:41] *** Tidwell has joined #angularjs
[22:26:47] <snurfery> now, did it fix the original issue we were trying to troubleshoot?
[22:26:53] <djam90> ok gonna phone my dad to test on ipad, will report back in 2 min
[22:27:42] *** cmoneylulz has quit IRC
[22:27:45] *** shackleford has quit IRC
[22:27:48] *** recurrence has joined #angularjs
[22:28:04] *** wilmoore has joined #angularjs
[22:28:21] *** shackleford has joined #angularjs
[22:28:35] *** HACKING-TWITTER has quit IRC
[22:28:45] *** moritzs has joined #angularjs
[22:28:47] <robdubya> zumba_addict line 437
[22:28:56] <zumba_addict> k
[22:29:16] <zumba_addict> what about line 437?
[22:29:26] <robdubya> ngmin = the old version of ngannotate
[22:29:30] <robdubya> its commented out
[22:29:34] <robdubya> so its not running
[22:29:39] *** LakWork_ has joined #angularjs
[22:29:43] *** LakWork has quit IRC
[22:30:06] <zumba_addict> but's it's been commented out. I'd still like to know which controller I forgot to properly code
[22:30:22] <robdubya> well your gruntfie isnt gong to be much use there
[22:31:10] <bradmc> robdubya: I'm back
[22:31:21] *** alinou has quit IRC
[22:31:32] <zumba_addict> k
[22:31:39] <robdubya> tldr
[22:31:45] <robdubya> that's using JWT to do auth with angular
[22:31:47] <robdubya> no passport
[22:32:00] <zumba_addict> caught one but i'm not using this controller - controller('LoginControllerNotUsed', function ($scope, $rootScope, AUTH_EVENTS, AuthService)
[22:32:10] <robdubya> username + password -> post to server -> get token back -> ??? -> profit
[22:32:13] *** cmoneylulz has joined #angularjs
[22:32:18] <zumba_addict> but i'll delete it since i'm not using it
[22:32:21] <robdubya> bradmc so where i'm using mongo to check the username and pssword
[22:32:33] *** shackleford has quit IRC
[22:32:39] <robdubya> it would be fairly straightforward to check against your ldap server vs using the mongodb
[22:32:39] *** edzez has joined #angularjs
[22:32:43] *** ahtik has quit IRC
[22:32:56] <Ymesio> Hi all
[22:33:04] *** moritzs has quit IRC
[22:33:09] <Ymesio> I have an array of four promises
[22:33:13] <bradmc> ok
[22:33:16] <bradmc> I'll check it out
[22:33:18] <bradmc> thanks
[22:33:30] <robdubya> bradmc passport is great if you're using say google or facebook
[22:33:39] *** shackleford has joined #angularjs
[22:33:40] <djam90> snurfery, dad says it not working at all on iPad :\ not trusting his judgement though.. anyone here with an iPad?
[22:33:47] <Ymesio> I am doing $q.all(promises).then(function(){ console.log(arguments)})
[22:33:49] <robdubya> but with angular / node, i reckon tokens > sessions
[22:33:54] <Ymesio> And it never gets there
[22:33:59] *** LakWork_ has quit IRC
[22:34:00] *** davi has quit IRC
[22:34:00] *** aarontrostle has quit IRC
[22:34:08] *** krawchyk has joined #angularjs
[22:34:12] <Ymesio> If am doing $q.all.apply($q, promises).then(function(){ console.log(arguments)})
[22:34:16] *** arizzo has joined #angularjs
[22:34:19] *** dc_ has joined #angularjs
[22:34:25] <Ymesio> It gets there, but only one argument comes
[22:34:27] <jobney_> is there a better alternative than angular-ui select2?
[22:34:37] <robdubya> Ymesio sounds like those promises arent resolving
[22:34:41] <robdubya> post some code
[22:34:45] <bradmc> robdubya: I wrote my own previously that used localstorage to kepp users logged in. But that just hits a SQL db and I wasn't sure I was as secure as it should be since I'd never written one before
[22:34:51] *** mdix has quit IRC
[22:34:57] *** brianturgeon has joined #angularjs
[22:35:21] *** illume has quit IRC
[22:35:23] <zumba_addict> making a new build robdubya :)
[22:35:36] *** edzez__ has quit IRC
[22:35:51] <Ymesio> robdubya: $q.all(promises[0]) resolves, $q.all(promises[1]) resolves, $q.all(promises[2]) resolves but when they are together they are not resolved
[22:35:58] *** aljohri has quit IRC
[22:36:16] <robdubya> Ymesio nearly impossible to tell what you're doing line by line like this
[22:36:28] *** vladyn has quit IRC
[22:36:38] *** illume has joined #angularjs
[22:36:40] *** cthrax has quit IRC
[22:37:17] <robdubya> bradmc you could easily store the JWT in localstorage
[22:37:40] *** KushS has joined #angularjs
[22:37:44] *** Shrooms has joined #angularjs
[22:38:00]
<enapupe> Hey , I have a question which I think it is easy to solve but I have no idea how.. http://jsfiddle.net/HDMft/
[22:38:10] *** tekky has quit IRC
[22:38:16] *** Milanito has joined #angularjs
[22:38:24] *** cisox is now known as cisox_away
[22:38:28] <enapupe> I have this directive which should keep listening to a service function and update a ng-include..
[22:38:31] *** krawchyk has quit IRC
[22:38:34] <robdubya> enapupe is that funciton returning a promise?
[22:38:38] <enapupe> this is working without the watching (listening) part
[22:38:42] <enapupe> no promises
[22:38:49] <enapupe> (I dind't get there yet)
[22:38:54] *** dc_ has quit IRC
[22:38:54] *** tlyng has joined #angularjs
[22:38:55] *** daslicht has quit IRC
[22:39:15] *** anth0ny has joined #angularjs
[22:39:23] <enapupe> robdubya: getActive simply returns an object
[22:39:33] <djam90> snurfery, doesn't seem to be working on iPad still :(
[22:39:37] <djam90> anyone here have an iPad?
[22:39:49] <robdubya> djam90 yes
[22:39:59] <snurfery> hmm, didn't know it was ipad specific, I thought it was a data loading issue
[22:39:59] <robdubya> i got a whole mess 'o iOS devices
[22:40:21] *** Guest6377 has quit IRC
[22:40:41] *** H1FuelCell has joined #angularjs
[22:40:42] *** TweedleDee has joined #angularjs
[22:41:25] *** stites has quit IRC
[22:41:37] <robdubya> sure. sec
[22:41:46] <TweedleDee> in my app.js I'm trying to .when('/ComponentsAdin', { templateUrl: 'Templates/componentsAdmin.cshtml', controller: 'componentsController'}) can you not use cshtml files like this or whats up?
[22:42:05] <enapupe> what is cshtml?
[22:42:08] <linagee> does anyone here use ui-mask?
[22:42:12] <snurfery> are you getting an error?
[22:42:12] <TweedleDee> Razon syntax html
[22:42:18] <TweedleDee> nah just doesn't goto the page
[22:42:21] <robdubya> djam90 gimme a sec, chargin mah lazer
[22:42:39] <linagee> robdubya: if its below 9000, isn't that just kind of a waste?
[22:43:01] *** Reskp has quit IRC
[22:43:05] <snurfery> TweedleDee: in your browser console do you see it trying to fetch that template url?
[22:43:08] <linagee> if (lazer < 9000) { abort(); }
[22:43:12] <robdubya> heh
[22:43:16] *** zerd_ has quit IRC
[22:43:21] *** Demego has quit IRC
[22:44:02] *** sonofdir_ has joined #angularjs
[22:44:05] *** arizzo has quit IRC
[22:44:10] *** zerd has joined #angularjs
[22:44:15] <TweedleDee> yeah snurf says 403 forbidden
[22:44:26] <TweedleDee> but I use these in the project already so its confusing to me
[22:44:33] *** arizzo has joined #angularjs
[22:44:48] *** night-owl-MBP has joined #angularjs
[22:44:53] <snurfery> so that's your problem
[22:44:58] <snurfery> it can't fetch the template
[22:45:03] <TweedleDee> yeah, just wondering why
[22:45:23] *** sonofdirt has quit IRC
[22:45:24] <snurfery> it's not gonna be an angular-specific problem. where are you testing this, locally?
[22:45:31] <TweedleDee> indeed
[22:45:51] <snurfery> have you successfully served any templates from that same folder?
[22:45:52] *** Narretz has quit IRC
[22:45:59] <TweedleDee> yep
[22:46:01] <TweedleDee> like 10 others
[22:46:02] <snurfery> 'Templates/'
[22:46:03] <TweedleDee> no cshtml files tho
[22:46:04] <djam90> times like now I need browserstack :P
[22:46:08] <TweedleDee> all html
[22:46:12] <snurfery> and what are you using to serve the content?
[22:46:19] <TweedleDee> IIS
[22:46:23] <snurfery> there ya go
[22:46:28] <TweedleDee> figured it was an option somewher ein there
[22:46:39] <snurfery> it's not gonna allow you to fetch arbitrary file types
[22:46:43] <snurfery> (guessing)
[22:46:48] <TweedleDee> I have same guess so thanks
[22:46:52] <TweedleDee> i'll ask admin to look at it
[22:46:56] *** arizzo has quit IRC
[22:47:01] <quan___> ouch, iis
[22:47:13] *** jonog has joined #angularjs
[22:47:22] <snurfery> you probably have to define a content-type
[22:47:24] *** jkremser has joined #angularjs
[22:47:25] *** jkremser has joined #angularjs
[22:47:25] *** moritzs has joined #angularjs
[22:47:37] <linagee> why can I never find github people on IRC? :(
[22:47:38] *** arizzo has joined #angularjs
[22:47:38] <snurfery> in the meantime can you just rename it .html to test your frontend stuff?
[22:47:41] <robdubya> ok djam90 what am i doing?
[22:47:47] *** roymiloh has quit IRC
[22:47:50] <linagee> (specifically for ui-utils project)
[22:48:00] *** zanea|away is now known as zanea
[22:48:40] *** Greenie has joined #angularjs
[22:48:44] *** arizzo_ has joined #angularjs
[22:48:53] <Greenie> Does anyone know how to capture when the back button is pressed in angular
[22:49:13] <robdubya> djam90 doesn't seem to have any touch interactivity at all
[22:49:21] *** FIFOd[a] has quit IRC
[22:49:36] *** aljohri has joined #angularjs
[22:49:52] <djam90> argh!!!
[22:49:55] <djam90> it works on Android!
[22:49:56] *** Mouzi has quit IRC
[22:50:00] <djam90> and desktop
[22:50:02] <djam90> and desktop safari
[22:50:10] <djam90> and firefox on mobile
[22:50:22] <djam90> and it WAS working on safari mobile
[22:50:30] <djam90> snurfery, seems like that didn't solve it :(
[22:50:48] *** Greenie has quit IRC
[22:50:55] *** cisox_away is now known as cisox
[22:51:29] *** andkan_ has quit IRC
[22:51:34] *** jonog has quit IRC
[22:51:49] *** anth0ny has quit IRC
[22:51:54] *** moritzs has quit IRC
[22:51:57] *** Ethix has joined #angularjs
[22:52:01] *** andkan_ has joined #angularjs
[22:52:02] <robdubya> terrible first half
[22:52:06] <robdubya> get your shit together USA
[22:52:19] *** recurrence has quit IRC
[22:52:21] *** arizzo has quit IRC
[22:52:24] *** partikus has quit IRC
[22:52:44] *** vf1 has joined #angularjs
[22:53:20] *** Reskp has joined #angularjs
[22:54:22] *** batdorf has joined #angularjs
[22:54:22] *** braoru has quit IRC
[22:54:39] *** akrikos has quit IRC
[22:54:39] *** eburcat has quit IRC
[22:55:13] *** braoru has joined #angularjs
[22:55:18] *** night-owl-MBP has quit IRC
[22:55:29] *** teeray has quit IRC
[22:55:46] *** nukulb has joined #angularjs
[22:56:04] *** Fishy has quit IRC
[22:56:06] <bradmc> robdubya: I'm wondering if part of my problem is iisnode. your app works when I start node from cmdline it works on port 9000. But if I let iisnode run it the api calls fail
[22:56:13] *** Cavallari1 has quit IRC
[22:56:38] *** andkan_ has quit IRC
[22:56:44] *** illume has quit IRC
[22:57:00] <djam90> robdubya, any idea why this issue is Safari iPad specific?
[22:57:11] *** illume has joined #angularjs
[22:57:22] *** mspier is now known as mspier_off
[22:57:24] *** ekinmur has quit IRC
[22:57:35] <robdubya> bradmc i've not used iisnode before
[22:57:42] <djam90> snurfery, I really thought you were on to something with your idea earlier
[22:57:52] <djam90> not sure why it has stopped working altogether now on Apple
[22:57:55] <bradmc> yeah. I'm kinda stuck using IIS
[22:57:57] <bradmc> sucks
[22:57:59] *** futuredale has quit IRC
[22:58:02] *** night-owl-MBP has joined #angularjs
[22:58:11] <robdubya> if you use iisnode to start it, does it actually start up?
[22:58:21] <bradmc> looks like it
[22:58:39] *** nukulb has quit IRC
[22:58:46] <snurfery> djam90: yeah I kinda misunderstood what the actual problem was - it seems like it's more a rendering/re-initialization issue with the carousel itself
[22:58:56] <robdubya> bradmc does it tell you the port #?
[22:59:19] *** night-owl-MBP has quit IRC
[22:59:19] *** Aliks has joined #angularjs
[22:59:26] <snurfery> I thought your carousel suddenly became empty when switching modes/updates or some nonsense
[22:59:34] * snurfery totally imagined that up
[22:59:39] <bradmc> robdubya: actually I'm not positive that the node stuff is starting
[22:59:42] <snurfery> stupid brain
[22:59:43] *** kas84 has joined #angularjs
[22:59:50] <bradmc> and it doesn't tell me the port
[22:59:54] <robdubya> you should get a message ITS ALLLIVE port whatev
[23:00:01] <bradmc> yeah. Not seeing that
[23:00:07] *** mspier_off is now known as mspier
[23:00:14] <robdubya> bradmc just looking at iisnode docs
[23:00:38] *** night-owl-MBP has joined #angularjs
[23:00:40] *** InezK_away is now known as InezK
[23:00:40] <robdubya> motherfucking windows
[23:00:49] <bradmc> ^^^^
[23:00:49] *** mtsr has quit IRC
[23:00:52] <robdubya> they can take something as simple as node and totally fuck it up
[23:00:54] <snurfery> djam90: what about .reload() ? are you calling that anywhere?
[23:01:02] <djam90> snurfery, no - not sure where to put it
[23:01:06] *** cmoneylulz has quit IRC
[23:01:45] *** Milanito has quit IRC
[23:01:56] *** mspier is now known as mspier_off
[23:02:17] *** dcadenas has joined #angularjs
[23:02:17] *** BillCriswell has quit IRC
[23:02:25] <djam90> snurfery, just added a reload function to the scope so I will try call it when switching the mode, although from what my dad and robdubya say, the sliding doesn't even work at all now when the page loads, yet it does on EVERY OTHER BROWSER
[23:03:01] <snurfery> do you have access to the sly object anywhere?
[23:03:09] *** TorchDragon has quit IRC
[23:03:13] *** InezK is now known as InezK_away
[23:03:13] <snurfery> in the controller, that is
[23:03:27] *** Tidwell has quit IRC
[23:03:29] *** hannesvdvreken has quit IRC
[23:03:29] *** aslate has joined #angularjs
[23:03:38] <djam90> snurfery, no, don't think so, that is why I have to put the methods to interact with it in the directive instead
[23:03:45] *** lucasefe has joined #angularjs
[23:03:47] *** moritzs has joined #angularjs
[23:03:56] <djam90> unless I add it to scope in the directive?
[23:04:10] *** dk01 has quit IRC
[23:04:17] <djam90> robdubya, would you mind trying it again? josh.sourceengine.co.uk/newcar/search/ford/focus
[23:04:19] <linagee> is there a way to slow down javascript execution?
[23:04:35] <robdubya> djam90 yeah im just hooking it up to the inspector
[23:04:48] <djam90> thanks robdubya
[23:04:51] *** jdj_dk has joined #angularjs
[23:05:11] *** apurvgupta2804 has joined #angularjs
[23:05:11] *** danizord has quit IRC
[23:05:12] *** arizzo_ has quit IRC
[23:05:15] <apurvgupta2804> Hi All
[23:05:24] *** mdix has joined #angularjs
[23:05:36] *** endash has joined #angularjs
[23:05:46] *** arizzo has joined #angularjs
[23:05:47] <robdubya> djam90 its throwing a bunch of 404's
[23:05:54] <djam90> yeah it does a couple
[23:05:56] <djam90> but its cool
[23:06:07] <snurfery> djam90: oh well you have it in the directive... so instead of .sly('destroy') add a reload() instead
[23:06:11] <apurvgupta2804> I am new to angular and want to ask , can i load the jsp view through angular routes instead of .html as a templateUrl
[23:06:30] <robdubya> djam90 other than that, nothing obviously wrong
[23:06:34] <djam90> snurfery, yep I did that and just added it to the fillSeries function
[23:06:42] <djam90> robdubya, can you try the scrolling thing and see if it works?
[23:06:49] *** dbouwman_ has quit IRC
[23:06:52] *** cebor has quit IRC
[23:06:55] <robdubya> it doesnt
[23:06:59] *** krawek has quit IRC
[23:07:08] <djam90> ARGH!
[23:07:08] <robdubya> apurvgupta2804 why?
[23:07:11] <robdubya> its not a good idea
[23:07:22] *** nuizzy has joined #angularjs
[23:07:25] *** josh-k has joined #angularjs
[23:07:28] *** Brocken is now known as zz_Brocken
[23:07:29] <djam90> snurfery, seems the sly reload doesn't help
[23:07:35] *** brianturgeon has quit IRC
[23:07:47] <apurvgupta2804> I am not using server side rendering and there are few component which need to be render in jsp
[23:07:55] <snurfery> yeah if the whole thing won't work on IOS, that has to be figured out first
[23:07:57] <apurvgupta2804> instead of static html
[23:08:08] <apurvgupta2804> robdubya
[23:08:09] <djam90> it was working before snurfery
[23:08:11] *** aslate has quit IRC
[23:08:19] <robdubya> apurvgupta2804 you could, but its a bad idea, because then you have to extract the data from the DOM
[23:08:39] *** H1FuelCell has quit IRC
[23:08:53] <snurfery> you can roll back the changes of course
[23:08:55] *** recurrence has joined #angularjs
[23:09:06] *** nemothekid has quit IRC
[23:09:32] *** Tidwell has joined #angularjs
[23:09:39] <snurfery> esp since all the crap I initially suggested didn't address the actual problem
[23:09:46] *** nemothekid has joined #angularjs
[23:10:07] <apurvgupta2804> robdubya Thanks. Can you share some jsfiddle if you have to kick start the same? Thanks for the help
[23:10:15] *** mdix has quit IRC
[23:10:22] *** apetro_ has quit IRC
[23:10:38] <robdubya> jsfiddle of what?
[23:10:44] <djam90> snurfery, I am guessing that stuff is beneficial though
[23:10:47] <robdubya> loading JSP? not likely
[23:10:53] *** arizzo has quit IRC
[23:11:22] <snurfery> mebbe, but if we broke something in the process...
[23:11:54] *** apurvgupta2804 has quit IRC
[23:11:55] <djam90> hmm, i will roll back in a sec
[23:12:05] <djam90> just got 3 months free browserstack
[23:12:15] <snurfery> maybe save a copy so you can compare new -> old
[23:12:38] *** cebor has joined #angularjs
[23:12:53] <djam90> robdubya, I tried sliding the carousel on browserstack iPad 3rd iOS7 and it does slide horizontally
[23:13:03] *** vf1 has quit IRC
[23:13:39] <djam90> perhaps you have a cached version of the JS as I have given you the link previously I think
[23:13:39] *** vf1 has joined #angularjs
[23:13:56] *** wilmoore has quit IRC
[23:14:28] *** illume has quit IRC
[23:14:41] *** jdj_dk has quit IRC
[23:15:06] *** mspier_off is now known as mspier
[23:15:23] <robdubya> djam90 i just tried it on the simulator, ios7 and ios8 devices
[23:15:25] <robdubya> no joy
[23:15:39] <oniijin> Cixis a while ago
[23:16:28] *** ekinmur has joined #angularjs
[23:16:38] <snurfery> robdubya: that's what the android people call an 'action_send' intent, circa 2008 ;)
[23:16:57] *** klaut has joined #angularjs
[23:17:01] <robdubya> yup, thats why i mention it
[23:17:35] <snurfery> and the walled garden hate isn't app extensibility, it's more content approval by some capricious moral overlord
[23:18:06] <snurfery> i.e. political apps are "immoral content" and get rejected by the app store, no supported way of side-loading
[23:18:12] *** master__ has joined #angularjs
[23:18:20] <robdubya> you can side load, you just gotta pay :)
[23:18:23] <snurfery> that gets me in a little nerd rage
[23:18:41] <robdubya> hell, with my enterprise cert i can sign and email you whatever
[23:18:46] *** metasansana has quit IRC
[23:18:47] <robdubya> but i take your point
[23:18:51] <snurfery> yeah, I just don't want to support a platform that treats its users like that
[23:19:01] *** master__ has quit IRC
[23:19:03] <snurfery> me: "I'm a grown-ass man!"
[23:19:05] <snurfery> haha
[23:19:14] *** styles has joined #angularjs
[23:19:16] *** metasansana has joined #angularjs
[23:19:20] *** caitp has joined #angularjs
[23:19:29] *** cthrax has joined #angularjs
[23:19:36] *** Orbitrix has joined #angularjs
[23:19:57] <robdubya> things are opening up, but the app store will never be a free for all
[23:19:58] *** nemothekid has quit IRC
[23:20:05] *** Reskp has quit IRC
[23:20:12] <robdubya> wwdc 14 was a totally different attitude from them
[23:20:39] *** batdorf has quit IRC
[23:21:18] <snurfery> yeah I'm supportive of their move towards the middle
[23:21:32] <djam90> robdubya, i tried it on browserstack and it works :| ???
[23:21:34] <snurfery> though I hold a grudge at being "disrespected" initally
[23:21:39] <snurfery> ;)
[23:21:44] <robdubya> somebody smudged your pumas?
[23:21:53] *** dk01 has joined #angularjs
[23:22:03] <snurfery> my nerd ego will not be so easily soothed!
[23:22:17] * snurfery might have to smackabro
[23:22:20] *** ngbot has joined #angularjs
[23:22:20] <ngbot> angular.js/master 8252b8b Matias Niemelä: feat(ngAnimate): conditionally allow child animations to run in parallel with parent animations...
[23:22:20] *** ngbot has left #angularjs
[23:22:21] <robdubya> really they just need an "ok, i'm not an idiot" switch
[23:22:21] *** corban has quit IRC
[23:22:24] *** cime has quit IRC
[23:22:43] <djam90> robdubya, what simulator do you have?
[23:23:03] <robdubya> the one that comes with xcode
[23:23:03] *** plong0 has joined #angularjs
[23:23:07] <zumba_addict> i fixed it robdubya
[23:23:15] <zumba_addict> it's in my .config
[23:23:30] <plong0> good afternoon
[23:23:35] <robdubya> zumba_addict injection?
[23:23:38] <zumba_addict> yes
[23:23:39] <djam90> robdubya, just to clarify, you click and hold on one of the models below, and drag left or right to scroll and nothing happens?
[23:23:48] <zumba_addict> it wasn't obvious
[23:23:48] <djam90> cos on browserstack which is using a simulator it works
[23:23:56] *** dancek has quit IRC
[23:24:08] <zumba_addict> this is the new one now, .config(['BmEnvironmentProvider', function(BmEnvironmentProvider) {
[23:24:28] <Cixis> oniijin: what are your thoughts on it? don't have to time to really read it right now
[23:24:28] <zumba_addict> injection should be done manually
[23:24:35] <oniijin> good intro
[23:24:43] *** vf1 has quit IRC
[23:24:48] <Cixis> right on
[23:24:58] *** vf1 has joined #angularjs
[23:25:07] <Cixis> i kind of run into roadblocks introducing new people in the office to angular
[23:25:09] <plong0> I have a case where I would like to generate instances of an object, where each instance has configuration arguments and store's its own data... would a factory service be suitable for this?
[23:25:12] *** dariocravero has quit IRC
[23:25:14] <Cixis> might add that to the list of material
[23:25:29] <robdubya> Cixis looks good, though i rekcon the biggest issue is starting with directives
[23:25:38] <robdubya> still backwards to me
[23:25:52] *** dariocravero has joined #angularjs
[23:25:53] *** night-owl-MBP has quit IRC
[23:25:57] *** aljohri_ has joined #angularjs
[23:25:58] <djam90> i don't understand why robdubya simulator does not work yet browserstack simulator for iOS7 iPad 3rd works
[23:26:12] *** amargherio has quit IRC
[23:26:15] <robdubya> djam90 likely because browserstack isnt actaully a device
[23:26:30] <robdubya> i would very much doubt its running the proper iOS sim
[23:26:53] *** aljohri has quit IRC
[23:26:54] *** aljohri_ is now known as aljohri
[23:27:30] <snurfery> Cixis: thanks for the link, I have a few co-workers getting started that that might help
[23:27:57] <robdubya> orly
[23:28:03] <robdubya> i'm impressed
[23:28:13] *** night-owl-MBP has joined #angularjs
[23:28:44] <djam90> robdubya, swiping the carousel on there works like a dream
[23:28:47] *** pkayfire has joined #angularjs
[23:28:59] *** nemothekid has joined #angularjs
[23:29:00] <djam90> could you possibly have a cached version of the JS?
[23:29:36] <Cixis> robdubya, snurfery i've found that folks have a difficult time thinking about how angular works because they want to think about it like any other javascript application. top down, you control all the moving pieces, etc
[23:29:54] <Cixis> i usually start off by saying forget what you understand about how javascript works because angular isn't just another framework
[23:30:00] *** jrist has quit IRC
[23:30:06] *** InezK_away is now known as InezK
[23:30:07] <Cixis> angular really is a different way of writing applications using the javascript language
[23:30:09] *** Reskp has joined #angularjs
[23:30:10] *** joshontheweb has joined #angularjs
[23:30:12] *** Denny009 has joined #angularjs
[23:30:22] *** dariocravero has quit IRC
[23:30:22] *** shackleford has quit IRC
[23:30:27] *** lucasefe has quit IRC
[23:30:32] <Cixis> it's a different way of thinking about them too, especially with directives
[23:30:32] *** LakWork has joined #angularjs
[23:30:41] <snurfery> yeah, coming from a jquery background makes it challenging to think naturally about some core concepts
[23:30:42] <Denny009> Hello all is it possible to emit an event outside the scope?
[23:30:48] <snurfery> how things communicate, etc
[23:30:59] <snurfery> and cut the addiction to events
[23:31:03] *** scmx has quit IRC
[23:31:05] <djam90> anyone else here have an iPad ?
[23:31:09] *** heidi has quit IRC
[23:31:55] *** dweave has joined #angularjs
[23:32:15] <dweave> does anyone know why ‘reactionStart’ would not be a valid directive name?
[23:32:16] <plong0> basically I'd like to have a service named 'myService' and I'd like to use it something like $scope.myThing = myService('1234'); $scope.myOtherThing = myService('5678'); and it would store the string I pass in as a property (ex. foo) of that instance... so I could access $scope.myThing.foo and it's === '1234' and $scope.myOtherThing.foo contains '5678' ... is it viable to use a service for this?
[23:32:42] *** heidi has joined #angularjs
[23:32:46] <plong0> dweave: it seems valid... but keep in mind that you would use it as reaction-start in your templates/html
[23:32:55] <dweave> correct
[23:32:56] *** Johnny13371337 has quit IRC
[23:32:58] <Denny009> Is it possible to emit an event outside the scope?
[23:33:01] *** aljohri has quit IRC
[23:33:06] *** pkayfire has quit IRC
[23:33:18] <dweave> my code is as follows: .directive('reactionStart', function(){
[23:33:19] <dweave> return {
[23:33:20] <dweave> template: '<div class="test">\
[23:33:21] *** pkayfire has joined #angularjs
[23:33:22] <dweave> <div>test</div>\
[23:33:23] <dweave> </div>'
[23:33:24] <dweave> };
[23:33:25] <dweave> });
[23:33:36] <plong0> Denny009: you could emit to $rootScope
[23:33:40] <dweave> when i change the reactionStart to reactionTest it works fine when called from my template.
[23:33:47] *** Reskp has quit IRC
[23:33:50] <oniijin> sweet. thanks for that
[23:33:52] <dweave> not a big deal i can change the name, but my ocd is killing me
[23:33:53] *** kornalius has quit IRC
[23:34:15] <xastey> well great.. the route regex is to greedy
[23:34:34] <dweave> i’ve also checked that the name is not being shadowed by another module
[23:34:36] <Denny009> Plong0 no i don't want use it ...i want propagate an event without scope or root scope
[23:34:40] *** cpciv has joined #angularjs
[23:34:42] *** jstephen has quit IRC
[23:34:48] *** quickie has joined #angularjs
[23:35:14] <plong0> Denny009: where would you be registering your listeners?
[23:35:57] *** shinnya has joined #angularjs
[23:36:22] *** rho has quit IRC
[23:36:36] *** patricka_ has quit IRC
[23:36:39] <Denny009> I want launch a trigger and the listener register to it...like jquery
[23:36:48] *** mdix has joined #angularjs
[23:37:02] <plong0> right... but listeners are hooked onto a scope
[23:37:21] *** Nizumzen has joined #angularjs
[23:37:22] <plong0> scope.on('myEvent', function(){ doStuff(); });
[23:37:46] *** dbouwman has joined #angularjs
[23:37:50] *** dcherman2 has joined #angularjs
[23:38:03] *** night-owl-MBP has quit IRC
[23:38:05] <plong0> dweave: interesting reactionTest works, but not reactionStart :/ and if you're using it as reaction-start in your template it seems like it should work
[23:38:08] *** idiomatic has quit IRC
[23:38:09] <Denny009> Mmm...example: socket register an event ( without root.apply) and all module register to it
[23:38:28] *** teeray has joined #angularjs
[23:39:07] <djam90> robdubya, any idea why browserstack isn't same as yours?
[23:39:13] <Cixis> Denny009: it's still just javascript. you can create, trigger, and bind to any event you can dream of
[23:39:23] <Cixis> without angular or jquery
[23:39:26] *** KushS has quit IRC
[23:39:34] *** jk-5|gone has quit IRC
[23:39:59] *** styles has quit IRC
[23:40:13] <Denny009> Cixis... Sorry ...but i don't understand...what's the magic word in javascript that i can search on google?
[23:40:42] *** nuizzy has quit IRC
[23:40:57] *** dcherman has quit IRC
[23:41:14] *** wilmoore has joined #angularjs
[23:41:19] <Cixis> "javascript custom event"
[23:42:04] *** dbouwman has quit IRC
[23:42:05] *** recurrence has quit IRC
[23:43:17] *** LakWork has quit IRC
[23:43:25] <Denny009> Tnx Cirris i search it on google
[23:43:28] *** LakWork has joined #angularjs
[23:43:37] *** Snugug has quit IRC
[23:44:06] *** mdix has quit IRC
[23:44:07] *** elrabin has quit IRC
[23:44:43] *** aljohri has joined #angularjs
[23:44:46] <robdubya> djam90 still there?
[23:44:58] <djam90> yes mate
[23:45:03] *** heidi has quit IRC
[23:45:24] <robdubya> your shit is definitely borked. ive got instruments running on it, its at 25mb of memory usage and climbing
[23:45:32] *** dancek has joined #angularjs
[23:45:32] *** andizzle has joined #angularjs
[23:46:02] <djam90> hmm
[23:46:18] *** heidi has joined #angularjs
[23:46:20] *** wilmoore has quit IRC
[23:46:21] *** AnthonyC has joined #angularjs
[23:46:26] <djam90> i can show you the code if you'd know what's going on?
[23:46:29] *** jsoverson has quit IRC
[23:46:39] <djam90> the carousel loads in a $timeout
[23:46:43] *** tommmied has quit IRC
[23:46:52] *** corban has joined #angularjs
[23:46:53] <robdubya> sure
[23:46:56] *** juanlas has quit IRC
[23:47:01] *** jk-5|gone has joined #angularjs
[23:47:25] *** livingstn has quit IRC
[23:47:33] *** patrickarlt has joined #angularjs
[23:47:35] <djam90> how dya want the code? its not working in a plunker cos of all the ajax stuff
[23:47:41] <djam90> just want the JS file?
[23:47:52] *** Denny009 has quit IRC
[23:47:53] <dweave> plong0: accidentally had a recursive call to reaction-start in my actual template
[23:47:55] *** jonog has joined #angularjs
[23:47:56] *** caitp has quit IRC
[23:47:58] <dweave> for reactionStart
[23:48:22] <dweave> actually no i did not
[23:48:23] <dweave> grrrr
[23:48:29] *** patricka_ has joined #angularjs
[23:48:35] *** sirkitree is now known as sirkitree|afk
[23:48:43] *** rho has joined #angularjs
[23:48:43] *** rho has joined #angularjs
[23:49:12] *** aljohri has quit IRC
[23:49:23] <robdubya> djam90 in terms of my experience as an iOS dev, this is exactly the wrong type of graph you want to see
[23:49:32] <robdubya> djam90 is it on github?
[23:49:36] *** JoshGlzBrk has joined #angularjs
[23:50:00] *** andizzle has quit IRC
[23:50:16] *** dcherman2 has quit IRC
[23:50:18] <bradmc> robdubya: what do you use the ejs templating for?
[23:50:31] <robdubya> nothing, that's an artifact
[23:50:44] <plong0> dweave: hmm.. maybe try it with a really simple test?
[23:50:48] *** marr has joined #angularjs
[23:50:50] <plong0> even on jsfiddle or something?
[23:51:06] *** mennea has quit IRC
[23:51:14] <djam90> robdubya, I've tried to comment it fairly well... the directive is at the bottom controlling the carousel
[23:51:22] <robdubya> djam90 well your code looks nice anyway
[23:51:30] <djam90> lol thanks
[23:52:02] *** JmZ is now known as JmZ_
[23:52:03] *** cisox is now known as cisox_away
[23:52:12] *** patrickarlt has quit IRC
[23:52:20] <bradmc> ok
[23:52:54] *** aslate has joined #angularjs
[23:52:54] *** bmac has quit IRC
[23:53:09] *** krawchyk has joined #angularjs
[23:53:16] *** shackleford has joined #angularjs
[23:53:24] *** wilmoore has joined #angularjs
[23:53:25] <robdubya> bradmc i thought i'd removed all the ejs, guess not
[23:53:43] <bradmc> no worries
[23:53:52] <dweave> change the directive name and the reference to it in the html to just about anything and it works
[23:53:59] *** dylukes has quit IRC
[23:54:13] *** cisox_away is now known as cisox
[23:54:16] *** lsiv568 has joined #angularjs
[23:54:27] *** jonog has quit IRC
[23:54:30] <djam90> robdubya, see anything amiss?
[23:54:37] *** juanlas has joined #angularjs
[23:54:43] <djam90> (aside from any jQuery ajax which I will sort soon)
[23:54:48] <dweave> damndest thing huh plong0
[23:54:59] <robdubya> digging
[23:55:04] <djam90> robdubya, do I need to release resources somewhere or something? could that be breaking it
[23:55:08] <djam90> and thank you
[23:55:37] *** teeray has quit IRC
[23:55:39] *** snapwich has joined #angularjs
[23:55:52] *** heidi_ has joined #angularjs
[23:55:59] *** dcherman has joined #angularjs
[23:56:20] *** Shrooms has quit IRC
[23:56:26] *** braoru has quit IRC
[23:56:34] *** heidi has quit IRC
[23:56:38] *** heidi__ has joined #angularjs
[23:56:52] <dweave> plong0: it seems anything with *-start
[23:56:54] <dweave> does not work
[23:56:58] <dweave> interesting never knew this
[23:57:00] *** cisox has quit IRC
[23:57:16] *** aslate has quit IRC
[23:57:50] *** dweave has left #angularjs
[23:57:53] *** Tidwell has quit IRC
[23:57:54] <plong0> interesting ya
[23:57:57] <plong0> good to know for sure
[23:58:46] <plong0> reactionstart all lowercase works
[23:58:57] *** khayes has quit IRC
[23:58:59] <plong0> but it's harder to read
[23:59:47] <plong0> you could use something like reactionBegin maybe? since start seems to be reserved
[23:59:54] <robdubya> djam90 one thing ive noticed, it never stops loading on ios