Switch to DuckDuckGo Search
   December 5, 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 | 31 | >

Toggle Join/Part | bottom
[00:00:09] <ProLoser> i hate explicitly passing attrs through a huge stack of directives
[00:00:14] <snapwich> what's the best demo tutorial for using angularjs with browserify?
[00:00:19] <ProLoser> i do understand not having scopes inherit
[00:00:19] *** _dc__ has quit IRC
[00:00:21] *** imehesz has quit IRC
[00:00:22] <jaawerth> agreed, it makes templates hideous and confusing
[00:00:30] <ProLoser> i don't really use inheritance anymore, except for like ng-if or ng-repeat
[00:00:45] <ProLoser> but i don't have controllers inherit scope anymore
[00:00:51] <ProLoser> unless it's rootscope
[00:01:01] *** richiebkr has quit IRC
[00:01:08] <jaawerth> I find that using controllerAs makes inheritance a lot more attractive
[00:01:23] <ProLoser> 1: i hate controllerAs
[00:01:31] <jaawerth> you know exactly the context of the inherited data with which you're working that way, and no need to wrap your primitives in arbitrary objects
[00:01:37] <ProLoser> 2: i don't need multi-controller inheritence
[00:01:41] *** apetro_ has quit IRC
[00:01:46] *** whitebook has quit IRC
[00:01:49] <ProLoser> jaawerth: i actually believe you're doing it wrong
[00:01:49] <jaawerth> well if you don't want it, you don't want it
[00:01:55] <Slim> {/w 6
[00:01:58] <jaawerth> howso?
[00:02:02] *** mary5030 has quit IRC
[00:02:06] <ProLoser> scope inheritence is the same as global vars
[00:02:11] <ProLoser> and everyone agrees global vars = evil
[00:02:13] *** dseitz has quit IRC
[00:02:24] *** sirkitree is now known as sirkitree|afk
[00:02:28] <ProLoser> lets say you're in controllera, and inside you do $scope.controllerb.whatever
[00:02:35] <qstrahl> ProLoser, You haven't met my boss
[00:02:38] <ProLoser> you now have this unreliable contract between the two controllers
[00:02:52] <ProLoser> using variables you HOPE exist on scope is very unreliable
[00:03:01] <jaawerth> how is that any different from a service? because the other controller could be destroyed?
[00:03:07] <ProLoser> i realized using ui-router and resolves you can make all of that inheritence an explicit contract
[00:03:12] <ProLoser> i don't use services
[00:03:16] <ProLoser> i use resolves
[00:03:17] *** Una has joined #angularjs
[00:03:21] <ProLoser> resolves > scope inheritence
[00:03:26] <ctanga> ^
[00:03:28] <ProLoser> resolves are injectable variables
[00:03:35] <jaawerth> yeah I know, and I don't disagree
[00:03:37] <ProLoser> injectable items = contract
[00:03:38] *** apetro__ has quit IRC
[00:03:38] *** gladely has quit IRC
[00:03:39] *** oste has quit IRC
[00:03:44] <ProLoser> plus they are shared references
[00:03:46] <ProLoser> anyway
[00:03:51] <ProLoser> i just resolve anything i want to cascade
[00:03:52] <ProLoser> that's it
[00:03:59] <jaawerth> scope inheritance is still something to use with a light touch, but I still find it useful if you know the context of the controllers
[00:04:09] *** apetro_ has joined #angularjs
[00:04:11] <jaawerth> no services though? that's kinda nuts
[00:04:11] <ProLoser> if you want to do project and project.edit, just re-inject the project object into both controllers
[00:04:22] <ProLoser> someone looking at the code can easily see where this var comes from and why we're using it
[00:04:22] <jaawerth> I mean, it makes sense if you don't want to persist any data
[00:04:29] <ProLoser> the only 'inheritence' i use is in resolves
[00:04:31] *** gladely has joined #angularjs
[00:04:33] *** Browser has quit IRC
[00:04:49] <ProLoser> is 2.0 dropping services? i'm not saying get rid of services
[00:04:53] *** ngbot has joined #angularjs
[00:04:53] <ngbot> [angular.js] vojtajina force-pushed gruntfile-cleanup from c1712a7 to 35ef4c9: http://git.io/Sx29Vg
[00:04:54] <ngbot> angular.js/gruntfile-cleanup eae3001 Vojta Jina: chore(travis): enable both SauceLabs and BrowserStack...
[00:04:54] <ngbot> angular.js/gruntfile-cleanup 3d05c51 Vojta Jina: chore(travis): clean up browserstack/saucelabs scripts
[00:04:54] <ngbot> angular.js/gruntfile-cleanup 35ef4c9 Vojta Jina: chore(grunt): remove unused code
[00:04:55] *** ngbot has left #angularjs
[00:05:02] <ProLoser> i'm just saying that's not what i'm using in lieu of scope inheritence
[00:05:09] <jaawerth> oh, gotcha
[00:05:22] *** sk87 has quit IRC
[00:05:24] <jaawerth> I find it useful for layout controllers
[00:05:27] <jaawerth> er, controls*
[00:05:29] *** baweaver has joined #angularjs
[00:05:30] <ProLoser> nope
[00:05:33] <ProLoser> i also tackled that one too
[00:05:34] *** ngbot has joined #angularjs
[00:05:34] <ngbot> [angular.js] caitp pushed 2 new commits to master: http://git.io/DZHOnw
[00:05:34] <ngbot> angular.js/master 40a537c Caitlin Potter: fix(ngAnimate): do not use jQuery class API...
[00:05:34] <ngbot> angular.js/master f2e7f87 Caitlin Potter: feat($$jqLite): export jqLite as a private service...
[00:05:34] *** ngbot has left #angularjs
[00:05:45] <jaawerth> directives with shared controllers?
[00:05:47] <ProLoser> the ui-router lets you handle layout views/controllers explicitly too
[00:06:04] <ProLoser> oh i thought you were talking about nav and footer and header and crap like that
[00:06:08] <jaawerth> oh, no
[00:06:09] *** wallerdev has quit IRC
[00:06:16] <jaawerth> I use all the ui-router features I'm talking about
[00:06:24] *** bayousoft has quit IRC
[00:06:36] <ProLoser> what does directives with shared controllers have to do with anything?
[00:06:41] <ProLoser> that doesn't pertain to scope inheritence
[00:06:41] <ctanga> I have a list and a list.item states, I use scope inheritance to grab the list controller and do nextRecord/prevRecord
[00:06:43] <jaawerth> layout controls
[00:07:09] <ProLoser> ctanga: i use a service for that
[00:07:19] *** aslate has joined #angularjs
[00:07:23] <ProLoser> ctanga: that MIGHT be one exception i have
[00:07:26] <ProLoser> theoretically
[00:07:31] <ProLoser> but i try to keep them absolutely minimal
[00:07:39] <jaawerth> like, mutating a layout rather than changing templates if all you need to do is resize some containers or add one somewhere
[00:07:40] <jaawerth> that kind of thing
[00:07:42] *** wallerdev has joined #angularjs
[00:07:43] *** TeddyMurray has quit IRC
[00:07:46] *** jhwhite has quit IRC
[00:08:01] <ProLoser> ctanga: https://github.com/ProLoser/AngularJS-ORM/blob/master/modules/User/User.coffee#L25-L26
[00:08:07] *** ajk27_ has quit IRC
[00:08:13] <jaawerth> scope inheritance is safe to use, because you know that a part of your DOM will always have a certain parent
[00:08:13] <ProLoser> that's how i try to work with like paginated data
[00:08:33] *** ajk27_ has joined #angularjs
[00:08:35] <ProLoser> wrap it in some sort of paginator object and reslve the object so it can be injected everywhere
[00:08:48] <jaawerth> interesting
[00:08:51] <ProLoser> jaawerth: i'm confused but okay
[00:08:54] *** TheAceOfHearts has quit IRC
[00:09:00] <ProLoser> ctanga: this design also helps me minimize my controllers
[00:09:10] *** whitebook has joined #angularjs
[00:09:12] <ProLoser> so instead of $scope.nextPage() i have pager.nextPage()
[00:09:16] <jaawerth> it's probably my fault, like I said I'm in a wandering state of mind
[00:09:21] *** brownbathrobe has quit IRC
[00:09:22] <ProLoser> so my controller becomes $scope.pager = pager;
[00:09:27] <jaawerth> I'm going to look at your approach though, and once I've built what I'm building maybe I'll show you what I mean
[00:09:46] <jaawerth> anyway, I gotta take off, but I'll be back in an hour (gonna be a code-late night). but I gotta get home to walk dogs
[00:09:49] <ProLoser> my approach isn't that original, it's just a religious obsession with resolves
[00:09:54] <ProLoser> resolves become my session management tool
[00:09:57] <ProLoser> instead of state
[00:10:00] <ProLoser> *scope
[00:10:07] <jaawerth> sure, that makes sense
[00:10:12] <ProLoser> scope becomes nothing more than a simple rendering tool for that one controller
[00:10:15] <ctanga> that makes sense
[00:10:16] *** kakashiAL has joined #angularjs
[00:10:20] <jaawerth> I think we're talking about two different things, but this might be applicable to what I'm doing - not sure yet
[00:10:28] <ProLoser> anything you want to share between controllers is either packaged in a service or resolved
[00:10:35] <ProLoser> or both
[00:10:49] <jaawerth> yeah, I'm not talking about application data so much as presentation data
[00:10:49] *** lexek_ has quit IRC
[00:10:56] <ctanga> same
[00:11:00] <ProLoser> pager is purely presentational
[00:11:04] <jaawerth> oh, fair
[00:11:09] *** warpx has joined #angularjs
[00:11:19] <ProLoser> i mean you do it in phases
[00:11:27] *** juanpablo_ has quit IRC
[00:11:30] <ProLoser> i do it like you, i start by just putting the methods directly in the controller
[00:11:37] *** dcherman has quit IRC
[00:11:42] <ProLoser> but i try to constantly refactor and find i'm always happier in the end when i can package more and more logic into services
[00:11:49] <ctanga> I like your point though, publish an api as a resolve and inject it into the child state
[00:11:51] <jaawerth> that's true
[00:12:01] *** aslate has quit IRC
[00:12:06] <ProLoser> if it's a stupid simple controller, i wont' bother
[00:12:17] <jaawerth> but you could just as easily grab them from a factory and instantiate them onto the controller
[00:12:30] <ProLoser> but if you want to start dealing with scalable architecture, creating person objects that contain both data and methods, it gets awesome
[00:12:35] <jaawerth> but I DO like your approach for this reason: anything that makes controllers shorter is probably a good thing
[00:12:42] <ProLoser> after a while, your controllers do nothing more than take these objects and slap em on scope
[00:12:45] *** walden is now known as walden|afk
[00:12:54] <jaawerth> that's what I'm already doing with factories
[00:12:55] <ProLoser> and all the logic is internal to the object, there's no knowledge of a 'scope'
[00:13:03] <jaawerth> it's just that certain presentation data may also be on the controller
[00:13:10] <ProLoser> oh yeah
[00:13:17] <ProLoser> simple toggles are always in controllers
[00:13:21] *** scottsword has joined #angularjs
[00:13:23] <ProLoser> i mean we all know there's always exceptions
[00:13:26] <jaawerth> but you're preaching to the choir about putting logic inside of objects
[00:13:28] <ProLoser> this is just the paradigm i like to push towards
[00:13:34] *** sjt003 has quit IRC
[00:13:37] *** ccohn has joined #angularjs
[00:13:44] <ProLoser> jaawerth: actually this whole power-objects became awesome once i wired in sockets
[00:13:54] *** coderat has joined #angularjs
[00:13:55] *** kewark has joined #angularjs
[00:14:00] <jaawerth> I'm loving this discussion but I DO have to get home and walk dogs
[00:14:01] <ProLoser> you subscribe to socket events to keep your collection of records up-to-date, etc
[00:14:05] *** whitebook has quit IRC
[00:14:10] *** kewark has quit IRC
[00:14:11] *** kewark has joined #angularjs
[00:14:18] <ProLoser> and there's no knowledge of the scope whatsoever, but angular just keeps on chugging and updating the view for me
[00:14:18] *** uru is now known as uru|away
[00:14:19] <jaawerth> but yeah, absolutely
[00:14:20] *** night-owl is now known as zz_night-owl
[00:14:21] <ProLoser> it's fucking brilliant
[00:14:23] *** mdedetrich has joined #angularjs
[00:14:29] <jaawerth> all of that should be abstracted forever
[00:14:36] <ProLoser> lol
[00:14:36] <scottsword> does anyone know where I can find a semi-inclusive list if not all-inclusive of the various events I can listen for with $rootScope.$on?
[00:14:43] <jaawerth> even better, you can just write a socket object and then have your model objects inherit from it for the methods
[00:14:46] <scottsword> because that would be just super
[00:14:51] <jaawerth> or rather, extend it
[00:14:52] <ProLoser> scottsword: !digress
[00:14:53] <UniBot1> Stop what you're doing, take a deep breath and a step back. Try explaining what you're trying to accomplish rather than ask how to accomplish it this way, you may be going down the wrong path.
[00:14:53] <UniBot> Stop what you're doing, take a deep breath and a step back. Try explaining what you're trying to accomplish rather than ask how to accomplish it this way, you may be going down the wrong path.
[00:14:56] *** vassagus_ has joined #angularjs
[00:14:57] *** elrabin has quit IRC
[00:14:59] <ProLoser> fucking unibot
[00:15:06] <scottsword> ?
[00:15:06] *** vassagus has quit IRC
[00:15:21] *** moogey has joined #angularjs
[00:15:22] <ProLoser> jaawerth: https://github.com/ProLoser/AngularJS-ORM/blob/master/modules/User/User.coffee#L56-L57
[00:15:31] <jaawerth> haha, on that note - gotta catch the subway, but happy to continue this if you're here in an hour
[00:15:38] <ProLoser> probably
[00:15:40] <Grokling> So, I'm a criminal. I have a service which holds references to all my stuff. I inject it and assign it to $scope right at the top level of my app. My resolves alter various properties in that service (but never add any) by calling factory methods and assigning the results. So, I never have to inject anything into any other controllers ever. My stuff is always in scope, and because it's all references, it reflects any changes that may happen at the
[00:15:41] <Grokling> factory level (sockets et al)
[00:15:44] <jaawerth> and I'll check that out - I actually think I already have it bookmarked for later perusal
[00:15:46] <ProLoser> i'm going to be slamming my head on the desk for a while due to node
[00:15:46] *** warpx has quit IRC
[00:15:50] <kakashiAL> I have a formular which redirect to another website if I hit the save button that has the type "submit", but if I add another ng-click button, I also get redirected
[00:15:54] <ProLoser> scottsword: what are you looking for?
[00:16:06] *** dacuca has quit IRC
[00:16:06] *** kewark is now known as dacuca
[00:16:37] <ProLoser> Grokling: k
[00:16:42] <scottsword> specifically I'm looking for the event that occurs when I perform a hard refresh in the browser. But that made me start to think, where do I find this shit?
[00:17:10] <MistahKurtz> kakashiAL is it a button(type="submit") ?
[00:17:15] <ProLoser> Grokling: i do that too, most of my stuff is factory also, but i spin up instances of factories and if i want to fuck with a specific instance i do it by injection
[00:17:25] <scottsword> because its no like its some sort of event object I can log. Or maybe it is?...
[00:17:26] *** BlinkyBill has quit IRC
[00:17:27] <ProLoser> Grokling: i use resolve to keep track of WHICH record i'm messing with
[00:17:28] <MistahKurtz> you need to remove type='submit'
[00:17:39] <kakashiAL> MistahKurtz: no
[00:17:45] *** BlinkyBill has joined #angularjs
[00:17:48] <Grokling> ProLoser: I like it because my bindings look like ng-repeat="person in all.people".. which reads well.
[00:17:58] <ProLoser> kakashiAL: by default, <button> is submit
[00:18:05] <ProLoser> it's html, not angular, and it's kinda stupid
[00:18:13] *** codeman has joined #angularjs
[00:18:14] <ProLoser> you have to do <button type="button"> for buttons to NOT be submit
[00:18:18] <ProLoser> or use <a>
[00:18:21] *** ccohn has quit IRC
[00:18:22] *** MaxV has quit IRC
[00:18:29] <kakashiAL> <button ng-click="addField('some text')">Add New Field</button>
[00:18:33] *** Fuzzier has joined #angularjs
[00:18:37] <kakashiAL> ProLoser: thanks a lot!
[00:18:40] *** Shrooms has quit IRC
[00:18:46] <ProLoser> MistahKurtz: kakashiAL actually, he needs to ADD type=button
[00:18:50] <ProLoser> i found that out too
[00:18:54] <jaydubya> Until now I have always integrated my Angular App inside of my Laravel API (because authentication is simple in Laravel) where ONCE AUTHENTICATED, the user is sent to a Laravel view which is the Angular app. Many people have told me the two apps should be separate and that's what I am trying to do. Can someone point me in a good direction for now getting the authentication piece into the stand-alone Angular project?
[00:18:55] <kakashiAL> that helpes a lot!
[00:19:00] <ProLoser> kakashiAL: i would go back and find any buttons that don't have that attribute and add it in
[00:19:04] <ProLoser> it's really fucking annoying
[00:19:24] <ProLoser> Grokling: i used to do that, but it becomes tenuous at larger scale
[00:19:41] <ProLoser> everyone here has at least once tried keeping some sort of global state or session in $rootScope
[00:19:49] <ProLoser> it's just not very manageable in the long run
[00:19:50] *** Lingos has joined #angularjs
[00:19:56] <kakashiAL> ProLoser: the worst is that I would never have the idea to check that!
[00:20:05] *** Fuzzy has quit IRC
[00:20:13] *** opiates has quit IRC
[00:20:19] <ProLoser> kakashiAL: it's annoying when you have 2 buttons, one with type submit and one without, and they both submit
[00:20:32] *** phzon has joined #angularjs
[00:20:35] <ProLoser> but you don't catch it 50% of the time because your non-submit button ALSO does the ng-click too
[00:20:37] <Grokling> ProLoser: Yeah, I can see that. It makes sense for some things, but not everything.
[00:20:38] *** Fuzzy has joined #angularjs
[00:20:40] <ProLoser> so you're gettng ng-click AND ng-submit
[00:20:42] <scottsword> ProLoser - so is that know re: events?
[00:20:51] <scottsword> @ProLoser
[00:20:53] *** ianpirro has quit IRC
[00:20:58] <ProLoser> Grokling: when you start storing global flags and shit like that you find that 'all' gets cluttered quickly
[00:20:59] <scottsword> don't know how to tag in this fucking thing
[00:21:05] <ProLoser> just say my name
[00:21:11] <ProLoser> scottsword: were you talking about buttons?
[00:21:14] *** coderat has quit IRC
[00:21:16] <scottsword> no
[00:21:34] *** tjsail33 has quit IRC
[00:21:37] *** apetro_ has quit IRC
[00:21:41] <kakashiAL> ProLoser: I was very close to blame angular for this, but as you said its a html thing :)
[00:21:59] <scottsword> ProLoser finding a list or the event options I can listen for when using $rootScope.$on()
[00:21:59] <ProLoser> jaydubya: if you don't want users to have access to anything until they authenticate: https://github.com/ProLoser/AngularJS-ORM/blob/master/modules/Authentication/Authenticated.coffee
[00:22:11] <ProLoser> just create a top-level state that resolves the login
[00:22:25] *** Oxynum has quit IRC
[00:22:27] <Grokling> ProLoser: I'm only using it for collections of instances.
[00:22:31] <ProLoser> and then place all your other states underneath it: https://github.com/ProLoser/AngularJS-ORM/blob/master/modules/Project/Project.coffee#L9
[00:22:43] <ProLoser> Grokling: up to you, i used to do that, but i stopped
[00:22:44] *** Fuzzier has quit IRC
[00:22:57] *** jasonp has quit IRC
[00:23:00] *** moscownights has quit IRC
[00:23:07] <jaydubya> ProLoser: LOL, you say 'just create ...' like that doesn't involve 45 minutes of reading and 2 hours of mangling code
[00:23:21] <ProLoser> that first file was like 8 lines
[00:23:43] <ProLoser> jaydubya: https://github.com/ProLoser/AngularJS-ORM/blob/master/modules/Authentication/Authenticated.coffee#L11-L17
[00:23:45] <Grokling> ProLoser: So, you now do the resolve -> injectToController -> bindToScope method?
[00:23:46] <ProLoser> that's the part i was referring to
[00:23:56] <ProLoser> create a top-level state that handles authentication checking
[00:24:01] *** Arf has joined #angularjs
[00:24:02] *** TeddyMurray has joined #angularjs
[00:24:02] *** Lingos has quit IRC
[00:24:06] <ProLoser> hang on
[00:24:35] <Arf> hi folks. can someone give me a clue how to debug this perfectly unhelpful error message: Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.2.27/$injector/modulerr?p0=mean&p1=Error%3A%2…(http%3A%2F%2Flocalhost%3A3000%2Flib%2Fangular%2Fangular.min.js%3A18%3A170)
[00:24:53] <ProLoser> jaydubya: https://github.com/ProLoser/AngularJS-ORM/blob/master/modules/Authentication/Authenticated.coffee#L11-L19 there you go
[00:24:57] <ProLoser> i added the error-case
[00:25:01] *** phzon has quit IRC
[00:25:24] <ProLoser> Arf: you are trying to inject something angular can't find
[00:25:42] *** Shrooms has joined #angularjs
[00:25:43] *** Shrooms has joined #angularjs
[00:25:43] <Arf> ProLoser: looks like it. heck if i know what the problem is though
[00:25:44] <ProLoser> either you forgot to add the module it's located inside of as a dependency or the injected item is like... wrong
[00:25:45] <scottsword> Arf if you click on that error it gives you more info
[00:26:03] <Arf> scottsword: it talks about ngRoute which I'm not using
[00:26:09] *** dob__ has quit IRC
[00:26:16] <jaydubya> ProLoser: great, one last thing -- is there something online to translate coffeescript to js so I don't have to try to learn coffeescript as well?
[00:26:24] <scottsword> Arf like ProLoser said you are messing up an injection somewhere
[00:26:43] <ProLoser> jaydubya: there's a cheatsheet on the readme of that repo
[00:26:45] *** MistahKurtz has quit IRC
[00:26:46] <Arf> scottsword: so how to proceed with an investigation?
[00:26:51] <ProLoser> there's also a converter in coffeescript.org
[00:26:57] <scottsword> you are either missing a dep or misspelled something OR you are mangling things on min in an un-angularish way
[00:27:01] <ProLoser> the "TRY COFFEESCRIPT" button at the top
[00:27:02] <scottsword> prob one of those
[00:27:12] <ProLoser> paste my code on the left and you'll see the output on the right
[00:27:21] <jaydubya> ProLoser: thanks ... is coffeescript really worth learning?
[00:27:31] <ProLoser> no
[00:27:35] <jaydubya> LOL
[00:27:35] <ProLoser> unless you want classes
[00:27:40] <ProLoser> then yes
[00:27:43] *** pushpak has quit IRC
[00:27:48] <scottsword> do you get the same problem when your code is unminified?
[00:27:50] <ProLoser> and with es6, you'll learn it eventually anyway
[00:28:00] <jaydubya> I'll just translate it then for now
[00:28:06] <ctanga> how similar is coffee to TS?
[00:28:12] <Arf> scottsword: apart from just staring at the code, i'm at a loss for a debugging process
[00:28:21] <ProLoser> ctanga: don't know, i don't use typescript
[00:28:57] *** PeterMetz has quit IRC
[00:29:02] *** sonofdirt has quit IRC
[00:29:32] <kakashiAL> I am using the datepicker of jquery and I gave it a germany format, which means: day.month.year, like 05.12.2014. Now I have to write a parsing function to save that as Date
[00:29:34] <scottsword> Arf - lol shit man, I can't really help you then. All I can say is see if it works when it is un minified
[00:29:44] <kakashiAL> is there maybe an easier solution for that?
[00:29:53] <Arf> i hate life
[00:30:07] <scottsword> that will limit the possibilities of what could be wrong
[00:30:12] *** opiates has joined #angularjs
[00:30:24] <scottsword> that will tell you if you have a mangle issue or not
[00:30:24] *** tommyjam has joined #angularjs
[00:30:47] <scottsword> otherwise its a missing service or typo
[00:31:01] <ProLoser> scottsword: look at your module dependencies and your injection variables
[00:31:18] <ProLoser> from the line you pasted it doesn't tell us which injected variable is borked
[00:31:39] <scottsword> ProLoser I'm not having issues with that
[00:31:42] <scottsword> just helping Arf
[00:31:46] <ProLoser> woops
[00:31:48] *** ChadStrat has joined #angularjs
[00:31:49] <ProLoser> i meant that for arf
[00:31:56] <Grokling> Okay, any words of wisdom? I'm trying to make a concatenated, minified, uglified monolithic js file out of my app. I have gulp-ngAnnotated it (no errors), then concat (at which point it has a DI error in the browser). I thought ngAnnotate was a magic bullet for that kind of silliness?
[00:32:01] *** chrisshattuck has quit IRC
[00:32:17] <scottsword> ProLoser I came here looking for a reference for the events like - $rootScope.$on('$routeChangeStart', function() {...
[00:32:21] *** bkuberek has quit IRC
[00:32:22] <ctanga> check your uirouter resolves
[00:32:24] <ctanga> Grokling:
[00:32:26] <scottsword> specifically the '$routeChangeStart'
[00:32:28] *** disgrntld has quit IRC
[00:32:31] <scottsword> ish things
[00:32:33] <ProLoser> scottsword: there is no global dictionary
[00:32:40] <ProLoser> different modules have their own events
[00:32:44] <scottsword> lame
[00:32:48] *** evilaliv3 has joined #angularjs
[00:32:49] <ProLoser> it's a normal event system
[00:32:53] <ProLoser> it's not something specific to angular
[00:33:01] <scottsword> right
[00:33:01] <ProLoser> if you do $broadcast('fuckyou') that is now an event
[00:33:10] <jaydubya> ProLoser: the "Try Coffeescript" button is a godsend ... last thing, this should be the FIRST state I define in app.js, correct?
[00:33:19] <scottsword> I just didn't know if there was somewhere that had the events listed for the native ng modules
[00:33:25] <ProLoser> jaydubya: i kinda have like 2 top-level states, auth and guest
[00:33:31] <ProLoser> someone else named theirs 'anon', etc
[00:33:47] <ProLoser> you then make these states the parent to whatever you want to require authentication or don't
[00:33:47] *** ngbot has joined #angularjs
[00:33:47] <ngbot> [angular.js] vojtajina force-pushed browserstack-with-socketio-1_0 from 42611a3 to eae3001: http://git.io/OJnqFg
[00:33:47] *** ngbot has left #angularjs
[00:33:47] <ProLoser> etc
[00:33:52] <ProLoser> it's a simple quick way to do global auth
[00:34:02] <ProLoser> cuz the resolve handles most of the checking for you
[00:34:11] *** zB0hs has quit IRC
[00:34:14] <ProLoser> if you want to be able to view the same page logged in and logged out, this may not work for you
[00:34:30] <jaydubya> ProLoser: OH, so every other route that I have now becomes auth.newApp, auth.report/1, etc???
[00:34:50] *** dcadenas has quit IRC
[00:34:55] <Grokling> Probably this would be better if angular-sanitize wasn't crippling the error message, and I could get some clues about where in the ~7500 lines of code the problem is..
[00:34:58] <ProLoser> no, that's the beauty of the 'parent' property
[00:35:04] *** ahtik has quit IRC
[00:35:05] <ProLoser> you can make them children of auth without renaming them
[00:35:06] <ctanga> jaydubya: you can use parent: auth for your quasi-top-lever states then keep then named newApp report
[00:35:19] *** shpoont has joined #angularjs
[00:35:20] *** richiebkr has joined #angularjs
[00:35:33] *** cakirke has joined #angularjs
[00:35:34] <ProLoser> you will note i intermix dot-notation and parent properties to keep the names short but keep things sensible
[00:35:47] <scottsword> ProLoser on a sidenote I'm trying to remove a authCheck method I wrote from all of my controllers and only have it occur in one spot-- like .run(), but I need the proper event for browser refresh
[00:35:51] <Grokling> ctanga: ui-router resolves I did manually prior - this is only a concat, no minification yet, so it shouldn't even be an issue I didn't think.
[00:35:57] <jaydubya> ProLoser: no, what you have presented is my exact use case .... it is an app that either you are authorized to use or you are directed to the company's public home page ... has confidential stuff
[00:36:03] <scottsword> where do you typically store your auth check?
[00:36:15] *** grogs has joined #angularjs
[00:36:17] <ProLoser> jaydubya: then this will be the easiest thing for you to do
[00:36:24] <ProLoser> since resolve blocks you from accessing anything if it fails
[00:36:28] *** emmesswhy has quit IRC
[00:36:36] *** basiclaser_ has joined #angularjs
[00:36:42] <ProLoser> scottsword: i'm a little confused
[00:36:47] <scottsword> sorry
[00:36:54] <ProLoser> https://github.com/ProLoser/AngularJS-ORM/blob/master/modules/Authentication/Authenticated.coffee#L14-L16
[00:36:56] <ProLoser> you mean that?
[00:37:05] <ProLoser> this only works for SOME structures
[00:37:14] *** bmac has quit IRC
[00:37:25] <scottsword> hmm
[00:37:29] <scottsword> thats interesting
[00:37:45] <scottsword> I haven't created a state-based service
[00:37:54] <ProLoser> the service isn't state based
[00:38:06] <scottsword> $stateProvider?
[00:38:19] *** yts has quit IRC
[00:38:21] <scottsword> regardless
[00:38:27] <ProLoser> i'm confused
[00:38:30] <ProLoser> are you using ui-router?
[00:38:31] <scottsword> it looks like you do it only once in your config()
[00:38:34] <scottsword> no
[00:38:57] <ctanga> drink this: http://i.imgur.com/s7I8mqTl.jpg
[00:38:58] <scottsword> I wrote a service that I run in all of my controllers that checks auth state
[00:38:59] <ProLoser> do you use a router?
[00:39:03] <scottsword> and I don't like it
[00:39:07] <scottsword> yeah
[00:39:08] <ProLoser> ctanga: hah
[00:39:10] <ProLoser> who made that?
[00:39:13] <ctanga> i did
[00:39:15] <ctanga> for fun
[00:39:23] <ProLoser> that's awesome
[00:39:25] <ProLoser> ctanga++
[00:39:26] <UniBot1> ctanga Karma: 1
[00:39:26] <UniBot> ctanga Karma: 1
[00:39:31] <ProLoser> fucking bot
[00:39:38] <ProLoser> scottsword: do you use ngrouter?
[00:40:01] <scottsword> if that is the native module
[00:40:04] *** apetro_ has joined #angularjs
[00:40:06] *** jtimon has quit IRC
[00:40:06] <ProLoser> yes
[00:40:07] <scottsword> $routeProvider
[00:40:08] <scottsword> yeah
[00:40:10] <ProLoser> yeah
[00:40:13] <ProLoser> it sucks
[00:40:17] <ProLoser> do what ctanga suggested
[00:40:19] <ProLoser> switch to ui-router
[00:40:21] <Grokling> ProLoser: How come there are two bots? Isn't the bot your deal?
[00:40:27] <scottsword> drink the kool aid
[00:40:28] <ProLoser> they're the same fucking bot
[00:40:28] <scottsword> o yeah@
[00:40:30] *** vassagus_ has quit IRC
[00:40:36] *** maikowblue has joined #angularjs
[00:40:38] <ProLoser> i literally have no idea where one of them is hosted though
[00:40:52] <ProLoser> like i put the bot on like 5 servers when i was trying to find hosting
[00:40:57] <ProLoser> and one of em still is running
[00:41:02] *** digisky has quit IRC
[00:41:05] <ProLoser> and i thought i found it but now i don't know anymore
[00:41:07] <Grokling> Oh. A wild one. IP doesn't help out?
[00:41:17] *** il has joined #angularjs
[00:41:25] <scottsword> ProLoser - gotta bounce. Thanks for the feedback I just might give UI-router a go
[00:41:44] *** Fuzzier has joined #angularjs
[00:41:49] <ProLoser> scottsword: ui-router lets you nest routes underneath each other
[00:41:56] <scottsword> I know
[00:42:00] <scottsword> I dont really care about that
[00:42:05] <ProLoser> well you should
[00:42:08] <scottsword> ha
[00:42:10] <scottsword> yeah?
[00:42:11] <ProLoser> auth is a top-level route
[00:42:13] <ProLoser> so i can do the check once
[00:42:18] <scottsword> ah
[00:42:18] <ProLoser> and all other authenticated routes simply fall under it
[00:42:21] <scottsword> good point
[00:42:29] <scottsword> hadn't really put it in that context
[00:42:32] <scottsword> boom
[00:42:40] <Grokling> Kool aid time.
[00:42:41] <scottsword> thanks dude
[00:42:42] <ProLoser> i have a top-level auth state and guest state
[00:42:46] *** m0t0r has joined #angularjs
[00:42:53] <scottsword> yeah
[00:42:54] <ProLoser> you just throw the rest of your routes underneath whichever one you want
[00:42:56] <ProLoser> super peasy
[00:42:58] <scottsword> totally makes sense
[00:43:08] <ProLoser> also easy to refactor too
[00:43:11] *** vassagus has joined #angularjs
[00:43:13] <gladely> Do you set the url for that top level state to ''?
[00:43:27] *** richiebkr has quit IRC
[00:43:28] <ProLoser> and resolves tackle the holding off until auth checks are done before continuing
[00:43:28] <Grokling> Feck. concat order. That's my problem.
[00:43:34] *** Fuzzy has quit IRC
[00:43:36] <ProLoser> gladely: it's an abstract state
[00:43:37] <scottsword> ProLoser - http://i239.photobucket.com/albums/ff153/salparadise67/buddy-jesus.jpg
[00:43:42] <ProLoser> so yeah, it has no url whatsoever
[00:43:56] *** dannyc has joined #angularjs
[00:44:01] <gladely> Ok, but doesn't ui-router resolve all resolves to the nested child before invoking the controlers in all states?
[00:44:07] <ProLoser> ctanga: i really want to have abstract route defaults working
[00:44:20] *** macabre has quit IRC
[00:44:27] *** scottsword has quit IRC
[00:44:29] <ctanga> gladely: it resolves all resolves for the transition before invoking the controllers
[00:44:51] <ctanga> so if you’re going from no state to auth.foo it resolves auth’s resolves and auth.foo’s resolves, then invokes controllers
[00:45:16] <ProLoser> gladely: also, they're currently refactoring it so that it will lazy-resolve
[00:45:19] <gladely> so the auth controller can't do anything that foo would depend on
[00:45:25] <ctanga> ProLoser: nateabele says he’s nearly done with the view pipeline stuff
[00:45:27] <gladely> only the resolve can
[00:45:36] *** marcjs has quit IRC
[00:46:20] <ctanga> gladely: keep your controller simple. do dependency injection at the state-resolve-level
[00:46:35] <ctanga> you can define a resolve in a parent state and inject it into a child resolve, or a child controller
[00:46:37] *** tfennelly has quit IRC
[00:46:49] *** mdedetrich has quit IRC
[00:47:45] *** emmesswhy has joined #angularjs
[00:48:06] <ProLoser> any node pros?
[00:48:09] *** dannyc has quit IRC
[00:48:12] <ProLoser> i am reaching the point where i will pay someone to help me
[00:48:19] <gladely> another question on scopes, if I navigate between two sibling states, and each modifies the scope, they would effectively inherit each others state as stored on the scope right? (we're avoiding this, and using controllerAs notation for attaching button handlers, just wanted to confirm.)
[00:48:51] *** adpirz has joined #angularjs
[00:48:53] *** dhcar is now known as dhcar_AFK
[00:48:55] <ProLoser> gladely: if a controller is destroyed, it's associated scope is destroyed
[00:49:01] <ProLoser> with my approach, i don't bother with controllerAs syntax
[00:49:09] <ProLoser> i find it verbose and unnecessary
[00:49:19] <ProLoser> then again, i tend to refactor some of that logic into services
[00:49:26] *** koleS has quit IRC
[00:50:24] *** ron1 has joined #angularjs
[00:51:25] *** soee has quit IRC
[00:52:05] *** tschundeee has quit IRC
[00:52:25] *** bbankes has quit IRC
[00:52:37] *** tschundeee has joined #angularjs
[00:52:43] *** koleS has joined #angularjs
[00:53:17] *** SeeThruHead has quit IRC
[00:53:26] *** adpirz has quit IRC
[00:53:57] *** hatzopoulos has joined #angularjs
[00:54:18] *** elrabin has joined #angularjs
[00:54:30] *** tommyjam has quit IRC
[00:54:36] *** jonr22 has joined #angularjs
[00:55:14] *** tschundeee has quit IRC
[00:55:42] *** tschundeee has joined #angularjs
[00:55:44] *** apetro_ has quit IRC
[00:57:30] *** vassagus has quit IRC
[00:58:19] *** evilaliv3 has quit IRC
[00:58:35] *** bahoo has quit IRC
[00:58:39] *** nya has joined #angularjs
[00:58:52] *** TheAceOfHearts has joined #angularjs
[00:59:02] *** jonr22 has quit IRC
[00:59:06] *** vassagus has joined #angularjs
[00:59:22] *** millr|wrk has quit IRC
[00:59:25] *** AimerPaddle has quit IRC
[01:00:21] *** D9 has joined #angularjs
[01:00:51] *** BobbieBarker has joined #angularjs
[01:00:53] *** CanyonMan has joined #angularjs
[01:00:57] <BobbieBarker> whats up
[01:01:03] *** shackleford has quit IRC
[01:01:17] *** JoshGlzBrk has joined #angularjs
[01:01:23] *** lsiv568 has joined #angularjs
[01:01:24] *** richiebkr has joined #angularjs
[01:01:31] *** JoshGlzBrk has quit IRC
[01:03:48] *** Arf has quit IRC
[01:04:49] *** kewark has joined #angularjs
[01:05:13] *** kewark is now known as Guest90631
[01:05:17] *** dacuca has quit IRC
[01:05:31] <Grokling> BobbieBarker: Time.
[01:06:54] *** htmelvis has quit IRC
[01:06:57] *** il is now known as audioburn
[01:07:11] *** ron1 has quit IRC
[01:07:33] *** freelyfred has quit IRC
[01:07:57] *** ccohn has joined #angularjs
[01:08:24] *** adben has quit IRC
[01:09:06] *** ron1 has joined #angularjs
[01:09:25] *** obackachewbacka has quit IRC
[01:09:32] *** freelyfred has joined #angularjs
[01:09:34] *** Solid1 is now known as Solid1_afk
[01:09:59] *** mccarrontr1ck has quit IRC
[01:10:04] *** Shrooms has quit IRC
[01:10:31] *** lsiv568 has quit IRC
[01:10:53] *** dacuca has joined #angularjs
[01:11:05] *** tkh44 has quit IRC
[01:11:20] *** ron1 has quit IRC
[01:11:45] *** woah has quit IRC
[01:12:00] *** ron1 has joined #angularjs
[01:12:19] *** Guest90631 has quit IRC
[01:12:37] *** mven has quit IRC
[01:12:55] *** Shrooms has joined #angularjs
[01:12:56] *** Shrooms has joined #angularjs
[01:13:12] *** danecando has quit IRC
[01:13:25] *** mven has joined #angularjs
[01:13:33] *** boxmein has quit IRC
[01:13:40] *** mven has quit IRC
[01:13:52] *** dhcar_AFK is now known as dhcar
[01:14:02] *** bbankes has joined #angularjs
[01:14:06] *** ee99ee2 has quit IRC
[01:14:16] *** MistahKurtz has joined #angularjs
[01:14:21] <icfantv> anyone know if you can inject constants into constants? i.e. into angular.module(……).constant(….)
[01:14:40] <kakashiAL> hey guys, I cant fint an error here: http://jsfiddle.net/zpL430tr/1/
[01:14:44] *** elrabin has quit IRC
[01:14:45] <kakashiAL> could anybody please help
[01:15:39] *** Juanchito has quit IRC
[01:15:44] <Grokling> kakashiAL: !plunker
[01:15:44] <UniBot1> kakashiAL, paste your code here: http://plnkr.co/edit/tpl:nKLNBdve51sqOoKZAOUS Try to isolate the specific problem (i.e. the least code you can use to show the issue - not your whole app), and get the code as near to running as you can, and someone will be happy to help.
[01:15:45] <UniBot> kakashiAL, paste your code here: http://plnkr.co/edit/tpl:nKLNBdve51sqOoKZAOUS Try to isolate the specific problem (i.e. the least code you can use to show the issue - not your whole app), and get the code as near to running as you can, and someone will be happy to help.
[01:17:03] *** BillCriswell has joined #angularjs
[01:17:06] *** tfennelly has joined #angularjs
[01:17:20] *** moritzs has joined #angularjs
[01:18:49] *** Chubbs has quit IRC
[01:19:27] *** Xaleph has joined #angularjs
[01:19:43] *** bkuberek has joined #angularjs
[01:19:47] <icfantv> kakashiAL: and your jsfiddle is missing raw in matrix ng-repeat definition
[01:20:13] *** bkuberek has quit IRC
[01:21:16] *** fairuz has quit IRC
[01:21:17] *** zwacky has quit IRC
[01:21:48] <gladely> Do you guys have a sample project or plunker with the top level auth state? i'm curious to see where the actual auth ui goes. Do you redirect to an auth.ui state on statechangeerror due to missing credentials?
[01:21:49] *** Xaleph has quit IRC
[01:21:54] *** cactauz has quit IRC
[01:22:00] *** Xaleph has joined #angularjs
[01:22:13] *** dmack has joined #angularjs
[01:22:25] <kakashiAL> icfantv: missing raw?
[01:22:43] <icfantv> kakashiAL: also, we have no idea what you want to accomplish
[01:22:49] *** htmelvis has joined #angularjs
[01:23:00] <icfantv> kakashiAL: yes, you have a nested ng-repeat
[01:23:13] *** htmelvis has quit IRC
[01:23:21] <icfantv> and you don't define matrix
[01:23:37] *** tfennelly has quit IRC
[01:23:39] *** mdedetrich has joined #angularjs
[01:24:14] *** richleland has quit IRC
[01:24:37] <kakashiAL> icfantv: I just want to have two textfields with my values: http://jsfiddle.net/zpL430tr/3/
[01:24:41] *** zivester has joined #angularjs
[01:25:14] *** vassagus_ has joined #angularjs
[01:25:22] <Grokling> Anybody know about ng-annotate? I just ran ng-annotate over a file that had already been gulp-ng-annotated, and the two files have significant differences..
[01:26:02] *** startupality has quit IRC
[01:26:08] *** vassagus has quit IRC
[01:26:19] <icfantv> kakashiAL: what do you want to output? "1,2"
[01:26:22] *** annlewis has quit IRC
[01:26:40] <icfantv> kakashiAL: or each number in a different text field
[01:27:05] <kakashiAL> icfantv: 1, 2 would be foo, 4
[01:27:39] *** qstrahl has quit IRC
[01:27:50] *** whitebook has joined #angularjs
[01:28:03] *** jr3 has joined #angularjs
[01:28:26] <icfantv> http://plnkr.co/edit/NI5hCPX3oingCynR1apf
[01:28:35] <icfantv> is that what you want?
[01:29:27] *** woebtz has joined #angularjs
[01:30:05] <kakashiAL> icfantv: nope, lets say that this is a inputfield---> [ ], what I want is this:
[01:30:10] *** it0a has joined #angularjs
[01:30:28] <kakashiAL> [1 ] [2 ] <--same line
[01:30:35] *** AciD`` has quit IRC
[01:30:39] <kakashiAL> [3 ] [4 ]
[01:31:09] <icfantv> kakashiAL: so what do you want in your first text field?
[01:31:14] <icfantv> kakashiAL: on the first iteration
[01:32:22] *** whitebook has quit IRC
[01:32:33] <kakashiAL> icfantv: in my first textfield I want 1 and in the second 2 if I have [ [1,2] ]
[01:32:59] *** Xaleph has quit IRC
[01:33:06] *** tschundeee has quit IRC
[01:33:14] <TeddyMurray> is it possible to bind data somehow over a websocket?
[01:33:34] <TeddyMurray> like when a database entry is changed it needs to push to the browser and bind
[01:33:51] <icfantv> TeddyMurray: if the websocket updates the model bound to the view, yes
[01:33:59] *** dhcar is now known as dhcar_AFK
[01:34:05] <TeddyMurray> i see
[01:34:09] <icfantv> and even if it doesn't, you can copy the data over
[01:34:27] <TeddyMurray> i guess its more of a nodejs question then
[01:34:33] <icfantv> but if outside the $digest loop, you'll need to call $apply() yourself
[01:34:33] *** dacuca has quit IRC
[01:34:39] <TeddyMurray> of how to know when data is changed in the db
[01:34:43] *** Evanion has quit IRC
[01:34:51] <icfantv> kakashiAL: how is what you said different from the plunker i posted
[01:35:07] *** ccohn has quit IRC
[01:35:19] *** Evanion has joined #angularjs
[01:35:31] *** gunn has quit IRC
[01:35:36] <kakashiAL> icfantv: sorry, scaled my windows down
[01:35:39] *** ccohn has joined #angularjs
[01:35:47] <icfantv> TeddyMurray: i believe the intent of websockets is to have the browser keep a connection open to the server so the server can "push" data down.
[01:35:57] <icfantv> kakashiAL: np
[01:35:58] *** Xaleph has joined #angularjs
[01:36:23] *** k-dawg has joined #angularjs
[01:36:25] <icfantv> TeddyMurray: so, the onus is on the server to know when the data changes and tell the client. this obviates the need for client-side polling
[01:36:42] <TeddyMurray> onus?
[01:36:59] <kakashiAL> icfantv: I need the $index to be able to change the values in realtime
[01:37:14] <TeddyMurray> i will pm you, since it is off topic here
[01:38:16] <icfantv> TeddyMurray: let me stop you before you do. i don't use node.js. onus means 'responsible' in that it's the server's responsibility
[01:38:19] *** patrickarlt has quit IRC
[01:39:10] <TeddyMurray> ah, i already wrote it. i guess i will copy it to another unwilling victim
[01:39:22] *** ron1 has quit IRC
[01:39:32] *** BobbieBarker_ has joined #angularjs
[01:39:40] *** gunn has joined #angularjs
[01:39:42] *** rchavik has joined #angularjs
[01:39:56] *** tschundeee has joined #angularjs
[01:40:00] *** ccohn has quit IRC
[01:40:15] <kakashiAL> icfantv: do you know what I mean?
[01:40:19] <icfantv> kakashiAL: ahhh, i think i understand. then use this: lists[$index][0]
[01:40:29] <icfantv> you have an array of arrays
[01:40:33] *** elrabin has joined #angularjs
[01:40:33] <icfantv> so the syntax is different
[01:40:40] <kakashiAL> icfantv: ahh okay
[01:40:47] <icfantv> it's not lists[x,y]
[01:40:53] <icfantv> it's lists[x][y]
[01:40:55] *** SeeThruHead has joined #angularjs
[01:41:19] <kakashiAL> icfantv: I am sooooo stupid
[01:41:20] <icfantv> lists[x,y] retrieves the value in the xTH row and yTH column
[01:41:30] <kakashiAL> icfantv: thanks a lot bro!
[01:41:31] <icfantv> kakashiAL: don't worry about it, we've all been there
[01:41:34] <icfantv> sure
[01:42:09] <kakashiAL> icfantv: thanks bro, that motivates me and its great to see people who are not arrogant and support people like you do
[01:42:18] <icfantv> :-)
[01:42:26] <icfantv> we're all just one big, happy family
[01:42:30] <icfantv> well, most of us
[01:42:39] *** freeone3000 has left #angularjs
[01:43:04] *** ctanga has quit IRC
[01:43:45] *** qdk has quit IRC
[01:43:53] * kakashiAL hugs icfantv
[01:44:22] <Grokling> Some of us are like cousin cletus. Six toes on one foot, and surrounded by an oddly pervasive smell of dried horse urine.. but when your truck won't start, he's the guy to talk to.
[01:44:23] *** technickul has joined #angularjs
[01:44:46] *** Anton_ has joined #angularjs
[01:45:00] <kakashiAL> Grokling: context?
[01:45:09] *** goodenough has joined #angularjs
[01:45:19] *** ccohn has joined #angularjs
[01:45:20] <icfantv> kakashiAL: where are you from?
[01:45:25] <icfantv> that's an american euphamism
[01:45:50] <kakashiAL> icfantv: germany :)
[01:45:58] <icfantv> ah. deutschland sint gut
[01:45:59] <Grokling> I'm not even from muurica..
[01:46:01] <icfantv> ich mag es gern
[01:46:23] <icfantv> aber ich wohne im colorado
[01:46:27] *** qdk has joined #angularjs
[01:46:36] *** audioburn has left #angularjs
[01:46:39] *** richleland has joined #angularjs
[01:46:47] <kakashiAL> sind, but in this case you say "deutschland ist good" === germany is good "ist === is" easy to remember :)
[01:46:59] <kakashiAL> gut not good :)
[01:47:26] <icfantv> sorry, it's been a while and i don't have anyone to practice with unlike my spanish
[01:48:03] <kakashiAL> 1/3 of the world is speaking spanish, so there is nothing to sorry :)
[01:48:12] *** Joe_knock has left #angularjs
[01:48:27] *** snapwich has quit IRC
[01:48:30] <icfantv> what Grokling was getting at was that there are (ahem) certain areas of this country that are less than educated….but what they do know, they REALLY know
[01:48:40] <icfantv> e.g., cars
[01:48:48] <gladely> s/country/humanity
[01:48:57] <icfantv> yea, that's fair
[01:48:59] *** Evanion has quit IRC
[01:49:06] <icfantv> but cletus is absolutely american
[01:49:13] <gladely> indeed.
[01:49:20] <kakashiAL> ahh okay
[01:49:22] <Grokling> Also, Hydroponics, Distilling.. that sort of thing..
[01:49:24] *** Anton_ has quit IRC
[01:49:28] <icfantv> hah
[01:49:54] <icfantv> there seems to be a lot of germans using angular
[01:50:06] <icfantv> but i haven't found any positions on the job boards
[01:50:13] *** BillCriswell has quit IRC
[01:50:17] *** AlexZ has quit IRC
[01:50:25] <icfantv> was pondering a work permit but i think the salaries cap out at around $70k euros
[01:50:49] <Grokling> So, gulp-ng-annotate doesn't annotate angular.module.run blocks. ng-annotate (the npm version) does.
[01:50:50] <icfantv> but the economy is FAR stronger than spain so that's why germany
[01:50:54] *** hatzopoulos has quit IRC
[01:51:00] *** goodenough has quit IRC
[01:51:17] <gladely> Try putting the /* @ngInject */ in front of the functions
[01:52:02] <Grokling> gladely: I thought maybe I'd just annotate them in the original source, seeing as I only have a couple..
[01:52:29] <icfantv> kakashiAL: dude, it's late there…what are you still doing up?
[01:53:00] <gladely> I loath the injection syntax, i'd rather use a comment, but to-each his own.
[01:53:04] <kakashiAL> icfantv: cant thank you enough, we have almost 2am here and I woke up at 5am, will go and sleep
[01:53:06] <kakashiAL> http://www.reactiongifs.com/r/mmb.gif
[01:53:08] <kakashiAL> http://3.bp.blogspot.com/-pnBKm7m7hNw/UgZvjAYDYsI/AAAAAAAAAvk/QI58rgr1ozw/s1600/bed2.jpg
[01:53:43] <Grokling> gladely: I have 8 minutes to get this working.. I'm going for the quickest solution for now!
[01:53:50] <gladely> word
[01:53:54] <gladely> I know that feeling.
[01:53:59] *** opiates has quit IRC
[01:54:05] <ProLoser> gladely: i don't use the array syntax
[01:54:08] <ProLoser> i just use ngannotate
[01:54:22] *** teddyp1cker has joined #angularjs
[01:54:23] <gladely> that's what I was advocating.
[01:54:26] <icfantv> kakashiAL: very good
[01:54:33] <gladely> but it misses some of the patterns.
[01:54:45] <icfantv> i'm off too. kid duty tonight while the wife goes out and parties….or something like that
[01:54:53] *** BillCris_ has joined #angularjs
[01:55:20] *** cacts has joined #angularjs
[01:55:22] <Grokling> ProLoser: I am using gulp-ng-annotate, and it's missing a bunch of stuff.
[01:55:31] <ProLoser> so patch it
[01:55:37] <ProLoser> i honestly don't do that level of minification
[01:55:44] <ProLoser> or don't use such a convoluted code structure
[01:56:06] *** icfantv has quit IRC
[01:56:17] *** aslate has joined #angularjs
[01:57:10] *** araujo has quit IRC
[01:57:41] *** tschundeee has quit IRC
[01:57:53] *** vassagus_ has quit IRC
[01:58:18] *** tschundeee has joined #angularjs
[01:58:42] *** teddyp1cker has quit IRC
[01:58:43] *** ccohn has quit IRC
[01:58:48] <Grokling> I'm going to be here all year. Other solutions are welcome..
[01:59:26] *** dhcar_AFK is now known as dhcar
[02:00:16] *** warpx has joined #angularjs
[02:00:22] <Grokling> A couple has turned into more like 50. I wonder if gulp-ng-annotate did anything at all.
[02:00:36] *** nya has quit IRC
[02:00:50] *** vassagus has joined #angularjs
[02:00:52] *** aslate has quit IRC
[02:01:21] *** zivester has quit IRC
[02:02:23] *** zivester has joined #angularjs
[02:02:49] *** tschundeee has quit IRC
[02:03:02] <jaawerth> that's why it's good to still explicitly inject as much as possible
[02:03:07] <jaawerth> ng-annotate isn't perfect ;-)
[02:03:35] *** richiebkr has quit IRC
[02:04:14] <Grokling> ng-annotate seems to have worked. gulp-ng-annotate gave me an entirely different result.
[02:04:33] *** Foxandxss has quit IRC
[02:05:01] *** warpx has quit IRC
[02:05:07] *** merobertsjr has quit IRC
[02:06:08] *** apertoire has joined #angularjs
[02:06:18] <jaawerth> what's your gulp config for it look like?
[02:06:28] *** JVH has quit IRC
[02:06:46] *** sk87 has joined #angularjs
[02:07:58] <CanyonMan> whatis gulp
[02:08:22] <Grokling> jaawerth: http://pastebin.com/q6Lcu8hZ
[02:08:29] <gladely> yet another build tool, like grunt, but focuses on streams over file ssytem temp files.
[02:08:41] <CanyonMan> oh
[02:09:05] <gladely> https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0CCYQFjAB&url=http%3A%2F%2Fgulpjs.com%2F&ei=qgWBVNqDJ4KyogTNx4HAAQ&usg=AFQjCNEL6IkcwS9uNfpYKYMdqHq4SVpLlw&sig2=a8SGC4qu9NlSbHLjaIhOXQ&bvm=bv.81177339,d.cGU
[02:09:06] <CanyonMan> grunt has a fairly rich ecosystem underneath it though
[02:09:09] <CanyonMan> does gulp?
[02:09:13] <dmack> yes
[02:09:17] <gladely> grr. Sorry, bad google link.
[02:09:27] <gladely> http://gulpjs.com/
[02:09:46] *** afuggini has quit IRC
[02:10:36] *** rho has quit IRC
[02:10:46] *** richiebkr has joined #angularjs
[02:10:47] <jaawerth> gulp started after grunt, but it's catching up quickly
[02:10:57] <jaawerth> it's also faster and easier to configure because it uses js and streams
[02:11:06] *** afuggini has joined #angularjs
[02:11:11] <jaawerth> Grokling: so it failed with or without those config options commented out?
[02:11:22] *** ron1 has joined #angularjs
[02:11:47] <Grokling> It doesn't 'fail' it just doesn't seem to work. Either way - commented or uncommented.
[02:11:55] <jaawerth> hm
[02:12:07] <jaawerth> also why the on('end', done) ?
[02:12:20] *** doginal has quit IRC
[02:12:48] *** tyfighter has quit IRC
[02:12:56] *** JR___ has joined #angularjs
[02:13:00] *** bbankes has quit IRC
[02:13:02] *** tfennelly has joined #angularjs
[02:13:02] <jaawerth> eh I guess I can picture why
[02:13:33] <Grokling> jaawerth: Actually, I don't know. It's just what was being done in the tasks I began with, so I continued.
[02:13:33] *** woah has joined #angularjs
[02:13:38] <jaydubya> LOLOL ... a week ago Wednesday, I accidentally deleted a project I had been working on for 7 months. I restored from my github account but had the White Screen of Death. I tried for three days with no luck so on Saturday I started over. Since I had the files, it was mostly copy-paste-refactor-and-improve. Now, I JUST REALIZED that when I restored the repo, I didn't run bower install ... OMG! LOL!
[02:13:40] <jaawerth> ah
[02:14:16] *** codeman has quit IRC
[02:14:38] <Grokling> jaydubya: Oh. That hurts!
[02:14:39] <jaawerth> that's just so you can make stuff run sequentially instead of concurrently
[02:15:06] <jaydubya> Grokling: I NEED SCOTCH NOW!!!
[02:15:16] *** BobbieBarker_ has quit IRC
[02:15:17] <gladely> mmmm. scotch. good idea.
[02:15:24] <Grokling> jaydubya: git commit first ;-)
[02:15:27] <jaawerth> if you have task 'foo' and 'bar' and you the on('end', done) thing in foo, then you can do gulp.task('bar', ['foo'])
[02:15:40] <gladely> at least git commit befor the endo f the first tumbler. but not after 5.
[02:16:13] <Grokling> ah. That makes sense of this: gulp.task('default', ['sass','ngAnnotate','copyForSails','watch']);
[02:16:30] <jaawerth> Grokling: okay so you're piping into .tmp there
[02:17:00] <jaawerth> and then is your minifier pulling from that .tmp file to minify?
[02:17:08] <jaawerth> or is it pulling from the same source?
[02:17:15] *** tfennelly has quit IRC
[02:17:19] *** BobbieBarker_ has joined #angularjs
[02:17:22] <jaawerth> or piping directly from the feed?
[02:17:25] *** BlinkyBill has quit IRC
[02:17:38] *** elrabin has quit IRC
[02:17:49] <jaawerth> I guess the latter is unlikely
[02:18:04] <Grokling> jaawerth: Yes, then for the sake of comparison I went into .tmp and did "ng-annotate -ar production.js -o production2.js" and diffed the two files.
[02:18:11] *** nya has joined #angularjs
[02:18:48] *** shpoont has quit IRC
[02:18:55] <Grokling> jaawerth: I'm stuck in the middle between using sails to build that side and using gulp to do the client side. So, grunt (ala sails) picks up the concat'd files from .tmp and uglifies them.
[02:19:04] *** vassagus has quit IRC
[02:19:14] *** dhcar is now known as dhcar_AFK
[02:19:32] *** mven has joined #angularjs
[02:20:02] <Grokling> I'd expected that ng-annotate would yield a fundamentally similar file to what I already had. It didn't.
[02:20:08] *** vassagus has joined #angularjs
[02:21:10] *** japhar81 has joined #angularjs
[02:21:13] *** mmealling has joined #angularjs
[02:22:04] *** deanclkclk has joined #angularjs
[02:22:07] *** fsargent has quit IRC
[02:23:21] <gladely> Is it modifying the file at all?
[02:23:54] *** tristanp has joined #angularjs
[02:24:29] *** lyanchih_ has joined #angularjs
[02:25:16] *** cakirke has quit IRC
[02:27:58] <Grokling> gladely: I'm trying to determine that now.. I'm slightly confused at the moment, so once I resolve that I should be able to answer that question!
[02:28:42] *** tristanp has quit IRC
[02:29:19] *** tristanp has joined #angularjs
[02:29:58] *** baweaver has quit IRC
[02:30:12] *** dhcar_AFK is now known as dhcar
[02:30:56] *** robdubya has joined #angularjs
[02:31:04] *** say2joe has quit IRC
[02:31:18] *** ChadStrat has quit IRC
[02:31:39] <jaawerth> hm
[02:31:45] <jaawerth> sounds like you might need to isolate
[02:32:06] *** sinequanon has joined #angularjs
[02:32:34] *** emmesswhy has quit IRC
[02:33:09] *** tfennelly has joined #angularjs
[02:33:52] *** tristanp has quit IRC
[02:33:53] *** baweaver has joined #angularjs
[02:34:27] *** marr has quit IRC
[02:35:25] *** bkuberek has joined #angularjs
[02:35:31] *** thebigredgeek has quit IRC
[02:35:33] *** gladely has quit IRC
[02:36:12] *** gladely has joined #angularjs
[02:36:15] <Grokling> I think it's a pathing issue. It looks like ng-annotate is working, but my grunt tasks are picking up un-annotated files from somewhere. Probably just need to figure out what the relative path is for grunt, and it'll come mostly right I think.
[02:36:23] * Grokling crosses his fingers.
[02:36:24] *** dmack has quit IRC
[02:36:56] *** sinequanon has quit IRC
[02:37:01] *** k-dawg has quit IRC
[02:37:11] *** elrabin has joined #angularjs
[02:37:48] *** tfennelly has quit IRC
[02:37:48] *** adpirz has joined #angularjs
[02:37:59] *** rburns has joined #angularjs
[02:38:20] *** sk87 has quit IRC
[02:38:37] *** baweaver has quit IRC
[02:38:54] *** woah has quit IRC
[02:39:09] *** woah has joined #angularjs
[02:39:33] *** phishy has quit IRC
[02:39:47] *** {DV8} has joined #angularjs
[02:40:10] *** marcjs has joined #angularjs
[02:40:37] *** oste has joined #angularjs
[02:41:14] *** scythe__ has joined #angularjs
[02:41:42] *** ron1 has quit IRC
[02:41:49] *** Xaleph has quit IRC
[02:42:16] *** richiebkr has quit IRC
[02:42:20] *** adpirz has quit IRC
[02:43:08] *** whatasunnyday has joined #angularjs
[02:43:18] *** WaSS has joined #angularjs
[02:43:27] *** jonr22 has joined #angularjs
[02:44:15] *** AlSquirrel has quit IRC
[02:44:55] <whatasunnyday> Is the latest version of ng book cover only use 1.3 or does it just show you what's new in 1.3? if someone has a copy on hand, i'm just curious what version they use in Data Binding and Your First Angular app? I have a copy but it says 1.2.6 and I thought I downloaded the latest version.
[02:45:00] *** bradmaxs has quit IRC
[02:45:08] *** dc_ has quit IRC
[02:45:17] *** wallerdev has quit IRC
[02:45:31] *** vassagus has quit IRC
[02:45:52] *** vassagus has joined #angularjs
[02:48:34] *** jonr22 has quit IRC
[02:48:54] *** tyfighter has joined #angularjs
[02:49:04] *** fairuz has joined #angularjs
[02:49:52] *** bayousoft has joined #angularjs
[02:50:34] *** motionman has joined #angularjs
[02:51:24] *** ron1 has joined #angularjs
[02:51:32] *** whatasunnyday has quit IRC
[02:51:57] *** basiclaser_ has quit IRC
[02:52:41] *** gladely has quit IRC
[02:52:41] *** woah has quit IRC
[02:53:11] *** tristanp has joined #angularjs
[02:54:15] *** freelyfred has quit IRC
[02:54:25] *** zivester has quit IRC
[02:55:21] *** Siecje has joined #angularjs
[02:55:53] *** tristanp has quit IRC
[02:56:41] *** ron1 has quit IRC
[02:56:47] *** zivester has joined #angularjs
[02:56:53] *** tristanp has joined #angularjs
[02:57:18] *** AlexZ has joined #angularjs
[02:57:48] *** tsalb has quit IRC
[02:58:17] *** thebigredgeek has joined #angularjs
[02:59:27] *** jdivock has joined #angularjs
[02:59:36] *** dhrami has quit IRC
[02:59:47] *** jdivock has quit IRC
[02:59:48] *** ccohn has joined #angularjs
[03:02:58] *** zivester has quit IRC
[03:03:44] *** seriema has joined #angularjs
[03:03:51] *** ron1 has joined #angularjs
[03:03:54] *** jdivock has joined #angularjs
[03:04:12] *** ccohn has quit IRC
[03:04:29] *** jonathanpglick has quit IRC
[03:04:45] *** muffin has joined #angularjs
[03:07:07] *** annlewis has joined #angularjs
[03:07:28] *** jdivock has joined #angularjs
[03:07:34] *** prbc has joined #angularjs
[03:07:35] *** araujo has joined #angularjs
[03:07:36] *** araujo has joined #angularjs
[03:07:50] *** MuffinMan` has quit IRC
[03:07:52] *** seriema has quit IRC
[03:07:53] *** jdivock has quit IRC
[03:08:31] *** seriema has joined #angularjs
[03:08:49] *** ProLoser has quit IRC
[03:09:01] *** jdivock has joined #angularjs
[03:09:24] *** tfennelly has joined #angularjs
[03:09:25] *** jdivock has quit IRC
[03:09:37] *** motionman has quit IRC
[03:10:31] *** jdivock has joined #angularjs
[03:10:47] *** sirkitree|afk is now known as sirkitree|afk|af
[03:10:55] *** jdivock has quit IRC
[03:11:09] <jaawerth> Grokling: wait, grunt or gulp?
[03:11:24] *** nerdy has joined #angularjs
[03:11:43] *** dimetron has joined #angularjs
[03:11:45] <Grokling> jaawerth: Both. I figured it out - grunt was picking up files from a different place to where I was putting them.
[03:11:54] <jaawerth> aha
[03:12:02] <jaawerth> interesting that you're using both - never seen that
[03:12:05] *** jdivock has joined #angularjs
[03:12:14] *** bkuberek has quit IRC
[03:12:14] <jaawerth> I knew it was something like that, though
[03:12:17] <jaawerth> had to be
[03:12:24] *** jdivock has quit IRC
[03:12:27] <jaawerth> unless the task was just not executing
[03:12:43] *** zz_night-owl is now known as night-owl
[03:12:44] *** seriema has quit IRC
[03:12:57] <Grokling> sails comes pre-rolled with grunt. Then I started on my angular frontend and used gulp. Now I have the dubious pleasure of making them work together.
[03:13:26] *** woebtz has quit IRC
[03:13:37] *** tfennelly has quit IRC
[03:13:43] *** ccohn has joined #angularjs
[03:14:12] <jaawerth> ahh
[03:14:34] <Grokling> Next question though.. I have eleventy html templates - I vaguely recall a thing that wraps them all up into <script> tags?
[03:14:49] *** patrick99e99 has quit IRC
[03:15:42] *** busticated has quit IRC
[03:15:42] <jaawerth> Grokling: perhaps https://github.com/miickel/gulp-angular-templatecache ? That puts them in templateCache
[03:16:01] *** caitp- has joined #angularjs
[03:16:48] *** jr3 has quit IRC
[03:16:57] *** Left_Turn has quit IRC
[03:17:06] *** cthrax has quit IRC
[03:17:09] <Grokling> jaawerth: That will do nicely. It's a step or two further than I had thought of so far, but much better.
[03:17:25] *** jMyles has quit IRC
[03:17:55] *** SeeThruHead has quit IRC
[03:18:17] *** nairys has quit IRC
[03:18:18] *** SeeThruHead has joined #angularjs
[03:18:22] *** caitp has quit IRC
[03:19:35] <jaawerth> if you don't want them in templateCache, you can also use a combo of minifyHtml and ngHtml2js for similar results
[03:19:38] *** busticated has joined #angularjs
[03:19:44] <jaawerth> that's what generator-gulp-angular uses
[03:19:55] *** bbankes has joined #angularjs
[03:19:57] *** TeddyMurray has quit IRC
[03:20:19] <jaawerth> actuall ngHtml2js does the same thing - puts it in templateCache
[03:20:20] *** mogaj has joined #angularjs
[03:20:27] <Grokling> They're going to end up in templateCache anyway I think?
[03:20:37] *** jdivock has joined #angularjs
[03:21:34] <jaawerth> well, the difference is that these modules convert them into a big JS file to do it, so you're basically preloading your templates into templateCache, whereas without doing that they will lazy load individually (and then be in templateCache)
[03:21:48] *** TeddyMurray has joined #angularjs
[03:22:01] *** d10n-work has quit IRC
[03:22:05] <jaawerth> so it sort of just takes the lazy loading out of the equation, which can be good and bad. one the one hand, less HTTP requests. On the other hand, maybe you don't want to preload all your templates
[03:22:25] *** ulkesh has quit IRC
[03:22:49] *** ulkesh has joined #angularjs
[03:23:17] <Grokling> jaawerth: True. Perhaps I need to split it up. Preload the common stuff, and then leave the others for lazy loading. In the context of a cordova app, it'd be better to make the monolith right?
[03:23:22] <jaawerth> though you could always configure it to only do that to certain paths
[03:23:25] <jaawerth> yeah
[03:23:35] *** ulkesh has quit IRC
[03:23:43] <Grokling> There's way too much to think about in this business..
[03:23:45] <jaawerth> for cordova all the templates would already be on the local machine, no?
[03:23:46] <davek_> Ugh... image/* uploads work absolutely perfectly on local, image/png works great for remote, image/jpg doesn't...
[03:24:21] <Grokling> jaawerth: I imagine so. I haven't even begun to grok that side of things yet.
[03:24:21] <jaawerth> I don't see the point of preloading for a cordova app unless you're still something pulling templates from the remote server
[03:24:30] *** Beg_ has quit IRC
[03:24:31] <jaawerth> er, somehow pulling*
[03:24:43] *** ulkesh has joined #angularjs
[03:24:51] <jaawerth> but more likely, most templates would be packaged in the app
[03:24:57] *** macabre has joined #angularjs
[03:25:07] *** wallerdev has joined #angularjs
[03:27:09] *** mdedetrich has quit IRC
[03:27:21] *** night-owl is now known as zz_night-owl
[03:27:37] *** cthrax has joined #angularjs
[03:27:55] *** MistahKurtz has quit IRC
[03:28:12] *** wsmoak has quit IRC
[03:28:13] *** TeddyMurray has quit IRC
[03:28:36] *** TeddyMurray has joined #angularjs
[03:29:28] *** mdedetrich has joined #angularjs
[03:29:37] *** mclenithan has quit IRC
[03:29:57] *** vassagus has quit IRC
[03:31:00] *** ron1 has quit IRC
[03:31:28] *** mdedetrich has quit IRC
[03:31:42] *** {DV8} has quit IRC
[03:32:02] *** Anton_ has joined #angularjs
[03:32:03] *** vassagus has joined #angularjs
[03:32:14] *** prbc has quit IRC
[03:32:40] *** marcjs has quit IRC
[03:33:12] *** ron1 has joined #angularjs
[03:33:15] *** marcjs has joined #angularjs
[03:33:21] *** bmac has joined #angularjs
[03:33:23] *** Fuzzier has quit IRC
[03:33:41] *** nya has quit IRC
[03:33:44] *** ome has joined #angularjs
[03:34:10] *** naneau has quit IRC
[03:35:13] *** annlewis has quit IRC
[03:35:19] *** tjsail33 has joined #angularjs
[03:36:21] <tjsail33> if i have an array of various objects, but all have a shared key like modifiedOn, can i use ng-repeat and group them by a filtered version of that date? like for a timeline.
[03:36:31] *** code-ninja{don} has joined #angularjs
[03:37:06] *** threesixes has joined #angularjs
[03:37:52] *** naneau has joined #angularjs
[03:38:01] *** snurfery has quit IRC
[03:38:06] *** Chubbs has joined #angularjs
[03:38:10] *** mmitchell has quit IRC
[03:38:30] <Grokling> tjsail33: Yes. Although, depending on how big your array is, you might be better to do that filtering somewhere other than in the view.
[03:38:36] *** danecando has joined #angularjs
[03:38:45] *** mdedetrich has joined #angularjs
[03:39:05] <tjsail33> yeah, i just want the view to be able to add items and such without needing to refresh the entire thing, if that makes sense
[03:39:16] *** code-ninja{don} has quit IRC
[03:39:20] *** Sontakey has quit IRC
[03:39:38] *** Fire-Dragon-DoL has quit IRC
[03:40:06] *** Anton_ has quit IRC
[03:40:52] <tjsail33> Grokling - how big do you consider too big? 50? 200? 1000?
[03:40:54] *** Anton_ has joined #angularjs
[03:41:15] *** dnull has joined #angularjs
[03:41:32] *** RedOrangeZ has quit IRC
[03:42:14] <Grokling> It depends on what else you have going on - you want to stay below 2000 watchers, and you want your rendering time not to be horrendous. Filtering is not too bad provided the filter function is minimal.
[03:42:26] *** prbc has joined #angularjs
[03:42:31] <Grokling> It will get run everytime a digest happens.
[03:42:45] *** m0t0r has quit IRC
[03:43:14] *** Nivag_ has quit IRC
[03:43:19] <tjsail33> Grokling - is there a way to count watchers? and my filter would just be groupBy:modifiedOn.format("mm/dd/yyy") and then a repeat of each
[03:43:22] *** prbc has quit IRC
[03:44:18] <Grokling> tjsail33: http://pastebin.com/iV5rCvgc
[03:44:31] *** naneau has quit IRC
[03:44:53] *** Nivag_ has joined #angularjs
[03:45:13] <tjsail33> Grokling - thats sweet, thanks
[03:45:14] *** aslate has joined #angularjs
[03:45:24] *** HoloIRCUser has joined #angularjs
[03:45:50] *** HoloIRCUser has quit IRC
[03:46:24] *** mary5030 has joined #angularjs
[03:47:23] *** prbc has joined #angularjs
[03:47:30] *** ccohn has quit IRC
[03:47:51] *** code-ninja{don} has joined #angularjs
[03:48:15] *** vassagus has quit IRC
[03:48:20] *** prbc has quit IRC
[03:49:04] *** warpx has joined #angularjs
[03:49:06] *** kirfu has joined #angularjs
[03:49:41] *** code-ninja{don} has quit IRC
[03:49:42] *** aslate has quit IRC
[03:49:46] *** threesixes has quit IRC
[03:50:35] *** vassagus has joined #angularjs
[03:50:36] *** dimetron has quit IRC
[03:52:21] *** kompressor has joined #angularjs
[03:53:28] *** thebigredgeek has quit IRC
[03:53:35] *** warpx has quit IRC
[03:53:45] *** prbc has joined #angularjs
[03:53:53] *** saint-ron has joined #angularjs
[03:54:32] *** code-ninja{don} has joined #angularjs
[03:55:01] *** teddyp1cker has joined #angularjs
[03:55:33] *** scythe__ has quit IRC
[03:55:48] *** code-ninja{don} has quit IRC
[03:56:00] *** prbc has quit IRC
[03:56:03] *** jeffisabelle has quit IRC
[03:56:23] *** scythe__ has joined #angularjs
[03:57:23] *** thepro4ever has joined #angularjs
[03:57:34] *** thepro4ever has left #angularjs
[03:57:47] *** macabre_ has joined #angularjs
[03:57:56] <tjsail33> Grokling - so i guess 2810 watchers is no good, huh
[03:58:12] *** macabre has quit IRC
[03:58:33] *** kakashiA1 has joined #angularjs
[03:58:42] *** prbc has joined #angularjs
[03:58:55] <Grokling> Yeah. That'll hurt if you try to use a mobile device. My Galaxy S4 gets noticeably cranky after 1800ish.
[03:59:09] *** vassagus has quit IRC
[03:59:13] <Grokling> tjsail33: !ngrepeatperf
[03:59:13] <UniBot1> tjsail33: Popular answers for ng-repeat performance are to use bindonce, and 'track by'. The number of angular watchers on your page is the killer usually. 2k watchers is the commonly accepted limit. Consider using ng-if or similar to remove non-vital bindings from your DOM.
[03:59:14] <UniBot> tjsail33: Popular answers for ng-repeat performance are to use bindonce, and 'track by'. The number of angular watchers on your page is the killer usually. 2k watchers is the commonly accepted limit. Consider using ng-if or similar to remove non-vital bindings from your DOM.
[03:59:35] *** prbc has quit IRC
[03:59:55] <tjsail33> alright, thanks
[04:00:01] *** teddyp1cker has quit IRC
[04:00:52] *** dhcar is now known as dhcar_AFK
[04:01:00] <tjsail33> its only on one page, when you scroll alllll the way down and load a lot of past data. but clearly i have some optimizing to dod
[04:01:08] *** shpoont has joined #angularjs
[04:01:22] *** recurrence has quit IRC
[04:01:39] *** kakashiAL has quit IRC
[04:01:55] *** prbc has joined #angularjs
[04:01:56] *** zz_night-owl is now known as night-owl
[04:01:58] *** shackleford has joined #angularjs
[04:02:13] *** bmac has quit IRC
[04:02:21] *** jrahmy has joined #angularjs
[04:02:29] *** Beg has joined #angularjs
[04:03:24] *** prbc has quit IRC
[04:03:32] *** Anonymous has quit IRC
[04:04:01] *** bmac has joined #angularjs
[04:04:21] <scythe__> !books
[04:04:27] <scythe__> !help
[04:04:27] <uru|away> scythe__: I am not a bot! (promise)
[04:04:27] <UniBot1> Issue commands by doing !command [arguments] [@nick], See http://unibot.jit.su/#/channel/526a2e9eb6230d1090000001 for the full list
[04:04:28] <UniBot> Issue commands by doing !command [arguments] [@nick], See http://unibot.jit.su/#/channel/526a2e9eb6230d1090000001 for the full list
[04:04:28] *** platonic has quit IRC
[04:04:38] *** prbc has joined #angularjs
[04:05:17] *** shpoont has quit IRC
[04:05:33] *** jrahmy_ has joined #angularjs
[04:05:48] *** tfennelly has joined #angularjs
[04:05:52] <Grokling> scythe__: !phonecat
[04:05:53] <UniBot1> scythe__: https://docs.angularjs.org/#!/tutorial
[04:05:53] <UniBot> scythe__: https://docs.angularjs.org/#!/tutorial
[04:06:00] *** jrahmy_ has quit IRC
[04:06:06] *** prbc has quit IRC
[04:07:00] *** shackleford has quit IRC
[04:07:32] <jonasliljestrand> i have an array binded to my scope in a controller, before i repopulate it I overwrite it with a new array "var nerds = []". The problem is when I add the new data I get duplicates
[04:08:30] *** kzoo has quit IRC
[04:09:21] *** wallerdev has quit IRC
[04:09:22] *** rburns has quit IRC
[04:09:26] *** guest509 has joined #angularjs
[04:09:33] *** prbc has joined #angularjs
[04:09:41] *** rburns has joined #angularjs
[04:09:43] *** threesixes has joined #angularjs
[04:10:41] *** tfennelly has quit IRC
[04:10:41] *** guest509 has quit IRC
[04:11:18] *** prbc has quit IRC
[04:12:52] *** Chubbs has quit IRC
[04:13:06] <scythe__> Grokling: Thanks, I followed through the whole tutorial but didn’t like it too much
[04:13:20] <scythe__> so looking more for a “bible” of sorts to definitively learn it
[04:13:34] <jaawerth> not just watches with ng-repeat, event listeners are also a big thing
[04:13:43] <jaawerth> as discussed earlier, watchers are only an issue when a digest is triggered
[04:13:52] <jaawerth> which can happen a lot, so it's not trivial, but still
[04:14:11] <jaawerth> things like ng-click can have a significant effect
[04:14:18] *** prbc has joined #angularjs
[04:14:35] <Grokling> scythe__: https://www.ng-book.com perhaps?
[04:14:51] *** elrabin has quit IRC
[04:14:51] <jaawerth> man everyone keeps talking about ng-book, I really want to see it
[04:15:00] *** nya has joined #angularjs
[04:15:02] <jaawerth> but I feel like I'm at the point in my angular development that it would be a waste of money for me
[04:15:23] <Grokling> I'm only talking about it because someone else talked about it. I've never seen it myself.
[04:15:24] *** muffin has quit IRC
[04:15:36] <jaawerth> the website is so fancy though
[04:15:41] <BahamutWC|Lapt-1> I haven’t read it, but I have read Mastering Web Application Development - that one is a phenomenal one
[04:15:46] *** snurfery has joined #angularjs
[04:15:49] *** BahamutWC|Lapt-1 is now known as BahamutWC|Laptop
[04:15:52] *** code-ninja{don} has joined #angularjs
[04:16:00] <Grokling> written in jQuery probably :-/
[04:16:12] <BahamutWC|Laptop> it was by Pawel and Pete of the Angular team
[04:16:24] *** recurrence has joined #angularjs
[04:16:34] *** jae has joined #angularjs
[04:16:34] *** code-ninja{don} has quit IRC
[04:16:59] *** davesidious__ has joined #angularjs
[04:17:00] *** code-ninja{don} has joined #angularjs
[04:17:25] <jaawerth> when I first learned, cranked through the O'Reilly book, which was alright
[04:17:33] <jaawerth> had some warts, but overall it helped for my learning style
[04:17:40] <jaawerth> which is, give me the key points and then let me code
[04:17:50] <jaawerth> (and learn through pain)
[04:18:32] <Grokling> After years of university, and shelves full of books, I have concluded that books don't fit my learning style. I haven't finished one yet.
[04:18:50] *** elrabin has joined #angularjs
[04:18:53] *** macabre_ has quit IRC
[04:19:08] *** prbc has quit IRC
[04:19:18] *** seriema has joined #angularjs
[04:20:12] <snurfery> sup yall
[04:20:26] *** dc has joined #angularjs
[04:20:31] <Grokling> sup snurfster..
[04:20:39] *** jae is now known as Jae
[04:20:56] *** davesidious_ has quit IRC
[04:21:22] <Grokling> If anyone knows how to make these error messages more useful, it'd be much appreciated.. Uncaught Error: [$injector:unpr] http://errors.angularjs.org/1.2.17/$injector/unpr?p0=aProvider%20%3C-%20a%20%3C-%20Context
[04:21:24] *** Hackwar has quit IRC
[04:21:24] *** mmealling has quit IRC
[04:21:33] *** dannyc has joined #angularjs
[04:21:42] *** rbueno has joined #angularjs
[04:21:50] *** code-ninja{don} has quit IRC
[04:21:56] *** moritzschaefer has joined #angularjs
[04:22:16] *** code-ninja{don} has joined #angularjs
[04:22:20] <elrabin> that's from minified code, right?
[04:22:21] *** threesixes has quit IRC
[04:23:17] <tjsail33> is there a good reason to use ng-show over ng-if?
[04:23:30] *** scythe__ has quit IRC
[04:23:47] *** seriema has quit IRC
[04:23:52] *** prbc has joined #angularjs
[04:23:56] *** code-ninja{don} has quit IRC
[04:24:31] *** Hackwar has joined #angularjs
[04:25:22] *** prbc has quit IRC
[04:25:25] *** moritzs has quit IRC
[04:25:36] <Grokling> ng-show leaves stuff in the DOM, but hidden. ng-if takes it out of the DOM completely.
[04:26:01] *** DanSkaggs has quit IRC
[04:26:09] <Grokling> hidden stuff is still bound and subject to digests.
[04:26:18] *** dannyc has quit IRC
[04:26:40] *** BobbieBarker_ has quit IRC
[04:26:44] *** adpirz has joined #angularjs
[04:26:56] <tjsail33> so ng-if is 100% better?
[04:27:32] *** dejanr has joined #angularjs
[04:27:33] <elrabin> i wouldn't say that - there's some additional overhead with ng-if if you show/hide content frquently
[04:27:34] <tjsail33> like i get the differences between the two, but what im trying to understand is why use ng-show when ng-if exists
[04:27:45] *** prbc has joined #angularjs
[04:27:47] <Grokling> ng-if can be slower if you need to turn on more stuff.
[04:27:51] *** TheAceOfHearts has quit IRC
[04:28:01] <Grokling> ng-show can make you slower over all if you have a bunch of stuff in the DOM.
[04:28:10] *** lemur has joined #angularjs
[04:28:41] *** prbc has quit IRC
[04:28:57] <Grokling> So, if you have a small number of bindings (<2000) ng-show is okay. If you have more than that, ng-if will help you cut back.
[04:29:03] *** livingstn has quit IRC
[04:29:23] *** mrwn has quit IRC
[04:29:45] <tjsail33> alright, thanks. i got my 2800 bindings down to 1600 using ng-if
[04:30:51] *** Fuzzy has joined #angularjs
[04:31:00] *** Trindaz has joined #angularjs
[04:31:02] *** prbc has joined #angularjs
[04:31:10] *** adpirz has quit IRC
[04:31:17] *** maikowblue has quit IRC
[04:31:20] <Trindaz> How can I evaluate the current time in an expression? ng-if="myValue < new Date()" failes
[04:31:34] *** code-ninja{don} has joined #angularjs
[04:31:59] *** prbc has quit IRC
[04:32:10] *** code-ninja{don} has quit IRC
[04:32:23] <tjsail33> Trindaz - filter would work, but doing it before rendering the view in a controller would be best probs
[04:32:27] *** jonr22 has joined #angularjs
[04:32:31] <Trindaz> ok thanks
[04:33:08] *** tfennelly has joined #angularjs
[04:33:10] *** code-ninja{don} has joined #angularjs
[04:33:41] *** code-ninja{don} has quit IRC
[04:34:26] *** prbc has joined #angularjs
[04:35:22] *** prbc has quit IRC
[04:36:00] *** thebigredgeek has joined #angularjs
[04:36:57] *** jonr22 has quit IRC
[04:37:17] *** tfennelly has quit IRC
[04:37:21] *** prbc has joined #angularjs
[04:37:45] *** SomeKittens has joined #angularjs
[04:37:56] *** dc has quit IRC
[04:38:10] *** grogs has quit IRC
[04:38:27] *** cthrax has quit IRC
[04:38:30] *** prbc has quit IRC
[04:38:51] *** mmitchell has joined #angularjs
[04:39:05] *** shinnya has joined #angularjs
[04:39:13] *** cthrax has joined #angularjs
[04:39:43] *** sk87 has joined #angularjs
[04:39:43] *** rburns has quit IRC
[04:39:50] *** Oddman has quit IRC
[04:40:17] *** rburns has joined #angularjs
[04:40:30] *** prbc has joined #angularjs
[04:42:21] *** tristanp has quit IRC
[04:43:02] *** tristanp has joined #angularjs
[04:43:30] *** teddyp1cker has joined #angularjs
[04:43:38] *** ccohn has joined #angularjs
[04:44:35] *** mmitchell has quit IRC
[04:45:52] *** annlewis has joined #angularjs
[04:46:20] *** prbc has quit IRC
[04:46:56] *** prbc has joined #angularjs
[04:47:32] *** Anton_ has quit IRC
[04:47:33] *** tristanp has quit IRC
[04:48:01] *** kompressor has quit IRC
[04:48:16] *** Anton_ has joined #angularjs
[04:48:58] *** bmac has quit IRC
[04:49:41] *** dhcar_AFK is now known as dhcar
[04:49:50] *** moritzschaefer has quit IRC
[04:50:18] *** annlewis has quit IRC
[04:50:19] *** prbc has quit IRC
[04:50:27] *** prbc has joined #angularjs
[04:50:50] *** dhcar is now known as dhcar_AFK
[04:51:05] *** axelav has joined #angularjs
[04:51:21] *** prbc has quit IRC
[04:51:51] *** danecando has quit IRC
[04:51:59] *** axelav has quit IRC
[04:54:28] *** bmac has joined #angularjs
[04:55:08] *** prbc has joined #angularjs
[04:55:22] *** mtho11 has quit IRC
[04:55:34] *** AngularUI has joined #angularjs
[04:55:34] <AngularUI> [ui-router] apetrosian opened pull request #1609: updated objectKeys iterator for consistency (master...master) http://git.io/oT1eyA
[04:55:35] *** AngularUI has left #angularjs
[04:56:42] *** mtho11 has joined #angularjs
[04:57:34] *** ProLoser has joined #angularjs
[04:57:44] *** danecando has joined #angularjs
[04:57:51] *** AngularUI has joined #angularjs
[04:57:51] <AngularUI> [ui-router] nateabele closed pull request #1609: updated objectKeys iterator for consistency (master...master) http://git.io/oT1eyA
[04:57:51] *** AngularUI has left #angularjs
[04:58:42] *** shinnya has quit IRC
[04:59:02] *** zanea is now known as zanea|away
[04:59:20] *** zivester has joined #angularjs
[05:00:03] *** jaydubya has quit IRC
[05:00:43] *** jaydubya has joined #angularjs
[05:01:01] *** jr3 has joined #angularjs
[05:01:11] *** bmac has quit IRC
[05:01:52] *** GreenJello has quit IRC
[05:01:54] *** ProLoser has quit IRC
[05:02:44] *** TeddyMurray has quit IRC
[05:02:49] *** AngularUI has joined #angularjs
[05:02:49] <AngularUI> [ui-router] nateabele reopened pull request #1609: updated objectKeys iterator for consistency (master...master) http://git.io/oT1eyA
[05:02:49] *** AngularUI has left #angularjs
[05:04:32] <Trindaz> It would be really nice if the root scope always had convenience members available like currentTime
[05:04:39] <Trindaz> that could easily be accessed
[05:05:09] <Grokling> Trindaz: You can put them there if you want them..
[05:05:22] *** jaydubya has quit IRC
[05:05:31] <Trindaz> Well, if I'm going to do that kind of housekeeping I might as well add it in the scope that needs access to it
[05:05:45] <Trindaz> it's just a pain to have to go to that trouble just because you want to use the current time in an angularjs expression
[05:05:58] *** thebigredgeek has quit IRC
[05:07:50] *** chrisshattuck has joined #angularjs
[05:08:04] *** kuadrosx has quit IRC
[05:08:58] *** prbc has quit IRC
[05:10:57] *** chrisbirk has quit IRC
[05:11:08] *** burzum2 has joined #angularjs
[05:11:14] *** sk87 has quit IRC
[05:11:15] *** patrick99e99 has joined #angularjs
[05:12:19] *** sk87 has joined #angularjs
[05:12:41] *** tristanp has joined #angularjs
[05:12:47] *** burzum has quit IRC
[05:13:44] *** chrisbirk has joined #angularjs
[05:16:02] *** prbc has joined #angularjs
[05:16:25] *** patrick99e99 has quit IRC
[05:16:44] *** AngularUI has joined #angularjs
[05:16:44] <AngularUI> [ui-router] nateabele closed pull request #1580: fix(ui-sref): fixes not working with ng-click (angular-touch) if used without jQuery #827 (master...patch-1) http://git.io/3ed6Xg
[05:16:45] *** AngularUI has left #angularjs
[05:17:10] *** ccohn has quit IRC
[05:17:58] *** mzabriskie has joined #angularjs
[05:18:47] *** DrJae has joined #angularjs
[05:19:16] *** Gue______ has joined #angularjs
[05:20:17] *** jsheely has joined #angularjs
[05:20:37] *** Milkweed has quit IRC
[05:20:40] *** Jae has quit IRC
[05:21:23] *** thebigredgeek has joined #angularjs
[05:21:43] *** ogdabou has joined #angularjs
[05:22:37] <jsheely> Decided to give ReactJS a try. Very much boggled how anyone uses this with no IDE support. Everyone just uses notepad with no syntax highlighting?
[05:22:50] <jsheely> My ass is sticking with angular. oi
[05:23:13] *** bmac has joined #angularjs
[05:24:30] *** snurfery has quit IRC
[05:27:07] *** prbc has quit IRC
[05:28:30] *** tristanp has quit IRC
[05:28:32] *** DrJae is now known as Jae
[05:28:36] *** Jae has joined #angularjs
[05:29:54] *** danecando has quit IRC
[05:30:12] *** {DV8} has joined #angularjs
[05:30:27] <jaawerth> I don't use an IDE
[05:30:30] <jaawerth> for web dev, anyway
[05:30:37] <jaawerth> Sublimetext or death!
[05:31:45] <jr3> webstorm
[05:33:35] <Grokling> I used webstorm for a while. It's downfall is the JVM thing that progressively eats all your RAM and then starts on swap overnight while you're not there. How it manages to turn 56MB of code into 5+GB of memory I will never know.
[05:33:54] *** lyanchih_ has quit IRC
[05:34:10] *** aslate has joined #angularjs
[05:34:22] *** sinequanon has joined #angularjs
[05:34:50] <jsheely> Grokling haha Agreed
[05:34:54] <jaawerth> I just found I really preferred Sublime for its speed and some of the editing features missing from Webstorm
[05:35:03] *** chrisshattuck has quit IRC
[05:35:05] <jsheely> I'm really not excited about using multiple IDE just for web dev
[05:35:14] *** gnrlbzik has joined #angularjs
[05:35:23] <jaawerth> and for JS/client-side web stuff, chrome dev tools already gives me a debugger and stuff for breakpoints and the like
[05:35:23] <jsheely> I need Visual Studio to write C# then I have to use WebStorm for javascript. Seems stupid
[05:35:40] <Grokling> sublime's tab snippets are the bomb.
[05:35:55] <jsheely> the JSX support for sublime kinda blows
[05:35:58] <jaawerth> yeah, there's that, vim node, the vastly superior multiple cursor support, the plugin system
[05:36:08] <jsheely> If you use code formatting plugins it wrecks it
[05:36:35] <Grokling> Granted, there are a few annoying things, like how quick find searches everywhere, and there's nothing you can do about it.
[05:36:37] *** jdivock has joined #angularjs
[05:36:50] *** ludkiller has quit IRC
[05:36:53] <jaawerth> huh?
[05:37:00] <davek_> Probaly because JSX is such a fad thing...
[05:37:02] <jaawerth> everywhere as opposed to?
[05:37:12] <jaawerth> yeah, JSX just hasn't picked up enough yet
[05:37:16] <jsheely> I dunno how anyone writes React components
[05:37:25] <davek_> With not-JSX?
[05:37:27] <jsheely> Seems frustratingly stupid
[05:37:27] *** jr3 has left #angularjs
[05:37:44] *** ludkiller has joined #angularjs
[05:37:54] *** warpx has joined #angularjs
[05:37:56] <jaawerth> you tried the jsx plugin already I assume?
[05:37:59] *** mdedetrich has quit IRC
[05:37:59] <jsheely> Feels like only super simple components are created because anything with more than 2 DIVS you'd want to shoot yourself in the face
[05:38:01] <jaawerth> also jsxhint?
[05:38:07] *** jrahmy has quit IRC
[05:38:21] *** noob_ has joined #angularjs
[05:38:28] <Grokling> jaawerth: Like I have a project folder - some of the stuff in there has been gulped/grunted, and I really don't want to be opening those files and editing them inadvertently.. cause that's going to get blown away next time gulp triggers. So, I don't want to look in those directories.
[05:38:30] *** jdivock has quit IRC
[05:38:38] <jaawerth> yeah, react seems pretty limited in some ways... I could see it being used as a component in a future awesome framework though, ala Knockout and Laravel
[05:38:40] <jaawerth> er
[05:38:43] <jaawerth> sorry, brain fart
[05:38:43] <jsheely> Yea I'm using the plugin. It's okay style wise. But has issues when you use other plugins such as prettify
[05:38:53] *** aslate has quit IRC
[05:38:57] <jaawerth> Durandel
[05:39:10] <jaawerth> oh yeah, prettify would totally break it
[05:39:19] <jaawerth> I would just configure that to turn off for jsx stuff
[05:39:22] *** Oka has quit IRC
[05:39:27] <jsheely> IBut I want to use it~
[05:39:30] <jaawerth> hehe
[05:39:33] <jaawerth> then write a better one!
[05:39:43] *** jdivock has joined #angularjs
[05:39:54] <jsheely> I don't write pretty code. Because i'm lazy and let the IDE fix it for me
[05:39:56] <davek_> jaawerth, ANGULAR 2.0?!
[05:39:59] <davek_> Lets hope not.
[05:40:12] <jaawerth> haha
[05:40:20] <jaawerth> Angular 2.0 will incorporate ALL FRAMEWORKS
[05:40:26] <jsheely> So yea I decided react is stupid
[05:40:40] <jaawerth> I really like the shadowDOM stuff conceptually
[05:40:48] *** recurrence has quit IRC
[05:41:06] <jsheely> ShadowDOM is awesome
[05:41:07] *** rburns has quit IRC
[05:41:17] *** rburns has joined #angularjs
[05:41:20] <jaawerth> that's one thing I wouldn't mind ANgular stealing
[05:41:39] <jaawerth> Heyyy Salesforce ended IE8 support! That is a great justification for me doing the same!
[05:41:48] <jsheely> They already did in Web Components
[05:41:56] *** bmac has quit IRC
[05:42:09] <jaawerth> well I mean... that's ES6 though
[05:42:23] <jaawerth> I thought react did a little more unique stuff with it
[05:42:37] *** larsam has joined #angularjs
[05:42:39] *** warpx has quit IRC
[05:42:39] <jsheely> Don't think so. Just using the same stuff that's available in the browser
[05:42:56] <jsheely> but what do I know. I'm joining the react haters club
[05:43:02] <jaawerth> yeah, I guess you're right
[05:43:27] *** jdivock has quit IRC
[05:43:38] *** BillCris_ has quit IRC
[05:43:49] *** sk87 has quit IRC
[05:44:23] <jaawerth> and really directives were just a way to achieve that before browsers supported it
[05:44:35] *** jdivock has joined #angularjs
[05:44:39] *** TeddyMurray has joined #angularjs
[05:44:40] <jaawerth> albeit a somewhat tortured way with a relatively high learning curve
[05:44:45] <jsheely> right
[05:45:32] <jsheely> Angular's easy to enter, hard to master curve is probably what made it #1
[05:46:09] <jaawerth> I also think it just managed to be first past the post in a number of ways
[05:46:23] <jaawerth> data binding, decent client-side templating, that kind of thing
[05:46:29] <jaawerth> don't get me wrong, I still prefer it to Ember and such
[05:47:47] <jsheely> That's what I mean. Building a simple app is crazy easy and you get a boat load of functionality. So it's easy to get started. Then when you start building complex things you start seeing all the difficult to master features of angular
[05:47:53] *** stephen has joined #angularjs
[05:48:26] <jaawerth> Oh for sure. But I just mean they were the first major framework to incorporate all the modern "web dev as application that runs in the browser rather than a web site with shiny things" stuff
[05:49:12] *** aurumzx has joined #angularjs
[05:49:46] *** shpoont has joined #angularjs
[05:49:52] <jsheely> I do kinda wish that HTML was a first class citizen in javascript
[05:50:02] <jsheely> So the concept of JSX is fairly sound
[05:50:34] <Marble68> Question - With ng-repeat, I’m doing a custom filer with a (k,v) as in ng-repeat=“(k,v) in items” - but I want to filter off key - not v - I have got my filter working and receiving v - but I’m unclear how to filter off the key
[05:50:44] <Marble68> is there a way to pass my key value to my filter function?
[05:51:29] *** thebigredgeek has quit IRC
[05:52:16] *** ogdabou has quit IRC
[05:52:26] *** Siecje has quit IRC
[05:53:06] *** one0one has joined #angularjs
[05:53:27] *** patrickarlt has joined #angularjs
[05:54:13] *** shpoont has quit IRC
[05:55:13] *** jdivock has quit IRC
[05:55:22] *** Z3R0 has joined #angularjs
[05:55:38] *** dseitz has joined #angularjs
[05:56:27] <BahamutWC> jsheely: well, Angular at the time it started getting popular was also the most performant framework after Backbone, (almost) everyone ended up hating backbone
[05:56:29] *** nya has quit IRC
[05:56:46] <jaawerth> hmm IIRC I don't think you CAN filter when ng-repeating an object
[05:56:52] <jaawerth> Marble68: ^
[05:56:55] <BahamutWC> jaawerth: you can
[05:56:59] <jaawerth> not with a "filter" filter anyway
[05:57:04] <jaawerth> oh, guess I'm wrong
[05:57:05] <BahamutWC> correct
[05:57:12] <jaawerth> haha
[05:57:12] <BahamutWC> the filter filter does not support objects
[05:57:15] <Marble68> i’ve created an app filter
[05:57:15] <jsheely> BahamutWC Yea pretty happy I never used backbone. I learned it but thought it was a pain so never used it in any projects
[05:57:16] <jaawerth> oh
[05:57:18] <Marble68> and it fires
[05:57:25] <jaawerth> it's a CUSTOM filter
[05:57:41] <Marble68> but I’m getting the value in a key, value pair - I want to filter based on the key
[05:57:43] <jaawerth> BahamutWC: yeah, that's what I thought
[05:57:49] <BahamutWC> Marble68: ng-repeat="(k, v) in items | foo: k"
[05:58:06] <BahamutWC> where .filter('foo', function () { return function (input, key) { ... }; });
[05:58:07] <Marble68> I thought I tried that, I’ll try again
[05:58:13] *** busticated has quit IRC
[05:58:46] <BahamutWC> jsheely: I've tried Backbone too, found it a huge pain
[05:58:47] *** sinequanon has quit IRC
[05:58:51] <jaawerth> yeah, whatever you pass in with the : comes in as the second param
[05:58:58] <BahamutWC> also in some ways, the full framework offers less than Angular
[05:59:02] <jaawerth> ala the example in the docs
[05:59:06] <BahamutWC> and is opinionated in ways I don't like
[05:59:17] <BahamutWC> for example I don't like the Backbone view layer
[05:59:37] <jaawerth> well, I found it to be very minimal, which explains why it offers less
[05:59:46] <jaawerth> it's a very "pick and choose your tools and do what you want"
[05:59:49] <BahamutWC> the fact that it is built in a way where you either keep the html in JS, or you use a build system to build the html in JS is bad
[06:00:00] <jaawerth> on the other end of the spectrum is Ember, which is "this is your entire toolkit, do everything our way"
[06:00:01] <BahamutWC> which is also my dislike of JSX
[06:00:10] *** MistahKurtz has joined #angularjs
[06:00:12] <jaawerth> whereas Angular kind of falls in the middle. that's my take on it, anyway
[06:00:14] <Marble68> BahamutWC: nope
[06:00:21] <Marble68> k is not passed
[06:00:27] <Marble68> I get the items
[06:00:46] <BahamutWC> Marble: did you do foo: k?
[06:00:54] <BahamutWC> the first argument of the function will be the input regardless
[06:00:58] <Marble68> in my .filter - I do a console.log of what is being passed - and and it’s undefined
[06:00:59] <BahamutWC> the second argument should be your key
[06:01:20] <Marble68> k
[06:01:28] <BahamutWC> if it doesn't work that way, I'd say that's an angular bug - would have to attempt to reproduce it first though
[06:01:38] *** frem__ has joined #angularjs
[06:02:05] *** jdivock has joined #angularjs
[06:02:57] *** TeddyMurray has quit IRC
[06:03:19] <Marble68> ng-repeat="(IDattendee,contact) in scanContacts | filterNoUnder: 'Dattendee” and in my filter function ‘function(items, field)’ if I do console.log field - I get undefined
[06:03:36] <Marble68> so - ok - might be a bug - let me see If I can do a fiddle or something
[06:04:16] <BahamutWC> Marble68: looks like you're correct
[06:04:25] *** patrickarlt has quit IRC
[06:04:32] <BahamutWC> http://plnkr.co/edit/D3EnGBxxLOjaFhZbJDT1?p=preview
[06:04:35] *** TeddyMurray has joined #angularjs
[06:04:48] *** frem has quit IRC
[06:04:48] *** frem_ is now known as frem
[06:04:50] *** larsam has quit IRC
[06:05:05] *** scythe__ has joined #angularjs
[06:05:25] *** Anton_ has quit IRC
[06:05:42] <jaawerth> ah okay, so yeah - no filters for objects
[06:06:17] *** Anton_ has joined #angularjs
[06:06:54] *** Shai-Tan has quit IRC
[06:07:22] <BahamutWC> Marble68: just for you :) https://github.com/angular/angular.js/issues/10333
[06:07:28] *** origin1tech has joined #angularjs
[06:07:34] <jaawerth> oh wait
[06:08:14] *** kzoo has joined #angularjs
[06:08:15] <jaawerth> yeah, just gives you the object itself
[06:08:22] <jaawerth> easy enough to work around though
[06:08:28] <Marble68> I was going to pass index maybe?
[06:08:34] <Marble68> $index
[06:08:36] <BahamutWC> $index is only for an array I believe
[06:08:40] <BahamutWC> (could be wrong)
[06:08:46] <Marble68> nope, doesn’t work
[06:08:46] *** iateadonut has quit IRC
[06:08:49] *** kevinxu has joined #angularjs
[06:08:51] <Marble68> I bet you’re right
[06:09:00] <jaawerth> write a filter that converts an object into an array
[06:09:13] *** kevinxu is now known as Guest78288
[06:09:29] <BahamutWC> I argue that you should only use ng-repeat only with arrays
[06:09:32] <jaawerth> an array of key-value pairs, basically
[06:09:54] <BahamutWC> angular doesn't seem to fully support using it with objects, so its best to adapt your model for repeating
[06:10:00] <jaawerth> ng-repeat="pair in (myObject|toArray)|someOtherFilter"
[06:10:13] <jaawerth> that'll adapt it on the fly
[06:10:17] *** nya has joined #angularjs
[06:10:32] <BahamutWC> better to preprocess it than put it in an expression IMO
[06:10:57] *** advy has joined #angularjs
[06:11:01] <Marble68> then just iterate over scope
[06:11:13] <jaawerth> depends on the use-case, but either way it isn't as bad as it looks - that conversion filter won't run for every iteration like the repeat filter will
[06:11:35] <jaawerth> like, if you need to keep the array version up-to-date as the object is changed, better to just take the filter approach
[06:11:35] *** rburns has quit IRC
[06:11:53] *** rburns has joined #angularjs
[06:11:54] <Marble68> ah - I think I see what you’re saying
[06:11:54] *** Sna4x8 has quit IRC
[06:12:08] <BahamutWC> nothing like seeing two checks eat up ~$5400 in one day :(
[06:12:33] *** dseitz has quit IRC
[06:12:35] *** ciwolsey has joined #angularjs
[06:12:38] *** snurfery has joined #angularjs
[06:13:06] *** Sna4x8 has joined #angularjs
[06:13:40] *** ccohn has joined #angularjs
[06:13:43] *** teddyp1cker has quit IRC
[06:14:57] *** teddyp1cker has joined #angularjs
[06:15:18] <jaawerth> yikes
[06:15:33] *** adpirz has joined #angularjs
[06:17:32] *** tyfighter has quit IRC
[06:17:32] *** lyanchih has joined #angularjs
[06:18:38] *** dseitz has joined #angularjs
[06:19:06] *** frem__ has quit IRC
[06:19:12] *** tyfighter has joined #angularjs
[06:19:54] *** mmitchell has joined #angularjs
[06:20:00] *** adpirz has quit IRC
[06:20:51] *** dsdeiz_ has joined #angularjs
[06:21:15] *** warpx has joined #angularjs
[06:21:16] <robdubya> i know those feels
[06:21:32] *** moogey has quit IRC
[06:21:37] *** jonr22 has joined #angularjs
[06:22:27] *** tyfighter has quit IRC
[06:22:51] *** mary5030 has quit IRC
[06:22:57] *** techsethi has joined #angularjs
[06:23:02] *** dsdeiz has quit IRC
[06:23:18] *** mary5030 has joined #angularjs
[06:23:20] <jaawerth> oh hey, I had a neat conversation that was probably up your alley with ProLoser earlier, about the idea of implementing namespaced watchers
[06:23:46] *** techsethi has quit IRC
[06:24:02] <jaawerth> I was looking into it because I could see them being potentially useful in ways that bindOnce isn't, and stumbled across this proposal he wrote (ultimately rejected in favor of bindOnce) https://github.com/angular/angular.js/issues/6354
[06:24:17] *** ron1 has quit IRC
[06:24:20] *** teddyp1cker has quit IRC
[06:24:43] <jaawerth> the interesting thing being that if you DID have namespaced watchers instead of bindOnce, you could just have any watcher with a nonexistent namespace (like, say, a blind namespace) be the equivalent of bindOnce anywaya
[06:24:44] *** Rebirth has joined #angularjs
[06:25:04] *** frickettz has joined #angularjs
[06:25:10] *** sinequanon has joined #angularjs
[06:25:34] <jaawerth> but that would let you do more with updating an app with realtime data and refresh the DOM without running a digest on the whole app
[06:25:36] *** mmitchell has quit IRC
[06:25:41] *** techsethi has joined #angularjs
[06:26:07] *** jonr22 has quit IRC
[06:26:10] *** warpx has quit IRC
[06:26:27] *** dnewkerk has quit IRC
[06:26:57] <Marble68> jaawerth: ok - I think I’ve go it - but the filter fires twice - any idea why? http://plnkr.co/edit/BV1L9nQRvAZnDgkn2ze1?p=preview
[06:27:02] <robdubya> yeah i vaguely remember that
[06:27:12] *** Z3R0 has quit IRC
[06:27:18] <jaawerth> Marble68: probably just dirty-checking
[06:27:38] <jaawerth> the digest will do that to make sure the data hasn't changed after its first run
[06:27:49] *** mary5030 has quit IRC
[06:27:53] *** Gue______ has quit IRC
[06:29:01] *** arussel has joined #angularjs
[06:29:14] <jaawerth> Marble68: have you saved/frozen that plunk? I'm still seeing the original
[06:29:25] <Marble68> ok - nope - 1s
[06:30:01] <Marble68> I hit fork - I hope I hope I didn’t edit the orig
[06:30:49] <Marble68> ok - it’s good
[06:30:52] <Marble68> you should see it now
[06:31:02] <robdubya> http://plnkr.co/edit/6vdIfJZf3vpi25vCturv?p=preview
[06:31:04] <robdubya> :p
[06:31:26] <arussel> I have a page with a survey, each question shows up at the bottom, after the previous one is answered, so I want the focus always at the bottom of the page. Is there a way to do this ?
[06:31:57] *** jaydubya has joined #angularjs
[06:32:03] <arussel> $anchorScroll does'nt seem to provide a scroll to bottom, an $window.scrollTo(0, document.body.scrollHeight); seemms to fire a bit to early
[06:32:50] <jaawerth> Marble68: yeah, I do. Don't worry, you can't edit the original even if you want to - you've got your own updated fork
[06:32:59] <Marble68> yepper
[06:33:21] <robdubya> imo you should mutate it before it hits the view/scope
[06:33:42] <jaawerth> robdubya: haha, we discussed that - it depends on your use-case
[06:33:56] *** TeddyMurray has quit IRC
[06:33:58] *** Guest_ has joined #angularjs
[06:34:02] <jaawerth> if you need to keep the array up-to-date as the object changes, you may as well just put it in a filter
[06:34:20] <robdubya> true
[06:35:27] *** aslate has joined #angularjs
[06:35:30] <BahamutWC> so I'm running into a crossroads - build a Ubuntu desktop or buy a iMac 5k retina
[06:36:05] <robdubya> retina
[06:36:08] <jaawerth> heh
[06:36:22] <Marble68> BahamutWC: Retina - you can always bootcamp it to Ubuntu
[06:36:24] <Marble68> :)
[06:36:28] <jaawerth> depends what you want to do with it
[06:36:37] <BahamutWC> eh, Apple stuff is tougher to get Linux on
[06:36:42] <Marble68> True
[06:37:04] <jaawerth> then again, you can run a ton of linux stuff in macos anyway
[06:37:07] <BahamutWC> so whatever I choose is to serve as a new dev box
[06:37:08] <robdubya> retina imac screen is ... breathtaking
[06:37:17] *** {DV8} has quit IRC
[06:37:42] <BahamutWC> pluses for iMac: can use Photoshop, can do iOS dev
[06:37:45] *** ludkiller has quit IRC
[06:37:48] <BahamutWC> screen is of course nice
[06:37:50] <jaawerth> for dev.. I just don't see the point of buying a mac when you can the same power for cheaper and the same type of dev environment (that, arguably, gives you mroe freedom) from linux
[06:38:03] <jaawerth> iOS dev is a huge plus
[06:38:09] <jaawerth> photoshop, I believe you can run in crossover
[06:38:10] <BahamutWC> minuses: OS X is not Linux, Ubuntu is Debian based so Aptitude
[06:38:14] *** ludkiller has joined #angularjs
[06:38:17] *** shpoont has joined #angularjs
[06:38:22] <robdubya> and you know, not having to fuck with it all the god damn time
[06:38:34] <jaawerth> personally I'd go with Mint, but just because I strongly prefer Cinnamon to what Ubuntu's doing on the desktop
[06:38:47] *** teddyp1cker has joined #angularjs
[06:39:04] <robdubya> http://quantum-os.github.io/ - relevant to today BahamutWC
[06:39:11] * jaawerth rebuilds robdubya's permissions
[06:39:14] <BahamutWC> haha
[06:39:21] *** knownasilya has quit IRC
[06:39:44] * robdubya recompiles a video card driver to watch netflix on jaawerth's linux box
[06:39:53] <BahamutWC> having a tough time deciding though :(
[06:40:03] <jaawerth> pfft, I haven't had to do that since like 2005
[06:40:06] *** scythe__ has quit IRC
[06:40:10] <BahamutWC> just built my second desk, so I'm close to ready to make a purchase
[06:40:29] <jaawerth> modern Ubuntu-based stuff is better at device detection than Windows
[06:40:39] <jaawerth> I haven't used Mac enough to have a basis of comparison on that end
[06:40:41] <robdubya> go look at the retina display @ the apple store
[06:40:42] *** chrisbirk has quit IRC
[06:40:50] <BahamutWC> that's probably what I'll do heh
[06:40:59] <jaawerth> the display is one thing I can't argue, I have no idea how the best non-apple displays compare
[06:41:02] <BahamutWC> I know I won't get as good of a display if I go with Ubuntu, which makes me sad
[06:41:17] <robdubya> my kingdom for a 4k+ apple display
[06:41:25] *** chrisbirk has joined #angularjs
[06:41:52] <BahamutWC> am annoyed that you can't upgrade the new iMacs past whatever you get at purchase
[06:41:53] *** rburns has quit IRC
[06:42:07] <jaawerth> I got a free mac mini. I need to find a charger for it - I want to use it for iOS dev
[06:42:08] *** leyluj has joined #angularjs
[06:42:17] *** rburns has joined #angularjs
[06:42:38] <robdubya> jaawerth they just use the standard 2 prong cable thing
[06:42:39] *** shpoont has quit IRC
[06:42:42] <jaawerth> and/or as a low-power media server kinda thing
[06:42:47] *** opiates has joined #angularjs
[06:42:54] <jaawerth> orly.. the power supply is bult in?
[06:42:59] <robdubya> yep
[06:43:03] <robdubya> well, the new ones
[06:43:09] <robdubya> post 2012 or w/e
[06:43:11] *** ASUchander1 has joined #angularjs
[06:43:15] *** techsethi has quit IRC
[06:43:18] <robdubya> w/ the black apple on top
[06:43:41] *** it0a has quit IRC
[06:43:44] *** ASUChander has quit IRC
[06:43:52] *** tyfighter has joined #angularjs
[06:44:16] <BahamutWC> now...if I were to buy a iMac, I could write that off for taxes right?
[06:44:27] <jaawerth> yeah, this is a 2010 one
[06:44:42] <robdubya> ah yeah they have a different power supply
[06:44:49] *** MistahKurtz has quit IRC
[06:45:31] *** aslate has quit IRC
[06:45:36] <robdubya> BahamutWC i dont think so unless its for a business thing. idunno
[06:45:49] <robdubya> ps i really want to write this new stuff in es6
[06:45:52] <robdubya> i'm not
[06:45:54] <robdubya> rightn ow
[06:45:56] <robdubya> but i want to :p
[06:45:59] <BahamutWC> haha
[06:46:06] <jaawerth> just do it
[06:46:15] <jaawerth> what could possibly go wrong?
[06:46:16] <BahamutWC> got too much to do to just do it now :P
[06:46:24] *** ProLoser has joined #angularjs
[06:46:50] <robdubya> i know i know
[06:46:52] *** WaSS has quit IRC
[06:47:04] *** ccohn has quit IRC
[06:47:13] *** jaydubya has quit IRC
[06:47:15] *** Trindaz has quit IRC
[06:47:23] <BahamutWC> bleh...that iMac would run me ~$3k
[06:47:54] *** danderson_ has joined #angularjs
[06:48:39] *** ASUchander1 has quit IRC
[06:48:46] *** tjsail33 has quit IRC
[06:49:12] *** shpoont has joined #angularjs
[06:49:25] *** lyanchih has quit IRC
[06:49:45] *** KanyeWest has joined #angularjs
[06:50:30] <davek_> Sooo anyone using node on the backend have 3rd-party auth working? I'm having trouble with the redirect.
[06:50:32] <davek_> Using passport.
[06:50:40] *** ASUchander1 has joined #angularjs
[06:51:09] *** ProLoser has quit IRC
[06:51:18] <jaawerth> I'm using it with LDAP, haven't done anything with OAUTH yet though
[06:51:49] *** zivester has quit IRC
[06:51:55] <jaawerth> (speaking of which, ldapjs is pretty powerful)
[06:51:59] *** nemothekid has joined #angularjs
[06:52:04] *** warpx has joined #angularjs
[06:52:17] *** VeeWee has joined #angularjs
[06:52:19] <davek_> Uhhh is the auth server supposed to spam you with responses?
[06:52:20] *** Raging_Hog has joined #angularjs
[06:53:17] <arussel> how do you keep the page scrolled to the bottom ?
[06:53:17] *** goodenough has joined #angularjs
[06:54:06] <jaawerth> alright, bed for me. night all
[06:54:13] *** shpoont has quit IRC
[06:54:34] *** andrew9183 has quit IRC
[06:55:04] *** ASUchander1 has quit IRC
[06:55:40] *** lyanchih_ has joined #angularjs
[06:56:44] *** woah has joined #angularjs
[06:57:13] *** ASUChander has joined #angularjs
[06:57:26] *** shpoont has joined #angularjs
[06:57:31] *** scythe__ has joined #angularjs
[06:57:49] *** danderson_ has quit IRC
[06:57:51] *** Raging_Hog has quit IRC
[06:58:07] *** lite has joined #angularjs
[06:59:59] *** motionman has joined #angularjs
[07:00:01] *** lite_ has joined #angularjs
[07:00:47] *** motionman has quit IRC
[07:01:01] *** larsam has joined #angularjs
[07:01:22] *** Sky[x] has quit IRC
[07:01:23] *** mzabriskie has quit IRC
[07:01:43] *** mzabriskie has joined #angularjs
[07:01:55] *** shpoont has quit IRC
[07:02:01] *** lilbaby has joined #angularjs
[07:02:07] *** Somatt_wrk has quit IRC
[07:02:16] *** d4rklit3 has quit IRC
[07:02:41] *** Somatt_wrk has joined #angularjs
[07:03:43] *** lite has quit IRC
[07:04:09] <robdubya> davek_ it sucks!
[07:04:10] <robdubya> yay!
[07:04:37] *** deanclkclk has quit IRC
[07:04:42] *** oste has quit IRC
[07:04:42] *** ASUChander has quit IRC
[07:04:44] *** map7 has quit IRC
[07:05:21] *** deanclkclk has joined #angularjs
[07:06:06] *** ASUChander has joined #angularjs
[07:06:08] *** lite has joined #angularjs
[07:06:10] *** lite_ has quit IRC
[07:07:43] *** cthrax has quit IRC
[07:08:33] *** tyfighter has quit IRC
[07:10:09] *** BobbieBarker_ has joined #angularjs
[07:10:15] <BobbieBarker_> why is it any time I use an animatino lib in angularJS everything ends up looking janky as fuck
[07:11:12] *** Sontakey has joined #angularjs
[07:11:57] *** deanclkclk has quit IRC
[07:12:19] *** patrick99e99 has joined #angularjs
[07:12:20] *** rburns has quit IRC
[07:12:52] *** rburns has joined #angularjs
[07:13:34] *** Anton_ has quit IRC
[07:13:42] *** ASUChander has quit IRC
[07:13:56] <BahamutWC> BobbieBarker_: performance issues?
[07:14:00] <BahamutWC> or could just be ngAnimate
[07:14:02] *** Jae has quit IRC
[07:14:26] *** ASUChander has joined #angularjs
[07:14:31] *** Anton_ has joined #angularjs
[07:15:57] *** prbc has joined #angularjs
[07:17:13] *** patrick99e99 has quit IRC
[07:17:14] *** jae has joined #angularjs
[07:17:25] *** mzabriskie has quit IRC
[07:17:58] *** jae is now known as Jae
[07:18:26] *** teddyp1cker has quit IRC
[07:18:47] *** robksawyer has joined #angularjs
[07:19:26] *** thebigredgeek has joined #angularjs
[07:19:50] *** Guest_ has quit IRC
[07:19:54] *** gnrlbzik has quit IRC
[07:19:59] *** markalanevans has joined #angularjs
[07:20:32] *** thebigredgeek has quit IRC
[07:20:49] *** prbc has quit IRC
[07:20:53] *** tfennelly has joined #angularjs
[07:21:36] *** dman777 has quit IRC
[07:21:43] *** mmitchell has joined #angularjs
[07:22:04] *** jdivock has quit IRC
[07:22:23] *** dman777 has joined #angularjs
[07:23:17] *** leyluj_ has joined #angularjs
[07:24:02] *** jdivock has joined #angularjs
[07:24:28] *** scythe__ has quit IRC
[07:24:49] *** jdivock has quit IRC
[07:25:28] *** jdivock has joined #angularjs
[07:25:46] *** tfennelly has quit IRC
[07:26:38] *** leyluj has quit IRC
[07:27:04] *** lilbaby has quit IRC
[07:27:05] *** jdivock has joined #angularjs
[07:28:05] *** mmitchell has quit IRC
[07:28:13] *** techsethi has joined #angularjs
[07:28:24] *** SockSorc1rer has quit IRC
[07:28:57] *** SockSorcerer has joined #angularjs
[07:31:44] *** ome has quit IRC
[07:32:13] *** bayousoft has quit IRC
[07:32:25] *** TheAceOfHearts has joined #angularjs
[07:33:13] *** KanyeWest has quit IRC
[07:34:04] *** mary5030 has joined #angularjs
[07:35:43] *** phzon has joined #angularjs
[07:36:32] *** techsethi has quit IRC
[07:36:45] *** hotchkin has joined #angularjs
[07:37:21] *** cornerma1 has joined #angularjs
[07:38:21] <davek_> Foxandxss, you present?
[07:38:37] *** mary5030 has quit IRC
[07:38:38] *** tyfighter has joined #angularjs
[07:39:04] *** emmesswhy has joined #angularjs
[07:40:13] *** phzon has quit IRC
[07:40:32] *** cornerman has quit IRC
[07:40:39] *** cornerma1 is now known as cornerman
[07:41:22] *** one0one has quit IRC
[07:41:33] *** e0ipso|away is now known as e0ipso
[07:43:18] *** Lingos has joined #angularjs
[07:43:41] *** ccohn has joined #angularjs
[07:43:46] *** BobbieBarker_ has quit IRC
[07:45:12] *** sk87 has joined #angularjs
[07:46:41] *** aslate has joined #angularjs
[07:47:39] *** ggrzybek has joined #angularjs
[07:47:53] *** kirfu has quit IRC
[07:48:16] <Marble68> If I have a list of items, and I have a delete button - I am able to remove it from scope, but the template doesn’t reflect it - do I just redraw the template or is there an elegant way to remove it from the view?
[07:50:34] *** nodedfree_ has quit IRC
[07:50:36] *** Lingos has quit IRC
[07:51:09] *** motionman has joined #angularjs
[07:52:17] *** sinequanon has quit IRC
[07:52:41] <davek_> Marble68, if it is in an ng-repeat it should be removed automatically.
[07:52:46] *** soee has joined #angularjs
[07:52:54] <Marble68> k
[07:53:02] <Marble68> I guess I’m doing it wrong
[07:53:05] <Marble68> I’ll keep at it
[07:53:13] *** sinequanon has joined #angularjs
[07:53:30] *** JohnBat26 has joined #angularjs
[07:53:53] <davek_> Make sure that you're modifying the array within angular's digest cycle. Use $scope.$apply appropriately.
[07:54:14] *** gunn has quit IRC
[07:54:30] *** jdivock_ has joined #angularjs
[07:54:47] *** technickul has quit IRC
[07:55:03] <Marble68> k - thanks!
[07:55:04] *** jdivock has quit IRC
[07:55:05] *** uniquerockrz has joined #angularjs
[07:55:26] *** cacts has quit IRC
[07:56:03] *** uniquerockrz__ has joined #angularjs
[07:56:12] *** uniquerockrz has quit IRC
[07:57:02] *** aslate has quit IRC
[07:57:10] *** shpoont has joined #angularjs
[07:57:23] *** Lingos has joined #angularjs
[07:57:27] <Marble68> so I’m using a nested k/v pair and I’m trying to delete
[07:57:39] *** bahoo has joined #angularjs
[07:57:49] *** caitp- has quit IRC
[07:57:49] <Marble68> I don’t think it’s going to work with regular ion-delete-button & index
[07:57:54] *** gunn has joined #angularjs
[07:57:57] *** ProLoser has joined #angularjs
[07:58:04] *** caitp- has joined #angularjs
[07:58:39] <Marble68> I want to do it as an option button so the you can slide the item and select an action
[07:59:08] *** dannyc has joined #angularjs
[08:00:00] *** frkout_ has joined #angularjs
[08:00:01] *** charuru has quit IRC
[08:00:34] <Marble68> hrm.. $apply already in progress
[08:01:30] *** dnull has quit IRC
[08:01:46] *** shpoont has quit IRC
[08:03:08] *** frkout has quit IRC
[08:03:39] *** dannyc has quit IRC
[08:04:29] *** adpirz has joined #angularjs
[08:06:00] *** gnrlbzik has joined #angularjs
[08:08:52] *** tyfighter has quit IRC
[08:09:04] *** sybarite has joined #angularjs
[08:09:12] *** adpirz has quit IRC
[08:09:17] *** woah has quit IRC
[08:10:28] *** jonr22 has joined #angularjs
[08:12:33] *** dseitz has left #angularjs
[08:12:44] *** D9 has quit IRC
[08:13:15] *** nodedfree has joined #angularjs
[08:13:45] *** rburns has quit IRC
[08:14:01] *** rburns has joined #angularjs
[08:14:36] *** leyluj has joined #angularjs
[08:14:51] *** serengeor has joined #angularjs
[08:15:01] *** Anton_ has quit IRC
[08:15:27] *** jonr22 has quit IRC
[08:15:29] *** Anton_ has joined #angularjs
[08:15:40] *** Lingos has quit IRC
[08:15:57] *** mssb has joined #angularjs
[08:16:10] *** gunn has quit IRC
[08:16:40] *** prbc has joined #angularjs
[08:16:44] *** sk87 has quit IRC
[08:17:10] *** metasansana has quit IRC
[08:17:18] *** ccohn has quit IRC
[08:17:26] *** leyluj_ has quit IRC
[08:17:29] *** ciwolsey has quit IRC
[08:17:56] *** mssb has left #angularjs
[08:18:01] *** Jihun has joined #angularjs
[08:18:04] <Jihun> hi
[08:18:08] <Jihun> everyone
[08:18:48] *** uru|away is now known as uru
[08:20:19] *** uniquerockrz__ has quit IRC
[08:20:21] *** bahoo has quit IRC
[08:20:38] *** frem_ has joined #angularjs
[08:21:26] *** prbc has quit IRC
[08:21:30] *** MJD_ has joined #angularjs
[08:21:49] *** gnrlbzik has quit IRC
[08:22:33] *** jdivock_ has quit IRC
[08:23:05] *** jdivock has joined #angularjs
[08:23:07] *** coderat has joined #angularjs
[08:23:13] *** MJD has quit IRC
[08:23:33] *** shpoont has joined #angularjs
[08:24:08] *** Sontakey has quit IRC
[08:24:17] *** Sontakey has joined #angularjs
[08:24:27] *** Sontakey has quit IRC
[08:25:09] *** frem_ has quit IRC
[08:25:55] *** SargoDarya has quit IRC
[08:26:23] *** SargoDarya has joined #angularjs
[08:26:45] *** dejanr has quit IRC
[08:27:34] *** Sontakey has joined #angularjs
[08:28:34] *** shpoont has quit IRC
[08:29:59] *** jaydubya has joined #angularjs
[08:30:41] *** jdivock has quit IRC
[08:31:20] *** jdivock has joined #angularjs
[08:32:33] *** Christer has joined #angularjs
[08:32:49] *** tfennelly has joined #angularjs
[08:34:04] *** jdivock has joined #angularjs
[08:35:32] *** jaydubya has quit IRC
[08:38:09] *** mtsr has joined #angularjs
[08:39:24] *** coderat has quit IRC
[08:39:30] *** busticated has joined #angularjs
[08:40:16] *** frkout_ has quit IRC
[08:40:42] *** frkout has joined #angularjs
[08:41:36] *** dejanr has joined #angularjs
[08:42:43] *** sheplu has quit IRC
[08:43:42] *** narutimateum has joined #angularjs
[08:43:42] *** jacuqesdancona_ has joined #angularjs
[08:44:19] *** balr0g has quit IRC
[08:44:25] *** Sky[x] has joined #angularjs
[08:44:25] *** wri has joined #angularjs
[08:45:10] <narutimateum> anyone here use phpstorm?.. i have problem with tabs... when i cut paste copy ... it copies those tabs too and messes the codes
[08:45:23] *** moloch is now known as zly
[08:45:25] *** TyrfingMjolnir has joined #angularjs
[08:45:34] *** zly has quit IRC
[08:45:34] *** zly has joined #angularjs
[08:46:17] *** hhhsss has joined #angularjs
[08:46:57] *** rchavik has quit IRC
[08:47:29] *** Ajans has joined #angularjs
[08:47:39] *** motionman has quit IRC
[08:48:08] *** ome has joined #angularjs
[08:49:11] *** mtsr has quit IRC
[08:49:21] *** rbueno has quit IRC
[08:49:30] *** ycodr has quit IRC
[08:49:50] *** ycodr has joined #angularjs
[08:51:06] *** ycodr has quit IRC
[08:51:19] *** leyluj_ has joined #angularjs
[08:51:35] *** caitp- has quit IRC
[08:51:36] *** mtsr has joined #angularjs
[08:52:38] *** leyluj has quit IRC
[08:53:32] *** ycodr has joined #angularjs
[08:53:41] *** nfroidure has joined #angularjs
[08:54:03] *** wri has left #angularjs
[08:54:58] *** tarnus has quit IRC
[08:55:44] *** markalanevans has quit IRC
[08:57:30] *** mkusher has joined #angularjs
[08:57:33] *** xaaabk has joined #angularjs
[08:58:12] *** mtsr has quit IRC
[08:58:59] *** leyluj has joined #angularjs
[08:58:59] *** rchavik has joined #angularjs
[08:59:12] *** mtsr has joined #angularjs
[08:59:44] *** leyluj_ has quit IRC
[09:00:33] *** jaydubya has joined #angularjs
[09:01:01] *** xaaabk has joined #angularjs
[09:01:50] *** mtsr has quit IRC
[09:02:00] *** doerteDev has joined #angularjs
[09:02:23] *** blomman has joined #angularjs
[09:02:30] <doerteDev> hey there. Can ngMessage in 1.3.x be used for, say, displaying messages based on service states?
[09:02:54] *** ycodr has quit IRC
[09:03:11] <doerteDev> or asked differently: How can the ng-messages attribute be tought to listen to a service var?
[09:03:43] *** mtsr has joined #angularjs
[09:03:50] *** xaaabk has joined #angularjs
[09:04:02] *** blomman has quit IRC
[09:04:11] *** jdj_dk has joined #angularjs
[09:04:25] *** jaydubya has quit IRC
[09:04:44] *** ycodr has joined #angularjs
[09:04:49] *** jaydubya has joined #angularjs
[09:05:52] *** cojack has joined #angularjs
[09:06:12] *** Christer has quit IRC
[09:07:49] *** aslate has joined #angularjs
[09:09:01] *** jaydubya_ has joined #angularjs
[09:09:26] *** tschundeee has joined #angularjs
[09:09:29] *** JosephSilber has quit IRC
[09:09:42] *** jaydubya has quit IRC
[09:09:49] *** JosephSilber has joined #angularjs
[09:10:17] *** leyluj has quit IRC
[09:10:30] *** chrisbirk has quit IRC
[09:10:32] *** leyluj has joined #angularjs
[09:10:45] *** codeman has joined #angularjs
[09:11:18] <glontu> hi
[09:11:38] *** OnkelTem has quit IRC
[09:11:52] *** instence has joined #angularjs
[09:12:04] *** aslate has quit IRC
[09:12:06] *** coderat has joined #angularjs
[09:12:23] *** mmitchell has joined #angularjs
[09:12:33] *** blomman has joined #angularjs
[09:12:40] *** opiates has quit IRC
[09:12:53] <glontu> i have this table of events and they have dates. I am outputing the table rows inside an ng-repeat. I want to ouptut a special header row showing the new date when the current event day is different than the previous event day and then the normal row showing the event date. just like here: http://www.infp.ro
[09:12:58] *** patrick99e99 has joined #angularjs
[09:12:59] <glontu> is this possible with angular ?
[09:13:00] *** sinequanon has quit IRC
[09:13:05] *** jaydubya_ has quit IRC
[09:13:25] *** threesixes has joined #angularjs
[09:13:32] *** jaydubya has joined #angularjs
[09:13:41] *** instence_ has quit IRC
[09:13:43] *** OnkelTem has joined #angularjs
[09:13:44] *** ccohn has joined #angularjs
[09:13:56] <doerteDev> glontu: inside the loop, set a var, and before updating it compare the value?
[09:14:03] <doerteDev> I mean, it's just a loop right?
[09:14:35] <glontu> doerteDev, but my ng-repeat is on the <tr> tag. how do i output a sibling tr from there ?
[09:14:35] *** rburns has quit IRC
[09:15:12] <glontu> can i make an ng-repeat that dosn't output a tag ?
[09:15:14] *** rburns has joined #angularjs
[09:15:30] <glontu> and contains the logic for outputing 1 tr or 2 ?
[09:15:37] <doerteDev> hmm my angular skills just left me sry
[09:15:48] <doerteDev> just starting out with ng
[09:15:48] *** shpoont has joined #angularjs
[09:15:51] *** lilbaby has joined #angularjs
[09:17:08] *** mmitchell has quit IRC
[09:17:37] *** koleS has joined #angularjs
[09:17:43] *** patrick99e99 has quit IRC
[09:17:52] *** jaydubya_ has joined #angularjs
[09:17:59] *** jaydubya has quit IRC
[09:18:47] *** ali_ has joined #angularjs
[09:18:53] *** ali__ has joined #angularjs
[09:19:11] *** sinequanon has joined #angularjs
[09:19:13] *** tangorri has joined #angularjs
[09:19:21] *** laurensclaessen has joined #angularjs
[09:19:21] *** teddyp1cker has joined #angularjs
[09:19:58] *** Lingo_ has joined #angularjs
[09:20:17] *** shpoont has quit IRC
[09:20:37] *** lilbaby has quit IRC
[09:21:22] *** krad has joined #angularjs
[09:21:34] *** Lingo_ is now known as pknordic
[09:22:01] <doerteDev> hmm
[09:22:05] *** frem_ has joined #angularjs
[09:22:07] *** jaydubya_ has quit IRC
[09:22:14] *** devhoag has joined #angularjs
[09:22:23] <doerteDev> re
[09:22:24] *** jaydubya has joined #angularjs
[09:22:36] *** DoubleAW has joined #angularjs
[09:22:37] *** gnrlbzik has joined #angularjs
[09:23:00] *** Grumelo has joined #angularjs
[09:23:10] *** ycodr has quit IRC
[09:23:41] *** ycodr has joined #angularjs
[09:23:53] *** MetaCosm__ has joined #angularjs
[09:24:13] *** tommix000 has joined #angularjs
[09:24:14] *** teddyp1cker has quit IRC
[09:24:14] <krad> how to make angularjs read from a file
[09:24:24] <krad> i mean at compile time
[09:24:32] <pknordic> $http doesn't send request to external API when called from iPhone via Xcode, but works when tested in browser locally. Am I missing something obvious? I have control over the external API etc.
[09:24:41] *** AWAW has quit IRC
[09:24:47] *** Slim has quit IRC
[09:24:55] *** Slim has joined #angularjs
[09:24:57] *** dsdeiz_ has quit IRC
[09:25:13] *** mchammer has joined #angularjs
[09:26:21] *** dan2k3k4 has joined #angularjs
[09:26:34] *** jaydubya_ has joined #angularjs
[09:26:37] *** frem_ has quit IRC
[09:27:10] *** josh-k has joined #angularjs
[09:27:15] *** gnrlbzik has quit IRC
[09:27:16] *** MetaCosm_ has quit IRC
[09:27:21] *** jaydubya has quit IRC
[09:27:27] *** laurensclaessen has quit IRC
[09:27:33] *** dra has quit IRC
[09:28:17] *** grogs has joined #angularjs
[09:28:20] *** dra_ has joined #angularjs
[09:28:33] *** laurensclaessen has joined #angularjs
[09:28:39] *** nya has quit IRC
[09:28:56] *** jagga has joined #angularjs
[09:29:04] *** dsdeiz has joined #angularjs
[09:29:10] <Inge-> caching issue?
[09:30:37] <pknordic> Hmm, that could be the case. I'll try ?cache=blabla and see what happens :)
[09:30:48] *** jaydubya has joined #angularjs
[09:30:49] *** Evanion has joined #angularjs
[09:30:54] *** phzon has joined #angularjs
[09:31:00] *** jaydubya_ has quit IRC
[09:31:03] *** shpoont has joined #angularjs
[09:31:43] *** tomengland_mbp has joined #angularjs
[09:31:47] *** SockSorcerer has quit IRC
[09:31:54] *** SockSorcerer has joined #angularjs
[09:31:57] *** sinequanon has quit IRC
[09:32:15] *** SargoDarya has quit IRC
[09:32:35] *** robksawyer has quit IRC
[09:32:57] *** dan2k3k4 has quit IRC
[09:33:05] *** mtsr has quit IRC
[09:33:19] *** motionman has joined #angularjs
[09:33:46] *** dan2k3k4 has joined #angularjs
[09:33:58] *** ogdabou has joined #angularjs
[09:34:00] *** m_e has joined #angularjs
[09:34:01] *** hotchkin has quit IRC
[09:34:21] *** dan2k3k4 has quit IRC
[09:34:52] *** jaydubya_ has joined #angularjs
[09:35:14] *** AciD`` has joined #angularjs
[09:35:19] *** jaydubya has quit IRC
[09:35:23] *** busticated has quit IRC
[09:36:36] *** dan2k3k4 has joined #angularjs
[09:36:44] *** segobia has joined #angularjs
[09:36:53] *** Sontakey has quit IRC
[09:37:00] <pknordic> Hm, no go. Probably not caching
[09:37:31] *** mtsr has joined #angularjs
[09:38:04] *** leyluj has quit IRC
[09:38:36] *** beilabs has joined #angularjs
[09:38:41] *** leyluj has joined #angularjs
[09:38:53] *** jaydubya_ has quit IRC
[09:39:01] *** jaydubya has joined #angularjs
[09:39:42] *** opiates has joined #angularjs
[09:41:05] *** emps is now known as _emps
[09:41:29] *** MaxV has joined #angularjs
[09:42:09] *** sheplu has joined #angularjs
[09:42:29] *** codeman has quit IRC
[09:43:14] *** davek_ has quit IRC
[09:43:28] *** jaydubya_ has joined #angularjs
[09:43:44] *** jaydubya has quit IRC
[09:45:13] *** dannyc has joined #angularjs
[09:45:19] *** Sontakey has joined #angularjs
[09:45:36] *** rburns has quit IRC
[09:45:40] *** koleS has quit IRC
[09:46:18] *** rburns has joined #angularjs
[09:46:34] *** jlebrech has joined #angularjs
[09:46:37] *** grogs has quit IRC
[09:46:54] *** ccohn has quit IRC
[09:46:55] <beilabs> Hi everyone. Banging my head off a table here: https://gist.github.com/vayu-technology/9e61540abebfbde5fd6a Trying to get the product variable populated but it keeps showing up empty in the view. Anything jumping out at anyone?
[09:47:25] *** hhhsss has quit IRC
[09:47:45] *** jaydubya has joined #angularjs
[09:47:56] *** jaydubya_ has quit IRC
[09:48:10] *** codeman has joined #angularjs
[09:48:31] *** codeman has quit IRC
[09:48:58] <wa5ted> beilabs: isnt it 'banging my head on the table'
[09:49:57] *** dannyc has quit IRC
[09:50:53] *** Sontakey has joined #angularjs
[09:51:00] *** diegoaguilar has joined #angularjs
[09:51:04] *** nya has joined #angularjs
[09:51:16] <beilabs> wa5ted, well, can be both.
[09:51:19] <krad> hi guys. where do you put your angular configs like if you wanna make a debug/release build etc. where do these go
[09:51:38] *** Christer has joined #angularjs
[09:51:45] *** jaydubya has quit IRC
[09:51:51] <wa5ted> beilabs: one would happen after the other, just depends on if you beleive what came first: the hen or the egg
[09:52:09] *** jaydubya has joined #angularjs
[09:52:43] *** night-owl is now known as zz_night-owl
[09:52:59] *** mtsr has quit IRC
[09:53:41] *** adpirz has joined #angularjs
[09:53:45] *** guilbep has joined #angularjs
[09:54:31] *** intellix has joined #angularjs
[09:54:41] *** SargoDarya has joined #angularjs
[09:55:10] *** frickettz has quit IRC
[09:55:38] *** basiclaser_ has joined #angularjs
[09:56:23] *** jaydubya_ has joined #angularjs
[09:56:26] *** jaydubya has quit IRC
[09:56:42] *** StryKaizer has joined #angularjs
[09:56:48] *** fbenoit has joined #angularjs
[09:56:58] *** jdivock has quit IRC
[09:57:07] <doerteDev> is angularAMD still a thing? or what's the state of the art thing for bootstrapping ng + require?
[09:58:19] *** adpirz has quit IRC
[09:59:20] *** sandelius has joined #angularjs
[09:59:24] *** lyanchih_ has quit IRC
[09:59:48] *** jonr22 has joined #angularjs
[10:00:11] *** techsethi has joined #angularjs
[10:00:31] *** jaydubya has joined #angularjs
[10:00:40] *** jaydubya_ has quit IRC
[10:01:52] *** fbenoit_ has joined #angularjs
[10:02:05] *** sk87 has joined #angularjs
[10:03:08] *** fbenoit has quit IRC
[10:03:25] *** sahbeewah has joined #angularjs
[10:04:27] *** Solid1_afk is now known as Solid1
[10:04:33] *** jaydubya_ has joined #angularjs
[10:04:40] *** jaydubya has quit IRC
[10:04:50] *** jonr22 has quit IRC
[10:04:57] *** AWAW has joined #angularjs
[10:05:26] *** prbc has joined #angularjs
[10:05:37] *** Jae has quit IRC
[10:05:51] *** bb6xt has joined #angularjs
[10:06:42] <stephen> beilabs, I don't see anywhere you've used ng-controller... or the directive syntax
[10:06:44] *** lyanchih has joined #angularjs
[10:07:39] *** Arf has joined #angularjs
[10:07:46] <beilabs> stephen, was just a slice of the whole controller; other controllers work fine with factories as expected.
[10:07:53] <beilabs> think i've solved it though.
[10:08:04] <stephen> k
[10:08:07] *** DoubleAW has quit IRC
[10:08:15] *** deanclkclk has joined #angularjs
[10:08:38] *** saint-ron has quit IRC
[10:08:51] *** sahbeewah has quit IRC
[10:08:52] *** jaydubya has joined #angularjs
[10:08:59] *** jaydubya_ has quit IRC
[10:09:21] *** sandelius has quit IRC
[10:09:49] *** prbc has quit IRC
[10:10:34] *** AlSquirrel has joined #angularjs
[10:11:15] <m_e> ok... this is strange. i am getting "Syntax Error: Token ',' is an unexpected token at column 3 of the expression [40,100,80,15,25,60,10] starting at [,100,80,15,25,60,10]."
[10:11:25] *** lyanchih has quit IRC
[10:11:26] <m_e> when trying to use this code: "$scope.myData = [10, 20, 30, 40, 60];"
[10:12:15] *** shpoont has quit IRC
[10:12:27] *** nothingpt has joined #angularjs
[10:12:30] *** Evanion has quit IRC
[10:12:43] *** deanclkclk has quit IRC
[10:12:45] *** jdivock has joined #angularjs
[10:12:48] <nothingpt> hello
[10:12:51] *** tomengland_mbp has quit IRC
[10:13:11] *** jaydubya_ has joined #angularjs
[10:13:31] *** jaydubya has quit IRC
[10:13:45] *** mmitchell has joined #angularjs
[10:16:03] *** DarrenCraig has joined #angularjs
[10:16:44] *** tschundeee has quit IRC
[10:16:45] *** rburns has quit IRC
[10:16:54] *** rburns has joined #angularjs
[10:16:57] *** Luser has joined #angularjs
[10:17:14] *** jaydubya has joined #angularjs
[10:17:20] *** tschundeee has joined #angularjs
[10:18:03] *** jaydubya_ has quit IRC
[10:18:07] *** jdivock has quit IRC
[10:19:14] *** mmitchell has quit IRC
[10:19:29] *** dexteryy has joined #angularjs
[10:19:44] *** e0ipso is now known as e0ipso|away
[10:20:11] *** dexteryy has quit IRC
[10:20:49] *** josh-k has quit IRC
[10:21:07] *** laurensclaessen has quit IRC
[10:21:09] *** dexteryy has joined #angularjs
[10:21:19] *** josh-k has joined #angularjs
[10:21:24] *** jaydubya_ has joined #angularjs
[10:21:52] *** dexteryy has quit IRC
[10:22:02] *** jaydubya has quit IRC
[10:22:38] *** adben has joined #angularjs
[10:22:44] *** dexteryy has joined #angularjs
[10:23:25] *** Oxynum has joined #angularjs
[10:23:26] *** gnrlbzik has joined #angularjs
[10:23:50] *** PeterMetz has joined #angularjs
[10:23:59] *** laurensclaessen has joined #angularjs
[10:24:25] *** nemothekid has quit IRC
[10:24:45] *** juampy has joined #angularjs
[10:25:41] *** jaydubya_ has quit IRC
[10:25:56] *** jaydubya has joined #angularjs
[10:28:39] *** gnrlbzik has quit IRC
[10:28:44] *** startupality has joined #angularjs
[10:29:24] *** opiates has quit IRC
[10:29:27] *** SahanH has joined #angularjs
[10:29:41] *** Jihun has quit IRC
[10:29:41] *** jaydubya has quit IRC
[10:29:54] *** sk87 has quit IRC
[10:30:04] *** jaydubya has joined #angularjs
[10:30:15] *** aslate has joined #angularjs
[10:30:23] *** swirlycheetah has joined #angularjs
[10:32:26] <swirlycheetah> having some issues with ngClass and css animations since upgrading to 1.3
[10:32:32] *** jae has joined #angularjs
[10:32:50] <swirlycheetah> i have a class which gets applied to slide views in either right to left or left to right
[10:33:50] <swirlycheetah> now it seems like the previous value is being actioned before the new value can be applied, which is causing the view to swipe in from the incorrect direction followed by the correct one
[10:34:08] *** elmacho has joined #angularjs
[10:34:17] *** jaydubya_ has joined #angularjs
[10:34:29] *** elmacho has left #angularjs
[10:34:46] <swirlycheetah> from reading up it seems like ngClass gets run quite late, is there anything else I can use or anyone have any suggestions?
[10:35:05] *** sk87 has joined #angularjs
[10:35:10] *** jaydubya has quit IRC
[10:35:19] *** boonkerz- has quit IRC
[10:36:10] *** sandelius has joined #angularjs
[10:36:54] *** tfennelly has quit IRC
[10:36:57] <doerteDev> does anyone have an up2date seed for ngv1.3.x+require ?
[10:37:00] *** aitorch has joined #angularjs
[10:37:20] *** azizur has joined #angularjs
[10:37:24] <aitorch> Hi guys!
[10:37:56] *** saint-ron has joined #angularjs
[10:38:14] *** gunn has joined #angularjs
[10:38:26] *** jaydubya has joined #angularjs
[10:38:48] *** jaydubya_ has quit IRC
[10:38:52] <aitorch> I’m thinking how to config $httpprovider based on a localstorage value
[10:39:02] <aitorch> I know I know, its not really possible
[10:39:05] *** Nivag_ has quit IRC
[10:39:07] *** boonkerz- has joined #angularjs
[10:39:11] *** juristr has joined #angularjs
[10:39:34] *** ali_ has quit IRC
[10:39:55] *** ali__ has quit IRC
[10:40:23] <juristr> newbie question: Why do many prefix functions in Angular with a $.
[10:40:28] *** lyanchih has joined #angularjs
[10:40:56] <juristr> I understand that Angular itself does it to prevent accidental name collisions, but why do people do it in their libraries...and why on function names?
[10:41:18] <aitorch> poor people want to see bucks everywere :)
[10:41:29] <juristr> aitorch: :D
[10:41:30] *** pknordic has quit IRC
[10:42:40] *** jaydubya_ has joined #angularjs
[10:43:03] *** jaydubya has quit IRC
[10:43:37] *** nemothekid has joined #angularjs
[10:43:44] *** ccohn has joined #angularjs
[10:43:50] *** tarnus has joined #angularjs
[10:44:36] <aitorch> So, I want to config a default header based on of a token storage in localstorage
[10:44:53] *** nanda has joined #angularjs
[10:45:12] *** jtimon has joined #angularjs
[10:45:19] <soee> good morning
[10:46:00] *** gunn has quit IRC
[10:46:10] *** marcjs has quit IRC
[10:46:27] <aitorch> morning!
[10:46:29] <nanda> hello I have a question about Routing
[10:46:39] *** marcjs has joined #angularjs
[10:46:45] <nanda> programatically routing
[10:46:54] <aitorch> with ui-routing?
[10:46:59] *** dannyc has joined #angularjs
[10:47:07] *** jaydubya has joined #angularjs
[10:47:59] *** lyanchih has quit IRC
[10:48:03] <nanda> nop , In my grid afterSelectionChange... I need catch Id : functionX(rowItem.entity.id + '/' + "contact")...
[10:48:19] *** josh-k has quit IRC
[10:48:29] *** jaydubya_ has quit IRC
[10:48:39] *** rburns has quit IRC
[10:48:43] *** tarnus has quit IRC
[10:49:01] <nanda> similar gmail...
[10:50:02] <nanda> I try with http://angular-route-segment.com/src/example/#/section1, but doesn't work on grid..
[10:50:03] *** gunn has joined #angularjs
[10:50:16] *** Embassy has joined #angularjs
[10:51:12] *** techsethi has quit IRC
[10:51:37] *** jaydubya_ has joined #angularjs
[10:52:15] *** jaydubya has quit IRC
[10:52:31] <aitorch> Ok, my problem is soved with a interceptor
[10:54:02] *** vikas has joined #angularjs
[10:54:12] <vikas> hi
[10:54:29] *** Ajans has quit IRC
[10:54:30] *** ogdabou has quit IRC
[10:54:32] *** aslate has quit IRC
[10:54:37] *** tfennelly has joined #angularjs
[10:54:37] <nanda> with an intercpetor?
[10:55:11] *** Left_Turn has joined #angularjs
[10:55:16] *** ali_ has joined #angularjs
[10:55:30] *** Usuario_ has joined #angularjs
[10:55:34] <vikas> I am calling external URL using angular http and getting CORS error,
[10:55:43] *** jaydubya_ has quit IRC
[10:55:47] *** jaydubya has joined #angularjs
[10:56:02] *** tfennelly has quit IRC
[10:56:24] *** aslate has joined #angularjs
[10:56:25] *** m8 has joined #angularjs
[10:57:05] *** Usuario_ is now known as frobs
[10:57:08] <frobs> hi
[10:57:55] *** ogdabou has joined #angularjs
[10:58:06] <nanda> only a need a clue for search..
[10:58:10] *** rhp has quit IRC
[10:59:58] *** jaydubya_ has joined #angularjs
[11:00:07] <nothingpt> vikas: generally cors should be solved in the server. Do you have access to it?
[11:00:25] *** m8 has quit IRC
[11:00:32] *** jaydubya has quit IRC
[11:01:28] *** foofoobar has joined #angularjs
[11:01:59] *** azizur has quit IRC
[11:04:05] *** jaydubya has joined #angularjs
[11:04:34] *** lilbaby has joined #angularjs
[11:04:36] *** m8 has joined #angularjs
[11:04:41] *** jaydubya_ has quit IRC
[11:04:47] *** SomeKittens has quit IRC
[11:04:57] *** motionman has quit IRC
[11:05:50] *** tfennelly has joined #angularjs
[11:06:10] *** prbc has joined #angularjs
[11:06:53] *** MaxV has quit IRC
[11:07:14] *** moviuro has joined #angularjs
[11:07:32] *** leyluj has quit IRC
[11:07:46] *** leyluj has joined #angularjs
[11:08:14] *** jaydubya_ has joined #angularjs
[11:08:16] *** ryez has quit IRC
[11:08:47] *** jaydubya has quit IRC
[11:09:02] <moviuro> Hi all! I'm a total HTML/CSS/JS noob but would like to integrate Material.angularjs.org to my project (because, well, it's beautiful & simple). I use archlinux if that's any use. How do I install material and get it working? I don't intend on developping material, but use it in my web site
[11:09:15] *** lilbaby has quit IRC
[11:09:23] *** nanda has quit IRC
[11:10:04] *** jackweirdy has joined #angularjs
[11:11:18] *** prbc has quit IRC
[11:12:48] *** jaydubya has joined #angularjs
[11:12:52] *** ali__ has joined #angularjs
[11:12:56] *** pushpak has joined #angularjs
[11:13:06] *** jaydubya_ has quit IRC
[11:13:08] *** shpoont has joined #angularjs
[11:13:26] *** MaxV has joined #angularjs
[11:13:30] *** jae is now known as Jae
[11:15:23] *** mmitchell has joined #angularjs
[11:16:54] *** ccohn has quit IRC
[11:17:08] *** jaydubya_ has joined #angularjs
[11:17:09] *** jaydubya has quit IRC
[11:17:14] *** intellix_ has joined #angularjs
[11:17:31] *** shpoont has quit IRC
[11:17:46] *** intellix_ has quit IRC
[11:18:27] *** davidreis has joined #angularjs
[11:18:45] *** vikas has quit IRC
[11:18:56] *** cbo100 has joined #angularjs
[11:20:19] *** teddyp1cker has joined #angularjs
[11:21:03] *** Guest78288 has quit IRC
[11:21:20] *** jaydubya has joined #angularjs
[11:21:26] *** josh-k has joined #angularjs
[11:21:32] *** mmitchell has quit IRC
[11:21:34] *** aitorch has quit IRC
[11:21:36] *** duall has joined #angularjs
[11:21:48] <duall> does anyone have a link to old (readable) ui-router documentation ?
[11:21:52] <duall> cannot find anything in the new one
[11:21:59] *** Oxynum has quit IRC
[11:22:06] *** jaydubya_ has quit IRC
[11:22:18] *** Oxynum has joined #angularjs
[11:22:19] *** marr has joined #angularjs
[11:23:01] *** cannap has joined #angularjs
[11:23:29] *** dejanr has quit IRC
[11:24:07] *** sheplu has quit IRC
[11:24:24] *** mkusher has quit IRC
[11:24:32] *** gnrlbzik has joined #angularjs
[11:24:49] *** sheplu has joined #angularjs
[11:25:10] *** teddyp1cker has quit IRC
[11:25:27] *** jaydubya_ has joined #angularjs
[11:25:32] *** sk87 has quit IRC
[11:25:54] *** jaydubya has quit IRC
[11:27:30] *** leyluj has quit IRC
[11:28:04] *** leyluj has joined #angularjs
[11:29:21] *** gnrlbzik has quit IRC
[11:29:36] *** jaydubya has joined #angularjs
[11:29:50] *** qdk has quit IRC
[11:29:56] *** Ajans has joined #angularjs
[11:30:07] *** jaydubya_ has quit IRC
[11:31:02] *** anivemin has joined #angularjs
[11:31:02] *** coderat has quit IRC
[11:31:19] *** anivemin has quit IRC
[11:32:32] *** Oxynum has quit IRC
[11:32:41] <fairuz> duall: https://github.com/angular-ui/ui-router/wiki
[11:32:43] <fairuz> is this old?
[11:33:08] <duall> THANK YOU
[11:33:13] *** jaydubya has quit IRC
[11:33:19] *** azizur has joined #angularjs
[11:33:29] <duall> fairuz, that's what i was looking for
[11:33:37] <fairuz> cool
[11:33:47] *** jaydubya has joined #angularjs
[11:33:53] *** ahtik has joined #angularjs
[11:34:07] *** sybarite has quit IRC
[11:34:56] *** marcjs has quit IRC
[11:35:02] *** lugzer has joined #angularjs
[11:35:12] <lugzer> morning
[11:35:14] *** josh-k has quit IRC
[11:35:29] *** JR___ has quit IRC
[11:36:33] *** Ajans has quit IRC
[11:36:52] *** JR___ has joined #angularjs
[11:36:56] *** Ajans has joined #angularjs
[11:37:04] <duall> http://codepaste.net/38bem4 does this make sense for abstract state? i want some of my abstract states to change website stylesheet
[11:37:18] *** pknordic has joined #angularjs
[11:37:42] <lugzer> I have a template defined in a directive (just an <input> element) and then refer to it in the link() function as "iElement" (setting some attr values, etc). I wanted to wrap the <input> in a div in the template, so then in the link() I did: "var userInput = iElement.find('input'); " ... which however does not make the trick, even though when debugging, that variable does
[11:37:42] <lugzer> contain the input element. how can I do it correctly?
[11:37:44] <duall> then <body class="{{moduleClass}}">
[11:38:38] <Bennit> Hello, I am using angular ui-router. I have a state that takes a parameter, so it should normally reload if the parameter changes, however, it does not
[11:38:43] *** bengillies has joined #angularjs
[11:39:01] *** jaydubya has quit IRC
[11:39:03] <Bennit> I tried to reproduce the problem in a more simple environment but I am unable to reproduce it
[11:39:29] <Bennit> I tried to use $state.go with reload:true option, but that doesn't reload the state either
[11:40:01] <Bennit> Makes me think there is something that modifies the state transition options behind my back
[11:40:39] <Bennit> any pointers into where I should look? I've verified it is not a $rootScope.$on('$stateChangeStart'...
[11:42:23] *** TyrfingMjolnir has quit IRC
[11:42:27] *** adpirz has joined #angularjs
[11:43:44] *** Oxynum has joined #angularjs
[11:44:13] *** manish_ has joined #angularjs
[11:44:33] <manish_> can i export pdf in angular js
[11:44:47] <manish_> whith fusion charts
[11:45:59] <manish_> any body help
[11:46:18] <manish_> plz give me suggestion
[11:46:54] *** adpirz has quit IRC
[11:47:59] <manish_> can i export pdf from html with dynamic data in angular js
[11:48:00] *** techsethi has joined #angularjs
[11:48:07] *** adben has quit IRC
[11:48:30] *** ishan1604 has joined #angularjs
[11:48:33] *** JR___ has quit IRC
[11:48:43] <manish_> hi
[11:48:49] *** ProLoser has quit IRC
[11:48:58] <manish_> can i export pdf from html with dynamic data in angular js
[11:49:22] *** manish_ has quit IRC
[11:49:28] *** duall has quit IRC
[11:49:53] *** nerder has joined #angularjs
[11:49:55] *** ali_ has quit IRC
[11:49:58] <nerder> hello
[11:50:03] <frobs> manish_, you can use https://github.com/MrRio/jsPDF, and pass your variable as pdf contain, is not integtrated in angular but you can write a service and use it
[11:50:35] *** ali__ has quit IRC
[11:51:04] <Grokling> manish: !google can+i+export+pdf+from+html+with+dynamic+data+in+angularjs
[11:51:05] <UniBot1> manish: http://lmgtfy.com/?q=can+i+export+pdf+from+html+with+dynamic+data+in+angularjs
[11:51:05] <UniBot> manish: http://lmgtfy.com/?q=can+i+export+pdf+from+html+with+dynamic+data+in+angularjs
[11:51:29] *** tomphp_ has joined #angularjs
[11:51:36] *** Siyfion has joined #angularjs
[11:51:50] *** duall has joined #angularjs
[11:52:33] *** IJNX has joined #angularjs
[11:52:55] <nerder> i have a social login to implement, but the backend api expect from me to send the socialnetwork id like "facebook" as a GET parameter, like /api/socialauth?id=facebook
[11:53:26] *** cakirke has joined #angularjs
[11:53:50] *** RedOrangeZ has joined #angularjs
[11:54:01] <duall> nerder, you can get facebookID with helloJS
[11:54:06] *** stylemistake has quit IRC
[11:54:07] <duall> then just do a http get
[11:54:07] <nerder> once i do this i got a redirect to the facebook login page, and when i successfully logged in i got redirect to api/socialauth/authSuccess
[11:54:12] *** leyluj has quit IRC
[11:54:26] *** leyluj has joined #angularjs
[11:55:03] <nerder> that contains all the information that i need as name, surname and picture etc
[11:55:50] *** IJNX has quit IRC
[11:56:01] <nerder> my question is, how can i catch the redirect without show anything to the user?
[11:57:20] *** VictorBjelkholm has joined #angularjs
[11:57:26] <nerder> i should put the socialnetwork login page into an <iframe> to don't let the user go outside of the page
[11:58:14] *** Oxynum has quit IRC
[11:58:31] *** Oxynum has joined #angularjs
[11:58:54] <duall> nerder you're not suppose to do any redirects when using angular
[11:58:55] *** greengriminal has joined #angularjs
[11:58:56] <nerder> but i dnt know how to use the json response without show that to the user
[11:59:10] <nerder> i know, but it's not my fault
[11:59:17] <duall> nerder, see helloJS
[11:59:27] <duall> it can get you the facebookID
[11:59:34] <duall> or satellizer
[11:59:42] <m_e> as far as i remember your app needs to be approved by facebook. so you have to show the user some kind of popup where he can login and "approve" your app to use his data.
[12:00:26] *** nemothekid has quit IRC
[12:00:54] *** dexteryy has quit IRC
[12:01:08] *** blomman has quit IRC
[12:01:14] *** Sky[x] has quit IRC
[12:01:28] *** jsdf has joined #angularjs
[12:01:31] *** Oxynum has quit IRC
[12:01:35] <nerder> duall: you
[12:01:57] <nerder> duall: this is very nice, and if i were working alone, i would use this
[12:02:28] *** mkusher has joined #angularjs
[12:03:01] *** aitorch has joined #angularjs
[12:03:05] <duall> nerder impossible then, use server generated pages then
[12:03:27] <duall> you can do it in popup i guess and listen for changes in url
[12:03:40] *** Jae has left #angularjs
[12:04:08] <nerder> but i'm working with other ppl, and they choose to use https://code.google.com/p/socialauth/
[12:05:02] *** marcjs has joined #angularjs
[12:05:11] <Bennit> on my issue: $stateParams doesn't seem to be changed when the url shows a different id
[12:05:13] <lugzer> in a directive, if the "iElement" in the link function contains <div><input.../></div>, how can I get the <input> into a variable? var myInput = iElement.find('input') doesn't work...
[12:06:35] <duall> nerder you're screwed then :D
[12:06:43] <jsdf> Why doesn't my directive template show up in the HTML? http://plnkr.co/edit/rCOaAXjonAEsNMWUzZgw?p=preview
[12:06:46] <sacho_> lugzer, "doesn't work"?
[12:06:57] <nerder> duall: i knew it, lol
[12:07:04] <sacho_> are you using jquery or not? I think jqlite doesn't have a .find function.
[12:07:09] <lugzer> sacho_: the variable is empty, i cannot manipulate the object
[12:07:28] *** glassir has joined #angularjs
[12:07:47] <lugzer> sacho_: jqlite seems to have .find() .. it's used in another directive and works fine.. that's what i don't uderstand
[12:07:58] <lugzer> (no jquery, just jqlite)
[12:08:06] <duall> nerder, how it works: step3: The provider redirects the user back to your application with a token appended. Now you call the SocialAuth library and pass it this request token.
[12:08:22] <sacho_> lugzer, make a plunker.
[12:08:23] *** Sky[x] has joined #angularjs
[12:08:24] <duall> herder so get the token in fronted and ask your guys to continue from here 'Now you call the SocialAuth library and pass it this request token.'
[12:08:35] <lugzer> ok let's try
[12:09:14] *** ProLoser has joined #angularjs
[12:09:15] *** leyluj has quit IRC
[12:09:43] *** stylemistake has joined #angularjs
[12:09:51] *** leyluj has joined #angularjs
[12:09:53] *** jsdf has quit IRC
[12:10:27] * sacho_ grrs at jsdf
[12:10:54] *** Oxynum has joined #angularjs
[12:11:42] *** goodenough has quit IRC
[12:11:54] *** sheerun has joined #angularjs
[12:11:59] <nerder> duall: you think that i could so something with this lib?
[12:12:10] <nerder> or i have to use hellojs or something else?
[12:13:07] *** ali_ has joined #angularjs
[12:13:11] *** Oxynum has quit IRC
[12:13:21] *** ali__ has joined #angularjs
[12:13:34] *** sandelius has quit IRC
[12:13:44] *** ccohn has joined #angularjs
[12:13:55] <duall> herder i don't know your limitations, i just wanted to let you know that you can get the access_token without backend interaction, from here you decide yourself
[12:15:12] *** cbo100 has quit IRC
[12:16:05] <nerder> herder?
[12:16:28] *** lite_ has joined #angularjs
[12:16:34] *** jillesme has joined #angularjs
[12:16:34] *** jillesme has joined #angularjs
[12:17:32] *** lemur has quit IRC
[12:17:44] *** SargoDarya has quit IRC
[12:18:05] *** lemur has joined #angularjs
[12:18:15] *** mmitchell has joined #angularjs
[12:18:45] *** Christer has quit IRC
[12:19:27] *** lite has quit IRC
[12:19:40] *** ProLoser has quit IRC
[12:19:46] *** Oxynum has joined #angularjs
[12:19:47] *** evanjs has joined #angularjs
[12:20:02] *** intellix has quit IRC
[12:20:10] *** qdk has joined #angularjs
[12:20:14] *** startupality has quit IRC
[12:20:50] *** startupality has joined #angularjs
[12:21:50] *** fairuz has quit IRC
[12:21:57] *** arthas has joined #angularjs
[12:22:04] *** arthas has joined #angularjs
[12:22:11] *** lexek_ has joined #angularjs
[12:22:12] *** apertoire has quit IRC
[12:22:40] *** mmitchell has quit IRC
[12:22:40] *** lemur has quit IRC
[12:23:16] *** elyssonmr has joined #angularjs
[12:23:37] *** lite has joined #angularjs
[12:24:51] *** zemanel has joined #angularjs
[12:25:17] *** startupality has quit IRC
[12:25:47] *** Christer has joined #angularjs
[12:26:49] *** techsethi has quit IRC
[12:26:57] *** lite_ has quit IRC
[12:27:07] *** jackweirdy has quit IRC
[12:27:08] *** nemothekid has joined #angularjs
[12:27:11] *** jonatas_oliveira has joined #angularjs
[12:27:25] *** nemothekid has quit IRC
[12:27:27] *** jonaslil_ has joined #angularjs
[12:28:00] *** mmealling has joined #angularjs
[12:28:35] *** glassir has quit IRC
[12:28:42] *** mennea has joined #angularjs
[12:28:43] *** sandelius has joined #angularjs
[12:29:04] *** mennea has quit IRC
[12:30:19] *** nemothekid has joined #angularjs
[12:30:30] *** fbenoit_ has quit IRC
[12:30:39] *** jackweirdy has joined #angularjs
[12:31:17] *** laurensclaessen has quit IRC
[12:31:29] *** rafagomes has joined #angularjs
[12:32:14] *** kakashiA1 has quit IRC
[12:32:27] *** bolbat has joined #angularjs
[12:32:44] *** tarnus has joined #angularjs
[12:32:50] *** hbs has joined #angularjs
[12:32:52] *** leyluj has quit IRC
[12:32:54] *** ngbot has joined #angularjs
[12:32:54] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/FYWeGQ
[12:32:54] <ngbot> angular.js/master 7ad6652 Peter Bacon Darwin: docs(guide/migration): add info about change that could break isolated directive usage...
[12:32:54] *** ngbot has left #angularjs
[12:33:09] *** leyluj has joined #angularjs
[12:34:59] *** hey has joined #angularjs
[12:35:05] <burzum2> I'm getting Error: [$injector:unpr] Unknown provider: nProvider <- n after minification, any idea how to debug what exactly is causing this? :( I know what I need to do to make minification work but obviously I've missed something somewhere. I just cant figure out where.
[12:35:22] *** e0ipso|away is now known as e0ipso
[12:35:23] *** hey is now known as Guest70925
[12:35:32] <bealtine> 1. dont use angular.min
[12:35:48] <bealtine> 2. use proper minification syntax
[12:36:55] <burzum2> im aware of both that doesnt help me to find the cause :/
[12:36:57] *** prbc has joined #angularjs
[12:36:58] *** laurensclaessen has joined #angularjs
[12:37:07] <bealtine> sure it does
[12:37:22] *** Guest70925 has quit IRC
[12:37:24] *** tarnus has quit IRC
[12:37:24] <bealtine> it'll give you loads more info
[12:38:05] *** ingsoc has joined #angularjs
[12:38:11] *** elyssonmr has quit IRC
[12:38:34] *** mtsr has joined #angularjs
[12:38:40] <burzum2> I dont use a minified version of angular already while the site is set to debug mode. 2) will fix the cause but dont help me identifying the cause. i already checked all my files for the proper syntax
[12:38:46] *** hbs has quit IRC
[12:40:09] *** hbs has joined #angularjs
[12:40:35] *** elyssonmr has joined #angularjs
[12:41:12] *** TheAceOfHearts has quit IRC
[12:41:29] *** prbc has quit IRC
[12:42:26] <sacho_> use the error's stack trace to debug.
[12:42:56] *** Shai-Tan has joined #angularjs
[12:43:07] *** shpoont has joined #angularjs
[12:43:50] *** IvailoStoianov has joined #angularjs
[12:44:12] *** evanjs has quit IRC
[12:44:52] *** mmitchell has joined #angularjs
[12:45:31] <lugzer> sacho_: uff. here's the plunker, and it seems to work fine.. wondering why it wouldn't work in my case ... http://plnkr.co/edit/GGyPiRZ7IvyBFVL8WyRW?p=preview
[12:46:17] <sacho_> burzum2, for example - http://plnkr.co/edit/uzsrM4Wp4EFZub16TlVa?p=preview , pause on exceptions(you have to enable caught ones as well), then look up the stack trace to where your controller or service or whatever is being instantiated
[12:46:24] *** dsdeiz has quit IRC
[12:46:24] *** SargoDarya has joined #angularjs
[12:46:25] *** SargoDarya has joined #angularjs
[12:46:46] *** dsdeiz has joined #angularjs
[12:46:57] *** quantax- has quit IRC
[12:46:57] *** ccohn has quit IRC
[12:47:16] <sacho_> since caught exceptions are fairly verbose you could also add a breakpoint into the "provider not found" error block
[12:47:19] <sacho_> and work off that.
[12:49:18] *** RangeRick has quit IRC
[12:49:38] *** RangerRick has joined #angularjs
[12:50:07] *** tangorri has quit IRC
[12:51:37] *** jaydubya has joined #angularjs
[12:53:27] *** lilbaby has joined #angularjs
[12:54:57] *** Somatt_wrk has quit IRC
[12:55:26] *** Alina-malina has quit IRC
[12:55:34] *** Somatt_wrk_ has joined #angularjs
[12:55:40] *** MetaCosm has joined #angularjs
[12:55:58] *** Oxynum has quit IRC
[12:56:06] *** Alina-malina has joined #angularjs
[12:56:07] *** Alina-malina has joined #angularjs
[12:56:18] *** wsmoak has joined #angularjs
[12:57:17] *** MetaCosm__ has quit IRC
[12:57:17] <swirlycheetah> lugzer: do you need to follow this https://github.com/toddmotto/angularjs-styleguide#minification-and-annotation
[12:57:28] <swirlycheetah> don't you need to inject your controller into your directive?
[12:57:48] *** ahtik has quit IRC
[12:57:52] *** lilbaby has quit IRC
[12:58:03] <lugzer> swirlycheetah: only if minifying. this example is not using minified scripts
[12:58:15] <lugzer> swirlycheetah: i don't need to follow that styleguide, but i like it
[12:59:28] *** sigurding has joined #angularjs
[12:59:29] <swirlycheetah> lugzer: sorry was getting you confused with someone else who mentioned minification, what's your issue?
[12:59:32] *** jillesme has quit IRC
[12:59:38] *** jdcasey has quit IRC
[12:59:44] *** CanyonMan has quit IRC
[12:59:59] *** ngbot has joined #angularjs
[12:59:59] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to materialize: http://git.io/qSwvtw
[13:00:00] <ngbot> angular.js/materialize 8edece2 Palmer: chore(docs): replace "Edit in Plunker" button with Angular Material...
[13:00:00] *** ngbot has left #angularjs
[13:00:29] *** deanclkclk has joined #angularjs
[13:00:29] *** blomman has joined #angularjs
[13:00:38] *** yts has joined #angularjs
[13:00:55] <lugzer> swirlycheetah: the plunkr i posted is using .find() to get the input element into a variable and modify it (add attributes, etc). in the actual code I'm debugging now, I don't understand why the attributes are getting attached to the parent (the div).. the structure is the same, just more data..
[13:00:57] *** UniBot2 has joined #angularjs
[13:01:23] *** test_ has joined #angularjs
[13:02:00] <test_> Hello
[13:02:15] *** test_ has quit IRC
[13:02:40] *** defaultdict has quit IRC
[13:03:11] <lugzer> swirlycheetah: oh crap i know... this directive is using "replace: true"... and the html contains some arbitrary attributes... doh!
[13:03:25] <swirlycheetah> rubber duck debugging =)
[13:03:56] <lugzer> i guess that means i need to get that div out to the html.. i just wanted to have it inside the directive
[13:04:05] *** bayousoft has joined #angularjs
[13:04:11] *** aslate has quit IRC
[13:04:42] *** phzon has quit IRC
[13:04:56] *** laurensclaessen has quit IRC
[13:05:53] *** SargoDarya has quit IRC
[13:06:13] *** Oxynum has joined #angularjs
[13:07:08] *** mkusher has quit IRC
[13:07:29] *** josh-k has joined #angularjs
[13:07:46] *** frem has quit IRC
[13:07:56] *** sdada has joined #angularjs
[13:08:06] <sdada> sad
[13:09:08] *** sdada has quit IRC
[13:09:21] *** jlebrech has quit IRC
[13:10:19] *** gnrlbzik has joined #angularjs
[13:10:28] *** phzon has joined #angularjs
[13:10:46] *** jackweirdy has quit IRC
[13:11:19] *** dc has joined #angularjs
[13:11:44] *** segobia has quit IRC
[13:12:40] *** bolbat has quit IRC
[13:13:53] *** roachiepoopoo has quit IRC
[13:14:10] <rafagomes> hey guys...I losing my mind trying to fix something...Maximum call stack size exceeded when I use filter (to make a search)
[13:14:54] *** gnrlbzik has quit IRC
[13:14:59] <rafagomes> when I don't specify the property of object...I get this error
[13:15:24] *** JR___ has joined #angularjs
[13:15:25] <rafagomes> like: search.$ (get this error).... search.name (don't)
[13:15:27] *** leyluj has quit IRC
[13:15:29] <rafagomes> tips?
[13:15:59] <hernan> rafagomes: diminui o tamanho
[13:16:08] *** duall has quit IRC
[13:17:04] *** jlebrech has joined #angularjs
[13:17:27] <rafagomes> hernan: pvt you in portuguese :)
[13:17:53] *** bayousoft has quit IRC
[13:18:57] *** mkusher has joined #angularjs
[13:19:10] *** nerder has quit IRC
[13:19:49] *** roachiepoopoo has joined #angularjs
[13:19:53] *** xuu has quit IRC
[13:20:20] *** JR___ has quit IRC
[13:20:59] *** ngbot has joined #angularjs
[13:20:59] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/T12Wsg
[13:20:59] <ngbot> angular.js/master 0c4f9fa Mads Konradsen: docs(ie): remove fixes needed for IE8 since we don't support it now...
[13:20:59] *** ngbot has left #angularjs
[13:21:11] *** teddyp1cker has joined #angularjs
[13:21:19] *** christo_m has quit IRC
[13:21:41] *** Beg has quit IRC
[13:23:05] *** christo_m has joined #angularjs
[13:23:37] *** xuu has joined #angularjs
[13:23:38] *** Amp2b has joined #angularjs
[13:24:00] *** nemothekid has quit IRC
[13:24:36] *** emmesswhy has quit IRC
[13:24:48] *** ahtik has joined #angularjs
[13:25:21] <Amp2b> Hello guys
[13:25:27] <nothingpt> hello
[13:25:33] <rafagomes> hey
[13:25:45] *** teddyp1cker has quit IRC
[13:25:50] *** duall has joined #angularjs
[13:25:53] *** metasansana has joined #angularjs
[13:26:03] <Amp2b> Anyone know how to display icons and conditions on an Angularjs weather api?
[13:27:55] *** josh-k has quit IRC
[13:28:14] <Amp2b> Here is my success handler:
[13:28:19] *** juampy is now known as juampy_food
[13:28:21] <Amp2b> Success Handler: .success(function(data, status) { // store request data in scope $scope.data = data; // store status code in scope $scope.status = status; // hide ajax loader on page load $scope.loader = false; // index to retrieve 2nd item in array for (var i = 0; i < data.length; ++i)
[13:28:40] *** SeeThruHead has quit IRC
[13:30:42] *** josh-k has joined #angularjs
[13:31:17] *** adpirz has joined #angularjs
[13:31:46] *** hbs has left #angularjs
[13:31:51] *** JR___ has joined #angularjs
[13:31:59] <sacho_> don't paste code in the channel - read the topic
[13:33:07] *** sandelius has quit IRC
[13:33:12] *** ali_ has quit IRC
[13:33:12] *** ali__ has quit IRC
[13:33:46] *** doodlehaus has joined #angularjs
[13:34:07] *** yts has quit IRC
[13:34:34] *** emmesswhy has joined #angularjs
[13:35:45] *** sk87 has joined #angularjs
[13:36:11] *** adpirz has quit IRC
[13:36:55] *** thomastuts has joined #angularjs
[13:37:05] *** metasansana has quit IRC
[13:37:24] *** laurensclaessen has joined #angularjs
[13:37:31] *** mmealling has quit IRC
[13:37:47] *** sk87 has quit IRC
[13:37:49] <nothingpt> Amp2b: what weather api are you using?
[13:38:09] *** fedenunez has joined #angularjs
[13:38:10] *** jonr22 has joined #angularjs
[13:38:28] *** kevinxu has joined #angularjs
[13:38:33] <thomastuts> hey guys, what workflow do you use for deploying your angularJS apps using continuous integration?
[13:38:44] <thomastuts> like rocketeer for php, for example
[13:38:52] *** kevinxu is now known as Guest89298
[13:39:08] <thomastuts> basically i want circleci to run a deploy command after it's done running my tests, telling the server to pull and deploy the branch
[13:39:18] *** spatialbrew has joined #angularjs
[13:39:46] *** phzon has quit IRC
[13:39:53] <Amp2b> Hello all
[13:40:04] <Amp2b> I hae a problem with AgularJS here
[13:40:05] *** sheerun has quit IRC
[13:40:11] <Amp2b> http://jsfiddle.net/a6esnqg7/
[13:40:35] *** cheef has joined #angularjs
[13:40:49] <Amp2b> My page is here : http://www.amwebaz.com/Austin/weatherAngular/
[13:40:56] <cheef> afternoon chaps, is there a way to pass {{expr}} strings into a directive without having them evaluated?
[13:41:06] <Amp2b> I cant get the weather icons and conditions to show???
[13:41:09] <cheef> i wand to defer the evaluation unti after some condition
[13:41:15] *** jillesme has joined #angularjs
[13:41:31] <Amp2b> If you type in a cite you will see a dropdown
[13:41:36] *** Sgeo_ has joined #angularjs
[13:42:36] <Amp2b> I have been trying this for two days and would appreciate any help
[13:42:50] *** jonr22 has quit IRC
[13:44:03] *** ccohn has joined #angularjs
[13:44:18] *** Sgeo has quit IRC
[13:44:51] <m_e> if i have this as custom directive: "<bars-chart chart-data="myData">" what would be the correct way to change this to an attribute of a div? like: "<div bars-chart="whatever"></div>"
[13:45:17] *** tubiz has joined #angularjs
[13:46:10] <swirlycheetah> yup m_e
[13:46:42] <m_e> swirlycheetah: well that was actually a question ;) no idea what i would use as "whatever"
[13:47:00] <m_e> dont even know what this is for
[13:47:14] <swirlycheetah> do you need to pass data into your directive to use?
[13:47:24] <m_e> and also, no idea how to get the chart-data attribute working
[13:48:01] *** vinod_ has joined #angularjs
[13:48:02] <vinod_> Hi
[13:48:08] *** jamieshepherd has quit IRC
[13:48:22] <vinod_> Hi guys
[13:48:28] <vinod_> I am very new to angular JS
[13:48:39] <vinod_> I would like to learn,
[13:48:45] <vinod_> Please guide me guys.
[13:48:47] <m_e> swirlycheetah: yes i do
[13:49:06] *** jamieshepherd has joined #angularjs
[13:49:42] <swirlycheetah> ok so "whatever" should be the item on the scope you want to pass into the directive
[13:50:02] <m_e> currently i had it like this: "<bars-chart chart-data="myData">" and in the directive: scope: {data: '=chartData'},
[13:50:20] <vinod_> ok
[13:50:40] <vinod_> http://swirlycheetah.com/
[13:50:49] <m_e> swirlycheetah: that would be myData then i guess
[13:50:59] <vinod_> ok
[13:51:02] <swirlycheetah> i believe so yes, m_e
[13:51:37] <m_e> then i only gotta figure out how to access it inside of my directive
[13:51:37] <vinod_> which country you are swirlycheetah?
[13:51:42] <vinod_> ok
[13:51:43] *** kirfu has joined #angularjs
[13:52:46] <swirlycheetah> m_e, create a link function with scope as an argument, then you can reference scope.data
[13:53:07] <swirlycheetah> link: function(scope) { console.log(scope.data)}
[13:53:12] <swirlycheetah> i think...
[13:53:17] *** moviuro has left #angularjs
[13:53:28] *** vinod_ has quit IRC
[13:53:32] *** Roland has joined #angularjs
[13:54:14] <m_e> swirlycheetah: i think i have that already: http://pastebin.com/3CVM8W48
[13:54:40] *** azizur has quit IRC
[13:54:43] <m_e> the thing is it expects data under an attribute chartData
[13:55:53] <m_e> here: "<bars-chart chart-data="myData">" i define chart-data and pass it the data of myData ( i belive)
[13:56:07] *** shinnya has joined #angularjs
[13:56:43] <m_e> yet no idea how to do exactly the same as an attribute... something like this maybe:" <div bars-chart="chart-data:myData"></div>" ?
[13:57:06] *** loverajoel has joined #angularjs
[13:57:16] <swirlycheetah> you could do <div bar-chart="myData"></div>
[13:57:17] *** intellix has joined #angularjs
[13:57:40] <swirlycheetah> then in your directive do: scope: {data: '=barChart'},
[13:57:45] <sacho_> m_e, what are you trying to do..?
[13:58:15] *** annlewis has joined #angularjs
[13:58:17] *** kirfu has quit IRC
[13:58:24] <sacho_> m_e, your initial question: <div bars-chart chart-data="...">
[13:58:26] *** JR___ has quit IRC
[13:58:55] *** JR___ has joined #angularjs
[13:59:05] <swirlycheetah> don't forget to change the restriction of your directive, from 'E', to 'EA' or 'A'
[13:59:16] *** jillesme has quit IRC
[13:59:55] *** JR___ has quit IRC
[14:00:18] <m_e> swirlycheetah: oh man! that was it!
[14:00:23] *** tarnus has joined #angularjs
[14:00:28] <m_e> sacho_, swirlycheetah: thank you very much!
[14:00:31] <swirlycheetah> m_e ;)
[14:01:03] *** Siecje has joined #angularjs
[14:01:05] *** guilbep has quit IRC
[14:01:46] *** sheplu has quit IRC
[14:01:52] *** lsiv568 has joined #angularjs
[14:02:34] *** jdj_dk has quit IRC
[14:02:57] *** lugzer has quit IRC
[14:03:09] *** jdj_dk has joined #angularjs
[14:03:34] *** lugzer has joined #angularjs
[14:03:44] *** jillesme has joined #angularjs
[14:03:45] *** JR___ has joined #angularjs
[14:04:23] *** sidthekid has joined #angularjs
[14:04:55] *** Joe_knock has joined #angularjs
[14:05:56] *** dc has quit IRC
[14:06:20] *** sheplu has joined #angularjs
[14:06:25] *** SargoDarya has joined #angularjs
[14:06:33] *** ingsoc has quit IRC
[14:07:17] *** Arf has quit IRC
[14:07:35] *** josh-k has quit IRC
[14:07:37] *** jdj_dk has quit IRC
[14:08:09] *** sidthekid has quit IRC
[14:08:12] *** Guest89298 has quit IRC
[14:08:35] *** sidthekid has joined #angularjs
[14:08:49] *** JR____ has joined #angularjs
[14:10:11] *** renanoronfle has joined #angularjs
[14:10:19] *** mkusher has quit IRC
[14:11:06] <lite> the silence is deafening
[14:11:49] *** JR___ has quit IRC
[14:12:40] *** sidthekid_ has joined #angularjs
[14:13:27] *** cakirke has quit IRC
[14:13:40] *** AngularUI has joined #angularjs
[14:13:40] <AngularUI> [ng-grid] sickan90 opened pull request #2282: Update pinning tutorial (master...issue2281) http://git.io/VMhWfg
[14:13:40] *** AngularUI has left #angularjs
[14:14:57] *** sidthekid has quit IRC
[14:15:13] *** aslate has joined #angularjs
[14:15:17] *** marcjs has quit IRC
[14:15:38] *** hswolff has quit IRC
[14:15:49] *** marcjs has joined #angularjs
[14:16:44] *** hswolff has joined #angularjs
[14:17:00] *** tangorri has joined #angularjs
[14:17:12] *** guilbep has joined #angularjs
[14:17:23] *** Amp2b has quit IRC
[14:17:39] *** sidthekid_ has quit IRC
[14:17:45] *** ccohn has quit IRC
[14:19:28] *** bayousoft has joined #angularjs
[14:19:29] *** aslate has quit IRC
[14:21:09] *** licyeus_ has quit IRC
[14:21:40] *** sigurding has quit IRC
[14:21:53] *** phzon has joined #angularjs
[14:22:55] *** startupality has joined #angularjs
[14:23:09] *** frobs has quit IRC
[14:23:33] *** ingsoc has joined #angularjs
[14:23:58] *** CodeFriar has quit IRC
[14:24:34] *** rud has joined #angularjs
[14:24:34] *** rud has joined #angularjs
[14:25:39] *** prbc has joined #angularjs
[14:25:49] *** pknordic has quit IRC
[14:26:15] *** aslate has joined #angularjs
[14:26:39] *** sidthekid has joined #angularjs
[14:26:56] *** shpoont has quit IRC
[14:27:25] *** startupality has quit IRC
[14:28:05] *** htmelvis has joined #angularjs
[14:28:36] <lugzer> if my directive in html has some attributes set (<my-directive min="min" max="max"></my-directive>), is it possible to have a template with some kind of structure? in here http://plnkr.co/edit/GGyPiRZ7IvyBFVL8WyRW?p=preview -- i would like to work with the input and not div...
[14:28:40] *** dmrs has joined #angularjs
[14:29:06] *** mmealling has joined #angularjs
[14:29:49] *** marcjs_ has joined #angularjs
[14:30:40] *** prbc has quit IRC
[14:30:44] *** marcjs has quit IRC
[14:30:52] *** walden|afk is now known as walden
[14:30:57] *** mikehaas763 has joined #angularjs
[14:30:59] *** akrikos has joined #angularjs
[14:31:16] *** mccarrontr1ck has joined #angularjs
[14:31:25] <tangorri> any tools to generate UML from angularjs project ?
[14:31:32] *** jr3 has joined #angularjs
[14:32:20] *** Roland has left #angularjs
[14:33:21] <sacho_> lugzer, what are "min" and "max" supposed to be?
[14:33:35] <sacho_> html5 attributes? attributes to be read by the input directive?
[14:33:46] *** kohgpat has joined #angularjs
[14:34:05] <lugzer> sacho_: yeah they are supposed to be read & manipulated by the input directive
[14:34:35] <lugzer> the problem is that when app loads, the attributes from the directive prototype get assigned to the <div> and not the <input>
[14:34:50] <lugzer> (or how do you call the <my-directive> thing
[14:35:04] *** juristr has left #angularjs
[14:35:06] *** Milkweed has joined #angularjs
[14:35:39] *** mmeallin_ has joined #angularjs
[14:35:45] *** jr3 has quit IRC
[14:35:50] *** mmealling has quit IRC
[14:37:25] *** Oxynum has quit IRC
[14:37:43] *** j_wright has quit IRC
[14:38:25] *** j_wright has joined #angularjs
[14:38:27] *** aitorch has quit IRC
[14:38:48] *** jillesme has quit IRC
[14:40:01] *** dsdeiz has quit IRC
[14:40:15] *** bayousoft has quit IRC
[14:40:48] *** bayousoft has joined #angularjs
[14:41:05] *** coderat has joined #angularjs
[14:41:14] *** danecando has joined #angularjs
[14:41:29] *** warpx has quit IRC
[14:41:50] *** Solid1 is now known as Solid1_afk
[14:42:21] *** jillesme has joined #angularjs
[14:42:38] *** vonnegut has joined #angularjs
[14:42:47] <sidthekid> what should I do in this case - many rows with some rows being child rows, can be child of child too, how should I display them in a table form so that I can differentiate which header row has which children.?
[14:42:52] *** fbenoit has joined #angularjs
[14:43:11] *** aitorch has joined #angularjs
[14:43:59] *** marcjs_ has quit IRC
[14:44:25] *** fabiofb has joined #angularjs
[14:44:51] *** ryez has joined #angularjs
[14:45:11] *** tlr has joined #angularjs
[14:45:16] *** sixr420 has quit IRC
[14:45:49] *** annlewis has quit IRC
[14:46:44] *** cacts has joined #angularjs
[14:46:53] *** cbeacock has joined #angularjs
[14:47:57] *** mnngfltg has joined #angularjs
[14:48:04] *** emmesswhy has quit IRC
[14:48:59] *** FIFOd[a] has joined #angularjs
[14:49:09] *** fairuz has joined #angularjs
[14:49:13] *** cboden has joined #angularjs
[14:49:17] *** bayousoft has quit IRC
[14:49:59] *** bayousoft has joined #angularjs
[14:50:15] *** Solid1_afk has quit IRC
[14:50:22] *** jeffisabelle has joined #angularjs
[14:52:04] *** Foxandxss has joined #angularjs
[14:52:19] *** bayousoft has quit IRC
[14:52:51] *** bayousoft has joined #angularjs
[14:53:48] *** teddyp1cker has joined #angularjs
[14:54:03] *** weems|mac has joined #angularjs
[14:54:16] *** weems|mac has quit IRC
[14:54:16] *** weems|mac has joined #angularjs
[14:54:18] *** jr3 has joined #angularjs
[14:54:19] *** sheplu has quit IRC
[14:54:35] *** aitorch has left #angularjs
[14:54:36] *** Cedric has joined #angularjs
[14:54:42] *** Hounddog has joined #angularjs
[14:54:58] *** evanjs has joined #angularjs
[14:55:13] *** tschundeee has quit IRC
[14:55:27] *** emmesswhy has joined #angularjs
[14:55:43] <Cedric> hello, anyone knows how I can set a custom header (and its value) on http OPTIONS generated when making cross domain calls? I haven't find the way to do it.
[14:56:50] *** Linell has joined #angularjs
[14:57:07] *** Anton_ has quit IRC
[14:57:30] *** Anton_ has joined #angularjs
[14:57:52] *** coderat has quit IRC
[14:58:25] *** BobbieBarker_ has joined #angularjs
[14:58:53] *** linagee has quit IRC
[14:59:02] *** gnrlbzik has joined #angularjs
[14:59:38] *** jdcasey has joined #angularjs
[15:00:00] *** krad has quit IRC
[15:00:05] *** stephen has quit IRC
[15:00:21] *** lite has quit IRC
[15:01:18] *** simplyshipley has joined #angularjs
[15:01:50] *** fiwsi has quit IRC
[15:02:21] *** PeterMetz has quit IRC
[15:02:35] *** jmckind has joined #angularjs
[15:02:48] *** ceephax has joined #angularjs
[15:02:58] *** olli- has quit IRC
[15:03:06] *** tfennelly has quit IRC
[15:03:15] <fairuz> Cedric: It's the browser who initiated it, I don't think you can change it
[15:03:30] <fairuz> What kind of data you want to add to the header?
[15:03:39] *** azizur has joined #angularjs
[15:03:52] *** ccohn has joined #angularjs
[15:03:54] *** gnrlbzik has quit IRC
[15:03:57] *** prosper_ has joined #angularjs
[15:03:58] *** lsiv568 has quit IRC
[15:04:26] *** fiws|meh has joined #angularjs
[15:04:31] *** victorwww has joined #angularjs
[15:04:42] *** marcjs has joined #angularjs
[15:05:20] <Cedric> fairuz: I have to put a X-xxx for my authentication mecanism
[15:06:25] *** artee_ has quit IRC
[15:06:43] *** kuadrosx has joined #angularjs
[15:06:56] *** ahtik has quit IRC
[15:06:56] *** Embassy has quit IRC
[15:07:12] *** olli- has joined #angularjs
[15:07:17] *** Fishy has quit IRC
[15:07:38] <Cedric> fairuz: I had a little look at the angularjs sources, and there are some stuff for setting http headers on xhr
[15:07:41] <Cedric> xhr.open(method, url, true); forEach(headers, function(value, key) { if (isDefined(value)) { xhr.setRequestHeader(key, value); } });
[15:07:48] *** JR____ has quit IRC
[15:08:00] <fairuz> the preflight request is done automatically by the browser
[15:08:04] <fairuz> not js
[15:08:05] *** warpx has joined #angularjs
[15:08:14] *** Arf has joined #angularjs
[15:08:18] *** ConstantineXVI has joined #angularjs
[15:08:45] <fairuz> something like this http://www.html5rocks.com/static/images/cors_flow.png
[15:08:51] *** juanpablo_ has joined #angularjs
[15:09:07] <fairuz> Why do you need auth on the preflight request btw?
[15:09:10] *** annlewis has joined #angularjs
[15:09:18] *** phishy has joined #angularjs
[15:09:31] *** dsdeiz has joined #angularjs
[15:09:41] *** ki0 has joined #angularjs
[15:09:43] *** andern has quit IRC
[15:10:02] *** andern has joined #angularjs
[15:10:07] *** tristanp has joined #angularjs
[15:10:22] <Cedric> fairuz: I would say that it is because the APIGEE frontend I am calling is expecting it
[15:10:23] *** bayousoft has quit IRC
[15:10:45] <Cedric> fairuz: but I didn't say that our apigee is correctly configured
[15:10:52] *** bayousoft has joined #angularjs
[15:11:01] *** juanpablo__ has joined #angularjs
[15:11:11] <Cedric> fairuz: and from what you are saying, it is not supposed to be configurer like this
[15:11:41] *** ki0 has quit IRC
[15:11:49] *** sirkitree|afk|af is now known as sirkitree
[15:12:11] *** imehesz has joined #angularjs
[15:12:42] *** artee_ has joined #angularjs
[15:12:53] *** Arf has quit IRC
[15:13:01] *** dc has joined #angularjs
[15:13:03] *** threesixes has quit IRC
[15:13:07] *** thumpba has joined #angularjs
[15:13:21] *** juanpablo_ has quit IRC
[15:13:23] *** Shrooms has quit IRC
[15:13:32] *** dc has quit IRC
[15:13:35] *** lsiv568 has joined #angularjs
[15:14:39] *** rafagomes has quit IRC
[15:15:07] *** mmeallin_ has quit IRC
[15:15:12] *** avens has joined #angularjs
[15:15:14] *** coderat has joined #angularjs
[15:16:01] <fairuz> Cedric: http://apigee.com/docs/api-services/content/adding-cors-support-api-proxy#Preflight
[15:16:26] *** kakashiAL has joined #angularjs
[15:17:09] *** zivester has joined #angularjs
[15:17:35] *** tlr has quit IRC
[15:17:37] *** elrabin has quit IRC
[15:17:41] *** dannyc_ has joined #angularjs
[15:19:16] <Cedric> fairuz: your pointer seems to talk about how to enable cors, but I guess our configuration also ask for a X-xxx header
[15:19:40] <Cedric> so I guess our team working on this have to disable X-xxx header on cors
[15:19:59] *** mmealling has joined #angularjs
[15:20:09] *** jtimon has quit IRC
[15:20:14] *** dmack has joined #angularjs
[15:20:17] *** adpirz has joined #angularjs
[15:20:30] *** davi has joined #angularjs
[15:20:39] *** dannyc has quit IRC
[15:21:21] *** ki0 has joined #angularjs
[15:21:51] <cheef> is it safe to bind to a deeply nested model property?
[15:22:01] <cheef> ng-model=my.really.need.property?
[15:22:25] *** bayousoft has quit IRC
[15:22:35] <Cedric> fairuz: like http://community.apigee.com/questions/22/apigee-pre-flight-options-requests.html giving an exemple to make a rule to a null route for OPTIONS verb
[15:22:36] *** dc has joined #angularjs
[15:22:42] *** tristanp has quit IRC
[15:22:46] *** thomasvs has quit IRC
[15:22:48] *** m_e has quit IRC
[15:22:58] *** bayousoft has joined #angularjs
[15:23:18] *** prosper_ has quit IRC
[15:23:18] <sacho_> I don't think you can set custom headers for the options request
[15:23:25] *** victorwww has quit IRC
[15:23:33] <sacho_> have you tried setting those custom headers on the parent request?
[15:23:50] *** TonyM has joined #angularjs
[15:23:51] <TonyM> Hello everyone
[15:23:54] *** lsiv568 has quit IRC
[15:23:58] <sacho_> oh, fairuz already answered.
[15:24:15] <sacho_> cheef, sure.
[15:24:25] <sacho_> cheef, angular creates empty objects where needed.
[15:24:29] *** ngbot has joined #angularjs
[15:24:29] <ngbot> [angular.js] Narretz pushed 1 new commit to master: http://git.io/zJTXcg
[15:24:29] <ngbot> angular.js/master 2d6a0a1 Martin Staffa: fix(ngModelController): always use the most recent viewValue for validation...
[15:24:29] *** ngbot has left #angularjs
[15:24:34] *** coderat has quit IRC
[15:24:36] *** jonatas_oliveira has quit IRC
[15:24:43] *** artee_1 has joined #angularjs
[15:25:01] *** visualshock has joined #angularjs
[15:25:04] *** adpirz has quit IRC
[15:25:13] *** jonatas_oliveira has joined #angularjs
[15:25:27] *** bayousoft has quit IRC
[15:25:30] <visualshock> I have a variable that contains html, but is does not render. Do I need to add a filter to it?
[15:25:32] *** ron1 has joined #angularjs
[15:25:33] <TonyM> In AngularJS how would you maintain the value input to an input box even after page refresh? Like make the input the default value until changed or something?
[15:25:54] *** bayousoft has joined #angularjs
[15:26:15] <Cedric> sacho_: yes
[15:26:22] *** pknordic has joined #angularjs
[15:26:28] <jonaslil_> my life would suck without promises!
[15:26:32] *** jonr22 has joined #angularjs
[15:26:41] <TonyM> Any one?
[15:26:58] <jonaslil_> TonyM: localStorage
[15:26:59] <TonyM> In AngularJS how would you maintain the value input to an input box even after page refresh? Like make the input the default value until changed or something?
[15:27:01] <Cedric> sacho_: I see that the header is known by the OPTIONS request as the field Access-Controle-Request-Headers is listing it
[15:27:03] *** dc has quit IRC
[15:27:18] <Cedric> but there is no value, just the name of the header (for negociation I suppose)
[15:27:23] *** lsiv568 has joined #angularjs
[15:27:24] *** livingstn has joined #angularjs
[15:27:25] <TonyM> I read that but not sure how to implement
[15:27:40] <jonaslil_> TonyM: look into ngStorage
[15:27:49] <jonaslil_> https://github.com/gsklee/ngStorage
[15:28:12] *** artee_ has quit IRC
[15:28:29] *** bayousoft has quit IRC
[15:28:32] *** Solid1 has joined #angularjs
[15:28:35] <TonyM> thanks
[15:28:36] *** prosper_ has joined #angularjs
[15:28:39] *** TonyM has quit IRC
[15:29:13] *** Snugug has joined #angularjs
[15:29:19] *** ngbot has joined #angularjs
[15:29:20] <ngbot> [angular.js] Narretz pushed 1 new commit to master: http://git.io/2om6Bg
[15:29:20] <ngbot> angular.js/master a1c5f2b Clay Anderson: docs(guide/forms): enhanced form examples to utilize $touched...
[15:29:20] *** ngbot has left #angularjs
[15:29:31] *** bayousoft has joined #angularjs
[15:29:38] <sacho_> Cedric, I don't really remember the specifics for preflight requests, sorry :)
[15:29:38] *** thomastuts has quit IRC
[15:30:34] <sacho_> Cedric, but a quick glance at http://www.w3.org/TR/cors/#preflight-request supports that
[15:30:40] *** bengillies has quit IRC
[15:30:45] <jonaslil_> OOOh are u guys talking about preflight, i would love to make them go away
[15:31:33] *** jonr22 has quit IRC
[15:32:54] *** avens has quit IRC
[15:33:41] *** LeDiegue has joined #angularjs
[15:33:46] *** mary5030 has joined #angularjs
[15:33:54] <LeDiegue> Buenas
[15:34:01] *** sjt003 has joined #angularjs
[15:34:06] *** sidthekid has quit IRC
[15:34:16] *** Shrooms has joined #angularjs
[15:34:16] *** Shrooms has joined #angularjs
[15:34:28] *** BobbieBarker_ has quit IRC
[15:34:30] *** bayousoft has quit IRC
[15:35:07] *** soren_engel has joined #angularjs
[15:35:14] *** bayousoft has joined #angularjs
[15:35:16] *** whitebook has joined #angularjs
[15:35:16] *** VeeWee has quit IRC
[15:35:23] *** foofoobar has quit IRC
[15:35:29] *** jr3 has quit IRC
[15:36:08] *** dman777_alter has joined #angularjs
[15:36:15] *** jdcasey has quit IRC
[15:37:07] <Cedric> sacho_: If author request headers is not empty include an Access-Control-Request-Headers header with as header field value a comma-separated list of the header field names from author request headers in lexicographical order, each converted to ASCII lowercase (even when one or more are a simple header).
[15:37:33] <Cedric> sacho_: AND Exclude the author request headers.
[15:37:48] <cheef> sacho_: cheers looks like it uses $parse
[15:38:01] <Cedric> I guess means that the content of the headers are wiped
[15:38:10] <sacho_> yes
[15:38:22] <Cedric> (just converted as coma seperated values)
[15:38:34] *** Sawbones has joined #angularjs
[15:38:42] *** prbc has joined #angularjs
[15:38:50] *** soren_engel has quit IRC
[15:39:19] *** qstrahl has joined #angularjs
[15:39:21] <christo_m> this may be more of a generic js question, but is it possible to have div layers stack with z-indices and then have certain events fire for specific z-index
[15:39:31] *** noob_ has quit IRC
[15:39:33] <christo_m> for example, drag events affect layer 1, tap events affect layer 0 etc
[15:39:49] *** plato has joined #angularjs
[15:40:24] *** jr3 has joined #angularjs
[15:40:37] *** tristanp has joined #angularjs
[15:40:47] *** bengillies has joined #angularjs
[15:41:25] <dmack> christo_m: bubbling
[15:41:34] *** juampy_food is now known as juampy
[15:41:45] *** Torrieri has joined #angularjs
[15:41:48] <dmack> not sure you can specify how far up an event bubbles thought, i know you can prevent it from bubbling at all
[15:42:23] *** scythe__ has joined #angularjs
[15:42:35] <sacho_> christo_m, not really.
[15:43:07] <jlebrech> what's the state of angular-animate, last time i looked it was a mess
[15:43:11] *** elrabin has joined #angularjs
[15:43:15] *** xaaabk has quit IRC
[15:43:24] *** soren_engel has joined #angularjs
[15:43:31] <Cedric> sacho_: thx for your help
[15:43:32] *** bayousoft has quit IRC
[15:43:43] <Cedric> fairuz: thx for your help
[15:43:46] *** jdivock has joined #angularjs
[15:44:12] *** bayousoft has joined #angularjs
[15:44:45] *** BillCriswell has joined #angularjs
[15:44:57] *** sixr420 has joined #angularjs
[15:46:06] <Cedric> And another quetion (unrelated) I would like to have a static non angularjs site runnuing at / and would like my angular app working at /something/. Any idea where I have to look?
[15:46:22] *** knownasilya has joined #angularjs
[15:46:27] *** soren_engel has quit IRC
[15:47:14] *** dejanr has joined #angularjs
[15:47:47] <Cedric> (and as you could guess, i do not have access on the server context to create 2 different applications)
[15:48:23] *** Evanion has joined #angularjs
[15:48:32] *** mfunkie has joined #angularjs
[15:48:57] *** PeterMetz has joined #angularjs
[15:50:06] *** avens has joined #angularjs
[15:50:10] *** ctanga has joined #angularjs
[15:50:11] *** rafagomes has joined #angularjs
[15:50:45] *** avens has quit IRC
[15:50:58] *** avens has joined #angularjs
[15:51:24] *** Cedric has quit IRC
[15:51:37] *** SargoDarya has quit IRC
[15:51:54] *** SargoDarya has joined #angularjs
[15:52:04] *** rho has joined #angularjs
[15:52:04] *** SargoDarya has quit IRC
[15:52:04] *** SargoDarya has joined #angularjs
[15:52:04] *** rho has quit IRC
[15:52:05] *** rho has joined #angularjs
[15:52:27] *** davesidious__ is now known as davesidious
[15:52:33] *** soren_engel has joined #angularjs
[15:52:48] *** Oxynum has joined #angularjs
[15:53:17] *** nerdy has quit IRC
[15:53:29] <jlebrech> do any sites like plunkr let you put in some scope data without needing to add js files?
[15:54:02] <kakashiAL> I have a datepicker in an inputfield. I set the datepicker to see the date in the format that I need which is:
[15:54:03] <kakashiAL> day.month.year, for example 01.12.2014 <--this is what I see if I pick my date and this is what I want
[15:54:05] <kakashiAL> Now I want to store that date in my database and put that date in my inputfield if I read the date from the database
[15:54:07] <kakashiAL> I have a solution to parse this date: 01.12.2014 and give each part to a date object
[15:54:11] <kakashiAL> MY QUESTION: is there an easy way to do that?
[15:54:33] <christo_m> dmack: bubbling.. yes
[15:54:47] <christo_m> sacho_: why do you say not really?
[15:55:25] *** soren_engel has quit IRC
[15:55:33] *** Guest89 has joined #angularjs
[15:55:43] *** ddddbbbb has joined #angularjs
[15:55:44] <sacho_> because you can't tell which "z-index" element you clicked
[15:56:32] *** tschundeee has joined #angularjs
[15:56:40] *** Mxyzpltk has joined #angularjs
[15:56:47] *** Chubbs has joined #angularjs
[15:56:57] *** kohgpat has quit IRC
[15:57:21] *** hecatonicosachor has joined #angularjs
[15:57:48] *** Oxynum has quit IRC
[15:58:35] <swirlycheetah> my ngClass call is happening waaayyy too late in the angular process, what could I use instead?
[15:59:24] *** serengeor has quit IRC
[16:00:19] *** sacho has quit IRC
[16:00:20] *** adben has joined #angularjs
[16:00:25] *** gnrlbzik has joined #angularjs
[16:00:32] *** CodeFriar has joined #angularjs
[16:00:53] *** lsiv568 has quit IRC
[16:01:03] <swirlycheetah> jlebrech: can you not just inline some js with script tags?
[16:01:15] <jlebrech> yeah i guess
[16:01:34] *** StryKaizer has quit IRC
[16:01:39] <jlebrech> just wanted to see if something quicker wa around
[16:01:41] *** sigurding has joined #angularjs
[16:01:41] <swirlycheetah> you can do some stuff in templates, e.g. {{ 1+1 }}
[16:01:55] *** mary5030 has quit IRC
[16:02:03] *** bengillies has quit IRC
[16:02:03] <jlebrech> it would have to include angularjs in the plunkr file etc..
[16:02:21] *** jae has joined #angularjs
[16:02:31] *** mary5030 has joined #angularjs
[16:02:36] *** bmac has joined #angularjs
[16:02:48] <swirlycheetah> true
[16:02:53] *** bengillies has joined #angularjs
[16:03:14] *** hecatonicosachor has quit IRC
[16:03:26] <sacho_> too late compared to what?
[16:03:36] *** jae has left #angularjs
[16:03:39] <sacho_> when do you want it to happen?
[16:04:42] *** adben has quit IRC
[16:05:06] *** gnrlbzik has quit IRC
[16:05:41] *** digisky has joined #angularjs
[16:05:58] *** gnrlbzik has joined #angularjs
[16:06:42] *** avens has quit IRC
[16:06:55] *** mary5030 has quit IRC
[16:07:05] <swirlycheetah> sacho_: too late in the angular cycle it seems (a bit of googling suggests ngClass runs pretty late on in a digest)
[16:07:10] *** jasonp has joined #angularjs
[16:07:20] *** adben has joined #angularjs
[16:07:22] *** jdivock_ has joined #angularjs
[16:07:26] <christo_m> dmack: it looks like that whole "circumventing the digest cycle" is happening to me again: http://pastie.org/9762695
[16:07:29] <christo_m> btw i resolved the mouse issue
[16:07:30] *** walden is now known as walden|brb
[16:07:34] *** bayousoft has quit IRC
[16:07:42] *** jdivock_ has quit IRC
[16:07:52] <christo_m> dmack: currentAppInFocus never updates, i have to force it with an apply or something i guess?
[16:07:57] *** jdivock has quit IRC
[16:08:00] <christo_m> and i suspect its because im using an event listener for recv
[16:08:11] *** bayousoft has joined #angularjs
[16:08:18] *** jdivock has joined #angularjs
[16:08:30] <swirlycheetah> sacho_: i'm basically switching an element class to swipe a view from left to right, but the switch of classes applied seems to happen late meaning the slide starts in one direction (the incorrect one) then switches to animating in the correct direction after a short amount of time
[16:08:34] *** danbkang has joined #angularjs
[16:08:43] <swirlycheetah> sacho_: which is causing a strange flickering transition =(
[16:08:51] <dmack> christo_m: yeah, but in this case you dont have scope
[16:08:55] <dmack> because you're in a service
[16:08:56] *** ddddbbbb has left #angularjs
[16:09:08] *** Fire-Dragon-DoL has joined #angularjs
[16:09:14] <dmack> does your code ever get into window.tlantic.plugins.socket.receiveHookName?
[16:09:15] <christo_m> app.controller('NavBarController', function($scope, SocketService) {
[16:09:15] <christo_m> $scope.appName = SocketService.currentAppInFocus;
[16:09:19] <christo_m> even if i have something like this?
[16:09:33] <dmack> yeah, that wont work.
[16:09:37] <christo_m> dmack: yes, i see recvs in the console
[16:09:40] <christo_m> so it is binding the listener
[16:09:47] <dmack> you'll need to broadcast an event
[16:10:02] <christo_m> beep boop, doesnt that inovlve injecting rootscope?
[16:10:15] *** bengillies has quit IRC
[16:10:17] *** Milkweed has quit IRC
[16:10:31] *** SargoDarya has quit IRC
[16:10:38] *** bayousoft has quit IRC
[16:10:45] <dmack> could be a case for it
[16:10:49] *** bengillies has joined #angularjs
[16:10:50] *** Hounddog has quit IRC
[16:11:14] *** bayousoft has joined #angularjs
[16:11:17] *** lite has joined #angularjs
[16:11:24] <christo_m> hmph ok
[16:11:36] <christo_m> its coming together though, the mouse is proper
[16:11:45] *** BaconOverflow has joined #angularjs
[16:11:59] <christo_m> apparently its not a common use case to send mouse events over TCP to a C++ plugin inside a node webkit app on your computer
[16:12:06] <christo_m> :P
[16:12:07] *** SargoDarya has joined #angularjs
[16:12:38] *** Sawbones_ has joined #angularjs
[16:12:51] *** Sawbones has quit IRC
[16:13:32] *** tristanp has quit IRC
[16:13:34] *** sigurding has quit IRC
[16:13:41] *** whitebook has quit IRC
[16:14:29] *** zivester has quit IRC
[16:14:37] *** Sawbones has joined #angularjs
[16:14:40] *** _dc has joined #angularjs
[16:15:03] *** oste has joined #angularjs
[16:15:20] *** _dc_ has joined #angularjs
[16:15:44] *** lite has quit IRC
[16:15:54] *** opiates has joined #angularjs
[16:16:03] <christo_m> dmack: okay so i broadcast the message i receive with $rootScope.$broadcast('recv', msg) or whatever, and tehn do a $scope.$on('trackLoaded', function(event, track) { $scope.current = track; console.log($scope.current);
[16:16:17] <dmack> looks good
[16:16:17] <christo_m> woops, $scope.$on('recv
[16:16:21] *** tschundeee has quit IRC
[16:16:34] <christo_m> ive just heard its bad practice to pollute rootscope
[16:16:38] *** bayousoft has quit IRC
[16:16:40] <dmack> it is
[16:16:45] <christo_m> are services an exception because you're aware of who's broadcasting
[16:16:45] <dmack> but in your case, you aren't abusing it
[16:16:48] *** dcherman has joined #angularjs
[16:16:52] *** jdivock_ has joined #angularjs
[16:17:19] *** SuRfDeMo1 is now known as SuRfDeMoN
[16:17:24] *** bayousoft has joined #angularjs
[16:17:26] <Foxandxss> overusing events is also not recommended
[16:17:31] *** weems|mac has quit IRC
[16:17:34] <dmack> ^
[16:17:53] <christo_m> well i cant help it, this is pretty central shit
[16:17:58] <christo_m> tcp recvs
[16:18:05] <christo_m> doing it live, sec
[16:18:13] *** Sawbones_ has quit IRC
[16:18:17] <dmack> in his case he needs to use events
[16:18:49] *** DoubleAW has joined #angularjs
[16:19:06] *** _dc has quit IRC
[16:19:36] *** tbo_ has joined #angularjs
[16:20:17] *** jdivock__ has joined #angularjs
[16:20:20] *** walden|brb is now known as walden
[16:20:29] *** jdivock_ has quit IRC
[16:20:34] *** shackleford has joined #angularjs
[16:20:36] *** jdivock has quit IRC
[16:20:43] <sacho_> It's hard to follow your problem because I'd need to read the whole conversation
[16:21:17] *** AWAW has quit IRC
[16:21:21] *** shacklef_ has joined #angularjs
[16:21:29] <sacho_> $rootScope.$broadcast is very loud, why can't you emit and listen on the rootscope instead?
[16:22:38] *** bayousoft has quit IRC
[16:23:11] *** bayousoft has joined #angularjs
[16:23:22] <christo_m> sacho_: doesn't broadcast propagate down to the children?
[16:23:26] <christo_m> i may want that at some point
[16:23:33] *** kohgpat has joined #angularjs
[16:23:36] <sacho_> why?
[16:23:38] *** asd_ has joined #angularjs
[16:23:50] *** asd_ has quit IRC
[16:23:52] <sacho_> if it's already a global event
[16:24:03] <sacho_> anyone that needs to listen to it can just listen on the rootscope for emits
[16:24:14] *** apetro_ has joined #angularjs
[16:24:44] <jaydubya> in ui-router, I need to clear a $scope object and redirect to another named route (/login). To use $state.go('login'), do I need to inject $state into the controller function in .state? and do I also need to inject $locationProvider?
[16:24:47] <christo_m> sacho_: but then i need to inject $rootScope into everything?
[16:24:52] *** shackleford has quit IRC
[16:25:02] *** apetro_ has quit IRC
[16:25:05] *** thumpba has quit IRC
[16:25:07] <sacho_> no, only where you need to listen to that event
[16:25:17] <christo_m> jaydubya: i just injected $state and it worked
[16:25:18] *** apetro_ has joined #angularjs
[16:25:21] *** fourq has quit IRC
[16:25:22] *** apetro_ has quit IRC
[16:25:23] *** emmesswhy has quit IRC
[16:25:42] *** thumpba has joined #angularjs
[16:25:55] *** apetro_ has joined #angularjs
[16:26:27] *** elrabin has quit IRC
[16:26:49] *** awhitney has joined #angularjs
[16:26:50] *** awhitney has quit IRC
[16:26:52] *** mary5030 has joined #angularjs
[16:27:02] *** mary5030 has quit IRC
[16:27:17] *** elrabin has joined #angularjs
[16:27:41] *** jdivock__ has quit IRC
[16:27:47] *** mary5030 has joined #angularjs
[16:28:15] *** jdivock has joined #angularjs
[16:28:22] *** tristanp has joined #angularjs
[16:29:00] *** jdivock has quit IRC
[16:29:16] *** kohgpat has quit IRC
[16:29:25] *** jdivock has joined #angularjs
[16:29:31] *** olivvv has joined #angularjs
[16:29:36] *** raypulver has quit IRC
[16:30:00] *** Fishy__ has joined #angularjs
[16:30:03] *** daynaskully has quit IRC
[16:30:11] *** bbankes has quit IRC
[16:30:18] *** thumpba has quit IRC
[16:30:26] *** fourq has joined #angularjs
[16:31:23] *** ahtik has joined #angularjs
[16:31:39] *** mfunkie has quit IRC
[16:32:27] *** mogaj has quit IRC
[16:33:00] *** dannyc_ has quit IRC
[16:34:20] *** jillesme has quit IRC
[16:34:21] *** GreenJello has joined #angularjs
[16:34:28] *** wsmoak has quit IRC
[16:35:48] *** rhodesjason has joined #angularjs
[16:36:04] *** mchammer has quit IRC
[16:36:20] *** Anonymous_ has joined #angularjs
[16:36:54] *** dacuca has joined #angularjs
[16:36:57] *** mccarrontr1ck has quit IRC
[16:37:39] *** htmelvis has quit IRC
[16:37:41] *** bayousoft has quit IRC
[16:38:22] *** bayousoft has joined #angularjs
[16:38:37] *** Christer has quit IRC
[16:39:04] *** SargoDarya has quit IRC
[16:39:04] *** mccarrontr1ck has joined #angularjs
[16:39:20] *** thumpba has joined #angularjs
[16:40:14] *** plekplek has quit IRC
[16:40:19] *** busticated has joined #angularjs
[16:40:31] *** IvailoStoianov has quit IRC
[16:40:51] *** sigurding has joined #angularjs
[16:40:59] <jaawerth> jaydubya: just $state. And yes, you need to inject it - you gotta inject any service you want to use, they aren't globals ;-)
[16:40:59] *** mtsr has quit IRC
[16:41:20] *** Slowintrepid has joined #angularjs
[16:41:25] *** colares has joined #angularjs
[16:41:33] *** jdivock_ has joined #angularjs
[16:42:32] *** sonofdirt has joined #angularjs
[16:42:35] *** advy has quit IRC
[16:43:14] *** tschundeee has joined #angularjs
[16:43:23] *** thomasvs has joined #angularjs
[16:44:28] *** SahanH has quit IRC
[16:44:37] *** jdivock has quit IRC
[16:45:24] *** D-Boy has quit IRC
[16:45:26] *** AngularUI has joined #angularjs
[16:45:26] <AngularUI> [ui-router] christopherthielen pushed 3 new commits to master: http://git.io/ede1Yg
[16:45:26] <AngularUI> ui-router/master b0c6aa2 christopherthielen: fix($urlMatcherFactory): add Type.$normalize function...
[16:45:27] <AngularUI> ui-router/master a478f19 christopherthielen: docs(site): Add 'Provider' text near gear icon
[16:45:27] <AngularUI> ui-router/master 030f4df christopherthielen: Merge branch 'master' of https://github.com/angular-ui/ui-router
[16:45:27] *** AngularUI has left #angularjs
[16:45:52] <Slowintrepid> Could someone give me a quick hand with ui-router? I have a main ui-view in my index.html that swaps in different views. Then some of the views that get swapped in the main ui-view have two named views. I'm having a hard time configuring the named view portion.
[16:45:53] <Slowintrepid> http://plnkr.co/edit/ULO9e1kbblDGndPYWxdV?p=info
[16:46:05] *** prbc has quit IRC
[16:46:14] <Slowintrepid> Here's a plunk of what I'm trying to do. mainly look at the compliance.js file to see my bad router config :)
[16:47:04] *** AngularUI has joined #angularjs
[16:47:04] <AngularUI> [ui-router] christopherthielen pushed 2 new commits to gh-pages: http://git.io/3o31nQ
[16:47:04] <AngularUI> ui-router/gh-pages c1e8398 christopherthielen: Merge remote-tracking branch 'upstream/master' into gh-pages
[16:47:05] <AngularUI> ui-router/gh-pages 3d99a78 christopherthielen: docs(site): rebuild docs with 'Provider' near gear icons
[16:47:05] *** AngularUI has left #angularjs
[16:47:13] *** ciwolsey has joined #angularjs
[16:47:45] *** Guest89 has quit IRC
[16:47:47] *** narutimateum has quit IRC
[16:48:36] *** bbankes has joined #angularjs
[16:48:44] *** avens has joined #angularjs
[16:49:11] <BobbieBarker> hey has anyone ever used protractor against an app that is bootstrapped?
[16:49:31] *** Evanion has quit IRC
[16:49:37] <BobbieBarker> and by bootstrapped i mean it uses manual initialization
[16:50:05] *** D-Boy has joined #angularjs
[16:50:07] *** thumpba has quit IRC
[16:50:20] *** cojack has quit IRC
[16:50:27] *** avens has quit IRC
[16:50:42] *** {DV8} has joined #angularjs
[16:50:44] *** thumpba has joined #angularjs
[16:51:00] *** ctanga has quit IRC
[16:51:11] <matta_> is anyone familiar with writing end to end tests with protractor? i'm trying to get the count of an ng repeat, but my page uses pagination and the count I get is always just the max number of items on a page
[16:51:12] *** htmelvis has joined #angularjs
[16:51:20] *** jmverges has joined #angularjs
[16:52:12] *** fedenunez1 has joined #angularjs
[16:52:27] *** fedenunez1 has joined #angularjs
[16:52:54] *** kohgpat has joined #angularjs
[16:53:25] *** iateadonut has joined #angularjs
[16:53:49] <swirlycheetah> can you click the load more button or scroll down programatically somehow matta_?
[16:54:08] *** yoshokatana has joined #angularjs
[16:54:25] *** cactauz has joined #angularjs
[16:54:29] *** macabre has joined #angularjs
[16:54:45] <matta_> swirlycheetah: yeah but i would rather not click through hundreds of pages
[16:54:59] *** ron1 has quit IRC
[16:55:00] *** fedenunez has quit IRC
[16:55:13] *** thumpba has quit IRC
[16:55:17] *** ron1 has joined #angularjs
[16:55:19] *** jr3 has quit IRC
[16:55:25] *** tehfedaykin has joined #angularjs
[16:55:46] *** NevilleS has joined #angularjs
[16:56:21] *** cads has quit IRC
[16:56:43] <merpnderp> In my top level controller I need to do things like reinit when certain models change in different services. Shoudl I create a watcher on the model, or have the service emit a 'change' event?
[16:56:51] *** Arf has joined #angularjs
[16:57:04] *** mven has joined #angularjs
[16:57:06] *** roman has joined #angularjs
[16:57:28] <jaawerth> merpnderp: what do you mean reinit?
[16:57:38] *** tschundeee has quit IRC
[16:57:46] <merpnderp> If a {} chnages a watcher will only fire if the reference changes, not if a property changes, which makes that a hard solution.
[16:57:49] *** tschundeee has joined #angularjs
[16:58:02] <merpnderp> jaawerth: well it might need to update difference services.
[16:58:08] *** cacts|wtf has joined #angularjs
[16:58:15] *** dmrs has quit IRC
[16:58:18] <merpnderp> hmm....which actually means, my service shoudl be updating the other service.s
[16:58:26] <merpnderp> thanks jaawerth :D
[16:58:31] <jaawerth> haha, yep ;-)
[16:58:55] *** prbc has joined #angularjs
[16:59:03] <jaawerth> or if information is shared from one service to another, you could just inject it and reference it directly through the service
[16:59:04] *** olivvv has quit IRC
[16:59:14] <jaawerth> that way you wouldn't have to do the extra code overhead to keep it updated
[16:59:39] *** Oxynum has joined #angularjs
[17:00:37] *** jr3 has joined #angularjs
[17:00:50] *** cactauz has quit IRC
[17:00:52] <roman> I have a template I use from multiple sources. I want to pass the name of a variable to use as ng-model when using ng-include on that template. is there any way to do that? I basically have something like <input ng-model="model"> and I want "model" to reference the variable passed via onload in the nginclude.
[17:01:02] *** mccarron_ has joined #angularjs
[17:01:20] *** mccarrontr1ck has quit IRC
[17:01:27] <roman> just setting "model = this.is.the.variable" won't work, since it just copies the value it has
[17:01:33] *** mccarron_ has quit IRC
[17:01:37] *** Arf has quit IRC
[17:01:52] *** mccarrontr1ck has joined #angularjs
[17:02:24] *** tristanp has quit IRC
[17:02:28] *** scythe__ has quit IRC
[17:02:41] *** jillesme has joined #angularjs
[17:02:44] <roman> can I somehow pass the variable as string and have angular interpret it correctly in the ng-model attribute?
[17:03:28] <roman> as in "model = 'this.is.the.variable'" and then using <input ng-model="model">
[17:03:39] *** ianpirro has joined #angularjs
[17:04:17] *** merb has quit IRC
[17:04:22] *** tristanp has joined #angularjs
[17:04:48] *** fabiofb has quit IRC
[17:04:59] *** Slowintrepid has quit IRC
[17:05:18] *** jr3 has quit IRC
[17:05:19] *** Slowintrepid has joined #angularjs
[17:05:57] *** ki0 has quit IRC
[17:05:57] *** Oxynum has quit IRC
[17:06:15] *** MuffinMan` has joined #angularjs
[17:07:09] *** patrickarlt has joined #angularjs
[17:07:27] *** swirlycheetah has quit IRC
[17:07:43] *** bayousoft has quit IRC
[17:07:53] *** weems|mac has joined #angularjs
[17:08:03] *** weems|mac has quit IRC
[17:08:03] *** weems|mac has joined #angularjs
[17:08:06] *** DanSkaggs has joined #angularjs
[17:08:15] *** bayousoft has joined #angularjs
[17:08:30] <jaawerth> roman: the only way to do that with ng-include would be by setting whatever scope properties the template is expecting. One hacky workaround would be to wrap it in an object (myTemplateModel, say) and then copy the object with your target model on it so it will be a reference to the same model... personally I'd just write a custom directive, though
[17:08:44] *** ianpirro_ has joined #angularjs
[17:08:53] *** ianpirro has quit IRC
[17:09:17] *** adpirz has joined #angularjs
[17:09:21] <roman> jaawerth: thanks, I thought so. I'll see what my best option from those is
[17:09:22] <jnott> try reachjs
[17:09:24] <jnott> reactjs
[17:09:27] *** Arf has joined #angularjs
[17:10:02] *** Arf has joined #angularjs
[17:10:59] <NevilleS> roman: or just $compile("<div ng-model='this.is.the.variable'></div>")($scope)
[17:11:03] *** frant has joined #angularjs
[17:11:16] *** D9 has joined #angularjs
[17:11:34] *** icfantv has joined #angularjs
[17:11:35] *** Embassy has joined #angularjs
[17:11:40] <frant> hello guys
[17:11:45] *** MotherMGA has joined #angularjs
[17:12:07] <jaawerth> NevilleS: ooh, that's dirty
[17:12:09] *** frant has quit IRC
[17:12:11] *** jr3 has joined #angularjs
[17:12:14] *** DLSteve has joined #angularjs
[17:13:12] <NevilleS> jaawerth: not really. that's what ng-include does
[17:13:27] <jaawerth> I meant doing that outside of a directive
[17:13:30] <NevilleS> it sounds like he doesn't know the object to bind to until runtime
[17:13:34] <NevilleS> that'd be in a directive
[17:13:37] *** dejanr has quit IRC
[17:13:43] *** kohgpat has quit IRC
[17:14:00] *** adpirz has quit IRC
[17:14:01] <jaawerth> oh, I thought you were adding it to my options of using scope inheritance or writing a custom directive
[17:14:07] <NevilleS> so like <div my-magic-directive></div>
[17:14:17] <NevilleS> my-magic-directive figures out what variable you want
[17:14:19] *** cheef has quit IRC
[17:14:26] <NevilleS> element.append($compile(...)(scope))
[17:14:26] <MotherMGA> hello, I have a directive that emits an input[type=checkbox] and I've finding that the checkbox checked state isn't getting bound to the value of the model passed through.
[17:14:55] *** ctanga has joined #angularjs
[17:14:55] <jaydubya> can someone help me with an architecture problem? ... each loan in the application has an approval committee assigned ... there is also a comment system setup but right now, the comments are related to the loan_id and the responses are related to the comment_id. Now, they want this: when a comment is made on a loan, all committee members are required to "confirm" they have read the comment. I'm not sure how to archit
[17:14:55] <jaydubya> ect that?
[17:14:59] <MotherMGA> I have a feeling that the generated input isn't triggering the input[checkbox]. is there a way to do that?
[17:15:20] *** marcjs has quit IRC
[17:15:25] <jaawerth> ng-include also transcludes
[17:15:32] *** jonr22 has joined #angularjs
[17:16:16] *** fedenunez1 has quit IRC
[17:16:24] *** fedenunez has joined #angularjs
[17:16:45] <jaydubya> ( without scope.creep, our jobs would only be impossible ) LOL
[17:17:29] <roman> I'd prefer to use a normal template though, not having to run custom code. luckily in my case all my targets are nested objects, so I'm using "modelObject = this.is.the; modelKey = 'variable'" in the onload and <input ng-model="modelObject[modelKey]"> in the template
[17:17:30] <matta_> is it possible to access scope variables in my end to end tests
[17:17:58] *** dannyc_ has joined #angularjs
[17:18:01] *** cthrax has joined #angularjs
[17:18:08] *** AWAW has joined #angularjs
[17:18:08] *** dannyc_ has quit IRC
[17:18:15] *** conan_the_destro has joined #angularjs
[17:18:24] *** dannyc_ has joined #angularjs
[17:18:37] *** loverajoel has quit IRC
[17:19:01] *** azizur has quit IRC
[17:19:17] *** sigurding has quit IRC
[17:19:36] *** Guest72791 has joined #angularjs
[17:19:37] *** laurensclaessen has quit IRC
[17:20:08] <kakashiAL> hat /query jaawerth
[17:20:17] *** zackiv31 has quit IRC
[17:20:17] <jaawerth> ?
[17:20:17] *** moogey has joined #angularjs
[17:20:19] *** jonr22 has quit IRC
[17:20:44] <icfantv> jaydubya: are you talking about from a DB standpoint?
[17:20:45] *** cacts has quit IRC
[17:21:02] *** apetro__ has joined #angularjs
[17:21:17] *** DoubleAW has quit IRC
[17:21:25] *** doerteDev is now known as doerteGone
[17:21:37] *** pknordic has quit IRC
[17:21:38] *** Oxynum has joined #angularjs
[17:21:44] <jaydubya> icfantv: I guess if I can figure out how to store the solution, I can implement it ... so, yes
[17:21:52] *** elrabin_ has joined #angularjs
[17:22:13] *** Juanchito has joined #angularjs
[17:22:42] *** mmealling has quit IRC
[17:22:50] <icfantv> jaydubya: the first thing that comes to mind is a committee_member_id : comment_id mapping table. you insert into the table when a committee member confirms.
[17:23:09] *** tkh44 has joined #angularjs
[17:23:24] *** zackiv31 has joined #angularjs
[17:23:25] *** mmealling has joined #angularjs
[17:23:32] *** zackiv31 has quit IRC
[17:23:42] *** evanjs has quit IRC
[17:23:50] *** jonatas_oliveira has quit IRC
[17:24:17] *** apetro_ has quit IRC
[17:24:22] *** jonatas_oliveira has joined #angularjs
[17:24:27] <icfantv> jaydubya: depending on how many committee members you have and how many comments you have (and how many loans) this table could grow quite large quite quickly so you'll want indexes on both columns. you'll probably also want to consider some type of archive table that moves the relationships older than N days.
[17:24:30] *** laurensclaessen has joined #angularjs
[17:25:18] <jaydubya> icfantv: so a many-to-many relationship?
[17:25:42] *** jonatas_oliveira has quit IRC
[17:25:49] *** themime has joined #angularjs
[17:25:53] *** jonatas_oliveira has joined #angularjs
[17:25:54] *** NevilleS has quit IRC
[17:25:59] <icfantv> jaydubya: no. each comment has it's own ID
[17:26:40] <icfantv> jaydubya: and it makes zero sense to make a committee member confirm more than once per comment, right?
[17:26:41] *** phzon has quit IRC
[17:27:02] *** snurfery has quit IRC
[17:27:05] *** arabot has joined #angularjs
[17:27:21] *** tangorri has quit IRC
[17:27:24] *** ishan1604 has quit IRC
[17:28:11] *** bengillies has quit IRC
[17:28:12] *** mmealling has quit IRC
[17:28:12] <christo_m> anyone know how to programmatically show the keyboard in ios/android with ionic?
[17:28:17] <icfantv> jaydubya: if it were many to many, we'd want to break that up
[17:28:18] <jaydubya> icfantv: correct and correct
[17:28:21] <christo_m> im looking at the docs and it seems there isnt a way to make it pop up, also #ionic is dead as usual
[17:28:26] <scav> so, when returning a $resource from a service, im supposed to have the rest of my scope (which relies on said resources) to be undefined?
[17:28:39] <Guest72791> yo
[17:28:43] *** roman has quit IRC
[17:28:48] *** pesadillo has joined #angularjs
[17:29:02] <Guest72791> nick ecma_G
[17:29:12] <Guest72791> nick ecma.S_G
[17:29:16] *** bengillies has joined #angularjs
[17:29:16] *** Leon has quit IRC
[17:29:17] *** prosper_ has quit IRC
[17:29:20] *** pesadillo has left #angularjs
[17:29:28] *** tommix000 has quit IRC
[17:29:28] <themime> scav: i don't use $resource but generally things return a promise, so its like a pseudo undefined
[17:29:36] *** prosper_ has joined #angularjs
[17:29:37] *** geilt has quit IRC
[17:29:53] *** geilt has joined #angularjs
[17:29:55] <scav> everyone told me services was the shit in angular, seems like a whole lot of boiler plate for pretty much nothing
[17:29:58] <jaydubya> icfantv: maybe the reverse of your suggestion? When a comment is made, loop through all committee and insert into the mapping table. As they confirm, delete. That way the test to see if they have outstanding, is to check the mapping table???
[17:29:59] *** teddyp1cker has quit IRC
[17:30:02] *** jdivock_ has quit IRC
[17:30:32] *** digifiv5e has joined #angularjs
[17:30:44] <themime> scav: youre not using a service, your using $resource. $resource is unnecesary to me, i just use a service (well, don't use actual service, use a factory)
[17:30:52] <icfantv> jaydubya: that works too. what happens if a committee member leaves? you have residual data
[17:30:58] *** blomman has quit IRC
[17:31:04] *** tfennelly has joined #angularjs
[17:31:08] <merpnderp> arg, circular dependencies in my services.
[17:31:27] <scav> themime: yeah, looks like thats what im going to do as well, the whole idea of promises just feels meh
[17:31:33] *** blomman has joined #angularjs
[17:31:56] *** Ajans has quit IRC
[17:32:02] <themime> scav: wooaah you must have misread what i wrote, promises are what make $resource-less factories awweessooommmeee. promises are great
[17:32:09] <Guest72791> can anyone guide me on how to tackle big commerce... Just need seeking advice before I start
[17:32:13] *** prbc has quit IRC
[17:32:22] <Guest72791> s
[17:32:36] <jaydubya> icfantv: I would have to trigger a "clean" on committee member changes because an analyst has the ability to swap out committee members if one is "dragging his/her feet" so I would have to code for that
[17:32:48] <scav> themime: but for fetching a resource, isnt $http enough?
[17:32:50] *** geiltalasdair has joined #angularjs
[17:32:52] <icfantv> jaydubya: ok. that sounds ok
[17:33:09] *** Guest72791 has quit IRC
[17:33:18] *** avens has joined #angularjs
[17:33:31] <jaydubya> icfantv: I appreciate your help in this ... now I will try to make it happen
[17:33:50] <themime> $resource just adds a bunch of RESTful stuff i don't personally find necessary, and a large chunk of experienced developers here also don't touch $resource. but promises are a must. and yes $http is enough. $http returns a promise though too. a promise is just a "regulated" javascript thing, so instead of .success() you call .then() - but angulars $q also
[17:33:51] <themime> uses the same format, as does jquery's deferred, so promises are just a consistent thing
[17:33:56] *** vectra has quit IRC
[17:33:58] <themime> short answer though is "yes $http is enough"
[17:34:01] *** jdivock has joined #angularjs
[17:34:07] <jaydubya> icfantv: do you love scope.creep as much as I do??? (sarcasm)
[17:34:11] *** lsiv568 has joined #angularjs
[17:34:15] *** sigurding has joined #angularjs
[17:34:24] <scav> right, so if i got a solid rest background, using $resources add more confusion than anything else
[17:35:00] <scav> i have no idea what a deferred in jquery is, im usually the backend guy here...
[17:35:12] <scav> but, i decieded it was a good idea to actually use my own api's :)
[17:35:13] *** sharondio has joined #angularjs
[17:35:32] <icfantv> jaydubya: np. creep is inevitable. just have to keep it under control and make sure the timeline is adjusted accordingly.
[17:35:35] *** dan2k3k4 has quit IRC
[17:35:41] *** jdivock has quit IRC
[17:35:50] *** lsiv568 has quit IRC
[17:35:51] <icfantv> jaydubya: and you need a PM with a backbone to push back when pressured
[17:35:57] *** lsiv568 has joined #angularjs
[17:35:58] *** blomman has quit IRC
[17:36:00] *** nothingpt has quit IRC
[17:36:02] *** geilt has quit IRC
[17:36:04] *** macabre has quit IRC
[17:36:05] <vonnegut> question:
[17:36:14] <merpnderp> So there's no way for a service to talk directly to a service which reads from it.
[17:36:25] *** pretzel80 has joined #angularjs
[17:37:06] *** Snugug has quit IRC
[17:37:12] *** startupality has joined #angularjs
[17:38:06] *** geiltalasdair has quit IRC
[17:38:28] *** matta_ has quit IRC
[17:38:32] *** macabre has joined #angularjs
[17:38:36] <themime> scav: what i do is use $http, then use $q's deferred to create a fresh promise separate from $http's, which allows me to return cached data and in the specific format i want rather than rely on whatever the server is giving me raw from $http. i do all $http calls and processing in the factory then only spit back the exact data the view needs, so the
[17:38:37] <themime> controller doesnt do anything but look pretty
[17:38:38] *** ChadStrat has joined #angularjs
[17:38:50] *** snapwich has joined #angularjs
[17:38:50] <merpnderp> man this is really hard to get everything initialized when you try to put all your app logic in services and they can't have circular dependencies.
[17:38:56] <merpnderp> and yet they all rely upon each other.
[17:39:12] <themime> merpnderp: have a plunker? usually issues like that result from poor planning
[17:39:23] <themime> design? planning? something like im tired
[17:39:39] *** devhoag has quit IRC
[17:39:56] *** ishan1604 has joined #angularjs
[17:40:00] <merpnderp> themime: the code is pretty complex and massive. But my current instance is the navService relies upon the configService and userService to get the correct URL's and permissions for what to show in the nav bars.
[17:40:18] <merpnderp> This used to be done in a single controller.
[17:40:41] <vonnegut> if i have a select whose options yield partials, (differnt payment type form fields) and the code uses ng-controller "CheckoutCtrl as Checkout"
[17:40:41] <vonnegut> it seems that when i declare ng-models in the partial, it doesnt seem to resolve.
[17:40:41] <vonnegut> what must i do to get it to work?
[17:40:42] *** josh-k has joined #angularjs
[17:40:46] <merpnderp> That just reupdated when any of the services threw a global (I updated) event.
[17:40:52] <scav> themime: my backend is highly specialized, it only returns the specific json i need for each request, so i guess its fine with just the raw $http stuff?
[17:41:00] *** laurensclaessen has quit IRC
[17:41:31] <themime> scav: still wouldnt put $http in the controller but you can just have the factory return the $http promise
[17:41:37] *** jdivock has joined #angularjs
[17:41:40] *** Arf_ has joined #angularjs
[17:41:41] <merpnderp> themime: So how can the navService use the configService and userService without them having a dependency to let the navService know they changed?
[17:41:52] <scav> themime: yeah, i have $http in a service
[17:41:53] *** opiates has quit IRC
[17:41:54] <merpnderp> if the navService just registers a callback, then I have a race condition during init.
[17:41:57] *** ionta has joined #angularjs
[17:42:07] <jaydubya> icfantv: no PM for this ... VPofIT listens at meetings with Department Heads and writes down their "Christmas Shopping List" of features, says "My developer can do that" and then gives me the list of changes (and January 1 ISN'T moving)
[17:42:12] <scav> themime: or a .factory rather, but now it returns some insane $$state object with the data inside of it
[17:42:19] <merpnderp> will the navService register its callback before the userService initalizes its userModel?
[17:42:27] *** Oxynum has quit IRC
[17:42:36] <themime> scav: plunker it
[17:42:41] *** Arf has quit IRC
[17:42:43] <ionta> Hi. How can I enumerate over all existing elements (hardcoded or generated by ng-repeat or from partials) in the DOM and alter the text inside?
[17:42:47] *** zemanel has quit IRC
[17:42:54] <themime> merpnderp: callbacks are bad, have you considered $watch?
[17:43:04] <scav> i would not know how to, this whole web thing is anarchy
[17:43:06] <themime> merpnderp: or just relying on angular's very smart data-binding?
[17:43:17] <jaydubya> icfantv: the "sticking point" now is how the heck is the API going to handle the query?
[17:43:18] <merpnderp> themime: a watch on what? a watch on a {} won't update if any properties are updated?
[17:43:41] *** NevilleS has joined #angularjs
[17:43:53] *** bruno_ has joined #angularjs
[17:43:59] <merpnderp> themime: I guess I could try to just let the databinding handle it. But this is a massive refactoring.
[17:44:01] *** juristr has joined #angularjs
[17:44:05] <merpnderp> scary to be guessing if it will work.
[17:44:06] <ionta> this includes p's or divs, but also spans, the text in a-s (but not the link itself), divs inside divs, and pretty much any level of nesting, as long as it is displayed as text in the brwoser
[17:44:07] <themime> ionta: why? usually if you want to manipulate DOM you do it through a directive
[17:44:09] *** bb6xt has quit IRC
[17:44:40] <scav> merpnderp: guessing seems to be the price to pay for lack of compilation
[17:44:46] <ionta> themime: but I'd need to apply the directive to the html body then, no?
[17:44:47] *** laurensclaessen has joined #angularjs
[17:44:49] <juristr> Is it normal that when invoking $scope.someForm.$setPristine() that the $scope.someForm.$error does still contain stuff and $scope.someForm.$invalid is still true??
[17:44:50] <themime> merpnderp: i think it may be needed in this case. its possible your callback is not how i picture it and the issue is elsewhere but my instinct is "woooaah that is very much not the angular way"
[17:45:07] *** aslate has quit IRC
[17:45:11] <juristr> what's the correct way to reset the form and all of its validators
[17:45:13] <MotherMGA> Is there a work around for when a controller that must set its data in a deferred function, where the template references a value that doesn't exist in the scope yet? It seems as though then the data gets bound in the deferred process, the template reference isn't updated.
[17:45:15] *** caitp has joined #angularjs
[17:45:17] <themime> ionta: yes, <body your-scary-directive> or something
[17:45:22] <NevilleS> i just joined but themime is scaring me lol
[17:45:23] *** LeDiegue_ has joined #angularjs
[17:45:23] *** rchavik has quit IRC
[17:45:24] <themime> maybe even html?
[17:45:29] <themime> NevilleS: haha why?
[17:45:30] <ionta> hmm
[17:45:33] *** EdwardIII has joined #angularjs
[17:45:39] <NevilleS> who is adding directives to the html tag
[17:45:39] <EdwardIII> hey
[17:45:48] <merpnderp> themime: I'm not sure this will work. The navService needs the user and config services to builds its model.
[17:45:54] *** LeDiegue has quit IRC
[17:46:00] <ionta> a bit related though, is there a way to see from javascript what goes out as text (ie, rendered, regardless of style, etc) through nesting?
[17:46:00] <merpnderp> so databinding is not a solution.
[17:46:14] <ionta> actually.. can this be done from angular?
[17:46:25] <ionta> i'd rather not implement a directive myself if this exists
[17:46:32] <themime> ionta: what do you mean by "goes out"
[17:46:35] <moogey> merpnderp: Then make a service that does all the work that the navService needs for it. Then point the navService at that.
[17:47:18] <merpnderp> moogey: at some point the navService will need some service which can depend on the userService and configService to return. And needs to know when their models change.
[17:47:24] <themime> NevilleS: i agree, my first thought was "oh god why" but ive had similar questions and sometimes you just want to see if something can be done, so i try not to judge the learning process. just share what i know. i named the directive "your-scary-directive" for a reason haha
[17:47:24] *** tbo_ has quit IRC
[17:47:38] <ionta> <div><span>this is a span</span><div><p>123</p><div><a href='#'>url</a><div>nesting!</div></div></div> would reteurn "this is a span", "123", "url", "nesting!" succesively
[17:47:55] <moogey> merpnderp: as long as you keep everything as object references that's not a problem.
[17:47:56] *** Oxynum has joined #angularjs
[17:47:57] <ionta> ah no, this is a weirder request from someone
[17:48:01] <NevilleS> themime I think it's probably going to be awesome
[17:48:02] <merpnderp> Unless I'm doing this the wrong way and services shoudlnt' depend on each other.
[17:48:20] <NevilleS> ionta look at the implementation for angular collectDirectives
[17:48:23] <ionta> think cheap privacy glass (on the fly rot13 or transliteration). if that's still in "oh god why" territory, think on the fly translation
[17:48:29] <NevilleS> that finds the text nodes for interpolation
[17:48:38] *** davidsunny has joined #angularjs
[17:48:39] <moogey> merpdnerp: services can most definitely depend on each other.
[17:48:39] *** snurfery has joined #angularjs
[17:48:39] <NevilleS> you'd do basically the same thing
[17:48:43] <themime> merpnderp: without seeing anything the only other idea i have is to separate one of the service/config/etcs out a bit more to get rid of the extra depency. and its okay for services to depend on each other.
[17:48:53] *** lsiv568 has quit IRC
[17:48:54] <moogey> ^ that
[17:48:57] *** jonaslil_ has quit IRC
[17:48:58] <themime> i thought config was only for providers though
[17:49:09] *** dejanr has joined #angularjs
[17:49:12] <themime> i had issues loading services in config and it seemed like it was intentional on angulars part
[17:49:25] <themime> could be something else and im remembering wrong
[17:49:25] <merpnderp> moogey: but if I have model user and the configService has $scope.$watch('userService.user', fn). That won't fire unless the woh user object changes. If just user.adminRoles.['group'] = true.....that won't fire the watcher.
[17:49:49] <themime> it would fire
[17:49:50] *** davidsunny has quit IRC
[17:49:53] <moogey> themime: I think he's useing the word config to mean something not related to angular
[17:50:01] <themime> configService
[17:50:06] <themime> i guess he says "service"
[17:50:11] <merpnderp> moogey: right, I mean I have a service called configService.
[17:50:21] <themime> so its not an actual config block but rather an additional service. yea disregard that concern then
[17:50:23] *** h0ru5 has joined #angularjs
[17:50:24] <merpnderp> which reads from the server to get some urls and basic settings.
[17:50:46] <ionta> hmm, yeah, collect directives seems to be what I need
[17:50:49] <themime> that scope.$watch you gave though /should/ fire the watcher
[17:51:00] <NevilleS> ionta yup, that's a fun part of the angular magic
[17:51:02] *** serengeor has joined #angularjs
[17:51:03] <merpnderp> themime: well that would be a perfect solution :) I'll do a test.
[17:51:08] <moogey> meeting, brb. merpnderp if you can mock it out in a plnkr we can help explain things better
[17:51:11] *** sl33k_ has joined #angularjs
[17:51:14] <ionta> although I think i'm better off just doing it from javascript by default, after something updates in the view
[17:51:19] <merpnderp> moogey: I'll try it there.
[17:51:31] *** yelvert has joined #angularjs
[17:51:33] <ionta> thanks!
[17:51:39] <merpnderp> I always have to go to the angular site to get a plnkr preconfigured :P
[17:51:44] <NevilleS> ionta yeah, I mean as a reference impl of how to recurse the DOM and collect text nodes
[17:51:54] *** yelvert has quit IRC
[17:52:03] *** yelvert has joined #angularjs
[17:52:04] *** Senjai has quit IRC
[17:52:05] *** Senjai has joined #angularjs
[17:52:05] *** tschunde_ has joined #angularjs
[17:52:24] <moogey> merpnderp there's one linked to in the channels description
[17:52:37] <merpnderp> moogey: hah, nice. Thanks!!!
[17:52:53] *** serengeor has quit IRC
[17:52:54] <themime> oh sweet
[17:53:01] <themime> i just hack up old ones i have
[17:53:06] *** mtsr has joined #angularjs
[17:53:43] *** ron1 has quit IRC
[17:53:44] *** lsiv568 has joined #angularjs
[17:53:58] *** jolts1 has joined #angularjs
[17:54:46] *** fbenoit has quit IRC
[17:55:04] *** tschundeee has quit IRC
[17:55:41] *** Christer has joined #angularjs
[17:55:46] *** diegoaguilar has quit IRC
[17:56:29] *** Arf_ has quit IRC
[17:56:32] <qstrahl> Quick question, how do I force a page reload using angular-ui-router?
[17:56:44] *** gnrlbzik has quit IRC
[17:57:07] *** azizur has joined #angularjs
[17:57:28] <NevilleS> $state.reload
[17:57:32] <NevilleS> or something like that
[17:57:35] *** Siyfion has quit IRC
[17:57:36] <NevilleS> sometimes you have to fight it a bit
[17:57:44] <jaydubya> what should I expect an API endpoint to be to return any and all unconfirmed comments and responses for a loan -- /loans/2/comment/327/response/???
[17:58:10] <qstrahl> NevilleS, fight it like how?
[17:58:26] *** gnrlbzik has joined #angularjs
[17:58:29] <NevilleS> i dunno, sometimes it doesn't reload based on your state settings
[17:58:29] <jaydubya> qstrahl: icepick and acid
[17:58:37] <NevilleS> especially if you have reloadOnSearch: false
[17:58:47] *** scythe__ has joined #angularjs
[17:58:53] <NevilleS> it won't actually do a full page refresh tho, if that's what you want
[17:59:08] <merpnderp> themime: just remembered services don't have scopes so can't watch other services.
[17:59:12] *** maraneta has joined #angularjs
[17:59:21] <qstrahl> NevilleS, I think I do want a page refresh.
[17:59:38] <qstrahl> Although maybe not. I suppose I'll make up my mind first.
[17:59:39] *** Sky[x] has quit IRC
[17:59:50] <maraneta> hey, i'm trying to get an element's attribute in my e2e tests with protractor... however, when i log the attribute's value, i just get [object Object]... what am i doing wrong?
[18:00:27] *** jonaslil_ has joined #angularjs
[18:00:28] <qstrahl> maraneta, You're doing nothing wrong, the log method is just crap
[18:00:35] *** Snugug has joined #angularjs
[18:00:40] <qstrahl> maraneta, The attribute is an object so log says "this is an object"
[18:01:03] *** avens_ has joined #angularjs
[18:01:05] <jaydubya> if it's an object, it should have a toJSON() method
[18:01:30] *** D9 has quit IRC
[18:02:10] *** zemanel has joined #angularjs
[18:02:34] *** Guest22 has joined #angularjs
[18:03:38] *** gnrlbzik has quit IRC
[18:03:38] *** richiebkr has joined #angularjs
[18:04:14] <NevilleS> qstrahl: i mean, window.location.reload...
[18:04:31] <NevilleS> qstrahl there's probably something on $location similar, I don't think reload exists
[18:04:36] *** avens has quit IRC
[18:04:40] <tristanp> I am trying to get the query string parameters in my app. I tried $location.search(), but it was empty. But I know there are query params there because window.location.search has them in it. any idea what's going on?
[18:04:48] *** gnrlbzik has joined #angularjs
[18:05:45] *** lexek_ has quit IRC
[18:06:01] <tristanp> I mean I could use window.location.search.substring(1), but that is kinda lame when we have $location...
[18:06:03] <NevilleS> tristanp someone is being naughty
[18:06:08] *** phzon has joined #angularjs
[18:06:28] <tristanp> NevilleS: how so?
[18:06:58] *** jdcasey has joined #angularjs
[18:07:04] *** jdcasey has quit IRC
[18:07:04] *** jdcasey has joined #angularjs
[18:07:11] *** avens has joined #angularjs
[18:07:13] <NevilleS> tristanp well it should just kinda be there
[18:07:20] <NevilleS> whats the URL in your window right now
[18:07:32] <tristanp> im in a webview of an ios wrapper
[18:07:42] <maraneta> qstrahl: so how can i get its value?
[18:07:48] <NevilleS> :|
[18:07:52] *** ionta has quit IRC
[18:08:00] <NevilleS> what's the URL in window.location
[18:08:02] <tristanp> so i dont have access to console or the url, but I stuck an alert(window.location.search) and got "?appUuid=blahblahblah"
[18:08:18] *** nfroidure has quit IRC
[18:08:18] *** ogdabou has quit IRC
[18:08:21] *** threesixes has joined #angularjs
[18:08:39] *** JR____ has joined #angularjs
[18:08:41] <NevilleS> window.location.href
[18:08:45] <NevilleS> ?
[18:08:46] *** rhp has joined #angularjs
[18:08:47] <moogey> merpnderp: if you do things correctly, you won't need to make any watchers. And they still have access to scope
[18:09:28] *** tyfighter has joined #angularjs
[18:10:05] <NevilleS> tristanp could be https://github.com/angular/angular.js/issues/7239
[18:10:10] *** duall has quit IRC
[18:10:21] *** avens_ has quit IRC
[18:10:24] <tristanp> NevilleS: I can't copy paste it since it's an alert on a tablet, but it's basically www.foo.com/index.html?appUuid=1234-1234
[18:10:37] <NevilleS> try adding a hash
[18:10:42] <NevilleS> www.foo.com/index.html#?appUuid=1234-1234
[18:11:04] <guilbep> Hello! been a long time since my last time here; any thoughts on angular-couch-potato; should I use it or not?
[18:11:16] *** chrisbirk has joined #angularjs
[18:12:35] <qstrahl> guilbep, You should not use it
[18:12:37] *** jacuqesdancona_ has quit IRC
[18:12:50] *** prosper_ has quit IRC
[18:12:58] *** lsiv568 has quit IRC
[18:12:59] *** Fenikkusu has joined #angularjs
[18:13:03] *** JR____ has quit IRC
[18:13:09] *** tkh44 has quit IRC
[18:13:09] *** jacuqesdancona_ has joined #angularjs
[18:13:21] *** ron1 has joined #angularjs
[18:13:36] *** ron1 has joined #angularjs
[18:13:38] <Fenikkusu> What is the best way to do a 'child' directive that adds attributes to an element with the parent template file?
[18:14:15] *** josh-k has quit IRC
[18:14:18] <guilbep> Fenikkusu I'd do a template with a directive in it; that manipulate the parent element attribute ?
[18:14:37] *** Milkweed has joined #angularjs
[18:15:41] *** cuebix-wk has joined #angularjs
[18:16:47] <snurfery> sup yall
[18:17:24] *** renanoronfle has quit IRC
[18:17:31] *** jacuqesdancona_ has quit IRC
[18:18:20] *** edrock has joined #angularjs
[18:18:23] *** Christer has quit IRC
[18:18:27] *** tomphp_ has quit IRC
[18:18:44] <merpnderp> moogey: themime I'm apparnetly screwing up the angular shorthand. But this is kind of what I want to do: http://plnkr.co/edit/mdsfonKMPtp9fwft9VfT?p=preview
[18:18:59] *** jonaslil_ has quit IRC
[18:19:13] *** cuebix-wk has joined #angularjs
[18:19:14] *** juampy has quit IRC
[18:19:15] <edrock> are ui router named views a good idea?
[18:19:20] <cuebix-wk> whaddup my ninjas?
[18:19:36] *** intellix has quit IRC
[18:19:42] <cuebix-wk> How do I define a template from within a module?
[18:20:34] *** fakingfantastic has joined #angularjs
[18:21:26] *** pretzel80 has quit IRC
[18:21:35] *** chrisbirk has quit IRC
[18:21:41] <NevilleS> edrock honestly not really unless you specifically have to, having them unnamed makes the state declarations way easier
[18:21:41] *** shampine has joined #angularjs
[18:21:56] *** Siecje1 has joined #angularjs
[18:21:57] *** fedenunez has quit IRC
[18:21:59] *** aslate has joined #angularjs
[18:22:17] <cuebix-wk> n/m i think i just found it. templateCache
[18:22:30] *** jdivock has quit IRC
[18:22:40] *** fedenunez has joined #angularjs
[18:23:04] <edrock> NevilleS: I need multiple views in one though
[18:23:32] *** warpx has quit IRC
[18:23:35] <NevilleS> then you'll need to name some
[18:23:37] *** nya has quit IRC
[18:23:40] *** sikor_sxe has quit IRC
[18:23:49] <NevilleS> I'd still recommend keeping the "main" view unnamed for easiness
[18:24:39] <edrock> it is
[18:24:46] <edrock> this is for a settings state
[18:25:01] *** Siecje has quit IRC
[18:25:17] *** arussel has quit IRC
[18:25:29] *** arussel has joined #angularjs
[18:25:38] *** Guest22_ has joined #angularjs
[18:25:48] *** Guest22 has quit IRC
[18:25:57] <moogey> merpnderp: you were missing the ng-app. And I'm not really understanding what you're trying to illustrate.
[18:26:17] *** ggrzybek has quit IRC
[18:26:39] *** {DV8} has quit IRC
[18:26:45] *** prosper_ has joined #angularjs
[18:26:47] *** dhcar_AFK is now known as dhcar
[18:27:08] *** jillesme has quit IRC
[18:27:13] *** DarrenCraig has quit IRC
[18:27:30] <merpnderp> moogey: that's what I get for thinking the default plnkr woudl be set up for me: http://plnkr.co/edit/mdsfonKMPtp9fwft9VfT?p=preview
[18:27:38] *** SargoDarya has joined #angularjs
[18:27:38] *** Sky[x] has joined #angularjs
[18:27:38] *** SargoDarya has quit IRC
[18:27:38] *** SargoDarya has joined #angularjs
[18:27:40] *** m_rc has joined #angularjs
[18:28:17] *** MaxV has quit IRC
[18:28:43] *** jlebrech has quit IRC
[18:28:53] *** edrock has quit IRC
[18:29:13] *** boxmein has joined #angularjs
[18:29:26] *** duall has joined #angularjs
[18:30:04] *** Siecje1 has left #angularjs
[18:30:17] *** m_rc has quit IRC
[18:30:17] <moogey> merpnderp: I guess I'm not understanding because navService is talking about something that isn't hooked up. So I don't see a problem. You can inject UserService into configService
[18:30:25] *** dannyc_ has quit IRC
[18:30:39] *** Siecje has joined #angularjs
[18:30:39] *** prosper_ has quit IRC
[18:30:44] *** m_rc has joined #angularjs
[18:31:14] *** prosper_ has joined #angularjs
[18:31:27] *** avens has quit IRC
[18:31:43] *** phzon has quit IRC
[18:32:02] *** jonathanpglick has joined #angularjs
[18:32:24] <Fenikkusu> guilbep, how would you manipulate it? I know it sounds odd, but I've a directive with a custom template in which an element in that directive I need to add directives.
[18:32:29] *** Sontakey has quit IRC
[18:32:45] *** AngularUI has joined #angularjs
[18:32:46] <AngularUI> [ng-grid] swalters closed pull request #2282: Update pinning tutorial (master...issue2281) http://git.io/VMhWfg
[18:32:46] *** AngularUI has left #angularjs
[18:33:54] <merpnderp> moogey: Here's it working: http://plnkr.co/edit/mdsfonKMPtp9fwft9VfT?p=preview
[18:34:10] *** loverajoel has joined #angularjs
[18:34:12] <merpnderp> moogey: the problem was that navService needed user and config service. And needs to know when their models are updated.
[18:34:14] *** soee_ has joined #angularjs
[18:34:14] <merpnderp> And this works :)
[18:34:19] *** soren_engel has joined #angularjs
[18:34:42] *** mtsr has quit IRC
[18:35:01] *** loverajoel has quit IRC
[18:35:14] *** loverajoel has joined #angularjs
[18:35:31] <merpnderp> moogey: Ka-Chow!!!!! now without the watcher: http://plnkr.co/edit/mdsfonKMPtp9fwft9VfT?p=preview
[18:36:48] *** NevilleS has quit IRC
[18:37:04] *** nemothekid has joined #angularjs
[18:37:06] *** soren_engel has quit IRC
[18:37:28] <qstrahl> I'm using angular-ui-router and can't seem to get it to populate my ui-view annotated element... thought the routing seems to be working okay otherwise. Can someone help me diagnose?
[18:37:29] *** prosper_ has quit IRC
[18:37:39] <qstrahl> s/thought/though
[18:37:49] *** soee has quit IRC
[18:38:27] *** Chubbs has left #angularjs
[18:38:38] *** htmelvis has quit IRC
[18:38:45] *** Christer has joined #angularjs
[18:38:48] *** LossFor has joined #angularjs
[18:38:52] *** Christer has quit IRC
[18:38:53] *** Paul_B_Hartzog has joined #angularjs
[18:39:16] *** prosper_ has joined #angularjs
[18:39:35] <moogey> merpnderp: http://plnkr.co/edit/9AeJMl
[18:39:42] *** tschunde_ has quit IRC
[18:39:50] <LossFor> is there a way to count bindings that doesn’t include one-time-bindings? the bookmarklets and batarang both seem to include them as watchers
[18:40:33] *** Christer has joined #angularjs
[18:41:11] *** soee_ is now known as soee
[18:41:43] *** merobertsjr has joined #angularjs
[18:41:48] *** Fuzzy has quit IRC
[18:41:55] <jaawerth> merpnderp: yeah, like what moogey is doing, most of these types of problems can be easily fixed by just making sure you're accessing the data via reference - that way the data stays bound and you don't need to watch or trigger anything. The only time you WOULD need to is if you're doing some sort of complex transformation that needs to be triggered.
[18:42:02] *** m8 has quit IRC
[18:42:22] <christo_m> dmack: with broadcast, im still having the issue of it not being updated properly
[18:42:49] *** macabre has quit IRC
[18:42:55] *** mzabriskie has joined #angularjs
[18:42:58] *** avens has joined #angularjs
[18:43:22] <merpnderp> jaawerth: and sometimes you don't want a reference and it gets ugly :( http://plnkr.co/edit/mdsfonKMPtp9fwft9VfT?p=preview
[18:43:31] <jaawerth> if you do need to trigger some complex logic when the value is updated, I would - as contrary to common practice as it seems - recommend using events on $rootScope rather than a watcher. Then you could do, say, $rootScope.$on('config.update', function() { do transformation on config })
[18:43:45] <merpnderp> So now the controller/template would have to build the url from a literal.
[18:44:10] <merpnderp> jaawerth: I'm doing all this refactoring to get away from rootscope events.
[18:44:11] <jaawerth> the problem with $watch is that, first, it will only run that stuff on a digest, and it will add yet another watcher that will check the values on every digest, adding overhead to your digest cycles
[18:44:35] <christo_m> dmack: i mean unless i jog the screen somehow, like fire a ng-click event or something, the expression will remain evaluated at the old value
[18:44:36] <merpnderp> rootscope events make you stupid.
[18:44:42] <merpnderp> or in my case stupider.
[18:44:55] <jaawerth> they're easy to misuse but that doesn't mean they should never be used ;-)
[18:45:12] *** codecone has joined #angularjs
[18:45:46] *** elrabin has quit IRC
[18:45:56] *** tschundeee has joined #angularjs
[18:46:08] <merpnderp> jaawerth: so my conotroller needs to stick the navService in its scope to get the navModel. And the navService needs to listen to the userService and configService to make sure it updates its model with their latest models. And hopefully it inits before they emit their initial changes.
[18:46:08] *** elrabin has joined #angularjs
[18:46:14] <merpnderp> Which is a race condition.
[18:46:25] <jaawerth> ugh
[18:46:28] <jaawerth> you need binding
[18:46:39] <jaawerth> I really don't see where it would get ugly.
[18:46:40] <merpnderp> So the navService must now emit "hey userService, send me your latest pleast" and then do the same with the configService.
[18:46:49] <merpnderp> and then you look around and realize you're in hell.
[18:46:52] *** tjsail33 has joined #angularjs
[18:46:59] <jaawerth> no, no
[18:47:03] <jaawerth> you don't pass data with the events
[18:47:11] *** shacklef_ has quit IRC
[18:47:30] <merpnderp> jaawerth: I don't mean actually send the data. I mean tell the navService "hey I updated my model, so no use my new model to update your model."
[18:47:32] <jaawerth> ALL the events would do is trigger a function. the function would still refer to the actual data in its service
[18:48:15] *** shackleford has joined #angularjs
[18:48:25] *** opiates has joined #angularjs
[18:48:29] *** sigurding has quit IRC
[18:48:43] <merpnderp> that whole race condition breaks everything.
[18:48:45] <jaawerth> I still think binding is the way to go
[18:48:48] <merpnderp> on initialization
[18:49:07] <jaawerth> it sounds like a symptom over overcomplicated data models
[18:49:08] *** JohnBat26 has quit IRC
[18:49:13] <jaawerth> of*
[18:49:17] <merpnderp> jaawerth: but how? I need to build some of these urls from the configModel. And I can only show some of the urls based on permissions in the usermodel.
[18:49:27] *** elrabin_ has quit IRC
[18:49:40] *** laurensclaessen has quit IRC
[18:49:42] *** boxmein has quit IRC
[18:49:49] <jr3> if I have an array of strings and in my view I just want to print all th strings in the same line is there a way to call {{errors | print}}
[18:49:51] *** foofoobar has joined #angularjs
[18:50:17] <jr3> or some similar function
[18:50:36] *** rho has quit IRC
[18:50:46] *** elrabin has quit IRC
[18:50:49] *** tschundeee has quit IRC
[18:50:59] *** recurrence has joined #angularjs
[18:51:01] *** aslate has quit IRC
[18:51:13] *** tyfighter has quit IRC
[18:51:19] *** RobinBAwesome has joined #angularjs
[18:51:28] *** adben has quit IRC
[18:51:45] *** VictorBjelkholm has quit IRC
[18:52:00] <snurfery> ugh, I might have to write some php in the next couple weeks
[18:52:03] *** tkh44 has joined #angularjs
[18:52:11] <jaawerth> this is a bit more out there, but you could also do something like var urlModel = _.memoize(buildUrl, someCacheKey)
[18:52:11] *** kudos_ is now known as kudos
[18:52:14] <snurfery> this is the developer equivalent of turning tricks
[18:52:18] <snurfery> =(
[18:52:26] *** kudos has quit IRC
[18:52:26] *** kudos has joined #angularjs
[18:52:26] *** kudos has joined #angularjs
[18:52:27] <LossFor> jr3: yes
[18:52:44] <jaawerth> then you can always just call urlModel(configModel) and if the cacheKey matches it will use the current one without re-executing the function, and if it's new then it will execute the function and store the result
[18:52:48] *** NormySan has joined #angularjs
[18:52:55] <LossFor> jr3: you can bind to {{printArray()}} and then in the controller write $scope.printArray = function() {return array.join()}
[18:52:57] *** teddyp1cker has joined #angularjs
[18:53:03] <jaawerth> the hard part is figuring out a good way to do the cacheKey that determines changes
[18:53:03] <LossFor> jr3: whether or not this is a good practice is debateable
[18:53:06] *** boxmein has joined #angularjs
[18:53:08] *** NormySan has quit IRC
[18:53:13] *** sinequanon has joined #angularjs
[18:53:31] *** jdivock has joined #angularjs
[18:53:39] *** tsalb has joined #angularjs
[18:54:55] *** Snugug_ has joined #angularjs
[18:55:00] *** Guest22 has joined #angularjs
[18:55:02] *** AimerPaddle has joined #angularjs
[18:55:08] *** Guest22_ has quit IRC
[18:55:15] *** lilbaby has joined #angularjs
[18:55:40] *** Snugug has quit IRC
[18:55:41] *** Snugug_ is now known as Snugug
[18:55:44] *** lilbaby has quit IRC
[18:55:50] *** zemanel has quit IRC
[18:55:56] *** lilbaby has joined #angularjs
[18:56:48] <jaawerth> merpnderp: if you REALLY don't want to just use binding (or that memoize approach), here's another way you could simplify the events: create a new child of $rootScope in your config service, which you'll use to broadcast events. Create a config.on method like function(event, callback) { return myScope.$on(event, callback) and even a config.subscribe = function(callback) { return myScope.$on('update', callback) }
[18:56:51] *** NevilleS has joined #angularjs
[18:57:13] <jaawerth> then you can just do config.subscribe(function() { transform data and update local model })
[18:57:42] *** Christer has quit IRC
[18:57:57] *** dacuca has quit IRC
[18:58:03] *** adpirz has joined #angularjs
[18:58:07] <jaawerth> only issue is you'd have to make sure you call an update() function that emits the 'update' event
[18:58:16] *** apetro__ has quit IRC
[18:58:35] <merpnderp> ka-chow: http://plnkr.co/edit/mdsfonKMPtp9fwft9VfT?p=preview
[18:58:42] *** jdivock has quit IRC
[18:58:54] *** yoshokatana has quit IRC
[18:58:59] *** juristr has quit IRC
[18:59:02] *** PeterMetz has quit IRC
[18:59:11] *** warpx has joined #angularjs
[18:59:15] <moogey> merpnderp: I love it, everytime you do that I think of the movie Cars
[18:59:39] *** gladely has joined #angularjs
[18:59:43] <jaawerth> I still don't think a $watch is a good idea there, but do what thou must
[18:59:53] *** IvailoStoianov has joined #angularjs
[18:59:55] *** teddyp1cker has quit IRC
[19:00:18] <xyNNN> anyone experience with ui-router?
[19:00:20] <jaawerth> keep in mind that on every single digest call in your app, your config object will not be checked for changes
[19:00:25] <jaawerth> will now*
[19:00:34] <opiates> xyNNN: hardly. >_>
[19:00:37] <opiates> on a related note
[19:00:42] <moogey> merpnderp: jaawerth: it doesn't look like anything changed.
[19:00:49] <xyNNN> i have defined a view (<div ui-view="base"> and would like to replace the div with the template from the view "base"
[19:00:51] <mmitchell> is there a utility to help wrap promises? I want to intercept the success/error of some other async operation, change the results, and yield/resolve to the caller. Very common pattern I think.
[19:01:03] <xyNNN> its possible? because due my wrapped div my layouts wont work like expected
[19:01:04] <jaawerth> moogey: Oh, maybe they didn't freeze the new version
[19:01:05] <opiates> why does UI-Modules' UI-Sortable require jQuery? I thought the point of all of these was to remove that necessity.
[19:01:22] *** vonnegut has quit IRC
[19:01:25] <jaawerth> yeah, last change 31 minutes ago
[19:01:29] *** robe2 has joined #angularjs
[19:01:53] <merpnderp> moogey: hah, yeah, that's what I think too :)
[19:01:58] *** scythe__ has quit IRC
[19:02:00] <merpnderp> okay, here's my new pattern: http://plnkr.co/edit/mdsfonKMPtp9fwft9VfT?p=preview
[19:02:10] <NevilleS> opiates id say thats a secondary point
[19:02:17] <opiates> NevilleS: can you elaborate more?
[19:02:24] *** mnngfltg has quit IRC
[19:02:33] *** adpirz has quit IRC
[19:02:38] <opiates> NevilleS: i'm just assuming it's 1000x easier to do it with some jquery involved, right
[19:02:48] *** arthas has quit IRC
[19:02:58] <jaawerth> oof, deepwatch
[19:02:58] <NevilleS> opiates I think the point is probably to wrap it in angular logic to fit into digest and such
[19:03:07] <NevilleS> opiates removing jquery dependency is a secondary goal
[19:03:10] *** scythe__ has joined #angularjs
[19:03:12] <opiates> i see
[19:03:18] *** prosper_ has quit IRC
[19:03:34] *** rho has joined #angularjs
[19:03:35] *** rho has joined #angularjs
[19:03:57] <opiates> NevilleS: would i be correct in deducing that your second remark is somewhat related to devs still dropping plain JS into Angular code?
[19:04:09] *** apetro_ has joined #angularjs
[19:04:13] <opiates> or JS libraries
[19:04:16] *** wallerdev has joined #angularjs
[19:04:17] <opiates> like for Date/Datetime
[19:04:27] <jaawerth> and only because jquery is a bit unwieldy so it's a good idea to keep it to jqlite if possible. No shame in using jquery as long as all the DOM manipulation is happening in directives (and there is generally very little reason to use any selectors unless looking for the children of a directive's root element)
[19:04:32] *** jonr22 has joined #angularjs
[19:04:33] *** deanclkclk has quit IRC
[19:04:42] <NevilleS> for modules that pull in a jquery plugin to ng
[19:04:47] *** hswolff has quit IRC
[19:04:56] <NevilleS> *I* prefer if they use the jquery version, so it can stay up to date with mainline
[19:05:02] *** snurfery has quit IRC
[19:05:03] <NevilleS> instead of rewriting the plugin in jqlite or something
[19:05:08] <opiates> mmm
[19:05:15] <opiates> ahh i see, i didn't get that far into jquery back the
[19:05:16] <opiates> n
[19:05:22] <jaawerth> depends on what you're doing
[19:05:23] <NevilleS> nothing wrong with having "plain JS" in angular
[19:05:25] *** hswolff has joined #angularjs
[19:05:32] <opiates> NevilleS: what i was asking was--similar concept, right
[19:05:34] <jaawerth> if you're wrapping a jquery plugin, use jquery
[19:05:35] <opiates> NevilleS: no point in rewriting
[19:05:49] *** say2joe has joined #angularjs
[19:05:50] <opiates> NevilleS: and as long as nothing clashes, it's all gravy
[19:05:57] *** bruno_ has quit IRC
[19:06:02] <NevilleS> mmmm gravy
[19:06:04] *** tubiz has quit IRC
[19:06:29] *** deanclkclk has joined #angularjs
[19:07:51] *** pretzel80 has joined #angularjs
[19:08:14] *** Carlangueitor has joined #angularjs
[19:08:28] *** cheef has joined #angularjs
[19:08:58] *** nemothekid has quit IRC
[19:09:02] *** jonr22 has quit IRC
[19:09:23] *** ederign is now known as ederign_afk
[19:10:05] *** wallerdev has quit IRC
[19:11:25] *** digifiv5e has quit IRC
[19:11:25] *** digifiv5e has joined #angularjs
[19:11:31] *** mak`` has joined #angularjs
[19:11:51] *** ccohn has quit IRC
[19:11:52] *** lilbaby has quit IRC
[19:12:24] *** ccohn has joined #angularjs
[19:12:32] *** wallerdev has joined #angularjs
[19:12:53] *** Ilgrim has joined #angularjs
[19:14:06] *** vonnegut has joined #angularjs
[19:14:07] *** Evanion has joined #angularjs
[19:14:19] *** mak`` has quit IRC
[19:14:52] *** duall has quit IRC
[19:15:16] *** OptimusMK has joined #angularjs
[19:15:16] *** snurfery has joined #angularjs
[19:15:35] *** Christer has joined #angularjs
[19:15:35] *** Christer has joined #angularjs
[19:16:17] *** Alina-malina has quit IRC
[19:16:26] *** Alina-malina has joined #angularjs
[19:16:34] *** ccohn has quit IRC
[19:16:57] *** elrabin has joined #angularjs
[19:16:57] *** Christer has quit IRC
[19:17:03] *** ccohn has joined #angularjs
[19:17:18] *** saint-ron has quit IRC
[19:18:07] *** fedenunez has quit IRC
[19:18:50] *** Nivag_ has joined #angularjs
[19:18:55] *** tyfighter has joined #angularjs
[19:19:00] *** Christer has joined #angularjs
[19:19:12] *** fedenunez has joined #angularjs
[19:20:14] *** jdivock has joined #angularjs
[19:20:19] *** {DV8} has joined #angularjs
[19:20:30] *** nemothekid has joined #angularjs
[19:20:33] *** quantax- has joined #angularjs
[19:20:42] *** deanclkclk_ has joined #angularjs
[19:20:51] *** cacts|wtf has quit IRC
[19:21:17] *** chrisbirk has joined #angularjs
[19:21:23] *** cliluw has quit IRC
[19:21:44] *** ome has quit IRC
[19:22:00] *** bruno_ has joined #angularjs
[19:22:06] *** mmealling has joined #angularjs
[19:22:10] *** davi has quit IRC
[19:22:21] *** LossFor has quit IRC
[19:22:39] *** ppppaul has joined #angularjs
[19:22:47] *** cheef has quit IRC
[19:22:58] *** lsiv568 has joined #angularjs
[19:23:02] *** LeDiegue_ has quit IRC
[19:23:04] *** chrisbirk has quit IRC
[19:23:30] *** davidreis has quit IRC
[19:23:51] *** jacuqesdancona_ has joined #angularjs
[19:24:09] *** bayousoft has quit IRC
[19:24:22] *** chrisbirk has joined #angularjs
[19:24:25] *** LossFor has joined #angularjs
[19:24:32] *** agrajag42 has quit IRC
[19:24:57] *** LeDiegue has joined #angularjs
[19:25:10] *** ederign_afk is now known as ederign
[19:25:11] *** apetro__ has joined #angularjs
[19:25:11] *** Sontakey has joined #angularjs
[19:25:14] *** cboden has quit IRC
[19:25:28] *** OptimusMK has quit IRC
[19:25:30] *** jonaslil_ has joined #angularjs
[19:25:44] *** bkuberek has joined #angularjs
[19:25:47] *** arussel has quit IRC
[19:26:04] *** arussel has joined #angularjs
[19:27:41] *** cboden has joined #angularjs
[19:27:53] *** dhcar is now known as dhcar_AFK
[19:27:53] *** sacho_ has quit IRC
[19:28:02] *** LossFor has quit IRC
[19:28:10] *** jacuqesdancona_ has quit IRC
[19:28:19] *** fishtoaster has joined #angularjs
[19:28:29] *** sinequanon has quit IRC
[19:28:48] *** bbankes_ has joined #angularjs
[19:29:05] *** bbankes has quit IRC
[19:29:08] *** apetro_ has quit IRC
[19:29:16] *** Christer has quit IRC
[19:29:26] *** dhcar_AFK is now known as dhcar
[19:30:29] *** dhcar is now known as dhcar_AFK
[19:30:38] *** afuggini has quit IRC
[19:30:55] *** dannyc_ has joined #angularjs
[19:31:06] *** dsdeiz has quit IRC
[19:31:11] *** afuggini has joined #angularjs
[19:31:26] *** bruno_ has quit IRC
[19:31:35] *** chrisbirk has quit IRC
[19:32:04] *** guilbep has quit IRC
[19:32:45] *** sheplu has joined #angularjs
[19:32:51] *** mtsr has joined #angularjs
[19:33:06] *** zeroquake has joined #angularjs
[19:33:10] *** boxmein_ has joined #angularjs
[19:34:12] *** boxmein has quit IRC
[19:34:50] *** htmelvis has joined #angularjs
[19:35:08] *** tyfighter has quit IRC
[19:35:27] *** dannyc_ has quit IRC
[19:35:34] *** boxmein_ is now known as boxmein
[19:36:06] *** whitebook has joined #angularjs
[19:36:06] *** Anton_ has quit IRC
[19:36:22] *** jonaslil_ has quit IRC
[19:36:47] *** Anton_ has joined #angularjs
[19:37:45] *** cacts|wtf has joined #angularjs
[19:38:28] *** yelvert has quit IRC
[19:38:55] *** yelvert has joined #angularjs
[19:39:12] *** sinequanon has joined #angularjs
[19:39:48] *** OnkelTem has quit IRC
[19:39:48] *** coderat has joined #angularjs
[19:40:00] *** pretzel80 has quit IRC
[19:40:59] *** dhcar_AFK is now known as dhcar
[19:41:36] *** mtsr has quit IRC
[19:42:54] *** foofoobar has quit IRC
[19:43:26] *** yelvert has quit IRC
[19:43:39] *** whitebook has quit IRC
[19:43:45] *** jonathanpglick has quit IRC
[19:44:58] *** tehfedaykin has quit IRC
[19:45:27] *** Oxynum has quit IRC
[19:45:29] *** lexek_ has joined #angularjs
[19:45:34] *** disorder20 has joined #angularjs
[19:46:39] *** jonathanpglick has joined #angularjs
[19:47:47] *** ceephax has quit IRC
[19:47:49] *** Guest22 is now known as atomiccc
[19:48:22] *** ngbot has joined #angularjs
[19:48:23] <ngbot> [angular.js] vojtajina force-pushed browserstack-with-socketio-1_0 from eae3001 to 665ab14: http://git.io/OJnqFg
[19:48:23] <ngbot> angular.js/browserstack-with-socketio-1_0 665ab14 Vojta Jina: chore(travis): enable both SauceLabs and BrowserStack...
[19:48:23] *** ngbot has left #angularjs
[19:48:28] *** mtsr has joined #angularjs
[19:48:37] *** ishan1604 has quit IRC
[19:48:47] *** LossFor has joined #angularjs
[19:48:56] <visualshock> Hi. I have a ng-repeat="variabel". How can I make the ng-repeat trigger when the variable change value?
[19:49:18] *** ngbot has joined #angularjs
[19:49:18] <ngbot> [angular.js] vojtajina force-pushed gruntfile-cleanup from 35ef4c9 to 8c662ef: http://git.io/Sx29Vg
[19:49:18] <ngbot> angular.js/gruntfile-cleanup a2af3ee Vojta Jina: chore(travis): clean up browserstack/saucelabs scripts
[19:49:18] <ngbot> angular.js/gruntfile-cleanup 8c662ef Vojta Jina: chore(grunt): remove unused code
[19:49:18] *** ngbot has left #angularjs
[19:49:21] *** sinequanon has quit IRC
[19:49:36] *** ceephax has joined #angularjs
[19:49:38] *** Fuzzy has joined #angularjs
[19:50:02] *** sjt003 has quit IRC
[19:50:05] *** boneskull has joined #angularjs
[19:50:14] *** evanjs has joined #angularjs
[19:50:15] *** sjt003 has joined #angularjs
[19:50:20] <NevilleS> visualshock it already does, congrats!
[19:50:32] <NevilleS> visualshock you win
[19:50:37] <NevilleS> lol ;)
[19:51:01] *** BaconOverflow has quit IRC
[19:51:52] *** Wextux has joined #angularjs
[19:51:55] *** nairys has joined #angularjs
[19:52:10] <visualshock> NevilleS, it doesn't update
[19:52:17] *** dejanr has quit IRC
[19:52:50] *** cilkay has quit IRC
[19:53:12] <NevilleS> do you literally have it as ng-repeat="variable
[19:53:46] <NevilleS> because it should be ng-repeat="elem in variable"
[19:54:03] *** prosper_ has joined #angularjs
[19:54:16] *** moritzschaefer has joined #angularjs
[19:54:40] *** nemothekid has quit IRC
[19:54:50] *** azizur has quit IRC
[19:55:17] *** mclenithan has joined #angularjs
[19:55:19] *** coderat has quit IRC
[19:55:19] *** cthrax has quit IRC
[19:55:41] *** ianpirro_ has quit IRC
[19:55:44] *** amped has joined #angularjs
[19:55:49] *** Sontakey has quit IRC
[19:55:52] <amped> Hi guys
[19:56:04] *** Sontakey has joined #angularjs
[19:56:06] *** darrin has joined #angularjs
[19:56:11] *** FIFOd[a] has quit IRC
[19:56:19] *** Sontakey has left #angularjs
[19:56:28] *** mzabriskie has quit IRC
[19:56:34] <NevilleS> amped hi
[19:56:50] <amped> Again I am asking the question, how do you used Angular js storage to store a form input data?
[19:56:58] <amped> What does that look like?
[19:57:11] *** zlalanne has joined #angularjs
[19:57:12] <Linell> amped: store just on the scope or permanently or what?
[19:57:20] *** arussel has left #angularjs
[19:57:35] *** digisky has quit IRC
[19:57:43] *** ianpirro has joined #angularjs
[19:57:54] *** yelvert has joined #angularjs
[19:57:54] *** marr has quit IRC
[19:58:02] <amped> For instance if you go here -.http://www.amwebaz.com/Austin/weatherAngular/
[19:58:13] <amped> Type in a city
[19:58:18] *** Ilgrim_ has joined #angularjs
[19:58:35] <amped> A foredcast for today and the next 6 days comes up
[19:58:35] *** thebigredgeek has joined #angularjs
[19:58:43] <amped> But when you refresh it goes away
[19:58:57] <amped> I want it to stay even when you refresh
[19:59:18] *** digisky has joined #angularjs
[19:59:19] <Linell> I've never used it personally, but you should check out https://github.com/gsklee/ngStorage
[19:59:29] <visualshock> NevilleS, I have is as bla in bla, and it does show, but when the variable changes value, ng repeat does not trigger
[20:00:01] *** Paul_B_Hartzog has quit IRC
[20:00:30] *** FabioAntunes has joined #angularjs
[20:00:41] <amped> I have read thatm but just cant figure3 out how to make it work on an input box using ng-submit
[20:00:45] <NevilleS> visualshock I don't understand what you mean by "trigger" then. ng-repeat will relayout things if "collection" changes for the expr "elem in collection"
[20:00:57] *** Ilgrim has quit IRC
[20:01:08] <NevilleS> each "elem" is watched for changes in the body of the ng-repeat
[20:01:18] <NevilleS> via regular watcher stuff
[20:01:18] *** MistahKurtz has joined #angularjs
[20:01:35] *** coderat has joined #angularjs
[20:01:43] <amped> Anyone know how to use ngStorage to keep the value of an ng-submit input box?
[20:01:51] *** ianpirro has quit IRC
[20:02:01] *** aslate has joined #angularjs
[20:02:04] *** ianpirro has joined #angularjs
[20:02:34] <MotherMGA> is there a way to delay animations from triggering until after angular re-compiles a template? in the case of an ng-if, I'm finding that the animation stutters and I'm thinking its because its processing the reflow at the same time as doing the animation?
[20:03:05] <FabioAntunes> Hello guys! I'm having a small problem. I'm developing a cordova mobile app and in that app I have an input text field with a ng-model. The thing is since I have a lot of elements on the page trying to search something on that input box is slow as hell, at least on an iPad. I was trying to find a way to sync the ng-model only on submit instead of change, is that possible?
[20:03:34] *** sl33k_ has quit IRC
[20:03:47] *** Zach has joined #angularjs
[20:04:06] *** plushy has quit IRC
[20:04:10] *** Zach is now known as Guest13558
[20:04:24] <Linell> amped: just store the ng-model of the input box in $scope.$storage.
[20:04:33] *** thebigredgeek has quit IRC
[20:04:46] <Linell> amped: When the page loads, check if that value is present. If it is, use it. If it isn't, then do what you're doing now.
[20:05:07] <visualshock> NevilleS, hmm, strange.
[20:05:15] *** digisky has quit IRC
[20:05:38] <Guest13558> Anyone familiar with $routeProvider and setting the controller to a JS file?
[20:06:13] *** mven has quit IRC
[20:06:29] *** aslate has quit IRC
[20:06:42] *** coderat has quit IRC
[20:06:44] *** robe2 has quit IRC
[20:06:51] *** cspeak has joined #angularjs
[20:06:52] *** lugzer has quit IRC
[20:07:16] *** zeroquake has quit IRC
[20:07:17] *** Paul_B_Hartzog has joined #angularjs
[20:07:18] <visualshock> NevilleS, maybe it doesn't relayout because I use ajax to change the value. ng-repeat is on a json object.
[20:07:27] *** apetro_ has joined #angularjs
[20:07:57] *** chrisbirk has joined #angularjs
[20:08:15] *** coderat has joined #angularjs
[20:08:53] *** sinequanon has joined #angularjs
[20:08:56] *** Grumelo has quit IRC
[20:10:09] <wafflej0ck_> Guest13558: no you can't do that you have to load the JS in the index.html and reference the controller by name
[20:10:29] *** d4rklit3 has joined #angularjs
[20:10:53] *** atomiccc has quit IRC
[20:10:56] *** apetro__ has quit IRC
[20:11:00] *** FabioAntunes has quit IRC
[20:11:39] *** soren_engel has joined #angularjs
[20:11:40] *** warpx has quit IRC
[20:11:53] *** thebigredgeek has joined #angularjs
[20:12:07] *** szymek has joined #angularjs
[20:12:42] *** thebigredgeek has left #angularjs
[20:13:37] *** Guest22 has joined #angularjs
[20:13:44] <NevilleS> visualshock ajax or $http
[20:13:57] <visualshock> NevilleS, http
[20:14:09] *** themime has quit IRC
[20:14:21] <NevilleS> then the digest cycle should cause the ng-repeat watch to re-evaluate
[20:14:27] *** balr0g has joined #angularjs
[20:14:31] *** chrisbirk has quit IRC
[20:14:34] <NevilleS> can you plnkr it?
[20:14:44] *** agrajag42 has joined #angularjs
[20:14:58] *** afuggini has quit IRC
[20:15:15] *** mven has joined #angularjs
[20:15:18] *** Sawbones has quit IRC
[20:15:55] *** dweave has joined #angularjs
[20:16:03] *** afuggini has joined #angularjs
[20:16:05] *** chrisbirk has joined #angularjs
[20:16:08] <dweave> is it possible to write a custom ‘a’ (anchor) directive?
[20:16:37] *** soren_engel has quit IRC
[20:17:55] *** afuggini has quit IRC
[20:17:56] *** shackleford has quit IRC
[20:18:07] *** soren_engel has joined #angularjs
[20:19:02] *** Guest13558 has left #angularjs
[20:19:03] *** yelvert has quit IRC
[20:19:11] *** Successful has joined #angularjs
[20:19:29] *** ngbot has joined #angularjs
[20:19:30] <ngbot> [angular.js] caitp pushed 1 new commit to master: http://git.io/xgAXJg
[20:19:30] <ngbot> angular.js/master fbbf6ac Ciro Nunes: docs(compile): document $attrs.$normalize...
[20:19:30] *** ngbot has left #angularjs
[20:19:37] *** boxmein is now known as [boxmein]
[20:19:45] *** Anton_ has quit IRC
[20:20:11] *** juampy has joined #angularjs
[20:20:13] *** ngbot has joined #angularjs
[20:20:13] <ngbot> [angular.js] caitp pushed 1 new commit to v1.2.x: http://git.io/VrWyUg
[20:20:13] <ngbot> angular.js/v1.2.x 7578744 Ciro Nunes: docs(compile): document $attrs.$normalize...
[20:20:13] *** ngbot has left #angularjs
[20:20:18] *** phzon has joined #angularjs
[20:20:26] *** coderat has quit IRC
[20:20:32] *** jdivock has quit IRC
[20:20:38] *** cilkay has joined #angularjs
[20:21:07] *** jdivock has joined #angularjs
[20:21:11] *** soren_engel has quit IRC
[20:21:18] *** avens has quit IRC
[20:21:37] *** avens has joined #angularjs
[20:22:11] *** nemothekid has joined #angularjs
[20:22:35] *** listerine has joined #angularjs
[20:22:56] *** fifthofwry has joined #angularjs
[20:22:57] <tjsail33> anyone know why a chart i render with d3.js wouldnt render until i resize the screen?
[20:22:59] <dweave> anyone?
[20:23:37] *** moritzschaefer has quit IRC
[20:24:15] <moogey> dweave: have you tried?D
[20:24:15] <NevilleS> dweave amusingly angular has already done that
[20:24:26] <dweave> yeah i’m trying
[20:24:33] <dweave> NevilleS
[20:24:36] <NevilleS> dweave so you may need to change the priority and stuff
[20:24:39] <dweave> that’s slightly what i was afraid of
[20:24:43] <NevilleS> dweave DROPPING KNOWLEDGE BOMBS
[20:24:46] *** jimvideo has joined #angularjs
[20:24:57] *** TheAceOfHearts has joined #angularjs
[20:25:05] *** phzon has quit IRC
[20:25:10] <dweave> NavilleS are you familiar with what the default does? I don’t want to overwrite something important
[20:25:17] *** jdivock has quit IRC
[20:25:18] *** afuggini has joined #angularjs
[20:25:19] <dweave> angular gets really fragile in this regard
[20:25:30] <jnott> has anyone tried tri-angular?
[20:25:41] <NevilleS> https://github.com/angular/angular.js/blob/master/src/ng/directive/a.js
[20:26:01] <dweave> my relationship with angular has gone from love steadily down to moderate disdain
[20:26:14] <dweave> but not yet hatred
[20:26:14] <NevilleS> it makes it not page reload
[20:26:18] <NevilleS> settle down dweave
[20:26:26] <dweave> ha I said moderate
[20:26:28] <moogey> dweave: don't worry it will go back up. We have a graph to prove it
[20:26:46] *** richiebkr has quit IRC
[20:26:48] <dweave> ooo graphs let me see
[20:26:48] *** Sky[x] has quit IRC
[20:26:57] <NevilleS> you'll come back around when you start to understand the source more
[20:26:59] <jnott> you might want to try using javascript
[20:27:06] *** Nivag_ has quit IRC
[20:27:07] *** richiebkr has joined #angularjs
[20:27:08] *** dacuca has joined #angularjs
[20:27:11] <dweave> jnott what?
[20:27:13] <NevilleS> lol
[20:27:47] <caitp> the goal of a framework is to make peoples lives easier
[20:27:49] <moogey> dweave: http://www.bennadel.com/blog/2439-my-experience-with-angularjs-the-super-heroic-javascript-mvw-framework.htm
[20:27:50] <caitp> we want to do more of that
[20:28:14] <caitp> we are sorry about making you juggle too many concepts and deal with too tightly coupled and poorly designed components
[20:28:15] <amped> I have tried many times to use ngStorage to store the value of an input box from an ngSubmit form. To no avail Can anyone help with this.I have been reading and tryng for two days
[20:28:15] <dweave> jnott was that a snide coment?
[20:28:19] <dmack> added production build and testing integration to my boilerplate: https://github.com/ModusCreateOrg/ngbp-gulp
[20:28:20] <caitp> our bad, yo
[20:28:49] <dweave> eh it def has made my life a lot easier
[20:29:17] <dweave> it’s just little things like having to know angular has already done an ‘a’ directive
[20:29:23] <dweave> that will squash my efforts to do my own
[20:29:26] *** afuggini has quit IRC
[20:29:33] *** PeterMetz has joined #angularjs
[20:29:44] *** coderat has joined #angularjs
[20:29:54] <amped> I have tried many times to use ngStorage to store the value of an input box from an ngSubmit form. To no avail Can anyone help with this.I have been reading and tryng for two days
[20:29:55] <Linell> amped: What I said above should work. What specifc part are you having trouble with?
[20:30:01] <qstrahl> amped, Please no spam
[20:30:03] <amped> go here
[20:30:17] <amped> http://www.amwebaz.com/Austin/weatherAngular/
[20:30:23] *** jdivock has joined #angularjs
[20:30:26] *** afuggini has joined #angularjs
[20:30:37] <dweave> but people like jnott are not helpful
[20:30:58] <Linell> amped: I've already done that. What part of the actual *code* are you having trouble with?
[20:31:00] <amped> I need simply need to save the default input city so the user does not have to enter it again
[20:31:02] <dmack> holy shit a marque
[20:31:26] <dmack> amped: localStorage.setIte
[20:31:27] *** ngbot has joined #angularjs
[20:31:27] <ngbot> [angular.js] vojtajina pushed 1 new commit to gruntfile-cleanup: http://git.io/zjv3tw
[20:31:27] <ngbot> angular.js/gruntfile-cleanup 50d9668 Vojta Jina: WIP: try BS for all builds
[20:31:27] *** ngbot has left #angularjs
[20:31:28] <amped> I reall want to maintain all of the data displayed as forcast date even when the page reloads
[20:31:29] <dmack> setItem
[20:31:51] *** tkh44 has quit IRC
[20:31:52] <dmack> set the input to localStorage, when the app bootstraps, check if it's there
[20:31:56] <dmack> use it if it is.
[20:31:59] <NevilleS> dweave it's a pretty obscure reference
[20:32:19] <NevilleS> jnott was just implying that writing pure js might bring you back to the angular flock lol
[20:32:50] <NevilleS> dweave the fact that angular has an 'a' directive is pretty obscure
[20:32:52] <amped> localStorage.setItem(ng-model="loc") ?
[20:32:59] <dweave> yes yes it is
[20:33:06] <dmack> amped: no
[20:33:08] <NevilleS> the fact is, you probably shouldn't be implementing a directive that matches an existing HTML attribute
[20:33:18] <amped> ???
[20:33:20] <NevilleS> so my next question is why do you think you need to?
[20:33:21] <dmack> whenever your "search" function is called, grab the value and use localStorage
[20:33:28] *** coderat has quit IRC
[20:33:37] *** jonathanpglick has quit IRC
[20:33:44] <dweave> NevilleS I have a cordova application and there is weirdness in cordova. especially in regards to in app browser
[20:33:50] <amped> There is no seaech, his is json from an api
[20:33:51] <dmack> $scope.submit = function() { localStorage.setItem('savedSearch', <yourModelValue)
[20:34:00] *** juampy_ has joined #angularjs
[20:34:01] <dweave> NevilleS. So in order to keep my mark up semantic I just wanted to modify how ‘a’ worked
[20:34:11] <dweave> instead of cluttering with an additional directive
[20:34:32] <NevilleS> what do you want to change
[20:34:36] <amped> The searched are never saved
[20:34:38] <dweave> but in looking at the source. I don’t think it matters that angular already has one. and it’s safe to overwrite it in my case
[20:34:47] <dmack> amped: you aren't understanding.
[20:34:55] <NevilleS> I'd argue that you should do <a my-special-directive ...>
[20:34:59] <dmack> you want the search term to persist in the client.
[20:35:05] <dmack> has nothing to do with your API
[20:35:13] <NevilleS> that's more declarative since it tells me that it behaves differently than a normal anchor
[20:35:14] *** listerine has quit IRC
[20:35:19] <Linell> amped: dmack is saying to save it whenever you call the API. Save it to your client.
[20:35:19] *** juampy has quit IRC
[20:35:22] <dweave> NevilleS. anchor tags by default open in the same webview in cordova it seems even when applying target=“_blank”. i need to actually use window.open(); which is decorated by cordova
[20:35:24] *** juampy_ is now known as juampy
[20:35:29] <dweave> in order to open links the way i want
[20:35:42] *** tristanp has quit IRC
[20:35:52] *** cornerma1 has joined #angularjs
[20:35:58] <Linell> amped: And then, when the page loads, you just check if the thing is present in localStorage. If it is, instead of waiting for them to input it you just call the api with that location
[20:35:59] <amped> This is what I have been trying to do for days
[20:36:06] <dweave> NevilleS, perhaps ur right
[20:36:07] <dmack> and you're blaming angular?
[20:36:08] <amped> Maybe I need to take a break
[20:36:09] <dmack> lol
[20:36:53] *** sturmination has joined #angularjs
[20:37:27] *** prosper_ has quit IRC
[20:37:45] *** sinequanon has quit IRC
[20:38:05] *** tristanp has joined #angularjs
[20:38:15] *** rafagomes has quit IRC
[20:38:34] <dmack> sorry for being condescending. but do you understand how localStorage works?
[20:38:38] <amped> ng-Scope,submit = function(){localStorage.setItem(savedSearch, loc)} ???
[20:38:49] <dmack> right.
[20:39:08] *** listerine has joined #angularjs
[20:39:11] <dmack> when your app bootstraps, ie. when your controller initializes, grab that value.
[20:39:35] *** cornerman has quit IRC
[20:39:41] *** cornerma1 is now known as cornerman
[20:39:44] <dmack> https://www.dropbox.com/s/vj2r26hv0eon8hb/Screenshot%202014-12-05%2014.39.36.png?dl=0
[20:40:10] <dmack> $scope.searchQuery = localStorage.getItem('savedSearch')
[20:40:43] <dweave> NevilleS and others who are active here. what is ur take on reactjs.
[20:41:02] <zomg> It's alright, different approach
[20:41:25] <NevilleS> brb friends
[20:41:26] <zomg> Would need to work on a larger scale project with it to really say for sure, but at least from fiddling with it in some smaller projects, the data-flow in it seems simpler
[20:41:31] <dmack> it's a good framework. there are lots of supporting frameworks that are growing alongside it
[20:41:40] <zomg> Very easy to shoot yourself in the foot with angular scopes and watches and what have you making a mess
[20:41:40] <dmack> flux, etc.
[20:41:49] <zomg> Flux seems pretty crazy :p
[20:41:59] *** Paul_B_Hartzog has quit IRC
[20:42:01] <zomg> Some good ideas there but otherwise feels a bit overkill
[20:42:08] <dmack> yeahi, it's weird as hell
[20:42:17] *** doug64k has quit IRC
[20:42:43] *** elyssonmr has quit IRC
[20:42:55] <dweave> from what i’ve heard flux seems to be how I wanted to program before i understood the implications of rerendering an entire dom for each “action”
[20:43:02] *** NevilleS has quit IRC
[20:43:02] *** digisky has joined #angularjs
[20:43:03] <dweave> years ago
[20:43:17] *** mystronyx has joined #angularjs
[20:43:23] *** Successful has quit IRC
[20:43:25] <dweave> angular’s good though in that i have to write a lot less glue
[20:43:32] <dmack> react forces you to think about your app as components. angular doesn't, but when you use angular more as a component framework - angular wins in my book.
[20:43:33] <zomg> yep
[20:43:52] <zomg> angular as component fw seems a bit tricky
[20:43:59] <dweave> is angular ever planning on using a virtual dom?
[20:44:01] <dmack> it is
[20:44:06] <zomg> tried to build some reusable components that could be customized on a per-view basis at work
[20:44:08] <dmack> because the DDO is terrible - hence 2.0
[20:44:10] <zomg> and it just became a mess
[20:44:12] *** scythe__ has quit IRC
[20:44:14] *** gh0st has quit IRC
[20:44:25] <dweave> or is that just not solving a problem angular has
[20:44:32] <zomg> basically we have a list of some stuff which needs to have a bunch of filtering and searching controls
[20:44:42] <zomg> but the way the list contents are displayed vary
[20:44:53] *** juampy has quit IRC
[20:45:01] <dmack> zomg: if you tried to build it in react it'd be hard too.
[20:45:16] <zomg> I actually tested it, it wasn't so bad
[20:45:17] <dmack> very hard problems aren't solved by frameworks. you still have to be a good engineer
[20:45:29] <merpnderp> dmack: just catching up on the scroll, but I'm finding myself moving my angular more into a flux like architecture and it seems alright.
[20:45:34] <zomg> since you can just define the list item as a component, you just pass it a list item component constructor as a parameter
[20:45:37] <dweave> i like reacts take on “dependency injection” or lack there of
[20:45:42] <zomg> and now your list renders differently :)
[20:45:53] *** shackleford has joined #angularjs
[20:46:08] <dweave> i really like dependency injection in angular thus far, but reacts way of solving that problem seems simpler
[20:46:12] <dweave> and more in line with standards
[20:46:15] *** apetro_ has quit IRC
[20:46:20] <dmack> angular directives are very composable, but the way the syntax works right now is pretty hard to follow for new people
[20:46:20] *** shackleford has quit IRC
[20:46:26] <dmack> requires, etc.
[20:46:53] *** shackleford has joined #angularjs
[20:47:09] *** adpirz has joined #angularjs
[20:47:28] *** amped has quit IRC
[20:47:33] *** fifthofwry has quit IRC
[20:48:06] *** prosper_ has joined #angularjs
[20:48:34] *** richiebkr has quit IRC
[20:49:13] *** chrisbirk has quit IRC
[20:50:18] *** deanclkclk__ has joined #angularjs
[20:50:58] *** deanclkclk_ has quit IRC
[20:51:10] *** Trow has joined #angularjs
[20:51:29] *** adpirz has quit IRC
[20:52:43] *** mven has quit IRC
[20:52:44] *** Snugug has quit IRC
[20:53:15] *** Snugug has joined #angularjs
[20:53:33] *** Embassy has quit IRC
[20:53:33] *** jonr22 has joined #angularjs
[20:53:53] *** TommyO has joined #angularjs
[20:54:53] *** darrin has quit IRC
[20:54:57] *** digisky has quit IRC
[20:55:34] *** listerine has quit IRC
[20:55:45] <jaawerth> hmm what would be the easiest way to unlink a compiled template?
[20:55:56] <jaawerth> assuming one isn't using bindOnce
[20:56:38] <jaawerth> or rather "unbind"
[20:57:14] *** Johnny13371337 has joined #angularjs
[20:57:17] *** sacho has joined #angularjs
[20:57:33] <jaawerth> I guess I could destroy the scope..
[20:57:43] *** LossFor has quit IRC
[20:58:18] *** [boxmein] is now known as boxmein
[20:58:21] <dmack> just curious, why do you need to unlink?
[20:58:25] *** jonr22 has quit IRC
[20:58:35] *** mlpug has joined #angularjs
[20:58:41] *** one0one has joined #angularjs
[20:58:46] *** t_smith has joined #angularjs
[20:59:11] <jaawerth> dmack: need to use the compiled DOM element in a context where it can't stay bound because it will break it on certain browsers (IE) due to security limitations
[20:59:18] <jaawerth> (ie a new window)
[21:00:02] *** TheAceOfHearts has quit IRC
[21:00:20] *** marr has joined #angularjs
[21:01:48] *** dcherman2 has joined #angularjs
[21:02:49] *** zz_night-owl is now known as night-owl
[21:03:00] *** grogs has joined #angularjs
[21:03:23] *** digisky has joined #angularjs
[21:03:32] *** moogey is now known as mooget_itting
[21:03:44] *** ianpirro has quit IRC
[21:04:01] *** farn5w0rth has quit IRC
[21:04:17] *** mooget_itting has quit IRC
[21:04:27] *** ehynds has joined #angularjs
[21:04:48] *** dhcar is now known as dhcar_AFK
[21:04:49] *** dcherman has quit IRC
[21:04:53] *** doug64k has joined #angularjs
[21:05:06] *** cthrax has joined #angularjs
[21:07:08] <christo_m> i have this element directive: http://pastie.org/9763192 , im including it after app.js and for some reason it isnt dumping the template code in
[21:07:13] <christo_m> i still see <keyboard></keyboard> in inspector
[21:07:45] <christo_m> any other reason it may not be rendering properly?
[21:07:53] *** koleS has joined #angularjs
[21:08:00] *** neilff has joined #angularjs
[21:08:22] *** mven has joined #angularjs
[21:09:21] *** jhwhite has joined #angularjs
[21:09:27] *** mven has joined #angularjs
[21:09:34] *** dejanr has joined #angularjs
[21:10:05] <dweave> question. somethings don’t map well to angular’s declarative nature. For instance a notification that appears at different times on the top of the screen. It might need to be triggered from various parts of the app and different controllers. Would you then have an element that is bound to some value in a service and shows when some other value is true (notificationVisible for instance). OR. Would you just create a service t
[21:10:06] <dweave> shows a notification and returns a promise when it has again hidden after some time delay. This might look like: notification.show(‘hello notification’, 3000). then(function() {.. do some other stuff}); using the promise would of course be optional if there isn’t some other action to be taken.
[21:10:30] *** iribarne has joined #angularjs
[21:10:43] <dweave> this is a similar strategy used by angular-ui’s modal
[21:10:59] *** ianpirro has joined #angularjs
[21:11:12] <dweave> i think
[21:11:20] *** Sky[x] has joined #angularjs
[21:11:36] <dweave> but when I do things like this i’m often told that i’m not doing it “the angular way”
[21:11:41] *** ciwolsey has quit IRC
[21:12:24] *** jonathanpglick has joined #angularjs
[21:12:31] *** glassir has joined #angularjs
[21:12:59] <elrabin> christo_m - are you using ngApp or manually bootstrapping?
[21:13:05] *** tkh44 has joined #angularjs
[21:13:11] <christo_m> elrabin: i dont know what ngApp is so i guess the latter
[21:13:28] <dmack> dweave: there's nothing wrong with your approach
[21:13:32] <dweave> cool
[21:13:44] <christo_m> elrabin: oh well, im using ng-app on the html tag
[21:13:46] <dmack> <div alert></div>
[21:13:53] <dmack> err, alerts
[21:13:54] <qstrahl> dweave, For what it's worth, I built a simple service that behaves exactly as you describe. But I also thought of a cool sort of alternative.
[21:14:01] *** tristanp has quit IRC
[21:14:10] <dweave> qstrahl what’s the alternative
[21:14:13] *** zumba_addict has joined #angularjs
[21:14:40] *** deanclkclk has quit IRC
[21:14:45] <qstrahl> dweave, It's quite similar; you make a directive which houses notifications, and publishes a "post" function to the scope which does something similar to what the service you describe does
[21:15:07] <dweave> ah
[21:15:21] <dweave> i see
[21:15:30] <qstrahl> Mostly useful in situations where the controller logic doesn't need to know about the notifications and you can keep it all in the view
[21:15:34] <zumba_addict> I built a modal with 2 buttons(Continue and Cancel). However, how will I prevent the code from continuing until I click on one of the buttons?
[21:15:53] *** Trow has quit IRC
[21:16:04] <qstrahl> zumba_addict, The code that should wait on the modal should be done in the .then() of a promise
[21:16:12] <christo_m> elrabin: what now :P
[21:16:18] <zumba_addict> thanks for the tip qstrahl
[21:16:19] <qstrahl> zumba_addict, A promise resolved when the modal is closed
[21:16:22] <qstrahl> No problem
[21:16:24] <christo_m> its weird i defined another directive almost the exact same way and its working fine.
[21:16:35] *** Oxynum has joined #angularjs
[21:16:37] *** NevilleS has joined #angularjs
[21:18:27] *** tristanp has joined #angularjs
[21:18:36] *** digisky has quit IRC
[21:19:08] *** jMyles has joined #angularjs
[21:19:13] *** digisky has joined #angularjs
[21:19:34] *** Z3R0 has joined #angularjs
[21:20:42] *** wallerdev has quit IRC
[21:20:44] *** Trow has joined #angularjs
[21:21:26] *** t_smith has quit IRC
[21:21:39] *** mlpug has quit IRC
[21:22:11] *** frem has joined #angularjs
[21:23:53] *** Z3R0 has quit IRC
[21:24:07] *** prosper_ has quit IRC
[21:24:13] *** tschundeee has joined #angularjs
[21:24:57] *** deanclkclk has joined #angularjs
[21:25:27] *** dhcar_AFK is now known as dhcar
[21:26:26] *** dzannotti has joined #angularjs
[21:27:22] <dzannotti> Hey guys, can anyone explain to me why http://jsfiddle.net/ds55butw/ produces lots of <span> added by angular?
[21:27:52] *** DarrenCraig has joined #angularjs
[21:28:34] *** WhatsInTheBoks has joined #angularjs
[21:28:41] *** tristanp has quit IRC
[21:29:01] <sacho> because angular needs dom elements to attach scopes to
[21:29:04] *** digisky has quit IRC
[21:29:13] *** robdubya has quit IRC
[21:29:28] *** jdivock has quit IRC
[21:29:33] *** digisky has joined #angularjs
[21:29:47] *** yts has joined #angularjs
[21:29:59] <dzannotti> sacho and it couldn't attach it to the div?
[21:30:21] *** nickdenardis has joined #angularjs
[21:30:43] *** baweaver has joined #angularjs
[21:32:01] <dzannotti> sancho: it also shouldn't need to have a scope to attach to, if i specify scope: false?
[21:32:11] *** jdivock has joined #angularjs
[21:32:12] *** tschundeee has quit IRC
[21:32:15] *** nickdenardis has quit IRC
[21:32:19] *** dweave has left #angularjs
[21:32:25] *** warpx has joined #angularjs
[21:32:31] *** DarrenCraig has quit IRC
[21:32:54] *** avens_ has joined #angularjs
[21:33:20] *** ProLoser has joined #angularjs
[21:33:45] <kakashiAL> {{x}} x is an integer like 123. Is there a filter in angular to put a point or a komma to get 1.23?
[21:33:58] *** danecando has quit IRC
[21:34:24] *** andrew9183 has joined #angularjs
[21:34:45] *** baweaver has quit IRC
[21:34:56] *** whatasunnyday has joined #angularjs
[21:35:20] *** nickdenardis has joined #angularjs
[21:35:21] <whatasunnyday> Hey, I'm interested in looking at the source code for a few of the built in directives like ng-disabled. Any idea where I can find them in angular/angular.js?
[21:35:27] *** fedenunez has quit IRC
[21:36:08] *** avens has quit IRC
[21:36:18] *** avens_ has quit IRC
[21:36:33] <sacho> dzannotti, the scope isn't for your divs, it's for your transcluded elements
[21:36:47] <dzannotti> whatasunnyday: https://github.com/angular/angular.js/tree/master/src/ng ?
[21:36:50] *** digisky has quit IRC
[21:36:56] <sacho> dzannotti, http://angular-tips.com/blog/2014/03/transclusion-and-scopes/
[21:37:30] *** foofoobar has joined #angularjs
[21:37:39] <kakashiAL> nobody?:(
[21:38:24] <whatasunnyday> dzannotti, i checked the directive folder and i didn't see what i was looking for. maybe i missed the file(s)?
[21:38:47] <kakashiAL> got it, it was | number : 2
[21:39:07] *** tristanp has joined #angularjs
[21:39:11] *** tskaggs has joined #angularjs
[21:39:23] *** deanclkclk has quit IRC
[21:39:27] <dzannotti> whatasunnyday: https://github.com/angular/angular.js/blob/master/src/ng/directive/attrs.js#L154
[21:40:08] <dzannotti> also as suggestion, if you google ngDisabled, the first result is https://docs.angularjs.org/api/ng/directive/ngDisabled, which has a big button on the right which says "show source" :)
[21:40:40] *** robdubya has joined #angularjs
[21:40:44] *** TheAceOfHearts has joined #angularjs
[21:40:46] <whatasunnyday> dzannotti, that is incredibly useful tip. thanks.
[21:40:48] <dzannotti> Sancho <3 reading now, just to jump ahead, there is no way to trasclude nested directives/content AND get rid of the span?
[21:40:54] *** {DV8} has quit IRC
[21:41:05] <dzannotti> whatasunnyday: not a problem
[21:42:29] *** achiever1 has joined #angularjs
[21:42:39] *** cthrax has quit IRC
[21:42:49] *** iribarne has quit IRC
[21:43:30] *** e0ipso is now known as e0ipso|away
[21:43:46] *** zwacky has joined #angularjs
[21:43:47] *** glassir_ has joined #angularjs
[21:43:52] *** ianpirro has quit IRC
[21:44:07] *** glassir has quit IRC
[21:44:37] *** naschurmann has joined #angularjs
[21:44:38] <jr3> how nice of googlee
[21:44:45] <jr3> to go from 1 promotioons to multiple in gmail
[21:44:48] <naschurmann> can i inject the $scope in a factory?
[21:45:01] *** digisky has joined #angularjs
[21:45:27] <dzannotti> naschurmann: that's kinda wrong from a design perspective
[21:45:42] *** cliluw has joined #angularjs
[21:45:44] *** baweaver has joined #angularjs
[21:45:58] *** mzabriskie has joined #angularjs
[21:46:00] *** iribarne has joined #angularjs
[21:46:08] *** pushpak has quit IRC
[21:47:13] *** simplyshipley has quit IRC
[21:48:38] *** glassir_ has quit IRC
[21:48:46] *** goodenough has joined #angularjs
[21:48:46] *** cacts|works has joined #angularjs
[21:48:57] <naschurmann> dzannotti: i have a view where i call books.findUnread(), and books.findRead()
[21:49:07] <naschurmann> and that should update the scope
[21:49:13] <naschurmann> with the books found
[21:49:16] *** nemothekid has quit IRC
[21:49:37] *** MJD_ has quit IRC
[21:50:08] <naschurmann> dzannotti: any recommendation on how i should approach this? :)
[21:50:47] <dzannotti> assuming that books.findUnread is the factory
[21:50:57] *** aslate has joined #angularjs
[21:51:10] *** spatialbrew has quit IRC
[21:51:16] *** cthrax has joined #angularjs
[21:51:25] <naschurmann> exactly
[21:51:26] <dzannotti> you can pass it from the scope to the view by doing $scope.books = booksFactory; and then call it from there when/if needed (even from the view)
[21:51:49] <Marble68> God working with Json can be a bitch
[21:51:51] <naschurmann> amazing!, and then how i update the scope with the new books?
[21:52:00] *** mven has quit IRC
[21:52:00] <naschurmann> (that was actually the questino)
[21:52:28] *** baweaver has quit IRC
[21:53:04] *** Guest22 has quit IRC
[21:53:23] *** Guest22 has joined #angularjs
[21:53:39] <dzannotti> you can from the view use a refence to an object inside the scope which is a reference to an object inside the factory
[21:54:14] *** TheAceOfHearts has quit IRC
[21:54:22] *** charuru has joined #angularjs
[21:54:47] *** morenoh149 has joined #angularjs
[21:55:00] *** deanclkclk has joined #angularjs
[21:55:05] <naschurmann> dzannotti: i don't fully understand that
[21:55:11] *** TheAceOfHearts has joined #angularjs
[21:55:28] *** IvailoStoianov has quit IRC
[21:55:38] *** loverajoel has quit IRC
[21:55:42] *** aslate has quit IRC
[21:55:44] *** Siecje has left #angularjs
[21:56:29] <dzannotti> 2mins, i'll do a jsfiddle
[21:56:36] *** MJD has joined #angularjs
[21:56:41] *** dc_ has joined #angularjs
[21:56:45] <Guest22> what don't you get man? you just reference the reference that references the scope in the reference's scope
[21:56:58] *** Guest22 is now known as atomiccc
[21:57:40] *** atomiccc has quit IRC
[21:57:40] *** ehynds has quit IRC
[21:59:05] *** jonaslil_ has joined #angularjs
[21:59:10] *** tschundeee has joined #angularjs
[21:59:39] *** Mxyzpltk has quit IRC
[21:59:57] *** dmack has quit IRC
[22:00:42] <zumba_addict> is there a way for angular library to access our phone's camera? Will Ionic have support for it?
[22:01:14] *** frem_ has joined #angularjs
[22:01:20] *** jdivock has quit IRC
[22:01:28] *** tristanp has quit IRC
[22:01:48] *** AngularUI has joined #angularjs
[22:01:49] <AngularUI> [ng-grid] c0bra pushed 1 new commit to master: http://git.io/EM6PoA
[22:01:49] <AngularUI> ng-grid/master a54c663 Brian Hann: fix(Aggregation): Refactor introduced bug...
[22:01:49] *** AngularUI has left #angularjs
[22:01:52] *** Luser has quit IRC
[22:02:10] *** jdivock has joined #angularjs
[22:02:24] *** Luser has joined #angularjs
[22:03:11] <naschurmann> dzannotti: thanks :)
[22:03:17] <dzannotti> on it, 2 secs
[22:03:23] *** chachan has joined #angularjs
[22:03:23] *** dc_ has quit IRC
[22:03:31] *** achiever1 has quit IRC
[22:03:36] *** ianpirro has joined #angularjs
[22:03:41] *** moogey has joined #angularjs
[22:04:34] *** ingsoc has quit IRC
[22:04:49] *** shackleford has quit IRC
[22:05:06] *** FIFOd[a] has joined #angularjs
[22:05:37] <NevilleS> i'm back friends!
[22:05:42] *** ianpirro has quit IRC
[22:05:44] *** joshontheweb has quit IRC
[22:06:14] *** vonnegut has quit IRC
[22:06:46] <dzannotti> naschurmann: http://jsfiddle.net/8c43k3p4/1/ ?
[22:06:50] *** Luser has quit IRC
[22:06:52] *** jonathanpglick has quit IRC
[22:06:59] <dzannotti> (if i understood what you want to do)
[22:08:10] *** encryptd_fractl has quit IRC
[22:08:13] *** richiebkr has joined #angularjs
[22:08:17] *** Snugug has quit IRC
[22:08:23] <naschurmann> dzannotti: uhm, taking that same thing, if we add 2 more methods (findRead and findUnread) in the model, the purpose of it is that they will retrieve different collections
[22:09:08] <dzannotti> this way your factory knows nothing (and it should know nothing) about the scope.
[22:09:12] *** baweaver has joined #angularjs
[22:09:41] *** mzabriskie has quit IRC
[22:09:42] *** yelvert has joined #angularjs
[22:09:58] <dzannotti> btw on the flip of the coin i'm still stuck with this http://jsfiddle.net/ds55butw/ <-- creating alot of span that i don't need. Especially considering that i want to create a directive that replaced <td> <tr> in a sort of way
[22:10:01] *** jonaslil_ has quit IRC
[22:10:43] *** mzabriskie has joined #angularjs
[22:10:58] <naschurmann> yes, but my factory also know how to fetch different types of collections (read and unread), and latter in the view i will put an ng-click directive so it retreives them, like ng-click="bookFactory.findRead()"
[22:11:18] <naschurmann> so there will be 2 buttons. One to find Read, and another to find Unread
[22:11:34] <naschurmann> those 2 buttons will execute methods from my factory
[22:11:54] <dzannotti> naschurmann: that's fine
[22:12:07] *** scythe__ has joined #angularjs
[22:12:31] *** nemothekid has joined #angularjs
[22:13:25] *** recurrence has quit IRC
[22:13:33] <naschurmann> http://jsfiddle.net/8c43k3p4/2/
[22:13:38] <naschurmann> dzannotti: http://jsfiddle.net/8c43k3p4/2/
[22:13:44] *** jacuqesdancona_ has joined #angularjs
[22:14:04] *** LossFor has joined #angularjs
[22:14:28] <dzannotti> naschurmann: what about it?
[22:14:30] *** jonathanpglick has joined #angularjs
[22:14:32] *** MJD has quit IRC
[22:14:44] *** davemerwin has joined #angularjs
[22:14:56] <naschurmann> dzannotti: how if you look properly i need to access the scope so i can update the books list
[22:15:03] <visualshock> md-fid="search" label="Search", the Search text is very low contrast, how can I style it?
[22:15:07] *** ahtik_ has joined #angularjs
[22:15:14] *** jhwhite has left #angularjs
[22:15:29] *** D-Boy has quit IRC
[22:15:36] *** D-Boy has joined #angularjs
[22:15:41] *** AngularUI has joined #angularjs
[22:15:41] <AngularUI> [ng-grid] c0bra pushed 1 new commit to master: http://git.io/DLWjng
[22:15:42] <AngularUI> ng-grid/master 9c495da Brian Hann: refactor(AutoResize): Avoid excessive $digests...
[22:15:42] *** AngularUI has left #angularjs
[22:15:42] <naschurmann> dzannotti: unless there is another way to do it but still keeps my 1 line controller
[22:16:05] *** cphil has joined #angularjs
[22:16:06] *** ppppaul has quit IRC
[22:16:10] <dzannotti> naschurmann: http://jsfiddle.net/8c43k3p4/3/ ?
[22:16:17] *** chrisbirk has joined #angularjs
[22:16:17] *** cphil has quit IRC
[22:16:22] *** ahtik has quit IRC
[22:16:43] *** MJD has joined #angularjs
[22:16:59] *** jonaslil_ has joined #angularjs
[22:17:09] <naschurmann> dzannotti: no, read and unread are 2 different lists, i need to bring one list depending on which button the user makes a click
[22:17:28] *** ryez has quit IRC
[22:17:33] <dzannotti> ok still the same thing?
[22:17:42] <naschurmann> think of it as read: {name: "foo"}; unread: {name: "bar"}
[22:18:03] <naschurmann> so, if i click on find read, the list in the view should be updated
[22:18:08] *** jacuqesdancona_ has quit IRC
[22:18:08] *** baweaver has quit IRC
[22:18:10] *** qdk has quit IRC
[22:18:11] *** jonaslil_ has quit IRC
[22:18:12] <naschurmann> with the foo books
[22:18:15] *** instence_ has joined #angularjs
[22:18:20] <naschurmann> and if i click on find unread
[22:18:29] <naschurmann> the list should be updated with the bar book
[22:18:55] *** Slim has quit IRC
[22:18:55] *** Slim has joined #angularjs
[22:19:13] *** shackleford has joined #angularjs
[22:19:31] <TommyO> ngDirective doesn't seem to be firing properly: http://plnkr.co/edit/Hlw6Kel73vS8pfQpdO6p?p=catalogue
[22:19:38] *** instence has quit IRC
[22:20:02] <TommyO> or I'm missing something
[22:20:55] <naschurmann> dzannotti: http://jsfiddle.net/8c43k3p4/5/
[22:21:02] *** dannyc has joined #angularjs
[22:21:03] *** MJD has quit IRC
[22:21:07] *** tristanp has joined #angularjs
[22:21:12] <dzannotti> http://jsfiddle.net/8c43k3p4/6/ ?
[22:21:47] *** vonnegut has joined #angularjs
[22:21:52] <Slim> TommyO: What do you mean by "firing"?
[22:22:08] *** lsiv568 has quit IRC
[22:22:11] *** diosney has joined #angularjs
[22:22:48] <TommyO> well, the data isn't populating as expected
[22:22:56] <TommyO> Slim: ^^
[22:23:00] <Slim> which data?
[22:23:09] <Slim> are you talking about {{friend.name}}?
[22:23:23] <TommyO> with the ng-if it doesn't render the emlate, without it it renders with holes in the data
[22:23:31] <TommyO> no. thread.id, etc
[22:23:33] <naschurmann> dzannotti: is not working :P
[22:23:37] <TommyO> anything that is thread
[22:23:45] <TommyO> {{thread.id}}
[22:23:55] *** diosney has quit IRC
[22:23:59] *** tkh44 has quit IRC
[22:24:31] <TommyO> the template works fine elsewhere as an ngInclude, but can't do that on this page
[22:24:32] *** chrisbirk has quit IRC
[22:24:32] *** Snugug has joined #angularjs
[22:24:42] <TommyO> need scope assignment
[22:24:49] *** richardlitt has joined #angularjs
[22:24:51] *** TuRnaD0 has joined #angularjs
[22:24:54] *** darrin has joined #angularjs
[22:25:05] *** SargoDarya has quit IRC
[22:25:29] *** dannyc has quit IRC
[22:25:38] *** SargoDarya has joined #angularjs
[22:25:40] *** chrisbirk has joined #angularjs
[22:25:43] *** sigurding has joined #angularjs
[22:26:01] *** boxmein has quit IRC
[22:26:17] *** boxmein has joined #angularjs
[22:26:29] *** afuggini has quit IRC
[22:26:43] *** jdivock has quit IRC
[22:26:55] <Slim> I'm sorry TommyO I can't help with that
[22:27:02] <Slim> I'm not sure what the issue is and have to run!
[22:27:27] *** boxmein has quit IRC
[22:27:27] *** earthquake has quit IRC
[22:27:34] *** bmac has quit IRC
[22:27:45] *** boxmein has joined #angularjs
[22:27:51] <naschurmann> dzannotti: ya there?
[22:28:01] <dzannotti> naschurmann: now it is
[22:28:07] <dzannotti> http://jsfiddle.net/8c43k3p4/7/
[22:28:56] <whatasunnyday> Do people typically prefix their own directives with my in production apps? Or is this just a phenomena in the tutorials I'm reading.
[22:29:05] <naschurmann> dzannotti: yay!, thanks
[22:29:26] <dzannotti> whatasunnyday: either is acceptable. Whichever way you prefer really
[22:29:30] *** moogey has quit IRC
[22:29:31] *** MotherMGA has left #angularjs
[22:29:53] <whatasunnyday> dzannotti, interesting.
[22:29:56] *** yelvert has quit IRC
[22:30:00] *** vanseverk has quit IRC
[22:30:04] *** bmac has joined #angularjs
[22:30:16] <dzannotti> http://jsfiddle.net/ds55butw/ <--- anyone can explain to me how can i stop angular from adding a bunch of span?
[22:30:17] *** richiebkr has quit IRC
[22:30:26] *** yelvert has joined #angularjs
[22:30:30] *** instence has joined #angularjs
[22:30:49] *** htmelvis has quit IRC
[22:31:13] *** dhcar is now known as dhcar_AFK
[22:31:19] *** MJD has joined #angularjs
[22:31:33] *** instence_ has quit IRC
[22:31:44] *** lsiv568 has joined #angularjs
[22:32:32] *** numproc has joined #angularjs
[22:32:50] *** Luser has joined #angularjs
[22:33:16] *** Phtes_ has joined #angularjs
[22:33:16] *** Luser has quit IRC
[22:33:37] *** MistahKurtz has quit IRC
[22:33:43] *** ColKurtz has joined #angularjs
[22:33:45] *** Luser has joined #angularjs
[22:33:51] *** KernelCurry has joined #angularjs
[22:34:03] <KernelCurry> Angular JS question! I have a directive, but it is not taking into account the carible from Angular ... Example : http://plnkr.co/edit/dLMCIRwcjIjpepM158yw?p=preview
[22:34:18] <Slim> whatasunnyday: I typically like to name my directives in a way that explain somewhat what they're trying to do
[22:34:22] *** ahtik_ has quit IRC
[22:34:31] <KernelCurry> When you scroll down it trys to load example.com/{{image[1]}} not what image[1] really is
[22:34:34] <whatasunnyday> Slim, so you do you use a prefix at all?
[22:34:43] <Slim> the "my" prefix? no.
[22:34:43] <wafflej0ck_> whatasunnyday: you should prefix but with something uniuqe
[22:34:51] <Slim> yeah
[22:34:57] <whatasunnyday> Slim, what prefix do you use?
[22:35:00] <wafflej0ck_> whatasunnyday: I use "it" since I have a small business intellectual-tech
[22:35:05] <Phtes_> Hi, I have a key pair stored in $scope.myPair {'val1': false, ... } and based on ng-click's I set each one to true or false. console.log($scope.myPair['val1]) will show the change, but if i reference the variable again in $scope.someFunction = fuction() { console.log($scope.myPair['val1']) } its false again... how do i get it to retain the value?
[22:35:16] <whatasunnyday> wafflej0ck_, cool, that makes sense.
[22:35:16] <wafflej0ck_> whatasunnyday: doesn't really matter though so long as you don't overlap with something you depend on
[22:35:18] *** yelvert has quit IRC
[22:35:35] *** Luser_ has joined #angularjs
[22:35:38] *** Luser has quit IRC
[22:35:55] *** adpirz has joined #angularjs
[22:35:57] *** d0ngz has quit IRC
[22:35:59] *** jonatas_oliveira has quit IRC
[22:36:03] *** Luser_ has quit IRC
[22:36:08] *** ahtik has joined #angularjs
[22:36:19] *** sigurding has quit IRC
[22:36:29] *** Luser has joined #angularjs
[22:36:57] <TheAceOfHearts> does disabling debug data make apps faster?~
[22:37:16] <KernelCurry> I have a directive , but it is not using the angular scope varibles correctly... http://plnkr.co/edit/dLMCIRwcjIjpepM158yw?p=preview If you scroll down it trys to load "example.com/{{image[1]}}" not the actual value of the varible {{image[1]}} Let me know if you have any ideas
[22:37:23] *** grogs_ has joined #angularjs
[22:37:25] *** Guest22 has joined #angularjs
[22:37:35] *** joshontheweb has joined #angularjs
[22:37:53] *** Luser has quit IRC
[22:37:59] *** d0ngz has joined #angularjs
[22:38:14] <Grokling> wafflej0ck_: Are you gulp savvy?
[22:38:17] *** grogs has quit IRC
[22:38:17] *** grogs_ is now known as grogs
[22:38:18] *** Luser has joined #angularjs
[22:38:25] *** neilff has quit IRC
[22:38:30] <warnew_> hi
[22:38:30] <wafflej0ck_> Grokling: not in the least
[22:38:37] <wafflej0ck_> Grokling: using grunt still
[22:38:44] *** Luser has quit IRC
[22:38:51] <wafflej0ck_> Grokling: sure if you ask though someone here will probably know, lots of gulp users
[22:39:05] <Phtes_> Can anyone assist with why $scope.getShare always returns false in: http://pastebin.com/E7dJKjDe
[22:39:13] *** fabiofb has joined #angularjs
[22:39:14] *** Luser has joined #angularjs
[22:39:19] <warnew_> how can i put an out of the app redirect in $urlRouteProvider.otherwise?
[22:39:26] *** wallerdev has joined #angularjs
[22:39:32] <Grokling> Me either evidently.. I have both gulp and grunt, and grief. Comes down to sequencing of gulp tasks, but I can't figure out how to pipe the output of one task into the next.
[22:39:59] *** jdivock has joined #angularjs
[22:40:10] *** Slowintrepid has joined #angularjs
[22:40:17] *** adpirz has quit IRC
[22:40:30] *** Slowintrepid has joined #angularjs
[22:40:35] *** Luser has quit IRC
[22:40:42] *** BobbieBarker_ has joined #angularjs
[22:40:59] *** jonathanpglick has quit IRC
[22:41:01] *** Luser has joined #angularjs
[22:41:38] *** lsiv568 has quit IRC
[22:41:44] <wafflej0ck_> warnew_: you can setup a route that has a controller that uses $location to redirect as soon as the controller is loaded
[22:41:45] *** Luser has quit IRC
[22:42:10] *** Luser has joined #angularjs
[22:42:14] *** colares has quit IRC
[22:42:32] *** stormbytes has joined #angularjs
[22:42:33] *** jonr22 has joined #angularjs
[22:43:29] *** mikehaas763 has quit IRC
[22:43:40] *** tschundeee has quit IRC
[22:43:45] *** Luser has quit IRC
[22:43:54] *** davemerwin has quit IRC
[22:43:56] *** Luser has joined #angularjs
[22:44:08] *** moogey has joined #angularjs
[22:44:14] *** Johnny13371337 has left #angularjs
[22:44:26] *** Luser has quit IRC
[22:44:27] *** tschundeee has joined #angularjs
[22:44:53] *** Luser has joined #angularjs
[22:45:08] <whatasunnyday> Grokling, what do you mean pipe the output of one task into another?
[22:45:18] *** tkh44 has joined #angularjs
[22:46:20] <whatasunnyday> if you're sharing state between tasks, i don't think that's a good idea. since gulp is plain old js, couldn't you assign a variable in the global context with a value and share it among tasks?
[22:46:39] <whatasunnyday> just not sure why you would pipe the output of one task into another
[22:46:53] *** Luser has quit IRC
[22:46:59] <Grokling> whatasunnyday: So, I have some tasks set up, but rather than having gulp.dest() endpoints in them, I want to make a pipe segment that just passes the output into whatever comes next. lazypipe looks like it offers me a solution without bloating my gulpfile.
[22:47:04] *** shinnya has quit IRC
[22:47:24] <Grokling> It's basically a quest for DRY.
[22:47:30] <dzannotti> http://jsfiddle.net/ds55butw/ <--- anyone can explain to me how can i stop angular from adding a bunch of span?
[22:47:36] *** Luser has joined #angularjs
[22:47:38] *** jonr22 has quit IRC
[22:47:40] <morenoh149> I'm okay at angularjs. I need to become great for an upcoming phonescreen. What do?
[22:47:42] *** jdivock has quit IRC
[22:47:51] <whatasunnyday> Grokling, i see. glad you found a solution.
[22:48:17] *** jdivock has joined #angularjs
[22:48:34] <Grokling> whatasunnyday: I'm not sure I'd call it a solution just yet, but certainly another branch of the rabbithole to explore for a while.
[22:48:37] *** baweaver has joined #angularjs
[22:48:38] <whatasunnyday> morenoh149, read the source, write applications in angular. becoming great at anything is really hard.
[22:49:16] *** brownish has joined #angularjs
[22:49:20] *** Luser has quit IRC
[22:49:22] *** Luser_ has joined #angularjs
[22:49:29] <KernelCurry> Anyone know a lot about directives ?
[22:49:50] *** Luser_ has quit IRC
[22:49:56] *** mikhailvs has joined #angularjs
[22:50:08] <dzannotti> KernelCurry: as long as you are not asking me about the span problem which is what i'm having, fire away
[22:50:18] <KernelCurry> I have a directive , but it is not using the angular scope varibles correctly... http://plnkr.co/edit/dLMCIRwcjIjpepM158yw?p=preview If you scroll down it trys to load "example.com/{{image[1]}}" not the actual value of the varible {{image[1]}} Let me know if you have any ideas
[22:50:23] <mikhailvs> What is the best way/place to bind a global event handler in angular (eg, window.onerror)?
[22:50:27] *** Luser has joined #angularjs
[22:50:28] <KernelCurry> dzannotti ^^
[22:50:30] *** neilff has joined #angularjs
[22:50:56] *** Tucker has joined #angularjs
[22:51:00] *** resu01 has joined #angularjs
[22:51:09] <resu01> hello
[22:51:18] <KernelCurry> dzannotti realod the page ;) it was saved a a bad time it is good now
[22:51:35] *** jr3 has quit IRC
[22:51:43] <resu01> i just imported angular strap in my project but it doesn't seem to work
[22:51:43] *** Luser has quit IRC
[22:51:57] <BobbieBarker> did you include it into the index.html?
[22:52:04] *** Luser has joined #angularjs
[22:52:05] *** plushy has joined #angularjs
[22:52:07] <BobbieBarker> and then inject the dependency into your modules?
[22:52:18] *** jdivock has quit IRC
[22:52:18] <resu01> the console doesn't complain for errors but the typeahead doesn't work properlu
[22:52:23] *** koleS has quit IRC
[22:52:28] <BobbieBarker> you probably aren't injecting it
[22:52:29] <resu01> i included in my app
[22:52:33] *** jdivock has joined #angularjs
[22:52:36] *** Luser has quit IRC
[22:52:46] <Tucker> I have a quick question for angular.
[22:52:47] *** mystronyx has quit IRC
[22:52:48] <BobbieBarker> angular.module('myApp', ['mgcrea.ngStrap']);
[22:52:50] <resu01> and i added the two cdns
[22:52:52] <BobbieBarker> did you do that ^^
[22:53:01] *** Luser has joined #angularjs
[22:53:06] <resu01> yes sure BobbieBarker
[22:53:21] <BobbieBarker> did you grab the angular MOtion css file?
[22:53:29] *** shinnya has joined #angularjs
[22:53:35] <resu01> no
[22:53:38] *** baweaver has quit IRC
[22:53:41] *** evanjs has quit IRC
[22:53:43] <Tucker> I'm atempting to Trigger some angular directive from an external library in JS.
[22:53:43] <BobbieBarker> thats why you should be using bower
[22:53:44] <BobbieBarker> lol
[22:54:10] <dzannotti> KernelCurry: i don't think it has anything to do with the directive - i rather think that it has to do with the fact that when you LOAD that directive, the value is {{image[2]}}, that's the problem
[22:54:13] <Tucker> My prb is that the event is a native JS event. ie. engine.on('myEvent', triggerMyDirective);
[22:54:20] <resu01> just including the cdns without bower isn't enough?
[22:54:22] *** origin1tech has quit IRC
[22:54:38] *** Luser has quit IRC
[22:54:40] <KernelCurry> yes i know. but Angular knows that {{image[2]}} is and the lib does not
[22:54:47] <KernelCurry> dzannotti ^^
[22:54:49] *** Luser has joined #angularjs
[22:54:49] *** mystronyx has joined #angularjs
[22:54:55] *** jonathanpglick has joined #angularjs
[22:54:55] <BobbieBarker> well assuming you're calling the typahead directive properly inside your HTML, the only thing i can think of is that you're missing the css files that make it show up
[22:54:57] <mikhailvs> i currently am setting up the callback inside a config block
[22:54:58] <BobbieBarker> sweet and awesome like
[22:55:19] *** Luser has quit IRC
[22:55:46] *** Luser has joined #angularjs
[22:56:08] *** Snugug has quit IRC
[22:56:12] *** glassir has joined #angularjs
[22:56:21] *** Joe_knock has left #angularjs
[22:56:23] <whatasunnyday> morenoh149, i have a good example of source you can read if you're interested. angular-bootstrap makes a few directives. if you can understand the code there and create something similar, i think you would be in good shape.
[22:56:41] *** jonatha__ has joined #angularjs
[22:56:50] <dzannotti> KernelCurry: angular does, but unveil is not watching the data-src for re-execution of .unveil()
[22:57:02] <Tucker> Any chance I can get a quick suggestion on how to call functions/directives from native JS events?
[22:57:08] <KernelCurry> yes ... how would i go about this ?
[22:57:09] <dzannotti> you need to watch that attribute in your directive, and on change, you need to retrigger .unveil
[22:57:11] *** cthrax_ has joined #angularjs
[22:57:15] <morenoh149> whatasunnyday: sure. I think there's a large disconnect between understanding code and coming up with a solution though
[22:57:18] <resu01> thanks BobbieBarker. I thought using using only cdns and angular.module('myApp', ['mgcrea.ngStrap']); would be enough. And that bower was optionally
[22:57:39] *** Luser_ has joined #angularjs
[22:57:41] *** Luser has quit IRC
[22:57:49] <whatasunnyday> morenoh149, hopefully, after reading the code, you can challenge yourself to building a common bootstrap plugin in angular.
[22:58:00] *** epsilon_ has joined #angularjs
[22:58:01] *** Luser_ has quit IRC
[22:58:12] *** richardlitt has quit IRC
[22:58:19] *** cthrax has quit IRC
[22:58:21] *** glassir has quit IRC
[22:58:29] *** Luser has joined #angularjs
[22:58:29] <KernelCurry> dzannotti: ya ... how would i do that ?
[22:59:02] *** Ilgrim has joined #angularjs
[22:59:09] <morenoh149> I think finding a project I can contribute in a meaningful way would be best
[22:59:31] *** jonathanpglick has quit IRC
[22:59:31] *** jmckind has quit IRC
[22:59:38] *** jdivock_ has joined #angularjs
[22:59:44] <morenoh149> ah I know I have a side project I've been meaning to finish lol
[22:59:45] *** Tucker has quit IRC
[22:59:49] *** frickettz has joined #angularjs
[22:59:50] *** mtsr has quit IRC
[22:59:50] *** Luser has quit IRC
[23:00:10] <sweeper> only one? slacker
[23:00:16] *** Luser has joined #angularjs
[23:00:17] *** qdk has joined #angularjs
[23:00:21] *** mikhailvs has left #angularjs
[23:00:26] <morenoh149> :p
[23:00:46] <sweeper> morenoh149: there's always https://material.angularjs.org/#/
[23:00:46] *** Luser has quit IRC
[23:00:48] *** tjsail33 is now known as zz_tjsail33
[23:01:14] *** Luser has joined #angularjs
[23:01:28] *** glassir has joined #angularjs
[23:01:30] *** scythe__ has quit IRC
[23:01:32] *** neilff_ has joined #angularjs
[23:02:03] *** Ilgrim_ has quit IRC
[23:02:17] *** jdivock has quit IRC
[23:02:37] <kakashiAL> is there a way to tell the inputfield to put a 0 automaticaly if you only write 12.3, you get 12.30
[23:02:42] <whatasunnyday> I found this two sentence quote about transclude. Could someone explain what it means? Its from ng-book. "If we use transclude, watching for model property changes from within the controller of a directive
[23:02:43] <whatasunnyday> will not work properly. That is why best practice always recommends using the $watch service from
[23:02:43] <whatasunnyday> within the link function."
[23:02:49] <warnew_> wafflej0ck_: thanks!
[23:02:58] *** Luser_ has joined #angularjs
[23:03:08] *** neilff has quit IRC
[23:03:22] <whatasunnyday> Does it mean if I use an {{ expression }} two way binding will break?
[23:03:25] *** Luser_ has quit IRC
[23:04:02] *** Luser_ has joined #angularjs
[23:04:07] *** glassir has quit IRC
[23:04:15] *** gnrlbzik has quit IRC
[23:04:18] *** RobinBAwesome_ has joined #angularjs
[23:04:25] *** jagga has quit IRC
[23:05:29] <dzannotti> KernelCurry: gimme a sec
[23:05:39] *** Luser has quit IRC
[23:05:39] <TheAceOfHearts> when fetching data, do you guys prefer to do one big request or multiple small ones?
[23:05:41] *** Luser__ has joined #angularjs
[23:05:43] *** Luser_ has quit IRC
[23:05:45] <KernelCurry> dzannotti: ok thanks :)
[23:05:54] *** RobinBAwesome has quit IRC
[23:05:54] *** RobinBAwesome_ is now known as RobinBAwesome
[23:05:59] *** neilff_ has quit IRC
[23:06:08] *** Luser__ has quit IRC
[23:06:15] <dzannotti> Funny part is that i came here 2 hours ago because of a problem i have - i fixed 3 fiddles of ppl and still haven't solved my problem...
[23:06:18] *** FIFOd[a] has quit IRC
[23:06:25] *** neilff has joined #angularjs
[23:06:29] *** naschurmann has quit IRC
[23:06:41] *** Luser has joined #angularjs
[23:06:41] <whatasunnyday> dzannotti, perhaps its time to repost?
[23:06:55] <dzannotti> whatasunnyday: i have plenty times :P
[23:06:55] *** cboden has quit IRC
[23:07:04] <dzannotti> http://jsfiddle.net/ds55butw/ <--- anyone can explain to me how can i stop angular from adding a bunch of span?
[23:07:07] *** richiebkr has joined #angularjs
[23:07:16] *** recurrence has joined #angularjs
[23:07:51] <TheAceOfHearts> Foxandxss: ^
[23:08:04] <TheAceOfHearts> multiple small requests or one big one?~
[23:08:23] *** darrin_ has joined #angularjs
[23:08:24] *** Luser_ has joined #angularjs
[23:08:36] *** Luser has quit IRC
[23:08:39] <Foxandxss> TheAceOfHearts: big request with proper ways of caching the results can be really good
[23:08:40] *** darrin has quit IRC
[23:08:47] <TheAceOfHearts> I see
[23:08:48] *** jdivock_ has quit IRC
[23:08:53] <Foxandxss> small ones are also good since connections are not that slow this days
[23:08:58] *** Luser_ has quit IRC
[23:09:22] *** Luser has joined #angularjs
[23:09:23] *** jdivock has joined #angularjs
[23:09:33] *** tristanp has quit IRC
[23:09:44] *** patrickarlt has quit IRC
[23:09:52] *** neilff has quit IRC
[23:09:58] *** neilff has joined #angularjs
[23:10:07] *** BillCriswell has quit IRC
[23:10:10] *** cads has joined #angularjs
[23:10:30] <dzannotti> whatasunnyday: see? :)
[23:10:34] <dzannotti> KernelCurry: still on it
[23:10:38] <whatasunnyday> dzannotti, have you checked this out? http://stackoverflow.com/questions/14166420/stop-angularjs-inserting-span-class-ng-scope-span-using-ng-include
[23:10:40] <TheAceOfHearts> I see
[23:10:46] <KernelCurry> me too dzannotti lol ugh
[23:11:09] *** Luser_ has joined #angularjs
[23:11:09] <dzannotti> whatasunnyday: i have, but that way it doesn't support nested directives
[23:11:14] *** Luser has quit IRC
[23:11:19] *** walden is now known as walden|afk
[23:11:26] *** lucasjones has quit IRC
[23:11:36] *** Luser_ has quit IRC
[23:12:02] <dzannotti> KernelCurry: i do have it fixed - but it doesn't seem to want to set data-src for some reasons
[23:12:03] *** Luser has joined #angularjs
[23:12:17] <KernelCurry> ......
[23:12:24] *** busticated has quit IRC
[23:12:53] *** cacts|wtf is now known as cacts|works
[23:13:40] *** Luser has quit IRC
[23:13:45] *** tschundeee has quit IRC
[23:13:50] *** Luser has joined #angularjs
[23:13:58] *** jdivock has quit IRC
[23:14:21] *** tschundeee has joined #angularjs
[23:14:21] *** Luser has quit IRC
[23:14:28] *** monk12 has joined #angularjs
[23:14:28] *** zz_tjsail33 is now known as tjsail33
[23:14:47] *** patrickarlt has joined #angularjs
[23:14:49] *** Luser has joined #angularjs
[23:15:21] *** akrikos has quit IRC
[23:15:41] *** goodenough has quit IRC
[23:15:42] *** boxmein is now known as [boxmein]
[23:15:44] <morenoh149> sweeper: thanks
[23:16:33] *** Luser has quit IRC
[23:16:36] *** Luser_ has joined #angularjs
[23:17:03] *** Luser_ has quit IRC
[23:17:27] *** Luser has joined #angularjs
[23:17:54] *** ngbot has joined #angularjs
[23:17:54] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/M9vG3w
[23:17:54] <ngbot> angular.js/master ee42cfe Ciro Nunes: refactor(ngAria): remove local camelCase method...
[23:17:54] *** ngbot has left #angularjs
[23:18:14] *** jdivock has joined #angularjs
[23:18:41] *** mzabriskie has quit IRC
[23:19:09] *** tschundeee has quit IRC
[23:19:09] *** Luser has quit IRC
[23:19:10] <dzannotti> KernelCurry: do ur images change over time?
[23:19:14] *** Luser_ has joined #angularjs
[23:19:23] *** WhatsInTheBoks has quit IRC
[23:20:02] *** Luser_ has quit IRC
[23:20:08] *** elrabin_ has joined #angularjs
[23:20:14] *** Luser has joined #angularjs
[23:20:21] *** monk12 has quit IRC
[23:20:26] *** lucasjones has joined #angularjs
[23:20:42] *** numproc has quit IRC
[23:20:48] *** Manj-811-Xfce has joined #angularjs
[23:20:51] *** qstrahl has quit IRC
[23:21:04] <dzannotti> KernelCurry: http://jsfiddle.net/7Lfenkmc/ that'll do - tho it won't work if the images change over time - in that case you need to scope watch data-src inside the directive, and retrigger $(element).unveil();
[23:21:14] *** KernelCurry has quit IRC
[23:21:58] *** Luser has quit IRC
[23:22:06] *** Luser has joined #angularjs
[23:22:15] *** KernelCurry has joined #angularjs
[23:22:21] <dzannotti> fml, i fixed his bug and he goes offline
[23:22:24] *** Luser has quit IRC
[23:22:26] <dzannotti> oh he's back
[23:22:26] <KernelCurry> here!
[23:22:28] *** cads has quit IRC
[23:22:28] <KernelCurry> dzannotti
[23:22:30] <dzannotti> KernelCurry: http://jsfiddle.net/7Lfenkmc/ that'll do - tho it won't work if the images change over time - in that case you need to scope watch data-src inside the directive, and retrigger $(element).unveil();
[23:22:31] <KernelCurry> internet dies
[23:22:48] <KernelCurry> ok
[23:22:55] *** dhcar_AFK is now known as dhcar
[23:22:56] *** Luser has joined #angularjs
[23:23:17] <KernelCurry> let me try this out
[23:23:17] *** chachan has quit IRC
[23:24:06] *** Luser has quit IRC
[23:24:20] <dzannotti> i can't save ur plunkr but i did edit it and it worked
[23:24:31] *** Luser has joined #angularjs
[23:24:41] *** swirlycheetah has joined #angularjs
[23:24:50] *** fakingfantastic has quit IRC
[23:24:57] *** neilff has quit IRC
[23:25:12] *** ngbot has joined #angularjs
[23:25:13] <ngbot> [angular.js] vojtajina force-pushed browserstack-with-socketio-1_0 from 665ab14 to f751854: http://git.io/OJnqFg
[23:25:13] <ngbot> angular.js/browserstack-with-socketio-1_0 f751854 Vojta Jina: chore(travis): enable both SauceLabs and BrowserStack...
[23:25:13] *** ngbot has left #angularjs
[23:25:21] <phix> G'day
[23:25:51] *** baweaver has joined #angularjs
[23:26:09] *** richiebkr has quit IRC
[23:26:14] <KernelCurry> dzannotti says $whenReady is not a refined function :-/
[23:26:26] *** tschundeee has joined #angularjs
[23:26:32] <dzannotti> show me the plunkr?
[23:26:57] *** UniBot1 has quit IRC
[23:27:11] *** night-owl is now known as zz_night-owl
[23:27:13] *** evanjs has joined #angularjs
[23:27:17] <dzannotti> it worked on plunkr i'm sure :)
[23:27:27] <whatasunnyday> dzannotti, is it possible instead of using transclude: true, you set the controller? i think it may add ng-scope to your directive instead appending it inside
[23:27:29] <SexualRickshaw> Okay, so I'm wanting to update an individual entry in a JSON file - is there any built in Angular functions that would allow me to do that?
[23:27:44] *** UniBot1 has joined #angularjs
[23:27:51] <morenoh149> so anyone know what's needed in material angular? @ sweeper other than the obvious bugs in the issue tracker
[23:27:53] <KernelCurry> .... ok let me fuck wit hit more .
[23:28:04] *** ngbot has joined #angularjs
[23:28:05] <ngbot> [angular.js] vojtajina force-pushed gruntfile-cleanup from 50d9668 to 2b83ce1: http://git.io/Sx29Vg
[23:28:05] <ngbot> angular.js/gruntfile-cleanup d962de1 Vojta Jina: chore(travis): clean up browserstack/saucelabs scripts
[23:28:05] <ngbot> angular.js/gruntfile-cleanup 2b83ce1 Vojta Jina: chore(grunt): remove unused code
[23:28:05] *** ngbot has left #angularjs
[23:28:07] <dzannotti> whatasunnyday: if i don't transclude, anything that is inside gets lost - so i have to, i haven't tried to set a controller, but i can't see how that changes
[23:28:12] *** Luser has quit IRC
[23:28:39] <KernelCurry> dzannotti: http://plnkr.co/edit/UXJZNEf35jzJdjC4xe34?p=preview
[23:29:00] *** lilbaby has joined #angularjs
[23:29:13] <dzannotti> whatasunnyday: http://jsfiddle.net/uhjhfdq2/ <-- still adding a fuckton of spans
[23:29:23] *** jdivock has quit IRC
[23:29:26] *** deanclkclk__ has quit IRC
[23:29:34] *** PeterMetz has quit IRC
[23:29:41] *** fishtoaster has quit IRC
[23:29:52] <whatasunnyday> dzannotti, you can use the $transclude argument of controller instead of using transclude: true i believe
[23:29:59] *** jdivock has joined #angularjs
[23:30:00] <whatasunnyday> dzannotti, can i pm you for a second?
[23:30:11] *** evanjs has quit IRC
[23:30:34] <dzannotti> yeah ofc
[23:30:38] <morenoh149> I'm guessing it's just the issues in the issue tracker. there are tons
[23:30:47] <dzannotti> KernelCurry: copy that - seen the problem 2 secs again.
[23:30:53] *** evanjs has joined #angularjs
[23:31:40] <KernelCurry> thanks for the help dzannotti i apprecieate it .
[23:31:50] *** scythe__ has joined #angularjs
[23:32:02] <wafflej0ck_> SexualRickshaw: no JS can't write to the filesystem unless you have a node server running there
[23:32:19] <SexualRickshaw> Even if they're just temp entries?
[23:32:22] <wafflej0ck_> SexualRickshaw: or you use some sort of web storage like localstorage
[23:32:26] <KernelCurry> or your File system is S3 or something
[23:32:59] *** zz_night-owl is now known as night-owl
[23:33:21] <SexualRickshaw> Got it
[23:33:37] <wafflej0ck_> SexualRickshaw: look at ngStorage if you just need some temp space
[23:34:10] *** jdivock has quit IRC
[23:34:32] *** agrajag42 has quit IRC
[23:35:04] *** mystronyx has quit IRC
[23:35:06] *** ron1 has quit IRC
[23:35:07] *** evanjs has quit IRC
[23:35:14] <SexualRickshaw> I'm just trying to implement an edit function into this spa
[23:36:05] *** foofoobar has quit IRC
[23:36:09] *** plato has quit IRC
[23:36:25] *** deanclkclk has quit IRC
[23:36:29] <wafflej0ck_> SexualRickshaw: shouldn't need storage for that really
[23:37:10] <wafflej0ck_> SexualRickshaw: you can just keep the data in a factory/service unless you're concerned with users hitting the f5 or refresh key randomly
[23:37:17] *** deanclkclk has joined #angularjs
[23:37:28] *** KernelCurry has quit IRC
[23:37:47] *** Somatt has joined #angularjs
[23:38:07] <SexualRickshaw> Well, it's just for testing purposes right now, I'm eventually going to back this with a node server and a mongo database
[23:38:07] *** KernelCurry has joined #angularjs
[23:38:08] *** JeffBuhrt has joined #angularjs
[23:38:31] <KernelCurry> dzannotti: how goes it ?
[23:38:53] <dzannotti> on it
[23:39:10] *** jdivock has joined #angularjs
[23:39:46] *** grogs has quit IRC
[23:39:52] *** aslate has joined #angularjs
[23:39:59] <Manj-811-Xfce> hi
[23:40:24] <Manj-811-Xfce> Hi, I was reading on owasp.org about CSRF, XSS and ways to protect. They say that general recommendation is to synchronizer token pattern (secure forms with form key) and they are doing that by generating form with PHP or ASP.NET and then return form to the client with generated token, but I'am creating SPA in AngularJS and everything works with AJAX calls, so any suggestion or recommendation how to do that?
[23:40:29] <SexualRickshaw> So to do what I need to do, well, to preface it, I have all the entries in my JSON loaded into an array, to edit an individual one, I'd need to find that element in the array and update accordingly?
[23:40:57] <icfantv> i'm sorry, but is it just me or is anyone else unable to keep a straight face while typing SexualRickshaw?
[23:41:23] <SexualRickshaw> Go fuck yourself, I'm not here to humor people
[23:41:31] <icfantv> whoa. easy tiger
[23:41:32] <Guest22> hahaha
[23:41:39] *** Guest22 is now known as atomiccc
[23:41:47] *** neilff has joined #angularjs
[23:42:15] <icfantv> it's a funny handle, that's all. no need to get all childish
[23:42:17] *** oien has joined #angularjs
[23:42:21] <oien> hello
[23:42:42] <SexualRickshaw> No need to point out that you can't help but laugh at my name
[23:42:46] *** atomiccc is now known as DickwadMcGillicu
[23:42:50] *** imehesz has quit IRC
[23:42:53] <DickwadMcGillicu> damn
[23:43:04] *** sonofdirt has quit IRC
[23:43:13] *** pretzel80 has joined #angularjs
[23:43:28] *** dhcar is now known as dhcar_AFK
[23:43:32] *** neilff has quit IRC
[23:43:37] *** LeDiegue has quit IRC
[23:43:41] <icfantv> pot: stirred
[23:43:44] <whatasunnyday> dzannotti, http://jsfiddle.net/06h1duh0/ ?
[23:43:50] *** NevilleS has quit IRC
[23:44:00] <oien> anybody has a clue how i list loaded modules, trying to debug a "Argument 'xCtrl' is not a function, got undefined" thingie
[23:44:22] <Slim> SexualRickshaw: in reply to your question, yes that would be how you edit each entry in your array
[23:44:31] *** aslate has quit IRC
[23:44:32] *** Slowintrepid has quit IRC
[23:44:33] <SexualRickshaw> Thank you, slim
[23:44:34] <whatasunnyday> dzannotti, looks like i broke replace: true but there's no spans now
[23:44:42] <dzannotti> whatasunnyday: nope, if you inspect it hasn't replaced nor merged the classes
[23:44:49] <kakashiAL> I get $scope.$watch() working
[23:44:56] * kakashiAL is proud as hell
[23:44:59] <Slim> np
[23:45:01] *** chrisbirk has quit IRC
[23:45:07] <Slim> nice job kakashiAL :)
[23:45:14] *** KernelCurry has quit IRC
[23:45:26] *** evanjs has joined #angularjs
[23:45:29] *** swirlycheetah has quit IRC
[23:45:39] <kakashiAL> but I dont get it, it works if I do $scope.$watch(variable, function, true)
[23:46:00] <kakashiAL> but if I dont use true, it is not working
[23:46:49] <icfantv> kakashiAL: how are you chaning the watched variable?
[23:46:56] *** mccarron_ has joined #angularjs
[23:46:57] <icfantv> kakashiAL: inside or outside the $digets loop?
[23:47:00] *** mccarrontr1ck has quit IRC
[23:47:05] *** cacts|wtf has joined #angularjs
[23:47:07] <cacts|wtf> r
[23:47:10] *** cacts|wtf has left #angularjs
[23:47:10] *** grogs has joined #angularjs
[23:47:16] <kakashiAL> icfantv: I dont understand your question :(
[23:47:30] *** conan_the_destro has quit IRC
[23:47:31] <icfantv> kakashiAL: where is your watch defined?
[23:47:43] <dzannotti> kaka, the last parameter (the true/false is to watch an array for example, rather than a single variable
[23:47:57] *** plato has joined #angularjs
[23:48:02] *** jdivock has quit IRC
[23:48:08] *** Oxynum has quit IRC
[23:48:33] *** conan_the_destro has joined #angularjs
[23:48:38] *** jdivock has joined #angularjs
[23:48:39] <kakashiAL> if you mean the first paramter of $watch() with watch
[23:48:48] <kakashiAL> it is above
[23:49:04] *** szymek_ has joined #angularjs
[23:49:19] <icfantv> kakashiAL: what is the object type of your watched variable? a string?
[23:49:40] <kakashiAL> icfantv: an array
[23:49:47] *** mven has joined #angularjs
[23:49:49] <icfantv> kakashiAL: that's why. see dzannotti's response
[23:50:07] *** glassir has joined #angularjs
[23:50:22] *** baweaver has quit IRC
[23:50:23] *** deanclkclk has quit IRC
[23:50:43] <kakashiAL> dzannotti: got that, but how can you tranlate that last paramter as a question?
[23:50:56] <kakashiAL> I mean "is ....?" true/false
[23:50:59] <dzannotti> kakashiAL: ?
[23:51:10] *** _dc_ has quit IRC
[23:51:21] <dzannotti> kakashiAL: i wasn't reading earlier so i have no idea what are you trying to do
[23:51:23] <icfantv> kakashiAL: if false, it just compares object reference
[23:51:45] <dzannotti> i was just saying that the last parameter of the watch, is if to deep watch or not (so array)
[23:51:46] *** _dc has joined #angularjs
[23:51:55] <icfantv> kakashiAL: so if you're just changing the CONTENTS of an array, a value of false won't trigger the watch because the reference didnt' change
[23:52:04] *** freelyfred has joined #angularjs
[23:52:17] *** szymek has quit IRC
[23:52:26] <icfantv> kakashiAL: the angular docs aren't totally clear on this, if you look at the source for $watch, the code comments are far better
[23:52:27] <kakashiAL> you mean: $watch(paramterA, function, is paramterA object or normal variable?)
[23:53:02] *** dhcar_AFK is now known as dhcar
[23:53:03] <icfantv> kakashiAL: you said that the first parameter to your $watch call is an array, yes?
[23:53:11] <kakashiAL> icfantv: yes
[23:53:22] *** jdivock has quit IRC
[23:53:33] <icfantv> kakashiAL: right
[23:53:54] <icfantv> kakashiAL: so if you want to watch the array for changes, you have to say true for the 3rd parameter
[23:54:01] <kakashiAL> $watch(paramterA, function, paramterA is object)
[23:54:03] *** lilbaby has quit IRC
[23:54:15] <icfantv> kakashiAL: otherwise, angular JUST looks at the reference.
[23:54:18] *** patrickarlt has quit IRC
[23:54:24] *** oste has quit IRC
[23:54:41] <icfantv> kakashiAL: sorry, it sounds like we're not being clear here
[23:54:58] *** dcherman2 has quit IRC
[23:55:11] *** fairuz has quit IRC
[23:55:27] <icfantv> kakashiAL: if i have var foo = 'bar', then i can just say $watch('foo', function)
[23:55:29] *** fairuz has joined #angularjs
[23:55:35] <kakashiAL> icfantv: I am very greatful for your time, I just need more time to get it :)
[23:55:53] *** _dc has quit IRC
[23:56:06] <icfantv> kakashiAL: no worries. strings are objects so just saying "first param is object" isn't sufficient. it depends on what behavior you want.
[23:56:26] *** busticated has joined #angularjs
[23:56:26] <kakashiAL> icfantv: sure, it is look at stack vs heap
[23:56:29] *** NevilleS has joined #angularjs
[23:57:14] *** SomeKittens has joined #angularjs
[23:57:23] *** sirkitree is now known as sirkitree|afk
[23:57:26] <icfantv> kakashiAL: you just need to figure out if you want to watch the array for changes or if you want to watch the array reference.
[23:58:19] *** dhrami has joined #angularjs
[23:59:45] *** shackleford has quit IRC
[23:59:57] <icfantv> kakashiAL: a 3rd parameter value of false would only look for when i said something like: var foo = ['a', 'b']; foo = [1,2,3].
top

   December 5, 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 | 31 | >