Switch to DuckDuckGo Search
   December 29, 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:10] *** dc_ has joined #angularjs
[00:00:19] <Sickness[]> well I dont control the api
[00:00:23] <wafflej0ck> you can still have the API endpoints for directly interacting with "parts" of the main object but for the main object you can also just return the parts...
[00:00:23] <wafflej0ck> ah
[00:00:23] <Sickness[]> maybe I should contact them about it
[00:00:27] <wafflej0ck> yeah
[00:00:31] <Sickness[]> this seems kinda ridiculous..
[00:00:32] <wafflej0ck> would see if they have a better solution
[00:00:38] *** Poppa has joined #angularjs
[00:00:45] <ProLoser> anyone around
[00:00:48] <ProLoser> i need a small favor
[00:00:48] *** gladely has joined #angularjs
[00:00:50] <BahamutWC> nope
[00:00:58] <ProLoser> i'm taking screenshots
[00:01:00] <Sickness[]> ill do that then, thanks for the mini brainstorm wafflej0ck ;D
[00:01:09] <wafflej0ck> Sickness[], np
[00:01:10] <ProLoser> i need someone to send me a message on G+, Twitter, and Github
[00:01:15] <ProLoser> so that it triggers notifications
[00:01:43] <BahamutWC> now?
[00:02:24] *** rileylark has joined #angularjs
[00:02:53] *** Poppabear has quit IRC
[00:02:59] *** jaredwilli has joined #angularjs
[00:03:03] <ProLoser> yes
[00:03:23] <ProLoser> i need to take screenshots of the notification badge changing color cuz of stupid design decisions like this https://github.com/twbs/bootstrap/issues/9250
[00:03:36] *** Trow2 has joined #angularjs
[00:04:15] <ProLoser> can you ping me on G+ and Github?
[00:04:49] <BahamutWC> k
[00:05:11] *** rho has joined #angularjs
[00:05:37] *** Mccxiv has quit IRC
[00:05:40] *** corealis has quit IRC
[00:05:55] <BahamutWC> how do you ping on GitHub?
[00:05:58] *** Mccxiv has joined #angularjs
[00:06:05] <ProLoser> uh
[00:06:09] <ProLoser> create an issue on unibot/unibot
[00:07:17] *** jaredwilli has quit IRC
[00:07:33] *** Trow1 has quit IRC
[00:08:00] <ProLoser> BahamutWC: can you do G+ again? i took a screenshot on YT and accidentally cleared it
[00:08:30] *** nemothekid has quit IRC
[00:10:06] *** mansoormb has joined #angularjs
[00:10:10] <mansoormb> hey everyone
[00:10:31] <mansoormb> I have a quick question building a laravel 4 and angular appliaction
[00:10:57] <mansoormb> I can't get angular to load on the home page but loads fine when I enter a url
[00:10:58] <ProLoser> thanks
[00:11:29] <mansoormb> meaning example.com/ doesn't load but example.com/admin does load
[00:11:41] *** ChadStrat has joined #angularjs
[00:11:43] <jaawerth> mansoormb: are you using a router on the angular side?
[00:11:53] <jaawerth> ngRoute/ui-router?
[00:11:55] <mansoormb> yeah I am using the routeprovider
[00:12:00] <mansoormb> ngRoute
[00:12:31] <jaawerth> Okay. Have you set a route for '/' or ''?
[00:13:01] <jaawerth> or before we even get to taht - what do you mean angular isn't loading? what actually shows up on the page?
[00:13:14] *** nerdfiles has quit IRC
[00:13:43] *** Trow1 has joined #angularjs
[00:13:48] <mansoormb> it shows just the base layout
[00:14:04] <mansoormb> nothing is being loaded via the templateUrl or the controller
[00:14:24] <mansoormb> I know its loading on the page because if I take any of the needed files the console will throw an error
[00:14:32] <jaawerth> yeah, sounds like a routing issue then. so "angular" is loading in that the template for the base layout is rendering correctly?
[00:14:41] *** alpha080 has joined #angularjs
[00:14:43] <jaawerth> what's the url for your "home" route?
[00:15:17] *** ron_frown has joined #angularjs
[00:15:19] <BahamutWC> mansoormb: it could mean that the templateUrl is incorrect
[00:15:56] <BahamutWC> not sure if that's ngRouter's behavior, but ui-router will fail silently
[00:16:02] <BahamutWC> ngRoute's*
[00:16:08] <mansoormb> checked the routes they seem to be fine
[00:16:12] *** elrabin has quit IRC
[00:16:19] <mansoormb> im loading the same routes in my admin section and they are loading fine
[00:16:21] <jaawerth> true, though in this case if it's working with specific URLs but not with a default, I'm guessing the default route handler just has to be added (or an "otherwise")
[00:16:38] <jaawerth> mansoormb: what's the route for the home page? is it just "/"?
[00:16:47] *** elrabin has joined #angularjs
[00:16:47] <mansoormb> yea
[00:16:47] *** cjustiniano has quit IRC
[00:16:49] <jaawerth> mansoormb: also, do you have an "otherwise"?
[00:16:54] <mansoormb> yes i do
[00:17:08] <jaawerth> ah. so the home route isn't loading at all
[00:17:12] <jaawerth> no matter what you do
[00:17:22] *** rho has quit IRC
[00:17:23] *** Trow2 has quit IRC
[00:17:26] <BahamutWC> what does the url look like in the location bar?
[00:17:33] <BahamutWC> when you try to access that route
[00:17:40] *** cjustiniano has joined #angularjs
[00:17:50] <mansoormb> example.com/
[00:17:54] <mansoormb> i even tried
[00:17:58] <mansoormb> example.com/#/
[00:18:09] <mansoormb> nothing I haven't enabled the html5 mode
[00:18:17] *** cjustiniano has joined #angularjs
[00:18:24] *** numproc has quit IRC
[00:18:52] *** cjustiniano has quit IRC
[00:19:00] <jaawerth> I'm thinking BahamutWC might be on to something with the templateUrl. Easy way to test if it isnt' route-related would be to give the home route a full path (/foo or something) and see what happens
[00:19:08] <jaawerth> when you do example.com/#/foo
[00:19:30] *** tristanp has quit IRC
[00:19:37] <jaawerth> oh, and presumably you checked and there are no errors in the console
[00:20:09] <mansoormb> no errors in the console
[00:20:40] *** tristanp has joined #angularjs
[00:20:53] *** Aliks has quit IRC
[00:21:02] *** startupality has joined #angularjs
[00:21:07] *** elrabin has quit IRC
[00:21:42] *** Aliks has joined #angularjs
[00:21:43] <mansoormb> I found where the problems lie but I don't know why it's doing what its doing
[00:21:57] *** eago_ has quit IRC
[00:22:00] *** angjang8 has quit IRC
[00:22:12] <jaawerth> ?
[00:22:32] *** Menorah has quit IRC
[00:22:55] *** bayousoft has joined #angularjs
[00:23:09] <mansoormb> well it has something to do with my about controller
[00:23:18] <mansoormb> but it didn't give me an error on what was going on
[00:23:19] *** ximenean___ has joined #angularjs
[00:23:50] <mansoormb> I figured it out
[00:23:52] *** Trow2 has joined #angularjs
[00:23:59] *** ralugna12 has quit IRC
[00:24:15] *** ron_frown has quit IRC
[00:24:27] <mansoormb> the module was named the same as the module I was loading in the ng-app
[00:24:43] <mansoormb> so the about controller was overriding the main module I had loading inside the application
[00:25:14] <mansoormb> Follow those naming conventions sorry I am cleaning up someones code so I didn't catch it right away
[00:25:16] *** tristanp has quit IRC
[00:26:11] <mansoormb> Thanks for your help guys
[00:26:12] *** elrabin has joined #angularjs
[00:26:20] *** Aliks has quit IRC
[00:26:20] *** Mccxiv has quit IRC
[00:26:41] *** Mccxiv has joined #angularjs
[00:27:17] *** RossJH has quit IRC
[00:27:25] *** netameta_ has joined #angularjs
[00:27:32] *** Trow1 has quit IRC
[00:27:47] *** ximenean___ has quit IRC
[00:27:53] *** chrisshattuck has quit IRC
[00:28:18] *** netameta has quit IRC
[00:29:01] *** frem has joined #angularjs
[00:29:05] *** caitp has joined #angularjs
[00:29:05] *** BillCriswell has quit IRC
[00:29:52] <jaawerth> ahh, heh
[00:30:49] *** Menorah has joined #angularjs
[00:30:58] *** ejb has joined #angularjs
[00:31:33] *** elrabin has quit IRC
[00:32:31] *** ron_frown has joined #angularjs
[00:32:38] *** mansoormb has quit IRC
[00:33:56] *** Trow1 has joined #angularjs
[00:34:05] *** evotuned has joined #angularjs
[00:35:39] *** Mccxiv has quit IRC
[00:35:45] *** BillCriswell has joined #angularjs
[00:35:56] *** Trow1 has quit IRC
[00:35:58] *** Mccxiv has joined #angularjs
[00:37:35] *** Trow2 has quit IRC
[00:38:43] *** torartc has quit IRC
[00:38:46] *** evotuned has quit IRC
[00:40:56] *** nerdfiles has joined #angularjs
[00:41:20] <jaawerth> so, does anyone actually use the $log service? Is there a way I'm missing to get the stacktrace to show where you're actually logging from instead of angular.js:linewhatever?
[00:41:30] *** foofoobar has quit IRC
[00:41:34] <jaawerth> because failing that, I'm having a hard time picturing when I'd actually want to use it
[00:42:21] <jaawerth> this isn't the first time it's occurred to me - I usually don't use it for that reason, but figured I'd try exploring it more now
[00:42:26] <caitp> jaawerth: $log is really just so you can use console.log as a dev helper without crashing IE
[00:42:37] <caitp> because IE console isn't available when devtools are closed
[00:42:41] *** apertoire has joined #angularjs
[00:42:51] *** Caroga_afk is now known as Caroga
[00:43:01] <jaawerth> caitp: haha yeah I've run into that before, but since I want the stacktrace I just have my own little monkeypatch for it
[00:43:15] *** mattblang has joined #angularjs
[00:43:33] <jaawerth> ah well, I'll probably just write my own log service - I'd like to be able to set logging levels and have server-side logging options anyway
[00:43:43] <mattblang> anyone else been using angular material?
[00:43:48] <jaawerth> I am
[00:43:54] <caitp> you'd have to do that for a stack trace --- the problem with stack traces is that they're not really standardized anywhere, they aren't interoperable at all (especially when sourcemaps are involved), so they're really hard to support and test
[00:44:07] <jaawerth> that makes sense
[00:44:24] <mattblang> jaawerth I am loving this so much!
[00:44:57] <mattblang> jaawerth started using that, switched to ui-router, and adopted the "sort by feature" directory structure. So far it has been very pleasant
[00:44:59] <jaawerth> my monkeypatch is just the standard window.console = window.console || {log: function() {}}, something like that
[00:45:10] *** komlev has quit IRC
[00:45:36] *** startupality has quit IRC
[00:45:57] <jaawerth> caitp: by the way, running into that IE issue having not seen it before is the most frustratingly bizarre error ever, since the minute you pull up the debug console to figure out what errors are being thrown, you get no errors. And if you close it, the console object continues to exist so everything magically works until next time
[00:46:24] <jaawerth> I remember when I ran into it a year and a half ago I thought it was hilarious... in an angry sort of way
[00:46:55] <jaawerth> mattblang: it's pretty nice. still a little raw, but nice and constantly improving.
[00:47:09] <jaawerth> mattblang: by "sort by feature" do you mean components?
[00:47:14] <mattblang> jaawerth yeah
[00:47:38] <jaawerth> oh, yeah. in my opinion that is the real power of angular (and/or libraries like it)
[00:47:51] *** Reskp has joined #angularjs
[00:47:52] *** bmac has joined #angularjs
[00:48:02] <jaawerth> maximizing reusability makes me happy
[00:48:25] <mattblang> jaawerth yeah, the article I read made perfect sense. you always see the /controllers, /templates, etc. sorting because it makes sense to someone learning the concepts. but the components way is by far superior from what I have seen.
[00:48:27] <caitp> jaawerth, yeah it's a really dumb feature
[00:48:37] *** apertoire has quit IRC
[00:48:38] <caitp> i think i asked brian terlson if it was changed in recent IE or going to change
[00:48:41] <caitp> and i recall the answer was yes
[00:48:54] <caitp> (no promises on that)
[00:48:55] <jaawerth> I'd hope so. with 11+ they're really making an effort to get in line with the other browsers
[00:49:05] <caitp> yeah
[00:49:18] <jaawerth> I still wish they'd left those IE detection comment options in place for when they screw it up, though
[00:49:36] *** tschundeee has joined #angularjs
[00:49:36] *** Oceed has quit IRC
[00:49:52] *** bmac has quit IRC
[00:49:55] *** SargoDarya has joined #angularjs
[00:49:57] <jaawerth> I even like their dev tools now
[00:50:02] <caitp> i don't think those comments are very good
[00:50:15] <jaawerth> no chrome, but..
[00:50:16] <caitp> honestly they just encourage people to keep supporting ancient versions of browsers and making web development suck as a platform
[00:50:28] *** ejb has quit IRC
[00:50:39] *** encryptd_fractl has joined #angularjs
[00:50:45] *** whunt has quit IRC
[00:50:49] *** RedOrangeZ2 has joined #angularjs
[00:50:49] <jaawerth> hm, I guess you have a point
[00:51:32] *** BillCriswell has quit IRC
[00:51:35] <jaawerth> it also kind of enables the IE devs to continue making their browser the black sheep of the family because it gives them a little "out" for devs to do workarounds, when they should just follow the standards.
[00:51:59] *** Reskp has quit IRC
[00:52:13] *** pfaal has quit IRC
[00:52:20] <jaawerth> I feel like all these IE issues are a relic of the days when Windows was the biggest game in town and liked to dictate the standards to keep their audience a captive one, and encourage code to cater to their platforms
[00:52:40] <jaawerth> (I'm looking at you, binary document formats)
[00:53:01] *** RedOrangeZ has quit IRC
[00:53:53] *** Reskp has joined #angularjs
[00:54:35] *** Mccxiv has quit IRC
[00:54:50] *** tschundeee has quit IRC
[00:54:53] *** Mccxiv has joined #angularjs
[00:55:49] *** Menorah has quit IRC
[00:56:09] *** az7ar_away has joined #angularjs
[00:56:31] *** leolrrj has quit IRC
[00:57:04] *** EQp has quit IRC
[00:57:35] *** disusered has quit IRC
[00:58:26] *** mven has quit IRC
[00:58:35] *** Reskp has quit IRC
[00:59:03] *** lemur has joined #angularjs
[00:59:07] *** Menorah has joined #angularjs
[00:59:36] *** asher^ has joined #angularjs
[01:00:17] *** Shrooms has joined #angularjs
[01:00:58] <wafflej0ck> yeah glad they switched to docx and whatnot though... it's not the prettiest/easiest format to work with but far better than meddling with the binary formats
[01:01:03] *** torartc has joined #angularjs
[01:01:10] *** nerdfiles has quit IRC
[01:01:14] *** mven has joined #angularjs
[01:01:17] *** hippichslave has joined #angularjs
[01:02:02] <hippich> does @hippichslave knows anything about angular?
[01:02:32] <wafflej0ck> riddle?
[01:03:29] *** jaredwilli has joined #angularjs
[01:04:23] *** SargoDarya has quit IRC
[01:08:10] *** jaredwilli has quit IRC
[01:10:09] *** tristanp has joined #angularjs
[01:12:00] *** nerdfiles has joined #angularjs
[01:13:08] *** tristanp has quit IRC
[01:13:22] *** bvbrandon has joined #angularjs
[01:13:29] <bvbrandon> hey guys
[01:15:38] *** cotko has joined #angularjs
[01:21:23] *** alpha080 has quit IRC
[01:21:23] *** elrabin has joined #angularjs
[01:21:35] *** caitp has quit IRC
[01:21:44] *** MuffinMan` has quit IRC
[01:21:56] *** m3l720 has joined #angularjs
[01:21:58] <wafflej0ck> hey bvbrando pretty quiet in here... typical for weekends though
[01:23:17] *** disorder20 has quit IRC
[01:23:47] *** DLSteve has quit IRC
[01:25:36] *** bmac has joined #angularjs
[01:25:56] <bvbrandon> sorry, I was trying to put my file up on plnkr but it doesnt work for some reason
[01:26:10] <bvbrandon> www.brandonlawrence.me is the live version though, very simple
[01:26:24] *** elrabin has quit IRC
[01:26:28] <bvbrandon> I am trying to build my first angular app and I think I have structured it poorly
[01:26:41] <bvbrandon> @wafflej0ck
[01:27:09] *** elrabin has joined #angularjs
[01:27:21] <bvbrandon> I am able to show info from 1 api, a weather api, but the intent is to use the same zipcode to send to a movie api for showtimes. would I just build another factory?
[01:27:56] <bvbrandon> I feel like I did not build this in a way that lends itself to another api call...
[01:28:21] <wafflej0ck> bvbrandon, heh I made this component too http://shusain.github.io/angular-sh-weather/
[01:28:27] *** ries has quit IRC
[01:29:06] *** rickhanlonii has quit IRC
[01:29:23] <wafflej0ck> bvbrandon, typically I have a factory for interacting with each "endpoint" where an "endpoint" corresponds to a "resource" type... like say you're doing CRUD (create read update delete) on books I would have a Book factory, but yeah in general would have different services/factories for different "things"
[01:29:50] <bvbrandon> so how would I pass the same zipcode to each factory?
[01:30:00] <bvbrandon> lol awesome, I like your page
[01:30:43] <bvbrandon> 2 seperate factories utilizing 1 service?
[01:30:46] <wafflej0ck> you could have a .value setup on your module to share some configuration between the services and inject that into each of the services.... you could also make it so the services are defined as providers so they can be configured before they're used to setup the zipcode variable... there are really a few ways to handle it
[01:30:54] <wafflej0ck> bvbrandon, what you said can work too
[01:31:37] *** elrabin has quit IRC
[01:31:41] <bvbrandon> so when you think of angular, how would you diferentiate a service and a factory?
[01:31:50] <bvbrandon> I maybe thinking of these incorrectly
[01:31:58] *** WebDevOfDoom has joined #angularjs
[01:32:02] <bvbrandon> like how do you imagine the 2 I guess
[01:32:18] <wafflej0ck> bvbrandon, they are so similar it's hard to draw a clear line but personally make the distinction that I use service for API calls and Factory for making object instances out of returned data if I need to
[01:32:33] <wafflej0ck> bvbrandon, but yeah it's just a matter of service being called with new when it's created whereas factory is just caleld
[01:32:35] <wafflej0ck> called*
[01:32:48] *** ChadStrat has quit IRC
[01:32:52] <wafflej0ck> so how you define them can be a little different but I just use the factory style setup in both cases (don't use this in either)
[01:33:15] <wafflej0ck> cause a JS constructor can return an object just like the function call instead of using this and I don't like using "this" in JS
[01:34:32] <bvbrandon> ok, trying to take it all in lol
[01:34:46] *** evotuned has joined #angularjs
[01:35:11] <wafflej0ck> cool
[01:35:41] <bvbrandon> so with that being said you would have 2 services and 2 factories if you were trying to use information from 2 different APIs and you would inject the zip as a .value into each service correct?
[01:36:17] *** tschundeee has joined #angularjs
[01:36:24] *** grumpyOldRussian has quit IRC
[01:36:44] <bvbrandon> in other words I would take in the zip as a .value which is then inected to a service for each api, then have a factory give me the info I need to render on the page
[01:36:52] *** aliocha has joined #angularjs
[01:37:03] <wafflej0ck> I actually don't always make the factories, so I would have 2 services, I only make the factory if I need to transform the result object (like say it has invoice line items and I want the total computed, or other calculations done client side)
[01:37:10] *** Shai_Tan has joined #angularjs
[01:37:14] <wafflej0ck> the rest sounds right though
[01:37:21] *** elrabin has joined #angularjs
[01:37:49] <wafflej0ck> I actually have a module/service now for dealing with storing values and requesting values between modules that are defined in different projects that is more complicated than what you need here though
[01:38:31] *** k-dawg has joined #angularjs
[01:38:47] <bvbrandon> hmm, ok. I need to read a lot more lol. I understand the concept but I think implementing this will be a different beast lol
[01:38:55] *** Caroga is now known as Caroga_afk
[01:39:32] <wafflej0ck> bvbrandon, yeah good to read but also good to just hammer at it and see what happens, don't want to spend all your time with theory and not see where the rubber hits the road so to speak
[01:39:33] *** evotuned has quit IRC
[01:40:10] *** encryptd_fractl has quit IRC
[01:40:10] <bvbrandon> yea you are certainly right. I have ~14 tabs open on this topic. I will just need to go at it I guess
[01:40:45] *** Shai-Tan has quit IRC
[01:41:18] <wafflej0ck> bvbrandon, there are some some good podcasts (Javascript Jabber, Adventures in Angular) and the AngularJS Best Practices video from Misko lends a good amount of insight for beginners, easier to digest than a ton of text too (at least for me), reading and the docs are great for reference but hard to initial get concepts from the text alone
[01:41:42] *** TeddyMurray has quit IRC
[01:42:09] <wafflej0ck> bvbrandon, if you haven't checked it out yet watch this, https://www.youtube.com/watch?v=ZhfUv0spHCY first 20min or so you can probably jump through some discussion on requireJS that isn't really super relevant but after that the rest of the video is full of gems
[01:43:42] <bvbrandon> lol I actually just found that video, I will watch this one now and get back to this app, thanks a ton for the help!
[01:44:17] <wafflej0ck> sure thing, np
[01:45:22] *** themime has joined #angularjs
[01:45:44] *** bvbrandon has quit IRC
[01:46:02] *** marr has quit IRC
[01:46:11] *** dsdeiz has joined #angularjs
[01:46:21] *** elrabin has quit IRC
[01:47:03] *** elrabin has joined #angularjs
[01:47:23] *** Lzrbeak has joined #angularjs
[01:47:59] *** m3l720 has quit IRC
[01:48:26] *** bejames has joined #angularjs
[01:49:27] *** Laserbeak has quit IRC
[01:50:39] *** sshaginyan has joined #angularjs
[01:51:02] *** asheshambasta has quit IRC
[01:51:17] *** elrabin has quit IRC
[01:51:27] <themime> im using controller As and have children - im used to using "vm" as my controller object but im having some issues with variables and was wondering if anyone knew what happened (ui-router controllerAs on state via stateprovider, all "vm" - does it overwrite?
[01:51:32] *** mary5030 has joined #angularjs
[01:52:07] *** Foxandxss has quit IRC
[01:52:41] *** mary5030_ has joined #angularjs
[01:53:08] *** danecando has quit IRC
[01:54:51] *** Reskp has joined #angularjs
[01:54:55] *** torartc has quit IRC
[01:55:08] *** torartc has joined #angularjs
[01:55:42] *** tristanp has joined #angularjs
[01:56:05] *** mary5030 has quit IRC
[01:56:29] *** elrabin has joined #angularjs
[01:58:52] *** b1rkh0ff has quit IRC
[01:58:59] *** Reskp has quit IRC
[02:00:31] *** elrabin has quit IRC
[02:01:16] *** mary5030_ has quit IRC
[02:01:33] *** TeddyMurray has joined #angularjs
[02:01:49] *** SargoDarya has joined #angularjs
[02:01:49] *** mary5030 has joined #angularjs
[02:01:55] <jaawerth> well, scope inheritance uses prototypical inheritance
[02:02:12] <jaawerth> which means it will first check the current object for 'vm' and if it doesn't find it, it will look further up the scope chain
[02:02:47] *** elrabin has joined #angularjs
[02:02:51] <jaawerth> so it's... like overwriting, only you can still access the other stuff by imperatively accessing $scope.$parent - which is not ideal
[02:02:53] *** tschundeee has quit IRC
[02:03:05] *** shpoont has quit IRC
[02:03:38] <jaawerth> that's why I'm not a huge fan of the 'vm' trend with controllerAs unless you 1) only do it at a top level of an inheritance chain or when you want cut off the current chain and start a new one, or 2) in isolate scopes
[02:03:47] *** shpoont has joined #angularjs
[02:04:05] *** jaredwilli has joined #angularjs
[02:04:17] <jaawerth> I typically name the controllerAs a shortened alias like 'mainctl'
[02:05:26] *** Lzrbeak has quit IRC
[02:06:03] *** mary5030 has quit IRC
[02:06:22] *** Laserbeak has joined #angularjs
[02:07:10] <soee> wafflej0ck: this are the last few lines from error report in console when trygin to use apiProvider i mentioned before http://pastebin.com/Ds3KZyfY
[02:07:20] <jaawerth> themime ^^ (didn't realize I was answering you 10 minutes later)
[02:07:46] *** edrocks has joined #angularjs
[02:08:19] <themime> hm thanks!
[02:08:56] *** jaredwilli has quit IRC
[02:09:40] *** SargoDarya has quit IRC
[02:09:57] <wafflej0ck> soee, is that actually referencing the correct line in the error, I mean did you change anything from this https://gist.github.com/jelbourn/6276338#file-api-provider-js-L242 or is it a direct copy paste?
[02:10:23] <soee> wafflej0ck: i just changed namespace from app to api
[02:10:33] <soee> than
[02:10:46] *** k-dawg has quit IRC
[02:11:42] <soee> i created angular module api.core that is api module
[02:11:51] <soee> than in config of it i did http://pastebin.com/u4AKFsb5
[02:12:09] <soee> and than set this apiCore moduel as dependecy in main main app module
[02:12:47] *** dsdeiz has quit IRC
[02:12:56] *** jonathanpglick has quit IRC
[02:13:14] <wafflej0ck> soee, can you paste your current version of the file with the api.ApiProvider definition so I can see what's happening at lines 241 and 242 in your current code?
[02:13:46] *** dsdeiz has joined #angularjs
[02:14:00] *** Falconor has joined #angularjs
[02:14:05] *** danecando has joined #angularjs
[02:14:20] <soee> wafflej0ck: http://pastebin.com/AiRXCHgw
[02:15:59] <wafflej0ck> soee, ah okay.. are you using the setBaseRoute and other api config stuff somewhere?
[02:16:17] <wafflej0ck> soee, https://gist.github.com/jelbourn/6276338#file-api-provider-js-L269 <-- this part
[02:16:35] *** meconi has quit IRC
[02:16:39] *** edrocks has quit IRC
[02:16:59] *** edrocks has joined #angularjs
[02:17:00] <soee> wafflej0ck: yes in my main module called app
[02:17:13] <wafflej0ck> hrm
[02:17:31] <soee> wafflej0ck: http://pastebin.com/dXGhC0c4
[02:18:08] <wafflej0ck> soee, wait where do you have api = {}
[02:18:13] <wafflej0ck> soee, don't see it in here?
[02:18:44] <wafflej0ck> https://gist.github.com/jelbourn/6276338#file-api-provider-js-L7 <-- equivalent of that
[02:18:50] <soee> wafflej0ck: in separate fiel where i define my main module ;) i like to have it all separated
[02:19:00] *** ChadStrat has joined #angularjs
[02:19:07] *** RedOrangeZ2 has quit IRC
[02:19:28] <wafflej0ck> hmm yeah wonder if something isn't happening in order cause of that though, try keeping it in one file to make sure it works first then pull things out piece by piece and test is probably an easier route
[02:19:30] *** comish has joined #angularjs
[02:19:31] <soee> *api modile
[02:19:34] *** comish has quit IRC
[02:20:07] <soee> wafflej0ck: http://pastebin.com/ifkqfud3
[02:20:30] <soee> so i have 3 file shere: 1 for module definitiion, 2 for module config, 3 for provider
[02:20:39] *** sbellina has quit IRC
[02:20:41] <wafflej0ck> hmm
[02:20:41] *** Rejected has quit IRC
[02:20:43] *** shpoont has quit IRC
[02:21:26] *** motionman has joined #angularjs
[02:22:00] *** Iravan_ has joined #angularjs
[02:22:01] <soee> this whole gist example is like 1 year old, i wonder if enything in angular might chnahed that causes this problem
[02:22:10] <wafflej0ck> soee, ah I think I see a problem
[02:22:11] *** banuelos has joined #angularjs
[02:22:28] <wafflej0ck> soee, you decided to use "api" which is also used in the original source https://gist.github.com/jelbourn/6276338#file-api-provider-js-L239
[02:22:58] <wafflej0ck> soee, don't think anything has changed significantly yet when it comes to defining these model parts, it's mostly been optimizations and things around ngmodel and error handling and animation and things like that
[02:23:01] *** Iravan_ has quit IRC
[02:23:20] <soee> ok let me check with this changed
[02:23:34] *** jumpstracks has quit IRC
[02:23:38] <wafflej0ck> unfortunately that error is foreign to me so I'm just playing spot the differences
[02:23:50] *** declanqian has joined #angularjs
[02:24:52] *** chadsey has joined #angularjs
[02:25:13] <soee> wafflej0ck: but you were right as always :) error is gone and i have valid request sent :) thank you once again for your help
[02:25:27] <wafflej0ck> awesome glad we got it resolved I'm hoping to use this code soon :)
[02:26:38] <soee> i would probably use the original one but im working on a template done by someone else and here app is a variable that holds the main module so it would not work i think
[02:26:48] <soee> i would have to rewrite a lot of ocde
[02:27:10] <wafflej0ck> yeah no harm in tweaking it just good to be sure it works as is first
[02:27:30] *** grumpyOldRussian has joined #angularjs
[02:27:33] *** polson has joined #angularjs
[02:29:25] *** mattblang has quit IRC
[02:29:35] *** rickhanlonii has joined #angularjs
[02:30:02] <themime> jaawerth: ugg i like the vm, i like the consistency and how easy it is to copy/paste code ...but yea not turning out super practical :(
[02:30:14] *** parmantie has joined #angularjs
[02:30:23] <themime> also im not a huge fan of this child/parent thing but i don't want to cache data nor do i want to make this call 3 times
[02:31:06] *** declanqian has quit IRC
[02:31:21] <jaawerth> yeah... scope inheritance is best used sparingly IMO but controllerAs really simplifies it if you pick good aliases
[02:31:21] *** cacts|wtf has quit IRC
[02:31:30] <themime> this should be minor, im so close to finishing my next major revision beta :(
[02:31:31] <wafflej0ck> themime, typically you can save the promise you get back from the initial call to fetch some data check if you have that in the factory and just return it if you already have it otherwise make the call, when the data resolves you can store it in the service too and can just reference the data through the service or if you need to can use the promise to do something after the response was received
[02:31:47] <wafflej0ck> er service whatever
[02:31:55] <jaawerth> yeah, that's what I do for that stuff
[02:32:55] *** sosebee has joined #angularjs
[02:34:16] <themime> wafflej0ck: i cache other places, this is just slightly different and im being lazy is all i guess. i don't save promises though, i save the data and check to see if it exists before making my call to the server, but saving the promise is a cool idea too. i actually remember someone mentioning that before and had forgotten about it
[02:34:16] *** psi__ has joined #angularjs
[02:34:17] *** dsdeiz has quit IRC
[02:34:38] <wafflej0ck> yeah it seems to work a bit easier in most cases, but either way
[02:35:22] *** dsdeiz has joined #angularjs
[02:35:31] *** evotuned has joined #angularjs
[02:35:36] *** kozatek has joined #angularjs
[02:36:06] *** rav_ has joined #angularjs
[02:36:36] *** eago_ has joined #angularjs
[02:37:49] *** D9 has joined #angularjs
[02:38:12] *** psi_ has quit IRC
[02:38:17] *** tina has joined #angularjs
[02:38:20] *** rikko has joined #angularjs
[02:39:01] *** rickhanlonii has quit IRC
[02:39:36] *** freeAir has joined #angularjs
[02:39:52] <Fifty5Plus> i look at presentations like this and i can not help but to think that there is whole lot wrong either with angularjs or with people who use it and who cry how hard it was to learn how to use it ... https://www.youtube.com/watch?v=62RvRQuMVyg
[02:40:01] *** AlSquire has quit IRC
[02:40:01] *** evotuned has quit IRC
[02:40:15] *** elrabin has quit IRC
[02:40:52] *** elrabin has joined #angularjs
[02:40:58] *** Shilon has joined #angularjs
[02:40:58] *** vien has joined #angularjs
[02:42:09] <Fifty5Plus> i look at presentations like this and i can not help but to think that there is whole lot wrong either with angularjs or with people who use it and who cry how hard it was to learn how to use it ... if angularjs is state of art then just imagine the sad state in which everything else is ... https://www.youtube.com/watch?v=62RvRQuMVyg
[02:43:13] *** Johnny13371337 has quit IRC
[02:43:37] *** evilaliv3 has quit IRC
[02:44:02] *** berkman has joined #angularjs
[02:45:22] *** JR___ has joined #angularjs
[02:45:52] <wafflej0ck> Fifty5Plus, it's state of the art for the web which is a mangled mess of browsers and servers made by different people over a generation, it's not the state of the art in self driving cars or the state of the art in AI, the web is a messy place to work
[02:45:55] *** evanjs has joined #angularjs
[02:46:59] *** joelhooks has joined #angularjs
[02:47:06] *** oberhaus has joined #angularjs
[02:48:30] *** bmac has quit IRC
[02:49:45] *** elrabin has quit IRC
[02:49:47] *** renfrow has joined #angularjs
[02:50:04] <Fifty5Plus> wafflej0ck i am glad that you replied because what i am thinking is that the whole approach to web development should be along the lines of your "debug panel" and not along the lines of what those people in that video are saying that they have tried and failed at
[02:50:05] *** renfrow has quit IRC
[02:50:06] *** dsdeiz has quit IRC
[02:50:18] *** evanjs has quit IRC
[02:50:47] *** dsdeiz has joined #angularjs
[02:50:51] *** ejb has joined #angularjs
[02:50:52] *** joelhooks has quit IRC
[02:50:52] *** elrabin has joined #angularjs
[02:51:07] *** nerdfiles has quit IRC
[02:51:33] *** TheAceOfHearts has joined #angularjs
[02:51:34] *** joelhooks has joined #angularjs
[02:52:51] *** levoy has joined #angularjs
[02:52:52] *** Aliks has joined #angularjs
[02:52:53] *** levoy has quit IRC
[02:53:00] *** react-- has joined #angularjs
[02:53:04] *** jhooks has joined #angularjs
[02:53:09] *** WebDevOfDoom has quit IRC
[02:53:23] *** jhooks has joined #angularjs
[02:54:22] *** bvbrandon has joined #angularjs
[02:54:27] *** Grapes has quit IRC
[02:54:29] <bvbrandon> hey guys
[02:54:47] *** ChadStrat has quit IRC
[02:55:09] <react--> no p here?
[02:55:19] <bvbrandon> who is p?
[02:55:32] *** lickey has joined #angularjs
[02:55:37] *** Reskp has joined #angularjs
[02:55:53] <react--> ~ how to build a chat room like this
[02:55:59] *** maikowblue has quit IRC
[02:56:07] *** whitebook has joined #angularjs
[02:56:27] <bvbrandon> is there anyone here that can look at a code issue I am having? Im a beginner so I would imagine it is really simple
[02:56:30] *** edrocks has quit IRC
[02:57:22] *** {DV8} has joined #angularjs
[02:57:30] *** tristanp has quit IRC
[02:57:47] <jhooks> @bvbrandon will it work in a jsbin?
[02:58:09] *** sshaginyan has quit IRC
[02:58:13] *** rabassa has joined #angularjs
[02:58:13] <bvbrandon> I think, let me set it up
[02:58:17] *** rabassa has quit IRC
[02:58:43] *** react-- has left #angularjs
[02:58:44] *** bbankes has joined #angularjs
[02:59:30] *** asher^ has quit IRC
[02:59:37] <bvbrandon> jhooks let me put it in plnkr, it doesnt look like jsbin works with angular
[02:59:42] *** whunt has joined #angularjs
[02:59:43] *** tristanp has joined #angularjs
[02:59:49] <jhooks> it does, but that is fine too :>
[03:00:09] <bvbrandon> lol I just saw the dropdown, ill use jsbin
[03:00:35] *** elrabin has quit IRC
[03:00:52] *** Reskp has quit IRC
[03:01:31] *** lemur has quit IRC
[03:02:14] *** lemur has joined #angularjs
[03:02:26] <bvbrandon> http://jsbin.com/layuratoxi/1/edit?html,js,output
[03:02:48] <bvbrandon> it doesnt work in jsbin but I would imagine you know how to make it work?
[03:03:02] <bvbrandon> like I can take the code and make it work live, but not in jsbin lol
[03:03:05] *** aminRX has joined #angularjs
[03:03:10] *** HassanCehef has quit IRC
[03:03:42] <vonnegut> hey guys, to prevent submission without passing form validation, i am using this:
[03:03:50] <vonnegut> if($scope.formData.$invalid) { ... }
[03:04:00] <vonnegut> but its being ignored..
[03:04:04] *** matheusrocha89 has joined #angularjs
[03:04:17] <vonnegut> is this the wrong property to watch?
[03:04:32] *** jaredwilli has joined #angularjs
[03:04:40] <jhooks> @bvbrandon https://jsbin.com/jehule/1/edit?html,js,output
[03:04:52] <jaawerth> $scope.yourFormName.$invalid
[03:05:05] <vonnegut> mmm.. yep.. lemme try that
[03:05:06] <jhooks> @bvbrandon it needed angular to be imported in the html
[03:05:08] *** caitp has joined #angularjs
[03:05:37] <jaawerth> or $scope[formName].$invalid, if you need to check it a bunch/for multiple forms
[03:05:41] <jaawerth> (you could put that in a function)
[03:05:53] *** wallgren has joined #angularjs
[03:06:22] *** SargoDarya has joined #angularjs
[03:06:27] *** lemur has quit IRC
[03:06:31] <vonnegut> ive got the logic in the controller.. trying myFormName in place of formData scope
[03:06:42] <vonnegut> if that doesnt work, ill pastie
[03:06:46] <bvbrandon> oh yes, I just did that. So my issue is I would like to use the same zipcode for my movie factory, what would be the best way to do that?
[03:06:52] *** grumpyOldRussian has quit IRC
[03:07:05] <bvbrandon> @jhooks oh yes, I just did that. So my issue is I would like to use the same zipcode for my movie factory, what would be the best way to do that?
[03:07:54] <bvbrandon> @jhooks the weather factory works greate, the second I try to use the movie factory the whole thing breaks. I'm not sure how best to do it
[03:08:21] *** edrocks has joined #angularjs
[03:08:29] *** tristanp has quit IRC
[03:08:34] *** machan has joined #angularjs
[03:09:05] *** jaredwilli has quit IRC
[03:09:57] *** frabblerock has joined #angularjs
[03:09:59] <bvbrandon> @jhooks the movie factory should use the same zipcode to pull in local showings....
[03:10:01] <jhooks> @bvbrandon the movieCtrl isn't availabe
[03:10:17] <bvbrandon> I know, when I try to load it the whole thing breaks
[03:10:48] <jhooks> @bvbrandon what about a unified "searchAreaCtrl"?
[03:11:09] <bvbrandon> and have both factories reference it?
[03:11:26] <vonnegut> hmm.. 6angular.js:11594 TypeError: Cannot read property '$invalid' of undefined
[03:11:38] *** meuse has joined #angularjs
[03:11:58] *** seriema has quit IRC
[03:12:02] <jhooks> @bvbrandon https://jsbin.com/jehule/1 if you want to watch real quick
[03:12:04] *** meuse has quit IRC
[03:12:24] *** seriema has joined #angularjs
[03:12:41] *** nerdfiles has joined #angularjs
[03:12:44] *** tristanp has joined #angularjs
[03:13:03] *** metasansana has joined #angularjs
[03:13:03] *** metasansana has joined #angularjs
[03:13:15] *** tristanp has quit IRC
[03:13:20] *** ejb has quit IRC
[03:13:37] <bvbrandon> @jhooks are you working in that link? I cant see anything being changed
[03:14:02] <jhooks> https://jsbin.com/jehule/3
[03:14:02] *** az7ar_away has quit IRC
[03:14:16] <vonnegut> jaawerth, ok, i got it working.. thanks man.
[03:14:22] <jaawerth> vonnegut: sure thing
[03:14:42] *** hourani has joined #angularjs
[03:14:49] <jhooks> @bvbrandon, it keeps incrementing it, I don't know how to make it broadcast, just a minute :>
[03:14:55] *** hourani has quit IRC
[03:15:25] *** TheAceOfHearts has quit IRC
[03:16:13] <vonnegut> sweet! my form works end to end.. :) (just sharing my joy)
[03:16:17] <vonnegut> (dont mind me)
[03:16:29] *** bayousoft has quit IRC
[03:16:46] *** seriema has quit IRC
[03:17:00] <metasansana> Which path allows for better reusability: entire forms wrapped as directives or individual fields?
[03:17:18] *** TheAceOfHearts has joined #angularjs
[03:17:34] *** D9 has quit IRC
[03:17:46] *** nguy has joined #angularjs
[03:20:22] *** elrabin has joined #angularjs
[03:20:28] *** codeman has joined #angularjs
[03:20:50] *** currie has joined #angularjs
[03:20:59] <wafflej0ck> metasansana, depends on if you need to re-use the form fields themselves or the entire form, can be a combination too
[03:21:23] <metasansana> wafflej0ck, I need to reuse the fields together
[03:21:26] <wafflej0ck> metasansana, you can have directives for different form element types then have directives that make use of those to build full forms
[03:21:42] *** bmac has joined #angularjs
[03:21:46] <wafflej0ck> it just depends on how much re-use you need, but ideal to just avoid repeating yourself as much as possible in the code
[03:22:08] *** aminRX has quit IRC
[03:22:43] <metasansana> Its a form that is used by itself and as part of another form in other areas
[03:22:52] *** whunt has quit IRC
[03:23:16] <metasansana> wafflej0ck, last time I tried this I ran into trouble detecting if the nested form was valid
[03:23:23] *** cacts|wtf has joined #angularjs
[03:23:33] <wafflej0ck> metasansana, if you use ng-form you should be able to combine them without issue
[03:23:50] <wafflej0ck> metasansana, the only downside with ng-form is the lack of a working action attribute but rarely really need that anyhow
[03:23:53] *** caitp has quit IRC
[03:24:15] *** yoyoyoyo has joined #angularjs
[03:24:26] <metasansana> wafflej0ck, do i have to declare ng-form on the nested form as well?
[03:25:21] *** yoyoyoyo has quit IRC
[03:25:22] <wafflej0ck> instead of using form you would be using ng-form the regular form tag doesn't allow nesting
[03:25:42] *** elrabin has quit IRC
[03:25:58] <wafflej0ck> the outermost form could use the regular form tag but again if you don't actually need the action on the form then I don't think there's any benefit
[03:26:50] <bvbrandon> @jhooks are you still working?
[03:27:36] *** SargoDarya has quit IRC
[03:28:13] <jhooks> @bvbrandon there are several errors
[03:28:31] <jhooks> the movieService return object referenced weather
[03:28:47] <wafflej0ck> Fifty5Plus, don't think I watched that vid yet but will let it play through in a bit here just listening to some year end podcasts right now
[03:28:52] <metasansana> wafflej0ck, ok I get it, the documentation on ng-form is pretty sparse though
[03:29:57] <wafflej0ck> metasansana, yeah if the docs are limited I tend to check out the source itself, looks like ng-form isn't really all that complex so can probably debug any issues you run into https://github.com/angular/angular.js/blob/master/src/ng/directive/form.js#L448
[03:30:23] <bvbrandon> @jhooks yes I saw that, my fault, I copied the weatherService and didnt change that part
[03:30:29] <metasansana> thanks, wafflej0ck
[03:30:57] *** elrabin has joined #angularjs
[03:31:01] *** caitp has joined #angularjs
[03:31:06] *** fairuz has joined #angularjs
[03:31:30] *** rikko has quit IRC
[03:31:48] *** loverajoel has joined #angularjs
[03:31:52] *** dsdeiz has quit IRC
[03:31:55] *** loverajoel has quit IRC
[03:32:00] <jhooks> @bvbrandon https://jsbin.com/jehule/12/watch?html,js,console,output
[03:32:15] <jhooks> @bvbrandon the fandango api won't function
[03:32:20] *** cthrax has quit IRC
[03:32:25] <jhooks> but this might give you some ideas
[03:33:37] *** edrocks has quit IRC
[03:34:13] *** eago_ has quit IRC
[03:36:07] <Fifty5Plus> letters "NT" being initials of a well named project would be good for my custom prefix ... so is that too close to "ng-" or is there even remote chance of angularjs spreading out into other "n*-" prefixes?
[03:36:21] *** evotuned has joined #angularjs
[03:37:37] *** jhooks has quit IRC
[03:38:48] *** nemothekid has joined #angularjs
[03:39:23] *** nemothekid has joined #angularjs
[03:40:19] *** eago_ has joined #angularjs
[03:41:21] *** lemur has joined #angularjs
[03:41:23] *** evotuned has quit IRC
[03:41:53] *** lemur has joined #angularjs
[03:42:01] *** disgrntld has joined #angularjs
[03:42:21] *** Zebra111 has quit IRC
[03:43:18] *** aminRX has joined #angularjs
[03:43:43] *** Zebra111 has joined #angularjs
[03:44:13] *** codeman has quit IRC
[03:44:15] *** whitebook has quit IRC
[03:44:18] *** tomh- has quit IRC
[03:44:35] *** mrwn has quit IRC
[03:44:40] *** mven has quit IRC
[03:44:44] *** kakashiA1 has joined #angularjs
[03:45:21] *** elrabin has quit IRC
[03:46:01] *** elrabin has joined #angularjs
[03:46:17] *** lemur has quit IRC
[03:46:19] *** rikko has joined #angularjs
[03:47:08] *** caitp has quit IRC
[03:47:19] *** freeAir has quit IRC
[03:47:39] *** instence has quit IRC
[03:47:44] *** kakashiAL has quit IRC
[03:48:32] *** bejames1 has joined #angularjs
[03:49:35] <Weezey> I'm using php to generate my HTML and I'm trying to pass a hidden field to my angular but when I assign it ng-model="formData.url" it is being omitted from the post. I'm reading that angular ignores hidden fields. What's the most elegant way to hand that data from PHP to HTML to Angular back to PHP to process?
[03:49:35] *** ctanga has joined #angularjs
[03:49:56] *** bejames has quit IRC
[03:50:16] *** elrabin has quit IRC
[03:51:01] *** mary5030 has joined #angularjs
[03:51:29] *** elrabin has joined #angularjs
[03:53:28] *** mven has joined #angularjs
[03:54:22] *** uris77 has joined #angularjs
[03:54:28] *** adamsilver has quit IRC
[03:54:28] <jaawerth> uh, mixing server side templating with client side templating is something I usually avoid. It can lead to debugging nightmares
[03:54:43] *** aminRX has quit IRC
[03:54:44] <jaawerth> I usually pass all data with API calls or websockets
[03:54:53] *** doginal has joined #angularjs
[03:55:20] <jaawerth> one thing you can do that would reduce the risk is use a PHP template for some sort of "initService"
[03:55:54] <Weezey> so I'm serving a login form and using angular to submit it
[03:55:54] *** doginal has quit IRC
[03:55:56] <jaawerth> you could use PHP to then insert all the data you need into that initService when your app first downloads, and access all the data through the service on angular - that way it saves you the extra API request
[03:56:29] *** Reskp has joined #angularjs
[03:56:47] <Weezey> the login form has a hidden field which is the url where it should send the user when it's sucessfully logged in
[03:57:08] *** nickgs has joined #angularjs
[03:57:20] <jaawerth> so you'd pass that URL to your POST request using whatever service ($http.post, or a service that wraps it, for example)
[03:57:41] <Weezey> how can I get at it's value in angular? jQuery would be $("#blah").val()
[03:57:45] <themime> wwwtf 10 digests
[03:57:50] <jaawerth> $http.post(formData.url, yourData)
[03:57:55] *** mani_ has joined #angularjs
[03:58:09] <jaawerth> or are you saying formData.url is undefined?
[03:58:15] <themime> why is it when youre at the final stretch all the brand new bugs come out :(
[03:58:21] <s3shs> Weezey, hidden fields can be changed by users. Be sure that's ok with your security model.
[03:58:44] <Weezey> s3shs: yep it's just a redirect after authentication
[03:58:48] <jaawerth> well, anything in JS can also be changed by users, but yeah
[03:58:50] <mani_> HI i neeed some help for resetting the setvalidation in Angulat js
[03:59:04] <s3shs> "If it's in the browser, it's not secure"
[03:59:31] *** boxmein has quit IRC
[03:59:40] *** mani_ has quit IRC
[03:59:43] <Weezey> jaawerth: okay so formData.url, how do I define it as that?
[04:00:00] <jaawerth> well I don't even understand why you're using a hidden field
[04:00:00] <wafflej0ck> Fifty5Plus, think it's fine, lots of others have already stomped all over the ng "namespace" anyhow, might be easier to notice something different but I don't think they're going to bleed out into other n* names (ng for a*ng*ular, so would be weird to do anything else)
[04:00:53] *** Reskp has quit IRC
[04:01:04] *** bbankes has quit IRC
[04:01:11] <jaawerth> personally I just use my initials instead of ng
[04:01:33] <jaawerth> I'm increasingly tempted to use $ though
[04:01:47] <jaawerth> it's the only special character you can use in an identifier other than _!
[04:02:07] *** caitp has joined #angularjs
[04:02:11] *** cthrax has joined #angularjs
[04:02:19] *** ProLoser has quit IRC
[04:03:42] <Weezey> jaawerth: basically it's just in an <input type="hidden"> because that's how we did things in the old world.
[04:04:07] *** Oddman has quit IRC
[04:05:09] *** Fishy has joined #angularjs
[04:05:11] *** jaredwilli has joined #angularjs
[04:05:11] *** elrabin has quit IRC
[04:05:29] <Weezey> I'm open to suggestions for the most elegant way to take an html value and pick it out and use it without showing it to the user.
[04:05:29] <jaawerth> well, that and @, but @ still makes me think "array" because of my perl days
[04:05:55] <jaawerth> Weezey: hmm.. is the URL changing dynamically, so you can't hardcode it?
[04:06:06] *** elrabin has joined #angularjs
[04:06:26] <Weezey> it's different for every user's request, yeah.
[04:06:41] <Weezey> but it won't change once that page has loaded
[04:06:47] <jaawerth> but not in a way you can generate client-side?
[04:06:53] <Weezey> correct
[04:07:22] *** Sadin_ has joined #angularjs
[04:07:30] *** freelyfred has joined #angularjs
[04:07:31] <Weezey> I could make PHP output JS with it, but bleh.
[04:07:39] <jaawerth> ah. well presumably you're going to want to cache as many static resource as you can, so what I'd do is use php to generate a javascript file that contains any initial dynamic stuff like that
[04:08:10] <Weezey> then import another file every time a user is logging in?
[04:08:45] *** TheAceOfHearts has quit IRC
[04:09:14] <Weezey> that doesn't sound as simple as reading a value in the page.
[04:09:34] *** Sadin has quit IRC
[04:09:35] <jaawerth> like, the file could literally just be angular.module('yourModule').value('loginUrl', '<?php loginUrl ?>');
[04:09:37] *** fedenunez has quit IRC
[04:09:45] *** jaredwil_ has joined #angularjs
[04:09:45] *** nemothekid has quit IRC
[04:09:48] *** rileylark has quit IRC
[04:09:49] <jaawerth> and whatever PHP code you need to set loginUrl each time
[04:09:52] *** jaredwilli has quit IRC
[04:10:55] *** Hackwar has joined #angularjs
[04:11:03] <jaawerth> well I mean... you could just put the above in a <script> tag on your index.html or something.. the main thing is, then you can just inject that value into your login controller/service and use it
[04:11:33] *** rileylark has joined #angularjs
[04:11:40] *** aminRX has joined #angularjs
[04:11:43] <bvbrandon> http://jsbin.com/larayeqamo/1/edit?js,console,output
[04:11:45] *** matheusrocha89 has quit IRC
[04:11:59] *** sakustar has quit IRC
[04:12:01] *** kapil__ has joined #angularjs
[04:12:04] *** cornerma1 has joined #angularjs
[04:12:14] *** Hackwar1 has quit IRC
[04:12:18] <bvbrandon> I am getting a TON of errors when I change my api url, I believe it is because the data is jsonp, what can I do to fix it?
[04:12:58] <jaawerth> if you really don't want to do it that way, I guess you could hardcode it in somewhere - you could for example add ng-init="loginUrl='<? url ?>'" somewhere in the loginController's scope. But that could get irritating to work with later if you wanted to concat and pre-include all your template partials, plus it makes unit testing harder
[04:13:35] *** tristanp has joined #angularjs
[04:13:39] <jaawerth> but what I like to do is have a server-templated file that handles all initial data I want to give my app upon its initial bootstrap, it saves the extra HTTP request
[04:13:40] *** MetaCosm_ has quit IRC
[04:14:07] <jaawerth> and that way I'm keeping the stuff that mixes server- and client-side templating to a minimu
[04:14:09] <jaawerth> minimum
[04:14:17] *** matheusrocha89 has joined #angularjs
[04:15:23] *** elrabin has quit IRC
[04:15:47] *** cornerman has quit IRC
[04:15:59] *** cornerma1 is now known as cornerman
[04:16:04] *** elrabin has joined #angularjs
[04:16:17] *** BobbieBarker has joined #angularjs
[04:16:45] <BobbieBarker> brosephs
[04:16:52] <BobbieBarker> assuming anyone is even here
[04:17:21] <BobbieBarker> does anyone have any pro-tips on dealing with angularfire $watch and making it more robust?
[04:17:28] <BobbieBarker> or how to get better/similar behaviour out of it?
[04:18:19] *** freeman42 has quit IRC
[04:18:39] *** matheusrocha89 has quit IRC
[04:20:03] *** tristanp has quit IRC
[04:20:30] <Weezey> jaawerth: definitely good plan to keep in mind, thanks for your help.
[04:20:36] *** elrabin has quit IRC
[04:21:06] *** aminRX has quit IRC
[04:21:34] *** elrabin has joined #angularjs
[04:21:39] *** Mccxiv has quit IRC
[04:22:00] *** Mccxiv has joined #angularjs
[04:23:06] *** freeAir has joined #angularjs
[04:23:17] *** mary5030 has quit IRC
[04:23:18] *** caitp has quit IRC
[04:24:18] *** matheusrocha89 has joined #angularjs
[04:24:55] *** SargoDarya has joined #angularjs
[04:25:17] *** cotko has quit IRC
[04:26:12] *** eago_ has quit IRC
[04:27:02] *** shakahl has quit IRC
[04:27:43] <Fifty5Plus> wafflej0ck i was thinking about nt- as in aNgular Transclusions ;)
[04:27:59] *** Sadin_ has quit IRC
[04:28:06] *** Lewix has joined #angularjs
[04:28:27] *** sbellina has joined #angularjs
[04:29:36] *** bmac has quit IRC
[04:31:08] *** bayousoft has joined #angularjs
[04:31:42] *** pen has joined #angularjs
[04:33:08] *** greatdex has joined #angularjs
[04:33:15] *** Mccxiv has quit IRC
[04:33:58] *** Mccxiv has joined #angularjs
[04:34:58] *** nickgs has quit IRC
[04:35:13] *** Left_Turn has quit IRC
[04:36:42] *** Evanion has quit IRC
[04:37:07] *** evotuned has joined #angularjs
[04:37:23] *** mitc0185 has quit IRC
[04:37:42] *** Evanion has joined #angularjs
[04:39:08] *** cthrax has quit IRC
[04:39:10] *** mikerrrrrr has joined #angularjs
[04:40:10] *** metasansana has quit IRC
[04:40:19] *** SargoDarya has quit IRC
[04:40:53] *** elrabin has quit IRC
[04:41:33] *** benjamingr has quit IRC
[04:41:42] *** evotuned has quit IRC
[04:42:04] *** cthrax has joined #angularjs
[04:42:10] *** Mccxiv has quit IRC
[04:42:26] *** Mccxiv has joined #angularjs
[04:43:24] *** mkc has quit IRC
[04:43:29] *** aminRX has joined #angularjs
[04:44:23] *** freeAir has quit IRC
[04:45:42] *** elrabin has joined #angularjs
[04:45:53] *** greatdex has quit IRC
[04:46:05] *** mmealling has joined #angularjs
[04:47:57] *** DV8_ has joined #angularjs
[04:48:18] *** larsam has quit IRC
[04:48:36] *** Shilon has quit IRC
[04:49:44] *** threesixes has quit IRC
[04:49:50] *** cakirke has quit IRC
[04:50:07] *** elrabin has quit IRC
[04:50:13] *** aminRX has quit IRC
[04:50:25] *** Fishy has quit IRC
[04:51:15] *** elrabin has joined #angularjs
[04:51:19] *** {DV8} has quit IRC
[04:54:49] *** whitebook has joined #angularjs
[04:55:13] *** rileylark has quit IRC
[04:55:34] *** grumpyOldRussian has joined #angularjs
[04:55:37] *** elrabin has quit IRC
[04:56:44] *** mattblang has joined #angularjs
[04:57:19] *** Reskp has joined #angularjs
[04:58:09] *** charuru has quit IRC
[04:58:13] *** charuru_ has joined #angularjs
[04:58:49] <mattblang> wow, ui-router is amazing
[04:58:56] *** Menorah has quit IRC
[04:59:16] *** whitebook has quit IRC
[04:59:37] *** grumpyOldRussian has quit IRC
[05:01:15] *** elrabin has joined #angularjs
[05:01:17] <jaawerth> yeah, it's the best
[05:01:26] <s3shs> Is it done yet?
[05:01:28] <jaawerth> though I'm looking forward to try out the new Angular router
[05:01:32] *** Reskp has quit IRC
[05:01:38] <s3shs> Ahh. Then no.
[05:01:41] <s3shs> What is it, 8 months now?
[05:02:05] *** caitp has joined #angularjs
[05:02:06] <jaawerth> well ui-router is not the new angular router
[05:02:15] *** Mccxiv has quit IRC
[05:02:17] *** threesixes has joined #angularjs
[05:02:20] <s3shs> Yes. :-)
[05:02:21] *** eago_ has joined #angularjs
[05:02:30] <jaawerth> it's already usable
[05:02:37] <jaawerth> but they aren't releasing it official until 1.4
[05:02:39] *** hippichslave has quit IRC
[05:02:46] <jaawerth> officially*
[05:02:52] *** tSpartak has quit IRC
[05:02:53] *** nahoskins has quit IRC
[05:03:06] *** sakustar has joined #angularjs
[05:03:09] <jaawerth> so things could still change rapidly
[05:04:01] *** Lewix has quit IRC
[05:04:40] <mattblang> jaawerth interesting. I know they did talk about beefing up the router, and mentioned ui-router, on the first ng-air episode.
[05:05:30] *** swist has quit IRC
[05:05:34] <jaawerth> Yeah. One of the awesome things about the Angular team is that they love and support third-party modules (which is why ngRoute and such are no longer part of core) and are totally willing to acknowledge when they make changes that are inspired by third party code
[05:06:37] <jaawerth> that's one of the reasons I like Angular better than Ember. The fact that there are a million ways to do things make increase the learning curve but it also makes it more extensible
[05:07:13] *** caitp has quit IRC
[05:08:04] *** Menorah has joined #angularjs
[05:08:27] *** bmac has joined #angularjs
[05:10:21] *** elrabin has quit IRC
[05:11:16] *** elrabin has joined #angularjs
[05:12:55] *** frabblerock has quit IRC
[05:13:14] *** gladely has quit IRC
[05:15:16] *** nemothekid has joined #angularjs
[05:15:17] *** elrabin has quit IRC
[05:15:19] <vonnegut> what's the angular way to forward to an external site? this --> $location.path('http://www.google.com'); doesnt work.
[05:15:47] *** abram has joined #angularjs
[05:16:17] *** threesixes has quit IRC
[05:16:19] *** elrabin has joined #angularjs
[05:16:42] <BobbieBarker> i think the new angular router is supposed to be out in 1.4??
[05:16:43] <wafflej0ck> vonnegut, you can just change the window.location.href or if you want a new tab use window.open
[05:16:57] <wafflej0ck> vonnegut, you can use $window for the sake of testing headless
[05:17:17] <vonnegut> wafflej0ck - ok will give it a go.. thanks man.
[05:17:32] <BobbieBarker> jaawerth: i thought ui-router was going to be folded into angular core?
[05:17:50] <BobbieBarker> i'm not sure if i'll use the native router.... ui-router works so well and i'm extremely used to it.
[05:18:27] <Tuxity> guys I need an advice, I'm begining a new project an I want to write in coffeescript and use tool like gulp or grunt or idk, which one you recommand me ?
[05:18:35] *** in2rd has quit IRC
[05:18:36] *** dsdeiz has joined #angularjs
[05:18:44] <BobbieBarker> i recommend you don't use coffee script
[05:18:55] <Tuxity> I use a bit grunt before, not use if it's the best
[05:18:58] <Tuxity> ah ? why ?
[05:19:04] <BobbieBarker> because it's fucking stupid
[05:19:09] *** gauravsaini03 has joined #angularjs
[05:19:24] *** JoshGlzBrk has joined #angularjs
[05:19:28] <Tuxity> why ? x)
[05:19:29] <BobbieBarker> http://www.robeesworld.com/blog/68/coffeescript-and-typescript-are-stupid
[05:19:58] <vonnegut> wafflej0ck works fine.. thank you again.
[05:20:21] <vonnegut> wafflej0ck savs the day (once again) :)
[05:20:22] *** torartc has quit IRC
[05:20:37] *** torartc has joined #angularjs
[05:20:37] <BobbieBarker> http://ponyfoo.com/articles/we-dont-want-your-coffee
[05:20:51] *** torartc1 has joined #angularjs
[05:20:55] <Tuxity> ah yeah BobbieBarker
[05:20:57] <wafflej0ck> vonnegut, heh np
[05:20:59] <Tuxity> I see
[05:21:04] <Tuxity> yeah not bad
[05:21:13] <BobbieBarker> it's just an example of hipsters going too far
[05:21:14] <Tuxity> thx
[05:21:18] <BobbieBarker> just learn how to write good java script
[05:21:24] <Tuxity> yeah
[05:21:28] <Tuxity> you're right
[05:21:29] *** pen has quit IRC
[05:21:31] <BobbieBarker> but
[05:21:42] *** Sadin has joined #angularjs
[05:21:44] <BobbieBarker> i would recommend this for starting yoru new project
[05:21:45] <BobbieBarker> https://github.com/Swiip/generator-gulp-angular
[05:21:49] <wafflej0ck> Tuxity, regarding grunt vs gulp you probably just want to go with gulp it's a difference in configuration vs having something that is more procedurally executed
[05:21:49] <BobbieBarker> it's boss
[05:22:12] <BobbieBarker> also based on the yoeman generator i just recommended I'd say it's obvious i recommend gulp as well
[05:22:35] <BobbieBarker> gulp also runs faster so if your project gets big
[05:22:46] <Tuxity> okay
[05:22:49] <BobbieBarker> it matters
[05:22:57] <Tuxity> I'll check that so
[05:22:58] <wafflej0ck> that said grunt has a minor advantage insofar as history goes
[05:23:11] <wafflej0ck> but gulp has caught up almost entirely
[05:23:13] <BobbieBarker> because it has more modules? I don't think that arguement holds much water anymore wafflej0ck
[05:23:29] *** greatdex has joined #angularjs
[05:23:33] <wafflej0ck> eh there are still things I've seen people looking for in gulp that they have in grunt but it's mostly edge case stuff
[05:23:49] <BobbieBarker> i'll agree to that
[05:23:52] <wafflej0ck> I haven't tried writing plugins/tasks for either but I imagine porting between the two can't be too bad
[05:23:57] *** dsdeiz has quit IRC
[05:23:59] <BobbieBarker> it isn't
[05:24:03] <BobbieBarker> it's still node at heart
[05:24:22] <vonnegut> do you guys feel that php is on its way out in place of javascript on the server side?
[05:24:27] <BobbieBarker> no
[05:24:29] <BobbieBarker> unfortunately
[05:25:00] *** torartc has quit IRC
[05:25:01] <BobbieBarker> i think that full stack JS is gaining traction, but you have to keep in mind that tremendous amount of the internet is written in PHP.
[05:25:05] <wafflej0ck> vonnegut, probably not, at least not for a while, Python, PHP, and Java will all probably be around for a while to come
[05:25:05] *** elrabin has quit IRC
[05:25:06] <wafflej0ck> yeah
[05:25:08] <BobbieBarker> i.e wordpress
[05:25:15] <Tuxity> ok thank you guys, I've everything I wanted :)
[05:25:23] <BobbieBarker> happy coding Tuxity
[05:25:58] <vonnegut> yeah.. i think the sheer scale of use of php buffers it from being toppled anytime soon. but node is damn nice and i hope it catches fire.
[05:26:14] *** danecando has quit IRC
[05:26:24] <Tuxity> Yeah, lot of work incoming, gotta fill my kitchen of coffee (not script)
[05:26:28] <Tuxity> :p
[05:26:29] <BobbieBarker> some day when PHP 6 releases it will be slightly better. But i think PHP has been a victim of it's own success and the committee is beholden to backwards compatibility.
[05:26:32] <vonnegut> btw. i personally have the most experience on java. but there is an aweful lot of php out there.
[05:26:36] *** elrabin has joined #angularjs
[05:26:41] *** mylordi has quit IRC
[05:26:42] *** Aliks has quit IRC
[05:26:55] <vonnegut> easy lang to follow if prone to total sphagetti mess
[05:26:58] <wafflej0ck> vonnegut, yeah I do both but interested in node too
[05:26:59] <BobbieBarker> instead of making a lean mean bad ass PHP.
[05:27:10] *** juzemack has quit IRC
[05:27:12] *** jtimon has quit IRC
[05:27:12] <wafflej0ck> vonnegut, er I did Java don't really use it anymore
[05:27:15] <BobbieBarker> i'm actually just front end now
[05:27:31] <vonnegut> yeah.. im slowly becoming the front end guy in my team
[05:27:32] <vonnegut> heh
[05:27:39] *** kp666 has joined #angularjs
[05:27:40] <BobbieBarker> i find i can get work done if i just task out the API's to one of my minions
[05:27:43] <BobbieBarker> and focus on the front end
[05:27:43] <vonnegut> and it seems more and more its being regarded as its own skill set
[05:27:57] <BobbieBarker> it is it's own skill set
[05:28:10] <BobbieBarker> you have the code side of things, then the entire UI/UX thing to consider as well.
[05:28:24] <BobbieBarker> all i let my PHP devs do is write my rest API's
[05:28:27] <vonnegut> i guess thtas fair to say at this own point. im so used to having to think about both, i supose im just a full stack guy.
[05:28:35] <vonnegut> :)
[05:28:40] <vonnegut> (as they seem to call it now)
[05:28:43] <BobbieBarker> i think that is going to be harder and harder to be.
[05:28:46] *** Zren has quit IRC
[05:28:54] <wafflej0ck> eh I dunno it bounces back and forth
[05:28:58] <BobbieBarker> i used to think i was full stack, but when you start throwing front end frameworks into the mix like angular
[05:29:03] <vonnegut> well.. api's are easy
[05:29:09] <BobbieBarker> i think that a clearer division of labor is in order
[05:29:10] <vonnegut> so, i guess if you can do back end
[05:29:13] <wafflej0ck> things like ORM make the backend easier and frameworks make the frontend easier so it's possible
[05:29:14] <vonnegut> then its just keeping up with UX
[05:29:16] <vonnegut> tech
[05:29:24] *** opiates has quit IRC
[05:29:31] <BobbieBarker> I think it's possible, but i'm talking about large projects and team management
[05:29:43] <jaawerth> I prefer SOA to fullstack anyway
[05:29:46] <wafflej0ck> but it is always easier/better when you have dedicated people on specific parts for sure
[05:30:09] <vonnegut> yeah... i mean all apps now are starting to be client-->api even within a single site.. (as all angular people know)
[05:30:18] <vonnegut> so een a single app is a bit SOA
[05:30:25] <vonnegut> *even
[05:30:27] <jaawerth> it makes web dev more like actual dev instead of glorified web design
[05:30:41] *** k-dawg has joined #angularjs
[05:30:44] <jaawerth> you're writing a program that runs in the "virtual machine" that is the web browser
[05:30:48] *** evanjs has joined #angularjs
[05:30:53] <vonnegut> yeah.. i like that too
[05:31:01] <vonnegut> browser side code in angular is so fun
[05:31:01] <BobbieBarker> jaawerth: is correct
[05:31:10] <vonnegut> and powerful and clean
[05:31:13] <jaawerth> granted it also means tons of struggling web devs who are trying to keep up, heh
[05:31:24] *** Evanion has quit IRC
[05:31:44] <BobbieBarker> ya but their is a delineation between people who are writing software for the browser and people who are making "websites"
[05:31:51] <jaawerth> yeah
[05:31:54] <vonnegut> yeah.. i am watching those guys struggle.. which is why, i, an backend guy (with design inclicnations) am starting to take there work
[05:31:55] <vonnegut> heh
[05:31:56] *** TyrfingMjolnir has quit IRC
[05:32:17] <vonnegut> front end is now actually writing software
[05:32:23] <BobbieBarker> yes, yes it is.
[05:32:27] <wafflej0ck> it has been depending on what you were using
[05:32:40] <wafflej0ck> Silverlight and Flex before Angular were doing the same
[05:32:44] *** MetaCosm has joined #angularjs
[05:32:48] <vonnegut> im still learning angular.. but, what i know so far.. LOVE it.
[05:32:50] <jaawerth> yeah but... silverlight
[05:32:54] <wafflej0ck> the plugins just failed in the mobile space and browsers are doing good enough
[05:33:06] <jaawerth> you could say the same thing about applets
[05:33:09] <jaawerth> but... applets
[05:33:14] <BobbieBarker> wafflej0ck: yeah but i think what he's getting at is the old paradigm used to be that the back end served everything and that "front end" people just did a little html/jquery/css and that was it.
[05:33:23] <wafflej0ck> heh true I guess but the GUI stuff for Java was terrible
[05:33:29] <vonnegut> i used to love writing applets. they never quite took off the way sun had hoped
[05:33:30] <vonnegut> heh
[05:33:43] <vonnegut> yeah java UI is still terrible
[05:33:51] <vonnegut> RCP is as good as it gets.. and its not great
[05:33:54] <Fifty5Plus> wafflej0ck do you have a nice bower/gulp/etc setup for dev/test/production build with local vendor files anduglified and concatinated produciton files?
[05:33:56] <Tuxity> ah si, a last question, do you think I should a new framework with bootstrap and angular in it ? like http://ui.lumapps.com/ or http://foundation.zurb.com/apps/
[05:34:06] <jaawerth> even backend code has changed a lot since ~2003
[05:34:07] <Tuxity> I'm not a big fan
[05:34:10] <jaawerth> (or sooner)
[05:34:27] <jaawerth> you go from cgi to actual templating to actual MVCs and things
[05:34:40] <wafflej0ck> Fifty5Plus, using grunt in my own stuff so far but the gulp generator suggested earlier has all that too
[05:34:43] <jaawerth> the MVC paradigm has existed on the desktop since.. what, the Apple IIe?
[05:34:50] <BobbieBarker> Tuxity: you can use bootstrap if you want.. personally i'm all about angular material now.
[05:34:54] <vonnegut> well, servlets have been very REST oriented well before it was called REST
[05:35:08] <Tuxity> Yeah I think that too
[05:35:08] <BobbieBarker> https://material.angularjs.org/#/
[05:35:12] *** cthrax has quit IRC
[05:35:14] <Fifty5Plus> wafflej0ck i missed it - which generator?
[05:35:21] <Tuxity> but I never try that kind of stuff
[05:35:26] <jaawerth> generator-gulp-angular
[05:35:29] <jaawerth> it's pretty good now
[05:35:33] <BobbieBarker> it's legit as fuck
[05:35:38] <jaawerth> wayyy better than the standard one (unless it's also gotten better)
[05:35:50] <wafflej0ck> Fifty5Plus, yeah what jaawerth said https://github.com/Swiip/generator-gulp-angular
[05:35:51] *** elrabin has quit IRC
[05:35:56] <vonnegut> just as i really start digging bower, now i gotta learn gulp
[05:35:56] <vonnegut> heh
[05:35:58] <vonnegut> never ends
[05:36:07] <BobbieBarker> bower and gulp go hand in hand
[05:36:08] <jaawerth> not just in the standard gulp files (which are a great starting poinit to build your own gulp files), but they actual use a decent code organization
[05:36:17] <jaawerth> not perfect, but they try to adhere to the angular styleguide
[05:36:18] <wafflej0ck> Fifty5Plus, if you got npm installed should just be, npm install -g generator-gulp angular yeoman,
[05:36:33] <wafflej0ck> Fifty5Plus, if you got npm installed should just be, npm install -g generator-gulp-angular yeoman,
[05:36:37] <BobbieBarker> i need to make a bootable lilnux mint CD so i can prank a coworker
[05:36:38] <Tuxity> yeah jaawerth i'm testing it now :p
[05:36:47] <Tuxity> look nice
[05:36:51] <jaawerth> wafflej0ck: you gotta switch to gulp, man! so great
[05:37:03] *** nemothekid has quit IRC
[05:37:05] <BobbieBarker> i agree wafflej0ck switch to gulp
[05:37:07] *** nycdevgirl has joined #angularjs
[05:37:08] <jaawerth> I've been writing my own custom gulp tasks and it's so refreshing
[05:37:14] <wafflej0ck> I know I know been dragging ass on that but it'll happen soon
[05:37:21] *** dc_ has quit IRC
[05:37:21] <vonnegut> yeah.. i am going to dig in on that this week (maybe next)
[05:37:26] <BobbieBarker> i've written my own gulp shit too, and it's cake
[05:37:31] <vonnegut> just to get my feet wet.. everyone says how great it is
[05:37:31] <jaawerth> map-stream makes it really easy
[05:37:40] *** SargoDarya has joined #angularjs
[05:37:41] *** aminRX has joined #angularjs
[05:37:48] *** jaredwil_ has quit IRC
[05:37:53] *** evotuned has joined #angularjs
[05:38:19] <wafflej0ck> Fifty5Plus, then make a folder and run, yo gulp-angular and you should get a few prompts then a new project setup
[05:38:41] <jaawerth> gulp-angular even has options for using angular-material and ui-router
[05:38:55] <BobbieBarker> So just to crowd check the hillarity of my prank. I have this coworker who refuses to use linux or a real editor to work in i.e sublime/atom/phpStorm
[05:38:56] <vonnegut> and so it goes..
[05:39:02] <BobbieBarker> so i'm going to take one of my hard drives install linux mint on it
[05:39:06] <BobbieBarker> and swap it out for his hard drive
[05:39:10] <jaawerth> lol
[05:39:15] <jaawerth> you should install suicide linux on it
[05:39:15] <BobbieBarker> so when he comes back from vacation he'll be looking at linux
[05:39:36] *** chrisshattuck has joined #angularjs
[05:39:45] <jaawerth> http://qntm.org/suicide
[05:40:02] <vonnegut> i cant imagine developing on anything buy linux anymore
[05:40:04] <BobbieBarker> roflmao
[05:40:06] <vonnegut> *but
[05:40:22] <BobbieBarker> vonnegut: i know right? Honest to god, i can't function professionally inside of windows
[05:40:28] <vonnegut> its horrible
[05:40:35] <BobbieBarker> it's super horrible
[05:40:42] <BobbieBarker> windows is good for playing games
[05:40:44] <BobbieBarker> and that's about it
[05:40:48] <vonnegut> dont know how i was ever so tethered to it a few years back..
[05:41:06] <vonnegut> yeah.. there are a few things i need it for still.. (audio production stuff) so i keep one around.
[05:41:09] <vonnegut> but i hate using it
[05:41:11] <vonnegut> even for that
[05:41:11] *** TyrfingMjolnir has joined #angularjs
[05:41:40] <jaawerth> I don't work for a dev company (I'm sort of building the dev department in my company), so we're a Windowsh ouse. For a while I did a bunch of stuff to make it workable but eventually decided I'd be better off using Linux and get all the Windows stuff working there
[05:42:08] <wafflej0ck> yeah amazing it's easier to work with windows stuff from linux than from windows :P
[05:42:10] <vonnegut> yeah.. its very doable to some extent
[05:42:14] <vonnegut> but if you need very specialized stuff
[05:42:15] <speaking1ode> vonnegut have u tried bitwig?
[05:42:36] <vonnegut> (serious grahics performance, or ASIO lo w latency stuff)
[05:42:36] <BobbieBarker> I just run linux inside of VMs
[05:42:38] <vonnegut> then your hosed.
[05:42:42] <wafflej0ck> yeah this gulp-generator is pretty sweet
[05:42:45] <jaawerth> hardest parts were Outlook (got it in wine but it was pretty unstable/sensitive to connectivity issues) and getting on the domain/getting SSO working with Active Directory
[05:42:47] *** evotuned has quit IRC
[05:42:52] <vonnegut> speaking1ode, havent seen it
[05:42:59] <vonnegut> will check it out
[05:42:59] <BobbieBarker> jaawerth: you can loging your outlook account on the web now
[05:43:01] <BobbieBarker> that's what i do
[05:43:07] <BobbieBarker> office 365 login
[05:43:12] <jaawerth> yeah, we use 2010
[05:43:19] <speaking1ode> vonnegut: it's recently released DAW from some of the original ableton devs. runs mac windows and linux (ubuntu at least)
[05:43:20] <jaawerth> the main sysadmin is very leery of cloud stuff
[05:43:30] <BobbieBarker> have you informed he's an idiot?
[05:43:33] <jaawerth> hahaha
[05:43:34] <vonnegut> on their site now..
[05:43:44] <jaawerth> I agree with him on some things
[05:43:48] *** burzum has joined #angularjs
[05:43:53] <vonnegut> yeah.. ive been thinking someone is going to cash in by providing pro level support for linux world
[05:43:55] <BobbieBarker> what ever he's done for "security" probably is less secure that what microsoft has done for their cloud services
[05:43:56] <jaawerth> but exchange is such a monster that we'd really be better off
[05:44:03] <vonnegut> for audio
[05:44:17] *** TheAceOfHearts has joined #angularjs
[05:44:27] *** burzum2 has quit IRC
[05:44:32] <jaawerth> I'm sure we'll switch eventually
[05:44:32] *** sbellina has quit IRC
[05:44:35] *** TheAceOfHearts has quit IRC
[05:44:36] <vonnegut> i will buy in fully if they pull it off
[05:44:40] *** babykosh has joined #angularjs
[05:44:52] <jaawerth> it IS nice having a local LDAP though
[05:44:59] <BobbieBarker> i just get really annoyed every time i encounter soem one who thinks they are wiser than the average bear when it comes to adopting new tech
[05:45:03] <speaking1ode> i've done a lot w ableton, and some with linux based studio (armour + jack rack + 1000 things) and personally i like the 'integrated pro suite' feel of ableton etc much more than the mix-n-mash typical linux approach, so bitwig is a nice win
[05:45:12] <BobbieBarker> i.e the guy i'm installing swapping linux out for is like that
[05:45:36] <BahamutWC> welcome to the world of tech
[05:45:48] <BahamutWC> where arrogance is typical
[05:45:51] <BobbieBarker> i think within some reason you should try to be fast on adopting new things
[05:45:54] <jaawerth> well.. I mean, I resist using Salesforce for things like crazy. There are some things we already use it for but I'm constantly pushing back against getting more in the hole with them
[05:46:08] <vonnegut> speaking1ode -- cool ill def check it out.
[05:46:19] <jaawerth> so I can relate to not liking cloud
[05:46:27] <BobbieBarker> BahamutWC i agree with that, but i don't like that arrogance
[05:46:30] <BahamutWC> Cloud is whiny :P
[05:46:45] <jaawerth> the other thing is, upgrading for a 300-person company is not trivial, particularly when there are a fair number of remote employees
[05:46:50] <vonnegut> speaking1ode, if your interested: https://soundcloud.com/alexpetty/sets/five-live
[05:46:53] *** SargoDarya has quit IRC
[05:46:58] <BobbieBarker> jaawerth: no doubt and that is a legitimate point
[05:47:10] <BahamutWC> BobbieBarker: yep...just tech's version of e-penii
[05:47:21] <BobbieBarker> BahamutWC true story broseph
[05:47:31] <jaawerth> and you have a 5-person IT team, counting me (and I really don't count for most actual IT stuff, I'm more of a catalyst for change)
[05:47:47] <jaawerth> just not.. that change.. yet
[05:47:58] *** torartc1 has quit IRC
[05:48:01] <jaawerth> I also HATE Lync and would rather switch to jabber than Lync 2013
[05:48:10] <BobbieBarker> OMFG you have to use lync at work too?!!?!?
[05:48:15] <BobbieBarker> i fucuking hate that program
[05:48:23] <Tuxity> oh yeah okay I'm fan of generator-gulp-angular
[05:48:23] <speaking1ode> BobbieBarker: my philosophy is investigate new tech aggressively, adopt it conservatively
[05:48:25] <BobbieBarker> what a bloated piece of shit
[05:48:27] <BahamutWC> I personally rather use IRC but I'm in the minority :P
[05:48:43] <wafflej0ck> Tuxity, yeah actually just tried myself as well very nice wizard they provide
[05:48:48] <BobbieBarker> i'd rather use IRC too, but there are lots of other IM's that work in the corporate enviroment
[05:48:54] <BobbieBarker> but lync is a complete piece of shit
[05:48:57] <Tuxity> yeah !
[05:49:01] <BobbieBarker> it makes my work box boot up so slow
[05:49:11] <vonnegut> we use irc at my company.
[05:49:13] <speaking1ode> hipchat is a nice no-fuss chat solution
[05:49:15] <Tuxity> I didn't know what to answer and it's well explicated
[05:49:18] <vonnegut> at least the dev team does.
[05:49:21] <speaking1ode> cloud tho of course
[05:49:23] <Tuxity> so I pick the good choices :P
[05:49:29] *** rchavik has joined #angularjs
[05:49:31] <BahamutWC> we use skype at work - hate it
[05:49:45] <BobbieBarker> skype is shit too
[05:49:51] <BobbieBarker> but the linux version of skype isn't that bad
[05:49:53] <Tuxity> https://slack.com/
[05:49:53] <vonnegut> was nice till MS bought them
[05:49:57] <Tuxity> I use that
[05:50:03] <BobbieBarker> it's more utilitarian, doesn' have the adds
[05:50:03] <Tuxity> in my company
[05:50:05] <BobbieBarker> in it
[05:50:09] <BobbieBarker> and the massive wasted white space
[05:50:16] <Tuxity> very very nice slack
[05:50:41] *** mary5030 has joined #angularjs
[05:50:41] <Fifty5Plus> you guys judge apps by massive white space ;?)
[05:50:55] <speaking1ode> vonnegut: checkin out. i'm /scriptic on SC... old stuff tho there
[05:51:04] <jaawerth> BobbieBarker: Lync is such total garbage. It's legacy - it was implemented here before nay of the current IT staff actually started (other than the CIO, who's only a tech guy in that he was smart enough to figure some things out and know when he had to hire others to do things back when the company was 20 people)
[05:51:22] <jaawerth> the thing that pisses me off the most is the fact that you can't actually be logged in from more than one location
[05:51:32] <BobbieBarker> jaawerth: agreed
[05:51:44] *** elrabin has joined #angularjs
[05:51:47] <speaking1ode> slack is cool but hipchat > slack IMO
[05:51:55] <BobbieBarker> Fifty5Plus: I"m a front end dev. I judge everything by the UI
[05:51:56] <jaawerth> even worse, you CAN, it will just send the message to one machine or the toher rather than throw an error
[05:52:01] <speaking1ode> moar bots, more icons, free persistence etc
[05:52:12] *** rikko has quit IRC
[05:52:26] <Fifty5Plus> BobbieBarker fair enough - then i take it back
[05:52:30] <jaawerth> XMPP is the way to go,, in my opinion, largely because of how damn extensible and flexible it is
[05:52:48] <BahamutWC> I'm surprised not more people here are picky about UI
[05:52:58] <BahamutWC> considering anyone using angular does some frontend work
[05:52:59] <speaking1ode> i think hipchat is on xmpp, of course its in their cloud. same with slack probably
[05:53:09] <jaawerth> depends on if it's me using the thing or an end user
[05:53:16] <jaawerth> er, an end user in MY company
[05:53:33] <jaawerth> I like UI, but I'm also enough of an oldschool grognard that a bad UI is usually workable if other things about a program are legit
[05:53:40] <vonnegut> speaking1ode, thanks for checking it out.. im looking up scriptic now
[05:53:47] <wafflej0ck> with jaawerth here
[05:54:01] <wafflej0ck> functionality trumps all I use the CLI when that works best
[05:54:10] <jaawerth> yeah, same
[05:54:11] <BahamutWC> yeah I can deal with bad UI if I had to use it personally - when it comes to stuff I build for work though, I'm a UI/UX nazi
[05:54:16] <wafflej0ck> this is why I need UI Design people :)
[05:54:47] <speaking1ode> vonnegut: i see you're actually recording. most of my stuff is synth.. nice recording quality. 'new religion' reminds me a lot of something i've heard before
[05:54:55] *** nycdevgirl has quit IRC
[05:55:24] <vonnegut> speaking1ode, its all stuff i write.. but i have lots of influeneces.. so i am sure you can hear that in there
[05:55:39] <Fifty5Plus> you guys are techies but the centerpiece of skype we seem to take for granted ... imagine database (with beautiful replication like couchdb has) that could "discover" and connect to each other the way that skype does
[05:56:03] <jaawerth> yeah. actual design is the bit that I'm capable of but it takes up too much time because II'm not (visually) an artist by inclination, I just know what I like. Now that I have at least one "team member" under me (sort of), I'm transitioning now into a role where I'm sort of the "architect" in that I'll lay out how something should work, maybe write the base code and interface, and then direct them to do the dirty work
[05:56:13] <vonnegut> speaking1ode: recordingon pro tools (and reaper more and more)
[05:56:15] *** elrabin has quit IRC
[05:56:33] <BahamutWC> my artist friends use all sorts of different tools
[05:56:45] <BahamutWC> some use Reason, some use Reaper, some use FL Studio, some use Cubase
[05:56:56] *** mary5030 has quit IRC
[05:57:03] <vonnegut> yep. true.
[05:57:08] <jaawerth> Reaper is audio, right?
[05:57:13] <vonnegut> yes
[05:57:23] <vonnegut> its a bad ass tool
[05:57:23] <BahamutWC> Reaper is free I believe
[05:57:29] *** dllama has quit IRC
[05:57:34] *** mary5030 has joined #angularjs
[05:57:40] <vonnegut> not free, but cheap.. its what justin frankel did after winamp
[05:57:45] <jaawerth> huh. if it's free maybe I'll check it out instead of audacity next time I need to do audio editing
[05:57:46] <BahamutWC> oh
[05:57:50] <jaawerth> oh
[05:57:51] <jaawerth> heh
[05:58:01] <jaawerth> audacity serves my needs pretty well anyway
[05:58:06] *** Reskp has joined #angularjs
[05:58:09] <BahamutWC> you don't need a DAW for audio editing
[05:58:15] <BahamutWC> audacity is just fine for that
[05:58:34] <jaawerth> oh this is more for *creating*, gotcha
[05:58:45] <BahamutWC> creating, mastering, etc.
[05:59:07] *** dc_ has joined #angularjs
[05:59:16] <jaawerth> eh, maybe someday if I get back on track with my music hobbies
[05:59:32] <vonnegut> audacity is good for editing.. reaper doesnt do editing of the wav.. it relies on your fav eternal tool for that
[05:59:41] <vonnegut> takes you there, and then brings you back seemlessly
[05:59:48] <vonnegut> i use sony sound forge.
[06:00:16] <vonnegut> fav *external
[06:00:40] *** Zren has joined #angularjs
[06:00:49] *** kinabalu has quit IRC
[06:00:57] <jaawerth> anyone using a great visual git client on linux? I just use the CLI version, but I love the way sourcetree actually lays out the branches and stuff. There are some linux apps that sort of do it but they suck in a lot of ways
[06:00:58] <vonnegut> reaper is about the mix and the effects chains.. and parralell processing for chains
[06:01:19] <vonnegut> i use gitlab
[06:01:22] *** elrabin has joined #angularjs
[06:01:31] <BahamutWC> there is the git tree command I believe
[06:01:33] <vonnegut> and then the builtin vcs in intellij
[06:01:44] <BahamutWC> the GUI tools just are using the built in git commands under the hood
[06:01:51] <BahamutWC> and prettying it up
[06:02:27] <vonnegut> the gui that intellij puts on git is nice.
[06:02:34] *** Reskp has quit IRC
[06:02:52] <jaawerth> hmm you're right. I'm already using vimdiff for git diff and meld for git difftool, I bet I can do something similar for the tree commands
[06:03:08] <vonnegut> and what it cant do in the gui, you can just do in the intellij "terminal" view
[06:03:44] *** babykosh has quit IRC
[06:03:56] <vonnegut> (but all of this implies use of intellij.. which i know is not everyones thing..)
[06:04:28] <wafflej0ck> jaawerth, gitk
[06:04:35] <speaking1ode> vonnegut: meh i can't find the song it reminds me of, i think maybe it's a john mayer song but i can't remember. anyway i meant that in praise
[06:04:37] <wafflej0ck> jaawerth, git cola
[06:04:47] *** JR___ has quit IRC
[06:04:49] <vonnegut> speaking1ode: thanks man.
[06:04:50] <wafflej0ck> jaawerth, those are pretty much the two things I use most often, also gitlab is nice
[06:05:01] *** fotoflo has joined #angularjs
[06:05:01] *** Zren has quit IRC
[06:05:15] <speaking1ode> at my work wiki jaawerth i have some clever git commands saved for doing tree views that are nice if i remember tomorrow i'll look em up
[06:05:37] *** elrabin has quit IRC
[06:05:57] <jaawerth> wafflej0ck: I think I tried gitk and decided I'd rather use the CLI, can't remember if I tried gitcola though..
[06:05:59] <wafflej0ck> gitk shows you the commit history as a visual tree... there is some other one too think it was something you open from git gui that's a little nicer version of the graph
[06:06:03] <eago_> hello... if I have a situation in which I have 2 buttons... when each button is clicked a different form template is loaded... what is the correct way to load this templates?
[06:06:12] <jaawerth> speaking1ode: cool. I know there's, like, git log --graph and such
[06:06:15] <wafflej0ck> jaawerth, git cola is just good for committing/staging stuff really
[06:06:25] *** elrabin has joined #angularjs
[06:06:26] <jaawerth> ah. I'm fine doing that from CLI
[06:06:26] *** uris77 has quit IRC
[06:06:28] <eago_> like the same that routes do but without using routes
[06:06:40] <vonnegut> eago_, partials?
[06:06:50] <wafflej0ck> jaawerth, yeah if it's a simple commit I just do command line but for adding files and stuff just use the GUI
[06:07:08] <wafflej0ck> jaawerth, easy to flip between files to see the diff before you commit things
[06:07:33] <eago_> vonnegut yup, seems like thats what I need. thank you
[06:07:38] <vonnegut> np
[06:07:44] <jaawerth> eago_: depends on how custom you want to make it. the simplest approach would be to do something like $scope.my = {template: someTemplate} and <div ng-include="my.template"> and have the ng-clicks set my.template to whatever
[06:08:06] <jaawerth> wafflej0ck: you tried using meld as a difftool?
[06:08:10] *** Zren has joined #angularjs
[06:08:16] <vonnegut> eago_ -- jaawerth is way more expert then i so do consider his advice.
[06:08:35] <eago_> yup, that sounds like what I need. Thank you jaawerth
[06:09:00] <wafflej0ck> jaawerth, yeah I've used it really most of the time I can just merge with SublimeText or whatever too though unless it's a really bad merge
[06:09:17] *** aminRX has quit IRC
[06:09:29] <vonnegut> i keep trying to become a vim guy.. but i just love my big fancy IDE intellij too much..
[06:09:51] <vonnegut> (i do emulate vim keystrokes in there though, heh)
[06:10:01] <BahamutWC> only reason I don't use Vim is because of stranded swap files with git
[06:10:04] <wafflej0ck> yeah not sure what the better looking tree program was I was using... git gui launches gitk so it' wasn't that... ah right in git cola they have view DAG that's a slightly nicer view of the graph
[06:10:21] *** aminRX has joined #angularjs
[06:10:21] <vonnegut> yeah.. those happen all the time with vim
[06:10:37] <BahamutWC> yep...I used to use Vim regularly, I know :(
[06:11:16] *** k-dawg has quit IRC
[06:11:53] <jaawerth> the only direct vim use (unless I'm doing quick server-side edits) is vimdiff instead of built-in diff (which I loath)
[06:11:54] <eago_> yup, that was it, thank you vonnegut and jaawerth
[06:12:19] <jaawerth> vim was my go-to before I switched to sublime though
[06:12:33] <vonnegut> glad it worked eago_ !
[06:12:47] <jaawerth> (I learned on emacs and made the switch once I realized using emacs is crazy unless you're programming LISP)
[06:13:36] <vonnegut> right.. i like vim key shortcuts but i dont like it as a tool for serious dev
[06:13:46] <vonnegut> its too light for what ive become accustom to
[06:14:04] *** gladely has joined #angularjs
[06:14:18] <jaawerth> yeah. which is why I love sublime, because once you enable vim mode you can mostly get the best of both worlds
[06:14:35] <vonnegut> yeah sublime is nice..
[06:14:55] <jaawerth> I might try switching to Atom once it gets faster, we'll see... sublime's updates have slowed down some
[06:14:56] <vonnegut> i wish they woul hurry up and finsih v3,, seems its been in beta since 2011
[06:15:04] *** Menorah has quit IRC
[06:15:10] *** aminRX has quit IRC
[06:15:10] <jaawerth> I'm using v3 and I don't have many issues
[06:15:17] *** elrabin has quit IRC
[06:15:29] <vonnegut> v3 on linux does wierd stuff
[06:15:33] <vonnegut> (at least for me0
[06:15:34] *** Menorah has joined #angularjs
[06:15:35] <vonnegut> )
[06:15:41] <jaawerth> huh, I haven't experienced much
[06:16:17] <vonnegut> maybe ill give it another go
[06:16:22] <jaawerth> using it with gulp watch gave me some "too many file watchers" errors until I upped my limit, but other than that the worst I've had is a couple of syntax highlighting issues here and there when I do weird html stuff
[06:16:26] *** elrabin has joined #angularjs
[06:17:11] <jaawerth> I think it largely depends what plugins you're using, too
[06:17:18] <jaawerth> some of them still have compatibility issues, I think
[06:17:26] <vonnegut> thats prb it
[06:17:47] <vonnegut> ill drop it in clean..
[06:17:51] <jaawerth> I'll probably give Atom a real solid try once they make it a bit faster
[06:18:40] *** bmac has quit IRC
[06:19:01] *** freelyfred has quit IRC
[06:19:05] *** gladely has quit IRC
[06:20:38] *** evanjs has quit IRC
[06:21:31] *** kapil__ has quit IRC
[06:25:07] <eago_> if there is something I have to to constantly, like build a string from a parameter or format a date... is it ok to just have a global function or is there a better way to do it?
[06:25:17] *** snurfery has joined #angularjs
[06:25:43] *** elrabin has quit IRC
[06:26:26] *** elrabin has joined #angularjs
[06:28:20] *** mary5030_ has joined #angularjs
[06:28:57] <vonnegut> eago_ -- i think its best practice to keep things in scope
[06:29:09] <vonnegut> and not make it static or global
[06:29:15] *** johnkevinmbasco has joined #angularjs
[06:29:32] *** Aliks has joined #angularjs
[06:29:41] *** a_ghost_irl has joined #angularjs
[06:29:55] <vonnegut> everything ive read and heard here in this channel suggests this
[06:30:24] <vonnegut> though im not totally clear about what the downside is of not following this rule of thumb
[06:30:54] *** speaking1ode has quit IRC
[06:30:55] *** elrabin has quit IRC
[06:31:18] *** JR___ has joined #angularjs
[06:31:40] *** elrabin has joined #angularjs
[06:31:46] *** mary5030 has quit IRC
[06:32:12] *** asher^ has joined #angularjs
[06:32:23] <jaawerth> eago_: services, factories, and values
[06:32:49] <jaawerth> (or providers, but those are the most complex of the bunch - everything else is just a convenience function that wraps .provider)
[06:33:13] *** bvbrandon has quit IRC
[06:33:30] <jaawerth> that way you just inject stuff if necessary
[06:33:34] *** rchavik has quit IRC
[06:33:55] <jaawerth> SOMETIMES I might put stuff on $rootScope if I'm using it so much that I don't want to inject it everywhere, but I avoid that whenever possible
[06:34:09] <jaawerth> the only globals I tend to use are "angular" and lodash ("_")
[06:34:20] *** TeddyMurray has quit IRC
[06:34:37] <eago_> ok
[06:34:41] <jaawerth> sometimes I'll use _.mixin to make certain utility functions global as a part of lodash, though
[06:34:45] *** rchavik has joined #angularjs
[06:34:46] <eago_> what about for example a variable you get from php
[06:35:25] <jaawerth> I would probably write a service that grabs the data as a request and then stores it in the service. services are singletons, so you can then access the data anywhere you've injected the service
[06:35:27] <eago_> like the kind of thing you usually put in var myVar = '<?php echo $varValue?>';
[06:36:34] <eago_> a service?
[06:36:43] <jaawerth> if you want the data to actually come in when your app first bootstraps and save the PHP request, I like to set aside one or two server-templated (like .php) files (initData.js.php, for example)
[06:37:31] <jaawerth> and do something like angular.module('initData').value('someValue', '<?php echo $someVal ?>');
[06:37:53] *** mattblang has quit IRC
[06:38:05] <jaawerth> that way I can still concat and/or cache most of my app and I'm keeping the mix of server- and client-side templating to a minimum
[06:38:32] <jaawerth> but now I can just add initData as a dependency and inject someValue anywhere I need to use it
[06:38:35] *** evotuned has joined #angularjs
[06:38:48] <eago_> ok
[06:39:02] <eago_> got it... thank you
[06:39:09] <jaawerth> sure
[06:40:02] *** Bade has joined #angularjs
[06:40:03] *** mary5030_ has quit IRC
[06:40:24] *** speaking1ode has joined #angularjs
[06:40:39] *** mary5030 has joined #angularjs
[06:41:18] *** mary5030 has joined #angularjs
[06:43:16] *** evotuned has quit IRC
[06:43:24] *** fotoflo has quit IRC
[06:43:50] <jaawerth> I tend to just mock the init stuff with dummy data until it's time for end-to-end testing, though
[06:44:10] *** fotoflo has joined #angularjs
[06:44:12] *** SargoDarya has joined #angularjs
[06:44:29] *** SargoDarya has joined #angularjs
[06:44:30] *** grumpyOldRussian has joined #angularjs
[06:44:55] *** mary5030 has quit IRC
[06:45:11] *** speaking1ode has quit IRC
[06:45:33] *** elrabin has quit IRC
[06:46:25] *** elrabin has joined #angularjs
[06:46:39] *** speaking1ode has joined #angularjs
[06:47:16] *** a_ghost_irl has quit IRC
[06:48:14] *** nemothekid has joined #angularjs
[06:48:40] *** themime has quit IRC
[06:49:01] *** grumpyOldRussian has quit IRC
[06:49:02] *** rchavik has quit IRC
[06:49:48] *** Raging_Hog has joined #angularjs
[06:52:20] *** StryKaizer has joined #angularjs
[06:52:23] *** JR___ has quit IRC
[06:55:33] *** MistahKurtz has joined #angularjs
[06:56:26] *** nemothekid has quit IRC
[06:57:02] *** varrone has joined #angularjs
[06:57:31] *** phreaky has joined #angularjs
[06:58:50] *** Hackwar1 has joined #angularjs
[06:58:54] *** Reskp has joined #angularjs
[06:59:27] *** SargoDarya has quit IRC
[06:59:37] *** Hackwar has quit IRC
[07:00:17] *** elrabin has quit IRC
[07:01:06] *** chrisshattuck has quit IRC
[07:01:28] *** elrabin has joined #angularjs
[07:01:29] *** mikerrrrrr has quit IRC
[07:04:04] *** Reskp has quit IRC
[07:04:25] *** Aliks has quit IRC
[07:04:44] *** startupality has joined #angularjs
[07:05:00] <s3shs> How do I link to a static file in github for use in a jsfiddle? Is there some magical static keyword I can add to the gh url?
[07:05:31] <s3shs> When I link the "raw" I get a warning that it's not a cdn.
[07:05:37] *** elrabin has quit IRC
[07:05:54] <jaawerth> raw's the closest you can come. I hate jsfiddle though
[07:06:15] *** trustyhank has joined #angularjs
[07:06:32] <jaawerth> plnkr has a nice, huge library of libs and modules you can search and add with a click of a button
[07:06:44] <jaawerth> and unlike jsfiddle, those libs stay up-to-date
[07:06:45] *** elrabin has joined #angularjs
[07:07:46] *** Bade has quit IRC
[07:09:36] *** dnull has joined #angularjs
[07:09:52] *** startupality has quit IRC
[07:10:06] *** startupality has joined #angularjs
[07:10:09] *** nemothekid has joined #angularjs
[07:10:50] *** startupality has quit IRC
[07:11:03] *** elrabin has quit IRC
[07:11:54] *** Una has joined #angularjs
[07:13:53] *** nemothekid has quit IRC
[07:14:21] *** nemothekid has joined #angularjs
[07:14:45] *** b1rkh0ff has joined #angularjs
[07:15:14] *** gladely has joined #angularjs
[07:16:43] *** elrabin has joined #angularjs
[07:17:24] <s3shs> Yeah. The author of a project asked me to write a fiddle. :-\
[07:19:29] *** gladely has quit IRC
[07:19:57] *** adben- has joined #angularjs
[07:20:41] *** tristanp has joined #angularjs
[07:25:15] *** tristanp has quit IRC
[07:25:27] *** fotoflo has quit IRC
[07:25:28] *** kapil__ has joined #angularjs
[07:25:47] *** elrabin has quit IRC
[07:26:26] *** elrabin has joined #angularjs
[07:27:57] *** dc_ has quit IRC
[07:28:03] *** nycdevgirl has joined #angularjs
[07:28:04] *** aminRX has joined #angularjs
[07:29:08] *** nemothekid has quit IRC
[07:30:05] *** dc_ has joined #angularjs
[07:30:58] <jaawerth> bah. you sure they weren't just using it as a generic term for "runnable online code snippet?"
[07:31:09] <jaawerth> a lot of people do. kinda like all videogames used to be Nintendo
[07:31:36] *** nemothekid has joined #angularjs
[07:31:47] *** Z3R0 has joined #angularjs
[07:33:29] *** ron_frown has quit IRC
[07:35:20] *** elrabin has quit IRC
[07:35:44] <eago_> is $window.localStorage the right place to store an oauth token?
[07:35:47] *** Z3R0 has quit IRC
[07:36:18] <jaawerth> it depends, but yeah
[07:36:29] *** elrabin has joined #angularjs
[07:36:56] <jaawerth> on one project I'm actually using $cookies to do it, I want to be able to use my token with multiple servers
[07:37:01] *** JoshGlzBrk has quit IRC
[07:37:15] <jaawerth> (and you can set multiple domains on cookies, whereas $localStorage is pretty much restricted to one)
[07:38:04] *** s00pcan has quit IRC
[07:38:23] <eago_> ah, ok
[07:38:49] *** sbellina has joined #angularjs
[07:39:21] *** evotuned has joined #angularjs
[07:39:36] <jaawerth> I typically hold the token in memory (in a service) and simply persist it to storage (and/or grab/delete it when applicable) as needed, just for performance reasons.
[07:39:52] *** rtpg has joined #angularjs
[07:39:56] <jaawerth> it's a minor difference but it IS faster to have it in memory than grab it from storage
[07:40:28] *** JoshGlzBrk has joined #angularjs
[07:40:29] <eago_> I have a mutipage app
[07:40:37] <eago_> so I have to save it somewhere
[07:40:37] *** JoshGlzBrk has quit IRC
[07:42:34] *** rud has joined #angularjs
[07:42:34] *** rud has joined #angularjs
[07:43:15] *** sbellina has quit IRC
[07:43:37] *** MattWelch has quit IRC
[07:44:02] *** evotuned has quit IRC
[07:45:24] *** evanjs has joined #angularjs
[07:46:11] *** elrabin has quit IRC
[07:49:57] *** MattWelch has joined #angularjs
[07:50:55] *** elrabin has joined #angularjs
[07:52:19] *** fairuz has quit IRC
[07:52:26] *** pranabesh has joined #angularjs
[07:52:49] <pranabesh> xvxv
[07:52:55] <pranabesh> hello
[07:53:12] *** pranabesh has quit IRC
[07:54:25] *** MattWelch has quit IRC
[07:55:34] *** DV8__ has joined #angularjs
[07:55:49] *** elrabin has quit IRC
[07:55:56] *** DV8__ has quit IRC
[07:56:11] *** mary5030 has joined #angularjs
[07:56:30] *** elrabin has joined #angularjs
[07:56:54] *** SargoDarya has joined #angularjs
[07:58:08] *** sayani has joined #angularjs
[07:58:27] <sayani> I have a doubt regarding syntax in angular js
[07:58:46] <sayani> When I render an html inside scope in js file
[07:58:56] <sayani> I amunbale to get the function defined in it.
[07:59:24] *** cacts|wtf has quit IRC
[07:59:29] *** DV8_ has quit IRC
[07:59:46] *** Reskp has joined #angularjs
[08:00:01] *** charuru_ has quit IRC
[08:00:38] *** mary5030 has quit IRC
[08:00:38] *** MistahKurtz has quit IRC
[08:00:39] *** elrabin has quit IRC
[08:01:26] *** sayani has quit IRC
[08:01:33] *** elrabin has joined #angularjs
[08:01:46] *** sayani has joined #angularjs
[08:02:28] *** Menorah has quit IRC
[08:02:31] *** nycdevgirl has quit IRC
[08:02:33] *** aminRX has quit IRC
[08:02:45] *** pHcF has quit IRC
[08:02:45] *** jaydubya has quit IRC
[08:03:07] *** charuru has joined #angularjs
[08:03:22] *** jaydubya has joined #angularjs
[08:03:38] *** joe___ has joined #angularjs
[08:03:44] <joe___> anyone online
[08:03:46] <joroci> sayani what do you mean?
[08:03:59] <joe___> o wow alot of people
[08:04:14] *** Reskp has quit IRC
[08:04:22] <joroci> it was a surprise party you ruined it
[08:04:23] <joe___> do anyone know how I can add json to angular
[08:04:37] <joroci> add json?
[08:04:49] *** Oceed has joined #angularjs
[08:04:55] <joe___> well i have the dribbble api
[08:05:11] *** Jeelani has joined #angularjs
[08:05:16] <joe___> so i'm trying to figure out how to make it run straight angular
[08:05:23] <joe___> i can do it with jquery
[08:05:39] <joe___> but is it possible just to use angular
[08:05:42] *** elrabin has quit IRC
[08:05:57] <Jeelani> Hi there
[08:06:13] <Jeelani> can someone help me with angularjs for html5 date valdiation
[08:06:18] <joroci> sorry, i'm not familiar with dribble api
[08:06:29] *** SargoDarya has quit IRC
[08:06:41] <Jeelani> can someone help me with angularjs for html5 date valdiation
[08:06:46] <joroci> i can try
[08:06:50] *** joe___ has quit IRC
[08:07:03] <Jeelani> can someone
[08:07:30] *** fotoflo has joined #angularjs
[08:07:32] <Jeelani> I have two dates actually. 1. Product Purchase Date 2. Product Warranty End Date When a user selects "Product Purchase Date", then the field of "Product Warranty End Date" which is min=""(css3) to be set with "Product Purchase Date". Need some code for this if someone could help me here.
[08:07:55] *** jaydubya has quit IRC
[08:08:29] <Jeelani> I have two dates actually. 1. Product Purchase Date 2. Product Warranty End Date When a user selects "Product Purchase Date", then the field of "Product Warranty End Date" which is min=""(css3) to be set with "Product Purchase Date". Need some code for this if someone could help me here.
[08:08:50] <Jeelani> Is someone answering me....
[08:09:09] *** nabdev has joined #angularjs
[08:09:34] *** nabdev has joined #angularjs
[08:10:29] <joroci> so you want the emd date to change to the purchase date?
[08:10:56] *** elrabin has joined #angularjs
[08:10:59] *** lemur has joined #angularjs
[08:11:32] <Jeelani> yes
[08:11:45] <Jeelani> without refereshing the browser.
[08:12:54] <Jeelani> Once I select the Product Purchase Date then the min value(CSS3) for Product Warranty End Date should be set to Product Purchase Date.
[08:12:57] *** Menorah has joined #angularjs
[08:13:11] <sayani> hi
[08:13:29] <sayani> I ahve an issue while fetching DOM elements in angular js scope
[08:13:34] <sayani> can anybody help
[08:14:33] <wafflej0ck> sayani, when working with DOM elements you should be writing a directive
[08:14:54] *** phix has quit IRC
[08:15:00] <joroci> Jeelani you can use a change event
[08:15:03] <wafflej0ck> sayani, with angular the model drives the view, you update the model, the view has things bound to the model and it updates automatically, if you're doing things to the DOM those are done with directives
[08:15:09] <Jeelani> how
[08:15:20] <Jeelani> because I am very new to Angularjs
[08:15:39] *** elrabin has quit IRC
[08:15:40] <joroci> https://docs.angularjs.org/api/ng/directive/ngChange
[08:15:45] *** phix has joined #angularjs
[08:15:53] <Jeelani> ok.
[08:16:02] *** gladely has joined #angularjs
[08:16:17] *** eburcat has quit IRC
[08:16:27] <joroci> and then set end date model to the purchase date model
[08:16:48] <Jeelani> ok
[08:17:14] <Jeelani> One more thing.....
[08:17:21] <sayani> I actually have jqxgrid
[08:17:29] <sayani> I amfetching the columns in grid
[08:17:40] <Jeelani> May I know is there any best training for Angularjs for the biginners....
[08:18:04] <sayani> In column field I have cell template.. where I give something like.var html="<a onclick=data()/>"
[08:18:15] <sayani> but when I try to do $scope.data()
[08:18:20] <sayani> it doesnt get
[08:18:27] <sayani> data is not cumng in intellisence
[08:18:42] *** doginal has joined #angularjs
[08:20:32] *** tristanp has joined #angularjs
[08:20:50] *** gladely has quit IRC
[08:21:28] *** elrabin has joined #angularjs
[08:22:58] *** doginal has quit IRC
[08:23:35] *** dcherman has quit IRC
[08:25:49] *** elrabin has quit IRC
[08:26:01] <wafflej0ck> sayani, you should learn to use angular by itself before you try integrating third party things
[08:26:29] <wafflej0ck> sayani, also most of the time third party jQuery plugins that are popular and not easy to convert to angular have components wrapping them you can find on github from others
[08:26:30] *** elrabin has joined #angularjs
[08:26:58] *** aliocha has quit IRC
[08:27:11] <wafflej0ck> Jeelani, here's a ton of stuff https://github.com/jmcunningham/AngularJS-Learning
[08:27:21] *** serengeor has joined #angularjs
[08:27:39] <Jeelani> thanks alot
[08:27:45] <wafflej0ck> Jeelani, good to start with some tutorial just to get your bearings, then can start working on your own idea/project and if you get stuck use plunkr link in the IRC topic
[08:27:48] <wafflej0ck> Jeelani, np
[08:28:10] *** Aliks has joined #angularjs
[08:29:05] <Jeelani> right . thanks again
[08:29:13] *** BobbieBarker has quit IRC
[08:29:16] <Jeelani> I will follow this
[08:29:55] *** declanqian has joined #angularjs
[08:30:57] *** elrabin has quit IRC
[08:31:52] *** declanqian has quit IRC
[08:32:06] <wafflej0ck> sayani, jqWidgets integration with angular honestly looks terrible, it seems it's pretty much the antithesis of what angular attempts to do with clearly separating the view and the controller/model/logic and making use of binding, you are probably better off using something... better, like ui-bootstrap, er foundation, er ionic, or something that's already built around angular, specifically for a grid you can check out uiGrid
[08:32:06] <wafflej0ck> or ngGrid, maybe ngTable depending on your needs
[08:32:07] *** asher^ has quit IRC
[08:32:28] *** asher^ has joined #angularjs
[08:33:23] *** grumpyOldRussian has joined #angularjs
[08:33:41] *** jacuqesdancona has joined #angularjs
[08:34:05] <wafflej0ck> sayani, see this post if you're a jQuery guy and trying to learn angular http://stackoverflow.com/questions/14994391/thinking-in-angularjs-if-i-have-a-jquery-background
[08:34:37] *** adben- has quit IRC
[08:35:03] *** Sadin has quit IRC
[08:35:40] <jacuqesdancona> morning
[08:36:16] *** mylordi has joined #angularjs
[08:36:25] *** dnull has quit IRC
[08:36:34] *** elrabin has joined #angularjs
[08:36:43] *** fairuz has joined #angularjs
[08:36:53] *** juampy has joined #angularjs
[08:37:23] <ccscanf> jacuqesdancona: moin
[08:37:41] *** Nivag has quit IRC
[08:37:47] *** grumpyOldRussian has quit IRC
[08:37:56] <wafflej0ck> night... depends on which side of this rock you're on
[08:39:49] <wafflej0ck> but welcome to le chat either way jacquesdancona
[08:39:53] *** zeezey has quit IRC
[08:40:09] *** evotuned has joined #angularjs
[08:40:34] *** Nivag has joined #angularjs
[08:40:42] *** eburcat has joined #angularjs
[08:41:11] *** Una has quit IRC
[08:41:45] *** Una has joined #angularjs
[08:41:51] *** Reskp has joined #angularjs
[08:42:11] *** Una has quit IRC
[08:42:17] *** Reskp has quit IRC
[08:42:50] *** Reskp has joined #angularjs
[08:42:56] *** besson3c has quit IRC
[08:43:17] *** plekplek has joined #angularjs
[08:44:27] *** evotuned has quit IRC
[08:46:38] *** speaking1ode has quit IRC
[08:46:53] *** Reskp has quit IRC
[08:47:24] *** jacquesdancona has quit IRC
[08:47:26] *** lemur has quit IRC
[08:48:04] *** lemur has joined #angularjs
[08:50:28] *** msg has quit IRC
[08:50:57] <soee> guys how do you solve pagination in angular ?
[08:51:24] <soee> pagination functionality should be used by several controllers
[08:52:24] <Jeelani> wafflej0ck. Please explain how to set min value of date for Warranty end date with purchase date
[08:52:42] <jacuqesdancona> thanks wafflej0ck :)
[08:53:00] *** lemur has quit IRC
[08:53:11] *** damian___ has joined #angularjs
[08:53:43] <wafflej0ck> Jeelani, I haven't used much of the html5 validation stuff so not too sure about that, would really probably handle it with angular $validators in a ngModelController but it's not really a trivial thing to do it that way either
[08:54:29] <wafflej0ck> soee, depends but lost of directives have helper things with pagination I also have a startFrom filter that can be used with limitTo for pagination that's being done just for display purposes
[08:54:33] <wafflej0ck> lots*
[08:54:58] *** tarnus has quit IRC
[08:55:06] <wafflej0ck> Jeelani, in general what joroci said earlier seemed on track though
[08:55:42] <wafflej0ck> Jeelani, use ngChange so you know when the model has updated on the first component update the model somehow to reflect that date then use that as the min value
[08:55:53] *** elrabin has quit IRC
[08:55:57] *** cytg_ has joined #angularjs
[08:56:07] <wafflej0ck> might not even need ngChange actually
[08:56:16] *** ProLoser has joined #angularjs
[08:56:20] <wafflej0ck> you may be able to just get by with ngModel
[08:56:37] *** elrabin has joined #angularjs
[08:57:07] <wafflej0ck> Jeelani, see the stuff on validation here https://docs.angularjs.org/guide/forms
[08:57:08] *** dc__ has joined #angularjs
[08:57:16] *** KD9AUS has joined #angularjs
[08:57:21] *** rchavik has joined #angularjs
[08:57:56] *** Git|Nick has joined #angularjs
[08:58:03] *** zarglex has joined #angularjs
[08:58:04] *** janoelze_ has joined #angularjs
[08:58:23] *** TripTastic has joined #angularjs
[08:58:50] *** fenduru_ has joined #angularjs
[08:58:51] *** Roilan2- has joined #angularjs
[08:58:53] *** dc_ has quit IRC
[08:58:57] *** airtonix has joined #angularjs
[08:59:02] *** dex has joined #angularjs
[08:59:05] *** soee_ has joined #angularjs
[08:59:05] *** MetaCosm_ has joined #angularjs
[08:59:20] *** ccscanf_ has joined #angularjs
[08:59:29] *** dex is now known as Guest37656
[08:59:37] <soee_> wrr my connection :/
[08:59:40] <Jeelani> can I post the code here
[08:59:48] *** trustyhank has quit IRC
[09:00:16] *** GitNick has quit IRC
[09:00:17] *** TrafficMan has quit IRC
[09:00:17] *** janoelze has quit IRC
[09:00:19] *** moogumbo has quit IRC
[09:00:19] *** bejames1 has quit IRC
[09:00:20] *** fenduru has quit IRC
[09:00:21] *** raytiley_ has quit IRC
[09:00:21] *** Roilan2 has quit IRC
[09:00:22] *** dmamills has quit IRC
[09:00:24] *** xiaolin has quit IRC
[09:00:24] *** Roilan2- is now known as Roilan2
[09:00:25] *** Git|Nick is now known as GitNick
[09:00:25] *** gauravsaini03 has quit IRC
[09:00:26] *** cytg has quit IRC
[09:00:27] *** vinilios has quit IRC
[09:00:28] *** MerlinDMC has quit IRC
[09:00:28] *** ccscanf has quit IRC
[09:00:29] *** apipkin has quit IRC
[09:00:30] *** Nivag has quit IRC
[09:00:31] *** Thorn has quit IRC
[09:00:32] *** JBreit has quit IRC
[09:00:33] *** evok has quit IRC
[09:00:34] *** airtonix_ has quit IRC
[09:00:34] *** MetaCosm has quit IRC
[09:00:34] *** greatdex has quit IRC
[09:00:35] *** soee has quit IRC
[09:00:35] *** serum33 has quit IRC
[09:00:36] *** hendricius has quit IRC
[09:00:36] *** chiburbs has quit IRC
[09:00:36] *** zbzzn_ has quit IRC
[09:00:37] *** raveli_ has quit IRC
[09:00:37] *** wib has quit IRC
[09:00:39] *** sheplu has quit IRC
[09:00:39] *** ezakimak has quit IRC
[09:00:40] *** janoelze_ is now known as janoelze
[09:00:40] *** Joseph__Silber has joined #angularjs
[09:00:45] *** zbzzn_ has joined #angularjs
[09:01:05] *** vinilios has joined #angularjs
[09:01:05] *** [0__0] has quit IRC
[09:01:36] *** hendricius has joined #angularjs
[09:01:42] *** Nivag has joined #angularjs
[09:01:44] *** wib has joined #angularjs
[09:01:44] *** wib has joined #angularjs
[09:01:51] *** raveli_ has joined #angularjs
[09:02:00] *** bejames has joined #angularjs
[09:02:05] <wafflej0ck> Jeelani, yeah it's best if you can show what you're working on in a plnkr.co so people here can modify save and send it back instead of guessing based on seeing some code, see the /topic for the link
[09:02:07] *** MerlinDMC has joined #angularjs
[09:02:25] *** raytiley_ has joined #angularjs
[09:02:37] *** sheplu has joined #angularjs
[09:02:46] <Jeelani> yah
[09:02:51] *** ezakimak has joined #angularjs
[09:02:55] *** serum33 has joined #angularjs
[09:02:58] <Jeelani> better
[09:03:01] *** varrone has quit IRC
[09:03:04] <wafflej0ck> Jeelani, part of the problem I see with html5 validation is it's not going to be consistent across browsers so I lean towards $validators instead so it can be the same implementation for all
[09:03:12] *** apipkin has joined #angularjs
[09:03:18] *** [0__0] has joined #angularjs
[09:03:26] <Jeelani> div ng-controller="ExampleController"> <input type="date" ng-model="PPDate" ng-change="change()" id="PPurDate" /> <input type="date" min={{PPDate}} id="Wend"/> </div>
[09:03:39] *** SargoDarya has joined #angularjs
[09:03:57] *** Joseph_Silber has quit IRC
[09:04:03] *** moogumbo_ has joined #angularjs
[09:04:06] <wafflej0ck> Jeelani, yeah put it here http://plnkr.co/edit/tpl:nKLNBdve51sqOoKZAOUS
[09:04:22] <wafflej0ck> Jeelani, then hit fork once you got it working as best you can in there
[09:04:41] <Jeelani> http://plnkr.co/edit/tpl:nKLNBdve51sqOoKZAOUS?p=catalogue
[09:04:46] <Jeelani> its here please check
[09:04:47] <wafflej0ck> gotta hit fork
[09:04:53] <wafflej0ck> URL didn't update yet
[09:05:00] <wafflej0ck> you might have just copied too quick
[09:05:04] <wafflej0ck> it shouldn't say tpl anymore though
[09:05:06] *** TrafficMan has joined #angularjs
[09:05:36] *** crawleyprint has quit IRC
[09:05:37] <Jeelani> Let me explain you once again. I want to set the min value for Warranty end date by purchase date
[09:05:40] *** elrabin has quit IRC
[09:05:47] <wafflej0ck> Jeelani, np I get the issue
[09:05:50] *** guffey has joined #angularjs
[09:06:02] *** zeezey has joined #angularjs
[09:06:37] *** elrabin has joined #angularjs
[09:07:34] *** xiaolin has joined #angularjs
[09:07:51] *** dmamills has joined #angularjs
[09:09:40] <damian___> hi. can I make a CMS with angular ?
[09:10:34] *** Elion has joined #angularjs
[09:11:50] <Jeelani> so what is the issue
[09:12:05] *** one_zero has quit IRC
[09:12:05] *** damian___ has quit IRC
[09:12:27] *** Menorah has quit IRC
[09:12:54] *** gauravsaini03 has joined #angularjs
[09:12:58] <Jeelani> wafflej0ck. You got the issue
[09:13:09] *** earthquake has joined #angularjs
[09:13:57] <wafflej0ck> Jeelani, yeah I understand the problem but would like it if you can share the plunkr with your code, the link you dropped is just the template one, it had not saved yet, working on my own stuff here too
[09:14:20] *** declanqian has joined #angularjs
[09:14:36] <Jeelani> I just clicked on save on plunker page
[09:14:55] <Jeelani> http://plnkr.co/edit/4I0saTxnZx1D6MacnK3o?p=preview
[09:15:15] *** damian___ has joined #angularjs
[09:15:23] *** skakri has left #angularjs
[09:15:24] <damian___> hi. can I make a CMS with angular ?
[09:15:43] *** elrabin has quit IRC
[09:16:28] *** dnull has joined #angularjs
[09:16:38] *** elrabin has joined #angularjs
[09:16:47] *** gladely has joined #angularjs
[09:17:34] *** illume has joined #angularjs
[09:17:44] *** damian___ has quit IRC
[09:17:45] *** dfsdfsd has joined #angularjs
[09:17:58] *** damian___ has joined #angularjs
[09:18:12] <dfsdfsd> fgh
[09:18:17] *** dfsdfsd has quit IRC
[09:18:18] *** johnkevinmbasco has quit IRC
[09:18:26] *** robdubya has joined #angularjs
[09:19:21] *** [0__0] has quit IRC
[09:19:22] *** bejames has quit IRC
[09:19:38] *** bejames has joined #angularjs
[09:19:40] <wafflej0ck> damian___, sure could check out bazalt CMS to see some previous work
[09:20:05] *** zeezey has quit IRC
[09:20:07] <Jeelani> so have you got the solution
[09:20:38] <damian___> wafflej0ck but if you make a CMS with angular can you have problems with SEO ? (sorry for my english)
[09:21:08] *** gladely has quit IRC
[09:21:44] *** StryKaizer has quit IRC
[09:22:19] *** damia____ has joined #angularjs
[09:22:19] *** damian___ has quit IRC
[09:23:18] *** davek has joined #angularjs
[09:23:19] *** davek has joined #angularjs
[09:23:45] <ccscanf_> clear
[09:24:06] <wafflej0ck> damia____, np you can use prerender.io to solve the SEO problem it works well and is pretty easy to configure
[09:24:07] *** eago_ has quit IRC
[09:24:53] *** SargoDarya has quit IRC
[09:24:56] <wafflej0ck> Jeelani, are you simply looking for validation or actually stopping the user from being able to select a date, because the latter you'll need to use some custom control instead of the html5 date picker (also this isn't going to work for any browsers without the html5 date picker implemented)
[09:24:58] <damia____> thanks a lot wafflej0ck I'm going to see it
[09:25:37] <Jeelani> I want to stop user to select the date lesser than purchase date for warranty end date
[09:25:55] *** elrabin has quit IRC
[09:26:35] *** elrabin has joined #angularjs
[09:27:12] <wafflej0ck> Jeelani, yeah if you actually want to stop the user from selecting a lower date you're going to need to use some kind of control/directive.... not really sure what to suggest insofar as date pickers are concerned, there are quite a few out there but not sure which ones would make this easier...
[09:27:23] *** evanjs has quit IRC
[09:27:35] *** shpoont has joined #angularjs
[09:27:40] *** abram has quit IRC
[09:27:45] <wafflej0ck> Jeelani, lots of possible choices here http://ngmodules.org/modules?query=date+picker
[09:28:03] <damia____> wafflej0ck only one more question. are any Bazalt site (made with angular) working? it says: "Be the first to know when we release..."
[09:28:15] *** fotoflo has quit IRC
[09:28:49] *** yts_ has joined #angularjs
[09:29:05] <wafflej0ck> damia____, not that I'm aware of but it's an example and you can see the source... I built something that is more leaning towards survey monkey than a regular CMS, but am currently working on implementing some CMS type functionality into a backend system I setup for use as a basic CRM/Billing platform
[09:30:03] *** tsuchikazu has joined #angularjs
[09:30:38] *** lexek__ has joined #angularjs
[09:31:04] *** elrabin has quit IRC
[09:31:06] <damia____> ok thanks
[09:31:34] *** swist has joined #angularjs
[09:31:40] *** elrabin has joined #angularjs
[09:32:31] *** rtpg_ has joined #angularjs
[09:32:32] *** tsuchikazu has quit IRC
[09:32:41] *** guilbep has joined #angularjs
[09:34:54] *** warpx has joined #angularjs
[09:35:28] *** rtpg has quit IRC
[09:36:07] *** elrabin has quit IRC
[09:38:41] *** dc__ has quit IRC
[09:39:22] <Jeelani> thanks I will check there
[09:39:30] *** earthquake has quit IRC
[09:39:56] *** KD9AUS is now known as chiburbs
[09:40:54] *** evotuned has joined #angularjs
[09:41:56] *** elrabin has joined #angularjs
[09:43:50] <joroci> wafflej0ck do you know a way to add a loading gif/animation to a state in ui-router
[09:43:52] <joroci> ?
[09:45:11] *** evotuned has quit IRC
[09:45:22] *** Jeelani has quit IRC
[09:45:37] *** jacquesdancona has joined #angularjs
[09:46:19] *** elrabin has quit IRC
[09:47:11] *** zeezey has joined #angularjs
[09:47:12] *** Menorah has joined #angularjs
[09:47:14] *** phreaky has left #angularjs
[09:48:35] *** shinnya_ has joined #angularjs
[09:51:18] *** elrabin has joined #angularjs
[09:51:22] *** jaydubya has joined #angularjs
[09:51:59] <Sickness[]> hi all
[09:52:16] <Sickness[]> I'm using ui-calendar (the angular fullcalendar fork)
[09:52:45] *** MattWelch has joined #angularjs
[09:52:51] <Sickness[]> and I used to feed it in a static list of events which worked perfectly but I recently retrieved the event list through an api
[09:53:21] <Sickness[]> I'm doing some work on the incoming data and map it to an array which I feed the calendar, this all seems to be fine except for the fact that the calendar doesnt show the events
[09:53:35] <Sickness[]> it feels like the calendar gets loaded in the page before the array is filled with data
[09:53:46] <Sickness[]> any suggestions as to what I can do to fix this?
[09:54:56] <Sickness[]> I can see the calendar is already drawn on the screen before the ajax requests finish
[09:55:09] <Sickness[]> so it must be the problem that it tries to load in the array before it's filled
[09:55:24] <Sickness[]> which is possible because it starts out being declared just empty
[09:55:26] *** asheshambasta has joined #angularjs
[09:55:33] *** boxmein has joined #angularjs
[09:56:01] *** jaydubya has quit IRC
[09:56:03] *** elrabin has quit IRC
[09:56:36] *** elrabin has joined #angularjs
[09:57:23] *** zeezey has quit IRC
[09:57:25] *** MattWelch has quit IRC
[09:57:41] *** Oxynum has joined #angularjs
[09:59:41] *** RossJH has joined #angularjs
[10:00:12] *** boxmein has quit IRC
[10:01:03] *** elrabin has quit IRC
[10:01:49] *** evilaliv3 has joined #angularjs
[10:02:08] *** doginal has joined #angularjs
[10:02:14] *** karthees has joined #angularjs
[10:02:15] <wafflej0ck> joroci, you can handle it quite a few ways
[10:02:19] *** Trow has joined #angularjs
[10:02:52] *** karthees has quit IRC
[10:03:04] <wafflej0ck> joroci, one option is to use events for the state changes to hide/show an overlay (like a modal used through a service), another way would be to have the services store their "isLoading" property and have parts in the view that show the spinner based on that boolean
[10:03:58] <wafflej0ck> joroci, yet another option would be have a service/factory that keeps track of loading state for various loaders you may want to show and use that service in other services and in the view to show/hide loaders
[10:04:10] <wafflej0ck> joroci, it just depends on how much control you want to have and from where
[10:05:00] <wafflej0ck> Sickness[], typically directive developers deal with the async problem by watching the data you pass to them for changes but it's not always the case
[10:05:16] <wafflej0ck> Sickness[], got a link to the source for the directive?
[10:06:57] *** elrabin has joined #angularjs
[10:08:52] *** Guest37656 has quit IRC
[10:08:56] <Sickness[]> I'm using an ng-model which is the array I was talking about
[10:09:31] *** Aliks has quit IRC
[10:09:37] <wafflej0ck> Sickness[], yeah if the directive uses ngModel controller then typically it will respond to changes to the model
[10:10:06] *** Aliks has joined #angularjs
[10:10:09] <Sickness[]> hm then why doesnt it update the calendar afters its done
[10:10:19] <Sickness[]> I mean, it should right
[10:10:26] *** drag0nius has joined #angularjs
[10:10:26] <wafflej0ck> yeah but you got the src?
[10:10:34] <Sickness[]> well
[10:10:35] <Sickness[]> https://github.com/angular-ui/ui-calendar
[10:10:37] <Sickness[]> this is what I'm using
[10:10:42] *** Bennit_GRR is now known as Bennit
[10:11:09] <Sickness[]> and its working fine with prefilled data and it adds new events too if I push them to the array
[10:11:15] *** elrabin has quit IRC
[10:11:23] *** nemothekid has quit IRC
[10:11:27] <Sickness[]> but once I switched to my api it failed
[10:11:36] <Sickness[]> the array is exactly the same when I inspect it
[10:11:47] <Sickness[]> its just loaded AFTER the calendar is loaded and thus the events are not in there
[10:13:09] *** MattWelch has joined #angularjs
[10:13:37] <Sickness[]> according to the documentation it should work fine after new data is loaded into the array
[10:13:39] *** Trow has quit IRC
[10:13:53] *** AlSquire has joined #angularjs
[10:14:02] <wafflej0ck> Sickness[], are you actually populating the same array you initially assign or are you overwriting... basically are you using = to assign the result array from the API call or angular.copy? also do you have a dot for your ng-model, either one of these might be the issue
[10:14:11] *** Trow has joined #angularjs
[10:14:14] <joroci> wafflej0ck i just want to add a loader per state
[10:14:25] *** Aliks has quit IRC
[10:14:28] *** nemothekid has joined #angularjs
[10:14:35] <joroci> while the state is resolving
[10:14:44] <wafflej0ck> joroci, yeah if you just want it for state changes would use the $stateChangeStart and $stateChangeSuccess events
[10:14:52] *** Trow has quit IRC
[10:14:55] <Sickness[]> wafflej0ck, I declare it first like this: $scope.appointments = [];
[10:15:02] <Sickness[]> and then later $scope.appointments = newdata;
[10:15:07] <joroci> but how do i know the ui-view to append the loader to?
[10:15:10] *** Trow has joined #angularjs
[10:15:10] <wafflej0ck> joroci, you can either update some service/factory/value in the handlers for those events or can control a modal or whatever
[10:15:11] *** cotko has joined #angularjs
[10:15:31] <joroci> oh i mean i want to loader for child states too
[10:15:36] <joroci> a loader*
[10:15:36] <Sickness[]> so I guess I overwrite it
[10:15:44] *** az7ar_away has joined #angularjs
[10:15:45] <Sickness[]> is the object link lost then?
[10:16:22] *** elrabin has joined #angularjs
[10:16:35] <Sickness[]> the html is pretty much this
[10:16:35] <Sickness[]> <div ui-calendar="uiConfig.calendar" ng-model="appointments"></div>
[10:16:43] <Sickness[]> but yeah I do overwrite it
[10:16:47] <wafflej0ck> joroci, yeah that's what I was saying about controlling where/what the loader is related to, just using events you're just getting the general info about the state change, if you want more granular stuff your probably better off making a service/factory where you store info about which sections are actually being loaded and then have your spinners in the display in the appropriate places show/hide based on that
[10:17:02] <wafflej0ck> Sickness[], thinking it could be a problem, not sure
[10:17:36] *** gladely has joined #angularjs
[10:17:51] *** MattWelch has quit IRC
[10:18:52] <wafflej0ck> joroci, you still may want to hook into the state change events and use the current state and related properties to update the service/factory that store stuff about the loading information, and then you can use that service inside of a directive that you just specify what loading state it should look for... it's kinda complicated but for controlling loaders wherever it works out well, and you can debug from within the servic
[10:18:54] <wafflej0ck> e/factory that handles the loading info if you have any problems
[10:19:16] *** DarrenCraig has joined #angularjs
[10:19:24] <robdubya> its too god damned cold today for my liking. wtf.
[10:20:44] <wafflej0ck> what is it like 50 :)
[10:20:46] <joroci> ok i'll try that
[10:20:51] <Sickness[]> wafflej0ck, that was indeed the problem
[10:20:56] <Sickness[]> wow
[10:21:01] <Sickness[]> this couldve taken me another day
[10:21:02] <Sickness[]> thanks
[10:21:03] <Sickness[]> haha
[10:21:05] <wafflej0ck> Sickness[], np
[10:21:12] <Sickness[]> I'm making so many rookie mistakes I guess..
[10:21:29] <Sickness[]> havent worked with most of these things this much in years
[10:21:32] <wafflej0ck> I've seen a lot of em and done a lot of em so ya know you live ya learn
[10:21:33] *** IvailoStoianov has joined #angularjs
[10:22:09] *** SargoDarya has joined #angularjs
[10:22:09] <robdubya> 451
[10:22:10] *** gladely has quit IRC
[10:22:10] <Sickness[]> yeah, I'm really liking angular so far though. I was getting quite bored python/django every day
[10:22:12] <robdubya> *45!
[10:22:17] *** grumpyOldRussian has joined #angularjs
[10:22:17] <robdubya> positively arctic
[10:22:36] *** foofoobar has joined #angularjs
[10:22:49] <wafflej0ck> robdubya, heh 30* here I'm still happy
[10:22:57] <wafflej0ck> robdubya, above 0 is good
[10:23:13] <robdubya> rubbish
[10:23:50] *** tangorri has joined #angularjs
[10:24:23] *** Trow has quit IRC
[10:24:53] *** jmverges has joined #angularjs
[10:24:59] *** freelyfred has joined #angularjs
[10:25:10] *** MattWelch has joined #angularjs
[10:25:16] *** disgrntld has quit IRC
[10:25:20] *** Trow has joined #angularjs
[10:25:51] *** ries has joined #angularjs
[10:27:04] *** kakashiA1 has quit IRC
[10:27:21] *** pilva has joined #angularjs
[10:27:21] *** grumpyOldRussian has quit IRC
[10:27:34] *** kakashiA1 has joined #angularjs
[10:27:39] *** swist has quit IRC
[10:27:40] *** warpx has quit IRC
[10:30:14] <wafflej0ck> think I'm gonna rig up an automatic fish feeder with my arduino...
[10:30:51] *** elrabin has quit IRC
[10:31:35] *** besson3c has joined #angularjs
[10:31:40] *** elrabin has joined #angularjs
[10:32:18] *** Menorah has quit IRC
[10:32:33] *** asher^ has quit IRC
[10:34:19] *** Trow has quit IRC
[10:34:35] *** Trow has joined #angularjs
[10:35:42] *** v has joined #angularjs
[10:36:07] *** besson3c has quit IRC
[10:36:22] <v> hi
[10:36:35] <v> ??
[10:37:06] *** v has quit IRC
[10:37:28] *** SargoDarya has quit IRC
[10:37:52] *** disorder20 has joined #angularjs
[10:39:14] *** Nivag_ has quit IRC
[10:40:03] *** RossJH has quit IRC
[10:40:43] *** elrabin has quit IRC
[10:40:44] *** motionman has quit IRC
[10:41:35] *** evotuned has joined #angularjs
[10:41:40] *** elrabin has joined #angularjs
[10:41:54] *** eagles0513875 has quit IRC
[10:41:56] *** dnull has quit IRC
[10:41:58] *** fairuz has quit IRC
[10:42:07] *** disorder20 has quit IRC
[10:42:12] <drag0nius> how should i handle custom methods returning lists of objects in restangular?
[10:43:53] *** tarnus has joined #angularjs
[10:44:04] <Sickness[]> what do you mean with handle, you mean how do you write them?
[10:44:40] <drag0nius> right now i've made .addRestangularMethod('summary','get','summary'), summary returns same stuff as .getList(), but extended
[10:45:05] *** Trow has quit IRC
[10:45:06] *** declanqian has quit IRC
[10:45:07] <drag0nius> and later i want to put updates into "root", not into .all('summary')
[10:45:10] *** marr has joined #angularjs
[10:45:57] *** evotuned has quit IRC
[10:46:07] *** Trow has joined #angularjs
[10:46:08] *** elrabin has quit IRC
[10:46:20] <Sickness[]> oh damn, I just started using restangular last week and I didnt know of this
[10:46:36] <Sickness[]> mightve been handy instead of manually mapping all objects
[10:46:54] *** elrabin has joined #angularjs
[10:47:17] <Sickness[]> I couldve just written one custom method for that I guess
[10:47:23] *** rchavik has quit IRC
[10:47:23] *** Alina-malina has quit IRC
[10:47:47] *** e0ipso|away is now known as e0ipso
[10:48:06] <drag0nius> when i wrote that addrestangularmethod, elements are not restangularized
[10:48:19] <drag0nius> they're plain objects, just the array is restangularized
[10:48:54] *** tarnus has quit IRC
[10:49:58] *** ximenean___ has joined #angularjs
[10:49:59] <ocx_> why function chili() { $scope.pepper = 'chili' ; } does not work and 20 $scope.jalapeno = function() { $scope.pepper = 'jalapeno'; }; does work?
[10:50:33] <ocx_> should i always return the function and assign it to a scope var to retain its value?
[10:50:53] <drag0nius> $scope doesn't know about 'chili' function
[10:51:29] *** elrabin has quit IRC
[10:51:34] <ocx_> drag0nius: but i defined the function in the controller which in turn inject $scope
[10:51:44] <drag0nius> it's good practice to declare functions at the bottom and then assign them to 'this'/'vm'/$scope at the top
[10:52:02] <drag0nius> did you write $scope.chili = chili; somewhere?
[10:52:21] <drag0nius> it doesn't get assigned to scope magically
[10:52:36] <ocx_> drag0nius: no i didnt but i understandthat if i inject $scope into the controller i can define functions in controller and scope will know about them since they are sharing the scope
[10:53:10] <drag0nius> $scope knows about stuff you assign to it explicitly
[10:53:37] <ocx_> i see so mainly for the view to see the controller data, it has to see it throught the $scope and cannot see the functions declared in the controller
[10:53:52] *** foofoobar has quit IRC
[10:54:02] <drag0nius> $scope has no way of magically discovering those functions declared in a controller
[10:54:06] <ocx_> drag0nius: can the controller talk to a service without the $scope?
[10:54:39] <drag0nius> service has nothing to do with scope
[10:54:48] *** eagles0513875 has joined #angularjs
[10:54:49] *** Trow has quit IRC
[10:55:01] <ocx_> drag0nius: <input type="button" ng-click="jalapeno()">Jalapeno </input> <-- here the model is talking to the scope which in turn is looking fot a function named jalapeno right?
[10:55:08] *** Proditor has joined #angularjs
[10:55:26] *** Seich has quit IRC
[10:55:31] <drag0nius> it is looking for $scope.jalapeno
[10:55:44] <drag0nius> not function named jalapeno declared inside controller
[10:55:51] <ocx_> drag0nius: can i make the model talk to the contrllr directly without the $scope?
[10:55:58] *** Trow has joined #angularjs
[10:56:03] <drag0nius> what you wrote is anonymous function assigned to property 'jalapeno' on the scope
[10:56:19] <drag0nius> not the function named 'jalapeno'
[10:56:34] <drag0nius> you wrote the function named 'chili
[10:56:49] <drag0nius> which was not assigned to any $scope property
[10:57:03] *** elrabin has joined #angularjs
[10:57:05] *** rchavik has joined #angularjs
[10:57:24] *** frem has quit IRC
[10:57:33] *** Evanion has joined #angularjs
[10:57:37] <drag0nius> you can't communicate between view (template) and controller without scope
[10:57:56] <ocx_> ok and since this variable is a function i need to "EXEcute it" using ng-click="chili()'" instead of ng-click="chili"
[10:58:38] <drag0nius> idk how else to put it
[10:58:51] <drag0nius> $scope has no clue you declared function named 'chili'
[10:58:59] *** k-dawg has joined #angularjs
[10:59:07] *** crawleyprint has joined #angularjs
[10:59:09] <drag0nius> unless you explicitly assign it with '$scope.chili = chili;'
[10:59:18] <ocx_> drag0nius: i did $scope.chili = function () { .. }
[10:59:35] <ocx_> so now i need to call it using ng-click = chili() and not ng-click=chili
[10:59:39] <drag0nius> yeah
[10:59:44] *** rtpg_ has quit IRC
[11:00:02] <ocx_> the () is to execute the function ,if i only use chili instead of chili i would only be defining the function and doing nothing
[11:00:15] <drag0nius> but still good practice is to write '$scope.chili = chili;... return ... function chili(){...}'
[11:00:21] *** davi has joined #angularjs
[11:00:36] *** Grumelo has joined #angularjs
[11:00:54] *** rtpg has joined #angularjs
[11:01:18] <drag0nius> ng-click="chili" is same as if you wrote "chili;" in plain JS
[11:01:41] *** elrabin has quit IRC
[11:01:42] <ocx_> i dont know JS :)
[11:01:59] <davi> What is SAS?
[11:02:01] <drag0nius> you should start with learning JS before learning angular...
[11:02:15] <ocx_> any good material?
[11:02:41] *** tschundeee has joined #angularjs
[11:03:10] *** ximenean___ has quit IRC
[11:03:17] <drag0nius> i've no idea, i learned the way "if something doesn't work as i would expect i find exactly why"
[11:03:40] <drag0nius> instead of "if something doesn't work as i would expect i google for working version"
[11:04:40] *** evilaliv3 has quit IRC
[11:05:22] *** Trow has quit IRC
[11:05:42] *** alpha080 has joined #angularjs
[11:05:46] *** Trow has joined #angularjs
[11:06:11] *** sl33k_ has joined #angularjs
[11:06:22] <Sickness[]> it's pretty much a combination of both for a lot of people I think drag0nius
[11:06:23] *** rtpg has quit IRC
[11:06:25] *** elrabin has joined #angularjs
[11:06:55] <Sickness[]> trust me I'm the kind of person that want to know why, having 20 tabs open reading about specifics
[11:07:06] *** terakilobyte has joined #angularjs
[11:07:09] <drag0nius> yeah, there is a lot of stuff everybody encounters in JS, but most people don't bother checking why is it this way
[11:07:10] <Sickness[]> but sometimes I just don't have the time and I need things to work right now
[11:07:27] *** woah has joined #angularjs
[11:08:02] *** Sky[x] has joined #angularjs
[11:08:26] <drag0nius> i found there are few weird things about JS, but they pop pretty much everywhere
[11:10:02] <Sickness[]> I'm sure I'll run into a bunch of them
[11:10:12] <drag0nius> there really isn't much
[11:10:17] <Sickness[]> the last time I was this active with js was about 4 years ago
[11:10:43] *** KushS has joined #angularjs
[11:10:53] *** elrabin has quit IRC
[11:10:54] <drag0nius> most errors have something to do with functional scope or async execution
[11:11:07] *** ronskisika has joined #angularjs
[11:11:28] <terakilobyte> sorry to be noobish. I'm writing an app that has a few different modules that all need access to some of the same code that crunches numbers and generates graphs and tables. Rather than repeat it in every controller, what would be the better way? Again, sorry to be a dolt, new to angular and JS in general
[11:11:54] <drag0nius> terakilobyte: write a service (factory/value)
[11:11:59] *** elrabin has joined #angularjs
[11:12:00] <bealtine> use a service/factory to do the crunching
[11:12:22] *** Raging_Hog has quit IRC
[11:12:32] *** Seich has joined #angularjs
[11:12:55] <terakilobyte> alright, thanks. Flipping through ng-book to read into it!
[11:13:28] *** matheusrocha89 has quit IRC
[11:15:16] *** Trow has quit IRC
[11:15:48] *** MattWelch has quit IRC
[11:16:12] *** Trow has joined #angularjs
[11:16:13] *** jmverges has quit IRC
[11:16:25] *** elrabin has quit IRC
[11:16:32] *** robdubya has quit IRC
[11:18:09] <kakashiA1> hey guys, I have a nother .js file with the same name of the module that I am using and there I definied my drirective
[11:18:15] *** Usuario_ has joined #angularjs
[11:18:26] *** gladely has joined #angularjs
[11:18:33] <kakashiA1> if I bind that file in my index.html my applications doesnt work anymore
[11:19:13] <kakashiA1> if I remove the directive it works, and if I use the directive in the same module, where I defined the controller it also works
[11:19:30] <kakashiA1> I get no errors in the console!!!
[11:19:37] *** Grumelo has quit IRC
[11:20:02] <drag0nius> file names shouldn't matter
[11:20:07] <drag0nius> i think at least
[11:20:09] *** k-dawg has quit IRC
[11:20:34] <drag0nius> and define "doesn't work anymore"
[11:21:04] *** Grumelo has joined #angularjs
[11:21:09] *** tristanp has quit IRC
[11:21:32] *** qdk has quit IRC
[11:21:42] *** bharath has quit IRC
[11:22:00] *** elrabin has joined #angularjs
[11:22:34] *** Guest33 has joined #angularjs
[11:22:47] *** gladely has quit IRC
[11:22:53] <kakashiA1> drag0nius: I see no context
[11:23:08] <kakashiA1> nothing, just blank, my routes doesnt show my templates
[11:23:23] <drag0nius> are you sure file gets loaded?
[11:23:32] <drag0nius> what are you debugging it in?
[11:23:35] <kakashiA1> drag0nius: yes, I checked that
[11:23:36] *** msg has joined #angularjs
[11:23:46] <kakashiA1> in chrome and in firefox
[11:24:26] <Guest33> Hello, I am using $watch on a 'div' with text, with (oldValue, newValue) - I am trying to fade out the oldValue, and fade in the newValue, but what happens is the data changes, and fades out the newValue and fades-in the newValue
[11:24:27] *** Dido has joined #angularjs
[11:24:56] <kakashiA1> Guest33: its (newValue, oldValue)
[11:24:57] *** Trow has quit IRC
[11:25:08] <Guest33> yes newValue, oldValue sorry typo
[11:25:09] *** s00pcan has joined #angularjs
[11:25:27] *** Trow has joined #angularjs
[11:25:47] *** nemothekid has quit IRC
[11:25:50] <kakashiA1> drag0nius: the directive is working
[11:25:51] *** s00pcan has quit IRC
[11:26:05] *** s00pcan has joined #angularjs
[11:26:11] <kakashiA1> but if I refactor it in a nother file, it gives me this behavior
[11:26:21] <drag0nius> maybe show that other file
[11:26:28] <drag0nius> and the original file
[11:26:37] *** elrabin has quit IRC
[11:28:26] *** charuru has quit IRC
[11:28:44] <Guest33> I use if(newValue===oldValue) return; fadeOut(oldValue) - but not sure why but the data changes immediately and fades out the newValue instead? =/
[11:29:20] *** s00pcan has quit IRC
[11:29:35] *** s00pcan has joined #angularjs
[11:30:03] *** rhp has joined #angularjs
[11:30:31] *** TuRnaD0 has joined #angularjs
[11:30:49] *** komlev_ has joined #angularjs
[11:30:55] *** kp666 has quit IRC
[11:31:18] *** Usuario_ is now known as frobs
[11:31:21] *** s00pcan has quit IRC
[11:31:37] *** s00pcan has joined #angularjs
[11:31:41] *** elrabin has joined #angularjs
[11:32:00] *** slopjong has joined #angularjs
[11:32:20] <kakashiA1> I fixed that, just removed the []
[11:33:12] <Sickness[]> Guest33, aren't you writing both values to the same var (with that I mean, you update the existing var which has the oldvalue to the newvalue) ?
[11:33:29] *** jtimon has joined #angularjs
[11:33:43] *** s00pcan has quit IRC
[11:33:49] *** freeAir has joined #angularjs
[11:33:58] *** s00pcan has joined #angularjs
[11:34:26] *** Alina-malina has joined #angularjs
[11:34:29] *** Alina-malina has joined #angularjs
[11:34:43] *** SargoDarya has joined #angularjs
[11:35:02] *** Trow has quit IRC
[11:35:06] <msg> Man
[11:35:34] *** Trow has joined #angularjs
[11:35:51] *** Left_Turn has joined #angularjs
[11:35:54] <msg> ive been using Angular for like a week now, and my experience learning/using it has been so so so much cleaner than it was with jQuery or YUI
[11:36:04] *** elrabin has quit IRC
[11:36:17] <msg> I really think this changes how websites in the future will be made
[11:36:27] <msg> Like, this one program....
[11:36:34] <msg> (framework, whatever)
[11:36:43] *** s00pcan has quit IRC
[11:36:44] *** elrabin has joined #angularjs
[11:36:57] *** s00pcan has joined #angularjs
[11:38:45] *** mmealling has quit IRC
[11:39:09] *** Thorn has joined #angularjs
[11:39:42] *** s00pcan has quit IRC
[11:39:57] *** s00pcan has joined #angularjs
[11:40:23] *** jaydubya has joined #angularjs
[11:41:07] *** rchavik has quit IRC
[11:41:22] *** subbu has joined #angularjs
[11:41:24] <ocx_> factory('notify', ['$window', function(win) { <-- here what is win? a variable returned from $window?
[11:41:46] *** subbu is now known as Guest13810
[11:42:21] *** evotuned has joined #angularjs
[11:43:59] *** SargoDarya has quit IRC
[11:45:12] <ocx_> drag0nius: can you explain that?
[11:45:16] *** jaydubya has quit IRC
[11:45:23] <ocx_> $window is a dependency and win is what?
[11:45:25] *** skyx has joined #angularjs
[11:45:39] *** zwacky has joined #angularjs
[11:45:42] *** Guest13810 has left #angularjs
[11:45:46] *** Trow has quit IRC
[11:45:53] *** elrabin has quit IRC
[11:46:01] *** ProLoser has quit IRC
[11:46:01] *** Trow has joined #angularjs
[11:46:02] *** Lingo_____ has joined #angularjs
[11:46:16] <bealtine> win is how you refer to $window
[11:46:18] *** sub2u has joined #angularjs
[11:46:29] *** rchavik has joined #angularjs
[11:46:48] *** evotuned has quit IRC
[11:46:59] *** elrabin has joined #angularjs
[11:47:20] <ocx_> bealtine: ['$scope','notify', function ($s, n) < s refers to scope and n to noify?
[11:47:44] *** Sky[x] has quit IRC
[11:47:48] *** rtpg has joined #angularjs
[11:48:04] <bealtine> n.dosomething();
[11:48:09] *** jtimon has quit IRC
[11:48:38] <ocx_> firs dependency -> first arfuemtn of function and etc?
[11:48:43] <ocx_> argument
[11:50:09] *** swirlycheetah has joined #angularjs
[11:50:37] *** davi has quit IRC
[11:51:20] <bealtine> that whole syntax is for minify safe code
[11:51:33] *** elrabin has quit IRC
[11:53:07] *** brwr has quit IRC
[11:53:55] *** woah has quit IRC
[11:54:03] *** leolrrj has joined #angularjs
[11:54:27] *** debunk has quit IRC
[11:54:45] *** debunk has joined #angularjs
[11:55:23] *** Trow has quit IRC
[11:56:24] *** Trow has joined #angularjs
[11:56:26] *** elrabin has joined #angularjs
[11:56:48] *** FishErr has joined #angularjs
[11:57:31] *** tschundeee has quit IRC
[11:57:35] <ocx_> to define different controllers and factories inside 1 module i can do angular.module().controller(....).controller2(...).factory1(....).factory(2).... is this good practice?
[11:58:47] <bealtine> possibly/possibly not
[11:58:51] <bealtine> depends
[11:58:55] <swirlycheetah> its what we do here ocx_
[11:59:11] *** tschunde_ has joined #angularjs
[11:59:20] <swirlycheetah> it works well as we spit out each feature into a new module
[11:59:24] <bealtine> i personally dont like it
[11:59:48] <ocx_> can you nest controllers inside another in this syntax?
[12:00:00] <ocx_> oh no you do that in the view
[12:00:01] <bealtine> inside?
[12:00:52] *** elrabin has quit IRC
[12:01:03] <ocx_> <div ng-controller1> <div ng-controller2> </div</div?>
[12:01:03] *** avree has quit IRC
[12:01:15] <Fifty5Plus> instead of "ng-whatever" i would like to use "t-whatever" as my prefix ... so, do you think it is an OK or a dumb idea?
[12:01:44] *** elrabin has joined #angularjs
[12:03:37] *** Foxandxss has joined #angularjs
[12:03:40] *** ximenean___ has joined #angularjs
[12:04:12] *** arpu has joined #angularjs
[12:04:35] <terakilobyte> will a service have access the the scope of the controller calling it?
[12:05:17] *** komlev_ has quit IRC
[12:05:26] *** Trow has quit IRC
[12:06:06] *** Trow has joined #angularjs
[12:06:31] *** Lingo_____ has quit IRC
[12:06:49] *** lolmaus has joined #angularjs
[12:06:54] *** Non has joined #angularjs
[12:06:59] <Non> Hi there!
[12:07:41] <Non> Is there anyone here to help with my angular issue?
[12:07:53] *** Non is now known as bugra
[12:07:55] <Sickness[]> I'm sure there is
[12:08:06] <Sickness[]> just state the question and someone might respond
[12:08:24] <Sickness[]> not me though, I'm off to bed :P
[12:08:26] *** bugra is now known as [Non]
[12:08:31] <[Non]> lol
[12:08:33] <[Non]> okay :)
[12:08:54] *** ximenean___ has quit IRC
[12:09:07] <[Non]> so, im new to Angularjs and doing Admin Dashboard, everything(dynamic menu, search filtering etc) is okay
[12:09:17] <ocx_> is a service a factory? https://code.angularjs.org/1.2.26/docs/guide/services
[12:09:23] <[Non]> But i cant do Login part, i couldnt understand the logic.
[12:10:25] <[Non]> Im creating a service and everything but it doesnt work properly. I googled everyway i can
[12:10:28] *** evilaliv3 has joined #angularjs
[12:10:49] *** elrabin has quit IRC
[12:10:54] <[Non]> And tried every code i see, just cant get enough. If anyone would answer me i will upload the code that i did write.
[12:11:00] <ocx_> [Non]: share code?
[12:11:08] *** grumpyOldRussian has joined #angularjs
[12:11:34] <[Non]> Okay just a minute.
[12:12:15] *** pons has joined #angularjs
[12:12:40] *** sl33k_ has quit IRC
[12:13:19] <[Non]> Okay, just say my code is really messy right now. I was trying to use http://arthur.gonigberg.com/2013/06/29/angularjs-role-based-auth/ this and after that http://jasonwatmore.com/post/2014/05/26/AngularJS-Basic-HTTP-Authentication-Example.aspx this
[12:13:38] <Foxandxss> ocx_: a service is a factory indeed
[12:13:42] <[Non]> Now, i understand i have to create an Auth service. And give ui-router pages Authorization access
[12:14:04] <ocx_> Foxandxss: i understand that a factory does not use THIS but a service does?
[12:14:08] <ocx_> cant tell the difference
[12:14:14] <Foxandxss> that is the difference
[12:14:41] <bealtine> syntax (at this stage) is the difference
[12:14:45] <Foxandxss> the function you pass to factory is a normal function, the function you pass to service is a constructor
[12:15:03] *** emocakes has joined #angularjs
[12:15:04] *** emocakes has joined #angularjs
[12:15:14] *** Trow has quit IRC
[12:15:30] *** Trow has joined #angularjs
[12:15:40] *** grumpyOldRussian has quit IRC
[12:16:11] <Foxandxss> $provide.service = function(key, Constructor) { this.factory(key, function() { return new Constructor(); })}
[12:16:15] <Foxandxss> that is roughly the idea
[12:16:28] *** elrabin has joined #angularjs
[12:16:29] <[Non]> i will start again, sorry.
[12:16:48] <[Non]> when im trying to use http://jasonwatmore.com/post/2014/05/26/AngularJS-Basic-HTTP-Authentication-Example.aspx
[12:17:00] <Guest33> Sickness[] Here is a jsfiddle with just the javascript, http://jsfiddle.net/a1cjy658/1/ - Everything works, however....what happens is when the data changes, the oldValue disappears immediately, and the newValue fades out, and the newValue bounces in
[12:17:01] <[Non]> this, its giving me undefined module error. every factory does.
[12:17:20] <Guest33> instead, i would like the oldValue to fadeOut, and the newValue to bounce in and repeat ...
[12:17:59] <[Non]> its just simple, i want to show login page first on ui-router, when get permission, go to home or whatever.. :/
[12:18:58] <[Non]> i tried every source for authentication on the internet i cant get it done and i have to do really fast
[12:19:14] *** gladely has joined #angularjs
[12:19:23] <emocakes> 8lol
[12:19:27] <emocakes> [Non] good luck
[12:19:30] <[Non]> you dont have to give me code snippet, just tell me what i have to :P
[12:19:41] <emocakes> this is one reason I hate angular
[12:19:47] <drag0nius> is there some select2-like module for newest angular?
[12:19:48] <emocakes> this pattern is such a bitch to implement
[12:20:03] <drag0nius> ui-select doesn't work
[12:20:06] <[Non]> Srsly? And im starting just admin dashboard!
[12:20:17] <emocakes> you can do it, just gotta know what to do
[12:20:22] <emocakes> the way I did it
[12:20:24] <[Non]> Could you telle me?
[12:20:26] <[Non]> tell*
[12:20:28] <emocakes> is using localstorage
[12:20:31] *** besson3c has joined #angularjs
[12:20:33] <emocakes> as its blocking
[12:20:38] <emocakes> in a ui router resolve
[12:20:39] *** pons has quit IRC
[12:20:52] <emocakes> if you want to go asysnc you will pull your hair out
[12:21:04] <emocakes> with messy beforeStateChange etc etc
[12:21:19] <[Non]> Dude... I just started to use Angular lol
[12:21:22] *** rickhanlonii has joined #angularjs
[12:21:23] <emocakes> so have guest abstract state and authenticated abstract state
[12:21:32] <emocakes> apart from this, its great
[12:21:41] <emocakes> maybe there is a better way
[12:21:49] <emocakes> but 9 months of googling hasnt shown me
[12:21:50] <emocakes> :p
[12:22:02] <[Non]> yeah 2 days googling dont show anything to me too..
[12:22:19] <emocakes> so in guest state
[12:22:23] <emocakes> make sure that user is not logged in
[12:22:42] <emocakes> and in authenticated state make sure the user is logged in, otherise ruedirect to guest staet
[12:22:48] <emocakes> bbl, aoe2
[12:23:39] <[Non]> umm..
[12:23:40] *** gladely has quit IRC
[12:23:44] <burzum> how do I use the orderby filter in a service? Looks like I just cant get the right name of it? according to this http://stackoverflow.com/questions/14302267/how-to-use-a-filter-in-a-controller i just need to include it in the dependencies
[12:23:59] <burzum> but if I try to load "orderBy" it wont load it
[12:24:12] <ocx_> trying to write my own service: http://pastebin.com/x9S6JqU9something is wrong i get notifyMe not defined
[12:24:26] <Guest33> Wondering if someone can help, here is a jsfiddle with just the javascript, http://jsfiddle.net/a1cjy658/2/ - Basically, I would like to fadeOut the oldValue, and bounceInLeft the newValue. It works on load, but when I change the data, the newValue automatically appears on the DOM, and fadesOut, and bounceInLeft ...but I would like to first fadeOut the oldValue, and bounceInLeft the newValue
[12:24:50] *** besson3c has quit IRC
[12:25:21] *** Trow has quit IRC
[12:25:33] *** elrabin has quit IRC
[12:26:08] *** Trow has joined #angularjs
[12:26:26] *** rickhanlonii has quit IRC
[12:26:44] *** elrabin has joined #angularjs
[12:27:43] *** jegade has quit IRC
[12:28:55] <ocx_> Foxandxss: variables defined with var in a service/factory are not accessible to a controller even if i am trying to return them with a return method
[12:29:11] <ocx_> should the returned element be not a private "var" to the sertivce/factory?
[12:29:38] <Foxandxss> a factory needs to return something
[12:29:46] <Foxandxss> and what you return, is what you have access on the controller
[12:29:49] *** sacho has joined #angularjs
[12:29:51] <ocx_> Foxandxss: correct
[12:29:57] <swirlycheetah> dont you need to do notify.notifyMe ocx_?
[12:30:02] <ocx_> but i mean if it is trying to return a "VAR A" it does not work
[12:30:05] <swirlycheetah> in your controller
[12:30:14] *** Grokling_ has joined #angularjs
[12:30:15] <Foxandxss> ocx_: it may
[12:30:57] *** elrabin has quit IRC
[12:31:11] *** angularjs has joined #angularjs
[12:31:17] *** woah has joined #angularjs
[12:31:20] <ocx_> swirlycheetah: ok so when i inject a service better to refer to its scope with service.VAR
[12:31:33] <angularjs> :(
[12:31:34] <angularjs> hi i've one question :( why angular-seo doesn't render the ui-view content
[12:31:35] <ocx_> i thought the servbice var will be defined in the same scope as VAR directly and not service.var
[12:31:37] *** zemanel has joined #angularjs
[12:31:43] *** elrabin has joined #angularjs
[12:32:24] <swirlycheetah> ocx_: your need to reference the service you're using in your controller
[12:32:26] *** gurudas has joined #angularjs
[12:32:33] <swirlycheetah> you could have multiple services used by a single controller
[12:32:48] *** tarnus has joined #angularjs
[12:33:08] <ocx_> swirlycheetah: https://code.angularjs.org/1.2.26/docs/guide/services check that first example, theu called notify(msgs) directly without refering to the service
[12:33:59] *** freelyfred has quit IRC
[12:34:08] <Foxandxss> ocx_: I don't see anything wrong there
[12:34:24] <Foxandxss> if you mean the javascript code
[12:34:26] <swirlycheetah> that's returning an anonymous function rather than an object as you are ocx_
[12:34:31] <Foxandxss> notify is being injected into the controller
[12:34:51] *** Rejected has joined #angularjs
[12:35:23] *** gurudas has quit IRC
[12:35:42] *** Trow has quit IRC
[12:36:07] *** Trow has joined #angularjs
[12:36:07] *** elrabin has quit IRC
[12:36:12] *** rchavik has quit IRC
[12:36:45] *** elrabin has joined #angularjs
[12:36:57] *** tschunde_ has quit IRC
[12:37:14] *** tarnus has quit IRC
[12:39:28] *** angularjs has quit IRC
[12:39:30] *** woah has quit IRC
[12:39:37] *** gauravsaini03 has quit IRC
[12:40:24] *** Nurbs has joined #angularjs
[12:40:46] *** k-dawg has joined #angularjs
[12:41:31] *** SargoDarya has joined #angularjs
[12:42:07] *** Lingo_____ has joined #angularjs
[12:42:46] *** RangerRick has quit IRC
[12:43:05] *** RangerRick has joined #angularjs
[12:43:06] *** evotuned has joined #angularjs
[12:43:22] *** Lingo_____ has quit IRC
[12:43:28] *** Lingo_____ has joined #angularjs
[12:45:15] *** Milkweed has joined #angularjs
[12:46:01] *** Trow has quit IRC
[12:46:11] *** KushS has quit IRC
[12:46:28] *** Trow has joined #angularjs
[12:46:31] *** elrabin has quit IRC
[12:46:33] *** ries has quit IRC
[12:46:42] *** imran_ has joined #angularjs
[12:46:56] *** ries_nicked has joined #angularjs
[12:47:14] <imran_> hello
[12:47:45] *** evotuned has quit IRC
[12:48:13] *** woah has joined #angularjs
[12:48:40] *** Lingo_____ has quit IRC
[12:48:49] <ocx_> can i share a service between different browser's instance? or need to use backend in this case?
[12:48:50] *** Lingo_____ has joined #angularjs
[12:49:12] <ocx_> for example controller1 in page1.html in browser1 and controller2 in page1.html in browser2
[12:49:50] *** matheusrocha89 has joined #angularjs
[12:50:55] <msg> You could use cookies to determine which which controller to use perhaps?
[12:51:11] *** sacho has quit IRC
[12:51:27] *** elrabin has joined #angularjs
[12:51:35] *** freeAir has quit IRC
[12:51:39] <msg> I have a list of objects, where the objects have a key called 'name' - as well as many other keys.
[12:51:41] <ocx_> i mena can you share scopes outside a browser? browser to browser for example
[12:51:51] *** jegade has joined #angularjs
[12:52:01] <msg> Is there a way to $watch if only the 'name' key changes in my objects?
[12:52:23] <msg> If it was just one object it would be easy - but since its a list of objects, I don't know how to do it 'the angular ay'
[12:52:25] <msg> 8way
[12:52:55] <msg> ocx_: share data between two browsers?
[12:53:02] <ocx_> msg: yes
[12:53:03] *** sacho has joined #angularjs
[12:53:29] *** gauravsaini03 has joined #angularjs
[12:53:35] <msg> Hm, id either use a backend SQL database, or probably better, Node.js and websockets to emit()
[12:53:51] <msg> You could send the json via node pretty easily i imagine
[12:54:04] <ocx_> idea is to depend on browser side only
[12:54:06] <ocx_> no backend
[12:54:13] <msg> Theres no way for one browser to send data to another browser without going through your server
[12:54:22] *** sub2u has quit IRC
[12:54:27] <msg> Liek, 020 for javascript
[12:54:30] <ocx_> even if using the browser namepsace?
[12:54:30] <msg> *p2p
[12:54:41] <msg> Well, i imagine its IP problems
[12:54:54] <ocx_> youcan define local variables in a browser
[12:55:06] <ocx_> that willlive there even after you close the browser i think
[12:55:14] <msg> yeah, you can do that
[12:55:24] <msg> oh, wait, both browsers are on the same computer?
[12:55:30] <ocx_> yes
[12:55:32] <msg> ahhhhh
[12:55:44] *** fernandojsg has joined #angularjs
[12:55:53] <msg> Then yeah, its probably possible
[12:55:59] <fernandojsg> hi everyone! merry xmas :)
[12:56:11] *** Lingo_____ has quit IRC
[12:56:21] *** Trow has quit IRC
[12:56:24] <msg> ocx_: http://stackoverflow.com/questions/11429312/how-can-i-use-something-like-html5-localstorage-but-shared-between-browsers
[12:56:43] *** foofoobar has joined #angularjs
[12:56:50] *** Trow has joined #angularjs
[12:56:57] *** SargoDarya has quit IRC
[12:57:07] *** jtimon has joined #angularjs
[12:58:16] <ocx_> msg: for your question you mean you want to test if myArray[{myChangedKeyL :babkabka: { ,, ti see if that changeKey becomes something else?
[12:58:29] *** Lingo_____ has joined #angularjs
[12:58:47] *** RedOrangeZ has joined #angularjs
[12:59:34] *** Lingo_____ has quit IRC
[12:59:48] *** Lingo_____ has joined #angularjs
[12:59:48] *** MattWelch has joined #angularjs
[13:00:10] *** mmealling has joined #angularjs
[13:01:08] <drag0nius> is it possible to just display value in an input without binding it with ng-model?
[13:01:34] *** BobbieBarker has joined #angularjs
[13:01:35] *** imran_ has quit IRC
[13:02:37] *** Trow has quit IRC
[13:02:47] *** Furi has joined #angularjs
[13:03:20] *** Trow has joined #angularjs
[13:03:32] *** Lingo______ has joined #angularjs
[13:03:37] *** Lingo_____ has quit IRC
[13:04:02] *** Grokling_ has quit IRC
[13:04:25] *** MattWelch has quit IRC
[13:04:25] *** fedenunez has joined #angularjs
[13:05:08] *** ximenean___ has joined #angularjs
[13:05:10] <msg> drag0nius: yup, <input type="text" value="{{whatever}}">
[13:05:42] <msg> Alternatively, you may actually want placeholder="{{whatever}}"
[13:05:54] *** anupam has joined #angularjs
[13:06:26] <fernandojsg> does anyone has a good starting example for token based authentication on angularjs?
[13:06:33] *** rchavik has joined #angularjs
[13:06:45] <fernandojsg> I've the serverside done, but I would like to see a nice example how to handle tokens on angularjs
[13:07:25] *** MattWelch has joined #angularjs
[13:07:37] *** anupam has quit IRC
[13:07:53] *** Lingo______ has quit IRC
[13:08:38] *** georg199041 has joined #angularjs
[13:09:34] *** ximenean___ has quit IRC
[13:09:40] *** tristanp has joined #angularjs
[13:09:46] *** georg199041 has quit IRC
[13:09:47] *** Robin has joined #angularjs
[13:10:21] <Robin> Afternoon lads! A question: I need the STRING value as well as the ID value of a SELECT into my ng-model. This is what I currently have: <select ng-model="contactTypeDetail.idContactType">
[13:10:27] *** RedOrangeZ2 has joined #angularjs
[13:11:44] *** MattWelch has quit IRC
[13:11:44] *** a3gis has joined #angularjs
[13:11:47] <terakilobyte> thanks for the point in direction towards factory/services. I just removed a lot of duplicated code
[13:12:53] *** RedOrangeZ has quit IRC
[13:13:07] <Guest33> hey guys, really need help, been trying to figure this out for days and not getting anywhere. I am using $watch on a ‘div’ with text, with oldValue, newValue – I am trying to fade out the oldValue, and fade in the newValue, but what happens is the data changes, and fades out the newValue and fades-in the newValue...can someone give me some direction if possible =/
[13:13:16] *** BillCriswell has joined #angularjs
[13:13:59] *** tristanp has quit IRC
[13:14:52] <terakilobyte> bind to a different variable that can be changed at the point the old value is faded out?
[13:15:28] <Guest33> it's what i've been trying to do but not getting anywhere, so stuck
[13:15:44] *** asheshambasta has quit IRC
[13:15:59] *** elrabin has quit IRC
[13:16:14] <joroci> in ui-router can i have two states with the same name with different url?
[13:16:33] *** Trow has quit IRC
[13:16:42] *** elrabin has joined #angularjs
[13:16:46] *** Trow has joined #angularjs
[13:17:13] *** BobbieBarker has quit IRC
[13:17:41] *** Furi has quit IRC
[13:18:02] *** night-owl is now known as zz_night-owl
[13:18:34] *** fedenunez has quit IRC
[13:19:28] <Guest33> hm yeah
[13:19:32] *** Oxynum has quit IRC
[13:20:06] *** gladely has joined #angularjs
[13:21:04] *** elrabin has quit IRC
[13:21:42] *** Lewix has joined #angularjs
[13:21:42] *** elrabin has joined #angularjs
[13:22:00] *** JessicaLing has joined #angularjs
[13:23:08] <JessicaLing> Hello, I have a state that has a resolve with one property on it, that returns:
[13:23:10] <JessicaLing> return UserCourse.get({ user_id: 1 });
[13:23:34] <JessicaLing> I was hoping to use resolve to avoid the form loading, then the data loading.
[13:23:51] <JessicaLing> Unfortunately, with this set up the form still loads, and is displayed before the data arrives.
[13:24:12] *** PrinceAMD has joined #angularjs
[13:24:20] <JessicaLing> I can solve the problem using a deferred promise, but shouldn't the result from a $resource be a promise anyway?
[13:24:23] *** gladely has quit IRC
[13:25:03] *** Oxynum has joined #angularjs
[13:26:02] *** elrabin has quit IRC
[13:26:28] <zwacky> JessicaLing, you need to $resource.$promise to get the promise
[13:26:29] *** sl33k_ has joined #angularjs
[13:26:47] *** Trow has quit IRC
[13:26:47] *** elrabin has joined #angularjs
[13:26:49] <zwacky> i dunno why ngResource was designed like that
[13:27:04] *** Trow has joined #angularjs
[13:27:46] <JessicaLing> Oh okay.
[13:27:58] <JessicaLing> Thank you zwacky, I will look that up,
[13:28:00] <[Non]> jesus! i hate angular login
[13:28:01] <[Non]> :/
[13:28:10] *** qdk has joined #angularjs
[13:28:23] <[Non]> i wanted to call factory in ui-router resolve
[13:28:24] <[Non]> resolve: {
[13:28:24] <[Non]> function (Auth) {
[13:28:24] <[Non]> return Auth;
[13:28:24] <[Non]> }
[13:28:25] <[Non]> }
[13:28:25] *** whitebook has joined #angularjs
[13:28:27] <[Non]> am i doing it right?
[13:29:15] *** declanqian has joined #angularjs
[13:29:22] *** jaydubya has joined #angularjs
[13:29:28] <zwacky> [Non], nope
[13:29:50] <[Non]> im trying to do landing login page. what can i do besides that?
[13:29:50] *** StryKaizer has joined #angularjs
[13:30:00] <zwacky> [Non], its resolve: { auth: function (...) { ...
[13:30:01] <[Non]> i will call factory in routing and factory do his job
[13:30:16] *** chr1stopher has joined #angularjs
[13:30:20] *** japhar81 has quit IRC
[13:30:24] <zwacky> so you can inject 'auth' into your controller
[13:30:28] <[Non]> auth: function(auth) return Auth;
[13:30:39] <JessicaLing> double thanks zwacky, it worked.
[13:30:49] <[Non]> i do not have controller for my every page its almost the same
[13:30:50] <zwacky> cool
[13:31:04] <[Non]> im doing dashboard already, its just needs paging template thats all =)
[13:31:11] <zwacky> but where do you resolve your stuff to then?
[13:31:12] *** ries_nicked has quit IRC
[13:31:17] *** elrabin has quit IRC
[13:31:23] *** swist has joined #angularjs
[13:31:26] <[Non]> i dont know, im new :/
[13:31:34] <zwacky> no biggie :P
[13:31:50] <[Non]> so do i have to controller for everypage? for login authentication only
[13:32:46] <Lewix> it's not possible to emit from rootscope and listen on rootscope, is it?
[13:33:10] *** Aswebb_ has joined #angularjs
[13:33:21] <[Non]> mm.
[13:33:45] <[Non]> .factory('Auth', function(localStorageService,$http,$rootScope,values,connect,modal) {
[13:33:45] <[Non]>
[13:33:45] <[Non]>
[13:33:45] <[Non]> })
[13:33:47] *** platonic has joined #angularjs
[13:33:50] <[Non]> sorry im pasting here but its short
[13:33:53] <zwacky> [Non], you should use pastes
[13:34:10] <[Non]> yes, i know thank you :)
[13:34:11] *** jacquesdancona has quit IRC
[13:34:43] <[Non]> i think i have to read articles for 2+ hours...
[13:34:44] <[Non]> :D
[13:34:54] *** jaydubya has quit IRC
[13:36:00] *** Evanion has quit IRC
[13:36:32] *** Trow has quit IRC
[13:36:33] *** cakirke has joined #angularjs
[13:37:03] *** elrabin has joined #angularjs
[13:37:22] *** Trow has joined #angularjs
[13:38:10] *** platonic has quit IRC
[13:38:26] *** fernandojsg has quit IRC
[13:38:30] *** woah has quit IRC
[13:38:36] *** cojack has joined #angularjs
[13:38:43] *** sl33k_ has quit IRC
[13:39:08] *** declanqian has quit IRC
[13:40:12] *** mmealling has quit IRC
[13:40:39] *** zz_night-owl is now known as night-owl
[13:41:29] *** elrabin has quit IRC
[13:41:54] *** MattWelch has joined #angularjs
[13:42:30] *** sbellina has joined #angularjs
[13:43:13] *** declanqian has joined #angularjs
[13:43:26] *** platonic has joined #angularjs
[13:43:42] *** fedenunez has joined #angularjs
[13:43:50] *** evotuned has joined #angularjs
[13:44:02] *** emocakes has quit IRC
[13:46:09] *** elrabin has joined #angularjs
[13:46:16] *** MattWelch has quit IRC
[13:46:35] *** Trow has quit IRC
[13:46:47] *** sbellina has quit IRC
[13:47:11] *** sacho_ has joined #angularjs
[13:47:39] *** sl33k_ has joined #angularjs
[13:47:43] *** Trow has joined #angularjs
[13:47:45] *** platonic has joined #angularjs
[13:48:01] *** TuRnaD0 has quit IRC
[13:48:09] *** evotuned has quit IRC
[13:48:14] *** jaydubya has joined #angularjs
[13:48:52] *** platonic_ has joined #angularjs
[13:48:59] *** platonic has quit IRC
[13:50:25] *** larsam has joined #angularjs
[13:50:37] *** elrabin has quit IRC
[13:51:00] *** sacho has quit IRC
[13:51:30] *** Dido has quit IRC
[13:51:43] *** elrabin has joined #angularjs
[13:52:24] *** MattWelch has joined #angularjs
[13:52:40] *** Dido has joined #angularjs
[13:54:20] *** SargoDarya has joined #angularjs
[13:54:28] *** SargoDarya has joined #angularjs
[13:54:35] *** fotoflo has joined #angularjs
[13:55:24] *** Alina-malina has quit IRC
[13:56:13] *** elrabin has quit IRC
[13:56:16] *** rchavik has quit IRC
[13:56:47] *** Trow has quit IRC
[13:57:14] *** Alina-malina has joined #angularjs
[13:57:14] *** MattWelch has quit IRC
[13:57:15] *** Alina-malina has quit IRC
[13:57:15] *** Alina-malina has joined #angularjs
[13:57:38] *** Trow has joined #angularjs
[13:58:29] *** Alina-malina has quit IRC
[13:58:43] *** foofoobar has quit IRC
[14:00:02] *** grumpyOldRussian has joined #angularjs
[14:00:09] *** caitp has joined #angularjs
[14:00:16] *** alpha080 has quit IRC
[14:00:23] *** tarnus has joined #angularjs
[14:00:31] *** MattWelch has joined #angularjs
[14:00:40] *** asheshambasta has joined #angularjs
[14:00:56] *** hswolff has quit IRC
[14:01:09] *** alpha080 has joined #angularjs
[14:02:05] *** elrabin has joined #angularjs
[14:02:44] *** boxmein has joined #angularjs
[14:03:17] *** hswolff has joined #angularjs
[14:03:19] *** SargoDarya has quit IRC
[14:03:28] <[Non]> okey
[14:03:36] *** Guest33 has quit IRC
[14:03:40] *** mica has joined #angularjs
[14:04:18] *** FunnyLookinHat has joined #angularjs
[14:04:25] <[Non]> http://codepaste.net/de4qbi this is my factory for auth
[14:04:28] *** grumpyOldRussian has quit IRC
[14:04:29] *** FunnyLookinHat has quit IRC
[14:04:29] *** FunnyLookinHat has joined #angularjs
[14:04:30] <[Non]> and this is the mainController ;
[14:04:37] *** Poppa is now known as Poppabear
[14:04:40] *** platonic_ has quit IRC
[14:04:56] <[Non]> http://codepaste.net/11yk64
[14:05:00] <[Non]> this is the error ;
[14:05:05] <[Non]> ReferenceError: auth is not defined
[14:05:08] <[Non]> my question: WHY?
[14:05:08] <[Non]> :D
[14:05:21] *** juampy is now known as juampy_food
[14:05:25] *** mica has left #angularjs
[14:05:51] *** ximenean___ has joined #angularjs
[14:05:58] <[Non]> no one? :/
[14:06:17] *** foofoobar has joined #angularjs
[14:06:25] *** elrabin has quit IRC
[14:06:37] *** Trow has quit IRC
[14:06:41] *** swist has quit IRC
[14:06:57] *** Trow has joined #angularjs
[14:07:09] *** doginal has quit IRC
[14:07:51] *** psi__ is now known as Psi|4ward
[14:08:15] *** loverajoel has joined #angularjs
[14:08:16] *** swist has joined #angularjs
[14:09:41] *** besson3c has joined #angularjs
[14:09:57] *** ximenean___ has quit IRC
[14:10:07] *** bmac has joined #angularjs
[14:10:23] *** pilva has quit IRC
[14:12:18] *** caitp has quit IRC
[14:12:18] *** declanqian has quit IRC
[14:12:45] *** fernandojsg has joined #angularjs
[14:12:56] *** jacquesdancona has joined #angularjs
[14:14:21] *** besson3c has quit IRC
[14:14:46] <Foxandxss> [Non]: you need to inject your services
[14:14:50] <Foxandxss> and controllers are not made in that way
[14:14:57] <Foxandxss> you better use the .controller method on your modules
[14:15:22] <Lewix> Foxandxss: is it possible to emit/broadcast on rootscope then listen on rootscpe
[14:15:30] <Foxandxss> of course
[14:15:41] <Lewix> I tried without success
[14:16:01] *** NormySan has joined #angularjs
[14:16:11] <Lewix> Foxandxss: You might have misunderstood me - $rootscope.$broadcast then $rootscope.$on
[14:16:19] <Foxandxss> no, I did not
[14:16:21] <Foxandxss> you can do that
[14:16:26] <Foxandxss> better to do $emit tho
[14:16:45] <Foxandxss> because $emit goes up and since you fire it from the root and you listen on root
[14:16:48] <Lewix> I tried broadcast without success, I'll try $emit and see
[14:17:00] <Foxandxss> it doesn't "travel" to unneded children
[14:17:11] *** Trow has quit IRC
[14:17:16] <Foxandxss> $broadcast goes from one scope to its children
[14:17:22] <Foxandxss> $emit goes from one scope to its parent
[14:17:31] <Foxandxss> a $broadcast from $rootScope goes EVERYWHERE
[14:17:36] <Lewix> right, I read it somewhere that it was not possible
[14:17:45] <Foxandxss> a $emit on $rootScope since it is the parent one will only go to $rootScope
[14:17:46] *** Trow has joined #angularjs
[14:19:03] *** alpha080 has quit IRC
[14:19:29] *** caitp has joined #angularjs
[14:19:54] <Foxandxss> try or set up a plunker, I am going to get lunch now
[14:20:49] *** gladely has joined #angularjs
[14:20:51] *** fernandojsg has left #angularjs
[14:21:19] <Lewix> Foxandxss: basically I try to emit from a service and listen on a service. I think my issue is less about emitting/listening and more about that i need to call the later service at least once for it to be listening
[14:22:07] *** elrabin has joined #angularjs
[14:23:04] *** Alina-malina has joined #angularjs
[14:23:05] *** Alina-malina has joined #angularjs
[14:23:08] <Lewix> well at least now I know that it's possible to emit/broadcast ON $rootScope and listen on it as well
[14:23:12] <sacho_> you need to inject it, sure.
[14:23:26] *** night-owl is now known as zz_night-owl
[14:23:32] <sacho_> You could set it up as a provider - then the provider part would always be executed(pre-run?).
[14:23:46] <sacho_> It's not a great idea though - it's magical code acting out of nowhere.
[14:23:51] <sacho_> Instead, use a .run() block to init your services.
[14:24:43] <Lewix> sacho_: ah provider or .run() block sounds like a good idea. I'll look into it
[14:24:53] * sacho_ recommends .run()
[14:25:30] *** gladely has quit IRC
[14:27:22] *** Trow has quit IRC
[14:27:55] *** Trow has joined #angularjs
[14:28:23] *** basiclaser_ has joined #angularjs
[14:28:52] *** adben- has joined #angularjs
[14:29:40] *** zz_night-owl is now known as night-owl
[14:30:47] *** elrabin has quit IRC
[14:30:49] <Lewix> sacho_: so you're thinking about listening to events in the run() block instead of services
[14:30:56] <sacho_> no
[14:31:04] <sacho_> just tell the services to initialize in a .run block()
[14:31:11] <sacho_> and start listening to events when they're initialized
[14:31:32] <[Non]> i handle my problem thanks, but now the function isnt working properly
[14:31:45] *** elrabin has joined #angularjs
[14:31:50] <[Non]> http://codepaste.net/de4qbi this is my factory code for auth okay?
[14:32:04] <[Non]> now, this is giving me no error.
[14:32:13] <[Non]> i add ui-router pages auth: 'protected'
[14:32:20] <[Non]> but its not working right
[14:32:20] <TweedleDee> if I wanted to use microsoft MVC bundling with my angularjs would I just serve up the Index.cshtml with my javascript and <ng-view> in that?
[14:32:39] <[Non]> .Net mvc and angularjs..
[14:32:41] <[Non]> Good luck :D
[14:32:44] <TweedleDee> not my call
[14:32:49] <TweedleDee> but I agree with you
[14:33:10] <[Non]> yes i was trying to do that too for my company. but at least, you cant take it anymore and im working on html without mvc right now
[14:33:12] *** dsdeiz has joined #angularjs
[14:33:21] *** platonic has joined #angularjs
[14:33:22] <[Non]> it will really give you hard time
[14:33:35] <TweedleDee> I have it all without MVC at the moment but they're bitching about the bundling / minification process being external to the build
[14:33:38] <TweedleDee> I'm using grunt atm
[14:33:43] <Lewix> sacho_: Just so we are on the same page, what do you mean by initialize, injecting $service then $service.iniialize()?
[14:34:23] *** bmac has quit IRC
[14:34:49] <Lewix> sacho_: I don't see the difference between this approach and the provider approach. The former is initialized in the run() function while the latter in config()
[14:35:19] <chr1stopher> i am must starting to learn about animations. i have a div and want to move from A to B on-swipe. the on-swipe is working, but i am not sure what s the easiest way to do the animation. just 2 classes with the different positions and changes class with angular? and ng-animate will do the rest?
[14:35:29] <chr1stopher> must = just
[14:35:49] <[Non]> you can use jquery too for such a little thing i guess
[14:35:55] <[Non]> just .animate :D
[14:36:04] *** elrabin has quit IRC
[14:36:11] <chr1stopher> bit it should work with css and angularjs just as well, or?
[14:36:14] *** terakilobyte has quit IRC
[14:36:36] <[Non]> i think it should probably work each other without a problem
[14:36:40] <sacho_> Lewix, yes to the first.
[14:36:43] <[Non]> but im not an expert
[14:37:06] *** Trow has quit IRC
[14:37:15] <sacho_> Lewix, um, no, that's not what I meant by "the provider approach", and it's something you shouldn't really use anyhow.
[14:37:30] *** Elion has left #angularjs
[14:37:40] *** Trow has joined #angularjs
[14:37:43] *** Sawbones has joined #angularjs
[14:37:55] *** elrabin has joined #angularjs
[14:37:57] *** Sawbones has quit IRC
[14:38:48] *** fotoflo has quit IRC
[14:39:07] *** StryKaizer has quit IRC
[14:39:12] <[Non]> Is there someone to answer my question too?
[14:39:42] *** ome has joined #angularjs
[14:39:47] *** Robin has quit IRC
[14:40:18] *** Sawbones has joined #angularjs
[14:41:04] *** night-owl is now known as zz_night-owl
[14:41:07] *** foofoobar has quit IRC
[14:41:47] *** snadon has joined #angularjs
[14:42:05] *** jr3 has joined #angularjs
[14:43:15] *** elrabin has quit IRC
[14:44:22] <joroci> how do i detect a back button event in mobile phones?
[14:44:37] *** evotuned has joined #angularjs
[14:44:50] *** saucey has joined #angularjs
[14:45:09] *** ries has joined #angularjs
[14:45:10] *** zwacky has quit IRC
[14:45:49] *** sl33k_ has quit IRC
[14:46:24] *** caitp has quit IRC
[14:46:51] *** cannap has joined #angularjs
[14:47:25] *** ronskisika has quit IRC
[14:47:47] *** Trow has quit IRC
[14:48:43] *** Trow has joined #angularjs
[14:49:16] *** evotuned has quit IRC
[14:49:20] *** uris77 has joined #angularjs
[14:49:35] *** danecando has joined #angularjs
[14:50:23] *** evilaliv3 has quit IRC
[14:50:41] *** jaredwilli has joined #angularjs
[14:51:32] *** acme- has joined #angularjs
[14:51:48] *** a3gis has quit IRC
[14:51:56] <joroci> anyone?
[14:53:05] *** platonic has quit IRC
[14:53:10] *** mmealling has joined #angularjs
[14:54:10] *** joroci has quit IRC
[14:54:16] <Lewix> sacho_: to my surprise the run block listen successfully before it's even emitted as per the logs
[14:54:21] *** joroci has joined #angularjs
[14:56:07] * sacho_ isn't sure what that means
[14:56:26] <[Non]> When i include localStorageServiceProvider and implement module
[14:56:38] <[Non]> Am i have to do settings like storagecookiedomain?
[14:56:49] <[Non]> because its giving me error localStorageService is not defined
[14:57:10] *** saucey has quit IRC
[14:57:22] *** Trow has quit IRC
[14:58:12] <joroci> how do i detect hardware back button event in mobile phones?
[14:58:17] *** Trow has joined #angularjs
[14:58:20] *** rickhanlonii has joined #angularjs
[14:58:21] *** zwacky has joined #angularjs
[14:58:56] *** elrabin has joined #angularjs
[14:59:00] *** Oxynum has quit IRC
[14:59:25] <joroci> is there something like that or a new directive is needed?
[15:00:38] *** SargoDarya has joined #angularjs
[15:01:20] <acme-> morning! i'm doing something with ui-select, according to this examples: http://plnkr.co/edit/juqoNOt1z1Gb349XabQ2?p=preview
[15:01:29] <acme-> $scope.multipleDemo = {} ; $scope.multipleDemo.peopleSelected = [] ; <ui-select multiple ng-model="multipleDemo.peopleSelected" theme="select2" ng-disabled="disabled">
[15:01:34] <acme-> $scope.peopleSelected = [] ; <ui-select multiple ng-model="peopleSelected" theme="select2" ng-disabled="disabled">
[15:01:42] <acme-> anyone have a clue?
[15:01:46] *** Guest33 has joined #angularjs
[15:02:00] <Guest33> hey guys, really need help, been trying to figure this out for days and not getting anywhere. I am using $watch on a ‘div’ with text, with oldValue, newValue – I am trying to fade out the oldValue, and fade in the newValue, but what happens is the data changes, and fades out the newValue and fades-in the newValue...can someone give me some direction if possible =/
[15:02:12] *** IvailoStoianov_ has joined #angularjs
[15:02:15] <acme-> Works: http://plnkr.co/edit/tYbkynjEckPylSF3Viow?p=preview
[15:02:15] <acme-> Don't work: http://plnkr.co/edit/V9i6q6BbuotZzsedZRtd?p=preview
[15:02:40] *** rickhanlonii has quit IRC
[15:02:47] <acme-> it's because that multipleselect needs an object of arrays?
[15:02:57] *** Oxynum has joined #angularjs
[15:04:04] *** platonic has joined #angularjs
[15:04:12] <Lewix> sacho_: I inserted a console.log in the listener and another in the publisher. The listener listen successfully even before it's fired, it means that i get the log of the subscriber before the log of the publisher
[15:04:21] *** japhar81 has joined #angularjs
[15:04:39] *** PigDude_ has joined #angularjs
[15:04:50] *** IvailoStoianov has quit IRC
[15:05:04] *** IvailoStoianov_ is now known as IvailoStoianov
[15:05:16] <sacho_> acme-, where does ui-select come from?
[15:05:26] *** nickgs has joined #angularjs
[15:05:31] <sacho_> ah, angular-ui
[15:05:46] <sacho_> well, let's unravel this mystery
[15:06:34] *** frabblerock has joined #angularjs
[15:06:36] *** ximenean___ has joined #angularjs
[15:06:43] *** juanpablo_ has joined #angularjs
[15:07:18] *** uris77 has quit IRC
[15:07:21] <Guest33> would it help if i make a plunkr guys?
[15:07:23] *** Trow has quit IRC
[15:07:35] *** uris77 has joined #angularjs
[15:07:40] <joroci> yes
[15:08:10] <Lewix> sacho_: never mind. I wasn't thinking asynchronously. thanks brother
[15:08:12] <Guest33> http://jsfiddle.net/a1cjy658/2/
[15:08:19] <Guest33> this is what i've been doing so far
[15:08:32] *** Trow has joined #angularjs
[15:08:46] <Guest33> but the newValue keeps fadingOut and bouncing in, in fact, when I need the oldValue to fade out first, and newValue to bounceIn
[15:09:23] *** frabblerock has quit IRC
[15:09:43] *** frabblerock has joined #angularjs
[15:11:01] *** FIFOd[a] has joined #angularjs
[15:11:04] *** ximenean___ has quit IRC
[15:11:11] *** elrabin has quit IRC
[15:12:45] *** elrabin_ has joined #angularjs
[15:14:06] *** saucey has joined #angularjs
[15:15:05] *** KushS has joined #angularjs
[15:15:11] *** borgdrone7_ has joined #angularjs
[15:15:25] <Guest33> man
[15:15:29] *** JeffBuhrt has joined #angularjs
[15:15:45] <Guest33> why can't i figure this out
[15:17:38] *** Trow has quit IRC
[15:18:05] *** eburcat has quit IRC
[15:18:13] *** KushS has quit IRC
[15:18:21] *** Trow has joined #angularjs
[15:18:28] *** twelverobots has quit IRC
[15:19:34] *** tandy has quit IRC
[15:20:18] *** danecando has quit IRC
[15:20:21] *** JessicaLing has quit IRC
[15:20:30] <[Non]> just go outside
[15:20:34] <[Non]> and breathe air
[15:20:40] <[Non]> stay away from the computer for a while
[15:20:43] <[Non]> you will figure it out ;)
[15:21:05] *** [0__0] has joined #angularjs
[15:21:13] *** Grumelo has quit IRC
[15:21:14] *** numproc has joined #angularjs
[15:21:14] *** [Non] has quit IRC
[15:21:36] *** gladely has joined #angularjs
[15:22:18] *** SargoDarya has quit IRC
[15:22:24] <joroci> is it bad to add event listener to services?
[15:22:28] *** nickgs has quit IRC
[15:22:57] *** calmbird has joined #angularjs
[15:23:07] <calmbird> Hi :) Is it possible to recheck form $validator ?
[15:23:47] *** bmac has joined #angularjs
[15:24:00] *** plekplek has quit IRC
[15:24:41] <calmbird> I need this, because I have validation dependency of other fields.
[15:24:58] <calmbird> But validator is only checking onkeypress field
[15:25:07] <calmbird> I need to tell validator, to recheck whole form.
[15:25:13] *** cacts|wtf has joined #angularjs
[15:25:52] *** bmac has quit IRC
[15:26:04] *** gladely has quit IRC
[15:26:25] *** in2rd has joined #angularjs
[15:27:29] *** whiteboo_ has joined #angularjs
[15:27:30] *** cboden has joined #angularjs
[15:27:44] *** Trow has quit IRC
[15:27:54] *** macabre has joined #angularjs
[15:27:57] *** Trow has joined #angularjs
[15:27:57] *** bayousoft has quit IRC
[15:27:58] *** sayani has quit IRC
[15:28:22] *** gauravsaini03 has quit IRC
[15:28:24] *** freeman42 has joined #angularjs
[15:28:54] *** whiteboo_ has quit IRC
[15:29:44] *** matheusrocha89 has quit IRC
[15:30:02] *** whitebook has quit IRC
[15:30:26] <Guest33> i just created this on stackoverflow http://stackoverflow.com/questions/27690727/angular-watch-fadeout-newvalue-fadein-oldvalue, if someone can look at it for me that would be great
[15:30:40] *** danecando has joined #angularjs
[15:30:59] *** rickhanlonii has joined #angularjs
[15:31:23] *** bmac has joined #angularjs
[15:31:30] *** cboden has quit IRC
[15:31:31] *** annlewis has joined #angularjs
[15:31:51] *** juampy_food is now known as juampy
[15:31:56] *** younqcass has joined #angularjs
[15:32:34] *** Trow has quit IRC
[15:32:52] *** Evanion has joined #angularjs
[15:33:04] *** Trow has joined #angularjs
[15:33:05] *** whitebook has joined #angularjs
[15:35:35] *** evok has joined #angularjs
[15:36:20] *** MetalMatze has joined #angularjs
[15:37:22] *** d10n has quit IRC
[15:37:29] *** d10n has joined #angularjs
[15:37:29] *** d10n has quit IRC
[15:37:29] *** d10n has joined #angularjs
[15:38:04] *** Trow has quit IRC
[15:38:35] *** slopjong has quit IRC
[15:39:05] *** leolrrj has quit IRC
[15:39:32] *** leolrrj has joined #angularjs
[15:39:35] *** Trow has joined #angularjs
[15:40:00] <sacho_> acme-, well, I found the problem
[15:40:01] *** Snugug has joined #angularjs
[15:40:32] <acme-> sacho_: awesome, what is0?
[15:41:28] <sacho_> acme-, ui-select has scope:true - it creates a child scope
[15:41:38] *** FunnyLookinHat has quit IRC
[15:41:53] <sacho_> the ng-model uses that child scope, and eventually when needed assigns to it
[15:41:58] <sacho_> which shadows the parent's peopleSelected
[15:42:06] *** BillCriswell has joined #angularjs
[15:42:07] <calmbird> Hi, I'v made field dependency form validation http://plnkr.co/edit/o70il5gGHMy3hGiJLItY , could you tell me how to always check all inputs validation, because validator is checking only active input?
[15:42:24] *** grumpyOldRussian has joined #angularjs
[15:42:29] *** mven has quit IRC
[15:42:36] *** breakingthings has joined #angularjs
[15:43:22] *** sbellina has joined #angularjs
[15:43:33] <acme-> sacho_: ahhhh ...
[15:43:57] *** leolrrj has quit IRC
[15:44:29] <sacho_> acme-, yet another reason why the scope inheritance thing makes for confusing code :)
[15:44:35] *** ehynds has joined #angularjs
[15:44:54] *** MetalMatze has quit IRC
[15:45:00] * sacho_ isn't sure why they didn't use an isolate scope
[15:45:02] *** a3gis has joined #angularjs
[15:45:06] *** rileylark has joined #angularjs
[15:45:24] *** evotuned has joined #angularjs
[15:46:23] *** rho_ has joined #angularjs
[15:46:24] *** loverajoel has quit IRC
[15:46:36] <msg> hey all
[15:46:39] <calmbird> Hi.
[15:47:00] <msg> So im trying to animate my views as they come/go
[15:47:12] <msg> but it seems that theres no out-of-the-box with this. You have to define animations in CSS manually
[15:47:20] <msg> Angular just fires them for you
[15:47:23] *** rickhanlonii has quit IRC
[15:47:24] *** loverajoel has joined #angularjs
[15:47:28] <calmbird> I'v made field dependency validator: http://plnkr.co/edit/o70il5gGHMy3hGiJLItY, could you tell me how to validate whole form on key press (not only active input)
[15:47:42] *** rickhanlonii has joined #angularjs
[15:47:43] *** bayousoft has joined #angularjs
[15:47:43] <msg> Um, yeah
[15:47:48] <msg> Make a function called formValidate
[15:47:53] *** Trow has quit IRC
[15:47:55] *** sbellina has quit IRC
[15:48:06] <msg> and using ng-change, just run it every time something changes
[15:48:16] *** CodeFriar has joined #angularjs
[15:48:21] <msg> But you are probably better off doing it per-field
[15:48:26] <msg> *feild
[15:48:33] <acme-> sacho_: yeah, that was confusing, at least i know what was causing that. Thanks!
[15:48:37] <calmbird> Well I need to recheck whole form.
[15:48:54] <calmbird> like myForm.$recheck;
[15:48:59] *** pHcF has joined #angularjs
[15:49:01] <calmbird> Need something like that.
[15:49:11] *** Trow has joined #angularjs
[15:49:41] *** rho_ is now known as rho
[15:50:14] *** blomman has joined #angularjs
[15:50:21] *** evotuned has quit IRC
[15:50:26] *** IvanoffC_ has joined #angularjs
[15:50:26] <msg> yeah
[15:50:35] <msg> use ng-change="myCheckingFunction()"
[15:50:58] <msg> and in myCheckingFunction in the controller, you'll have access to all the $scope'd data in the form to do your checks
[15:51:06] *** ejb has joined #angularjs
[15:52:08] *** leolrrj has joined #angularjs
[15:52:11] *** siddart has quit IRC
[15:52:20] <msg> var myCheckingFunction = function () { if ($scope.a ==0 || $scope.b == 0) { console.log('woop') } else { console.log('grr') }
[15:52:42] <calmbird> i see
[15:52:42] *** nickgs has joined #angularjs
[15:52:45] *** IvanoffCSI has quit IRC
[15:52:47] *** rtpg_ has joined #angularjs
[15:53:28] <calmbird> Well I was hoping to use angular form validator for that but if it's not possible
[15:55:08] *** siddart has joined #angularjs
[15:55:35] *** mary5030 has joined #angularjs
[15:56:04] *** rtpg has quit IRC
[15:56:05] *** k-dawg has quit IRC
[15:56:54] *** blomman has quit IRC
[15:57:25] <msg> oh
[15:57:35] <msg> well ive never done that
[15:57:37] <msg> You probably can :)
[15:57:44] *** Trow has quit IRC
[15:58:16] *** besson3c has joined #angularjs
[15:58:29] *** Trow has joined #angularjs
[15:58:31] *** Oddman has joined #angularjs
[15:59:30] *** NormySan has quit IRC
[16:00:16] *** lsiv568 has joined #angularjs
[16:00:36] *** evilaliv3 has joined #angularjs
[16:00:43] *** mven has joined #angularjs
[16:01:02] *** michaelv_ has joined #angularjs
[16:01:22] *** mven has joined #angularjs
[16:01:31] *** michaelv_ has quit IRC
[16:01:37] *** mven has quit IRC
[16:01:47] *** FunnyLookinHat has joined #angularjs
[16:01:48] *** ctanga has quit IRC
[16:02:02] *** opiates has joined #angularjs
[16:02:07] *** michaelv_ has joined #angularjs
[16:02:52] *** besson3c has quit IRC
[16:02:54] *** swirlycheetah has quit IRC
[16:03:28] *** Oxynum has quit IRC
[16:04:39] *** Oxynum has joined #angularjs
[16:05:02] *** frabblerock has quit IRC
[16:05:25] *** ehynds has quit IRC
[16:06:06] *** loverajo_ has joined #angularjs
[16:06:17] *** dsdeiz has quit IRC
[16:06:23] *** PigDude_ has quit IRC
[16:06:45] *** subr0utine is now known as mjw56
[16:06:45] *** nickgs has quit IRC
[16:06:54] *** adben- has quit IRC
[16:07:21] *** ximenean___ has joined #angularjs
[16:07:55] *** nickgs has joined #angularjs
[16:07:56] *** sbellina has joined #angularjs
[16:08:21] *** Trow has quit IRC
[16:08:51] *** matheusrocha89 has joined #angularjs
[16:09:02] *** Trow has joined #angularjs
[16:10:16] *** loverajoel has quit IRC
[16:10:19] *** alinou has joined #angularjs
[16:11:00] *** whitebook has quit IRC
[16:11:02] *** serengeor has quit IRC
[16:11:06] *** gladely has joined #angularjs
[16:11:39] *** ximenean___ has quit IRC
[16:13:45] <tangorri> hmm any way to use sass bootstrap without jquery please ?
[16:15:43] *** matheusrocha89 has quit IRC
[16:16:15] <breakingthings> but... sass bootstrap doesn't use jquery??
[16:16:52] *** whitebook has joined #angularjs
[16:17:35] *** annlewis_ has joined #angularjs
[16:17:37] *** loverajo_ has quit IRC
[16:18:02] *** zeitgist has joined #angularjs
[16:18:34] *** Trow has quit IRC
[16:18:49] <tangorri> breakingthings : it does https://github.com/twbs/bootstrap-sass/blob/master/bower.json
[16:19:16] *** annlewis has quit IRC
[16:19:26] <BahamutWC> tangorri: just use ui bootstrap
[16:19:26] *** SargoDarya has joined #angularjs
[16:19:29] *** SargoDarya has joined #angularjs
[16:19:36] *** Trow has joined #angularjs
[16:19:37] <BahamutWC> you'll still need the css from bootstrap though
[16:19:48] <tangorri> BahamutWC : I use compass etc
[16:20:03] *** shackleford has joined #angularjs
[16:20:53] *** shackleford has quit IRC
[16:21:28] *** shackleford has joined #angularjs
[16:21:50] *** encryptd_fractl has joined #angularjs
[16:22:31] *** juampy is now known as juampy_brb
[16:23:34] *** Grumelo has joined #angularjs
[16:24:53] *** sbellina has quit IRC
[16:25:11] *** WebDevOfDoom has joined #angularjs
[16:26:17] *** AngularUI has joined #angularjs
[16:26:17] <AngularUI> [bootstrap] andrepitombeira opened pull request #3144: fix(modal): Fix background move a little when opening a modal (master...master) http://git.io/8kghsQ
[16:26:17] *** AngularUI has left #angularjs
[16:27:17] *** cojack has quit IRC
[16:28:02] *** EQp has joined #angularjs
[16:28:43] *** Trow has quit IRC
[16:28:43] *** pilva has joined #angularjs
[16:29:02] *** nickgs has quit IRC
[16:29:09] *** Trow has joined #angularjs
[16:29:41] *** ctanga has joined #angularjs
[16:29:42] *** WebDevOfDoom has quit IRC
[16:29:46] *** nickgs has joined #angularjs
[16:30:14] *** mylordi has quit IRC
[16:30:37] *** grumpyOldRussian has quit IRC
[16:31:49] *** annlewis_ has quit IRC
[16:33:21] *** besson3c has joined #angularjs
[16:34:06] *** cacts|wtf has quit IRC
[16:36:45] *** az7ar_away has quit IRC
[16:37:14] *** mrru has joined #angularjs
[16:37:45] *** chr1stopher has quit IRC
[16:37:48] *** Bennit has quit IRC
[16:37:55] *** Bennit has joined #angularjs
[16:38:17] *** Trow has quit IRC
[16:38:41] *** Oxynum has quit IRC
[16:39:24] *** SargoDarya has quit IRC
[16:39:36] *** Trow has joined #angularjs
[16:40:39] *** rickhanlonii has quit IRC
[16:40:44] *** rboyd has joined #angularjs
[16:43:06] *** grumpyOldRussian has joined #angularjs
[16:43:20] *** encryptd_fractl has quit IRC
[16:44:19] *** Slowintrepid has joined #angularjs
[16:44:56] <Slowintrepid> Question if I have a simple client side only prototype Angular app that I want to deploy to a live web server. Whats the easiest way to accomplish this?
[16:45:15] <Slowintrepid> I tried doing it with Heroku but I guess I need a backend app too
[16:45:37] *** cornerma1 has joined #angularjs
[16:46:07] *** evotuned has joined #angularjs
[16:46:42] *** DarrenCraig has quit IRC
[16:47:20] *** cacts|wtf has joined #angularjs
[16:47:22] *** airtonix has quit IRC
[16:48:04] *** b1rkh0ff has quit IRC
[16:48:19] *** encryptd_fractl has joined #angularjs
[16:48:37] *** cornerman has quit IRC
[16:48:46] *** cornerma1 is now known as cornerman
[16:49:03] <Guest33> i just created this on stackoverflow http://stackoverflow.com/questions/27690727/angular-watch-fadeout-newvalue-fadein-oldvalue, if someone can look at it for me that would be great
[16:49:03] *** Trow has quit IRC
[16:49:09] *** lawd has joined #angularjs
[16:49:46] *** Trow has joined #angularjs
[16:49:51] *** chr1stopher has joined #angularjs
[16:49:55] <lawd> hi anyone have experience with smart table?
[16:50:23] *** numproc has quit IRC
[16:50:31] *** evotuned has quit IRC
[16:50:43] *** cacts has quit IRC
[16:52:42] *** leolrrj has quit IRC
[16:53:10] *** leolrrj has joined #angularjs
[16:53:15] *** juampy_brb is now known as juampy
[16:53:45] *** rickhanlonii has joined #angularjs
[16:54:11] *** snapwich has joined #angularjs
[16:54:18] *** reynierpm has joined #angularjs
[16:54:24] *** reynierpm has left #angularjs
[16:54:49] *** leolrrj has quit IRC
[16:54:59] *** leolrrj has joined #angularjs
[16:55:04] *** TeddyMurray has joined #angularjs
[16:55:16] *** Duvdevan has joined #angularjs
[16:55:17] *** cthrax has joined #angularjs
[16:56:07] *** chr1stopher has quit IRC
[16:56:24] *** Duvdevan has quit IRC
[16:56:47] *** aminRX has joined #angularjs
[16:56:54] *** greengriminal has joined #angularjs
[16:57:37] *** icfantv has joined #angularjs
[16:58:24] *** Trow has quit IRC
[16:58:48] *** chrisshattuck has joined #angularjs
[16:58:50] *** Trow has joined #angularjs
[16:59:04] *** evanjs has joined #angularjs
[16:59:12] *** knownasilya has joined #angularjs
[16:59:12] *** frobs has quit IRC
[17:00:43] *** zlalanne has joined #angularjs
[17:01:49] *** airtonix has joined #angularjs
[17:03:16] *** FishErr has quit IRC
[17:03:23] *** Trow has quit IRC
[17:03:43] *** Trow has joined #angularjs
[17:03:48] *** zarglex has quit IRC
[17:04:06] *** Evanion has quit IRC
[17:04:20] *** soee_ is now known as soee
[17:04:44] *** alinou has quit IRC
[17:04:53] *** rtpg_ has quit IRC
[17:04:53] *** whitebook has quit IRC
[17:04:56] *** annlewis_ has joined #angularjs
[17:05:00] *** rho_ has joined #angularjs
[17:05:07] *** rho has quit IRC
[17:05:40] *** sl33k_ has joined #angularjs
[17:06:48] *** mikerrrrrr has joined #angularjs
[17:08:11] *** ximenean___ has joined #angularjs
[17:08:30] *** rho_ is now known as rho
[17:08:49] *** chrisshattuck has quit IRC
[17:08:52] *** conan_the_destro has joined #angularjs
[17:09:00] *** Trow has quit IRC
[17:09:06] *** jonathanpglick has joined #angularjs
[17:09:32] *** aminRX has quit IRC
[17:09:40] *** Fishy__ has joined #angularjs
[17:09:41] *** Trow has joined #angularjs
[17:10:26] *** rtpg has joined #angularjs
[17:10:42] *** rickhanlonii has quit IRC
[17:10:55] *** chrisshattuck has joined #angularjs
[17:11:31] *** kapil__ has quit IRC
[17:11:48] *** SFeser has quit IRC
[17:12:07] *** Fishy__ is now known as Fishy_
[17:12:23] *** Fishy_ is now known as Fishy
[17:12:25] *** ximenean___ has quit IRC
[17:13:26] *** rickhanlonii has joined #angularjs
[17:14:22] *** sacho_ has quit IRC
[17:14:31] *** evotuned has joined #angularjs
[17:14:52] *** rtpg has quit IRC
[17:15:26] *** Zaza has joined #angularjs
[17:15:37] *** loverajoel has joined #angularjs
[17:15:45] *** andreypopp__ is now known as andreypopp
[17:16:18] <saucey> have yuou guys used tinymce with angularjs?
[17:16:31] <saucey> whats the best way to combine the both?
[17:16:45] *** tSpartak has joined #angularjs
[17:17:43] *** CanyonMan has quit IRC
[17:18:51] *** paypaul has joined #angularjs
[17:18:52] *** Trow has quit IRC
[17:18:55] *** paypaul is now known as PayPaul
[17:19:03] *** Trow has joined #angularjs
[17:19:22] *** aminRX has joined #angularjs
[17:19:25] <Sawbones> saucey: make a directive that calls it's jquery
[17:19:48] <saucey> how do you mean
[17:20:04] *** pilva1 has joined #angularjs
[17:20:27] *** Sadin has joined #angularjs
[17:20:27] *** loverajo_ has joined #angularjs
[17:21:43] *** pilva1 has quit IRC
[17:22:04] *** basiclaser_ has quit IRC
[17:22:25] *** jhooks has joined #angularjs
[17:23:51] *** loverajoel has quit IRC
[17:24:08] *** ejb has quit IRC
[17:24:48] *** ChadStrat has joined #angularjs
[17:25:05] *** ish has left #angularjs
[17:25:14] *** BillCris_ has joined #angularjs
[17:25:32] *** Rodrive has joined #angularjs
[17:25:36] *** woah has joined #angularjs
[17:25:42] *** ejb has joined #angularjs
[17:26:24] *** foofoobar has joined #angularjs
[17:26:46] *** arabot has joined #angularjs
[17:27:08] *** CHC has joined #angularjs
[17:27:37] *** foofoobar has quit IRC
[17:27:45] *** Rodrive has quit IRC
[17:27:55] *** rtpg has joined #angularjs
[17:28:16] *** BillCriswell has quit IRC
[17:28:37] *** Trow has quit IRC
[17:28:57] *** Trow has joined #angularjs
[17:29:28] *** boberober has joined #angularjs
[17:29:48] *** boberober has quit IRC
[17:30:01] <jaawerth> saucey: I've never used it, but there's an angular-ui module for tinyMCE. It's also relatively easy to wrap in a directive. There are better, prettier angular modules for rich text editing, though - namely textAngular and... I think there's a decent angular module that wraps QuillJS, though I've never used it
[17:30:06] <jcool> is there a way to use export to excel in ui grid?
[17:30:29] <jcool> I know we can open csv in excel but any workaround possible to get it exported directly into excel format?
[17:30:31] *** NeilM has joined #angularjs
[17:30:40] <saucey> jaawerth do they all support image uploading
[17:30:54] <saucey> also i have oy that plnkr pastie
[17:31:11] *** NeilM has quit IRC
[17:31:16] <saucey> http://plnkr.co/edit/f70rwTbic1mtNBS2kphQ?p=preview
[17:31:36] *** angularBird has joined #angularjs
[17:31:49] <saucey> jaawerth:
[17:31:55] <jaawerth> uh definitely image inserting, not sure if it combines the upload into one thing
[17:32:04] <jaawerth> I don't have a ton of time to help with implementation today, though
[17:32:33] *** eburcat has joined #angularjs
[17:32:49] <jaawerth> oh, this is your tree directive - looking good
[17:32:50] <saucey> ok kool
[17:32:54] <saucey> yea
[17:33:39] *** matheusrocha89 has joined #angularjs
[17:34:07] <angularBird> I have: <option ng-repeat="obj in $parent.getMyObjects()" value="{{obj.value}}">{{obj.title}}</option> This seems to be calling my getMyObjects many many times. I am not sure if its doing so because of multiple digests, but it is really slowing everything down a lot. Anyone run into this before?
[17:34:09] *** sinclair_ has joined #angularjs
[17:34:21] <saucey> i wanted to put the LOOP into the link function and remove the repeat from the view so it reads <wrapper></wrapper>
[17:34:37] *** foofoobar has joined #angularjs
[17:34:53] *** SFeser has joined #angularjs
[17:35:02] *** yts_ has quit IRC
[17:35:09] *** snurfery has quit IRC
[17:35:09] *** retornam has quit IRC
[17:35:29] *** evanjs has quit IRC
[17:35:40] *** sinclair has quit IRC
[17:35:44] *** sinclair_ is now known as sinclair
[17:35:55] *** ctanga_ has joined #angularjs
[17:36:11] *** __alex_ has quit IRC
[17:36:22] *** thanhlk has joined #angularjs
[17:36:23] *** GutaFish has quit IRC
[17:36:34] *** greengriminal has quit IRC
[17:36:52] *** xzarxzes has joined #angularjs
[17:36:57] *** ctanga has quit IRC
[17:36:57] *** ctanga_ is now known as ctanga
[17:36:58] *** SargoDarya has joined #angularjs
[17:37:10] *** __alex has joined #angularjs
[17:37:18] *** busticated has joined #angularjs
[17:38:05] *** MistahKurtz has joined #angularjs
[17:38:08] *** swist has quit IRC
[17:38:36] *** retornam has joined #angularjs
[17:39:07] *** Trow has quit IRC
[17:39:53] *** Trow has joined #angularjs
[17:40:02] *** swist has joined #angularjs
[17:41:15] *** sacho_ has joined #angularjs
[17:41:16] *** swist has quit IRC
[17:41:23] *** SargoDarya has quit IRC
[17:41:39] *** swist has joined #angularjs
[17:42:06] *** PayPaul has quit IRC
[17:42:31] *** asheinfeld has joined #angularjs
[17:42:35] <saucey> ok do i use textangular or tinymce
[17:42:37] <saucey> ?
[17:43:38] <lawd> anyone have xp with smart table
[17:44:14] *** EQp has quit IRC
[17:44:28] *** thanhlk has quit IRC
[17:44:35] *** borgdrone7_ has quit IRC
[17:45:11] <jaawerth> saucey: you'll have to play with it a bit to get the ul stuff to render right and not indent too much, but here's the general idea http://plnkr.co/edit/kgKqWlL0vVq1oWCZyTro?p=preview
[17:45:28] <jaawerth> saucey: I know I said I can't help, but that one was quick enough that I figured I'd get you started, since I said I would ;-)
[17:45:40] <jaawerth> as for tinymce vs textangular, it depends on how pretty you want it to be
[17:45:51] <saucey> ok
[17:45:55] *** snadon has quit IRC
[17:46:13] *** D-Boy has quit IRC
[17:46:13] <jaawerth> textAngular also uses bootstrap's CSS and font-awesome to style everything and for the editor icons by default. it takes a little work to get the styling right if you want to use something else
[17:46:29] *** denysonique has quit IRC
[17:46:33] <saucey> does textangular support prettify?
[17:47:27] *** JeffBuhrt has quit IRC
[17:48:13] *** JeffBuhrt has joined #angularjs
[17:48:31] *** Rebirth has quit IRC
[17:48:53] *** Trow has quit IRC
[17:48:53] *** Rebirth has joined #angularjs
[17:49:08] <jaawerth> no idea. I didn't think tinymce did either without a plugin - which makes sense, since prettify is going to be pretty different depending on what kind of contenxt you're prettifying. You'd likely have to tie it into an angular module for that (or make one by wrapping a non-angular one)
[17:49:20] <jaawerth> takes some directive experience but it shouldn't be too difficult once you get used to directives
[17:49:23] *** annlewis_ has quit IRC
[17:49:42] *** Guest30837 is now known as rodr1go
[17:49:43] *** rodr1go has joined #angularjs
[17:49:45] <jaawerth> if you're doing code editing, though, I'd probably just use ACE editor
[17:49:48] *** Trow has joined #angularjs
[17:49:51] *** borgdrone7_ has joined #angularjs
[17:50:00] *** D-Boy has joined #angularjs
[17:50:16] <jaawerth> I've never actually set it up, but it's by far the best browser-based code editor
[17:50:38] <jaawerth> (it's what plnkr uses, and supports multiple themes, multiple cursors, a VIM mode option, and other fancy stuff)
[17:50:51] <fixxxermet> Anyone here familiar with dirPagination? I'm having a bit of trouble in setting the number of pages and total item count
[17:51:12] *** abram has joined #angularjs
[17:51:33] <saucey> ok i se
[17:51:42] <saucey> ACE editor il take a look
[17:51:45] <fixxxermet> I have my backend API set to return 25 events. I've told dirPagination that itemsPerPage is 25. When these values match, I don't get any pagination links. If I tell my backend to return 100 events, for example, then the page links appear
[17:51:48] *** AWAW has joined #angularjs
[17:51:52] <saucey> tinymce themes not too bad
[17:51:58] *** BahamutWC|Laptop has quit IRC
[17:52:03] *** xzarxzes has quit IRC
[17:52:48] *** b1rkh0ff has joined #angularjs
[17:52:49] <jaawerth> quill is by far the most powerful one I've seen
[17:53:04] *** Zaza has quit IRC
[17:53:08] *** angularBird has quit IRC
[17:53:09] <jaawerth> it even supports operational transformation, which is cool and would be useful for building an app that does concurrent editing
[17:53:13] *** matheusrocha89 has quit IRC
[17:53:37] *** rho has quit IRC
[17:54:53] <fixxxermet> Nevermind, I got it working - had a typo.
[17:54:59] *** DoubleAW has quit IRC
[17:56:29] *** saucey has quit IRC
[17:56:37] *** annlewis has joined #angularjs
[17:57:26] *** Aswebb_ has quit IRC
[17:58:19] *** asheinfeld has quit IRC
[17:58:53] *** snadon has joined #angularjs
[17:58:55] *** merobertsjr has joined #angularjs
[17:59:24] *** Trow has quit IRC
[17:59:25] *** ProLoser has joined #angularjs
[17:59:30] *** AWAW has quit IRC
[17:59:42] *** ehynds has joined #angularjs
[17:59:57] *** Trow has joined #angularjs
[18:00:27] *** PrinceAMD has quit IRC
[18:01:04] *** cakirke has quit IRC
[18:01:17] *** joy4u has joined #angularjs
[18:01:22] *** patrickarlt has joined #angularjs
[18:01:23] *** joy4u has left #angularjs
[18:01:25] *** asheinfeld has joined #angularjs
[18:01:37] *** joy4u has joined #angularjs
[18:01:48] *** evotuned has quit IRC
[18:02:01] *** AngularUI has joined #angularjs
[18:02:01] <AngularUI> [ng-grid] mathiasdose opened pull request #2464: Enh(cellNav) #2186 select multiple cells (master...cellMultiSelection) http://git.io/z9LWmw
[18:02:01] *** AngularUI has left #angularjs
[18:02:24] *** jacuqesdancona has quit IRC
[18:02:49] *** wayne has left #angularjs
[18:02:51] *** rtpg has quit IRC
[18:02:59] *** jacuqesdancona has joined #angularjs
[18:03:02] *** guffey has quit IRC
[18:03:09] *** diegoviola has joined #angularjs
[18:04:23] <joy4u> i am creating filter data in angular js but it is not working and here is the code https://gist.github.com/himadriganguly/92704b73b2cb4c5316b2
[18:05:55] *** sl33k_ has quit IRC
[18:05:57] *** navarette has joined #angularjs
[18:06:26] *** Aswebb_ has joined #angularjs
[18:06:32] *** Aswebb_ has quit IRC
[18:06:45] *** uris77 has quit IRC
[18:06:53] *** pilva has quit IRC
[18:07:17] *** jacuqesdancona has quit IRC
[18:07:37] *** pilva has joined #angularjs
[18:08:50] *** ximenean___ has joined #angularjs
[18:08:50] *** PrinceAMD has joined #angularjs
[18:09:08] *** woah has quit IRC
[18:09:27] *** Trow has quit IRC
[18:09:30] <joy4u> can anyone please point out what is the problem?
[18:09:45] *** Trow has joined #angularjs
[18:11:49] *** Fire-Dragon-DoL has joined #angularjs
[18:12:14] *** Nivag_ has joined #angularjs
[18:12:53] *** ximenean___ has quit IRC
[18:12:57] *** PeterMetz has joined #angularjs
[18:13:12] *** Fire-Dragon-DoL has joined #angularjs
[18:14:00] *** Slowintrepid has quit IRC
[18:14:21] *** aminRX has quit IRC
[18:14:47] *** ejb has quit IRC
[18:15:45] *** whitebook has joined #angularjs
[18:15:57] *** foofoobar has quit IRC
[18:16:24] *** juanpablo_ has quit IRC
[18:16:36] *** sl33k_ has joined #angularjs
[18:16:48] <icfantv> joy4u: one sec
[18:16:50] <icfantv> looking
[18:16:54] *** juanpablo_ has joined #angularjs
[18:16:55] *** PrinceAMD has quit IRC
[18:17:03] *** sacho_ has quit IRC
[18:17:09] *** opiates has quit IRC
[18:17:15] *** lawd has quit IRC
[18:17:52] *** richardbkr has joined #angularjs
[18:18:08] *** mspier|away is now known as mspier
[18:18:22] *** tangorri has quit IRC
[18:18:38] *** woah has joined #angularjs
[18:18:43] <icfantv> joy4u: try "filter:searchText:false"
[18:19:02] <icfantv> oh wait
[18:19:03] *** tristanp has joined #angularjs
[18:19:04] *** Trow has quit IRC
[18:19:30] <icfantv> joy4u: try that first please
[18:20:09] *** Trow has joined #angularjs
[18:20:10] *** BillCris_ is now known as BillCriswell
[18:20:17] *** whitebook has quit IRC
[18:20:29] *** renlo has joined #angularjs
[18:20:41] <joy4u> icfantv: no it is not working
[18:20:54] *** uris77 has joined #angularjs
[18:20:57] *** juanpablo_ has quit IRC
[18:21:00] *** Evanion has joined #angularjs
[18:21:15] <icfantv> joy4u: what behavior are you seeing? the syntax is correct so i'm wondering if it's a data issue
[18:21:42] <icfantv> joy4u: here's angular's filter example that does exactly what you are trying to do: https://docs.angularjs.org/api/ng/filter/filter
[18:22:05] <joy4u> all the data is displaying but the filter is not working
[18:22:07] <icfantv> joy4u: also, please check your chrome console to see if there's any red - indicating an error
[18:22:07] *** asheinfeld has quit IRC
[18:22:28] <joy4u> icfantv: no error
[18:23:33] <icfantv> joy4u: ok, hang on
[18:23:44] <joy4u> icfantv: ok
[18:24:08] *** ChadStrat has quit IRC
[18:26:03] *** grumpyOldRussian has quit IRC
[18:26:22] *** whunt has joined #angularjs
[18:26:24] *** loverajoel has joined #angularjs
[18:26:30] *** drag0nius has quit IRC
[18:26:49] *** loverajo_ has quit IRC
[18:28:17] *** AWAW has joined #angularjs
[18:28:24] *** PrinceAMD has joined #angularjs
[18:29:08] *** grumpyOl_ has joined #angularjs
[18:30:09] *** yuradoc_ has joined #angularjs
[18:30:19] *** DrFrog has quit IRC
[18:30:22] *** bilegt has joined #angularjs
[18:30:35] <bilegt> does ng-pattern use $watch?
[18:30:49] <BobbieBarker_> no
[18:31:07] *** matheusrocha89 has joined #angularjs
[18:31:15] *** asheinfeld has joined #angularjs
[18:31:42] *** AronBrrr has joined #angularjs
[18:33:03] <icfantv> joy4u: change searchText to search
[18:33:07] *** zemanel has quit IRC
[18:33:37] <icfantv> nm
[18:34:12] *** annlewis has quit IRC
[18:34:24] <fixxxermet> Could any of you point me at an angular-js alternative to jQueryUI's 'selectable' interaction?
[18:34:30] *** shpoont has quit IRC
[18:34:31] <icfantv> joy4u: i think your data needs to be an array, not an object
[18:34:31] *** a3gis has quit IRC
[18:34:44] <fixxxermet> That is, drag to select elements, and use your mount to individually select / delselct elements.
[18:34:55] *** Oddman has quit IRC
[18:34:58] *** shpoont has joined #angularjs
[18:35:04] <icfantv> joy4u: http://plnkr.co/edit/5ocsQdj91rd1AwYXCIEV
[18:35:29] *** Oddman has joined #angularjs
[18:36:20] *** SFeser has quit IRC
[18:36:25] *** wallerdev has joined #angularjs
[18:36:30] *** ejb has joined #angularjs
[18:37:19] *** torartc has joined #angularjs
[18:38:30] *** ziyadb has joined #angularjs
[18:38:34] *** Trow has quit IRC
[18:38:41] *** SargoDarya has joined #angularjs
[18:38:45] *** Trow has joined #angularjs
[18:39:25] *** AlexZan has quit IRC
[18:39:33] *** shpoont has quit IRC
[18:39:56] *** Oddman has quit IRC
[18:40:36] *** SchizoDaddy has joined #angularjs
[18:40:46] <SchizoDaddy> Hi all :) Any promise guru's around here?
[18:41:02] *** SchizoDaddy is now known as SchizoDuckie
[18:41:44] <SchizoDuckie> and / or WebSQL
[18:41:46] *** zeitgist has quit IRC
[18:42:02] *** juampy is now known as juampy_brb
[18:42:27] *** cleme1mp has joined #angularjs
[18:43:21] <SchizoDuckie> I have some angular/websql/promise based code that works in Chrome stable, but fails in Chrome dev/canary
[18:43:53] *** asheinfeld has quit IRC
[18:43:55] *** sbellina has joined #angularjs
[18:45:29] *** nickgs has quit IRC
[18:45:52] *** IvailoStoianov_ has joined #angularjs
[18:45:54] *** ink has joined #angularjs
[18:45:57] *** ink has left #angularjs
[18:46:05] *** nickgs has joined #angularjs
[18:46:06] *** skyx has quit IRC
[18:46:16] *** lsiv568 has quit IRC
[18:46:25] *** cleme1mp has quit IRC
[18:46:40] *** cleme1mp has joined #angularjs
[18:46:41] *** merobertsjr has quit IRC
[18:47:00] *** Oddman has joined #angularjs
[18:47:03] *** IvailoStoianov has quit IRC
[18:47:05] *** IvailoStoianov_ is now known as IvailoStoianov
[18:47:05] *** asheinfeld has joined #angularjs
[18:47:23] *** cleme1mp has quit IRC
[18:47:23] *** Bade has joined #angularjs
[18:47:42] *** cleme1mp has joined #angularjs
[18:48:28] *** fotoflo has joined #angularjs
[18:48:45] *** evotuned has joined #angularjs
[18:48:45] *** Oddman has quit IRC
[18:48:52] *** Trow has quit IRC
[18:49:09] *** Trow has joined #angularjs
[18:49:34] *** Oddman has joined #angularjs
[18:50:07] *** rikko has joined #angularjs
[18:50:13] *** merobertsjr has joined #angularjs
[18:50:40] *** nickgs has quit IRC
[18:50:54] *** frem has joined #angularjs
[18:51:12] *** annlewis has joined #angularjs
[18:51:27] *** bilegt has quit IRC
[18:52:47] <joy4u> icfantv: thanks buddy for the help
[18:53:43] *** nerdfiles has quit IRC
[18:53:48] *** Evanion has quit IRC
[18:54:04] <icfantv> joy4u: sure.
[18:54:37] *** b1rkh0ff has quit IRC
[18:54:54] <icfantv> SchizoDuckie: i could take a look, but if you're using bleeding edge browsers, YMMV
[18:55:14] <icfantv> SchizoDuckie: especially if you already have it working on chrome stable.
[18:55:43] *** foofoobar has joined #angularjs
[18:55:43] *** asheinfe_ has joined #angularjs
[18:55:47] *** Pookz has quit IRC
[18:55:55] <icfantv> SchizoDuckie: unless you're looking to file a bug against the dev version...
[18:56:04] <SchizoDuckie> it's failing on dev as well :)
[18:56:26] *** SFeser has joined #angularjs
[18:56:38] *** asheinfeld has quit IRC
[18:57:12] *** swist has quit IRC
[18:58:28] <icfantv> fixxxermet: you can still use jquery UI within angular. it's especially useful/easy from within directives. the only thing you need to be careful of is changing the model outside of the $digest loop.
[18:58:32] <Gabriel403> When defining a factory that returns a $resource, my api is an external url, is it possible to set a default for it so I don't have to keep `return $resource('http://api.dev:3000/build_stages/')` and can just do `return $resource('/build_stages/')`
[18:58:34] *** lewdev has joined #angularjs
[18:58:39] <icfantv> fixxxermet: maybe this will help? http://stackoverflow.com/questions/15051253/how-to-update-selected-itmes-of-jqueryui-selectable-with-angularjs
[18:58:44] *** ProLoser has quit IRC
[18:59:11] *** ries has quit IRC
[18:59:19] *** Trow has quit IRC
[18:59:35] *** Trow has joined #angularjs
[18:59:46] *** ries has joined #angularjs
[18:59:54] <icfantv> Gabriel403: $resource paths are already relative. but I'm not sure you should be returning a $resource from your factory. typically, you create the $resource in the factory, and expose the defined methods therein.
[19:00:08] *** SargoDarya has quit IRC
[19:00:11] *** mzabriskie has joined #angularjs
[19:00:13] *** shpoont has joined #angularjs
[19:00:47] *** saucey has joined #angularjs
[19:00:56] *** Evanion has joined #angularjs
[19:01:05] <icfantv> Gabriel403: are you trying to make REST calls against a different server than the one on which your UI is running?
[19:01:12] <Gabriel403> yeh
[19:02:21] <Gabriel403> which is why I have to put the'http://api.dev:3000/' bit, was hoping there was some way of just setting that once
[19:02:26] *** Guest33 has quit IRC
[19:02:32] *** asheshambasta has quit IRC
[19:02:42] <icfantv> Gabriel403: i don't know off the top of my head. you may want to take a look at Restangular. the devs here seem to prefer it significantly over $resource
[19:02:44] *** Zenithar has quit IRC
[19:03:35] *** rtpg has joined #angularjs
[19:03:41] *** zeezey has joined #angularjs
[19:03:41] <icfantv> Gabriel403: if you had your factory NOT return a $resource, then I don't think you'd need to do it more than once because you'd only be exposing method calls against the $resource.
[19:03:58] <icfantv> Gabriel403: but there is a way to set defaults. one sec. $resource is just a wrapper around $http
[19:04:09] *** qdk has quit IRC
[19:04:48] *** asheinfe_ has quit IRC
[19:05:15] *** Milkweed has quit IRC
[19:05:23] *** asheinfeld has joined #angularjs
[19:06:24] *** shackleford has quit IRC
[19:06:29] <SchizoDuckie> Gabriel403: on top of that, won't you get in problems with CORS ?
[19:06:47] <icfantv> Gabriel403: you can configure the $resourceProvider, but the only supported option right now is whether or not to strip any trailing slashes
[19:06:53] <Gabriel403> SchizoDuckie: that's handled by the api
[19:07:04] <SchizoDuckie> ok.
[19:07:12] <BobbieBarker_> restangular is the shit
[19:07:23] <BobbieBarker_> you should be using that if you're building a serious app
[19:07:24] <icfantv> Gabriel403: ^^
[19:07:38] *** rajatarora has joined #angularjs
[19:07:51] *** juampy_brb is now known as juampy
[19:07:53] <Gabriel403> icfantv: ok I'll have a poke with tweaking the factory and look at restangular
[19:07:58] <Gabriel403> tah
[19:08:26] <BobbieBarker_> who has questions, it's a slow day at the office
[19:08:33] <BobbieBarker_> so i'm going to answer questions on here
[19:08:38] *** evilaliv3 has quit IRC
[19:08:52] <SchizoDuckie> i've got a nice one BobbieBarker_
[19:09:09] <SchizoDuckie> https://dl.dropboxusercontent.com/u/44645464/crudtest/index.html <-- why does this fail on chrome dev/canary, but not on chrome stable?
[19:09:12] *** komlev_ has joined #angularjs
[19:09:19] <BobbieBarker_> i'll try to answer it as long as it's not something uber retarded like why doesn't angular work with my .net served HTML views
[19:09:23] *** Trow has quit IRC
[19:09:34] *** ximenean___ has joined #angularjs
[19:09:40] <BobbieBarker_> SchizoDuckie: isn't the answer in the question? It fails on on unstable build of chrome lol
[19:10:03] *** Trow has joined #angularjs
[19:10:04] <SchizoDuckie> that is a possible answer, but too simple
[19:10:09] <SchizoDuckie> i'd like to know the why
[19:10:27] <BobbieBarker_> let me take a look
[19:10:28] <SchizoDuckie> it *does* seem that way
[19:10:45] <msg> hey all :)
[19:10:48] <SchizoDuckie> but i cannot tell anymore if i'm doing something wrong with promise error handling, or that chrome changed it's websql implementation
[19:10:51] <SchizoDuckie> hi msg :)
[19:10:55] *** rtpg has quit IRC
[19:11:01] <msg> Is there a way to store the state of a page after you move away?
[19:11:11] <BobbieBarker_> what do you mean by "
[19:11:12] *** ejb has quit IRC
[19:11:13] <BobbieBarker_> state
[19:11:16] <BobbieBarker_> "state"
[19:11:19] *** MetaCosm_ has quit IRC
[19:11:27] <msg> As in, i get routed to a new partial, then i click back, and its like the page is totally reloaded
[19:11:40] *** shampine has joined #angularjs
[19:11:46] <BobbieBarker_> SchizoDuckie: i could answer the promise question if you make the code available some where, like a plunk
[19:11:48] <msg> (it was pulled down by AJAX, but Id rather the DOM was in exactly the same state as when i left it)
[19:12:08] <BobbieBarker_> so the user can make changes?
[19:12:12] <msg> yeah
[19:12:13] <BobbieBarker_> like show/hide stuff
[19:12:16] <SchizoDuckie> i'll create a plunkr BobbieBarker_
[19:12:18] <msg> Exactly
[19:12:29] <BobbieBarker_> so easiest way to handle that would probably be to store those variables in a session
[19:12:36] <BobbieBarker_> so they are persistent
[19:12:38] *** zeitgist has joined #angularjs
[19:12:41] <msg> hm, ok :)
[19:13:08] <BobbieBarker_> that's pretty easy stuff to do
[19:13:10] *** juanpablo_ has joined #angularjs
[19:13:37] *** jacuqesdancona has joined #angularjs
[19:13:51] *** WeezeyD has joined #angularjs
[19:13:55] <BobbieBarker_> SchizoDuckie: as far as that being a bug in canary... i mostly just want to answer angular/web dev questions lol, but i can verify if your angular is ok. and if it is then that points more towards canary having a problem.
[19:14:02] *** ximenean___ has quit IRC
[19:14:25] *** Evanion has quit IRC
[19:14:32] *** asheinfeld has quit IRC
[19:14:32] *** shinnya- has joined #angularjs
[19:14:43] *** s_e_ has joined #angularjs
[19:14:45] *** woah has quit IRC
[19:15:07] *** nerdfiles has joined #angularjs
[19:15:13] *** threepwood has joined #angularjs
[19:15:26] *** ChadStrat has joined #angularjs
[19:15:37] *** threepwood is now known as Guest90961
[19:15:40] *** Zenithar has joined #angularjs
[19:16:08] *** ShaiTan has joined #angularjs
[19:16:22] *** mitc0185 has joined #angularjs
[19:16:31] <msg> okay
[19:16:38] <msg> new question :P
[19:16:41] *** komlev_ has quit IRC
[19:16:45] <msg> Can you fire an event when you leave a page
[19:16:53] <BobbieBarker_> are you using ui-router?
[19:17:11] <BobbieBarker_> if so that's super trivial
[19:17:23] *** mspier is now known as mspier|away
[19:17:31] *** ejb has joined #angularjs
[19:17:36] <msg> So, say, user is currently on /orders, and they click on <a href="/whatever">, and leavingOrders() fires
[19:17:41] <msg> but if they were on /somethingelse when they went to /whatever it wouldn't
[19:17:49] <msg> BobbieBarker_: i think so
[19:17:53] *** jacuqesdancona has quit IRC
[19:17:54] <SchizoDuckie> I stripped the angular from my testcase BobbieBarker_
[19:18:00] <SchizoDuckie> but here it is, if you want to take a look: http://plnkr.co/edit/dg28AvYXHfdSGuD4XREI?p=preview
[19:18:01] *** MetaCosm has joined #angularjs
[19:18:08] *** mikeyeee has joined #angularjs
[19:18:10] *** in2rd has quit IRC
[19:18:14] *** bealtine^ has joined #angularjs
[19:18:21] *** asheinfeld has joined #angularjs
[19:18:28] <msg> ng-view and $routeProvider
[19:18:28] <msg> (and $locationProvider)
[19:18:32] *** pilva has quit IRC
[19:19:00] *** zeitgist has quit IRC
[19:19:07] <BobbieBarker_> well if you're using ui-router msg you can use $rootScope.$on('$stateChangeStart', function(){}) to handle an event
[19:19:09] <BobbieBarker_> on state change
[19:19:09] <Lewix> what does that mean resolve - {Object.<string, function>=}
[19:19:14] <Lewix> unreadable
[19:19:15] *** jMyles has joined #angularjs
[19:19:30] *** bealtine^ has quit IRC
[19:19:48] *** s00pcan__ has joined #angularjs
[19:19:52] <BobbieBarker_> i'm not sure if routeProvider has the same capability. I only ever use ui-router in my projects
[19:19:55] <msg> BobbieBarker_: oh, ive never seen $rootScope before, or $stateChangeStart, so maybe i am not
[19:20:05] <msg> Im just using .config($routeProvider.when(.....)
[19:20:08] *** BahamutWC|Work has quit IRC
[19:20:11] <BobbieBarker_> well $rootScope is core angular.
[19:20:12] <msg> oh ok
[19:20:35] <BobbieBarker_> you may want to look at ui-router, it fills your routing full of awesomness.
[19:20:59] *** shinnya_ has quit IRC
[19:21:09] <BobbieBarker_> it will give you access to these events
[19:21:15] <BobbieBarker_> $stateChangeStart
[19:21:16] <BobbieBarker_> $stateChangeSuccess
[19:21:20] *** snurfery has joined #angularjs
[19:21:29] <BobbieBarker_> among other things
[19:21:42] *** arpu has quit IRC
[19:21:53] <BobbieBarker_> https://github.com/angular-ui/ui-router
[19:22:39] *** deez79 has quit IRC
[19:22:40] *** marius__ has quit IRC
[19:22:44] *** NpBisket has joined #angularjs
[19:22:44] *** LakWork has joined #angularjs
[19:24:36] *** slopjong has joined #angularjs
[19:24:46] *** bmonty_ has joined #angularjs
[19:24:48] *** soee_ has joined #angularjs
[19:24:50] *** SFeser has quit IRC
[19:25:03] *** BahamutWC|Work has joined #angularjs
[19:25:33] *** cthrax has quit IRC
[19:25:43] <BahamutWC|Work> g’morning #angularjs
[19:25:52] <BobbieBarker_> SchizoDuckie: is that CRUD.sqliteAdapter.js a 3rd party lib?
[19:25:56] *** evilaliv3 has joined #angularjs
[19:26:06] <SchizoDuckie> Yes, my own, actually :)
[19:26:07] <BobbieBarker_> whats up BahamutWC|Work
[19:26:11] *** opiates has joined #angularjs
[19:26:25] <BahamutWC|Work> tired :(
[19:26:31] <BahamutWC|Work> I want more vacation
[19:26:32] *** Zebra111_ has joined #angularjs
[19:26:35] <BobbieBarker_> SchizoDuckie: that's legit work
[19:26:41] *** juampy is now known as juampy_backlater
[19:26:41] <SchizoDuckie> thank u very much :)
[19:26:43] <BahamutWC|Work> although I guess I can’t complain too much, only working two days this week
[19:26:49] *** s00pcan_1 has joined #angularjs
[19:26:53] *** bmac_ has joined #angularjs
[19:26:53] <BobbieBarker_> BahamutWC: same here.. but i find it kind of pointless
[19:27:11] *** Weezey has quit IRC
[19:27:11] *** s_e has quit IRC
[19:27:11] *** mikerrrrrr has quit IRC
[19:27:12] *** s_e_ is now known as s_e
[19:27:14] *** fotoflo has quit IRC
[19:27:14] *** Fire-Dragon-DoL has quit IRC
[19:27:15] *** bmac has quit IRC
[19:27:15] *** japhar81 has quit IRC
[19:27:16] *** s00pcan has quit IRC
[19:27:17] *** Thorn has quit IRC
[19:27:17] *** crawleyprint has quit IRC
[19:27:18] *** guilbep has quit IRC
[19:27:20] *** Zebra111 has quit IRC
[19:27:20] *** Shai_Tan has quit IRC
[19:27:20] *** ycodr has quit IRC
[19:27:21] *** bmonty has quit IRC
[19:27:21] *** bealtine has quit IRC
[19:27:22] *** rmaceissoft has quit IRC
[19:27:23] *** ASUChander has quit IRC
[19:27:23] *** s00pcan_ has quit IRC
[19:27:24] *** bmonty_ is now known as bmonty
[19:27:25] *** Guest90961 is now known as crawleyprint
[19:27:25] <SchizoDuckie> I still need to finish the indexedb adapter some time
[19:27:25] <BahamutWC|Work> hm?
[19:27:48] *** PrinceAMD has quit IRC
[19:27:55] *** torando has joined #angularjs
[19:28:00] *** Greed` has joined #angularjs
[19:28:03] *** asheinfeld has quit IRC
[19:28:13] *** guilbep has joined #angularjs
[19:28:22] <SchizoDuckie> it's actually an almost 1:1 port of my little PHP ORM :)
[19:28:34] *** jayne_ has joined #angularjs
[19:28:39] *** zeezey has quit IRC
[19:28:45] *** soee has quit IRC
[19:28:52] *** cthrax has joined #angularjs
[19:28:53] *** matheusrocha89 has quit IRC
[19:29:08] <BobbieBarker_> i told my team that today is the only day we're deploying code,
[19:29:09] <BobbieBarker_> i'll deploy hotfixes tomarrow
[19:29:22] *** Zenithar has quit IRC
[19:29:22] *** scav has quit IRC
[19:29:23] *** BombStrike has quit IRC
[19:29:25] *** nabdev has quit IRC
[19:29:27] *** ajpiano has quit IRC
[19:29:29] <BobbieBarker_> but nothing major, i'm not answering any phone calls on thursday for shit that broke
[19:29:29] <BobbieBarker_> SchizoDuckie: when you had the angular shit in here where you using $q for your promises?
[19:29:33] <BobbieBarker_> http://plnkr.co/edit/dg28AvYXHfdSGuD4XREI?p=preview
[19:29:42] *** rickhanlonii has quit IRC
[19:29:46] *** jayne has quit IRC
[19:29:46] <BobbieBarker_> BahamutWC: this dude wrote this crazy lib for using sqlite
[19:29:47] <SchizoDuckie> yes BobbieBarker_
[19:29:47] *** Zenithar has joined #angularjs
[19:29:49] *** MLMitch has quit IRC
[19:29:49] *** ollie has quit IRC
[19:29:51] *** mspier|away has quit IRC
[19:29:55] *** ajpiano has joined #angularjs
[19:29:56] *** r4vi has quit IRC
[19:29:59] <BobbieBarker_> SchizoDuckie: tell BahamutWC what you did
[19:30:01] *** mspier has joined #angularjs
[19:30:11] *** scav has joined #angularjs
[19:30:11] <BahamutWC|Work> I’m leaving my work laptop at work for the rest of the week
[19:30:12] <SchizoDuckie> BahamutWC: I have a tiny little javascript ORM
[19:30:17] *** fairuz has joined #angularjs
[19:30:18] <BahamutWC|Work> flying to Houston for a wedding, so nope, no work
[19:30:20] *** cswelin- has joined #angularjs
[19:30:27] <BobbieBarker_> anyways it works fine in chrome stable, but doesn't work in canary
[19:30:31] <SchizoDuckie> that takes care of setting up databases, migrations, auto-persist
[19:30:35] *** MLMitch has joined #angularjs
[19:30:43] *** Marble68 has quit IRC
[19:30:45] *** ollie has joined #angularjs
[19:30:49] <SchizoDuckie> https://github.com/SchizoDuckie/CreateReadUpdateDelete.js
[19:30:50] *** lsiv568 has joined #angularjs
[19:30:53] <BahamutWC|Work> :O
[19:31:09] *** asheinfeld has joined #angularjs
[19:31:09] *** Fire-Dragon-DoL has joined #angularjs
[19:31:10] *** Greed has quit IRC
[19:31:11] *** cswelin has quit IRC
[19:31:18] *** Fire-Dragon-DoL has quit IRC
[19:31:22] <BobbieBarker_> it's legit, SchizoDuckie i think the problem is with canary, probably something they mucked up that won't make it to stable.
[19:31:24] *** BombStrike has joined #angularjs
[19:31:33] <BobbieBarker_> i would raise an issue with them about it though just to make sure they're tracking
[19:31:36] *** swist has joined #angularjs
[19:31:37] *** Marble68_ has joined #angularjs
[19:31:37] *** ycodr has joined #angularjs
[19:31:37] *** ASUChander has joined #angularjs
[19:31:37] *** abram_ has joined #angularjs
[19:31:38] <BobbieBarker_> your libs look solid though
[19:31:48] *** woah has joined #angularjs
[19:31:52] *** ome has quit IRC
[19:31:54] <SchizoDuckie> thanks, and I already have, just thought maybe someone would have some insights
[19:32:04] *** r4vi has joined #angularjs
[19:32:12] *** Snugug has quit IRC
[19:32:17] <BobbieBarker_> nah i can't get any easy insight and in the interest of honesty i don't have the time to dig deep into why canary is choking and dieing on this.
[19:32:26] <SchizoDuckie> the problem must not be in the lib indeed, because that code works on thousands of systems where i have duckietv installed and works for several work related projects as well
[19:32:34] *** zeezey has joined #angularjs
[19:32:36] *** grumpyOl_ has quit IRC
[19:32:44] <BobbieBarker_> where do you work at? I don't see many examples of legit work in here. MOstly just people asking entry level questions
[19:32:46] <SchizoDuckie> I wasn't expecting that, but thanks very much for having a look :)
[19:33:01] <SchizoDuckie> a small company in the netherlands, you've never heard of them
[19:33:09] <BobbieBarker_> fair enough
[19:33:15] *** ColKurtz has joined #angularjs
[19:33:16] <BobbieBarker_> well keep up the good work dude
[19:33:20] *** fotoflo has joined #angularjs
[19:33:20] *** chamarts has joined #angularjs
[19:33:21] <SchizoDuckie> thanks a lot :)
[19:33:26] <BobbieBarker_> np dude
[19:33:39] <chamarts> how can I stop ur change in address bar ?
[19:33:58] <BahamutWC|Work> SchizoDuckie: any plans on adding IndexedDB support?
[19:34:01] <BobbieBarker_> chamarts: you're going to have to reword that question.
[19:34:02] <breakingthings> chamarts: what?
[19:34:09] <SchizoDuckie> i have something half-finished BahamutWC
[19:34:22] <SchizoDuckie> that's the reasons there is sqliteadapter as well :)
[19:34:29] <SchizoDuckie> maybe sometime also a rest adapter when i have a need for it
[19:34:29] <chamarts> my url changes on every navigation like /#/registration /#/info
[19:34:35] <chamarts> I don't want my url to change in address bar
[19:34:46] <chamarts> rather it should be always /MyAppContext
[19:34:48] *** abram has quit IRC
[19:34:50] <chamarts> without #
[19:34:52] <SchizoDuckie> chamarts: look into html5mode
[19:34:57] *** platonic has quit IRC
[19:35:11] <SchizoDuckie> and changing urls is iffy without using #
[19:35:14] *** Fire-Dragon-DoL has joined #angularjs
[19:35:17] <BobbieBarker_> well if you want you can do what SchizoDuckie just suggested and you can have clean URL's, but you'll loose any chance at supporting older browsers
[19:35:20] <SchizoDuckie> history.pushstate is a nasty thing
[19:35:24] <BobbieBarker_> i think only i.e9+ supports that
[19:35:25] <BahamutWC|Work> needs server-side config too
[19:35:38] <BobbieBarker_> yeah what SchizoDuckie said, history.pushstate can be a bitch
[19:35:46] <BahamutWC|Work> it’s a pita for little gain IMO
[19:35:53] <BobbieBarker_> i agree
[19:36:04] <SchizoDuckie> and it always breaks the user's expection / flow
[19:36:15] <BobbieBarker_> http://docs.divshot.com/integrations/angularjs
[19:36:31] <BahamutWC|Work> you don’t get any functional benefits, and it creates more failure points
[19:36:36] *** ntbisket has joined #angularjs
[19:36:40] *** nickgs has joined #angularjs
[19:36:44] *** matheusrocha89 has joined #angularjs
[19:36:51] <BahamutWC|Work> harder to get protractor set up if you want to do E2E tests too I’d guess as well
[19:36:54] *** NpBisket has quit IRC
[19:36:57] <BobbieBarker_> not that i give a shit about supporting i.e8, but if a user hits it with i.e8 it will implode on itself
[19:37:15] *** shackleford has joined #angularjs
[19:37:28] <SchizoDuckie> IE <10 should die
[19:37:37] <breakingthings> (IE should die)
[19:37:37] <SchizoDuckie> i'm so happy i live in a webkit world at work
[19:37:39] <BobbieBarker_> SchizoDuckie: i agree
[19:37:53] <BahamutWC|Work> Safari 7 should die too
[19:37:53] <BobbieBarker_> 70% of my traffic is chrome
[19:38:05] <BobbieBarker_> .5% is ie.8. Consquently i don't support ie8
[19:38:11] *** eburcat has quit IRC
[19:38:11] *** bealtine has joined #angularjs
[19:38:16] *** qdk has joined #angularjs
[19:38:18] <BahamutWC|Work> Safari 7 with SVG makes me a sad panda
[19:38:36] <BobbieBarker_> my big 3 are chrome, ie, and firefox
[19:38:37] *** rajatarora has quit IRC
[19:38:38] *** cotko has quit IRC
[19:38:46] <BahamutWC|Work> basically have to wrap every SVG element of interest in a g element due to Safari’s crap
[19:39:07] <BobbieBarker_> what irks me about safari is the massive differences in how it decides to handle stuff
[19:39:09] <BobbieBarker_> across platform
[19:39:19] *** rajatarora has joined #angularjs
[19:39:38] <BobbieBarker_> that and the fact that their supposed to be a webkit browser but don't follow the standards
[19:39:44] <BobbieBarker_> on everything
[19:39:46] <BobbieBarker_> which is assnine
[19:39:47] <SchizoDuckie> safari has become a massive PITA as well
[19:39:59] *** rikko has quit IRC
[19:40:00] <SchizoDuckie> a browser that i can only debug on a mac? come on man.
[19:40:06] <BahamutWC|Work> Safari is gonna be worse than IE in a few years I bet
[19:40:10] <BobbieBarker_> I agree
[19:40:13] *** rikko has joined #angularjs
[19:40:22] *** rajatarora has quit IRC
[19:40:41] <SchizoDuckie> i've been doing ipad/hybrid development a couple years back when they were first introduced
[19:40:41] <BobbieBarker_> the difference is microsoft has realized that their browser needs TLC and they are trying to make it better. Apple doesn't give a shit, apple just does what ever the fuck they're going to do
[19:40:42] *** asheinfeld has quit IRC
[19:40:45] <SchizoDuckie> such a fucking bitch to debug
[19:40:46] *** rajatarora has joined #angularjs
[19:40:49] *** ehynds has quit IRC
[19:40:57] *** matheusrocha89 has quit IRC
[19:41:03] <BahamutWC|Work> at least Android hybrid dev has Chrome for debugging, which is nice
[19:41:12] <BobbieBarker_> no doubt
[19:41:33] *** tristanp has quit IRC
[19:41:34] <SchizoDuckie> some dude just knocked up webkit inspector integration via nodejs for all platforms
[19:41:46] <BobbieBarker_> interesting
[19:41:58] *** shackleford has quit IRC
[19:42:12] <SchizoDuckie> https://kenneth.io/blog/2014/12/28/taking-chrome-devtools-outside-the-browser/
[19:42:43] *** guilbep has quit IRC
[19:42:55] *** woah has quit IRC
[19:43:01] *** asheinfeld has joined #angularjs
[19:43:36] *** evilaliv3 has quit IRC
[19:45:37] *** Lewix has quit IRC
[19:46:23] *** fotoflo has quit IRC
[19:46:57] *** Lewix has joined #angularjs
[19:46:59] *** mikeyeee has quit IRC
[19:47:31] *** SFeser has joined #angularjs
[19:48:20] *** fotoflo has joined #angularjs
[19:48:23] *** loverajo_ has joined #angularjs
[19:48:44] *** loverajoel has quit IRC
[19:49:06] *** joy4u1 has joined #angularjs
[19:49:10] *** joy4u has quit IRC
[19:49:23] *** joy4u1 has quit IRC
[19:50:24] *** jtimon has quit IRC
[19:50:46] *** Snugug has joined #angularjs
[19:51:14] *** nerdfiles has quit IRC
[19:51:19] *** fedenunez has quit IRC
[19:51:27] *** nerdfiles has joined #angularjs
[19:51:58] *** fedenunez has joined #angularjs
[19:52:59] *** woah has joined #angularjs
[19:53:03] *** nuizzy has joined #angularjs
[19:53:26] *** fairuz has quit IRC
[19:54:20] *** MistahKurtz has quit IRC
[19:54:36] *** borgdrone7_ has quit IRC
[19:54:51] *** annlewis has quit IRC
[19:55:31] *** zeezey has quit IRC
[19:55:59] *** nickgs has quit IRC
[19:57:13] *** SargoDarya has joined #angularjs
[19:57:29] *** zeezey has joined #angularjs
[19:57:37] *** Grumelo has quit IRC
[19:58:03] *** platonic has joined #angularjs
[19:58:40] *** startupality has joined #angularjs
[19:58:45] *** nemothekid has joined #angularjs
[19:58:49] *** tristanp has joined #angularjs
[19:59:11] *** Aliks has joined #angularjs
[19:59:12] *** grumpyOldRussian has joined #angularjs
[19:59:31] *** richardbkr has quit IRC
[20:00:19] *** de has joined #angularjs
[20:00:50] *** chrisshattuck has quit IRC
[20:01:15] *** de has left #angularjs
[20:02:46] *** Milkweed has joined #angularjs
[20:03:19] *** asheinfe_ has joined #angularjs
[20:03:23] *** asheinfeld has quit IRC
[20:03:29] *** rikko has quit IRC
[20:03:34] *** swist has quit IRC
[20:05:15] *** Reskp has joined #angularjs
[20:05:20] *** shackleford has joined #angularjs
[20:05:44] *** nickgs has joined #angularjs
[20:05:52] *** rickhanlonii has joined #angularjs
[20:06:06] *** Circlefusion has quit IRC
[20:06:19] *** prbc_ has joined #angularjs
[20:06:27] *** loverajo_ has quit IRC
[20:06:31] *** jeremyw_ has joined #angularjs
[20:06:48] *** say2joe has joined #angularjs
[20:07:03] *** richardbkr has joined #angularjs
[20:08:33] <jeremyw_> How do I configure routeProvider to only handle some URLs and let everything be handled by the browser in the default way?
[20:08:47] *** caitp has joined #angularjs
[20:08:51] <jeremyw_> .. everything _else_
[20:09:06] *** SomeKittens has joined #angularjs
[20:09:31] *** startupality has quit IRC
[20:10:03] <Foxandxss> what's the default way?
[20:10:04] <SchizoDuckie> that happens automagically doens't it jeremyw_?
[20:10:17] <SchizoDuckie> $routeprovider handles the routes when it's loaded
[20:10:19] *** ximenean___ has joined #angularjs
[20:10:25] *** asheinfe_ has quit IRC
[20:10:28] <SchizoDuckie> Or i'm missing part of your point
[20:10:32] <jeremyw_> I have a number of when's. Other URLs seem to be do nothing when routeProvider is active.
[20:10:45] *** say2joe has quit IRC
[20:10:52] <SchizoDuckie> and how do you call other urls?
[20:10:56] *** say2joe has joined #angularjs
[20:11:01] <jeremyw_> e.g. when('/a').when('b'). But /other/thing doesn't work when routeProvider is active.
[20:11:02] <SchizoDuckie> you can just use window.location or regular a hrefs
[20:11:25] *** swist has joined #angularjs
[20:12:17] <SchizoDuckie> do you mean .otherwise ?
[20:12:30] <jeremyw_> I don't have an otherwise() specified.
[20:12:52] <SchizoDuckie> isn't that what you need to do then?
[20:13:01] <jeremyw_> So an <a href="/other/thing">...</a> doesn't go anywhere when my routeProvider is commented in.
[20:13:29] *** asheinfeld has joined #angularjs
[20:13:36] <jeremyw_> I want routeProvider to handle specific URLs and leave everything else to the standard browser<->backend.
[20:13:42] *** shackleford has quit IRC
[20:14:10] <jeremyw_> What does routeProvider do by default for unspecified things?
[20:14:16] *** shackleford has joined #angularjs
[20:14:23] *** rileylark has quit IRC
[20:14:35] *** startupality has joined #angularjs
[20:14:48] *** ximenean___ has quit IRC
[20:15:13] *** zeitgist has joined #angularjs
[20:16:05] *** ntbisket has quit IRC
[20:16:11] <SchizoDuckie> jeremyw_: https://thinkster.io/egghead/redirect-to/
[20:16:18] <SchizoDuckie> check the last part there, and put that in otherwise()
[20:16:39] *** pilva has joined #angularjs
[20:16:43] <SchizoDuckie> so you redirect to a custom parsed route (built from the routeParams,path and search) from the .otherwise
[20:16:49] <Lewix> resolve can return a string, right?
[20:16:49] *** rikko has joined #angularjs
[20:17:01] <Lewix> the property in routeprovider
[20:17:05] *** say2joe has quit IRC
[20:17:11] <SchizoDuckie> yes, but jeremyw_ wants to actually redirect to the route provided
[20:17:21] *** jonathanpglick has quit IRC
[20:17:23] *** SargoDarya has quit IRC
[20:17:31] <jeremyw_> Right, I just want unspecified URLs to hit the backend.
[20:17:40] *** say2joe has joined #angularjs
[20:17:44] *** Reskp has quit IRC
[20:17:46] <jeremyw_> So I have to manually construct them in otherwise?
[20:17:55] <jeremyw_> I was hoping there was a passthru mechanism of some kind. :)
[20:17:56] <SchizoDuckie> that would be my best guess
[20:17:57] *** mzabriskie has quit IRC
[20:18:06] <SchizoDuckie> i've quickly looked for it but i've not found one
[20:19:46] *** elrabin_ has quit IRC
[20:19:51] *** Sijdesign has joined #angularjs
[20:20:06] *** zeitgist has quit IRC
[20:20:18] *** elrabin has joined #angularjs
[20:20:29] <Lewix> instead of resolve: {foo: function() {return 'blash'}}
[20:20:39] <Sijdesign> Good evning all
[20:20:42] <Lewix> im tryig to return a string rather than a function
[20:20:58] *** chamarts has quit IRC
[20:21:14] <Lewix> what does that mean resolve - {Object.<string, function>=} | the doc is unreadable IMO
[20:21:23] *** Dave321 has joined #angularjs
[20:21:34] <SchizoDuckie> you want to return a string from a promise Lewix?
[20:22:00] <Lewix> SchizoDuckie: whats a promise?
[20:22:13] <SchizoDuckie> that's what you create with $q
[20:22:25] <Lewix> SchizoDuckie: i meant does resolve return a promise?
[20:22:35] <SchizoDuckie> resolve is a method to fullfil a promise
[20:22:42] <Sijdesign> Can i $Watch a input file thats hidden in the first place, and get showed later on?
[20:22:44] <SchizoDuckie> you can return anything you want there.
[20:22:59] <Lewix> SchizoDuckie: exactly, instead of a function i want to return a string
[20:23:04] <Lewix> cause i use it later
[20:23:09] *** Reskp has joined #angularjs
[20:23:15] <Lewix> SchizoDuckie: $route.current.resole.foo
[20:23:37] <SchizoDuckie> aaah it's for ui-router
[20:23:39] <Lewix> SchizoDuckie: $route.current.resolve.foo , i call it expecting a string
[20:23:49] <Sijdesign> Lewix do you have some help to help me out :D
[20:23:56] <Lewix> but since the resolve property only takes functions...
[20:24:12] <SchizoDuckie> yes, it will require a callback wrapped around it probably
[20:24:33] <Lewix> SchizoDuckie: $route.current.resolve.foo() ---> i wanted to avoid that
[20:24:34] <SchizoDuckie> i'll need to see some code to figure out what you want though
[20:24:37] *** elrabin has quit IRC
[20:24:41] *** Reskp has quit IRC
[20:24:43] *** numproc has joined #angularjs
[20:24:44] *** asheinfeld has quit IRC
[20:24:52] *** startupality has quit IRC
[20:25:08] <SchizoDuckie> Sijdesign: please elaborate
[20:25:13] <SchizoDuckie> what are you trying to do
[20:25:27] *** elrabin has joined #angularjs
[20:25:46] *** swist has quit IRC
[20:25:48] *** asheinfeld has joined #angularjs
[20:26:19] *** pilva has quit IRC
[20:27:24] *** nickgs has quit IRC
[20:28:09] <Sijdesign> I have 2 of this form http://cl.ly/image/3h100r2w2A1X one for child to fill and one for parent, the parent box only show when the child fill the form right, and i need to check if the parent CPR-nummer is right... so i made a $watch on that, but it just dont watch it. is it because its hidden in the first place ?
[20:28:30] *** rikko has quit IRC
[20:28:40] *** foofoobar has quit IRC
[20:29:04] *** rikko has joined #angularjs
[20:29:12] <Sijdesign> because it works on my child CPR-nummer input with a $watch
[20:29:17] <SchizoDuckie> that doesn't sound like you need to use $watch on it
[20:29:26] <SchizoDuckie> more like a validator function
[20:30:04] *** evilaliv3 has joined #angularjs
[20:30:07] <Sijdesign> its because CPR-nummer is a danish system for AGE, and i need to check if the AGE is over 18 years old
[20:30:26] <SchizoDuckie> and then use $valid on the other element
[20:31:34] *** Trow has quit IRC
[20:31:39] *** IvailoStoianov has quit IRC
[20:31:44] *** iLoop2 has joined #angularjs
[20:31:45] <SchizoDuckie> have alook at this and especially the and $invalid parts http://stackoverflow.com/questions/12581439/how-to-add-custom-validation-to-an-angular-js-form
[20:31:53] *** Trow has joined #angularjs
[20:31:58] *** sbellina has quit IRC
[20:32:00] *** nickgs has joined #angularjs
[20:32:28] *** tomh- has joined #angularjs
[20:32:49] *** IvailoStoianov has joined #angularjs
[20:32:52] *** tSpartak has quit IRC
[20:33:27] *** rikko has quit IRC
[20:33:36] *** iLoop2 has quit IRC
[20:34:06] <Sijdesign> Thanks SchizoDuckie will look at that. i have one more questing: my submit btn is disabled if the user input is wrong / not filled out and it works fine.. but i need to let the user know if he try to press the btn and some of the inputs is not filled or is incorrect.. how can i do that? can i do some ng-if ?
[20:34:24] *** yuradoc_ has quit IRC
[20:34:35] *** elrabin has quit IRC
[20:34:38] *** Juanchito has quit IRC
[20:35:05] *** Dave321 has quit IRC
[20:35:30] *** elrabin has joined #angularjs
[20:35:32] <SchizoDuckie> just use an ng-class and/or ng-disabled if myform.$valid == false?
[20:35:38] <SchizoDuckie> (on the button, that is)
[20:36:03] *** asheinfeld has quit IRC
[20:36:15] *** leolrrj has quit IRC
[20:36:21] <zwischenzug3> hello. reading through docs on provider, and want to get something clear. say i define a provider: app.provider("Test", function (){...}). To inject this dependency into other services, I call it by it's name "Test". But if I want to config the provider during the config phase, I must use app.config(function(TestProvider){..}). ))
[20:36:33] <Sijdesign> but how can i tell the user "you forgot to fill username" etc. ?
[20:36:51] <SchizoDuckie> look into the ng-messages, also same link Sijdesign
[20:37:13] <Sijdesign> but is ngMessages not in beta still
[20:37:44] <zwischenzug3> why must I use "TestProvider" during the config phase, and not simply "Test". I haven't encountered this pattern anywhere else in angular.
[20:37:48] <SchizoDuckie> mm not certain, but if that doesnt work show a message with an ng-if on $valid
[20:37:50] *** sbellina has joined #angularjs
[20:38:02] <Sijdesign> ah okay :) Thanks so much!
[20:38:04] <SchizoDuckie> zwischenzug3: because you're configuring the 'provider' for your factory
[20:38:20] *** tristanp has quit IRC
[20:38:23] <SchizoDuckie> your factory function, where you use it, returns an instantiated version of your factory
[20:38:28] <SchizoDuckie> welcome Sijdesign :)
[20:39:07] <SchizoDuckie> zwischenzug3: the $factoryProvider is the little piece of bootstrap code that returns that instantiated version
[20:39:12] <SchizoDuckie> hence, the step where you can do configuring
[20:39:32] *** asheinfeld has joined #angularjs
[20:39:51] *** Ix-Xitan has joined #angularjs
[20:39:51] *** Ix-Xitan is now known as PointBlank
[20:39:53] *** elrabin has quit IRC
[20:39:57] *** vinimdocarmo has joined #angularjs
[20:40:20] *** foofoobar has joined #angularjs
[20:40:45] *** elrabin has joined #angularjs
[20:40:53] <SchizoDuckie> so, to recap: if you create a factory named 'Test', angular creates a factory for your factory (yo dawg) named TestProvider
[20:41:12] *** damia____ is now known as damian__
[20:41:21] *** foofoobar has quit IRC
[20:41:29] <zwischenzug3> SchizoDuckie, what is the $factoryProvider? is that the this.$get function?
[20:41:45] <SchizoDuckie> no, that's my bad
[20:41:49] <SchizoDuckie> read: TestProvider
[20:42:06] <zwischenzug3> ahh..ok
[20:42:40] <zwischenzug3> so when you call app.provider("Test"....), you;re naming the factory which the provider creates....not the provider itself?
[20:42:53] <SchizoDuckie> completely correct :)
[20:43:39] <zwischenzug3> cool. thanks for clearing that up.
[20:43:56] <SchizoDuckie> you're welcome :) it can be quite confusing at first
[20:44:26] *** lolmaus has quit IRC
[20:45:12] *** ccscanf_ is now known as ccscanf
[20:45:23] *** elrabin has quit IRC
[20:45:33] <zwischenzug3> yea, was a bit confused by factory vs service, but understand now. just takes reading the docs and playing around with some code.
[20:45:35] *** Sijdesign has quit IRC
[20:45:51] *** wolfman2000 has quit IRC
[20:46:18] *** nemothekid has quit IRC
[20:46:26] <SchizoDuckie> yeah, once you get the hang of it it's that nice i'm in the matrix feeling
[20:46:29] *** sbellina has quit IRC
[20:46:41] *** tristanp has joined #angularjs
[20:46:56] *** Reskp has joined #angularjs
[20:47:28] *** umib0zu has joined #angularjs
[20:47:37] *** Guest33 has joined #angularjs
[20:47:53] *** fotoflo has quit IRC
[20:48:02] *** pHcF has quit IRC
[20:48:09] *** pHcF_ has joined #angularjs
[20:48:22] *** Guest33 has quit IRC
[20:48:40] *** Reskp has quit IRC
[20:48:48] *** loverajoel has joined #angularjs
[20:50:12] *** elrabin has joined #angularjs
[20:50:21] *** Hestil has joined #angularjs
[20:50:39] *** sl33k_ has quit IRC
[20:51:07] *** ntbisket has joined #angularjs
[20:51:35] *** tristanp has quit IRC
[20:52:00] *** pzuraq has joined #angularjs
[20:52:17] *** Bade has quit IRC
[20:52:33] *** Evanion has joined #angularjs
[20:52:53] *** asheinfeld has quit IRC
[20:53:31] *** Trow has quit IRC
[20:53:43] *** Trow has joined #angularjs
[20:53:44] *** uris77 has quit IRC
[20:53:44] *** Hestil_ has joined #angularjs
[20:53:46] *** Hestil has quit IRC
[20:53:51] *** asheinfeld has joined #angularjs
[20:54:16] *** Shrooms has quit IRC
[20:54:24] *** ximenean___ has joined #angularjs
[20:54:41] *** tristanp has joined #angularjs
[20:54:54] *** Lewix has quit IRC
[20:55:21] *** rikko has joined #angularjs
[20:55:38] *** Evanion has quit IRC
[20:56:07] *** shackleford has quit IRC
[20:56:15] *** komlev has joined #angularjs
[20:56:16] *** cthrax has quit IRC
[20:56:51] <jaawerth> ctanga: Hey, you around?
[20:56:55] <ctanga> yo
[20:57:22] *** rileylark has joined #angularjs
[20:57:24] *** startupality has joined #angularjs
[20:57:47] *** nerdfiles has quit IRC
[20:57:56] *** Aliks has quit IRC
[20:57:58] <jaawerth> I brought up a technique for putting resolves on the actual controller object the other day and a few of us had a talk about how much better/easier it could be with a ui-router enhancement and we agreed to bug you about putting it on the wishlist ;-)
[20:58:01] *** nerdfiles has joined #angularjs
[20:58:10] *** Evanion has joined #angularjs
[20:58:40] <ctanga> what benefits over putting the resolve on the state?
[20:59:04] *** iribarne has joined #angularjs
[20:59:35] <jaawerth> well, from a functionality/module perspective, it makes a lot of sense to put a resolve for a controller on the actual object into which you're injecting the resolved data
[20:59:38] *** shackleford has joined #angularjs
[20:59:52] <jaawerth> ctanga: I stumbled upon the trick here https://github.com/toddmotto/angularjs-styleguide#routing-resolves (under Controller.resolve property )
[20:59:53] *** Hestil_ has quit IRC
[21:00:36] *** caitp has quit IRC
[21:00:46] <jaawerth> ctanga: robdubya (I think) pointed out that as it is, this only works if you have the controller object in the same file/closure, or use $injector to grab it. We realized it would be really, really easy to do, though, with a small enhancement
[21:01:12] <jaawerth> resolve: 'ControllerName.resolve' or resolve: '.resolve', something like that
[21:01:21] *** opiates has quit IRC
[21:01:22] *** Lewix has joined #angularjs
[21:01:22] *** Lewix has joined #angularjs
[21:01:51] *** Jet4Fire has joined #angularjs
[21:01:54] <jaawerth> and have it grab the resolve property from the controller as part of the process (presumably $stateProvider is already using $injector to grab the controllers/inject the resolves in the first place?)
[21:02:08] *** Hestil has joined #angularjs
[21:02:29] <ctanga> it injects locals in the 0.2.x branch
[21:02:43] <ctanga> which are managed separately from globally injectable things
[21:02:56] <ctanga> resolves are converted to locals
[21:02:59] <jaawerth> hrm, it doesn't use $injector to grab the controller?
[21:03:08] <ctanga> yes for the controller it does, presumably
[21:03:41] <ctanga> I tend to think of resolves as state-level things, and controllers as view-level things
[21:04:11] <jaawerth> hm.. but if you're using a resolve with a controller, that makes the controller inextricably linked with the resolve, no?
[21:04:18] <ctanga> we allow the flexibility to think of view-level things as a sub-state-level things
[21:04:44] <jaawerth> I mean, you could still run it without the resolve params if you use explicit dependency notation, but..
[21:04:46] <ctanga> well resolves can be re-defined, but that’s splitting hairs
[21:06:02] <jaawerth> ah well, I thought the method made a lot of sense. No worries - maybe I'll implement it myself and submit a PR if there's no interest in coding it. It'd let me experiment with it more first, plus once it's implemented I think including it would be fairly win-win, since you wouldn't even have to know it's there unless you try using a string with the resolve property
[21:06:07] *** nodedfree has quit IRC
[21:06:40] *** eago has joined #angularjs
[21:06:50] *** elrabin has quit IRC
[21:06:56] <ctanga> your overall point is to keep the resolve coupled with the code that is going to use it?
[21:06:57] *** Trow has quit IRC
[21:07:03] <eago> is better to use ng-bind than {{} right?
[21:07:32] <jaawerth> it seems to make sense to me, yeah. Because you can't really reuse the resolves unless the controller in question has the same params for it
[21:07:43] *** rtpg has joined #angularjs
[21:07:53] *** Trow has joined #angularjs
[21:08:14] <ctanga> can’t reuse?, do you mean like in a sibling state?
[21:08:25] *** swist has joined #angularjs
[21:08:31] <jaawerth> or an unrelated state
[21:08:34] <ctanga> sure
[21:08:36] <jaawerth> or just in general
[21:08:40] <ctanga> of course, a child state can use the parent resolves
[21:08:50] <ctanga> the resolved value, that is
[21:08:55] *** uris77 has joined #angularjs
[21:08:56] *** asheinfeld has quit IRC
[21:09:12] *** mzabriskie has joined #angularjs
[21:09:21] *** nemothekid has joined #angularjs
[21:09:37] <ctanga> if you have multiple named views in a state, they each have their own controllers. they wouldn’t be able to share the resolves if the resolves were per-controller
[21:09:48] *** nodedfree has joined #angularjs
[21:09:58] *** jayne_ is now known as jayne
[21:10:11] *** asheinfeld has joined #angularjs
[21:10:26] *** elrabin has joined #angularjs
[21:10:33] *** rileylark has quit IRC
[21:10:33] *** vinimdocarmo has quit IRC
[21:10:42] <ctanga> another thing to consider is how controllers are *invoked* in a different phase of the transition
[21:10:45] <jaawerth> hmm well, you already aren't using the same resolve object with the inherited state, though
[21:10:51] *** rikko has quit IRC
[21:10:57] <SchizoDuckie> lol wtf.
[21:11:04] <SchizoDuckie> trying to do something on a dutch government site
[21:11:09] <jaawerth> and that's what we're talking about - the... do you call it a constructor?
[21:11:14] <jaawerth> hmm probably not
[21:11:18] <jaawerth> configuration object for the resolve?
[21:11:21] <SchizoDuckie> 'these forms are only available between 09:00 and 21:00 hours'
[21:11:22] <SchizoDuckie> WTF
[21:11:22] <ctanga> yeah
[21:11:32] <ctanga> SchizoDuckie: lul
[21:11:45] *** Hestil has quit IRC
[21:11:45] *** elrabin_ has joined #angularjs
[21:11:55] <SchizoDuckie> fricking public servants
[21:12:04] <jaawerth> eago: Not better, per se. Only if you may need to worry about the template showing before the view has a chance to render and you don't want to use ng-show or what-have-you to hide until it's ready
[21:12:09] *** rtpg has quit IRC
[21:12:21] *** jordandotdev has joined #angularjs
[21:12:22] *** ejb has quit IRC
[21:12:27] *** mary5030_ has joined #angularjs
[21:12:44] *** nickgs has quit IRC
[21:12:49] *** rikko has joined #angularjs
[21:12:49] <ctanga> you can re-use the resolve function (that returns the promise) using plain javascript approach
[21:12:59] <jaawerth> ah, true
[21:13:01] *** lemur has joined #angularjs
[21:13:10] <ctanga> of course, it isn’t necessarily located “near” the controller
[21:13:59] <jaawerth> maybe if I really want to keep my house in order it makes more sense to write a provider to house my resolvse
[21:14:13] <ctanga> to me, the controller is a second-class citizen in ui-router and exists to receive injected resolves, organize the data, and wire up UI callbacks
[21:14:14] <jaawerth> wherein I can junction states, resolves, and controllers
[21:14:30] *** danecando has quit IRC
[21:14:37] <jaawerth> well that's what a controller is anyway, really
[21:14:54] *** elrabin has quit IRC
[21:14:56] *** SargoDarya has joined #angularjs
[21:15:07] *** mary5030 has quit IRC
[21:15:10] <jaawerth> glue the model to the view, maybe with some transformation here and a smidge of presentation logic
[21:15:14] <jaawerth> there
[21:15:16] <ctanga> right
[21:15:24] <jaawerth> and/or expose an API
[21:15:38] <ctanga> so to me it feels weird to use the controller to organize resolves
[21:15:46] <ctanga> not wrong, per se, but maybe smells a little funny
[21:15:57] <jaawerth> well... can you use a resolve on a state that doesn't have a controller?
[21:15:59] *** zeitgist has joined #angularjs
[21:16:01] <ctanga> yeah
[21:16:09] <jaawerth> other than inheritance?
[21:16:16] <jaawerth> interesting, that did not occur to me
[21:16:20] <jaawerth> how's that work?
[21:16:32] *** ngbot has joined #angularjs
[21:16:33] <jaawerth> does it just use some generic state-controller?
[21:16:33] <ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/qdIV5A
[21:16:33] <ngbot> angular.js/master 3616b9b 袴田 俊輔: refactor(ngScenario): use Date.now() for get current Time...
[21:16:33] *** ngbot has left #angularjs
[21:16:49] <jeremyw_> ShizoDuckie: Thanks for your help earlier. I found two references that you might like to know about. 1) https://groups.google.com/forum/?fromgroups#!topic/angular/basidvjscRk, 2) https://stackoverflow.com/questions/11580004/angular-js-link-behaviour-disable-deep-linking-for-specific-urls
[21:17:01] *** asheinfeld has quit IRC
[21:17:19] *** lemur has quit IRC
[21:17:22] <jeremyw_> ShizoDuckie: I'm particularly using the <a href/> directive in the one of the SO answers to do the target="_self" bit.
[21:17:36] <ctanga> it calculates the transition A->B and determines all new states that will be entered, then it organizes all the resolves necessary and invokes them. Once it’s all done resolving, it fires the onExit/onEnter callbacks, then the state changes. Finally, it updates the view by invoking the controller fn’s for the UI-Views
[21:17:51] <SchizoDuckie> ah, the _self is nifty :)
[21:18:10] *** richardbkr has quit IRC
[21:18:20] <SchizoDuckie> definitely something that could belinked from the routeprovider page
[21:18:20] <jaawerth> right - so.. you can't actually use the resolved data in a view without a controller, but I can see why it would at least make sure the view doesn't render until the resolves have... resolves
[21:18:24] <jaawerth> er, resolved
[21:18:25] *** Hestil has joined #angularjs
[21:18:42] <jeremyw_> Yes!
[21:18:51] <jaawerth> or can you?
[21:18:53] <ctanga> you can “use” it in onEnter
[21:18:53] <jaawerth> to plnkr!
[21:19:02] <jaawerth> ah, of course
[21:19:03] <ctanga> authentication, for instance
[21:19:29] *** SargoDarya has quit IRC
[21:19:30] *** ngbot has joined #angularjs
[21:19:30] <ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/riWfjw
[21:19:30] <ngbot> angular.js/master 6018f5d Daniel Tsui: docs(misc/FAQ): grammatical improvements...
[21:19:30] *** ngbot has left #angularjs
[21:19:37] <ctanga> resolves-per-view smells funny to me
[21:19:39] <ctanga> we support it though
[21:19:58] *** freelyfred has joined #angularjs
[21:19:59] <jeremyw_> ShizoDuckie: Unfortunately, I don't know what to do with target="_blank" href, now...
[21:20:01] <ctanga> views: { foo: { resolve: resolveFn, templateUrl: ‘foo.html’, controller: ‘fooCtrl’ } }
[21:20:04] *** simon0191 has joined #angularjs
[21:20:11] <jaawerth> alright sir, you've convinced me!
[21:20:14] <jaawerth> bad idea ;-)
[21:20:15] <ctanga> or resolve: { resolve1: resolveFn } rather
[21:20:35] <jaawerth> somebody should tell Todd Motto
[21:20:50] <ctanga> makes perfect sense for ngRoute though
[21:20:57] <ctanga> since ngRoute, the view *is* the state
[21:20:57] <jaawerth> true
[21:20:59] *** sgen has joined #angularjs
[21:21:12] *** zeitgist has quit IRC
[21:21:20] <jaawerth> though we'll see if that holds true after the new router is released
[21:21:26] <jaawerth> have you tried it yet? scoping out the competition?
[21:21:40] <ctanga> not yet
[21:21:48] <ctanga> I watched the video from ng-europe
[21:21:52] <ctanga> that’s about it
[21:21:55] <jaawerth> I've been meaning to, it's available on bower now
[21:22:16] <BobbieBarker_> i'm scared of change
[21:22:18] <jaawerth> I really like how much credit the ng team gave you guys when talking about the new router
[21:22:20] *** cannap has quit IRC
[21:22:31] *** mary5030_ has quit IRC
[21:22:31] <BobbieBarker_> ctanga do you work on the ui-router project?
[21:22:41] <ctanga> yeah, Nate was on the requirements gathering team
[21:22:44] <ctanga> BobbieBarker_: yeah
[21:22:45] <jaawerth> sign of a really healthy library when you can credit and encourage third party modules
[21:22:56] <BobbieBarker_> ctanga: thanks for your efforts dude.
[21:23:05] *** mary5030 has joined #angularjs
[21:23:21] <ctanga> it will be interesting to see what happens to ui-router when the stock router is good too
[21:23:23] <BobbieBarker_> ui router is a really nice project
[21:23:27] <ctanga> BobbieBarker_: thanks
[21:23:45] <jaawerth> when I was first learning angular I was a little mystified why they decoupled ngRoute, ngResource and such from core but once I started using the third party modules it all made sense
[21:23:47] <BobbieBarker_> ctanga: if the new router doesn't bring anything new to the table I probably will just use ui-router still.
[21:23:54] <jaawerth> same
[21:24:08] *** nodedfree has quit IRC
[21:24:11] <BobbieBarker_> i'm used to the syntax and the way i use it in my projects.
[21:24:12] <ctanga> I think it will take some time for the router 2.0 to mature and cover corner cases
[21:24:30] <BobbieBarker_> ofc
[21:24:31] <jaawerth> if I had to guess, I'd say the new router will bring many of the current ui-router features (at last the ones that really differentiate it) to the official router, and ui-router will just continue to act as an agent of change by pushing the envelop
[21:24:34] <jaawerth> e
[21:24:44] *** shackleford has quit IRC
[21:25:08] *** disorder20 has joined #angularjs
[21:26:57] <BobbieBarker_> they shouldn't of made me come in today
[21:27:03] <jaawerth> lol
[21:27:06] <BobbieBarker_> i'm really just reading manga and watching this chat room
[21:27:15] <SchizoDuckie> lol
[21:27:17] <SchizoDuckie> nice way to get paid
[21:27:25] <BobbieBarker_> i agree
[21:27:35] <SchizoDuckie> I actually got something done today, and arranged more days off this week
[21:27:42] <SchizoDuckie> so just tomorrow and then my week ends. nais
[21:27:44] <BobbieBarker_> win win
[21:28:10] *** Evanion has quit IRC
[21:28:16] *** ColKurtz has quit IRC
[21:28:19] <SchizoDuckie> epic win on my side where i found out why a system was submitting 10.0 and the somehow in the database it ended up as 9.99
[21:28:26] *** s00pcan_1 has quit IRC
[21:28:55] <BobbieBarker_> lame sauce
[21:28:59] <SchizoDuckie> estimate was another week (undocced system, legacy)
[21:29:08] <SchizoDuckie> found it in 2 hours
[21:29:13] <BobbieBarker_> floats?
[21:29:18] <BobbieBarker_> should of been an int?
[21:29:21] <BobbieBarker_> or improper rounding?
[21:29:22] <SchizoDuckie> float(3,2) will do that to you
[21:29:28] <BobbieBarker_> exactly
[21:29:46] *** s00pcan has joined #angularjs
[21:29:51] <BobbieBarker_> who ever opened the ticket should of listed that as the likely culprit
[21:30:08] *** earthquake has joined #angularjs
[21:30:21] *** nodedfree has joined #angularjs
[21:30:21] <SchizoDuckie> the ticket was from 2 years ago
[21:30:30] <SchizoDuckie> marked as wontfix
[21:30:41] *** PeterMetz has quit IRC
[21:30:43] <BobbieBarker_> omfg a 2 year old ticket?!?!
[21:31:04] <SchizoDuckie> haha yep, completely overlooked somehow
[21:31:24] <SchizoDuckie> and now a rush case ofcourse, original developers gone
[21:31:27] *** rikko has quit IRC
[21:31:38] <BobbieBarker_> I get mad when i see like 3-4 month old tickets
[21:31:43] *** ejb has joined #angularjs
[21:31:50] *** TheAceOfHearts has joined #angularjs
[21:32:05] <SchizoDuckie> well were a small compaany, and shit can happen
[21:32:38] <SchizoDuckie> excuse my typing. baby on my lap
[21:32:40] *** shackleford has joined #angularjs
[21:33:33] *** Lewix has quit IRC
[21:33:50] <jaawerth> dang. errors like that will get you an exploding spaceship
[21:33:58] <jaawerth> nice catch
[21:34:53] <SchizoDuckie> its a system that handles money too. i was baffled
[21:35:10] *** Lewix has joined #angularjs
[21:35:10] *** Lewix has joined #angularjs
[21:35:23] *** busticated has quit IRC
[21:35:37] *** Hestil has quit IRC
[21:37:11] *** PeterMetz has joined #angularjs
[21:37:16] *** dllama has joined #angularjs
[21:37:43] <BobbieBarker_> SchizoDuckie: i have a problem similar to that right now kind of hard to explain but bad rounding on money
[21:37:45] <jaawerth> aha! the old Officespace trick!
[21:38:03] <ctanga> like in superman 3
[21:38:05] *** IvailoStoianov has quit IRC
[21:38:10] *** tkdaj has joined #angularjs
[21:38:11] <jaawerth> haha yesss
[21:38:17] <BobbieBarker_> lol
[21:38:19] <jaawerth> hopefully minus the drunken superman part
[21:38:32] <SchizoDuckie> i love digging into problems like that
[21:38:34] <BobbieBarker_> money and time are the two most dangerous things to program against
[21:38:43] *** xooot has joined #angularjs
[21:38:49] <SchizoDuckie> yeap
[21:38:53] *** nickgs has joined #angularjs
[21:38:54] <jaawerth> also space
[21:39:00] <SchizoDuckie> i fricking *hate* timezones
[21:39:04] <jaawerth> by which I mean physics
[21:39:20] <tkdaj> I have a security question. How does angular protect from someone editing the html/js code after it has been rendered in their browser? Or does it protect from that at all? eg if I use an ng-hide to not show certain users something on the site because they do not have sufficient permissions, why can't they just change that in the html and see it anyway?
[21:39:35] <SchizoDuckie> for DuckieTv i get timestamps for tv show airdates in utc
[21:39:41] <BobbieBarker_> momentJS helps tremendously with the timezones/time issue but its still a mine field.
[21:40:06] <SchizoDuckie> and i need to calculate what the local timezone date would be for where that show is airing
[21:40:12] <BobbieBarker_> tkdaj the answer is that show/hide isn't a security feature.
[21:40:23] *** fedenunez has quit IRC
[21:40:33] <tkdaj> so you shouldn't use that to hide data from people based on permissions?
[21:40:39] <SchizoDuckie> relative to the current user's timezone. *brain -> explode*
[21:40:42] <BobbieBarker_> no you shouldn't
[21:40:49] <tkdaj> ah
[21:40:50] <jaawerth> rounding errors one minute, if you're not careful then you run into this https://www.youtube.com/watch?v=Az6fpD4-lk4
[21:40:52] <BobbieBarker_> SchizoDuckie: do you use moment time zones?
[21:41:05] <SchizoDuckie> not currently
[21:41:11] <SchizoDuckie> all pure angular
[21:41:12] <BobbieBarker_> have you looked at it?
[21:41:19] <SchizoDuckie> i know the lib
[21:41:33] <BobbieBarker_> garauntee it will simplify your life
[21:41:36] <SchizoDuckie> but have tried to stay as pure angular as long as possible
[21:41:48] <BobbieBarker_> angular doesn't have any core time handling shit
[21:41:55] <SchizoDuckie> since it's alearning project for me too
[21:41:56] <BobbieBarker_> you're forced to use the JS date contructor
[21:42:06] <SchizoDuckie> yeah that all works
[21:42:07] *** mylordi has joined #angularjs
[21:42:08] <BobbieBarker_> which is a fucking head ache
[21:42:09] <jaawerth> you can also write helper functions into a service (that you can then thoroughly test) to make sure your dates are doing things predictably
[21:42:13] *** Hestil has joined #angularjs
[21:42:14] <BobbieBarker_> if you try to do anything complicated
[21:42:28] <SchizoDuckie> http://schizoduckie.github.io/DuckieTV/
[21:42:38] <jaawerth> but if your set of helpers gets large enough you've got yourself a library so you may as well just use momentjs after a certain point
[21:42:39] <BobbieBarker_> i dunno, i've had to program against time A LOT, and I can tell you I wouldn't do it with out moment
[21:43:16] <ctanga> I can’t believe I’m still fighting IE at the end of 2014
[21:43:27] <jaawerth> do tell
[21:43:34] <BobbieBarker_> ctanga: share with the class
[21:43:44] *** grumpyOldRussian has quit IRC
[21:43:55] *** LakWork has quit IRC
[21:43:55] * SchizoDuckie gives ctanga a hug
[21:44:03] <ctanga> meh. I made a fancy flexbox layout
[21:44:03] *** Johnny13371337 has joined #angularjs
[21:44:16] <ctanga> of course it works slightly wrong on IE10 and even different on ie11
[21:44:36] <SchizoDuckie> ofcourse
[21:44:41] <ctanga> so find the classes and add -ms-prefix-garbage to get it to work sorta
[21:44:53] *** Lewix has quit IRC
[21:45:04] *** Hestil has quit IRC
[21:45:07] <BobbieBarker_> ctanga: flex box is the shit, are you using angular material or writing your own css?
[21:45:08] <SchizoDuckie> and some nice if statements
[21:45:19] <ctanga> 2) bootstrap’s modal-open adds body class “.modal-open”
[21:45:27] *** Hestil has joined #angularjs
[21:45:31] <ctanga> which adds overflow: hidden to the body to stop if from scorlling
[21:45:34] <ctanga> doesn’t work in IE
[21:45:34] <SchizoDuckie> oh yeah
[21:45:37] <ctanga> gotta add -ms-scroll-limit: 0 0 0 0;
[21:45:49] <SchizoDuckie> i've had tahat same problem
[21:45:49] <ctanga> BobbieBarker_: writing my own
[21:45:54] <BobbieBarker_> https://material.angularjs.org/#/
[21:45:57] <SchizoDuckie> anoying scroll jitter
[21:45:59] <BobbieBarker_> even if you're not using it
[21:46:05] <BobbieBarker_> looking at how they wrote their CSS may help you
[21:46:29] *** annlewis has joined #angularjs
[21:47:16] <BobbieBarker_> also, might want to consider if you run your CSS through a prefixer task in gulp if it won't autoprefix all that junk into it for you?
[21:47:17] <ctanga> I’m trying to get a responsive modal that isn’t statically sized
[21:47:37] <ctanga> BobbieBarker_: I’m auto-prefixing, but it doesn’t grok stuff like that
[21:47:44] *** ejb has quit IRC
[21:47:47] <BobbieBarker_> i wasn't sure if it would/wouldn't
[21:47:53] <BobbieBarker_> just wanted to float the idea
[21:47:55] <ctanga> -ms-flex-pack: justify;
[21:48:03] <ctanga> that’s what I needed to get my flex layouts to expand in the middle
[21:48:27] *** asheshambasta has joined #angularjs
[21:48:40] <BobbieBarker_> groovy
[21:48:42] *** Lewix has joined #angularjs
[21:48:42] *** Lewix has joined #angularjs
[21:48:51] <ctanga> fortunately I only have to support ie10+
[21:48:56] *** nickgs has quit IRC
[21:48:57] <BobbieBarker_> thank goodness
[21:49:02] *** Zentdayn has joined #angularjs
[21:49:10] <BobbieBarker_> I just chugged a 20oz redbull, pretty sure my power level is now over 9000.
[21:49:30] *** Reskp has joined #angularjs
[21:50:07] *** Reskp has joined #angularjs
[21:51:01] *** ejb has joined #angularjs
[21:51:13] *** lsiv568 has quit IRC
[21:51:32] *** Hestil has quit IRC
[21:51:43] <BahamutWC|Work> IE10 and Safari 7 are funky with flexbox
[21:53:22] *** BahamutWC has quit IRC
[21:53:25] *** iLoop2 has joined #angularjs
[21:53:41] *** tilgovi has joined #angularjs
[21:53:52] *** Hestil has joined #angularjs
[21:53:56] *** MistahKurtz has joined #angularjs
[21:54:20] <SchizoDuckie> u noticing any hair changes BobbieBarker_?
[21:54:26] *** nickgs has joined #angularjs
[21:55:17] *** lsiv568 has joined #angularjs
[21:56:14] *** juampy_backlater is now known as juampy
[21:56:52] *** caitp has joined #angularjs
[21:57:24] <BobbieBarker_> I went from brown hair, to blonde, is that normal?
[21:57:25] *** nemothekid has quit IRC
[21:57:45] *** nemothekid has joined #angularjs
[21:57:46] <SchizoDuckie> yeah you're okay. it's working
[21:57:59] *** eago has quit IRC
[21:58:36] *** DLSteve has joined #angularjs
[21:58:40] *** swist has quit IRC
[21:59:08] <SchizoDuckie> oh
[21:59:09] <SchizoDuckie> no
[21:59:17] <SchizoDuckie> fear
[21:59:18] <SchizoDuckie> horror
[21:59:21] <SchizoDuckie> http://www.zdnet.com/article/microsoft-is-building-a-new-browser-as-part-of-its-windows-10-push/
[21:59:32] *** bealtine has quit IRC
[21:59:35] *** Hestil has quit IRC
[21:59:47] <BobbieBarker_> oh god
[21:59:57] <SchizoDuckie> NOT YET ANOTHER VERSION OF IE
[22:00:09] *** mmealling has quit IRC
[22:00:41] *** torartc has quit IRC
[22:00:42] <SchizoDuckie> on the other hand, this is a good sign
[22:00:54] <Tuxity> guys, regarding to https://github.com/Swiip/generator-gulp-angular#directory-structure where should I put my factory(ngresource) User for exemple
[22:01:00] <SchizoDuckie> somebody at microsoft finally said: let's just start over and not continue on this steaming pileof crap
[22:01:32] *** caitp has quit IRC
[22:01:55] *** pcompton has joined #angularjs
[22:03:36] *** jacuqesdancona has joined #angularjs
[22:03:43] *** ximenean___ has quit IRC
[22:03:55] <BobbieBarker_> SchizoDuckie: it's actually worst than that
[22:04:00] *** msg has quit IRC
[22:04:18] <BobbieBarker_> it's still just IE. they're sticking with the chackram JS engine and the trident rendering engine
[22:04:28] <BobbieBarker_> so it's IE under the hood, all the changes are just marketing
[22:04:34] *** richardbkr has joined #angularjs
[22:04:58] *** xooot has quit IRC
[22:05:04] *** ejb has quit IRC
[22:05:11] *** bealtine has joined #angularjs
[22:05:32] *** Hestil has joined #angularjs
[22:05:37] *** jamesbdev has quit IRC
[22:05:46] *** asheinfeld has joined #angularjs
[22:05:57] *** swist has joined #angularjs
[22:07:53] *** nerdfiles has quit IRC
[22:07:56] *** Lewix has quit IRC
[22:08:01] *** evotuned_ has joined #angularjs
[22:08:10] *** nerdfiles has joined #angularjs
[22:08:12] *** jacuqesdancona has quit IRC
[22:08:47] *** evotuned has quit IRC
[22:10:05] *** jaredwilli has quit IRC
[22:10:21] *** Perl has joined #angularjs
[22:10:32] *** fedenunez has joined #angularjs
[22:10:50] *** shpoont has quit IRC
[22:10:56] *** woah has quit IRC
[22:11:07] *** asheinfeld has quit IRC
[22:11:12] *** shpoont has joined #angularjs
[22:11:39] *** ries has quit IRC
[22:11:46] <Perl> Hi, I'm new to angular so I'm sorry if my question is stupid, but when defining controller with ($scope) is it always the root scope?
[22:11:46] *** Hestil has quit IRC
[22:11:50] <Perl> because it seems like it
[22:11:55] <SchizoDuckie> nope
[22:11:58] <icfantv> Perl: no
[22:12:01] <SchizoDuckie> $scope is a local scope to your controller
[22:12:05] <icfantv> Perl: that would be $rootScope
[22:12:10] <SchizoDuckie> ^^ what he says
[22:12:11] <Perl> one controller of mine is overwriting another's function and i have no idea why
[22:12:24] <icfantv> Perl: that will happen if the controllers are nested
[22:12:31] <BobbieBarker_> Perl: yeah what icfantv said
[22:12:38] <icfantv> Perl: and you are using the same fields in both controllers
[22:12:43] <BobbieBarker_> make them siblings instead of children of one another
[22:12:52] <SchizoDuckie> icfantv: look into using controllerAs
[22:12:53] <Perl> strange, i have them one after another, so 'siblings'
[22:13:02] *** Hestil has joined #angularjs
[22:13:02] <icfantv> Perl: and "technically" it's not overwriting, it's creating a new object.
[22:13:13] <icfantv> Perl: not in Javascript, in your HTML DOM
[22:13:22] <Perl> yeah, html
[22:13:29] <Perl> i have them basically as
[22:13:41] <Perl> <directive1></directive1> <directive2></directive2>
[22:13:49] <Perl> and d2 is overwriting a function d1 defines
[22:14:04] <Perl> so d1's watch on $location.search is calling the wrong function..
[22:14:08] <icfantv> Perl: directives are not controllers
[22:14:12] *** nemothekid has quit IRC
[22:14:18] <Perl> yeah, but they have different controllers
[22:14:34] <icfantv> Perl, can you please create a plnkr or gist the code?
[22:15:06] <Perl> the code is live, actually: http://s.rtag.me/sb-wiki/
[22:15:08] *** asheshambasta has quit IRC
[22:15:10] <Perl> in-dev
[22:15:13] *** mikerrrrrr has joined #angularjs
[22:15:24] <BobbieBarker_> you're getting scope inheritence in directives?
[22:15:26] *** subone has joined #angularjs
[22:15:27] <BobbieBarker_> use isolate scopes?
[22:15:32] *** codeman has joined #angularjs
[22:15:41] <Perl> it's quite bad code and certainly not up to angular standards, but it's my first angular project
[22:16:20] <Perl> what i'm talking about here is footer's init overwriting the item page's
[22:16:34] *** SargoDarya has joined #angularjs
[22:16:43] *** mliqu has joined #angularjs
[22:16:46] *** zeitgist has joined #angularjs
[22:16:49] *** fatshark has quit IRC
[22:16:57] <SchizoDuckie> so what elements /directives are we looking for?
[22:17:11] <Perl> http://s.rtag.me/sb-wiki/js/app-item.js
[22:17:12] <subone> What might cause a select, with ng-options and an empty option set and a valid option in model, to intermittently show a blank value (not the empty option, nor the model value it should be showing)
[22:17:29] *** lolmaus has joined #angularjs
[22:17:34] <Perl> in the end of the code there's a watch
[22:17:39] *** asheinfeld has joined #angularjs
[22:17:45] <Perl> the init it calls ends up being the init of footer
[22:17:56] <Perl> which is defined here http://s.rtag.me/sb-wiki/js/app-footer.js
[22:18:02] *** eburcat has joined #angularjs
[22:18:10] *** nodedfree has quit IRC
[22:18:11] <SchizoDuckie> well for starters i see http requests in footers
[22:18:16] <SchizoDuckie> erh directives
[22:18:26] *** Grokling_ has joined #angularjs
[22:18:34] <Perl> i'm not sure how it's ideally supposed to work
[22:18:36] <Perl> i just sorta dived in
[22:19:08] *** fatshark has joined #angularjs
[22:19:24] <BobbieBarker_> well there are certainly patterns you'd want to be following, and anti-patterns you should be avoiding
[22:19:31] *** Hestil has quit IRC
[22:19:46] <SchizoDuckie> ooh, sounds like you need to do some reading on the lifecycle of directives and why methods like http requests should go into a factory/provider :)
[22:19:59] <Perl> are there any guides i could follow for this stuff?
[22:20:15] <BobbieBarker_> an isolate scope would fix your immediate problem
[22:20:30] <BobbieBarker_> but SchizoDuckie is correct you probably shouldn't be running CRUD operations on load from a directive
[22:20:38] <Perl> well, i'd rather restructure it the "right way" now than face more problems with my weird code
[22:20:39] <BobbieBarker_> I prefer to resolve that kind of crap in the route before hand
[22:21:01] *** nerdfiles has quit IRC
[22:21:12] <BobbieBarker_> you may want to start by pulling in a yoeman generator like generator-gulp-generator
[22:21:13] <Perl> i'm not at all opposed to rewriting the whole thing as i only wrote it day before yesterday
[22:21:19] *** nerdfiles has joined #angularjs
[22:21:30] <BobbieBarker_> that will atleast give you a more stable foundation as far as project organization goes
[22:21:32] *** HassanCehef has joined #angularjs
[22:21:37] <BahamutWC|Work> generator-gulp-angular :P
[22:21:38] <BobbieBarker_> and some bells and whistles like a live reload server
[22:21:39] *** zeitgist has quit IRC
[22:21:45] *** asheshambasta has joined #angularjs
[22:21:50] <jaawerth> the gulp setup in that generator is pretty great
[22:21:53] <SchizoDuckie> sounds like a solid plan Perl, i have no tutorials at hand right now though, maybe BobbieBarker_ has
[22:21:54] <BobbieBarker_> BahamutWC|Work: i promo that generator so much they should be paying me
[22:21:58] <jaawerth> great baseline to start adding your own custom stuff
[22:22:01] *** asheinfeld has quit IRC
[22:22:07] <BahamutWC|Work> I was just pointing out that you said generator-gulp-generator :P
[22:22:15] <BobbieBarker_> oh lol BahamutWC|Work
[22:22:16] <jaawerth> I particularly like that they have a proxy config file for the livereload server that lets you proxy certain requests to an outside API
[22:22:17] <BobbieBarker_> i did didn't i
[22:22:20] <Perl> both yeoman and gulp are unfamiliar terms, i'm afraid
[22:22:22] <Perl> but i'm looking into it
[22:22:23] <BobbieBarker_> i meant to say generator-gulp-angular
[22:22:35] <jaawerth> lets you access your actual APIs during dev while running the app on your local machine
[22:22:40] <jaawerth> great for E2E tests
[22:22:42] <BobbieBarker_> if you want to work on the front end you need to embrace the NPM
[22:22:58] *** RossJH has joined #angularjs
[22:23:02] <jaawerth> Perl: any experience with node on the server?
[22:23:06] <Perl> i have node on my server
[22:23:13] <BahamutWC|Work> kinda :( at the move towards using npm with frontend dependencies
[22:23:14] <Perl> and i've written small single-script nodejs apps
[22:23:15] <Perl> but that's about it
[22:23:19] <jaawerth> because if so, and you've worked with node streams, gulp is dead easy to pick up
[22:23:32] <BahamutWC|Work> would much rather use bower and keep stuff separate
[22:23:36] <jaawerth> if you don't have prior experience with that, I'd start there
[22:23:40] <BobbieBarker_> BahamutWC|Work: bower is baked in
[22:23:43] *** subone has quit IRC
[22:23:54] <BobbieBarker_> oh you said something else
[22:23:55] *** robdubya has joined #angularjs
[22:23:57] *** subone has joined #angularjs
[22:23:59] <BobbieBarker_> dude i use the fuck out of bower
[22:24:01] *** Lewix has joined #angularjs
[22:24:01] *** Lewix has joined #angularjs
[22:24:10] <jaawerth> I use bower for my frontdend deps, but I haven't gotten to the point yet of building my own private bower packages. seems kinda complicated, since I'd have to also set up a private registry
[22:24:11] <BobbieBarker_> cept the fucking tard that preceeded me at this company didn't
[22:24:19] <jaawerth> so I just use simple git clone to grab my private modules
[22:24:22] <jaawerth> (for now)
[22:24:34] <BobbieBarker_> jaawerth: i'm in the same boat, i'd like to set up bower for some things though
[22:24:38] <BahamutWC|Work> you can do “foo”: “git://github.com/foo/bar.git#0.0.1”
[22:24:42] *** asheinfeld has joined #angularjs
[22:24:42] <BobbieBarker_> specially some things that I think other people might get some use out of
[22:24:51] *** leolrrj has joined #angularjs
[22:25:08] <jaawerth> should probably at least get in the habit of using npm, or writing a gulp task for cloning the relevant repo and doing the install/setup (which mostly just consists of npm install && bower install && gulp inject)
[22:25:39] <SchizoDuckie> I feel like i'm such an old fuck here :p
[22:25:42] *** aminRX has joined #angularjs
[22:25:48] <SchizoDuckie> i always check in my deps with my project
[22:25:48] <jaawerth> BahamutWC|Work: in bower?
[22:25:52] <SchizoDuckie> i hardlink them
[22:25:54] <BahamutWC|Work> jaawerth: yep
[22:25:55] *** Hestil has joined #angularjs
[22:26:01] <jaawerth> hm, I'll have to start doing that
[22:26:08] <SchizoDuckie> i've seen too many times that libraries change and then your app breaks
[22:26:09] *** travm has joined #angularjs
[22:26:20] <jaawerth> well, you can specify versions
[22:26:22] <BobbieBarker_> bower will protect you from that
[22:26:25] <Perl> yo definitely seems interesting
[22:26:26] *** nodedfree has joined #angularjs
[22:26:27] <jaawerth> so they won't go rogue and update on you
[22:26:30] <BobbieBarker_> because like jaawerth said you can specify versions
[22:26:34] <Perl> so it just generates things for me based on some templates?
[22:26:48] <SchizoDuckie> yeah i know, but then some day the infrastructure breaks and you have nothing at the moment you need it
[22:26:49] <BobbieBarker_> Perl: the yoeman generator is a scaffolding tool
[22:26:58] *** GreenJello has joined #angularjs
[22:27:04] <jaawerth> I suppose it leaves you vulnerable to someone vandalizing the git repo
[22:27:06] <BobbieBarker_> SchizoDuckie: it downloads the deps, it's not a CDN
[22:27:25] <SchizoDuckie> I know BobbieBarker_ :) I use npm,bower and composer daily
[22:27:29] <BobbieBarker_> oh sorry
[22:27:36] <BahamutWC|Work> I hate checking in deps in the same repo
[22:27:37] <BobbieBarker_> wasn't trying to be condescending
[22:27:37] <SchizoDuckie> but when I have the say, I check them in
[22:27:44] <jaawerth> but presumably you'll have other git clones around so if the git repo suddenly vanished you could still check out what you need
[22:28:06] *** nerdfiles has quit IRC
[22:28:24] *** nerdfiles has joined #angularjs
[22:28:29] <GreenJello> In my controller template I have <my-directive creativeGroups="campaigns.campaign.creativeGroups">, in myDirective I have scope: {creativeGroups: "="}, but it's never set. If I do console.log(scope.creativeGroups, scope.$parent.campaigns.campaign.creativeGroups) the former is undefined, and the latter is correct (an array of objects)
[22:28:35] <GreenJello> any idea what could cause this?
[22:29:12] <BobbieBarker_> async fuckery
[22:29:23] *** leolrrj has quit IRC
[22:29:32] *** Aliks has joined #angularjs
[22:29:41] *** Reskp has quit IRC
[22:29:44] <jaawerth> well, isolate scope adds a watch
[22:29:49] <jaawerth> so theoretically it should get around that
[22:29:50] <jaawerth> hmm
[22:29:52] <SchizoDuckie> people have made such a complicated thing out of getting up and running with a project. we could all just be using npm install and npm scripts instead of both bower and gulp on top of npm
[22:30:07] *** nerdfiles has quit IRC
[22:30:09] <jaawerth> it makes sense to separate your backend deps from your frontend deps, though
[22:30:16] <BobbieBarker_> SchizoDuckie: that's the beauty of yoeman
[22:30:22] <GreenJello> campaign.creativeGroups is set synchronously in the controller
[22:30:38] <SchizoDuckie> is yeoman the one to rule them all BobbieBarker_?
[22:30:49] <icfantv> GreenJello: how is the value of that attribute being set? is it hardcoded?
[22:30:50] <BobbieBarker_> GreenJello: what i'm saying is that the directive is trying to instantiate before the controller instantiates
[22:30:58] <jaawerth> oh wait
[22:31:04] *** nodedfree has quit IRC
[22:31:10] <BobbieBarker_> hence async fuckery
[22:31:14] <BobbieBarker_> which is actually a technical term
[22:31:17] <jaawerth> GreenJello: camelCase becomes camel-case on the tempate side
[22:31:18] <BobbieBarker_> that i coined
[22:31:21] *** RedOrangeZ has joined #angularjs
[22:31:26] <GreenJello> oh damn, thanks jaawerth
[22:31:32] <BobbieBarker_> oh typo!
[22:31:33] <SchizoDuckie> BobbieBarker_: I prefer Aysnc Voodoo
[22:31:36] <jaawerth> hehe
[22:31:38] <BobbieBarker_> i need a new technical term
[22:31:54] *** ximenean___ has joined #angularjs
[22:31:54] <icfantv> oooo, good catch jaawerth
[22:31:58] <SchizoDuckie> i've coined the 'voodoo' terminology at work and it's completely caught on :P
[22:32:02] <BobbieBarker_> yes good catch
[22:32:06] <jaawerth> speaking of which, I wonder if anyone's responded to the angular bug I found in ng-attr
[22:32:15] <BobbieBarker_> you found no bug
[22:32:16] *** danobri has joined #angularjs
[22:32:26] <BobbieBarker_> i found a bug in codeship like 3 weeks ago, they're supposedly sending me a t-shirt
[22:32:28] *** Hestil_ has joined #angularjs
[22:32:32] *** kd`_ is now known as kd`
[22:32:36] <SchizoDuckie> neat BobbieBarker_ :)
[22:32:44] <Perl> oh, right, about my CRUD stuff
[22:32:52] <SchizoDuckie> I'm currently wearing my Bittorrent swag 8-)
[22:32:54] <jaawerth> a new feature as of 1.3..7 or something is supposed to let you use ng-attr to produce camelCased attributes (for use in stuff like SVG), for example ng-attr-view_box --> viewBox
[22:32:58] <Perl> how should i handle pulling data from the api then?
[22:33:02] *** ries has joined #angularjs
[22:33:06] <jaawerth> and it works, but it gets broken if you've got jquery in your project
[22:33:16] *** Hestil has quit IRC
[22:33:16] <BobbieBarker_> Well it depends Perl
[22:33:19] <GreenJello> all working smoothly now :-)
[22:33:22] *** RedOrangeZ has quit IRC
[22:33:23] *** nerdfiles has joined #angularjs
[22:33:25] *** Reskp has joined #angularjs
[22:33:28] *** RedOrangeZ2 has quit IRC
[22:33:36] <jaawerth> ... oh wow, I literally just mentioned it and got an email about someone posting a comment to the issue on gh
[22:33:46] <BobbieBarker_> if the API call is on load, then i'd do it in the route with a resolve. If it is the result of a user action, then it needs to be in a function in the controller
[22:33:49] <jaawerth> they're watching me!!
[22:33:50] <jaawerth> ;-)
[22:33:55] *** opiates has joined #angularjs
[22:33:57] <BobbieBarker_> i.e $scope.doSomething = function()
[22:33:59] <SchizoDuckie> BobbieBarker_: still proud of this one :) http://imgur.com/gallery/vjVH38k
[22:34:10] *** Lewix has quit IRC
[22:34:17] *** candido has joined #angularjs
[22:34:19] <BobbieBarker_> SchizoDuckie: that's something to be proud of
[22:34:20] <BobbieBarker_> gj dude
[22:34:44] <SchizoDuckie> found a gaping xss hole in utorrent while converting their btapp.js to angular
[22:34:53] <BobbieBarker_> brutal
[22:34:53] *** RedOrangeZ has joined #angularjs
[22:35:19] *** davek has quit IRC
[22:35:23] <Perl> BobbieBarker_: what do you mean by "do it in the route with a resolve"
[22:35:27] <jaawerth> SchizoDuckie: is that using WebRTC for the torrent protocol?
[22:35:28] <SchizoDuckie> one of those that give you that 'oh shit, if I were a shady blackhat guy i could make a ton of money now' bugs
[22:35:37] <candido> how can you allow a user to 'unselect' an option in a dropdown
[22:35:42] <SchizoDuckie> nope jaawerth, just a jsonp protocol
[22:35:46] <jaawerth> ah
[22:35:49] *** fedenunez has quit IRC
[22:35:50] <BobbieBarker_> wait one, i'll put a pastebin to explain what it looks like.
[22:35:56] <Perl> alright, thanks
[22:36:09] <jaawerth> there's actually a lib out there (in alpha, I think) that will implement the full protocol in-browser using WebRTC
[22:36:11] <jaawerth> pretty cool
[22:36:24] *** fedenunez has joined #angularjs
[22:36:25] *** danobri has quit IRC
[22:36:28] <SchizoDuckie> yeah it's neat
[22:36:43] <BobbieBarker_> http://pastebin.com/LFs2xjZk
[22:36:55] <SchizoDuckie> https://github.com/schizoduckie/DuckieTorrent
[22:37:06] <BobbieBarker_> in that example there, you could then take "currentAuth" and inject it into the dashBoardCtrl
[22:37:08] <BobbieBarker_> as a dependency
[22:37:28] *** nodedfree has joined #angularjs
[22:38:06] *** SargoDarya has quit IRC
[22:39:41] *** subone has quit IRC
[22:39:53] *** subone has joined #angularjs
[22:40:35] *** Evanion has joined #angularjs
[22:40:44] *** ximenean___ has quit IRC
[22:41:23] *** nerdfiles has quit IRC
[22:41:39] *** nerdfiles has joined #angularjs
[22:42:36] *** LakWork has joined #angularjs
[22:42:40] *** zeitgist has joined #angularjs
[22:42:45] *** busticated has joined #angularjs
[22:43:03] <Seich> Morning everyone o/
[22:43:12] <SchizoDuckie> o/ 'evenign
[22:43:47] *** Hestil_ has quit IRC
[22:44:07] *** snadon has quit IRC
[22:44:25] *** Evanion has quit IRC
[22:44:28] *** busticated has quit IRC
[22:44:38] <Seich> I have a question, how do you watch a value you've defined using 'this' rather than $scope?
[22:44:40] <BahamutWC|Work> jaawerth: how does it break? I was the one who did that feature heh
[22:44:46] <Seich> Here's the gist of it: https://gist.github.com/Seich/08873241e4130d0eecb2
[22:45:01] <BahamutWC|Work> it passed all the unit tests…which has me disturbed
[22:45:12] <Seich> I tried $EVALing expressions but could quite find something that worked :/
[22:45:23] <Seich> *couldn't
[22:45:40] *** breakingthings has quit IRC
[22:45:42] <Seich> Any ideas?
[22:46:00] *** busticated has joined #angularjs
[22:46:16] *** lsiv568 has quit IRC
[22:46:18] *** asheinfeld has quit IRC
[22:46:26] *** ntbisket has quit IRC
[22:47:03] *** Aliks has quit IRC
[22:47:30] *** Hestil has joined #angularjs
[22:47:31] *** Aliks has joined #angularjs
[22:47:33] *** jr3 has quit IRC
[22:47:57] *** jMyles has quit IRC
[22:48:14] *** Aliks has quit IRC
[22:48:27] *** adben- has joined #angularjs
[22:49:35] *** foofoobar has joined #angularjs
[22:49:36] *** zeitgist has quit IRC
[22:50:07] *** juanpablo_ has quit IRC
[22:50:30] *** juanpablo_ has joined #angularjs
[22:50:32] *** asheinfeld has joined #angularjs
[22:51:23] *** nodedfree has quit IRC
[22:51:24] *** Greed` is now known as Greed
[22:51:37] *** Hestil has quit IRC
[22:52:00] *** candido has quit IRC
[22:52:19] *** soee_ is now known as soee
[22:53:14] *** MetaCosm_ has joined #angularjs
[22:53:45] *** WeeJeWel has joined #angularjs
[22:54:15] <jaawerth> BahamutWC|Work: Oh, one sec, I'll link you
[22:54:30] *** shackleford has quit IRC
[22:54:46] *** MetaCosm_ has quit IRC
[22:54:47] <jaawerth> BahamutWC|Work: basically it's because the jqueryPatch process ends up replacing the built-in attribute setter with jQuery.attr, which always forces lowercase.
[22:55:02] *** chrisshattuck has joined #angularjs
[22:55:08] <BahamutWC|Work> bleh damn jQuery
[22:55:12] *** RobertMeta has joined #angularjs
[22:55:12] <jaawerth> yeah
[22:55:35] *** iribarne has quit IRC
[22:55:36] *** Reskp has quit IRC
[22:55:40] <jaawerth> BahamutWC|Work: I was really confused when it wasn't working for me in my project but was in a quick plnk. I was looking for something I did wrong (usually more likely than a bug) and then on a whim added jquery to the plunk and behold!
[22:55:52] <subone> What might cause a select, with ng-options and an empty option set and a valid option in model, to intermittently show a blank value (not the empty option, nor the model value it should be showing)? I tried adding a track by (which I still don't fully understand) but now it intermittently switches between selecting the correct item and selecting the empty option, despite the model being the same each time I open the form. My expression
[22:55:54] <jaawerth> then I checked jquery's docs and sure enough it says it forces lowercase
[22:56:24] <jaawerth> BahamutWC|Work: https://github.com/angular/angular.js/issues/10572
[22:57:19] *** shackleford has joined #angularjs
[22:57:37] *** Menorah has joined #angularjs
[22:57:43] *** Reskp has joined #angularjs
[22:57:48] <BahamutWC|Work> that’s pretty awful
[22:58:01] <jaawerth> as someone just posted, jq sadly has no intention to fix this anytime soon but the fix should just be as simple as grabbing a reference to jqlitePrototype.attr and either extending the replaced jqlite/jquery with it or saving it somewhere where you can call it specifically for ng-attr-foo_bar
[22:58:31] *** iribarne has joined #angularjs
[22:58:50] <subone> The field is marked as $viewValue: "Technical", but "Technical" isn't the selected option
[22:58:51] *** tilgovi has quit IRC
[22:59:02] <SchizoDuckie> mmmm yay moar jquiry hacks
[22:59:02] <jaawerth> this might be too global an approach to fix such a specific issue, but you could just add a line like setAttribute: JQLitePrototype.attr here https://github.com/angular/angular.js/blob/e9bf93d510a6a0c105d8f5d036ec35c7ce08a588/src/Angular.js#L1470-L1478
[22:59:06] *** eburcat has quit IRC
[22:59:14] <jaawerth> BahamutWC|Work: ^
[22:59:45] *** iribarne has quit IRC
[22:59:52] <BahamutWC|Work> jaawerth: I feel the proper fix would be in $compile to add a jQuery specific check
[23:00:00] <jaawerth> yeah, more isolated that way
[23:00:18] *** tilgovi has joined #angularjs
[23:00:21] <jaawerth> however, it might be useful to keep the original jqlite function available for devs who need it in other situations
[23:00:32] *** nickgs has quit IRC
[23:01:09] *** ycodr has quit IRC
[23:01:11] <BahamutWC|Work> I think there’s another ticket for that around
[23:01:24] *** FIFOd[a] has quit IRC
[23:01:27] *** juanpablo_ has quit IRC
[23:01:33] *** ycodr has joined #angularjs
[23:01:46] <jaawerth> in which case, two tickets with one stone! ;-)
[23:01:56] *** juanpablo_ has joined #angularjs
[23:01:56] *** awesomejosh has joined #angularjs
[23:01:59] *** BillCriswell has quit IRC
[23:02:01] <jaawerth> I'm actually testing the more global approach now just to see if it works (I'm curious now)
[23:02:19] *** juampy has quit IRC
[23:02:30] <BahamutWC|Work> welp, just left a comment in the issue ticket - hopefully a core dev provides more guidance there
[23:02:58] <BahamutWC|Work> jQuery not supporting svg is poop
[23:03:11] *** PeterMetz has quit IRC
[23:03:23] *** Aliks has joined #angularjs
[23:03:43] <jaawerth> yeah
[23:03:46] <jaawerth> stupid jquery
[23:03:48] *** jsh_ has joined #angularjs
[23:03:54] *** prbc has joined #angularjs
[23:03:56] *** mjw56 has quit IRC
[23:04:01] <jaawerth> I wouldn't even be using it in my project if I wasn't currently using another module that requires it
[23:04:05] <jaawerth> hopefully I can pull it out later
[23:04:49] <subone> Can someone at least explain to me the purpose or "track by" in ngoptions?
[23:04:55] *** prbc_ has quit IRC
[23:05:17] *** caitp has joined #angularjs
[23:05:24] <SchizoDuckie> subone: angular creates a copy of your data for rendering in the view
[23:05:32] <SchizoDuckie> track by says how that copy should be ordered/iterated
[23:05:45] <subone> sort order?
[23:05:56] <SchizoDuckie> no, key discriminator
[23:05:59] <jaawerth> subone: per the docs, " If a track by expression is used, the result of that expression will be set as the value of the option and select elements."
[23:06:02] <BahamutWC|Work> jaawerth: I take it you’re trying to dynamically change an SVG attribute?
[23:06:36] <jaawerth> BahamutWC|Work: Yeah. For now I've just exposed a controller function that calls element.setAttribute (saves me a watcher that way anyway)
[23:06:47] *** juanpablo_ has quit IRC
[23:06:53] <subone> I thought that's what the id was for like "item.id as item.label for item in items"
[23:06:54] <BahamutWC|Work> hacky, but whatever works I guess
[23:07:02] <jaawerth> just a temporary measure
[23:07:12] *** juanpablo_ has joined #angularjs
[23:07:21] *** lemur has joined #angularjs
[23:07:31] *** sbellina has joined #angularjs
[23:07:37] <jaawerth> it was a minor aspect of what I was doing, I wanted to just do it and move on - in fact, in a later version I think I stopped dynamically setting the viewBox entirely in that particular directive
[23:07:44] *** tkdaj has left #angularjs
[23:08:23] <jaawerth> still, it's definitely a bug (albeit not anyone's fault on the angular side) so I figured I'd post it FOR THE GREATER GOOD
[23:08:30] *** OnkelTem has quit IRC
[23:08:40] *** lemur has quit IRC
[23:08:48] *** nemothekid has joined #angularjs
[23:08:49] *** marc_v92 has joined #angularjs
[23:08:53] *** earthquake has quit IRC
[23:09:12] *** deranged has quit IRC
[23:09:15] *** earthquake has joined #angularjs
[23:09:18] *** lemur has joined #angularjs
[23:09:41] *** fedenunez has quit IRC
[23:09:55] *** AlexZan has joined #angularjs
[23:09:57] <jaawerth> subone: there are situations where it isn't ideal to do it that way
[23:09:57] *** tristanp has quit IRC
[23:10:06] <subone> like?
[23:10:07] *** OnkelTem has joined #angularjs
[23:10:19] *** lemur has quit IRC
[23:10:52] *** CanyonMan has joined #angularjs
[23:10:59] <jaawerth> off the top of my head? filtering, or wanting the full data in the model but needing to make sure selectin occurs by a certain property
[23:11:01] *** nodedfree has joined #angularjs
[23:11:06] *** Una has joined #angularjs
[23:11:12] *** loverajoel has quit IRC
[23:11:15] <jaawerth> ng-options is one area I usually have to reference the docs everytime I do anymore more complicated than the basic stuff, though
[23:11:21] <BahamutWC|Work> just got an awesome idea for a directive
[23:11:26] *** lemur has joined #angularjs
[23:11:54] <jaawerth> subone: read the docs, it mentions it a few times
[23:12:01] <BahamutWC|Work> an image loader that stores the url as the key of a hash with the value being the base64 string, so that the image loads instantly instead of the slow download
[23:12:27] <subone> I'm reading the docs now, there's not a lot of explanation on track by
[23:12:32] *** shpoont has quit IRC
[23:12:33] <subone> https://docs.angularjs.org/api/ng/directive/select
[23:12:52] *** deranged has joined #angularjs
[23:13:19] *** nickgs has joined #angularjs
[23:13:19] *** jsh_ has left #angularjs
[23:13:32] <jaawerth> one situation is: if you want to pre-select one of your ng-options, and your ng-options are an array of objects, without track by you need to make sure you've set your ng-model to something that passes strict/referential equality (===) with the relevant ng-option, which means doing something like myNgModelProp = $scope.options[optionIndex] or something like that, so it's the same reference
[23:13:33] *** mrru has quit IRC
[23:13:47] *** JesseH has joined #angularjs
[23:13:56] <jaawerth> using trackby lets you just use whatever property you want to match to select an option from code
[23:14:22] <JesseH> Does it break any conventions to use a ThisCase for module names?
[23:14:38] <subone> I don't get that
[23:14:48] *** prbc has quit IRC
[23:15:07] *** jMyles has joined #angularjs
[23:15:24] *** foofoobar has quit IRC
[23:15:37] <JesseH> CamelCase
[23:15:39] *** lemur has quit IRC
[23:15:49] *** platonic has quit IRC
[23:15:53] *** asheinfeld has quit IRC
[23:16:12] *** asheinfeld has joined #angularjs
[23:16:24] <subone> I thought the "item.id" of "item.id as item.label..." told angular to compare item.id with the model?
[23:18:26] *** chrisshattuck has quit IRC
[23:18:29] *** Nivag has quit IRC
[23:18:52] <subone> hmm... unless... is it because the "select" part can be "an expression", meaning it may not be an "L-value"
[23:19:29] <subone> so track by just allows you to do the same, with an expression, just the other direction?
[23:19:31] *** Nivag has joined #angularjs
[23:19:35] *** cakirke has joined #angularjs
[23:19:56] *** Reskp has quit IRC
[23:20:17] *** umib0zu has quit IRC
[23:20:23] *** Reskp has joined #angularjs
[23:22:27] *** Sawbones has quit IRC
[23:22:51] *** Lewix has joined #angularjs
[23:22:51] *** Lewix has joined #angularjs
[23:23:12] *** mzabriskie has quit IRC
[23:23:19] *** one_zero has joined #angularjs
[23:23:50] *** ntbisket has joined #angularjs
[23:25:09] *** Reskp has quit IRC
[23:25:24] *** Trow has quit IRC
[23:25:46] *** seriema has joined #angularjs
[23:25:50] *** Hootch has joined #angularjs
[23:26:00] *** tkdaj has joined #angularjs
[23:26:06] *** WeeJeWel has quit IRC
[23:26:17] *** woah has joined #angularjs
[23:26:25] <tkdaj> is it possible to access angular's scope variable from the web browser's URL using javascript: ... ?
[23:26:41] <tkdaj> URL bar*
[23:26:46] *** opiates has quit IRC
[23:27:09] <SchizoDuckie> uh. possibly
[23:27:20] <SchizoDuckie> but i'm feeling that you might want to do somethign crazy. can you elaborate?
[23:27:26] <tkdaj> lol
[23:27:27] <zomg> javascript:angular.element(document.body).scope()
[23:27:31] <zomg> or something like that
[23:27:37] <zomg> but it assumes that the scope is available on body
[23:27:39] *** Circlefusion has joined #angularjs
[23:27:43] <tkdaj> gotcha
[23:28:09] <tkdaj> I have been writing angular for work and on one of my pages I am currently using ng-hide to hide things that the user shouldn't see due to permissions
[23:28:15] <tkdaj> which is bad
[23:28:32] <tkdaj> since you can just delete it from the html after page load and it shows up anyway
[23:28:52] *** Grokling_ has quit IRC
[23:28:53] *** Oxynum has joined #angularjs
[23:28:56] <SchizoDuckie> and you want to debug your scope values or so?
[23:28:57] *** jacquesdancona has quit IRC
[23:28:57] *** morenoh149 has quit IRC
[23:29:30] <tkdaj> but since permissions are still tested on the back end even if I show the stuff it doesn't let me access them (which is good). I am trying to see if I can access the scope after loading and change a function so that it doesn't check
[23:29:39] <tkdaj> I am basically doing a hackability test on my site for my boss
[23:29:54] <SchizoDuckie> install angular batarang in chrome
[23:30:01] <SchizoDuckie> then just right click inspect an element
[23:30:03] <SchizoDuckie> and fuckery away
[23:30:08] *** fotoflo has joined #angularjs
[23:30:22] <SchizoDuckie> if you inspected an element, type $scope in the console to access that specific scope
[23:30:29] <tkdaj> ah
[23:30:31] <tkdaj> cool
[23:30:33] <SchizoDuckie> you might need a $scope.apply(); after you change something
[23:30:40] <SchizoDuckie> erh
[23:30:44] <SchizoDuckie> $scope.$digest() sorry
[23:30:45] *** Oxynum has quit IRC
[23:30:51] <tkdaj> gotcha
[23:30:55] *** nickgs has quit IRC
[23:31:23] <SchizoDuckie> no more url bar debugging please. don't torture yourself
[23:31:50] <tkdaj> I graduated in Dec and started programming websites for the first time at the end of April
[23:32:01] <tkdaj> So I don't have much experience a lot of this yet
[23:32:10] <tkdaj> at a lot of this*
[23:32:24] <SchizoDuckie> not a problem
[23:32:26] *** grumpyOldRussian has joined #angularjs
[23:32:29] <SchizoDuckie> learn to love the webkit inspector
[23:32:35] <SchizoDuckie> it's your best friend from now on
[23:32:56] <tkdaj> webkit inspector?
[23:33:04] <SchizoDuckie> hit F12 in chrome on a webpage
[23:33:08] <tkdaj> yeah
[23:33:15] <tkdaj> the little magnifying glass?
[23:33:18] *** annlewis has quit IRC
[23:33:26] <SchizoDuckie> that whole panel is the webkit inspector
[23:33:30] <tkdaj> oh okay
[23:33:35] *** shackleford has quit IRC
[23:33:35] <tkdaj> yeah, I use it all the time
[23:33:35] <tkdaj> :)
[23:33:40] <SchizoDuckie> good good :)
[23:33:53] <SchizoDuckie> now just grab the angular batarang tool from the chrome webstore and enable it
[23:34:03] <SchizoDuckie> then use the magnifying glass to find the element you want to mess with
[23:34:10] <SchizoDuckie> and then type $scope in the console line :)
[23:34:14] *** slopjong has quit IRC
[23:34:31] *** simon0191 has quit IRC
[23:34:37] <tkdaj> oh okay
[23:35:03] *** SargoDarya has joined #angularjs
[23:36:19] *** Reskp has joined #angularjs
[23:37:03] *** grumpyOldRussian has quit IRC
[23:37:04] <tkdaj> Thanks for your help :)
[23:37:30] *** danecando has joined #angularjs
[23:37:33] <SchizoDuckie> no problem :)
[23:39:15] *** elrabin_ has quit IRC
[23:39:30] *** e0ipso is now known as e0ipso|away
[23:39:51] *** elrabin has joined #angularjs
[23:39:57] *** PeterMetz has joined #angularjs
[23:40:31] <Perl> SchizoDuckie: wow, that's really useful
[23:40:43] *** cthrax has joined #angularjs
[23:41:01] *** Lewix has quit IRC
[23:41:19] *** nickgs has joined #angularjs
[23:41:33] *** adben- has quit IRC
[23:41:59] <SchizoDuckie> it was one of the first things i did when starting angular :P
[23:42:15] <SchizoDuckie> can't debug stuff if you can't see what's going on :)
[23:42:50] *** shackleford has joined #angularjs
[23:43:14] *** Una has quit IRC
[23:43:40] <damian__> hi. please I read something about dotJEM/angular-routing but I don't understand well. Is it an alternative to ui-router ? (sorry for my english)
[23:43:47] *** awesomejosh has quit IRC
[23:43:53] *** jacquesdancona has joined #angularjs
[23:43:57] *** elrabin has quit IRC
[23:44:00] <ctanga> damian__: that is correct, alternative to ui-router
[23:44:12] <damian__> ctanga is it a better option ?
[23:44:34] <ctanga> nah
[23:44:42] <ctanga> it’s good, but I wouldn’t choose it over ui-router
[23:45:08] <damian__> "Today we’ll be using dotJEM/angular-routing in conjunction with angular-rails-templates. This is the best routing library I have found after using ng-route, and ui-router. (Although nothing compares to the Ember Router.)" <--- I refer to this
[23:45:14] *** zeitgist has joined #angularjs
[23:45:46] *** Lewix has joined #angularjs
[23:45:46] *** Lewix has joined #angularjs
[23:45:58] <SchizoDuckie> don't take every blogpost you read for truth, it's just one person's preference
[23:46:18] *** ries has quit IRC
[23:46:23] *** asheinfeld has quit IRC
[23:46:26] <SchizoDuckie> I've seen many articles that just plain send newbies on a wrong path
[23:46:44] <damian__> ok, that is what I wanted to know, thanks. (I thought the blog was good)
[23:46:45] <jhooks> The Internet is mostly filled with bad advice ;)
[23:46:51] *** woah has quit IRC
[23:46:57] <SchizoDuckie> If you're still learning, your best bet is ui-router. It's well tested, adopted and used by a whole lot of people
[23:47:02] <shoerain> with the proverbial diamonds in the rough
[23:47:02] <jhooks> except when it's not
[23:47:14] <damian__> SchizoDuckie what sources do you recommend for newbies please ?
[23:47:15] <SchizoDuckie> the amount of stars on github something gets is mostly a good indication
[23:47:21] <robdubya> SchizoDuckie - your CRUD / ORM thingr - do i read it right as being mostly getter/setter based?
[23:47:40] *** asheshambasta has quit IRC
[23:47:48] <SchizoDuckie> you can have getters, setters, and custom functions to handle stuff robdubya :)
[23:48:09] <Tuxity> hmmm it's possible to load a Factory (ngressource) in .config() ? no ?
[23:48:14] <robdubya> so how does that reconcile with ng-model? eg ng-model="someFoo.name"
[23:48:26] <robdubya> never really looked into it w/ getters n setters
[23:48:38] <SchizoDuckie> it just works transparently, that's the beauty of it
[23:48:43] <robdubya> cool
[23:48:45] <SchizoDuckie> i drop CRUD objects directly onto scope
[23:49:00] <m0> Hello! I am wondering if this is the good way implementing this scenario. I have a list of names, when each name is selected it will render a really complex controls that needs to data load. So in my main controller I expose "templateUrl" in the scope. And when I select any name, it basically sets the templateUrl which binds to an ng-include with a ng-init
[23:49:34] <SchizoDuckie> my code was littered with bla.get(field) everywhere, and I decided that that was totally unneccesary and ugly
[23:49:41] <SchizoDuckie> the getters/setters are beautiful
[23:49:46] *** travm has quit IRC
[23:49:47] *** subone has quit IRC
[23:50:00] *** subone has joined #angularjs
[23:50:03] *** zeitgist has quit IRC
[23:50:10] <BobbieBarker_> sensei!
[23:50:12] <BobbieBarker_> you still live
[23:50:29] <Tuxity> I 've a "Unknown provider: "
[23:50:30] <Tuxity> :(
[23:50:43] <damian__> SchizoDuckie which blog, book or any other source do you recommend for learning ?
[23:50:55] *** ries has joined #angularjs
[23:51:05] <SchizoDuckie> I've got no little library damian__
[23:51:16] <SchizoDuckie> i've been reading everything i could get my hands on the last year
[23:51:24] *** nickgs has quit IRC
[23:51:25] <BobbieBarker_> damian__: this IRC channel is probably the best resource imo
[23:51:37] <BobbieBarker_> not sure what the state of the published literature is
[23:51:38] <BobbieBarker_> anymore
[23:51:39] *** zz_night-owl is now known as night-owl
[23:51:47] <BobbieBarker_> but historically speaking, it has been not good.
[23:51:51] *** ejb has joined #angularjs
[23:51:57] *** zB0hs has joined #angularjs
[23:52:36] <damian__> ok, thanks
[23:52:37] <tkdaj> how come when I check enable on that chrome extension it doesn't load the page?
[23:52:37] *** matheusrocha89 has joined #angularjs
[23:52:40] <tkdaj> it's just blank?
[23:52:42] *** iLoop2 has quit IRC
[23:52:54] *** asheinfeld has joined #angularjs
[23:53:00] <SchizoDuckie> robdubya: you're promises guru i was looking for
[23:53:11] <robdubya> orly
[23:53:15] <BobbieBarker_> also i'd agree with SchizoDuckie on not taking blog post seriously about angularJS there was a time period very recently where every wanna be web dev was trying to do a blog post on angular
[23:53:17] <BobbieBarker_> and they're all shit
[23:53:18] <SchizoDuckie> have you noticed any problems in chrome dev/canary lately?
[23:53:32] <robdubya> SchizoDuckie with promises? nope.
[23:53:45] <SchizoDuckie> then it must really be websql that's fuckering
[23:54:01] <damian__> BobbieBarker_ I thought it was a good article -> http://blog.newrelic.com/2014/11/19/angularjs-adventures-routing/
[23:54:03] <SchizoDuckie> i've asked you a couple weeks ago about my favoritesservice and you were kind enough to drop pormise-nuggets and stuff
[23:54:32] <robdubya> i'm using the native ones (or the traceur polyfill) quite happily atm
[23:55:05] <SchizoDuckie> I even went as far as overriding chrome's and bypassing angular's with a modified version of the es6-poly
[23:55:27] <SchizoDuckie> either there's a promise disappearing, or there's a chrome bug in websql
[23:55:41] <damian__> BobbieBarker_ has this channel logs people can read ?
[23:55:43] <robdubya> only thing to be aware of obv is that a native promise wont trigger a digest w/ angular
[23:55:49] <BobbieBarker_> damian__: yeah
[23:55:52] *** SargoDarya has quit IRC
[23:56:02] <damian__> how can I read them ??
[23:56:04] *** wa5ted has quit IRC
[23:56:13] <SchizoDuckie> yeah, that's no problem :) i've strippped all angular out of it and it still breaks
[23:56:24] *** slopjong has joined #angularjs
[23:56:42] *** encryptd_fractl has quit IRC
[23:56:51] <robdubya> post the snippet if you want. websql/idb can be a bit funky since they get all silly with their events
[23:57:10] <SchizoDuckie> yeah i've handled that as wel with my crud.js
[23:57:11] <SchizoDuckie> http://plnkr.co/edit/dg28AvYXHfdSGuD4XREI?p=preview
[23:57:13] <BobbieBarker_> damian__: that's an interesting blog post, but I don't think it does much for the entry level developer trying to learn angular. It's mostly this guy bragging about how smart his team is.
[23:57:21] *** moogey has joined #angularjs
[23:57:44] <Tuxity> https://gist.github.com/Tuxity/5ccef7c625d390ec3475 this code give me Unknown provider: Access
[23:57:46] <BobbieBarker_> i guess the routes break down isn't that bad,
[23:57:53] <Tuxity> you have an idea why ? :/
[23:57:58] *** Reskp has quit IRC
[23:57:59] <damian__> BobbieBarker_ do you know any good blog about angular ?
[23:58:04] *** Snugug has quit IRC
[23:58:05] *** nickgs has joined #angularjs
[23:58:18] <BobbieBarker_> no, i really don't look for information anymore I really just answer other peoples questions at this point
[23:58:27] <BobbieBarker_> a lot of really smart people in this room helped me get on my feet with angualr
[23:58:30] <SchizoDuckie> robdubya: the fun part is that it works in chrome stable, oper and android
[23:58:37] *** nickgs has quit IRC
[23:58:39] *** night-owl is now known as zz_night-owl
[23:58:45] <SchizoDuckie> and on chrome dev and canary it breaks after 78 inserts
[23:58:51] <robdubya> reeealllu
[23:58:52] <robdubya> *y
[23:58:59] <damian__> the problem is that I can't read the channel when I'm working
[23:59:24] <robdubya> SchizoDuckie oh wow, yeah
[23:59:38] <SchizoDuckie> yeap. consistently. it looks like the promise chain breaks on an exception, but i can't seem to trace it. 2 weeks into this specific bug, several heavy iterations and no luck.
[23:59:39] *** whunt_ has joined #angularjs
[23:59:45] <BobbieBarker_> true story, the other problem with that blog post is it's a really high level view of architecture that doesn't answer the kind of quetstions that some one new to angular is going to have
[23:59:56] *** bmac_ has quit IRC
[23:59:57] *** b1rkh0ff has joined #angularjs
top

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