[00:00:00] *** Willow__ has quit IRC
[00:00:09] <danielsv> pretty sure everything will fall apart if i try to upgrade it
[00:00:12] <anger> step 1: start using new version :)
[00:00:46] <Emperor_Earth> in a sample auth scheme, as user logins or registers, what should i do to protect the password/email as they are transferred over the wire? (i plan on using bcrypt on a golang backend)
[00:00:53] <felixn> step 0: write automated test
[00:00:56] *** chad has joined #angularjs
[00:01:00] <felixn> step 2: run tests
[00:01:13] <felixn> tests*
[00:01:29] <anger> Emperor_Earth: use https
[00:01:33] *** anjumkaiser has joined #angularjs
[00:03:03] <felixn> danielsv: just write a hack for now, but make an upgrade plan, and honestly e2e testing is awesome if you don't like your site breaking
[00:03:29] <Emperor_Earth> anger: that alone is sufficient?
[00:03:33] <danielsv> think im gonna try to upgrade it now
[00:03:40] <Emperor_Earth> anger: just ssl is sufficient?
[00:04:00] <danielsv> just took over this project, surely this is not gonna be the first hiccup
[00:04:22] *** Gambit- has left #angularjs
[00:04:23] *** Vinnyceptr has quit IRC
[00:04:42] *** scmx has joined #angularjs
[00:04:47] <felixn> at least it isn't backbone :)
[00:05:08] <anger> Emperor_Earth: as for client to server communication, https is the best protection
[00:05:33] <anger> And of course you need to crypt passwords server side
[00:06:20] *** Aartsie has joined #angularjs
[00:06:47] *** tgkokk has quit IRC
[00:07:13] <Emperor_Earth> anger: yes, bcrypt on golang backend
[00:07:15] <felixn> Emperor_Earth: SSL is good enough for most, but if you want better you can use HSTS to deter MITM attacks
[00:07:28] *** mennea has quit IRC
[00:07:36] <Emperor_Earth> anger: hsts, alright, i'll look into that and do a personal cost/benefit analysis
[00:07:39] <Emperor_Earth> anger: thanks
[00:07:40] <anger> Emperor_Earth: I recommend you to check what fb/google etc. has to offer you for user authentication
[00:08:01] <Emperor_Earth> anger: i would prefer not rely on third party auth schemes
[00:08:02] <anger> Or kerberos/activedirectory if you are running on a corporate network
[00:08:37] *** tgkokk has joined #angularjs
[00:08:40] *** chrislerum has joined #angularjs
[00:08:53] *** Silne30 has joined #angularjs
[00:08:56] <anger> Secure authentication is not a simple thing to build, you save a lot of effort by using third party authenticators
[00:09:20] <anger> They are most likely also much more secure than the ones you create
[00:09:35] <Emperor_Earth> anger: i agree, but the flip side is, they go out of business you lose evefything, they get targetted by DDOS, your site is nonfunctional. i'm not nearly as attractive a target as they are
[00:09:38] <felixn> eh?
[00:09:48] <anger> Plus users are happy if they don't need to memorize one more password
[00:09:53] <Emperor_Earth> anger: i'll trade a probable slight dip in security for a definite smaller footprint/dependency
[00:10:17] *** stirlingw has joined #angularjs
[00:10:32] *** chrislerum has quit IRC
[00:10:51] *** chrislerum has joined #angularjs
[00:10:55] <danielsv> felixn, anger: managed to upgrade without breaking too much, thanks for the help
[00:11:11] <felixn> danielsv: goodjob angular team! for not having too many breaking changes
[00:11:19] <anger> Emperor_Earth: I did also to my site both username/pass auth and fb/g+ login
[00:11:59] <anger> Then users can decide if they want which authentication mechanism to use
[00:12:09] *** scmx has quit IRC
[00:12:13] *** Jdubs has quit IRC
[00:12:17] <Emperor_Earth> anger: yeah. there are other reasons for not wanting to do fb/tw/g+ login. this project is just a learning one. but my next one is a planned MVP that while not direct competitors, is a competitor
[00:13:06] <Emperor_Earth> anger: there's also a pretty big privacy situation growing with fb/g+ and their users. twitter seems to be a golden child comparatively there, but they have their failwhale
[00:13:11] *** amargherio has quit IRC
[00:13:15] <anger> Emperor_Earth: well I recommend to also learn how to integrate to fb/g+/tw since they are so easy to implement :)
[00:13:19] *** anjumkaiser has quit IRC
[00:13:29] <Emperor_Earth> anger: i agree for 99% of use cases:) thanks for your time btw
[00:13:37] <anger> np
[00:13:44] <felixn> yea you should definitely try integrating facebook if you haven't, I concur!
[00:13:54] *** oste has quit IRC
[00:14:00] *** mettjus has joined #angularjs
[00:14:08] <felixn> then once you've gained their knowledge you can take them down in your MVP
[00:14:35] *** anjumkaiser has joined #angularjs
[00:14:41] *** dazs has quit IRC
[00:15:16] *** nodweber has quit IRC
[00:16:07] *** Aartsie has quit IRC
[00:19:46] *** chrisbirk has quit IRC
[00:20:17] *** ETBlue has quit IRC
[00:20:30] *** chrisbirk has joined #angularjs
[00:20:42] <anger> Damn, date filter doesn't seem to work with string dates
[00:21:01] *** JmZ_ is now known as JmZ
[00:21:08] *** dutis has quit IRC
[00:21:21] <anger> Can I somehow make it work inside the html code?
[00:21:49] *** Destos has quit IRC
[00:22:10] <anger> Now I have <div>{{date | date:'dd.MM.yyyy'}}</div> but as said, var date is only a string
[00:23:00] *** greatdex has joined #angularjs
[00:23:22] <anger> How can I put the string into a Date object?
[00:23:39] *** anjumkaiser has quit IRC
[00:23:57] *** stirlingw has quit IRC
[00:24:15] *** sdouglas has joined #angularjs
[00:24:31] *** stirlingw has joined #angularjs
[00:24:50] *** Fire-Dragon-DoL has quit IRC
[00:25:35] *** Destos has joined #angularjs
[00:25:37] *** lw has quit IRC
[00:27:04] *** feelfine has quit IRC
[00:28:07] *** anton__ has joined #angularjs
[00:28:37] *** stirlingw has quit IRC
[00:28:44] *** anton__ has quit IRC
[00:28:55] *** sdouglas has quit IRC
[00:28:57] *** faddah has quit IRC
[00:29:03] *** encrypt3d_fracti has quit IRC
[00:29:17] *** Willow__ has joined #angularjs
[00:30:32] <davek> anger, Date.parse()
[00:30:50] *** feelfine has joined #angularjs
[00:31:01] *** vader_ has quit IRC
[00:31:28] <anger> Can I do that in html code?
[00:31:50] <anger> Or do I need to loop the json result in the controller?
[00:32:24] <anger> Converting the string into Date object itself is not a problem, just don't know how to do it in angular :)
[00:34:00] *** dutis has joined #angularjs
[00:34:03] *** infinitesum has quit IRC
[00:34:23] *** Willow__ has quit IRC
[00:34:49] *** faddah has joined #angularjs
[00:35:10] <felixn> anger: hmm, the date filter should do the conversion for you.. you could just make a filter that works for your needs {{ date | betterDate:'foobar' }}
[00:35:54] <felixn> anger: yea angular doesn't dictate the model layer, so by default it will just be plain old javascript objects
[00:36:19] *** bkuberek has quit IRC
[00:36:43] *** bkuberek has joined #angularjs
[00:36:46] <felixn> personally, right now I'm just taking data right off an endpoint and puting it in angular, but I would like a better RPC layer like thrift to do that sort of conversion .. but for now things are working great
[00:37:02] *** cedricziel has quit IRC
[00:37:12] *** bphogan is now known as bphogan_afk
[00:38:21] *** Nizumzen has joined #angularjs
[00:38:40] *** cedricziel has joined #angularjs
[00:40:12] *** flocca has quit IRC
[00:40:40] *** hnordt has quit IRC
[00:40:46] *** bayousoft has joined #angularjs
[00:41:02] *** Rockfordal has quit IRC
[00:42:13] *** anjumkaiser has joined #angularjs
[00:42:47] *** Jdubs has joined #angularjs
[00:44:23] *** rho has quit IRC
[00:44:23] *** mettjus has quit IRC
[00:44:24] *** chrislerum has quit IRC
[00:45:09] *** RandyT has quit IRC
[00:45:16] *** Ericx2x_ has joined #angularjs
[00:45:52] *** ericrav has joined #angularjs
[00:45:54] *** Ethix has joined #angularjs
[00:46:08] *** Trow1 has quit IRC
[00:46:30] *** anjumkaiser1 has joined #angularjs
[00:46:30] *** tomzx is now known as tomzx`afk
[00:46:48] *** anjumkaiser has quit IRC
[00:47:09] *** Jdubs has quit IRC
[00:49:04] *** luisjose has joined #angularjs
[00:49:33] *** infpetal has joined #angularjs
[00:50:05] *** mettjus has joined #angularjs
[00:50:11] *** Destos has quit IRC
[00:50:15] *** ericrav has quit IRC
[00:51:45] *** ericrav has joined #angularjs
[00:52:03] *** jtimon has quit IRC
[00:52:07] *** tgkokk has quit IRC
[00:52:39] <anger> felixn: Seems that there is some problem with mysql datetime format eg. '2014-07-20 01:52:00'
[00:52:44] *** TorchDragon has joined #angularjs
[00:54:33] *** jstroem has joined #angularjs
[00:54:54] *** ninsei_z has joined #angularjs
[00:55:09] *** anjumkaiser1 has quit IRC
[00:55:28] *** lw has joined #angularjs
[00:56:06] *** ericrav has quit IRC
[00:56:09] *** feelfine has quit IRC
[00:57:12] *** TorchDragon has quit IRC
[00:57:16] *** ninsei has quit IRC
[00:58:49] *** LoveAndHappiness has quit IRC
[00:58:57] *** jstroem has quit IRC
[01:00:21] *** kalehv has quit IRC
[01:00:36] *** t1mmen has quit IRC
[01:02:22] *** SonikBoom has quit IRC
[01:04:01] *** lieuallen has quit IRC
[01:05:02] *** lordkryss has joined #angularjs
[01:05:10] *** peey has quit IRC
[01:05:12] *** hswolff has quit IRC
[01:05:22] *** ninsei has joined #angularjs
[01:05:23] *** tangorri has quit IRC
[01:05:23] *** ninsei has quit IRC
[01:05:36] *** ninsei has joined #angularjs
[01:05:49] *** ninsei has joined #angularjs
[01:05:50] *** visionary has joined #angularjs
[01:05:51] *** feelfine_ has joined #angularjs
[01:05:51] *** ninsei has quit IRC
[01:06:04] *** ninsei has joined #angularjs
[01:06:17] *** ninsei has joined #angularjs
[01:06:32] *** ninsei has joined #angularjs
[01:06:34] *** RandyT has joined #angularjs
[01:06:52] *** ninsei_z has quit IRC
[01:08:23] *** JmZ is now known as JmZ_
[01:08:23] *** atkerson has joined #angularjs
[01:09:12] *** watsonkp has quit IRC
[01:10:12] *** AciD`` has quit IRC
[01:10:26] *** BillCriswell has joined #angularjs
[01:12:28] *** vote539 has joined #angularjs
[01:13:28] *** jonnybro has joined #angularjs
[01:13:38] *** vote539 has quit IRC
[01:13:44] *** bayousoft has quit IRC
[01:13:59] *** Jdubs has joined #angularjs
[01:14:42] *** SonikBoom has joined #angularjs
[01:15:00] *** BillCriswell has quit IRC
[01:15:12] *** ninsei_d has joined #angularjs
[01:16:39] *** anjumkaiser has joined #angularjs
[01:16:46] *** elxa has quit IRC
[01:16:53] *** visionary has quit IRC
[01:17:13] *** elxa has joined #angularjs
[01:17:19] *** foofoobar_ has joined #angularjs
[01:17:22] *** dc has quit IRC
[01:17:47] *** dc has joined #angularjs
[01:18:16] *** ninsei has quit IRC
[01:18:31] *** Destos has joined #angularjs
[01:18:35] *** linojon has joined #angularjs
[01:18:55] *** feelfine_ has quit IRC
[01:19:02] *** Reite has quit IRC
[01:20:47] *** chrislerum has joined #angularjs
[01:21:16] *** digia is now known as digia|away
[01:23:03] *** tomzx`afk is now known as tomzx
[01:23:03] *** one_zero has joined #angularjs
[01:23:39] *** lw has quit IRC
[01:23:55] *** rgolea has joined #angularjs
[01:24:09] <rgolea> hi there people... i'm using foundation with angular and i am routing
[01:24:32] <rgolea> how can i run $(document).foundation();
[01:24:37] <rgolea> at loading every view
[01:24:38] <rgolea> ?
[01:24:42] *** jangoh has joined #angularjs
[01:24:47] *** jchamberlain has joined #angularjs
[01:25:22] *** dc has quit IRC
[01:25:39] *** Ericx2x_ has quit IRC
[01:27:30] *** DrMabuse has quit IRC
[01:27:43] *** raghunayyar has quit IRC
[01:27:54] *** ededagic has quit IRC
[01:28:31] <caitp> rgolea: you probably shouldn't
[01:28:31] *** stirlingw has joined #angularjs
[01:28:39] *** cobakobodob has quit IRC
[01:28:49] *** MikaAK_ has joined #angularjs
[01:28:57] <caitp> you should use directives to initialize foundation features for a given element
[01:29:23] <rgolea> i need to execute that function everytime a new view loads... all foundation 5 works if that function runs
[01:29:30] <rgolea> caitp
[01:29:44] *** secondjeff has quit IRC
[01:29:47] <caitp> you don't really need to execute it every time a view loads, you only really need to do it for a specific element which uses foundation
[01:30:03] *** Willow__ has joined #angularjs
[01:30:27] *** DrMabuse has joined #angularjs
[01:30:37] <rgolea> i know... but i can't execute another function from a template
[01:30:41] <rgolea> don't know why
[01:30:43] <rgolea> caitp
[01:30:49] <caitp> wat
[01:31:04] *** bayousoft has joined #angularjs
[01:31:36] *** chrislerum has quit IRC
[01:31:39] *** lw has joined #angularjs
[01:31:54] *** chrislerum has joined #angularjs
[01:33:14] *** jonnybro has quit IRC
[01:33:21] *** dreb has joined #angularjs
[01:33:27] <caitp> you could have like `<nav class="top-bar" data-top-bar foundation><...all of your other markup></nav>` --- and initialize foundation for that element in post-link
[01:33:36] *** plysiu has quit IRC
[01:33:37] <caitp> for example
[01:33:54] <rgolea> how do i initialize?
[01:34:09] <rgolea> ng-init on that view?
[01:34:15] <rgolea> caitp
[01:34:44] <caitp> the `foundation` attribute would be a directive in which you'd call element.foundation() in post-link
[01:34:58] *** MikaAK_ is now known as MikaAK
[01:35:00] *** chrislerum has left #angularjs
[01:35:00] <rgolea> i don't get it
[01:35:03] <rgolea> sorry
[01:35:15] <rgolea> can you give me an example?
[01:35:15] *** Willow__ has quit IRC
[01:35:35] <caitp> it's a directive, so when a view containing that directive is compiled, you can give the compiler some instructions on what to do when it's added to the DOM
[01:35:45] <caitp> in this case, you'd initialize foundation() for that element
[01:36:28] *** dc has joined #angularjs
[01:36:38] *** S234567a has joined #angularjs
[01:37:08] *** aton` has quit IRC
[01:37:13] *** mglvl has joined #angularjs
[01:37:18] <rgolea> thank you
[01:37:19] <S234567a> Best place to add jquery for an item in a partial view? Directives?
[01:37:31] *** rgolea has quit IRC
[01:38:25] <felixn> S234567a: directive, I like to think of them as a wrapper
[01:38:57] *** ededagic has joined #angularjs
[01:40:08] <TheAceOfHearts> hey caitp, stupid question. I'm need to create NgModelController instances, best way to do that in my tests :P?
[01:40:20] *** benjamingr has quit IRC
[01:40:56] <caitp> you just want ngmodelcontroller instances on their own, not paired with a compiled element?
[01:40:58] <S234567a> will directives jquery work in a "partial view" (after the events and page load have already occurred)?
[01:41:02] <TheAceOfHearts> yeah
[01:41:03] <caitp> (I'm not sure I understand the use case)
[01:41:27] <TheAceOfHearts> I'm writing tests for some form validation stuff :P
[01:42:11] <TheAceOfHearts> I can tie it to a compiled element though, that's how I was planning on writing the test
[01:42:15] <TheAceOfHearts> but if I don't have to, it's better :P
[01:42:16] <felixn> S234567a: yea just make sure to hook into $destroy to clean up any events or things you've created
[01:42:45] <caitp> TheAceOfHearts, in angular all of the tests involving ng-model also involve compiled inputs and selects
[01:42:52] <S234567a> hmmm great thank you felixn
[01:42:54] <TheAceOfHearts> gotcha
[01:43:04] <TheAceOfHearts> I figured as much :P
[01:43:30] *** ededagic has joined #angularjs
[01:44:04] <felixn> S234567a: definitely cite angular-spinner as an example! they even show how to expose methods from your directive, so you can modify it's runtime
[01:44:06] *** S234567a has quit IRC
[01:44:34] *** asdofindia has joined #angularjs
[01:44:56] *** Rockfordal has joined #angularjs
[01:45:53] *** ericrav has joined #angularjs
[01:47:17] *** nemothekid has quit IRC
[01:47:18] *** lizard_ has joined #angularjs
[01:47:31] *** fold has joined #angularjs
[01:48:04] *** yoshokatana has joined #angularjs
[01:48:28] *** ededagic has quit IRC
[01:50:05] *** slainer68 has quit IRC
[01:50:09] *** ericrav has quit IRC
[01:50:32] *** AlSquire has quit IRC
[01:50:57] *** MikaAK has quit IRC
[01:51:20] *** lw has quit IRC
[01:51:38] *** ericrav has joined #angularjs
[01:53:09] *** Ericx2x_ has joined #angularjs
[01:53:14] *** oste has joined #angularjs
[01:53:16] *** szymek_ has joined #angularjs
[01:53:50] <lizard_> Hi everybody, maybe some of you could help me. I want to create one directive to validate inputs. Let said that using $valid, $invalid from form I want to show some error or whatever. Imagine that my new directive is "my-input", this directive will have in its templete some "normal" input, and I want to have the posibility to do think like that "my-input ng-model ng-minlength:..." such I get after compile something like that "inpu
[01:54:12] *** AlSquire has joined #angularjs
[01:54:36] *** disorder20 has quit IRC
[01:55:04] *** jstroem has joined #angularjs
[01:55:18] *** s3shs has joined #angularjs
[01:55:38] *** cobakobodob has joined #angularjs
[01:55:41] *** {DV8} has joined #angularjs
[01:55:50] *** drej has joined #angularjs
[01:56:07] *** ericrav has quit IRC
[01:56:14] *** ReactiveIO has joined #angularjs
[01:56:20] *** tfennelly has quit IRC
[01:56:38] <TheAceOfHearts> so, caitp, after I have the element compiled, how can I get the scope/controller?
[01:57:14] <caitp> well you have the scope that you compiled it with already, but jqLite gives you scope() and isolateScope() methods too
[01:57:36] <caitp> and you can get a hold of a controller with the jqlite controller method
[01:57:49] <caitp> .controller('ngModel') would probably do it
[01:58:41] *** Mahonar has joined #angularjs
[01:58:42] <TheAceOfHearts> awesome :D, thanks, thatm ade it
[01:58:47] *** Mahonar has quit IRC
[01:59:36] *** jstroem has quit IRC
[01:59:42] *** bphogan_afk is now known as bphogan
[02:00:04] *** shinnya has quit IRC
[02:00:17] *** Destos has quit IRC
[02:01:36] *** jstroem has joined #angularjs
[02:02:02] *** watsonkp has joined #angularjs
[02:02:04] *** foofoobar_ has quit IRC
[02:03:34] *** flocca has joined #angularjs
[02:05:23] *** dutis has quit IRC
[02:05:42] *** shinnya has joined #angularjs
[02:05:42] *** MikaAK has joined #angularjs
[02:06:03] *** dc has quit IRC
[02:06:08] *** jstroem has quit IRC
[02:06:42] *** s3shs has quit IRC
[02:07:32] *** lizard_ has quit IRC
[02:07:41] *** jtimon has joined #angularjs
[02:08:00] *** flocca has quit IRC
[02:08:02] *** mennea has joined #angularjs
[02:08:09] *** tfennelly has joined #angularjs
[02:08:27] *** drej has quit IRC
[02:08:33] *** desmond has quit IRC
[02:08:59] *** desmond has joined #angularjs
[02:09:00] *** jerev is now known as jerev_away
[02:09:28] *** dc has joined #angularjs
[02:10:49] *** subnl2 has left #angularjs
[02:11:04] *** drej has joined #angularjs
[02:11:05] *** hswolff has joined #angularjs
[02:11:10] *** WillMoogle has joined #angularjs
[02:11:46] *** bphogan is now known as bphogan_afk
[02:11:54] *** s3shs has joined #angularjs
[02:12:17] *** mennea has quit IRC
[02:13:28] *** dc has quit IRC
[02:16:43] *** jbogairn has joined #angularjs
[02:19:34] *** thebigredgeek has joined #angularjs
[02:19:39] <thebigredgeek> robdubya: are you on?
[02:19:46] <thebigredgeek> do you have any experience with passportjs?
[02:19:58] <robdubya> thebigredgeek yhea
[02:19:59] <robdubya> and yeah
[02:20:04] *** AlSquire has quit IRC
[02:20:07] <thebigredgeek> passportjs Unsupported grant type: password
[02:20:10] <thebigredgeek> ideas?
[02:20:20] *** mamarilmanson has joined #angularjs
[02:20:22] <thebigredgeek> trying to use oauth2-client-password
[02:20:40] *** slainer68 has joined #angularjs
[02:20:55] <thebigredgeek> I can give you git repo
[02:20:57] *** MTGap has quit IRC
[02:21:29] <thebigredgeek> I have basic form-based oauth2 working for third part integration, just struggling with getting it to return a token for username/password based login :(
[02:21:35] *** mamarilmanson has quit IRC
[02:22:01] <robdubya> yea repome
[02:22:05] *** mamarilmanson has joined #angularjs
[02:23:28] *** mamarilmanson has joined #angularjs
[02:24:36] *** mamarilmanson has quit IRC
[02:24:55] *** klaut has quit IRC
[02:25:00] *** mamarilmanson has joined #angularjs
[02:25:06] <robdubya> thebigredgeek wait, are you acting as an oauth consumer (say, of Twitter) or as a provider?
[02:25:15] <thebigredgeek> no.
[02:25:22] <thebigredgeek> provider
[02:25:28] <thebigredgeek> third party stuff is cake ;)
[02:25:55] *** mamarilmanson has quit IRC
[02:25:55] *** Yancy has joined #angularjs
[02:25:56] <robdubya> ok, oauth2orize
[02:25:56] *** mnewton has quit IRC
[02:26:17] *** mamarilmanson has joined #angularjs
[02:26:34] <thebigredgeek> yup
[02:26:44] <thebigredgeek> the docs for this stuff are absolutely horrible
[02:26:57] *** Ericx2x_ has quit IRC
[02:27:03] <thebigredgeek> trying to solve the problem once and then reuse it heh
[02:27:12] *** sdouglas has joined #angularjs
[02:27:19] *** mamarilmanson has quit IRC
[02:27:20] *** Strues has joined #angularjs
[02:27:39] *** mamarilmanson has joined #angularjs
[02:28:17] *** drej has quit IRC
[02:28:33] <thebigredgeek> payload I have been testing:
[02:28:49] *** mamarilmanson has quit IRC
[02:29:06] *** oste has quit IRC
[02:29:20] *** mnewton has joined #angularjs
[02:29:44] <robdubya> i gave up with oauth2orize
[02:29:49] <robdubya> mostly because i hate passport :P
[02:29:50] *** Nizumzen has quit IRC
[02:30:13] <thebigredgeek> :(
[02:30:42] *** anjumkaiser has quit IRC
[02:31:16] <robdubya> which iirc came with a angular front end too
[02:31:53] *** bayousoft has quit IRC
[02:32:23] *** sdouglas has quit IRC
[02:32:26] <robdubya> which apparently has moved
[02:32:51] <robdubya> anvil looks hot
[02:32:56] *** chrisbirk has quit IRC
[02:33:34] *** dreb has quit IRC
[02:33:41] *** JimTheDev has joined #angularjs
[02:33:51] *** JimTheDev has quit IRC
[02:33:52] *** JimTheDev has joined #angularjs
[02:34:04] *** bbankes has joined #angularjs
[02:34:27] *** prettymuchbryce has joined #angularjs
[02:35:35] *** ETBlue has joined #angularjs
[02:37:34] *** jtimon has quit IRC
[02:37:51] *** kalehv has joined #angularjs
[02:38:28] *** Tidwell has joined #angularjs
[02:39:02] <thebigredgeek> was that a pun? ;)
[02:39:39] <robdubya> maybe
[02:39:55] *** gunn has joined #angularjs
[02:40:56] *** jr3 has joined #angularjs
[02:41:13] <jr3> are there any really "good" angular books out
[02:42:27] *** screamingbanshee has quit IRC
[02:43:50] *** kalehv has quit IRC
[02:44:25] *** kalehv has joined #angularjs
[02:44:46] *** damoncasale has joined #angularjs
[02:44:54] <damoncasale> Afternoon/evening...
[02:45:08] *** mnewton has quit IRC
[02:45:27] *** dylukes has quit IRC
[02:45:32] *** phuh has joined #angularjs
[02:45:46] <damoncasale> Okay, so learning my way around Angular. I have a view which can load different contents. I also have a header which isn't part of that view, with a DOM element that I'd like to change, depending on which view is loaded.
[02:45:46] <thebigredgeek> so you don't bake you auth into your app then?
[02:45:49] *** ericrav has joined #angularjs
[02:45:54] <damoncasale> What's the "right" way to handle that in Angular?
[02:46:19] <damoncasale> Trigger off of the stateChangeSuccess event and modify the DOM directly, or what?
[02:47:45] <TheAceOfHearts> damoncasale: google ui-router, you're welcome :P
[02:48:30] <damoncasale> I'm using ui-router but not sure how to implement this.
[02:48:51] <zelrik> maybe I should try ui-router one day
[02:49:04] *** kalehv has quit IRC
[02:49:37] *** infpetal has quit IRC
[02:50:06] *** oste has joined #angularjs
[02:50:06] <damoncasale> The challenge is, the DOM node I want to have variable content, is NOT in the view that gets loaded.
[02:50:15] <damoncasale> View structure:
[02:50:18] *** ericrav has quit IRC
[02:50:43] <damoncasale> <dashboard><header template/><content view/></dashboard>
[02:51:00] <damoncasale> The DOM node I want to alter is in the header. The view that's loaded goes in content.
[02:51:06] *** Reskp_ has quit IRC
[02:51:23] *** katsh has joined #angularjs
[02:51:32] *** Jon30 has quit IRC
[02:51:44] *** ericrav has joined #angularjs
[02:51:49] *** Jon30 has joined #angularjs
[02:52:02] *** Xion_ has joined #angularjs
[02:53:03] *** s3shs has quit IRC
[02:53:57] *** OdinIncarnate has joined #angularjs
[02:54:22] *** TorchDragon has joined #angularjs
[02:54:53] *** chad has quit IRC
[02:55:34] *** lw has joined #angularjs
[02:55:53] *** ericrav has quit IRC
[02:55:58] <robdubya> thebigredgeek to be honest, i pretty much dumped oauth2 altogether really
[02:56:03] *** SpearThruster has quit IRC
[02:56:45] *** dylukes has joined #angularjs
[02:57:29] *** dylukes has quit IRC
[02:57:44] <damoncasale> Hmm...looks like if I can find a way to modify the $scope variable in the header controller, I'd be golden...
[02:58:03] <damoncasale> How can I make a variable in one controller dependent on loading a completely different view?
[02:58:39] *** TorchDragon has quit IRC
[02:59:04] *** fixl has joined #angularjs
[02:59:16] <damoncasale> Or better yet, is it possible for a child controller to access a parent controller's scope?
[02:59:22] *** jharbaugh has quit IRC
[02:59:55] <zelrik> damoncasale, it s happens by default
[02:59:56] *** jharbaugh has joined #angularjs
[03:00:15] <zelrik> controllers inherit from each other
[03:00:20] <zelrik> whenever they are nested
[03:00:29] <damoncasale> So if I say, $scope.pagename = "FEED" inside the child controller, it'll affect the pagename variable in the parent controller?
[03:01:11] *** marr has quit IRC
[03:02:00] <zelrik> I think you'd need to use $parent in that case
[03:02:10] <zelrik> $scope.$parent.pagename
[03:02:14] <damoncasale> Ah.
[03:02:16] <damoncasale> Ok.
[03:02:21] *** jstroem has joined #angularjs
[03:02:23] <Xion_> I think it won't affect the variable outside the child scope
[03:02:38] *** Aliks has quit IRC
[03:03:10] *** auser has joined #angularjs
[03:03:15] <zelrik> usually I use services though
[03:03:20] <zelrik> makes life so much easier
[03:03:24] <damoncasale> How would I do that with a service?
[03:03:36] <damoncasale> Or should I just do it with a resolve somehow?
[03:03:39] <zelrik> you inject the service into the parent controller
[03:03:53] *** codestorm has quit IRC
[03:03:55] <zelrik> then do $scope.myService = MyService;
[03:04:03] *** jharbaugh has quit IRC
[03:04:07] <zelrik> then you ll have access to the service in all child controllers
[03:04:32] <zelrik> if you have 2 controllers in parallel, you just inject the service in both
[03:04:37] <zelrik> and assign it to both scopes
[03:05:19] *** Sawbones has joined #angularjs
[03:05:30] <zelrik> if you start messing with $parent etc, things get complicated
[03:05:39] <zelrik> I dont know enough to use those properly
[03:06:27] <zelrik> I have been using angularJS for only 6 months
[03:06:37] *** jlevstein has joined #angularjs
[03:06:39] *** jstroem has quit IRC
[03:06:47] <Xion_> Speaking of $scope, I heard the current zeitgeist is to forgo them completely and use ng-controller="... as ctrl" instead. I'm not sure what's the benefit, and it seems to muddy up the separation of concerns if template has access to controller object.
[03:07:45] * damoncasale hmm's.
[03:07:55] *** rahulprasad has quit IRC
[03:07:58] <damoncasale> Okay, inside the child controller, how do I set the page name?
[03:08:08] *** s3shs has joined #angularjs
[03:08:26] <Strues> anyone around have a link to a guide or a plnkr of how I go about taking data from a form and post it to a mongodb collection? Im about at my max frustration level
[03:09:05] *** SonikBoom has quit IRC
[03:09:08] <damoncasale> var MailCtrl = function($scope) { $scope.PageService.setPagename("MAIL"); }
[03:09:10] *** lw has quit IRC
[03:09:12] *** tfennelly has quit IRC
[03:09:12] <damoncasale> Tried that and it didn't work.
[03:09:14] <damoncasale> Suggestions?
[03:09:22] *** tarkus has quit IRC
[03:09:40] <zelrik> damoncasale, try to set a plnkr
[03:09:45] <zelrik> so we can look at what you did
[03:10:12] *** lw has joined #angularjs
[03:10:41] <damoncasale> Ugh, I have a ton of different template files and such. And this isn't on a live site yet.
[03:10:47] <damoncasale> Mind if I stuff it in a pastebin?
[03:11:18] *** BillCriswell has joined #angularjs
[03:11:30] *** gunn has quit IRC
[03:11:43] <zelrik> alright
[03:11:47] *** mettjus1 has joined #angularjs
[03:11:50] <zelrik> plnkr is still best though
[03:12:05] <zelrik> gist it instead of pastebin
[03:12:59] *** mettjus has quit IRC
[03:13:56] *** gunn has joined #angularjs
[03:13:57] *** hswolff has quit IRC
[03:14:51] *** hswolff has joined #angularjs
[03:15:27] <zelrik> damoncasale, ?
[03:16:00] <damoncasale> Sec.
[03:16:03] *** BillCriswell has quit IRC
[03:16:16] *** szymek_ has quit IRC
[03:16:49] <damoncasale> When I tried putting a resolve in the dashboard controller, I got a white screen.
[03:17:20] <damoncasale> So right now, it's not displaying the pagename because the dashboard scope variable never gets resolved.
[03:18:12] <zelrik> I wouldnt define anything outside of the return in the factory
[03:18:39] <damoncasale> Huh?
[03:18:42] <zelrik> it might work though
[03:18:48] <damoncasale> Not sure what you mean.
[03:18:56] *** yoshokatana has quit IRC
[03:19:13] <zelrik> actually no
[03:19:15] <damoncasale> Anyway, getting a white screen w/ no js errors.
[03:19:20] <zelrik> that might be wrong
[03:19:47] <zelrik> I usually define a whole object with its properties in the factory, then I return the whole object
[03:20:21] <zelrik> var object = {}; object.pagename = ... return object;
[03:21:26] <zelrik> I like things to be self contained
[03:21:32] <zelrik> and I think angular likes that too
[03:21:43] <damoncasale> I'm returning getters and setters. Why is that wrong?
[03:21:59] *** xaxisx has joined #angularjs
[03:22:03] *** Reskp has joined #angularjs
[03:22:23] <zelrik> damn there is so much code to go through :p
[03:22:32] <zelrik> hold on I ll try to build a small example
[03:22:58] *** ngoyal has joined #angularjs
[03:24:18] *** rahulprasad has joined #angularjs
[03:26:23] <damoncasale> Hmm. Had to manually set a watch on it.
[03:26:24] *** Reskp has quit IRC
[03:26:25] <damoncasale> That's odd.
[03:26:31] <damoncasale> I did get it to work, tho.
[03:27:14] <damoncasale> That's kind of weird, but w/e.
[03:28:18] *** linojon has quit IRC
[03:29:23] *** mehlah has quit IRC
[03:31:36] *** Willow__ has joined #angularjs
[03:31:40] *** Jdubs has quit IRC
[03:31:54] <zelrik> With only those basic stuff, you can go pretty far
[03:32:35] *** s3shs_ has joined #angularjs
[03:32:53] *** jchamberlain has quit IRC
[03:33:51] <thebigredgeek> robdubya: what do you use for auth in Sails then?
[03:34:09] *** rahulprasad has quit IRC
[03:36:12] *** s3shs has quit IRC
[03:36:39] *** Willow__ has quit IRC
[03:36:52] <zelrik> damoncasale, did you see my plnkr
[03:37:34] *** rahulprasad has joined #angularjs
[03:38:36] <damoncasale> Yes.
[03:38:52] <damoncasale> Thanks.
[03:39:07] *** bmac has joined #angularjs
[03:39:17] *** Sawbones has quit IRC
[03:39:41] *** HeN has quit IRC
[03:40:02] *** tfennelly has joined #angularjs
[03:41:13] *** InezK is now known as InezK_away
[03:42:14] *** MikaAK has quit IRC
[03:42:27] *** bkuberek has quit IRC
[03:42:35] *** rahulprasad has quit IRC
[03:42:37] *** ericrav has joined #angularjs
[03:43:52] *** Foxandxss has quit IRC
[03:45:26] *** Strues has quit IRC
[03:45:27] *** Nek has quit IRC
[03:46:04] *** nemothekid has joined #angularjs
[03:46:07] *** tfennelly has quit IRC
[03:46:57] *** ericrav has quit IRC
[03:47:39] *** Aliks has joined #angularjs
[03:51:47] *** ericrav has joined #angularjs
[03:51:49] *** flocca has joined #angularjs
[03:52:23] *** subnl2 has joined #angularjs
[03:52:24] *** iampseudo has joined #angularjs
[03:53:33] *** elrabin has joined #angularjs
[03:53:56] *** lordkryss has quit IRC
[03:54:04] *** xavia has quit IRC
[03:55:37] *** MikaAK has joined #angularjs
[03:55:50] *** lw has quit IRC
[03:56:09] *** ericrav has quit IRC
[03:56:28] *** dcherman has joined #angularjs
[03:56:44] *** flocca has quit IRC
[03:58:28] *** Willow__ has joined #angularjs
[03:59:06] *** bphogan_afk is now known as bphogan
[03:59:26] *** iampseudo has quit IRC
[03:59:52] *** iampseudo has joined #angularjs
[04:00:29] *** subnl2 has left #angularjs
[04:03:08] *** jstroem has joined #angularjs
[04:03:35] *** Willow__ has quit IRC
[04:03:37] *** bbankes has quit IRC
[04:04:21] *** billli has joined #angularjs
[04:04:50] *** thebigredgeek has quit IRC
[04:05:58] *** atomical has quit IRC
[04:06:29] *** xavia has joined #angularjs
[04:07:16] *** Jdubs has joined #angularjs
[04:07:33] *** jstroem has quit IRC
[04:11:22] *** InezK_away is now known as InezK
[04:11:31] *** billli has quit IRC
[04:11:40] *** Jdubs has quit IRC
[04:11:40] *** wilmoore has quit IRC
[04:13:11] *** dcherman has quit IRC
[04:14:42] *** Jdubs has joined #angularjs
[04:17:02] *** FIFOd[a] has joined #angularjs
[04:17:21] *** phuh has quit IRC
[04:17:39] *** shinnya has quit IRC
[04:17:55] *** iampseudo has quit IRC
[04:17:56] *** phuh has joined #angularjs
[04:19:29] *** Sawbones has joined #angularjs
[04:20:56] *** bmac has quit IRC
[04:21:03] *** jlevstein has quit IRC
[04:21:16] *** InezK is now known as InezK_away
[04:21:44] *** s3shs_ has quit IRC
[04:21:50] *** feelfine has joined #angularjs
[04:22:06] *** dc has joined #angularjs
[04:22:12] *** phuh has quit IRC
[04:22:20] *** jtimon has joined #angularjs
[04:22:44] *** Reskp has joined #angularjs
[04:24:24] *** s3shs has joined #angularjs
[04:24:25] *** shinnya has joined #angularjs
[04:25:29] *** DrMabuse_ has joined #angularjs
[04:25:46] *** wilmoore has joined #angularjs
[04:26:12] *** Sawbones has quit IRC
[04:27:17] *** billli has joined #angularjs
[04:27:18] *** dnoup has joined #angularjs
[04:27:22] *** Reskp has quit IRC
[04:27:57] <dnoup> hey did angular start using $scope to get rid of this, which is very inconsisting in js..?
[04:28:51] *** sdouglas has joined #angularjs
[04:28:53] *** DrMabuse has quit IRC
[04:30:02] *** gunn has quit IRC
[04:30:43] *** auser has quit IRC
[04:32:27] *** L8TR has joined #angularjs
[04:33:17] *** MuffinMan` has quit IRC
[04:33:26] *** jangoh has quit IRC
[04:34:11] *** sdouglas has quit IRC
[04:34:42] <Xion_> dnoup: You cannot get rid of this in JS, $scope or not.
[04:35:20] <dnoup> I mean stop using this and start using $scope
[04:36:37] *** dman777 has joined #angularjs
[04:36:52] *** atomical has joined #angularjs
[04:37:11] *** jtimon has quit IRC
[04:37:39] *** Cache_Money has joined #angularjs
[04:39:21] *** jangoh has joined #angularjs
[04:39:46] *** jlevstein has joined #angularjs
[04:40:17] *** alex_javascript has joined #angularjs
[04:41:40] *** ninsei_d has quit IRC
[04:41:54] *** ninsei has joined #angularjs
[04:42:52] *** s3shs_ has joined #angularjs
[04:42:58] *** nagappan has quit IRC
[04:43:02] *** Cache_Money has quit IRC
[04:43:33] *** nagappan has joined #angularjs
[04:45:47] *** ericrav has joined #angularjs
[04:45:53] *** dc has quit IRC
[04:46:30] *** s3shs has quit IRC
[04:49:53] *** ericrav has quit IRC
[04:51:11] *** yoshokatana has joined #angularjs
[04:51:39] *** ericrav has joined #angularjs
[04:51:50] *** merpnderp has joined #angularjs
[04:51:52] *** s3shs has joined #angularjs
[04:52:10] *** s3shs_ has quit IRC
[04:52:22] <merpnderp> so a factory can return a newable object, a function, a literal, or a value. And a service can just return a newable object. Is this correcdt?
[04:53:15] *** codestorm has joined #angularjs
[04:54:34] *** JimTheDev has quit IRC
[04:54:38] *** drej has joined #angularjs
[04:54:39] *** prettymuchbryce has quit IRC
[04:55:18] *** snapwich has quit IRC
[04:55:46] *** TorchDragon has joined #angularjs
[04:56:04] *** ericrav has quit IRC
[04:56:38] *** Left_Turn has quit IRC
[04:57:01] *** x4e has joined #angularjs
[04:59:11] *** DrMabuse_ has quit IRC
[04:59:11] *** Willow__ has joined #angularjs
[04:59:47] *** jangoh has quit IRC
[05:00:12] *** TorchDragon has quit IRC
[05:02:35] *** kalehv has joined #angularjs
[05:03:09] *** billli has quit IRC
[05:03:53] *** jstroem has joined #angularjs
[05:04:05] *** Willow__ has quit IRC
[05:04:28] *** screamingbanshee has joined #angularjs
[05:06:15] *** bbankes has joined #angularjs
[05:06:31] *** jstroem_ has joined #angularjs
[05:06:53] *** jstroem has quit IRC
[05:07:25] *** jr3 has quit IRC
[05:08:27] *** Jdubs has quit IRC
[05:10:39] *** jae has joined #angularjs
[05:11:32] *** Asiajey has joined #angularjs
[05:11:53] *** bbankes has quit IRC
[05:11:58] *** Willow__ has joined #angularjs
[05:12:18] *** InezK_away is now known as InezK
[05:12:20] *** BillCriswell has joined #angularjs
[05:12:45] <wafflejock_> merpnderp: a service just has the keyword new used when the function is initially called for creation
[05:12:45] *** billli has joined #angularjs
[05:12:47] *** Browser has quit IRC
[05:13:34] *** bkuberek has joined #angularjs
[05:14:18] <damoncasale> What's the "right" way to make an AJAX call to retrieve a collection of items, which will be rendered whenever a view displays itself?
[05:14:22] <caitp> well, services are a bit different
[05:14:35] *** Willow__ has quit IRC
[05:14:39] <caitp> yes, they are instantiated that way, but you can never, ever inject serviceProvider in config blocks
[05:14:43] *** Sawbones has joined #angularjs
[05:14:43] <damoncasale> Not sure whether I should somehow use resolve in the controller, or what.
[05:14:51] <caitp> which is really the same with factories
[05:14:58] <caitp> so basically, use providers
[05:15:01] *** Willow__ has joined #angularjs
[05:15:29] *** Willow__ has quit IRC
[05:15:34] *** hswolff has quit IRC
[05:15:42] <damoncasale> caitp: You talking to me or someone else?
[05:15:50] <caitp> i was not talking to you
[05:15:52] *** Willow__ has joined #angularjs
[05:15:54] <damoncasale> k.
[05:15:59] <caitp> your question is totally unrelated to DI
[05:16:32] *** BillCriswell has quit IRC
[05:16:54] <caitp> anyways, there's no real "right way", any way you want is fine
[05:17:04] <caitp> you could have a service which returns promises from $http
[05:17:11] <caitp> you could use jquery.ajax
[05:17:25] <caitp> there's really no limit to the things you could do
[05:18:11] <zelrik> you could write your app in flash...
[05:18:17] <caitp> where should the logic for making the request live? who cares!
[05:18:25] <caitp> put it wherever it works for you
[05:19:04] *** stirlingw has quit IRC
[05:19:11] <wafflejock_> caitp: yup agree, I have my way but try not to impose it on others, whatever works
[05:19:25] *** Sawbones has quit IRC
[05:19:41] *** stirlingw has joined #angularjs
[05:20:13] *** bkuberek has quit IRC
[05:20:31] <wafflejock_> damoncasale: regarding AJAX calls not sure if you are referring to if you should use $http $resource or more the other topic being discussed here factories vs services, but if you're not aware $http and $resource are the typical ways (some people use restangular as well)
[05:20:34] *** joshontheweb has joined #angularjs
[05:21:13] <zelrik> http is closer to $.ajax
[05:21:31] <zelrik> $resource is more restful
[05:21:44] <wafflejock_> yeah I used $http at first but eventually started using Slim on the PHP side to setup RESTful interfaces so switched to mostly using $resource now
[05:21:45] <caitp> resource isn't really any more "rest"ful
[05:21:46] *** tk has joined #angularjs
[05:21:54] <wafflejock_> reduces the boilerplate I have to write
[05:21:58] <caitp> people find resource convenient because it populates an object with the response data automatically
[05:21:59] *** InezK is now known as InezK_away
[05:22:07] <caitp> but that's all it really does
[05:22:07] <zelrik> oh
[05:22:24] <zelrik> I thought it was restful stuff
[05:22:26] <wafflejock_> caitp: well it also helps reduce the extra code you have to write with http
[05:22:35] <caitp> well, you can configure urls based on properties of the resource object
[05:22:37] <wafflejock_> with http for each CRUD call I'm writing 4 things for sure
[05:22:39] <caitp> so it does that too
[05:22:43] <caitp> but basically that's all it is
[05:23:25] *** Reskp has joined #angularjs
[05:23:40] <wafflejock_> resource really helped me get rid of a lot of extra code I had to write... I should use something like Eloquent ORM on the backend too and then would just be writing some custom DAO stuff when necessary but all the basic CRUD would be handled
[05:24:09] <caitp> it can be useful, certainly
[05:24:18] *** kirfu|work has quit IRC
[05:24:33] *** kirfu|work has joined #angularjs
[05:24:35] *** stirlingw has quit IRC
[05:24:44] *** Ethix has quit IRC
[05:24:44] *** kirfu|work has joined #angularjs
[05:25:08] *** Sawbones has joined #angularjs
[05:26:30] *** MikaAK has quit IRC
[05:27:44] *** jharbaugh has joined #angularjs
[05:27:54] *** MikaAK has joined #angularjs
[05:28:29] *** Reskp has quit IRC
[05:29:33] *** ericrav has joined #angularjs
[05:30:04] <wafflejock_> dman777: you've got some code just floating around in there not wrapped in anything hanging out in the directive definition object
[05:30:24] <wafflejock_> dman777: if you setup a plnkr with what you've got so far and explain a bit what you're trying to achieve I'll help ya out
[05:31:04] *** drej has quit IRC
[05:31:31] *** JoshGlzBrk has quit IRC
[05:31:38] *** kalehv has quit IRC
[05:31:55] *** mettjus1 has quit IRC
[05:31:59] <wafflejock_> off topic but anyone here have experience with docker?
[05:32:19] *** kalehv has joined #angularjs
[05:33:43] <wafflejock_> just curious how that works out across platforms or if it does at all... I typically run linux so it doesn't matter too much to me but I understand vagrant runs a VM in virtualbox which can run on any platform but docker keeps things slimmer in part by directly using the OS kernel but I don't get if it can work cross platform for other developers like vagrant/virtualbox does
[05:34:35] <Xion_> Docker is Linux container, so needs underlying Linux kernel
[05:34:43] <wafflejock_> okay
[05:34:50] <wafflejock_> for some reason all the comparisons I read didn't say that
[05:35:19] <Xion_> Well, all web servers are running on Linux so this is kind of implicitly obvious
[05:35:32] *** ericrav has quit IRC
[05:35:46] <wafflejock_> Xion_: well I was thinking in terms of distributing a common environment to developers with various platforms
[05:35:47] *** gil has quit IRC
[05:36:09] *** ericrav has joined #angularjs
[05:36:19] <wafflejock_> Xion_: currently on a project where they use Vagrant to achieve this but wasn't sure if docker could serve the same purpose... apparently not though
[05:36:30] <wafflejock_> Xion_: thx for the clarification
[05:36:35] *** greengriminal has quit IRC
[05:36:35] <Xion_> That's typically what vagrant is used for, yes. Haven't done that personally
[05:36:54] *** kalehv has quit IRC
[05:36:58] <Xion_> Theoretically it should be possible to have multiple docker container inside a single Linux VM that runs, say, on OSX
[05:37:13] *** ericrav has quit IRC
[05:37:28] <wafflejock_> right so still some advantage in space savings if you have multiple docker images running in one VM as opposed to multiple VMS
[05:37:32] *** ericrav has joined #angularjs
[05:37:57] *** hugorodrigues has quit IRC
[05:38:09] <Xion_> Right. You can have multiple levels of isolation this way, too, if you need that (can't imagine the use case though)
[05:38:23] *** Ethix has joined #angularjs
[05:38:27] *** steffengy has joined #angularjs
[05:38:35] *** screamin_ has joined #angularjs
[05:38:40] *** s3shs has quit IRC
[05:39:32] <Xion_> It's not so much space and more like performance savings; when you use containers rather than spearate VM, stuff does not have to go through hypervisor
[05:39:44] *** flocca has joined #angularjs
[05:40:23] *** screamingbanshee has quit IRC
[05:40:24] *** gil has joined #angularjs
[05:40:34] <wafflejock_> right yeah misspoke there I read there are massive performance differences since it's more direct access
[05:41:21] *** steffengy1 has quit IRC
[05:42:16] *** tfennelly has joined #angularjs
[05:42:43] <Xion_> I don't know how big the differences are, really, esp. since today's CPUs are apparenly very good at virtualization.
[05:43:46] <Xion_> There is the userspace-kernelspace boundary crossing with every system call when you use containers, and that's where big performance hits typically occur (but of course that's unavoidable outside of embedded systems)
[05:44:17] <Xion_> wafflejock_: All that stuff is WAY below the Angular level of abstraction, btw ;)
[05:44:23] *** flocca has quit IRC
[05:44:42] *** thedodd has joined #angularjs
[05:46:05] <wafflejock_> Xion_: haha yeah I know I dig all levels of development though, thanks for all the info I don't know a ton about virtualization tech offerred on processors aside from the fact that it exists and didn't see any benchmarks but just hearsay that the performance ends up being better with docker
[05:46:30] *** FuCone has joined #angularjs
[05:46:34] *** tfennelly has quit IRC
[05:46:52] <Xion_> Then your expertise is pretty comparable with mine :)
[05:47:04] *** jharbaugh has quit IRC
[05:47:11] <Xion_> I'm somewhat wary about Docker mostly out of principle, due to all the buzz I hear about it
[05:47:22] <wafflejock_> I just got Jenkins setup on my AWS server recently though and am just looking for ways to make things simpler for bringing in other developers to work on projects
[05:47:37] *** jharbaugh has joined #angularjs
[05:47:53] <wafflejock_> Xion_: yeah I tried the docker tutorial a few days ago just to poke at it a bit but not jumping away from what I know and trust right away either
[05:48:00] *** mamarilmanson has joined #angularjs
[05:48:14] <Xion_> Yeah, this is a problem I never honestly faced, although I tried developing pet projects on both OSX and Linux.
[05:48:22] *** jbogairn has quit IRC
[05:48:49] <Xion_> When it comes to web, they are so similar that it hardly, albeit Linux with apt-get is slightly friendlier.
[05:49:08] *** luisjose_ has joined #angularjs
[05:49:13] *** mamarilmanson has quit IRC
[05:49:18] *** luisjose has quit IRC
[05:49:36] <wafflejock_> yeah I mean it's just nice if developers don't have to do any work to get started except download a repo and run a few or ideally one command and then have the whole environment just working
[05:49:42] *** mamarilmanson has joined #angularjs
[05:50:04] *** bejames has joined #angularjs
[05:50:38] *** shinnya has quit IRC
[05:50:42] *** jtimon has joined #angularjs
[05:50:47] <wafflejock_> sometimes without something like vagrant since, like you say, systems are so similar it doesn't matter and only takes 10min or an hour or something to get it all working but sometimes it can be a day or more lost to just setting things up
[05:50:53] <Xion_> Personally, I wouldn't care too much unless you need to scale to dozens of devs. Just keep your README up to date :)
[05:52:11] *** jharbaugh has quit IRC
[05:52:13] *** sdouglas has joined #angularjs
[05:53:42] *** jharbaugh has joined #angularjs
[05:53:54] *** fedenunez has joined #angularjs
[05:54:21] *** jae is now known as Jae
[05:55:03] *** iampseudo has joined #angularjs
[05:55:10] *** danielsv has quit IRC
[05:55:35] *** shinnya has joined #angularjs
[05:56:04] *** CptChaos has joined #angularjs
[05:58:36] *** dreb has joined #angularjs
[06:00:39] *** asdofindia has quit IRC
[06:01:43] *** zwacky has joined #angularjs
[06:01:59] <dman777> wafflejock_: sorry
[06:01:59] *** MacWinner has quit IRC
[06:02:19] <wafflejock_> np... can you just throw the part with the directive in a plunkr
[06:02:27] *** asdofindia has joined #angularjs
[06:02:38] <wafflejock_> always easier when I can just poke at the code in question and not have to mess with editing source in the debug panel
[06:06:18] <wafflejock_> dman777: so is the idea here you apply this directive and it adds a countdown starting with whatever number is passed in and counts down to 0
[06:06:22] <wafflejock_> ?
[06:06:51] <dman777> wafflejock_: yes, I am slowly building up to that. but right now I am just experimenting and learning and I want to change the scoope variable from the directive.
[06:07:28] <wafflejock_> dman777: okay put this code in a plunkr use the link in the IRC topic for one with angular already included
[06:07:43] <wafflejock_> dman777: that way I can see the actual behavrior and check it out
[06:07:46] <dman777> wafflejock_: well, half way word
[06:07:51] <dman777> half way work.
[06:08:15] <dman777> if I take out link: function in the directive, my angular.js will finish loading
[06:09:02] *** Jdubs has joined #angularjs
[06:09:26] *** Sawbones has quit IRC
[06:09:29] *** Silne30 has quit IRC
[06:09:32] <dman777> wafflejock_: what I can tell...the link: function in my directive keeps angular.js from finishing loading/initializing
[06:09:34] *** jchamberlain has joined #angularjs
[06:09:44] <dman777> if there were error it would help, but no errors
[06:09:44] *** zumba_addict has joined #angularjs
[06:09:56] <wafflejock_> yeah nothing obviously wrong with what you pasted in the last pastebin
[06:10:14] <dman777> if I take out link: function out of the directive then it finishes loading
[06:10:31] *** mamarilmanson has quit IRC
[06:11:08] *** Willow__ has quit IRC
[06:11:09] *** bejames has quit IRC
[06:11:19] <dman777> just took it out and placed it back to make sure...
[06:11:35] *** Willow__ has joined #angularjs
[06:11:35] <wafflejock_> seeing couldn't find monitorApp is that the name of your module
[06:11:37] *** thedodd has quit IRC
[06:12:16] <wafflejock_> if I do pause on exceptions and watch the name property it shows ngLocale which typically gets caught and isn't a problem but also seeing monitorApp not found errors... not sure why that isn't popping up in the console
[06:12:54] *** InezK_away is now known as InezK
[06:13:28] *** Jdubs has quit IRC
[06:13:31] *** tk has quit IRC
[06:13:34] *** FIFOd[a] has quit IRC
[06:13:45] <wafflejock_> dman777: ah k
[06:14:09] <wafflejock_> dman777: think the problem is in main.js you call monitorApp with [] again after you already defined it in angularApp.js
[06:14:10] *** xaxisx has quit IRC
[06:14:20] *** bphogan is now known as bphogan_afk
[06:14:43] *** mennea has joined #angularjs
[06:15:48] <dman777> wafflejock_: yep! just found that out!
[06:16:16] *** Willow__ has quit IRC
[06:16:21] <dman777> wafflejock_: thank you so much! I would of never of known...you checking in debugger with pause on exceptions did it. Good lesson for me!
[06:16:35] <dman777> :)
[06:16:45] * dman777 happy happy happy
[06:16:46] <wafflejock_> dman777: yeah np I use everything in the debug panel
[06:16:54] <wafflejock_> just hit all the buttons
[06:16:57] <wafflejock_> something will happen :P
[06:17:13] <dman777> wafflejock_: I just assumed the error would show in debugger but now I know to check :)
[06:17:28] <jpstone> should i embed everything in mongodb and just pull a giant object into angular and query against that object, or should i break it up and go relational
[06:17:29] *** secondjeff has joined #angularjs
[06:17:42] <jpstone> what to do, what to do
[06:17:45] <wafflejock_> jpstone: it depends on how big all the data is
[06:18:12] <wafflejock_> also how important it is to have all the data at once
[06:18:36] <wafflejock_> some data that is only accessed in fringe cases is better off not being loaded up front
[06:18:42] <jpstone> well, i heard one of the reasons for going relational is because you'll need to query against them sooner or later, but if they exist in the front end, just do your queries there
[06:19:03] *** mennea has quit IRC
[06:19:41] <wafflejock_> jpstone: if you have tons of data you don't want that all happening on a mobile device but you can get away with doing queries/filtering/sorting on mobile devices with small to medium sized data sets
[06:20:32] <jpstone> good point. we will have plenty of mobile users.
[06:20:51] <wafflejock_> at some point the processing and memory requirements become too much though then it's better to incur the request/response overhead and send it to a server to do the heavy lifting
[06:20:59] <wafflejock_> it's a balancing act though
[06:21:33] *** LuxuryMo_ has quit IRC
[06:21:35] *** jstroem_ has quit IRC
[06:22:07] *** jstroem has joined #angularjs
[06:22:37] <jpstone> hmm. what about loading it in a giant object on the server, then parsing it out there
[06:22:45] *** mennea has joined #angularjs
[06:22:46] *** InezK is now known as InezK_away
[06:22:50] *** tomzx is now known as tomzx`afk
[06:23:19] <jpstone> still don't necessarily see a need to go relational
[06:23:23] *** elrabin has quit IRC
[06:23:46] <jpstone> does it help performance or something? does it cost less to query relationships than to run foreach loops?
[06:23:49] <wafflejock_> jpstone: yeah arguments I've seen for relational mostly surround wanting to slice data in different ways
[06:24:08] *** Sawbones has joined #angularjs
[06:24:18] *** InezK_away is now known as InezK
[06:24:24] *** Reskp has joined #angularjs
[06:25:00] <jpstone> so I'm thinking then...I could just have one giant object, parse it as needed in the front end...and if it gets to heavy, add a layer to the backend on top of the same object
[06:25:05] <jpstone> and just transfer the logic
[06:26:16] *** ReactiveIO has quit IRC
[06:26:25] *** jstroem has quit IRC
[06:26:27] *** jharbaugh has quit IRC
[06:26:48] *** kirfu|work has quit IRC
[06:26:52] *** ReactiveIO has joined #angularjs
[06:27:00] *** kirfu|work has joined #angularjs
[06:27:01] *** jharbaugh has joined #angularjs
[06:27:03] *** kirfu|work has quit IRC
[06:27:19] *** alekibango has quit IRC
[06:27:37] *** alekibango has joined #angularjs
[06:27:47] <jpstone> but then I have to figure how that would impact my web sockets
[06:28:34] *** kirfu|work has joined #angularjs
[06:28:34] *** the-erm has quit IRC
[06:29:06] *** Reskp has quit IRC
[06:29:48] <wafflejock_> jpstone: yeah I don't imagine something like transferring a massive object really fits well with a socket and push based approach, you'd need a way to communicate changes to the object without sending the whole thing back and forth and could run into consistency problems or otherwise
[06:29:49] *** jlevstein has quit IRC
[06:30:24] *** the-erm has joined #angularjs
[06:31:03] *** jharbaugh has quit IRC
[06:31:08] *** ReactiveIO has quit IRC
[06:32:00] *** Jdubs has joined #angularjs
[06:32:45] <Xion_> Relational is good first choice for data storage because (1) it allows flexibility when you are not sure what data structure you need exactly, and (2) you rarely have use cases involving permanent storage and asking for nonrel solution, and (3) if you do, you most likely go polyglot storage anyway.
[06:33:03] *** noocode has quit IRC
[06:35:05] *** fedenunez has quit IRC
[06:35:39] <wafflejock_> yup good points was just going to mention you'll probably end up using a variety of mechanisms if a project ends up being large scale anyhow so at the beginning it's good to just have a solution that works
[06:36:58] <wafflejock_> can add local sql lite and other things that help to improve caching on the server side and whatnot as the need arises
[06:37:42] <jpstone> have you used mongoose before? i'm looking at its relational options, it just seems weird...i wonder if I could just take care of the relationships manually, by placing the _ids in the proper fields when I need to, explicitly in CRUDs
[06:38:02] <wafflejock_> nope haven't used it
[06:38:19] *** frickettz has joined #angularjs
[06:38:36] <Xion_> Well, I say relational I mostly think Postgres ;)
[06:38:57] *** noocode has joined #angularjs
[06:40:03] *** Sawbones has quit IRC
[06:40:03] <wafflejock_> yeah I mostly use MySQL but through PHP PDO, also lately connected to a MSSQL server but not by choice
[06:40:32] <wafflejock_> haven't really encountered Postgres in the wild but I hear chatter about it a lot
[06:41:55] *** Sawbones has joined #angularjs
[06:42:06] *** x4e has quit IRC
[06:42:24] *** blueadept has joined #angularjs
[06:43:29] *** zeroquake has joined #angularjs
[06:44:04] <zeroquake> what is best way to go when i wan to set the height of a child same as its grandparent height
[06:44:13] *** FIFOd[a] has joined #angularjs
[06:44:18] <zeroquake> across multiple table rows
[06:45:22] <Xion_> height: 100% doesn't work?
[06:47:00] *** screamin_ is now known as screamingbanshee
[06:47:42] *** ajk27 has quit IRC
[06:47:58] <zeroquake> nopes , heights are dynamically for the grandparent and the parent of this element has different width .....i am floating this child and need to set its height to its grandparent
[06:48:05] *** ajk27 has joined #angularjs
[06:48:09] <zeroquake> different height*
[06:48:20] *** lancero has quit IRC
[06:48:30] *** sdouglas has quit IRC
[06:48:55] *** Emperor_Earth has quit IRC
[06:49:21] *** Emperor_Earth has joined #angularjs
[06:50:05] *** caitp has quit IRC
[06:50:39] *** FIFOd[a] has quit IRC
[06:50:41] <wafflejock_> zeroquake: can you show the HTML you have setup right now
[06:50:49] <wafflejock_> and CSS
[06:52:19] *** caitp has joined #angularjs
[06:53:40] *** bejames has joined #angularjs
[06:53:41] *** atomical has quit IRC
[06:54:02] *** hugorodrigues has joined #angularjs
[06:54:31] *** encrypt3d_fracti has joined #angularjs
[06:55:34] *** Willow__ has joined #angularjs
[06:56:39] *** holymac has quit IRC
[06:56:45] *** jchamberlain has quit IRC
[06:58:24] *** jharbaugh has joined #angularjs
[06:58:37] *** hugorodrigues has quit IRC
[07:01:42] *** sdouglas has joined #angularjs
[07:02:47] *** jharbaugh has quit IRC
[07:02:47] *** morenoh149 has joined #angularjs
[07:03:37] *** jtimon has quit IRC
[07:05:49] *** metavige_ has joined #angularjs
[07:07:53] *** metavige_ is now known as metavige[R2]
[07:08:32] *** ngoyal has quit IRC
[07:09:35] *** LuxuryMo_ has joined #angularjs
[07:09:47] *** dcherman has joined #angularjs
[07:09:59] *** joshontheweb has quit IRC
[07:10:11] *** OdinIncarnate has quit IRC
[07:12:04] *** greengriminal has joined #angularjs
[07:13:12] *** BillCriswell has joined #angularjs
[07:13:17] *** JoshGlzBrk has joined #angularjs
[07:13:56] *** Ethix has quit IRC
[07:17:40] *** BillCriswell has quit IRC
[07:20:19] *** tfennelly has joined #angularjs
[07:21:45] *** iampseudo has quit IRC
[07:23:25] *** sdouglas has quit IRC
[07:23:49] *** rho has joined #angularjs
[07:23:52] *** rho has joined #angularjs
[07:24:40] *** Rakesh_ has joined #angularjs
[07:24:47] *** tfennelly has quit IRC
[07:25:04] *** sdouglas_ has joined #angularjs
[07:25:05] *** Reskp has joined #angularjs
[07:25:46] <Rakesh_> I am new in AngularJS
[07:26:02] <Rakesh_> Need help in one problem
[07:26:26] *** Notte has joined #angularjs
[07:26:37] *** ReactiveIO has joined #angularjs
[07:26:37] *** MacWinner has joined #angularjs
[07:27:56] *** sgnl has joined #angularjs
[07:28:25] *** zeroquake has quit IRC
[07:28:30] *** flocca has joined #angularjs
[07:28:47] <Rakesh_> anyone can help me
[07:29:20] *** Tidwell has quit IRC
[07:29:45] *** Reskp has quit IRC
[07:30:20] <TheAceOfHearts> just write your problem
[07:30:25] <TheAceOfHearts> and if anyone can help you, they will
[07:31:08] *** ReactiveIO has quit IRC
[07:31:31] <Rakesh_> I have a application in which I have to scan a barcode and show it to other page. The Initially requirement was for one product only but now the requirement is to show multiple scanned barcode result in existing div. I have managed to show for one product barcode scan result in a page using following code in my controller.js:
[07:31:57] <Rakesh_> .controller('ScanCtrl', function($scope, $rootScope, $state, $ionicLoading, $timeout) { $scope.title = "How to scan an inventory"; $scope.startScan = function() { $ionicLoading.show({ template: 'Scanning Barcode....' }); $timeout(function() { $ionicLoading.hide(); window.cordova.plugins.barcodeScanner.scan( function (result) { $rootScope.barcoderesults = [{
[07:32:31] <TheAceOfHearts> don't post code in chat
[07:32:39] <Rakesh_> ok sorry
[07:33:35] *** flocca has quit IRC
[07:33:56] *** iampseudo has joined #angularjs
[07:34:02] *** MikaAK has quit IRC
[07:34:57] <felixn> Rakesh_: use gist.github.com
[07:35:13] *** goodbomb has joined #angularjs
[07:36:43] <Rakesh_> ya sure I am doing will share the link of my code
[07:39:26] *** SNKannan has joined #angularjs
[07:39:45] *** asdofindia has quit IRC
[07:39:47] <SNKannan> hi
[07:39:49] *** Strues has joined #angularjs
[07:40:23] *** ericrav has quit IRC
[07:40:47] <SNKannan> why?
[07:40:59] <SNKannan> i am seeing 404 page error
[07:41:07] *** ericrav has joined #angularjs
[07:41:17] <TheAceOfHearts> wut
[07:41:19] <TheAceOfHearts> works for me
[07:41:22] <wafflejock_> SNKannan: dunno works for me
[07:41:31] <wafflejock_> SNKannan: sounds like extra char in there
[07:41:33]
<Strues> Ive hit a brick wall posting information from a form to a mongo collection. I can POST using postman, but doing it from the app posts only an id without any fields. Ive got it in this http://plnkr.co/edit/oh2m9sB2vXHggTqiBkZc?p=preview if anyone wouldnt mind taking a look
[07:42:08] *** xastey has quit IRC
[07:42:23] *** ericrav has quit IRC
[07:42:49] <SNKannan> this is automatically redirect to this page
[07:42:50] *** ericrav has joined #angularjs
[07:42:59] <SNKannan> i dont know why this is happening?
[07:43:44] *** billli has quit IRC
[07:43:48] *** desmond has quit IRC
[07:43:58] <wafflejock_> SNKannan: doesn't happen in FF or IE for you?
[07:44:17] <SNKannan> yes. i can view in FF
[07:44:24] <SNKannan> but not in chrome
[07:44:38] <SNKannan> see my screenshot link
[07:44:45] <SNKannan> chrome browser link
[07:45:09] <wafflejock_> SNKannan: strange could try with incognito mode and see if it makes a difference or disable plugins and see if one is interferring can't reproduce here though
[07:45:14] *** mac_ified has quit IRC
[07:45:36] *** dcherman has quit IRC
[07:45:51] *** sshakir has joined #angularjs
[07:45:51] *** mac_ified has joined #angularjs
[07:46:38] *** Notte has quit IRC
[07:47:22] <Rakesh_> I have a application in which I have to scan a barcode and show it to other page. The Initially requirement was for one product only but now the requirement is to show multiple scanned barcode result in existing div.
[07:48:02] <SNKannan> wafflejock_: thanks
[07:48:27] <SNKannan> i tried with incognito mode
[07:48:43] <SNKannan> now i can view this page without any distruction
[07:49:21] <wafflejock_> SNKannan: probably try clearing cache if it's working in incognito mode
[07:49:24] <Rakesh_> can anyone help me to append multiple product scan result in scan-detail page
[07:49:48] <wafflejock_> Rakesh_: just getting a blank page from your link
[07:50:00] *** klaut has joined #angularjs
[07:50:12] *** mac_ified has quit IRC
[07:50:26] <sshakir> SNKannan: I see a double quote at the end of your link when I click it but when I remove it I get the page
[07:50:29] *** yoshokatana has joined #angularjs
[07:50:33] *** Stephen has joined #angularjs
[07:50:39] *** {DV8} has quit IRC
[07:50:49] <Rakesh_> wafflejock_ actually is android app using angular+ionic+cordova
[07:50:59] <wafflejock_> Rakesh_: from the looks of what you were writing above you would just update some property on the scope and if you are outside of any angular call you'd need to call scope.$apply as well
[07:51:01] <Stephen> Anyone have opinions on JSON Patch?
[07:51:18] <SNKannan> wafflejock_: thanks
[07:51:33] *** caitp- has joined #angularjs
[07:51:54] <wafflejock_> np
[07:52:21] *** holymac has joined #angularjs
[07:52:58] <wafflejock_> Rakesh_: slight correction you should be updating some property of your model which you point to with a property of the scope, slight difference but changes things pretty significantly in terms of how it works
[07:53:45] <Stephen> Anyone ever seen Angular or Restangular implement the PATCH api properly?
[07:54:04] *** holymac has quit IRC
[07:54:14] <Rakesh_> wafflejock_ ok
[07:54:20] *** caitp has quit IRC
[07:54:39] *** rho has quit IRC
[07:54:53] *** yoshokatana has quit IRC
[07:55:05] *** holymac has joined #angularjs
[07:55:53] *** encrypt3d_fracti has quit IRC
[07:56:16] *** metavige[R2] has quit IRC
[07:56:49] *** metavige[R2] has joined #angularjs
[07:57:08] <Rakesh_> wafflejock_ Now the scenario is after scanning the barcode from screen 1 I navigate to screen 2 where I show the result and in screen 2 I have Continue Scan button, which is using the same function ng-click="startScan()".
[07:57:16] *** MikaAK has joined #angularjs
[07:57:16] <Strues> I think ive almost narrowed down my issue. I wasnt sending the header as x-www-form-urlencoded. Now just need to figure out my error in the controller and it should post.
[07:57:57] <wafflejock_> Rakesh_: typically shared data and shared functionality you put in angular services or factories to see how to define these or other providers check out this page %26
[07:58:38] <Rakesh_> wafflejock_ ok
[07:58:47] <SNKannan> wafflejock_: this doc pages are working only in incognito mode
[07:58:59] *** jharbaugh has joined #angularjs
[07:59:04] *** encrypt3d_fracti has joined #angularjs
[07:59:08] <SNKannan> even i clear the browser cache, dont work
[07:59:13] *** oniijin has quit IRC
[07:59:13] <wafflejock_> SNKannan: strange typically incognito mode is just not using your cache nearly as much so figured that would solve it
[07:59:17] *** xavia has left #angularjs
[07:59:59] <sshakir> SNKannan: do you have some weird setting in your hosts file?
[08:00:08] <wafflejock_> SNKannan: if you really want to see what's going on you can use Charles Web debugging proxy to see if there is any difference in the requests
[08:00:10] <Rakesh_> wafflejock_ thanks for your help I'll try it out this option.
[08:01:47] *** metavige[R2] has quit IRC
[08:01:50] <damoncasale> Hmm. Got pulled away earlier, so didn't get a chance to follow up on my earlier question about AJAX calls.
[08:02:50] *** oniijin has joined #angularjs
[08:03:02]
<wafflejock_> SNKannan: that or http://www.wireshark.org/ and you can see what's really going down but filtering in there can be more difficult, Charles sums things up a little better and works well for SSL proxy stuff so you can see the decoded data since it does a man in the middle type setup
[08:03:12] *** metavige[R2] has joined #angularjs
[08:03:20] <damoncasale> I have a "mail" view which needs to pull in a collection of "mail" items to render in the template. Each and every time the view is loaded, I need to re-load this collection (because it might change, get new emails, etc.). What's the best way of getting that resource?
[08:03:28] *** encrypt3d_fracti has quit IRC
[08:03:36] *** jharbaugh has quit IRC
[08:03:39] *** hychen has joined #angularjs
[08:04:13] <damoncasale> Still very new at Angular. I'm none too familiar with how it works, only that simply using a resolve won't necessarily do the trick, since the resolve only fires once, the first time the view is loaded, if I understand correctly.
[08:04:21] <wafflejock_> damoncasale: you can just put the $http or $resource calls or whatever your using in the controllers and each time a view is visited (assuming ngRoute or ui-router here) the controller will be recreated and so the calls will happen again
[08:04:46] *** goodbomb has quit IRC
[08:04:50] <damoncasale> Okay, but then how will the template values be loaded and rendered?
[08:04:57] <wafflejock_> damoncasale: resolve will also work it just fires before the view is loaded... typically I still wrap up API calls in a service and will just explicitly make the call from controllers where I want updates to happen
[08:05:31] <damoncasale> For instance, one of my template variables is {{ screenname }}.
[08:06:20] *** foofoobar_ has joined #angularjs
[08:06:37] <wafflejock_> damoncasale: well using {{}} sets up a watcher so once screenname gets populated on whatever scope that element belongs to and a digest cycles is run in angular then the display automatically updates
[08:06:51] <damoncasale> Well, it's in an ng-repeat.
[08:06:54] <wafflejock_> damoncasale: things like $http automatically call $scope.$apply for you which triggers a digest
[08:07:01] <damoncasale> So how will that work, if the collection hasn't been loaded yet?
[08:07:11] <wafflejock_> damoncasale: it's okay the bindings in angular will handle that
[08:07:12] *** alho has joined #angularjs
[08:07:16] <damoncasale> Okay.
[08:07:22] <wafflejock_> it's smart enough to ignore that it's not there immediately
[08:07:31] *** mennea has quit IRC
[08:07:36] <damoncasale> So is there a good syntax example for doing $http in a resolve?
[08:07:59] *** metavige[R2] is now known as metavige__
[08:08:01] *** SNKannan has quit IRC
[08:08:29] <wafflejock_> damoncasale: with a resolve it just expects a pattern where you have a property name as the name that will be used for injecting the resolved object into a controller and on the value side a promise that resolves to whatever data you want
[08:08:31] *** illume has joined #angularjs
[08:08:37] *** alho has quit IRC
[08:09:03] * damoncasale looks up promise syntax...
[08:10:30] *** Emperor_Earth_ has joined #angularjs
[08:10:44] <damoncasale> Is $q the same as $scope, or what?
[08:11:16] *** Emperor_Earth has quit IRC
[08:11:23] *** tgkokk has joined #angularjs
[08:11:23] <wafflejock_> so something like resolve: {user: ['UserService', function(UserService){return UserService.loadUser()}}
[08:11:23] <wafflejock_> assuming you have a UserService object and the loadUser method returns a promise
[08:11:23] <wafflejock_> function loadUser(){ $http.get('getUserData.php') }
[08:11:38] <wafflejock_> damoncasale: nope all the angular services start with $ but scope is a different beast
[08:11:54] <wafflejock_> damoncasale: $q is a service that allows you to create promises
[08:12:12] <wafflejock_> a promise is an object that can be resolved or rejected at some later time very useful for async stuff like ajax calls
[08:13:20] <wafflejock_> angular scopes basically provide a hierarchy for the controllers and other sections of your app that need to have their own way to reference data or have functions that can be called from your view
[08:13:25] <damoncasale> wafflejock_: Do you mean loadUser() { return $http.get('blah'); } ?
[08:13:32] <wafflejock_> damoncasale: yes
[08:13:36] <damoncasale> Didn't see a return in there, just checking.
[08:13:42] <wafflejock_> damoncasale: good catch, $http returns an HTTPPromise
[08:13:54] *** holymac has quit IRC
[08:14:02] <damoncasale> k, now that's starting to make sense.
[08:14:26] *** asdofindia has joined #angularjs
[08:15:19] *** holymac has joined #angularjs
[08:15:37] *** oniijin has quit IRC
[08:15:59] *** dutis has joined #angularjs
[08:16:02] *** frostig has joined #angularjs
[08:16:54] *** iampseudo has quit IRC
[08:16:57] *** foofoobar_ has quit IRC
[08:17:19] *** metavige__ has left #angularjs
[08:17:42] *** blueadept has quit IRC
[08:19:52] *** sgnl has quit IRC
[08:20:38] <Strues> Why would a POST route work using postman, but submit only an id when run in the browser?
[08:20:55] *** feelfine has quit IRC
[08:21:54] *** oniijin has joined #angularjs
[08:22:31] <Stephen> Strues, the payload may be an empty object in the second case?
[08:22:37] <Stephen> IE: it lost scope somehow?
[08:23:12] <wafflejock_> Strues: yeah agree with Stephen here check the network panel for both
[08:23:31] *** feelfine has joined #angularjs
[08:24:06] <Strues> Stephen: Wafflejock: Would either of you two glance over a plnkr I setup?
[08:25:46] *** counter has joined #angularjs
[08:25:50] *** Reskp has joined #angularjs
[08:26:08] <Stephen> link?
[08:26:33] *** counter has quit IRC
[08:26:51]
<wafflejock_> damoncasale: I should probably have said $ is the prefix for all the providers since services and factories and values are providers but not all providers are a factory or service, so there may be some of those that are just defined as providers not services necessarily https://github.com/angular/angular.js/blob/master/src/ng/http.js#L88
[08:27:07] *** counter has joined #angularjs
[08:27:09] <wafflejock_> Strues: what do you see in the network panel for the requests
[08:27:30] *** ReactiveIO has joined #angularjs
[08:27:50] *** counter has quit IRC
[08:28:43] <Strues> Stephen: Everything relating to the controller on the angular side is in the script.js and the backend in the api.js
[08:28:50] <Strues> wafflejock: xhr.send(post || null);
[08:29:06] <Stephen> Strues, your plunkr link doesn't work
[08:29:31] *** bzuillsmith has joined #angularjs
[08:29:44] <wafflejock_> think plunkr itself might be having a nervous breakdown
[08:29:51] *** counter has joined #angularjs
[08:29:59] <Strues> Yeah appears that way
[08:29:59] <damoncasale> Thanks.
[08:30:10] <Stephen> yeah
[08:30:19] <wafflejock_> Strues: if you can show screenshots or just take a look when you select the network request it should show the headers data etc that is being sent just confirm those are the same
[08:30:24] *** anguarl has joined #angularjs
[08:30:45] <anguarl> fuck fuck
[08:30:57] *** Reskp has quit IRC
[08:31:08] *** zumba_addict has quit IRC
[08:31:32] *** anguarl has quit IRC
[08:31:32] *** ReactiveIO has quit IRC
[08:31:33] *** zwacky has quit IRC
[08:31:55] *** heythere has joined #angularjs
[08:32:00] <bzuillsmith> Hey guys, is this a good place for asking angular questions
[08:32:08] <damoncasale> YES. o.o
[08:32:24] <heythere> hello
[08:32:29] *** umesh has joined #angularjs
[08:32:51] <umesh> guys i want to ask u one question
[08:33:00] <heythere> I need to start on a booking system with angular JS
[08:33:04] <bzuillsmith> I'm wanting to create a grid for data entry... ng-repeat can show a row for each item, but then I need at least one empty row always at the bottom
[08:33:12] <bzuillsmith> That's no biggy
[08:33:12] *** avree has joined #angularjs
[08:33:30] <Strues> wafflejock_: this is the nice working response I get from postman
[08:33:32] <Strues> {
[08:33:32] <Strues> "__v": 0,
[08:33:32] <Strues> "firstName": "Test",
[08:33:32] <Strues> "age": "0000",
[08:33:32] <Strues> "timezone": "Mountain (MST)",
[08:33:33] <Strues> "_id": "53cb629744d33c37be9e66d7"
[08:33:33] <bzuillsmith> The difficulty comes when they enter data in the empty row, I need it to go into the model
[08:33:34] <Strues> }
[08:33:47] <umesh> if i enter some data into txtbox that data i want to strore into my json object
[08:33:54] *** ericrav has quit IRC
[08:34:19] <wafflejock_> Strues: need to see the request side of things better if you just do it all in one gist and show the reqeuest from working postman vs request from the broken angular call
[08:34:28] <umesh> if i enter some data into txtbox that data i want to strore into my json object..so what i have to do..
[08:34:32] *** ericrav has joined #angularjs
[08:34:35] <heythere> umesh from Nepal ?
[08:34:36] *** delerium_ has joined #angularjs
[08:34:44] <Strues> wafflejock_: appreciate it. Ill throw it in there real uick
[08:34:53] <umesh> if i enter some data into txtbox that data i want to strore into my json object..so what i have to do..
[08:35:34] <bzuillsmith> So then I'm creating a new row with the data they are in the middle of creating.. can't think of a good way to transition the once-empty-row into the model.
[08:35:40] *** platz has joined #angularjs
[08:35:51] *** heythere has quit IRC
[08:36:40] *** bejames has quit IRC
[08:37:18] <wafflejock_> umesh: not really a clear question where is your JSON object being stored?
[08:38:21] <wafflejock_> bzuillsmith: I would have an ng-repeat and then outside of the ng-repeat a separate spot for entering new rows of data that is just shown once, when they hit save for that row it inserts the data into the array the ng-repeat is using and clears the new entry data
[08:38:39] *** ericrav has quit IRC
[08:39:16] <wafflejock_> bzuillsmith: or more realistically it sends the save back to the database then updates the local array or just fetches the data again
[08:39:25] <bzuillsmith> I'm hoping to find a way that doesn't require them to hit "save". It should auto-save as soon as the first field is entered.
[08:39:38] <wafflejock_> bzuillsmith: what kind of backend?
[08:39:51] <bzuillsmith> node/mongodb
[08:40:10] <umesh> wafflejock: i create one json file and in html i have one txtxbox and one button if i entered something into txtbox and click on button that time i want to store whatever i entered into json
[08:40:20] <wafflejock_> bzuillsmith: so what's the user experience supposed to be like exactly?
[08:40:23] *** oste has quit IRC
[08:41:11] <wafflejock_> umesh: you need some server side component typically to read and write files that are persisted otherwise you need to store the data in some local storage type thing in the browser
[08:41:18] *** danyim has joined #angularjs
[08:41:54] <bzuillsmith> wafflejock_: They see a table/grid of data. They can modify data anywhere in the grid. An empty row at the bottom is for adding a new item. If they fill in a single field in the empty row, it updates the model, and also adds an empty row to the grid for adding another item
[08:42:13] *** tfennelly has joined #angularjs
[08:42:18] *** hugorodrigues has joined #angularjs
[08:42:30] <umesh> wafflejock: can i store my data into json object....???
[08:42:31] *** Vinnyceptr has joined #angularjs
[08:42:41] *** dariocravero has joined #angularjs
[08:42:47] <wafflejock_> umesh: it's a matter of where you store the JSON object and how you access it
[08:43:45] <umesh> wafflejock: sir i create one .json file into my folder and i want to store data into it..is it possible...?
[08:43:51] <wafflejock_> bzuillsmith: yeah I follow... I think you'd want to use ng-change to know when the model has changed then maybe use lodash or underscore to use the throttle method so you don't end up making constant calls to the backend to save, but immediately just add an extra blank entry to your array used for the ng-repeat
[08:45:18] <wafflejock_> Strues: do you have a live version of the code running somewhere we can access? also in the gist you posted I think I only see the request data from the postman request, is the request data for the angular request in there?
[08:45:50] <wafflejock_> bzuillsmith: in the ng-change handler you just check if the last entry is currently blank and if not add one
[08:45:54] <umesh> wafflejock: i dont have any database side so i have to store entered data local side into my json
[08:45:57] *** illume has quit IRC
[08:46:31] <wafflejock_> umesh: that's not really something you can do for persisting data between clients it's only good for testing purposes really
[08:46:48] <wafflejock_> umesh: what's your goal with storing this data, are you expecting it to be shared between clients?
[08:46:49] *** hugorodrigues has quit IRC
[08:46:49] *** tfennelly has quit IRC
[08:46:49] <Strues> wafflejock_ i'll put it on my vps here. Gimme just a couple min
[08:47:16] <umesh> wafflejock: ya ur right but i just have to use it for testing puropse..
[08:47:40] *** FIFOd[a] has joined #angularjs
[08:47:52] <bzuillsmith> Ok. I'm still relatively new to Angular. Coming from Durandal/Knockout. Can I apply ngChange to a whole item/row instead of each field in a row?
[08:48:00] <umesh> i have to store some small data which i will enter ..for testing purpose..so please give me some example
[08:48:40] <wafflejock_> umesh: you can use some local storage mechanism like ngStorage to be able to store/load stuff but it probably has browser depenedency quirks a bit I imagine
[08:49:54] <wafflejock_> bzuillsmith: I don't believe so actually but you can either use ng-include or a really simple directive that you write that just loads a template if you feel yourself repeeating a lot of markup
[08:50:20] *** mglvl has quit IRC
[08:50:22] *** metavige_ has joined #angularjs
[08:50:37] *** umesh has quit IRC
[08:51:22] <wafflejock_> bzuillsmith: ngChange so far as I know watches the ng-model to see if changes occur not like browser change events
[08:51:42] <wafflejock_> bzuillsmith: you could also use a directive that does actually listen for change events or make one if you can't find one
[08:52:17] *** FIFOd[a] has quit IRC
[08:52:34] <wafflejock_> probably better to use ng change though since I imagine otherwise you need a delay to wait for the model changes to actually occur in some cases
[08:52:54] *** holymac has quit IRC
[08:53:11] *** davi has joined #angularjs
[08:53:23] *** holymac has joined #angularjs
[08:54:12] *** metavig__ has joined #angularjs
[08:54:41] *** avree has quit IRC
[08:54:44] *** metavige_ has quit IRC
[08:54:44] *** ericrav has joined #angularjs
[08:54:58] *** tarnus has quit IRC
[08:56:27] *** wilmoore has quit IRC
[08:56:43] <TheAceOfHearts> localStorage is terrible if you have any reasonable amount of data
[08:57:36] *** metavig__ has quit IRC
[08:58:21] *** ericrav has quit IRC
[08:58:23] *** Reskp has joined #angularjs
[08:58:49] *** counter has quit IRC
[08:59:01] *** ericrav has joined #angularjs
[08:59:23] *** holymac has quit IRC
[08:59:47] *** jharbaugh has joined #angularjs
[08:59:49] *** Sawbones has quit IRC
[09:00:01] *** charuru has quit IRC
[09:00:10] *** Reskp_ has joined #angularjs
[09:00:28] <wafflejock_> Strues: yeah just hard to tell without seeing the actual request/response happening
[09:01:04] *** snapwich has joined #angularjs
[09:01:27] *** flocca has joined #angularjs
[09:01:31] <Strues> wafflejock_: trying something real quick which should have it running on my server
[09:02:13] *** dnoup has quit IRC
[09:02:56]
<wafflejock_> Strues: in the gist you posted above I saw the postman request with the data supplied but nothing for the angular side of things, request portion should look something like this http://i.imgur.com/p2eAzBL.png
[09:03:08] <wafflejock_> Strues: but if you get it running on your server and I can see it live that works too
[09:03:15] *** Reskp has quit IRC
[09:03:20] *** ericrav has quit IRC
[09:03:32] *** caitp- has quit IRC
[09:03:53] *** charuru has joined #angularjs
[09:04:01] *** atkerson has quit IRC
[09:04:02] *** jharbaugh has quit IRC
[09:04:55] *** bzuillsmith has left #angularjs
[09:04:57] *** Reskp_ has quit IRC
[09:05:07] *** Reskp has joined #angularjs
[09:07:26] *** rickychiang has joined #angularjs
[09:08:23] *** shorter has joined #angularjs
[09:09:00] *** wilmoore has joined #angularjs
[09:09:13] *** mennea has joined #angularjs
[09:09:22] *** ko3t has joined #angularjs
[09:12:51] *** iksik_ has quit IRC
[09:13:07] *** danyim has quit IRC
[09:13:53] *** tfennelly has joined #angularjs
[09:14:58] <Strues> I can wafflejock_: hmmm getting some strange express errors on the server. should be sorted out soon tho
[09:16:01] *** luisjose_ has quit IRC
[09:16:16] *** jshultz has quit IRC
[09:16:57]
<Strues> wafflejock_: http://topshelfsargeras.com:9000/ sign in as admin at admin dot com password admin. From there go to apply and you can skip to the second to last form page and randomly type things. Nothing is required at the moment
[09:18:12] *** tfennelly has quit IRC
[09:18:27] *** Stephen has quit IRC
[09:19:13] *** Stephen has joined #angularjs
[09:19:22] *** damoncasale has quit IRC
[09:20:07] *** mennea has quit IRC
[09:20:27] *** mennea has joined #angularjs
[09:20:36] <Strues> wafflejock_: The response code when you look at the login form gives off 200 and the application form sends 201 it looks like
[09:21:05] *** sdouglas_ has quit IRC
[09:21:16] *** JoshGlzBrk has quit IRC
[09:21:57] *** feelfine has quit IRC
[09:24:06] <wafflejock_> Strues: k so the problem is the controllers don't persist across views
[09:24:23] *** toastynerd has quit IRC
[09:24:34] <wafflejock_> Strues: so each time your new route is loaded it's going to rerun the controller function and clear up the data object it ultimately tries to send
[09:25:46] <wafflejock_> Strues: the factory and service are both singletons which means they are created once and persisted for the life of the application
[09:26:00] <Strues> wafflejock_: Thank you. Pretty rookie mistake I made
[09:26:26] *** tgkokk has quit IRC
[09:26:36] <wafflejock_> Strues: np I know your pretty new too I just didn't notice it in the code pasted, easier to see something running in isolation if possible
[09:27:47] <Strues> wafflejock_: Yeah hands on is much better. Anyways thanks for the help. Going to go try and fix this before heading off for the night
[09:28:11] *** ReactiveIO has joined #angularjs
[09:28:28] *** gauravsaini03 has joined #angularjs
[09:28:33] *** shorter has quit IRC
[09:29:36] *** dariocravero has quit IRC
[09:31:07] *** Strues has quit IRC
[09:32:44] *** ReactiveIO has quit IRC
[09:32:59] *** FuCone has quit IRC
[09:33:37] *** sigurding has joined #angularjs
[09:33:59] *** heiro has joined #angularjs
[09:35:48] *** dazs has joined #angularjs
[09:36:22] *** dariocravero has joined #angularjs
[09:36:23] *** DrJae has joined #angularjs
[09:36:47] *** faggins has joined #angularjs
[09:37:22] *** ko3t_ has joined #angularjs
[09:37:38] *** Jae has quit IRC
[09:39:34] *** gauravsaini03 has quit IRC
[09:39:35] *** eargle has joined #angularjs
[09:40:39] *** ko3t has quit IRC
[09:40:43] *** toastynerd has joined #angularjs
[09:41:14] *** dreb has quit IRC
[09:41:28] *** tgkokk has joined #angularjs
[09:41:42] *** dreb has joined #angularjs
[09:44:14] *** FuCone has joined #angularjs
[09:44:16] *** dylanlindgren has joined #angularjs
[09:44:30] *** FIFOd[a] has joined #angularjs
[09:45:02] *** FuCone has quit IRC
[09:45:11] *** straseski has joined #angularjs
[09:46:11] *** dreb has quit IRC
[09:46:26] *** luisjose has joined #angularjs
[09:47:38] *** anjumkaiser has joined #angularjs
[09:47:58] *** visionary has joined #angularjs
[09:47:59] *** eicke has joined #angularjs
[09:48:06] *** Hackwar has joined #angularjs
[09:48:13] *** Reite has joined #angularjs
[09:48:14] *** FuCone has joined #angularjs
[09:48:18] *** luisjose_ has joined #angularjs
[09:48:40] *** FIFOd[a] has quit IRC
[09:49:13] *** eicke has quit IRC
[09:49:18] *** FuCone has quit IRC
[09:50:01] *** FuCone has joined #angularjs
[09:50:32] *** Sawbones has joined #angularjs
[09:51:18] *** ppppaul has joined #angularjs
[09:51:24] *** luisjose has quit IRC
[09:51:53] *** luisjose has joined #angularjs
[09:51:59] *** eisenstei has joined #angularjs
[09:52:22] *** visionary has quit IRC
[09:52:56] *** DrMabuse has joined #angularjs
[09:53:16] *** luisjose_ has quit IRC
[09:53:32] *** DrJae has quit IRC
[09:53:42] *** luisjose_ has joined #angularjs
[09:54:26] *** rickychiang has left #angularjs
[09:54:49] *** davi has quit IRC
[09:54:51] *** dc has joined #angularjs
[09:55:26] *** sgnl has joined #angularjs
[09:55:57] *** eisenstei has quit IRC
[09:56:15] *** jrahmy has joined #angularjs
[09:56:21] *** DrJae has joined #angularjs
[09:56:33] *** dariocravero has quit IRC
[09:56:34] *** luisjose has quit IRC
[09:57:19] *** luisjose has joined #angularjs
[09:58:34] *** luisjose_ has quit IRC
[09:58:47] *** ercolano has joined #angularjs
[09:59:05] *** luisjose_ has joined #angularjs
[09:59:27] *** luisjose has quit IRC
[09:59:58] *** ercolano has quit IRC
[10:00:28] *** jharbaugh has joined #angularjs
[10:01:38] *** dariocravero has joined #angularjs
[10:02:17] *** pencilcheck has joined #angularjs
[10:02:47] *** colston has joined #angularjs
[10:03:37] *** luisjose_ has quit IRC
[10:03:54] *** frostig has quit IRC
[10:04:08] *** sgnl has quit IRC
[10:04:12] *** mtsr has joined #angularjs
[10:05:01] *** jharbaugh has quit IRC
[10:05:05] *** luisjose has joined #angularjs
[10:05:26] *** pencilcheck is now known as pen
[10:05:35] *** LoveAndHappiness has joined #angularjs
[10:05:46] *** Sawbones has quit IRC
[10:06:29] *** colston has quit IRC
[10:06:51] *** luisjose_ has joined #angularjs
[10:06:53] *** ppppaul has quit IRC
[10:08:10] *** sigurding has quit IRC
[10:09:11] *** kalauli has joined #angularjs
[10:09:52] *** luisjose has quit IRC
[10:10:28] *** luisjose has joined #angularjs
[10:10:46] *** tfennelly has joined #angularjs
[10:11:05] *** luisjose_ has quit IRC
[10:11:26] *** DrMabuse has quit IRC
[10:11:28] *** LoveAndHappiness has quit IRC
[10:11:59] *** fiume has joined #angularjs
[10:12:06] *** LoveAndHappiness has joined #angularjs
[10:12:26] *** fiume has quit IRC
[10:14:36] *** bencc has left #angularjs
[10:14:41] *** luisjose has quit IRC
[10:15:03] *** tfennelly has quit IRC
[10:15:11] *** stroinski has joined #angularjs
[10:15:59] *** tgkokk has quit IRC
[10:18:19] *** zwacky has joined #angularjs
[10:18:34] *** plysiu has joined #angularjs
[10:18:40] *** fire_ has joined #angularjs
[10:19:00] *** Climax777 has joined #angularjs
[10:20:47] *** bakewell has joined #angularjs
[10:21:05] *** bakewell has quit IRC
[10:21:51] *** foofoobar_ has joined #angularjs
[10:23:13] *** LoveAndHappiness has quit IRC
[10:23:33] *** tgkokk has joined #angularjs
[10:23:47] *** guilbep has joined #angularjs
[10:23:59] *** leija has joined #angularjs
[10:24:03] *** jrahmy has quit IRC
[10:24:18] *** Reskp has quit IRC
[10:24:29] *** marr has joined #angularjs
[10:25:15] *** tfennelly has joined #angularjs
[10:25:57] *** guilbep has quit IRC
[10:26:05] *** LoveAndHappiness has joined #angularjs
[10:26:21] *** foofoobar has joined #angularjs
[10:26:22] *** jk-5 is now known as jk-5|gone
[10:26:31] *** tfennelly has quit IRC
[10:26:36] *** DrMabuse has joined #angularjs
[10:26:42] *** guilbep has joined #angularjs
[10:26:47] *** hoth has joined #angularjs
[10:26:54] *** tfennelly has joined #angularjs
[10:27:14] *** hoth has quit IRC
[10:27:14] *** tfennelly has quit IRC
[10:28:44] *** aton` has joined #angularjs
[10:28:54] *** aton` has joined #angularjs
[10:29:06] *** ReactiveIO has joined #angularjs
[10:29:09] *** rhp has joined #angularjs
[10:29:14] *** ppppaul has joined #angularjs
[10:29:30] *** Voolbic has joined #angularjs
[10:29:50] *** iampseudo has joined #angularjs
[10:29:51] *** frickettz has quit IRC
[10:29:51] <Voolbic> hi sorry to ask i am trying to make some html only visable when a button is clicked
[10:30:11] <Voolbic> been trying for over an hour, too much complex wikis, nothing simple
[10:30:16] <Voolbic> can someone help
[10:30:31] *** hugorodrigues has joined #angularjs
[10:30:44] *** DrMabuse has quit IRC
[10:31:44] *** tfennelly has joined #angularjs
[10:32:06] *** yoshokatana has joined #angularjs
[10:32:47] *** shillings has joined #angularjs
[10:33:03] *** jrahmy has joined #angularjs
[10:33:08] *** ReactiveIO has quit IRC
[10:33:25] *** hychen has quit IRC
[10:33:49] <zbzzn> Voolbic, sec
[10:34:02] *** asdofindia has quit IRC
[10:34:05] <Mr_Tac> a link to a blog is good
[10:34:23] *** tfennelly has quit IRC
[10:34:26] *** screamin_ has joined #angularjs
[10:34:29] <zbzzn> for some reason all angular sites load so slowly
[10:34:40] *** dve has joined #angularjs
[10:34:50] *** tfennelly has joined #angularjs
[10:35:15] *** hugorodrigues has quit IRC
[10:35:24] <Climax777> zbzzn: in my experience it is quite the opposite
[10:35:35] *** clemente has joined #angularjs
[10:35:36] *** clemente has quit IRC
[10:35:52] *** asdofindia has joined #angularjs
[10:36:32] *** yoshokatana has quit IRC
[10:37:11] *** screamingbanshee has quit IRC
[10:37:43] <fire_> hi everyone, really strange thing happening... i guess i just dont fully understand directives yet.... in my directive I am calling a function in my controller, the function runs, but that function doesnt set the scope variable...
[10:37:46] <zbzzn> I mean the angular.js official sites, not sites written with angular.js
[10:38:18] <zbzzn> Voolbic, use the link above to see how to do what you want
[10:39:06] <zbzzn> I guess the proxy here doesn't like angularjs.org :(
[10:39:55] *** flocca has quit IRC
[10:40:01] *** grump has joined #angularjs
[10:40:16] <Voolbic> thanking you very lot
[10:41:09] *** flocca has joined #angularjs
[10:41:11] *** dubeau has joined #angularjs
[10:41:33] *** jae has joined #angularjs
[10:42:59] *** jrahmy has quit IRC
[10:43:34] *** DrJae has quit IRC
[10:43:46] *** tgkokk has quit IRC
[10:43:59] *** wrynn has joined #angularjs
[10:44:05] *** caitp has joined #angularjs
[10:44:07] *** wrynn has quit IRC
[10:45:24] *** FIFOd[a] has joined #angularjs
[10:45:32] *** tgkokk has joined #angularjs
[10:45:32] *** DrMabuse has joined #angularjs
[10:45:52] *** grump has quit IRC
[10:46:25] *** uf6667 has joined #angularjs
[10:46:47] *** natividad has joined #angularjs
[10:47:13] *** tfennell_ has joined #angularjs
[10:47:36] *** natividad has quit IRC
[10:48:35] *** caitp has quit IRC
[10:49:14] *** JesseEichar_ has joined #angularjs
[10:49:47] *** FIFOd[a] has quit IRC
[10:49:52] *** tfennelly has quit IRC
[10:50:00] *** grump has joined #angularjs
[10:50:23] *** huante has joined #angularjs
[10:50:35] <zbzzn> Does plunker work for anyone? I get an error message
[10:50:50] *** platz has quit IRC
[10:51:09] *** dariocravero has quit IRC
[10:51:12] *** snapwich has quit IRC
[10:51:51] *** huante has quit IRC
[10:52:31] *** jstroem has joined #angularjs
[10:54:09] *** jk-5|gone is now known as jk-5
[10:54:47] *** naclerio has joined #angularjs
[10:55:04] <fire_> zbzzn, use jsfiddle instead
[10:55:04] *** naclerio has quit IRC
[10:55:35] *** foofoobar has quit IRC
[10:55:38] *** InezK is now known as InezK_away
[10:55:52] <zbzzn> Thanks fire_, but I was trying to open an existing example
[10:55:56] *** foofoobar has joined #angularjs
[10:56:13] *** tarnus has joined #angularjs
[10:56:20] *** dariocravero has joined #angularjs
[10:57:59] *** weisser has joined #angularjs
[10:58:09] *** saucey has joined #angularjs
[10:58:16] <saucey> hi all
[10:58:37] <saucey> how do i use cors to use cross browsing api calls?
[10:59:10] <saucey> on my localhost?
[10:59:21] *** grump has quit IRC
[10:59:53] <fire_> a function in my controller called from my directive isnt changing a value
[11:00:08] *** MacWinner has quit IRC
[11:00:17] <fire_> can anyone help?
[11:00:45] *** sigurding has joined #angularjs
[11:00:47] *** kleiber has joined #angularjs
[11:00:50] *** tarnus has quit IRC
[11:00:57] *** TorchDragon has joined #angularjs
[11:01:10] *** kleiber has quit IRC
[11:01:16] *** jharbaugh has joined #angularjs
[11:01:29] *** DrJae has joined #angularjs
[11:02:14] *** DrMabuse has quit IRC
[11:02:23] *** jae has quit IRC
[11:02:34] *** mennea has quit IRC
[11:02:36] *** jharbaugh has quit IRC
[11:03:04] *** jharbaugh has joined #angularjs
[11:03:21] *** MikaAK has quit IRC
[11:03:51] *** toastynerd has quit IRC
[11:03:59] *** remsberg has joined #angularjs
[11:04:08] *** tgkokk has quit IRC
[11:05:36] *** TorchDragon has quit IRC
[11:06:07] *** plysiu has quit IRC
[11:06:12] *** Nek has joined #angularjs
[11:07:39] *** jharbaugh has quit IRC
[11:09:35] *** poarch has joined #angularjs
[11:09:42] *** tomh- has joined #angularjs
[11:09:54] *** poarch has quit IRC
[11:09:56] <Climax777> when making a single page app. is it good practice to keep the signup/signin pages seperate? or is it better to include it in the single page app (index.html)
[11:10:29] *** zbzzn has quit IRC
[11:10:38] *** DrMabuse has joined #angularjs
[11:10:41] *** joshontheweb has joined #angularjs
[11:10:48] *** zbzzn has joined #angularjs
[11:12:35] *** Reskp has joined #angularjs
[11:12:47] *** stutheit has joined #angularjs
[11:13:27] *** SomeKittens has quit IRC
[11:15:02] *** BillCriswell has joined #angularjs
[11:15:16] *** plex0r has quit IRC
[11:15:35] *** hutzler has joined #angularjs
[11:15:37] *** hutzler has quit IRC
[11:15:40] *** DrMabuse has quit IRC
[11:15:47] *** Stephen has quit IRC
[11:17:31] *** DrMabuse has joined #angularjs
[11:17:42] *** nemothekid has quit IRC
[11:18:23] *** manzone has joined #angularjs
[11:19:23] *** Vinnyceptr has quit IRC
[11:19:36] *** BillCriswell has quit IRC
[11:20:20] <ppppaul> signup and signin are totally different things
[11:20:28] <ppppaul> signin you have a lot of options
[11:20:58] <ppppaul> i put mine in the same app
[11:21:14] <ppppaul> i prefer there not to be a page for signin
[11:21:24] *** sigurding has quit IRC
[11:21:30] <ppppaul> a modal or whatever is better so your user doesn't lose context.
[11:21:35] *** grafals has joined #angularjs
[11:21:39] *** grafals has quit IRC
[11:22:11] <Climax777> i may have asked a bit ambiguously. i mean to ask if they (seperately in terms of view) should be contained in the same ng-app as a different view/route. or should it be a new page load from scratch at serv.com/signup
[11:22:31] *** disorder20 has joined #angularjs
[11:22:31] <Climax777> ah your last comments answered my question
[11:22:33] <ppppaul> depends on what you like
[11:22:48] <Climax777> i like containment.
[11:23:06] <Climax777> visually they will both be similar. i hate page reloads
[11:23:23] <ppppaul> then a modal is ok.
[11:23:37] <ppppaul> signin these days tend to have page reloads
[11:24:16] <Climax777> i just wasn't able to find examples yet. generator-angular-fullstack of yeoman is all single page, but changing the look to be completely different is a challenge
[11:24:17] <ppppaul> in angular it is a bit tricky to do user stuff
[11:24:23] *** mcmullin has joined #angularjs
[11:24:24] *** ckboii89 has quit IRC
[11:24:26] *** mcmullin has quit IRC
[11:24:54] <ppppaul> there is a nice angular module that does 401 handling
[11:25:05] <ppppaul> so, on a 401 you get a signin dialog
[11:25:18] <Climax777> that makes sense
[11:25:24] *** guilbep has quit IRC
[11:25:48] <ppppaul> it will replay the requests that made 401s after the user signs in too
[11:25:58] *** InezK_away is now known as InezK
[11:26:18] <Climax777> signup and signin i will probably be able to manage. but now you can get email verification links as well. upon clicking the link in the email which page should load?
[11:26:26] <Grokling_> angular_http_auth
[11:26:30] *** DrJae is now known as Jae
[11:26:39] *** Jae has joined #angularjs
[11:26:46] <ppppaul> well, your router will take care of that
[11:26:55] <ppppaul> make a route for verification.
[11:27:11] *** oldershaw has joined #angularjs
[11:27:12] <Climax777> i must make a paradigm shift coming from the multi-page world
[11:27:13] *** oldershaw has quit IRC
[11:27:30] <ppppaul> SPA can be a bit of a learning curve
[11:28:19] <Climax777> thanks for your suggestions. i'm in the process of writing up my experience in transitioning to the single page world. will share the blog when i'm done (probably will be weeks from now)
[11:29:42] *** ReactiveIO has joined #angularjs
[11:29:59] *** barshaw has joined #angularjs
[11:30:52] *** iampseudo has quit IRC
[11:30:56] *** foofoobar has quit IRC
[11:31:34] *** Willow__ has quit IRC
[11:31:58] *** foofoobar has joined #angularjs
[11:32:02] *** Willow__ has joined #angularjs
[11:32:47] *** seifts has joined #angularjs
[11:33:16] <fire_> does anyone know how to switch to a new tab in angular bootsrap ui?
[11:33:27] *** DrMabuse has quit IRC
[11:33:31] *** daslicht has joined #angularjs
[11:33:56] *** ReactiveIO has quit IRC
[11:34:28] *** saucey has quit IRC
[11:34:30] <ansu> fire_: setting the new tab to active?
[11:34:42] *** toastynerd has joined #angularjs
[11:35:00] *** foofoobar has quit IRC
[11:35:35] *** erdman has joined #angularjs
[11:35:38] *** InezK is now known as InezK_away
[11:35:45] *** erdman has quit IRC
[11:36:35] *** Willow__ has quit IRC
[11:37:05] *** iampseudo has joined #angularjs
[11:37:06] *** foofoobar has joined #angularjs
[11:38:23] *** sinibaldi has joined #angularjs
[11:39:12] *** foofoobar_ has quit IRC
[11:39:39] *** disorder20 has quit IRC
[11:39:47] *** ko3t_ has quit IRC
[11:40:37] *** foofoobar_ has joined #angularjs
[11:41:21] <fire_> hi ansu, how can I do that?
[11:41:21] *** wilmoore has quit IRC
[11:41:21] *** foofoobar has quit IRC
[11:41:23] *** mennea has joined #angularjs
[11:41:57] *** toastynerd has quit IRC
[11:42:31] *** sshakir has quit IRC
[11:43:21] *** ceephax has joined #angularjs
[11:43:26] *** dariocravero has quit IRC
[11:43:59] *** enloe has joined #angularjs
[11:44:32] *** Shrooms` has joined #angularjs
[11:44:53] *** caitp has joined #angularjs
[11:44:59] *** lordkryss has joined #angularjs
[11:46:47] *** mccrea has joined #angularjs
[11:47:08] *** Shrooms has quit IRC
[11:48:25] *** fdrechsler has joined #angularjs
[11:49:15] *** caitp has quit IRC
[11:49:28] *** Shrooms` has quit IRC
[11:49:35] *** migneault has joined #angularjs
[11:49:39] *** migneault has quit IRC
[11:50:24] *** w1ther has quit IRC
[11:52:02] *** DrMabuse has joined #angularjs
[11:52:10] *** Drako_ has joined #angularjs
[11:52:23] *** syta has joined #angularjs
[11:52:24] *** fdrechsler_ has joined #angularjs
[11:52:34] *** syta has quit IRC
[11:52:35] *** DrMabuse has quit IRC
[11:52:38] *** fdrechsler has quit IRC
[11:53:03] *** dve has quit IRC
[11:54:01] *** davi has joined #angularjs
[11:54:24] *** tangorri has joined #angularjs
[11:55:11] *** bracher has joined #angularjs
[11:55:22] *** Jdubs has quit IRC
[11:55:53] *** bracher has quit IRC
[11:57:24] *** LoveAndHappiness has quit IRC
[11:58:47] *** ruderman has joined #angularjs
[12:00:20] *** _jpfm has joined #angularjs
[12:01:35] *** husseini has joined #angularjs
[12:02:08] *** disorder20 has joined #angularjs
[12:02:43] *** Willow__ has joined #angularjs
[12:03:50] *** jharbaugh has joined #angularjs
[12:04:01] *** dve has joined #angularjs
[12:04:23] *** mizrahi has joined #angularjs
[12:05:46] *** alp82 has joined #angularjs
[12:06:07] *** Emperor_Earth has joined #angularjs
[12:06:09] *** Emperor_Earth_ has quit IRC
[12:06:09] *** zerd_ has quit IRC
[12:06:30] *** zerd has joined #angularjs
[12:06:35] *** freannrak has quit IRC
[12:06:36] *** mennea has quit IRC
[12:06:52] *** anjumkaiser has quit IRC
[12:07:35] *** ayersman has joined #angularjs
[12:07:40] *** ayersman has quit IRC
[12:08:16] *** tfennelly has joined #angularjs
[12:08:24] *** jharbaugh has quit IRC
[12:09:27] *** tfennell_ has quit IRC
[12:10:23] *** scalia has joined #angularjs
[12:10:34] *** metasansana has quit IRC
[12:10:46] *** tfennell_ has joined #angularjs
[12:13:12] *** Left_Turn has joined #angularjs
[12:13:33] *** zerd has quit IRC
[12:13:33] *** iampseudo has quit IRC
[12:13:43] *** dve has quit IRC
[12:14:15] *** tfennelly has quit IRC
[12:14:29] *** dve has joined #angularjs
[12:15:53] *** uf6667 has quit IRC
[12:15:56] *** mennea has joined #angularjs
[12:15:59] *** dilauro has joined #angularjs
[12:16:02] *** jrahmy has joined #angularjs
[12:16:24] *** zerd has joined #angularjs
[12:18:14] *** DrMabuse has joined #angularjs
[12:18:23] *** davi has quit IRC
[12:18:34] *** JesseEichar_ has quit IRC
[12:18:36] *** L8TR has quit IRC
[12:18:47] *** coplon has joined #angularjs
[12:18:54] *** hugorodrigues has joined #angularjs
[12:18:55] *** coplon has quit IRC
[12:18:58] *** L8TR has joined #angularjs
[12:19:12] *** dve has quit IRC
[12:19:42] *** L8TR has quit IRC
[12:20:07] *** L8TR has joined #angularjs
[12:20:56] *** Rakesh_ has quit IRC
[12:21:35] *** odiase has joined #angularjs
[12:22:10] *** odiase has quit IRC
[12:23:42] *** hugorodrigues has quit IRC
[12:24:17] *** jstroem has quit IRC
[12:24:47] *** barbur has joined #angularjs
[12:25:48] *** jrahmy has quit IRC
[12:25:56] *** Jdubs has joined #angularjs
[12:26:28] *** dc_ has joined #angularjs
[12:26:56] *** ededagic has joined #angularjs
[12:27:35] *** burstein has joined #angularjs
[12:27:49] *** burstein has quit IRC
[12:27:56] *** dc has quit IRC
[12:29:31] *** Left_Turn has quit IRC
[12:30:22] *** Jdubs has quit IRC
[12:30:40] *** ReactiveIO has joined #angularjs
[12:30:47] *** strobel has joined #angularjs
[12:31:58] *** Sijdesign has joined #angularjs
[12:32:08] *** mamarilmanson has joined #angularjs
[12:32:09] <Sijdesign> Hey all
[12:32:12] *** iampseudo has joined #angularjs
[12:32:13] *** charuru has quit IRC
[12:33:35] *** kassner has joined #angularjs
[12:33:40] *** kassner has quit IRC
[12:34:44] *** ReactiveIO has quit IRC
[12:35:53] *** jobelenus has joined #angularjs
[12:36:23] *** perrin has joined #angularjs
[12:38:13] *** Reskp has quit IRC
[12:39:04] *** Sijdesign has quit IRC
[12:39:11] *** olds has joined #angularjs
[12:39:18] *** Left_Turn has joined #angularjs
[12:39:21] *** Mouzi has joined #angularjs
[12:41:22] *** e-dard_afk is now known as e-dard
[12:41:23] *** DrMabuse has quit IRC
[12:41:59] *** soto has joined #angularjs
[12:42:07] *** kingme has joined #angularjs
[12:42:12] *** soto has quit IRC
[12:42:17] *** shinnya has quit IRC
[12:42:53] *** vadikace has joined #angularjs
[12:44:47] *** mazion has joined #angularjs
[12:45:36] *** e-dard is now known as e-dard_afk
[12:46:53] *** iampseudo has quit IRC
[12:47:35] *** spotwood has joined #angularjs
[12:47:56] *** spotwood has quit IRC
[12:48:03] *** AlSquire has joined #angularjs
[12:48:30] *** iksik has joined #angularjs
[12:50:26] *** k-dawg has joined #angularjs
[12:50:47] *** massingil has joined #angularjs
[12:52:55] *** mehlah has joined #angularjs
[12:53:12] *** jerev_away is now known as jerev
[12:54:01] *** FuCone has quit IRC
[12:54:35] *** foofoobar has joined #angularjs
[12:54:38] *** drej has joined #angularjs
[12:56:14] *** ckboii89 has joined #angularjs
[12:56:17] *** FuCone has joined #angularjs
[12:56:22] *** Sijdesign has joined #angularjs
[12:56:23] *** virgadamo has joined #angularjs
[12:57:08] *** tarnus has joined #angularjs
[12:57:17] *** Foxandxss has joined #angularjs
[12:57:50] *** zbzzn has quit IRC
[12:57:53] *** Grokling_ has quit IRC
[12:59:35] *** ediger has joined #angularjs
[12:59:43] *** pen has quit IRC
[13:00:06] *** DrMabuse has joined #angularjs
[13:00:20] *** XoRoN has joined #angularjs
[13:00:20] *** ckboii89 has quit IRC
[13:00:20] *** DrMabuse has quit IRC
[13:00:46] *** DrMabuse has joined #angularjs
[13:00:46] *** noder has joined #angularjs
[13:00:51] *** klaut has quit IRC
[13:01:39] *** faviouz has joined #angularjs
[13:01:43] *** noder has left #angularjs
[13:01:47] *** tarnus has quit IRC
[13:02:14] *** TorchDragon has joined #angularjs
[13:02:23] *** lites has joined #angularjs
[13:02:47] *** zbzzn has joined #angularjs
[13:03:06] *** TheAceOfHearts has quit IRC
[13:04:24] *** toastynerd has joined #angularjs
[13:04:35] *** jharbaugh has joined #angularjs
[13:05:11] *** beckler has joined #angularjs
[13:05:20] *** beckler has quit IRC
[13:06:30] *** TorchDragon has quit IRC
[13:07:37] *** mettjus has joined #angularjs
[13:07:59] *** hepker has joined #angularjs
[13:08:03] *** hepker has quit IRC
[13:09:01] *** Reskp has joined #angularjs
[13:09:06] *** jharbaugh has quit IRC
[13:09:16] *** toastynerd has quit IRC
[13:09:23] *** ppppaul has quit IRC
[13:09:26] *** slainer68 has quit IRC
[13:09:42] *** slainer68 has joined #angularjs
[13:10:47] *** sieloff has joined #angularjs
[13:10:47] *** the-erm has quit IRC
[13:10:54] *** sieloff has quit IRC
[13:10:59] *** AciD`` has joined #angularjs
[13:12:34] *** the-erm has joined #angularjs
[13:13:35] *** duby has joined #angularjs
[13:13:43] *** Reskp has quit IRC
[13:14:02] *** tarkus has joined #angularjs
[13:15:31] *** ppppaul has joined #angularjs
[13:16:23] *** tschida has joined #angularjs
[13:18:36] *** screamin_ has quit IRC
[13:18:46] *** jobelenus has quit IRC
[13:19:11] *** golub has joined #angularjs
[13:20:06] *** XoRoN has quit IRC
[13:21:34] *** dve has joined #angularjs
[13:22:06] *** metavige__ has joined #angularjs
[13:22:23] *** paschal has joined #angularjs
[13:22:32] *** AciD`` has quit IRC
[13:22:32] *** paschal has quit IRC
[13:22:55] *** metavige__ has quit IRC
[13:23:27] *** stoogenmeyer has joined #angularjs
[13:24:32] *** JesseEichar_ has joined #angularjs
[13:25:11] *** wenclawia has joined #angularjs
[13:25:26] *** klaut has joined #angularjs
[13:25:38] *** mehlah has quit IRC
[13:26:56] <stoogenmeyer> im working in front of an angularjs project, i have limited access to code but i do know that the project is behind an nginx proxy. I have issues with caching where upon change of code i continue to receive cached results. my final aim is to upon code changes have the server respond with fresh results (js files). i've noticed that in the request i have Cache-Control: max-age=0; but in the response there is Cache-Control: max-a
[13:27:23] *** InezK_away is now known as InezK
[13:27:26] *** screamingbanshee has joined #angularjs
[13:27:59] *** ising has joined #angularjs
[13:29:46] *** XoRoN has joined #angularjs
[13:30:22] *** anjumkaiser has joined #angularjs
[13:30:54] *** dve has quit IRC
[13:31:11] *** bordonaro has joined #angularjs
[13:32:58] *** jk-5 is now known as jk-5|gone
[13:33:59] *** arellanes has joined #angularjs
[13:34:03] *** zwacky has quit IRC
[13:34:09] *** arellanes has quit IRC
[13:35:00] *** faviouz has quit IRC
[13:36:21] *** delight has joined #angularjs
[13:36:47] *** burback has joined #angularjs
[13:36:53] *** ckboii89 has joined #angularjs
[13:36:59] *** daslicht has quit IRC
[13:37:07] *** InezK is now known as InezK_away
[13:37:13] *** OnkelTem has quit IRC
[13:38:40] *** OnkelTem has joined #angularjs
[13:39:01] <stoogenmeyer> one more detail: the files im referring to start with a unique string (21hu214h.file1.js, e.g.), in the request i have If-None-Match: "asd89uy8asd", and in the response: ETag: "asd89uy8asd", so the ETag is different then the file name.
[13:39:23] *** ppppaul has quit IRC
[13:39:35] *** lozowski has joined #angularjs
[13:39:40] *** jr3 has joined #angularjs
[13:39:44] *** lozowski has quit IRC
[13:41:08] *** ckboii89 has quit IRC
[13:41:22] *** Willow__ has quit IRC
[13:41:49] *** Willow__ has joined #angularjs
[13:41:52] <Foxandxss> I am not a cache expert or anything like that
[13:42:06] <Foxandxss> but if your file names changes between deployments, it should work nice
[13:42:16] *** uf6667 has joined #angularjs
[13:42:23] *** huseth has joined #angularjs
[13:45:23] *** henn1nk has joined #angularjs
[13:45:59] *** forgrave has joined #angularjs
[13:46:36] *** Willow__ has quit IRC
[13:48:47] *** veles has joined #angularjs
[13:49:14] *** veles has quit IRC
[13:50:40] *** lite_ has joined #angularjs
[13:51:59] *** mcgloster has joined #angularjs
[13:52:05] *** mcgloster has quit IRC
[13:53:09] <stoogenmeyer> i feel the same. i will have to check on my own, but do you think there is a chance that the file name simply never gets changed between deploys and therefore unless the cache is manually deleted, the file always gets loaded from the cache?
[13:53:14] *** moroshko has joined #angularjs
[13:53:29] *** dylanlin_ has joined #angularjs
[13:53:55] *** moroshko has joined #angularjs
[13:53:57] *** dylanlindgren has quit IRC
[13:54:47] *** holdman has joined #angularjs
[13:54:51] <stoogenmeyer> also, when speaking about an angularjs app, does the angularjs code only gets executed on the client side? meaning, if in my case i'm behind an nginx server, basically the nginx server sends the client all the code (meaning theres no angularjs code being executed on the server side?). I'm trying to understand who's at fault for the cache issue - angularjs or nginx
[13:54:52] *** holdman has quit IRC
[13:55:29] *** k-dawg has quit IRC
[13:56:10] *** one_zero has quit IRC
[13:56:40] *** restless_being has quit IRC
[13:56:50] *** restless_being has joined #angularjs
[13:57:03] *** visionary has joined #angularjs
[13:57:35] *** diskind has joined #angularjs
[13:57:39] *** yottanami has joined #angularjs
[13:58:11] *** diskind has quit IRC
[13:58:40] <yottanami> Where should I define configs of my directive ? is there any stage for directives ?
[14:00:44] *** tarnus has joined #angularjs
[14:00:47] *** whipkey has joined #angularjs
[14:01:32] *** visionary has quit IRC
[14:02:00] *** henn1nk has quit IRC
[14:02:02] *** whipkey has quit IRC
[14:02:54] *** elrabin has joined #angularjs
[14:03:23] *** henn1nk has joined #angularjs
[14:04:47] *** huner has joined #angularjs
[14:05:14] *** toastynerd has joined #angularjs
[14:05:25] *** jharbaugh has joined #angularjs
[14:06:03] *** jk-5|gone is now known as jk-5
[14:07:14] *** hugorodrigues has joined #angularjs
[14:07:35] *** tayag has joined #angularjs
[14:07:48] *** tayag has quit IRC
[14:08:20] *** ppppaul has joined #angularjs
[14:09:39] *** toastynerd has quit IRC
[14:09:56] *** jharbaugh has quit IRC
[14:10:04] *** Reskp has joined #angularjs
[14:10:23] *** pehowic has joined #angularjs
[14:11:10] *** jpstone has quit IRC
[14:11:49] *** hugorodrigues has quit IRC
[14:12:05] *** roobik has quit IRC
[14:13:11] *** RyanHirsch has quit IRC
[14:13:35] *** deibler has joined #angularjs
[14:13:47] *** deibler has quit IRC
[14:14:10] *** Reskp has quit IRC
[14:14:55] *** drej has quit IRC
[14:14:59] *** zwacky has joined #angularjs
[14:15:33] *** jk-5 is now known as jk-5|gone
[14:16:23] *** horodyski has joined #angularjs
[14:17:07] *** horodyski has quit IRC
[14:18:17] *** henn1nk has quit IRC
[14:18:23] *** dutis has quit IRC
[14:18:51] *** jharbaugh has joined #angularjs
[14:19:59] *** trevillio has joined #angularjs
[14:20:06] *** metavige_ has joined #angularjs
[14:20:11] *** trevillio has quit IRC
[14:22:05] *** dve has joined #angularjs
[14:22:47] *** walkley has joined #angularjs
[14:23:26] *** DrMabuse has quit IRC
[14:25:59] *** dziadek has joined #angularjs
[14:26:37] *** howzus has joined #angularjs
[14:27:38] *** Jdubs has joined #angularjs
[14:28:08] *** InezK_away is now known as InezK
[14:28:10] *** jk-5|gone is now known as jk-5
[14:28:32] <Foxandxss> stoogenmeyer: only client
[14:28:39] <Foxandxss> nginx will only server the assets
[14:28:47] *** tews has joined #angularjs
[14:30:15] <stoogenmeyer> so if i have a problem with a js file being always loaded from cache, then most likely i have to check for the settings of nginx? if angularjs doesnt serve anything, does it have anything to do with the browser caching js files?
[14:30:23] *** yottanami has left #angularjs
[14:31:35] *** graniela has joined #angularjs
[14:31:55] *** Jdubs has quit IRC
[14:31:59] *** ReactiveIO has joined #angularjs
[14:32:06] *** graniela has quit IRC
[14:34:35] *** tgkokk has joined #angularjs
[14:34:37] <Sijdesign> hey guys, i try to remove a item from my ng-repeat but it does not work, i have tried item.splice(0, 1);
[14:34:47] *** crathers has joined #angularjs
[14:34:48] <Sijdesign> where item is the number of the item i pressed "delete" on
[14:34:48] *** crathers has quit IRC
[14:34:54] *** elrabin has quit IRC
[14:34:57] *** instence_ has joined #angularjs
[14:35:01] *** vadikace has quit IRC
[14:35:14] <Sijdesign> got this error [Error] Error: 'undefined' is not a function (evaluating 'e.splice(0,1)'
[14:36:08] *** phuh has joined #angularjs
[14:36:20] *** ReactiveIO has quit IRC
[14:36:31] *** zbzzn has quit IRC
[14:36:41] *** Notte has joined #angularjs
[14:36:55] *** phuh has quit IRC
[14:37:10] *** instence has quit IRC
[14:37:39] *** ckboii89 has joined #angularjs
[14:37:41] *** InezK is now known as InezK_away
[14:39:30] *** mehlah has joined #angularjs
[14:39:33] *** lordkryss_ has joined #angularjs
[14:40:23] *** alvidrez has joined #angularjs
[14:41:49] *** partikus has joined #angularjs
[14:42:18] *** ckboii89 has quit IRC
[14:42:26] *** partikus has left #angularjs
[14:42:35] *** lordkryss has quit IRC
[14:43:20] <metavige_> if item is type of array, you can use splice, if not, maybe error will happen
[14:43:35] *** triglia has joined #angularjs
[14:43:39] <reduce> hrm, i think angular does promote clean good code
[14:43:39] *** triglia has quit IRC
[14:44:06] <reduce> but when it comes to applying css styling, it kind of isnt so nice anymore
[14:44:32] <reduce> note: i cant use directives as tag names as i want decent ie support
[14:44:48] <Sijdesign> how can i see if its a array? right now i just got 1 id out when i press my delete btn
[14:44:54] <reduce> if i could, that would probably solve my beef
[14:45:34] *** pbody has joined #angularjs
[14:45:51] <metavige_> item = [1,2,3], means item is array. item = '123' means item is string. item = 123, means item is number
[14:46:23] *** loredo has joined #angularjs
[14:46:44] <metavige_> Sijdesign: what is your item?
[14:46:49] *** Ethix has joined #angularjs
[14:46:50] <reduce> Sijdesign: you can pass the whole item to your delete function
[14:46:50] *** loredo has quit IRC
[14:47:07] <Sijdesign> when i do a console.log(item); i just got 1 number
[14:47:11] <reduce> then search the array of items for that item to get its index
[14:47:29] <reduce> then do items.splice ...
[14:48:04] <reduce> Sijdesign: what does your ng-repeat expression look like?
[14:49:09] <reduce> hrm, if you filter the list, does $index return the index relative to the unfiltered array, or filtered array?
[14:49:35] *** seaholm has joined #angularjs
[14:49:36] <Sijdesign> hm im not sure, im pretty new to angularjs :/
[14:50:16] *** seaholm has quit IRC
[14:50:31] *** zbzzn has joined #angularjs
[14:50:32] *** Notte has quit IRC
[14:52:13] *** dve has quit IRC
[14:52:16] *** jharbaugh has quit IRC
[14:52:51] *** jharbaugh has joined #angularjs
[14:53:11] *** bonagurio has joined #angularjs
[14:53:35] *** roobik has joined #angularjs
[14:53:46] *** RyanHirsch has joined #angularjs
[14:53:50] <reduce> i suspect the $index value is reltive to the filtered list, so that may not delete the item he expects metavige_
[14:53:51] *** bonagurio has quit IRC
[14:54:07] *** DrMabuse has joined #angularjs
[14:54:39] <reduce> "When you delete an array element, the array length is not affected. This holds even if you delete the last element of the array."
[14:54:52] <reduce> i doubt he wants that either
[14:56:42] <reduce> so if it were me, (and note ive been doing angular / js dev for a whole couple of weeks!), id adjust metavige_ first example, changing the fucntion to take the item, then finding the index position in items for the item, then doing the splice
[14:56:47] *** spinola has joined #angularjs
[14:57:20] <Sijdesign> god damn [Error] Error: Can't find variable: items
[14:57:25] *** jharbaugh has quit IRC
[14:57:33] <reduce> scope.items
[14:58:13] <reduce> or $scope.items
[14:58:34] *** DrMabuse has quit IRC
[14:59:35] *** schwerd has joined #angularjs
[14:59:51] *** schwerd has quit IRC
[15:00:06] *** moroshko has quit IRC
[15:01:38] *** partikus has joined #angularjs
[15:01:40] *** partikus has left #angularjs
[15:02:00] *** Aartsie has joined #angularjs
[15:03:05] *** xastey has joined #angularjs
[15:04:09] *** XoRoN has quit IRC
[15:04:15] *** TorchDragon has joined #angularjs
[15:04:40] <fire_> ng-selected="language.id===translationLanguage"
[15:04:58] <fire_> if I compare ng-selected="language.id===translationLanguage" - will it fail if one is an int and one is a string?>
[15:05:02] <fire_> ng-selected="language.id==translationLanguage"
[15:05:10] <metavige_> fire_: yes
[15:05:35] *** beirise has joined #angularjs
[15:05:41] <metavige_> === will compare type and value, == only compare value
[15:06:00] *** toastynerd has joined #angularjs
[15:06:07] <fire_> so if I use == will it fail if one is int and one si string?
[15:06:29] *** JesseEichar_ has quit IRC
[15:06:41] *** JesseEichar_ has joined #angularjs
[15:06:43] <reduce> metavige_: now filter the results so only the final row shows
[15:07:10] <metavige_> fire_: it will be false, fail? If you mean exception, it will not
[15:07:32] <reduce> metavige_: output the value of $index, which i suspect will be 0, when the item refers to index 2 in the array
[15:07:46] <fire_> im having probs initializing my select
[15:07:50] *** Asiajey has quit IRC
[15:07:56] <fire_> my translationLanguage = "5"
[15:08:06] <fire_> but the select wont init to it
[15:08:37] *** TorchDragon has quit IRC
[15:09:17] <reduce> metavige_: note when you enter a string to filter by, the value in $index no longer matches the items index in the source array
[15:10:10] <metavige_> OK, I remove filter, that's my bad...
[15:10:33] *** Reskp has joined #angularjs
[15:10:36] *** toastynerd has quit IRC
[15:11:11] *** wernick has joined #angularjs
[15:11:15] *** foofoobar has quit IRC
[15:12:06] *** L8TR has quit IRC
[15:12:40] *** jtimon has joined #angularjs
[15:13:34] <fire_> my select box seams to be working but the first option has ? object:null ?
[15:13:59] *** galvani has joined #angularjs
[15:14:18] <metavige_> I think it will be better!
[15:15:06] <metavige_> fire_: maybe you can show your code
[15:15:17] <metavige_> fire_: it will better.
[15:15:32] <metavige_> but don't paster code at irc
[15:15:33] *** Reskp has quit IRC
[15:15:38] *** matiasow has joined #angularjs
[15:15:39] *** jk-5 is now known as jk-5|gone
[15:15:44] <metavige_> but don't paste code at irc
[15:15:57] *** Vinnyceptr has joined #angularjs
[15:16:47] *** motamedi has joined #angularjs
[15:17:08] *** jk-5|gone is now known as jk-5
[15:19:35] *** stady has joined #angularjs
[15:19:44] *** stady has quit IRC
[15:19:53] *** AciD` has quit IRC
[15:20:43] *** hz251 has joined #angularjs
[15:21:30] *** gauravsaini03 has joined #angularjs
[15:22:01] *** roobik has quit IRC
[15:22:21] *** RyanHirsch has quit IRC
[15:22:23] *** larey has joined #angularjs
[15:22:51] *** larey has quit IRC
[15:23:06] *** bayousoft has joined #angularjs
[15:24:00] *** Thorn__ has joined #angularjs
[15:25:32] *** Thorn has quit IRC
[15:25:35] *** nethken has joined #angularjs
[15:25:58] *** vadikace has joined #angularjs
[15:26:19] *** nethken has quit IRC
[15:26:52] *** hz251 has quit IRC
[15:27:22] *** billli has joined #angularjs
[15:27:34] *** dazs has quit IRC
[15:28:10] *** roymiloh has joined #angularjs
[15:28:36] *** tgkokk` has joined #angularjs
[15:28:53] *** InezK_away is now known as InezK
[15:29:11] *** odem has joined #angularjs
[15:29:34] *** tgkokk has quit IRC
[15:29:36] *** tgkokk` has joined #angularjs
[15:29:43] *** chad_ has joined #angularjs
[15:31:58] *** chad_ has quit IRC
[15:31:59] *** delao has joined #angularjs
[15:32:01] *** AciD` has joined #angularjs
[15:32:09] *** delao has quit IRC
[15:33:08] *** roobik has joined #angularjs
[15:33:12] *** RyanHirsch has joined #angularjs
[15:34:47] *** lame has joined #angularjs
[15:34:53] *** billli has quit IRC
[15:35:20] *** theshane has joined #angularjs
[15:36:28] *** kernal has joined #angularjs
[15:36:29] *** klaut has quit IRC
[15:37:23] *** AciD` has quit IRC
[15:37:58] <kernal> hello, is it possible to access the new scope after calling $location.path ?
[15:38:24] *** ckboii89 has joined #angularjs
[15:38:42] *** InezK is now known as InezK_away
[15:40:23] *** shurman has joined #angularjs
[15:40:54] *** bayousoft has quit IRC
[15:42:07] *** elrabin has joined #angularjs
[15:42:44] *** ckboii89 has quit IRC
[15:43:11] *** colop has joined #angularjs
[15:43:27] *** hswolff has joined #angularjs
[15:43:47] *** bayousoft has joined #angularjs
[15:44:43] *** kingme has quit IRC
[15:45:59] *** tonks has joined #angularjs
[15:46:32] *** ppppaul has quit IRC
[15:49:08] *** dve has joined #angularjs
[15:49:11] *** wallau has joined #angularjs
[15:49:58] *** LoveAndHappiness has joined #angularjs
[15:51:31] *** AciD` has joined #angularjs
[15:51:59] *** musolf has joined #angularjs
[15:51:59] *** JesseEichar_ has quit IRC
[15:52:25] *** musolf has quit IRC
[15:52:42] *** desmond has joined #angularjs
[15:53:23] *** dylanlin_ has quit IRC
[15:55:03] *** DrMabuse has joined #angularjs
[15:55:03] *** mityaz has joined #angularjs
[15:55:08] <LoveAndHappiness> :)
[15:55:25] *** hugorodrigues has joined #angularjs
[15:56:20] *** fixl has quit IRC
[15:57:59] *** treister has joined #angularjs
[15:59:40] *** hugorodrigues has quit IRC
[15:59:42] *** DrMabuse has quit IRC
[15:59:42] *** LoveAndHappiness has quit IRC
[16:00:34] *** dylanlindgren has joined #angularjs
[16:00:47] *** skoff has joined #angularjs
[16:00:55] *** DrMabuse has joined #angularjs
[16:00:57] *** skoff has quit IRC
[16:01:10] *** HeN has joined #angularjs
[16:02:25] *** dylanlindgren has quit IRC
[16:02:30] *** elrabin has quit IRC
[16:03:26] *** alp82 has quit IRC
[16:03:35] *** atwater has joined #angularjs
[16:03:45] *** anjumkaiser has quit IRC
[16:03:45] *** atwater has quit IRC
[16:04:02] *** Rockfordal has quit IRC
[16:04:09] *** ppppaul has joined #angularjs
[16:04:18] *** FIFOd[a] has joined #angularjs
[16:04:22] *** mykz_ has joined #angularjs
[16:05:33] *** DrMabuse has quit IRC
[16:05:33] *** disorder20 has quit IRC
[16:06:03] *** disorder20 has joined #angularjs
[16:06:23] *** trimarchi has joined #angularjs
[16:06:45] *** toastynerd has joined #angularjs
[16:07:13] *** damoncasale has joined #angularjs
[16:08:58] *** scmx has joined #angularjs
[16:09:15] *** asdofindia has quit IRC
[16:09:35] *** polan has joined #angularjs
[16:09:52] *** mennea has quit IRC
[16:10:22] *** Reskp has joined #angularjs
[16:10:56] *** asdofindia has joined #angularjs
[16:11:06] *** toastynerd has quit IRC
[16:13:31] *** jstroem has joined #angularjs
[16:14:37] *** umib0zu has joined #angularjs
[16:14:41] *** mykz_ has quit IRC
[16:15:10] *** lordkryss_ has quit IRC
[16:15:11] *** printup has joined #angularjs
[16:16:01] *** howzus has quit IRC
[16:16:08] *** hnordt has joined #angularjs
[16:17:41] *** yoshokatana has joined #angularjs
[16:17:51] *** Sijdesign has quit IRC
[16:17:59] *** elter has joined #angularjs
[16:18:07] *** Shrooms` has joined #angularjs
[16:18:29] *** hnordt has left #angularjs
[16:18:43] *** anjumkaiser has joined #angularjs
[16:19:16] *** yoshokatana has quit IRC
[16:19:22] *** Sijdesign has joined #angularjs
[16:20:47] *** rhoad has joined #angularjs
[16:21:29] *** billli has joined #angularjs
[16:21:33] *** shinnya has joined #angularjs
[16:22:08] *** xavia has joined #angularjs
[16:23:32] *** t1mmen has joined #angularjs
[16:23:35] *** kiddle has joined #angularjs
[16:23:42] *** AciD`` has joined #angularjs
[16:24:01] *** Sijdesign has quit IRC
[16:24:03] *** sneakertack has joined #angularjs
[16:24:15] *** kiddle has quit IRC
[16:24:24] *** fedenunez has joined #angularjs
[16:25:48] *** delerium_ has quit IRC
[16:26:12] *** mettjus1 has joined #angularjs
[16:26:32] *** fedenunez1 has joined #angularjs
[16:27:11] *** pollnow has joined #angularjs
[16:27:18] *** mettjus has quit IRC
[16:27:19] *** pollnow has quit IRC
[16:27:31] *** fedenunez has quit IRC
[16:27:47] *** howzus has joined #angularjs
[16:28:17] *** lordkryss_ has joined #angularjs
[16:28:45] *** umib0zu has quit IRC
[16:29:38] *** InezK_away is now known as InezK
[16:30:42] *** foofoobar has joined #angularjs
[16:31:09] *** lucasefe has quit IRC
[16:32:24] <damoncasale> Morning folks...
[16:32:27] *** MacWinner has joined #angularjs
[16:32:32] *** xaxisx has joined #angularjs
[16:32:48] *** ronchetti has joined #angularjs
[16:33:05] <damoncasale> What's the Angular best practice for binding a click event to a DOM node where I want to be able to read the values of data- attributes from the DOM node that triggered the click event?
[16:33:49] <damoncasale> In jQuery, I could just use $(elm).bind("click", function(e) { var data = $(this).data(); });
[16:34:06] <damoncasale> How would I accomplish the same thing in Angular?
[16:34:06] *** the-erm has quit IRC
[16:34:12] *** tomzx`afk is now known as tomzx
[16:34:17] *** henn1nk has joined #angularjs
[16:34:41] *** stoogenmeyer has quit IRC
[16:34:50] <zbzzn> <element ng-click="clickHandler($event)">
[16:36:00] *** horton has joined #angularjs
[16:36:23] *** the-erm has joined #angularjs
[16:36:50] <Climax777> is there some best practice regarding using $rootScope vs a service/factory for storing data globally in a SPA?
[16:37:10] *** dob_ has joined #angularjs
[16:37:14] <zbzzn> $rootScope is a service
[16:37:37] <damoncasale> zbzzn: Does $event have a currentTarget member?
[16:37:43] <zbzzn> So your question is actually, do I want to save global data on my service or angular service
[16:38:07] <zbzzn> damoncasale, yeah, its similar to jQuery I think (I use with jQuery)
[16:38:10] *** anjumkaiser has quit IRC
[16:38:17] <damoncasale> Ok, thanks.
[16:38:45] <Climax777> good point thanks....
[16:38:48] *** fernades has joined #angularjs
[16:39:17] *** ckboii89 has joined #angularjs
[16:39:19] <Climax777> rootScope just automagically has inheritance
[16:39:19] *** InezK is now known as InezK_away
[16:40:45] *** jharbaugh has joined #angularjs
[16:41:21] *** FIFOd[a] has quit IRC
[16:41:36] *** breen has joined #angularjs
[16:42:12] *** szymek_ has joined #angularjs
[16:43:11] *** dob_ has quit IRC
[16:43:13] *** t_p has joined #angularjs
[16:43:32] *** ckboii89 has quit IRC
[16:43:48] *** BillCriswell has joined #angularjs
[16:43:53] *** dob_ has joined #angularjs
[16:44:58] *** recidive has joined #angularjs
[16:45:32] *** Nizumzen has joined #angularjs
[16:46:11] *** lordkryss_ has quit IRC
[16:46:37] *** MacWinner has quit IRC
[16:46:57] *** szymek_ has quit IRC
[16:47:12] *** aredondo has joined #angularjs
[16:47:27] *** henn1nk has quit IRC
[16:48:20] *** ericrav has joined #angularjs
[16:48:36] *** dob_ has quit IRC
[16:48:42] *** JosephSilber has joined #angularjs
[16:49:02] *** Tomdarkness has joined #angularjs
[16:50:00] *** longhofer has joined #angularjs
[16:50:10] *** morenoh149 has quit IRC
[16:50:13] *** longhofer has quit IRC
[16:51:04] *** hychen has joined #angularjs
[16:51:46] *** glook has joined #angularjs
[16:51:48] *** mnewton has joined #angularjs
[16:51:55] *** tomh- has quit IRC
[16:52:33] *** umib0zu has joined #angularjs
[16:52:42] *** ericrav has quit IRC
[16:53:29] *** dutis has joined #angularjs
[16:53:46] *** davlefou has joined #angularjs
[16:54:28] *** s3shs has joined #angularjs
[16:55:23] *** JosephSilber has quit IRC
[16:55:36] *** hedtke has joined #angularjs
[16:55:46] *** mac_ified has joined #angularjs
[16:56:00] *** hedtke has quit IRC
[16:56:53] *** theshane has quit IRC
[16:57:06] *** JosephSilber has joined #angularjs
[16:57:20] *** drej has joined #angularjs
[16:58:02] <glook> The previous line alerts the proper data, but the data is not assigned in line 41
[16:58:48] *** damario has joined #angularjs
[16:58:49] *** s3shs has quit IRC
[16:58:49] <Zerot> glook: you are using setTimeout
[16:58:49] *** damario has quit IRC
[16:59:02] <Zerot> use $timeout instead
[16:59:20] <glook> I'll update it to use $timeout instead, but do you think that will handle line 41?
[16:59:27] <Zerot> when you use setTimeout angular does not perform a digest so it has no idea something has changed
[16:59:34] *** FuCone has quit IRC
[17:00:15] <Zerot> glook: yes, after you start using $timeout it should work as expected
[17:00:28] *** partikus has joined #angularjs
[17:00:33] *** bayousoft has quit IRC
[17:00:45] *** okdamn has joined #angularjs
[17:00:49] <okdamn> hi
[17:00:53] <Zerot> lo
[17:01:00] <okdamn> yey
[17:01:04] *** partikus has left #angularjs
[17:01:25] <okdamn> hey anyone using ui-router?
[17:01:33] <Zerot> yes
[17:01:36] *** laviero has joined #angularjs
[17:01:39] *** DrMabuse has joined #angularjs
[17:01:40] *** laviero has quit IRC
[17:01:41] <Zerot> a lot of people I would assume ;)
[17:01:41] <okdamn> Zerot: hey :D
[17:01:54] <okdamn> i was wondering how can i get state name in view?
[17:02:09] *** danyim has joined #angularjs
[17:02:18] <Zerot> you would have to supply it to the view in the controller
[17:02:21] *** lite_ has quit IRC
[17:02:32] <Zerot> and you can get the current state from $state.current iirc
[17:02:42] *** avree has joined #angularjs
[17:03:18] *** subnl2 has joined #angularjs
[17:03:23] <okdamn> Zerot: ah great thanks , not better broadcasting it into rootScope ?
[17:03:25] *** jstroem has quit IRC
[17:03:32] <okdamn> so its everywhere available !?
[17:03:37] <Zerot> no
[17:03:50] <Zerot> you should (almost) never touch rootScope
[17:03:56] *** mnewton has quit IRC
[17:04:04] *** DrJae has joined #angularjs
[17:04:14] *** elrabin has joined #angularjs
[17:04:19] <Zerot> well, you can send events using rootScope, but this is not an event
[17:04:21] <Zerot> this is data
[17:04:24] *** scaggs has joined #angularjs
[17:04:35] *** scaggs has quit IRC
[17:04:58] *** ascarter has joined #angularjs
[17:05:24] *** Jae has quit IRC
[17:05:26] <Zerot> glook: open the dev tools console
[17:05:32] <okdamn> ok :)
[17:05:33] *** TorchDragon has joined #angularjs
[17:05:38] <Zerot> there should be an error about $timeout not being defined
[17:05:42] <Zerot> you didn't inject it
[17:06:01] *** DrMabuse has quit IRC
[17:06:33] *** dve has quit IRC
[17:06:52] <glook> Yes. Thank you!
[17:07:06] *** s3shs has joined #angularjs
[17:07:12] *** bertsche has joined #angularjs
[17:07:13] *** mglvl has joined #angularjs
[17:07:20] *** bertsche has quit IRC
[17:07:34] *** toastynerd has joined #angularjs
[17:07:59] *** henn1nk has joined #angularjs
[17:08:00] *** anjumkaiser has joined #angularjs
[17:08:44] *** elrabin has quit IRC
[17:09:03] *** FIFOd[a] has joined #angularjs
[17:10:00] *** edu has joined #angularjs
[17:10:02] *** BillCriswell has quit IRC
[17:10:02] *** ceephax has quit IRC
[17:10:04] *** TorchDragon has quit IRC
[17:10:07] *** edu has quit IRC
[17:10:11] *** delerium_ has joined #angularjs
[17:10:34] *** Aartsie has quit IRC
[17:10:42] *** avree has quit IRC
[17:11:06] *** Aartsie has joined #angularjs
[17:11:15] *** szymek_ has joined #angularjs
[17:11:33] *** greengriminal has quit IRC
[17:11:38] *** visionary has joined #angularjs
[17:11:40] *** delerium_ has quit IRC
[17:12:05] *** greengriminal has joined #angularjs
[17:12:16] <sal1191> anyone had an issue in ionic where their modal shows up transparent?
[17:12:35] *** toastynerd has quit IRC
[17:12:48] *** mishkin has joined #angularjs
[17:12:56] *** vadikace has quit IRC
[17:13:13] *** Nizumzen has quit IRC
[17:13:32] <greengriminal> When i run my application i seem to be getting back the string url and not the value of my variable.
[17:13:37] *** subnl2 has left #angularjs
[17:14:42] *** okdamn has quit IRC
[17:14:46] *** jerev is now known as jerev_away
[17:14:51] <Fistful_of_Coins> i'm getting an error with this code, i don't know how to use socket.io, can anyone see whats missing?
[17:15:12] *** anjumkaiser has quit IRC
[17:15:16] *** tgkokk` has quit IRC
[17:15:16] <Fistful_of_Coins> the backend is mojolicious, uses websockets
[17:15:23] *** Aartsie has quit IRC
[17:15:29] *** adamjcook has joined #angularjs
[17:15:36] *** krupka has joined #angularjs
[17:16:16] *** tgkokk has joined #angularjs
[17:16:44] *** bayousoft has joined #angularjs
[17:17:34] *** tgkokk has joined #angularjs
[17:17:52] *** tgkokk has quit IRC
[17:17:59] *** JasonStoltz has joined #angularjs
[17:18:24] *** suminski has joined #angularjs
[17:18:55] *** suminski has quit IRC
[17:20:58] *** noobee has joined #angularjs
[17:21:36] *** demarest has joined #angularjs
[17:21:51] *** JasonStoltz has quit IRC
[17:21:55] *** demarest has quit IRC
[17:21:56] *** glook has quit IRC
[17:22:17] *** tgkokk has joined #angularjs
[17:22:25] *** sean___ has joined #angularjs
[17:22:33] <sean___> Hey everyone
[17:22:54] <sal1191> howdy
[17:23:05] *** lite_ has joined #angularjs
[17:24:45] *** elrabin has joined #angularjs
[17:24:47] <sean___> Thinking about giving angularJS a try. Can it be used to just build static sites or is it used for applications only?
[17:24:48] *** vigen has joined #angularjs
[17:24:51] *** elrabin has quit IRC
[17:25:07] *** vigen has quit IRC
[17:25:57] *** CptChaos has quit IRC
[17:25:59] *** mennea has joined #angularjs
[17:26:03] *** dammian has joined #angularjs
[17:26:04] <sean___> Does AngularJS have to be used with a backend like NodeJS or can I use it without? I'm really confused. Anybody here kind enough to shed a little light? :P
[17:26:16] *** hugorodrigues has joined #angularjs
[17:26:42] *** sigurding has joined #angularjs
[17:26:50] *** L8TR has joined #angularjs
[17:26:58] *** blueadept has joined #angularjs
[17:28:00] *** mcconomy has joined #angularjs
[17:28:09] <Zerot> sean___: it is a frontend library
[17:28:09] *** mcconomy has quit IRC
[17:28:13] <Zerot> you don't need a backend to use it
[17:28:21] *** kalehv has joined #angularjs
[17:28:27] <dammian> hi. i have to make a simple e-learning site with some content divided in chapters. do you think I could making it with angularjs? maybe with static header and footer and calling the different chapters content (html text) with ng-include ?
[17:28:29] *** hannesvdvreken has joined #angularjs
[17:28:40] *** adamjcook has quit IRC
[17:28:44] *** tgkokk has quit IRC
[17:28:46] *** optikalmouse has joined #angularjs
[17:28:54] <dammian> or is it a nonsense ?
[17:29:14] *** tgkokk has joined #angularjs
[17:29:32] <Zerot> you can make it using angular, yes
[17:29:50] <dammian> Zerot but in the way I say, or in another way ?
[17:29:52] <Zerot> look at ngRoute(or ui-router)
[17:29:52] <sean___> Ok cool, so AngularJS is essentially a replacement for Jquery?
[17:30:01] <Zerot> sean___: no
[17:30:10] <Zerot> sean___: they both are 2 completely different things
[17:30:22] *** InezK_away is now known as InezK
[17:30:30] *** tgkokk has quit IRC
[17:30:33] <Zerot> (though you don't have to use jquery with angular for most of the things)
[17:30:37] *** jlevstein has joined #angularjs
[17:30:42] <sean___> thats what I mena
[17:30:44] <sean___> mean
[17:30:48] *** espinola has joined #angularjs
[17:31:00] *** Jdubs has joined #angularjs
[17:31:03] <sean___> I know angular is way more than jquery, but am I right in saying that I won't need to use jquery if I'm using Angular?
[17:31:05] <Zerot> dammian: I would use a routing middleware to do that. so take a look at ngRoute or ui-router
[17:31:18] <dammian> Zerot the question is if it's worth tu use angular for such a simple site like the one i say
[17:31:18] *** Delerium_ has joined #angularjs
[17:31:44] <Zerot> sean___: for most of the things, yes. but the workflow is completely different so don't think of it as a jquery replacement
[17:31:57] *** sigurding has quit IRC
[17:32:02] *** sigurding_ has joined #angularjs
[17:32:13] <Zerot> dammian: well, that is a completely different question. answer: is it needed? no. can it make it easier? maybe
[17:32:49] <sean___> for simple sites, say developing a workshop website with static information for an acting coach, would angularJS be overkill? I'd like to start using Angular and learn the workflow but I'm not sure if I should use it on the next project I have lined up
[17:33:17] <xastey> do you have a lot of data binding sean___ ?
[17:33:36] *** kloppenbu has joined #angularjs
[17:33:52] *** FIFOd[a] has quit IRC
[17:33:54] *** Voolbic has quit IRC
[17:34:00] <Zerot> tbh, in general, if you are making static websites, don't use angular. you will have problems with SEO and you don't have any dynamic data that needs binding
[17:34:01] *** kloppenbu has quit IRC
[17:34:11] *** szymek_ has quit IRC
[17:35:31] *** Jdubs has quit IRC
[17:36:02] <dammian> Zerot I'll look for it. I have the contents yet formatted in html (divided by chapters), all of them responsive with bootstrap. I have only to apply navigation between them and provide contact, evaluation tests, etc. Sincerely I don't know if it's worth to use angularjs fot that, but I'm learning angular and I thought maybe it's a good way to learn with a real example
[17:36:19] <dammian> for*
[17:36:48] *** willig has joined #angularjs
[17:37:07] <xastey> agree with Zerot
[17:37:15] *** jharbaugh has quit IRC
[17:37:29] *** willig has quit IRC
[17:37:47] *** jharbaugh has joined #angularjs
[17:38:17] <Zerot> dammian: you can use it for that, and you will learn a small bit, but you will miss out on a large(and most powerful) part of angular
[17:38:32] *** sneakertack has quit IRC
[17:38:40] *** Delerium_ has quit IRC
[17:39:25] *** s3shs has quit IRC
[17:39:37] *** Delerium_ has joined #angularjs
[17:39:45] *** holymac has joined #angularjs
[17:40:04] *** ckboii89 has joined #angularjs
[17:40:12] *** InezK is now known as InezK_away
[17:40:24] *** ullmann has joined #angularjs
[17:40:51] *** matiasow has quit IRC
[17:41:11] *** rmannibucau has joined #angularjs
[17:41:20] <rmannibucau> hi guys
[17:41:27] <rmannibucau> I'm trying to make angular + bootstrap carousel working
[17:41:28] *** ullmann has quit IRC
[17:41:34] *** henn1nk has quit IRC
[17:41:37] <rmannibucau> I downloaded angular ui carousel but get some weir errors
[17:42:08] *** anjumkaiser has joined #angularjs
[17:42:09] *** Ericx2x_ has joined #angularjs
[17:42:10] *** jharbaugh has quit IRC
[17:42:28] *** ericrav has joined #angularjs
[17:43:37] *** fedenunez1 has quit IRC
[17:44:10] *** lewdev has quit IRC
[17:44:20] *** ckboii89 has quit IRC
[17:44:24] *** dampf has joined #angularjs
[17:44:55] *** ishi has joined #angularjs
[17:44:56] *** dampf has quit IRC
[17:45:02] <ishi> hi there
[17:46:48] *** ericrav has quit IRC
[17:47:02] *** ascarter has quit IRC
[17:47:35] *** yoshokatana has joined #angularjs
[17:47:36] *** burriesci has joined #angularjs
[17:47:52] *** oste has joined #angularjs
[17:48:10] *** anjumkaiser has quit IRC
[17:48:16] <ishi> let's say I have a rest API, where one of the calls returns a list of authors
[17:48:16] *** burriesci has quit IRC
[17:48:28] <ishi> another call returns a list of books
[17:48:36] *** mven_ has quit IRC
[17:48:37] *** ericrav has joined #angularjs
[17:48:49] *** LuxuryMo_ has quit IRC
[17:48:52] *** dob_ has joined #angularjs
[17:48:53] <ishi> now, I also have calls to fetch details of a particular author or book
[17:49:26] <ishi> when I return a book information, I don't want to return all author(s) details --- just reference to them
[17:49:50] <dammian> Zerot looking for ngrout and services for views, the first thing I find is this one: "you don't need these services in small or simple applications" xD
[17:50:13] <ishi> now, when I render this list, I'd like to put full name of the author...
[17:50:41] <ishi> how can I do this?
[17:50:51] *** Tomdarkness has quit IRC
[17:51:00] <Zerot> dammian: in this the "small and simple" is refering to one page applications without navigation
[17:51:06] <ishi> when I iterate through the list of books, the model is already populated...
[17:51:12] *** davney has joined #angularjs
[17:51:44] <dammian> ok Zerot , then I'm going to try it
[17:51:45] *** davney has quit IRC
[17:51:57] *** uf6667 has quit IRC
[17:52:11] *** MTGap has joined #angularjs
[17:52:14] *** recidive has quit IRC
[17:52:16] *** uf6667 has joined #angularjs
[17:52:19] *** roymiloh has quit IRC
[17:53:03] *** ericrav has quit IRC
[17:53:23] <ishi> hmm? anyone? :)
[17:53:55] *** pbody has quit IRC
[17:54:11] *** cuong has joined #angularjs
[17:54:24] *** mender has joined #angularjs
[17:56:32] *** klaut has joined #angularjs
[17:56:42] *** hugomarisco has joined #angularjs
[17:57:35] *** xaxisx has quit IRC
[17:58:00] *** daken has joined #angularjs
[17:58:12] *** dariocravero has joined #angularjs
[17:58:24] *** DuelShark has joined #angularjs
[17:59:19] *** dammian has quit IRC
[17:59:26] *** _jpfm has quit IRC
[18:00:10] *** daken has quit IRC
[18:00:23] *** jtimon has quit IRC
[18:01:23] *** Tomdarkness has joined #angularjs
[18:01:39] *** feelfine has joined #angularjs
[18:01:54] *** AndroUser2 has joined #angularjs
[18:02:24] *** DrMabuse has joined #angularjs
[18:02:32] *** stodan has joined #angularjs
[18:02:48] *** rochlitz has joined #angularjs
[18:03:41] *** [n0b0dy] has quit IRC
[18:03:52] *** [n0b0dy] has joined #angularjs
[18:04:12] *** foofoobar has quit IRC
[18:04:31] *** hannesvdvreken has quit IRC
[18:04:40] *** jerev_away is now known as jerev
[18:05:36] *** raap has joined #angularjs
[18:06:03] *** Willow__ has joined #angularjs
[18:06:36] *** Willow__ has quit IRC
[18:06:44] *** drej has quit IRC
[18:06:57] *** sigurding_ has quit IRC
[18:07:00] *** DrMabuse has quit IRC
[18:07:04] *** Willow__ has joined #angularjs
[18:07:09] *** raap has quit IRC
[18:07:17] *** holymac has quit IRC
[18:07:48] *** drej has joined #angularjs
[18:08:18] *** glook has joined #angularjs
[18:08:19] *** toastynerd has joined #angularjs
[18:08:59] *** stodan has quit IRC
[18:09:03] *** greengriminal has quit IRC
[18:09:58] *** bmac has joined #angularjs
[18:10:00] *** tronaas has joined #angularjs
[18:10:05] *** greengriminal has joined #angularjs
[18:11:11] *** tronaas has quit IRC
[18:12:20] *** Sauvin has quit IRC
[18:12:45] *** toastynerd has quit IRC
[18:12:47] *** nemothekid has joined #angularjs
[18:12:57] *** dob_ has quit IRC
[18:14:00] *** raxter has joined #angularjs
[18:14:38] *** fdrechsler_ has quit IRC
[18:15:04] *** danyim has quit IRC
[18:15:42] *** danyim has joined #angularjs
[18:17:04] <Fistful_of_Coins> does socket.io work with non socket.io websockets?
[18:19:10] <Fistful_of_Coins> i keep getting : ReferenceError: io is not defined even though i include the socket.io.js
[18:19:15] <Fistful_of_Coins> in my html
[18:19:30] *** DrMabuse has joined #angularjs
[18:19:37] <Fistful_of_Coins> do i need to require/source it some otehr way?
[18:19:39] *** rhp has quit IRC
[18:19:41] *** HeN has quit IRC
[18:19:44] *** umib0zu has quit IRC
[18:19:54] *** umib0zu has joined #angularjs
[18:20:06] *** danyim has quit IRC
[18:20:54] *** drej_ has joined #angularjs
[18:20:58] *** drej has quit IRC
[18:21:02] *** mamarilmanson has quit IRC
[18:21:54] *** theshane has joined #angularjs
[18:22:37] *** fdrechsler has joined #angularjs
[18:26:23] *** bayousoft has quit IRC
[18:26:51] *** Ericx2x_ has quit IRC
[18:27:01] *** metavige_ has quit IRC
[18:27:32] *** metavige_ has joined #angularjs
[18:27:41] *** Fire-Dragon-DoL has joined #angularjs
[18:27:46] *** roymiloh has joined #angularjs
[18:28:39] *** lordkryss_ has joined #angularjs
[18:29:01] *** arabot has joined #angularjs
[18:29:07] *** uf6668 has joined #angularjs
[18:29:08] *** arabot has quit IRC
[18:29:17] *** kalehv has quit IRC
[18:29:33] *** DrMabuse has quit IRC
[18:30:05] *** uf6667 has quit IRC
[18:30:49] *** ccohn has joined #angularjs
[18:30:59] *** DrMabuse has joined #angularjs
[18:31:07] *** InezK_away is now known as InezK
[18:31:30] *** DuelShark has quit IRC
[18:32:15] *** metavige_ has quit IRC
[18:32:30] *** glook has left #angularjs
[18:33:05] <house> anyone ever get this error when sending a PUT to a RestEasy based API?
[18:33:10] *** visionary has quit IRC
[18:33:20] <house> com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of model.SupportMessage out of START_ARRAY token at [Source: io.undertow.servlet.spec.ServletInputStreamImpl@6e467fbb; line: 1, column: 1]
[18:34:06] *** DrMabuse_ has joined #angularjs
[18:34:10] *** ninsei_z has joined #angularjs
[18:34:28] *** ninsei has quit IRC
[18:34:44] <house> its an array of 1
[18:34:57] <house> can seem to make $resource send an object
[18:35:08] *** DrMabuse has quit IRC
[18:35:14] <house> in the PUT part of the factory
[18:35:31] *** anjumkaiser has joined #angularjs
[18:36:08] *** Gambit- has joined #angularjs
[18:37:01] *** roymiloh has quit IRC
[18:37:01] *** pbody has joined #angularjs
[18:37:40] *** bphogan_afk is now known as bphogan
[18:37:44] *** ericrav has joined #angularjs
[18:38:26] *** jharbaugh has joined #angularjs
[18:38:30] *** DuelShark has joined #angularjs
[18:39:18] *** Emperor_Earth has quit IRC
[18:40:09] <Fistful_of_Coins> help: my socket.io keeps complaining about undefined connect
[18:40:09] *** edzez_ has quit IRC
[18:40:44] *** edzez_ has joined #angularjs
[18:40:45] *** lucasefe has joined #angularjs
[18:40:53] *** ckboii89 has joined #angularjs
[18:40:59] *** InezK is now known as InezK_away
[18:42:14] *** HeN has joined #angularjs
[18:42:57] *** jharbaugh has quit IRC
[18:43:00] *** instence has joined #angularjs
[18:43:15] *** logik-bomb has joined #angularjs
[18:44:08] *** XoRoN has joined #angularjs
[18:44:11] *** instence_ has quit IRC
[18:44:14] *** AndroUser2 has quit IRC
[18:44:27] *** AndroUser2 has joined #angularjs
[18:44:49] *** umib0zu has quit IRC
[18:45:17] *** ckboii89 has quit IRC
[18:47:17] *** Hackwar has quit IRC
[18:49:02] *** s3shs has joined #angularjs
[18:49:59] *** umib0zu has joined #angularjs
[18:50:28] *** dammian has joined #angularjs
[18:51:00] *** XoRoN has quit IRC
[18:51:37] *** Hackwar has joined #angularjs
[18:53:05] *** dylukes has joined #angularjs
[18:53:44] *** XoRoN has joined #angularjs
[18:54:37] *** hannesvdvreken has joined #angularjs
[18:55:39] *** lite_ has quit IRC
[18:56:11] *** ingshtrom has quit IRC
[18:57:58] *** Nizumzen has joined #angularjs
[18:58:07] *** XoRoN has quit IRC
[18:58:09] <Fistful_of_Coins> socket.io seems to be sending GET to my backend in mojolicious for socket.io/
[18:58:14] *** wolfman2000 has joined #angularjs
[18:58:23] <Fistful_of_Coins> very often, it looks like every few 1/10 of a second
[18:59:02] *** henn1nk has joined #angularjs
[18:59:10] *** bmac has quit IRC
[18:59:12] *** bbankes has joined #angularjs
[18:59:43] *** visionary has joined #angularjs
[19:00:40] *** dylukes has quit IRC
[19:01:04] *** Murphy has quit IRC
[19:01:31] *** jrahmy has joined #angularjs
[19:03:08] *** santamaria has joined #angularjs
[19:03:30] *** dylukes has joined #angularjs
[19:03:53] *** visionary has quit IRC
[19:03:54] *** house has quit IRC
[19:05:10] *** bphogan is now known as bphogan_afk
[19:06:17] *** lucasefe has quit IRC
[19:06:56] *** bmac has joined #angularjs
[19:07:27] *** TorchDragon has joined #angularjs
[19:07:40] *** DrMabuse_ has quit IRC
[19:08:40] *** hannesvd_ has joined #angularjs
[19:08:48] *** hannesvdvreken has quit IRC
[19:09:04] *** toastynerd has joined #angularjs
[19:09:21] *** roymiloh has joined #angularjs
[19:09:36] *** sutabi has quit IRC
[19:11:00] *** house has joined #angularjs
[19:11:15] *** jrahmy has quit IRC
[19:11:24] *** ppppaul has quit IRC
[19:11:41] *** TorchDragon has quit IRC
[19:12:11] *** DrJae has quit IRC
[19:12:44] *** Cache_Money has joined #angularjs
[19:12:46] *** rahim has joined #angularjs
[19:13:37] *** toastynerd has quit IRC
[19:13:37] *** hannesvd_ has quit IRC
[19:14:28] *** sutabi has joined #angularjs
[19:16:15] *** XoRoN has joined #angularjs
[19:16:49] *** michaelm has joined #angularjs
[19:16:51] *** juampy has joined #angularjs
[19:16:58] *** hannesvdvreken has joined #angularjs
[19:17:00] *** thedodd has joined #angularjs
[19:18:49] *** jstroem has joined #angularjs
[19:19:08] *** LuxuryMo_ has joined #angularjs
[19:20:54] *** codestorm has quit IRC
[19:21:35] *** hannesvdvreken has quit IRC
[19:21:52] *** santamaria has quit IRC
[19:22:39] *** santamaria has joined #angularjs
[19:24:29] *** abc has joined #angularjs
[19:24:34] *** ngoyal has joined #angularjs
[19:24:36] *** raibutera has joined #angularjs
[19:27:14] *** rho has joined #angularjs
[19:27:26] *** tgkokk has joined #angularjs
[19:27:55] <damoncasale> Okay, another question. I want to have a "responsive" display scroller which iterates over a collection of data using ng-repeat. Is it possible to dynamically add items to the collection via AJAX?
[19:27:58] *** Expi1 has joined #angularjs
[19:28:22] <damoncasale> Right now my controller has a resolve in it which calls a service that has a promise.
[19:28:59] <damoncasale> I'm guessing that resolve ONLY gets called once. Is it possible to trigger the resolve to get called again, but with a different set of offset/limit parameters?
[19:30:39] *** jlevstein has quit IRC
[19:31:44] *** rahim has quit IRC
[19:31:51] *** InezK_away is now known as InezK
[19:32:28] *** Jdubs has joined #angularjs
[19:32:38] *** thedodd has quit IRC
[19:33:20] *** nerdfiles has joined #angularjs
[19:33:36] *** lucasefe has joined #angularjs
[19:33:58] *** hugomarisco has quit IRC
[19:35:55] *** jharbaugh has joined #angularjs
[19:36:03] *** Tidwell has joined #angularjs
[19:36:28] *** lucasefe has quit IRC
[19:36:41] *** Jdubs has quit IRC
[19:37:26] *** jae has joined #angularjs
[19:37:48] *** santamaria has quit IRC
[19:38:24] *** mettjus1 has quit IRC
[19:38:25] *** DrMabuse has joined #angularjs
[19:38:59] *** dariocravero has quit IRC
[19:39:44] *** billli has quit IRC
[19:39:54] *** XoRoN has quit IRC
[19:41:22] *** AndroUser2 has quit IRC
[19:41:36] *** ckboii89 has joined #angularjs
[19:42:11] *** hannesvdvreken has joined #angularjs
[19:42:32] *** InezK is now known as InezK_away
[19:42:53] *** DrMabuse has quit IRC
[19:43:43] *** bphogan_afk is now known as bphogan
[19:44:13] *** kalehv has joined #angularjs
[19:44:45] *** tgkokk has quit IRC
[19:45:07] *** tgkokk has joined #angularjs
[19:45:38] *** umib0zu has quit IRC
[19:46:07] *** tgkokk has joined #angularjs
[19:46:11] *** ckboii89 has quit IRC
[19:46:22] *** tgkokk has quit IRC
[19:46:58] *** hannesvdvreken has quit IRC
[19:47:03] *** tgkokk has joined #angularjs
[19:47:17] *** rud has left #angularjs
[19:47:19] *** michaelm has quit IRC
[19:47:24] *** InezK_away is now known as InezK
[19:47:36] <house> anyone around?
[19:48:20] <damoncasale> Useful!!
[19:48:21] <house> How can I make $resource send json object (rather than an array) on a PUT
[19:48:35] <damoncasale> Sorry, too new at Angular. :(
[19:49:03] <house> i had high hopes for isArray:false, but it didnt seem to help
[19:49:10] *** LuxuryM__ has joined #angularjs
[19:49:56] *** LuxuryMo_ has quit IRC
[19:50:40] *** dylukes has quit IRC
[19:51:53] *** Tidwell has quit IRC
[19:51:58] *** jrahmy has joined #angularjs
[19:53:09] *** rburns has joined #angularjs
[19:53:13] *** santamaria has joined #angularjs
[19:53:25] *** XoRoN has joined #angularjs
[19:53:38] *** foofoobar has joined #angularjs
[19:53:44] *** XoRoN has quit IRC
[19:54:15] <house> i wish this:
[19:54:16] <house> update: { method: 'PUT', isArray:false, params: {supportMessageId: '@supportMessageId'} },
[19:54:26] <house> would create payload:
[19:54:38] <house> {"supportMessageId":51,"fullname":"test 25","email":"test","reason":"test","message":"test","createdOn":1405877678000}
[19:54:41] <house> instead of
[19:54:46] <house> [{"supportMessageId":51,"fullname":"test 25","email":"test","reason":"test","message":"test","createdOn":1405877678000}]
[19:55:08] <house> (ie. send an object instead of an array)
[19:55:11] *** upsell5 has joined #angularjs
[19:56:06] <house> any know how to make that happen? i cant seem to sort it out.
[19:56:20] <house> and i dont want to change the api to expect an array in this case.
[19:56:45] *** santamaria has quit IRC
[19:56:53] *** marr has quit IRC
[19:57:16] *** billli has joined #angularjs
[19:57:41] *** Cache_Money has quit IRC
[19:58:50] *** danyim has joined #angularjs
[20:01:20] *** hannesvdvreken has joined #angularjs
[20:01:52] *** lucasefe has joined #angularjs
[20:02:01] *** mettjus has joined #angularjs
[20:02:37] *** ankushnarula has joined #angularjs
[20:03:07] *** danyim has quit IRC
[20:03:20] *** leonbienek has joined #angularjs
[20:03:30] <leonbienek> Hi all
[20:04:06] <s3shs> house, you can use $http to do the post.
[20:04:10] *** ckboii89 has joined #angularjs
[20:04:28] *** elrabin has joined #angularjs
[20:04:45] <s3shs> It sounds like $resource is working for other objects of yours, but not this. You should look carefully at the difference.
[20:04:57] <s3shs> leonbienek, hu
[20:05:04] <house> it is working for POST
[20:05:17] <house> DELETE
[20:05:27] <house> well.. POST is the only relevent one
[20:05:35] <house> POST passes an object
[20:05:38] <house> PUT passes an array
[20:06:36] *** dreb has joined #angularjs
[20:06:59] *** DrMabuse has joined #angularjs
[20:07:05] <house> i guess i need to figure out how to use $http
[20:07:24] *** faviouz has joined #angularjs
[20:07:28] <house> im fairly new to angular.. and ive been using $resource (which is easier in some ways,but apparently, less configurable)
[20:07:35] *** Thorn__ is now known as Thorn
[20:07:36] *** lucasefe has quit IRC
[20:08:02] <house> can i use $http just for my PUT? and keep using $resource for everything else?
[20:08:25] *** XoRoN has joined #angularjs
[20:08:31] *** shinnya has quit IRC
[20:08:41] *** elrabin has quit IRC
[20:08:55] <leonbienek> Anyone able to help me with an application structure question or two?
[20:09:13] <s3shs> We can try. Best to just ask.
[20:09:42] <s3shs> house, I always do post with $http.
[20:09:50] <s3shs> I don't know about puts.
[20:09:52] *** toastynerd has joined #angularjs
[20:10:00] <house> do you use post even for updates?
[20:10:15] <house> in REST i was reading that PUT was the right verb for updates
[20:10:15] *** bphogan is now known as bphogan_afk
[20:10:29] <house> and POST was good for create
[20:11:01] <house> the thing thats confusing me with $http is this whole promises thing
[20:11:11] <house> i dont get it. and $resource hides that from me.
[20:11:13] <house> heh.
[20:11:21] <house> i guess i need to go figure out promises
[20:11:23] <leonbienek> I'm trying to create a week-view calendar. Which I was able to create and get working ok. The thing was that i got it working all using a sinlge controller, which soon became huge. And it also didn't change urls or anything
[20:12:02] <s3shs> leonbienek, yeah.
[20:12:03] <leonbienek> I decided to split it into multiple controllers, that each handled a specific task (and the urls) of the schedule.
[20:12:13] *** toastynerd has quit IRC
[20:12:18] <house> anybody know a good reference for working with $http
[20:12:44] *** toastynerd has joined #angularjs
[20:12:48] <leonbienek> Some core data doesn't change across these requests, such as the appointments for the week
[20:13:05] <leonbienek> how is it best to persis this data? storing on rootScope?
[20:13:21] <s3shs> leonbienek, no don't do that.
[20:13:34] <s3shs> leonbienek, So the typical design pattern in Angular when you need shared data is to use a service.
[20:13:59] <s3shs> leonbienek, a "Service" is simply a JS object. And you inject it in to whatever controller you need the same way you inject $scope.
[20:14:15] <s3shs> leonbienek, a "Service" is a singleton. Meaning there is only one of them in the lifetime of your app.
[20:14:43] <leonbienek> Ok, that makes sense
[20:14:50] <house> checking link
[20:14:55] <s3shs> leonbienek, you can bind to data in a service simply by assigning the service object to your scope as in: $scope.myService = $MyService. Then from your dom <tag ng-bind="myService.someValue">...
[20:15:31] <leonbienek> Oh that is handy! i didn't know that!
[20:15:34] <s3shs> They're pretty simple. Your first will take you 15 minutes. Your second 5. Then you'll set up your editor to make them at a keystroke. :-)
[20:15:35] *** abc has quit IRC
[20:16:11] <s3shs> leonbienek, because a service is just a JS object, you can put functions in there too for loadng/saving/whatever.
[20:16:19] <s3shs> Have fun.
[20:16:25] *** DrMabuse has quit IRC
[20:17:04] *** Nizumzen has quit IRC
[20:17:23] *** toastynerd has quit IRC
[20:17:27] *** XoRoN has quit IRC
[20:17:58] *** goodbomb has joined #angularjs
[20:18:05] *** mindlace has joined #angularjs
[20:18:26] *** toastynerd has joined #angularjs
[20:18:44] *** nerdfiles has quit IRC
[20:18:59] *** nerdfiles has joined #angularjs
[20:19:14] *** cacts|works has joined #angularjs
[20:20:07] *** jr3 has quit IRC
[20:20:07] *** goodbomb has quit IRC
[20:21:18] *** jrahmy has quit IRC
[20:21:23] *** faviouz has quit IRC
[20:21:59] *** cacts|works has quit IRC
[20:22:26] *** XoRoN has joined #angularjs
[20:23:40] *** Sijdesign has joined #angularjs
[20:24:15] *** JimTheDev has joined #angularjs
[20:24:15] *** JimTheDev has joined #angularjs
[20:24:47] *** t_p has quit IRC
[20:25:13] *** ankushnarula has quit IRC
[20:25:18] *** XoRoN has quit IRC
[20:25:29] *** [n0b0dy] has quit IRC
[20:25:39] *** [n0b0dy] has joined #angularjs
[20:25:41] *** XoRoN has joined #angularjs
[20:26:44] *** ngoyal has quit IRC
[20:27:20] *** ngoyal has joined #angularjs
[20:27:20] *** nerdfiles has quit IRC
[20:27:24] *** michaelm has joined #angularjs
[20:27:37] *** nerdfiles has joined #angularjs
[20:28:29] *** nerdfiles has quit IRC
[20:29:11] *** ankushnarula has joined #angularjs
[20:29:25] *** jr3 has joined #angularjs
[20:29:50] *** Sijdesign has quit IRC
[20:29:57] *** jpstone has joined #angularjs
[20:30:04] *** ankushnarula has quit IRC
[20:30:06] *** cacts|works has joined #angularjs
[20:30:59] *** gauravsaini03 has quit IRC
[20:31:18] *** recidive has joined #angularjs
[20:31:34] *** ngoyal has quit IRC
[20:31:42] *** foofoobar has quit IRC
[20:32:35] *** nerdfiles has joined #angularjs
[20:32:58] *** mindlace has quit IRC
[20:33:39] *** RandyT_ has joined #angularjs
[20:34:08] *** nerdfiles has quit IRC
[20:34:17] *** RandyT has quit IRC
[20:34:18] *** RandyT_ is now known as RandyT
[20:34:58] *** [n0b0dy] has quit IRC
[20:35:00] *** kalehv has quit IRC
[20:35:11] *** [n0b0dy] has joined #angularjs
[20:36:07] *** ededagic has quit IRC
[20:36:58] *** marr has joined #angularjs
[20:37:23] <ckboii89> does anyone know how to modify the checkboxes of ng-grid css?
[20:37:25] *** upsell5 has quit IRC
[20:37:38] *** nerdfiles has joined #angularjs
[20:38:00] *** rmannibucau has left #angularjs
[20:38:57] *** JesseEichar_ has joined #angularjs
[20:39:17] *** tgkokk has quit IRC
[20:39:59] *** InezK is now known as InezK_away
[20:40:05] *** subnl2 has joined #angularjs
[20:40:07] *** InezK_away is now known as InezK
[20:40:15] *** cacts|works has quit IRC
[20:40:41] *** MacWinner has joined #angularjs
[20:40:54] *** kalehv has joined #angularjs
[20:41:00] *** tgkokk has joined #angularjs
[20:41:28] *** Xteven is now known as Steven_
[20:41:39] *** desmond has quit IRC
[20:41:59] *** rho has quit IRC
[20:42:15] *** subnl2 has left #angularjs
[20:42:31] *** ericduran has quit IRC
[20:42:35] *** adamjcook has joined #angularjs
[20:43:28] *** desmond has joined #angularjs
[20:43:30] <desmond> Hello
[20:44:22] *** dreb has quit IRC
[20:45:04] *** MacWinner has quit IRC
[20:45:04] *** encrypt3d_fracti has joined #angularjs
[20:46:54] <leonbienek> s3shs I have moved my appointment fetching into a service. Am i right in thinking that I have to return a promise?
[20:46:56] *** ededagic has joined #angularjs
[20:48:04] *** mindlace has joined #angularjs
[20:48:50] <s3shs> leonbienek, I don't understand. A promise from what?
[20:49:05] <s3shs> A service is just an object that holds data and functionality that you add to the scope.
[20:49:49] <leonbienek> but if in my controller i do: $scope.entries = ScheduleEntryService.getEntries()
[20:49:57] *** InezK is now known as InezK_away
[20:50:13] <s3shs> Oh, I see.
[20:50:17] <s3shs> It's easier than that...
[20:50:20] <leonbienek> where ScheduleEntryService.getEntries() has a $http call in it
[20:50:50] <s3shs> I would do this: ScheduleEntryService.getEntries($http) and pass in the $http object from the controller.
[20:51:02] *** mindlace has quit IRC
[20:51:11] *** Kallb123 has joined #angularjs
[20:51:16] <s3shs> Keep it all in the device. Think of a service as a self-contained object.
[20:52:11] <s3shs> Better yet, you can inject $http right in to your service. (I'm trying to start you slow.
[20:52:12] <s3shs> )
[20:52:34] <jr3> s3shs: so services should contain most logic?
[20:52:45] <jr3> leave the controllers light?
[20:52:51] <s3shs> jr3, for most uses, yes.
[20:53:04] <s3shs> For my own app I don't generally share data between controllers so I don't use many services.
[20:54:05] *** Tidwell has joined #angularjs
[20:54:31] *** RandomStranger- has joined #angularjs
[20:54:41] *** RandomStranger has quit IRC
[20:54:45] *** ericrav has quit IRC
[20:54:51] <s3shs> jr3, imho, the best part of services is that they're singletons. So you don't end up fetching data from the server every time your controller function runs.
[20:54:58] *** goodbomb has joined #angularjs
[20:55:08] <leonbienek> s3shs Ah i see. I think that was my issue
[20:55:08] *** orion1111 has joined #angularjs
[20:55:21] *** ericrav has joined #angularjs
[20:55:47] *** DrMabuse has joined #angularjs
[20:55:48] <s3shs> leonbienek, it's kind of magical. Just keep the model/data updated in the service and the bindings, et al. will just reference them directly.
[20:55:59] *** ccohn has quit IRC
[20:56:35] *** ccohn has joined #angularjs
[20:57:16] *** thedodd has joined #angularjs
[20:57:52] *** plex0r has joined #angularjs
[20:57:54] *** save has joined #angularjs
[20:57:57] *** pbody has quit IRC
[20:58:05] <jr3> s3hs, I see, so if there's any data that needs to be in two controllers mise well reuse it?
[20:58:22] <jr3> avoid more api calls
[20:58:33] <leonbienek> s3shs It just seems that If i do the $http call in the service, the scope is never updated
[20:58:43] *** nerdfiles has quit IRC
[20:59:00] *** nerdfiles has joined #angularjs
[20:59:16] *** save has quit IRC
[20:59:27] *** ericrav has quit IRC
[20:59:36] *** save has joined #angularjs
[21:00:06] *** save has quit IRC
[21:00:26] <s3shs> If you've previously assigned your service (the object itself) to the $scope, it should work.
[21:00:40] *** bmac has quit IRC
[21:00:46] <s3shs> Put a "debugger" statement at the top of your controller, and watch the values there.
[21:01:00] *** ccohn has quit IRC
[21:01:06] *** save has joined #angularjs
[21:01:09] <s3shs> Look at $scope.MyService.values and see if they're what you think they are.
[21:01:29] *** ededagic_ has joined #angularjs
[21:01:55] *** Reskp has quit IRC
[21:02:21] *** ededagic has quit IRC
[21:03:19] <leonbienek> this is my controller
[21:05:23] *** ericrav has joined #angularjs
[21:05:35] <s3shs> Just assign the service itself, not getState.
[21:05:53] <s3shs> $scope.state = ScheduleStateService; Literally that.
[21:06:09] <leonbienek> ok, that makes sense
[21:06:16] *** jstroem has quit IRC
[21:06:23] *** rburns has quit IRC
[21:06:26] <leonbienek> any idea what to do to the forWeek method?
[21:06:30] *** asad_ has joined #angularjs
[21:06:43] <asad_> folks, hi!
[21:07:07] <asad_> i'm great at html+css, somewhat experienced with bootstrap and can code php too
[21:07:21] <asad_> how hard would it be for me to start developing angular apps?
[21:07:22] <s3shs> leonbienek, you have '$scope.data.entries'. I would store entries right inside the ScheduleEntryService. Then $scope.entries = ScheduleEntryService.
[21:07:36] *** nerdfiles has quit IRC
[21:07:49] *** jstroem has joined #angularjs
[21:08:00] *** asad_ has quit IRC
[21:08:00] *** orion1111 has quit IRC
[21:08:04] <s3shs> You could then make some function in your service like fetchWeek that you would call from the $scope with $scope.entries.fetchWeek(whatever)
[21:08:28] <s3shs> Also, $http can be injected right in to your ScheduleEntryService service.
[21:08:33] <s3shs> No need to pass it. :-)
[21:08:48] *** TorchDragon has joined #angularjs
[21:09:05] <leonbienek> Yeah, sorry i misread your enrlier comment, it was injected originally
[21:09:23] <s3shs> Sorry, I was confusing because I was trying to keep it simple. Either way.
[21:11:27] *** fire_ has quit IRC
[21:12:39] <leonbienek> Should I have a return statement in the .success callback?
[21:13:08] *** TorchDragon has quit IRC
[21:14:29] *** Jdubs has joined #angularjs
[21:15:53] *** XoRoN has quit IRC
[21:15:55] *** bweston has joined #angularjs
[21:16:26] *** Climax777 has quit IRC
[21:17:19] *** hdop has joined #angularjs
[21:19:47] *** cmoneylulz has joined #angularjs
[21:19:47] *** disorder20 has quit IRC
[21:20:06] <dammian> var myApp = angular.module("newModule", []); <--- does anyone know why angularjs stops working when I introduce the dependency "ngRoute" there?
[21:20:41] <dammian> var myApp = angular.module("newModule", []); <-- in this way angularjs works
[21:20:51] *** disorder20 has joined #angularjs
[21:21:11] <dammian> var myApp = angular.module("newModule", ["ngRoute"]); <-- but when I introduce "ngRoute" it stops working
[21:21:16] <dammian> why ???
[21:22:41] <hdop> Good evening. Anyone here having experiences with nested objects? I need some kind of recursive object, but it is really hard to handle with angular and the scopes. Is there a way to go around the nesting with using references or sth like relations?
[21:22:50] *** ccohn has joined #angularjs
[21:25:22] *** danyim has joined #angularjs
[21:25:40] *** elrabin has joined #angularjs
[21:26:15] *** visionary has joined #angularjs
[21:27:00] *** hdop has quit IRC
[21:27:01] *** kalehv has quit IRC
[21:27:39] *** save has quit IRC
[21:29:15] *** JimTheDev has quit IRC
[21:29:51] *** hannesvdvreken has quit IRC
[21:30:00] *** elrabin has quit IRC
[21:30:03] *** tgkokk has quit IRC
[21:30:28] *** visionary has quit IRC
[21:30:51] *** tomzx is now known as tomzx`afk
[21:31:55] <dammian> [$injector:nomod] Module 'ngRoute' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument. <-- this is the error in the console
[21:31:58] *** leonbienek has quit IRC
[21:32:36] <dammian> var myApp = angular.module("newModule", ["ngRoute"]); <--- what did I bad ??
[21:34:03] *** theshane has quit IRC
[21:34:50] <bealtine> load angular-route.js
[21:35:00] *** cmoneylulz has quit IRC
[21:35:29] *** nemothekid has quit IRC
[21:36:03] *** nemothekid has joined #angularjs
[21:36:25] *** Silne30 has joined #angularjs
[21:37:50] *** Johnny13371337 has joined #angularjs
[21:38:07] *** Reskp has joined #angularjs
[21:38:11] *** Johnny13371337 has left #angularjs
[21:38:59] *** encrypt3d_fracti has joined #angularjs
[21:39:18] <dammian> it's loaded. it was in angularjs folder. I have located it out of that folder and now it seems work
[21:39:20] <dammian> thanks
[21:39:21] *** billli has quit IRC
[21:40:05] *** recidive has quit IRC
[21:41:43] *** upsell5 has joined #angularjs
[21:41:58] *** desmond has quit IRC
[21:42:05] *** hdop has joined #angularjs
[21:42:42] <dammian> but I have the same problem with "ngResource". when I introduce this parameter all stop, although "angular-resource.js" is loaded
[21:43:05] *** nemothekid has quit IRC
[21:43:21] *** bmac has joined #angularjs
[21:43:55] *** Tidwell has quit IRC
[21:44:31] *** flocca has quit IRC
[21:45:36] *** mindlace has joined #angularjs
[21:47:16] *** upsell5 has quit IRC
[21:48:32] *** caitp has joined #angularjs
[21:49:09] *** Notte has joined #angularjs
[21:49:15] *** Ansikt has joined #angularjs
[21:49:21] <bealtine> have awild guess as to what the problem is
[21:50:32] <Ansikt> I'm bored and my girlfriend is gone for the night. Anyone have any angular projects which they wouldn't mind getting a few pull requests for?
[21:53:16] *** Notte has quit IRC
[21:53:59] *** caitp has quit IRC
[21:54:27] *** hdop has quit IRC
[21:55:12] *** mindlace has quit IRC
[21:55:59] *** hdop has joined #angularjs
[21:57:08] *** Nek has quit IRC
[21:57:37] *** htowngangsta has joined #angularjs
[21:59:57] *** brodul has joined #angularjs
[22:00:35] *** MANCHUCK has joined #angularjs
[22:00:38] *** charuru has joined #angularjs
[22:01:21] *** Asiajey has joined #angularjs
[22:01:37] *** adamjcook has quit IRC
[22:02:06] *** error404_ is now known as error404
[22:02:33] *** adamjcook has joined #angularjs
[22:02:38] *** JasonStoltz has joined #angularjs
[22:02:41] *** DuelShark has quit IRC
[22:03:02] *** platz has joined #angularjs
[22:04:23] *** DrMabuse_ has joined #angularjs
[22:04:57] <dammian> well Ansikt do you know why I have a syntaxError (unexpected token) in this line ?? :
[22:05:01] <dammian> .config(function ($routeProvider, $locationProvider) {
[22:06:11] *** billli has joined #angularjs
[22:06:54] *** blueadept has quit IRC
[22:07:05] *** feelfine has quit IRC
[22:08:04] *** L8TR has quit IRC
[22:08:11] *** DrMabuse has quit IRC
[22:08:44] *** Shrooms` has quit IRC
[22:08:54] *** L8TR has joined #angularjs
[22:10:49] *** elux has joined #angularjs
[22:11:16] *** feelfine has joined #angularjs
[22:11:30] *** juampy has quit IRC
[22:11:52] *** Notte has joined #angularjs
[22:13:51] *** dve has joined #angularjs
[22:14:22] *** ccohn has quit IRC
[22:14:56] *** ccohn has joined #angularjs
[22:14:56] *** the-erm has quit IRC
[22:15:26] *** adamjcook has quit IRC
[22:16:35] *** hdop has quit IRC
[22:16:40] *** scmx has quit IRC
[22:16:45] *** Reskp has quit IRC
[22:16:52] *** the-erm has joined #angularjs
[22:17:25] *** Geekabilly has joined #angularjs
[22:17:30] *** ccohn_ has joined #angularjs
[22:17:34] *** dreb has joined #angularjs
[22:17:38] *** t1mmen has quit IRC
[22:18:26] *** ccohn has quit IRC
[22:18:31] *** Reskp has joined #angularjs
[22:19:20] *** kalehv has joined #angularjs
[22:20:15] *** caitp has joined #angularjs
[22:20:20] *** mglvl has quit IRC
[22:20:33] *** JesseEichar_ has quit IRC
[22:20:51] *** Geekabilly has quit IRC
[22:21:05] *** bkuberek has joined #angularjs
[22:22:51] *** billli has quit IRC
[22:23:08] *** cswelin has quit IRC
[22:23:39] *** goodbomb has quit IRC
[22:24:02] *** cswelin has joined #angularjs
[22:25:40] *** gjvc has joined #angularjs
[22:26:19] *** dve has quit IRC
[22:27:04] *** rho has joined #angularjs
[22:27:05] *** danyim has quit IRC
[22:27:22] *** dve_ has joined #angularjs
[22:27:41] *** Expi1 has quit IRC
[22:27:56] *** ngoyal has joined #angularjs
[22:28:42] *** Limix has joined #angularjs
[22:28:44] *** mettjus has quit IRC
[22:28:46] *** hdop has joined #angularjs
[22:29:23] <sal1191> so directives can have their own controllers
[22:29:27] *** umib0zu has joined #angularjs
[22:29:33] <sal1191> and theyre injectable
[22:30:11] *** nono has joined #angularjs
[22:30:23] <sal1191> if you define an isolated scope for the directive and dont use a controller can you do anything with it?
[22:30:39] *** nono has quit IRC
[22:30:49] <sal1191> this might not be a good question so excuse me
[22:30:53] <Ansikt> dammian, what's the line before it?
[22:31:08] *** jcabrea0001 has joined #angularjs
[22:31:20] <hdop> Anyone who can help me? How to transform deeply nested objects with unknown depth into flat objects with predefined depth?
[22:32:18] <sal1191> hdop: what is a sample input and expected output of the function youre describing?
[22:32:20] *** dutis has quit IRC
[22:32:22] *** ngoyal has quit IRC
[22:32:45] *** D-Boy has quit IRC
[22:32:50] <hdop> not a function, its more a general question on my model design
[22:33:11] *** danyim has joined #angularjs
[22:33:24] <hdop> I need to have a hierarchy of parent and child nodes (a tree)
[22:33:54] <sal1191> what sort of database are you using to store it
[22:34:01] <hdop> but its not very likely to use in angulars scopes as I get into recursion hell
[22:34:13] <sal1191> i see
[22:34:14] *** tomzx`afk is now known as tomzx
[22:34:32] <dammian> Ansikt the line before that is: var rutaApp = angular.module("rutaApp", ["ngRoute"])
[22:34:57] <hdop> so I'm looking for a smarter solution to handle a tree as a data structure with predefined depth. is there any?
[22:35:28] <sal1191> it sounds like something that could be written
[22:35:39] <sal1191> as for an example im not so sure
[22:36:20] *** JasonStoltz has quit IRC
[22:37:42] *** danyim has quit IRC
[22:38:42] *** flocca has joined #angularjs
[22:39:08] *** mettjus has joined #angularjs
[22:39:20] <Cixis> if you wanted to flatten a tree, i'd think you could use a hash table with the keys being the names of the nodes ... sort of like ...
[22:39:48] <Cixis> if you had a really simple tree like a->b->c->d
[22:40:25] <hdop> Cixis: but what about dynamic changes?
[22:40:36] <Cixis> then you hash could be a = a, ab=a->b, abc = a>->b->c
[22:40:44] *** XoRoN has joined #angularjs
[22:41:24] <Cixis> if your hash table values are pointing to the tree value, then you update your tree
[22:41:54] *** Notte has quit IRC
[22:42:42] <Aliks> are you guys aware of any good "intermediate-advanced" angular resources?
[22:42:45] *** Soly has joined #angularjs
[22:42:46] <Aliks> not just beginner info?
[22:43:12] *** flocca has quit IRC
[22:43:54] *** recidive has joined #angularjs
[22:45:05] *** Reskp has quit IRC
[22:45:45] *** Gambit- has quit IRC
[22:46:00] *** howzus has quit IRC
[22:47:48] *** D-Boy has joined #angularjs
[22:48:13] *** kalehv_ has joined #angularjs
[22:48:38] *** TheAceOfHearts has joined #angularjs
[22:48:47] *** Reskp_ has joined #angularjs
[22:48:51] *** recidive has quit IRC
[22:49:06] <Kallb123> Hi guys, if I'm ng-repeat'ing on an array, can I do "arr = arr.concat(arr2)" or could that mess up the binding?
[22:49:28] *** MuffinMan` has joined #angularjs
[22:49:54] *** plysiu has joined #angularjs
[22:49:57] *** Reskp_ has joined #angularjs
[22:51:41] *** kalehv has quit IRC
[22:51:55] *** nerdfiles has joined #angularjs
[22:53:17] *** JimTheDev has joined #angularjs
[22:53:27] *** _jpfm has joined #angularjs
[22:54:16] *** mtsr has quit IRC
[22:54:33] *** Reskp_ has quit IRC
[22:54:53] *** ericrav has quit IRC
[22:54:56] *** watsonkp has quit IRC
[22:55:27] *** ericrav has joined #angularjs
[22:58:07] *** nemothekid has joined #angularjs
[22:58:13] *** thedodd has quit IRC
[22:58:57] *** L8TR has quit IRC
[22:59:19] *** ericrav_ has joined #angularjs
[22:59:48] *** ericrav has quit IRC
[22:59:49] *** Gambit- has joined #angularjs
[22:59:57] *** bweston has quit IRC
[23:00:03] *** hdop has quit IRC
[23:00:32] *** foofoobar_ has quit IRC
[23:01:31] *** plex0r has quit IRC
[23:01:53] *** Mouzi has quit IRC
[23:02:59] *** rho has quit IRC
[23:03:02] *** oste has quit IRC
[23:03:43] *** ededagic_ has quit IRC
[23:06:08] *** disorder20 has quit IRC
[23:07:39] *** XoRoN has quit IRC
[23:09:30] *** Reskp has joined #angularjs
[23:09:43] *** icarus75 has quit IRC
[23:09:54] *** roymiloh has quit IRC
[23:10:51] *** mennea has quit IRC
[23:10:57] *** Reskp_ has joined #angularjs
[23:12:02] *** kalusn has joined #angularjs
[23:13:49] *** Reskp has quit IRC
[23:14:12] *** tangorri has quit IRC
[23:17:13] *** prikk has quit IRC
[23:17:36] *** adamjcook has joined #angularjs
[23:18:10] *** wilmoore has joined #angularjs
[23:20:24] *** bphogan_afk is now known as bphogan
[23:20:26] *** upsell5 has joined #angularjs
[23:23:13] *** disorder20 has joined #angularjs
[23:23:55] *** rhp has joined #angularjs
[23:29:57] *** zanea|away is now known as zanea
[23:31:43] <snurfery> sup yall
[23:32:03] *** Jon30 has quit IRC
[23:32:22] *** Jon30 has joined #angularjs
[23:32:22] *** Jon30 has joined #angularjs
[23:32:48] *** feelfine has quit IRC
[23:34:51] *** Gerben has joined #angularjs
[23:34:53] *** Soly has quit IRC
[23:35:13] *** lord2800 has quit IRC
[23:35:32] *** Gerben has quit IRC
[23:35:37] *** FuCone has joined #angularjs
[23:35:55] *** feelfine has joined #angularjs
[23:36:09] *** btyne has quit IRC
[23:36:34] *** dve_ has quit IRC
[23:38:22] *** phuh has joined #angularjs
[23:38:37] *** Nizumzen has joined #angularjs
[23:39:24] *** mettjus has quit IRC
[23:39:52] *** mettjus has joined #angularjs
[23:39:53] *** phuh has quit IRC
[23:40:41] *** josh_k has joined #angularjs
[23:41:06] <josh_k> Anyeone have advice for handling responses from a $resource that contain safe HTML?
[23:41:38] <josh_k> at the time of the response I can't set $scope.safeHtml to be response.htmlfield
[23:41:44] <josh_k> because the response hasn't returned yet
[23:41:51] *** sutabi has quit IRC
[23:42:45] <josh_k> oh, but I can use <div class="body" ng-bind-html="response.htmlfield">
[23:42:50] <josh_k> that works
[23:43:25] *** lucasefe has joined #angularjs
[23:44:20] *** arek_deepinit has joined #angularjs
[23:45:07] *** lucasefe has quit IRC
[23:46:35] *** plex0r has joined #angularjs
[23:47:39] *** ascarter has joined #angularjs
[23:47:49] *** raibutera has quit IRC
[23:48:23] *** uf6668 has quit IRC
[23:50:23] *** platz has quit IRC
[23:51:07] *** oa_ has joined #angularjs
[23:51:18] *** encrypt3d_fracti has quit IRC
[23:51:25] *** Dwarf has quit IRC
[23:52:22] *** snapwich has joined #angularjs
[23:52:49] *** jcabrea0001 has quit IRC
[23:53:32] *** squeakytoy2 has quit IRC
[23:53:38] *** hugorodrigues has quit IRC
[23:54:04] *** snapwich has quit IRC
[23:54:06] *** tomo__ has quit IRC
[23:54:11] *** tschundeee has joined #angularjs
[23:54:29] *** encrypt3d_fracti has joined #angularjs
[23:55:00] *** Dwarf has joined #angularjs
[23:56:22] *** chrisbirk has joined #angularjs
[23:56:37] *** btyne has joined #angularjs
[23:57:04] *** chrisbirk has quit IRC
[23:58:44] *** snapwich has joined #angularjs
[23:58:51] *** chrisbirk has joined #angularjs
[23:58:57] *** encrypt3d_fracti has quit IRC