Switch to DuckDuckGo Search
   October 1, 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:03] *** tfennelly has quit IRC
[00:00:22] *** curser has joined #angularjs
[00:00:37] *** nickgs has quit IRC
[00:01:00] *** bayousoft has quit IRC
[00:01:00] *** walden is now known as walden|afk
[00:01:04] *** NoNMaDDeN has joined #angularjs
[00:01:27] *** Johnny13371337 has quit IRC
[00:02:01] *** doug_ has quit IRC
[00:02:12] *** Mxyzpltk has quit IRC
[00:02:37] *** AngularUI has joined #angularjs
[00:02:37] <AngularUI> [ng-grid] swalters pushed 1 new commit to master: http://git.io/cNFA5g
[00:02:37] <AngularUI> ng-grid/master 74132b4 Shane Walters: fix(core) row searcher was trying to call an api when the api wasn't available yet
[00:02:37] *** AngularUI has left #angularjs
[00:03:57] *** orbsio has quit IRC
[00:04:03] *** mjs2600 has joined #angularjs
[00:04:29] *** zlalanne_ has quit IRC
[00:04:35] *** Guest94161 is now known as stephen
[00:04:49] *** cesarkawakami has quit IRC
[00:05:16] *** endash has joined #angularjs
[00:05:17] <stephen> Hola folks
[00:05:21] *** ckboii89 has joined #angularjs
[00:05:36] *** tahoemph has joined #angularjs
[00:05:41] *** NoNMaDDeN has quit IRC
[00:05:46] *** wallerdev has quit IRC
[00:06:46] *** wallerdev has joined #angularjs
[00:07:03] *** gurke_ has quit IRC
[00:07:23] *** yoshokatana has quit IRC
[00:07:30] *** stwalcher has quit IRC
[00:07:38] *** travm is now known as travm-afk
[00:07:46] *** curser has left #angularjs
[00:07:47] *** travm-afk has quit IRC
[00:07:56] *** bck has joined #angularjs
[00:08:05] *** whitebook has quit IRC
[00:08:28] <asgwar12> http://stackoverflow.com/questions/26130056/angularjs-filter-to-show-another-value-from-db-based-on-value-in-iteration
[00:08:55] *** seu_barriga has quit IRC
[00:09:06] *** whitebook has joined #angularjs
[00:09:09] *** mchung has quit IRC
[00:10:02] *** superstructor has joined #angularjs
[00:10:37] *** whitebook has quit IRC
[00:11:02] *** gnrlbzik_ has quit IRC
[00:11:20] *** gnrlbzik has joined #angularjs
[00:12:09] *** kewark has joined #angularjs
[00:12:25] *** kewark has quit IRC
[00:12:25] *** kewark has joined #angularjs
[00:12:48] *** mikehaas763 has joined #angularjs
[00:13:02] *** thedodd has quit IRC
[00:13:02] *** oste has quit IRC
[00:13:09] *** krawek has quit IRC
[00:13:10] *** kewark is now known as krawek
[00:13:11] *** mary5030_ has joined #angularjs
[00:13:58] *** JimTheDev has quit IRC
[00:14:00] *** mchung has joined #angularjs
[00:14:04] *** bbankes has quit IRC
[00:14:57] *** JimTheDev has joined #angularjs
[00:15:05] *** FunnyLookinHat has quit IRC
[00:15:07] *** tdierks1 has joined #angularjs
[00:15:07] *** D9 has quit IRC
[00:15:14] *** mary5030 has quit IRC
[00:15:14] <caitp> asgwar12, did you ask that question?
[00:15:23] *** jerev_away has quit IRC
[00:15:27] <caitp> you can't really have asynchronous filters, so...
[00:15:39] *** tomphp has joined #angularjs
[00:15:41] *** cthrax has quit IRC
[00:15:50] <caitp> i mean, you could return a promise from a filter, but it would only work in legacy angular, or an old enoguh version of angular that you can turn on promise unwrapping
[00:15:54] <caitp> which you probably don't want to do
[00:15:56] *** Sawbones has quit IRC
[00:16:51] *** jsheely has joined #angularjs
[00:16:58] *** sonofdirt has quit IRC
[00:17:22] *** skammer4 has joined #angularjs
[00:17:56] *** jiskiras has quit IRC
[00:18:52] <jsheely> Any recommendations on which angularjs file upload is the simplist.
[00:19:47] *** kirfu has quit IRC
[00:19:52] *** skammer3 has quit IRC
[00:20:22] *** mary5030_ has quit IRC
[00:22:06] *** sudo_aptGet has joined #angularjs
[00:22:27] *** tina has quit IRC
[00:23:33] *** coderdad has quit IRC
[00:23:41] *** cesarkawakami has joined #angularjs
[00:25:41] *** justinmburrous has joined #angularjs
[00:26:34] *** whatadewitt has joined #angularjs
[00:26:50] <stephen> jsheely: File Upload is all about server side really. Anything beyond <input type="file" is http work
[00:27:26] <whatadewitt> hey everyone, general question... i want to emit events in my angular app, but i feel $emit and $on on rootscope is not the most efficient way of doing things... is that a generally accepted practice, or should i do something else?
[00:27:38] *** jbogarin has joined #angularjs
[00:27:54] *** tfennelly has joined #angularjs
[00:27:59] <stephen> jsheely: This one seems well documented: https://github.com/danialfarid/angular-file-upload
[00:28:01] *** baweaver has quit IRC
[00:28:26] *** foobar321 has joined #angularjs
[00:28:46] <foobar321> Hi
[00:28:55] <stephen> whatadewitt: Does every thing in your application need to listen for all events?
[00:29:14] <ajf-> When I run .config(function($routeProvider){ $routeProvider.when('/some',{} ) }) more than once, which one gets priority?? I'm swapping both around but I always seem to get the same one recorded
[00:29:16] *** ged__ is now known as ged
[00:29:20] <whatadewitt> jsheely: late to the party, but i am using that module now and really like it. i have to chunk the file, but it's super easy
[00:29:52] *** justinmburrous has quit IRC
[00:30:13] <whatadewitt> stephen: not really, it's more targeted, like i have a service uploading files and i have a sidebar that displays upload progress, i'd love to fire an event when a file has uploaded to decrement a counter or something to show how many files are left
[00:30:13] <foobar321> Can someone please tell me what front&back-end framework is mentioned here in this video: http://youtu.be/MSH9yB9y4ZA?t=47m16s ? I don't know what to google for?
[00:30:29] <stephen> whatadewitt: If you're trying for a very dynamic version of ctrls/directives listening for events, then a rootscope routing of them is a good choice. However, if your event chain is very well defined, raise them through controlled scopes
[00:30:48] *** raibutera has joined #angularjs
[00:30:51] <whatadewitt> stephen: thank you!
[00:30:54] *** jimmyy has quit IRC
[00:31:19] *** tomzx is now known as tomzx`afk
[00:31:28] *** JeffBonds has joined #angularjs
[00:31:31] <stephen> whatadewitt: Ok, in the instance you just described, don't use events. You should use a service (factory or value) which is shared between them
[00:31:36] *** dman777_1lter has joined #angularjs
[00:31:53] *** AtomicCookie has joined #angularjs
[00:31:55] *** dman777_alter has quit IRC
[00:31:59] *** mindlace has quit IRC
[00:32:01] *** Embassy has quit IRC
[00:32:06] <stephen> whatadewitt: Update values inside that service, don't throw events around
[00:32:15] <whatadewitt> stephen, well i have the service built and working, should i just use something like "UploadService.$on" and $broadcast from my service?
[00:32:16] <foobar321> is there any front-end and back-end framework? What he is talking about here http://youtu.be/MSH9yB9y4ZA?t=47m16s ?
[00:32:28] *** jerev_away has joined #angularjs
[00:32:30] <whatadewitt> now im getting confused :S
[00:32:43] <raibutera> hi guys.. im really new to BDD/TDD/unit testing and starting to write unit tests for some services using karma, mocha and sinon. does anyone have a couple of mins spare to answer some really basic questions? (first one: is creating a test helper(?) as simple as just writing a javascript file and including it at the top of my karma.conf.js files array?)
[00:33:03] <raibutera> foobar321, meteor is front+backend
[00:33:42] <raibutera> foobar321, but there are things like the MEAN stack which package front and backend with Angular and backends that are designed for angular like Synth.js
[00:34:01] <foobar321> raibutera: but meteor is a concept for websocket + server-side events + some other old techniques for older IE to deliver content to browser / comet server
[00:34:18] *** rockfordal has joined #angularjs
[00:34:21] *** rockford_ has joined #angularjs
[00:34:32] <whatadewitt> stephen: are you suggesting i use $watch on the service variables/functions from my controller?
[00:34:33] <stephen> whatadewitt: Remember, a service is nothing more than a little independent scope. I use factories for this all the time.
[00:34:54] <whatadewitt> im still pretty new to angular, still trying to rassle everything together
[00:34:59] <raibutera> lol foobar321 the video you just linked is literally about synth.js
[00:35:12] *** cotko has quit IRC
[00:35:17] <stephen> whatadewitt: No, Im suggesting your inject the service into your ctrls, and then have your views directly bind to those values. There is no reason to use a watch.
[00:35:20] *** Evanion has quit IRC
[00:35:30] <raibutera> whatadewitt you don't need to watch them
[00:35:30] <whatadewitt> i see i see
[00:35:35] *** mikehaas763 has quit IRC
[00:35:36] <whatadewitt> ok, i will try that
[00:35:40] <foobar321> yes but I don't like concept behind synth.js. I want something that will render content on the server-side and then just send "deltas" to client
[00:35:41] <whatadewitt> appreciate the help :D
[00:35:43] *** skullz has quit IRC
[00:36:09] <stephen> whatadewitt: When you inject the service, $scope.someService = SomeService
[00:36:17] <raibutera> whatadewitt for example... create a service called "DewittService", then inside the service function "var self = this; this.sharedObject = {data: 'foo'}"
[00:36:17] <foobar321> raibutera: besides this guy is using jade for templating... I don't like jade
[00:36:28] <stephen> whatadewitt: Then just reference the value you are changing in the view
[00:36:34] <raibutera> foobar321what do you mean by deltas
[00:36:40] <whatadewitt> i am going to give that a shot right now, thank you!!
[00:36:43] *** cthrax has joined #angularjs
[00:36:59] <foobar321> raibutera: differences between current client page and page he is willing to go :)
[00:37:06] <stephen> That question comes up so much, I really need to write an example.
[00:37:13] <stephen> later folks
[00:37:14] *** magellanicloud_ has joined #angularjs
[00:37:25] <raibutera> foobar321 you mean like PHP?
[00:37:29] *** stephen has quit IRC
[00:38:01] *** elnur has quit IRC
[00:38:03] <raibutera> whatadewitt please note so you dont go crazy over this: you should always use an object rather than something like an array or a string
[00:38:13] *** whitebook has joined #angularjs
[00:38:17] *** baweaver has joined #angularjs
[00:38:34] <foobar321> raibutera: no... look... every page has same footer and header. So when user first navigates to any of my page gets full content "rendered" from the server. This way SEO is happy too. And then when user navigates any way get's only new "blocks". Is that clear?
[00:38:51] <whatadewitt> BRILLIANT!!! it worked
[00:38:53] *** rockford_ has quit IRC
[00:38:55] <whatadewitt> that was so simple
[00:39:04] *** rockfordal has quit IRC
[00:39:10] <whatadewitt> my biggest problem with angular continues to be me overthinking everything
[00:39:16] <raibutera> foobar321, so you want a basic template and then something like angularJS?
[00:39:53] <whatadewitt> raibutera what i have is an array of files being uploaded... do i still want to use an object here? is there a reason for this?
[00:39:59] <foobar321> well the template doesn't have to be basic
[00:40:05] <raibutera> i mean basic templating engine
[00:40:06] <raibutera> like jade
[00:40:11] *** fedenunez has quit IRC
[00:40:16] *** chanced has quit IRC
[00:40:20] <foobar321> but angular is already templating engine
[00:40:21] <raibutera> whatadewitt: it's to do with javascript types by value or reference
[00:40:40] <foobar321> I don't want to use TWO engines. Just ONE
[00:40:45] <raibutera> it isnt a templating engine
[00:40:47] <raibutera> and like i said
[00:40:50] <raibutera> you literally write ONE template
[00:41:01] <raibutera> (or.. if you're like me, none at all and just do it all client side)
[00:41:09] <raibutera> then use angular for everything else
[00:41:11] <foobar321> Yes. When user 1st navigates to page gets rendered page nicely with all needed resources
[00:41:12] *** gnrlbzik has quit IRC
[00:41:20] *** AtomicCookie has quit IRC
[00:41:25] <raibutera> what do you mean rendered page with all needed resources????
[00:41:29] <whatadewitt> raibutera: i'm confused again, sorry :S
[00:41:30] <raibutera> you can just push the resources down
[00:41:42] <whatadewitt> stephen: thanks again :D
[00:41:45] <raibutera> whatadewitt... in short, if you use something like an array or string
[00:41:52] <raibutera> those types are copied by value
[00:42:02] <raibutera> whereas objects are copied by reference
[00:42:03] <raibutera> so
[00:42:07] <jaawerth> MOAR DOTS
[00:42:09] <raibutera> you can't guarantee
[00:42:17] <raibutera> that changes on the original string
[00:42:25] <raibutera> will reflect changes on the copied strings or arrays in controller
[00:42:26] <raibutera> for example
[00:42:30] <raibutera> with an object
[00:42:38] <raibutera> each "controller copy" of the service object
[00:42:46] <raibutera> is literally just a reference to the service object
[00:42:48] *** zeroquake has quit IRC
[00:42:57] <whatadewitt> raibutera: but if i'm only looking at the count, the length of the array, is it THAT important?
[00:43:11] <raibutera> well it depends if you expect that data to change
[00:43:14] <whatadewitt> i think i understand what you're saying in general
[00:43:16] <whatadewitt> i do
[00:43:17] <whatadewitt> well
[00:43:19] <raibutera> over the lifetime of your controller
[00:43:20] <raibutera> like
[00:43:21] <whatadewitt> as files finish uploading
[00:43:32] <raibutera> it's really not that hard btw
[00:43:36] <raibutera> i dont mean to be dismissive
[00:43:36] <whatadewitt> the count of the number left to uplaod goes down
[00:43:40] <raibutera> but its just a case of
[00:43:47] <foobar321> raibutera: It means that I want to avoid what is presented here http://youtu.be/MSH9yB9y4ZA?t=9m29s
[00:43:55] <whatadewitt> no no, i totally think i am overthinking it and making it more difficult than i need it to be
[00:44:30] <jaawerth> this is an important thing to understand not with just angular
[00:44:50] <jaawerth> how javascript works in terms of pass by value/pass by reference, object references, and prototypical inheritance
[00:45:01] <foobar321> raibutera: is that clear now but I want mean that I want to have 1st request pre-rendered? And then just get "deltas" between pages?
[00:45:01] <raibutera> instead of in the service using "this.example= []" and "$scope.example = ExampleService.example" just do "this.example = {data: []}" and "$scope.example = ExampleService.example"
[00:45:02] <jaawerth> getting a grasp on those javascript concepts will make angular development infinitely easier
[00:45:10] *** icfantv has quit IRC
[00:45:12] *** mzabriskie has quit IRC
[00:45:24] <jaawerth> oh, and understanding the fact that functions are first class objects that can be passed around, since so much of angular works on passing functions around
[00:45:27] *** jdcasey has quit IRC
[00:45:32] <raibutera> foobar321 unless i'm being really obtuse, it just sounds redundant to render on both server AND client
[00:46:03] <whatadewitt> raibutera: this is making sense
[00:46:03] <foobar321> raibutera: there's no redundancy because on both side we're using JavaScript :)
[00:46:12] <Grokling> I have a filter puzzle.. It's a simple one, but I'm not getting it. http://pastebin.com/grgFrx44
[00:46:35] *** squeakytoy2 has quit IRC
[00:46:37] <foobar321> raibutera: so we can write code ONCE and execute it on the server-side for 1st time and later on on the client-side, right?
[00:46:37] <jaawerth> well, what you CAN do if the pages look identical for each user is set your server to use micro-caching to make it better handle lots of concurrent requests
[00:46:45] <jaawerth> but mixing server-side templating and client-side templating is a fool's game
[00:46:49] <raibutera> foobar321 I'm having difficulty phrasing what i mean
[00:46:55] <jaawerth> unless you're very careful how you do it
[00:47:14] <jaawerth> so many ways for things to break
[00:47:18] <foobar321> jaawerth: why mixing? Why do you think I have use two different ones?
[00:47:20] <jaawerth> it makes the code much harder to organize and test, as well
[00:47:38] <foobar321> It's Javascript both sides... helllo :)
[00:47:39] <jaawerth> it doesn't matter if you're using the same templating engine, if the server is doing some of it and the client the other...
[00:47:42] <raibutera> foobar321 it goes something like this....: front-end framework has ALL the templates, and server just sends down JSON objects via some sort of REST API, which in effect IS the equivalent of "deltas"£
[00:47:48] *** squeakytoy2 has joined #angularjs
[00:48:06] <jaawerth> the front-end can lazy-load the templates, but it loads them as static files and renders it client-side
[00:48:13] <raibutera> yup
[00:48:18] <raibutera> and you can even cache the templates
[00:48:22] <raibutera> so they are all loaded at once
[00:48:31] <jaawerth> yeah (and I believe it will by default, to an extent)
[00:48:37] <jaawerth> oh, you mean cache 'em server-side
[00:48:40] <raibutera> no i mean
[00:48:42] <raibutera> cache em client side
[00:48:43] *** recidive has quit IRC
[00:48:43] <raibutera> like
[00:48:47] <raibutera> adding to the template-cache
[00:48:48] <raibutera> in angular
[00:48:49] <jaawerth> oh, yeah, $templateCache
[00:48:54] <raibutera> *$templateeCache
[00:48:56] <raibutera> yup[
[00:49:00] <raibutera> so no additional requests are made
[00:49:02] *** nemothekid has quit IRC
[00:49:21] <raibutera> foobar321, using $templateCache in angular means that literally the only requestst that need be made are for the data that fills the templates
[00:49:25] <raibutera> rather than the templates themselves
[00:49:37] *** howitdo has quit IRC
[00:49:52] <raibutera> sorry to repeat myself btw guys but I'm asking again for exposure: im really new to BDD/TDD/unit testing and starting to write unit tests for some services using karma, mocha and sinon. does anyone have a couple of mins spare to answer some really basic questions? (first one: is creating a test helper(?) as simple as just writing a javascript file and including it at the top of my karma.conf.js files array?)
[00:49:52] <jaawerth> but you can do both. Because here's the beauty: if your templates are static files, then a huge portion of your app is static content, and not only are servers like nginx INSANELY efficient as serving them up, but you can also cache them on the server so that even brand new requests will load fast (and then cache on the client so they don't even have to make the requst)
[00:49:56] *** gnrlbzik has joined #angularjs
[00:50:12] <raibutera> ^--
[00:50:23] <raibutera> jaawerth thanks
[00:50:43] *** chanced has joined #angularjs
[00:50:50] *** zakj has quit IRC
[00:50:59] *** dman777_1lter has quit IRC
[00:51:02] *** magz has joined #angularjs
[00:51:06] <jaawerth> also, the majority of your app is now independent of server technology, which lets you do amazing things when it comes to tying multiple platforms together or migrating between backends
[00:51:11] *** AtomicCookie has joined #angularjs
[00:51:32] *** jwowwz has quit IRC
[00:51:37] *** fairchild is now known as fairchild_away
[00:52:03] *** sirkitree is now known as sirkitree|afk
[00:52:08] *** fairchild_away has quit IRC
[00:52:50] <foobar321> jaawerth: but I will not migrate between backends... why should I... what a weird use-case... migrate back-end?
[00:52:58] *** shackleford has quit IRC
[00:53:13] *** simeon has joined #angularjs
[00:53:16] *** simb has quit IRC
[00:53:31] <jaawerth> in the tech world, it's ultimately inevitable
[00:53:35] <jaawerth> also, node can't do everything
[00:53:37] <foobar321> jaawerth: client-side + server-side should go TOGETHER like a perfect couple man and woman - javascript and javascript
[00:53:45] *** elrabin_ has joined #angularjs
[00:53:48] <raibutera> but they do foobar321 !
[00:53:53] <raibutera> for example
[00:53:55] *** whitebook has quit IRC
[00:53:56] <raibutera> a node.js REST API
[00:54:00] <raibutera> and an angularJS app
[00:54:01] <raibutera> ?
[00:54:12] <raibutera> they literally go hand in hand
[00:54:24] <jaawerth> code-sharing saves a lot of development time, but ultimately making your server mainly responsible for API and little else frees you up when you need to integrate multiple technologies
[00:54:27] <raibutera> one stores all the data and connects the apps together, serving static files and JSON objects
[00:54:29] *** cotko has joined #angularjs
[00:54:33] <raibutera> the other ties it all together
[00:54:49] <jaawerth> Or if you, say, need to make a native/hybrid version of your app that will run on mobile devices or as a Chrome app
[00:55:00] <whatadewitt> raibutera: so i thought i had it, but i'm confused, in my UploadService I have _.extend( this, { files: [] ... } and then my controller I have $scope.uploads = UploadService.files, but you're saying my service "files" should be { data: [] } ?
[00:55:05] *** fairchild has joined #angularjs
[00:55:22] *** emmesswhy has joined #angularjs
[00:55:24] <raibutera> yup
[00:55:29] <raibutera> files should be an object
[00:55:34] <raibutera> and data should be an array
[00:55:39] <raibutera> within that object
[00:55:42] <raibutera> containing the files you want
[00:55:52] <raibutera> then in the controller, copy a reference to the entire object
[00:55:54] <raibutera> not just the array
[00:56:08] <whatadewitt> so in my controller, shoudl i have $scope.uploads = UploadService.files or UploadService.files.data
[00:56:09] <whatadewitt> ok
[00:56:12] <whatadewitt> so .files only
[00:56:18] *** cjflory has quit IRC
[00:56:24] <raibutera> yup
[00:56:24] *** whitebook has joined #angularjs
[00:56:25] <raibutera> then like
[00:56:30] <raibutera> if you were to do an ng-repeat
[00:56:32] <raibutera> you would do
[00:56:46] <jaawerth> one sec, I have two plunks (a "broken" one and a "fixed" one - I originally wrote this as a test for part of an interview process rather than to help people here) that demonstrate why this is a big deal
[00:56:48] <raibutera> <div ng-repeat="file in files.data"></div>
[00:57:01] *** elrabin has quit IRC
[00:57:05] <whatadewitt> in my template i have a custom directive and i have the following
[00:57:07] <whatadewitt> <ing-badge count="uploads.data.length"></ing-badge>
[00:57:26] <whatadewitt> but when i start uploading files, i'm not seeing that badge change to the value it should
[00:57:36] *** kroogs1 has quit IRC
[00:57:37] *** xavia has quit IRC
[00:57:41] *** OdinIncarnate has joined #angularjs
[00:58:03] <raibutera> ok so you have two options here
[00:58:07] *** elrabin_ has quit IRC
[00:58:07] <raibutera> one is set up a $watch in the controller
[00:58:13] <raibutera> on $scope.uploads
[00:58:13] *** cesarkawakami has quit IRC
[00:58:14] *** kroogs1 has joined #angularjs
[00:58:26] <whatadewitt> so i would have to use watch? i've been told using $watch is inefficient
[00:58:26] <raibutera> and update another property like $scope.totalUploads and use that in the count
[00:58:27] <raibutera> OR
[00:58:28] *** jonathanpglick has quit IRC
[00:58:29] <raibutera> the other option
[00:58:36] <raibutera> is to pass the whole object into the directive
[00:58:41] <whatadewitt> i think im going to like this other option by virtue of the "OR"
[00:58:45] <raibutera> and have the directive handle the count
[00:58:47] *** jonathanpglick has joined #angularjs
[00:58:48] *** asgwar12 has quit IRC
[00:58:56] <whatadewitt> by using "watch" in the directive?
[00:59:06] *** SpearThruster has quit IRC
[00:59:16] <raibutera> yup
[00:59:19] <raibutera> which at least has the benefit
[00:59:26] <jaawerth> "watch" is more expensive than just letting data binding do its thing, though
[00:59:35] <raibutera> of abstraction to directive
[00:59:43] <jaawerth> it's really there for triggering complex functions or DOM manipulations that can't be done with direct binding
[00:59:47] *** favetelinguis has joined #angularjs
[00:59:47] <whatadewitt> but if i re-use too many of these, all iwth $watch, wont that be terrible inefficient?
[00:59:59] <whatadewitt> jaawerth, makes sense
[01:00:03] *** cthrax has quit IRC
[01:00:04] *** MistahKurtz has quit IRC
[01:00:04] <raibutera> yup
[01:00:20] *** encryptd_fractl has quit IRC
[01:00:25] <jaawerth> okay, this has a bug in it caused by not wrapping your service primitives in an object: http://plnkr.co/edit/lLBZ99?p=preview
[01:00:49] *** KernelCurry has joined #angularjs
[01:00:57] *** chromatome has joined #angularjs
[01:01:00] <raibutera> ooh
[01:01:02] *** _pid has quit IRC
[01:01:03] <raibutera> ther is a third option
[01:01:05] <jaawerth> this is the fixed version: http://plnkr.co/edit/9N1yoH?p=preview
[01:01:06] <raibutera> *there is
[01:01:10] <raibutera> whatadewitt
[01:01:14] <raibutera> i just rememebred
[01:01:42] *** torrieri has quit IRC
[01:01:46] <raibutera> say in your service you have this.files = {data: [] } and two functions "this.removeFile" and "this.addFile"
[01:01:58] <whatadewitt> jaawerth: i appreciate this, i have to go jump on a call for my volleyball team, but i will read this over and hopefully you'll be here when i get back with any questions :S
[01:02:02] <raibutera> files could also have a count property
[01:02:05] <jaawerth> haha sure thing
[01:02:12] <raibutera> which is incremented by every "addFile"
[01:02:13] <jaawerth> I MAY be gone when you get back but I'm sure people in here can explain
[01:02:16] <whatadewitt> raibutera, i've thought about this
[01:02:19] <raibutera> and decremented by every "removeFile"
[01:02:34] *** bmcquee has quit IRC
[01:02:36] <raibutera> and then simply pass in "uploads.totalCount" or something
[01:02:53] *** howitdo has joined #angularjs
[01:02:54] *** howitdo has joined #angularjs
[01:02:55] <whatadewitt> i had it working by having $scope.uploadService = UploadService then in my template I had count="uploadService.files.length" (files was an array, not an object at this point)
[01:03:00] <jaawerth> the relevant lines in the "bugged" part are lines 6-7 and 23-24 in app.js. The "Fixes" are lines 12-13 and 29-30 in the "fixed" app.js
[01:03:00] *** bmcquee has joined #angularjs
[01:03:07] <whatadewitt> thank you, jaawerth!
[01:03:09] *** Rejected has quit IRC
[01:03:09] *** cthrax has joined #angularjs
[01:04:02] *** zumba_addict has quit IRC
[01:04:04] *** chanced has quit IRC
[01:04:13] <raibutera> i'm not sure why that was whatadewitt
[01:04:18] *** optikalmouse has quit IRC
[01:04:19] <jaawerth> oh, and this one demonstrates one of the reasons you should never put a primitive directly on scope (and should, instead, wrap them in an object or use "controller as" syntax) http://plnkr.co/edit/CN42evQ41rmoDxVhjJN8?p=preview
[01:04:23] *** frickett has quit IRC
[01:04:23] <jaawerth> it breaks scope inheritance
[01:04:38] <whatadewitt> these are all fantastic, thank you!
[01:04:44] *** favetelinguis has quit IRC
[01:04:46] *** evilaliv3 has quit IRC
[01:04:50] *** magz has quit IRC
[01:04:51] *** enigmarm has quit IRC
[01:04:57] *** MistahKurtz has joined #angularjs
[01:05:09] *** KushS has quit IRC
[01:05:10] <whatadewitt> raibutera: im chalking it up to magic
[01:05:26] <whatadewitt> sweet, volleyball meeting delayed so i ahve a few more mins to pick your brains
[01:06:46] *** TorchDragon has quit IRC
[01:07:11] <BobbieBarker> i can't remmber how to access the filter filter
[01:07:19] *** cesarkawakami has joined #angularjs
[01:08:01] <jaawerth> whatadewitt: no problem - this is in my deck of plunks that I keep starred for sharing in this channel, since they come up a lot ;-)
[01:08:11] <whatadewitt> ha ha ha
[01:08:23] <MistahKurtz> volleyball meeting
[01:08:35] <jaawerth> BobbieBarker: hmmm have you tried using a filter?
[01:08:35] <MistahKurtz> sounds wonderful
[01:09:02] <BobbieBarker> jaawerth: i've written tons of filtesr
[01:09:04] <whatadewitt> these examples are great
[01:09:07] <BobbieBarker> what i mean is the bult in filter filter
[01:09:10] *** hugorodrigues has quit IRC
[01:09:17] <BobbieBarker> built in*
[01:09:22] <whatadewitt> mistahkurtz: i'm on the exec, just figuring out where teams are playing this weekend :P
[01:09:24] <BobbieBarker> that you can use on ng-repeats
[01:09:32] <whatadewitt> jaawerth: these are very helpful
[01:09:59] *** mccarrontr1ck has quit IRC
[01:10:10] *** cannap has quit IRC
[01:10:29] *** themime has joined #angularjs
[01:10:48] <whatadewitt> and if i'm not mistaken then, you're saying the best thing i can do is $watch my 'uploads' object on my controller
[01:11:07] <whatadewitt> and then update the "totalcount" when that changes?
[01:11:17] <whatadewitt> or shoudl i be watching the uploads.data?
[01:11:58] *** braidn has quit IRC
[01:12:02] *** MaxV has quit IRC
[01:12:31] *** daslicht has quit IRC
[01:12:46] *** tomphp has quit IRC
[01:13:16] *** fairchild has quit IRC
[01:13:18] <jaawerth> BobbieBarker: I'm being facetious
[01:13:19] *** g3funk has joined #angularjs
[01:13:27] <jaawerth> BobbieBarker: because I thought you were ;-)
[01:13:34] <BobbieBarker> jaawerth: i'm being frustrated
[01:13:37] <jaawerth> sorry
[01:13:47] <jaawerth> do you need to access it from a view or from code?
[01:13:55] <BobbieBarker> it'a annoying cuz i've used it before but i'm drawing a blank and i don't want to write a custom filter for something simple
[01:13:59] <BobbieBarker> inside the view
[01:14:07] *** mchung has quit IRC
[01:14:14] *** bmac has quit IRC
[01:14:18] *** TuRnaD0 has quit IRC
[01:14:40] <BobbieBarker> I need to filter a list based on an "is_hidden" property
[01:14:54] *** c00ljs has quit IRC
[01:15:02] *** g3funk is now known as braidn
[01:15:08] *** tdierks1 has quit IRC
[01:15:29] *** torrieri has joined #angularjs
[01:15:48] <jaawerth> okay so just "item in items|filter: {is_hidden: desiredValue}"
[01:16:16] <MistahKurtz> whatadewitt on the exec?
[01:16:19] <jaawerth> that would be doing it using the "pass an object" method of entering a search term
[01:16:26] <jaawerth> BobbieBarker: https://docs.angularjs.org/api/ng/filter/filter docs are here if you want to review the whole API
[01:16:33] <whatadewitt> executive, the "governing body" if you will
[01:16:42] <MistahKurtz> of?
[01:17:04] <whatadewitt> the volleyball league
[01:17:08] <BobbieBarker> jaawerth: it's been one of those days bro
[01:17:15] <MistahKurtz> nice, where at?
[01:17:18] *** endash has quit IRC
[01:17:23] <whatadewitt> nova scotia
[01:17:30] <jaawerth> BobbieBarker: I hear ya! No judgment here, I blank on things all the time. The sample I gave you should do what you need, though
[01:17:35] <MistahKurtz> ah, a little far from Los Angeles
[01:17:37] <MistahKurtz> :P
[01:17:45] <whatadewitt> ha only a hop, skip and jump
[01:17:48] <MistahKurtz> I used to play club and highschool volleyball
[01:17:48] <BobbieBarker> yeah it worked exactly like it should of, the part i was forgetting was the {}
[01:17:53] <jaawerth> ahh
[01:18:05] *** moritzs has joined #angularjs
[01:18:32] <whatadewitt> jaawerth / raibutera: on my $watch of my $scope.uploads, it doesn't appear to be updating when a file ahs uploaded and is removed from the "files" array in my service, thoughts?
[01:18:33] <MistahKurtz> I've been working through physical therapy to fix issues that developed from years of programming with poor posture...now that things are getting fixed I'm looking forward to being able to play volleyball again, soon.
[01:18:56] <autolycus> how do I do console.log in angular controller. I have this in my controller
[01:18:58] <autolycus> module.exports = function($scope, $guest, $routeParams, $location)
[01:18:58] <autolycus> {
[01:18:59] <autolycus> console.log("testing the controller");
[01:19:00] *** c00ljs has joined #angularjs
[01:19:00] <autolycus> }
[01:19:02] *** junmin has joined #angularjs
[01:19:09] *** cjflory has joined #angularjs
[01:19:10] <autolycus> but when I view the page I dont see log
[01:19:11] <whatadewitt> MistahKurtz: yoga and pilates are your friend
[01:19:12] *** Jon30 has joined #angularjs
[01:19:12] *** Jon30 has joined #angularjs
[01:19:20] <MistahKurtz> yep, doing yoga too
[01:19:27] <MistahKurtz> My insurance covers private yoga therapy sessions
[01:19:34] <MistahKurtz> for a $7.50 copay per session
[01:19:37] <junmin> hello all, can somebody help me with this problem? http://pastebin.com/9jRyHf1h
[01:19:41] <MistahKurtz> pretttttty awesome
[01:20:06] <jaawerth> whatadewitt: Um, if I were doing what you're doing, I would instead write a service to keep track of total uploads, and increment that directly as part of the upload function
[01:20:27] <whatadewitt> jaawerth: lol just started doing that :P
[01:20:33] <whatadewitt> so i guess im learning :D
[01:20:41] *** gnrlbzik has quit IRC
[01:20:45] <jaawerth> OR copy it from the array.length on each upload I suppose, but that assumes you've got the one array with the one upload section
[01:20:50] *** TorpedoSkyline has quit IRC
[01:21:04] <MistahKurtz> doing physical therapy, yoga therapy, training with a Corrective Exercise Specialist (CES) trainer, and swimming. Attacking this from every angle, lol
[01:21:08] <MistahKurtz> Haven't done pilates, though.
[01:21:21] <whatadewitt> mistahkurtz, that's awesome! we actually hired a guy recently who is a certified yoga instructor, gives lessons once a week in the office!
[01:21:26] <jaawerth> also worth noting: most of the logic that involves doing the upload should be in factories and services, and the controller should really just be gluing that data to the view and calling methods on the factories and services
[01:21:38] <whatadewitt> (he's a programmer, just also a yoga instructor)
[01:21:45] <jaawerth> that's the most recommended approach, it keeps your code much easier to maintain, modify, and reuse
[01:21:49] <MistahKurtz> haha, that is doubly awesome
[01:21:52] <whatadewitt> jaawerth: yup! that's what i am going for
[01:22:13] <jaawerth> just checking!
[01:22:42] <whatadewitt> :D appreciate it!
[01:23:19] *** sudo_aptGet has quit IRC
[01:23:24] *** xdotcommer has quit IRC
[01:23:30] *** visionary has quit IRC
[01:24:09] *** recidive has joined #angularjs
[01:24:28] *** xdotcommer has joined #angularjs
[01:24:51] <junmin> hello, modifying $scope.xmodel in a function, from console, i can see the changes, but in HTML it do NOT change really don't knwo why http://pastebin.com/9jRyHf1h
[01:24:54] *** snapwich has quit IRC
[01:25:05] *** lucasefe has joined #angularjs
[01:25:25] *** danielpquinn has quit IRC
[01:25:33] *** magellanicloud_ has quit IRC
[01:25:43] *** anivemin has quit IRC
[01:25:49] *** bayousoft has joined #angularjs
[01:25:52] *** bmcquee has quit IRC
[01:26:09] *** tomzx`afk is now known as tomzx
[01:26:12] <robdubya> junmin that should be a in a directive
[01:26:27] *** bmcquee has joined #angularjs
[01:27:13] *** chanced has joined #angularjs
[01:27:24] <whatadewitt> well i would have to call this a VERY productive evening
[01:27:43] <whatadewitt> now to create a jira ticket to make sure i'm not exposing primitives...
[01:27:49] <whatadewitt> and i can go to bed :D
[01:28:16] <whatadewitt> thanks for all your help, everyone, especially jaawerth, raibutera and stephen!!
[01:28:29] <junmin> @robdubya wonder know why; directive is for re-using?
[01:28:42] *** mchung has joined #angularjs
[01:28:50] <robdubya> anything relating to DOM manipulation / access should be in a directive
[01:28:59] <robdubya> eg, if you're doing document.getElement...
[01:29:03] <robdubya> directive.
[01:29:06] *** klaut has quit IRC
[01:29:21] *** pushpak has quit IRC
[01:29:28] *** MasterGberry has quit IRC
[01:29:36] *** MasterGberry has joined #angularjs
[01:29:37] <jaawerth> directives are your "hooks" or "targets" for DOM manipulation, and for a number of reasons, once you get used to using them, they make your code more efficient and easier to maintain
[01:29:51] <jaawerth> jquery selectors are actually insanely inefficient
[01:29:56] *** KernelCurry has quit IRC
[01:30:30] <whatadewitt> junmin: be careful though, once you start using directives, you will never stop
[01:30:35] <jaawerth> document.getElement isnt' too bad efficiency wise, but not as good as keeping a reference to the DOM node (which angular will do for you via directives), plus document.getElement is a pain to maintain when you have tons of DOM modification going on
[01:30:41] <whatadewitt> not necessarily a bad thing :P
[01:30:45] *** bmcquee has quit IRC
[01:31:05] *** minond1 has quit IRC
[01:31:56] <junmin> @robdubya thank you all. putting it in directive can resolve the problem that I am facing?
[01:32:19] *** nemothekid has joined #angularjs
[01:32:30] *** tfennelly has quit IRC
[01:32:59] *** disorder20 has quit IRC
[01:33:11] *** c00ljs has quit IRC
[01:33:12] *** marr has quit IRC
[01:33:32] *** kc3 has quit IRC
[01:33:35] *** ngbot has joined #angularjs
[01:33:36] <ngbot> [angular.js] jeffbcross pushed 1 new commit to master: http://git.io/fasxSA
[01:33:36] <ngbot> angular.js/master ab80cd9 ltrillaud: fix(compile): sanitize srcset attribute...
[01:33:36] *** ngbot has left #angularjs
[01:33:40] *** kc3 has joined #angularjs
[01:33:42] *** wd40s has joined #angularjs
[01:34:02] *** JimTheDev has quit IRC
[01:34:03] <caitp> what do you think
[01:34:29] <caitp> is it possible for an open source project to become popular if it's built on basically a made up language so that it can be transpiled into multiple target languages
[01:34:35] <jaawerth> hmm maybe I should keep my mouth shut about efficiency stuff, that can vary SO MUCH based on implementation
[01:34:38] *** TorchDragon has joined #angularjs
[01:34:51] <caitp> where the language that it's built on is basically made up in the project itself
[01:35:17] *** bmcquee has joined #angularjs
[01:35:28] *** phuh_ has joined #angularjs
[01:35:33] *** dcherman2 has joined #angularjs
[01:35:34] <jaawerth> umm... have fun building a healthy community of contributors
[01:35:37] <caitp> would that make it hard for people to hack on it or understand what it's doing
[01:35:38] *** gr33d has joined #angularjs
[01:35:48] <caitp> yeah, that's kind of how i feel about it :(
[01:35:50] *** phuh has quit IRC
[01:36:05] <jaawerth> I think it depends on how easy the custom language is to learn and how important or awesome the project is
[01:36:23] <jaawerth> But, well, that's sort of what coffeescript is and that's certainly caught on for a lot of projects
[01:36:29] *** BahamutWC|Work has quit IRC
[01:36:29] <robdubya> if its ngSwift, i'm in
[01:36:45] *** bkuberek has joined #angularjs
[01:36:48] *** favetelinguis has joined #angularjs
[01:36:57] <jaawerth> So I think it's a matter of ROI from the contributors' perspective, really. And whether your made-up language can be extended to other uses
[01:37:01] <caitp> you know i actually did have a go at writing ngSwift
[01:37:09] *** bmcquee has quit IRC
[01:37:10] <caitp> sadly, the language doesn't lend itself well to DI
[01:37:16] <caitp> at least not until it has better reflection options
[01:37:24] <robdubya> bummer
[01:37:25] <jaawerth> in other words, the language should be its own project with its own goals for maximizing utility and usability
[01:37:32] <jaawerth> that's my opinion
[01:37:34] <caitp> even using ObjC's reflection stuff, it's still awkward :(
[01:37:36] <robdubya> swift promises made me jump back into iOS dev
[01:37:46] *** bmcquee has joined #angularjs
[01:38:04] <jaawerth> but if you write your framework in ook then everyone will hate you forever
[01:38:14] <robdubya> i'm also using a made up language right now with embedded dev
[01:38:20] <robdubya> its got a bit of a community going
[01:38:22] <jaawerth> except perhaps Ronald Reagan and whoever invented Donkey Kong
[01:38:23] *** dcherman has quit IRC
[01:38:24] *** coderdad has joined #angularjs
[01:38:29] *** iribarne has joined #angularjs
[01:38:29] <robdubya> but thats cuz the alternative is a $3k compiler
[01:38:30] <robdubya> so
[01:38:49] *** curser has joined #angularjs
[01:38:51] *** BahamutWC|Work has joined #angularjs
[01:39:01] <jaawerth> caitp: any details? what's the idea behind the language/project? might the language be useful in other contexts?
[01:39:12] *** Star18bit has joined #angularjs
[01:39:14] <caitp> it's public now so you can look at angular/angular on github
[01:39:21] <jaawerth> ooh
[01:39:22] <caitp> but don't expect much adventure from it yet
[01:39:51] *** bkuberek_ has quit IRC
[01:39:59] <jaawerth> um, can you give me a hint at where I'm looking?
[01:40:01] *** zwacky has quit IRC
[01:40:09] <jaawerth> that's like your whole repo!
[01:40:12] <caitp> what do you mean?
[01:40:19] <robdubya> http://i.imgur.com/cjbY0nE.gif
[01:40:29] *** bck has quit IRC
[01:40:34] *** leejefon has joined #angularjs
[01:40:38] *** TorpedoSkyline has joined #angularjs
[01:40:39] *** klaut has joined #angularjs
[01:40:41] *** Eiam has quit IRC
[01:40:48] <robdubya> woah
[01:40:54] <robdubya> *to* dart?
[01:40:57] <jaawerth> ummm OH
[01:41:00] <jaawerth> nevermind
[01:41:04] *** ctanga has joined #angularjs
[01:41:13] <jaawerth> welp. guess I'm learning dart then
[01:41:19] <caitp> don't get too excited about it, they won't want people trying it and filing bugs yet :p
[01:41:19] *** orbsio has joined #angularjs
[01:41:21] *** whatadewitt has quit IRC
[01:41:25] *** favetelinguis has quit IRC
[01:41:54] <robdubya> you should probably put that in the readme then
[01:42:01] <robdubya> or at least explain wtf is going on
[01:42:06] *** TorchDragon has quit IRC
[01:42:35] *** leejefon has quit IRC
[01:42:38] <robdubya> looks like its time for sailsDart to become a thing
[01:42:55] *** MaxV has joined #angularjs
[01:43:03] *** TorpedoSkyline has quit IRC
[01:43:11] <jaawerth> caitp: anyway, it's totally different when it's something as established as Angular. I thought you meant it would be a NEW open source project.
[01:43:22] *** jeffscottward has quit IRC
[01:43:30] *** JimTheDev has joined #angularjs
[01:43:40] <jaawerth> Angular is important enough in the web dev ecosystem that you could precompile it in C++ and probably get away with it
[01:44:02] <robdubya> oooo i cant WAIT to see the twitter feed on this
[01:44:08] <robdubya> people are gonna lose their fuckin minds
[01:44:17] <robdubya> they lost their shit about es6++
[01:44:33] *** coderdad has quit IRC
[01:44:51] *** RogerWS_ has quit IRC
[01:45:08] <jaawerth> and they can't even run away to Durandal
[01:45:12] <jaawerth> THE EXITS ARE BLOCKED
[01:45:24] *** leejefon has joined #angularjs
[01:45:25] <jaawerth> (yes I realize Durandal is still going to exist as its own thing)
[01:45:26] *** leejefon is now known as jeffl
[01:45:27] *** davek has quit IRC
[01:45:28] *** RogerWS has joined #angularjs
[01:45:35] <robdubya> ibtomdalesayssomethingnastyontwitter
[01:46:14] *** gombos has quit IRC
[01:46:21] *** autolycus has quit IRC
[01:46:36] *** jeffl has quit IRC
[01:47:00] <orbsio> robdubya: hey, I was chatting with you in #sailsjs a few months back. You referred to me an example angular/sails app, but I've lost the link.
[01:47:08] *** gombos has joined #angularjs
[01:47:22] <orbsio> any chance you could share it again?
[01:47:38] *** MaxV has quit IRC
[01:47:44] <robdubya> hmm
[01:47:56] *** unlikely_monkey has joined #angularjs
[01:48:02] *** travm has joined #angularjs
[01:48:30] <orbsio> It seemed fairly full featured, not just a little toy app, but a real app.
[01:48:41] *** BahamutWC|Work has quit IRC
[01:48:53] <orbsio> if its not ringing a bell, maybe it wasn't you who shared it.
[01:49:04] *** Foxandxss has quit IRC
[01:49:07] <jaawerth> it was probably him
[01:49:22] <robdubya> i had a chat app, but its way outdated now
[01:49:31] <jaawerth> maybe it was angular-sails itself?
[01:49:40] <orbsio> nope, that wasn't it.
[01:49:41] <jaawerth> robdubya: Oh hey, that reminds me - quick thought experiment!
[01:49:41] <robdubya> the examples are ALL fucked up in that repo
[01:49:50] <robdubya> orbsio gimme a min, i'll push something to gh
[01:49:55] <orbsio> sure
[01:50:02] *** coderdad has joined #angularjs
[01:50:18] *** MasterGberry has quit IRC
[01:50:28] <jaawerth> robdubya: Say you wanted to implement your own little google docs, but with a simple rich text editor like quill or whatever
[01:50:32] *** travm is now known as travm-afk
[01:50:37] *** MasterGberry has joined #angularjs
[01:50:40] <jaawerth> (I guess this goes for everyone)
[01:50:55] <jaawerth> you'd almost certainly use websockets to keep everything in sync
[01:51:13] <robdubya> in that specific case i'd probably use the drive Realtime API
[01:51:15] <robdubya> but carry on
[01:51:26] <robdubya> operational transform is HARD
[01:51:28] <jaawerth> no!
[01:51:34] <jaawerth> no third party services
[01:51:46] <robdubya> ok
[01:51:47] *** skammer4 has quit IRC
[01:51:47] *** gnrlbzik has joined #angularjs
[01:51:49] <jaawerth> so, you gotta sync things efficiently
[01:52:00] <jaawerth> but you ALSO have to make sure they're actually in sync, so you can't do just deltas
[01:52:21] <robdubya> also depends what the data is
[01:52:30] <robdubya> like, a document of text is different than a spreadsheet
[01:52:46] <jaawerth> yeah, a spreadsheet would be easier
[01:52:52] *** cesarkawakami has quit IRC
[01:53:05] <jaawerth> you could highlight each field when someone else has it selected, and you could just copy over the whole cell as it changes
[01:53:11] *** bkuberek_ has joined #angularjs
[01:53:37] <robdubya> yeah
[01:53:40] *** codermar has joined #angularjs
[01:53:42] <robdubya> a document is a chunk
[01:53:45] *** cigarshark has joined #angularjs
[01:53:50] <robdubya> unless you chunk it into like, sections
[01:54:23] *** codermar has quit IRC
[01:54:24] <jaawerth> but for a plain old rich text document, you'd have to keep track of cursor position to show where everyone's cursor is, and copy over changes as they modify their own buffers and then do some periodic full sync or hash check to maintain integrity
[01:54:28] <robdubya> jaawerth http://sharejs.org/
[01:54:29] *** alpha080 has joined #angularjs
[01:54:33] <jaawerth> I was thinking that too
[01:54:36] <robdubya> (the dude who wrote that wrote wave)
[01:54:38] *** conan_the_destro has quit IRC
[01:54:40] *** tomzx is now known as tomzx`afk
[01:54:45] <jaawerth> chunking it into sections or lines or groups of line
[01:54:45] <robdubya> or, was on the wave team
[01:55:01] <jaawerth> yeah I'll have to take a look at how that's implemented
[01:55:20] <jaawerth> but I think it's interesting to think about it from the perspective of reinventing the wheel, even if you aren't going to actually reinvent the wheel
[01:55:24] *** bkuberek has quit IRC
[01:55:31] *** cesarkawakami has joined #angularjs
[01:55:35] *** simeon has quit IRC
[01:55:35] <jaawerth> you'd also have to make sure your cursor doesn't lose its place as edits come in from other people
[01:55:42] *** nemothekid has quit IRC
[01:55:47] <robdubya> the way he describes it makes a lot of sense to me
[01:55:50] <robdubya> "mini commits"
[01:56:25] <jaawerth> hmph, well now it's not a thought experiment anymore
[01:56:33] <jaawerth> ;-) but yeah that's a good approach
[01:56:42] *** gnrlbzik_ has joined #angularjs
[01:56:44] *** gnrlbzik has quit IRC
[01:56:56] <jaawerth> I'm probably going to do this, but I was planning to cage off of someone's code (if not just use their framework for it)
[01:57:15] <baweaver> Just making sure this doesn't exist yet, but say you add / edit / update a collection that relates to the scope, such as $scope.people, through a service. Does something exist to automatically update the row in the scope collection with the service change?
[01:57:15] <robdubya> see also etherpad
[01:57:22] *** cacts|works has quit IRC
[01:57:28] <baweaver> If not I have 80% of a solution I think.
[01:57:29] <jaawerth> yeah I have etherpad bookmarked already
[01:57:30] *** mange has joined #angularjs
[01:57:45] *** brassel has quit IRC
[01:57:50] *** RogerWS has quit IRC
[01:58:00] <robdubya> baweaver in theory it should be the *same* object
[01:58:05] <robdubya> cache it in the service
[01:58:09] <robdubya> update it in there
[01:58:13] <robdubya> it'll update teh scope
[01:58:14] <jaawerth> baweaver: If they're javascript objects, then $scope.people is just a reference to YourService.people
[01:58:26] <jaawerth> there's only one copy of the data
[01:58:26] *** brezel has joined #angularjs
[01:58:29] <robdubya> thats how angularSails's model layer works
[01:58:41] <baweaver> Hm, back to looking at things then
[01:58:46] <jaawerth> getters and setters ruin this by returning specific values
[01:58:51] <baweaver> Working on transactional updates of many to many relations
[01:58:57] <baweaver> pesky, those...
[01:58:59] <jaawerth> which is preferable in some cases but not others
[01:59:11] <robdubya> https://github.com/balderdashy/angularSails/blob/resource/src/model.js#L357-L364
[01:59:17] <jaawerth> but a lot of people are married to the idea of getters and setters (maybe because it's a big Ember thing), which is why I mention it
[01:59:26] *** gunn has quit IRC
[01:59:37] <baweaver> I'm married to the idea of writing less boilerplate
[01:59:50] *** favetelinguis has joined #angularjs
[01:59:53] <baweaver> So any time I feel an itch I see if I can take care of it.
[02:00:01] <robdubya> baweaver tlde - when you fetch an object from the server
[02:00:04] <baweaver> though admittedly I need to sanity check more.
[02:00:05] <robdubya> (or a collection of them)
[02:00:14] <robdubya> cache it inside the service before returning it
[02:00:16] *** gunn has joined #angularjs
[02:00:19] <robdubya> which keeps a reference
[02:00:36] <robdubya> then you have an easy way to look it up and update it
[02:00:48] *** nownot has joined #angularjs
[02:00:57] <robdubya> thats this bit https://github.com/balderdashy/angularSails/blob/resource/src/model.js#L196-L207
[02:00:59] *** junmin has quit IRC
[02:01:04] <baweaver> I have basically that implemented. It's adding and deleting rows.
[02:01:09] *** JeffBonds has quit IRC
[02:01:14] <jaawerth> the only thing to watch out for is that if you're data-binding to inputs but need to be able to revert a change, make sure you save an old copy of the data
[02:01:30] <nownot> trying to get angular going on ie9 but I get _fix_for_ie_crossdomain__, any direction on this?
[02:01:42] <robdubya> baweaver same idea with a collection https://github.com/balderdashy/angularSails/blob/resource/src/model.js#L304-L327
[02:01:58] <baweaver> the fun thing I had was many to many :through relations from Rails. Made it a transactional update to where it took added and deleted rows and committed them in batch.
[02:02:24] <jaawerth> robdubya: when'd you start using extend so much? I thought you hated extend!
[02:02:32] *** endash has joined #angularjs
[02:02:34] <jaawerth> oh wait, that was create
[02:02:35] <jaawerth> nevermind
[02:02:37] <robdubya> haah
[02:02:41] *** JimTheDev has quit IRC
[02:02:43] <baweaver> robdubya still needs to write a blog.
[02:02:48] <robdubya> HA
[02:02:56] <baweaver> Told you I'd remind you.
[02:03:00] <robdubya> IM DOING IT OK innit.github.io
[02:03:05] <baweaver> Speaking of which, I need to as well....
[02:03:14] *** il has quit IRC
[02:03:16] *** AtomicCookie has quit IRC
[02:03:17] *** Mxyzpltk has joined #angularjs
[02:03:18] <raibutera> sorry to repeat myself btw guys but I'm asking again for exposure: im really new to BDD/TDD/unit testing and starting to write unit tests for some services using karma, mocha and sinon. does anyone have a couple of mins spare to answer some really basic questions? (first one: is creating a test helper(?) as simple as just writing a javascript file and including it at the top of my karma.conf.js files array?)
[02:03:26] <jaawerth> robdubya: is that angular material I see on that thar blog?
[02:03:30] <robdubya> it is indeed
[02:03:37] <jaawerth> thought so
[02:03:40] *** bejames has joined #angularjs
[02:03:41] <jaawerth> I've been messing around with it myself
[02:03:47] <robdubya> check out the cool scrolly thing on the blog link
[02:03:48] <jaawerth> I'm very tempted to add it to some of my work projects
[02:04:01] <jaawerth> and update to 1.3 and damn the consequences
[02:04:20] *** jtymes has joined #angularjs
[02:04:25] *** ebryn_____ has joined #angularjs
[02:04:26] *** simb has joined #angularjs
[02:04:37] <jaawerth> robdubya: you mean the appearing/disappearing scroll bars?
[02:04:41] <robdubya> yar
[02:04:43] <jaawerth> that's part of material?
[02:04:46] <robdubya> ya
[02:04:50] <jaawerth> man, I've coded a bunch of that crap by hand
[02:04:54] * jaawerth shakes fist
[02:04:57] <baweaver> tempted to use angular-data at work.
[02:05:03] *** squeakytoy has joined #angularjs
[02:05:31] *** squeakytoy2 has quit IRC
[02:05:33] <nownot> no one on _fix_for_ie_crossdomain__ and ie9?
[02:05:37] *** fairchild has joined #angularjs
[02:05:51] <robdubya> nownot literally no idea what you're talking about
[02:05:58] <nownot> lol. boo
[02:06:07] *** favetelinguis has quit IRC
[02:06:49] *** travm-afk is now known as travm
[02:07:04] <baweaver> http://stackoverflow.com/questions/19469902/fixing-cross-domain-requests-in-ie8 - That looks mildly relevant.
[02:07:10] <nownot> well I have an angular site, it works on everything but ie9 and below, but just worred about ie9. when I do a login request the network shows a call to _fix_for_ie_crossdomain__
[02:07:16] <nownot> whic, of course, isnt my login url
[02:07:17] <robdubya> raibutera more or less, highly suggest using karma + jasmine
[02:07:37] <robdubya> this is a lot of what angular's DI exists for
[02:07:41] *** krawek has quit IRC
[02:07:44] <baweaver> So is there a bunch of Jasmine hate and ship jumping to mocha, or is that HN hype?
[02:07:46] <robdubya> (mocking services and whatnot)
[02:07:47] *** RogerWS has joined #angularjs
[02:07:57] *** bmcquee has quit IRC
[02:08:04] *** Mxyzpltk has quit IRC
[02:08:15] *** lucasefe has quit IRC
[02:08:22] *** mguillech has quit IRC
[02:08:29] <baweaver> I can understand Teaspoon runner hate, dang thing runs in Dev instead of Test env natively. That wasn't fun to debug.....
[02:08:29] *** bmcquee has joined #angularjs
[02:08:40] <nownot> baweaver: thanks for the link
[02:08:52] <robdubya> caitp srsly tho, some explanation of what the heck you guys are thinking might be useful
[02:08:52] *** whitebook has quit IRC
[02:08:54] *** travm is now known as travm-afk
[02:08:55] *** brezel has quit IRC
[02:08:57] *** simb has quit IRC
[02:09:21] *** cthrax has quit IRC
[02:09:26] <baweaver> IE Hacking is the worst.
[02:09:36] *** travm-afk is now known as travm
[02:10:39] <nownot> baweaver: yep, but thankfully they only need ie9 and above
[02:10:42] *** brezel has joined #angularjs
[02:10:51] <baweaver> I had to get IE8 to behave
[02:11:02] <baweaver> and I cut my Web Design teeth on IE5
[02:11:06] *** AndreiCurelaru has quit IRC
[02:11:07] <nownot> ewww
[02:11:12] *** Guest50102 has quit IRC
[02:11:14] *** jtymes has quit IRC
[02:11:17] *** DANtheBEASTman has quit IRC
[02:11:18] <nownot> but its food time
[02:11:22] <orbsio> robdubya: have to go offline, will check back in later, would love to see the link you were going to post.
[02:11:28] <nownot> thanks for the link!
[02:11:30] *** nownot has quit IRC
[02:11:36] <robdubya> orbsio yeah, i'll put a basic soething or other up
[02:11:56] <robdubya> i'm working on the next rev, which does model stuff built in
[02:12:08] <robdubya> a la firebase or w/e
[02:12:11] *** iribarne has quit IRC
[02:12:14] *** CaShY has quit IRC
[02:12:23] *** AciD`` has quit IRC
[02:12:36] <orbsio> robdubya: sounds great. will you be online in a couple hours?
[02:12:41] *** mac_nibblet has quit IRC
[02:12:42] <robdubya> ya
[02:12:49] <orbsio> ok, catch you then
[02:13:04] *** bmcquee has quit IRC
[02:13:07] *** bmcquee_ has joined #angularjs
[02:13:14] *** jbogarin has quit IRC
[02:13:22] *** orbsio has quit IRC
[02:13:38] <robdubya> (or just send misko in here so we can interrogate him)
[02:13:46] *** rho has quit IRC
[02:14:23] *** whitebook has joined #angularjs
[02:14:38] *** recidive has quit IRC
[02:14:48] <robdubya> jaawerth re ngmaterial, flexbox is dope.
[02:14:53] *** baweaver has quit IRC
[02:14:58] <robdubya> its the only thing thats ever made any damn sense to me with CSS
[02:15:26] *** CaShY has joined #angularjs
[02:15:27] *** DANtheBEASTman has joined #angularjs
[02:15:33] *** mac_nibblet has joined #angularjs
[02:15:35] *** il has joined #angularjs
[02:15:51] *** baweaver has joined #angularjs
[02:15:53] *** hiptobecubic has quit IRC
[02:16:48] *** Guest14794 has joined #angularjs
[02:17:34] *** EoN has joined #angularjs
[02:17:56] *** bgerami has quit IRC
[02:18:07] *** bmcquee_ has quit IRC
[02:18:10] *** chromatome has quit IRC
[02:18:15] *** JeffBonds has joined #angularjs
[02:18:39] *** bmcquee has joined #angularjs
[02:18:50] *** bejames has quit IRC
[02:19:04] *** alt_qq has quit IRC
[02:19:06] *** Guest33314 has joined #angularjs
[02:19:33] *** kc3 has quit IRC
[02:19:56] <jaawerth> robdubya: yeah, it will be nice to see it finally get some support
[02:20:12] *** baweaver has quit IRC
[02:20:24] <jaawerth> anyway, gotta head out for a bit, but I'll likely be back later. And thanks for showing me the blog robdubya, you've given me some ideas....
[02:21:02] *** jaawerth has left #angularjs
[02:21:21] *** rburns has joined #angularjs
[02:21:40] *** alt_qq has joined #angularjs
[02:22:15] *** ckboii89 has quit IRC
[02:23:11] *** rockfordal has joined #angularjs
[02:23:14] *** rockford_ has joined #angularjs
[02:23:29] *** greengriminal has joined #angularjs
[02:23:32] *** kc3 has joined #angularjs
[02:23:36] *** jbourassa has joined #angularjs
[02:24:46] *** josh-k has quit IRC
[02:24:58] *** AndreiCurelaru has joined #angularjs
[02:25:02] *** bmac has joined #angularjs
[02:25:04] *** bejames has joined #angularjs
[02:25:23] *** josh-k has joined #angularjs
[02:25:30] *** bejames has quit IRC
[02:26:38] *** joaojeronimo has joined #angularjs
[02:27:12] *** davek has joined #angularjs
[02:27:17] <joaojeronimo> why does $http try to parse the responses as JSON all the time even when the content-type is clearly NOT application/json ??
[02:27:37] <joaojeronimo> isn't that literally not following a standard ? any good reason ?
[02:27:37] *** rockfordal has quit IRC
[02:28:05] <robdubya> cuz its mostly for $http....
[02:28:11] <robdubya> but you can override the responseType
[02:28:18] *** zumba_addict has joined #angularjs
[02:28:18] *** rockford_ has quit IRC
[02:28:20] <robdubya> errr mostly for JSON
[02:28:27] *** klaut has quit IRC
[02:28:28] *** seanmerron has quit IRC
[02:28:43] *** bejames has joined #angularjs
[02:28:55] *** heidi has quit IRC
[02:29:04] <caitp> robdubya, the idea is that they want to join the angularjs and angular dart teams
[02:29:15] *** patrickarlt has joined #angularjs
[02:29:15] <zumba_addict> hey folks, am i doing something wrong? I am making a call to an endpoint using Restangular and inside the success or .then(function()) After this, I call another endpoint to make sure the first one outside is done
[02:29:23] <caitp> so one idea is to work on a version which is written in a language that gets transpiled to dart and js
[02:29:24] *** bejames has quit IRC
[02:29:28] <robdubya> caitp so angular would be a Dart project (primarily)
[02:29:29] <robdubya> AHH
[02:29:30] <caitp> i don't know how that will wrok
[02:29:31] <robdubya> i see
[02:29:40] *** josh-k has quit IRC
[02:29:43] <joaojeronimo> robudya overriding it when it actually comes correctly from the server seems stupid
[02:29:45] <caitp> it's just an idea, no idea if it will be stuck with or nto
[02:29:53] <zumba_addict> I was thinking of $q.all but response is not the same
[02:30:01] *** jtymes has joined #angularjs
[02:30:12] <robdubya> caitp why the imaginary language if dart xpiles to JS anyway?
[02:30:22] <caitp> good question
[02:30:27] <caitp> probably because nobody wants to write dart
[02:30:31] <robdubya> lel
[02:30:39] <robdubya> i dub it, Jart
[02:30:39] *** tahoemph has quit IRC
[02:30:45] <caitp> i did say "why dont we just use dart2js since the transpiler already exists and is maintained by actual people"
[02:30:55] <caitp> but i mean, maybe the hope is that we wont have to maintain the fake language
[02:31:06] <caitp> and that people will just understand it and enjoy it despite there being no information anywhere about it
[02:31:14] <robdubya> sounds reasonable.
[02:31:16] <caitp> and maybe the transpiled code will be readable too
[02:31:17] <robdubya> ...
[02:31:31] <caitp> and people will be able to make the connection between broken transpiled code and a bug in the real code
[02:31:36] <robdubya> i just wanted DI + web components
[02:31:41] <robdubya> :/
[02:32:07] *** coderdad has quit IRC
[02:32:26] <robdubya> i read misko's thing about WC + databinding
[02:32:30] *** MasterGberry has quit IRC
[02:32:31] *** bejames has joined #angularjs
[02:32:44] <caitp> well its just a prototype'
[02:32:52] *** MasterGberry has joined #angularjs
[02:32:57] <caitp> who knows what will happen
[02:32:57] *** bejames has quit IRC
[02:32:58] *** tahoemph_ has joined #angularjs
[02:33:19] *** whiteboo_ has joined #angularjs
[02:33:38] *** whitebook has quit IRC
[02:34:03] *** gnrlbzik_ has quit IRC
[02:34:06] *** mchung has quit IRC
[02:34:13] <robdubya> a tricky business.
[02:34:37] *** dejanr has joined #angularjs
[02:34:45] *** mchung has joined #angularjs
[02:34:50] *** jtymes has quit IRC
[02:34:56] *** mchung has quit IRC
[02:35:17] *** sudo_aptGet has joined #angularjs
[02:35:21] *** wa5ted_ has joined #angularjs
[02:35:27] *** tomzx`afk is now known as tomzx
[02:35:36] *** richiebkr has quit IRC
[02:35:45] *** bejames has joined #angularjs
[02:35:47] *** asher^ has joined #angularjs
[02:35:56] *** doug_ has joined #angularjs
[02:35:56] *** unlikely_monkey has quit IRC
[02:36:11] *** bejames has quit IRC
[02:36:32] *** bmcquee has quit IRC
[02:36:44] *** jtymes has joined #angularjs
[02:36:57] *** patrickarlt has quit IRC
[02:37:00] *** moritzs has quit IRC
[02:37:07] *** bmcquee has joined #angularjs
[02:37:16] *** asher^ has quit IRC
[02:37:20] *** torrieri has quit IRC
[02:37:41] <robdubya> caitp sorry, don't mean to whinge. just not sure what the "problem" they're solving is
[02:37:52] *** wa5ted has quit IRC
[02:37:59] *** wa5ted_ is now known as wa5ted
[02:38:20] *** Duy_ has quit IRC
[02:38:35] <caitp> the problem is you have 2 angular teams that are kinda small, and you can get one big angular team if you combine two teams
[02:38:40] *** zumba_addict has quit IRC
[02:38:43] *** kirfu has joined #angularjs
[02:38:46] *** tahoemph_ has quit IRC
[02:38:48] *** bejames has joined #angularjs
[02:38:55] <caitp> but i think that's pretty much the only problem it solves, because it will make contributing and just generally understanding the code harder
[02:38:57] *** AngularUI has joined #angularjs
[02:38:57] <AngularUI> [ng-grid] TheBosZ opened pull request #1656: Update to use preferred $scope.apply check (2.x...patch-1) http://git.io/4rbeEQ
[02:38:57] *** AngularUI has left #angularjs
[02:38:58] <caitp> so, you win some you lose some
[02:39:05] *** curser has left #angularjs
[02:39:05] *** mguillech has joined #angularjs
[02:39:14] <robdubya> yeah, merge 2 teams, invent a new lang.
[02:39:19] *** tahoemph has joined #angularjs
[02:39:22] *** dejanr has quit IRC
[02:39:31] *** unlikel__ has joined #angularjs
[02:39:38] *** fission6 has joined #angularjs
[02:39:38] *** bejames has quit IRC
[02:39:47] <caitp> surely there will be 0 maintenance cost from that! SURELY!
[02:40:02] <robdubya> seems legit
[02:40:13] *** anivemin has joined #angularjs
[02:41:23] *** bmcquee has quit IRC
[02:41:49] <robdubya> AngularScript
[02:43:08] *** RobinBAwesome has quit IRC
[02:43:32] *** tahoemph has quit IRC
[02:43:38] <sudo_aptGet> What do you guys use for requests on Angular?
[02:43:41] *** MaxV has joined #angularjs
[02:43:43] <sudo_aptGet> for mock requests*
[02:43:44] *** MasterGberry has quit IRC
[02:43:53] *** mguillech has quit IRC
[02:44:09] <sudo_aptGet> httpBackend?
[02:44:13] *** MasterGberry has joined #angularjs
[02:44:13] *** tahoemph has joined #angularjs
[02:44:48] *** anivemin has quit IRC
[02:44:58] *** bmac has quit IRC
[02:45:09] *** patrick99e99 has quit IRC
[02:45:10] *** jonathanpglick has quit IRC
[02:45:40] *** emocakes has joined #angularjs
[02:45:49] *** dcherman2 has quit IRC
[02:45:58] *** {DV8} has joined #angularjs
[02:46:12] *** davek has quit IRC
[02:46:21] *** curser has joined #angularjs
[02:46:28] *** asher^ has joined #angularjs
[02:47:13] *** jae_sleep has quit IRC
[02:47:15] *** curser has quit IRC
[02:47:30] *** patrick99e99 has joined #angularjs
[02:47:40] <robdubya> sudo_aptGet yep
[02:47:43] *** soee has quit IRC
[02:47:54] <robdubya> (of which there are 2 mock versions)
[02:48:12] *** MaxV has quit IRC
[02:49:01] *** jae_sleep has joined #angularjs
[02:49:33] *** vassagus has quit IRC
[02:50:13] *** foobar321 has quit IRC
[02:50:58] *** RobinBAwesome has joined #angularjs
[02:51:00] *** PurpleDog has joined #angularjs
[02:51:14] *** davek has joined #angularjs
[02:52:07] *** opiates has quit IRC
[02:52:08] *** dcherman has joined #angularjs
[02:52:31] *** bmac has joined #angularjs
[02:52:44] *** il has quit IRC
[02:52:52] *** matthoiland has quit IRC
[02:53:01] *** curser has joined #angularjs
[02:53:03] *** unlikel__ has quit IRC
[02:53:07] *** endash has quit IRC
[02:53:32] *** smoores has joined #angularjs
[02:53:58] *** phuh_ has quit IRC
[02:54:05] *** bejames has joined #angularjs
[02:55:03] *** whunt has quit IRC
[02:55:06] *** greengriminal has quit IRC
[02:55:12] <jsheely> Is replacing input type="file" with a clone really the best way to reset an file type input after upload?
[02:55:16] *** hugorodrigues has joined #angularjs
[02:56:37] *** DoubleAW is now known as DoubleAW[CHC]
[02:57:31] *** bejames has joined #angularjs
[02:57:33] *** dcherman has quit IRC
[02:57:43] *** Aliks has quit IRC
[02:58:10] *** chanced has quit IRC
[02:58:10] *** Aliks has joined #angularjs
[02:58:10] *** bejames has quit IRC
[02:58:36] *** emmesswhy has quit IRC
[02:58:39] *** skammer4 has joined #angularjs
[02:59:37] *** favetelinguis has joined #angularjs
[02:59:47] *** hugorodrigues has quit IRC
[03:00:30] *** AndreiCurelaru has quit IRC
[03:00:34] *** bejames has joined #angularjs
[03:00:43] *** gnrlbzik has joined #angularjs
[03:01:08] *** bejames has quit IRC
[03:01:37] <ctanga> wait, what
[03:01:54] <ctanga> a metalanguage that transpiles to dart and js O).(o
[03:02:05] *** tkimmel has quit IRC
[03:02:26] *** PepperPhD has joined #angularjs
[03:02:27] *** Aliks has quit IRC
[03:02:29] *** emmesswhy has joined #angularjs
[03:02:42] *** patrick99e99 has quit IRC
[03:02:53] *** chromatome has joined #angularjs
[03:03:09] *** skammer4 has quit IRC
[03:03:39] *** dcherman2 has joined #angularjs
[03:03:51] *** favetelinguis has quit IRC
[03:04:06] <robdubya> ctanga OHHH YEAAHHHHH
[03:04:19] *** visionary has joined #angularjs
[03:04:20] <ctanga> this is just some idea somebody tossed out, yes??
[03:04:46] <robdubya> tossed out and put on the angular/angular repo :o
[03:05:34] *** bmac has quit IRC
[03:05:38] *** plexiv has quit IRC
[03:06:40] *** cjflory has quit IRC
[03:07:14] <ctanga> in what form? is said language defined?
[03:08:15] <robdubya> you simply imagine what you want to code
[03:08:18] *** bmac has joined #angularjs
[03:08:21] <robdubya> it springs from your mind, fully compiled
[03:08:22] *** plexiv has joined #angularjs
[03:08:58] *** Skrypter has quit IRC
[03:09:17] *** orbsio has joined #angularjs
[03:09:38] *** bejames has joined #angularjs
[03:09:52] <orbsio> robdubya: I found what I was remembering, it wasn't you who posted it, and it isn't an angular app: https://github.com/tarlepp/Taskboard
[03:10:04] <robdubya> ah
[03:10:05] *** bejames has quit IRC
[03:10:10] <robdubya> yeah, that's angular, uses $sailsSocket
[03:10:26] *** squeakytoy has quit IRC
[03:10:28] <robdubya> its probably the most complete example out there
[03:10:37] <orbsio> it does use anguar?
[03:10:50] <orbsio> the homepage mentions knockout
[03:11:16] <robdubya> yeah, look at the angular branch
[03:11:22] *** smoores has quit IRC
[03:11:29] <robdubya> which iirc is the one he's dev'ing on
[03:11:38] *** squeakytoy has joined #angularjs
[03:12:40] <AlexZan> hey robdubya, random question, any idea how to switch out a sails connection adapter for testing?
[03:12:45] *** bejames has joined #angularjs
[03:12:51] <orbsio> oh, good to know.
[03:12:53] *** whiteboo_ has quit IRC
[03:13:00] <robdubya> easiest way is just to set it with an env variable
[03:13:02] <robdubya> AlexZan
[03:13:18] <robdubya> connection: process.env.WHATEVER
[03:13:40] <AlexZan> robdubya, hmm but i dont want any test specific code in production code
[03:13:41] *** bejames has quit IRC
[03:13:48] <ctanga> maybe they could write angular in XML then use XSTL stylesheets to translate to JS or Dart
[03:13:56] *** whitebook has joined #angularjs
[03:14:02] <robdubya> ctanga go wash your mouth out with soap
[03:14:05] <robdubya> or SOAP
[03:14:06] *** rchavik has joined #angularjs
[03:14:09] *** artivilla99_ has quit IRC
[03:14:13] <orbsio> lol
[03:14:13] *** tomfriedhof has joined #angularjs
[03:14:28] <robdubya> AlexZan its not really test specific
[03:14:42] *** artivilla99_ has joined #angularjs
[03:14:43] *** sirkitree|afk is now known as sirkitree|afk|af
[03:14:45] <robdubya> all my config stuff lives in env vars
[03:14:45] *** visionary has quit IRC
[03:14:47] *** tomfriedhof has quit IRC
[03:15:20] *** justinmburrous has joined #angularjs
[03:15:23] <AlexZan> well wouldnt i have a test state set in my env var? which then i check for when i set the default adapter?
[03:15:32] *** justinmburrous has quit IRC
[03:15:36] *** artivilla99__ has joined #angularjs
[03:15:45] *** justinmburrous has joined #angularjs
[03:16:09] <robdubya> no, you have a test env, a dev env, and a production env
[03:16:20] *** josh-k has joined #angularjs
[03:16:36] *** plantain_ is now known as plantain
[03:17:14] <AlexZan> oh wait i think i got it, i set it up in my beforeAll
[03:17:23] <robdubya> all of which expose the same vars
[03:17:49] *** steffengy has joined #angularjs
[03:17:55] <AlexZan> i see so an interface/strategy
[03:18:24] *** cigarshark has quit IRC
[03:18:58] <robdubya> yeah. makes it really easy to deploy stuff
[03:19:02] *** marcjs has quit IRC
[03:19:06] <robdubya> since you just have to set the apporprite env
[03:19:16] *** mjs2600 has quit IRC
[03:19:18] *** nickgs has joined #angularjs
[03:19:20] *** travm is now known as travm-afk
[03:19:20] *** artivilla99_ has quit IRC
[03:19:22] <jsheely> This seems like a strange way to handle clear a file upload ><
[03:19:23] <jsheely> angular.element($event.srcElement).replaceWith(angular.element($event.srcElement).clone());
[03:19:32] <robdubya> jsheely yes, it is
[03:19:47] <jsheely> Yes it's strange or yes that's how to do it
[03:19:51] <robdubya> its strange
[03:19:53] <jsheely> or both ><
[03:19:53] *** frickettz has joined #angularjs
[03:20:01] *** torrieri has joined #angularjs
[03:20:08] <jsheely> What am I missing?
[03:20:43] *** wallerdev has quit IRC
[03:21:08] *** steffengy1 has quit IRC
[03:21:31] *** travm-afk has quit IRC
[03:22:11] *** iribarne has joined #angularjs
[03:22:38] *** richiebkr has joined #angularjs
[03:22:53] *** dcherman has joined #angularjs
[03:23:02] *** ctanga has quit IRC
[03:23:35] *** eperez has joined #angularjs
[03:24:01] *** dman777 has quit IRC
[03:24:19] *** marcjs has joined #angularjs
[03:24:20] *** Dead_Thinker has joined #angularjs
[03:24:21] <Joseph_Silber> How do you handle file uploads AS PART OF A FORM in angular?
[03:24:22] *** wallerdev has joined #angularjs
[03:24:40] <jsheely> Joseph I'm doing that right now
[03:24:48] <jsheely> Using https://github.com/danialfarid/angular-file-upload
[03:24:50] <Joseph_Silber> Oh! How?
[03:25:28] <jsheely> Well depending how what you mean by "PART OF THE FORM".
[03:25:37] *** dman777 has joined #angularjs
[03:25:39] *** orbsio has quit IRC
[03:25:52] *** dcherman2 has quit IRC
[03:26:08] <Joseph_Silber> Uploading a file by itself is easy. I want to upload it as part of a greater form with regular text fields. Like you would with a regular form submission.
[03:26:10] *** jMyles has quit IRC
[03:26:25] *** jaawerth has joined #angularjs
[03:26:25] *** dcherman2 has joined #angularjs
[03:26:33] <jsheely> Yea I figured that is what you meant.
[03:26:59] <Joseph_Silber> Not even sure that it's possible.
[03:27:01] <jsheely> Good question. Haven't tried it. I assume you would do it the same
[03:27:08] <Joseph_Silber> The same? How?
[03:27:31] *** threesixes has joined #angularjs
[03:27:46] <jsheely> So in theory the html 5 file API has the files[0] array. You would simply pass that into a multi part post
[03:27:55] *** Sawbones has joined #angularjs
[03:28:02] <jsheely> example
[03:28:08] <jsheely> using the above
[03:28:14] <jsheely> when a user clicks submit
[03:28:28] <jsheely> you just take the model properties and assign them to data:
[03:28:29] *** eperez has quit IRC
[03:28:32] <jsheely> and the the file to file:
[03:28:48] *** curser has quit IRC
[03:28:54] <jsheely> so it would look like $upload.upload({url:'', data:myModel, file:selectedFile});
[03:29:01] <Sawbones> Is there a way to set ui-view to replace?
[03:29:09] <Joseph_Silber> That means I'd have to do a multipart upload, and populate a FormData object myself from the model
[03:29:16] <jsheely> I'm sure if you look at the upload() implementation you could see how they did it using the $http.post()
[03:29:28] *** dcherman has quit IRC
[03:29:33] <Joseph_Silber> Doesn't that post json?
[03:29:41] <Sawbones> The element breaks my css
[03:30:17] <jsheely> Joseph_Silber It posts whatever you want based on the content type
[03:30:22] *** snapwich has joined #angularjs
[03:30:32] *** whitebook has quit IRC
[03:30:47] <Joseph_Silber> Hmm. I'll look into it later. Thanks.
[03:31:10] <jsheely> Although unless you are using a legacy api that has to accept form/data then json would work just fine
[03:31:32] <jsheely> THis is all in theory of course. But logically that makes sense to me
[03:31:43] <Joseph_Silber> jsheely, It seems you need transformRequest: angular.identity
[03:31:44] *** davesidious_ has joined #angularjs
[03:31:49] <Joseph_Silber> See here: http://uncorkedstudios.com/blog/multipartformdata-file-upload-with-angularjs
[03:32:10] <Joseph_Silber> jsheely, You can't do both JSON and a file in one POST
[03:32:14] <jsheely> I assume this is for pre html 5
[03:33:02] <Joseph_Silber> Unless you mean a JSON string as the value of a key. The regular $http.post has the JSON string as the full body of the POST.
[03:33:20] *** dcherman2 has quit IRC
[03:33:39] *** visionary has joined #angularjs
[03:34:11] <jsheely> Perhaps. I haven't done a classic url-encoded post in years
[03:34:13] *** c00ljs has joined #angularjs
[03:34:24] *** anivemin has joined #angularjs
[03:34:27] <jsheely> If it isn't json it's dead to me
[03:34:30] *** dcherman has joined #angularjs
[03:34:50] *** tomfriedhof has joined #angularjs
[03:34:55] *** davesidious has quit IRC
[03:34:59] *** snapwich has quit IRC
[03:35:02] *** dman777 has quit IRC
[03:35:10] <Joseph_Silber> jsheely, how would you post JSON together with a file?
[03:35:19] *** wallerdev has quit IRC
[03:35:30] *** opiates has joined #angularjs
[03:35:30] <jsheely> Using that $upload module I meanted earlier
[03:35:41] *** ch3mical has quit IRC
[03:35:53] *** therealklanni has joined #angularjs
[03:35:57] *** whitebook has joined #angularjs
[03:36:06] <jsheely> $upload.upload({url:'', data:myModel, file:selectedFile});
[03:36:42] <jsheely> Handles JSON data along with files. That would give you the form and the file in a single request.
[03:36:46] *** night-ow_ has joined #angularjs
[03:37:01] *** fission6 has quit IRC
[03:38:37] *** visionary has quit IRC
[03:38:38] *** MasterGberry has quit IRC
[03:38:50] *** c00ljs has quit IRC
[03:39:01] *** anivemin has quit IRC
[03:39:09] *** MasterGberry has joined #angularjs
[03:39:16] *** cotko has quit IRC
[03:39:35] *** orbsio has joined #angularjs
[03:39:39] *** dman777 has joined #angularjs
[03:39:53] *** phoenixw has joined #angularjs
[03:40:56] *** bkuberek has joined #angularjs
[03:41:05] *** orbsio has quit IRC
[03:41:18] *** Cache_Money has joined #angularjs
[03:41:19] *** il has joined #angularjs
[03:42:18] *** rchavik_ has joined #angularjs
[03:42:34] *** Dead_Thinker has quit IRC
[03:43:00] *** Cache_Money has quit IRC
[03:43:15] *** curser has joined #angularjs
[03:43:45] *** doug_ has quit IRC
[03:44:26] *** MaxV has joined #angularjs
[03:44:27] *** bkuberek_ has quit IRC
[03:45:18] *** rchavik has quit IRC
[03:46:35] *** stephen has joined #angularjs
[03:46:39] *** RedOrangeZ has quit IRC
[03:46:53] *** kevrom has quit IRC
[03:47:27] <AlexZan> robdubya, thanks :D one more sails questions, do you know if --no-frontend on create a new project still works?
[03:47:30] *** bkuberek_ has joined #angularjs
[03:47:32] *** stephen has quit IRC
[03:47:55] *** stephen has joined #angularjs
[03:48:08] <stephen> evening all
[03:48:42] *** beckyconning has quit IRC
[03:48:43] *** pillage has joined #angularjs
[03:48:47] *** kevrom has joined #angularjs
[03:49:01] <jaawerth> hey there
[03:49:38] *** MaxV has quit IRC
[03:49:39] *** danecando has joined #angularjs
[03:49:43] *** kakashiA1 has joined #angularjs
[03:49:51] *** mjs2600 has joined #angularjs
[03:50:03] *** bkuberek has quit IRC
[03:50:40] *** chanced has joined #angularjs
[03:51:16] *** motionman has joined #angularjs
[03:51:20] *** emocakes has quit IRC
[03:52:59] *** RobinBAwesome has quit IRC
[03:53:11] *** kakashiAL has quit IRC
[03:53:23] *** danecando has quit IRC
[03:54:11] *** LoveAndHappiness has joined #angularjs
[03:54:23] *** mjs2600 has quit IRC
[03:55:10] *** tubiz has quit IRC
[03:55:40] *** mchapman has quit IRC
[03:56:14] *** ckboii89 has joined #angularjs
[03:57:39] *** smoores has joined #angularjs
[03:57:43] *** bkuberek_ has quit IRC
[03:57:50] *** Stampy has joined #angularjs
[03:58:23] *** bobbyd918 has quit IRC
[03:58:27] *** LoveAndHappiness has quit IRC
[03:58:50] *** skammer4 has joined #angularjs
[03:58:57] *** cesarkawakami has quit IRC
[03:58:58] *** richiebkr has quit IRC
[03:59:27] *** fbettag has quit IRC
[03:59:35] *** whitebook has quit IRC
[03:59:48] *** favetelinguis has joined #angularjs
[03:59:52] *** Olsonfold has quit IRC
[04:00:23] *** bkuberek has joined #angularjs
[04:00:39] *** danecando has joined #angularjs
[04:01:50] *** bobbyd918 has joined #angularjs
[04:02:12] *** hiptobecubic has joined #angularjs
[04:02:48] *** bkuberek has quit IRC
[04:02:51] *** chanced has quit IRC
[04:03:09] *** chanced has joined #angularjs
[04:03:23] *** skammer4 has quit IRC
[04:04:03] *** favetelinguis has quit IRC
[04:04:05] *** tomfriedhof has quit IRC
[04:04:07] *** LordSnow has joined #angularjs
[04:04:08] *** Mxyzpltk has joined #angularjs
[04:04:30] *** Hackwar1 has joined #angularjs
[04:04:31] *** unlikely_monkey has joined #angularjs
[04:04:41] *** ctladvance_ has joined #angularjs
[04:05:05] *** Hackwar has quit IRC
[04:05:20] *** one0one has joined #angularjs
[04:06:16] *** caitp- has joined #angularjs
[04:06:29] *** shinnya has quit IRC
[04:06:49] *** smoores has quit IRC
[04:06:52] *** bkuberek has joined #angularjs
[04:06:58] *** coderdad has joined #angularjs
[04:07:05] *** braidn has quit IRC
[04:07:10] *** Sawbones has quit IRC
[04:07:12] *** torrieri has quit IRC
[04:07:31] *** whitebook has joined #angularjs
[04:07:39] *** nickgs has quit IRC
[04:07:49] *** g3funk has joined #angularjs
[04:07:59] *** emmesswhy has quit IRC
[04:08:11] *** Mxyzpltk has quit IRC
[04:08:11] *** nickgs has joined #angularjs
[04:08:26] *** torrieri has joined #angularjs
[04:08:40] *** g3funk is now known as braidn
[04:09:04] *** ckboii89 has quit IRC
[04:09:21] *** caitp has quit IRC
[04:09:40] *** davek has quit IRC
[04:10:29] *** rchavik_ has quit IRC
[04:11:03] *** mdedetrich has joined #angularjs
[04:11:28] *** snapwich has joined #angularjs
[04:11:43] *** braidn has quit IRC
[04:11:44] *** RobinBAwesome has joined #angularjs
[04:11:55] *** rchavik has joined #angularjs
[04:12:01] *** RobinBAwesome has quit IRC
[04:12:02] *** rockfordal has joined #angularjs
[04:12:06] *** rockford_ has joined #angularjs
[04:12:18] *** g3funk has joined #angularjs
[04:12:39] *** chromatome has quit IRC
[04:12:41] *** justinmburrous has quit IRC
[04:12:50] *** recidive has joined #angularjs
[04:12:53] *** phoenixw has quit IRC
[04:14:11] *** cesarkawakami has joined #angularjs
[04:14:40] *** chromatome has joined #angularjs
[04:14:43] *** kd`_ has quit IRC
[04:15:19] *** justinmb_ has joined #angularjs
[04:15:25] *** dccc_ has quit IRC
[04:15:37] *** snapwich has quit IRC
[04:16:49] *** rockfordal has quit IRC
[04:17:03] *** rockford_ has quit IRC
[04:17:23] *** enaqx has quit IRC
[04:17:36] *** Sawbones has joined #angularjs
[04:17:36] *** pgicxplzs has quit IRC
[04:18:26] *** Latros-OS has quit IRC
[04:19:41] *** ManBearPixel has joined #angularjs
[04:19:45] *** goodenough has joined #angularjs
[04:20:19] *** bmac has quit IRC
[04:22:04] *** bmac has joined #angularjs
[04:22:47] <il> test
[04:24:52] *** kevrom has quit IRC
[04:24:53] *** fairchild has quit IRC
[04:25:15] *** davek has joined #angularjs
[04:26:24] *** davesidious__ has joined #angularjs
[04:27:17] *** buto_ has joined #angularjs
[04:27:18] *** joaojeronimo has quit IRC
[04:27:37] *** joaojeronimo has joined #angularjs
[04:27:43] *** emocakes has joined #angularjs
[04:28:37] *** anivemin has joined #angularjs
[04:28:37] *** snapwich has joined #angularjs
[04:28:57] *** MistahKurtz has quit IRC
[04:30:11] *** davesidious_ has quit IRC
[04:30:32] <Sawbones> ui router is overrated
[04:30:35] <Sawbones> I SAID IT.
[04:31:00] *** kevrom has joined #angularjs
[04:31:57] <il> Sawbones, you monster
[04:32:09] *** fswitalski has joined #angularjs
[04:32:16] *** fswitalski has left #angularjs
[04:32:44] *** whitebook has quit IRC
[04:33:03] *** ner0x has joined #angularjs
[04:33:44] *** anivemin has quit IRC
[04:33:57] *** whitebook has joined #angularjs
[04:34:06] *** Skrypter has joined #angularjs
[04:34:33] *** snapwich has quit IRC
[04:34:46] *** Skrypter has joined #angularjs
[04:34:47] *** Skrypter has quit IRC
[04:35:23] *** Skrypter has joined #angularjs
[04:35:31] *** iksik has quit IRC
[04:35:43] *** bAnt has quit IRC
[04:35:48] *** GreenJello has quit IRC
[04:35:49] <raibutera> does anyone have any experience with karma and mocha and can help me out with a few easy questions?
[04:36:01] *** Skrypter has joined #angularjs
[04:36:21] *** ner0x has quit IRC
[04:36:21] *** GreenJello has joined #angularjs
[04:36:34] *** xastey- has joined #angularjs
[04:36:41] *** Skrypter has joined #angularjs
[04:36:53] *** mdedetrich has quit IRC
[04:36:56] *** phuh has joined #angularjs
[04:37:27] *** chanced has quit IRC
[04:37:32] *** ner0x has joined #angularjs
[04:38:03] *** duellsy has joined #angularjs
[04:38:19] <ner0x> Hey all, any way to send parameters to a server via ajax that have multiple levels?
[04:38:44] <ner0x> IE { order: { col: 'id', dir: 'asc' }, page: { page: 1, per: 25} } etc.
[04:40:23] *** mguillech has joined #angularjs
[04:40:32] *** Guest33314 has quit IRC
[04:40:32] *** xastey has quit IRC
[04:40:55] *** GreenJello has quit IRC
[04:41:47] *** matthoiland has joined #angularjs
[04:42:32] *** ner0x has quit IRC
[04:42:45] *** sudo_aptGet has quit IRC
[04:42:50] *** artgoeshere has quit IRC
[04:43:00] *** nick__ has joined #angularjs
[04:43:01] *** c00ljs has joined #angularjs
[04:43:05] *** Limix has joined #angularjs
[04:43:08] <nick__> Hello
[04:43:16] <nick__> AngularJS is awesome
[04:43:20] <nick__> that is all
[04:43:28] <nick__> kthxbai
[04:43:36] *** nick__ has quit IRC
[04:43:40] *** hugorodrigues has joined #angularjs
[04:43:54] *** gnrlbzik has quit IRC
[04:44:13] *** ner0x has joined #angularjs
[04:44:30] *** dcherman has quit IRC
[04:44:39] *** artgoeshere has joined #angularjs
[04:45:13] *** mguillech has quit IRC
[04:45:13] *** MaxV has joined #angularjs
[04:45:53] *** matthoiland has quit IRC
[04:46:22] *** asher^ has quit IRC
[04:47:36] *** asher^ has joined #angularjs
[04:47:53] *** mdedetrich has joined #angularjs
[04:48:03] *** patrickarlt has joined #angularjs
[04:48:20] *** torrieri has quit IRC
[04:48:29] *** hugorodrigues has quit IRC
[04:49:52] *** MaxV has quit IRC
[04:49:55] *** ctladvance_ has quit IRC
[04:50:13] *** gr33d has quit IRC
[04:50:30] *** lemur has joined #angularjs
[04:51:01] *** zumba_addict has joined #angularjs
[04:51:57] <zumba_addict> hey guys, quick question. I asked earlier but I got disconnected. Is it proper to call an endpoint after calling the first endpoint since it's dependent on it?
[04:52:26] <zumba_addict> Currently, it's inside .then(function() { ...... })
[04:52:27] <il> how can i test to see if angularjs is working? I copied and pasted some code from http://angular-ui.github.io/bootstrap/ and even that is not working
[04:53:31] *** zB0hs has joined #angularjs
[04:54:07] *** bmac has quit IRC
[04:54:10] *** torrieri has joined #angularjs
[04:55:29] *** livingstn has joined #angularjs
[04:55:30] *** iribarne has quit IRC
[04:56:10] <ner0x> restangular seems to be stringifying my json objects, any ideas?
[04:56:28] *** pavan has joined #angularjs
[04:56:36] *** amphetamines has joined #angularjs
[04:56:38] <robdubya> AlexZan dunno but sails-generate-backend does
[04:57:07] *** Guest5209 has joined #angularjs
[04:57:23] *** rburns has quit IRC
[04:57:43] <robdubya> ner0x JSON is, usually
[04:57:46] *** recidive has quit IRC
[04:57:52] *** bayousoft has quit IRC
[04:57:52] <robdubya> but perhaps that's not what you mean
[04:58:11] *** mrogne_afk is now known as mrogne
[04:58:34] <AlexZan> robdubya, oh ill check that out thanks
[04:58:38] *** pavan has left #angularjs
[04:58:52] <ner0x> robdubya: Well it is, but if I have multiple levels. IE: { page: { page: 1, per: 25}, order: { col: 'id', dir: 'asc' } } it stringifies the { page... } { col... }
[04:59:05] *** cam_y has joined #angularjs
[04:59:16] <robdubya> what's the output look like ner0x
[04:59:42] *** favetelinguis has joined #angularjs
[04:59:50] *** iribarne has joined #angularjs
[04:59:51] *** opiates has quit IRC
[05:00:03] *** stevvooe has quit IRC
[05:00:33] *** Hackwar has joined #angularjs
[05:00:44] *** snapwich has joined #angularjs
[05:01:46] *** kroogs1 has quit IRC
[05:01:57] <ner0x> robdubya: {"count"=>"100", "filter"=>"", "order"=>"{\"column\":\"\",\"order\":\"ASC\"}",
[05:02:15] *** buto_ has quit IRC
[05:02:18] *** g3funk has quit IRC
[05:02:52] *** Star18bit has quit IRC
[05:03:04] *** Hackwar1 has quit IRC
[05:03:14] *** lilVaratep has quit IRC
[05:03:27] *** nickgs has quit IRC
[05:03:31] *** jtymes has quit IRC
[05:03:41] <robdubya> and the source data (that's is being stringified?)
[05:03:53] *** favetelinguis has quit IRC
[05:04:19] *** g3funk has joined #angularjs
[05:04:22] *** bengilli_ has quit IRC
[05:04:39] <raibutera> does anyone have any experience with karma and mocha and can help me out with a few easy questions?
[05:04:53] <raibutera> or karma and requireJS for that matter
[05:05:01] <robdubya> raibutera yea
[05:05:12] *** davek has quit IRC
[05:05:16] *** snapwich has quit IRC
[05:05:17] <raibutera> which of the two robdubya - requireJS or mocha?
[05:05:22] <raibutera> and thanks for offering!
[05:05:42] *** emocakes has quit IRC
[05:06:00] <robdubya> well, all of the above really, but i leave mocha for node
[05:06:09] *** LordSnow has quit IRC
[05:06:15] <raibutera> hmm ok
[05:06:19] *** LordSnow has joined #angularjs
[05:06:47] <raibutera> ok 1st easy question - have you got a good resource you can link to to learn about including a test helper in all my karma tests?
[05:06:56] <robdubya> requireJS, imo, is an unneccary complication with angular
[05:06:57] <raibutera> should I learn requireJS?
[05:07:02] <raibutera> hmm ok
[05:07:08] <robdubya> and it really depends what you mean by "helper"
[05:07:16] <robdubya> if you mean "mock"
[05:07:27] <raibutera> i mean like a file that can be shared by all tests
[05:07:31] <raibutera> i want to stub out the Facebook and Parse SDKs
[05:07:43] *** mikhael_k33hl has joined #angularjs
[05:07:51] <robdubya> do you know about angular's DI? like, do you understand the point of it
[05:08:01] <raibutera> yeah
[05:08:13] <robdubya> so its for this purpose exactly
[05:08:13] <raibutera> well unless there's something i'm missing
[05:08:19] <robdubya> you'd create a mock parse service
[05:08:23] <robdubya> named the same as the real one
[05:08:30] <robdubya> include it after your app src
[05:08:35] <robdubya> and that's pretty much it
[05:08:46] <ner0x> robdubya: Will it always stringify on a "get" or do I need to use a post?
[05:08:47] *** emocakes has joined #angularjs
[05:08:57] *** Star18bit has joined #angularjs
[05:09:05] *** Guest5209 has quit IRC
[05:09:10] <robdubya> ner0x well, a GET doesn't have a body
[05:09:20] <robdubya> so typically it will stringify
[05:09:22] *** Stampy has quit IRC
[05:09:26] <raibutera> i dont use angular's DI for Parse or Facebook and I dont understand how I could...
[05:09:41] <robdubya> raibutera that's your first problem then :)
[05:09:43] *** iribarne has quit IRC
[05:09:43] <raibutera> haha
[05:09:57] <mikhael_k33hl> Does anyone know how the project https://docs.angularjs.org/tutorial set up the Karma to always run and auto-run when a file changes. I've set my karma-conf.js to Authwatch: true but when I run "karma start karma-conf.js" it just runs then it says starting karma, starting browser, connected on socket then that's it
[05:10:05] <robdubya> the point of DI is so you can easily swap out stuff for exactly this reason
[05:10:27] <robdubya> i think parse has an angular SDK, but if not, its just a question of wrapping it in a factory or w/e
[05:10:28] *** joaojeronimo has quit IRC
[05:10:38] <raibutera> mikhael_k33hl it's autowatch: true
[05:10:41] *** Cache_Money has joined #angularjs
[05:10:44] <ner0x> robdubya: Well that's my issue, it needs to be a post then.
[05:10:51] <robdubya> ner0x most likely
[05:10:54] <raibutera> hmm
[05:11:07] <themime> robdubya: we've talking about resource vs service using $q, have you evolved your service calls or are you still returning a promise and in the controller checking .then() ?
[05:11:34] *** TripTastic is now known as JBreit
[05:11:38] <robdubya> themime ?
[05:11:44] *** PepperPhD has quit IRC
[05:11:56] *** Olsonfold has joined #angularjs
[05:12:07] *** lilVaratep has joined #angularjs
[05:12:20] <themime> i guess re: your plunker you use as a demo
[05:12:32] *** jeffscottward has joined #angularjs
[05:12:39] <mikhael_k33hl> raibutera: Yeah, I mistyped that one, sorry.
[05:13:08] <themime> robdubya: i suppose the demo to me represented your overall paradigm. maybe im remember the demo wrong, i thought you were returning a promise from a service
[05:13:19] *** iribarne has joined #angularjs
[05:13:25] <mikhael_k33hl> raibutera: You know, in the tutorial's project, they created a script somewhere, I just can't find it where you just need to type npm test
[05:13:27] <jsheely> Time to new ui-router
[05:13:28] <jsheely> woo
[05:13:35] <robdubya> raibutera http://plnkr.co/edit/wS8y8UlkdYXuAlAa61zm?p=preview
[05:13:52] <robdubya> that's the basic idea. the last included version of a DI annotated thing "wins"
[05:14:14] <robdubya> in tests, its a bit different, but the same cocnept applies. bring in your app module, bring in your mocks
[05:14:46] <robdubya> themime typically that's how i do most things
[05:14:48] *** iribarne has quit IRC
[05:14:57] <robdubya> (promises over $resource's wacky stuff)
[05:15:00] *** g3funk has quit IRC
[05:15:06] *** gnrlbzik has joined #angularjs
[05:15:11] <robdubya> but normallly you don't need $q
[05:15:14] <raibutera> but robdubya I have no idea how to wrap the JS sdk
[05:15:21] <raibutera> for either Parse or FB
[05:15:29] <raibutera> but especially FB as it's loaded asynch
[05:15:43] *** unlikely_monkey has quit IRC
[05:16:19] *** g3funk has joined #angularjs
[05:16:39] *** alt_qq has quit IRC
[05:16:44] <robdubya> raibutera basically, instead of using parse methods directly
[05:16:59] <robdubya> have a factory that encapsulates it
[05:17:02] <raibutera> right
[05:17:08] <robdubya> so if parse exposes, i dunno, Parse.find
[05:17:26] <robdubya> the *easiest* way is just
[05:17:42] <robdubya> app.value('ParseSDK', window.Parse)
[05:17:50] <robdubya> which is the "real" one
[05:17:58] <themime> wait i have everything basically using $q now
[05:18:01] <robdubya> then your mock should just be a factory that exposes the same API
[05:18:09] <robdubya> themime maybe post a sample
[05:18:19] *** torrieri has quit IRC
[05:19:00] <raibutera> hmm thanks robdubya but this particular issue i'm having with the FB log for example is caused by the Parse SDK
[05:19:49] <raibutera> the parse SDK calls something called FB.init() more than once
[05:19:54] <raibutera> which produces a single warning
[05:19:55] *** gnrlbzik has quit IRC
[05:19:56] <raibutera> in the console
[05:19:56] <themime> lets say i have a service, Customer. it used in a lot of controllers and i don't want to reload the data each controller. if i have the service return a promise, won't it reload each time i call the service, ie each controller?
[05:19:56] <robdubya> raibutera with async stuff, like the facebook SDK
[05:19:57] <raibutera> which is fine in the browser
[05:19:57] <raibutera> but it happens once per test
[05:19:57] <robdubya> use a promise to abstract away the async load
[05:19:57] *** Cache_Money has quit IRC
[05:20:21] <raibutera> but it's being loaded async in the html?
[05:20:27] <raibutera> i've been building a pretty big angular app since ... march? and i keep trying to get into BDD (and im writing my last two services using it)... but this kinda thing really gets me stumped and i can't find a good resource on it
[05:21:30] *** buto_ has joined #angularjs
[05:22:19] <themime> robdubya: im looking at more samples annnnnd im realizing i think ive been doing it wrong. but i have a good place to start experimenting so its all good. thanks!
[05:22:53] *** anivemin has joined #angularjs
[05:23:07] *** KidSk8 has joined #angularjs
[05:23:10] *** Nijikokun has quit IRC
[05:23:15] *** Guest46071 has joined #angularjs
[05:23:30] *** emmesswhy has joined #angularjs
[05:23:34] *** coderdad has quit IRC
[05:26:50] <robdubya> raibutera http://plnkr.co/edit/8sHJRW6lr6o9hunfnUFN?p=preview
[05:26:57] <robdubya> that's the pattern for async loaded deps
[05:27:38] <robdubya> themime i actually demo'd this yesterday for somebody
[05:27:39] <robdubya> sec
[05:27:52] *** kroogs1 has joined #angularjs
[05:27:59] <robdubya> http://plnkr.co/edit/IrkWmXErxl2i9AB1UfGM?p=info
[05:28:12] *** anivemin has quit IRC
[05:28:43] <robdubya> this is why promises are awesome - i'm caching the promise itself, so the first time, it'll fetch the record, but after that it'll always resolve with the initial promise
[05:29:42] <raibutera> oh wow
[05:29:45] <raibutera> robdubya
[05:29:47] <raibutera> thats so smart
[05:29:57] <raibutera> injecting in .run
[05:30:04] <robdubya> the google SDK's work the same way :)
[05:30:26] *** chanced has joined #angularjs
[05:31:13] *** whitebook has quit IRC
[05:31:15] <robdubya> raibutera note also $window vs window - same thing there, it allows you to have a bit more control over stuff
[05:31:30] *** buto_ has quit IRC
[05:31:50] *** kd` has joined #angularjs
[05:32:05] <jsheely> I forget, What's the trick for having an inline template
[05:32:27] <jsheely> ahh, ng-template
[05:32:29] *** tahoemph has quit IRC
[05:32:31] <raibutera> robdubya this has really blown my mind
[05:32:42] <robdubya> heh
[05:32:43] *** livingstn has quit IRC
[05:32:45] <raibutera> thank you
[05:33:01] <raibutera> i wish i learned this 5 months ago... would have saved me a lot of headache...
[05:33:12] <robdubya> go forth and prosper
[05:33:31] <raibutera> but ive got so much code not using this method and i think it'll be a nightmare refactoring :x
[05:33:54] *** amphetamines has quit IRC
[05:34:10] <robdubya> that sucks, but the payoff will be huge. DI seems like a bit of a faff, like useless boilerplate, but this is what its for
[05:34:16] *** blaflamme has quit IRC
[05:34:47] <raibutera> yeah
[05:34:55] *** marcjs has quit IRC
[05:34:57] *** cam_y has quit IRC
[05:35:03] <raibutera> we're so close to launching now that i think i'm going to just continue TDD-less
[05:35:25] <raibutera> and then embark on a huge rewrite as soon as we hit public
[05:35:27] *** marcjs has joined #angularjs
[05:35:47] *** glosoli has joined #angularjs
[05:36:00] *** christianbking has joined #angularjs
[05:36:02] *** coderdad has joined #angularjs
[05:36:20] *** davek has joined #angularjs
[05:36:23] *** Star18bit has quit IRC
[05:36:55] <christianbking> hey guys im trying to use the promises API and $q.all to wait for multiple async calls
[05:37:23] <christianbking> im very close but at a high level i think something is off
[05:37:42] <robdubya> raibutera also feel free to poke around https://github.com/balderdashy/angularSails/blob/resource/test/unit/sailsSocket.spec.js
[05:38:07] <christianbking> sending fiddle one sec
[05:38:08] <robdubya> not exactly what you're doing, but tldr that's a socket.io library, and for tests, i'm using a mockSocket
[05:38:12] *** kroogs1 has quit IRC
[05:38:42] *** bmcquee has joined #angularjs
[05:39:02] *** doug_ has joined #angularjs
[05:39:40] <robdubya> raibutera there's also a useful pattern (regarding stuff init'ing multiple times)
[05:39:40] <christianbking> http://jsfiddle.net/christianbking/sqe5h9uh/
[05:39:48] *** marcjs has quit IRC
[05:40:12] <robdubya> raibutera https://docs.angularjs.org/tutorial/step_05 see the test section on that page
[05:40:42] <robdubya> the _$httpBackend_ tells the injector to not instantiate it 11ty times
[05:40:58] <christianbking> http://jsfiddle.net/christianbking/sqe5h9uh/ if anyone wants to take a look trying to geocode multiple addresses using the google maps api and want to get the results from all the calls using the $q.all() promise API function. It doesn't seem to be working (first time using $q.all()) if anyone can help that'd be sweeelll
[05:42:04] <robdubya> christianbking is that functional (other than your issue, of course)>
[05:42:26] * raibutera bows to robdubya
[05:42:32] <christianbking> @robdubya yeah it is
[05:42:35] <christianbking> oops
[05:43:14] *** jbourassa has quit IRC
[05:43:16] <robdubya> raibutera i hate testing more than just about anybody, but once you grok the patterns, its not terrible. *almost* enjoyable
[05:43:28] <robdubya> christianbking ok, cool
[05:44:03] <robdubya> christianbking actually its not :/
[05:44:28] <robdubya> i'm gonna move it to a plunk, you'll actually be surprised how simple this is :D
[05:44:28] <ner0x> Is it possible to have access to the current cookies during a configuration? IE to find out the XSRF-TOKEN I've set and send it with each restangular request?
[05:44:30] *** Skrypter has quit IRC
[05:44:36] *** tahoemph has joined #angularjs
[05:45:18] *** braoru has joined #angularjs
[05:45:31] <robdubya> christianbking question though - i'd assume that at the most basic level, you want to do something like, from a form, fill in an address, send it to the goog, get back a geocoord
[05:45:54] *** Sawbones has quit IRC
[05:45:57] *** MaxV has joined #angularjs
[05:47:11] *** tomzx is now known as tomzx`afk
[05:48:14] <raibutera> robdubya i dont hate testing... i just cant find a book on it or something so i can get started!
[05:48:46] *** craigp has joined #angularjs
[05:48:57] <robdubya> raibutera i despise it :D
[05:49:10] <robdubya> the thing that helped me learn was tearing apart angular's tests
[05:50:11] <raibutera> if only i had the patience and the knowledge
[05:50:14] <raibutera> one day...
[05:50:29] *** annlewis has quit IRC
[05:50:33] *** MaxV has quit IRC
[05:51:02] *** annlewis has joined #angularjs
[05:51:07] <jsheely> So it's helpful to remember with UI-Router to include the initial / in the url ><
[05:51:12] <jsheely> There went 15 mins of my life
[05:52:55] <raibutera> jsheely it's what you live for :D
[05:52:58] *** DoubleAW[CHC] has quit IRC
[05:52:58] *** gnrlbzik has joined #angularjs
[05:53:02] *** craigp has quit IRC
[05:53:06] *** glosoli has quit IRC
[05:53:07] *** jMyles has joined #angularjs
[05:53:36] *** DoubleAW[CHC] has joined #angularjs
[05:54:01] *** braoru has quit IRC
[05:54:14] <jsheely> Some days I want to become give up this interwebs and become a hermit and living in the woods
[05:54:43] <jsheely> good lord that was a terrible sentense
[05:54:47] <jsheely> I should go to bed =\
[05:54:57] *** josh-k has quit IRC
[05:55:02] *** mzabriskie has joined #angularjs
[05:55:29] *** Luis_ has joined #angularjs
[05:55:32] *** josh-k has joined #angularjs
[05:55:39] *** mzabriskie has quit IRC
[05:55:40] *** bmcquee has quit IRC
[05:55:54] *** torrieri has joined #angularjs
[05:56:20] *** bmcquee has joined #angularjs
[05:56:50] *** tschundeee has quit IRC
[05:57:03] *** dhcar_AFK is now known as dhcar
[05:57:06] *** tschundeee has joined #angularjs
[05:57:32] *** annlewis has quit IRC
[05:57:41] *** bootsWitDaFur has joined #angularjs
[05:57:42] *** dhcar is now known as dhcar_AFK
[05:57:46] *** josh-k has quit IRC
[05:58:11] *** Luis_ has quit IRC
[05:59:08] *** nemothekid has joined #angularjs
[05:59:46] *** favetelinguis has joined #angularjs
[06:00:50] *** Limix has quit IRC
[06:00:58] *** rockfordal has joined #angularjs
[06:00:59] *** rockford_ has joined #angularjs
[06:01:39] *** wd40s has quit IRC
[06:02:15] *** bkuberek has quit IRC
[06:02:41] *** tkimmel has joined #angularjs
[06:03:11] *** Star18bit has joined #angularjs
[06:03:11] *** RedOrangeZ has joined #angularjs
[06:04:32] *** favetelinguis has quit IRC
[06:05:02] *** Mxyzpltk has joined #angularjs
[06:05:33] *** rockfordal has quit IRC
[06:05:48] *** rockford_ has quit IRC
[06:05:55] *** ajs_ has joined #angularjs
[06:07:17] *** tkimmel has quit IRC
[06:07:25] *** ajs_ has quit IRC
[06:07:49] *** emocakes has quit IRC
[06:09:22] *** il has quit IRC
[06:09:28] *** Mxyzpltk has quit IRC
[06:09:38] *** cam_y has joined #angularjs
[06:09:59] *** boneskull has quit IRC
[06:10:17] *** PepperPhD has joined #angularjs
[06:10:32] *** torrieri has quit IRC
[06:11:04] *** weigart has quit IRC
[06:11:19] *** emocakes has joined #angularjs
[06:11:50] *** intellix has joined #angularjs
[06:12:07] *** lilVaratep has quit IRC
[06:12:31] *** Evanion has joined #angularjs
[06:13:27] *** grin has joined #angularjs
[06:13:45] *** NoNMaDDeN has joined #angularjs
[06:14:07] *** bardos has joined #angularjs
[06:15:22] *** tschundeee has quit IRC
[06:16:01] *** tschundeee has joined #angularjs
[06:16:18] *** boneskull has joined #angularjs
[06:16:23] *** hswolff has quit IRC
[06:17:21] *** speakingcode has quit IRC
[06:17:31] *** Limix has joined #angularjs
[06:17:31] *** hswolff has joined #angularjs
[06:17:45] *** Jayro has quit IRC
[06:19:26] *** speakingcode has joined #angularjs
[06:20:24] *** tschundeee has quit IRC
[06:20:55] <grin> hei
[06:21:19] *** grin has left #angularjs
[06:21:21] *** boneskull has quit IRC
[06:21:47] *** boneskull has joined #angularjs
[06:23:59] *** annlewis has joined #angularjs
[06:25:29] *** JohnBat26 has joined #angularjs
[06:27:14] *** Jdubs has joined #angularjs
[06:27:26] <Jdubs> Hey guys o/ Is there an interceptor like the exception handler i can use to grab console.warns?
[06:27:55] *** torrieri has joined #angularjs
[06:27:58] *** torrieri has joined #angularjs
[06:28:15] *** fedenunez has joined #angularjs
[06:28:39] *** deweydb has joined #angularjs
[06:28:42] <deweydb> hello
[06:29:03] <deweydb> if i have two ng-repeats, one inside the other, how do i access the $index of the outer one inside the inner one?
[06:29:14] <mikhael_k33hl> Did anyone tried the tutorial in AngularJs?I'm looking for the script on how they made the "npm test" command
[06:29:52] *** cesarkawakami has quit IRC
[06:29:57] *** cesarkawakami2 has joined #angularjs
[06:30:30] *** PepperPhD has quit IRC
[06:30:37] *** matthoiland has joined #angularjs
[06:30:57] *** zivester has joined #angularjs
[06:31:39] *** kroogs1 has joined #angularjs
[06:31:58] *** hugorodrigues has joined #angularjs
[06:32:23] *** torrieri has quit IRC
[06:34:21] *** patrickarlt has quit IRC
[06:35:20] *** matthoiland has quit IRC
[06:35:32] *** fedenunez has quit IRC
[06:36:01] *** miha- has joined #angularjs
[06:36:39] *** kroogs1 has quit IRC
[06:36:45] *** hugorodrigues has quit IRC
[06:36:49] *** zeroNones has quit IRC
[06:37:00] *** Limix has quit IRC
[06:37:07] *** ManBearPixel has quit IRC
[06:38:03] <cam_y> deweydb: $parent.$index
[06:38:14] *** d4rklit3 has quit IRC
[06:39:16] *** Limix has joined #angularjs
[06:39:45] *** annlewis has quit IRC
[06:39:46] *** glosoli has joined #angularjs
[06:40:06] <doug_> data-ng-repeat="(outerIndex, outerValue) in something" ... would do it too right? to name the index?
[06:40:09] *** minond1 has joined #angularjs
[06:40:22] *** x4e has joined #angularjs
[06:40:35] *** MasterGberry has quit IRC
[06:41:06] *** MasterGberry has joined #angularjs
[06:41:49] *** mguillech has joined #angularjs
[06:42:45] *** tmits has joined #angularjs
[06:44:23] *** iamcyberbird has joined #angularjs
[06:44:33] *** tmits has left #angularjs
[06:45:27] *** pillage has quit IRC
[06:45:31] *** TorchDragon has joined #angularjs
[06:45:42] *** phuh has quit IRC
[06:46:01] *** ngbot has joined #angularjs
[06:46:01] <ngbot> [angular.js] IgorMinar pushed 1 new commit to master: http://git.io/dk7bjA
[06:46:01] <ngbot> angular.js/master b1ee538 Jason Bedard: perf(ngForm,ngModel): move initial addClass to the compile phase...
[06:46:01] *** ngbot has left #angularjs
[06:46:14] *** chromatome has quit IRC
[06:46:15] *** bmcquee has quit IRC
[06:46:17] *** mguillech has quit IRC
[06:46:43] *** MaxV has joined #angularjs
[06:46:47] *** squeakytoy2 has joined #angularjs
[06:47:30] *** asher^ has quit IRC
[06:47:55] *** MaxV has quit IRC
[06:48:26] *** MaxV has joined #angularjs
[06:48:52] *** asher^ has joined #angularjs
[06:48:52] *** magellanicloud_ has joined #angularjs
[06:48:54] *** squeakytoy has quit IRC
[06:49:07] <doug_> deweydb: for example http://jsfiddle.net/sc67ysx3/1/
[06:49:23] *** zivester has quit IRC
[06:49:25] *** zanea is now known as zanea|away
[06:49:30] *** emmesswhy has quit IRC
[06:50:06] *** TorchDragon has quit IRC
[06:51:40] *** fedenunez has joined #angularjs
[06:53:25] *** boneskull has quit IRC
[06:53:34] *** phoenixw has joined #angularjs
[06:53:42] *** MaxV has quit IRC
[06:53:56] *** cesarkawakami2 has quit IRC
[06:54:00] *** annlewis has joined #angularjs
[06:55:18] *** justinmb_ has quit IRC
[06:55:36] *** patrickarlt has joined #angularjs
[06:56:29] *** zsadek has joined #angularjs
[06:57:07] *** rchavik has quit IRC
[06:57:25] *** mary5030 has joined #angularjs
[06:57:34] *** ZEH has joined #angularjs
[06:58:07] *** annlewis has quit IRC
[06:58:11] *** zsadek has quit IRC
[06:59:12] *** Raging_Hog has joined #angularjs
[06:59:14] *** gnrlbzik has quit IRC
[06:59:16] *** BenH_ has joined #angularjs
[06:59:40] *** BenH_ is now known as Guest63676
[07:00:59] *** BahamutWC|Work has joined #angularjs
[07:01:26] *** snapwich has joined #angularjs
[07:01:35] *** MasterGberry has quit IRC
[07:02:12] *** pillage has joined #angularjs
[07:02:19] *** MasterGberry has joined #angularjs
[07:02:26] *** jae_sleep has left #angularjs
[07:02:40] *** BahamutWC|Work has quit IRC
[07:04:04] *** lite has joined #angularjs
[07:04:18] *** Evanion has quit IRC
[07:06:09] *** snapwich has quit IRC
[07:06:14] *** DoubleAW[CHC] has quit IRC
[07:06:19] *** BahamutWC|Work has joined #angularjs
[07:06:29] *** JesuZ has joined #angularjs
[07:07:39] *** JesuZ has quit IRC
[07:07:48] *** BahamutWC|Work has quit IRC
[07:09:44] *** favetelinguis has joined #angularjs
[07:10:49] *** jeffscottward has quit IRC
[07:10:49] *** il has joined #angularjs
[07:11:11] *** anivemin has joined #angularjs
[07:11:26] *** tahoemph has quit IRC
[07:12:38] <mikhael_k33hl> karma doesn't report if tests pass or fails
[07:13:10] *** JesuZ has joined #angularjs
[07:13:26] *** DoubleAW[CHC] has joined #angularjs
[07:13:39] *** DoubleAW[CHC] is now known as DoubleAW
[07:14:56] *** AnthonyC has quit IRC
[07:15:33] *** bootsWitDaFur has quit IRC
[07:15:37] *** anivemin has quit IRC
[07:15:41] *** annlewis has joined #angularjs
[07:15:41] *** chanced has quit IRC
[07:16:27] *** mary5030 has quit IRC
[07:16:33] *** tschundeee has joined #angularjs
[07:16:47] *** nemothekid has quit IRC
[07:16:52] *** minond1 has quit IRC
[07:17:10] *** night-ow_ has quit IRC
[07:17:22] *** bardos has quit IRC
[07:17:36] *** tahoemph has joined #angularjs
[07:17:59] *** DoubleAW has quit IRC
[07:18:38] <mdedetrich> does anyone know if there is a directive for date select by just using basic select input fields (with basic validation for correct # of days in year)
[07:19:17] *** jstimm has quit IRC
[07:19:40] *** msarta has joined #angularjs
[07:19:59] <stephen> mdedetrich, never seen that specifically
[07:20:03] *** annlewis has quit IRC
[07:20:03] *** schimek has joined #angularjs
[07:20:10] <stephen> mdedetrich, BUT
[07:20:10] *** christianbking has quit IRC
[07:20:12] <themime> how does this work, with the scope object being set to a promise? does the html thats link to the scope object just know to ignore promises?
[07:20:16] <themime> er forgot link: http://plnkr.co/edit/ZX4tP7ymeBfhsRjIo2sB?p=preview
[07:20:29] *** chanced_ has joined #angularjs
[07:20:31] <stephen> mdedetrich, It'd be simple to create
[07:20:41] *** boneskull has joined #angularjs
[07:20:53] *** DoubleAW has joined #angularjs
[07:21:53] <stephen> themime, the digest cycle waits for promises to resolve before rendering those parts of the view
[07:22:21] <stephen> themime, Basically, supply a promise to a scope property, and when used in a view it will wait for the resolve/reject
[07:22:22] *** DoubleAW has quit IRC
[07:22:27] *** nemothekid has joined #angularjs
[07:22:27] <stephen> Core principle in Angular
[07:23:28] *** diegoaguilar has joined #angularjs
[07:23:35] <themime> haha wow. been doing services wrong this whole time. maybe i should have just stayed with using resource
[07:23:48] <caitp-> stephenson: angular doesn't do that anymore
[07:23:53] <caitp-> hasn't for a while now
[07:23:58] <caitp-> er, stephen* not stephenson
[07:24:02] <cam_y> themime: that's interesting didn't know that
[07:24:17] *** {DV8} has quit IRC
[07:24:25] * themime is pretty confused now
[07:24:54] <cam_y> caitp-: so angular no longer supports resolving promises tied to scope ?
[07:24:56] <themime> caitp- how do you explain the link i gave not producing any errors then?
[07:25:01] <cam_y> like the one in themime example ?
[07:25:12] <caitp-> expressions do'nt get unwrapped by the expression parser anymore
[07:25:24] <themime> caitp-: stephen was answering my question but you didn't provide an alterative answer which is leaving me quite confused
[07:25:24] <caitp-> themime: the link you gave is using an ancient version of angular
[07:25:33] <themime> ooooh
[07:25:35] <stephen> crap
[07:25:40] <stephen> caitp-, sorry
[07:25:54] <caitp-> the alternative is promise.then(function(value) { $scope.someValue = value; })
[07:25:57] <themime> i forked it from a blog article, must be outdated damn. so i guess i should just use then()
[07:26:00] *** hiptobecubic has quit IRC
[07:26:29] <caitp-> the feature had to be removed because it caused more problems than it was worth, and also ate up more lines of code than it deserved
[07:26:47] <themime> yea i had been using that. the issue though is i don't want to set the Service's data in a controller's then method. how do i make sure a service isn't already loaded? like if i don't need to load it each controller.
[07:27:23] <stephen> caitp-, His question was "why does it work":
[07:27:33] <stephen> Let me check out what version he is using
[07:28:09] *** magellanicloud_ has quit IRC
[07:28:15] <stephen> themime, it works because you are using v1.0.8 on plunkr
[07:28:38] *** jeffscottward has joined #angularjs
[07:28:54] <stephen> caitp-, Which version was view promise unwrapping removed, do you remember?
[07:29:07] <themime> gotcha thanks. main conern: in that example, in another controller, i shouldn't have to get a new list of messages if i already loaded my old copy. is there a quick solution to that? my instinct is to keep the original promise rather than return a new one each time
[07:29:10] *** patrick99e99 has joined #angularjs
[07:29:33] *** DoubleAW has joined #angularjs
[07:29:49] <stephen> themime, inject the same service into both controllers, forget the promise, and just use getMessages to return the array inside the servioce
[07:29:59] *** swapneshs has joined #angularjs
[07:30:15] <caitp-> it was completely removed in 1.3.0-beta.10, and disabled by default in 1.2.0-rc.3
[07:30:18] *** gnrlbzik has joined #angularjs
[07:30:45] <BobbieBarker> i have a bit of a mystery afoot. So I have a directive that lets me drag and drop stuff. It works perfectly fine if i use it on images. However I'm trying to use it on a set of <small></small> tags now and it won't budge
[07:31:15] *** fedenunez has quit IRC
[07:31:17] *** DoubleAW has quit IRC
[07:31:18] <mikhael_k33hl> my Karma is set to autoWatch, it can detect changes and reports it but it doesn't actually run the tests
[07:31:24] <swapneshs> Hello everyone
[07:31:39] *** kroogs1 has joined #angularjs
[07:31:39] <stephen> themime, just having both controllers look for the resolved promise the same way would work just as well. Re-resolving the deferred will return the same result
[07:31:42] *** justinmburrous has joined #angularjs
[07:31:43] <swapneshs> How do I handle multiple/bulk scripts based on templates ?
[07:31:48] *** goodenough has quit IRC
[07:31:54] <themime> stephen: well in a real example i wouldn't be just returning an array, id be getting json or something from a server
[07:31:58] *** mennea has joined #angularjs
[07:32:04] <themime> so i can't just return the array unfortunately
[07:32:06] *** DoubleAW has joined #angularjs
[07:32:09] <stephen> themime, yeah, that's why you're keeping the promise, I get it
[07:32:20] <themime> okay cool. as long as we're on the same page :)
[07:32:26] <swapneshs> any help ?
[07:32:28] <stephen> themime, just know that resolving a promise again just returns a cached result
[07:32:52] <themime> sweet yea i saw that comment you had right above about that, i was going to say thats the perfect info i needed!
[07:32:53] <themime> thanks!
[07:32:58] <stephen> np
[07:33:31] *** sigurding has joined #angularjs
[07:33:42] <stephen> BobbieBarker, You likely have a css issue, we'll need to see an example
[07:33:45] *** jMyles has quit IRC
[07:34:00] <BobbieBarker> yeah its def some sort of css fuckery
[07:34:02] <stephen> swapneshs, Do you mean code generation?
[07:34:26] *** msarta has quit IRC
[07:34:32] <swapneshs> @stephen actually I am implementing this theme in angular http://themes-lab.com/pixit/admin/index.html
[07:34:51] *** patrick99e99 has quit IRC
[07:34:52] *** gnrlbzik has quit IRC
[07:35:10] *** IJNX has joined #angularjs
[07:35:17] <swapneshs> Now the problem is this theme contains around 80MB scripts so If I am using in my layout I dont think its a good solution(FYI - I am using LinemanJS)
[07:35:18] <stephen> swapneshs, I suppose I don't understand, can you give more detail on your problem?
[07:35:27] <swapneshs> @stephen sure
[07:35:47] <stephen> 80MB in scripts?
[07:35:50] <stephen> Insane
[07:36:22] *** il has quit IRC
[07:36:30] *** fedenunez has joined #angularjs
[07:36:32] *** kroogs1 has quit IRC
[07:36:58] *** msarta has joined #angularjs
[07:37:06] *** orbsio has joined #angularjs
[07:37:07] <stephen> swapneshs, did you happen to compile the entire site into a single JS file?
[07:37:13] <swapneshs> yup there are too many as charts, calendar, weather etc
[07:37:34] <stephen> swapneshs, I think you need to learn how to do lazy loading
[07:37:45] <stephen> require.js is great for it
[07:37:58] *** NoNMaDDeN has quit IRC
[07:37:59] <stephen> And it's use with angular is fairly well documented
[07:38:34] <swapneshs> yes I followed a post for this..but few answers are suggesting that using requireJS is an overhead for the application
[07:38:51] <caitp-> you most likely don't need to use it
[07:38:54] <swapneshs> I dont know howtrue it is - though it was votes hundred times i guess
[07:39:02] <caitp-> and it's not really going to accomplish anything
[07:39:06] <caitp-> other than make your app more confusing
[07:39:09] <stephen> lol
[07:39:43] *** coderdad has quit IRC
[07:39:55] <stephen> If you are pre-loading 80MB worth of scripts, first, quit compiling it
[07:40:13] <cam_y> caitp-: is ther anything for lazy loading in 2.0 ?
[07:40:17] <stephen> second, look to include scripts in views as they are loaded.
[07:40:27] <caitp-> 2.0 doesn't exist yet
[07:40:34] <stephen> caitp-, I take it you're not a lazy loading fan?
[07:40:35] <caitp-> 2.0 is a twinkle in the angular team's eyes
[07:40:39] <cam_y> i meant roadmap kinda
[07:40:42] <caitp-> you won't be lazy loading anything with requirejs
[07:40:45] <themime> ive written two apps recently, one in requirejs/jquery and the other in angular and i haven't seen any need for requirejs with angular so far. medium sized apps id say
[07:40:45] <stephen> Or what's you're goto alternative
[07:40:52] <caitp-> because you need all of your components to bootstrap the injector properly
[07:40:56] *** squeakytoy2 has quit IRC
[07:41:24] <caitp-> keep it simple honestly
[07:41:31] <caitp-> some people think browserify helps them with that
[07:41:35] <caitp-> i disagree, but if it helps you, use it
[07:41:44] <caitp-> simpler is better though
[07:41:53] <stephen> browserify is a great option as well
[07:42:12] <swapneshs> so browserify or requirejs ?
[07:42:50] *** fairchild has joined #angularjs
[07:42:51] <stephen> I haven't had the chance to use browserify, but I love implementing lazyloads with requirejs on large apps
[07:43:07] <stephen> It's all I've really built with angular so far. Big stuff
[07:43:31] *** mityaz has quit IRC
[07:44:08] <swapneshs> @stephen any tut for requierJS,,, docs seems too complicated
[07:44:33] <swapneshs> as I confused with what are AMD modules
[07:44:43] *** nfroidure has joined #angularjs
[07:44:46] *** cam_y has quit IRC
[07:44:50] *** mguillech has joined #angularjs
[07:45:08] *** lite is now known as lite_
[07:45:32] <stephen> swapneshs, AMD Modules are just a way of wrapping javascript code to be loaded separately
[07:45:38] *** patrickarlt has quit IRC
[07:45:41] *** wd40s has joined #angularjs
[07:46:22] *** xastey has joined #angularjs
[07:46:23] <_ds82> .. and because it would be far to easy to have one way to do this, there are several ;)
[07:46:37] *** gurke_ has joined #angularjs
[07:46:56] <stephen> swapneshs, I'm going to be honest, doing this isn't easy. It takes a lot of patience and reading
[07:46:58] <gurke_> good morning. :)
[07:47:01] <stephen> swapneshs, http://weblogs.asp.net/dwahlin/dynamically-loading-controllers-and-views-with-angularjs-and-requirejs
[07:47:21] *** frickettz has quit IRC
[07:47:57] <stephen> swapneshs, I also found this helpful: http://thaiat.github.io/blog/2014/02/26/angularjs-and-requirejs-for-very-large-applications/
[07:48:14] *** ner0x has quit IRC
[07:48:14] *** nfroidure has quit IRC
[07:48:41] *** fedenunez has quit IRC
[07:48:47] <stephen> swapneshs, This will help you understand how to do css in a similar way: http://www.bennadel.com/blog/2554-loading-angularjs-components-with-requirejs-after-application-bootstrap.htm
[07:48:58] <stephen> gurke_, Morning!
[07:49:09] *** MaxV has joined #angularjs
[07:49:12] *** richiebkr has joined #angularjs
[07:49:22] <gurke_> heyo stephen
[07:49:27] *** mguillech has quit IRC
[07:49:40] <stephen> _ds82, Loading modules has so many different ways right now. I'll be honest in saying I don't know the advantage of one over the other. I learned AMD with RequireJS and ran with it.
[07:49:54] *** Skrypter has joined #angularjs
[07:50:03] <_ds82> i prefer browserify .. cleaner code & reusable modules for front- and backend
[07:50:21] <stephen> RequireJS just seemed to be very compatible with many frameworks, and I often found myself in shops doing migrations
[07:50:31] *** Skrypter has joined #angularjs
[07:50:33] *** eburcat has quit IRC
[07:50:33] *** xastey- has quit IRC
[07:50:34] <_ds82> but if i would not have a nodejs backend, I would consider to not use either browserify or requirejs
[07:50:40] *** wd40s has quit IRC
[07:50:54] <stephen> _ds82, caitp- Can you recommend any good articles regarding browserify modularization?
[07:50:55] <_ds82> caitp- is right, they compilcate things on some stuff
[07:51:00] <swapneshs> @stephen I also found a files.js file in lineman config http://pastebin.com/pQK3WzTY ..dont you think it will help me
[07:51:08] <stephen> I usually work with a .net back end
[07:51:12] *** Skrypter has joined #angularjs
[07:51:27] <stephen> swapneshs, I don't know lineman, sorryt
[07:51:29] <swapneshs> do lineman support ..FYI I am new to grunt
[07:51:31] <caitp-> i wouldnt even recommend browserify, just KIS
[07:51:35] <swapneshs> aahh okk
[07:52:18] <_ds82> caitp-: in a pure angular app you are right .. but apps usually have non-angular components .. I dont want to wrap them to be able to use angular's DI
[07:52:42] <_ds82> my apps at least
[07:52:42] *** bmcquee has joined #angularjs
[07:53:27] <caitp-> i think that if you think you need rjs or browserify, you're probably overthinking your problem
[07:53:28] *** bmcquee has joined #angularjs
[07:53:44] *** craigp has joined #angularjs
[07:53:45] *** MaxV has quit IRC
[07:53:47] <caitp-> for pretty much anything
[07:53:58] <_ds82> what would you do to reuse nodejs modules in the frontend?
[07:54:35] <stephen> browserify
[07:54:58] *** Daank20|gone has quit IRC
[07:55:12] <robdubya> ES6
[07:55:13] <robdubya> :o
[07:55:22] <_ds82> good point ;)
[07:55:26] <stephen> ES6 ^ :-)
[07:55:42] *** NoNMaDDeN has joined #angularjs
[07:55:42] <robdubya> ES6 master race
[07:56:04] *** frickettz has joined #angularjs
[07:56:19] <robdubya> https://github.com/systemjs/systemjs ftw
[07:56:28] <stephen> require.js comes into play only if your overall codebase or your data loads are so huge you're running up against browser memory limits.
[07:56:41] *** bb6xt has joined #angularjs
[07:56:51] *** Jdubs has quit IRC
[07:57:13] *** Jdubs has joined #angularjs
[07:57:22] <swapneshs> @caiptp- "you're probably overthinking your problem" is it for me?
[07:57:31] *** ZEH has quit IRC
[07:57:32] <swapneshs> if yes let me know your views?
[07:57:43] *** Jdubs has quit IRC
[07:57:54] <_ds82> stephen: I dont know .. even for huge apps .. I would prefer to (at least try) divide the app in more, smaller apps ..
[07:58:20] *** Jdubs has joined #angularjs
[07:58:30] <stephen> _ds82, Of course. What is lazy loaded and what is not is a thoughtful balance
[07:58:34] *** Skrypter has quit IRC
[07:59:16] <stephen> One can go too far the other side of making too many calls, or making the app unreliable or stutter
[07:59:32] <robdubya> i have less of an issue with require than i do browserify
[07:59:38] <stephen> :-)
[07:59:47] <_ds82> robdubya: why?
[07:59:54] <stephen> Browserify seems to be a minification type process as well
[08:00:05] <stephen> I don't like minification until production
[08:00:11] <_ds82> thats not true
[08:00:17] <robdubya> _ds82 i just dont love commonJS
[08:00:29] <_ds82> my browserify code does not minify until the buildserver runs it
[08:00:34] <stephen> Like I said, I've never used it, so I may be misunderstanding
[08:00:56] <stephen> But I never liked the CommonJS syntax either.
[08:01:05] <stephen> Though Node.js makes heavy use of it
[08:01:20] *** speaking1ode has joined #angularjs
[08:01:21] <robdubya> increasingly i'm using SystemJS in node too
[08:01:54] <robdubya> i like the extensibiliy / pluggability
[08:02:19] *** JesuZ has quit IRC
[08:02:24] <robdubya> caitp- have y'all looked at it at all? it seems like it would be useful for angular 2 loading
[08:02:28] *** speakingcode has quit IRC
[08:02:33] <robdubya> you have all kinds of hooks into instantiation of modules n stuff
[08:02:42] *** Jdubs has quit IRC
[08:02:44] *** phoenixw has quit IRC
[08:03:02] <caitp-> there was an email thread where it came up
[08:03:08] <caitp-> but angular 2 is very much fictional right now
[08:03:10] *** jstroem has joined #angularjs
[08:03:38] <caitp-> it was less fictional in january, but it became more fictional recently :p
[08:03:59] <robdubya> you are not inspiring confidence :/
[08:04:02] *** JayFK has joined #angularjs
[08:04:05] *** tschundeee has quit IRC
[08:05:00] <robdubya> i saw in an email a few months back they were wanting somebody to backport DI to 1.3x
[08:05:15] <robdubya> is that still on the cards? that would be a massive improvment
[08:05:22] *** anivemin has joined #angularjs
[08:05:36] <stephen> caitp-, Can you explain that last comment?
[08:05:49] <stephen> caitp-, I know business managers who will need to know that
[08:05:58] *** Mxyzpltk has joined #angularjs
[08:06:16] <robdubya> ^ that x 11ty.
[08:06:25] *** falk_netstyler has joined #angularjs
[08:06:51] *** rockfordal has joined #angularjs
[08:06:55] <caitp-> business managers won't be running to upgrade to angular 2 in the near term, because there isn't going to be an angular 2 to jump to in the near term
[08:06:55] *** rockford_ has joined #angularjs
[08:07:29] <stephen> Obviously... Most of them think that they need to plan for it by December-Feb is all
[08:07:56] <caitp-> i'm skeptical, but hopefully ngeurope will help with that a bit
[08:07:57] <stephen> I try to tell them that there is no firm date from what I've heard, but that range keeps coming up
[08:08:23] *** rockfordal has quit IRC
[08:08:26] *** rockford_ has quit IRC
[08:08:29] <robdubya> its just been pretty much radio silence from the angular team since like, may
[08:08:31] *** glosoli has quit IRC
[08:08:36] *** rockfordal has joined #angularjs
[08:08:36] *** rockford_ has joined #angularjs
[08:09:53] *** anivemin has quit IRC
[08:10:42] *** Sky[x] has joined #angularjs
[08:10:58] *** Mxyzpltk has quit IRC
[08:10:58] *** pillage has quit IRC
[08:11:28] *** tahoemph has quit IRC
[08:12:12] *** sevgevorkyan has joined #angularjs
[08:12:12] *** JesuZ has joined #angularjs
[08:12:20] *** sevgevorkyan has joined #angularjs
[08:12:26] *** ggra245 has joined #angularjs
[08:12:40] <ggra245> can any freelancers please read and comment their opinion on this thread - http://www.reddit.com/r/webdev/comments/2hyu6v/client_issue_termination_but_project_is_complete/
[08:12:44] *** sevgevorkyan has left #angularjs
[08:12:59] *** Trow has joined #angularjs
[08:13:22] *** sevgevorkyan has joined #angularjs
[08:13:24] *** rockfordal has quit IRC
[08:13:25] <robdubya> what does your contract say?
[08:13:25] *** rockford_ has quit IRC
[08:13:26] <sevgevorkyan> Hi guys, I just posted a question to stackov — > http://stackoverflow.com/questions/26135135/how-to-dynamically-create-a-json-file-for-each-object-that-gets-added-to-another
[08:14:10] <x4e> hi! I have to write a quiz app. I would like to be able to step through a JSON file full of question on a page, displaying one question at a time. What is the most efficient way to do that?
[08:14:37] <robdubya> x4e just set "selectedQuestion"
[08:14:58] *** AngularUI has joined #angularjs
[08:14:58] <AngularUI> [bootstrap] chrisirhc pushed 2 new commits to master: http://git.io/MJXL2g
[08:14:58] <AngularUI> bootstrap/master 9939867 Tom France: fix(tabs): don't select tabs on destroy...
[08:14:58] <AngularUI> bootstrap/master f15bfcf Coridyn Fitzgerald-Hood: test(tabs): don't select tabs when being destroyed...
[08:14:59] *** AngularUI has left #angularjs
[08:15:00] *** HelperW has quit IRC
[08:15:06] *** AngularUI has joined #angularjs
[08:15:06] <AngularUI> [bootstrap] chrisirhc closed pull request #2763: Don't select tabs when being destroyed (master...fix-2596) http://git.io/k0zAaw
[08:15:06] *** AngularUI has left #angularjs
[08:15:12] <sevgevorkyan> or use ng-repeat and use pagination or a slider or something
[08:15:27] *** HelperW has joined #angularjs
[08:15:35] <sevgevorkyan> where every <li> being repeated is a new slide
[08:15:44] *** annlewis has joined #angularjs
[08:16:27] *** falk_netstyler has quit IRC
[08:16:51] <x4e> so I'd have to pre-load JSON? It's a huge file... I suppose there is no other way
[08:16:53] *** orbsio has quit IRC
[08:17:02] *** soee has joined #angularjs
[08:17:08] *** es- has joined #angularjs
[08:17:26] <x4e> Thank you guys!
[08:17:30] *** Embassy has joined #angularjs
[08:18:54] *** ggrzybek has joined #angularjs
[08:18:55] <robdubya> x4e http://plnkr.co/edit/IbUcEM3VGSJCnAIc2rFJ?p=preview
[08:19:26] *** matthoiland has joined #angularjs
[08:19:40] *** rockfordal has joined #angularjs
[08:19:41] *** rockford_ has joined #angularjs
[08:19:55] *** falk_netstyler has joined #angularjs
[08:20:14] *** annlewis has quit IRC
[08:20:16] *** hugorodrigues has joined #angularjs
[08:20:21] *** HelperW has quit IRC
[08:20:24] *** jstroem has quit IRC
[08:20:27] <x4e> robdubya: thank you!
[08:20:58] *** ggra245 has quit IRC
[08:21:20] *** eburcat has joined #angularjs
[08:21:25] <robdubya> sevgevorkyan yeah, you definitely want an API
[08:21:51] <_ds82> x4e: you can stream json or just split the file in several parts or something like that
[08:21:54] *** [eq]andrepm has joined #angularjs
[08:22:34] <robdubya> true, but unless you've got thousands, its no big thing
[08:22:42] *** bmcquee has quit IRC
[08:22:51] *** Jet4Fire has joined #angularjs
[08:23:01] *** mtsr has joined #angularjs
[08:23:10] <robdubya> dont put a thousand of them into the DOM at once, obviously, but a thousand in memory is trivial
[08:23:45] *** eelseth-stdout has joined #angularjs
[08:24:05] *** ckboii89 has joined #angularjs
[08:24:13] *** JimTheDev has joined #angularjs
[08:24:16] *** matthoiland has quit IRC
[08:24:28] <x4e> robdubya: how do i have them in memory without loading to the page in advance? via "streaming"? how do you stream?
[08:24:31] *** rockford_ has quit IRC
[08:24:37] *** rockfordal has quit IRC
[08:24:44] <x4e> _ds82: I dont know how to stream
[08:24:49] <robdubya> x4e in that plunker, those questions are "in memory"
[08:24:57] <robdubya> but there's only one in the view at a time
[08:25:10] <ckboii89> does anyone know if javascript has such a function to convert a image to a blob??
[08:25:26] <robdubya> x4e can you post the JSON? pretty easy to plug it in
[08:25:32] *** hugorodrigues has quit IRC
[08:25:34] *** MaxV has joined #angularjs
[08:25:41] <robdubya> ckboii89 to what end?
[08:25:50] <ckboii89> well
[08:25:57] *** bb6xt has quit IRC
[08:25:57] <sevgevorkyan> robdubya, whats a good way to go about that? is there a framework for creating APIs? REST API? Laravel? these are things that come up on searches
[08:25:59] *** MaxV has quit IRC
[08:26:02] <ckboii89> Failed to execute 'readAsDataURL' on 'FileReader': The argument is not a Blob.
[08:26:08] <x4e> robdubya: but app.js is loaded in its entirety on start, no?
[08:26:15] <ckboii89> but in my backend, i converted the image to a blob
[08:26:26] *** MaxV has joined #angularjs
[08:26:55] *** mtsr has quit IRC
[08:27:04] *** mary5030 has joined #angularjs
[08:27:10] *** mtsr has joined #angularjs
[08:27:38] <x4e> robdubya: or you are saying that I could get JSON in chunks somehow?
[08:27:51] *** bb6xt has joined #angularjs
[08:28:21] *** mstefanko has joined #angularjs
[08:28:53] *** Circlefusion has quit IRC
[08:28:53] <robdubya> sevgevorkyan yes, a REST API is what you want. they exist in pretty much all languages
[08:29:17] *** nemothekid has quit IRC
[08:29:24] <robdubya> x4e your *app* loads at once, yes, but you'd likely fetch the questions via $http (ajax)
[08:29:37] <x4e> robdubya: I dont have the JSON. I am told that someone else is working on it and that it will have ~800 objects each containing a question with some config parameters
[08:29:59] <robdubya> unless its something like a packaged mobile app, and in that case it would be even faster
[08:30:16] <Star18bit> moment fromNow() only showing seconds ago, event its like more then one hr. here how i am using fromNow()
[08:30:37] <x4e> robdubya: I see. Thank you again
[08:30:43] <Star18bit> (string) var date_time: 2014-10-01 10:54:42 , var momentDate = new moment(date_time); moment(momentDate).fromNow();
[08:31:03] *** gnrlbzik has joined #angularjs
[08:31:29] <mstefanko> any ideas on how to preload an iframe before a ui-view transition ( e.g. in resolve )
[08:31:36] *** kroogs1 has joined #angularjs
[08:31:37] *** mary5030 has quit IRC
[08:32:08] *** rockfordal has joined #angularjs
[08:32:17] *** edulix has joined #angularjs
[08:32:17] *** rockford_ has joined #angularjs
[08:32:33] <Star18bit> Ok, Got it!
[08:33:46] *** TorchDragon has joined #angularjs
[08:33:54] *** _dizzy has joined #angularjs
[08:34:04] *** Raging_Hog has quit IRC
[08:34:24] *** Evanion has joined #angularjs
[08:34:35] <robdubya> x4e http://plnkr.co/edit/rXFd7USLbpdBytodp3uv?p=preview
[08:34:48] <robdubya> ~500 questions, loaded from a json file
[08:35:23] *** gnrlbzik has quit IRC
[08:35:59] *** mtsr has quit IRC
[08:36:05] *** Skrypter has joined #angularjs
[08:36:32] <davek> This is beyond off topic but does anyone happen to have an assembled ARM Thumb file laying about?
[08:36:45] *** rockfordal has quit IRC
[08:36:51] *** kroogs1 has quit IRC
[08:37:05] *** rockford_ has quit IRC
[08:37:28] <raibutera> I want to define some global beforeEachs and afterEachs for all my specs in karma
[08:37:28] *** jacuqesdancona__ has joined #angularjs
[08:37:35] <raibutera> how is best to do so?
[08:38:39] *** justinmburrous has quit IRC
[08:38:40] <robdubya> mstefanko if there's a "loaded" event or soething on an iframe, use that
[08:38:44] <robdubya> wrap it in a proise
[08:38:45] <robdubya> *promise
[08:38:50] *** TorchDragon has quit IRC
[08:40:03] *** justinmburrous has joined #angularjs
[08:40:12] *** [eq]andrepm has quit IRC
[08:41:57] *** mdedetrich has quit IRC
[08:42:13] <sevgevorkyan> rob what language do you use to write APIs? j/w
[08:42:38] *** mdedetrich has joined #angularjs
[08:43:58] <robdubya> node
[08:44:02] <robdubya> well, javascript
[08:44:07] <robdubya> sailsjs.org
[08:44:30] *** beckyconning has joined #angularjs
[08:44:33] *** rockfordal has joined #angularjs
[08:44:36] *** rockford_ has joined #angularjs
[08:44:40] <sevgevorkyan> thx ill look into it
[08:44:43] *** pillage has joined #angularjs
[08:44:54] <robdubya> sails makes it pretty easy, at least to get an API online
[08:45:06] <robdubya> just create the model, it does the rest (more or less)
[08:45:38] *** mguillech has joined #angularjs
[08:46:26] *** wd40s has joined #angularjs
[08:46:35] *** MasterGberry has quit IRC
[08:47:29] *** MasterGberry has joined #angularjs
[08:48:17] *** tfennelly has joined #angularjs
[08:48:44] *** Jdubs has joined #angularjs
[08:48:46] *** asher^ has quit IRC
[08:49:10] *** rockford_ has quit IRC
[08:49:21] *** rockfordal has quit IRC
[08:50:03] *** mtsr has joined #angularjs
[08:50:06] *** _jpfm has joined #angularjs
[08:50:12] *** mguillech has quit IRC
[08:50:22] *** Hackwar1 has joined #angularjs
[08:50:42] *** Hackwar has quit IRC
[08:51:23] *** niklasmodess has joined #angularjs
[08:51:32] *** nfroidure has joined #angularjs
[08:51:45] *** wd40s has quit IRC
[08:52:05] *** avree has quit IRC
[08:52:27] *** jstroem has joined #angularjs
[08:53:27] *** curser has left #angularjs
[08:53:27] *** craigp has quit IRC
[08:53:53] *** juampy has joined #angularjs
[08:54:20] *** balpreet has joined #angularjs
[08:54:26] <raibutera> robdubya: requirejs, commonjs or browserify to declare beforeEach and afterEach to share across all my specs?
[08:54:40] *** asher^ has joined #angularjs
[08:54:45] *** klaut has joined #angularjs
[08:54:58] *** tarnus has quit IRC
[08:56:35] *** superstructor has quit IRC
[08:56:46] *** charuru has quit IRC
[08:56:49] *** Sawbones has joined #angularjs
[08:57:02] *** 6A4AAV5KZ has joined #angularjs
[08:57:02] *** 14WAAAAGG has joined #angularjs
[08:57:35] *** _dizzy has quit IRC
[08:57:47] <x4e> robdubya: Thank you very much again!
[08:58:14] *** Click66 has joined #angularjs
[08:58:50] *** bb6xt has quit IRC
[08:59:43] <balpreet> I have to work on Angular.js .In that , I have to draw a simple cantilever beam according to input providing by user side by side .
[08:59:44] *** rhp has quit IRC
[08:59:44] *** anivemin has joined #angularjs
[09:00:17] *** Skrypter has quit IRC
[09:00:19] *** wd40s has joined #angularjs
[09:00:23] *** tschundeee has joined #angularjs
[09:00:30] *** watchmethink has quit IRC
[09:00:40] <robdubya> raibutera none of the above?
[09:01:06] <robdubya> just include the file with the helper and call it at the top of your test files
[09:01:18] *** MaxV has quit IRC
[09:01:18] *** tangorri has joined #angularjs
[09:01:22] <raibutera> yeah just saw something to that effect via google
[09:01:43] *** ingsoc has joined #angularjs
[09:01:44] *** 14WAAAAGG has quit IRC
[09:01:48] *** snapwich has joined #angularjs
[09:01:52] *** balpreet has quit IRC
[09:01:57] *** 6A4AAV5KZ has quit IRC
[09:02:02] <raibutera> thanks robdubya
[09:02:06] *** lianimator has joined #angularjs
[09:02:19] *** jdj_dk has joined #angularjs
[09:03:03] *** NoNMaDDeN has quit IRC
[09:03:07] *** MaxV has joined #angularjs
[09:03:10] *** webus has joined #angularjs
[09:04:00] *** anivemin has quit IRC
[09:04:13] *** tof has quit IRC
[09:05:00] *** tfennelly has quit IRC
[09:05:00] *** dan2k3k4 has joined #angularjs
[09:05:11] *** smoores has joined #angularjs
[09:05:26] *** MaxV has quit IRC
[09:05:40] *** wa5ted has quit IRC
[09:05:45] *** lexek_ has joined #angularjs
[09:06:07] *** snapwich has quit IRC
[09:06:14] *** wa5ted has joined #angularjs
[09:06:41] *** Circlefusion has joined #angularjs
[09:06:42] *** wd40s has quit IRC
[09:07:27] *** balpreet has joined #angularjs
[09:08:08] *** jstroem has quit IRC
[09:08:32] *** jstroem has joined #angularjs
[09:09:02] *** JimTheDev has quit IRC
[09:09:09] *** rockfordal has joined #angularjs
[09:09:12] *** rockford_ has joined #angularjs
[09:09:14] *** balpreet has quit IRC
[09:09:30] *** rud has quit IRC
[09:09:41] *** balpreet has joined #angularjs
[09:10:06] *** justinmburrous has quit IRC
[09:10:23] *** balpreet has quit IRC
[09:10:56] *** curser has joined #angularjs
[09:11:42] *** favetelinguis has quit IRC
[09:12:21] *** favetelinguis has joined #angularjs
[09:12:44] *** benjamingr_ has joined #angularjs
[09:13:33] *** benjamingr_ is now known as benjamingr
[09:13:37] *** rockfordal has quit IRC
[09:14:18] *** rockford_ has quit IRC
[09:15:12] *** sigurding has quit IRC
[09:15:13] *** RogerWS has quit IRC
[09:15:40] *** jeffscottward has quit IRC
[09:15:41] *** annlewis has joined #angularjs
[09:15:42] *** caitp- has quit IRC
[09:16:29] *** tilgovi has joined #angularjs
[09:16:32] *** favetelinguis has quit IRC
[09:17:44] *** Shadda has quit IRC
[09:18:56] *** tfennelly has joined #angularjs
[09:20:04] *** annlewis has quit IRC
[09:20:28] *** mikhael_k33hl has quit IRC
[09:20:39] *** thomastuts has joined #angularjs
[09:20:42] *** fbenoit has joined #angularjs
[09:21:06] *** RogerWS has joined #angularjs
[09:21:27] *** rockfordal has joined #angularjs
[09:21:28] *** rockford_ has joined #angularjs
[09:21:55] *** ajk27 has quit IRC
[09:21:57] *** favetelinguis has joined #angularjs
[09:22:17] *** evilaliv3 has joined #angularjs
[09:22:33] *** ajk27 has joined #angularjs
[09:22:48] *** Sgeo has quit IRC
[09:22:59] *** rinceRepeat has quit IRC
[09:23:07] *** rinceRepeat has joined #angularjs
[09:23:08] *** Sgeo has joined #angularjs
[09:23:28] *** mchammer has joined #angularjs
[09:23:48] *** bmcquee has joined #angularjs
[09:24:09] *** favetelinguis has quit IRC
[09:24:44] *** favetelinguis has joined #angularjs
[09:25:24] *** AnthonyC has joined #angularjs
[09:25:25] *** edy has joined #angularjs
[09:26:13] *** rockfordal has quit IRC
[09:26:23] *** rockford_ has quit IRC
[09:27:53] *** bmcquee has quit IRC
[09:28:42] *** jstroem has quit IRC
[09:29:02] *** favetelinguis has quit IRC
[09:29:11] *** jstroem has joined #angularjs
[09:29:20] *** bengillies has joined #angularjs
[09:29:32] *** NoNMaDDeN has joined #angularjs
[09:30:15] *** Sawbones has quit IRC
[09:30:38] *** Climax777 has joined #angularjs
[09:30:40] *** patrick99e99 has joined #angularjs
[09:30:54] *** simmerz has joined #angularjs
[09:31:20] *** _jpfm has quit IRC
[09:31:37] *** falk_netstyler has quit IRC
[09:31:38] *** kroogs1 has joined #angularjs
[09:31:46] *** Star18bit has quit IRC
[09:31:52] *** gnrlbzik has joined #angularjs
[09:32:52] *** sheplu has joined #angularjs
[09:33:30] *** tfennelly has quit IRC
[09:34:03] *** balboah has joined #angularjs
[09:34:07] *** guilbep has joined #angularjs
[09:34:16] *** smoores has quit IRC
[09:34:56] *** patrick99e99 has quit IRC
[09:35:28] *** tfennelly has joined #angularjs
[09:35:43] *** Star18bit has joined #angularjs
[09:36:13] *** sigurding has joined #angularjs
[09:36:25] *** gnrlbzik has quit IRC
[09:36:28] *** munzmania has joined #angularjs
[09:37:20] *** kroogs1 has quit IRC
[09:37:51] *** avree has joined #angularjs
[09:38:11] *** AngularUI has joined #angularjs
[09:38:11] <AngularUI> [bootstrap] chrisirhc pushed 1 new commit to master: http://git.io/DxSzTQ
[09:38:12] <AngularUI> bootstrap/master ef09517 Chris Chua: fix(dropdown): compatibility with $location url rewriting...
[09:38:12] *** AngularUI has left #angularjs
[09:38:58] *** mszrnyi has joined #angularjs
[09:39:23] *** falk_netstyler has joined #angularjs
[09:40:06] *** MaxV has joined #angularjs
[09:40:14] *** sk87 has joined #angularjs
[09:40:18] *** the_fog has joined #angularjs
[09:40:56] *** NoNMaDDeN has quit IRC
[09:41:23] *** justinmburrous has joined #angularjs
[09:41:41] *** mszrnyi has quit IRC
[09:42:38] *** frankblizzard has joined #angularjs
[09:43:04] *** canthugeverycat has joined #angularjs
[09:43:04] *** NoNMaDDeN has joined #angularjs
[09:43:13] <canthugeverycat> hey guys
[09:43:33] <canthugeverycat> Could you help me find a good resource for using states with different view ?
[09:43:47] *** AngularUI has joined #angularjs
[09:43:47] <AngularUI> [bootstrap] chrisirhc pushed 1 new commit to master: http://git.io/PZ2RIQ
[09:43:47] <AngularUI> bootstrap/master 4fc68b8 Richard Littauer: docs(README): Removed unnecessary string replacements...
[09:43:47] *** AngularUI has left #angularjs
[09:43:49] <canthugeverycat> I'm not sure I'm grasping the concept right, and I can't seem to find anything on searches
[09:44:34] *** tschundeee has quit IRC
[09:44:43] *** tschundeee has joined #angularjs
[09:45:24] *** avree has quit IRC
[09:45:29] *** HelperW has joined #angularjs
[09:45:36] *** rockfordal has joined #angularjs
[09:45:38] *** rockford_ has joined #angularjs
[09:45:39] *** justinmburrous has quit IRC
[09:45:49] *** mszrnyi has joined #angularjs
[09:46:17] *** mguillech has joined #angularjs
[09:46:22] <canthugeverycat> Anyone ?
[09:46:52] *** swapneshs has quit IRC
[09:47:05] *** Embassy has quit IRC
[09:47:08] *** Raging_Hog has joined #angularjs
[09:48:05] *** simmerz has quit IRC
[09:48:08] *** bengilli_ has joined #angularjs
[09:48:10] *** boneskull has quit IRC
[09:48:38] *** gnrlbzik has joined #angularjs
[09:48:47] *** boneskull has joined #angularjs
[09:49:38] *** gnrlbzik has quit IRC
[09:49:55] *** gnrlbzik has joined #angularjs
[09:50:01] *** rockfordal has quit IRC
[09:50:31] *** VeeWee has joined #angularjs
[09:50:33] *** rockford_ has quit IRC
[09:50:52] *** mguillech has quit IRC
[09:50:57] *** bengillies has quit IRC
[09:50:58] *** JesuZ has quit IRC
[09:51:00] *** xdrone has joined #angularjs
[09:51:20] *** favetelinguis has joined #angularjs
[09:51:59] *** MasterGberry has quit IRC
[09:52:07] *** MasterGberry has joined #angularjs
[09:52:39] *** dan2k3k4 has quit IRC
[09:53:42] *** anivemin has joined #angularjs
[09:53:47] *** bmcquee has joined #angularjs
[09:54:56] *** jstroem has quit IRC
[09:55:12] *** mityaz has joined #angularjs
[09:55:20] *** jstroem has joined #angularjs
[09:56:02] <canthugeverycat> Hey guys, could you just take a look at this piece of code and tell me if i wrote it correctly ?
[09:56:03] <canthugeverycat> http://pastebin.com/SQsX88P1
[09:56:20] <canthugeverycat> Because I can't seem to access the views under the abstract state
[09:56:45] <robdubya> canthugeverycat no - using views ignores the templateUrl
[09:56:58] *** quantax- has quit IRC
[09:57:04] *** milka has joined #angularjs
[09:57:39] <canthugeverycat> oh ? could you tell me the right way to do it then ?
[09:57:50] *** rockfordal has joined #angularjs
[09:57:51] *** rockford_ has joined #angularjs
[09:58:03] <canthugeverycat> complex.html should be the base state and then i should load the complex1 or complex2 into complex.html
[09:58:06] <robdubya> depends what you're trying to accomplish
[09:58:15] *** bmcquee has quit IRC
[09:58:38] *** anivemin has quit IRC
[09:58:58] *** Caroga_afk is now known as Caroga
[09:59:17] *** artivilla99__ has quit IRC
[09:59:48] *** frkout_ has joined #angularjs
[09:59:52] *** artivilla99__ has joined #angularjs
[10:00:06] <canthugeverycat> @robdubya What I'm trying to do is have 2 state templates, one with a side menu and one without. The one with a side menu template should have its' "subviews" loaded into itself
[10:00:08] *** greg5green has quit IRC
[10:01:32] <robdubya> canthugeverycat ok
[10:01:36] *** stephen has quit IRC
[10:01:41] *** diegoaguilar has quit IRC
[10:01:43] <robdubya> so the first thing is, nested views (parent / child) are denoted by naming
[10:01:44] <robdubya> so
[10:01:51] <robdubya> .state('foo.bar'
[10:01:56] <robdubya> would be a child of the foo state
[10:02:37] *** rockford_ has quit IRC
[10:02:38] *** rockfordal has quit IRC
[10:02:48] <robdubya> http://plnkr.co/edit/LZTqdd simple example of nested states
[10:02:59] *** quantax- has joined #angularjs
[10:03:08] *** frkout has quit IRC
[10:03:14] <robdubya> second - if you're loading bar.html into foo.html, foo.html must have a ui-view in which to load
[10:03:45] <robdubya> in that demo -> layout.html -> loads into the ui-view on index.html, and then child states load into layout.html's ui-view
[10:04:03] *** Star18bit has quit IRC
[10:04:09] *** sau has joined #angularjs
[10:04:16] <canthugeverycat> yes, that's exactly what I'm trying to accomplish
[10:04:19] <canthugeverycat> thank you!
[10:04:24] <thomastuts> has anyone used browserify in conjunction with angular? maybe i'm just stupid but i can't seem to see the big benefit of doing so
[10:04:27] *** artivilla99__ has quit IRC
[10:04:33] <robdubya> *named* states ( using views: {
[10:04:34] *** es- has quit IRC
[10:05:00] <sau> hello all
[10:05:05] <robdubya> are similar, except that you define templateUrl / controller / etc on each view : {
[10:05:08] <sau> i am new here
[10:05:09] <robdubya> vs on teh state
[10:05:15] <sau> can you anyone guide me
[10:05:24] <sau> ?
[10:05:35] *** juampy has quit IRC
[10:06:43] *** Mxyzpltk has joined #angularjs
[10:06:49] *** HelperW has quit IRC
[10:06:54] <canthugeverycat> I'm listening
[10:06:55] *** HelperW has joined #angularjs
[10:07:43] <sau> can anyone tell me advantages of angular.js
[10:08:07] <sau> i had used my past only bootstrap
[10:08:09] *** matthoiland has joined #angularjs
[10:08:19] *** tilgovi has quit IRC
[10:08:27] *** _pid has joined #angularjs
[10:08:31] *** hugorodrigues has joined #angularjs
[10:08:41] <robdubya> canthugeverycat that's it, basically
[10:08:55] *** gnrlbzik has quit IRC
[10:09:01] <robdubya> with a child state, it loads into its parent's named ui-views
[10:09:19] <robdubya> soo your foo.html would have ui-view="sidebar"
[10:09:26] *** CodeFriar has quit IRC
[10:09:41] <robdubya> and then the foo.bar state would be views: { sidebar: { templateUrl: 'sidebar.html' }
[10:09:53] *** rockfordal has joined #angularjs
[10:09:56] *** rockford_ has joined #angularjs
[10:10:29] *** msarta has quit IRC
[10:10:39] *** sau has quit IRC
[10:10:53] *** Mxyzpltk has quit IRC
[10:10:53] *** doug_ has quit IRC
[10:10:56] <canthugeverycat> Alright, I'll play around with it, thanks for helping mate ! ):
[10:10:59] <canthugeverycat> :)*
[10:11:00] *** mszrnyi has quit IRC
[10:12:28] *** matthoiland has quit IRC
[10:13:17] *** hugorodrigues has quit IRC
[10:13:31] *** MasterGberry has quit IRC
[10:14:17] *** rockfordal has quit IRC
[10:14:43] *** rockford_ has quit IRC
[10:15:31] *** greg5green has joined #angularjs
[10:15:32] *** quantax- has quit IRC
[10:15:36] *** sigurding has quit IRC
[10:15:36] *** annlewis has joined #angularjs
[10:15:45] *** wa5ted has quit IRC
[10:16:28] *** wa5ted has joined #angularjs
[10:16:49] *** tof has joined #angularjs
[10:17:00] *** MasterGberry has joined #angularjs
[10:18:36] *** bengillies has joined #angularjs
[10:20:24] *** annlewis has quit IRC
[10:20:27] *** Foxandxss has joined #angularjs
[10:20:37] *** mszrnyi has joined #angularjs
[10:20:40] *** simmerz has joined #angularjs
[10:20:59] <tangorri> 1.3 is still rc, can I use it for production ?
[10:21:12] *** FalsePozitive has joined #angularjs
[10:21:13] *** bengilli_ has quit IRC
[10:21:29] *** HelperW has quit IRC
[10:21:35] <raibutera> tangorri - thats a very subjective question
[10:21:55] *** HelperW has joined #angularjs
[10:21:55] <raibutera> tangorri - i may construct a quick flowchart to illustrate my answer to it
[10:22:04] *** _pid has quit IRC
[10:22:06] <tangorri> rc means it's stable but some break can be done right ?
[10:22:29] <tangorri> :)
[10:22:34] <robdubya> you funeral
[10:22:37] <robdubya> *your
[10:22:43] *** sigurding has joined #angularjs
[10:22:48] *** dan2k3k4 has joined #angularjs
[10:22:50] <tangorri> interesting
[10:23:08] *** wa5ted_ has joined #angularjs
[10:24:46] *** wa5ted has quit IRC
[10:24:57] *** Shai-Tan has quit IRC
[10:25:26] <mszrnyi> Is a good practice to side load model data in one request. Lets say I'm sending a PUT request to an API to update some settings and this settings creates in a background a new option for the parent scope and I would like to update this parent without sending a new request. IN ember.js it's called side loading but it works there because they use proper model objects. I'm not sure what the angular way is here. Reload the parent mod
[10:26:02] *** wa5ted has joined #angularjs
[10:26:48] *** HelperW has quit IRC
[10:27:14] *** munzmania has quit IRC
[10:27:16] *** AnthonyC has quit IRC
[10:27:46] *** wa5ted__ has joined #angularjs
[10:28:13] *** wa5ted_ has quit IRC
[10:28:26] *** Guest63676 has quit IRC
[10:29:44] *** diegoaguilar has joined #angularjs
[10:30:38] <raibutera> tangorri: as promised, here is a flowchart I drew up quickly to help you with your decision http://i.imgur.com/eaFeIoN.jpg
[10:30:42] *** wa5ted has quit IRC
[10:30:48] *** JeffBonds has quit IRC
[10:30:51] *** glontu has joined #angularjs
[10:30:55] *** wa5ted__ is now known as wa5ted
[10:31:00] <raibutera> i must warn you... i've not slept in over 24 hours so it may be a little hard to read
[10:31:08] *** AciD`` has joined #angularjs
[10:31:36] *** kroogs1 has joined #angularjs
[10:31:42] <glontu> hi. i am using the ui-router lib for angular and i want to make a parent view that contains a map and a sidebar. the parent ( abstract ) view should show the map and allow the children routes to populate and control the sidebar
[10:31:46] *** msarta has joined #angularjs
[10:32:00] <glontu> but how do i declare such a thing ? must i put views: {} on the parent abstract state or what ?
[10:32:23] *** HelperW has joined #angularjs
[10:32:29] <raibutera> giontu: i would consider a different pattern
[10:32:31] <raibutera> of
[10:32:40] *** edzez has quit IRC
[10:32:43] <raibutera> a view with the sidebar
[10:32:49] <raibutera> and a nested view inside
[10:32:50] <raibutera> of the map
[10:32:57] <raibutera> and children routes
[10:33:45] *** edzez has joined #angularjs
[10:33:48] <raibutera> intuition suggests that the map would be the "main" view... but it actually makes a lot more sense to have the sidebar etc be the main view
[10:34:20] <glontu> raibutera, i'd like to avoid having the map beeing torn down and rebuilt when the state changes
[10:34:27] <raibutera> you can do that
[10:34:30] <raibutera> erm
[10:34:51] <ingsoc> glontu: ui-router-extras
[10:34:55] <raibutera> https://github.com/angular-ui/ui-router/wiki/Frequently-Asked-Questions#how-to-retain-a-states-state-scope-and-scroll-position
[10:35:12] <ingsoc> http://christopherthielen.github.io/ui-router-extras/#/home
[10:35:13] <raibutera> giontu as ingsoc helpfully says
[10:35:21] <ingsoc> sticky states
[10:35:38] <ingsoc> alternatively use ng-show/hide
[10:35:47] <robdubya> ^ that would be a hell of a lot simpler
[10:35:50] <raibutera> or ng-if
[10:35:59] <ingsoc> ng-if will kill the satte
[10:36:06] <ingsoc> state*
[10:36:16] <raibutera> depends what he means by kill the state
[10:36:27] <raibutera> it wouldnt kill the controller
[10:36:28] <ingsoc> ok it will kill the dom and controller scope
[10:37:00] <raibutera> unless we're (probably correctly) assuming that the ng-if would be applied on the view itself
[10:37:09] <raibutera> or an element containing the view
[10:37:16] *** kroogs1 has quit IRC
[10:37:38] <ingsoc> well, sticky states are working for me, I was using ng-show/hide b ut this needs more work if you want to have history working at this macro level
[10:37:59] *** AWAW has joined #angularjs
[10:38:04] <glontu> ok, thanks guys, i will look into the sticky states
[10:38:07] *** JoshGlzBrk has joined #angularjs
[10:38:18] *** djam90 has joined #angularjs
[10:38:24] *** anivemin has joined #angularjs
[10:38:37] <ingsoc> glontu: you will need to use the ui-router-extras module for that
[10:38:37] <tangorri> thanks for the nice chartflow raibutera !
[10:38:43] <raibutera> no problem tangorri
[10:38:50] <tangorri> :)
[10:38:53] <ingsoc> and reference it in your module/app
[10:38:56] <raibutera> did it help with your decision
[10:39:00] <tangorri> yes
[10:39:01] <djam90> Guys, something weird is happening in my Angular application. I have code in my controller that keeps running in a loop. Like a console.log() in the top of my controller and it just keeps logging over and over again, even though it is not inside any form of each loop
[10:39:35] *** DoubleAW has quit IRC
[10:39:48] <raibutera> djam90 sounds like you're changing routes or something
[10:40:21] <raibutera> djam90 that kinda thing happens to me when i fuck up... for example... some sort of $watch on $stateChangeSuccess
[10:40:30] <raibutera> that sees if a user is logged in
[10:40:38] <djam90> raibutera, I am not using any form of routing (though I am using this pagination service found here http://www.michaelbromley.co.uk/blog/108/paginate-almost-anything-in-angularjs )
[10:40:39] <raibutera> and redirects them if not to the login page
[10:41:03] <raibutera> and the login page thinks the user's logged in so it redirects back to the home page
[10:41:06] *** Grokling_ has joined #angularjs
[10:41:17] <djam90> I am not using any kind of login auth system
[10:41:25] <masscrx> hi
[10:41:25] *** munzmania has joined #angularjs
[10:41:44] <ingsoc> djam90: when did this start occurring
[10:41:53] <ingsoc> can't you trace your steps back
[10:42:03] <ingsoc> aren't you using source control ?
[10:42:22] <raibutera> djarm90 can you post a quick jsfiddle
[10:42:52] <masscrx> I have service app.factory('CustomerService', ['$http', '$q', function($http, $q) { return { getAll: function() { return $http.get() } }, how to call CustomerService.getAll() in ui.router 'resolve' (load it before controller) ?
[10:42:53] <ingsoc> the key to not getting in a missing is always have console viewable and take baby steps as you develop
[10:43:04] <ingsoc> s/missing/mess
[10:43:07] <djam90> ingsoc I have this code: http://pastebin.com/ZV9x3Xah - when I load /usedcarsearch it runs fine, but when I run /usedcarsearch/aircon it starts looping
[10:43:38] *** es- has joined #angularjs
[10:43:43] *** FIFOd[a] has joined #angularjs
[10:44:30] *** e0ipso|away is now known as e0ipso
[10:45:04] *** skammer4 has joined #angularjs
[10:45:05] *** antsanto has joined #angularjs
[10:45:17] <ingsoc> djam90: need more context really preferably a live example of the basics
[10:45:38] <ingsoc> (codepen/plunker/jsfiddle)
[10:46:21] *** jstroem has quit IRC
[10:46:24] *** mszrnyi has quit IRC
[10:46:25] *** Caroga is now known as Caroga_afk
[10:46:31] *** jstroem has joined #angularjs
[10:46:46] <djam90> ingsoc I have the code live but not in a plunker :/
[10:46:56] <djam90> too much ajax and stuff to port it over unfortunately
[10:46:58] *** marr has joined #angularjs
[10:47:01] *** favetelinguis has quit IRC
[10:47:19] *** duellsy has quit IRC
[10:47:20] <ingsoc> djam90: but you must know when it started occurring ?
[10:47:22] *** MasterGberry has quit IRC
[10:47:26] <ingsoc> or have you not been looking at console :)
[10:47:30] *** favetelinguis has joined #angularjs
[10:47:34] <ingsoc> while developing
[10:47:45] <djam90> ingsoc I could maybe guess it occured when I added pagination
[10:48:06] <djam90> Confirmed
[10:48:09] <ingsoc> djam90: are you using git ?
[10:48:17] <djam90> the pagination module has broken it
[10:48:17] *** MasterGberry has joined #angularjs
[10:49:22] *** jstroem has quit IRC
[10:49:27] *** fixl has joined #angularjs
[10:49:45] <ingsoc> you basically need to backtrack, if you are using source control i am assuming you could branch your code then revert back to before you added the pagination then work through it without screwing with your live code, then identify the problem then go back to your live version
[10:49:46] *** tykayn has joined #angularjs
[10:49:50] *** wd40s has joined #angularjs
[10:49:51] *** jstroem has joined #angularjs
[10:49:56] *** skammer4 has quit IRC
[10:49:59] <ingsoc> (I am no git expert so you would have to ask on #git)
[10:50:05] *** iSUSE has joined #angularjs
[10:50:08] <antsanto> When a scope property changes, who does the two way binding in angular?
[10:50:37] *** ckboii89 has quit IRC
[10:50:40] *** mange has quit IRC
[10:50:54] *** krastavac has joined #angularjs
[10:51:08] <djam90> ingsoc unfortunately we aren't using Git at the moment
[10:51:24] <djam90> But the issue has arisen from adding https://github.com/michaelbromley/angularUtils/blob/master/src/directives/pagination/dirPagination.js
[10:51:37] <djam90> Sorry, this pagination .. http://www.michaelbromley.co.uk/blog/108/paginate-almost-anything-in-angularjs
[10:51:38] <krastavac> what does controller function return in angular?
[10:51:48] <ingsoc> djam90: top tip. once you resolve this. you NEED source control, it is impossible to work safely without it
[10:52:29] <krastavac> angular.module('demo', [
[10:52:31] <krastavac> ]).controller('MainCtrl', function($scope)
[10:52:49] <ingsoc> also, never make large changes, and ALWAYS have chrome dev tools open when you refresh page and always check console whenever you change anything
[10:53:06] *** Caroga_afk is now known as Caroga
[10:53:07] *** justinmburrous has joined #angularjs
[10:53:15] <robdubya> krastavac it would return the module
[10:53:15] *** alpha080 has quit IRC
[10:53:18] <robdubya> so you can chain
[10:53:41] <krastavac> ok
[10:53:58] *** klaut has quit IRC
[10:54:01] *** greengriminal has joined #angularjs
[10:54:07] *** IJNX has quit IRC
[10:54:36] *** bmcquee has joined #angularjs
[10:54:46] *** asher^ has quit IRC
[10:54:56] *** wd40s has quit IRC
[10:55:09] <ingsoc> djam90: surely you could create a separate little project to test out the pagination directive and see if you can get it working in isolation ?
[10:55:29] <ingsoc> djam90: preferably as a plunker or codepen so other can help if you are still having problems ?
[10:56:07] *** zeroone_ has joined #angularjs
[10:56:13] <djam90> yeah I will take a look at that. Not sure why the pagination would cause this odd behaviour :/
[10:56:58] *** zeroone_ has quit IRC
[10:57:03] <ingsoc> djam90: well without source control and being able to go back in time to your code before it stopped working it is difficult to offer any other suggestions than plunker
[10:57:11] *** rockfordal has joined #angularjs
[10:57:12] *** rockford_ has joined #angularjs
[10:57:15] <jsheely> djam90: To reiterate what ingsoc is saying. Your problem is probably your code. So break it down in a simplier format in Plunker. 90% you're figure out the problem yourself by looking at the issue in isolation
[10:58:07] <djam90> Is there a way in plunker to emulate my ajax calls
[10:58:14] <djam90> all my data comes in from server
[10:58:16] <djam90> hard to replicate
[10:58:21] *** e0ipso is now known as e0ipso|away
[10:58:23] <jsheely> Yes
[10:58:27] <jsheely> But just fake it
[10:58:29] *** rockfordal has quit IRC
[10:58:30] <robdubya> and for goodness sakes, use git.
[10:58:35] *** rockford_ has quit IRC
[10:59:09] <djam90> robdubya there are various reasons we aren't using it. We plan to
[10:59:11] *** rockfordal has joined #angularjs
[10:59:14] *** rockford_ has joined #angularjs
[10:59:15] <jsheely> Your goal is to fix paging right? not to rest ajax calls
[10:59:16] *** jerev_away has quit IRC
[10:59:16] *** jerev_away has joined #angularjs
[10:59:16] *** jerev_away has joined #angularjs
[10:59:20] <jsheely> test*
[10:59:26] *** falk_netstyler has quit IRC
[10:59:26] <djam90> pagination works
[10:59:29] <robdubya> who cares about we? you can use it own your own machine and at least save your own sanity
[10:59:30] *** jerev_away is now known as jerev
[10:59:33] *** bmcquee has quit IRC
[10:59:36] <ingsoc> djam90: bedtime watching...
[10:59:36] <ingsoc> https://www.youtube.com/watch?v=ZDR433b0HJY
[10:59:36] <jsheely> Sorry I came in late. No idea what your issue is ><
[10:59:47] <ingsoc> superb talk on git
[11:00:15] <djam90> jsheely, my page works fine when I visit /usedcarsearch but when I visit /usedcarsearch/something,, the code in my controller loops infinitely
[11:00:20] *** josh-k has joined #angularjs
[11:00:29] <djam90> I am using http://www.michaelbromley.co.uk/blog/108/paginate-almost-anything-in-angularjs which is when it started to break
[11:00:34] *** LoveAndHappiness has joined #angularjs
[11:00:58] <djam90> I have one version of the page with pagination, and usedcarsearch/air-con works, and the exact replica of the page with pagination it infinite loops
[11:01:01] *** JesuZ has joined #angularjs
[11:01:14] <djam90> I have one version of the page WITHOUT pagination* and another with
[11:01:18] <jsheely> Sounds like two things are fighting over the routes imo
[11:01:19] <djam90> the one with is the one that breaks
[11:01:23] <djam90> I am not using any routing
[11:01:27] <jsheely> But tha'ts just off the cuff
[11:01:29] <djam90> no auth, no login, no routing
[11:01:32] <raibutera> you are using routing
[11:01:33] <ingsoc> guessing here but are you triggerring multiple $http in a loop ?, check chrome dev tools
[11:01:35] <raibutera> you just dont know it
[11:01:43] <ingsoc> network tab
[11:01:45] <raibutera> also djam90 use version conotrol rofl
[11:01:48] <raibutera> *control
[11:02:10] <djam90> raibutera version control is irrelevant in this instance as I have only added ONE thing to make it break
[11:02:12] <ingsoc> then XHR, and refresh page
[11:02:54] <ingsoc> djam90: well if this componenet is not in tertwined in your app (as you just added it) then it shoul dbe easy to figure out where it satarted happening
[11:02:59] *** snapwich has joined #angularjs
[11:03:11] <jsheely> I think everyones point is.. source control is never irrelevent >< But yes, you added something and not it's busted. But you know why it's busted. You just don't know what it's doing to make it become busted.
[11:03:17] <djam90> it is like the page keeps reloading, the javascript files keep re-loading infinitely
[11:03:29] <jsheely> now*
[11:03:30] <raibutera> like we've said so many times
[11:03:34] <raibutera> jsfiddle
[11:03:38] <raibutera> or we cant really help
[11:03:54] <raibutera> either jsfiddle or put it up on github or something
[11:04:28] <jsheely> But speculation is so much fun, har har har
[11:04:33] <ingsoc> djam90: I am sensing you just can't be bothered to put the work in to create a fiddle and want us to mind read
[11:04:36] <ingsoc> :P
[11:05:13] <raibutera> or he's probably really defensive over his code... i was not too long ago
[11:05:21] *** jimmyy has joined #angularjs
[11:05:29] <djam90> ingsoc I am looking at plunking it now, it's just difficult, it is an entirely completed page with like 16 filters on an ng-repeat using multiple services, directives and like 10 different http calls that certain bits rely on. Its not just a crud form or something
[11:05:37] *** seanmerron has joined #angularjs
[11:05:46] <jsheely> djam
[11:05:51] <ingsoc> putting you code up on here would probably be the best thing you can do as you have the eyes of the channel to advise on best practices
[11:05:52] <jsheely> All irrelevant.
[11:06:05] *** AlSquire has joined #angularjs
[11:06:06] <jsheely> Isolation is the key to this game
[11:06:15] <raibutera> yup
[11:06:18] <ingsoc> djam90: i didn;t say build your app on plunker
[11:06:30] <ingsoc> i meant get an example using that pagination component working
[11:06:33] <jsheely> create something that is bare bones that mimics the most basic example
[11:06:39] <raibutera> ^_______
[11:06:42] <ingsoc> after that , there are ways to fake $http
[11:07:21] <djam90> jsheely, the live page is here: http://goo.gl/ihPgmz adding /aircon on the end breaks it. Here http://plnkr.co/edit/Wtkv71LIqUR4OhzhgpqL?p=preview is a working demo of the pagination that the creator made
[11:07:23] *** snapwich has quit IRC
[11:08:04] <glontu> i have a map directive and a autoresize directive that sets the height of an element when viewport height changes. how can i make the resize directive somehow notify the map directive to invalidate it's size after the resize does it's job ?
[11:08:08] *** mszrnyi has joined #angularjs
[11:08:44] *** bmcquee has joined #angularjs
[11:08:58] <ingsoc> glontu: are you using leaflet ?
[11:09:09] <glontu> ingsoc, yes
[11:09:42] <ingsoc> map.invalidateSize()
[11:09:55] <raibutera> LOL
[11:09:57] <ingsoc> is the method you want to force leaflet to redraw map
[11:10:04] *** mszrnyi has quit IRC
[11:10:11] *** gnrlbzik has joined #angularjs
[11:10:15] <glontu> ingsoc, yes, but inside of this directive i need to know when to call this function. i'd like to call it after the other directive ( the autoresize ) does it's job
[11:10:35] *** yocapybara has joined #angularjs
[11:10:35] *** favetelinguis has quit IRC
[11:10:45] <djam90> ingsoc, how would I test my code in plunker that uses the URL segments
[11:10:50] *** munzmania has quit IRC
[11:10:55] *** Arbacuz has joined #angularjs
[11:11:06] *** munzmania has joined #angularjs
[11:11:06] *** favetelinguis has joined #angularjs
[11:12:04] *** mennea has quit IRC
[11:12:45] <ingsoc> glontu: assuming you didn't write the map directive and there isn't a a refresh or whatever mechanism that watches a scope variable then either add the feature to the directive or just don;t use the map directive and create a watch on a scope variable that does it manually using the method i stated
[11:12:49] *** caitp- has joined #angularjs
[11:13:01] *** bmcquee has quit IRC
[11:13:34] <ingsoc> glontu: not sure what you are doing but I decided to not use the leaflet map directives as i found them not flexible enough for my use case
[11:14:23] *** gnrlbzik has quit IRC
[11:14:24] <djam90> http://plnkr.co/edit/Wtkv71LIqUR4OhzhgpqL?p=preview This is a plunker of the pagination in action and when I add a console.log() this page does not seem to be infinite looping, so it seems it is just mine that does it
[11:14:58] *** mennea has joined #angularjs
[11:15:11] *** chanced_ has quit IRC
[11:15:15] *** pillage has quit IRC
[11:15:17] *** favetelinguis has quit IRC
[11:15:33] <raibutera> MRW when I saw the size of djam90's usedCarCtrl http://i.imgur.com/tdigO0k.gif
[11:15:38] *** annlewis has joined #angularjs
[11:15:51] *** rcardoso has joined #angularjs
[11:15:52] *** munzmania has quit IRC
[11:15:53] *** AngularUI has joined #angularjs
[11:15:53] <AngularUI> [ng-grid] PaulL1 opened pull request #1657: Enhancement(rowEdit): allow suppression of timers, fix getRowsDirty (master...rowEdit_extensions) http://git.io/Kqx8VA
[11:15:53] *** AngularUI has left #angularjs
[11:16:10] <djam90> I am open to any feedback about the code, as it is my first(ish) proper Angular app
[11:16:18] <raibutera> ok
[11:16:31] <raibutera> as someone who is also doing his first big app
[11:16:33] <jsheely> djam90 So I looked at your live site
[11:16:37] <jsheely> your angular seems fine
[11:16:39] <jsheely> I'm curious
[11:16:45] <raibutera> some advice: keep things really simple and dont overload the controller
[11:17:01] *** jstroem has quit IRC
[11:17:14] <jsheely> Do you by chance have a reference to a javascript file inside your template?
[11:17:15] <ingsoc> djam90: thats the example from the pagination website ?
[11:17:26] *** jstroem has joined #angularjs
[11:17:41] *** caitp- has quit IRC
[11:17:44] *** kornel has joined #angularjs
[11:17:57] <kornel> Hi
[11:17:59] <djam90> ingsoc yes it is. It paginates some data, didn't know what else would need adding to test that pagination doesn't cause the page reload
[11:18:11] <ingsoc> it is pointless to show us that, it is too complex an example
[11:18:19] <ingsoc> its hundreds of lines long
[11:18:23] <ingsoc> with irrellevant info
[11:18:39] *** superstructor has joined #angularjs
[11:18:53] <ingsoc> just have an array of items do the dir-repeat over it and show it in a list
[11:19:00] <ingsoc> omg
[11:19:01] <ingsoc> lol
[11:19:15] <ingsoc> then we can tackle $http and you show us what you are doing
[11:19:49] <djam90> jsheely, no, the template file does not reference any JS files
[11:20:01] *** annlewis has quit IRC
[11:20:05] <jsheely> What is in the http://www.sandicliffe.co.uk/usedcarsearch/public/templates/dirPagination.tpl.html
[11:20:10] <kornel> How can i get $event.target in directive ng-click ? In directive_page.html i have <span ng-click="show(child.id, $event)">show child</span> and in directive show() function i cant access to $event.tareget , $event is undefined -> scope.showGroup = function(group_id, $event) { .... }
[11:20:12] <ingsoc> guys i am right in thinking it is up to the requester of information to provide reasonable info tot he people willing to help
[11:20:12] *** Jdubs has quit IRC
[11:20:12] *** rchavik has joined #angularjs
[11:20:34] <djam90> http://pastebin.com/4qT1rL3h
[11:20:47] *** Jdubs has joined #angularjs
[11:21:14] *** munzmania has joined #angularjs
[11:21:33] <ingsoc> this is a pastebin
[11:21:34] <raibutera> djam90: sorry but you gotta do more htan that
[11:21:35] <ingsoc> :/
[11:21:40] <ingsoc> i give up
[11:21:45] <jsheely> The fact that it just keeps loading your javascript files over and over again seems like some other kind of issue
[11:21:46] <raibutera> i gave up a while back
[11:21:48] *** antsanto has quit IRC
[11:22:07] <djam90> ingsoc I pasted that file because jsheely asked what is in it
[11:22:09] <raibutera> if you want help, come back with a massively simplified jsfiddle of your problem
[11:22:22] *** jstroem has quit IRC
[11:22:26] *** falk_netstyler has joined #angularjs
[11:22:29] <raibutera> (not the working example provided by the guy who wrote that directive)
[11:22:34] <mstefanko> robdubya cool idea! thanks. i was stuck with too specific search terms
[11:22:35] *** jstroem has joined #angularjs
[11:22:50] <djam90> raibutera, I just didn't see the point in re-writing it when that example does the same thing?
[11:22:58] <raibutera> but it doesnt
[11:23:00] <raibutera> because it works
[11:23:04] *** jstroem has quit IRC
[11:23:04] *** justinmburrous has quit IRC
[11:23:23] *** Grokling_ has quit IRC
[11:23:36] <djam90> he said to just dir-repeat a list of data, that working example does that?
[11:23:37] *** sigurding has quit IRC
[11:23:55] *** arthas has joined #angularjs
[11:23:57] <raibutera> and it works
[11:24:01] *** pillage has joined #angularjs
[11:24:01] *** jstroem has joined #angularjs
[11:24:01] <raibutera> but your implementation doesnt
[11:24:11] <raibutera> so you have to present a simplified version of your implementation
[11:24:12] *** motionman has quit IRC
[11:24:16] *** kornel has quit IRC
[11:24:18] <raibutera> in order for us to see whats not working
[11:24:25] <jsheely> djam90 Where are you using the URL
[11:24:37] <jsheely> you have the console.log() of the fullpath
[11:24:43] <djam90> which is why I asked how I can use my code that parses the URL in plunker because the plunker URL is set in stone
[11:24:46] <jsheely> What in your code (everywhere) are oyu using it
[11:25:02] <raibutera> wait a ticket
[11:25:24] *** Jdubs has quit IRC
[11:25:40] <djam90> jsheely, My code uses it at the top of my UsedCarCtrl to check if s2 is undefined, and sets $scope.fullTextSearch
[11:25:46] *** Arbacuz has quit IRC
[11:25:53] *** Left_Turn has joined #angularjs
[11:26:11] *** okdamn has joined #angularjs
[11:26:16] <okdamn> hey oh!
[11:26:25] <okdamn> guys please i am in big trouble with ui-router http://stackoverflow.com/questions/26138140/angularjs-ui-router-location-or-state
[11:26:27] <okdamn> :(((
[11:26:33] <raibutera> boys
[11:26:43] *** balboah has quit IRC
[11:27:06] *** balboah has joined #angularjs
[11:27:34] <raibutera> i think im onto something here
[11:27:36] <raibutera> jsheely
[11:27:41] <raibutera> as a result of what you asked
[11:27:55] <raibutera> i noticed earlier ytou have a file called aircon?
[11:27:58] <robdubya> djam90 you'd better not be using $scope.fullTextSearch as a string
[11:28:00] <raibutera> inside usedcars?
[11:28:09] <raibutera> thats question 1
[11:28:11] <raibutera> and 2
[11:28:20] <raibutera> have you got html5 mode enabled or not?
[11:28:23] *** Katalyst has joined #angularjs
[11:28:31] <okdamn> someone who wants to help this guy here http://stackoverflow.com/questions/26138094/angularjs-ui-router-state-params-not-working :D
[11:28:34] *** iamcyberbird has quit IRC
[11:28:36] <okdamn> damn so big trouble
[11:28:38] *** sk87 has quit IRC
[11:28:52] <robdubya> djam90 *especially* if you're watching it
[11:29:09] <raibutera> okdamn
[11:29:15] <okdamn> raibutera: yeah!
[11:29:23] <Katalyst> hey everyone, just a quick question... is ui-bootstrap supported with all versions of angularjs?
[11:29:41] <djam90> raibutera what do you mean by html5 mode enabled? I haven't changed anything relating to html5... I just use the second URL section as a string to then set $scope.fullTextSearch so it filters the data based on what is in the URL
[11:29:45] <jsheely> I actually don't see where he's doing anything with the url. It breaks no matter what you type in
[11:29:53] <jsheely> I tried /usedsearchcars/wtf and it blows up
[11:29:59] <raibutera> url: '/asd/?idContact'
[11:30:01] <djam90> I am not *watching* the URL I just check the URL at the start of my controller code and set $scope.fullTextSearch
[11:30:02] *** iamcyberbird has joined #angularjs
[11:30:17] *** jstroem has quit IRC
[11:30:18] <fizbani> Katalyst: Really ... Right on the front page of ui-bootstrap " AngularJS (requires AngularJS 1.2.x, tested with 1.2.16)"
[11:30:31] <djam90> jsheely, this code is what uses the URL:
[11:30:31] <djam90> http://pastebin.com/ZV9x3Xah
[11:30:31] *** evil-twin has joined #angularjs
[11:30:37] *** cotko has joined #angularjs
[11:30:59] <robdubya> djam90 - primitives on scope are a NO
[11:31:01] <robdubya> you know this
[11:31:02] *** Hounddog has joined #angularjs
[11:31:03] <jsheely> Trying to hunt it down
[11:31:13] <robdubya> and i wouldn't be at all surprised if its the root cause
[11:31:17] <jsheely> The loop is simply that all the .js files keep getting downloaded
[11:31:18] <Katalyst> fizbani: thanks... im blind! but that kinda sucks cause its not supported in 1.3.0 i guess
[11:31:25] <jsheely> So you're not being redirected
[11:31:29] <robdubya> because you've got child scopes updating shit all over the place - and they'll be updating disconnected values
[11:31:37] <jsheely> It's almost like the app.js is inside of a ng-repeat
[11:31:38] *** kroogs1 has joined #angularjs
[11:31:44] <raibutera> exactly
[11:31:55] <jsheely> so it gets the app.js then it downloads all the modules again
[11:32:05] *** jstroem has joined #angularjs
[11:32:08] <djam90> jsheely, but only when you put in usedcarsearch/SOMETHING
[11:32:17] <djam90> not sure why it doesn't do that when you miss out the SOMETHING
[11:32:26] <jsheely> Yea that's strange
[11:32:35] *** watchmethink has joined #angularjs
[11:32:35] <raibutera> its because
[11:32:42] <jsheely> But I hvaen't located where you even aknowledge that url
[11:32:42] <raibutera> usedcarsearch
[11:32:44] <raibutera> is the actual file
[11:32:48] <raibutera> or the actual url
[11:32:51] <raibutera> your subpath
[11:32:53] <raibutera> is just made up
[11:32:58] <raibutera> your server doesnt know what it is
[11:33:04] <raibutera> it just serves usedcaresearch
[11:33:12] <djam90> raibutera, my server doesn't need to know what it is?
[11:33:33] <jsheely> raibutera: Yes and No. Yes we need to figure out what is actually handling this url requests
[11:33:34] <raibutera> it does cause you're sending a request to it?
[11:33:40] <raibutera> nothing is jsheely!"
[11:33:41] <ingsoc> so his server is redirecting to index.html or his local routing has a otherwise ?
[11:33:44] *** skammer4 has joined #angularjs
[11:33:45] <raibutera> he keeps saying it!
[11:33:49] <djam90> raibutera, it is Angular that grabs that 2nd section of the URL
[11:33:57] <raibutera> it doesnt grab it
[11:33:59] <raibutera> it just interprets it
[11:34:01] <djam90> yes
[11:34:05] <raibutera> ok
[11:34:07] <raibutera> but your server
[11:34:10] <raibutera> is still getting the request
[11:34:14] *** Rejected has joined #angularjs
[11:34:16] <raibutera> at that url
[11:34:21] *** favetelinguis has joined #angularjs
[11:34:23] <djam90> it works on www.sandicliffe.co.uk/configure/ford/focus the ford and focus is dynamic and can be any make/model
[11:34:36] <raibutera> yeah but yo ualso have
[11:34:37] <raibutera> a file
[11:34:42] <raibutera> at usedcarsearch/aircon
[11:35:03] <djam90> what do you mean a file?
[11:35:05] <jsheely> I assume there isn't a physical file at usedcarsearch/wtf ><
[11:35:15] <djam90> no there isn't a pnhysical file
[11:35:22] <raibutera> well
[11:35:25] <raibutera> somethings being loaded
[11:35:28] <raibutera> or returned by server
[11:35:33] <raibutera> pause execution in chrome debugger
[11:35:34] <jsheely> index.html is or whatever
[11:35:35] <raibutera> look at sources
[11:35:39] <raibutera> under sandcliffe.co.uk
[11:36:07] <okdamn> guys how do you set dynamic paramsi n $stateProvider ??
[11:36:16] <okdamn> i tryed url: 'asd/:id?'
[11:36:17] <raibutera> and usedcarsearch/aircon or usedcarsearch/whatever returns something
[11:36:18] *** AngularUI has joined #angularjs
[11:36:18] <AngularUI> [ng-grid] PaulL1 opened pull request #1659: Doc(selection tutorial): add example of no rowHeader (master...extend_selection_tutorial) http://git.io/Xuelfw
[11:36:18] *** AngularUI has left #angularjs
[11:36:21] <okdamn> but its not a valid pattern uff
[11:36:24] *** apipkin has quit IRC
[11:36:24] *** sirkitree|afk|af has quit IRC
[11:36:24] *** arielserafini has quit IRC
[11:36:24] *** rtucker88 has quit IRC
[11:36:28] *** AngularUI has joined #angularjs
[11:36:28] <AngularUI> [ng-grid] PaulL1 pushed 2 new commits to master: http://git.io/ID7Fvg
[11:36:28] <AngularUI> ng-grid/master 46436fc Paul Lambert: Doc(selection tutorial): add example of no rowHeader
[11:36:29] <AngularUI> ng-grid/master d624bc2 Paul: Merge pull request #1659 from PaulL1/extend_selection_tutorial...
[11:36:29] *** AngularUI has left #angularjs
[11:36:36] <raibutera> okdamn i literally told you the answer
[11:36:46] <raibutera> url: 'asd/?id'
[11:36:48] *** kroogs1 has quit IRC
[11:36:53] *** rcardoso has quit IRC
[11:37:02] *** basiclaser has quit IRC
[11:37:06] <raibutera> or url: 'asd/:id'
[11:37:09] <raibutera> both work
[11:37:32] *** cannap has joined #angularjs
[11:37:39] <tangorri> raibutera : do you know about svg on directive ?
[11:37:40] *** RoryHughes has quit IRC
[11:37:45] <djam90> jsheely, there isn't an actual file at usedcarsearch/something
[11:37:54] *** rtucker88 has joined #angularjs
[11:37:55] <jsheely> I know
[11:37:55] <raibutera> but your server is spitting something
[11:38:03] <raibutera> im not suggesting there is
[11:38:05] <tangorri> that was the reason of my migration tp 1.3 idea , as it seems to support better svg compile
[11:38:10] <okdamn> raibutera: sorry d idnt noticed that :O
[11:38:23] *** bengilli_ has joined #angularjs
[11:38:31] <ingsoc> or..
[11:38:31] <ingsoc> url: 'asd/{id}'
[11:38:35] <ingsoc> :)
[11:38:38] <ingsoc> for completeness
[11:38:41] *** apipkin has joined #angularjs
[11:38:43] <okdamn> Inge-: better?
[11:38:54] <okdamn> ingsoc: ^
[11:38:56] *** kalz has quit IRC
[11:39:00] <okdamn> sorry Inge- mistake
[11:39:08] *** arielserafini has joined #angularjs
[11:39:22] *** Left_Turn has quit IRC
[11:39:27] <ingsoc> okdamn: have you looked at this...
[11:39:27] <ingsoc> https://github.com/angular-ui/ui-router/wiki/URL-Routing
[11:39:37] <okdamn> raibutera: why this doesnt shows idContact in url? $state.transitionTo('app.asd', {idContact}. 7);
[11:39:54] <jsheely> djam90 where in your html is app.js even referenced. your html file is kinda silly to begin with
[11:39:54] <okdamn> ingsoc: yes but i didnt found it sorry
[11:39:55] *** jstroem has quit IRC
[11:40:06] <raibutera> okdamn because you're using curly braces and all crazy stuff in that
[11:40:14] <raibutera> like ... what?
[11:40:17] *** basiclaser has joined #angularjs
[11:40:20] <raibutera> {idContact: 7}
[11:40:22] *** RoryHughes has joined #angularjs
[11:40:29] <ingsoc> how does a site like that get built without source control
[11:40:33] <ingsoc> or anything
[11:40:37] <raibutera> it doesnt
[11:40:46] <ingsoc> I assume he is taking opver from someone else
[11:40:50] <okdamn> raibutera: i used asd/?idContact in provider
[11:40:51] <ingsoc> who deleted the git repo ?
[11:40:51] <raibutera> the rest of the site
[11:40:53] <ingsoc> lol
[11:40:53] <raibutera> isnt angular
[11:41:03] *** bengillies has quit IRC
[11:41:29] <djam90> jsheely, app.js is referenced at the top of the HTML file. Here is the angular2.php HTML file: http://pastebin.com/3Gz8xFxe It is loaded at the top
[11:41:33] <raibutera> at least... ng-inspector and batarang tell me
[11:41:38] *** HelperW has quit IRC
[11:41:45] <robdubya> djam90 the dirPagintation.tpl is loading ALL KINDS OF SHIT
[11:41:50] <djam90> the rest of the site is not AngularJS
[11:42:01] *** falk_netstyler has quit IRC
[11:42:04] *** HelperW has joined #angularjs
[11:42:17] <djam90> robdubya the dirPagination.tpl file is not loading anything. It is a small HTML file with this code: http://pastebin.com/4qT1rL3h
[11:42:19] <robdubya> like, its literally loading the whole site again
[11:42:35] <jsheely> robdubya but it's not
[11:42:38] <jsheely> It's just the .js files
[11:42:39] <djam90> something is making it do that, it is a tiny HTML
[11:42:51] <robdubya> http://i.imgur.com/jV4Ssip.png
[11:42:53] *** sheplu has quit IRC
[11:43:09] <raibutera> djam90 it isnt angular making it do that
[11:43:18] <jsheely> What is confusig is that what you're showing in this PHP file
[11:43:30] <jsheely> Doesn't match the output of the html source
[11:43:41] *** fairchild has quit IRC
[11:43:59] <okdamn> raibutera: ingsoc thanks i fixed it thanks to you
[11:44:10] <robdubya> html5 + redirects + this = you're mishanlding the route server side
[11:44:36] <ingsoc> okdamn: np. btw the ui-router docs seem to be pretty good imho, there's just a lot of features to wade through
[11:44:48] <djam90> robdubya, was that comment directed at me?
[11:44:53] <djam90> route server side?
[11:44:54] <robdubya> yes
[11:44:56] <djam90> ah ok
[11:45:13] <robdubya> when angular requests that template
[11:45:27] <okdamn> ingsoc: yeah i just would preferr a real doc instead of a readme file but anyway thanks :D
[11:45:32] <robdubya> your server is sending back the whole index.html again
[11:45:35] <okdamn> readme sometimes is hard to read dmn
[11:45:47] <robdubya> presumably you have a catch-all handler set up
[11:45:49] <raibutera> this is hwat im sayinggggggggggg
[11:45:49] <robdubya> for html5 mode
[11:45:53] *** zemanel has joined #angularjs
[11:46:05] <robdubya> its catching something it shouldn't
[11:46:18] <jsheely> robdubya: Yea that's what I'm seeing. Which woudl make sense why it's reloading the js files
[11:46:23] *** chanced has joined #angularjs
[11:46:43] <jsheely> Any why anything with a .js extention works
[11:46:49] <ingsoc> so he has a server not configured for html5 routes and but he is using html5 routes ?
[11:46:51] <ingsoc> :D
[11:46:52] *** HelperW has quit IRC
[11:46:55] *** Stampy has joined #angularjs
[11:47:05] <jsheely> http://www.sandicliffe.co.uk/usedcarsearch/wtf.js
[11:47:08] <jsheely> for example ><
[11:47:09] <jsheely> Is fine
[11:47:09] <robdubya> his server is just being over ambitious
[11:47:27] <ingsoc> i gave up looking ages ago, but it's nice to see the #angularjs community get behind this :D
[11:47:30] <jsheely> Agreed. That is my final answer
[11:47:40] <robdubya> probbaly doing *.html and its ignoring it cuz of the .tpl.
[11:47:43] *** mguillech has joined #angularjs
[11:47:46] * robdubya drops mike
[11:47:47] <djam90> but www.sandicliffe.co.uk/configure/ford/focus works and that works in the same way with regards to the URL path and loading a template file
[11:47:48] <robdubya> goes to bed
[11:47:59] *** Olsonfold has quit IRC
[11:48:31] <djam90> what does robdubya mean doing *.html ?
[11:48:45] *** JoshGlzBrk has quit IRC
[11:48:47] <robdubya> djam90 confirm that you have a catch-all route set up on your server?
[11:48:54] <robdubya> you must, because thats what makes html5 mode work
[11:49:09] <raibutera> ive literally
[11:49:11] <raibutera> been
[11:49:19] <jsheely> a cat
[11:49:21] <jsheely> in
[11:49:22] <jsheely> a
[11:49:23] <raibutera> trying to say this
[11:49:24] <jsheely> former
[11:49:25] <jsheely> life?
[11:49:30] <raibutera> but my lack of sleep
[11:49:32] <jsheely> Sorry, I couldn't resists
[11:49:32] <raibutera> has defeated me
[11:49:35] <raibutera> and its very furstrating
[11:49:46] <raibutera> omg
[11:49:48] <raibutera> furstrating
[11:49:53] <raibutera> that wasnt deliberate
[11:50:01] <raibutera> i really was a cat...
[11:50:07] <djam90> what is html5 mode? The routing uses preg_match I think in PHP to route to the relevant controller which loads the angular2.php file which loads app.js which loads the pagination module which loads the template file
[11:50:27] <robdubya> djam90 the fact you odn't have a # in your url
[11:50:33] <robdubya> means you're using html5 mode
[11:50:36] *** wd40s has joined #angularjs
[11:50:37] <robdubya> the only way that it works
[11:50:45] <robdubya> is that if somebody goes to yoursite.com/foos
[11:50:51] *** kalz has joined #angularjs
[11:50:51] <robdubya> your page will serve index.html
[11:50:58] *** mszrnyi has joined #angularjs
[11:51:03] <robdubya> if somebody goes to yoursite.com/foos/bars
[11:51:07] <jsheely> robdubya nah, if he's doing it server side. Doesn't need html 5 to do that
[11:51:13] <djam90> that is all I need to happen though. I don't want to serve any different page or anything.
[11:51:20] <robdubya> djam90 and it is happening
[11:51:23] *** jstroem has joined #angularjs
[11:51:23] *** Sky[x] has quit IRC
[11:51:35] <robdubya> but its *also* happening when you request pagination.tpl.html
[11:51:40] <robdubya> and thats where your problem lies
[11:51:55] <robdubya> beause... it serves index.html
[11:51:58] <robdubya> instead of the template file
[11:52:04] *** diegoaguilar has quit IRC
[11:52:15] <djam90> why would it do that
[11:52:22] <jsheely> You tell us ><
[11:52:22] *** mguillech has quit IRC
[11:52:41] <raibutera> because of the way the php rewrites requests
[11:52:42] <robdubya> because you dont have a route set up
[11:52:45] <robdubya> for that template
[11:52:46] *** rcardoso has joined #angularjs
[11:52:52] <robdubya> so it handles it like every other request
[11:52:57] <raibutera> ^--
[11:52:59] <jsheely> btw that other url you sent us, doens't load any templates
[11:53:09] <raibutera> basically
[11:53:10] <robdubya> which follows
[11:53:14] <raibutera> do things the angular way
[11:53:17] *** evil-twin has left #angularjs
[11:53:17] *** moritzs has joined #angularjs
[11:53:20] <raibutera> use $stateParams
[11:53:22] <robdubya> bbecause when you start requesting templates, your shit blows up
[11:53:29] *** mesina has joined #angularjs
[11:53:30] <raibutera> or $location
[11:53:30] *** evil-twin has joined #angularjs
[11:53:37] *** jstroem has quit IRC
[11:53:38] *** Left_Turn has joined #angularjs
[11:53:46] *** sigurding has joined #angularjs
[11:53:47] <raibutera> and either enable html5 mode and fix your routing
[11:53:59] <djam90> It does load the template though .. http://www.sandicliffe.co.uk/public/templates/dirPagination.tpl.html
[11:54:00] <raibutera> or keep it disabled and use the #
[11:54:05] <robdubya> dude
[11:54:06] *** jstroem has joined #angularjs
[11:54:07] <robdubya> http://i.imgur.com/jV4Ssip.png
[11:54:12] <robdubya> that *shows* you its not
[11:54:21] *** HelperW has joined #angularjs
[11:54:28] <robdubya> i dont know how i can make it any clearer than a picture :)
[11:54:35] <jsheely> That's a pretty picture
[11:54:37] <raibutera> again
[11:54:41] <raibutera> read what i said above
[11:54:45] *** sk87 has joined #angularjs
[11:54:51] <raibutera> and your relative routes will be changed
[11:55:06] <raibutera> cause you have no base href
[11:55:29] <raibutera> but it looks like its getting the right urls
[11:55:33] <raibutera> so *shrug*
[11:55:38] <robdubya> as for why it loads when you hit it directly vs angular doing the fetching
[11:55:42] <robdubya> #php
[11:55:48] *** wd40s has quit IRC
[11:55:51] <raibutera> REKD
[11:55:52] <ingsoc> djam90: do you work for sandicliffe or contract to them, they are down the road from me
[11:55:58] <raibutera> #getREKD
[11:55:58] <robdubya> but its 100% a server side problem
[11:55:59] <ingsoc> should i call in ?
[11:55:59] <jsheely> I wasn't able to load the template directly actaully
[11:56:01] <ingsoc> :P
[11:56:04] <raibutera> #PHPREKD
[11:56:10] <jsheely> #PHPSUCKS?
[11:56:14] <raibutera> #ANGUREKD
[11:56:18] <jsheely> Ilolz
[11:56:27] <robdubya> djam90 the simple (but not the *right*) fix would be to add an explicit route in php
[11:56:27] <raibutera> #no$scope
[11:56:36] <jsheely> I watched a facebook video on PHP
[11:56:38] <robdubya> but that would confirm what we're telling you
[11:56:42] <jsheely> and how he was saying PHP was so great
[11:56:50] *** hugorodrigues has joined #angularjs
[11:56:54] *** matthoiland has joined #angularjs
[11:56:57] *** chanced has quit IRC
[11:57:03] *** bengillies has joined #angularjs
[11:57:13] <raibutera> jsheely its meta hipster
[11:57:18] <jsheely> But then the entire time he was saying how they had to rewrite PHP HHVM
[11:57:20] <raibutera> hipsters loved ruby
[11:57:22] <raibutera> moved to node
[11:57:27] *** mel| has joined #angularjs
[11:57:32] *** dan2k3k4 has quit IRC
[11:57:39] <raibutera> are having a love affair with angular
[11:57:40] <djam90> guys i fixed it
[11:57:42] *** dan2k3k4 has joined #angularjs
[11:57:53] <raibutera> but meta hipsters are php purists
[11:57:54] <robdubya> praise jesus
[11:57:55] <jsheely> congratz
[11:58:15] <djam90> I changed the template path from public/templates/template.tpl.html to /templates/template.tpl.html >>>> our .htaccess rewrites everything through public :/ DAMN
[11:58:17] <jsheely> http://hhvm.com/
[11:58:20] *** iamcyberbird has quit IRC
[11:58:23] <djam90> I am quitting my job as web dev and starting a bakery instead
[11:58:30] <jsheely> ^
[11:58:36] <jsheely> I want a cupcake pls
[11:58:50] <raibutera> on behalf of whoever takes up ytour versioncontrol-less codebase
[11:59:00] <raibutera> "f*** you"
[11:59:05] <jsheely> lolz
[11:59:10] *** jstroem has quit IRC
[11:59:17] <ingsoc> scary
[11:59:19] <djam90> i started the company 6 months ago replacing the old developer as he left. he had spent like a year fucking up their codebase without any backups or git or anything
[11:59:26] <robdubya> git init
[11:59:28] *** JesuZ has quit IRC
[11:59:32] <robdubya> do it NOW
[11:59:36] <djam90> so I'm just slowly trying to sort it out but at the same time have managers screaming at me to build nice things
[11:59:36] <jsheely> literally
[11:59:36] <djam90> alone
[11:59:37] *** jstroem has joined #angularjs
[11:59:38] <jsheely> do it now
[11:59:39] <jsheely> now
[11:59:45] <raibutera> i still dont see
[11:59:47] <raibutera> why you cant just
[11:59:50] <raibutera> like jsheely says
[11:59:50] *** rcardoso has quit IRC
[11:59:51] *** bengilli_ has quit IRC
[11:59:52] <raibutera> git init
[11:59:53] <raibutera> :/
[11:59:59] <ingsoc> my thoughts too
[12:00:05] <robdubya> or use the GUI
[12:00:05] <raibutera> its not like you have to do ANYTHING to the coe
[12:00:07] *** telly has joined #angularjs
[12:00:14] <robdubya> there's an app for that
[12:00:18] <robdubya> its not even scary
[12:00:23] <ingsoc> if you are on windows
[12:00:24] <raibutera> if you dont know how to use git.... https://try.github.io/levels/1/challenges/1
[12:00:24] *** qdk has quit IRC
[12:00:26] <ingsoc> tortoisegit
[12:00:32] <raibutera> takes 15 mins and is really good
[12:00:33] <ingsoc> is baby easy
[12:00:35] <jsheely> SourceTree probably the best for windows
[12:00:53] <raibutera> you WILL thank yourself for using it
[12:00:55] <djam90> we use software called BeyondCompare to copy paste to/from the server. I have SourceTree and Git. I will look at using it now
[12:01:03] <robdubya> i'm hereby revoking any further help for you until you git your shit
[12:01:11] <jsheely> lol
[12:01:13] <djam90> ok robdubya I will do it now lol
[12:01:14] *** matthoiland has quit IRC
[12:01:16] <mel|> hi there, are there any reasons not to use the angular generator of yeoman?
[12:01:32] *** Siyfion has joined #angularjs
[12:01:33] <ingsoc> djam90: you seem like someone who has never used source control
[12:01:34] <jsheely> mel| I don't because i'm a .net guy
[12:01:34] <raibutera> djam90 https://try.github.io/levels/1/challenges/1 - 15 mins and the rest of your life as a happy developer begins
[12:01:39] <jsheely> But I dont' see any reason why not
[12:01:42] <raibutera> mel| i use it
[12:01:44] <robdubya> djam90 and when you decide "hay i'm about to do some crazy shit"
[12:01:44] *** hugorodrigues has quit IRC
[12:01:47] <ingsoc> otherwise you would have done that on day one of your employment
[12:01:47] <raibutera> but i'm starting to regret it
[12:01:59] <raibutera> but ive coded a huge app over the last 8 months
[12:02:04] <robdubya> commit your shit. make a branch. enjoy your life.
[12:02:23] <mel|> raibutera: why?
[12:02:25] <jsheely> local branches are my favorite feature
[12:02:26] <raibutera> mel|: in short, cause i gotta do some work
[12:02:33] <mel|> (do you regret it)
[12:02:36] <raibutera> its REALLY good for automation
[12:02:45] <raibutera> REALLY good for getting your app running
[12:02:47] <raibutera> really good for tests
[12:02:53] <djam90> ingsoc fair enough when I started my job here I had never used it albeit tried SVN at home, however I know it is important and I knew they needed it here so I started learning and we got one of the projects setup into a repo on the server and stuff, but then the server died and we had to migrate over to a new host so we are just in the process of wiring it all back up (as in, moving the git repo over and setting up the cpanel accounts etc)
[12:02:57] <jsheely> (waits for the really bad part)
[12:03:02] <mel|> :D
[12:03:03] <raibutera> easier to configure and customize than when you first think
[12:03:06] *** tmits has joined #angularjs
[12:03:08] <ingsoc> mel|: if you want to build your own minification and uglification and file renaming for cachbusting and everything like that then no
[12:03:17] <raibutera> but i feel a bit spoiled by it
[12:03:18] *** evil-twin has joined #angularjs
[12:03:18] <ingsoc> :)
[12:03:34] *** enaqx has joined #angularjs
[12:03:41] <raibutera> like im locked in
[12:03:49] <jsheely> The day I stop using windows. I'll probably learn all these CLI tools
[12:03:55] <mel|> u mean like working at google?
[12:03:56] <ingsoc> raibutera: although it needs to have the default layout changed to features not type
[12:04:03] <jsheely> Until then. Point-Click-Naked-Chick
[12:04:05] <ingsoc> i changed this for my app
[12:04:21] <raibutera> yeah ingsoc
[12:04:23] <robdubya> i'm unabashedly a gui fan. call the cops, i dont give a shit.
[12:04:29] <raibutera> thats precisely the only pain point i have
[12:04:46] <ingsoc> jsheely: i switched 2 years ago after 15 years of windows
[12:04:53] <ingsoc> it was pain at first
[12:04:59] <ingsoc> but everything new is
[12:05:24] <jsheely> ingsoc I have linux servers
[12:05:32] <raibutera> anyway guys thanks for the entertaining morning and 3 and a half hours of procrastination
[12:05:33] <ingsoc> o0pen source is pretty much *nix first
[12:05:42] *** needtolearnangjs has joined #angularjs
[12:05:44] <djam90> thanks for pointing me in the right direction with my stupid error I appreciate it even with the lack of working plunker and stuff and I think that my codebase needs simplifying at some point
[12:05:49] <djam90> soon
[12:06:01] <raibutera> no problem
[12:06:03] <raibutera> sorry if i was blunt
[12:06:07] <ingsoc> djam90: are you alone dev working at that car sales company ?
[12:06:10] <raibutera> not slept in 26 hours
[12:06:32] <jsheely> raibutera I'm on 22
[12:06:35] <jsheely> You win
[12:06:54] <djam90> ingsoc I am the web dev there is a designer, another designer, an seo guy, social media girl and some guy who supposed to do UX analytics stuff but actually does nothing and wants to seemingly learn Laravel without knowing any PHP
[12:07:01] <raibutera> but im getting BACK to work... are you? jsheely ?
[12:07:03] <robdubya> i read today, in total darkness, humans switch to a 36 wake / 12 hour sleep cycle
[12:07:06] <jsheely> Fire the SEO guy
[12:07:08] <robdubya> turn on some lights dudes
[12:07:14] <ingsoc> with these hours being worked and people being left in a world of shit with managers screaming in non source controlled software deveelopment sounds like a poor career choice
[12:07:35] *** brezel has quit IRC
[12:07:36] *** Mxyzpltk has joined #angularjs
[12:07:40] <djam90> ingsoc yeah I think so too
[12:07:47] <robdubya> (he says as he goes to bed at 5am)
[12:07:50] *** xdrone has quit IRC
[12:07:57] <jsheely> Anyone whos job is full time SEO spends 90% of his day reading reddit and cat videos
[12:08:00] *** LoveAndHappiness has quit IRC
[12:08:14] <ingsoc> the only way out is to start your own business
[12:08:17] *** fire_ has joined #angularjs
[12:08:21] <raibutera> what i did <---
[12:08:22] <fizbani> robdubya: umm, I've read that in solitary humans change to sleeping twice a day :O
[12:08:25] <ingsoc> although this is fraught with other dangers
[12:08:26] <djam90> jsheely, he actually sits next to the manager so I doubt it haha. I think he spends a lot of time copying and pasting keywords from large spreadsheets into adwords etc
[12:08:31] <raibutera> live dangerous
[12:08:35] <raibutera> stack paper
[12:08:39] <mel|> huh
[12:08:40] <raibutera> f*** b*****es
[12:08:51] *** brezel has joined #angularjs
[12:08:57] <raibutera> YOBO
[12:08:58] <mel|> any idea why "node -v" simply returns nothing?
[12:08:59] <raibutera> you only bind once
[12:09:03] <fire_> hi everyone!
[12:09:03] *** LoveAndHappiness has joined #angularjs
[12:09:10] *** tschundeee has quit IRC
[12:09:10] <raibutera> you've not got node installed mel
[12:09:11] <fire_> i have a question about nested directives...
[12:09:12] <robdubya> fizbani thats polyphasic sleep
[12:09:16] <raibutera> or its not in your $PATH
[12:09:26] <ingsoc> anyone here actually working on something that is a pleasure ?
[12:09:26] *** bmcquee has joined #angularjs
[12:09:27] <jsheely> djam90 Yes well I can make myself look busy too when I need to do
[12:09:34] <djam90> haha I know
[12:09:35] <jsheely> I just have to rewrite the same function over and over again .<
[12:09:38] <robdubya> i tried it. it works, but your girlfriend hates you.
[12:09:42] <raibutera> ingsoc i am worrking on something that is a pleasure
[12:09:58] <jsheely> What are you guys muttering about sleep?
[12:10:00] <mel|> should be installed, before, this command led to the recommendation of the proper package
[12:10:03] <jsheely> Is there a way I can quit sleeping?
[12:10:04] <ingsoc> raibutera: there's hope then. But are you making money doing it ?
[12:10:06] *** tschundeee has joined #angularjs
[12:10:29] *** Trow has quit IRC
[12:10:31] <mel|> now i just get no answer at all
[12:10:43] <raibutera> nope but its not a big priority right now
[12:10:54] *** gnrlbzik has joined #angularjs
[12:11:06] <raibutera> got money need traction
[12:11:18] *** iksik has joined #angularjs
[12:11:30] <raibutera> and i guess thats the crux of it
[12:11:32] <jsheely> I'm going to try taking cat naps next week
[12:11:36] <jsheely> See how far I can go
[12:11:53] <raibutera> gl hf
[12:11:56] <djam90> Any other advice on that Angular codebase? Is it weird to have a single page as an Angular page without the entire site being that way?
[12:12:17] <raibutera> mel
[12:12:17] <jsheely> djam90 nah
[12:12:18] <raibutera> mel|
[12:12:21] *** Mxyzpltk has quit IRC
[12:12:23] <raibutera> go to nodejs.org
[12:12:26] <raibutera> and install node
[12:12:39] <raibutera> node -v tells you what version you have installed
[12:12:54] <raibutera> no djam its actually designed to work that way
[12:12:57] <raibutera> djam90
[12:13:01] *** mjs2600 has joined #angularjs
[12:13:02] <mel|> i already installed it via apt
[12:13:07] <raibutera> the ng-app directive
[12:13:14] *** Trow has joined #angularjs
[12:13:20] <raibutera> basically limits angular's "control" over the DOM
[12:13:26] <raibutera> or what it can touch
[12:13:30] <djam90> that's cool
[12:13:33] <raibutera> BUT
[12:13:35] <jsheely> mel| when I installed node via apt
[12:13:35] <raibutera> your code base
[12:13:36] <raibutera> REALLY
[12:13:38] *** caitp- has joined #angularjs
[12:13:43] <raibutera> needs some best practices injected
[12:13:43] *** LoveAndHappiness has quit IRC
[12:13:47] <jsheely> I had to install nodejs and then make a link to node
[12:13:47] *** sevgevorkyan has left #angularjs
[12:13:54] <jsheely> because for whatever erason you need both
[12:13:59] *** jdj_dk has quit IRC
[12:14:01] <raibutera> like STAT
[12:14:02] *** LoveAndHappiness has joined #angularjs
[12:14:05] <mel|> hurr
[12:14:13] *** bmcquee has quit IRC
[12:14:23] <Grokling> I'm re-doing (again) a filter implementation, and it's fighting me. http://pastebin.com/s3U5e66G causes ng-repeat to have a complain about 'Duplicates in a repeater' Duplicate key: undefined:undefined. If I remove the 'if' and just return section, it works (but obviously without filtering..) Any clues?
[12:14:27] *** MasterGberry has quit IRC
[12:14:57] *** MasterGberry has joined #angularjs
[12:15:03] <jsheely> Grockling without looking
[12:15:06] *** gnrlbzik has quit IRC
[12:15:14] <jsheely> if removes and readds elements
[12:15:21] <jsheely> ng-show kessp the elements there
[12:15:23] *** jstroem has quit IRC
[12:15:32] *** Rundfunk_ has quit IRC
[12:15:33] *** annlewis has joined #angularjs
[12:15:42] <mel|> those are the moments i really looove vagrant
[12:15:56] *** jstroem has joined #angularjs
[12:16:03] <jsheely> wtf is vagrant ><
[12:16:05] *** brezel has quit IRC
[12:16:08] *** youngnico has quit IRC
[12:16:14] <Grokling> jsheely: the if is a proper if, not an ng-if. it's inside a .map
[12:16:18] *** philips has quit IRC
[12:16:23] *** kcjones has quit IRC
[12:16:28] <jsheely> ahh okay
[12:16:28] *** dualmoon has quit IRC
[12:16:43] *** bigos has quit IRC
[12:16:44] <jsheely> Welp, I'm going to test out my nap theory
[12:16:46] *** dualmoon has joined #angularjs
[12:16:47] *** jstroem has quit IRC
[12:16:54] <jsheely> See you all in 10 hours ><
[12:16:57] *** richleland has quit IRC
[12:16:58] *** callumacrae has quit IRC
[12:17:02] *** spacepluk has quit IRC
[12:17:03] *** HelperW has quit IRC
[12:17:11] <mel|> jsheely: https://www.vagrantup.com/
[12:17:12] *** jstroem has joined #angularjs
[12:17:16] *** pillage has quit IRC
[12:17:19] *** juampy has joined #angularjs
[12:17:20] *** vinnix has quit IRC
[12:17:30] *** HelperW has joined #angularjs
[12:17:38] <jsheely> I hate marketing speak
[12:17:43] *** youngnico has joined #angularjs
[12:17:44] <jsheely> "About Vagrant"
[12:17:47] *** kcjones has joined #angularjs
[12:17:51] *** richleland has joined #angularjs
[12:18:10] *** callumacrae has joined #angularjs
[12:18:13] *** xdrone has joined #angularjs
[12:18:17] *** vinnix has joined #angularjs
[12:18:25] *** caitp- has quit IRC
[12:18:31] *** brezel has joined #angularjs
[12:18:35] *** bigos has joined #angularjs
[12:18:38] <jsheely> Anyway. See ya guys
[12:18:44] <djam90> what did robdubya mean when he said do not use primitives in scope
[12:18:48] <mel|> bye
[12:19:05] <jsheely> $scope.hello ="string"
[12:19:11] <jsheely> Don't do that
[12:19:17] *** Sky[x] has joined #angularjs
[12:19:25] <Grokling> djam90: https://egghead.io/lessons/angularjs-the-dot
[12:19:33] <jsheely> $scope.model = {hello:'world'} = best practice
[12:19:39] *** skammer4 has quit IRC
[12:19:59] <jsheely> or you could use the new controllerAs syntax
[12:20:05] <ingsoc> djam90: i find "controller as" syntax useful to prevent confusion when writing to scope
[12:20:14] <djam90> ah ok
[12:20:17] <ingsoc> yeah
[12:20:18] *** annlewis has quit IRC
[12:20:19] <ingsoc> :)
[12:20:28] *** arek_at_work has joined #angularjs
[12:20:32] <ingsoc> this makes it nice and easy to refer to parent controllers from children
[12:20:32] *** jsheely is now known as jsheely|sleep
[12:20:41] *** sigurding has quit IRC
[12:21:35] <ingsoc> so anyway, now we know that djam90: problem wasn't to do with that paginate directive. is this recommended or are there better alternatives ?
[12:21:50] <ingsoc> http://www.michaelbromley.co.uk/blog/108/paginate-almost-anything-in-angularjs
[12:21:57] <djam90> ingsoc it is simply awesome so far
[12:22:00] <Grokling> Anybody come up with any clues for my filter issue?
[12:22:04] <djam90> compare these two pages in speed
[12:22:15] <djam90> www.sandicliffe.co.uk/usedcars and www.sandicliffe.co.uk/usedcarsearch
[12:22:20] *** spacepluk has joined #angularjs
[12:22:24] *** HelperW has quit IRC
[12:22:44] *** philips has joined #angularjs
[12:22:51] *** raibutera has quit IRC
[12:23:19] *** jstroem has quit IRC
[12:23:43] *** jstroem has joined #angularjs
[12:23:45] <ingsoc> djam90: pagination is useful and it is understandable that it helped in your use case, I was just querying about the directives robustness and ease of use
[12:24:04] *** hugorodrigues has joined #angularjs
[12:24:13] *** justinmburrous has joined #angularjs
[12:24:15] <djam90> well it seems to be a drop in replacement for ng-repeat, whereby all ng-repeat functionality still works
[12:24:18] *** LoveAndHappiness has quit IRC
[12:24:32] <djam90> ease of use took me about 2 minutes to implement! Love it
[12:24:35] <ingsoc> djam90:cool, might have to take a closer look at it
[12:24:49] *** LoveAndHappiness has joined #angularjs
[12:24:52] <djam90> some reason, my $http is returning a string but it has a "" wrapped around it
[12:25:15] <djam90> I merely send a string to server, app, (length is 3) but the return data has "app" which is 5 chars length
[12:25:24] *** jstroem has quit IRC
[12:25:52] *** jstroem has joined #angularjs
[12:25:53] <djam90> because it is json_encoded I think
[12:25:54] *** fbenoit has quit IRC
[12:26:51] *** iksik has quit IRC
[12:27:46] *** tangorri has quit IRC
[12:27:49] *** LoveAndHappiness has quit IRC
[12:28:08] *** LoveAndHappiness has joined #angularjs
[12:29:22] *** justinmburrous has quit IRC
[12:29:28] *** mel| has quit IRC
[12:31:20] *** Ronyrun has joined #angularjs
[12:31:38] *** kroogs1 has joined #angularjs
[12:32:50] *** cesarkawakami has joined #angularjs
[12:33:35] *** juampy has quit IRC
[12:35:57] *** LoveAndHappiness has quit IRC
[12:36:12] *** falk_netstyler has joined #angularjs
[12:36:43] <es-> Grokling: Still there ?
[12:36:46] *** LoveAndHappiness has joined #angularjs
[12:37:01] *** kroogs1 has quit IRC
[12:37:17] <Grokling> es-: Yup. I think I figured it out - I was abusing map kinda.
[12:37:46] *** tmits has left #angularjs
[12:38:14] <es-> Grokling: Actually `filter()` seems to be what you were looking for (not `map()`)
[12:38:31] *** iksik has joined #angularjs
[12:39:06] <Grokling> es-: meaning that I could just use the built in filter instead of making my own?
[12:39:48] <es-> Grokling: I am not saying that (although it must be a valid statement as well :))
[12:40:13] *** Sky[x] has quit IRC
[12:40:32] <es-> Grokling: I am sayng that if you want to return only those sections that have a classes.selected property set to true
[12:41:09] <Grokling> es-: Ooo.. A new js function I hadn't met yet. That will make things simpler in a bunch of places!
[12:41:26] <es-> your filter should look like this: function (sections) { return (sections || []).filter(function (section) { return !!section.classes.selected; }); }
[12:42:10] *** watchmethink has left #angularjs
[12:42:14] *** rcardoso has joined #angularjs
[12:42:19] <es-> Grokling: Make sure you take a look at the following functions of Array.prototype before you do anything else: forEach, some, every, filter, map, reduce (reduceRight)
[12:42:32] *** tangorri has joined #angularjs
[12:42:50] <es-> (but note that some of them are not available in older browsers (i.e. IE8) - there are polyfills of course...
[12:44:15] *** Hounddog has quit IRC
[12:45:32] *** scrooge_mcduck has joined #angularjs
[12:45:41] <scrooge_mcduck> anyone here having experienc with the angularjs yeoman generator?
[12:46:19] *** fbenoit has joined #angularjs
[12:46:22] *** mszrnyi has quit IRC
[12:48:38] *** qdk has joined #angularjs
[12:49:19] *** AngularUI has joined #angularjs
[12:49:19] <AngularUI> [ng-grid] PaulL1 opened pull request #1660: Fix #1023 (rowSort): allow nulls to propagate to sort functions (master...1023_nulls_to_custom_sort) http://git.io/nHpdzA
[12:49:20] *** AngularUI has left #angularjs
[12:50:22] *** chanced has joined #angularjs
[12:50:34] *** LoveAndHappiness has quit IRC
[12:50:52] *** LoveAndHappiness has joined #angularjs
[12:51:18] *** okdamn has quit IRC
[12:51:58] *** HelperW has joined #angularjs
[12:52:10] <es-> Grokling: (And of course there is the built-in `filter` filter...)
[12:52:22] <es-> scrooge_mcduck: Limited...
[12:52:25] <es-> What's wrong ?
[12:52:35] <ingsoc> scrooge_mcduck:
[12:52:41] <ingsoc> yes
[12:52:45] <ingsoc> some
[12:53:01] <Grokling> es-: Thanks - there were a couple in that list that I hadn't met yet.
[12:54:18] <ingsoc> Grokling:, es-: there's also lodash.js
[12:54:24] *** klaut has joined #angularjs
[12:54:28] <ingsoc> for those functional like constructs
[12:55:07] <ingsoc> it contains faster implementations also
[12:55:20] *** chanced has quit IRC
[12:55:39] *** pillage has joined #angularjs
[12:56:56] <es-> ingsoc: And there also fast.js (with even faster implementations) :P And underscore
[12:57:09] *** niklasmodess has quit IRC
[12:57:24] *** e0ipso|away is now known as e0ipso
[12:57:29] <Grokling> I have two ng-class in a div - one evaluates a property which is a simple string. The other evaluates {selected:true}. It seems that angular only attends to the first ng-class, and ignores subsequent ones. Can I do it in one statement? Or do I need to smush those values in to one collection for this to work?
[12:57:43] <es-> But all useless for basic cases in modern browsers (since everyhing required is supported natively and the performance boost is unnoticable)
[12:57:44] <es-> :)
[12:57:49] <es-> brb
[12:57:54] *** bAnt has joined #angularjs
[12:57:55] *** rcardoso has quit IRC
[12:57:58] *** SpearThruster has joined #angularjs
[12:58:30] *** rcardoso has joined #angularjs
[12:58:32] *** OdinIncarnate has quit IRC
[12:59:06] *** AndreiCurelaru has joined #angularjs
[12:59:16] *** Jet4Fire has quit IRC
[12:59:46] *** enaqx has quit IRC
[13:00:27] *** _pid1 has joined #angularjs
[13:00:34] *** simmerz has left #angularjs
[13:01:16] *** sigurding has joined #angularjs
[13:01:26] <scrooge_mcduck> ingsoc: i cant keep it work as imagemin seems to fail to be installed :(
[13:01:27] <iksik> good morning
[13:01:39] <scrooge_mcduck> any other good generator to get kickstarted?
[13:02:23] *** AngularUI has joined #angularjs
[13:02:24] <AngularUI> [ng-grid] PaulL1 opened pull request #1661: Enhancement(rowEdit): allow styling of dirty rows (master...rowEdit_style_dirty) http://git.io/QUTFMQ
[13:02:24] *** AngularUI has left #angularjs
[13:02:29] <iksik> scrooge_mcduck lineman?
[13:02:41] <Grokling> scrooge_mcduck: You could just clone the phonegap repo and build out from there?
[13:03:03] *** cesarkawakami has quit IRC
[13:03:08] *** rcardoso has quit IRC
[13:03:17] *** snapwich has joined #angularjs
[13:03:23] *** coleb has quit IRC
[13:03:34] <Grokling> A bit manual I know, but..
[13:04:07] *** munzmania has quit IRC
[13:05:26] <ingsoc> es-: true, and yeah for basic things prob no real difference go with what's easiest. I am kinda coming from functional background so like all the extra functions
[13:05:26] *** coleb has joined #angularjs
[13:06:19] *** wd40s has joined #angularjs
[13:06:35] *** c00ljs has quit IRC
[13:06:44] *** munzmania has joined #angularjs
[13:06:51] *** threesixes has quit IRC
[13:06:55] *** mel| has joined #angularjs
[13:07:32] *** snapwich has quit IRC
[13:09:16] *** Click66 has quit IRC
[13:09:27] *** hugorodrigues has quit IRC
[13:09:31] *** jstroem has quit IRC
[13:09:58] *** jstroem has joined #angularjs
[13:10:28] *** HelperW has quit IRC
[13:10:30] *** drej has quit IRC
[13:10:31] *** bmcquee has joined #angularjs
[13:10:41] *** FalsePozitive has quit IRC
[13:10:46] *** drej has joined #angularjs
[13:10:46] *** jdj_dk has joined #angularjs
[13:10:55] *** HelperW has joined #angularjs
[13:11:31] *** gnrlbzik has joined #angularjs
[13:11:33] *** wd40s has quit IRC
[13:11:45] *** bmcquee has quit IRC
[13:11:52] *** mmealling has quit IRC
[13:12:07] *** bmcquee has joined #angularjs
[13:12:49] *** LoveAndHappiness has quit IRC
[13:13:09] *** tobmaster has quit IRC
[13:13:23] *** jeffisabelle has joined #angularjs
[13:13:33] *** munzmania has quit IRC
[13:13:35] *** tschundeee has quit IRC
[13:13:46] *** squeakytoy has joined #angularjs
[13:13:54] *** rcardoso has joined #angularjs
[13:14:14] *** tschundeee has joined #angularjs
[13:14:26] *** LoveAndHappiness has joined #angularjs
[13:14:31] *** caitp- has joined #angularjs
[13:14:37] <scrooge_mcduck> Grokling: hmm okay
[13:14:48] *** Pyrrhus has joined #angularjs
[13:15:36] *** johnstorey has joined #angularjs
[13:15:39] *** annlewis has joined #angularjs
[13:16:00] *** tschunde_ has joined #angularjs
[13:16:02] *** munzmania has joined #angularjs
[13:16:07] *** gnrlbzik has quit IRC
[13:16:14] *** HelperW has quit IRC
[13:16:37] *** HelperW has joined #angularjs
[13:16:52] *** bmcquee has quit IRC
[13:17:07] *** Jdubs has joined #angularjs
[13:17:10] *** Eugene_ has joined #angularjs
[13:17:56] *** FIFOd[a] has quit IRC
[13:18:30] *** justinmburrous has joined #angularjs
[13:18:32] <Eugene_> Hello guys, how to catch input change event with Angular? I want to call a function, not just update variable with ng-model.
[13:18:37] *** tschundeee has quit IRC
[13:18:57] *** caitp- has quit IRC
[13:19:09] <Eugene_> Do I need to use simple onchange event?
[13:19:40] *** annlewis_ has joined #angularjs
[13:19:44] *** avree has joined #angularjs
[13:20:07] *** msarta has quit IRC
[13:20:10] <Grokling> Eugene_: ng-change should do that for you.
[13:20:20] *** annlewis has quit IRC
[13:20:34] <Eugene_> ng-change doesn'r work withOUT ng-model.
[13:20:37] *** enaqx has joined #angularjs
[13:21:09] *** _pid1 is now known as _pid
[13:21:11] *** vinnix has quit IRC
[13:21:12] *** vinnix has joined #angularjs
[13:21:16] *** tobmaster has joined #angularjs
[13:21:18] <Grokling> You don't have to set ng-model to anything 'useful' just set it to something..
[13:21:30] *** Caroga is now known as Caroga_afk
[13:21:44] *** NoNMaDDeN has quit IRC
[13:21:56] *** Jdubs has quit IRC
[13:22:00] *** msarta has joined #angularjs
[13:23:00] <Eugene_> But what about performance? ng-model will set variable. (How to add name to the message?)
[13:23:44] *** hugorodrigues has joined #angularjs
[13:24:06] *** herm1t has joined #angularjs
[13:24:35] *** IJNX has joined #angularjs
[13:25:42] *** hugorodrigues has quit IRC
[13:25:44] *** annlewis_ has quit IRC
[13:25:47] *** favetelinguis has quit IRC
[13:26:23] *** favetelinguis has joined #angularjs
[13:27:02] *** evil-twin has quit IRC
[13:27:10] *** evil-twin has joined #angularjs
[13:27:49] *** bengilli_ has joined #angularjs
[13:28:37] *** FIFOd[a] has joined #angularjs
[13:28:47] <es-> Eugene_: What element do you want to attach it to ?
[13:29:05] <es-> ngChange shouldn't need ngModel to work
[13:29:52] *** skammer4 has joined #angularjs
[13:29:59] <Eugene_> es-, to input text. I want enter text and call a function for process new input text value (for update filtering, but it doesn't matter).
[13:30:13] *** svycka has joined #angularjs
[13:30:18] *** bengillies has quit IRC
[13:30:43] *** Aswebb has joined #angularjs
[13:30:50] <es-> Eugene_: First of all there should be a more angular wa to achieve that (why not just use ngModel and let filtering update itself automatically)
[13:30:55] *** niklasmodess has joined #angularjs
[13:30:56] *** sheplu has joined #angularjs
[13:31:00] *** \du has joined #angularjs
[13:31:01] *** Caroga_afk is now known as Caroga
[13:31:19] <es-> But why do you say ngChange doesn't work ? Does the browser fire a 'change' event at all ?
[13:31:26] *** favetelinguis has quit IRC
[13:31:37] *** kroogs1 has joined #angularjs
[13:31:41] *** tykayn has quit IRC
[13:31:52] *** patrick99e99 has joined #angularjs
[13:32:09] *** richiebkr has quit IRC
[13:32:19] <Eugene_> es-, because I use complex filter function, I don't know how to do it by safe way with Angular.
[13:32:36] *** Caroga has left #angularjs
[13:32:57] *** Efrem has joined #angularjs
[13:33:35] <Eugene_> es-, I use $filter from JS directly.
[13:34:20] *** sirkitree|afk has joined #angularjs
[13:34:37] *** thomastuts has quit IRC
[13:35:06] <es-> Eugene_: You probably don't need to, but hey...
[13:35:37] <es-> BTW, ngChange does not need ngModel, but Chrome (and possibly other browsers) do not fire a change event while typing on text input
[13:36:14] <es-> Ah, wait - it might need it
[13:36:34] *** kroogs1 has quit IRC
[13:37:22] *** patrick99e99 has quit IRC
[13:37:22] <es-> yes it does indeed (probably because browsers will not fire a `change` event until the input is blurred
[13:38:08] <es-> Eugene_: If I where you I would either use ngModel or create a tiny custom esInput directive that binds to the `input` event
[13:38:17] *** whitebook has joined #angularjs
[13:38:27] <Eugene_> es-, I will try to use more Angular way, but I don't like this. Because I have filtering functions which I call from JS.
[13:39:19] *** MasterGberry has quit IRC
[13:39:43] <Eugene_> es-, thank you,
[13:39:46] *** MasterGberry has joined #angularjs
[13:39:49] *** rockfordal has quit IRC
[13:39:49] *** rockford_ has quit IRC
[13:41:48] *** ag has joined #angularjs
[13:41:55] *** falk_netstyler has quit IRC
[13:42:09] *** falk_netstyler has joined #angularjs
[13:42:39] *** TorpedoSkyline has joined #angularjs
[13:42:48] *** recidive has joined #angularjs
[13:44:17] *** e0ipso is now known as [e0ipso]
[13:44:24] *** cakirke has joined #angularjs
[13:44:41] *** fire_ has quit IRC
[13:45:29] *** sk87 has quit IRC
[13:45:48] *** falk_net_ has joined #angularjs
[13:45:49] *** matthoiland has joined #angularjs
[13:45:59] *** lsiv568 has joined #angularjs
[13:46:20] *** falk_netstyler has quit IRC
[13:46:20] *** whitebook has quit IRC
[13:46:40] *** tmits has joined #angularjs
[13:47:21] *** Oddman has joined #angularjs
[13:47:27] *** TorpedoSkyline has quit IRC
[13:48:05] *** caitp- has joined #angularjs
[13:48:34] *** FalsePozitive has joined #angularjs
[13:48:35] *** justinmburrous has quit IRC
[13:48:37] <es-> Eugene_: How about this tiny directive: http://jsfiddle.net/ExpertSystem/h1dkgwks/
[13:49:10] *** mguillech has joined #angularjs
[13:49:11] *** mguillech has joined #angularjs
[13:49:26] *** drej has quit IRC
[13:49:32] *** TorpedoSkyline has joined #angularjs
[13:50:03] *** chanced has joined #angularjs
[13:50:17] *** fbenoit has quit IRC
[13:50:26] *** LoveAndHappiness has quit IRC
[13:50:40] *** matthoiland has quit IRC
[13:51:04] *** LoveAndHappiness has joined #angularjs
[13:51:30] *** Jon30 has quit IRC
[13:51:52] <Eugene_> es-, thank you so much, I will check this now!
[13:52:00] *** Efrem has quit IRC
[13:52:01] *** msarta has quit IRC
[13:52:23] *** HelperW has quit IRC
[13:52:36] *** caitp- has quit IRC
[13:52:40] *** TorpedoSkyline has quit IRC
[13:52:44] *** tmits has quit IRC
[13:52:49] *** HelperW has joined #angularjs
[13:54:04] *** mguillech has quit IRC
[13:54:19] *** Naaab has joined #angularjs
[13:54:38] *** LoveAndHappiness has quit IRC
[13:54:54] *** LoveAndHappiness has joined #angularjs
[13:54:54] *** falk_net_ has quit IRC
[13:55:14] *** falk_netstyler has joined #angularjs
[13:55:21] *** burattino has joined #angularjs
[13:55:22] <Naaab> Hi guys so i wanted to give a class to a <a> if something. Can I use ng-if to do it ? tks
[13:55:32] *** falk_netstyler has quit IRC
[13:55:44] *** chanced has quit IRC
[13:56:55] *** whitebook has joined #angularjs
[13:57:12] *** Efrem has joined #angularjs
[13:57:35] *** gnrlbzik has joined #angularjs
[13:57:45] *** josh-k has quit IRC
[13:57:48] *** HelperW has quit IRC
[13:58:02] *** jbourassa has joined #angularjs
[13:58:22] *** justinmburrous has joined #angularjs
[13:59:13] *** TorchDragon has joined #angularjs
[13:59:25] *** mel| has quit IRC
[13:59:26] *** eperez_ has joined #angularjs
[13:59:51] *** rcardoso_ has joined #angularjs
[14:00:14] *** sigurding has quit IRC
[14:00:27] *** tarnus has joined #angularjs
[14:00:28] *** SeWo has joined #angularjs
[14:00:38] *** Oddman has quit IRC
[14:01:17] *** joshontheweb has quit IRC
[14:01:32] *** AndreiCurelaru has quit IRC
[14:01:46] *** mupkoo has joined #angularjs
[14:01:52] *** AndreiCurelaru has joined #angularjs
[14:02:17] *** gnrlbzik has quit IRC
[14:02:17] *** rcardoso has quit IRC
[14:02:34] *** mattwynne has joined #angularjs
[14:02:36] *** sddsds has joined #angularjs
[14:02:37] *** mattwynne has quit IRC
[14:02:41] <sddsds> yoyoyo
[14:02:48] <sddsds> yoko yoko yokohama
[14:02:49] <AndreiCurelaru> yeyeye
[14:02:52] <Eugene_> es-, is it good practice to use elem.on('input', onInput) directly from controller?
[14:02:53] <sddsds> then thelo dama
[14:03:49] *** sddsds has quit IRC
[14:03:59] <es-> Eugene_: Not at all !!! It's considered very very bad practice !
[14:04:13] *** anivemin has quit IRC
[14:04:17] *** pillage has quit IRC
[14:04:18] *** mennea has quit IRC
[14:04:25] *** [e0ipso] is now known as e0ipso
[14:04:30] <Eugene_> es-, could you explain why? I read we have to work with DOM only from directive, but why?
[14:04:39] <SeWo> hello
[14:04:44] *** TorchDragon has quit IRC
[14:04:48] *** msarta has joined #angularjs
[14:04:57] *** nodedfree has joined #angularjs
[14:05:13] <masscrx> How to print in view $state.current.data.header ?
[14:05:24] *** pillage has joined #angularjs
[14:05:29] *** recidive has quit IRC
[14:05:36] <masscrx> I have declared data: { hader: "ok" } in ui.router states
[14:05:37] *** FunnyLookinHat has joined #angularjs
[14:06:13] *** skammer4 has quit IRC
[14:06:21] *** PrintsAMD has joined #angularjs
[14:06:26] *** mennea has joined #angularjs
[14:06:32] *** skammer4 has joined #angularjs
[14:06:36] *** sp00x has quit IRC
[14:06:59] *** jas- has joined #angularjs
[14:07:44] *** NoNMaDDeN has joined #angularjs
[14:07:51] *** wd40s has joined #angularjs
[14:07:54] <Eugene_> es-. do you have an idea about this? https://groups.google.com/forum/#!topic/angular/SrXqI0L_PPc
[14:08:16] *** caitp- has joined #angularjs
[14:08:19] *** wd40s has quit IRC
[14:08:27] *** munzmania has quit IRC
[14:08:28] <Eugene_> es-, my filter function depends on this type also.
[14:08:36] *** Mxyzpltk has joined #angularjs
[14:08:40] *** IvailoStoianov has joined #angularjs
[14:09:31] *** jstroem has quit IRC
[14:09:38] <es-> Eugene_: The controllers should contain only logic and be as leight-weight as possible. A controllers responsibility is to bind the view to the model not anythng else.
[14:10:00] *** jstroem has joined #angularjs
[14:10:09] *** lite_ has quit IRC
[14:10:36] <Eugene_> es-, do you have good article about it to read?
[14:10:58] <es-> If this principle is not respected you end up with: 1. Bloated controllers 2. Untestable controllers 3. un-DRY code 4. Tightly coupled code
[14:11:03] *** moritzs has quit IRC
[14:11:14] *** mennea has quit IRC
[14:11:17] <es-> Eugene_: You dont have to read about it, just take my word :P
[14:11:33] *** VinceZa has joined #angularjs
[14:11:44] <es-> It hurts testability, reusability and readbility
[14:12:01] *** bayousoft has joined #angularjs
[14:12:18] *** fbenoit has joined #angularjs
[14:12:22] *** caitp- has quit IRC
[14:12:45] <es-> Eugene_: For a quick overview of what a controller should be: https://docs.angularjs.org/guide/controller
[14:12:49] *** bmcquee has joined #angularjs
[14:12:58] *** Mxyzpltk has quit IRC
[14:13:36] *** sk87 has joined #angularjs
[14:14:12] <es-> Eugene_: BTW, I don't understand your google.groups question
[14:14:34] *** Oddman has joined #angularjs
[14:15:04] *** TorpedoSkyline has joined #angularjs
[14:15:39] *** annlewis has joined #angularjs
[14:15:46] *** Circlefusion has quit IRC
[14:15:59] *** borvoh has joined #angularjs
[14:16:19] *** jtymes has joined #angularjs
[14:16:25] *** Circlefusion has joined #angularjs
[14:16:39] *** cakirke has quit IRC
[14:17:17] *** bmcquee has quit IRC
[14:17:50] *** TorpedoSkyline has quit IRC
[14:17:57] *** juampy has joined #angularjs
[14:18:04] *** pillage_ has joined #angularjs
[14:18:53] *** pillage has quit IRC
[14:19:04] <Eugene_> es-, I corrected my question in a reply. Question is not related to filtering, question only about optimizing this part of HTML.
[14:19:39] <Eugene_> es-, because a lot of duplications which I don't like :)
[14:20:25] *** TorpedoSkyline has joined #angularjs
[14:21:02] <es-> Eugene_: You could encapsulate the logic in a directive, but I don't think it's worth the trouble
[14:21:13] *** JuiceSSH has joined #angularjs
[14:21:34] *** e0ipso is now known as e0ipso|away
[14:21:39] *** nemec has joined #angularjs
[14:21:50] *** qmfnp has joined #angularjs
[14:22:11] <Eugene_> es-, I just want to keep minimalistic style of code, but with Angular it is difficult.
[14:23:03] *** TorpedoSkyline has quit IRC
[14:23:13] <Eugene_> es-, for me would be nice to write 3 directives like <pill type='typeA' name='Type A'>
[14:25:22] <es-> Eugene_: You must be the first person I hear (read) saying that Angular makes it difficult to keep code minimal
[14:25:34] *** GreenJello has joined #angularjs
[14:25:45] *** TorpedoSkyline has joined #angularjs
[14:26:06] *** mdedetrich has quit IRC
[14:26:32] *** annlewis has quit IRC
[14:27:03] *** msarta has quit IRC
[14:27:24] *** sp00x has joined #angularjs
[14:27:24] *** recidive has joined #angularjs
[14:28:04] <Eugene_> es-, I'm the first :) At least in this :) Thanks!
[14:28:32] *** mszrnyi has joined #angularjs
[14:28:35] *** Sky[x] has joined #angularjs
[14:28:59] *** msarta has joined #angularjs
[14:29:02] *** justinmburrous has quit IRC
[14:29:26] <SeWo> I have problems setting the view value of some input fields…. I have a form with inputs whose values are saved before the form is removed (ng-if triggers if form is rendered (aka "opened" or not). On reopening the form I want to restore the previous view values (main reason is to get back the invalid view values) but it doesn't work . I call ctrl[name].$setViewValue(previousValue) and I get the model visibly updated on other html elements (if
[14:29:30] <SeWo> can someone help ?
[14:29:31] *** g3funk is now known as braidn
[14:30:02] *** frankblizzard has quit IRC
[14:30:24] *** mccarrontr1ck has joined #angularjs
[14:30:32] *** sigurding has joined #angularjs
[14:30:41] *** JesuZ has joined #angularjs
[14:31:00] *** rcardoso_ has quit IRC
[14:31:36] *** rcardoso has joined #angularjs
[14:31:40] *** kroogs1 has joined #angularjs
[14:31:44] *** TorpedoSkyline has quit IRC
[14:32:50] *** Hedja has joined #angularjs
[14:32:59] *** Shadeness has joined #angularjs
[14:33:32] *** caitp- has joined #angularjs
[14:34:23] *** taaz has quit IRC
[14:34:23] *** gr33d has joined #angularjs
[14:34:29] *** avree has quit IRC
[14:34:45] *** livingstn has joined #angularjs
[14:35:04] *** anivemin has joined #angularjs
[14:35:19] *** taaz has joined #angularjs
[14:35:32] *** Zren has quit IRC
[14:35:42] *** rcardoso has quit IRC
[14:36:05] *** PrintsAMD has quit IRC
[14:36:14] *** travm has joined #angularjs
[14:36:53] *** Keika has joined #angularjs
[14:36:56] *** kroogs1 has quit IRC
[14:37:12] <Keika> hey there
[14:37:17] *** bayousoft has quit IRC
[14:37:41] *** bayousoft has joined #angularjs
[14:37:46] <Keika> anyone present?
[14:37:54] *** mennea has joined #angularjs
[14:38:07] *** Oddman has quit IRC
[14:38:14] *** tomzx`afk is now known as tomzx
[14:38:23] *** ben_dev has joined #angularjs
[14:38:23] *** elrabin has joined #angularjs
[14:38:32] *** jtymes has quit IRC
[14:39:18] *** anivemin has quit IRC
[14:39:28] *** UrbanWolf has joined #angularjs
[14:39:42] *** CodeFriar has joined #angularjs
[14:40:18] *** Eugene_ has quit IRC
[14:40:31] <UrbanWolf> What do you do if the head tech guy at your company has gone AWOL for three days?
[14:40:42] <Keika> hire a new one
[14:40:44] <Keika> im free
[14:40:58] <zomg> UrbanWolf: call them? :P
[14:41:06] *** sheplu has quit IRC
[14:41:13] <UrbanWolf> we have 9 ways of getting hold of him. all of them get no response
[14:41:36] *** clearing has joined #angularjs
[14:41:40] *** rockfordal has joined #angularjs
[14:41:44] *** mennea has quit IRC
[14:42:13] <UrbanWolf> if it goes on much longer i guess we WILL need to get a new one
[14:42:16] *** mennea has joined #angularjs
[14:42:29] *** bengillies has joined #angularjs
[14:42:36] *** evilaliv3 has quit IRC
[14:42:38] *** jbourassa has quit IRC
[14:43:00] *** skammer4 has quit IRC
[14:43:01] *** taaz has quit IRC
[14:43:32] *** scrooge_mcduck has quit IRC
[14:43:39] *** taaz has joined #angularjs
[14:43:59] *** one0one has quit IRC
[14:44:35] *** ag has quit IRC
[14:45:32] *** bengilli_ has quit IRC
[14:45:35] <GreenJello> UrbanWolf, file a missing person report?
[14:45:38] *** danecando has quit IRC
[14:45:45] *** annlewis has joined #angularjs
[14:46:02] <GreenJello> maybe he's being tortured for all of your company's secrets, so change the passwords
[14:46:21] *** rockfordal has quit IRC
[14:46:45] <UrbanWolf> he did say he worked for the CIA once. maybe “they” found him
[14:46:52] <zomg> lol
[14:47:08] <zomg> if it's been over a week and no contact over phone or email after multiple tries it might be good to have someone check up on him yeah :P
[14:47:33] *** ctanga has joined #angularjs
[14:47:35] <UrbanWolf> no we literally have no idea where he is. he was meant to be coming from france back to the UK
[14:47:37] *** PrintsAMD has joined #angularjs
[14:48:26] *** JeffBonds has joined #angularjs
[14:48:49] <UrbanWolf> it’s a pretty hot topic in the office. the general consensus is ‘something has gone really horribly wrong'
[14:49:03] <zomg> well if you have his phone number and name, the authorities should be capable of tracing him
[14:49:20] *** bayousoft has quit IRC
[14:49:24] <UrbanWolf> hmmm. I guess at some point we’ll have to.
[14:49:42] *** bayousoft has joined #angularjs
[14:50:41] *** chanced has joined #angularjs
[14:50:59] *** walden|afk is now known as walden
[14:51:36] *** sandwich_crust has joined #angularjs
[14:52:19] *** gr33d has quit IRC
[14:52:46] *** juampy has quit IRC
[14:53:32] *** caitp- has quit IRC
[14:53:38] *** blaflamme has joined #angularjs
[14:54:07] *** scrooge_mcduck has joined #angularjs
[14:54:08] *** c00ljs has joined #angularjs
[14:54:22] *** matthoiland has joined #angularjs
[14:54:30] *** TorchDragon has joined #angularjs
[14:55:00] *** chanced has quit IRC
[14:55:17] *** ag has joined #angularjs
[14:55:23] *** bayousoft has quit IRC
[14:55:31] <Hedja> if someone is missing for a week, the workplace would file a missing person report
[14:55:44] *** bayousoft has joined #angularjs
[14:55:47] *** vbabiy has joined #angularjs
[14:56:29] *** skammer4 has joined #angularjs
[14:57:15] <UrbanWolf> well, it’s been at least 3 days, or 5 including the weekend
[14:57:57] *** PepperPhD has joined #angularjs
[14:58:01] *** mmccook has joined #angularjs
[14:58:12] *** greengriminal has quit IRC
[14:58:15] *** sigurding has quit IRC
[14:58:53] *** TorchDragon has quit IRC
[14:59:13] *** greengriminal has joined #angularjs
[14:59:23] <Hedja> he could be decaying somewhere...
[14:59:26] *** kenavr has joined #angularjs
[14:59:38] *** JesuZ has quit IRC
[14:59:38] <UrbanWolf> in which case there’s no real rush
[15:00:34] <Hedja> well, the longer you wait, the less evidence there'll be for the police
[15:01:01] <UrbanWolf> mostly we just need him to commit the changes he made to the user services.
[15:01:05] *** sat has joined #angularjs
[15:01:26] *** BillCriswell has joined #angularjs
[15:01:26] *** bayousoft has quit IRC
[15:01:45] *** pfg has quit IRC
[15:01:46] *** Xorlev has quit IRC
[15:01:47] *** bayousoft has joined #angularjs
[15:02:13] *** pillage_ has quit IRC
[15:02:42] *** justinmburrous has joined #angularjs
[15:02:46] *** pillage has joined #angularjs
[15:03:03] *** HelperW has joined #angularjs
[15:03:29] *** pfg has joined #angularjs
[15:03:30] *** bberry_ is now known as bberry
[15:03:31] *** intellix has quit IRC
[15:03:31] *** Jayro has joined #angularjs
[15:03:37] *** Xorlev has joined #angularjs
[15:03:37] *** machty has quit IRC
[15:03:55] *** jr3 has joined #angularjs
[15:04:26] *** bayousoft has quit IRC
[15:04:27] *** snapwich has joined #angularjs
[15:04:32] *** bmac has joined #angularjs
[15:04:43] *** tristanp has joined #angularjs
[15:04:46] *** iksik has quit IRC
[15:04:48] *** bayousoft has joined #angularjs
[15:05:06] *** fission6 has joined #angularjs
[15:05:26] *** dejanr has joined #angularjs
[15:05:51] *** rockfordal has joined #angularjs
[15:05:55] *** rockford_ has joined #angularjs
[15:06:36] *** FarLight has joined #angularjs
[15:06:52] *** machty has joined #angularjs
[15:07:16] <FarLight> What would be the best way to display an svg that depends on a variable $scope.svgURL?
[15:07:17] *** Oddman has joined #angularjs
[15:07:33] <FarLight> With the svg being displayed inline.
[15:07:43] <FarLight> ng-bind-html doesn't work, as it isn't HTML, it's svg.
[15:08:03] *** Foxandxss has quit IRC
[15:08:28] *** Ronyrun has quit IRC
[15:08:31] *** jeffszusz has joined #angularjs
[15:08:39] *** tina has joined #angularjs
[15:08:43] *** LoveAndHappiness has quit IRC
[15:08:50] *** tkimmel has joined #angularjs
[15:08:50] *** LoveAndHappiness has joined #angularjs
[15:09:25] *** TorchDragon has joined #angularjs
[15:09:29] *** goodenough has joined #angularjs
[15:09:32] *** Foxandxss has joined #angularjs
[15:09:36] *** snapwich has quit IRC
[15:09:45] *** darrin has joined #angularjs
[15:10:27] *** tschunde_ has quit IRC
[15:10:27] *** bayousoft has quit IRC
[15:10:35] *** evilaliv3 has joined #angularjs
[15:10:37] *** rockfordal has quit IRC
[15:10:53] *** bayousoft has joined #angularjs
[15:11:00] *** rockford_ has quit IRC
[15:11:04] *** tschundeee has joined #angularjs
[15:11:21] *** msarta has quit IRC
[15:11:48] *** sat has quit IRC
[15:11:53] *** lite_ has joined #angularjs
[15:12:12] *** zquad has joined #angularjs
[15:13:01] *** iksik has joined #angularjs
[15:13:04] *** zivester has joined #angularjs
[15:13:05] *** FalsePozitive has quit IRC
[15:13:21] *** intellix has joined #angularjs
[15:13:37] *** FalsePozitive has joined #angularjs
[15:13:43] *** mszrnyi has quit IRC
[15:13:43] *** bmcquee has joined #angularjs
[15:13:57] *** ben_dev has quit IRC
[15:14:08] *** jtymes has joined #angularjs
[15:14:18] *** HelperW has quit IRC
[15:14:18] *** chromatome has joined #angularjs
[15:14:27] *** jtymes has quit IRC
[15:14:31] *** caitp- has joined #angularjs
[15:14:44] *** HelperW has joined #angularjs
[15:15:12] *** tschundeee has quit IRC
[15:15:20] *** FalsePozitive has quit IRC
[15:15:29] *** mattwynne has joined #angularjs
[15:15:40] *** fbenoit has quit IRC
[15:15:41] *** FalsePozitive has joined #angularjs
[15:16:00] *** evrei has joined #angularjs
[15:16:22] *** Click66 has joined #angularjs
[15:16:48] *** lite_ has quit IRC
[15:17:11] *** rockfordal has joined #angularjs
[15:17:24] *** rockford_ has joined #angularjs
[15:17:25] *** mszrnyi has joined #angularjs
[15:17:48] *** bmcquee has quit IRC
[15:17:50] *** LoveAndHappiness has quit IRC
[15:18:12] *** LoveAndHappiness has joined #angularjs
[15:18:16] *** Oddman has quit IRC
[15:18:17] *** ben_dev has joined #angularjs
[15:18:28] *** hugorodrigues has joined #angularjs
[15:18:34] *** Jdubs has joined #angularjs
[15:18:43] *** danecando has joined #angularjs
[15:18:57] *** HelperW has quit IRC
[15:19:01] *** skammer4 has quit IRC
[15:19:30] *** bayousoft has quit IRC
[15:19:52] *** bayousoft has joined #angularjs
[15:20:59] *** tschundeee has joined #angularjs
[15:21:24] *** __vlad has joined #angularjs
[15:21:50] *** KidSk8N has joined #angularjs
[15:21:50] *** KidSk8 has quit IRC
[15:22:00] *** dan2k3k4 has quit IRC
[15:22:05] *** jtymes has joined #angularjs
[15:22:32] *** bayousoft has quit IRC
[15:22:45] *** whitebook has quit IRC
[15:22:49] <__vlad> Hey, can someone help me with this please... can I save objects (json) in angular $cookie?
[15:22:54] *** bayousoft has joined #angularjs
[15:22:57] *** Jdubs has quit IRC
[15:23:03] *** Oddman has joined #angularjs
[15:23:27] *** jbourassa has joined #angularjs
[15:23:49] *** visionary has joined #angularjs
[15:23:55] <Hedja> @__vlad https://docs.angularjs.org/api/ngCookies/service/$cookieStore
[15:24:05] *** chromatome has quit IRC
[15:24:25] *** coderdad has joined #angularjs
[15:24:28] <Hedja> or you can convert/parse JSON to and from string
[15:24:46] *** NoNMaDDeN has quit IRC
[15:24:52] *** IJNX has quit IRC
[15:25:10] *** VinceZa has quit IRC
[15:25:26] <__vlad> thanks Hedja :)
[15:25:33] *** bayousoft has quit IRC
[15:25:38] *** richiebkr has joined #angularjs
[15:25:44] *** fixl has quit IRC
[15:25:56] *** bayousoft has joined #angularjs
[15:26:02] *** marcjs has joined #angularjs
[15:26:24] *** kirfu has quit IRC
[15:26:31] *** VinceZa has joined #angularjs
[15:26:57] *** il has joined #angularjs
[15:27:25] <mszrnyi> Ive an ng-repeat which shows a list of events. To edit an event we open a popup. I'm just passing the event ID to this popup and the popup directive is doing all the updates to this model. Now i would like to update the list which is still shown in the background while im editing the settings. The only way here is to pass in the scope to the directive instead of the ID only right?
[15:28:18] *** scrapmetal__ has joined #angularjs
[15:28:35] *** scrapmetal_ has quit IRC
[15:29:14] *** PepperPhD has quit IRC
[15:29:17] *** Mxyzpltk has joined #angularjs
[15:29:21] *** anivemin has joined #angularjs
[15:29:36] *** kirfu has joined #angularjs
[15:29:41] *** lsiv568 has quit IRC
[15:30:04] *** hvergara has joined #angularjs
[15:30:12] *** richiebkr has quit IRC
[15:30:12] *** hvergara has quit IRC
[15:30:20] *** bengilli_ has joined #angularjs
[15:30:42] *** hvergara has joined #angularjs
[15:30:48] *** hugofirth has joined #angularjs
[15:30:49] *** hvergara has quit IRC
[15:30:56] *** bkuberek has joined #angularjs
[15:31:07] *** hvergara has joined #angularjs
[15:31:12] *** hvergara has quit IRC
[15:31:41] *** hvergara has joined #angularjs
[15:31:42] *** kroogs1 has joined #angularjs
[15:31:47] *** hvergara has quit IRC
[15:32:12] *** e0ipso|away is now known as e0ipso
[15:32:13] *** hvergara has joined #angularjs
[15:32:17] *** visionary has quit IRC
[15:32:19] *** hvergara has quit IRC
[15:32:25] *** e0ipso is now known as [e0ipso]
[15:32:31] *** hecspc has joined #angularjs
[15:32:32] *** [e0ipso] is now known as e0ipso|away
[15:32:35] <jtymes> mszrnyi: you could have the directive take in the model itself and updates to it should be synced up
[15:32:37] *** justinmburrous has quit IRC
[15:33:00] *** mary5030 has joined #angularjs
[15:33:01] *** bengillies has quit IRC
[15:33:02] *** anivemin has quit IRC
[15:33:32] *** RogerWS has quit IRC
[15:33:40] *** FunnyLookinHat has quit IRC
[15:33:56] <jtymes> i do something similar, where I have an order, and i ng-repeat for each order line and there is a directive <order-line line="currentLine"></order-line> or something like that
[15:34:03] *** tschundeee has quit IRC
[15:34:05] *** pellis has joined #angularjs
[15:34:23] *** sirkitree|afk is now known as sirkitree
[15:34:36] <pellis> hi all. is there anything in angular that will transparently persist my data / give me a client data model to use instead of doing ad-hoc API calls? (something like ember-data)
[15:34:41] *** e0ipso|away is now known as [e0ipso]
[15:34:41] *** tschundeee has joined #angularjs
[15:35:26] *** mattwynne has quit IRC
[15:36:02] *** skammer4 has joined #angularjs
[15:36:54] *** kroogs1 has quit IRC
[15:37:12] *** [e0ipso] is now known as e0ipso|away
[15:37:34] *** ben_dev has quit IRC
[15:37:37] *** bayousoft has quit IRC
[15:37:46] *** whatadewitt has joined #angularjs
[15:37:57] *** bayousoft has joined #angularjs
[15:38:18] <whatadewitt> howdy, trying to teach myself how to write some unit tests here but with karma i keep getting and error caused by my gulpfile "Uncaught ReferenceError: require is not defined"
[15:38:31] <whatadewitt> that happens whether i run via gulp or karma
[15:39:03] <clearing> can you post yr karma.conf in a gist?
[15:39:05] *** tschundeee has quit IRC
[15:39:18] *** e0ipso|away is now known as [e0ipso]
[15:39:24] <mszrnyi> jtymes: is there maybe a way to get the controller for the list in the popup to force a reload of the model as well?
[15:39:27] *** encryptd_fractl has joined #angularjs
[15:39:27] *** bengillies has joined #angularjs
[15:39:40] *** glt has joined #angularjs
[15:40:06] <jtymes> pellis: https://github.com/FacultyCreative/ngActiveResource may work?
[15:40:12] *** mesina has quit IRC
[15:40:21] <whatadewitt> clearing: https://gist.github.com/anonymous/3166e99c9e41843ae036
[15:40:37] *** bayousoft has quit IRC
[15:40:44] *** torrieri has joined #angularjs
[15:41:00] *** bayousoft has joined #angularjs
[15:41:05] <clearing> whatadewitt without knowing the folder structure for yr app i'm guessing it's trying to run your gulpfile as part of the included files
[15:41:07] *** hugorodrigues has quit IRC
[15:41:18] <clearing> because of *.js in your files array
[15:41:22] <whatadewitt> ... that makes so much sense that i just threw up in my mouth
[15:41:26] <clearing> lol
[15:41:31] <whatadewitt> puke inducing clarity
[15:41:33] <clearing> ~D:
[15:41:34] *** tomfriedhof has joined #angularjs
[15:41:48] *** bengilli_ has quit IRC
[15:41:51] <definity1> Hi guys :) Is a template just div (*) tags between where a directive has been defined?
[15:42:01] <whatadewitt> HEY! alright!!!
[15:42:04] <whatadewitt> a different error
[15:42:04] *** [e0ipso] is now known as e0ipso|away
[15:42:07] <whatadewitt> back to google
[15:42:10] <whatadewitt> thanks, clearing!!
[15:42:16] *** lucasefe has joined #angularjs
[15:42:18] <clearing> no prob :)
[15:42:39] <jtymes> mszrnyi: you could always use a service to alleviate that
[15:42:49] *** clearing has quit IRC
[15:42:58] *** mattwynne has joined #angularjs
[15:43:08] *** HelperW has joined #angularjs
[15:43:09] <jtymes> or you could have a way to pass the new model back when you close the modal. angular-ui does that with angular-bootstrap and the $modal dialogs
[15:43:20] *** clearing has joined #angularjs
[15:43:25] *** RogerWS has joined #angularjs
[15:43:31] *** HelperW has quit IRC
[15:44:00] *** Aswebb has quit IRC
[15:44:06] <mszrnyi> jtymes: thanks
[15:45:02] *** vbabiy has quit IRC
[15:45:48] *** kaos- has quit IRC
[15:46:52] *** tschundeee has joined #angularjs
[15:47:02] *** ckboii89 has joined #angularjs
[15:47:03] *** darrin has quit IRC
[15:47:26] *** mattwynne has quit IRC
[15:47:28] *** darrin has joined #angularjs
[15:47:30] *** kroogs1 has joined #angularjs
[15:47:38] *** hugorodrigues has joined #angularjs
[15:48:22] *** Siecje has joined #angularjs
[15:48:51] *** shackleford has joined #angularjs
[15:49:36] *** shackleford has joined #angularjs
[15:49:39] *** bayousoft has quit IRC
[15:50:02] *** bayousoft has joined #angularjs
[15:50:03] *** hugorodrigues has quit IRC
[15:50:16] *** hugorodrigues has joined #angularjs
[15:50:21] *** chanced has joined #angularjs
[15:50:31] *** mguillech has joined #angularjs
[15:51:02] *** tomphp has joined #angularjs
[15:51:23] *** sk87 has quit IRC
[15:51:29] <glontu> hi
[15:51:57] <glontu> i have this service that sometimes returns data from a cache as a resolved promise and sometimes must make a http request and return that promise
[15:52:02] *** ckboii89 has quit IRC
[15:52:12] <glontu> problem is that my promise and the http promise don't return the same kind of stuff.
[15:52:20] *** stwalcher has joined #angularjs
[15:52:34] <glontu> how can i wrap the http promise in my own custom format ?
[15:52:43] *** sk87 has joined #angularjs
[15:52:52] *** Oddman has quit IRC
[15:53:07] *** kroogs1 has quit IRC
[15:53:33] *** tomfriedhof has quit IRC
[15:53:37] *** krastavac has quit IRC
[15:53:41] *** the_fog has quit IRC
[15:53:41] <jtymes> what kind of custom format are you talking about?
[15:54:02] <jtymes> are you returning the actual data or a promise that resolves to that data?
[15:54:20] *** jbourassa has quit IRC
[15:54:23] *** chanced has quit IRC
[15:54:43] *** mguillech has quit IRC
[15:54:45] <glontu> jtymes, i am returning a promise that resolves to that data
[15:54:51] *** mguillech has joined #angularjs
[15:55:01] <glontu> but sometimes i must make a $http.jsonp promise and i return that
[15:55:21] <glontu> and that dosn't have the right stuff when it gets resolved
[15:55:28] *** eperez_ has quit IRC
[15:55:39] <jtymes> what stuff are you looking for?
[15:55:40] <glontu> so how can i wrap the promise that $http.jsonp makes in my own promise
[15:55:50] *** soee has quit IRC
[15:56:01] <jtymes> well you can use $q
[15:56:02] *** annlewis has quit IRC
[15:56:23] *** kirfu has quit IRC
[15:56:26] <glontu> so i should return a deffered from the success of the jsonp and resolve that my own way ?
[15:56:34] *** motionman has joined #angularjs
[15:57:19] *** mszrnyi has quit IRC
[15:57:31] <jtymes> what you can do is like var deferred = $q.defer(); $http.jsonp(blah).then(function(data) { deferred.resolve(data); }); return deferred.promise
[15:57:58] <FarLight> Is there any feature similar to jquery's $.load function in angularjs?
[15:58:08] <jtymes> you could have a check in there for your cache and then say if it's in the cache, then deferred.resolve(cachedData)
[15:58:16] <jtymes> that way you're always returning the one promise
[15:58:21] <jtymes> just resolving it differently
[15:58:29] *** sk87 has quit IRC
[15:58:45] *** moritzs has joined #angularjs
[15:59:01] <jtymes> FarLight: are you referring to loading a fragment of a page?
[15:59:05] <glontu> ok, i'll give it a try, thanks
[15:59:18] <FarLight> jtymes: Yes.
[15:59:25] *** kevrom has quit IRC
[15:59:28] *** tomfriedhof has joined #angularjs
[15:59:32] *** mary5030 has quit IRC
[15:59:37] <jtymes> np... http://www.webdeveasy.com/javascript-promises-and-angularjs-q-service/ this is actually a decent overview of different ways to set up promises
[15:59:38] <ctanga> how is that functionaly different from return $http.jsonp(blah)
[15:59:59] *** dcherman has joined #angularjs
[16:00:22] <jtymes> ctanga: because you don't always want to make that $http call
[16:00:26] *** bkuberek has quit IRC
[16:00:26] <ctanga> oic
[16:00:40] *** jdcasey has joined #angularjs
[16:00:49] *** vbabiy has joined #angularjs
[16:00:57] *** AngularUI has joined #angularjs
[16:00:57] <AngularUI> [ng-grid] c0bra pushed 2 new commits to master: http://git.io/PZAbug
[16:00:57] <AngularUI> ng-grid/master 4db574a Alexey Raspopov: unnecessary ternary operator
[16:00:57] <AngularUI> ng-grid/master 0d6e323 Brian Hann: Merge pull request #1610 from alexeyraspopov/patch-1...
[16:00:57] *** AngularUI has left #angularjs
[16:00:58] <jtymes> using $q just gives you a bit more flexibility
[16:01:32] *** arthas has quit IRC
[16:01:43] *** bayousoft has quit IRC
[16:01:54] *** zeroNones has joined #angularjs
[16:01:55] *** endash has joined #angularjs
[16:01:58] *** glontu has quit IRC
[16:02:00] <tangorri> I can't migrate to 1.3, bower update angular keeps on 1.3 even if bower.json has "angular": "1.3-rc.3", "angular": "1.3", etc ...
[16:02:11] <tangorri> keeps on 1.2 ...
[16:02:14] *** bayousoft has joined #angularjs
[16:02:32] *** borvoh_ has joined #angularjs
[16:03:03] *** justinmburrous has joined #angularjs
[16:03:19] <pellis> jtymes: yep. can you say if this is commonly used? or do people hand-wire their data persistence calls still?
[16:03:23] *** chromatome has joined #angularjs
[16:03:27] *** intellix has quit IRC
[16:03:49] *** Guest63131 has joined #angularjs
[16:04:11] *** Raging_Hog has quit IRC
[16:04:41] *** matthoiland has quit IRC
[16:04:50] <jtymes> pellis: i can't say one way or another, it's just the first one that came to mind. there's also something like https://github.com/mgonto/restangular
[16:05:00] *** eperez has joined #angularjs
[16:05:10] *** JesuZ has joined #angularjs
[16:05:13] *** borvoh has quit IRC
[16:05:20] *** caitp- has quit IRC
[16:05:31] *** Lingo___ has joined #angularjs
[16:05:32] <jtymes> it depends on what you're after. if you want data modeling, then those two are layers over $resource in a way. if you want persistence and can do the modeling your own way, you could try using something like angularfire
[16:05:56] *** annlewis has joined #angularjs
[16:06:08] *** mattwynne has joined #angularjs
[16:06:16] *** travm is now known as travm-afk
[16:07:07] *** JesuZ has quit IRC
[16:07:31] *** PepperPhD has joined #angularjs
[16:07:34] *** steffengy1 has joined #angularjs
[16:07:34] *** steffengy has quit IRC
[16:07:38] *** yoshokatana has joined #angularjs
[16:08:05] *** dccc_ has joined #angularjs
[16:08:14] *** mattwynn_ has joined #angularjs
[16:08:20] *** lsiv568 has joined #angularjs
[16:08:28] *** jdj_dk has quit IRC
[16:08:35] *** FunnyLookinHat has joined #angularjs
[16:09:34] *** the_fog has joined #angularjs
[16:09:37] *** jbourassa has joined #angularjs
[16:09:54] *** jbourassa has quit IRC
[16:10:29] *** mattwynne has quit IRC
[16:10:35] *** rud has joined #angularjs
[16:10:35] *** rud has joined #angularjs
[16:10:55] *** travm-afk is now known as travm
[16:11:18] *** caitp- has joined #angularjs
[16:11:26] <rockfordal> how do i lazy load everything with UI-router?
[16:12:07] *** cthrax has joined #angularjs
[16:12:10] *** JesuZ has joined #angularjs
[16:12:27] <pellis> jtymes: well, here's a simple problem. there's a list of items infront of you. you add one. do you POST to the server and that's it? do you POST, and GET the new list anyways (to sync)? do you POST, GET, and then resolve conflicts?
[16:12:32] *** Guest63131 has quit IRC
[16:12:34] *** recidive has quit IRC
[16:12:41] *** mattwynn_ has quit IRC
[16:12:56] <pellis> jtymes: and if you *are* getting the new content and re-rendering the whole list - how do you restore the users's temporary client-only work on the items?
[16:13:02] *** tykayn has joined #angularjs
[16:13:28] *** glosoli has joined #angularjs
[16:14:26] *** bmcquee has joined #angularjs
[16:14:28] *** zivester has quit IRC
[16:14:29] <pellis> jtymes: i guess a comfortable example would be a Todo list (todomvc isn't sync'ing back to servers i guess)
[16:14:29] *** ben_dev has joined #angularjs
[16:14:42] *** tomzx is now known as tomzx`afk
[16:14:50] *** LoveAndHappiness has quit IRC
[16:15:19] <jtymes> pellis: well, in the case of something that uses $resource, you'd only be working with one resource. so say you have /todos/list for your main call. each todo would be accessible at /todos/<id>
[16:15:29] *** matheuslc has joined #angularjs
[16:15:45] <jtymes> so if you add one, you post to the server to add it, get the response for *that item* and then just append it to the list
[16:16:02] <jtymes> you modify only that particular model
[16:16:19] *** tomfriedhof has quit IRC
[16:16:21] *** dman777_alter has joined #angularjs
[16:16:34] *** moru_ has joined #angularjs
[16:16:49] <jtymes> if you think it's something that would be concurrently modified, then you could also get the list again and resolve conflicts however you please
[16:16:54] *** PepperPhD has quit IRC
[16:17:15] *** glosoli has quit IRC
[16:17:17] <jtymes> but you can maintain UI state on the client and do the model updates behind the scenes
[16:17:26] *** borvoh_ has quit IRC
[16:17:32] *** ctanga has quit IRC
[16:17:38] <pellis> jtymes: hmm. yes, somehow something told me that the result of adding 1 item is the new list entirely.
[16:18:12] *** jiskiras has joined #angularjs
[16:18:37] *** borvoh has joined #angularjs
[16:18:39] <jtymes> it depends on how you set up your API. you could also do that, you'd just get the list again and add anything that isn't already in the model list
[16:18:53] *** Trow has quit IRC
[16:18:55] <pellis> yep. thanks
[16:18:58] *** bmcquee has quit IRC
[16:19:10] *** rburns has joined #angularjs
[16:19:58] *** arthas_ has joined #angularjs
[16:20:06] *** ctanga has joined #angularjs
[16:20:18] *** glosoli has joined #angularjs
[16:20:29] *** josefig has joined #angularjs
[16:20:39] *** sshaginyan has joined #angularjs
[16:21:02] *** kevrom has joined #angularjs
[16:21:02] *** canthugeverycat has quit IRC
[16:21:24] *** ag has quit IRC
[16:21:34] *** wa5ted_ has joined #angularjs
[16:22:32] *** wa5ted has quit IRC
[16:22:45] *** wa5ted_ is now known as wa5ted
[16:23:33] *** e0ipso|away is now known as e0ipso|away|away
[16:23:34] *** BahamutWC has quit IRC
[16:24:12] *** fbenoit has joined #angularjs
[16:24:20] *** VinceZa has quit IRC
[16:24:28] *** mszrnyi has joined #angularjs
[16:25:28] *** eburcat has quit IRC
[16:25:50] *** rburns has quit IRC
[16:26:03] *** burattino has quit IRC
[16:26:44] *** weirdcaveman has quit IRC
[16:27:50] *** rho_ has joined #angularjs
[16:28:17] *** hugofirth has quit IRC
[16:28:20] *** thomastuts has joined #angularjs
[16:28:22] *** EoN has quit IRC
[16:28:42] *** AtomicCookie has joined #angularjs
[16:30:04] *** FalsePozitive has quit IRC
[16:30:29] *** hugofirth has joined #angularjs
[16:30:40] *** FalsePozitive has joined #angularjs
[16:30:45] *** MasterGberry has quit IRC
[16:30:58] *** MasterGberry has joined #angularjs
[16:31:00] *** dcherman2 has joined #angularjs
[16:31:13] <shackleford> Since Angular makes a single instance of a service, if I make an API call from a controller via a service, will that returned data stay stored in the service during the apps lifecycle?
[16:31:18] *** caitp- has quit IRC
[16:31:38] *** kroogs1 has joined #angularjs
[16:31:45] *** rchavik has quit IRC
[16:32:36] *** absk007_ has joined #angularjs
[16:32:39] *** Trow has joined #angularjs
[16:32:48] *** absk007_ has quit IRC
[16:32:48] *** absk007_ has joined #angularjs
[16:32:51] *** mary5030 has joined #angularjs
[16:33:12] *** jeffscottward has joined #angularjs
[16:33:37] *** justinmburrous has quit IRC
[16:34:02] *** dcherman has quit IRC
[16:34:49] *** eperez has quit IRC
[16:35:06] *** jimmyy has quit IRC
[16:35:06] *** FalsePozitive has quit IRC
[16:35:36] *** jstroem has quit IRC
[16:35:55] *** Alex______ has joined #angularjs
[16:36:11] *** jstroem has joined #angularjs
[16:36:21] *** ben_dev has quit IRC
[16:36:30] *** xavia has joined #angularjs
[16:36:50] *** kroogs1 has quit IRC
[16:37:35] *** stephen_camilo has joined #angularjs
[16:37:36] *** ben_dev has joined #angularjs
[16:38:02] *** webus has quit IRC
[16:38:23] *** KidSk8N has quit IRC
[16:38:23] *** stephen_camilo has left #angularjs
[16:38:56] *** jstroem_ has joined #angularjs
[16:40:09] *** hcetrum has joined #angularjs
[16:40:18] *** jstroem has quit IRC
[16:40:31] *** dark_splinter has joined #angularjs
[16:40:39] <Alex______> hi
[16:40:46] <Alex______> there is someone from italy?
[16:41:01] *** cthrax has quit IRC
[16:41:16] *** orbsio has joined #angularjs
[16:41:59] *** jiskiras has quit IRC
[16:42:00] <hcetrum> Hi, I am having trouble importing data to my application using http. It seems as thought the size of the json may be too large. I was wondering if someone can help me find a workaround.
[16:42:54] *** ctanga has quit IRC
[16:43:12] *** eelseth-stdout has quit IRC
[16:43:17] *** deyno has joined #angularjs
[16:43:20] *** jstroem_ has quit IRC
[16:43:24] *** gnrlbzik has joined #angularjs
[16:43:34] <deyno> hey guys is there a way to fire an event when a radio group is changed?
[16:43:46] *** Alex______ has quit IRC
[16:44:38] *** tristanp has quit IRC
[16:45:02] *** bootsWitDaFur has joined #angularjs
[16:45:34] *** jiskiras has joined #angularjs
[16:46:20] *** favetelinguis has joined #angularjs
[16:47:52] *** shinnya has joined #angularjs
[16:47:58] *** ckboii89 has joined #angularjs
[16:48:01] <iksik> deyno: ng-change
[16:48:03] *** chanced has joined #angularjs
[16:48:20] *** needtolearnangjs has quit IRC
[16:48:41] *** jpstone has joined #angularjs
[16:48:56] *** phoenixw has joined #angularjs
[16:49:21] *** naneau has joined #angularjs
[16:49:45] *** zeroNones has quit IRC
[16:49:55] *** whunt has joined #angularjs
[16:50:41] <deyno> iksik: it seems to fire loads
[16:50:54] <deyno> i only want to do something when the user selects a different option
[16:51:02] <deyno> maybe a plunkr will help
[16:51:05] <deyno> hold on
[16:51:08] <iksik> http://plnkr.co/edit/yk1lwvIH8o6HOQgaPnAm?p=preview
[16:51:22] *** eperez has joined #angularjs
[16:51:40] *** jr3 has quit IRC
[16:51:41] *** hugofirth has quit IRC
[16:51:58] *** raibutera has joined #angularjs
[16:52:04] <raibutera> i'm at my wits end
[16:52:10] *** cthrax has joined #angularjs
[16:52:14] *** lilVaratep has joined #angularjs
[16:52:16] <jtymes> shackleford: if you use a cache or even a local variable within the service, yes. if the page is reloaded, then it'll be wiped out
[16:52:21] <raibutera> anyone got a recommendation for something like commonJS, requireJS or browserify
[16:52:24] <raibutera> for karma and mocha
[16:52:26] *** ckboii89 has quit IRC
[16:52:34] <raibutera> I just wanna be able to require some helper files :x
[16:53:30] <shackleford> is there a best practice to store (cache or local var) jtymes?
[16:54:19] *** absk007_ has quit IRC
[16:54:23] *** xdrone has quit IRC
[16:54:40] <jtymes> shackleford: if it's a GET, angular will cache it by default. otherwise you can use a $cacheFactory, or in your service after the call is complete, in your then() method you can set the response to a variable and check it on later calls
[16:54:43] *** erikpantzar has joined #angularjs
[16:55:21] *** Pyrrhus has quit IRC
[16:55:39] <shackleford> ok thanks
[16:56:06] *** tomzx`afk is now known as tomzx
[16:56:08] <jtymes> raibutera: what's going on?
[16:56:31] *** moru_ has quit IRC
[16:56:34] <hcetrum> Hi, I am having trouble importing data to my application using http. It seems as thought the size of the json may be too large. I was wondering if someone can help me find a workaround.
[16:56:35] *** elrabin_ has joined #angularjs
[16:56:44] <jtymes> hcetrum: how large is the json?
[16:56:53] <raibutera> jtymes if i use common js or browserify it looks like i have to hack around the fact that angular mocks uses the variable name "module"
[16:57:02] *** jeffscottward has quit IRC
[16:57:03] <hcetrum> it is dynamic and is build using a database query
[16:57:18] *** Swayz has joined #angularjs
[16:57:33] *** jeffscottward has joined #angularjs
[16:57:36] <hcetrum> It can range from 5 entries to 100 entries
[16:57:38] *** travm is now known as travm-afk
[16:57:50] *** thedodd has joined #angularjs
[16:57:52] *** favetelinguis has quit IRC
[16:57:55] *** zeroNones has joined #angularjs
[16:57:56] *** absk007_ has joined #angularjs
[16:57:56] *** absk007_ has joined #angularjs
[16:58:27] *** favetelinguis has joined #angularjs
[16:58:35] *** sonofdirt has joined #angularjs
[16:58:43] *** caitp- has joined #angularjs
[16:58:54] *** absk007_ has quit IRC
[16:59:09] <hcetrum> <jtymes>do you have an idea of what I can do?
[16:59:11] *** matheuslc has quit IRC
[16:59:12] *** __vlad has quit IRC
[16:59:14] *** pellis has quit IRC
[16:59:18] <jtymes> raibutera: hm...i'm not fully familiar with either of those to give any helpful advice. unless you had a way to use an IIFE and inject commonjs as another object and use like commonjs.module() instead of just module?
[16:59:20] *** fornax has joined #angularjs
[16:59:28] *** jstroem has joined #angularjs
[16:59:39] *** elrabin has quit IRC
[16:59:45] <jtymes> hcetrum: what part is failing? are you just not receiving the response? or is it not displaying the data?
[17:00:07] *** faveteli_ has joined #angularjs
[17:00:10] *** gurke_ has quit IRC
[17:00:20] *** favetelinguis has quit IRC
[17:00:21] *** elrabin_ has quit IRC
[17:01:22] <hcetrum> <jtymes> it is not recieving data (I am using php to build the json)
[17:01:59] *** rho_ is now known as rho
[17:02:14] *** rburns has joined #angularjs
[17:03:07] <masscrx> where should I put functions for autocomplete? for example I want to have in different places on app autocomplete options for countries, customers etc
[17:03:13] *** dcherman2 has quit IRC
[17:03:19] *** cacts|works has joined #angularjs
[17:03:28] *** hugorodrigues has quit IRC
[17:03:32] *** NoNMaDDeN has joined #angularjs
[17:03:35] <jtymes> do you have a page i can look at hcetrum ?
[17:03:51] <masscrx> so ex.form with 'new customer' and autocomplete for countries
[17:04:14] *** mennea has quit IRC
[17:04:22] *** Click66 has quit IRC
[17:04:24] <clearing> masscrx: without seeing project organization i would override the <input> element with a directive that takes an autocomplete object
[17:04:24] *** tekky has joined #angularjs
[17:04:30] <hcetrum> jtymes: I actually don't as it is behind a secure network
[17:05:09] *** snapwich has joined #angularjs
[17:05:10] *** squeakytoy has quit IRC
[17:05:11] *** hugofirth has joined #angularjs
[17:05:54] *** tristanp has joined #angularjs
[17:06:26] <jtymes> alright. uh..well, is the data actually coming back? if you open the network tab, is the browser making the call?
[17:06:42] <clearing> masscrx: make sure to add in `require: '?ngModel'` to the input directive to avoid breaking existing inputs
[17:07:10] *** lexek_ has quit IRC
[17:07:14] <jtymes> are you using get/post? $http.post('myUrl').then(function(data) { // do something with data }); ?
[17:07:23] *** Ramadurai has joined #angularjs
[17:07:34] *** jbourassa has joined #angularjs
[17:07:50] <Ramadurai> Hi frnds nice to meet you
[17:07:54] *** ctanga has joined #angularjs
[17:08:30] <tangorri> anyone trid 1.3 & svg directives ?
[17:08:36] *** josefig has left #angularjs
[17:08:42] <hcetrum> jtymes: It is making the call but not returning
[17:08:45] *** mattwynne has joined #angularjs
[17:09:23] <jtymes> hcetrum: so the server isn't bringing the data back to the browser?
[17:09:27] *** snapwich has quit IRC
[17:09:28] <masscrx> clearing but where to store all logic ? w8 i have a call
[17:09:52] <hcetrum> jtymes: yes, it works if the data set is smaller
[17:10:23] <hcetrum> jtymes: I am looking for a way to transfer a larger amount of data
[17:10:29] <jtymes> hcetrum: interesting...
[17:10:30] <clearing> masscrx: autocomplete logic would hopefully be the same regardless of the dataset, but you could always pass in custom html in the autocomplete object
[17:10:30] <Ramadurai> I would like to dynamically set the ng grid column header based on web service return value. could anybody help me in this regards
[17:10:33] *** mchammer has quit IRC
[17:10:42] *** dcherman has joined #angularjs
[17:10:45] <clearing> masscrx: house the logic in the <input> controller
[17:11:05] <hcetrum> jtymes: Currently I am using $http.post but it is not working
[17:11:13] <clearing> if it's wildly configurable/different from standard <input> then you could make a new directive
[17:11:29] *** tykayn has quit IRC
[17:11:37] *** agulator has joined #angularjs
[17:11:41] <masscrx> clearing: by 'logic' I mean functions for retrieving from backend $http
[17:11:44] <Ramadurai> Hi team anybody help me
[17:11:49] <clearing> ah okay
[17:11:53] *** Hedja has quit IRC
[17:11:59] <masscrx> co make some controllers for autocomplete, and then include or how to organize it ?
[17:12:31] <agulator> Hi, I'm using the built in router so when someone clicks a link to #/blah it shows a certain view, but when I click between them, I don't want it to delete/re-render each view, I just want it to hide and show them - how would I go about this?
[17:12:33] *** darrin has quit IRC
[17:12:51] *** RogerWS has quit IRC
[17:12:56] <jtymes> hcetrum: i'm really not sure...if you use a program like POSTMan or something, do you get all the data back? I'm curious because it seems like if the browser can load it, angular will load it
[17:13:13] *** mattwynne has quit IRC
[17:13:17] *** VinceZa has joined #angularjs
[17:13:33] <jtymes> Ramadurai: what version of ng grid are you using?
[17:13:36] *** jstroem has quit IRC
[17:14:19] *** jstroem has joined #angularjs
[17:14:43] <clearing> masscrx: i would just get the data via $http and pass it in once its resolved
[17:15:09] *** tristanp has quit IRC
[17:15:24] *** JesuZ has quit IRC
[17:15:29] <clearing> in the controller it should just have logic for how autocomplete behaves i.e. keypresses, selection, etc
[17:16:36] <Ramadurai> Hi clearing could you spend few mints for me.
[17:16:43] *** darrin has joined #angularjs
[17:16:50] *** hcetrum has quit IRC
[17:17:10] *** conan_the_destro has joined #angularjs
[17:17:17] <clearing> not super familiar w/ ng-grid unfortunately
[17:17:47] <clearing> this might help though @Ramadurai http://stackoverflow.com/questions/26126884/bind-dynamic-array-to-column-headers
[17:18:09] <Ramadurai> I just give out my requirement. if possible help me yar
[17:18:18] *** Hedja has joined #angularjs
[17:18:24] *** JesuZ has joined #angularjs
[17:18:32] *** jstroem has quit IRC
[17:18:41] *** JesuZ has quit IRC
[17:18:49] <jtymes> Ramadurai: you can update the column headers in the columnDefs object
[17:19:04] <Ramadurai> yes but I would like to dynamically set the ng grid column header based on web service return value. could anybody help me in this regards
[17:19:22] *** JesuZ has joined #angularjs
[17:19:23] <clearing> that SO answer should cover it, check their edits
[17:19:24] *** BahamutWC|Work has joined #angularjs
[17:19:52] <jtymes> yeah, make the call to the web service to get your value and then update the columnDef.displayName
[17:19:53] *** hiptobecubic has joined #angularjs
[17:19:57] *** ggrzybek has quit IRC
[17:20:03] *** Mxyzpltk has quit IRC
[17:20:15] *** bmcquee has joined #angularjs
[17:20:21] <hiptobecubic> Any idea why this modal looks so terrible? Click the marker, then click the button.
[17:20:25] <hiptobecubic> http://plnkr.co/edit/MAQ6AhpKeQqz84fH4iU5?p=preview
[17:20:27] *** motionman has quit IRC
[17:20:35] <deyno> iksik: http://plnkr.co/edit/Rq7TuT3L2sHS86mPdKIU?p=preview
[17:20:41] <deyno> it seems to work
[17:20:46] <deyno> just the animation thats not
[17:20:47] *** krawek has joined #angularjs
[17:20:54] <Ramadurai> ya i did same but column header not updating
[17:21:03] *** artisangoose has joined #angularjs
[17:21:08] *** bmcquee has quit IRC
[17:21:32] <Ramadurai> is there any ref link could you share
[17:21:52] *** bmcquee has joined #angularjs
[17:22:09] <deyno> (because i didnt include it :)
[17:22:12] <jtymes> after changing the column def did you refresh the grid?
[17:22:22] *** DaReaper has joined #angularjs
[17:22:26] <DaReaper> hey all, i need to filter the options in ng-options or hide ones that are applicable. I am having trouble using filter: because I am using an object and not an array
[17:22:28] <jtymes> i'm not super familiar with ng-grid either
[17:22:36] *** skammer4 has quit IRC
[17:22:38] *** sacho has joined #angularjs
[17:22:45] <Ramadurai> no... how can i refresh
[17:22:45] <DaReaper> My filter attempt: filter:params.type==type.value
[17:23:15] *** RogerWS has joined #angularjs
[17:23:17] <jtymes> call grid.refresh() http://ui-grid.info/docs/#/api/ui.grid.core.api:PublicApi
[17:23:25] <hiptobecubic> By "looks terrible" I of course mean "is invisible"
[17:23:35] *** hugofirth has quit IRC
[17:23:43] *** thomastuts has quit IRC
[17:23:44] <clearing> i was wondering about that, lol
[17:23:51] <Ramadurai> ok thanks jtymes. i will try . have good day.
[17:24:04] <hiptobecubic> clearing, :D
[17:24:05] <jtymes> no problem...hope it works! :)
[17:24:44] *** JesuZ has quit IRC
[17:25:13] <tekky> hmm is ng-boilderplate still the defacto boilerplate or has something replaced it in the last 5 months?
[17:25:31] *** simb has joined #angularjs
[17:25:36] <DaReaper> help? Again, I am just trying to filter or hide values from ng-options. Google is not helping
[17:26:25] *** ckboii89 has joined #angularjs
[17:26:32] *** djam90 has quit IRC
[17:26:56] *** whunt has quit IRC
[17:27:04] <BahamutWC|Work> tekky: I like generator-angular with yeoman more
[17:27:06] *** krawek has quit IRC
[17:27:23] *** kewark has joined #angularjs
[17:27:27] *** kewark has joined #angularjs
[17:27:34] *** fairchild has joined #angularjs
[17:28:06] <jtymes> hiptobecubic: http://plnkr.co/edit/nb3cfbJTQgrNpZICYERr?p=preview
[17:28:24] <jtymes> hiptobecubic: your modal html had too much in it. you only need the modal-header pieces
[17:28:38] <hiptobecubic> dammit
[17:28:43] <hiptobecubic> *hours*
[17:28:47] <hiptobecubic> hours i spent last night looking at this
[17:28:53] <jtymes> like modal-header, modal-body, modal-footer
[17:28:54] <hiptobecubic> fucking internet
[17:28:58] <hiptobecubic> jtymes, thanks :)
[17:29:04] <agulator> Hi, I'm using the built in router so when someone clicks a link to #/blah it shows a certain view, but when I click between them, I don't want it to delete/re-render each view, I just want it to hide and show them - how would I go about this?
[17:29:05] <jtymes> the rest is provided by $modal :)
[17:29:15] *** gnrlbzik has quit IRC
[17:29:18] <jtymes> no problem, just takes another set of eyes...and i use modal haha
[17:29:31] * hiptobecubic misses the good old days of single threaded command line only "apps"
[17:29:33] *** x4e has quit IRC
[17:29:53] <Siecje> When I try to send a $http.delete request only an OPTIONS request is sent.
[17:30:04] *** rburns has quit IRC
[17:30:05] <hiptobecubic> angular has been pretty interesting so far, but I feel like I have no idea what's going
[17:30:05] *** simb has quit IRC
[17:30:09] <hiptobecubic> going on*, rather
[17:30:10] <iksik> Siecje: and what kind of response code it gets??
[17:30:15] *** chrisbirk has joined #angularjs
[17:30:16] *** eburcat has joined #angularjs
[17:30:25] <Siecje> iksik: 200
[17:30:30] <deyno> hey guys how can i animate an ng-repeat to fade in from bottom of page?
[17:30:34] <jtymes> hiptobecubic: oh, i've been using angular for 2 years and i still don't know what is going on half the time :)
[17:30:35] <deyno> ive got the fade working
[17:30:42] *** CHC has joined #angularjs
[17:30:43] <hiptobecubic> I usually end up hacking together some crazy garbage and then trying to figure out how to angularize it afterwards
[17:30:45] *** erikpantzar has quit IRC
[17:30:47] <iksik> Siecje: that's odd ;-P
[17:30:52] <hiptobecubic> which i feel like is a bad approach
[17:31:08] *** whunt has joined #angularjs
[17:31:11] <hiptobecubic> I'm pretty shocked any of this works at all, actually
[17:31:14] *** orbsio has quit IRC
[17:31:17] <jtymes> :D
[17:31:18] <iksik> lol ;-)
[17:31:29] *** chanced has quit IRC
[17:31:42] *** kroogs1 has joined #angularjs
[17:31:49] *** agulator has quit IRC
[17:32:04] *** phuh has joined #angularjs
[17:32:04] *** chanced has joined #angularjs
[17:32:58] *** mrogne has quit IRC
[17:33:07] <DaReaper> hey again, can anyone help me with ng-options? I want to either filter while using objects or hide in <option>
[17:33:23] *** mszrnyi has quit IRC
[17:33:37] *** patrick99e99 has joined #angularjs
[17:33:37] <Siecje> iksik: http://i.imgur.com/Ol14L10.png
[17:33:57] <jtymes> sorry, DaReaper could you explain it again?
[17:34:20] *** tangorri has quit IRC
[17:34:31] <DaReaper> jtymes: i want to exclude items from ng-options. I cant get filter to work, and i dont know if i can use ng-hide
[17:34:43] <Siecje> I also have this issue with PUT
[17:35:02] <zomg> DaReaper: pretty sure you should be able to do f.ex. ng-options="listOfOptions | someFilter"
[17:35:18] *** Hedja has quit IRC
[17:35:20] <zomg> if it's not working, there's probably a problem with your filter
[17:35:25] <DaReaper> zomg: filter:params.type==type.value does not work
[17:35:36] <zomg> yeah because that's wrong =)
[17:35:41] <zomg> you can't just invent syntax
[17:35:47] *** travm-afk is now known as travm
[17:35:48] <DaReaper> whole thing: name as params.display_name for (name, params) in editing.taskModel.fieldParams | filter:params.type==type.value
[17:35:50] *** mupkoo has quit IRC
[17:36:04] <DaReaper> zomg: thought that was wrong, but i have tried a lot of differnt ways, all from google
[17:36:06] *** kirfu has joined #angularjs
[17:36:33] *** chanced has quit IRC
[17:36:40] <zomg> try filter:'params.type==type.value'
[17:36:48] <zomg> I think it supports an expression, but it needs to be a string
[17:37:04] *** kroogs1 has quit IRC
[17:37:27] <jtymes> otherwise you'll need to create a custom filter function
[17:38:02] <zomg> or possibly filter:params.type:type.value
[17:38:11] *** c00ljs has quit IRC
[17:38:12] <zomg> haven't used `filter` that much, mostly used custom filtering functions
[17:38:19] *** patrick99e99 has quit IRC
[17:38:20] <zomg> https://docs.angularjs.org/api/ng/filter/filter
[17:38:22] <zomg> ^ docs
[17:38:27] *** darrin has quit IRC
[17:38:34] *** nickgs has joined #angularjs
[17:38:35] *** tristanp has joined #angularjs
[17:38:41] *** MacWinner has quit IRC
[17:38:45] *** stanthedev has joined #angularjs
[17:39:01] *** artivilla99__ has joined #angularjs
[17:39:16] *** MANCHUCK has joined #angularjs
[17:39:44] <DaReaper> zomg: still not working
[17:40:07] *** eburcat has quit IRC
[17:40:10] *** FarLight has quit IRC
[17:40:34] *** [eq]andrepm has joined #angularjs
[17:40:40] *** eburcat has joined #angularjs
[17:40:54] *** cthrax has quit IRC
[17:41:07] *** jeffscottward has quit IRC
[17:41:21] *** darrin has joined #angularjs
[17:41:29] *** visionary has joined #angularjs
[17:41:36] *** gnrlbzik has joined #angularjs
[17:42:04] *** darrin has quit IRC
[17:42:33] *** telly has quit IRC
[17:42:52] <jtymes> I'll take a look at it in a sec...I do something similar but with a custom filter
[17:43:02] <tekky> BahamutWC|Work: hmmm wil take a look at that, part of our team wants to try and avoid installing extra stuff, but if nothing else, the pattern it uses may suffice
[17:43:06] *** iSUSE has quit IRC
[17:43:41] <BahamutWC|Work> tekky: it seems all of the scaffolds out there for angular do lack in a critical way though
[17:43:50] <tekky> BahamutWC|Work: oh?
[17:44:01] *** rburns has joined #angularjs
[17:44:01] *** simb has joined #angularjs
[17:44:06] <BahamutWC|Work> generally you want to have an app folder and in that folder have a modules folder, where you break down components by module
[17:44:15] <chexxor> how do I debug a test which fails when run by the grunt jasmine task/
[17:44:16] *** jerev is now known as jerev_away
[17:44:22] <BahamutWC|Work> none of the scaffolds I’ve seen seem to organize their scripts like that
[17:44:23] <DaReaper> Also, I do NOT want to use a custom filter because they are insanely inefficient i find.
[17:44:24] *** jonr22 has quit IRC
[17:44:41] *** mjs2600 has quit IRC
[17:44:44] *** xdrone has joined #angularjs
[17:44:50] <BahamutWC|Work> instead everyone does app -> scripts and in the scripts folder, there are controllers, filters, directives, and services folders
[17:44:50] *** lilVaratep has quit IRC
[17:45:02] *** milka has quit IRC
[17:45:16] <jtymes> you're already attempting to use one
[17:45:17] <BahamutWC|Work> but that’s something you can tweak around yourself (with some gruntfile modifications too)
[17:45:18] *** mjs2600 has joined #angularjs
[17:45:24] *** eperez has quit IRC
[17:45:37] *** brian_ has joined #angularjs
[17:45:46] <BahamutWC|Work> DaReaper: you could do filter: filterFunc and define $scope.filterFunc = function (item) { … }
[17:45:59] <BahamutWC|Work> custom filters are useful anyhow
[17:45:59] <jtymes> ^
[17:46:32] *** chanced has joined #angularjs
[17:47:08] *** fairchild has quit IRC
[17:47:48] *** Evanion has quit IRC
[17:48:50] *** simb has quit IRC
[17:48:52] <DaReaper> BahamutWC|Work: i just said i dont want to use custom filters, they are very inefficient i find
[17:48:53] *** darrin has joined #angularjs
[17:49:06] *** icfantv has joined #angularjs
[17:49:12] <BahamutWC|Work> they’re only as inefficient as your code
[17:49:26] *** jeffscottward has joined #angularjs
[17:49:36] <zomg> yep, `filter` itself is implemented as a custom filter.. it just happens to compare things in that way =)
[17:49:38] *** jeffscottward has quit IRC
[17:49:43] *** nickgs has quit IRC
[17:50:02] *** Foxandxss has quit IRC
[17:50:04] *** Guest46071 has quit IRC
[17:50:28] *** eperez has joined #angularjs
[17:50:42] <DaReaper> BahamutWC|Work: true, i could try them again...
[17:50:44] *** chrisbirk has quit IRC
[17:50:49] <jtymes> how many items are you working with ehre?
[17:51:06] *** pillage has quit IRC
[17:51:09] <jtymes> i'd be curious to see if you're experiencing a perceptible inefficiency
[17:51:13] *** cthrax has joined #angularjs
[17:51:34] <Siecje> Why would $http.put and $http.delete not work?
[17:51:49] *** MaxV has quit IRC
[17:51:52] <jtymes> what browser and what server
[17:52:13] *** juampy has joined #angularjs
[17:52:49] *** magellanicloud_ has joined #angularjs
[17:52:59] *** asgwar12 has joined #angularjs
[17:53:11] <asgwar12> http://stackoverflow.com/questions/26130056/angularjs-filter-to-show-another-value-from-db-based-on-value-in-iteration can anyone please help anaswer this
[17:53:16] <DaReaper> ok, im trying to get a basic example working but having stupid issues. How do i get the select to work: http://plnkr.co/edit/9p3eK5BrH3l6c53h7TZz?p=preview
[17:53:19] *** bengilli_ has joined #angularjs
[17:53:24] *** mtsr has quit IRC
[17:53:35] *** matthoiland has joined #angularjs
[17:54:00] <Siecje> jtymes: Both Firefox and Chrome and the backend is Flask
[17:54:11] *** tahoemph has joined #angularjs
[17:54:41] *** herm1t has quit IRC
[17:55:16] *** heidi has joined #angularjs
[17:55:42] *** bengillies has quit IRC
[17:55:44] *** bayousoft has quit IRC
[17:55:51] *** hecspc has quit IRC
[17:56:00] <jtymes> sihm
[17:56:05] <jtymes> lol woops.
[17:56:07] *** bayousoft has joined #angularjs
[17:56:08] <jtymes> hm**
[17:56:18] *** Zaran has joined #angularjs
[17:56:30] <DaReaper> can someone help me out? http://plnkr.co/edit/9p3eK5BrH3l6c53h7TZz?p=preview probably a silly issue
[17:56:38] <Ramadurai> hi
[17:56:38] *** nickgs has joined #angularjs
[17:56:56] <Ramadurai> jtymes
[17:57:03] <jtymes> hey
[17:57:04] *** anivemin has joined #angularjs
[17:57:14] *** sk87 has joined #angularjs
[17:57:20] <Ramadurai> there is no such a ng grid refresh option
[17:57:20] *** lsiv568 has quit IRC
[17:57:22] <Ramadurai> http://webchat.freenode.net/?channels=angularjs&uio=d4
[17:57:28] *** Efrem is now known as Efrem-Away
[17:57:35] *** jacuqesdancona__ has quit IRC
[17:57:42] <Ramadurai> $scope.gridOptions.columnDefs[0].displayName = "rama";
[17:57:53] *** ikevin_______ is now known as ikevin_
[17:58:08] *** jacuqesdancona__ has joined #angularjs
[17:58:15] *** matthoiland has quit IRC
[17:58:32] <Ramadurai> ng grid header name not updated ....
[17:59:13] *** scotttrinh has joined #angularjs
[17:59:19] *** jdj_dk has joined #angularjs
[17:59:23] *** caitp- has quit IRC
[17:59:31] <jtymes> i'll see what I can figure out after i grab some lunch
[17:59:33] *** jdj_dk has quit IRC
[17:59:41] *** RogerWS has quit IRC
[17:59:49] *** caitp- has joined #angularjs
[18:00:07] <scotttrinh> I'm trying to set up a unit testing environment with testem/jasmine and I'm getting a pretty crazy error when I try to use inject(). Anyone have any insight?
[18:00:13] *** deyno has quit IRC
[18:00:17] <scotttrinh> module() works fine, btw
[18:01:17] *** Katalyst has quit IRC
[18:01:33] *** jbourassa has quit IRC
[18:01:53] *** anivemin has quit IRC
[18:02:39] *** richiebkr has joined #angularjs
[18:02:45] *** jacuqesdancona__ has quit IRC
[18:03:07] *** knownasilya has quit IRC
[18:03:08] *** mstefanko has quit IRC
[18:03:09] *** smathson has joined #angularjs
[18:03:14] *** whitebook has joined #angularjs
[18:03:27] *** Guest81863 has joined #angularjs
[18:03:40] *** eburcat has quit IRC
[18:03:49] *** the_fog_ has joined #angularjs
[18:04:01] <asgwar12> http://stackoverflow.com/questions/26130056/angularjs-filter-to-show-another-value-from-db-based-on-value-in-iteration can someone please help answer this
[18:04:10] <DaReaper> Ok, i have this plunker atm, im trying to use filter properly: http://plnkr.co/edit/FhudnSPTlA82k1hYOp6q?p=preview
[18:04:27] *** nfroidure has quit IRC
[18:04:46] *** jacuqesdancona__ has joined #angularjs
[18:04:55] *** braidn has quit IRC
[18:05:29] <DaReaper> is it even possible to use filter with object sources?
[18:05:59] *** NormySan has joined #angularjs
[18:06:01] *** eburcat has joined #angularjs
[18:06:06] *** eburcat has quit IRC
[18:06:14] *** cthrax has quit IRC
[18:06:16] *** fbenoit has quit IRC
[18:06:18] *** anderskristo has quit IRC
[18:06:20] *** g3funk has joined #angularjs
[18:06:33] *** Mattias has quit IRC
[18:06:35] *** borvoh_ has joined #angularjs
[18:06:44] *** the_fog has quit IRC
[18:06:47] *** jiskiras has quit IRC
[18:07:16] *** FlyingDog has joined #angularjs
[18:07:18] *** MasterGberry has quit IRC
[18:07:33] *** mennea has joined #angularjs
[18:07:57] *** MasterGberry has joined #angularjs
[18:08:18] <jtymes> DaReaper: you need ng-model on a select with ng options
[18:08:20] *** the_fog_ has quit IRC
[18:08:27] *** Mattias has joined #angularjs
[18:08:29] *** jiskiras has joined #angularjs
[18:08:30] *** anderskristo has joined #angularjs
[18:08:33] *** jiskiras has quit IRC
[18:08:43] <DaReaper> jtymes: yupp i got my second link to work
[18:08:47] <zumba_addict> folks, I need ideas regarding ng-repeat and infinite $digest loop. The issue doesn't happen in Chrome. It only happens in Safari and Firefox. This is how I'm doing it. I have a $scope.chartCollection which will be dynamically be populated with Google Chart objects. The $scope.chartCollection can have 1 or more google chart objects. In my html template, I have this code, <div ng-repeat="device in cha
[18:08:47] <zumba_addict> rtCollection"> so I can display each chart in separate divs. It works really well in Chrome but not in Firefox and Safari.
[18:08:47] <jtymes> k
[18:08:57] <jtymes> now for lunch. i'll see if i can help you after
[18:09:00] <DaReaper> jtymes: http://plnkr.co/edit/AZ0fVjP7LX76rw92xRKL?p=preview, but still having issues with filter
[18:09:04] *** Guest81863 has quit IRC
[18:09:04] *** borvoh has quit IRC
[18:09:06] <DaReaper> anyquick tips?
[18:09:11] *** jiskiras has joined #angularjs
[18:09:20] <fission6> http://dpaste.com/0K5R914 is this the right way to use if statments
[18:09:23] *** jacuqesdancona__ has quit IRC
[18:09:30] *** mattwynne has joined #angularjs
[18:09:50] *** duall has joined #angularjs
[18:09:55] *** jacuqesdancona__ has joined #angularjs
[18:10:11] *** RogerWS has joined #angularjs
[18:10:21] *** fairchild has joined #angularjs
[18:10:26] *** stanthedev has quit IRC
[18:10:31] <duall> why I have to do {{ $parent.data.stuff }} instead of {{ data.stuff }}, if its inside NG-IF block
[18:10:41] *** gurke_ has joined #angularjs
[18:10:54] <duall> shouldn't angular inherit ?
[18:10:54] *** MacWinner has joined #angularjs
[18:10:56] *** cthrax has joined #angularjs
[18:10:59] *** MacWinner has quit IRC
[18:11:10] *** iribarne has joined #angularjs
[18:11:28] *** wbyoko has joined #angularjs
[18:11:56] *** klaut has quit IRC
[18:11:58] <tekky> BahamutWC|Work: well I do like how thorough the setup for yeoman angular is... didnt have to install missing anything and restart the process at all -- rather refreshing
[18:12:01] *** wbyoko has quit IRC
[18:12:59] <asgwar12> http://stackoverflow.com/questions/26130056/angularjs-filter-to-show-another-value-from-db-based-on-value-in-iteration
[18:13:11] *** marko__ has joined #angularjs
[18:13:12] *** bkuberek has joined #angularjs
[18:13:13] *** bpmj has joined #angularjs
[18:13:20] *** tarnus_ has joined #angularjs
[18:13:25] *** Owner_ has joined #angularjs
[18:13:36] *** eperez_ has joined #angularjs
[18:13:49] *** Owner_ is now known as Guest74017
[18:13:50] *** frostig has joined #angularjs
[18:14:11] *** bkuberek_ has joined #angularjs
[18:14:16] *** youngnico_ has joined #angularjs
[18:14:22] <duall> ended up doing: ng-show="$parent.$parent.$parent.$parent.data.detailedView.latLng" which i feel is wrong ;/
[18:14:25] *** jacuqesdancona__ has quit IRC
[18:14:25] *** mattwynne has quit IRC
[18:14:25] *** tschundeee has quit IRC
[18:14:31] *** baweaver has joined #angularjs
[18:14:41] *** nickgs has quit IRC
[18:14:49] *** zz_zorch_ has joined #angularjs
[18:14:49] *** whitebook has quit IRC
[18:14:58] *** k308de has joined #angularjs
[18:15:04] *** tschundeee has joined #angularjs
[18:15:07] *** tof_ has joined #angularjs
[18:15:12] <themime> I'm so close to convincing my boss and new hires to use angular for our upcoming complete overhaul!
[18:15:42] *** airtonix_ has joined #angularjs
[18:15:46] *** speakingcode has joined #angularjs
[18:15:55] *** uchuff has joined #angularjs
[18:16:01] <fission6> is there a handy way to disable a link <a> using angular diretive
[18:16:16] <whatadewitt> having a helluva time understanding karma, just trying to write a simple test here... where i basically am saying "object on scope should be undefined, load object with id 1, object on scope should have id 1" but i keep getting an error because scope.object is undefined after i say scope.loadObject(1)
[18:16:38] <whatadewitt> do i need to say scope.object = scope.loadObject(1) even though loadObject sets scope.object?
[18:16:45] *** gjaldon has joined #angularjs
[18:16:54] *** kd`_ has joined #angularjs
[18:16:57] *** toin0u|a1ay has joined #angularjs
[18:17:00] *** qmfnp is now known as qmfnp_lunch
[18:17:00] *** travm is now known as travm-afk
[18:17:04] *** JimTheDev` has joined #angularjs
[18:17:05] <FlyingDog> Hi, I'm looking to display items dynamically from a json but they need to be displayed in a way more than standard ng-repeat examples seem to allow. Is there other, better ways to display dynamic page elements?
[18:17:06] *** sakustar_ has joined #angularjs
[18:17:12] *** johnstorey has quit IRC
[18:17:14] *** kriskrop1 has joined #angularjs
[18:17:19] *** sshaginyan has quit IRC
[18:17:21] *** pillage has joined #angularjs
[18:17:25] *** kanzure_ has joined #angularjs
[18:17:31] *** anderskristo_ has joined #angularjs
[18:17:34] *** iribarne_ has joined #angularjs
[18:17:36] *** lilVaratep has joined #angularjs
[18:17:36] *** Somatt_ has joined #angularjs
[18:17:37] *** bsutt_ has joined #angularjs
[18:17:43] *** youngnico has quit IRC
[18:17:43] *** JayFK has quit IRC
[18:17:44] *** k308 has quit IRC
[18:17:44] *** MasterGberry has quit IRC
[18:17:45] *** glosoli has quit IRC
[18:17:46] *** zorch_ has quit IRC
[18:17:47] *** zonetti has quit IRC
[18:17:47] *** anderskristo has quit IRC
[18:17:47] *** tof has quit IRC
[18:17:48] *** RedOrangeZ has quit IRC
[18:17:48] *** kanzure has quit IRC
[18:17:48] *** kriskropd has quit IRC
[18:17:49] *** toin0u|away has quit IRC
[18:17:51] *** iribarne has quit IRC
[18:17:52] *** eperez has quit IRC
[18:17:52] *** FunnyLookinHat has quit IRC
[18:17:52] *** tarnus has quit IRC
[18:17:53] *** VeeWee has quit IRC
[18:17:54] *** ingsoc has quit IRC
[18:17:54] *** speaking1ode has quit IRC
[18:17:54] *** kd` has quit IRC
[18:17:57] *** Somatt has quit IRC
[18:17:57] *** sssilver has quit IRC
[18:17:58] *** bsutt has quit IRC
[18:17:59] *** sakustar has quit IRC
[18:17:59] *** caitp- has quit IRC
[18:18:02] *** cannap has quit IRC
[18:18:03] *** Grokling has quit IRC
[18:18:03] *** airtonix has quit IRC
[18:18:04] *** wookiehangover has quit IRC
[18:18:06] *** Veejay has quit IRC
[18:18:06] *** maegeri has quit IRC
[18:18:08] *** bengilli_ has quit IRC
[18:18:09] *** mtho11 has quit IRC
[18:18:09] *** systematik has quit IRC
[18:18:10] *** cpitt has quit IRC
[18:18:12] *** youngnico_ is now known as youngnico
[18:18:12] *** zz_zorch_ is now known as zorch_
[18:18:13] *** iribarne_ is now known as iribarne
[18:18:14] *** systemat1k has joined #angularjs
[18:18:15] *** MasterGberry has joined #angularjs
[18:18:15] *** bkuberek has quit IRC
[18:18:16] *** wookiehangover has joined #angularjs
[18:18:16] *** Grokling has joined #angularjs
[18:18:18] *** RedOrangeZ has joined #angularjs
[18:18:18] *** caitp has joined #angularjs
[18:18:36] *** sssilver has joined #angularjs
[18:18:37] *** zonetti has joined #angularjs
[18:18:48] *** maegeri has joined #angularjs
[18:19:00] *** MasterGberry has quit IRC
[18:19:00] *** bengillies has joined #angularjs
[18:19:13] *** MasterGberry has joined #angularjs
[18:19:23] *** FunnyLookinHat has joined #angularjs
[18:19:28] *** Ramadurai has quit IRC
[18:19:33] *** cpitt has joined #angularjs
[18:19:37] *** tschundeee has quit IRC
[18:20:14] *** optikalmouse has joined #angularjs
[18:20:15] *** phoenixw has quit IRC
[18:20:15] *** ingsoc has joined #angularjs
[18:20:25] *** bkuberek_ has quit IRC
[18:20:31] *** glosoli has joined #angularjs
[18:20:35] *** glosoli has quit IRC
[18:20:42] <asgwar12> anybody? http://stackoverflow.com/questions/26130056/angularjs-filter-to-show-another-value-from-db-based-on-value-in-iteration
[18:21:00] *** Veejay has joined #angularjs
[18:21:10] *** jonathanpglick has joined #angularjs
[18:21:14] <scotttrinh> Can anyone help me troubleshoot my testing setup? I think there is something really simple going wrong, but the error message i'm getting is not helpful.
[18:21:54] *** bengilli_ has joined #angularjs
[18:21:58] *** andern has quit IRC
[18:22:06] <scotttrinh> Literally just putting "beforeEach(inject())" causes a crazy error in Jasmine. module() works fine, btw.
[18:22:08] *** kevrom has quit IRC
[18:22:43] *** rhp has joined #angularjs
[18:23:05] *** andern has joined #angularjs
[18:23:24] *** eperez_ has quit IRC
[18:23:49] *** stanthedev has joined #angularjs
[18:24:17] *** bengillies has quit IRC
[18:24:26] *** gjaldon has quit IRC
[18:24:41] *** glosoli has joined #angularjs
[18:24:43] *** RobinBAwesome has joined #angularjs
[18:24:57] *** gjaldon has joined #angularjs
[18:25:32] *** pillage has quit IRC
[18:26:17] *** sk87 has quit IRC
[18:26:27] *** Guest78128 has joined #angularjs
[18:27:18] *** whitebook has joined #angularjs
[18:27:59] *** arabot has joined #angularjs
[18:28:34] *** eperez has joined #angularjs
[18:30:07] *** scrapmetal__ has quit IRC
[18:30:22] *** eburcat has joined #angularjs
[18:30:33] *** bphogan is now known as bphogan_afk
[18:30:45] *** danecando has quit IRC
[18:30:49] *** Siyfion has quit IRC
[18:31:27] *** kenavr has quit IRC
[18:31:38] *** MaxV has joined #angularjs
[18:31:42] *** kroogs1 has joined #angularjs
[18:31:43] *** cam_y has joined #angularjs
[18:32:02] *** cam_y has quit IRC
[18:32:03] *** autolycus has joined #angularjs
[18:32:22] *** sandwich_crust has quit IRC
[18:32:32] *** ttl117 has joined #angularjs
[18:33:09] *** kenavr has joined #angularjs
[18:33:10] *** mrogne has joined #angularjs
[18:33:22] *** mupkoo has joined #angularjs
[18:33:23] <FlyingDog> I understand how I can use ng-repeat, but how can I have angular change what it writes based on variables?
[18:33:37] <jtymes> DaReaper: i'm back...gonna try to see if i can get your stuff working
[18:33:46] *** svycka has quit IRC
[18:34:09] *** gunn has quit IRC
[18:34:50] <ttl117> Hi. I'm writing a module consisting of several ui-router views and controllers. I have module.js where I declare my module and config, how can I include controllers from other files inside module.js?
[18:35:16] *** wa5ted_ has joined #angularjs
[18:35:54] *** guilbep has quit IRC
[18:35:59] *** mtho11 has joined #angularjs
[18:36:20] *** _pid1 has joined #angularjs
[18:36:42] *** Mattias has quit IRC
[18:37:04] *** Mattias has joined #angularjs
[18:37:11] *** rho has quit IRC
[18:37:19] <jscarmona> how do you wait for a child directive inside a parent directive to finish loading before you can initalize the parent directive
[18:37:32] *** patrickarlt has joined #angularjs
[18:37:34] *** kroogs1 has quit IRC
[18:37:44] *** _pid has quit IRC
[18:37:45] *** Eiam has joined #angularjs
[18:37:47] *** scrooge_mcduck has quit IRC
[18:37:48] *** dan2k3k4 has joined #angularjs
[18:37:53] *** JoshGlzBrk has joined #angularjs
[18:37:55] *** eburcat has quit IRC
[18:38:08] <clearing> you can use $broadcast in the child directive
[18:38:31] <cacts|works> $emit
[18:38:32] *** eburcat has joined #angularjs
[18:38:33] <clearing> and put the initialization code in the broadcast receive handler
[18:38:35] *** ben_dev has quit IRC
[18:38:51] <cacts|works> avoid using $broadcast
[18:38:53] *** gjaldon has quit IRC
[18:38:53] <clearing> er yeah, emit would be better
[18:39:02] *** wa5ted has quit IRC
[18:39:10] *** wa5ted_ is now known as wa5ted
[18:39:11] <clearing> broadcast goes down
[18:39:27] <jscarmona> the problem is diffrent child directives can be loaded inside the parent directive
[18:39:27] *** gjaldon has joined #angularjs
[18:39:29] <clearing> "better" == correct
[18:39:30] *** danecando has joined #angularjs
[18:39:52] *** night-ow_ has joined #angularjs
[18:39:54] <clearing> w/ different criteria for initializing the parent?
[18:40:04] *** MANCHUCK has quit IRC
[18:40:25] <jscarmona> parent is a slider, i cant init the slider till whatever directive put inside are finished loading
[18:40:27] *** guilbep has joined #angularjs
[18:41:55] <clearing> do the child directives have async operations or something?
[18:42:00] *** patrick99e99 has joined #angularjs
[18:42:16] *** arthas_ has quit IRC
[18:42:22] *** artivilla99__ has quit IRC
[18:42:31] <clearing> if you use $templateCache for their templates it should be pretty much instant
[18:42:32] *** goodenough has quit IRC
[18:42:44] <jscarmona> the child directives are replacing themselves with a template, which includes another template
[18:42:56] *** artivilla99__ has joined #angularjs
[18:43:22] *** CHC has quit IRC
[18:43:44] *** iribarne has quit IRC
[18:43:48] *** gjaldon has quit IRC
[18:44:06] *** Oddman has joined #angularjs
[18:44:19] *** glt has quit IRC
[18:44:43] *** tobbe_ has quit IRC
[18:44:58] <jscarmona> i have to do a $compile inside my child directive, is that what could be causing this, i remove that and it works fine, but does not then lload my child templates included template
[18:45:40] *** tschundeee has joined #angularjs
[18:45:50] *** Jdubs has joined #angularjs
[18:46:22] *** cam_y has joined #angularjs
[18:46:32] *** frostig has quit IRC
[18:46:54] *** frostig has joined #angularjs
[18:47:12] *** autolycus has quit IRC
[18:47:42] *** artivilla99__ has quit IRC
[18:47:57] *** autolycus has joined #angularjs
[18:48:23] <zumba_addict> is it possible to ng-repeat on a non $scope variable?
[18:48:27] *** JoshGlzBrk has quit IRC
[18:49:25] <Jayro> zumba_addict, Pretty sure you need to have it on scope for it to be availible in your view.
[18:49:25] *** mattwynne has joined #angularjs
[18:49:33] <Jayro> I could be wrong though.
[18:49:34] *** braoru has joined #angularjs
[18:49:36] *** gjaldon has joined #angularjs
[18:49:46] *** mguillec_ has joined #angularjs
[18:49:54] *** nickgs has joined #angularjs
[18:50:01] *** dcherman has quit IRC
[18:50:07] *** fairchild has quit IRC
[18:50:12] *** torrieri has quit IRC
[18:50:26] *** conan_the_destro has quit IRC
[18:50:54] *** tomfriedhof has joined #angularjs
[18:51:17] <cacts|works> is it possible to force an input to recalculate validity
[18:51:26] *** sshaginyan has joined #angularjs
[18:51:32] <zumba_addict> thanks Jayro
[18:51:33] *** conan_the_destro has joined #angularjs
[18:51:40] *** Joe_knock has joined #angularjs
[18:51:45] <cacts|works> im dynamically changing the max on an input type number and i can't get it to update $valid and $errors.max without manually changing the number in the field
[18:51:46] *** chrisbirk has joined #angularjs
[18:51:54] *** Jdubs has quit IRC
[18:52:04] <cacts|works> and form.modelCtrl.$validate() is not doing seemingly anything
[18:52:32] *** mguillech has quit IRC
[18:52:33] <zumba_addict> $watch it cacts|works
[18:52:48] <cacts|works> watch what
[18:52:49] <zumba_addict> or maybe jsfiddle your code so folks can take a look at it
[18:53:14] <zumba_addict> $watch your input
[18:53:16] *** iribarne has joined #angularjs
[18:53:34] <zumba_addict> then update $valid and $errors inside your $watch
[18:53:43] <cacts|works> ew
[18:54:20] *** jeffscottward has joined #angularjs
[18:54:28] *** farski has joined #angularjs
[18:55:08] *** night-ow_ has quit IRC
[18:55:10] *** jbourassa has joined #angularjs
[18:55:18] *** Evanion has joined #angularjs
[18:55:53] *** lite_ has joined #angularjs
[18:55:59] *** MaxV has quit IRC
[18:57:10] *** Jdubs has joined #angularjs
[18:58:33] *** guilbep has quit IRC
[18:59:03] *** juampy has quit IRC
[18:59:07] <cacts|works> ok here you go http://plnkr.co/edit/zk1Z3eMgrI4qn5VmuACn?p=preview
[18:59:08] *** superstructor has quit IRC
[18:59:13] *** dcherman has joined #angularjs
[18:59:14] <cacts|works> click max 10 button
[18:59:24] *** nfroidure has joined #angularjs
[18:59:31] <cacts|works> note validity doesnt change, but does if you delete and re type the 0 in 30
[19:00:00] <asgwar12> http://stackoverflow.com/questions/26130056/angularjs-filter-to-show-another-value-from-db-based-on-value-in-iteration
[19:00:20] *** g3funk has quit IRC
[19:00:30] *** justinmburrous has joined #angularjs
[19:00:32] *** thedodd has quit IRC
[19:00:40] *** UrbanWolf has quit IRC
[19:01:25] *** mzabriskie has joined #angularjs
[19:01:35] *** Aswebb has joined #angularjs
[19:01:45] *** wallerdev has joined #angularjs
[19:01:50] *** yowmamasita has joined #angularjs
[19:01:52] *** VinceZa has quit IRC
[19:02:20] <yowmamasita> is there a recommended structure for angular projects
[19:02:27] <jtymes> DaReaper: http://plnkr.co/edit/NpFbwX3OF3vsyvzNvC3q?p=preview
[19:02:30] *** whitebook has quit IRC
[19:02:32] *** es- has quit IRC
[19:02:40] *** zemanel has quit IRC
[19:02:50] *** g3funk has joined #angularjs
[19:03:42] *** teslanick has joined #angularjs
[19:03:45] <jtymes> It will filter on all the object properties with that. if you want to just filter on id or value then just change filter:filterValues to filter:{id: filterValues}, etc..
[19:03:48] *** teslanick has left #angularjs
[19:04:22] *** mennea has quit IRC
[19:04:46] <jtymes> Let me know if that's close to the mark or if it needs to be tweaked
[19:04:54] *** mennea has joined #angularjs
[19:04:57] *** justinmburrous has quit IRC
[19:04:57] *** dan2k3k4 has quit IRC
[19:05:04] *** artivilla99__ has joined #angularjs
[19:05:07] *** dan2k3k4 has joined #angularjs
[19:05:17] *** visionary has quit IRC
[19:05:28] *** mupkoo has quit IRC
[19:05:42] *** jeffisabelle has quit IRC
[19:05:43] *** nfroidure has quit IRC
[19:05:50] *** snapwich has joined #angularjs
[19:05:51] *** nickgs has quit IRC
[19:05:52] *** tina has quit IRC
[19:06:15] *** squeakytoy has joined #angularjs
[19:06:33] *** g3funk has quit IRC
[19:06:48] *** Johnny13371337 has joined #angularjs
[19:07:23] *** autolycus has quit IRC
[19:07:26] *** dcherman2 has joined #angularjs
[19:07:44] *** autolycus has joined #angularjs
[19:07:50] *** g3funk has joined #angularjs
[19:07:53] *** gnrlbzik has quit IRC
[19:08:37] <jtymes> asgwar12: why not load the names after you get the records and put them in an array? then have something like {{ getNameForId(record.id) }} ?
[19:08:42] *** matheuslc has joined #angularjs
[19:08:48] *** qdk has quit IRC
[19:09:08] <jtymes> doing it in an ng-repeat witha filter that hits an API endpoint is going to result in N http calls for N records
[19:09:33] *** dcherman has quit IRC
[19:09:41] <asgwar12> @jtymes can you explain more
[19:09:46] *** dan2k3k4 has quit IRC
[19:09:49] <asgwar12> I get that it would result in 120 HTTP calls
[19:09:56] *** kenavr has quit IRC
[19:10:01] *** visionary has joined #angularjs
[19:10:01] <asgwar12> Can you give more details in th eSO answer
[19:10:06] *** lsiv568 has joined #angularjs
[19:10:36] *** evanjs has joined #angularjs
[19:10:45] *** sandwich_crust has joined #angularjs
[19:10:55] *** snapwich has quit IRC
[19:11:00] <jtymes> well you could also just have a function like above that calls the http service
[19:11:03] <jtymes> without the filter
[19:11:06] *** schimek has quit IRC
[19:11:39] *** autolycus has quit IRC
[19:11:49] *** braoru has quit IRC
[19:12:02] *** opiates has joined #angularjs
[19:12:31] *** BahamutWC|Work has quit IRC
[19:13:01] *** tfennelly has quit IRC
[19:14:45] *** sacho has quit IRC
[19:14:56] *** kirfu has quit IRC
[19:15:09] *** autolycus has joined #angularjs
[19:15:16] *** lexek_ has joined #angularjs
[19:15:38] *** Arf has joined #angularjs
[19:15:55] <jtymes> i'll see if i can put together a plunker. the more i think about it, the more it sounds like it needs a directive
[19:15:56] *** bengilli_ has quit IRC
[19:16:16] *** BahamutWC|Work has joined #angularjs
[19:17:38] *** nechtan has joined #angularjs
[19:18:12] *** artmann has quit IRC
[19:18:27] *** nechtan has left #angularjs
[19:18:42] *** KernelCurry has joined #angularjs
[19:19:18] *** duall has quit IRC
[19:19:40] *** mchung has joined #angularjs
[19:20:37] *** RogerWS has quit IRC
[19:20:39] *** jacuqesdancona__ has joined #angularjs
[19:21:39] *** Mxyzpltk has joined #angularjs
[19:21:43] *** anivemin has joined #angularjs
[19:21:48] *** iamcyberbird has joined #angularjs
[19:21:50] *** chrisbirk has quit IRC
[19:22:17] *** Jayro has quit IRC
[19:23:04] *** MasterGberry has quit IRC
[19:23:05] *** memento has joined #angularjs
[19:23:29] *** theahindle has joined #angularjs
[19:23:32] *** MasterGberry has joined #angularjs
[19:23:35] *** bpmj has quit IRC
[19:23:40] *** memento_ has quit IRC
[19:23:50] <theahindle> Hi - so my controller has $scope.data, which has default data in it, but I want to overwrite parts of it from data my template has
[19:23:57] <theahindle> What's the best way of doing that?
[19:24:10] *** mattwynne has quit IRC
[19:24:13] *** d4rklit3 has joined #angularjs
[19:24:14] <theahindle> I'm using a twig template, which I've passed some new data parts in to, and I just want to overwrite some parts of $scope.data
[19:24:37] *** frostig has quit IRC
[19:24:51] *** Efrem-Away is now known as Efrem
[19:24:52] *** nickgs has joined #angularjs
[19:25:01] *** g3funk has quit IRC
[19:25:06] *** PaulBHartzog has joined #angularjs
[19:25:20] *** g3funk has joined #angularjs
[19:25:42] *** jacuqesdancona__ has quit IRC
[19:26:17] *** anivemin has quit IRC
[19:26:18] *** boneskull has quit IRC
[19:26:23] *** walden is now known as walden|brb
[19:26:54] *** doug_ has joined #angularjs
[19:27:23] *** lexek_ has quit IRC
[19:27:34] *** bpmj has joined #angularjs
[19:27:44] *** frostig has joined #angularjs
[19:28:46] *** Johnny13371337 has left #angularjs
[19:29:23] *** mityaz has quit IRC
[19:29:57] *** stevvooe has joined #angularjs
[19:30:45] <haptiK> HELLO I LIKE KITTENS
[19:31:00] *** sacho has joined #angularjs
[19:31:09] *** RogerWS has joined #angularjs
[19:31:19] *** sacho has quit IRC
[19:31:33] *** Evanion has quit IRC
[19:31:39] *** kroogs1 has joined #angularjs
[19:31:58] *** TorpedoSkyline has joined #angularjs
[19:32:04] *** knownasilya has joined #angularjs
[19:32:30] *** whitebook has joined #angularjs
[19:33:03] *** MuffinMan` has joined #angularjs
[19:34:24] *** mennea has quit IRC
[19:34:57] *** mennea has joined #angularjs
[19:36:10] *** faveteli_ has quit IRC
[19:36:14] *** bkuberek has joined #angularjs
[19:36:22] *** tarnus_ is now known as tarnus
[19:36:46] *** favetelinguis has joined #angularjs
[19:36:52] *** hecatonicosachor has joined #angularjs
[19:36:53] *** kroogs1 has quit IRC
[19:37:13] *** borvoh_ has quit IRC
[19:37:23] *** sandwich_crust has quit IRC
[19:38:04] *** borvoh has joined #angularjs
[19:38:12] *** hecatonicosachor has quit IRC
[19:38:54] *** hecatonicosachor has joined #angularjs
[19:40:12] *** qdk has joined #angularjs
[19:40:13] *** Foxandxss has joined #angularjs
[19:40:36] <asgwar12> http://stackoverflow.com/questions/26130056/angularjs-filter-to-show-another-value-from-db-based-on-value-in-iteration
[19:41:07] *** favetelinguis has quit IRC
[19:41:30] *** curser has quit IRC
[19:41:35] *** DaReaper has quit IRC
[19:41:42] *** matthoiland has joined #angularjs
[19:41:44] *** walden|brb is now known as walden
[19:41:50] *** jbourassa has quit IRC
[19:42:13] *** tschundeee has quit IRC
[19:42:37] <theahindle> How can I set $scope. values in $http.success()?
[19:42:41] <theahindle> It seems like it doesn't have access
[19:42:49] *** bpmj has quit IRC
[19:43:16] <nickeddy> theahindle: do .then not .success
[19:43:32] *** iamcyberbird has quit IRC
[19:43:46] *** favetelinguis has joined #angularjs
[19:43:51] <theahindle> nickeddy: is 'data' passed to .then, or do I have to do response.data or something?
[19:43:54] <jtymes> asgwar12: http://plnkr.co/edit/7yO2FzKiWfZZloqH4yyB
[19:43:56] <nickeddy> .success().error() -> .then(function(response) {}, function(error) {})
[19:44:28] *** bootsWitDaFur has quit IRC
[19:44:30] <nickeddy> theahindle: response being the data
[19:44:38] *** Sky[x] has quit IRC
[19:44:43] *** mchung has quit IRC
[19:44:44] *** NoNMaDDeN has quit IRC
[19:45:05] *** lilVaratep has quit IRC
[19:45:12] *** tomphp has quit IRC
[19:45:24] <theahindle> nickeddy: if I use .then 'data' is now an object with headers/status - I presume I can just use data.data
[19:45:25] *** shinnya has quit IRC
[19:45:42] *** nemothekid has joined #angularjs
[19:45:57] <theahindle> Though it looks like $scope.variables aren't getting set
[19:46:25] *** matthoiland has quit IRC
[19:47:16] *** PaulBHartzog has quit IRC
[19:47:31] *** klaut has joined #angularjs
[19:47:45] <nickeddy> yeah
[19:47:55] <nickeddy> i think so
[19:47:56] <asgwar12> @jtymes where's the JS
[19:47:58] <asgwar12> I only see html
[19:48:24] <asgwar12> nvm
[19:48:26] <nickeddy> theahindle: i honestly don't use $http much, Restangular is my jam
[19:48:37] *** bAnt_ has joined #angularjs
[19:48:42] <theahindle> nickeddy: All sorted now - thanks
[19:48:42] *** theahindle has left #angularjs
[19:49:13] <asgwar12> Can you explain getNameForId to me?
[19:49:19] <asgwar12> Not quite sure I understand what thats doing
[19:49:20] <jtymes> sure
[19:49:31] <nickeddy> themime: cool. i do recommend using Restangular for your API calls. $http can get disorganized quickly
[19:49:46] <jtymes> in a real life scenario, you would be making a call to $http or something like that
[19:50:00] <jtymes> i'm just simulating the delay that an http call may have
[19:50:06] <asgwar12> jtymes I don't know the names unless I hit the database.
[19:50:07] <BobbieBarker> restangular is the shit
[19:50:10] *** marko__ is now known as cannap
[19:50:17] <BobbieBarker> it cleans your code up a lot too if you use an interceptor
[19:50:25] <BobbieBarker> then you can just call your CRUD operations on the objects themselves
[19:50:26] *** travm-afk is now known as travm
[19:50:29] *** mchung has joined #angularjs
[19:50:32] *** bAnt has quit IRC
[19:50:32] <jtymes> you could replace that entire method with return $http.post('/api/name/', id);
[19:50:32] <BobbieBarker> i don't even write servies for that anymore
[19:50:39] <jtymes> or w/e
[19:50:43] *** favetelinguis has quit IRC
[19:50:44] <nickeddy> BobbieBarker: isn't it nice? :P
[19:50:49] <BobbieBarker> it's super nice
[19:50:49] *** kewark has quit IRC
[19:50:54] <asgwar12> Got it
[19:50:59] <asgwar12> Why a directive and not a filter?
[19:50:59] <nickeddy> all promise based too
[19:51:02] <clearing> @Mia
[19:51:06] <clearing> oops!
[19:51:19] *** favetelinguis has joined #angularjs
[19:51:20] <BobbieBarker> nickeddy: i used to write services for all my API crap. Now i just run it out of the controller or directive itself
[19:51:23] <jtymes> because a directive is better-suited, especially with an isolate scope and interating with services
[19:51:26] *** krawek has joined #angularjs
[19:51:29] <BobbieBarker> cuz the code is so succint
[19:51:32] *** bootsWitDaFur has joined #angularjs
[19:51:39] <shredjs> I have json objects containing an array of fields and array of ids (the ids of the field) Altough im using a select to show the fields... and bind the fields as ng-model... i would like to be able to get the ids of the selected fields so i can use those... for the momments only selected fields get selected
[19:51:49] <nickeddy> BobbieBarker: well i still make services because sometimes i do weird shit several times in several controllers
[19:51:53] <nickeddy> BobbieBarker: DRY you know
[19:52:03] <BobbieBarker> nickeddy: yeah special cases ofc
[19:52:04] *** benjamingr has quit IRC
[19:52:10] <BobbieBarker> but just generally speaking
[19:52:15] <nickeddy> true
[19:52:31] *** tomfriedhof has quit IRC
[19:52:46] <BobbieBarker> postObj.save() is so much better than having a custom function with 4-6 lines of code for the same thing
[19:52:47] *** NoNMaDDeN has joined #angularjs
[19:52:51] *** thedodd has joined #angularjs
[19:52:53] *** azureRaven has joined #angularjs
[19:53:27] *** travm is now known as travm-afk
[19:53:30] <jtymes> asgwar12: i'd also say that using the directive is cleaner. a filter is generally just for filtering things that already exist on the client or aapplying formatting. you *could* use a filter in this case, but it doesn't feel right to me
[19:54:00] *** MANCHUCK has joined #angularjs
[19:54:03] *** kevinfagan has quit IRC
[19:54:32] *** BahamutWC|Work has quit IRC
[19:54:33] *** lilVaratep has joined #angularjs
[19:54:40] *** favetelinguis has quit IRC
[19:54:58] *** favetelinguis has joined #angularjs
[19:55:13] *** NaOH has joined #angularjs
[19:55:51] *** Jayro has joined #angularjs
[19:56:13] <NaOH> can validation be used outside of a form? even though my input is not in a form, `ng-valid` is still showing up, so it seems like I can...
[19:56:25] *** qdk has quit IRC
[19:56:30] *** jerev_away is now known as jerev
[19:56:55] *** qmfnp_lunch is now known as qmfnp
[19:57:09] <NaOH> and by showing up i mean it it shows up in the list of classes on the element
[19:57:09] *** memento has quit IRC
[19:57:31] *** johnstorey has joined #angularjs
[19:57:33] *** Sebastien-L has joined #angularjs
[19:58:10] <nickeddy> NaOH: you mean doing stuff based on the fact it has class ng-valid?
[19:58:13] *** bw_ has quit IRC
[19:58:34] *** lite_ has quit IRC
[19:58:55] <NaOH> nickeddy: I basically want to add another class if ng-invalid && hasBeenSubmitted
[19:59:20] *** bpmj has joined #angularjs
[19:59:37] <nickeddy> yeah that would be coding how jquery would do it
[19:59:38] <nickeddy> don't do that
[19:59:57] *** ckboii89 has quit IRC
[19:59:57] <NaOH> nickeddy: how should I do it?
[20:00:05] <nickeddy> wrap it with a form
[20:00:26] *** qstrahl has joined #angularjs
[20:00:37] *** MuffinMan` has quit IRC
[20:00:40] <nickeddy> then you get actual validation :p
[20:00:51] <nickeddy> formName.fieldName.$invalid, etc
[20:00:53] *** tfennelly has joined #angularjs
[20:00:57] *** travm-afk is now known as travm
[20:01:03] *** eperez has quit IRC
[20:01:08] <NaOH> nickeddy: the reason i don't want to do that is because the form is dynamic. it will be extra work to make sure everything has unique `name`s
[20:01:09] <nickeddy> and you can do on the form submit ng-submit="someFn()"
[20:01:12] <nickeddy> ah
[20:01:29] <nickeddy> well still, making the view the model is a bad idea
[20:01:41] *** benjick has quit IRC
[20:01:50] *** krawek has quit IRC
[20:02:04] *** nagappan has quit IRC
[20:02:13] <nickeddy> dynamic forms are tricky
[20:02:23] <qstrahl> Hi, #angularjs! I need to fetch some data as part of bootstrapping my app -- some kind of config data. Services depend on this data to function properly. Can I construct my services in such a way that angular waits for me to get the data before moving forward?
[20:02:26] *** benjick has joined #angularjs
[20:02:37] *** nagappan has joined #angularjs
[20:02:49] *** BahamutWC|Work has joined #angularjs
[20:02:51] <nickeddy> qstrahl: you can manually bootstrap angular
[20:02:52] *** tomfriedhof has joined #angularjs
[20:03:11] <nickeddy> qstrahl: https://docs.angularjs.org/guide/bootstrap
[20:03:46] *** jiskiras has quit IRC
[20:03:50] *** kevrom has joined #angularjs
[20:03:53] <qstrahl> nickeddy, How involved is that? I was hoping maybe returning a promise from a angular.module('mymodule').run call would do it. =P
[20:04:14] *** curser has joined #angularjs
[20:04:26] *** mennea has quit IRC
[20:04:29] <nickeddy> qstrahl: i have not done it yet but it looks fairly straightforward. all the way at the bottom
[20:04:36] *** RichardLitt has joined #angularjs
[20:04:43] *** Naaab has quit IRC
[20:04:51] <curser> exit
[20:04:55] *** marcelchastain has joined #angularjs
[20:04:59] *** mennea has joined #angularjs
[20:05:09] *** jandresen has joined #angularjs
[20:05:09] *** curser has left #angularjs
[20:05:13] <arek_at_work> how would i force ng-repeat not to reorder items?
[20:05:25] *** JesuZ has joined #angularjs
[20:05:25] <BobbieBarker> brosephs, I need some assistence. http://plnkr.co/edit/gwfFfA?p=preview I have a draggable directive that works 100% perfectly fine on images. But I can't get it to work on text
[20:05:31] <jtymes> arek_at_work: reorder?
[20:05:43] *** dark_splinter has quit IRC
[20:06:01] *** jiskiras has joined #angularjs
[20:06:10] *** davek has quit IRC
[20:06:28] *** fairchild has joined #angularjs
[20:06:29] <arek_at_work> yeah by default it orders alphabetically when key is string
[20:06:42] <NaOH> nickeddy: do you think i should try assigning unique IDs to elements as they are added to the form? or is that too hacky?
[20:06:49] <arek_at_work> and i need it in order it appears in object
[20:06:52] *** azureRaven has quit IRC
[20:06:57] *** nickgs has quit IRC
[20:06:57] *** favetelinguis has quit IRC
[20:07:07] *** _jpfm has joined #angularjs
[20:07:10] *** curser has joined #angularjs
[20:07:30] <qstrahl> nickeddy, my only concern is I depend on angular to know when it needs to be bootstrapped; will angular.run definitions be called before or after bootstrap?
[20:07:46] *** jobelenus has joined #angularjs
[20:07:53] *** marcelchastain has quit IRC
[20:08:07] *** rho has joined #angularjs
[20:08:09] *** kroogs1 has joined #angularjs
[20:08:18] *** kevrom has quit IRC
[20:08:28] *** ben_dev has joined #angularjs
[20:08:51] *** kevrom has joined #angularjs
[20:08:59] <BobbieBarker> arek_at_work: use track by $index
[20:09:05] *** chrisbirk has joined #angularjs
[20:09:11] *** x4e has joined #angularjs
[20:09:28] *** marcelchastain has joined #angularjs
[20:09:31] <BobbieBarker> i also suggest looking at the ng-repeat docs cuz there is more there than just a nifty HTML for loop
[20:09:41] <jtymes> i've never had it go alphabetically...i just tested it out with an array of random strings and it showed them in the order i created the array in
[20:09:47] <jobelenus> hey all, i'm working with angular-strap and im trying to use bs-popover within an ng-repeat… how would i get an item from the repeat onto the scope inside the bs-popover?? bs-popover="foo" doesn't seem to put foo on the $scope, neither does bs-popover="{'foo':foo}".. how should I set this up??
[20:09:52] <BobbieBarker> jtymes: thats what it should be doing
[20:10:09] *** JesuZ has quit IRC
[20:10:15] <BobbieBarker> jobelenus: it's already in the scope are you trying to use a custom template
[20:10:16] *** night-owl2 has joined #angularjs
[20:10:16] <BobbieBarker> ?
[20:10:22] <jobelenus> yes
[20:10:24] <marcelchastain> sup yall
[20:10:30] <BobbieBarker> so just write the custom template it will be in scope
[20:10:34] *** whitebook has quit IRC
[20:10:37] <asgwar12> How can I format date Y-m-d H:i:s using Angular's date filter? Why does it only accept unix timestamp?
[20:10:42] <BobbieBarker> i use angular strap exclusively
[20:10:50] *** anivemin has joined #angularjs
[20:11:00] <BobbieBarker> asgwar12: it doesn't only accept unix time stamp. It works perfectly fine on ISO
[20:11:01] *** baweaver has quit IRC
[20:11:01] <marcelchastain> you're in an exclusive relationship eh?
[20:11:04] <jobelenus> BobbieBarker: with which setup? e.g. {} in the expression? b/c im logging the $scope.. and i dont see it there
[20:11:19] <asgwar12> 2014-06-18 18:39:52
[20:11:26] *** x4e has quit IRC
[20:11:26] <BobbieBarker> data-template="path/to/custom/template.html"
[20:11:26] <asgwar12> It doesn't accept that BobbieBarker
[20:11:44] *** jiskiras has quit IRC
[20:11:52] <jsheely|sleep> I perfer to use momentJS for filtering my dates
[20:11:56] <jobelenus> err sorry, crossing streams i think
[20:11:56] *** jsheely|sleep is now known as jsheely
[20:12:08] <BobbieBarker> jobelenus: stand by.
[20:12:20] <BobbieBarker> because i'm feeling charitable i'll show you the answer
[20:12:40] <BobbieBarker> http://pastebin.com/SxgwAaSc
[20:12:42] <BobbieBarker> there you go
[20:12:50] *** soee has joined #angularjs
[20:13:12] *** il has quit IRC
[20:13:26] <asgwar12> Bobbie
[20:13:31] <asgwar12> 2014-06-18 18:39:52 why won't it accept that
[20:14:26] *** disorder20 has joined #angularjs
[20:14:48] <chanced> when you have a parent -> child set of directives with require: '^parent', is it possible to access the parent scope without it having a controller?
[20:14:50] *** ckboii89 has joined #angularjs
[20:14:59] *** charuru has joined #angularjs
[20:15:07] <BobbieBarker> asgwar12: because i'ts not formatted as anything. it's just a string
[20:15:16] <BobbieBarker> there are legit time formats in programming
[20:15:38] <jobelenus> BobbieBarker: sorry, i think you've misunderstood… *within* the data-content-template, im using a controller… and i'd like the $scope of that controller (which inherits from its parent…) to have a reference to the ng-repeat'd item...
[20:15:40] <BobbieBarker> are you using momentJS?
[20:16:14] <BobbieBarker> jobelenus: write a directive and restrict it to an attribute?
[20:16:14] <jobelenus> i do believe the assignment is bs-popver="…" but I'm missing something
[20:16:22] *** gjaldon has quit IRC
[20:16:26] <BobbieBarker> i have plenty of those too
[20:16:34] *** mtsr has joined #angularjs
[20:16:41] *** AlSquire has quit IRC
[20:17:22] <BobbieBarker> http://plnkr.co/edit/gwfFfA?p=preview can some one explain to me why my directive works great on pictures and doesn't do jack shit to text
[20:17:32] *** DLSteve_ has joined #angularjs
[20:17:35] *** DLSteve_ has quit IRC
[20:17:38] *** nickgs has joined #angularjs
[20:17:57] *** DLSteve has joined #angularjs
[20:18:09] *** freeman42 has joined #angularjs
[20:18:31] *** night-owl2 has quit IRC
[20:18:40] *** jstroem has joined #angularjs
[20:18:54] *** Eiam has quit IRC
[20:19:10] *** bootsWitDaFur has quit IRC
[20:19:37] *** mityaz has joined #angularjs
[20:19:43] *** elux has joined #angularjs
[20:20:01] *** magellanicloud_ has quit IRC
[20:21:05] *** anivemin has quit IRC
[20:21:48] *** anivemin has joined #angularjs
[20:21:57] *** yoshokatana has quit IRC
[20:22:01] *** Mxyzpltk has quit IRC
[20:22:28] *** FalsePozitive has joined #angularjs
[20:22:36] *** Mxyzpltk has joined #angularjs
[20:22:46] *** bootsWitDaFur has joined #angularjs
[20:23:12] *** mtsr_ has joined #angularjs
[20:23:14] *** kevinfagan has joined #angularjs
[20:23:36] *** jdj_dk has joined #angularjs
[20:24:14] *** dan2k3k4 has joined #angularjs
[20:24:33] *** curser has quit IRC
[20:24:53] *** jandresen has quit IRC
[20:25:03] <jtymes> i thought it might have something to do with text-selection, but that didn't prove out
[20:25:20] *** ckboii89 has quit IRC
[20:25:40] *** ckboii89 has joined #angularjs
[20:25:43] *** curser has joined #angularjs
[20:26:00] *** cerivera has joined #angularjs
[20:26:05] *** mtsr has quit IRC
[20:26:06] <jobelenus> BobbieBarker: ok.. i got a setup like this, any thoughts on that last line??? http://pastebin.com/HpuDFS5c
[20:26:16] *** bpmj has quit IRC
[20:26:17] *** _pid1 is now known as _pid
[20:26:20] *** jstroem_ has joined #angularjs
[20:26:23] <shredjs> I have json objects containing an array of fields and array of ids (the ids of the field) Altough im using a select to show the fields... and bind the fields as ng-model... i would like to be able to get the ids of the selected fields so i can use those... for the momments only selected fields get selected
[20:26:30] *** anivemin has quit IRC
[20:26:47] *** yoshokatana has joined #angularjs
[20:26:59] *** jstroem has quit IRC
[20:27:01] *** ctanga has quit IRC
[20:27:06] <BobbieBarker> quit tring to use inherited scopes and use isolate scopers, bind the prpert you need with a "="
[20:27:16] <jobelenus> where do i do that
[20:27:31] *** bootsWitDaFur has quit IRC
[20:27:32] *** Mxyzpltk has quit IRC
[20:27:36] <ckboii89> anyone have any experience workign with images?
[20:27:53] <cerivera> I'm trying to create a directive that renders a SELECT box. The options are loading fine but the default option isn't being selected. I'm using scope: {model:'='}, and the template attribute has a select with 'ng-model="model"'
[20:27:54] *** sacho_ has joined #angularjs
[20:27:56] <ckboii89> my javascript is complaining that the backend image i altered is not a blob?
[20:28:09] *** milka has joined #angularjs
[20:28:15] <jobelenus> cerivera: why not use the angular select directive???
[20:29:01] <cerivera> jobelenus: my directive is not only rendering the SELECT, this is just the first step
[20:29:51] *** elux has quit IRC
[20:29:57] *** whitebook has joined #angularjs
[20:30:04] *** eperez has joined #angularjs
[20:30:11] *** gurke_ has quit IRC
[20:30:41] *** night-owl2 has joined #angularjs
[20:31:03] *** fairchild has quit IRC
[20:31:10] *** ben_dev has quit IRC
[20:31:14] *** whiteboo_ has joined #angularjs
[20:31:17] *** hecatonicosachor has quit IRC
[20:31:31] *** comma8 has quit IRC
[20:31:39] *** nemothekid has quit IRC
[20:31:41] <cerivera> anyone?
[20:31:43] *** autolycus has quit IRC
[20:31:49] *** iribarne has quit IRC
[20:32:05] *** jstroem_ has quit IRC
[20:32:32] *** moritzs has quit IRC
[20:32:33] *** jstroem has joined #angularjs
[20:32:35] *** il has joined #angularjs
[20:32:37] *** milka has quit IRC
[20:32:45] *** milka_ has joined #angularjs
[20:33:20] *** night-owl2 has quit IRC
[20:33:27] *** ben_dev has joined #angularjs
[20:33:28] *** favetelinguis has joined #angularjs
[20:33:40] *** bpmj has joined #angularjs
[20:33:48] <jobelenus> BobbieBarker: damn.. i cant have two directives using isolate scope on the same elm ><
[20:33:53] *** iribarne has joined #angularjs
[20:34:05] *** Arf has quit IRC
[20:34:13] *** NaOH has quit IRC
[20:34:21] *** Arf has joined #angularjs
[20:34:29] *** mennea has quit IRC
[20:34:33] *** whitebook has quit IRC
[20:34:45] <jtymes> BobbieBarker: are you trying to get the div to be able to move around the page? or allow the text to be dragged from the div?
[20:34:53] *** bootsWitDaFur has joined #angularjs
[20:35:02] *** mennea has joined #angularjs
[20:35:32] *** fairchild has joined #angularjs
[20:35:59] <jtymes> because if i highlight the text and drag it, the cheese gets printed to console
[20:36:01] *** autolycus has joined #angularjs
[20:36:43] *** CHC has joined #angularjs
[20:36:43] *** lsiv568 has quit IRC
[20:37:09] *** wallerdev has quit IRC
[20:37:43] *** bpmj has quit IRC
[20:38:26] <BobbieBarker> jtymes i figured it out bro
[20:38:34] *** nickgs has quit IRC
[20:38:35] <BobbieBarker> the goal was to grab the driv with style in tact
[20:38:53] *** RichardLitt has quit IRC
[20:38:53] *** tschundeee has joined #angularjs
[20:38:55] <BobbieBarker> jobelenus: if you do a plunk like i did i can probably fix it for you but the pastebin thing isn't going to cut it for something that complex
[20:39:04] *** twisted` has quit IRC
[20:39:09] *** eshlox has quit IRC
[20:39:09] *** amatecha has quit IRC
[20:39:10] *** JonathanNeal has quit IRC
[20:39:21] *** RichardLitt has joined #angularjs
[20:39:32] *** elijah has quit IRC
[20:39:33] *** jumz has quit IRC
[20:39:34] *** justicefries has quit IRC
[20:39:34] *** oyvinmar_ has quit IRC
[20:39:34] *** Immutef has quit IRC
[20:39:34] *** mickhansen has quit IRC
[20:39:37] *** bpmj has joined #angularjs
[20:39:53] *** herm1t has joined #angularjs
[20:40:00] *** knownasilya has quit IRC
[20:40:01] *** fourq has quit IRC
[20:40:05] *** night-owl2 has joined #angularjs
[20:40:28] *** beckyconning has quit IRC
[20:40:29] *** kudos has quit IRC
[20:40:29] *** happyface has quit IRC
[20:40:29] *** bremnes has quit IRC
[20:40:29] *** iamstef has quit IRC
[20:40:31] *** wallerdev has joined #angularjs
[20:40:39] *** davi has joined #angularjs
[20:40:51] *** es- has joined #angularjs
[20:40:56] *** eperez has quit IRC
[20:40:56] *** jeffw198___ has quit IRC
[20:40:57] *** cmenscher has quit IRC
[20:40:57] *** ikevin_ has quit IRC
[20:40:57] *** shennyg___ has quit IRC
[20:40:59] <jobelenus> BobbieBarker: no, i know.. but the bs-popover already uses isolate scope, and angular blows up yelling "you can't put two directives that use isolate scope on the same elm"… this is good enough for the time being
[20:41:03] <jobelenus> tx
[20:41:19] <BobbieBarker> use the 2nd directive inside the custom template?
[20:41:36] *** justicefries has joined #angularjs
[20:41:38] *** night-owl2 has quit IRC
[20:41:39] *** baweaver has joined #angularjs
[20:41:40] *** Immutef has joined #angularjs
[20:41:41] *** mickhansen has joined #angularjs
[20:41:41] *** JonathanNeal has joined #angularjs
[20:41:43] *** eshlox has joined #angularjs
[20:41:48] *** jumz has joined #angularjs
[20:41:50] *** oyvinmar__ has joined #angularjs
[20:41:51] *** elijah has joined #angularjs
[20:41:52] *** amatecha has joined #angularjs
[20:42:07] <jobelenus> the content-template already doesnt have access to the ng-repeat
[20:42:27] <jtymes> BobbieBarker: ah, cool.
[20:42:28] *** twisted` has joined #angularjs
[20:42:45] *** stwalcher has quit IRC
[20:43:17] *** jeffw198___ has joined #angularjs
[20:43:26] *** iamstef has joined #angularjs
[20:43:26] *** kudos has joined #angularjs
[20:43:27] *** beckyconning has joined #angularjs
[20:43:32] *** shennyg___ has joined #angularjs
[20:43:33] *** ikevin_______ has joined #angularjs
[20:43:34] *** cmenscher has joined #angularjs
[20:43:47] *** knownasilya has joined #angularjs
[20:43:48] *** tfennelly has quit IRC
[20:43:50] *** antons has quit IRC
[20:44:02] *** happyface has joined #angularjs
[20:44:09] *** fourq has joined #angularjs
[20:44:16] *** _jpfm has quit IRC
[20:44:25] *** skammer4 has joined #angularjs
[20:45:13] *** sheplu has joined #angularjs
[20:45:18] *** _jpfm has joined #angularjs
[20:45:30] *** Trow has quit IRC
[20:45:30] *** Shrooms has quit IRC
[20:45:31] *** lsiv568 has joined #angularjs
[20:45:44] *** moritzs has joined #angularjs
[20:46:02] *** bremnes has joined #angularjs
[20:46:06] *** Oddman has quit IRC
[20:46:08] *** ccbmx has quit IRC
[20:46:28] *** ceephax has joined #angularjs
[20:46:47] *** [eq]andrepm1 has joined #angularjs
[20:47:04] <themime> im about to whip up a demo for my boss rendering 2000 rows with ng-repeat, anyone have experience with large lists?
[20:47:08] *** Aliks has joined #angularjs
[20:47:21] *** Shrooms has joined #angularjs
[20:47:22] <themime> my hope is that itll just be easy and normal...
[20:47:27] *** Shrooms has quit IRC
[20:47:27] *** Shrooms has joined #angularjs
[20:47:44] *** bootsWitDaFur has quit IRC
[20:47:53] <jtymes> use bind-once or look at something like https://github.com/webux/ux-angularjs-datagrid
[20:47:56] *** Oddman has joined #angularjs
[20:48:10] *** davi has quit IRC
[20:48:13] *** cerivera has left #angularjs
[20:49:07] *** nemothekid has joined #angularjs
[20:49:08] *** BahamutWC|Work has quit IRC
[20:49:12] *** g___ has joined #angularjs
[20:49:23] *** Evanion has joined #angularjs
[20:49:31] <jtymes> i know we use the latter product on a different team that powers our ecommerce solution which handles lists of varying length on mobile
[20:49:45] *** jMyles has joined #angularjs
[20:49:47] *** Guest74017 has quit IRC
[20:49:49] *** [eq]andrepm has quit IRC
[20:50:29] *** g___ has quit IRC
[20:50:36] *** Trow has joined #angularjs
[20:50:48] *** fatshark has joined #angularjs
[20:50:50] *** tina_ has joined #angularjs
[20:51:10] *** macneib has joined #angularjs
[20:51:52] *** asgwar12 has quit IRC
[20:52:07] *** RobinBAwesome has quit IRC
[20:52:28] *** doug_ has quit IRC
[20:52:53] *** \du has quit IRC
[20:52:55] *** avens has joined #angularjs
[20:53:05] *** arek_at_work has quit IRC
[20:53:18] *** dvy has quit IRC
[20:53:32] *** milka_ has quit IRC
[20:53:50] *** dvy has joined #angularjs
[20:53:53] *** memento has joined #angularjs
[20:54:03] *** AlSquire has joined #angularjs
[20:54:04] <tristanp> is an article like this top answer to this post still good advice on how to use $http#jsonp() in angular? http://stackoverflow.com/questions/18807901/cant-access-json-response-in-callback-angularjs
[20:54:18] <themime> jtymes: thanks!
[20:54:27] *** eperez has joined #angularjs
[20:54:40] *** thedodd has quit IRC
[20:54:56] *** phishy has quit IRC
[20:55:01] *** daleharvey has quit IRC
[20:55:27] *** jotaefe has joined #angularjs
[20:55:29] *** bberry_ has joined #angularjs
[20:55:29] *** Immutef has quit IRC
[20:55:38] *** mattwynne has joined #angularjs
[20:55:52] *** pfg has quit IRC
[20:55:53] *** NullSoldier_ has quit IRC
[20:55:53] *** merpnderp_ has quit IRC
[20:55:58] *** ceej has quit IRC
[20:55:58] *** sirkitree is now known as sirkitree|afk
[20:56:04] *** cthrax has quit IRC
[20:56:18] *** threesixes has joined #angularjs
[20:56:48] *** imanc has quit IRC
[20:56:49] *** Juanchito has quit IRC
[20:56:49] *** andreypopp_ has quit IRC
[20:56:53] *** twisted` has quit IRC
[20:56:56] *** gnrlbzik_ has joined #angularjs
[20:57:18] *** Immutef has joined #angularjs
[20:57:38] *** pfg has joined #angularjs
[20:57:46] *** NullSoldier_ has joined #angularjs
[20:57:53] *** daleharvey has joined #angularjs
[20:57:55] *** merpnderp_ has joined #angularjs
[20:57:55] *** neilff has joined #angularjs
[20:58:08] *** nickgs has joined #angularjs
[20:58:16] *** Oddman has quit IRC
[20:58:25] *** dvy has quit IRC
[20:58:28] *** JesuZ has joined #angularjs
[20:58:28] *** phishy has joined #angularjs
[20:58:42] *** imanc has joined #angularjs
[20:58:49] *** andreypopp_ has joined #angularjs
[20:58:53] *** Juanchito has joined #angularjs
[20:59:03] *** doug_ has joined #angularjs
[20:59:05] *** ceej has joined #angularjs
[20:59:11] <neilff> anyone have a good workflow for using karma + sublime? i find it annoying to have to switch between terminal / sublime to see if tests are working
[20:59:13] *** bberry has quit IRC
[20:59:19] *** lilVaratep has quit IRC
[20:59:32] *** jobelenus has quit IRC
[20:59:33] *** Evanion has quit IRC
[20:59:39] *** lilVaratep has joined #angularjs
[20:59:45] *** mattwynne has quit IRC
[21:00:01] *** dvy has joined #angularjs
[21:00:01] <neilff> i know webstorm has a nice solution for this issue, but not sure if i want to switch to ws
[21:00:06] *** dan2k3k4 has quit IRC
[21:00:16] *** twisted` has joined #angularjs
[21:00:21] *** mesina has joined #angularjs
[21:00:31] *** baweaver has quit IRC
[21:01:01] *** tof_ is now known as tof
[21:01:02] <macneib> Hi! I'm trying a variation of my old authentication setup. This time I'm using a local variable 'currentUser' in a factory called auth.service. I have two scope varaibles in my navbar controller $scope.currentUser = auth.getCurrentUser that returns an object and $scope.inLoggedIn = auth.isLoggedIn issue is that returns a boolean value of true if my user is auth'd. My navbar view is uses ng-show='inLoggedIn()' to decide whether
[21:01:24] <jtymes> neilff: i use intellij, but does the terminal not send a bell event when a test fails?
[21:01:34] *** Aliks has quit IRC
[21:01:49] *** bencc has joined #angularjs
[21:01:52] <jtymes> if they are working, then you wouldn't have to switch unless they failed
[21:02:10] *** Aliks has joined #angularjs
[21:02:16] <macneib> My issue is that in my navbar controller, i have an if statement: if ($scope.isLoggedIn()) {console.log('$scope.currentUser', $scope.currentUser);} that does not fire. any suggestions to get that if statement working, or an alternative method?
[21:02:16] <neilff> yeah thats true, i just ignore that default sounds, maybe ill change it to something that will actually get my attention
[21:02:31] <jtymes> otherwise...webstorm is nice :)
[21:02:47] *** joao__ has joined #angularjs
[21:02:52] *** visionary has quit IRC
[21:03:15] *** hswolff has quit IRC
[21:03:15] <jtymes> you may be able to configure your terminal to come to the front when a bell is raised too
[21:03:23] *** lsiv568 has quit IRC
[21:03:29] <neilff> yeah ive been thinking about making the switch after deep diving into testing... lose a lot of time with this slow workflow
[21:03:40] *** ctanga has joined #angularjs
[21:03:41] <jtymes> which would piss me off in about any other context, but could be acceptable
[21:03:57] *** netameta_ has quit IRC
[21:03:57] *** Evanion has joined #angularjs
[21:04:15] <neilff> yeah seriously... dual monitors also fixes the issue, but i am using 13" retina macbook so im limited for screen space
[21:04:30] *** mennea has quit IRC
[21:04:32] <neilff> plus i love full screen sublime :(
[21:04:33] <tristanp> i've been happily cmd-tabbing between terminal and vim for ages, this is considered slow workflow? it's the blink of an eye to check if your tests passed right
[21:04:40] *** Bade has joined #angularjs
[21:04:44] *** cthrax has joined #angularjs
[21:04:47] *** jsheely has quit IRC
[21:04:58] <jtymes> http://stackoverflow.com/questions/19877550/integrate-sublime-text-2-with-karma did you look at this?
[21:05:04] *** mennea has joined #angularjs
[21:05:04] *** JesuZ has quit IRC
[21:05:05] *** artivilla99__ has quit IRC
[21:05:24] *** netameta has joined #angularjs
[21:05:28] *** whunt has quit IRC
[21:05:31] *** hswolff has joined #angularjs
[21:05:39] *** artivilla99__ has joined #angularjs
[21:05:42] *** fission6 has quit IRC
[21:06:01] *** fornax has quit IRC
[21:06:12] *** anivemin has joined #angularjs
[21:06:20] *** nownot has joined #angularjs
[21:06:23] *** Arf has quit IRC
[21:06:30] *** snapwich has joined #angularjs
[21:06:32] *** Aliks has quit IRC
[21:06:41] <nownot> does anyone here use modern.ie vm’s? everytime I try to go to an ip it just searches bing. using ie9
[21:06:42] <nownot> thoughts
[21:06:46] *** kenavr has joined #angularjs
[21:07:00] *** c00ljs has joined #angularjs
[21:07:07] <neilff> ah nice find, ill try that out, might be exactly what i want
[21:07:29] <neilff> nownot: are you putting http:// in front of it?
[21:07:31] <jtymes> tristanp: well duh that's precious milliseconds. should obviously have a tmux setup with vim on one side and a pane on the other
[21:07:38] *** enigmarm has joined #angularjs
[21:07:40] <jtymes> ;)
[21:07:52] *** antons has joined #angularjs
[21:07:53] <nownot> neilff: nah
[21:08:08] *** JesuZ has joined #angularjs
[21:08:13] *** joao__ is now known as joleal
[21:08:19] *** herm1t has left #angularjs
[21:08:19] *** laserbeak43 has joined #angularjs
[21:08:39] <nownot> neilff: damn, if I do it works
[21:08:42] *** beckyconning has quit IRC
[21:08:42] <nownot> thanks :)
[21:09:01] *** dmack has joined #angularjs
[21:09:08] <dmack> anyone here familar with teh ui-select module?
[21:09:12] *** scrapmetal__ has joined #angularjs
[21:09:14] *** bpmj has quit IRC
[21:09:21] <neilff> yeah IE is... well, you know..
[21:09:22] <dmack> https://github.com/angular-ui/ui-select
[21:09:43] <nickeddy> ctanga: oh yeah
[21:10:01] *** baweaver has joined #angularjs
[21:10:06] *** Eiam has joined #angularjs
[21:10:19] <jtymes> dmack: not used it, but i know what it is. what's the issue you're running into?
[21:10:20] *** artivilla99__ has quit IRC
[21:10:36] *** Bade has quit IRC
[21:10:42] *** anivemin has quit IRC
[21:10:45] <dmack> jtymes: everything works fine, but I'm trying to just bind part of the model to my scope. exampe:
[21:10:48] *** pootpoot has joined #angularjs
[21:10:57] *** kenavr has quit IRC
[21:11:13] <dmack> https://gist.github.com/dmackerman/f4f78b6f3083ea4c609b
[21:11:14] *** lsiv568 has joined #angularjs
[21:11:22] <dmack> ah, wait.
[21:11:28] *** snapwich has quit IRC
[21:11:33] *** jiskiras has joined #angularjs
[21:11:45] <dmack> essentially what I want is my location.shipping.countryId to just be the "id" field of the selected country.
[21:11:46] *** AWAW has quit IRC
[21:11:53] <dmack> instead it takes the entire model
[21:12:03] *** JeffBonds has left #angularjs
[21:12:08] <BobbieBarker> if you try to JSON stringify an object with function properties will that throw an error?
[21:12:26] *** emmesswhy has joined #angularjs
[21:12:36] <dmack> so it looks like this: https://gist.github.com/dmackerman/f4f78b6f3083ea4c609b
[21:12:37] *** AWAW has joined #angularjs
[21:12:40] <neilff> jtymes: awesomeeee thank you
[21:12:50] *** x4e has joined #angularjs
[21:13:00] *** wallerdev has quit IRC
[21:13:03] *** CHC has quit IRC
[21:13:07] *** chanced has quit IRC
[21:13:15] <jtymes> neilff: build system thing work?
[21:13:22] <neilff> yeah just as i wanted
[21:13:32] <neilff> command + b then it comes up in the console
[21:13:40] <neilff> its perfect thanks
[21:13:50] <jtymes> sweet!
[21:14:06] *** guy has joined #angularjs
[21:14:08] *** cam_y has quit IRC
[21:14:39] *** iribarne has quit IRC
[21:17:00] *** krawek has joined #angularjs
[21:17:38] *** hell_razer has joined #angularjs
[21:18:43] *** DrMabuse has joined #angularjs
[21:19:25] <jtymes> dmack: did you try doing country.id as country in countries ?
[21:19:44] *** guy has quit IRC
[21:19:58] <dmack> jtymes: thanks dude.
[21:20:04] <dmack> so that is bit misleading.
[21:20:11] <dmack> beacuse it's an ngRepeat, not ngOptions
[21:20:14] *** jwowwz has joined #angularjs
[21:20:21] <jtymes> actually it's not an ng-repeat
[21:20:26] *** comma8 has joined #angularjs
[21:20:29] <jtymes> as far as i can tell
[21:20:34] <jtymes> it's just repeat
[21:20:39] <dmack> OH
[21:20:40] <jtymes> they have their own directive there
[21:20:41] <dmack> holy crap.
[21:20:46] <jtymes> https://github.com/angular-ui/ui-select/blob/master/examples/demo-bind-to-single-property.html
[21:20:46] <pootpoot> Hello. inside my directive link function i set a $scope variable to true, however at the start of the link function it is always false. In the directive definition i set controller: MyController (where the $scope var lives) and scope: false
[21:20:57] *** glosoli has quit IRC
[21:21:00] <jtymes> it seems to be working mostly like ng options
[21:21:05] <dmack> jtymes: bingo, thanks alot
[21:21:09] *** mccarrontr1ck has quit IRC
[21:21:12] <jtymes> np
[21:21:24] *** mchung has quit IRC
[21:21:49] *** amphetamines has joined #angularjs
[21:22:16] *** cam_y has joined #angularjs
[21:22:21] *** Mxyzpltk has joined #angularjs
[21:22:34] *** dhcar_AFK is now known as dhcar
[21:22:48] <pootpoot> Anyone know why I can't keep the $scope variable "true" inside a directive link (between all elements with the directive)?
[21:22:52] *** tristanp has quit IRC
[21:23:12] *** tomdale_ has quit IRC
[21:23:23] *** mccarrontr1ck has joined #angularjs
[21:23:33] <jtymes> can you post an example
[21:23:38] <jtymes> it'll be easier to follow
[21:23:57] *** jennmoneydollars has quit IRC
[21:24:08] *** ccbmx has joined #angularjs
[21:24:16] *** danecando has quit IRC
[21:24:28] *** tomdale_ has joined #angularjs
[21:24:37] *** jbourassa has joined #angularjs
[21:24:53] *** tfennelly has joined #angularjs
[21:25:06] *** patrickarlt has quit IRC
[21:25:15] *** lilVaratep has quit IRC
[21:25:16] *** fatshark has quit IRC
[21:25:32] *** jennmoneydollars has joined #angularjs
[21:25:39] *** patrickarlt has joined #angularjs
[21:25:45] *** ben_dev has quit IRC
[21:26:26] *** opiates has quit IRC
[21:27:43] <pootpoot> jtymes yes! http://pastebin.com/k6aPy30f
[21:27:45] <pootpoot> thanks
[21:28:06] *** ben_dev has joined #angularjs
[21:28:24] *** cmart has joined #angularjs
[21:28:48] *** matthoiland has joined #angularjs
[21:28:58] *** ckboii89 has quit IRC
[21:29:17] *** chanced has joined #angularjs
[21:29:43] *** qmfnp has quit IRC
[21:30:22] *** cmart has left #angularjs
[21:30:28] *** tykayn has joined #angularjs
[21:31:07] *** dspe has joined #angularjs
[21:31:29] *** cmart has joined #angularjs
[21:32:38] *** FlyingDog has quit IRC
[21:32:48] *** bayousoft has quit IRC
[21:33:00] *** matthoiland has quit IRC
[21:33:10] *** bayousoft has joined #angularjs
[21:33:17] *** Sebastien-L has quit IRC
[21:33:24] *** jlambert121 has joined #angularjs
[21:33:28] <jtymes> well you could use a service there instead
[21:33:43] *** emmesswhy has quit IRC
[21:33:53] <pootpoot> shouldn't the scope remain consistant?
[21:34:03] *** fission6 has joined #angularjs
[21:34:33] *** mennea has quit IRC
[21:34:59] *** sirkitree|afk is now known as sirkitree
[21:35:07] *** mennea has joined #angularjs
[21:35:48] *** bealtine has quit IRC
[21:35:55] *** bAnt_ has quit IRC
[21:36:08] *** medusa has quit IRC
[21:36:15] *** gnrlbzik_ has quit IRC
[21:36:20] <henn1nk> how can i use jquery elements in a angularjs controller? for example for jquery ui draggable();
[21:36:49] *** gnrlbzik has joined #angularjs
[21:37:08] *** RichardLitt has quit IRC
[21:37:28] *** Aliks has joined #angularjs
[21:38:00] *** dhcar is now known as dhcar_AFK
[21:38:02] *** dllama1 has joined #angularjs
[21:38:12] *** nemothekid has quit IRC
[21:38:43] *** medusa has joined #angularjs
[21:38:44] *** gnrlbzik has quit IRC
[21:38:46] *** gnrlbzik_ has joined #angularjs
[21:38:57] *** tristanp has joined #angularjs
[21:38:57] *** frickettz has quit IRC
[21:39:00] *** braoru has joined #angularjs
[21:39:21] *** tschundeee has quit IRC
[21:39:32] <tristanp> wait, can you attach things to scope in a controller by attaching them to 'this'?
[21:39:42] <jtymes> henn1nk: you'd use them in a directive
[21:39:52] <henn1nk> jtymes: ok
[21:41:06] <jtymes> tristanp: yeah, but i *think* you need to use controller-as syntax for that to work
[21:41:37] <tristanp> jtymes: this seems like a big deal whether you attach to scope or this
[21:41:42] *** Aswebb has quit IRC
[21:41:56] <tristanp> jtymes: i mean i guess as a matter of practicality it doesn't matter much, but philosophically it seems huge
[21:42:35] *** Climax777 has quit IRC
[21:42:37] <jtymes> what do you mean?
[21:42:49] *** nickgs has quit IRC
[21:42:50] <tristanp> which is considered best practice?
[21:43:18] *** lsiv568 has quit IRC
[21:43:53] *** mrogne has quit IRC
[21:44:08] *** AWAW has quit IRC
[21:44:20] <jtymes> i don't know the answer to that one. but controller-as is pretty neat.
[21:44:56] <jtymes> http://toddmotto.com/rethinking-angular-js-controllers/ todd goes into detail here about avoiding $scope use
[21:45:10] *** travm is now known as travm-afk
[21:45:12] <ingsoc> tristanp: no they will not be accessible on scope by your view
[21:45:18] <ingsoc> unless you use controllers as
[21:45:25] <ingsoc> or manually set a property on scope
[21:45:32] *** AWAW has joined #angularjs
[21:45:34] <ingsoc> pointing to your controler
[21:45:35] *** RogerWS has quit IRC
[21:45:38] <ingsoc> controller
[21:45:39] <jtymes> i think the idea is that you would be using controller-as
[21:46:08] <ingsoc> so, to manually do what "controller as" is doing
[21:46:08] *** dspe has quit IRC
[21:46:37] <henn1nk> jtymes: hmmm and how to drag/drop between different controllers?
[21:46:45] *** tykayn has quit IRC
[21:46:49] <ingsoc> assign the things you want to use on the scope to "this" in the controller, then do...
[21:46:49] <ingsoc> scope.mycontroller = this
[21:46:50] <henn1nk> jtymes: or i put it into my main controller/module
[21:47:18] <ingsoc> tristanp: for what it is worth
[21:47:21] <ingsoc> i use controller as
[21:47:23] *** Aswebb has joined #angularjs
[21:47:32] *** kokeroulis has quit IRC
[21:47:52] <jtymes> henn1nk: that i do not know exactly. you would need to use $scope.$apply to bring things back into angular world
[21:48:12] *** Guest33255 has quit IRC
[21:48:37] *** kokeroulis has joined #angularjs
[21:48:40] <jtymes> i think there are some data events that get fired when dragging stuff around so you can read/write data within an $apply and it might work. try googling a bit for using jquery with $aply
[21:48:41] <ingsoc> as it makes it more clear which scope/controller you are referring to and also prevents the situation where you write to a scope property that shadows a property you think you were reffering to in parent scope
[21:48:42] *** bpmj has joined #angularjs
[21:48:43] *** HelperW has joined #angularjs
[21:48:59] <ingsoc> tristanp: did that make sense ?
[21:49:21] *** zquad has left #angularjs
[21:49:27] *** mmccook has quit IRC
[21:49:31] *** lilVaratep has joined #angularjs
[21:49:41] <tristanp> ingsoc: yes, though i still dont get the drastic difference based on something seemingly unrelated
[21:49:42] *** NoNMaDDeN has quit IRC
[21:49:48] *** blackkbot has quit IRC
[21:50:01] <ingsoc> tristanp: tell me your confusion
[21:50:05] <ingsoc> and i will try and clarify
[21:50:10] *** guy has joined #angularjs
[21:50:12] *** mjs2600_ has joined #angularjs
[21:50:24] *** lucasefe has quit IRC
[21:51:15] <tristanp> ingsoc: basically, why should it matter how the template interacts with the controller. Whether im attaching properties to $scope or 'this' is something internal to the controller
[21:51:23] <ingsoc> scope is a JS object passed in to your controller that is the bridge between your controller/business logic and the view (html/template)
[21:51:23] *** Efrem has quit IRC
[21:51:51] *** blackkbot has joined #angularjs
[21:52:10] <ctanga> nickeddy: wha?
[21:52:17] <ingsoc> assigning to "this" in the controller is assigning to the object contenxt of the controller function]
[21:52:22] <ingsoc> and is not linked to scope
[21:52:29] *** travm-afk is now known as travm
[21:52:57] *** jeffisabelle has joined #angularjs
[21:53:03] <ingsoc> when a controller is instantiated by angular it is done by "new MyController"
[21:53:17] <ingsoc> so it is in effect a constructor function
[21:53:21] <ingsoc> tristanp: getting any of this ?
[21:53:23] *** mmccook has joined #angularjs
[21:53:27] *** krawek has quit IRC
[21:53:45] *** mjs2600 has quit IRC
[21:53:49] *** dspe has joined #angularjs
[21:54:03] <tristanp> ingsoc: reading
[21:54:08] *** stwalcher has joined #angularjs
[21:54:12] <guy> man, this book, "Pro AngularJS" is killing me. I have an OCD that forces me to read everything cover-to-cover. And this book is no where near as advanced to have "Pro" as part of the name.
[21:54:14] *** nickgs has joined #angularjs
[21:54:22] <ingsoc> so, to make things available to the view(template) you have to assign functions/references on it
[21:54:32] <ingsoc> or just do scope.MyController = this
[21:54:49] *** jstroem has quit IRC
[21:55:05] <ingsoc> then within the template you have to prefix everything with MyController
[21:55:08] <ingsoc> e.g. MyController.yourProperty
[21:55:12] *** whunt has joined #angularjs
[21:55:14] *** lsiv568 has joined #angularjs
[21:55:16] *** RobinBAwesome has joined #angularjs
[21:55:20] *** slopjong has joined #angularjs
[21:55:24] *** jstroem has joined #angularjs
[21:55:26] <tristanp> would this imply that if i used 'this' instead of attaching to scope, child controllers wouldn't inherit the properties
[21:55:33] *** tykayn has joined #angularjs
[21:55:47] *** shackleford has quit IRC
[21:56:11] <ingsoc> tristanp: scopes inherit, not controllers afaict
[21:56:40] <tristanp> ingsoc: so is there a way that's considered best practice?
[21:56:43] *** macneib has quit IRC
[21:56:45] <ingsoc> if you want to share logic between controllers
[21:56:47] *** RogerWS has joined #angularjs
[21:56:48] <ingsoc> use services
[21:56:58] *** dhcar_AFK is now known as dhcar
[21:56:59] *** zanea|away is now known as zanea
[21:57:00] *** xdrone has quit IRC
[21:57:07] *** MasterGberry has quit IRC
[21:57:09] <ingsoc> tristanp: tell me what you are trying to do
[21:57:16] *** kenavr has joined #angularjs
[21:57:17] *** MasterGberry has joined #angularjs
[21:57:20] <ingsoc> and maybe put up a jsfiddle or plunker
[21:57:28] <tristanp> ingsoc: nothin, i was just browsing the docs and wondering why there was two ways to do something.
[21:57:34] <ingsoc> and then qwe have something more concrete to advise on
[21:57:42] *** scotttrinh has quit IRC
[21:57:42] <ingsoc> show me the docs
[21:57:47] <ingsoc> what you are referring to
[21:57:51] <ingsoc> and i will try and clarify
[21:58:00] *** clearcut has joined #angularjs
[21:58:10] *** neilff_ has joined #angularjs
[21:58:14] *** zanea is now known as zanea|away
[21:58:30] <jtymes> i think some would consider the controller-as syntax more 'pure'
[21:58:36] <tristanp> ingsoc: for instance the array example on this page https://docs.angularjs.org/guide/filter
[21:59:03] <tristanp> ingsoc: he uses this, but he could have attached to scope. it seems arbitrary, but maybe it isn't. that's why im asking
[21:59:10] *** Evanion has quit IRC
[21:59:40] *** jstroem has quit IRC
[21:59:52] *** zanea|away is now known as zanea
[22:00:04] *** anivemin has joined #angularjs
[22:00:08] *** matheuslc has quit IRC
[22:00:13] *** baweaver has quit IRC
[22:00:20] *** MuffinMan` has joined #angularjs
[22:00:35] *** shackleford has joined #angularjs
[22:00:36] *** guy has quit IRC
[22:00:44] *** leonsas has joined #angularjs
[22:00:46] *** cmart has quit IRC
[22:00:56] <ingsoc> tristanp: i was explaining this earlier
[22:01:08] *** neilff has quit IRC
[22:01:10] <ingsoc> he is using "FilterController as ctrl" which is the controller as syntax
[22:01:24] <ingsoc> re-read what i typed previously
[22:01:27] *** fsefs has joined #angularjs
[22:01:29] <tristanp> ingsoc: yep. i get why it works
[22:01:32] <ingsoc> and if you still don;t understand come back to me
[22:01:39] <ingsoc> well
[22:01:43] <tristanp> ingsoc: i just want to know why he chose that rather than the $scope method
[22:01:44] <ingsoc> it is a matter of style
[22:01:45] <ingsoc> I use it
[22:01:45] *** fairchild is now known as fairchild_away
[22:02:01] <ingsoc> but the effect is it exposes everything on your controller in the view
[22:02:05] *** slopjong has quit IRC
[22:02:09] *** glosoli has joined #angularjs
[22:02:15] <ingsoc> whereas some people like to assign specific functions onto scope directly
[22:02:22] *** visionary has joined #angularjs
[22:02:41] *** fairchild_away has quit IRC
[22:02:46] <ingsoc> and I agree the docs are not consistent
[22:02:51] <tristanp> ingsoc: so in other words there's no best practice in this area you know of. thanks, that's what i needed to know.
[22:02:53] <ingsoc> and best practices are hard to find
[22:03:06] *** wallerdev has joined #angularjs
[22:03:31] <tristanp> ingsoc: i come from ember where there is almost always one right way, hence my confusion
[22:04:20] <ingsoc> tristanp: I have only briefly looked at ember a long time ago when it was in major flux
[22:04:35] *** mennea has quit IRC
[22:04:36] <ingsoc> angular does still have some documentation issues unfortunately
[22:04:58] *** jtymes has quit IRC
[22:05:00] <ingsoc> it is also a rapidly evolving project
[22:05:06] *** mennea has joined #angularjs
[22:05:10] *** lucasefe has joined #angularjs
[22:05:16] *** favetelinguis has quit IRC
[22:05:24] *** freeman42 has quit IRC
[22:05:27] *** ckboii89 has joined #angularjs
[22:05:42] <ingsoc> tristanp: you happy with ember ? just trying angular to see what the fuss is about ?
[22:05:56] <tristanp> ingsoc: new job, uses angular
[22:05:58] *** D-Boy has quit IRC
[22:06:16] <ingsoc> tristanp: how you find ember ?
[22:06:22] <ingsoc> i keep meaning to have a look at it again
[22:06:29] <ingsoc> just to see how it compares
[22:06:41] <clearcut> wth is yeoman?
[22:07:07] *** jstroem has joined #angularjs
[22:07:08] *** mmccook has quit IRC
[22:07:08] *** explodes has joined #angularjs
[22:07:16] *** whiteboo_ has quit IRC
[22:07:27] <tristanp> ingsoc: i prefer it generally. it's main difference is that it has a ton of opinions about how your app should work that you must follow. this forces a website that is well designed, at the cost of flexibility and learning curve
[22:07:38] <ingsoc> also, don;t use the builtin router (ngRouter) if you are used to embers router. ui-router is a 3rd party router library for angular inspired by ember apparently to address the built in router limitations
[22:07:39] *** Hackwar1 has left #angularjs
[22:07:49] <explodes> Hello! Using $http GET, can I pass in parameters in such a way that they are sent like this: param[]=foo&param[]=bar
[22:07:50] *** jtymes has joined #angularjs
[22:08:06] <dllama1> hey guys, whats the "cleanest" way of using a jquery plugin in an angular app? trying to implement http://jqvmap.com/
[22:08:10] *** jstroem has quit IRC
[22:08:11] *** dllama1 is now known as dllama
[22:08:15] *** ben_dev has quit IRC
[22:08:17] <tristanp> ingsoc: for instance, no nooby traps like $rootScope
[22:08:20] <Foxandxss> tristanp: ember is good, but I learnt about not using conventions and I am happier this way
[22:08:34] <Foxandxss> that is a nooby trap but could be usefu
[22:08:35] <Foxandxss> useful*
[22:08:41] *** jtymes has quit IRC
[22:08:48] *** jstroem has joined #angularjs
[22:08:49] <Foxandxss> better to have things that can be used that having just one way
[22:08:51] <Foxandxss> said that, ember is cool
[22:08:52] *** Sky[x] has joined #angularjs
[22:09:30] <tristanp> yeah, i would say i dont have enough experience in either to make a definitive statement.
[22:09:41] *** mrogne has joined #angularjs
[22:09:58] *** tubiz has joined #angularjs
[22:10:00] <Foxandxss> both are good framework, both are good choices
[22:10:04] <Foxandxss> why are you trying angular tho?
[22:10:22] <ingsoc> Foxandxss: new job he said
[22:10:22] *** baweaver has joined #angularjs
[22:10:23] *** mchung has joined #angularjs
[22:10:29] *** jacuqesdancona__ has joined #angularjs
[22:10:29] <ingsoc> and it requires angular
[22:10:29] *** Jayro has quit IRC
[22:10:41] *** fairchild has joined #angularjs
[22:10:54] <Foxandxss> ah sorry, just came
[22:11:42] *** artmann has joined #angularjs
[22:11:46] <Foxandxss> tristanp: you will find here all the help you need mate
[22:11:48] <ingsoc> Foxandxss: I can see there being quite a lot of learning to do and problems as expectations for SPA become the norm. learning things like ember/angular are still quite an investment, even if you already know html/css/JS
[22:12:07] <ingsoc> especially as there are multiple frameworks
[22:12:15] <ingsoc> and companies using different ones
[22:12:16] *** stevvooe has quit IRC
[22:12:19] <Foxandxss> yes
[22:12:20] <Foxandxss> that is true
[22:12:22] <ingsoc> there's already backbone
[22:12:25] <tristanp> yeah, hopefully no new popular ones pop up
[22:12:27] <ingsoc> knockout.js etc.
[22:12:28] <Foxandxss> but I wont move from angular tho
[22:12:31] <ingsoc> react.js
[22:12:32] <ingsoc> ember
[22:12:34] <ingsoc> angular
[22:12:34] *** RichardLitt has joined #angularjs
[22:12:45] <ingsoc> Foxandxss: well not by choice
[22:12:45] <tristanp> we already have backbone angular and ember and others im not thinking of
[22:12:55] *** amphetamines has quit IRC
[22:13:10] <Foxandxss> tomorrow I have an interview for an angular gig
[22:13:10] <ingsoc> I have found angular at first delights
[22:13:11] <Foxandxss> so...
[22:13:12] <ingsoc> then frustrates
[22:13:20] *** BahamutWC|Work has joined #angularjs
[22:13:21] <ingsoc> then gets a bit better
[22:13:26] <ingsoc> then a lot more complex
[22:13:30] *** MANCHUCK has quit IRC
[22:13:32] <ingsoc> then if you stick with it
[22:13:32] *** jstroem has quit IRC
[22:13:32] *** moritzs has quit IRC
[22:13:35] <ingsoc> gets superb
[22:13:36] <ingsoc> :D
[22:13:45] <ingsoc> i spose it is like golf
[22:14:06] <dllama> is there an angular equivalent of rails content_for tags? for instance if i want to include certain css or js files only on a specific view?
[22:14:23] *** dvy has quit IRC
[22:14:41] <Foxandxss> no
[22:14:46] <dllama> i dont necessiarly want to include a full jquery library on most pages, just on the page that needs it
[22:14:47] *** bayousoft has quit IRC
[22:14:51] <dllama> plugin not library*
[22:14:53] *** stevvooe has joined #angularjs
[22:14:55] *** nownot has quit IRC
[22:14:55] <Foxandxss> no
[22:15:05] <dllama> ok
[22:15:06] *** \du has joined #angularjs
[22:15:06] <dllama> thanks
[22:15:11] *** bayousoft has joined #angularjs
[22:15:13] *** jacuqesdancona__ has quit IRC
[22:15:13] *** JesuZ has quit IRC
[22:15:33] *** x4e has quit IRC
[22:15:41] *** superstructor has joined #angularjs
[22:15:42] *** D-Boy has joined #angularjs
[22:15:55] *** Somatt_wrk_ has quit IRC
[22:16:13] *** Guest95698 has joined #angularjs
[22:16:31] *** Somatt_wrk has joined #angularjs
[22:16:50] <leonsas> I'm having problems loading a module to my angular project: https://dpaste.de/rcLw
[22:17:25] <leonsas> It's angular-segmentio, and I installed it through `bower install angular-segmentio --save`
[22:17:42] *** superstructor has quit IRC
[22:17:48] <Foxandxss> added on the script tag?
[22:18:13] *** lsiv568 has quit IRC
[22:18:33] *** joaojeronimo has joined #angularjs
[22:18:42] *** vbabiy has quit IRC
[22:18:56] <zumba_addict> hey guys, I have an ng-click on <span> I've added ng-disabled="true" to disable it but it's not getting disabled. I've also tried disabled="true" but not is happening. I can add an if (disabledButton) in the function that gets called but I don't want that route
[22:19:06] <zumba_addict> it works on <button>
[22:19:07] *** opiates has joined #angularjs
[22:19:16] *** vbabiy has joined #angularjs
[22:19:19] <Foxandxss> ng-disable is only for buttons I think
[22:19:20] *** danielmahon has joined #angularjs
[22:19:22] <zumba_addict> o
[22:19:24] <zumba_addict> oh
[22:19:25] *** IvailoStoianov has quit IRC
[22:19:44] *** ben_dev has joined #angularjs
[22:19:59] *** NormySan has quit IRC
[22:20:54] *** joleal has quit IRC
[22:21:35] *** lsiv568 has joined #angularjs
[22:21:41] <monokrome> Hey. Does anyone know why this link function doesn't work as expected by putting the provider in the header, but if I change scope to 'no' then it starts working? http://codepen.io/monokrome/collab/Cugcf/
[22:22:53] *** x4e has joined #angularjs
[22:23:11] *** danecando has joined #angularjs
[22:23:41] <Foxandxss> coooffeeee
[22:23:49] <monokrome> yeah
[22:23:52] <Foxandxss> and jade
[22:23:57] <monokrome> yep
[22:24:07] <Foxandxss> put it on a fiddle and I die
[22:24:12] *** shackleford has quit IRC
[22:24:12] <monokrome> Click the eye to see a compiled version if you like reading more characters
[22:24:20] <chanced> bah, there has to e a cleaner way to expose scope to sub directives... :|
[22:24:25] <Foxandxss> directive needs a return
[22:24:30] <monokrome> chanced: controllers?
[22:24:30] <Foxandxss> not sure if coffee does that
[22:24:33] *** mrogne_afk has joined #angularjs
[22:24:34] <Foxandxss> I do
[22:24:35] <Foxandxss> thank you
[22:24:41] *** mrogne has quit IRC
[22:24:44] *** holodoc has joined #angularjs
[22:24:47] <chanced> monokrome: yea, that's what i'm doing but it seems pretty hackish
[22:24:56] *** holodoc has quit IRC
[22:25:00] *** mrogne_afk is now known as mrogne
[22:25:04] *** endash has quit IRC
[22:25:04] *** mrogne has quit IRC
[22:25:05] *** mrogne has joined #angularjs
[22:25:07] <monokrome> Foxandxss: It will return the configuration object
[22:25:14] *** holodoc has joined #angularjs
[22:25:20] <Foxandxss> yes I know, but I dont read coffee
[22:25:30] <monokrome> If you click the eye/preview icon it shows the compiled JS
[22:26:03] *** Juanchito has quit IRC
[22:26:04] <monokrome> It's in the top right of each editor pane file
[22:26:13] <monokrome> thing!
[22:26:14] *** jpiasetz has quit IRC
[22:26:17] <Foxandxss> yes yes
[22:26:26] *** jpiasetz has joined #angularjs
[22:26:32] <Foxandxss> monokrome: next time, html and JS please
[22:26:47] <monokrome> I'm sure there's other people in here that prefer coffee
[22:26:59] <jaawerth> chanced: It's especially workable if you use "controller as" syntax
[22:27:02] <monokrome> If I paste HTML and JS then they're forced to read HTML and JS
[22:27:03] <Foxandxss> but since I am who helps
[22:27:05] <Foxandxss> I prefer JS
[22:27:06] <monokrome> If I post it this way, you have a choice
[22:27:09] <monokrome> Then don't help
[22:27:11] <monokrome> :/
[22:27:14] <Foxandxss> 95% of the channel uses javascript
[22:27:15] <chanced> jaawerth: oh? im not familiar with that
[22:27:17] <Foxandxss> don't be stupid
[22:27:19] <Foxandxss> monokrome: http://angular-tips.com/blog/2014/03/transclusion-and-scopes/
[22:27:20] <Foxandxss> read that
[22:27:22] *** bade has joined #angularjs
[22:27:27] <Foxandxss> that is the solution to your problem
[22:27:34] <Foxandxss> next time I won't help then
[22:27:55] <monokrome> Foxandxss: The link is using the parent's scope, right?
[22:28:01] <Foxandxss> no
[22:28:13] <Foxandxss> it is using your new isolated scope
[22:28:20] *** borvoh has quit IRC
[22:28:29] <Foxandxss> but what you do on your directive and what you do on that h1
[22:28:30] <Foxandxss> has nothing to do
[22:28:31] <jaawerth> chanced: It's the new way to approach scopes. It's basically a shorthand for doing "$scope.ctrlAlias = this" in the controller and then setting variables via "this.foo" instead of "$scope.foo" so you're accessing values from the view via "ctrlAlias.foo".
[22:28:41] *** bpmj has quit IRC
[22:28:44] <monokrome> Then the nested element (h1) should inherit the scope I would think
[22:28:50] *** AngularUI has joined #angularjs
[22:28:51] <AngularUI> [ng-grid] swalters pushed 1 new commit to master: http://git.io/_0gOdQ
[22:28:51] <AngularUI> ng-grid/master 0c5e670 Shane Walters: fix(cellNav) fix for #1410
[22:28:51] *** AngularUI has left #angularjs
[22:29:03] <jaawerth> chanced: it circumvents the "primitives on scope" issue because everything is automatically wrapped in an object and greatly simplifies doing controller/scope inheritance
[22:29:06] <chanced> jaawerth: is that exclusive to 1.3 or is it backwards compat to 1.2
[22:29:09] <jaawerth> 1.2
[22:29:19] <monokrome> huh
[22:29:23] <monokrome> Is this new behavior in Angular?
[22:29:29] <Foxandxss> no
[22:29:43] <jaawerth> I believe it's been around since 1.15 or so
[22:29:48] <chanced> jaawerth: i dig it
[22:30:01] <chanced> i take it you dont even need to inject $scope at that point then
[22:30:03] *** enigmarm has quit IRC
[22:30:21] *** lucasefe has quit IRC
[22:30:27] *** balboah has quit IRC
[22:30:29] <jaawerth> I usually do just in case but theoretically, no
[22:30:35] <monokrome> Foxandxss: Seems like a separate issue, I don't have transclude set to true
[22:30:37] <chanced> interesting
[22:30:42] <jaawerth> chanced: chanced: https://thinkster.io/egghead/experimental-controller-as-syntax/ - it says "experimental" but it's really not anymore
[22:30:42] <Foxandxss> monokrome: doesn't matter
[22:30:54] <Foxandxss> that inner html is called transcluded html
[22:30:55] <monokrome> It's just going to transclude the inner HTML anyway since it wasn't a directive template?
[22:30:59] <Foxandxss> even if you don't actually transclude it
[22:31:19] <Foxandxss> the thing is, only the current element has the new scope
[22:31:22] <chanced> jaawerth: thanks
[22:31:27] *** neilff_ has quit IRC
[22:31:28] <Foxandxss> none of the siblings nor children have it
[22:31:37] *** vassagus has joined #angularjs
[22:31:45] <jaawerth> chanced: Sure thing. Oh, and when using with directives there are a couple of directive options that help. Take a look at "controllerAs" and "bindToController" here https://docs.angularjs.org/api/ng/service/$compile
[22:31:48] *** sixr420 has quit IRC
[22:31:51] *** magellanicloud has joined #angularjs
[22:32:06] <monokrome> Foxandxss: It's not even working with the current element, I tried to extend a function onto the scope from the `link` and ng-click didn't work
[22:32:07] <chanced> hah, thanks - that saved me some googling :)
[22:32:17] <Foxandxss> show me that
[22:32:32] *** sixr420 has joined #angularjs
[22:32:46] *** evanjs has quit IRC
[22:32:54] *** icicled has joined #angularjs
[22:33:04] *** fila has joined #angularjs
[22:33:24] *** mennea has quit IRC
[22:33:25] *** JBreit has quit IRC
[22:33:55] <autolycus> how do I get all the request parameters in my angular code module.exports = function($scope, $guest, $routeParams, $location)
[22:33:55] <autolycus> {
[22:34:16] *** Evanion has joined #angularjs
[22:34:20] <icicled> qq, are functions allowed inside {{ }}, e.g. {{ Date.now() > Date.parse("2014-01-01") ? "Yep" : "Nope" }}
[22:34:47] *** nickgs has quit IRC
[22:35:04] <Foxandxss> you shouldn't do that
[22:35:10] <monokrome> Foxandxss: Same issue here because it's a text ndoe?
[22:35:24] <Foxandxss> monokrome: sorry don't follow
[22:35:40] <monokrome> Foxandxss: Are you still on that link I gave you? It's collaborative and I changed the code
[22:35:43] <nickeddy> icicled: you can do that in expressions but it's probably not a good idea to given you'd be throwing code in the view
[22:35:58] <Foxandxss> ah sorry
[22:36:00] *** tschundeee has joined #angularjs
[22:36:02] <monokrome> It says two people are there
[22:36:04] <Foxandxss> let me check
[22:36:07] <autolycus> I am trying to get the request parameters that were passed to the page…kind like in php $_GET
[22:36:13] <autolycus> or $_REQUEST
[22:36:14] <icicled> nickeddy, I've tried it @ http://jsfiddle.net/6L7obpv1/2/ and it fails >_>
[22:36:21] *** nickgs has joined #angularjs
[22:36:26] <icicled> fails as in the expression is false when it should be true
[22:36:26] *** braoru has quit IRC
[22:36:29] <Foxandxss> monokrome: could you please change Jade to HTML? It is a element issue and I can't understand the boundaries there
[22:36:57] <jaawerth> angular AND jade templates mixed?
[22:37:03] *** qstrahl has quit IRC
[22:37:04] <Foxandxss> yes
[22:37:05] *** ben_dev has quit IRC
[22:37:07] <jaawerth> sounds scary
[22:37:10] *** mchung has quit IRC
[22:37:16] <Foxandxss> indeed
[22:37:18] <monokrome> jaawerth: Why is that scary?
[22:37:25] <Foxandxss> Jade is the biggest shit ever made
[22:37:28] *** doug_ has quit IRC
[22:37:29] <Foxandxss> and... what's wrong with HTML?
[22:37:39] <chanced> jaawerth: controller as is definitely slick. thanks again for suggesting it
[22:37:40] <Foxandxss> too picky with the spaces, tabs and stuff like that
[22:37:47] <monokrome> How about the fact that you can write unbalanced tags
[22:37:52] <jaawerth> monokrome: Well, mixing server- and client-side templating for an app is very, very difficult to do without it turning into a nightmare to debug and maintain
[22:37:59] <monokrome> or all the extra unnecessary typing
[22:38:09] <Foxandxss> I don't type, editor does that for me
[22:38:18] <monokrome> jaawerth: Nobody's doing server-side templating, and {{ }} {% %} aren't keywords in jade
[22:38:29] <jaawerth> it isn't about confusing the keywords
[22:38:42] <jaawerth> if you aren't doing server-side templating then I guess it's less of a big deal
[22:38:42] <Foxandxss> button(
[22:38:43] <Foxandxss> data-example='tada'
[22:38:43] <Foxandxss> data-ng-click='clicked()'
[22:38:43] <Foxandxss> ) {{ provider }}
[22:38:44] *** qmfnp has joined #angularjs
[22:38:47] <Foxandxss> wuuut is thjat
[22:38:48] <monokrome> Well, it doesn't make debugging more difficult
[22:38:50] <Foxandxss> seriously
[22:38:52] <Foxandxss> can't figure out
[22:38:53] <jaawerth> but as Foxandxss says, there are easier ways to save yourself some typing
[22:39:03] <jaawerth> without preprocessing your stuff on the server
[22:39:09] *** FIFOd[a] has quit IRC
[22:39:13] <monokrome> Foxandxss: It's this: <button data-example='tada' data-ng-click='clicked()'>{{ provider }}</button>
[22:39:17] *** definity1 has quit IRC
[22:39:17] <Foxandxss> ah
[22:39:21] <chanced> I've ever understood templating languages like haml or jade
[22:39:23] <nickeddy> icicled: http://jsfiddle.net/n93ajwgf/
[22:39:28] <Foxandxss> I thought that {{provider}] was outside
[22:39:32] <Foxandxss> still monokrome
[22:39:33] *** mattwynne has joined #angularjs
[22:39:41] <Foxandxss> {{ provider }} is not part of the element itself
[22:39:44] <Foxandxss> it is _inside_ it
[22:39:48] <Foxandxss> so won't work
[22:39:48] <monokrome> jade is always element#id.class-name.other-class-name(attribute='here')
[22:40:00] *** JohnBat26 has quit IRC
[22:40:02] <monokrome> where all components there are optional, element defaults to div if not provided
[22:40:04] <Foxandxss> when I say element
[22:40:08] <Foxandxss> is something like
[22:40:11] <Foxandxss> ng-bind="provider"
[22:40:11] <monokrome> Foxandxss: Because it's a text node?
[22:40:14] <Foxandxss> that should work
[22:40:39] <monokrome> Seems like it said 0?
[22:40:43] <Foxandxss> <div foo> ... </div>
[22:40:45] <nickeddy> icicled: even then that's sort of silly lol
[22:40:48] <Foxandxss> yeah, it did
[22:40:52] <icicled> nickeddy, thanks, yea it is silly heh
[22:40:54] <Foxandxss> if foo has a new isolated scope
[22:40:56] *** tomphp has joined #angularjs
[22:40:59] *** JBreit has joined #angularjs
[22:41:00] <Foxandxss> nothing inside the div will know
[22:41:06] <jaawerth> also it looks like provider is a primitive on scope
[22:41:10] *** mchung has joined #angularjs
[22:41:10] <jaawerth> that's going to have binding issues.
[22:41:10] <monokrome> Maybe Angular isn't a good choice for our app :(
[22:41:16] *** josh-k has joined #angularjs
[22:41:20] <Foxandxss> you have to learn angular
[22:41:32] <jaawerth> chanced: happy to help. Yeah, it's pretty cool - the only annoying thing is now I want to go back and switch to it for a bunch of things
[22:41:36] <Foxandxss> you can't just say... Oh, I don't know how to do X, bad choice for me
[22:41:39] <Foxandxss> you can do what you want
[22:41:48] <Foxandxss> but that is not a good thing for you
[22:41:51] <chanced> jaawerth: heh, im contemplating the same
[22:41:51] *** logik-bomb has joined #angularjs
[22:41:51] <caitp> to be fair, it might be a bad choice for him
[22:41:52] <caitp> or her
[22:41:54] *** bpmj has joined #angularjs
[22:41:55] <monokrome> I know Angular, but I just didn't know that nested content was automatically considered transcluded. This is only because I've always written fully client-side apps, and this is my first time doing a server-side app with Angular in it :)
[22:42:06] <caitp> what
[22:42:08] *** farski has quit IRC
[22:42:09] <nickeddy> server-side app wat
[22:42:12] <jaawerth> that's what I'm trying to sayyy
[22:42:13] <Foxandxss> serverside has nothing to do with that
[22:42:17] *** sdouble has quit IRC
[22:42:22] <monokrome> jaawerth: The server side isn't using jade, the jade thing is totally separate
[22:42:34] <monokrome> Foxandxss: It does when every other app I've made used templateUrl
[22:42:35] <jaawerth> how is it server-side?
[22:42:45] <monokrome> jaawerth: https://www.djangoproject.com/
[22:42:48] *** jwowwz has quit IRC
[22:42:50] <nickeddy> lol
[22:42:54] <nickeddy> i'm using django and angular
[22:43:01] <monokrome> They have these programs that run on servers and content comes out :)
[22:43:03] <nickeddy> and i don't ever do any server side rendering of anything
[22:43:08] <jaawerth> so.. you're saying it's the first app you're writing a backend for?
[22:43:11] <nickeddy> except the index.html once
[22:43:15] <Foxandxss> nickeddy: same here
[22:43:18] <monokrome> jaawerth: No, the rest used REST APIs as the backend.
[22:43:25] <monokrome> The backend was a separate app
[22:43:33] *** tschundeee has quit IRC
[22:43:40] *** MaxV has joined #angularjs
[22:43:41] <nickeddy> 90% sure you just don't know what you're talking about, but really, angular is server-side agnostic
[22:43:48] *** tschundeee has joined #angularjs
[22:43:52] <monokrome> nickeddy: I already know that
[22:43:58] <monokrome> 90% you're not paying attention
[22:44:04] <jaawerth> no, we just don't understand
[22:44:06] *** torrieri has joined #angularjs
[22:44:09] <jaawerth> okay, so how is it different?
[22:44:13] *** sixr420 has quit IRC
[22:44:14] <monokrome> templateUrl
[22:44:23] <nickeddy> monokrome> I know Angular, but I just didn't know that nested content was automatically considered transcluded. This is only because I've always written fully client-side apps, and this is my first time doing a server-side app with Angular in it :)
[22:44:29] <monokrome> The other apps never had the nesting issue, because I used $templateCache and separated templates
[22:44:33] *** fsefs has quit IRC
[22:44:39] *** sixr420 has joined #angularjs
[22:44:40] *** ben_dev has joined #angularjs
[22:44:43] <jaawerth> django and templateUrl don't explain how that's different, because you can use both of those things with a REST API-based app
[22:44:45] <nickeddy> what does templateUrl have to do with anything?
[22:44:51] <nickeddy> indeed
[22:44:52] <Foxandxss> maybe the word transcluded there is not even correct
[22:44:53] <monokrome> ok
[22:44:56] <Foxandxss> but the idea remains
[22:45:00] *** lsiv568 has quit IRC
[22:45:00] <monokrome> if I use templateUrl, it gets the scope I expected in that template
[22:45:04] <monokrome> Does that make sense?
[22:45:12] <Foxandxss> not really
[22:45:20] *** whitebook has joined #angularjs
[22:45:31] <nickeddy> where are you using templateUrl exactly?
[22:45:35] *** MaxV has quit IRC
[22:45:37] *** eperez has quit IRC
[22:46:12] *** superstructor has joined #angularjs
[22:46:19] *** qmfnp has quit IRC
[22:46:31] *** Evanion has quit IRC
[22:46:32] *** elux has joined #angularjs
[22:46:40] *** gr33d has joined #angularjs
[22:46:41] *** gnrlbzik_ has quit IRC
[22:46:48] <jaawerth> the scope is agnostic to where the template is coming from, be it inline, templateUrl: or template:
[22:47:02] <monokrome> Foxandxss: Look at the code now
[22:47:08] *** BahamutWC|Work has quit IRC
[22:47:18] <monokrome> If i use templateUrl, the template magically has the non-transcluded scope
[22:47:19] *** clearing has quit IRC
[22:47:21] <monokrome> That was the confusing part.
[22:47:24] <Foxandxss> monokrome: yes
[22:47:28] <monokrome> I've never used a directive without a templateUrl before
[22:47:31] <Foxandxss> because the template you put there is PART of the directive
[22:47:34] <monokrome> Hence why it was a confusing thing to see
[22:47:38] <Foxandxss> earlier it wasn't part of the directive
[22:47:39] <monokrome> Yes, I understand now
[22:47:44] *** tristanp has quit IRC
[22:47:50] <Foxandxss> inside the directive, outside the directive
[22:47:55] <Foxandxss> that is the important bit
[22:47:55] <monokrome> But that is why I've never seen this issue before.
[22:47:57] <jaawerth> ahh I see
[22:47:57] <jpstone> get MEAN, baby
[22:48:01] *** walden is now known as walden|brb
[22:48:12] *** night-owl2 has joined #angularjs
[22:48:13] *** Jdubs has quit IRC
[22:48:14] *** qmfnp has joined #angularjs
[22:48:22] <monokrome> but now that the server is generating HTML instead of me using directive templates, new behavior that I hadn't seen before occured
[22:48:25] <monokrome> That's all
[22:48:33] *** qmfnp has quit IRC
[22:48:54] <nickeddy> is there a reason you're doing server side rendering?
[22:48:56] <jaawerth> this is a little bit of an oversimplification, but templateUrl: and template: are just convenience methods for appending content to a directive's root node
[22:49:17] *** JoshGlzBrk has joined #angularjs
[22:49:20] <monokrome> nickeddy: Yes, because our entire app is in production and a completely server side app.
[22:49:22] <jaawerth> you can accomplish the same behavior by using $http.get and $compile and then manually appending it in a linking function
[22:49:41] *** glosoli has quit IRC
[22:49:53] <nickeddy> that makes no sense
[22:49:54] <nickeddy> but okay
[22:50:01] <monokrome> ok
[22:50:08] <curser> Hey #angularjs, could I pitch a browser/reload problem here to see if sounds familiar to anyone?
[22:50:09] *** fauverism has joined #angularjs
[22:50:12] <monokrome> There's an app in Django that has templates rendered by a server
[22:50:14] *** NoNMaDDeN has joined #angularjs
[22:50:19] *** anivemin has quit IRC
[22:50:22] <monokrome> I am adding Angular to it because current ad-hoc frontend stuff isn't working well
[22:50:25] <monokrome> What doesn't make sense?
[22:50:30] <jaawerth> that's what I was warning about earlier. mixing server- and client-side rendering/templating is theoretically doable but it's really hard to do without it turning into a rat's nest that is very difficult to debug, maintain, or reuse
[22:50:35] <nickeddy> ah you're adding on top of it. i see
[22:50:37] *** klaut has quit IRC
[22:50:41] <jaawerth> buuut theoretically it's possible ;-)
[22:50:44] *** shackleford has joined #angularjs
[22:50:47] <jaawerth> ahhh
[22:50:49] <jaawerth> okay that makes sense
[22:50:53] <nickeddy> still
[22:50:55] <monokrome> jaawerth: but you were doing it under the guise of "jade is bad", which has nothing to do with server-side rendering...
[22:50:56] *** mattwynne has quit IRC
[22:50:57] <fauverism> Is it possible to store an object in a .$http.get(), as a var and then access it in other factory inside of a $http.post()?
[22:51:07] *** night-owl2 has quit IRC
[22:51:08] *** mtsr_ has quit IRC
[22:51:09] <nickeddy> i think replacing the server side rendering with just a REST API is better
[22:51:18] <nickeddy> data-driven not template driven :P
[22:51:19] <monokrome> I agree, but it's not an option
[22:51:24] <monokrome> Maybe Angular isn't the right solution
[22:51:25] *** squeakytoy has quit IRC
[22:51:32] *** shacklef_ has joined #angularjs
[22:51:33] <jaawerth> monokrome: I have no opinion about jade vs. any other server-side templating, I just avoid mixing the two forms like the plague.
[22:51:35] <nickeddy> probably not for your stack
[22:51:43] *** Evanion has joined #angularjs
[22:51:46] *** klaut has joined #angularjs
[22:51:58] *** drej has joined #angularjs
[22:51:59] <jaawerth> it's theoretically possible to make angular "widgets" that are only responsible for certain parts of the DOM by strategically placing your ng-app
[22:52:04] <Foxandxss> monokrome: ALL the templates I create, I cache them into the serverside so I never have to go back to the server
[22:52:12] <monokrome> jaawerth | angular AND jade templates mixed?
[22:52:15] <monokrome> jaawerth | sounds scary
[22:52:26] <jaawerth> yeah
[22:52:32] *** rho has quit IRC
[22:52:36] <jaawerth> I stand by that statement - it DOES sound scary
[22:52:55] <jaawerth> but it would sound scary with if it were "angular and PHP templates mixed?" or "angular and Mason templates mixed?"
[22:52:56] *** eperez has joined #angularjs
[22:53:09] *** Swayz has quit IRC
[22:53:16] <monokrome> Well, PHP is server side templating so yes
[22:53:20] <monokrome> jade is not
[22:53:30] *** PrintsAMD has quit IRC
[22:53:35] <jaawerth> depends on how you use it, but I get what you're saying ;-)
[22:53:42] <monokrome> Sure, you can use it poorly
[22:53:48] <monokrome> I can do that with Angular, too. Doesn't make Angular scary.
[22:54:02] <jaawerth> ugh, I promise I was not calling jade scary
[22:54:15] <monokrome> Jade + Angular works extremely well
[22:54:15] *** fedenunez has joined #angularjs
[22:54:26] *** baweaver has quit IRC
[22:54:29] <monokrome> Everyone goes "Oh, this is going to be terrible!" and then they try it and go "Oh, this is just awesome."
[22:54:38] <monokrome> I've seen it on multiple teams
[22:54:46] *** leonsas has quit IRC
[22:55:16] *** avree has joined #angularjs
[22:55:17] <jaawerth> are you preprocessing it into html and serving it statically?
[22:55:19] *** lilVaratep has quit IRC
[22:55:20] *** shackleford has quit IRC
[22:55:22] <monokrome> yes
[22:55:30] <monokrome> https://github.com/monokrome/angular-glp
[22:55:34] <monokrome> There's an example
[22:55:36] <jaawerth> okay, that's different
[22:55:52] <jaawerth> I've seen people come in here trying to do that dynamically and it's a nightmare, that's why I reacted that way ;-)
[22:55:58] <monokrome> I see
[22:56:00] <jaawerth> sorry for misunderstanding
[22:56:09] <monokrome> The original usecase that Foxandxss was talking about was doing the same
[22:56:16] *** evil-twin has quit IRC
[22:56:16] *** justinmburrous has joined #angularjs
[22:56:28] <jaawerth> I'm personally not a fan of preprocessing html but I can see the draw, and I'm already sold on doing that with CSS so...
[22:56:32] <monokrome> No need to be sorry, but it's worth discussing so that people don't disregard something they might actually like
[22:56:32] <Foxandxss> no no, Jade just suck, in any way, any possible way
[22:56:33] <Foxandxss> :P
[22:56:51] <Foxandxss> Too much bad experiences with it
[22:57:00] *** NoNMaDDeN has quit IRC
[22:57:02] <monokrome> Foxandxss: So, I guess the solution is to use a controller? :/
[22:57:06] *** gnrlbzik has joined #angularjs
[22:57:11] *** tschundeee has quit IRC
[22:57:12] <Foxandxss> you need controllers, yes
[22:57:19] <Foxandxss> not sure why you were using a directive in the first place
[22:57:24] *** Evanion has quit IRC
[22:57:25] *** mchung has quit IRC
[22:57:39] <monokrome> There's a <ul> with 48 items in it, each one is a product so I used a product directive
[22:57:42] *** HelperW has quit IRC
[22:57:47] *** tschundeee has joined #angularjs
[22:57:49] *** mmccook has joined #angularjs
[22:58:03] <Foxandxss> no need, but you can do that
[22:58:06] <Foxandxss> just, in the right way
[22:58:07] <Foxandxss> :P
[22:58:08] *** HelperW has joined #angularjs
[22:58:28] <monokrome> The right way is to use template for Angular, but I don't think that's an option
[22:58:33] <monokrome> :(
[22:58:44] <Foxandxss> why
[22:58:44] *** busticated has joined #angularjs
[22:58:51] <jaawerth> because it isn't a single page app
[22:58:53] *** zeroNones has quit IRC
[22:58:59] <Foxandxss> and?
[22:58:59] *** MaxV has joined #angularjs
[22:59:09] <monokrome> beause we don't require JS, the server puts out initial content and then we are appending dynamic behaviors to that
[22:59:10] <Foxandxss> sorry, not seeing the issue
[22:59:17] <Foxandxss> and?
[22:59:25] <autolycus> can anyone help me…I am openning angular app in light box by clicking on a link..when the link is clicked it adds some stuff to url query parameters. In amy address bar it doesnt show up as it opens up a light box …I have a need to get those query parameters. I tried $location and $routeParams but I get empty object {} ..please help
[22:59:29] *** mrogne is now known as mrogne_busy
[22:59:31] <jaawerth> "we don't require JS" = the site has to work without using any client-side JS?
[22:59:33] <Foxandxss> cache those templates in your app
[22:59:45] *** Juanchito has joined #angularjs
[22:59:50] <fauverism> Does anyone have thoughts on "Is it possible to store an object in a .$http.get(), as a var and then access it in other factory inside of a $http.post()?"
[22:59:59] <monokrome> and our templates are massive and a bit messy, I don't really have time to 1) change the way we serve files to allow serving the templates 2) breaking out the templates into separate files 3) training everyone on how that part works
[23:00:02] <monokrome> nor would it be a good idea
[23:00:26] *** dmack has quit IRC
[23:00:29] <Foxandxss> keep doing what you were doing for that project
[23:00:32] <jaawerth> you could use angular's templates if you made it responsible for only specific dynamic widgets on a page
[23:00:32] <Foxandxss> consider Angular for the next one
[23:00:34] *** whitsan has joined #angularjs
[23:00:41] *** emmesswhy has joined #angularjs
[23:00:42] *** mchung has joined #angularjs
[23:00:44] *** Eiam has quit IRC
[23:00:50] <monokrome> What we're doing is worse
[23:00:59] <monokrome> We'll slowly fix it
[23:01:02] *** snapwich has joined #angularjs
[23:01:04] <monokrome> Thanks for your help
[23:01:08] <jaawerth> it'd just be important to keep those walls up so angular's use doesn't get too "big" fight for dominance with the server-side stuff
[23:01:34] *** HelperW_ has joined #angularjs
[23:01:35] *** ben_dev has quit IRC
[23:01:36] <monokrome> jaawerth: There aren't any specifically dynamic widgets
[23:01:45] <jaawerth> ah
[23:01:48] <monokrome> Just behaviors that exist for the widgets when JS is available
[23:01:51] <monokrome> all content is server side
[23:01:52] *** BahamutWC|Work has joined #angularjs
[23:01:54] <jaawerth> gotcha
[23:02:04] <monokrome> but the current habit here is to do things like
[23:02:09] *** lilVaratep has joined #angularjs
[23:02:20] <monokrome> jQuery('#something').click(function () { jQuery('#something').stuff()... etc });
[23:02:25] *** tschundeee has quit IRC
[23:02:30] <monokrome> which gets slow and messy fast
[23:02:42] *** HelperW has quit IRC
[23:04:00] *** whatadewitt has quit IRC
[23:04:17] *** comma8 has quit IRC
[23:04:20] *** emmesswhy has quit IRC
[23:04:40] <ingsoc> monokrome: yeah, things like that are seductive, seems easy, and it is for simple things, but things never stay simple, they grow then you end up with a big ball of mud
[23:04:45] *** d10n-work has quit IRC
[23:04:45] *** cuong has quit IRC
[23:04:55] *** mityaz has quit IRC
[23:04:56] <monokrome> yep
[23:05:13] *** Siecje has left #angularjs
[23:05:17] *** eperez has quit IRC
[23:05:24] <ingsoc> monokrome: unfortunately some projects are too delicate to change in any fundamental way while having to respond to new business requirements
[23:05:37] *** HelperW_ has quit IRC
[23:05:38] *** x4e has quit IRC
[23:05:39] <ingsoc> i understand the pain basically
[23:05:57] *** edy has quit IRC
[23:06:14] *** xxMatiasxx has joined #angularjs
[23:06:19] <jaawerth> sounds like backbone might be a good candidate for that project, or one of the other lighter-weight frameworks
[23:06:23] *** edy has joined #angularjs
[23:06:24] *** cuong has joined #angularjs
[23:06:27] *** d10n-work has joined #angularjs
[23:06:47] <ingsoc> there was a guy on here having inherited a large complex looking mish mash of things of a website
[23:06:53] <ingsoc> and they had NO source control
[23:07:01] <ingsoc> the mind boggles
[23:07:17] <autolycus> hey guys, I can get to an object from console.log using myObject.cars from out side the app …how do I make that myObject available in my angular controller…
[23:07:28] *** emmesswhy has joined #angularjs
[23:07:29] <jaawerth> I've inherited a mess of a PHP application built on an old standard of PHP that isn't even using mysqli and I've decided I just need to rewrite from scratch
[23:07:30] *** tina_ has quit IRC
[23:07:33] <ingsoc> sometimes I think the daily WTF has some far fetched articles
[23:07:41] *** MANCHUCK has joined #angularjs
[23:07:42] <ingsoc> but I have seen some REAL bad shit
[23:07:53] <ingsoc> there must be lots of nightmares out in the coding wild
[23:07:56] <ingsoc> :D
[23:08:03] *** jas- has quit IRC
[23:08:03] <monokrome> jaawerth: The developers were using backbone before I got here (still are) but we are looking for something that is better for what we're doing.
[23:08:08] *** mchung has quit IRC
[23:08:10] <jaawerth> autolycus: I don't understand. The object is outside the controller and you want it in? WHere is the object coming from?
[23:08:27] <ingsoc> you can write shit in anything
[23:08:37] <ingsoc> the language/framework can only help so much
[23:09:00] <autolycus> jaawerth I have a parent page with a link (non-angular page) …clicking on the link opens up the angular app…I have that object in the parent page
[23:09:08] *** HelperW_ has joined #angularjs
[23:09:09] <monokrome> yep
[23:09:13] <monokrome> this one will help more
[23:09:29] <monokrome> if it works
[23:09:39] *** fauverism has quit IRC
[23:10:02] *** Greenie has joined #angularjs
[23:10:10] *** stanthedev has quit IRC
[23:10:39] *** sacho_ has quit IRC
[23:10:39] *** HelperW_ has quit IRC
[23:10:42] <Greenie> besides using $locationChangeSuccess, is there a way where i can see the previous page the user navigated from? Mabye something attached to $location?
[23:10:43] <jaawerth> autolycus: Er, well if the object isn't huge you could pass it as a URL param I guess
[23:10:44] *** edy has quit IRC
[23:10:47] *** HelperW_ has joined #angularjs
[23:10:59] <jaawerth> autolycus: but you'd probably be better off having Angular just request the object from the server
[23:11:43] *** bpmj has quit IRC
[23:12:10] *** ceephax has quit IRC
[23:12:16] *** tahoemph has quit IRC
[23:12:26] <autolycus> jaawerth I dont have that luxury as the server side team wants all the query parameters be available from client side, which is the way it should be…however I tried to get the query parameter but since link opens up in a dialouge / lightbox, I do not see them in my address bar and not sure how to get them in angular app
[23:12:57] *** Evanion has joined #angularjs
[23:13:16] <xxMatiasxx> Hi, My app uses ui-router. I call "Panels" to a small set of functionalities. Let's say I have Pictures, Categories and Products. I open panel Categories, and to manage subcategories of a category I load the same Panel with the category id as a parameter. This can be recursive infinitely. Also when I open a category I can add Products loading the Products panel and also add pictures loading the Pictures panel. I want to
[23:13:16] <xxMatiasxx> add (instead of replace) each panel in the right side of the screen, sliding the other panel to de left (check how spotify does). What is the correct approach to do this? Because views and states would be something like dynamically generated. Any example around?
[23:13:35] *** tahoemph has joined #angularjs
[23:13:54] *** Evanion has quit IRC
[23:13:55] *** travm is now known as travm-afk
[23:14:46] *** Greenie has quit IRC
[23:14:53] <autolycus> jaawerth I am openning angular app in light box by clicking on a link..when the link is clicked it adds some stuff to url query parameters. In amy address bar it doesnt show up as it opens up a light box …I have a need to get those query parameters. I tried $location and $routeParams but I get empty object {}
[23:14:59] *** shacklef_ has quit IRC
[23:15:59] *** mjs2600_ has quit IRC
[23:16:28] *** baweaver has joined #angularjs
[23:16:47] *** cpitt has quit IRC
[23:17:00] *** JoshGlzBrk has quit IRC
[23:17:23] *** daviesgeek has quit IRC
[23:17:32] *** matthoiland has joined #angularjs
[23:18:18] *** niklasmodess has quit IRC
[23:18:56] *** BahamutWC|Work has quit IRC
[23:18:59] *** abahgat has joined #angularjs
[23:19:13] *** Shai-Tan has joined #angularjs
[23:20:17] *** treeface has joined #angularjs
[23:21:08] <jaawerth> autolycus: did you use client-side query params or server-side?
[23:21:28] <jaawerth> autolycus: if they aren't showing up in the URL, tha would be why the object is empty
[23:21:51] *** matthoiland has quit IRC
[23:22:12] *** MuffinMan` has quit IRC
[23:22:17] *** tykayn has quit IRC
[23:22:50] *** chanced has quit IRC
[23:22:56] *** bpmj has joined #angularjs
[23:23:05] *** DrMabuse has quit IRC
[23:23:12] *** daviesgeek has joined #angularjs
[23:23:32] *** chanced has joined #angularjs
[23:23:40] <autolycus> jaawerth yea I think this could be because of how my routes are…I tried to log $routeParams and it shows me only one param countryTest:false and when I looked at routes they are set like this
[23:23:47] *** qdk has joined #angularjs
[23:24:06] <autolycus> $routeProvider.when('/sign-in/:country’Test, {
[23:24:06] <autolycus> templateUrl: '/public/lightbox/modules/Pages/Cars/View.htm',
[23:24:07] <autolycus> controller: 'Cars'
[23:24:08] <autolycus> });
[23:24:09] *** superstructor has quit IRC
[23:24:19] *** travm-afk is now known as travm
[23:24:43] <bpmj> Does anyone have a sense (factual or anecdotal) about performance differences between UI-Grid (ng-grid) and Smart-Table?
[23:25:02] <bpmj> I’m debating between a more configuration-based approach and a more declarative one for a project
[23:25:02] *** cpitt has joined #angularjs
[23:25:15] *** ingsoc has quit IRC
[23:25:33] *** jeffisabelle has quit IRC
[23:25:57] *** justinmburrous has quit IRC
[23:26:38] <jaawerth> bpmj: I do not, but you could probably write up some tests on http://jsperf.com/
[23:26:41] *** anivemin has joined #angularjs
[23:27:01] *** Sawbones has joined #angularjs
[23:27:15] *** HelperW_ has quit IRC
[23:27:17] <Sawbones> Has anyone worked with i18n that isn't angular-translate?
[23:27:21] <xxMatiasxx> Can this be done with angularjs ?
[23:27:26] *** BillCriswell has quit IRC
[23:27:41] <bpmj> jaawerth: I was hoping someone else had done my homework for me :D
[23:27:58] <jaawerth> heh
[23:28:09] *** evil-twin has joined #angularjs
[23:28:10] <jaawerth> I've heard anecdotally that ng-grid can have issues with larger sets
[23:28:13] <jaawerth> but I haven't tried it myself yet
[23:28:14] *** walden|brb is now known as walden
[23:28:18] *** elux has quit IRC
[23:28:19] <jaawerth> in comparison to smart-table
[23:28:40] *** chanced has quit IRC
[23:28:40] *** jerev is now known as jerev_away
[23:28:47] *** darrin has quit IRC
[23:29:11] *** dhcar is now known as dhcar_AFK
[23:29:51] *** jpstone has quit IRC
[23:29:53] *** frostig has quit IRC
[23:29:53] *** jdj_dk has quit IRC
[23:29:54] *** cthrax has quit IRC
[23:30:08] *** superstructor has joined #angularjs
[23:30:17] *** johnstorey has quit IRC
[23:30:39] *** sirkitree is now known as sirkitree|afk
[23:30:40] *** sacho_ has joined #angularjs
[23:31:00] <jaawerth> xxMatiasxx: that is all very doable, but would take some coding
[23:31:10] *** cthrax has joined #angularjs
[23:31:31] <jaawerth> I don't know of any comprehensive examples for that, what you're describing is a lot of app functionality
[23:31:59] *** Aswebb has quit IRC
[23:32:18] *** superstructor has quit IRC
[23:32:39] *** uchuff has quit IRC
[23:32:42] <xxMatiasxx> can you open up spotify ?
[23:32:54] <xxMatiasxx> jaawerth, see how it always loads something in the right
[23:33:18] <xxMatiasxx> you can go to > Lists > Song > Album > Song > List > Song ... etc
[23:33:34] <xxMatiasxx> and it will always load a new template in the right side
[23:33:48] <xxMatiasxx> its like endless nested views
[23:34:27] *** mesina has quit IRC
[23:34:30] *** klaut has quit IRC
[23:34:39] *** nemothekid has joined #angularjs
[23:35:22] *** linagee has joined #angularjs
[23:35:28] *** gr33d has quit IRC
[23:35:36] <linagee> anyone know when 1.3.0 is coming out of release candidate status?
[23:35:47] *** JoshGlzBrk has joined #angularjs
[23:36:19] *** baweaver has quit IRC
[23:36:29] *** mzabriskie has quit IRC
[23:36:31] *** dcherman has joined #angularjs
[23:36:35] <jaawerth> xxMatiasxx: I don't have spotify on this machine, I use google music ;-)
[23:36:48] *** yoshokatana has quit IRC
[23:36:56] <jaawerth> but I get the idea. it's codable, and people HAVE done recursive tree-traversing type stuff. but my guess is the spotify thing only LOOKS recursive
[23:37:05] *** imehesz has quit IRC
[23:37:15] *** kwaledesign has joined #angularjs
[23:37:19] *** imehesz has joined #angularjs
[23:37:21] *** baweaver has joined #angularjs
[23:37:31] *** chanced has joined #angularjs
[23:37:39] *** RogerWS has quit IRC
[23:37:54] <xxMatiasxx> :( why is this so hard with angularjs :(
[23:38:11] <xxMatiasxx> would be so easy with jquery lol
[23:38:51] <linagee> maybe a month from now? (1.3.0 non-rc)
[23:39:02] *** dcherman2 has quit IRC
[23:39:09] <nickeddy> linagee: probably sooner given they're on what, rc3?
[23:39:59] *** mmccook has quit IRC
[23:40:07] <ctanga> matias sounds more like state history rather than infinite nested views
[23:40:12] *** enigmarm has joined #angularjs
[23:40:30] <linagee> nickeddy: yep. rc3
[23:40:53] <monokrome> Is someone asking how to do infinite nested views?
[23:40:59] *** sshaginyan has quit IRC
[23:41:13] *** mmccook has joined #angularjs
[23:41:19] <Foxandxss> linagee: no idea
[23:42:00] *** baweaver has quit IRC
[23:42:00] *** dcherman has quit IRC
[23:42:17] <linagee> nickeddy: seems to be about a week per version number increment. now I'd just need to know how many rc's they will go through. :-D
[23:42:21] <linagee> 12? :)
[23:42:35] <linagee> (we went through 19 betas, right? heh.)
[23:42:56] *** patricka_ has joined #angularjs
[23:43:12] *** bade has quit IRC
[23:43:15] *** dspe has quit IRC
[23:44:25] *** shackleford has joined #angularjs
[23:44:30] *** \du has quit IRC
[23:45:22] *** patrickarlt has quit IRC
[23:45:41] *** cthrax has quit IRC
[23:46:11] *** Evanion has joined #angularjs
[23:47:14] *** stwalcher has quit IRC
[23:47:22] <jaawerth> xxMatiasxx: what ctanga said
[23:47:26] <jaawerth> it shouldn't be that hard
[23:47:34] *** Aliks has quit IRC
[23:47:37] *** mesina has joined #angularjs
[23:48:19] *** dcherman has joined #angularjs
[23:48:47] *** sonofdirt has quit IRC
[23:48:54] *** alt_qq has joined #angularjs
[23:48:54] *** g3funk has quit IRC
[23:48:59] *** RogerWS has joined #angularjs
[23:49:12] *** neilff has joined #angularjs
[23:49:19] *** g3funk has joined #angularjs
[23:49:21] *** sonofdirt has joined #angularjs
[23:50:31] *** ngbot has joined #angularjs
[23:50:31] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 76b755f to b0033a4: http://git.io/93Ba-A
[23:50:31] *** ngbot has left #angularjs
[23:50:50] *** rockfordal has quit IRC
[23:50:51] *** rockford_ has quit IRC
[23:51:31] *** lianimator1 has joined #angularjs
[23:51:45] *** ngbot has joined #angularjs
[23:51:45] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from b0033a4 to 2bcd02d: http://git.io/Fl_mGQ
[23:51:45] *** ngbot has left #angularjs
[23:51:48] *** lianimator has quit IRC
[23:52:25] *** avree has quit IRC
[23:52:29] *** deanclkclk_ has joined #angularjs
[23:52:45] *** joleal has joined #angularjs
[23:52:50] *** ngbot has joined #angularjs
[23:52:50] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 2bcd02d to a1648a7: http://git.io/sJb1NA
[23:52:50] *** ngbot has left #angularjs
[23:53:31] *** baweaver has joined #angularjs
[23:53:38] *** sonofdirt has quit IRC
[23:53:53] *** comma8 has joined #angularjs
[23:53:55] *** ngbot has joined #angularjs
[23:53:55] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from a1648a7 to a27d827: http://git.io/N7D3cw
[23:53:55] *** ngbot has left #angularjs
[23:53:55] *** endash has joined #angularjs
[23:54:02] *** walden is now known as walden|afk
[23:55:05] *** ngbot has joined #angularjs
[23:55:05] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from a27d827 to b186709: http://git.io/cpSrkw
[23:55:06] *** ngbot has left #angularjs
[23:55:38] *** sixr420 has quit IRC
[23:55:55] *** Sawbones has quit IRC
[23:55:55] *** sixr420 has joined #angularjs
[23:56:06] *** ngbot has joined #angularjs
[23:56:06] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from b186709 to 66bb5aa: http://git.io/diWBPg
[23:56:06] *** ngbot has left #angularjs
[23:56:08] *** jeffszusz has quit IRC
[23:56:53] *** lucasefe has joined #angularjs
[23:57:02] *** travm is now known as travm-afk
[23:57:09] *** travm-afk has quit IRC
[23:57:14] *** ngbot has joined #angularjs
[23:57:14] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 66bb5aa to 8b54524: http://git.io/PuXjXg
[23:57:14] *** ngbot has left #angularjs
[23:57:25] *** fairchild is now known as fairchild_away
[23:57:39] *** BahamutWC|Work has joined #angularjs
[23:57:42] *** frickettz has joined #angularjs
[23:58:08] *** avree has joined #angularjs
[23:58:21] *** ngbot has joined #angularjs
[23:58:21] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 8b54524 to 6593c23: http://git.io/iblatw
[23:58:21] *** ngbot has left #angularjs
[23:58:24] *** fairchild_away has quit IRC
[23:58:25] *** patricka_ has quit IRC
[23:58:26] *** thedodd has joined #angularjs
[23:58:31] *** tschundeee has joined #angularjs
[23:58:32] *** nickgs has quit IRC
[23:58:35] *** avree has quit IRC
[23:59:16] *** Needygrunt has joined #angularjs
[23:59:34] <Needygrunt> Need grunt help, anyone game
[23:59:36] *** ngbot has joined #angularjs
[23:59:36] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 6593c23 to 769a00d: http://git.io/1HYjtQ
[23:59:36] *** ngbot has left #angularjs
[23:59:39] <Needygrunt> This is Stephen
[23:59:41] *** TorchDragon has quit IRC
[23:59:47] *** justinmburrous has joined #angularjs
[23:59:50] *** mchung has joined #angularjs
top

   October 1, 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 | >