Switch to DuckDuckGo Search
   December 18, 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:07] *** ingsoc has quit IRC
[00:00:11] <diN0bot> ping. i have a best practice question when using angularjs with popup modals/dialogues. is this a good place to ask?
[00:00:42] *** MistahKurtz has quit IRC
[00:00:42] *** SargoDarya has joined #angularjs
[00:00:47] *** bayousoft has quit IRC
[00:00:48] *** F1LT3R has joined #angularjs
[00:01:33] *** Linell has quit IRC
[00:02:00] *** chrisbirk has joined #angularjs
[00:02:07] *** vbabiy has joined #angularjs
[00:02:07] *** gunn has joined #angularjs
[00:02:16] *** yoshokatana has joined #angularjs
[00:02:24] *** Underbyte has quit IRC
[00:02:57] *** mokush has quit IRC
[00:03:15] *** mspier is now known as mspier|away
[00:03:21] <jaawerth> sjt003: got a little distracted but http://plnkr.co/edit/TEuwmPV74B51f48wvMxL?p=preview
[00:03:26] *** juanpablo__ has joined #angularjs
[00:03:28] *** soup has quit IRC
[00:03:41] *** RobinBAwesome has quit IRC
[00:03:52] *** lexek_ has quit IRC
[00:05:08] *** bbankes has joined #angularjs
[00:05:11] *** ron1 has quit IRC
[00:05:14] *** adben has quit IRC
[00:05:31] <jaawerth> sjt003: actually one sec
[00:05:34] <jaawerth> realized I did something a bit off
[00:05:37] *** SargoDarya has quit IRC
[00:05:45] <jaawerth> it still works but it isn't getting the event param
[00:06:20] *** juanpablo_ has quit IRC
[00:06:21] <diN0bot> What is a good Angular pattern for adding a modal directive to a page, such that the modal can close itself (with, say, an 'X' button), but the parent scope can open the modal?
[00:06:56] <robdubya> look at ui-bootstrap's modal
[00:07:04] *** mccarrontr1ck has quit IRC
[00:07:04] *** artisangoose has quit IRC
[00:07:25] *** jaredwilli has joined #angularjs
[00:07:50] *** D-Boy has joined #angularjs
[00:07:53] *** juanpablo__ has quit IRC
[00:08:07] *** wallerdev has quit IRC
[00:08:20] *** marius has joined #angularjs
[00:09:07] *** jonglick|afk has quit IRC
[00:10:35] <iShortBus> ^
[00:11:33] *** narutimateum2 has joined #angularjs
[00:11:57] *** scythe__ has quit IRC
[00:12:04] *** ximenean has joined #angularjs
[00:12:26] <sjt003> jaawerth: perfect thank you so much
[00:12:29] *** JohnBat26 has quit IRC
[00:12:33] *** macabre_ has quit IRC
[00:12:34] *** btooth has joined #angularjs
[00:12:43] *** cthrax has quit IRC
[00:13:09] *** narutimateum has quit IRC
[00:13:19] *** chizbang has quit IRC
[00:13:38] *** dcherman has quit IRC
[00:13:48] <btooth> i want to change md-theme depending on contoller state, so how to do? can i pass a function to md-theme=""?
[00:13:53] *** doodleha_ has quit IRC
[00:14:06] *** doginal has joined #angularjs
[00:14:23] *** hiddentoken has quit IRC
[00:15:12] *** dannyc has joined #angularjs
[00:15:18] *** jonathanpglick has joined #angularjs
[00:15:20] <robdubya> md-theme={{someCtrlVar}}
[00:15:22] *** jdivock_ has joined #angularjs
[00:15:28] <robdubya> but you need to turn on theme watching, its in the docs
[00:15:31] *** kroogs has joined #angularjs
[00:15:34] <jaawerth> sjt003: no problem - I forgot to hit save/freeze though. refresh now and you'll see it (and check hte log for event data for mouseover, mouseout, click) http://plnkr.co/edit/TEuwmPV74B51f48wvMxL?p=preview
[00:16:02] *** jaredwilli has quit IRC
[00:16:05] <jaawerth> robdubya: oh, I'm using material on a project now! figured I"d risk it
[00:16:17] <robdubya> i got outvoted on it :D
[00:16:20] <jaawerth> still wish the bower package included the SCSS, though
[00:16:28] *** ximenean has quit IRC
[00:16:29] *** juanpablo__ has joined #angularjs
[00:16:34] <jaawerth> also I've decided I don't like their approach to directives - too much boilerplate
[00:16:47] *** MaxV has joined #angularjs
[00:17:09] <jaawerth> but other than that, I like it
[00:17:23] *** cbeacock1 has quit IRC
[00:17:24] <jaawerth> right now I"m working on implementing a file browser based on it, then I'm going to reskin textAngular to use it instead of bootstrap
[00:17:41] *** Underbyte has joined #angularjs
[00:17:50] *** mtho11 has quit IRC
[00:17:52] <jaawerth> unless that turns out to be a pain, then I might just wrap quill
[00:17:53] <jaawerth> heh
[00:17:58] *** newswim has joined #angularjs
[00:18:40] *** Mxyzpltk has joined #angularjs
[00:19:03] *** jdivock has quit IRC
[00:19:17] *** jdivock_ has quit IRC
[00:19:28] *** dannyc has quit IRC
[00:19:53] *** mzabriskie has joined #angularjs
[00:20:14] *** ryst has quit IRC
[00:20:20] *** kroogs has quit IRC
[00:20:24] *** MistahKurtz has joined #angularjs
[00:20:31] *** newswim_ has quit IRC
[00:20:46] *** juanpablo__ has quit IRC
[00:21:54] *** juampy has quit IRC
[00:22:08] *** swist_ has quit IRC
[00:22:38] *** mikehaas763 has quit IRC
[00:23:31] *** vassagus has quit IRC
[00:24:20] *** scythe__ has joined #angularjs
[00:24:21] *** marr has joined #angularjs
[00:24:21] *** mary5030 has quit IRC
[00:24:32] *** Skrypter has quit IRC
[00:24:40] *** swist has joined #angularjs
[00:24:55] *** mary5030 has joined #angularjs
[00:24:58] *** bmac has quit IRC
[00:25:05] *** cthrax has joined #angularjs
[00:25:12] <btooth> robdubya: thanks!
[00:26:18] *** prometh has joined #angularjs
[00:26:33] <prometh> does google use angular for any of its products?
[00:26:54] *** Shrooms has joined #angularjs
[00:27:43] <prometh> afaik, they use GWT for most of them
[00:27:44] <monokrome> I don't think that Angular would exist if they didn't
[00:27:44] *** afuggini has quit IRC
[00:27:51] *** afuggini has joined #angularjs
[00:28:01] <monokrome> but they have documentation on how to properly use Angular at Google, so I'd say yes
[00:28:08] *** mccarrontr1ck has joined #angularjs
[00:28:17] *** kas84 has joined #angularjs
[00:28:19] <prometh> monokrome: that doesn't mean that google uses it in their products
[00:28:30] *** kas84 has quit IRC
[00:28:36] *** Siecje has joined #angularjs
[00:28:38] *** danecando has joined #angularjs
[00:28:40] <monokrome> prometh: Documentation on how to use Angular properly in Google products doesn't mean that they use it in Google products?
[00:28:58] <prometh> angular documentation just means that the angular guys wrote documentation
[00:29:06] <jaawerth> prometh: from what I know, they use it in a ton of internal projects, but only a couple customer-facing ones.
[00:29:11] <monokrome> I didn't just say "angular documentation"
[00:29:16] <prometh> jaawerth: thank you
[00:29:24] *** mary5030 has quit IRC
[00:29:36] *** Sawbones_ has joined #angularjs
[00:29:40] *** mchapman has joined #angularjs
[00:30:00] *** rtpg has joined #angularjs
[00:30:08] <monokrome> DoubleClick is Angular
[00:30:16] *** DigitallyBorn has quit IRC
[00:30:21] <jaawerth> prometh: There are a couple reasons for that: one, most of their external stuff is built on use-specific custom frameworks that are ultra-optimized (since all of their services are ultra-optimized), being what a generic framework can often manage. The other is that.. google employees love cooking up frameworks ;-)
[00:30:36] <jaawerth> beyond what a generic framework can do*
[00:30:42] *** doginal has quit IRC
[00:30:46] *** sonofdir_ has quit IRC
[00:30:49] *** mzabriskie has quit IRC
[00:30:53] <jaawerth> at least, that's what I heard. IANAGD (I am not a google dev)
[00:31:00] *** ChadStrat has quit IRC
[00:31:23] *** sonofdirt has joined #angularjs
[00:31:24] *** elrabin has quit IRC
[00:31:25] <prometh> i have difficulty trusting a framework that google barely uses in their customer-facing products
[00:31:38] <prometh> especially wehn its design is so questionable (dirty checking?!)
[00:31:43] *** cthrax has quit IRC
[00:31:44] <jaawerth> lol
[00:31:50] *** elrabin has joined #angularjs
[00:31:57] <robdubya> oh snap
[00:31:57] *** sonofdirt has quit IRC
[00:32:02] *** nuizzy has quit IRC
[00:32:03] <jaawerth> yeah, that's a common troll
[00:32:08] <robdubya> why did nobody tell me about NG_DEFER_BOOTSTRAP
[00:32:11] *** scythe__ has quit IRC
[00:32:19] *** deanclkclk has joined #angularjs
[00:32:20] *** nuizzy has joined #angularjs
[00:32:24] *** dcherman has joined #angularjs
[00:32:40] <Foxandxss> prometh: don't trust it, use other framework then
[00:32:41] <prometh> i'm not trolling.. i came here to discuss
[00:32:41] *** sonofdirt has joined #angularjs
[00:32:45] *** bullicon has quit IRC
[00:32:51] <iShortBus> monokrome: I believe it's mainly used internally and probably as components on some of their external facing applications.
[00:32:51] <prometh> Foxandxss: i did... but i can't get a job with it :/
[00:32:57] *** CanyonMan has joined #angularjs
[00:33:19] *** qdk has quit IRC
[00:33:24] <jaawerth> I'm not saying you are, but that particular thing is something people who DO come in here trolling often love to throw around
[00:33:28] *** loverajoel has quit IRC
[00:33:40] *** jeffscottward has quit IRC
[00:33:40] <Foxandxss> if it is about getting a job, why you care where it is used?
[00:33:46] *** adarshaj has quit IRC
[00:33:57] <CanyonMan> crap, I missed it. What did he say?
[00:33:59] <prometh> Foxandxss: cuz i may have to learn angular, even though i kinda dislike it
[00:34:02] <Foxandxss> you get paid, you get happy
[00:34:16] <prometh> Foxandxss: i'm thinking that using angular will make me unhappy
[00:34:20] *** Sawbones_ has quit IRC
[00:34:22] *** mven has quit IRC
[00:34:24] <prometh> i don't like adding directives to my html
[00:34:38] <CanyonMan> nobody forces you to write directives even if you use angular
[00:34:40] <jaawerth> but it makes sense: angular isn't the end-all, be-all of frameworks. It's a very effective generic tool for building and organizing data-driven applications. But ultimately, it's still a generic framework and thus not ideal for a company that has the resources to homebrew a use-specific system for everything
[00:34:44] <katsh> lol
[00:35:02] <jaawerth> prometh: you're going to hate your life in a couple years then
[00:35:02] <Foxandxss> because google dont use it on their public facing apps?
[00:35:06] *** qdk has joined #angularjs
[00:35:09] *** nemothekid has joined #angularjs
[00:35:12] <prometh> jaawerth: why? directives are not the future
[00:35:18] <prometh> ember doesn't have directives
[00:35:19] <CanyonMan> so if you hate driective, are you saying you want your web framework to work in the snow uphill both ways?
[00:35:20] *** yts has quit IRC
[00:35:23] <Foxandxss> prometh: they have
[00:35:44] <prometh> CanyonMan: how can you write an angular app without directives?
[00:35:46] <jaawerth> prometh: directives are basically just a way to make web components possible in current and legacy browsers. and web components are a huge part of ES6
[00:35:57] *** elrabin has quit IRC
[00:36:06] <CanyonMan> because you still have views and controllers
[00:36:09] <monokrome> prometh: The browser has web components, which is extremely similar to what directives are...
[00:36:21] <monokrome> It didn't have those when Angular was made.
[00:36:21] <prometh> monokrome: i know, but i need to support older browsers
[00:36:24] <prometh> i really like canjs
[00:36:30] <prometh> but i can't get any work with it
[00:36:31] <monokrome> Cool, then you see why directives exist.
[00:36:39] <iShortBus> prometh: does that mean you won't be using web components either?
[00:36:47] *** axsuul has joined #angularjs
[00:36:50] <prometh> iShortBus: i use web components in canjs
[00:36:52] *** scythe__ has joined #angularjs
[00:36:52] <jaawerth> that's (part of) why Angular 2.0 is going to be so different - web browsers' native capabilities will have caught up with Angular by then, making many of its current features unnecessary on the browser of the future
[00:37:06] *** shackleford has quit IRC
[00:37:10] *** sonofdirt has quit IRC
[00:37:11] <prometh> jaawerth: still gotta support ie10+
[00:37:19] *** doginal has joined #angularjs
[00:37:23] <jaawerth> yeah, I imagine there will be some backwards compat stuff
[00:37:35] <prometh> angular is still dirty checking
[00:37:39] <jaawerth> lol
[00:37:39] <prometh> which is slow too
[00:38:04] <monokrome> Well, Google can't do anything about browsers not providing a better solution
[00:38:09] <monokrome> Object.observe will help
[00:38:10] <jaawerth> the tradeoff is worth not having to use getters and setters for everything, which is a jvascript anti-pattern
[00:38:22] <prometh> monokrome: google could've gone ember's route using getter/setter functions
[00:38:33] <prometh> jaawerth: but much more performant
[00:38:35] <Foxandxss> dirty checking well, could be better, but latest angular version are much much quicker
[00:38:37] <monokrome> Yeah, overcomplicated everything! #solutions
[00:38:37] *** adarshaj has joined #angularjs
[00:38:39] <jaawerth> prometh: it really depends
[00:38:50] *** jaredwilli has joined #angularjs
[00:38:51] <prometh> monokrome: i think angular's html is over complicated
[00:38:51] *** btooth has quit IRC
[00:38:56] <katsh> i mean
[00:39:05] <Foxandxss> why just not use ember prometh ?
[00:39:08] <katsh> no one likes java but people still code in it. why even argue
[00:39:12] <prometh> Foxandxss: i don't like ember either :P i like canjs
[00:39:15] <CanyonMan> Hey, i like java!
[00:39:16] <jaawerth> I'm not a huge fan of Ember. Too much lock-in to their methods of doing things, getters and setters.. bleh
[00:39:16] <monokrome> prometh: AngularJS doesn't have "html" - your browser does
[00:39:21] <katsh> bulls***
[00:39:22] <monokrome> Go invent a new markup language and then let me know
[00:39:27] *** mchapman has quit IRC
[00:39:30] <prometh> monokrome: it has templates, which contain html and are parsed as strings
[00:39:36] <monokrome> no
[00:39:36] <prometh> monokrome: don't be silly
[00:39:41] <monokrome> It puts HTML in your DOM
[00:39:46] <monokrome> You are just assuming it has templates
[00:39:48] <jaawerth> prometh: dirty-checking is another example of Angular bringing future capabilities to current and legacy browsers. It's basically a way to achieve Object.observe on browsers going back to IE7
[00:39:49] <prometh> html is text-based
[00:40:01] <prometh> node in the dom are not html.. that's a tree
[00:40:05] <prometh> s/node/nodes/
[00:40:09] *** spaceonline has joined #angularjs
[00:40:22] <monokrome> Angular doesn't parse your HTML
[00:40:24] <monokrome> Your browser does
[00:40:27] *** cthrax has joined #angularjs
[00:40:30] <Foxandxss> as a recommendation prometh , dont learn something you don't like
[00:40:31] <monokrome> So, cool story bro
[00:40:38] *** rtpg has quit IRC
[00:40:40] <robdubya> SystemJS + window.NG_DEFER_BOOTSTRAP + angular.resumeBootstrap() = fuck yeahhhh
[00:40:46] <prometh> monokrome: explain ngRepeat
[00:40:51] *** Menorah has joined #angularjs
[00:40:54] <jaawerth> yeah, and what directives are REALLY doing are letting you pre-define custom targets for DOM manipulation in a more readable way
[00:40:58] *** FunnyLookinHat_ has quit IRC
[00:41:05] <monokrome> prometh: There's this weird thing in a DOM where you can clone and create new nodes with the JS API
[00:41:11] <monokrome> I know it's weird, but they have it and it does stuff.
[00:41:23] <prometh> monokrome: fragments?
[00:41:23] <monokrome> like ngRepeat
[00:41:30] *** mglvl has quit IRC
[00:41:39] <katsh> robdubya: can you clarify something on one of your plnkr fo rme real quick?
[00:41:46] <prometh> robdubya: yeah, systemjs is aewsome
[00:42:05] <jaawerth> aka let the digest cycle organize (and optimize/store references to) your jquery selectors for you, so you don't have to juggle your DOM references. It's also faster, (jquery selectors are slow) and means you don't have to litter your markup with arbitrary classes and things
[00:42:10] <robdubya> i had some wacky promise loading going on, DEFER_BOOTSTRAP sorts it right out.
[00:42:16] <prometh> Foxandxss: i like canjs, but i can't get a job usin git
[00:42:18] <prometh> using it*
[00:42:41] <Foxandxss> anything else? mobile perhaps?
[00:42:42] <prometh> jaawerth: but markup is littered with directives
[00:42:42] <monokrome> prometh: This will explain ngRepeat better than I am willing to: https://github.com/angular/angular.js/blob/master/src/ng/directive/ngRepeat.js
[00:42:44] <CanyonMan> is there a can'tjs ?
[00:42:48] <jaawerth> finally, and I'm sorry but I haven't yet used a framework that manages it on this level: everything about angular is oriented around DRY
[00:43:04] <Foxandxss> or classic apps, they are still made
[00:43:19] <jaawerth> I make a widget that does X and utility functions that do Y, services for Z, put them in modules that I can drop into any of my apps
[00:43:28] *** dacuca has joined #angularjs
[00:43:36] <jaawerth> the longer I code on angular, the faster I can write my next app
[00:43:37] <prometh> jaawerth: canjs.com
[00:43:53] <prometh> i like how it uses handlebars, similar to ember, but even cleaner
[00:44:13] <prometh> i honestly love it... but everytime i apply to a job, they ask "do you work with angular?"
[00:44:50] *** spaceonline has quit IRC
[00:45:03] <monokrome> They could be asking that because they don't like Angular as much as because they do like Angular
[00:45:19] <prometh> um?
[00:45:27] *** baweaver has joined #angularjs
[00:46:01] <jaawerth> prometh: ah, that's true, canjs IS pretty good at that
[00:46:08] <monokrome> prometh: Did you look at ngRepeat?
[00:46:41] <jaawerth> however, I haven't found anything convincing me to make the switch. It's got an easier learning curve, but that isn't a factor for me, and its community and module ecosystem are smaller
[00:46:46] <jaawerth> but can.js aint bad
[00:46:53] *** RobinBAwesome has joined #angularjs
[00:46:58] *** wallerdev has joined #angularjs
[00:47:24] *** MistahKurtz has quit IRC
[00:47:27] *** davek_ has joined #angularjs
[00:47:31] <prometh> monokrome: looking
[00:47:31] <katsh> anyone used mithrill?
[00:47:45] <jaawerth> prometh: well, that's where strength of community and ecosystem becomes a huge factor. Angular won't always be the "in demand" language, but it is right now, which means it has a very active dev community
[00:47:46] <prometh> jaawerth: canjs feels very natural to me... angular feels silly in some areas
[00:48:01] *** MistahKurtz has joined #angularjs
[00:48:03] <prometh> jaawerth: yeah, and jobs
[00:48:05] *** newswim has left #angularjs
[00:48:21] <jaawerth> it certainly isn't as friendly as other frameworks when it comes to initial adoption
[00:48:33] *** Lewix has joined #angularjs
[00:48:33] *** Lewix has joined #angularjs
[00:48:37] <katsh> on the contrary
[00:48:45] <katsh> first hour is awesome
[00:48:48] <jaawerth> haha, yeah
[00:48:53] *** yoshokatana has quit IRC
[00:48:55] <katsh> then the learning curve takes a 90deg angle
[00:48:58] <jaawerth> first hour is "oh my god I just made a filter and it was so eeeeasy"
[00:49:03] <prometh> is there a way to get directive functionality without using directives?
[00:49:05] <jaawerth> then you start writing custom directives
[00:49:27] <prometh> that's anohter thing about angular that i kinda dislike.. is its weird filter syntax
[00:49:39] <jaawerth> weird? it's just like unix pipes!
[00:49:48] <katsh> maybe he's a windows guy
[00:49:49] *** fotoflo has joined #angularjs
[00:49:50] <fotoflo> rd
[00:49:51] <jaawerth> haha
[00:49:52] *** IanOlson has quit IRC
[00:49:54] <prometh> i'm not a backend guy
[00:50:09] <prometh> i used to do flash/actionscript before
[00:50:12] <Foxandxss> unix != backend
[00:50:13] <katsh> prometh: do you have a mac and have used a terminal?
[00:50:14] <prometh> so, i've always been frontend
[00:50:18] <jaawerth> anyway, directives are awesome
[00:50:18] <prometh> katsh: yeah
[00:50:23] <fotoflo> hmm, i have a phantom error one one my teammate’s machines after they pull my code: Uncaught Error: [$injector:unpr] Unknown provider: $$qProvider <- $$q <- $animate <- $compile
[00:50:32] <jaawerth> usin you use angular without directives, ou may as well not use angular
[00:50:34] <fotoflo> any idea which dependancy may not be loaded?
[00:50:38] <katsh> prometh: if you open terminal and do "ls -la" | grep 'somefile'
[00:50:57] <katsh> youll see the neatness of | , like angular uses
[00:51:09] <katsh> its very powerful and simple
[00:51:15] <prometh> katsh: it's a table
[00:51:27] <prometh> kinda like npmjs.com/cli-table
[00:51:45] <katsh> but you can take the results of that table and pass it to another command via |
[00:51:46] *** MaxV has quit IRC
[00:51:52] <jaawerth> yeah, it's a stream
[00:51:56] <katsh> whatever the left of | gives you, itll pass to the right of |
[00:51:58] <jaawerth> well, a pipe
[00:52:00] <prometh> i know, i've done htat with npm scripts
[00:52:04] <prometh> you can also do &&
[00:52:06] <katsh> so how can you not like it?
[00:52:12] <katsh> its as simple and forward as it gets
[00:52:27] <prometh> that wasn't what i disliked about filters... i forget what it was now
[00:52:37] *** jvdz has joined #angularjs
[00:52:42] *** MaxV has joined #angularjs
[00:52:53] <jaawerth> anyway, th answer to your question is that if you don't want to use directives, you may as well not use angular
[00:52:59] <katsh> prometh: give mithriljs a try, let me know what you think
[00:53:13] <prometh> katsh: is it popular enough to get a job with it? i've never heard of it
[00:53:22] *** MistahKurtz has quit IRC
[00:53:22] <katsh> No
[00:53:26] <jaawerth> react is probably going to become more and more in demand
[00:53:27] <prometh> then forget it :)
[00:53:36] <katsh> if youre learning based on jobs demand, then angular and ember
[00:53:37] <prometh> if i was looking for my favourite lib, i already foubd it
[00:53:43] <katsh> like it or hate it
[00:53:47] <prometh> i dislike angular and ember :(
[00:53:56] <prometh> at least, from my research i do
[00:53:59] <katsh> or you can start your next facebook and use your framework of choice
[00:54:11] <jvdz> Does anyone have any good AngularJS project planning documents? For example, when planning an AngularJS application (for yourself, or for a client)? I am creating a Node/AngularJS-focused one (although it would be generic enough for most web applications). Would love to hear feedback on it: https://docs.google.com/document/d/1qssIyZapXxwrXWr5FNbkTDed7Cup0s919LsS1Lv-MpY/edit?usp=sharing
[00:54:11] <prometh> katsh: i just need income, but i don't want to hate my job
[00:54:22] <jvdz> The purpose is to help plan out the app before you start coding, and then “document as you go” so it’s useful throughout the project and after, as well
[00:54:36] <jvdz> ^ And if anyone feels like contributing to it, msg me and I will enable write access (even if you just want to put some notes in the margin, etc)
[00:54:39] <Foxandxss> what about a different profession?
[00:54:41] <prometh> jaawerth: i found something interesting... it compiled jade templates to non-jsx react
[00:54:43] <lebster> katsh: did you ever get that plnkr to work? im curious what was wrong with it
[00:54:51] *** Underbyte has quit IRC
[00:55:00] <prometh> jaawerth: if there was a handlebars to react, that'd be awesome... i couldn't find one, though
[00:55:04] <jaawerth> jvdz: just google's angular style guide. I can link it if you don't have it
[00:55:14] <katsh> lebster: which one? the double click one?
[00:55:42] <lebster> yeah
[00:55:47] <jvdz> jaawerth: This one? http://google-styleguide.googlecode.com/svn/trunk/angularjs-google-style.html
[00:56:00] <katsh> No. even though i know ng-click calls the function each time, the first one fails
[00:56:00] *** tschundeee has quit IRC
[00:56:19] <jaawerth> prometh: I don't think there's much that would stop you. react is modular enough that you can rig it up to other things, form what I've seen. There's also stuff like Durandel, which plugs knockout into jquery and require, and IIRC its templating engine is more minimal than angular's
[00:56:43] *** tschundeee has joined #angularjs
[00:56:44] <prometh> https://www.npmjs.com/package/jade-react-compiler
[00:56:50] <prometh> i don't like jade, though.... but it's a great concept
[00:57:13] <jaawerth> jvdz: that's the one! lots of good stuff in there for code organization and the like
[00:57:20] <jaawerth> not so much project planning, but organization, yes
[00:58:09] <jvdz> jaawerth: That’s good. I might put that under a “Resources” or “Standards” section. As I am working on a project, there are always project-specific (or framework specific) links I am constantly referring to. This would be a good one
[00:58:27] *** Underbyte has joined #angularjs
[00:58:37] <Foxandxss> prometh: you don't like anything, consider other profession
[00:58:43] <prometh> where doy ou guys think things are going? angular 2, react, htmlbars (ember's view)
[00:58:47] *** g33k5z has joined #angularjs
[00:58:49] <prometh> Foxandxss: don't be silly
[00:58:55] <katsh> lebster: do you think it's because the array is too big?
[00:59:04] <katsh> (when it actually isnt though)
[00:59:06] *** Menorah has quit IRC
[00:59:24] <Foxandxss> yeah, anyway, this offtopic lasted too long
[00:59:44] *** baweaver has quit IRC
[01:00:01] *** chrisshattuck has quit IRC
[01:00:05] <jaawerth> yeah I'm bored of it now
[01:00:06] *** gr33nw00d has joined #angularjs
[01:00:06] *** SergioFilhow_ has joined #angularjs
[01:00:17] <katsh> http://plnkr.co/edit/RvZoGn7rkNrsBPKqnNi0?p=preview
[01:00:22] *** asher^ has joined #angularjs
[01:00:22] *** BobbieBarker has quit IRC
[01:00:59] *** jaznow has joined #angularjs
[01:01:09] <katsh> it's not just the first click either.. it always needs 2 clicks to update to the right genre
[01:01:18] *** prometh has left #angularjs
[01:01:30] *** tschundeee has quit IRC
[01:01:50] *** F1LT3R has joined #angularjs
[01:02:39] *** dcherman has quit IRC
[01:02:49] *** gr33nw00_ has joined #angularjs
[01:03:10] *** boxmein has quit IRC
[01:03:16] *** g33k5z has quit IRC
[01:03:30] *** gr33nw00_ has quit IRC
[01:04:24] *** SergioFilhow_ has quit IRC
[01:04:24] *** MistahKurtz has joined #angularjs
[01:04:29] *** SergioFilhow_ has joined #angularjs
[01:04:43] *** mchapman has joined #angularjs
[01:05:00] *** angelazou has joined #angularjs
[01:05:20] *** shaisnir has quit IRC
[01:05:33] *** jaznow has quit IRC
[01:05:49] *** zz_night-owl is now known as night-owl
[01:05:57] *** F1LT3R has quit IRC
[01:05:57] <lebster> katsh: i changed it a bit, but it worked by adding scope.apply
[01:05:58] <lebster> http://plnkr.co/edit/JSTopy5kFNUlPcijmJu0?p=preview
[01:06:52] *** gr33nw00d has quit IRC
[01:06:58] *** Guest22_ has quit IRC
[01:06:59] <katsh> lebster: interesting. is this a good fix or kind of dirty quick patch?
[01:07:14] *** Guest22 has joined #angularjs
[01:07:15] <katsh> like, am i doing something that I shoulnd't need to use scope.apply in the first placee?\
[01:07:36] *** soup has joined #angularjs
[01:09:25] *** dacuca has quit IRC
[01:09:59] *** mccarrontr1ck has quit IRC
[01:10:00] *** snapwich has quit IRC
[01:10:48] *** angelazou has quit IRC
[01:11:22] <lebster> no idea i assume its because angular doesnt know that soundcloud api changes the array so it didnt update on its own?
[01:11:37] <jaawerth> katsh: wait, SC.get is the soundcloud API doing async requests, right?
[01:11:54] <lebster> jaawerth: yup
[01:12:04] <katsh> yes
[01:12:16] <monokrome> Wrap the result of the request in a promise using $q
[01:12:27] <jaawerth> katsh: you gotta wrap it in a promise, yeah
[01:12:46] <katsh> what's wrong with callback though?
[01:12:55] <katsh> besides the obvious of it not working properly
[01:13:20] <katsh> wait know! shit
[01:13:27] *** mikeyeee has joined #angularjs
[01:13:32] <katsh> if this was angular's $http, it'd be fine i bet
[01:13:36] <katsh> which uses $apply
[01:14:00] <monokrome> yep
[01:14:09] <monokrome> Angular just needs to know when any data changed :}
[01:14:15] *** shpoont_ has joined #angularjs
[01:14:26] *** MistahKurtz has quit IRC
[01:14:53] *** Sasha has quit IRC
[01:15:01] *** MistahKurtz has joined #angularjs
[01:15:18] *** t_kjaergaard has quit IRC
[01:15:23] *** FFForever has quit IRC
[01:15:23] *** ollie has quit IRC
[01:15:42] *** radiodar1o has quit IRC
[01:15:57] *** mikerrrrrr has quit IRC
[01:16:02] *** TBSliver has quit IRC
[01:16:08] *** Helzibah has quit IRC
[01:16:12] *** radiodario has joined #angularjs
[01:16:23] *** mrkrettan has quit IRC
[01:16:29] *** mrkrettan has joined #angularjs
[01:16:29] *** Helzibah has joined #angularjs
[01:16:33] *** wdgreg has quit IRC
[01:16:33] *** fullstack has quit IRC
[01:16:33] *** Gabriel403 has quit IRC
[01:16:36] *** alpha080 has quit IRC
[01:16:37] *** michaelSharpe has joined #angularjs
[01:16:38] *** scav has quit IRC
[01:16:40] *** shpoont has quit IRC
[01:16:46] <katsh> So is it preferred to use a promise, or simply call $scope.$apply?
[01:16:48] *** ollie has joined #angularjs
[01:16:49] *** TBSliver has joined #angularjs
[01:16:49] *** wdgreg has joined #angularjs
[01:16:49] *** TBSliver has quit IRC
[01:16:49] *** TBSliver has joined #angularjs
[01:17:00] *** nemothekid has quit IRC
[01:17:14] *** greengriminal has quit IRC
[01:17:15] *** renlo has joined #angularjs
[01:17:26] *** Menorah has joined #angularjs
[01:17:28] *** scav has joined #angularjs
[01:17:30] *** Gabriel403 has joined #angularjs
[01:17:31] *** Gabriel403 has joined #angularjs
[01:18:09] *** fullstack has joined #angularjs
[01:18:22] *** FFForever has joined #angularjs
[01:18:24] *** sasha has joined #angularjs
[01:18:31] *** sasha is now known as Guest6138
[01:18:42] <katsh> i dont know what it does internally so i dont know if its bad for permance, etc
[01:19:02] *** noor_ has joined #angularjs
[01:19:07] *** wmbutler has quit IRC
[01:19:32] *** tkjaergaard has joined #angularjs
[01:19:35] *** noor_ has quit IRC
[01:19:54] *** danecando has quit IRC
[01:20:12] *** cilkay has joined #angularjs
[01:21:50] *** nuizzy has quit IRC
[01:22:05] *** lexek_ has joined #angularjs
[01:22:42] <jaawerth> katsh: you only need to call a digest when dealing with stuff outside angular context. normally SC.get would apply, but $q will actually handle it for you IIRC
[01:23:00] *** tga0 has joined #angularjs
[01:23:28] <jaawerth> katsh: if for some insane reason you didn't want to use promises, you could just have a callback that invokes apply (but there's no good reason not to use promises for HTTP calls, IMO)
[01:23:33] *** recurrence has joined #angularjs
[01:23:47] <jaawerth> after all, promise chaining is amazing
[01:23:52] *** Sawbones has joined #angularjs
[01:24:01] *** danecando has joined #angularjs
[01:24:18] *** Sebastien-L has quit IRC
[01:24:27] *** ghostbar has quit IRC
[01:25:14] *** Skrypter has joined #angularjs
[01:25:36] <Foxandxss> yeah, $apply and promises have nothing to do with each other
[01:26:09] *** cthrax has quit IRC
[01:26:17] *** AciD`` has quit IRC
[01:27:14] *** tschundeee has joined #angularjs
[01:27:30] *** tga0 has quit IRC
[01:28:38] *** Sawbones has quit IRC
[01:29:05] *** rikkipitt has joined #angularjs
[01:29:29] *** greengriminal has joined #angularjs
[01:29:59] *** mspier|away is now known as mspier
[01:30:09] *** shinnya has quit IRC
[01:30:31] *** diN0bot has quit IRC
[01:31:12] <cilkay> Hello. I'm attempting to make a GET request (http://localhost:9000/clients/1062174) of a REST endpoint (http://localhost:8080/api/v1/clients/1062174/) from AngularJS using ngResource and I don't even see it hit the server. I'm getting a 404. The back-end is Django Rest Framework being served via the built-in server running on port 8080 whereas the front-end is being served via Grunt on port 9000. I've pasted my code here: http://jsfiddl
[01:31:12] <cilkay> e.net/cilkay/Lq4yvrLb/ I don't think AngularJS is even hitting the back-end since I don't see anything in the Django console. I can get a response from Django using the Postman plugin on Chrome. What am I missing?
[01:32:03] <monokrome> cilkay: Does the browser send an HTTP request?
[01:32:17] <monokrome> You can see this in the network tab if you're using Chrome
[01:32:33] <cilkay> Yes, it is.
[01:32:52] <monokrome> What type of response is it getting?
[01:32:53] *** bmac has joined #angularjs
[01:32:55] *** leolrrj has quit IRC
[01:32:58] *** Mxyzpltk_ has joined #angularjs
[01:33:03] <cilkay> "Failed to load resource: the server responded with a status of 404 (Not Found)"
[01:33:46] *** bmac has quit IRC
[01:34:02] *** Skrypter has quit IRC
[01:34:08] <monokrome> Is the URL as expected?
[01:34:18] *** SoulBlade has joined #angularjs
[01:34:24] *** bejames has quit IRC
[01:34:55] <cilkay> I think so, though I don't quite understand how AngularJS is supposed to make that request to Django running on another port.
[01:35:28] <monokrome> If it's on another origin, then it is probably trying to use CORS
[01:35:37] <monokrome> Is it sending an OPTION request before the GET request?
[01:35:43] *** Mxyzpltk has quit IRC
[01:35:49] <lebster> jaawerth: how come when trying to turn it into a promise it doesnt work http://plnkr.co/edit/JSTopy5kFNUlPcijmJu0?p=preview
[01:36:11] *** Methylated1 has quit IRC
[01:36:17] <monokrome> cilkay: http://www.django-rest-framework.org/topics/ajax-csrf-cors/
[01:36:49] *** angularjs485 has joined #angularjs
[01:36:56] <monokrome> This might be a question better suited for #restframework imo
[01:37:10] <cilkay> It's not a CORS issue.
[01:37:19] <monokrome> Then are you using JSONP?
[01:37:41] <cilkay> No. I've seen CORS issues before. You'll get a different response. I'm checking about the OPTION header.
[01:37:44] *** FFForever has quit IRC
[01:38:01] <cilkay> See the thing is, AngularJS isn't even hitting the Django server for it to be a CORS issue.
[01:38:11] *** shinnya has joined #angularjs
[01:38:14] *** tschundeee has quit IRC
[01:38:23] <monokrome> Well, it's hitting *some* server and it's whichever one you sent the request to
[01:38:37] <monokrome> What URL does the browser say that the request goes to?
[01:38:53] <cilkay> http://localhost:9000/clients/1062174
[01:39:02] *** numproc has joined #angularjs
[01:39:03] <monokrome> What is the URL in your location bar?
[01:39:07] <cilkay> That's it.
[01:39:15] <cilkay> Same as the URL in the location bar.
[01:39:28] <monokrome> So, the request with $http is going to the same URL that your browser is on?
[01:39:43] <cilkay> I don't see any "translation" of that request being done to http://localhost:8080/api/v1/clients/1062174/
[01:39:57] *** doug64k has quit IRC
[01:39:57] *** dumdum has joined #angularjs
[01:40:01] *** it0a has joined #angularjs
[01:40:04] <cilkay> No, that's why I pasted my code. You can see that it's not.
[01:40:09] <monokrome> I don't know what you mean by translation
[01:40:12] <cilkay> Well, it's not supposed to anyway.
[01:40:22] <cilkay> Django is running on a different port.
[01:40:26] <monokrome> Okay, I'm missing a detail here. Trying to find it.
[01:40:26] *** avree has quit IRC
[01:40:44] <cilkay> AngularJS handles requests to localhost:9000
[01:40:55] <cilkay> Django handles requests to localhost:8080
[01:41:00] *** Skrypter has joined #angularjs
[01:41:05] <monokrome> You navigate to http://localhost:9000/clients/1062174 and then have Angular sending a request to to that same URL using $http.get?
[01:41:19] *** tripu has joined #angularjs
[01:41:23] <dumdum> Hi guys, i wonder if any of you could possibly help me with this directive? http://jsfiddle.net/A8Vgk/1042/ it has 2 problems (1- the first input when typed into throws an error, because ng-model is not defined. 2-It double maps the ng-model, which i don't need to)
[01:41:25] <katsh> jaawerth, lebster thanks for the help and tips
[01:41:30] <monokrome> AngularJS doesn't handle any requests, something else is
[01:41:36] *** recidive has quit IRC
[01:41:39] <angularjs485> hey guys is there another way for controllers to communicate with directives other than broadcast/emit events
[01:41:48] *** gunn has quit IRC
[01:41:50] <monokrome> unless you're doing some $httpBackend magic, that is
[01:41:52] <cilkay> No, see line 26 here: http://jsfiddle.net/cilkay/Lq4yvrLb/
[01:42:02] <cilkay> return $resource('http://localhost:8080/api/v1/clients/:id', {}, ...
[01:42:44] *** scythe__ has quit IRC
[01:42:53] <monokrome> Okay, so you're sending a request from 'localhost:8080' to 'tcm.dev:8080'?
[01:43:16] <cilkay> Yes, both are localhost.
[01:43:36] <cilkay> tcm.dev is an alias for localhost.
[01:43:37] <monokrome> Well, if those are the URLs then both point to 127.0.0.1 but only one is localhost
[01:43:43] <monokrome> okay
[01:43:50] <monokrome> As far as the browser is concerned, they are separate origins
[01:43:54] *** Mxyzpltk_ has quit IRC
[01:44:01] *** Txandy has quit IRC
[01:44:02] <monokrome> So, AngularJS will use CORS to send that request
[01:44:03] <cilkay> It makes no difference if I change to localhost.
[01:44:21] <monokrome> You can assume as much, but the browser treats it differently.
[01:44:22] *** elxa has quit IRC
[01:44:29] <monokrome> So, AngularJS will use CORS to send that request
[01:44:30] <cilkay> I've tried and again, if it were a CORS issue, I'd at least see a response from Django.
[01:44:31] *** slopjong has quit IRC
[01:44:39] <monokrome> What does your network pane say is being sent?
[01:44:47] <monokrome> I'm not saying it's a CORS issue
[01:45:08] <monokrome> I have no idea what the issue is because I'm still trying to get you to answer my literal questions instead of the one that you think I'm asking :P
[01:45:18] <cilkay> I think I see the problem.
[01:45:26] *** kagitingan has joined #angularjs
[01:45:31] <monokrome> Okay.
[01:46:01] <cilkay> "Remote Address:127.0.0.1:9000", "Request URL:http://localhost:9000/clients/1062174", "Request Method:GET", "Status Code:404 Not Found"
[01:46:12] <cilkay> No wonder Django is never seeing the request.
[01:46:17] <cilkay> It's never leaving AngularJS.
[01:46:35] <monokrome> Angular doesn't run a server
[01:46:40] <monokrome> Angular is just your frontend
[01:46:48] <cilkay> I'm running grunt serve.
[01:46:54] *** mven has joined #angularjs
[01:46:55] <monokrome> From what boilerplate?
[01:47:10] <jaawerth> lebster, katsh: derp, looks like you DO need the apply
[01:47:20] <jaawerth> it's $http that does it for you, whoops
[01:47:25] <cilkay> From generator-angular.
[01:47:31] <katsh> yeah !! i said that!
[01:47:35] <jaawerth> haha
[01:47:40] *** broberson has joined #angularjs
[01:47:41] <jaawerth> I did say "IIRC", in my defense
[01:47:42] <katsh> as soon as lebster said $apply i googled it and read an article
[01:47:45] <katsh> hehe
[01:47:49] *** bkuberek has joined #angularjs
[01:47:55] <monokrome> cilkay: So, you're using a lot of things that aren't angular. Grunt / yeoman isn't angular
[01:47:56] <cilkay> monokrome: From generator-angular.
[01:47:58] <jaawerth> it makes wayyy more sense that way anyway
[01:48:01] *** angularjs485 has quit IRC
[01:48:07] <jaawerth> there are all kinds of situations where you'd want to use promises without calling a digest
[01:48:13] <katsh> yeah. it says this: ? Very rarely, actually. AngularJS actually calls almost all of your code within an $apply call. Events like ng-click, controller initialization, $http callbacks are all wrapped in $scope.$apply().
[01:48:19] *** shpoont_ has quit IRC
[01:48:42] <katsh> so when you mentioned that its SC api, i realized it wasnt getting $apply'd
[01:48:48] <katsh> since it's not $http
[01:48:56] <cilkay> monokrome: I have no attachment to either of those things. I'd be happy to use "pure" AngularJS. How do you test if you don't have a web server? I assume you don't just load file://bla/bla/bla in your browser.
[01:48:57] <jaawerth> but I did a quick plunk and tried calling $apply within a promise resolution outside of angular context and it threw an error. I probably did it too quickly (sloppily) and forgot to fully take it out of context somehow
[01:49:01] *** Reskp has quit IRC
[01:49:24] *** SargoDarya has joined #angularjs
[01:49:30] <monokrome> cilkay: There's a lot of ways to do it, but I'm only saying that calling grunt "angular" was causing communication confusion
[01:49:35] <katsh> wait. so if i use jQuery instead of angular's $http, does it mean i will have to $apply also?
[01:49:47] <cilkay> monokrome: I had written that in the very first sentence. :)
[01:49:54] <jaawerth> katsh: yes
[01:50:02] <katsh> interesting
[01:50:05] <monokrome> If you've hard-coded the URL like that, Angular shouldn't be seneding the request to localhost.
[01:50:05] <jaawerth> katsh: but you should never have any reason to do THAT ;-)
[01:50:11] <cilkay> Forgive my imprecise terminology.
[01:50:13] <iShortBus> jaawerth: I've been seeing this topic come up more and more, and have started looking a lot more heavily into how I should lay out my projects. For the longest time i've been using generator-angular to layout my projects. But after reading style guides and best practices, it seems to go against what is considered 'best practice'. What do you use to scaffold
[01:50:13] <iShortBus> your projects?
[01:50:14] *** caitp has quit IRC
[01:50:15] <jaawerth> katsh: more commonly, if you use something like socket.io
[01:50:29] <lebster> jaawerth: ahh ok makes sense now
[01:50:34] <monokrome> cilkay: imprecise is an understatement, but only trying to help here
[01:50:56] <monokrome> Are you sure that this line of code is actually the one sending the request to localhost?
[01:50:57] <dumdum> guys, i wonder if any of you could possibly help me with this directive? http://jsfiddle.net/A8Vgk/1042/ it has 2 problems (1- the first input when typed into throws an error, because ng-model is not defined. 2-It double maps the ng-model, which i don't need to)
[01:51:00] <monokrome> Doesn't seem like it would be
[01:51:05] <cilkay> And I appreciate it.
[01:51:08] *** scythe__ has joined #angularjs
[01:51:14] <jaawerth> iShortBus: for the longest time I was using a "seed" project I'd customized and put into a git repo, but lately I've actually been trying out yeoman again, in the form of generator-gulp-angular, and so far I'm pretty happy with it. It's a lot closer to how I organize my projects
[01:51:23] *** debunk has quit IRC
[01:51:31] *** ximenean has joined #angularjs
[01:51:55] <iShortBus> Hmm, i'll have to check that out. and learn gulp. granted that's what core uses now.
[01:52:12] *** Poppa has joined #angularjs
[01:52:19] *** shinnya has quit IRC
[01:52:20] <jaawerth> the little work it takes me to change the resultant scaffolded project to my liking is worth the fact that it keeps all the libs and stuff updated, in my opinion. Plus the provided gulp files had a couple of utilities I hadn't been using myself, so I'm glad I decided to give it a chanec
[01:52:39] <jaawerth> iShortBus: gulp is WAYYY easier to learn than grunt, especially if you've done much node programming
[01:52:48] <iShortBus> i really like generator-angular. but i can definitely see where it could cause issues. since everything is one massive app.
[01:52:52] * monokrome just makes his own scaffold based on https://github.com/monokrome/angular-glp
[01:52:54] *** bejames has joined #angularjs
[01:52:56] <iShortBus> that's what i've heard
[01:53:02] <jaawerth> monokrome: yeah, that's what I used to do
[01:53:07] <iShortBus> i'm just use to the way grunt is
[01:53:18] *** Poppabear has quit IRC
[01:53:20] <monokrome> jaawerth: You used to do what?
[01:53:22] <cilkay> monokrome: No, I'm not sure. In fact, it's quite unlikely it's even getting there.
[01:53:25] *** Poppa is now known as Poppabear
[01:53:28] <jaawerth> monokrome: use my own git repo
[01:53:37] *** SargoDarya has quit IRC
[01:54:00] <monokrome> jaawerth: Oh, the part that I like about mine is that I also use my own wrapper around gulp though - because gulp configs are messy: https://github.com/monokrome/glp
[01:54:07] <jaawerth> monokrome: decided to give gulp-angular generator a go after I heard it adheres to google's styleguide/best practices, and so far I've been impressed
[01:54:16] <monokrome> hmm
[01:54:28] <monokrome> I'll have to try that out then
[01:54:34] *** morenoh149 has quit IRC
[01:54:35] <jaawerth> also the way they split up their gulp files is pretty smart, even if I stop using it going forward I"m gonna style that
[01:54:39] *** tfennelly has joined #angularjs
[01:54:43] <jaawerth> er, steal
[01:54:58] <robdubya> good thing about gulp is often you don't even need to write a plugin
[01:55:00] <monokrome> jaawerth: https://github.com/monokrome/angular-glp/blob/master/glp.yml
[01:55:01] *** codeman has joined #angularjs
[01:55:01] <robdubya> just use the code
[01:55:05] <monokrome> That's my "gulpfile" :)
[01:55:09] *** Oxynum has joined #angularjs
[01:55:12] <jaawerth> yeah, you can just code
[01:55:13] <jaawerth> lerve it
[01:55:22] <monokrome> Did you see it?
[01:55:35] <monokrome> oh that was about robdubya
[01:55:36] <monokrome> n/m
[01:55:43] <jaawerth> cilkay: I haven't touched the standard generator in a while and don't know if it's packed in with grunt or not, but there are tools you can use with "grunt serve" that will set up a proxy for making API calls outside of localhost
[01:55:59] <cilkay> They're both localhost.
[01:56:03] <jaawerth> (the aforementioned gulp generator has a gulpfile specifically for configuring the proxy)
[01:56:06] *** ximenean has quit IRC
[01:56:06] <cilkay> It doesn't need to leave localhost.
[01:56:14] <jaawerth> cilkay: are they on the same port?
[01:56:23] <cilkay> No, 9000 vs 8080
[01:56:23] <monokrome> cilkay: No. One is not localhost. Just because they're both pointing to 127.0.0.1 does NOT mean they are both localhost.
[01:56:29] <monokrome> The browser behaves completely differently in the two cases.
[01:56:46] <jaawerth> cilkay: then the browser counts that as a cross domain request. you'd either need to allow cross domain requests from your backend, or use a proxy
[01:56:49] <cilkay> I've explicitly hard-coded localhost in my code after I'd pasted in JSfiddle.
[01:56:55] <jaawerth> (or disable your browser security, but I wouldn't do that)
[01:56:57] <StoneCypher> what's the best starting point for an experienced dev who wants to get up and running in angular quickly, and doesn't want something like a why's guide
[01:57:06] <StoneCypher> srsly just a link or a title would be great
[01:57:09] <monokrome> cilkay: It looks like your code is using the wrong service
[01:57:17] <cilkay> jaawerth: I allow CORS in the the back-end and it's never reaching the back-end anyway.
[01:57:23] <jaawerth> ah
[01:57:27] <jaawerth> then nevermind me!
[01:57:52] *** bejames has quit IRC
[01:58:12] *** Lewix has quit IRC
[01:58:35] <cilkay> monokrome: I'll attempt to step through the code. I'm relatively inexperienced at debugging JS and grumble about how much easier it would be if I were doing this in Python. :)
[01:58:37] *** tfennelly has quit IRC
[01:58:46] *** {DV8} has joined #angularjs
[01:58:58] *** MistahKurtz has quit IRC
[01:59:15] *** bejames has joined #angularjs
[01:59:41] *** shinnya has joined #angularjs
[01:59:47] *** Oxynum has quit IRC
[01:59:49] *** SoulBlade has quit IRC
[02:00:48] *** rikkipitt has quit IRC
[02:00:53] *** nachinius has joined #angularjs
[02:00:58] *** sgen_ has quit IRC
[02:01:07] <fotoflo> Hey, ive got a problem with working with ui-router, could use a brief looksee: Error: Could not resolve '/channels/4dedfe3a-b7da-4983-90a0-0ceb7a11d7b7' from state '/' — and the relavant snippet of my my config: http://pastebin.com/bfqPmLuc, the link: <a ui-sref="/channels/{{channel.uid}}">{{channel.status}}</a>, and the line inserted into the containing div: <div ui-view="messageList"></div>
[02:01:07] *** vbabiy has quit IRC
[02:01:10] *** RobinBAwesome has quit IRC
[02:01:15] *** Oxynum has joined #angularjs
[02:01:34] *** michaelSharpe has quit IRC
[02:02:07] *** rtpg has joined #angularjs
[02:02:34] *** RobinBAwesome has joined #angularjs
[02:02:38] *** rtpg has joined #angularjs
[02:03:35] <g-nom3> StoneCypher: https://docs.angularjs.org/tutorial is what I've found helpful
[02:04:24] *** lexek_ has quit IRC
[02:04:39] *** shinnya has quit IRC
[02:05:00] *** elxa has joined #angularjs
[02:05:38] *** jtimon has quit IRC
[02:05:57] *** phzon has joined #angularjs
[02:06:14] *** doginal has quit IRC
[02:06:15] *** Aerospark has joined #angularjs
[02:06:28] *** s00pcan has quit IRC
[02:06:32] *** Oxynum has quit IRC
[02:07:24] *** snapwich has joined #angularjs
[02:07:48] *** Lewix has joined #angularjs
[02:07:53] *** DaveDH2 has joined #angularjs
[02:07:59] <dumdum> sorry to repeat myself, but none answered me
[02:08:01] <StoneCypher> just to check, are you guys able to see what i'm saying?
[02:08:03] <dumdum> guys, i wonder if any of you could possibly help me with this directive? http://jsfiddle.net/A8Vgk/1042/ it has 2 problems (1- the first input when typed into throws an error, because ng-model is not defined. 2-It double maps the ng-model, which i don't need to)
[02:08:08] <dumdum> StoneCypher: we are indeed
[02:08:10] <StoneCypher> k.
[02:08:17] *** Oxynum has joined #angularjs
[02:08:50] *** bostonaholic has quit IRC
[02:09:42] *** shinnya has joined #angularjs
[02:09:44] *** s00pcan has joined #angularjs
[02:09:56] *** ws has joined #angularjs
[02:10:19] *** phzon has quit IRC
[02:10:26] *** ws has quit IRC
[02:10:33] *** Aerospark has quit IRC
[02:11:19] *** opiates_ has joined #angularjs
[02:12:29] *** glaksmono has joined #angularjs
[02:13:29] *** burzum2 has quit IRC
[02:13:36] *** renlo has quit IRC
[02:13:55] *** sgen_ has joined #angularjs
[02:14:08] *** g33k5z_ has joined #angularjs
[02:14:17] *** deanclkclk has quit IRC
[02:14:19] *** Foxandxss has quit IRC
[02:14:20] *** cthrax has joined #angularjs
[02:14:28] *** fatshark has quit IRC
[02:14:58] *** glaksmono has quit IRC
[02:15:30] *** AimerPaddle has quit IRC
[02:15:56] *** codeman has quit IRC
[02:16:53] *** ctanga has quit IRC
[02:16:57] *** tehmoon has quit IRC
[02:17:31] *** mmealling has quit IRC
[02:17:40] *** glaksmono has joined #angularjs
[02:17:45] *** snapwich has quit IRC
[02:17:52] *** kalz has quit IRC
[02:18:06] *** Sawbones has joined #angularjs
[02:18:07] *** dumdum has quit IRC
[02:18:29] *** RobinBAwesome has quit IRC
[02:18:39] *** jaznow has joined #angularjs
[02:18:41] *** tehmoon has joined #angularjs
[02:20:16] *** kevinxu has joined #angularjs
[02:20:43] *** kevinxu is now known as Guest98205
[02:21:38] *** opiates_ is now known as opiates
[02:22:04] <fotoflo> Hi everyone! I’m stuck on a problem with ui-router and could use some help! Error: Could not resolve '/channels/4dedfe3a-b7da-4983-90a0-0ceb7a11d7b7' from state '/' — and the relavant snippet of my my config: http://pastebin.com/bfqPmLuc, the link: <a ui-sref="/channels/{{channel.uid}}">{{channel.status}}</a>, and the line inserted into the containing div: <div ui-view="messageList"></div>
[02:22:46] *** Sawbones has quit IRC
[02:22:57] *** jaznow has quit IRC
[02:23:02] *** dc_ has quit IRC
[02:24:02] *** Shrooms has quit IRC
[02:24:07] *** Zentdayn has joined #angularjs
[02:24:15] *** Shrooms` has joined #angularjs
[02:24:16] <fotoflo> anyone here familiar with angular-ui-router?
[02:25:14] *** frameworksRcool has joined #angularjs
[02:25:17] <fotoflo> interesting! if I put the url in directly it gives me a seemingly valid state, but its not a substate
[02:25:31] *** doug64k has joined #angularjs
[02:26:39] *** Superhard has quit IRC
[02:26:50] *** MistahKurtz has joined #angularjs
[02:26:58] *** dc_ has joined #angularjs
[02:26:59] <frameworksRcool> does anyone here know how to create a variable for a dynamic function?
[02:27:01] <frameworksRcool> var category = filter_data[i]; listElem.append(angular.element("<li>").attr("ng-click","selectedCategory(" + JSON.stringify(category) + ")").text("› " + filter_data[i].title));
[02:27:19] *** Oxynum has quit IRC
[02:27:21] <frameworksRcool> i would like to get rid of the JSON.stringify
[02:27:25] *** MistahKurtz has quit IRC
[02:27:26] <frameworksRcool> and have a variable instead
[02:27:36] <frameworksRcool> so it doesn't appear as a string object
[02:27:44] *** balr0g has quit IRC
[02:28:15] *** Superhard has joined #angularjs
[02:28:16] *** rikko has quit IRC
[02:28:57] *** spaceonline has joined #angularjs
[02:29:24] *** Superhard has quit IRC
[02:29:35] *** TheAceOfHearts has quit IRC
[02:30:06] *** nachinius has quit IRC
[02:30:52] *** fouadm has quit IRC
[02:30:55] *** GTgolfer has joined #angularjs
[02:31:15] *** Superhard has joined #angularjs
[02:31:15] *** marr has quit IRC
[02:31:20] *** bmac has joined #angularjs
[02:31:23] *** frameworksRcool has quit IRC
[02:31:28] *** TheAceOfHearts has joined #angularjs
[02:31:57] *** bkuberek has quit IRC
[02:32:05] *** jonathanpglick has quit IRC
[02:32:17] *** mchapman has quit IRC
[02:32:32] *** kalz has joined #angularjs
[02:32:43] *** mchapman has joined #angularjs
[02:33:33] *** spaceonline has quit IRC
[02:33:34] *** Aliks has quit IRC
[02:33:45] *** scriptThis has joined #angularjs
[02:35:54] *** Superhard has quit IRC
[02:37:04] *** caitp has joined #angularjs
[02:37:18] *** DanSkaggs has quit IRC
[02:37:19] *** merobertsjr has quit IRC
[02:37:29] *** deanclkclk has joined #angularjs
[02:38:09] *** beckyconning_ has quit IRC
[02:38:21] *** SergioFilhow_ has quit IRC
[02:38:35] *** RobinBAwesome has joined #angularjs
[02:38:48] *** RobinBAwesome has quit IRC
[02:38:58] *** xxMatiasFxx has joined #angularjs
[02:39:14] *** gunn has joined #angularjs
[02:39:47] *** Iravan has joined #angularjs
[02:39:54] *** jareddlc has quit IRC
[02:40:22] *** Aerospark has joined #angularjs
[02:41:17] <fotoflo> it seems i had multiple problems. 1) the link was improperly formed (FIXED), 2) the partial wasn’t injected, but rather gets served as its own complete view. Any ideas on how to fix that?
[02:42:13] *** tsalb has quit IRC
[02:42:14] *** g33k5z_ has quit IRC
[02:42:43] *** xxMatiasFCxx has quit IRC
[02:43:37] *** m0n4m33 has joined #angularjs
[02:43:41] *** MistahKurtz has joined #angularjs
[02:43:46] *** MacWinner has quit IRC
[02:44:03] *** conan_the_destro has quit IRC
[02:44:33] *** rmcdaniel has joined #angularjs
[02:44:35] *** Nivag has quit IRC
[02:44:48] *** scythe__ has quit IRC
[02:45:20] *** MistahKurtz has quit IRC
[02:45:48] *** Nivag has joined #angularjs
[02:46:16] *** DaveDH2 has quit IRC
[02:46:30] *** robdubya has quit IRC
[02:46:47] *** mven has quit IRC
[02:47:53] *** richiebkr has quit IRC
[02:48:19] *** gunn has quit IRC
[02:48:34] *** tschundeee has joined #angularjs
[02:49:31] *** dnull has joined #angularjs
[02:49:40] *** gunn has joined #angularjs
[02:49:48] *** Reskp has joined #angularjs
[02:49:52] *** MacWinner has joined #angularjs
[02:49:53] *** broberson has quit IRC
[02:51:14] *** shinnya has quit IRC
[02:51:22] *** F1LT3R has joined #angularjs
[02:52:06] *** opiates has quit IRC
[02:52:24] *** fullstack has quit IRC
[02:52:37] *** mmealling has joined #angularjs
[02:53:19] *** MistahKurtz has joined #angularjs
[02:54:15] *** Reskp has quit IRC
[02:54:30] *** tfennelly has joined #angularjs
[02:55:21] *** Menorah has quit IRC
[02:55:40] *** mtho11 has joined #angularjs
[02:55:46] *** F1LT3R has quit IRC
[02:56:49] *** antons has joined #angularjs
[02:57:30] *** JeffBuhrt has quit IRC
[02:57:58] *** mspier is now known as mspier|away
[02:58:17] *** shinnya has joined #angularjs
[02:58:50] *** Menorah has joined #angularjs
[02:59:18] *** tfennelly has quit IRC
[03:00:17] *** asher^ has quit IRC
[03:00:45] *** asher^ has joined #angularjs
[03:00:51] *** asher^ has quit IRC
[03:01:16] *** MacWinner has quit IRC
[03:01:45] *** asher^ has joined #angularjs
[03:02:05] *** nya has quit IRC
[03:02:15] *** jharbaug_ has quit IRC
[03:02:17] *** asher^ has joined #angularjs
[03:02:31] *** MistahKurtz has quit IRC
[03:02:51] *** jharbaugh has joined #angularjs
[03:03:02] *** akar has joined #angularjs
[03:03:25] *** caitp has quit IRC
[03:05:02] *** zbzzn has quit IRC
[03:05:18] *** woah has quit IRC
[03:05:34] *** zbzzn has joined #angularjs
[03:05:40] *** busticated has quit IRC
[03:05:48] *** platt has joined #angularjs
[03:07:54] *** morenoh149 has joined #angularjs
[03:08:19] *** evilaliv3 has quit IRC
[03:09:14] *** bbankes has quit IRC
[03:09:29] *** Iravan has quit IRC
[03:09:52] *** Aerospark has quit IRC
[03:10:08] *** bzitzow has quit IRC
[03:10:14] *** devish has joined #angularjs
[03:10:37] *** Iravan has joined #angularjs
[03:11:10] *** tschundeee has quit IRC
[03:11:10] *** josh-k_ has quit IRC
[03:11:53] *** bbankes has joined #angularjs
[03:11:58] *** bmac has quit IRC
[03:12:24] *** Sawbones has joined #angularjs
[03:12:39] *** loverajoel has joined #angularjs
[03:13:09] *** shinnya has quit IRC
[03:15:35] *** bostonaholic has joined #angularjs
[03:15:38] *** Guest22 has quit IRC
[03:16:29] *** stormbytes has quit IRC
[03:16:44] *** JeffBuhrt has joined #angularjs
[03:17:08] *** Sawbones has quit IRC
[03:17:16] *** Menorah has quit IRC
[03:17:25] *** tkh44 has quit IRC
[03:17:43] *** Aerospark has joined #angularjs
[03:17:50] *** circ-user-EtiWe has joined #angularjs
[03:18:02] *** jdivock has joined #angularjs
[03:18:11] *** TheAceOfHearts has quit IRC
[03:18:18] *** shinnya has joined #angularjs
[03:19:10] <circ-user-EtiWe> Hi guys, a bit stuck with the controller: here's my JSON object: http://awesomescreenshot.com/0a941ym86d and here's my controller code: http://pastebin.com/UxbVGrmv - the 'url' variable is coming out as undefined..curious as to where i'm going wrong
[03:19:14] *** Aerospark has quit IRC
[03:19:18] *** tripu has quit IRC
[03:19:23] *** tyfighter has quit IRC
[03:20:43] <circ-user-EtiWe> in the html, i'm doing an NG repeat and want to display the facebook social count as per the appropriate URL in each of the objects which is fine because its a simple ng-repeat but ya, not sure how to get the 'this' url appended to that facebook url
[03:21:01] *** Menorah has joined #angularjs
[03:21:24] <katsh> circ-user-EtiWe: data.url is undefined because it doesnt exist
[03:21:28] <katsh> try data[0].url
[03:21:43] *** Menorah has joined #angularjs
[03:24:42] <circ-user-EtiWe> thanks katsh, that worked although thats giving me the count of the first object, rightly so: http://awesomescreenshot.com/00441yn5fa but how do I make it so that i get the count of each of those urls? here's my HTML code: http://pastebin.com/cN7aMq9L
[03:24:50] *** mven has joined #angularjs
[03:25:00] *** helen_ has joined #angularjs
[03:26:22] <katsh> circ-user-EtiWe: you have to run it in a loop
[03:26:34] <katsh> forEach
[03:26:48] <morenoh149> is angular preventing me from printing out the open variable? https://github.com/morenoh149/isNoisebridgeOpen/blob/master/frontend/modules/main.jade
[03:27:15] *** robksawyer has joined #angularjs
[03:28:22] <circ-user-EtiWe> ah right, trying that now..get back to you in terms of how i went; again, thanks so much :-)
[03:29:30] <katsh> no problem. you can use a for loop, or foreach. those are basic javascript loops. you should familiarize yourself with the language before jumping into angular, or you'll have a hard time :)
[03:29:52] *** jvdz has quit IRC
[03:30:46] <rtpg> I'm having this issue where angular's bootstrapping doesn't trigger when I load my page sometimes
[03:30:52] <rtpg> but it's not 100% of the time
[03:31:03] <fotoflo> Hi guys, I have a ui.router with an <a ui-sref="channel({uid: channel.uid})”>. It’s inside a file called main.html which is injected into index.html with a <div ui-view></div>. the Main.html also has a <div ui-view=“channel”></div> and i want to get my partial into there. what should my .state() look like?
[03:31:27] <rtpg> In looking at my code there doesn't seem to be any asynchronous loading issues, kind of at a loss
[03:31:34] *** Superhard has joined #angularjs
[03:31:58] *** d0ngz has quit IRC
[03:33:09] *** ctanga has joined #angularjs
[03:34:21] *** mven has quit IRC
[03:34:25] *** tfennelly has joined #angularjs
[03:34:52] <rtpg> actually, I just thought of something. I'm importing angular.js script before my app module definition
[03:35:11] <rtpg> does angular's bootstrap "wait" long before checking for the existence of a module?
[03:35:44] *** soup has quit IRC
[03:36:00] *** Superhard has quit IRC
[03:37:12] *** helen_ has quit IRC
[03:37:55] *** jdivock has quit IRC
[03:38:14] *** SargoDarya has joined #angularjs
[03:38:50] *** tfennelly has quit IRC
[03:39:12] *** platonic has quit IRC
[03:40:36] *** ximenean has joined #angularjs
[03:41:48] *** MistahKurtz has joined #angularjs
[03:42:44] *** SargoDarya has quit IRC
[03:42:57] *** devish has quit IRC
[03:42:59] *** bkuberek has joined #angularjs
[03:43:46] *** dcherman has joined #angularjs
[03:44:05] *** ryez has joined #angularjs
[03:45:24] <katsh> Is it possible for a view to have default contents?
[03:45:32] *** ximenean has quit IRC
[03:46:38] *** jonasliljestrand has quit IRC
[03:47:26] *** bkuberek has quit IRC
[03:48:16] *** Aliks has joined #angularjs
[03:48:28] *** shinnya has quit IRC
[03:48:30] *** MistahKurtz has quit IRC
[03:50:32] *** Reskp has joined #angularjs
[03:50:41] *** bmac has joined #angularjs
[03:50:58] *** platonic has joined #angularjs
[03:51:09] *** GTgolfer has quit IRC
[03:52:17] *** bmac has quit IRC
[03:52:22] *** bmac_ has joined #angularjs
[03:52:24] *** TheAceOfHearts has joined #angularjs
[03:52:39] <circ-user-EtiWe> katsh: not sure where i'm going wrong
[03:52:39] <circ-user-EtiWe> http://pastebin.com/zQ9huHmK
[03:52:56] <circ-user-EtiWe> wrote the angular.forEach but not getting what was expected
[03:53:07] *** dannyc has joined #angularjs
[03:53:12] *** TommyO has quit IRC
[03:53:37] *** SoulBlade has joined #angularjs
[03:54:05] *** TommyO has joined #angularjs
[03:54:17] *** stormbytes has joined #angularjs
[03:54:57] *** patrick99e99 has quit IRC
[03:55:12] *** Reskp has quit IRC
[03:55:22] *** shinnya has joined #angularjs
[03:56:00] *** patrick99e99 has joined #angularjs
[03:57:00] *** kakashiA1 has joined #angularjs
[03:57:06] <fotoflo> first time using plunkr… seems totally broken. sorry if i dont know what im doing
[03:57:08] *** Iravan has quit IRC
[03:57:12] *** Iravan_ has joined #angularjs
[03:57:13] *** Shrooms` has quit IRC
[03:58:05] *** dannyc has quit IRC
[03:58:26] *** rmcdaniel has quit IRC
[03:58:34] <katsh> circ-user-EtiWe: put a console.log(key.url); do you see expected result?
[03:59:25] *** morenoh149 has quit IRC
[03:59:26] <katsh> i think you want value.url
[03:59:40] *** caitp has joined #angularjs
[03:59:57] *** kakashiAL has quit IRC
[04:00:04] *** dc_ has quit IRC
[04:00:38] *** Cronoh has quit IRC
[04:00:40] *** Menorah has quit IRC
[04:00:54] *** Aliks has quit IRC
[04:01:19] <circ-user-EtiWe> thanks katsh, nah nothing showing up in the console..tried value.url as well but that is not helping either
[04:01:31] <katsh> you get undefined?
[04:02:00] *** ron_frown has joined #angularjs
[04:02:27] *** patricka_ has quit IRC
[04:02:39] <circ-user-EtiWe> nah nothings showing up - I get this error though..not sure if its related
[04:02:40] <circ-user-EtiWe> GET https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/MINERR_ASSET 404 (Not Found)
[04:02:59] *** Aerospark has joined #angularjs
[04:03:25] <katsh> no idea. but if youre not getting anything in console.log, then that function or loop isnt even being called
[04:04:08] *** recurrence has quit IRC
[04:04:15] *** Oddman has quit IRC
[04:04:24] *** caitp has quit IRC
[04:04:33] <fotoflo> oy. having a horrible time with ui-router. anyone have a moment to lend some expertice
[04:04:36] <circ-user-EtiWe> ya true, will troubleshoot - just quickly, does anything seem out of order: http://pastebin.com/aD0E2Gfc
[04:05:29] <katsh> yes
[04:05:38] <katsh> whats calling $scope.urlcount() ?
[04:05:42] *** metallurgical has joined #angularjs
[04:05:46] <katsh> and this.push(data.shares), what is 'this' ?
[04:06:01] *** mdedetrich has joined #angularjs
[04:06:26] <circ-user-EtiWe> using the following html to call urlcount scope
[04:06:27] <circ-user-EtiWe> <li ng-repeat="count in urlcount">{{count}}</li>
[04:06:44] *** Sawbones has joined #angularjs
[04:06:57] *** wallerdev has quit IRC
[04:07:04] <katsh> but urlcount is a function, not array
[04:07:06] <metallurgical> hello
[04:07:07] <circ-user-EtiWe> did data.shares because i thought that, that will give the share count to the
[04:07:07] <circ-user-EtiWe> https://graph.facebook.com/?id=http://www.mashable.com
[04:07:12] <circ-user-EtiWe> oh right true
[04:07:21] <circ-user-EtiWe> umm
[04:07:23] *** jaznow has joined #angularjs
[04:07:28] <katsh> circ-user-EtiWe: how big is your app? try putting on plnkr
[04:07:58] <circ-user-EtiWe> thanks katsh, putting it now..really small
[04:08:11] *** whunt_ has joined #angularjs
[04:08:11] *** whunt has quit IRC
[04:08:32] <metallurgical> can i declare provider like $http globally, so later on in controller no need to inject $http again and again.. is it possible??
[04:08:35] <katsh> ive been doing angular for like a week, not sure how much help i'll be -- but most of your questions are rooted in javascript, not angular
[04:09:00] *** sjt003 has quit IRC
[04:09:05] <katsh> metallurgical: you probably dont wanna do that
[04:09:26] <metallurgical> why??
[04:10:26] *** jaredwilli has quit IRC
[04:10:32] *** j_wright has joined #angularjs
[04:10:46] <metallurgical> is it possible or not mate??
[04:10:48] <katsh> when $http runs, in its callback, if you use scope variables, it will let angular know that those variables changed
[04:10:59] *** kakashiA1 has quit IRC
[04:11:13] <katsh> i think you probably want an $http per controller. im sure it's possible, but probably not wise to do
[04:11:13] *** Sawbones has quit IRC
[04:11:33] *** bkuberek has joined #angularjs
[04:11:49] *** ome has quit IRC
[04:11:49] *** jaznow has quit IRC
[04:12:05] *** Menorah has joined #angularjs
[04:12:26] <metallurgical> lol.. better just stick like before
[04:13:14] *** dc_ has joined #angularjs
[04:13:42] *** AngularUI has joined #angularjs
[04:13:42] <AngularUI> [bootstrap] sonnym closed pull request #1562: Tab active function fix (master...tab_active_function_fix) http://git.io/XPCt8A
[04:13:42] *** AngularUI has left #angularjs
[04:15:53] <circ-user-EtiWe> katsh: here it is :-) http://plnkr.co/edit/a35iWUxnQUKW63UKvd8q?p=preview
[04:16:33] *** robksawyer has quit IRC
[04:16:46] *** bkuberek has quit IRC
[04:16:46] *** soee__ has joined #angularjs
[04:17:20] *** bkuberek has joined #angularjs
[04:17:48] *** spaceonline has joined #angularjs
[04:17:49] *** Emerald214 has quit IRC
[04:18:28] *** soee_ has quit IRC
[04:18:39] *** robdubya has joined #angularjs
[04:18:45] *** mven has joined #angularjs
[04:19:22] *** whunt_ has quit IRC
[04:19:53] *** GTgolfer has joined #angularjs
[04:20:39] *** TommyO has quit IRC
[04:21:15] *** jordandotdev has joined #angularjs
[04:21:18] *** DV8_ has joined #angularjs
[04:21:52] *** sgen_ has quit IRC
[04:22:25] *** spaceonline has quit IRC
[04:24:11] <snurfery> sup yall
[04:24:23] <snurfery> what do you guys use for datetime selection
[04:24:36] <snurfery> UI-wise
[04:24:43] *** {DV8} has quit IRC
[04:26:04] <robdubya> https://github.com/dfahlander/Dexie.js GLORIOUS
[04:26:12] *** bkuberek_ has joined #angularjs
[04:26:18] <robdubya> (that's not an answer to you snurfery )
[04:26:23] <rtpg> snurfery: https://github.com/eternicode/bootstrap-datepicker we use this
[04:26:26] <rtpg> feels very nice imo
[04:27:17] <rtpg> oh btw not only is batarang completely broken, but it also interferes with angular's bootstrapping process, so I've been chasing a bug (app basically not loading) caused by batarang being completely borked
[04:27:29] <snurfery> ouch
[04:27:34] <snurfery> thx rtpg
[04:27:46] *** bkubere__ has joined #angularjs
[04:28:33] *** DV8_ has quit IRC
[04:28:43] *** jak124124 has joined #angularjs
[04:28:57] <katsh> so circ-user-EtiWe , what are you tryin got accomplish/
[04:29:02] *** bkuberek has quit IRC
[04:29:10] <katsh> display the count somewhere?
[04:29:15] <circ-user-EtiWe> yeah :-)
[04:29:22] <circ-user-EtiWe> as the third li
[04:30:04] *** nickgs has joined #angularjs
[04:30:17] <katsh> but count what?
[04:30:37] *** bkuberek_ has quit IRC
[04:30:37] *** ali4ever4 has joined #angularjs
[04:30:41] *** fred-fri has joined #angularjs
[04:30:42] <robdubya> ng-inspector >>>> batarang
[04:30:48] <katsh> one sec circ
[04:31:01] *** {DV8} has joined #angularjs
[04:31:29] <katsh> each story/title has a count, right?
[04:31:30] *** ron1 has joined #angularjs
[04:32:05] <circ-user-EtiWe> ya so essentially each of the objects have a url
[04:32:26] <circ-user-EtiWe> and using the facebook graph api, want to get the share count for each of those urls
[04:32:41] *** Superhard has joined #angularjs
[04:33:36] *** TommyO has joined #angularjs
[04:33:49] *** bkubere__ has quit IRC
[04:33:55] <robdubya> easy peasy
[04:34:27] *** bkuberek has joined #angularjs
[04:35:03] *** swist has quit IRC
[04:35:27] <katsh> batarang? bahasa indo?
[04:35:36] <katsh> circ ok
[04:36:07] *** Hackwar has quit IRC
[04:36:18] *** Shrooms has joined #angularjs
[04:36:24] *** Hackwar has joined #angularjs
[04:37:15] *** Siecje has left #angularjs
[04:37:22] *** ciwolsey has quit IRC
[04:37:27] *** Superhard has quit IRC
[04:38:13] <rtpg> robdubya: thanks for the suggestion, looks easier to use yeah
[04:38:20] <fred-fri> im making a form for this mongoose schema https://gist.github.com/anonymous/8eb3a78e7b3ebdcfb5ae i need to make radio buttons for the number attributes. (i.e. three radio buttons per number attribute that represent the numbers 1, 2, 3) what would be a good way?
[04:38:27] *** GTgolfer has quit IRC
[04:38:49] *** bkuberek has quit IRC
[04:39:13] *** woah has joined #angularjs
[04:39:16] *** deanclkclk has quit IRC
[04:40:46] *** jaredwilli has joined #angularjs
[04:40:47] <robdubya> circ-user-EtiWe http://plnkr.co/edit/ujT1FS8wBxeEjhLBkTMn?p=preview might help
[04:41:14] *** soee has joined #angularjs
[04:41:18] *** m0n4m33 has quit IRC
[04:41:59] *** Shrooms has quit IRC
[04:42:27] *** kagitingan has quit IRC
[04:42:47] *** kagitingan has joined #angularjs
[04:42:56] *** mzabriskie has joined #angularjs
[04:43:15] *** Guest98205 has quit IRC
[04:43:16] *** soee__ has quit IRC
[04:43:27] *** mzabriskie has quit IRC
[04:44:23] *** kagitingan has quit IRC
[04:45:06] *** rho has quit IRC
[04:45:25] *** wookiehangover has quit IRC
[04:45:48] *** d4rklit3 has quit IRC
[04:45:51] *** kagitingan has joined #angularjs
[04:46:19] *** kapil__ has joined #angularjs
[04:46:44] *** herbyme has quit IRC
[04:47:09] *** recurrence has joined #angularjs
[04:47:12] *** jak124124 has quit IRC
[04:47:27] *** kagitingan has quit IRC
[04:47:43] *** qdk has quit IRC
[04:48:08] *** jak124124 has joined #angularjs
[04:48:29] *** qdk has joined #angularjs
[04:48:43] *** d4rklit3 has joined #angularjs
[04:49:15] *** jaredwilli has quit IRC
[04:49:26] <circ-user-EtiWe> thanks robdubya: i'm new-ish to full JS, I kinda get it but not sure how to apply it to my code, if possible, can you please tweak my version: http://plnkr.co/edit/a35iWUxnQUKW63UKvd8q?p=preview - will make things much clearer
[04:49:30] *** kagitingan has joined #angularjs
[04:50:11] *** alex_zhou has joined #angularjs
[04:50:41] *** s00pcan has quit IRC
[04:50:46] *** wookiehangover has joined #angularjs
[04:50:49] *** Left_Turn has quit IRC
[04:51:20] *** Reskp has joined #angularjs
[04:51:35] *** loverajoel has quit IRC
[04:52:16] *** elrabin has joined #angularjs
[04:52:36] *** evotuned has quit IRC
[04:52:49] *** mdedetrich has quit IRC
[04:53:26] *** bkuberek has joined #angularjs
[04:53:59] *** chrisshattuck has joined #angularjs
[04:54:14] *** tfennelly has joined #angularjs
[04:54:42] *** Aliks has joined #angularjs
[04:54:49] <cilkay> When I hit http://localhost:9000/clients/1062174, I'm seeing a GET request made to http://localhost:8080/api/v1/clients/, which is not my intention. I want the request to be made to http://localhost:8080/api/v1/clients/1062174. What am I missing in my code here: http://jsfiddle.net/cilkay/Lq4yvrLb/2/?
[04:55:36] <cilkay> I must not be passing the clientID to the Client resource.
[04:55:49] <cilkay> At least not passing it properly anyway.
[04:56:11] *** Reskp has quit IRC
[04:57:45] *** mven has quit IRC
[04:58:02] <robdubya> circ-user-EtiWe the FB call looks wrong
[04:58:53] *** tfennelly has quit IRC
[04:58:57] *** Menorah has quit IRC
[04:59:18] *** Cronoh has joined #angularjs
[05:00:02] *** jak124124 has quit IRC
[05:00:06] *** tga0 has joined #angularjs
[05:00:22] <katsh> ya
[05:00:46] *** ron1 has quit IRC
[05:00:46] *** cornerma1 has joined #angularjs
[05:01:02] *** afuggini has quit IRC
[05:01:08] *** afuggini has joined #angularjs
[05:01:13] *** Sawbones has joined #angularjs
[05:01:46] <stormbytes> how would you change a view (html) without changing the ulr?
[05:01:55] <circ-user-EtiWe> ah! what would the correct version be?
[05:02:02] *** ron1 has joined #angularjs
[05:02:04] *** katsh has quit IRC
[05:02:11] *** asher^ has quit IRC
[05:02:19] <robdubya> well where are you getting that from?
[05:02:20] <robdubya> http://plnkr.co/edit/wjSL9LThQzW9Exb0cwmj?p=preview
[05:02:30] <robdubya> that's how i'd do it, but it doesn't work because your FB call is all wrong
[05:02:51] *** Shrooms has joined #angularjs
[05:02:51] *** Shrooms has joined #angularjs
[05:03:11] *** lemur has joined #angularjs
[05:03:48] <cilkay> Django eventually throws a 500 because http://localhost:8080/api/v1/clients/ is attempting to return all 32,000 clients.
[05:04:11] <ali4ever4> how can i make $state.go move to other view without transition animation ? (its ionic framework hybrid app ) ionic is based on Angularja
[05:04:12] <circ-user-EtiWe> thanks robdubya, you mean the URL i'm using to fetch FB JSON?
[05:04:16] <ali4ever4> angularjs
[05:04:17] <robdubya> yep
[05:04:24] *** cornerman has quit IRC
[05:04:30] <mmealling> I'm using ui-grid and I have a column where I set a cellTemplate as "<span class="glyphicon" ng-class="{glyphicon-ok: row.getProperty(col.field) < 1, glyphicon-time: row.getProperty(col.field) > 0}" aria-hidden="true"></span>" but nothing shows up in the column. Anything look glaringly wrong with that?
[05:04:31] *** cornerma1 is now known as cornerman
[05:04:35] *** tga0 has quit IRC
[05:04:38] <cilkay> I suspect this has something to do with $routeProvider vs $stateProvider. I have no clue what the difference is so I'll read up on it.
[05:04:39] *** bkuberek_ has joined #angularjs
[05:05:20] *** Fishy has quit IRC
[05:05:29] *** Sawbones has quit IRC
[05:05:29] *** bkuberek has quit IRC
[05:05:30] <circ-user-EtiWe> oh right
[05:05:31] <circ-user-EtiWe> https://graph.facebook.com/?id=http://www.mashable.com
[05:05:39] <circ-user-EtiWe> so the ?id= was missing
[05:05:41] *** safani has joined #angularjs
[05:06:20] *** ron1 has quit IRC
[05:07:25] <circ-user-EtiWe> robdubya, corrected the FB graph call but its still not showing up: http://plnkr.co/edit/w6P60RGi98q2lH0lj0xg?p=preview
[05:07:28] <circ-user-EtiWe> any idea
[05:09:13] *** Lewix has quit IRC
[05:09:19] *** Skrypter has quit IRC
[05:09:49] <robdubya> circ-user-EtiWe http://plnkr.co/edit/2Qvheo69AG15TFhljN34?p=preview
[05:09:52] <robdubya> don't steal my token
[05:10:00] <fotoflo> hmm, anyone know how to get ahold of $state in the console
[05:10:08] *** Cronoh has quit IRC
[05:12:24] *** kevinxu has joined #angularjs
[05:12:48] *** kevinxu is now known as Guest40696
[05:13:03] <robdubya> window.$state = $state, somewhere in your code :)
[05:13:07] *** viet has joined #angularjs
[05:13:11] <viet> oat the fuck
[05:13:12] *** alex_zhou has quit IRC
[05:13:18] *** viet has left #angularjs
[05:13:33] *** Aliks has quit IRC
[05:16:02] <ali4ever4> how can i make $state.go move to other view without transition animation ? (its ionic framework hybrid app ) ionic is based on angularjs
[05:16:18] <ali4ever4> still i think my question is purly related to ui-router
[05:17:27] <fotoflo> robdubya: great. thanks
[05:17:43] *** Tyler_ has joined #angularjs
[05:21:00] *** jrahmy has joined #angularjs
[05:21:07] *** zanea is now known as zanea|away
[05:21:29] <jaydubya> Trying to refactor to multiple modules and was wondering if I should have an ARM.common module or is it best practice to have common part of the top-level module?
[05:21:51] *** Tyler_ is now known as UXGuy
[05:22:41] *** mzabriskie has joined #angularjs
[05:23:09] *** asher^ has joined #angularjs
[05:23:20] *** asher^ has quit IRC
[05:24:22] *** herbyme has joined #angularjs
[05:24:40] *** Greed` is now known as Greed
[05:25:37] *** tripu has joined #angularjs
[05:26:19] *** Aerospark has quit IRC
[05:26:54] <circ-user-EtiWe> ah excellent, thanks a lot robdubya
[05:27:06] <circ-user-EtiWe> out of curiousity..why was the FB token required?
[05:27:09] *** SargoDarya has joined #angularjs
[05:27:11] *** asher^ has joined #angularjs
[05:27:40] <circ-user-EtiWe> might be a newbie question but as i understand, even the direct url graph.facebook.com?id=url - when typed in the browser was working right
[05:28:07] *** herbyme has quit IRC
[05:28:12] *** asher^ has joined #angularjs
[05:28:25] *** Aliks has joined #angularjs
[05:29:20] *** ximenean has joined #angularjs
[05:29:26] *** hawa has joined #angularjs
[05:29:42] <robdubya> dunno, looked at the docs, and the error the API was spiiting back said it needed one
[05:30:10] *** deanclkclk has joined #angularjs
[05:31:09] *** bmac_ has quit IRC
[05:31:32] <circ-user-EtiWe> ahk gotcha
[05:31:36] *** SargoDarya has quit IRC
[05:31:51] <circ-user-EtiWe> excellent, thanks again..time to analyze the code now and understand how its functioning
[05:32:11] *** Fishy has joined #angularjs
[05:32:29] *** jrahmy has quit IRC
[05:32:48] <hawa> dnt knw what happened, but all the links in my page does not navigate. only the address in the address bar changes, but does not naavigate to that route. I am using, angularjs, jade, bootstrap and jquery. Dont know which and where is the fault.
[05:33:43] *** ximenean has quit IRC
[05:35:03] *** c00ljs has joined #angularjs
[05:36:29] *** nemothekid has joined #angularjs
[05:37:06] *** Fishy has quit IRC
[05:37:38] *** Aerospark has joined #angularjs
[05:37:50] *** shinnya has quit IRC
[05:38:00] *** Zentdayn has quit IRC
[05:41:34] *** Aliks has quit IRC
[05:41:37] *** soee_ has joined #angularjs
[05:41:46] *** kuadrosx has quit IRC
[05:41:52] *** glaksmono has quit IRC
[05:42:09] *** Aliks has joined #angularjs
[05:42:43] *** glaksmono has joined #angularjs
[05:43:38] *** soee has quit IRC
[05:44:08] *** ogdabou has joined #angularjs
[05:44:19] *** Aliks_ has joined #angularjs
[05:44:29] *** mdedetrich has joined #angularjs
[05:44:46] *** Aliks has quit IRC
[05:45:19] *** alex_zhou has joined #angularjs
[05:48:34] *** caitp has joined #angularjs
[05:49:29] *** glaksmono has quit IRC
[05:50:19] *** defaultdict has joined #angularjs
[05:52:08] *** Reskp has joined #angularjs
[05:52:33] *** nickgs has quit IRC
[05:53:08] *** caitp has quit IRC
[05:53:27] *** evotuned has joined #angularjs
[05:54:53] *** MattWelch has quit IRC
[05:55:23] *** Sawbones has joined #angularjs
[05:56:09] *** jaznow has joined #angularjs
[05:56:13] *** glaksmono has joined #angularjs
[05:56:17] *** Sawbones has quit IRC
[05:56:39] *** Sawbones has joined #angularjs
[05:56:43] *** Reskp has quit IRC
[05:58:11] *** dave_boling has joined #angularjs
[05:58:30] *** jMyles has quit IRC
[05:58:59] *** sgen_ has joined #angularjs
[05:59:57] *** jaydubya has quit IRC
[06:00:06] *** Laserbeak has quit IRC
[06:00:22] *** t0rrieri has quit IRC
[06:00:22] *** t0rrieri has joined #angularjs
[06:00:31] *** jaydubya has joined #angularjs
[06:00:39] *** jaznow has quit IRC
[06:00:40] *** Sawbones has quit IRC
[06:01:24] *** elrabin has quit IRC
[06:01:48] *** evotuned has quit IRC
[06:01:51] *** elrabin has joined #angularjs
[06:02:28] *** cthrax has quit IRC
[06:04:46] *** jaydubya has quit IRC
[06:05:55] *** Laserbeak43 has joined #angularjs
[06:06:18] *** elrabin has quit IRC
[06:06:39] *** spaceonline has joined #angularjs
[06:07:45] *** mzabriskie has quit IRC
[06:08:30] *** motionman has joined #angularjs
[06:08:36] *** SexualRickshaw has joined #angularjs
[06:09:10] *** chrisshattuck has quit IRC
[06:09:34] *** Underbyte has quit IRC
[06:11:16] *** spaceonline has quit IRC
[06:12:01] *** TripTastic has joined #angularjs
[06:12:14] *** Sadin has quit IRC
[06:13:04] *** JBreit has quit IRC
[06:13:48] *** Laserbeak has joined #angularjs
[06:14:21] *** ogdabou has quit IRC
[06:14:35] *** frkout has joined #angularjs
[06:14:46] *** Aerospark has quit IRC
[06:15:43] *** frkout has quit IRC
[06:15:44] *** kp666 has joined #angularjs
[06:16:02] *** ome has joined #angularjs
[06:16:09] *** frkout has joined #angularjs
[06:17:52] *** numproc has quit IRC
[06:18:34] *** metallurgical has quit IRC
[06:20:09] *** ron_frown has quit IRC
[06:20:20] *** ron_frown has joined #angularjs
[06:21:12] *** chrisbirk has quit IRC
[06:21:29] *** Superhard has joined #angularjs
[06:21:39] *** TeddyMurray has quit IRC
[06:21:58] *** MattWelch has joined #angularjs
[06:22:06] *** m0n4m33 has joined #angularjs
[06:22:21] *** Lewix has joined #angularjs
[06:22:47] *** Aerospark has joined #angularjs
[06:23:53] *** tfennelly has joined #angularjs
[06:24:09] *** Underbyte has joined #angularjs
[06:24:35] *** Grokling_ has joined #angularjs
[06:24:55] *** Underbyte has quit IRC
[06:25:42] *** Superhard has quit IRC
[06:27:01] *** charuru has quit IRC
[06:27:13] *** cthrax has joined #angularjs
[06:27:23] *** platt has quit IRC
[06:27:24] *** TripTastic is now known as JBreit
[06:27:32] *** JohnBat26 has joined #angularjs
[06:27:57] *** UXGuy has quit IRC
[06:28:03] *** vidya has joined #angularjs
[06:28:16] *** earthquake has joined #angularjs
[06:28:25] *** tfennelly has quit IRC
[06:28:28] *** freelyfred has joined #angularjs
[06:28:39] *** F1LT3R has joined #angularjs
[06:29:10] *** vidya has quit IRC
[06:31:32] *** Skrypter has joined #angularjs
[06:32:06] *** TinkerTyper has quit IRC
[06:32:59] *** Fishy has joined #angularjs
[06:33:12] *** F1LT3R has quit IRC
[06:34:01] *** chrisbirk has joined #angularjs
[06:34:23] *** mzabriskie has joined #angularjs
[06:36:09] *** circ-user-EtiWe has quit IRC
[06:36:22] *** m0n4m33 has quit IRC
[06:36:22] *** pnade has quit IRC
[06:36:29] *** Iravan_ is now known as iravan
[06:36:47] *** m0n4m33 has joined #angularjs
[06:37:16] *** TinkerTyper has joined #angularjs
[06:37:19] *** tyfighter has joined #angularjs
[06:37:45] *** zivester has joined #angularjs
[06:38:47] *** instence_ has joined #angularjs
[06:39:10] *** m0n4m33 has quit IRC
[06:40:19] *** Fishy has quit IRC
[06:40:25] *** instence has quit IRC
[06:40:31] *** xdissent has quit IRC
[06:40:32] *** m0n4m33 has joined #angularjs
[06:41:50] *** e0ipso is now known as e0ipso|away
[06:42:30] *** rikko has joined #angularjs
[06:43:11] *** rho has joined #angularjs
[06:44:45] *** Skrypter has quit IRC
[06:46:16] *** fouadm has joined #angularjs
[06:47:27] *** m0n4m33 has quit IRC
[06:47:34] *** m0n4m33 has joined #angularjs
[06:47:57] *** Cronoh has joined #angularjs
[06:48:04] *** moogey has quit IRC
[06:48:53] *** tga0 has joined #angularjs
[06:49:14] *** phoenixw has joined #angularjs
[06:49:19] *** Cronoh has quit IRC
[06:49:41] *** Shai-Tan has quit IRC
[06:50:00] *** Akufen has quit IRC
[06:50:03] *** nya has joined #angularjs
[06:50:38] <fotoflo> any updates on angular batarang?
[06:51:09] *** NanoArro1 has quit IRC
[06:51:10] *** chhsiao1981 has quit IRC
[06:51:16] *** Akufen has joined #angularjs
[06:51:17] *** chhsiao1981 has joined #angularjs
[06:51:32] *** CrashHD has quit IRC
[06:52:24] *** alex_zhou has quit IRC
[06:52:50] *** moogey has joined #angularjs
[06:52:57] *** Reskp has joined #angularjs
[06:53:01] *** goodenough has quit IRC
[06:53:44] *** dave_boling has quit IRC
[06:53:46] *** tga0 has quit IRC
[06:54:53] *** Cronoh has joined #angularjs
[06:54:59] *** nitz_ has joined #angularjs
[06:55:05] *** Lewix has quit IRC
[06:55:19] *** nitz_ has quit IRC
[06:55:56] *** sgen_ has quit IRC
[06:56:28] *** CrashHD has joined #angularjs
[06:56:51] *** jaznow has joined #angularjs
[06:57:29] *** jak124124 has joined #angularjs
[06:57:54] *** Reskp has quit IRC
[06:57:55] *** evotuned has joined #angularjs
[06:58:52] *** rho has quit IRC
[06:59:50] *** mspier|away is now known as mspier
[07:00:01] <fotoflo> is there a solid angular websocket provider to use?
[07:00:04] *** ximenean has joined #angularjs
[07:01:51] *** jaznow has quit IRC
[07:02:28] *** evotuned has quit IRC
[07:03:43] *** d4rklit3 has quit IRC
[07:04:01] *** knownasilya has quit IRC
[07:04:17] *** ximenean has quit IRC
[07:04:18] *** prbc has joined #angularjs
[07:04:32] *** axsuul has quit IRC
[07:05:17] *** enaqx has quit IRC
[07:05:31] *** zivester has quit IRC
[07:05:52] *** alex_zhou has joined #angularjs
[07:08:47] *** toby has joined #angularjs
[07:09:11] *** toby is now known as Guest7308
[07:09:32] *** Cronoh has quit IRC
[07:09:41] *** evotuned has joined #angularjs
[07:10:01] *** Grokling_ has quit IRC
[07:10:12] *** Skrypter has joined #angularjs
[07:12:48] *** renlo has joined #angularjs
[07:13:00] *** Aerospark has quit IRC
[07:13:06] *** Menorah has joined #angularjs
[07:15:18] *** mrru has joined #angularjs
[07:15:57] *** bostonaholic has quit IRC
[07:16:03] *** SargoDarya has joined #angularjs
[07:16:41] *** herbyme has joined #angularjs
[07:18:16] *** SoulBlade has quit IRC
[07:19:07] *** Guest7308 has quit IRC
[07:19:15] *** caitp has joined #angularjs
[07:19:22] *** moogey has quit IRC
[07:20:17] *** SargoDarya has quit IRC
[07:20:56] *** deanclkclk_ has joined #angularjs
[07:21:16] *** deanclkclk has quit IRC
[07:22:46] *** phoenixw has quit IRC
[07:24:28] *** caitp has quit IRC
[07:24:47] *** ggrzybek has joined #angularjs
[07:26:08] *** Grokling_ has joined #angularjs
[07:27:06] *** chrisbirk has quit IRC
[07:28:08] *** JeffBuhrt has quit IRC
[07:28:26] *** asher^ has quit IRC
[07:29:28] *** o-ja has joined #angularjs
[07:30:17] *** frkout_ has joined #angularjs
[07:30:48] *** dannyc has joined #angularjs
[07:30:57] *** omsmith has quit IRC
[07:31:01] *** CrashHD has quit IRC
[07:31:18] *** CrashHD has joined #angularjs
[07:31:24] *** nickeddy has quit IRC
[07:31:38] *** phoenixw has joined #angularjs
[07:31:41] *** nickeddy has joined #angularjs
[07:31:43] *** glaksmono has left #angularjs
[07:32:32] *** Cronoh has joined #angularjs
[07:32:33] *** {DV8} has quit IRC
[07:33:14] *** frkout has quit IRC
[07:34:14] *** ron_frown has quit IRC
[07:35:18] *** dannyc has quit IRC
[07:35:28] *** tyfighter has quit IRC
[07:36:06] *** snurfery has quit IRC
[07:36:13] *** e0ipso|away is now known as e0ipso
[07:36:32] *** herbyme has quit IRC
[07:36:52] *** phoenixw has quit IRC
[07:37:12] *** Fishy has joined #angularjs
[07:37:57] *** phoenixw has joined #angularjs
[07:39:33] *** ron_frown has joined #angularjs
[07:41:28] *** Fishy has quit IRC
[07:43:38] *** MattWelch has quit IRC
[07:45:07] *** Grokling_ has quit IRC
[07:45:20] *** phoenixw has quit IRC
[07:46:12] *** Aliks_ has quit IRC
[07:46:33] *** lite_ has joined #angularjs
[07:46:50] *** Aliks has joined #angularjs
[07:46:59] *** phoenixw has joined #angularjs
[07:48:37] *** jaydubya has joined #angularjs
[07:49:34] *** morenoh149 has joined #angularjs
[07:49:51] *** nocturne777 has joined #angularjs
[07:50:29] *** ali4ever4 has quit IRC
[07:51:03] *** tfennelly has joined #angularjs
[07:51:13] *** cacts has joined #angularjs
[07:51:54] *** Aliks has quit IRC
[07:52:12] *** Aliks has joined #angularjs
[07:53:15] *** jaydubya has quit IRC
[07:53:55] *** Reskp has joined #angularjs
[07:55:28] *** spaceonline has joined #angularjs
[07:56:06] *** pnade has joined #angularjs
[07:56:13] *** jMyles has joined #angularjs
[07:58:21] *** nabdev has joined #angularjs
[07:58:48] *** Reskp has quit IRC
[07:59:10] *** D-Boy has quit IRC
[07:59:17] *** tfennelly has quit IRC
[08:00:01] *** spaceonline has quit IRC
[08:00:06] *** prbc has quit IRC
[08:01:39] *** ron1 has joined #angularjs
[08:01:51] *** Aerospark has joined #angularjs
[08:01:54] *** dnull has quit IRC
[08:02:46] *** ron_frown has quit IRC
[08:03:05] *** asher^ has joined #angularjs
[08:03:09] *** jak124124 has quit IRC
[08:05:05] *** D-Boy has joined #angularjs
[08:06:26] *** ron1 has quit IRC
[08:09:30] *** williamtdr has quit IRC
[08:09:32] *** goodenough has joined #angularjs
[08:09:51] *** herbyme has joined #angularjs
[08:10:13] *** Superhard has joined #angularjs
[08:12:09] <rtpg> is there a way to completely turn off angular fiddling with the URL?
[08:12:24] <rtpg> I use a lot of in-page links and can get those to work but angular then mangles the name
[08:13:06] *** dcherman has quit IRC
[08:14:12] *** Click66 has joined #angularjs
[08:14:35] *** Superhard has quit IRC
[08:15:11] *** macobo has joined #angularjs
[08:15:18] *** herbyme has quit IRC
[08:15:45] <cilkay> You mean the # in the URL?
[08:16:02] <cilkay> E.g. localhost/#/foo instead of localhost/foo
[08:16:53] *** SargoDarya has joined #angularjs
[08:16:57] <cilkay> If so, it's easy. <base href="/"> in your html and $locationProvider.html5Mode(true); in your app config
[08:17:01] <cilkay> rtpg: ^^
[08:17:13] <cilkay> I just did that tonight.
[08:17:24] *** mrru has quit IRC
[08:17:27] <cilkay> It's documented on StackOverflow.
[08:18:08] <rtpg> but would that make me going to site.com/page#anchor work still?
[08:19:19] *** MattWelch has joined #angularjs
[08:19:25] <cilkay> I don't know. Try it.
[08:19:38] <cilkay> It should.
[08:19:51] *** shpoont_ has joined #angularjs
[08:19:57] <cilkay> That's a different thing than page/#/bla
[08:20:16] *** Anton_ has quit IRC
[08:20:43] <lite_> This may be a bit too early in the morning for me. I've made this super simple directive - Can someone explain to me why $scope.rowValue is never changed? http://pastebin.com/gzP1RXjJ
[08:21:00] *** Joseph__Silber has joined #angularjs
[08:21:13] *** m0n4m33 has quit IRC
[08:21:14] <lite_> When i replace whatever is in the input nothing happens - No watchers are triggered and $scope.rowValue remains its original value
[08:21:36] *** SargoDarya has quit IRC
[08:22:20] *** m0n4m33 has joined #angularjs
[08:23:34] *** MattWelch has quit IRC
[08:23:54] *** m0n4m33 has quit IRC
[08:24:16] *** Joseph_Silber has quit IRC
[08:24:58] *** ron_frown has joined #angularjs
[08:25:48] *** jstroem has joined #angularjs
[08:26:47] *** Menorah has quit IRC
[08:27:06] *** D9 has joined #angularjs
[08:27:18] *** dan2k3k4 has joined #angularjs
[08:27:40] *** jaznow has joined #angularjs
[08:28:12] *** ravs has joined #angularjs
[08:28:17] <ravs> hi
[08:28:27] <ravs> i want to know how can we load the directive using require
[08:28:57] *** m0n4m33 has joined #angularjs
[08:29:55] *** mlpug has quit IRC
[08:30:35] *** m0n4m33 has quit IRC
[08:30:40] *** dan2k3k4k5 has joined #angularjs
[08:30:46] *** m0n4m33 has joined #angularjs
[08:31:03] <rtpg> keyup might not work if it;snot attached to document, maybe
[08:31:51] <rtpg> I've had issues like that with checking for key presses, had to attach to document, and then use the context thingy (so $(document).on('keyup','.target',function(...
[08:31:59] <rtpg> lite_: ^
[08:32:00] <lite_> nope
[08:32:02] <lite_> I solved it
[08:32:09] *** jaznow has quit IRC
[08:32:16] <lite_> I was an idiot and was using ng-value="rowValue"
[08:32:24] *** medearis has joined #angularjs
[08:32:30] <lite_> it shouldve obviously been ng-model="rowValue"
[08:32:37] *** ravs has quit IRC
[08:33:30] *** dan2k3k4 has quit IRC
[08:35:05] *** SargoDarya has joined #angularjs
[08:35:18] *** SargoDarya has quit IRC
[08:35:18] *** SargoDarya has joined #angularjs
[08:35:24] *** doug64k has quit IRC
[08:36:26] *** rhp has quit IRC
[08:36:29] <crawleyprint> hey guys, anyone experiences very slow requests when using resolve? Slow as in 10-20s
[08:37:42] *** herbyme has joined #angularjs
[08:37:54] *** Fishy has joined #angularjs
[08:38:17] *** doug64k has joined #angularjs
[08:38:44] *** herbyme has quit IRC
[08:39:25] *** mspier is now known as mspier|away
[08:39:49] *** IJNX has joined #angularjs
[08:40:40] *** mlpug has joined #angularjs
[08:41:34] *** nemothekid has quit IRC
[08:42:17] *** nemothekid has joined #angularjs
[08:42:34] *** Fishy has quit IRC
[08:43:42] *** nemothekid has quit IRC
[08:43:48] *** nemothek_ has joined #angularjs
[08:44:30] *** Christer has joined #angularjs
[08:44:31] *** chr1stopher has joined #angularjs
[08:44:34] *** nemothek_ has quit IRC
[08:45:40] *** leolrrj has joined #angularjs
[08:46:39] *** gr33nw00d has joined #angularjs
[08:46:40] *** sgen_ has joined #angularjs
[08:46:56] *** ximenean has joined #angularjs
[08:47:08] *** gr33nw00d has left #angularjs
[08:47:12] *** it0a has quit IRC
[08:47:20] *** larsgk has joined #angularjs
[08:48:05] *** shpoont_ has quit IRC
[08:48:09] *** NanoArro1 has joined #angularjs
[08:48:40] *** jdj_dk has joined #angularjs
[08:50:36] *** ron_frown has quit IRC
[08:52:10] *** alex_zho_ has joined #angularjs
[08:52:58] *** dc_ has quit IRC
[08:53:17] *** alex_zho_ has quit IRC
[08:53:18] *** alex_zhou has quit IRC
[08:54:10] *** alex_zhou has joined #angularjs
[08:54:20] *** goodenough has quit IRC
[08:54:25] *** tfennelly has joined #angularjs
[08:54:39] *** Reskp has joined #angularjs
[08:54:58] *** tarnus has quit IRC
[08:55:31] *** leolrrj has quit IRC
[08:55:36] *** tarnus has joined #angularjs
[08:55:53] *** mylord has quit IRC
[08:56:09] *** fouadm has quit IRC
[08:56:23] *** one0one has quit IRC
[08:56:45] *** Hestil has joined #angularjs
[08:57:01] *** ximenean has quit IRC
[08:57:10] *** Aliks has quit IRC
[08:57:49] *** evotuned has quit IRC
[08:57:59] *** larsgk has quit IRC
[08:58:57] *** tfennelly has quit IRC
[08:59:26] *** mzabriskie has quit IRC
[08:59:40] *** Reskp has quit IRC
[08:59:54] *** StoneCypher has quit IRC
[09:00:14] *** anivemin has joined #angularjs
[09:02:06] *** Aerospark has quit IRC
[09:02:29] *** blomman has joined #angularjs
[09:02:49] *** Aerospark has joined #angularjs
[09:03:02] *** medearis has quit IRC
[09:03:21] *** jstroem has quit IRC
[09:04:04] *** jstroem has joined #angularjs
[09:05:13] *** deanclkclk_ has quit IRC
[09:06:08] *** pineda has joined #angularjs
[09:06:14] *** josh-k has joined #angularjs
[09:06:16] *** Skrypter has quit IRC
[09:07:22] *** ximenean has joined #angularjs
[09:07:55] *** ximenean has joined #angularjs
[09:08:00] *** mylord has joined #angularjs
[09:08:22] *** jstroem has quit IRC
[09:08:25] *** fernandojsg has joined #angularjs
[09:08:30] *** fouadm has joined #angularjs
[09:08:33] *** caitp has joined #angularjs
[09:08:42] <fernandojsg> Hi everyone :)
[09:09:01] *** fbenoit has joined #angularjs
[09:09:13] *** Shrooms has quit IRC
[09:10:23] *** b1rkh0ff1 has quit IRC
[09:10:25] *** sixr420- has joined #angularjs
[09:10:25] *** sahbeewah has joined #angularjs
[09:10:45] *** fouadm has quit IRC
[09:10:55] *** b1rkh0ff has joined #angularjs
[09:11:02] *** Superhard has joined #angularjs
[09:11:10] *** m0n4m33 has quit IRC
[09:11:18] *** sixr420 has quit IRC
[09:11:41] *** Reskp has joined #angularjs
[09:11:45] *** Cronoh has quit IRC
[09:12:29] *** m0n4m33 has joined #angularjs
[09:12:40] *** tga0 has joined #angularjs
[09:14:17] *** mkusher has joined #angularjs
[09:15:17] *** caitp has quit IRC
[09:15:17] *** Superhard has quit IRC
[09:16:08] *** Shai-Tan has joined #angularjs
[09:16:22] *** frankblizzar has joined #angularjs
[09:16:28] *** Raging_Hog has joined #angularjs
[09:16:39] *** Grokling_ has joined #angularjs
[09:17:16] *** larsgk has joined #angularjs
[09:17:39] *** omsmith has joined #angularjs
[09:17:40] *** Reskp has quit IRC
[09:17:53] *** Sky[x] has joined #angularjs
[09:18:11] *** zarglex has joined #angularjs
[09:18:18] *** josh-k has quit IRC
[09:18:57] *** Shrooms has joined #angularjs
[09:18:57] *** Shrooms has joined #angularjs
[09:19:23] *** night-owl is now known as zz_night-owl
[09:19:53] *** pineda has quit IRC
[09:20:15] *** bngnha has joined #angularjs
[09:20:19] *** akar has left #angularjs
[09:21:40] *** StryKaizer has joined #angularjs
[09:22:03] *** shpoont_ has joined #angularjs
[09:22:16] *** bngnha has left #angularjs
[09:22:51] *** cthrax has quit IRC
[09:23:02] *** tga0 has quit IRC
[09:23:55] *** stillbourne has joined #angularjs
[09:24:03] *** renlo has quit IRC
[09:24:04] *** stillbourne_ has quit IRC
[09:24:22] *** foofoobar has joined #angularjs
[09:24:24] *** tangorri has joined #angularjs
[09:24:25] *** Alina-malina has quit IRC
[09:25:48] *** tga0 has joined #angularjs
[09:26:19] *** recurrence has quit IRC
[09:26:26] *** o-ja has quit IRC
[09:26:32] *** jonasliljestrand has joined #angularjs
[09:26:51] *** ko3t has left #angularjs
[09:27:29] *** Alina-malina has joined #angularjs
[09:27:44] *** ahtik has joined #angularjs
[09:27:51] *** shaisnir has joined #angularjs
[09:28:14] *** Reskp has joined #angularjs
[09:28:37] *** elxa has quit IRC
[09:29:21] *** doginal has joined #angularjs
[09:29:41] *** Oxynum has joined #angularjs
[09:30:16] *** jharbaugh has quit IRC
[09:30:57] *** lolmaus has joined #angularjs
[09:31:04] *** iravan has quit IRC
[09:31:05] *** o-ja has joined #angularjs
[09:31:15] *** Reskp_ has joined #angularjs
[09:31:56] *** yelvert has joined #angularjs
[09:32:17] *** bkuberek has joined #angularjs
[09:32:24] *** ahtik has quit IRC
[09:32:26] *** phzon has joined #angularjs
[09:32:36] *** Reskp has quit IRC
[09:33:07] *** tga0 has quit IRC
[09:33:12] *** shaisnir has quit IRC
[09:33:34] *** phoenixw has quit IRC
[09:34:00] *** yelvert has quit IRC
[09:34:15] *** yelvert has joined #angularjs
[09:35:33] *** cotko has joined #angularjs
[09:35:48] *** shaisnir has joined #angularjs
[09:35:52] <rtpg> is there seriously no way to completely disable $location shenanigans?
[09:35:57] *** Reskp_ has quit IRC
[09:36:10] *** zarglex has quit IRC
[09:36:22] *** o-jaa has joined #angularjs
[09:36:24] *** bkuberek_ has quit IRC
[09:36:35] *** tga0 has joined #angularjs
[09:36:36] *** nocturne777 has quit IRC
[09:37:15] *** IsraelOrtuno has joined #angularjs
[09:37:18] *** zarglex has joined #angularjs
[09:37:25] *** jaydubya has joined #angularjs
[09:37:40] *** jaznow has joined #angularjs
[09:37:51] *** shaisnir_ has joined #angularjs
[09:37:54] *** SahanH has joined #angularjs
[09:38:14] *** jstroem has joined #angularjs
[09:38:42] *** Fishy has joined #angularjs
[09:39:11] *** swirlycheetah has joined #angularjs
[09:39:17] *** ximenean has quit IRC
[09:39:45] *** kuzz0 has joined #angularjs
[09:40:19] *** recurrence has joined #angularjs
[09:40:59] *** shaisnir has quit IRC
[09:41:16] *** Caroga_afk is now known as Caroga
[09:41:26] *** shaisnir_ has quit IRC
[09:42:25] *** shaisnir has joined #angularjs
[09:42:41] *** plekplek has joined #angularjs
[09:43:01] *** jaydubya has quit IRC
[09:43:53] *** DrMabuse has joined #angularjs
[09:44:00] *** Fishy has quit IRC
[09:44:17] *** spaceonline has joined #angularjs
[09:44:20] *** sk87 has joined #angularjs
[09:45:03] *** foofoobar has quit IRC
[09:45:35] *** bullicon has joined #angularjs
[09:46:24] *** foofoobar has joined #angularjs
[09:46:36] *** fbenoit has quit IRC
[09:46:58] *** jaredwilli has joined #angularjs
[09:47:10] *** Grokling_ has quit IRC
[09:47:40] *** shaisnir has quit IRC
[09:48:11] *** fbenoit has joined #angularjs
[09:48:42] *** alex_zhou has quit IRC
[09:49:06] *** spaceonline has quit IRC
[09:49:32] *** Sontakey has joined #angularjs
[09:49:53] *** alpha080 has joined #angularjs
[09:50:23] *** jlebrech has joined #angularjs
[09:50:47] *** shaisnir has joined #angularjs
[09:51:17] *** VeeWee has joined #angularjs
[09:51:26] *** jaredwilli has quit IRC
[09:52:17] *** mchammer has joined #angularjs
[09:53:05] *** DarrenCraig has joined #angularjs
[09:53:14] *** ogdabou has joined #angularjs
[09:53:22] *** tga0 has quit IRC
[09:54:21] *** bengillies has joined #angularjs
[09:54:48] *** recidive has joined #angularjs
[09:55:11] *** tschundeee has joined #angularjs
[09:56:04] *** illume has joined #angularjs
[09:56:43] *** laurensclaessen has joined #angularjs
[09:57:00] *** JaKXz has joined #angularjs
[09:57:40] *** bengillies has quit IRC
[09:59:15] *** cotko has quit IRC
[09:59:33] *** cotko has joined #angularjs
[09:59:42] *** herbyme has joined #angularjs
[09:59:58] *** Superhard has joined #angularjs
[10:00:03] *** bengillies has joined #angularjs
[10:01:03] *** DrMabuse_ has joined #angularjs
[10:01:10] *** Rebirth has quit IRC
[10:01:35] *** Rebirth has joined #angularjs
[10:01:36] *** dannyc has joined #angularjs
[10:01:37] *** shaisnir has quit IRC
[10:02:08] *** soee_ is now known as soee
[10:03:04] *** asher^ has quit IRC
[10:03:11] *** fotoflo has quit IRC
[10:03:27] *** Sontakey has quit IRC
[10:03:49] *** lemur has quit IRC
[10:04:08] *** TheAceOfHearts has quit IRC
[10:04:21] *** DrMabuse has quit IRC
[10:04:22] *** lemur has joined #angularjs
[10:04:27] *** dman777 has quit IRC
[10:04:52] *** narutimateum2 has quit IRC
[10:05:04] *** jMyles has quit IRC
[10:05:10] *** ximenean has joined #angularjs
[10:05:33] *** ximenean has quit IRC
[10:05:44] *** ximenean has joined #angularjs
[10:06:02] *** F1LT3R has joined #angularjs
[10:06:14] *** dman777 has joined #angularjs
[10:06:53] *** frkout_ has quit IRC
[10:07:09] *** yelvert has quit IRC
[10:07:35] *** MattWelch has joined #angularjs
[10:08:00] <lite_> http://pastebin.com/fg175e84 why is rowValue not changing when i select something else in the dropdown ?
[10:08:48] *** alex_zhou has joined #angularjs
[10:08:57] *** lemur has quit IRC
[10:09:03] *** swirlycheetah has quit IRC
[10:09:11] *** SargoDarya has quit IRC
[10:09:25] *** SomeKittens has quit IRC
[10:09:48] *** ingsoc has joined #angularjs
[10:09:48] *** morenoh149 has quit IRC
[10:10:19] *** josh-k has joined #angularjs
[10:10:30] *** frkout has joined #angularjs
[10:10:52] *** F1LT3R has quit IRC
[10:10:52] *** DrMabuse_ has quit IRC
[10:11:20] *** mchapman has quit IRC
[10:11:52] *** hawa has quit IRC
[10:12:13] *** SargoDarya has joined #angularjs
[10:12:14] *** evilaliv3 has joined #angularjs
[10:12:43] *** MattWelch has quit IRC
[10:12:43] *** phzon has quit IRC
[10:12:55] *** phzon has joined #angularjs
[10:13:19] *** guilbep has joined #angularjs
[10:13:31] *** falk_netstyler has joined #angularjs
[10:13:54] *** KushS has joined #angularjs
[10:13:57] *** phzon_ has joined #angularjs
[10:14:00] <Caroga> Anyone knows if there is any predispatch event in ui-router ?
[10:14:02] *** bullicon has quit IRC
[10:14:05] *** Menorah has joined #angularjs
[10:14:06] <Caroga> or post dispatch
[10:14:45] *** bullicon has joined #angularjs
[10:14:51] *** DrMabuse has joined #angularjs
[10:17:07] *** shaisnir has joined #angularjs
[10:17:13] *** MaxV has joined #angularjs
[10:17:19] *** phzon has quit IRC
[10:17:49] *** sk87 has quit IRC
[10:19:06] *** marr has joined #angularjs
[10:19:25] *** motionman has quit IRC
[10:19:41] *** ericbutters has joined #angularjs
[10:20:30] <ericbutters> is it possible to use something like md-theme="myfunc()" to return theme?
[10:21:16] *** Superhard has quit IRC
[10:22:04] <ericbutters> i do a ng-repeat and for each element i need to bitcompare a value and set md-theme
[10:22:16] *** karan has joined #angularjs
[10:23:39] *** DarrenCraig has quit IRC
[10:24:08] *** josh-k has quit IRC
[10:24:10] <karan> to use Material UI which files we should have to implement ..plz some one told me
[10:24:35] *** cotko has quit IRC
[10:24:37] *** Valion__ has joined #angularjs
[10:24:44] *** josh-k has joined #angularjs
[10:25:23] *** cotko has joined #angularjs
[10:26:40] *** leolrrj has joined #angularjs
[10:27:18] <karan> to use Material UI which files we should have to implement ..plz some one told me
[10:27:22] <karan> plz helpmeeeeeeeeee
[10:27:40] *** cacts has quit IRC
[10:27:53] *** mkusher has quit IRC
[10:27:57] *** herbyme has quit IRC
[10:28:01] *** Valion_ has quit IRC
[10:28:53] <ericbutters> karan: read here: https://github.com/angular/material
[10:28:54] *** Skrypter has joined #angularjs
[10:29:27] *** rkjdid has joined #angularjs
[10:30:10] *** frkout has quit IRC
[10:30:37] *** frkout has joined #angularjs
[10:30:38] <karan> <ericbutters> its material design i said Material UI http://material-ui.com/#/components/toolbars there they doesn't give any kind of documentation my mean is whcih we should have to import
[10:30:44] *** cannap has joined #angularjs
[10:30:56] *** rikko has quit IRC
[10:30:59] *** m8 has joined #angularjs
[10:32:17] *** sk87 has joined #angularjs
[10:32:18] *** larsgk has quit IRC
[10:32:51] *** AciD`` has joined #angularjs
[10:32:56] *** DarrenCraig has joined #angularjs
[10:33:14] *** kagitingan has quit IRC
[10:33:36] <ericbutters> karan: is it possible to use something like md-theme="myfunc()" to return theme?
[10:33:56] *** mak`` has joined #angularjs
[10:34:07] *** satish has joined #angularjs
[10:34:22] *** satish has left #angularjs
[10:34:39] *** sk87 has quit IRC
[10:34:47] *** cliluw has quit IRC
[10:35:01] *** Sky[x] has quit IRC
[10:35:12] *** leolrrj has quit IRC
[10:35:26] *** cliluw has joined #angularjs
[10:35:26] <karan> i think no bcoz md-theme="======here u can set only themes which they provides "
[10:35:45] *** leolrrj has joined #angularjs
[10:36:21] *** sk87 has joined #angularjs
[10:36:36] <ericbutters> karan: it works with md-theme="{{myFunc()}}"
[10:37:06] *** Ch4rAss has joined #angularjs
[10:37:34] <karan> ohh thats great thnx ..
[10:37:47] <karan> so do u know something about material UI
[10:37:49] <karan> ...???
[10:37:50] *** qdk has quit IRC
[10:38:11] <ericbutters> no.. but it look great
[10:38:50] *** mlpug has quit IRC
[10:39:28] *** alex_zhou has quit IRC
[10:39:28] *** Fishy has joined #angularjs
[10:40:00] *** JaKXz has quit IRC
[10:40:02] *** alex_zhou has joined #angularjs
[10:40:23] *** leolrrj has quit IRC
[10:40:56] *** mokush has joined #angularjs
[10:42:33] *** imjoshholloway has joined #angularjs
[10:42:44] *** denysonique has quit IRC
[10:42:46] *** alex_zho_ has joined #angularjs
[10:43:13] *** \du has joined #angularjs
[10:43:28] *** juanluisrp has joined #angularjs
[10:43:43] *** Sontakey has joined #angularjs
[10:43:48] *** karan has quit IRC
[10:43:50] *** Sebastien-L has joined #angularjs
[10:43:50] *** Fishy has quit IRC
[10:43:53] *** fotoflo has joined #angularjs
[10:43:56] *** alex_zho_ has quit IRC
[10:44:24] *** alex_zho_ has joined #angularjs
[10:44:24] *** Mosselman has quit IRC
[10:44:49] *** SahanH has quit IRC
[10:44:50] *** alex_zhou has quit IRC
[10:45:55] *** juampy has joined #angularjs
[10:46:09] *** Christer has quit IRC
[10:46:17] *** D9 has quit IRC
[10:46:54] *** Nivag_ has quit IRC
[10:47:14] *** jMyles has joined #angularjs
[10:47:16] *** hell_razer has joined #angularjs
[10:48:03] *** nfroidure has joined #angularjs
[10:48:27] *** alex_zhou has joined #angularjs
[10:48:47] *** Christer has joined #angularjs
[10:49:27] *** skynet has joined #angularjs
[10:49:38] <skynet> test
[10:50:14] *** skynet is now known as Guest56747
[10:50:27] *** denysonique has joined #angularjs
[10:50:27] *** denysonique has joined #angularjs
[10:50:30] <Caroga> it's skynet!
[10:50:31] *** Sebastien-L has quit IRC
[10:50:39] *** yoonchee has joined #angularjs
[10:50:59] *** D9 has joined #angularjs
[10:51:21] *** tripu has quit IRC
[10:51:31] *** Aerospark has quit IRC
[10:52:06] *** alex_zho_ has quit IRC
[10:53:14] *** Christer has quit IRC
[10:54:01] *** Guest56747 has quit IRC
[10:54:02] *** Skrypter has quit IRC
[10:54:20] *** tfennelly has joined #angularjs
[10:54:29] *** canthugeverycat has joined #angularjs
[10:54:40] <canthugeverycat> Hey guys, does anyone use angular-file-upload here ?
[10:55:57] *** Christer has joined #angularjs
[10:56:04] *** yoonchee has quit IRC
[10:57:11] *** jonasliljestrand has quit IRC
[10:58:13] *** tschundeee has quit IRC
[10:58:49] *** tschundeee has joined #angularjs
[10:58:53] *** jMyles has quit IRC
[10:59:05] *** tfennelly has quit IRC
[10:59:45] *** sk87 has quit IRC
[11:00:12] *** ximenean has quit IRC
[11:00:14] *** fbenoit has quit IRC
[11:01:09] *** jonasliljestrand has joined #angularjs
[11:01:20] *** Nivag has quit IRC
[11:01:27] *** daGrevis has left #angularjs
[11:01:28] *** Guest40696 has quit IRC
[11:02:19] *** Nivag has joined #angularjs
[11:02:26] *** asheshambasta has joined #angularjs
[11:02:54] *** m0n4m33 has quit IRC
[11:04:08] *** Txandy has joined #angularjs
[11:04:49] *** andrew9183 has quit IRC
[11:04:56] *** Sebastien-L has joined #angularjs
[11:05:05] *** vectra has quit IRC
[11:05:44] *** m0n4m33 has joined #angularjs
[11:06:22] *** tomphp has joined #angularjs
[11:06:41] *** Sky[x] has joined #angularjs
[11:06:52] *** woah has quit IRC
[11:07:23] *** jstroem has quit IRC
[11:07:49] *** adben has joined #angularjs
[11:07:51] *** jstroem has joined #angularjs
[11:08:08] *** ximenean has joined #angularjs
[11:08:28] *** m0n4m33_ has joined #angularjs
[11:08:53] *** foofoobar has quit IRC
[11:10:13] *** Mosselman has joined #angularjs
[11:10:15] *** m0n4m33 has quit IRC
[11:10:26] *** m0n4m33_ has quit IRC
[11:10:34] *** tschundeee has quit IRC
[11:10:42] *** Mosselman is now known as Guest52022
[11:10:48] *** foofoobar has joined #angularjs
[11:11:09] *** tschundeee has joined #angularjs
[11:11:10] *** davidreis has joined #angularjs
[11:11:56] *** asheshambasta has quit IRC
[11:12:30] *** bengillies has quit IRC
[11:13:04] *** Wizek has joined #angularjs
[11:13:37] *** Sebastien-L has quit IRC
[11:14:11] *** ximenean has quit IRC
[11:15:03] *** shaisnir_ has joined #angularjs
[11:15:12] *** m0n4m33 has joined #angularjs
[11:15:41] *** fotoflo has quit IRC
[11:15:57] *** tga0 has joined #angularjs
[11:16:06] *** tschundeee has quit IRC
[11:16:11] *** Sky[x] has quit IRC
[11:16:15] *** paintee has joined #angularjs
[11:16:31] *** Sky[x] has joined #angularjs
[11:16:36] <paintee> hi :( i need help :(
[11:16:39] *** Sky[x] has quit IRC
[11:17:05] <paintee> can i use multi url in state ui-router
[11:17:07] *** Sky[x] has joined #angularjs
[11:17:26] <canthugeverycat> Guys, I have an issue with angular-file-upload directive. When I use it to upload an image on ios or a pc, it works fine, but when I use it to upload and image from android gallery, it does nothing. Please help me out
[11:17:38] *** Left_Turn has joined #angularjs
[11:17:42] *** spaceonline has joined #angularjs
[11:17:53] *** D9 has quit IRC
[11:18:26] *** shaisnir has quit IRC
[11:18:29] <paintee> somebody help me :(
[11:18:54] *** Cronoh has joined #angularjs
[11:19:08] *** bengillies has joined #angularjs
[11:19:48] *** ximenean has joined #angularjs
[11:20:25] *** bengillies has quit IRC
[11:20:35] *** bengillies has joined #angularjs
[11:20:45] <SargoDarya> paintee I don't even understand want you want to do
[11:21:14] *** tga0 has quit IRC
[11:21:47] *** Superhard has joined #angularjs
[11:22:32] *** caitp has joined #angularjs
[11:22:50] *** Sontakey has quit IRC
[11:23:01] *** asheshambasta has joined #angularjs
[11:23:08] <Caroga> SargoDarya, do you know by any chance if angular or ui-router has a post dispatch event or something like that ?
[11:23:23] <Caroga> I need to update something once the template is resolved.
[11:23:28] *** juampy_ has joined #angularjs
[11:23:48] *** chr1stopher has left #angularjs
[11:24:12] <SargoDarya> Good question, would have to take a look at it myself.
[11:24:49] *** paintee has quit IRC
[11:24:53] *** ximenean has quit IRC
[11:24:57] <scav> where would be a smart place to define my api url in an angular app?
[11:25:10] <scav> i recon the rootscope is fine?
[11:25:11] *** m0n4m33 has quit IRC
[11:25:20] *** ximenean has joined #angularjs
[11:25:38] *** ximenean has quit IRC
[11:25:50] <imjoshholloway> scav: Put it as a constant
[11:26:08] *** tty has joined #angularjs
[11:26:15] *** jaydubya has joined #angularjs
[11:26:31] *** jtimon has joined #angularjs
[11:26:38] *** juampy has quit IRC
[11:26:38] <SargoDarya> constant is the right way as imjoshholloway said.
[11:26:40] <imjoshholloway> e.g: angular.module('yourModule', []).constant('apiUrl', 'https://yourdomain.com')
[11:26:54] *** Superhard has quit IRC
[11:26:58] *** jlambert_ has joined #angularjs
[11:27:14] <scav> so, how do i get that value from inside say a factory or service?
[11:27:29] *** juampy_ is now known as juampy
[11:28:00] *** Ajans has joined #angularjs
[11:28:09] *** ahtik has joined #angularjs
[11:28:19] *** jlambert121 has quit IRC
[11:28:25] *** ximenean has joined #angularjs
[11:28:31] *** Foxandxss has joined #angularjs
[11:28:35] *** b1rkh0ff1 has joined #angularjs
[11:28:40] <imjoshholloway> scav: Inject it using DI... angular.module('yourModule').factory('YourFactory', function YourFactory(apiUrl, /* other injectables */) { ... })
[11:28:42] <SargoDarya> Require it as everything else
[11:28:51] <SargoDarya> DI all the way
[11:29:25] *** edy has joined #angularjs
[11:29:26] <scav> right, that feels much better than using scope all over the place, cheers :)
[11:30:37] *** b1rkh0ff has quit IRC
[11:30:56] *** vectra has joined #angularjs
[11:31:21] *** bengilli_ has joined #angularjs
[11:31:43] *** freelyfred has quit IRC
[11:31:45] *** jaydubya has quit IRC
[11:31:53] <fernandojsg> one question, if I have a directive that has to iterate across some items and filter them "ng-repeat = .... | filter: filterFn"
[11:32:08] <fernandojsg> which is the best way to pass the filterFn from the parent view ?
[11:32:32] *** sk87 has joined #angularjs
[11:32:35] <fernandojsg> in the scope: { filterFn: "=" } ? and use it as an attribute like <mydirective filter-fn="myfunction"> ?
[11:32:57] *** azizur has joined #angularjs
[11:33:41] *** okdamn has joined #angularjs
[11:33:44] <imjoshholloway> scav: a simple example is: http://plnkr.co/edit/v7J5WznnNjaYxqpMH9ar?p=preview
[11:34:01] *** bengillies has quit IRC
[11:34:06] <okdamn> hi, anybody who already used pocketsphinx.js ?
[11:34:10] *** ahtik has quit IRC
[11:34:51] *** ramchand has joined #angularjs
[11:35:06] *** ximenean has quit IRC
[11:35:18] *** tangorri has quit IRC
[11:35:23] *** ramchand has quit IRC
[11:35:47] *** caitp has quit IRC
[11:35:49] <fernandojsg> I mean i don't really undersatnd the difference between using scope: { fn: "="} and scope: {"fn": "&"}
[11:36:18] <Foxandxss> one is for two way databinding (=) and the other for callback functions (&)
[11:36:24] <thomas> /114
[11:37:08] *** cheef has joined #angularjs
[11:38:01] *** soee has quit IRC
[11:38:25] *** ximenean has joined #angularjs
[11:38:34] <fernandojsg> Foxandxss: ok. What I'm trying to use this attribute as a filter for a ng-repeat = ... | filter: HERE
[11:38:47] *** Sebastien-L has joined #angularjs
[11:38:51] *** soee has joined #angularjs
[11:38:59] <fernandojsg> Foxandxss: is it possible to pass an expression like { item.status == 2 } ? or what is the best way to do that? :
[11:38:59] *** JaKXz has joined #angularjs
[11:39:00] <cheef> morning guys
[11:39:42] <Foxandxss> never did that, but you can pass an object yes
[11:39:49] <Foxandxss> then you will have to recompile the element
[11:39:50] *** sk87 has quit IRC
[11:39:59] <tty> how can i change the marker icon (or color) on leafletjs when i click/select a marker? (using angular-leaflet-directive)
[11:40:07] *** juampy_ has joined #angularjs
[11:40:20] *** Fishy has joined #angularjs
[11:40:28] *** tschundeee has joined #angularjs
[11:41:43] *** Grokling_ has joined #angularjs
[11:42:19] *** adben has quit IRC
[11:42:50] *** juampy has quit IRC
[11:43:25] *** canthugeverycat has quit IRC
[11:43:35] *** juampy_ is now known as juampy
[11:44:16] *** qdk has joined #angularjs
[11:44:58] *** Fishy has quit IRC
[11:45:28] *** Caroga is now known as Caroga_afk
[11:46:16] *** ximenean has quit IRC
[11:46:43] *** ximenean has joined #angularjs
[11:48:52] *** tfennelly has joined #angularjs
[11:48:55] *** ximenean has joined #angularjs
[11:50:06] *** davidreis has quit IRC
[11:50:08] *** greengriminal has quit IRC
[11:50:09] *** tangorri has joined #angularjs
[11:51:08] *** alex_zhou has quit IRC
[11:51:51] *** sk87 has joined #angularjs
[11:53:13] *** blomman has quit IRC
[11:53:19] *** davidreis has joined #angularjs
[11:54:00] *** elxa has joined #angularjs
[11:57:34] *** Ch4rAss has quit IRC
[11:57:47] *** cakirke has joined #angularjs
[11:57:57] <imjoshholloway> guys... is there a way for me to be able to reset a form within a directive from a parent controller?
[11:58:07] <imjoshholloway> example plunkr: http://plnkr.co/edit/8i0ODGtHYKbf1AgXtZCI?p=preview
[11:58:09] <EdwardIII> hrm, if i want to operate on data coming back from a resource, suddenly everything is toilet heh
[11:58:17] <EdwardIII> i can no longer use futures and i have to use promises for everything instead right?
[11:58:17] *** blomman has joined #angularjs
[12:00:14] *** ahtik has joined #angularjs
[12:00:29] *** jonasliljestrand has quit IRC
[12:01:18] *** tschundeee has quit IRC
[12:01:39] <EdwardIII> https://gist.github.com/EdwardIII/debd0f58755c9d736fdf
[12:01:39] <fernandojsg> Could someone please take a look a this http://plnkr.co/edit/iAxiLv3A9YXg8u0REZ5U?p=preview ? I've defined a filter app.js (line 9) that I want to use in imagegallery.html directive to filter the images with status==0. Any idea what i'm doing wrong?
[12:01:50] *** tschundeee has joined #angularjs
[12:02:15] <EdwardIII> do i need to create my own promise and return that instead?
[12:02:15] <fernandojsg> ops my fault, I got it X)
[12:02:20] *** ximenean has quit IRC
[12:02:26] *** ximenean_ has joined #angularjs
[12:02:40] *** Cronoh has quit IRC
[12:03:22] *** ogdabou has quit IRC
[12:03:53] *** pilva has joined #angularjs
[12:04:20] *** KushS has quit IRC
[12:04:39] *** s00pcan has joined #angularjs
[12:05:50] *** aslate has quit IRC
[12:05:54] *** pknordic_ has quit IRC
[12:06:28] *** pknordic_ has joined #angularjs
[12:06:29] *** caitp has joined #angularjs
[12:06:30] *** tschundeee has quit IRC
[12:08:17] *** aslate has joined #angularjs
[12:10:11] *** Superhard has joined #angularjs
[12:10:37] *** s00pcan has quit IRC
[12:11:32] *** Sebastien-L has quit IRC
[12:11:41] *** SexualRickshaw has quit IRC
[12:13:09] *** Sebastien-L has joined #angularjs
[12:13:30] *** caitp has quit IRC
[12:14:20] *** rtpg has quit IRC
[12:14:44] *** Grokling_ has quit IRC
[12:16:01] *** Krishna_ has joined #angularjs
[12:16:12] *** ahtik has quit IRC
[12:18:52] *** kirfu1 has joined #angularjs
[12:19:16] *** Krishna_ has left #angularjs
[12:19:48] *** Sebastien-L has quit IRC
[12:20:30] *** gulli has joined #angularjs
[12:20:37] <gulli> Hey!
[12:20:52] <gulli> Anyone here use Play framework with their angular?
[12:21:11] <gulli> or any other databinding framework
[12:21:37] *** Sebastien-L has joined #angularjs
[12:22:01] *** ogdabou has joined #angularjs
[12:22:27] *** s00pcan has joined #angularjs
[12:22:51] *** b1rkh0ff has joined #angularjs
[12:22:54] *** abbas_ has joined #angularjs
[12:23:06] <EdwardIII> ok got it working using promises
[12:23:13] *** abbas_ has quit IRC
[12:23:13] *** aortmann has quit IRC
[12:23:27] *** aortmann has joined #angularjs
[12:24:04] <EdwardIII> hrm if i want functional stuff like _.some(arr, function(){}) what's the sanest way to do that? should i just import underscore as that's what i'm used to?
[12:24:52] *** b1rkh0ff1 has quit IRC
[12:25:20] *** s00pcan has quit IRC
[12:25:34] *** s00pcan has joined #angularjs
[12:25:53] *** m0n4m33 has joined #angularjs
[12:26:14] *** Cronoh has joined #angularjs
[12:26:24] *** reena_ has joined #angularjs
[12:26:24] *** jordandotdev has quit IRC
[12:26:46] *** Guest52022 has quit IRC
[12:26:59] <reena_> Hi.
[12:27:43] *** s00pcan has quit IRC
[12:27:44] *** fbenoit has joined #angularjs
[12:27:56] *** s00pcan has joined #angularjs
[12:28:15] <asheshambasta> gulli: yep!
[12:28:31] *** rikkipitt has joined #angularjs
[12:28:38] <gulli> great! Someone to get some insight from :)
[12:28:47] <reena_> I have a get request which accepts id as a parameter and retrieve a data record. I wanted to know how to do test for the GET request.
[12:29:18] *** azizur has quit IRC
[12:29:32] <gulli> I've been using Play frameowkr for a few projects. Now starting to look into angular. But one thing I've been thinking about. You arent really using the fullblown MVC that play offers you if you use angular for all databindings
[12:29:48] <gulli> you dont really have to pass data through scala any more
[12:29:54] <reena_> Could anyone help me to sort out my problem. please
[12:29:57] *** m0n4m33 has quit IRC
[12:30:59] <asheshambasta> gulli: well, the approach I've taken so far is to decouple the front and backend. I use angular as a standalone web client, and Play as the API that handles data.
[12:31:13] <asheshambasta> And to me, that design pattern has really solved many problems
[12:31:20] *** CanyonMan has quit IRC
[12:31:23] <gulli> oh really? What? :)
[12:31:23] *** b1rkh0ff1 has joined #angularjs
[12:31:33] <asheshambasta> deployments, for example.
[12:31:48] <asheshambasta> and then it separates concerns for me
[12:31:57] *** apertoire has quit IRC
[12:31:57] <asheshambasta> data handling and all the clever stuff happens in the backend
[12:32:15] <asheshambasta> and I design one REST api for as many clients as possible
[12:32:24] <asheshambasta> for now, my web front end is just a client
[12:32:25] *** tschundeee has joined #angularjs
[12:32:28] *** b1rkh0ff has quit IRC
[12:32:30] *** Mosselman has joined #angularjs
[12:32:30] *** yelvert has joined #angularjs
[12:32:42] <asheshambasta> tomorrow I may decide to use the same API for a mobile app
[12:32:43] <asheshambasta> etc.
[12:32:53] *** Mosselman is now known as Guest76338
[12:33:12] <asheshambasta> my configuration is currently a bit like this
[12:33:25] <asheshambasta> nginx web/ -> angular app
[12:33:40] <asheshambasta> nginx api/ -> proxy_pass to Play Framework
[12:33:45] *** ximenean_ has quit IRC
[12:33:47] *** swist has joined #angularjs
[12:34:07] *** reena_ has quit IRC
[12:34:12] *** mylord_ has joined #angularjs
[12:34:19] <asheshambasta> also useful if you're looking to build a single page web app
[12:34:20] *** mylord has quit IRC
[12:34:20] *** mylord_ is now known as mylord
[12:34:24] <asheshambasta> (like in my case)
[12:34:27] <gulli> ahhh
[12:34:56] <gulli> [11:34] <asheshambasta> nginx web/ -> angular app [11:34] <asheshambasta> nginx api/ -> proxy_pass to Play Framework
[12:35:07] <gulli> Do yuo develope it in the same project though?
[12:35:19] <gulli> inside one play project?
[12:35:27] *** b1rkh0ff has joined #angularjs
[12:36:14] *** swist has quit IRC
[12:36:15] <asheshambasta> not at all
[12:36:15] *** b1rkh0ff1 has quit IRC
[12:36:30] <asheshambasta> my datasource is my API
[12:37:10] *** yelvert has quit IRC
[12:37:20] <asheshambasta> for the front end, I use Yeoman, Bower, Grunt
[12:37:31] <asheshambasta> and keep is completely decoupled
[12:37:35] <gulli> ahh ok, I'll look into that
[12:37:50] <gulli> are those frameworks also?
[12:38:03] <asheshambasta> No, development/scaffolding tools
[12:38:25] <gulli> kk
[12:38:28] *** threesixes has quit IRC
[12:38:50] *** Superhard has quit IRC
[12:38:55] *** elyssonmr has joined #angularjs
[12:40:12] <gulli> But is using play just to make a rest service in the backend not overblowing it or?
[12:40:22] <gulli> Since play is a MVC
[12:40:44] *** b1rkh0ff1 has joined #angularjs
[12:40:57] *** Fishy has joined #angularjs
[12:42:19] <asheshambasta> I don't think its overblowing anything, no, its just choosing to use the framework partially.
[12:42:30] *** b1rkh0ff has quit IRC
[12:42:37] <asheshambasta> Play Framework as just a REST API is equally powerful
[12:43:19] *** b1rkh0ff has joined #angularjs
[12:43:26] <gulli> Thanks, you have given me a lot to thank about :)
[12:43:37] <gulli> and look into
[12:44:43] *** RangerRick has quit IRC
[12:45:20] *** RangerRick has joined #angularjs
[12:45:25] *** b1rkh0ff1 has quit IRC
[12:45:40] *** Fishy has quit IRC
[12:45:53] *** wa5ted has quit IRC
[12:46:04] *** mokush has quit IRC
[12:46:08] *** b1rkh0ff1 has joined #angularjs
[12:46:25] *** tripu has joined #angularjs
[12:47:20] *** Oxynum has quit IRC
[12:47:26] *** recurrence has quit IRC
[12:47:38] *** Ch4rAss has joined #angularjs
[12:47:50] *** b1rkh0ff has quit IRC
[12:47:53] *** spatialbrew has joined #angularjs
[12:48:09] *** Guest76338 has quit IRC
[12:48:25] *** tschundeee has quit IRC
[12:48:45] *** cavallari has joined #angularjs
[12:49:30] *** b1rkh0ff has joined #angularjs
[12:50:15] <EdwardIII> play framework looks cute
[12:50:18] <EdwardIII> scala looks cute too
[12:50:21] *** aven1 has joined #angularjs
[12:50:31] *** PrinceAMD has joined #angularjs
[12:50:50] *** b1rkh0ff1 has quit IRC
[12:50:50] *** aven1 has quit IRC
[12:51:12] *** azizur has joined #angularjs
[12:51:13] *** okdamn has quit IRC
[12:51:24] <EdwardIII> i've always thought scala looks like a nice get-out clause for those that are forced to develop on an 'enterprise stack'
[12:51:39] *** jonatas_oliveira has joined #angularjs
[12:51:48] *** aven1 has joined #angularjs
[12:51:51] <aven1> hey, does anyone why chrome will not save my login details?
[12:52:34] <gulli> This Yeoman looks cool
[12:52:40] *** ahtik has joined #angularjs
[12:52:46] *** Sadin has joined #angularjs
[12:53:16] *** azizur8 has joined #angularjs
[12:53:22] *** pknordic_ has quit IRC
[12:54:10] *** Siyfion has joined #angularjs
[12:55:15] *** pknordic_ has joined #angularjs
[12:55:42] *** azizur has quit IRC
[12:56:13] *** Sadin has quit IRC
[12:56:14] *** Superhard has joined #angularjs
[12:56:47] <sinclair> EdwardIII: there is no get out clause for enterprise stacks
[12:57:12] <sinclair> EdwardIII: there is only chaos, unskilled programmers and configuration overload
[12:57:21] *** tangorri has quit IRC
[12:57:53] *** joroc has joined #angularjs
[12:58:10] *** Oxynum has joined #angularjs
[12:58:51] *** dobladez has joined #angularjs
[12:59:56] *** tschundeee has joined #angularjs
[13:00:29] <EdwardIII> sinclair: heh configuration overload
[13:00:37] *** aven1 has quit IRC
[13:00:42] *** josh-k has quit IRC
[13:00:48] <EdwardIII> sinclair: i recently worked with a very large company. 'twas hateful
[13:00:59] *** josh-k has joined #angularjs
[13:01:10] *** Solid1_afk is now known as Solid1
[13:02:18] <sinclair> EdwardIII: yeah, i have had my fair share of that scene. It gets worse with vertical software stacks. Most my experience has been delving the horrid depths of Microsofts WCF, MSMQ, and WAS.... everyday was.....painful
[13:02:30] <sinclair> WAS - Windows Activation Service
[13:02:34] <EdwardIII> i used to work at a small house doing C#.NET, quite liked C#
[13:02:38] <EdwardIII> but it was in no way 'enterprise'
[13:02:48] <EdwardIII> also hated working on and being responsible for windows boxes
[13:03:06] <sinclair> EdwardIII: oh, C# is awesome, but im not keen on all of the BCL, i never really like WCF all that much
[13:03:19] *** davidreis has quit IRC
[13:03:26] *** ahtik has quit IRC
[13:03:27] <asheshambasta> I've had the privilege of working for startups back in India and now in Western Europe
[13:03:32] <fernandojsg> just for curiosity
[13:03:32] <fernandojsg> btw
[13:03:41] <asheshambasta> and because of that I've had the chance to finally dive into Scala
[13:03:52] <fernandojsg> how do you use to define your RESTful APIs when you need to lead with master-detail records?
[13:04:05] <asheshambasta> since startups all around the world have one thing in common – adventure.
[13:04:31] *** tschundeee has quit IRC
[13:05:35] *** davidreis has joined #angularjs
[13:06:12] *** rafagomes has joined #angularjs
[13:06:14] *** SargoDarya has quit IRC
[13:08:09] *** shaisnir_ has quit IRC
[13:08:46] *** ximenean_ has joined #angularjs
[13:09:05] *** larsgk has joined #angularjs
[13:11:44] <fernandojsg> for example: /user/1/permissions or /permissions?user=1
[13:12:08] <fernandojsg> I mean something like /resource/id_resource/details_resources or /resource?query
[13:13:18] *** JeffBuhrt has joined #angularjs
[13:13:50] *** phzon_ has quit IRC
[13:13:53] <sinclair> fernandojsg: /customers - index / list
[13:13:53] *** phzon has joined #angularjs
[13:14:07] <sinclair> fernandojsg: /customers/0 -- detail
[13:14:19] <sinclair> fernandojsg: /customers/0/firstname -- detail
[13:15:00] <sinclair> fernandojsg: /customers?skip=0&take=100 <-- query params used for filtering, paging, and whatever
[13:15:10] *** jaydubya has joined #angularjs
[13:15:32] <fernandojsg> sinclair: and if you want to check the invoices from those customers? /customers/0/invoices ? or /invoices?id_customer=0?
[13:15:37] *** jaydubya has joined #angularjs
[13:15:40] <fernandojsg> the rest I've the same than you
[13:15:53] <fernandojsg> is just about those master-detail situations
[13:16:55] <fernandojsg> for me it looks more nice semantically to do /customers/0/invoices, but more RESTful /invoices?id_customer, as you don't need to implement custom action for each resource that has invoices on it, lets see provider/0/invoices, user/0/invoices, etcetc, just do /invoices with custom query
[13:17:32] <sinclair> fernandojsg: /customers/0/invoices --- customers invoice index / list
[13:17:44] <sinclair> fernandojsg: /customers/0/invoices/123 --- detail
[13:17:51] *** mite_mitreski has joined #angularjs
[13:17:53] <sinclair> fernandojsg: /customers/0/invoices/123/invoiceid - details
[13:18:24] <sinclair> ^ note in this last example, invoiceid is a property of invoice
[13:18:30] <sinclair> so.....
[13:18:32] *** gunn has quit IRC
[13:18:41] *** blomman has quit IRC
[13:18:51] *** elrabin has joined #angularjs
[13:19:01] <sinclair> GET /customers/0/invoices/123 -- returns { invoiceid: '123', amount: 1000}
[13:19:03] <sinclair> and
[13:19:19] <sinclair> GET /customers/0/invoices/123/amount would return 1000
[13:19:25] <fernandojsg> okok right
[13:19:30] <fernandojsg> yep it looks very nice that way
[13:19:32] <sinclair> conceptually, this is the idea
[13:19:42] <fernandojsg> which backend framework do you use?
[13:20:18] <sinclair> um, im quite partial to C# webapi, possible with a odata expression syntax in there for things
[13:20:33] <sinclair> fernandojsg: i don't have a preference really
[13:20:35] <Foxandxss> put a breeze there and you nail it
[13:20:42] *** SargoDarya has joined #angularjs
[13:21:46] <fernandojsg> sinclair: ok thank you ;)
[13:21:53] <sinclair> np, good luck
[13:23:22] *** erewnoh has joined #angularjs
[13:24:29] *** jlebrech has quit IRC
[13:25:22] *** rikko has joined #angularjs
[13:26:03] *** JeffBuhrt has quit IRC
[13:26:09] *** sunil_ has joined #angularjs
[13:26:16] *** erewnoh has quit IRC
[13:26:23] <sunil_> hi
[13:26:56] *** erewnoh has joined #angularjs
[13:27:22] *** elrabin has quit IRC
[13:27:49] *** elrabin has joined #angularjs
[13:28:02] *** aven1 has joined #angularjs
[13:28:39] *** cheef has quit IRC
[13:28:50] *** rtpg has joined #angularjs
[13:28:55] *** aven1 has quit IRC
[13:29:05] *** __danimal__ has joined #angularjs
[13:29:11] <sunil_> 54.254.210.45:8000
[13:29:25] <sunil_> http://54.254.210.45:8000
[13:29:44] *** ahtik has joined #angularjs
[13:29:52] *** erewnoh has quit IRC
[13:30:11] <sunil_> http://54.254.210.45:8000
[13:30:33] <Foxandxss> sunil_: ?
[13:30:41] *** aven1 has joined #angularjs
[13:31:02] *** ali4ever4 has joined #angularjs
[13:31:05] *** joroc has quit IRC
[13:31:05] *** aven1 has quit IRC
[13:31:27] *** simplyshipley has joined #angularjs
[13:31:56] *** ximenean_ has joined #angularjs
[13:32:08] *** elrabin has quit IRC
[13:32:14] <sunil_> http://54.254.210.45:8000
[13:32:23] <Foxandxss> sunil_: stop
[13:32:35] *** ximenean_ has quit IRC
[13:32:50] *** ximenean_ has joined #angularjs
[13:33:16] *** azizur8 has quit IRC
[13:33:22] *** zwacky has joined #angularjs
[13:33:33] *** aven1 has joined #angularjs
[13:34:54] *** mrru has joined #angularjs
[13:35:42] <bealtine> why would anyone go to a random website?
[13:35:53] <Foxandxss> curiosity killed the cat
[13:36:07] *** simplyshipley has quit IRC
[13:36:17] *** jonasliljestrand has joined #angularjs
[13:36:54] *** aven1 has quit IRC
[13:37:29] <bealtine> not a chance:)
[13:37:39] *** mmealling has quit IRC
[13:38:11] *** mmealling has joined #angularjs
[13:38:26] *** juampy_ has joined #angularjs
[13:38:35] *** zwacky has quit IRC
[13:38:36] *** sk87 has quit IRC
[13:38:41] *** Caroga_afk is now known as Caroga
[13:38:46] *** erewnoh has joined #angularjs
[13:38:57] *** aven1 has joined #angularjs
[13:39:00] *** lsiv568 has joined #angularjs
[13:41:34] *** zwacky has joined #angularjs
[13:41:39] *** Menorah has quit IRC
[13:41:43] *** Fishy has joined #angularjs
[13:41:50] *** juampy has quit IRC
[13:41:51] *** simplyshipley has joined #angularjs
[13:42:16] *** recidive has quit IRC
[13:42:24] *** Ajans has quit IRC
[13:42:42] *** juampy_ is now known as juampy
[13:43:04] *** cheef has joined #angularjs
[13:43:25] *** F1LT3R has joined #angularjs
[13:43:29] *** JaKXz_ has joined #angularjs
[13:44:40] *** JaKXz has quit IRC
[13:44:42] <davesidious> Hey folks - does anyone have any performance pointers when displaying a large table (400+ rows, each with multiple bindings)? I've made as many of the bindings bind-once, but it's still rather slow.
[13:45:21] *** merb has quit IRC
[13:45:26] *** kirfu1 has quit IRC
[13:46:03] *** bkuberek_ has joined #angularjs
[13:46:03] *** MattWelch has joined #angularjs
[13:46:07] *** Fishy has quit IRC
[13:46:08] <Foxandxss> virtualization, pagination...
[13:46:32] <davesidious> Pagination is not an option, as the list needs to be quickly scrolled through
[13:46:34] *** Sgeo_ has quit IRC
[13:46:40] <davesidious> and "virtualization" could mean anything to me :-P
[13:46:57] *** simplyshipley has quit IRC
[13:47:13] <Foxandxss> only "render" the ones you're seeing
[13:47:28] <davesidious> do you know of anywhere which discusses this approach?
[13:47:36] <davesidious> without having a weird scrolling element?
[13:47:37] *** tangorri has joined #angularjs
[13:47:37] *** F1LT3R has quit IRC
[13:48:17] *** bkuberek has quit IRC
[13:48:18] *** phzon has quit IRC
[13:48:30] *** ahtik has quit IRC
[13:48:32] *** ximenean_ has quit IRC
[13:48:49] *** Sgeo has joined #angularjs
[13:49:42] *** StryKaizer has quit IRC
[13:49:56] <davesidious> brb
[13:50:14] *** MattWelch has quit IRC
[13:50:17] <Foxandxss> without, I don't think so
[13:50:26] <Foxandxss> brb as well
[13:50:43] *** recidive has joined #angularjs
[13:51:02] *** jlebrech has joined #angularjs
[13:51:10] *** simplyshipley has joined #angularjs
[13:51:32] *** jstroem has quit IRC
[13:52:30] *** doginal has quit IRC
[13:53:28] *** spaceonline has quit IRC
[13:53:45] *** Menorah has joined #angularjs
[13:54:13] *** blomman has joined #angularjs
[13:54:23] *** aslate has quit IRC
[13:55:13] <EdwardIII> hrm
[13:55:30] *** edzez_ has joined #angularjs
[13:55:43] <EdwardIII> i wanna to do like {{ formatCurrency(amount, currencyCode) }} // returns £102.00
[13:55:52] <EdwardIII> putting a function formatCurrency on $scope doesn't seem to work for this?
[13:56:00] <davesidious> back :)
[13:56:29] <davesidious> EdwardIII - https://docs.angularjs.org/api/ng/filter/currency not work for you?
[13:56:32] <EdwardIII> i guess really i wanna create a 'filtery' type thing similar to {{ amount | currency : currencyCode : decimals }} but don't know what they're called to google them
[13:56:57] <davesidious> They're called filters, and one exists to do what you want :)
[13:56:59] <EdwardIII> oh it's just called a 'filter'
[13:57:11] <EdwardIII> davesidious: that can't translate currencyCode to currency symbol though right?
[13:57:30] *** sbellina has quit IRC
[13:57:30] <davesidious> EdwardIII - it can.
[13:57:37] <davesidious> Take a look at the examples on that page
[13:57:37] <EdwardIII> can it?
[13:57:40] <davesidious> yup
[13:57:53] <davesidious> just try and see.
[13:58:02] *** joroc has joined #angularjs
[13:58:08] <EdwardIII> davesidious: none of those examples convert USD => $
[13:58:14] *** mkulke has joined #angularjs
[13:58:20] <davesidious> just set the symbol to whatever you want it to be
[13:58:25] *** davidreis has quit IRC
[13:58:31] <davesidious> $ € £ whatever.
[13:58:53] *** Sebastien-L has quit IRC
[13:58:53] <zwacky> setting the symbol AND decimals (, or .) and whether the symbol is before or after the number
[13:58:55] *** azizur has joined #angularjs
[13:58:56] <EdwardIII> davesidious: it changes dynamically depending on the data. that's why i'm looking to make my own that just wraps it
[13:58:56] <mkulke> hello there, is there a way to defer the link of an directive, until the children have been handled?
[13:59:04] <EdwardIII> zwacky: true
[13:59:11] *** tschundeee has joined #angularjs
[13:59:13] <davesidious> EdwardIII - then pass the symbol as a variable
[13:59:13] *** IvailoStoianov has joined #angularjs
[13:59:18] *** edzez has quit IRC
[13:59:18] *** tga0 has joined #angularjs
[13:59:30] <davesidious> {{ amount | currency : currencyCode }} given your example.
[13:59:40] <zwacky> davesidious i wrote a rather big directive for CODE -> symbol
[13:59:43] <EdwardIII> davesidious: it's all coming from a JSON endpoint, what's wrong with me having a filter where i can pass in a currencycode and get a currency symbol?
[13:59:50] *** shaisnir has joined #angularjs
[13:59:59] <zwacky> lemme find it, /might/ be useful
[14:00:00] <davesidious> There's nothing wrong with it - that's what this currency filter does.
[14:00:02] *** tarnus has quit IRC
[14:00:05] *** ximenean_ has joined #angularjs
[14:00:11] <EdwardIII> but it doesn't heh
[14:00:15] <davesidious> it does.
[14:00:16] *** tarnus has joined #angularjs
[14:00:17] <EdwardIII> https://github.com/angular/angular.js/blob/master/src/ng/filter/filters.js#L55
[14:00:25] <EdwardIII> it takes a currency symbol and returns that currency symbol, no?
[14:00:29] <davesidious> you pass it a variable which contains the currency symbol you want to use
[14:00:31] *** MattWelch has joined #angularjs
[14:00:38] <EdwardIII> that's different
[14:00:39] <davesidious> just as your formatCurrency() function does.
[14:00:43] <EdwardIII> currency code != currency symbol
[14:01:09] <davesidious> then have a lookup function just for the currency code, or do that when you load your data.
[14:01:15] <davesidious> reinventing the wheel is seldom a good idea.
[14:01:19] *** aven1 has quit IRC
[14:01:25] *** leolrrj has joined #angularjs
[14:01:55] <davesidious> {{ amount | currency : lookup(currencyCode) }}
[14:02:12] <davesidious> or, more sanely, do the lookup once when you import your data, and then you never have to worry about it again.
[14:02:32] *** shaisnir has quit IRC
[14:02:32] *** adben has joined #angularjs
[14:02:32] *** lsiv568 has quit IRC
[14:02:41] *** fred-fri has quit IRC
[14:03:08] <zwacky> davesidious maybe some space for improvements but works http://jsfiddle.net/7Lfofn94/1/
[14:03:15] *** tomzx has quit IRC
[14:03:17] *** azizur7 has joined #angularjs
[14:03:19] *** dsdeiz has joined #angularjs
[14:03:49] *** lsiv568 has joined #angularjs
[14:03:58] <davesidious> zwacky - that's great. Add support for the fractionsize and it'd be entirely compatible with Angular's own currency filter.
[14:04:12] *** tschundeee has quit IRC
[14:04:17] <davesidious> It would be more performant to convert the codes to the symbols beforehand, though, so it doesn't have to be done each time.
[14:04:22] <zwacky> yep
[14:04:22] *** azizur has quit IRC
[14:04:24] *** DanSkaggs has joined #angularjs
[14:04:32] *** shaisnir_ has joined #angularjs
[14:04:42] *** tga0 has quit IRC
[14:04:49] <davesidious> or have a lookup object you can inject.
[14:05:05] *** imjoshholloway has quit IRC
[14:05:22] <zwacky> oh i see
[14:05:27] <zwacky> fractionsize is 1.3+
[14:05:38] *** Menorah has quit IRC
[14:06:03] *** a__ has joined #angularjs
[14:06:09] *** SargoDarya has quit IRC
[14:06:41] *** laurensclaessen has joined #angularjs
[14:06:56] *** a__ has left #angularjs
[14:06:57] *** larsgk has quit IRC
[14:07:22] *** frem has quit IRC
[14:07:27] *** aaaaaaaaaaaaaaaa has joined #angularjs
[14:07:42] *** hswolff has quit IRC
[14:08:36] *** sahbeewah has quit IRC
[14:09:18] *** hswolff has joined #angularjs
[14:09:22] *** aslate has joined #angularjs
[14:09:31] <aaaaaaaaaaaaaaaa> hi
[14:10:23] *** AngularUI has joined #angularjs
[14:10:23] <AngularUI> [ng-grid] gwin003 closed pull request #2386: 2.x - Adding action button column and expandable rows (2.x...2.x) http://git.io/6gsvTg
[14:10:24] *** AngularUI has left #angularjs
[14:10:28] *** parky128 has joined #angularjs
[14:10:40] *** loverajoel has joined #angularjs
[14:10:41] *** caitp has joined #angularjs
[14:10:47] *** davidreis has joined #angularjs
[14:10:48] *** laurensclaessen has quit IRC
[14:11:11] *** TuRnaD0 has joined #angularjs
[14:11:16] *** parky128 has left #angularjs
[14:11:47] *** parky128 has joined #angularjs
[14:12:50] *** phzon has joined #angularjs
[14:13:49] *** laurensclaessen has joined #angularjs
[14:14:05] <parky128> Hey there
[14:14:35] *** aaaaaaaaaaaaaaaa has quit IRC
[14:14:55] *** caitp has quit IRC
[14:15:10] *** laurensclaessen has quit IRC
[14:15:13] *** ahtik has joined #angularjs
[14:15:22] *** tristanp has joined #angularjs
[14:15:33] *** Mosselman has joined #angularjs
[14:15:58] *** Mosselman is now known as Guest45878
[14:16:01] *** akrikos has joined #angularjs
[14:16:13] *** o-ja has quit IRC
[14:16:22] *** laurensclaessen has joined #angularjs
[14:16:39] *** Menorah has joined #angularjs
[14:17:43] *** Christer_ has joined #angularjs
[14:17:55] *** ciwolsey has joined #angularjs
[14:18:25] *** parky128 has quit IRC
[14:18:58] *** laurensclaessen has quit IRC
[14:19:28] <jaydubya> I have a custom directive that turns an object attribute into an icon and I need to use it inside of an ng-grid and there doesn't seem to be any google info on this. Has anyone done something like that and how?
[14:19:42] *** nfroidure has quit IRC
[14:20:20] *** jlrodriguez has joined #angularjs
[14:20:46] *** Christer has quit IRC
[14:20:47] *** Christer_ is now known as Christer
[14:21:10] *** yelvert has joined #angularjs
[14:21:19] *** nfroidure has joined #angularjs
[14:21:48] *** aslate has quit IRC
[14:22:02] *** zwacky has quit IRC
[14:22:19] *** tschundeee has joined #angularjs
[14:22:23] *** enaqx has joined #angularjs
[14:22:37] *** cakirke has quit IRC
[14:22:41] <tty> i am using angular-laeflet-directive and i am trying to change the icon of a clicked marker on the map. can i use a “$scope.$on("leafletDirectiveMarker.click", function(event, args) {….” ? i am trying with $scope.markers.markerName.setIcon(dot_red); but it is not working.
[14:23:17] *** juanluisrp has quit IRC
[14:23:37] *** elrabin has joined #angularjs
[14:24:21] *** SargoDarya has joined #angularjs
[14:25:17] *** yelvert has quit IRC
[14:25:39] *** shaisnir_ has quit IRC
[14:25:44] *** g33k5z_ has joined #angularjs
[14:26:14] <Spot__> Anybody know Masonry like plug-in for Angular, supporting rich content - and no dependencies to legacy jQuery components?
[14:27:31] *** greengriminal has joined #angularjs
[14:27:40] *** platonic has quit IRC
[14:27:53] <Spot__> It's kind of that on many cases one can just use flex CSS, but it would then need height to be exactly same for all items.
[14:28:19] *** lugzer has joined #angularjs
[14:28:29] *** sunil_ has quit IRC
[14:28:39] <Spot__> And CSS columns can also be used, but when loading more data to ng-repeat the order changes in columns (e.g. stuff from top can move way down)
[14:28:50] *** Menorah has quit IRC
[14:29:13] *** mylord has quit IRC
[14:29:21] *** dmack has joined #angularjs
[14:29:57] *** Guest45878 has quit IRC
[14:30:11] <Spot__> With common jQuery masonry you need to recreate msnry object everytime image count in DOM changes, otherwise items overlap.
[14:30:17] *** shaisnir has joined #angularjs
[14:30:30] <Spot__> So a pure angular alternative would be so cool :)
[14:31:14] *** mccarrontr1ck has joined #angularjs
[14:31:14] *** dsdeiz has quit IRC
[14:31:34] *** Caroga is now known as Caroga_afk
[14:31:53] *** Mosselma1 has joined #angularjs
[14:32:37] *** swist has joined #angularjs
[14:32:43] *** Superhard has quit IRC
[14:32:54] *** elrabin has quit IRC
[14:33:21] *** elrabin has joined #angularjs
[14:33:40] *** platonic has joined #angularjs
[14:34:17] *** zwacky has joined #angularjs
[14:34:29] *** davidreis has quit IRC
[14:34:57] *** mrru has quit IRC
[14:35:15] *** wa5ted has joined #angularjs
[14:35:36] *** walden|afk is now known as walden
[14:36:22] *** gaboesquivel has joined #angularjs
[14:36:27] *** aslate has joined #angularjs
[14:36:31] *** danecando has quit IRC
[14:36:35] *** mmealling has joined #angularjs
[14:37:00] *** sbellina has joined #angularjs
[14:37:01] *** DanSkaggs has quit IRC
[14:37:02] *** AngularUI has joined #angularjs
[14:37:02] <AngularUI> [ng-grid] gwin003 opened pull request #2390: 2.x - Expandable rows and actions column (2.x...2.x) http://git.io/pGjdkQ
[14:37:02] *** AngularUI has left #angularjs
[14:37:31] *** shaisnir has quit IRC
[14:37:46] *** mylord has joined #angularjs
[14:37:47] *** mkulke has quit IRC
[14:37:59] *** blomman has quit IRC
[14:38:03] *** DanSkaggs has joined #angularjs
[14:38:06] *** davidreis has joined #angularjs
[14:38:09] *** boxmein has joined #angularjs
[14:38:11] *** hj has joined #angularjs
[14:38:13] *** toin0u|away is now known as toin0u
[14:38:25] *** toin0u has joined #angularjs
[14:38:32] *** blomman has joined #angularjs
[14:38:33] *** shaisnir has joined #angularjs
[14:38:34] *** hj is now known as Guest93314
[14:38:55] *** g33k5z_ has quit IRC
[14:39:30] *** wa5ted has quit IRC
[14:40:34] *** Alina-malina has quit IRC
[14:40:39] <Cronoh> question, is something like this possible? basically ng repeat looping twice for me? :D ng-repeat="segment in legs.segments in flight.legs"
[14:40:42] *** IJNX has quit IRC
[14:40:42] *** xxMatiasFxx has quit IRC
[14:41:05] *** xxMatiasFxx has joined #angularjs
[14:41:14] <Cronoh> or do i need to break it into two seperate ng repeats or make another solution which gives only one level of objects
[14:41:53] *** elrabin has quit IRC
[14:42:55] *** livingstn has joined #angularjs
[14:43:34] *** Alina-malina has joined #angularjs
[14:43:39] *** mnngfltg has joined #angularjs
[14:43:57] *** sbellina has quit IRC
[14:45:08] *** shaisnir has quit IRC
[14:45:22] *** tschundeee has quit IRC
[14:45:37] *** fbenoit has quit IRC
[14:46:14] *** tschundeee has joined #angularjs
[14:46:31] *** bkuberek_ has quit IRC
[14:46:48] <ericbutters> i am wondering why ng-repeat goes 3 loop for one index? please see here: http://paste.ubuntu.com/9560444/
[14:47:09] *** bkuberek has joined #angularjs
[14:47:42] *** ehynds has joined #angularjs
[14:48:02] *** shaisnir has joined #angularjs
[14:48:31] <dmack> Cronoh: you can't do that, not valid.
[14:48:42] <dmack> you could just do
[14:48:47] <dmack> segment in flight.legs.segments
[14:49:14] <Cronoh> that would loop through legs and then each segment within each leg dmack ?
[14:49:36] *** ahtik has quit IRC
[14:50:09] <dmack> no, then you need nested ng-repeats
[14:50:42] *** Ajans has joined #angularjs
[14:51:04] *** Guest93314 has quit IRC
[14:51:10] *** tschundeee has quit IRC
[14:51:30] *** shaisnir has quit IRC
[14:51:35] <Cronoh> okay thanks dmack
[14:51:39] *** AlSquirrel has joined #angularjs
[14:51:48] *** shaisnir has joined #angularjs
[14:52:02] *** evilaliv3 has quit IRC
[14:52:18] *** Ajans has quit IRC
[14:52:53] *** blomman has quit IRC
[14:52:58] *** japhar81 has joined #angularjs
[14:53:29] *** blomman has joined #angularjs
[14:53:48] *** caitp has joined #angularjs
[14:54:02] *** deanclkclk has joined #angularjs
[14:54:40] *** lexek_ has joined #angularjs
[14:54:54] *** illume has quit IRC
[14:55:36] *** rchavik has quit IRC
[14:55:39] *** cboden has joined #angularjs
[14:56:45] *** FIFOd[a] has joined #angularjs
[14:57:14] *** ximenean_ has quit IRC
[14:57:54] *** loverajo_ has joined #angularjs
[14:58:09] <tty> anyone tried angular-leaflet-directive ? i am using leafletDirectiveMarker.click to change marker icon. how can i change back the icon when i click on empty space on map. With leafletDirectiveMap.click?
[14:59:01] *** jmckind has joined #angularjs
[14:59:07] *** danecando has joined #angularjs
[15:00:41] *** Superhard has joined #angularjs
[15:01:06] *** loverajoel has quit IRC
[15:01:17] *** jvdz has joined #angularjs
[15:01:28] *** jvdz has quit IRC
[15:02:16] *** parky128 has joined #angularjs
[15:02:25] <parky128> Hello
[15:02:36] *** chiburbs has joined #angularjs
[15:02:53] *** blomman has quit IRC
[15:03:10] *** tschundeee has joined #angularjs
[15:03:28] *** blomman has joined #angularjs
[15:04:13] *** bin has left #angularjs
[15:04:15] *** erewnoh has quit IRC
[15:04:28] *** atomi has quit IRC
[15:04:29] *** erewnoh has joined #angularjs
[15:05:05] *** juampy has quit IRC
[15:05:13] *** Ch4rAss has quit IRC
[15:06:15] *** elrabin has joined #angularjs
[15:06:33] *** bostonaholic has joined #angularjs
[15:06:41] <dmack> hello!
[15:06:43] *** parky128 has quit IRC
[15:07:05] *** ivor has joined #angularjs
[15:07:45] *** shaisnir has quit IRC
[15:08:05] *** mbenadda has joined #angularjs
[15:10:16] <mbenadda> I'm using form.#FIELDNAME.$viewValue to retrieve data from my inputs and save them into my resources. Is this wrong ?
[15:10:36] <dmack> mbenadda: probably.
[15:10:42] <dmack> why aren't you using ngModel
[15:10:44] <dmack> ?
[15:10:47] *** bmac has joined #angularjs
[15:11:11] *** shaisnir has joined #angularjs
[15:11:35] *** IJNX has joined #angularjs
[15:11:45] <mbenadda> I don't want to bind to my resource directly
[15:11:48] *** erewnoh is now known as terakilobyte
[15:11:55] *** rchavik has joined #angularjs
[15:11:58] <mbenadda> In case the user uses back or quits I don't want the model to change
[15:12:08] *** afuggini has quit IRC
[15:12:19] *** mary5030 has joined #angularjs
[15:12:23] *** e0ipso is now known as e0ipso|away
[15:12:31] <dmack> so just keep a copy of it in your controller, if the user navigates away, check if the form is $dirty, if they confirm, just reset the values back to the copy
[15:12:44] <dmack> copy of the data*
[15:14:09] *** Linell has joined #angularjs
[15:14:16] *** fatshark has joined #angularjs
[15:14:40] *** juanpablo__ has joined #angularjs
[15:15:23] *** e0ipso|away is now known as e0ipso
[15:16:02] *** cotko has quit IRC
[15:16:13] *** ximenean_ has joined #angularjs
[15:16:14] *** cotko has joined #angularjs
[15:16:46] *** IvailoStoianov has quit IRC
[15:16:48] <mbenadda> Yeah I tried to do that but I can't seem to make the $scope variable update when I type in my input. I was wondering if they intentionally removed that kind of dangerous binding in 1.3 to replace it with a cleaner api
[15:16:49] *** tschundeee has quit IRC
[15:17:03] *** juanpablo___ has joined #angularjs
[15:17:34] *** bostonaholic has quit IRC
[15:17:45] <dmack> you can use ngModelOptions and only propogate changes to your model on certain events.
[15:17:53] *** dannyc_ has joined #angularjs
[15:18:31] *** doodlehaus has joined #angularjs
[15:18:32] *** BillCriswell has joined #angularjs
[15:18:47] *** SexualRickshaw has joined #angularjs
[15:18:57] *** juanpablo__ has quit IRC
[15:18:58] *** zivester has joined #angularjs
[15:19:01] *** knownasilya has joined #angularjs
[15:19:11] *** tschunde_ has joined #angularjs
[15:19:12] <davesidious> Does anyone know of some decent tools for profiling an AngularJS application running under a Chrome extension? The devtools profiler isn't much use at all...
[15:19:28] *** shaisnir has quit IRC
[15:19:53] *** shaisnir has joined #angularjs
[15:20:09] *** prosper_ has joined #angularjs
[15:21:43] *** larsgk has joined #angularjs
[15:21:54] *** zeitgist has joined #angularjs
[15:22:14] *** ximenean_ has quit IRC
[15:22:56] *** shaisnir has quit IRC
[15:23:25] *** ggrzybek is now known as ggrzybek_brb
[15:23:31] *** DrMabuse has quit IRC
[15:23:50] *** jacuqesdancona__ has quit IRC
[15:23:57] *** zeitgist has quit IRC
[15:24:16] *** zeitgist has joined #angularjs
[15:24:37] *** Johnny13371337 has joined #angularjs
[15:24:55] *** DrMabuse has joined #angularjs
[15:25:00] *** ximenean_ has joined #angularjs
[15:26:19] <mbenadda> dmack thanks for the pointers but I just can't seem to get my scope variable to update in the controller as I type in the input. I'll just keep digging
[15:26:42] <dmack> mbenadda: gonna need to see code. that's a core, pretty easy thing with Angular
[15:27:22] <mbenadda> dmack that's why I'm getting crazy over it. I've done far more complicated stuff and fail with this
[15:27:46] *** yelvert has joined #angularjs
[15:27:50] *** g33k5z has joined #angularjs
[15:27:53] *** tristanp has quit IRC
[15:28:11] *** F1LT3R has joined #angularjs
[15:28:27] *** vassagus has joined #angularjs
[15:28:28] *** scythe__ has joined #angularjs
[15:28:32] *** TeddyMurray has joined #angularjs
[15:28:52] *** annlewis has joined #angularjs
[15:28:57] *** larsgk has quit IRC
[15:28:58] <jaydubya> I have a custom directive that turns an object attribute into an icon and I need to use it inside of an ng-grid and there doesn't seem to be any google info on this. Has anyone done something like that and how?
[15:30:04] *** yelvert has quit IRC
[15:30:19] *** yelvert has joined #angularjs
[15:30:56] *** blomman_ has joined #angularjs
[15:31:04] *** marcjs has joined #angularjs
[15:31:11] *** darrin has joined #angularjs
[15:31:38] <mbenadda> dmack I have this http://pastebin.com/F4jM1fnJ
[15:31:55] <mbenadda> dmack the binding on the page updates accordingly but my console.log outputs 1, ""
[15:31:57] *** livingstn has quit IRC
[15:32:31] <dmack> mbenadda: use ngSubmit.
[15:32:44] *** blomman has quit IRC
[15:33:23] *** FunnyLookinHat has joined #angularjs
[15:33:32] *** sk87 has joined #angularjs
[15:33:38] *** ron1 has joined #angularjs
[15:33:51] *** fbenoit has joined #angularjs
[15:34:03] *** Click66 has quit IRC
[15:34:18] <dmack> Ive never passed "form" before. not sure how that works
[15:34:35] *** Efrem has joined #angularjs
[15:34:49] *** Snugug has joined #angularjs
[15:34:54] <mbenadda> Allows me to access the new form props from 1.3, like form.$valid
[15:34:57] *** jaredwilli has joined #angularjs
[15:35:10] <mbenadda> I'm not sure yet if it's good practice but it seemed like a useful check to add
[15:35:29] *** nickgs has joined #angularjs
[15:36:07] *** rikko has quit IRC
[15:37:23] <mbenadda> dmack even with ng-submit I still get 1, ""
[15:37:26] *** jackweirdy has joined #angularjs
[15:38:03] <dmack> so {{ listing_summary }}, does that ever get changed?
[15:38:29] <mbenadda> as I type
[15:39:02] *** optikalmouse has joined #angularjs
[15:39:08] <jaydubya> I am using loDash and trying to filter an object by 2 values. Using Google I was able to come up with this but it isn't filtering correctly. <-- https://gist.github.com/anonymous/74911bbd94b4e7f259df
[15:39:21] *** rikko has joined #angularjs
[15:39:23] *** zlalanne has joined #angularjs
[15:39:39] <mbenadda> OK I found a solution. In the function called by ng-submit I have this.listing_summary bound correctly
[15:41:42] <mbenadda> However ng-submit does not seem to work if placed outside the <form>, which I need to do
[15:41:48] *** ome has quit IRC
[15:42:01] <mbenadda> It seems weird to me to not be able to just bind ng-model to a $scope variable and be on my way
[15:42:43] *** bostonaholic has joined #angularjs
[15:42:47] *** DigitallyBorn has joined #angularjs
[15:42:48] *** DigitallyBorn has joined #angularjs
[15:43:05] *** sjt003 has joined #angularjs
[15:43:14] <dmack> ngSubmit requires a form
[15:43:17] *** bkuberek has quit IRC
[15:43:46] <dmack> and the name of your input, name='summary' is exposed inside the submit
[15:43:52] <dmack> $valid, $dirty, etc.
[15:43:57] *** tfennelly has quit IRC
[15:43:59] *** cbeacock1 has joined #angularjs
[15:44:56] *** michaelSharpe has joined #angularjs
[15:44:56] *** Inoperable has joined #angularjs
[15:45:13] *** shaisnir has joined #angularjs
[15:46:16] *** tristanp has joined #angularjs
[15:46:25] *** smurby has joined #angularjs
[15:47:10] *** prosper__ has joined #angularjs
[15:47:15] <mbenadda> Yeah but my button must be outside the <form> since I'm doing a mobile UI
[15:47:31] *** ivor has quit IRC
[15:47:44] *** DrMabuse has quit IRC
[15:47:46] <mbenadda> It still seems like $viewValue is the most straightforward and least painful way to deal with this
[15:47:46] *** jdivock has joined #angularjs
[15:48:03] *** prosper_ has quit IRC
[15:48:10] *** blomman_ has quit IRC
[15:48:15] *** kuadrosx has joined #angularjs
[15:48:24] *** ivor has joined #angularjs
[15:48:44] *** blomman has joined #angularjs
[15:48:54] *** sk87 has quit IRC
[15:49:09] *** bayousoft has joined #angularjs
[15:49:11] *** Oxynum has quit IRC
[15:49:50] *** evanjs has joined #angularjs
[15:49:55] *** bostonaholic has left #angularjs
[15:50:16] *** rho_ has joined #angularjs
[15:50:17] *** rho_ has joined #angularjs
[15:50:28] *** ivor has quit IRC
[15:50:52] *** ivor has joined #angularjs
[15:51:34] *** jdivock has quit IRC
[15:52:06] *** rkjdid has quit IRC
[15:52:56] *** ron1 has quit IRC
[15:52:56] *** busticated has joined #angularjs
[15:53:33] *** DrMabuse has joined #angularjs
[15:53:39] *** ptlu has joined #angularjs
[15:54:16] *** jdivock has joined #angularjs
[15:54:42] *** ggrzybek_brb is now known as ggrzybek
[15:54:42] *** elrabin has quit IRC
[15:55:09] *** ivor has quit IRC
[15:55:11] *** elrabin has joined #angularjs
[15:55:42] *** ivor has joined #angularjs
[15:56:10] *** dsdeiz has joined #angularjs
[15:56:28] *** elrabin has joined #angularjs
[15:57:01] *** badasshow has joined #angularjs
[15:57:06] *** Sadin has joined #angularjs
[15:57:41] *** rkjdid has joined #angularjs
[15:57:54] *** annlewis has quit IRC
[15:58:01] *** Lewix has joined #angularjs
[15:58:14] *** SargoDarya has quit IRC
[15:59:12] *** JesuZ has joined #angularjs
[15:59:17] *** elrabin has quit IRC
[15:59:22] *** shackleford has joined #angularjs
[15:59:40] *** elrabin has joined #angularjs
[16:00:02] *** JaKXz_ has quit IRC
[16:00:03] *** elrabin has quit IRC
[16:00:05] *** badasshow has quit IRC
[16:00:34] *** rtpg_ has joined #angularjs
[16:00:38] *** dannyc_ has quit IRC
[16:00:44] <Lewix> how to set a listener to be called only once
[16:00:46] *** jdcasey has joined #angularjs
[16:00:48] <Lewix> force*
[16:01:02] <Lewix> jaawerth: ?
[16:01:07] *** elrabin has joined #angularjs
[16:01:22] *** jdj_dk has quit IRC
[16:01:25] *** aven1 has joined #angularjs
[16:01:28] <Lewix> $on.(''whatever', function() {run this only once})
[16:01:32] *** Sadin has quit IRC
[16:01:39] *** zivester has quit IRC
[16:01:50] <dmack> https://lodash.com/docs#once
[16:02:11] <mbenadda> dmack In my $scope.send method, $scope !== this. this holds the right $scope, but $scope is somehow frozen in a previous state. So if you need to know, that's why I was failing in the first place.
[16:02:18] <mbenadda> Thanks for your help anyway!
[16:02:25] *** mven has joined #angularjs
[16:02:31] <dmack> right, "this" is bound to the form inside the submit
[16:02:39] *** mven has quit IRC
[16:02:46] <mbenadda> yeah not in the submit
[16:02:49] <gulli> Anyone here use webstorm?
[16:02:56] <mbenadda> in my send method that's not even called from inside the form
[16:03:01] *** leolrrj has quit IRC
[16:03:19] <mbenadda> I think it has to do with a mobile-angular-ui directive I'm using.
[16:03:20] *** elrabin has quit IRC
[16:03:22] *** mite_mitreski has quit IRC
[16:03:23] *** blomman has quit IRC
[16:03:25] *** KushS has joined #angularjs
[16:03:37] *** busticated has quit IRC
[16:03:38] *** F1LT3R has quit IRC
[16:03:41] *** elrabin has joined #angularjs
[16:03:55] *** blomman has joined #angularjs
[16:04:06] *** SargoDarya has joined #angularjs
[16:04:07] *** elrabin has quit IRC
[16:04:07] *** edzez_ has quit IRC
[16:04:09] <Lewix> dmack: any idea?
[16:04:10] *** rtpg has quit IRC
[16:04:36] <dmack> inside your $on you can use _.once to make sure it only executes once
[16:04:42] <dmack> not sure what the use case is though
[16:05:12] *** elrabin_ has joined #angularjs
[16:05:18] *** joroc has quit IRC
[16:05:32] <Lewix> dmack: meaning i want it to listen to just one emit
[16:05:35] *** rtpg_ has quit IRC
[16:05:47] <dmack> then just emit it once?
[16:05:53] <Lewix> dmack: i console.log in my $on and apparently it's run multiple time
[16:06:06] <dmack> then you're emitting it multiple times
[16:06:21] <Lewix> dmack: it's probably a bug somewhere, as a temporary hack i want to force it to run once for all
[16:06:31] *** prbc has joined #angularjs
[16:07:06] *** evilaliv3 has joined #angularjs
[16:07:59] <dmack> right, so I was saying you can use lodash to do that pretty easily
[16:08:02] *** ximenean_ has quit IRC
[16:08:19] *** terakilobyte has quit IRC
[16:08:23] <Lewix> just _.once?
[16:08:25] <Lewix> wow
[16:08:29] *** ximenean_ has joined #angularjs
[16:08:32] <Lewix> dmack: thanks ill check it out
[16:08:43] *** annlewis has joined #angularjs
[16:08:47] *** ximenean_ has quit IRC
[16:08:54] *** fbenoit has quit IRC
[16:10:12] *** dacuca has joined #angularjs
[16:10:47] *** dacuca has quit IRC
[16:12:47] *** azizur7 has quit IRC
[16:13:08] *** jlambert121 has joined #angularjs
[16:13:32] *** edzez has joined #angularjs
[16:13:42] *** jlambert_ has quit IRC
[16:13:47] *** phzon has quit IRC
[16:14:06] *** phzon has joined #angularjs
[16:14:28] *** vbabiy has joined #angularjs
[16:15:14] *** ximenean_ has joined #angularjs
[16:15:18] *** dave_boling has joined #angularjs
[16:15:54] *** ximenean_ has quit IRC
[16:16:20] *** ximenean_ has joined #angularjs
[16:16:39] *** ximenean_ has quit IRC
[16:17:03] *** dcherman has joined #angularjs
[16:17:03] *** Inoperable has quit IRC
[16:17:06] *** ximenean_ has joined #angularjs
[16:17:12] *** edzez_ has joined #angularjs
[16:17:19] *** Poppabear has quit IRC
[16:17:23] *** mite_mitreski has joined #angularjs
[16:19:01] *** scriptThis has quit IRC
[16:19:21] <christo_m> i have a form with ng-submit, it says i get $event , and i want to preventDefault so the damn thing doesnt submit
[16:19:58] <christo_m> do i just pass it like ng-submit="submitThis($event)" and then in my controller do $scope.submitThis = function(event) { event.preventDefault(); } ?
[16:20:04] <christo_m> that should work right?
[16:20:18] *** platonic has quit IRC
[16:20:39] *** jdivock has quit IRC
[16:20:43] *** cacts has joined #angularjs
[16:20:50] *** edzez has quit IRC
[16:21:00] *** it0a has joined #angularjs
[16:21:17] *** FIFOd[a] has quit IRC
[16:21:28] *** tristanp has quit IRC
[16:22:10] *** tristanp has joined #angularjs
[16:22:37] *** jonasliljestrand has quit IRC
[16:22:40] *** scythe__ has quit IRC
[16:23:07] *** pilva has quit IRC
[16:24:02] *** wa5ted has joined #angularjs
[16:24:33] <jaawerth> christo_m: yes
[16:25:28] <jaawerth> you can also just do ng-submit="$event.preventDefault()" but if you want to do that AND other stuff it's just cleaner to put it in a function
[16:26:39] *** platonic has joined #angularjs
[16:27:34] *** jdivock has joined #angularjs
[16:28:15] *** chrisbirk has joined #angularjs
[16:28:22] *** Snugug has quit IRC
[16:28:43] *** wa5ted has quit IRC
[16:28:45] *** jharbaugh has joined #angularjs
[16:29:01] *** azizur has joined #angularjs
[16:29:22] *** evanjs has quit IRC
[16:29:43] *** FIFOd[a] has joined #angularjs
[16:29:54] *** evanjs has joined #angularjs
[16:29:54] *** Hounddog has joined #angularjs
[16:30:56] <christo_m> jaawerth: thank you
[16:31:29] *** joroc has joined #angularjs
[16:32:31] *** prosper__ has quit IRC
[16:33:15] *** plekplek has quit IRC
[16:33:45] *** shackleford has quit IRC
[16:34:00] *** shinnya has joined #angularjs
[16:34:23] *** shackleford has joined #angularjs
[16:34:28] *** g33k5z has quit IRC
[16:34:54] *** g33k5z has joined #angularjs
[16:35:05] *** tristanp has quit IRC
[16:35:10] *** aven1 has quit IRC
[16:35:18] *** boxmein has quit IRC
[16:35:25] *** juanpablo____ has joined #angularjs
[16:35:41] *** nachinius has joined #angularjs
[16:35:44] *** dave_boling has quit IRC
[16:36:06] *** g33k5z has quit IRC
[16:36:16] *** richiebkr has joined #angularjs
[16:36:37] *** g33k5z has joined #angularjs
[16:37:54] *** juampy has joined #angularjs
[16:38:07] *** busticated has joined #angularjs
[16:38:20] *** ioudas has quit IRC
[16:38:22] *** michaelS_ has joined #angularjs
[16:38:25] *** gulli has quit IRC
[16:38:40] *** bullicon has quit IRC
[16:38:43] *** Christer has quit IRC
[16:38:46] *** red_horned_rihno has joined #angularjs
[16:38:50] *** juanpablo___ has quit IRC
[16:39:34] *** alpha080 has quit IRC
[16:39:36] *** ggrzybek is now known as ggrzybek_afk
[16:39:37] *** yelvert has quit IRC
[16:39:53] *** IJNX has quit IRC
[16:40:07] *** robob4him has joined #angularjs
[16:40:20] *** michaelSharpe has quit IRC
[16:40:22] *** zeitgist has quit IRC
[16:40:32] *** richiebkr has quit IRC
[16:40:50] *** iH8Pickles has joined #angularjs
[16:41:17] *** zlalanne has quit IRC
[16:41:33] *** sbellina has joined #angularjs
[16:44:20] *** red_horned_rihno has quit IRC
[16:44:26] *** DrMabuse has quit IRC
[16:44:30] *** prbc has quit IRC
[16:45:17] <jaawerth> So, my Object.observe polyfill is gonna be easier to get fully working than I thought! The "real" ES6 Object.observe only watches down to 1 level of object properties, so I don't have to match any sort of magical "deep observe" beyond implementing an optional one to be used sparingly
[16:45:26] *** apoorvparijat has joined #angularjs
[16:46:06] <jaawerth> I can make it act just like native Object.observe on IE9+ where Object.defineProperty is supported, and make it fall back to Angular's dirty checking when it fails
[16:46:07] *** sbellina has quit IRC
[16:46:45] <jaawerth> though in that case, it'd be best to somehow get namespaced watchers working.. but that'd be a whole crazy project on its own
[16:46:54] <oniijin> who are u talkin to jaawerth =p
[16:47:09] <jaawerth> haha, I've been talking about this a bit so I was just generally thinking out loud
[16:47:10] *** ahtik has joined #angularjs
[16:47:18] <jaawerth> it's interesting stuff! I think so anyway
[16:47:52] *** larsgk has joined #angularjs
[16:48:05] *** lsiv568 has quit IRC
[16:48:12] *** swist has quit IRC
[16:48:27] *** bbankes has quit IRC
[16:48:35] *** chrisbirk has quit IRC
[16:48:48] *** bkuberek has joined #angularjs
[16:49:20] *** nickgs has quit IRC
[16:49:24] *** caitp has quit IRC
[16:49:26] *** bkuberek_ has joined #angularjs
[16:49:35] *** chrisbirk has joined #angularjs
[16:49:40] *** Oxynum has joined #angularjs
[16:50:44] *** g33k5z has quit IRC
[16:51:01] *** ctanga has quit IRC
[16:51:11] *** g33k5z has joined #angularjs
[16:51:28] *** kapil__ has quit IRC
[16:51:34] *** elrabin has joined #angularjs
[16:51:43] *** kakashiAL has joined #angularjs
[16:51:43] *** tristanp has joined #angularjs
[16:51:45] <robob4him> Is anyone here aware of angular's efforts to move to using the shadow-dom? I see rumors but no details. Is angular waiting for the official spec before implementation?
[16:52:22] *** g33k5z has quit IRC
[16:52:22] *** elrabin has quit IRC
[16:52:23] <jaawerth> robob4him: as far as I know, that's all part of 2.0
[16:52:26] *** jotaefe has joined #angularjs
[16:52:28] *** elrabin has joined #angularjs
[16:52:31] *** IvailoStoianov has joined #angularjs
[16:52:35] <jaawerth> shadowDOM, webcomponents, Object.observe, etc
[16:52:36] *** chrisshattuck has joined #angularjs
[16:52:47] *** ries has joined #angularjs
[16:52:49] *** g33k5z has joined #angularjs
[16:53:14] *** bkuberek has quit IRC
[16:53:18] *** optikalmouse has quit IRC
[16:53:46] <ries> hey all, if I have overlapping UI element’s, and want to create a ‘click outside to reset UI’. WHen I add a ng-click on the div wrapping the UI elements I still receive click event’s, even when I click on a button/dropdown. Also as shown here : http://jsfiddle.net/rvantwisk/xyevqu5r/1/ can I prevent that somehow?
[16:53:54] *** nickgs has joined #angularjs
[16:54:15] *** edy has quit IRC
[16:54:49] *** Oxynum has quit IRC
[16:55:40] *** elrabin_ has quit IRC
[16:55:43] *** Siecje has joined #angularjs
[16:55:43] *** toin0u is now known as toin0u|away
[16:55:44] *** StoneCypher has joined #angularjs
[16:55:58] *** Hestil has quit IRC
[16:56:03] *** replicant has joined #angularjs
[16:56:35] *** ivor has quit IRC
[16:57:02] *** ScottIQ has joined #angularjs
[16:57:04] *** ivor has joined #angularjs
[16:57:16] *** larsgk has quit IRC
[16:57:37] *** c0bra has joined #angularjs
[16:58:00] *** jess has joined #angularjs
[16:58:07] <jess> Hi All
[16:58:09] *** Snugug has joined #angularjs
[16:58:13] <c0bra> Is there anyone here that's had luck setting up runnable examples with dgeni?
[16:58:14] <jess> i am new in angular js
[16:58:21] <ScottIQ> I have a show/hide animation question—what I want to do is when something “shows” have it come in from the right of screen and stop dead center, and when it hides, animate off the screen to the left. I can’t seem to get the right combination of css going on to ‘reset’ the object position before the in/out animations happen so it always just goes in and out from one side of the screen. Any suggestions?
[16:58:24] *** jess is now known as Guest69235
[16:58:27] <ScottIQ> Hi Jess :)
[16:58:28] <Guest69235> is it possible define a route after application config has passed?
[16:59:12] <Guest69235> hi ScottIQ Good Morning :)
[16:59:15] *** macabre has joined #angularjs
[16:59:25] *** shaisnir has quit IRC
[16:59:38] *** lsiv568 has joined #angularjs
[16:59:45] *** tga0 has joined #angularjs
[17:00:00] *** shaisnir has joined #angularjs
[17:00:23] *** Solid1 is now known as Solid1_afk
[17:00:28] *** elrabin has quit IRC
[17:00:29] *** ali4ever4 has quit IRC
[17:00:45] *** bbankes has joined #angularjs
[17:00:55] *** robot443 has joined #angularjs
[17:00:56] *** luxifertran has joined #angularjs
[17:01:04] *** elrabin has joined #angularjs
[17:01:11] *** juanpablo____ has quit IRC
[17:01:31] *** juanpablo____ has joined #angularjs
[17:01:32] *** aven1 has joined #angularjs
[17:01:33] *** optikalmouse has joined #angularjs
[17:01:37] *** ptlu has quit IRC
[17:02:12] <tty> i have a “$scope.$on("leafletDirectiveMarker.click", function(event, args) {…..” when i args.leafletEvent.target._icon.src="img/dot_yellow.png”. how can i change back the image when i click again on the marker (using angular-leaflet-directive)
[17:02:39] *** luxifertran has quit IRC
[17:02:50] *** cornerma1 has joined #angularjs
[17:02:54] <Guest69235> is it possible define a route after application config has passed?
[17:03:09] *** swirlycheetah has joined #angularjs
[17:03:20] *** tripu has quit IRC
[17:04:08] *** blomman has quit IRC
[17:04:26] *** pknordic_ has quit IRC
[17:04:41] *** blomman has joined #angularjs
[17:04:44] *** tschunde_ has quit IRC
[17:04:48] *** bayousoft has quit IRC
[17:04:58] *** joroc has quit IRC
[17:04:58] <replicant> unit testing question.. i have a directive that makes a service call that ultimately makes an async request for data and my directive's elements are generated from the response data. what is the "correct" way to test that my elements were created, preferably without having to really invoke that async request. i'm using karma and jasmine. here's a gist of the spec:
[17:05:00] <replicant> https://gist.github.com/megalithic/78b7bc18937a472e384c
[17:05:18] <ScottIQ> Guest69235: You might be able to inject routeprovider into another controller and run more methods—but I’m not sure.
[17:05:28] *** bayousoft has joined #angularjs
[17:05:40] <Foxandxss> cant inject providers on controllers
[17:05:43] *** safani has quit IRC
[17:05:45] *** rafagomes has quit IRC
[17:05:56] *** elrabin has quit IRC
[17:06:12] *** frankh_ has joined #angularjs
[17:06:25] *** cornerman has quit IRC
[17:06:32] *** cornerma1 is now known as cornerman
[17:06:40] *** adibhanna has joined #angularjs
[17:06:42] *** zarglex has quit IRC
[17:06:48] *** ximenean_ has quit IRC
[17:06:53] *** adibhanna has quit IRC
[17:07:07] *** loverajo_ has quit IRC
[17:07:26] *** mkusher has joined #angularjs
[17:07:40] *** MuffinMan` has joined #angularjs
[17:07:53] *** prbc has joined #angularjs
[17:07:53] *** FIFOd[a] has quit IRC
[17:07:59] *** johnstorey has joined #angularjs
[17:08:03] <Slim> Hi guys, quick questino.
[17:08:05] <Slim> question*
[17:08:14] *** jotaefe has quit IRC
[17:08:39] *** Guest69235 has quit IRC
[17:08:49] *** jotaefe has joined #angularjs
[17:09:17] *** Oxynum has joined #angularjs
[17:09:19] *** evotuned has joined #angularjs
[17:09:20] *** aslate has quit IRC
[17:09:33] <Slim> Here's what my current code is: https://gist.github.com/maxmarchuk/0f8da4a4fedd12f09aa1
[17:09:44] *** jackweirdy has quit IRC
[17:09:47] *** cheef has quit IRC
[17:09:54] *** bullicon has joined #angularjs
[17:10:04] <Slim> basically what I want to do is somehow filter the this.y part to 2 decimal places (number:2)
[17:10:09] *** prosper_ has joined #angularjs
[17:10:29] <Slim> I should mention that this is inside a function define in the link function for a directive
[17:10:32] <fernandojsg> sinclair: are you there?
[17:10:40] *** ctanga has joined #angularjs
[17:10:48] <sinclair> fernandojsg: kinda
[17:10:50] *** aslate has joined #angularjs
[17:10:53] <sinclair> what's up?
[17:10:54] <frankh_> anyone have suggests to this gist?
[17:10:55] <frankh_> https://gist.github.com/frankhock/6e1b192b4bd87bc5dd0d
[17:11:04] *** michaelS_ has quit IRC
[17:11:10] *** cthrax has joined #angularjs
[17:11:21] <fernandojsg> sinclair: I was thinking about the rest api idea that you said
[17:11:21] *** michaelSharpe has joined #angularjs
[17:11:28] *** lsiv568 has quit IRC
[17:11:28] <fernandojsg> sinclair: and i have a question, do you use $resource for it or $http?
[17:12:02] <sinclair> fernandojsg: on the angular side? i use $http
[17:12:25] *** robob4him has quit IRC
[17:12:30] *** jackweirdy has joined #angularjs
[17:12:35] *** Lewix has quit IRC
[17:13:01] <fernandojsg> sinclair: ok, so you manage yourself all the resource classes instead of delegate it on angular right?
[17:13:08] *** jotaefe has quit IRC
[17:13:09] <sinclair> fernandojsg: i typically create app.factory('api', function($http) { /* rest api exposed as methods */ })
[17:13:14] *** lsiv568 has joined #angularjs
[17:13:22] <sinclair> then...
[17:13:33] <sinclair> app.controller('ctrl', function($scope, api) {})
[17:13:45] <sinclair> etc
[17:14:11] <sinclair> fernandojsg: operations are restful, but i still like to expose them as a stock method based api
[17:14:34] <jaawerth> yeah, it's nice to abstract the actual URL details from the logic aspect of what you're doing
[17:14:44] *** dannyc_ has joined #angularjs
[17:15:07] *** walden is now known as walden|brb
[17:15:58] *** SomeKittens has joined #angularjs
[17:15:58] *** FIFOd[a] has joined #angularjs
[17:16:01] *** Hestil has joined #angularjs
[17:16:27] *** snapwich has joined #angularjs
[17:16:30] *** tschundeee has joined #angularjs
[17:16:32] *** tga0 has quit IRC
[17:16:39] *** lexek_ has quit IRC
[17:16:43] *** jaredwilli has quit IRC
[17:17:28] <fernandojsg> sinclair: ok, but you dont follow a OOP approach right? I mean you don't have something like user=api.getUser(id) -> returns an instance of class User with methods like user.delete() user.doSomething() ? Instead of return user as json, and you do everything as singleton Api.deleteUser(user.id), Api.doSomething(user.id)
[17:17:40] *** tfennelly has joined #angularjs
[17:17:45] <sinclair> fernandojsg: nah, i keep things pretty flat
[17:17:59] *** conan_the_destro has joined #angularjs
[17:18:04] <sinclair> fernandojsg: you can get fancy, but i usually can't be bothered
[17:18:36] *** jaydubya has quit IRC
[17:18:40] *** ahtik has quit IRC
[17:18:46] <Foxandxss> javascript is not used like PHP or java
[17:19:09] *** jaydubya has joined #angularjs
[17:19:12] *** Mxyzpltk has joined #angularjs
[17:19:19] *** terakilobyte has joined #angularjs
[17:19:29] <sinclair> fernandojsg: you could have something like....
[17:19:30] *** Hackwar1 has joined #angularjs
[17:20:18] <sinclair> api.getCustomer(10).invoices(skip, take) <-- as a promise, but the thought of coding up this model would bore me to tears
[17:20:50] *** jotaefe has joined #angularjs
[17:21:16] *** jaydubya_ has joined #angularjs
[17:21:16] <sinclair> fernandojsg: im far more likely to do.... api.invoices({ customerid: 10, skip: 0, take: 100})
[17:21:22] *** marko_ has joined #angularjs
[17:21:24] *** Hackwar has quit IRC
[17:21:24] <sinclair> or something like that
[17:21:25] <nickeddy> Foxandxss: you'd hope
[17:21:51] *** Efrem is now known as Efrem-Away
[17:21:52] <Foxandxss> uh? :P
[17:21:54] * sinclair wishes JS had better modelling tools
[17:22:02] *** tfennelly has quit IRC
[17:22:06] <sinclair> ah well, maybe next year >_>
[17:22:18] *** phoenixw has joined #angularjs
[17:22:22] *** walden|brb is now known as walden
[17:22:23] <sinclair> fernandojsg: good luck with things mate, im off to sleepz
[17:22:32] <fernandojsg> sinclair: ok
[17:22:37] *** chrisbirk has joined #angularjs
[17:22:39] <nickeddy> fernandojsg: is your API actually restful?
[17:22:44] <fernandojsg> sinclair: thank you ;) good night
[17:22:51] <Slim> Anyone know how I can get angular to actually recognize my expression and apply the filter to the string? https://gist.github.com/maxmarchuk/0f8da4a4fedd12f09aa1
[17:22:54] *** JesuZ has quit IRC
[17:22:57] <fernandojsg> nickeddy: yes
[17:22:57] *** MatheusOl has joined #angularjs
[17:23:01] <nickeddy> fernandojsg: Restangular
[17:23:26] *** terakilobyte has quit IRC
[17:23:27] <fernandojsg> nickeddy: i thought about having a look at it
[17:23:27] <fernandojsg> umm
[17:23:32] *** tristanp has quit IRC
[17:23:39] *** jaydubya has quit IRC
[17:23:56] *** leolrrj has joined #angularjs
[17:24:13] <fernandojsg> nickeddy: does it lets you works as OOP with the resources?
[17:24:15] *** chrisshattuck has quit IRC
[17:24:22] *** VeeWee has quit IRC
[17:24:32] <nickeddy> it's nice. you can do Restangular.one('user', id).getList('invoices')
[17:24:48] *** cannap has quit IRC
[17:24:55] <nickeddy> or Restangular.one('user', id).one('invoice', invoiceID).get()
[17:24:58] <nickeddy> all promise based too
[17:25:03] *** mspier|away is now known as mspier
[17:25:03] <ScottIQ> : Is there any way to immediately move something to a start position with ng-show/hide before the animation starts to the final destinatoin?
[17:25:13] <nickeddy> fernandojsg: https://github.com/mgonto/restangular#lets-code
[17:25:21] *** optikalmouse has quit IRC
[17:25:32] <ScottIQ> if I animate x in ng-hide-add when I do ng-hide-remove and try to jump the x to somewhere else, it doesn’t immediately move the object there.
[17:25:38] <fernandojsg> nickeddy: but you don't have OOP right? you just do singleton calls
[17:25:38] *** shpoont_ has quit IRC
[17:25:45] *** jaydubya_ has quit IRC
[17:25:47] *** mspier is now known as mspier|away
[17:25:54] *** nachinius has quit IRC
[17:26:01] *** mspier|away is now known as mspier
[17:26:02] <fernandojsg> I mean you can't get something if you get a instance of "invocie" will you've the methods exposed by that resource?
[17:26:07] *** shpoont_ has joined #angularjs
[17:26:13] <fernandojsg> invoice = Restangular.blablalbalbal(invoiceid).get()
[17:26:19] <fernandojsg> and then do invoice.delete() invoice.pay()...
[17:26:24] <nickeddy> yeah you can do that.
[17:26:32] <nickeddy> go look
[17:26:44] *** rho_ has quit IRC
[17:26:53] <nickeddy> what are you using on the back end fernandojsg ?
[17:26:54] *** arabot has joined #angularjs
[17:27:02] *** bullicon has quit IRC
[17:27:16] <fernandojsg> python/flaskrestful
[17:27:23] *** FIFOd[a] has quit IRC
[17:27:27] *** jotaefe has quit IRC
[17:27:34] *** chrisshattuck has joined #angularjs
[17:27:54] *** nickgs has quit IRC
[17:28:16] *** tty has quit IRC
[17:28:20] *** MaxV has quit IRC
[17:28:28] *** blomman has quit IRC
[17:28:29] *** tschundeee has quit IRC
[17:28:37] *** denny009 has joined #angularjs
[17:28:54] *** tristanp has joined #angularjs
[17:29:01] *** tschundeee has joined #angularjs
[17:29:02] *** blomman has joined #angularjs
[17:29:11] <denny009> hello all I have a problem with jusmine...it's the right place to ask?
[17:29:19] *** bullicon has joined #angularjs
[17:29:22] <Foxandxss> yes
[17:29:33] *** ivor has quit IRC
[17:31:07] *** jaredwilli has joined #angularjs
[17:31:07] *** moogey has joined #angularjs
[17:31:08] <denny009> ok Foxandxss I've a function private openPortal() that is called at the begginnig and inside has an $http.get how I can test the http get?
[17:31:08] *** FIFOd[a] has joined #angularjs
[17:31:08] *** d4rklit3 has joined #angularjs
[17:31:08] *** falk_netstyler has quit IRC
[17:31:09] *** ivor has joined #angularjs
[17:31:18] <Foxandxss> better show code
[17:31:30] *** joroc has joined #angularjs
[17:31:31] <denny009> Foxandxss: yes just one sec
[17:32:42] *** KushS has quit IRC
[17:32:48] *** foofoobar has quit IRC
[17:33:04] *** Caroga_afk is now known as Caroga
[17:33:08] *** sk87 has joined #angularjs
[17:33:08] *** zumba_addict has joined #angularjs
[17:33:16] <zumba_addict> good morning
[17:33:25] <zumba_addict> fyi, saw this in my feed this morning - http://www.breck-mckye.com/blog/2014/12/the-state-of-javascript-in-2015/
[17:33:27] <denny009> Foxandxss: http://pastebin.com/uMZbf7mf I want to test $sbPortalService.openPortal Something like that: expect(ctx.$sbPortalService.openPortal).toHaveBeenCalled()
[17:33:29] *** mite_mitreski has quit IRC
[17:33:37] *** blomman has quit IRC
[17:33:45] *** howitdo has quit IRC
[17:33:45] *** tschunde_ has joined #angularjs
[17:34:11] *** aven1 has quit IRC
[17:34:16] *** azizur has quit IRC
[17:34:37] <denny009> Foxandxss: I've put before a spyOn(ctx.$sbPortalService, "openPortal") but nothing
[17:34:46] *** busticated has quit IRC
[17:34:49] *** pilva has joined #angularjs
[17:35:09] *** Oddman has joined #angularjs
[17:35:36] *** swirlycheetah has quit IRC
[17:35:37] <Foxandxss> sorry, I can't help right now, hope other can help
[17:36:00] *** jackweirdy has quit IRC
[17:36:10] <denny009> someone else familiar with jasmine?
[17:36:15] *** FIFOd[a] has quit IRC
[17:36:25] *** kertze1 has joined #angularjs
[17:37:01] *** howitdo has joined #angularjs
[17:37:31] *** jackweirdy has joined #angularjs
[17:37:38] *** jaydubya has joined #angularjs
[17:37:50] *** tschundeee has quit IRC
[17:38:01] *** c00ljs has quit IRC
[17:41:43] *** lxsameer has joined #angularjs
[17:41:44] *** caitp has joined #angularjs
[17:41:44] *** busticated has joined #angularjs
[17:41:44] *** ScottIQ_ has joined #angularjs
[17:41:45] *** ciwolsey has quit IRC
[17:41:45] *** ciwolsey has joined #angularjs
[17:41:46] *** tristanp has quit IRC
[17:41:46] <lxsameer> hey guys, I have two ng-show in my page, when page loads for a moment I can see both of them, ( the conditions are opposite) how can I prevent that?
[17:41:47] *** Oxynum has quit IRC
[17:42:35] <denny009> lxsameer: have you tried with ng-if?
[17:42:38] *** swist has joined #angularjs
[17:42:51] *** ScottIQ has quit IRC
[17:42:51] *** ScottIQ_ is now known as ScottIQ
[17:42:55] <lxsameer> denny009: no since ng-if changes the scope
[17:42:56] *** Sathya has joined #angularjs
[17:43:05] <Sathya> Hi
[17:43:53] <denny009> lxsameer: and trying to initialize the variable at the beggining?
[17:43:54] <kertze1> im trying to use ng-checked to have a checkbox checked by default. it seems to work as the checkbox is initially checked on page load. however, when submitted without manually being checked its value is undefined. what gives?
[17:44:18] *** juanpablo____ has quit IRC
[17:44:18] *** qdk has quit IRC
[17:44:28] *** juanpablo_ has joined #angularjs
[17:44:28] <nickeddy> lxsameer: <div ng-show="someScopeVar"></div> <div ng-hide="!someScopeVar"></div>
[17:44:28] <lxsameer> denny009: what do you mean ?
[17:44:33] <nickeddy> like that?
[17:45:00] <denny009> lxsameer: at the beggining of your controller $scope.showTab = false
[17:45:04] *** Raging_Hog has quit IRC
[17:45:05] *** SargoDarya has quit IRC
[17:45:09] *** rafagomes has joined #angularjs
[17:45:13] *** ScottIQ has quit IRC
[17:45:19] *** jackweirdy has quit IRC
[17:45:30] <lxsameer> nickeddy: no not working
[17:45:43] <lxsameer> denny009: ah yeah I did that
[17:45:56] <lxsameer> denny009: when page loads for a second I can see both
[17:46:21] <denny009> lxsameer: I don't know
[17:46:23] *** chrisshattuck has quit IRC
[17:46:39] <StoneCypher> what's the best starting point for an experienced dev who wants to get up and running in angular quickly, and doesn't want something like a why's guide
[17:46:51] <StoneCypher> just a link to a book, a tutorial, even a title would be awesome
[17:47:07] *** mikeyeee is now known as mikerrrrrr
[17:48:34] *** TeddyMurray has quit IRC
[17:48:50] *** cacts has quit IRC
[17:49:04] <StoneCypher> i confess to great surprise that in two days i haven't gotten an answer despite an active channel. i feel like i'm missing something
[17:49:31] *** chrisshattuck has joined #angularjs
[17:49:34] *** rikko has quit IRC
[17:50:13] *** azizur has joined #angularjs
[17:50:19] *** chrisbirk has quit IRC
[17:50:35] *** rafagomes has quit IRC
[17:51:43] *** IvailoStoianov has quit IRC
[17:51:57] <c0bra> the tutorial on angularjs.org is the best place
[17:52:01] <c0bra> and then egghead.io
[17:52:15] *** sherlock1 has joined #angularjs
[17:52:28] *** ehynds has quit IRC
[17:52:59] *** kuadrosx_ has joined #angularjs
[17:53:19] <sherlock1> not sure if its a relevant place.. angular batarang current code doesnt seem to work
[17:53:24] *** kuadrosx has quit IRC
[17:53:42] *** {DV8} has joined #angularjs
[17:53:54] <nickeddy> sherlock1: use ng-inspector, issues with batarang lately
[17:54:12] *** ScottIQ has joined #angularjs
[17:54:12] *** ahtik has joined #angularjs
[17:54:14] *** tkh44 has joined #angularjs
[17:54:55] *** Solid1_afk is now known as Solid1
[17:55:46] *** TeddyMurray has joined #angularjs
[17:55:51] *** tkh44 has quit IRC
[17:56:08] <sherlock1> nickeddy:oh cool thanks :) i was kind of hoping to submit a patch for batarang
[17:56:23] *** IvailoStoianov has joined #angularjs
[17:56:31] <nickeddy> sherlock1: you may be able to, project is on github. though i think the guy who created it is working on it
[17:56:46] *** nfroidure has quit IRC
[17:56:47] *** smurby has quit IRC
[17:58:04] *** tkh44 has joined #angularjs
[17:59:13] *** denny009 has quit IRC
[17:59:16] *** AlSquirikou has joined #angularjs
[17:59:22] *** Mosselma1 has quit IRC
[17:59:43] *** nickgs has joined #angularjs
[17:59:46] *** Johnny13371337 has quit IRC
[18:01:31] *** aven1 has joined #angularjs
[18:01:35] *** loverajoel has joined #angularjs
[18:02:00] *** AlSquirrel has quit IRC
[18:03:36] *** scythe__ has joined #angularjs
[18:03:37] *** joroc has quit IRC
[18:04:10] *** lolmaus has quit IRC
[18:04:44] *** asheshambasta has quit IRC
[18:04:53] *** Menorah has joined #angularjs
[18:05:00] *** bayousoft has quit IRC
[18:05:25] *** richiebkr has joined #angularjs
[18:05:25] *** Menorah has quit IRC
[18:05:44] *** jstroem has joined #angularjs
[18:05:54] *** jstroem has quit IRC
[18:05:56] *** dylang has joined #angularjs
[18:06:53] *** richiebk_ has joined #angularjs
[18:06:55] *** richiebkr has quit IRC
[18:07:18] *** yelvert has joined #angularjs
[18:07:44] *** fenduru has joined #angularjs
[18:07:51] *** richiebk_ has quit IRC
[18:07:54] *** richiebkr has joined #angularjs
[18:08:22] *** charuru has joined #angularjs
[18:08:24] <dmack> sherlock1: batarang is busted atm
[18:08:36] *** Sky[x] has quit IRC
[18:09:11] *** KenavR has joined #angularjs
[18:09:15] *** chrisshattuck has quit IRC
[18:09:27] *** gregc2 has joined #angularjs
[18:09:27] *** gregc2 is now known as ioudas
[18:09:32] *** Sathya has quit IRC
[18:09:36] <fenduru> I'm writing a directive that has a <select> in it, and that select is generated based on the elements transcluded by my directive. I'm running into an issue where if the transcluded content is created with ngRepeat, I don't have a way of knowing when the repeated elements are $animate.move'd
[18:09:48] *** phoenixw has quit IRC
[18:10:21] *** red_horned_rihno has joined #angularjs
[18:11:00] <stylemistake> i feel like an idiot
[18:11:09] *** rikkipitt has quit IRC
[18:11:34] <stylemistake> i wrote a simple REST API to get, update, save calendar events
[18:11:41] *** sk87 has quit IRC
[18:11:46] <stylemistake> and I have a simple UI with dummy data
[18:12:08] <stylemistake> I attached $http to .get methods
[18:12:21] <stylemistake> and I got hundreds of requests
[18:12:39] *** nickgs has quit IRC
[18:12:44] *** mikehaas763 has joined #angularjs
[18:13:08] *** mikehaas763 is now known as Guest34772
[18:13:24] <stylemistake> idk what to do
[18:13:59] *** tomphp has quit IRC
[18:14:32] *** Guest34772 is now known as mikehaas763
[18:15:24] *** juampy is now known as juampy_backlater
[18:16:05] *** Caroga is now known as Caroga_afk
[18:16:45] *** chr1stopher has joined #angularjs
[18:17:53] *** recidive has quit IRC
[18:17:58] *** tangorri has quit IRC
[18:18:28] *** deanclkclk has quit IRC
[18:18:36] *** chrisshattuck has joined #angularjs
[18:18:47] *** merobertsjr has joined #angularjs
[18:19:00] *** bzitzow has joined #angularjs
[18:19:13] *** zackiv31 has quit IRC
[18:20:00] *** zwacky has quit IRC
[18:20:02] *** frankblizzar has quit IRC
[18:21:04] *** ahtik has quit IRC
[18:21:23] *** nemothekid has joined #angularjs
[18:21:34] *** nemothekid has quit IRC
[18:22:18] *** adben has quit IRC
[18:22:37] *** mica has joined #angularjs
[18:23:01] *** mica has left #angularjs
[18:23:12] *** fernandojsg has quit IRC
[18:23:43] <EdwardIII> stylemistake: can you do some kind of throttling in angular? so it only sends an update on get() change every, say, 1s?
[18:23:44] *** lxsameer has quit IRC
[18:24:00] <nickeddy> EdwardIII: can do ng-model-options debounce
[18:24:07] *** Caroga_afk is now known as Caroga
[18:24:12] <EdwardIII> stylemistake: maybe try looking into that
[18:24:24] *** evilaliv3 has quit IRC
[18:24:54] *** rhp has joined #angularjs
[18:26:00] *** rkjdid has quit IRC
[18:26:03] *** juanpablo_ has quit IRC
[18:26:17] <stylemistake> EdwardIII: shortly about the app
[18:26:26] *** juanpablo_ has joined #angularjs
[18:26:53] *** jaznow has quit IRC
[18:26:59] *** johnstorey has quit IRC
[18:27:06] <EdwardIII> stylemistake: you making something autosave?
[18:27:37] <stylemistake> It shows a calendar with events. It has 5-6 event views for each week, each event has a corresponding bubble near the day.
[18:27:39] *** qdk has joined #angularjs
[18:27:50] <stylemistake> In short: I need all information about the month
[18:28:00] <stylemistake> and on each update i need to update everything
[18:28:13] *** IvailoStoianov has quit IRC
[18:28:18] *** rchavik has quit IRC
[18:29:04] *** jlebrech has quit IRC
[18:29:13] *** Snugug has quit IRC
[18:29:15] *** AlSquirikou has quit IRC
[18:29:25] <stylemistake> but I don't know how to minimize amount of http requests
[18:29:45] <stylemistake> i thought first about having a middleware storage
[18:30:11] *** jdivock has quit IRC
[18:30:45] *** hell_razer has quit IRC
[18:30:55] <stylemistake> but I'm afraid of thinking how to check for changes and flush everything to REST, and also I need filtering by day - means i need indexes
[18:31:00] *** atomi has joined #angularjs
[18:31:01] <stylemistake> D:
[18:31:32] *** joroc has joined #angularjs
[18:31:40] *** Siyfion has quit IRC
[18:32:30] *** moogey is now known as zz_moogey
[18:32:48] *** Superhard has quit IRC
[18:33:18] *** ycodr has quit IRC
[18:33:57] *** Proditor has quit IRC
[18:34:14] *** mbenadda has quit IRC
[18:34:31] *** tschunde_ has quit IRC
[18:34:35] *** aven1 has quit IRC
[18:34:37] *** whunt has joined #angularjs
[18:34:53] *** mmealling has quit IRC
[18:34:57] *** prbc has quit IRC
[18:35:01] *** Proditor has joined #angularjs
[18:35:07] *** asheshambasta has joined #angularjs
[18:35:10] *** FIFOd[a] has joined #angularjs
[18:35:28] *** juanpablo_ has quit IRC
[18:35:33] *** juanpablo__ has joined #angularjs
[18:35:45] *** mven has joined #angularjs
[18:35:46] *** JesuZ has joined #angularjs
[18:36:04] *** dannyc has quit IRC
[18:36:06] *** japhar81 has quit IRC
[18:36:29] *** JesuZ has joined #angularjs
[18:36:37] *** TommyO has quit IRC
[18:36:37] *** marko_ is now known as cannap
[18:36:38] *** dannyc_ has quit IRC
[18:37:03] *** IvailoStoianov has joined #angularjs
[18:37:42] *** pushpak has joined #angularjs
[18:37:44] *** shyshy has joined #angularjs
[18:37:50] *** ximenean_ has joined #angularjs
[18:38:21] *** japhar81 has joined #angularjs
[18:38:23] *** ScottIQ has quit IRC
[18:38:28] *** shpoont_ has quit IRC
[18:38:38] *** JesuZ has quit IRC
[18:40:02] *** juanpablo__ has quit IRC
[18:40:17] *** Nivag_ has joined #angularjs
[18:40:19] *** juanpablo___ has joined #angularjs
[18:40:21] *** Fishy has joined #angularjs
[18:40:43] *** dannyc has joined #angularjs
[18:41:13] *** dsdeiz has quit IRC
[18:41:13] *** m8 has quit IRC
[18:41:39] *** Nurbs has joined #angularjs
[18:42:21] *** RobinBAwesome has joined #angularjs
[18:42:27] *** sbellina has joined #angularjs
[18:42:53] *** Fishy has quit IRC
[18:42:58] *** TeddyMurray has quit IRC
[18:43:46] *** tga0 has joined #angularjs
[18:43:49] *** tfennelly has joined #angularjs
[18:44:16] *** g33k5z has quit IRC
[18:44:22] *** ngbot has joined #angularjs
[18:44:22] <ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/8jkD0g
[18:44:22] <ngbot> angular.js/master 56a7abd Olivier Giulieri: docs(guide): fix typo...
[18:44:22] *** ngbot has left #angularjs
[18:44:42] *** g33k5z has joined #angularjs
[18:45:03] *** juanpablo___ has quit IRC
[18:45:17] *** c00ljs has joined #angularjs
[18:45:20] *** lexek_ has joined #angularjs
[18:45:21] *** juanpablo___ has joined #angularjs
[18:45:46] *** SargoDarya has joined #angularjs
[18:46:03] *** ogdabou has quit IRC
[18:47:24] *** sbellina has quit IRC
[18:47:46] *** tfennelly has quit IRC
[18:48:00] *** TommyO has joined #angularjs
[18:48:02] *** phzon has quit IRC
[18:48:20] *** tfennelly has joined #angularjs
[18:48:47] *** mchammer has quit IRC
[18:49:19] *** g33k5z has quit IRC
[18:49:51] *** azizur has quit IRC
[18:50:15] *** greengriminal has quit IRC
[18:50:18] *** SargoDarya has quit IRC
[18:50:33] *** axsuul has joined #angularjs
[18:50:48] *** johnstorey has joined #angularjs
[18:50:48] *** axsuul has quit IRC
[18:51:15] *** azizur has joined #angularjs
[18:51:29] *** axsuul has joined #angularjs
[18:52:42] *** tfennelly has quit IRC
[18:53:04] *** JeffBuhrt has joined #angularjs
[18:54:23] *** thomas_train has joined #angularjs
[18:54:28] *** Superhard has joined #angularjs
[18:54:35] <thomas_train> Is there an angularjs development tool beta?
[18:54:38] *** steeze has joined #angularjs
[18:54:43] *** Nurbs_ has joined #angularjs
[18:55:18] *** mmealling has joined #angularjs
[18:55:39] *** snapwich has quit IRC
[18:55:50] *** snapwich has joined #angularjs
[18:56:17] *** Nurbs has quit IRC
[18:56:50] *** larsgk has joined #angularjs
[18:56:57] *** elrabin has joined #angularjs
[18:57:19] *** IvailoStoianov_ has joined #angularjs
[18:57:25] *** snapwich has quit IRC
[18:57:31] *** snapwich has joined #angularjs
[18:57:43] *** snapwich has quit IRC
[18:57:56] *** snapwich has joined #angularjs
[18:58:17] <vonnegut> webstorm and batarang..
[18:58:26] <vonnegut> together, pretty potent stuff
[18:59:15] *** ximenean_ has quit IRC
[18:59:52] *** IvailoStoianov has quit IRC
[18:59:54] *** IvailoStoianov_ is now known as IvailoStoianov
[19:00:01] *** Nurbs_ is now known as Nurbs
[19:00:23] *** wallerdev has joined #angularjs
[19:00:26] *** mnngfltg has quit IRC
[19:00:55] *** frem has joined #angularjs
[19:01:04] *** KushS has joined #angularjs
[19:01:09] *** jdivock has joined #angularjs
[19:01:24] *** shaisnir has quit IRC
[19:01:40] *** aven1 has joined #angularjs
[19:01:57] *** Hounddog has quit IRC
[19:02:12] *** jdj_dk has joined #angularjs
[19:02:12] *** elrabin has quit IRC
[19:02:26] *** Guest6138 is now known as Sasha
[19:02:31] *** nickgs has joined #angularjs
[19:02:39] *** elrabin has joined #angularjs
[19:02:51] *** Hounddog has joined #angularjs
[19:03:06] *** thomas_train has quit IRC
[19:03:15] <robdubya> morning peeps
[19:03:28] *** recidive has joined #angularjs
[19:03:35] <nickeddy> morning robdubya
[19:04:12] *** opiates has joined #angularjs
[19:04:27] *** davi has joined #angularjs
[19:05:18] *** joroc has quit IRC
[19:05:39] *** Meo has joined #angularjs
[19:05:45] <Meo> helo
[19:05:57] *** TommyO has quit IRC
[19:06:05] *** Meo has quit IRC
[19:06:32] *** jdj_dk has quit IRC
[19:06:46] *** jbourassa has joined #angularjs
[19:07:02] *** elrabin has quit IRC
[19:07:09] *** jMyles has joined #angularjs
[19:07:20] *** jash has joined #angularjs
[19:07:21] *** merobertsjr has quit IRC
[19:07:22] *** mak`` has quit IRC
[19:07:23] *** Ax` has joined #angularjs
[19:07:25] *** Hestil has quit IRC
[19:07:37] *** doginal has joined #angularjs
[19:07:51] *** tristanp has joined #angularjs
[19:07:58] <Ax`> Is there something special that needs to be done to get angularjs/requirejs to work correctly with $routeProvider?
[19:08:15] <Ax`> I can't seem to get the routeProvider to acknowledge my controller
[19:08:38] *** TheDreamIsReal has joined #angularjs
[19:09:39] *** TeddyMurray has joined #angularjs
[19:09:47] *** shpoont_ has joined #angularjs
[19:10:16] *** sherlock1 has quit IRC
[19:11:44] *** iribarne has joined #angularjs
[19:12:20] *** evotuned has quit IRC
[19:12:23] *** ko3t has joined #angularjs
[19:12:30] <dmack> yeah, dont use requirejs
[19:12:34] *** tomzx_ has joined #angularjs
[19:12:35] <dmack> :)
[19:12:37] *** braidn has quit IRC
[19:12:56] <dmack> non cynical answer: need to see code
[19:12:59] *** \du has quit IRC
[19:13:18] *** g3funk has joined #angularjs
[19:13:24] *** AimerPaddle has joined #angularjs
[19:13:56] *** wowa has joined #angularjs
[19:13:59] <Ax`> 2 secs i'll try and post this up on jsfiddle
[19:14:18] *** nabdev has quit IRC
[19:14:22] <Ax`> actually, is there a preferred way of loading dependences if not using require then?
[19:14:25] *** MistahKurtz has joined #angularjs
[19:14:39] <Ax`> i looked into browserify but that seemed to be dependent on node.js and i'm working with a .net back-end
[19:15:13] <Foxandxss> load them all
[19:15:13] <Foxandxss> :P
[19:15:15] <dmack> i've never used a script loader.
[19:15:16] <dmack> ever.
[19:15:23] *** jneto has joined #angularjs
[19:15:28] <dmack> the overhead is brings / complexity is hardly worth it.
[19:15:44] <dmack> (in my opinion)
[19:16:07] *** Johnny13371337 has joined #angularjs
[19:16:25] *** jneto has left #angularjs
[19:16:26] *** FIFOd[a] has quit IRC
[19:17:16] *** RobinBAwesome_ has joined #angularjs
[19:18:41] *** iribarne_ has joined #angularjs
[19:19:02] *** RobinBAwesome has quit IRC
[19:19:02] *** RobinBAwesome_ is now known as RobinBAwesome
[19:19:27] *** A___ has joined #angularjs
[19:20:17] *** iribarne has quit IRC
[19:20:18] *** iribarne_ is now known as iribarne
[19:20:42] *** azizur has quit IRC
[19:21:35] *** A___ has quit IRC
[19:22:03] *** dan2k3k4k5 has quit IRC
[19:22:08] *** davidreis has quit IRC
[19:22:49] <oniijin> if im using bootstrap and ui-bootstrap, how should I set up bower/grunt to tell it that I don't want to use the js in bootstrap, and not have jq dep?
[19:23:04] *** SuRfDeMoN has quit IRC
[19:23:37] *** asheshambasta has quit IRC
[19:23:38] *** jdivock has quit IRC
[19:23:47] *** shackleford has quit IRC
[19:23:48] *** Oxynum has joined #angularjs
[19:24:17] *** Sadin has joined #angularjs
[19:24:18] <DigitallyBorn> Is there a pattern that I can use to load config values (via $http) and make any subsequent $http wait until it's loaded?
[19:24:25] *** Efrem-Away is now known as Efrem
[19:24:37] *** g33k5z has joined #angularjs
[19:24:38] *** xxMatiasFxx has quit IRC
[19:24:42] *** lolmaus has joined #angularjs
[19:25:13] <DigitallyBorn> We have an automated build system that drops environment variables in a json file. I need to read that, then use in the url of a $resource factory
[19:25:21] *** MacWinner has joined #angularjs
[19:25:35] *** tomzx_ has quit IRC
[19:25:44] *** Aerospark has joined #angularjs
[19:25:44] *** tomzx_ has joined #angularjs
[19:26:36] *** threesixes has joined #angularjs
[19:27:19] *** swist has quit IRC
[19:27:20] *** lugzer has quit IRC
[19:27:25] <Ax`> ok screw it, i'll ditch the script loader for now
[19:27:26] *** hell_razer has joined #angularjs
[19:27:35] <Ax`> it's already given me 2 days of grief
[19:27:38] *** hell_razer has quit IRC
[19:28:12] *** aslate has quit IRC
[19:28:16] *** hell_razer has joined #angularjs
[19:28:22] *** bullicon has quit IRC
[19:28:43] *** shpoont_ has quit IRC
[19:29:17] *** hell_razer has quit IRC
[19:29:30] *** gvanderest has joined #angularjs
[19:30:01] *** DevX101 has joined #angularjs
[19:30:10] *** tschundeee has joined #angularjs
[19:30:38] *** iribarne has quit IRC
[19:30:52] *** leolower has joined #angularjs
[19:31:08] *** recurrence has joined #angularjs
[19:31:16] *** hell_razer has joined #angularjs
[19:31:24] *** Hestil has joined #angularjs
[19:31:25] *** conan_the_destro has quit IRC
[19:31:35] *** joroc has joined #angularjs
[19:31:40] *** jdivock has joined #angularjs
[19:31:46] *** James has joined #angularjs
[19:31:56] *** merobertsjr has joined #angularjs
[19:32:03] *** davi has quit IRC
[19:32:03] *** hell_razer has quit IRC
[19:32:05] *** PigDude_ has joined #angularjs
[19:32:10] *** James is now known as Guest54285
[19:32:34] *** conan_the_destro has joined #angularjs
[19:32:42] *** hell_razer has joined #angularjs
[19:32:45] *** bengilli_ has quit IRC
[19:32:48] *** t_smith has joined #angularjs
[19:33:04] <PigDude_> OOP in angular ... as far as I can tell the two ways to construct new objects in an organized fashion is via constructor-as-value, or factory returning constructor. am i missing something?
[19:33:09] *** gvanderest has quit IRC
[19:33:23] *** gvanderest has joined #angularjs
[19:33:26] <PigDude_> (and their analogs, factory functions)
[19:33:27] <Guest54285> Dear Programmers, I am a beginner in Angularjs and need a help. I need to display values from json to angular table which has sort, edit and search feature.. can anyone guide me. thanks in advance
[19:33:46] *** gvanderest has quit IRC
[19:33:52] *** t_smith has quit IRC
[19:33:56] *** hell_razer has quit IRC
[19:34:02] *** gvanderest has joined #angularjs
[19:34:18] <PigDude_> what i'm getting at is that by convention, values and factories in angular are lowerCase, not CamelCase ... as a user of one of those dependencies, i'd expect them to be CamelCase there.
[19:34:38] <PigDude_> however, the restmod project, for instance, happily is lowerCase ... which as a user I found confusing
[19:34:54] *** tschundeee has quit IRC
[19:34:57] *** mbenadda has joined #angularjs
[19:35:13] *** aven1 has quit IRC
[19:35:37] *** IvailoStoianov has quit IRC
[19:35:54] <Foxandxss> that is confusing for me as well
[19:35:59] *** nickgs has quit IRC
[19:36:02] *** hell_razer has joined #angularjs
[19:36:07] *** Aerospark has quit IRC
[19:36:14] *** Snugug has joined #angularjs
[19:36:28] <jaawerth> I've decided to always stick with the JS convention
[19:36:39] <Foxandxss> that is a good idea as well
[19:36:40] <jaawerth> if it's a constructor, I'll user uppercase
[19:36:40] <PigDude_> the trouble is that if i return a bare factory function, there is no way to reuse the constructor/prototype it is tied to
[19:36:47] <jaawerth> otherwise, lowercase all the wayyyy
[19:36:57] <jaawerth> sure there is
[19:37:00] <jaawerth> I do it all the time
[19:37:03] *** Aerospark has joined #angularjs
[19:37:14] <PigDude_> and if i return the constructor and define a factory function on it, then it's foo.makeBar() ... which is confusing because should read Foo.makeBar()
[19:37:19] <jaawerth> that's kind of what factories are for, though people often use them differently
[19:37:20] *** OnkelTem has quit IRC
[19:37:37] <PigDude_> jaawerth: how do you expose the constructor?
[19:37:56] <PigDude_> jaawerth: (for extension, while keeping things safe and simple for the dependency user?)
[19:38:02] *** vassagus has quit IRC
[19:38:10] *** OnkelTem has joined #angularjs
[19:38:11] *** pilva has quit IRC
[19:38:11] *** FunnyLookinHat_ has joined #angularjs
[19:38:12] *** hell_razer has joined #angularjs
[19:38:16] *** lemur has joined #angularjs
[19:38:24] <Guest54285> @Foxandxss I need to display values from json to angular table which has sort, edit and search feature.. can anyone guide me. thanks in advance
[19:38:33] *** vassagus has joined #angularjs
[19:38:33] <Ax`> if choosing not to use a script loader, is there a preferred structure for apps?
[19:38:36] <PigDude_> jaawerth: OK so you break convention for factories returning constructors, and for values that are consturctors?
[19:38:38] <Foxandxss> Guest54285: do angular tutorial
[19:38:41] <Foxandxss> and learn angular
[19:38:45] <jaawerth> angular.module('app').factory('Foo', function() { function Foo() { this.foo = 'hi!'; } return Foo; })
[19:38:48] *** tfennelly has joined #angularjs
[19:38:56] <PigDude_> ok so you prefer to expose the constructor ...
[19:39:06] *** hell_razer has quit IRC
[19:39:15] <jaawerth> sometimes I'll use one factory to expose an object of them, if they're all related
[19:39:38] *** mbenadda has quit IRC
[19:39:45] <jaawerth> anyway, now I can instantiate as many foos as I want, and if I need a singleton I just inject that factory into a service and return an instantiated object from it
[19:39:51] *** chr1stopher has quit IRC
[19:39:55] *** pilva has joined #angularjs
[19:39:58] <PigDude_> what, like .factory('ZooAnimals', function() { function Pig ... function Cat ... return { Pig: Pig, Cat: Cat ... } ?
[19:39:59] *** lsiv568 has quit IRC
[19:40:12] <PigDude_> (re: one factory to expose obejct of them)
[19:40:13] *** tomzx_ is now known as tomzx
[19:40:31] <jaawerth> yeah, if I think it will help me stay organized I'll do it that way
[19:40:37] *** red_horned_rihno has quit IRC
[19:40:39] *** FunnyLookinHat has quit IRC
[19:40:44] <jaawerth> but in that case, the actual wrapper object is camelCased, but the properties are uppercase
[19:41:07] *** red_horned_rihno has joined #angularjs
[19:41:23] *** sandelius has joined #angularjs
[19:41:28] *** AngularUI has joined #angularjs
[19:41:29] <AngularUI> [ng-grid] jadelane opened pull request #2396: user-configurable expandableRowHeaderColDef (master...make-expand-user-configurable) http://git.io/4NjWfg
[19:41:29] *** AngularUI has left #angularjs
[19:41:35] *** wowa has quit IRC
[19:41:39] *** Aerospark has quit IRC
[19:41:56] *** ngbot has joined #angularjs
[19:41:56] <ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/xh_eaw
[19:41:57] <ngbot> angular.js/master 661f6d9 Pawel Kozlowski: fix(orderBy): compare timestamps when sorting date objects...
[19:41:57] *** ngbot has left #angularjs
[19:41:59] <PigDude_> ok thanks jaawerth
[19:42:15] * PigDude_ quietly updates style guide
[19:42:26] *** lemur has quit IRC
[19:42:44] *** vassagus has quit IRC
[19:42:48] <Guest54285> @Foxandxss Yes, I did tutorial and now understand some basics like controller, directive..but it would be helpful if someone suggest me plugins which provides table which is sortable, editable with pagination
[19:42:58] *** g33k5z has quit IRC
[19:43:00] *** lemur has joined #angularjs
[19:43:05] *** scriptThis has joined #angularjs
[19:43:11] *** tfennelly has quit IRC
[19:43:25] *** g33k5z has joined #angularjs
[19:43:44] *** robksawyer has joined #angularjs
[19:44:07] <gvanderest> Guest54285: http://angular-ui.github.io/ng-grid/ looks like it might be what you're looking for
[19:44:08] *** japhar81 has quit IRC
[19:44:17] <Guest54285> @Foxandxss sorry, I searched and found ng-table, ng-grid and smart-table, but can you recommend which one to opt or is there any better alternate to do this.. JSON file to table with sort, edit and pagination
[19:44:25] <gvanderest> I just saw a commit to their codebase a few lines above, which might actually answer your quesition
[19:44:28] <PigDude_> Guest54285: maybe better to choose one UI library and stick with it, if you choose by popularity you'll end up with a project that combines jquery ui with bootstrap with custom widgets with god knows what
[19:44:51] <Foxandxss> that is a good advice
[19:45:03] <gvanderest> Guest54285: And as PigDude_ is alluding to.. maybe take a look at focusing on using something like AngularUI -- a single project, into your own.. then you can possibly look into merging missing functionality into that
[19:45:10] <gvanderest> or even writing your own as a a learning tool
[19:45:32] <PigDude_> you can always use goog.ui :D
[19:45:34] * PigDude_ hides
[19:46:00] *** hiddentoken has joined #angularjs
[19:46:07] *** Aliks has joined #angularjs
[19:46:37] *** pilva has quit IRC
[19:46:38] *** adamsilver_ has quit IRC
[19:46:44] *** hiddentoken has joined #angularjs
[19:46:53] *** dc_ has joined #angularjs
[19:47:00] *** IvailoStoianov has joined #angularjs
[19:47:04] *** apoorvparijat has quit IRC
[19:47:21] <Guest54285> @gvanderest @PigDude_ @Foxandxss thanks for replies.. I am using bootstrap for ui.. I saw ng-grid has performance issues.. if so do we have any alternate to ng-grid
[19:47:29] *** hiddentoken has joined #angularjs
[19:47:49] *** g33k5z has quit IRC
[19:47:54] *** lemur has quit IRC
[19:48:02] <Foxandxss> no idea, I dont like tables
[19:48:08] <gvanderest> Guest54285: One thing you'll find with most AngularJS projects is that unless you write it yourself or know the data/implementation inside-out-and-backwards, there will always be performance issues.
[19:48:15] <jaawerth> ng-grid just has a lot going on, so it can have perf issues if you're dealing with lots of objects
[19:48:18] *** hiddentoken has joined #angularjs
[19:48:27] <gvanderest> If you give too large of a dataset to anything, you probably need to refactor how you're implementing your idea anyways.
[19:48:36] <jaawerth> it's simple enough to generate your own tables for something simple, but I've heard good things about "smart-tables"
[19:48:48] *** marr has quit IRC
[19:49:06] *** hiddentoken has joined #angularjs
[19:49:17] <Guest54285> @jaawerth does smart-table support inline editing?
[19:49:35] *** marr has joined #angularjs
[19:49:37] *** jmckind has quit IRC
[19:49:50] *** jmckind has joined #angularjs
[19:50:05] *** ngbot has joined #angularjs
[19:50:05] <ngbot> [angular.js] caitp pushed 1 new commit to master: http://git.io/rj3iiw
[19:50:05] <ngbot> angular.js/master ae637ac Ben Nelson: docs(api/index): grammar is important and so should you...
[19:50:05] *** ngbot has left #angularjs
[19:50:20] *** ngbot has joined #angularjs
[19:50:21] <ngbot> [angular.js] caitp pushed 1 new commit to v1.2.x: http://git.io/Jr8wSA
[19:50:21] <ngbot> angular.js/v1.2.x c5eb0b7 Ben Nelson: docs(api/index): grammar is important and so should you...
[19:50:21] *** ngbot has left #angularjs
[19:50:22] <Guest54285> @gvanderest true.. I agree what you are saying.. currently my view might handle like 200 records.. I hope ng-grid will be able to handle it
[19:50:27] <jaawerth> No, but 1) it's simple and extensible (which is why it's got better performance) and takes care of stuff like pagination. 2) you can easily write your own directive for that
[19:50:41] <gvanderest> Guest54285: It really should be able to, if it chokes on 200 records.. then I would be very surprised.
[19:51:05] <gvanderest> When you get into the territory of 1,000+ then you should probably look at performance improvements, as each record probably has a watcher on its own.. let alone each column within
[19:51:05] <jaawerth> oh, and 3) modules that try and give you EVERYTHING like that just leave you stuck with bloated modules that do a bunch of things ok, but none of them really well, and directives empower you to write the best possible widget for your use-case
[19:51:12] *** kertze1 has quit IRC
[19:51:27] <Guest54285> @gvanderest yup! :)
[19:51:32] <jaawerth> and yeah, ui-grid starts to choke more around 2000+ I think
[19:51:44] <jaawerth> it helps if you use bindOnce where possible
[19:51:49] *** DevX101 has quit IRC
[19:51:56] *** lsiv568 has joined #angularjs
[19:52:10] <gvanderest> yeah, using {{ ::var }}-style bindings is nice if you know the values won't change
[19:52:17] *** Shai-Tan has quit IRC
[19:52:26] *** DevX101 has joined #angularjs
[19:52:29] <Guest54285> @Foxandxss @gvanderest thanks so much for helping me.. :)
[19:52:41] *** hiddentoken has joined #angularjs
[19:52:44] <gvanderest> No worries.
[19:53:55] *** kent\n has quit IRC
[19:54:15] <Guest54285> @jaawerth thanks so much for taking time to guide me.. :) I'll go ahead and use smart table.. can you give me few pointers if any on writing custom directive for smart-table for inline editing..
[19:54:27] *** ries has quit IRC
[19:54:30] *** jmckind has quit IRC
[19:54:34] <dmack> Guest54285: you can use xEditable with smartTable
[19:54:36] <dmack> works well.
[19:54:37] *** tyfighter has joined #angularjs
[19:54:47] <dmack> https://github.com/vitalets/angular-xeditable
[19:54:48] <jaawerth> ^^
[19:54:59] <Guest54285> @dmack wow.. thats cool.. will xeditable work with smart table
[19:55:00] <Guest54285> ?
[19:55:05] <dmack> yes
[19:55:11] <jaawerth> if one were to write a custom directive, though, it's less about writing it to work with smart-table as it is writing it as a reusable widget
[19:55:18] <jaawerth> aka custom element
[19:55:19] *** fotoflo has joined #angularjs
[19:55:22] <dmack> really, xeditable might be too heavy
[19:55:24] <dmack> it does a lot.
[19:55:36] <dmack> but if there's a lot of editting going on, could be worth it
[19:55:46] *** tyfighter has joined #angularjs
[19:55:53] <gvanderest> The one part I love about directives though.. is assuming they're designed intelligently, you can interchange one with another.
[19:56:01] <gvanderest> Prove array of data, use one table or the other.. whatever
[19:56:06] <gvanderest> Provide*
[19:56:14] <jaawerth> basically you'd write a directive with two templates (but bound to the same data): one that has your editor mode and one that just displays
[19:56:22] <Guest54285> @dmack yes.. xeditable will do the work i guess..
[19:56:29] *** rsdev has joined #angularjs
[19:56:44] <dmack> right.
[19:56:54] *** DevX101 has quit IRC
[19:57:00] <gvanderest> Heh, in that case, consider using "ng-if" for that case, because it would suck to use "ng-show/hide" and have it compile/render both on the screen at a time and waste processing power.
[19:57:17] *** JERE has joined #angularjs
[19:57:20] <jaawerth> I'md kinda putting something for that together right now (still early stages) that's built on angular-material and a restyled textAngular for the editor mode
[19:57:22] *** kuadrosx_ is now known as kuadrosx
[19:57:26] <jaawerth> (since I need rich text editing)
[19:57:28] *** AlSquire has joined #angularjs
[19:57:31] <Guest54285> @jaawerth you should check out web components by google and polymer project.. they solve the reusable component development space
[19:57:48] *** swist has joined #angularjs
[19:57:51] *** elrabin has joined #angularjs
[19:57:56] *** NormySan has joined #angularjs
[19:58:05] <jaawerth> Guest54285: directives = webcomponents for current/legacy browsers, basically
[19:58:23] *** __danimal__ has quit IRC
[19:58:25] <Guest54285> @jaawerth haha.. :D
[19:59:02] *** marr has quit IRC
[19:59:06] *** pulpfree has joined #angularjs
[19:59:18] *** snapwich has quit IRC
[19:59:47] <MatheusOl> Hi everyone. Is there any way of triggering one event after the DOM element with ng-show/ng-hide is visible?
[19:59:48] <Foxandxss> jaawerth: how is angular-material going ?
[19:59:49] *** japhar81 has joined #angularjs
[20:00:01] *** __danimal__ has joined #angularjs
[20:00:08] *** jaydubya has quit IRC
[20:00:41] *** jaydubya has joined #angularjs
[20:00:41] <jaawerth> Foxandxss: It's a bit finicky but overall I like it. Definitely need to wrap my head around it a bit differently as far as styling goes. My only complaint is that they use too many custom text attributes
[20:01:12] <jaawerth> there's more boilerplate than I prefer, but I've certainly seen worse.
[20:01:21] <jaawerth> and it's fun styling stuff with flexbox
[20:01:37] *** aven1 has joined #angularjs
[20:01:37] <Foxandxss> I see
[20:01:37] *** wa5ted has joined #angularjs
[20:01:41] <Foxandxss> I cant wait for use that with ionic
[20:02:17] <jaawerth> I just wish they'd include the SCSS in the bower package so I can customize it without having to build from scratch
[20:03:04] *** newswim has joined #angularjs
[20:03:16] *** robksawyer has quit IRC
[20:03:16] *** nickgs has joined #angularjs
[20:03:30] *** swist has quit IRC
[20:03:35] *** japhar81 has quit IRC
[20:03:35] *** freeman42 has joined #angularjs
[20:03:53] *** joroc has quit IRC
[20:04:31] *** kris__ has joined #angularjs
[20:04:52] *** swist has joined #angularjs
[20:04:57] <rsdev> Hi all, Looking for any pro tips, I created a plunkr for testing and trying to understand why when I create a modal pop up and click ok, my variables from the form are not defined. Does anyone mind helping me understand why my scope variables are not being recognized? http://plnkr.co/edit/uzCqJi58pGidbM5H6BgT?p=preview
[20:05:03] *** e0ipso is now known as e0ipso|away
[20:05:18] *** jaydubya has quit IRC
[20:05:21] *** basiclaser_ has joined #angularjs
[20:05:56] *** wa5ted has quit IRC
[20:05:57] *** marcjs has quit IRC
[20:05:57] <gvanderest> rsdev: Which button controls this modal?
[20:06:08] <rsdev> the first one that says get started
[20:06:10] *** ihsw has joined #angularjs
[20:06:10] <gvanderest> Start, then submit?
[20:06:11] *** swist_ has joined #angularjs
[20:06:14] *** RobinBAwesome has quit IRC
[20:06:18] <rsdev> correct
[20:06:53] <rsdev> @gvanderest or sorry, click start
[20:06:57] *** OddDuck has joined #angularjs
[20:06:58] <rsdev> then add vehicle
[20:07:09] <Foxandxss> fghf
[20:07:12] <Foxandxss> asd
[20:07:18] <MatheusOl> Right now I have something like this: <div ng-show="loadingDataTable"><table ...></div>. I'd like to hide the table during AJAX request to populate it, but make visible before loading the data in the table. Does that make sense?
[20:07:35] <rsdev> The ok button is where I attempt to alert my value
[20:07:37] <Guest54285> @gvanderest @Foxandxss @jaawerth checked the new ui-grid project page.. its the ng-grid v2.0 and seems promising
[20:07:39] <MatheusOl> Using DataTable
[20:07:56] *** darrin_ has joined #angularjs
[20:08:07] *** jneto has joined #angularjs
[20:08:54] *** RobinBAwesome has joined #angularjs
[20:09:17] *** Caroga is now known as Caroga_afk
[20:09:19] *** cheef has joined #angularjs
[20:09:24] *** swist has quit IRC
[20:10:04] <robdubya> MatheusOl assuming you're doing something like
[20:10:10] <jaawerth> oh cool, they finally released that?
[20:10:16] <robdubya> GetStuff().then(function(stuff){ $scope.stuff = stuff })
[20:10:21] <robdubya> just do ng-if="stuff"
[20:10:23] *** snapwich has joined #angularjs
[20:10:28] *** Skrypter has joined #angularjs
[20:10:39] <MatheusOl> robdubya: Is more like a "loading" gif thing
[20:10:40] <jaawerth> only with MOAR DOTS
[20:10:47] *** jacquesdancona has joined #angularjs
[20:10:55] <robdubya> dont actually need dots there :D
[20:11:04] <MatheusOl> robdubya: But if I don't sync it correctly, the table is showed after populating, and dataTables messes with the column sizes
[20:11:07] *** johnstorey has quit IRC
[20:11:13] *** prosper_ has quit IRC
[20:11:15] <robdubya> MatheusOl same thing would work. embrace promises. or use resolve
[20:11:16] *** __danimal__ has quit IRC
[20:11:29] *** snapwich1 has joined #angularjs
[20:11:32] <jaawerth> robdubya: you don't know that!
[20:11:33] *** snapwich has quit IRC
[20:11:51] *** darrin has quit IRC
[20:11:55] *** Guest54285 has quit IRC
[20:12:06] <jaawerth> what if you need to come in and change the visibility from somewhere else?
[20:12:07] <robdubya> sooo question, has everybody else lost their plunks too?
[20:12:16] <jaawerth> nah, mine are around
[20:12:27] <MatheusOl> robdubya: hm.. Can you clarify? I'm an AngularJS newbie
[20:12:27] <jaawerth> haven't checked my whole history, though
[20:12:29] *** Oxynum has quit IRC
[20:12:33] *** cthrax has quit IRC
[20:12:40] <robdubya> i'm only a member since dec 15, 2014
[20:12:45] <robdubya> whaaaaat
[20:12:46] *** yelvert has quit IRC
[20:12:59] *** cotko has quit IRC
[20:13:33] *** johnstorey has joined #angularjs
[20:13:36] *** ColKurtz has joined #angularjs
[20:13:52] *** shackleford has joined #angularjs
[20:13:56] *** Oddman has quit IRC
[20:14:02] <MatheusOl> robdubya: If there was an event that is called after the element gets visible, it would solve my issue
[20:14:46] *** freeman42 has quit IRC
[20:15:04] *** freeman42 has joined #angularjs
[20:15:10] *** shackleford has quit IRC
[20:15:11] <MatheusOl> I managed to make it work with setTimeout after changing the $scope variable, but that is icky
[20:15:22] *** DarrenCraig has quit IRC
[20:15:29] <robdubya> typically there isn't a "completed" event being fired by the DOM
[20:15:48] *** shackleford has joined #angularjs
[20:15:50] <robdubya> but the act of ng-show/hiding/if'ing something is the same
[20:15:54] <MatheusOl> That is sad
[20:15:58] *** Efrem is now known as Efrem-Away
[20:16:04] *** Oddman has joined #angularjs
[20:16:09] *** Solid1 is now known as Solid1_afk
[20:16:09] *** Oddman has quit IRC
[20:16:24] *** Oddman has joined #angularjs
[20:16:32] *** DarrenCraig has joined #angularjs
[20:16:41] <robdubya> make a plunker MatheusOl
[20:16:44] <MatheusOl> The problem seems to be synchronization, AngularJS doesn't synchronously make the DOM element visible
[20:16:48] *** vassagus has joined #angularjs
[20:17:07] *** yelvert has joined #angularjs
[20:17:08] <MatheusOl> I can understand it is good in most cases, but this specific one is terrible
[20:17:11] <MatheusOl> robdubya: plunker?
[20:17:18] <MatheusOl> AH! I see
[20:17:25] *** prosper_ has joined #angularjs
[20:17:31] *** tfennelly has joined #angularjs
[20:17:32] <jacquesdancona> what's the problem?
[20:17:46] <MatheusOl> I'll try to reduce it to a simpler case
[20:18:05] <robdubya> MatheusOl if datatables (which is not an ng plugin) has a hook for it, you could probbaly hook into it
[20:18:15] <robdubya> if it doesn't, you're blaming the wrong people :D
[20:18:30] <MatheusOl> jacquesdancona: The problem is this, I have <div ng-hide="loadingTable"><table ...></div><div ng-show="loadingTable">Loading message...</div>
[20:18:31] *** newswim has quit IRC
[20:18:57] *** swist_ has quit IRC
[20:19:01] <jacquesdancona> but it isn't updating after that plugin finishes?
[20:19:04] *** newswim has joined #angularjs
[20:19:05] <MatheusOl> jacquesdancona: After I do the AJAX request, I set loadingTable to false and load the table using DataTable
[20:19:21] *** bullicon has joined #angularjs
[20:19:22] *** davidreis has joined #angularjs
[20:19:37] <MatheusOl> jacquesdancona: The problem is, if dataTable (and that is dataTable's fault) is loaded with the DOM element not visible, it mess up the column sizes
[20:19:38] <jacquesdancona> ajax over $http?
[20:19:38] *** ggrzybek_afk is now known as ggrzybek
[20:19:44] <MatheusOl> $http.get
[20:19:46] <MatheusOl> sorry
[20:20:25] <jacquesdancona> can't you wrap it in a ng-if?
[20:20:25] *** newswim has quit IRC
[20:20:44] <MatheusOl> jacquesdancona: If instead of using ng-hide/ng-show I use jQuery's .hide/.show, it works like a charm
[20:20:46] *** newswim has joined #angularjs
[20:20:48] <robdubya> ng-if removes it from the DOM. probably not what he wants
[20:20:51] *** defaultdict has quit IRC
[20:20:57] *** dobladez has quit IRC
[20:21:02] <MatheusOl> I was about to ask the difference
[20:21:02] <jaawerth> if you're using jquery's datatables and not wrapping it in a directive, you're asking for trouble
[20:21:07] <MatheusOl> No, not ng-if then
[20:21:11] *** dobladez has joined #angularjs
[20:21:15] <robdubya> what jaawerth said
[20:21:21] <MatheusOl> jaawerth: Right. I want to get rid of this ugly hack
[20:21:21] <jacquesdancona> isn't datatables pretty much the same as ng-table?
[20:21:34] <jaawerth> I think so
[20:21:34] <MatheusOl> Honestly, I don't know
[20:21:35] *** bayousoft has joined #angularjs
[20:21:49] <robdubya> i've lost 2000 plunks :(
[20:21:56] *** raghunayyar has joined #angularjs
[20:22:01] *** tfennelly has quit IRC
[20:22:04] *** zanea|away is now known as zanea
[20:22:05] *** Sontakey has joined #angularjs
[20:22:09] <jaawerth> I'd recommend using something like ng-table or smart-table, but you can wrap pretty much any jquery lib in a directive
[20:22:11] <MatheusOl> One problem is that this table is completely dynamic, I can grab the number of columns and data just after doing the $http.get request
[20:22:22] <MatheusOl> Could ng-table handle that?
[20:22:30] <robdubya> plunk it.
[20:22:30] * MatheusOl googles
[20:22:34] <jacquesdancona> iirc yes
[20:23:17] <jaawerth> angular is superior in almost every way to jquery stuff for making dynamic things
[20:23:33] <MatheusOl> So far it has been... :)
[20:23:36] <jaawerth> in angular, you manipulate the data and your magic table will just adapt accordingly
[20:23:40] <jacquesdancona> Or maybe wrap it in a small directive, to which you share the $http get promise, then on result .show() the element and activate the table plugin?
[20:23:43] <jaawerth> that's the idea, anyway
[20:23:44] <MatheusOl> I'll try ng-table or smart-table before I got crazy
[20:23:48] <MatheusOl> Thank you guys
[20:24:01] *** grogs has joined #angularjs
[20:24:12] <MatheusOl> jacquesdancona: A directive might be good too
[20:24:14] *** guilbep has quit IRC
[20:24:15] <jaawerth> I actually wrote a little demo for someone once for integrating jquery datatables (they absolutely HAD to use datatables for some reason)
[20:24:21] <nickeddy> robdubya: have you used koa?
[20:24:25] <robdubya> yep
[20:24:26] <jaawerth> I can find it for you if you want, but I still recommend using something more native to angular
[20:24:26] <MatheusOl> jacquesdancona: I still have to learn how to do that, but going to
[20:24:29] <nickeddy> what do you think?
[20:24:48] *** SuRfDeMoN has joined #angularjs
[20:25:01] *** rsdev has quit IRC
[20:25:31] <jacquesdancona> MatheusOl: I guess you could easily share the promise (from example from your controller), on the scope of the directive. Then when it's resolved do the jquery magic stuff
[20:25:36] *** Efrem-Away is now known as Efrem
[20:26:01] <stylemistake> is it possible to conditionally exclude a part of DOM from digest loop?
[20:26:03] <robdubya> a directive is *required* for that sort of thing
[20:26:17] <stylemistake> i mean scopes
[20:26:27] <jaawerth> ack, looks like plnkr ate my datatables directive example
[20:26:33] <jaawerth> and here I thought I was safe!
[20:26:38] <MatheusOl> jacquesdancona: Sorry about the possible stupid question, but what is "promise"?
[20:26:42] *** ehynds has joined #angularjs
[20:26:58] <jacquesdancona> $http returns a promise
[20:27:03] <robdubya> my ui-router 1k+ views demo is gone :(
[20:27:05] <jacquesdancona> google $http
[20:27:08] <robdubya> ALLLL GOOOONE
[20:27:19] <MatheusOl> jacquesdancona: Doing so. Thanks
[20:27:37] *** jdj_dk_ has joined #angularjs
[20:27:50] <MatheusOl> jacquesdancona: I think I got. Either way I'll have to create the directive, right?
[20:27:59] *** pushpak has quit IRC
[20:28:02] <jacquesdancona> Yeah
[20:28:14] <jacquesdancona> If you're communicating with jQuery, or dom stuff, do it in a directive
[20:28:18] *** ries has joined #angularjs
[20:28:35] <MatheusOl> Nice
[20:28:38] <robdubya> which gives you an easy way to hook into datatable's events
[20:28:39] <MatheusOl> Lots of things to learn
[20:28:45] <robdubya> if it indeed provides them
[20:28:46] <jacquesdancona> true
[20:29:22] *** elrabin has quit IRC
[20:29:27] <MatheusOl> robdubya: DataTables is nice, but I used with jQuery only projects so far. Looks that it is not the best for AngularJS
[20:29:31] *** Marble68 has joined #angularjs
[20:30:02] <robdubya> its just a question of using a directive to encapsulate the jquery business
[20:30:12] *** FIFOd[a] has joined #angularjs
[20:30:16] <robdubya> just gives you a clean way to glue controller / data stuff to DOM elements
[20:30:47] <MatheusOl> "clean" way is what I'm after
[20:30:49] <robdubya> basically, if you say "DOM" or "element" or similar, you should be doing it in a directive
[20:30:53] <jacquesdancona> MatheusOl: http://stackoverflow.com/questions/14242455/using-jquery-datatable-with-angularjs
[20:31:12] *** tschundeee has joined #angularjs
[20:31:13] <MatheusOl> This project started with AngularJS, but the developers didn't know much about it, so know we are refactoring many things to do the proper way
[20:31:15] *** elrabin has joined #angularjs
[20:31:47] *** joroc has joined #angularjs
[20:31:48] <jaawerth> MatheusOl: think about it like this. instead of using code to find and grab the element you're going to manipulate, you pre-define a custom "target" for your DOM manipulation. Angular finds those targets and plugs them into your code FOR you
[20:32:09] <tristanp> Anyone know why $q.resolve isn't defined in this case? https://gist.github.com/tristanpendergrass/4a4a02dda716b77e3c47
[20:32:09] *** elrabin has quit IRC
[20:32:20] <MatheusOl> Cool
[20:32:21] <jaawerth> the library handles jugglign the DOM references (and that also means all the jquery selectors are cached, so it's faster in that regard), you just worry about what each pre-defined type of DOM manipulation does
[20:32:28] *** elrabin has joined #angularjs
[20:32:30] *** MrBaboon has joined #angularjs
[20:32:47] *** e0ipso|away is now known as e0ipso
[20:32:47] *** FIFOd[a] has quit IRC
[20:32:48] <robdubya> use $q.when tristanp
[20:32:54] *** wayne has joined #angularjs
[20:33:24] *** tga0 has quit IRC
[20:33:30] *** foofoobar has joined #angularjs
[20:33:48] *** disorder20 has joined #angularjs
[20:34:06] <wayne> hi. if i were to splice data into a random index of a long ng-repeat array, would angularjs/the browser be smart enough to not redraw the whole list and only the new element?
[20:34:52] *** scriptThis has quit IRC
[20:35:12] <MatheusOl> Thanks for the points guys
[20:35:18] *** aven1 has quit IRC
[20:35:19] *** SargoDarya has joined #angularjs
[20:35:21] <robdubya> wayne if you use track by, yes
[20:35:37] <jacquesdancona> wayne: yes
[20:35:40] <jacquesdancona> eh, no
[20:35:45] <jacquesdancona> not smart enough
[20:36:08] <robdubya> ng-repeat="foo in foos track by foo.id" -> binds elements to foos
[20:36:10] *** jneto has quit IRC
[20:36:11] *** tschundeee has quit IRC
[20:36:39] *** jneto has joined #angularjs
[20:36:43] <jacquesdancona> robdubya: wait, really?
[20:36:45] *** jneto has quit IRC
[20:36:59] *** phzon has joined #angularjs
[20:37:08] <tristanp> robdubya: ok, now that I check the docs I see that they use when for what you would expect would be called resolve. Any idea why they didn't use resolve?
[20:37:17] <robdubya> "ariable in expression track by tracking_expression – You can also provide an optional tracking function which can be used to associate the objects in the collection with the DOM elements. If no tracking function is specified the ng-repeat associates elements by identity in the collection. It is an error to have more than one tracking function to resolve to the same key. (This would mean that two distinct objects are
[20:37:18] <robdubya> mapped to the same DOM element, which is not possible.) Filters should be applied to the expression, before specifying a tracking expression."
[20:37:45] <robdubya> https://docs.angularjs.org/api/ng/directive/ngRepeat
[20:37:49] *** Poppabear has joined #angularjs
[20:37:51] *** Aerospark has joined #angularjs
[20:37:53] *** mikehaas763 has quit IRC
[20:38:14] <jacquesdancona> It's not talking about redraws/repaints
[20:38:17] <robdubya> tristanp not sure really, it's modeled after teh Q API, as opposed to the Promises/A+ spec (which would use resolve)
[20:38:49] *** mrru has joined #angularjs
[20:39:30] *** opiates has quit IRC
[20:39:47] <robdubya> jacquesdancona would still cause a repaint but its not going to re-instantiate all the scopes n stuff
[20:40:01] *** yts has joined #angularjs
[20:40:31] <jacquesdancona> true
[20:40:58] *** okdamn has joined #angularjs
[20:41:27] *** phzon has quit IRC
[20:41:28] <okdamn> Foxandxss: hey :) https://github.com/driftyco/ng-cordova/graphs/contributors#42 i need help from you
[20:41:56] <Foxandxss> hey hey hey I just added 2 lines of code
[20:42:12] <okdamn> Foxandxss: lol but you know ngcordova or wot? ;P
[20:42:21] <Foxandxss> little
[20:42:44] *** Aerospark has quit IRC
[20:42:46] <robdubya> typcially makes a big diff on long lists
[20:43:02] *** newswim has left #angularjs
[20:43:05] <okdamn> i am struggling , i would just to record an audio .wav using the cordovaMedia and then get the .wav file content using cordovaFile but there is no example on how to do :(
[20:43:16] *** sbellina has joined #angularjs
[20:43:18] *** PigDude_ has quit IRC
[20:43:26] *** cavallari has quit IRC
[20:43:34] <okdamn> i know i can use cordovaMEdia.startRecording() and cordovaFile.checkFile() but i dunno how to mix them up :(
[20:43:50] *** g33k5z has joined #angularjs
[20:43:51] *** DarrenCraig has quit IRC
[20:44:34] <DigitallyBorn> How can I load a config (via $http) and use a value from it in a $resource factory?
[20:44:45] <okdamn> Foxandxss: do you know a cent about this?
[20:44:57] <Foxandxss> not really
[20:45:04] <Foxandxss> what I did with ngCordova was a demo with pin dialog
[20:45:09] <okdamn> ok sorry :P
[20:45:13] <Foxandxss> realized it needed better defaults, PR-ed it, they accepted
[20:45:22] <okdamn> lol nice ;)
[20:45:38] *** Oddman has quit IRC
[20:45:39] <okdamn> #ngcordova
[20:45:47] *** iribarne has joined #angularjs
[20:45:48] <shyshy> hey guys, im struggling with this issue: if i have a service called UserAuth with a property as UserAuth.login, and in my controller I have a $scope.loginFunc that gets called by an ng-click event, why is it that loginFunc is being called on page load if I have it as $scope.loginFunc = UserAuth.login(credentials). I have to wrap UserAuth.login(credentials) in an anonymous function to get it to stop being instantly invoked on p
[20:45:49] <okdamn> :(
[20:46:29] <okdamn> shyshy: the first issue is that you pasting code togheter with the message ;P
[20:46:38] <okdamn> use pastebin or it's a hell :P
[20:46:40] *** replicant has left #angularjs
[20:46:48] *** nickgs has quit IRC
[20:46:48] <okdamn> nobody will read that ;)
[20:46:52] <shyshy> oh sorry
[20:46:55] <okdamn> np
[20:47:14] <okdamn> just a tip for you it's hard to get help if you write like that ;)
[20:47:24] *** doginal has quit IRC
[20:47:37] *** sbellina has quit IRC
[20:48:01] *** tkh44 has quit IRC
[20:48:02] <shyshy> uhm like this : http://pastebin.com/j5UdmTm7?
[20:48:07] *** g33k5z has quit IRC
[20:48:19] <shyshy> woops
[20:48:21] <shyshy> http://pastebin.com/j5UdmTm7
[20:48:34] *** IvailoStoianov has quit IRC
[20:48:36] *** nickgs has joined #angularjs
[20:48:36] *** nemothekid has joined #angularjs
[20:48:41] <okdamn> yeah shyshy now describe the problem in here ;)
[20:48:42] <robdubya> good guy plunker looking into my lost plunks :D
[20:48:47] <okdamn> that is the code ;)
[20:49:33] <shyshy> so for some reason the first example works, but in the second example, its being invoked instantly, even though the event should never have been fired off
[20:49:35] <jacquesdancona> is it returning something?
[20:49:41] <shyshy> i.e. i never clicked the button with ng-click
[20:49:46] *** rikko has joined #angularjs
[20:50:04] *** elyssonmr has quit IRC
[20:50:07] <okdamn> shyshy: the first way is the correct one
[20:50:08] *** clemux has joined #angularjs
[20:50:14] <okdamn> forget the second one
[20:50:18] *** deanclkclk has joined #angularjs
[20:50:40] <robdubya> shyshy that's pretty much how JS works
[20:50:41] <okdamn> in the second one you are returning a promise into a var probably
[20:51:08] <okdamn> no sorry :P anyway forget the second one till u need it (never i guess)
[20:51:14] <robdubya> you could also just do $scope.loginFunc = UserAuth.login
[20:51:16] <jacquesdancona> it has to be called
[20:51:18] *** MistahKurtz has quit IRC
[20:51:18] *** titanomachy has quit IRC
[20:51:23] <jacquesdancona> because you're actually calling it
[20:51:23] <robdubya> and then ng-click="loginFunc(whatever)" in the view
[20:52:03] <okdamn> robdubya: doesn't doing like that triggers UserAuth.login() without the click tho ?
[20:52:36] <shyshy> oh right, thanks guys. i get it. its because i literally invoked it the moment i made parentheses following the func name
[20:52:45] <okdamn> yeah
[20:52:50] <jacquesdancona> yes
[20:52:57] *** davidreis has quit IRC
[20:53:13] <okdamn> robdubya: i think you're right… just without parentesis nope?
[20:54:16] *** dave_boling has joined #angularjs
[20:54:53] <caitp> is there any way to like
[20:55:02] <caitp> turn off "auto-correct" for all things everywhere
[20:55:23] <okdamn> caitp: what is auto-correct ?
[20:55:31] <caitp> it's the goddamned scum of the earth
[20:55:41] <okdamn> lol
[20:56:00] *** KenavR has quit IRC
[20:56:03] <caitp> I MEAN WHAT I WROTE TWITTER STOP CHANGING IT
[20:56:08] <caitp> grr argh
[20:56:11] *** zwacky has joined #angularjs
[20:56:26] *** grogs has quit IRC
[20:56:35] <okdamn> caitp: referring to this? http://www.bennadel.com/blog/2307-disabling-auto-correct-and-auto-capitalize-features-on-iphone-inputs.htm
[20:56:38] <caitp> it's bad enough with swipe but at least you expect it there
[20:56:43] <caitp> swype
[20:56:47] <caitp> i did not write swipe
[20:56:53] <okdamn> skype??
[20:56:56] <okdamn> i am confused
[20:57:08] <caitp> computers -.- can't live with em, can't live without em
[20:57:19] *** SargoDarya has quit IRC
[20:57:33] <okdamn> eheheh
[20:57:54] *** tschundeee has joined #angularjs
[20:57:56] *** drag0nius has joined #angularjs
[20:58:07] <drag0nius> where can i find some info on using ui-select?
[20:58:19] <okdamn> caitp: directive('html');
[20:58:35] <drag0nius> there are examples on main page, but nowhere is it written how that stuff actually works
[20:58:41] *** titanomachy has joined #angularjs
[20:58:55] *** recidive has quit IRC
[20:59:23] <okdamn> damn i recently discovered how super cool is $observe for directive attributes :O
[20:59:23] *** ahtik has joined #angularjs
[20:59:27] <okdamn> very recently
[20:59:59] *** ColKurtz has quit IRC
[21:00:32] *** scythe__ has quit IRC
[21:00:50] *** whunt_ has joined #angularjs
[21:01:39] *** richiebkr has quit IRC
[21:01:47] *** aven1 has joined #angularjs
[21:01:52] *** scythe__ has joined #angularjs
[21:02:03] *** chr1stopher has joined #angularjs
[21:02:15] *** richiebkr has joined #angularjs
[21:02:40] *** Sadin has quit IRC
[21:02:48] *** Oxynum has joined #angularjs
[21:02:49] *** ggrzybek has quit IRC
[21:02:55] *** Sadin has joined #angularjs
[21:03:14] *** sbellina has joined #angularjs
[21:03:17] *** whunt has quit IRC
[21:03:23] *** Shayanjm has quit IRC
[21:03:37] *** Sawbones has joined #angularjs
[21:03:46] *** Aliks has quit IRC
[21:03:57] *** joroc has quit IRC
[21:04:02] <Sawbones> Freaking love angular
[21:04:23] *** mlpug has joined #angularjs
[21:04:29] *** FIFOd[a] has joined #angularjs
[21:05:00] *** baweaver has joined #angularjs
[21:05:57] *** nickgs has quit IRC
[21:05:59] *** Shai-Tan has joined #angularjs
[21:06:07] *** Shayanjm has joined #angularjs
[21:06:17] *** MacWinner has quit IRC
[21:06:49] *** OddDuck has quit IRC
[21:06:49] *** baweaver has quit IRC
[21:06:53] <okdamn> Sawbones: same
[21:07:09] *** dc_ has quit IRC
[21:07:35] *** OddDuck has joined #angularjs
[21:08:06] *** jdivock has quit IRC
[21:08:18] *** sbellina has quit IRC
[21:08:22] *** nemothekid has quit IRC
[21:08:58] *** Oddman has joined #angularjs
[21:09:15] *** jaydubya has joined #angularjs
[21:10:27] *** __danimal__ has joined #angularjs
[21:10:59] *** Oddman has quit IRC
[21:11:03] *** Menorah has joined #angularjs
[21:11:04] *** [0__0] has quit IRC
[21:11:31] *** axsuul has quit IRC
[21:11:44] *** tfennelly has joined #angularjs
[21:11:53] *** g33k5z has joined #angularjs
[21:13:19] *** [0__0] has joined #angularjs
[21:13:28] *** Oxynum has quit IRC
[21:13:57] *** IvailoStoianov has joined #angularjs
[21:13:59] *** prosper_ has quit IRC
[21:14:30] *** baweaver has joined #angularjs
[21:16:03] *** tfennelly has quit IRC
[21:16:14] *** opiates has joined #angularjs
[21:16:42] *** bayousoft has quit IRC
[21:16:50] *** baweaver has quit IRC
[21:17:30] *** ingsoc has quit IRC
[21:17:31] *** bayousoft has joined #angularjs
[21:18:30] *** RobinBAwesome has quit IRC
[21:19:13] *** 21WAAOYVO has joined #angularjs
[21:19:41] *** zz_moogey is now known as moogey
[21:19:50] *** dcherman has quit IRC
[21:20:22] *** dcherman has joined #angularjs
[21:20:32] *** baweaver has joined #angularjs
[21:21:45] *** bullicon has quit IRC
[21:21:52] *** Oddman has joined #angularjs
[21:22:32] *** nickgs has joined #angularjs
[21:22:33] *** TuRnaD0 has quit IRC
[21:22:53] *** jdivock has joined #angularjs
[21:22:56] *** mmitchell has joined #angularjs
[21:23:19] *** andrew9183 has joined #angularjs
[21:23:26] *** morenoh149 has joined #angularjs
[21:24:00] *** mbenadda has joined #angularjs
[21:24:52] *** prosper_ has joined #angularjs
[21:24:58] *** Hounddog has quit IRC
[21:25:04] *** cbeacock1 has quit IRC
[21:26:45] *** japhar81 has joined #angularjs
[21:26:58] *** dmack has quit IRC
[21:27:28] *** opiates has quit IRC
[21:27:50] *** larsgk has quit IRC
[21:28:11] *** mbenadda has quit IRC
[21:28:16] *** mzabriskie has joined #angularjs
[21:29:05] *** 21WAAOYVO has quit IRC
[21:29:46] *** ximenean_ has joined #angularjs
[21:30:18] *** rikko has quit IRC
[21:30:35] *** IvailoStoianov has quit IRC
[21:30:36] *** tskaggs has joined #angularjs
[21:30:42] *** Oxynum has joined #angularjs
[21:30:57] *** atomical has quit IRC
[21:31:41] *** joroc has joined #angularjs
[21:31:48] *** atomical has joined #angularjs
[21:33:31] *** balr0g has joined #angularjs
[21:33:39] *** baweaver has quit IRC
[21:34:23] *** cotko has joined #angularjs
[21:34:54] *** aven1 has quit IRC
[21:34:56] *** TommyO has joined #angularjs
[21:35:21] *** dc_ has joined #angularjs
[21:37:00] *** mrwn has joined #angularjs
[21:37:25] *** Oxynum has quit IRC
[21:38:03] *** jonatas_oliveira has quit IRC
[21:38:04] *** spatialbrew has quit IRC
[21:38:19] *** wallerdev has quit IRC
[21:38:32] *** adben has joined #angularjs
[21:39:01] *** Oxynum has joined #angularjs
[21:39:30] *** TeddyMurray has quit IRC
[21:39:58] *** TeddyMurray has joined #angularjs
[21:40:39] *** richiebkr has quit IRC
[21:40:53] *** Oddman has quit IRC
[21:41:13] *** red_horned_rihno has quit IRC
[21:41:19] *** burzum has joined #angularjs
[21:41:28] *** Oddman has joined #angularjs
[21:41:29] *** Nurbs has quit IRC
[21:41:40] *** leolrrj has quit IRC
[21:42:08] *** red_horned_rihno has joined #angularjs
[21:42:34] *** bayousoft has quit IRC
[21:43:42] *** baweaver has joined #angularjs
[21:44:25] *** pulpfree has quit IRC
[21:44:36] *** elrabin has quit IRC
[21:45:18] *** bayousoft has joined #angularjs
[21:45:19] *** elrabin has joined #angularjs
[21:45:24] *** josh-k has quit IRC
[21:45:39] *** Oddman has quit IRC
[21:45:58] *** danecando has quit IRC
[21:46:00] *** Zentdayn has joined #angularjs
[21:46:54] *** lexek_ has quit IRC
[21:47:22] *** simplyshipley has quit IRC
[21:47:36] *** Zentdayn has quit IRC
[21:48:00] *** iribarne has quit IRC
[21:48:12] *** richiebkr has joined #angularjs
[21:48:51] *** richiebkr has quit IRC
[21:49:10] *** richiebkr has joined #angularjs
[21:49:11] <jaawerth> ctanga: Did I hear a rumor that you wrote a gulp plugin for mapping out routes?
[21:49:21] *** ioudas has quit IRC
[21:49:21] <ctanga> who is spreading rumors
[21:49:30] *** JmZ_ is now known as JmZ
[21:49:40] *** elrabin has quit IRC
[21:49:41] *** wa5ted has joined #angularjs
[21:49:49] *** ximenean_ has quit IRC
[21:49:53] *** kuadrosx has quit IRC
[21:50:01] <jaawerth> ctanga: Because it's starting to drive me nuts. On the one hand, I want the routes for certain components WITh those components. On the other hand, I want a handy map of all the routes at a glance - in text (though a little popout window mapping the routes would be a neat little dev tool now that I think about it)
[21:50:27] *** iribarne has joined #angularjs
[21:50:38] *** djvirgen has joined #angularjs
[21:50:40] <ctanga> I wrote the statevis thinggy on ui-router-extras site, but nothing like what you’re describing
[21:50:41] *** wa5ted has quit IRC
[21:50:52] <jaawerth> what's yours do?
[21:50:56] *** wa5ted has joined #angularjs
[21:51:09] <ctanga> draws a state tree in d3
[21:51:26] <jaawerth> gulp-wise I"m just thinking of something that looks for route declarations in your scripts and builds out a json object
[21:51:39] <robdubya> why not do the inverse ?
[21:51:42] <jaawerth> that's true
[21:51:46] *** nickgs has quit IRC
[21:51:52] *** mrwn has quit IRC
[21:52:07] <jaawerth> hmm
[21:52:08] *** Oddman has joined #angularjs
[21:52:08] <jaawerth> I like that
[21:52:16] <ctanga> statevis: http://christopherthielen.github.io/ui-router-extras/example/sticky/#/
[21:52:38] *** jstroem has joined #angularjs
[21:52:40] <jaawerth> robdubya: yeah, you could use it to scaffold out a directory structure for your routes if you want to go in that direction for views, or you could do it in "fractal" mode..
[21:53:01] <ctanga> jaawerth: what info do you want to see in this list of routes?
[21:53:11] <ctanga> and how would it be organized ideally
[21:53:24] <MatheusOl> Is using ng-show a really good pattern/practice for loading GIF (during $http requests)?
[21:53:25] *** lite_ has quit IRC
[21:53:36] *** Grokling_ has joined #angularjs
[21:53:46] *** one0one has joined #angularjs
[21:53:55] <jaawerth> ctanga: Well, I mean the actual route declarations themselves do an alright job (it's a little ugly, but I could just get creative with the formatting)
[21:54:08] *** mlpug has quit IRC
[21:54:21] <ctanga> You could export a file at runtime using $state.get()
[21:54:23] <jaawerth> ctanga: my main beef is that in many ways it makes more sense to have routes that depend on certain components/modules declared with those modules, but then you lose your at-a-glance view
[21:54:35] <ctanga> yes, understood
[21:54:37] <jaawerth> yeah, good idea
[21:54:48] *** Nurbs has joined #angularjs
[21:54:49] <jaawerth> though it makes more sense as a gulp tool, no?
[21:54:58] <ctanga> probs
[21:55:07] *** SargoDarya has joined #angularjs
[21:55:12] <jaawerth> Hrm, you could probably do it with karma
[21:55:13] <ctanga> but gulp couldn’t find dynamically added routes, etc
[21:55:14] *** SargoDarya has quit IRC
[21:55:14] *** SargoDarya has joined #angularjs
[21:55:18] <ctanga> true
[21:55:30] <jaawerth> basically a non-test test that bootstraps you up to the config phase of all your modules
[21:55:34] <jaawerth> and then exports the file
[21:55:43] <ctanga> it’s an interesting idea
[21:56:04] <ctanga> I rarely need to view my entire app all at once though
[21:56:05] <jaawerth> it could be packaged with your visualization app (which I haven't seen so maybe it isn't what I think it is)
[21:56:16] <robdubya> lets just build XCode storyboards for ui-router already
[21:56:22] <ctanga> like, I go to a module to see the routes in that module and usually what i need
[21:56:25] <jaawerth> urmom's a storyboard
[21:56:33] *** whunt_ is now known as whunt
[21:56:42] <jaawerth> man, see doing that just makes me lose my way
[21:57:09] *** scythe__ has quit IRC
[21:57:17] *** robksawyer has joined #angularjs
[21:57:30] *** PrinceAMD has quit IRC
[21:57:40] <jaawerth> hmm
[21:57:42] <jaawerth> maybe it's a "me" thing
[21:57:46] *** teeray has joined #angularjs
[21:57:55] <jaawerth> I should probably think more about how I'm organizing this stuff
[21:58:10] *** tkdaj has joined #angularjs
[21:58:15] <jaawerth> I always talk up whiteboarding as a great practice and then half the time I don't do it and kick myself later
[21:58:27] <jaawerth> I still like the idea for this gulp module, though
[21:58:43] <ctanga> I don’t see myself needing something like that
[21:58:44] <robdubya> fwiw i'd say write a *node* modue
[21:59:01] <robdubya> make it return a promise or a cb
[21:59:03] <tkdaj> I have a checkbox that I want to bind to a boolean, except when the user clicks this checkbox I don't want it to change value until they confirm the change in a model. Anyone know how to accomplish this?
[21:59:04] <robdubya> or a stream
[21:59:11] <jaawerth> ctanga: you don't think you could benefit from something that generates and visualizes a state tree without your app needing to run?
[21:59:14] <robdubya> gulp plugins are overrated
[21:59:25] *** nickgs has joined #angularjs
[21:59:26] *** Snugug has quit IRC
[21:59:29] <ctanga> oh, a state tree vis, yeah that’d be cool
[21:59:30] <jaawerth> well, a gulp plugin is just a node module with gulp hooks
[21:59:35] <tkdaj> confirm the change in a modal*
[21:59:38] <ctanga> I thought you meant a table/list
[21:59:38] <tkdaj> not model
[21:59:40] <robdubya> gulp.task('something', function(){ return someFuncThatReturnsAPromise() }_
[21:59:53] <jaawerth> ctanga: well I was thinking it would dump a config file that you could then read with whatever to turn it into a viz
[22:00:26] <jaawerth> heck, you could flip that around and also make it a graphical tool for building out a route tree (if you wanted to)
[22:00:30] *** MalfaitRobin has quit IRC
[22:00:46] <jaawerth> of course, that would break rather easily with ui-router updates
[22:00:57] *** MalfaitRobin has joined #angularjs
[22:01:09] <ctanga> $state.get() isn’t going anywhere
[22:01:27] <jaawerth> oh yeah, I meant the bit about flipping it around and also using it as a state-builder GUI
[22:01:33] *** MalfaitRobin has quit IRC
[22:01:33] *** MalfaitRobin has joined #angularjs
[22:01:35] <ctanga> aah
[22:01:39] *** ehynds has quit IRC
[22:01:46] *** aven1 has joined #angularjs
[22:01:48] *** bayousoft has quit IRC
[22:01:48] <jaawerth> that could get buggy fast
[22:01:58] <jaawerth> man, so much stuff I want to build
[22:02:00] *** owen1 has joined #angularjs
[22:02:04] <jaawerth> and none of it related to my job
[22:02:15] *** bayousoft has joined #angularjs
[22:02:46] <jaawerth> I really want to push that little Object.observe experiment as far as it can go - turns out the Polymer observe-js doesn't even polyfill for Observe, it just falls back to dirty-checking
[22:02:58] <ctanga> oh, heh
[22:03:11] *** dave_boling has quit IRC
[22:03:21] <robdubya> https://github.com/dfahlander/Dexie.js super fucking awesome lib yall
[22:03:27] <jaawerth> but I did a quick google yesterday, and there's a discontinued lib - it looks like the dude took the same approach
[22:03:39] <robdubya> indexedDB + promises ftw
[22:03:44] <jaawerth> well, not the same, but at least similar in using defineProperty
[22:04:29] <jaawerth> But if you could build a lib that goes native Object.observe --> non-dirty-checking polyfill for ES5 browsers -->dirty checking...
[22:04:41] <jaawerth> well you've got a nice lightweight data binding library right there
[22:05:07] *** prosper__ has joined #angularjs
[22:05:13] *** japhar81 has quit IRC
[22:05:28] *** Cronoh has quit IRC
[22:05:32] *** joroc has quit IRC
[22:05:54] *** jstroem has quit IRC
[22:06:11] <caitp> do you think you'll buy a new broadwell mbp if they ever come out
[22:06:18] <ctanga> non-dirty checking polyfill might be the tricky part :)
[22:06:27] *** D-Boy has quit IRC
[22:06:51] *** D-Boy has joined #angularjs
[22:06:52] *** Oxynum has quit IRC
[22:06:55] <ctanga> i switched to macbook air
[22:07:11] <jaawerth> ctanga: that's what the little plnk I showed you does
[22:07:11] <caitp> my surgeon had a macbook air, it seemed kinda crap
[22:07:19] <caitp> not suitable for building browsers with
[22:07:24] *** tkh44 has joined #angularjs
[22:07:31] <caitp> i'm not sure why i do that from a laptop anyways, but still
[22:07:37] <jaawerth> the only thing you'd possibly have to dirty-checking is, if you want to watch an entire object and not just a property, you'd have to dirty-check Object.keys().length
[22:07:46] <ctanga> jaawerth: that’s the tricky part though
[22:07:47] *** jstroem has joined #angularjs
[22:07:48] *** prosper_ has quit IRC
[22:08:05] *** williamtdr has joined #angularjs
[22:08:15] <jaawerth> ctanga: Why? You can do that pretty cheaply - I was worried about it at first, but true Object.observe only goes a single level
[22:08:27] <jaawerth> "deep"-observing could get costly though
[22:08:36] <ctanga> caitp: i don’t miss my MBP. My 6 month old air is faster than my 2year old mbp + SSD, and for me that’s fast enough
[22:08:42] <ctanga> jaawerth: ah, I wasn’t aware of that
[22:08:49] <jaawerth> ctanga: yeah, I tried it yesterday
[22:09:03] <jaawerth> stupid javascript not having any way to easily see how many keys an object has
[22:09:07] *** MalfaitR_ has joined #angularjs
[22:09:18] <jaawerth> I wonder how native Object.observe checks for new properties
[22:09:39] *** danecando has joined #angularjs
[22:09:51] *** RobinBAwesome has joined #angularjs
[22:10:46] <jaawerth> caitp: You might know - observing properties is straightforward enough, but how DOES the native Object.observe check the object for new keys? I imagine it doesn't dirty-check..
[22:10:48] *** woebtz has joined #angularjs
[22:11:06] *** yelvert has quit IRC
[22:11:22] *** MalfaitRobin has quit IRC
[22:11:42] <jaawerth> as for Macbooks - for dev (well, everything that doesn't require Visual Studio) I am all linux all the time now.
[22:11:52] *** MalfaitRobin has joined #angularjs
[22:12:04] <jaawerth> my company uses Outlook + Exchange, but I now have that working almost perfectly without a virtual machine
[22:12:24] <jaawerth> (and the rest of Office 2010)
[22:13:29] *** smola1022 has joined #angularjs
[22:13:50] *** okdamn has quit IRC
[22:13:52] *** nickgs has quit IRC
[22:13:59] <smola1022> hello folks
[22:14:02] *** dmack has joined #angularjs
[22:14:15] <smola1022> i've got an interesting quandary with directives
[22:14:21] *** Malfait__ has joined #angularjs
[22:14:34] <ctanga> I’ll be the judge of that
[22:14:46] <smola1022> has anyone used the `require: '^controllerName'` option with directives?
[22:14:47] *** MalfaitR_ has quit IRC
[22:15:27] <smola1022> ok @ctanga, let's see what you got....
[22:15:46] *** SargoDarya has quit IRC
[22:15:59] <smola1022> im working on an app with a team, and i'm currently ripping our dependency on jquery out of our app
[22:15:59] *** raibutera has joined #angularjs
[22:16:17] *** prosper__ has quit IRC
[22:16:21] <BahamutWC|Work> smola1022: I have
[22:16:28] <smola1022> in this case, there is a directive which has another directive nested inside of it in the template
[22:16:30] *** yelvert has joined #angularjs
[22:16:37] <jaawerth> ctanga: ... I think I've got it!
[22:16:47] *** MalfaitR_ has joined #angularjs
[22:16:55] <robdubya> jaawerth its probably something to do with proxies
[22:17:02] <jaawerth> __proto__
[22:17:04] <smola1022> in the js, the second directive requires the controller of the first directive
[22:17:14] *** MotherMGA has joined #angularjs
[22:17:35] *** evilaliv3 has joined #angularjs
[22:17:42] <jaawerth> You define an addProperty function as part of the observer library, which simply adds a property, applies any existing watchers to it, and adds it to the existing prototype so it will match what's in __proto__
[22:17:47] <smola1022> in the link function for the parent directive, it sends the element arg through to a method on the controller
[22:17:51] <MotherMGA> is there a way to allow an input model be set before it validates?
[22:18:01] *** MalfaitRobin has quit IRC
[22:18:05] <smola1022> inside this method, it does: self.$queryInput = element.find('input');
[22:18:16] <jaawerth> So a user can explicitly do that and because you're using the function, it will just those props to the observed properties. Here's the trick:
[22:18:49] <smola1022> with or without jquery, when i pause with debugger, that call turns up an empty array because the input element it is looking for is in the template of the nested directive
[22:18:53] *** falk_netstyler has joined #angularjs
[22:18:54] *** Oddman has quit IRC
[22:19:08] <jaawerth> now you can compare __proto__ with the mutated prototype of the object (I think)
[22:19:12] <ctanga> jaawerth: good luck with __proto__
[22:19:14] <raibutera> hi guys, in angular 1.2 I was using functions to generate text etc for data in my controllers and then binding elements to an expression that executed that function. In angular 1.3 you can't do that anymore - so are parser/formaters what I should be using? Very conused
[22:19:26] <jaawerth> ctanga: You think nonstandard implementations would ruin it?
[22:19:30] *** Oddman has joined #angularjs
[22:19:31] <smola1022> i thought that nested directives all compile before any linking functions run, but it seems that the requirement of the parent controller is changing that flow
[22:19:42] <ctanga> yeah, it’s not even avaiilable in some places
[22:19:47] *** MalfaitRobin has joined #angularjs
[22:19:51] *** spatialbrew has joined #angularjs
[22:19:57] *** japhar81 has joined #angularjs
[22:20:01] *** kuadrosx has joined #angularjs
[22:20:18] <fotoflo> hmm, i have variables ng-repeat=“a in vars” if a==b i want to set a class on an element…. use ng-class? how?
[22:20:26] *** rikko has joined #angularjs
[22:20:28] <jaawerth> ctanga: I'm thinking that might be how native Object.observe does it, though
[22:20:52] <ctanga> I think native object.observe can access whatever it wants to, for its own implementation
[22:20:54] *** Malfait__ has quit IRC
[22:20:58] <jaawerth> haha
[22:20:59] <smola1022> so my question, @ctanga, is: is there any way to get the nested directive to compile by the time the parent directive's link function runs?
[22:20:59] <jaawerth> well, yeah
[22:21:00] *** asheshambasta has joined #angularjs
[22:21:10] <ctanga> smola1022: nope
[22:21:27] <jaawerth> ctanga: I mean it would actually be kind of easy, because modern JS engines doing JIT compilation will define object classes and mutate them as objects are changed
[22:21:42] <jaawerth> if you have access to THAT behavior, you can definitely trigger stuff on new properties
[22:21:54] <MotherMGA> I'm finding that an ngModel bound to an input is not set in the controller until all ng* validators return true. Is there a way to allow the model be set before the input is valid?
[22:22:07] <ctanga> the nested directive should require the parent directive. when the nested directive links, it should call a method on the parent directive’s controller
[22:22:29] <smola1022> wow. ok, well, later on, a .focus() call is executed on that self.$queryInput property. with jquery, the call succeeds. without, it errors because the value is just an empty array
[22:22:47] *** MalfaitR_ has quit IRC
[22:22:52] <smola1022> does jquery support some sort of late binding mechanism that allows for that property to get populated once the nested directive is compiled?
[22:22:52] *** ahtik has quit IRC
[22:22:57] *** deanclkclk has quit IRC
[22:23:00] *** opiates has joined #angularjs
[22:23:20] <ctanga> smola1022: building the DOM is iterative . You can prove this to yourself by putting a breakpoint in $digest, hitting continue repeatedly, and watching the DOM build up in the browser
[22:23:27] *** MalfaitR_ has joined #angularjs
[22:23:40] <ctanga> smola1022: nah, and that’s part of the problem with jquery + angular
[22:23:46] <ctanga> they simply operate on totally different assumptions
[22:23:59] *** mrru has quit IRC
[22:24:08] <ctanga> when using jquery inside angular, you have to change your assumptions about what is available *now* in the DOM
[22:24:08] <jaawerth> you can easily work around this with a defer
[22:24:24] *** stormbytes has quit IRC
[22:24:27] *** Oddman has quit IRC
[22:24:40] *** wallerdev has joined #angularjs
[22:24:50] *** jtimon_ has joined #angularjs
[22:25:09] *** JohnBat26 has quit IRC
[22:25:20] <jaawerth> smola1022: Just have the sub-directive call focus on itself
[22:25:36] <zumba_addict> how is $105k/yr for frontend dev
[22:25:41] <jaawerth> pass in an expression to it if you want to be able to manipulate it from above
[22:25:49] <zumba_addict> hi jaawerth, glad to see you :)
[22:25:52] <jaawerth> hey!
[22:25:56] *** MalfaitRobin has quit IRC
[22:26:03] <jaawerth> you too. as to your question, I have no idea
[22:26:04] <zumba_addict> man, i'm so f'ing pissed off today
[22:26:17] *** richiebkr has quit IRC
[22:26:30] <robdubya> depensd where you live i guess
[22:26:44] *** richiebkr has joined #angularjs
[22:26:47] <zumba_addict> i built a monitoring tool and I have never missed any tasks. I was told today that my increase will be friggin minimal
[22:26:51] <zumba_addict> ok robdubya
[22:26:54] *** prosper_ has joined #angularjs
[22:27:01] <robdubya> you're in chi-town yeah?
[22:27:03] <zumba_addict> yes
[22:27:05] <jaawerth> Yeah. I know I'm underpaid for what I do, but I have no problem for that because I have an almost-entirely self-directed job, which is sweet
[22:27:11] <zumba_addict> the tools is even being used by other clients
[22:27:11] <jaawerth> no problem with that*
[22:27:21] <zumba_addict> k
[22:27:24] <jaawerth> oh, bummer
[22:27:30] <ctanga> smola1022: simple directive I used once http://pastebin.com/BgDjEtJf
[22:27:36] <zumba_addict> now being asked to build new features
[22:27:41] <zumba_addict> now I'm so unmotivated
[22:28:01] *** MalfaitRobin has joined #angularjs
[22:28:04] <zumba_addict> i want to go back as a security engineer
[22:29:00] <Sawbones> I feel like I should be writing unit tests more often
[22:29:04] *** jtimon has quit IRC
[22:29:23] <Sawbones> Anyone have articles or tutorials and writing building your app with tests for angular?
[22:29:25] <zumba_addict> I feel i'm wasting my time staring at my computer right now here at work
[22:29:44] <robdubya> zumba_addict still working for the same bunch of morons?
[22:29:51] <zumba_addict> exactly robdubya
[22:29:54] *** MalfaitR_ has quit IRC
[22:29:59] <zumba_addict> i'm going to look for new job on January
[22:30:02] <zumba_addict> that's very sure
[22:30:15] <robdubya> head west son, the weather is lovely out here :D
[22:30:17] <zumba_addict> i was expecting that the increase will be high due to my performance
[22:30:27] <zumba_addict> thinking about that too
[22:30:31] *** MalfaitR_ has joined #angularjs
[22:30:34] *** encryptd_fractl has quit IRC
[22:31:05] <zumba_addict> they're going to lose a person who is a very dedicated on what he does
[22:31:09] *** Zentdayn has joined #angularjs
[22:31:39] *** c00ljs has quit IRC
[22:31:40] <zumba_addict> i just didn't do programming but I hacked their system and found flaws
[22:31:49] *** joroc has joined #angularjs
[22:32:09] <zumba_addict> anyways, I don't want my night to be ruined :)
[22:32:39] *** encryptd_fractl has joined #angularjs
[22:32:46] *** evanjs has quit IRC
[22:32:50] <ctanga> smola1022: here’s some other ideas: http://pastebin.com/bYUrBw7g
[22:32:56] <zumba_addict> i'm going to make up a store that the new code I'm writing got deleted and that I haven't git pushed
[22:33:01] <zumba_addict> store-story
[22:33:14] <Foxandxss> zumba_addict: just fuck them
[22:33:20] <zumba_addict> i'm very unmotivated now
[22:33:40] <Foxandxss> welcome to my world :P
[22:33:46] <zumba_addict> :D
[22:33:52] <robdubya> Foxandxss not loving the new jerb?
[22:33:52] *** MalfaitRobin has quit IRC
[22:33:57] <Foxandxss> I have no jerb
[22:33:58] *** ihsw has left #angularjs
[22:35:21] <zumba_addict> taking off in 10 mins
[22:35:27] <zumba_addict> i even got here late, LOL
[22:35:31] *** MotherMGA has left #angularjs
[22:35:39] *** foofoobar has quit IRC
[22:35:40] *** aven1 has quit IRC
[22:35:59] *** marr has joined #angularjs
[22:36:03] *** IsraelOrtuno has quit IRC
[22:36:18] <fotoflo> i have variables ng-repeat=“a in vars”    if a==$scope.b i want to set a class on an element…. use ng-class? how?
[22:36:38] *** IsraelOrtuno has joined #angularjs
[22:37:56] *** e0ipso is now known as e0ipso|away
[22:38:01] <nickeddy> ng-class="{'some-class': a === b}"
[22:38:15] <fotoflo> nickeddy: that easy?! thanks
[22:38:21] *** sandelius has quit IRC
[22:38:24] *** MalfaitR_ has quit IRC
[22:38:53] *** Oddman has joined #angularjs
[22:39:07] <nickeddy> np
[22:39:09] *** walden is now known as walden|brb
[22:39:25] *** Aerospark has joined #angularjs
[22:39:32] *** cthrax has joined #angularjs
[22:40:18] *** tskaggs has quit IRC
[22:40:21] *** MalfaitRobin has joined #angularjs
[22:40:40] *** tschundeee has quit IRC
[22:40:47] *** bayousoft has quit IRC
[22:40:57] *** tristanp has quit IRC
[22:40:58] *** FIFOd[a] has quit IRC
[22:41:14] *** tschundeee has joined #angularjs
[22:41:15] *** bayousoft has joined #angularjs
[22:41:30] *** terakilobyte has joined #angularjs
[22:42:48] *** annlewis has quit IRC
[22:42:50] *** tkdaj has left #angularjs
[22:43:09] *** wex13r_ has joined #angularjs
[22:43:32] *** tristanp has joined #angularjs
[22:44:06] *** Aerospark has quit IRC
[22:44:07] *** denis has quit IRC
[22:44:29] <jaawerth> ctanga: hrm, if the focusing directive is ON the element in question, shouldn't it be necessary to defer anything
[22:44:30] *** fatshark has quit IRC
[22:44:30] *** lrvick has quit IRC
[22:44:45] <fotoflo> nickeddy: worked like a charm, thanks
[22:44:50] *** webnerd_lw has joined #angularjs
[22:44:56] *** lrvick has joined #angularjs
[22:45:00] <jaawerth> ctanga: though I suppose it's still necessary if you're putting the focusing directive on an element that is itself a directive..
[22:45:06] *** akrikos has quit IRC
[22:45:15] <ctanga> *shrug* :)
[22:45:23] *** denis has joined #angularjs
[22:45:39] *** fatshark has joined #angularjs
[22:45:39] *** vectra has quit IRC
[22:45:41] *** tschundeee has quit IRC
[22:46:05] *** mmealling has quit IRC
[22:46:17] *** tkh44 has quit IRC
[22:46:39] *** mmealling has joined #angularjs
[22:47:01] *** cheef has quit IRC
[22:47:05] *** nickgs has joined #angularjs
[22:47:46] *** darrin_ has quit IRC
[22:47:58] *** vectra has joined #angularjs
[22:48:06] <ctanga> i like fontawesome
[22:48:14] *** tkh44 has joined #angularjs
[22:48:32] *** jaredwilli has quit IRC
[22:49:09] *** boxmein has joined #angularjs
[22:49:29] *** brwr has joined #angularjs
[22:49:32] *** zumba_addict has quit IRC
[22:49:42] *** FIFOd[a] has joined #angularjs
[22:50:32] *** MalfaitRobin has quit IRC
[22:50:36] *** dave_boling has joined #angularjs
[22:50:40] *** cannap has quit IRC
[22:50:50] *** juampy_backlater has quit IRC
[22:50:59] *** webnerd_lw has quit IRC
[22:51:00] *** MalfaitRobin has joined #angularjs
[22:51:45] *** spatialbrew has quit IRC
[22:52:00] *** prosper_ has quit IRC
[22:52:26] *** boxmein has quit IRC
[22:52:27] *** webnerd_lw has joined #angularjs
[22:52:45] *** boxmein has joined #angularjs
[22:53:15] <smola1022> ok
[22:53:22] <smola1022> i'm about to paste a bunch of code
[22:53:31] <smola1022> wait
[22:53:31] <smola1022> no
[22:53:32] <ctanga> no, pastebin.com
[22:53:34] <boxmein> smola1022: http://hastebin.com
[22:53:38] <smola1022> i will pastebin or something haha
[22:53:41] <smola1022> yessss
[22:54:30] *** FIFOd[a] has quit IRC
[22:54:30] *** robot443 has quit IRC
[22:54:36] *** webnerd_lw has quit IRC
[22:54:50] <boxmein> hastebin.com, bpaste.net, paste.ubuntu.com, pastebin.mozilla.org, paste.pound-python.org, pastebin.com, jsfiddle.net, codepad.org, codepen.io, etc etc
[22:54:58] <boxmein> there's a thousand and more places to put in code and get out a website
[22:54:59] <smola1022> ok, check this out: http://pastebin.com/2LmkKu6u
[22:55:08] <BahamutWC|Work> everyone: you should upgrade your git - https://github.com/blog/1938-git-client-vulnerability-announced
[22:55:50] *** Solid1_afk is now known as Solid1
[22:55:53] *** jdivock has quit IRC
[22:56:00] *** renstrm has quit IRC
[22:56:21] *** FIFOd[a] has joined #angularjs
[22:56:35] *** raibutera has quit IRC
[22:56:47] *** japhar81 has quit IRC
[22:56:55] *** renstrm has joined #angularjs
[22:57:20] <ctanga> smola1022: wrap the call to focusInput in a $timeout and tell me what happens
[22:58:57] *** opiates has quit IRC
[22:59:23] *** __danimal__ has quit IRC
[22:59:57] *** raibutera has joined #angularjs
[23:00:17] *** mkusher has quit IRC
[23:00:19] *** Solid1 is now known as Solid1_afk
[23:00:19] <smola1022> errors. i would expect that, though, because all of the assignments are finished by the time the parent view renders, and that function is called based on a user action
[23:00:22] <raibutera> who here is bored and wants to make a really bad day a hell of a lot better?
[23:00:47] *** laax has joined #angularjs
[23:00:57] <smola1022> i also tried wrapping the contents of self.init in a $timeout but using the debugger showed that the child directive still hadn't rendered at that point
[23:01:27] <smola1022> errr..compiled
[23:01:33] *** annlewis has joined #angularjs
[23:01:36] <ctanga> smola1022: is dir2 the input directive?
[23:01:42] <smola1022> yes
[23:01:45] *** jaydubya has quit IRC
[23:01:54] *** aven1 has joined #angularjs
[23:02:02] <ctanga> so the element is the input element?
[23:02:14] *** jaydubya has joined #angularjs
[23:02:21] <ctanga> I mean, in dir2’s link fn, the element is the input element? link: function(scope, element, attrs, ctrl) {
[23:02:34] <smola1022> no, the init function is called from inside of dir1's link function
[23:02:35] <raibutera> I can't find any information on how best to display a collection of non-uniform objects in the view with appropriate flavour text. My question is on stackoverflow here: http://stackoverflow.com/questions/27556451/migrating-to-angular-1-3-generating-view-flavour-text-based-on-model-data-be
[23:02:35] <ctanga> or some child element is the input element
[23:02:43] <smola1022> so it is the dir1 template element
[23:02:45] *** NormySan has quit IRC
[23:02:46] *** dmamills is now known as dmamillzzzz
[23:03:02] <smola1022> yes, at that point it would be
[23:03:17] *** axsuul has joined #angularjs
[23:03:35] <smola1022> maybe the call to ctrl.init should be within the dir2's link function instead of dir1's link function?
[23:03:38] *** weems|mac has joined #angularjs
[23:04:02] *** ethanwelborn has joined #angularjs
[23:04:04] <ctanga> so I’m clear, you’re trying to focus an input element from parent directive dir1 based on some user action. The input element you want to focus is inside the template for the child directive, dir2
[23:04:08] *** ethanwelborn has left #angularjs
[23:04:11] <fotoflo> nickeddy: can i use the same thing for ng-style (this isnt working) ng-style="{'text-align: right;' : b === a}”>
[23:04:26] <smola1022> you are correct
[23:05:06] *** gaboesquivel has quit IRC
[23:05:08] *** welbornio has joined #angularjs
[23:05:17] <ctanga> In directive 2, you have access to the parent controller. You also have the ability to locate the input element. in dir2 link function, find the input element and call parentCtrl.setInputElement(foundElement) which registers the input as parent controller.self.$input
[23:05:23] *** welbornio has left #angularjs
[23:05:36] *** joroc has quit IRC
[23:05:56] <smola1022> i was thinking the same thing (more or less) ;]
[23:06:04] <ctanga> beans.
[23:06:22] *** FIFOd[a] has quit IRC
[23:08:38] *** safani has joined #angularjs
[23:08:52] <fotoflo> nevermind, there was a bootstrap class i could use instead :-)
[23:08:57] *** Superhard has quit IRC
[23:09:02] *** chiburbs has quit IRC
[23:09:10] *** tristanp has quit IRC
[23:09:37] <smola1022> yessssssss
[23:09:43] <smola1022> THANKS @ctanga!!!
[23:10:27] *** OddDuck has quit IRC
[23:10:35] *** BillCriswell has quit IRC
[23:11:00] *** leolower has quit IRC
[23:11:44] *** chiburbs has joined #angularjs
[23:12:01] *** tschundeee has joined #angularjs
[23:12:25] *** SexualRickshaw has quit IRC
[23:12:25] *** SargoDarya has joined #angularjs
[23:12:44] *** mbenadda has joined #angularjs
[23:12:45] *** MalfaitR_ has joined #angularjs
[23:13:23] *** Saturn2888 has joined #angularjs
[23:13:57] *** MalfaitRobin has quit IRC
[23:14:39] *** ctanga has quit IRC
[23:14:39] *** leolrrj has joined #angularjs
[23:15:00] *** sandelius has joined #angularjs
[23:15:09] *** gladely has joined #angularjs
[23:15:55] *** MalfaitRobin has joined #angularjs
[23:15:55] *** steeze has quit IRC
[23:15:56] *** mzabriskie has quit IRC
[23:15:59] *** RobinBAwesome has quit IRC
[23:16:02] *** johnstorey has quit IRC
[23:16:56] *** SargoDarya has quit IRC
[23:16:57] *** mbenadda has quit IRC
[23:17:27] *** chizbang has joined #angularjs
[23:19:12] *** MalfaitR_ has quit IRC
[23:19:21] *** Malfait__ has joined #angularjs
[23:19:29] *** walden|brb is now known as walden
[23:19:39] *** lsiv568 has quit IRC
[23:19:58] *** falk_netstyler has quit IRC
[23:20:21] *** steeze has joined #angularjs
[23:20:38] *** pnascimento has joined #angularjs
[23:20:39] *** steeze has quit IRC
[23:20:48] *** Aerospark has joined #angularjs
[23:20:52] <pnascimento> hello
[23:21:06] *** Aliks has joined #angularjs
[23:21:08] <pnascimento> how can I debug “ng-bind” directive?
[23:21:10] *** Saturn2888 has left #angularjs
[23:21:15] *** MalfaitR_ has joined #angularjs
[23:21:20] *** tschundeee has quit IRC
[23:21:27] <StoneCypher> c0bra: thanks
[23:21:41] *** MalfaitRobin has quit IRC
[23:21:46] *** Aliks has quit IRC
[23:21:50] <pnascimento> I have my title tag empty with ng-bind binded to a service but I cannot “refresh” my title no matter the controller :/
[23:21:55] <pnascimento> * :(
[23:22:12] *** Aliks has joined #angularjs
[23:22:25] *** Aerospark has quit IRC
[23:22:35] *** g33k5z has quit IRC
[23:23:01] *** g33k5z has joined #angularjs
[23:23:02] *** freeman42 has quit IRC
[23:23:12] *** steeze has joined #angularjs
[23:23:27] *** g33k5z has quit IRC
[23:23:29] *** MalfaitRobin has joined #angularjs
[23:23:53] *** g33k5z has joined #angularjs
[23:24:05] *** red_horned_rihno has quit IRC
[23:24:27] *** Malfait__ has quit IRC
[23:24:36] *** agrajag42 has quit IRC
[23:25:20] *** red_horned_rihno has joined #angularjs
[23:25:35] *** lsiv568 has joined #angularjs
[23:25:40] *** red_horned_rihno has quit IRC
[23:25:57] *** jdivock has joined #angularjs
[23:26:13] *** terakilobyte has quit IRC
[23:26:24] *** Aerospar_ has joined #angularjs
[23:26:25] *** bradmaxs has joined #angularjs
[23:26:25] *** Menorah has quit IRC
[23:27:08] *** MalfaitR_ has quit IRC
[23:27:15] *** DarrenCraig has joined #angularjs
[23:27:16] *** AngularUI has joined #angularjs
[23:27:16] <AngularUI> [ng-grid] swalters created fastscroll (+1 new commit): http://git.io/nPzyuQ
[23:27:16] <AngularUI> ng-grid/fastscroll a6d15e6 swalters: experiment with faster scrolling
[23:27:16] *** AngularUI has left #angularjs
[23:27:27] *** erewnoh has joined #angularjs
[23:27:59] *** MalfaitR_ has joined #angularjs
[23:28:24] *** urh_ has quit IRC
[23:28:27] *** jonasliljestrand has joined #angularjs
[23:28:36] *** zwacky has quit IRC
[23:28:53] *** Aerospar_ has quit IRC
[23:29:13] *** raghunayyar has quit IRC
[23:29:49] *** jdj_dk_ has quit IRC
[23:30:22] *** doodlehaus has quit IRC
[23:30:23] *** Malfait__ has joined #angularjs
[23:31:06] *** MalfaitRobin has quit IRC
[23:31:38] *** cannap has joined #angularjs
[23:31:48] <pnascimento> anyone?
[23:31:54] *** leolower has joined #angularjs
[23:31:55] *** joroc has joined #angularjs
[23:32:05] <dmack> show me code :D
[23:32:12] <pnascimento> me?
[23:32:15] <dmack> yus
[23:32:24] *** ips|malc has quit IRC
[23:32:28] <pnascimento> ok
[23:32:31] <dmack> why is it bound to a service?
[23:32:47] <dmack> ng-bind needs to be bound to $scope
[23:32:48] *** MalfaitRobin has joined #angularjs
[23:33:15] <pnascimento> <title ng-bind="page.title()"></title>
[23:33:16] *** RobinBAwesome has joined #angularjs
[23:33:27] <pnascimento> I have this in my index.html
[23:33:46] <pnascimento> (NOT the template. :) )
[23:33:56] *** MalfaitR_ has quit IRC
[23:34:08] *** encryptd_fractl has quit IRC
[23:34:18] *** it0a has quit IRC
[23:34:19] <dmack> and what is "page"?
[23:34:35] <dmack> that's your service?
[23:34:36] <pnascimento> app.service('page', function() {
[23:34:37] <pnascimento> var title = 'Sustainability Cup - Homepage';
[23:34:38] <pnascimento> return {
[23:34:40] <pnascimento> title: function() {
[23:34:41] <pnascimento> return title;
[23:34:43] <pnascimento> },
[23:34:44] <pnascimento> set: function(aTitle) {
[23:34:45] <pnascimento> title = aTitle;
[23:34:47] <pnascimento> }
[23:34:48] <pnascimento> };
[23:34:49] <pnascimento> });
[23:34:49] <BahamutWC|Work> please pastebin the code
[23:34:55] <pnascimento> (damn it, tried to paste everything in one line :S )
[23:35:02] <dmack> ^, that - and that won't ever work like you expect
[23:35:09] <pnascimento> BahamutWC: sorry, not intended
[23:35:15] *** aven1 has quit IRC
[23:35:17] *** yelvert has quit IRC
[23:35:21] <dmack> you could do this, in a controller.
[23:35:30] *** Efrem has quit IRC
[23:35:32] <dmack> $scope.pageTitle = page.title()
[23:35:37] <dmack> ng-bind="pageTitle"
[23:35:44] <pnascimento> and I do it
[23:36:12] *** Malfait__ has quit IRC
[23:36:15] <pnascimento> in every Controller I “import” the ‘page’ service and invoke: page.set(“home”);
[23:36:19] *** Grokling_ has quit IRC
[23:36:26] *** geiltalasdair has joined #angularjs
[23:36:36] *** MalfaitR_ has joined #angularjs
[23:36:57] *** tilgovi has joined #angularjs
[23:37:36] *** sandelius has quit IRC
[23:38:13] *** bayousoft has quit IRC
[23:38:13] *** bayousof_ has joined #angularjs
[23:38:22] *** Fenikkusu has joined #angularjs
[23:38:38] <dmack> right, but your template has no idea what "page" is
[23:38:48] *** nickgs has quit IRC
[23:39:03] <Fenikkusu> I'm having an issue where angular is telling me it can't find ngModel controller for a custom directive, even though 'ng-model' exists on the custom directive element
[23:39:14] *** nickgs has joined #angularjs
[23:39:36] *** MalfaitRobin has quit IRC
[23:39:50] <dmack> Fenikkusu: did you require 'ngModel'?
[23:39:55] <raibutera> Phoenix have you injected ngModel into the controller as an depenc
[23:39:56] <raibutera> y
[23:39:58] <Fenikkusu> yes
[23:40:01] *** geilt has quit IRC
[23:40:02] *** michaelSharpe has quit IRC
[23:40:07] <dmack> and the 4th argument of link()
[23:40:10] <dmack> is your controller.
[23:40:18] *** geiltalasdair has quit IRC
[23:40:21] *** Lewix has joined #angularjs
[23:40:25] <Fenikkusu> That is correct
[23:40:30] *** geilt has joined #angularjs
[23:40:45] <dmack> gonna have to see code now :)
[23:40:46] *** julaboy has joined #angularjs
[23:40:47] <Fenikkusu> though i'm using compile/pre/post not link
[23:40:53] *** zwacky has joined #angularjs
[23:41:05] *** JmZ is now known as JmZ_
[23:41:15] <dmack> that's probably why.
[23:41:32] <dmack> curious as to why people use compile, i've never once used it.
[23:41:40] <raibutera> (ps: if phoenix in romaji is what your handle is supposed to be, I think it's Fuiinikkusu (fu-ii-ni-ku(tsu)-su)
[23:41:45] <raibutera> Fenikkusu
[23:41:46] <Fenikkusu> It's useful in certain situations.
[23:41:54] *** eighty4 has quit IRC
[23:41:57] *** chiburbs has quit IRC
[23:42:13] *** baweaver has quit IRC
[23:42:14] *** jstroem has quit IRC
[23:42:34] *** baweaver has joined #angularjs
[23:42:50] *** jstroem has joined #angularjs
[23:42:55] <julaboy> Anyone know of a good reporting templates for Unit tests
[23:43:15] <raibutera> reporting template?
[23:43:15] <dmack> julaboy: karma-coverage
[23:43:20] <Fenikkusu> raibutera, I don't believe so. Back when I took Japanese, I was told this was correct.
[23:43:24] <dmack> https://github.com/karma-runner/karma-coverage
[23:43:32] *** jbourassa has quit IRC
[23:43:33] *** nickgs has quit IRC
[23:43:39] <Fenikkusu> And I've looked into it a number of times.
[23:43:44] *** eighty4 has joined #angularjs
[23:43:47] *** bradmaxs has quit IRC
[23:43:50] *** bayousof_ has quit IRC
[23:44:10] *** mzabriskie has joined #angularjs
[23:44:16] *** bayousoft has joined #angularjs
[23:44:20] *** chiburbs has joined #angularjs
[23:44:20] <raibutera> Fenikkusu the way you write it would be pronounced as 'Fenix", the "Fen" rhymes with Men,ben,ten,eleven
[23:44:33] <dmack> so Fenikkusu: did you just try using link()?
[23:44:39] <dmack> see if your model controller is there?
[23:44:49] <Fenikkusu> dmack, working it now.
[23:45:12] *** teeray has quit IRC
[23:45:24] <julaboy> I went to a demo recently, and the presenter showed a web UI that showed all the JS assets, failing tests etc. The UI was great, I missed what they had used
[23:45:40] *** dylang has quit IRC
[23:45:51] *** asheshambasta has quit IRC
[23:47:09] <pnascimento> dmack: but the <title ng-bind="page.title()"></title> is placed in index.html and NOT in the template :/
[23:47:18] <pnascimento> dmack: * :(
[23:47:26] *** dannyc_ has joined #angularjs
[23:47:35] <dmack> right, so how is angular supposed to know about it?
[23:47:37] <dmack> pnascimento
[23:47:38] *** EoN has joined #angularjs
[23:48:13] <pnascimento> but in this example (by someone) it works: http://plnkr.co/edit/0e7T6l?p=preview
[23:48:31] <pnascimento> dmack: ^the only diff it is the factory instead the service :S
[23:48:37] <pnascimento> dmack: could be that
[23:48:37] <dmack> it's because they've directly bound their service to $scope.
[23:48:39] <Fenikkusu> No go. Still same error.
[23:48:41] *** scythe__ has joined #angularjs
[23:48:43] <dmack> see: $scope.Page = Page;
[23:48:43] *** dobladez has quit IRC
[23:48:47] <dmack> (dont do that, btw)
[23:49:02] <raibutera> dmack i would normally recommend storing it on the $rootScope but with the direction is currently going I have no idea ho i would bind something in the <head>
[23:49:10] <dmack> Fenikkusu: can you show me where you use require: 'ngModel'?
[23:49:15] <pnascimento> dmack: OOOOH… I miss that… :S
[23:49:26] <pnascimento> dmack: why should I do not do that? :)
[23:49:29] <Fenikkusu> Working on it now.
[23:49:34] <dmack> couples your service to your view.
[23:49:39] <dmack> probably not what you want.
[23:50:09] <dmack> but if this is purely for page titles and stuff, then maybe
[23:50:10] *** bmac has quit IRC
[23:50:58] <pnascimento> dmack: I will try as you said… with $scope (y)
[23:51:10] <pnascimento> ;)
[23:51:44] *** weems|mac has quit IRC
[23:51:44] *** loverajoel has quit IRC
[23:51:45] *** vbabiy has quit IRC
[23:51:46] *** Fire-Dragon-DoL has quit IRC
[23:52:44] <pnascimento> dmack: still does not work :/
[23:52:47] <pnascimento> *:(
[23:52:50] <dmack> do you have a controller?
[23:52:54] <pnascimento> yes
[23:52:59] *** OddDuck has joined #angularjs
[23:53:02] <dmack> show me
[23:53:32] *** iribarne has left #angularjs
[23:53:34] *** nc90 has joined #angularjs
[23:53:37] *** chiburbs has quit IRC
[23:53:53] *** Aerospark has joined #angularjs
[23:53:54] *** julaboy has quit IRC
[23:53:56] *** Cronoh has joined #angularjs
[23:53:58] *** jMyles has quit IRC
[23:54:10] *** Sawbones has quit IRC
[23:54:34] *** rikko has quit IRC
[23:55:01] *** rikko has joined #angularjs
[23:55:23] *** julaboy has joined #angularjs
[23:55:37] *** julaboy has left #angularjs
[23:55:40] *** julaboy has joined #angularjs
[23:55:43] <dmack> gotta log, sorry
[23:55:45] *** dmack has quit IRC
[23:56:00] *** Aerospark has quit IRC
[23:56:08] *** treeface has joined #angularjs
[23:56:20] *** dcherman2 has joined #angularjs
[23:56:22] *** sgen_ has quit IRC
[23:56:23] *** ivor has quit IRC
[23:56:23] *** IsraelOrtuno has quit IRC
[23:56:25] <Fenikkusu> Well that does me no good...just threw it in plunker and it's working.
[23:56:39] *** IsraelOrtuno has joined #angularjs
[23:56:40] <Fenikkusu> Minimum code though...
[23:56:47] *** DanSkaggs has quit IRC
[23:57:00] *** VictorBjelkholm has joined #angularjs
[23:57:35] *** julaboy has left #angularjs
[23:57:59] *** stormbytes has joined #angularjs
[23:57:59] *** Fuzzier has joined #angularjs
[23:58:04] *** Oxynum has joined #angularjs
[23:58:06] *** Superhard has joined #angularjs
[23:58:23] *** chiburbs has joined #angularjs
[23:58:44] *** ahtik has joined #angularjs
[23:59:12] *** cboden has quit IRC
[23:59:34] <Fenikkusu> Nvm...something to do with the template apparently... http://plnkr.co/edit/S3bZApx3Gnafj3Mb92dw?p=preview
[23:59:40] *** dcherman has quit IRC
[23:59:40] *** moogey_ has joined #angularjs
[23:59:57] *** chiburbs has quit IRC
top

   December 18, 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 | >