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

Toggle Join/Part | bottom
[00:00:05] *** bayousoft has quit IRC
[00:00:26] *** MacWinner has joined #angularjs
[00:01:50] *** Linell has quit IRC
[00:02:29] *** juanpablo_ has quit IRC
[00:02:51] *** juanpablo_ has joined #angularjs
[00:02:56] *** krane has quit IRC
[00:03:11] *** mbildner has quit IRC
[00:03:20] *** LossFor has joined #angularjs
[00:04:13] *** tkdaj has quit IRC
[00:04:27] *** pingupingu has quit IRC
[00:04:34] *** pingupingu has joined #angularjs
[00:04:36] *** dcherman has joined #angularjs
[00:05:22] *** mmealling has quit IRC
[00:05:22] *** SeeThruHead has quit IRC
[00:05:42] *** Reskp has quit IRC
[00:06:32] *** jbeaudry has quit IRC
[00:07:02] *** mtorres1624_ has joined #angularjs
[00:07:07] *** RobinBAwesome has quit IRC
[00:07:27] *** jasonp has quit IRC
[00:07:31] *** mtorres1624 has quit IRC
[00:07:52] <Grokling> coreyw: try swapping line 14 with: <select name="county" ng-options="county.county as county.county for (key, county) in counties" ng-model="item.county" ></select> {{item}}
[00:08:05] *** dhcar_AFK is now known as dhcar
[00:08:57] *** nuizzy has quit IRC
[00:09:01] *** TheAceOfHearts1 has quit IRC
[00:09:06] *** rtpg has joined #angularjs
[00:09:14] *** jheady has joined #angularjs
[00:09:19] *** TheAceOfHearts has joined #angularjs
[00:09:31] <TheAceOfHearts> ping
[00:09:57] *** patricka_ has quit IRC
[00:09:58] <davek> pong
[00:10:11] *** juanpablo_ has quit IRC
[00:10:19] <coreyw> Grokling: just doing that alone doesnt work. the option labels are blank and there is still an empty option
[00:10:41] *** jasonp has joined #angularjs
[00:11:01] <Grokling> coreyw: http://plnkr.co/edit/fTxUxCm9OjIyCA6VQHm1?p=preview
[00:11:23] *** SomeKittens has joined #angularjs
[00:11:32] <coreyw> oh you changed the counties object too
[00:11:45] <coreyw> so there's no way to do it without restructuring the data then?
[00:11:56] <Grokling> Oh yeah. I thought I'd changed that back and made it work. Hold on.. I think I still can do that..
[00:12:08] *** qdk has quit IRC
[00:12:10] <coreyw> ok
[00:12:41] *** mdedetrich has joined #angularjs
[00:12:45] *** sheplu has joined #angularjs
[00:13:00] *** LossFor has quit IRC
[00:13:10] <rmannibucau> does:path* works with ngroute?
[00:13:12] *** brandon__ has joined #angularjs
[00:13:24] <coreyw> i mean if it makes more sense to have an array of objects, then i can do that. only reason the data is structured this way is to easily find it with javascript using "object[key]" isntaed of having to loop through each one and check a property
[00:13:26] <Grokling> coreyw: Yup. Refresh that plunker now..
[00:13:49] *** josdeha_rt has quit IRC
[00:14:01] *** jheady has quit IRC
[00:14:02] <brandon__> hello, I am having a hard time unit testing with angular 1.3.1 and html5 mode. Karma keeps saying: "Error: [$location:nobase] http://errors.angularjs.org/1.3.1/$location/nobase", but I have a base href set
[00:14:10] <Grokling> It probably should be an array in theory, but I hear you on the looping business. It depends on where else you're using it, and how.
[00:14:26] *** warcuy has quit IRC
[00:15:06] <Grokling> Also, on the looping, check out map(), find(), and filter() functions (the last two are es6, so you need to polyfill them)
[00:15:32] *** warcuy has joined #angularjs
[00:15:50] *** dman777_alter has quit IRC
[00:15:57] <coreyw> Grokling: sweet, thank you. ng-options can be pretty confusing to tackle at first. but pretty powerful it looks like... and alrighty, appreciate it
[00:16:02] *** nesquerra has joined #angularjs
[00:16:19] <Grokling> sure - you're welcome.
[00:16:33] *** patrickarlt has joined #angularjs
[00:16:39] *** jaznow has quit IRC
[00:16:39] *** Kosre has quit IRC
[00:16:50] <brandon__> any ideas on html5 mode unit tests and the odd base tag error? really weird and I've been stuck on it for about an hour :(
[00:16:53] *** dsdeiz has joined #angularjs
[00:17:16] *** coreyw has quit IRC
[00:18:24] *** monir has quit IRC
[00:18:34] *** Aliks has quit IRC
[00:19:15] *** fedenunez has joined #angularjs
[00:19:28] *** crunch-choco has joined #angularjs
[00:19:29] *** anivemin has joined #angularjs
[00:19:53] *** yakari has quit IRC
[00:19:55] *** crunch-choco is now known as Guest99092
[00:20:09] <Guest99092> does it have a delay to get information from services.js
[00:20:19] *** jdummy has joined #angularjs
[00:20:34] *** dhcar is now known as dhcar_AFK
[00:20:37] *** Sebastien-L has quit IRC
[00:20:59] *** mven has quit IRC
[00:21:19] <jdummy> I have a SRS need to synchronize data from my REST server with my angular client's IndexedDb. Is there something out there (interwebs) that aides in this sort of setup?
[00:21:23] *** tilgovi has joined #angularjs
[00:21:30] *** fedenunez1 has quit IRC
[00:21:52] *** bmac has quit IRC
[00:22:09] <jdummy> It seems to be the elusive dream middleware or something. I can find nothing like this, or I'm misunderstanding what's out there (breeze.js, jaydata)
[00:22:15] *** rtpg has quit IRC
[00:22:34] *** DLSteve has quit IRC
[00:22:55] *** mvovchak has quit IRC
[00:23:09] *** gazbond has joined #angularjs
[00:23:48] *** dtrott has joined #angularjs
[00:23:57] *** uru is now known as uru|away
[00:24:02] *** snurfery has quit IRC
[00:24:12] *** anivemin has quit IRC
[00:25:30] *** Reskp has joined #angularjs
[00:25:35] *** mdedetrich has quit IRC
[00:25:55] *** patricka_ has joined #angularjs
[00:26:29] *** mdedetrich has joined #angularjs
[00:27:00] *** RobinBAwesome has joined #angularjs
[00:27:41] *** annlewis has joined #angularjs
[00:27:41] *** AtomicCookie has quit IRC
[00:28:21] *** hiptobecubic has joined #angularjs
[00:28:45] *** patrickarlt has quit IRC
[00:29:11] *** Typher has joined #angularjs
[00:29:37] *** tristanp has joined #angularjs
[00:29:37] *** MaxV has joined #angularjs
[00:29:40] <brandon__> hello, anyone having trouble unit testing with angular 1.3.1?
[00:29:47] <brandon__> specifically with html5mode?
[00:30:13] *** dimetron has joined #angularjs
[00:30:21] *** jaaames has joined #angularjs
[00:30:29] *** gazbond has quit IRC
[00:30:38] *** MaxV has quit IRC
[00:31:49] <Foxandxss> what does unit testing having to do with html5mode?
[00:32:11] *** soj has joined #angularjs
[00:32:16] <hiptobecubic> Foxandxss, one of them is testing and the other one is a mode
[00:32:21] *** gazbond has joined #angularjs
[00:32:27] <brandon__> I get this error when karma loads up
[00:32:35] <brandon__> Uncaught Error: [$location:nobase] http://errors.angularjs.org/1.3.1/$location/nobase
[00:32:35] <Foxandxss> thank for clarification :P
[00:32:48] <brandon__> and I have base tag and href set
[00:32:52] *** Guest99092 has quit IRC
[00:33:01] *** mdedetrich has quit IRC
[00:33:06] *** stirlingw has quit IRC
[00:33:10] <hiptobecubic> brandon__, the $location in HTML5 mode requires a tag to be present
[00:33:12] <Foxandxss> have nothing to do with unit tests though
[00:33:20] *** xeoncross has quit IRC
[00:33:30] <snapwich> sounds like an e2e test to me
[00:33:33] <brandon__> I have one set in my app, but assume the unit test is using angular mock location?
[00:33:36] <hiptobecubic> brandon__, you can't strictly infer that isn't from that message, but it's suggestive.
[00:33:38] <hiptobecubic> that it *
[00:33:56] <brandon__> I am not even testing for it
[00:34:01] <brandon__> karma is just complaining
[00:34:04] *** beckyconning is now known as beckyconning_
[00:34:06] *** Typher has quit IRC
[00:34:11] *** Oddman has quit IRC
[00:34:50] <hiptobecubic> brandon__, If you configure $location to use html5Mode (history.pushState), you need to specify the base URL for the application with a <base href=""> tag or configure $locationProvider to not require a base tag by passing a definition object with requireBase:false to $locationProvider.html5Mode()
[00:35:10] *** grogs_ has quit IRC
[00:35:21] <brandon__> I have <base href=""> set in my HTML
[00:35:23] *** Aliks has joined #angularjs
[00:35:26] <Foxandxss> hiptobecubic: you missed the
[00:35:30] <Foxandxss> [00:32:48] brandon__: and I have base tag and href set
[00:35:40] *** levity_island has joined #angularjs
[00:35:42] <hiptobecubic> Did you try specifying the base URL for the application a <base href=""> tag?
[00:35:46] <brandon__> my app works fine, it is only the unit test that for whatever reason, is acting like I don't have a base tag set
[00:35:48] <hiptobecubic> with a*
[00:35:54] *** deanclkclk has quit IRC
[00:36:00] *** Sky[x] has quit IRC
[00:36:01] <hiptobecubic> brandon__, have you tried setting the base tag in the unit test also?
[00:36:03] <Foxandxss> otoh, I think it is href="/"
[00:36:07] <Foxandxss> but don't quote me on that
[00:36:11] *** nesquerra has quit IRC
[00:36:18] <Foxandxss> how you set the tag in the unit test?
[00:36:27] <hiptobecubic> brandon__, Foxandxss thinks it might be href="/"
[00:36:45] <Foxandxss> still, unit test don't even load html5mode
[00:36:47] *** ctanga has joined #angularjs
[00:36:51] <Foxandxss> you just test units
[00:37:00] <Foxandxss> maybe when loading the module, but makes no sense
[00:37:19] <hiptobecubic> I think you set it there, or you configure $locationProvider to not require a base tag by passing a definition object with requireBase:false to $locationProvider.html5Mode()
[00:37:29] *** oktapodi has joined #angularjs
[00:37:43] <hiptobecubic> brandon__, maybe you should do that in your unit test
[00:37:57] <brandon__> this is exactly what I am running into, but angular said they fixed it :( https://github.com/angular/angular.js/issues/8866
[00:38:08] *** deanclkclk has joined #angularjs
[00:38:15] *** zwacky has joined #angularjs
[00:38:35] <brandon__> I would have to do that requireBase:false for each unit test? I didn't want to do that in my app since it says it will break IE9 (but again, I do have a base tag set to root)
[00:38:36] *** anapitupulu has quit IRC
[00:38:52] <hiptobecubic> IE9 is already broken
[00:39:20] <Foxandxss> so are you using latest version (and same version) in both angular and angular-mocks?
[00:39:39] <Grokling> IE: Internet Exploder.
[00:39:52] *** LocusAsaf has quit IRC
[00:40:04] <hiptobecubic> Internet Ebola
[00:40:05] *** gurke_ has quit IRC
[00:40:16] <brandon__> yup, 1.3.1
[00:40:23] <brandon__> this is a brand new project
[00:40:32] *** dc has quit IRC
[00:40:35] <Foxandxss> update karma maybe
[00:40:38] <Foxandxss> not sure if that helps
[00:40:39] <storkme> hey does anyone know what the schedule is for 2.0 release?
[00:40:51] <Foxandxss> storkme: I think that you already asked that
[00:40:54] <GreenJello> nice hiptobecubic :-)
[00:41:02] <Foxandxss> or I am confused (which could be)
[00:41:07] <Foxandxss> anyway, I would say early 2016
[00:41:08] <storkme> probably I'm drunk as hell
[00:41:09] *** mary5030 has quit IRC
[00:41:27] *** TheAceOfHearts has quit IRC
[00:41:39] *** mdedetrich has joined #angularjs
[00:41:45] *** mary5030 has joined #angularjs
[00:41:47] *** s00pcan has joined #angularjs
[00:41:59] *** atomi has quit IRC
[00:42:09] <hiptobecubic> brandon__, that thread pretty clearly shows that it's *not* fixed
[00:42:09] *** oktapodi has quit IRC
[00:42:11] *** Reskp has quit IRC
[00:42:22] *** jwowwz has quit IRC
[00:42:28] <hiptobecubic> brandon__, i think, anyway
[00:42:37] <hiptobecubic> brandon__, unless you're on a pre-release version of things?
[00:43:00] <brandon__> it seems like everyone would be having this issue though with html5 mode and unit tests
[00:43:09] <brandon__> no, I am 1.3.1
[00:43:09] *** g3funk has quit IRC
[00:43:23] *** jasonp has quit IRC
[00:44:30] *** g3funk has joined #angularjs
[00:44:34] *** Nijikokun has quit IRC
[00:44:48] <brandon__> adding "requireBase: false" to my app config fixes it
[00:44:51] *** dcherman has quit IRC
[00:45:01] *** joebobjoe has joined #angularjs
[00:45:14] <brandon__> but I didn't really want to have to do that, especially since I do have a base href set :( - seems like a hack just to get unit tests to work
[00:45:16] *** Nijikokun has joined #angularjs
[00:45:58] *** tubiz has quit IRC
[00:46:00] *** patricka_ has quit IRC
[00:46:07] *** mary5030 has quit IRC
[00:46:45] *** Latros-OS has quit IRC
[00:46:51] <joebobjoe> Hey guys, how would I go about making an app that has two login roles (but I don't users of one role to see the front-end code for the users of the other role)?
[00:46:51] *** rmannibucau has left #angularjs
[00:47:00] *** rtpg has joined #angularjs
[00:47:01] <joebobjoe> Is that possible with Angular?
[00:47:02] *** _ritchie_ has quit IRC
[00:47:19] *** cspeak has quit IRC
[00:47:39] *** levity_island has quit IRC
[00:48:00] *** elrabin_ has joined #angularjs
[00:48:00] <snapwich> joebobjoe: you'd have to do authentication on your server when it dynamically fetches templates
[00:48:01] *** opiates has quit IRC
[00:48:08] <snapwich> but you can do it
[00:48:36] *** Joel has joined #angularjs
[00:48:42] <joebobjoe> snapwich, Okay. Is that a common practice?
[00:48:47] <snapwich> sure.
[00:48:54] <joebobjoe> snapwich, Or should I make two separate Angular apps and run one on the intranet
[00:49:00] <Joel> When I hit this condition: https://github.com/jjshoe/Meetendance/blob/master/www/js/app.js#L38 my controller https://github.com/jjshoe/Meetendance/blob/master/www/js/controllers.js#L19 isn't fired, what's the best way to handle that?
[00:49:03] *** dhcar_AFK is now known as dhcar
[00:49:19] <snapwich> depends on how coupled the applications are
[00:49:21] <snapwich> or should be
[00:49:32] *** onats has joined #angularjs
[00:49:51] *** deanclkclk_ has joined #angularjs
[00:49:57] *** Nijikokun has quit IRC
[00:50:19] *** eBureau has joined #angularjs
[00:50:22] <Joel> as in, how do I trigger a specific controller when calling $sate.go('some place')
[00:50:33] *** levity_island has joined #angularjs
[00:50:33] *** Nijikokun has joined #angularjs
[00:50:38] <deanclkclk_> hello folks
[00:50:46] *** pikapp has joined #angularjs
[00:50:58] <deanclkclk_> I am trying to test angular-translate and wondering if there is away I can change my browser language to test this
[00:51:00] <deanclkclk_> any ideas?
[00:51:04] *** elrabin has quit IRC
[00:51:55] *** mdedetri_ has joined #angularjs
[00:51:57] *** danflies has quit IRC
[00:52:28] *** intellix has quit IRC
[00:52:33] *** elrabin_ has quit IRC
[00:52:44] *** patrickarlt has joined #angularjs
[00:53:07] *** Johnny13371337 has left #angularjs
[00:53:08] *** LocusAsaf has joined #angularjs
[00:53:30] *** mdedetrich has quit IRC
[00:53:40] *** brandon__ has quit IRC
[00:54:00] *** LossFor has joined #angularjs
[00:54:01] <joebobjoe> snapwich, Maybe it would be better to make separate apps, but share Angular modules for common code?
[00:54:07] *** phuh_ has quit IRC
[00:54:31] *** phuh has joined #angularjs
[00:54:58] *** deanclkclk__ has joined #angularjs
[00:55:11] <snapwich> that works
[00:55:14] <Foxandxss> that is a good idea
[00:55:15] *** pikapp has quit IRC
[00:55:21] *** ProLoser has quit IRC
[00:56:35] *** derickf has joined #angularjs
[00:57:02] *** grantfunke_ has joined #angularjs
[00:57:06] <joebobjoe> I've been playing around with MEAN.js, and it seems that in order to test your application you need to have the backend running. Is this typical when developming Angular apps?
[00:57:23] <joebobjoe> Shouldn't I be able to run my Angular app with mock data without a backend during development?
[00:57:44] <snapwich> joebobjoe: yes, for your unit tests you can develop without a backend
[00:57:48] *** xeoncross has joined #angularjs
[00:57:49] *** kreiggers has quit IRC
[00:57:54] <snapwich> but your e2e tests and just manually testing will require a backend
[00:57:55] <joebobjoe> snapwich, But I can't view my app in the browser
[00:58:06] *** deanclkclk_ has quit IRC
[00:58:13] <Foxandxss> for unit test you may not use the real backend
[00:58:15] <Foxandxss> just mocks
[00:58:16] <snapwich> seems it bit strange to make an angular app that can't be viewed in a browser
[00:58:20] <Foxandxss> no need to see anything on browser
[00:58:20] *** baweaver has quit IRC
[00:58:22] *** dannyc has joined #angularjs
[00:58:36] <Foxandxss> for e2e I wouldn't use backend, but that is personal preference
[00:58:52] <snapwich> what do you mean? you have to use a backend for e2e
[00:59:11] <snapwich> what do you thing browser.get does?
[00:59:19] <snapwich> s/thing/think/
[00:59:24] <joebobjoe> snapwich, So in order for my designers to test out the look and feel of views, we need to be running a backend?
[00:59:32] <snapwich> yes
[00:59:35] <Foxandxss> snapwich: I don't follow
[00:59:36] <snapwich> but it can be a local backend
[01:00:06] <snapwich> Foxandxss: you said you don't need a backend for e2e tests…
[01:00:17] <Foxandxss> yes
[01:00:27] <snapwich> browser.get() is making a request to the backend...
[01:00:38] *** jmverges has quit IRC
[01:00:44] <Foxandxss> how so
[01:01:05] *** ProLoser has joined #angularjs
[01:01:05] *** Guest67759 has quit IRC
[01:01:09] <snapwich> you give it a URL right?
[01:01:13] <snapwich> browser.get("URL")
[01:01:22] <Foxandxss> yes
[01:01:25] <snapwich> okay...
[01:01:31] *** Guest67759 has joined #angularjs
[01:01:31] <snapwich> what's returning that URL?
[01:01:32] *** Guest67759 has quit IRC
[01:01:42] <snapwich> a backend
[01:01:45] <snapwich> i'll just answer that for you
[01:01:50] <Foxandxss> how si
[01:01:51] <Foxandxss> so*
[01:01:57] *** Guest67759 has joined #angularjs
[01:02:01] <Foxandxss> why the backend answer that?
[01:02:04] <snapwich> i don't even know how to answer that
[01:02:20] <Foxandxss> I have backend-less apps
[01:02:22] *** Guest67759 has joined #angularjs
[01:02:22] <Foxandxss> with e2e tests
[01:02:23] *** Guest67759 has quit IRC
[01:02:25] *** SeeThruHead has joined #angularjs
[01:02:27] *** gazbond has quit IRC
[01:02:29] <Foxandxss> and I do browser.get
[01:02:40] <snapwich> so it has a local webserver?
[01:02:40] <Foxandxss> and I get the routes I need which are angular routes
[01:02:47] *** Guest67759 has joined #angularjs
[01:02:54] *** zeroquake has quit IRC
[01:02:54] <Foxandxss> I serve my angular app with a node server yes
[01:02:58] <Foxandxss> but is not my backend
[01:03:04] <snapwich> that's the definition of a backend
[01:03:05] *** dannyc has quit IRC
[01:03:16] <snapwich> you can have multiple backend systems if you want
[01:03:23] <snapwich> but you have to have a backend to do an e2e test
[01:03:25] <Foxandxss> it is not
[01:03:32] *** m3l720 has quit IRC
[01:03:36] <Foxandxss> it is just a serve which serve my static assets
[01:03:42] <Foxandxss> I wouldn't call that a backend
[01:03:52] <snapwich> well it's a webserver
[01:04:13] *** SeeThruH1 has joined #angularjs
[01:04:13] *** balr0g has quit IRC
[01:04:27] *** mystronyx has joined #angularjs
[01:04:29] <Foxandxss> if you're mixing your backend with your angular (let's say rails pipeline) then yes, you need rails running
[01:04:47] *** Aerospark has joined #angularjs
[01:04:57] <snapwich> rails runs on a webserver
[01:04:58] *** qdk has joined #angularjs
[01:05:00] <snapwich> that's what makes it a backend
[01:05:10] <joebobjoe> Foxandxss, But you're not running a database?
[01:05:16] <Foxandxss> joebobjoe: no
[01:05:23] *** rtpg has quit IRC
[01:05:30] <joebobjoe> Foxandxss, So what is happening then?
[01:05:42] <joebobjoe> Foxandxss, What do you populate the views with to test them out?
[01:05:44] <Foxandxss> snapwich: we have different names then, no need to continue discussing
[01:05:50] *** pikapp has joined #angularjs
[01:05:55] *** matisoffn has quit IRC
[01:05:59] <Foxandxss> fake data
[01:06:08] *** niop2 has joined #angularjs
[01:06:12] <joebobjoe> Where is the fake data stored?
[01:06:12] *** derickf has quit IRC
[01:06:13] <snapwich> Foxandxss: well you're going to confuse people if you're using incorrect terminology
[01:06:22] <joebobjoe> snapwich, Yea, lol
[01:06:23] <Foxandxss> snapwich: enough
[01:06:35] <Foxandxss> it is not incorrect terminology
[01:06:37] *** Soop has joined #angularjs
[01:06:38] *** gazbond has joined #angularjs
[01:06:40] <snapwich> it is
[01:06:57] <snapwich> a webserber is a backend in every since of the word, at least as we're using it regarding e2e tests
[01:06:57] *** Nijikokun has quit IRC
[01:07:06] <snapwich> s/webserber/webserver/
[01:07:09] *** Aerospark has quit IRC
[01:07:13] *** SeeThruHead has quit IRC
[01:07:15] <Foxandxss> I don't care
[01:07:16] <Foxandxss> you win
[01:07:19] *** enigmarm has quit IRC
[01:07:22] <snapwich> i'm not trying to win
[01:07:23] <Foxandxss> joebobjoe: I create them on the tests
[01:07:26] <joebobjoe> Foxandxss, Where is your data stored for E2E testing?
[01:07:43] <joebobjoe> Foxandxss, When you run your app to test it out, do you use a backend?
[01:07:53] *** Nijikokun has joined #angularjs
[01:07:55] <Foxandxss> what is a backend for you?
[01:08:00] <Foxandxss> now that we have wider terms
[01:08:12] <joebobjoe> In your terms
[01:08:18] <joebobjoe> Like when you want to click around in your app
[01:08:20] <Foxandxss> it is a static application
[01:08:23] <joebobjoe> What backend do you use
[01:08:23] <Foxandxss> served by nginx
[01:08:28] <Foxandxss> there is no node, rails or stuff like that
[01:08:30] *** dc has joined #angularjs
[01:08:40] <mystronyx> I want to ng-repeat song in songs, but I only want to display songs that have an album id of 1. How can I do this?
[01:08:55] <snapwich> joebobjoe: most people use node to serve as their backend for testing purposes
[01:08:55] <joebobjoe> Foxandxss, What happens when you add data though
[01:09:06] <joebobjoe> snapwich, Do they reset their db each time?
[01:09:11] <joebobjoe> snapwich, Thanks for helping me btw
[01:09:18] <Foxandxss> joebobjoe: I don't add data
[01:09:19] <wafflej0ck> mystronyx: either a filter or use ng-if
[01:09:28] <mystronyx> wafflej0ck thanks
[01:09:32] <Foxandxss> it just works with a couple of values saved on localStorage
[01:09:36] <joebobjoe> Foxandxss, So you test yoru views without data?
[01:09:41] <Foxandxss> so I mock localStorage to give fake data
[01:09:49] <Foxandxss> so localStorage is never hit
[01:09:54] <Soop> Hey, could someone help me with handling my json? currently to use ng-repeat I have to do X in foo.data.bar and my <td> looks like {{ foo.foo.bar }}
[01:09:59] *** mccarrontr1ck has quit IRC
[01:10:02] <joebobjoe> Foxandxss, How do you do that?
[01:10:03] *** FunnyLookinHat has quit IRC
[01:10:03] <Foxandxss> when my app tries to get stuff from localStorage, I just give it fake data by hand
[01:10:04] <snapwich> joebobjoe: I store mocked data in json files that I return for testing
[01:10:21] <Foxandxss> json files is also a good idea
[01:10:40] *** marshall has quit IRC
[01:10:42] *** phaggood has quit IRC
[01:10:43] <henn1nk> using file uploads to aws s3 in an angular application.. should i handle this in angular or in my backend?
[01:10:55] *** freeman42 has quit IRC
[01:11:09] <joebobjoe> snapwich, Since you seem to know a lot, can I ask you another question?
[01:11:11] *** dtrott has quit IRC
[01:11:14] <snapwich> sure
[01:11:15] *** elrabin has joined #angularjs
[01:11:19] <jdummy> quick, everyone put this in your toolbelts: https://github.com/dfahlander/Dexie.js
[01:11:27] <jdummy> it deserves more popularity
[01:11:29] <snapwich> bout to head out the door soon though
[01:11:39] *** onats has quit IRC
[01:11:40] *** ome has quit IRC
[01:11:53] *** dhcar is now known as dhcar_AFK
[01:12:03] <joebobjoe> snapwich, If I'm separating my Angular app into two separate apps (one internal and one external), should I make two separate backends?
[01:12:15] <joebobjoe> snapwich, Currently I'm using the MEAN.js stack
[01:12:25] <Foxandxss> depend on the use case
[01:12:26] <snapwich> so two different webservers?
[01:12:27] <Foxandxss> oh wait, you asked him
[01:12:38] <snapwich> there's no reason you'd need two different web servers
[01:12:51] *** Nijikokun has quit IRC
[01:12:53] <joebobjoe> snapwich, Should I make different Express apps?
[01:13:06] *** Reskp has joined #angularjs
[01:13:09] <snapwich> you could
[01:13:11] <Foxandxss> snapwich: I am trying to google but I can't find anything clear
[01:13:17] *** asher^ has joined #angularjs
[01:13:18] *** mven has joined #angularjs
[01:13:27] *** Nijikokun has joined #angularjs
[01:13:36] <joebobjoe> snapwich, Okay, this makes more sense, thanks!
[01:13:50] <snapwich> yeah
[01:13:52] <snapwich> np
[01:14:04] <snapwich> Foxandxss: google what?
[01:14:07] <Foxandxss> joebobjoe: if they work with the same data, I wouldn't create two express apps, but you could
[01:14:13] <Foxandxss> being gulp-connect a backend
[01:14:25] <Foxandxss> I never used "backend" to something that is not my API
[01:14:27] <Foxandxss> I could be wrong
[01:14:31] <Foxandxss> but I can't find any information
[01:14:42] <snapwich> as far as the web goes a backend is anything running on the server
[01:14:52] *** diegoaguilar has joined #angularjs
[01:15:05] <snapwich> even if it's a static file server
[01:15:16] <wafflej0ck> eh I mostly agree with fox here
[01:15:24] <Foxandxss> so can we call nginx a backend?
[01:15:27] <wafflej0ck> backend is the part that serves up the data
[01:15:28] *** subr0utine has joined #angularjs
[01:15:29] <snapwich> what. that an express server is not a backend?
[01:15:31] *** dhcar_AFK is now known as dhcar
[01:15:48] <wafflej0ck> a web server that serves up static files I don't really consider part of either
[01:15:50] <Foxandxss> wafflej0ck: yeah, that was always for me
[01:15:56] <Foxandxss> I mean
[01:16:02] *** rchavik has joined #angularjs
[01:16:02] <Foxandxss> python simple http server
[01:16:06] *** Skrypter_ has joined #angularjs
[01:16:09] <Foxandxss> typical we use to try something
[01:16:10] *** Skrypter has quit IRC
[01:16:12] <Foxandxss> I don't call that a backend
[01:16:20] <Foxandxss> maybe I am blind and it is
[01:16:23] <Foxandxss> but never was for me
[01:16:24] *** TheAceOfHearts has joined #angularjs
[01:16:32] *** stirlingw has joined #angularjs
[01:17:49] *** codeman has joined #angularjs
[01:17:53] *** Reskp has quit IRC
[01:18:00] <wafflej0ck> I mean certainly the web server is closer to the "back end" than the "front end" but I consider the "back end" to be the database and whatever server side code executes to work with the DB
[01:18:27] <Foxandxss> yes, I think the same
[01:18:55] <Foxandxss> that is why I never consider a dummy node server (connect or anything like so) a backend itself, just a webserver
[01:19:04] *** icfantv has joined #angularjs
[01:19:24] *** Soop has quit IRC
[01:20:04] *** Jon30 has joined #angularjs
[01:20:04] <snapwich> http://blog.teamtreehouse.com/i-dont-speak-your-language-frontend-vs-backend
[01:20:53] <Foxandxss> that says what wafflej0ck and I say
[01:21:01] <snapwich> no it doesn't
[01:21:04] *** atomatt has joined #angularjs
[01:21:07] <Foxandxss> an application with a database and a server
[01:21:14] <snapwich> "The backend usually consists of three parts: a server, an application, and a database."
[01:21:24] <snapwich> you guys are excluding the server as being part of the backend
[01:21:34] <Foxandxss> is PART
[01:21:37] <Foxandxss> but by itself
[01:21:40] <Foxandxss> a server is not a backend
[01:21:42] <snapwich> WTH
[01:21:43] <Foxandxss> a leg is not a human
[01:21:48] <Foxandxss> it is just, a leg
[01:21:57] *** doug64k has quit IRC
[01:21:58] *** asher^ has quit IRC
[01:22:01] <snapwich> you guys are silly
[01:22:08] <snapwich> i gotta go
[01:22:08] <Foxandxss> you have no manners
[01:22:14] <Foxandxss> you came to insult my opinion
[01:22:22] <Foxandxss> so behave
[01:22:27] <snapwich> no, I was answering that dudes question
[01:22:45] *** opiates has joined #angularjs
[01:22:48] <snapwich> and saying things like "i run my e2e tests without a backend" is just silly
[01:22:53] <snapwich> and is going to confuse people
[01:24:10] <Foxandxss> what you say
[01:24:39] *** snapwich has quit IRC
[01:24:40] *** asher^ has joined #angularjs
[01:24:41] *** SeeThruH1 has quit IRC
[01:25:30] *** SeeThruH1 has joined #angularjs
[01:25:44] *** jbeaudry has joined #angularjs
[01:25:52] *** shinnya has joined #angularjs
[01:27:26] *** unified012 has joined #angularjs
[01:27:41] *** platonic has joined #angularjs
[01:27:43] *** D9 has joined #angularjs
[01:27:47] *** tfennelly has quit IRC
[01:28:16] *** scriptThis has joined #angularjs
[01:28:17] <jdummy> I just came here for the drama
[01:28:52] <wafflej0ck> TNT
[01:29:21] *** dnull has joined #angularjs
[01:29:28] *** michaelSharpe has joined #angularjs
[01:29:31] *** joebobjoe has quit IRC
[01:29:44] <dnull> How can I order by json property: {{outcome['@place']}}
[01:30:15] <jdummy> dnull: you using anything like lodash or underscore?
[01:30:19] *** RedOrangeZ has quit IRC
[01:30:26] <unified012> what does the json that you're trying to order look like?
[01:30:31] *** herpless has quit IRC
[01:30:43] <dnull> jdummy you mean in place?
[01:31:23] *** cotko has quit IRC
[01:31:52] *** basiclaser_ has quit IRC
[01:31:55] <jdummy> "in place", "on the go"... whichever you'd prefer :)
[01:31:58] <jdummy> https://lodash.com/docs#sortBy
[01:32:05] *** platonic has quit IRC
[01:32:27] <jdummy> I don't really know what "in place" means, that's the best I could come up with.
[01:32:54] <wafflej0ck> jdummy: it's what happens when you stop dancing :)
[01:33:23] *** klaut has quit IRC
[01:33:25] *** subr0utine has quit IRC
[01:33:33] *** katsuki has joined #angularjs
[01:33:43] <jdummy> "in place" describes everyone in here! sedentary (un)professionals
[01:33:56] *** discgo_ has quit IRC
[01:34:08] *** mmealling has joined #angularjs
[01:34:30] *** michaelSharpe has quit IRC
[01:34:32] *** michaelfavia has joined #angularjs
[01:34:35] <unified012> who says we're not professionals?
[01:34:40] <unified012> =p
[01:34:55] <wafflej0ck> 1.working or ready to work; established.
[01:35:07] <jdummy> dnull: anyways, I don't know much... so I like to use a good utility library... something like lodash can take a potentially not so easy task like sorting by a deep object property and trivialize it.
[01:35:18] <wafflej0ck> 2.NORTH AMERICAN not traveling any distance.
[01:35:23] <wafflej0ck> that's what google says
[01:35:54] <jdummy> wait, what!?!
[01:36:04] *** derickf has joined #angularjs
[01:36:07] <dnull> jdummy ya
[01:36:15] <jdummy> what does North America have to do with sedentary, professional, or unprofessional?
[01:36:40] *** atomatt has quit IRC
[01:37:00] <unified012> dnull, are you trying to sort something that's being displayed in the view?
[01:37:08] <wafflej0ck> I dunno where'd you get your definition from https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=in%20place
[01:37:13] <dnull> unified012 Yes
[01:37:14] <unified012> and/or what does the thing you're trying to sort look like?
[01:37:28] <wafflej0ck> dnull: if you can show your data in a plunkr sure you can get it sorted (pun intended)
[01:37:49] <dnull> unified012 Its number outcome['@place'] = 1
[01:38:04] <jdummy> gotta run, see ya all
[01:38:07] *** jdummy has quit IRC
[01:38:17] <wafflej0ck> later jd
[01:38:17] *** SeeThruH1 has quit IRC
[01:38:26] <unified012> so you have outcome and you're trying to sort by @place, correct?
[01:38:29] *** ctanga has quit IRC
[01:38:53] <unified012> and is this being done inside an ng-repeat?
[01:39:38] <dnull> unified012 Yes
[01:40:24] <dnull> http://plnkr.co/edit/LlnxID8CwpY5YM8zSdsX?p=catalogue
[01:40:29] <dnull> unified012 : unified012
[01:40:29] *** pikapp has quit IRC
[01:40:42] *** anapitupulu has joined #angularjs
[01:40:43] <derickf> I have a function myFunction() that is called from ng-class on a hidden (ng-show) element, it complains about $scope.results being undefined when hidden, how can I avoid having to check this? http://pastebin.com/49DBt879
[01:40:44] <dnull> unified012: here http://plnkr.co/edit/LlnxID8CwpY5YM8zSdsX?p=catalogue
[01:40:48] *** rud has joined #angularjs
[01:41:22] *** larsam has joined #angularjs
[01:41:29] *** stirlingw has quit IRC
[01:41:34] *** mvovchak has joined #angularjs
[01:41:53] *** patrickarlt has quit IRC
[01:42:14] *** cads has joined #angularjs
[01:42:19] *** richiebkr has quit IRC
[01:42:31] <unified012> it looks like you're doing it right, what happens when you try that?
[01:42:33] *** krawek has quit IRC
[01:42:45] *** bbankes has quit IRC
[01:42:45] <wafflej0ck> orderBy works on arrays not objects
[01:42:51] *** Nizumzen has quit IRC
[01:43:01] <wafflej0ck> dnull: can you show you JSON data somewhere in the plunkr?
[01:43:03] *** ChadStrat has quit IRC
[01:43:08] <unified012> are we ordering an array?
[01:43:09] *** SeeThruH1 has joined #angularjs
[01:43:14] <unified012> that's what i assumed
[01:43:22] *** jonathanpglick has quit IRC
[01:43:42] <BackEndCoder> wow having that 0 in your names in the same place really fucks me up
[01:44:02] *** nycdevgirl has quit IRC
[01:44:12] <unified012> haha i actually just made that name uo
[01:44:14] <unified012> up*
[01:44:23] <derickf> BackEndCoder, its good for sorting though
[01:44:31] <BackEndCoder> :D
[01:44:47] <dnull> wafflej0ck unified012 outcome is array
[01:44:51] *** jonathanpglick has joined #angularjs
[01:45:00] *** subr0utine has joined #angularjs
[01:45:12] *** mvovchak has quit IRC
[01:45:21] *** ctanga has joined #angularjs
[01:45:22] *** stirlingw has joined #angularjs
[01:45:27] <wafflej0ck> dnull: if winplace.outcome is an array of objects and each object has a property place then it should be sorted by that property do you get anything in the console?
[01:45:48] *** Fishy has joined #angularjs
[01:45:50] *** mvovchak has joined #angularjs
[01:45:59] <unified012> is the property named place or @place? i've never seen it with the @ before
[01:46:28] <dnull> wafflej0ck unified012 I do not get error. Property name is @place
[01:46:49] *** pikapp has joined #angularjs
[01:46:51] <dnull> unified012 but when i use sortBy: '@place' I error
[01:46:56] <unified012> huh
[01:47:06] <unified012> that's what i was going to suggest, but nvmd i guess
[01:47:20] *** cliluw has quit IRC
[01:47:24] <wafflej0ck> is @ allowed to be start character in a property? haven't seen that before that I can recall
[01:47:39] *** jonatha__ has joined #angularjs
[01:47:49] *** cliluw has joined #angularjs
[01:47:50] <unified012> you might try moving the value of that property to a differently named key in the controller
[01:48:16] <unified012> before you assign it to a scope variable
[01:48:17] <wafflej0ck> https://mothereff.in/js-variables
[01:48:20] *** ctanga has quit IRC
[01:48:24] <dnull> here is an error when i user @place https://imgur.com/XsE7FO6
[01:48:30] <wafflej0ck> I don't think that's a valid name
[01:48:50] <unified012> yeah, i think that's probably your issue
[01:48:54] *** pikapp has quit IRC
[01:49:11] *** pikapp has joined #angularjs
[01:49:17] *** jonathanpglick has quit IRC
[01:49:33] *** ProLoser has quit IRC
[01:49:35] *** stirlingw has quit IRC
[01:49:41] <dnull> wafflej0ck Its a json object
[01:50:08] *** marshall has joined #angularjs
[01:50:18] *** mvovchak has quit IRC
[01:51:09] <caitp> do you ever eat way too much, knowing full well that it's way too much for your body, but you eat it anyways and feel miserable after
[01:51:22] <caitp> don't you wish you knew better
[01:51:56] <wafflej0ck> dnull: yeah that's not a valid variable definition though if it gets JSON.parse(d) into an object it's not a valid property... looks like angular is complaining about finding the @
[01:52:14] *** SeeThruH1 has quit IRC
[01:52:16] *** mjs2600 has joined #angularjs
[01:52:21] <dnull> wafflej0ck let me fix that
[01:52:26] *** mary5030 has joined #angularjs
[01:52:30] <wafflej0ck> dnull: Error: [$parse:lexerr] Lexer Error: Unexpected next character at columns 0-0 [@] in expression [@place].
[01:52:48] *** arkin has joined #angularjs
[01:52:52] <Foxandxss> caitp: I don't feel miserable, I just wake up (if it is dinner, which we take around 22:00) with stomachache :P
[01:53:06] <Foxandxss> and the thing is, I knew better
[01:53:09] <Foxandxss> but I can't resist
[01:53:46] <caitp> aw
[01:53:52] *** pikapp has quit IRC
[01:54:23] *** mdedetri_ has quit IRC
[01:54:23] *** krawek has joined #angularjs
[01:54:44] <unified012> i use coffeescript, but here's the gist of what you could do to fix it https://gist.github.com/unscsprt/e290d9412248eee326c6
[01:54:58] <Foxandxss> bed time (didn't eat that much!)
[01:55:01] <qdk> Whats a good source to make/improve/master building services/factories with backend database "fetching"/"syncing"?
[01:55:02] *** Foxandxss has quit IRC
[01:55:17] <qdk> source as in information/documentation/guides whatever.
[01:55:30] <caitp> inbox.js does some of that
[01:55:41] <caitp> i dunno how good the code is anymore though, haven't worked on it in a few months
[01:55:56] *** tkimmel has quit IRC
[01:56:10] <dnull> wafflej0ck unified012 fixed you right
[01:56:24] <unified012> dnull; changing the name fixed it?
[01:56:25] *** elrabin has quit IRC
[01:56:26] <wafflej0ck> dnull: cool good to know
[01:56:32] <dnull> wafflej0ck yes
[01:56:43] <dnull> wafflej0ck unified012 Thanks
[01:56:49] <wafflej0ck> np
[01:56:53] *** mary5030 has quit IRC
[01:57:09] <unified012> dnull; cool, you have to be carefull when you get data from a backend, you never know what it'll do haha
[01:57:23] *** arkin has quit IRC
[01:57:28] <unified012> and thank you for teaching me something new!
[01:57:48] *** Guest59 has quit IRC
[01:57:53] <dnull> unified012 hahaha agree
[01:58:09] *** brezel has quit IRC
[01:58:21] *** tfennelly has joined #angularjs
[01:58:21] *** kakashiA1 has quit IRC
[01:58:25] <wafflej0ck> qdk: https://gist.github.com/jelbourn/6276338 this may be helpful also general big list of resources here https://github.com/jmcunningham/AngularJS-Learning
[01:58:54] <mystronyx> I have an h1 that goes above each song in my ng-repeat. With the search filter, if someone gets zero results, I want it to also hide the h1. Right now, the search filter simply returns zero songs by still shows the h1. Any suggestions?
[01:59:04] *** cacts|wtf has quit IRC
[01:59:05] *** apertoire has joined #angularjs
[01:59:16] *** knownasilya has quit IRC
[01:59:31] *** brezel has joined #angularjs
[01:59:36] <wafflej0ck> mystronyx: need to see some of the code, pastebin or plunkr or something
[01:59:44] <mystronyx> wafflej0ck ok
[01:59:47] *** elrabin has joined #angularjs
[01:59:49] *** jaaames has quit IRC
[02:00:00] *** facundor has quit IRC
[02:00:05] <qdk> wafflej0ck: Thanks, I'll check it out.
[02:00:08] *** pikapp has joined #angularjs
[02:00:34] *** derickf has quit IRC
[02:00:54] <mystronyx> wafflej0ck I should clarify that when I said h1, I meant the album title div. http://pastebin.com/690V7xWC
[02:01:07] <unified012> mystronyx: add 'ng-hide="<name_of_search_results>.length <= 0" as a new attribute to the h1 element
[02:01:10] *** nesquerra has joined #angularjs
[02:01:11] *** derickf has joined #angularjs
[02:01:31] *** nya has quit IRC
[02:01:38] <unified012> that'll hide it when there aren't any results
[02:01:39] *** junmin has quit IRC
[02:01:41] *** icfantv has quit IRC
[02:01:44] <mystronyx> unified01d trying now
[02:01:51] <mystronyx> unified012 *
[02:01:59] <wafflej0ck> yeah that should work
[02:02:00] *** ASUChander has quit IRC
[02:02:04] *** facundor has joined #angularjs
[02:02:12] <wafflej0ck> I see what you're saying so you have songs that filter and if all are empty the album should hide too
[02:02:33] *** pikapp has quit IRC
[02:02:35] <wafflej0ck> ng-repeat="filteredSongs = (song in album.songs | filter:search)" id="[['song_' + song.id]]"
[02:02:40] *** gnrlbzik has joined #angularjs
[02:02:49] *** tfennelly has quit IRC
[02:02:55] <wafflej0ck> then use ng-show="filteredSongs.length>0"
[02:03:08] <unified012> ^ what waffle said
[02:03:13] *** Rickards has joined #angularjs
[02:03:18] *** grantfunke_ has quit IRC
[02:03:20] <wafflej0ck> what you said but more directly :)
[02:03:23] <Rickards> Hi
[02:03:24] *** pikapp has joined #angularjs
[02:03:27] <unified012> haha that works
[02:03:38] *** monir has joined #angularjs
[02:03:54] <unified012> i'm still trying to learn the "direct" approach to a lot of angular features
[02:04:10] *** kuadrosx_ has joined #angularjs
[02:04:19] <wafflej0ck> unified012: yeah lots of things there are still a few good ways to do it and depends on the scenario what's best
[02:04:25] *** mrw_ has joined #angularjs
[02:04:36] <unified012> waffle: very good point
[02:04:42] <Rickards> Anybody knows how can I handle multiples responses from a simple AJAX request ?
[02:04:54] *** atomi has joined #angularjs
[02:05:04] <wafflej0ck> Rickards: I don't think that can happen can it?
[02:05:14] <unified012> rickards: you mean multiple objects included in a single response?
[02:05:31] <unified012> like an array of objects?
[02:05:33] *** vassagus has quit IRC
[02:06:03] <Rickards> well on the problem I am trying to solve it say : Once you've made the request the server will feed you information each seconds for 10 sec
[02:06:23] <wafflej0ck> yeah either what unified012 said or else your dealing with an open socket connection to transmit data or you are polling an AJAX point
[02:06:46] <unified012> yeah, you'll probably have to handle each of those responses independently
[02:06:47] <Rickards> ok
[02:06:52] <wafflej0ck> yup
[02:07:06] <Rickards> Any ideal how ^
[02:07:07] *** dearburian has joined #angularjs
[02:07:10] <wafflej0ck> would probably pass a unique ID with each from the client so you can keep them sorted when you get the responses
[02:07:10] *** kuadrosx has quit IRC
[02:07:19] *** gnrlbzik has quit IRC
[02:07:23] *** patrick99e99 has quit IRC
[02:07:23] <mystronyx> wafflej0ck I'm getting an error when I add a name to the ng-repeat, like this: ng-repeat="filteredSongs = (song in album.songs | filter:search)"
[02:07:23] *** tfennelly has joined #angularjs
[02:07:25] <wafflej0ck> you can use setInterval
[02:07:26] *** ProLoser has joined #angularjs
[02:07:31] <unified012> ^ that, and i've never had to deal with something like that before haha
[02:07:46] <mystronyx> this is error: Error: [ngRepeat:iidexp] '_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got
[02:07:48] <ProLoser> hey
[02:07:51] <ProLoser> hey brian
[02:07:54] <wafflej0ck> mystronyx: one sec lemme check the syntax
[02:07:58] <mystronyx> wafflej0ck ok
[02:08:05] *** mdedetrich has joined #angularjs
[02:08:07] <Rickards> ok, ill take a look at setInterval
[02:08:30] <unified012> mystronyx: what'd it get?! haha
[02:08:32] *** anivemin has joined #angularjs
[02:08:33] *** opiates has quit IRC
[02:08:34] <wafflej0ck> mystronyx: oh hmm might be new syntax try like friend in friends | filter:q as results
[02:08:38] <wafflej0ck> https://docs.angularjs.org/api/ng/directive/ngRepeat
[02:08:40] *** krawek has quit IRC
[02:09:03] *** dtrott has joined #angularjs
[02:09:20] *** TheAceOfHearts has quit IRC
[02:09:27] *** gnrlbzik has joined #angularjs
[02:09:31] *** warcuy has quit IRC
[02:09:39] <mystronyx> unified012 it got the line I'm using instead. wafflej0ck trying now
[02:10:14] *** Rejected has quit IRC
[02:10:16] *** warcuy has joined #angularjs
[02:10:45] *** diegoaguilar has quit IRC
[02:11:06] *** derickf has quit IRC
[02:11:09] *** dhcar is now known as dhcar_AFK
[02:11:16] *** warcuy has quit IRC
[02:11:39] *** anwari333 has joined #angularjs
[02:11:42] *** tfennelly has quit IRC
[02:12:38] *** jsheely has quit IRC
[02:12:40] *** mdedetrich has quit IRC
[02:13:00] <unified012> mystronyx waffle, any luck with that?
[02:13:06] *** Rickards has quit IRC
[02:13:18] <mystronyx> unified012 I'm getting a new error. Checking to see if I messed something up before I pastebin it.
[02:13:27] <unified012> kk
[02:13:43] *** anivemin has quit IRC
[02:13:50] <mystronyx> It's saying the "as filteredSongs" after filter:search is unexpected
[02:13:51] *** Reskp has joined #angularjs
[02:14:00] *** motionman has joined #angularjs
[02:14:04] <mystronyx> ng-repeat="song in album.songs | filter:search as filteredSongs"
[02:14:06] *** krawek has joined #angularjs
[02:14:08] <unified012> paste the whole new error?
[02:14:12] *** pikapp has quit IRC
[02:14:29] <wafflej0ck> mystronyx: what version of angular are you using in particular too?
[02:14:38] <unified012> that's weird though, idk why it'd say that
[02:14:54] *** nesquerra has quit IRC
[02:15:01] <wafflej0ck> well this is something that has changed between versions also the syntax here is finicky
[02:15:10] *** elrabin has quit IRC
[02:15:17] <mystronyx> wafflej0ck 1.2.26
[02:15:29] <unified012> aren't we at 1.4 now?
[02:15:34] *** drej has quit IRC
[02:15:38] <unified012> update angular ha
[02:15:45] *** discgo_ has joined #angularjs
[02:15:47] <unified012> that might be the issue
[02:16:33] <unified012> don't remember the specifics, but outdated version was causing me some problem a couple days ago
[02:16:38] <mystronyx> oh it's old? weird
[02:16:44] <mystronyx> I downloaded angular a month or so ago
[02:16:46] <wafflej0ck> no not old
[02:16:48] <wafflej0ck> not really old
[02:16:53] <wafflej0ck> 1.3 is fairly new still
[02:16:56] *** nemothekid has quit IRC
[02:17:02] <mystronyx> ok. Because here's the error: http://pastebin.com/mAY9i4JC
[02:17:05] *** michaelfavia has quit IRC
[02:17:05] <progrock> I am so happy, going from 1.2.* to 1.3.1 fixed the sticky classes I have had occur too many times.
[02:17:07] <mystronyx> I'll try with a 1.4
[02:17:17] *** zwacky has quit IRC
[02:17:19] <wafflej0ck> 1.3, no 1.4 I know of yet if so it's very early days
[02:17:22] *** nya has joined #angularjs
[02:17:44] *** dtrott has quit IRC
[02:17:45] *** Fire-Dragon-DoL has quit IRC
[02:17:53] *** Reskp has quit IRC
[02:17:59] *** mdedetrich has joined #angularjs
[02:18:01] <progrock> not even sure if there will be a 1.4?... looks like 2.0 may come after 1.3... but I might be wrong
[02:18:12] <unified012> i use bower, and i just set it to latest haha
[02:18:16] <unified012> may be 1.3
[02:18:25] <unified012> i'll check what i normally use now
[02:18:29] *** nemothekid has joined #angularjs
[02:18:33] <wafflej0ck> yeah should be 1.3 I think for latest right now
[02:18:41] *** the-anconia has joined #angularjs
[02:18:47] *** AciD`` has quit IRC
[02:18:55] <unified012> maybe i'm thinking of something else, probably
[02:19:02] <wafflej0ck> mystronyx: but yeah I do see the problems you have in 1.2.26 still poking at it a bit here
[02:19:26] <the-anconia> I’m calling a service method and assigning it to $scope but it’s not displaying in my view. Any ideas?
[02:19:37] <wafflej0ck> mystronyx: ah found it
[02:19:42] *** artisangoose has quit IRC
[02:20:00] <mystronyx> wafflej0ck what'd you find?
[02:20:06] <mystronyx> I'm installing 1.3 now
[02:20:06] <unified012> waffle, yep i'm 1.3
[02:20:14] *** snurfery has joined #angularjs
[02:20:26] *** sirkitree is now known as sirkitree|afk
[02:20:29] <wafflej0ck> mystronyx: 1.3 will work for the as syntax
[02:20:31] <wafflej0ck> mystronyx: http://stackoverflow.com/questions/15316363/angularjs-how-to-display-length-of-filtered-data
[02:20:40] <wafflej0ck> mystronyx: the answer with 172 upvotes has the old way
[02:20:49] <wafflej0ck> person in filtered = (data | filter: query)
[02:21:15] *** Shai-Tan has quit IRC
[02:21:35] *** numenor has joined #angularjs
[02:21:57] <mystronyx> looks like I'll have to change a little bit of code to work with 1.3.
[02:22:16] <wafflej0ck> mystronyx: yeah good to look at breaking changes in the changelog
[02:22:32] <mystronyx> wafflej0ck yeah
[02:22:38] <mystronyx> I'll let you know after if this works
[02:23:16] *** mrw_ has quit IRC
[02:23:20] <numenor> I would like to minify my angular js project, I have written all the js as per the recommened ways, But which tool should I use to minify the js files ? I havent used gulp/grunt , I have made the folders manually.
[02:23:23] <wafflej0ck> mystronyx: yeah should be good I just always forget that syntax
[02:23:42] <wafflej0ck> numenor: either works gulp seems easier if you don't use either yet
[02:24:04] <wafflej0ck> numenor: grunt has a little more history but it's irrelevant at this point
[02:24:16] *** discgo has quit IRC
[02:24:17] *** discgo_ is now known as discgo
[02:24:35] <numenor> Ok.. does gulp force a particular folder structure ?
[02:24:43] *** mdedetrich has quit IRC
[02:24:48] *** cohitre has quit IRC
[02:24:58] <wafflej0ck> I use grunt personally but my guess is it's the same as grunt in that regard and no it just has configuration
[02:24:59] <unified012> numenor i always use grunt, but this might help http://stackoverflow.com/questions/13713273/how-to-concatenate-and-minify-multiple-css-and-javascript-files-with-grunt-js
[02:25:16] <unified012> check out the first answer
[02:25:23] *** jbeaudry has quit IRC
[02:25:27] <numenor> unified012 , Sure , I am looking at it now
[02:26:08] <unified012> numenor, another thing to point out, i only write coffeescript, so that might differ from what i'm used to
[02:26:19] *** oktapodi has joined #angularjs
[02:26:26] <numenor> <unified012> ,Ok
[02:26:28] <wafflej0ck> numenor: basically grunt has configuration files that specify the source and destination for the data processing, whereas in gulp the approach is to pipe the data through a bunch of processors from some source to some ultimate destination but the file is just modified along the way instead of written to disk
[02:26:30] *** Shai-Tan has joined #angularjs
[02:27:04] <wafflej0ck> and grunt ends up being a big somewhat confusing config file
[02:27:17] <unified012> waffle so THAT's why people use gulp haha
[02:27:30] <unified012> i started with grunt and haven't looked elsewhere
[02:27:32] <wafflej0ck> heh yeah it is a better approach but I haven't transitioned my stuff yet
[02:27:49] *** xeoncross has quit IRC
[02:27:52] <numenor> Just to let know, I tried this yesterday : https://github.com/dreamerslab/node.packer
[02:28:07] *** ProLoser has quit IRC
[02:28:24] <numenor> It worked fine for merging the js files, But If i enabled the uglify option, All the variable name changed.
[02:28:34] <wafflej0ck> numenor: that's typical in minification
[02:28:41] *** mdedetrich has joined #angularjs
[02:28:45] <numenor> So will grunt / gulp take care of that ?
[02:28:45] <wafflej0ck> numenor: one sec... got a link for you... a few
[02:28:56] <numenor> wafflej0ck, Sure
[02:29:06] <unified012> num, that's what uglify does, makes things non-human readable but makes them smaller for the browser to read
[02:29:18] *** psi_ has joined #angularjs
[02:29:34] <numenor> unified012 , Yes , true.
[02:29:36] <wafflej0ck> numenor: this plugin will make your angular code minsafe so the important variables used for injection get string equivalents provided automatically https://www.npmjs.org/package/grunt-ng-annotate
[02:29:53] *** brandon__ has joined #angularjs
[02:29:54] <wafflej0ck> numenor: see a note on minificaiton on this page https://docs.angularjs.org/tutorial/step_05
[02:29:58] <numenor> wafflej0ck , Ok.. Looking at it.
[02:30:25] <brandon__> hello! anyone using 1.3.1 and doing unit tests with html5 mode enabled?
[02:30:48] <wafflej0ck> numenor: basically angular has an alternate syntax for injectables where you use an array and provide string versions so when the params get minified it can still figure out what to inject and in what order
[02:30:50] *** walbert has left #angularjs
[02:30:54] *** {DV8} has joined #angularjs
[02:30:56] *** walbert has joined #angularjs
[02:31:21] <numenor> wafflej0ck Yes, I have taken care to use inline annotation and wrap js files in anonimous fucts.
[02:31:27] *** oktapodi has quit IRC
[02:32:08] <numenor> wafflej0ck, I will have a look at ng-annotate
[02:32:10] <wafflej0ck> numenor: ah okay well if you wrote your own annotations with the string versions of the injectable params then you shouldn't even need ngAnnotate
[02:32:17] <wafflej0ck> numenor: it will just do that for you
[02:32:25] <numenor> wafflej0ck , Oh ok
[02:32:36] *** Siecje has joined #angularjs
[02:32:41] <unified012> brb
[02:33:00] *** Psi|4ward has quit IRC
[02:33:07] *** araujo has quit IRC
[02:33:10] <wafflej0ck> numenor: it's probably easiest to just start with the Yeoman angular-generator Gruntfile.js and strip things out you don't need really
[02:33:17] *** ccohn has quit IRC
[02:33:36] <wafflej0ck> do you have Yeoman installed? if not I assume you have npm/node installed?
[02:33:51] *** Nijikokun has quit IRC
[02:33:51] *** ccohn has joined #angularjs
[02:34:04] *** Nijikokun has joined #angularjs
[02:34:14] <numenor> wafflej0ck , true, but I get overwhelmed by so many tools.
[02:34:26] <numenor> wafflej0ck, Still I will have a look
[02:34:46] <numenor> wafflej0ck, Yes, I do have yeoman installed
[02:34:59] *** roachiepoopoo has quit IRC
[02:35:04] <numenor> wafflej0ck, and yes, node / npm is installed
[02:35:23] *** shinnya has quit IRC
[02:35:27] <wafflej0ck> numenor: yeah I mean the thing is the angular generator has everything setup for running tests and for running the server and watching for changes and autorefreshing the browser which is all nice to have too
[02:35:32] <brandon__> I am having trouble with angular 1.3.1 and html5 mode. Even with a simple, none $location related unit test, I get "Error: [$location:nobase] http://errors.angularjs.org/1.3.1/$location/nobase", and I have a base tag with the href set :(
[02:35:56] <brandon__> app works fine, it is only in unit tests
[02:35:56] <wafflej0ck> numenor: I typically take out "rev" and a few other things that I don't really benefit from but lots of parts already configured make it easier than starting from scratch
[02:35:59] <numenor> wafflej0ck, So, you suggest yeoman
[02:36:24] *** jonatha__ has quit IRC
[02:36:33] <wafflej0ck> numenor: yeah for now just get the yeoman angular-generator installed, should be something like, npm install -g generator-angular
[02:36:41] <numenor> wafflej0ck , yes
[02:36:57] *** monir has quit IRC
[02:37:00] <wafflej0ck> numenor: then in a new directory in your /var/www somewhere you can do, yo angular
[02:37:15] *** marr has quit IRC
[02:37:18] *** Zren has joined #angularjs
[02:37:39] <wafflej0ck> and can just accept the defaults on the prompts (personally I prefer using LESS over SASS so would take that out, also if you just want regular CSS would take that out)
[02:37:40] *** Shadeness has quit IRC
[02:37:43] *** tsalb has quit IRC
[02:38:01] <wafflej0ck> after it gets done do, npm install && bower install
[02:38:17] *** ccohn has quit IRC
[02:38:20] *** numenor has quit IRC
[02:38:33] *** ctanga has joined #angularjs
[02:38:44] *** numenor has joined #angularjs
[02:38:45] <unified012> don't forget to do 'bower-install'
[02:38:46] *** iffraff has joined #angularjs
[02:38:46] <wafflej0ck> and try out, grunt serve, grunt build, grunt test (ctrl+c to exit each after testing them out)
[02:39:07] <numenor> unified012 , Bower too ? Ok
[02:39:21] <numenor> wafflej0ck .. and grunt
[02:39:39] *** mven has quit IRC
[02:39:41] <unified012> bower install & bower-install
[02:39:58] <unified012> for some reason, they're separate commands
[02:40:03] <iffraff> Hi, I'm using resource to pull a collection of items from node. When I look at the json response it's an array of annonymous objects. However, it seems that something after that is nameing each of the objects
[02:40:06] *** anwari333 has quit IRC
[02:40:11] *** cacts has joined #angularjs
[02:40:16] <numenor> Oh... I will need a walkthorugh first, I will search on google..
[02:40:27] <iffraff> so this is in the payload
[02:40:28] <iffraff> [{"ArchivedDate":"0001-01-01T00:00:00.000Z","ArchiveDate":"2014-11-07T01:36:23.092Z","Archived":false,"Phone":null,"EmailAddress":"asdf at asdf dot asdf","LastName":"asdf","FirstName":"asdf","Id":""},{"ArchivedDate":"0001-01-01T00:00:00.000Z","ArchiveDate":"2014-11-07T01:36:23.093Z","Archived":false,"Phone":null,"EmailAddress":"asdf@asdf.asdf","LastName":"asdf","FirstName":"asdf","Id":""}]
[02:40:30] *** SonikBoom has quit IRC
[02:40:46] <wafflej0ck> numenor: I did one here you can jump to near the end see the description for jump points https://www.youtube.com/watch?v=zQNbsCTFrAA
[02:41:04] <iffraff> this is what's in the debugger
[02:41:04] <iffraff> [Resource { ArchivedDate="0001-01-01T00:00:00.000Z", ArchiveDate="2014-11-07T01:40:26.679Z", Archived=false, more...}, Resource { ArchivedDate="0001-01-01T00:00:00.000Z", ArchiveDate="2014-11-07T01:40:26.680Z", Archived=false, more...}]
[02:41:05] <numenor> wafflej0ck, Wow
[02:41:39] <mystronyx> wafflej0ck, unified012, it works now. thanks for the help
[02:41:49] <numenor> wafflej0ck , unified012 .. Thank You !!! Got enough info to start with .
[02:41:49] <wafflej0ck> mystronyx: cool
[02:42:20] <unified012> yep, np!
[02:42:26] <numenor> wafflej0ck , unified012 .. by the way, You guy are helpful and great !!
[02:42:35] *** gunn has quit IRC
[02:42:38] *** rburns has joined #angularjs
[02:42:50] <wafflej0ck> np got a lot of help here too and still do
[02:43:01] <unified012> that's why i joined the channel, i just want to help the community haha
[02:43:10] *** discgo_ has joined #angularjs
[02:43:24] <numenor> unified012 .. nice..
[02:43:26] *** robdubya has quit IRC
[02:43:41] *** motionman has quit IRC
[02:43:47] <brandon__> anyone running into html5 base href issues with unit tests? I'm the only one, ha?
[02:43:53] *** roachiepoopoo has joined #angularjs
[02:44:17] *** levity_island has quit IRC
[02:44:21] <unified012> i really do believe in everyone helping the community to adavance
[02:44:37] <wafflej0ck> brandon__: yeah so your queries earlier not sure what effect that would have?
[02:44:38] <unified012> i don't do unit tests atm haha
[02:45:07] <wafflej0ck> brandon__: I don't see why the HTML would be part of it at all actually?
[02:45:14] *** fedenunez has quit IRC
[02:45:40] *** Zren has quit IRC
[02:45:43] <brandon__> me either, I am still debugging, but I think the angular mock $location doesn't have a default set or something
[02:46:16] *** opiates has joined #angularjs
[02:46:33] *** mary5030 has joined #angularjs
[02:46:41] <wafflej0ck> brandon__: yeah might be something to do with $location or something but it won't be using your base href from the index.html... perhaps you need to do something to set that for the test environment though I haven't done much with html5mode only recently started playing with it
[02:47:03] *** dannyc has joined #angularjs
[02:48:34] <brandon__> i viewed source when karma was running in chrome and it didn't have a base tag at all (which make sense, as your right that it isn't my index template it is loading up)
[02:48:47] *** pikapp has joined #angularjs
[02:48:57] *** nairys has quit IRC
[02:49:24] *** derickf has joined #angularjs
[02:49:33] *** mclenithan has quit IRC
[02:49:43] *** glaksmono has joined #angularjs
[02:49:56] <wafflej0ck> brandon__: yeah nothing jumping out at me here https://docs.angularjs.org/guide/$location
[02:50:27] *** pants_ has quit IRC
[02:50:48] <brandon__> https://github.com/angular/angular.js/issues/8866 -- this looks relevant, but also looks like it wasclosed
[02:50:55] *** derickf has quit IRC
[02:51:03] <brandon__> i double checked and angular / angular mocks are the same version (both 1.3.1)
[02:51:14] *** soj has quit IRC
[02:51:21] *** dannyc has quit IRC
[02:51:29] *** krawek has quit IRC
[02:51:43] *** Shadeness has joined #angularjs
[02:52:41] *** derickf has joined #angularjs
[02:53:44] *** tfennelly has joined #angularjs
[02:54:43] *** motionman has joined #angularjs
[02:55:44] *** devinandrews has joined #angularjs
[02:56:11] <jaydubya> $http or Restangular???
[02:56:17] *** cs44 has quit IRC
[02:56:49] *** gnrlbzik has quit IRC
[02:56:58] *** nesquerra has joined #angularjs
[02:57:00] *** kalz has quit IRC
[02:57:13] *** Reskp has joined #angularjs
[02:57:15] *** ctanga has quit IRC
[02:57:25] <wafflej0ck> brandon__: well that fix is in 1.3.1
[02:57:34] <brandon__> that is what I figured
[02:57:52] *** nycdevgirl has joined #angularjs
[02:57:53] *** tfennelly has quit IRC
[02:58:40] <wafflej0ck> brandon__: to be sure you can search your angular-mocks.js for self.$$baseHref = '/';
[02:58:52] <brandon__> will do that now
[02:59:10] <brandon__> yup, it's there
[02:59:12] *** SirFunk has left #angularjs
[02:59:24] <wafflej0ck> brandon__: k would probably try grepping the source for the error maybe at this point
[03:00:31] *** bpmj has quit IRC
[03:00:38] <wafflej0ck> brandon__: could also try what's suggested on the error page :)
[03:00:38] <wafflej0ck> $locationProvider.html5Mode({
[03:00:38] <wafflej0ck> enabled: true,
[03:00:38] <wafflej0ck> requireBase: false
[03:00:38] <wafflej0ck> });
[03:00:51] <brandon__> I saw that, but it says it could introduce IE9 issues
[03:01:06] <brandon__> it does work for sure when I do that though, but I wanted to save that as a last resort
[03:01:32] *** elrabin has joined #angularjs
[03:01:37] *** Reskp has quit IRC
[03:01:56] *** d10n-work has quit IRC
[03:02:23] *** jareddlc has quit IRC
[03:02:48] *** derickf has quit IRC
[03:05:46] *** codeman has quit IRC
[03:06:18] *** L42y has joined #angularjs
[03:06:58] <wafflej0ck> jaydubya: if you're working with a RESTful API you probably want Restangular (or $resource which I use a fair amount, but can be a bit confusing) if you are not interacting with a REST API then you'd want $http most likely
[03:07:01] <iffraff> does anyone have experience with $resource?
[03:07:06] <wafflej0ck> yes
[03:07:25] *** conan_the_destro has quit IRC
[03:07:31] <iffraff> it seems to be naming the objects that are returned in an array
[03:07:48] <iffraff> I posted some json above, I can repost
[03:08:26] <wafflej0ck> iffraff: better in a pastebin or plunkr
[03:08:35] *** mven has joined #angularjs
[03:08:40] <iffraff> ok let me get one
[03:09:19] *** Guest67759 has quit IRC
[03:10:00] <wafflej0ck> think I'm gonna make a grilled cheese sandwich and play some robocraft for a bit in a minute here
[03:10:19] <wafflej0ck> mmm grilled cheese and war
[03:11:30] *** annlewis has quit IRC
[03:11:31] *** bbankes has joined #angularjs
[03:12:16] *** kalz has joined #angularjs
[03:12:29] <iffraff> ok I think this is it http://pastebin.com/7bC2pwKc
[03:12:31] <dsdeiz> hey all anyone using html5mode? why is it that if i put $scope.$on('$routeChangeStart', function (event, current) { ... }); current and event are 'undefined' on the first call if i entered the url localhost/route
[03:15:02] *** patrick99e99 has joined #angularjs
[03:15:19] *** junmin has joined #angularjs
[03:15:24] *** pikapp has quit IRC
[03:15:47] <dsdeiz> actually is ngRoute still used? or is it recommended to use ui-router?
[03:16:06] *** Guest59_ has joined #angularjs
[03:16:15] *** platonic has joined #angularjs
[03:16:18] <Grokling> dsdeiz: yes, and yes.
[03:16:18] <wafflej0ck> dsdeiz: you can use either most people here use ui-router though
[03:16:20] <caitp> different people will recommend different things
[03:16:48] <dsdeiz> what if i used the ngRoute? does html5mode still work?
[03:16:53] *** skeletr0n has quit IRC
[03:17:13] *** elrabin has quit IRC
[03:17:14] <GreenJello> ngRoute is only sufficient for simple things
[03:17:41] *** dhcar_AFK is now known as dhcar
[03:18:13] <wafflej0ck> iffraff: what's being added here not enough explanation
[03:18:42] <wafflej0ck> dsdeiz: yes it will still work but for nested views or anything beyond pretty basic routing ui-router works out
[03:18:52] *** bzitzow has quit IRC
[03:19:12] *** bzitzow has joined #angularjs
[03:19:22] *** plexiv has quit IRC
[03:19:35] <iffraff> sorry, the first json is what's coming over the wire. it is an array of anonymous objects. the second json is what $resource is giving me. All the anonymous objects are now named Resource
[03:19:42] *** rho has quit IRC
[03:20:07] *** soj has joined #angularjs
[03:20:36] <iffraff> so when I debug and look what the promise returned I see an array of Resource objects.
[03:20:41] *** themime has joined #angularjs
[03:20:51] <iffraff> what I want is an array of anonymous objects
[03:20:58] *** platonic has quit IRC
[03:21:12] *** Sontakey has quit IRC
[03:21:36] *** plexiv has joined #angularjs
[03:21:44] *** Guest59_ has quit IRC
[03:21:46] <wafflej0ck> iffraff: ah okay gotcha so you're concerend with the data type it's showing
[03:21:56] <iffraff> yes
[03:22:00] <iffraff> I guess
[03:22:03] <wafflej0ck> iffraff: really this shouldn't effect anything it does this to add the $save and other methods to your objects
[03:22:53] <dsdeiz> yeah with html5mode routeChangeStart second argument is 'undefined'
[03:22:54] <iffraff> well I'm binding this array to grid.ui that's not working. I'm suspecting/accusing $resource of being the culprit
[03:22:58] *** the-anconia has quit IRC
[03:23:00] <dsdeiz> any ideas how to get around this?
[03:23:40] *** bzitzow has quit IRC
[03:24:35] *** asher^ has quit IRC
[03:25:04] *** phuh_ has joined #angularjs
[03:25:19] *** phuh has quit IRC
[03:25:20] *** bayousoft has joined #angularjs
[03:25:34] *** nycdevgirl has quit IRC
[03:26:21] <wafflej0ck> iffraff: yeah most likely not a problem if you can show more of your code or show the problem in plunkr then it's typically easier for everyone else to test it out and help get it resolved but haven't had any problems with $resource and using the data with various directives
[03:27:16] *** frkout has joined #angularjs
[03:27:20] *** nycdevgirl has joined #angularjs
[03:27:24] *** anjumkaiser has joined #angularjs
[03:27:30] *** pen has quit IRC
[03:27:39] *** asher^ has joined #angularjs
[03:27:42] <iffraff> hmmm, well, ok I'll take your word for it. Seems like a fair amount of work to pull everything out into a plunkr. Not much experience with plunkr. But I may have to learn if this persists. Thanks for the help.
[03:27:59] <wafflej0ck> iffraff: see the irc topic for a link with angular setup in plunkr
[03:28:14] <wafflej0ck> iffraff: you'd just have to search to find the grid ui code you're using to get it in there somehow
[03:28:17] *** pen has joined #angularjs
[03:28:20] <wafflej0ck> CDN reference or otherwise
[03:28:28] <iffraff> oh, cool. thanks.
[03:28:29] *** patrick99e99 has quit IRC
[03:28:41] <wafflej0ck> yup np it makes getting help in the IRC easier on us all :)
[03:29:01] <iffraff> yea, I know I don't want to be a pain
[03:29:01] *** josh-k has quit IRC
[03:29:09] *** dimetron has quit IRC
[03:29:15] <wafflej0ck> $resource is a bit of a weird one to deal with in plunkr but sure if you google plunkr $resource you'll get some examples you can fork from
[03:29:31] *** josh-k has joined #angularjs
[03:29:34] <wafflej0ck> iffraff: no problem just sayin makes it easier to poke at and show the change
[03:29:42] *** alexw has quit IRC
[03:29:53] *** elrabin has joined #angularjs
[03:30:26] *** AlSquire has quit IRC
[03:31:02] *** niop2 has quit IRC
[03:31:50] *** discgo has quit IRC
[03:31:50] *** discgo_ is now known as discgo
[03:31:57] *** cannap has quit IRC
[03:32:01] *** RobinBAwesome has quit IRC
[03:32:33] <wafflej0ck> bbiab time to virtually shoot some stuff
[03:32:39] <Grokling> With factories, Instances, and indexeddb, aaaand a backend.. how do you manage with identity values? Guids are a bit naff as an overall solution, and if we're offline, we can't ask the api for an id for a new instance..
[03:33:09] *** SeeThruH1 has joined #angularjs
[03:33:52] *** josh-k has quit IRC
[03:35:01] *** ctanga has joined #angularjs
[03:35:39] *** Shai_Tan has joined #angularjs
[03:36:33] *** danflies has joined #angularjs
[03:36:41] *** junmin has quit IRC
[03:37:05] *** nemothekid has quit IRC
[03:37:35] *** nya has quit IRC
[03:37:37] *** grantfunke_ has joined #angularjs
[03:37:53] *** thirdknife has joined #angularjs
[03:37:57] *** gnrlbzik has joined #angularjs
[03:37:57] *** Shai-Tan has quit IRC
[03:38:36] *** phuh has joined #angularjs
[03:39:40] *** DoubleAW has quit IRC
[03:39:43] *** phuh_ has quit IRC
[03:40:06] *** rtpg has joined #angularjs
[03:40:16] *** coopaloop has joined #angularjs
[03:40:22] *** rtpg has quit IRC
[03:40:31] *** KernelCurry has quit IRC
[03:40:32] *** Soop has joined #angularjs
[03:40:36] *** rtpg has joined #angularjs
[03:40:56] *** mjs2600 has quit IRC
[03:41:25] *** nycdevgirl has quit IRC
[03:41:26] *** arkin has joined #angularjs
[03:41:36] *** bpmj has joined #angularjs
[03:41:46] <Soop> anyone around able to helpout with an ng-grid question
[03:43:43] *** ProLoser has joined #angularjs
[03:44:28] *** tkimmel has joined #angularjs
[03:45:55] *** frkout has quit IRC
[03:46:04] *** arkin has quit IRC
[03:46:18] *** thirdknife has quit IRC
[03:46:22] *** frkout has joined #angularjs
[03:47:08] *** phaggood has joined #angularjs
[03:47:36] *** motionman has quit IRC
[03:47:55] *** frkout has quit IRC
[03:48:27] *** frkout has joined #angularjs
[03:48:52] *** tkimmel has quit IRC
[03:49:17] *** bmac has joined #angularjs
[03:49:21] *** mogaj has joined #angularjs
[03:49:32] *** gnrlbzik has quit IRC
[03:50:46] *** deanclkclk has quit IRC
[03:50:51] *** knownasilya has joined #angularjs
[03:51:24] *** xavia has joined #angularjs
[03:51:47] *** nya has joined #angularjs
[03:52:14] *** nemothekid has joined #angularjs
[03:52:18] *** nya has quit IRC
[03:52:25] *** nya has joined #angularjs
[03:54:10] *** davek has quit IRC
[03:54:52] *** whunt has quit IRC
[03:55:27] <themime> Grokling: maybe give it a temporary one you can update after connection is made? is this for a mobile device?
[03:55:49] <themime> Grokling: otherwise it seems odd to me to create a new instance without contacting the server first
[03:56:30] <Grokling> Yeah - a mobile thing. Data entry/creation in the field means that we are creating a stack of new instances, and relations before we ever talk to the api.
[03:56:51] *** firelinks has quit IRC
[03:56:55] *** Soop has quit IRC
[03:57:19] *** anivemin has joined #angularjs
[03:57:20] <themime> Grokling: ive wondered the same thing myself, lucked out by them having a constant wifi connection haha. could create a few blank ones while connected, like a buffer
[03:57:37] *** tristanp has quit IRC
[03:57:45] <Grokling> Wondered about offsetting the api ids by 10,000 or so, and using lesser values internally, then like you say, re id-ing the instances when/as they get pushed to the api.
[03:57:47] <themime> might have to reserve them for that user for a period of time
[03:58:08] *** cacts|wtf has joined #angularjs
[03:58:09] *** Reskp has joined #angularjs
[03:58:24] <Grokling> guuids "solve" the problem, but they're hell on join performance.
[03:58:44] <themime> Grokling: something about that seems ...old school, like a hacky C kind of way haha. and yea i was going to suggest GUIDs too but we also don't use them for the same reason most of the time
[03:58:46] *** RobinBAwesome has joined #angularjs
[03:59:17] *** firelinks has joined #angularjs
[03:59:22] *** motionman has joined #angularjs
[04:00:03] <themime> like i'd rather have a separate field or something, add it as a fall back in your relations
[04:00:04] <Grokling> I wouldn't need ids at all if I wasn't caching the instances, but because there are many potential contexts in the app, I have to use caching.
[04:00:30] <themime> haha or negatives!
[04:00:31] *** Cache_Money has joined #angularjs
[04:00:49] *** numenor has quit IRC
[04:00:50] <Grokling> negative integer values.. there's a thought.
[04:00:57] *** cacts has quit IRC
[04:01:04] <themime> create the next ID but use a negative value. so if you had 1123 as your last instance, youd use -1124 and server side its an easy check
[04:01:14] <Grokling> Guaranteed not to conflict, and there's an unlimited supply of them.
[04:01:18] <themime> yep :D
[04:01:31] <themime> only issue i could see is if server side expects an unsigned int ID
[04:01:41] *** unified012 has quit IRC
[04:01:51] <themime> and fubars the data once it gets to your model or whatever. not sure how picky/high level your backend is
[04:01:53] *** anivemin has quit IRC
[04:02:35] <Grokling> The server side is relatively dumb.. I'd have to api-save the parent record, then update the local children with the new parent id, then save them.. etc. etc.
[04:02:44] *** wallerdev has quit IRC
[04:02:54] *** Reskp has quit IRC
[04:02:55] *** phuh has quit IRC
[04:02:56] <Grokling> Hairy, but doable.
[04:02:56] *** phuh_ has joined #angularjs
[04:03:06] *** stirlingw has joined #angularjs
[04:03:47] *** alexw has joined #angularjs
[04:03:58] <Grokling> Negative integers is my favorite solution so far.
[04:05:06] *** monir has joined #angularjs
[04:06:08] *** alexw has quit IRC
[04:06:31] *** junmin has joined #angularjs
[04:07:00] *** Typher has joined #angularjs
[04:07:05] *** tilgovi has quit IRC
[04:08:11] *** ProLoser has quit IRC
[04:09:00] *** woebtz has quit IRC
[04:09:01] *** mandric has quit IRC
[04:11:22] *** SeeThruH1 has quit IRC
[04:11:46] *** nycdevgirl has joined #angularjs
[04:11:51] *** subr0utine has quit IRC
[04:11:54] *** Typher has quit IRC
[04:12:16] *** ctanga has quit IRC
[04:12:35] <themime> god gulp+express so far is beating the shit out of sparkjava/java for backend. still digging mongodb through and through, thought id regret it by now
[04:12:47] <themime> i haven't even gotten anything to work yet but the potential is exciting
[04:13:26] *** dualz has quit IRC
[04:14:10] *** Aliks has quit IRC
[04:14:24] <Grokling> gulp is pretty epic. I thought grunt was magical, but...
[04:14:44] *** gunn has joined #angularjs
[04:15:57] *** optikalmouse has quit IRC
[04:16:17] *** loverajoel has joined #angularjs
[04:16:36] *** ProLoser has joined #angularjs
[04:17:03] *** bpmj has quit IRC
[04:19:21] *** Shai_Tan has quit IRC
[04:19:42] *** tilgovi has joined #angularjs
[04:19:51] *** subr0utine has joined #angularjs
[04:23:06] *** P1RATEZ has quit IRC
[04:23:35] *** Shai-Tan has joined #angularjs
[04:24:31] *** dunkelschub has joined #angularjs
[04:25:24] *** gazbond has quit IRC
[04:25:36] *** tilgovi has quit IRC
[04:25:46] *** LocusAsaf has quit IRC
[04:26:37] *** Hackwar has joined #angularjs
[04:26:43] *** cads has quit IRC
[04:29:27] *** niop has joined #angularjs
[04:29:48] *** Hackwar1 has quit IRC
[04:31:08] *** ngbot has joined #angularjs
[04:31:09] <ngbot> [angular.js] chirayuk pushed 2 new commits to master: http://git.io/dF6cqA
[04:31:09] <ngbot> angular.js/master e676d64 Chirayu Krishnappa: fix($parse): add quick check for Function constructor in fast path
[04:31:09] <ngbot> angular.js/master e057a9a Chirayu Krishnappa: fix($parse, events): prevent accidental misuse of properties on $event
[04:31:09] *** ngbot has left #angularjs
[04:32:20] *** josh-k has joined #angularjs
[04:32:28] *** danecando has joined #angularjs
[04:32:35] *** jeremymarc has joined #angularjs
[04:32:42] *** shampine has joined #angularjs
[04:32:48] <jeremymarc> how can I get response headers using ngResource?
[04:33:30] *** opiates has quit IRC
[04:33:32] *** shampine has quit IRC
[04:33:53] <asher^> from docs: Success callback is called with (value, responseHeaders) arguments. Error callback is called with (httpResponse) argument.
[04:34:05] *** _lexjm has joined #angularjs
[04:36:27] *** mmealling has quit IRC
[04:36:39] *** bayousoft has quit IRC
[04:36:54] *** nemothekid has quit IRC
[04:37:28] *** monir has quit IRC
[04:37:36] <jeremymarc> not for me :/
[04:38:57] *** discgo has quit IRC
[04:39:15] <dunkelschub> do you have an example?
[04:39:21] <jeremymarc> the second parameter, Im getting "function (c){a||(a=vc(b));return c?a[K(c)]||null:a} "
[04:40:27] *** dcherman has joined #angularjs
[04:41:24] *** mjs2600 has joined #angularjs
[04:41:37] <dunkelschub> can you switch in the debug version of angular.js?
[04:42:21] *** arkin has joined #angularjs
[04:43:13] *** tfennelly has joined #angularjs
[04:44:31] *** bmac has quit IRC
[04:45:58] *** mjs2600 has quit IRC
[04:47:13] *** shampine has joined #angularjs
[04:47:44] *** tfennelly has quit IRC
[04:48:33] *** arkin has quit IRC
[04:48:40] *** bpmj has joined #angularjs
[04:49:14] <themime> jeremymarc: you using success/failure or then() ? im not sure if then() has the extra arguments
[04:49:23] *** junmin has quit IRC
[04:49:39] *** davek has joined #angularjs
[04:49:40] *** DoubleAW has joined #angularjs
[04:49:40] <jeremymarc> ok thx I will try
[04:49:45] <themime> btw its actually success(function(data, status, headers, config)
[04:49:48] *** motionman has quit IRC
[04:49:56] *** davek has quit IRC
[04:49:56] *** davek has joined #angularjs
[04:49:58] <themime> so looks like its third argument
[04:49:58] *** davesidious__ has joined #angularjs
[04:50:07] <themime> https://docs.angularjs.org/api/ng/service/$http
[04:50:20] *** gnrlbzik has joined #angularjs
[04:50:45] *** motionman has joined #angularjs
[04:50:57] *** mmealling has joined #angularjs
[04:51:29] <Fifty5Plus> are there any ui-router discussion forums
[04:52:59] <Fifty5Plus> my layout has left and right panels, such that one or both can be present, in addition to main area ... so, would i have states for all the combinations or would i show/hide side panels as needed?
[04:53:19] *** MattWelch has quit IRC
[04:53:37] *** davesidious_ has quit IRC
[04:54:09] <dunkelschub> Are you worried about the extra bandwidth from loading that all at once or is it more how you're organizing the code issue?
[04:54:49] *** marcjs has quit IRC
[04:54:50] *** gnrlbzik has quit IRC
[04:55:10] *** aboudreault has quit IRC
[04:55:11] *** ome has joined #angularjs
[04:55:47] *** MattWelch has joined #angularjs
[04:56:33] <themime> id have one state for main area and panels and use ng-show - everything already in DOM so it's the fastest option
[04:56:54] <themime> well, main area and two named substates
[04:58:14] *** RobinBAwesome has quit IRC
[04:59:01] *** Reskp has joined #angularjs
[05:00:02] *** phuh has joined #angularjs
[05:00:15] *** kuadrosx_ has quit IRC
[05:00:18] *** ProLoser has quit IRC
[05:00:31] *** opiates has joined #angularjs
[05:00:42] *** Reskp_ has joined #angularjs
[05:01:00] *** loverajoel has quit IRC
[05:01:12] *** phuh_ has quit IRC
[05:01:18] *** Kosre_ has joined #angularjs
[05:01:32] *** ProLoser has joined #angularjs
[05:03:25] *** Reskp has quit IRC
[05:03:52] *** elrabin has quit IRC
[05:05:01] *** platonic has joined #angularjs
[05:05:17] *** Reskp_ has quit IRC
[05:05:59] *** Kosre_ has quit IRC
[05:07:39] *** josh-k has quit IRC
[05:08:19] *** pen has quit IRC
[05:09:36] *** marshall has quit IRC
[05:10:05] *** platonic has quit IRC
[05:10:13] *** diegoaguilar has joined #angularjs
[05:10:21] <dsdeiz> is it ok to use both ng-router and ui-router?
[05:10:30] *** hiptobecubic has quit IRC
[05:10:56] *** rtpg has quit IRC
[05:11:23] <Grokling> dsdeiz: Kinda confusing if you could.. Why would you keep ng-router hanging around if you were using ui-router?
[05:12:13] *** kirfu has joined #angularjs
[05:13:00] <dsdeiz> actually i was just wondering.. i'm currently using ngRouter and planning to use ui-router so i guess i'll need to update the rest of the usge for router
[05:13:09] <jeremymarc> I dont get it, the second parameter is still "function (c){a||(a=vc(b));return c?a[K(c)]||null:a}" and there is no third parameter
[05:13:16] *** doginal_ has joined #angularjs
[05:13:26] *** doginal has quit IRC
[05:13:26] *** doginal_ is now known as doginal
[05:13:45] <Grokling> dsdeiz: Just make the jump. You'll save yourself a lot of pain.
[05:13:54] <dsdeiz> Grokling: awesome, thx
[05:13:59] <themime> dsdeiz: i agree with Grokling youll never regret using ui-router
[05:15:08] *** Aliks has joined #angularjs
[05:15:09] *** rburns has quit IRC
[05:15:19] *** rburns has joined #angularjs
[05:16:06] *** slashroot_ has joined #angularjs
[05:16:38] *** warehouse13 has quit IRC
[05:17:06] *** ProLoser has quit IRC
[05:17:41] *** jeremymarc has quit IRC
[05:17:54] <BahamutWC|Laptop> dsdeiz: it’s a bad idea to use both at the same time - ui-router is much more powerful
[05:18:19] *** nycdevgirl has quit IRC
[05:18:27] *** doginal has quit IRC
[05:18:30] *** jMyles has quit IRC
[05:18:55] *** ProLoser has joined #angularjs
[05:18:58] *** jrvlima has joined #angularjs
[05:20:12] <Fifty5Plus> everyone, i am trying to understand how states are used and if each and every combination of hidden/shown areas should be a single state or if everything is just one state with show/hide being used
[05:20:12] *** chrisbirk has joined #angularjs
[05:20:16] *** michaelSharpe has joined #angularjs
[05:20:43] <dsdeiz> got it. thx!
[05:21:37] <Grokling> Fifty5Plus: Have a look at named views - many views, one state. (you are using ui-router I hope?)
[05:21:46] *** brandon__ has quit IRC
[05:23:22] *** kirfu has quit IRC
[05:23:48] *** numenor has joined #angularjs
[05:24:50] *** patrick99e99 has joined #angularjs
[05:26:49] *** slashroot__ has joined #angularjs
[05:27:33] *** asher^ has quit IRC
[05:27:39] *** michaelSharpe has quit IRC
[05:28:46] *** slashroot_ has quit IRC
[05:29:08] <Fifty5Plus> Grokling, yes i am using ui-router but am now not sure how to go about orchestrating visibility of all these named views
[05:29:51] <Grokling> Fifty5Plus: In your state definitions, you can hook templates to the named views, or not..
[05:29:53] *** patrick99e99 has quit IRC
[05:30:29] <Fifty5Plus> like view or hide left and/or right panel and/or footers in each panel ... are all those combinations different states or do i have a single state with bunch of show/view
[05:31:47] *** kp666 has quit IRC
[05:31:48] *** mtorres1624_ has quit IRC
[05:32:31] *** mtorres1624_ has joined #angularjs
[05:33:31] <themime> Fifty5Plus: what im doing right now is using ng-show on named views
[05:33:45] <themime> or ng-switch for more complex scenarios
[05:34:03] *** michaelSharpe has joined #angularjs
[05:34:04] <themime> but im not sure how i feel about the DOM manipulation but so far i haven't had any issues
[05:34:26] <themime> not too relevant right now though, check out ng-show and ui-view="content" type shiz
[05:34:27] *** LossFor has quit IRC
[05:36:08] *** mtorres1624_ has quit IRC
[05:36:27] *** mtorres1624_ has joined #angularjs
[05:37:25] *** michaelSharpe has quit IRC
[05:37:40] <mogaj> How to set column with enum type to accepts null as a value?
[05:37:41] <Fifty5Plus> i am using named views and in fact i have 9 html templates (head/body/foot in west/main/east panels) and was looking for best "ui-router-ish" way for orchestrating folding side panels and/or footers
[05:37:44] *** michaelSharpe has joined #angularjs
[05:38:40] *** bbankes has quit IRC
[05:39:05] <deweydb_> hey guys, is this the correct way to cancel a $timeout?
[05:39:05] <deweydb_> https://gist.github.com/deweydb/0b76b22ef34b6dff323a
[05:41:14] *** phaggood has quit IRC
[05:41:25] *** SeeThruH1 has joined #angularjs
[05:42:08] *** mary5030 has quit IRC
[05:42:23] *** caitp has quit IRC
[05:42:24] *** SeeThruH1 has quit IRC
[05:43:04] *** mven has quit IRC
[05:43:07] *** subr0utine has quit IRC
[05:43:46] *** asher^ has joined #angularjs
[05:43:51] *** eBureau has quit IRC
[05:44:18] *** jrvlima has quit IRC
[05:45:16] *** nesquerra has quit IRC
[05:46:02] *** anivemin has joined #angularjs
[05:46:02] *** rburns has quit IRC
[05:46:05] *** jaydubya has quit IRC
[05:46:20] *** rburns has joined #angularjs
[05:46:40] *** jaydubya has joined #angularjs
[05:46:41] *** cacts|wtf has quit IRC
[05:48:02] *** SeeThruHead has joined #angularjs
[05:48:35] *** nesquerra has joined #angularjs
[05:49:39] *** jeremymarc has joined #angularjs
[05:50:23] *** anivemin has quit IRC
[05:51:08] *** gnrlbzik has joined #angularjs
[05:51:08] *** jaydubya has quit IRC
[05:54:20] *** esk4nd4r has joined #angularjs
[05:54:37] *** esk4nd4r has quit IRC
[05:55:48] *** gnrlbzik has quit IRC
[05:57:07] *** amphetamines has joined #angularjs
[05:57:48] *** mtorres1624_ has quit IRC
[05:58:10] <mmealling> I have a JSON array where each item is a blob of HTML. I ng-repeat it like this: "<div ng-repeat="item in feed" ng-class="getClass($index)" ng-style="getStyle($index)">"
[05:58:24] *** michaelSharpe has quit IRC
[05:58:44] *** niop has quit IRC
[05:59:48] <mmealling> getClass() and getStyle mod $index with 10 to get a style and class that changes over 10 entries. getClass() returns a classname "classname1", "classname2", I.e. it appends $index % 10 to the classname.
[06:00:05] *** woah has joined #angularjs
[06:00:40] *** opiates has quit IRC
[06:00:53] <mmealling> getStyle() has a switch that, for each of the 10 values of $index % 10 creates a style attribute that positions the blob of HTML relative to the previously placed blobs.
[06:00:56] *** mtorres1624_ has joined #angularjs
[06:01:01] *** dhcar is now known as dhcar_AFK
[06:01:27] *** Reskp has joined #angularjs
[06:01:56] <mmealling> As soon as I load it I get "Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!" which suggests the HTML blob I'm using is causing $digest to freak out.
[06:02:01] *** Kosre has joined #angularjs
[06:03:47] *** lvegerano-home has quit IRC
[06:03:58] *** oktapodi has joined #angularjs
[06:04:40] *** monir has joined #angularjs
[06:04:45] *** LossFor has joined #angularjs
[06:04:46] *** Shai-Tan has quit IRC
[06:05:14] *** nesquerra has quit IRC
[06:05:24] *** boneskull has quit IRC
[06:05:57] *** Reskp has quit IRC
[06:06:05] *** Jae has joined #angularjs
[06:06:09] *** wd40s has quit IRC
[06:06:28] *** Kosre has quit IRC
[06:06:35] *** caitp has joined #angularjs
[06:07:28] *** dcherman has quit IRC
[06:07:32] *** boneskull has joined #angularjs
[06:08:06] *** jrvlima has joined #angularjs
[06:08:57] *** Una has joined #angularjs
[06:09:08] *** oktapodi has quit IRC
[06:09:15] *** niop has joined #angularjs
[06:10:18] *** danflies has quit IRC
[06:10:37] *** mtorres1624_ has quit IRC
[06:11:02] *** mtorres1624_ has joined #angularjs
[06:15:17] *** TommyO has quit IRC
[06:15:43] *** Skrypter_ has quit IRC
[06:16:00] *** marshall has joined #angularjs
[06:16:08] *** anderskristo has quit IRC
[06:16:10] *** syzygy_ has joined #angularjs
[06:16:41] *** rburns has quit IRC
[06:16:50] *** mtorres1624_ has quit IRC
[06:17:07] *** TommyO has joined #angularjs
[06:17:15] *** rburns has joined #angularjs
[06:17:23] *** Skrypter has joined #angularjs
[06:17:23] *** anderskristo has joined #angularjs
[06:17:58] *** threesixes has quit IRC
[06:18:22] <dllama> anyone here good with nginx?
[06:19:40] *** rtpg has joined #angularjs
[06:19:58] <Logicgate> dllama, yeah
[06:20:00] <Logicgate> What do you need
[06:20:32] <dllama> trying to redirect all :80 => www:443
[06:20:51] *** marshall has quit IRC
[06:21:10] <Logicgate> If somebody tries to access http://yourwebsite, you want it to do https://www.yourwebsite.com?
[06:21:10] *** dharmit has joined #angularjs
[06:21:23] <dllama> yea
[06:21:26] <dllama> 1 sec, i'll gist my conf
[06:21:29] <dllama> i'm getting a 500 error
[06:21:48] <Logicgate> okay
[06:22:44] *** caitp has quit IRC
[06:22:48] <dllama> https://gist.github.com/mvoloz/d215c73a7caf441df6c2
[06:23:46] <dllama> rewrite or internal redirection cycle while internally redirecting to "/index.html"
[06:23:52] *** niop has quit IRC
[06:24:16] <Logicgate> dllama, what does your error log say for the 500?
[06:24:27] <dllama> ^^^
[06:24:27] *** mtorres1624_ has joined #angularjs
[06:24:41] *** dannyc has joined #angularjs
[06:24:58] <Logicgate> you're redirecting ssl twice.
[06:25:12] <Logicgate> don't do that.
[06:25:24] *** nycdevgirl has joined #angularjs
[06:25:37] <dllama> i'm redirectin gthe non:443 www => www
[06:25:42] <dllama> that looks weird i see it
[06:25:55] <dllama> what i'm saying is, i'm redirecting non to www, but i'm doing that for 80 and 443
[06:26:05] <dllama> so like https://foo.com -> https://www.foo.com
[06:26:31] <Logicgate> dllama: http://pastebin.com/8qnPxfRk
[06:26:57] <dllama> going to try that 1 sec
[06:27:21] <dllama> for the server name, i put in the www and the non right?
[06:27:25] *** discgo has joined #angularjs
[06:27:35] <dllama> the port 80 server block
[06:28:13] *** trahma has joined #angularjs
[06:29:05] *** dannyc has quit IRC
[06:29:17] *** knownasilya has quit IRC
[06:30:38] *** {DV8} has quit IRC
[06:30:44] <dllama> Logicgate: still around?
[06:30:48] <dllama> seems to be same error
[06:31:52] <dllama> oooh, actually i think @ this point its user permission error
[06:31:55] <dllama> which is already better
[06:31:56] <trahma> I'm having a difficult time getting uigrid to work with my directive. I keep getting an error "Unknown provider: uiGridConstantsProvider <- uiGridConstants <- mrLibraryDirective". Can anyone spot out what I'm doing incorrectly? http://pastebin.com/rxJEku0d
[06:32:09] <dllama> truly hate setting up vsftp/nginx :(
[06:32:32] *** deanclkclk__ has quit IRC
[06:33:05] *** arkin has joined #angularjs
[06:33:46] *** joker666 has quit IRC
[06:34:16] *** dcherman has joined #angularjs
[06:35:39] *** ccohn has joined #angularjs
[06:36:17] *** mogaj|2 has joined #angularjs
[06:36:55] *** mogaj has quit IRC
[06:37:23] *** ccohn_ has joined #angularjs
[06:37:26] *** boneskull has quit IRC
[06:37:31] *** ccohn has quit IRC
[06:37:32] *** arkin has quit IRC
[06:37:32] *** shampine has quit IRC
[06:37:39] *** monir has quit IRC
[06:37:45] *** doginal has joined #angularjs
[06:39:24] *** Una has quit IRC
[06:39:44] *** CiE has quit IRC
[06:39:56] *** CiE has joined #angularjs
[06:40:17] *** _lexjm has quit IRC
[06:40:24] *** sctskw has joined #angularjs
[06:41:03] <Logicgate> dllama
[06:41:05] <Logicgate> sorry, was eating
[06:41:12] <dllama> no worries
[06:41:14] <dllama> yea it sort of works
[06:41:22] <dllama> now i'm battling permission issues :(
[06:41:25] <Logicgate> you can add a rewrite to the ssl block
[06:41:27] <dllama> i can never get it right
[06:41:44] <dllama> i mean it works , i just need to make the folder owner www-data:www-data
[06:41:45] *** numenor has quit IRC
[06:42:00] *** ccohn_ has quit IRC
[06:42:05] *** doginal has quit IRC
[06:43:22] *** mjs2600 has joined #angularjs
[06:43:28] *** ryst has quit IRC
[06:43:42] <dllama> any suggestions on what ot do with user permissions?
[06:45:31] *** tkimmel has joined #angularjs
[06:45:35] *** numenor has joined #angularjs
[06:46:39] *** boneskull has joined #angularjs
[06:47:19] *** slopjong_ has joined #angularjs
[06:47:19] *** slopjong has joined #angularjs
[06:47:21] *** hecatonicosachor has joined #angularjs
[06:48:09] *** mjs2600 has quit IRC
[06:48:31] *** Siecje has quit IRC
[06:49:32] *** bluejade has joined #angularjs
[06:50:15] *** oste has joined #angularjs
[06:50:16] *** bluejade has left #angularjs
[06:50:17] *** tkimmel has quit IRC
[06:50:21] *** Xethron has joined #angularjs
[06:50:21] *** Xethron has joined #angularjs
[06:50:33] *** sacho_ has quit IRC
[06:51:38] *** bluejade has joined #angularjs
[06:52:08] *** junmin has joined #angularjs
[06:52:11] *** bluejade has left #angularjs
[06:52:36] <deweydb_> chown username:www-data instead?
[06:53:10] *** cacts has joined #angularjs
[06:53:19] <deweydb_> i dunno, didn't read the whole log. lol.
[06:53:45] *** platonic has joined #angularjs
[06:54:19] *** NormySan has joined #angularjs
[06:54:30] <oste> i have some code like this scope.$on('$includeContentLoaded', function(e){ …
[06:54:45] <oste> my issue is that when i change a value in my array this code gets fired
[06:55:03] *** sinequanon has joined #angularjs
[06:56:00] <oste> for example doing arr[2] = {new : “object” } would trigger that
[06:56:26] <oste> i guess maybe that makes sense
[06:56:31] <oste> just not great for my use case :/
[06:57:13] *** woah has quit IRC
[06:57:52] *** ryst has joined #angularjs
[06:58:06] <dllama> Logicgate: i tried that, didn't work, nginx started freaking out
[06:58:11] <dllama> so i changed it back in the meantime :/
[06:58:12] *** platonic has quit IRC
[06:58:14] *** nycdevgirl has quit IRC
[06:58:39] *** sctskw has quit IRC
[06:59:05] *** slashroot__ has quit IRC
[06:59:16] *** tfennelly has joined #angularjs
[06:59:21] *** sacho has joined #angularjs
[06:59:23] *** jMyles has joined #angularjs
[06:59:28] <dllama> its just generally an annoying setup, normally its a non issue since i do everything through sftpd, but in this case i need to enable ftp, so im adding vsftpd so that gets set as root, then inside its the user and then the www group, idk its all funky
[07:00:57] *** boneskull has quit IRC
[07:01:55] *** wd40s has joined #angularjs
[07:02:04] *** syzygy_ has quit IRC
[07:02:19] *** Reskp has joined #angularjs
[07:03:06] *** boneskull has joined #angularjs
[07:03:59] *** tfennelly has quit IRC
[07:05:02] *** junmin has quit IRC
[07:05:05] *** richardlitt has joined #angularjs
[07:06:29] *** wd40s has quit IRC
[07:06:47] *** Reskp has quit IRC
[07:07:02] *** gnrlbzik has joined #angularjs
[07:08:51] *** woah has joined #angularjs
[07:10:56] *** bzitzow has joined #angularjs
[07:11:29] *** ahmetkapikiran has quit IRC
[07:12:08] *** mtorres1624_ has quit IRC
[07:12:34] *** amphetamines is now known as opiates
[07:12:40] *** mtorres1624_ has joined #angularjs
[07:13:14] *** Raging_Hog has joined #angularjs
[07:13:56] <opiates> Just a question for anyone willing to put in a few words: in your opinion/experience, with what method, strategy, or approach would it be best for one to design a responsive SINGLE PAGE "web application", i.e. instead of scrollbars appearing, the page responds to the viewport.
[07:14:10] <opiates> Desktop/Laptop/Tablet/Mobile
[07:15:40] *** promen has joined #angularjs
[07:15:51] <promen> sfa
[07:16:27] <numenor> opiates , In some cases when the html wasn't truely responsive, I used ng-if on ng-include to load customised templates.
[07:17:08] <opiates> numenor: what sort of foundation did you build this on?
[07:17:23] <numenor> opiates , bootstrap
[07:17:29] <opiates> yeah that's what i'm at as well
[07:17:29] *** rburns has quit IRC
[07:17:38] <opiates> i was wondering if there were any other possible alternatives i could peek into
[07:18:09] *** junmin has joined #angularjs
[07:18:13] <numenor> In my case , some pages were responsive, some werent , and I didnt want to messup the view by adding markup for all the devices and show/hide conditionally
[07:18:24] *** rburns has joined #angularjs
[07:19:10] <numenor> opiates, So I preferred to keep a main view for a page, and do ng-include using ng-if , ng-if was based on a constant object of ua.js
[07:19:35] *** nesquerra has joined #angularjs
[07:19:47] <opiates> hrmmm
[07:20:03] <opiates> the application in question has a video stream (iframe) and will also have some content/side panels
[07:20:06] *** ank has joined #angularjs
[07:20:11] <opiates> if that helps any bit
[07:20:21] <numenor> Does anyone know a way to show a loading indicator on a directive, the directive has its isolated scope, and data will be filled via a service / rest api
[07:21:07] <numenor> Divide the page into rows and columns..
[07:21:11] <ank> Could any one help me with how to inject controller in a single page app in run time
[07:21:44] *** oktapodi_ has joined #angularjs
[07:21:56] <themime> ank: you have a plunker?
[07:21:59] *** nya has quit IRC
[07:22:28] *** nya has joined #angularjs
[07:22:44] <themime> ank: wait inject controller, what for?
[07:23:07] <themime> ank: while im sure its possible with $controller theres probably a better paradigm that avoids it
[07:23:34] *** NormySan has quit IRC
[07:23:47] <ank> I have a large single page app it has a lot of javascript code that is loaded which, slows that first execution of the app
[07:24:13] <ank> I want to fetch and inject the relevant javascript only when a user wishes to see that module
[07:25:04] *** bgerami has quit IRC
[07:26:11] *** platonic has joined #angularjs
[07:26:22] <themime> ank: have you considered ui-router's states?
[07:26:32] *** Aliks has quit IRC
[07:26:38] <themime> controller per page
[07:26:41] <themime> page/state
[07:26:52] <themime> maybe even more than one if its relevant
[07:27:06] *** Aliks has joined #angularjs
[07:27:07] <themime> ank: also keep in mind controllers are instantiated and destroyed when they switch
[07:29:09] <ank> Each module that I have has its own set of directives, services. I just want to reduce the first time payload of the page
[07:30:39] *** platonic has quit IRC
[07:30:59] *** junmin has quit IRC
[07:31:05] <themime> its hard to say without seeing anything
[07:31:18] *** mtorres1624_ has quit IRC
[07:31:41] *** dcherman has quit IRC
[07:31:42] *** Aliks has quit IRC
[07:32:11] <ank> themime : okay, let me describe it
[07:32:28] *** threesixes has joined #angularjs
[07:32:49] <ank> I am using ngRoute for loading different controllers according to the requested route
[07:33:19] <ank> not each route for me is a small module
[07:33:25] *** devinandrews has quit IRC
[07:33:51] <ank> which uses some directives and services sepecific to that route and associated controller
[07:33:56] *** Sontakey has joined #angularjs
[07:34:19] *** nya_ has joined #angularjs
[07:34:24] *** bLaind has quit IRC
[07:34:25] *** boneskull has quit IRC
[07:34:42] <ank> now the problem that I am facing right now is I have to load all the controller in the system before booting my app
[07:34:54] *** anivemin has joined #angularjs
[07:34:59] *** woah has quit IRC
[07:35:09] *** lite has joined #angularjs
[07:35:14] *** Cache_Money has quit IRC
[07:35:35] *** jaydubya has joined #angularjs
[07:35:41] <themime> i don't use ngroute so i don't know how it works
[07:35:50] <ank> I want to get the controller and associated code only when related route is triggered thus reducing the total payload
[07:36:01] <ank> okay
[07:36:04] <themime> but i know ui-router doesn't have that issue
[07:36:15] <themime> and is much more flexible and has several other features
[07:36:20] *** zwacky has joined #angularjs
[07:36:25] *** ccohn has joined #angularjs
[07:36:29] <ank> is that native
[07:36:38] <ank> in the framework
[07:36:46] <snurfery> sup yall
[07:36:47] *** bpmj has quit IRC
[07:36:53] <themime> ank: its written by the angular team
[07:36:58] *** ciallella has joined #angularjs
[07:37:00] <ank> okay
[07:37:28] <themime> ank: more people here use it than ngRoute because ngRoute kinda sucks :)
[07:38:00] *** nya has quit IRC
[07:38:31] * snurfery agrees
[07:38:32] <ank> themime: thanks I will look into it may be ui-route has a solution to my problem
[07:38:35] <ank> :)
[07:38:43] <themime> yep! good luck
[07:39:00] *** e0ipso|away is now known as e0ipso
[07:39:19] *** diegoaguilar has quit IRC
[07:39:21] *** SeeThruHead has quit IRC
[07:39:45] *** anivemin has quit IRC
[07:39:52] *** jaydubya has quit IRC
[07:40:43] *** bzitzow has quit IRC
[07:41:09] *** ccohn has quit IRC
[07:41:16] *** crunch-choco has joined #angularjs
[07:41:24] *** chrisbirk has quit IRC
[07:41:40] *** crunch-choco is now known as Guest36333
[07:43:41] *** asher^ has quit IRC
[07:44:06] *** doginal has joined #angularjs
[07:44:33] *** Guest36333 has quit IRC
[07:44:42] *** Typher has joined #angularjs
[07:45:00] *** oste has quit IRC
[07:45:30] *** asher^ has joined #angularjs
[07:45:51] *** ank has quit IRC
[07:47:28] *** Leon has joined #angularjs
[07:47:42] *** LossFor has quit IRC
[07:47:42] *** Kosre has joined #angularjs
[07:48:49] *** e0ipso is now known as e0ipso|away
[07:48:49] *** rburns has quit IRC
[07:49:00] *** arkin has joined #angularjs
[07:49:01] *** rburns has joined #angularjs
[07:49:05] *** doginal has quit IRC
[07:49:19] *** doginal has joined #angularjs
[07:49:34] *** speaking1ode has joined #angularjs
[07:49:42] *** Typher has quit IRC
[07:50:14] *** speakingcode has quit IRC
[07:52:24] *** Kosre has quit IRC
[07:53:27] *** neoadventist has joined #angularjs
[07:53:53] *** arkin has quit IRC
[07:54:02] *** anderskristo has quit IRC
[07:54:19] *** jshultz has quit IRC
[07:54:21] *** mtsr has joined #angularjs
[07:55:24] *** anderskristo has joined #angularjs
[07:56:29] *** junmin has joined #angularjs
[07:58:18] *** gurke_ has joined #angularjs
[07:59:03] *** woah has joined #angularjs
[07:59:24] *** firelinks has quit IRC
[07:59:37] <gurke_> good morning. :)
[07:59:53] *** platonic has joined #angularjs
[08:00:25] *** firelinks has joined #angularjs
[08:01:10] *** Sontakey has quit IRC
[08:01:52] *** loverajoel has joined #angularjs
[08:02:07] *** Sky[x] has joined #angularjs
[08:03:06] *** Reskp has joined #angularjs
[08:03:36] *** JohnBat26 has joined #angularjs
[08:05:09] *** spazbite has joined #angularjs
[08:05:11] *** Nivag has quit IRC
[08:06:09] *** nagappan_ has quit IRC
[08:06:23] <seiyria> hey guys, I'm trying to get ngSanitize to let me add custom elements when I do ng-bind-html
[08:06:28] <seiyria> like <player-name> and stuff
[08:06:29] *** loverajoel has quit IRC
[08:06:41] <seiyria> but ngSanitize just seems to strip them out.. any idea why or what I can do to get around this?
[08:06:48] *** nagappan_ has joined #angularjs
[08:06:51] *** rhp has joined #angularjs
[08:07:18] *** anjumkaiser has quit IRC
[08:07:45] *** Reskp has quit IRC
[08:08:35] *** digisky1 has quit IRC
[08:11:00] *** Nivag has joined #angularjs
[08:11:54] *** e0ipso|away is now known as e0ipso
[08:13:05] *** boneskull has joined #angularjs
[08:13:07] *** derickf has joined #angularjs
[08:13:26] *** dannyc has joined #angularjs
[08:13:31] *** doug64k has joined #angularjs
[08:13:51] *** one0one has quit IRC
[08:14:26] *** Nivag has quit IRC
[08:15:02] *** Sontakey has joined #angularjs
[08:15:11] *** Swaroop has joined #angularjs
[08:15:15] *** uru|away is now known as uru
[08:15:18] <derickf> at the bottom of this page for $resource - https://docs.angularjs.org/api/ngResource/service/$resource why do the calls to resource need null added? any way to get rid of that?
[08:15:53] <themime> seiyria: other better ways now. for a directive you should use templateUrl
[08:16:20] *** dnull has quit IRC
[08:16:30] <seiyria> themime, it's not a directive. I have some custom text like <player.name>Test</player.name> dealt <damage.hp>123</damage.hp> damage to XYZ!
[08:16:35] <seiyria> I'm pull that out of a DB
[08:16:49] *** Nivag has joined #angularjs
[08:17:13] <themime> im pretty confused, is that supposed to be an element in html? or like...weird xml from the server?
[08:17:22] <seiyria> you can think of it as weird xml from the server
[08:17:32] <seiyria> but I want it to be treated as HTML, so I can style it with CSS
[08:17:48] *** night-owl is now known as zz_night-owl
[08:17:53] *** dannyc has quit IRC
[08:18:36] *** zz_night-owl is now known as night-owl
[08:18:46] <themime> do you know about ng-class and ng-style?
[08:18:58] <seiyria> http://puu.sh/cGzuW/c6a7ba3424.png here's a sample serve response
[08:19:00] <seiyria> I do
[08:19:08] <seiyria> I'm not sure those really help my situation, though.
[08:19:34] <themime> seiyria: do you have control over the server data? that really really should be json
[08:19:41] <seiyria> it is json
[08:20:06] <themime> its the bastard son of json he keeps in the basement
[08:20:16] *** poolside has quit IRC
[08:20:19] <seiyria> http://puu.sh/cGzyv/3f6bea5373.png that's the top of the response
[08:21:06] <seiyria> the reason I do it like that, is because my game colors things based on their categorization. I was originally going to make it absurd and make it so you have to pass messages as JSON to color them... but that's really shitty from a dev standpoint, so I settled on saying you have to do "<player.name>Player</player.name> did something!"
[08:21:26] <seiyria> then from the game, I have a regex that pulls out the tokens and replaces them with colors
[08:21:44] <seiyria> it's really not ideal, but changing it would be a lot of work
[08:22:17] <themime> yea that seems really really bad
[08:22:25] *** Reskp has joined #angularjs
[08:22:33] <seiyria> yeah, but I'm trying to make the best of a terrible situation
[08:22:42] <themime> why not return a json object of the rseult
[08:22:44] <themime> result
[08:22:59] *** richardlitt has quit IRC
[08:23:13] *** tungv has joined #angularjs
[08:23:14] *** monir has joined #angularjs
[08:23:23] <seiyria> because then it would be an array of arrays of objects that look like [{type:"plain",string:"You are "}, {type:"player", name: "PlayerName"}]
[08:23:40] <seiyria> that would be really, really terrible to have to do if you want to make a string
[08:23:41] <themime> the server should not be handling any UI
[08:23:49] <seiyria> the server is not handling any UI
[08:24:02] <themime> yes it is
[08:24:13] <seiyria> the reason those strings are formatted like that, is because it outputs them to IRC, and terminals
[08:24:25] <seiyria> then terminals / IRC color them based on the color map given to it
[08:24:29] *** anjumkaiser has joined #angularjs
[08:24:37] <seiyria> however, I can't really pass a color map to the server from angular
[08:24:38] *** arkin has joined #angularjs
[08:24:42] <seiyria> and I really would rather just use CSS
[08:24:48] <themime> so are you trying to hack on an angular UI to a server returning irc/terminal results
[08:24:53] <seiyria> yes
[08:24:54] <seiyria> I am
[08:25:13] *** Reskp has quit IRC
[08:25:37] <themime> ug well
[08:25:39] *** arkin has quit IRC
[08:25:40] <seiyria> but seriously, there is no sane way to write messages that are human readable in the format you're describing, that's why I didn't do it that way
[08:27:21] <themime> yes there are, you return a json object with player: {name: Rekter, hp: 300} etc and then you have your html page handle how to output it, your server IS rendering ui elements, because its choosing the wording of how something affects something else
[08:27:40] *** moritzs has quit IRC
[08:27:41] *** moritzschaefer has quit IRC
[08:27:42] *** arkin has joined #angularjs
[08:27:57] <seiyria> ok, so, fine, my server is doing that.
[08:28:04] <seiyria> I'm looking to avoid changing that as mucha s possible.
[08:28:17] <themime> thats why i didn't think it was json at first, because that part should be json (raw data) but its data melded with combat result rendering, just not color
[08:28:24] *** tfennelly has joined #angularjs
[08:28:27] *** Reskp has joined #angularjs
[08:28:31] <seiyria> right
[08:28:50] *** moritzs has joined #angularjs
[08:28:58] *** Reskp has quit IRC
[08:29:00] <seiyria> and I mean, I could do what I did w/ IRC and the terminal, and I could just create a color map, grab my regex, and parse it accordingly (and probably create a bunch of inline spans)
[08:29:02] <themime> if you want to change how the rounds are displayed you have to change server side for content and client side for color and html for position. it goes against everything that is efficient coding and modularity
[08:29:13] <seiyria> ack
[08:29:16] *** Reskp has joined #angularjs
[08:29:17] *** frobs has joined #angularjs
[08:29:48] *** jmverges has joined #angularjs
[08:29:56] *** discgo has quit IRC
[08:30:14] *** waverider has joined #angularjs
[08:30:16] <themime> anyway, i tried the ng-bind before i knew better and i ended up removing the sanitize to get it to work
[08:30:18] <waverider> hello
[08:30:29] *** digisky has joined #angularjs
[08:30:33] <seiyria> interesting
[08:30:52] *** jstroem has joined #angularjs
[08:31:05] *** tungv has quit IRC
[08:31:38] <waverider> How can I access a form's scope from a directive? (<form> tag is in the html specified in templateUrl)
[08:31:47] *** roman___ has joined #angularjs
[08:31:51] <themime> seiyria: i hate it when people don't actually answer my question and lecture me but...ive just made your mistakes for so long and even if you continue on with your way you should at last know that its hacky and why. but yea i had bad luck with ng-bind and even remembering something about how santize may not even be needed anymore? i really can't rmember
[08:31:59] *** moritzs has quit IRC
[08:32:23] *** romanstumm has joined #angularjs
[08:32:25] <themime> seiyria: do some more googling, even comments of the stackoverflow articles, if you have to keep on with ng-bind-html
[08:32:29] *** Skrypter has quit IRC
[08:32:37] *** jdj_dk has joined #angularjs
[08:32:40] <themime> the docs, etc. there was something there somewhere...
[08:32:44] *** dan2k3k4 has joined #angularjs
[08:32:47] *** tfennelly has quit IRC
[08:32:47] <seiyria> themime, I don't blame you and I get where you're coming from, but I really just don't want to rewrite something so core, partly because keeping it the way it is lets developers actually be sane when making strings, and partly because rewriting it would be tedious
[08:33:03] *** Skrypter has joined #angularjs
[08:33:06] <seiyria> so I will probably just keep it as it is, grab my regex, make a color map, and go that way :\
[08:33:21] <seiyria> I honestly don't think it's suited to doing it the way you describe.
[08:33:35] *** AndreasLutro has joined #angularjs
[08:33:36] <themime> seiyria: im working with similiar things at my main job, but the color map thing sounds at least consistent with how the other ways are rendered so if someone were to come change it it would be awkward but CONSISTENT
[08:33:45] *** romanstumm has quit IRC
[08:33:46] <seiyria> yes
[08:33:47] <dan2k3k4> how can I access myApp.value('someKey', 'someVal'); from an ng-if="" ?
[08:33:49] *** Reskp has quit IRC
[08:33:57] <themime> er, im working with similar things at my main job, so i understand. but the color map .... etc
[08:34:04] <seiyria> unfortunately I realize this will snowball, the more things go forward
[08:34:12] *** rhp has quit IRC
[08:34:17] *** jrvlima has quit IRC
[08:34:18] *** rhp2 has joined #angularjs
[08:34:32] <seiyria> but I really just can't think of a sane way to do it
[08:34:36] <themime> seiyria: yep :) the sooner you change it the easier it'll be long term. sometimes though you have to accept how it is and look forward to the rewrite in 2 years
[08:34:41] <seiyria> I mean, the way you describe would be nice
[08:34:43] <snurfery> dan2k3k4 you need to attach your value to $scope so that the view has access to it
[08:34:52] *** tkimmel has joined #angularjs
[08:35:07] <dan2k3k4> snurfery, so $scope.someKey = someKey ?
[08:35:09] <themime> seiyria: why is that? i can try to help you at least figure it out for when you do your next project. what issue would do you forsee? is it how the core data is saved?
[08:35:16] <snurfery> dan2k3k4: something like that yeah
[08:35:32] <dan2k3k4> or inside the controller? add myCtrl', func(someKey) { ?
[08:35:45] <seiyria> themime: because messages in my game are handled in a silly way.. let me show some code.
[08:35:45] *** hans_ has joined #angularjs
[08:36:16] <snurfery> dan2k3k4: yeah you'd assign stuff to $scope in the controller
[08:37:16] *** ccohn has joined #angularjs
[08:37:30] *** Skrypter has quit IRC
[08:38:13] <dan2k3k4> snurfery, hmm seems to work, thanks!
[08:38:27] <seiyria> basically in here: https://github.com/IdleLands/IdleLands/blob/master/src/system/MessageCreator.coffee#L57-L71 you call replace message colors after giving the class a color map to use (you don't specify it in code, because it's a modular backend, so the consumer gives the colormap), and here: https://github.com/IdleLands/IdleLands/blob/master/src/system/EventHandler.coffee#L69-L71 is an example of actually calling it. in this example... %player gets
[08:38:27] <seiyria> expanded to <player.name>(playernamehere</player.name> and then colored accordingly
[08:38:36] *** TyrfingMjolnir has joined #angularjs
[08:39:02] <snurfery> =)
[08:39:22] <dan2k3k4> snurfery, how would I change the value if I have a func inside ContentCtrl that does switchKey(val) { $scope.key = val } ?
[08:39:25] *** tkimmel has quit IRC
[08:40:01] <dsdeiz> hey all
[08:40:16] *** doginal has quit IRC
[08:41:11] *** oktapodi_ has quit IRC
[08:41:27] <snurfery> dan2k3k4: yeah that should work just fine
[08:41:43] <dan2k3k4> and for rootScope, just rootScope ?
[08:41:49] *** zwacky has quit IRC
[08:41:57] *** ccohn has quit IRC
[08:42:26] *** sandelius has joined #angularjs
[08:42:31] <snurfery> well, cluttering up rootScope should be avoided if possible, plain ol $scope works fine for most purposes
[08:42:36] *** woah has quit IRC
[08:43:04] *** foofoobar has joined #angularjs
[08:43:11] *** oktapodi_ has joined #angularjs
[08:43:41] *** junmin has quit IRC
[08:44:06] *** derickf has quit IRC
[08:44:33] <hans_> what is the best practice to use bootstrap tabs with angular js=
[08:44:35] <hans_> ?
[08:44:58] *** junmin has joined #angularjs
[08:45:06] <snurfery> ui-bootstrap has a directive you can use
[08:45:09] *** junmin has joined #angularjs
[08:46:41] <hans_> ok, i will try. thanks
[08:46:43] <frobs> hans_, angular strap also have tabs or if you want vertical tabs you can use bootstrap-vertical-tabs
[08:47:48] *** jharbaugh has quit IRC
[08:48:04] *** phaggood has joined #angularjs
[08:48:46] *** katsuki has quit IRC
[08:49:12] *** night-owl is now known as zz_night-owl
[08:49:23] *** rburns has quit IRC
[08:49:25] *** Oddman has joined #angularjs
[08:50:09] *** rburns has joined #angularjs
[08:50:12] *** platonic has quit IRC
[08:50:39] *** wd40s has joined #angularjs
[08:51:33] *** mchammer has joined #angularjs
[08:52:24] *** jstroem has quit IRC
[08:52:58] *** jstroem has joined #angularjs
[08:53:28] *** jshrs has joined #angularjs
[08:53:40] *** tfennelly has joined #angularjs
[08:53:46] *** dllama has quit IRC
[08:54:27] *** zwacky has joined #angularjs
[08:54:49] *** mtsr has quit IRC
[08:54:58] *** tarnus has quit IRC
[08:55:44] *** wd40s has quit IRC
[08:55:46] *** monir has quit IRC
[08:57:19] *** jstroem has quit IRC
[08:57:56] *** Shai-Tan has joined #angularjs
[08:57:58] *** Raging_Hog has quit IRC
[08:58:08] *** jharbaugh has joined #angularjs
[08:59:34] <hans_> snurfery, worked well, thanks!
[09:00:47] *** mtorres1624_ has joined #angularjs
[09:02:15] *** JMLarod has joined #angularjs
[09:02:16] *** mtorres1624_ has quit IRC
[09:02:26] <snurfery> shweet
[09:02:26] *** JMLarod has left #angularjs
[09:02:26] *** mtorres1624_ has joined #angularjs
[09:02:53] *** cacts has quit IRC
[09:04:19] *** mtorres1624__ has joined #angularjs
[09:04:23] *** mtorres1624_ has quit IRC
[09:04:41] *** Xethron has quit IRC
[09:05:47] *** Harsan has joined #angularjs
[09:05:52] *** jagga has joined #angularjs
[09:05:57] *** SeeThruHead has joined #angularjs
[09:06:03] <Harsan> Hell
[09:06:06] <Harsan> helloo
[09:06:13] *** mtorres1624___ has joined #angularjs
[09:06:18] *** mtorres1624__ has quit IRC
[09:06:57] *** FezVrasta has joined #angularjs
[09:06:58] *** ehalas has joined #angularjs
[09:08:01] *** mtorres1624___ has quit IRC
[09:08:10] *** mtorres1624___ has joined #angularjs
[09:08:16] <Harsan> WTF
[09:08:44] *** derickf has joined #angularjs
[09:08:56] *** GeneralChoomin has quit IRC
[09:09:05] <Harsan> Dei ommala... ena da join panringa txt pana maatringa
[09:09:27] <Harsan> apram ena mayithuku da indha site?
[09:09:35] *** mtorres1624___ has quit IRC
[09:10:04] *** mtorres1624___ has joined #angularjs
[09:10:05] <Grokling> i18n anybody ;-)
[09:10:14] <Harsan> yep
[09:10:21] *** jharbaug_ has joined #angularjs
[09:10:30] *** thomastuts has joined #angularjs
[09:10:40] *** crunch-choco has joined #angularjs
[09:10:41] *** SeeThruHead has quit IRC
[09:10:50] *** jstroem has joined #angularjs
[09:10:52] *** Harsan has left #angularjs
[09:11:00] <thomastuts> morning!
[09:11:03] *** crunch-choco is now known as Guest61817
[09:11:12] *** Skrypter has joined #angularjs
[09:11:42] *** mtorres1624___ has quit IRC
[09:11:57] *** mtorres1624___ has joined #angularjs
[09:11:59] *** marshall_ has joined #angularjs
[09:12:04] <seiyria> I got a working thing, themime - http://puu.sh/cGBqS/43a7eab8a9.png - I don't like it, but I'll take what I can get.
[09:12:17] *** hekep2 is now known as hekep
[09:12:36] *** klaut has joined #angularjs
[09:13:10] *** jharbaugh has quit IRC
[09:13:53] *** mtorres1624____ has joined #angularjs
[09:13:59] *** mtorres1624___ has quit IRC
[09:14:29] <dan2k3k4> hmm snurfery, what if I want to do: <div ng-if="$root.myVal != null && $root.otherValSetFromDirective != null" ng-{{$root.otherValSetFromDirective}}-directive></div> ?
[09:14:41] <dan2k3k4> hmm I've not yet woken up yet
[09:15:19] <snurfery> you won't accomplish what you're trying to do quite that easily
[09:15:28] *** zz_night-owl is now known as night-owl
[09:15:32] *** phzon has joined #angularjs
[09:15:35] <dan2k3k4> or maybe to run a function instead of ng-{{$root.val}}
[09:15:43] <snurfery> and stuffing things on $rootScope is rough
[09:15:50] *** mtorres1624_____ has joined #angularjs
[09:15:57] *** mtorres1624____ has quit IRC
[09:17:13] *** favetelinguis has joined #angularjs
[09:17:13] *** mtorres1624_____ has quit IRC
[09:17:44] *** mtorres1624_____ has joined #angularjs
[09:17:45] *** jharbaug_ has quit IRC
[09:18:10] *** jharbaugh has joined #angularjs
[09:19:14] *** Oddman has quit IRC
[09:19:17] *** mtorres1624_____ has quit IRC
[09:19:30] *** swirlycheetah has joined #angularjs
[09:19:35] *** yts has joined #angularjs
[09:19:36] *** mtorres1624_____ has joined #angularjs
[09:19:46] *** SanYang has joined #angularjs
[09:19:49] *** phzon has quit IRC
[09:19:54] *** grantfunke_ has quit IRC
[09:19:55] *** Guest61817 has quit IRC
[09:20:00] <SanYang> hi
[09:20:14] <SanYang> i'm a beginner
[09:20:14] *** rburns has quit IRC
[09:20:25] *** rburns has joined #angularjs
[09:20:30] <SanYang> i have a question
[09:20:34] *** anivemin has joined #angularjs
[09:20:38] *** nfroidure has joined #angularjs
[09:20:49] *** StryKaizer has joined #angularjs
[09:20:58] *** Typher has joined #angularjs
[09:21:07] <SanYang> that is how can we change view from a function()
[09:21:24] *** mtorres1624_____ has quit IRC
[09:21:32] *** mtorres1624_____ has joined #angularjs
[09:21:45] *** blomman has joined #angularjs
[09:22:25] <SanYang> ??
[09:22:30] <SanYang> sáda
[09:22:48] *** SanYang has left #angularjs
[09:22:58] *** mtorres1624_____ has quit IRC
[09:23:01] <Grokling> SanYang: That question is too vague. Change data in a view, change state? Something else?
[09:23:31] *** mtorres1624_____ has joined #angularjs
[09:23:52] <dan2k3k4> snurfery, well ContentCtrl is on <body> so I could use $scope instead of $rootScope - then <footer> has it's own controller too
[09:23:58] *** Xethron has joined #angularjs
[09:24:01] *** nesquerra has quit IRC
[09:24:16] <Grokling> SanYang: is the function called from a controller, a resolve, a button in the view? Many possibilities.
[09:24:19] *** jaydubya has joined #angularjs
[09:24:20] <dan2k3k4> so no easy way to run a directive after ng-if?
[09:24:21] *** niko has quit IRC
[09:24:43] <dan2k3k4> unless I nest it like <div ng-if=val><ng-directive-to-run /></div>
[09:24:46] <dan2k3k4> ?
[09:24:55] <snurfery> ng-if has a very high priority
[09:25:07] <snurfery> so you can trust it'll be run first
[09:25:08] *** Sjimi has joined #angularjs
[09:25:41] *** anivemin has quit IRC
[09:25:45] *** onats has joined #angularjs
[09:25:47] *** mtorres1624_____ has quit IRC
[09:25:51] *** frkout has quit IRC
[09:26:07] *** patrick99e99 has joined #angularjs
[09:26:17] *** frkout has joined #angularjs
[09:26:58] *** breaddes has joined #angularjs
[09:27:17] *** edy has joined #angularjs
[09:27:22] *** mtorres1624_____ has joined #angularjs
[09:27:22] *** GeneralChoomin has joined #angularjs
[09:27:45] *** grantfunke_ has joined #angularjs
[09:28:18] <breaddes> Hello. I want to pass controller params to my directive as attributes. The thing is that they should be rendered before the linking function is called. I don't need binding there. Is there a way to do that?
[09:28:55] *** gnrlbzik has quit IRC
[09:29:03] *** ehalas has quit IRC
[09:29:12] *** gnrlbzik has joined #angularjs
[09:29:15] *** onats has quit IRC
[09:29:21] <dan2k3k4> snurfery, just did a quick test, <ng-if="" ng-directive> works
[09:29:31] *** Oddman has joined #angularjs
[09:29:38] *** mtorres1624_____ has quit IRC
[09:30:13] *** nytrm has joined #angularjs
[09:30:19] *** niklasmodess has joined #angularjs
[09:30:21] *** TyrfingMjolnir has quit IRC
[09:30:39] <nytrm> Hi
[09:30:43] *** jrist has joined #angularjs
[09:30:56] *** chinchang has joined #angularjs
[09:31:02] *** grantfunke_ has quit IRC
[09:31:05] *** patrick99e99 has quit IRC
[09:31:12] *** Dinu_ has joined #angularjs
[09:31:14] *** mtorres1624_____ has joined #angularjs
[09:31:18] <Dinu_> hello
[09:31:19] *** hans_ has quit IRC
[09:31:38] *** onats has joined #angularjs
[09:31:55] <nytrm> I have a question about caching compiled DOM elements.
[09:32:25] *** charuru has quit IRC
[09:32:45] *** Dinu_ has left #angularjs
[09:33:14] <nytrm> I have compiled and linked my template and when i take it out of the DOM and keep it in memory and put it back in later all my events are gone and it seems like it is not responding to scope changes.
[09:33:22] *** phzon has joined #angularjs
[09:33:27] *** mtorres1624_____ has quit IRC
[09:33:27] *** edzez has quit IRC
[09:33:41] <nytrm> is this link being removed when the destroy on the scope is being called ?
[09:34:01] *** ciallella has quit IRC
[09:34:36] *** edzez has joined #angularjs
[09:35:05] *** mtorres1624_____ has joined #angularjs
[09:35:29] *** lexek_ has joined #angularjs
[09:35:51] *** pingupingu has quit IRC
[09:35:53] *** zackiv31 has quit IRC
[09:36:29] *** Kosre has joined #angularjs
[09:36:35] *** mtorres1624_____ has quit IRC
[09:36:57] *** oliverson has joined #angularjs
[09:36:58] *** mtorres1624_____ has joined #angularjs
[09:37:31] <snurfery> how are you taking it out of the dom?
[09:37:40] *** jaydubya has quit IRC
[09:37:44] <snurfery> jquery .detach() ?
[09:37:53] <snurfery> and what sort of events are you talking about
[09:37:55] *** tfennelly has quit IRC
[09:37:55] *** ccohn has joined #angularjs
[09:38:09] <nytrm> ng-click event
[09:38:28] *** junmin has quit IRC
[09:38:32] *** mtorres1624_____ has quit IRC
[09:38:50] <snurfery> there are like 5 parts of your question
[09:38:52] *** mtorres1624_____ has joined #angularjs
[09:38:53] *** numenor has quit IRC
[09:38:56] <nytrm> i just take the DOM node i am inserting on route change to a specific div
[09:39:42] *** ccohn has quit IRC
[09:39:42] *** ccohn_ has joined #angularjs
[09:39:43] <nytrm> before adding it to the DOM i save it to an array so i can use it later and do not have to recalculate everything like ng-repeat etc
[09:39:52] <snurfery> so if you're moving it(?) around the dom, are you sure it has the same $scope?
[09:40:17] <snurfery> so you're saving the markup itself
[09:40:19] <nytrm> so when i go back to that view i dont have to do all the item repeats etc over again
[09:40:25] <nytrm> yes the final markup
[09:40:37] *** chinchang has quit IRC
[09:40:42] *** mehdi__ has joined #angularjs
[09:40:42] *** mtorres1624_____ has quit IRC
[09:40:46] *** Kosre has quit IRC
[09:40:46] <nytrm> i svae the final markup and the scope
[09:40:46] *** marshall_ has quit IRC
[09:40:49] *** mtorres1624_____ has joined #angularjs
[09:40:59] *** gnrlbzik has quit IRC
[09:41:04] <snurfery> are you sure you need that? sounds premature optimization-ish
[09:41:13] <nytrm> i think it is being detroyed by the $destroy and events are unbinded
[09:41:19] *** jshrs has quit IRC
[09:41:37] <snurfery> probably, that doesn't seem like something that would mesh well with angular's approach to markup and scope
[09:42:03] *** derickf has quit IRC
[09:42:05] <nytrm> well i am using ui-route and i need it to switch route and when i switch backi want it the old DOM
[09:42:28] <nytrm> i dont want to create the entire view over again since this has already been done.
[09:42:34] <nytrm> any ideas ?
[09:42:41] *** mtorres1624_____ has quit IRC
[09:42:47] *** mtorres1624_____ has joined #angularjs
[09:42:59] <snurfery> there are 3 pieces of work being done
[09:43:14] <snurfery> fetching the data array, looping over it, redrawing the dom
[09:43:33] *** mpw has quit IRC
[09:43:40] <snurfery> this complicated approach eliminates the first 2
[09:44:08] <snurfery> but the browser still has to redraw the dom, which is the tough part
[09:44:10] *** ccohn_ has quit IRC
[09:44:17] *** boneskull has quit IRC
[09:44:50] <snurfery> anyway to answer your question, you might have to $compile the saved markup
[09:44:58] *** mtorres1624_____ has quit IRC
[09:45:02] *** atomatt has joined #angularjs
[09:45:07] <snurfery> but to rant, you're probably wasting your time and genius ;)
[09:45:14] <nytrm> i tired doing $compile(domNode)(savedScope);
[09:45:15] *** mehdi__ has quit IRC
[09:45:30] *** asher^ has quit IRC
[09:45:36] <snurfery> how big is your array anyway?
[09:45:44] *** threesixes has quit IRC
[09:45:46] *** laurensclaessen has joined #angularjs
[09:46:06] *** mpw has joined #angularjs
[09:46:18] <nytrm> it is not that big, but i would like it to keep the current state as is
[09:46:27] <nytrm> scroll position
[09:46:28] <frobs> nytrm, sorry i don't understand you, if you want use the same template just use the same template fot the two routes
[09:46:34] <frobs> with templateUrl
[09:46:35] <nytrm> and the template is a bit complex
[09:46:51] *** shampine has joined #angularjs
[09:47:33] <nytrm> frobs: i want the same template but why recompile it when it already has been. I want to save the scroll position and everything.
[09:47:34] *** nya_ has quit IRC
[09:48:11] <nytrm> Best option is to keep it alive and not destroying it and keeping it in memory.
[09:48:25] *** doginal has joined #angularjs
[09:48:28] <nytrm> but ui-route seems to destroy.
[09:48:28] *** stormpat has joined #angularjs
[09:48:38] <snurfery> what's the benefit? was there a problem happening?
[09:48:39] *** hecatonicosachor has quit IRC
[09:48:59] *** spazbite has quit IRC
[09:48:59] *** onats has quit IRC
[09:49:02] <frobs> nytrm, uhmmmm you can do a parent state with common interface and common logic and child states with specific things
[09:49:08] <nytrm> I would like to return to the item i selected, and at the currect scroll position
[09:49:22] <snurfery> so save the scroll position
[09:49:23] *** intellix has joined #angularjs
[09:49:28] <snurfery> sounds like a more straightforward approach
[09:49:35] <snurfery> but of course tis your project =)
[09:49:46] <snurfery> my alerts are going off though
[09:50:21] *** mtorres1624_____ has joined #angularjs
[09:50:36] *** jlebrech has joined #angularjs
[09:50:36] *** rburns has quit IRC
[09:50:50] <nytrm> I use Angular on a mobile app, it seems to slow things down when doing everything multiple times
[09:50:59] *** nagappan_ has quit IRC
[09:51:02] *** rburns has joined #angularjs
[09:51:19] <nytrm> the cache i am using is faster, yet i have no events since it has been unbinded from the scope.
[09:51:28] *** wd40s has joined #angularjs
[09:51:41] *** nagappan_ has joined #angularjs
[09:51:52] <Grokling> nytrm: How many watches have you got? Usually that's the speed killer..
[09:51:56] *** mtorres1624_____ has quit IRC
[09:52:01] <snurfery> not sure why the $compile would fail
[09:52:20] *** mtorres1624_____ has joined #angularjs
[09:52:53] *** moritzs has joined #angularjs
[09:53:21] <nytrm> Grokling only 2
[09:53:36] *** zackiv31 has joined #angularjs
[09:53:54] *** niko has joined #angularjs
[09:53:56] *** mtorres1624_____ has quit IRC
[09:54:12] <nytrm> snurfery i think it fails since it already has been compiled, and cannot recompile the compiled template.
[09:54:16] *** mtorres1624_____ has joined #angularjs
[09:54:25] <nytrm> i dont need it to compile, just to link to the given scope.
[09:54:42] <nytrm> yet only $compile returns a link function
[09:54:51] <Grokling> Hm. Fair enough. How about angular watchers?
[09:54:55] *** mogaj|2 has quit IRC
[09:56:13] *** mtorres1624_____ has quit IRC
[09:56:15] *** rtpg has quit IRC
[09:56:20] *** mtorres1624_____ has joined #angularjs
[09:56:31] *** lite_ has joined #angularjs
[09:56:31] *** lite has quit IRC
[09:56:33] *** Mordecai has quit IRC
[09:56:46] *** lee__ has joined #angularjs
[09:56:52] *** wd40s has quit IRC
[09:57:04] <lee__> ddd\
[09:57:07] *** sk87 has joined #angularjs
[09:57:18] <lee__> huhu
[09:57:40] *** lee__ has quit IRC
[09:57:56] *** eamonn has joined #angularjs
[09:58:01] *** niop has joined #angularjs
[09:58:03] *** phishy has quit IRC
[09:58:06] *** devylon has joined #angularjs
[09:58:17] *** saucey has joined #angularjs
[09:58:19] *** AWAW has joined #angularjs
[09:58:27] *** mtorres1624_____ has quit IRC
[09:58:28] *** AciD`` has joined #angularjs
[09:58:49] *** jstroem has quit IRC
[09:58:49] *** devylon has quit IRC
[09:59:01] *** Hypnotizes has joined #angularjs
[09:59:03] *** phishy_ has joined #angularjs
[09:59:09] *** fbenoit has joined #angularjs
[09:59:12] *** devylon has joined #angularjs
[09:59:13] *** jstroem has joined #angularjs
[09:59:38] *** Hypnotizes has quit IRC
[10:00:00] *** mtorres1624_____ has joined #angularjs
[10:00:49] *** tfennelly has joined #angularjs
[10:01:04] *** spazbite has joined #angularjs
[10:01:16] *** niko has quit IRC
[10:01:25] *** sinequanon has quit IRC
[10:01:38] *** mtorres1624_____ has quit IRC
[10:01:55] *** DoubleAW has quit IRC
[10:01:56] *** bengillies has joined #angularjs
[10:01:59] *** mtorres1624_____ has joined #angularjs
[10:02:03] *** sinequanon has joined #angularjs
[10:02:09] *** grantfunke_ has joined #angularjs
[10:02:26] *** phuh has quit IRC
[10:02:27] *** davek has quit IRC
[10:02:55] *** jmls has joined #angularjs
[10:02:57] *** phuh has joined #angularjs
[10:04:06] *** mtorres1624_____ has quit IRC
[10:04:13] *** mtorres1624_____ has joined #angularjs
[10:04:29] *** Oddman has quit IRC
[10:05:07] *** supertobi is now known as tobmaster2
[10:05:32] *** mtorres1624_____ has quit IRC
[10:05:52] *** mtorres1624_____ has joined #angularjs
[10:06:37] *** SeeThruHead has joined #angularjs
[10:06:50] *** sinequanon has quit IRC
[10:07:16] *** mtorres1624_____ has quit IRC
[10:07:46] *** mtorres1624_____ has joined #angularjs
[10:09:24] *** Sgeo is now known as WickedWitch
[10:09:24] *** mtorres1624_____ has quit IRC
[10:09:39] *** mtorres1624_____ has joined #angularjs
[10:09:46] *** motionman has quit IRC
[10:10:39] *** WickedWitch is now known as Sgeo
[10:10:41] *** Click66 has joined #angularjs
[10:11:25] *** SeeThruHead has quit IRC
[10:11:30] *** mtorres1624_____ has quit IRC
[10:11:37] *** mtorres1624_____ has joined #angularjs
[10:11:58] *** amphetamines has joined #angularjs
[10:12:12] *** ogdabou has joined #angularjs
[10:13:01] *** Sebastien-L has joined #angularjs
[10:13:26] *** mtorres1624_____ has quit IRC
[10:13:35] *** mtorres1624_____ has joined #angularjs
[10:13:56] *** opiates has quit IRC
[10:14:16] <breaddes> is it possible to render controller vars on the template before the directive get rendered?
[10:14:18] *** nya has joined #angularjs
[10:14:53] *** Xethron has quit IRC
[10:14:57] *** m8 has joined #angularjs
[10:15:07] *** zanea is now known as zanea|away
[10:15:26] *** Nijikokun has quit IRC
[10:15:30] *** mtorres1624_____ has quit IRC
[10:15:37] *** mtorres1624_____ has joined #angularjs
[10:16:10] *** soujiro has joined #angularjs
[10:16:12] *** jaznow has joined #angularjs
[10:16:51] *** cornerma1 has joined #angularjs
[10:16:56] *** mtorres1624_____ has quit IRC
[10:17:23] *** mtorres1624_____ has joined #angularjs
[10:17:30] *** e0ipso is now known as e0ipso|away
[10:18:03] *** nemothekid has joined #angularjs
[10:18:41] <Grokling> breaddes: How do you mean? Rendering anything is a directive.. Do you mean a resolve perhaps?
[10:19:18] *** mtorres1624_____ has quit IRC
[10:19:19] *** JonathanNeal has quit IRC
[10:19:24] *** mtorres1624_____ has joined #angularjs
[10:20:02] *** JonathanNeal has joined #angularjs
[10:20:17] *** cornerman has quit IRC
[10:20:23] *** cornerma1 is now known as cornerman
[10:20:29] <crnd> I'm trying to have either <label> or <label class=required> inside my template in a directive. <label {{req ? "class=required" : ""}} just fails miserably. Any ideas?
[10:21:12] *** mtorres1624_____ has quit IRC
[10:21:12] *** rburns has quit IRC
[10:21:15] *** mjs2600 has joined #angularjs
[10:21:19] *** mtorres1624_____ has joined #angularjs
[10:21:24] *** rburns has joined #angularjs
[10:21:53] *** numenor has joined #angularjs
[10:22:50] *** Oddman has joined #angularjs
[10:23:09] *** tonghiep has joined #angularjs
[10:23:12] *** mtorres1624_____ has quit IRC
[10:23:19] *** mtorres1624_____ has joined #angularjs
[10:23:28] *** mrwn has joined #angularjs
[10:23:35] <breaddes> Grokling: this is what I meant: http://plnkr.co/edit/bOKAlqQ9cBJbQYCHSYaz Surprisingly this works on plunker. It doesn't on my local machine. I have an older version of angular. Maybe that's the problem.
[10:23:45] *** tkimmel has joined #angularjs
[10:23:45] *** marr has joined #angularjs
[10:23:48] *** Caroga_afk is now known as Caroga
[10:23:55] *** niko has joined #angularjs
[10:24:52] *** mtorres1624_____ has quit IRC
[10:25:01] *** gazbond has joined #angularjs
[10:25:05] *** mtorres1624_____ has joined #angularjs
[10:25:46] *** mjs2600 has quit IRC
[10:26:39] *** mtorres1624_____ has quit IRC
[10:26:50] *** numenor has quit IRC
[10:26:51] *** Caroga is now known as Caroga_afk
[10:26:52] *** shampine has quit IRC
[10:27:02] *** mtorres1624_____ has joined #angularjs
[10:27:20] *** saint-ron has joined #angularjs
[10:27:24] *** AngularUI has joined #angularjs
[10:27:24] <AngularUI> [bootstrap] chrisirhc closed pull request #2807: Made accordion-heading accessible by adding href="#" to its template (master...master) http://git.io/sUCEFw
[10:27:24] *** AngularUI has left #angularjs
[10:28:02] *** saint-ron has quit IRC
[10:28:06] *** tkimmel has quit IRC
[10:28:29] *** mtorres1624_____ has quit IRC
[10:28:38] <crnd> Ah, it needs to be handled inside link. Problem solved.
[10:28:48] *** gazbond has quit IRC
[10:28:58] *** mtorres1624_____ has joined #angularjs
[10:29:08] <breaddes> Grokling: I was right. It doesn't work when using angular 1.2.0 http://plnkr.co/edit/bOKAlqQ9cBJbQYCHSYaz
[10:29:25] *** rburns_ has joined #angularjs
[10:29:28] *** numenor has joined #angularjs
[10:30:23] *** saint-ron has joined #angularjs
[10:30:45] *** sandelius has quit IRC
[10:31:42] *** neoadventist has quit IRC
[10:32:00] *** tonghiep has quit IRC
[10:32:15] *** niko has quit IRC
[10:32:58] *** rburns has quit IRC
[10:33:03] *** mtorres1624_____ has quit IRC
[10:33:09] *** mtorres1624_____ has joined #angularjs
[10:33:44] *** promen has quit IRC
[10:34:06] *** tech2 has joined #angularjs
[10:34:22] *** Oddman has quit IRC
[10:34:22] *** Shai-Tan has quit IRC
[10:34:39] <jagga> for an dropdown type of select input control. I'm about to use the onchange method
[10:34:42] *** SomeKittens has quit IRC
[10:34:46] <jagga> is there an angular specific one I can use?
[10:34:47] *** Shai-Tan has joined #angularjs
[10:35:02] <jagga> so I'm going to use the onchange=" do stuff if stuff is stuff " attribute
[10:35:08] <jagga> but is there an angular way of dealing with that?
[10:35:12] *** ssawickik has joined #angularjs
[10:35:27] <jagga> right answered that
[10:35:28] <jagga> ngChange
[10:35:32] <jagga> and use the ngModel value
[10:35:35] <jagga> :)
[10:35:56] *** anwari333 has joined #angularjs
[10:35:56] *** categoryzero has joined #angularjs
[10:36:24] *** jpierre03 has joined #angularjs
[10:36:27] *** MaxV has joined #angularjs
[10:36:36] *** saint-ron has quit IRC
[10:36:46] *** marshall_ has joined #angularjs
[10:37:01] *** mtorres1624_____ has quit IRC
[10:37:15] *** Kosre has joined #angularjs
[10:37:50] <ssawickik> Hi, i have using canceler = $a.defer() and canceler.resolve(); for canceling all not finished requests. How to make a request after canceled anyother requests?
[10:38:32] *** mtorres1624_____ has joined #angularjs
[10:38:51] *** anivemin has joined #angularjs
[10:39:17] *** soujiro has quit IRC
[10:40:02] *** mtorres1624_____ has quit IRC
[10:40:26] *** ccohn has joined #angularjs
[10:40:31] *** mtorres1624_____ has joined #angularjs
[10:40:58] *** monir has joined #angularjs
[10:41:16] <ssawickik> how to cancel all requests before last one?
[10:41:29] *** shennyg____ has quit IRC
[10:41:36] *** titanomachy has quit IRC
[10:41:48] *** Kosre has quit IRC
[10:41:57] *** marshall_ has quit IRC
[10:42:13] *** zwacky has quit IRC
[10:42:46] *** nemothekid has quit IRC
[10:42:49] *** mtorres1624_____ has quit IRC
[10:43:04] *** sheplu has quit IRC
[10:43:37] *** tarnus has joined #angularjs
[10:44:00] *** shennyg____ has joined #angularjs
[10:44:09] *** saint-ron has joined #angularjs
[10:44:37] *** ccohn has quit IRC
[10:44:52] *** Ironlink has quit IRC
[10:45:07] *** anapitupulu has quit IRC
[10:45:42] *** sss2500 has quit IRC
[10:46:06] <sacho> huh?
[10:46:09] *** Ironlink has joined #angularjs
[10:46:20] <sacho> I'm not sure what you mean
[10:47:14] *** cinch has left #angularjs
[10:47:21] *** sandelius has joined #angularjs
[10:47:39] *** larsgk has joined #angularjs
[10:47:50] *** Skrypter has quit IRC
[10:47:58] *** Skrypter_ has joined #angularjs
[10:48:11] *** mtorres1624_____ has joined #angularjs
[10:48:41] *** arkin has joined #angularjs
[10:48:48] *** tarnus has quit IRC
[10:48:49] *** tripu has quit IRC
[10:49:09] *** titanomachy has joined #angularjs
[10:49:23] *** oktapodi_ has quit IRC
[10:49:50] *** mtorres1624_____ has quit IRC
[10:50:04] *** mtorres1624_____ has joined #angularjs
[10:50:38] *** Oddman has joined #angularjs
[10:50:54] *** greengriminal has quit IRC
[10:51:08] *** Skrypter_ has quit IRC
[10:51:25] *** Skrypter has joined #angularjs
[10:51:31] *** mtorres1624_____ has quit IRC
[10:51:36] *** Xethron has joined #angularjs
[10:51:57] *** bharath has joined #angularjs
[10:52:01] *** mtorres1624_____ has joined #angularjs
[10:52:09] <bharath> hi
[10:52:31] *** wd40s has joined #angularjs
[10:53:01] <bharath> .controller('GreetController', ['$scope', 'rootScope', function($scope, rootScope) {
[10:53:12] *** D-Boy has quit IRC
[10:53:26] *** mtorres1624_____ has quit IRC
[10:53:26] *** fedenunez has joined #angularjs
[10:53:28] <bharath> what is the difference between $scope and rootscope
[10:53:31] <bealtine> congratulations
[10:53:45] *** rburns_ has quit IRC
[10:53:56] *** mtorres1624_____ has joined #angularjs
[10:54:09] <ogdabou> bharath scope belongs to this controller (and it's parent). RootScope.. is the root scope of your application.
[10:54:13] <bharath> any one now about that
[10:54:27] *** niko has joined #angularjs
[10:54:34] <bealtine> rootscope i imagine you mean $rootScope ?
[10:54:46] <bharath> ya
[10:54:56] <ogdabou> https://docs.angularjs.org/guide/scope
[10:55:09] *** mandric has joined #angularjs
[10:55:26] *** mtorres1624_____ has quit IRC
[10:55:53] *** mtorres1624_____ has joined #angularjs
[10:56:06] <bharath> Rootscope also holds the data?
[10:56:13] <jagga> hoi, i has an array lets say [ { id: 1, name: "potato" }, { id: 5, name : "tomato" }, { id: 22, name: "plain rotator" } ]. What I want to do is access the object with a particular key. Lets say 22.
[10:56:29] <Grokling> bharath: Factories should hold your data.
[10:56:47] <jagga> how would I set a variable to the object that has my key? Is there an easy way to do this?
[10:57:08] <Grokling> jagga: in the view, or in controller/factory code?
[10:57:16] <jagga> controller
[10:57:32] *** wd40s has quit IRC
[10:57:32] <jagga> I'm setting an ng-model to a value (object.name for example)
[10:57:35] <jagga> in the controller
[10:57:53] <dan2k3k4> hmm wondering how I can use templateUrl in directive and set it to "if template_file exists load template_file, else load defaultTemplate"
[10:57:57] <jagga> my url params will have an id
[10:58:04] <jagga> for example id=22
[10:58:12] <Mattias> When you use an API which whitelists IP-addresses. Is it still the server ip you give when using angular? Just wondering since it is client-side and I'm mostly backend. Wouldn't the IP be from the user since it is client-side? Or is it still seen as it is from the server somehow since the script originates from there?
[10:58:29] <jagga> I want to then in the controller set a scope variable to an object from my array of objects which has the key '22'
[10:58:34] <Grokling> jagga: either map() through your array, or grab lodash, or polyfill the es6 array.prototype.filter function.
[10:58:41] *** siddart has quit IRC
[10:58:58] <jagga> alright i'll look up mapping
[10:59:37] <sacho> Mattias, what do you mean "using an API"
[10:59:39] *** mandric has quit IRC
[10:59:49] <Grokling> jagga: the array.prototype.filter is my pick of the bunch.
[11:00:08] *** tschundeee has joined #angularjs
[11:00:08] <Grokling> jagga: You could also do a for loop, but don't..
[11:00:19] <sacho> Mattias, I mean, your question just doesn't make sense.
[11:00:25] <jagga> that's what I'm trying to avoid
[11:00:29] *** mtorres1624_____ has quit IRC
[11:00:31] <jagga> I was going to do an angular foreach
[11:00:35] <tschundeee> angular controller: var vm = this; vm.test = function(){} is null in my view?!?!!??!
[11:00:36] <sacho> How are you getting an IP in angular, to use with this API?
[11:00:42] <jagga> but it seems overly complicated for something as trivial as this
[11:00:49] <sacho> tschundeee, what's null in your view
[11:01:05] <Grokling> jagga: grab that .filter polyfill, and embrace the future ;-)
[11:01:05] <tschundeee> sacho: test
[11:01:15] *** aldeka has quit IRC
[11:01:18] *** amphetamines has quit IRC
[11:01:19] <jagga> I will once i've figured out how to use it
[11:01:23] <sacho> tschundeee, do you have controllerAs?
[11:01:27] *** aldeka has joined #angularjs
[11:01:32] *** mtorres1624_____ has joined #angularjs
[11:01:35] <tschundeee> sacho: if I define something in the controller like: vm.test = "test" string is available in view
[11:01:40] *** krz has joined #angularjs
[11:01:43] <tschundeee> sacho: yes
[11:01:55] *** phaggood has quit IRC
[11:02:02] *** mdedetrich has quit IRC
[11:02:08] *** saucey has quit IRC
[11:02:10] <Mattias> sacho: Let me clarify; there is an API/Webbservice which checks which ip the request is coming from, you need to tell them which IP to whitelist or all requests will be ignored.
[11:02:21] <tschundeee> sacho: http://pastebin.com/ZPvmX4S3
[11:02:21] <sacho> jagga, just use _.groupBy()
[11:02:27] <tschundeee> weird...
[11:02:28] *** phuh has quit IRC
[11:02:42] <sacho> Mattias, what request
[11:02:43] <Mattias> sacho: If using angular with $http. which ip would then be shown to the API? the client's, right? since it is client-side.
[11:02:52] *** phuh has joined #angularjs
[11:02:52] *** milka has joined #angularjs
[11:03:01] <tschundeee> Mattias: yes
[11:03:08] <sacho> tschundeee, where's your template?
[11:03:25] *** mtorres1624_____ has quit IRC
[11:03:30] *** sss2500 has joined #angularjs
[11:03:32] *** mtorres1624_____ has joined #angularjs
[11:03:43] <tschundeee> sacho: view is nothing special... just <html lang="en" ng-app="app" ng-controller="AppCtrl as app">
[11:03:55] <sacho> and then...where are you using test
[11:03:56] *** asteriskATmarmuD has joined #angularjs
[11:04:04] *** themime has quit IRC
[11:04:13] *** bharath has quit IRC
[11:04:43] <sacho> really, just make a plunker
[11:04:48] <sacho> this back and forth asking is silly
[11:05:03] <tschundeee> sacho: is the controller okay? I'll debug the view myself
[11:05:05] *** _tpavel has joined #angularjs
[11:05:19] <sacho> Mattias, so you're sending a request to your server? And you take the request's ip and send it to some API? Then yes, the IP would be the client's
[11:05:21] <tschundeee> cause I always used scope
[11:05:32] *** mtorres1624_____ has quit IRC
[11:05:34] *** milka has quit IRC
[11:05:34] <bealtine> well it "not workz" doesnt really tell us anything
[11:05:36] <Mattias> tschundeee: as I thought then :) I guess I need to write my own api in php which uses the other api. And then angular will use my api instead.
[11:05:39] <sacho> tschundeee, depends what you mean by ok
[11:05:40] *** mtorres1624_____ has joined #angularjs
[11:05:50] *** milka has joined #angularjs
[11:05:58] <tschundeee> sacho: idiomatic
[11:05:59] *** anwari333 has quit IRC
[11:06:00] <sacho> sure
[11:06:08] <sacho> you're assigning properties to it
[11:06:13] <sacho> if that's what you want, then it's ok
[11:06:26] *** Bharath has joined #angularjs
[11:06:32] <Mattias> sacho: No, sending a request to a third party server (their api). and their third party server whitelists ip-addresses.
[11:06:33] <tschundeee> :)
[11:06:58] <sacho> Mattias, well, it would still be the client's ip.
[11:07:14] *** mtorres1624_____ has quit IRC
[11:07:22] *** mtorres1624_____ has joined #angularjs
[11:07:23] *** SeeThruHead has joined #angularjs
[11:07:26] <sacho> although that sounds like an odd thing to do.
[11:07:28] <intellix> is there up to date documentation regarding ui-router anywhere? this seems totally out of date to me: http://angular-ui.github.io/ui-router/site/#/api
[11:07:37] <Mattias> sacho: exactly, which is why I need to do this in php on my server, making an api there that angular can use. which will then be the servers ip (the whitelisted ip)
[11:07:41] *** tech2 has quit IRC
[11:07:52] <Mattias> sacho: that api will just proxy
[11:07:52] *** mityaz has joined #angularjs
[11:08:25] *** azizur has joined #angularjs
[11:08:32] *** ahtik has joined #angularjs
[11:08:36] <Mattias> sacho: Their api is outdated, I'll have to work with SOAP/XML... so by writing this API proxy I can convert to json at the same time
[11:08:45] <tschundeee> intellix: why would one use this?
[11:08:53] <intellix> use ui-router?
[11:09:00] <tschundeee> intellix: yup
[11:09:05] *** mtorres1624_____ has quit IRC
[11:09:10] <tschundeee> ng-route is sufficient imho
[11:09:13] <intellix> I thought most people used ui-router
[11:09:17] *** mtorres1624_____ has joined #angularjs
[11:09:24] <sacho> why does it seem out of date?
[11:09:30] *** Typher has quit IRC
[11:09:40] <intellix> for instance: no reference to any of the stuff in 0.2.11: https://github.com/angular-ui/ui-router/pull/1032
[11:09:58] *** _tpavel has quit IRC
[11:10:16] <intellix> the params object in $stateProvider mentions it being an array that cannot be there with the URL parameter, which was changed in 0.2.11
[11:10:34] *** D-Boy has joined #angularjs
[11:10:34] <intellix> this is the branch used for the ng-docs? https://github.com/angular-ui/ui-router/tree/ngdoc it says 0.2.8
[11:10:54] *** mtorres1624_____ has quit IRC
[11:11:09] <Mattias> sacho: was that question to me? Well, for one, it is very old, and one of their developers said exactly that to me, "It is a little bit outdated". i.e. not modern code or how you'd expect a modern api to be.
[11:11:12] *** mtorres1624_____ has joined #angularjs
[11:11:39] <sacho> intellix, looks like their guides are out of date for that as well
[11:12:06] <tschundeee> intellix: what do you need in uirouter that you don't get in ngRoute?
[11:12:07] *** SeeThruHead has quit IRC
[11:12:18] *** siddart has joined #angularjs
[11:12:30] *** Cydmax has joined #angularjs
[11:12:38] <tschundeee> sacho: $routeParams are also available in ngRoute. See: https://docs.angularjs.org/api/ngRoute/service/$routeParams
[11:12:48] <tschundeee> in case you say routeParams :D
[11:12:49] *** Bharath has quit IRC
[11:13:04] <Grokling> tschundeee: nested states is a big one..
[11:13:06] <sacho> I'm aware
[11:13:14] *** mtorres1624_____ has quit IRC
[11:13:22] *** mtorres1624_____ has joined #angularjs
[11:13:31] <tschundeee> Grokling: I'm using a shell controller for nested states
[11:14:06] <intellix> nested states, multiple-named states..... the whole states thing alone is what I use it for
[11:14:13] *** monir has quit IRC
[11:14:22] *** deyna has joined #angularjs
[11:14:27] <intellix> so I can do: ui-sref="home"...... and doesn't matter if I change the URL, the href is generated from that
[11:14:41] <deyna> morning guys, any protractor gurus around?
[11:14:45] <tschundeee> intellix: okay so you need reverse routing
[11:15:05] *** mtorres1624_____ has quit IRC
[11:15:06] <intellix> I like that I can do: ui-sref="view({id: thingy.id})"
[11:15:12] *** mtorres1624_____ has joined #angularjs
[11:15:25] *** bharath has joined #angularjs
[11:15:35] <tschundeee> could be solved easily by assigning the url to a variable and using that variable to bind the controllers. in your views you could simply refer to the url variable
[11:15:50] *** anwari333 has joined #angularjs
[11:15:53] <bharath> what exactly it means $abc,abc?
[11:15:57] *** Skrypter_ has joined #angularjs
[11:15:59] <tschundeee> intellix: okay I see I see you like this railsy type of routing
[11:16:18] *** spaceonline has joined #angularjs
[11:16:23] *** mtorres1624_____ has quit IRC
[11:16:37] <deyna> morning guys, any protractor gurus around?
[11:16:42] <intellix> you can even specify types for your parameters like: /users/1,2,3,4 and specify that those are an array of numbers, so in your controller you already have an array of parameters
[11:16:53] *** mtorres1624_____ has joined #angularjs
[11:16:57] *** nerder has joined #angularjs
[11:17:04] <intellix> rather than having that in your controller :D
[11:17:20] *** jacuqesdancona has joined #angularjs
[11:17:52] <intellix> the next thing I'm after, is being able to have aliased URLs for SEO.... so an SEO manager would generate a JSON of aliased URLs from a CMS
[11:18:02] <tschundeee> intellix: nothing magical about that but sure go for it if you like to include that library. I try to keep the 3rd party lib count as small as possible
[11:18:19] <jlebrech> is there a way for an event to know the context of an ng-repeat it's in?
[11:18:19] *** mtorres1624_____ has quit IRC
[11:18:23] <intellix> /campaigns = /promotions.... my ui-sref references would automatically use the new URL, since they're coupled to the state and not the URL
[11:18:30] *** Skrypter has quit IRC
[11:18:44] <bharath> intelliex:parameter declaration for only controller
[11:18:49] *** mtorres1624_____ has joined #angularjs
[11:18:56] *** stormpat has quit IRC
[11:19:15] <tschundeee> intellix: you gathered experience with angular and SEO? how good is the google crawler?
[11:19:59] <intellix> prerender.io
[11:20:20] *** mtorres1624_____ has quit IRC
[11:20:39] <intellix> super easy. I'm hosting it myself, directing bots to my prerender service and using the S3 adapter to cache the results
[11:20:39] *** larsam has quit IRC
[11:20:45] *** mtorres1624_____ has joined #angularjs
[11:21:01] *** Oddman has quit IRC
[11:21:33] *** Sky[x] has quit IRC
[11:22:03] *** _tpavel has joined #angularjs
[11:22:19] <tschundeee> intellix: you know that google added support for angular?
[11:22:35] *** jaydubya has joined #angularjs
[11:22:39] *** mtorres1624_____ has quit IRC
[11:22:45] <intellix> yep, but if half your site is generated from API calls, it snapshots an empty website. Prerender waits for AJAX calls to resolve before snapshotting
[11:22:46] *** mtorres1624_____ has joined #angularjs
[11:23:10] *** tech2 has joined #angularjs
[11:23:31] *** chintanparikh has joined #angularjs
[11:24:08] *** mtorres1624_____ has quit IRC
[11:24:11] <tschundeee> intellix: really?! I thought they also wait
[11:24:24] *** L42y has quit IRC
[11:24:28] <dan2k3k4> how I can use templateUrl in a directive and set it to "if template_file exists load template_file, else load defaultTemplate" ?
[11:24:36] *** mtorres1624_____ has joined #angularjs
[11:24:39] <intellix> think they just parse the JS and snap. When we previewed the site in Webmaster tools, the site was empty
[11:24:50] *** doginal has quit IRC
[11:24:51] *** gazbond has joined #angularjs
[11:24:58] <tschundeee> intellix: so stupid
[11:25:01] <dan2k3k4> I could set myDirective="template_file" ? but can I get the attr and set templateUrl if attr set, else use default url ?
[11:25:08] <chintanparikh> Hey people, I'm super new to Angular, running into a bit of a problem
[11:25:10] <intellix> but I guess, how long is a spider going to wait for your site exactly? :D
[11:25:33] <chintanparikh> Here's my code: https://gist.github.com/chintanparikh/a58d65195ddb0a27a3fd. Basically, I don't want $scope.videos to update unless the new search results are different, but for some resaon it always updates
[11:25:33] *** au_khan has joined #angularjs
[11:25:36] <chintanparikh> Any idea why?
[11:25:44] *** ProLoser has quit IRC
[11:25:45] <au_khan> Hi guys
[11:26:09] *** mtorres1624_____ has quit IRC
[11:26:21] <tschundeee> intellix: indexing without waiting for the api calls makes the whole thing senseless. an angular app usually gets its content from apis
[11:26:25] <au_khan> Im a trainee and I started learning AngularJs can i dusturb u guys with some questions?
[11:26:28] *** mtorres1624_____ has joined #angularjs
[11:26:45] <tschundeee> au_khan: just ask
[11:26:55] <intellix> well I don't think it's that Google now support angular, but can read JavaScript
[11:27:02] *** patrick99e99 has joined #angularjs
[11:27:20] *** cannap has joined #angularjs
[11:27:30] <tschundeee> intellix: what are you using in the backend?
[11:27:40] <chintanparikh> It looks like assigning something to a $scope variable modifies the variable? Does that sound right?
[11:27:45] <intellix> ZF2/Apigility
[11:28:11] *** mtorres1624_____ has quit IRC
[11:28:15] <sacho> ugh, coffeescript
[11:28:22] *** jstroem has quit IRC
[11:28:26] *** mtorres1624_____ has joined #angularjs
[11:28:27] <chintanparikh> Haha sorry, coming for a Rails background
[11:28:31] <chintanparikh> from
[11:28:32] <sacho> chintanparikh, resource.query() returns a new object or array
[11:28:40] <sacho> == compares objects by identity
[11:28:47] *** jstroem has joined #angularjs
[11:28:52] *** ProLoser has joined #angularjs
[11:28:54] <sacho> e.g. var a = {}, var b = {}; a != b
[11:28:57] <tschundeee> chintanparikh: it depends on what you mean by assigning. if you are using scope variables you can change them in the view if bound to some input field for example and automagically have the variable content in the controller
[11:29:10] <au_khan> So I was having a look at material.angularjs.org what do u guys think about it? can i present this as a the design framework for my new project ? or is it to unstable?
[11:29:16] <chintanparikh> sacho: Whoa okay I didn't know that about js
[11:29:21] <tschundeee> intellix: I went with golang
[11:29:23] <chintanparikh> sacho: So what's the right way to compare them?
[11:29:27] *** jstroem has quit IRC
[11:29:32] *** gnrlbzik has joined #angularjs
[11:29:33] <sacho> chintanparikh, furthermore, search_result will only be updated when the query promise is resolved
[11:29:37] <sacho> so you'd actually need code like this:
[11:29:44] *** jstroem has joined #angularjs
[11:30:01] <tschundeee> performance is hardcore
[11:30:12] <sacho> search_result.$promise.then(function success() { // compare search_result with videos })
[11:30:16] *** mak`` has joined #angularjs
[11:30:23] *** Left_Turn has joined #angularjs
[11:30:34] <waverider> is there a way for a directive to access a child form scope?
[11:30:35] *** mtorres1624_____ has quit IRC
[11:30:41] <sacho> chintanparikh, well, that really depends when you consider the results to be the same
[11:30:42] *** mtorres1624_____ has joined #angularjs
[11:30:50] <waverider> I just need to $broadcast an event on a child scope
[11:30:53] *** mrwn has quit IRC
[11:31:35] <sacho> chintanparikh, you could try using https://lodash.com/docs#isEqual
[11:31:38] *** stormpat has joined #angularjs
[11:31:44] *** gazbond has quit IRC
[11:31:44] *** stormpat has quit IRC
[11:31:57] *** patrick99e99 has quit IRC
[11:32:07] *** lakshitha has joined #angularjs
[11:32:19] <chintanparikh> sacho: Looks like it was the promise that was the issue, thanks!
[11:32:21] *** Typher has joined #angularjs
[11:32:22] *** Duty has joined #angularjs
[11:32:47] *** iffraff has quit IRC
[11:33:02] *** dannyc has joined #angularjs
[11:33:12] *** sk87 has quit IRC
[11:33:53] *** jaydubya has quit IRC
[11:34:28] *** iffraff has joined #angularjs
[11:34:52] *** mtorres1624_____ has quit IRC
[11:35:04] *** lexek_ has quit IRC
[11:36:06] *** eristic has quit IRC
[11:36:23] *** au_khan has quit IRC
[11:37:21] <Inge-> Anyone know what the current TOS with Apple is? Can you do payment for your in-app content on your website, and when logged in to your app you give the user access to content? As per this article from 2011: http://www.macrumors.com/2011/06/09/apple-reverses-course-on-in-app-subscriptions/
[11:37:24] *** m8 has quit IRC
[11:37:41] *** dannyc has quit IRC
[11:37:50] *** sacho_ has joined #angularjs
[11:38:01] *** favetelinguis has quit IRC
[11:38:15] *** eristic has joined #angularjs
[11:38:37] *** favetelinguis has joined #angularjs
[11:38:38] *** Click66 has quit IRC
[11:40:41] *** Foxandxss has joined #angularjs
[11:41:12] *** ccohn has joined #angularjs
[11:41:22] *** Shai-Tan has quit IRC
[11:41:25] *** sacho has quit IRC
[11:42:03] *** psi_ is now known as Psi|4ward
[11:42:49] *** okdamn has joined #angularjs
[11:42:57] *** favetelinguis has quit IRC
[11:43:10] *** Skrypter has joined #angularjs
[11:43:56] *** aendrew has joined #angularjs
[11:44:31] *** aendrew has joined #angularjs
[11:45:09] *** asteriskATmarmuD has left #angularjs
[11:45:22] *** Skrypter_ has quit IRC
[11:45:57] *** ccohn has quit IRC
[11:45:58] *** cinch has joined #angularjs
[11:46:24] *** fedenunez has quit IRC
[11:46:52] *** oliverson has quit IRC
[11:47:59] *** cinch has left #angularjs
[11:48:10] *** sk87 has joined #angularjs
[11:48:14] *** blomman has quit IRC
[11:49:00] *** blomman has joined #angularjs
[11:49:00] *** favetelinguis has joined #angularjs
[11:49:26] *** davesidious__ is now known as davesidious
[11:50:34] *** JohnBat26 has quit IRC
[11:50:58] *** Cydmax has quit IRC
[11:51:29] *** chintanparikh has quit IRC
[11:52:18] *** sandelius has quit IRC
[11:52:19] *** jstroem has quit IRC
[11:53:03] *** Kosre has joined #angularjs
[11:53:37] *** blomman has quit IRC
[11:54:12] <dan2k3k4> hmm
[11:54:27] *** fedenunez has joined #angularjs
[11:55:28] *** deyna has quit IRC
[11:55:36] <dan2k3k4> I have myApp.value('jsonVar', '{"name":"Ralph"}'); - and set that in Controller $scope.jsonVar = jsonVar... however, how can I do "jsonVar.name" in a template?
[11:56:06] <dan2k3k4> {{jsonVar}} outputs: {"name":"Ralph"} but jsonVar.name doesn't do anything
[11:56:14] <okdamn> dank2k3k4 {{jsonVar.name}}
[11:56:24] <okdamn> impossible
[11:56:41] *** sandelius has joined #angularjs
[11:56:44] <okdamn> only possible if u change it before is printed
[11:57:13] *** jstroem has joined #angularjs
[11:57:55] *** Kosre has quit IRC
[11:58:00] *** slashroot_ has joined #angularjs
[11:58:07] <Foxandxss> dan2k3k4: you're doing it wrong then
[11:58:07] *** Rejected has joined #angularjs
[11:58:09] <Foxandxss> it should work
[11:58:25] <dan2k3k4> okdamn, hmm had to do $scope.my_data = angular.fromJson(my_data);
[11:58:39] *** deyna has joined #angularjs
[11:58:41] <Foxandxss> oh wait wait wait
[11:58:46] <Foxandxss> didn't saw the quotes
[11:58:48] <dan2k3k4> maybe I'll put that in the myApp.value() call ?
[11:58:55] <Foxandxss> yeah, you need to do that
[11:59:08] *** AngularUI has joined #angularjs
[11:59:08] <AngularUI> [ng-grid] ajgustafsson opened pull request #2036: include filter height when calculating grid height (master...includeFiltersGridHeight) http://git.io/ghBaXA
[11:59:08] *** AngularUI has left #angularjs
[11:59:18] <dan2k3k4> myApp.val('data', angular.fromJson(<?=$this->layout()->data?>)) ?
[11:59:26] <dan2k3k4> or is it better inside the Controller?
[11:59:43] <okdamn> Foxandxss: i saw angular 2 ng-europe changes
[11:59:43] *** jstroem has quit IRC
[11:59:44] *** sandelius has quit IRC
[11:59:49] *** jMyles has quit IRC
[12:00:02] *** jstroem has joined #angularjs
[12:00:16] <okdamn> Foxandxss: why they also didnt changed the name? is maybe the only thing not changed or im wrong?
[12:00:18] <okdamn> :D
[12:00:35] <dan2k3k4> ahh hmm I had
[12:00:54] *** dimetron has joined #angularjs
[12:01:23] <dan2k3k4> myApp.value('foo', '<=$bar?>'); which should have been: just myApp.value('foo', $bar);
[12:01:25] *** dimetron has quit IRC
[12:01:52] <Foxandxss> uhh, you are doing weird things
[12:02:01] *** jstroem has quit IRC
[12:02:11] *** FabianCodeMaster has joined #angularjs
[12:02:25] *** Skrypter has quit IRC
[12:02:28] *** phuh has quit IRC
[12:02:29] *** jstroem has joined #angularjs
[12:02:33] <okdamn> dan2k3k4: what the ending goal ?
[12:02:59] *** pdillinger has joined #angularjs
[12:03:11] *** phuh has joined #angularjs
[12:03:43] *** drej has joined #angularjs
[12:04:04] <dan2k3k4> okdamn, well $bar is json_encode($someData);
[12:04:25] <dan2k3k4> and I needed to just access one property from someData in a template
[12:04:27] <dan2k3k4> works now
[12:04:28] *** ProLoser has quit IRC
[12:04:34] <FabianCodeMaster> hallo
[12:04:45] *** au_kh has joined #angularjs
[12:05:05] *** sheplu has joined #angularjs
[12:05:13] *** slashroot_ has quit IRC
[12:05:42] <lakshitha> hi all, i am using angular in my site, i want to redirect users to login page if session has expired
[12:05:49] <lakshitha> what is the best way to do it?
[12:06:21] *** qwebirc273754 has joined #angularjs
[12:06:24] <okdamn> dan2k3k4: ok !
[12:07:04] <Foxandxss> lakshitha: backend will send 401 errors when there is no session
[12:07:09] *** niop has quit IRC
[12:07:10] <dan2k3k4> it's weird because we have a zf2 app that used jQuery and moved some things to angular :/ and try to do 'one app' for 100 projects
[12:07:13] <Foxandxss> so you need to listen to that and redirect to login
[12:07:23] *** Squarepy has joined #angularjs
[12:07:39] <dan2k3k4> where each project requires slightly different things :( so we inject project name as directive etc.
[12:07:47] *** mrwn has joined #angularjs
[12:07:53] *** jstroem has quit IRC
[12:08:09] *** SeeThruHead has joined #angularjs
[12:08:24] *** jstroem has joined #angularjs
[12:08:53] *** m8 has joined #angularjs
[12:09:31] *** FabianCodeMaster has quit IRC
[12:09:46] *** Duty has quit IRC
[12:11:56] *** nytrm has quit IRC
[12:12:45] *** SeeThruHead has quit IRC
[12:13:01] *** qwebirc273754 has quit IRC
[12:13:07] *** marshall_ has joined #angularjs
[12:14:27] *** TyrfingMjolnir has joined #angularjs
[12:15:18] *** ssawickik has quit IRC
[12:15:40] *** jaydubya has joined #angularjs
[12:16:49] *** Shai-Tan has joined #angularjs
[12:17:39] *** Guest79229 has joined #angularjs
[12:17:59] *** onats has joined #angularjs
[12:18:02] *** marshall_ has quit IRC
[12:18:41] *** bmcgee has joined #angularjs
[12:18:49] *** Schtive has joined #angularjs
[12:19:48] <lakshitha> Foxandxss, u mean a solution like in , http://www.espeo.pl/authentication-in-angularjs-application/
[12:19:48] *** fedenunez has quit IRC
[12:20:21] <Foxandxss> the interceptor is good
[12:20:23] *** gazbond has joined #angularjs
[12:20:33] <Foxandxss> I don't like all the events thing tho
[12:20:42] *** fedenunez has joined #angularjs
[12:20:56] *** cotko has joined #angularjs
[12:22:23] *** waverider has quit IRC
[12:22:28] *** au_kh has quit IRC
[12:23:14] <dan2k3k4> hmm I assume I need to apply or compile inside link: directive $scope.$on('myEvent', function() { // re-compile the template here ? }
[12:23:18] *** wd40s has joined #angularjs
[12:24:34] *** mjs2600 has joined #angularjs
[12:24:35] *** jstroem has quit IRC
[12:24:54] *** Sjimi has quit IRC
[12:25:06] *** jstroem has joined #angularjs
[12:26:16] *** dharmit has quit IRC
[12:26:33] *** amphetamines has joined #angularjs
[12:26:51] *** slopjong has quit IRC
[12:27:09] *** jstroem has quit IRC
[12:27:12] *** RangerRick has quit IRC
[12:27:20] *** slopjong_ has quit IRC
[12:27:27] *** jstroem has joined #angularjs
[12:27:30] *** RangerRick has joined #angularjs
[12:28:16] *** ogdabou has quit IRC
[12:28:24] *** wd40s has quit IRC
[12:28:56] *** rzec_ has quit IRC
[12:28:59] *** laurensclaessen has quit IRC
[12:29:43] *** mrwn has quit IRC
[12:29:51] <dan2k3k4> compile doesn't do it :/ I need to 'reload' the templateUrl for a directive, with the directives' link function using $scope.$on('event', reloadTemplateUrl)
[12:29:53] *** SahanH has joined #angularjs
[12:30:34] *** Guest79229 has quit IRC
[12:30:39] *** apertoire has quit IRC
[12:30:45] *** ciwolsey has joined #angularjs
[12:31:05] *** onats has quit IRC
[12:31:58] *** Oddman has joined #angularjs
[12:32:49] *** dsdeiz_ has joined #angularjs
[12:33:09] *** tarnus has joined #angularjs
[12:33:16] *** laurensclaessen has joined #angularjs
[12:33:36] *** nerder has quit IRC
[12:34:06] *** dsdeiz has quit IRC
[12:34:21] *** drej has quit IRC
[12:34:30] <lakshitha> Foxandxss,
[12:34:54] *** acmehandle has joined #angularjs
[12:35:02] *** Sjimi has joined #angularjs
[12:35:02] <ciwolsey> hello
[12:35:24] <ciwolsey> im just a beginner with angular but can anyone tell me why my ng-click isnt working? https://gist.github.com/ciwolsey/aba65b493c13d2a2ec19
[12:35:26] *** mtsr has joined #angularjs
[12:36:10] <Foxandxss> ciwolsey: you are using controllerAs
[12:36:20] <Foxandxss> so every reference to the controller needs to be done with your alias
[12:36:23] <Foxandxss> AKA colorList
[12:36:35] *** Jon30 has quit IRC
[12:36:43] <ciwolsey> one moment while it sinks in :)
[12:37:34] <ciwolsey> <button ng-click="colorList.changeColors()">Hello</button>
[12:37:37] <ciwolsey> do you mean like this?
[12:38:11] *** tarnus has quit IRC
[12:38:19] *** oktapodi has joined #angularjs
[12:38:43] *** opiates has joined #angularjs
[12:38:48] <ciwolsey> yup that fixed it
[12:39:21] *** opiates has quit IRC
[12:39:49] *** _tpavel has quit IRC
[12:39:56] *** nagappan_ has quit IRC
[12:40:19] *** MaxV has quit IRC
[12:40:41] *** nagappan_ has joined #angularjs
[12:41:23] *** mjs2600 has quit IRC
[12:41:57] *** ccohn has joined #angularjs
[12:42:12] *** ogdabou has joined #angularjs
[12:42:19] *** annlewis has joined #angularjs
[12:42:19] *** amphetamines has quit IRC
[12:42:34] *** deyna has quit IRC
[12:43:08] *** blomman has joined #angularjs
[12:43:17] *** oktapodi has quit IRC
[12:45:47] *** Oddman has quit IRC
[12:45:49] *** pell0 has joined #angularjs
[12:46:02] *** lexek_ has joined #angularjs
[12:46:33] *** fedenunez has quit IRC
[12:46:33] *** ccohn has quit IRC
[12:47:23] *** pelll0 has quit IRC
[12:48:34] *** azizur has quit IRC
[12:50:15] *** Schtive has quit IRC
[12:50:30] *** anjumkaiser has quit IRC
[12:50:31] *** Schtive has joined #angularjs
[12:51:12] *** MaxV has joined #angularjs
[12:51:33] <lakshitha> Foxandxss, actually our back end will return 200, with redirecting to log-in page
[12:51:44] <Foxandxss> return 200 on error?
[12:51:47] *** bePolite has joined #angularjs
[12:51:48] <bePolite> Please do I pace Ajax calls when using angularJS? Controllers?
[12:51:58] <Foxandxss> bePolite: better services
[12:52:04] *** Anygaard has joined #angularjs
[12:52:28] *** fedenunez has joined #angularjs
[12:52:28] <lakshitha> Foxandxss, no error, just 200 with login page html
[12:52:39] *** Typher has quit IRC
[12:52:48] <Foxandxss> but your backend shouldn't redirect you to login page
[12:52:54] *** Jae has quit IRC
[12:52:56] <Foxandxss> (if you are using login pages on angular)
[12:53:08] *** _tpavel has joined #angularjs
[12:53:16] <Foxandxss> if you are managing the login and register in the backend (I mean, non angular pages for that)
[12:53:16] *** Click66 has joined #angularjs
[12:53:19] <Foxandxss> that is fine
[12:53:30] <Foxandxss> well, I would do a 301 then, but your app
[12:53:54] *** MaxV has quit IRC
[12:53:57] <lakshitha> Foxandxss, its basically i m using JAAS, java backend
[12:54:01] *** Sky[x] has joined #angularjs
[12:54:05] <lakshitha> so it will send me the loging page
[12:54:13] <lakshitha> bt i am using angular in front end
[12:54:36] <Foxandxss> no idea of what JAAS is I am afraid
[12:54:47] <Foxandxss> I see
[12:54:53] <Foxandxss> I have no damn idea, sorry
[12:54:53] *** Schtive has quit IRC
[12:54:53] <lakshitha> so some ajax requests i will get log in page if session is invalidated
[12:55:56] <sacho_> ciwolsey, essentially, controllerAs: 'foo' is like having a $scope.foo = this
[12:55:57] *** okdamn has quit IRC
[12:56:05] *** azizur has joined #angularjs
[12:56:22] *** rburns has joined #angularjs
[12:58:21] *** arkin has quit IRC
[12:58:45] *** Guest79229 has joined #angularjs
[13:00:27] *** intellix has quit IRC
[13:01:25] *** lakshitha has quit IRC
[13:01:47] *** Swaroop has quit IRC
[13:02:02] <soee> hey
[13:02:07] *** moritzs has quit IRC
[13:02:32] *** phuh has quit IRC
[13:02:34] *** RedOrangeZ has joined #angularjs
[13:02:39] *** Psi|4ward has quit IRC
[13:02:59] *** monir has joined #angularjs
[13:03:06] *** phuh has joined #angularjs
[13:03:17] <ciwolsey> ahh i see
[13:03:25] *** pdillinger has quit IRC
[13:04:02] *** sk87 has quit IRC
[13:06:05] *** Oddman has joined #angularjs
[13:06:39] *** Hootch has joined #angularjs
[13:07:52] *** Fire-Dragon-DoL has joined #angularjs
[13:08:54] *** SeeThruHead has joined #angularjs
[13:11:01] <phzon> hello
[13:11:32] *** mica has joined #angularjs
[13:11:43] <phzon> is it normal that I can't use <element src="{{1}}"/>
[13:11:43] <phzon> ?
[13:11:57] *** mica has left #angularjs
[13:12:03] <phzon> I get Strict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required
[13:12:06] <phzon> don't know why
[13:12:15] <phzon> but only if I use src attribute
[13:13:30] *** SeeThruHead has quit IRC
[13:13:47] *** mrwn has joined #angularjs
[13:13:51] *** duall has joined #angularjs
[13:13:54] *** fedenunez has quit IRC
[13:15:13] <duall> What's the best way to call directive function like myDirective.editSomeHtml('Hi'); from a service ? options I see is ( edit the dom using angular.element, or use $broadcast and listen on directive itself )
[13:15:14] *** larsam has joined #angularjs
[13:15:39] <duall> i find broadcast hacky. cause i have to use $rootScope
[13:15:47] <duall> but so is editing DOM
[13:16:13] *** dsdeiz_ has quit IRC
[13:16:24] <sacho_> use $emit, not broadcast
[13:16:39] *** caitp has joined #angularjs
[13:16:42] <sacho_> why is emitting an event hacky?
[13:17:26] <duall> $rootScope.$emit ?
[13:17:45] <duall> and scope.$on on directive ?
[13:17:52] <sacho_> $rootScope.$on
[13:18:11] <duall> i feel odd, while injecting $rootScope into anything
[13:18:32] *** Oddman has quit IRC
[13:18:41] <duall> is it the recommended way of doing it ?
[13:18:48] <sacho_> recommended by who?
[13:19:14] *** mtorres1624_____ has joined #angularjs
[13:19:16] <duall> community patterns
[13:19:40] *** jlebrech has quit IRC
[13:19:54] <sacho_> sure
[13:20:01] <sacho_> you have other alternatives as well
[13:20:02] *** Hans__ has joined #angularjs
[13:20:10] <sacho_> you could use require
[13:21:38] *** mrded has joined #angularjs
[13:21:59] *** Hootch has quit IRC
[13:22:14] *** oncenull has joined #angularjs
[13:22:38] <duall> basically I'm creating a modal directive, which i want to call from controller, so i inject the ModalService into the controller and call open(), ModalService emits open for the modal directive, and modal directive listens for open and DRAWS the modal :)
[13:22:39] *** mmealling has quit IRC
[13:23:21] *** oncenull has quit IRC
[13:23:45] *** mtorres1624_____ has quit IRC
[13:24:33] <Hans__> hi guys, could u tell me how to open Scripts "ui-bootstrap-tpls-0.11.2.min.js:8:4223". Webstorm always stuck... want to find out my error
[13:26:19] *** FunnyLookinHat has joined #angularjs
[13:26:20] *** laurensclaessen has quit IRC
[13:26:22] *** jstroem has quit IRC
[13:26:22] <sacho_> duall, how does the modal service know a modal directive has been used anywhere?
[13:26:38] *** jstroem has joined #angularjs
[13:26:40] <duall> sacho_, no, i guess it will just emit the event anyway
[13:26:47] <sacho_> duall, at any rate, you could inject the modal service into the directive and "register" with the service
[13:26:54] *** ahtik has quit IRC
[13:27:16] *** jstroem has quit IRC
[13:27:29] <sacho_> e.g. function link() { ModalService.register(//pass controlling object here) }
[13:27:44] <sacho_> if your directive uses a controller you could pass that, or its scope if you place your functionality on it
[13:27:46] *** jstroem has joined #angularjs
[13:28:16] <duall> sacho_, that sounds like a PROPER way
[13:28:21] * sacho_ shrugs
[13:28:22] *** patrick99e99 has joined #angularjs
[13:28:58] <sacho_> in this case, maybe
[13:29:46] <duall> what's the better way. registering a scope or a controller ?
[13:29:56] *** gazbond has quit IRC
[13:30:00] <duall> scope sounds easier but less proper
[13:31:11] *** mrded has quit IRC
[13:31:35] *** jlebrech has joined #angularjs
[13:31:54] *** rburns has quit IRC
[13:32:12] *** PrinceAMD has joined #angularjs
[13:32:17] *** mjs2600 has joined #angularjs
[13:32:31] *** monir has quit IRC
[13:32:45] *** rchavik has quit IRC
[13:33:17] *** patrick99e99 has quit IRC
[13:34:09] *** Sjimi has quit IRC
[13:34:20] *** Click66 has quit IRC
[13:34:43] *** aendrew has quit IRC
[13:34:48] *** mrded_ has joined #angularjs
[13:36:06] *** mrded_ has quit IRC
[13:36:50] *** glaksmono has quit IRC
[13:37:23] *** caitp has quit IRC
[13:37:37] *** Hootch has joined #angularjs
[13:37:55] *** Oddman has joined #angularjs
[13:41:31] *** rightnow has quit IRC
[13:41:37] *** dc has quit IRC
[13:41:43] *** Kosre has joined #angularjs
[13:42:11] *** rightnow has joined #angularjs
[13:42:42] *** ccohn has joined #angularjs
[13:42:47] *** oktapodi has joined #angularjs
[13:44:42] *** jstroem has quit IRC
[13:44:47] *** jstroem_ has joined #angularjs
[13:45:57] *** gnrlbzik has quit IRC
[13:46:04] *** Kosre has quit IRC
[13:46:13] *** gnrlbzik has joined #angularjs
[13:47:22] *** ccohn has quit IRC
[13:47:25] *** MaxV has joined #angularjs
[13:47:31] *** frobs has quit IRC
[13:47:34] *** qdk has quit IRC
[13:47:52] *** alinouman has joined #angularjs
[13:48:07] *** Hans__ has quit IRC
[13:49:36] *** laurensclaessen has joined #angularjs
[13:50:13] *** ClarusCogitatio has quit IRC
[13:50:35] *** gnrlbzik has quit IRC
[13:50:42] *** AlSquire has joined #angularjs
[13:51:22] *** pdillinger has joined #angularjs
[13:52:11] *** laurensclaessen has quit IRC
[13:52:17] *** laurensc_ has joined #angularjs
[13:52:49] *** ClarusCogitatio has joined #angularjs
[13:53:22] *** ProLoser has joined #angularjs
[13:53:34] *** danflies has joined #angularjs
[13:53:43] *** bePolite has quit IRC
[13:53:45] *** Xethron has quit IRC
[13:53:48] *** phzon has quit IRC
[13:53:54] *** tangorri has joined #angularjs
[13:53:55] *** Typher has joined #angularjs
[13:55:16] *** mnngfltg has joined #angularjs
[13:55:48] *** talnti has joined #angularjs
[13:55:48] *** mikhailvs has joined #angularjs
[13:56:32] *** mdedetrich has joined #angularjs
[13:56:44] <mikhailvs> is there a way to send stateParams to a state that are not specified in the url for that state? i am using ui-router
[13:57:11] *** caitp has joined #angularjs
[13:57:13] *** Xethron has joined #angularjs
[13:57:53] *** ProLoser has quit IRC
[13:58:01] *** m8 has quit IRC
[13:58:57] *** annlewis has quit IRC
[13:59:15] *** marshall_ has joined #angularjs
[13:59:24] *** rightnow has quit IRC
[13:59:28] *** tschundeee has quit IRC
[13:59:34] *** aendrew has joined #angularjs
[14:00:17] *** folippi has joined #angularjs
[14:00:25] *** tarnus has joined #angularjs
[14:00:29] *** lsiv568 has joined #angularjs
[14:01:26] *** \du has joined #angularjs
[14:01:26] *** \du has joined #angularjs
[14:01:37] *** tkimmel has joined #angularjs
[14:01:41] *** danflies has quit IRC
[14:01:55] <folippi> Quick question! When I insert a new instance of a directive (by just the $compile()'d element in the dom) I want it to run a method to get data from the server to fill it with content. How can you run a method on creation ofa directive element?
[14:02:05] <folippi> I have the method in my scope
[14:02:34] *** phuh has quit IRC
[14:02:39] *** favetelinguis has quit IRC
[14:03:09] *** phuh has joined #angularjs
[14:03:13] *** favetelinguis has joined #angularjs
[14:03:53] *** \du is now known as ip-\du
[14:03:59] *** rchavik has joined #angularjs
[14:04:29] *** marshall_ has quit IRC
[14:04:33] <folippi> Wait, the answer must be to put that callback in the link function
[14:04:35] *** oktapodi has quit IRC
[14:05:01] *** Xethron_ has joined #angularjs
[14:05:27] *** Xethron has quit IRC
[14:05:30] *** DoubleAW has joined #angularjs
[14:05:34] *** svycka has joined #angularjs
[14:05:44] *** asdef has joined #angularjs
[14:06:01] *** tkimmel has quit IRC
[14:07:13] *** dc has joined #angularjs
[14:07:37] *** favetelinguis has quit IRC
[14:07:56] *** AWAW has quit IRC
[14:08:40] *** naneau has joined #angularjs
[14:08:59] *** mdedetrich has quit IRC
[14:09:15] *** e0ipso|away is now known as e0ipso
[14:09:24] *** sk87 has joined #angularjs
[14:09:43] *** SeeThruHead has joined #angularjs
[14:09:48] *** azizur has quit IRC
[14:10:00] *** foofoobar has quit IRC
[14:10:01] *** VanHuntsman has joined #angularjs
[14:10:08] *** marcjs has joined #angularjs
[14:10:10] *** soee_ has joined #angularjs
[14:10:17] <VanHuntsman> hello everyone
[14:10:36] *** devylon has quit IRC
[14:11:04] *** jdcasey has joined #angularjs
[14:11:08] <VanHuntsman> someone is using a Calendar bound to angularJS ? I've been using ui-calendar directive, but is a big headache.
[14:11:14] <swirlycheetah> how could i benchmark our performance when going from 1.2 to 1.3?
[14:11:14] *** fedenunez has joined #angularjs
[14:11:30] <bd-> i've been using ui-calendar
[14:11:41] *** dsdeiz has joined #angularjs
[14:11:44] <swirlycheetah> i need some metrics, things seem snappier but i want so proper data
[14:11:47] <bd-> not really had any major issues with it, although it can be a fair bit of work to get all working the way you want
[14:12:01] <swirlycheetah> want sime*
[14:12:02] *** wd40s has joined #angularjs
[14:12:03] <swirlycheetah> some*
[14:12:06] <swirlycheetah> wow
[14:12:57] *** anapitupulu has joined #angularjs
[14:13:05] *** numenor has quit IRC
[14:13:09] *** soee has quit IRC
[14:13:12] <VanHuntsman> bd-: are you using angular 1.3?
[14:13:17] <Foxandxss> keyboards hate us
[14:13:22] *** Ajans has quit IRC
[14:13:35] *** lite_ has quit IRC
[14:13:36] <swirlycheetah> yes, yes they do
[14:13:41] *** duall has quit IRC
[14:13:48] <VanHuntsman> and fullcalendar 2.x?
[14:13:48] <swirlycheetah> mine is in friday mode
[14:13:53] *** caitp has quit IRC
[14:13:53] *** tomnewmann has joined #angularjs
[14:14:11] <dan2k3k4> :o
[14:14:20] *** storkme has left #angularjs
[14:14:27] *** SeeThruHead has quit IRC
[14:14:39] <asdef> Is it possible to use variable from directive in controller?
[14:15:26] *** _ritchie_ has joined #angularjs
[14:15:59] *** intellix has joined #angularjs
[14:16:10] *** dsdeiz has quit IRC
[14:16:18] *** breaddes has quit IRC
[14:16:22] *** slopjong_ has joined #angularjs
[14:16:22] *** slopjong has joined #angularjs
[14:16:43] *** dsdeiz has joined #angularjs
[14:16:44] *** wd40s has quit IRC
[14:17:14] *** loverajoel has joined #angularjs
[14:17:22] *** mccarrontr1ck has joined #angularjs
[14:17:43] *** aendrew has quit IRC
[14:17:59] *** asdef has quit IRC
[14:19:52] *** tomnewmann has quit IRC
[14:20:20] *** tomnewmann has joined #angularjs
[14:20:20] *** aendrew has joined #angularjs
[14:20:29] *** Oddman has quit IRC
[14:20:33] *** rosieres has joined #angularjs
[14:20:40] *** wd40s has joined #angularjs
[14:21:12] *** onats has joined #angularjs
[14:21:28] *** naneau has quit IRC
[14:22:09] <Leon> no
[14:22:20] *** ehalas has joined #angularjs
[14:23:43] *** Schtive has joined #angularjs
[14:23:54] *** ahtik has joined #angularjs
[14:24:08] *** shinnya has joined #angularjs
[14:24:24] *** akrikos has joined #angularjs
[14:24:40] *** nya has quit IRC
[14:24:55] *** dwahlin has joined #angularjs
[14:25:16] *** aendrew has quit IRC
[14:25:31] <dwahlin> If you have multiple ng-includes bringing in content, do you a controller for each ng-include
[14:26:23] *** ajk27 has quit IRC
[14:26:47] *** ajk27 has joined #angularjs
[14:27:05] *** deyna has joined #angularjs
[14:27:11] *** Fishy has quit IRC
[14:27:17] <dwahlin> If you have multiple ng-includes bringing in content, do you a controller for each ng-include
[14:27:26] *** Orbitrix has quit IRC
[14:27:27] *** tfennelly has quit IRC
[14:27:28] *** gazbond has joined #angularjs
[14:27:46] <dwahlin> anyone around
[14:28:34] *** phaggood has joined #angularjs
[14:28:43] <dwahlin> If you have multiple ng-includes bringing in content, do you a controller for each ng-include
[14:28:49] <odin_> anyone seen the angularjs factory pattern for "ondeviceready" where you can do cordovaReady(function(){ /*my code to only run after deviceready state*/}); ?
[14:28:57] *** phzon has joined #angularjs
[14:29:40] <odin_> http://briantford.com/blog/angular-phonegap search for "cordovaReady" for example of factory
[14:30:01] *** tfennelly has joined #angularjs
[14:30:22] *** tomnewmann has quit IRC
[14:30:42] *** Asiajey has joined #angularjs
[14:30:54] *** tomnewmann has joined #angularjs
[14:31:06] *** hswolff has quit IRC
[14:31:29] <odin_> I'm trying to understand how it can work, is there one addEventListener() set, or one per use ? it reads as one per use
[14:31:41] *** ctanga has joined #angularjs
[14:31:43] *** Drognan has quit IRC
[14:31:47] *** MalteJ has joined #angularjs
[14:32:05] <odin_> in which case, why is the "queue.push()" inside a method? and not setup as "var queue = [Array.prototype.slice.call(argument)];"
[14:32:06] *** santiwilly has joined #angularjs
[14:32:20] *** AWAW has joined #angularjs
[14:32:21] *** hswolff has joined #angularjs
[14:32:31] *** michaelfavia has joined #angularjs
[14:32:34] *** bmcgee has quit IRC
[14:32:38] <odin_> because when this is used after deviceready no callback it run, and the addEventListener() invoked the callback, but queue is empty!
[14:32:46] *** anapitupulu has quit IRC
[14:33:20] *** g3funk is now known as braidn
[14:33:38] *** caitp has joined #angularjs
[14:33:43] <odin_> also why have a queue as an Array in the first place, it can only be 0 or 1 elements
[14:33:46] *** blomman has quit IRC
[14:33:50] *** _tpavel has quit IRC
[14:34:03] *** deanclkclk has joined #angularjs
[14:34:20] *** ehalas2 has joined #angularjs
[14:34:40] *** blomman has joined #angularjs
[14:34:43] *** duall has joined #angularjs
[14:34:54] <sacho_> that's not true.
[14:35:15] <sacho_> once you wrap your function - var wrapped = cordovaReady(myfunc), you can call it multiple times.
[14:35:58] *** DoubleAW has quit IRC
[14:36:12] *** thomastuts has quit IRC
[14:36:22] <sacho_> that covers your "why is the queue.push.." question as well
[14:36:36] *** thomastuts has joined #angularjs
[14:36:38] <sacho_> there's one listener for each wrapper you create
[14:37:04] *** dwahlin has quit IRC
[14:37:51] *** dannyc has joined #angularjs
[14:37:59] *** tristanp has joined #angularjs
[14:38:27] *** rchavik has quit IRC
[14:38:36] *** deanclkclk has quit IRC
[14:38:38] <caitp> good news guys
[14:38:41] *** ehalas has quit IRC
[14:38:46] *** danflies has joined #angularjs
[14:38:48] <caitp> v8 is moving to git on november 12th between 6 and 7 pm CET!
[14:38:50] *** Efrem has joined #angularjs
[14:38:56] <caitp> isn't that exciting
[14:39:14] *** ehalas has joined #angularjs
[14:39:35] <sacho_> well
[14:39:38] *** Orbitrix has joined #angularjs
[14:40:02] *** mmealling has joined #angularjs
[14:40:08] *** Oddman has joined #angularjs
[14:40:19] *** ehalas2 has quit IRC
[14:40:59] *** danecando has quit IRC
[14:41:08] *** e0ipso is now known as e0ipso|away
[14:41:37] *** tomnewmann has quit IRC
[14:41:52] *** dannyc has quit IRC
[14:42:43] *** ehalas has quit IRC
[14:43:03] *** tomnewmann has joined #angularjs
[14:43:24] *** ccohn has joined #angularjs
[14:43:51] *** ehalas has joined #angularjs
[14:44:35] *** tomnewmann has quit IRC
[14:44:37] *** michaelfavia has quit IRC
[14:44:39] *** devylon has joined #angularjs
[14:44:49] *** tomnewmann has joined #angularjs
[14:45:11] *** tomnewmann has quit IRC
[14:45:35] *** tomnewmann has joined #angularjs
[14:46:07] *** knownasilya has joined #angularjs
[14:46:23] *** pelll0 has joined #angularjs
[14:46:48] <masscrx> anybody with infinite scrolling on ui-select ?
[14:46:51] *** jeffszusz has joined #angularjs
[14:47:17] *** pell0 has quit IRC
[14:47:51] *** blomman has quit IRC
[14:48:27] *** tomnewmann has quit IRC
[14:48:39] *** ccohn has quit IRC
[14:48:46] *** tomnewmann has joined #angularjs
[14:49:05] *** pdillinger has quit IRC
[14:49:35] *** m8 has joined #angularjs
[14:49:54] *** tomnewmann has quit IRC
[14:50:41] *** rightnow has joined #angularjs
[14:51:39] *** thomastuts has quit IRC
[14:53:08] *** rchavik has joined #angularjs
[14:53:33] *** Oddman has quit IRC
[14:53:34] *** mrwn has quit IRC
[14:55:23] *** Asiajey has quit IRC
[14:55:29] *** Asiajey has joined #angularjs
[14:55:29] *** Asiajey has joined #angularjs
[14:56:08] *** mrwn has joined #angularjs
[14:56:51] *** BillCriswell has joined #angularjs
[14:57:10] *** blomman has joined #angularjs
[14:57:12] *** jaydubya has quit IRC
[14:57:37] *** soee_ is now known as soee
[14:59:34] *** monir has joined #angularjs
[15:00:05] *** thomastuts has joined #angularjs
[15:00:12] *** ccohn has joined #angularjs
[15:01:03] *** annlewis has joined #angularjs
[15:01:10] *** dsdeiz has quit IRC
[15:01:27] *** FunnyLookinHat has quit IRC
[15:01:45] *** mvovchak has joined #angularjs
[15:01:51] *** dsdeiz has joined #angularjs
[15:02:25] *** onats has quit IRC
[15:02:35] *** phuh has quit IRC
[15:03:01] *** phuh has joined #angularjs
[15:03:42] *** LossFor has joined #angularjs
[15:03:56] *** JBreit has quit IRC
[15:04:03] *** danecando has joined #angularjs
[15:04:35] *** Squarepy has quit IRC
[15:04:39] *** Kosre has joined #angularjs
[15:04:41] *** aendrew has joined #angularjs
[15:04:41] *** pdillinger has joined #angularjs
[15:05:21] *** onats has joined #angularjs
[15:05:25] *** tkimmel has joined #angularjs
[15:05:49] *** FIFOd[a] has joined #angularjs
[15:06:20] *** lsiv568 has quit IRC
[15:06:35] *** onats has quit IRC
[15:06:59] *** cboden has joined #angularjs
[15:07:28] *** laurensc_ has quit IRC
[15:07:39] *** macobo has quit IRC
[15:07:40] *** bengillies has quit IRC
[15:08:02] *** mtorres1624_____ has joined #angularjs
[15:08:45] *** Efrem is now known as Efrem-Away
[15:09:05] *** aendrew has quit IRC
[15:09:05] *** Kosre has quit IRC
[15:09:35] *** dman777_alter has joined #angularjs
[15:10:24] <BahamutWC|Laptop> http://eisenbergeffect.bluespire.com/all-about-angular-2-0/
[15:10:29] *** SeeThruHead has joined #angularjs
[15:10:33] *** nerder has joined #angularjs
[15:11:24] <zomg> Is it another article talking about how bad it is?
[15:11:27] <zomg> :D
[15:11:28] *** qdk has joined #angularjs
[15:11:49] <zomg> It's not! How refreshing!
[15:12:15] *** mtorres1624_____ has quit IRC
[15:12:22] *** the-anconia has joined #angularjs
[15:13:02] *** the-anconia has left #angularjs
[15:13:05] *** atomatt has quit IRC
[15:13:06] *** the-anconia has joined #angularjs
[15:13:38] <the-anconia> $scope.user.team = TeamService.getTeam(); — For some reason, {{user.team}} displays nothing inside my view
[15:14:05] *** phaggood has quit IRC
[15:14:08] *** juanpablo_ has joined #angularjs
[15:15:09] *** SeeThruHead has quit IRC
[15:15:54] *** jplussier has joined #angularjs
[15:16:04] *** laurensclaessen has joined #angularjs
[15:16:19] *** atomatt has joined #angularjs
[15:16:40] *** araujo has joined #angularjs
[15:16:40] *** araujo has joined #angularjs
[15:16:42] *** pell0 has joined #angularjs
[15:16:54] *** kuadrosx_ has joined #angularjs
[15:17:00] *** kuadrosx_ is now known as kuadrosx
[15:17:23] <jplussier> Hey angular, I'm having trouble with a modal window that because of styling and z-index inheritance issues, I can't seem to be able to nest underneath my ng-controller element. How might I "fix" needing to set up the controller twice?
[15:18:28] *** pelll0 has quit IRC
[15:18:34] *** juanpablo_ has quit IRC
[15:19:27] *** prosper_ has joined #angularjs
[15:19:43] <BahamutWC|Laptop> jplussier: modals tend to be put on the very top level (appended to the body element) and absolutely positioned - any reason that doesn’t work for you?
[15:19:56] *** mven has joined #angularjs
[15:20:03] *** juanpablo_ has joined #angularjs
[15:20:17] *** rburns has joined #angularjs
[15:20:40] *** elrabin has joined #angularjs
[15:20:49] <jplussier> It does work for me, but, when I load my page I end up with two requests to the same resource, one to display some content in a sidebar and the other to set up my modal
[15:20:59] *** michaelfavia has joined #angularjs
[15:21:09] <jplussier> And like you mentioned, modals need to be at a top level in the document
[15:21:14] *** deanclkclk has joined #angularjs
[15:21:21] *** rightnow has quit IRC
[15:21:42] *** e0ipso|away is now known as e0ipso
[15:22:51] *** SeeThruHead has joined #angularjs
[15:22:59] *** mtsr has quit IRC
[15:22:59] *** naneau has joined #angularjs
[15:22:59] *** night-owl is now known as zz_night-owl
[15:23:17] *** mtsr has joined #angularjs
[15:23:17] *** niklasmodess has quit IRC
[15:25:26] *** sqwk has joined #angularjs
[15:25:54] *** duall has quit IRC
[15:25:55] *** TweedleDee has quit IRC
[15:26:07] *** Efrem-Away is now known as Efrem
[15:26:21] *** sqwk has quit IRC
[15:27:24] *** thomastuts has quit IRC
[15:27:36] *** tfennelly has quit IRC
[15:27:39] *** deanclkclk_ has joined #angularjs
[15:27:48] *** Siecje has joined #angularjs
[15:28:54] *** jdj_dk has quit IRC
[15:29:14] *** VanHuntsman has quit IRC
[15:29:16] *** LossFor has quit IRC
[15:29:20] *** xeoncross has joined #angularjs
[15:29:21] *** patrick99e99 has joined #angularjs
[15:29:28] *** xeoncross has quit IRC
[15:30:01] *** xeoncross has joined #angularjs
[15:30:14] *** sqwk has joined #angularjs
[15:30:55] *** mary5030 has joined #angularjs
[15:31:07] *** Oddman has joined #angularjs
[15:31:18] <jplussier> Seems like I need something to dynamically bind my modal to the "parent" controller, so to speak, bummer
[15:31:35] *** rosieres has quit IRC
[15:31:38] *** nagappan_ has quit IRC
[15:32:21] *** nagappan_ has joined #angularjs
[15:32:48] *** lsiv568 has joined #angularjs
[15:32:56] *** monir has quit IRC
[15:33:11] *** surreal-dreams has quit IRC
[15:33:47] *** patrick99e99 has quit IRC
[15:35:24] *** kuadrosx_ has joined #angularjs
[15:35:31] *** krz has quit IRC
[15:36:13] *** azizur has joined #angularjs
[15:36:21] *** deyna has quit IRC
[15:36:49] *** mtorres1624_____ has joined #angularjs
[15:37:17] *** mtsr has quit IRC
[15:37:33] *** mtorres1624_____ has quit IRC
[15:38:37] *** SeeThruHead has quit IRC
[15:39:30] *** kuadrosx has quit IRC
[15:39:34] *** gnrlbzik has joined #angularjs
[15:39:42] <BahamutWC> jplussier: take a look at the source code for something like ui bootstrap's modal
[15:39:42] <caitp> i guess there's a new podcast some dudes made called angular-air
[15:40:00] <zomg> I'm going to jump on the angularjs bashing bandwagon too
[15:40:02] <BahamutWC> that one is built in a way where you can bind the scope you want to a modal
[15:40:05] <zomg> and write a negative article!
[15:40:18] <caitp> eh
[15:40:23] *** lsiv568 has quit IRC
[15:40:26] <caitp> the negative articles pretty much have it spot on
[15:40:30] <zomg> hehe :)
[15:40:31] <caitp> some bad decisions were made
[15:40:35] <jplussier> Yeah that's where I figured out that I'll need to actually generate the template dynamically and bind it back to the scope in app I actually want
[15:40:49] <zomg> Maybe so, but the conclusions they draw are silly
[15:40:54] <BahamutWC> I'm looking forward to 2.0
[15:40:59] <c0bra> everything is terrible; we should all give up programming
[15:40:59] <zomg> Oh no let's not use angularjs because hate
[15:41:09] <BahamutWC> React seems close, but...it's not built for the future atm
[15:41:13] <zomg> Lets jump on another framework because boo hoo
[15:41:22] <caitp> nowadays there are like 7000 issues open, most of them are asking for things that we can't give them, because if we did we'd break a bunch of other people
[15:41:23] <jplussier> Pretty much what this guy did: http://www.grobmeier.de/twitter-bootstrap-modal-angular-js-29082012.html#.VFzaDFPF9WZ
[15:41:29] <caitp> okay, 700 or something
[15:41:35] <c0bra> caitp: I feel your pain
[15:41:45] *** Oddman has quit IRC
[15:41:48] <zomg> I was actually going to write about a gotcha with $index, a legitimate concern that caused us bugs in production instead of some nonsense =)
[15:41:48] <BahamutWC> 2.0 is the first framework considering web components & es6 in its design
[15:41:53] *** hikumealan_ has quit IRC
[15:41:56] *** cboden has quit IRC
[15:42:09] *** ProLoser has joined #angularjs
[15:42:12] *** hikumealan_ has joined #angularjs
[15:42:13] <zomg> Almost none of the issues these bashy articles list have caused any problems for us and we're building a reasonably complex angular app
[15:42:28] *** juanpablo__ has joined #angularjs
[15:42:38] *** duall has joined #angularjs
[15:42:38] *** walden|afk is now known as walden
[15:42:39] <caitp> just the same, angular's idea of scopes is pretty fucked
[15:42:39] <BahamutWC> yeah, most of the negative articles are pretty off the mark I think - not all of course
[15:42:44] *** gurke_ has quit IRC
[15:42:46] <caitp> it's understandable that scopes drive people carzy
[15:42:51] <caitp> because they'd drive anyone crazy
[15:43:01] <zomg> caitp: yeah one of them listed scopes as an issue, particularly with ng-if.. that's like the only thing that has been a bit problematic in practice for us :P
[15:43:10] <BahamutWC> they threw me in for a loop, but I was able to figure them out and move on
[15:43:29] *** poolside has joined #angularjs
[15:43:45] <caitp> yeah i mean you can get around them, but people are like "why is my DOM behaving according to the idiotic rules of javascript"
[15:44:32] <jplussier> I don't get it, why is new shit hard/subjectively bad? Isn't it just new?
[15:44:52] *** surreal-_ has joined #angularjs
[15:44:57] *** jstroem_ has quit IRC
[15:45:03] *** eBureau has joined #angularjs
[15:45:18] *** tsams has joined #angularjs
[15:45:30] *** jstroem has joined #angularjs
[15:45:37] *** lsiv568 has joined #angularjs
[15:45:43] *** rhp2 has quit IRC
[15:45:46] *** nycdevgirl has joined #angularjs
[15:46:04] *** juanpablo_ has quit IRC
[15:46:19] <sacho_> who said it was hard?
[15:46:37] *** ProLoser has quit IRC
[15:46:38] <sacho_> what I don't particularly understand is the massive outrage for going to 2.0 instead of maintaining 1.x
[15:46:40] *** bengillies has joined #angularjs
[15:46:46] *** tsams has quit IRC
[15:46:50] <sacho_> s/maintaining/developing
[15:46:54] *** gurke_ has joined #angularjs
[15:47:11] <sacho_> since the angular team is still maintaining 1.3, and well, the features you can add to it will always be plagued by the design flaws of 1.x
[15:47:19] <BahamutWC> sacho_: because it's a huge time investment for frontend devs to port apps
[15:47:28] *** MANCHUCK has joined #angularjs
[15:47:37] <sacho_> bahamutWC, who says you have to port your app?
[15:47:37] <bd-> i don't think the 2.0 thing is a big deal
[15:47:43] <BahamutWC> sacho_: that wasn't the original case, but it is now - seems like those complaints have been addressed
[15:47:54] <BahamutWC> sacho_: people just want the new shiny heh
[15:47:57] <bd-> they can coexist, just pretend angular2.0 is actually a different framework
[15:48:00] *** marshall_ has joined #angularjs
[15:48:03] <sacho_> BahamutWC, but that doesn't make sense
[15:48:06] <bd-> like, angulardart
[15:48:14] <sacho_> if the angular team doesn't make 2.0, there won't be a new shiny thing
[15:48:27] <sacho_> if they do, people will be mad because they want the new shiny thing and it's hard to migrate over it
[15:48:34] <sacho_> s/over/to
[15:49:09] *** jdcasey has quit IRC
[15:49:23] <swirlycheetah> who here's using ui-router?
[15:49:37] <BahamutWC> swirlycheetah: probably most of this channel :P
[15:49:42] <swirlycheetah> true true
[15:49:44] <sacho_> are you sure you want to poll the channel instead of just asking a question about ui-router?
[15:49:45] *** derrick13 has joined #angularjs
[15:49:49] *** m8 has quit IRC
[15:49:49] <jaznow> Hi, i'm using Angular UI GRID 3.0, and I'm not being able to delete one row, I've been looking for info in Google without luck... anyone could helpme?
[15:49:56] *** gnrlbzik has quit IRC
[15:49:57] <swirlycheetah> a question sorry sacho_
[15:49:57] *** cboden has joined #angularjs
[15:50:04] <sacho_> jaznow, well, do you have a plunker?
[15:50:07] *** m8 has joined #angularjs
[15:50:17] <swirlycheetah> do people use the ui-sref attribute?
[15:50:20] <jplussier> I guess I took $scope being a bad idea as just someones opinion that it's "hard"
[15:50:31] <jaznow> sacho_, i'm going to get it ready and get back to you sacho_ :)
[15:50:44] *** cacts has joined #angularjs
[15:50:45] <BahamutWC> jplussier: well, it's a bit unnatural compared to pure JS classes
[15:50:51] <sacho_> jplussier, no, it really is a bad idea
[15:50:58] <sacho_> not just because "prototypical inheritance is hard"
[15:51:12] <jplussier> Is that a reason at all?
[15:51:18] <jplussier> Or just not "the" reason
[15:51:24] <BahamutWC> the whole parsing of expressions in angular is more complicated than it needs to be
[15:51:25] <sacho_> I don't think it's a reason at all
[15:51:30] <BahamutWC> 2.0 seems to be a vast improvement
[15:51:35] <sacho_> jplussier, consider the communication between scopes
[15:51:42] <jplussier> I do, every day :x
[15:51:44] *** nagappan_ has quit IRC
[15:51:49] *** gurke_ has quit IRC
[15:51:50] <sacho_> well, there you go :p
[15:52:09] <jplussier> lol, right, I guess I just always believed it was buying me something that I didn't know I needed
[15:52:16] *** yoshokatana has joined #angularjs
[15:52:19] <sacho_> but it actually doesn't
[15:52:23] *** nagappan_ has joined #angularjs
[15:52:44] *** marshall_ has quit IRC
[15:53:00] *** elux_ has joined #angularjs
[15:53:32] <jplussier> I guess that's what people mean when they bray about "javascript never learns from the mistakes of other languages", so to speak
[15:53:51] <sacho_> uh, "scopes" the way they're implemented in angular aren't really a javascript problem
[15:53:53] <BahamutWC> jplussier: well, try shifting gears and thinking about how you would design a system to do what you want
[15:54:02] <sacho_> prototypical inheritance isn't a problem either :)
[15:54:03] <BahamutWC> when you take that perspective, you start seeing the design flaws in angular 1.x
[15:54:37] <zomg> It's easy to talk about it after the fact
[15:54:39] <BahamutWC> now, I still think 1.x is generally better than everything else out there, but it's not perfect
[15:54:46] <sacho_> zomg, absolutely
[15:54:49] <sacho_> designing shit is hard
[15:54:49] <zomg> Most of these people who started using angular and are now raging about it couldn't see the problems
[15:54:50] *** mbildner has joined #angularjs
[15:54:52] *** TinkerTyper has quit IRC
[15:55:06] *** elux has quit IRC
[15:55:08] <BahamutWC> yeah, agreed - architecting is actually difficult
[15:55:18] <jplussier> I guess that's why I'm sort of taken aback by the critiques of angular, it's the best thing out there as far as I can see
[15:55:21] *** shinnya has quit IRC
[15:55:27] <zomg> I prefer to be more practical about it
[15:55:28] <jplussier> But I understand the comments
[15:55:36] <zomg> Maybe there are issues, but many of them are trivial to work around
[15:55:37] <sacho_> jplussier, that's hard to say
[15:55:42] <sacho_> jplussier, what are people comparing angular to?
[15:55:49] <BahamutWC> I created this library a week ago, but I'm not quite happy with how I designed it: https://github.com/wesleycho/confetti.js
[15:55:50] <zomg> so from the perspective of actually implementing things it's quite irrelevant
[15:56:04] <zomg> and most of these people complaining about it aren't actually designing tools like angular
[15:56:18] *** elux has joined #angularjs
[15:56:18] <jplussier> Eh, the gamut of user-facing javascript "rich client" libraries
[15:56:23] *** unified012 has joined #angularjs
[15:56:29] <sacho_> but libraries aren't a framework
[15:56:40] <sacho_> for example, if I use jquery and write components, I don't lose control over my components
[15:56:41] <jplussier> yeah that's valid
[15:56:49] <zomg> jplussier: I have the same feeling. I always look at things from the perspective of how it makes my life easier, not how it's been designed wrong =)
[15:56:49] <sacho_> the same way you lose control over your components when you write them in angular
[15:57:01] *** deanclkclk__ has joined #angularjs
[15:57:11] <zomg> Angular definitely is very high up in the list of things that make my life easier
[15:57:23] <jplussier> yeah because angular is designed to enable a bunch of real-life problems easier
[15:57:34] <jplussier> or I believe that's the intent at least
[15:57:43] *** gnrlbzik has joined #angularjs
[15:57:46] *** mven has quit IRC
[15:57:52] <jplussier> err, confused mid sentence, designed to make a bunch of real-life problems easier
[15:57:53] *** Skrypter has joined #angularjs
[15:57:56] <zomg> yeah
[15:58:21] <BahamutWC> I think a good exercise for more devs to do is to try creating their own libraries
[15:58:28] *** elux has quit IRC
[15:58:37] *** thomastuts has joined #angularjs
[15:58:45] *** deanclkclk has quit IRC
[15:58:50] <jplussier> Yeah I think JavaScript as a whole applies to that more than some other languages, too
[15:58:51] <BahamutWC> most devs just consume libraries and try to work around the problems they have
[15:59:07] *** gnrlbzik has quit IRC
[15:59:11] <BahamutWC> and are quick to criticize, but don't want to participate in the creation process
[15:59:11] *** kuadrosx_ is now known as kuadrosx
[15:59:21] *** mven has joined #angularjs
[15:59:33] *** elux has joined #angularjs
[15:59:50] <bd-> i'm not going to create a library if there's one already available that suits
[15:59:51] *** Ajans has joined #angularjs
[15:59:59] *** japhar81 has joined #angularjs
[16:00:04] <bd-> at least not as part of my job
[16:00:12] *** Sjimi has joined #angularjs
[16:00:16] *** TinkerTyper has joined #angularjs
[16:00:19] <jplussier> I think that's valid in any development situation, public facing or not
[16:00:21] <BahamutWC> bd-: there are good lessons to be learned by doing so though
[16:00:24] *** unified0121 has joined #angularjs
[16:00:34] <bd-> sure, if something i need doesn't exist, i'll create a library
[16:00:44] <BahamutWC> of course, not everything needs to be its own libraries, you can pick and choose what to do, but I'm saying it's a good exercise
[16:00:45] *** e0ipso is now known as e0ipso|away
[16:00:45] *** Oddman has joined #angularjs
[16:00:47] <bd-> but to actually build products, it would be suboptimal to do so frequently
[16:00:48] <jplussier> I mean, if you're designing a big green field product for your company, that also applies
[16:01:02] *** unified012 has quit IRC
[16:01:15] *** mary5030 has quit IRC
[16:01:19] <BahamutWC> whether for work or outside of work, the act of doing so in itself is important
[16:01:34] *** gazbond has quit IRC
[16:01:38] *** AndreasLutro has quit IRC
[16:02:15] *** lsiv568 has quit IRC
[16:02:25] *** Oddman has quit IRC
[16:02:27] *** Skrypter has quit IRC
[16:02:34] *** phuh has quit IRC
[16:02:51] *** poofmooter has joined #angularjs
[16:02:54] *** atomatt has quit IRC
[16:03:02] *** phuh has joined #angularjs
[16:03:20] <jaznow> sacho_, I've got ready the plunkr... http://plnkr.co/edit/WZ2CVBFash4EA38sxNJM?p=preview
[16:03:34] *** sk87 has quit IRC
[16:03:55] *** mbildner has quit IRC
[16:04:08] *** scriptThis has quit IRC
[16:04:25] <jaznow> Hi, i'm using Angular UI GRID 3.0, and I'm not being able to delete one row, I've been looking for info in Google without luck... anyone could helpme? Sample: http://plnkr.co/edit/WZ2CVBFash4EA38sxNJM?p=preview
[16:04:41] *** mchammer has quit IRC
[16:05:32] <BahamutWC> jaznow: http://plnkr.co/edit/qlBpcotZeydURhhiOfcU?p=preview
[16:05:53] <sacho_> jaznow, don't write complex expressions in attributes
[16:06:08] *** swirlycheetah has quit IRC
[16:06:14] *** kirfu has joined #angularjs
[16:06:18] *** sk87 has joined #angularjs
[16:06:20] *** Typher has quit IRC
[16:06:25] *** spazbite has quit IRC
[16:06:39] *** zz_night-owl is now known as night-owl
[16:06:41] <jaznow> BahamutWC, yes, you can do it from outside, but I want to do it from the same row :(
[16:06:42] *** Typher has joined #angularjs
[16:06:52] *** bmac has joined #angularjs
[16:06:57] <jaznow> sacho_, how do I do it then?
[16:07:03] <sacho_> jaznow, call a function
[16:07:10] <sacho_> jaznow, your expression fails for multiple reasons
[16:07:29] <jaznow> sacho_, i've even tryed to call alert('test'); with no luck
[16:07:39] <sacho_> firstly, the expression "$scope.foo" looks for an object $scope on your scope
[16:07:46] <sacho_> that's the same reason why alert('test') wouldn't work.
[16:07:52] <sacho_> there's no scope.alert().
[16:08:14] *** oste has joined #angularjs
[16:08:22] *** devinandrews has joined #angularjs
[16:08:27] *** bmac has quit IRC
[16:08:30] <jaznow> ok, so If i can't call a function like alert, why could I be able to call a function I make?
[16:08:39] *** Anygaard has quit IRC
[16:08:44] *** yoshokatana has quit IRC
[16:08:44] <sacho_> because you'd put it on the scope
[16:08:49] *** jasonp has joined #angularjs
[16:08:54] <sacho_> like bahamut did
[16:09:00] <unified0121> jaznow, you'd define the function as $scope.myfunction
[16:09:21] *** drej|work has joined #angularjs
[16:09:25] <drej|work> quick question about concatination
[16:09:28] *** acmehandle has quit IRC
[16:09:32] <drej|work> should each individual file be wrapped in a closure?
[16:09:40] *** bmac has joined #angularjs
[16:10:27] *** jordandotdev has joined #angularjs
[16:11:07] *** cboden has quit IRC
[16:11:09] <jaznow> sacho_, I tryied with a function: http://plnkr.co/edit/18Rx02AbgJkn7FWbv4vi?p=preview
[16:11:15] <BahamutWC> jaznow: there might be a way to do it in the template, working on it atm
[16:11:18] <jaznow> no luck :'(
[16:11:35] <jaznow> BahamutWC, thx a lot :)
[16:11:51] *** cboden has joined #angularjs
[16:11:59] <sqwk> how can I create an ng-change event for a file upload input without any directives?
[16:12:05] *** favetelinguis has joined #angularjs
[16:12:24] <sqwk> I used a custom onchange event that calls a method inside a factory, but that is obviously not running apply
[16:12:52] <BahamutWC> jaznow: http://plnkr.co/edit/qlBpcotZeydURhhiOfcU?p=preview
[16:13:18] *** LossFor has joined #angularjs
[16:13:35] <BahamutWC> so ui-grid appears to create rowRenderIndex for the index of the row, and colRenderIndex for the index of the column - both of those are on $scope
[16:13:37] <jaznow> yay BahamutWC Thanks :D getExternalScopes()
[16:13:55] *** jtimon has joined #angularjs
[16:13:58] <BahamutWC> ui-grid via ng-repeat that is
[16:14:01] *** night-owl is now known as zz_night-owl
[16:14:06] *** hekep has quit IRC
[16:14:36] *** enigmarm has joined #angularjs
[16:14:37] *** bradmaxs has joined #angularjs
[16:14:42] <BahamutWC> didn't see it in the documentation though...maybe it's there somewhere
[16:15:02] <setec> does anyone think that `ng` sounds too nazal, making angular look kinda uncool?
[16:15:10] *** bkuberek has joined #angularjs
[16:15:18] <jaznow> BahamutWC, I'm not sure I understood what you did :S
[16:15:21] <setec> *nasal
[16:15:31] <BahamutWC> jaznow: in the plunker, inspect a cell
[16:15:41] <BahamutWC> and check out the DOM structure - in particular, the ng-repeats
[16:15:43] *** optikalmouse has joined #angularjs
[16:15:53] *** bradmaxs has quit IRC
[16:15:58] *** grantfunke_ has quit IRC
[16:15:59] <sacho_> this is a good example of why angular's scopes are flawed :p
[16:15:59] *** poolside has quit IRC
[16:16:28] <jagga> anyone here used Chart.js or any of the available angular directives for it? I basically have a canvas on my page and I'm trying to label the axis without doing any canvas work. Only css and h4 or label tags etc
[16:16:37]
[16:16:42] *** pootpoot has joined #angularjs
[16:16:51] <jagga> I need the text to be vertical for the Y axis label. THe X axis label is fine as I just centre it and place it underneath the canvas element
[16:16:51] <jagga> http://i.imgur.com/IDwPYqb.png
[16:17:03] <BahamutWC> jaznow: in index.html, I put an attribute external-scopes="remove"
[16:17:03] *** devinandrews has quit IRC
[16:17:19] *** bharath has quit IRC
[16:17:23] *** devinandrews has joined #angularjs
[16:17:25] <BahamutWC> which binds the value of getExternalScopes() in the ui-grid isolate scope to $scope.remove
[16:17:25] <jagga> Could someone point me in what this entails, I'm a total amateur when it comes to css and don't want anyone to do anything for me. Just point me in the right direction of what it is I need to look up
[16:17:30] <jaznow> BahamutWC, oh, I see it now
[16:18:00] <jaznow> that's pretty hi tech right there xD, i would have needed a master to reach that solution
[16:18:50] <jaznow> BahamutWC, so I can put more functions inside that scope, so they can be called from inside the grid right?
[16:19:10] <BahamutWC> jaznow: yup
[16:19:35] *** grantfunke_ has joined #angularjs
[16:20:02] <jaznow> BahamutWC, and why is that that I have to do this trick, why is not the regular $scope working here?
[16:20:07] *** e0ipso|away is now known as e0ipso
[16:20:09] <c0bra> BahamutWC: jaznow: the renderIndex will be different than the index of the row in your data array in the case that you're sorting and/or filtering
[16:20:21] <BahamutWC> jaznow: it's because of the isolate scope
[16:20:32] <c0bra> you could do data.indexOf(row.entity) or something
[16:20:37] <BahamutWC> c0bra: ah, good point
[16:20:41] *** discgo has joined #angularjs
[16:21:00] *** mchammer has joined #angularjs
[16:21:01] <BahamutWC> c0bra: I haven't used ui-grid, so I just hacked up a solution based on a cursory search of the docs & some creativity haha
[16:21:27] <c0bra> right :)
[16:21:39] <c0bra> BahamutWC: I'm a core dev on ui-grid and I've never used getExternalScope() so there you go :P
[16:21:42] *** mrwn has quit IRC
[16:21:46] <c0bra> updated plunker: http://plnkr.co/edit/y5smpsKzhbNXaUjCFgHC?p=preview
[16:21:46] <jaznow> BahamutWC, as I understood, angular ui grid, creates a isolated $scope, wich is totally separated from the regular $scope I'm working with my controllers right?
[16:22:02] <BahamutWC> jaznow: you should check c0bra's update of the plunker
[16:22:10] *** iribarne has joined #angularjs
[16:22:12] <BahamutWC> he works on ui-grid, he'd know best
[16:22:18] <jaznow> thanks c0bra :D
[16:22:31] *** mvovchak has quit IRC
[16:22:39] *** unified0121 has left #angularjs
[16:22:48] <BahamutWC> jaznow: that is correct
[16:23:06] <c0bra> That's a dangerous assumption, fyi.
[16:23:18] <jaznow> c0bra, works like charm
[16:23:20] *** categoryzero has quit IRC
[16:23:22] <BahamutWC> that you'd know best? :P
[16:23:24] <c0bra> yes :P
[16:23:29] <c0bra> jaznow: great
[16:23:45] *** gnrlbzik has joined #angularjs
[16:23:52] <jaznow> thanks a lot BahamutWC & c0bra I've been going crazy for hours with this crap xD
[16:24:00] *** mrwn has joined #angularjs
[16:24:09] <BahamutWC> np - this channel can be a lifesafer :)
[16:24:16] <jaznow> it is indeed
[16:24:38] *** mary5030 has joined #angularjs
[16:25:36] <jaznow> c0bra, u guys think could make this easyer for people usigng ui grid to call his own functions from inside the grid?
[16:26:02] *** devinandrews has quit IRC
[16:26:24] *** devinandrews has joined #angularjs
[16:26:38] *** dannyc has joined #angularjs
[16:26:40] <c0bra> I'm not sure it could be made easier without doing evil scope pollution
[16:26:48] *** elux has quit IRC
[16:26:57] *** elux has joined #angularjs
[16:26:58] *** foofoobar has joined #angularjs
[16:27:05] *** d10n-work has joined #angularjs
[16:27:11] *** dc has quit IRC
[16:27:38] <jaznow> c0bra, ouch!, I don't like evils lol
[16:27:41] *** instence has joined #angularjs
[16:27:55] *** bright_day has joined #angularjs
[16:28:05] *** sonofdirt has joined #angularjs
[16:28:16] *** jrist has quit IRC
[16:28:19] <BahamutWC> although, I think the ability to have functions on regular scope that can modify stuff in the isolate scope is kinda dangerous
[16:28:21] *** rosieres has joined #angularjs
[16:28:49] *** dc has joined #angularjs
[16:28:57] *** instence_ has quit IRC
[16:29:19] *** zackiv31 has quit IRC
[16:29:26] <jaznow> in my case, I want like delete a row by clicking a button, and also, when you click a row, display a modal with detailed info... I don't think this is a isolated case of use
[16:29:35] *** telesto has joined #angularjs
[16:29:44] <BahamutWC> sounds reasonable
[16:30:08] <jaznow> I doesn't seem like something rare to do ...
[16:30:10] *** jgravois has joined #angularjs
[16:30:23] <jaznow> on the contrary, I think is very common...
[16:30:26] *** jgravois is now known as jaydubya
[16:30:27] <c0bra> the problem is accessing the original data from within an isolated scope
[16:31:17] *** dannyc has quit IRC
[16:31:42] *** rburns has quit IRC
[16:31:45] *** bradmaxs has joined #angularjs
[16:32:06] *** foofoobar has quit IRC
[16:32:16] *** krawek has joined #angularjs
[16:32:16] <jaznow> may be some config, so you can register some fucntions you need to use from the isolated scope?
[16:32:28] *** azizur has quit IRC
[16:32:41] *** azizur has joined #angularjs
[16:32:55] *** dllama has joined #angularjs
[16:32:56] <telesto> I feel like I'm missing something totally obvious here .. any idea why the $scope.test variable doesn't update after the API call has completed? http://plnkr.co/edit/EspVi62ER4Q6jyrC6Sjl?p=preview
[16:33:13] *** iribarne has quit IRC
[16:33:25] *** dc has quit IRC
[16:33:36] <duall> Stupid javascript question: Does if(hello) { doSomething(); } is the same as hello && doSomething();
[16:33:56] *** startupality has joined #angularjs
[16:33:59] <duall> Is*
[16:34:09] *** danflies has quit IRC
[16:34:13] <c0bra> jaznow: that's basically what you're doing
[16:34:27] *** Owner__ has joined #angularjs
[16:34:29] <bd-> duall: pretty much
[16:34:44] <c0bra> with `external-scopes`
[16:34:45] <bd-> the only difference is the latter will return the falsy value of hello
[16:34:46] *** azizur2 has joined #angularjs
[16:34:56] *** Owner__ is now known as Guest90154
[16:35:07] <duall> bd- can it be used to shorten the if( expression ?
[16:35:12] *** loverajoel has quit IRC
[16:35:24] <duall> or its a really bad pattern ?
[16:35:27] <bd-> yes, but it's probably not recommended for readability reasons
[16:35:37] <bd-> although using || is fairly common for setting default values
[16:35:52] <duall> yeah that's wham I'm thinking, if || is common, whats wrong with &&
[16:36:04] <jaznow> c0bra, well, but it's not a way that obious... , at least for a newbe like me, life for newbies would be easyer , with a config option like: registerFunctions : { thisfunction, thisother....}
[16:36:37] <duall> bd- if the code has a lot of IF conditions, && makes it way cleaner
[16:36:50] <duall> as longest it goes together with comments
[16:37:04] *** devinandrews has quit IRC
[16:37:04] *** lsiv568 has joined #angularjs
[16:37:17] *** azizur has quit IRC
[16:37:22] *** devinandrews has joined #angularjs
[16:37:33] <c0bra> jaznow: there may have been a reason for doing it that way. There's a channel for the ui-grid project on gitter: https://gitter.im/angular-ui/ng-grid You could ask there. I didn't write that part.
[16:37:46] *** bade has joined #angularjs
[16:38:00] <jaznow> c0bra, ok, thanks a lot :D
[16:38:01] *** prosper_ has quit IRC
[16:38:05] *** anwari333 has quit IRC
[16:38:06] *** xavia has quit IRC
[16:38:19] *** mbildner has joined #angularjs
[16:38:28] *** macobo has joined #angularjs
[16:38:28] <bd-> duall: i think it makes future modifications to the code more annoying
[16:38:33] *** jlambert121 has joined #angularjs
[16:38:33] <bd-> and possible error prone
[16:38:57] <bd-> like if you need to add more conditions, or call more functions if true
[16:39:42] <bd-> and due to it's uncommon use, someone else working on your code would probably see it and think wtf?
[16:40:36] *** ClarusCogitatio has quit IRC
[16:40:39] *** enigmarm has quit IRC
[16:40:54] *** jlambert_ has quit IRC
[16:41:09] *** imehesz has quit IRC
[16:41:23] *** ctanga has quit IRC
[16:41:39] *** bpmj has joined #angularjs
[16:41:41] *** Typher has quit IRC
[16:42:03] *** mglvl has joined #angularjs
[16:42:13] *** gnrlbzik has quit IRC
[16:42:22] *** dcherman has joined #angularjs
[16:43:01] <duall> bd- thanks for your view on this one :)
[16:43:04] *** ClarusCogitatio has joined #angularjs
[16:43:37] *** icarus75 has quit IRC
[16:44:43] *** elux has quit IRC
[16:45:02] *** mrwn has quit IRC
[16:45:40] *** kuadrosx has quit IRC
[16:46:00] *** jillesme has joined #angularjs
[16:46:01] *** jillesme has joined #angularjs
[16:46:05] *** Typher has joined #angularjs
[16:46:05] *** kuadrosx has joined #angularjs
[16:46:12] *** icfantv has joined #angularjs
[16:46:23] *** oliver___ has joined #angularjs
[16:46:36] *** elux has joined #angularjs
[16:46:51] *** rtpg has joined #angularjs
[16:47:23] *** AngularUI has joined #angularjs
[16:47:23] <AngularUI> [ng-grid] c0bra pushed 1 new commit to master: http://git.io/Tv4nFw
[16:47:23] <AngularUI> ng-grid/master 555ddec c0bra: feat(Interpolation): Handle custom symbols...
[16:47:23] *** AngularUI has left #angularjs
[16:48:47] *** marshall_ has joined #angularjs
[16:48:49] *** kirfu has quit IRC
[16:48:56] *** kirfu1 has joined #angularjs
[16:49:16] *** JBreit has joined #angularjs
[16:50:23] *** junmin has joined #angularjs
[16:50:32] *** iribarne has joined #angularjs
[16:50:34] *** loverajoel has joined #angularjs
[16:50:41] *** iribarne has quit IRC
[16:51:27] *** elux has quit IRC
[16:51:38] *** monir has joined #angularjs
[16:51:43] *** IvailoStoianov has joined #angularjs
[16:51:50] *** prosper_ has joined #angularjs
[16:52:09] *** sirkitree|afk is now known as sirkitree
[16:52:36] *** rosieres has quit IRC
[16:53:10] *** kirfu1 has quit IRC
[16:53:16] *** kirfu has joined #angularjs
[16:53:20] *** tfennelly has joined #angularjs
[16:53:24] *** Kosre has joined #angularjs
[16:53:38] *** gnrlbzik has joined #angularjs
[16:53:45] *** sonofdirt has quit IRC
[16:53:45] *** gnrlbzik has quit IRC
[16:53:49] *** vectra has quit IRC
[16:53:56] *** livingstn has joined #angularjs
[16:54:00] *** marshall_ has quit IRC
[16:54:07] *** thedodd has joined #angularjs
[16:54:11] *** imehesz has joined #angularjs
[16:54:23] *** gnrlbzik has joined #angularjs
[16:55:14] *** Oddman has joined #angularjs
[16:55:26] *** telesto has quit IRC
[16:56:06] *** icarus75 has joined #angularjs
[16:56:12] *** vectra has joined #angularjs
[16:56:33] *** LossFor has quit IRC
[16:56:57] *** nagappan_ has quit IRC
[16:57:20] *** mrwn has joined #angularjs
[16:57:39] *** nagappan_ has joined #angularjs
[16:57:47] *** Kosre has quit IRC
[16:57:50] <Fifty5Plus> OT: anything better than Viscocity when it comes to OpenVPN ?
[16:58:00] <Fifty5Plus> free of money would be nice ;)
[16:58:09] *** rburns has joined #angularjs
[16:58:28] <drej|work> can anyone think of why a directive would init on a first load, but once all the js is cached, it works fine
[16:58:33] <drej|work> wouldnt*
[16:58:41] *** dsdeiz has quit IRC
[16:58:59] *** FunnyLookinHat has joined #angularjs
[16:59:02] *** facundor has quit IRC
[16:59:14] *** rchavik has quit IRC
[16:59:23] *** jshultz has joined #angularjs
[16:59:43] *** facundor has joined #angularjs
[16:59:48] *** jpstone has joined #angularjs
[16:59:58] *** m8 has quit IRC
[17:00:13] *** blomman has quit IRC
[17:00:22] *** whitebook has joined #angularjs
[17:00:23] *** thomastuts has quit IRC
[17:00:24] *** LossFor has joined #angularjs
[17:00:29] *** kirfu has quit IRC
[17:00:35] <duall> if i bind('click... using angular.element, does it apply the digest automatically?
[17:00:43] *** m8 has joined #angularjs
[17:00:59] *** Linell has joined #angularjs
[17:01:43] <Foxandxss> no
[17:01:48] <Foxandxss> that is a classic event
[17:01:54] <Linell> Can you do an ng-if the $first var of an ng-repeat? I want to insert a hr on every item except for the first.
[17:01:57] <Foxandxss> s/classic/browser
[17:02:06] *** chrisbirk has joined #angularjs
[17:02:07] <Foxandxss> those doesn't have access to angular context
[17:02:37] *** phuh has quit IRC
[17:02:39] *** MalteJ has quit IRC
[17:02:45] *** michaelfavia has quit IRC
[17:03:02] *** phuh has joined #angularjs
[17:03:42] *** chrisbirk has quit IRC
[17:04:10] *** _ritchie_ has quit IRC
[17:04:39] <folippi> I have an app that creates many directives. They behave kinda like windows. I want to add a 'close' button to them. The button will remove that instance of the directive. How can you do that?
[17:04:47] *** dc has joined #angularjs
[17:04:52] *** bright_day has quit IRC
[17:05:13] *** danflies has joined #angularjs
[17:05:21] *** mven has quit IRC
[17:05:33] *** tplaner has joined #angularjs
[17:06:08] <Linell> folippi: could you just have an ng-if wrapped around the directive?
[17:06:17] *** rburns has quit IRC
[17:06:27] <bradmaxs> How do I embed {{row.Attachment.id}} to an ng-click()? I tried ng-click="confirm({{row.Attachment.id}})"> but am getting an error.
[17:06:44] *** avens has joined #angularjs
[17:06:45] <Linell> bradmaxs: try it without the {{}}
[17:06:46] *** samcfc has joined #angularjs
[17:06:48] <folippi> Linell: and set a variable "isShown"? Then the window will stay in memory forever, won't it?
[17:06:59] <Linell> folippi: ng-if actually removes it
[17:07:02] *** TalleyOuro has joined #angularjs
[17:07:04] <pootpoot> hello gents. i have an ng-repeat loop that increments an $index value for each item. I'm trying to solve an issue where sometimes i need to insert an arbitrary item (ad) inbetween each item. I'd like to be able to increment some other counter so i can keep track of all the items. I'd LOVE to be able to increment the actual $index... is this possible?
[17:07:11] <folippi> Linell: the scope too, and all data?
[17:07:15] *** bePolite has joined #angularjs
[17:07:15] *** bePolite has joined #angularjs
[17:07:19] <samcfc> hi there is there a way to retrieve existing service with a call to angular.injector(['myService']); instead of instanciating a new one?
[17:07:29] *** TalleyOuro has quit IRC
[17:07:39] *** Oddman has quit IRC
[17:08:11] *** blomman has joined #angularjs
[17:08:17] <Linell> folippi: AFAIK it just straight up removes the html. You could use ng-show to leave it there and hide it via CSS.
[17:08:42] <pootpoot> is there maybe a way to run arbitrary JS to increment a counter after an ng-if runs?
[17:08:52] <bradmaxs> Linell: thanks for responding. I tried that but jut got <a href="#" ng-click="confirm(row.Attachment.id)"></a> and not the id?
[17:08:54] <folippi> Linell: trying it out. Thank you
[17:08:56] <surreal-_> pootpoot: You should be able to keep track of other variables in your template in addition to the $index. I would not mess with the index value itself, angular uses it.
[17:09:18] *** luto has joined #angularjs
[17:09:29] *** yoshokatana has joined #angularjs
[17:09:41] <Linell> bradmaxs: But when the confirm function runs, do you get the correct id?
[17:09:49] <luto> where can I find documentation on the replace-option of directives? https://docs.angularjs.org/guide/directive doesn't menion it.
[17:10:03] *** MANCHUCK has quit IRC
[17:10:17] <bradmaxs> I haven't got that far yet:) I assumed I had to get the number in there first. I'll move on and let you know. Thanks!
[17:10:37] <Linell> bradmax: no problem! Good luck!
[17:10:47] *** cacts|wtf has joined #angularjs
[17:10:49] <snurfery> sup yall
[17:10:51] <pootpoot> surreal-_ how could i increment a value within the html, after an ng-if evaluates to true?
[17:10:52] <snurfery> top of ze mornin.
[17:11:06] <folippi> Linell: It works fine! Can I send you chocolate & flowers? Thanks a lot!
[17:11:14] <bradmaxs> Linell: Thanks. I am a newbie so I am confused often. Getting better though!
[17:11:25] <elnur> Anyone looking for a remote NG job? Ping me in private.
[17:11:26] *** _ritchie_ has joined #angularjs
[17:11:26] *** mven has joined #angularjs
[17:11:29] *** gnrlbzik has quit IRC
[17:11:33] *** Xethron_ has quit IRC
[17:11:37] *** mven has quit IRC
[17:11:44] *** gnrlbzik has joined #angularjs
[17:11:48] <samcfc> Is there a way to retrieve existing service with a call to angular.injector(['myService']); instead of instanciating a new one?
[17:12:06] <snurfery> pootpoot: increment a value for display purposes only..?
[17:12:06] <Linell> folippi: haha no problem, good luck
[17:12:16] <snurfery> <span>{{ $index + 1 }}</span>
[17:12:16] <Linell> bradmax: you'll pick it up quickly, promise
[17:12:26] *** juanpablo__ has quit IRC
[17:12:27] *** xavia has joined #angularjs
[17:12:38] *** pell0 has quit IRC
[17:12:45] *** SeeThruHead has joined #angularjs
[17:12:50] *** pell0 has joined #angularjs
[17:13:08] <pootpoot> snurfery haha, i mean a separate $index like $index2 that i can randomly ++ withing the ng-repeat
[17:13:17] *** folippi has quit IRC
[17:13:46] <pootpoot> so can item can be <div whatever ng-if="$index == 2" ng-on-if="$counter++;"/>
[17:13:52] <pootpoot> something like that :p
[17:14:10] *** prosper_ has quit IRC
[17:14:13] <pootpoot> anything like that possible/
[17:14:13] <bradmaxs> Linell: thanks for the good words of encouragement. been dying to use it and finally have a project that fits.
[17:14:16] <snurfery> pootpoot: you won't be able to strictly control how often angular evaluates that within the view
[17:14:20] *** mvovchak has joined #angularjs
[17:14:23] <snurfery> it might run that same code 100 times
[17:14:30] *** speaking1ode is now known as speakingcode
[17:14:35] *** eBureau has quit IRC
[17:14:42] <snurfery> so your counter will be messed up unless you reset it every time
[17:15:14] *** svycka has quit IRC
[17:15:36] *** rtpg has quit IRC
[17:15:44] <pootpoot> hmmmm
[17:16:13] *** azizur has joined #angularjs
[17:16:17] *** prosper_ has joined #angularjs
[17:16:26] <luto> the replace-option of directives causes the attributes of the old element and the new one to be merged, which is good. When it encounters two attributes with the same name, the values are concatenated with a space in between. This is fine for "class", but breaks horribly for ng-if and all the others.
[17:16:27] <snurfery> can you do the processing in your controller and stick to simple-ish loops in your view?
[17:16:30] <luto> http://plnkr.co/edit/XSpsQjVH75CM3Aha7WFc?p=preview
[17:16:36] <pootpoot> how about if i can do it within a controller? is there a callback for ng-repeat that i can run?
[17:16:40] <luto> is this behaviour documented somewhere?
[17:17:01] *** ehalas has quit IRC
[17:17:01] <pootpoot> snurfery yes, we're on the same track
[17:17:27] *** Oddman has joined #angularjs
[17:18:05] *** jagga has quit IRC
[17:18:06] *** yts has quit IRC
[17:18:50] *** dan2k3k4 has quit IRC
[17:18:55] *** sk87 has quit IRC
[17:19:14] *** jweaver__ has joined #angularjs
[17:19:16] *** azizur2 has quit IRC
[17:19:33] *** AtomicCookie has joined #angularjs
[17:19:34] *** larsgk has quit IRC
[17:19:49] *** Owner__ has joined #angularjs
[17:20:26] *** Owner__ is now known as Guest45756
[17:21:22] *** zz_night-owl is now known as night-owl
[17:23:03] *** Guest90154 has quit IRC
[17:23:27] *** Efrem is now known as Efrem-Away
[17:23:42] <wafflej0ck> luto: this is a known problem it's why replace is deprecated
[17:24:03] *** grantfunke_ has quit IRC
[17:24:13] <wafflej0ck> luto: if you need this kind of functionality you should build it in yourself so you can decide how to handle conflicts
[17:24:18] *** FezVrasta has quit IRC
[17:25:17] *** tustex has joined #angularjs
[17:25:44] <wafflej0ck> pootpoot: you can have a function in the controller setup the array to use on the scope so it can be used by ng-repeat, alternatively you can use a function to get the array directly in the ng-repeat (the former is generally more efficient)
[17:25:49] *** night-owl is now known as zz_night-owl
[17:26:31] *** rud has quit IRC
[17:26:50] *** sk87 has joined #angularjs
[17:26:51] <pootpoot> wafflej0ck pre-formatting the array isnt quite possible, how about the 2nd option? how does that work
[17:27:12] *** mchammer has quit IRC
[17:27:12] <luto> wafflej0ck: soo.. how would I know that it is depricated? There is no error at runtime and it isn't even mentioned in the documentation
[17:27:26] *** prosper_ has quit IRC
[17:27:28] *** arabot has joined #angularjs
[17:27:33] <wafflej0ck> pootpoot: just replace the array with any expression (expressions are evaluated against the scope) like ng-repeat="thing in getThings()"
[17:27:40] *** ctanga has joined #angularjs
[17:28:03] <wafflej0ck> replace ([DEPRECATED!], will be removed in next major release - i.e. v2.0)
[17:28:08] <wafflej0ck> https://docs.angularjs.org/api/ng/service/$compile
[17:28:09] *** prosper_ has joined #angularjs
[17:28:15] *** rud has joined #angularjs
[17:28:24] <luto> oh, in $compile ... sure >.<
[17:28:34] <luto> thank you
[17:28:36] <wafflej0ck> luto: heh yeh the directive vs compile split is a bit of pain
[17:28:37] <wafflej0ck> np
[17:29:13] *** marcjs has quit IRC
[17:29:20] <c0bra> good lord why does saucelabs keep timing out?
[17:30:19] *** jeremymarc has joined #angularjs
[17:30:20] *** sqwk has quit IRC
[17:30:23] *** monir has quit IRC
[17:30:33] <luto> wafflej0ck: interestingly, even the documentation doesn't mention what happens with two attributes with the same name
[17:30:35] *** michaelSharpe has joined #angularjs
[17:30:37] *** junmin has quit IRC
[17:31:04] *** ProLoser has joined #angularjs
[17:31:24] *** brian has joined #angularjs
[17:31:25] <wafflej0ck> luto: yeah wasn't really thought through I don't think :)
[17:31:39] <wafflej0ck> luto: actually didn't know myself that it even tries to combine them
[17:31:44] <wafflej0ck> I just avoid it
[17:31:45] <luto> it does
[17:31:47] *** brian is now known as Guest88227
[17:31:52] <luto> http://plnkr.co/edit/XSpsQjVH75CM3Aha7WFc?p=preview
[17:31:53] <wafflej0ck> good to know
[17:31:59] *** Guest88227 is now known as bgerami
[17:32:08] <luto> which causes chaos when using ngIf on both of them :D
[17:32:36] *** artisangoose has joined #angularjs
[17:32:50] *** red_horned_rihno has joined #angularjs
[17:32:51] *** StryKaizer has quit IRC
[17:33:53] *** tustex has quit IRC
[17:34:02] *** ReactiveIO has joined #angularjs
[17:34:09] <xeoncross> What is the process for getting test ionic apps uploaded to ios devices
[17:34:12] <wafflej0ck> luto: yeah if you plan on keeping it I would probably try to extract it's code out into a separate directive or something, not sure if it's worth it though
[17:34:24] *** easywriter has joined #angularjs
[17:34:28] <wafflej0ck> xeoncross: you follow the instructions on the site?
[17:34:29] <luto> wafflej0ck: already got rid of it
[17:34:36] *** junmin has joined #angularjs
[17:34:42] <xeoncross> wafflej0ck: just found them
[17:34:54] <wafflej0ck> xeoncross: k yeah I just did for android but the instructions worked out well for deploy there
[17:34:58] <luto> thanks :)
[17:35:07] <wafflej0ck> sure
[17:35:14] *** cacts has quit IRC
[17:35:23] *** ProLoser has quit IRC
[17:35:27] *** cactauz has joined #angularjs
[17:35:34] *** loverajoel has quit IRC
[17:35:58] *** cacts|wtf has quit IRC
[17:36:13] <wafflej0ck> xeoncross: also worth maybe searching the app store the Play store others had already thrown together more comprehensive demos of Ionic
[17:36:18] *** cohitre has joined #angularjs
[17:37:18] *** larsgk has joined #angularjs
[17:37:29] <xeoncross> the testing steps for an android are much easier it looks like, back to xcode to finish the build...
[17:37:36] <wafflej0ck> ah lame
[17:37:52] *** Raging_Hog has joined #angularjs
[17:37:55] <wafflej0ck> yeah I skipped testing on iOS would have to fire up the hackintosh :)
[17:38:08] <wafflej0ck> haven't used it in production yet obviously :)
[17:38:09] *** Oddman has quit IRC
[17:38:33] <xeoncross> I liked my hackintosh
[17:38:40] *** jstroem has quit IRC
[17:39:04] <xeoncross> Got wiped for use by ubuntu though
[17:39:06] *** P1RATEZ has joined #angularjs
[17:39:07] *** moafoca has joined #angularjs
[17:39:11] *** edzez has quit IRC
[17:39:15] *** jstroem has joined #angularjs
[17:39:25] <wafflej0ck> ah yeah I keep the OS X on a drive I just pull out when it's not being used, works really well though
[17:39:34] <wafflej0ck> initial setup was a minor nightmare
[17:39:38] *** bePolite has quit IRC
[17:40:06] *** zeroquake has joined #angularjs
[17:40:07] <wafflej0ck> but once I figured out the whole kernel extension = kext = driver basically and sorta understand the NVRAM and enough fiddling got it working
[17:40:33] <wafflej0ck> typically run Ubuntu as my daily driver too though
[17:40:42] <crackerzNcheez> I spent an entire month trying to get mac to run on a pentium D
[17:41:28] *** cbeacock has joined #angularjs
[17:41:49] *** ReactiveIO has quit IRC
[17:41:59] <crackerzNcheez> when i finally got it working, I found out the computer I was replacing had a different process that works oob
[17:42:11] *** santiwilly has quit IRC
[17:42:11] *** ReactiveIO has joined #angularjs
[17:42:28] *** jstroem has quit IRC
[17:42:30] <wafflej0ck> oh geez rough
[17:42:52] <wafflej0ck> yeah most of my hardware was compatibile luckily, GTX670 apparently ships with some Macs too
[17:43:29] *** dhcar_AFK is now known as dhcar
[17:43:36] *** okdamn has joined #angularjs
[17:43:39] <wafflej0ck> think I had to buy a wireless adapter but that's about it
[17:43:46] <wafflej0ck> and OS X itself
[17:44:07] <okdamn> guys do you have any idea on how trigger focus on child elments one by one every keypress = tab?
[17:44:30] <wafflej0ck> okdamn: tabindex?
[17:44:31] *** Guest45756 has quit IRC
[17:44:48] *** michaelSharpe has quit IRC
[17:45:00] *** davek has joined #angularjs
[17:45:00] *** davek has joined #angularjs
[17:45:04] <wafflej0ck> https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement.tabIndex
[17:45:14] *** MANCHUCK has joined #angularjs
[17:45:21] <okdamn> wafflej0ck: wont to work on an absolute element :(
[17:45:31] *** luto has left #angularjs
[17:45:35] *** tbo_ has joined #angularjs
[17:45:46] <wafflej0ck> okdamn: ah hmm... yeah so you could do it with a custom directive I think
[17:45:58] <okdamn> wafflej0ck: yeah dunno uff
[17:46:07] *** GreenJello has quit IRC
[17:46:17] <wafflej0ck> okdamn: just bind to the keyup event on the document check if it's a tab and move focus to the next element that uses the directive
[17:46:32] <wafflej0ck> maybe store them all in an array of elements that each of the directives references via a service/factory
[17:46:41] <wafflej0ck> or maybe just a plain value, either way
[17:46:48] *** tbo_ has quit IRC
[17:46:59] *** krawek has quit IRC
[17:46:59] <wafflej0ck> might cause problems with the built in tabindex though
[17:47:09] <okdamn> wafflej0ck: yeah but for example inside the absolute element i have many links, i need to focus on each one every tab press
[17:47:16] *** larsgk has quit IRC
[17:47:29] <Linell> okdamn: I've done something like wafflej0ck is suggesting. Just an arry of stuff that you move to the next one in it
[17:48:06] *** snapwich has joined #angularjs
[17:48:49] *** jpstone has quit IRC
[17:48:56] <okdamn> Linell: sure its just something i would like to avoid since tabindex should work :(
[17:48:59] *** milka has quit IRC
[17:49:09] <okdamn> Linell: do you have any piece of code to show?
[17:49:20] <Linell> okdamn: lemme see if I can find it
[17:49:26] <okdamn> thanks!!
[17:49:32] *** marshall_ has joined #angularjs
[17:50:17] *** tbo_ has joined #angularjs
[17:50:22] *** _ritchie_ has quit IRC
[17:51:06] *** Leon has quit IRC
[17:51:10] *** Alina-malina has quit IRC
[17:51:44] *** Alina-malina has joined #angularjs
[17:52:52] <Linell> okdamn: yeah, I'm not seeing it, sorry. The general idea was whenever focus was on ng-keypress check, if it was tab, set the focus to the next item in the array
[17:53:08] *** bbankes has joined #angularjs
[17:53:33] <okdamn> sure thanks no problems the only thing i need is to find out all the links inside of the element :P
[17:53:49] *** ccohn has quit IRC
[17:53:56] *** _ritchie_ has joined #angularjs
[17:54:02] <bradmaxs> I have to add an id to the get url in the app.js. I have one in there for testing right now. The id is php but I can do whatever. Should I use a data attribute somewhere? http://plnkr.co/edit/11LRHhnB3Ol6pEunmdVk
[17:54:10] *** michaelSharpe has joined #angularjs
[17:54:26] *** ccohn has joined #angularjs
[17:54:29] *** marshall_ has quit IRC
[17:54:34] *** soj has quit IRC
[17:54:45] *** dhcar is now known as dhcar_AFK
[17:55:12] *** nfroidure has quit IRC
[17:55:50] *** glaksmono has joined #angularjs
[17:56:06] *** jeremymarc has quit IRC
[17:56:12] *** AtomicCookie has quit IRC
[17:56:18] *** sheplu has quit IRC
[17:56:50] *** krawek has joined #angularjs
[17:56:56] *** bePolite has joined #angularjs
[17:56:56] *** bePolite has joined #angularjs
[17:57:01] *** mityaz has quit IRC
[17:57:11] *** bePolite has left #angularjs
[17:57:15] *** hiptobecubic has joined #angularjs
[17:57:27] *** prosper_ has quit IRC
[17:58:23] *** ccohn has quit IRC
[17:58:36] *** NormySan has joined #angularjs
[17:59:07] *** laurensclaessen has quit IRC
[17:59:19] <wafflej0ck> bradmaxs: typically you want your PHP to return JSON you can then use in later requests
[17:59:29] *** AngularUI has joined #angularjs
[17:59:29] <AngularUI> [ui-router] dotnetwise opened pull request #1521: Allow multiple states to be registered at once (master-0.2.12-pr1...master-0.2.12-pr1) http://git.io/QeFlqA
[17:59:30] *** AngularUI has left #angularjs
[17:59:32] <wafflej0ck> bradmaxs: you also want the PHP to accept JSON
[17:59:41] <wafflej0ck> bradmaxs: basically using json_encode and json_decode
[17:59:51] *** patrickarlt has joined #angularjs
[18:00:19] <wafflej0ck> bradmaxs: if you send the id in a JSON encoded object to the front end then store it (typically all this stuff is done in a service or factory) then later you can make requests with that id easily
[18:00:32] *** ogdabou has quit IRC
[18:00:32] *** saint-ron has quit IRC
[18:00:37] *** mven has joined #angularjs
[18:00:50] *** Alina-malina has quit IRC
[18:00:55] *** LRFalk01 has joined #angularjs
[18:01:10] *** thomasreggi has joined #angularjs
[18:01:25] *** robdubya has joined #angularjs
[18:01:46] *** Alina-malina has joined #angularjs
[18:02:14] <bradmaxs> wafflej0ck: thanks. The page is mostly php with an angular controller handling attachment management. The url contains the id so after I load the page, I grab the json for the attachments, but I need to send the id to the get request first.
[18:02:15] *** laurensclaessen has joined #angularjs
[18:02:29] *** laurensclaessen has quit IRC
[18:02:34] *** samcfc has quit IRC
[18:02:43] *** phuh has quit IRC
[18:02:45] *** grantfunke_ has joined #angularjs
[18:02:53] <robdubya> morning!
[18:03:02] <nickeddy> good morning robdubya
[18:03:07] *** m_rc has joined #angularjs
[18:03:12] <wafflej0ck> mornin robdubya
[18:03:28] <ctanga> good morning sunshine
[18:03:49] <wafflej0ck> bradmaxs: honestly it's usually not worth it to try and plug angular into a section of a site better to go full on or not use it, mixing concerns where the PHP writes the HTML then Angular works on that same HTML and DOM tends to confuse matters
[18:03:53] <wafflej0ck> bradmaxs: there are workarounds
[18:03:58] <wafflej0ck> bradmaxs: but it's just not ideal
[18:04:16] *** SeeThruHead has quit IRC
[18:04:26] <LRFalk01> in ui router, is there a way to resolve a state's parent? we're currently assigning the parent via the parent property, but what if someone is using the dot syntax? is there a more universal way of determining if a state has a parent?
[18:04:43] *** dhcar_AFK is now known as dhcar
[18:04:52] *** ReactiveIO has quit IRC
[18:04:55] <ctanga> LRFalk01: the private internal implementation has a “parent” property
[18:04:58] *** aboudreault has joined #angularjs
[18:05:13] <wafflej0ck> bradmaxs: <?php echo "angular.module('PHPGenerated').value('PHPData', {id: ".$id."})";?>
[18:05:21] <wafflej0ck> ewww dirty
[18:05:22] <ctanga> LRFalk01: you can gain access to it by declaring a state decorator on $stateProvider and storing it somewhere
[18:05:23] <bradmaxs> wafflej0ck: I know but I have to learn it and also have to complete projects as I go. I will eventually covert everything to angular but I don't have time on my side right now. You suggestion did make me think of another approach. Thanks!
[18:05:36] *** mven has quit IRC
[18:05:42] *** Aliks has joined #angularjs
[18:05:47] *** mzabriskie has joined #angularjs
[18:05:59] *** SeeThruHead has joined #angularjs
[18:06:06] <wafflej0ck> bradmaxs: based on that code you would make your main app depend on PHPGenerated module, and you would inject PHPData into the controller or wherever you need it
[18:06:07] <ctanga> LRFalk01: for an example, see ui-router-extras https://github.com/christopherthielen/ui-router-extras/blob/master/src/stickyState.js#L101
[18:06:20] *** Una has joined #angularjs
[18:06:36] <LRFalk01> thanks ctanga. I will : )
[18:06:40] <ctanga> LRFalk01: note: private implementation of state object is subject to change
[18:06:59] *** tangorri has quit IRC
[18:07:07] <bradmaxs> wafflej0ck: but you think it is bad practice?
[18:07:15] *** bzitzow has joined #angularjs
[18:07:27] *** jweaver__ has quit IRC
[18:07:32] <wafflej0ck> bradmaxs: it will work fine, in my view it's best if the backend and front end have a clear line of seperation
[18:07:38] <wafflej0ck> and communicate across the wire with JSON
[18:07:43] *** Reboot73 has joined #angularjs
[18:07:49] <wafflej0ck> it makes both parts replaceable without modification to both sides
[18:07:58] *** ReactiveIO has joined #angularjs
[18:08:00] *** Jimu has quit IRC
[18:08:27] <wafflej0ck> there are edge cases where templating provides a big benefit in the way of caching but it's only on really high volume sites where this would matter to the point that I would change my mind on this
[18:08:36] <wafflej0ck> (server side templating)
[18:08:39] *** moafoca has quit IRC
[18:08:40] <bradmaxs> wafflej0ck: I understand. I am going to try and just send that data with json on page load without a get and see if I can use it that way. Thanks again.
[18:08:48] <wafflej0ck> bradmaxs: np
[18:08:56] *** MaxV has quit IRC
[18:09:07] *** Kosre has joined #angularjs
[18:09:20] *** jillesme has quit IRC
[18:10:07] *** BillCriswell has quit IRC
[18:10:58] *** jigawatt has joined #angularjs
[18:11:36] *** sikor_sxe has quit IRC
[18:11:58] *** Shai-Tan has quit IRC
[18:12:03] *** marshall_ has joined #angularjs
[18:12:20] *** gunn has quit IRC
[18:12:35] *** Sjimi has quit IRC
[18:12:37] *** poolside has joined #angularjs
[18:12:56] *** fbenoit has quit IRC
[18:13:53] *** Kosre has quit IRC
[18:14:01] *** mven has joined #angularjs
[18:14:25] *** Limix has joined #angularjs
[18:14:29] *** michaelSharpe has quit IRC
[18:14:44] *** Lakario has quit IRC
[18:15:27] *** ccohn has joined #angularjs
[18:15:39] *** tfennell_ has joined #angularjs
[18:15:57] *** anwari333 has joined #angularjs
[18:15:59] <okdamn> how can iset the next element to be focused in the dom ?
[18:16:02] *** sk87 has quit IRC
[18:16:30] *** Aliks has quit IRC
[18:16:37] *** blomman has quit IRC
[18:17:00] *** michaelSharpe has joined #angularjs
[18:17:07] *** Aliks has joined #angularjs
[18:17:09] *** blomman has joined #angularjs
[18:17:31] *** zz_night-owl is now known as night-owl
[18:17:36] <Joel> This might be a super retarded question, when I have a third party library in a service, that uses a callback to let me know when it's done, what do you guys do to let your controller know it's ok to continue? does it call back into another method in the service, or?
[18:18:21] <sacho_> to continue doing what?
[18:18:46] *** tfennelly has quit IRC
[18:18:47] *** AngularUI has joined #angularjs
[18:18:47] <AngularUI> [bootstrap] mjamin opened pull request #2940: feat(pagination): adds an "update" attribute for a callback that is invoked when the page is about to change (master...master) http://git.io/1MQzrg
[18:18:47] *** AngularUI has left #angularjs
[18:18:52] <sacho_> it's probably best handled with a promise
[18:18:55] <sacho_> check out the docs on $q
[18:19:33] *** quantax- has quit IRC
[18:19:47] *** intellix has quit IRC
[18:20:01] <wafflej0ck> Joel: like sacho said typically return a promise in one fashion or another from the service, also you don't always need to know I have an answer on SO here with code that does it http://stackoverflow.com/questions/26695410/how-to-get-the-http-request-data-in-my-example/26695484#26695484
[18:20:09] *** okdamn has quit IRC
[18:20:10] *** ccohn has quit IRC
[18:20:17] *** jeffszusz has quit IRC
[18:20:59] *** whitebook has quit IRC
[18:21:00] <wafflej0ck> Joel: if you need to do further data processing in your controller you can call the method on the factory from there and use the promise returned or else you could setup a $watch but good to not do that too much
[18:21:06] *** jlebrech has quit IRC
[18:21:32] *** blomman has quit IRC
[18:21:39] *** cactauz has quit IRC
[18:21:40] <Joel> thanks guys, angular newb, so lots to read :)
[18:21:50] *** Aliks has quit IRC
[18:21:57] <wafflej0ck> Joel: yeah $q and promises are a key element in angular to understand
[18:22:22] <wafflej0ck> Joel: basically all the async stuff uses it
[18:22:30] *** m8 has quit IRC
[18:22:34] *** iribarne has joined #angularjs
[18:22:37] <wafflej0ck> $http $resource $timeout
[18:23:12] *** mak`` has quit IRC
[18:23:12] *** whitebook has joined #angularjs
[18:23:30] <wafflej0ck> in my code there actually the call to $http.get returns a promise, I could have used that but instead made my own promise so I could keep it consistent and return the promise regardless of if I have the data already or not
[18:23:43] *** woah has joined #angularjs
[18:24:21] *** Oddman has joined #angularjs
[18:24:25] *** platonic has joined #angularjs
[18:25:28] *** red_horned_rihno has quit IRC
[18:26:02] *** red_horned_rihno has joined #angularjs
[18:26:58] *** SeeThruHead has quit IRC
[18:27:01] *** josdeha_rt has joined #angularjs
[18:27:09] *** Sontakey has quit IRC
[18:27:20] *** jacuqesdancona has quit IRC
[18:27:33] *** tristanp has quit IRC
[18:27:54] *** jacuqesdancona has joined #angularjs
[18:28:43] *** dtrott has joined #angularjs
[18:28:52] *** iribarne has quit IRC
[18:30:03] *** doginal has joined #angularjs
[18:30:34] *** iribarne has joined #angularjs
[18:30:34] *** PrinceAMD has quit IRC
[18:30:35] *** tristanp has joined #angularjs
[18:30:47] *** monir has joined #angularjs
[18:31:08] *** anwari333 has quit IRC
[18:31:14] *** richardlitt has joined #angularjs
[18:32:01] *** glosoli has joined #angularjs
[18:32:22] *** nya has joined #angularjs
[18:32:44] *** jacuqesdancona has quit IRC
[18:33:18] <m_rc> wafflej0ck : $http doesn't technically return a promise right?
[18:33:23] *** tsalb has joined #angularjs
[18:33:37] <nickeddy> m_rc: it does
[18:33:47] *** tplaner has quit IRC
[18:34:10] <nickeddy> m_rc: $http.get('/some/url').then(function (response) {}, function(error) {});
[18:34:28] <m_rc> nickeddy : ohh I didn't know you could call .then on $http
[18:34:43] <nickeddy> m_rc: mhmm it's then-able which is great :D
[18:35:20] *** dualz has joined #angularjs
[18:35:49] <wafflej0ck> yeah it's an "HTTPPromise"
[18:35:58] <wafflej0ck> but it's a promise all the same
[18:35:58] <m_rc> Gotcha.
[18:36:03] *** thomasreggi has quit IRC
[18:36:34] *** davek has quit IRC
[18:36:38] *** thomasreggi has joined #angularjs
[18:36:57] *** sonofdirt has joined #angularjs
[18:36:59] *** Girakrok has joined #angularjs
[18:37:31] *** glosoli has quit IRC
[18:37:52] *** sidthekid has joined #angularjs
[18:38:04] *** richardlitt has quit IRC
[18:38:19] *** intellix has joined #angularjs
[18:38:41] *** bobinator has joined #angularjs
[18:38:43] <m_rc> wafflej0ck : by "making your own promise" on an $http promise, do you mean just wrapping it in $q?
[18:39:06] *** larsgk has joined #angularjs
[18:39:39] <sidthekid> in angular ui-router, what if the url is something simple like /:type and you want to check if its a hardcoded value, then 1 state otherwise some other
[18:40:04] *** SeeThruHead has joined #angularjs
[18:40:11] <sidthekid> where can we check the value of $stateParams
[18:40:40] *** ajk27 has quit IRC
[18:40:44] *** tplaner has joined #angularjs
[18:40:56] *** discgo_ has joined #angularjs
[18:41:04] *** thomasreggi has quit IRC
[18:41:07] *** phzon has quit IRC
[18:41:25] *** jstroem has joined #angularjs
[18:41:45] <Girakrok> sidthekid, You can check it on the Controller and do the conditional thing.
[18:42:36] *** jweaver__ has joined #angularjs
[18:42:39] *** KernelCurry has joined #angularjs
[18:42:55] <Girakrok> sidthekid, or beter, you can implement a $stateChangeStart directly in your app.js in a .run()
[18:43:43] *** Oddman has quit IRC
[18:44:00] *** derickf has joined #angularjs
[18:44:04] *** whiteboo_ has joined #angularjs
[18:44:25] *** Oddman has joined #angularjs
[18:44:25] *** derickf has quit IRC
[18:45:00] <Girakrok> Hi, guys! I'm using ui-router with html5mode(true). It works nicely, if I try to access a router directly on the browser with a hash, the page is loaded without the hash and all the ui-sref links works great without it too. But, if I try to access a router (/admin, for exemple) without a hash directly on the browser's url bar, I get a "Cannot GET /admin". Does anyone knows how to solve this?
[18:45:04] *** surreal-_ has quit IRC
[18:45:45] <m_rc> Girakrok : you need to set up your server to route everything to yoru index.html so Angular can handle the routes
[18:46:05] <m_rc> cause /admin doesn't exist on the server so Angular needs to handle that.
[18:46:05] *** whitebook has quit IRC
[18:46:14] <nycdevgirl> Hi I'm pretty new to angular, I'm not sure this plnkr is hooked up right, but you shoudl be able to see what i mean, could anyone tell me why my inviteButton function does not pass the {{emailInvite}} to the view? http://plnkr.co/edit/fXSagT4spkl7SRqZ5cQ1?p=preview
[18:46:14] *** ccohn has joined #angularjs
[18:46:17] *** autolycus has joined #angularjs
[18:46:20] *** krawek has quit IRC
[18:46:24] *** LRFalk01 has left #angularjs
[18:46:32] <wafflej0ck> m_rc: well not wrapping but yeah by making my own $q.deferred() object and returning the promise from that object
[18:46:35] *** jstroem has quit IRC
[18:47:00] *** jweaver__ has quit IRC
[18:47:09] *** MASK has joined #angularjs
[18:47:19] <Girakrok> m_rc, A simples .htaccess would be enough for it?
[18:47:25] *** SomeKittens has joined #angularjs
[18:47:25] *** tbo_ has quit IRC
[18:47:30] *** richardlitt has joined #angularjs
[18:47:31] *** phzon has joined #angularjs
[18:47:34] *** jpstone has joined #angularjs
[18:47:39] <wafflej0ck> Girakrok: yes
[18:47:47] <wafflej0ck> Girakrok: the docs have it mentioned in the html5mode section
[18:48:00] *** ccohn_ has joined #angularjs
[18:48:10] *** Ajans has quit IRC
[18:48:12] *** phzon has quit IRC
[18:48:13] *** ccohn has quit IRC
[18:48:31] *** woah has joined #angularjs
[18:48:35] *** chrisbirk has joined #angularjs
[18:48:48] *** robdubya has quit IRC
[18:49:02] <m_rc> wafflej0ck : for all my $http methods, i return a $q promise. now i'm thinking that's redundant in a lot of cases
[18:49:30] <wafflej0ck> m_rc: yeah you may be able to just return the promise from the call to .get or .post
[18:49:32] *** glaksmono has quit IRC
[18:49:44] *** ahtik has quit IRC
[18:49:54] *** nairys has joined #angularjs
[18:50:22] *** MASK has quit IRC
[18:50:28] *** RobinBAwesome has joined #angularjs
[18:50:37] *** Typher has quit IRC
[18:50:51] *** Raging_Hog has quit IRC
[18:51:16] *** richardlitt has quit IRC
[18:51:17] *** red_horned_rihno has quit IRC
[18:51:32] *** qdk has quit IRC
[18:51:36] *** nagappan_ has quit IRC
[18:51:42] *** red_horned_rihno has joined #angularjs
[18:51:55] *** elux has joined #angularjs
[18:52:20] *** nagappan_ has joined #angularjs
[18:52:21] *** ccohn_ has quit IRC
[18:52:42] *** Una has quit IRC
[18:52:57] *** nairys has quit IRC
[18:53:02] *** jstroem has joined #angularjs
[18:53:14] *** sinequanon has joined #angularjs
[18:53:54] *** larsgk has quit IRC
[18:55:06] *** richiebkr has joined #angularjs
[18:55:21] *** nemothekid has joined #angularjs
[18:55:25] <wafflej0ck> nycdevgirl: you see the correct info in the console?
[18:56:14] *** quantax- has joined #angularjs
[18:56:39] *** poolside has quit IRC
[18:56:58] *** mrwn has quit IRC
[18:57:25] *** richardlitt has joined #angularjs
[18:57:52] *** sinequanon has quit IRC
[18:57:52] *** slopjong_ has quit IRC
[18:57:53] *** slopjong has quit IRC
[18:58:20] <Girakrok> wafflej0ck, thanks.
[18:58:27] *** Johnny13371337 has joined #angularjs
[18:58:53] <wafflej0ck> Girakrok: np
[18:59:04] *** poolside has joined #angularjs
[18:59:09] *** tfennell_ has quit IRC
[18:59:12] <bradmaxs> Can I format a datetime in angular? I am only finding the date filter and it doesn't seem to work with this. 2014-09-26 19:47:46
[18:59:44] *** mrwn has joined #angularjs
[18:59:50] <Girakrok> bradmaxs, I use moment.js for this. It is great and super simple.
[19:00:04] <wafflej0ck> yup momentjs is great if the built in stuff won't do
[19:00:38] *** jstroem has quit IRC
[19:00:41] <bradmaxs> Girakrok: wafflej0ck thanks. I'll take a look.
[19:00:42] *** whiteboo_ has quit IRC
[19:01:01] <Girakrok> bradmaxs, you're welcome
[19:01:08] <nycdevgirl> wafflej0ck: it prints it a lot of times but at some point it is the right value
[19:01:24] *** glosoli has joined #angularjs
[19:01:25] *** D9 has quit IRC
[19:01:25] *** tfennelly has joined #angularjs
[19:01:54] *** Johnny13371337 has left #angularjs
[19:02:14] *** guilbep has quit IRC
[19:02:19] *** mwrenn has joined #angularjs
[19:02:55] *** whunt has joined #angularjs
[19:03:18] *** elux has left #angularjs
[19:03:21] <wafflej0ck> nycdevgirl: well as a rule you want MOAR DOTS :)
[19:03:42] <wafflej0ck> nycdevgirl: so instead of using the $scope object as your model you should have an object that is your model that is referenced by some property of the $scope
[19:04:00] <nycdevgirl> wafflej0ck: yes i've heard this lol
[19:04:02] <wafflej0ck> another way to say that is you should use, $scope.myModel = {somePart:'value'};
[19:04:39] <wafflej0ck> instead of $scope.somePart = 'value'
[19:04:50] <nycdevgirl> wafflej0ck: im going to try all that when i refactor…one day lol
[19:05:01] *** monir has quit IRC
[19:05:05] <wafflej0ck> nycdevgirl: heh better to do it now though really it will save you headaches
[19:05:13] <LossFor> wafflej0ck: man, angular before understanding referencing vs. values was hell ¬_¬
[19:05:53] *** mclenithan has joined #angularjs
[19:06:13] <wafflej0ck> nycdevgirl: you either want to watch this like 4 or 5 times https://www.youtube.com/watch?v=ZhfUv0spHCY
[19:06:17] <nycdevgirl> wafflej0ck: actually in my console i realize…that the inviteButton function must be getting called on the page load….do you have any idea why that is
[19:06:22] <wafflej0ck> or read this like 4 or 5 times http://stackoverflow.com/questions/14049480/what-are-the-nuances-of-scope-prototypal-prototypical-inheritance-in-angularjs
[19:06:29] *** tfennelly has quit IRC
[19:06:39] *** nerder has quit IRC
[19:06:40] <nycdevgirl> wafflej0ck: lol i've seen that video
[19:06:53] <nycdevgirl> wafflej0ck: I just want to fix this one thing dammit! haha
[19:07:03] <wafflej0ck> yeah that's Misko one of the dudes who made Angular in the first place, heed his advice
[19:07:16] *** FrankH_ has joined #angularjs
[19:07:22] <LossFor> nycdevgirl: do you mean addButton()?
[19:07:32] <LossFor> it’s because you have it as part of an ng-show
[19:07:43] <nycdevgirl> grrrr
[19:07:56] <LossFor> so that’ll call it on every digest
[19:08:03] <nycdevgirl> ohhhhhhhhhhhhhhhh
[19:08:14] <nycdevgirl> yea i changed the name…i guess the plnkr didnt update
[19:08:58] *** Oddman has quit IRC
[19:09:11] <wafflej0ck> LossFor: yeah lots of key points like that that can really mess you up
[19:09:20] <nycdevgirl> i think it shold still be loading teh {{ }} inside that button
[19:09:24] *** mwrenn has quit IRC
[19:09:33] *** ccohn has joined #angularjs
[19:09:43] <nycdevgirl> emailInvite
[19:09:52] *** Kosre has joined #angularjs
[19:10:04] <wafflej0ck> nycdevgirl: yeah you should use the link in the IRC here to start off your plunkr that way it has angular already loaded and you can just paste in your controllers or whatever
[19:10:04] *** wallerdev has joined #angularjs
[19:10:11] <LossFor> wafflej0ck: its one of the times where the blessing of javascript — that it tries to hide everything from you — becomes a non-intuitive curse
[19:10:32] *** woah has quit IRC
[19:10:33] <wafflej0ck> LossFor: yeah honestly I'm a huge fan of C and being totally explicit but I can see how people screw that up a lot
[19:11:04] <LossFor> its weird that I didn’t understand it given that i’ve done programming with pointers before
[19:11:06] *** robdubya has joined #angularjs
[19:11:30] <LossFor> I guess it makes more sense when you can see how it works versus “yeah, it references objects, you can’t see how."
[19:11:39] <wafflej0ck> yeah easy to forget the underlying system when you're workign in something like JS
[19:12:05] *** _ritchie_ has quit IRC
[19:12:45] *** mnngfltg has quit IRC
[19:13:09] *** jweaver__ has joined #angularjs
[19:13:29] *** moafoca has joined #angularjs
[19:13:39] *** deanclkclk has joined #angularjs
[19:13:49] <wafflej0ck> nycdevgirl: hard for us to help debug if we can't play with the actual code and have it running, otherwise might as well just pastebin and include more of the actual code
[19:14:17] *** Kosre has quit IRC
[19:14:47] *** deanclkclk__ has quit IRC
[19:15:07] *** e0ipso is now known as e0ipso|away
[19:15:21] <snurfery> nycdevgirl wafflej0ck another mention of the legenday misko video!
[19:15:23] *** ahmetkapikiran has joined #angularjs
[19:15:23] <snurfery> heh
[19:15:27] * snurfery waves
[19:15:31] <wafflej0ck> heeh of course :) hi snurfery
[19:15:35] *** e0ipso|away is now known as e0ipso
[19:15:41] <BahamutWC|Work> what video is this?
[19:15:56] <snurfery> the angular best practices thing at mtv
[19:16:02] <wafflej0ck> BahamutWC|Work: https://www.youtube.com/watch?v=ZhfUv0spHCY
[19:16:08] <nycdevgirl> oh okay i think this one will work http://plnkr.co/edit/VTuAaqzueva3lcR1vt46?p=preview
[19:16:39] *** richiebkr has quit IRC
[19:16:44] *** LossFor has quit IRC
[19:16:48] <snurfery> it's where I point ppl to explain the whole "ng-model should have a dot" concept, 30 minutes into it
[19:16:50] <wafflej0ck> nycdevgirl: are you actually trying to load bootstrap.js in your real app too?
[19:17:18] *** RobinBAwesome has quit IRC
[19:17:22] *** RobinBAwesome_ has joined #angularjs
[19:17:25] <nycdevgirl> …no lol it put that there
[19:17:25] *** Aliks has joined #angularjs
[19:17:27] <snurfery> I'm sure robdubya was the one I got it from
[19:17:32] <wafflej0ck> snurfery: yeah same BahamutWC|Work I watched this video religiously when I was first learning angular and couldn't understand half of what he said, by the end it all made sense and became a huge reference
[19:17:48] <wafflej0ck> nycdevgirl: okay taking it out
[19:17:51] <BahamutWC|Work> I never watched the video before haha
[19:18:00] <nycdevgirl> well i mean it helps with the view…i am using it
[19:18:00] <wafflej0ck> BahamutWC|Work: ah so good
[19:18:03] <robdubya> "if you're not using a dot you're doing it wrong"
[19:18:11] <snurfery> legendary sentence
[19:18:12] *** eamonn has quit IRC
[19:19:07] *** ngbot has joined #angularjs
[19:19:08] <ngbot> [angular.js] IgorMinar pushed 1 new commit to master: http://git.io/GCyU1A
[19:19:08] <ngbot> angular.js/master ed99821 Lucas Galfaso: fix($parse): stateful interceptors override an `undefined` expression...
[19:19:08] *** ngbot has left #angularjs
[19:19:10] *** cactauz has joined #angularjs
[19:19:57] *** ProLoser has joined #angularjs
[19:20:54] *** nairys has joined #angularjs
[19:21:21] *** ahmetkapikiran has quit IRC
[19:22:25] *** ngbot has joined #angularjs
[19:22:25] <ngbot> [angular.js] caitp pushed 1 new commit to master: http://git.io/a61aJw
[19:22:26] <ngbot> angular.js/master 9e30594 Martin Staffa: fix(select): use strict comparison for isSelected with selectAs...
[19:22:26] *** ngbot has left #angularjs
[19:24:06] *** mtho11-lunch has joined #angularjs
[19:24:41] *** richiebkr has joined #angularjs
[19:24:44] *** ProLoser has quit IRC
[19:25:00] *** firelinks has quit IRC
[19:25:00] <nycdevgirl> ill have you all know, i fixed it lol
[19:25:11] *** m_rc has quit IRC
[19:25:24] *** red_horned_rihno has quit IRC
[19:25:33] *** wallerdev has quit IRC
[19:25:46] *** dtrott has quit IRC
[19:25:49] *** wallerdev has joined #angularjs
[19:26:12] <wafflej0ck> nycdevgirl: what was actually wrong?
[19:26:13] *** mtho11 has quit IRC
[19:26:47] *** CodeTroth has joined #angularjs
[19:27:04] <nycdevgirl> well like someone said the ng-show was on a function, so i changed the function to a $scope item that was set to false, and in my function i set it to true
[19:27:13] *** Oddman has joined #angularjs
[19:27:19] *** tech2 has quit IRC
[19:27:19] *** easywriter has quit IRC
[19:27:21] *** _ritchie_ has joined #angularjs
[19:27:42] <wafflej0ck> nycdevgirl: cool better for performance that way too.. still should wrap up your stuff you have on scope into an object that will definitely bite you down the line
[19:27:43] <nycdevgirl> didnt change the function, just changed the ng-show to not be on a true false
[19:28:04] <nycdevgirl> put all my scope stuff in an object?
[19:28:10] <nycdevgirl> and then do the dot thing you were saying?
[19:28:13] *** thumpba has joined #angularjs
[19:28:17] <snurfery> did you guys see that post from Igor Minar about there being a new angular 1.x leader?
[19:28:19] <wafflej0ck> yeah everything that isn't a function at least
[19:28:20] <snurfery> https://docs.google.com/document/d/1dZdq2L8EkzimgvU93ypLF9GJpdzD2jjm08Zal6sfxMQ/preview?hl=en&forcehl=1&sle=true
[19:28:25] *** thedodd has quit IRC
[19:28:25] <nycdevgirl> hmmm
[19:28:31] <nycdevgirl> okay ill give it a shot
[19:28:59] <wafflej0ck> nycdevgirl: otherwise you get funky problems when you have a child scope that uses the same property name over and then it doesn't update the parent
[19:29:42] <snurfery> I'm super excite. sounds like some shit went down after ng-euro, google was like "who's messing shit up?" then assigned someone to do damage control and sort out this mess and hopefully continue the 1.x branch
[19:29:46] <wafflej0ck> nycdevgirl: http://youtu.be/ZhfUv0spHCY?t=30m20s <-- this is the spot he actually goes through that part
[19:30:04] *** Linell has quit IRC
[19:30:37] *** patrick99e99 has joined #angularjs
[19:30:38] *** Reskp has joined #angularjs
[19:31:13] *** pdillinger has quit IRC
[19:31:15] *** Linell has joined #angularjs
[19:31:44] *** charuru has joined #angularjs
[19:31:46] *** ahmetkapikiran has joined #angularjs
[19:31:47] *** sinequanon has joined #angularjs
[19:31:51] *** michaelSharpe has quit IRC
[19:32:17] *** michaelSharpe has joined #angularjs
[19:32:19] *** woah has joined #angularjs
[19:32:39] <robdubya> woah
[19:32:41] *** ngbot has joined #angularjs
[19:32:41] <ngbot> [angular.js] btford pushed 3 new commits to master: http://git.io/d12HZQ
[19:32:41] <ngbot> angular.js/master e593939 Brian Ford: docs(security): add security doc
[19:32:41] <ngbot> angular.js/master 4f5a60b Brian Ford: docs($parse): formatting, link to security docs
[19:32:42] <ngbot> angular.js/master 6dfd938 Brian Ford: docs(guide/index): link to security
[19:32:42] *** ngbot has left #angularjs
[19:32:53] <robdubya> pete bacon ftw
[19:33:31] *** ngbot has joined #angularjs
[19:33:31] <ngbot> [angular.js] btford pushed 1 new commit to v1.2.x: http://git.io/rGPefQ
[19:33:31] <ngbot> angular.js/v1.2.x 7dfe82e Brian Ford: docs(security): add security doc
[19:33:31] *** ngbot has left #angularjs
[19:33:44] <snurfery> yup
[19:33:46] *** AlSquire has quit IRC
[19:33:48] *** Sontakey has joined #angularjs
[19:33:51] *** ngbot has joined #angularjs
[19:33:51] <ngbot> [angular.js] btford pushed 1 new commit to v1.2.x: http://git.io/xZH0zA
[19:33:51] <ngbot> angular.js/v1.2.x e0ee491 Brian Ford: docs($parse): formatting, link to security docs
[19:33:51] *** ngbot has left #angularjs
[19:33:53] <snurfery> the wording in there makes me very very hopeful
[19:34:01] *** baweaver has joined #angularjs
[19:34:09] *** ngbot has joined #angularjs
[19:34:09] <ngbot> [angular.js] btford pushed 1 new commit to v1.2.x: http://git.io/HWJrQw
[19:34:10] <ngbot> angular.js/v1.2.x bff8041 Brian Ford: docs(guide/index): link to security
[19:34:10] *** ngbot has left #angularjs
[19:34:16] *** duall has quit IRC
[19:34:37] *** Jon31 has joined #angularjs
[19:34:39] *** P1RATEZ has quit IRC
[19:34:49] *** nagappan_ has quit IRC
[19:35:06] *** sk87 has joined #angularjs
[19:35:14] *** mtho11-lunch has quit IRC
[19:35:19] *** intellix has quit IRC
[19:35:32] *** patrick99e99 has quit IRC
[19:35:34] *** michaelSharpe has quit IRC
[19:35:37] *** nagappan_ has joined #angularjs
[19:35:40] <snurfery> also, google's not stupid. I was hoping they'd bring in a pro to fix the 1.x EOL "situation"
[19:35:45] *** baweaver has quit IRC
[19:35:52] <robdubya> so pete / cait / btford takin over in this bitch
[19:36:07] <wafflej0ck> haha doubt it's quite like that
[19:36:22] *** baweaver has joined #angularjs
[19:36:26] <robdubya> i'm all about it
[19:36:30] *** jillesme has joined #angularjs
[19:36:37] <snurfery> why doubt it? it makes business sense
[19:36:40] <wafflej0ck> wouldn't be a problem but no problem with the current/past setup
[19:36:41] <snurfery> from Pete: "But seriously, I am really excited about this. I am excited that we are going to continue to support 1.x. As Igor said, there are a huge number of developers, both inside and outside Google, relying on AngularJS 1.x for their live projects and many more people using those web applications that run on it. "
[19:36:45] *** baweaver has quit IRC
[19:36:50] *** sk87 has quit IRC
[19:36:55] <snurfery> https://plus.google.com/+PeteBaconDarwin/posts
[19:37:00] *** baweaver has joined #angularjs
[19:37:23] *** _thumpba has joined #angularjs
[19:38:31] *** jacuqesdancona has joined #angularjs
[19:38:37] <robdubya> yeah, and my ridiculous rent needs to get paid since i just moved to SF for an angular jerb :o
[19:38:52] <snurfery> oh nice
[19:38:54] <robdubya> we're all counting on you pete
[19:38:55] *** sidthekid has quit IRC
[19:39:02] <snurfery> I'm driving up there tonight actually
[19:39:03] <robdubya> otherwise i'll be homeless
[19:39:15] <snurfery> there's a Bassnectar show tomorrow night somewhere in SF
[19:39:29] *** anjumkaiser has joined #angularjs
[19:39:39] <snurfery> apparently that's reason enough to come up there
[19:39:52] *** RobinBAwesome_ has quit IRC
[19:40:08] *** jweaver__ has quit IRC
[19:40:25] *** jweaver__ has joined #angularjs
[19:40:41] *** Sjimi has joined #angularjs
[19:40:42] *** siddart has quit IRC
[19:40:58] <robdubya> untiss untiis untiss baby
[19:40:59] *** siddart has joined #angularjs
[19:40:59] <wafflej0ck> hah nice that should be cool
[19:41:07] *** qdk has joined #angularjs
[19:41:10] *** Sjimi has quit IRC
[19:41:16] *** thumpba has quit IRC
[19:41:16] *** loverajoel has joined #angularjs
[19:41:39] <wafflej0ck> for the genre bassnectar is pretty decent IMO
[19:42:20] *** thumpba has joined #angularjs
[19:42:27] <wafflej0ck> robdubya: where ya workin'?
[19:42:31] *** Una has joined #angularjs
[19:42:37] <robdubya> same place as BahamutWC|Work
[19:42:59] *** siddart has quit IRC
[19:43:02] *** jacuqesdancona has quit IRC
[19:43:05] <robdubya> palo alto
[19:43:09] <robdubya> buildin apps n shit
[19:43:16] *** siddart has joined #angularjs
[19:43:24] <wafflej0ck> is that the TreasureData thing or something else?
[19:43:26] *** Nijikokun has joined #angularjs
[19:43:28] <BahamutWC|Work> nah
[19:43:30] *** _thumpba has quit IRC
[19:43:31] <BahamutWC|Work> Jiff
[19:43:32] *** ngbot has joined #angularjs
[19:43:32] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 187e431 to c6909ed: http://git.io/AfBKmw
[19:43:32] *** ngbot has left #angularjs
[19:43:36] <wafflej0ck> BahamutWC|Work: ah right k
[19:43:46] <BahamutWC|Work> TheAceOfHearts works at Treasure Data if I remember right
[19:43:57] *** azizur has quit IRC
[19:44:28] *** ngbot has joined #angularjs
[19:44:29] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from c6909ed to 6550198: http://git.io/kUTq0A
[19:44:29] *** ngbot has left #angularjs
[19:44:42] *** Oddman has quit IRC
[19:44:45] *** Schtive has quit IRC
[19:45:24] *** xeoncross has quit IRC
[19:45:25] *** ngbot has joined #angularjs
[19:45:25] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 6550198 to 7a4df50: http://git.io/OocdAQ
[19:45:25] *** ngbot has left #angularjs
[19:45:29] *** philips has quit IRC
[19:45:30] *** philips has joined #angularjs
[19:45:40] *** RobinBAwesome has joined #angularjs
[19:46:13] <wafflej0ck> ah well congrats on the new jerb robdubya
[19:46:25] <caitp> what release names would you guys like this week
[19:46:31] *** ngbot has joined #angularjs
[19:46:32] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 7a4df50 to 288b531: http://git.io/KZV4-g
[19:46:32] *** ngbot has left #angularjs
[19:46:34] <caitp> 2 words, make something up
[19:46:35] <wafflej0ck> and congrats on getting robdubya, BahamutWC|Work :)
[19:46:51] *** siddart has quit IRC
[19:46:59] <caitp> oh just one release name this week I guess
[19:47:09] *** siddart has joined #angularjs
[19:47:10] *** GreenJello has joined #angularjs
[19:47:25] *** sixr420 has quit IRC
[19:47:32] <BahamutWC|Work> wafflej0ck: so we have thebigredgeek, robdubya, and myself now :)
[19:47:38] *** ngbot has joined #angularjs
[19:47:38] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 288b531 to e676d64: http://git.io/nekjgg
[19:47:38] *** ngbot has left #angularjs
[19:47:39] <SockSorcerer> caitp: did i see that you're one of the long-term developers for angular 1x?
[19:47:55] *** prosper_ has joined #angularjs
[19:48:03] <BahamutWC|Work> we’re gonna do some crazy stuff over the course of the next year - ES6, Sails.js, maybe web components
[19:48:15] *** m3l720 has joined #angularjs
[19:48:17] <wafflej0ck> should be cool
[19:48:43] *** ngbot has joined #angularjs
[19:48:43] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from e676d64 to e057a9a: http://git.io/JaFqww
[19:48:43] *** ngbot has left #angularjs
[19:48:56] *** Aliks has quit IRC
[19:49:27] *** moafoca has quit IRC
[19:49:42] <wafflej0ck> caitp: what're the rules for code names?
[19:49:43] *** ngbot has joined #angularjs
[19:49:43] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from e057a9a to ed99821: http://git.io/P1bZOg
[19:49:43] *** ngbot has left #angularjs
[19:49:53] <BahamutWC|Work> they must be funky
[19:49:59] *** josdeha_rt has quit IRC
[19:50:00] <caitp> 2 words, usually some thing like adverb-noun
[19:50:02] *** one0one has joined #angularjs
[19:50:10] *** Aliks has joined #angularjs
[19:50:30] <BahamutWC|Work> wafflej0ck: also, you should join us :)
[19:50:33] <wafflej0ck> anamorphic-alligator
[19:50:42] *** ngbot has joined #angularjs
[19:50:43] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from ed99821 to 9e30594: http://git.io/JqfETg
[19:50:43] *** ngbot has left #angularjs
[19:50:45] *** gurke_ has joined #angularjs
[19:50:47] <wafflej0ck> I like googles codename for my api access
[19:50:49] <wafflej0ck> upbeath-math
[19:50:52] <wafflej0ck> upbeat*
[19:50:56] *** mikhailvs has left #angularjs
[19:50:57] *** Shareyourpeace has joined #angularjs
[19:51:15] *** jpstone has quit IRC
[19:51:17] <snurfery> caitp sycophantic undergarment
[19:51:18] <wafflej0ck> BahamutWC|Work: eh I'm probably sticking to Chicago for a while longer
[19:51:24] <caitp> the mozilla people suggested ftl-compilation, which is a pretty awesome super power imo
[19:51:37] *** m3l720 has quit IRC
[19:51:37] *** instence has quit IRC
[19:51:38] <wafflej0ck> ftl?
[19:51:38] *** michaeltresseras has joined #angularjs
[19:51:41] <caitp> faster than light
[19:51:43] <wafflej0ck> ah
[19:51:48] <robdubya> cheers wafflej0ck
[19:51:50] <robdubya> :D
[19:52:10] <snurfery> ah superpower-based, I suppose undergarments don't qualify there
[19:52:21] *** siddart has quit IRC
[19:52:24] <snurfery> spanx notwithstanding
[19:52:24] <wafflej0ck> yeah not sure an alligator works either :)
[19:52:30] <wafflej0ck> haha
[19:52:37] *** siddart has joined #angularjs
[19:52:50] *** jplussier has quit IRC
[19:53:03] <Shareyourpeace> Hi doing the O-bootstrapping tutorial. Where or how do I include the package.json file required. When I do npm install error 'npm cannot find package.json'. Where did I miss a step ?
[19:53:03] *** siddart has quit IRC
[19:53:19] *** siddart has joined #angularjs
[19:53:46] <wafflej0ck> Shareyourpeace: should be able to just do, npm init, to create a basic package.json file I believe
[19:53:57] *** freeman42 has joined #angularjs
[19:54:04] <wafflej0ck> Shareyourpeace: it's a pretty simple file format though, just says what your project is and what it depends on in terms of npm modules
[19:54:10] *** Owner__ has joined #angularjs
[19:54:35] *** Owner__ is now known as Guest85731
[19:54:52] <wafflej0ck> caitp: yeah can't beat ftl-compilation off-hand
[19:55:02] *** shawnzhu has joined #angularjs
[19:55:05] *** marr has quit IRC
[19:55:33] *** m_rc has joined #angularjs
[19:55:41] *** mtsr has joined #angularjs
[19:55:57] *** Anton_ has quit IRC
[19:56:28] *** prosper_ has quit IRC
[19:56:33] <wafflej0ck> I mean it makes no sense on so many levels
[19:57:28] *** Shareyourpeace has quit IRC
[19:57:58] *** josdeha_rt has joined #angularjs
[19:58:02] *** prosper_ has joined #angularjs
[19:58:10] *** Reboot73 has quit IRC
[19:58:16] *** ip-\du has quit IRC
[19:58:22] *** SahanH has quit IRC
[19:59:19] *** Reboot73 has joined #angularjs
[19:59:49] *** siddart has quit IRC
[20:00:01] *** marcjs has joined #angularjs
[20:00:05] *** siddart has joined #angularjs
[20:00:12] *** kreiggers has joined #angularjs
[20:01:28] *** derickf has joined #angularjs
[20:01:33] *** gazbond has joined #angularjs
[20:01:48] *** iribarne has quit IRC
[20:01:50] *** intellix has joined #angularjs
[20:02:08] *** \du has joined #angularjs
[20:02:23] *** monir has joined #angularjs
[20:02:31] *** tplaner has quit IRC
[20:03:08] *** phaggood has joined #angularjs
[20:03:09] *** m3l720 has joined #angularjs
[20:03:11] *** FrankH_ has quit IRC
[20:03:25] *** gnrlbzik has quit IRC
[20:03:38] *** siddart has quit IRC
[20:03:54] *** beefchieftain has joined #angularjs
[20:03:55] *** siddart has joined #angularjs
[20:04:16] *** jamto11 has joined #angularjs
[20:04:17] *** dannyc has joined #angularjs
[20:04:59] *** favetelinguis has quit IRC
[20:05:04] *** thedodd has joined #angularjs
[20:05:22] *** SeeThruHead has quit IRC
[20:05:23] *** \du has quit IRC
[20:05:33] *** jonnybro has joined #angularjs
[20:05:47] *** siddart has quit IRC
[20:06:04] *** siddart has joined #angularjs
[20:06:08] <ioudas> ctanga, thanks for all your help yesterday. Got it workin ;-)
[20:06:12] *** blackorzar has joined #angularjs
[20:06:17] <ctanga> woot
[20:06:36] *** Schtive has joined #angularjs
[20:06:46] *** \du has joined #angularjs
[20:06:49] <ctanga> ioudas: is your code cleaner now?
[20:07:03] *** marcjs has quit IRC
[20:07:10] *** marcjs has joined #angularjs
[20:07:13] *** shinnya has joined #angularjs
[20:07:14] *** Shareyourpeace has joined #angularjs
[20:07:24] *** afuggini has quit IRC
[20:07:46] *** iribarne has joined #angularjs
[20:07:57] *** phaggood has quit IRC
[20:08:22] *** dannyc has quit IRC
[20:08:38] <Shareyourpeace> I didn't quit this irc but looked at log and it said I did.
[20:08:49] *** beefchieftain has quit IRC
[20:09:19] <Shareyourpeace> Used Npm init but not certain what to out in at the git: entry .... What is necessarily ?
[20:10:22] <wafflej0ck> Shareyourpeace: it just wants to know the git repo pretty sure it's optional
[20:10:28] <Linell> it is
[20:10:28] *** krawek has joined #angularjs
[20:10:33] *** ngbot has joined #angularjs
[20:10:33] <ngbot> [angular.js] caitp pushed 1 new commit to master: http://git.io/ZuXKPw
[20:10:33] <ngbot> angular.js/master 0918f14 Caitlin Potter: docs(CHANGELOG): add v1.3.2 changes
[20:10:33] *** ngbot has left #angularjs
[20:10:46] *** Oddman has joined #angularjs
[20:11:07] <Shareyourpeace> Trying again.
[20:11:16] *** whitebook has joined #angularjs
[20:11:22] <nairys> is there an angular way of autoclicking a button on page load?
[20:11:25] *** ngbot has joined #angularjs
[20:11:25] <ngbot> [angular.js] caitp pushed 1 new commit to master: http://git.io/uWukCw
[20:11:26] <ngbot> angular.js/master 1db9e61 Caitlin Potter: docs(CHANGELOG): slight fixup
[20:11:26] *** ngbot has left #angularjs
[20:11:28] *** siddart has quit IRC
[20:11:29] *** _ritchie_ has quit IRC
[20:11:29] *** Sontakey has quit IRC
[20:11:37] <wafflej0ck> caitp: got another one... quantum-datum
[20:11:45] *** siddart has joined #angularjs
[20:11:46] <Shareyourpeace> Oh does I need to start the node server first ?
[20:11:49] *** mrwn has quit IRC
[20:11:52] <wafflej0ck> nairys: why not just call the function in the controller directly?
[20:12:00] <caitp> too late, it's cardiovascular-magnification
[20:12:00] <wafflej0ck> Shareyourpeace: nope
[20:12:05] <wafflej0ck> caitp: awe
[20:12:10] <wafflej0ck> caitp: that's pretty good though
[20:12:13] <caitp> i suck at coming up with names too :p
[20:12:15] *** siddart has quit IRC
[20:12:15] <caitp> brian is good at it
[20:12:16] *** kreigger_ has joined #angularjs
[20:12:20] <nairys> wafflej0ck the function depends on parameters passed by the button that are only available in the view
[20:12:33] *** siddart has joined #angularjs
[20:12:54] *** lukegb has quit IRC
[20:13:05] *** Sontakey has joined #angularjs
[20:13:06] <wafflej0ck> nairys: that still doesn't sound right to me why is the data only available in the view?
[20:13:18] <wafflej0ck> the data should be in a model that is pointed to by the scope
[20:13:26] *** Anton_ has joined #angularjs
[20:14:01] <nairys> you just made me think of the answer
[20:14:05] <nairys> thanks haha
[20:14:08] <wafflej0ck> k good enough :)
[20:14:12] <Shareyourpeace> :)
[20:14:40] <nairys> the buttons are generated from an array (which is a scope object)
[20:14:47] *** kreiggers has quit IRC
[20:14:51] <wafflej0ck> yeah so you got all the info you need there
[20:14:54] *** bobinator has quit IRC
[20:15:04] *** tplaner has joined #angularjs
[20:15:07] <nairys> since i know which button in the array i want to click, i can just call the function in controller with the right parameters
[20:15:11] *** mrwn has joined #angularjs
[20:15:12] *** siddart has quit IRC
[20:15:13] <nairys> silly me
[20:15:14] <nairys> ty
[20:15:16] *** bobinator has joined #angularjs
[20:15:18] <wafflej0ck> if you are storing data in the view it would complicate things but that's more the jQuery way
[20:15:22] <wafflej0ck> nairys: yup np
[20:15:28] *** siddart has joined #angularjs
[20:15:39] *** ajk27 has joined #angularjs
[20:15:58] *** whitebook has quit IRC
[20:16:09] *** SeeThruHead has joined #angularjs
[20:16:38] *** phaggood has joined #angularjs
[20:17:23] *** michaelSharpe has joined #angularjs
[20:17:28] <nairys> jesus i spent 45 minutes on this issue
[20:17:36] <nairys> shouldve come here right away
[20:17:40] *** oliver___ has quit IRC
[20:17:48] <nairys> literally haven't written a line of code all day because of it haha
[20:18:04] *** Rahul_Roy_ has joined #angularjs
[20:18:07] <ioudas> ctanga, much better.
[20:18:24] <Shareyourpeace> Conceptually confused. Do I need to be online to run npm init
[20:18:42] <wafflej0ck> Shareyourpeace: don't think so... though I'm never really offline
[20:18:51] *** jwowwz has joined #angularjs
[20:18:53] <Linell> Shareyourpe: what error are you getting?
[20:18:55] <wafflej0ck> Shareyourpeace: to do the npm install --save somemodule you'll need to be online
[20:18:56] *** Nijikokun has quit IRC
[20:19:13] *** avens has quit IRC
[20:19:15] *** siddart has quit IRC
[20:19:31] *** siddart has joined #angularjs
[20:19:36] <wafflej0ck> Shareyourpeace: npm init should just be setting up a basic package.json file for you though so shouldn't need to be connected yet
[20:19:42] <Shareyourpeace> I have the project folder created
[20:20:12] *** siddart has quit IRC
[20:20:19] *** bgentled has quit IRC
[20:20:25] *** siddart has joined #angularjs
[20:21:23] *** jillesme has quit IRC
[20:21:28] *** dhcar is now known as dhcar_AFK
[20:21:28] <Shareyourpeace> Got it. Had to logout only terminal sessions and then I restarted computer. Let me see if this resolves. Thanks
[20:21:36] *** michaelSharpe has quit IRC
[20:21:36] *** Nijikokun has joined #angularjs
[20:22:12] *** instence has joined #angularjs
[20:22:31] *** Oddman has quit IRC
[20:23:10] *** siddart has quit IRC
[20:23:19] <wafflej0ck> haha sometimes great when you pause a YouTube video and go back to it to find some hilarious freeze frame
[20:23:26] *** siddart has joined #angularjs
[20:23:31] <Shareyourpeace> Can I be running two web servers at the same time. MAMP and node
[20:23:43] <wafflej0ck> Shareyourpeace: yeah if they use different ports
[20:23:45] <Shareyourpeace> They are on different ports.
[20:23:54] <wafflej0ck> yup np then
[20:23:54] *** mrwn has quit IRC
[20:24:20] *** pipoo has joined #angularjs
[20:24:31] *** mjs2600 has quit IRC
[20:24:44] <wafflej0ck> each process just asks the OS to be able to get all the network communciation for a particular port
[20:25:02] *** chanced has joined #angularjs
[20:25:02] *** startupality has quit IRC
[20:25:03] *** iribarne_ has joined #angularjs
[20:25:04] *** thomasreggi has joined #angularjs
[20:25:13] <Shareyourpeace> Still getting {{ text stuff}} in the browser although package.json in the project directory. I am offline.
[20:25:20] *** discgo has quit IRC
[20:25:20] *** discgo_ is now known as discgo
[20:25:37] *** firelinks has joined #angularjs
[20:25:38] <wafflej0ck> Shareyourpeace: package.json only has to do with managing the npm modules that you install for a given project
[20:25:43] *** mjs2600 has joined #angularjs
[20:25:49] <wafflej0ck> Shareyourpeace: can you link to the tutorial you're following?
[20:25:57] *** jchamberlain has joined #angularjs
[20:26:00] <farn5w0rth> how do i load an angular app using ajax? anyone know a good resource to read for this?
[20:26:08] <Shareyourpeace> Okay. Let me go back in the tutorial.... Thanks by the way.
[20:26:25] *** Reskp has quit IRC
[20:26:26] <wafflej0ck> Shareyourpeace: np link the tutorial here if you need more guidance and can talk through where you're at
[20:26:27] *** siddart has quit IRC
[20:26:44] <wafflej0ck> farn5w0rth: doesn't really make a lot of sense do you mean using module loaders or something?
[20:26:44] *** siddart has joined #angularjs
[20:26:52] *** nagappan_ has quit IRC
[20:26:55] *** baweaver has quit IRC
[20:27:21] *** zwacky has joined #angularjs
[20:27:23] *** iribarne__ has joined #angularjs
[20:27:27] <farn5w0rth> wafflej0ck: i have an angular app and i want to load it into my index page so i thought i should use ajax with the url to my app...?
[20:27:29] *** baweaver has joined #angularjs
[20:27:34] *** nagappan_ has joined #angularjs
[20:28:06] <wafflej0ck> farn5w0rth: you just use a regular script tag in most cases to load in your scripts
[20:28:13] *** moritzs has joined #angularjs
[20:28:30] *** yelvert has joined #angularjs
[20:28:32] *** iribarne has quit IRC
[20:28:32] *** iribarne__ is now known as iribarne
[20:28:40] <wafflej0ck> farn5w0rth: see the irc topic /topic for a plunkr link with angular already setup in the regular way
[20:29:07] <farn5w0rth> wafflej0ck: i have multiple angular apps…its all under a sharepoint app that has its own web parts etc. so i thought separating them would be idea
[20:29:09] <farn5w0rth> ideal
[20:29:32] *** richiebkr has quit IRC
[20:29:34] *** zwacky_ has joined #angularjs
[20:29:51] <wafflej0ck> farn5w0rth: it's really best to have one app that uses multiple modules but you still wouldn't be using AJAX to load the modules
[20:29:57] *** jwowwz has quit IRC
[20:29:59] <wafflej0ck> I mean you could
[20:30:03] <wafflej0ck> but it's more work for sure
[20:30:04] *** iribarne__ has joined #angularjs
[20:30:07] <Shareyourpeace> Can you follow. Been using netbeans.... Projects in applications/MAMP/htdocs/projectOne Localhost::8888 I have to launch the servers:apache. That was GeForce working within JavaScript etc. now learning angular which uses node web server. Back to command line to nav around. Don't
[20:30:11] *** thomasreggi has quit IRC
[20:30:13] *** iribarne_ has quit IRC
[20:30:13] *** phaggood has quit IRC
[20:30:23] *** e0ipso is now known as e0ipso|away
[20:30:26] *** thomasreggi has joined #angularjs
[20:30:36] *** siddart has quit IRC
[20:30:48] *** dcherman2 has joined #angularjs
[20:30:54] *** siddart has joined #angularjs
[20:31:13] *** ngbot has joined #angularjs
[20:31:13] <ngbot> [angular.js] chimney-sweeper tagged v1.3.2 at 925573e: http://git.io/fyWjGA
[20:31:13] *** ngbot has left #angularjs
[20:31:22] *** nemothekid has quit IRC
[20:31:28] *** Guest64337 has joined #angularjs
[20:31:28] <farn5w0rth> wafflej0ck: the apps have already been made so i just need a quick and dirty way to make it work as a POC since im just getting my feet wet with this stuff right now. what would you say is the easiest/fastest way to load completed angular apps into a page?
[20:32:00] *** baweaver has quit IRC
[20:32:04] <wafflej0ck> farn5w0rth: well the problem is it's going to complain if it has to load angular multiple times I suppose if you use iframes you could do it and keep them isolated
[20:32:47] *** firelinks has quit IRC
[20:32:52] *** siddart has quit IRC
[20:32:53] *** iribarne has quit IRC
[20:32:53] *** iribarne__ is now known as iribarne
[20:32:58] <farn5w0rth> wafflej0ck: not sure how do use an iframe to load it…do you have an example
[20:33:07] <Shareyourpeace> So in top directory I have folder angular-phonecat got it from a git clone command. It runs localhost:8000 but I cannot work with these files in my IDE because I don't know how to get them there.... No option to import so I recreated a folder at applications/MAMP/htdocs/AngularPhoneCat which I can open in netbeans. That is why I got on here. Because it will not give me angular output and it was because I needed to npm
[20:33:09] *** siddart has joined #angularjs
[20:33:17] *** boneskull has joined #angularjs
[20:33:32] <wafflej0ck> farn5w0rth: I mean I want to smash 4 executables into one isn't really a use case for any framework I know of :) just google about iframe you'd basically just be loading the index.html from the angular app into your page
[20:33:55] *** thomasreggi has quit IRC
[20:33:57] *** dcherman has quit IRC
[20:33:58] *** glosoli has quit IRC
[20:34:08] *** tristanp has quit IRC
[20:34:16] <farn5w0rth> wafflej0ck: ok yea i found some stuff thanks…and yea i hear you its a dumb exercise but i just need to show this shit works right now lol
[20:34:25] *** tristanp has joined #angularjs
[20:34:29] <wafflej0ck> farn5w0rth: yup POCs are always a mess good luck :)
[20:34:37] *** jeffszusz has joined #angularjs
[20:34:41] *** shampine has joined #angularjs
[20:34:53] *** lexek_ has quit IRC
[20:34:56] *** shampine has quit IRC
[20:34:56] *** shampine has joined #angularjs
[20:34:59] <farn5w0rth> wafflej0ck: yeap. good learning exercise though
[20:35:06] <wafflej0ck> farn5w0rth: yeah trial by fire
[20:35:13] <farn5w0rth> thanks dude
[20:35:16] *** confused_ has joined #angularjs
[20:35:19] <wafflej0ck> farn5w0rth: np
[20:35:28] <wafflej0ck> Shareyourpeace: yeah sounds like you are thinking about way too many things at once here
[20:35:36] *** monir has quit IRC
[20:35:43] *** LossFor has joined #angularjs
[20:35:47] *** AngularUI has joined #angularjs
[20:35:48] <AngularUI> [ui-router] adidahiya opened pull request #1522: Update TypeScript API (master...tsd) http://git.io/u9_p3Q
[20:35:48] *** AngularUI has left #angularjs
[20:36:26] <wafflej0ck> Shareyourpeace: not sure if Netbeans is really an ideal editor for Javascript, personally use SublimeText but know a lot of people like WebStorm as well
[20:36:27] *** blomman has joined #angularjs
[20:36:45] *** phzon has joined #angularjs
[20:36:58] <wafflej0ck> Shareyourpeace: but either way should make sure you're understanding the parts you need to deal with for angular to work and what everything else does
[20:37:16] *** thomasreggi has joined #angularjs
[20:37:23] *** siddart has quit IRC
[20:37:24] *** shawnzhu has quit IRC
[20:37:40] <Shareyourpeace> https://docs.angularjs.org/tutorial/step_00 scroll to app/index.html My browser output From Netbeans shows nothing yet {{'yet' + '!' }} This channel is busy. Thanks for helping
[20:37:40] *** siddart has joined #angularjs
[20:38:13] *** confused___ has joined #angularjs
[20:38:31] <confused___> hey guys just wondering if someone is willing to give me some advice about my career as a (junior) software developer
[20:38:49] <caitp> hack on things
[20:38:50] *** Guest64337 has quit IRC
[20:38:52] *** shawnzhu has joined #angularjs
[20:38:55] <caitp> hack on firefox
[20:38:58] <caitp> hack on thunderbird
[20:39:00] <caitp> hack on devtools
[20:39:03] <caitp> it doesn't matter, just hack
[20:39:06] <wafflej0ck> agree
[20:39:12] *** ahtik has joined #angularjs
[20:39:15] *** Typher has joined #angularjs
[20:39:25] <confused___> are you referring to me? sorry I am fairly new to this irc chat
[20:39:28] *** confused_ has quit IRC
[20:39:30] <wafflej0ck> yup confused___ :)
[20:39:36] <confused___> understand
[20:39:47] <confused___> well i feel like I am not good enough and am just busy as opposed to productive
[20:39:55] <caitp> the most valuable class i ever took in college, was a class which taught me to hack on open source stuff
[20:39:59] <confused___> I have an amazing job in an amaing company learning oads but always a step behind
[20:40:01] <confused___> tge otehrs
[20:40:10] <crackerzNcheez> you hada class on that? jealous
[20:40:17] *** jtimon has quit IRC
[20:40:19] <caitp> i did! it was really good
[20:40:23] <wafflej0ck> that is pretty awesome
[20:40:24] <Linell> confused___: http://en.wikipedia.org/wiki/Impostor_syndrome
[20:40:31] <confused___> thanks Linell
[20:40:38] *** blomman has quit IRC
[20:40:40] <wafflej0ck> I had to learn about SVN and git in jobs no exposure in school to any SCM really
[20:40:41] <confused___> I definiely am the weakest link in the team
[20:40:52] <confused___> I know I will eventually learn but i feel horrible
[20:40:56] <caitp> yeah I knew svn already and hated it, but i learned git for school and it was awesome
[20:40:59] <confused___> all the other guys are like amazing
[20:41:02] *** nit has joined #angularjs
[20:41:04] *** phzon has quit IRC
[20:41:06] <confused___> and theres me just trying to keep up
[20:41:06] <caitp> git feels way better than mercurial or svn to me
[20:41:11] *** favetelinguis has joined #angularjs
[20:41:15] <Linell> Everybody pretty much feels that way at some point. That's why we've got "junior" in our job titles
[20:41:18] <Shareyourpeace> Netbeans has been working well and I have other angular projects working -from a class. What do I need in the projects folder ? Bower_components and package.json and how do I get them there .
[20:41:21] *** nemothekid has joined #angularjs
[20:41:24] <confused___> i know but i fell they will get rid of me
[20:41:26] *** nit is now known as Guest19466
[20:41:33] <confused___> I am just worried and partly scared
[20:41:38] <crackerzNcheez> my fiancee tells me all the time i have imposter sydrome
[20:41:38] <caitp> confused___, it's okay if you don't know everything
[20:41:39] <confused___> to the point where I think should I even be a programmer
[20:41:41] <caitp> and it's okay if you mess up
[20:41:49] <Linell> What specifically is giving you trouble? Just general speed at doing things?
[20:41:53] <confused___> im 22 by the way
[20:41:54] <caitp> but what's important is that you don't deny that it's possible for you to mess up
[20:41:57] <confused___> 23 almost soon
[20:42:03] <Guest19466> glup it up!
[20:42:09] <confused___> I always admit that I know what i dont know
[20:42:11] <caitp> you've got to be like "yeah, I screwed up there, you're right, thanks! i will fix it up and learn from this incident"
[20:42:25] <confused___> and this new guys which is really good keeps taking the mick and making me feel so low
[20:42:38] <confused___> hes good but its not fair to treat me like that
[20:43:03] *** Nizumzen has joined #angularjs
[20:43:15] *** jaznow has quit IRC
[20:43:22] <crackerzNcheez> well
[20:43:25] *** thomasreggi has quit IRC
[20:43:35] <wafflej0ck> confused___: talk to your managers or HR if you feel like there's a problem that needs to be addressed in your team but aside from that if you are trying and that shows your'e not likely to get canned
[20:43:53] <confused___> understand
[20:43:58] <confused___> is it just me expecting to be amazing at 22
[20:44:02] <confused___> after 2 years of experience?
[20:44:04] *** prosper_ has quit IRC
[20:44:09] <confused___> will this feeling of inferiority ever go?
[20:44:09] <Shareyourpeace> @confused do. It give up. 21st century tech world is deep and complicated and things do clear up. Listen to some of the youtube videos because it fills in pieces of the puzzle. I started with this and it is Excellent. Angular in 50 examples
[20:44:11] <crackerzNcheez> my favorite thing is that devs are always in high demand :D
[20:44:17] *** Typher has quit IRC
[20:44:30] <crackerzNcheez> podcasts!
[20:44:34] *** jaznow has joined #angularjs
[20:44:49] <crackerzNcheez> nodeup, debug, web ahead, ...
[20:44:56] <crackerzNcheez> very motivating
[20:44:58] <confused___> i even do stuff on codewars and currently reading clean code
[20:45:07] <Linell> Like caitp was saying, find something open source that actually matters to you and work on that
[20:45:14] <confused___> but i do believe I have loas to learn - even my problem solving skills need to be improved
[20:45:15] *** Efrem-Away is now known as Efrem
[20:45:16] <Shareyourpeace> Here is the link https://m.youtube.com/watch?v=TRrL5j3MIvo. But look at this page first. Scroll down the page to the examples. https://github.com/curran/screencasts/tree/gh-pages/introToAngular
[20:45:18] *** siddart has quit IRC
[20:45:29] <wafflej0ck> confused___: yeah you're still pretty young and I knew guys who were 10 years older going through the same things cause they were newer to development
[20:45:34] *** Juanchito has quit IRC
[20:45:35] *** siddart has joined #angularjs
[20:45:37] *** zwacky_ has quit IRC
[20:45:37] *** zwacky has quit IRC
[20:45:51] <caitp> it's not a process that ever really ends
[20:45:54] <confused___> thank you @wafflej0ck
[20:45:56] <wafflej0ck> confused___: you'll get past it just keep taking things in and especially working on projects and you'll pick up new tricks
[20:45:59] <caitp> you never know "everything" in programming
[20:46:02] <caitp> you're always going to be learning stuff
[20:46:02] <shoerain> Are there any promise exercises I can sink my teeth into? Not sure what their benefits are, yet.
[20:46:02] <wafflej0ck> yea
[20:46:08] <caitp> and someone else is always gonna know more than you about something
[20:46:10] *** Efrem has quit IRC
[20:46:12] <caitp> it's just the way it is
[20:46:17] *** sixr420 has joined #angularjs
[20:46:26] <confused___> thats very true
[20:46:38] <confused___> i just want to be better at problem solving coding everything the whole lot :|
[20:46:52] <snurfery> confused___ it's ok to be a beginner at something, as long as you are learning/putting in lots of effort! That was/is tough for me too, I feel like I should be good at everything
[20:46:57] <confused___> i guess I have to understand it's about the journey (i.e. learning) as opposed to thge destination(i.e. being good)
[20:47:02] <snurfery> "smart guy syndrome"
[20:47:05] *** thomasreggi has joined #angularjs
[20:47:13] *** matisoffn has joined #angularjs
[20:47:18] <Shareyourpeace> @wafflej0ck I sent the tutorial link but it is way up there now
[20:47:21] <wafflej0ck> confused___: yup you always get better you're never really good :)
[20:47:23] *** GeneralChoomin has quit IRC
[20:47:27] <caitp> today arv was reviewing some code of mine like "you should add a test for \r\n here too" and i'm like "well we can't because EOL normalization will happen and break it" and he's like "just use eval() it will work" and i'm like "derp"
[20:47:36] <wafflej0ck> Shareyourpeace: yeah can PM or something lots of other chatter atm
[20:47:37] *** GeneralChoomin has joined #angularjs
[20:47:43] <caitp> i've been doing this for a million years and it didn't even occur to me
[20:47:43] <caitp> lol
[20:48:04] <confused___> so its not just the newbies that do these things
[20:48:13] <confused___> thats reassuring
[20:48:13] <Shareyourpeace> Thanks. I am still working on this end.
[20:48:19] <snurfery> nope, we're all new to the next level
[20:48:23] <snurfery> that's why it's the next level
[20:48:27] <caitp> well what i mean is you never really stop being new
[20:48:32] <caitp> no matter how good that kid is, they suck at something
[20:48:39] <confused___> understand
[20:48:40] <caitp> and that's ok
[20:48:41] <confused___> he is very arrogant
[20:48:44] <confused___> and cocky
[20:48:48] <Linell> one of the scary things about development is that there's no upper limit. You can *never* know everything about the whole shebang
[20:48:49] <confused___> unfortuantely he is better than me
[20:48:53] <confused___> at oretty much everythinf so far
[20:49:08] *** rightisleft has joined #angularjs
[20:49:12] <wafflej0ck> confused___: yeah have worked with the type, it's annoying luckily was in a big enough place I could avoid certain personalities
[20:49:14] *** kotyy has joined #angularjs
[20:49:19] *** baweaver has joined #angularjs
[20:49:20] <confused___> understand
[20:49:22] <crackerzNcheez> I heard one of the project leads at Google or somewhere similar say, "If you're honest, we're all just figuring this out together and making it up as we go."
[20:49:25] *** Asiajey has quit IRC
[20:49:32] *** siddart has quit IRC
[20:49:38] *** dtrott has joined #angularjs
[20:49:39] *** dhcar_AFK is now known as dhcar
[20:49:48] *** siddart has joined #angularjs
[20:49:56] <confused___> honest opinion - will codewars.com help me get betteR?
[20:49:58] <rightisleft> if i register a controller on a module, can i use an $injector.get call to retrieve a reference? If not, how do i retrieve a reference to the controller?
[20:50:08] <confused___> in general - python JS ruby etc
[20:50:13] <confused___> ]I have been focusing on JS and python for now
[20:50:17] <confused___> due to this job
[20:50:18] *** FrankH_ has joined #angularjs
[20:50:20] *** esk4nd4r has joined #angularjs
[20:50:24] <caitp> i dunno what codewars is, but i think if you want to get better, you should look at working on some cool open source stuff
[20:50:28] <caitp> stuff that matters to people
[20:50:33] <caitp> solve real problems
[20:50:35] <snurfery> +1
[20:50:38] <confused___> @caitp I tried this a few years ago
[20:50:45] <confused___> and evetything is so big i dont eve know where to start from
[20:50:49] <confused___> and i gave up
[20:50:56] <caitp> mozilla is amazing at helping people get through this stuff
[20:50:57] <confused___> for some reason 2-3 years ago I found it extremely confusing
[20:51:02] <snurfery> I just gave a talk on contributing to open source projects
[20:51:04] <confused___> any links will be greatly appreciated
[20:51:09] <snurfery> it's not as bad as you'd think
[20:51:14] <caitp> chromium is maybe not quite as good, but there have been a few chromium folks who have really helped me get going
[20:51:24] <caitp> so there are people who can help you, you know?
[20:51:29] <confused___> understand
[20:51:40] *** ome has quit IRC
[20:51:42] <confused___> what sort of projects should I look at
[20:51:43] <snurfery> for example, you can solve bugs/github issues in the libraries that you use
[20:51:51] <confused___> I also want to build up a github portfolio
[20:51:57] <confused___> right
[20:52:01] <caitp> well im' saying chromium and firefox, but i mean it's not limited to that
[20:52:07] <confused___> what if I havent got a clue about how it all works?
[20:52:16] <caitp> you could hack on fedora linux
[20:52:20] <caitp> you could hack on debian
[20:52:24] <caitp> you could hack on React
[20:52:29] <confused___> when you way hack...
[20:52:30] <snurfery> confused___ read the source, luke
[20:52:31] <caitp> it's all good
[20:52:43] <confused___> right ok
[20:52:50] <Shareyourpeace> Logout
[20:52:51] <caitp> just find something that keeps you interested
[20:52:54] <confused___> @snurfery I guess I need to start with small projects
[20:52:54] <Linell> Is there an open sorce stuff you actually use? to me it's easier to start on something you can concretely say "I wish it did this"
[20:52:55] <caitp> and makes you want to learn more
[20:52:55] <Shareyourpeace> Quit
[20:52:56] *** Aliks has quit IRC
[20:53:08] <Shareyourpeace> How do I exit for now
[20:53:14] <confused___> i was thinking of starting working on an app (iphone ) with a friend hes into ios I coyld do the backend
[20:53:19] *** wafflej0ck has quit IRC
[20:53:22] *** autolycus has quit IRC
[20:53:23] *** chrisbirk has quit IRC
[20:53:28] *** matisoffn has quit IRC
[20:53:31] <confused___> learn loads and maybe get some spare cash? not about the cash but about learning
[20:53:40] *** kotyy has quit IRC
[20:53:50] <snurfery> real world stuff is fantastic
[20:53:50] *** Sna4x8 has quit IRC
[20:54:09] <caitp> you could get super into python, or super into ruby
[20:54:10] *** wafflej0ck has joined #angularjs
[20:54:11] *** richiebkr has joined #angularjs
[20:54:12] <caitp> or you could get super into js
[20:54:16] <caitp> or you could get super into browsers
[20:54:19] <sacho_> isn't codewars a game?
[20:54:21] <caitp> or super into operating systems or security
[20:54:22] *** Shareyourpeace has quit IRC
[20:54:23] <caitp> it's all good
[20:54:25] <confused___> caitp
[20:54:28] <confused___> we use pythona t this job
[20:54:28] <snurfery> looks pretty cool
[20:54:29] *** derickf has quit IRC
[20:54:29] *** Sebastien-L has quit IRC
[20:54:33] <confused___> started like a month ago (using python)
[20:54:37] <confused___> so learning shedloads
[20:54:48] *** Sna4x8 has joined #angularjs
[20:54:56] <ctanga> I use python all the time
[20:54:57] <sacho_> I don't think you're going to be able to meaningfully contribute to any OS project at 1 month exp
[20:55:05] <ctanga> python -m SimpleHTTPServer 8888
[20:55:06] <confused___> no no
[20:55:11] <confused___> i have done coding for like 2/3 years
[20:55:15] <confused___> but python for the last month
[20:55:22] <sacho_> yes, I mean, at 1 month exp with python
[20:55:25] <confused___> right
[20:55:25] *** kotyy has joined #angularjs
[20:55:30] <confused___> well I am having to do it at work
[20:55:32] <confused___> and learn as I go along
[20:55:34] <confused___> no choice
[20:55:49] <confused___> all teh otehr guys have used python before and I am like daymn I am so crap at this :|
[20:55:58] <sacho_> but you don't have to contribute to big stuff
[20:56:04] *** szymek_ has joined #angularjs
[20:56:07] <sacho_> the first things I contributed to were little widgets or libs
[20:56:12] <sacho_> that I wasn't happy with because they had bugs
[20:56:14] *** chrisbirk has joined #angularjs
[20:56:22] <confused___> right understand
[20:56:38] <confused___> because at work I have literally been thrown in the deep end
[20:56:38] <confused___> and learn python as I go along
[20:56:44] <confused___> and a few of the architects assume all of the python devs are at the same level
[20:56:48] <confused___> and I am like mega new to it
[20:56:51] <sacho_> ah, my favourite line of work
[20:57:01] <sacho_> code me a facebook
[20:57:04] <sacho_> you have 1 month
[20:57:07] <confused___> :D
[20:57:14] <sacho_> "let me just finish this hello world tutorial first"
[20:57:18] <confused___> looool
[20:57:18] <ctanga> heh
[20:57:26] <confused___> that made me laugh but it is quite true as well
[20:57:27] *** mtho11 has joined #angularjs
[20:57:43] *** annlewis has quit IRC
[20:57:46] *** zwacky_ has joined #angularjs
[20:57:51] <confused___> what do you yhink is the best way to find python projects I can work on
[20:57:51] *** avens has joined #angularjs
[20:57:51] <Una> lol +1 to sacho_
[20:57:53] <wafflej0ck> confused___: eh it's a good language to know never got decent in a language or framework without at least at least a few months tinkering around and usually gotta screw up a few projects if you don't have some direct guidance
[20:57:55] *** siddart has quit IRC
[20:57:56] *** zwacky has joined #angularjs
[20:58:11] *** siddart has joined #angularjs
[20:58:19] <confused___> wafflej0ck I have a few people around me I usually ask for help - they all say give it another 4 months you will be good at it
[20:58:22] <confused___> and its true
[20:58:25] <wafflej0ck> confused___: yeah
[20:58:37] <wafflej0ck> confused___: even angular took me like 5 months before I was really competent and still learning stuff
[20:58:39] *** Kosre has joined #angularjs
[20:58:41] *** yu6jtyuy has joined #angularjs
[20:58:46] <confused___> understand
[20:58:54] <confused___> I think in 4-5 months I was quite happy with angular
[20:58:55] <michaeltresseras> wafflej0ck 5 months of full time?
[20:58:58] <sacho_> tutorials aren't really good at internalizing knowledge
[20:59:04] <confused___> unfortunately with this project theres no angular only backbone (puke)
[20:59:11] <confused___> and the learning curve on that is so steep I find it
[20:59:19] <wafflej0ck> michaeltresseras: pretty much was also learning about jenkins and postfix and Eloquent and doing some projects
[20:59:40] <wafflej0ck> michaeltresseras: wouldn't say it was full time dedicated to angular but large amount of time focused on it
[20:59:40] <confused___> talking about ORM's
[20:59:44] <michaeltresseras> @wafflej0ck all of that are your job?
[20:59:49] <confused___> I gotta learn about SQLAlchemy soon
[20:59:54] <wafflej0ck> michaeltresseras: I run my own little business so yeah do it all
[20:59:56] <confused___> havent a clue atm though
[21:00:07] <confused___> wafflej0ck that is my goal eventually
[21:00:08] <michaeltresseras> Thanks man
[21:00:16] *** siddart has quit IRC
[21:00:20] <confused___> have my own company but one cant be a shit programmer in order to get to that level
[21:00:34] *** siddart has joined #angularjs
[21:00:47] *** kotyy has quit IRC
[21:01:40] <wafflej0ck> confused___: yeah I've heard mixed things about Backbone, recent javascript jabber (podcast) had a guy who tried knockout and backbone and angular and wrote a book about developing an app in all three, said it almost broke his mind
[21:01:47] *** bobinator has quit IRC
[21:01:48] *** siddart has quit IRC
[21:01:55] <confused___> :D
[21:01:58] <confused___> i love angular
[21:02:00] *** thomasreggi has quit IRC
[21:02:05] *** siddart has joined #angularjs
[21:02:05] <confused___> wish they head of UI would change his mind
[21:02:09] <confused___> but hes already adopted backbone
[21:02:11] *** dualz has quit IRC
[21:02:16] <sacho_> it might not be so bad
[21:02:17] <confused___> idiot!
[21:02:27] <confused___> hes missing out so much by not going for angular
[21:02:27] *** crewshin has quit IRC
[21:02:58] <BahamutWC|Work> yuck backbone
[21:03:20] *** Kosre has quit IRC
[21:04:00] *** xcruciating has joined #angularjs
[21:04:08] <confused___> so I have just gone on github and looking through a few projects and seeing what they are about - when I find something that looks interesting how do I go about starting to contribute - I guess I first have to clone repo run it get familiar with it the code etc and then find bugs or go through the bug list and try to fix things? how do I know I am not working on a biug that someone else is already fixing?
[21:04:30] *** yu6jtyuy has quit IRC
[21:04:39] *** Limix has quit IRC
[21:04:42] *** nemothekid has quit IRC
[21:04:43] *** gurke_ has quit IRC
[21:04:51] <Linell> http://blog.udacity.com/2013/10/get-started-with-open-source-projects.html
[21:04:57] *** gnrlbzik has joined #angularjs
[21:04:59] *** nemothekid has joined #angularjs
[21:05:05] *** siddart has quit IRC
[21:05:18] <Linell> Check out the issues on the repo to see what's outstanding and any info they've gathered on the bug
[21:05:22] *** siddart has joined #angularjs
[21:05:22] *** avens has quit IRC
[21:05:25] *** xarian has quit IRC
[21:05:35] *** deanclkclk__ has joined #angularjs
[21:06:00] <wafflej0ck> confused___: https://help.github.com/articles/using-pull-requests/ <-- if you think you have a fix you can submit a pull request
[21:06:16] *** avens has joined #angularjs
[21:06:19] *** autolycus has joined #angularjs
[21:06:20] <ctanga> yay. Executed 234 of 234 SUCCESS
[21:06:27] <confused___> understans thank wafflej0ck
[21:06:28] <wafflej0ck> should read whatever readme though for testing and stuff
[21:06:55] *** deanclkclk has quit IRC
[21:06:58] *** xcruciating has quit IRC
[21:07:08] <confused___> something jsut occured to me - I am all of a sudden worried about commiting a lot of time to getting to know the code of a project and not really understanding it and not being able to fix any bugs and feeling like I have wasted that time
[21:07:21] *** deanclkclk has joined #angularjs
[21:07:26] <wafflej0ck> confused___: you'll still probably learn from reading the code
[21:07:27] <crackerzNcheez> if you learn anything, you wasted nothing
[21:07:41] <wafflej0ck> confused___: at least one way of doing things
[21:07:41] *** MuffinMan` has joined #angularjs
[21:08:05] *** tristanp has quit IRC
[21:08:18] <confused___> understand - found a nice little project to do with SVG - been using a bit of svg due to the D3 library i spent 2 weeks working on to complete the whole user story https://github.com/ConnorAtherton/walkway
[21:08:23] <wafflej0ck> confused___: learning to grep around the source to find problems and other little skills is helpful too
[21:08:23] *** deanclkclk___ has joined #angularjs
[21:08:49] *** ProLoser has joined #angularjs
[21:08:55] *** tristanp has joined #angularjs
[21:08:56] <confused___> you mean grep as in find stuff? I am planning on using webstorm as opposed to emacs
[21:09:01] *** siddart has quit IRC
[21:09:08] *** iribarne has quit IRC
[21:09:13] <wafflej0ck> confused___: yeah, I use sublimetext but still prefer grep a lot of the time
[21:09:17] *** siddart has joined #angularjs
[21:09:25] *** annlewis has joined #angularjs
[21:09:27] *** nemothekid has quit IRC
[21:09:31] <confused___> can you explain what grep you are referring to? sorry if the question is stupid
[21:09:44] <wafflej0ck> can just narrow things down easier using grep, can do the same in the find in all but it just seems like a little more work to me
[21:09:48] *** deanclkclk__ has quit IRC
[21:09:48] *** moritzs has quit IRC
[21:09:58] <wafflej0ck> confused___: oh just the command line *nix command, grep
[21:10:06] *** prosper_ has joined #angularjs
[21:10:08] <confused___> understand sorry wafflej0ck
[21:10:18] *** deanclkclk_ has quit IRC
[21:10:21] <wafflej0ck> confused___: no worries
[21:10:48] <wafflej0ck> confused___: what OS you use?
[21:10:51] *** UrB has quit IRC
[21:10:55] *** thomasreggi has joined #angularjs
[21:10:56] *** whitebook has joined #angularjs
[21:11:17] *** richiebkr has quit IRC
[21:11:52] <confused___> I just am desperate to become good at what I do so that people can look at me and say 'yeah this guy knows his stuff" like they do with this new guy who is a super awesome developer and seems to be picking up new things so much quiecker - we started backbone at the same time and hes already better than me - I really hope that's s imply due to eperience and not me being a useless piece of rubbish :|
[21:12:10] *** iribarne has joined #angularjs
[21:12:47] *** gnrlbzik has quit IRC
[21:13:03] <crackerzNcheez> Do you enjoy what you do?
[21:13:04] *** gnrlbzik has joined #angularjs
[21:13:19] *** lsiv568 has quit IRC
[21:13:19] *** siddart has quit IRC
[21:13:33] *** siddart has joined #angularjs
[21:13:34] *** ProLoser has quit IRC
[21:13:41] *** fedenunez has quit IRC
[21:13:44] *** marr has joined #angularjs
[21:13:46] <confused___> i do but i put myself down and doubt myself because everyone else is better than me - i even thought i should not work as a programmer and change career but i know i wil regret it
[21:13:48] <lebster> with a directive is it possible to have it modify the element its put on onload?
[21:13:51] *** nagappan_ has quit IRC
[21:14:05] *** boneskull has quit IRC
[21:14:06] *** wallerdev has quit IRC
[21:14:13] <crackerzNcheez> Ok, you've got one down. Are you working hard at it and getting better?
[21:14:30] *** nagappan_ has joined #angularjs
[21:14:40] <confused___> yes I always do - hate coming home after gym and doing sodall so either reading something or ''trying'' to write code
[21:14:58] *** gnrlbzik has quit IRC
[21:15:13] <crackerzNcheez> Two down. Are you plugged in and learning new things?
[21:15:24] *** boneskull has joined #angularjs
[21:15:24] <confused___> most definitely I am trying - but I do admit I could try harder and believe I will from now on - I usually a very self criticizing if that makes sense so sometime i butn myself out because of too much work (or trying to) and not enough play (i.e. surfing (which I am learning to at the moment too))
[21:15:32] *** cacts|wtf has joined #angularjs
[21:16:06] <crackerzNcheez> that's the issue there
[21:16:10] *** whitebook has quit IRC
[21:16:13] <crackerzNcheez> that's why they were recommending hacking.
[21:16:18] <wafflej0ck> lebster: sort of but why?
[21:16:19] <crackerzNcheez> it's programmer play
[21:16:31] <confused___> could you elaborate a bit more?
[21:16:39] <crackerzNcheez> have fun with the code
[21:16:57] <confused___> right so are you saying I am almost forcing myself to code as opposed to do it and enjoy it?
[21:17:07] <wafflej0ck> yeah you need to just do something that is fun and you'll be learning without trying to learn
[21:17:07] <wafflej0ck> yea
[21:17:15] <crackerzNcheez> it's going to give you fits a lot of the time, but you ot into this because you enjoy it
[21:17:16] *** siddart has quit IRC
[21:17:16] <confused___> just cloned that project I was telling you about by the way so will start looking at it and see what I can do
[21:17:26] <confused___> most definitely
[21:17:33] *** siddart has joined #angularjs
[21:17:55] *** tfennelly has joined #angularjs
[21:17:56] *** _ritchie_ has joined #angularjs
[21:18:03] *** cactauz has quit IRC
[21:18:04] *** oliver___ has joined #angularjs
[21:18:24] <lebster> wafflej0ck: i want to add a class to the element the directive is on when it loads
[21:18:40] <wafflej0ck> lebster: ng-class doesn't server your purpose?
[21:18:51] *** Reskp has joined #angularjs
[21:18:58] *** \du has quit IRC
[21:19:25] <lebster> wafflej0ck: i figured if im making it a directive, the directive should add the css classes it requires?
[21:19:27] *** s00pcan has quit IRC
[21:19:49] <michaeltresseras> confused___ there will always be someone better at what you do
[21:20:07] <confused___> understand but at the same time I can always be better than what i was today or last month
[21:20:08] <crackerzNcheez> it's normal
[21:20:13] <confused___> understand
[21:20:18] <crackerzNcheez> exactly
[21:20:19] <wafflej0ck> lebster: you can add the classes in the link function using addClass if you'd like, typically I just wrap up all the stuff related to the directive in the template and don't replace the original elment
[21:20:19] <michaeltresseras> think about it whenever you master something, there's a 8yo. asian kid that does it 100 times better XD
[21:20:37] <confused___> looooool
[21:20:39] <wafflej0ck> haha
[21:20:41] *** siddart has quit IRC
[21:20:42] <michaeltresseras> being smart isn't being a good engineer
[21:20:46] <confused___> we have some japanese guys at the team and OMG
[21:20:48] *** mrwn has joined #angularjs
[21:20:59] *** siddart has joined #angularjs
[21:21:05] <michaeltresseras> being smart is being able to improve as an engineer
[21:21:21] <michaeltresseras> being able to sell it
[21:21:26] <confused___> that makes sense
[21:21:28] <michaeltresseras> talk like you master shit
[21:21:34] *** mtho11 has quit IRC
[21:21:35] <lebster> wafflej0ck: if i put it in the link function, wont it add the class only when you click the link?
[21:21:40] <michaeltresseras> ppl will believe yougive u more credit
[21:21:51] *** the-anconia has quit IRC
[21:21:53] <wafflej0ck> lebster: no the link function is executed for each instance of a directive that is encountered
[21:22:02] <confused___> well
[21:22:10] *** mtho11 has joined #angularjs
[21:22:15] <confused___> thats why these architects think I am the shit
[21:22:16] <wafflej0ck> lebster: so long as the directive is in view it will be processed basically (run through $compile)
[21:22:18] <confused___> tthey asume it
[21:22:26] <confused___> and I feel liek I am letting everyone dowj
[21:22:27] <lebster> wafflej0ck: ahh okay thanks
[21:22:32] <confused___> cos I am not as good as they think I am
[21:22:37] <wafflej0ck> lebster: np
[21:22:45] <crackerzNcheez> let someone else tell you you suck. you tell you you're awesome
[21:22:52] *** night-owl is now known as zz_night-owl
[21:23:05] *** fedenunez has joined #angularjs
[21:23:06] *** s00pcan has joined #angularjs
[21:23:11] <confused___> but isnt that fooling myself?
[21:23:23] <crackerzNcheez> nope. you're fooling yourself right now
[21:23:39] <zomg> confused___: what makes you think that way though?
[21:23:53] <wafflej0ck> confused___: http://www.brainyquote.com/quotes/authors/m/muhammad_ali.html
[21:23:54] <confused___> but I have facts - i struggle a lot therefore I am not awesome -0 I am not as good as other people especially this new guy - I am the weakest link at the moment pretty much in that team
[21:24:13] <wafflej0ck> confused___: My only fault is that I don't realize how great I really am.
[21:24:27] <wafflej0ck> haha
[21:24:30] <wafflej0ck> love this guy
[21:24:31] <confused___> thats how I feel therefore I cannot make myself feel better unless I see results and at the moment I aint seeing any
[21:24:35] <crackerzNcheez> it only looks that way because you know everything about yourself and very little about everyone else
[21:24:43] *** autolycus_ has joined #angularjs
[21:24:52] <confused___> i dont think I am the person to ever show off - unliek this new guy
[21:24:54] <confused___> :|
[21:25:04] <michaeltresseras> yeah this new guy gets it
[21:25:04] *** siddart has quit IRC
[21:25:08] <michaeltresseras> talk like you know
[21:25:11] <michaeltresseras> fool the others
[21:25:11] <confused___> i am scared pretty much (without rtying to sound stupid)
[21:25:14] <michaeltresseras> fool yourself
[21:25:14] *** autolycus has quit IRC
[21:25:15] *** autolycus_ is now known as autolycus
[21:25:16] <michaeltresseras> and bam
[21:25:20] <michaeltresseras> fake it til you mae it
[21:25:21] <zomg> confused___: so what are you doing that's making you feel like you're struggling and not contributing? Are you stuck on a problem? Not writing much code?
[21:25:23] *** siddart has joined #angularjs
[21:25:27] <michaeltresseras> *make it
[21:25:36] *** richardlitt has quit IRC
[21:25:40] <wafflej0ck> eh wouldn't go with talking too much trash but good to be confident
[21:25:54] <crackerzNcheez> http://www.ted.com/talks/amy_cuddy_your_body_language_shapes_who_you_are?language=en
[21:26:01] <confused___> well spent last week working on a problem in backbone should take like 2-3 but becaus eI am new to backbone its taking me longer
[21:26:05] <confused___> plus at python I feel rubbish
[21:26:09] <crackerzNcheez> that vid helped me A LOT
[21:26:30] <confused___> and this other guy keeps saying things like "you should try learning to code first" or "how did you get this job"....
[21:26:42] <crackerzNcheez> he's obviously insecure
[21:27:02] <confused___> do you think? buthe is amazing
[21:27:16] *** MANCHUCK has quit IRC
[21:27:17] <zomg> Tell him to go suck a cock
[21:27:17] <zomg> :D
[21:27:20] <confused___> at coding - figures shit out so quick and always comes up with ways to improve the project that the architects and the bosses are loving him!!!
[21:27:26] <confused___> loooooool
[21:27:33] *** dtrott has quit IRC
[21:27:35] <confused___> ROFL
[21:27:44] *** RobinBAwesome has quit IRC
[21:27:46] <confused___> i needed to hear that haha]
[21:28:04] <confused___> omfg haha
[21:28:10] <confused___> zomg you rock
[21:28:32] <zomg> Yeah if he's being an ass might as well be an ass back
[21:28:32] *** avens has quit IRC
[21:28:32] <zomg> :D
[21:28:34] <Linell> if someone is actually being a dick to you like that, the first step is solving that problem *then* being better at code
[21:28:46] *** lsiv568 has joined #angularjs
[21:28:47] <wafflej0ck> Linell: agree
[21:28:51] <wafflej0ck> separate problems
[21:28:51] <zomg> Yep
[21:28:57] <confused___> right
[21:29:00] <crackerzNcheez> yep
[21:29:03] <zomg> Would bring it up with management tbh
[21:29:08] <confused___> so focus on the proglem (even if that means with his help)
[21:29:09] <zomg> if he's being an ass
[21:29:10] <wafflej0ck> also being good at coding doesn't mean you aren't a dick
[21:29:12] *** siddart has quit IRC
[21:29:12] <confused___> first
[21:29:28] *** siddart has joined #angularjs
[21:29:36] *** avens has joined #angularjs
[21:29:42] *** tech2 has joined #angularjs
[21:29:53] *** fedenunez has quit IRC
[21:30:05] <crackerzNcheez> focus might not be the right word
[21:30:09] <crackerzNcheez> address
[21:30:27] <confused___> right ok
[21:31:05] <zomg> Might be good to try and see if he's just one of these people with no social skills
[21:31:17] *** whunt has quit IRC
[21:31:19] *** m_rc has quit IRC
[21:31:20] <crackerzNcheez> +1
[21:31:21] *** zwacky has quit IRC
[21:31:21] *** zwacky_ has quit IRC
[21:31:30] <wafflej0ck> yeah need to just deal with him, either directly or with the moderation of a manager or something, if he is truly a better programmer and can guide you he's more valuable to the company if he can't communicate and work with people below him he'll never be able to move up
[21:31:31] *** patrick99e99 has joined #angularjs
[21:31:40] <confused___> he is!!!
[21:31:41] *** cotko has quit IRC
[21:31:47] <confused___> omg hes so awkward and weird
[21:31:55] *** nemothekid has joined #angularjs
[21:32:09] <confused___> like he comes up with shit like - why would you want to travel to new york (from UK where we are) - whats the point?
[21:32:24] <confused___> im like dude go suck dick travelling is such an awesome experience
[21:32:29] <zomg> lol
[21:32:32] *** cacts|wtf has quit IRC
[21:32:39] <confused___> after having had the time of mylife in vegas it made me realise travelling is awesome
[21:32:39] <wafflej0ck> I helped a lot of people at the last company I worked at and was more versed in the language than a lot of people so I would help brainstorm with them and get them on the right path instead of trying to clean up or be pissed later
[21:32:44] <zomg> might just wanna see if you can just get him to help you instead
[21:32:56] *** monir has joined #angularjs
[21:33:01] <confused___> well i am always polite and nice but he choosed to be a knob
[21:33:04] <zomg> people like that don't necessarily mean to be assholes, they just don't think about what they're saying and how others might react
[21:33:09] *** siddart has quit IRC
[21:33:24] *** siddart has joined #angularjs
[21:33:37] *** gunn has joined #angularjs
[21:33:37] *** brian has joined #angularjs
[21:33:44] *** Aliks has joined #angularjs
[21:33:50] *** crewshin has joined #angularjs
[21:33:57] *** garbanzio has joined #angularjs
[21:33:58] <zomg> like if he says something like how did you even get this job when you're having problems you could try asking him that instead of being an ass maybe he can help you =)
[21:34:01] *** brian is now known as Guest61983
[21:34:03] *** jchamberlain has quit IRC
[21:34:13] *** Guest61983 is now known as burayon
[21:34:22] *** mzabriskie has quit IRC
[21:34:37] *** mrwn has quit IRC
[21:34:43] *** SomeKittens has quit IRC
[21:34:46] <zomg> of course if he actually is an ass and he keeps being a problem.. then it might be good to talk to others and see if they're seeing him as a problem as well, and take it to management
[21:34:49] <confused___> i will try that next time
[21:34:54] <wafflej0ck> confused___: yeah some people there is no changing but good to take it up with him or if that is like talking to a wall go to a manager and just ask to work with someone else
[21:34:58] <wafflej0ck> zomg: +1
[21:35:11] <confused___> makes sense will see how things go
[21:35:26] *** LossFor has quit IRC
[21:35:33] *** marshall_ has quit IRC
[21:36:08] *** patrick99e99 has quit IRC
[21:37:28] <crackerzNcheez> Achievement Get: Group therapy :D
[21:37:49] *** siddart has quit IRC
[21:38:05] *** siddart has joined #angularjs
[21:38:11] *** jmverges has quit IRC
[21:38:14] *** armitage7 has joined #angularjs
[21:38:28] *** autolycus has left #angularjs
[21:38:35] *** autolycus has joined #angularjs
[21:40:03] *** autolycus has quit IRC
[21:40:12] *** siddart has quit IRC
[21:40:24] *** doug64k has quit IRC
[21:40:28] *** siddart has joined #angularjs
[21:40:34] *** avens has quit IRC
[21:40:51] *** confused___ has quit IRC
[21:40:59] <G1eb> hi, how does one update the published app after deploying a new version? My cache is still keeping the old version which leads to all sorts of oddities...
[21:41:07] *** avens has joined #angularjs
[21:41:29] <wafflej0ck> G1eb: it's what filerev plugin is for otherwise you need to clear cache
[21:41:33] *** autolycus has joined #angularjs
[21:41:51] <Linell> Try command+shift+r
[21:42:13] *** IvailoStoianov has quit IRC
[21:42:14] <wafflej0ck> G1eb: https://github.com/yeoman/grunt-filerev if you're using grunt will generate hashes from the filenames so if they change the filename changes but yeah otherwise need to clear cache
[21:42:16] <G1eb> wafflej0ck is that grunt plugin?
[21:42:21] *** juampy has joined #angularjs
[21:42:26] *** ChanServ sets mode: +o caitp
[21:42:27] *** blomman has joined #angularjs
[21:42:30] *** lsiv568 has quit IRC
[21:42:31] *** caitp changes topic to "http://angularjs.org/ | Docs: http://docs.angularjs.org/ | Latest release: 1.2.26 / 1.3.2 | Be respectful! Code Of Conduct: http://goo.gl/m7MHxk | Paste your code here: http://plnkr.co/edit/tpl:FrTqqTNoY8BEfHs9bB0f | The channel is being logged at: http://goo.gl/8Wwttq | Be polite! ( *❛‿❛)/˚°◦🐙"
[21:42:35] *** ChanServ sets mode: -o caitp
[21:42:46] *** doug64k has joined #angularjs
[21:42:46] <G1eb> wafflej0ck ah thanks man
[21:42:53] <wafflej0ck> G1eb: it can be a bit of a pain though cause it has to replace the filenames for you which doesn't work everywhere all the time, np
[21:43:10] *** juampy has quit IRC
[21:43:44] *** yelvert has quit IRC
[21:44:09] <bradmaxs> So I have this thing working for the most part and now I have to update the dom. Not sure how to proceed. It is the fileCtrl part. I do get a success response from the http request. http://plnkr.co/edit/DxBCLkEzHjQhjiHiHtGD?p=info
[21:44:11] *** marshall_ has joined #angularjs
[21:44:21] *** siddart has quit IRC
[21:44:38] *** siddart has joined #angularjs
[21:45:12] *** LoganE has joined #angularjs
[21:45:27] <G1eb> wafflej0ck is there a way to detect change of the files on clients side? say you want to show them a dialog that they have to refresh the page?
[21:45:32] *** siddart has quit IRC
[21:45:49] *** siddart has joined #angularjs
[21:45:58] *** Grokling_ has joined #angularjs
[21:46:21] <wafflej0ck> G1eb: not really, you can append a random string to all the requests to have them not use the cached version but then you never get the advantage of the cache
[21:46:58] *** moritzs has joined #angularjs
[21:46:59] <Grokling_> Is anyone doing fuzzy string matching with angular? If so, what are you using to do it?
[21:47:01] <wafflej0ck> G1eb: the general solution that file-rev does is called "cache busting" if you want to look into it more
[21:47:06] *** Furby has joined #angularjs
[21:47:08] <Furby> this http://raw.pro-chan.com/Raw/t/674_1382207920
[21:47:26] *** Freemason has joined #angularjs
[21:47:36] *** bpmj has quit IRC
[21:47:37] *** siddart has quit IRC
[21:47:54] *** siddart has joined #angularjs
[21:48:04] *** Hootch has quit IRC
[21:48:30] *** Hootch has joined #angularjs
[21:48:39] *** yelvert has joined #angularjs
[21:49:32] *** jaznow has quit IRC
[21:49:35] <Grokling_> Furby: That's an effective justice system.
[21:49:45] *** siddart has quit IRC
[21:50:00] <Furby> you like it
[21:50:01] *** siddart has joined #angularjs
[21:50:02] <Furby> ?
[21:50:05] <wafflej0ck> bradmaxs: you don't typically modify the DOM directly in angular instead you update the model
[21:50:18] <wafflej0ck> bradmaxs: the changes to the model are bound in the view and cause changes to the DOM
[21:50:21] <G1eb> wafflej0ck thanks, thats what we are looking for I guess
[21:50:29] *** ad_libr has joined #angularjs
[21:50:35] <wafflej0ck> bradmaxs: the actual DOM changes are handled by directives
[21:50:53] *** whunt has joined #angularjs
[21:50:53] *** walden is now known as walden|afk
[21:51:09] <Grokling_> I like the effectiveness of it. A penalty that makes you seriously consider what else you could be doing instead of attempting to steal things.
[21:51:19] *** ad_libr has quit IRC
[21:51:37] *** LossFor has joined #angularjs
[21:51:40] <Grokling_> So, nobody is doing fuzzy string comparisons on the client side then?
[21:51:48] <wafflej0ck> nope
[21:51:51] <wafflej0ck> not I
[21:51:56] *** siddart has quit IRC
[21:52:13] *** siddart has joined #angularjs
[21:52:18] <wafflej0ck> Grokling_: perhaps http://kiro.me/projects/fuse.html
[21:52:27] *** BillCriswell has joined #angularjs
[21:52:36] *** josh3336 has joined #angularjs
[21:52:45] *** armitage7 has quit IRC
[21:53:26] <Grokling_> Yeah, I had a look at that. It'll do for a start. Just thought that rather than reinventing the wheel I'd see if there were any pioneers who'd traveled this path ahead of me.
[21:53:43] <wafflej0ck> yup always good to check but dunno myself
[21:53:49] <Grokling_> Not to worry. I'll grab my machete and blaze a trail.
[21:53:51] *** Furby has quit IRC
[21:53:51] *** Freemason has quit IRC
[21:53:57] *** japhar81 has quit IRC
[21:54:11] *** josh3336_ has joined #angularjs
[21:54:40] <bradmaxs> wafflej0ck: Ok. This is cosmic. And I get what you are saying but I am still learning. How then do I update the row.Attachment.active value and the class of the element? TY.
[21:55:00] <robdubya> isnt that what regex is for?
[21:55:03] *** RobinBAwesome has joined #angularjs
[21:55:24] <wafflej0ck> bradmaxs: ng-class will handle the conditional application of a class based on some boolean
[21:55:43] <Guest19466> regex?
[21:55:46] <wafflej0ck> bradmaxs: like ng-class="{'active-class':row.Attachment.active}"
[21:55:49] *** avens has quit IRC
[21:56:08] <bradmaxs> wafflej0ck: Ok. I have used that a little. I'll give that a try.
[21:56:14] <wafflej0ck> Guest19466: http://regex101.com/ think robdubya was suggesting for fuzzy search
[21:56:31] *** avens has joined #angularjs
[21:56:39] <wafflej0ck> I thought that at first but would be nice to have a library that tells you how close the match was or the like
[21:57:12] <Grokling_> there's all sorts of stuff, like soundex, Levenshtein etc that regex can't get close to.
[21:57:25] *** josh3336 has quit IRC
[21:57:26] *** josh3336_ is now known as josh3336
[21:57:44] <wafflej0ck> Grokling_: true I'm sure they use regex under the hood for some of that but extra complexity on top of it
[21:57:44] *** avens has quit IRC
[21:57:57] *** richiebkr has joined #angularjs
[21:58:51] *** prosper_ has quit IRC
[21:58:53] *** avens has joined #angularjs
[21:59:06] *** DLSteve has joined #angularjs
[22:00:25] <wafflej0ck> well I suppose not with Levenshtein but not sure how soundex works
[22:00:52] *** favetelinguis has quit IRC
[22:01:29] *** prosper_ has joined #angularjs
[22:02:04] *** esk4nd4r has quit IRC
[22:02:14] *** siddart has quit IRC
[22:02:32] *** siddart has joined #angularjs
[22:02:37] *** dhcar is now known as dhcar_AFK
[22:02:45] *** Guest19466 has left #angularjs
[22:02:47] *** moritzs has quit IRC
[22:02:56] *** blomman has quit IRC
[22:02:59] *** naneau has quit IRC
[22:03:08] *** shampine has quit IRC
[22:03:16] *** faveteli_ has joined #angularjs
[22:03:18] *** \du has joined #angularjs
[22:03:19] *** \du has joined #angularjs
[22:03:27] <ioudas> can anyone tell me why this option select has no inital value? http://pastebin.com/UQxcdZqt
[22:03:35] <Grokling_> fuse will work I think. Not so keen on needing to do a new fuse() if the underlying array changes, but I can work around that.
[22:03:35] *** shampine has joined #angularjs
[22:03:36] *** nit has joined #angularjs
[22:04:00] *** nit is now known as Guest15851
[22:04:15] *** FrankH_ has quit IRC
[22:04:18] *** LoganE has quit IRC
[22:04:20] *** avens has quit IRC
[22:04:37] *** MANCHUCK has joined #angularjs
[22:05:07] *** ciwolsey has quit IRC
[22:05:14] *** avens has joined #angularjs
[22:05:24] *** monir has quit IRC
[22:05:37] <Guest15851> will angular 1.X supported after angular 2.0
[22:05:39] <Guest15851> ?
[22:06:18] <wafflej0ck> Guest15851: probably for a while
[22:06:48] <wafflej0ck> Guest15851: it's open source so worse case scenario you have the source and can fix problems but lots of projects are using it and no one is using 2.0 so you're safe for now :)
[22:06:49] <Grokling_> ioudas: Chop this plunker around to fit your data/usage pattern, then link it back to us. http://plnkr.co/edit/fTxUxCm9OjIyCA6VQHm1?p=preview
[22:07:26] *** faveteli_ has quit IRC
[22:07:47] <dman777_alter> angular.js 2.0 will have traceur already implemented in it, correct?
[22:08:10] *** shampine has quit IRC
[22:08:11] <wafflej0ck> dman777_alter: from what I understand we'll be using traceur for the traspilation
[22:08:43] <wafflej0ck> dman777_alter: I think you can still write the ECMA5 directly if you wanted to but it's not really going to be the way forward
[22:09:28] *** nicholaswyoung has joined #angularjs
[22:10:17] *** m_rc has joined #angularjs
[22:10:23] *** shampine has joined #angularjs
[22:10:23] *** shampine has joined #angularjs
[22:10:24] *** vdrizzle-work has left #angularjs
[22:10:58] <dman777_alter> wafflej0ck: I am building a gulp generator. I was going to include gulp-traceur. But how will conflict if there is already a gulp traceur in angular and eveything is placed in one big source map?
[22:11:01] *** siddart has quit IRC
[22:11:12] *** josdeha_rt has quit IRC
[22:11:13] *** NewBKaeK has joined #angularjs
[22:11:17] *** siddart has joined #angularjs
[22:11:25] *** m_rc is now known as jesso
[22:11:41] *** jesso is now known as m_rc
[22:11:48] *** AngularUI has joined #angularjs
[22:11:48] <AngularUI> [ng-grid] c0bra pushed 1 new commit to master: http://git.io/K9Bvvw
[22:11:48] <AngularUI> ng-grid/master fd35328 c0bra: fix(uiGridRenderContainer): Inherit position...
[22:11:48] *** AngularUI has left #angularjs
[22:11:57] <ioudas> yeah im a little lost on how to do that
[22:12:37] <Grokling_> ioudas: Which part?
[22:12:47] <ioudas> making it match my data
[22:12:54] *** tobias1_ has joined #angularjs
[22:12:58] <dman777_alter> well, how long untill Angular 2 comes out? maybe this concern isn't valid for a long time.
[22:13:16] *** syzygy__ has joined #angularjs
[22:13:21] <Grokling_> ioudas: You must know the basic structure of your data?
[22:13:37] <ioudas> yes
[22:13:41] *** whunt has quit IRC
[22:13:44] <NewBKaeK> I'm having a bit of trouble creating a validation directive. I'm following the example in the docs here: https://code.angularjs.org/1.2.26/docs/guide/forms (custom validation). I can't figure out why my field is stuck as invalid, even though my validation passes?
[22:13:52] <ioudas> i can give you an xml version of it, i dont know how to put it as json there...
[22:13:56] *** richardlitt has joined #angularjs
[22:14:33] <ioudas> i managed to get a selected option but putting a new option. but that kinda seems weird. nor can I get the option value to be the selected value
[22:14:35] <ioudas> of the option
[22:15:01] *** siddart has quit IRC
[22:15:17] *** siddart has joined #angularjs
[22:15:28] *** BobbieBarker has joined #angularjs
[22:15:29] <Grokling_> ioudas: The key isn't equivalent. What you need to change depends on your underlying data structure.
[22:15:58] *** doosy has joined #angularjs
[22:16:13] <BobbieBarker> i have a really weird problem. I need to do an old school form inside of angularJS that redirects the user to a new site with a saml payload
[22:16:17] <ioudas> hmmm
[22:16:20] *** spaceonline has quit IRC
[22:16:31] *** blackjid_ has quit IRC
[22:16:51] <Grokling_> ioudas: Try an online xml->json conversion.. http://www.utilities-online.info/xmltojson/ maybe?
[22:16:56] *** wallerdev has joined #angularjs
[22:17:03] *** richiebkr has quit IRC
[22:17:05] <BobbieBarker> this is an example of what i'm talking about
[22:17:05] <BobbieBarker> http://pastebin.com/4srCz0Jy
[22:17:18] <tobias1_> at risk of sounding stupid, what does it mean to "cache" an http request with angular? this doesn't store it in localstorage or anything so what does it do exactly ...
[22:17:30] *** accelerate is now known as what
[22:17:35] *** what is now known as accelerate
[22:17:56] *** gnrlbzik has joined #angularjs
[22:18:06] *** accelerate is now known as who
[22:18:10] *** who is now known as accelerate
[22:18:32] <snurfery> BobbieBarker: I wonder if you can create a directive that's higher priority than 'form' and give it the 'terminal: true' option
[22:18:41] <BobbieBarker> what would that do for me?
[22:18:45] *** LossFor has quit IRC
[22:18:56] <BobbieBarker> this is so disorienting cuz i'm extremely used to the angular way of things
[22:19:01] <BobbieBarker> and now i need to reach back to 1998
[22:19:02] <snurfery> it'll leave it as a plain form element rather than an angular-ized form
[22:19:09] *** siddart has quit IRC
[22:19:17] <BobbieBarker> oh no shit
[22:19:17] <snurfery> (in theory)
[22:19:26] *** siddart has joined #angularjs
[22:19:29] <BobbieBarker> is angular reaching down into that form
[22:19:32] <BobbieBarker> and doing something evil to it?
[22:19:38] <snurfery> yeah 'form' is an angular directive
[22:19:42] <BobbieBarker> fook
[22:19:52] <BobbieBarker> i forgot that/took it for granted
[22:20:11] <BobbieBarker> so snurf would i need to use a template with the directive
[22:20:11] <BobbieBarker> ?
[22:20:23] <BobbieBarker> or just put the directive on it as an attribute
[22:20:31] <snurfery> attribute should be fine
[22:20:43] *** cornerma1 has joined #angularjs
[22:20:49] <BobbieBarker> i'll do a test run on this
[22:20:53] *** alinouman has quit IRC
[22:20:56] <snurfery> just a high priority (1000?) and terminal: true, might work
[22:21:01] <BobbieBarker> thanks for giving me a direction to work in snurfery
[22:21:10] <snurfery> hope it works, I've never done it ;)
[22:21:15] <BobbieBarker> me niether dude
[22:21:17] <BobbieBarker> i'm lost in the sauce
[22:21:21] <ioudas> http://pastebin.com/QYCWz0xv
[22:21:26] <BobbieBarker> i'm trying to interact with a piece of shit government website
[22:21:27] <ioudas> that is the data structure....
[22:21:29] <BobbieBarker> it's a long story
[22:21:39] <ioudas> i cant really modify your plunker or fork it...
[22:21:42] *** m_rc has joined #angularjs
[22:22:12] *** michaeltresseras has quit IRC
[22:22:37] *** Una has quit IRC
[22:22:57] *** michaeltresseras has joined #angularjs
[22:23:07] *** mjs2600 has quit IRC
[22:23:09] *** joker666 has joined #angularjs
[22:23:17] *** bpmj has joined #angularjs
[22:23:22] <joker666> Foxandxss, yusss bud
[22:23:26] <joker666> me gots job
[22:23:29] *** JackHorror has joined #angularjs
[22:23:39] <Foxandxss> nice
[22:23:41] <Foxandxss> react one?
[22:23:44] <joker666> react FTW
[22:23:47] <JackHorror> hallo guys!
[22:23:58] *** cornerman has quit IRC
[22:24:03] *** cornerma1 is now known as cornerman
[22:24:03] <Foxandxss> joker666: so no more android? :P
[22:24:15] <JackHorror> Is it the wright place to ask questions? :)
[22:24:22] <wafflej0ck> JackHorror: yup
[22:24:31] <joker666> yes, "wright" place
[22:24:38] <JackHorror> right
[22:24:48] *** nagappan_ has quit IRC
[22:24:50] <wafflej0ck> dman777_alter: not sure about details on that but wouldn't worry until we actually see 2.0 drop
[22:25:01] <joker666> lol, no actually, they are .NOT as backend so, they use C# everywhere
[22:25:05] *** Evanion has joined #angularjs
[22:25:06] <joker666> and the wanna use xamarin
[22:25:14] <Foxandxss> cant wait to 2.0
[22:25:28] *** nagappan_ has joined #angularjs
[22:25:30] <joker666> for cross platform which is using C#
[22:25:30] <BobbieBarker> snurfery: i think it worked... sort of cept that now my {{}} don't do shit
[22:25:44] <joker666> But I'll propose native android with java :)
[22:25:45] *** siddart has quit IRC
[22:26:01] *** siddart has joined #angularjs
[22:26:16] <joker666> the pay is good man :)
[22:26:26] <Foxandxss> xamarin is awesomesauce
[22:26:26] *** cacts|wtf has joined #angularjs
[22:26:32] <Foxandxss> that is good
[22:26:41] *** mjs2600 has joined #angularjs
[22:26:43] *** whitebook has joined #angularjs
[22:26:45] *** Guest85731 has quit IRC
[22:26:53] <joker666> :/ I hate xamarin and C#
[22:27:06] <wafflej0ck> ah little bit of C# I've done was alright with it
[22:27:07] <JackHorror> i want to create "bookmarks" for a cooking app (recipes), and i was told on intel xdk forum that i can create it with angular
[22:27:08] <wafflej0ck> didn't like XAML
[22:27:09] *** Owner__ has joined #angularjs
[22:27:17] *** michaeltresseras has quit IRC
[22:27:26] *** AngularUI has joined #angularjs
[22:27:27] <AngularUI> [ng-grid] brianchance opened pull request #2040: Put header text in a span so it can be styled (master...master) http://git.io/YfBa0g
[22:27:27] *** AngularUI has left #angularjs
[22:27:30] *** pdillinger has joined #angularjs
[22:27:33] *** Owner__ is now known as Guest54731
[22:27:42] *** TheAceOfHearts has joined #angularjs
[22:27:43] *** whunt has joined #angularjs
[22:27:49] *** tobias1_ has quit IRC
[22:27:59] <Foxandxss> wafflej0ck: lucky for you I don't have the ban hammer
[22:28:00] <Foxandxss> xaml is awesome
[22:28:09] <wafflej0ck> Foxandxss: hah
[22:28:17] <TheAceOfHearts> anything with an X in it cannot be a good thing
[22:28:22] <snurfery> BobbieBarker: uh oh
[22:28:26] <Foxandxss> I like porn
[22:28:31] <joker666> I understand that any app i write in angular, if i write the same app in react i will have to write 3 times more code
[22:28:33] *** jacuqesdancona has joined #angularjs
[22:28:34] <BobbieBarker> i'm not out of the game though
[22:28:35] <Foxandxss> so X stuff is cool
[22:28:41] <joker666> but donno if i get 3 times better espeed
[22:28:42] <TheAceOfHearts> lol
[22:29:18] <Foxandxss> joker666: it is a on site work?
[22:29:20] *** baweaver has quit IRC
[22:29:23] *** Kosre has joined #angularjs
[22:29:26] *** yelvert has quit IRC
[22:29:29] <joker666> todomovc angular vs todomvc react
[22:29:35] <JackHorror> anyone?
[22:29:35] <joker666> just see and you'll get it
[22:29:44] <joker666> chaldal.com
[22:29:45] *** siddart has quit IRC
[22:29:49] <joker666> that is where i work
[22:29:53] *** yelvert has joined #angularjs
[22:29:59] *** baweaver has joined #angularjs
[22:30:01] *** siddart has joined #angularjs
[22:30:02] <Foxandxss> JackHorror: you can do that, yes
[22:30:05] <wafflej0ck> JackHorror: Angular is really a MVC framework might be more than what you need, do you do professional web dev or are you trying to learn?
[22:30:20] <JackHorror> i am trying to
[22:30:27] <wafflej0ck> JackHorror: okay good enough
[22:30:30] *** intellix has quit IRC
[22:30:41] <wafflej0ck> JackHorror: yeah it will let you make a recipe searching/bookmarking web app
[22:30:54] <dman777_alter> how is it possible that Angular.js 2.0 is based on ESM6 if it's written in Ascript?
[22:30:55] *** intellix has joined #angularjs
[22:31:13] <wafflej0ck> JackHorror: the major achilles heel I'd say of Angular is just SEO, but it can be addressed with prerender.io or the like
[22:31:25] <Foxandxss> dman777_alter: atscript is just es6 with extra bits
[22:31:30] <Foxandxss> previously known as ES6++
[22:31:31] <Grokling_> ioudas: http://plnkr.co/edit/yvGQ0mRgkKNXmUXwQzIP?p=preview
[22:31:34] *** whitebook has quit IRC
[22:31:34] *** tech2 has quit IRC
[22:31:36] <wafflej0ck> JackHorror: start with the Angular tutorial though and see the IRC topic for a link to plunkr with Angular setup so you can show problems
[22:31:46] *** siddart has quit IRC
[22:31:46] <TheAceOfHearts> calling it ES6++ is disingenuous
[22:31:48] *** avens has quit IRC
[22:31:54] <TheAceOfHearts> it has nothing to do with ECMA
[22:31:55] *** siddart has joined #angularjs
[22:31:59] <dman777_alter> Foxandxss: oh, ok. I read where it was a fork of Typescript, that is not true then?
[22:32:06] *** favetelinguis has joined #angularjs
[22:32:09] *** pdillinger has quit IRC
[22:32:09] <Foxandxss> it is not
[22:32:21] <dman777_alter> Foxandxss: cool, thanks
[22:32:23] <ioudas> yeah that doesnt really solve it
[22:32:26] <Foxandxss> the extra features from ES6 are typscript based
[22:32:52] *** jacuqesdancona has quit IRC
[22:32:58] *** prosper_ has quit IRC
[22:33:01] <Evanion> Kids in bed … time to get some work done on my Angular boiler …
[22:33:01] *** bzitzow has quit IRC
[22:33:09] <Grokling_> ioudas: well, without your actual json..
[22:33:21] <JackHorror> wafflej0ck : i would lke to create an android app, it is almost ready, i am working on Intel Xdk, the final thing is the bookmarks, but i don't know sh*t about angular..
[22:33:25] *** oliver___ has quit IRC
[22:33:25] *** macobo has quit IRC
[22:33:25] <ioudas> that doesnt even put the values with that json...
[22:33:34] *** Kosre has quit IRC
[22:33:54] <Evanion> I just Ionic for all my app development needs
[22:33:59] *** siddart has quit IRC
[22:34:01] <Grokling_> ioudas: dissambiguate?
[22:34:16] *** siddart has joined #angularjs
[22:34:23] *** baweaver has quit IRC
[22:34:26] <ioudas> the option values still arent the values of the drop down...
[22:34:31] <Foxandxss> Evanion: Ionic is really cool yeah
[22:34:40] <ioudas> i need to fire a controller when a selected option is selected...
[22:34:47] *** yelvert has quit IRC
[22:34:52] <ioudas> err function
[22:34:58] <Evanion> YouLinker.com is working on a IOnic based app
[22:35:00] *** walden|afk is now known as walden
[22:35:01] <ioudas> and i need to pass that function the selected option value
[22:35:04] *** cr has joined #angularjs
[22:35:06] *** sirkitree is now known as sirkitree|afk
[22:35:22] <Grokling_> ioudas ng-change="someFunction(model)"
[22:36:32] *** SeeThruH1 has joined #angularjs
[22:36:41] *** danecando has quit IRC
[22:37:11] * ioudas sighs
[22:37:22] *** autolycus has quit IRC
[22:37:27] *** numproc has joined #angularjs
[22:37:29] *** MalteJ has joined #angularjs
[22:37:32] *** tilgovi has joined #angularjs
[22:38:10] *** josdeha_rt has joined #angularjs
[22:38:22] *** favetelinguis has quit IRC
[22:38:35] *** FIFOd[a] has quit IRC
[22:38:53] *** Skrypter has joined #angularjs
[22:39:26] *** Reskp has quit IRC
[22:39:38] <wafflej0ck> JackHorror: not clear to me how you're trying to fit angular in with an existing android app, basically AngularJS is just a javascript framework, so if you are't working in Javascript it doesn't make a ton of sense
[22:39:43] *** SeeThruHead has quit IRC
[22:40:01] <NewBKaeK> newbkaek
[22:40:04] <Grokling_> ioudas: When you select an option in an select, it changes the value in model. It also fires ng-change. Which fires your function (and passes it the model). Perhaps you can explain the problem in a different way rather than sighing like a teenager (of course, if you are a teenager, then carry right on ;-)
[22:40:18] <wafflej0ck> JackHorror: like others mentioned here IonicFramwork is a combination of Apache Cordova for making hybrid apps which is basically a thin "app" container with a web view inside, using that you can use angular in the webview (which is what Ionic does for you)
[22:40:44] <ioudas> ng-change doesnt fire at all.
[22:41:07] *** Nijikokun has quit IRC
[22:41:08] <ioudas> dont worry, thanks for your help
[22:41:14] <wafflej0ck> JackHorror: in terms of trying to use angular directly in Java for android it doesn't fit in there at all aside from through a webview and even then the benefit would be minimal if at all
[22:41:28] *** jtimon has joined #angularjs
[22:41:28] *** doosy has quit IRC
[22:41:36] *** Nijikokun has joined #angularjs
[22:42:00] *** autolycus has joined #angularjs
[22:42:07] *** siddart has quit IRC
[22:42:16] *** szymek_ has quit IRC
[22:42:24] *** siddart has joined #angularjs
[22:42:43] <JackHorror> wafflej0ck: maybe i didn't understand what the guy on Intel Xdk told me "There's probably also a way to do this using Angular or something similar." i thought he meant i could combine them somehow together
[22:43:18] <wafflej0ck> JackHorror: yeah sounds like a misguided comment, you can build a full app using angular and deploy it using ionic/cordova to make it work on mobile
[22:43:26] <wafflej0ck> JackHorror: and it would work cross platforms
[22:43:35] <wafflej0ck> JackHorror: but it's not trivial to mix native stuff with angular
[22:43:43] <Grokling_> ioudas: You are right.. I expected that it would fire ng-change. I wonder if wafflej0ck can teach us both something.. http://plnkr.co/edit/yvGQ0mRgkKNXmUXwQzIP?p=preview
[22:44:13] *** benbro has joined #angularjs
[22:44:15] *** chrisbirk has quit IRC
[22:44:26] <benbro> should I start with angular 1.3 or wait for 2.0?
[22:44:26] <JackHorror> wafflej0ck: hmmm ok! Thanks for your help and your time :)
[22:44:35] <Foxandxss> no need to wait
[22:44:37] <benbro> angular.dart 1.0 seems nice but it's not supported
[22:44:38] *** Nijikokun has quit IRC
[22:44:48] <benbro> and the angular team said that the 1.3 API is terrible
[22:44:53] <benbro> so... what can I do?
[22:45:01] <Foxandxss> uh?
[22:45:03] <wafflej0ck> JackHorror: np happy hacking :)
[22:45:05] <Foxandxss> it is not terrible
[22:45:07] <Foxandxss> nor even bad
[22:45:09] <cboden> Angular 2.0 isn’t due out for at least another year
[22:45:14] <benbro> that's what the team said
[22:45:15] *** Nijikokun has joined #angularjs
[22:45:18] *** avens has joined #angularjs
[22:45:23] *** JackHorror has quit IRC
[22:45:24] <benbro> that they are very sorr about the 1.x api
[22:45:38] <Foxandxss> It can be better, yes
[22:45:40] <Linell> ioudas: what are you guys trying to do?
[22:45:44] <Foxandxss> does that mean that it is bad today? no
[22:45:54] *** ahtik has quit IRC
[22:45:58] <Linell> http://plnkr.co/edit/zJez1OlVEbhugTDmh0QK?p=preview
[22:46:05] *** Reskp has joined #angularjs
[22:46:20] <benbro> Foxandxss: that's what they said in the keynote
[22:46:22] <wafflej0ck> Grokling_: ioudas http://plnkr.co/edit/xXdHaGFNFcssCXdEfSSm?p=preview it works
[22:46:29] <wafflej0ck> Grokling_: problem is alert can't be used in ng-click
[22:46:29] <Foxandxss> haven't see it
[22:46:37] <wafflej0ck> Grokling_: it expects an angular "expression"
[22:46:38] *** siddart has quit IRC
[22:46:38] <Foxandxss> but it is just a dramatic way of saying "2.0 will save you all"
[22:46:42] *** AngularUI has joined #angularjs
[22:46:42] <AngularUI> [ng-grid] PaulL1 closed pull request #2040: Put header text in a span so it can be styled (master...master) http://git.io/YfBa0g
[22:46:42] *** AngularUI has left #angularjs
[22:46:43] <Foxandxss> nothing else
[22:46:49] *** loganetherton has joined #angularjs
[22:46:54] *** siddart has joined #angularjs
[22:47:00] *** devinandrews has quit IRC
[22:47:21] *** mkc has joined #angularjs
[22:47:38] <Grokling_> Ah yes.. I've made that dumb mistake before!
[22:47:55] <loganetherton> Hi, can anyone provide guidance on how to call a controller service from a directive prelinking function?
[22:47:59] *** Girakrok has quit IRC
[22:48:23] <Grokling_> Thanks wafflej0ck.
[22:48:34] <wafflej0ck> np
[22:48:35] *** prosper_ has joined #angularjs
[22:49:08] <Grokling_> and Linell who also solved it for ioudas.
[22:49:09] <wafflej0ck> loganetherton: wut
[22:49:21] *** tech2 has joined #angularjs
[22:49:36] <wafflej0ck> loganetherton: what's a controller service?
[22:49:50] <loganetherton> wafflej0ck: I have an ng-repeat that's being populated from a service dependency from the controller
[22:49:53] <loganetherton> I hope I'm explaining this well
[22:50:00] <benbro> Foxandxss: http://youtu.be/lGdnh8QSPPk?t=52s
[22:50:00] <loganetherton> I'm just now beginning to explore Angular
[22:50:11] <wafflej0ck> loganetherton: okay the controller service thing just threw me off
[22:50:13] <benbro> Foxandxss: "we are very sorry for the APIs in angular that we have"
[22:50:15] <loganetherton> However, in the unit test, it won't populate the ng-repeat unless the data is in the prelink
[22:50:20] *** bmac has quit IRC
[22:50:24] <loganetherton> haha, sorry
[22:50:30] <Foxandxss> benbro: stupidities
[22:50:36] <Foxandxss> don't listen to that
[22:50:39] <Foxandxss> and what what you want
[22:50:41] *** doginal_ has joined #angularjs
[22:50:47] <Foxandxss> we are all very happy with angular
[22:50:49] <Foxandxss> or we won't be there
[22:51:00] *** doginal has quit IRC
[22:51:01] *** doginal_ is now known as doginal
[22:51:06] *** chrisbirk has joined #angularjs
[22:51:10] *** Sky[x] has quit IRC
[22:51:18] *** prosper_ has quit IRC
[22:51:22] *** loverajoel has quit IRC
[22:51:36] <benbro> Foxandxss: what about angular.dart 1.0? is clenear than angular.js 1.3 but not supported
[22:51:44] <Foxandxss> never tried it
[22:51:46] <Foxandxss> not interested
[22:51:48] <benbro> people asks questions and report bugs and nobody responds
[22:51:58] <Foxandxss> that is the issue
[22:52:03] <Foxandxss> I don't know anyone here doing .dart
[22:52:13] <Foxandxss> and I know this channel very well
[22:52:35] *** ChanServ sets mode: +o Foxandxss
[22:52:38] <Foxandxss> very well
[22:52:38] <Foxandxss> :P
[22:52:45] <Foxandxss> still, no one interested in .dart
[22:52:48] <Foxandxss> don't ask me why
[22:53:00] <caitp> because the channel says angularjs probably
[22:53:03] <wafflej0ck> yeah don't think dart itself ever had popularity it needs to continue, it's not necessarily a technical fault of dart either just a matter of getting adoption, was up against TypeScript and tons of JS frameworks
[22:53:12] <Foxandxss> caitp: damn, do we have a dart version of the channel?
[22:53:13] *** dc has quit IRC
[22:53:20] *** Foxandxss sets mode: -o Foxandxss
[22:53:23] <caitp> nope
[22:53:26] *** garbanzio has quit IRC
[22:53:27] <Foxandxss> heh
[22:53:29] <caitp> they get questions about angular.dart in #dart though
[22:53:42] *** bluepnume has joined #angularjs
[22:54:15] *** garbanzio has joined #angularjs
[22:54:16] *** m_rc has quit IRC
[22:54:17] <BahamutWC|Work> well not just JS frameworks - coffeescript, typescript, scala.js, every other damn compile to JS language
[22:54:17] *** krawek has quit IRC
[22:54:18] *** blackjid_ has joined #angularjs
[22:54:24] <BahamutWC|Work> clojurescript
[22:54:26] <wafflej0ck> yea
[22:54:48] <Grokling_> benbro: Use angular 1.3, put the bulk of your code in services/factories, and write working angular apps while the dust settles and people stop punching each other in the nose over something that is still being worked through. That's my approach for now anyway.
[22:54:48] <wafflej0ck> lots to choose from still lots of viable stuff too just not as much support
[22:54:49] <bluepnume> Hi -- I've registered an angular module with a factory. How Can I quickly pull this into my browser console to test it? I tried angular.element(document.body).injector().get('myModule') but this didn't work
[22:55:15] *** jtimon has quit IRC
[22:55:24] *** gnrlbzik has quit IRC
[22:55:37] *** yelvert has joined #angularjs
[22:55:40] *** jeffszusz has quit IRC
[22:56:23] <benbro> Grokling_: but I can't understand all this factories and several ways to define the same thing
[22:56:37] *** Reskp has quit IRC
[22:56:45] <benbro> Grokling_: $scope and controller will be removed. my whole app will need to be rebuild again
[22:57:25] <Grokling_> benbro: That's why you put stuff in service/factories. They're staying. Scope and controllers are just ways to hook them up to the view.
[22:57:40] *** ProLoser has joined #angularjs
[22:58:00] *** bzitzow has joined #angularjs
[22:58:21] *** yts has joined #angularjs
[22:58:51] <Foxandxss> well, moving to 1.x to 2 will require rebuild anyway
[22:58:55] *** marcjs has quit IRC
[22:59:00] <wafflej0ck> yeah
[22:59:13] <wafflej0ck> major version upgrade of the framework you built your app on is going to require rewrite of a lot of stuff
[22:59:14] *** jstimm has joined #angularjs
[22:59:19] *** jstimm has quit IRC
[22:59:30] <wafflej0ck> you don't have to do it as soon as 2.0 drops
[22:59:47] <wafflej0ck> but if your app is still actively beind developed after that you will want to have an upgrade plan
[22:59:48] *** walden is now known as walden|afk
[22:59:55] *** akrikos has quit IRC
[23:00:02] <wafflej0ck> being*
[23:01:28] *** thomasreggi has quit IRC
[23:01:38] *** cboden has quit IRC
[23:01:43] <caitp> guys i know it seems like 2.0 is right around the corner
[23:01:49] *** dhcar_AFK is now known as dhcar
[23:01:53] <caitp> but it's really not
[23:01:57] *** krawek has joined #angularjs
[23:02:12] *** ProLoser has quit IRC
[23:02:12] <caitp> it's noooot, like it's gonna be alpha-prerelease-goop for a long time
[23:02:22] *** baweaver has joined #angularjs
[23:02:46] <caitp> and i'm trying to steer it in a direction that will be easier to migrate to, although i'm not very involved with it yet
[23:02:47] *** RobinBAwesome has quit IRC
[23:02:49] *** siddart has quit IRC
[23:02:53] <caitp> we got you covered yo
[23:02:57] <Foxandxss> caitp: we say that a lot, but people still comes here to ask the when or if they should learn 1.x or not
[23:03:05] *** siddart has joined #angularjs
[23:03:08] <Grokling_> caitp: What's the official 'caitp' advice on building apps now, but with practices that will make them most easily migrated when the time comes?
[23:03:25] *** mjs2600 has quit IRC
[23:03:33] *** m_rc has joined #angularjs
[23:03:45] <caitp> so upgrading is not going to be a simple find/replace, but hopefully your templates should be mostly find-replace upgradeable
[23:03:56] <caitp> as for the JS, upgrading should be mostly an act of deleting code
[23:04:00] <caitp> and not writing new code
[23:04:03] *** Sky[x] has joined #angularjs
[23:04:04] <caitp> deleting or moving
[23:04:05] *** uru is now known as uru|away
[23:04:11] *** Makpoc has quit IRC
[23:04:15] *** m_rc has quit IRC
[23:04:17] *** ctanga has quit IRC
[23:04:21] *** c0bra has quit IRC
[23:04:22] <caitp> you should be able to delete a lot, that's the hope anyway =)
[23:04:43] <Grokling_> So super thin controllers are desirable then?
[23:05:08] *** siddart has quit IRC
[23:05:14] <caitp> if you want to make things easier, you might want to look at writing your controllers and directives and stuff in ES6
[23:05:14] *** hiptobecubic has quit IRC
[23:05:18] <Foxandxss> not worrying too much is also desirable
[23:05:18] <Foxandxss> :P
[23:05:24] *** siddart has joined #angularjs
[23:05:33] <wafflej0ck> Grokling_: think that's always true anyhow
[23:05:36] <caitp> and you might think about hacking angular 1.x to use di.js rather than the builtin injector, but that could take some work
[23:05:43] *** danflies has quit IRC
[23:05:44] *** MANCHUCK has quit IRC
[23:06:08] *** moritzs has joined #angularjs
[23:06:20] <MacWinner> hi, I currently have my directive JS and HTML template split up.. I want to embed the directice on a remote site.. when I include the JS for the directive, it tries to download the HTML from the domain the JS was delivered on, but the browser blocks it.. is the only way around this issue to include teh HTML template inside the JS?
[23:06:27] *** szymek_ has joined #angularjs
[23:06:32] *** baweaver has quit IRC
[23:06:43] *** tilgovi has quit IRC
[23:06:45] *** ManBearPixel has joined #angularjs
[23:06:47] *** opiates has joined #angularjs
[23:06:56] <Grokling_> Foxandxss: I never worry. Worrying just makes you age faster ;-)
[23:06:58] *** siddart has quit IRC
[23:07:01] *** tristanp has quit IRC
[23:07:08] <wafflej0ck> MacWinner: what's the browser say when it blocks it?
[23:07:15] *** siddart has joined #angularjs
[23:07:16] *** chromatome has joined #angularjs
[23:07:21] *** bmac has joined #angularjs
[23:07:36] <phix> Mornin'
[23:07:53] *** Shrooms has quit IRC
[23:08:09] <phix> It looks like I have created a model loop somehow
[23:08:12] *** mjs2600 has joined #angularjs
[23:08:15] <phix> or watch loop
[23:08:17] <Grokling_> I was curious though, because I'm often on the channel while you guys are sleeping, and the question comes up a bunch during that time too..
[23:09:17] *** siddart has quit IRC
[23:09:18] <wafflej0ck> Grokling_: ah yeah from what I've seen and done mostly it seems good to put things in services or factories and just inject those into controllers to basically hook in the functionality and data
[23:09:18] <robdubya> re: 1.3x + DI see https://github.com/marcj/angular-es6-annotations
[23:09:30] *** ReactiveIO has quit IRC
[23:09:34] *** siddart has joined #angularjs
[23:09:36] *** ProLoser has joined #angularjs
[23:09:58] <wafflej0ck> phix: need code sample er somethin
[23:10:03] *** SomeKittens has joined #angularjs
[23:10:43] <phix> wafflej0ck: yeah, I should put one on jfiddle or whatever ploink or something
[23:10:50] <phix> what do you recommend here?
[23:10:52] *** firelinks has joined #angularjs
[23:10:56] <wafflej0ck> phix: plunkr see the IRC topic
[23:10:59] <wafflej0ck> phix: /topic
[23:11:11] <phix> ah, it was off the screen :)
[23:11:14] <phix> irssi <3
[23:11:19] <phix> cheers
[23:11:21] *** siddart has quit IRC
[23:11:31] *** Najak has joined #angularjs
[23:11:32] *** sirkitree|afk is now known as sirkitree|afk|af
[23:11:38] *** siddart has joined #angularjs
[23:11:48] *** tilgovi has joined #angularjs
[23:11:54] *** syzygy__ has quit IRC
[23:11:57] *** jeffisabelle has joined #angularjs
[23:11:58] <MacWinner> wafflej0ck, cross origin issues.. I'm trying to server some directives on salesforce.com custom page
[23:12:02] *** Skrypter has quit IRC
[23:12:24] *** eamonn has joined #angularjs
[23:12:28] <wafflej0ck> MacWinner: ah okay if you have no control over the server side headers then yeah using html2js grunt plugin is probably the way to go
[23:12:35] <phix> MacWinner: Saleforce any good? or $$$$$$$?
[23:12:44] *** loganetherton has quit IRC
[23:12:45] *** rkjdid has joined #angularjs
[23:12:54] <Grokling_> Thanks robdubya - I'll add that to my reading list.
[23:12:57] <MacWinner> wafflej0ck, cool, I'll look at that plugin.. thanks!
[23:13:04] *** siddart has quit IRC
[23:13:13] <wafflej0ck> MacWinner: np
[23:13:21] *** siddart has joined #angularjs
[23:13:26] <Grokling_> I'm off to mow my grass. Catch you guys next week perhaps.
[23:13:27] <MacWinner> phix, it's just the defacto standard now in my industyr.. kinda like microsoft in the 90s.. oracle in 2000s..
[23:13:34] <wafflej0ck> later Grokling_
[23:14:19] <wafflej0ck> MacWinner: you do Apex programming?
[23:14:23] *** danecando has joined #angularjs
[23:14:46] *** Oddman has joined #angularjs
[23:14:48] *** pipoo has quit IRC
[23:15:04] <MacWinner> wafflej0ck, haha.. i'm just a hacker.
[23:15:23] <phix> MacWinner: Ah ok, I need to do some ecommerce stuff, I looked at the prices of salesforce then felt depressed :(
[23:15:26] <MacWinner> wafflej0ck, i look at apex about once ever 4-5 months because I need to do some demo or task..
[23:15:32] *** jeffisabelle has quit IRC
[23:15:50] <MacWinner> phix, magento is good for ecommerce.. zurmo is good for open source crm
[23:15:51] *** baweaver has joined #angularjs
[23:15:54] *** siddart has quit IRC
[23:16:10] *** siddart has joined #angularjs
[23:16:28] <wafflej0ck> MacWinner: yeah was just curious, I know there's a sizeable chunk of programmers who just focus on Apex stuff
[23:16:31] *** tplaner has quit IRC
[23:16:40] <wafflej0ck> huge Salesforce building in Chicago too
[23:16:48] <wafflej0ck> hard to ignore them :)
[23:17:01] <MacWinner> huge building comeing up in next door in san francisco
[23:17:10] *** Rahul_Roy_ has quit IRC
[23:17:23] *** siddart has quit IRC
[23:17:25] <MacWinner> wafflej0ck, thanks for grunt2js tip.. exactly what I was looking for
[23:17:39] *** siddart has joined #angularjs
[23:17:52] <wafflej0ck> MacWinner: yup np
[23:17:58] *** SeeThruH1 has quit IRC
[23:18:12] *** baweaver has quit IRC
[23:18:37] *** RobinBAwesome has joined #angularjs
[23:18:41] *** Grokling_ has quit IRC
[23:18:44] *** baweaver has joined #angularjs
[23:19:34] *** Skrypter has joined #angularjs
[23:19:42] *** Najak has left #angularjs
[23:19:56] *** siddart has quit IRC
[23:20:12] *** siddart has joined #angularjs
[23:20:22] *** autolycus has quit IRC
[23:21:05] *** Sky[x] has quit IRC
[23:21:32] <phix> MacWinner: ok nice
[23:21:57] *** thumpba has quit IRC
[23:22:08] *** cmenscher is now known as CharlesOckstarte
[23:22:15] *** CharlesOckstarte is now known as cmenscher
[23:22:40] *** davek has joined #angularjs
[23:22:46] *** cmenscher is now known as ChuckOckstarter
[23:23:15] *** frem has joined #angularjs
[23:23:17] *** baweaver has quit IRC
[23:23:26] *** mary5030 has quit IRC
[23:24:05] *** BillCriswell has quit IRC
[23:24:39] *** siddart has quit IRC
[23:24:50] *** dc has joined #angularjs
[23:24:55] *** siddart has joined #angularjs
[23:26:22] *** kuatsure has joined #angularjs
[23:27:32] *** Reskp has joined #angularjs
[23:28:26] *** siddart has quit IRC
[23:28:28] *** jMyles has joined #angularjs
[23:28:43] *** siddart has joined #angularjs
[23:30:16] *** Oddman has quit IRC
[23:30:19] *** deanclkclk___ has quit IRC
[23:30:22] *** siddart has quit IRC
[23:30:31] *** Reboot73 has quit IRC
[23:30:39] *** siddart has joined #angularjs
[23:31:25] *** pibu7 has joined #angularjs
[23:31:33] *** opiates has quit IRC
[23:32:08] *** Aliks has quit IRC
[23:32:13] *** Reskp has quit IRC
[23:32:15] *** dunkelschub has quit IRC
[23:32:25] *** patrick99e99 has joined #angularjs
[23:32:40] *** baweaver has joined #angularjs
[23:32:42] *** favetelinguis has joined #angularjs
[23:32:46] *** RobinBAwesome has quit IRC
[23:33:01] *** mccarrontr1ck has quit IRC
[23:33:12] *** imehesz has quit IRC
[23:33:57] *** RobinBAwesome has joined #angularjs
[23:34:12] *** dhcar is now known as dhcar_AFK
[23:34:16] *** siddart has quit IRC
[23:34:19] *** bmac has quit IRC
[23:34:33] <caitp> who here is good with travis-ci
[23:34:33] *** siddart has joined #angularjs
[23:34:35] *** garbanzio has quit IRC
[23:34:40] *** sonofdirt has quit IRC
[23:34:49] *** Schtive has quit IRC
[23:35:00] *** AngularUI has joined #angularjs
[23:35:00] <AngularUI> [ng-grid] c0bra pushed 3 new commits to rewrite-cellnav: http://git.io/3DahWw
[23:35:00] <AngularUI> ng-grid/rewrite-cellnav dc3d307 c0bra: WIP
[23:35:00] <AngularUI> ng-grid/rewrite-cellnav 9e50d19 c0bra: WIP: breaking stuff
[23:35:01] <AngularUI> ng-grid/rewrite-cellnav 218e047 c0bra: WIP: baaaaarf
[23:35:01] *** AngularUI has left #angularjs
[23:35:52] *** chromatome has quit IRC
[23:36:54] <bradmaxs> wafflej0ck: Still struggling here. I just don't understand how the data gets updated after a successful http response. http://plnkr.co/edit/DxBCLkEzHjQhjiHiHtGD?p=info. My response object is as follows: {"response": {"success": true,"fileStatus": 0}}. I want to update the row.Attachment.active to reflect that and change the class. I did add ng-class and it works on page load.
[23:36:57] *** favetelinguis has quit IRC
[23:37:19] *** patrick99e99 has quit IRC
[23:38:09] *** siddart has quit IRC
[23:38:25] *** siddart has joined #angularjs
[23:39:15] *** LossFor has joined #angularjs
[23:40:17] *** LossFor has quit IRC
[23:40:21] <TheAceOfHearts> https://plus.google.com/u/0/+IgorMinar/posts/2Uo6yh4AV7L this is good
[23:40:29] <TheAceOfHearts> good thing we had community backlash \o/
[23:40:45] <TommyO> I have a $watch that only triggers once then disappears http://plnkr.co/edit/Rx6SQafGy5TyrX7ehU5l?p=catalogue
[23:41:00] <TommyO> well, maybe not disappear, but never fires again
[23:41:24] *** mvovchak has quit IRC
[23:42:09] *** dannyc has joined #angularjs
[23:42:13] *** siddart has quit IRC
[23:42:24] *** mtsr has quit IRC
[23:42:24] *** deanclkclk_ has joined #angularjs
[23:42:29] *** siddart has joined #angularjs
[23:43:19] *** glosoli has joined #angularjs
[23:44:09] *** BillCriswell has joined #angularjs
[23:45:09] *** garbanzio has joined #angularjs
[23:45:11] *** no1uknow has joined #angularjs
[23:45:13] *** ManBearPixel has quit IRC
[23:45:25] *** LossFor has joined #angularjs
[23:45:30] *** dcherman2 has quit IRC
[23:45:47] *** ctanga has joined #angularjs
[23:46:20] *** dannyc has quit IRC
[23:46:20] *** larsam has quit IRC
[23:46:30] *** Skrypter has quit IRC
[23:46:36] *** chrisbirk has quit IRC
[23:46:48] *** cads has joined #angularjs
[23:46:57] *** pdillinger has joined #angularjs
[23:46:58] <wafflej0ck> bradmaxs: pass the row.Attachment to updateFile instead of the parts of that object separately
[23:47:03] *** garbanzio has quit IRC
[23:47:21] *** mmealling has quit IRC
[23:47:28] *** oliver___ has joined #angularjs
[23:47:33] <wafflej0ck> bradmaxs: then in the function you can update the row.Attachment.active property
[23:47:53] <wafflej0ck> bradmaxs: under whatever local name you give it
[23:48:01] *** patrickarlt has quit IRC
[23:48:01] <bradmaxs> wafflej0ck: ok. I'll give that a try. thanks for responding.
[23:48:08] <wafflej0ck> bradmaxs: sure np
[23:48:12] *** patrickarlt has joined #angularjs
[23:48:17] *** Aliks has joined #angularjs
[23:49:07] *** Skrypter has joined #angularjs
[23:49:13] *** siddart has quit IRC
[23:49:29] *** siddart has joined #angularjs
[23:49:31] *** oliver___ has quit IRC
[23:49:36] *** deanclkclk_ has quit IRC
[23:50:26] *** deanclkclk_ has joined #angularjs
[23:50:30] *** bzitzow_ has joined #angularjs
[23:50:45] *** oliver___ has joined #angularjs
[23:50:53] <wafflej0ck> TommyO: you want something like .$watch(function(){return Authentication.active()}, function(newVal,oldVal){/*...*/})
[23:50:54] *** monir has joined #angularjs
[23:50:55] *** michaeltresseras has joined #angularjs
[23:51:04] *** xavia has quit IRC
[23:51:08] *** bmac has joined #angularjs
[23:51:38] <bzitzow_> I have a tooltip directive and I want to be able to have a user event outside of the directive close the tooltip
[23:51:53] *** jlfama has quit IRC
[23:52:01] *** jlfama has joined #angularjs
[23:52:15] <bzitzow_> Everything works great as long as I handle hiding and showing the tooltip content from within the directive
[23:52:24] <bradmaxs> wafflej0ck: OH MY GOD! It worked. I have been at this for a very long time. Thank you!
[23:52:25] *** themime has joined #angularjs
[23:52:33] <wafflej0ck> bradmaxs: np glad you got it workin
[23:52:43] <bradmaxs> you did!
[23:52:44] <bzitzow_> but as soon as I want the button from outside the directive to close the tooltip, we're not sure what direction to go
[23:53:00] <wafflej0ck> bzitzow_: probably a service
[23:53:10] <bzitzow_> Is the only option to add an attribute somewhere and use scope: { myAttribute: '=' }
[23:53:14] <wafflej0ck> bzitzow_: maybe an event using $broadcast,$emit,$on possibly
[23:53:24] *** siddart has quit IRC
[23:53:30] <wafflej0ck> bzitzow_: you can do that too
[23:53:42] *** siddart has joined #angularjs
[23:53:46] <wafflej0ck> bzitzow_: it really depends on exactly how you want it to work
[23:53:53] *** yts has quit IRC
[23:54:07] <michaeltresseras> whois
[23:54:25] *** LossFor has quit IRC
[23:54:37] *** oliver___ has quit IRC
[23:54:45] *** dhcar_AFK is now known as dhcar
[23:55:03] *** dcherman has joined #angularjs
[23:55:08] <BobbieBarker> snurfery: i'm at a loss dude
[23:55:12] <TommyO> wafflej0ck: uggh. of course! thanks
[23:55:18] <snurfery> what's up
[23:55:21] <snurfery> not working?
[23:55:31] <BobbieBarker> supposedly according to the angular docs if you have the action="stuff" attribute set it stops angularJS from taking over the form tags
[23:55:57] <snurfery> makes sense
[23:55:57] <BobbieBarker> http://pastebin.com/LFmcbz4W
[23:55:58] <wafflej0ck> BobbieBarker: indeed
[23:55:59] <BobbieBarker> that
[23:56:10] <BobbieBarker> but if/when i click on the button nothing fucking happens
[23:56:24] <BobbieBarker> http://pastebin.com/LFmcbz4W
[23:56:45] <opus_> where is your ng-click
[23:56:52] <icfantv> has anyone gotten this error before? the error page isn't there. http://errors.angularjs.org/1.3.1/ngModel/numfmt
[23:56:59] <BobbieBarker> it isn't the goal is to do a standard form submission
[23:57:01] <opus_> action? this isn't 1998
[23:57:05] <snurfery> lol
[23:57:12] <snurfery> BobbieBarker: I wonder if the novalidate is messing things up?
[23:57:27] <BobbieBarker> i was expirmenting http://www.angularjshub.com/examples/forms/formsubmission/
[23:57:28] <snurfery> is that standard html stuff/
[23:57:31] <BobbieBarker> that guy has it working in that iframe
[23:57:37] <opus_> wtf iframe
[23:57:41] <BobbieBarker> ya novalidate tells the browser to fuck off
[23:57:43] <BobbieBarker> and not validate
[23:57:53] <wafflej0ck> haha wish that was in the manual
[23:57:54] <BobbieBarker> pretty sure it is an html5 attribute
[23:58:16] *** siddart has quit IRC
[23:58:21] <BobbieBarker> opus the reason this has to be is because i'm trying to redirect the user to a government website along with some saml data
[23:58:28] <BobbieBarker> this isn't something i thought would be cool
[23:58:32] *** dman777_alter has quit IRC
[23:58:33] *** siddart has joined #angularjs
[23:58:36] <BobbieBarker> i'm trying to hit a specific use case in the app
[23:58:45] <opus_> BobbieBarker, you'll have to do it another way
[23:58:51] <BobbieBarker> i'm all ears
[23:59:05] <wafflej0ck> BobbieBarker: yeah it should post with the action included in the form what's happening at the moment?
[23:59:06] *** edy has quit IRC
[23:59:12] <BobbieBarker> wafflej0ck: nothing
[23:59:15] <BobbieBarker> no errors
[23:59:17] <BobbieBarker> nothing
[23:59:22] *** mkc has quit IRC
[23:59:24] *** derickf has joined #angularjs
[23:59:24] *** nycdevgirl has quit IRC
[23:59:24] *** Reskp has joined #angularjs
[23:59:26] <wafflej0ck> BobbieBarker: if you don't have an action then angular blocks the submit
[23:59:28] *** Linell has quit IRC
[23:59:36] <wafflej0ck> missing close </button> in the paste
[23:59:36] <opus_> can you even do a form submission from another site?
[23:59:37] <BobbieBarker> i do have the action set though
[23:59:44] <opus_> Wouldn't that just ammount to a POST?
[23:59:45] <snurfery> and that's clicking the submit or hitting enter, or both?
top

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