Switch to DuckDuckGo Search
   October 31, 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:15] <tarien> just let your templates stay in index.html, no external file no problem!
[00:00:20] <Grokling> Then just include all your stuff in index.html, and stop making it impossible for yourself..
[00:00:26] <Valoutre> Byep i know...
[00:00:35] <Valoutre> if it's impossible, i'll do that
[00:00:37] <Valoutre> :/
[00:00:39] <Grokling> so... why are we even still discussing this!?
[00:00:44] *** zackiv31 has quit IRC
[00:00:49] <TommyO> lol
[00:00:52] <Valoutre> it's really ugly !
[00:01:03] <TommyO> yes, we should be discussing weird results from $resource ;)
[00:01:09] *** lemur has joined #angularjs
[00:01:09] <tarien> has anyone expirience in using angular with require.js?
[00:01:18] <Grokling> Minify/uglify it.. then he'll have no idea what you've done ;-)
[00:02:35] *** favetelinguis has joined #angularjs
[00:02:55] *** ProLoser has quit IRC
[00:03:12] *** Oddman has quit IRC
[00:03:21] *** anivemin has quit IRC
[00:03:59] *** jwowwz has quit IRC
[00:04:01] *** jasonp has quit IRC
[00:04:23] <Valoutre> Thx anyway, i searching a little bit more...
[00:04:27] <Valoutre> bye
[00:04:53] *** jheady has joined #angularjs
[00:04:56] *** Valoutre has quit IRC
[00:05:52] *** doug64k has quit IRC
[00:06:30] *** vassagus has quit IRC
[00:06:47] *** Oddman has joined #angularjs
[00:06:54] *** favetelinguis has quit IRC
[00:07:19] *** dgee has joined #angularjs
[00:07:26] *** jdcasey has quit IRC
[00:07:35] *** eslaron has quit IRC
[00:07:35] *** mennea has quit IRC
[00:07:45] *** doug64k has joined #angularjs
[00:08:09] <alexw> are factories different from services?
[00:08:24] <jsheely> In case anyone knows RxJS and Angular and wants some Stackoverflow points. http://stackoverflow.com/questions/26664793/createobservablefunction-subscriber-gets-overriden
[00:08:37] *** tomzx is now known as tomzx`afk
[00:09:07] *** juanpablo_ has quit IRC
[00:09:15] *** knownasilya has quit IRC
[00:09:39] *** Reskp has joined #angularjs
[00:09:47] *** a-l-e-x has joined #angularjs
[00:09:59] *** mccarrontr1ck has quit IRC
[00:10:02] *** a-l-e-x has quit IRC
[00:10:09] *** moritzs has joined #angularjs
[00:10:24] <tarien> alexw i think so, otherwise there wouldnt be two of them
[00:10:45] *** ahtik has quit IRC
[00:10:53] *** lemur has quit IRC
[00:11:04] *** dsdeiz has quit IRC
[00:11:07] *** ProLoser has joined #angularjs
[00:11:22] *** Guest39221 has quit IRC
[00:11:31] *** lemur has joined #angularjs
[00:11:56] <themime> alexw: its a confusing subject sometimes. this isn't "right" but its practical for me: i always use factories
[00:11:59] *** ytsejam has quit IRC
[00:12:16] *** tarien_ has joined #angularjs
[00:12:19] <themime> and if someone says "service" they often times mean "factory" - its often interchangeable
[00:12:26] *** shackleford has quit IRC
[00:12:28] <Grokling> alexw: They are slightly different, conceptually, but you can achieve the same outcome with either.
[00:13:10] <Grokling> factories seem to be the most commonly used method from what I've seen./
[00:13:17] <themime> ^
[00:13:50] *** Reskp has quit IRC
[00:13:57] *** braidn has quit IRC
[00:14:07] <themime> for a (view-model) system-wide notification system would $watch-ing an array of notification objects be preferred over broadcasting events?
[00:14:25] *** defaultdict has quit IRC
[00:14:30] *** platonic has joined #angularjs
[00:14:35] <chanced> alexw: http://tylermcginnis.com/angularjs-factory-vs-service-vs-provider/
[00:14:38] *** g3funk has joined #angularjs
[00:14:39] *** kalehv has joined #angularjs
[00:14:40] *** tarien has quit IRC
[00:14:41] *** Ilgrim has quit IRC
[00:14:43] *** defaultdict has joined #angularjs
[00:14:58] *** ctanga has joined #angularjs
[00:15:09] *** laurensclaessen has quit IRC
[00:15:50] *** Ilgrim has joined #angularjs
[00:16:08] *** ctanga has quit IRC
[00:16:54] *** Cryode has joined #angularjs
[00:16:56] *** ctanga has joined #angularjs
[00:16:57] *** jMyles has joined #angularjs
[00:17:00] *** Guest63027 has joined #angularjs
[00:17:22] *** aminRX has quit IRC
[00:17:29] *** MartinZ has quit IRC
[00:17:29] <Grokling> themime: broadcasting is discouraged - it's way too readily abused. Why not keep your notifications in a service/factory, and bind them to the view like anything else?
[00:18:02] *** _tarien_ has joined #angularjs
[00:18:36] *** rob_parkhill has joined #angularjs
[00:18:36] <themime> Grokling: because there are several (SEVERAL) places that will be updated based on the notification - and it seems like its growing quickly. i feel like $watch on the notifications in the service/factory would be more modular since i can just add new controllers with their own $watch
[00:18:59] *** platonic has quit IRC
[00:19:00] *** Asiajey has joined #angularjs
[00:19:05] *** Asiajey has joined #angularjs
[00:19:06] *** nattonerd has quit IRC
[00:19:23] *** danecando has joined #angularjs
[00:20:28] <themime> and that way the notification handle method just pushes the notification to an array and i don't have to add there a new place to update. i did have this tree-like scenegraph rendering type idea where it cascaded parent-child updating as it went but $watch seems more modular, less code, and cleaner. but broadcast also exists so i wanted to check all my
[00:20:28] <themime> options
[00:20:39] *** lemur has quit IRC
[00:20:42] <Grokling> themime: nested states? Stick the notifications in scope on your base state, then you only have to worry about the view bindings..
[00:20:55] <themime> yea i just realized
[00:20:56] *** zackiv31 has joined #angularjs
[00:21:05] *** tarien_ has quit IRC
[00:21:06] <themime> that i can do that, just bind it on the scope and use a filter for each controller
[00:21:34] *** krawek has joined #angularjs
[00:21:35] *** diegoaguilar has joined #angularjs
[00:21:35] *** bbankes has joined #angularjs
[00:21:54] <themime> its not even nested states
[00:22:01] *** lemur has joined #angularjs
[00:22:06] <themime> hot damn angular is awesome
[00:22:15] *** Scathen^C has quit IRC
[00:22:27] *** Helious has joined #angularjs
[00:22:53] <Grokling> Yep. Sometimes it's too awesome, and we spend ages looking for a more complicated solution :D
[00:23:24] *** DigitallyBorn has quit IRC
[00:23:36] *** nezt has joined #angularjs
[00:23:44] <themime> haha yea. i think what happened is i used $watch in a directive like its supposed to be used and i got excited and a little overzealous...
[00:24:14] *** shaisnir has joined #angularjs
[00:24:15] *** ytsejam has joined #angularjs
[00:24:18] *** disorder20 has quit IRC
[00:24:21] <Grokling> When you have a shiny new hammer, most anything looks like a nail!
[00:24:28] <themime> hahaha i love that
[00:24:40] <dgee> $watch in controllers and directives are often a warning sign. if you need to trigger changes off scope properties, Object.defineProperty is probably a better approach
[00:24:48] *** tkimmel has quit IRC
[00:24:55] <nezt> i'm using a custom filter function with ng-repeat. is there a way to pass the custom filter function the current value of the iterator
[00:25:13] <nezt> like... object in list.. can i pass the current value of object to the custom filter function
[00:25:37] *** Grokling_ has joined #angularjs
[00:25:39] *** _tarien_ has quit IRC
[00:25:56] *** Fire-Dragon-DoL has quit IRC
[00:26:05] <nezt> for example <li ng-repeat="object1 in cards | filter:cardFinder(object1) " > yields undefined
[00:26:07] *** lemur has quit IRC
[00:26:51] *** tbo_ has quit IRC
[00:27:00] <snurfery> sup yall
[00:27:05] <snurfery> how goes it up in this
[00:27:11] *** richardlitt_ has joined #angularjs
[00:27:12] *** tripu has joined #angularjs
[00:27:33] *** richardlitt has quit IRC
[00:27:33] *** richardlitt_ is now known as richardlitt
[00:27:41] <dgee> turn cardFinder into an actual filter
[00:28:14] <dgee> then you can do ng-repeat=“object1 in cards | cardFinderFilter:object1”
[00:28:48] <nezt> thanks!!, do you have any links on how to do that?
[00:28:48] *** jplussier has joined #angularjs
[00:28:49] <Grokling> dgee: I think it even gets passed in there implicitly, so you don't even need the :object1 on the end..
[00:29:02] <s3shs> Anybody here familiar with angular-strap?
[00:29:06] <dgee> .filter('cardFinderFilter', function() {
[00:29:07] <dgee> return function( cards, curObj) {
[00:29:08] <dgee> };
[00:29:08] <dgee> });
[00:29:21] <snurfery> ack
[00:29:27] <snurfery> da codes!
[00:29:32] *** stephen has joined #angularjs
[00:29:33] <dgee> the collection gets passed in implicitly
[00:29:49] *** Txandy has quit IRC
[00:29:52] *** bmac has quit IRC
[00:29:52] <Grokling> Someone should invent a place where you can paste code..
[00:29:52] *** dgncn has quit IRC
[00:29:58] <themime> lolol
[00:30:06] *** jheady has left #angularjs
[00:30:31] *** stschwark has joined #angularjs
[00:30:42] *** arriu has quit IRC
[00:31:11] <stephen> like, a bin for pastes?
[00:31:22] *** spaceribs has joined #angularjs
[00:31:26] *** lemur has joined #angularjs
[00:31:28] <stephen> Somewhere you could just plunk the code
[00:31:30] <stephen> and fiddle with it]
[00:31:35] <spaceribs> evenin'
[00:31:40] *** Grokling_ has quit IRC
[00:31:46] <Grokling> stephen: awesome idea. Do it!
[00:31:46] *** pootpoot has quit IRC
[00:31:57] *** tripu has quit IRC
[00:32:06] <snurfery> I get the gist of what you're saying
[00:32:35] <Grokling> Even a box you could drop it in would be good.
[00:33:23] <doug64k> I bet you could get people to insist that you use them in irc channels
[00:33:33] *** tripu has joined #angularjs
[00:33:35] <nezt> shit i just realized it can't be a separate module because i need to access a scope variable . so i don't know how i'd do a custom filter
[00:33:43] *** conan_the_destro has quit IRC
[00:33:53] *** Ilgrim has quit IRC
[00:33:54] <Grokling> doug64k: Theres' a marketing model sorted..
[00:33:55] <stephen> I'm betting you'd get tons of oohs and AWS
[00:34:10] *** ccohn has joined #angularjs
[00:34:33] <Grokling> nezt: You can still pass other stuff into your filter. And it
[00:34:41] <Grokling> 's fine for it to be in the same module
[00:34:46] <stephen> Remember folks: Modules mean nothing once loaded. They all share the same namespace
[00:35:17] *** chanced has quit IRC
[00:35:18] <stephen> that's why 2.0 kills them
[00:35:39] <spaceribs> yeah I’ve caused a bit of a stir on the angular subreddit
[00:36:23] <stephen> Because the only DOM related memory spaces that matter are the ones just below your current element
[00:36:23] <spaceribs> maybe got a little annoyed about the complaining
[00:36:26] *** autolycus has left #angularjs
[00:36:27] *** jstroem has joined #angularjs
[00:36:39] <stephen> (Didn't we leave knockout because of this mentality folks?)
[00:36:52] *** szymek_ has quit IRC
[00:37:07] *** patrickarlt has quit IRC
[00:37:11] *** Mark__ has joined #angularjs
[00:37:16] <stephen> I think they just got annoyed at being in a jam over the fact your name reminds them of spacejam, but is completely unrelated
[00:37:18] *** adamnbowen has quit IRC
[00:37:21] *** aminRX has joined #angularjs
[00:37:25] <stephen> That seems like a redditor problem
[00:37:27] *** DrMabuse has joined #angularjs
[00:37:31] *** Mark__ has quit IRC
[00:38:05] <stephen> But seriously spaceribs, link?
[00:38:11] <spaceribs> http://www.reddit.com/r/angularjs/comments/2ksvv8/if_you_take_development_seriously_you_need_to/
[00:38:31] <zomg> welcome to development
[00:38:34] <spaceribs> it was a little…riling
[00:38:35] *** ccohn has quit IRC
[00:38:48] <spaceribs> i’ll admit
[00:38:49] <zomg> people living in their bubbles with zero real life experience shout at things
[00:38:58] <snurfery> I get the whole "deal with it" angle
[00:39:05] <zomg> pretending as if the magic world of perfection is actually something that happens in real life
[00:39:08] *** jstroem_ has joined #angularjs
[00:39:08] <zomg> :p
[00:39:14] *** jstroem has quit IRC
[00:39:32] *** aminRX has quit IRC
[00:39:42] *** nuizzy has quit IRC
[00:39:45] *** tripu has quit IRC
[00:39:47] <spaceribs> well down at the bottom of the comments people are mentioning python 3 as the perfect example of why languages shouldn’t change
[00:39:57] *** aminRX has joined #angularjs
[00:40:07] <snurfery> but anyone with a product (whether it's tech or not) can't invent shit in a vacuum without feedback, esp if it's going to cause pain to their user base
[00:40:24] *** tripu has joined #angularjs
[00:40:25] *** ProLoser has quit IRC
[00:40:31] <snurfery> angular is IMO the most successful community technology google's ever made
[00:40:32] <jsheely> Angular team just needs a marketing guy
[00:40:42] <jsheely> To put some official info out there to stop people from freaking out
[00:40:42] <stephen> spaceribs, Let's all be honest with one another here. AngularJS has brought a wonderful era of reliability and stability to Javascript
[00:40:51] *** lemur has quit IRC
[00:40:53] <snurfery> and they're managing to snatch defeat out of the jaws of victory
[00:40:57] <stephen> Not since jQuery have I seen a framework create so many jobs
[00:40:58] <jsheely> However all this buzz about 2.0 also creates a lot of publicity so there is that
[00:40:59] *** jonathanpglick has quit IRC
[00:41:05] *** ProLoser has joined #angularjs
[00:41:28] *** moritzs has quit IRC
[00:41:36] <stephen> Making such a drastic change, while completely technically warranted, goes against what many of us have been preaching to the business about where javascript was going
[00:41:39] *** lemur has joined #angularjs
[00:41:41] <spaceribs> we can’t discount the amount of drastic changes ES6 brings about thought
[00:41:46] *** jeffszusz has quit IRC
[00:41:51] <stephen> We were finally going to have a stable codebase for years
[00:42:02] <spaceribs> I mean it’s a whole new slightly unnessisary world
[00:42:03] <stephen> I totally agree spaceribs
[00:42:12] <stephen> It's not all their fault.
[00:42:13] *** DrMabuse has quit IRC
[00:42:27] <snurfery> they need a non-engineer to run their ideas through. a business or marketing type that actually deals with other humans for a living
[00:42:36] <themime> haha
[00:42:36] *** TyrfingMjolnir has joined #angularjs
[00:42:37] <zomg> most succesful community tech from google?
[00:42:40] <zomg> GOOGLE WAVE!!!+=
[00:42:44] <snurfery> lol
[00:42:53] <icfantv> heh, google wave
[00:42:55] <stephen> It's just that many of us now realize that either a) Our business isn't going to play nice with the upgrade path or b) we're going to be made out to look like liars
[00:43:01] <stephen> Our own fault, mind ytou
[00:43:04] *** icfantv has quit IRC
[00:43:09] <jsheely> WHAT DOn"T YOU UNDERSTAND!?! I TALK TO THE CUSTOMERS SO THE GOD DAMN ENGINEERS DON'T HAVE TOO... I'M A PEOPLE PERSON
[00:43:14] *** danecando has quit IRC
[00:43:18] <zomg> I'm not sure what's the big deal with no upgrade path
[00:43:22] <snurfery> so many comments were along the lines of "now i look like an idiot"
[00:43:27] <zomg> it's almost a brand new thing
[00:43:37] <zomg> so of course if you switch to a brand new thing it ain't gonna be upgradeable
[00:43:38] <s3shs> What's this, Angular 2?
[00:43:42] <zomg> it just shares the same name :p
[00:43:44] *** mjs2600 has joined #angularjs
[00:43:45] <snurfery> you don't want to make guys that are "smart for a living" feel like idiots
[00:43:48] *** jstroem_ has quit IRC
[00:43:48] <s3shs> Angular Wave?
[00:43:51] <zomg> hue hue
[00:43:53] <snurfery> nice.
[00:44:15] <stephen> Libraries aren't supposed to work like that
[00:44:32] *** jonathanpglick has joined #angularjs
[00:44:33] <stephen> The additional cost in retraining every developer is enormous
[00:44:36] <nicholes> We just finished selling the benefits of angular to convert a massive codebase
[00:44:39] *** aminRX has quit IRC
[00:44:40] <spaceribs> i can’t believe people want to do the progressive 1.3 -> 1.4 -> 1.5 thing to remove the scope/controllers, that’s such a terrible idea
[00:44:43] <stephen> ^
[00:44:45] <s3shs> They'd be better off forking 1.x an 2.x.
[00:44:53] <s3shs> With two teams
[00:44:59] <zomg> why would you need to upgrade to 2 if you have an existing app with 1.x
[00:45:01] <s3shs> And then let us start new projects with 2.x.
[00:45:02] *** favetelinguis has joined #angularjs
[00:45:03] <snurfery> yup everyone is still in the midst of rewriting all their shit legacy projects in angular 1.x
[00:45:03] <zomg> 1.x is a solid framework
[00:45:05] *** Scathen^C has joined #angularjs
[00:45:13] <snurfery> when suddenly
[00:45:15] <nicholes> I'm afraid it'll split the community
[00:45:16] <snurfery> BAM
[00:45:16] <stephen> It's not about upgrading a product, though that will definitely happen
[00:45:17] <stephen> It
[00:45:33] *** aminRX has joined #angularjs
[00:45:40] <stephen> It's about maintainability using a library that is kept current and relavent
[00:45:42] <snurfery> I wonder how much bad press it needs to get before they reconsider rushing all this into 2.0
[00:45:48] <stephen> Telerik is genious at this
[00:45:54] *** ProLoser has quit IRC
[00:45:55] <jsheely> Telerik blows
[00:45:56] <zomg> well considering there aren't any blaring issues in 1.x I'd say it's fine
[00:45:57] <zomg> :P
[00:46:09] <nezt> basically i have nested ng-repeats right now, they are each iterating over separate json arrays of objects. if the inner loop has an item that matches the second one, i want to use it
[00:46:10] <spaceribs> snurfery: the changes are so huge, it’s impossible to roll out incrementally
[00:46:13] *** DanielKarp has quit IRC
[00:46:18] <snurfery> lies
[00:46:24] <jsheely> Telerik breaks shit on upgrades all the time.
[00:46:31] <snurfery> sooooo many other software packages manage to do it
[00:46:34] <zomg> I don't see any reason why I would suddenly need to abandon 1.x even if it's not longer maintained
[00:46:35] <stephen> zomg, very true, but then you have to remember that no developer wants to get stuck maintaining old code well past it's lifetime
[00:46:41] <snurfery> it requires patience
[00:46:42] <stephen> It makes them unmarketable
[00:46:46] <nezt> sorry if the inner loop item matches the outer loop item
[00:46:47] <snurfery> on behalf of the developer
[00:46:48] <s3shs> snuffery, not really.
[00:46:50] <zomg> by the time I had a need to abandon it, we would probably have a need to rebuild many parts of our software anyway
[00:46:51] <spaceribs> seriously, watch the ngeurope thing, it’s a giant departure
[00:47:17] <stephen> It is. Now, I'm not saying it wont work. The changes aren't mind boggling
[00:47:20] <s3shs> Mac: Carbon -> Cocoa. Carbon is Dead. Windows: Win32 -> .Net. Win32 is dead. Java... damn, 1.0 stuff doesn't even open in editors.
[00:47:21] <snurfery> and smart guys wanna move fast and break shit, not nurture their community
[00:47:23] *** stschwark has quit IRC
[00:47:25] *** mjs2600 has quit IRC
[00:47:29] <Grokling> nezt: Consider nesting your objects/arrays first - it'll be faster.
[00:47:31] <stephen> However, they do turn angular into much more like Durandal
[00:47:31] *** Helious has quit IRC
[00:47:34] *** loverajoel has quit IRC
[00:47:41] *** mjs2600 has joined #angularjs
[00:47:44] <stephen> And I really despise Durandal
[00:47:44] *** tsalb has quit IRC
[00:47:49] <snurfery> which is why, after something reaches a certain size, maybe the engineers need someone with management experience to... manage
[00:47:54] <spaceribs> snurfery: http://xkcd.com/1428/
[00:47:55] <s3shs> It's ok to fork so long as the old stuff isn't all deleted. You can keep using the old stuff and then start using the new stuff when the old is too annoying.
[00:48:10] *** mjs2600 has quit IRC
[00:48:13] <nezt> grokling: the json is coming out of a mongodb and i don't want to use sub documents because the documents will be growing
[00:48:16] <snurfery> spaceribs: lol
[00:48:17] <snurfery> nice
[00:48:25] <alexw> I have an AuthRepository.refreshTokenIfExpiresSoon function
[00:48:30] <alexw> I want this to run every 10 seconds
[00:48:33] <stephen> Angular 2 should have a development path that doesn't require transpiling
[00:48:45] <alexw> would it be messy to just throw setTimeout in my navctrl
[00:48:54] <Grokling> nezt: You don't have to restrict your frontend data model based on your back end..
[00:48:57] <s3shs> ^ stephen
[00:49:00] <stephen> With full examples and docs in native JS
[00:49:42] *** favetelinguis has quit IRC
[00:49:50] <spaceribs> honestly I’ll swear off angular if I have to use anything at the level of coffeescript or atscript
[00:50:01] *** cotko has quit IRC
[00:50:08] <stephen> ^ I kinda feel that way too
[00:50:11] <spaceribs> as long as I don’t have to transpile all my code, I’ll be happy
[00:50:14] *** aminRX has quit IRC
[00:50:14] <stephen> I swore off coffeescript
[00:50:18] *** dannyc has joined #angularjs
[00:50:32] *** ytsejam has quit IRC
[00:50:35] *** lemur has quit IRC
[00:50:42] <stephen> atScript, while an upgrade of typescript, is just more pigeonholing
[00:50:58] *** Aliks has quit IRC
[00:51:07] *** richiebkr has quit IRC
[00:51:10] <spaceribs> stephen: and they are biting off more than they can chew if they’re trying to plan for ES7
[00:51:24] <spaceribs> that a bad reason to include it in a huge redev
[00:51:25] <stephen> TypeScript does not have the level of adoption I would expect for this move
[00:51:51] *** lemur has joined #angularjs
[00:52:27] *** patrick99e99 has quit IRC
[00:52:37] <snurfery> "congrats engineer, you've helped author the most exciting and rapidly growing language in decades! what are you going to do with all this newfound power and influence?"
[00:52:41] <snurfery> "use this as a platform to force through some foreign-looking, untested, unconfirmed geek tech-fantasies that I have!"
[00:52:47] * snurfery cheers
[00:52:55] *** nicholes has quit IRC
[00:53:00] *** dsdeiz has joined #angularjs
[00:53:14] <stephen> Everyone here has read this quote from me:
[00:53:36] <stephen> "Quit trying to rewrite Javascript and learn Javascript"
[00:53:43] <Grokling> But I'll share it again for my ego.. ;-)
[00:53:49] <stephen> Hah
[00:53:54] <stephen> Here's the think
[00:53:57] <stephen> AtScript'
[00:54:01] <stephen> s purpose
[00:54:04] <alexw> How could I have a global setInterval
[00:54:08] <stephen> The maintainability for large scale projects
[00:54:09] <spaceribs> queue the link to VanillaJS in 5…4…3…
[00:54:22] <stephen> It's a completely appropriate implementation
[00:54:30] <Grokling> Ooh the cynicism!
[00:54:39] <stephen> Because these sorts of projects usually have large build systems to integrate with
[00:54:48] *** dannyc has quit IRC
[00:55:01] <snurfery> this is New Coke
[00:55:08] <stephen> And I'm done
[00:55:16] <jsheely> I feel like I"m the only one who doesn't care and thinks 1.3 is great and 2.0 is going to be even more helpful
[00:55:17] *** zakj has quit IRC
[00:55:31] *** merobertsjr has joined #angularjs
[00:55:33] *** danecando has joined #angularjs
[00:56:03] <snurfery> a lotta people put their reps on the line recommending angular and porting everything to 1.x
[00:56:08] *** chanced has joined #angularjs
[00:56:23] <jsheely> And everyone is happy
[00:56:29] <stephen> So, I read that one can create a cross-domain webworker using Blob URLS
[00:56:32] <jsheely> 1.3 is awesome and their app is aweosme
[00:56:32] <Grokling> jsheely: I'm also remaining unopinionated.. I'm building in 1.x.. it's not like it's going to magically stop working when 2.0 comes out.
[00:56:55] <jsheely> Exactly, I don't understand why all this "my rep is on the line" comes from
[00:57:03] *** danecando has quit IRC
[00:57:05] <snurfery> whaddya mean
[00:57:08] <jsheely> Everything Angular does is worlds better
[00:57:09] <stephen> jsheely, It's our own faults
[00:57:11] *** rob_parkhill has quit IRC
[00:57:12] <jsheely> then what you're oding now
[00:57:21] <jsheely> were doing I shoudl say
[00:57:24] <snurfery> you get excited about a language
[00:57:31] *** tomzx`afk is now known as tomzx
[00:57:32] <jsheely> IT"S NOT A LANGUAGE
[00:57:40] <snurfery> framework, don't split hairs
[00:57:43] <jsheely> It's just a framework that does stuff for you =(
[00:57:46] <snurfery> it has its own words
[00:57:47] <spaceribs> EVERYONE CALM DOWN
[00:57:50] <snurfery> that's a language
[00:57:53] <snurfery> heh
[00:57:56] <stephen> Let me give some context
[00:57:56] *** davek has joined #angularjs
[00:58:08] <jsheely> I LIKE TACOS!
[00:58:16] <Grokling> STOP YELLING.. I'M TRYING TO WORK OVER HERE...
[00:58:18] <spaceribs> I ALSO AM FOR TACOS
[00:58:34] *** mary5030 has joined #angularjs
[00:58:34] <jsheely> Then we agree, meeting ajourned
[00:58:34] <snurfery> if you recommended it to your tech team with assurances that it was gonna be the next big thing, and it'd be a wise investment
[00:58:44] <Foxandxss> you are not forced to use atscript
[00:58:44] *** Sawbones has joined #angularjs
[00:58:44] <stephen> You now how hard it has been to get .Net Serverside developers and architects to take Javascript seriouslytt enough to do some of the heavy lifting we do now on the client?
[00:58:48] <davek> TheAceOfHearts, Re: "San Francisco is burning": https://www.youtube.com/watch?v=UZyQ9g2WTy8&feature=youtu.be
[00:58:52] *** cornerma1 has joined #angularjs
[00:59:00] <stephen> Like fucking pulling cement teeth out of a cement camel
[00:59:01] *** firelinks has joined #angularjs
[00:59:02] <davek> THE HUMANITY
[00:59:14] <Foxandxss> stephen: worst for rails devs I think
[00:59:15] <snurfery> ...then it becomes the ONE language in recent memory that is rewriting itself from scratch
[00:59:21] <Foxandxss> DHH still thinks client side suck
[00:59:22] <snurfery> rep is lost
[00:59:29] <stephen> AngularJS 1.x is our first serious contender after that fight
[00:59:31] <jsheely> Stop saying language =(
[00:59:31] <Foxandxss> and all you need is backend
[00:59:33] <TheAceOfHearts> davek: crazy
[00:59:50] <dgee> maybe it will teach people the basic lesson that to write an angular app, not everything needs to be inside an angular construct.
[00:59:51] <davek> THIS IS WHAT DEMOCRACY LOOKS LIKE
[00:59:55] <stephen> lol
[01:00:03] <stephen> AngularJS was never a democracu
[01:00:08] <stephen> I knew that
[01:00:12] <davek> And I wasn't talking about Angular.
[01:00:12] <TheAceOfHearts> Foxandxss: doing client-side stuff definitely adds a layer of complexity
[01:00:15] *** Guest59 has joined #angularjs
[01:00:16] <stephen> Thats why I came here
[01:00:21] <Foxandxss> no doubt
[01:00:23] <jsheely> Dinner time, afk
[01:00:24] <stephen> to get the honest scoop to tell my managers
[01:00:29] *** jsheely is now known as jsheely|afk
[01:00:39] *** loverajoel has joined #angularjs
[01:00:42] <stephen> no hate, just predictability we needed
[01:00:48] <snurfery> I'm still gonna use angular of course, on everything
[01:00:55] <stephen> ^
[01:01:02] <davek> Honest scoop is angular's hit a wall, whether they climb over it or lay down and die is totally google's decision. Adoption right now is about as unwise as it was with angular 1.0.
[01:01:11] <davek> Which didn't really stop anyone.
[01:01:13] *** ajk27 has joined #angularjs
[01:01:19] *** lw has quit IRC
[01:01:32] *** lw has joined #angularjs
[01:01:48] *** jsheely|ltop has joined #angularjs
[01:01:50] *** Aliks has joined #angularjs
[01:01:52] <Foxandxss> the 2.0 fight is really stupid
[01:01:53] *** OddDuck has quit IRC
[01:01:54] *** cornerman has quit IRC
[01:01:56] *** danecando has joined #angularjs
[01:01:58] <stephen> Not a fight
[01:02:04] <Foxandxss> it is
[01:02:04] <stephen> I'm not asking them to change
[01:02:05] *** cornerma1 is now known as cornerman
[01:02:06] <chovy> <div common-loading-indicator data-size="small"></div>
[01:02:06] <snurfery> there are tons of horror stories from the business/product world of companies that do similar things
[01:02:12] <chovy> how do i pass small to directive?
[01:02:14] <snurfery> change too much too soon and alienate their user base
[01:02:17] <robdubya> are we still doing this?
[01:02:17] *** Cryode has left #angularjs
[01:02:26] <Foxandxss> robdubya: yeah, maybe 2 weeks more
[01:02:28] *** nairys has quit IRC
[01:02:29] <robdubya> lets start up an #angular2 channel
[01:02:32] <Foxandxss> until people forgets
[01:02:37] <davek> Nobody's fighting...
[01:02:37] <alexw> So 2.0 is not stable?
[01:02:40] <stephen> I'm just... confused on how to handle my "Angular Expert" role in my organization now
[01:02:44] <Foxandxss> 2.0 is not unstable either
[01:02:45] <stephen> It will take time to figure out
[01:02:51] *** chanced_ has joined #angularjs
[01:03:03] <robdubya> stephen you've got 2 years to figure it out :D
[01:03:06] <cacts|wtf> wut
[01:03:07] <spaceribs> I remember back in the day, when you had jQuery and liked it!
[01:03:08] <snurfery> I feel like makers need feedback
[01:03:21] *** mary5030 has quit IRC
[01:03:23] <cacts|wtf> ive had to learn like 4 different js frameworks over the last 3 years
[01:03:25] *** jbeaudry has quit IRC
[01:03:33] <robdubya> i have no sympathy. this happend whilst i was dirving cross country to start a new anuglar jerb
[01:03:33] <cacts|wtf> everyone whos complaining about 2.0 is going to have a hard time in this industry
[01:03:34] *** Ilgrim has joined #angularjs
[01:03:35] <robdubya> suck it up
[01:03:40] <davek> snurfery, agree entirely. The issue is that their decision was made without any feedback from the community.
[01:03:42] <snurfery> I'd rather say out loud "I like these things and dislike these" rather than just leave to another frameowrk and leave them guessing
[01:03:57] <snurfery> I agree
[01:03:57] *** kuniyori has joined #angularjs
[01:04:04] <spaceribs> Hell, I remember when we made all our javascript in Dreamweaver!
[01:04:05] <davek> I agree with your agreement.
[01:04:06] *** chanced has quit IRC
[01:04:07] <Grokling> davek: Did they have feedback from the community when they made 1.0?
[01:04:12] * snurfery concurs
[01:04:19] <stephen> Luckily we have contact with the folks here.
[01:04:24] <snurfery> they didn't make massive breaking changes in 1.0?
[01:04:33] <davek> Grokling, they didn't redesign the entire framework from scratch for 1.0
[01:04:34] <alexw> Is angular 1.3 stable?
[01:04:40] <jsheely|ltop> All this 2.0 fighting is probably just going to make Angular 2.0 take longer to come out. Just to silence all the complaints.
[01:04:44] *** nairys has joined #angularjs
[01:04:44] <robdubya> they did actaully ask for feedback
[01:04:47] <stephen> But basically we've had "Durandal maker jumps ship over to Angular team, joins 2.0 crew"
[01:04:48] <Foxandxss> cacts|wtf: I think the same
[01:04:53] <stephen> Radio silence....
[01:04:55] *** mjs2600 has joined #angularjs
[01:05:00] <stephen> Then ng-europe
[01:05:11] *** eslaron has joined #angularjs
[01:05:12] <stephen> That's a HUGE gap of time... it's disconcerting
[01:05:16] <Foxandxss> so, we always knew
[01:05:19] <Foxandxss> that angular 2 was from scratch
[01:05:22] <Foxandxss> totally changed
[01:05:23] <stephen> yup
[01:05:24] <cacts|wtf> yeah
[01:05:25] <stephen> We did
[01:05:34] <Foxandxss> since ng-conf IIRC
[01:05:34] <cacts|wtf> i saw di.js months ago and though welp
[01:05:41] <snurfery> really?
[01:05:43] <cacts|wtf> everything is going to be different oh well
[01:05:44] *** Sawbones has quit IRC
[01:05:52] <snurfery> everything from scratch != everything different
[01:05:55] *** lemur has quit IRC
[01:05:55] *** slopjong has quit IRC
[01:05:57] *** jbeaudry has joined #angularjs
[01:05:58] <davek> ^
[01:06:00] <robdubya> i've been saying it for weeks dudes. not so much the [clicky] business
[01:06:02] <eslaron> Hello. How to restrict access to a state in ui-router?
[01:06:06] *** futuredale has quit IRC
[01:06:07] *** faddah has quit IRC
[01:06:08] <Foxandxss> snurfery: we knew that as well
[01:06:08] <snurfery> you can rebuild internals in such a way but leave the interface consistent
[01:06:21] <Foxandxss> not all the details
[01:06:31] <snurfery> I didn't know there were many details released after some hints back in march
[01:06:39] <cacts|wtf> https://github.com/angular/di.js/blob/master/example/kitchen-di/main.js
[01:06:42] <Foxandxss> they were
[01:06:42] *** lemur has joined #angularjs
[01:06:45] <cacts|wtf> this stuff has been around for a while
[01:06:48] <Foxandxss> lot and lot of docs
[01:06:49] *** jbeaudry has quit IRC
[01:06:59] *** klaut has quit IRC
[01:07:03] *** cannap has quit IRC
[01:07:06] <davek> The docs are fucking anemic.
[01:07:36] <snurfery> talking about death of scope/controllers/ddo, all that stuff?
[01:07:45] <snurfery> I must have missed those
[01:07:57] <Foxandxss> scope yes
[01:08:03] <Foxandxss> the other two, I don't recall
[01:08:07] <Foxandxss> but no scope, no controllers
[01:08:09] <Grokling> One thing that WOULD be useful out of this discussion, is what things we can do while developing in 1.x that will set us up to move to 2.0 later. I understand that doing most stuff in services/factories is a good strategy?
[01:08:11] *** joleal has joined #angularjs
[01:08:13] <davek> That's the thing that's a bit of a bummer for me is that they've focused all of these resources into completely rewriting 2.0 and yet the docs are still stale, lacking in practical examples.
[01:08:13] <jsheely|ltop> Would it really be that hard for someone to write a 1.3 api that converts to the 2.0 API as an optional interface?
[01:08:20] *** cthrax has quit IRC
[01:08:30] <eslaron> How to restrict access to a state in ui-router?
[01:08:39] <robdubya> Grokling yeah - more factories
[01:08:43] <Grokling> eslaron: resolve function.
[01:09:21] *** asher^ has joined #angularjs
[01:09:29] <robdubya> hell you could start writing ES6 classes today and using them in 1.3
[01:09:48] <davek> Or I could start writing Dart!
[01:09:53] <Foxandxss> robdubya: don't tempt me
[01:10:03] <Grokling> robdubya: All over factory abundance already. Anything else? 1.3 will have to wait a bit - Ionic isn't there yet.
[01:10:05] <davek> Or I could pay someone else to work the front end and do interesting things.
[01:10:17] <stephen> How extensively does the Angular team use typescript as their starting language?
[01:10:49] <jsheely|ltop> stephen It sounded like the Angular Team is at odds with the AtScript implementation
[01:10:53] *** lemur has quit IRC
[01:11:07] <jsheely|ltop> Everyone understands the benefit but not thrilled about the effort
[01:11:11] *** TheAceOfHearts has quit IRC
[01:11:12] *** asher^ has joined #angularjs
[01:11:12] *** ytsejam has joined #angularjs
[01:11:14] *** asher^ has quit IRC
[01:11:20] <stephen> ES6 +A
[01:11:31] <stephen> I think that's where the treppidation starts
[01:11:39] <davek> I don't understand the benefit.
[01:11:43] *** merobertsjr has quit IRC
[01:11:51] <jsheely|ltop> Everyone just wants ES7
[01:11:54] <stephen> ES6 is in the process of being ratified and all, but are annotations anywhere on their radar?
[01:12:13] *** lemur has joined #angularjs
[01:12:22] <jsheely|ltop> ES7 is suppose to have optional typing
[01:12:26] <stephen> ES6 does bring some really key features for implementing more dynamic systems
[01:12:27] <eslaron> Grokling, resolve you say. I will look into it. And another question. I am going to consume a restful api with angular. I have something like this: mysite.com/myapp/#/dashboard (content changes according to user role) and then do the rest like /#/users/getAll. I do not do something like this: /#/dashboard/users/getAll. Is this a valid approach?
[01:12:27] <jsheely|ltop> In theory
[01:12:32] <stephen> Like Proxy, and Symbol,
[01:12:34] <davek> Perhaps someone can explain it. From what I've seen all it adds is type introspection (which JS has) and annotations, which are in the ES6 spec right?
[01:12:41] *** asher^ has joined #angularjs
[01:12:56] <Foxandxss> annotations are not is ES6 IIRc
[01:13:00] <stephen> ^
[01:13:04] <Foxandxss> they wanted ES6 + more stuff
[01:13:06] <Foxandxss> AKA
[01:13:06] <jsheely|ltop> They are in the ES7 spec
[01:13:08] <Foxandxss> ES6++
[01:13:09] <UniBot> ES6 Karma: 1
[01:13:13] <snurfery> heh
[01:13:16] <Foxandxss> ES6 people started to bitch around
[01:13:20] <Foxandxss> so they said, well, ATScript then
[01:13:21] <stephen> It was likely the most requesting unaccepted feature
[01:13:22] <spaceribs> i mean, the biggest hurdle is the huge population of frontend developers who took the energy to learn Angular and have no intention of relearning everything that took so long for a non-computer science major to understand
[01:13:25] *** asher^ has joined #angularjs
[01:13:25] <Foxandxss> I fuck my own language
[01:13:25] <Foxandxss> :P
[01:13:34] <jsheely|ltop> Like I said. Everyone wants ES7
[01:13:45] <Foxandxss> spaceribs: that is bullshit
[01:13:47] <stephen> WTF is ES7
[01:13:48] <snurfery> some people want what they're familiar with
[01:13:50] <jsheely|ltop> But are pissed that we can't even get ES6 out the door. So we are rushing to fix it
[01:13:58] <Foxandxss> spaceribs: that people can quit today
[01:14:01] *** richardlitt has quit IRC
[01:14:03] <jsheely|ltop> stephen EcmaScript 7
[01:14:15] <jsheely|ltop> Is already being worked on and discussed, yes before ES6 is out
[01:14:15] *** trustyhank has joined #angularjs
[01:14:16] <stephen> I know that
[01:14:33] <jsheely|ltop> oh was that a WHERE THE FUCK?
[01:14:37] *** Reskp has joined #angularjs
[01:14:37] *** ozooner has quit IRC
[01:14:52] <Grokling> eslaron: not so much - you'd do your REST stuff via a factory, and invoke the factory method from your controller when you hit mysite.com/myapp/#/dashboard
[01:15:31] <jsheely|ltop> Yea it's annoying that it takes this long for Javascript to get updated. So devs are getting impatient and trying to fix it all themselves
[01:15:33] <spaceribs> Foxandxss: and go back to jQuery plugins? we need to take designers into knowing how their design decisions effect development kicking and screaming if nessisary
[01:15:41] <jsheely|ltop> Which is why we have TypeScript, AtScript, etc
[01:15:55] <spaceribs> either that or leave them behind entirely
[01:16:02] <jsheely|ltop> Even Dart is basically a bridge between Javascript and server code.
[01:16:17] <baweaver> Is it just me or does ! not work in ng-show / ng-hide?
[01:16:23] <eslaron> Grokling, you mean this? https://docs.angularjs.org/api/ngResource/service/$resource
[01:16:24] *** faddah has joined #angularjs
[01:16:29] <jsheely|ltop> baweaver Just oyu
[01:16:32] *** lemur has quit IRC
[01:16:37] <baweaver> odd...
[01:16:41] <jsheely|ltop> baweaver I use ng-show="!fvalue" all the time
[01:16:47] <baweaver> might be lodash methods in there then
[01:16:59] <baweaver> !_.isEmpty(val) will blow up
[01:17:14] *** danecando has quit IRC
[01:17:37] *** Limix has quit IRC
[01:18:30] *** ozooner has joined #angularjs
[01:18:54] <spaceribs> i mean, javascript has really blurred the line between frontend and backend responsibilities, and don’t give me that whole “Frontend is clientside, backend is serverside” crapola, it’s programming pure and simple, and the clientside is becoming more complicated than designers can handle
[01:19:00] <snurfery> don't use lodash stuff then unless you have _ on the scope
[01:19:12] *** danecando has joined #angularjs
[01:19:19] *** tripu has quit IRC
[01:19:22] <snurfery> (in your specific example, that is)
[01:19:24] <baweaver> That may well be what it is then
[01:19:30] <stephen> or get that little lodash wrapper
[01:19:36] <stephen> and inject it
[01:19:42] <spaceribs> $scope._ = _;
[01:19:42] *** Reskp has quit IRC
[01:19:47] <snurfery> shazam
[01:19:51] <Foxandxss> spaceribs: but frontend is not for designers anymore
[01:19:53] *** danecando has quit IRC
[01:19:54] <snurfery> something you won't do in angular 2
[01:19:56] <snurfery> haha
[01:20:06] *** TheAceOfHearts has joined #angularjs
[01:20:07] <davek> spaceribs, kk let me know when you can run C as client code.
[01:20:09] <baweaver> *shrugs* I don't know what you'll even do in it
[01:20:16] *** Guest59 has quit IRC
[01:20:26] <spaceribs> sure davek, ASM
[01:20:33] <baweaver> atScript is a nightmare
[01:20:34] <davek> You're referring to ASM.js I'm assuming.
[01:20:36] *** michaelchum_ has joined #angularjs
[01:20:46] <davek> You should probably google it because you're assuming that its something which it definitely is not.
[01:20:47] <baweaver> Most of JSs bad parts come from Java
[01:20:56] <baweaver> So.... we add more Java/Scala?
[01:21:02] <davek> More Scala I'm good with.
[01:21:08] <baweaver> Seems like a bad idea in some ways.
[01:21:08] <snurfery> I'm sure the language is fine and dandy
[01:21:25] <snurfery> assuming that it can be shoehorned in is a problem
[01:21:28] <baweaver> them chucking the kitchen sink out and jumping the shark is another story.
[01:21:31] <spaceribs> i’m typing one handed, because i have a drink in the other hand, but you can compile C using asm.js
[01:21:33] *** lw has quit IRC
[01:21:35] <davek> +1 for snurfery's valid concern!
[01:21:46] *** Foxandxss has quit IRC
[01:21:48] *** lemur has joined #angularjs
[01:21:59] *** lw has joined #angularjs
[01:22:06] <stephen> Fuck it, the JITCompiler for browsers needs to become language agnostic...
[01:22:09] <davek> Spaceribs, you can TARGET ASM.js using an intermediate compiler like LLVM. It's just JS which doesn't really forward your point.
[01:22:23] <davek> stephen wow that sounds like a nightmare.
[01:22:36] <baweaver> huh, Comcast went IPv6. Interesting
[01:22:40] *** {DV8} has joined #angularjs
[01:22:46] *** m_rc has joined #angularjs
[01:22:47] <stephen> davek, Nah, just make it so and have 2-3 solid implementations ready to go
[01:22:50] <baweaver> my home computer logged in on an IPv6 address
[01:23:05] <davek> baweaver, yeah for certain areas.
[01:23:13] <davek> Gradual implementation.
[01:23:16] <stephen> IPv6... the New V. Now without that Hep V congestion
[01:23:32] *** gunn has joined #angularjs
[01:24:08] <davek> stephen, uhh ever written a compiler, let alone a JIT compiler?
[01:24:08] *** cacts|wtf has quit IRC
[01:24:09] *** avree has joined #angularjs
[01:24:09] <m_rc> Anyone know in UI-Router if I change change the URL in the address bar without reload or change? So it would be a purely cosmetic change. i.e. http://myapp.com/about i could change in the 'about' controller to myapp.com/about-us
[01:24:10] *** avree has quit IRC
[01:24:13] *** shpoont has quit IRC
[01:24:20] *** shpoont has joined #angularjs
[01:24:25] <jsheely|ltop> Any thoughts on this? http://stackoverflow.com/questions/26664793/createobservablefunction-subscriber-gets-overriden
[01:24:26] <m_rc> I've tried using html5 replaceState but it seems to kind of blow up with Angular's $location
[01:24:51] <jsheely|ltop> I'm getting frustrated I can't figure out why this doesn't work
[01:24:58] <davek> m_rc, kind of a weird use case... yeah I believe the router watches the location in order to do its job, why not just rename the route?
[01:25:08] *** Reskp has joined #angularjs
[01:25:15] *** tech2 has quit IRC
[01:25:36] <m_rc> davek: Yeah I know. This is unusual for a project I'm on where the currrent legacy routes do this.
[01:25:41] <stephen> davek, I get the non-triviality of my comment. It just seems like the only path which ends up without these dumb dialect arguments
[01:25:42] *** marcjs has joined #angularjs
[01:25:52] *** mchung has quit IRC
[01:26:01] *** neoadventist has quit IRC
[01:26:15] *** bayousoft has joined #angularjs
[01:26:43] *** lemur has quit IRC
[01:26:51] *** diegoaguilar has quit IRC
[01:26:57] <m_rc> they have /product routes that look like /product/:name/:bar-code and then they just read the bar-code to show the page.
[01:27:26] <davek> stephen, transpilation works just fine. JS is a good target with wide support, transpilation allowed the gradual implementation of language features without disrupting bleeding edge workflows.
[01:27:34] <davek> Don't see the argument there.
[01:27:47] <m_rc> anyway, there are ways i can do it like in the resolve i can check that the :name matches with the real name... it's just stupid and hacky.
[01:28:19] <spaceribs> alright now I’m just getting annoyed: http://www.reddit.com/r/angularjs/comments/2ksvv8/if_you_take_development_seriously_you_need_to/clopio8
[01:29:29] <spaceribs> i’m done with reddit for the night apparently
[01:29:54] *** Reskp has quit IRC
[01:30:27] *** baweaver has quit IRC
[01:30:29] *** zivester has joined #angularjs
[01:30:45] *** robdubya has quit IRC
[01:30:58] *** Evanion has quit IRC
[01:31:00] <davek> spaceribs, there are dumb people everywhere.
[01:31:01] *** baweaver has joined #angularjs
[01:31:58] <nezt> so i'm guessing it's not possible to pass the iterator of the outer loop to the filter function of an inner loop
[01:32:00] *** KernelCurry has quit IRC
[01:32:01] <nezt> ng-repeat loops that is
[01:32:09] *** sahbeewah has joined #angularjs
[01:32:22] *** ccohn has joined #angularjs
[01:32:36] <davek> By iterator you mean $index?
[01:34:26] *** DLSteve_ has joined #angularjs
[01:34:34] <nezt> davek: yeah, so like i have an outer ng-repeat that is i in whatever, and an inner that is j in whatever2
[01:34:45] *** binarytrees has joined #angularjs
[01:34:48] <nezt> and i want to pass the value of i to the filter of the inner loop
[01:34:57] <davek> You know what my dream framework would probably be? React-like components with angular-style DI and FRP data flow.
[01:35:53] *** baweaver has quit IRC
[01:36:15] <alexw> should services, factories and providers all go in the same directory?
[01:36:19] *** lw has quit IRC
[01:36:20] *** lw_ has joined #angularjs
[01:36:21] <Grokling> nezt: that should work.. i should be valid in any nested code.
[01:36:25] *** SubCoffee has left #angularjs
[01:36:30] *** nairys has quit IRC
[01:36:37] <Grokling> nezt: if you can't get it to work, make a plunker.
[01:37:14] *** ccohn has quit IRC
[01:37:45] <Grokling> nezt: j in whatever | myWhateverFilter:i
[01:38:08] *** DLSteve has quit IRC
[01:38:36] *** Skrypter has quit IRC
[01:39:11] *** Skrypter has joined #angularjs
[01:39:13] *** lw_ has quit IRC
[01:39:23] <nezt> grokling: thanks, i will make a plunker if i can't get it going
[01:39:32] *** krawek has quit IRC
[01:39:40] *** lw has joined #angularjs
[01:39:52] *** eslaron has quit IRC
[01:40:01] *** jstroem has joined #angularjs
[01:40:04] <davek> God yeah these compilation timesa
[01:40:18] <davek> Dammit wrong channel.
[01:40:25] *** OdinIncarnate has quit IRC
[01:40:36] *** Siecje has joined #angularjs
[01:40:48] *** mguillech has quit IRC
[01:42:27] <nezt> grokling: http://pastebin.com/HBs9dgud
[01:43:26] *** gnrlbzik has quit IRC
[01:43:26] *** mdedetrich has joined #angularjs
[01:43:38] <davek> Holy shit, I appreciate the effort in modern C++ but goddamn it is not concise.
[01:43:51] *** Skrypter has quit IRC
[01:44:37] *** jstroem has quit IRC
[01:44:38] *** favetelinguis has joined #angularjs
[01:45:13] *** dgee has quit IRC
[01:45:43] <Grokling> nezt: Got a plunker?
[01:45:57] *** DanielKarp has joined #angularjs
[01:46:30] *** gnrlbzik has joined #angularjs
[01:47:06] *** mary5030 has joined #angularjs
[01:47:10] *** anivemin has joined #angularjs
[01:47:12] *** oncenull has quit IRC
[01:47:12] *** ngoyal has joined #angularjs
[01:47:15] <davek> If anyone is even remotely considering building a modern C++ application just use Rust.
[01:47:19] *** lemur has joined #angularjs
[01:47:32] <davek> GOD DAMMIT. Xchat is being a dick today.
[01:47:41] *** krawek has joined #angularjs
[01:47:41] *** krawek has joined #angularjs
[01:47:58] *** patrickarlt has joined #angularjs
[01:48:12] <Grokling> davek: Always blame the tools. It makes you seem smarter ;-)
[01:48:53] *** jsheely|ltop has quit IRC
[01:49:08] <davek> What Xchat or C++? Xchat is not normally like this, C++ is specced that way.
[01:49:31] *** mclenithan has quit IRC
[01:49:41] *** favetelinguis has quit IRC
[01:49:53] <davek> Also the irony of your condescending quip regarding illusory intelligence is not lost.
[01:51:07] *** scriptThis has joined #angularjs
[01:51:18] <Grokling> Your enhanced verbosity lends credence to your anticedent allegory.
[01:51:21] *** soee has quit IRC
[01:51:29] *** ngoyal has quit IRC
[01:51:39] *** aminRX has joined #angularjs
[01:51:54] *** aminRX has quit IRC
[01:52:04] *** anivemin has quit IRC
[01:52:16] <davek> Which word was hard, condescending or illusory?
[01:52:17] *** patrickarlt has quit IRC
[01:52:20] *** aminRX has joined #angularjs
[01:52:21] <mdedetrich> davek: Rust is in alpha and has a shitty ecosystem
[01:52:21] *** mdedetrich has quit IRC
[01:52:41] <Grokling> I lost you at irony..
[01:53:09] *** joleal has quit IRC
[01:53:32] *** Joe_knock has left #angularjs
[01:53:37] <davek> mdedetrich, uhh yes it is and cargo is great?
[01:53:44] <davek> Glad we had this talk.
[01:54:03] *** scythe__ has quit IRC
[01:54:25] *** NanoArrow has quit IRC
[01:54:25] <davek> Grokling, +1 on the ostentatious pedantry though.
[01:55:06] *** D9 has joined #angularjs
[01:55:09] *** mdedetrich has joined #angularjs
[01:55:13] *** SonikBoom has quit IRC
[01:55:35] *** lenswipe has quit IRC
[01:56:17] <Grokling> So many good words out there being neglected.
[01:56:36] *** mjs2600 has quit IRC
[01:57:06] *** marcjs has quit IRC
[01:57:10] <davek> I picked up a good one this morning: eleemosynary
[01:57:41] *** rob_parkhill has joined #angularjs
[01:57:49] *** m_rc has quit IRC
[01:58:10] *** jsheely|ltop has joined #angularjs
[01:58:33] *** tbo_ has joined #angularjs
[01:58:34] *** aminRX has quit IRC
[01:59:04] <Grokling> We used to practive meeting snipering back when I had a real job with colleagues. We'd find a good word like that, and the game was to inject it legitimately into the meeting dialogue in all seriousness. The first person to lose the poker face bought morning tea.
[01:59:13] <Grokling> s* practice
[02:00:10] <davek> That's brilliant.
[02:00:38] *** ProLoser has joined #angularjs
[02:00:47] *** favetelinguis has joined #angularjs
[02:01:36] <Grokling> Bosses would never let on that they had no idea what the words meant - didn't want to appear dumber than their workers.
[02:02:14] *** NanoArrow has joined #angularjs
[02:02:17] *** Aerospark has quit IRC
[02:02:24] *** shampine has quit IRC
[02:02:34] *** rob_parkhill has quit IRC
[02:02:52] *** Aerospark has joined #angularjs
[02:03:01] *** tbo_ has quit IRC
[02:03:18] *** platonic has joined #angularjs
[02:03:54] *** jonathanpglick has quit IRC
[02:03:56] <alexw> Is there any function in angular to find an object in an array by a certain key? i.e. id
[02:04:04] *** snurfery has quit IRC
[02:04:14] <alexw> var a = [{'id':1}, {'id':2}];
[02:04:29] <alexw> findById(a, 1) would return {'id':1}
[02:05:21] <Grokling> alexw: lodash has a find, or you can polyfill the array prototype with a find method.
[02:05:41] <alexw> hmm $filter('filter')(foo.results, {id:2})[0];
[02:06:16] <Grokling> alexw: filter returns an array. find returns an object.
[02:06:20] *** lemur has quit IRC
[02:06:30] <alexw> Might try lodash
[02:06:43] *** caitp has quit IRC
[02:06:48] *** junmin has quit IRC
[02:06:58] *** lemur has joined #angularjs
[02:07:03] <Grokling> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find
[02:07:12] *** jplussier has quit IRC
[02:07:14] *** favetelinguis has quit IRC
[02:07:29] *** Aerospark has quit IRC
[02:07:57] *** platonic has quit IRC
[02:09:34] *** bbankes has quit IRC
[02:09:37] *** tilgovi has quit IRC
[02:09:40] <alexw> Lol
[02:09:42] <alexw> LOL
[02:09:45] *** adamnbowen has joined #angularjs
[02:09:48] <alexw> Then I saw browser support
[02:10:13] *** morganiq has quit IRC
[02:10:25] <davek> alexw, its ES6 and there are polyfills.
[02:10:28] <alexw> https://lodash.com/docs#findIndex
[02:10:29] *** RedOrangeZ has quit IRC
[02:10:41] <alexw> Poly whats?
[02:10:45] <Grokling> Why the lols? Use the polyfill that they have listed there, and it'll work.
[02:11:38] <JonathanNeal> I did not know about .find and .findIndex
[02:11:42] *** lemur has quit IRC
[02:11:47] <davek> alexw, polyfills. JS snippets used to mimic unimplemented features in browsers that do not support them.
[02:11:52] <Grokling> Grab that polyfill code, include it in your index.html, and then your browser will magically support the method if it didn't already.
[02:11:52] <alexw> What's the support on polyfils?
[02:12:01] *** Sawbones has joined #angularjs
[02:12:05] <JonathanNeal> What’s the difference between .findIndex and .indexOf?
[02:12:05] <alexw> Grokling yes I understand them now
[02:12:13] <davek> alexw, the point of polyfills is that they are supported everywhere the native functionality is not.
[02:12:16] *** subsonic has quit IRC
[02:12:26] *** lemur has joined #angularjs
[02:12:41] <alexw> JonathanNeal it takes a callback
[02:12:46] <alexw> i.e. return chr.age < 20;
[02:13:20] *** tkimmel has joined #angularjs
[02:14:43] <alexw> Grokling I see the benefit of going polyfills
[02:14:57] *** drej has joined #angularjs
[02:14:59] *** oncenull has joined #angularjs
[02:15:00] <alexw> Grokling eventually you'll be able to phase it out and save on bandwidth/load time
[02:15:07] *** oncenull has quit IRC
[02:15:14] <alexw> vs a secondary library that won't ever be adopted mainstream
[02:15:23] *** Rejected has quit IRC
[02:15:25] *** ozooner has quit IRC
[02:15:42] <Grokling> More than that, once you start hitting browsers where the native functionality is supported, it speeds things up a bit too.
[02:15:48] *** aminRX has joined #angularjs
[02:16:46] *** moritzs has joined #angularjs
[02:17:00] *** aminRX has quit IRC
[02:17:14] *** aminRX has joined #angularjs
[02:17:36] *** markalanevans has quit IRC
[02:17:37] <JonathanNeal> Not sure which polyfill you are using but the one on MDN will have some problems. Wish I knew how to fix it.
[02:17:41] *** shpoont has quit IRC
[02:17:47] *** Sawbones has quit IRC
[02:17:47] <JonathanNeal> Well, depending upon the browser, that is.
[02:18:03] *** tkimmel has quit IRC
[02:18:13] *** Aerospark has joined #angularjs
[02:18:43] *** annlewis has quit IRC
[02:19:19] <alexw> JonathanNeal couldn't you compact it into vendors?
[02:19:40] <alexw> Grokling is there a bower module of some sort?
[02:20:01] *** Sawbones has joined #angularjs
[02:20:41] <Grokling> I don't know of one.. I just have a polyfills.js file that I add things into as I need them, then gulp sorts it out from there.
[02:20:51] *** merobertsjr has joined #angularjs
[02:21:07] <alexw> Ahh https://github.com/paulmillr/es6-shim/
[02:21:10] *** BillCriswell has joined #angularjs
[02:21:21] *** adamnbowen has quit IRC
[02:21:31] *** Sawbones has quit IRC
[02:21:46] <davek> Jesus don't shim the whole language.
[02:21:52] *** lemur has quit IRC
[02:23:17] <JonathanNeal> Grokling, alexw: https://gist.github.com/jonathantneal/18250546b93becd260b9
[02:24:42] *** Lynxium has quit IRC
[02:25:15] *** merobertsjr has quit IRC
[02:25:45] *** bphogan has left #angularjs
[02:25:55] *** Reskp has joined #angularjs
[02:26:17] *** DrMabuse has joined #angularjs
[02:26:39] <JonathanNeal> The spec is very specific in accepting and limiting the length of arrays and array-like objects. Then, certain Safaris say the typeof a regex is function, while certain IEs do not support the array-ization of strings. W
[02:26:44] *** taybin has joined #angularjs
[02:27:15] *** nattonerd has joined #angularjs
[02:28:07] *** jonathanpglick has joined #angularjs
[02:28:08] *** Aliks has quit IRC
[02:28:13] *** jonathanpglick has quit IRC
[02:28:38] <JonathanNeal> Also, the spec is very specific in skipping sparse indexes in arrays and array-like objects.
[02:28:43] <jjasonclark> is there a way to test that a http.put call includes some headers? I can get it to work for the URL, but not the data or the config.
[02:29:04] *** matthoiland has quit IRC
[02:29:32] *** matthoiland has joined #angularjs
[02:29:37] *** aminRX has quit IRC
[02:29:44] *** Sawbones has joined #angularjs
[02:30:32] *** Reskp has quit IRC
[02:30:49] *** DrMabuse has quit IRC
[02:31:09] *** ish has joined #angularjs
[02:31:48] *** MrBaboon has quit IRC
[02:32:02] *** jeffisabelle has quit IRC
[02:32:17] *** greg5green has quit IRC
[02:32:19] *** ProLoser has quit IRC
[02:32:51] *** superstructor has joined #angularjs
[02:32:57] *** joshontheweb has joined #angularjs
[02:33:04] *** ccohn has joined #angularjs
[02:34:14] <stephen> jjasonclark, Are you talking on the server side, or client before send?
[02:34:29] *** matthoiland has quit IRC
[02:34:31] <stephen> jjasonclark, if client is your answer, you should look into interceptors in angular
[02:35:03] <jjasonclark> stephen: client side. Testing only
[02:35:20] *** Anton_ has joined #angularjs
[02:35:29] *** whunt has quit IRC
[02:35:30] <jjasonclark> stephen: I think I might have found a method. Looks like you can pass a function to the last arg of expectPUT
[02:35:40] *** diegoaguilar has joined #angularjs
[02:35:53] *** motionman has joined #angularjs
[02:35:58] <davek> God I do love what they're talking about for Angular 2.0 though.
[02:36:07] <stephen> I see, you're talking httpBackend
[02:36:40] <jjasonclark> stephen: yes, testing only
[02:36:43] <stephen> Im in love with Proxy and Symbol
[02:37:02] <stephen> jjasonclark, I don't know much about the testing frameworks, sorry
[02:37:29] *** nattonerd has left #angularjs
[02:37:34] *** ccohn has quit IRC
[02:38:44] *** ProLoser has joined #angularjs
[02:39:24] *** Sawbones has quit IRC
[02:39:40] *** ProLoser has quit IRC
[02:40:11] *** mrpj has quit IRC
[02:40:33] *** doodlehaus has joined #angularjs
[02:40:34] *** jstroem has joined #angularjs
[02:40:44] *** mrpj has joined #angularjs
[02:40:52] <spaceribs> haha best summation yet: http://www.reddit.com/r/angularjs/comments/2ksvv8/if_you_take_development_seriously_you_need_to/cloraq0
[02:40:55] *** lw has quit IRC
[02:41:54] <grizzm0> spaceribs, +1
[02:42:13] <grizzm0> Major version is usually "new thinking"
[02:42:24] *** lemur has joined #angularjs
[02:42:29] <grizzm0> We've learnt a lot since the start. ;]
[02:42:32] *** shilon has quit IRC
[02:42:33] <spaceribs> grizzm0: thinking hard!!!
[02:42:38] *** MalteJ has quit IRC
[02:42:49] <spaceribs> grizzm0: me hurt brain, not compatible
[02:42:53] *** aminRX has joined #angularjs
[02:43:12] <spaceribs> ok I might be a little drunk from my roommates whiskey sours
[02:43:17] <grizzm0> lol
[02:44:04] *** aminRX has quit IRC
[02:44:45] *** favetelinguis has joined #angularjs
[02:44:48] *** aminRX has joined #angularjs
[02:45:11] <davek> That's bullshit 1.0 used the same paradigms as 0.x, 2.0 is a complete shift.
[02:45:14] *** bbankes has joined #angularjs
[02:45:16] *** jstroem has quit IRC
[02:45:40] *** patrick99e99 has joined #angularjs
[02:45:49] <davek> That's not even what people are upset about though, its that they're doing this at the expense of finishing out the 1.x release cycle.
[02:46:05] <syzygy__> anybody using generator-gulp-angular? I have some problems w/ serve:dist & build w/ images/partials not transfering over if anyone has dealt with similar issues I’d love to pick you’re head.
[02:46:26] <grizzm0> davek, Shit happens.
[02:46:49] <spaceribs> yeah davek: I think they are just grouping things because it’s easier
[02:46:51] *** rob_parkhill has joined #angularjs
[02:46:51] <stephen> Anyway, let's move on
[02:46:55] *** wallerdev has quit IRC
[02:47:12] <spaceribs> stephen: i’d rather complain bitterly about old people
[02:47:16] <grizzm0> Zend put ZF2 PR-merging and ZF3 on hold becuase the core team started working on apigility.
[02:47:50] <spaceribs> MAYBE I SHOULD BE A MANAGER, SCREW ALL THIS PROGRAMMING!
[02:48:00] *** superstructor has quit IRC
[02:48:11] <grizzm0> ;)
[02:48:24] <spaceribs> ugg, I don’t like my late twenties at all
[02:48:45] <BahamutWC> my late twenties have been a mixed bag
[02:48:49] <BahamutWC> ended on a high note though
[02:48:51] *** rob_parkhill has quit IRC
[02:49:00] <Grokling> spaceribs: don't rush through them.. they'll be gone and you'll miss them!
[02:49:02] *** favetelinguis has quit IRC
[02:49:05] <davek> spaceribs, I don't get what you're saying. The issue has less to do with the versioning and more to do with them abandoning a product to release a totally new product under the same name.
[02:49:09] *** greg5green has joined #angularjs
[02:49:40] *** rburns has joined #angularjs
[02:49:55] *** nya has quit IRC
[02:50:12] <spaceribs> davek: yeah I’m saying the new product is probably better because it’s based around the new standard, so suck it up and figure out if your app needs the new version or stick with the old one
[02:50:26] <grizzm0> ^
[02:50:45] *** josh-k_ has quit IRC
[02:51:03] <davek> Neither of you are reading anything I'm saying huh?
[02:51:17] *** lemur has quit IRC
[02:51:29] *** krawchyk has quit IRC
[02:51:45] <Grokling> It happened. It's not going away. Adapt, Survive, move on.
[02:51:45] <grizzm0> They're not going to just "give up" 1.3
[02:51:46] *** aminRX has quit IRC
[02:51:52] <davek> Yes the new products probably better, yes it would be great if I had the time and resources to devote a team to porting the application over to 2.0 when its stable. Until then, however, we're fucked for fixes and support on a framework that we've invested a considerable amount of time and money in. That is the issue.
[02:52:04] *** marr has quit IRC
[02:52:09] *** lemur has joined #angularjs
[02:52:18] <grizzm0> This happens all the time.
[02:52:20] <Grokling> Opensource. There are downsides.
[02:52:23] <stephen> Actually, I've been reading of support for at least the next 2-5 years
[02:52:28] <stephen> 2-3 I mean
[02:52:48] *** DoubleAW has joined #angularjs
[02:53:02] *** motionman has quit IRC
[02:53:04] <grizzm0> Same thing happened with backend framework 2-3 years ago.
[02:53:05] <davek> Grokling yeah its about as open source as chromium and v8 are which is to say not really.
[02:53:12] <grizzm0> old versions are still maintained
[02:53:18] *** deanclkclk has joined #angularjs
[02:53:39] <Grokling> davek: you're paying for a service?
[02:53:42] <davek> If by maintained you mean not destroyed then yeah I don't imagine they're going to go scorched earth on it, but its clear their focus lies elsewhere.
[02:53:51] <BahamutWC> happens with Rails a bunch as far as I can tell
[02:53:58] *** MuffinMan` has joined #angularjs
[02:54:05] <grizzm0> Development evolve.
[02:54:10] <grizzm0> Deal with it
[02:54:16] <spaceribs> I mean, it breaks down to getting more than a one man team to support frontend, it’s become complicated enough to nessisitate it, it’s just going to take higher ups to understand that it’s gotten to that point.
[02:54:46] <davek> BahamutWC, rails maintains excellent backwards compatibility even between major releases. And upgrades are easy to integrate over time. Not quite that simple with ES6/AtScript being at the core of 2.0 but still _that's not the issue_.
[02:54:48] *** jsheely|ltop has quit IRC
[02:54:50] <BahamutWC> spaceribs: more of the concerns are moving from backend to frontend
[02:55:10] <grizzm0> if you keep BC between major versions you're never going to invent something new.
[02:55:13] *** AWAW has quit IRC
[02:55:22] <davek> grizzm0, why don't you go deal with it somewhere else? Trying to discuss a fairly major issue in the community that this channel concerns itself with.
[02:55:23] <grizzm0> Then you'll get stuck in the past.
[02:55:30] <BahamutWC> davek: I always hear about companies taking a long time to upgrade due to bc breaks
[02:56:58] <davek> BahamutWC, for Rails? I dropped rails for node on our present app so I may not be the best person to ask but I think only the most recent bump on rails posed any significant issue. The only serious issue I've encountered has been that the _gems_ don't necessarily keep pace with your upgrades.
[02:57:24] <BahamutWC> davek: there are still stories in the wild about companies upgrading from 2.0 to 3.0 recently even :o
[02:58:35] <BahamutWC> anyhow, re: 2.0 - frontend is moving fast, and there are a lot of changes that make it necessary
[02:59:13] *** jareddlc has quit IRC
[02:59:14] <BahamutWC> angular 1.x is evidence of a time when web application development was evolving in code design practices
[02:59:18] *** tbo_ has joined #angularjs
[02:59:28] *** rtpg has joined #angularjs
[02:59:33] *** Sawbones has joined #angularjs
[02:59:45] *** junmin has joined #angularjs
[02:59:51] *** Jdubs has joined #angularjs
[02:59:52] <spaceribs> now that we’ve gotten past IE8, we can start planning for the goddamn future
[02:59:52] <BahamutWC> the next few years are bringing us ES6, Web Components, and O.o (and more)
[02:59:53] <Jdubs> Hey guys, anyone know what would cause ng-enters to work, but can't get any ng-leave animations to work?
[03:00:31] <davek> Everyone seems to be reading an entirely different concern from what I'm saying, but perhaps this will sum up the sentiment more accurately: http://www.reddit.com/r/angularjs/comments/2ksvv8/if_you_take_development_seriously_you_need_to/clofidx
[03:00:39] *** Pyr0byte has joined #angularjs
[03:01:49] <BahamutWC> I don't think my comments are out of line as a counter to that top comment there
[03:01:55] *** lemur has quit IRC
[03:02:08] <BahamutWC> frontend is moving much faster now - frameworks are behind atm
[03:02:18] <spaceribs> gonna be honest with you davek: I ignored like half of the arguments in that post because they mostly didn’t make any sense
[03:02:34] *** joojis has joined #angularjs
[03:02:35] <BahamutWC> incremental improvements don't make sense given the timeline
[03:02:36] *** lemur has joined #angularjs
[03:02:37] <davek> Yeah, which is a great reason to increase the pace of version bumps to carry current implementors into the next major version.
[03:02:46] <BahamutWC> should we wait 1 year for 1.4 to come out and another for 1.5?
[03:02:49] *** frege has quit IRC
[03:03:00] <davek> No who's saying we should wait an arbitrary amount of time?
[03:03:17] <BahamutWC> in practice, 1.3 was supposed to be out a half a year ago I think
[03:03:18] *** frege has joined #angularjs
[03:03:20] <BahamutWC> in theory*
[03:03:33] <davek> Create a project roadmap to get from your current release to a feature set that at least approximates the changes you're making in 2.0. That's all I'm saying.
[03:03:49] <BahamutWC> everything stretched out - development realities with a project this size and a dev community of this size made it impossible to meet
[03:03:53] <davek> BahamutWC, yes which is exactly why diverting their already strained resources to a totally new framework is so concerning.
[03:03:55] <BahamutWC> this has been a recurring pattern as far as I can tell
[03:04:05] *** tbo_ has quit IRC
[03:04:20] *** Xcyish has quit IRC
[03:04:26] <BahamutWC> wanting development timelines to be shrunk does not mean that it will happen
[03:04:35] *** instence has joined #angularjs
[03:05:02] *** motionman has joined #angularjs
[03:05:19] <BahamutWC> in addition, the looming new standards already suggest breaking changes of large nature will be needed
[03:05:47] *** instence_ has quit IRC
[03:06:00] *** iateadonut has joined #angularjs
[03:06:14] <davek> BahamutWC, the recurring pattern is a lack of direction combined with over-engineered solutions. 2.0 is what they SHOULD have rolled with initially, notice how similar it will become to other class/inheritance based frameworks like Backbone?
[03:06:15] <spaceribs> davek: it’s concerning when Bootstrap increases a version, it’s concerning when IE6 isn’t supported by jQuery anymore and your app is, This. Isn’t. Concerning for at least 2 and a half years.
[03:06:32] *** Sontakey has quit IRC
[03:06:56] <BahamutWC> 1.0 is like what, 5 years or so from its essential design?
[03:07:17] <BahamutWC> ES6 wasn't anywhere close to being on the horizon for mainstream consumption, and neither were web components
[03:07:36] *** michaelSharpe has joined #angularjs
[03:08:00] *** MrBaboon has joined #angularjs
[03:08:18] *** sirkitree|afk is now known as sirkitree|afk|af
[03:08:34] <BahamutWC> just about all of the major frontend frameworks at the time were also introducing patterns that many developers were hesitant about adopting - for example, essentially mandatory build tools for keeping templating separate from Backbone views
[03:09:01] <spaceribs> unless of course they try to make the changes in 1.x incrementally, then it will be a nightmare
[03:09:12] *** drej has quit IRC
[03:09:30] <BahamutWC> 1.x was fine for when it came out - it suited a huge important need right then
[03:09:33] *** MistahKurtz has quit IRC
[03:09:34] *** shinnya has quit IRC
[03:09:49] <davek> spaceribs, how exactly?
[03:10:21] <BahamutWC> it's easy to criticize in retrospect while forgetting the ecosystem - the frontend has changed immensely
[03:10:22] *** Sawbones has quit IRC
[03:11:23] *** nattonerd has joined #angularjs
[03:11:27] <davek> I'm not criticizing anyone, they eventually learned from their mistakes. The only issue is that developers are paying for them while they run off to reengineer the framework.
[03:11:47] <Logicgate> I'm excited for 2.0
[03:11:57] <jsheely|afk> davek I just read that reddit post, The argument on the 1.4,1.5 doesn't make any sense to me. If you create breaking changes in point versions. How is that any different then just creating a dozen breaking changes all at once?
[03:12:04] <BahamutWC> well, you did criticize that angular should have been 2.0 from the beginning - I am arguing that it is easy to criticize something like this in retrospect
[03:12:06] *** hippobottamus has quit IRC
[03:12:06] <spaceribs> davek: http://www.reddit.com/r/angularjs/comments/2ksvv8/if_you_take_development_seriously_you_need_to/clohl3r
[03:12:10] *** jsheely|afk is now known as jsheely
[03:12:19] <BahamutWC> jsheely: they probably just want more incremental breaking changes
[03:12:37] <BahamutWC> but that most assuredly comes at the price of framework evolution
[03:12:45] <jsheely> BahamutWC Seems more annoying then the bandaide pull to me. But I guess to each their own
[03:12:56] <BahamutWC> jsheely: I don't disagree
[03:13:14] *** DanielKarp has quit IRC
[03:13:19] *** asher^ has quit IRC
[03:13:21] <jsheely> That just means when you google something you get examples that don't line up with what you have
[03:13:29] <s3shs> Alright, it's official, angular-strap date thingy is off by a day. Wow, there's 5 hours of work I'll never get back.
[03:13:45] <stephen> s3shs, using Chrome?
[03:13:46] <jsheely> If you make a clean break at least you can easily see this is 2.0 because it looks totally different then 1.0
[03:13:52] <s3shs> Si.
[03:13:53] <BahamutWC> s3shs: it's ok, I wasted three hours today with an Ionic bug :(
[03:14:01] <s3shs> :-(
[03:14:07] <stephen> s3shs, Chrome's date implementation is fucked, not the library
[03:14:11] <stephen> use moment.js to fix itr
[03:14:17] <s3shs> Something about the date format and converting. I need to dig now that I know.
[03:14:19] <stephen> It accounts for the bug
[03:14:32] <BahamutWC> +1 moment.js
[03:14:41] <davek> spaceribs, yeah it looks like two people raised valid points and you downvoted them. What was the point of this?
[03:14:45] <s3shs> I dunno... I set the date as 4/30/2014 and I get back 4/29/2014.
[03:15:08] <s3shs> moment.js is great. Doesn't help so muhc inside angular-strap.
[03:15:09] <BahamutWC> you won't really see me ever comment on reddit :)
[03:15:19] <s3shs> So do I get the latest angular strap and hope it works... or do I fix the old one?
[03:15:41] <spaceribs> except that every other project would introduce breaking changes in a version release rather than a point release?
[03:15:46] <s3shs> Are we all discussing the runaway reddit thread? Let Google fork it. Too much old cruft in 1.x.
[03:16:03] <BahamutWC> s3shs: first check the commit history on master on that one directive
[03:16:07] <davek> For the record, incremental development paths, particularly in parallel branches with 'next' development, are really common you seem to be missing that point.
[03:16:13] <s3shs> I've been coding for 40 years. Getting your ass kicked is part of the game.
[03:16:27] <s3shs> davek, they're really common?
[03:16:30] <s3shs> Where?
[03:16:34] <s3shs> Mac OS X? Carbon is dead.
[03:16:37] <s3shs> Windows? Win32 is dead.
[03:16:37] <spaceribs> davek: yeah where are you getting that?
[03:16:37] <BahamutWC> Bootstrap is already working on 4.0
[03:16:41] <s3shs> Want me to continue?
[03:16:47] <davek> s3shs, the hell are you talking about? Which of those are open source?
[03:16:53] <s3shs> Bootstrap 3 killed 2.
[03:16:58] *** lemur has quit IRC
[03:17:07] <BahamutWC> React is going to introduce a massive breaking change when ES6 is used
[03:17:11] <davek> No shit, and it didn't represent a paradigm shift in the way it functions.
[03:17:13] <s3shs> Oh, your self proclaimed righteousness is for opensource only?
[03:17:18] <s3shs> I didn't realize.
[03:17:26] <davek> You're way out of line buddy.
[03:17:27] <s3shs> Because in the real world, things get better to the point where they don't work on old stuff.
[03:17:31] <alexw> What's the best modular approach for sharing views among multiple projects
[03:17:37] <s3shs> alexw, directives.
[03:17:45] <Logicgate> ^
[03:17:53] <s3shs> davek, are the parts in your new car compatible with my 1976 honda?
[03:18:03] <alexw> Logicgate so no .html files?
[03:18:04] <Logicgate> When is 2.0 supposed to come out anyway
[03:18:10] <s3shs> Are new buildings built on old foundations?
[03:18:14] *** bmac has joined #angularjs
[03:18:15] <BahamutWC> alexw: they'd be in html files
[03:18:21] *** shpoont has joined #angularjs
[03:18:22] *** rho has quit IRC
[03:18:27] <Logicgate> Alex, element directives would be html files yes.
[03:18:30] *** olanod has joined #angularjs
[03:18:32] <s3shs> The angular devs are experienced. That's why they'lll be right to fork.
[03:18:33] <BahamutWC> Logicgate: supposedly in a year, probably will slip though
[03:18:51] <alexw> But you'd be duplicating the code between projects then
[03:18:57] <BahamutWC> I know robdubya has gotten 2.0 running lately
[03:18:57] <s3shs> Google should keep pushing out bug fixes for 1.x. Then fork for 2.0.
[03:19:09] <alexw> I think I need to rethink my folder structure
[03:19:20] <BahamutWC> the build process to get a working 2.0 atm is kinda funky, need to compile into dart then use dart2js to compile back down into js
[03:19:24] <spaceribs> whatever, does it really matter in the long run anyway? the devs will do what they think is best to move the project forward, if we’re smart enough we’ll adapt and move forward too, which will probably be for the better
[03:19:25] <davek> No, but that's also a pointless comparison. You purchase an entirely new car when it comes out. If Honda suddenly stopped making parts for your 2010 engine and shifted all of their production over to their brand new engine, that would be comparable.
[03:19:35] <Logicgate> I don't understand the synthaxing of components.
[03:19:48] <Logicgate> @Components... Class foo {
[03:19:48] *** rburns has quit IRC
[03:19:51] <Logicgate> what is this?
[03:19:54] <BahamutWC> spaceribs: well, developers should make their own choice
[03:19:58] <BahamutWC> Logicgate: annotations
[03:20:01] *** Skrypter has joined #angularjs
[03:20:07] <davek> Logicgate using annotations to mark classes with metadata
[03:20:07] <BahamutWC> you find them in JVM languages like Java
[03:20:16] *** rburns has joined #angularjs
[03:20:29] <Logicgate> davek, I don't understand how it's being parsed though.
[03:20:31] <BahamutWC> I like the idea of annotations in JS, but it's not in ES, so I'm a bit wary
[03:20:33] <Logicgate> Is that JS?
[03:20:41] <davek> Logicgate, it is ES7/AtScript
[03:20:48] <BahamutWC> Logicgate: you need to use AtScript, compiled via Traceur
[03:20:53] <spaceribs> BahamutWC: yeah true, if it wasn’t Google pushing this forward with ES6 it would be someone else and we would be singing it’s praises
[03:21:02] <davek> Annotations are submitted to the ES7 standard draft but AtScript does eventually get compiled to JS yeah.
[03:21:11] <Logicgate> BahamutWC, and that gets compiled back to JS for the browser to support it though right?
[03:21:11] *** ccohn has joined #angularjs
[03:21:15] <Logicgate> Just like actionscript?
[03:21:21] <davek> No.
[03:21:26] <davek> Well yes to the first thing no to the second thing.
[03:21:50] <davek> AS didn't target JS did it?
[03:21:51] <Logicgate> I see, so now you have to run all your code through a compiler before sending it to dist.
[03:21:52] *** lemur has joined #angularjs
[03:21:55] <BahamutWC> Logicgate: no, Traceur is a Node.js plugin for compiling ES6 + AtScript into CommonJS or AMD (ES5)
[03:21:59] <BahamutWC> yep
[03:22:04] <spaceribs> AS was based on ECMA though right?
[03:22:07] <BahamutWC> Traceur is also made by Google
[03:22:17] <BahamutWC> Actionscript is as far as I'm aware
[03:22:19] <Logicgate> That becomes a whole fuck lot of shit.
[03:22:22] <Logicgate> Does it not?
[03:22:30] <Logicgate> I like the synthaxing though.
[03:22:37] *** optikalmouse has quit IRC
[03:22:41] <Logicgate> It just seems like a lot of hoops to jump through
[03:22:45] <BahamutWC> Logicgate: depends on your opinions - I think it's ok, although I obviously would prefer a better solution
[03:22:50] <davek> Well if you want to use technical terms.
[03:23:13] *** jjasonclark has quit IRC
[03:23:15] <BahamutWC> I don't like having to use opinionated tools on top of frameworks
[03:23:15] *** doodlehaus has quit IRC
[03:23:28] *** nattonerd has quit IRC
[03:23:50] <BahamutWC> i.e. build process to get Backbone or Ember templates into proper locations for use in apps from separate partials, using JSX with React
[03:23:51] <Logicgate> BahamutWC, my thoughts exactly
[03:23:54] *** rchavik has joined #angularjs
[03:24:04] *** rchavik has joined #angularjs
[03:24:05] <BahamutWC> Angular was the lone holdout in using plain HTML - very simple to reason about
[03:24:10] <alexw> Is there any concern in having a modular approach to this? http://clintberry.com/2013/modular-angularjs-application-design/
[03:24:11] *** shampine has joined #angularjs
[03:24:12] <Logicgate> Angular becomes more than just Angular. Now it depends on a lot of other things
[03:24:43] *** lemur has quit IRC
[03:24:48] *** aminRX has joined #angularjs
[03:24:49] <BahamutWC> alexw: having your scripts into categories like controllers, directives, services, filters, etc. are bad
[03:24:58] *** lemur has joined #angularjs
[03:25:04] <alexw> That's how I got it at the moment?
[03:25:05] <BahamutWC> your scripts should each be single concern and in separate files
[03:25:06] <spaceribs> oh god, hocus pocus is on my TV
[03:25:14] *** plexiv has quit IRC
[03:25:23] <alexw> oh damn
[03:25:25] *** gcann has joined #angularjs
[03:25:43] *** ccohn has quit IRC
[03:25:47] <BahamutWC> so in each module, I'd have a constants, controllers, filters, services, directives, and views folders
[03:26:05] <alexw> hmmm it makes sense
[03:26:11] <alexw> then I can just do a subtree split
[03:26:16] *** gnrlbzik has quit IRC
[03:26:16] *** nattonerd has joined #angularjs
[03:26:23] *** shpoont has quit IRC
[03:26:30] <stephen> s3shs, http://jsfiddle.net/festercluck/hdjzx548/
[03:26:41] <BahamutWC> some people argue having each directive in its own folder with appropriate js/css/html files
[03:26:47] <stephen> Something is causing your date string to be parsed as UTC
[03:26:48] *** Reskp has joined #angularjs
[03:26:49] <BahamutWC> it's all preference obviously
[03:26:54] <stephen> That's why you get the 29
[03:26:56] <alexw> can you have modules within modules :/
[03:27:05] <BahamutWC> alexw: sure
[03:27:16] *** danecando has joined #angularjs
[03:27:17] <alexw> so app/Documents app/Auth
[03:27:23] <alexw> app/Documents/Companies
[03:27:32] *** krawek has quit IRC
[03:27:37] <BahamutWC> things can get a little more complex to reason about though, so make sure to be judicious with how you design your code
[03:27:46] *** plexiv has joined #angularjs
[03:27:57] <alexw> yeah
[03:28:02] *** gnrlbzik has joined #angularjs
[03:28:10] <alexw> I'm stuck on that modular approach
[03:28:12] <olanod> @alexw yes, I usually have a module for services, other for directives,etc and my main app module depends on the other modules
[03:28:21] *** Nijikokun has quit IRC
[03:28:35] *** thedodd has joined #angularjs
[03:28:41] <BahamutWC> ultimately, the design is up to you
[03:28:42] <alexw> We're building a service that has 6-7 forms all creating a unified document object
[03:28:50] *** Nijikokun has joined #angularjs
[03:28:56] <alexw> Each form has 10+ steps
[03:29:04] <davek> BahamutWC, I agree entirely.
[03:29:21] <alexw> And we're looking to build 40+ forms
[03:29:37] <alexw> in the future - so I want to be completely modular and abstract
[03:29:47] <BahamutWC> heh, everyone wants magical form generators
[03:30:09] *** nattonerd has quit IRC
[03:31:05] <alexw> BahamutWC nope - I don't want a form generator
[03:31:06] <alexw> eww
[03:31:11] <davek> Annnd we come back to exactly why having an ActiveRecord-style front-end data model would kick ass.
[03:31:43] <BahamutWC> you and your AR :P
[03:31:44] *** Reskp has quit IRC
[03:31:44] <davek> ng-form-for="mymodel"
[03:31:51] <alexw> I just want to be able to keep abstract methods like save document, get document, pay for document
[03:31:58] <davek> The pattern works, I don't even like Rails.
[03:32:08] <davek> alexw, sure why couldn't you have that?
[03:32:23] *** gnrlbzik has quit IRC
[03:32:28] <alexw> so I had a DocumentController - and then say a DocumentForm1Controller
[03:32:38] <alexw> bad example Form1 as naming - but you get the point
[03:32:40] <BahamutWC> angular is clunky with forms - definitely an area that could use work
[03:32:43] *** rho has joined #angularjs
[03:32:52] *** levity_island has quit IRC
[03:32:53] <alexw> with routes having /documents/form-1/step1 etc.
[03:33:11] <alexw> DocumentController tasked with resuming the form and/or saving the data
[03:33:22] <alexw> but that would be parent scope to DocumentForm1Controller
[03:33:38] *** morganiq has joined #angularjs
[03:34:10] <themime> alexw: you using ui-router? parent states might be useful there
[03:34:14] *** mchung has joined #angularjs
[03:34:14] *** Ilgrim has quit IRC
[03:34:26] *** ngoyal has joined #angularjs
[03:34:39] <alexw> themime yeah using parent states - so a child state can access functions on the parent state - correct?
[03:34:42] <themime> alexw: oh better yet parent directives
[03:34:53] *** Ilgrim has joined #angularjs
[03:34:54] *** kakashiA1 has joined #angularjs
[03:35:14] *** Asiajey has quit IRC
[03:35:18] <themime> alexw: ive actually not taken advantage of parent/child anything really yet in angular unfortunately. that might be my next experiment...
[03:35:19] <davek> alexw, on the parent scope yes.
[03:35:28] <themime> angular or ui-router
[03:35:39] <davek> You also have access to resolves on the parent state if you inject them.
[03:35:56] *** anivemin has joined #angularjs
[03:36:09] <alexw> perfect - so I have all the abstract methods etc on the parent state
[03:36:19] <alexw> that'll work fine
[03:36:21] *** superstructor has joined #angularjs
[03:36:44] <alexw> Then the real pain in the ass is just building forms and validating data
[03:36:45] <davek> For your purposes however, I would make use of a service probably. Resolve a new FormOne() instance or whatever in the /documents/form-1 state and then inject it into the child states. Child states commit pieces of the form's overall data. Last stage just does FormOne.commit() or what have you.
[03:37:06] *** nya has joined #angularjs
[03:37:20] *** Aerospark has quit IRC
[03:37:35] <alexw> instead of a controller?
[03:37:53] <davek> You'd do that from a controller on the final submit.
[03:37:55] *** Aerospark has joined #angularjs
[03:38:18] *** kakashiAL has quit IRC
[03:39:02] <s3shs> stephen, thank you. Wow.
[03:39:08] <davek> The point here being, your controller for each stage of the form process should be just transforming and displaying your data/fields. When the user progresses to the next stage, the controller should perform the validations necessary for that step, then add the data to the FormOne object that is shared among the various step states.
[03:39:35] <alexw> ahh
[03:39:37] <olanod> yea, a sevice to share data functionality between controllers is a good aproach
[03:39:39] <alexw> I've done something similar
[03:39:41] <davek> Plus minimizing your controllers gets you ready for 2.0!
[03:40:06] <alexw> each stage just writes to $scope.document
[03:40:16] <alexw> So I can access data from the previous stage in the current stage
[03:40:20] *** ctanga has quit IRC
[03:40:35] *** anivemin has quit IRC
[03:41:16] *** jstroem has joined #angularjs
[03:41:20] <alexw> and the form submit event includes the ref of the next stage - so it knows where to send after submit
[03:41:36] <davek> Uhh, it can write to whatever it wants but on submit I'd take your validated form model and add it to your shared data service somehow.
[03:41:46] *** motionman has quit IRC
[03:42:04] *** junmin has quit IRC
[03:42:07] *** Aerospark has quit IRC
[03:42:17] <alexw> Got it
[03:42:22] *** zivester has quit IRC
[03:42:31] *** junmin has joined #angularjs
[03:42:55] <olanod> One service with an internal data object and on each step u add data ... setDataFromStep(1, data)
[03:43:18] <alexw> I get that - I just don't get why you need a service that's all
[03:43:25] <alexw> Still in the angular learning curve
[03:43:29] *** bayousoft has quit IRC
[03:43:52] <olanod> service is a singleton instance that can be shared by controllers
[03:44:41] <olanod> u inject the same service in every controller
[03:44:43] *** favetelinguis has joined #angularjs
[03:45:12] *** neoadventist has joined #angularjs
[03:45:26] *** jstroem has quit IRC
[03:46:34] *** bradcliffe has joined #angularjs
[03:46:59] *** junmin has quit IRC
[03:47:10] <davek> This is not a service, however, this is a factory since you want to create a new instance each time the form process is started (or retrieve a cached instance if the form process is resumed but we can deal with that later).
[03:48:25] *** pillage has joined #angularjs
[03:48:26] *** Ilgrim has quit IRC
[03:48:55] *** asher^ has joined #angularjs
[03:49:21] *** favetelinguis has quit IRC
[03:50:14] *** bradcliffe has quit IRC
[03:50:22] <alexw> davek this is currently how I have laid out http://plnkr.co/edit/CDv8bn9o32pH9ohImsWC
[03:50:23] *** rburns has quit IRC
[03:50:28] *** TheAceOfHearts has quit IRC
[03:50:34] *** bradcliffe has joined #angularjs
[03:50:39] *** rburns has joined #angularjs
[03:50:39] *** bradcliffe has quit IRC
[03:50:53] *** opiates has joined #angularjs
[03:50:59] <alexw> Line 74 would be where the logic comes in as to which form will be created and where the first route is
[03:51:20] *** bradcliffe has joined #angularjs
[03:51:30] *** michaelS_ has joined #angularjs
[03:52:02] *** platonic has joined #angularjs
[03:52:13] <alexw> davek are you proposing I don't need DocumentCompaniesCtrl if I use a service?
[03:52:22] *** BillCriswell has quit IRC
[03:53:25] *** michaelSharpe has quit IRC
[03:53:40] *** bradcliffe has quit IRC
[03:53:56] *** syzygy__ has quit IRC
[03:54:41] *** moritzs has quit IRC
[03:54:46] *** matthoiland has joined #angularjs
[03:54:47] <shoerain> sometimes I just want to trace how functions are called and changes are propagated; is there a way to do that without putting a console.log() in every function? I'm thinking of something similar to `bash -x` or `python -m trace --trace`
[03:55:05] <davek> alexw, uhh I'm afraid I don't totally get what's going on here but I believe you could yes. I've done similar things. You appear to have a lot of view logic in your controller which could be simplified by having a different view for each step.
[03:55:08] *** one0one has joined #angularjs
[03:55:26] *** snurfery has joined #angularjs
[03:55:41] <davek> shoerain, uhhh JS profiling?
[03:55:45] <davek> Closest I got.
[03:56:40] *** platonic has quit IRC
[03:56:41] *** loverajoel has quit IRC
[03:56:56] *** rtpg has quit IRC
[03:57:18] *** aminRX has quit IRC
[03:58:36] *** ccohn has joined #angularjs
[03:58:53] <shoerain> davek: that's not just for checking CPU usage by function?
[03:59:21] *** matthoiland has quit IRC
[03:59:57] *** tbo_ has joined #angularjs
[04:00:04] *** ccohn has quit IRC
[04:00:11] <davek> shoerain, it shows a stack chart for your function invocations.
[04:00:22] <davek> shoerain and no you're thinking of the console.profile hints
[04:00:42] <davek> Though that's good too..
[04:00:53] <davek> Oh console.trace!
[04:00:59] <davek> I didn't know they had added that.
[04:01:47] *** iamvfl has joined #angularjs
[04:01:47] <shoerain> oh man, there seem to be quite a few console goodies
[04:01:51] <olanod> @shoerain debugger? breakpoints? call stack?
[04:01:52] *** motionman has joined #angularjs
[04:02:38] <davek> shoerain, definitely something to get familiar with. Some of the more obscure ones actually come in handy. Profile hints especially.
[04:02:42] *** hadrian_js has joined #angularjs
[04:02:43] *** iamvfl has quit IRC
[04:03:34] *** bkuberek has joined #angularjs
[04:03:37] *** iateadonut has left #angularjs
[04:03:39] *** mdedetrich has quit IRC
[04:03:44] *** mary5030 has quit IRC
[04:03:57] <shoerain> olanod: isn't the debugger/breakpoints/call stack a single point in time?
[04:04:10] <shoerain> davek: https://developer.chrome.com/devtools/docs/console-api guess looks like a good place to check, is there a MDN equivalent?
[04:04:15] *** mdedetrich has joined #angularjs
[04:04:18] *** ctanga has joined #angularjs
[04:04:26] *** tbo_ has quit IRC
[04:04:41] <davek> shoerain, yes probably in the MDN docs. There are no real standards for console support functions.
[04:04:57] *** spaceribs has quit IRC
[04:05:30] *** rob_parkhill has joined #angularjs
[04:05:53] *** joshfinnie has quit IRC
[04:05:53] *** BlinkyBill has quit IRC
[04:05:54] *** BlinkyBill_ has joined #angularjs
[04:06:13] *** Mark__ has joined #angularjs
[04:06:29] *** joshfinnie has joined #angularjs
[04:07:21] *** Siecje has left #angularjs
[04:07:23] <shoerain> olanod: I should mention I'm trying to understand a codebase more than profile it
[04:07:29] <shoerain> or debug
[04:07:43] <olanod> set as many breakpoints(pauses on the script) as you want. every time the script is paused you can check the value of everything in that scope and start debugging step by step or continue the execution
[04:07:56] <shoerain> there's a distinction betweeng understanding, profiling, and debugging in my mind, anyway.
[04:08:08] *** superstructor has quit IRC
[04:08:14] <davek> shoerain, the prophiler graph is great for that.
[04:08:19] <davek> profiler*
[04:08:39] *** morganiq has quit IRC
[04:08:41] *** jazzhippie has joined #angularjs
[04:08:47] <shoerain> olanod: well it's a hodgepodge of functions calling one another, so I just want to follow the control flow when I invoke ng-click or ng-if or whatever
[04:08:53] *** TripTastic is now known as JBreit
[04:08:58] *** josh-k has joined #angularjs
[04:09:53] *** rho has quit IRC
[04:10:13] *** dnull has joined #angularjs
[04:10:30] <dnull> How can I check if angular foreach has finish running
[04:10:42] *** mdedetrich has quit IRC
[04:10:43] *** jjasonclark has joined #angularjs
[04:11:08] *** kalehv has quit IRC
[04:11:38] <davek> dnull, uhh you put something after it?
[04:11:41] *** kalehv has joined #angularjs
[04:11:41] <davek> angular.forEach is synchronous.
[04:11:59] <alexw> How can I state bower dependencies for each sub module?
[04:12:01] *** taybin has quit IRC
[04:12:19] <dnull> davek Yes
[04:12:40] <olanod> @shoerain say u have a breakpoint in the function called by ng-click, from there you can know the call stack, the value of every object and start steping in or out of function calls and get as deep as you want
[04:12:41] *** merobertsjr has joined #angularjs
[04:13:11] <davek> dnull, wasn't a question.
[04:13:30] <davek> alexw, whew not my speciality. Maybe #bowerjs?
[04:13:36] <olanod> @alexw modules can be independent projects/libraries ?
[04:13:44] <dnull> davek Ohh sorry, I thought you asked me one.
[04:13:47] <dsdeiz> hey all is it somewhat possible to change the view when a link is clicked? i was thinking of using ng-hide and ng-show
[04:13:49] *** ctanga has quit IRC
[04:13:56] <davek> dsdeiz sure.
[04:13:57] *** jjasonclark has quit IRC
[04:14:02] *** merobertsjr has quit IRC
[04:14:04] <dsdeiz> any example?
[04:14:09] *** mdedetrich has joined #angularjs
[04:14:12] <davek> ng-click to change a scope value and lke you said ng-hide/ng-show on that scope value.
[04:14:21] <dnull> davek I want to run specific function once forEach finish running
[04:14:22] <davek> dsdeiz plenty in the docs! Check ng-hide/ng-show/ng-click
[04:14:25] *** rob_parkhill has quit IRC
[04:14:29] <davek> dnull then put it after the forEach
[04:14:30] *** merobertsjr has joined #angularjs
[04:14:57] *** DrMabuse has joined #angularjs
[04:15:15] *** rob_parkhill has joined #angularjs
[04:15:18] <dnull> davek I thought would be nice if there is a promise mechanism
[04:16:21] <davek> dnull, there isn't because its synchronous. It wouldn't do anything.
[04:16:23] *** michaelS_ has quit IRC
[04:16:25] *** kalehv has quit IRC
[04:16:34] *** pillage_ has joined #angularjs
[04:16:57] *** pillage has quit IRC
[04:18:07] <alexw> so should I have app/auth/controllers/AuthCtrl.js or app/auth/AuthCtrl.js
[04:18:29] *** jazzhippie has quit IRC
[04:18:41] <davek> Your choice.
[04:18:46] <grizzm0> Should I have blue or red socks today?
[04:18:48] <davek> I have all of my js files in one directory like a punk.
[04:19:02] *** mary5030 has joined #angularjs
[04:19:19] *** merobertsjr has quit IRC
[04:19:46] *** DrMabuse has quit IRC
[04:19:59] *** junmin has joined #angularjs
[04:20:51] <olanod> @dnull, maybe something like this if you have the functions grouped:
[04:20:52] *** rburns has quit IRC
[04:20:54] <olanod> var functions = [function(){...},function(){...}];
[04:20:56] <olanod> // inside foreach
[04:20:58] <olanod> functions[i]();
[04:21:15] *** rburns has joined #angularjs
[04:21:28] <themime> davek: how many files? that sounds a little scary
[04:21:29] <davek> olanod, I think you misunderstood his request.
[04:21:34] <dnull> olanod nice idea
[04:21:38] *** josh-k__ has joined #angularjs
[04:21:40] *** robksawyer has joined #angularjs
[04:21:45] <davek> Or I did.
[04:21:46] <themime> davek: scariness obv depends on project though
[04:22:35] <davek> themime, thanks for your paternalistic concern! I have {app, controllers, directives, models, services}.js
[04:22:37] *** josh-k has quit IRC
[04:23:09] *** shpoont has joined #angularjs
[04:23:28] <davek> dnull, can you explain how that solution answers what you were asking?
[04:23:41] <davek> As in can you show some code for what you're looking for?
[04:23:56] *** mmealling has joined #angularjs
[04:24:18] *** neoadventist has quit IRC
[04:24:20] *** superstructor has joined #angularjs
[04:24:33] *** bkuberek_ has joined #angularjs
[04:24:58] *** walbert has quit IRC
[04:25:00] *** jjasonclark has joined #angularjs
[04:25:00] *** rob_parkhill has quit IRC
[04:25:03] <dnull> davek Let me pluke it
[04:25:25] *** araujo has quit IRC
[04:26:38] *** jjasonclark has quit IRC
[04:27:16] *** bkuberek has quit IRC
[04:27:32] *** Aliks has joined #angularjs
[04:27:33] *** Reskp has joined #angularjs
[04:27:49] *** shpoont has quit IRC
[04:27:50] *** mdedetrich has quit IRC
[04:28:02] *** TripTastic has joined #angularjs
[04:28:02] *** ProLoser has joined #angularjs
[04:28:21] <shoerain> dnull: angular.forEach being synchronous means it doesn't need a callback, deferred, promise, whatever. it just blocks until you finish, and you mosy on doing whatever else you want to do.
[04:29:03] *** gnrlbzik has joined #angularjs
[04:29:24] *** Mark__ has quit IRC
[04:29:34] *** ome has joined #angularjs
[04:29:51] *** xueron has joined #angularjs
[04:31:38] <davek> Ugh I gotta drive 4 hours overnight.
[04:31:41] *** JBreit has quit IRC
[04:31:53] *** Reskp has quit IRC
[04:32:22] *** ProLoser has quit IRC
[04:32:49] *** Mark__ has joined #angularjs
[04:33:18] *** chrisshattuck has joined #angularjs
[04:34:43] *** Aerospark has joined #angularjs
[04:35:08] *** doug64k has quit IRC
[04:35:27] *** annlewis has joined #angularjs
[04:35:33] *** night-owl is now known as zz_night-owl
[04:35:37] <dsdeiz> is it fine to put ng-controller?
[04:35:40] *** AciD`` has quit IRC
[04:35:57] *** mdedetrich has joined #angularjs
[04:36:01] *** Silne30 has quit IRC
[04:36:03] <davek> dsdeiz, its not fatal.
[04:36:20] *** Hackwar has joined #angularjs
[04:36:38] *** Hackwar1 has quit IRC
[04:36:39] *** merobertsjr has joined #angularjs
[04:36:41] *** neoadventist has joined #angularjs
[04:36:57] *** bmac has quit IRC
[04:37:15] *** josh-k__ has quit IRC
[04:37:44] *** xueron has quit IRC
[04:37:53] *** Aliks has quit IRC
[04:38:15] *** dsdeiz_ has joined #angularjs
[04:38:23] *** chrisshattuck has quit IRC
[04:38:29] *** Aliks has joined #angularjs
[04:39:21] *** Aerospark has quit IRC
[04:39:38] *** jae has joined #angularjs
[04:40:05] *** mmealling has quit IRC
[04:40:13] *** TyrfingMjolnir has quit IRC
[04:40:18] *** dsdeiz has quit IRC
[04:41:14] *** merobertsjr has quit IRC
[04:41:23] *** glaksmono has joined #angularjs
[04:41:24] *** jcool has quit IRC
[04:41:32] *** jcool has joined #angularjs
[04:42:05] *** jcool has joined #angularjs
[04:42:08] *** jstroem has joined #angularjs
[04:42:34] *** Aliks has quit IRC
[04:42:36] *** jcool has joined #angularjs
[04:43:43] <dnull> davek http://plnkr.co/edit/UoyZOnaqOWwcjF1pXaQQ?p=info
[04:44:18] *** defaultdict has quit IRC
[04:44:42] *** favetelinguis has joined #angularjs
[04:44:51] <davek> dnull, you're using async methods (pushing the data) inside of a synchronous method. That's why you're having problems.
[04:45:08] <davek> You need to read the docs for $q, particularly $q.all which allows you to resolve a set of promises and then do something with them afterwards.
[04:45:13] *** davek has quit IRC
[04:46:36] *** stephen has quit IRC
[04:46:54] *** mdedetrich has quit IRC
[04:47:00] *** jstroem has quit IRC
[04:47:36] *** stephen has joined #angularjs
[04:48:44] *** rob_parkhill has joined #angularjs
[04:48:50] <s3shs> dnull, since you're probably confused right now. A promise is something that triggers *after* the background/async work is complete. You can pass a bunch of these to $q.all which will in turn call a "sink" when they're all finished.
[04:49:10] *** favetelinguis has quit IRC
[04:49:16] <s3shs> The "sink" function is implemented as ".then"
[04:49:28] *** mchung has quit IRC
[04:49:52] *** gnrlbzik has quit IRC
[04:50:01] *** marshall_ has joined #angularjs
[04:50:05] *** gnrlbzik has joined #angularjs
[04:50:07] <marshall_> hey angular
[04:50:20] <s3shs> I'm sure the framework says hi
[04:50:21] <stephen> What up marshall_
[04:50:36] *** pillage_ has quit IRC
[04:50:46] *** gnrlbzik has quit IRC
[04:50:47] <olanod> davek I actually did missunderstand, something like this maybe?
[04:50:50] <olanod> promises = []
[04:50:52] <olanod> angular.foreach(objects, function(obj){ promises.push(callServer()) }); // callServer returns promise
[04:50:53] *** stephen has quit IRC
[04:50:54] <olanod> $q.all(promises).then( ... );
[04:51:12] <marshall_> let's say I wanted empty an element of its static content before doing an ng-repeat. how should i go about that?
[04:51:27] <s3shs> olanod, you would put a function inside each element of the promises array.
[04:51:28] *** rburns has quit IRC
[04:51:34] *** warehouse13 has quit IRC
[04:51:47] *** mdedetrich has joined #angularjs
[04:51:50] *** rburns has joined #angularjs
[04:51:50] <dnull> davek Ok will have to check that out
[04:51:52] *** Mark__ has quit IRC
[04:51:58] <s3shs> Each function should return a promise. Coincidentally, $http.get returns a promise. Dig?
[04:52:05] *** mogaj has joined #angularjs
[04:52:16] <s3shs> So no loops.
[04:53:04] <s3shs> Or capes
[04:54:00] *** fatshark has quit IRC
[04:55:11] *** TheAceOfHearts has joined #angularjs
[04:55:16] <dsdeiz_> hm, any ideas how to update the scope in controller for ngClick?
[04:55:46] <s3shs> In your controller: $scope.myInt = 0. ng-click="myInt += 1"
[04:55:47] <s3shs> Or whatever.
[04:56:08] *** dllama has quit IRC
[04:56:18] <dsdeiz_> yeah i try to put console.log($scope.var); and in my ng-click i have ng-click="var = true"
[04:56:21] *** exp10r3r has joined #angularjs
[04:56:26] *** aminRX has joined #angularjs
[04:56:49] <s3shs> That should work. Unless var is not in the scope you think it's in.
[04:56:57] <s3shs> Recall that things like ng-repeat and ng-if create scopes.
[04:56:58] <dsdeiz_> it's <button ng-click="var = true"></button> btw but the controller isn't called
[04:57:09] *** loverajoel has joined #angularjs
[04:57:13] *** mdedetrich has quit IRC
[04:57:17] *** rtpg has joined #angularjs
[04:57:31] <s3shs> dsdeiz_, try this: ng-click="myFunction(true)" and in the controller $scope.myFunction = function(var) { party; ]
[04:57:34] <s3shs> Whoops, }
[04:57:52] *** Mark__ has joined #angularjs
[04:58:10] *** davesidious_ has joined #angularjs
[04:58:34] *** ccohn has joined #angularjs
[04:59:22] *** opiates has quit IRC
[04:59:47] <dsdeiz_> doesn't work :(
[05:00:04] *** nicholes has joined #angularjs
[05:00:39] <dsdeiz_> i think the controller isn't really called when the button is clicked
[05:00:44] *** tbo_ has joined #angularjs
[05:00:47] *** Beatzebub has quit IRC
[05:00:54] <snurfery> show code
[05:01:29] *** davesidious has quit IRC
[05:01:35] *** yhsiang has quit IRC
[05:01:42] *** Beatzebub has joined #angularjs
[05:01:56] *** rtpg has quit IRC
[05:02:01] *** loverajoel has quit IRC
[05:03:07] *** ccohn has quit IRC
[05:03:38] *** rtpg has joined #angularjs
[05:04:03] *** tomzx is now known as tomzx`afk
[05:04:19] *** pillage has joined #angularjs
[05:04:24] *** abram_ has joined #angularjs
[05:04:46] *** mdedetrich has joined #angularjs
[05:04:50] <chovy> plunkr
[05:05:03] *** Oddman has quit IRC
[05:05:14] *** iribarne has joined #angularjs
[05:05:33] *** Raging_Hog has joined #angularjs
[05:05:51] *** tbo_ has quit IRC
[05:05:53] *** hadrian_js has quit IRC
[05:06:34] *** yhsiang has joined #angularjs
[05:06:37] *** junmin has quit IRC
[05:06:37] <dsdeiz_> hm, yeah weird it's working with jsfiddle
[05:06:39] *** neoadventist has quit IRC
[05:06:57] <dsdeiz_> sigh, pebkac
[05:07:49] <dsdeiz_> i wonder if it's possible to make this one work?
[05:07:49] <dsdeiz_> http://jsfiddle.net/r2jcwcw2/
[05:08:28] *** Mark__ has quit IRC
[05:10:03] *** yhsiang has quit IRC
[05:10:51] <s3shs> dsdeiz_, http://plnkr.co/edit/7zbwSQeukqjAvkl2PM3r?p=preview
[05:11:06] <s3shs> (jsfiddle hides too much and confuses me.)
[05:11:11] *** nicholes has quit IRC
[05:11:29] *** Greed` has joined #angularjs
[05:11:34] *** Mark__ has joined #angularjs
[05:11:59] *** loverajoel has joined #angularjs
[05:12:05] <dsdeiz_> yep, that works. wondering if it's possible to not use function. if not still totally cool
[05:12:08] <dsdeiz_> thx!
[05:12:12] *** faddah has quit IRC
[05:12:14] *** DavidBowie has joined #angularjs
[05:12:19] <s3shs> absolutely... one sec.
[05:12:45] *** aminRX has quit IRC
[05:13:27] *** gunn has quit IRC
[05:13:34] <TheAceOfHearts> Who the fuck ever thought that XML was a good idea? ~_~
[05:14:10] <s3shs> dsdeiz_,here:
[05:14:11] <s3shs> http://plnkr.co/edit/7zbwSQeukqjAvkl2PM3r?p=preview
[05:14:27] *** Greed has quit IRC
[05:14:30] *** gunn has joined #angularjs
[05:14:31] <s3shs> TheAceOfHearts, you are preachin' to the choir baby! I loathe XML.
[05:14:38] *** tkimmel has joined #angularjs
[05:14:49] *** olanod has left #angularjs
[05:15:07] <s3shs> dsdeiz_, I clicked lock on that plnkr by mistake. Don't know if you can edit it anymore. :\
[05:15:08] <dsdeiz_> s3shs++
[05:15:08] <UniBot> s3shs Karma: 4
[05:15:16] <dsdeiz_> thx!
[05:15:16] <s3shs> Heh.
[05:15:18] <s3shs> Sure.
[05:15:21] <s3shs> Have fun.
[05:15:36] *** stephanbuys has quit IRC
[05:15:37] *** Sawbones has joined #angularjs
[05:15:43] *** Greed` has quit IRC
[05:15:51] *** sahbeewah has quit IRC
[05:17:01] *** rob_parkhill has quit IRC
[05:18:23] *** faddah has joined #angularjs
[05:19:17] *** tkimmel has quit IRC
[05:20:01] *** Sawbones has quit IRC
[05:20:17] *** mdedetrich has quit IRC
[05:20:53] *** bkuberek has joined #angularjs
[05:21:11] *** hello has joined #angularjs
[05:21:17] *** jaydubya has quit IRC
[05:21:20] *** DavidBowie is now known as Greed
[05:21:55] *** the|-|ack has joined #angularjs
[05:21:55] *** rburns has quit IRC
[05:22:10] *** rob_parkhill has joined #angularjs
[05:22:13] *** rburns has joined #angularjs
[05:22:24] *** Mark__ has quit IRC
[05:23:00] *** bkuberek_ has quit IRC
[05:23:22] *** davi has joined #angularjs
[05:23:23] *** davi has joined #angularjs
[05:23:31] *** Greed has quit IRC
[05:23:44] *** Greed has joined #angularjs
[05:24:40] *** anivemin has joined #angularjs
[05:25:19] *** mary5030 has quit IRC
[05:26:04] *** ngoyal has quit IRC
[05:26:30] *** patrick99e99 has quit IRC
[05:28:23] *** Reskp has joined #angularjs
[05:29:32] *** anivemin has quit IRC
[05:29:46] *** mdedetrich has joined #angularjs
[05:30:01] *** Reskp_ has joined #angularjs
[05:30:40] *** rob_parkhill has quit IRC
[05:31:33] *** aniasis has quit IRC
[05:31:33] *** Nizumzen has joined #angularjs
[05:31:41] *** Raging_Hog has quit IRC
[05:32:10] *** wd40s has quit IRC
[05:32:10] *** bkuberek has quit IRC
[05:32:19] *** Jon31 has quit IRC
[05:33:00] *** Reskp has quit IRC
[05:33:30] *** hiThere has joined #angularjs
[05:33:39] *** jlambert121 has quit IRC
[05:33:41] *** mennea has joined #angularjs
[05:33:50] *** Scathen^C has quit IRC
[05:34:42] *** Reskp_ has quit IRC
[05:34:53] *** thedodd has quit IRC
[05:34:57] *** {DV8} has quit IRC
[05:35:09] *** annlewis has quit IRC
[05:35:10] <s3shs> You know what I hate? Debugging opensource that's not indented properly.
[05:35:16] *** mdedetrich has quit IRC
[05:35:26] *** Aerospark has joined #angularjs
[05:35:32] <s3shs> omg, there's an indenter in Chrome's debugger.
[05:35:41] <s3shs> <life will never be the same>
[05:35:46] <s3shs> <forgot it was there>
[05:36:07] *** morganiq has joined #angularjs
[05:36:29] *** iDeveloper has joined #angularjs
[05:36:30] *** lw has joined #angularjs
[05:36:46] <iDeveloper> what the hell
[05:37:10] <s3shs> porn stream stopped?
[05:38:30] *** travm has joined #angularjs
[05:39:14] *** yhsiang has joined #angularjs
[05:39:19] *** _ritchie_ has quit IRC
[05:40:47] *** iribarne has quit IRC
[05:40:49] *** platonic has joined #angularjs
[05:41:11] <TheAceOfHearts> the porn stream never stops
[05:41:22] *** Aerospark has quit IRC
[05:41:28] <s3shs> :-|
[05:41:30] *** abram_ has quit IRC
[05:41:55] *** travm has quit IRC
[05:42:05] *** Mark__ has joined #angularjs
[05:42:48] *** jstroem has joined #angularjs
[05:42:54] <sacho> s3shs, it works great on minfied code, too
[05:42:58] *** dgee has joined #angularjs
[05:42:59] *** d4rklit3 has quit IRC
[05:43:05] <s3shs> Whassat?
[05:43:11] <sacho> the indenter
[05:43:14] <TheAceOfHearts> so, quick survey
[05:43:21] <s3shs> I'll have to try that.
[05:43:33] *** matthoiland has joined #angularjs
[05:43:48] <TheAceOfHearts> let's say you're looking up how to do X, and you find a site that has the answer but requires signing up, how likely are you to sign up to get to the answer? what if it only asked for your email?
[05:44:01] <s3shs> zero
[05:44:05] <sacho> screw quora
[05:44:22] <TheAceOfHearts> so
[05:44:33] <s3shs> I signed up for quora once... to read their old angular vs ember debate. Haven't used it since. And here I am.
[05:44:36] <s3shs> :-)
[05:44:58] *** Devank has joined #angularjs
[05:45:03] <TheAceOfHearts> what if there was a limit to how many answers you could view or something, after getting like 5 answers it hides em until you register or something; would you?
[05:45:46] <s3shs> I think it would be really hard for a site to get that many answers in the first place.
[05:45:50] *** platonic has quit IRC
[05:45:52] <s3shs> You'd be competing with SO.
[05:46:12] <snurfery> tech types would resist that more than most
[05:46:14] *** travm has joined #angularjs
[05:46:15] <TheAceOfHearts> let's say that the topic is very obscure
[05:46:20] <snurfery> if it was for the general public, maybe
[05:46:22] <Devank> Hey guys i just want to ask is angular plannig any thing about IE.
[05:46:28] <TheAceOfHearts> to the point where you probably can't find that data anywhere else
[05:46:33] <s3shs> So obscure that you wouldn't make any money off ads?
[05:46:47] <TheAceOfHearts> s3shs: no interest in having ads
[05:46:49] <s3shs> Devank, hah.
[05:47:00] *** Nijikokun has quit IRC
[05:47:15] *** red_horned_rihno has quit IRC
[05:47:24] *** c00ljs has quit IRC
[05:47:29] <TheAceOfHearts> my boss asked me to implement something like this, but I sorta hate having to register for stuff
[05:47:35] <TheAceOfHearts> unless I REALLY have to
[05:47:39] *** mdedetrich has joined #angularjs
[05:47:50] <snurfery> it's a bad user experience generally, unless they get something out of it
[05:47:53] *** jstroem has quit IRC
[05:48:02] <TheAceOfHearts> well, you do get something out of it
[05:48:06] <TheAceOfHearts> you get an answer to your obscure question
[05:48:06] <snurfery> esp if there's a password and email verification steps
[05:48:10] <Devank> What about IE
[05:48:19] <TheAceOfHearts> no email verification
[05:48:20] <TheAceOfHearts> cuz fts
[05:48:29] *** matthoiland has quit IRC
[05:48:49] *** asher^ has quit IRC
[05:48:52] <snurfery> if it's valuable and obscure, I'd prolly do it, but I'd be a little peeved at having to
[05:48:59] <TheAceOfHearts> yeah
[05:49:00] <TheAceOfHearts> me too
[05:49:15] <snurfery> then again, non-tech-types might be less defensive with their email address, so it might depend on your audience
[05:49:24] *** Alina-malina has joined #angularjs
[05:49:26] <TheAceOfHearts> so, if you're providing something to someone and you want something in exchange, what's the best way to go about it?
[05:49:32] <TheAceOfHearts> it's for tech people lol
[05:49:53] <TheAceOfHearts> Hmmm
[05:50:15] <TheAceOfHearts> what if every 3~5 answer views you get a popover or something? similar to what Sublime Text does
[05:50:48] *** Aliks has joined #angularjs
[05:50:49] <snurfery> that's a little better if it's dismissable
[05:51:02] *** mmealling has joined #angularjs
[05:51:26] *** Devank has quit IRC
[05:51:39] <TheAceOfHearts> of course
[05:51:40] <TheAceOfHearts> Hmmm
[05:51:40] <snurfery> we're gonna get super butthurt and entitled and grudgey if we feel our freedom is being limited, but sublime did well with their pattern
[05:51:49] *** macobo has joined #angularjs
[05:51:59] *** lianimator1 has joined #angularjs
[05:52:01] *** frem has quit IRC
[05:52:29] <TheAceOfHearts> yeah
[05:52:29] *** rburns has quit IRC
[05:52:50] *** rburns has joined #angularjs
[05:54:36] *** lianimator has quit IRC
[05:54:47] *** mandric has quit IRC
[05:54:58] *** linojon has quit IRC
[05:55:07] *** MistahKurtz has joined #angularjs
[05:55:10] *** robdubya has joined #angularjs
[05:55:25] *** mmealling has quit IRC
[05:55:34] *** yash has joined #angularjs
[05:56:41] <dnull> I have controller.js file with some angualrjs code inside, Now I want to execute this file 'controller.js' as a cron file. My question is, can you run angualrjs code on node
[05:56:42] <dnull> ?
[05:57:02] *** asher^ has joined #angularjs
[05:57:08] *** grantfunke_ has joined #angularjs
[05:57:11] *** mdedetrich has quit IRC
[05:58:02] <sacho> It wouldn't make sense.
[05:58:05] <themime> dnull: what why
[05:58:05] <snurfery> you'd prolly be better off copy/paste/porting it over to node I think
[05:58:13] <hiThere> Hi, do you like the design of the current official website of the Angular?
[05:58:33] <snurfery> hiThere: better than geocities
[05:58:35] * snurfery nods
[05:58:43] <snurfery> I can say that with certainty
[05:58:49] <robdubya> it is known
[05:58:52] <alexw> In this example
[05:58:52] <alexw> https://github.com/johnpapa/ng-demos/tree/master/cc-bmean/src/client/app
[05:58:54] *** lw has quit IRC
[05:58:57] * themime isn't sure if hiThere is trying to sell something or learn
[05:58:59] <alexw> Where would directives go?
[05:59:00] *** iffraff has quit IRC
[05:59:04] *** Eiam has joined #angularjs
[05:59:08] <s3shs> Eesh, looks like the bug is in bootstrap itself. Yikes.
[05:59:08] <alexw> And where would misc little services go?
[05:59:15] <alexw> i.e. a uuid4 helper
[05:59:23] *** charuru has quit IRC
[05:59:23] <themime> alexw: core maybe?
[05:59:33] *** ccohn has joined #angularjs
[05:59:33] <sacho> dnull, what does your code look like?
[05:59:36] *** mdedetrich has joined #angularjs
[05:59:38] <alexw> core/services ?
[05:59:47] *** iffraff has joined #angularjs
[06:00:05] <s3shs> alexw, I usually make a utils.
[06:00:16] <alexw> i.e. app/utils?
[06:00:24] <dnull> themime controller looks like: http://plnkr.co/edit/UoyZOnaqOWwcjF1pXaQQ?p=info
[06:00:31] *** stephanbuys has joined #angularjs
[06:00:33] <dnull> sacho controller looks like: http://plnkr.co/edit/UoyZOnaqOWwcjF1pXaQQ?p=info
[06:00:38] <themime> alexw: yea. we have a _global/js that i have a directives, services, and filters folder
[06:00:41] <sacho> alexw, directives would go into any of the components
[06:00:46] *** Greed` has joined #angularjs
[06:00:52] <themime> i don't recommend having /js though, its kinda silly imo
[06:01:01] <sacho> if they're not related to the components, I think johnpapa has a "common" or "core" or whatever folder
[06:01:02] <alexw> themime how do you keep it dry though?
[06:01:09] <hiThere> I am designer of interfaces, if I make a new layout, I would be contributing to the community?
[06:01:27] <robdubya> put it under your umbrella
[06:01:30] <alexw> themime what if the directives are used by multiple?
[06:01:32] *** tbo_ has joined #angularjs
[06:01:36] *** wd40s has joined #angularjs
[06:01:40] <themime> alexw: dry?
[06:01:49] <alexw> don't repeart your self
[06:01:51] <snurfery> "don't repeat yourself"
[06:01:57] *** loverajoel has quit IRC
[06:02:27] <themime> in what sense am i repeating myself?
[06:02:30] <sacho> alexw, you don't have to guess though - john papa wrote a guide :p
[06:02:31] <sacho> https://github.com/johnpapa/angularjs-styleguide#application-structure-lift-principle
[06:02:51] <snurfery> bah I'm stalling, I should get back to work
[06:02:58] <snurfery> damn you interesting chat topics!
[06:03:06] * snurfery shakes fist at nothing in particular
[06:03:08] *** mennea has quit IRC
[06:03:41] *** ccohn has quit IRC
[06:03:41] *** robdubya has quit IRC
[06:03:47] *** mennea has joined #angularjs
[06:03:48] *** DrMabuse has joined #angularjs
[06:03:48] <dnull> So We can not run angualrjs application on node>
[06:03:50] <dnull> ?
[06:03:53] *** Greed has quit IRC
[06:03:58] <sacho> not really no
[06:04:04] <themime> dnull: i dunno maybe but it just seems really wrong
[06:04:08] <hiThere> snurfery: I am designer of interfaces, if I make a new layout, I would be contributing to the community?
[06:04:28] <themime> hiThere: how do you mean?
[06:04:35] <dnull> themime So how will you go about running one page controller with cron jobe
[06:04:40] *** robdubya has joined #angularjs
[06:04:44] <dnull> *job
[06:04:54] <themime> dnull: can you explain your intent
[06:05:23] <hiThere> themime: remake the official website of the angular
[06:05:46] *** lianimator has joined #angularjs
[06:06:06] <themime> hiThere: why? are you asking would people use the layout you create? probably not
[06:06:43] <dnull> hemime I have a json data coming from server that I need to pull and post on firebase server, Now firebase only supports js, so I have jcreated js file with some angualr.forEach function that I want to host on my node server. but getting no output
[06:06:43] <robdubya> its pretty much all generated by ng-docs anyway i think
[06:06:48] <themime> but i don't know you or your skills - i just know your asking vague questions on an irc channel, and typically when people ask vague questions on an irc questions their skills are still developing in some area, either communication or otherwise
[06:06:49] *** wd40s has quit IRC
[06:06:56] <themime> that was to hiThere not dnull
[06:07:34] <themime> dnull: so the cron job does what? can you link your controller again
[06:07:48] <robdubya> dnull why not just talk directly to firebase from node
[06:07:49] *** tbo_ has quit IRC
[06:07:55] *** lianimator1 has quit IRC
[06:08:05] *** icchan has joined #angularjs
[06:08:12] *** enaqx has quit IRC
[06:08:15] *** the|-|ack has quit IRC
[06:08:20] <themime> it doesn't seem like a controller should be doing any of that anyway
[06:08:27] *** DrMabuse has quit IRC
[06:08:30] <dnull> robdubya Thats a possible fix i guess
[06:08:49] <dnull> robdubya So I could create a simple js file and host on node?
[06:08:54] <dnull> and it would work fine?
[06:09:02] <robdubya> uhhh node is JS
[06:09:25] <themime> and you can use sockets and all kinds of other typical server stuff
[06:09:34] <themime> ugggg ive been putting off node for so long
[06:09:39] <themime> i used java for last project
[06:09:41] <hiThere> themime: because today is the official site with the standard design of the bootstrap
[06:09:47] *** sinequanon has joined #angularjs
[06:09:53] <themime> hiThere: that sentence did not make sense to me
[06:10:44] *** icchan has quit IRC
[06:10:50] <hiThere> ok
[06:11:24] <hiThere> themime: I do not write well in english
[06:11:41] <themime> alexw: i see what you mean about the "dry" thing, with a directives folder, i thought i was doing it by feature but i guess i need a little more research
[06:11:50] <themime> im reading that johnpapa article
[06:11:55] *** shpoont has joined #angularjs
[06:12:01] *** Lingo has joined #angularjs
[06:12:02] <alexw> themime yeah the issue is you may want to reuse those directives
[06:12:06] <alexw> john papa puts it all into a widgets
[06:12:53] *** mandric has joined #angularjs
[06:13:14] <themime> i guess i don't understand how a global directives is repeative
[06:13:55] <themime> i just experimented with boilerplates until i found something, i tried findingarticles like this when i started but i couldn't find much beyond a really detailed boiletplate, this is an awesome read
[06:14:01] <robdubya> hiThere short answer - no - your time would be better spent fixing something that's broken
[06:14:23] *** Mark__ has joined #angularjs
[06:14:37] <s3shs> Everybody pay attention. This freakin’ setup has been killing apps since the beginning of time. Dates 1..31, months 0..11. http://www.w3schools.com/jsref/jsref_obj_date.asp
[06:14:55] <s3shs> Remember, days start at 1, but months start at 0.
[06:15:21] <themime> alexw: what happens when that components folder gets 7+ files, including filters and the like? what would he name those subfolders?
[06:16:03] <sacho> themime, well, you would split it into subcomponents.
[06:16:35] *** levity_island has joined #angularjs
[06:16:38] *** shpoont has quit IRC
[06:17:09] *** ProLoser has joined #angularjs
[06:17:16] <hiThere> robdubya: I can help
[06:17:50] *** travm has quit IRC
[06:18:03] *** firelink_ has joined #angularjs
[06:18:08] *** thirdknife has joined #angularjs
[06:18:30] *** shampine has quit IRC
[06:19:11] *** travm has joined #angularjs
[06:19:16] *** Lingo has quit IRC
[06:20:06] *** nemothekid has quit IRC
[06:20:25] *** firelinks has quit IRC
[06:20:28] *** Mark__ has quit IRC
[06:21:36] *** ProLoser has quit IRC
[06:22:03] *** mdedetrich has quit IRC
[06:23:33] <chovy> ui-router isn't giving me the correct href attribute
[06:23:43] *** hiThere has quit IRC
[06:23:45] <chovy> i get href="/foo" and cmd-click breaks that
[06:23:47] <chovy> in browser
[06:24:05] <chovy> what is proper url attribute in config?
[06:24:18] *** mdedetrich has joined #angularjs
[06:24:20] *** Eiam has quit IRC
[06:24:32] *** Sawbones has joined #angularjs
[06:24:34] *** johannes_ has quit IRC
[06:24:38] <themime> what is cmd-click?
[06:24:52] <themime> and generally with ui-router you use the state rather than the url
[06:25:06] <themime> ui-sref can be used on <a> tags for such a thing ie ui-sref="app.about"
[06:25:12] *** travm has quit IRC
[06:25:29] *** hiThere has joined #angularjs
[06:25:30] *** johannes_ has joined #angularjs
[06:25:53] *** Zeioth has quit IRC
[06:25:57] <themime> or $state.go('app.about') if youre in js
[06:26:48] *** hippobottamus has joined #angularjs
[06:27:11] <sacho> I guess cmd-click is when you open a link in a new window/tab.
[06:27:55] *** iDeveloper has quit IRC
[06:28:21] <chovy> sacho yes
[06:30:47] *** Reskp has joined #angularjs
[06:32:39] *** Jdubs has quit IRC
[06:33:37] *** hiThere has quit IRC
[06:34:41] *** junmin has joined #angularjs
[06:34:53] *** aminRX has joined #angularjs
[06:35:16] *** hello has quit IRC
[06:35:20] *** Reskp has quit IRC
[06:35:21] *** nickk_ has joined #angularjs
[06:36:13] *** MistahKurtz has quit IRC
[06:36:50] *** davi has quit IRC
[06:37:02] *** bullingto has joined #angularjs
[06:38:08] *** Jdubs has joined #angularjs
[06:39:59] *** TheAceOfHearts has quit IRC
[06:41:23] <nickk_> hai anybody there?
[06:42:37] *** Una has joined #angularjs
[06:43:06] *** cinch has joined #angularjs
[06:43:34] *** jstroem has joined #angularjs
[06:44:58] *** doug64k has joined #angularjs
[06:46:28] *** Greed` is now known as Greed
[06:46:43] <themime> nickk_: generally best to just ask your question
[06:47:16] <themime> did firebase change their pricing? the free version looks more liberal than it did when i started angular a few months ago...
[06:47:27] *** ccohn has joined #angularjs
[06:47:40] *** Jdubs has quit IRC
[06:47:52] *** aminRX_ has joined #angularjs
[06:48:03] *** jstroem has quit IRC
[06:48:22] *** aminRX has quit IRC
[06:48:56] *** mdedetrich has quit IRC
[06:49:06] *** trustyhank has quit IRC
[06:52:08] *** ccohn has quit IRC
[06:53:03] *** narutimateum has joined #angularjs
[06:53:08] *** opiates has joined #angularjs
[06:53:22] <narutimateum> how do i watch an array if its added or deleted ?
[06:53:42] *** rburns has quit IRC
[06:53:57] *** rburns has joined #angularjs
[06:54:13] *** mdedetrich has joined #angularjs
[06:55:34] *** deanclkclk has quit IRC
[06:55:37] *** deanclkclk_ has joined #angularjs
[06:55:41] *** instence_ has joined #angularjs
[06:55:46] *** caitp has joined #angularjs
[06:56:06] *** instence has quit IRC
[06:57:13] *** glosoli has joined #angularjs
[06:59:10] *** NormySan has joined #angularjs
[07:00:01] *** TheAceOfHearts has joined #angularjs
[07:00:49] *** ccohn has joined #angularjs
[07:02:21] *** wd40s has joined #angularjs
[07:02:24] *** robdubya has quit IRC
[07:03:27] *** jrist has joined #angularjs
[07:03:36] *** tkimmel has joined #angularjs
[07:04:07] *** tbo_ has joined #angularjs
[07:05:09] *** ccohn has quit IRC
[07:06:49] *** RangerRick has quit IRC
[07:07:05] *** aminRX_ has quit IRC
[07:07:46] *** platonic has joined #angularjs
[07:07:56] *** Nizumzen has quit IRC
[07:08:05] *** wd40s has quit IRC
[07:08:09] *** tkimmel has quit IRC
[07:08:23] *** tbo_ has quit IRC
[07:08:37] *** mandric has quit IRC
[07:09:49] *** narutimateum has quit IRC
[07:09:52] *** Sawbones has quit IRC
[07:10:01] *** jaydubya has joined #angularjs
[07:10:15] *** RangerRick has joined #angularjs
[07:10:45] <nezt> I have nested ng-repeats and for some reason when I pass $index to a filter within the inner loop it is passing the counter of the outer loop
[07:11:54] *** narutimateum has joined #angularjs
[07:12:26] *** howzus has joined #angularjs
[07:12:42] *** neoadventist has joined #angularjs
[07:13:26] *** anivemin has joined #angularjs
[07:15:29] *** Sontakey has joined #angularjs
[07:15:49] *** jaydubya has quit IRC
[07:16:29] *** TommyO has quit IRC
[07:17:36] *** narutimateum has quit IRC
[07:17:54] *** mtsr has joined #angularjs
[07:18:05] *** anivemin has quit IRC
[07:19:10] *** MrBaboon has quit IRC
[07:19:25] <Logicgate> netz, you can implicitly declare it with ng-init="sectionIndex = $index"
[07:20:34] *** lexek__ has joined #angularjs
[07:21:17] <nezt> logicgate: will try that thanks!!!
[07:21:48] *** pillage has quit IRC
[07:22:14] <nezt> logicgate: so weird, the value of $index is still the counter for the outer loop
[07:22:18] *** Nizumzen has joined #angularjs
[07:22:59] *** patric100e99 has joined #angularjs
[07:23:01] *** howzus has quit IRC
[07:23:17] *** dsdeiz_ has left #angularjs
[07:24:00] *** lianimator1 has joined #angularjs
[07:24:15] *** MistahKurtz has joined #angularjs
[07:24:30] *** Leon has joined #angularjs
[07:24:36] *** NormySan has quit IRC
[07:25:00] *** jjasonclark has joined #angularjs
[07:25:06] *** lianimator2 has joined #angularjs
[07:26:39] <sacho> did you use sectionIndex?
[07:26:55] *** dsdeiz has joined #angularjs
[07:27:05] *** lianimator has quit IRC
[07:27:53] *** patric100e99 has quit IRC
[07:28:20] *** lianimator1 has quit IRC
[07:28:45] *** gordroidJS has quit IRC
[07:29:58] *** Una has quit IRC
[07:30:05] *** mdedetrich has quit IRC
[07:30:33] *** Reskp has joined #angularjs
[07:30:44] *** mdedetrich has joined #angularjs
[07:31:14] *** opiates has quit IRC
[07:32:22] *** matthoiland has joined #angularjs
[07:33:10] *** e0ipso|away is now known as e0ipso
[07:33:14] *** zz_night-owl is now known as night-owl
[07:33:15] <nezt> sacho: so here's the problem i have something like this <li ng-repeat="object1 in cards | checkmark:$index:object"> as the inner loop, and it passes $index as the value of the outer loop. if I move {{$index}} __inside__ the li, it reports the correct value.. however my intent is to pass the value to the filter
[07:34:16] *** lite_ has joined #angularjs
[07:34:31] *** DrMabuse has joined #angularjs
[07:34:50] *** Reskp has quit IRC
[07:36:57] *** matthoiland has quit IRC
[07:37:48] *** night-owl is now known as zz_night-owl
[07:38:17] *** gurke_ has joined #angularjs
[07:38:19] *** Aerospark has joined #angularjs
[07:38:38] *** TommyO has joined #angularjs
[07:39:08] <nezt> because the value of $index is used on the same line as the inner loop declaration it reports the outer loops $index
[07:39:21] *** DrMabuse has quit IRC
[07:39:46] *** VeeWee has joined #angularjs
[07:41:00] <gurke_> good morning :)
[07:42:02] *** nya has quit IRC
[07:42:20] *** TheAceOfHearts has quit IRC
[07:42:46] *** TheAceOfHearts has joined #angularjs
[07:42:52] *** nya has joined #angularjs
[07:43:17] *** Aerospark has quit IRC
[07:43:17] *** nya has joined #angularjs
[07:43:37] *** jjasonclark has quit IRC
[07:44:22] *** jstroem has joined #angularjs
[07:44:23] *** mtsr has quit IRC
[07:46:14] *** narutimateum has joined #angularjs
[07:46:30] *** mdedetrich has quit IRC
[07:46:54] <narutimateum> knockout js have this computed property whats the equivalent for angular?..
[07:47:47] *** alexw has quit IRC
[07:48:10] <lite_> narutimateum: what constitutes a computed property?
[07:48:24] *** c00ljs has joined #angularjs
[07:49:05] <narutimateum> i got A n B C .. C is A+B whenever A or B changes C computes the A + B
[07:49:05] *** jstroem has quit IRC
[07:49:24] *** Ch4rAss has joined #angularjs
[07:49:37] *** mdedetrich has joined #angularjs
[07:49:58] <lite_> so uhm... {{A+ B }} ?
[07:50:12] *** Sawbones has joined #angularjs
[07:50:31] *** loverajoel has joined #angularjs
[07:52:05] *** Shai-Tan has quit IRC
[07:52:16] <narutimateum> is there better way to structure this ? http://i.imgur.com/INhYJPO.png
[07:52:36] *** MistahKurtz has quit IRC
[07:52:55] *** c00ljs has quit IRC
[07:53:58] *** jmverges has joined #angularjs
[07:54:03] <lite_> yes
[07:54:10] <lite_> that right thee is entirely impossible to read
[07:54:41] *** rburns has quit IRC
[07:54:41] <narutimateum> any good example? lite
[07:54:59] *** tarnus has quit IRC
[07:55:08] *** rburns has joined #angularjs
[07:55:21] *** ProLoser has joined #angularjs
[07:55:24] *** DrJae has joined #angularjs
[07:55:35] *** loverajoel has quit IRC
[07:55:42] *** Sawbones has quit IRC
[07:56:10] *** jae has quit IRC
[07:56:12] *** poolside has quit IRC
[07:56:19] *** RangerRick has quit IRC
[07:56:45] *** ahmetkapikiran has quit IRC
[07:56:51] *** dmizzle_ has joined #angularjs
[07:56:57] *** asher^ has quit IRC
[07:57:34] <nezt> hello everyone, i'm using nested ng-repeats with a custom filter. the custom filter is called on the declaration of the inner ng-repeat, and i pass $index as one of the parameters. for some reason, it always passes the $index of the parent(outer loop)
[07:57:42] *** dmizzle_ has left #angularjs
[07:58:02] *** asher^ has joined #angularjs
[07:58:03] *** mdedetrich has quit IRC
[07:58:15] *** ggrzybek has joined #angularjs
[07:58:43] *** mdedetrich has joined #angularjs
[07:58:54] *** Nizumzen has quit IRC
[08:00:35] *** shpoont has joined #angularjs
[08:00:41] *** hswolff has quit IRC
[08:01:03] *** jae has joined #angularjs
[08:01:26] *** ccohn has joined #angularjs
[08:01:48] *** hswolff has joined #angularjs
[08:02:12] *** narutimateum2 has joined #angularjs
[08:02:42] *** DrJae has quit IRC
[08:02:58] *** slopjong has joined #angularjs
[08:03:31] *** wd40s has joined #angularjs
[08:04:17] *** neoadventist has quit IRC
[08:04:48] *** narutimateum2 has quit IRC
[08:05:10] *** shpoont has quit IRC
[08:05:49] *** ccohn has quit IRC
[08:06:00] *** narutimateum has quit IRC
[08:06:43] *** lolmaus has joined #angularjs
[08:07:03] <lolmaus> Is there a standard way to work with page layout templates?
[08:07:21] <lolmaus> E. g. i would like most of my pages to share the same skeleton.
[08:07:33] *** Pyr0byte has quit IRC
[08:08:31] *** wd40s has quit IRC
[08:08:37] <lolmaus> I mean menu and sidebar, not head and body.
[08:09:02] *** Mark__ has joined #angularjs
[08:11:04] *** TyrfingMjolnir has joined #angularjs
[08:11:10] *** Mark__ has quit IRC
[08:11:50] *** TyrfingMjolnir has quit IRC
[08:13:25] *** TyrfingMjolnir has joined #angularjs
[08:13:37] *** Aliks has quit IRC
[08:14:31] *** mennea has quit IRC
[08:14:43] *** mdedetri_ has joined #angularjs
[08:14:49] *** mdedetrich has quit IRC
[08:15:21] *** mennea has joined #angularjs
[08:17:11] <dgee> ui-router is great for that
[08:17:28] *** soee has joined #angularjs
[08:17:48] *** IvailoStoianov has joined #angularjs
[08:18:11] *** sandelius has joined #angularjs
[08:18:29] *** dgee has quit IRC
[08:20:05] *** mdedetri_ has quit IRC
[08:21:28] <sacho> lolmaus, angular was written with a single page in mind
[08:21:36] *** mdedetrich has joined #angularjs
[08:21:45] <sacho> so uh, what do you mean, precisely?
[08:22:22] *** shaisnir has quit IRC
[08:22:50] <soee> good morning
[08:23:04] *** Mark__ has joined #angularjs
[08:23:08] *** RangerRick has joined #angularjs
[08:23:35] *** hilefoks has joined #angularjs
[08:23:38] <lolmaus> sacho: all pages in my application share the same header, sidebar, footer and main area. Rails and EmberJS have the concept of layouts. A layout is a template containing header, sidebar, footer and an empty main area to render the page in.
[08:24:06] <lolmaus> sacho: in Angular i end up with duplicated layout code for every page. How do i DRY my layout?
[08:24:10] <sacho> sure, but angular doesn't have a concept of pages. :)
[08:24:14] *** robksawyer has quit IRC
[08:24:38] <lolmaus> sacho: you can call them differently but the problem remains.
[08:24:41] *** junmin has quit IRC
[08:24:49] <sacho> call what differently?
[08:25:06] *** aminRX has joined #angularjs
[08:25:35] <lolmaus> sacho: i visit different URLs in my Angular app and i see different pages sharing the same layout.
[08:25:41] *** junmin has joined #angularjs
[08:25:42] <sacho> are you using routing?
[08:25:54] <sandelius> lolmaus take a look at ui-router
[08:26:11] <lolmaus> sandelius: thx
[08:26:16] <lolmaus> sacho: yep, `$stateProvider.state` stuff.
[08:26:18] <sandelius> lolmaus https://github.com/angular-ui/ui-router
[08:26:18] *** dnull has quit IRC
[08:27:00] *** mtsr has joined #angularjs
[08:27:26] *** TyrfingMjolnir has quit IRC
[08:27:44] *** HelperW has joined #angularjs
[08:28:13] *** TyrfingMjolnir has joined #angularjs
[08:29:05] *** Mark__ has quit IRC
[08:29:30] *** zzing has joined #angularjs
[08:29:40] *** deanclkclk_ has quit IRC
[08:30:42] *** IJNX has joined #angularjs
[08:30:58] *** tbo_ has joined #angularjs
[08:31:04] *** mdedetrich has quit IRC
[08:31:10] *** amedia has joined #angularjs
[08:31:29] *** mennea_ has joined #angularjs
[08:31:30] *** mennea has quit IRC
[08:31:34] *** blomman has joined #angularjs
[08:34:02] *** bullingto has quit IRC
[08:34:05] <IJNX> How would you implement angular overlay gallery-browser dialog on top of normal application routing. I want it to use back button also.
[08:36:28] *** ccohn has joined #angularjs
[08:36:50] *** shpoont has joined #angularjs
[08:37:01] *** torok has joined #angularjs
[08:38:49] *** mdedetrich has joined #angularjs
[08:39:10] *** tech2 has joined #angularjs
[08:39:23] *** nfroidure has joined #angularjs
[08:40:43] <IJNX> ok, maybe I need to dive into html history api.
[08:41:00] *** ccohn has quit IRC
[08:41:08] *** tbo_ has quit IRC
[08:41:37] *** zzing has quit IRC
[08:41:42] *** tbo_ has joined #angularjs
[08:42:21] *** klaut has joined #angularjs
[08:43:32] *** kp666 has joined #angularjs
[08:43:46] *** sinequanon has quit IRC
[08:44:13] *** anivemin has joined #angularjs
[08:44:32] *** Sawbones has joined #angularjs
[08:45:01] *** mdedetri_ has joined #angularjs
[08:45:42] *** morganiq has quit IRC
[08:46:26] *** mdedetrich has quit IRC
[08:47:29] *** dannyc has joined #angularjs
[08:48:05] *** foofoobar has joined #angularjs
[08:48:26] *** dannyc has quit IRC
[08:48:49] *** anivemin has quit IRC
[08:49:25] *** Sawbones has quit IRC
[08:50:08] *** tbo_ has quit IRC
[08:50:25] *** MrBaboon has joined #angularjs
[08:50:50] *** thomastuts has joined #angularjs
[08:51:55] *** SpearThruster has joined #angularjs
[08:52:17] *** trustyhank has joined #angularjs
[08:52:18] *** ludkiller is now known as lud
[08:52:27] *** swirlycheetah has joined #angularjs
[08:52:28] *** tkimmel has joined #angularjs
[08:53:08] *** trustyhank has quit IRC
[08:53:09] *** Ilgrim has joined #angularjs
[08:53:24] *** shpoont has quit IRC
[08:54:16] *** shpoont has joined #angularjs
[08:54:32] *** jstroem has joined #angularjs
[08:55:15] *** jagga has joined #angularjs
[08:55:23] *** MrBaboon has quit IRC
[08:55:24] *** rburns has quit IRC
[08:55:36] <lolmaus> sandelius: i'm looking at this section of ui-router readme https://github.com/angular-ui/ui-router#nested-states--views and i can't figure out how specifically a state denotes which other state to use as a layout.
[08:55:59] *** swirlycheetah has quit IRC
[08:56:13] <lolmaus> sandelius: is it encoded in state's name? E. g. a state 'state1.list' will automatically use state 'state1' for layout?
[08:56:14] *** rburns has joined #angularjs
[08:56:17] *** _tpavel has joined #angularjs
[08:56:19] *** bealtine has joined #angularjs
[08:56:55] *** tkimmel has quit IRC
[08:57:06] *** DrMabuse has joined #angularjs
[08:57:13] *** Artagan has joined #angularjs
[08:57:39] *** mdedetri_ has quit IRC
[08:58:24] *** Trow has joined #angularjs
[08:58:47] *** Sontakey has quit IRC
[08:58:51] *** jaydubya has joined #angularjs
[08:59:23] *** laurensclaessen has joined #angularjs
[08:59:31] *** morganiq has joined #angularjs
[08:59:32] <sandelius> lolmaus it will only update the <ui-view> part
[08:59:33] *** joleal has joined #angularjs
[09:00:00] <sandelius> so you start with a root state called e.g app that contains your layout and then nest everything under that
[09:00:32] <lolmaus> sandelius: yeah, that's what i want. My question is how do i specify that state 'foo' should use state 'bar' as layout?
[09:01:01] <sandelius> then you nest foo under bar: foo.bar
[09:01:05] *** mennea_ has quit IRC
[09:01:18] <sandelius> or the other way around :)
[09:01:30] <lolmaus> sandelius: does this only concerns foo's name?
[09:01:39] <lolmaus> *rn
[09:01:39] <reuf> hello - http://plnkr.co/edit/0S9MhyP7cefup3rBRVFm?p=preview - i have a select with ng-otpions - but when i iterate for key value pairs neither of these approaches inserts value, only the name - what am i doing wrong?
[09:01:43] *** mennea has joined #angularjs
[09:01:48] *** shpoont_ has joined #angularjs
[09:01:53] <reuf> i followed this: http://stackoverflow.com/questions/21734524/key-value-pairs-in-ng-options ad this: http://stackoverflow.com/questions/12139152/how-to-set-value-property-in-angularjs-ng-options
[09:01:54] *** platonic has quit IRC
[09:02:16] *** shpoont has quit IRC
[09:02:29] *** platonic has joined #angularjs
[09:02:34] <sandelius> you can have different root states that holds its own layout and then you nest routes under that state. Then all nested routes will use the parent layout
[09:03:58] *** Ajans has quit IRC
[09:04:18] *** thomastuts has quit IRC
[09:04:27] *** jaydubya has quit IRC
[09:04:50] *** Click66 has joined #angularjs
[09:04:54] *** Schtive has joined #angularjs
[09:05:41] *** morganiq has quit IRC
[09:06:23] <reuf> i followed this: http://stackoverflow.com/questions/21734524/key-value-pairs-in-ng-options ad this: http://stackoverflow.com/questions/12139152/how-to-set-value-property-in-angularjs-ng-options
[09:06:29] <reuf> http://plnkr.co/edit/0S9MhyP7cefup3rBRVFm?p=preview - i have a select with ng-otpions - but when i iterate for key value pairs neither of these approaches inserts value, only the name - what am i doing wrong?
[09:07:06] *** platonic has quit IRC
[09:07:07] *** _dizzy has joined #angularjs
[09:07:37] *** thomastuts has joined #angularjs
[09:08:04] *** grantfunke_ has quit IRC
[09:08:55] *** thomastuts has quit IRC
[09:08:57] *** shpoont__ has joined #angularjs
[09:09:53] *** edzez_ has joined #angularjs
[09:10:14] *** _tpavel has quit IRC
[09:10:17] *** kuniyori has quit IRC
[09:11:13] *** shpoont_ has quit IRC
[09:11:21] *** moritzs has joined #angularjs
[09:11:48] *** ki0 has joined #angularjs
[09:12:01] *** thomastuts has joined #angularjs
[09:12:18] *** TheAceOfHearts has quit IRC
[09:12:39] *** thirdknife has quit IRC
[09:12:41] <lolmaus> sandelius: when i rename my state from 'foo' to 'bar.foo', it stops rendering. :( Can't figure out why.
[09:12:52] *** edzez has quit IRC
[09:13:07] <sandelius> lolmaus show me some code. Gist me
[09:14:09] *** yelvert has joined #angularjs
[09:14:22] <Grokling> reuf: I'll take a look for you - I was working through that with someone else earlier today.
[09:14:43] *** moritzs has quit IRC
[09:15:03] <lolmaus> sandelius: https://gist.github.com/lolmaus/f103b87093626d220a04
[09:15:40] *** thomastuts has quit IRC
[09:15:58] <lolmaus> sandelius: the `mainLayout` state renders fine at `/blah`. The `feed` state renders fine at `/feed` (without layout). When i rename `feed` to `mainLayout.feed`, nothing renders at `/feed`.
[09:16:00] <sandelius> lolmaus do you have ui-view inside layouts/mainLayout.html ?
[09:16:04] *** thomastuts has joined #angularjs
[09:16:27] *** jae is now known as JAE
[09:16:52] *** laurensclaessen has quit IRC
[09:17:02] <lolmaus> sandelius: yes sir. I've updated the gist.
[09:17:03] *** DrMabuse has quit IRC
[09:17:16] *** laurensclaessen has joined #angularjs
[09:17:19] <sandelius> lolmaus ui-view=""
[09:18:04] <Grokling> reuf: Are you still lurking somewhere?
[09:18:12] <lolmaus> sandelius: this doesn't make a difference.
[09:18:18] *** nuizzy has joined #angularjs
[09:18:22] *** Ajans has joined #angularjs
[09:18:41] <sandelius> lolmaus does the console say anyting?
[09:18:47] *** yelvert_ has joined #angularjs
[09:18:50] *** tech2 has quit IRC
[09:18:51] *** JAE is now known as Jae
[09:18:52] *** chanced_ has quit IRC
[09:18:53] <lolmaus> sandelius: nope!
[09:18:59] *** yelvert has quit IRC
[09:19:12] <Grokling> lolmaus: never mind gist.. make a plunker..
[09:19:40] *** t_p has joined #angularjs
[09:20:51] *** asher^ has quit IRC
[09:20:52] *** jaznow has joined #angularjs
[09:21:26] *** matthoiland has joined #angularjs
[09:22:40] *** MaxV has joined #angularjs
[09:22:43] *** _tpavel has joined #angularjs
[09:23:03] *** falk_netstyler has joined #angularjs
[09:23:48] *** JLF- has joined #angularjs
[09:24:17] *** patric100e99 has joined #angularjs
[09:25:34] <JLF-> is there an "angular" way of getting a value for display from an array with a key
[09:26:03] <JLF-> like if I have an array with codes and displayValues, a piece of data with the code and I want to display the displayValue
[09:26:10] *** matthoiland has quit IRC
[09:26:34] *** phzon has joined #angularjs
[09:26:35] *** rburns has quit IRC
[09:26:51] *** rburns has joined #angularjs
[09:27:23] *** Sjimi has joined #angularjs
[09:27:25] *** SpearThruster has quit IRC
[09:27:29] <Grokling> JLF-: If you do it in the view, your find function is going to be run a lot.
[09:27:36] *** jMyles has quit IRC
[09:28:08] *** thirdknife has joined #angularjs
[09:28:08] <JLF-> You're right, but at this point I have no option of getting the display value straight from the backend
[09:28:29] <Grokling> If you can do it in the controller, that would be better than the view.
[09:28:53] *** patric100e99 has quit IRC
[09:29:24] *** aminRX has quit IRC
[09:29:41] <lolmaus> sandelius: Grokling: here it is but i'm unable to start it, can you please tell me what i've missed? http://plnkr.co/edit/dYmuIwtbydivA2EVwaRI?p=preview
[09:29:41] <JLF-> that's what I'm doing right now
[09:29:58] <JLF-> but I was wondering if there's anything similar to the ng-options syntax
[09:30:05] *** Juanchito has joined #angularjs
[09:30:40] <Grokling> JLF- Two options really - use an array.find function (potentially a filter), or create your own map object from the array.
[09:30:54] <Grokling> lolmaus: I'll have a look now.
[09:31:07] *** mennea has quit IRC
[09:31:09] *** guilbep has joined #angularjs
[09:31:27] *** ZucchiniZe has quit IRC
[09:31:39] <Grokling> lolmaus: so obvious, you'd never see it! <html ng-app='myapp'>
[09:31:39] *** mandric has joined #angularjs
[09:31:45] *** mennea has joined #angularjs
[09:32:28] <lolmaus> Grokling: thx. Now it works on Plunkr but it won't work in my app, which is a much heavier set up...
[09:32:35] *** neoadventist has joined #angularjs
[09:32:43] *** sigurding has joined #angularjs
[09:33:40] *** thomastuts has quit IRC
[09:34:28] *** sandelius has quit IRC
[09:34:29] *** Ilgrim has quit IRC
[09:35:22] *** Ilgrim has joined #angularjs
[09:35:25] *** moritzs has joined #angularjs
[09:35:33] *** niklasmodess has joined #angularjs
[09:35:42] *** nya has quit IRC
[09:35:48] <lolmaus> Grokling: i've opened the iframe in a new tab and noticed that the URL of the stage should be `/bar/foo`, not `/foo` as described in $stateController.
[09:35:48] *** yelvert_ has quit IRC
[09:36:07] *** mandric has quit IRC
[09:36:23] *** yelvert has joined #angularjs
[09:37:04] *** ccohn has joined #angularjs
[09:37:09] *** thomastuts has joined #angularjs
[09:38:09] *** mandric has joined #angularjs
[09:38:42] *** JohnFree has joined #angularjs
[09:38:51] *** Sawbones has joined #angularjs
[09:38:56] <soee> does angular offer some functions to search for an element inside container that uses some directive ?
[09:38:56] <lolmaus> Grokling: now my problem is that on that /bar/foo page it tries to load components as http://localhost:3000/bar/components/ng-facebook/ngFacebook.js which is a malformed url, should be http://localhost:3000/components/ng-facebook/ngFacebook.js
[09:38:57] <JohnFree> Hi guys. I want to define a Factory within Module-1 and use it within Module-2. How can I do that?
[09:39:13] <soee> so directive should search some element and modify it or append other elements
[09:39:21] *** neoadventist has quit IRC
[09:39:30] <Grokling> JohnFree: inject module-1 into module-2
[09:39:51] *** sikor_sxe has joined #angularjs
[09:39:56] *** Aerospark has joined #angularjs
[09:40:21] <JohnFree> Grokling: I already did that
[09:40:23] *** Schtive has quit IRC
[09:40:54] <soee> than just use the directive name
[09:41:02] <Grokling> JohnFree: you should be able to just use it then.. There's only one namespace, so use it in Module-2 exactly the same as you would in Module-1
[09:41:09] *** yelvert has quit IRC
[09:41:18] <JohnFree> Grokling: hmmm..
[09:41:28] *** sandelius has joined #angularjs
[09:41:34] *** shaisnir has joined #angularjs
[09:41:46] *** ccohn has quit IRC
[09:42:16] *** anivemin has joined #angularjs
[09:42:49] *** dddddddddddddddd has joined #angularjs
[09:42:49] *** fbenoit has joined #angularjs
[09:43:01] <dddddddddddddddd> xxx
[09:43:03] <dddddddddddddddd> fbfb
[09:43:07] *** dddddddddddddddd has quit IRC
[09:43:11] *** pillage has joined #angularjs
[09:43:26] *** muffinman has joined #angularjs
[09:43:31] *** one0one has quit IRC
[09:43:53] *** Sawbones has quit IRC
[09:44:01] <lolmaus> Grokling: i don't like that to load a layout template for a state i have to include that layout's name into the URL (e. g. /mainLayout/feed). Is there a way to avoid that?
[09:44:02] *** tarnus has joined #angularjs
[09:44:29] <JohnFree> Grokling: I get weird error with "Error: [$injector:modulerr] http://errors.angularjs.org/1.2.26/$in.."
[09:44:31] *** Aerospark has quit IRC
[09:44:34] <sandelius> lolmaus you can make the state abstract
[09:44:47] *** Dmitriy_ has joined #angularjs
[09:44:48] <lolmaus> sandelius: can you please hint me how to do that?
[09:45:12] <Grokling> sandelius missed the link you your plunker lolmaus - send that link again.
[09:45:25] <Grokling> *s you:to
[09:45:28] <sandelius> instead of using url: in mainLayout state you use abstract: true
[09:45:42] *** thirdknife has quit IRC
[09:45:49] *** jmls has joined #angularjs
[09:45:54] <sandelius> no I see it
[09:45:55] <jmls> morning all
[09:46:26] *** mrpj has quit IRC
[09:46:40] *** mandric has quit IRC
[09:46:41] *** MuffinMan` has quit IRC
[09:46:58] <jmls> looking for a slider to allow a user to choose a time period in 10s chunks. Anyone know of one ? I've seen several sliders but can't seem to make them show seconds
[09:47:03] *** koell has quit IRC
[09:47:13] <lolmaus> sandelius: that's awesome, thank you!
[09:47:31] <sandelius> lolmaus does it work for you now?
[09:48:08] <lolmaus> sandelius: yes! Thank you so much sandelius and Grokling.
[09:48:17] *** narutimateum has joined #angularjs
[09:48:20] <sandelius> lolmaus np
[09:48:25] *** c00ljs has joined #angularjs
[09:48:26] <Grokling> +1
[09:48:30] <narutimateum> is it safe to use angular for a full fledge system?
[09:48:40] *** tarnus has quit IRC
[09:48:43] *** koell has joined #angularjs
[09:48:49] *** Ilgrim has quit IRC
[09:48:53] <narutimateum> wont the user get to fiddle with the js'es?
[09:48:54] *** mrpj has joined #angularjs
[09:49:17] <sandelius> narutimateum what do you mean?
[09:49:18] <Grokling> narutimateum: minify/uglify. That'll make it really hard to fiddle with..
[09:49:33] <reuf> Grokling: im here
[09:49:45] <reuf> http://plnkr.co/edit/0S9MhyP7cefup3rBRVFm?p=preview - i have a select with ng-otpions - but when i iterate for key value pairs neither of these approaches inserts value, only the name - what am i doing wrong?
[09:49:49] <reuf> that was my problem
[09:49:49] <jaznow> Hi all, I'm having trouble with syntax highlighting Twig + AngularJS on my PHPSTORM, I believe is becouse I changed the default open/clouser tag from {{ to [[ , does anyone have the same problem?
[09:49:53] <narutimateum> how do you handle acl in angular?
[09:49:59] <Grokling> reuf: Your second version in that plunker seems to work fine?
[09:50:04] <sandelius> narutimateum Your API needs to be secue and thinked through
[09:50:05] *** Dmitriy_ has quit IRC
[09:50:18] *** m8 has joined #angularjs
[09:50:44] <Grokling> reuf: add {{countries2_}} somewhere in your html and see for yourself..
[09:51:44] <reuf> Grokling: but when i inspect the code
[09:51:51] <setec> i've checked angular 2.0 sources
[09:51:55] <reuf> in chomre browser - the value fields are are not populated
[09:52:04] *** tangorri has joined #angularjs
[09:52:05] <setec> and even if they say 'wait 1 year'
[09:52:11] <setec> it's actually usable even now
[09:52:11] *** wd40s has joined #angularjs
[09:52:22] <setec> because it's modular
[09:52:32] <setec> some core modules already done
[09:52:53] *** c00ljs has quit IRC
[09:52:55] <Grokling> reuf: That doesn't matter - this is angular remember. Just use the countries2_ model, and forget about value altogether.
[09:53:03] *** anivemin has quit IRC
[09:53:07] <setec> just a little problem - templating is a bit bugged
[09:53:09] *** shpoont__ has quit IRC
[09:53:29] *** ehartwell has joined #angularjs
[09:53:36] *** shpoont__ has joined #angularjs
[09:53:40] *** junmin has quit IRC
[09:53:42] <setec> and most interesting part - even if it's ES6, you can use it in old browsers with ES6 emulators
[09:53:58] *** Fire-Dragon-DoL has joined #angularjs
[09:54:12] *** e0ipso is now known as e0ipso|away
[09:54:16] *** RangerRick has quit IRC
[09:54:38] *** ehartwell has quit IRC
[09:55:07] *** ssawickik has quit IRC
[09:55:27] *** mguillech has joined #angularjs
[09:55:50] <lolmaus> sandelius: Grokling: d'oh! After a slight modification, the `/foo` URL now renders the `bar.html` template without foo content. No errors in console.
[09:56:21] <reuf> Grokling: thanks
[09:57:04] *** Fire-Dragon-DoL has quit IRC
[09:57:05] *** rburns has quit IRC
[09:57:14] *** rburns has joined #angularjs
[09:57:21] *** Fire-Dragon-DoL has joined #angularjs
[09:57:21] <lolmaus> sandelius: Grokling: when i rename the state from "bar.foo" to "foo", then it renders foo.html. When i rename the state to "bar.foo", it renders bar.html without foo content....
[09:57:26] *** wd40s has quit IRC
[09:57:58] <Grokling> lolmaus: are you working with the plunker still?
[09:58:53] <lolmaus> Grokling: ah! It must be that `ui-view="ui-view"` thingie! Reproducible on Plunkr. The value is injected by our HTML preprocessor.
[09:58:54] *** e0ipso|away is now known as e0ipso
[09:59:19] <m8> Hi, in angular there's a way to render an html in a string?
[09:59:26] <setec> can someone clarify me - what replaces Scope in angular 2 ?
[09:59:31] *** arkin has joined #angularjs
[09:59:49] *** mguillech has quit IRC
[10:00:06] <setec> m8> yes, but your question need more details to receive proper answer
[10:00:13] <lolmaus> Grokling: works now! Sorry for botering.
[10:00:13] *** StryKaizer has joined #angularjs
[10:00:29] <Grokling> lolmaus: glad you solved it for yourself..
[10:00:42] *** cannap has joined #angularjs
[10:00:54] <m8> setec, if you know django same as the render_to_string function
[10:00:59] <setec> im kinda puzzled by fact that Angular 2 does't use ES6 proxies to watch state changes...
[10:01:10] *** mennea has quit IRC
[10:01:13] <setec> its so natural and fast to use it
[10:01:17] <m8> setec, parse an "angular template" whit variables and save the result in a string for later use
[10:01:47] <setec> m8 oh i see, so you want $compiler
[10:01:49] *** mennea has joined #angularjs
[10:01:59] *** ogdabou has joined #angularjs
[10:02:19] *** nya has joined #angularjs
[10:02:36] *** platonic has joined #angularjs
[10:02:37] <m8> setec, good!
[10:03:08] <setec> it actually compiles template to a function
[10:03:20] <m8> setec, it's a good thing in angular?
[10:03:27] <m8> good way to do
[10:03:30] <setec> which when provided with model (say, scope) makes you a ready-to-display view
[10:03:35] *** sk87 has joined #angularjs
[10:04:09] <setec> have't used it in such way however, so cant give u practical example, sorry
[10:04:26] <m8> thanks anyway!
[10:04:44] *** fbenoit has quit IRC
[10:04:54] *** anivemin has joined #angularjs
[10:05:10] *** pillage_ has joined #angularjs
[10:05:22] *** fbenoit has joined #angularjs
[10:05:39] *** pillage has quit IRC
[10:05:40] *** Mark__ has joined #angularjs
[10:05:42] <JohnFree> Hey guys I'm having problems with using a factory. Can anyone help me please?
[10:05:54] <sandelius> is there any Angular core developer here?
[10:05:56] *** shaisnir has quit IRC
[10:06:07] <Grokling> JohnFree: Probably. Do you have a plunker?
[10:06:15] <JohnFree> Grokling: Yes. Wait a second please
[10:06:37] <sandelius> for how long will 1.3 be supported after 2.0 is released?
[10:06:49] *** Jae has quit IRC
[10:06:56] *** platonic has quit IRC
[10:06:56] <Grokling> sandelius: I heard 2-3 years.
[10:07:34] <sandelius> Grokling ohh then perhaps I donät need to be worried about creating a new application with 1.3
[10:08:40] <Grokling> sandelius: Even then, it's not going to magically disappear and stop working once the Google crew stops officially supporting it.
[10:08:44] *** shaisnir has joined #angularjs
[10:09:42] *** nuizzy has quit IRC
[10:10:19] *** Sebastien-L has joined #angularjs
[10:10:41] <JohnFree> how can I undo the freeze in plunkr?
[10:10:51] <JohnFree> Ah I see
[10:11:03] *** aminRX has joined #angularjs
[10:11:03] *** shaisnir_ has joined #angularjs
[10:11:20] *** shaisnir has quit IRC
[10:13:09] *** Shai-Tan has joined #angularjs
[10:13:12] *** marr has joined #angularjs
[10:13:54] *** emmesswhy has joined #angularjs
[10:14:11] *** dan2k3k4 has joined #angularjs
[10:14:18] *** levity_island has quit IRC
[10:14:34] *** dannyc has joined #angularjs
[10:16:23] *** jae has joined #angularjs
[10:16:50] *** foofoobar has quit IRC
[10:17:13] *** webguynow has quit IRC
[10:17:44] <JohnFree> Grokling: http://plnkr.co/edit/mLWp5yYXC1DkT9IIJJ6c?p=preview
[10:17:48] <setec> sandeling one year
[10:17:53] <setec> sandelius one year
[10:17:58] <JohnFree> Grokling: I really don't know why error happens
[10:18:23] <Grokling> Looking now.
[10:18:34] <setec> is there anyone who can explain why angular 2 does't use ES6 proxies to watch model changes, and still uses crude brute force polling?
[10:18:43] <JohnFree> Grokling: Thanks
[10:18:52] <sacho> what makes you think angular uses "crude brute force polling"?
[10:19:02] *** gunn has quit IRC
[10:19:08] <setec> well it's just check and compares
[10:19:30] <setec> while proxies enable immediate notification when something updated
[10:19:31] <sacho> where do you see that?
[10:19:41] <setec> in digest loop
[10:20:00] <sacho> where did you get angular 2.0 from?
[10:20:13] <setec> https://drive.google.com/?pli=1#folders/0B7Ovm8bUYiUDR29iSkEyMk5pVUk
[10:20:15] <Grokling> JohnFree: Your plunker seems to be missing a bunch of things - including your actual factory?
[10:20:35] *** juampy has joined #angularjs
[10:20:40] <setec> and github/angular
[10:20:59] <Grokling> JohnFree: The idea is to reproduce your issue in plunker so that others can fiddle with it and hopefully help you to understand why it's not doing what you want.
[10:21:00] <JohnFree> Grokling: I'm including the factory in index.html
[10:21:23] <JohnFree> Groklin: But I'm actually including the factory
[10:21:36] <Grokling> JohnFree: is it meant to be in script.js? Cause that file is empty..
[10:21:51] <JohnFree> Grokling: No. It's in "factory.js"
[10:22:10] <JohnFree> Grokling: http://plnkr.co/edit/mLWp5yYXC1DkT9IIJJ6c?p=preview
[10:22:15] <JohnFree> Maybe I've forgotten to "freeze"
[10:22:19] <Grokling> JohnFree: I don't see that file..
[10:22:23] *** PGTips_ has joined #angularjs
[10:22:28] <JohnFree> Grokling: Do you see it here?: http://plnkr.co/edit/mLWp5yYXC1DkT9IIJJ6c?p=preview
[10:22:30] <sacho> setec, I'm sorry but I can't find any source code there.
[10:22:35] <sacho> Only discussions about how to handle things.
[10:22:47] *** rburns_ has joined #angularjs
[10:22:57] <setec> sorry sacho here is direct link
[10:22:58] <setec> https://github.com/angular/watchtower.js
[10:23:01] <Grokling> JohnFree: Yep.. that's a bit better.
[10:23:03] *** AWAW has joined #angularjs
[10:23:14] <JohnFree> Grokling: Ok. I didn't get that I've to freeze everytime in Plunker
[10:23:21] <sacho> setec, http://ng-learn.org/2014/03/AngularJS-2-Status-Preview/#change_detection
[10:23:37] <PGTips_> Hi Guys, Quick query before I start using angular - will I generally need to use jQuery as well for like carousels and visual effects?
[10:23:40] <sacho> you're panicking for no reason.
[10:23:52] <setec> i see, thanx!
[10:23:56] *** rburns has quit IRC
[10:23:58] *** carpediembaby_ has joined #angularjs
[10:24:05] <setec> Object.observe seems to quite nice use
[10:24:09] *** PGTips_ is now known as PGTips
[10:24:26] <setec> i was just lookin at outdated docs
[10:24:58] *** jjasonclark has joined #angularjs
[10:25:05] <setec> even made a stupid post in angular mail thread.. well
[10:25:18] <Grokling> JohnFree: You don't inject the factory into the module - you're already defining it there. change to: angular.module('ManageDB',[]);
[10:25:20] *** ccohn has joined #angularjs
[10:25:29] <PGTips> Anyone?
[10:25:49] <setec> PGTips_ you can but it's bad
[10:26:00] <JohnFree> Grokling: Ok. But that doesn't fix the problem
[10:26:02] <setec> PGTips_ normally you should try avoid jquery at all cost
[10:26:02] <Grokling> PGTips: we try to avoid jQuery, we use directives instead.
[10:26:17] *** anapitupulu has quit IRC
[10:26:29] *** ytsejam has quit IRC
[10:26:31] <JohnFree> Grokling: Ok. changed it
[10:26:32] <sacho> PGTips, yes
[10:26:39] *** DoubleAW has quit IRC
[10:26:41] <setec> PGTips_ because jquery modfies DOM and angular make become puzzled with it
[10:26:43] <sacho> PGTips, if by "jquery" you mean "some ui component library"
[10:27:02] <PGTips> sacho: Yep - exactly
[10:27:11] *** Shai-Tan has quit IRC
[10:27:22] <setec> basically you can use jquery if you are not conflicting with any angular directive, but thats very rare
[10:27:24] <Grokling> JohnFree: Which problem? Console is free of errors, you had a popup, and the view has rendered..
[10:27:29] <sacho> there's some ui component libraries written for angular - for example, angular-ui-bootstrap. I'm sure there's others.
[10:27:37] <setec> for example you can use jquery sound module
[10:27:43] <JohnFree> Grokling: Strange.
[10:27:43] *** tech2 has joined #angularjs
[10:27:46] <setec> if u dont use angular sound modules
[10:27:49] <JohnFree> Grokling: Ok. I'll check the local code
[10:28:18] *** edy has joined #angularjs
[10:28:25] <PGTips> Grokling: Just out of interest would you re-implement a jQuery fade as an angular directive? Or just use jQuery?
[10:29:00] <grizzm0> Avoid jQuery ;]
[10:29:01] <PGTips> ;-)
[10:29:02] *** bin has quit IRC
[10:29:02] <Grokling> PGTips I'd use ng-animate I think.
[10:29:16] <Grokling> which is a directive..
[10:29:26] *** Asiajey has joined #angularjs
[10:29:43] <JohnFree> Grokling: oh no wait
[10:29:56] *** ccohn has quit IRC
[10:30:00] *** motionman is now known as Pukeman
[10:30:14] <PGTips> Grokling: Sorry you're first response wasn't clear. As I say I'm about to start using angular and was unaware angular does any ui effects
[10:30:18] *** jlebrech has joined #angularjs
[10:30:22] *** Pukeman is now known as motionman
[10:30:43] *** BlinkyBill_ has quit IRC
[10:30:50] *** BlinkyBill has joined #angularjs
[10:30:51] <Grokling> PGTips: The ngAnimate module provides support for JavaScript, CSS3 transition and CSS3 keyframe animation hooks within existing core and custom directives.
[10:31:02] <Grokling> Sound like what you're thinking of?
[10:31:05] <JohnFree> Grokling: Can you check the code now please? I forgot to inject the factory
[10:31:12] *** mennea has quit IRC
[10:31:13] *** Mark__ has quit IRC
[10:31:15] *** RangerRick has joined #angularjs
[10:31:44] <PGTips> Grokling: Thanks I'll check it out
[10:31:49] *** mennea has joined #angularjs
[10:31:56] *** firelink_ has quit IRC
[10:31:58] *** t_p has quit IRC
[10:33:00] *** ozooner has joined #angularjs
[10:33:02] *** thirdknife has joined #angularjs
[10:33:13] *** Sawbones has joined #angularjs
[10:34:06] <carpediembaby_> Hello, i have a very frustrating problem with angularjs for several days now. I would appreciate if someone could help me find a solution. I have an application, which displays messages exchanged (written in WYSIWYG editors, email editors etc). Now the problem is that when I try to sanitize these messages and display them, angularjs reports a badparse and everything comes to a halt. I am not sure why sanitize would not rem
[10:34:16] <JohnFree> Grokling: Do you see the problem?
[10:34:54] <Grokling> JohnFree: I don't see it injected in the plunker, and when I do inject it it's undefined..
[10:34:55] *** evilaliv3 has joined #angularjs
[10:35:08] <JohnFree> Grokling: What am I doing wrong?
[10:35:09] <carpediembaby_> Could someone shed some light on this? I suppose the problem is specially with unmatched tags like email addresses in <> like XYZ <xyz at host dot com>
[10:35:18] *** _tpavel has quit IRC
[10:35:27] *** RangerRick has quit IRC
[10:35:52] *** pillage_ has quit IRC
[10:36:04] <Grokling> JohnFree: I'll see if I can dig up a factory plunker I helped with yesterday.
[10:36:14] <JohnFree> Grokling: ok
[10:36:39] *** jjasonclark has quit IRC
[10:37:17] *** mityaz has joined #angularjs
[10:38:00] *** Sawbones has quit IRC
[10:38:24] *** ytsejam has joined #angularjs
[10:38:55] *** pillage has joined #angularjs
[10:39:19] *** MrBaboon has joined #angularjs
[10:40:10] *** shilon has joined #angularjs
[10:41:23] *** tkimmel has joined #angularjs
[10:41:40] <glontu> hi
[10:41:47] <glontu> does anyone here ever use ng-slider
[10:41:47] *** ssawickik has joined #angularjs
[10:42:27] <glontu> i'm using it in a project where the value stored in the ng-model of the ng-slider is changed programatically ( not using the slider ) and i don't know how to make ng-slider update the slider position
[10:42:31] <glontu> any help ?
[10:42:37] <JohnFree> Grokling: I fixed it myself
[10:42:43] <JohnFree> It's very simple
[10:43:15] <setec> glontu: http://plnkr.co/edit/FxmfOIXNmkMjjglsfNUj?p=preview
[10:43:23] <Grokling> JohnFree: Found it.. good old browser history. http://plnkr.co/edit/iYitZKv62iODjz4o1P06?p=preview
[10:43:31] *** gunn has joined #angularjs
[10:43:37] *** rhp has quit IRC
[10:43:49] *** shaisnir_ has quit IRC
[10:44:02] *** MrBaboon has quit IRC
[10:44:42] <JohnFree> The only problem left is that I get this error: [$rootScope:inprog]. What does that mean?
[10:44:42] *** AngularUI has joined #angularjs
[10:44:42] <AngularUI> [bootstrap] mmouterde opened pull request #2911: Datepicker improvements (master...master) http://git.io/WsWWAA
[10:44:42] *** AngularUI has left #angularjs
[10:45:03] <glontu> that's verry nice setec but the ng-slider i'm having trouble with is this one : https://github.com/darul75/ng-slider
[10:45:30] *** gurke_ has quit IRC
[10:45:55] *** juampy has quit IRC
[10:45:57] *** tkimmel has quit IRC
[10:46:33] *** Mark__ has joined #angularjs
[10:46:41] <setec> glontu sorry thought u mean ui slider
[10:47:26] *** c00ljs has joined #angularjs
[10:47:31] <glontu> is there a better slider of this kind maybe ? one that supports 2 way binding ?
[10:47:43] <Grokling> JohnFree: I just refreshed, and don't see any error..
[10:47:52] *** jaydubya has joined #angularjs
[10:47:57] <JohnFree> Grokling: Well that's not my complete code
[10:48:09] *** svteoi has joined #angularjs
[10:48:36] <Grokling> JohnFree: Sorry.. I must've missed the memo that you were looking at something else.
[10:49:16] *** dannyc has quit IRC
[10:49:38] *** dannyc has joined #angularjs
[10:50:16] *** daviesgeek has quit IRC
[10:52:18] *** BlinkyBill has quit IRC
[10:52:28] *** anivemin has quit IRC
[10:52:34] <JohnFree> Grokling: That's the same code as local. I don't get it..
[10:53:27] *** jaydubya has quit IRC
[10:53:48] *** shaisnir has joined #angularjs
[10:54:09] *** ytsejam has quit IRC
[10:54:13] *** D-Boy has quit IRC
[10:54:20] *** D-Boy has joined #angularjs
[10:54:38] *** daviesgeek has joined #angularjs
[10:54:57] *** jae is now known as Jae
[10:55:27] <JohnFree> Grokling: Are you still there my friend?
[10:55:36] <Grokling> Still here..
[10:55:52] <JohnFree> Grokling: Wait a second, I'll show you what causes the error
[10:55:59] *** rtpg has quit IRC
[10:56:05] *** svteoi has quit IRC
[10:56:21] *** AciD`` has joined #angularjs
[10:57:32] *** RangerRick has joined #angularjs
[10:59:44] <JohnFree> Grokling: Can you have a quick look at it again please?: http://plnkr.co/edit/mLWp5yYXC1DkT9IIJJ6c?p=preview
[10:59:48] *** moritzs has quit IRC
[11:00:22] <Grokling> looking now.. hope you saved it this time ;-)
[11:00:30] <JohnFree> Grokling: yes :)
[11:00:39] *** boneskull has quit IRC
[11:00:42] *** joshontheweb has quit IRC
[11:01:00] *** azizur has joined #angularjs
[11:01:15] *** mennea has quit IRC
[11:01:16] *** laurensclaessen has quit IRC
[11:01:19] <JohnFree> Grokling: You'll see that I get this error: "Error: [$rootScope:inprog]"
[11:01:51] <Grokling> Hmm. I get an XHR error trying to load google.de...
[11:01:54] *** mennea has joined #angularjs
[11:02:12] <JohnFree> Grokling: But before that you should get "Error: [$rootScope:inprog]"
[11:02:21] *** RangerRick has quit IRC
[11:02:26] *** shilon has quit IRC
[11:02:45] *** hippobottamus has quit IRC
[11:02:47] <Grokling> JohnFree: Nope - can't say that I do..
[11:02:55] <JohnFree> Grokling: That's impossible..
[11:03:08] <JohnFree> Grokling: Please refresh the page. I've frozen it and I get that error: http://plnkr.co/edit/mLWp5yYXC1DkT9IIJJ6c?p=preview
[11:03:21] *** platonic has joined #angularjs
[11:03:46] *** slopjong has quit IRC
[11:03:58] <Grokling> Still not.
[11:04:23] <JohnFree> Grokling: Lol.. You're joking with me.. Ok forget it. I'll try to fix it myself
[11:04:31] *** shaisnir has quit IRC
[11:04:54] *** Rejected has joined #angularjs
[11:05:01] *** ggrzybek is now known as ggrzybek_brb
[11:06:12] <Grokling> JohnFree: I'm not joking you.. I promise. https://www.dropbox.com/s/4g57aq3sj88iblu/NoError.png?dl=0
[11:06:22] *** cheef has joined #angularjs
[11:06:48] <cheef> hey guys is there a way to make $timeout synchronous is a unit test
[11:06:58] *** Mark__ has quit IRC
[11:07:29] <JohnFree> Grokling: Are you blocked if I'm running the Plunkr-Code?
[11:08:06] <Grokling> No - it loads a separate instance on my browser, entirely independent from yours..
[11:08:08] *** luislobo has joined #angularjs
[11:08:12] <luislobo> hi
[11:08:18] *** platonic has quit IRC
[11:08:20] *** carpediembaby_ has quit IRC
[11:08:52] <Grokling> JohnFree: You can turn on collaboration mode if you want.
[11:09:05] *** laurensclaessen has joined #angularjs
[11:09:06] *** spatialbrew has joined #angularjs
[11:09:18] <JohnFree> Grokling: Nevertheless I fixed it myself ..
[11:09:20] <luislobo> I am using <div ng-include="/path/to/template/scripts"></div> to load templates asynchronously into the page. Is there any way to tell angular to wait for them to be loaded before it tries to render any 'directives'?
[11:09:34] <JohnFree> Grokling: Change your browser. You should get an error but aren't
[11:09:44] <JohnFree> Grokling: In this way you can't help anybody
[11:09:50] <JohnFree> Grokling: What's your browser?
[11:09:56] *** matthoiland has joined #angularjs
[11:10:08] <Grokling> JohnFree: Fantastic. You're getting good at this.
[11:10:33] <Grokling> JohnFree: Internet Explorer 8.0
[11:10:43] <JohnFree> Grokling: Oh my god.
[11:10:54] <Grokling> Now I'm joking ;-) Chrome 36.0.1985.84
[11:11:00] <JohnFree> Grokling: Lol
[11:11:03] <JohnFree> Grokling: That's worse
[11:11:21] <JohnFree> Grokling: You're using a browser from Google which doesn't detect errors from AngularJS, which is also a product of google
[11:11:26] *** muffinman has quit IRC
[11:11:32] <JohnFree> :)
[11:11:32] *** IvailoStoianov has quit IRC
[11:11:33] <Grokling> Not very much is worse than I.E. 8..
[11:11:58] <JohnFree> Grokling: Did you hear that Google Chrome supports 60fp for youtube videos now?
[11:12:04] <Grokling> Maybe you're using a browser that breaks something that isn't actually broken in a decent browser!
[11:12:22] *** Skrypter has quit IRC
[11:12:30] <JohnFree> Grokling: You can only watch Videos in 60 frames per second, if you're using Google Chrome Browser
[11:12:45] *** ytsejam has joined #angularjs
[11:12:45] <JohnFree> Grokling: Youtube videos
[11:12:48] *** emmesswhy has quit IRC
[11:12:49] <Grokling> And you have to be not working too..
[11:13:45] *** mennea has quit IRC
[11:13:47] <luislobo> Am I asking/doiing it wrong ? :)
[11:14:25] *** matthoiland has quit IRC
[11:14:31] <JohnFree> Grokling: I want to cry
[11:14:32] *** IvailoStoianov has joined #angularjs
[11:14:41] <JohnFree> Grokling: Now the same error again
[11:14:56] <Grokling> JohnFree: Go ahead.. you're amongst friends here.. we won't laugh.
[11:15:07] <Grokling> Time to get a better browser?
[11:15:12] *** thirdknife has quit IRC
[11:15:19] <jagga> I have a resolve on a routeProviders .when which returns lets say 'testCtrl' as the controller. The route has a resolve returning an object called 'apiData', then on the controller I inject ['apiData'], function(apiData) etc
[11:15:21] <jagga> but I then get Error: [$injector:unpr] Unknown provider: apiDataProvider <- apiData
[11:15:27] <JohnFree> Grokling: That's the bad thing. I don't know whether the Browser sucks or not
[11:15:40] <jagga> why is it saying unknown provider? and why is it suffixing provider at the end
[11:16:09] <Grokling> luislobo: A common method is to preload all your templates, but if you need to wait for something before rendering, you can use the state resolve function.
[11:16:28] *** thirdknife has joined #angularjs
[11:17:14] *** aendrew has joined #angularjs
[11:17:36] <JohnFree> Grokling: I'm using Google-Chrome, too and getting the "$root.." error
[11:18:05] <Grokling> jagga: Sounds like an unusual approach. If you're returning your object in the resolve, it should be available to the controller scope - you don't inject it manually.
[11:18:05] *** moshe has joined #angularjs
[11:18:23] <jagga> so not even in the function(bla bit)?
[11:18:46] *** luislobo has quit IRC
[11:18:47] <Grokling> jagga: Nope. It's already in scope, which you're injecting no doubt?
[11:18:52] <jagga> yes
[11:19:05] <jagga> but why is it already in scope
[11:19:10] <jagga> is what I'm saying
[11:19:13] *** moshe is now known as bigimot
[11:19:18] <Grokling> Because that's how resolve works..
[11:19:19] *** sbellina has quit IRC
[11:19:20] <bigimot> hi
[11:19:21] <jagga> I see
[11:19:27] <jagga> resolve automatically puts its objects into $scope
[11:19:30] <jagga> and you dont have to do it yourself
[11:19:30] <jagga> k
[11:19:37] *** oller has joined #angularjs
[11:19:37] <Grokling> cool huh..
[11:19:44] <jagga> very
[11:20:11] *** zemanel has joined #angularjs
[11:20:31] <jlebrech> anyone use this with rails? https://github.com/adamcooke/gulp_rails if so any idea how to the frontend served from port 3000?
[11:20:38] <jagga> i was following this guide Grokling : http://odetocode.com/blogs/scott/archive/2014/05/20/using-resolve-in-angularjs-routes.aspx
[11:20:44] <jagga> seems that's out of date and innacurate
[11:20:47] <jagga> what a shame
[11:21:08] <jagga> just for learning purposes, how could I have checked that the resolve puts it's objects into scope?
[11:21:12] <jagga> Should it be something that is obvious?
[11:21:18] *** firelinks has joined #angularjs
[11:22:18] *** firelinks has quit IRC
[11:23:01] <Grokling> jagga: console.log($scope) or use a debugger I guess, or just assume it was and {{}} accordingly to see?
[11:23:20] *** firelinks has joined #angularjs
[11:24:11] *** firelinks has quit IRC
[11:24:28] <jagga> yes!
[11:24:39] <Grokling> JohnFree: Great news.. All kinds of stuff breaks if you try to run plunker in Opera. So don't do that..
[11:24:55] <cheef> is there a way to simulate a blur event in an angular unit test?
[11:24:59] <jagga> currently it's undefined for me, but that's another isssue in itself. I'm not understand how the .when url stuff is working with my $location stuff
[11:25:03] <jagga> but i'll figures it out
[11:25:07] <JohnFree> Grokling: I'm really desperate. I don't know why the hack that error occurs
[11:25:08] *** firelinks has joined #angularjs
[11:25:26] *** Browser has joined #angularjs
[11:25:55] *** ccohn has joined #angularjs
[11:26:04] *** firelinks has quit IRC
[11:26:04] <Grokling> JohnFree: Did you look here? https://docs.angularjs.org/error/$rootScope/inprog
[11:26:34] <JohnFree> Grokling: Yes I did wrap the callback code with "scope.$apply(function() {", but I get the same error
[11:26:44] *** RangerRick has joined #angularjs
[11:26:53] *** qdk has quit IRC
[11:27:04] *** pillage has quit IRC
[11:27:04] <dan2k3k4> soo I don't think any of my directives are linked to controllers :o
[11:27:05] *** Sjimi has quit IRC
[11:27:14] <Grokling> JohnFree: Don't think theres' much I can do to help - given that I can't replicate the problem..
[11:27:17] <jlebrech> is this channel pretty busy 24/7? i was looking at a lesser known framework but it's not well populated
[11:27:25] *** Sawbones has joined #angularjs
[11:27:36] <JohnFree> Grokling: The problem occurs when data is fetched and the asynchronous callback function is called
[11:27:43] <dan2k3k4> jlebrech, which framework?
[11:27:51] <Grokling> jlebrech: Yeah.. there's usually someone around. Usually a bit quieter around this time with the US sleeping.
[11:27:59] <jlebrech> dan2k3k4: canjs
[11:28:17] *** Latros-OS has joined #angularjs
[11:28:26] <jlebrech> it's pretty crap when you've encountered an issue and noone will talk to you :(
[11:28:44] <dan2k3k4> heh yeah
[11:29:00] *** fire_ has joined #angularjs
[11:29:03] <fire_> hi everyone
[11:29:09] <fire_> how can I get the text value of an ng-model?
[11:29:20] <fire_> ie: myContent.toLowerCase() is not working....
[11:29:28] *** Sjimi has joined #angularjs
[11:29:33] <bigimot> Hi, building an rails app with angular here. I’m loading a page and trying to make an http request based on the page url but I don’t manage to access the url params. you can see a gist here https://gist.github.com/bigimot/1ce4e56aa6ca4450bed9
[11:30:01] <dan2k3k4> so am I supposed to link directives to controllers ? with controller: controllerName attrib?
[11:30:14] <bigimot> I tried to use ng-route but the routeParams are empty. Spent several hours but I don’t manage to get the angular routing works
[11:30:34] *** ccohn has quit IRC
[11:30:44] *** fbenoit has quit IRC
[11:31:05] <Grokling> bigimot: Use ui-router instead. Much better option for most things.
[11:31:05] *** fbenoit has joined #angularjs
[11:31:13] *** cakirke has joined #angularjs
[11:31:16] *** sacho_ has joined #angularjs
[11:31:19] *** blomman has quit IRC
[11:31:21] *** RangerRick has quit IRC
[11:31:32] <bigimot> Grokling I’ve tried using it as well, but same issue
[11:31:32] *** falk_netstyler has quit IRC
[11:31:45] *** oller has left #angularjs
[11:31:53] *** Sawbones has quit IRC
[11:31:58] *** blomman has joined #angularjs
[11:32:03] <bigimot> I don’t fully understand how it works since I already have rails doing the routing for me, not exactly sure how the two works together
[11:32:26] *** mjs2600 has joined #angularjs
[11:32:33] <bigimot> Grokling: should I show what I’ve tried with ui-router?
[11:32:39] <phzon> hello
[11:32:40] <Grokling> bigimot: rails is a backend right? Angular is purely front end.
[11:32:41] <JohnFree> Grokling: I get the error if I pass the parameter "newMissedCall" to the factory-method
[11:32:46] *** tarnus has joined #angularjs
[11:33:00] <phzon> is it better to make a REST API like /products/:id/sellLogs
[11:33:06] <phzon> or /sellLogs/:id
[11:33:07] <phzon> ?
[11:33:11] *** Chroder has joined #angularjs
[11:33:23] <bigimot> Grokling: yes, it’s. I already have rails render the html tho
[11:33:41] *** sk87 has quit IRC
[11:33:45] *** Left_Turn has joined #angularjs
[11:33:49] <Grokling> phzon: I would have expected /product/:id/sellLogs at first glance.
[11:34:15] <Grokling> bigimot: So, what is angulars job in this scenario?
[11:34:29] <bigimot> make the json call
[11:34:40] <bigimot> I use js within the html page to render what I want
[11:34:44] *** sacho has quit IRC
[11:34:48] <bigimot> but it’s rails that does the routing..
[11:34:50] <JohnFree> Grokling: Might it be a problem, that a controller from Module-1 tries to pass a parameter to a method of a Factory of Module-2?
[11:35:25] <Grokling> What for? If you just want a JSON call, use xhr.. angular is designed to do ALL of the frontend..
[11:35:59] <bigimot> Grokling: It does all the FE
[11:36:12] <Grokling> JohnFree: Nope. Once the modules are loaded, they're irrelephant. Everything ends up in the same 'application' so the same namespace.
[11:36:17] <bigimot> Grokling: just the routing part is being handled by rails
[11:36:38] *** blomman has quit IRC
[11:36:52] <JohnFree> Grokling: Ok I'm 100% sure that the asynchronous callback of the get-instruction is causing the problem. If I let it out the error disappears. But how can I fix this?
[11:36:59] <bigimot> Grokling I’ll try to show the code using ui router
[11:37:23] *** tarnus has quit IRC
[11:37:24] <Grokling> bigimot: I'm confused. Rails does the backend routing. Nothing to do with angular. Angular must do it's own internal routing.
[11:37:27] *** Mark__ has joined #angularjs
[11:37:51] <Grokling> Two completely separate things, that interact via an api.
[11:37:58] *** wd40s has joined #angularjs
[11:38:07] <bigimot> Grokling: Let me implement the ui router again and I’ll update the gist, it’ll be less confusing to both of us :)
[11:38:23] *** rburns_ has quit IRC
[11:38:23] <Grokling> bigimot: Better yet, make it as a plunker..
[11:38:28] <bigimot> a what
[11:38:42] <Grokling> http://plnkr.co/edit/tpl:FrTqqTNoY8BEfHs9bB0f
[11:38:45] *** sandelius has quit IRC
[11:38:54] <bigimot> yeah, checking it
[11:39:44] <Grokling> JohnFree: Ah yep. That won't do what you thought. Sec and I'll fix it..
[11:40:26] *** AlSquirrel has joined #angularjs
[11:40:34] *** MrBaboon has joined #angularjs
[11:40:45] <JohnFree> Grokling: The error disappears if I put the call of the Factory into the asynchronous callback
[11:41:51] *** Aerospark has joined #angularjs
[11:41:59] *** sigurding has quit IRC
[11:42:16] *** gunn has quit IRC
[11:42:48] *** wd40s has quit IRC
[11:43:15] <JohnFree> Grokling: No give me please your solution. My code isn't working again. That's so confusing
[11:43:35] *** gunn has joined #angularjs
[11:43:39] *** Guest___ has joined #angularjs
[11:44:00] *** jaydubya has joined #angularjs
[11:44:05] *** kronos has joined #angularjs
[11:44:10] <kronos> Hi
[11:44:23] <kronos> Is there any one?
[11:44:24] *** Guest___ has joined #angularjs
[11:44:27] *** brantje has quit IRC
[11:44:34] *** kronos is now known as Guest23588
[11:44:52] *** MrBaboon has quit IRC
[11:44:57] *** Guest___ has quit IRC
[11:45:00] <Guest23588> Is there anyone
[11:45:01] <Guest23588> ??
[11:45:36] *** Guest23588 has quit IRC
[11:45:38] <JohnFree> Grokling: I'm near to throwing my laptop out of the window
[11:46:03] *** borvoh has joined #angularjs
[11:46:14] <Grokling> JohnFree: Open the window first.. You don't want to have to buy two replacement things..
[11:46:21] *** dnewkerk has quit IRC
[11:46:22] *** dnewkerk_ has joined #angularjs
[11:46:24] *** Aerospark has quit IRC
[11:46:26] *** brunoB has joined #angularjs
[11:46:54] <JohnFree> Grokling: Do you have an advice how to fix this?
[11:47:13] <Grokling> JohnFree: I'm tweaking your plunker at the moment..
[11:47:13] *** mennea has joined #angularjs
[11:47:27] <JohnFree> Grokling: Thank you.
[11:48:13] *** sk87 has joined #angularjs
[11:48:24] *** IJNX has quit IRC
[11:48:52] *** dmra has joined #angularjs
[11:49:13] *** cheef has quit IRC
[11:49:20] *** jillesme has joined #angularjs
[11:49:38] *** deez79 has quit IRC
[11:50:03] *** amedia has quit IRC
[11:50:04] *** RangerRick has joined #angularjs
[11:50:13] *** shilon has joined #angularjs
[11:50:26] *** AngularUI has joined #angularjs
[11:50:26] <AngularUI> [ng-grid] jpuri opened pull request #1976: #1868 - fix for move column not working for very large number fo columns (master...master) http://git.io/DnhrIw
[11:50:26] *** AngularUI has left #angularjs
[11:52:12] *** Dido has joined #angularjs
[11:52:25] *** deepak_ has joined #angularjs
[11:53:10] *** mrogne_afk is now known as mrogne
[11:53:19] <dan2k3k4> so if I don't define controller in a directive, then its $scope == $rootScope ?
[11:53:27] <deepak_> how to use toaster in yeoman???
[11:53:27] <JohnFree> I'm so confused
[11:53:45] *** pillage has joined #angularjs
[11:54:20] <deepak_> help me friends how to use toaster in yeoman(angularjs)????
[11:54:22] *** wolfman2000 has quit IRC
[11:54:32] *** doodlehaus has joined #angularjs
[11:54:38] <Grokling> JohnFree: http://plnkr.co/edit/Qeof0yPTj0Afj07UC91n?p=preview
[11:54:56] <JohnFree> Grokling: Now I'm really thrilled :)
[11:54:59] *** RangerRick has quit IRC
[11:55:17] <Grokling> I'm expecting you to say that it's still got errors...
[11:55:31] *** mmealling has joined #angularjs
[11:56:20] <deepak_> i dnt knw how to use this chat room k i am leaving bye
[11:56:29] <dan2k3k4> deepak_, :o
[11:56:33] <bigimot> Grokling: http://plnkr.co/edit/xW1ECS8sXQBeO4WSoZXW
[11:56:37] <deepak_> say
[11:56:39] <deepak_> sir
[11:56:43] <JohnFree> Grokling: Why have you removed the method "fetchMissedContacts"?
[11:56:50] *** mguillech has joined #angularjs
[11:56:53] <dan2k3k4> just be patient deepak_, someone will probably respond to your question, I don't know anything about yeoman...
[11:57:13] <deepak_> ok i will wait
[11:57:17] <deepak_> thanks
[11:57:18] <dan2k3k4> just leave it as an open tab
[11:57:24] <bigimot> Grokling: and what I’m trying to do is access the url params in the controller so I don’t have the id hard coded in boards.js
[11:57:25] <JohnFree> Grokling: I don't get any errors. But what was the problem?
[11:57:51] <Grokling> JohnFree: You can put it back if you want.. at least now you have a working baseline to build from.
[11:57:59] <deepak_> k
[11:58:03] <dan2k3k4> deepak_, although if it's more in-depth, you can always try stackoverflow.stackexchange.com ? or programmers.stackexchange.com ?
[11:58:23] <JohnFree> Grokling: But why is it a problem to define "scope.fetchMissedContacts"?
[11:58:26] <deepak_> ya good idea thanks a lot
[11:58:54] <Grokling> JohnFree: You had a spare array in there, and had a parameter 'scope' which isn't the same as $scope.
[11:59:43] <JohnFree> Grokling: But I did define 'scope' as dependency in the controller-header
[11:59:47] *** adamnbowen has joined #angularjs
[12:00:07] <Grokling> Have a look at the header on my version..
[12:01:01] <JohnFree> Grokling: i see that. But what's wrong with my version. You've to do it like mine in the header if you do minification?
[12:01:16] <Grokling> bigimot: Ah.. okay, Did you try $stateParams.id?
[12:01:18] *** mguillech has quit IRC
[12:01:28] *** deepak_ has quit IRC
[12:01:37] <bigimot> Grokling: within the boards cont?
[12:01:45] <Grokling> JohnFree: Nothing, but if you have $scope, and scope, they are two different things entirely.
[12:01:55] *** adamnbowen has quit IRC
[12:02:05] <Grokling> $hit and hit ;-)
[12:02:10] <setec> $scope is paid, scope is free
[12:02:17] *** Trow has quit IRC
[12:02:20] <setec> see, it's dollar - means it's paid
[12:02:23] <Grokling> :D
[12:02:27] <JohnFree> Grokling: But in the tutorial the guy said "scope" is at that point an alias for "$scope"?
[12:02:37] *** RedOrangeZ has joined #angularjs
[12:02:47] <bigimot> Grokling: @stateParams is an empty object
[12:02:56] <Grokling> JohnFree: Maybe.. but did it work?
[12:02:57] <JohnFree> Grokling: Aren't these two the same? Then what's the difference?
[12:03:08] *** Shai-Tan has joined #angularjs
[12:03:09] <JohnFree> Grokling: It seems like it doesn't work :)
[12:03:25] *** PGTips_ has joined #angularjs
[12:03:49] *** mguillech has joined #angularjs
[12:03:59] *** thirdknife has quit IRC
[12:04:13] <Grokling> bigimot: your 'board-show' state should provide you with a $stateParams.id
[12:04:27] *** doodlehaus has quit IRC
[12:04:30] <arkin> Using ui-router is there a way to make an abstract route 'dashboard' resolve to 'dashboard/home' automagically?
[12:04:34] *** intellix has joined #angularjs
[12:04:40] <arkin> I want this for all abstract routes ideally
[12:05:28] <bigimot> Grokling: check the plnkr, I’m now trying to set $scope.board_id within the route
[12:06:16] <bigimot> Grokling: because of the default route, when I go to http://localhost:3000/boards/545284a24d6f73343c000000 it redirects me to http://localhost:3000/boards/545284a24d6f73343c000000#/boards which isn’t really what I want. I have a feeling that’s the issue here, no?
[12:06:17] *** foofoobar has joined #angularjs
[12:06:29] <curfont> guys, I have a modal template.. and I need to run a script once all the html items load (google api for places autocomplete)
[12:06:33] <m8> can i use $compile as a scope variable?
[12:06:36] *** fbenoit has quit IRC
[12:06:45] *** sigurding has joined #angularjs
[12:06:45] <sacho_> why would you want to do that?
[12:06:57] *** mmealling has quit IRC
[12:06:59] <curfont> apparently both the controller and the opened method run before my div gets loaded
[12:07:03] <sacho_> (yes, you can, if you place it on the scope)
[12:07:08] <curfont> is there anywhere else I can put it?
[12:07:12] <Fire-Dragon-DoL> arkin: I just didn't add url to the abstract route and added dashboard/home to a child route
[12:07:33] *** PGTips has quit IRC
[12:07:47] <sacho_> curfont, what signifies "loaded" to you?
[12:07:52] *** amedia has joined #angularjs
[12:08:04] <Grokling> bigimot, I think you're getting confused between your backend routes and your angular routes..
[12:08:05] *** ogdabou has quit IRC
[12:08:07] <curfont> sacho_: the ID of the div I want to make a google needs to be abel to be resolved with getElementByID
[12:08:11] <sacho_> link functions are called after the template is compiled
[12:08:14] <arkin> Fire-Dragon-DoL: yeah, I've done this I'd just prefer to use 'dashboard' as it looks tidier
[12:08:27] <sacho_> curfont, try making a plunker
[12:08:32] <bigimot> Grokling: I am..
[12:08:34] <curfont> ok
[12:08:48] <Grokling> bigimot: Unless you have turned on html5 mode, you should have a # in your url if you're in the angular app.
[12:09:00] <bigimot> Grokling: the code that I’ve added to set the id isn’t the correct way?
[12:09:13] *** evilaliv3 has quit IRC
[12:09:22] <Grokling> bigimot: That part looks fine.
[12:09:27] <dan2k3k4> I want to remove a directive template when I change pages, but it seems to build up each time I go back to the home page
[12:09:31] <m8> sacho_, i want to render an array in a custom html
[12:09:47] <m8> sacho_, witouth using string concat, but using angular "template engine"
[12:10:22] <m8> sacho_, i want an html string
[12:10:29] <bigimot> sorry, I meant http://localhost:3000/boards/545284a24d6f73343c000000#/ redirects to http://localhost:3000/boards/545284a24d6f73343c000000#/boards
[12:10:37] <bigimot> Grokling: how/where do I access it then?
[12:10:39] <dan2k3k4> <body ng-controller=contentctrl><page_content><my-directive></page_content></body> // then I go to diff page, it changes page_content.html so: <body ng-controller=contentctrl><page_content><Some Other Page Content></page_content></body>
[12:10:42] *** juampy has joined #angularjs
[12:10:48] <dan2k3k4> but when I go back to the start page, it ends up with:
[12:10:49] *** lite_ has quit IRC
[12:10:56] <dan2k3k4> <body ng-controller=contentctrl><page_content><my-directive><my-directive></page_content></body>
[12:10:57] <dan2k3k4> :s
[12:10:59] *** fbenoit has joined #angularjs
[12:11:01] *** lite_ has joined #angularjs
[12:11:37] <bigimot> Grokling: I don’t need angular to render the template for this route (at least not right now), just let me access the :id param. it makes sense?
[12:11:57] <JohnFree> Grokling: Are you there?
[12:12:00] <Grokling> bigimot: No. That makes no sense.
[12:12:32] <JohnFree> Grokling: Why do I get a problem if I put the method into "$scope" and call "$scope.fetchMissedContacts"?
[12:13:05] *** jlambert121 has joined #angularjs
[12:13:06] <bigimot> Grokling: but I already have rails render me the template. should I leave that template empty then?
[12:13:16] <Grokling> JohnFree: You shouldn't. But it will depend on what you do with the response.
[12:13:32] <JohnFree> Grokling: I put the response into $scope
[12:13:48] *** dannyc has quit IRC
[12:13:48] *** evilaliv3 has joined #angularjs
[12:14:01] *** ccohn has joined #angularjs
[12:14:09] <JohnFree> Grokling: I really don't get what the problem of my solution is. The only differnece you have is, that you don't put the "fetchMissedContacts" method into $scope
[12:14:22] <sacho_> m8, but what is the point of adding $compile to the scope, there?
[12:14:44] <Grokling> bigimot: Angular is a stand-alone front end. It renders it's own templates. That's the whole point. You need to separate the two concepts (ruby and Angular) entirely.
[12:14:51] <m8> sacho_, for use the rendered html in angular-ui tooltip
[12:14:54] *** jillesme has quit IRC
[12:15:06] <Grokling> JohnFree: Did you update the plunker?
[12:15:22] <bigimot> Grokling: yeah I know that each work on their own, that’s why I don’t get how they work together. who does what etc
[12:15:24] <JohnFree> Grokling: Yes: http://plnkr.co/edit/mLWp5yYXC1DkT9IIJJ6c?p=preview
[12:15:34] *** Mark__ has quit IRC
[12:15:34] *** deyno has joined #angularjs
[12:16:10] <Grokling> bigimot: They don't work together. Angular could ask a REST api provided by ruby for some data, or post some to it. That's about it though.
[12:16:22] <sacho_> m8, uh, why not just write a function that uses $compile?
[12:16:22] *** sigurding has quit IRC
[12:16:35] <m8> sacho_, i can in a controller?
[12:16:59] <m8> *can i
[12:17:11] <JohnFree> That's one of those errors I could cry days for
[12:17:19] <m8> $compile("html")(scope) ?
[12:17:21] *** mennea_ has joined #angularjs
[12:17:32] *** mennea has quit IRC
[12:17:47] *** Left_Turn has quit IRC
[12:18:11] *** RangerRick has joined #angularjs
[12:18:13] *** IJNX has joined #angularjs
[12:18:33] *** ccohn has quit IRC
[12:19:29] <bigimot> Grokling: I’m not sure what I should do then
[12:20:17] *** sandelius has joined #angularjs
[12:20:35] *** Skrypter has joined #angularjs
[12:20:51] *** TyrfingMjolnir has quit IRC
[12:20:58] *** Mark__ has joined #angularjs
[12:20:59] *** blomman has joined #angularjs
[12:21:29] *** yash has quit IRC
[12:21:30] <sacho_> m8, sure.
[12:21:40] *** Sawbones has joined #angularjs
[12:21:43] *** gavit has joined #angularjs
[12:21:51] <Grokling> JohnFree: You missed out some things.. it works though.
[12:21:53] *** yash has joined #angularjs
[12:21:55] <curfont> sacho_: http://plnkr.co/edit/BocZ4njJqtcAk7u39Xpd?p=preview
[12:21:59] <curfont> have the console open
[12:22:00] <m8> sacho_, and the result is a string?
[12:22:03] <curfont> see how it says null
[12:22:08] *** sinclair has joined #angularjs
[12:22:13] <JohnFree> Grokling: ha?
[12:22:16] <sacho_> no, the result is a dom element
[12:22:25] <curfont> when you open it
[12:22:34] <curfont> when you close it, it works
[12:22:37] *** arpu has joined #angularjs
[12:22:40] <curfont> i need the dom element when you open it
[12:22:46] <Grokling> JohnFree: What error do you see?
[12:22:51] *** RangerRick has quit IRC
[12:22:52] *** cotko has joined #angularjs
[12:22:55] <m8> sacho_, argh!
[12:22:55] *** ssawickik has quit IRC
[12:22:57] *** jagga_ has joined #angularjs
[12:23:08] <Grokling> P.S. alerts in a plunker are @#$@$ing annoying!
[12:23:47] <curfont> the only function I can get it to "find" the dom is "result" which is only after you return
[12:23:55] <Grokling> JohnFree: http://plnkr.co/edit/mLWp5yYXC1DkT9IIJJ6c?p=streamer&s=760joo3EPI1w8AAD
[12:23:56] *** ProLoser has quit IRC
[12:24:05] *** \du has joined #angularjs
[12:24:05] *** \du has joined #angularjs
[12:24:30] *** dsdeiz_ has joined #angularjs
[12:24:50] <m8> sacho_, and the parameter is a selector? :D
[12:25:06] <JohnFree> Grokling: Somehow the browser is crazy. Wait a second please
[12:25:41] *** dsdeiz has quit IRC
[12:25:53] <sacho_> m8, read the documentation
[12:26:05] <m8> sacho_, documentation is manly for directives
[12:26:18] <sacho_> scroll down and read the documentation for the service
[12:26:27] *** jagga has quit IRC
[12:26:28] *** Sawbones has quit IRC
[12:26:28] <m8> thanks
[12:27:09] *** glaksmono has quit IRC
[12:27:23] <JohnFree> Grokling: I'm trying to reconstruite the error
[12:27:29] <JohnFree> Grokling: I'm a little bit confused
[12:27:29] <curfont> I dont think the ui-bootstrap documentation is correct
[12:27:32] <curfont> "opened - a promise that is resolved when a modal gets opened after downloading content's template and resolving all variables"
[12:27:37] <curfont> It doesnt resolve the dom...
[12:28:25] *** IJNX has quit IRC
[12:28:39] <curfont> is there some ng- directive to tell a dom to run a script once its loaded itself?
[12:28:42] <curfont> ng-init or something? :P
[12:29:17] *** josh-k has joined #angularjs
[12:29:38] <dan2k3k4> gahh directive template keeps being added (maybe it's link being re-fired 4 times?) o_0
[12:29:45] *** ogdabou has joined #angularjs
[12:30:13] *** simplyshipley has joined #angularjs
[12:30:21] *** tkimmel has joined #angularjs
[12:30:22] <dan2k3k4> on page load, directive link called once, but if I go to diff page, then back to home page, it's called 4 times, then navigate away and back again, it's called 8 times
[12:30:39] *** moritzs has joined #angularjs
[12:30:58] <dan2k3k4> not 8.... 10 :o
[12:31:17] <JohnFree> Grokling: Are you still there?
[12:31:58] <Grokling> Yes - not for too much longer.. it's zero-dark:thirty here.
[12:32:10] *** ggrzybek_brb is now known as ggrzybek
[12:32:19] <dan2k3k4> then 16 times
[12:32:30] <JohnFree> Grokling: I really don't get it. sometimes the browser says error and sometimes not
[12:32:51] *** jdj_dk has joined #angularjs
[12:33:00] <Grokling> JohnFree: What browser are you using? Did you say Chrome earlier?
[12:33:15] <JohnFree> JohnFree: No. I'm using Firefox
[12:33:19] *** dannyc has joined #angularjs
[12:34:08] <JohnFree> Grokling: In plunkr there is somehow no problem.. I'm getting crazyyyyyyyyyyyyyyyyyyyyy
[12:34:23] *** enaqx has joined #angularjs
[12:34:30] <curfont> sacho_: what do you know.. ng-init worked.. lol
[12:35:02] *** tkimmel has quit IRC
[12:35:24] *** mandric has joined #angularjs
[12:37:00] *** jstroem has quit IRC
[12:37:36] *** dannyc has quit IRC
[12:37:54] *** foofoobar has quit IRC
[12:39:21] *** juampy has quit IRC
[12:39:55] *** nezt has quit IRC
[12:40:01] *** PrinceAMD has joined #angularjs
[12:42:11] *** naneau has joined #angularjs
[12:43:07] *** dannyc has joined #angularjs
[12:43:36] *** JohnFree has quit IRC
[12:43:47] *** JohnFree has joined #angularjs
[12:44:38] *** sk87 has quit IRC
[12:45:03] *** RangerRick has joined #angularjs
[12:45:51] *** fbenoit has quit IRC
[12:46:26] *** juampy has joined #angularjs
[12:46:30] *** amedia has quit IRC
[12:46:44] *** mennea_ has quit IRC
[12:46:56] *** sk87 has joined #angularjs
[12:47:22] *** mennea has joined #angularjs
[12:47:24] *** thirdknife has joined #angularjs
[12:49:04] *** amedia has joined #angularjs
[12:49:49] <setec> ng-init antipattern imho
[12:50:06] <setec> makes u keep initialization js in template
[12:50:10] <setec> instead of controller
[12:51:32] *** jas- has quit IRC
[12:52:03] *** bigimot has quit IRC
[12:52:22] *** platonic has joined #angularjs
[12:52:48] *** g3funk has quit IRC
[12:52:49] *** CocoStorm has joined #angularjs
[12:53:25] *** kalehv has joined #angularjs
[12:53:27] *** red_horned_rihno has joined #angularjs
[12:53:29] *** jdj_dk has quit IRC
[12:53:44] *** wd40s has joined #angularjs
[12:53:46] *** dnewkerk_ has quit IRC
[12:53:47] *** moshe has joined #angularjs
[12:53:47] *** jdj_dk has joined #angularjs
[12:53:59] *** moshe has quit IRC
[12:54:09] *** g3funk has joined #angularjs
[12:55:16] <CocoStorm> Hey guys, I have a method called navigateTo(string) and does all sorts of requests with the string variable before calling $state.go. It works fine however, if I call navigateTo (by clicking a link on the navbar) and click another link on the navbar almost instantly afterward, the website freaks out and goes in an infinite loop between the two pages that have been called. How can I prevent this?
[12:55:56] *** blomman has quit IRC
[12:56:26] *** moritzs has quit IRC
[12:56:31] *** blomman has joined #angularjs
[12:56:31] *** brunoB has quit IRC
[12:56:48] *** Schtive has joined #angularjs
[12:57:05] *** platonic has quit IRC
[12:57:45] <setec> CocoStorm sounds like misuse of ui-router, can show a code?
[12:58:18] *** dnewkerk has joined #angularjs
[12:58:34] *** wd40s has quit IRC
[12:58:37] *** Latros-OS has quit IRC
[12:58:43] *** stephanbuys has quit IRC
[12:58:45] *** matthoiland has joined #angularjs
[12:59:03] <setec> probably u have controller conflict, cos ui router and ur custom function both watch location and fight each other
[12:59:12] *** Efrem has joined #angularjs
[12:59:44] <CocoStorm> setec, codes pretty big and complicated hmm it's only calling one controlller
[12:59:55] *** g3funk has quit IRC
[13:00:23] *** tarnus has joined #angularjs
[13:00:24] *** red_horned_rihno has quit IRC
[13:00:51] <CocoStorm> it works if I don't click on different navbar elements one after the other isntantly
[13:01:08] *** g3funk has joined #angularjs
[13:02:57] *** JohnFree has joined #angularjs
[13:03:23] *** matthoiland has quit IRC
[13:04:10] <JohnFree> Hi guys. I've a simple question: When I'm doing an alert() within a factory-method and call this method out of a controller I get this error: "Error: [$rootScope:inprog]" why?
[13:04:15] *** Skrypter has quit IRC
[13:04:30] *** dannyc has quit IRC
[13:04:30] <CocoStorm> setec, i'm confused
[13:05:03] *** dannyc has joined #angularjs
[13:05:38] *** oller_ has joined #angularjs
[13:05:38] *** dannyc has quit IRC
[13:05:52] *** dannyc has joined #angularjs
[13:06:08] *** mityaz has quit IRC
[13:06:25] *** dannyc has quit IRC
[13:06:29] <sacho_> JohnFree, what's the method and where are you calling it?
[13:06:35] <CocoStorm> anyone?
[13:06:56] <ClearsTheScreen> CocoStorm: then one approach is to simplify the code to make reasoning about it easier. also, one way to avoid it is to abort outstanding requests for the first click when the next click comes.
[13:07:25] *** dannyc has joined #angularjs
[13:07:27] <CocoStorm> ClearsTheScreen, how do I abort outstanding requests?
[13:07:39] <JohnFree> sacho_: The method is "ManageDBFactory.storeContactsToFile("test");" and I'm calling it in a asynchronous callback of an $http.get()-request within a controller
[13:07:57] <sacho_> when I asked what's the method I didn't really mean the name, I meant the code
[13:08:00] <ClearsTheScreen> i'm not sure; there should be some cancellation possible on the promise you got.
[13:08:28] <CocoStorm> ClearsTheScreen, I don't have promises I'm not sure how to use them
[13:08:37] *** AndreasLutro has joined #angularjs
[13:09:03] *** akrikos has joined #angularjs
[13:09:21] <JohnFree> sacho_: Wait a second please
[13:09:23] *** tangorri has quit IRC
[13:09:50] *** pillage has quit IRC
[13:10:41] <CocoStorm> ClearsTheScreen, I'll have a read thanks
[13:10:59] *** intellix has quit IRC
[13:11:25] *** Artagan has quit IRC
[13:12:04] <JohnFree> sacho_: http://plnkr.co/edit/mLWp5yYXC1DkT9IIJJ6c?p=preview
[13:12:18] *** dnewkerk has quit IRC
[13:12:39] *** motionman has quit IRC
[13:12:44] *** mityaz has joined #angularjs
[13:13:05] *** mandric has quit IRC
[13:13:57] *** michaelchum_ has quit IRC
[13:14:34] <sacho_> so where are you getting this error?
[13:14:35] *** Artagan has joined #angularjs
[13:14:52] <setec> CocoStorm without code it is hard to tell
[13:14:55] *** ccohn has joined #angularjs
[13:15:34] <merpnderp> I read a blurb somewhere that angular 1.x only had 2 years of support and that angualr 2 was going to have lots of breaking changes. Anyone know where I can read what's going on?
[13:15:46] <JohnFree> sacho_: I updated: http://plnkr.co/edit/mLWp5yYXC1DkT9IIJJ6c?p=preview
[13:16:15] *** Sawbones has joined #angularjs
[13:16:18] <sacho_> there's no error
[13:16:31] <JohnFree> sacho_: I'm getting the error in listCtrl.js in the asynchronous callback function
[13:16:34] <JohnFree> sacho_: I updated
[13:16:40] <JohnFree> http://plnkr.co/edit/mLWp5yYXC1DkT9IIJJ6c?p=preview
[13:16:44] *** mennea has quit IRC
[13:16:47] <JohnFree> Please refresh the page
[13:16:57] *** zemanel has quit IRC
[13:17:21] *** mennea has joined #angularjs
[13:17:24] *** mmealling has joined #angularjs
[13:17:52] *** zemanel has joined #angularjs
[13:17:56] <JohnFree> sacho_: I'm using Firefox and there the problem occurs
[13:17:57] *** howzus has joined #angularjs
[13:18:01] *** juampy has quit IRC
[13:18:06] *** WaT has joined #angularjs
[13:18:26] <JohnFree> sacho_: It says "Error: [$rootScope:inprog]"
[13:18:27] *** deyno has quit IRC
[13:19:02] *** ccohn has quit IRC
[13:19:10] *** dannyc has quit IRC
[13:19:43] *** dannyc has joined #angularjs
[13:20:00] <JohnFree> I'm really desperate. Why can't anybody tell me what's wrong with my code
[13:20:17] *** rob_parkhill has joined #angularjs
[13:20:28] <sacho_> because I'm not getting any error
[13:20:52] *** Sawbones has quit IRC
[13:20:53] *** cakirke has quit IRC
[13:21:29] <JohnFree> sacho_: Because you're not getting one it doesn't mean that there is no error. Could you please use Firefox so that you can see what I mean? Otherwise you can't help me
[13:21:45] *** jonnyynnoj has joined #angularjs
[13:21:49] *** josh-k_ has joined #angularjs
[13:21:58] <JohnFree> sacho_: It doesn't help me if you're using a different browser than me
[13:22:23] <ClearsTheScreen> yw and good luck, CocoStorm :)
[13:22:30] <JohnFree> sacho_: I'm desperately trying to tell somebody what my problem is for 8 hours now, and still noone has a clue
[13:22:35] *** foofoobar has joined #angularjs
[13:23:00] <BahamutWC|Laptop> JohnFree: can you reproduce it in plunker?
[13:23:02] *** howzus has quit IRC
[13:23:10] *** molik has quit IRC
[13:23:55] <JohnFree> BahamutWC|Laptop: I did reproduce it, but to see the error you've to use Firefox: http://plnkr.co/edit/mLWp5yYXC1DkT9IIJJ6c?p=preview
[13:24:00] <sacho_> JohnFree, you just told me what browser you were using
[13:24:04] <sacho_> I'm not psychic
[13:24:44] <JohnFree> sacho_: Yeah. I know that the problem doesn't appear in Chrome. But because it doesn't appear in Chrome it doesn't mean that there is no error. Than Chrome isn't able to catch that error
[13:24:59] *** jjasonclark has joined #angularjs
[13:25:06] <BahamutWC|Laptop> I’m not seeing an error
[13:25:19] <JohnFree> BahamutWC|Laptop: Which browser and which version are you using?
[13:25:21] *** molik has joined #angularjs
[13:25:24] *** josh-k has quit IRC
[13:25:26] *** Left_Turn has joined #angularjs
[13:25:31] *** fixl has joined #angularjs
[13:25:32] <BahamutWC|Laptop> Firefox 28
[13:25:52] <JohnFree> BahamutWC|Laptop: I'm using Firefox 33.0.2
[13:26:07] <JohnFree> Could please anybody install Firefox 33.0.2 and see my problem?
[13:26:12] *** Chroder has quit IRC
[13:26:13] <JohnFree> I'm really getting crazy.
[13:26:14] *** patric100e99 has joined #angularjs
[13:26:22] *** d10n-work has joined #angularjs
[13:26:33] <BahamutWC|Laptop> I just updated to 33 and I don’t see it either
[13:27:27] <BahamutWC|Laptop> also please calm down - I think the hyperness/edginess might detract people from wanting to help
[13:28:08] <JohnFree> BahamutWC|Lapto: 1) Please refresh the page "http://plnkr.co/edit/mLWp5yYXC1DkT9IIJJ6c?p=preview" with Strg+F5 2) Please Stop Run 3) Please Start Run and look at Strg+Shift+I (Console)
[13:28:41] *** Artagan has quit IRC
[13:29:11] *** MrBaboon has joined #angularjs
[13:29:15] *** tristanp has joined #angularjs
[13:29:22] *** cswelin has quit IRC
[13:29:23] *** kalehv has quit IRC
[13:30:34] <BahamutWC|Laptop> hm, this does appear to be a browser bug
[13:30:39] *** patric100e99 has quit IRC
[13:30:44] *** Txandy has joined #angularjs
[13:31:07] <BahamutWC|Laptop> too bad Firefox swallows the stack traces...
[13:31:13] *** jlebrech has quit IRC
[13:31:14] *** mccarrontr1ck has joined #angularjs
[13:31:53] *** Latros-OS has joined #angularjs
[13:32:03] <JohnFree> BahamutWC|Laptop: http://i.imgur.com/npqpcf6.png?1
[13:32:24] *** Fishy has quit IRC
[13:32:28] <JohnFree> BahamutWC|Laptop: So you now get the same error right?
[13:32:29] *** lemur has quit IRC
[13:32:31] <BahamutWC|Laptop> right, but the stack trace is swallowed - I can’t see what lines it went through
[13:32:32] <BahamutWC|Laptop> yes
[13:32:44] *** ytsejam has quit IRC
[13:32:46] <JohnFree> BahamutWC|Laptop: Thanks god. Finally someone who sees my problem :)
[13:32:57] *** Fishy has joined #angularjs
[13:33:00] *** lemur has joined #angularjs
[13:33:01] <JohnFree> BahamutWC|Laptop: You're the first person who achieved this
[13:33:25] *** jjasonclark has quit IRC
[13:33:27] <sacho_> firefox is terrible.
[13:33:50] *** MrBaboon has quit IRC
[13:33:50] *** foofoobar_ has joined #angularjs
[13:33:50] *** mandric has joined #angularjs
[13:33:53] <JohnFree> BahamutWC|Laptop: Can you tell me what's wrong with my code?
[13:33:59] <BahamutWC|Laptop> JohnFree: this appears to be because of the alert
[13:34:09] <JohnFree> BahamutWC|Laptop: Yeah, I know. But why?
[13:34:16] <BahamutWC|Laptop> if you switch alert to console.log in your ManageDBService.storeData, it works without the error
[13:34:19] *** naresh has joined #angularjs
[13:34:30] <JohnFree> BahamutWC|Laptop: I knew that. But what's the explanation for this problem?
[13:34:40] *** naresh has left #angularjs
[13:34:53] *** foofoobar has quit IRC
[13:34:53] *** foofoobar_ is now known as foofoobar
[13:35:04] <sacho_> Looks like firefox is buggy.
[13:35:05] *** wd40s has joined #angularjs
[13:35:09] <sacho_> it's resolving timeouts during the alert().
[13:35:12] <BahamutWC|Laptop> if I had to guess, it’s the blocking nature of alert
[13:35:17] *** _ritchie_ has joined #angularjs
[13:35:56] *** Mordecai has quit IRC
[13:35:56] *** guyz is now known as daynaskully
[13:35:57] <JohnFree> So the terrible thing is: I want to give my customer this product and I don't know whether it's a bug in my code or whether it's a bug in the browser. And for 8 hours noone can tell me that :(
[13:36:22] *** Mordecai has joined #angularjs
[13:36:43] *** jplussier has joined #angularjs
[13:36:45] *** bin has joined #angularjs
[13:36:50] *** bin has joined #angularjs
[13:37:00] <sacho_> it's a bug in the browser.
[13:37:02] <sacho_> don't use alerts.
[13:37:05] <jonnyynnoj> huh? you have been told..
[13:37:26] *** Fishy has quit IRC
[13:37:26] *** cswelin has joined #angularjs
[13:37:29] <BahamutWC|Laptop> alerts are bad anyway
[13:37:48] <JohnFree> sacho_: So a bug in the Browser :D. Now I'm happy
[13:38:05] *** scythe__ has joined #angularjs
[13:38:32] *** shpoont__ has quit IRC
[13:38:47] <sacho_> JohnFree, here you go, the same bug: http://jsfiddle.net/3cfm5yw3/
[13:38:58] *** shpoont__ has joined #angularjs
[13:39:29] <BahamutWC|Laptop> yikes that’s brutal
[13:39:52] <JohnFree> sacho_: In that example I don't get any error
[13:39:59] *** fedenunez has joined #angularjs
[13:40:15] <BahamutWC|Laptop> hm, actually, I get the same behavior from Chrome and Firefox there
[13:41:04] *** jplussier has quit IRC
[13:41:05] <JohnFree> So but you guys say that there is nothing wrong with my code if I let out alert(), right?
[13:41:17] *** e0ipso is now known as e0ipso|away
[13:41:18] *** anivemin has joined #angularjs
[13:41:28] *** g3funk is now known as braidn
[13:41:30] <BahamutWC|Laptop> nope
[13:41:31] *** livingstn has joined #angularjs
[13:41:34] *** blomman has quit IRC
[13:41:41] <JohnFree> BahamutWC|Laptop: What nope?
[13:41:42] <BahamutWC|Laptop> you don’t want alert anyway
[13:41:56] *** blomman has joined #angularjs
[13:41:58] <JohnFree> BahamutWC|Laptop: He? You say that my code is not right?
[13:42:13] <BahamutWC|Laptop> no, I’m saying it should be fine without the alert
[13:42:25] *** dannyc has quit IRC
[13:42:30] <sacho_> BahamutWC|Laptop, I get 0 in chrome
[13:42:40] <BahamutWC|Laptop> sacho_: I also get 0 in Firefox
[13:42:45] <sacho_> must be a newer version
[13:42:56] <JohnFree> sacho_: Do you think that my code is right?
[13:43:11] <BahamutWC|Laptop> the code looks fine excepting the alert
[13:43:12] <sacho_> sure, but in general, don't use alert
[13:43:21] <JohnFree> sacho_: Ok. Now I'm happy :D
[13:43:54] *** thirdknife has quit IRC
[13:44:10] *** e0ipso|away is now known as e0ipso
[13:44:12] *** danecando has quit IRC
[13:44:18] *** D9 has quit IRC
[13:44:31] *** deyno has joined #angularjs
[13:44:39] *** _unary has joined #angularjs
[13:44:55] *** _unary has quit IRC
[13:45:04] *** DLSteve has joined #angularjs
[13:45:23] *** ytsejam has joined #angularjs
[13:45:48] *** anivemin has quit IRC
[13:46:46] *** travm has joined #angularjs
[13:46:46] *** mennea has quit IRC
[13:46:49] *** mvando has joined #angularjs
[13:47:04] <mvando> Hello everybody :)
[13:47:23] *** mennea has joined #angularjs
[13:47:44] *** DLSteve_ has quit IRC
[13:48:04] <mvando> I need some help understanding angular.js, just to put me in the right direction, is this channel helpful if i has questions or should i take another channel ?
[13:48:18] *** AngularUI has joined #angularjs
[13:48:18] <AngularUI> [bootstrap] suyash1208 opened pull request #2912: feat(typeahead): scroll list when traversing it using arrow keys (master...master) http://git.io/LfUb-A
[13:48:18] *** AngularUI has left #angularjs
[13:48:39] *** laurensc_ has joined #angularjs
[13:49:05] <jaydubya> Even though I am removing the class of active on blur, the input remains (leaving the border). Is there anything else I need to do to return the element to its original state (with the updated value)? http://plnkr.co/edit/7WzMIxHx3xEuwY6OswY2?p=preview
[13:49:12] *** tangorri has joined #angularjs
[13:49:48] *** laurensclaessen has quit IRC
[13:50:33] *** lite_ has quit IRC
[13:50:39] *** marshall_ has quit IRC
[13:50:53] *** MANCHUCK has quit IRC
[13:51:25] *** lite_ has joined #angularjs
[13:51:33] <sacho_> JohnFree, what firefox version are you using?
[13:51:34] *** Sathya_ has joined #angularjs
[13:51:48] <Sathya_> hi friends
[13:51:50] *** phzon has quit IRC
[13:51:55] *** ctanga has joined #angularjs
[13:52:19] *** lite__ has joined #angularjs
[13:52:44] *** ozooner has quit IRC
[13:52:49] *** ozooner_ has joined #angularjs
[13:53:05] <Sathya_> i'm a front-end developer and i'm new from angularjs.
[13:53:08] *** jstroem has joined #angularjs
[13:53:21] *** nickk_ has quit IRC
[13:53:54] <BahamutWC|Laptop> jaydubya: http://plnkr.co/edit/Gloen4Z1OKWNVp0fvivs?p=preview
[13:54:12] <Sathya_> i don't know very well about javascript
[13:54:22] <jonnyynnoj> jaydubya: .prop is used to set a property value, it's not an event listener
[13:54:38] <Sathya_> can anyone suggest me, how to start angularjs
[13:54:58] *** Mark__ has quit IRC
[13:55:06] *** Foxandxss has joined #angularjs
[13:55:06] *** gavit has quit IRC
[13:55:07] <jonnyynnoj> BahamutWC|Laptop: don't forget the $apply ;)
[13:55:23] *** mmealling has quit IRC
[13:55:44] *** ytsejam has quit IRC
[13:55:49] *** ssawickik has joined #angularjs
[13:55:50] <BahamutWC|Laptop> jonnyynnoj: oh yeah heh
[13:55:53] <BahamutWC|Laptop> updated
[13:55:55] *** lite_ has quit IRC
[13:55:59] <jaydubya> BahamutWC|Laptop: Thanks! I don't see what you changed and would like to learn
[13:56:31] <BahamutWC|Laptop> inputElement.prop(‘onblur’, function () { … }) to inputElement.on(‘blur’, function () { … })
[13:56:31] <jonnyynnoj> tbh he'd be better using the editing value to toggle the class anyway
[13:56:46] <BahamutWC|Laptop> yeah the better approach would be to use ng-class
[13:57:16] *** mmeallin_ has joined #angularjs
[13:57:32] *** resu01 has joined #angularjs
[13:57:52] *** cornerma1 has joined #angularjs
[13:57:53] *** cuebix-wk has joined #angularjs
[13:58:06] *** mandric has quit IRC
[13:58:39] <jaydubya> better as in my code is wrong and I should change it or better as in if you knew as much as we do, you'd do it this way?
[13:58:45] *** tkimmel has joined #angularjs
[13:59:48] *** zB0hs has joined #angularjs
[14:00:15] *** sk87 has quit IRC
[14:00:29] <jaydubya> I ask because I am going to be using this technique ALOT in a view and would like to do it right
[14:00:30] *** ccohn has joined #angularjs
[14:00:32] <BahamutWC|Laptop> in general, you should use single responsibility directives as much as possible - ng-class’s purpose is for toggling the class
[14:00:42] <BahamutWC|Laptop> ng-blur is also used for event listeners on the blur event
[14:00:47] *** cornerman has quit IRC
[14:00:52] *** cornerma1 is now known as cornerman
[14:00:53] *** WaT has quit IRC
[14:01:27] *** narutimateum2 has joined #angularjs
[14:01:52] *** loverajoel has joined #angularjs
[14:02:10] *** jjasonclark has joined #angularjs
[14:02:18] *** azizur has quit IRC
[14:02:22] *** aendrew has quit IRC
[14:02:29] <jaydubya> so, the change would be in the template of the directive? or are you saying don't create a directive and just use ng-blur and ng-class?
[14:02:38] *** narutimateum has quit IRC
[14:02:49] *** bayousoft has joined #angularjs
[14:02:56] *** JohnFree has quit IRC
[14:03:50] *** jjasonclark has quit IRC
[14:04:03] *** jdcasey has joined #angularjs
[14:04:04] *** jdcasey has joined #angularjs
[14:04:45] *** macobo has quit IRC
[14:05:39] *** svycka has joined #angularjs
[14:05:41] *** mcwhiney has quit IRC
[14:06:05] *** Somatt_wrk has quit IRC
[14:06:13] *** hecatonicosachor has joined #angularjs
[14:06:32] *** Somatt_wrk has joined #angularjs
[14:06:59] *** mandric has joined #angularjs
[14:07:01] *** Artagan has joined #angularjs
[14:07:18] *** Sathya_ has quit IRC
[14:07:29] <jonnyynnoj> jaydubya: you should use angular's directives where you can. in this case you can use ng-show and ng-blur
[14:07:30] <jonnyynnoj> http://plnkr.co/edit/r87t7YCoWrXJw2uAgryA?p=preview
[14:07:51] *** jeffszusz has joined #angularjs
[14:07:57] *** ssawickik has quit IRC
[14:08:52] <jaydubya> jonnyynnoj: damn, that's smooth. Give me another 3 years and I'll be able to create stuff like that ... thanks!
[14:09:24] *** oller_ has quit IRC
[14:09:25] <Fifty5Plus> i have a layout with left/center/right panels, each with header/body/footer (for a total of nine pieces) and in various cases i would like to hide left or right panels and/or footers or headers ... all of this hiding is context/data dependent ... using ui-router, do i have a state for every possible combination or do i simply show/hide various pieces?
[14:09:25] *** sacho_ has quit IRC
[14:09:53] <jaydubya> I get overwhelmed in a specific task and quickly forget there are in place solutions that I can use and only "reinvent the wheel" when I absolutely have to
[14:10:15] *** Sawbones has joined #angularjs
[14:10:54] *** Helious has joined #angularjs
[14:11:23] <jaydubya> my brain thinks: "Angular can't do that yet so create something" and I just starting thinking in jQuery and keep adding stuff until it works ... I NEED TO GET BETTER AT THIS!
[14:11:26] *** Mark__ has joined #angularjs
[14:12:23] <jonnyynnoj> yeah you've gotta refrain from the jquery methods
[14:12:29] <jonnyynnoj> maybe put £1 in a jar everytime you do ;)
[14:12:34] *** ProLoser has joined #angularjs
[14:13:06] *** Shai-Tan has quit IRC
[14:13:15] *** howzus has joined #angularjs
[14:13:28] *** DigitallyBorn has joined #angularjs
[14:13:34] *** oller has joined #angularjs
[14:13:44] *** RangerRick has quit IRC
[14:14:54] *** Sawbones has quit IRC
[14:15:10] *** cboden has joined #angularjs
[14:15:12] *** lite__ has quit IRC
[14:15:28] *** danecando has joined #angularjs
[14:15:28] *** ytsejam has joined #angularjs
[14:15:40] *** lite_ has joined #angularjs
[14:15:55] *** FIFOd[a] has joined #angularjs
[14:16:05] *** Beatzebub has quit IRC
[14:16:14] *** narutimateum2 has quit IRC
[14:16:31] *** bkuberek has joined #angularjs
[14:16:31] *** Beatzebub has joined #angularjs
[14:16:52] *** ProLoser has quit IRC
[14:17:02] *** dsdeiz_ has quit IRC
[14:17:50] *** DanielKarp has joined #angularjs
[14:18:09] *** HelperW has quit IRC
[14:19:30] *** jillesme has joined #angularjs
[14:20:32] *** zivester has joined #angularjs
[14:21:23] *** jheady has joined #angularjs
[14:21:35] *** jheady has left #angularjs
[14:21:38] *** ome has quit IRC
[14:22:01] *** arpu has quit IRC
[14:22:08] *** zeroquake has joined #angularjs
[14:22:18] *** Browser_ has joined #angularjs
[14:22:58] *** bkuberek has quit IRC
[14:23:13] *** deyno has quit IRC
[14:23:45] *** MANCHUCK has joined #angularjs
[14:24:07] *** frkout has joined #angularjs
[14:24:13] *** bkuberek has joined #angularjs
[14:24:24] *** phzon has joined #angularjs
[14:24:50] *** frkout_ has joined #angularjs
[14:25:40] *** Browser has quit IRC
[14:25:53] *** taybin has joined #angularjs
[14:26:02] *** richiebkr has joined #angularjs
[14:26:38] *** mupkoo has joined #angularjs
[14:27:41] *** jillesme has quit IRC
[14:27:41] *** jillesme has joined #angularjs
[14:27:43] *** sk87 has joined #angularjs
[14:27:59] <maraneta> is there a way to change behavior for each iteration in ng-repeat?
[14:28:07] *** e0ipso is now known as e0ipso|away
[14:28:22] *** lemur has quit IRC
[14:28:27] *** annlewis has joined #angularjs
[14:28:30] *** pose has joined #angularjs
[14:28:41] *** frkout has quit IRC
[14:28:58] *** soee has quit IRC
[14:29:00] *** lemur has joined #angularjs
[14:29:28] *** e0ipso|away is now known as e0ipso
[14:29:42] *** travm is now known as travm-afk
[14:29:46] *** reuf has quit IRC
[14:29:53] *** Benstr has joined #angularjs
[14:30:24] *** richiebkr has quit IRC
[14:30:42] *** travm-afk has quit IRC
[14:30:49] *** intellix has joined #angularjs
[14:31:04] *** m8 has quit IRC
[14:31:12] *** pose has quit IRC
[14:31:14] *** greengriminal has quit IRC
[14:31:39] *** pose has joined #angularjs
[14:31:43] *** m8 has joined #angularjs
[14:32:01] *** grumpyOldRussian has quit IRC
[14:32:07] *** aendrew has joined #angularjs
[14:32:14] *** darrin has joined #angularjs
[14:32:36] *** Siecje has joined #angularjs
[14:32:49] <ctanga> happy friday
[14:33:11] *** hecatonicosachor is now known as sacho
[14:33:37] *** rob_parkhill has quit IRC
[14:33:50] *** AmundNygaard has joined #angularjs
[14:34:14] *** gordroidJS has joined #angularjs
[14:34:18] *** BillCriswell has joined #angularjs
[14:34:42] <setec> jaydubya thats typical, just forbid urself to use jquery
[14:34:57] *** foofoobar has quit IRC
[14:35:01] *** MJD has quit IRC
[14:35:08] <setec> helped me to fight urge to make jquery workarounds instead of learning proper angular way
[14:35:13] *** jeffisabelle has joined #angularjs
[14:35:14] *** mbenadda has joined #angularjs
[14:36:00] *** _ritchie_ has quit IRC
[14:36:28] *** pose has quit IRC
[14:36:29] *** mennea has quit IRC
[14:36:49] <jaydubya> setec: that's what I am trying to do but I've been doing the jQuery Spaghetti for so long, it gets in the way ... but I am getting better every day thanks to this room and egghead and about 7 books and 3 online courses ... LOL
[14:37:09] *** mennea has joined #angularjs
[14:37:11] <Foxandxss> Soon I will be a mentor in codementor :P
[14:37:16] *** knownasilya has joined #angularjs
[14:37:29] <jaydubya> is codementor like airpair?
[14:37:40] *** fbenoit has joined #angularjs
[14:37:41] <Foxandxss> probably yeah
[14:37:48] *** mary5030 has joined #angularjs
[14:38:05] <jaydubya> looking it up
[14:38:44] *** krawek has joined #angularjs
[14:39:04] <jaydubya> ruby only?
[14:39:09] <Foxandxss> no
[14:39:13] <Foxandxss> everything
[14:39:21] *** cboden has quit IRC
[14:39:48] *** cheef has joined #angularjs
[14:40:17] *** kp666 has quit IRC
[14:40:43] *** elrabin has joined #angularjs
[14:40:47] <cheef> is there anyway to do double interpolation? ive got a string that gets put into a label, but i'd like the string to be able to contain valid angular expressions that also get evaluated...
[14:40:52] *** platonic has joined #angularjs
[14:41:04] <Foxandxss> never saw that :P
[14:41:36] *** krawek has left #angularjs
[14:41:51] *** gordroidJS1 has joined #angularjs
[14:42:14] *** grumpyOldRussian has joined #angularjs
[14:42:30] *** mven has joined #angularjs
[14:42:56] *** travm has joined #angularjs
[14:43:32] *** Aerospark has joined #angularjs
[14:43:38] <thomastuts> Foxandxss: codementor is awesome, i'm a mentor there too
[14:43:46] <Foxandxss> yeah, saw it
[14:43:50] <Foxandxss> you have a lot of sessions already
[14:43:53] <thomastuts> sometimes people post really shitty requests though
[14:43:55] <thomastuts> like
[14:44:11] <thomastuts> 20-30$ per hour and what they're asking is basically like 'develop this thing for me'
[14:44:17] *** janoelze_______ is now known as janoelze
[14:44:49] *** fbenoit has quit IRC
[14:44:50] *** RangerRick has joined #angularjs
[14:44:50] <Foxandxss> I see, I don't know if that is good or bad :P
[14:45:18] *** platonic has quit IRC
[14:45:37] *** moritzs has joined #angularjs
[14:45:45] *** sahbeewah has joined #angularjs
[14:45:52] *** gordroidJS has quit IRC
[14:45:58] *** rob_parkhill has joined #angularjs
[14:46:11] *** sahbeewah has quit IRC
[14:46:22] <thomastuts> in my opinion it's pretty bad
[14:46:39] <Foxandxss> that is how that sound
[14:46:44] <thomastuts> mostly for two reasons, the most important one being that you're not going to teach those people anything, you'll basically do their work for them
[14:46:44] <ClearsTheScreen> Foxandxss: the platform is geared around "mentor me", not around "be my contractor to build software". and have to decide for yourself if you believe if $30/h are an acceptable price for software development services
[14:46:58] <Foxandxss> I guess you get a request about X and you can say yes or not
[14:47:08] *** rob_parkhill has quit IRC
[14:47:08] *** juampy has joined #angularjs
[14:47:08] <thomastuts> yeah you get a bunch of requests every week or so
[14:47:14] <Foxandxss> ClearsTheScreen: yeah, but the idea is not always what you get :P
[14:47:15] <thomastuts> either one-off requests or long-term ones
[14:47:24] <thomastuts> i'm doing a long term one now
[14:47:24] *** lolmaus has quit IRC
[14:47:30] *** matthoiland has joined #angularjs
[14:47:39] *** rob_parkhill has joined #angularjs
[14:47:46] <thomastuts> by the way Foxandxss you inspired me to start blogging too :D
[14:47:49] *** lolmaus has joined #angularjs
[14:48:00] <Foxandxss> that is great
[14:48:04] <ClearsTheScreen> Foxandxss: true; but that doesn't necessarily make it a "good thing" :)
[14:48:07] *** pillage has joined #angularjs
[14:48:11] <thomastuts> going to write an article tonight about gulp i think
[14:48:11] <Foxandxss> ClearsTheScreen: clearly not
[14:48:14] *** Aerospark has quit IRC
[14:48:49] <Foxandxss> well, lets see how this mentor thing goes, the owner invited me
[14:49:10] <ClearsTheScreen> good luck! :)
[14:49:30] <Foxandxss> thomastuts: and mostly, screen share? video? text?
[14:49:31] *** Nizumzen has joined #angularjs
[14:49:41] <thomastuts> Foxandxss: ah, weiting sent you a mail?
[14:49:49] <Foxandxss> yeah
[14:49:50] <thomastuts> that's how i found out about codementor too :D
[14:50:21] <thomastuts> i do screen sharing btw
[14:50:35] <thomastuts> but i use screenhero instead of codementor's screen sharing
[14:50:44] <thomastuts> i find that screenhero is a lot easier to use
[14:50:48] <Foxandxss> yeah, screenhero has no competence
[14:50:51] <Foxandxss> I used it a lot
[14:50:54] <thomastuts> also avoids a couple of annoying bugs that teamviewer has for example
[14:50:56] <Foxandxss> still use it :P
[14:50:58] <zomg> No competence? :D
[14:51:10] <zomg> That's the same as saying it sucks
[14:51:18] *** shpoont__ has quit IRC
[14:51:18] <Foxandxss> not in my country
[14:51:20] *** m8 has quit IRC
[14:51:22] *** tomzx`afk is now known as tomzx
[14:51:32] <zomg> I think maybe you meant no competition :)
[14:51:36] <thomastuts> i guess the word you were looking for is competition :D
[14:51:42] <Foxandxss> zomg:indeed
[14:51:42] *** m8 has joined #angularjs
[14:51:44] <Foxandxss> my bad
[14:51:47] *** shpoont__ has joined #angularjs
[14:51:55] <zomg> haha no worries, just thought it was funny :)
[14:51:58] *** bin has quit IRC
[14:52:04] <zomg> easy mistake to make for sure
[14:52:10] *** matthoiland has quit IRC
[14:52:14] *** sk87 has quit IRC
[14:52:26] *** MistahKurtz has joined #angularjs
[14:52:58] *** rtpg has joined #angularjs
[14:53:05] *** MJD has joined #angularjs
[14:53:08] *** michaelfavia has joined #angularjs
[14:53:16] *** FalsePozitive has joined #angularjs
[14:53:20] *** sk87 has joined #angularjs
[14:54:48] *** edzez_ is now known as edzez
[14:54:53] <Foxandxss> lunch time
[14:55:12] <zomg> Been trying to help my gf, she's learning finnish.. holyshititsdifficult
[14:55:22] <zomg> I mean I'm a native but I still can't explain how our crazy grammar works
[14:55:23] <zomg> :D
[14:55:27] *** JSONB has joined #angularjs
[14:55:29] <sash> :D
[14:56:59] *** michaelSharpe has joined #angularjs
[14:57:04] *** marshall_ has joined #angularjs
[14:57:07] *** VeeWee has quit IRC
[14:57:15] *** anivemin has joined #angularjs
[14:57:22] <scythe__> where is your gf from zomg?
[14:57:40] *** blomman has quit IRC
[14:57:42] *** joleal has quit IRC
[14:57:51] *** shpoont__ has quit IRC
[14:58:12] *** blomman has joined #angularjs
[14:58:19] *** shpoont has joined #angularjs
[14:58:41] <iivvoo> I have this code: http://dpaste.com/3K6PTF7
[14:58:41] *** CodeFriar has joined #angularjs
[14:59:02] <iivvoo> using it results in "Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!"
[14:59:04] *** mogaj has quit IRC
[14:59:10] *** bbankes has quit IRC
[14:59:30] <BahamutWC> iivvoo: that is because you are returning a new object each time
[14:59:31] *** mary5030 has quit IRC
[14:59:45] *** oller has quit IRC
[14:59:52] *** IvailoStoianov_ has joined #angularjs
[15:00:10] <iivvoo> BahamutWC, ah... hmm
[15:00:22] <BahamutWC> maybe do $scope.$watch(function () { var notification = scope.notifier.notification(); return [ notification.type, notification.message ]; }, ...
[15:00:41] <BahamutWC> you can also switch to $watchCollection if you do it this way
[15:00:52] <iivvoo> just noticed it's broken in another way as well but your hint makes sense, hold on
[15:01:01] *** Fishy has joined #angularjs
[15:01:08] <jonnyynnoj> wont that have the same issue? returning a new array each time
[15:01:09] *** FunnyLookinHat has joined #angularjs
[15:01:11] *** laurensc_ has quit IRC
[15:01:11] <BahamutWC> yeah, it's because it is comparing via === essentially
[15:01:19] *** frkout_ has quit IRC
[15:01:21] *** Fishy has quit IRC
[15:01:23] *** marshall_ has quit IRC
[15:01:30] *** sk87 has quit IRC
[15:01:32] *** IvailoStoianov has quit IRC
[15:01:36] *** DoubleAW has joined #angularjs
[15:01:41] *** IvailoStoianov_ is now known as IvailoStoianov
[15:01:45] <iivvoo> yeah works like a charm now, thanks
[15:01:46] *** fbenoit has joined #angularjs
[15:01:54] *** Fishy has joined #angularjs
[15:02:18] *** anivemin has quit IRC
[15:02:33] *** shinnya has joined #angularjs
[15:02:55] *** bphogan has joined #angularjs
[15:03:19] *** laurensclaessen has joined #angularjs
[15:03:30] *** taybin has quit IRC
[15:03:47] *** jstroem has quit IRC
[15:04:01] *** AWAW has quit IRC
[15:04:22] *** jstroem has joined #angularjs
[15:04:31] *** Bade has joined #angularjs
[15:04:35] *** Sawbones has joined #angularjs
[15:05:21] *** Bade has quit IRC
[15:05:38] <zomg> scythe__: vietnam
[15:05:41] <BahamutWC> jonnyynnoj: how angular does it is it iterates over the elements of the array
[15:05:59] <scythe__> zomg: vietnamese -> finnish good luck hahaha
[15:06:10] <BahamutWC> note: this is only when you pass $watch(..., ..., true)
[15:06:31] <zomg> scythe__: definitely a challenge :) vietnamese is similar in that it's also a phonetic language I think
[15:06:31] *** mennea has quit IRC
[15:06:34] <jonnyynnoj> yeah ignore my comment, missed the $watchCollection bit
[15:06:48] *** pillage_ has joined #angularjs
[15:06:59] <BahamutWC> it's a bit of a funky workaround for angular
[15:07:09] *** mennea has joined #angularjs
[15:07:11] *** FalsePozitive has quit IRC
[15:07:15] <lolmaus> I've got a controller Foo. Inside that controller's template, there's a div and a bunch of thumbnails is generated with ng-repeat inside that div. Each thumbnail is directive Bar. I would like to apply a jQuery plugin to that div. How do i do it properly from the controller?
[15:07:25] *** cboden has joined #angularjs
[15:07:26] <BahamutWC> but the whole $watch system is a hack around lack of O.o heh
[15:07:30] *** ggherdov_ has quit IRC
[15:07:31] *** ggherdov_ has joined #angularjs
[15:07:31] *** ggherdov_ has joined #angularjs
[15:07:36] *** dman777_alter has joined #angularjs
[15:07:41] *** ggherdov_ is now known as ggherdov
[15:07:44] <BahamutWC> lolmaus: create a directive and use it on that element
[15:07:50] <BahamutWC> do the jquery inside of the directive
[15:07:59] *** pillage has quit IRC
[15:08:01] *** ssawickik has joined #angularjs
[15:08:29] *** Bade has joined #angularjs
[15:08:31] *** Zeioth has joined #angularjs
[15:08:38] *** iateadonut has joined #angularjs
[15:08:53] *** jstroem has quit IRC
[15:09:05] *** DoubleAW has quit IRC
[15:09:11] <lolmaus> BahamutWC: thx! How do i reference the element from inside its directive?
[15:09:12] *** jasonp has joined #angularjs
[15:09:16] *** iateadonut has joined #angularjs
[15:09:23] <thomastuts> lolmaus: $element
[15:09:24] *** Sawbones has quit IRC
[15:09:30] *** azizur has joined #angularjs
[15:09:31] *** DoubleAW has joined #angularjs
[15:09:38] <BahamutWC> link: function (scope, element, attrs) { ... }
[15:09:43] <BahamutWC> element will be a jquery wrapped instance
[15:09:58] *** shackleford has joined #angularjs
[15:09:58] <thomastuts> you can also inject $element inside the directive's controller function
[15:10:08] <BahamutWC> true, but directives are far cleaner :)
[15:10:26] <thomastuts> oh no for sure create a directive
[15:10:32] *** ozooner__ has joined #angularjs
[15:10:32] <thomastuts> i wasn't implying that he should do it in the controller
[15:10:41] <lolmaus> thomastuts: BahamutWC: thank you.
[15:10:46] <BahamutWC> I think the availability of $element was meant more for directive controllers
[15:11:03] *** ozooner_ has quit IRC
[15:11:04] <thomastuts> BahamutWC: yeah that's what i meant, so he can access the DOM element inside the directive's controller
[15:11:11] *** nickBek has joined #angularjs
[15:11:29] <thomastuts> maybe my $element reply was a little terse :D
[15:11:31] *** shackleford has quit IRC
[15:11:38] <BahamutWC> it's alright heh
[15:11:56] <thomastuts> does anyone have any experience using ghost as a code blogging platform?
[15:12:04] <thomastuts> any other alternatives i should be aware of?
[15:12:05] <BahamutWC> I kinda like Ghost
[15:12:05] *** shackleford has joined #angularjs
[15:12:23] <BahamutWC> only reason I'm not actually using it in production is because AWS seems to hate me when I try scp
[15:12:41] <jaydubya> This is an oversimplified app to use for my question. The item's total column is a calculation coded in the view in the binding which I guess is standard for simple calcs. I have calculations that use 14 columns of data and if I included all of them in the view, the view would be 2k lines long. Is there a way to extract that formula from the view and still have the app as responsive as it it meaning changing the qty
[15:12:41] <jaydubya> in an item give immediate update. http://plnkr.co/edit/6Ntwdrb0L5FArylAbYau?p=preview
[15:12:48] <BahamutWC> maybe that's my noobishness with AWS speaking though
[15:13:19] *** bmac has joined #angularjs
[15:13:30] *** bkuberek_ has joined #angularjs
[15:13:42] *** sirkitree|afk|af is now known as sirkitree
[15:13:48] *** sirkitree is now known as sirkitre|ooo
[15:13:49] *** aendrew has quit IRC
[15:13:52] *** Efrem is now known as Efrem-Away
[15:14:04] <thomastuts> BahamutWC: i see, i'm using digital ocean for now
[15:14:16] <thomastuts> seems to do the trick
[15:14:23] <BahamutWC> jaydubya: for bindings, you should use ng-model syntax and not ng:model
[15:14:42] <BahamutWC> I saw a weird jqLite bug related to using the xml syntax
[15:15:10] <BahamutWC> otherwise hmm
[15:15:18] *** dcherman has joined #angularjs
[15:15:19] <BahamutWC> have you seen performance problems?
[15:15:37] *** bkuberek has quit IRC
[15:15:40] *** sandelius has quit IRC
[15:16:00] *** MistahKurtz has quit IRC
[15:16:22] *** tsalb has joined #angularjs
[15:16:25] *** jlambert121 has quit IRC
[15:16:54] *** aendrew has joined #angularjs
[15:17:15] *** Dido has quit IRC
[15:17:55] *** MrBaboon has joined #angularjs
[15:18:31] *** sk87 has joined #angularjs
[15:18:47] *** tomzx is now known as tomzx`afk
[15:19:04] *** DigitallyBorn has quit IRC
[15:19:10] *** mrogne is now known as mrogne_afk
[15:19:13] *** nagappan_ has quit IRC
[15:19:45] *** nagappan_ has joined #angularjs
[15:20:01] *** jasonp has quit IRC
[15:20:06] *** sekyms has joined #angularjs
[15:20:23] *** arpu has joined #angularjs
[15:20:32] *** grantfunke_ has joined #angularjs
[15:20:35] <jaydubya> BahamutWC: I just converted a jsFiddle for the example and didn't even notice that
[15:20:46] *** jasonp has joined #angularjs
[15:20:59] <sekyms> can I just do <tr ng-repeat="team in league.teams | orderBy:team.name:reverse" > or do I need something in my controller?
[15:21:46] <BahamutWC> jaydubya: ah gotcha
[15:21:57] <BahamutWC> but have you see performance issues with your app?
[15:22:19] <BahamutWC> sekyms: reverse being a variable on scope that's true or false?
[15:22:36] <sekyms> no variable on the scope
[15:22:37] <jaydubya> BahamutWC: are you asking me about performance issues?
[15:22:42] <sekyms> thought that was built in BahamutWC
[15:22:46] *** zivester has quit IRC
[15:22:47] <BahamutWC> also I think it's orderBy: 'team'
[15:22:51] <BahamutWC> could be wrong though
[15:22:59] <BahamutWC> err
[15:23:03] <BahamutWC> orderBy: 'name'*
[15:23:16] <sekyms> that would make more sense
[15:23:22] *** MrBaboon has quit IRC
[15:23:23] *** sandelius has joined #angularjs
[15:23:26] <BahamutWC> sekyms: the syntax is orderBy:property:true, where true is if you want it reversed
[15:23:31] <BahamutWC> default being false
[15:23:45] <sekyms> Ill try that
[15:23:46] <BahamutWC> each : represents another argument to the filter
[15:24:04] *** mary5030 has joined #angularjs
[15:24:09] <BahamutWC> it should either have a value or be an expression on scope that evaluates to a property
[15:24:22] *** JohnFree has joined #angularjs
[15:25:06] *** mary5030 has quit IRC
[15:25:28] <JohnFree> Hey guys. Can I store limitless data into "$cacheFactory" of Angular or is there any limit like it is with "localStorage" (max. 5MB)?
[15:25:38] <s3shs> I'm a little shocked I found a bug in bootstrap that was so obvious.
[15:25:45] <sekyms> BahamutWC: should this just sort without anything?
[15:25:49] <sekyms> because it's not
[15:26:13] *** jlebrech has joined #angularjs
[15:26:26] <BahamutWC> s3shs: as you understand more, you start to see more wtfs with libraries :)
[15:26:35] *** jr3 has joined #angularjs
[15:26:38] <jlebrech> i have bower with 1.2.16 and want to upgrade to 1.3.1, how do I do it?
[15:26:39] <s3shs> I guess.
[15:26:40] *** mary5030 has joined #angularjs
[15:26:42] *** bbankes has joined #angularjs
[15:26:54] *** fbenoit has quit IRC
[15:26:54] <BahamutWC> jlebrech: update your bower.json then run bower update angular
[15:26:57] <s3shs> I figured the well funded libs would have more test cases. We'll see if they accept the pull request.
[15:26:57] *** rtpg has quit IRC
[15:27:07] *** Mark__ has quit IRC
[15:27:17] <BahamutWC> true, but sometimes the test cases aren't good or there's a hole in it
[15:27:24] <BahamutWC> sometimes they're just not there
[15:27:31] <s3shs> Yeah. Fair 'nuf.
[15:27:31] *** ctanga has quit IRC
[15:27:40] *** m8 has quit IRC
[15:28:08] *** m8 has joined #angularjs
[15:28:17] <BahamutWC> sekyms: you have orderBy: 'name': true?
[15:28:23] <sekyms> BahamutWC: should I be using ngtable?
[15:28:27] <sekyms> yeah
[15:28:44] <BahamutWC> no need for another library
[15:28:50] <sekyms> <tr ng-repeat="team in league.teams | orderBy:name:true" >
[15:28:54] <jlebrech> BahamutWC: I see, i'm doing that, just got some errors to fix
[15:28:58] <jlebrech> :)
[15:29:07] *** Efrem-Away is now known as Efrem
[15:29:14] <BahamutWC> sekyms: hmm that looks correct
[15:29:24] <BahamutWC> can you try reproducing in plunker?
[15:29:32] <sekyms> jsfiddle ok?
[15:29:40] <BahamutWC> whatever works
[15:29:50] <m8> $compile can work in a controller? i've tryed this but it doesn't works $compile("<div>{{ myscopevar }}</div>")($scope)
[15:29:51] <sekyms> you around in 15 minutes?
[15:29:53] <BahamutWC> I'm probably heading out soon to work, so I'll be back in an hour
[15:29:55] <jonnyynnoj> orderBy:'name':true (quotes around name)
[15:30:01] <s3shs> Hmmm. They have a test around something similar.
[15:30:01] <BahamutWC> oh doh
[15:30:05] <BahamutWC> yeah 'name' not name
[15:30:25] *** Snugug has joined #angularjs
[15:30:38] <BahamutWC> sekyms: try 'name' instead of name - should work
[15:30:42] <sekyms> but it's already in quotes?
[15:30:48] <sekyms> do I escape them?
[15:30:55] <BahamutWC> angular will parse that string as scope.name without the single quotes
[15:31:19] <sekyms> yeah that did it
[15:31:20] <sekyms> great
[15:31:21] <sekyms> thanks
[15:31:29] <BahamutWC> good catch jonnyynnoj
[15:31:35] <sekyms> thanks jonnyynnoj
[15:31:44] <sekyms> i wouldn't have caught that because of the double qoutes
[15:31:48] <jonnyynnoj> well it was already said, but erm yeah, ill take credit
[15:32:12] *** PGTips has joined #angularjs
[15:32:14] *** dhcar_AFK has quit IRC
[15:32:26] <BahamutWC> sure, but I missed it in the updated copy/pasted line :)
[15:32:57] *** siddart has quit IRC
[15:33:22] <jlebrech> i see i can't update to 1.3 as it's daily builds
[15:33:23] <m8> nothing?
[15:33:29] <jlebrech> 1.3.1*
[15:33:38] *** deanclkclk has joined #angularjs
[15:34:01] *** dmra has quit IRC
[15:34:05] *** zorch_ has quit IRC
[15:34:13] *** jstroem has joined #angularjs
[15:34:20] *** joleal has joined #angularjs
[15:34:26] *** rob_parkhill has quit IRC
[15:34:48] <BahamutWC> jlebrech: try "angular": "1.3.0" - fixed version
[15:35:19] *** greengriminal has joined #angularjs
[15:35:21] *** rtpg has joined #angularjs
[15:35:29] *** jstroem has quit IRC
[15:35:39] *** PGTips_ has quit IRC
[15:35:52] <BahamutWC> be back in an hour
[15:35:53] *** cheef has quit IRC
[15:36:02] <jlebrech> BahamutWC: yeah, that works :)
[15:36:17] *** mven has quit IRC
[15:36:31] *** IvailoStoianov has quit IRC
[15:36:31] *** JLF- has quit IRC
[15:36:34] *** mennea has quit IRC
[15:36:37] <lolmaus> BahamutWC: thomastuts: the `link` callback fires when the content of the directive has not been rendered yet. How do i fire the callback when the directive has been fully rendered?
[15:36:48] *** jstroem has joined #angularjs
[15:37:03] *** vassagus has joined #angularjs
[15:37:08] <thomastuts> using the controller function instead of the link one i think
[15:37:12] *** mennea has joined #angularjs
[15:37:19] *** niko is now known as evilNiko
[15:38:23] *** JohnFree has quit IRC
[15:38:43] *** DoubleAW has quit IRC
[15:39:12] *** DoubleAW has joined #angularjs
[15:39:12] <lolmaus> thomastuts: nope. Tried controller, same result. `jQuery($element).children().length` is zero.
[15:39:25] *** jlambert121 has joined #angularjs
[15:39:28] *** dhcar_AFK has joined #angularjs
[15:39:35] *** Efrem is now known as Efrem-Away
[15:39:51] *** aniasis has joined #angularjs
[15:40:25] <shilon> hey, im trying to implement angularjs with my rails app, I’m recieving this error Uncaught ReferenceError: angular is not defined anyone knows what I’m doing wrong?
[15:40:26] <jonnyynnoj> m8: you need to add the compiled element to the DOM
[15:40:48] <ClearsTheScreen> shilon: not loading angularjs; at least not before it's called on
[15:41:29] <m8> jonnyynnoj, jonnyynnoj and i can get the element as string?
[15:42:15] *** jr3 is now known as Jr3Says
[15:42:23] *** dmra has joined #angularjs
[15:42:29] <jonnyynnoj> elem = $compile("<div>{{ myscopevar }}</div>")($scope)
[15:42:32] <jonnyynnoj> gives you the element
[15:42:36] <shilon> ClearsTheScreen: dont understand, I followed a tutorial.
[15:42:41] *** Aerospark has joined #angularjs
[15:43:14] *** cthrax has joined #angularjs
[15:43:15] *** linojon has joined #angularjs
[15:44:30] *** zz_zorch_ has joined #angularjs
[15:44:30] *** zz_zorch_ is now known as zorch_
[15:44:32] <ClearsTheScreen> shilon: your code uses "angular.foo". angular is not defined. so the thing that defined angular hasn't been run at the point that error throws.
[15:44:53] *** marcjs has joined #angularjs
[15:45:15] <m8> jonnyynnoj, yes but element.innerHtml is not compiled
[15:45:34] <jaydubya> to pass a specific item to a scope function, I read that I should use $index so calcTotal($index.qty * $index.price), is that right?
[15:46:25] *** dan2k3k4 has quit IRC
[15:46:42] *** aniasis has quit IRC
[15:46:51] *** naneau has quit IRC
[15:47:11] *** AmundNygaard has quit IRC
[15:47:31] <jonnyynnoj> no, $index is the current position within the repeat (e.g 0, 1, 2)
[15:47:33] *** CHC has joined #angularjs
[15:47:41] <m8> jonnyynnoj, i can access to the compiled html from the element?
[15:47:53] <s3shs> The test case may be flawed.
[15:48:32] *** Trow has joined #angularjs
[15:48:44] *** ssawickik has quit IRC
[15:48:56] *** marcjs_ has joined #angularjs
[15:48:58] *** zorch_ has quit IRC
[15:49:25] *** fixl has quit IRC
[15:50:28] *** _ritchie_ has joined #angularjs
[15:51:22] *** dhcar_AFK has quit IRC
[15:51:24] <jaydubya> jonnyynnoj: http://plnkr.co/edit/6Ntwdrb0L5FArylAbYau?p=preview <-- trying to pass the "row" to itemTotal from MyTotal
[15:51:52] *** marcjs has quit IRC
[15:52:21] *** ctanga has joined #angularjs
[15:52:29] *** tomzx`afk is now known as tomzx
[15:52:44] *** ozooner__ has quit IRC
[15:53:00] *** deanclkclk_ has joined #angularjs
[15:53:10] *** klaut_ has joined #angularjs
[15:53:23] *** marcjs_ has quit IRC
[15:53:42] <thomastuts> lolmaus: http://plnkr.co/edit/tsfR9OSRFoGpqIWGhx75?p=preview
[15:54:01] <jonnyynnoj> jaydubya: just pass item {{itemTotal(item)}}
[15:54:25] <m8> jonnyynnoj, i've to try the $parse function instead $compile?
[15:54:45] *** klaut has quit IRC
[15:55:04] *** zz_zorch_ has joined #angularjs
[15:55:15] *** deanclkclk has quit IRC
[15:55:30] <jonnyynnoj> m8: honestly i'm not sure what you're trying to do. maybe you want $interpolate
[15:55:30] <jonnyynnoj> idk
[15:55:42] *** red_horned_rihno has joined #angularjs
[15:55:50] <m8> jonnyynnoj, render a template into a string :)
[15:55:54] <m8> jonnyynnoj, only once
[15:56:25] *** mrogne_afk is now known as mrogne_busy
[15:56:45] *** jiskiras has joined #angularjs
[15:57:44] *** xavia has joined #angularjs
[15:57:47] <jaydubya> jonnyynnoj: so what was that I read about $index? Doesn't look like it's needed.
[15:58:14] *** thedodd has joined #angularjs
[15:58:34] <lolmaus> thomastuts: thank you. You helped me discover that my problem was that i was creating a jQuery object in a wrong way. How do i create a jQuery object out of $element?
[15:58:49] *** Sawbones has joined #angularjs
[15:58:52] <thomastuts> $element already is a jquery object at that point
[15:59:01] *** akrikos has quit IRC
[15:59:04] <lolmaus> thomastuts: it lacks a `.find()` method
[15:59:04] <thomastuts> angular automatically wraps it for you in jqLite, or jquery if it's added to your project
[15:59:08] *** fbenoit has joined #angularjs
[15:59:12] *** zz_zorch_ is now known as zorch_
[15:59:15] <thomastuts> do you have jquery in your project?
[15:59:21] <thomastuts> jqLite doesn't have a .find() method iirc
[15:59:21] <jonnyynnoj> jaydubya: no you dont need it. $index is just a counter for each ng-repeat iteration
[15:59:26] <jonnyynnoj> obviously what you do with that varies
[15:59:34] <jaydubya> jonnyynnoj: gotcha
[15:59:40] *** exp10r3r has quit IRC
[15:59:56] *** sshaginyan has joined #angularjs
[15:59:57] <lolmaus> thomastuts: thank you so much.
[16:00:15] *** IvailoStoianov has joined #angularjs
[16:00:22] *** dcherman2 has joined #angularjs
[16:00:29] <jonnyynnoj> jqLite has find, just limite
[16:00:32] <jonnyynnoj> tag names only i think]
[16:00:46] <m8> jonnyynnoj, is'nt a simple task in angular? :D
[16:01:03] *** mupkoo has quit IRC
[16:01:04] *** yhsiang has quit IRC
[16:01:09] *** brunoB has joined #angularjs
[16:01:26] *** ProLoser has joined #angularjs
[16:01:30] *** Una has joined #angularjs
[16:01:58] *** dhcar_AFK has joined #angularjs
[16:01:58] *** jillesme has quit IRC
[16:02:09] *** DrMabuse has joined #angularjs
[16:02:28] *** AndreasLutro has quit IRC
[16:03:00] *** krawek has joined #angularjs
[16:03:08] <jonnyynnoj> m8: maybe $interpolate("<div>{{ myscopevar }}</div>")($scope)
[16:03:09] <lolmaus> jonnyynnoj: for me it says undefined is not a function.
[16:03:12] *** dcherman has quit IRC
[16:03:15] <m8> yes
[16:03:16] *** superstructor has quit IRC
[16:03:34] *** Sawbones has quit IRC
[16:03:54] *** fbenoit has quit IRC
[16:03:58] *** sshaginyan has quit IRC
[16:04:08] *** dcherman has joined #angularjs
[16:04:42] *** superstructor has joined #angularjs
[16:04:56] *** DigitallyBorn has joined #angularjs
[16:05:18] *** dcherman2 has quit IRC
[16:05:21] *** Nizumzen has quit IRC
[16:05:41] *** zackiv31 has quit IRC
[16:05:44] *** shinnya has quit IRC
[16:06:03] *** ProLoser has quit IRC
[16:06:13] *** superstructor has quit IRC
[16:06:21] *** ssawickik has joined #angularjs
[16:06:36] *** mennea has quit IRC
[16:06:46] *** nanashiRei has quit IRC
[16:07:09] *** dhcar_AFK has quit IRC
[16:07:17] *** mennea has joined #angularjs
[16:07:20] *** araujo has joined #angularjs
[16:07:35] *** pose has joined #angularjs
[16:07:41] *** zorch_ has quit IRC
[16:07:58] *** poolside has joined #angularjs
[16:08:31] *** pose has quit IRC
[16:08:33] *** zz_zorch_ has joined #angularjs
[16:08:37] *** pose has joined #angularjs
[16:08:54] *** zz_zorch_ is now known as zorch_
[16:09:09] *** pose has quit IRC
[16:09:26] *** pose has joined #angularjs
[16:09:41] *** oller has joined #angularjs
[16:09:43] *** juanpablo_ has joined #angularjs
[16:10:18] *** snapwich has joined #angularjs
[16:10:24] *** pose has quit IRC
[16:10:25] *** oncenull has joined #angularjs
[16:10:28] *** dhcar_AFK has joined #angularjs
[16:10:43] *** akrikos has joined #angularjs
[16:10:44] *** avree_ has joined #angularjs
[16:11:04] *** pose has joined #angularjs
[16:11:06] *** oncenull has quit IRC
[16:11:19] *** optikalmouse has joined #angularjs
[16:12:29] *** Snugug has quit IRC
[16:12:58] *** angularjs216 has joined #angularjs
[16:13:11] <angularjs216> should the controller ever know anything about the dom?
[16:13:31] *** resu01 has quit IRC
[16:13:37] *** Trow has quit IRC
[16:14:08] *** lolmaus has quit IRC
[16:14:23] *** stephanbuys has joined #angularjs
[16:14:31] *** nanashiRei has joined #angularjs
[16:14:37] *** _ritchie_ has quit IRC
[16:14:40] *** hilefoks has quit IRC
[16:14:45] *** Snugug has joined #angularjs
[16:15:09] *** michaelSharpe has quit IRC
[16:16:26] *** frkout has joined #angularjs
[16:17:29] *** zorch_ has quit IRC
[16:17:37] *** zz_zorch_ has joined #angularjs
[16:17:49] *** Jon31 has joined #angularjs
[16:17:49] *** Jon31 has joined #angularjs
[16:17:55] *** DoubleAW is now known as SpookyAW
[16:17:56] *** gavit has joined #angularjs
[16:18:01] *** zz_zorch_ is now known as zorch_
[16:18:42] *** MrBaboon has joined #angularjs
[16:19:17] *** krawek has quit IRC
[16:19:19] *** junmin has joined #angularjs
[16:19:27] *** sekyms has quit IRC
[16:19:39] *** Joe_knock has joined #angularjs
[16:20:06] *** MistahKurtz has joined #angularjs
[16:20:12] *** TyrfingMjolnir has joined #angularjs
[16:20:14] *** michaelSharpe has joined #angularjs
[16:21:01] *** patrickarlt has joined #angularjs
[16:21:41] *** ZucchiniZe has joined #angularjs
[16:22:07] *** Click66 has quit IRC
[16:23:23] *** MrBaboon has quit IRC
[16:24:42] *** edrocks has quit IRC
[16:25:01] *** jjasonclark has joined #angularjs
[16:25:02] *** gunn has quit IRC
[16:25:27] *** KurtB has joined #angularjs
[16:25:36] *** krawek has joined #angularjs
[16:25:36] *** krawek has joined #angularjs
[16:25:44] *** edrocks has joined #angularjs
[16:26:16] <s3shs> Like what? What $scope variables are in the dom?
[16:26:17] <s3shs> Sure.
[16:26:23] *** richiebkr has joined #angularjs
[16:26:36] *** qdk has joined #angularjs
[16:26:36] *** richiebkr has joined #angularjs
[16:26:55] *** cthrax has quit IRC
[16:27:40] *** sandelius has quit IRC
[16:27:52] *** Orbitrix has quit IRC
[16:27:56] *** ngbot has joined #angularjs
[16:27:56] <ngbot> [angular.js] caitp pushed 4 new commits to master: http://git.io/bT468A
[16:27:56] <ngbot> angular.js/master 030101a Henry Zhu: style(*): add numerous JSCS rules to unify code-styles in the tree...
[16:27:56] <ngbot> angular.js/master c77f5d1 Henry Zhu: chore(travis): reorder linting tasks to after unit tests
[16:27:56] <ngbot> angular.js/master 018991f Henry Zhu: chore(build): exclude generated files in src/ngLocale from jscs check...
[16:27:56] *** ngbot has left #angularjs
[16:28:00] *** anivemin has joined #angularjs
[16:28:10] *** Orbitrix has joined #angularjs
[16:29:04] *** ajk27 has quit IRC
[16:29:08] *** mak`` has quit IRC
[16:29:26] *** ajk27 has joined #angularjs
[16:29:29] *** lite__ has joined #angularjs
[16:29:36] *** platonic has joined #angularjs
[16:29:55] *** KurtB has quit IRC
[16:30:06] *** lite_ has quit IRC
[16:30:09] *** shilon has quit IRC
[16:30:25] <phzon> hello
[16:31:01] <s3shs> hi there
[16:31:09] <phzon> I have this request in httpbackend
[16:31:09] <phzon> $httpBackend.whenDELETE(/apiv1\/prodotti\/\d+\/prenotazioni/)
[16:31:10] *** KurtB has joined #angularjs
[16:31:27] <phzon> is it possible to catch that \d+ and get access to it inside the function?
[16:32:08] *** ajenkins has joined #angularjs
[16:32:10] *** merobertsjr has joined #angularjs
[16:32:58] *** anivemin has quit IRC
[16:33:10] *** NevilleS has joined #angularjs
[16:33:16] <nk121> angularjs216: generally the idea is not to directly touch the dom in your controller -- instead you'd do all dom stuff in the template and its directives; in the controller you'd just set $scope variables and then react to them in your views/directives (for example, lets say you have a login form on the page that you want to only show if they are logged in -- in your controller you might set $scope.needLoginForm and then in your view, you could add
[16:33:17] <nk121> ng-show="{{ needLoginForm }}" ... ng-show will dynamically add the css to hide or show it (and it will continue to update it as you as update the $scope.needLoginForm in your controller)) if you have a lot of complex DOM work, like adding events and new elements, you'd do that in your directive
[16:33:47] *** avree has joined #angularjs
[16:34:10] *** Helious has quit IRC
[16:34:19] *** m8 has quit IRC
[16:34:20] *** platonic has quit IRC
[16:34:20] *** Helious has joined #angularjs
[16:35:19] *** m8 has joined #angularjs
[16:35:22] *** Sjimi has quit IRC
[16:35:45] <angularjs216> nk121 i have some listeners that change classes for some specific elements
[16:35:46] *** cthrax has joined #angularjs
[16:35:53] <angularjs216> when it catches something
[16:35:57] <angularjs216> is that ok?
[16:36:16] *** jjasonclark has quit IRC
[16:36:20] *** matthoiland has joined #angularjs
[16:36:24] *** avree_ has quit IRC
[16:36:29] <nk121> anything is ok; its your own code! but if you are manipulating the dom directly in your controller, you'll have a lot harder time with things like testing and reusability
[16:36:33] <angularjs216> ng-show is causing flicker effect so i have to start with elements hidden, then show when $rootScope.$on catches something
[16:37:00] *** sk87 has quit IRC
[16:37:13] <angularjs216> i see
[16:37:30] *** DigitallyBorn has quit IRC
[16:37:59] <nk121> https://docs.angularjs.org/api/ng/directive/ngShow
[16:38:01] <angularjs216> thx, also are u knowledgeable with ui-router?
[16:38:07] <nk121> The element is shown or hidden by removing or adding the .ng-hide CSS class onto the element.
[16:38:12] <angularjs216> i know
[16:38:14] <nk121> why not start with the ng-hide class
[16:38:15] <angularjs216> but it causes flicker effect
[16:38:17] <nk121> so it will be hidden
[16:38:23] <angularjs216> i tried everything under the sun
[16:38:24] <nk121> and ng-show will remove it when its ready
[16:38:33] <angularjs216> i have to start off with it having class hidden
[16:38:35] <jonnyynnoj> ng-cloak?
[16:38:37] <angularjs216> nope
[16:38:44] <angularjs216> cuz ng-cloak is removed during compilation
[16:38:47] *** sk87 has joined #angularjs
[16:38:55] <angularjs216> i have event listeners based on http requests
[16:39:03] <angularjs216> so ng-cloak is removed before i need it to
[16:39:11] *** rchavik has quit IRC
[16:39:18] <angularjs216> hopefully that made sense
[16:39:28] <nk121> is your flicker caused by the showing pushing other things out of place?
[16:39:32] *** shpoont has quit IRC
[16:39:40] <angularjs216> well i made my own solution
[16:39:46] *** juanpablo__ has joined #angularjs
[16:39:49] *** shpoont has joined #angularjs
[16:39:52] *** avree has quit IRC
[16:39:53] <angularjs216> i just directly manipulate the classes, but it starts off with class hidden
[16:39:58] <angularjs216> and yes nk121
[16:40:05] <angularjs216> its very annoying to the eye :(
[16:40:11] *** thomastuts has quit IRC
[16:40:12] *** juanpablo_ has quit IRC
[16:40:18] *** dan2k3k4 has joined #angularjs
[16:40:25] *** thomastuts has joined #angularjs
[16:40:30] *** shaisnir has joined #angularjs
[16:40:45] <nk121> delay loading the page until the data you needs is ready?
[16:40:52] <jaydubya> https://gist.github.com/anonymous/6d8139591679650f9d34 ... I have several types of loans that each have a unique sidebar so I am using ng-if and in-include BUT the bootstrap 10grid column loads and then a second later it gets pushed to the right and the sidebar loads.
[16:40:55] <dan2k3k4> ng-if="someData[2].aVar" -> where aVar = '0' - returns 'false' :/
[16:40:55] *** evilNiko is now known as niko
[16:41:02] *** matthoiland has quit IRC
[16:41:09] <dan2k3k4> I need to check ng-if aVar is set or not
[16:41:10] <jaydubya> Can I prevent that loading quirk?
[16:41:10] <nk121> dunno put together a codepen/plunker/wahtever and we can look at it
[16:41:13] <dan2k3k4> as in 'undefined' or not :/
[16:41:18] <angularjs216> i already have a working solution, i was just curious about whether the controller should ever know anything about the dom
[16:41:21] *** DigitallyBorn has joined #angularjs
[16:41:28] *** shackleford has quit IRC
[16:41:32] <angularjs216> cuz i've been hearing the controller should only send data and it should be handled in the view
[16:41:52] *** shaisnir has quit IRC
[16:41:56] <angularjs216> and that the controller only sends data but should have no idea what its used for
[16:42:06] *** elux has joined #angularjs
[16:42:12] *** mrogne_busy has left #angularjs
[16:42:38] <nk121> its a lot easier to test and reuse a controller thats not tied to the DOM
[16:42:48] <ClearsTheScreen> it doesn't even really "send" data. it's creating a dataset to present in a certain view, aggregated from dependencies and whatnot, and provides the methods to manipulate the data as is relevant for a given view.
[16:42:49] <angularjs216> i see
[16:43:06] <angularjs216> well i'll try to keep it down to a minimum but i see no other solution here :/
[16:43:27] *** Trow has joined #angularjs
[16:43:50] <nk121> well anything that will start hidden and then show will likely cause a flicker(redraw) if it has to move dom elements
[16:43:54] *** Una has quit IRC
[16:44:03] *** deanclkclk has joined #angularjs
[16:44:06] <nk121> so you either need to account for the space in the hidden layout
[16:44:08] <ClearsTheScreen> nk121's remark was good, though; show some code, a plunk/codepen/... thing that showcases your issue can help
[16:45:09] *** shpoont has quit IRC
[16:45:11] *** jstroem has quit IRC
[16:45:15] *** rtpg has quit IRC
[16:45:18] *** favetelinguis has joined #angularjs
[16:45:27] *** arek_at_work has joined #angularjs
[16:45:48] *** firelinks has joined #angularjs
[16:45:57] *** jstroem has joined #angularjs
[16:45:59] *** shaisnir has joined #angularjs
[16:46:00] *** deanclkclk_ has quit IRC
[16:46:44] *** DigitallyBorn has quit IRC
[16:47:35] <jonnyynnoj> dan2k3k4: ng-if="!!someData[2].aVar"
[16:48:00] <dan2k3k4> jonnyynnoj, yeah found I had to use != null and == null
[16:48:03] *** lite__ has quit IRC
[16:48:06] *** exodys has joined #angularjs
[16:48:31] *** lite_ has joined #angularjs
[16:48:33] *** Una has joined #angularjs
[16:48:44] *** dmizzle_ has joined #angularjs
[16:48:52] *** Raging_Hog has joined #angularjs
[16:49:14] *** dmizzle_ has left #angularjs
[16:49:17] *** D9 has joined #angularjs
[16:49:34] *** fbenoit has joined #angularjs
[16:49:39] <m8> jonnyynnoj, ng-repeat works in interpolate?
[16:49:48] *** mzabriskie has joined #angularjs
[16:49:57] *** \du has quit IRC
[16:50:15] *** jstroem has quit IRC
[16:50:20] *** ajenkins has quit IRC
[16:50:35] *** dan2k3k4 has quit IRC
[16:50:41] *** dllama has joined #angularjs
[16:50:56] *** noiserocker has joined #angularjs
[16:51:29] *** Ch4rAss has quit IRC
[16:51:39] *** chrisshattuck has joined #angularjs
[16:51:42] <jlebrech> I'm trying to post to a rails app on port 300 but the params are going in the payload and not params. how can I fix this?
[16:51:49] <jlebrech> 3000*
[16:51:51] *** codeninja-don has joined #angularjs
[16:51:52] *** sonofdirt has joined #angularjs
[16:51:59] *** laurensclaessen has quit IRC
[16:52:01] <jonnyynnoj> m8: no it wont
[16:52:07] *** shackleford has joined #angularjs
[16:52:30] <m8> jonnyynnoj, which service i've to use?
[16:52:31] *** Aerospark has quit IRC
[16:52:34] *** hippobottamus has joined #angularjs
[16:53:06] *** Sawbones has joined #angularjs
[16:53:06] *** Aerospark has joined #angularjs
[16:53:21] <jonnyynnoj> you should post some code of what you're doing
[16:53:23] <jonnyynnoj> it doesnt sound right
[16:53:45] *** greengriminal has quit IRC
[16:54:04] <m8> jonnyynnoj, render a template linke in underscore.js
[16:54:06] *** oller has quit IRC
[16:54:23] <m8> jonnyynnoj, render a piece of html whit angular tags in a string
[16:55:05] <m8> and this string in a scope variable
[16:55:11] *** lite_ has quit IRC
[16:55:13] *** shaisnir has quit IRC
[16:55:14] <m8> it's a little task
[16:55:27] <ClearsTheScreen> jlebrech: i'm tempted to say "the same way you fix it by sending it to apps in other languages or on other ports", but that probably doesn't help. probably happens b/c you set it to use url parms; have some code to share? (pastebin,codepen,plnkr,..)
[16:55:33] *** Juanchito has quit IRC
[16:55:37] *** phuh has joined #angularjs
[16:55:45] *** shaisnir has joined #angularjs
[16:55:54] *** canthugeverycat has joined #angularjs
[16:55:59] *** markalanevans has joined #angularjs
[16:56:01] *** jillesme has joined #angularjs
[16:56:35] *** NevilleS has quit IRC
[16:56:37] <noiserocker> hi guys, does somebody know what could be the reason of an undefined controller (Argument 'CtrlName' is not aNaNunction, got undefined) after concating multiple files into one?
[16:56:45] *** aiglesias has joined #angularjs
[16:56:57] *** _ritchie_ has joined #angularjs
[16:56:59] *** laurensclaessen has joined #angularjs
[16:57:23] *** artisangoose has joined #angularjs
[16:57:24] *** NevilleS has joined #angularjs
[16:57:52] <canthugeverycat> Hey guys, I am trying to make a PUT call to an api, like this (http://pastebin.com/XvGqp6yh)
[16:57:54] *** yash has quit IRC
[16:58:22] *** Sawbones has quit IRC
[16:58:22] <jlebrech> ClearsTheScreen: here it is. https://gist.github.com/jlebrech/da85c2b989e5188eb342
[16:58:33] <canthugeverycat> However, angular doesn't accept PUT method by default, so I would need to add it somehow. I have googled it but I don't understand the seemingly simple piece of code that is supposed to do it
[16:58:33] *** phuh has quit IRC
[16:58:49] <jlebrech> ClearsTheScreen: thinking of changing it from service to resource later tho
[16:59:20] *** phuh has joined #angularjs
[16:59:33] *** NevilleS has quit IRC
[17:00:14] *** shaisnir has quit IRC
[17:00:29] *** NevilleS has joined #angularjs
[17:01:36] *** pose has quit IRC
[17:01:36] *** ssawickik has quit IRC
[17:01:55] *** rattkin has joined #angularjs
[17:02:03] <dllama> good day all
[17:02:03] *** pose has joined #angularjs
[17:02:04] <rattkin> hi folks
[17:02:06] <dllama> happy friday! :D
[17:02:14] <dllama> for those that actually believe weekends exist lol
[17:02:21] <rattkin> can I ask a tech question?
[17:02:45] <dllama> questions are a sign of weakness, dont bring me problems, bring me solutions! :D
[17:02:48] *** shilon has joined #angularjs
[17:02:53] <dllama> ok i think i'm done for the day, rattkin whats up? :)
[17:02:53] <rattkin> oh dear
[17:03:01] *** WaT has joined #angularjs
[17:03:04] <dllama> my rant is done lol
[17:03:18] <rattkin> so I have a directive with isolated scope { mystuff: '@' } etc
[17:03:36] <rattkin> and inside it's controller i read the mystuff value
[17:03:44] <rattkin> but it seems that after that point it gets changed somehow
[17:04:06] <rattkin> and I want to understand what does it? it is some digest called later?
[17:04:14] *** quantax has quit IRC
[17:04:34] *** CHC has quit IRC
[17:04:54] *** rob_parkhill has joined #angularjs
[17:05:27] <dllama> sorry dude, ur already more advanced than i am, give it a minute or so, someone will surely chime in
[17:05:56] <ClearsTheScreen> jlebrech: you're talking about the login/logout posts? or the get call in the api.js? (in case of the latter, you explicitly tell it to use params)
[17:06:38] *** mennea has quit IRC
[17:06:45] *** pose has quit IRC
[17:07:06] <jlebrech> ClearsTheScreen: get is a shorthand for prepending the server name to a get.
[17:07:07] *** ozooner__ has joined #angularjs
[17:07:16] *** mennea has joined #angularjs
[17:07:37] *** Sawbones has joined #angularjs
[17:07:52] *** sk87 has quit IRC
[17:08:38] *** dcherman2 has joined #angularjs
[17:08:42] <rattkin> sigh
[17:08:50] <rattkin> irc is so useless :/
[17:08:57] *** oller has joined #angularjs
[17:09:27] *** rob_parkhill has quit IRC
[17:09:30] <ClearsTheScreen> jlebrech: exactely.
[17:09:42] *** jillesme has quit IRC
[17:09:44] *** codeninja-don has quit IRC
[17:09:46] *** Somatt_wrk has quit IRC
[17:09:49] <jlebrech> ClearsTheScreen: it has to be a post
[17:09:53] *** Somatt_wrk has joined #angularjs
[17:09:56] <ClearsTheScreen> rattkin: you surely know how to make people on irc feel warm and welcome and inclined to help you :3
[17:09:58] *** morganiq has joined #angularjs
[17:10:00] <ClearsTheScreen> jlebrech: then ... make it a post :)
[17:10:11] <jlebrech> ClearsTheScreen: but your saving I could wrap it in {params: ...}
[17:10:11] *** frkout has quit IRC
[17:10:26] <rattkin> i was on irc 20 years ago
[17:10:28] <jlebrech> saying*
[17:10:34] <rattkin> it was fun for chatting about Tool and picking up girls
[17:10:37] *** ish has left #angularjs
[17:10:39] <WaT> rattkin: create a plnkr reproducing your issue, that'll help people help you
[17:10:42] <ClearsTheScreen> jlebrech: no, look at api.js:9. there -is- params. it's what you're doing right now.
[17:10:44] *** dcherman has quit IRC
[17:11:00] <jlebrech> ClearsTheScreen: I need one for post then
[17:11:13] *** rattkin has quit IRC
[17:11:21] <nickeddy> lol irc is useless because we didn't answer you in.... 5 minutes.
[17:11:30] <ClearsTheScreen> jlebrech: you should, then, also change it to do a post, not a get.
[17:12:32] <nickeddy> jlebrech: what are you using to do your .get/.post?
[17:12:53] *** travm is now known as travm-afk
[17:13:04] <jlebrech> nickBek: $http(..)
[17:13:14] <ClearsTheScreen> google implies that $http defaults to sending data in request body by default for POST requests
[17:13:15] *** olanod has joined #angularjs
[17:13:19] <jlebrech> nickeddy: $http(..)..
[17:13:20] *** lexek__ has quit IRC
[17:13:38] *** edy has quit IRC
[17:13:42] <jlebrech> ClearsTheScreen: ok makes sense then
[17:13:44] *** pootpoot has joined #angularjs
[17:13:47] <nickeddy> jlebrech: I recommend Restangular for api calls
[17:13:48] *** rob_parkhill has joined #angularjs
[17:13:53] *** travm-afk has quit IRC
[17:14:27] *** phuh_ has joined #angularjs
[17:14:30] *** frkout has joined #angularjs
[17:14:35] *** blomman has quit IRC
[17:14:57] *** frkout_ has joined #angularjs
[17:15:01] <jlebrech> nickeddy: ok, i'll have a look rather than make my own thing
[17:15:02] *** Cache_Money has joined #angularjs
[17:15:23] *** phuh has quit IRC
[17:15:24] <ClearsTheScreen> oh yeah if you're consuming a ReSTful API, there are libraries out there that do the work for you :)
[17:15:51] *** lite_ has joined #angularjs
[17:15:56] <jlebrech> is angular-ui still ok to use? i've not touched this code for a month
[17:16:22] *** baweaver has joined #angularjs
[17:16:41] *** AngularUI has joined #angularjs
[17:16:41] <AngularUI> [ui-router] christopherthielen pushed 2 new commits to master: http://git.io/XDQi1A
[17:16:41] <AngularUI> ui-router/master f86e8ef christopherthielen: docs($urlMatcherFactory): Add example for .type()
[17:16:41] <AngularUI> ui-router/master a00b353 christopherthielen: fix(stateFilters): mark state filters as stateful. closes #1479...
[17:16:41] *** AngularUI has left #angularjs
[17:17:01] *** baweaver has joined #angularjs
[17:17:25] <jlebrech> i meant this ^ actually
[17:18:18] *** nerder has joined #angularjs
[17:18:25] <nerder> hello
[17:18:26] *** jbeaudry has joined #angularjs
[17:18:53] *** frkout has quit IRC
[17:18:53] <ctanga> yes use ui-router
[17:19:15] *** grantfunke_ has quit IRC
[17:19:26] <nickeddy> koolaid.jpg
[17:19:33] *** frkout_ has quit IRC
[17:19:49] *** jrist has quit IRC
[17:20:00] *** ki0 has quit IRC
[17:20:14] *** jbeaudry has quit IRC
[17:20:17] *** Una has quit IRC
[17:20:28] *** Cache_Money has quit IRC
[17:21:25] <nerder> anybody can explain me a little bit, if my code is something that in angularjs logic could be possibile or not?
[17:21:45] *** matthoiland has joined #angularjs
[17:21:53] *** shaisnir has joined #angularjs
[17:22:01] *** sk87 has joined #angularjs
[17:22:05] *** pose has joined #angularjs
[17:22:08] <ctanga> anything is possible at zombo.com
[17:22:19] <nerder> plnkr.co/edit/MCsxRzk9SDPqiRyhHSO
[17:22:19] *** Sawbones has quit IRC
[17:22:23] <caitp> a...anything?
[17:22:36] *** shaisnir has quit IRC
[17:22:50] *** DrShoggoth has joined #angularjs
[17:22:51] *** pose has quit IRC
[17:23:00] <caitp> nerder your plonker is not found
[17:23:05] *** mdel has quit IRC
[17:23:07] *** pose has joined #angularjs
[17:23:15] <nerder> caitp: hold on my bad
[17:23:16] *** matisoffn has joined #angularjs
[17:23:18] *** chrisshattuck has quit IRC
[17:23:45] *** nickBek has quit IRC
[17:23:54] *** brunoB has quit IRC
[17:24:04] *** mven has joined #angularjs
[17:24:07] *** lite_ has quit IRC
[17:24:21] *** pose has quit IRC
[17:24:24] *** oncenull has joined #angularjs
[17:24:30] *** ngbot has joined #angularjs
[17:24:30] <ngbot> [angular.js] juliemr pushed 1 new commit to master: http://git.io/94zMKA
[17:24:30] <ngbot> angular.js/master 7b7b082 Julie Ralph: chore(ci): fix broken sauce connect download url
[17:24:31] *** ngbot has left #angularjs
[17:24:45] *** lite_ has joined #angularjs
[17:24:54] <nerder> caitp: https://gist.github.com/
[17:25:01] *** ngbot has joined #angularjs
[17:25:02] <ngbot> [angular.js] juliemr pushed 1 new commit to v1.2.x: http://git.io/xi5KlQ
[17:25:02] <ngbot> angular.js/v1.2.x 7809e75 Julie Ralph: chore(ci): fix broken sauce connect download url
[17:25:02] *** ngbot has left #angularjs
[17:25:10] *** howzus has quit IRC
[17:25:25] <NevilleS> nerder: gist is a cool service
[17:25:26] *** Asiajey has quit IRC
[17:25:34] <NevilleS> nerder: but you should link to something with your code :)
[17:25:37] <nerder> lol, guys i'm fucked sorry xD
[17:25:38] *** Asiajey has joined #angularjs
[17:25:42] <NevilleS> lolololol
[17:25:45] <NevilleS> its a friday
[17:25:58] *** alinouman has joined #angularjs
[17:26:08] <NevilleS> third times the charm I bet
[17:26:12] <caitp> it's not friday, it's hallow's eve
[17:26:14] <nerder> https://gist.github.com/anonymous/0c33765b4abbf9cd5265
[17:26:27] <nickeddy> caitp: spOoOOOoOooky
[17:26:28] <nerder> NevilleS: that's why xD
[17:26:38] <matisoffn> I have this directive for datatables, and want to add column filtering. Typically the column filtering is added via jQuery and not part of the actual datatables plugin. I tried to add the jQuery code that handles it but im getting undefined is not a function. Gist: https://gist.github.com/reiderrider/f66300fe01805d20cfe9
[17:27:08] <nerder> my question is, is this one the right way to work with angularjs and a RESTful services?
[17:27:19] *** angularjs216 has quit IRC
[17:27:29] *** nfroidure has quit IRC
[17:27:30] *** patric100e99 has joined #angularjs
[17:27:32] <ctanga> that’s one way, sure
[17:27:34] *** arabot has joined #angularjs
[17:27:39] <ctanga> it’s not the worst way
[17:27:39] <NevilleS> I doubt you want to assign the result to $scope.urlCrafted
[17:27:55] <NevilleS> but yeah, you can use $http to make requests and then update $scope variables on reply
[17:28:03] *** TinkerTyper has quit IRC
[17:28:16] *** mtsr has quit IRC
[17:28:18] <ctanga> when do you expect date/from/to to be updated?
[17:28:56] *** lite_ has quit IRC
[17:28:57] <nerder> ctanga: this is just an example, of course i wanna do that with variables taken from the form
[17:28:57] *** AtomicCookie has joined #angularjs
[17:29:24] <NevilleS> matisoffn: what is undefined?
[17:29:46] <nerder> and use it to craft the url properly to ask to the RESTful Service to get back data
[17:29:53] *** jillesme has joined #angularjs
[17:29:58] *** StryKaizer has quit IRC
[17:30:09] *** cthrax has quit IRC
[17:30:12] <nerder> store it in a json, and create an html page with this info
[17:30:17] <matisoffn> everything after $('#datatable_fixed_column')
[17:30:24] *** icfantv has joined #angularjs
[17:30:26] <matisoffn> NevilleS, .column is undefined
[17:31:18] <ctanga> ╰─ git:[master]  git push -f origin master:master
[17:31:21] *** thomastuts has quit IRC
[17:31:36] *** firelinks has quit IRC
[17:31:42] *** wallerdev has joined #angularjs
[17:31:48] <NevilleS> is the plugin supposed to define that function?
[17:31:51] <nickeddy> ctanga: why -f whyyyy
[17:32:08] <ctanga> nickeddy: because it said something was wrong
[17:32:09] <ctanga> so -f
[17:32:15] <ctanga> ;)
[17:32:23] *** patric100e99 has quit IRC
[17:32:32] <jaawerth> ctanga: are you using the bira theme? YOU ARE, AREN'T YOU
[17:32:33] <nickeddy> you know that overwrites everything on origin forcefully right?
[17:32:52] *** TinkerTyper has joined #angularjs
[17:32:53] *** Una has joined #angularjs
[17:32:54] *** bee_keeper has joined #angularjs
[17:32:55] <ctanga> nickeddy: it does what now?
[17:32:56] <ctanga> ;)
[17:33:02] <nickeddy> ctanga: you cray
[17:33:14] <ctanga> It’s my github branch of ui-router
[17:33:18] *** ngbot has joined #angularjs
[17:33:18] <ngbot> [angular.js] matsko pushed 1 new commit to master: http://git.io/JoxX3A
[17:33:18] <ngbot> angular.js/master ed6e91b Ryan Smith: fix($animate): properly handle class resolution when element data is missing...
[17:33:18] *** ngbot has left #angularjs
[17:33:23] <ctanga> in my own fork that is
[17:33:33] *** jjasonclark has joined #angularjs
[17:33:38] <matisoffn> neville its part of the plugin yes.
[17:33:49] <jaawerth> ctanga: that's the bira theme in oh-my-zsh, no?
[17:33:50] *** jrist has joined #angularjs
[17:33:57] *** az7ar has joined #angularjs
[17:34:00] <ctanga> jaawerth: I think it’s based on it
[17:34:05] <jaawerth> ah
[17:34:23] <jaawerth> I'm using a slightly modified version of that theme
[17:34:26] <NevilleS> matisoffn: seems like maybe you are using the plugin wrong? what makes you think that function will be defined on that particular selector
[17:34:30] <ctanga> yeah it’s cool, i like
[17:34:41] <ctanga> holy crap, there are a lot of oh-my-zsh themes now
[17:34:43] <jaawerth> it seems a little slow even with gitfast, though, so I'm thinking about trying out whatever the faster version of oh-my-zsh is called
[17:34:53] <matisoffn> NevilleS, that code is from the theme im using
[17:34:58] <jaawerth> usually it's unnoticeable but once in a while I get a slow prompt
[17:34:58] <ctanga> i tried oh-my-fish
[17:35:08] <ctanga> i get slow prompts only in svn directories
[17:35:12] <matisoffn> it works in this theme
[17:35:13] <NevilleS> matisoffn: i'd do a debugger inside your keyup handler and take a look at what functions are defined on that selector in the console
[17:35:16] <jaawerth> I haven't tried fish yet
[17:35:36] <icfantv> anyone used ui-select?
[17:35:40] <jaawerth> I think there's also an alternative to oh-my-zsh FOR zsh, but I forget what it's called
[17:35:45] <ctanga> i like fish, but it’s weird not having bashisms
[17:35:55] <nickeddy> jaawerth: p something
[17:35:56] <ctanga> aaah
[17:35:58] *** whitebook has joined #angularjs
[17:36:03] <jaawerth> what bashisms is it missing?
[17:36:04] *** xdissent has joined #angularjs
[17:36:30] *** jjasonclark has quit IRC
[17:36:34] <ctanga> I dunno, like ctrl-R or some special $variables I get used to, or hmm I dunno
[17:36:41] *** mennea has quit IRC
[17:36:47] <ctanga> I just remember thinking “oh that’s weird, it doesn’t do XYZ the same"
[17:37:11] <bee_keeper> I have an input box and i want to capture the text in it when a user presses return - what's the recommended/standard approach please?
[17:37:12] *** noiserocker has quit IRC
[17:37:19] *** mennea has joined #angularjs
[17:37:34] *** nerder has quit IRC
[17:37:53] *** Efrem-Away is now known as Efrem
[17:37:55] <NevilleS> why wait until they press enter
[17:37:57] *** tangorri has quit IRC
[17:38:03] *** chrisshattuck has joined #angularjs
[17:38:21] <NevilleS> submitting to server?
[17:38:32] <NevilleS> bee_keeper
[17:38:36] *** codeninja-don has joined #angularjs
[17:39:02] *** rob_parkhill has quit IRC
[17:39:31] *** az7ar is now known as az7ar_away
[17:39:45] *** jshultz has joined #angularjs
[17:39:58] *** _ritchie_ has quit IRC
[17:40:25] *** _ritchie_ has joined #angularjs
[17:40:36] *** AngularUI has joined #angularjs
[17:40:36] <AngularUI> [ng-grid] HampusLilja opened pull request #1982: fixed issue #1733 (master...pinColumnWithoutWidth) http://git.io/60Av8A
[17:40:36] *** AngularUI has left #angularjs
[17:40:55] <maraneta> hey guys. i'm having a lot of trouble trying to nest ng-repeats within a table. can anyone help me figure out how i can make this table with ng-repeat? http://dpaste.com/38Y1NK5
[17:41:00] *** westy has joined #angularjs
[17:41:02] *** retzloff has joined #angularjs
[17:41:06] *** az7ar_away is now known as az7ar
[17:41:38] <bee_keeper> NevilleS: well, yes i am submitting to server. i have a filter search for ~1000 objects but after that angular is too slow
[17:42:05] *** az7ar is now known as az7ar_away
[17:42:06] *** rud has quit IRC
[17:42:15] *** chrissha_ has joined #angularjs
[17:42:23] *** firelinks has joined #angularjs
[17:42:30] <bee_keeper> NevilleS: So i was thinking to get the qeury, search on the server and return the results
[17:42:35] <NevilleS> so you can watch the input and submit it to your server whenever it's changed, you don't *need* to wait for enter
[17:42:36] *** chrisshattuck has quit IRC
[17:42:51] *** cthrax has joined #angularjs
[17:42:53] *** joshontheweb has joined #angularjs
[17:43:04] <NevilleS> if you want to wait for enter, I'm fairly sure thats an option for ngModel, too
[17:43:04] *** DrMabuse_ has joined #angularjs
[17:43:14] *** opiates has joined #angularjs
[17:43:20] <nickeddy> jaawerth: https://github.com/sorin-ionescu/prezto
[17:43:21] *** firelinks has quit IRC
[17:43:42] *** Efrem has quit IRC
[17:43:42] <m8> jonnyynnoj, it's impossibile? :)
[17:43:46] *** anivemin has joined #angularjs
[17:43:46] <jaawerth> nickeddy: that's the one!
[17:43:48] *** nairys has joined #angularjs
[17:44:57] *** threesixes has joined #angularjs
[17:45:00] *** whiteboo_ has joined #angularjs
[17:45:13] *** avree has joined #angularjs
[17:45:21] <NevilleS> bee_keeper for example, ng-model-options="{updateOn : 'change blur'}"
[17:45:26] *** IvailoStoianov has quit IRC
[17:45:34] *** shpoont has joined #angularjs
[17:45:43] <NevilleS> but for your purposes just a regular watch on the ng-model to post to the server might be fine too
[17:45:51] <maraneta> i'm having a lot of trouble trying to nest ng-repeats within a table. can anyone help me figure out how i can make this table? http://dpaste.com/38Y1NK5
[17:46:08] *** edy_ has joined #angularjs
[17:46:27] *** TyrfingMjolnir has quit IRC
[17:46:28] <Gabriel403> maraneta: you can't have divs inside a tr
[17:46:38] *** DrMabuse has quit IRC
[17:47:04] *** mbenadda has quit IRC
[17:47:05] *** DrMabuse_ has quit IRC
[17:47:07] <maraneta> Gabriel: yeah, is there any way to have nested ng-repeats within a single tr?
[17:47:15] *** KernelCurry has joined #angularjs
[17:47:27] *** whitebook has quit IRC
[17:48:05] *** IvailoStoianov has joined #angularjs
[17:48:09] <bee_keeper> NevilleS: Nice one, thanks.
[17:48:16] *** mchung has joined #angularjs
[17:48:40] *** neoadventist has joined #angularjs
[17:49:02] *** anivemin has quit IRC
[17:49:07] *** Helious has quit IRC
[17:49:37] *** Helious has joined #angularjs
[17:49:57] <maraneta> can you use syntax like this in ng-repeat: 'publisher in book.publishers for book in author.books'
[17:50:21] *** ProLoser has joined #angularjs
[17:50:31] *** NevilleS has quit IRC
[17:50:49] *** ben_dev has joined #angularjs
[17:52:04] <nickeddy> maraneta: you can nest ng-repeats but that syntax won't work
[17:52:17] *** JBreit has joined #angularjs
[17:52:28] *** baweaver has quit IRC
[17:52:46] *** lemur has quit IRC
[17:52:54] <maraneta> nickeddy: is it possible to nest ng-repeats within a single table row? i'm trying to do something like that in a single row, to just list all the publishers
[17:53:18] *** cohitre has joined #angularjs
[17:53:31] *** lemur has joined #angularjs
[17:53:49] *** ish has joined #angularjs
[17:53:51] <nickeddy> you want a row with all of the publishers from all books
[17:53:55] <nickeddy> what is the next row going to be
[17:54:01] <nickeddy> because that doesn't make any sense
[17:54:07] <maraneta> i used a bad example
[17:54:09] *** Helious has quit IRC
[17:54:11] <maraneta> but in my case it does make sense
[17:54:21] *** TripTastic has quit IRC
[17:54:22] <maraneta> i want all the publishers from all books that one author wrote
[17:54:35] <maraneta> that's the only row in the table
[17:54:35] *** jareddlc has joined #angularjs
[17:54:48] <jonnyynnoj> maraneta: you want ng-reapeat-start & ng-repeat-end
[17:54:50] *** ProLoser has quit IRC
[17:54:58] <nickeddy> no
[17:55:03] <nickeddy> that won't change anything
[17:55:04] <maraneta> jonnyynnoj: that doesn't work because then i would just get additional rows
[17:55:20] *** mchung has quit IRC
[17:55:29] <nickeddy> why can't you do 1 publisher per row?
[17:55:35] *** RobinBAwesome has joined #angularjs
[17:55:56] *** poolside has quit IRC
[17:55:58] *** mchung has joined #angularjs
[17:56:07] *** mennea has quit IRC
[17:56:10] *** ogdabou has quit IRC
[17:56:14] *** shaisnir has joined #angularjs
[17:56:26] <maraneta> i could do that, but it just wouldn't fit into my design very well and it would be a lot better if i could have it arranged so that i only have one row
[17:56:32] *** mennea has joined #angularjs
[17:56:36] <maraneta> but i guess it isn't possible after all
[17:56:46] <nickeddy> no you could do it
[17:56:59] <nickeddy> you just have to aggregate all of your publishers beforehand
[17:57:10] <maraneta> yeah that's what i thought
[17:57:17] <maraneta> i'll just put that list of publishers into the scope i guess
[17:57:25] <maraneta> so i don't have to nest anything
[17:58:03] *** Jdubs has joined #angularjs
[17:58:15] *** laurensclaessen has quit IRC
[17:58:24] *** shaisnir has quit IRC
[17:58:32] *** lemur has quit IRC
[17:59:05] *** thedodd has quit IRC
[17:59:18] *** Snugug has quit IRC
[17:59:38] *** travm has joined #angularjs
[17:59:48] *** fbenoit has quit IRC
[17:59:58] *** zB0hs has quit IRC
[18:00:02] *** travm is now known as travm-afk
[18:00:31] *** travm-afk is now known as travm
[18:00:31] *** D9 has quit IRC
[18:00:38] *** sk87 has quit IRC
[18:00:41] *** richiebkr has quit IRC
[18:00:48] *** oller has quit IRC
[18:01:01] *** richiebkr has joined #angularjs
[18:01:12] *** mmoriarity has joined #angularjs
[18:01:29] *** zB0hs has joined #angularjs
[18:01:31] *** OddDuck has joined #angularjs
[18:01:44] *** sk87 has joined #angularjs
[18:02:03] *** sk87 has quit IRC
[18:02:31] *** snapwich has quit IRC
[18:02:35] *** emmesswhy has joined #angularjs
[18:03:15] *** Sawbones has joined #angularjs
[18:03:37] *** snapwich has joined #angularjs
[18:03:41] *** chrissha_ has quit IRC
[18:04:11] *** whunt has joined #angularjs
[18:04:13] *** chrisshattuck has joined #angularjs
[18:04:26] *** ish has left #angularjs
[18:04:34] *** poolside has joined #angularjs
[18:04:38] *** DigitallyBorn has joined #angularjs
[18:05:02] *** Crippy has joined #angularjs
[18:05:35] *** mityaz has quit IRC
[18:05:39] <Crippy> anyone point me in the direction of the .net channel? Need some info about WebAPI mvc 4 and angularjs
[18:05:59] *** mchung has quit IRC
[18:06:04] *** mzabriskie has quit IRC
[18:06:31] *** westy has quit IRC
[18:06:42] *** Una has quit IRC
[18:07:12] *** tech2 has quit IRC
[18:07:19] *** phzon has quit IRC
[18:08:14] *** Sawbones has quit IRC
[18:08:26] *** morganiq has quit IRC
[18:08:39] <ClearsTheScreen> Crippy: ##csharp -- though it probably is helpful to restrict the question to the MVC4 web api troubles; which endpoint sends the data doesn't really matter afteral :)
[18:09:31] *** ggrzybek has quit IRC
[18:09:32] *** favetelinguis has quit IRC
[18:09:33] *** morganiq has joined #angularjs
[18:09:41] *** xdissent has quit IRC
[18:09:52] *** daslicht has joined #angularjs
[18:10:04] *** favetelinguis has joined #angularjs
[18:10:11] *** MrBaboon has joined #angularjs
[18:10:39] *** josh-k_ has quit IRC
[18:11:02] *** TheAceOfHearts has joined #angularjs
[18:11:12] *** josh-k has joined #angularjs
[18:11:21] *** morganiq has quit IRC
[18:11:34] *** jlebrech has quit IRC
[18:11:49] *** zumba_ad_ has joined #angularjs
[18:12:09] *** markalanevans has quit IRC
[18:12:16] *** Asiajey has quit IRC
[18:12:22] *** dcadenas has quit IRC
[18:13:19] *** daslicht has quit IRC
[18:13:23] *** Leon has quit IRC
[18:13:29] *** darrin has quit IRC
[18:13:32] *** jonnyynnoj has quit IRC
[18:13:38] *** Asiajey has joined #angularjs
[18:13:38] <zumba_ad_> how can I find out which AngularJS version is supported by a browser? I'm currently using 1.2.21. The PO is asking me to support IE, Firefox and Safari
[18:13:41] *** NevilleS has joined #angularjs
[18:13:46] *** Artagan has quit IRC
[18:13:54] <zumba_ad_> or maybe which browser version is supported
[18:14:00] *** SpearThruster has joined #angularjs
[18:14:01] *** JSONB has quit IRC
[18:14:04] *** phuh_ has quit IRC
[18:14:11] *** morganiq has joined #angularjs
[18:14:18] *** azizur has quit IRC
[18:14:21] *** mzabriskie has joined #angularjs
[18:14:31] *** phuh has joined #angularjs
[18:14:34] *** DigitallyBorn has quit IRC
[18:14:34] *** afuggini has quit IRC
[18:15:10] *** darrin has joined #angularjs
[18:15:18] *** Fishy has quit IRC
[18:15:42] *** josh-k has quit IRC
[18:16:09] *** MANCHUCK_ has joined #angularjs
[18:16:47] *** retzloff has quit IRC
[18:17:11] *** codedungeon has joined #angularjs
[18:17:13] *** Una has joined #angularjs
[18:17:41] *** heimdall has joined #angularjs
[18:17:47] *** NormySan has joined #angularjs
[18:17:53] *** soee has joined #angularjs
[18:18:04] *** morganiq has quit IRC
[18:18:07] *** RobinBAwesome_ has joined #angularjs
[18:18:08] *** Crippy has quit IRC
[18:18:10] *** codedungeon has quit IRC
[18:18:21] *** platonic has joined #angularjs
[18:18:37] *** RobinBAwesome has quit IRC
[18:18:37] *** RobinBAwesome_ is now known as RobinBAwesome
[18:18:55] <heimdall> Hi, is there anyone here that can help me with angular + codeigniter? (about $http.get, is not working properly, but .post is though.)
[18:19:01] *** michaelfavia has quit IRC
[18:19:03] *** codedungeon has joined #angularjs
[18:19:10] *** MANCHUCK has quit IRC
[18:19:17] *** Nizumzen has joined #angularjs
[18:19:31] *** m8 has quit IRC
[18:20:17] *** dcadenas has joined #angularjs
[18:20:19] *** DigitallyBorn has joined #angularjs
[18:21:00] *** Una has quit IRC
[18:21:13] *** araujo has quit IRC
[18:21:34] *** jiskiras has quit IRC
[18:21:43] *** juampy has quit IRC
[18:21:49] *** DrShoggoth has quit IRC
[18:22:00] *** Ajans has quit IRC
[18:22:46] <nickeddy> zumba_ad_: http://bit.ly/1G2DjQB
[18:23:02] *** platonic has quit IRC
[18:23:02] *** bayousoft has quit IRC
[18:23:06] *** CiE has quit IRC
[18:23:36] *** nfroidure has joined #angularjs
[18:23:38] *** CiE has joined #angularjs
[18:24:31] *** jsheely|ltop has joined #angularjs
[18:24:35] *** fatshark has joined #angularjs
[18:25:17] *** intellix has quit IRC
[18:25:22] *** afuggini has joined #angularjs
[18:26:02] *** mennea has quit IRC
[18:26:18] *** VitalyT has joined #angularjs
[18:26:26] *** ccohn has quit IRC
[18:26:27] *** jaznow has quit IRC
[18:26:41] *** mennea has joined #angularjs
[18:26:41] <VitalyT> i got only one question - why the release of 1.3.1 so delayed?
[18:26:50] *** favetelinguis has quit IRC
[18:27:09] <bealtine> cos its not ready? and 1.3 only shipped recently
[18:27:39] <VitalyT> the scheduled milestone for 1.3.1 expired 2 weeks ago
[18:27:42] *** elfenheart has joined #angularjs
[18:27:53] <bealtine> there you go
[18:27:56] <Foxandxss> don't trust those milestones now
[18:27:59] <nickeddy> amazingly, things don't always go as planned in software development
[18:28:03] <Foxandxss> they need to adjust everything again
[18:28:07] <nickeddy> or.. life in general
[18:28:29] <VitalyT> they seem to have made so many changes since 1.3.0, tons of them, and still, no update :(
[18:28:44] <bealtine> well patience is a good thing
[18:28:46] *** Asiajey has quit IRC
[18:28:49] <Foxandxss> indeed
[18:28:50] *** _ritchie_ has quit IRC
[18:28:50] *** jazzhippie has joined #angularjs
[18:29:08] *** mzabriskie has quit IRC
[18:29:14] <VitalyT> ok, i will try to sit on my hands :)
[18:29:14] *** fedenunez has quit IRC
[18:29:19] *** thirdknife has joined #angularjs
[18:29:34] *** JSONB has joined #angularjs
[18:30:02] *** jiskiras has joined #angularjs
[18:30:14] *** VitalyT has quit IRC
[18:30:23] *** travm is now known as travm-afk
[18:30:29] *** edrocks has quit IRC
[18:31:14] *** richiebk_ has joined #angularjs
[18:31:26] *** mzabriskie has joined #angularjs
[18:31:28] *** gnrlbzik has joined #angularjs
[18:31:44] *** travm-afk has quit IRC
[18:31:49] <youngnico> anyone love DI questions? hehe :)
[18:31:53] <zumba_ad_> thank you nickeddy
[18:32:21] <youngnico> i'm trying to access a service, via its module like this: angular.injector(['marketplace.services']).get('marketplaceService')
[18:32:22] <zumba_ad_> Do it questions?
[18:32:25] *** Asiajey has joined #angularjs
[18:32:34] <youngnico> however, it throws an unknown provider error
[18:32:43] *** thirdknife has quit IRC
[18:33:02] *** intellix has joined #angularjs
[18:33:06] *** ColKurtz has joined #angularjs
[18:33:07] <youngnico> this only happens when manually getting via injector reference... is there a way to pass module/const dependencies to the injector get?
[18:33:20] <youngnico> i've been digging around on injection docs, but can't quite find anything
[18:33:44] *** ngbot has joined #angularjs
[18:33:44] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from ce20dd0 to 2a0254e: http://git.io/-mvR0A
[18:33:45] *** ngbot has left #angularjs
[18:34:05] <Foxandxss> I normally do $injector.get('foo')
[18:34:06] <Foxandxss> and works
[18:34:08] *** loverajoel has quit IRC
[18:34:34] *** d4rklit3 has joined #angularjs
[18:34:35] *** Asiajey has quit IRC
[18:34:37] *** richiebkr has quit IRC
[18:35:04] <bealtine> i do injector.get and works fine for me
[18:35:10] <bealtine> $injector
[18:35:26] *** azizur has joined #angularjs
[18:35:31] <youngnico> Foxandxss: which would totally work in a normal situation -- i'm lazy loading a module that defines this service
[18:35:44] <Foxandxss> I see
[18:35:48] <Foxandxss> I don't do lazy
[18:35:51] *** azizur has quit IRC
[18:35:52] <youngnico> so i need the injector to load the context of that module (hence the injector(['modNmae']))
[18:35:54] *** SomeKittens has joined #angularjs
[18:36:12] *** ngbot has joined #angularjs
[18:36:12] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 2a0254e to 030101a: http://git.io/cH3bVg
[18:36:12] *** ngbot has left #angularjs
[18:36:17] *** Asiajey has joined #angularjs
[18:36:36] *** reddit has joined #angularjs
[18:36:40] *** xdissent has joined #angularjs
[18:36:42] *** richiebk_ has quit IRC
[18:36:46] <youngnico> this will be slick if i can get the reference, the lazy load pulls in the module, then chains a def which uses the service to preload data... just can't figure out how to massage the service reference in the chained promise
[18:36:50] *** annlewis has quit IRC
[18:37:09] *** Trow has quit IRC
[18:37:20] <youngnico> looking through the injector source, and the caching/queue order has me kind of confused
[18:37:28] <NevilleS> you might want to look at oclazyload
[18:37:38] <NevilleS> https://github.com/ocombe/ocLazyLoad
[18:37:48] *** nfroidure has quit IRC
[18:38:13] *** snapwich has quit IRC
[18:39:20] *** abram has quit IRC
[18:39:20] <youngnico> NevilleS: awesome, so that's what we are using :)
[18:39:22] *** markalanevans has joined #angularjs
[18:39:30] *** rob_parkhill has joined #angularjs
[18:39:37] *** AtomicCookie has quit IRC
[18:39:39] <youngnico> so picture a scenario where ui-router's resolve takes the oclazy load promise
[18:39:40] *** ngbot has joined #angularjs
[18:39:40] <ngbot> [angular.js] jeffbcross pushed 1 new commit to master: http://git.io/bfuhbA
[18:39:40] <ngbot> angular.js/master e4eb382 Jeff Cross: docs(changelog): add release notes for 1.3.1 spectral-lobster
[18:39:40] *** ngbot has left #angularjs
[18:39:44] <NevilleS> yup
[18:39:49] <NevilleS> thats exactly how I use it
[18:40:01] <youngnico> but we want to chain another def that uses the loaded module's service to preload data as part of the resolve chain
[18:40:27] <youngnico> lazyload -> moduleName
[18:40:30] <youngnico> .then
[18:40:40] <youngnico> moduleName.serviceName.preloadData
[18:40:50] <ClearsTheScreen> youngnico: fwiw, the documentation on angular.injector uses the injector slightly differently, than .get()
[18:41:12] <ClearsTheScreen> (caveat, never tried lazy loading with ng; i happily bow to the XP of the people in here :))
[18:41:16] *** krawek has quit IRC
[18:41:18] <NevilleS> im not sure if lazyload returns the module object like that, but maaaaaybe
[18:41:39] <NevilleS> i just use it to load up a module, and then when the state's controller runs I inject the module
[18:41:39] *** aendrew has quit IRC
[18:41:48] <NevilleS> or more specifically I used the directives provided by that module
[18:41:56] *** cthrax has quit IRC
[18:42:08] <youngnico> yeah lazyload only gives you the module name
[18:42:10] *** svycka has quit IRC
[18:42:12] *** Asiajey has quit IRC
[18:42:27] <youngnico> that would be sweet if they let you inject the module's providers in a chained def
[18:42:36] *** pillage_ has quit IRC
[18:42:46] *** favetelinguis has joined #angularjs
[18:43:02] <NevilleS> well once the module is loaded, your service is injectable
[18:43:05] *** travm has joined #angularjs
[18:43:15] <NevilleS> but doing that in the same resolve, I'm not sure how to make it nice
[18:43:16] *** KurtB has quit IRC
[18:43:40] <youngnico> right, it is injectable, but i'm getting an error that when i inject the service, it can't find it's dependencies
[18:43:52] *** rob_parkhill has quit IRC
[18:44:03] *** jMyles has joined #angularjs
[18:44:20] <youngnico> angular.injector(['marketplace.services']).get('marketplaceService') finds the marketplaceService, however that service's dependencies can't be found
[18:44:46] *** zwischenzug has quit IRC
[18:44:58] *** jillesme has quit IRC
[18:45:21] <youngnico> anywhere else in the app and that works... it's like the way i'm doing it loads the module/injector outside the scope of the app
[18:45:32] *** AlSquirrel has quit IRC
[18:45:50] <ClearsTheScreen> youngnico: has my message been lost, or was it intent to not react? re: seeing the documentation use it as injector.invoke(...) instead of injector.get(...)
[18:46:00] *** Asiajey has joined #angularjs
[18:46:01] *** e0ipso is now known as e0ipso|away
[18:46:06] *** Lynxium has joined #angularjs
[18:46:28] <TheAceOfHearts> zumba_ad_: keep running the full test suite on older versions to see if it passes maybe :P?
[18:46:29] *** _dizzy has quit IRC
[18:46:34] <NevilleS> youngico: one thing to try, at least to help debugging, is to add a child state that injects your service
[18:46:34] <NevilleS> and lazy load the module in the parent state
[18:46:37] *** platonic has joined #angularjs
[18:46:40] *** intellix has quit IRC
[18:46:54] <youngnico> ClearsTheScreen: ah yes, i'm using angular.injector though, rather than the $injector
[18:47:00] *** thedodd has joined #angularjs
[18:47:02] *** reddit has quit IRC
[18:47:03] *** xdissent has quit IRC
[18:47:07] <zumba_ad_> TheAceOfHearts: my bad, i didn't write any test suite when I was building the app :(
[18:47:08] <NevilleS> e.g. state 'parent' has resolve 'lazyLoadModule'... state 'parent.child' has resolve 'preloadData', that injects the service
[18:47:23] <TheAceOfHearts> zumba_ad_: maybe you should write one then
[18:47:40] <TheAceOfHearts> but I meant if you wanna see if angular works with a given browser you can just run the full test suite on that browser
[18:47:43] <youngnico> NevilleS: good thoughts, i can try that out to see if it's a timing issue
[18:47:53] <zumba_ad_> I want to but not sure which one I should use. Angular Mock, Karma, Perception something
[18:47:55] *** pootpoot has quit IRC
[18:47:55] *** ngbot has joined #angularjs
[18:47:56] <ngbot> [angular.js] chimney-sweeper tagged v1.3.1 at 13b6c78: http://git.io/cQEpHw
[18:47:56] *** ngbot has left #angularjs
[18:48:11] <NevilleS> it should work
[18:48:20] <youngnico> what's wierd is that it's finding the service... it's just not able to find any of the deps that i've specified for the service
[18:48:21] <zumba_ad_> TheAceOfHearts: any suggestions?
[18:48:21] *** bkuberek has joined #angularjs
[18:48:40] *** markalanevans has quit IRC
[18:48:49] <NevilleS> if not try using $injector.invoke(someResolveFn, this) in the body of the lazy load resolve
[18:48:51] *** cthrax has joined #angularjs
[18:48:53] *** Snugug has joined #angularjs
[18:48:57] <TheAceOfHearts> well, karma is just a test runner
[18:49:02] <TheAceOfHearts> karma or testem to run your unit tests
[18:49:02] *** ozooner__ has quit IRC
[18:49:07] <TheAceOfHearts> and protractor for e2e tests
[18:49:14] <zumba_ad_> e2e?
[18:49:20] <TheAceOfHearts> end to end
[18:49:24] <zumba_ad_> oh
[18:49:36] *** AlSquirrel has joined #angularjs
[18:49:38] <ClearsTheScreen> youngnico: yes, exactely. as said, the docs use .invoke(function(depx, y, z) {...}); e.g. in the sense `var injector = angular.injector(['marketplace.services']).invoke(function(marketplaceService) { /* stuff */ })
[18:49:39] <zumba_ad_> what code will i use to write the test?
[18:49:46] *** sinequanon has joined #angularjs
[18:50:00] <zumba_ad_> and is the code going to reside on the same application I wrote?
[18:50:03] *** RobinBAwesome has quit IRC
[18:50:14] *** AlSquirrel has quit IRC
[18:50:40] *** AlSquirrel has joined #angularjs
[18:50:41] *** RobinBAwesome has joined #angularjs
[18:50:47] <zumba_ad_> so looks like i should start reading up on Karma and Protractor
[18:50:59] *** {DV8} has joined #angularjs
[18:51:22] *** moritzschaefer has joined #angularjs
[18:51:29] <youngnico> ClearsTheScreen: i'm really sorry i'm not connecting the dots, bear with me... can you give me an example how i would inject that service so that it's able to resolve it's deps in the context of the app?
[18:51:34] *** Asiajey has quit IRC
[18:51:41] *** e0ipso|away is now known as e0ipso
[18:51:42] *** markalanevans has joined #angularjs
[18:51:48] <zumba_ad_> reading this now, http://stackoverflow.com/questions/21732379/should-i-be-using-protractor-or-karma-for-my-end-to-end-testing
[18:52:01] *** AlSquirrel has quit IRC
[18:52:04] *** Aliks has joined #angularjs
[18:52:16] <TheAceOfHearts> you can't do end to end tests with karma
[18:52:22] *** bkuberek_ has quit IRC
[18:52:28] <zumba_ad_> but with Protractor, I can right?
[18:52:30] <TheAceOfHearts> they solve different problems
[18:52:32] <TheAceOfHearts> yes
[18:52:34] *** bkuberek has quit IRC
[18:52:35] <zumba_ad_> ok
[18:52:35] <TheAceOfHearts> you should use protractor
[18:52:43] <zumba_ad_> so just ignore Karma?
[18:52:43] <TheAceOfHearts> protractor just tests user interactions with the app
[18:52:50] <zumba_ad_> yeah, that's what I want
[18:52:51] *** guilbep has quit IRC
[18:52:53] <TheAceOfHearts> no, you can use karma to run unit tests
[18:52:57] <zumba_ad_> got it
[18:53:00] *** jrist has quit IRC
[18:53:04] <zumba_ad_> I'm going to read this now too, http://www.yearofmoo.com/2013/09/advanced-testing-and-debugging-in-angularjs.html
[18:53:16] *** WaT has quit IRC
[18:53:16] *** Asiajey has joined #angularjs
[18:53:25] *** TheWalrus has joined #angularjs
[18:53:30] <zumba_ad_> also, I couldn't figure out how I will test the graph that I'm displaying on the application
[18:53:34] <youngnico> zumba_ad_: if you're just starting with protractor, it helps to bookmark this: http://angular.github.io/protractor/#/api
[18:53:40] <zumba_ad_> awesome youngnico
[18:54:02] *** moritzs has quit IRC
[18:54:12] <Somatt_wrk> it seems that when I have a ng-src that leads to a 302, angular caches the end url instead of retrying when I request the img again. Anyone would have some pointers on how to get around it by any chance ?
[18:54:17] <ClearsTheScreen> youngnico: i'm practically only looking at https://docs.angularjs.org/api/ng/function/angular.injector and wonder if using the same syntax, just obviously replacing ['ng'] with your module name etc., would yield results. the doc page does not mention a ".get()" method on the angular.injector
[18:54:22] *** mclenithan has joined #angularjs
[18:54:37] <zumba_ad_> just noticed there was no mention of Protractor on the last link I posted
[18:54:43] *** Asiajey has quit IRC
[18:54:51] <ClearsTheScreen> (which is where my lack of XP comes in; i don't know if the ommission is meaningful; if the angular.injector, as opposed to the $injector service, really doesn't have the get() or if the doc is just not helpful)
[18:54:57] *** Fabiano has joined #angularjs
[18:55:28] <zumba_ad_> and is Protractor made by the same folks that wrote AngularJS?
[18:55:29] *** Fabiano is now known as Bull_
[18:55:48] <bealtine> var interceptor = ['$injector', function ($injector) {
[18:55:48] <bealtine> return $injector.get('MyService');
[18:55:48] <bealtine> }];
[18:55:54] <bealtine> works fine for me
[18:55:57] *** Asiajey has joined #angularjs
[18:55:57] *** nemothekid has joined #angularjs
[18:56:04] <zumba_ad_> Ah, as I read, looks like Protractor is like Selenium
[18:56:06] *** mennea has quit IRC
[18:56:19] <youngnico> ClearsTheScreen: ahh let me try
[18:56:20] *** bradmaxs has joined #angularjs
[18:56:26] *** snapwich has joined #angularjs
[18:56:36] *** rob_parkhill has joined #angularjs
[18:56:37] <youngnico> zumba_ad_: it sits on top of selenium, yes
[18:56:43] *** mennea has joined #angularjs
[18:56:44] <zumba_ad_> got it
[18:56:49] *** ccohn has joined #angularjs
[18:56:56] *** Helious has joined #angularjs
[18:56:57] <zumba_ad_> should I install it inside my existing angular project or separate directory?
[18:56:58] <youngnico> you can think of it as a really high level api that lets you use your favorite flavor (jasmine, mocha, etc)
[18:57:09] *** bee_keeper has quit IRC
[18:57:10] *** emmesswhy has quit IRC
[18:57:13] <youngnico> zumba_ad_: are you using grunt or gulp?
[18:57:16] <zumba_ad_> grunt
[18:57:30] <youngnico> check out https://www.npmjs.org/package/grunt-protractor-runner
[18:57:33] *** Sawbones has joined #angularjs
[18:57:34] *** Asiajey has quit IRC
[18:57:35] <zumba_ad_> ok
[18:57:42] *** tsalb has quit IRC
[18:57:45] <youngnico> and https://www.npmjs.org/package/grunt-protractor-webdriver to manage the selenium server / wd inst.
[18:58:01] <zumba_ad_> awesome! Thanks for all the guidance :)
[18:58:35] <zumba_ad_> should I read grunt-protractor-runner first before the webdriver so I don't get mixed up?
[18:58:49] *** Johnny13371337 has joined #angularjs
[18:59:14] <youngnico> zumba_ad_: do this first in a different directory http://angular.github.io/protractor/#/
[18:59:15] *** Asiajey has joined #angularjs
[18:59:22] <zumba_ad_> got it
[18:59:26] <youngnico> that will help you understand the different parts / runtime / boot a little better
[18:59:31] *** edrocks has joined #angularjs
[18:59:32] <zumba_ad_> k
[18:59:38] <youngnico> then reading through the readmes on those tasks should get you started
[18:59:50] <zumba_ad_> cool
[18:59:52] <youngnico> feel free to PM me with questions, and i'll try to help -- pretty similar to one of our stacks actually
[19:00:02] *** NevilleS has quit IRC
[19:00:03] <zumba_ad_> will do. I'll read up first
[19:00:06] <youngnico> ClearsTheScreen: so that was a good idea, same error though
[19:00:18] *** tech2 has joined #angularjs
[19:00:24] <youngnico> angular.injector(['marketplace.services']).invoke(function(marketplaceService) {
[19:00:24] <youngnico> marketplaceService.data;
[19:00:24] <youngnico> });
[19:00:33] <jcool> all urls in route are relative to index.html file?
[19:00:41] <dllama> as much as i love RoR, sometimes its just suuuuuuuch a massively annoying little btch
[19:00:50] *** NevilleS has joined #angularjs
[19:00:51] <jcool> as in to iniator file
[19:01:03] *** markalanevans has quit IRC
[19:01:22] *** frem has joined #angularjs
[19:01:40] <youngnico> ClearsTheScreen: so check out invoke https://gist.github.com/nicovalencia/4f2787ad4c9b95b75bf2#file-injector-js-L157
[19:01:51] <youngnico> looks like it takes self/locals
[19:02:02] *** xdissent has joined #angularjs
[19:02:02] *** joleal has quit IRC
[19:02:12] *** xdissent has quit IRC
[19:02:15] *** rburns has joined #angularjs
[19:02:28] *** zemanel has quit IRC
[19:02:30] *** Sawbones has quit IRC
[19:02:37] *** DigitallyBorn has quit IRC
[19:02:41] *** richiebkr has joined #angularjs
[19:02:49] <ClearsTheScreen> youngnico: even moreso, at the end the returned ary has a 'get' too, making my point somewhat moot as it stands :<
[19:03:24] *** woah has joined #angularjs
[19:03:34] *** cohitre has quit IRC
[19:03:38] <youngnico> grr, this is so close to working... just needs some massaging of dependencies...
[19:04:00] <NevilleS> youngico: so when ocLazyLoad loads your model, it doesn't include the dependencies
[19:04:13] *** Bull_ has quit IRC
[19:04:15] *** snapwich has quit IRC
[19:04:37] <NevilleS> ?
[19:04:40] *** thedodd has quit IRC
[19:04:41] <youngnico> NevilleS: it does load everything properly
[19:04:55] <NevilleS> soooo...
[19:05:00] *** jrist has joined #angularjs
[19:05:03] *** dcherman has joined #angularjs
[19:05:04] <youngnico> i'm trying to chain another promise to the lazy load though
[19:05:07] <NevilleS> why
[19:05:17] <youngnico> so that i can preload data before resolving the route
[19:05:23] <youngnico> fair?
[19:05:26] <NevilleS> did you try the parent/child thing
[19:05:37] <youngnico> yes, same injection issue though =/
[19:05:46] <youngnico> it's loading all the source code in just fine
[19:05:49] <NevilleS> then I suspect it's not an injector issues
[19:05:51] *** zzing has joined #angularjs
[19:05:53] <NevilleS> it's something more nebulous
[19:06:02] <youngnico> that's fair
[19:06:06] <NevilleS> if you include your module at the top level, not lazy load
[19:06:07] <NevilleS> does it work
[19:06:10] *** ingsoc has joined #angularjs
[19:06:27] *** yelvert has joined #angularjs
[19:06:29] <NevilleS> in other words, time for a sanity check :)
[19:06:39] <youngnico> yep, good call, let me check
[19:07:15] *** rob_parkhill has quit IRC
[19:07:26] *** Raging_Hog has quit IRC
[19:07:34] *** Asiajey has quit IRC
[19:07:41] *** scythe__ has quit IRC
[19:07:42] *** dcherman2 has quit IRC
[19:08:25] *** ngbot has joined #angularjs
[19:08:25] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 030101a to c77f5d1: http://git.io/thNXKA
[19:08:25] *** ngbot has left #angularjs
[19:08:30] *** Asiajey has joined #angularjs
[19:08:51] *** rob_parkhill has joined #angularjs
[19:09:31] *** ngbot has joined #angularjs
[19:09:31] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from c77f5d1 to 018991f: http://git.io/BhbnOg
[19:09:31] *** ngbot has left #angularjs
[19:09:32] *** elrabin_ has joined #angularjs
[19:09:57] <youngnico> NevilleS: okay so it does NOT work, same error
[19:10:00] *** AngularUI has joined #angularjs
[19:10:00] <AngularUI> [ng-grid] jiggak opened pull request #1983: Yet another fix for auto-width columns + unit test (master...master) http://git.io/bXk3Yw
[19:10:00] *** AngularUI has left #angularjs
[19:10:00] <NevilleS> :)
[19:10:01] <youngnico> good sanity check though
[19:10:27] <NevilleS> you may have just saved yourself a helluva lot of time
[19:10:28] <NevilleS> lol
[19:10:29] *** ajk27 has quit IRC
[19:10:36] *** ngbot has joined #angularjs
[19:10:36] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 018991f to 3831e45: http://git.io/HJ5jwA
[19:10:36] *** ngbot has left #angularjs
[19:10:37] *** umib0zu has joined #angularjs
[19:10:46] *** fedenunez has joined #angularjs
[19:10:52] <nairys> i have a really weird question to ask - my web app has run into an issue where an ng-bind and an expression for the same model are not the same yet i cannot replicate the issue in a plunkr
[19:11:06] *** Aliks has quit IRC
[19:11:19] <nairys> when i click a button, the ng-bind stays the same but the expression changes (as it should)
[19:11:39] <nairys> http://plnkr.co/edit/ukVuiKiTAYEJiDg3FwRh you can see it working the way it should here
[19:11:43] *** ngbot has joined #angularjs
[19:11:43] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 3831e45 to 7b7b082: http://git.io/gw3tVg
[19:11:43] *** ngbot has left #angularjs
[19:11:47] *** ozooner__ has joined #angularjs
[19:12:21] *** MaxV has quit IRC
[19:12:23] <nairys> any tips on how to begin debugging would be great
[19:12:26] *** shilon has quit IRC
[19:12:33] *** spatialbrew has quit IRC
[19:12:50] *** ngbot has joined #angularjs
[19:12:50] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 7b7b082 to ed6e91b: http://git.io/Av5Jgw
[19:12:51] *** ngbot has left #angularjs
[19:13:16] *** elrabin has quit IRC
[19:13:18] *** ajk27 has joined #angularjs
[19:13:22] *** mennea has quit IRC
[19:13:55] *** ngbot has joined #angularjs
[19:13:55] <ngbot> [angular.js] jeffbcross merged master into g3_v1_3: http://git.io/_YWZ_w
[19:13:56] *** ngbot has left #angularjs
[19:14:37] *** rburns has quit IRC
[19:14:43] *** shaisnir has joined #angularjs
[19:15:16] *** zakj has joined #angularjs
[19:16:00] *** NevilleS has quit IRC
[19:16:13] *** Aliks has joined #angularjs
[19:16:23] *** tristanp has quit IRC
[19:17:02] *** NevilleS has joined #angularjs
[19:17:16] *** ozooner__ has quit IRC
[19:17:35] *** snapwich has joined #angularjs
[19:18:01] *** arkin has quit IRC
[19:18:53] <jcool> can we have same controller for 2 diffrenet template?
[19:19:06] *** {DV8} has quit IRC
[19:19:28] *** defaultdict has joined #angularjs
[19:19:32] *** annlewis has joined #angularjs
[19:19:35] *** NevilleS has quit IRC
[19:19:42] *** dmra has quit IRC
[19:20:05] *** Zren has quit IRC
[19:20:20] *** merrihew has joined #angularjs
[19:20:40] *** moritzschaefer has quit IRC
[19:20:53] *** Shadeness has joined #angularjs
[19:21:01] *** NevilleS has joined #angularjs
[19:21:03] *** AlSquirrel has joined #angularjs
[19:21:38] *** Asiajey has quit IRC
[19:22:03] <NevilleS> nairys: if you make them both ng-binds, do neither update?
[19:22:30] *** Asiajey has joined #angularjs
[19:22:30] *** Asiajey has joined #angularjs
[19:22:42] <NevilleS> e.g. instead of <p>My interpolated expression {{ expr }}</p><span ng-bind="expr"></span>
[19:22:56] <NevilleS> do <p>My interpolated expression <span ng-bind="expr"></span></p><span ng-bind="expr"></span>
[19:23:00] *** merrihew has quit IRC
[19:23:11] *** pillage has joined #angularjs
[19:23:20] *** merrihew has joined #angularjs
[19:23:23] <NevilleS> (my suspicion is that the interpolated expression and the ng-bind are in different scopes)
[19:24:23] *** fedenunez1 has joined #angularjs
[19:24:35] *** fedenunez has quit IRC
[19:24:38] *** DigitallyBorn has joined #angularjs
[19:24:38] *** DigitallyBorn has joined #angularjs
[19:25:02] *** Latros-OS has quit IRC
[19:25:03] *** instence has joined #angularjs
[19:25:06] *** favetelinguis has quit IRC
[19:25:08] *** sonofdirt has quit IRC
[19:25:13] *** instence_ has quit IRC
[19:25:47] *** sonofdirt has joined #angularjs
[19:28:06] *** pillage has quit IRC
[19:28:20] *** freeman42 has joined #angularjs
[19:28:43] *** patric100e99 has joined #angularjs
[19:29:25] *** faveteli_ has joined #angularjs
[19:29:32] *** anivemin has joined #angularjs
[19:29:52] *** cotko has quit IRC
[19:30:05] *** tristanp has joined #angularjs
[19:30:28] *** TheAceOfHearts has quit IRC
[19:30:29] *** TheWalrus has quit IRC
[19:30:29] *** sonofdirt has quit IRC
[19:31:09] *** faveteli_ has quit IRC
[19:31:32] *** afuggini has quit IRC
[19:31:47] *** favetelinguis has joined #angularjs
[19:31:53] *** codeninja-don has quit IRC
[19:32:51] *** jazzhippie has quit IRC
[19:33:12] *** patric100e99 has quit IRC
[19:33:18] *** Latros-OS has joined #angularjs
[19:33:32] *** charuru has joined #angularjs
[19:33:37] *** Siraris has joined #angularjs
[19:33:43] <dllama> https://gist.github.com/mvoloz/baef7ee0a8e22b85c7ce — in my payment form, scope.paymentErrorMessage updated and posted to view, but my ng-show did not show the error message, do i need to add some sort of listener for it?
[19:33:57] *** firelinks has joined #angularjs
[19:33:58] <nairys> NevilleS neither update when i try that
[19:34:01] *** torok has quit IRC
[19:34:02] *** Aerospark has quit IRC
[19:34:10] *** codeninja-don has joined #angularjs
[19:34:13] *** anivemin has quit IRC
[19:34:37] *** Aerospark has joined #angularjs
[19:34:37] <dllama> nm, markup error on my end
[19:34:49] *** Alina-malina has quit IRC
[19:35:07] <dllama> actually maybe not, ng-show adds display:block on its own right?
[19:35:17] <caitp> hi guys whats up
[19:35:17] <Siraris> So I’m experiencing a strange issue. I have an array with objects in it. I am setting a variable called order (var order) equal to one of the properties of one of the objects in the array, and then using it to order the propreties of an object in a function called from a service. I pass in the variable order, where I then need to add a value to the beginning of the order array, which I do by saying order.unshift(“base”). The thing that’s odd
[19:35:18] <Siraris> when I do this, this seems to operate on the ORIGINAL object in the original array that I set order to
[19:35:18] <caitp> happy halloween
[19:35:22] <caitp> i'm bored
[19:35:24] <Siraris> Why in the world would this be?
[19:35:30] <dllama> hi caitp
[19:35:52] *** Alina-malina has joined #angularjs
[19:35:52] *** Alina-malina has joined #angularjs
[19:35:53] *** favetelinguis has quit IRC
[19:36:04] <codedungeon> @caitp Ditto
[19:36:04] *** e0ipso is now known as e0ipso|away
[19:36:26] * caitp waits for llvm to build :c
[19:36:30] *** sikor_sxe has quit IRC
[19:36:36] *** phuh has quit IRC
[19:36:37] <caitp> i didn't want to rebuild all of llvm, just lldb
[19:36:40] <caitp> but no, that's too much to ask
[19:37:01] *** phuh has joined #angularjs
[19:37:01] *** junmin_ has joined #angularjs
[19:37:03] <NevilleS> nairys: then I suspect your ng-bind isn't what you think it is
[19:37:11] <NevilleS> caitp: happy halloween to you too
[19:37:17] *** bphogan has left #angularjs
[19:37:42] *** sigurding has joined #angularjs
[19:37:46] <dllama> am i missing something with my ng-show ? i see that it updated to true in view, but doing ng-show="paymentError" doesn't actually show anythign :(
[19:38:15] *** elfenheart has quit IRC
[19:38:19] *** cthrax has quit IRC
[19:38:50] *** Aerospark has quit IRC
[19:39:03] <dllama> if the default css is display:none, shouldn't ng-show overwrite that with display:block?
[19:39:09] *** e0ipso|away is now known as e0ipso
[19:39:12] *** ProLoser has joined #angularjs
[19:39:28] *** Aerospark has joined #angularjs
[19:39:38] *** deanclkclk_ has joined #angularjs
[19:39:43] *** junmin has quit IRC
[19:39:45] <NevilleS> did you set display:none?
[19:39:53] *** codeninja-don has quit IRC
[19:39:56] <dllama> for my form error its set to display:none
[19:40:03] <NevilleS> because ng-show will hide it for you, take that out
[19:40:15] <NevilleS> it's possible that your css is more specific than ng-show
[19:40:15] <dllama> i see ok
[19:40:46] <NevilleS> CSS specificity is spOoOoOky
[19:40:53] <NevilleS> wOoOoOoOoOo
[19:40:59] <dllama> .formerr {background: #ED1C24;color: #fff;display: none;}
[19:41:00] <dllama> sorry to post here,
[19:41:15] <NevilleS> easier than opening a pastebin for me
[19:41:22] <NevilleS> is that your CSS rule?
[19:41:29] <dllama> yea
[19:41:30] *** rhp has joined #angularjs
[19:41:39] <NevilleS> remove the display: none
[19:41:40] <dllama> well its a bit longer than that, but its not nested
[19:41:59] <NevilleS> it seems unlikely that it is more specific, yeah, but in any case it's not necessary
[19:42:02] <dllama> i thought maybe thats what you meant by css being very specific
[19:42:14] <NevilleS> no, I'm referring to CSS specificity
[19:42:18] *** RobinBAwesome has quit IRC
[19:42:24] <dllama> understood
[19:42:43] <dllama> i just know that sometimes when it gets really nested with very explicit parent/child element associations it can get iffy
[19:42:49] <dllama> didn't think it applied in this scenario
[19:42:54] *** deanclkclk has quit IRC
[19:42:58] *** vbabiy has quit IRC
[19:43:00] *** darrin has quit IRC
[19:43:06] *** RobinBAwesome has joined #angularjs
[19:43:20] <dllama> ok that worked lol
[19:43:30] <dllama> thank you :)
[19:43:33] *** darrin has joined #angularjs
[19:43:56] *** ProLoser has quit IRC
[19:43:58] *** nemothekid has quit IRC
[19:44:01] *** elrabin_ has quit IRC
[19:44:11] *** _ritchie_ has joined #angularjs
[19:44:23] <nickeddy> does ui-select just suck ass or is it me?
[19:44:33] *** elrabin has joined #angularjs
[19:44:35] *** Latros-OS has quit IRC
[19:44:38] <NevilleS> nickeddy: :)
[19:45:06] *** JBreit has quit IRC
[19:45:16] *** cohitre has joined #angularjs
[19:45:55] *** matisoffn has quit IRC
[19:46:02] *** Nijikokun has joined #angularjs
[19:46:11] *** whitebook has joined #angularjs
[19:46:32] *** binarytrees has quit IRC
[19:46:55] *** mrtoadsc has joined #angularjs
[19:47:00] *** Siraris has quit IRC
[19:47:12] *** yelvert has quit IRC
[19:47:15] *** whiteboo_ has quit IRC
[19:47:27] *** RobinBAwesome has quit IRC
[19:47:54] *** ozooner__ has joined #angularjs
[19:48:10] <nairys> NevilleS i solved it thanks to a genius coworker
[19:48:19] <nairys> the issue was with .setDate
[19:48:24] *** Txandy has quit IRC
[19:48:29] *** zzing has quit IRC
[19:48:35] *** kuniyori has joined #angularjs
[19:48:56] *** mmeallin_ has quit IRC
[19:48:59] <NevilleS> nairys: coolio
[19:49:10] *** jrist has quit IRC
[19:49:12] *** loverajoel has joined #angularjs
[19:49:26] <nairys> when i clicked the button, i ran .setDate on the scope variable
[19:49:33] *** rob_parkhill has quit IRC
[19:49:37] *** krawek has joined #angularjs
[19:49:38] *** nemothekid has joined #angularjs
[19:49:53] *** elux has quit IRC
[19:49:53] <nairys> but for some reason, that doesn't update the variable in the view
[19:49:57] *** dgee has joined #angularjs
[19:50:09] *** mandric has quit IRC
[19:50:16] <nairys> as a result, i had to set a new variable to the result of the .setDate and then set the scope variable equal to the new variable
[19:50:20] <nairys> sorry if the explanation doesn't make sense
[19:50:37] *** clov3r has joined #angularjs
[19:50:38] *** rob_parkhill has joined #angularjs
[19:50:44] <nairys> i'm still pretty new
[19:50:52] *** anivemin has joined #angularjs
[19:51:20] <clov3r> Hey, I've got a quick question, how can I access a angular service when defining a constant?
[19:51:20] <NevilleS> yeah, that sounds smelly as hell, but enjoy exploring :)
[19:51:36] *** Jdubs has quit IRC
[19:51:50] <dllama> as a general sidenote, comodo ssl sucks donkey ass
[19:51:52] *** Sawbones has joined #angularjs
[19:52:10] <clov3r> so I can do something like" myModule.constant("MY_CONFIG" , $location.origin + "/further/url/string")
[19:52:21] <dllama> cert they issued last night doesn't match my key, and now been waiting for like 2hrs to reissue a new one
[19:52:21] *** thedodd has joined #angularjs
[19:52:27] *** dvir has joined #angularjs
[19:52:36] *** chanced has joined #angularjs
[19:52:49] *** thedodd has quit IRC
[19:52:57] *** TommyO has quit IRC
[19:53:03] *** dvir has quit IRC
[19:53:04] <chanced> so i finally got around to reading about angular 2.0... and it ruined my day :/
[19:53:05] <snurfery> sup yall
[19:53:12] *** Nizumzen has quit IRC
[19:53:17] <snurfery> chanced: right? I was in a funk yesterday
[19:53:22] <ingsoc> chanced: how so
[19:53:27] *** JBreit has joined #angularjs
[19:53:27] *** richiebkr has quit IRC
[19:53:32] *** svteoi has joined #angularjs
[19:53:41] *** richiebkr has joined #angularjs
[19:53:55] *** Una has joined #angularjs
[19:53:58] <chanced> ingsoc: 2.0 is pretty much a complete abandonment of angular as it stands
[19:54:00] *** Sontakey has joined #angularjs
[19:54:18] <chanced> which is fine but I have no interest in 2.0
[19:54:27] *** DigitallyBorn has quit IRC
[19:54:35] <NevilleS> clov3r: constant is just syntactic sugar for a service definition
[19:54:38] *** syafiqLC has joined #angularjs
[19:54:42] <NevilleS> services are injectable
[19:54:54] <nickeddy> chanced: quite a bit of time before release so there's a lot that can cahnge
[19:55:01] *** syafiqLC has quit IRC
[19:55:03] <nickeddy> at least, that's what i keep telling myself :|
[19:55:14] <chanced> nickeddy: indeed, but i doubt that will happen
[19:55:31] <NevilleS> clov3r: so constant might be injectable too, but if not just define it as a service
[19:55:51] <clov3r> NevilleS: thank you kindly
[19:55:52] <chanced> i think the objective is to make angular a core alternative to java for android
[19:55:58] *** OdinIncarnate has joined #angularjs
[19:56:07] <chanced> and in doing so, they need to make the transition easier for java devs
[19:56:20] *** richiebkr has quit IRC
[19:56:22] *** shaisnir has quit IRC
[19:56:24] <chanced> .. i loathe java
[19:56:42] *** Sawbones has quit IRC
[19:56:56] <chanced> the direction of angular 2.0 reminds me a great deal of Asp.Net webforms
[19:57:10] <NevilleS> angular 2.0 reminds me of polymer
[19:57:13] <chanced> which was designed to make the transition from desktop development to webdevelopment easier
[19:57:21] *** SpearThruster has quit IRC
[19:57:23] <ColKurtz> would anybody know how to destroy a spy in jasmine?
[19:57:30] *** intellix has joined #angularjs
[19:57:39] <chanced> er, i just meant in terms of ideology moreso than code
[19:57:44] <NevilleS> mm ok
[19:58:00] *** shilon has joined #angularjs
[19:58:08] <snurfery> sounds like a ton of the design decisions in 2.0 are based on trying to work side by side with polymer
[19:58:23] <chanced> but you're right, polymer does seem to be their target
[19:58:24] *** Una has quit IRC
[19:58:52] *** bkuberek has joined #angularjs
[19:59:08] <NevilleS> polymer implements tons of the same things as angular, but using web standards instead of custom JS
[19:59:19] <chanced> anyway, it'll be interesting to see how this all shakes out
[19:59:19] <NevilleS> or at least to the untrained eye like me
[19:59:24] *** Mackseraner has joined #angularjs
[19:59:32] *** nemothekid has quit IRC
[19:59:33] *** krawek has quit IRC
[19:59:43] <snurfery> I think there are quite a few ambitious, forward-thinking, forward-leaning goals that influencing things
[19:59:45] <chanced> in the meantime, i think i might try sowing together a framework out of microframeworks
[19:59:53] <snurfery> which is great for those whose job it is to design technology
[20:00:06] <snurfery> but not as great for the people who are supposed to use and keep up with it
[20:00:16] *** Foxandxss has quit IRC
[20:00:32] *** thedodd has joined #angularjs
[20:00:49] <chanced> snurfery: right
[20:01:23] *** moafoca has joined #angularjs
[20:01:49] *** shaisnir has joined #angularjs
[20:02:37] *** Una has joined #angularjs
[20:02:50] *** sonofdirt has joined #angularjs
[20:02:56] *** michaelfavia has joined #angularjs
[20:03:23] *** bkuberek has quit IRC
[20:03:36] *** jrist has joined #angularjs
[20:03:55] *** tech2 has quit IRC
[20:03:58] *** Sebastien-L has quit IRC
[20:04:02] <ingsoc> chanced: I have not read THAT much about it but from a few of the angular blog posts they are supposed to be simplifying things afaict
[20:04:06] *** shredjs has joined #angularjs
[20:04:19] <ingsoc> but you seem to think it could be going a complicated route ?
[20:04:36] *** snapwich has quit IRC
[20:04:38] *** gjulianm has joined #angularjs
[20:04:42] <chanced> ingsoc: it's abandoning a lot of the core concepts like controllers, modules
[20:04:44] <ingsoc> I mean, they are claiming their intention is to simplify
[20:04:49] <gjulianm> Hi guys, I have a quick questio
[20:05:02] <ingsoc> chanced: and you are miffed cos you took time to learn it ?
[20:05:16] <gjulianm> quick question. Why would angular “wait” to evaluate a watch function?
[20:05:27] <ingsoc> and now that knowledge won't be as valuable further down the line ?
[20:05:28] <chanced> ingsoc: no, i've worked on more languages and frameworks than i care to admit
[20:05:36] <ingsoc> or you think they are going in the wrong direction design wise
[20:06:03] <gjulianm> First time I change a value, the watch doesn’t fire. The second time I change it, it fires the watch function twice.
[20:06:17] <chanced> from what i've seen, it's a pretty big departure
[20:06:24] *** mvando has quit IRC
[20:06:40] *** disorder20 has joined #angularjs
[20:06:58] <ingsoc> chanced: well yeah we have established that, I am just curious as to what you aren't liking about it if it isn't anything to do with being annoyed you learnt something that will be made partially obsolete
[20:07:20] <ingsoc> I am interested as I am looking toward how things will work out
[20:07:44] <chanced> ingsoc: i see; well, a part of my annoyance is support
[20:07:55] <chanced> i have clients & personal projects riding on angular
[20:08:09] <ingsoc> well, yes, that is a valid concern
[20:08:13] <chanced> at some point, i am going to have to make decisions as what i'm going to do with them
[20:08:15] *** intellix has quit IRC
[20:08:28] <chanced> because porting them to 2.0 is out of the question
[20:08:34] <ingsoc> but I would think there will be a long transition and 1.x will run concuirrent i would think
[20:08:54] <chanced> sure, 2.0 is a ways away
[20:08:59] <ingsoc> so there will be a point that maybe starting a green fields project with 1.x will not be wise
[20:09:00] <chanced> and they'll support 1.3 for a year afterward
[20:09:11] *** ben_dev has quit IRC
[20:09:13] <chanced> that's already here for me
[20:09:15] *** robdubya has joined #angularjs
[20:09:29] <chanced> i think
[20:09:31] *** mglvl has joined #angularjs
[20:09:35] <jaydubya> anyone use or have used Angular-xeditable?
[20:09:41] <chanced> i dunno, i'll have to see how things shake out over the next week or two
[20:09:42] *** darrin has quit IRC
[20:09:46] <ingsoc> I am starting a green fields with 1.3
[20:09:47] *** y|haimo has joined #angularjs
[20:09:48] <nickeddy> chanced: no, 18-24 month
[20:09:52] <ingsoc> ther eis no 2.0
[20:09:57] <ingsoc> and i can;t just stop new work
[20:09:58] *** bkuberek has joined #angularjs
[20:09:58] <ingsoc> :)
[20:10:01] <chanced> nickeddy: support for 1.3 post 2.0?
[20:10:04] <nickeddy> jaydubya: i use it
[20:10:05] <nickeddy> yes
[20:10:11] <jaydubya> thank god!
[20:10:15] <nickeddy> after 2.0 releases, 18-24 month support for 1.3
[20:10:15] *** shaisnir has joined #angularjs
[20:10:17] <nairys> the company i work for isnt phased by 2.0 and is still going full steam ahead with angular
[20:10:23] <nairys> just to chime in some support for angular
[20:10:24] <chanced> interesting, i got miss-information then
[20:10:39] *** mtsr has joined #angularjs
[20:10:46] <ingsoc> so what makes people feel it could be an alternative to java dev for android ?
[20:10:46] *** bkuberek_ has joined #angularjs
[20:11:00] <ingsoc> you mean some kind of web view based thing utilising something like ionic
[20:11:07] <nairys> my boss says there's too much that can change between now and release so it's too soon to start thinking about making any changes to our tech stack
[20:11:12] <nickeddy> chanced: yeah, the details don't seem to be solid right now so i'd relax... it will be at LEAST a year til 2.0 releases
[20:11:12] *** darrin has joined #angularjs
[20:11:19] <nickeddy> and as you know a lot can change in that time
[20:11:21] <jaydubya> nickeddy: Am I not understanding the docs? Surely I don't have to create a function for EACH editable control, do I? -- http://plnkr.co/edit/6Ntwdrb0L5FArylAbYau?p=preview
[20:11:43] <nairys> a year in the tech world is like a decade in the real world
[20:11:46] <snurfery> forced obsolescence to herd people to some "perfect framework" that only supports evergreen browsers is exactly what happens when engineers make decisions in a bubble
[20:11:57] <jaydubya> nickeddy: I am trying to take their sample (bottom of plunker) and replicate it in each row of that table. Can you help?
[20:12:03] <nickeddy> snurfery: well luckily we live in this world called open source
[20:12:34] *** TheAceOfHearts has joined #angularjs
[20:12:41] <snurfery> of course, but if they won't accept features or plan for 1.4+ then it dies
[20:12:48] <nickeddy> jaydubya: ? http://vitalets.github.io/angular-xeditable/#editable-row
[20:12:50] <snurfery> it's still forced
[20:12:57] *** qdk has quit IRC
[20:12:57] <chanced> snurfery: i suspect it'll get forked
[20:13:05] <nairys> it's not stopping the community from forking and taking it over
[20:13:06] *** jrist has quit IRC
[20:13:22] <chanced> but fracturing the community will be a death knell
[20:13:23] <snurfery> of course, but that doesn't excuse the decisions
[20:13:29] *** Mordecai has quit IRC
[20:13:51] *** Mordecai has joined #angularjs
[20:13:54] <snurfery> they finally gave ppl a reason to not use angular
[20:14:01] <snurfery> and I was feeling sooooo smug and awesome too
[20:14:01] <chanced> if it gets forked, there's no telling how many fractures will emerge
[20:14:02] <ingsoc> I must admit google may get a bad name for switching tech
[20:14:04] <ingsoc> look at GWT
[20:14:08] *** elrabin_ has joined #angularjs
[20:14:12] <nairys> i think cooler heads will prevail
[20:14:27] *** bkuberek has quit IRC
[20:14:32] <ingsoc> microsoft has done it also with silverlight
[20:14:48] <dllama> guys, how do you actually deploy an angular app? for instance with ruby i use capistrano, whats the prefered way of doing it with angular?
[20:15:09] <snurfery> yeah I think they need an adult in the building to represent stakeholders other than the core framework's dev team
[20:15:16] <nairys> anyways 2.0 has been talked to death here over the past week
[20:15:40] *** RobinBAwesome has joined #angularjs
[20:16:02] <ingsoc> i not been on channel for a few weeks so
[20:16:07] <snurfery> understandably - it'll influence our lives and decisions for the next few years
[20:16:14] *** heimdall has quit IRC
[20:16:17] <snurfery> and this is #angularjs what other news is happening haha
[20:16:26] <NevilleS> SPOOKY HALLOWEEN NEWS
[20:16:28] <NevilleS> THATS WHAT
[20:16:33] <snurfery> BOO
[20:16:37] <NevilleS> :O
[20:16:41] <snurfery> heh
[20:16:44] *** fedenunez1 has quit IRC
[20:16:56] <TheAceOfHearts> dllama: build the app and copy it to my Rails app's public folder lol
[20:17:09] <TheAceOfHearts> if I had em in separate repos (which I don't for legacy reasons), I'd just use nginx
[20:17:22] <dllama> TheAceOfHearts: i am using nginx
[20:17:30] <dllama> but api & app are on different machines
[20:17:39] <TheAceOfHearts> so?
[20:17:40] <icfantv> i just got handed a 9-page resume.
[20:17:42] <dllama> i just never deployed an angular app before so i dont actually even know what i need to installed
[20:17:45] <icfantv> it goes back to 1983
[20:17:49] <icfantv> i was in third grade
[20:17:53] <TheAceOfHearts> lmao
[20:17:55] <dllama> dont know what the steps involved are,
[20:18:03] <TheAceOfHearts> dllama: it depends a lot on your application
[20:18:05] *** dgee has quit IRC
[20:18:10] *** Una has quit IRC
[20:18:14] *** elrabin has quit IRC
[20:18:15] <icfantv> on the flip side, the guy's been doing Java development since 1996
[20:18:21] <icfantv> allegedly
[20:18:28] *** elrabin_ has quit IRC
[20:18:34] <TheAceOfHearts> if it's a simpler app it's better to have it all in one place. there's a reason why monoliths are so popular. they're very easy to manage
[20:18:51] *** moritzschaefer has joined #angularjs
[20:18:56] <TheAceOfHearts> by breaking up your app into multiple services you take on the burden of managing all the services
[20:19:08] <dllama> its simple in the sense that its just a front end website,
[20:19:18] *** rob_parkhill has quit IRC
[20:19:28] <TheAceOfHearts> then just have like a chef recipe that builds it and copies it to a folder that nginx can serve
[20:19:30] <dllama> but i broke it up into 3 parts (or atleast thats the plan), front end, admin and api
[20:19:48] <TheAceOfHearts> and you have it serve up the public files, if the file isn't found default to index.html
[20:19:55] <TheAceOfHearts> and proxy all /api/ requests to your API server
[20:19:56] <TheAceOfHearts> easy
[20:20:07] <TheAceOfHearts> or hit your API directly from your app
[20:20:15] *** Mackseraner has quit IRC
[20:20:25] <dllama> yea i'm hitting api via restangular through full path
[20:20:36] <TheAceOfHearts> so what's the problem? lol
[20:21:00] <dllama> i dont know how to go from development code to production code,
[20:21:02] <dllama> minified, etc
[20:21:04] *** marshall_ has joined #angularjs
[20:21:17] <TheAceOfHearts> well
[20:21:24] <TheAceOfHearts> it depends
[20:21:30] <TheAceOfHearts> how deep into the rabbit hole do you wanna go?
[20:21:30] <dllama> with cap, i just save it to git, run cap deploy and its done
[20:21:45] <TheAceOfHearts> yeah
[20:22:05] *** Sawbones has joined #angularjs
[20:22:16] <TheAceOfHearts> you can probably make a capistrano task or w/e to install and build your frontend app
[20:22:18] <TheAceOfHearts> I use chef
[20:22:22] <TheAceOfHearts> I hate chef
[20:22:26] <dllama> lol
[20:22:31] <TheAceOfHearts> but I think pretty much all of these tools kinda suck
[20:22:35] <dllama> those 2 comments 1 after another are hilarious
[20:22:49] <TheAceOfHearts> so idk, just make a gulpfile.js with a build task for your app
[20:22:56] <TheAceOfHearts> and you run that to build your app
[20:23:03] <TheAceOfHearts> and then chef or w/e can copy it to the public folder if it succeeds
[20:23:05] *** MaxV has joined #angularjs
[20:23:14] *** gavit has quit IRC
[20:23:14] *** danecando has quit IRC
[20:23:27] <TheAceOfHearts> you can rip off the steps that the heroku nodejs buildpack probably
[20:23:45] <TheAceOfHearts> https://github.com/cesarandreu/heroku-buildpack-nodejs this is my fork. it adds a build step
[20:23:51] <TheAceOfHearts> because having your builds run after npm install is stupid
[20:24:40] *** araujo has joined #angularjs
[20:24:41] *** JSONB has quit IRC
[20:24:58] <TheAceOfHearts> so is that clear?
[20:25:05] <dllama> i'm looking @ your fork
[20:25:22] <dllama> its a clear explanation, for someone thats never done it, clear isn't really the word i'd use to describe it lol
[20:25:25] <dllama> a little overwhelming tbh
[20:25:27] <TheAceOfHearts> https://github.com/cesarandreu/heroku-buildpack-nodejs/blob/master/bin/compile
[20:25:55] *** moritzschaefer has quit IRC
[20:26:21] *** krawek has joined #angularjs
[20:26:34] <TheAceOfHearts> I still think having everything in 1 place is a good idea for smaller apps
[20:26:37] *** travm is now known as travm-afk
[20:26:45] *** arek_at_work has quit IRC
[20:26:50] <TheAceOfHearts> or you can have a meta-app that pulls in all your services
[20:26:53] <TheAceOfHearts> so you deploy to just 1 place
[20:27:00] *** Sebastien-L has joined #angularjs
[20:27:00] <TheAceOfHearts> but your code is broken up into lots of services
[20:27:03] <TheAceOfHearts> that approiach is nice too
[20:27:12] <TheAceOfHearts> the problem with that approach is that testability can get tricky
[20:27:20] <dllama> i dont test :(
[20:27:24] <TheAceOfHearts> for example, let's say you're doing some changes in API--
[20:27:26] <TheAceOfHearts> oh
[20:27:30] <TheAceOfHearts> well then fuck it
[20:27:32] <TheAceOfHearts> yolo
[20:27:33] <dllama> lol
[20:27:33] *** MaxV has quit IRC
[20:27:35] <dllama> haha
[20:28:29] <dllama> i should probably start by installing node on my DO box :/
[20:28:31] *** travm-afk is now known as travm
[20:28:32] <dllama> kind of overlooked that step
[20:28:43] *** jrist has joined #angularjs
[20:29:15] *** jsheely|ltop has quit IRC
[20:29:19] *** svteoi has quit IRC
[20:29:22] *** aminRX has quit IRC
[20:29:24] *** ytsejam has quit IRC
[20:29:24] *** codedungeon has quit IRC
[20:29:27] <NevilleS> caitp: I'm bored today today, here's a spooky PR for you https://github.com/angular/angular.js/pull/9865
[20:29:54] <NevilleS> today too*
[20:30:07] <caitp> i'm honestly not sure about these .->
[20:30:14] *** whunt has quit IRC
[20:30:15] <NevilleS> about what
[20:30:35] *** crazy_v_k has joined #angularjs
[20:31:10] <NevilleS> I don't particularly like this implementation but it avoids touching $parse and gives the Typescript people an option to use...
[20:31:13] *** simplyshipley has quit IRC
[20:31:22] *** b1rkh0ff has joined #angularjs
[20:32:02] *** ozooner__ has quit IRC
[20:33:31] *** shredjs has quit IRC
[20:33:36] <TheAceOfHearts> typescript people should just use javascript, the way god intended~
[20:34:04] <NevilleS> hahah
[20:34:19] <NevilleS> fair point TheAceOfHearts
[20:34:33] *** cthrax has joined #angularjs
[20:34:58] <TheAceOfHearts> :P
[20:36:37] *** phuh has quit IRC
[20:36:42] *** CocoStorm has quit IRC
[20:36:58] *** RobinBAwesome has quit IRC
[20:37:03] *** phuh has joined #angularjs
[20:37:26] <dllama> TheAceOfHearts: with rails, i normally deploy as user deploy, which has limited bash, etc. should i follow same principle with this?
[20:38:03] <TheAceOfHearts> dllama: deploying a frontend app only requires installing its dependencies, building it, and copying it to some place such that ngninx can serve it up
[20:38:15] *** xdissent has joined #angularjs
[20:38:43] <dllama> so far as the webserver is concerned, this is no different from a static html page? which means i can just keep it in /home/user/site.tld?
[20:38:50] *** mennea has joined #angularjs
[20:38:56] *** gnrlbzik has quit IRC
[20:40:28] *** jrist has quit IRC
[20:40:41] <TheAceOfHearts> basically, yeah
[20:40:41] <TheAceOfHearts> well
[20:40:46] <TheAceOfHearts> you'd copy the resulting build into that folder
[20:40:47] <dllama> https://www.digitalocean.com/community/tutorials/how-to-install-an-upstream-version-of-node-js-on-ubuntu-12-04
[20:40:50] *** Aerospark has quit IRC
[20:40:51] <dllama> following that for now
[20:41:05] *** Sawbones has quit IRC
[20:41:51] *** moritzschaefer has joined #angularjs
[20:41:55] *** ytsejam has joined #angularjs
[20:42:17] *** JSONB has joined #angularjs
[20:42:25] *** klaut has joined #angularjs
[20:43:17] *** zB0hs has quit IRC
[20:43:41] *** prbc has joined #angularjs
[20:44:16] *** avree has quit IRC
[20:44:24] *** elrabin has joined #angularjs
[20:44:31] <dllama> i only installed rails once, and saved it as an image after configurig it, just now im remembering what a nightmare that was first time around
[20:44:46] *** klaut_ has quit IRC
[20:44:53] *** yelvert has joined #angularjs
[20:45:37] *** Una has joined #angularjs
[20:45:55] *** michaelfavia has quit IRC
[20:46:00] *** rud has joined #angularjs
[20:46:00] *** rud has joined #angularjs
[20:46:02] *** ProLoser has joined #angularjs
[20:46:48] <jaydubya> the status field in each row (editable in place) is actually changing as seen in the dump but the "not set" continues to display. How can I get the proper value in each row. Disclaimer: I have mashed up a demo for the question and it doesn't make too much sense. http://plnkr.co/edit/6Ntwdrb0L5FArylAbYau?p=preview
[20:46:49] *** Sawbones has joined #angularjs
[20:47:03] *** woah has quit IRC
[20:47:15] *** sbellina has joined #angularjs
[20:47:34] <dllama> TheAceOfHearts: any suggestions on what to do with nginx to get around the #?
[20:47:48] <TheAceOfHearts> dllama: to get around what?
[20:47:52] *** woah has joined #angularjs
[20:48:03] <dllama> not having the # in the urls
[20:48:13] <TheAceOfHearts> that's all in the client
[20:48:20] *** woah has quit IRC
[20:48:23] <dllama> by enabling html5?
[20:48:30] <TheAceOfHearts> just make it so it'll try to serve up the files in your whatever folder and if there's no file there then respoind with index.html
[20:48:32] <TheAceOfHearts> yeah
[20:48:37] <TheAceOfHearts> and enable html5 mode in your router
[20:48:40] *** mandric has joined #angularjs
[20:48:50] <dllama> ok
[20:48:56] *** dalguete has joined #angularjs
[20:49:00] <dllama> still building node, just figured i'd ask in advance :)
[20:49:00] *** klaut has quit IRC
[20:49:10] <TheAceOfHearts> why are you building node? just use nvm
[20:49:27] <TheAceOfHearts> nvm is seriously the simplest way to manage node
[20:49:28] *** klaut has joined #angularjs
[20:49:37] <s3shs> Why does this angular 2 proposal require #id? https://github.com/angular/angular/issues/133
[20:49:51] *** canthugeverycat has quit IRC
[20:49:53] *** prbc has quit IRC
[20:50:14] *** danecando has joined #angularjs
[20:50:27] *** prbc has joined #angularjs
[20:50:50] <dalguete> hello everyone. Anybody who can help me with a doubt I have, please. When the code inside a run() function get executed, can I be certain that all {{bracket expresion}} has been processed?
[20:51:05] *** moritzschaefer has quit IRC
[20:51:29] <s3shs> dalguete, the best way to test this is to put
[20:51:35] <s3shs> a 'breakpoint;
[20:51:40] *** shaisnir_ has joined #angularjs
[20:51:41] <s3shs> (Bah, sorry, new keyboard.)
[20:51:45] *** whunt has joined #angularjs
[20:51:55] <s3shs> Is to put a 'breakpoint;' statement and see if the dom is rendered when it's called.
[20:52:08] *** dgee has joined #angularjs
[20:52:18] <s3shs> I suspect not since the dom is rendered at apply() time, and the app has to be running for that to happen.
[20:52:23] *** mkc has joined #angularjs
[20:52:29] <s3shs> (I may be wrong.)
[20:52:31] *** mkc has quit IRC
[20:52:46] *** mkc has joined #angularjs
[20:52:47] *** borvoh has quit IRC
[20:53:20] <dllama> TheAceOfHearts: yup…. that was way simpler lol
[20:53:20] <dllama> fml
[20:53:21] *** mjs2600 has quit IRC
[20:53:37] *** Sawbones has quit IRC
[20:53:37] <TheAceOfHearts> s3shs: lots of stupid comments there
[20:53:44] <dalguete> s3shs thanks for that, I'll check that way. And if not, any other place you suggest to put the code I want.
[20:53:52] <s3shs> Some smarter than others. It's the internet!
[20:53:53] *** livingstn has quit IRC
[20:53:57] <dalguete> I mean, other than run ()
[20:54:06] <s3shs> dalguete, what does the code do?
[20:54:08] *** heathn has quit IRC
[20:54:08] <dllama> i really hope u guys didn't mean me just now with the stupid comments :(
[20:54:29] *** prbc_ has joined #angularjs
[20:54:32] <s3shs> No, they mean me.
[20:54:35] <s3shs> :-)
[20:54:43] <dllama> i guess i feel a little better lol
[20:54:46] <dllama> no offense of course :D
[20:54:56] <s3shs> TAOH is referring to this: https://github.com/angular/angular/issues/133
[20:54:57] *** CodeFriar has quit IRC
[20:54:58] *** shaisnir has quit IRC
[20:55:08] *** CodeFriar has joined #angularjs
[20:55:14] *** stephanbuys has joined #angularjs
[20:55:17] *** prbc_ has quit IRC
[20:55:17] <dllama> ok so node is installed, now onto figuring out what to do with the link TheAceOfHearts sent me lol
[20:55:20] <dalguete> s3shs it adds some thirdy party stats control code to a bunch of links. Most of them are generated via angularjs directives and expressions
[20:55:31] <TheAceOfHearts> wait, what link did I send you?
[20:55:37] *** ahmetkapikiran has joined #angularjs
[20:55:38] <dllama> https://github.com/cesarandreu/heroku-buildpack-nodejs/tree/master/bin
[20:55:45] *** araujo has quit IRC
[20:55:51] *** prbc has quit IRC
[20:56:23] *** yelvert has quit IRC
[20:56:26] <s3shs> dalguete, I don't think I'm fully following. Are you setting up these links as ng-click/ng-href?
[20:56:56] *** yelvert has joined #angularjs
[20:56:58] <TheAceOfHearts> oh
[20:56:59] <TheAceOfHearts> that
[20:57:04] <s3shs> dalguete, I think the top paragraph here is what you're looking for. https://docs.angularjs.org/api/ng/directive/ngHref
[20:57:06] <TheAceOfHearts> you can just write a script to do that
[20:57:11] <TheAceOfHearts> or use like chef, idk
[20:57:15] <TheAceOfHearts> it depends how much you want to automate
[20:57:17] <TheAceOfHearts> you can do it manually
[20:57:25] *** shackleford has quit IRC
[20:57:31] <dllama> TheAceOfHearts: i'm a total noob when it comes to bash related things, i try to avoid doing anything besides basic mainataince server side as well :/
[20:57:32] *** ytsejam has quit IRC
[20:57:57] <TheAceOfHearts> you don't have to use bash
[20:57:59] <dalguete> s3shs, yeah, exactly. But the problem is I can't touch the base code, as that is server by another party. It's a mix of api/html. I can only wait for the angular stuff to be processed, and then act
[20:58:03] <TheAceOfHearts> ruby scripts are awesome
[20:58:11] *** RobinBAwesome has joined #angularjs
[20:58:16] <dllama> there are ruby scripts for compiling angular apps?
[20:58:17] <TheAceOfHearts> also, ruby scripts >>>>>> node scripts, most of the time
[20:58:20] *** jrist has joined #angularjs
[20:58:31] <dalguete> but dont want to add timeouts here and there...
[20:58:34] <TheAceOfHearts> you could write a gulpfile.js that can build your app, and call it wrong a ruby script :D
[20:58:36] <s3shs> dalguete, ok. So you want to run some algorithm after angular has finished binding everything?
[20:58:46] <dalguete> s3shs that's right
[20:58:55] <dllama> TheAceOfHearts: thats where you lost me, writing guplfile.js
[20:59:04] <s3shs> gulp rocks
[20:59:11] <dllama> ok, my app has a gulpfile
[20:59:21] *** IvailoStoianov has quit IRC
[20:59:29] *** jwowwz has joined #angularjs
[20:59:32] <s3shs> dllama, good. Now stand on one leg and hop up and down like a chicken. Let us know when you're done.
[20:59:44] *** xdissent has quit IRC
[20:59:46] <s3shs> <waits>
[20:59:51] <dllama> ......
[21:00:05] <DLSteve> also send me 19.95 in 5 easy payments.
[21:00:05] *** shaisnir_ has quit IRC
[21:00:39] *** shaisnir has joined #angularjs
[21:00:42] *** mjs2600 has joined #angularjs
[21:00:42] *** shackleford has joined #angularjs
[21:00:42] <s3shs> dalguete, are you sure you need to do that?
[21:00:48] *** IvailoStoianov has joined #angularjs
[21:00:50] *** ingsoc has quit IRC
[21:00:55] *** thedodd has quit IRC
[21:00:57] *** FrankH_ has joined #angularjs
[21:00:59] *** ytsejam has joined #angularjs
[21:01:06] <s3shs> What's the algorithm do?
[21:01:08] *** yelvert has quit IRC
[21:01:41] <dalguete> s3shs I mean I can wait using timeouts, but I was thinking about something more angularjs-ly
[21:02:10] <dalguete> s3shs it add some event handlers to anchor elements. Nothing fancy
[21:02:11] <s3shs> You could bind a variable and watch it for a value that's set from the dom?
[21:02:19] *** subone1 has joined #angularjs
[21:02:24] *** samuelsimoes has joined #angularjs
[21:02:27] <s3shs> Sounds like you want to do that with a directive.
[21:02:40] *** xdissent has joined #angularjs
[21:02:53] *** levity_island has joined #angularjs
[21:03:23] <dalguete> s3shs originally I did that using directives, but finally the solution was rejected as the base code can't be changed...
[21:03:28] *** woah has joined #angularjs
[21:03:30] <s3shs> Directives allow you to create arbitrary elements or attributes like <mydog bark="loud">
[21:03:39] *** richiebkr has joined #angularjs
[21:03:49] <s3shs> The base code on the server or the base code in the dom?
[21:03:58] <dalguete> s3shs in the Dom..
[21:03:58] <s3shs> Because directives don't run on the server.
[21:04:00] <subone1> Can anyone tell me if it would be possible to ng-bind-html a variable which contains both HTML and interpolated strings?
[21:04:02] *** Sawbones has joined #angularjs
[21:04:25] <s3shs> I fail to see how a directive is bad but mucking with the dom with jquery is ok. The latter is far more invasive.
[21:04:35] <TheAceOfHearts> dllama: Hmmm?
[21:05:06] <s3shs> subone1, define "interpolated strings" please.
[21:05:25] <dllama> TheAceOfHearts: i'm a little overwhelmed and very very confused, node is installed, i have grunt and gulp in my app, but i really dont know what to do next.
[21:05:38] *** shaisnir has quit IRC
[21:05:42] <dllama> you mentioned writing tasks to build it, but i dont actually know what that means or what to write in it, i've never done this before :/
[21:05:44] *** Sebastien-L has quit IRC
[21:05:46] *** ytsejam has quit IRC
[21:05:53] <NevilleS> s3shs he means {{ expr }}
[21:05:55] <s3shs> dllama, what does your app look like now?
[21:06:02] <TheAceOfHearts> dllama: do you have a build task?
[21:06:03] <TheAceOfHearts> oh
[21:06:03] <TheAceOfHearts> ok
[21:06:04] <TheAceOfHearts> so
[21:06:06] <TheAceOfHearts> a build task
[21:06:06] <NevilleS> subone1 you need to $compile your template
[21:06:08] <subone1> Yeah, IDK the right term.... like `$scope.var = "<span>{{'TEST' | translate}}</span>"` and then `ng-bind-html="var"`
[21:06:20] <TheAceOfHearts> will just take your app and minify and concat and do cache busting and such
[21:06:25] *** _ritchie_ has quit IRC
[21:06:26] <ctanga> Hello
[21:06:28] <s3shs> I think for html containing angular stuff you need to compile it somehow. Never done that.
[21:06:29] <TheAceOfHearts> so it puts your app in a deployable state
[21:06:31] *** red_horned_rihno has quit IRC
[21:06:35] *** jrist has quit IRC
[21:06:36] <subone1> hmm
[21:06:44] <TheAceOfHearts> you don't *need* to
[21:06:48] <TheAceOfHearts> you can
[21:06:50] *** xxMatiasxx has joined #angularjs
[21:06:51] <TheAceOfHearts> but it's purely optional
[21:07:02] <s3shs> dllama, what are you trying to do? You have a nbunch of js and html files and how you want to deploy to a server or just test in node?
[21:07:13] <s3shs> how->now
[21:07:15] <s3shs> ctanga, hello
[21:07:17] <dllama> s3shs: upload to the server
[21:07:26] *** red_horned_rihno has joined #angularjs
[21:07:30] <s3shs> Ok, so you've been testing locally?
[21:07:31] <NevilleS> subone1 you compile it.
[21:07:34] <s3shs> And all is "ready"?
[21:07:35] <subone1> Do I need to constantly compile, or just once?
[21:07:43] <NevilleS> subone1 just once, in your directive
[21:07:43] <xxMatiasxx> Hey, how do you deal with the gap between inline-elements that are repeated via ngrepeat. Is there a way to remove the comments that angular adds ???
[21:07:50] <NevilleS> or better yet
[21:07:55] <NevilleS> define it as an html
[21:07:55] <dalguete> s3shs thanks for the help. I'll keep researching more to see if I can $watch something somewhere to have this triggreed
[21:07:56] <NevilleS> and ng-include it
[21:08:03] <dllama> s3shs: i'd say its "almost" ready, but i'd imagine its an option to continue working on it and overwrite whats deployed no?
[21:08:11] <NevilleS> ng-include does the compile and add to DOM stuff for you
[21:08:11] <subone1> so, if I compile once it will update whenever it changes?
[21:08:14] <ctanga> Anyone here a UI-Router user?
[21:08:18] <dllama> core functionality is in place.
[21:08:19] <NevilleS> ctanga we all are
[21:08:26] <s3shs> So basically with deployment you can just ftp all your code up the server and point node at it right?
[21:08:40] <ctanga> NevilleS: great, then you can put your $0.02 in on this RFC: https://github.com/angular-ui/ui-router/issues/1501
[21:08:41] *** mennea has quit IRC
[21:08:45] <s3shs> Try to do that first and get hello world working. Beyond that, are you uplaoding to heroku or aws or something?
[21:08:54] <dllama> digitalocean
[21:08:56] *** mennea has joined #angularjs
[21:09:05] <NevilleS> ctanga are you christopherthielen
[21:09:14] <s3shs> Is that a node-savvy ISP?
[21:09:19] <dllama> yes
[21:09:22] *** Marble68 has quit IRC
[21:09:23] *** Una has quit IRC
[21:09:29] <ctanga> NevilleS: i am
[21:09:50] *** BackEndCoder is now known as SpookyEndCoder
[21:10:00] <s3shs> dllama, they should provide you with the exact steps necessary to take two folders: a server code folder (node) and a browser code folder (angular) and upload it.
[21:10:17] <s3shs> dllama, if it's like aws or horoku, it'll be a series of command-line mojo steps to hello world.
[21:10:22] <NevilleS> ctanga :D we've chatted on github before
[21:10:27] <NevilleS> ctanga reading now
[21:10:28] <s3shs> dllama, you can then take these steps and put them one by one in to a gulpfile.
[21:10:31] <ctanga> NevilleS: A/S/L?
[21:10:48] <NevilleS> lolol
[21:10:50] <dllama> s3shs: thats kind of what i have with capistrano for rails
[21:10:52] *** victorzki has joined #angularjs
[21:10:55] <TheAceOfHearts> dllama: you can use my buildpack and deploy to heroku
[21:10:55] <s3shs> dllama, but before you do that, you need to prove to yourself that you can do it manually. You can't automate something like this without doing it manually first.
[21:10:56] *** fedenunez has joined #angularjs
[21:11:00] <TheAceOfHearts> heroku's awesome
[21:11:09] <TheAceOfHearts> s3shs: yolo.
[21:11:10] <dllama> for now i guess i just want to upload it to make it work on a webserver and work out ther est of the details
[21:11:19] *** dalguete is now known as [dalguete]
[21:11:24] <victorzki> hey guys! is it possible to navigate between pages without a page load? probabably a stupid question... :D
[21:11:30] <TheAceOfHearts> just make a tiny nodejs server that responds with the built files
[21:11:36] <Aliks> So, sometimes my watch functions execute 10 times despite no changes (=== equality), and sometimes they just execute once when there's a change... any idea why this could be?
[21:11:37] <TheAceOfHearts> victorzki: ui-router or ngRoute
[21:11:41] *** yiati has joined #angularjs
[21:11:44] <s3shs> dllama, do it by hand first. Make careful notes. (right!!?!?!) and then automate it with gulp later.
[21:11:50] <victorzki> TheAceOfHearts: merci!
[21:11:54] <dllama> TheAceOfHearts: i just built a new server,
[21:11:55] <s3shs> And talk to digitical ocean about the exact procedure.
[21:12:03] <dllama> ok, screw it, diving in headfirst lol,
[21:12:12] <dllama> hopefully the rest will work itself out :)
[21:12:18] <s3shs> Totally.
[21:12:18] *** grumpyOldRussian has quit IRC
[21:12:22] <TheAceOfHearts> I mean, what part are you confused about?
[21:12:56] *** akrikos has quit IRC
[21:13:23] *** akrikos has joined #angularjs
[21:13:29] <dllama> TheAceOfHearts: in short all of it, but like s3shs just said, until i start uploading it manually, i wont actually know what it is that i'm doing right or wrong
[21:13:40] <dllama> unless there is a large "no-no" that i should know about in advance
[21:13:57] <TheAceOfHearts> why not use heroku, and make your life a little easier for the time being :P?
[21:13:58] *** TommyO has joined #angularjs
[21:14:13] <dllama> i have all my stuff @ do
[21:14:20] <TheAceOfHearts> so much hassle, though lol
[21:14:22] <dllama> i think i'm at like 40+ servers for now,
[21:14:24] <TheAceOfHearts> <3 Heroku for small apps
[21:14:26] *** sinequanon has quit IRC
[21:14:50] *** snapwich has joined #angularjs
[21:15:37] *** umib0zu has quit IRC
[21:16:11] *** aiglesias has quit IRC
[21:16:20] *** sinequanon has joined #angularjs
[21:16:29] *** mennea has joined #angularjs
[21:16:46] *** phishy has quit IRC
[21:17:11] *** Snugug has quit IRC
[21:17:12] *** mjs2600 has quit IRC
[21:17:17] <subone1> Hmmm... for some reason when I compile it I get an error: Syntax error, unrecognized expression: 'VOTER_UPDATE_SUCCESS_SMS' | translate: { code: '<span class="contact-value">"YES"</span>', sms: '<span class="contact-value">41575</span>' }
[21:17:22] *** bmac has quit IRC
[21:17:23] <NevilleS> ctanga that looks pretty scary :D
[21:17:26] *** phishy has joined #angularjs
[21:17:43] <dllama> ok, now confused on a step lol
[21:17:48] <dllama> setting up my nxing conf
[21:17:54] <dllama> nginx*
[21:17:57] *** akrikos has quit IRC
[21:18:03] *** japhar81 has joined #angularjs
[21:18:04] <dllama> what do i set the server to?
[21:18:05] <subone1> Do you guys see something wrong with that expression?
[21:18:09] <TheAceOfHearts> maaaan, use heroku <3
[21:18:14] *** thedodd has joined #angularjs
[21:18:21] <TheAceOfHearts> dllama: but if you're set on DO
[21:18:21] <japhar81> is there a specific room for angular-ui stuff?
[21:18:21] *** resu01 has joined #angularjs
[21:18:38] <TheAceOfHearts> you just make it respond with the files in your public folder, and if it doesn't find the file, respond with index.html
[21:18:42] *** jeffszusz has quit IRC
[21:19:13] <dllama> upstream evo { server unix:/path_to_what? } ?
[21:19:22] *** codeninja-don has joined #angularjs
[21:19:32] <dllama> on rails apps, i point it to unicorn.sock for each app
[21:19:44] *** Reskp has joined #angularjs
[21:20:08] <TheAceOfHearts> nginx can serve static files
[21:20:11] <TheAceOfHearts> you're only serving static files
[21:20:13] <dllama> i'm missing a step here, how do i actually "launch" node to serve it?
[21:20:19] <TheAceOfHearts> you don't launch node to serve it.
[21:20:21] <TheAceOfHearts> you don't need that
[21:20:25] <TheAceOfHearts> you only need to build your app for production
[21:20:27] <TheAceOfHearts> and then copy the files
[21:20:29] <TheAceOfHearts> and serve those files
[21:20:35] *** jeffszusz has joined #angularjs
[21:20:41] <dllama> for now i just ftp'd the entire folder up ,
[21:20:55] *** Jdubs has joined #angularjs
[21:21:06] <dllama> the buildign for production is what i got lost on before, and was suggested to try this approach of doing it manually :/ (unless i totally misunderstood what s3shs meant )
[21:21:15] <TheAceOfHearts> ...
[21:21:18] <TheAceOfHearts> building the app for production
[21:21:20] <TheAceOfHearts> literally means
[21:21:21] <TheAceOfHearts> having a script
[21:21:22] *** Jdubs has quit IRC
[21:21:24] <TheAceOfHearts> that will take your frontend app
[21:21:27] <TheAceOfHearts> and minify all your assets
[21:21:28] *** zB0hs has joined #angularjs
[21:21:31] *** moafoca has quit IRC
[21:21:32] <TheAceOfHearts> think Rails' asset pipeline
[21:21:35] <TheAceOfHearts> but for your frontend app
[21:21:39] <TheAceOfHearts> exactly the same thing
[21:21:40] *** Sawbones has quit IRC
[21:21:41] *** crazy_v_k has quit IRC
[21:21:48] <dllama> alright,
[21:21:54] <TheAceOfHearts> does that make sense?
[21:21:54] *** snapwich has quit IRC
[21:21:57] <dllama> absolutely does
[21:22:04] <TheAceOfHearts> so
[21:22:06] <dllama> i dont know how to,
[21:22:10] <TheAceOfHearts> you'll "build" your--
[21:22:11] *** shinnya has joined #angularjs
[21:22:20] <TheAceOfHearts> you just write a gulpfile.js that does that
[21:22:25] <TheAceOfHearts> or a gruntfile or w/e
[21:22:29] <TheAceOfHearts> or even a makefile
[21:22:36] <TheAceOfHearts> all it has to do is take your assets and transform em
[21:22:48] *** mtsr has quit IRC
[21:22:54] <dllama> right, and since i dont know what should go in the gulpfile, s3shs suggested i do it manually, so i took that as uploading the site as is and then working from there
[21:23:04] *** Angelo has joined #angularjs
[21:23:22] <TheAceOfHearts> he was probably talking about automating deployment
[21:23:35] <TheAceOfHearts> different concerns
[21:23:38] *** moafoca_ has joined #angularjs
[21:23:38] <TheAceOfHearts> you need to have a task
[21:23:41] <TheAceOfHearts> that will take your assets
[21:23:43] <TheAceOfHearts> and compile them
[21:23:45] <TheAceOfHearts> you'll do that locally
[21:23:45] <resu01> hello to everyone. I have a directive in which i define a controller. From the directive's html templateUrl html code i want to access a function from the parent controller. How can i do this? I have no error in the console, but my ng-click doesn't trigger the parent function
[21:23:57] *** sinequanon has quit IRC
[21:23:59] <jcool> what is good way to have 4 views incorporated? Should we have single controller or different? (add,edit,view,delete)
[21:24:06] *** yelvert has joined #angularjs
[21:24:07] <TheAceOfHearts> https://www.npmjs.org/package/generator-gulp-angular this project has a shitty example of how you could do that
[21:24:07] *** aminRX has joined #angularjs
[21:24:08] *** mtsr has joined #angularjs
[21:24:14] <Angelo> I'm new to AngularJS. Can my controller give the scope a function that the template can use? (eg. return an array of buttons in javascript, then make the buttons call some function(){} that comes from the model)
[21:24:24] *** anivemin has quit IRC
[21:24:42] *** zzing has joined #angularjs
[21:24:43] *** ytsejam has joined #angularjs
[21:24:47] <TheAceOfHearts> you can do anything, Angelo
[21:24:49] *** sigurding has quit IRC
[21:24:51] <TheAceOfHearts> it's just javascript
[21:24:57] *** cthrax has quit IRC
[21:24:59] <TheAceOfHearts> anything is possible
[21:25:03] <TheAceOfHearts> welcome to zombocom
[21:25:06] <Angelo> lol
[21:25:13] <TheAceOfHearts> but that approach is probably bad
[21:25:20] <TheAceOfHearts> you could use an ng-repeat on the array of items
[21:25:24] <Angelo> Maybe. What would be the correct approach?
[21:25:34] *** yelvert has quit IRC
[21:25:58] <FrankH_> resu01 need to pass function into directive using '&'
[21:25:59] <TheAceOfHearts> idk
[21:26:01] <Angelo> Yes, that's what I'm doing, but if all items have an "action" of type function, can I have those buttons call the associated function somehow when clicking on them? (rough example scenario)
[21:26:06] *** yelvert has joined #angularjs
[21:26:09] <TheAceOfHearts> yes
[21:26:16] *** chanced has quit IRC
[21:26:24] <TheAceOfHearts> [{func: function(){}}, …]
[21:26:24] <Angelo> How?
[21:26:36] <TheAceOfHearts> ng-click="item.func()"
[21:26:41] <Angelo> Ahhh, ng-click!
[21:26:46] <Angelo> Interesting. Thanks.
[21:26:53] *** deanclkclk has joined #angularjs
[21:26:56] <TheAceOfHearts> sure
[21:27:04] *** c00ljs has quit IRC
[21:27:46] *** patricka_ has joined #angularjs
[21:27:50] *** MANCHUCK_ has quit IRC
[21:28:07] *** resu01 has quit IRC
[21:28:22] *** FrankH_ has quit IRC
[21:28:26] *** moafoca_ has quit IRC
[21:29:03] *** yelvert_ has joined #angularjs
[21:29:22] <dllama> probably wouldn't hurt if i uploaded files to the right srver :(
[21:29:36] <zB0hs> can anyone provide some good suggestions, directions, or resources for merging an existing legacy application with a new application to create an experience that appears to the user to be a single application? the main idea is moving away from a legacy framework but dont necessarily have the time to migrate everything over to the new framework
[21:29:53] <zB0hs> an initial idea was to replicate application layouts and essentially standup the applications next to each other
[21:29:55] *** rob_parkhill has joined #angularjs
[21:29:59] *** patricka_ has quit IRC
[21:30:18] *** deanclkclk_ has quit IRC
[21:30:19] *** FIFOd[a] has quit IRC
[21:30:37] *** jmverges has quit IRC
[21:30:38] <TheAceOfHearts> too vague
[21:30:41] *** yelvert has quit IRC
[21:30:45] *** e0ipso is now known as e0ipso|away
[21:30:47] <TheAceOfHearts> that's too much of an application-specific problem
[21:30:57] <TheAceOfHearts> it really depends on your use-case and situation
[21:31:21] *** patrickarlt has quit IRC
[21:32:06] <ctanga> NevilleS: scary how?
[21:32:32] *** xdissent has quit IRC
[21:32:35] *** c0bra has joined #angularjs
[21:32:38] *** favetelinguis has joined #angularjs
[21:32:44] <NevilleS> I commented on the RFC; aren't all child URLs necessarily ambiguous?
[21:32:47] <zB0hs> theaceofhearts i get that. just trying to build off of previous experiences that may share certain parallels even if its not completely the same
[21:32:48] <TheAceOfHearts> spooky scary skelletons (8)
[21:33:00] *** calmbird has joined #angularjs
[21:33:01] <NevilleS> spoOoOoOoky
[21:33:11] *** quantax- has joined #angularjs
[21:33:12] <TheAceOfHearts> zB0hs: you just do 1 page at a time, I guess
[21:33:17] <calmbird> Hi. If I want to hide element in doom, ng-if is the only way?
[21:33:18] <ctanga> NevilleS: not in all cases, but yes, generally ambiguous
[21:33:18] <TheAceOfHearts> that's how I went from a Rails server-side rendering app
[21:33:20] <TheAceOfHearts> to 100% angular
[21:33:28] <calmbird> DOM*
[21:33:43] <ctanga> NevilleS: consider if your parameter has a regexp of [\\d+], then a substate url of /thing/:anotherparam is not ambiguous
[21:33:51] <dllama> TheAceOfHearts: nginx should be pointed to domain.tld/app as the root right?
[21:33:54] <ctanga> it will never match “thing” to regexp [\\d+]
[21:33:54] *** meandev has quit IRC
[21:33:55] <zB0hs> theaceofhearts so how do those two applications stand together during that transition?
[21:33:59] <NevilleS> ctanga: right, regexps can make them non-ambiguous
[21:34:13] *** markalanevans has joined #angularjs
[21:34:15] <TheAceOfHearts> dllama: if that's where you're building your app, then sure
[21:34:22] *** Helious has quit IRC
[21:34:24] <TheAceOfHearts> zB0hs: what do you mean?
[21:34:24] <zB0hs> theaceofhearts essentially we want to limit the customer noticing they are using two distinct applications
[21:34:34] <dllama> i just meant taht the root should end with /app as that is where the index file is
[21:34:41] <TheAceOfHearts> that's not really possible in a lot of cases
[21:34:48] <TheAceOfHearts> unless you hook into ui-router or something
[21:34:58] <TheAceOfHearts> it depends on how your app works
[21:35:09] <TheAceOfHearts> in my case, I just had some views using angular and others Rails
[21:35:12] <TheAceOfHearts> and I slowly migrated them
[21:35:27] <NevilleS> ctanga: I've never used the regexp thing. but I'd argue that 99%+ of cases would be ambiguous since url params are traditional strings that don't have a particular format
[21:35:28] *** favetelinguis has quit IRC
[21:35:33] *** rbs has quit IRC
[21:35:53] <subone1> $compile is not working out
[21:36:06] *** favetelinguis has joined #angularjs
[21:36:07] <NevilleS> subone1 well, you've done something wrong :)
[21:36:11] <calmbird> I'm not sure how to hide tabs from DOM, if tab is not selected. ng-show only hide tab from user, but it's still visible in DOM. I would like to remove from DOM if tab is not selected. Should I use ng-if or router?
[21:36:12] <subone1> apparently
[21:36:19] <NevilleS> subone1 did you try ng-include
[21:36:19] <subone1> When I compile it I get an error: Syntax error, unrecognized expression: 'VOTER_UPDATE_SUCCESS_SMS' | translate: { code: '<span class="contact-value">"YES"</span>', sms: '<span class="contact-value">41575</span>' }
[21:36:26] <NevilleS> subone1 then your template is invalid
[21:36:37] *** phuh has quit IRC
[21:36:39] <subone1> do you see something wrong in there?
[21:36:50] *** xdissent has joined #angularjs
[21:36:56] <TheAceOfHearts> guys
[21:36:58] <TheAceOfHearts> it's raining!!
[21:37:22] *** phuh has joined #angularjs
[21:37:24] <ctanga> paging nickeddy robdubya jaawerth
[21:37:31] <ctanga> please weigh in on https://github.com/angular-ui/ui-router/issues/1501
[21:37:37] <TheAceOfHearts> ctanga: summoning sounds cooler than paging
[21:37:55] <subone1> I'm not using ng-include because it doesn't make sense for this, I am dealing with translation strings stored in a json file
[21:38:09] <ctanga> TheAceOfHearts: hindsight is 20/20 :(
[21:38:16] <subone1> Can anyone tell me if it would be possible to ng-bind-html a variable which contains both HTML and interpolated strings?
[21:38:40] <TheAceOfHearts> ctanga: what's the purpose of that?
[21:38:54] *** brunoB has joined #angularjs
[21:38:56] <NevilleS> subone1 yes, you compile it and add to the DOM
[21:39:04] <NevilleS> subone1 your template is invalid D
[21:39:15] <ctanga> TheAceOfHearts: optional parameters with default values; how do the params appear in the URL?
[21:39:16] <subone1> Can you point out the invalid part? Looks all valid to me
[21:39:20] *** qdk has joined #angularjs
[21:39:24] <NevilleS> subone1: I only see your error message
[21:39:30] <NevilleS> subone1 can you paste the whole template
[21:39:31] <subone1> That contains the template
[21:39:40] <subone1> 'VOTER_UPDATE_SUCCESS_SMS'
[21:39:40] <subone1> | translate: {
[21:39:41] <subone1> code: '<span class=&quot;contact-value&quot;>&quot;YES&quot;</span>',
[21:39:41] <subone1> sms: '<span class=&quot;contact-value&quot;>41575</span>'
[21:39:41] <subone1> }
[21:40:08] *** robdubya has quit IRC
[21:40:22] <NevilleS> yeah, that's not HTML though
[21:40:24] *** favetelinguis has quit IRC
[21:40:44] <NevilleS> $compile(<div>Hello {{ foo }}!</div>)(scope)
[21:40:48] <NevilleS> sorry
[21:40:57] <NevilleS> $compile("<div>Hello {{ foo }}!</div>")(scope)
[21:41:01] <TheAceOfHearts> I'd say squashing it a bad idea
[21:41:06] <TheAceOfHearts> I don't think it should do anything
[21:41:14] <subone1> I tried surrounding with {{ }} and it still complains
[21:41:24] *** jrist has joined #angularjs
[21:41:25] <ctanga> TheAceOfHearts: that’s fine, but please leave your feedback in the RFC :)
[21:41:27] <ctanga> *kisses*
[21:41:40] <NevilleS> subone1 is translate supposed to be a filter?
[21:41:51] <subone1> yes angular-translate
[21:41:52] *** cthrax has joined #angularjs
[21:41:55] *** aconite33 has quit IRC
[21:41:55] *** e0ipso|away is now known as e0ipso
[21:42:24] <NevilleS> ok
[21:42:28] <NevilleS> well baby steps here
[21:42:37] <ctanga> TheAceOfHearts: not that I don’t want to discuss it, but I don’t want to skew the opinions
[21:42:49] <NevilleS> $compile("{{ VOTER_UPDATE_SUCCESS_SMS }}")(scope) should work
[21:43:01] *** Schtive has quit IRC
[21:43:04] <subone1> VOTER_UPDATE_SUCCESS_SMS is a string not a variable
[21:43:09] <subone1> 'VOTER_UPDATE_SUCCESS_SMS'
[21:43:18] <TheAceOfHearts> imo, ui-router shouldn't try to do anything magical
[21:43:18] <NevilleS> ok
[21:43:28] <subone1> passed into the translate filter it returns the translated string
[21:43:43] <ctanga> $urlMatcherFactoryProvider.defaultSquashPolicy(“nosquash”)
[21:43:50] <ctanga> bam, don
[21:43:51] <ctanga> done
[21:43:53] *** elrabin has quit IRC
[21:43:54] <subone1> I tried wrapping the whole thing in mustaches and I get the same error
[21:43:55] *** Sawbones has joined #angularjs
[21:44:03] <NevilleS> you might need to escape some quotes in there...
[21:44:07] *** [dalguete] is now known as dalguete
[21:44:11] *** _ritchie_ has joined #angularjs
[21:44:18] <NevilleS> can you plunkr it
[21:44:20] <TheAceOfHearts> squashing stuff seems weird
[21:44:20] <subone1> I thought that too, tried removing all the quotes, same error
[21:44:20] *** syzygy_ has joined #angularjs
[21:44:28] <TheAceOfHearts> what's the purpose?
[21:44:47] <ctanga> TheAceOfHearts: shorter, prettier URLs I think
[21:45:02] <TheAceOfHearts> I think that should be a developer concern, not a router concern
[21:45:06] <subone1> unrecognized expression: {{ 'VOTER_UPDATE_SUCCESS_SMS' }}
[21:45:17] *** fedenunez has quit IRC
[21:45:20] <syzygy_> I’m using ui router and all my templateUrls seem to require a leading forward slash /, why is that but the docs examples always show w/o? I am having problems w/ a gulp build because of them.
[21:45:20] *** ProLoser has quit IRC
[21:45:21] *** fedenunez1 has joined #angularjs
[21:45:23] <calmbird> I'm not sure how to hide <tabs> from DOM, if tab certain is not selected. ng-show only hide tab from in css, but it's still visible in DOM. I would like to remove it from DOM if tab is not selected. Should I use ng-if or router? :P
[21:45:28] <ctanga> fair enough, TheAceOfHearts
[21:45:34] *** Joseph_Silber has quit IRC
[21:45:44] *** aiglesias has joined #angularjs
[21:45:53] *** ProLoser has joined #angularjs
[21:45:58] <ctanga> TheAceOfHearts: do you see value in “default parameter values” at all?
[21:46:29] <TheAceOfHearts> I can't think of any, to be honest. I'd have to think about it, though
[21:46:29] *** whiteboo_ has joined #angularjs
[21:46:34] <TheAceOfHearts> maybe there's some value I'm not seeing
[21:46:34] *** mennea_ has joined #angularjs
[21:46:34] *** mennea has quit IRC
[21:46:43] *** intellix has joined #angularjs
[21:46:49] <NevilleS> TheAceOfHearts I put an example in his RFC
[21:47:15] <TheAceOfHearts> NevilleS: the way I handle that if by checking the param on entry and redirecting to the correct route
[21:47:42] *** xdissent has quit IRC
[21:47:54] <TheAceOfHearts> for example, I have a /users/current route which will redirect you to /users/:yourUserId
[21:48:06] <dllama> is it normal that i have 250mb in the modules directory?
[21:48:11] <ctanga> oddly enough, that example is ambiguous urls :P
[21:48:12] <NevilleS> sure, but your users can copy paste /users/ to their friends
[21:48:23] *** whitebook has quit IRC
[21:48:23] *** PGTips has quit IRC
[21:48:47] <TheAceOfHearts> you can send example.com/users/current and it'll take them to their own profile
[21:48:51] <TheAceOfHearts> isn't that the point?
[21:48:54] *** mzabriskie has quit IRC
[21:48:56] *** darrin has quit IRC
[21:49:13] *** twelverobots has quit IRC
[21:49:14] <TheAceOfHearts> I actually do a redirect from angular so it'll resolve to example.com/users/123
[21:49:14] <ctanga> an end user will never see example.com/users/current in their browser url though
[21:49:33] *** josh-k has joined #angularjs
[21:49:36] <TheAceOfHearts> yup
[21:49:46] <TheAceOfHearts> would there by anything wrong with that?
[21:49:59] <ctanga> no, I’m just saying they wouldn’t have anything to copy/paste
[21:50:14] <NevilleS> yeah
[21:50:16] <TheAceOfHearts> well, you have your own profile url
[21:50:29] *** anivemin has joined #angularjs
[21:50:29] *** ProLoser has quit IRC
[21:50:31] <TheAceOfHearts> you could not redirect and chose to treat some special params uniquely
[21:50:38] *** aiglesias has quit IRC
[21:50:51] <TheAceOfHearts> so if you visit /users/current it'll use your userId instead
[21:51:03] *** kuniyori has quit IRC
[21:51:18] *** abram has joined #angularjs
[21:51:37] <TheAceOfHearts> it seems to me like it's still a concern best handled by the developer
[21:51:39] <TheAceOfHearts> just my two cents, of course
[21:51:40] *** moritzschaefer has joined #angularjs
[21:51:50] <ctanga> thanks, appreciate the feedback
[21:51:58] *** fedenunez1 has quit IRC
[21:51:59] <TheAceOfHearts> Rails uses concerns for this
[21:52:17] *** codeninja-don has quit IRC
[21:52:19] *** DigitallyBorn has joined #angularjs
[21:52:19] *** DigitallyBorn has joined #angularjs
[21:52:21] <TheAceOfHearts> http://edgeguides.rubyonrails.org/routing.html#routing-concerns
[21:52:45] *** codeninja-don has joined #angularjs
[21:53:02] <ctanga> interesting
[21:53:06] *** brunoB has quit IRC
[21:53:25] <TheAceOfHearts> but a server router is pretty different from a client side router I'd say
[21:53:54] *** robdubya has joined #angularjs
[21:54:49] *** arpu has quit IRC
[21:55:09] *** arpu has joined #angularjs
[21:55:49] *** moritzschaefer has quit IRC
[21:55:49] *** oncenull has quit IRC
[21:55:57] <ctanga> TheAceOfHearts: section 3.1 has a similar thing to parameter squashing
[21:56:14] *** gnrlbzik has joined #angularjs
[21:56:28] <ctanga> optional params
[21:56:40] <TheAceOfHearts> Hmm
[21:56:41] <TheAceOfHearts> I dunno
[21:56:42] <ctanga> although I’m not sure it also ties into default params
[21:56:44] <ctanga> whatevs
[21:56:49] <TheAceOfHearts> haven't had a need for this sorta thing
[21:56:50] <TheAceOfHearts> so I dunno
[21:56:54] <ctanga> ya i hear ya
[21:57:08] *** rob_parkhill has quit IRC
[21:57:14] <TheAceOfHearts> since I haven't really found a big need for it, maybe that's why I don't see the value in it
[21:57:20] *** zwacky has joined #angularjs
[21:57:34] *** nachinius has joined #angularjs
[21:57:51] *** richiebk_ has joined #angularjs
[21:57:58] <jaydubya> how would I apply the currency filter inside the directive --> http://plnkr.co/edit/woxFK5RMkGjjvjoNcA8j?p=preview
[21:58:00] *** pose has joined #angularjs
[21:58:02] <dllama> alright, i uploaded the whole app to the server, i'd like to think i configured nginx properly, am seeing 45 errors in consol :/
[21:58:04] <dllama> console*
[21:58:05] *** linojon has quit IRC
[21:58:26] <dllama> first 25 or so are all unexepcted token <
[21:58:36] *** intellix has quit IRC
[21:58:52] *** khayes has joined #angularjs
[21:59:59] *** niklasmo_ has joined #angularjs
[22:00:09] *** annlewis has quit IRC
[22:00:12] *** sbellina has left #angularjs
[22:00:27] *** threesixes has quit IRC
[22:01:04] *** richiebkr has quit IRC
[22:01:21] *** richiebkr has joined #angularjs
[22:01:34] *** Reskp has quit IRC
[22:01:43] <NevilleS> Hmm, Mary Poppins doesn't seem to believe I am who I say I am on Github
[22:01:44] <NevilleS> :(
[22:01:46] *** edrocks has quit IRC
[22:02:07] *** gjulianm has quit IRC
[22:02:18] *** matthoiland has quit IRC
[22:02:24] *** niklasmodess has quit IRC
[22:02:37] *** richiebk_ has quit IRC
[22:03:08] *** jeffszusz has quit IRC
[22:03:15] *** shackleford has quit IRC
[22:03:16] *** jMyles has quit IRC
[22:03:25] *** quantax- has quit IRC
[22:03:29] *** joleal has joined #angularjs
[22:03:43] *** c0bra has quit IRC
[22:03:45] *** alinouman has quit IRC
[22:03:46] <jaydubya> dllama: how did you upload the files?
[22:03:52] <dllama> via ftp
[22:04:11] *** khayes has left #angularjs
[22:04:31] <jaydubya> dllama: maybe it messed up the UTF-8 or whatever?
[22:05:21] <dllama> i dont have the slightest clue of what went wrong :(
[22:05:27] <dllama> this is brutal to say the least
[22:05:36] *** Siecje has left #angularjs
[22:06:08] *** Sontakey has quit IRC
[22:06:15] <s3shs> Sounds like your server is not pushing your files with text/html.
[22:06:27] <s3shs> Maybe.
[22:06:28] <jaydubya> dllama: check the Elements tab in the console and make sure it is still html
[22:06:37] <s3shs> ^ jaydubya
[22:06:48] <s3shs> jaydubya, you related to robdubya ?
[22:06:56] <jaydubya> s3shs: no
[22:07:14] <jaydubya> s3shs: well, the letter 'W' I guess
[22:07:15] *** ngoyal has joined #angularjs
[22:07:26] *** joleal has quit IRC
[22:07:48] <victorzki> is it possible to access the rootScope outside of controllers?
[22:07:51] <dllama> jaydubya: i see the html structure there
[22:07:53] *** RobinBAwesome has quit IRC
[22:07:55] *** BillCriswell has quit IRC
[22:08:02] *** tristanp has quit IRC
[22:08:16] <jaydubya> dllama: k, then nginx isn't seeing html then
[22:08:26] *** mrtoadsc has quit IRC
[22:08:32] *** syzygy_ has left #angularjs
[22:08:44] *** yelvert_ has quit IRC
[22:08:53] <NevilleS> victorzki: rootScope is always accessible, at least in your templates
[22:09:06] <TheAceOfHearts> just because you can doesn't mean you should
[22:09:12] *** mjs2600 has joined #angularjs
[22:09:12] <NevilleS> valid. :)
[22:09:18] *** yelvert has joined #angularjs
[22:09:51] <victorzki> NevilleS: ah... of course
[22:09:51] *** quantax- has joined #angularjs
[22:09:52] <victorzki> thanks
[22:10:05] *** hippobottamus has quit IRC
[22:10:34] <NevilleS> has anyone else had trouble with the Mary Poppins bot not finding their CLA acceptance?
[22:10:35] <jaydubya> dllama: hundreds of thousands of google results agree with s3shs that nginx isn't seeing it as html
[22:11:14] <jaydubya> dllama: I'm not an nginxer so I can't help
[22:11:22] *** whiteboo_ has quit IRC
[22:11:23] *** linojon has joined #angularjs
[22:11:24] *** mrtoadsc has joined #angularjs
[22:11:47] <victorzki> NevilleS: hmm but i want to assign values to rootscope variables in a stand alone js file. (on incoming data via websocket)
[22:11:47] *** hippobottamus has joined #angularjs
[22:11:54] <s3shs> dllama, check with the ISP about properly configuring nginx.
[22:11:54] <TheAceOfHearts> nginx is cool, but yeah, setting anything up with nginx is a bitcha
[22:11:55] *** hippobottamus has quit IRC
[22:12:02] *** yelvert_ has joined #angularjs
[22:12:03] <victorzki> i.e. not through the template
[22:12:18] <Inge-> lighttpd ftw!
[22:12:19] <s3shs> nginx is less annoying than apache. But a unix tool nonetheles.s
[22:12:29] *** joleal has joined #angularjs
[22:12:35] <TheAceOfHearts> nginx is fast, which is nice
[22:12:39] *** joleal has quit IRC
[22:12:44] <jaydubya> <edit-in-place value="{{contact.total | currency}}"></edit-in-place> is VERY error prone
[22:12:46] *** cboden has quit IRC
[22:12:46] <s3shs> dllama, solve one problem at atime.
[22:12:47] *** codeninja-don has quit IRC
[22:12:56] <s3shs> ^ TheAceOfHearts
[22:13:03] <TheAceOfHearts> dllama: you should make a build-step in your frontend app
[22:13:09] <TheAceOfHearts> and THEN worry about getting it on the server
[22:13:31] <NevilleS> victorzki you can't (easily) access angular's $rootScope from outside of your angular app entirely
[22:13:43] <TheAceOfHearts> NevilleS: sure you can
[22:13:45] <NevilleS> you should handle the websocket stuff within an angular module and access it there
[22:13:46] *** yelvert has quit IRC
[22:13:57] <s3shs> TheAceOfHearts, what is this gulp and build stuff you keep talking about? Right now he's just trying to make Hello World work. You're like 7 steps ahead.
[22:13:58] <dllama> TheAceOfHearts: i dont know how to make a build step, googling for it points me in 50x directions, some say to use gulp, others grunt, then yao compressor, i really am lost right now :(
[22:14:00] <TheAceOfHearts> angular.module('foo').run(function($rootScope){window.rootScope = $rootScope;})
[22:14:01] <TheAceOfHearts> yolo
[22:14:04] <NevilleS> LOL
[22:14:10] *** joleal has joined #angularjs
[22:14:15] <NevilleS> just because you can do it doesn't mean you should ;0
[22:14:16] <NevilleS> ;)
[22:14:22] <TheAceOfHearts> s3shs: I mean
[22:14:24] *** DigitallyBorn has quit IRC
[22:14:25] <victorzki> hehe..
[22:14:27] <TheAceOfHearts> making a production build of your app
[22:14:31] <TheAceOfHearts> you can do it in any way
[22:14:31] <s3shs> dllama, one step at a time. I suggest making a helloworld first in one simple page.
[22:14:47] <TheAceOfHearts> dllama: maybe you should use one of the starter kits
[22:15:05] <s3shs> TheAceOfHearts, you're STILL 7 steps ahead. Seriously. You've got the poor guy googling gulp tasks and he still can't load a freakin' "Under Contruction Banner".
[22:15:20] *** shaisnir has joined #angularjs
[22:15:22] *** nathanic has joined #angularjs
[22:15:26] <TheAceOfHearts> so, I thought he already had a frontend app working, though
[22:15:29] <TheAceOfHearts> and he just wanted to deploy it?
[22:15:31] <s3shs> He has nothing.
[22:15:35] <TheAceOfHearts> I see
[22:15:37] <TheAceOfHearts> literally nothing?
[22:15:39] <s3shs> He has an app that works on his local machine from node. THat's it.
[22:15:41] <TheAceOfHearts> well, alright then
[22:15:42] *** IvailoStoianov has quit IRC
[22:15:47] *** xavia has quit IRC
[22:15:47] <TheAceOfHearts> right
[22:15:47] <s3shs> Literally he just signed up with a new ISP. (I know.)
[22:15:55] *** mennea_ has quit IRC
[22:15:58] *** threesixes has joined #angularjs
[22:16:02] <dllama> me?
[22:16:04] <Inge-> gulå grunt yeoman etc... that shit makes mu head spin.
[22:16:05] <s3shs> You are right on all accounts.
[22:16:09] <Inge-> gulp*
[22:16:22] *** yelvert_ has quit IRC
[22:16:23] <TheAceOfHearts> well, hold on, I'm gonna get some coffee
[22:16:29] <victorzki> so, maybe the rootScope isnt an optimal solution to share data over controllers. is services a better option in my case; what i want to do is share the incoming data from a websocket over all controllers
[22:16:29] <TheAceOfHearts> I'll try to help once I return
[22:16:33] *** mennea has joined #angularjs
[22:16:39] <s3shs> dllama, one step at a time. Get a simple index.html page on to your server and see if you can get it to load.
[22:16:43] <TheAceOfHearts> but really, the ideal situation is to have an environment which you can reproduce in every environment
[22:16:46] <TheAceOfHearts> erm
[22:16:48] <TheAceOfHearts> in every place
[22:16:51] <s3shs> victorzki, it is not ideal. Instead you want services. Definitely.
[22:16:58] *** yelvert has joined #angularjs
[22:17:22] *** loverajoel has quit IRC
[22:17:25] <dllama> yes i have a working app running locally, thats the extent of how far i've gotten with it, api is built out and thats up and running, so local app works fine with api, etc.
[22:17:29] *** dnewkerk has joined #angularjs
[22:17:30] <victorzki> s3shs: great, thanks!
[22:18:11] <s3shs> victorzki, a service is a single global object that you can inject in to controllers. THis object can contain code, data, flags, whatever. You can even assign them to scopes and bind directly to their contents.
[22:18:16] <zzing> How good is 'ng-book'?
[22:18:28] <s3shs> zzing, if it's in print, it's old.
[22:18:47] <zzing> I refer to the online one that says updated for 1.3
[22:18:59] <s3shs> Then read it and report back. ;-)
[22:19:02] <zzing> :-)
[22:19:21] <zzing> How out of date would material before 1.3 be, for a newbie?
[22:19:44] <s3shs> Probably be best to learn on 1.3 since it has all the new doodads.
[22:20:00] <michaelSharpe> hey all, I have been bashing my head against a problem for a few hours and I need some help...
[22:20:06] <s3shs> Uh oh.
[22:20:07] <NevilleS> ctanga does that comment make sense?
[22:20:16] <NevilleS> michaelSharpe that sounds dangerous
[22:20:24] <NevilleS> michaelSharpe you need a more productive way to vent frustration
[22:20:28] <zzing> I am definitely using 1.3. Trying my best to do decode the different things into something else that works :_)
[22:20:46] <michaelSharpe> NevilleS: it is probably a super simple solution, but I am new to angular
[22:20:58] <calmbird> Can anyone tell me, why from parent controller, I can't see $scope.controler in ng-if, but I can see in ng-show?
[22:21:05] <s3shs> michaelSharpem jut ask.
[22:21:10] *** Sawbones has quit IRC
[22:21:19] *** mglvl has quit IRC
[22:21:21] *** yelvert has quit IRC
[22:21:26] *** sinequanon has joined #angularjs
[22:21:33] *** robdubya has quit IRC
[22:21:38] *** jiskiras has quit IRC
[22:21:48] <michaelSharpe> I am testing a directive that has an event bound to the windows scroll, and it is a scope function in the directive called "scrollHandler". I am watching it with a spy in my test, and then using the "triggerhandler" to trigger the scroll
[22:22:08] *** Reskp has joined #angularjs
[22:22:11] <michaelSharpe> but it isnt picking up the triggering of the scope method.
[22:22:14] <s3shs> calmbird, because ng-show just sets the style hidden on the element. ng-if creates a new scope for the stuff inside. So the inner scope is probably catching your bindings. To remedy this, always bind through an object... always. $scope.obj = { v1: 1 } Then ng-bind="obj.v1".
[22:22:18] *** sonofdirt has quit IRC
[22:22:19] *** AngularUI has joined #angularjs
[22:22:19] <AngularUI> [bootstrap] wkonkel opened pull request #2916: typeahead-focus-first option to prevent first match from being focused (master...master) http://git.io/BxP3XQ
[22:22:19] *** AngularUI has left #angularjs
[22:22:52] *** Reskp has quit IRC
[22:23:05] <NevilleS> michaelSharpe is it because spy is consuming the call?
[22:23:17] <NevilleS> by default spy makes it not call the function itself...
[22:23:19] *** imehesz has quit IRC
[22:23:22] *** RobinBAwesome has joined #angularjs
[22:23:37] <NevilleS> you use .andCallThrough() to let it call the function too
[22:23:44] <michaelSharpe> NevilleS: shouldnt it still be registering that the function is being called?
[22:23:50] <NevilleS> it does register, yes
[22:24:06] <NevilleS> so you are doing something like expect(mySpy).toHaveBeenCalled()
[22:24:17] *** gordroidJS1 has quit IRC
[22:24:30] *** PrinceAMD has quit IRC
[22:24:52] *** marshall_ has quit IRC
[22:24:52] *** Asiajey has quit IRC
[22:25:17] *** jiskiras has joined #angularjs
[22:25:21] *** nachinius has quit IRC
[22:26:03] *** Asiajey has joined #angularjs
[22:26:04] *** anivemin has quit IRC
[22:26:04] *** jiskiras has quit IRC
[22:26:16] *** Jdubs has joined #angularjs
[22:26:45] *** ngoyal has quit IRC
[22:26:57] *** Sawbones has joined #angularjs
[22:27:05] *** anivemin has joined #angularjs
[22:27:22] *** jrist has quit IRC
[22:27:40] *** xxMatiasxx has quit IRC
[22:27:41] *** loverajoel has joined #angularjs
[22:27:54] *** Asiajey has quit IRC
[22:28:28] <jareddlc> hey guys, i currently have a timeout inside my service that does get request
[22:28:39] <s3shs> Check.
[22:28:45] <jareddlc> but i wanted to change that into my controller. this will only pull on active controller correct?
[22:29:00] <jareddlc> so when i change a partial, the controller gets stop? deleted?
[22:29:24] *** TheAceOfHearts has quit IRC
[22:29:28] <s3shs> jareddlc, you can inject your service in to the controiller. And then assign it to the $scope. You can also call the service from the controller with $scope.
[22:29:34] *** bradmaxs has quit IRC
[22:29:43] *** Asiajey has joined #angularjs
[22:29:49] *** rsteverson has joined #angularjs
[22:30:04] <s3shs> There is no "active controller". Just a bunch of controllers with scopes.
[22:30:12] *** JSONB has quit IRC
[22:30:13] <jareddlc> s3shs: so for best practices, does the controller do the pulling vs the service
[22:30:29] <s3shs> Typically scopes are for data and their pulling.
[22:30:30] <jareddlc> becuase right not i have a function that calls itself every 3 secs to get latest data
[22:30:38] *** vdrizzle-work has joined #angularjs
[22:30:39] <s3shs> But you can do it in the controller too. I certainly have many times.
[22:30:45] <jareddlc> i want it so that it only pulls my resrouce given partial
[22:31:01] <jareddlc> scopes ? did u mean services?
[22:31:20] *** intellix has joined #angularjs
[22:31:25] *** JSON_voorheez has joined #angularjs
[22:31:33] *** Benstr has quit IRC
[22:31:35] *** DanielKarp has quit IRC
[22:31:45] <s3shs> $scopes are what the var names from the dom bind through.
[22:31:46] *** anivemin has quit IRC
[22:31:46] <jareddlc> what i want. I have index, with ng-view which can load 3 partials,
[22:31:57] <s3shs> But in my last comment, yes, I meant service.
[22:32:01] *** eslaron_ has joined #angularjs
[22:32:03] <jareddlc> i want to pull rest data from the active partial
[22:32:07] *** JSON_voorheez has left #angularjs
[22:32:27] *** michaelSharpe has quit IRC
[22:32:32] <s3shs> Typically services are for data and their pulling. Sorry, Friday.
[22:32:41] <jareddlc> no problem
[22:32:46] <jareddlc> thats how ive used them
[22:32:49] <eslaron_> Hello :) Is REST applicable to every app scenario? Or is it worth the effort only in certain cases?
[22:32:53] *** gjulianm has joined #angularjs
[22:33:01] <s3shs> REST rocks.
[22:33:12] <jareddlc> ^ :)
[22:33:26] <ctanga> NevilleS: yep makes sense
[22:33:31] *** ngoyal has joined #angularjs
[22:33:32] *** Asiajey has quit IRC
[22:33:34] *** mjs2600 has quit IRC
[22:33:37] *** leftblank has joined #angularjs
[22:33:50] *** mjs2600 has joined #angularjs
[22:34:02] <eslaron_> I know it's cool. But the thing is, I can realize any scenario with REST or in some cases it becomes a hassle?
[22:34:19] *** mjs2600 has quit IRC
[22:34:51] *** RobinBAwesome has joined #angularjs
[22:35:02] <rsteverson> any idea why this model is not being updated in one of my $scope functions? http://pastebin.com/txcna5fr
[22:35:05] *** Asiajey has joined #angularjs
[22:35:05] *** Asiajey has joined #angularjs
[22:35:16] *** Sawbones has quit IRC
[22:35:17] *** zwacky has quit IRC
[22:35:19] <dllama> s3shs: i didn't know about "grunt build" — trying that now
[22:35:34] *** zwischenzug has joined #angularjs
[22:36:04] *** loverajoel has quit IRC
[22:36:05] *** intellix has quit IRC
[22:36:16] *** zB0hs has quit IRC
[22:36:26] *** Asiajey has quit IRC
[22:36:40] *** phuh has quit IRC
[22:37:05] *** phuh has joined #angularjs
[22:37:19] *** vdrizzle-work has left #angularjs
[22:37:21] <calmbird> s3shs: Yes well ng-bind is overvriting whole directive.
[22:37:26] *** e0ipso is now known as e0ipso|away
[22:37:38] *** dcherman has quit IRC
[22:38:15] <NevilleS> ps ctanga every time I run into an issue with ui router lately if I dig enough you've already fixed it in the next release :S
[22:38:25] *** _ritchie_ has quit IRC
[22:38:30] *** Asiajey has joined #angularjs
[22:38:35] *** glosoli has joined #angularjs
[22:38:36] <NevilleS> ctanga ship it!!!
[22:38:47] <NevilleS> :D
[22:38:53] *** TheAceOfHearts has joined #angularjs
[22:39:51] <ctanga> NevilleS: I want to get this Typed params/default params/optional params sorted before releasing 0.2.12
[22:39:59] *** c00ljs has joined #angularjs
[22:40:00] *** aiglesias has joined #angularjs
[22:40:00] *** codedungeon has joined #angularjs
[22:40:04] *** shackleford has joined #angularjs
[22:40:12] <TheAceOfHearts> ctanga: how do you feel about the new angular router?
[22:40:28] <ctanga> TheAceOfHearts: I’ve only looked at the design doc from a year ago
[22:40:39] <ctanga> TheAceOfHearts: I don’t know the state of the codebase
[22:41:04] <ctanga> but regarding my feels...
[22:41:05] <TheAceOfHearts> I mean
[22:41:16] *** Nizumzen has joined #angularjs
[22:41:22] <ctanga> I think UI-Router will be competing for a while
[22:41:24] <TheAceOfHearts> the purpose is to try and deprecate ui-router and ngRoute in favor of one "superior" rpouter, isn't it :P?
[22:41:27] <TheAceOfHearts> I see
[22:41:30] *** niklasmo_ has quit IRC
[22:41:40] <ctanga> if it supersedes ui-router in functionality, then great
[22:41:53] <ctanga> from a design perspective, I think they’re going a different direction
[22:42:02] *** aiglesia_ has joined #angularjs
[22:42:07] <TheAceOfHearts> I'm curious how app developers handle these kinds of things
[22:42:16] <TheAceOfHearts> I definitely prefer ui-router over ngRoute
[22:42:17] <ctanga> choosing, you mean?
[22:42:23] <TheAceOfHearts> no just like
[22:42:24] *** niklasmodess has joined #angularjs
[22:42:27] <calmbird> s3shs: well it didn't solve my problem, ng-bind just overvrote html template :P
[22:42:29] *** aiglesias has quit IRC
[22:42:31] <TheAceOfHearts> how they handle defining different states and such
[22:42:36] <TheAceOfHearts> in a way that's logical
[22:42:37] <jaydubya> how do I use the currency filter inside of a directive?
[22:42:39] <ctanga> oh
[22:42:42] <TheAceOfHearts> if they take a similar approach to ui-router
[22:42:53] <TheAceOfHearts> I don't really know how big "real" applications are made
[22:42:57] <TheAceOfHearts> real as in native
[22:42:58] <TheAceOfHearts> lol
[22:43:01] <TheAceOfHearts> cuz the web is imaginary, duh
[22:43:14] <NevilleS> ctanga if you need any help, happy to contribute. you just seem to fix everything before I notice it needs it :)
[22:43:26] <ctanga> well I’ve written a few “fat” apps and the component models of the toolkit have a lot to say about you manage state in your app
[22:43:41] <TheAceOfHearts> I see
[22:43:58] <ctanga> I have the most experience in Java Swing (ugh) and basically, if you have a component and it’s visible, then it’s part of the state
[22:44:14] <ctanga> we use models just like a webby MV*
[22:44:16] <dllama> TheAceOfHearts: i got it working
[22:44:23] <TheAceOfHearts> great
[22:44:25] <s3shs> calmbird, write it in plnkr: http://plnkr.co/edit/tpl:FrTqqTNoY8BEfHs9bB0f
[22:44:25] *** zB0hs has joined #angularjs
[22:44:25] <dllama> i guess the build step u kept refering to was "grunt build" ?
[22:44:26] <TheAceOfHearts> I got coffee
[22:44:39] <calmbird> s3shs: ok
[22:44:42] <TheAceOfHearts> sure, if you're using that default template thing
[22:44:46] *** Skrypter has joined #angularjs
[22:44:54] <dllama> thats what i kept asking about, i didnt know about that, :(
[22:45:01] *** thedodd has quit IRC
[22:45:08] <ctanga> NevilleS: appreciate the offer. There is actually quite a lot to do
[22:45:31] <TheAceOfHearts> ctanga: throw it all away, rewrite it in haskell~
[22:45:33] *** dcherman has joined #angularjs
[22:45:51] <ctanga> your issue report was very good btw NevilleS , thank you for that
[22:46:02] <ctanga> TheAceOfHearts: hmmm ok, you convinced me
[22:46:12] <TheAceOfHearts> yay
[22:46:35] *** mennea_ has joined #angularjs
[22:47:19] *** edy_ has quit IRC
[22:47:22] *** mennea has quit IRC
[22:48:22] *** hswolff has quit IRC
[22:48:26] *** edy_ has joined #angularjs
[22:48:43] *** RusAlex has quit IRC
[22:48:46] *** zB0hs has quit IRC
[22:49:14] *** scythe__ has joined #angularjs
[22:49:31] *** vdrizzle-work has joined #angularjs
[22:49:31] *** matthoiland has joined #angularjs
[22:49:37] *** vdrizzle-work has left #angularjs
[22:49:43] *** rahil has joined #angularjs
[22:49:51] <dgee> if i call a scope function inside a template, eg something like ng-click=“doSomething()”, is there any advantage to moving that to one-time-binding syntax (ng-click=“::doSomething()”)
[22:50:09] *** hswolff has joined #angularjs
[22:50:17] *** ngoyal has quit IRC
[22:50:29] *** mkc has quit IRC
[22:50:38] <dllama> shit… i have a directive that kind of lazy loads images via css, but now they're all renamed with the version # appended to each image
[22:51:19] <calmbird> s3shs: http://plnkr.co/edit/xeN6UyOSTYeISlEt3m0S?p=preview
[22:52:33] *** mven has quit IRC
[22:53:45] *** ngoyal has joined #angularjs
[22:53:46] <ctanga> UI-Router users please weigh in on this RFC: https://github.com/angular-ui/ui-router/issues/1501
[22:54:02] *** OdinIncarnate has quit IRC
[22:54:05] *** travm is now known as travm-afk
[22:54:07] <ctanga> happy halloween, and good night
[22:54:09] *** travm-afk has quit IRC
[22:54:30] *** jMyles has joined #angularjs
[22:54:32] <dllama> how do i tell grunt NOT to change image names?
[22:54:43] *** MuffinMan` has joined #angularjs
[22:54:58] <jaydubya> The editable field in the Status column is actually updating (as seen in dump) but I don't think I have the display correct because it always shows the "default" value. --> http://plnkr.co/edit/6Ntwdrb0L5FArylAbYau?p=preview
[22:55:37] *** ctanga has quit IRC
[22:55:59] <jsheely> ngEnter is not a standard directive in 1.3 is it?
[22:56:14] *** NevilleS has quit IRC
[22:56:41] *** evilaliv3 has quit IRC
[22:57:01] *** rsteverson has quit IRC
[22:57:41] *** rob_parkhill has joined #angularjs
[22:58:38] *** Reskp has joined #angularjs
[22:58:59] *** Bade has quit IRC
[22:59:05] *** hippobottamus has joined #angularjs
[23:00:17] *** hippobottamus has quit IRC
[23:00:42] *** klkl has joined #angularjs
[23:02:18] *** rob_parkhill has quit IRC
[23:02:29] *** yiati has quit IRC
[23:02:31] *** jagga_ has quit IRC
[23:03:09] *** AngularUI has joined #angularjs
[23:03:09] <AngularUI> [ng-grid] PaulL1 pushed 3 new commits to master: http://git.io/GFwrtg
[23:03:09] <AngularUI> ng-grid/master 492c9b8 Josh Kropf: remove pointless logic...
[23:03:09] <AngularUI> ng-grid/master 5c697ea Josh Kropf: fix remainder width not applied to auto width columns...
[23:03:10] <AngularUI> ng-grid/master 12b6017 Paul: Merge pull request #1983 from Envisage/master...
[23:03:10] *** AngularUI has left #angularjs
[23:03:40] *** tkdaj1 has joined #angularjs
[23:03:46] *** mary5030 has quit IRC
[23:03:59] <tkdaj1> can someone tell me a reason why I would get this error:
[23:04:00] <tkdaj1> "Expression 'undefined' used with directive 'testDirective' is non-assignable!"
[23:04:00] *** eslaron_ has quit IRC
[23:04:06] *** jMyles has quit IRC
[23:04:24] <tkdaj1> I looked at the doc link from the error and I am not doing anything that is listed there as far as I can tell
[23:04:37] *** AngularUI has joined #angularjs
[23:04:37] <AngularUI> [ng-grid] PaulL1 pushed 2 new commits to master: http://git.io/8E0CQg
[23:04:37] <AngularUI> ng-grid/master 0e9a870 HampusLilja: fixed issue #1733, when no width is set for a pinned column the width will now be recalculated.
[23:04:38] <AngularUI> ng-grid/master dc8448f Paul: Merge pull request #1982 from HampusLilja/pinColumnWithoutWidth...
[23:04:38] *** AngularUI has left #angularjs
[23:05:26] <dgee> tkdaj1, you may be trying to bind something to an isolate scope that isn’t resolved tet
[23:05:27] <dgee> yet
[23:06:59] *** firelinks has quit IRC
[23:07:37] *** chrisshattuck has quit IRC
[23:07:57] *** whunt_ has joined #angularjs
[23:08:18] *** Sgeo has quit IRC
[23:08:19] <calmbird> Does anyone know, how to make $scope.child visible in ng-if? Plunker: http://plnkr.co/edit/xeN6UyOSTYeISlEt3m0S?p=preview
[23:08:55] *** ngbot has joined #angularjs
[23:08:55] <ngbot> [angular.js] caitp pushed 1 new commit to master: http://git.io/hGEL9w
[23:08:56] <ngbot> angular.js/master 2a2fd14 Henry Zhu: docs(guide/Forms): clarify ngModel behavior for validation...
[23:08:56] *** ngbot has left #angularjs
[23:09:18] *** zwacky has joined #angularjs
[23:09:39] *** rahil has quit IRC
[23:09:41] *** Sgeo has joined #angularjs
[23:10:03] *** anivemin has joined #angularjs
[23:10:13] *** zwischenzug has quit IRC
[23:10:42] *** clov3r has quit IRC
[23:10:46] *** anivemin has quit IRC
[23:11:24] *** whunt has quit IRC
[23:11:27] *** whunt_ is now known as whunt
[23:12:41] *** erikruthven has joined #angularjs
[23:12:47] *** rob_parkhill has joined #angularjs
[23:14:18] *** artisangoose has quit IRC
[23:14:33] *** tripu has joined #angularjs
[23:14:52] *** dman777_alter has quit IRC
[23:15:17] *** kuniyori has joined #angularjs
[23:15:18] *** ngoyal has quit IRC
[23:15:38] *** merrihew has quit IRC
[23:16:00] *** mennea_ has quit IRC
[23:16:37] *** mennea has joined #angularjs
[23:16:46] *** zeroquake has quit IRC
[23:17:07] *** sinequanon has quit IRC
[23:17:30] *** glosoli has quit IRC
[23:17:33] *** mven has joined #angularjs
[23:18:00] *** joleal has quit IRC
[23:18:32] *** joleal has joined #angularjs
[23:18:34] *** jwowwz has quit IRC
[23:19:21] *** mjs2600 has joined #angularjs
[23:19:49] *** kuniyori has quit IRC
[23:20:05] *** quantax- has quit IRC
[23:20:07] *** RobinBAwesome has quit IRC
[23:20:22] *** mclenithan has quit IRC
[23:21:50] *** anth0ny has quit IRC
[23:21:52] *** Sawbones has joined #angularjs
[23:21:58] *** whitebook has joined #angularjs
[23:22:00] *** rob_parkhill has quit IRC
[23:22:29] *** rob_parkhill has joined #angularjs
[23:22:33] *** mcwhiney has joined #angularjs
[23:23:01] *** c00ljs has quit IRC
[23:23:26] *** jasonp has quit IRC
[23:25:18] *** shackleford has quit IRC
[23:25:31] *** josh-k has quit IRC
[23:25:40] *** hippobottamus has joined #angularjs
[23:25:51] *** willlma has joined #angularjs
[23:25:59] *** josh-k has joined #angularjs
[23:26:32] *** whitebook has quit IRC
[23:26:58] <willlma> Hi, I have a question about ng-click event bubbling. Is this a good place?
[23:27:14] *** Sawbones has quit IRC
[23:27:15] *** powaa has joined #angularjs
[23:27:19] <s3shs> calmbird, tricky question. http://stackoverflow.com/questions/21859676/how-can-i-control-initialization-of-an-angular-directive
[23:27:48] *** erikruthven has quit IRC
[23:28:06] *** Asiajey has quit IRC
[23:28:21] *** Asiajey has joined #angularjs
[23:28:35] <calmbird> s3shs: yeah I know, and thats fine. Because I don't want tab to be shown in DOM if it's not active.
[23:28:41] *** cuebix-wk has quit IRC
[23:28:56] *** Helious has joined #angularjs
[23:29:01] <calmbird> And after it is activated it has isolated scope right? I can't acces this controller by $scope.child from parent
[23:29:27] *** Limix has joined #angularjs
[23:29:31] <s3shs> Let me try something. One sec.
[23:29:36] <calmbird> ofc
[23:30:20] *** josh-k has quit IRC
[23:30:25] <s3shs> calmbird, see here: http://stackoverflow.com/questions/17900201/how-to-access-parent-scope-from-within-a-custom-directive-with-own-scope-in-an
[23:30:48] <s3shs> This is the netherworld where directives become a pita.
[23:30:49] *** one0one has joined #angularjs
[23:31:01] *** firelinks has joined #angularjs
[23:31:12] <calmbird> :P
[23:31:19] *** threesixes has quit IRC
[23:31:26] *** subone1 has quit IRC
[23:31:37] <s3shs> I tend to avoid parts of frameworks where one misplaced character can change the behavior of my whole app.
[23:32:06] <calmbird> :D
[23:32:08] <calmbird> yeah
[23:32:08] *** rodyhaddad has joined #angularjs
[23:32:12] *** josh-k has joined #angularjs
[23:32:13] *** hippobottamus has quit IRC
[23:32:39] *** sinequanon has joined #angularjs
[23:33:02] *** linojon has quit IRC
[23:33:13] <dllama> anyone got a sample nginx conf they dont mind sharing? for some reason, the bower_components are being redirected and not loaded :/
[23:33:37] *** kalehv has joined #angularjs
[23:34:14] <calmbird> s3shs: well still it doesn't help me how to acces child from ng-if, from ng-show it works :P
[23:34:15] *** robdubya has joined #angularjs
[23:34:26] *** ProLoser has joined #angularjs
[23:34:44] <s3shs> Probably because ng-if is creating a child scope and inserting your element... rather than just hiding it.
[23:34:51] <s3shs> But you knew that already. :-)
[23:34:52] <calmbird> I had ng-show tabs, but it is bad for google robots. Because it's showing whole content in every link.
[23:35:20] <s3shs> Mmm
[23:35:23] <s3shs> They should fix that.
[23:35:33] <calmbird> realy?
[23:35:43] *** Aliks has quit IRC
[23:35:46] <calmbird> so it won't get ng-hide content?
[23:35:47] *** nemothekid has joined #angularjs
[23:35:49] *** olanod has quit IRC
[23:35:53] <calmbird> hmm that would be great :P
[23:36:09] *** shpoont has quit IRC
[23:36:15] <calmbird> But still positioning companies are whining abit :P
[23:36:21] <s3shs> I, um, create static pages for all google facing content. And only use angular behind a login wall.
[23:36:30] *** dcherman has quit IRC
[23:36:40] *** phuh has quit IRC
[23:36:43] *** FunnyLookinHat has quit IRC
[23:36:46] <s3shs> There are tools that you can use serverside to render your angular pages for static presentation to google.
[23:36:57] <s3shs> But they require some binaries, etc.
[23:37:06] *** phuh has joined #angularjs
[23:37:10] <jaydubya> s3shs: I surprised GULP doesn't do that for you since it seems to do every other ding dang thing
[23:37:13] *** tech2 has joined #angularjs
[23:37:18] <calmbird> Bleh better to do it with ng-if and just use services to pass variables
[23:37:23] <calmbird> :P
[23:37:27] *** Reskp has quit IRC
[23:37:31] *** shaisnir has quit IRC
[23:37:32] <s3shs> Services are better anyway.
[23:37:37] <calmbird> yeah
[23:37:37] *** threesixes has joined #angularjs
[23:37:53] <calmbird> just made storageService, and will hold all loaded variables there
[23:38:02] <s3shs> I actually thought of that a few minutes ago and dismissed it. I forget why.
[23:38:08] <s3shs> Maybe because it's Friday.
[23:38:17] <calmbird> :D
[23:38:18] <calmbird> yeah
[23:38:37] *** marshall_ has joined #angularjs
[23:38:58] <s3shs> I really like the idea of "everything's a directive". But I can't seem to get myself to do it. With angular 2.0's better focus around this it would all probably be easier.
[23:39:13] *** ProLoser has quit IRC
[23:39:13] *** zz_night-owl is now known as night-owl
[23:39:16] <calmbird> I hope so.
[23:39:25] *** iksik has quit IRC
[23:39:43] <jaydubya> I hope NG2 is far off in the future
[23:39:47] <calmbird> But they should fork developing, 1.x and 2.x
[23:39:49] <s3shs> Hmmm... I wonder if you could set the priority on your directive higher than ng-if and then implement the ng-if yourself.
[23:39:52] *** TinkerTyper has quit IRC
[23:39:58] *** mennea has quit IRC
[23:40:04] *** powaa has quit IRC
[23:40:05] <calmbird> :P
[23:40:22] <s3shs> What could possibly go wrong? ;-)
[23:40:30] <s3shs> calmbird, I agree completely. Keep maintaining 1.x. Then take everything they've learned and make a new 2.x for new projects.
[23:40:44] *** powaa has joined #angularjs
[23:41:09] *** RobinBAwesome has joined #angularjs
[23:41:27] <jaydubya> The editable field in the Status column is actually updating (as seen in dump) but I don't think I have the display correct because it always shows the "default" value. --> http://plnkr.co/edit/6Ntwdrb0L5FArylAbYau?p=preview
[23:41:30] *** quantax- has joined #angularjs
[23:42:27] *** mattwynne has joined #angularjs
[23:42:29] *** matthoiland has quit IRC
[23:42:46] *** sinequanon has quit IRC
[23:44:29] *** SonikBoom has joined #angularjs
[23:45:48] *** klaut has quit IRC
[23:46:02] *** RedOrangeZ has quit IRC
[23:47:52] *** firelinks has quit IRC
[23:48:12] *** firelinks has joined #angularjs
[23:48:53] *** jMyles has joined #angularjs
[23:49:07] *** darrin has joined #angularjs
[23:49:16] *** knownasilya has quit IRC
[23:49:17] *** tkimmel has quit IRC
[23:49:46] *** sinequanon has joined #angularjs
[23:50:02] *** ClarusCogitatio has quit IRC
[23:50:29] *** darrin has quit IRC
[23:51:56] *** bkuberek_ has quit IRC
[23:52:06] *** josh-k_ has joined #angularjs
[23:54:36] *** cthrax has quit IRC
[23:55:17] *** josh-k has quit IRC
[23:55:24] *** pose has quit IRC
[23:55:27] *** bmac has joined #angularjs
[23:55:50] *** joleal has quit IRC
[23:55:59] *** deanclkclk has quit IRC
[23:56:01] *** afuggini has joined #angularjs
[23:57:38] *** bmac has quit IRC
[23:58:43] *** juanpablo__ has quit IRC
top

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