Switch to DuckDuckGo Search
   December 27, 2014  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | >

Toggle Join/Part | bottom
[00:00:30] *** bradmaxs has quit IRC
[00:01:15] *** optikalmouse has joined #angularjs
[00:02:14] *** Caner has quit IRC
[00:02:38] *** PeterMetz has quit IRC
[00:03:07] *** nuizzy has quit IRC
[00:03:34] *** tinaj1234_ has quit IRC
[00:04:34] *** jumpstracks has joined #angularjs
[00:04:54] <ytsejam> Foxandxss, why did you change from rails to laravel ?
[00:05:08] *** recurrence has joined #angularjs
[00:05:42] <Foxandxss> rails is a memory hog
[00:06:05] <wafflej0ck__> yay
[00:06:21] <wafflej0ck__> I'm not really a laravel user but glad to have someone else in the chat using PHP
[00:06:25] <wafflej0ck__> don't have to take all the grief :)
[00:06:32] *** mary5030 has joined #angularjs
[00:06:42] <Foxandxss> we hate you anyway :P
[00:06:48] <wafflej0ck__> haha I know
[00:06:48] <ytsejam> I am good at laravel, and trying to learn rails
[00:06:54] *** pehlert has joined #angularjs
[00:06:58] <Foxandxss> ytsejam: how so?
[00:08:00] *** mary5030 has quit IRC
[00:08:18] *** scythe__ has joined #angularjs
[00:08:58] *** joroc has joined #angularjs
[00:09:04] *** mary5030_ has joined #angularjs
[00:09:04] *** nocturne777 has joined #angularjs
[00:09:05] *** wolfman2000 has joined #angularjs
[00:09:28] <wafflej0ck__> Foxandxss, you used Sails at all yet? it looks pretty easy to get into and seems pretty compelling for any cases where you want near real time data (not that I have a huge need for this but thinking I'll toy with it to integrate some simple chat stuff)
[00:10:20] <ytsejam> while trying to learn rails, I realized laravel 3;then prepared a blog in laravel 4 but now I am getting deep into programming now and I want to fix this blog "http://www.sirtcantalilar.com"
[00:10:23] *** UniBot has quit IRC
[00:10:26] *** lozandier has quit IRC
[00:10:44] *** recurrence has quit IRC
[00:11:16] *** pehlert has quit IRC
[00:11:32] <ytsejam> Rails was nice , but I could not figure how to use it in production by that time because of cheap hosting companies
[00:11:45] *** aven1 has quit IRC
[00:11:59] *** UniBot has joined #angularjs
[00:12:04] *** annlewis has quit IRC
[00:12:38] <fotoflo> Hmm, im using vertical pills from here
[00:12:39] <fotoflo> ;http://angular-ui.github.io/bootstrap/
[00:12:58] <fotoflo> how do i set one to active based on $stateParams?
[00:12:59] *** UniBot has quit IRC
[00:13:12] *** elrabin has joined #angularjs
[00:13:35] *** mary5030_ has quit IRC
[00:13:51] <wafflej0ck__> fotoflo, see ui-sref-active https://github.com/angular-ui/ui-router/wiki/Quick-Reference#ui-sref-active
[00:14:01] *** pfaal has quit IRC
[00:14:10] <Foxandxss> back
[00:14:13] <Foxandxss> wafflej0ck__: not really
[00:14:21] <fotoflo> wafflej0ck__: interesting
[00:14:42] <Foxandxss> ytsejam: rails is probably a better framework, more mature
[00:14:51] <Foxandxss> but damn, 200mb for a simple web is too much
[00:14:56] <Foxandxss> I am really liking laravel
[00:15:02] *** UniBot has joined #angularjs
[00:15:27] *** Zaza has joined #angularjs
[00:15:31] <ytsejam> synthax and idea is similar if you think of relationships
[00:15:32] *** markbroadhead has joined #angularjs
[00:15:45] *** lozandier has joined #angularjs
[00:15:50] <Foxandxss> all the frameworks from today are the same
[00:15:53] <Foxandxss> different languages
[00:15:55] <Foxandxss> but all the same
[00:16:34] <fotoflo> wafflej0ck__: seems to work, EXCEPT, its leaving the default inactive pill active also
[00:16:43] <fotoflo> sorry, the default active pill
[00:16:53] <wafflej0ck__> yeah pretty much got your routing config, got your ORM config and then some runtime component or compilation
[00:17:03] <wafflej0ck__> fotoflo, don't set a class="active" on anything
[00:17:35] *** markbroadhead has left #angularjs
[00:17:45] <fotoflo> didn't
[00:17:55] <fotoflo> pills seems to do that by itself
[00:18:42] <wafflej0ck__> fotoflo, not sure typically for the navbar stuff I've just used the base bootstrap css and just copied it's behavior myself without using the ui.bootstrap library for that stuff
[00:19:22] *** WebDevOfDoom has joined #angularjs
[00:19:49] <wafflej0ck__> fotoflo, I use ui.bootstrap but just for things like the accordion when I want a simple image slider (otherwise use jQuery royalty code RoyalSlider for more complex ones) and the accordion and modals and a few other parts but not the navigation pills that I just do with ng-class or ui-sref-active or whatever is needed
[00:20:41] <WebDevOfDoom> can anyone tell me why when I use $rootScope.$emit() once, I might get two calls at $rootScope.$on() ??
[00:20:47] <fotoflo> thx
[00:21:00] *** tschundeee has quit IRC
[00:21:33] *** tschundeee has joined #angularjs
[00:21:51] <WebDevOfDoom> I’m so confused.
[00:22:09] *** xdissent has joined #angularjs
[00:22:19] <wafflej0ck__> WebDevOfDoom, multiverse
[00:22:35] <wafflej0ck__> perhaps the $rootScope contains the $rootScope in the 4th dimension
[00:22:41] <WebDevOfDoom> fuuuuuk
[00:22:48] <wafflej0ck__> hehe yeah no idea
[00:22:49] <WebDevOfDoom> curse you cosmic radiatin!
[00:22:53] <WebDevOfDoom> *radiation
[00:23:09] <WebDevOfDoom> I’ve been trying to debug this for like 7 hours
[00:23:12] <WebDevOfDoom> and i’m completely stuck
[00:23:24] <wafflej0ck__> yeah debugging events sucks
[00:23:25] <WebDevOfDoom> maybe I need to change my nick...
[00:24:00] <WebDevOfDoom> can you tell me where you’d start? I’ve been using batarang but that isn’t showing me enough information. I’m really new to this and am probably missing really basic tools I should be using
[00:24:51] *** DrMabuse has joined #angularjs
[00:26:01] *** tschundeee has quit IRC
[00:26:02] <wafflej0ck__> WebDevOfDoom, you could try out ng-inspector it might be helpful
[00:26:26] <wafflej0ck__> WebDevOfDoom, you can also try adding extra info to the event to be sure you're hitting the on due to the same emit you think is triggering it
[00:26:47] <WebDevOfDoom> I did. I’m 100% positive $emit is run once but $on is triggered 2x
[00:27:08] <wafflej0ck__> did you pass info in the event from the emit to the on?
[00:27:10] <WebDevOfDoom> i’m triggering it with a button too :(
[00:27:19] <WebDevOfDoom> yes.
[00:27:26] *** bmac has joined #angularjs
[00:27:48] *** leolrrj has joined #angularjs
[00:27:59] <WebDevOfDoom> er, not sure what you mean by info in the event, just a string.
[00:28:05] <WebDevOfDoom> to identify the type of event
[00:29:17] <wafflej0ck__> no you can have an event object itself that gets passed to the listener function you register with $on
[00:29:22] <wafflej0ck__> it has a targetScope property
[00:29:44] *** DrMabuse has quit IRC
[00:29:54] <wafflej0ck__> WebDevOfDoom, https://docs.angularjs.org/api/ng/type/$rootScope.Scope#$on
[00:30:09] *** seriema has joined #angularjs
[00:30:40] <wafflej0ck__> $scope.$on("eventName", function(event){console.log(event)}); // check if the targetScope is the same
[00:31:44] <WebDevOfDoom> Here’s the code in question:$rootScope.$on('toaster-newToast', function () { addToast(toaster.toast); });
[00:31:45] *** Jim_ has joined #angularjs
[00:32:08] <Jim_> hello
[00:32:10] <wafflej0ck__> mm toast
[00:32:34] <wafflej0ck__> I use growl typically for that and someone else's service and directive
[00:32:45] <wafflej0ck__> but yeah pass in the event and log it out
[00:32:57] <WebDevOfDoom> its a 3rd party library, i’m debugging. its an angular implementation of toaster
[00:33:01] *** robdubya has quit IRC
[00:33:09] <WebDevOfDoom> its working 80% of the time in my application
[00:33:12] <Foxandxss> there are a lot
[00:33:12] <Foxandxss> pss
[00:33:20] <WebDevOfDoom> yeah i imagine there are
[00:33:20] <Foxandxss> Im happy with mine
[00:33:21] <Foxandxss> :P
[00:34:04] *** nfroidure has quit IRC
[00:34:09] <WebDevOfDoom> hmmm
[00:34:23] *** sahbeewah has quit IRC
[00:34:24] <WebDevOfDoom> i’m not one to give up or i’d just switch to growl ;)
[00:34:28] *** SargoDarya has joined #angularjs
[00:34:29] *** seriema has quit IRC
[00:34:34] *** bryanzera has joined #angularjs
[00:34:53] <wafflej0ck__> WebDevOfDoom, yeah not sure what else to tell ya, use debugger; in your JS for breakpoints if you're really stuck share your code in a plunkr and we can hack at it
[00:35:14] <Foxandxss> WebDevOfDoom: give me the link of the lib, to check it out :P
[00:35:15] <WebDevOfDoom> if i get more stuck i will. The code is actually all up on github
[00:35:30] <WebDevOfDoom> i don’t know if it’d work fine in plunkr, needs a separate node instance for backend
[00:36:09] <WebDevOfDoom> here’s a link to the bug https://github.com/jirikavi/AngularJS-Toaster/issues/73
[00:36:12] *** KushS has quit IRC
[00:36:18] *** tschundeee has joined #angularjs
[00:36:19] <WebDevOfDoom> and to the git link https://github.com/jirikavi/AngularJS-Toaster
[00:36:30] <soee> when working with fomrs (create, edit record) is it better to define some route and add controller to it than use its functions in template ot better for each action (create, edit) define separate directive that will load form template and has own controller ?
[00:37:05] <Foxandxss> I see
[00:37:09] <Foxandxss> uses the same original as mine
[00:37:29] *** JesseH has joined #angularjs
[00:37:30] *** jonathanpglick has joined #angularjs
[00:37:32] *** fotoflo has quit IRC
[00:37:32] *** nemothekid has joined #angularjs
[00:38:55] <wafflej0ck__> soee, up to you really but actually the docs say to use the controller in directives for exposing an API for other directives to interact with it and for the rest of the functionality to be specified in the link function (not a hard rule I don't think but keeps things clean)
[00:38:57] *** aven1 has joined #angularjs
[00:39:05] <WebDevOfDoom> wow, I’ve never paid attention to the sources tab in the chrome dev tools. I had no idea there was a call stack and a step through etc tools. wow
[00:39:18] <Jim_> would anyone have insight into why a $q.defer() would be showing g {promise: d, resolve: function, reject: function, notify: function, $$resolve: function…} even after using .resolve('test')?
[00:39:52] <wafflej0ck__> soee, directives I see as things I can just drop in, like a selectable list, or a weather widget, or a panel with a title and some icon and a body text area, so more general UI stuff, app/business specific stuff I have in regular controllers, my 2 cents
[00:39:52] *** jamto11 has joined #angularjs
[00:40:09] <wafflej0ck__> WebDevOfDoom, ah yeah it's pretty good in Chrome
[00:40:12] <soee> wafflej0ck__: and do you know what most devs prefere? id like to use practice that easily can be than used bye otrhers, make they work easier
[00:40:16] <wafflej0ck__> WebDevOfDoom, IE is still garbage IMO
[00:40:51] <wafflej0ck__> soee, I've seen some people (very angrily) make the argument for everything being done in directives but I don't believe it's the norm, from projects I've been on and seen no one does that
[00:41:28] *** foofoobar has quit IRC
[00:41:32] *** joroc has quit IRC
[00:41:46] <soee> wafflej0ck__: ok, thank you very much for your help
[00:41:56] <wafflej0ck__> soee, np
[00:42:10] *** xxMatiasFCxx has joined #angularjs
[00:42:12] *** fotoflo has joined #angularjs
[00:42:14] <WebDevOfDoom> wafflejock__: since when has IE ever been more than garbage?
[00:42:16] <bryanzera> I have a pretty remedial question: I'm using ngRoute and mapping routes to views and controllers. If I don't use controllers in any of my routes, it works fine. If I map a controller to a route AND define that controller in the same file as the ngRoute config, it works fine. When I break the controller out into it's own file it stops working with no errors.
[00:42:42] <wafflej0ck__> soee, really to clarify too you want your controllers small and your logic really mostly in services/factories
[00:42:47] *** Aliks has joined #angularjs
[00:42:52] <WebDevOfDoom> bryanzera: are you registering the controller with the module and is the javascript file included?
[00:42:52] <moogey> Jim_ plunker?
[00:43:44] <wafflej0ck__> WebDevOfDoom, eh I was just reminded when I used ievms for getting a bunch of virtual machines setup to test old versions of IE someone complained to me a component I made doesn't work in IE9 (makes sense I don't test with IE) but had to investigate and it made me sad :(
[00:44:07] <bryanzera> @WebDevOfDoom: The JS file is included for sure. When you say "registering the controller with the module", do you mean including it as a dependency?
[00:44:10] <soee> wafflej0ck__: yeas thats what i do, i was asking about directives technique, because in last small project when i used controller (was used by state provider) i had some "double" calls to it for example when 2 states used the same one
[00:44:10] <WebDevOfDoom> wafflej0ck__: I am SO sorry.
[00:44:48] *** jamto11 has quit IRC
[00:45:08] <WebDevOfDoom> bryanzera: I mean angular.module(‘moduleName’).controller or moduleName.controller
[00:45:40] *** xxMatiasFxx has quit IRC
[00:46:09] *** grumpyOldRussian has quit IRC
[00:46:14] <ytsejam> Foxandxss, I have existing users in Laravel which uses Sentry ..in jwt docs, $user = User::find(1); can it be the Sentry user?
[00:46:23] *** arcanine69 has joined #angularjs
[00:46:31] <Foxandxss> ytsejam: not familiar with sentry
[00:46:35] <Foxandxss> but it should work
[00:47:03] <bryanzera> app.js: angular.module('appName'), function() { ngRoute stuff } and controller.js: angular.module('appName', function() { controller logic }
[00:47:11] <bryanzera> Working on a plunkr right now
[00:47:11] *** elrabin has quit IRC
[00:47:35] <Jim_> moogey: tried to simplify it to absolute basics. http://plnkr.co/edit/9KlseT3rwfAw2rqAac5R?p=preview
[00:47:43] <Jim_> I think I'm just kind of dumb
[00:47:46] *** kirfu has joined #angularjs
[00:48:35] <moogey> Jim_: when you make a deferred object, you return the promise jim.promise; and that has the then() on it
[00:48:36] *** NormySan has quit IRC
[00:48:51] *** leolrrj has quit IRC
[00:49:16] *** bmac has quit IRC
[00:49:17] *** cthrax has quit IRC
[00:49:51] *** Aswebb_ has quit IRC
[00:49:52] *** SargoDarya has quit IRC
[00:51:16] *** bmac has joined #angularjs
[00:51:27] <bryanzera> @WebDevOfDoom: http://plnkr.co/edit/MZT2nZgDVSU484qUyNcq?p=catalogue
[00:52:09] *** ron_frown has joined #angularjs
[00:52:22] *** leolrrj has joined #angularjs
[00:52:31] *** Reskp has joined #angularjs
[00:52:39] *** leolrrj has quit IRC
[00:53:53] *** moogey has quit IRC
[00:55:41] *** Aliks has quit IRC
[00:57:26] *** Reskp has quit IRC
[00:57:39] *** xdissent has quit IRC
[00:57:46] *** bryanzera has quit IRC
[01:00:00] *** PeterMetz has joined #angularjs
[01:00:02] *** bryanzera has joined #angularjs
[01:01:25] *** tristanp has quit IRC
[01:02:59] *** tristanp has joined #angularjs
[01:03:28] *** helen__ has joined #angularjs
[01:04:25] *** helen_ has quit IRC
[01:05:01] <WebDevOfDoom> bryanzera: fyi still looking
[01:05:21] *** recurrence has joined #angularjs
[01:05:58] <ytsejam> what do you think of this idea ? http://studioraygun.co.uk/blog/angularjs-front-end-wordpress-back-end/
[01:07:03] <bryanzera> @WebDevOfDoom Thank you for looking at it. i'm really interested in Angular, but it's hard when your tutorial stops working :)
[01:07:08] <WebDevOfDoom> sure thing
[01:07:30] <Foxandxss> who would want to mix angular and wordpress? :P
[01:07:35] *** tristanp has quit IRC
[01:07:36] *** amacgregor has joined #angularjs
[01:07:40] <WebDevOfDoom> i’ve been replacing the included libraries with CDNs so i don’t have to manually import them into plunkr (dunno if i’m being a noob)
[01:07:48] *** wookiehangover has quit IRC
[01:07:58] *** pehlert has joined #angularjs
[01:08:11] *** tschundeee has quit IRC
[01:08:14] *** kirfu has quit IRC
[01:08:19] *** sahbeewah has joined #angularjs
[01:08:27] <WebDevOfDoom> Foxandxss: why not? ¯\_(ツ)_/¯
[01:08:34] *** maikowblue has joined #angularjs
[01:09:18] *** amacgregor has quit IRC
[01:09:19] <Foxandxss> wordpress is meh
[01:09:19] *** tristanp has joined #angularjs
[01:09:23] *** tschundeee has joined #angularjs
[01:09:35] <WebDevOfDoom> bryanzera: have you tried moving the script that imports angular up above your app.js and test controller? as it is in the plunkr, there are a lot of angular issues
[01:09:55] <WebDevOfDoom> bryanzera: have you checked the browser’s console for errors?
[01:10:08] *** ries has quit IRC
[01:10:11] <ytsejam> there is a live demo over there, and also people like the admin panel of WP, but I hate to layout template in wp
[01:11:36] *** anivemin has joined #angularjs
[01:12:10] *** dc_ has quit IRC
[01:12:45] *** pehlert has quit IRC
[01:13:02] *** fotoflo has quit IRC
[01:13:03] *** antney has quit IRC
[01:13:29] *** opiates has joined #angularjs
[01:13:34] *** wookiehangover has joined #angularjs
[01:13:36] *** fotoflo has joined #angularjs
[01:13:58] <vonnegut> qq: to call a driective, all ineed to do is have the directive in the app config chain right? with something l ike this:
[01:13:58] <vonnegut> appDirectives.directive('validatePassword', function() {
[01:14:07] <vonnegut> i shoudl be able to add in the input
[01:14:21] <vonnegut> "'validate-password'"
[01:14:22] <vonnegut> right?
[01:14:36] <vonnegut> but, yet, this code seems to be being ignored.. and not even throwing an error
[01:15:00] <vonnegut> anything obvious I am missing here, perhaps in my configuration?
[01:15:22] *** marr has joined #angularjs
[01:16:04] *** anivemin has quit IRC
[01:16:16] *** jtimon has quit IRC
[01:16:29] <wafflej0ck__> vonnegut, can you paste your html usage and the directive in a pastebin
[01:16:46] <vonnegut> sure.
[01:16:52] <wafflej0ck__> vonnegut, could be missing restrict or be wrong, otherwise are you using debugger;, or console.log in the link:function
[01:17:02] *** johnkevinmbasco has joined #angularjs
[01:17:43] *** bryanzera has quit IRC
[01:18:01] <vonnegut> actually.. all i am trying to do at this point is get the 'validatePassword' directive code from this article running:
[01:18:01] <vonnegut> http://www.yearofmoo.com/2014/09/taming-forms-in-angularjs-1-3.html
[01:18:14] <vonnegut> in the article its called: validatePasswordCharacters
[01:18:19] <wafflej0ck__> ytsejam, eh WordPress is a mega target for hacking and historically has had major breaches too often for me to seriously consider it also the view and backend are all mashed together
[01:18:46] *** snadon has joined #angularjs
[01:18:46] *** SergioFilhow has joined #angularjs
[01:18:50] <vonnegut> i am digging the blog engine ghost
[01:18:51] *** bryanzera has joined #angularjs
[01:19:01] <vonnegut> wordpress feels kind of over to me
[01:19:06] *** chrisshattuck has joined #angularjs
[01:19:14] *** lemur has joined #angularjs
[01:19:30] *** Menorah has joined #angularjs
[01:19:33] *** Mikke has joined #angularjs
[01:19:41] <ytsejam> wafflej0ck_, I dont like WP either, actually making a blog with Laravel from scratch was much more easier for me.. but my friends asks for WP from me
[01:19:51] *** mary5030 has joined #angularjs
[01:19:58] <ytsejam> which is tough to customize
[01:20:04] <Mikke> ghc 7.8.3
[01:20:16] *** eago_ has quit IRC
[01:20:18] <vonnegut> i converted my energy research blog over to ghost recently. very clean and light.
[01:20:23] <vonnegut> http://alexpetty.com/
[01:20:25] *** sahbeewah has quit IRC
[01:20:39] <bryanzera> @WebDevOfDoom: If I move the controller definitions above the app.js, the views load, but the data in the controllers doesn't get passed to the view
[01:21:05] <WebDevOfDoom> bryanzera: i mean, move the <script> reference to angular.js
[01:22:06] *** bmac has quit IRC
[01:23:09] <bryanzera> @WebDevOfDoom: the angular.js include is already above the app.js include
[01:23:15] <ytsejam> good night ,thanks for nice chat
[01:23:35] *** bmac has joined #angularjs
[01:23:35] *** windsurf_ has joined #angularjs
[01:23:56] <wafflej0ck__> vonnegut, http://plnkr.co/edit/Q6lBcquZc2329FjTFHEI?p=preview <-- seems to work okay can you show what's different in yours?
[01:23:58] *** lemur has quit IRC
[01:24:17] *** mary5030 has quit IRC
[01:24:24] <vonnegut> http://pastebin.com/MYvjUnQv
[01:24:29] *** qwerty2 has joined #angularjs
[01:24:32] <vonnegut> thats the directive and the form
[01:24:56] *** dc_ has joined #angularjs
[01:25:15] <windsurf_> In my app, I have $scope.events = EventsResource.query() when i click on an item in my UI which represents one of the Event items, I want to show detail. Where should I actually put the events array where the detail view can access it?
[01:25:28] <Mikke> good
[01:25:34] *** DrMabuse has joined #angularjs
[01:25:35] <windsurf_> currently i’m querying a detail service but that’s redundant because the first query has all the detail already
[01:25:47] <wafflej0ck__> vonnegut, does it get into the link function itself?
[01:25:53] <ytsejam> vonnegut, ghost looks very nice
[01:25:57] <wafflej0ck__> are you sure the module dependency is setup?
[01:25:58] *** PeterMetz has quit IRC
[01:26:17] <vonnegut> wafflej0ck__ : i think the module dependency might be wrong.
[01:26:27] <vonnegut> nothing else makes sense.. it just seems like it not seeing it
[01:26:30] <wafflej0ck__> just tried ChromeOS it's still just Chrome :P
[01:26:30] <Mikke> nice ty
[01:26:37] <qwerty2> hi
[01:26:39] <vonnegut> but yet, its configured in the chain.
[01:26:55] <vonnegut> ytsejam: i agree.. ghost is sweet!
[01:27:01] *** zwacky has quit IRC
[01:27:20] <wafflej0ck__> vonnegut, you can add a config block or a run block to your directives module and drop a console.log or debugger; in there to see if it hits
[01:27:32] <qwerty2> I have this controller and I get "Uncaught SyntaxError: Unexpected token function" on line 14 of http://pastebin.com/nez57QGL ¿any ideas about how can I fix it please?
[01:27:51] <vonnegut> i tried dropping in an alert
[01:27:53] <Mikke> He is much captain of doge-ship.
[01:27:58] <wafflej0ck__> qwerty2, missing a ,
[01:28:02] <vonnegut> didnt hit it.. let me try console.log
[01:28:05] <vonnegut> output.. one sec
[01:28:29] <wafflej0ck__> vonnegut, I saw the alert but that's in the validator function try in the top of the link function too
[01:28:32] <qwerty2> wafflej0ck_:which a,
[01:28:33] *** bmac has quit IRC
[01:28:35] <qwerty2> ?
[01:28:47] <wafflej0ck__> qwerty2, a comma I meant
[01:28:55] <wafflej0ck__> qwerty2, between the success and error function I think
[01:29:00] <vonnegut> k
[01:29:04] <wafflej0ck__> qwerty2, yea
[01:29:06] *** DLSteve has quit IRC
[01:29:47] <vonnegut> does something need to be in the controller?
[01:30:01] <wafflej0ck__> vonnegut, nope
[01:30:02] <vonnegut> in the article, its just nothing but a useless scope there
[01:30:04] <vonnegut> k..
[01:30:09] <vonnegut> hmm..
[01:30:27] <wafflej0ck__> vonnegut, you see the plunkr I dropped?
[01:30:30] <wafflej0ck__> vonnegut, it works in there
[01:30:32] *** DrMabuse has quit IRC
[01:30:34] *** johnkevinmbasco has quit IRC
[01:30:38] <Mikke> buZz: as opposed to six identical mags
[01:31:14] *** seriema has joined #angularjs
[01:31:14] <qwerty2> I put the ; on line 12 http://pastebin.com/Nrr6YFQB but I get " Uncaught SyntaxError: Unexpected token ;" error
[01:31:38] <wafflej0ck__> qwerty2, comma not semicolon
[01:31:54] <wafflej0ck__> qwerty2, then takes a success function as the first param and an error function as the second param
[01:32:06] <wafflej0ck__> qwerty2, the comma is just separating the parameters not ending a statement
[01:32:28] <qwerty2> wafflej0ck_:ok.fixed
[01:32:32] <wafflej0ck__> cool
[01:32:57] *** jonathanpglick has quit IRC
[01:34:09] *** jonathanpglick has joined #angularjs
[01:35:17] *** seriema has quit IRC
[01:35:34] <wafflej0ck__> qwerty2, is your arch enemy dvorak
[01:35:49] *** tokka has joined #angularjs
[01:35:50] <qwerty2> Now I have another error. I have this app.js, controllers.js and services.js. http://pastebin.com/SZVH9ijR but I get "[ng:areq] Argument 'PostListCtrl' is not a function, got undefined" ¿any ideas to fix it please?
[01:35:51] *** yts has quit IRC
[01:36:00] *** tschunde_ has joined #angularjs
[01:36:42] *** ckuehl-2 has quit IRC
[01:36:54] *** alpha080 has quit IRC
[01:37:07] <wafflej0ck__> qwerty2, you need to use module.controller("MyCtrl", function MyCtrl(){}); syntax not "global" functions (you have IIFEs so they can't be accessed globally really)
[01:37:14] *** ckuehl has joined #angularjs
[01:37:42] *** tschundeee has quit IRC
[01:37:50] *** Mikke has quit IRC
[01:38:09] <wafflej0ck__> .controller("PostListCtrl", function PostListCtrl (Post) { this.posts = Post.query();});
[01:39:21] <windsurf_> does angular have anything in the framework to get an object by it’s id property in an array of such objects? Or, should I add underscore.js?
[01:39:35] <wafflej0ck__> windsurf_, underscore or lodash
[01:39:46] <windsurf_> wafflej0ck__: thanks!
[01:39:49] <wafflej0ck__> windsurf_, np
[01:39:51] *** zwacky has joined #angularjs
[01:40:17] *** tokka has quit IRC
[01:40:20] *** nosocks has joined #angularjs
[01:40:45] <wafflej0ck__> windsurf_, I suppose you could actually use the filter $filter but think you will probably be better off just using lodash or underscore anyhow in the long run
[01:40:53] *** jamto11 has joined #angularjs
[01:40:54] *** night-owl is now known as zz_night-owl
[01:41:40] <windsurf_> from the looks of it, underscore is a lighter lib if my needs are simple
[01:41:52] <windsurf_> think so?
[01:42:12] <snadon> hi folks, i would like to start looking at angular 2.0, any pointers to follow the development?
[01:42:22] *** rileylar_ has joined #angularjs
[01:42:32] <wafflej0ck__> between lodash and underscore don't really know but think lodash is slightly better with support but really not sure haven't taken a hard look at the two
[01:43:12] <WebDevOfDoom> bryanzera: I have to admit, I’m pretty stumped but I’m pretty new to angular and plunkr. Maybe you can have someone else look at it.
[01:43:27] <windsurf_> k
[01:43:29] <windsurf_> thx
[01:43:45] <bryanzera> Thanks for looking at it ... trying to pare down to the essential problem.
[01:44:05] <bryanzera> It's frustrating when it's supposed to work according to O'Reilly :)
[01:44:28] <wafflej0ck__> snadon, there isn't a ton to look at yet I don't think if you google Angular 2 you'll find some resources, I also heard John Papa's style guide is a good starting point
[01:44:32] <bryanzera> WebDevOfDoom++
[01:44:32] <UniBot> webdevofdoom Karma: 1
[01:45:14] *** WebDevOfDoom has quit IRC
[01:45:19] <wafflej0ck__> snadon, if you like podcasts check out Adventures in Angular, Misko and friends discuss some of the 2.0 details in a few episodes but really they aren't committing to anything yet
[01:45:45] *** jamto11 has quit IRC
[01:45:50] <nosocks> Hi everybody! I'm looking to migrate my application from using Django's templating language to Angular.js on the front-end, and I've been reading up and doing a few tutorials. My Django app is using oauth2 authentication.. How do I keep an authenticated session up with Angular.js? Can't seem to find a good tutorial on this
[01:46:58] <wafflej0ck__> snadon, you can use the blog though and believe there's a few places up with discussion about what's to be done in 2.0 you also probably want to look at Traceur for ECMA6 -> ECMA5 transpilation
[01:47:06] *** SargoDarya has joined #angularjs
[01:47:08] *** rileylar_ has quit IRC
[01:47:20] *** bbankes has joined #angularjs
[01:47:28] <snadon> wafflej0ck__: ok thanks, at the moment i just saw angular 2.0 core (http://ng-learn.org/2014/11/NG-EUROPE-2014/)
[01:47:30] *** zumba_addict has joined #angularjs
[01:48:31] *** recurrence has quit IRC
[01:48:35] *** disorder20 has quit IRC
[01:48:51] <wafflej0ck__> snadon, yeah don't think I've watched any of ng-europe yet... maybe one of em but gonna check em out soon
[01:48:56] <zumba_addict> hey guys, question about $http.get. Let's say the data to be retrieved is 100mb. How do we only retrieve the first 50k?
[01:49:05] <wafflej0ck__> snadon, they made reference to it all getting posted in the podcast I mentioned
[01:49:27] *** despai has quit IRC
[01:49:41] <wafflej0ck__> zumba_addict, see paging in whatever you're using, typically the client sends an offset and size or something like that
[01:49:53] <zumba_addict> cool. Thanks
[01:50:17] *** WebDevOfDoom has joined #angularjs
[01:50:17] *** pspfolio has joined #angularjs
[01:50:54] <wafflej0ck__> nosocks, what have you searched on, there are a lot of things about auth with angular... you may want to use httpInterceptors to attach some stuff to the headers of all the requests... you may be using cookies or localStorage to store a session id or a token, but there are a few implementations specific to oauth already out there too
[01:51:06] <WebDevOfDoom> bryanzera: This probably isn’t the issue, but maybe you should check to see that you’re running compatible versions of angular and angular-route
[01:51:21] <snadon> wafflej0ck__: ok perfect, thanks!
[01:51:27] *** mjw56 has quit IRC
[01:51:34] *** Left_Turn has quit IRC
[01:51:37] *** qwerty2 has quit IRC
[01:52:16] <bryanzera> @WebDevOfDoom: Same version of each :/
[01:52:19] *** JesseH has quit IRC
[01:52:25] <WebDevOfDoom> :(
[01:52:44] *** chrisshattuck has quit IRC
[01:52:47] <vonnegut> wafflej0ck__: its just amazing what adding the line <script src="scripts/directives.js"></script> to index.html will do fir resolving my directives file.. :)
[01:52:51] *** Menorah has quit IRC
[01:53:08] <wafflej0ck__> vonnegut, heh glad you got it sorted :)
[01:53:09] <vonnegut> im a bone head..
[01:53:16] <vonnegut> heh. thanks for your help.
[01:53:18] *** Reskp has joined #angularjs
[01:53:19] <bryanzera> How do you safely apply controllers to the same angular module from different included files?
[01:53:41] <nosocks> wafflej0ck__: I looked up angularjs oauth2 login and came across oauth-ng, but it seemed a bit too magic for me. I can make the http requests to get the token, and I can write the interceptor to append the token to each http request, but it's non-obvious to me (as a total beginner to angular before yesterday!) how to keep the token around between page loads... Most examples are single page web-apps
[01:53:41] *** lozandier has quit IRC
[01:54:46] <wafflej0ck__> nosocks, yeah basically you gotta store that sucker in something... what that something is, is mostly on you but you can use $cookies or one of the $localStorage abstractions think ngStorage will use localStorage and fallback to cookies if need be
[01:54:48] *** pspfolio has quit IRC
[01:56:09] *** qwerty2 has joined #angularjs
[01:56:36] *** {DV8} has joined #angularjs
[01:56:39] *** lozandier has joined #angularjs
[01:56:40] *** SargoDarya has quit IRC
[01:57:32] <nosocks> wafflej0ck__: definitely needs to be stored somewhere :) i'll have a look at ngStorage, thanks for the tip! Haven't used local storage before
[01:57:38] <soee> if i need to load records to my list state, i should do it from stateprovider with resolve ? or do it from inside controller ?
[01:58:01] *** Reskp has quit IRC
[01:58:01] *** arcanine69 has quit IRC
[01:58:17] <wafflej0ck__> soee, depends on if you want to delay the view/state change for the resolve to happen
[01:58:47] <wafflej0ck__> soee, personally I usually do initialization of data in services/factories before returning the object
[01:59:16] *** shinnya has quit IRC
[01:59:17] <soee> wafflej0ck__: and how do you pass/assign the data to template>
[01:59:33] <wafflej0ck__> the data is just a property of the service/factory that gets injected
[01:59:41] <wafflej0ck__> I just create a reference to the service/factory on the scope
[01:59:52] <wafflej0ck__> I reference the data directly on the service/factory through that reference
[02:00:19] <wafflej0ck__> $scope.LoginService = LoginService; {{LoginService.loggedInUser}}
[02:00:56] <soee> wafflej0ck__: ok and if we want to load records list only for list state ?
[02:01:16] *** Menorah has joined #angularjs
[02:01:22] *** recurrence has joined #angularjs
[02:01:30] <wafflej0ck__> soee, if you want to delay the initialization of the data you can just inject the service and call LoginService.init or whatever it may be
[02:01:37] <wafflej0ck__> soee, or you can still use it in a resolve
[02:01:50] <wafflej0ck__> all the options are still there
[02:02:30] <Shilon> anyone already used ng video? I’m I don’t why I’m getting this error ‘TypeError: Cannot read property 'setAutoplay' of undefined’ but the video works fine and it autoplays.
[02:02:31] <soee> wafflej0ck__: and what about sometgin like: servicve has function getData() it cheks if service property has some data assigned and if not, then does request to server
[02:03:00] <qwerty2> wafflej0ck_:fixed! :-D http://pastebin.com/qPta8DWm thanks!
[02:03:18] <wafflej0ck__> soee, not sure what the question is there but yeah I build in some caching type mechanism of my own
[02:03:26] <wafflej0ck__> qwerty2, cool good to hear
[02:04:01] *** adben- has quit IRC
[02:04:42] <wafflej0ck__> soee, the caching business I do on a case by case basis though so far I don't have an abstraction exactly for handling that... sort of feel like I should just switch to Traceur and ECMA6 before working on abstractions since I think having Class syntax would help me
[02:04:48] *** avree has joined #angularjs
[02:04:49] <soee> wafflej0ck__: the thing is i do not want to load for example 100 records when service is loaded but only when the 'list' state is active
[02:05:24] <wafflej0ck__> soee, yeah you can still do the getData call in the controller of the list view, like you said though just need to be smart about the "caching"
[02:05:40] <wafflej0ck__> soee, really I typically just save a reference to the promise from the $http call and if I have that I just return it
[02:05:52] <wafflej0ck__> soee, if not I make the call and save the promise for future getData calls
[02:06:47] *** avree has quit IRC
[02:08:07] *** cornerma1 has joined #angularjs
[02:08:13] *** zz_night-owl is now known as night-owl
[02:08:47] *** pehlert has joined #angularjs
[02:08:57] <soee> wafflej0ck__: yuo save the promise in service or ?
[02:08:57] *** cakirke has quit IRC
[02:09:06] <wafflej0ck__> soee, in that case yea
[02:09:20] *** SergioFilhow has quit IRC
[02:10:01] *** snadon has quit IRC
[02:10:42] *** rileylark has joined #angularjs
[02:10:48] <soee> wafflej0ck__: wnd when such promise is stored first time ? in init function ?
[02:11:24] *** cornerman has quit IRC
[02:11:30] *** cornerma1 is now known as cornerman
[02:12:00] <wafflej0ck__> soee, not sure I follow I just check if it's set already if not I make the call to the $http and save the returned promise, and return it, if it is set already I just return it
[02:12:29] <soee> ah cool, but all this stuff is done in service right ?
[02:12:37] <wafflej0ck__> soee, yup all that is in a service
[02:13:12] *** pehlert has quit IRC
[02:13:17] *** RedOrangeZ2 has quit IRC
[02:13:50] *** rileylark has quit IRC
[02:14:15] <WebDevOfDoom> wafflej0ck__: I found something I think is causing my issue. Since the library is using $rootScope for $emit and $on, if my controller is being run twice, apparently any $rootScope.$on will be run twice. How can I confirm this is what is happening?
[02:15:17] *** clearcut has quit IRC
[02:15:18] *** evilaliv3 has quit IRC
[02:15:31] *** ron_frown has quit IRC
[02:15:36] <wafflej0ck__> WebDevOfDoom, drop a debugger; statement in the controller definition function, if you hit it twice the controller was created twice, it should be created once for each place that references it with ng-controller or where it's used in a route
[02:15:46] *** ron_frown has joined #angularjs
[02:16:03] <fotoflo> Uncaught SyntaxError: Unexpected token e (index):1
[02:16:09] <WebDevOfDoom> I guress that makes sense…
[02:16:21] <soee> wafflej0ck__: do you have some sample service to share ?
[02:16:46] *** bbankes has quit IRC
[02:18:40] <wafflej0ck__> soee, I do but I think there are actually even better things out there honestly... don't have anything immediate to link you to of my own but check out this too https://gist.github.com/jelbourn/6276338
[02:20:09] *** amphetamines has joined #angularjs
[02:20:38] <wafflej0ck__> soee, I've got a couple of things on github but most of it is on my own gitlab instance when it comes to stuff with services... will find an example in a bit here and pastebin or something
[02:21:05] <soee> wafflej0ck__: thank you, you helped me alot anyway :)
[02:21:25] *** rileylar_ has joined #angularjs
[02:21:52] *** Foxandxss has quit IRC
[02:22:13] <wafflej0ck__> soee, np, here's one of my things on github if you wanna check it out https://github.com/shusain/itDebugPanel http://shusain.github.io/itDebugPanel/dist/ it's somewhat complementary to ng-inspector and batarang, just lets you click to inspect an elements scope like the regular chrome inspector but you can also modify the scope variables
[02:22:41] *** christo_m has joined #angularjs
[02:22:42] *** rileylar_ has quit IRC
[02:22:56] *** opiates has quit IRC
[02:22:57] <wafflej0ck__> soee, but like I said not really any good example of services in there since it's just for debugging stuff doesn't do any $http or anything like that
[02:23:00] *** rileylar_ has joined #angularjs
[02:23:12] *** avree has joined #angularjs
[02:25:01] *** rileylar_ has quit IRC
[02:26:05] *** dcherman has joined #angularjs
[02:26:21] *** DrMabuse has joined #angularjs
[02:26:59] *** windsurf_ has quit IRC
[02:27:03] *** PeterMetz has joined #angularjs
[02:27:10] *** Hestil has quit IRC
[02:27:13] *** avree has quit IRC
[02:28:14] *** Shilon has quit IRC
[02:29:08] *** bryanzera has quit IRC
[02:29:11] <WebDevOfDoom> wafflejock__: I think I’ve found it! It looks like the directive that calls $rootScope.$on gets created a 2nd time when I go through the process that causes the bug!
[02:29:42] <WebDevOfDoom> I don’t know how to fix it yet, but I think this is the breakthrough I needed!
[02:30:20] <wafflej0ck__> WebDevOfDoom, cool glad to hear it, yeah so a directive will get it's link function called one time for each reference to it in the view, is it on a ng-repeat or anything like that?
[02:30:34] <WebDevOfDoom> nope.
[02:30:57] <wafflej0ck__> WebDevOfDoom, you may want to just move the $on out to a service/factory really since they are singletons
[02:30:59] *** DrMabuse has quit IRC
[02:31:09] <wafflej0ck__> WebDevOfDoom, they're guaranteed to only get made one time per app running
[02:31:54] <WebDevOfDoom> wafflej0ck__: the funny thing is that the $emit is already in a service -_-
[02:32:13] *** seriema has joined #angularjs
[02:32:22] <WebDevOfDoom> I don’t know why it isn’t all just inside the service.
[02:32:22] *** PeterMetz has quit IRC
[02:32:36] *** RossJH has quit IRC
[02:32:56] <WebDevOfDoom> unfortunately, I don’t think i’m saavy enough to move the code to a service/factory. I’ve tried elsewhere in my application and failed miserably
[02:33:13] <WebDevOfDoom> I’m still grasping $scope and controllers
[02:33:15] <WebDevOfDoom> :(
[02:34:28] *** dcherman has quit IRC
[02:34:59] *** grumpyOldRussian has joined #angularjs
[02:35:05] *** lozandier has quit IRC
[02:35:17] *** numproc has quit IRC
[02:35:26] *** lozandier has joined #angularjs
[02:36:16] *** psi has joined #angularjs
[02:36:57] *** seriema has quit IRC
[02:37:19] *** metasansana has joined #angularjs
[02:37:22] *** davek has joined #angularjs
[02:37:22] *** davek has joined #angularjs
[02:38:05] <christo_m> has anyone used teh Yeoman Full stack generators here?
[02:38:30] <christo_m> im trying to expand the Modal component that comes with it, but it looks like i cant ng-model scope vars in the modal and have them reflect back in the controller
[02:38:39] *** sbellina has quit IRC
[02:38:48] *** Aswebb_ has joined #angularjs
[02:39:03] <christo_m> this is my modal stuff https://github.com/christomitov/Maximus/tree/master/client/components/modal , heres the controller https://github.com/christomitov/Maximus/blob/master/client/app/invoices/invoices.controller.js
[02:39:43] *** nickgs has joined #angularjs
[02:39:49] <WebDevOfDoom> christo_m: I’m currently using mean.js
[02:39:54] *** grumpyOldRussian has quit IRC
[02:40:00] *** Psi|4ward has quit IRC
[02:40:21] <wafflej0ck__> christo_m, the ng-model and client side binding doesn't depend on the server side really
[02:41:14] *** fedenunez has joined #angularjs
[02:41:18] <wafflej0ck__> christo_m, regarding the modal I haven't used their implementation but typically it has it's own controller
[02:41:41] *** jamto11 has joined #angularjs
[02:42:00] <wafflej0ck__> christo_m, if you want to share things between controllers you typically use a provider, usually a factory/service could be a value, see the angular providers docs for details
[02:42:26] <christo_m> i think i just fixed it
[02:42:30] <christo_m> i just shoved it a level deeper
[02:42:33] <christo_m> like item.plan instead of just plan
[02:42:45] *** avree has joined #angularjs
[02:42:54] <christo_m> wafflej0ck__: the modal is a service, but you can pass in scope when you evoke it
[02:43:00] <christo_m> then angular.extend() is used to merge scope with the modal scope
[02:43:00] <wafflej0ck__> christo_m, ah okay yeah different problem, so with that you don't want to use your $scope as the model you want an object that's referenced by a property of the scope
[02:43:32] *** Aswebb_ has quit IRC
[02:43:34] <wafflej0ck__> so should always be something like scope.myModel = {prop:"something"}; not scope.prop="something"
[02:44:04] <wafflej0ck__> the object itself can come from a factory/service/value or a provider (all are shorthand for defining a provider)
[02:44:09] *** johnkevinmbasco has joined #angularjs
[02:44:26] *** zeezey is now known as karo
[02:44:53] *** instence has joined #angularjs
[02:44:53] *** avree has quit IRC
[02:44:57] *** instence_ has quit IRC
[02:44:57] <wafflej0ck__> christo_m, http://youtu.be/ZhfUv0spHCY?t=32m28s
[02:45:07] *** busticated has quit IRC
[02:46:19] *** jamto11 has quit IRC
[02:46:22] *** HassanCehef has quit IRC
[02:48:59] <christo_m> "if you don't have a dot, you're doing it wrong"
[02:49:00] <christo_m> basically the take away
[02:49:10] *** marr has quit IRC
[02:50:20] *** Shilon has joined #angularjs
[02:50:43] *** johnkevinmbasco has quit IRC
[02:51:09] <wafflej0ck__> christo_m, exactly
[02:51:21] <wafflej0ck__> christo_m, glad you got that on the first watch :)
[02:52:11] *** greenride has joined #angularjs
[02:52:34] <wafflej0ck__> christo_m, if you want to know all the dirt search on prototypical inheritence angular and you'll get a good SO post and some other pages explaining how JS prototypical inheritence works and the resulting behavior
[02:52:38] *** helen__ has quit IRC
[02:52:40] *** chrisshattuck has joined #angularjs
[02:53:52] *** SargoDarya has joined #angularjs
[02:54:07] <greenride> I'm going through an Angularjs tutorial. $routeParams is not being updated unless I call the same route twice. The second time it works. Is there a way to get this to work properly the first time?
[02:54:12] *** Reskp has joined #angularjs
[02:54:24] *** ome has joined #angularjs
[02:56:22] *** dman777_alter has joined #angularjs
[02:56:24] *** JesseH has joined #angularjs
[02:56:27] *** zumba_addict has quit IRC
[02:58:50] *** Reskp has quit IRC
[03:00:08] *** amphetamines has quit IRC
[03:00:20] *** anivemin has joined #angularjs
[03:02:18] *** ProLoser has quit IRC
[03:02:47] <wafflej0ck__> greenride, should work the first time around can you show a sample in plunkr
[03:03:37] *** jonathanpglick has quit IRC
[03:04:04] *** danecando has joined #angularjs
[03:04:16] <greenride> wafflej0ck__: Sure. Give me a little time to figure out how plunkr works.
[03:04:24] *** Shrooms has joined #angularjs
[03:04:29] *** Shrooms has joined #angularjs
[03:04:56] <wafflej0ck__> greenride, yeah see the IRC topic for a link with angular included
[03:05:04] *** anivemin has quit IRC
[03:05:54] *** kosier has joined #angularjs
[03:06:04] <greenride> wafflej0ck__: Is there a way to post coffeescript?
[03:06:11] *** theotherguy has joined #angularjs
[03:07:27] *** zwacky has quit IRC
[03:08:12] *** kosier has quit IRC
[03:08:57] *** joroc has joined #angularjs
[03:09:30] *** pehlert has joined #angularjs
[03:10:06] *** ProLoser has joined #angularjs
[03:10:53] *** broich has joined #angularjs
[03:12:46] *** aven1 has quit IRC
[03:13:51] <wafflej0ck__> greenride, I don't think so but I wouldn't understand it anyway :P
[03:13:57] *** pehlert has quit IRC
[03:14:23] <wafflej0ck__> greenride, there are probably other editors that do that for you I imagine with how popular coffeescript is but not sure if plunkr can do that for you
[03:14:29] *** broich has quit IRC
[03:15:04] <WebDevOfDoom> VICTORY
[03:15:12] <greenride> I have angular embedded inside a Rails application, and the javascript is generated using the Rails asset pipeline.
[03:15:16] *** SargoDarya has quit IRC
[03:15:22] <WebDevOfDoom> I moved the directive out of the view and now the directive isn’t being called multiple times.
[03:15:41] <WebDevOfDoom> That is odd though...
[03:15:52] <greenride> Let me see if I can create a pure angular app.
[03:17:16] <nosocks> Hi all. This is almost surely a stupidly simple question, but what is wrong with the way I am adding $http as a dependency to my controller? angular.module('MyApp', ['$http']) .controller('MainCtrl', function($scope) {});
[03:17:21] <wafflej0ck__> cool I gotta see if I can make some steak tacos
[03:17:24] *** zerger has joined #angularjs
[03:17:58] <wafflej0ck__> nosocks, angular.module('MyApp',[]).controller('MainController', function($scope,$http){});
[03:18:12] <wafflej0ck__> also I have nosocks on atm
[03:19:15] *** recurrence has quit IRC
[03:19:27] <nosocks> wafflej0ck__: that's it, thanks. For some reason I thought you injected dependencies through the module. No socks is the only way to live
[03:19:37] <wafflej0ck__> nosocks, the module dependencies are for other modules not services/factories/providers like $http or $timeout those go into the controller/service/factory/provider/filter/directive function that needs it
[03:19:52] *** zerger has quit IRC
[03:20:09] <nosocks> got it, thanks a lot for your help
[03:20:15] <wafflej0ck__> yup
[03:20:16] <wafflej0ck__> np
[03:21:01] *** nemothekid has quit IRC
[03:21:39] *** chrisshattuck has quit IRC
[03:22:46] *** colebank has joined #angularjs
[03:23:40] *** fotoflo has quit IRC
[03:24:33] *** adam_ is now known as adam
[03:24:35] *** fotoflo has joined #angularjs
[03:25:03] *** adam is now known as Guest68461
[03:25:46] *** colebank has quit IRC
[03:27:06] *** DrMabuse has joined #angularjs
[03:27:55] *** PeterMetz has joined #angularjs
[03:28:31] *** baldon has joined #angularjs
[03:29:36] <greenride> wafflej0ck__: It will take me a while to set this up. I'll try reposting my question tomorrow. Thanks
[03:29:53] *** antons_ has quit IRC
[03:31:14] *** Orbitrix has quit IRC
[03:31:42] *** baldon has quit IRC
[03:32:06] *** DrMabuse has quit IRC
[03:32:26] *** ProLoser has quit IRC
[03:32:46] *** PeterMetz has quit IRC
[03:33:06] *** seriema has joined #angularjs
[03:34:16] *** fergen has joined #angularjs
[03:34:26] *** Reskp has joined #angularjs
[03:36:19] *** fergen has quit IRC
[03:37:01] *** nosocks has quit IRC
[03:37:23] *** seriema has quit IRC
[03:38:11] *** karo is now known as zeezey
[03:38:51] *** aven1 has joined #angularjs
[03:38:52] *** syck has joined #angularjs
[03:39:05] *** Reskp has quit IRC
[03:40:09] *** rickhanlonii has quit IRC
[03:40:17] *** syck has quit IRC
[03:41:04] *** JesseH has quit IRC
[03:41:38] *** uris77 has joined #angularjs
[03:42:09] <fotoflo> Hmm, i have this code running, but nothing happening: in module.run(): $state.go('/login'); and that state is valid (if i inject a service into the console and run that command it goes). Any idea how to debug?
[03:42:19] *** joroc has quit IRC
[03:42:22] *** jamto11 has joined #angularjs
[03:43:05] *** dellosso has joined #angularjs
[03:44:39] *** AngularUI has joined #angularjs
[03:44:40] <AngularUI> [ng-grid] cyates81 opened pull request #2452: Issue #2449 - Propagate $event object to rowSelectionChanged and rowSelectionChangedBatch. (master...2449) http://git.io/Rfh4cg
[03:44:40] *** AngularUI has left #angularjs
[03:44:48] *** Shilon has quit IRC
[03:45:44] *** danecando has quit IRC
[03:45:56] *** dellosso has quit IRC
[03:46:36] *** frem has joined #angularjs
[03:46:50] *** kakashiA1 has joined #angularjs
[03:47:06] *** jayne has joined #angularjs
[03:47:16] *** jamto11 has quit IRC
[03:47:20] *** lozandier has quit IRC
[03:47:50] *** cthrax has joined #angularjs
[03:48:34] *** jayne_ has quit IRC
[03:48:50] *** thole has joined #angularjs
[03:49:29] *** Menorah has quit IRC
[03:49:57] *** kakashiAL has quit IRC
[03:50:12] *** theotherguy has quit IRC
[03:52:36] *** thole has quit IRC
[03:53:44] *** whitebook has joined #angularjs
[03:54:46] *** Menorah has joined #angularjs
[03:55:21] *** hullihen has joined #angularjs
[03:56:03] *** stickermule has joined #angularjs
[03:56:05] *** MistahKurtz has quit IRC
[03:57:12] *** nickgs has quit IRC
[03:57:14] *** numenor has joined #angularjs
[03:57:37] *** AngularUI has joined #angularjs
[03:57:37] <AngularUI> [ng-grid] PaulL1 closed pull request #2452: Issue #2449 - Propagate $event object to rowSelectionChanged and rowSelectionChangedBatch. (master...2449) http://git.io/Rfh4cg
[03:57:37] *** AngularUI has left #angularjs
[03:58:30] *** scythe__ has quit IRC
[04:00:44] *** AngularUI has joined #angularjs
[04:00:44] <AngularUI> [ng-grid] PaulL1 pushed 2 new commits to master: http://git.io/rek9KA
[04:00:44] <AngularUI> ng-grid/master 1bc05eb Jarrod Payne: feat(cellnav): provide row option to disallow all cells from having focus...
[04:00:44] <AngularUI> ng-grid/master 85cd75b Paul: Merge pull request #2451 from jpdesigndev/add_row_focus_option...
[04:00:44] *** AngularUI has left #angularjs
[04:00:46] *** Silne30_ has joined #angularjs
[04:00:49] *** kapil__ has joined #angularjs
[04:00:54] <numenor> Off topic but, has anyone used riouxSVN ? How safe is it? Or do you people recommend some other repo for small projects?
[04:01:55] *** Silne30 has quit IRC
[04:02:14] *** WebDevOfDoom has quit IRC
[04:04:24] *** theotherguy has joined #angularjs
[04:04:26] *** whitebook has quit IRC
[04:07:22] *** slopjong has quit IRC
[04:07:39] *** a_ghost_irl has joined #angularjs
[04:07:55] *** hullihen has quit IRC
[04:08:29] *** robdubya has joined #angularjs
[04:08:37] *** Menorah has quit IRC
[04:08:51] *** joroc has joined #angularjs
[04:10:20] *** pehlert has joined #angularjs
[04:10:41] *** chiarito has joined #angularjs
[04:10:48] *** dman777_alter has quit IRC
[04:11:47] *** tristanp has quit IRC
[04:11:49] <qwerty2> the app is working! :-D
[04:12:10] *** Hackwar has joined #angularjs
[04:12:22] *** chiarito has quit IRC
[04:12:22] *** aven1 has quit IRC
[04:12:23] *** SargoDarya has joined #angularjs
[04:12:50] *** dman777_alter has joined #angularjs
[04:13:38] *** Hackwar1 has quit IRC
[04:13:40] <wafflej0ck__> qwerty2, nice congrats
[04:14:28] <wafflej0ck__> numenor, haven't used it, I use git on a VPS and recently added on gitlab to have a nice frontend for dealing with merges and simple issue tracking
[04:14:41] <numenor> Okay
[04:15:05] <wafflej0ck__> numenor, it's not a free option but you can do it for cheap and easily on digital ocean assuming you don't need a ton of space
[04:15:17] *** mikovec has joined #angularjs
[04:15:27] *** pehlert has quit IRC
[04:15:28] <numenor> Sure.. Will have a look
[04:15:46] *** Milkweed has quit IRC
[04:16:32] *** mikovec has quit IRC
[04:18:23] *** a_ghost_irl has quit IRC
[04:19:07] *** aguada has joined #angularjs
[04:20:15] *** aguada has quit IRC
[04:20:17] <robdubya> bonjour
[04:20:33] *** Zaza has quit IRC
[04:20:37] <wafflej0ck__> hola
[04:21:06] *** Zaza has joined #angularjs
[04:21:45] *** maikowblue has quit IRC
[04:22:57] *** faubert has joined #angularjs
[04:23:12] *** dman777_alter has quit IRC
[04:23:45] *** grumpyOldRussian has joined #angularjs
[04:25:12] *** dman777_alter has joined #angularjs
[04:26:10] *** faubert has quit IRC
[04:26:12] *** stickermule has quit IRC
[04:26:36] *** _Marty has quit IRC
[04:27:27] <fotoflo> 你好
[04:27:32] *** Aswebb_ has joined #angularjs
[04:27:49] *** DrMabuse has joined #angularjs
[04:28:20] *** grumpyOldRussian has quit IRC
[04:28:43] *** PeterMetz has joined #angularjs
[04:29:05] *** fedd has joined #angularjs
[04:29:09] *** codeman has quit IRC
[04:29:09] <jaawerth> bitbucker allows unlimited private repositories for small team sizes
[04:29:11] <jaawerth> er, bitbucket
[04:29:39] <wafflej0ck__> heh yeah bucket is better than bucker when it comes to your bits :)
[04:29:44] <jaawerth> hahaha
[04:29:45] <fotoflo> im having some wierd behavior with ui-sref-active and angular-ui-bootstrap tabs, type=“pills” - the first pill always displays as active, and when I load a page where another pill is active, both the first pill and the other pill show as active (though the state is loaded properly) — anyone seen this?
[04:29:49] <jaawerth> motherbucker
[04:29:52] *** jumpstracks has left #angularjs
[04:30:12] *** fedd has quit IRC
[04:30:34] <fotoflo> wafflej0ck_: You suggested I just use regular bootstrap, but i’ve opted not to load jquery yet...
[04:31:14] <jaawerth> fotoflo: well... what happens when you aren't using pills? what if you make an arbitrary class that, say, changes the color - does the same thing happen?
[04:31:30] <wafflej0ck__> fotoflo, oh I wasn't saying that
[04:31:45] <wafflej0ck__> fotoflo, I was saying use the bootstrap css only
[04:31:52] <wafflej0ck__> fotoflo, for the navbar part that is
[04:31:59] *** Aswebb_ has quit IRC
[04:32:14] *** DrMabuse has quit IRC
[04:32:16] <fotoflo> Here’s the relivant html btw: http://pastebin.com/w63p0A5N
[04:32:28] <jaawerth> yeah, personally I do that (well, SASS), and only add in bits from bootstrap/ui-bootstrap (or Foundation) as needed
[04:32:54] *** SargoDarya has quit IRC
[04:32:55] *** sooy has joined #angularjs
[04:33:06] <wafflej0ck__> fotoflo, http://leevernonlaw.com/ <-- check out the html for the elements panel for the navbar here
[04:33:32] *** PeterMetz has quit IRC
[04:34:20] *** seriema has joined #angularjs
[04:34:32] <wafflej0ck__> fotoflo, hmm yeah nothing standing out in your code immediately to me
[04:34:33] *** numenor has quit IRC
[04:34:42] <fotoflo> hmm, im not using this inside a navbar but rather on the left-hand-side
[04:34:43] *** Zebra111 has joined #angularjs
[04:34:45] <jaawerth> wafflej0ck_: hey, do you wrap all your modules in an IFFE? trying to figure out the best way to do that during the build process with gulp
[04:34:55] *** numenor has joined #angularjs
[04:35:00] *** sooy has quit IRC
[04:35:06] *** alpha080 has joined #angularjs
[04:35:10] *** Reskp has joined #angularjs
[04:35:11] <wafflej0ck__> jaawerth, yeah I just do it with a sublimetext snippet though no plugin for it
[04:35:35] <jaawerth> uh, interesting, the thought crossed my mind but I haven't looked into using sublime for it
[04:35:35] <wafflej0ck__> jaawerth, just made a sublime snippet that adds the IIFE and 'use strict'; so I can use linting/hinting more easily
[04:35:53] <jaawerth> what level does it do the wrapping on?
[04:35:58] *** michaelSharpe has joined #angularjs
[04:36:00] *** night-owl is now known as zz_night-owl
[04:36:21] *** AngularUI has joined #angularjs
[04:36:21] <AngularUI> [ng-grid] PaulL1 opened pull request #2454: Enh(cellNav) #2453: add unit tests to cellNav (master...2453_cellNav) http://git.io/drX5mA
[04:36:21] *** AngularUI has left #angularjs
[04:36:24] <jaawerth> I'm thinking I'd want it to wrap all the JS in components/*, so each component would have an IFFE
[04:36:27] *** AngularUI has joined #angularjs
[04:36:27] <AngularUI> [ng-grid] PaulL1 closed pull request #2454: Enh(cellNav) #2453: add unit tests to cellNav (master...2453_cellNav) http://git.io/drX5mA
[04:36:27] *** AngularUI has left #angularjs
[04:36:40] <wafflej0ck__> jaawerth, not sure exactly whatcha mean? it wraps everything in the file typically and yeah just do it to all the files
[04:36:49] <jaawerth> ahh, gotcha
[04:37:54] *** girad has joined #angularjs
[04:38:02] *** codeman has joined #angularjs
[04:38:29] <jaawerth> I'm attempting to do it in a way that will play nice with concat (so each component will be in an IFFE, allowing me to still split things up between files), but if I can't find an easy solution I'll likely just do that
[04:38:34] *** seriema has quit IRC
[04:38:55] *** aven1 has joined #angularjs
[04:39:06] <jaawerth> I was thinking I'd just need to do something in gulp before ng-annotate in the stream, the trick is I'm globbing both app/ and components/ and would have to separate the streams for that
[04:39:25] *** kroogs has quit IRC
[04:39:28] <jaawerth> well, and identify when I've hit a top-level dir in components
[04:39:32] *** girad has quit IRC
[04:39:42] *** Reskp has quit IRC
[04:40:22] <jaawerth> seems like angular is doing it this way, but if so I bet they're doing something with the closure compiler
[04:40:28] <wafflej0ck__> yeah globbing and order don't mix it seems :) suppose you can do what they do in ubuntu config files and name things with a numeric prefix but seems ugly
[04:40:37] *** rickhanlonii has joined #angularjs
[04:40:38] <fotoflo> hmm, seems i cant fix that without re-doing that whole section of code… next. I have a $state.go(‘/login’) thats executing, but not changing state, anyone see something like that before?
[04:41:35] <jaawerth> well, the order's fine - I worked around that by putting the module declaration in components/foo and then all the other js in a js/ subfolder
[04:42:07] *** meno has joined #angularjs
[04:42:19] *** joroc has quit IRC
[04:42:26] <wafflej0ck__> jaawerth, ah right on.. yeah I've just manually managed my script inclusion so far but good to know that sounds like a simple solution
[04:42:42] <jaawerth> yeah. finding the endpoint is a bit tougher though
[04:43:23] <fotoflo> state problem: http://pastebin.com/Eqy7YrnY
[04:43:24] *** jamto11 has joined #angularjs
[04:43:25] *** Silne30_ has quit IRC
[04:43:27] *** gunn has quit IRC
[04:43:29] *** meno has quit IRC
[04:43:49] <jaawerth> ?
[04:43:52] <wafflej0ck__> fotoflo, you drop a debugger; line in that then callback
[04:44:05] <fotoflo> wafflej0ck__: i did, that state.go is getting executed
[04:44:39] <fotoflo> if i inject $state into a controller and pull the controller into the console, i can change the state with that line
[04:45:14] <jaawerth> no, drop a debugger line in that specific callback, then step through to see what happens
[04:45:36] *** zumba_addict has joined #angularjs
[04:45:39] <jaawerth> like, do you have any state event listeners that might be doing preventDefault or calling another redirect somewhere?
[04:45:40] <fotoflo> i have, right before the $state.go
[04:45:50] *** AngularUI has joined #angularjs
[04:45:50] <AngularUI> [ng-grid] PaulL1 opened pull request #2455: Enh(edit) #2453: enableCellEdit settable on gridRow, doco but no unit te... (master...2453_edit) http://git.io/xrSyyA
[04:45:50] *** AngularUI has left #angularjs
[04:46:20] *** rubio has joined #angularjs
[04:46:27] <fotoflo> jaawerth: i dont think so, no. I have some defaults prevented
[04:46:30] <fotoflo> somewhere else
[04:46:34] <fotoflo> but not for state stuff
[04:46:40] *** cthrax has quit IRC
[04:46:47] <jaawerth> actually two things
[04:46:58] <jaawerth> first, how come the state itself is called '/login' instead of just 'login'?
[04:47:11] <jaawerth> I don't know how state names react to a backslash, but it may or may not be relevant
[04:47:30] *** rubio has quit IRC
[04:47:52] <jaawerth> (if this is some ui-router trick I don't know, then.. whoops, revealing my ignorance!)
[04:48:13] *** jamto11 has quit IRC
[04:48:42] *** avree has joined #angularjs
[04:49:06] *** anivemin has joined #angularjs
[04:49:07] <fotoflo> jaawerth: i changed it to ‘login’ and also changed it in another place in the code (inside the logout function, which works!)
[04:49:17] <wafflej0ck__> yeah don't think there should be a / in the state name
[04:49:23] <fotoflo> jaawerth: no diff
[04:49:24] <wafflej0ck__> good catch
[04:49:40] <fotoflo> its just a string
[04:50:10] *** grunin has joined #angularjs
[04:50:49] <jaawerth> yeah but ui-router parses that string
[04:50:49] *** avree has quit IRC
[04:51:12] <jaawerth> so you're saying it works when you call the state in other places besides your .run?
[04:51:34] <jaawerth> or rather, $state.go('login') works when called in other places than your run block?
[04:51:52] *** grunin has quit IRC
[04:53:47] *** codeman has quit IRC
[04:53:54] *** anivemin has quit IRC
[04:54:13] *** cthrax has joined #angularjs
[04:54:18] <jaawerth> I'd probably, in the same run block (before calling $state.go) put in an event listener for $stateChangeStart and/or $stateChangeSuccess, maybe see if anything is going rogue on you with the state changing
[04:54:22] <fotoflo> jaawerth: the other
[04:54:33] <fotoflo> i found a way to debug
[04:54:42] <fotoflo> i
[04:54:44] <fotoflo> $state.go('login') works when called in other places than your run block?
[04:54:46] *** bambino has joined #angularjs
[04:54:46] <fotoflo> yes
[04:54:52] *** rickhanlonii has quit IRC
[04:54:53] <fotoflo> var a = $state.go('login');
[04:54:54] <fotoflo> debugger;
[04:55:05] <fotoflo> then in debugger set (global) b = a
[04:55:07] <jaawerth> where are you doing that?
[04:55:18] <fotoflo> Promise {$$state: Object, then: function, catch: function, finally: function}$$state: Objectstatus: 2value: Error: transition supersededmessage: "transition superseded"
[04:55:25] <fotoflo> transition superseded
[04:55:57] *** bambino has quit IRC
[04:56:37] <jaawerth> yep, that means you've got warring state transitions going on
[04:56:41] <jaawerth> try that event listener
[04:56:43] *** declanqian has joined #angularjs
[04:56:58] *** dman777_alter has quit IRC
[04:58:29] *** AngularUI has joined #angularjs
[04:58:29] <AngularUI> [ng-grid] PaulL1 opened pull request #2456: Enh(exporter) #2453: exporter supports disabled rows (master...2453_exporter) http://git.io/9S1WXQ
[04:58:29] *** AngularUI has left #angularjs
[04:59:21] <fotoflo> jaawerth: cool. it’s going to the ‘/‘ state (because the url is /#/
[05:00:21] *** JesseH has joined #angularjs
[05:01:43] *** Jameser has joined #angularjs
[05:02:07] <jaawerth> huh. weird that they would fight in that case. your $urlRouterProvider.otherwise isn't in a different module than your $state.go('login'), is it?
[05:02:25] <jaawerth> or do you have something else trying to afix the path to /#/?
[05:04:55] <fotoflo> no the otherwise is at the top of the file
[05:05:21] *** patrickarlt has quit IRC
[05:07:25] *** qwerty2 has quit IRC
[05:07:44] <fotoflo> you can see it in that pastebin
[05:07:55] <jaawerth> hm. well, that alone shouldn't make a difference, nor should the otherwise
[05:07:57] <jaawerth> that's why I was asking
[05:08:00] <fotoflo> perhaps the otehrwise should say ‘main' (not ‘/‘
[05:08:12] <jaawerth> no, the '/' is right
[05:08:22] *** cesarkawakami has quit IRC
[05:08:24] <jaawerth> http://plnkr.co/edit/fKwX2Z2uJ75CMsrq8InH?p=preview
[05:08:53] *** joroc has joined #angularjs
[05:10:12] <jaawerth> hmm.. derp
[05:10:21] <jaawerth> it may have something to do with that promise
[05:10:39] <jaawerth> what's that isAuthenticated function doing?
[05:11:13] *** fedenunez has quit IRC
[05:11:17] <jaawerth> if it's doing something async, could be that another state transition is happening when the promise resolves and your state.go tries to fire
[05:11:22] <jaawerth> or.. something like that
[05:11:31] *** pehlert has joined #angularjs
[05:11:34] *** aven1 has quit IRC
[05:12:13] <fotoflo> jaawerth: yeah it goes to the server and back...
[05:12:19] <fotoflo> checking if the user is authenticated
[05:14:52] <jaawerth> weird. I think I'm running into limits on how well I can debug this sight unseen
[05:14:59] <jaawerth> sounds like you're on the right track though
[05:15:35] <jaawerth> the delayed promise would really just delay the transition as long as that $state.go is actually being called. I am a little confused by the syntax though
[05:15:48] <jaawerth> so .isAuthenticated is resolved even if the user isn't authenticated?
[05:15:54] *** pehlert has quit IRC
[05:17:50] *** rickhanlonii has joined #angularjs
[05:20:06] *** nahoskins has joined #angularjs
[05:20:23] *** AngularUI has joined #angularjs
[05:20:24] <AngularUI> [ng-grid] PaulL1 opened pull request #2457: Enh(selection) #2453: enableSelection at gridRow level (master...2453_selection) http://git.io/OVTRqg
[05:20:24] *** AngularUI has left #angularjs
[05:20:31] *** AngularUI has joined #angularjs
[05:20:31] <AngularUI> [ng-grid] PaulL1 pushed 2 new commits to master: http://git.io/vW8xBw
[05:20:31] <AngularUI> ng-grid/master bac0a89 Paul Lambert: Enh(selection) #2453: enableSelection at gridRow level
[05:20:31] <AngularUI> ng-grid/master f5d4921 Paul: Merge pull request #2457 from PaulL1/2453_selection...
[05:20:31] *** AngularUI has left #angularjs
[05:21:29] <nahoskins> far too much mulled wine to attempt anything remotely prdouctive
[05:21:45] <nahoskins> I hope you are all similarly impaired on this fine Boxing Day
[05:22:30] <nahoskins> I will be looking at yo generators tomorrow morning, trying to make ammends to my tortured motivational instincts I reckon...
[05:22:47] <fotoflo> jaawerth: yes with $q.when(false)
[05:22:53] *** JesseH has quit IRC
[05:23:05] <fotoflo> jaawerth: in fact in this case its not delayed
[05:23:53] <jaawerth> then probably unrelated
[05:24:01] <nahoskins> far too much mulled wine to attempt anything remotely prdouctive
[05:24:04] *** mrru has joined #angularjs
[05:24:16] <jaawerth> you gotta have a rogue transition or preventDefault somewhere
[05:24:28] *** oniijin has quit IRC
[05:24:51] <nahoskins> I hope you are all similarly impaired on this fine Boxing Day
[05:27:53] *** scriptThis has quit IRC
[05:28:18] *** mrru has quit IRC
[05:28:36] *** DrMabuse has joined #angularjs
[05:29:48] *** PeterMetz has joined #angularjs
[05:30:10] *** SargoDarya has joined #angularjs
[05:30:23] <fotoflo> jaawerth: ughgh. i just went thought the entire codebase, removed all prevent defaults and other state changes. nada
[05:30:26] <fotoflo> still no go
[05:31:51] *** ome has quit IRC
[05:32:33] <robdubya> fotoflo http://plnkr.co/edit/I03mXKCZpzupn8WAk0tH?p=preview <- auth w/ ui-router + resolve
[05:33:19] *** DrMabuse has quit IRC
[05:33:23] *** mary5030 has joined #angularjs
[05:34:12] *** PeterMetz has quit IRC
[05:34:12] *** Shai_Tan has quit IRC
[05:34:13] <fotoflo> whats the resolve
[05:34:14] <fotoflo> ?
[05:34:18] <jaawerth> that's good advice
[05:34:32] <jaawerth> still kinda want to know what your verdict is though
[05:34:33] <jaawerth> heh
[05:34:45] *** Shai_Tan has joined #angularjs
[05:34:52] *** SargoDarya has quit IRC
[05:34:52] *** cody-- has quit IRC
[05:35:04] *** sptq has quit IRC
[05:35:04] *** GitNick has quit IRC
[05:35:13] *** seriema has joined #angularjs
[05:35:30] <jaawerth> robdubya: Hey, do you do the trick with putting your resolve on the actual controller object? I stumbled upon it the other day and thought it was brilliant
[05:35:43] <robdubya> hmm?
[05:35:57] <robdubya> you mean as a property on the controller?
[05:36:00] *** Reskp has joined #angularjs
[05:36:08] *** rickhanlonii has quit IRC
[05:36:12] <robdubya> like... uh, this.resolve = function(User){ ...
[05:36:44] <jaawerth> robdubya: check this out - under "Controller.resolve property"
[05:37:03] <jaawerth> and, uh, //recommended (you would have found that anyway, but..)
[05:37:32] *** GitNick has joined #angularjs
[05:37:33] *** sptq has joined #angularjs
[05:37:52] *** Z3R0 has joined #angularjs
[05:38:07] *** RangerRick has quit IRC
[05:38:07] <jaawerth> you just add the resolve block as a property to the controller, so the injected resolve deps are with the controller object itself. I thought it was really elegant
[05:38:27] <jaawerth> only situation I'd see where you wouldn't want it is if you're using the same controller for different routes, but... that is very rare for me, barring params
[05:38:42] <jaawerth> (and even then they should have the same resolves, usually)
[05:39:01] *** sbellina has joined #angularjs
[05:39:01] *** aven1 has joined #angularjs
[05:39:01] *** Z3R0 has left #angularjs
[05:39:05] *** ziyadb has quit IRC
[05:40:14] *** Reskp has quit IRC
[05:40:41] *** seriema has quit IRC
[05:40:58] <robdubya> where am i looking?
[05:40:58] *** RangerRick has joined #angularjs
[05:41:22] <jaawerth> ... damnit my copy paste failed
[05:41:22] <jaawerth> haha
[05:41:34] <jaawerth> https://github.com/toddmotto/angularjs-styleguide#routing-resolves
[05:42:22] *** joroc has quit IRC
[05:42:42] *** mary5030 has quit IRC
[05:43:05] *** gunn has joined #angularjs
[05:43:16] *** mary5030 has joined #angularjs
[05:43:30] <fotoflo> ok guys, thanks for the help. I’m going to step out for a bit, let you know if i get it working :-)
[05:43:34] <wafflej0ck__> jaawerth, hmm seems like a pretty good idea if you're using resolves
[05:43:53] *** fotoflo has quit IRC
[05:44:20] *** jamto11 has joined #angularjs
[05:44:31] <jaawerth> I thought so! If you're manually annotating your injections (which is usually a good idea anyway), you could do the resolve on the next line, too
[05:45:57] *** burzum has joined #angularjs
[05:46:46] *** robdubya has quit IRC
[05:47:11] <jaawerth> one thing I don't like is people doing controllerAs: 'vm' everywhere. It makes sense on the top level or on levels where you don't want inheritance, but other than that it seems to me like it's killing half the benefit of using controllerAs
[05:47:38] *** mary5030 has quit IRC
[05:47:41] <jaawerth> though I can get behind controllerAs: 'vm' basically everywhere you want to start a new inheritance tree
[05:47:56] *** burzum2 has quit IRC
[05:48:47] *** jamto11 has quit IRC
[05:52:01] *** csgeek has left #angularjs
[05:53:27] *** robdubya has joined #angularjs
[05:54:24] <robdubya> jaawerth isn't that going to throw an undefined?
[05:54:37] <robdubya> oh
[05:54:38] <robdubya> wait
[05:54:44] <robdubya> same file
[05:54:47] <robdubya> weird
[05:54:51] <jaawerth> eh?
[05:54:52] *** michaelSharpe has quit IRC
[05:55:04] <jaawerth> no, you just define controller.resolve where you define the controller
[05:55:32] <jaawerth> and then over in $stateProvider land you just.. oh wait, I see what you mean
[05:55:35] <robdubya> didnt know you could do it. interesting pattern.
[05:55:49] <robdubya> so it makes sense only if you define all of it that way
[05:55:58] <wafflej0ck__> jaawerth, well this wouldn't work out well with the IIFE since it depends on the "Global" controller definition
[05:56:04] <jaawerth> it does kinda fall apart if your controller registration is in a different closure
[05:56:14] <jaawerth> er, yeah, what you said
[05:56:49] <jaawerth> though...
[05:56:53] <robdubya> gotta disagree with mr motto on that one
[05:57:30] *** ChadStrat has joined #angularjs
[05:57:32] *** s00pcan_ has quit IRC
[05:58:56] <jaawerth> actually
[05:59:10] <jaawerth> you could just retrieve the controller's constructor, couldn't you?
[05:59:21] *** s00pcan has joined #angularjs
[05:59:31] *** mary5030 has joined #angularjs
[05:59:56] <robdubya> it depends on your state config and your controller config being in the same file, which i pretty much do never
[05:59:58] <robdubya> iunno
[06:00:01] *** charuru has quit IRC
[06:00:23] *** tristanp has joined #angularjs
[06:00:42] *** whitebook has joined #angularjs
[06:01:04] *** TheAceOfHearts has quit IRC
[06:01:41] <jaawerth> no no
[06:01:42] *** charuru has joined #angularjs
[06:01:59] <jaawerth> I've never done it, but presumably you should be able to retrieve a controller without instantiating it
[06:02:20] *** nemothekid has joined #angularjs
[06:03:12] *** bmac has joined #angularjs
[06:03:17] *** numenor has quit IRC
[06:03:44] *** cotko has joined #angularjs
[06:04:01] <jaawerth> might be getting too complicated for a minor benefit, though :-\
[06:04:30] *** kalz has quit IRC
[06:04:42] *** tristanp has quit IRC
[06:04:44] <robdubya> if you could do 'Ctrl.resolve' as a string, that would be betta
[06:05:22] *** whitebook has quit IRC
[06:05:36] <jaawerth> yeah
[06:05:55] <jaawerth> would have to hack $stateProvider for it, but it would be awesome
[06:06:09] *** cthrax has quit IRC
[06:06:20] *** mary5030 has quit IRC
[06:06:55] *** mary5030 has joined #angularjs
[06:07:18] *** s00pcan_ has joined #angularjs
[06:07:19] *** bmac has quit IRC
[06:07:54] *** nemothekid has quit IRC
[06:08:18] <wafflej0ck__> robdubya, I just got a betta (fish), his name is Charlie
[06:08:22] *** flucas has joined #angularjs
[06:09:53] <jaawerth> actually, I'd probably want to be able to just do '.resolve' to have it look on the registered controller, and 'foo.resolve' have it green the resolve from the foo controller
[06:10:18] <robdubya> lets bug ctanga about it on monday :D
[06:10:23] *** flucas has quit IRC
[06:10:24] *** rihbyne has joined #angularjs
[06:10:27] <jaawerth> yuss
[06:10:30] <rihbyne> hello guys
[06:11:10] *** snurfery has joined #angularjs
[06:11:24] *** mary5030 has quit IRC
[06:11:31] <robdubya> hallo
[06:12:20] *** pehlert has joined #angularjs
[06:12:38] *** grumpyOldRussian has joined #angularjs
[06:12:56] *** snurfery has quit IRC
[06:14:10] *** RedOrangeZ has joined #angularjs
[06:14:40] <wafflej0ck__> robdubya, you settle in any better at the new job?
[06:15:16] <jaawerth> I'm writing a material-icons module, since angular-material lacks the icons. its directive (for svgs, anyway) is gonna insert the svg icons inline as templates - think it'd be better to use templatCache or create a separate cache for the icons?
[06:15:23] *** Weezey has quit IRC
[06:15:39] *** vbabiy has joined #angularjs
[06:16:06] <robdubya> gettin there!
[06:16:09] *** Weezey has joined #angularjs
[06:16:22] *** Aswebb_ has joined #angularjs
[06:16:52] *** pehlert has quit IRC
[06:16:55] <wafflej0ck__> jaawerth, suppose just use $templateCache can't think of a reason not to really
[06:16:57] *** grumpyOldRussian has quit IRC
[06:17:19] <robdubya> https://github.com/iconic/SVGInjector somebody at work showed me this
[06:17:21] *** mmealling has joined #angularjs
[06:17:27] *** jamto11 has joined #angularjs
[06:17:28] <robdubya> not angular specific
[06:18:19] <rihbyne> guys,how long will it take me to become familiar with angularJS if I have jquery background
[06:18:23] <jaawerth> hm.. do you think there's a benefit to that over just taking advantage of what angular's already got going for it?
[06:18:37] *** sbellina has quit IRC
[06:18:47] <wafflej0ck__> rihbyne, you find this already? http://stackoverflow.com/questions/14994391/thinking-in-angularjs-if-i-have-a-jquery-background
[06:19:02] <rihbyne> yes wafflej0ck__
[06:19:05] <wafflej0ck__> rihbyne, you ever work with another MVC type system like Silverlight or Flex or other stuff I don't know about?
[06:19:12] <robdubya> jaawerth iunno really
[06:19:36] *** AlSquire has quit IRC
[06:19:54] <jaawerth> I think angular's template capability would be ideal - on the dev/optimization side, you could also make use of ngHtml2js to easily process any common SVGs into preloadable templates
[06:20:03] <rihbyne> so far I have read and extend code from mannig book "single page applications" but have never used client MVC frameworks
[06:20:54] <wafflej0ck__> rihbyne, I come from a Flex background took me about 2 months to have some idea of what the heck was going on and about 6 months to feel comfortable with most of the framework, still learning things as they evolve though, sure you can do it faster if you push harder and don't have projects to get out the door too though, I wasn't a strong JS developer but had done JS many moons ago
[06:20:57] *** Aswebb_ has quit IRC
[06:20:57] *** fotoflo has joined #angularjs
[06:21:22] *** ChadStrat has quit IRC
[06:21:35] <jaawerth> I think a lot of it also depends on your level of knowledge/comfort with javascript as a language. there are some key concepts (prototypical inheritance, the nature of javascript's ability to treat functions as first-class objects to be passed around, constructors/prototypes, the copy-by-reference/copy-by-value behavior) that really demystify it if you go in with familiarity with those things
[06:21:42] <wafflej0ck__> rihbyne, it depends on where you expect to be though in terms of writing all the code yourself or being a developer on a team under a lead
[06:21:59] *** TheAceOfHearts has joined #angularjs
[06:22:11] <rihbyne> wafflej0ck__: we have code in twiiter bootstrap,jquery so what the ideal way of porting existing html pages to angular?
[06:22:48] <jaawerth> the main thing to keep in mind is that in angular, there really shouldn't be any raw jquery selectors being used anywhere outside of a directive. you still use jquery a lot, but wrapped in directives
[06:22:53] <wafflej0ck__> rihbyne, you can do it piecewise but I really recommend just learning angular on it's own with a tutorial project on the side and do a few of those before making a branch to start updating your code
[06:23:13] <jaawerth> (or jqlite, as it were, which is just a faster, lighter subset of jquery with certain functionality stripped out)
[06:23:22] <wafflej0ck__> and like jaawerth said jQuery stuff typically goes into directives, in many cases you can find existing code to do it for you
[06:23:42] *** saeturn has joined #angularjs
[06:24:15] *** nemothekid has joined #angularjs
[06:25:23] <jaawerth> it's a little risky to learn and incorporate into a project on-the-fly, since your first can easily lead to delays or certain mistakes that are hard to avoid if you don't have someone experienced to steer you away from them
[06:26:01] <jaawerth> not impossible though - I did it! the resulting app worked, but I cringe looking back at the code. I definite broke some taboos
[06:26:05] <jaawerth> definitely*
[06:26:15] *** kalz has joined #angularjs
[06:26:15] <robdubya> https://www.youtube.com/watch?v=eUFY8Zw0Bag
[06:26:37] <wafflej0ck__> yeah my first app was a total wreck too looking back on it, so good to do that to something that doesn't matter so you don't have to come back to it in a year
[06:26:37] *** whunt has joined #angularjs
[06:26:51] *** declanqian has quit IRC
[06:27:19] <jaawerth> wafflej0ck_: the only reason why I might want a separate cache that I can think of is if I wanted to cache them without the full path - it might help avoid possible collisions
[06:27:21] *** Bade has joined #angularjs
[06:27:53] <jaawerth> then again, collisions would be unlikely if icons are the only things for which you're stripping the path
[06:28:07] *** uris77 has quit IRC
[06:29:12] *** torartc has joined #angularjs
[06:29:22] *** DrMabuse has joined #angularjs
[06:29:34] <jaawerth> it'd probably be better to just abstract the path into a service with a basepath and pathbuilder thing anyway
[06:30:30] *** PeterMetz has joined #angularjs
[06:30:51] <jaawerth> robdubya: that svg module is nice though, bookmarked it for my next non-angular project
[06:31:05] *** freeAir has joined #angularjs
[06:32:04] *** SargoDarya has joined #angularjs
[06:32:52] *** tSpartak has quit IRC
[06:34:02] *** DrMabuse has quit IRC
[06:34:26] *** fotoflo has quit IRC
[06:34:28] *** cotko has quit IRC
[06:35:18] *** PeterMetz has quit IRC
[06:35:43] <wafflej0ck__> non-angular project == sin
[06:36:03] *** metasansana has quit IRC
[06:36:12] *** seriema has joined #angularjs
[06:36:32] *** rickhanlonii has joined #angularjs
[06:36:37] *** stephen has joined #angularjs
[06:36:40] *** Reskp has joined #angularjs
[06:37:12] *** TheAceOfHearts has quit IRC
[06:37:38] <wafflej0ck__> was going to make a joke about not being able to run it on an Arduino and therefore it being useless but of course I could serve it from an Arduino http://arduino.cc/en/Tutorial/WebServer
[06:37:53] *** anivemin has joined #angularjs
[06:38:05] <jaawerth> ha
[06:38:06] <wafflej0ck__> not sure the library would fit in the memory you get on one of these suckers though
[06:39:14] <jaawerth> well, I kinda want to play around with Require + the Object.observe thing I've been toying with + something for the view (maybe something as simple as webcomponents + lodash templates)
[06:39:28] <robdubya> i'm doing everything at work in es6 + di.js + systemjs now
[06:39:39] *** fotoflo has joined #angularjs
[06:39:41] <jaawerth> interesting
[06:39:42] <robdubya> wrapping that shit for angular. future proof mothafuckasss
[06:40:07] <jaawerth> seems to work fine with the polyfills?
[06:40:19] *** websastra has joined #angularjs
[06:40:21] <robdubya> works great
[06:40:22] <robdubya> using:
[06:40:27] <robdubya> github/fetch polyfill
[06:40:28] <robdubya> di.js
[06:40:36] <robdubya> SystemJS for loading
[06:40:42] <websastra> how to bind data
[06:40:51] <robdubya> web workers
[06:40:53] *** seriema has quit IRC
[06:40:54] <jaawerth> ah, so it's still using angular?
[06:41:06] <robdubya> its a sort of internal SDK
[06:41:06] <wafflej0ck__> websastra, ng-model in general
[06:41:16] <robdubya> so one build process outputs an angular module / provider
[06:41:25] <robdubya> but works in polymer / react/ whatever
[06:41:34] <jaawerth> hrm
[06:41:34] *** Reskp has quit IRC
[06:41:37] <websastra> yes how can i bind data from databse in asp.net
[06:41:41] <jaawerth> what devices is this for?
[06:41:46] <wafflej0ck__> websastra, <input type="text" ng-model="myModel.thing"> {{myModel.thing}}
[06:41:54] <wafflej0ck__> websastra, use AJAX $http to fetch data from the server
[06:42:05] <robdubya> browser / android / maybe iOS if i do it right
[06:42:09] <wafflej0ck__> websastra, if you're new to angular do a tutorial first to get familiar with the parts
[06:42:11] *** anivemin has quit IRC
[06:42:26] <jaawerth> hm. are you polyfilling Object.observe somehow? or using something that falls back to dirty-checking?
[06:42:30] *** mmealling has quit IRC
[06:42:35] <robdubya> i'm working out a custom Annotation for x-platform polyfill (like, inject this for android, this for browser)
[06:42:53] <robdubya> nope - in angularland its just like anything else
[06:43:09] <jaawerth> oh, sounded like it wasn't strictly angularland
[06:43:15] <websastra> no i was using anglar js in html but not in .net
[06:43:22] <robdubya> so its really a bunch of services, the view/databinding bit is up to whatever front ned
[06:43:23] *** tschunde_ has quit IRC
[06:43:31] <jaawerth> websastra: angular is client-side, I think that's the disconnect you're having
[06:43:55] <jaawerth> it all runs in the browser, so you still need to make http requests (or websockets or something hooked up to your server's API) to retrieve the data - it doesn't bind directly
[06:44:00] <jaawerth> not until someone builds a proper ORM anyway
[06:44:01] <wafflej0ck__> websastra, yeah your server side .net stuff shouldn't have anything to do with AngularJS the data binding is for client side updates to the model to be reflected int he view
[06:44:34] *** websastra has quit IRC
[06:44:44] <wafflej0ck__> websastra, firebase.io attempts to provide another two way binding that ties into a server but isn't good for all use cases, but you want an API using JSON between the server/client to send data (arrays/objects)
[06:44:56] *** rickhanlonii has quit IRC
[06:46:08] <robdubya> sorta figured with all the new shit on the horizon (es6/ng2/polymer/WC/etc) it would be a bad idea to build the entire thing tied to angular
[06:46:19] <jaawerth> ahh I see
[06:46:32] <jaawerth> so none of it is angular-specific, exactly, but everything you're using it with is still angularific
[06:46:46] <robdubya> yup
[06:46:54] *** tschund__ has joined #angularjs
[06:47:06] <robdubya> kinda like, say, the google maps JS sdk
[06:47:53] *** jamto11 has quit IRC
[06:48:18] <robdubya> angular wrapper looks like https://gist.github.com/robwormald/dd0ea4e2fb2b48ef53eb
[06:48:53] *** nya has quit IRC
[06:49:17] *** MistahKurtz has joined #angularjs
[06:53:03] *** metasansana has joined #angularjs
[06:53:34] *** SargoDarya has quit IRC
[06:53:41] <jaawerth> I kinda want to see what happens to performance in angular if I replace scope.$watch with a version of that Object.observe thing I've been playing with
[06:54:21] *** cthrax has joined #angularjs
[06:54:36] *** vbabiy has quit IRC
[06:55:06] <jaawerth> well, a version of it. I think I'd have to integrate it with the digest cycle by having the digest run through a queue of "change" objects on each digest - stuff would be enqueued upon the actual change to the objects/properties and emptied on the digest
[06:55:29] <robdubya> yeah, be a bit tricky
[06:55:35] <jaawerth> main benefit is, no need to run individual dirty-checking on any values - you'd just have to let it check if there's anything in the queue
[06:55:51] <robdubya> what i'm finding tbh, is once you have DI in place, angular feels a lot less important
[06:55:59] <jaawerth> well...
[06:56:16] <jaawerth> honestly, once you bring in ES6 half of angular's current capabilities are actually redundant
[06:56:25] <jaawerth> it really exists to bring a lot of that stuff into current browsers
[06:56:30] <rihbyne> jaawerth: wafflej0ck__ whoa!I am confused about which directory structure to go for. there are so many options
[06:56:55] <jaawerth> one of the reasons 2.0 is so different, I think
[06:57:01] <robdubya> i'm liking polymer now i sorta get it. and ng2 makes a loooot more sense
[06:57:07] <wafflej0ck__> rihbyne, heh don't worry too much about that at first, most of us do the folder per function type structure
[06:57:09] <rihbyne> should I go with yeoman generated directory.
[06:57:25] *** Menorah has joined #angularjs
[06:57:28] <jaawerth> I don't even know what the regular yeoman-generated structure looks like these days
[06:57:32] <wafflej0ck__> rihbyne, it's not a bad starting point just to get your feet wet and not have to fumble with grunt config too much initially
[06:57:52] *** SeeThruHead has quit IRC
[06:57:53] <jaawerth> generator-gulp-angular does a pretty nice job of getting it (almost) right, though
[06:58:05] <rihbyne> I am just starting with a tutorial app
[06:58:13] <jaawerth> yeah, dont' sweat it then
[06:58:35] <jaawerth> go with the standard structure. eventually you'll get enough of a feel for it that you'll start having opinions and maybe looking into the styleguides on the subject
[06:58:35] *** SeeThruHead has joined #angularjs
[06:58:39] <rihbyne> but tutorial has yeoman,grunt and bower involved
[06:58:44] <jaawerth> but trying to use a styleguide now would just distract you
[06:59:11] <jaawerth> rihbyne: yeah, just go with that. the reason they do that is so you don't get overloaded with minutiae upfront
[06:59:25] <rihbyne> okay got you.thanks.
[06:59:30] <jaawerth> sure
[06:59:35] <wafflej0ck__> yeah project structure only matters once you get into a bigger project
[06:59:39] *** jaydubya has quit IRC
[06:59:45] <rihbyne> okay
[06:59:51] <wafflej0ck__> and really is about establishing conventions for your team
[06:59:54] <jaawerth> and the build process is so forgiving you can often even change how you organize stuff mid-project without anything breaking
[07:00:04] *** nya has joined #angularjs
[07:00:16] *** jaydubya has joined #angularjs
[07:01:48] *** TheAceOfHearts has joined #angularjs
[07:02:09] *** fotoflo has quit IRC
[07:02:22] <jaawerth> robdubya: I kinda want to give polymer a spin next
[07:02:30] <robdubya> its pretty neato
[07:02:47] <jaawerth> though I'd also like to play around with wiring together smaller frameworks to see what I can make, just for fun
[07:03:01] <jaawerth> like plugging react into something that handles DI and data-binding
[07:03:20] *** SeeThruHead has quit IRC
[07:03:23] <jaawerth> well not so much "fun" as "to tinker"
[07:03:48] <robdubya> i'm gonna do a sails-polymer thing i think next
[07:04:01] <TheAceOfHearts> I made an isomorphic website~
[07:04:03] <TheAceOfHearts> it's baller :D
[07:04:06] <TheAceOfHearts> super fast
[07:04:10] <wafflej0ck__> sorry what's the difference between polymer and material design, I may have asked this before?
[07:04:22] <TheAceOfHearts> polymer is just web components
[07:04:24] <robdubya> material design is a philosophy
[07:04:31] <TheAceOfHearts> material design is a design guideline
[07:04:37] *** jaydubya has quit IRC
[07:05:12] <robdubya> polymer is ~ angular - its the 'framework'
[07:05:23] <jaawerth> it also happens to be the name of the module for angular's port of... paper elements?
[07:05:35] <robdubya> polymer paper is an implementation of material philosophy in polymer
[07:05:53] <robdubya> angular | ngMaterial || polymer | paper elements
[07:05:54] <jaawerth> right, right
[07:06:05] <TheAceOfHearts> http://material-ui.com/#/ implemented in react :)
[07:06:08] <jaawerth> they shouldn't have called it material if material is the philosophy
[07:06:13] <jaawerth> they should have called in ngPaper
[07:06:15] <robdubya> https://www.polymer-project.org/docs/elements/
[07:06:23] <jaawerth> (that's probably taken)
[07:07:24] <jaawerth> oh! so I was playing with quill the other day and noticed it has stuff for operational transformation
[07:07:36] <robdubya> the problem with polymer is its really DOM focused, like <core-ajax url="foo.json" > focused
[07:07:46] <TheAceOfHearts> yeah
[07:07:49] <robdubya> which is where ng2 comes in
[07:08:00] <TheAceOfHearts> but react is so faaaast~
[07:08:22] *** TeddyMurray has quit IRC
[07:08:31] <stephen> And easy, like your mom
[07:08:35] <TheAceOfHearts> lol
[07:08:38] <robdubya> oh snap
[07:08:50] *** kroogs has joined #angularjs
[07:09:44] <robdubya> http://material-ui.com
[07:09:59] <jaawerth> TheAceOfHearts: what are you using with react for DI/binding?
[07:10:12] <robdubya> its weird, i'm okay with compiling my js, but react's jsx bugs me
[07:10:12] <TheAceOfHearts> DI and bindings aren't needed
[07:10:23] <TheAceOfHearts> flux is simpler :p
[07:10:37] <jaawerth> ugh
[07:10:38] <jaawerth> you fail
[07:10:39] <TheAceOfHearts> dunno, haven't found any bugs yet
[07:10:40] <jaawerth> FAIL
[07:10:40] <TheAceOfHearts> lol
[07:10:52] <TheAceOfHearts> so, bindings are just calling render
[07:11:04] <stephen> robdubya: AMEN
[07:11:07] <TheAceOfHearts> and if something changes you just need to notify it
[07:11:27] <TheAceOfHearts> the only place where you should have two-way bindings is inputs
[07:11:38] <TheAceOfHearts> and for inputs there is a way to listen on em
[07:11:44] <TheAceOfHearts> I haven't played with it
[07:11:48] <stephen> I'm actually getting slightly annoyed with directives and polymer now that I understand that 90% of web components can already be done it you have requirejs
[07:12:13] <robdubya> (or es6 modules and systemJS)
[07:12:18] *** tschund__ has quit IRC
[07:12:27] <robdubya> because i despise requireJS :o
[07:12:31] <TheAceOfHearts> I dunno, flux+react seems a lot simpler and nicer
[07:12:33] <stephen> But in my particular case I'm battling with developers who dont understand you don't need iframes to serve cross-domain components
[07:12:36] <TheAceOfHearts> angular is too complicated
[07:12:45] <TheAceOfHearts> I read through all the fluxible modules from yahoo in an evening
[07:12:47] <stephen> I love angular
[07:12:53] <TheAceOfHearts> and all of react's docs in another evening
[07:12:54] *** torartc has quit IRC
[07:13:05] <stephen> But I want to develop components with AMD modules backing them
[07:13:06] *** pehlert has joined #angularjs
[07:13:12] <stephen> IUt just seems... nice
[07:13:22] <TheAceOfHearts> I'm using CommonJS
[07:13:25] <TheAceOfHearts> isomorphic goodness~
[07:13:27] <robdubya> es6 bitches
[07:13:35] <robdubya> get on board.
[07:13:42] <TheAceOfHearts> eh, I use webpack, I could use ES6 modules if I wanted to lol
[07:13:52] <TheAceOfHearts> well, I'm gonna migrate our work app to webpack
[07:13:56] <stephen> If I see one more "ES7" tutorial Im going to kill someone
[07:14:00] <robdubya> amd and commonjs are just made up things. dunno why you'd invest in them when there's now an actual standard
[07:14:07] <stephen> Bosonic... WERD
[07:14:16] <TheAceOfHearts> because CommonJS has like over 100k existing modules
[07:14:18] <robdubya> (and you can always compile back to amd/rjs)
[07:14:35] <robdubya> (or cjs)
[07:14:40] <TheAceOfHearts> I use webpack because I need to use different kinds of modules
[07:14:50] <TheAceOfHearts> I need to pull in requirejs, commonjs, etc. modules into my app
[07:14:50] <stephen> Thought ES6 import syntax looks stupid... as soon as evergreen browsers are on board I'm all about it
[07:14:55] <robdubya> ergo, systemJS loads them all
[07:14:57] <stephen> Until then, require
[07:15:05] <TheAceOfHearts> webpack accomplishes the same thing
[07:15:11] <TheAceOfHearts> but webpack supports assets too
[07:15:17] <TheAceOfHearts> I don't think SystemJS supports assets
[07:15:18] <TheAceOfHearts> that sucks
[07:15:18] <robdubya> ditto system
[07:15:23] <TheAceOfHearts> it does?
[07:15:29] <stephen> wtf is webpack?
[07:15:33] <TheAceOfHearts> it's great
[07:15:35] <robdubya> there's even a jsx plugin :)
[07:15:37] *** mary5030 has joined #angularjs
[07:15:48] <jaawerth> wait, how does RequireJS handle 90% of webcomponents?
[07:16:07] <jaawerth> I'm having trouble picturing that
[07:16:19] <TheAceOfHearts> dunno, I'm happy with webpack
[07:16:35] <TheAceOfHearts> it seems like they both accomplish the same thing?
[07:17:11] *** tristanp has joined #angularjs
[07:17:24] <stephen> Not require
[07:17:29] <robdubya> indeed. one's based on a standard
[07:17:31] <stephen> Most of it can already be done
[07:17:34] <stephen> require adds some
[07:17:50] *** pehlert has quit IRC
[07:17:57] <stephen> The only thing that gets left out it Shadow DOM
[07:18:08] <stephen> Scoped Style can be fudged
[07:18:15] <TheAceOfHearts> robdubya: SystemJS is based on a standard…?
[07:18:23] <stephen> HTML Import , require
[07:18:24] <robdubya> es6-module-loader spec
[07:18:35] <robdubya> the other part of es6 modules
[07:18:41] <TheAceOfHearts> I see
[07:18:47] <stephen> I figured all that out when I found Bosonic by accident
[07:18:50] <robdubya> System.import('some/js').then(...
[07:18:58] <robdubya> promise based loading mothafuckas
[07:19:13] *** vbabiy has joined #angularjs
[07:19:17] <stephen> It's one of the few frameworks I've ever found that develops itself to be removable with 1 line gone when standards are met
[07:19:35] <stephen> promise what?
[07:19:41] <stephen> best resolve it
[07:20:51] *** mityaz has joined #angularjs
[07:21:10] <robdubya> bosonic looks interesing
[07:21:25] <stephen> it really is
[07:21:35] <stephen> I was shocked really
[07:21:37] <robdubya> kinda meh on the transpiling bit, since i already have a pipe for that
[07:22:10] <stephen> the code it generates is so concise. and your source even looks standard
[07:22:27] <stephen> Yeah, I typically hate transpiling
[07:22:48] <stephen> But, what's this? 1 script tag to use it.
[07:22:59] <robdubya> https://github.com/angular/angular/blob/master/modules/examples/src/hello_world/index_common.js
[07:23:06] <stephen> Done son. It instantiates itself
[07:24:04] <stephen> Yeah, that syntax is awful
[07:24:10] <progrock> damn, my phone is pissing me off... its not calling the "deviceorientation" event at all... even tho window.DeviceOrientationEvent does exist
[07:24:39] <stephen> When I start seeing @ in javascript, my brain shuts down
[07:25:10] <progrock> was so happy that IE11 idd have the standard events.. but for some reason my phone jsut doesnt wnna work
[07:25:21] <TheAceOfHearts> I need to try something harder with react, but I'm liking it more :|
[07:25:25] <stephen> progrock: Media Queries... orientation
[07:25:30] <TheAceOfHearts> or rather, flux+react
[07:25:38] *** vbabiy has quit IRC
[07:25:39] <robdubya> i *love* the @ in javascript
[07:25:49] <progrock> stephen: I want to track the tilt of the device for a visual effect
[07:25:54] <stephen> TheAceOfHearts: you sold your soul to FB
[07:25:56] <progrock> so cant do media queries
[07:26:12] <TheAceOfHearts> stephen: oh well. it's fast :P.
[07:27:09] <stephen> progrock: https://github.com/richtr/Full-Tilt
[07:28:14] <stephen> TheAceOfHearts: Thinking like that is what led biology to invent Autism....
[07:28:19] <stephen> Just saying
[07:28:34] <TheAceOfHearts> lol
[07:28:51] <zeezey> angulars
[07:29:04] <progrock> stephen: yeah I tried that.. my phone showed no values on the tests
[07:29:21] <stephen> Hmm... Tech Autism...
[07:29:26] <stephen> Taughtism?
[07:29:30] <stephen> Yeah, that works
[07:29:33] <progrock> stephen: but the phoen should have the default events where i dont need that anyway http://msdn.microsoft.com/en-us/library/ie/dn433240(v=vs.85).aspx
[07:29:36] <stephen> Eternal learning
[07:30:05] <progrock> amazingly microsoft seems to finally be consistent with other browsers... pretty amazing... no neexd for jquery anymore, lol
[07:30:12] *** DrMabuse has joined #angularjs
[07:30:15] <stephen> progrock: For every wonderful API that MS advertises there's a window property which advertises it works, but they never implement
[07:30:33] <stephen> It's M$'s last version of IE FuCK YOU
[07:30:46] <progrock> I'm wondering if theres jsut a setting on my phone turnigng it off that I dont see
[07:30:46] <jaawerth> stephen: wait, are you just talking about client-side tempate includes?
[07:30:59] <progrock> it is a $30 phone... that may be part of the issue, lol
[07:31:14] <stephen> jaawerth: Yeah. But, tbh, one could compile the templates and get them via js anyway
[07:31:17] *** PeterMetz has joined #angularjs
[07:31:24] <stephen> But require does have a text module
[07:31:49] *** freeAir has quit IRC
[07:32:06] <jaawerth> and how are you using require to wire up the behaviors?
[07:32:08] *** IvailoStoianov has joined #angularjs
[07:32:11] <progrock> of course I lent my android tablet to a friend... so nothing to test if I am doing this math right
[07:32:13] <stephen> jaawerth: Maybe we should go down this road: What do you think Im missing?
[07:32:21] *** mary5030 has quit IRC
[07:32:21] <progrock> oh well, can always do it tomrorow I guess.
[07:32:23] <jaawerth> I don't know if it's you missing something or me
[07:32:28] <jaawerth> that's what I'm trying to figure out ;-)
[07:32:38] <stephen> Web Components aren't all that novel
[07:32:54] <progrock> trying to turn the mouse trakcing logo effect into a tilt tracking effect on mobile.... http://test.montev.com
[07:32:56] <stephen> http://webcomponents.org/
[07:32:57] *** mary5030 has joined #angularjs
[07:33:01] <stephen> 4 parts to them basically
[07:33:13] <stephen> That site is great at explaining
[07:33:30] <stephen> we've already got custom element registration
[07:33:32] <jaawerth> right
[07:33:46] <stephen> require handles imports.
[07:33:55] <stephen> Templates works with script tags
[07:34:16] <jaawerth> I've seen that - I guess what befuddled me about your statement is a bunch of the stuff that falls under shadowDOM, but I missed your caveat about that
[07:34:18] <stephen> but shadow dom can't be done... only some of it's style scoping features
[07:34:19] <jaawerth> (which I now see)
[07:34:36] <progrock> so has anyone else seen facebook's "react" library and gone 'WTF is this garbage.... and JSX... another WTF"
[07:34:39] <jaawerth> that's the part that confused me
[07:34:48] *** DrMabuse has quit IRC
[07:35:13] *** kroogs has quit IRC
[07:35:27] <stephen> Yeah. Shadow dom gets you that warm fuzzy Cross_origin policy sort of feeling in css selectors.
[07:35:38] <jaawerth> lol
[07:35:53] *** PeterMetz has quit IRC
[07:35:53] <jaawerth> well I mean, that's the bit that directives handle now that will soon be unnecessary
[07:36:27] <stephen> That's exactly where I was going
[07:36:34] <stephen> Directives are awesome
[07:36:39] *** gunn has quit IRC
[07:36:43] <jaawerth> indeed!
[07:36:52] <stephen> And are a very cumbersome part of the learning curve for early angular devas
[07:36:57] <jaawerth> haha yeah
[07:36:57] *** vbabiy has joined #angularjs
[07:37:06] <jaawerth> probably the biggest initial learning curve
[07:37:15] *** seriema has joined #angularjs
[07:37:16] <progrock> I feel like directives were the easiest thing to learn about angular
[07:37:16] *** mary5030 has quit IRC
[07:37:21] <stephen> So to find out that most of their novelty is easily replacable with a much more standard, simple concept is annoying
[07:37:25] <progrock> at least the msot straight forward to get
[07:37:28] *** Reskp has joined #angularjs
[07:37:31] <jaawerth> people also struggle with factories and services but I think that has more to do with how a lot of instructional materials handle them
[07:37:36] <stephen> Directives were easy for me.
[07:37:40] <stephen> Many people complain though
[07:37:43] <zeezey> is google awesome
[07:37:57] <jaawerth> stephen: yeah, agreed
[07:38:09] <progrock> For me, learnigng angular was more learnigng to think in the angular way.. and where to organize code
[07:38:24] <jaawerth> I don't even remember what gave me trouble at first other than the fact that I dove right into doing terrible things with events
[07:38:30] <stephen> factories/services should get replaced by service workers and web workers
[07:38:36] <progrock> so directives were by far the easiest.. becasue its pretty easy to know what should be a directive... and how to code them
[07:38:51] <jaawerth> web workers... there's still the problem with how they communicate
[07:39:02] <stephen> Yeah, I know
[07:39:06] *** joroc has joined #angularjs
[07:39:13] <stephen> Firefox was nice enouogh to forego that
[07:39:32] <progrock> jaawerth: whats wrong with we workers commu icationg??... its rpetty standard.. same way you communicate between separate nrowser windows
[07:39:49] <stephen> He means the text vs object passing
[07:39:52] <jaawerth> yeah
[07:39:55] <jaawerth> you have to serialize
[07:39:57] <jaawerth> no data-sharing
[07:40:05] *** shinnya has joined #angularjs
[07:40:22] <stephen> So passing promises between them becomes... strange
[07:40:22] <progrock> gotcha.. I almost like that.. at least having the isolated environments
[07:40:35] <progrock> But I suppsoe it would be ncie to be able to share data not serialized
[07:40:40] <progrock> but I still liket the isolation
[07:40:55] <robdubya> its not too weird if you have a reasonable interface
[07:40:58] <progrock> forces you to do things more "correctly" with workers
[07:41:02] <jaawerth> it can be nice, but it also limits the potential applications
[07:41:15] *** Aliks has joined #angularjs
[07:41:19] <stephen> You know.... if web workers used promises instead of events.... they'd be like NodeJS Streams, wouldn't they....
[07:41:23] *** seriema has quit IRC
[07:41:23] <jaawerth> particularly when you may want to offload certain tasks to a worker
[07:41:37] <robdubya> i have a Fetch class/service/w/e that offloads requests to a worker
[07:41:51] <stephen> Oh, i see\
[07:42:00] <stephen> you treat your workers like dogs"?
[07:42:08] <stephen> Facist
[07:42:11] <robdubya> so the 'local' service always returns a promise
[07:42:16] <jaawerth> sure, but in that case you only have to deserialize in one direction, and you'd have to do that anyway, right?
[07:42:28] *** Reskp has quit IRC
[07:42:52] *** aven1 has quit IRC
[07:42:58] <progrock> stupid question.. I just dont do much CSS or styling lately.... but what width is more or less the standard width to design the bottom end of a mobile device.... 320, 480?
[07:43:15] <jaawerth> yes
[07:43:17] <jaawerth> ;-)
[07:43:22] *** mmealling has joined #angularjs
[07:43:30] <stephen> robdubya: That actually makes sense, so that deserialization and type rehydrating would be done in a quick thread
[07:43:37] <robdubya> yessir
[07:43:54] <stephen> progrock: 1vw
[07:44:00] <stephen> er
[07:44:03] <stephen> 100vw
[07:44:04] <jaawerth> progrock: IIRC 320 is standard for portrait
[07:44:16] <robdubya> then ther's a Map on the local side that generates an id, passes that over the wire, uses promises worker side, then events back w/ the id and the json
[07:44:32] *** D9 has joined #angularjs
[07:44:35] <robdubya> https://github.com/github/fetch <- super useful
[07:44:40] <stephen> See... No that reminds me of something important
[07:44:47] <stephen> Javascript Proxies
[07:44:52] <robdubya> SOON
[07:44:53] <progrock> jaawerth: looks like you are right... and i think 480 is landscape.. tho I need to douvle check that
[07:44:54] <stephen> I have this itch....
[07:45:37] <jaawerth> robdubya: sounds about right.
[07:45:51] <jaawerth> _.uniqueId has come in handy a lot lately, speaking of unique IDs
[07:45:54] <stephen> To use web sockets behind a web proxy which models an object, but only populates what's necessary behind it, even to the point of grabbing index lengths of collections, but not their contents
[07:46:05] <jaawerth> not exactly hard to code yourself but I'm happy not having to worry much about it
[07:46:18] <robdubya> yeah. Core Data in iOS does that, they call it a "fault"
[07:46:47] <stephen> Is that ironic naming, or do they work well?
[07:47:07] <robdubya> as in, you can have an object with say, a related collection - and until you need it, its a "fault" - once you access it, it does its thing to get the data
[07:47:16] <robdubya> works remarkably well really
[07:47:24] *** nuizzy has joined #angularjs
[07:47:36] <stephen> My version basically ends up using a pub sub service on the server to keep track of the hash on the objects the user is interested in
[07:47:46] <jaawerth> progrock: the way phones change size these days, you're kinda doomedi f you try and hard-code your media queries as anything but minima
[07:47:54] <stephen> Upates to those objs & props are immediately sent to the client.
[07:47:59] *** nemothekid has quit IRC
[07:48:00] *** MattWelch has quit IRC
[07:48:05] <robdubya> https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/CoreData/Articles/cdFaultingUniquing.html#//apple_ref/doc/uid/TP30001202-CJBDBHCB
[07:48:06] *** lemur has joined #angularjs
[07:48:06] *** mmealling has quit IRC
[07:48:13] <stephen> Everything else equates to a registration or a unsubsribr
[07:48:22] <robdubya> stephen that's more or less what sails is about, server side
[07:48:38] *** durnik has quit IRC
[07:48:45] *** durnik has joined #angularjs
[07:48:46] <robdubya> which is why i like it with angular so much.
[07:48:56] *** MattWelch has joined #angularjs
[07:48:57] <robdubya> (your socket pubsub i mean)
[07:48:58] <stephen> robdubya: Your framework eclecticity astounds me
[07:49:29] <stephen> And so does your mom's.
[07:49:44] <robdubya> "Try to learn something about everything and everything about something."
[07:49:46] <robdubya> :D
[07:49:53] <progrock> jaawerth: yeah, I agree. I really need to make an svg version of my logo that looks good, and jsut use that... then I can scale it and tweak my JS for the mouse/tilt effect.. will be so much easier
[07:49:55] <stephen> Taughtism
[07:50:32] *** kroogs has joined #angularjs
[07:50:41] <robdubya> stephen that model though (realtime pubsub data stuff) is hot like fire tho
[07:50:43] *** SargoDarya has joined #angularjs
[07:51:10] <stephen> Thanks. Now if I can find an employer that agrees
[07:51:27] <robdubya> WORD
[07:51:31] <progrock> there any good apps/tools that run on linux to help with mobile development testing?
[07:51:40] <stephen> I spend too many hours retranslating Indian Bug reports to write a framework
[07:51:52] <stephen> 12am is face to face time
[07:52:15] <stephen> progrock: HAHAHAHA
[07:52:22] *** optikalmouse has quit IRC
[07:52:22] <wafflej0ck__> progrock, what kind of testing?
[07:52:35] <stephen> progrock: ask google that question, then add "npm" to it
[07:53:01] <stephen> Testing frameworks are like hispters
[07:53:07] <robdubya> define "mobile development testing"
[07:53:25] <progrock> well I mean soemthign that imitates a mobile device on a desktop... size, browser, orientation/tilt maybe even
[07:53:36] <stephen> Oh, nm
[07:53:46] <stephen> Each company has their own
[07:53:50] <stephen> Though there is Sketch
[07:53:59] <progrock> I mean, my "mobile tetsing" on my desktop involves me sizing my browsers window small.. and maybe zooming
[07:54:01] <wafflej0ck__> progrock, typically I personally find testing on the device with remote debugging enabled works the best
[07:54:04] <stephen> and what's that other one... PhoneGap
[07:54:17] <wafflej0ck__> progrock, you can use the android developer tools with the emulators in there too but it's slow
[07:54:35] <progrock> wafflej0ck__: I've never used remote debugging... does that work on linux.. thoguht that was liek a mac ipad thing
[07:54:39] <robdubya> you can point your cordova/phonegap app at a remote server and execute protractor stuff
[07:54:48] <wafflej0ck__> progrock, nope works on linux just install a chrome extension and have adb installed
[07:55:07] <robdubya> its kinda hilarious to set up
[07:55:08] <wafflej0ck__> not sure about iOS remote debugging though
[07:55:12] *** gunn has joined #angularjs
[07:55:13] <wafflej0ck__> just Android
[07:55:17] <robdubya> you're not doing that shit on linux anyway
[07:55:20] <progrock> gotcha
[07:55:48] <robdubya> best thing is to just have a good set of mock native services
[07:56:11] <progrock> hmm.. never checked out cordova before... interesting... anyone have experience with that vs phonegap
[07:56:16] <robdubya> it is phonegap
[07:56:21] <robdubya> mostly
[07:56:24] <wafflej0ck__> yeah same beast different skin
[07:56:29] <robdubya> cordova is the open source
[07:56:35] <robdubya> phonegap is adobe's
[07:56:37] <robdubya> but
[07:56:40] <robdubya> https://github.com/MobileChromeApps/mobile-chrome-apps
[07:56:42] <robdubya> use that instead
[07:56:51] <robdubya> which is cordova + mother fuckin crosswalk
[07:56:56] <robdubya> + some google APis
[07:57:15] <robdubya> crosswalk = embedded latest chrome on all android devices
[07:57:36] <robdubya> so you can use allllll the fun things
[07:57:37] <stephen> cordova.. that's her
[07:58:14] <stephen> The fact that both Chrome and Firefox suddenly USB to phones for debugging on their own is f'ing awesome
[07:58:16] <progrock> disappointing that its iOS and Android only.... leaving out windows phone
[07:58:22] <stephen> one console to rule them all
[07:58:29] <progrock> ironically, I havent used windows in about 10 years... but I love the windows phone 8.1
[07:58:44] <stephen> Because IE will eventually adopt someone else's engines
[07:58:47] <stephen> And we all know it
[07:58:51] <robdubya> you can still use windows phone with vanilla cordova
[07:59:10] <progrock> oh, thats good
[07:59:31] <robdubya> just have an abstraction layer between your app and cordova. i call it "platform"
[07:59:45] <robdubya> platform.notifications.create('hello world')
[07:59:55] <robdubya> whatever happens under there is flexible
[08:00:13] <progrock> if you guys havent used a windows phone ever.. buy one of these for $30 and be amazed http://www.amazon.com/Nokia-Lumia-520-GoPhone-AT/dp/B00E45043A/ref=sr_1_1?ie=UTF8&qid=1419663593&sr=8-1&keywords=nokia+520
[08:00:16] <stephen> is there a cordova.yosholda api?
[08:00:31] <stephen> I have an HTC m8
[08:00:37] <robdubya> u wot m8
[08:00:37] <stephen> HK edition
[08:00:43] <stephen> And I'm in love
[08:01:08] <stephen> I kinda regret rooting it. I need to put the HK audio piece back it.
[08:01:13] <stephen> It sounds amazing
[08:01:16] <progrock> stephen: that a windows phone?.... I'm a huge nokia fan.. so only WP I woud get are theirs
[08:01:25] <progrock> oh, guessits not
[08:01:31] *** grumpyOldRussian has joined #angularjs
[08:01:31] <robdubya> it is
[08:01:32] <stephen> they have a windows version
[08:01:38] <progrock> oh ok
[08:01:43] <robdubya> (oh, the m8)
[08:01:58] <stephen> I have an android
[08:02:01] <progrock> I;ve just been a nokia fan ever since they made the indestructible bricks some 12 years ago
[08:02:10] <stephen> but there is a windows phone edition
[08:02:17] *** vbabiy has quit IRC
[08:02:17] <robdubya> nexus > htc > dogshit >>>> samsung
[08:02:24] <stephen> It's pricy though
[08:02:25] <progrock> and I'm very impresed with their new models... from low end to high end
[08:02:35] <robdubya> god, how different the world would be if nokia had gone android :(
[08:02:59] <stephen> we'd still have direct connect
[08:03:04] <progrock> robdubya: I honestly like windows phone 8.1 over android... used android for years... doubt I'll be going back
[08:03:09] <stephen> instead of just contruction workers
[08:03:09] <robdubya> nokia + android would be a true competitor to iOS
[08:03:19] <robdubya> samsung being the flagship is just sad
[08:03:27] <progrock> nokia makes fuckign awesome apps too
[08:03:30] *** kroogs has quit IRC
[08:03:40] <wafflej0ck__> eh really HTC and LG aren't doing that terrible either
[08:03:52] <progrock> I lvoe that they let you downloads the maos ahead of time... and their pandora rip off lets you download 4 radio stations at any given time with the free version
[08:03:55] <robdubya> they aint nokia though
[08:03:55] <stephen> LG is lagging just a bit behind HTC
[08:03:57] <wafflej0ck__> we still have Qt to remember nokia
[08:04:05] <stephen> But Samsung smacked them both around
[08:04:07] <stephen> Until the M8
[08:04:23] <stephen> That's the best phone of 2014, hands down
[08:04:23] <progrock> yeah nokia def bears HTC and LG
[08:04:28] <progrock> beats*
[08:04:54] *** pspfolio has joined #angularjs
[08:04:54] <wafflej0ck__> aren't they all but melted down by MS at this point though?
[08:05:08] *** charuru has quit IRC
[08:05:14] *** Aswebb_ has joined #angularjs
[08:05:29] *** metasansana has quit IRC
[08:05:31] <robdubya> yup :(
[08:05:32] <stephen> No, just flattend into surface pro 3's
[08:05:37] *** charuru has joined #angularjs
[08:05:44] *** KushS has joined #angularjs
[08:05:44] *** charuru has left #angularjs
[08:05:52] *** grumpyOldRussian has quit IRC
[08:05:57] <robdubya> fuck you elop. you killed them
[08:06:03] <progrock> I'm praying nokia still stays separated enough to not get ruined, lol
[08:06:43] <stephen> Let's be completely clear
[08:06:53] <robdubya> that said
[08:06:55] <robdubya> http://www.dailytech.com/Nokias+Sweet+250+Android+Lollipop+N1+Tablet+is+Rumored+for+Jan+7+China+Launch/article37023.htm
[08:06:56] <stephen> MS wanted the patent library as a defensive strat
[08:07:07] <stephen> Anything else will be toppings
[08:07:34] *** vbabiy has joined #angularjs
[08:07:46] *** nemothekid has joined #angularjs
[08:08:01] <stephen> Guaranteed that tablet will have a start button modded into the launcher
[08:08:03] <stephen> Just sayin'
[08:08:23] *** Sadin has quit IRC
[08:08:23] *** {DV8} has quit IRC
[08:09:05] <robdubya> that tablet is from the non-MS bit of nokia
[08:09:05] *** theotherguy has quit IRC
[08:09:08] *** aven1 has joined #angularjs
[08:09:19] <robdubya> "old" nokia, if you will
[08:09:40] *** fotoflo has joined #angularjs
[08:09:46] *** Aswebb_ has quit IRC
[08:09:48] <progrock> Has anyone actually given windows 8 on a tablet a fair chance?... I;ve only used it for maybe 2 min.... but pretending I havent hated windows for 15 years... I could see ti potentially not being bad
[08:09:53] *** SargoDarya has quit IRC
[08:09:59] *** fotoflo has quit IRC
[08:10:25] <progrock> I def think its better than apples garbage
[08:10:25] *** KushS has quit IRC
[08:10:27] <robdubya> then you are sadly mistaken
[08:10:38] *** MattWelch has quit IRC
[08:10:42] <robdubya> even MS acknowledged its a failure. ergo windows 10
[08:11:00] <robdubya> which imo doesn't bode well for the future of windows phone
[08:11:17] *** joroc has quit IRC
[08:11:55] <progrock> I dn, I've hated MS for a long time.. but ever since I gto a Nokia 920 2 years ago.. I have no plans of going back to andorid or iphone in the near future
[08:12:14] *** freeAir has joined #angularjs
[08:12:18] <ocx> hi
[08:12:24] <robdubya> your phone is one thing
[08:12:27] <jaawerth> well, Windows 8 mostly failed because it was too tablet-centric at the cost of the desktop experience
[08:12:31] <jaawerth> IMO
[08:12:36] <robdubya> your laptop is an entirely different ballgame
[08:12:37] <progrock> and since the 8.1 release to the phones... they literally do everything I could ever askf or on a phone.. AND they do it RIGHT
[08:13:01] <stephen> Ahem, fuck the Start Screen
[08:13:01] <progrock> jaawerth: I agree... but I also feel people didnt give it a fair chance, and were just scared fo change
[08:13:02] <jaawerth> the main killer for me re: windows phone is app ecosystem, which I realize is not a new complaint by any means
[08:13:12] <robdubya> one day iOS and OS X might converge, but there's a big missing piece yet in interaction
[08:13:15] <jaawerth> it's also a bit of a self-fulfilling prophecy
[08:13:17] <stephen> windows 10 version is what it should have been all along
[08:13:23] <jaawerth> agreed
[08:13:41] <jaawerth> I tried Windows 10 and it brought in the good stuff from win8 but chucked a lot of the tablet-in-your-faaaace stuff
[08:13:47] <progrock> jaawerth: yeah, the lack of apps is the only real issue to me... but nokia makes some good ones for the normal stuff.... its jsut sad that new apps from random places rarely come out with a windows phne version right away
[08:13:50] *** pehlert has joined #angularjs
[08:13:57] <robdubya> chicken / egg and all that
[08:14:00] <robdubya> not worth a devs time
[08:14:24] <progrock> I'm still pissed that I cant contrl my chromecast from my windows phone... but fuck it, I own a fire tv now
[08:14:25] <stephen> So, Windows 10 is what every other good version of windows has been, another OS level API stacked on top of the others
[08:14:27] <jaawerth> yeah. MS needed to court devs into making stuff as hard as possible, and they tried to, but it's a tough hill to climb
[08:14:32] <jaawerth> blackberry has the same problem
[08:14:33] <stephen> great, security problems here we comre
[08:14:34] <progrock> so much better having a aremote control for the device
[08:14:35] *** MistahKurtz has quit IRC
[08:14:37] <jaawerth> and the new blackberry phones aren't even that bad
[08:14:56] <robdubya> the passport?
[08:14:57] *** vbabiy has quit IRC
[08:15:03] *** sbellina has joined #angularjs
[08:15:13] <stephen> I can't wait for MS to finally get pissed off enough to dump COM and the like
[08:15:39] <jaawerth> I just wish they'd dump the registry
[08:15:41] *** vbabiy has joined #angularjs
[08:15:56] <stephen> That won't happen, too much DRM tied up in it
[08:16:00] *** NormySan has joined #angularjs
[08:16:06] <jaawerth> I realize there are benefits to it over the UNIXY approach but man it can lead to some heinous shit
[08:16:28] <stephen> Registry Sucks
[08:16:51] <stephen> Don't try to give a DB where people can hide shit the benefit of the doubt
[08:17:01] *** nocturne777 has quit IRC
[08:17:02] <stephen> Call it out for what it is
[08:17:13] *** D9 has quit IRC
[08:17:15] <jaawerth> yeah - also supposed benefits to the registry for DRM is really just security by obscurity
[08:17:36] <stephen> It's more than that. Keys have access rights
[08:18:11] *** DoubleAW has quit IRC
[08:18:16] <stephen> These days apps basically create system-level users with different credentials and write keys to your registry.
[08:18:17] *** pehlert has quit IRC
[08:18:25] <jaawerth> that's irrelevant if you're an administrator, though
[08:18:37] <stephen> Elevating yourself to admin or system doesn't even get you rights
[08:18:41] <stephen> Nope
[08:18:43] <robdubya> ouch. windows 8/8.1 install base is %12
[08:18:46] <robdubya> err 12%
[08:18:57] <jaawerth> hm, I haven't ever come across anything I haven't been able to bypass in some way
[08:19:08] <jaawerth> (for legal stuff - no really)
[08:19:13] *** rikko has quit IRC
[08:19:17] *** MattWelch has joined #angularjs
[08:19:34] *** sbellina has quit IRC
[08:19:47] <stephen> Try digging into some of the deeper keys that M$ places for key signing and the like
[08:20:02] <stephen> there you'll run into the types of privs I'm talking about
[08:20:13] *** freeAir has quit IRC
[08:20:19] <stephen> Of course, you want those keys secure
[08:20:35] <stephen> But the same patterns can be used by properly written apps
[08:20:50] <jaawerth> and it isn't just dependent upon group policy?
[08:21:02] <stephen> jaawerth: sort of
[08:21:04] *** Varun_Krishna has joined #angularjs
[08:21:28] <jaawerth> I mean if it's checking a certificate or something against a hash, you could as easily do that with a config file
[08:21:29] <stephen> The basic end result is that you might be able to delete them, but you wont be able to read them
[08:21:59] <stephen> There is the whole scoped/containment aspect that works right
[08:22:16] <stephen> That's where the obscurity part comes in
[08:22:22] <jaawerth> yeah
[08:22:36] <jaawerth> you have to edit one thing to be able to do stuff with the other, but you don't necessarily know which thing
[08:22:40] <stephen> Stuff your key somewhere non-obvious but unprotected in the system trees, then secure it to hell
[08:23:01] <stephen> Most users will disregard it as system-essential data
[08:24:09] *** doginal has quit IRC
[08:24:10] <jaawerth> but I mean - is the DRM on windows really any better than MacOS?
[08:24:17] *** Varun_Krishna has left #angularjs
[08:24:28] <stephen> Not at all
[08:24:41] <stephen> I just mean that too many legacy apps have done it
[08:24:46] <jaawerth> ah. yeah
[08:24:56] <jaawerth> sorry, that's the second time tonight I've misunderstood a point you were making
[08:25:45] <stephen> If suddenly 80% of the paid programs out there became easily copiable... yeah, Linux would suddenly become the golden child of industry
[08:25:51] <stephen> It's all good
[08:25:56] <jaawerth> heh
[08:26:19] <jaawerth> on the other hand, a major version is likely to introduce tons of breaking changes anyway so
[08:26:25] <jaawerth> burn it all done! ;-)
[08:26:30] <stephen> It's hard to concentrate on someone's serious ideas when they're dating your mom.
[08:26:39] *** anivemin has joined #angularjs
[08:27:00] <stephen> I promise that's the last mom joke
[08:27:01] <jaawerth> robdubya: Oh hey, so it turns out all the newfangled phones with IR blasters also function as total receivers. The current gen of IR remote apps will even let you read in from existing remotes
[08:27:04] <progrock> whast the deal with polymer js?... is it more or less emrging with angular 2.0 ?
[08:27:32] <stephen> jaawerth: HTC M8 comes with a built in app for that. total awesome
[08:27:38] <stephen> I use it all around the house
[08:27:52] *** numenor has joined #angularjs
[08:27:59] <jaawerth> haha, yeah, I got one a month or so ago, which is where this news is coming from ;-)
[08:28:13] <jaawerth> the built-in app is alright, though limited for what I wanat
[08:28:21] <stephen> progrock: polymer is how Angular wants/ed to do directives
[08:28:25] <stephen> And then 2.0 happened
[08:28:43] <progrock> lol
[08:28:52] <jaawerth> which is a phone-integrated equivalent of a harmony remote, where you can do combined actions utilize a growing schema database
[08:29:02] <stephen> Can we get access to that death gong in here?
[08:29:09] <stephen> I think IRCd's need a patch for that
[08:29:10] <progrock> stephen: so I take it 2.0 does not do things like polymer?
[08:29:10] <numenor> guys , how do you reload / re-init the view and controller after doing "$location.path('/sameRoute').search({sId:3,mId:1});" on the same route ?
[08:29:15] <jaawerth> the built-in app does some of that but ties it too closely to TV services for my liking. there's a paid app that does a decent job though
[08:29:17] <stephen> ...
[08:29:24] <stephen> Let's not start that discussioin
[08:29:35] <stephen> progrock: Go watch ng-europe
[08:29:46] <stephen> Then go read all the blogs about it
[08:29:51] *** BobbieBarker_ has joined #angularjs
[08:29:51] <stephen> But never mention a word about it here
[08:29:56] <progrock> lol
[08:29:57] <stephen> Because it's posion
[08:30:06] <stephen> The discussion I mean
[08:30:14] <numenor> I thought that the controller would re-init and catch the query string params , but doesnt work that way
[08:30:41] *** ejb has joined #angularjs
[08:30:45] <stephen> numenor: Most things tend to work like singletons in Angular
[08:30:49] *** tristanp has quit IRC
[08:30:52] *** DrMabuse has joined #angularjs
[08:31:01] *** BobbieBarker has quit IRC
[08:31:05] <stephen> Therefore, they typically don't get re-inited unless they are deleted
[08:31:12] <numenor> okay.
[08:31:17] <stephen> Or go out of scope
[08:31:22] <jaawerth> is this ngRoute?
[08:31:30] <numenor> ui-router
[08:31:42] *** anivemin has quit IRC
[08:32:06] *** PeterMetz has joined #angularjs
[08:32:30] <progrock> hmm, now do I want to us modernizr... or just say fuck you to anyone using somethign that requires it for the shit I'm doing
[08:32:34] <progrock> I'm thinking that latter
[08:32:35] <stephen> numenor: use https://docs.angularjs.org/api/ng/service/$location
[08:32:44] <progrock> the*
[08:32:45] <stephen> Then you wouldn't be having these problems
[08:33:19] <jaawerth> numenor: why use $location.path then?
[08:33:26] <stephen> modrnizr is cool, but you can really slim things down if you just grab polyfills for what you need
[08:33:30] <numenor> what I was trying to do this : on route load , say "/scores" if it doesnt find query string params via $location, just set some default params by doing $location.path('/scores').search({sId:3,mId:1});
[08:33:51] <numenor> well, I tried state.go() , but that too didnt reload...
[08:34:13] <jaawerth> it should, unless you've set reloadOnSearch to false
[08:34:21] <numenor> No , I didnt
[08:34:38] *** doginal has joined #angularjs
[08:34:59] <numenor> I think I will try the state.go once again.
[08:35:31] *** DrMabuse has quit IRC
[08:36:11] <stephen> numenor: You might also try replace()
[08:36:14] <stephen> in the $location service
[08:36:16] <jaawerth> in that case
[08:36:27] <jaawerth> $state.go(whatever, {reload: true})
[08:36:44] <stephen> oh, snazzy
[08:36:45] <numenor> didnt try replace anytime before... will have a look
[08:37:00] <jaawerth> though that should only be necessary if the params are the same
[08:37:03] <numenor> jaawerth , Oh , reload true , sounds promising
[08:37:24] *** PeterMetz has quit IRC
[08:38:11] <stephen> numenor: you're right! $state.go "Returns a Promise representing the state of the transition"
[08:38:15] *** Reskp has joined #angularjs
[08:38:35] <jaawerth> numenor: are these params not ones you've specified in the state config?
[08:38:35] <numenor> oka
[08:38:38] <stephen> Yes, I spent the time to quote the documentation for a pun
[08:38:40] <stephen> sue me
[08:38:47] *** seriema has joined #angularjs
[08:38:56] *** d0nk` has quit IRC
[08:39:07] *** joroc has joined #angularjs
[08:39:15] <jaawerth> because I believe it will ignore unspecified parameters
[08:39:27] <numenor> No , do I have to ? I did this using ngRoute but didnt provide the query string params as I thought they can be optional !
[08:39:50] <numenor> I didnt know ui-router needs them specified!
[08:40:03] <jaawerth> well
[08:40:20] <jaawerth> it depends, I believe it WILL populate query params, but it may not trigger a reload on its own - I've never tried
[08:40:31] <numenor> oh
[08:40:54] <progrock> ugh, why did yo-gulp-angular-webapp have to do this structure https://docs.google.com/document/d/1XXMvReO8-Awi1EZXAXS4PzDzdNvV6pGcuaF4Q9821Es/pub
[08:40:58] *** Greed has quit IRC
[08:41:22] *** MattWelch has quit IRC
[08:41:45] <progrock> I'm still a fan of app/{scripts, styles, images, fonts} not the recursive funky setup they recommend
[08:42:53] *** aven1 has quit IRC
[08:42:56] <numenor> Looks like optional qs params not supported in ui-router. Will have to change some logic now
[08:42:59] <robdubya> jaawerth what the fuck is an IR blaster?
[08:43:09] <numenor> Infra red blaster ?????
[08:43:12] *** seriema has quit IRC
[08:43:43] *** Reskp has quit IRC
[08:43:49] <jaawerth> it's what every phone calls their IR input/output
[08:44:13] <progrock> numenor: ui0router supports optional query params now
[08:44:22] <stephen> Indian Registry Blaster. It's the one high-tech piece of equipment afforded Native Americans in the US. It's actually a personal size beer bong.
[08:44:30] *** cthrax has quit IRC
[08:44:57] <numenor> progrock .. great !! can you share a link, I am in real need
[08:45:49] *** larsam has quit IRC
[08:46:08] <progrock> https://github.com/driftyco/ionic/issues/2293
[08:46:48] <numenor> progrock , okay !
[08:46:52] <progrock> params: { paramName: {value: null }} in your states definition
[08:47:14] <numenor> yes
[08:47:50] *** mrru has joined #angularjs
[08:47:54] *** doginal has quit IRC
[08:47:54] <progrock> numenor: the way I usually do it (dont thin its required, but I find it easiest) is that my reuiered params are in the urls, optional in the quertring /required1/reuired2?optional1&optional2
[08:48:14] *** jaydubya has joined #angularjs
[08:48:27] <jaawerth> yeah, you just gotta make sure to define them so it knows there's an option
[08:48:33] <numenor> yes.. I too want to add the optional ones in the QS
[08:48:36] <jaawerth> er, define them as something. that can exist
[08:48:50] *** MattWelch has joined #angularjs
[08:48:51] <numenor> sure... will have to define em.
[08:49:02] *** nemothekid has quit IRC
[08:50:42] *** one_zero has quit IRC
[08:51:43] *** cthrax has joined #angularjs
[08:52:00] *** ome has joined #angularjs
[08:52:34] <progrock> ohh, interesting.. I never saw angular material before
[08:52:44] <jaawerth> it's cool
[08:52:48] <jaawerth> still a little raw, but nice
[08:53:12] <progrock> I might give it a shot for the content of my site
[08:53:16] <jaawerth> I've been incorporating it into a project. it's nice using flexbox for everything
[08:53:21] <jaawerth> or at least.. more things
[08:53:34] *** jaydubya has quit IRC
[08:53:35] <progrock> hmm... might actually go for it for my charting libraries website... assuming its not too raw
[08:53:40] *** nuizzy has quit IRC
[08:54:41] <progrock> ah, flexbox.. I tried that some 2 years ago... was a little funky with transitions in some browsers.. hopefully its gotten better
[08:54:58] *** tarnus has quit IRC
[08:55:17] *** nemothekid has joined #angularjs
[08:55:36] <robdubya> jaawerth remote control apps are so 90's bro
[08:55:46] <robdubya> i had a watch that did that shit in middle school :p
[08:56:05] <stephen> robdubya: Thank you for entertaining my BS tonight
[08:56:09] <stephen> It was fun
[08:56:17] *** whunt has quit IRC
[08:56:20] <robdubya> anytime
[08:56:40] <progrock> man, I am still iffy on some of this ES6 stuff
[08:57:09] *** pspfolio has quit IRC
[08:57:12] <stephen> robdubya: I leaven you with this: http://joseoncode.com/2012/02/01/capsela-the-game-that-changed-my-life/
[08:57:17] <stephen> I had that set once
[08:57:20] <stephen> Good night folks
[08:57:25] *** stephen has quit IRC
[08:57:35] <jaawerth> robdubya: I want to control every appliance with my phone, damnit
[08:57:42] <jaawerth> and too much stuff still uses IR
[08:58:02] <jaawerth> we had a whole conversation about it
[08:59:35] <robdubya> BLE son
[08:59:57] *** ycodr has quit IRC
[09:00:21] *** whunt has joined #angularjs
[09:00:55] <jaawerth> yeah
[09:01:09] *** s3shs has quit IRC
[09:01:16] *** cthrax has quit IRC
[09:01:16] *** Hackwar1 has joined #angularjs
[09:01:20] *** Hackwar has quit IRC
[09:01:30] <robdubya> i guess a cordova IR blaster could be fun :D
[09:01:48] *** IvailoStoianov_ has joined #angularjs
[09:01:56] *** ycodr has joined #angularjs
[09:01:59] *** s3shs has joined #angularjs
[09:02:36] <jaawerth> see?!
[09:02:42] <jaawerth> heh
[09:03:01] *** saeturn has quit IRC
[09:03:21] *** IvailoStoianov has quit IRC
[09:03:24] *** eago_ has joined #angularjs
[09:03:26] *** IvailoStoianov_ is now known as IvailoStoianov
[09:03:47] *** dllama has joined #angularjs
[09:04:26] *** dllama1 has quit IRC
[09:05:23] *** larsam has joined #angularjs
[09:05:51] *** kaller has joined #angularjs
[09:06:06] *** kroogs has joined #angularjs
[09:06:27] <ocx> when i do a ng-app does angular create an app and a corresponding default module?
[09:07:53] *** SargoDarya has joined #angularjs
[09:09:06] *** kroogs is now known as 7YUAARRCO
[09:09:06] *** zeezey has quit IRC
[09:09:08] *** aven1 has joined #angularjs
[09:09:42] *** fotoflo has joined #angularjs
[09:10:00] *** greenride has left #angularjs
[09:10:26] *** MattWelch has quit IRC
[09:10:29] *** ProLoser has joined #angularjs
[09:10:57] *** 7YUAARRCO has quit IRC
[09:10:57] <ocx> .controller('controllername', [ ] ) inside the [] is the function of the controller? i see an array in the example
[09:11:16] <ocx> .controller('InvoiceController', ['currencyConverter', function(currencyConverter) {
[09:11:24] <progrock> I need to keep a "test code jar" like people keep "curse jars"... where everytime i dont write test code I put in a dollar... I'd have thousands in there after a year
[09:11:50] <numenor> :)
[09:12:04] *** iamaregee2 has joined #angularjs
[09:12:12] *** ycodr has quit IRC
[09:12:13] *** joroc has quit IRC
[09:12:23] *** SargoDarya has quit IRC
[09:12:37] <progrock> or I should just hire someone to do that for me, lol
[09:13:06] *** ycodr has joined #angularjs
[09:13:35] <numenor> ocx , you are creating a "InvoiceController" and passing a dependency 'currencyConverter' to it.
[09:14:29] <ocx> numenor: and when i do a .controller('controllername', function() { } ) i am defining the controller with no dependency?
[09:14:31] *** pehlert has joined #angularjs
[09:14:49] <numenor> ocx, yes
[09:15:03] *** theotherguy has joined #angularjs
[09:15:26] <numenor> the [] ( array) syntax helps in minification
[09:15:36] <ocx> numenor: so mainly you can pass dependencies to the controller and define its own function afterwards, when you have no dependencies the array passed is 1 element which is the function() {} to be defined right
[09:15:40] <ocx> k
[09:15:55] *** Aliks has quit IRC
[09:16:00] <numenor> right
[09:17:49] *** MattWelch has joined #angularjs
[09:18:27] *** declanqian has joined #angularjs
[09:18:40] *** themime has quit IRC
[09:18:56] *** pehlert has quit IRC
[09:19:34] *** ejb has quit IRC
[09:19:37] *** Bade has quit IRC
[09:20:47] *** freeAir has joined #angularjs
[09:21:10] <jaawerth> angular's injector comes along and reads the strings in the array to figure out what params to pass in. It will read the actual params themselves if you have no array, but that breaks when minified because minification changes variable names around
[09:21:14] *** kaller has quit IRC
[09:21:45] *** ron_frown has quit IRC
[09:23:54] <numenor> progrock, just wanted to inform, adding the optional QS params .state config worked.
[09:23:55] <jaawerth> so there are two ways around this: but annotating it the function itself MyControllerFunction.$inject = ['dep1', 'dep2', 'dep3'] or using array syntax. (or use ng-annotate, which will do it for you)
[09:23:55] <jaawerth> alright, night all
[09:23:55] <numenor> Good night
[09:23:55] *** MetaCosm_ has joined #angularjs
[09:23:55] <progrock> numenor: glad it did.. I used that at work the day it was released, lol
[09:23:55] <numenor> :)
[09:23:56] <ocx> numenor: http://plnkr.co/edit/CsK2SZTHssKQcJsPWRaa?p=preview <--- why did we define .controller('InvoiceController', ['currencyConverter', function(currencyConverter) {
[09:23:56] *** ledwell has joined #angularjs
[09:23:56] <progrock> sigh.. this kill sme that yo gulp-angular-webapp uses that suepr funky google recommended structure... just not a fan of componentizing shit that much
[09:24:00] <ocx> i mean the function(currencyConverter) here
[09:24:05] <progrock> sad, since it appears to be an awesome scaffold
[09:24:32] <ocx> i understand we defined a controller named InvoiceController with a currencyConverter dependency
[09:25:08] *** freeAir has quit IRC
[09:25:08] <ocx> but what about that function currencyConverer? it is already defined in finance.js should it be a function called InvoiceController
[09:25:44] <numenor> ocx, You are asking the DI to get the already defined "currencyController" to be available in invoiceController
[09:25:57] *** MetaCosm has quit IRC
[09:26:04] <numenor> ocx, You are not redeifing it again
[09:26:11] <ocx> so mainly i am injecting currencyConverter controlleras a parameter to the function?
[09:26:20] <numenor> ocx, Yes, Exactly
[09:27:19] <ocx> so first when i included the dependenie as a first parameter, what i did is imported the scope but cannot work with it unless i inject it into the current controller
[09:28:41] *** macobo has joined #angularjs
[09:29:02] <numenor> ocx , just imagine that you imported a javascript object currencyConverter in invoce , where the javascript object "currencyConverter" has two methods "currencies" and "convert"
[09:29:28] <numenor> Oops , currency is a collection
[09:29:33] *** cacts|wtf has joined #angularjs
[09:29:45] <numenor> forgive the typos
[09:30:32] <ocx> numenor: so mainly for controllers to communicate together they need to include their scopes
[09:30:55] *** MattWelch has quit IRC
[09:31:13] <numenor> Acutally , "currencyConverter" as seen in the plunk , is a factory.
[09:31:18] <ocx> if i have a controller1 with scope1 and controller2 with scope2 in order for controller1 to use scope2 it needs to dependent on it and inject it into its own function
[09:31:39] *** DrMabuse has joined #angularjs
[09:31:43] <ocx> yea but same behavior as controller to controller right?
[09:31:53] <ocx> controoler - factory same as controller - controller
[09:32:04] *** mmealling has joined #angularjs
[09:32:06] *** grumpyOldRussian has joined #angularjs
[09:32:21] <numenor> well, I never mixup controllers, never tried that and wouldnt know its effects, But yeah, I have read you can do that
[09:32:40] <numenor> Always use a factory to share things around
[09:32:48] <numenor> Always use a factory/service to share things around
[09:34:10] <numenor> service and controllers are not the same, controllers are ment for views and services/factories are meant for controllers
[09:35:03] *** lemur has quit IRC
[09:35:15] *** Menorah has quit IRC
[09:35:45] *** lemur has joined #angularjs
[09:36:17] *** mmealling has quit IRC
[09:36:25] *** DrMabuse has quit IRC
[09:36:32] *** Menorah has joined #angularjs
[09:36:52] *** fotoflo has quit IRC
[09:37:28] *** MattWelch has joined #angularjs
[09:38:00] <ProLoser> what?
[09:38:15] *** vbabiy has quit IRC
[09:39:04] *** Reskp has joined #angularjs
[09:39:27] *** seriema has joined #angularjs
[09:40:25] *** jaydubya has joined #angularjs
[09:40:46] *** lemur has quit IRC
[09:41:16] *** bealtine has joined #angularjs
[09:41:23] *** iamaregee2 has quit IRC
[09:42:28] *** jaydubya has quit IRC
[09:43:04] *** jaydubya has joined #angularjs
[09:43:32] *** Reskp has quit IRC
[09:43:48] *** seriema has quit IRC
[09:46:02] <ocx> numenor: if i have 2 views with the same controller, does it mean when view 1 changes variable in that controller, the view2 is affected too? or each has an independent instance of that controller?
[09:46:02] *** komlev has joined #angularjs
[09:46:25] <robdubya> 2 different instances
[09:46:31] <numenor> different , yes
[09:46:35] <robdubya> hence using a service (which is a singleton) to link them up
[09:46:48] <numenor> share with a service :)
[09:46:52] <ocx> a service shares the same scope for both views?
[09:46:54] <ocx> ok
[09:46:57] <ocx> makes sense
[09:47:06] <wafflej0ck__> ocx, not same scope but same instance of the object is used
[09:47:09] <numenor> serice shares a same object
[09:47:31] <numenor> scope comes into play only in controllers and view
[09:47:44] <numenor> services are like POJO
[09:47:57] <numenor> Plain old javascript objects
[09:47:59] *** jaydubya has quit IRC
[09:49:06] *** Solid1_afk is now known as Solid1
[09:49:40] *** Nivag_ has quit IRC
[09:51:12] *** rtpg has joined #angularjs
[09:52:04] *** zz_night-owl is now known as night-owl
[09:53:34] <ocx> there is only 1 way to define a service which is by .factory and only controllers can use services created by factories, using the .controller( factoryname right
[09:54:21] *** damko has joined #angularjs
[09:54:22] <ytsejam> .controller(['someService', function(someservice)[{}})
[09:54:25] *** Aswebb_ has joined #angularjs
[09:54:40] *** ycodr has quit IRC
[09:55:44] *** ycodr has joined #angularjs
[09:55:57] *** Jim_ has quit IRC
[09:56:22] *** MattWelch has quit IRC
[09:56:37] <ytsejam> ocx other services can also use a service
[09:57:53] *** MattWelch has joined #angularjs
[09:57:58] *** vbabiy has joined #angularjs
[09:58:34] *** Aswebb_ has quit IRC
[09:58:55] *** ycodr has quit IRC
[09:59:26] *** vbabiy has quit IRC
[09:59:48] *** ycodr has joined #angularjs
[09:59:58] *** earthquake has joined #angularjs
[10:00:16] <ProLoser> any mods or ops or admins around?
[10:00:16] *** ledwell has quit IRC
[10:00:30] *** ycodr has quit IRC
[10:00:40] *** night-owl is now known as zz_night-owl
[10:01:03] *** ycodr has joined #angularjs
[10:01:51] *** ycodr has joined #angularjs
[10:02:16] *** Reskp has joined #angularjs
[10:03:02] *** coulter has joined #angularjs
[10:03:30] *** ycodr has joined #angularjs
[10:03:38] *** Reskp has quit IRC
[10:03:51] *** rtpg has quit IRC
[10:04:04] *** Reskp has joined #angularjs
[10:04:22] *** aminRX has joined #angularjs
[10:06:21] *** rtpg has joined #angularjs
[10:06:38] *** ries has joined #angularjs
[10:06:43] *** ycodr has quit IRC
[10:07:49] *** rikko has joined #angularjs
[10:08:17] *** eago_ has quit IRC
[10:08:46] *** ycodr has joined #angularjs
[10:09:03] *** joroc has joined #angularjs
[10:09:12] *** evilaliv3 has joined #angularjs
[10:09:33] *** SargoDarya has joined #angularjs
[10:11:58] *** aven1 has quit IRC
[10:12:43] *** rikko has quit IRC
[10:12:59] *** coulter has quit IRC
[10:13:17] *** yts has joined #angularjs
[10:15:18] *** pehlert has joined #angularjs
[10:15:37] *** gabor has joined #angularjs
[10:15:58] *** sbellina has joined #angularjs
[10:16:27] *** pspfolio has joined #angularjs
[10:17:03] *** xdissent has joined #angularjs
[10:17:18] *** tSpartak has joined #angularjs
[10:17:28] *** Reskp has quit IRC
[10:18:08] *** gabor has quit IRC
[10:19:28] *** tristanp has joined #angularjs
[10:19:48] *** pehlert has quit IRC
[10:20:22] *** earthquake has quit IRC
[10:20:23] *** sbellina has quit IRC
[10:20:58] *** duos has joined #angularjs
[10:21:23] *** Solid1 is now known as Solid1_afk
[10:21:55] *** freeAir has joined #angularjs
[10:22:06] *** Reskp has joined #angularjs
[10:23:07] *** ximenean___ has joined #angularjs
[10:23:25] *** araujo has quit IRC
[10:23:55] *** opiates has joined #angularjs
[10:24:02] *** snyder has joined #angularjs
[10:24:25] *** tristanp has quit IRC
[10:25:29] *** evotuned has quit IRC
[10:25:47] *** snyder has quit IRC
[10:26:29] *** araujo has joined #angularjs
[10:26:30] *** freeAir has quit IRC
[10:27:07] *** windsurf_ has joined #angularjs
[10:27:52] <windsurf_> my $resource brings back objects and the date field is a string but I need it to be a Date. How can I do that?
[10:28:01] <windsurf_> basically my object is the wrong type
[10:28:26] *** KushS has joined #angularjs
[10:28:38] *** civatte has joined #angularjs
[10:29:27] *** MattWelch has quit IRC
[10:31:02] *** SargoDarya has quit IRC
[10:31:10] <numenor> windsurf_ , I always use momentjs in my apps
[10:31:10] *** civatte has quit IRC
[10:31:18] <windsurf_> numenor: no, i need a Date
[10:31:34] <windsurf_> because i want to compare it with another date for > <
[10:31:52] <numenor> Sure, you will have to use the date string you got and convert it into date object
[10:32:26] *** DrMabuse has joined #angularjs
[10:32:27] <numenor> windsurf_ , Is the date in UTC fromat ?
[10:32:49] *** mmealling has joined #angularjs
[10:33:36] <numenor> windsurf_ , With moment , you can do moment().isAfter(new Date())
[10:33:48] <windsurf_> numenor: oh really?
[10:33:52] <numenor> yeah
[10:33:58] <windsurf_> i have control over it being in UTC
[10:34:00] *** bertotti has joined #angularjs
[10:34:10] <windsurf_> i think i’ve so far just been doing it in local time.
[10:34:11] *** bertotti has quit IRC
[10:34:25] <numenor> Ok.. UTC is always better
[10:34:57] <windsurf_> ok but the function works (assuming all dates are in same location?)
[10:35:37] <numenor> windsurf_ , it should, you will need to check moment docs for confirmations on what type of date formaats are supported
[10:36:01] <ocx> ytsejam: .controller(['someService', function()[{}}) does not make sense if we dont inject someService as param?
[10:36:09] <windsurf_> thank you numenor
[10:36:20] <windsurf_> and i do take your point about UTC, it’s been on my list
[10:36:29] *** MattWelch has joined #angularjs
[10:36:45] <numenor> also , there is a moment directive if you need
[10:36:57] *** DrMabuse has quit IRC
[10:37:02] *** opiates has left #angularjs
[10:37:05] *** dibblee has joined #angularjs
[10:37:22] <ytsejam> sorry ocx. the correct one is app.controller(['someService', function(someService), {}]);
[10:37:22] *** dibblee has quit IRC
[10:37:28] *** mmealling has quit IRC
[10:37:35] <numenor> windsurf_ , angular-moment directive will help you in your views : https://github.com/urish/angular-moment
[10:37:56] <ytsejam> after brackets you can inject and in function you can use them in injecting line
[10:38:09] <windsurf_> ok thanks
[10:38:13] <numenor> sure
[10:38:20] <ytsejam> or shortly app.controller(function(someService), {}]);
[10:38:42] <ytsejam> but this can cause problems while minifying
[10:39:10] *** aven1 has joined #angularjs
[10:39:29] *** Aswebb_ has joined #angularjs
[10:40:09] *** kader has joined #angularjs
[10:40:18] *** seriema has joined #angularjs
[10:40:52] <ocx> minifying? app.controller(function(someService), {}]); <--- what does it make sense if you are not injecting?
[10:40:53] *** kader has quit IRC
[10:41:27] *** illume has joined #angularjs
[10:42:26] *** joroc has quit IRC
[10:42:29] <numenor> ocx, minifying is the process of compressing a javascript file. during this process the compressor will convert long variable names to short
[10:42:38] <ocx> ok
[10:42:46] <numenor> for example your someService may become "e"
[10:43:02] <numenor> since angular needs the exact names, minifying fails
[10:43:36] *** quitedo has joined #angularjs
[10:43:38] <numenor> ocx , so to preserver the exact names during minification, you will need to put them in array syntax.
[10:43:38] *** quitedo has quit IRC
[10:43:55] *** tarnus has joined #angularjs
[10:44:26] *** asheshambasta has joined #angularjs
[10:44:27] *** seriema has quit IRC
[10:44:28] <numenor> If you never plan for minification, you can safely write app.controller('someCtrl',function(myService){}); directly
[10:44:51] <ytsejam> thanks numenor , I was not able to explain that clear. still in the reading docs and tutorials period
[10:45:15] <numenor> ytsejam , sure
[10:45:47] *** Reskp has quit IRC
[10:46:04] <ocx> its a good practice to have a controller with factory dependencies insteald of other controller's dependcies
[10:46:24] <numenor> ocx, yes highly recommended
[10:47:33] *** morenoh150 has quit IRC
[10:49:08] *** tarnus has quit IRC
[10:49:57] *** MattWelch has quit IRC
[10:50:38] <windsurf_> This (between {{ }} ) works in my controller, why not in the html? {{moment(nowDate).isAfter( event.start )}}
[10:51:08] *** morenoh150 has joined #angularjs
[10:51:38] <numenor> windsurf_ , Wouldnt that just return a true or false ?
[10:51:47] <windsurf_> numenor: it’s always returning false
[10:51:58] <windsurf_> but in my controller it returns true as expected
[10:52:12] <numenor> I think variable nowDate might not be getting resolved
[10:52:33] <windsurf_> I can print that out {{nowDate}} and it works
[10:52:39] <numenor> ok
[10:53:26] <windsurf_> oh that’s pretty weird.
[10:53:27] <numenor> Why do you have to do that in the html ?
[10:53:58] <windsurf_> in my controller if I do typeof on the event.start I get ‘string’ and I know the nowDate is a Date.
[10:54:29] *** MattWelch has joined #angularjs
[10:54:29] <windsurf_> but when I print out {{event.start}} and {{nowDate}} I actually see double quotes around nowDate and none around event.start.
[10:54:51] <numenor> windsurf_ , oh
[10:54:53] <windsurf_> i haven’t tried the angular directives yet.
[10:55:12] <numenor> the directive is only useful if you want to format dates
[10:55:24] <numenor> it wont help you in calculations
[10:55:40] <windsurf_> what i want to do ultimately, is grey out events in my list which have expired
[10:55:50] <numenor> ok
[10:55:58] <windsurf_> i have ‘now’ and i have a date on each event object the list
[10:56:03] <windsurf_> in the list*
[10:56:24] <numenor> I think you should convert both the dates in the controller to a same format..
[10:56:39] <windsurf_> i should be able to do ng-class”{expired: dateA < dateB}” i think
[10:56:41] <numenor> i.e maybe do moment('dateHere')
[10:56:54] *** Menorah has quit IRC
[10:57:02] <numenor> nowDate = moment(nowDate)
[10:57:10] <windsurf_> but event.start is a string even though on the node server and in mongodb is a date.
[10:57:12] *** mylordi has quit IRC
[10:57:23] <windsurf_> i’ll try.
[10:58:15] <numenor> windsurf_ , Javascript dates are a little messy, It will work out eventually.
[10:58:17] *** Steenkool has joined #angularjs
[10:59:04] *** PeterMetz has joined #angularjs
[10:59:35] *** Steenkool has quit IRC
[10:59:56] <windsurf_> thanks
[11:01:57] *** cacts|wtf has quit IRC
[11:03:46] *** Steenkool has joined #angularjs
[11:06:40] *** frkout_ has joined #angularjs
[11:08:51] *** Reskp has joined #angularjs
[11:09:10] *** windsurf_ has quit IRC
[11:09:11] *** joroc has joined #angularjs
[11:09:26] *** gunn_ has joined #angularjs
[11:10:10] *** frkout has quit IRC
[11:10:12] <ocx> if a controller depends on multiple services do i do ['service1',service2, function($service1,$service2)
[11:10:19] *** mrkake has quit IRC
[11:11:36] *** b1rkh0ff has joined #angularjs
[11:11:47] <numenor> ocx , yes
[11:11:51] *** ome has quit IRC
[11:11:56] *** frkout_ has quit IRC
[11:12:19] *** gunn has quit IRC
[11:12:58] *** RossJH has joined #angularjs
[11:13:01] *** aven1 has quit IRC
[11:14:36] *** lexek__ has joined #angularjs
[11:16:05] *** pehlert has joined #angularjs
[11:17:05] *** mrkake has joined #angularjs
[11:17:21] <ocx> numenor: http://plnkr.co/edit/KukdIXeyvhs3LMhlW0Rc?p=preview <--- here the refresh is returned only initially when the service is included in the controoller?
[11:17:36] <ocx> or everytime the dom changes, the service is called?
[11:17:58] *** foofoobar has joined #angularjs
[11:18:15] *** yts has quit IRC
[11:18:48] *** MattWelch has quit IRC
[11:19:50] *** vbabiy has joined #angularjs
[11:20:03] <ocx> i mean in general everytime anything changes in a DOM , the controller associated with its view is triggered?
[11:20:06] *** iateadonut has quit IRC
[11:20:26] *** mylordi has joined #angularjs
[11:20:39] *** pehlert has quit IRC
[11:21:27] *** vbabiy has quit IRC
[11:22:12] <numenor> ocx , no,
[11:22:31] <numenor> ocx , Controller gets initiated only once when the associated route is set
[11:22:32] *** nemothekid has quit IRC
[11:22:34] *** mylordi has quit IRC
[11:23:06] *** mylordi has joined #angularjs
[11:23:17] <numenor> ocx, what keeps updating is the $scope , which is bound between the view and controller
[11:23:23] *** rtpg has quit IRC
[11:23:30] *** mylordi is now known as mylord
[11:23:39] *** rtpg has joined #angularjs
[11:23:41] <ocx> and both views and controller are always reading in realtime from the scope
[11:24:07] *** bullicon has joined #angularjs
[11:24:24] <numenor> ocx, yes right
[11:25:05] <ocx> so if dom changes, scope changes, functions in controller using the scope variable changes
[11:25:10] <ocx> adn vice cersa
[11:25:17] <numenor> ocx , yes
[11:25:21] <ocx> thanks
[11:25:27] <numenor> sure
[11:25:38] *** MattWelch has joined #angularjs
[11:26:20] *** evotuned has joined #angularjs
[11:27:48] *** Sky[x] has joined #angularjs
[11:27:56] *** SargoDa__ has joined #angularjs
[11:28:36] *** KushS has quit IRC
[11:28:42] *** vbabiy has joined #angularjs
[11:31:03] *** jaydubya has joined #angularjs
[11:31:05] *** evotuned has quit IRC
[11:32:59] *** foofoobar has quit IRC
[11:33:11] *** DrMabuse has joined #angularjs
[11:33:25] *** threesixes has quit IRC
[11:35:01] *** marr has joined #angularjs
[11:35:06] *** illume has quit IRC
[11:36:28] *** jaydubya has quit IRC
[11:37:23] *** frem has quit IRC
[11:38:22] *** DrMabuse has quit IRC
[11:39:13] *** aven1 has joined #angularjs
[11:40:29] *** Steenkool has quit IRC
[11:40:42] *** leolrrj has joined #angularjs
[11:40:55] *** Steenkool has joined #angularjs
[11:41:06] <ytsejam> ocx nice converter btw
[11:41:21] *** seriema has joined #angularjs
[11:42:44] *** joroc has quit IRC
[11:43:20] *** despai has joined #angularjs
[11:43:59] *** Reskp has quit IRC
[11:45:13] *** cannap has joined #angularjs
[11:45:17] *** fixl has joined #angularjs
[11:46:08] *** seriema has quit IRC
[11:46:42] *** leolrrj_ has joined #angularjs
[11:47:57] *** rtpg has quit IRC
[11:47:57] *** asheshambasta has quit IRC
[11:48:04] *** leolrrj_ has joined #angularjs
[11:48:23] *** SargoDa__ has quit IRC
[11:48:44] *** robdubya has quit IRC
[11:48:46] *** leolrrj has quit IRC
[11:49:36] *** zumba_addict has quit IRC
[11:51:59] *** PeterMetz has quit IRC
[11:52:47] *** macobo has quit IRC
[11:53:13] *** _45kb has joined #angularjs
[11:53:30] <_45kb> hi there is anybody so gentle to help out on this issue please https://github.com/720kb/angular-datepicker/issues/7 ?
[11:53:50] *** ximenean___ has quit IRC
[11:54:42] *** ycodr_ has joined #angularjs
[11:54:44] *** opiates has joined #angularjs
[11:55:15] *** evilaliv3 has quit IRC
[11:55:46] *** despai has quit IRC
[11:56:13] *** ycodr has quit IRC
[11:56:17] *** vbabiy has joined #angularjs
[11:56:21] *** ycodr_ is now known as ycodr
[11:56:37] *** rikko has joined #angularjs
[11:56:44] *** numenor has quit IRC
[11:57:14] *** leolrrj has joined #angularjs
[11:57:29] *** gunn_ has quit IRC
[11:57:44] *** leolrrj_ has quit IRC
[11:57:56] *** vbabiy has quit IRC
[11:58:17] *** KushS has joined #angularjs
[11:58:43] *** gunn has joined #angularjs
[11:59:12] *** mylord has quit IRC
[11:59:52] *** devylon has quit IRC
[12:00:04] *** mylordi has joined #angularjs
[12:01:29] *** rikko has quit IRC
[12:03:23] *** asheshambasta has joined #angularjs
[12:08:01] *** xamgreen has joined #angularjs
[12:08:15] *** Shilon has joined #angularjs
[12:08:22] *** MattWelch has quit IRC
[12:09:04] *** jaydubya has joined #angularjs
[12:09:04] *** joroc has joined #angularjs
[12:09:34] *** Foxandxss has joined #angularjs
[12:09:53] *** KushS has quit IRC
[12:11:17] *** aven1 has quit IRC
[12:11:54] *** whunt has quit IRC
[12:13:22] *** evilaliv3 has joined #angularjs
[12:14:14] *** TheAceOfHearts has quit IRC
[12:14:49] *** MattWelch has joined #angularjs
[12:15:46] *** marko_ has joined #angularjs
[12:16:51] *** pehlert has joined #angularjs
[12:16:54] *** sbellina has joined #angularjs
[12:17:42] *** despai has joined #angularjs
[12:18:35] *** araujo has quit IRC
[12:18:57] *** cannap has quit IRC
[12:19:46] *** davek has quit IRC
[12:19:50] *** Varun_Krishna has joined #angularjs
[12:20:38] *** Varun_Krishna has left #angularjs
[12:21:32] *** pehlert has quit IRC
[12:21:32] *** sbellina has quit IRC
[12:21:37] *** mmealling has joined #angularjs
[12:22:31] *** nfroidure has joined #angularjs
[12:24:07] *** DLSteve has joined #angularjs
[12:24:10] *** rikko has joined #angularjs
[12:24:41] *** PeterMetz has joined #angularjs
[12:24:43] *** KushS has joined #angularjs
[12:25:02] *** rihbyne has quit IRC
[12:25:04] *** DrMabuse has joined #angularjs
[12:25:16] <Shilon> hello, I have a menu that opens a submenu on mousehover it changes the css to display: block, and on mouseleave it changes again to display: none, but I want to add when any of the submenu li a are active it should keep the parent ul.submenu display: block. Anyone knows how I do this?
[12:26:15] *** ingsoc has joined #angularjs
[12:26:41] *** mmealling has quit IRC
[12:27:19] *** evotuned has joined #angularjs
[12:27:27] *** lexek__ has quit IRC
[12:27:41] *** vbabiy has joined #angularjs
[12:28:04] *** Shilon has quit IRC
[12:28:28] *** Shilon has joined #angularjs
[12:28:36] *** MattWelch has quit IRC
[12:29:05] *** marko_ has quit IRC
[12:29:24] *** MattWelch has joined #angularjs
[12:29:31] *** vbabiy has quit IRC
[12:30:37] *** boonkerz- has quit IRC
[12:30:52] *** nfroidure has quit IRC
[12:31:12] *** Steenkool has quit IRC
[12:31:18] *** slopjong has joined #angularjs
[12:31:31] *** kapil__ has quit IRC
[12:31:56] *** boonkerz- has joined #angularjs
[12:32:03] *** evotuned has quit IRC
[12:32:36] *** Sadin has joined #angularjs
[12:32:46] *** tarnus has joined #angularjs
[12:32:52] *** tSpartak has quit IRC
[12:33:15] *** Firo has quit IRC
[12:33:52] *** despai has quit IRC
[12:34:16] *** MattWelch has quit IRC
[12:34:40] *** cakirke has joined #angularjs
[12:34:48] *** denny009 has joined #angularjs
[12:34:57] *** MattWelch has joined #angularjs
[12:35:06] <denny009> hello guys
[12:36:43] *** mrru has quit IRC
[12:36:53] *** Sadin has quit IRC
[12:37:17] *** tarnus has quit IRC
[12:37:49] *** e0ipso|away is now known as e0ipso
[12:37:52] *** rikko has quit IRC
[12:37:52] *** tschundeee has joined #angularjs
[12:38:12] *** vbabiy has joined #angularjs
[12:39:12] *** aven1 has joined #angularjs
[12:41:55] *** KushS has quit IRC
[12:42:13] *** RangerRick has quit IRC
[12:42:22] *** seriema has joined #angularjs
[12:42:35] *** RangerRick has joined #angularjs
[12:42:44] *** joroc has quit IRC
[12:43:04] *** vbabiy has quit IRC
[12:43:06] *** tschundeee has quit IRC
[12:43:26] *** ProLoser has quit IRC
[12:43:34] *** denny009 has quit IRC
[12:43:34] *** xxMatiasFCxx has quit IRC
[12:44:13] *** xxMatiasFCxx has joined #angularjs
[12:44:48] *** Reskp has joined #angularjs
[12:45:43] *** SargoDarya has joined #angularjs
[12:45:47] *** Sky[x] has quit IRC
[12:46:23] *** Left_Turn has joined #angularjs
[12:46:34] *** despai has joined #angularjs
[12:46:53] *** leolrrj has quit IRC
[12:46:53] *** despai has quit IRC
[12:46:57] *** seriema has quit IRC
[12:47:23] *** Reskp_ has joined #angularjs
[12:48:31] <xamgreen> hey denny009
[12:49:18] *** _45kb has quit IRC
[12:49:56] *** declanqian has quit IRC
[12:50:03] *** SargoDarya has quit IRC
[12:50:06] *** Reskp has quit IRC
[12:51:48] *** Reskp_ has quit IRC
[12:52:06] <ocx> if i have index.html controller.js and factory.js should i include factory.js <script></script> in main.html or in controller.js ?
[12:52:15] <Shilon> how do i do this when any “ul.submenu li a.active” change the css of the parent “ul.submenu” to display: block
[12:52:44] *** DLSteve has quit IRC
[12:53:50] <xamgreen> ocx: you should as a first step write both into the index.html. In the next step you can think about to concat both to one file. For example with grunt-contrib-concat
[12:54:28] *** Kane` has quit IRC
[12:54:37] <ocx> xamgreen: how will controller.js know how to import the factory ?
[12:55:20] *** woah has joined #angularjs
[12:56:49] *** Shilon has quit IRC
[12:57:02] *** zwacky has joined #angularjs
[12:58:56] *** jtimon has joined #angularjs
[13:00:14] <ocx> http://plnkr.co/edit/vSIuUinGvY1LYompY65f?p=preview
[13:00:23] <ocx> what am i doing wrong
[13:00:26] <ocx> cant use the factory
[13:00:30] *** leolrrj has joined #angularjs
[13:02:26] <ocx> TypeError: Cannot read property 'total' of undefined
[13:03:41] *** woah has quit IRC
[13:05:06] <Left_Turn> ocx look into angular.module
[13:05:24] *** ziyadb has joined #angularjs
[13:06:09] *** illume has joined #angularjs
[13:07:00] *** verbgarden has quit IRC
[13:07:40] *** ximenean___ has joined #angularjs
[13:08:40] *** ocx_ has joined #angularjs
[13:08:45] <ocx_> sorry got dc, anyone replied?
[13:08:55] *** ocx has quit IRC
[13:09:09] *** joroc has joined #angularjs
[13:10:12] *** Alina-malina has quit IRC
[13:10:20] *** verbgarden has joined #angularjs
[13:10:30] *** opiates has quit IRC
[13:10:48] *** DLSteve has joined #angularjs
[13:11:15] *** Zren_ has joined #angularjs
[13:11:22] *** ximenean___ has quit IRC
[13:12:00] *** denny009 has joined #angularjs
[13:12:09] <ocx_> anything wrong wtih this? http://pastebin.com/DmU0zMud
[13:12:18] <Left_Turn> ocx look into angular.module. There should be examples
[13:12:21] <denny009> guys what mean ? as parameter inside a custom directive?
[13:13:10] <denny009> I/ve seen: @, =, & but I don't know what mean ?
[13:13:16] *** Reskp has joined #angularjs
[13:13:19] *** aven1 has quit IRC
[13:13:28] *** Alina-malina has joined #angularjs
[13:13:53] *** Zren has quit IRC
[13:15:01] *** Reskp has quit IRC
[13:15:09] *** tschundeee has joined #angularjs
[13:15:10] <ocx_> Left_Turn: read https://code.angularjs.org/1.2.26/docs/guide/concepts
[13:15:15] <ocx_> but something is wrong in my code
[13:16:43] *** MattWelch has quit IRC
[13:17:16] *** ries has quit IRC
[13:17:36] *** pehlert has joined #angularjs
[13:17:36] *** ries has joined #angularjs
[13:19:52] <ocx_> a factory should always have a return?
[13:21:45] <denny009> guys...someone could explain me what mean "?" in the isolate scope on the directive? I don't found the documentation
[13:21:57] *** pehlert has quit IRC
[13:22:24] <Left_Turn> I have to add the module + dependencies in the main html to be able to create services in other files. ocx sorry im a little busy atm
[13:23:05] *** Evanion has joined #angularjs
[13:23:05] <ocx_> no problem,
[13:23:13] *** kapil__ has joined #angularjs
[13:23:34] <ocx_> it seems the factory variables are not accesible by a controller unles the factory returns the variables in a return is this correct?
[13:23:37] *** jae has joined #angularjs
[13:23:37] *** MattWelch has joined #angularjs
[13:23:40] *** DrMabuse has quit IRC
[13:23:53] *** jae has left #angularjs
[13:26:00] *** Aswebb__ has joined #angularjs
[13:26:51] *** EQp has joined #angularjs
[13:27:17] *** Aswebb_ has quit IRC
[13:28:22] *** evotuned has joined #angularjs
[13:29:53] *** ycodr_ has joined #angularjs
[13:30:16] <denny009> no one could explain me the difference? I don't find nothing on google
[13:30:52] *** illume has quit IRC
[13:31:00] <Left_Turn> denny it means it doesn't share its scope with any other scope... so there's no conflict
[13:31:27] <Left_Turn> denny009,
[13:31:29] <denny009> Left_Turn: but it's yet isolate the scope?
[13:31:32] *** ries has quit IRC
[13:31:33] *** fedenunez has joined #angularjs
[13:31:49] *** jamieshepherd has joined #angularjs
[13:31:53] <Left_Turn> yes
[13:32:11] *** ycodr__ has joined #angularjs
[13:32:17] *** comma8 has quit IRC
[13:32:18] *** Rebirth has quit IRC
[13:32:20] <denny009> Left_Turn: so what mean no conflict if it's isolate?
[13:32:24] *** ycodr has quit IRC
[13:32:35] *** ycodr__ is now known as ycodr
[13:33:00] *** evotuned has quit IRC
[13:33:47] <Left_Turn> if you share a scope, when you change properties, they change in every service etc... isolated scopes prevents this
[13:34:14] <denny009> Left_Turn: sorry but how you can share the scope?
[13:34:42] *** juampy has joined #angularjs
[13:34:49] *** ycodr_ has quit IRC
[13:34:51] <denny009> Left_Turn: when you create something like that scope : {} it's private isn't it?
[13:34:57] <Left_Turn> you need a tutorial denny009
[13:35:31] *** ArTiSTiX has quit IRC
[13:35:32] <ocx_> the only way to access factory variables is via the return methods defined in the factory?
[13:36:15] <denny009> Left_Turn: yep but for this I'm not find nothing valid...I'm reading the doc of Angular and it doesn't speak regarding the "?"
[13:37:08] <Left_Turn> ocx returned object I believe
[13:37:28] <ocx_> Left_Turn: yea but you cannot access like a local variable defined in a factory scope
[13:37:36] <ocx_> you can only use the returned object right?
[13:37:40] <Left_Turn> yes
[13:38:16] *** ArTiSTiX has joined #angularjs
[13:38:48] <xamgreen> ocx_: yes
[13:38:54] <Left_Turn> yes it's private denny009
[13:39:16] *** aven1 has joined #angularjs
[13:39:49] <xamgreen> ocx_: and you should asign sum to $scope to make it accessable in the view.
[13:39:52] <denny009> Left_Turn: sorry...you've same example or a doc that explain what you say?
[13:40:39] <Left_Turn> no.. try stackoverflow
[13:41:05] <denny009> Left_Turn: I'm searching but nothing :(
[13:41:30] <Left_Turn> what are you trying to do denny009 ?
[13:42:52] *** joroc has quit IRC
[13:42:55] <denny009> Left_Turn: I'm reading the code of material design component (textfield.js) and I find this:scope : { fid : '@?mdFid', so I'm not albe to understand what is this
[13:43:22] *** seriema has joined #angularjs
[13:43:45] <Left_Turn> it's isolates the scope from the rest of the app. Thats all
[13:44:27] <denny009> Left_Turn: and if it was: scope : { fid : ' at mdFid' dot ........ what is the change ?
[13:44:37] *** metasansana has joined #angularjs
[13:44:45] *** freeman42x has joined #angularjs
[13:45:17] <Left_Turn> 1 way binding denny009
[13:45:38] <denny009> Left_Turn: and no problem for (@)
[13:46:08] <denny009> Left_Turn: I've removed the ( ? ) and try to understand what is the difference
[13:46:18] *** Hestil has joined #angularjs
[13:46:30] <denny009> between fid : '@?mdFid' and fid : '@mdFid'
[13:46:35] *** a3gis has joined #angularjs
[13:46:40] <Left_Turn> I haven't got time to sit and walk you through this denny009 , sorry I have company
[13:47:22] *** SargoDarya has joined #angularjs
[13:47:22] *** MattWelch has quit IRC
[13:48:16] *** freeman42 has quit IRC
[13:48:23] *** seriema has quit IRC
[13:48:28] <Left_Turn> btw I've never come across the '?' so I don't know
[13:48:31] <ocx_> cant you create inside a controller or a factory a function() { } without assigning it to a variable? varA = function() ?
[13:49:01] *** komlev has quit IRC
[13:50:13] *** MattWelch has joined #angularjs
[13:50:34] *** sahbeewah has joined #angularjs
[13:50:40] <xamgreen> ocx_: ofcause you can. The factory function is getting called by the dependency injection mechanism via "new". You need to return a object, like always in factory functions.
[13:51:20] *** mlpug has joined #angularjs
[13:51:44] <denny009> Left_Turn: ok tnx ... is the same thing for me...it's the first time and I not found doc but I see that the angular team use it
[13:52:53] <ocx_> xamgreen: http://pastebin.com/eB7xsq8c
[13:52:58] <ocx_> i mean attempt 2 does not work
[13:53:10] *** tschundeee has quit IRC
[13:53:15] *** Shilon has joined #angularjs
[13:53:29] <Left_Turn> denny009, np.. only worry about it when you need it.
[13:53:43] *** tschundeee has joined #angularjs
[13:56:40] *** Reskp has joined #angularjs
[13:56:42] *** cotko has joined #angularjs
[13:58:30] *** tschundeee has quit IRC
[13:58:31] *** mylordi has quit IRC
[13:59:09] *** eago_ has joined #angularjs
[13:59:35] *** Solid1_afk is now known as Solid1
[13:59:42] *** ries has joined #angularjs
[14:00:13] *** Sky[x] has joined #angularjs
[14:00:22] *** tarnus has joined #angularjs
[14:00:55] *** DLSteve has quit IRC
[14:00:59] <xamgreen> ocx_: ofcause it is not working. You need to return the function and dont want to excute the function, at this position.
[14:01:37] *** tschundeee has joined #angularjs
[14:01:41] *** metasansana has quit IRC
[14:02:04] *** hswolff has quit IRC
[14:02:25] <ocx_> xamgreen: i cant execute at this point ? like execute and return
[14:02:28] *** Aswebb__ has quit IRC
[14:03:44] <ocx_> angular is really different than other script/programming languages
[14:03:59] <xamgreen> ocx_: your a and b is not defined at that line
[14:04:07] *** denny009 has quit IRC
[14:04:10] <ocx_> like a return section in a factory cannot have executables? only returned functions?
[14:04:16] <ocx_> k
[14:04:24] <xamgreen> you can to return { total: totals(2,3) }
[14:04:32] <xamgreen> or define a and b
[14:04:40] *** hswolff has joined #angularjs
[14:04:41] *** Omar has joined #angularjs
[14:04:44] <ocx_> k
[14:06:35] *** fedenunez has quit IRC
[14:06:43] *** Reskp has quit IRC
[14:06:51] <Omar> Do you use a angularjs of front-end, approval and comply with seo?
[14:07:50] *** mmealling has joined #angularjs
[14:09:08] *** SargoDarya has quit IRC
[14:09:49] *** mylordi has joined #angularjs
[14:10:00] *** mylordi is now known as mylord
[14:11:46] *** cornerma1 has joined #angularjs
[14:12:03] *** bmac has joined #angularjs
[14:13:53] *** mmealling has quit IRC
[14:15:05] *** cornerman has quit IRC
[14:15:06] *** startupality has joined #angularjs
[14:15:09] *** cornerma1 is now known as cornerman
[14:15:31] *** Milkweed has joined #angularjs
[14:15:39] *** despai has joined #angularjs
[14:16:32] *** bmac has quit IRC
[14:17:48] *** sbellina has joined #angularjs
[14:18:25] *** pehlert has joined #angularjs
[14:18:41] *** woah has joined #angularjs
[14:19:50] *** Trow has joined #angularjs
[14:19:57] *** zwischenzug3 has joined #angularjs
[14:22:05] <Omar> How do search engines deal with AngularJS applications?+
[14:22:19] *** sbellina has quit IRC
[14:23:13] *** pehlert has quit IRC
[14:24:22] *** DrMabuse has joined #angularjs
[14:26:09] *** Zaza has quit IRC
[14:29:25] *** evotuned has joined #angularjs
[14:29:32] *** DrMabuse has quit IRC
[14:31:15] *** KushS has joined #angularjs
[14:31:24] *** leolrrj has quit IRC
[14:32:12] *** ProLoser has joined #angularjs
[14:32:56] *** jumpstracks has joined #angularjs
[14:33:01] *** MistahKurtz has joined #angularjs
[14:33:16] <ocx_> i have this factory http://pastebin.com/eiMdG46t , if a controller is using this service, when is the refresh(); called?
[14:33:59] <ocx_> as soon as i include this factory in a controller the vars are initiallized and refresh(); called?
[14:33:59] *** evotuned has quit IRC
[14:34:17] *** leolrrj has joined #angularjs
[14:35:23] *** KushS has quit IRC
[14:36:32] *** TyrfingMjolnir has quit IRC
[14:36:38] *** ProLoser has quit IRC
[14:36:52] *** Seus has joined #angularjs
[14:37:06] *** TyrfingMjolnir has joined #angularjs
[14:37:36] *** cotko has quit IRC
[14:39:18] *** joroc has joined #angularjs
[14:39:39] *** cads has quit IRC
[14:40:09] *** ceephax has joined #angularjs
[14:40:15] *** rtpg has joined #angularjs
[14:41:20] *** cotko has joined #angularjs
[14:41:51] *** KushS has joined #angularjs
[14:42:57] *** aven1 has quit IRC
[14:44:13] *** leolrrj has quit IRC
[14:44:27] *** seriema has joined #angularjs
[14:44:38] *** jdivock has joined #angularjs
[14:44:39] *** oncenull has joined #angularjs
[14:45:30] *** PeterMetz has quit IRC
[14:45:47] *** cotko has quit IRC
[14:46:38] *** woah has quit IRC
[14:46:57] *** Milkweed has quit IRC
[14:48:03] *** Omar has quit IRC
[14:48:18] *** jumpstracks has quit IRC
[14:49:24] *** eago_ has quit IRC
[14:49:28] *** seriema has quit IRC
[14:49:42] *** IvailoStoianov has quit IRC
[14:49:52] *** comma8 has joined #angularjs
[14:50:26] *** evilaliv3 has quit IRC
[14:51:58] <ocx_> can someone explain to me why console.log is not being called ? http://pastebin.com/i37GBFM4
[14:52:13] *** in2rd has joined #angularjs
[14:52:51] *** IvailoStoianov has joined #angularjs
[14:54:06] *** jdivock has quit IRC
[14:54:21] *** evilaliv3 has joined #angularjs
[14:55:19] *** Trow has quit IRC
[14:55:43] *** Reskp has joined #angularjs
[14:55:46] *** Trow has joined #angularjs
[14:57:11] *** vbabiy has joined #angularjs
[14:57:19] *** mlpug has quit IRC
[14:58:03] *** mlpug has joined #angularjs
[14:58:52] *** pzuraq has joined #angularjs
[14:59:01] <zwacky> ocx_, you're not calling it tho
[15:02:06] *** Reskp has quit IRC
[15:02:14] *** mmealling has joined #angularjs
[15:02:31] *** jtimon has quit IRC
[15:03:09] *** jtimon has joined #angularjs
[15:03:17] *** Reskp has joined #angularjs
[15:05:53] *** evilaliv3 has quit IRC
[15:06:07] *** SargoDarya has joined #angularjs
[15:06:52] *** mmealling has quit IRC
[15:07:05] *** jumpstracks has joined #angularjs
[15:07:09] *** msg has joined #angularjs
[15:07:09] *** msg has joined #angularjs
[15:09:15] *** aven1 has joined #angularjs
[15:09:37] *** Shilon has quit IRC
[15:10:19] *** Rebirth has joined #angularjs
[15:10:27] <ocx_> i am lost when to use var1() and when to call it using var1 without the ()
[15:11:23] *** sbellina has joined #angularjs
[15:12:34] *** joroc has quit IRC
[15:12:53] *** bmac has joined #angularjs
[15:17:19] *** bmac has quit IRC
[15:17:38] *** juampy has quit IRC
[15:18:09] *** vbabiy has quit IRC
[15:18:33] *** startupality has quit IRC
[15:19:00] *** rtpg_ has joined #angularjs
[15:19:10] *** pehlert has joined #angularjs
[15:19:42] *** startupality has joined #angularjs
[15:20:08] *** macobo has joined #angularjs
[15:20:24] *** startupality has quit IRC
[15:20:45] *** cesarkawakami has joined #angularjs
[15:22:18] *** ximenean___ has joined #angularjs
[15:22:47] *** rtpg has quit IRC
[15:23:05] *** jegade has quit IRC
[15:23:40] *** pehlert has quit IRC
[15:24:13] *** qdk has quit IRC
[15:24:22] *** jumpstracks has quit IRC
[15:25:08] *** DrMabuse has joined #angularjs
[15:25:28] *** erictr1ck has joined #angularjs
[15:26:29] *** SargoDarya has quit IRC
[15:27:28] <ocx_> can i change factory data from inside a controller? something like factory.var1 = this.currencies inside a controller?
[15:27:38] *** erictr1ck has quit IRC
[15:28:06] <ocx_> or usually a controller reads data from a factory and plays with it internally?
[15:29:56] *** DrMabuse has quit IRC
[15:30:09] *** Megamind has joined #angularjs
[15:30:24] *** evotuned has joined #angularjs
[15:30:36] *** rtpg_ has quit IRC
[15:30:42] *** lexek__ has joined #angularjs
[15:31:02] *** mrru has joined #angularjs
[15:31:53] *** Megamind has left #angularjs
[15:32:00] *** michaelSharpe has joined #angularjs
[15:32:06] *** rtpg has joined #angularjs
[15:35:10] *** evotuned has quit IRC
[15:35:24] *** Rebirth has quit IRC
[15:36:23] *** annlewis has joined #angularjs
[15:36:29] *** michaelSharpe has quit IRC
[15:37:23] *** MistahKurtz has quit IRC
[15:38:48] *** lolmaus has quit IRC
[15:39:01] *** boonkerz- has quit IRC
[15:39:18] *** joroc has joined #angularjs
[15:40:23] *** soee_ has joined #angularjs
[15:41:44] *** aven1 has quit IRC
[15:43:31] *** vlad_sta- has quit IRC
[15:44:10] *** soee has quit IRC
[15:44:32] <ocx_> can i write logic conditiations in an ng-repeat?
[15:44:32] *** Aswebb_ has joined #angularjs
[15:44:41] <ocx_> like an if condition?
[15:45:20] *** seriema has joined #angularjs
[15:46:04] *** IvanoffCSI has quit IRC
[15:47:09] *** sahbeewah has quit IRC
[15:47:56] *** boonkerz- has joined #angularjs
[15:48:15] *** Rebirth has joined #angularjs
[15:49:05] *** kkthxbye has joined #angularjs
[15:49:05] *** Rebirth has quit IRC
[15:49:32] *** seriema has quit IRC
[15:49:41] <ocx_> ?
[15:52:21] *** danecando has joined #angularjs
[15:52:49] *** Reskp has quit IRC
[15:53:03] *** eyi has quit IRC
[15:55:06] *** cacts|wtf has joined #angularjs
[15:55:16] *** vlad_starkov has joined #angularjs
[15:55:20] *** MattWelch has quit IRC
[15:58:15] *** Aswebb_ has quit IRC
[15:59:59] *** MattWelch has joined #angularjs
[16:00:18] *** eyi_ has joined #angularjs
[16:02:29] *** eyi_ has quit IRC
[16:03:59] *** oncenull has quit IRC
[16:04:46] *** SergioFilhow has joined #angularjs
[16:06:01] *** TyrfingMjolnir has quit IRC
[16:06:15] *** tSpartak has joined #angularjs
[16:07:13] *** Shilon has joined #angularjs
[16:07:56] *** TyrfingMjolnir has joined #angularjs
[16:08:31] <Shilon> hello,
[16:09:11] <ocx_> can i write logic conditiations in an ng-repeat?
[16:09:21] <Shilon> I have something similar to this http://codepen.io/derekshull/pen/noFsC how can I make the ul submenu display block if any of the li submenu links are active?
[16:09:22] *** aven1 has joined #angularjs
[16:10:23] *** boxmein has joined #angularjs
[16:11:17] *** cads has joined #angularjs
[16:11:18] <xamgreen> ocx_: what do you mean with logic conditiations in ng-repeat? Showing only a subset of the array?
[16:11:32] <ocx_> if confditions for example xamgreen
[16:11:51] *** MuffinMan` has joined #angularjs
[16:11:55] <xamgreen> ocx_: use a directive for that
[16:11:57] <CanyonMan1> What did people hate about the old ngGrid that made them write the new ngGrid ?
[16:11:58] *** Zebra111 has quit IRC
[16:12:05] *** CanyonMan1 is now known as CanyonMan
[16:12:13] <ocx_> xamgreen: like which one? ng-if ?
[16:12:28] <xamgreen> ocx_: sorry a filter, i mean
[16:12:47] *** joroc has quit IRC
[16:12:52] <xamgreen> ocx_: that filters the array by this condition.
[16:13:41] *** bmac has joined #angularjs
[16:13:50] <SergioFilhow> does anyone know if there's a way to add pkg.version to my compass compiled css (just like grunt) ?
[16:14:10] *** JohnBat26 has joined #angularjs
[16:15:10] *** annlewis has quit IRC
[16:15:55] *** rtpg has quit IRC
[16:16:50] *** bbankes has joined #angularjs
[16:16:51] *** oncenull has joined #angularjs
[16:18:13] *** bmac has quit IRC
[16:19:28] *** oncenull has quit IRC
[16:19:53] *** pehlert has joined #angularjs
[16:20:08] *** boonkerz- has quit IRC
[16:20:59] *** ProLoser has joined #angularjs
[16:21:40] *** jegade has joined #angularjs
[16:23:40] *** Reskp has joined #angularjs
[16:23:40] *** SargoDarya has joined #angularjs
[16:24:09] *** pehlert has quit IRC
[16:25:37] <Shilon> why is my ngvideo giving this error TypeError: Cannot read property 'setAutoplay' of undefined and it’s working?
[16:25:53] *** DrMabuse has joined #angularjs
[16:25:55] *** ProLoser has quit IRC
[16:26:29] *** dacuca has joined #angularjs
[16:27:10] *** zz_night-owl is now known as night-owl
[16:28:09] *** SargoDarya has quit IRC
[16:28:11] *** Reskp has quit IRC
[16:28:48] *** boxmein has quit IRC
[16:29:37] *** shinnya has quit IRC
[16:30:39] *** DrMabuse has quit IRC
[16:30:57] *** Zemke has joined #angularjs
[16:31:24] *** evotuned has joined #angularjs
[16:31:58] *** michaelSharpe has joined #angularjs
[16:31:59] *** ADGgzMB3IIZY has joined #angularjs
[16:32:54] *** ADGgzMB3IIZY has quit IRC
[16:32:54] *** ADGgzMB3IIZY has joined #angularjs
[16:33:10] *** ADGgzMB3IIZY is now known as guy
[16:35:04] *** ycodr_ has joined #angularjs
[16:35:50] *** evotuned has quit IRC
[16:36:07] *** warehouse13 has joined #angularjs
[16:36:33] *** Left_Turn has quit IRC
[16:37:03] *** TripTastic has joined #angularjs
[16:37:31] *** ycodr has quit IRC
[16:37:44] *** ycodr_ is now known as ycodr
[16:38:56] *** bayousoft has joined #angularjs
[16:39:22] *** joroc has joined #angularjs
[16:39:58] *** jumpstracks has joined #angularjs
[16:40:04] *** JBreit has quit IRC
[16:40:13] *** tschundeee has quit IRC
[16:41:15] *** night-owl is now known as zz_night-owl
[16:42:29] *** thomasreggi has joined #angularjs
[16:43:17] *** michaelSharpe has quit IRC
[16:43:19] *** aven1 has quit IRC
[16:44:52] *** torartc has joined #angularjs
[16:45:43] *** jstroem has joined #angularjs
[16:46:51] *** Seus has quit IRC
[16:47:17] *** vectra has joined #angularjs
[16:48:16] *** despai has quit IRC
[16:48:28] *** lexek__ has quit IRC
[16:48:45] *** boxmein has joined #angularjs
[16:48:57] *** bbankes has quit IRC
[16:50:54] *** asheshambasta1 has joined #angularjs
[16:51:31] *** kapil__ has quit IRC
[16:52:26] *** angular_noob has joined #angularjs
[16:52:44] *** PeterMetz has joined #angularjs
[16:52:47] *** asheshambasta has quit IRC
[16:53:44] *** angular_noob has quit IRC
[16:54:38] *** Seich has quit IRC
[16:54:43] *** ycodr_ has joined #angularjs
[16:56:11] *** Seich has joined #angularjs
[16:56:22] *** ycodr has quit IRC
[16:56:23] *** ycodr_ is now known as ycodr
[16:57:16] *** mlpug has quit IRC
[16:57:44] *** grumpyOldRussian has quit IRC
[16:59:02] *** cthrax has joined #angularjs
[16:59:58] *** torartc has quit IRC
[17:02:37] *** s_e has quit IRC
[17:03:31] *** chrisshattuck has joined #angularjs
[17:03:41] *** JesseH has joined #angularjs
[17:04:37] *** gunn has quit IRC
[17:04:50] *** Zebra111 has joined #angularjs
[17:05:18] *** s_e has joined #angularjs
[17:05:19] *** nc90 has joined #angularjs
[17:07:38] *** ycodr_ has joined #angularjs
[17:08:24] *** theotherguy has quit IRC
[17:09:11] *** rajatarora has joined #angularjs
[17:09:34] *** rikko has joined #angularjs
[17:09:37] *** ivaldi has quit IRC
[17:10:09] *** cjustiniano has joined #angularjs
[17:10:23] *** ycodr has quit IRC
[17:10:32] *** ycodr_ is now known as ycodr
[17:10:51] *** manue has joined #angularjs
[17:10:58] *** numproc has joined #angularjs
[17:11:14] *** manue has left #angularjs
[17:11:16] *** chrisshattuck has quit IRC
[17:11:19] *** cesarkawakami has quit IRC
[17:11:44] *** ivaldi has joined #angularjs
[17:12:14] *** rikko has quit IRC
[17:12:26] *** thomasreggi has quit IRC
[17:14:59] *** b1rkh0ff has quit IRC
[17:15:28] *** xamgreen has quit IRC
[17:15:37] *** supermassiv has quit IRC
[17:15:42] *** zwacky has quit IRC
[17:16:19] *** Sky[x] has quit IRC
[17:16:41] *** supermassiv has joined #angularjs
[17:17:42] *** jamto11 has joined #angularjs
[17:18:02] *** xamgreen has joined #angularjs
[17:18:53] *** zwacky has joined #angularjs
[17:19:08] *** Sky[x] has joined #angularjs
[17:19:36] *** chrisshattuck has joined #angularjs
[17:20:32] *** cacts|wtf has quit IRC
[17:20:39] *** pehlert has joined #angularjs
[17:20:54] *** eago_ has joined #angularjs
[17:21:17] *** boonkerz- has joined #angularjs
[17:22:09] *** pushpak has joined #angularjs
[17:23:28] *** chrisshattuck has quit IRC
[17:23:44] *** foofoobar has joined #angularjs
[17:23:50] *** psi is now known as Psi|4ward
[17:24:05] *** torartc has joined #angularjs
[17:24:26] *** Reskp has joined #angularjs
[17:24:30] *** evilaliv3 has joined #angularjs
[17:24:36] *** cotko has joined #angularjs
[17:25:15] *** SargoDarya has joined #angularjs
[17:25:18] *** pehlert has quit IRC
[17:25:41] *** Seich has quit IRC
[17:25:59] *** PeterMetz has quit IRC
[17:26:32] *** PeterMetz has joined #angularjs
[17:26:36] *** DrMabuse has joined #angularjs
[17:26:42] *** xamgreen has quit IRC
[17:26:46] *** arabot has joined #angularjs
[17:26:49] *** arabot has quit IRC
[17:27:04] *** woah has joined #angularjs
[17:27:46] *** Seich has joined #angularjs
[17:28:42] *** jonatas_oliveira has joined #angularjs
[17:29:14] *** Reskp has quit IRC
[17:31:45] *** DrMabuse has quit IRC
[17:32:28] *** evotuned has joined #angularjs
[17:33:44] *** diffalot has quit IRC
[17:34:08] *** theotherguy has joined #angularjs
[17:34:44] *** qwerty2 has joined #angularjs
[17:34:51] <qwerty2> hi
[17:35:50] <qwerty2> I have http://jsonplaceholder.typicode.com running on localhost but I would like to add new items. ¿Someones knows if there is any simple way to do that?
[17:36:31] *** Milkweed has joined #angularjs
[17:36:57] *** evotuned has quit IRC
[17:37:02] *** Zebra111 has quit IRC
[17:37:44] *** despai has joined #angularjs
[17:37:46] *** Zebra111 has joined #angularjs
[17:38:23] *** torartc has quit IRC
[17:38:34] *** despai has quit IRC
[17:38:45] <Foxandxss> qwerty2: readme points to: https://github.com/typicode/json-server
[17:39:16] *** aven1 has joined #angularjs
[17:39:34] *** thomasreggi has joined #angularjs
[17:39:55] *** diffalot has joined #angularjs
[17:43:05] *** joroc has quit IRC
[17:43:28] *** cesarkawakami has joined #angularjs
[17:44:34] *** D-Boy has quit IRC
[17:46:17] *** willeponken has quit IRC
[17:46:46] *** SargoDarya has quit IRC
[17:47:02] *** edrocks has joined #angularjs
[17:47:05] *** seriema has joined #angularjs
[17:48:05] *** mrru has quit IRC
[17:48:17] <qwerty2> Foxandxss: If I make proof using a database as json , when I would like to use mongo would be easy the migration?
[17:48:35] *** willeponken has joined #angularjs
[17:48:46] <Foxandxss> no idea
[17:48:48] <Foxandxss> not a mongo fan
[17:49:13] <qwerty2> and migrate to MySQL / Postgresql? Foxandxss
[17:49:34] <Foxandxss> I use the real deal from day 1
[17:49:47] <Foxandxss> but yeah, you could use a fake json backend
[17:49:51] <Foxandxss> and switch without problems
[17:50:35] *** jonatas_oliveira has quit IRC
[17:50:45] *** cotko has quit IRC
[17:51:02] *** foofoobar has quit IRC
[17:51:05] <qwerty2> I think to prototype the app is great to have a mocked database to make the frontend
[17:51:25] *** thomasreggi has quit IRC
[17:52:00] <Foxandxss> yeah, why not
[17:52:30] *** seriema has quit IRC
[17:53:04] *** e0ipso is now known as e0ipso|away
[17:54:56] *** cads has quit IRC
[17:55:12] *** boxmein has quit IRC
[17:56:07] *** e0ipso|away is now known as e0ipso
[17:56:32] *** Zebra111 has quit IRC
[17:56:48] *** Johnny13371337 has joined #angularjs
[17:57:12] *** Orbitrix has joined #angularjs
[17:58:41] *** PeterMetz has quit IRC
[17:59:09] *** fotoflo has joined #angularjs
[17:59:41] *** grumpyOldRussian has joined #angularjs
[18:00:14] *** bayousoft has quit IRC
[18:00:42] *** dmamills has quit IRC
[18:00:53] *** Zebra111 has joined #angularjs
[18:01:59] *** dmamills has joined #angularjs
[18:02:37] *** b1rkh0ff has joined #angularjs
[18:03:04] *** nycdevgirl has joined #angularjs
[18:04:01] *** grumpyOldRussian has quit IRC
[18:04:43] <Shilon> : why is my ngvideo giving this error TypeError: Cannot read property 'setAutoplay' of undefined but the auto play is working?
[18:05:25] <TyrfingMjolnir> qwerty2: Why would you ever use a portable array for database? My favorite is postgreSQL
[18:05:58] *** marchand has joined #angularjs
[18:05:59] *** TommyO has joined #angularjs
[18:06:08] <TyrfingMjolnir> qwerty2: For mocks, you can use a json file
[18:06:50] *** ingsoc1 has joined #angularjs
[18:07:19] *** KD9AUS has joined #angularjs
[18:07:33] *** ingsoc has quit IRC
[18:07:36] *** D-Boy has joined #angularjs
[18:07:55] *** iH8Pickles has quit IRC
[18:08:07] *** oncenull has joined #angularjs
[18:08:53] <qwerty2> TyrfingMjolnir: what portable array for database for you?
[18:09:07] *** cthrax has quit IRC
[18:09:08] *** e0ipso is now known as e0ipso|away
[18:09:23] *** joroc has joined #angularjs
[18:09:36] *** pushpak has quit IRC
[18:09:43] *** chiburbs has quit IRC
[18:09:47] <TyrfingMjolnir> JSON, mongoDB, XML, hstore
[18:09:52] *** ProLoser has joined #angularjs
[18:09:53] *** jaawerth has quit IRC
[18:10:04] *** edrocks has quit IRC
[18:10:47] *** iH8Pickles has joined #angularjs
[18:10:48] <TyrfingMjolnir> qwerty2: Performance comparison: https://wiki.postgresql.org/images/b/b4/Pg-as-nosql-pgday-fosdem-2013.pdf a bit old, but not that old
[18:10:54] *** Shilon has quit IRC
[18:11:01] *** e0ipso|away is now known as e0ipso
[18:11:40] *** aven1 has quit IRC
[18:12:06] <qwerty2> TyrfingMjolnir: now I'm going to use a json file as database so when I use mongo would be more easy
[18:12:21] <TyrfingMjolnir> Why use mongo?
[18:12:21] *** danecando has quit IRC
[18:12:27] *** Zebra111 has quit IRC
[18:12:44] <qwerty2> because is more efficient than MySQL
[18:12:52] *** oncenull has quit IRC
[18:12:52] *** dmamills has quit IRC
[18:12:54] <TyrfingMjolnir> In what way?
[18:13:09] <qwerty2> use of memory and microprocesator
[18:13:10] *** jaawerth has joined #angularjs
[18:13:15] <TyrfingMjolnir> If you want flexibility with performance use jsonb datatype in postgreSQL
[18:13:27] <TyrfingMjolnir> qwerty2: Did you do tests?
[18:13:28] *** dmamills has joined #angularjs
[18:13:41] *** dacuca has quit IRC
[18:14:21] <TyrfingMjolnir> If you want a quick setup: http://rny.io/nginx/postgresql/2013/07/26/simple-api-with-nginx-and-postgresql.html
[18:14:26] <qwerty2> not really TyrfingMjolnir this is what I read
[18:14:40] *** ProLoser has quit IRC
[18:14:49] <TyrfingMjolnir> It's just bullshit, postgreSQL is still 5 times more efficient.
[18:15:06] <TyrfingMjolnir> ... and with the same flexibility, if not better
[18:15:22] <TyrfingMjolnir> MySQL is stale though... I have not really seen anything new there since 2005
[18:15:37] *** freeman42x has quit IRC
[18:15:54] *** diffalot has quit IRC
[18:16:32] <TyrfingMjolnir> Remember that still when mogodb does certain SOLR-like operations quickly, mongodb wastes disk space
[18:16:46] *** ycodr_ has joined #angularjs
[18:16:54] <TyrfingMjolnir> and as such is inefficient
[18:17:04] *** ximenean___ has quit IRC
[18:17:26] *** diffalot has joined #angularjs
[18:17:39] *** ximenean___ has joined #angularjs
[18:18:32] *** ycodr has quit IRC
[18:18:41] *** ycodr_ is now known as ycodr
[18:18:51] *** ries has quit IRC
[18:19:21] *** ries has joined #angularjs
[18:19:24] *** Zebra111 has joined #angularjs
[18:20:04] *** dmamills has quit IRC
[18:20:06] *** nycdevgirl has quit IRC
[18:21:05] <qwerty2> yeah
[18:21:24] *** s00pcan__ has joined #angularjs
[18:21:26] *** pehlert has joined #angularjs
[18:21:32] *** s00pcan has quit IRC
[18:23:29] *** tristanp has joined #angularjs
[18:23:36] *** ingsoc1 has quit IRC
[18:23:52] *** zwacky has quit IRC
[18:23:53] *** desmond has quit IRC
[18:24:43] *** Seich has quit IRC
[18:24:51] *** dacuca has joined #angularjs
[18:25:02] *** desmond has joined #angularjs
[18:25:16] *** Reskp has joined #angularjs
[18:25:17] *** OnkelTem has joined #angularjs
[18:25:19] <OnkelTem> Hi all
[18:25:19] <qwerty2> now I have https://github.com/typicode/json-server with http://jsonplaceholder.typicode.com 's db.json! :-D I can add new post, edit it and delete it Foxandxss TyrfingMjolnir
[18:25:25] <qwerty2> OnkelTem: hi
[18:25:42] *** Sky[x] has quit IRC
[18:26:09] *** pehlert has quit IRC
[18:26:24] *** ycodr_ has joined #angularjs
[18:26:26] <OnkelTem> I want to create bundle from all template partials but can't decide which npm module to use: gulp-ng-html2js? gulp-angular-templates? gulp-angular-htmlify? gulp-templatecache?
[18:26:39] <OnkelTem> Any ideas? Why people create so many modules doing the same thing?
[18:26:43] *** Solid1 is now known as Solid1_afk
[18:26:46] *** dmamills has joined #angularjs
[18:26:54] *** Seich has joined #angularjs
[18:27:06] *** torartc has joined #angularjs
[18:27:26] *** tristanp has quit IRC
[18:27:27] *** DrMabuse has joined #angularjs
[18:28:12] *** ycodr has quit IRC
[18:28:21] *** ycodr__ has joined #angularjs
[18:28:25] *** ycodr__ is now known as ycodr
[18:29:14] *** elrabin has joined #angularjs
[18:29:42] *** Reskp has quit IRC
[18:31:02] <Foxandxss> OnkelTem: I use the second one
[18:31:07] *** jaawerth has quit IRC
[18:31:09] <Foxandxss> works for me, so that is enough
[18:31:33] <OnkelTem> Foxandxss: thanks for sharing this
[18:31:35] *** ycodr_ has quit IRC
[18:31:37] *** jaawerth has joined #angularjs
[18:31:45] <cjustiniano> OnkelTem: I didn't realize there were that many. I've used gulp-angular-templatecache. I suppose that a good way to choose it to look at which module is popular and well supported. That way when you have questions you might reasonably expect others to have encountered your issue. I would also favor a project that includes tests.
[18:31:46] *** DrMabuse has quit IRC
[18:33:01] *** Reskp has joined #angularjs
[18:33:11] <OnkelTem> cjustiniano: sure, this is good approach, I'm not very familiarized with npm website to get info on a module popularity :)
[18:33:26] *** evotuned has joined #angularjs
[18:36:17] *** Orbitrix has quit IRC
[18:36:17] *** ivaldi has quit IRC
[18:37:17] *** UniBot has quit IRC
[18:37:17] *** debunk has quit IRC
[18:37:17] *** njbair has quit IRC
[18:38:03] <Foxandxss> popularity is not a definitive solution either
[18:38:04] <Foxandxss> there are new libraries with less stars than an old one (which is normal)
[18:38:04] <Foxandxss> new have tests, older have not
[18:38:05] <cjustiniano> OnkelTem: Follow the links in NPM to specific projects hosted on Github. You can see the popularity and issue log from that page. Looking at open issues and also helps me choose.
[18:38:05] *** Huevos has joined #angularjs
[18:38:05] *** damko has quit IRC
[18:38:06] <OnkelTem> cjustiniano: issue queue may be empty for perfect software with ideal docs and absolutely free of bugs! (kidding)
[18:38:06] *** damko has joined #angularjs
[18:38:06] <nahoskins> For those of you here when devdocs.io was brought up
[18:38:07] <nahoskins> I just wanted to point to Zeal
[18:38:07] <cjustiniano> Agreed in the end you probably need to try a project and see whether it works out for you. We've all had to back out of using a module after realizing it didn't meet our needs.
[18:38:07] <nahoskins> an open source equivalent to Macs 'Dash'
[18:38:07] <damko> I'm starting a simple project made with slimphp (REST) and angularjs. It's a sort of "self tutorial". Anyone who wants to join?
[18:38:07] *** Reskp has quit IRC
[18:38:07] *** unmatrix has joined #angularjs
[18:38:08] <nahoskins> slimphp?
[18:38:08] *** bayousoft has joined #angularjs
[18:38:08] *** oncenull has joined #angularjs
[18:38:08] <nahoskins> why?
[18:38:08] *** UniBot has joined #angularjs
[18:38:08] *** debunk has joined #angularjs
[18:38:08] *** Jameser` has joined #angularjs
[18:38:08] <cjustiniano> I kinda of favor the wisdom of the crowds. i.e. does anyone give a shit about the module and why should I use it. Also searching online to see if anyone has bothered to write a tutorial for a module is another useful indicator.
[18:38:08] *** damko has quit IRC
[18:38:12] *** leolrrj has joined #angularjs
[18:38:31] *** evotuned has quit IRC
[18:38:41] *** njbair has joined #angularjs
[18:38:57] *** yts has joined #angularjs
[18:39:01] *** e0ipso is now known as e0ipso|away
[18:39:08] *** Greed has joined #angularjs
[18:39:17] *** Jameser has quit IRC
[18:39:19] *** aven1 has joined #angularjs
[18:39:43] *** e0ipso|away is now known as e0ipso
[18:39:48] *** MJD has quit IRC
[18:40:36] *** damko has joined #angularjs
[18:41:34] <ajf-> I'm looking to do something like this: $routeProvider.when('/:type/:id?(/page/:p/)?(/letter/:l)?', {..}); is that allowed ?
[18:41:49] *** ejb has joined #angularjs
[18:42:12] *** MJD has joined #angularjs
[18:42:23] *** joroc has quit IRC
[18:43:05] <ajf-> do the route definitions follow a syntax I can lookup information / documentation on?
[18:43:48] *** Ax` has joined #angularjs
[18:43:48] *** SargoDarya has joined #angularjs
[18:44:24] *** IvailoStoianov_ has joined #angularjs
[18:44:57] *** JesseH has quit IRC
[18:45:12] *** Ax` has quit IRC
[18:45:30] *** Greed has quit IRC
[18:45:42] *** IvailoStoianov has quit IRC
[18:45:43] *** Ax` has joined #angularjs
[18:45:45] *** IvailoStoianov_ is now known as IvailoStoianov
[18:45:59] *** Greed has joined #angularjs
[18:46:24] *** Siecje has joined #angularjs
[18:47:22] *** Sky[x] has joined #angularjs
[18:47:29] *** oncenull has quit IRC
[18:48:02] *** Zemke has quit IRC
[18:48:24] *** Ax` has quit IRC
[18:49:08] *** seriema has joined #angularjs
[18:50:18] *** woah has quit IRC
[18:50:24] *** Ax` has joined #angularjs
[18:50:32] *** mlpug has joined #angularjs
[18:52:06] *** zeezey has joined #angularjs
[18:52:09] *** Sky[x] has quit IRC
[18:52:41] *** umib0zu has joined #angularjs
[18:52:47] *** dacuca has quit IRC
[18:52:48] *** Sky[x] has joined #angularjs
[18:52:58] *** sl33k_ has joined #angularjs
[18:53:23] *** seriema has quit IRC
[18:53:24] *** Ax` has quit IRC
[18:53:50] *** Ax` has joined #angularjs
[18:55:59] *** nemothekid has joined #angularjs
[18:56:10] *** Ax` has quit IRC
[18:56:30] *** cacts|wtf has joined #angularjs
[18:57:39] *** a3gis has quit IRC
[18:58:29] *** MJD has quit IRC
[18:58:38] *** zumba_addict has joined #angularjs
[18:58:53] *** mlpug has quit IRC
[18:59:11] *** Trow1 has joined #angularjs
[18:59:24] *** Ax` has joined #angularjs
[18:59:25] *** mitc0185 has joined #angularjs
[19:00:07] <mitc0185> I'm having an issue with the e2e test in part 4 of the angular tutorial -- can't get it to pass... getNames() returns an empty array
[19:00:18] <mitc0185> has anyone else had this issue?
[19:00:39] *** annlewis has joined #angularjs
[19:00:56] *** MJD has joined #angularjs
[19:01:04] *** Trow has quit IRC
[19:01:38] *** AlSquire has joined #angularjs
[19:02:20] *** dacuca has joined #angularjs
[19:03:17] *** Ax` has quit IRC
[19:03:37] *** seriema has joined #angularjs
[19:03:39] *** AlfredH_ has joined #angularjs
[19:04:06] *** SargoDarya has quit IRC
[19:04:07] *** tschundeee has joined #angularjs
[19:04:28] *** Nivag_ has joined #angularjs
[19:05:32] *** rikko has joined #angularjs
[19:05:34] *** Ax` has joined #angularjs
[19:06:22] *** Seus has joined #angularjs
[19:06:24] *** ximenean___ has quit IRC
[19:06:26] *** threesixes has joined #angularjs
[19:07:17] *** jumpstracks has quit IRC
[19:07:26] *** fotoflo has quit IRC
[19:08:00] *** seriema has quit IRC
[19:08:00] *** theotherguy has quit IRC
[19:08:19] *** ycodr has quit IRC
[19:08:47] *** ximenean___ has joined #angularjs
[19:09:24] *** joroc has joined #angularjs
[19:09:59] *** despai has joined #angularjs
[19:10:15] *** fotoflo has joined #angularjs
[19:10:57] *** dacuca has quit IRC
[19:11:00] *** oncenull has joined #angularjs
[19:11:42] *** zwacky has joined #angularjs
[19:12:17] *** mlpug has joined #angularjs
[19:12:29] *** dra has quit IRC
[19:12:42] *** ycodr has joined #angularjs
[19:12:56] *** dra_ has joined #angularjs
[19:13:10] *** aven1 has quit IRC
[19:13:17] *** dacuca has joined #angularjs
[19:13:32] *** Jet4Fire has joined #angularjs
[19:14:01] *** optikalmouse has joined #angularjs
[19:14:02] *** Aliks has joined #angularjs
[19:14:21] *** umib0zu has quit IRC
[19:14:32] *** rikko has quit IRC
[19:14:45] *** dacuca has quit IRC
[19:15:34] *** ycodr_ has joined #angularjs
[19:15:43] *** Trow1 is now known as Trow
[19:16:03] *** jumpstracks has joined #angularjs
[19:16:28] *** cesarkawakami has quit IRC
[19:16:43] *** rtpg has joined #angularjs
[19:16:51] *** jamto11 has quit IRC
[19:17:03] <despai> hello people. What are any of your favourites tutorials / courses about unit testing or e2e tests (Angular.js) ?
[19:17:14] *** ycodr has quit IRC
[19:17:23] *** ycodr has joined #angularjs
[19:19:17] *** cakirke has quit IRC
[19:19:50] *** despai has quit IRC
[19:20:20] *** ycodr_ has quit IRC
[19:21:04] *** rtpg has quit IRC
[19:21:14] *** ycodr_ has joined #angularjs
[19:22:10] *** pehlert has joined #angularjs
[19:22:24] <fotoflo> Hmm I have an expression: inside an ng-repeat=“user in channel.users” ng-style="!$first ? { 'margin-left': '20px' } : { 'margin-left' : '-' + 20 * {{channel.users.length}} + 'px’}”>, seems the {{channel.users.length}} isn’t bieng evaluated — any guesses?
[19:22:46] *** ycodr has quit IRC
[19:23:06] *** ycodr has joined #angularjs
[19:23:16] *** lexek__ has joined #angularjs
[19:23:27] *** Shilon has joined #angularjs
[19:23:28] <fotoflo> despai: I used this one recently: https://www.airpair.com/angularjs/posts/testing-angular-with-karma
[19:23:50] *** Trow has quit IRC
[19:24:31] *** cesarkawakami has joined #angularjs
[19:24:53] <Foxandxss> he left
[19:25:00] <Foxandxss> was going to recommend: http://angular-tips.com/blog/2014/02/introduction-to-unit-test-toc/
[19:25:20] <fotoflo> or perhaps {{channel.users.length}} is bieng evaluated but not available within the repeter
[19:26:20] <Foxandxss> the parser is not that smart
[19:26:22] *** samuelsimoes has joined #angularjs
[19:26:26] *** kirfu has joined #angularjs
[19:26:27] <Foxandxss> you should refactor all of that into a function
[19:26:32] <Foxandxss> easier to read
[19:26:34] *** ycodr_ has quit IRC
[19:27:12] *** pehlert has quit IRC
[19:27:39] <fotoflo> Foxandxss: thanks for that unit testing tut, usefull to me also
[19:27:45] *** avree has joined #angularjs
[19:27:56] <fotoflo> Foxandxss: how would you put it into a function?
[19:28:02] <fotoflo> in the controller?
[19:28:06] <Foxandxss> yes
[19:28:08] *** DrMabuse has joined #angularjs
[19:28:28] *** ycodr has quit IRC
[19:28:41] *** komlev has joined #angularjs
[19:30:47] *** kirfu has quit IRC
[19:31:18] *** ycodr has joined #angularjs
[19:31:48] <ytsejam> Hmm I had images in my blog posts.. but now I realize photos are oversized in twitter bootstrap grids. I get the content like here http://plnkr.co/edit/xcQC7m1WAH9oz3ni8f4g?p=catalogue I use yeoman angular template
[19:32:05] *** dllama has quit IRC
[19:32:57] *** Reskp has joined #angularjs
[19:33:03] *** DrMabuse has quit IRC
[19:34:29] *** evotuned has joined #angularjs
[19:36:10] *** Zeioth has joined #angularjs
[19:36:21] <ajf-> nothing for me ? = (
[19:37:13] *** ycodr_ has joined #angularjs
[19:37:33] *** Reskp has quit IRC
[19:38:51] *** ycodr__ has joined #angularjs
[19:39:05] *** DLSteve_ has joined #angularjs
[19:39:13] *** evotuned has quit IRC
[19:39:18] *** aven1 has joined #angularjs
[19:39:21] *** Fishy has quit IRC
[19:39:26] *** DLSteve_ has quit IRC
[19:39:35] *** jonatas_oliveira has joined #angularjs
[19:39:38] *** nahoskins has quit IRC
[19:40:30] *** ycodr has quit IRC
[19:40:32] *** ycodr__ is now known as ycodr
[19:40:55] *** DLSteve_ has joined #angularjs
[19:41:14] *** nahoskins has joined #angularjs
[19:42:15] *** Shrooms has quit IRC
[19:42:24] *** ycodr_ has quit IRC
[19:42:26] *** DarrenCraig has joined #angularjs
[19:42:37] *** fotoflo has quit IRC
[19:42:46] *** despai has joined #angularjs
[19:42:47] *** joroc has quit IRC
[19:43:26] *** metasansana has joined #angularjs
[19:43:26] *** metasansana has joined #angularjs
[19:43:33] *** ejb has quit IRC
[19:43:40] *** jumpstracks has quit IRC
[19:43:50] *** iamaregee2 has joined #angularjs
[19:44:06] *** jonatas_oliveira has quit IRC
[19:45:24] <ytsejam> I use Yeoman Angular generator. I can list my blog posts ..But inside them there were image elemens . How do you eliminate image elements to show in small portions of text and how can I add image class to all images in the page?
[19:45:44] *** jumpstracks has joined #angularjs
[19:45:55] *** despai has quit IRC
[19:46:02] *** jumpstracks has quit IRC
[19:46:57] *** iamaregee2 has quit IRC
[19:47:41] *** iamaregee2 has joined #angularjs
[19:48:06] *** jumpstracks has joined #angularjs
[19:48:11] *** torartc has quit IRC
[19:48:30] <Foxandxss> yeoman angular generator is not an special angular
[19:48:48] *** grumpyOldRussian has joined #angularjs
[19:49:48] *** jumpstracks has quit IRC
[19:49:53] *** ycodr has quit IRC
[19:49:55] <ytsejam> Foxandxss, I said it because it has jquery and bootstrap inside it. Will I remove them in jquery or ng-bing-html
[19:50:19] *** ycodr has joined #angularjs
[19:51:53] *** mitc0185 has quit IRC
[19:53:04] *** grumpyOldRussian has quit IRC
[19:53:55] *** Solid1_afk is now known as Solid1
[19:54:00] *** KD9AUS is now known as chiburbs
[19:55:29] *** Shrooms has joined #angularjs
[19:55:30] *** Shrooms has joined #angularjs
[19:56:27] *** HassanCehef has joined #angularjs
[19:56:54] *** jumpstracks has joined #angularjs
[19:57:05] *** grumpyOldRussian has joined #angularjs
[19:58:18] *** dacuca has joined #angularjs
[19:58:45] *** ProLoser has joined #angularjs
[19:59:39] <qwerty2> I have this form and I would like to post a new element, the userId of line 2 http://pastebin.com/xX2m6SPq but I make a console.log(postcreate.create()) and userId is not there. ¿any ideas to fix it?
[19:59:41] <qwerty2> please
[20:01:35] *** SargoDarya has joined #angularjs
[20:03:03] *** ProLoser has quit IRC
[20:03:56] *** despai has joined #angularjs
[20:05:44] *** fotoflo has joined #angularjs
[20:06:00] *** nerdfiles has joined #angularjs
[20:06:02] *** wololo has joined #angularjs
[20:06:04] *** nemothekid has quit IRC
[20:06:07] *** SargoDarya has quit IRC
[20:06:38] *** zwacky has quit IRC
[20:07:04] *** Seich has quit IRC
[20:07:30] *** a3gis has joined #angularjs
[20:07:38] *** nerdfiles has quit IRC
[20:07:55] *** wololo is now known as aazzjijdjza
[20:07:55] *** nerdfiles has joined #angularjs
[20:08:38] <ajf-> =(
[20:09:05] *** freeman42 has joined #angularjs
[20:09:05] *** DoubleAW has joined #angularjs
[20:09:20] *** joroc has joined #angularjs
[20:09:25] <Foxandxss> ajf-: weekend are bad choice for questions
[20:09:51] *** HassanCehef has quit IRC
[20:10:00] <Foxandxss> same for you qwerty2
[20:10:09] *** Seich has joined #angularjs
[20:10:41] <qwerty2> today all questins I have, are been answered and fixed
[20:11:02] <Foxandxss> bad choice doesn't mean you can't
[20:11:37] <qwerty2> i know
[20:11:52] <qwerty2> on weekend, less people
[20:12:04] *** sho has joined #angularjs
[20:12:13] *** aven1 has quit IRC
[20:12:22] <sho> hi
[20:12:42] *** sho has quit IRC
[20:13:57] *** nfroidure has joined #angularjs
[20:14:09] *** seriema has joined #angularjs
[20:14:22] *** rikko has joined #angularjs
[20:14:23] <qwerty2> hi
[20:15:58] *** tristanp has joined #angularjs
[20:16:32] *** leolrrj has quit IRC
[20:17:28] *** leolrrj has joined #angularjs
[20:17:38] *** leolrrj has joined #angularjs
[20:18:27] *** fotoflo has quit IRC
[20:18:55] *** seriema has quit IRC
[20:19:33] *** zwacky has joined #angularjs
[20:19:34] *** sl33k_ has quit IRC
[20:19:48] *** arpu has joined #angularjs
[20:20:16] *** tristanp has quit IRC
[20:20:49] *** rileylark has joined #angularjs
[20:22:10] <jegade> hi, how could i attach an event to every a-element in the html that set like that <div class="nacnews-detail" in-app-browser ng-bind-html="::page.document_object.long_html"></div>
[20:22:35] <jegade> i like to force every link into the in-app-browser
[20:22:47] *** jumpstracks has quit IRC
[20:22:53] *** pehlert has joined #angularjs
[20:23:15] *** jumpstracks has joined #angularjs
[20:23:40] <Foxandxss> qwerty2: we need to see the javascript code as well
[20:23:58] <msg> hey guys
[20:24:07] <msg> im having troubles with ng-change
[20:24:16] <msg> My html looks like: <input ng-change="onChange()" type="checkbox" value="None" id="{{sample.sampleHash}} + 'check'" name="check">
[20:24:29] <msg> I guess the onChange() bit is all that matters
[20:24:38] *** fotoflo has joined #angularjs
[20:24:55] *** jonathanpglick has joined #angularjs
[20:24:55] <msg> and in my controller i have $scope.onChange = function() { alert('yolo'); };
[20:25:15] *** nfroidure has quit IRC
[20:25:29] <msg> super simple - so whats up? :/
[20:25:32] <msg> Error: [$compile:ctreq] http://errors.angularjs.org/1.2.28/$compile/ctreq?p0=ngModel&p1=ngChange
[20:25:32] <msg> at Error (native)
[20:26:18] <Foxandxss> where is the ng-model on it?
[20:26:31] *** davek has joined #angularjs
[20:26:31] *** davek has joined #angularjs
[20:27:01] <msg> Its in a table (checkbox at the end of a table row)
[20:27:14] <msg> The table is made via ng-repeat
[20:27:16] <Foxandxss> I don't see a ng-model on that input
[20:27:20] <msg> ac.gt/SeQuaL/index.html
[20:27:25] *** pehlert has quit IRC
[20:27:41] <bealtine> you need ng-model for ng-change to work
[20:27:42] <msg> It wont work for you because this is just the template
[20:27:47] <msg> oh right, hm
[20:27:55] <msg> Thank you :)
[20:28:36] *** leolrrj has quit IRC
[20:28:38] *** boxmein has joined #angularjs
[20:28:52] <msg> I was using code from this video: https://egghead.io/lessons/angularjs-using-the-ngchange-directive-in-angular
[20:28:54] *** DrMabuse has joined #angularjs
[20:29:02] <msg> Do you guys recommend the egghead.io course?
[20:29:02] *** jstroem has quit IRC
[20:29:21] <msg> Its kind of pricey, but they seem to get a lot of Google hits, so perhaps its good...?
[20:29:39] <Foxandxss> egghead i s definitely good
[20:29:48] <msg> oh ok cool :)
[20:30:11] <damko> msg: I'm a beginner and I followed codeschool course and the demo on angularjs. I'm happy with both. No experience with egghead
[20:30:52] *** Menorah has joined #angularjs
[20:31:02] <msg> damko: ok awesome. Maybe i should try the codeschool course first, then if i can get the money the egghead thing
[20:31:04] *** sameerynho has joined #angularjs
[20:31:21] <msg> or both. Often i need two people to tell me the exact same thing before it registers -___- hahaha
[20:31:24] *** Hackwar1 has quit IRC
[20:31:39] <sameerynho> hey guys, I have a directive with "scope: false" but it still create a new scope. here is the code http://dpaste.com/21PK0ED
[20:31:44] <sameerynho> how can I fix it ?
[20:31:44] <msg> I see about the ng-model now - but im kind of confused what is is supposed to do
[20:32:05] <msg> i mea, ok, i add ng-model to my checkbox and now it will probably get a true or false value depending on checkbox state
[20:32:10] <bealtine> ng-model "hooks" to a variable
[20:32:12] <jaawerth> sameerynho: what makes you say it's creating a new scope?
[20:32:29] <msg> But what if you just want to fire something on change
[20:32:47] <bealtine> maybe ng-click() then
[20:32:54] <sameerynho> jaawerth: I check the $Id of scopes output side and inside the directive transclude part
[20:33:43] *** Reskp has joined #angularjs
[20:33:52] *** DrMabuse has quit IRC
[20:33:55] *** Limix has joined #angularjs
[20:34:19] *** Hackwar has joined #angularjs
[20:34:49] <Foxandxss> transclusion creates a new scope
[20:35:15] *** evotuned has joined #angularjs
[20:35:30] <jaawerth> ah right, the transclusion scope is a child of the parent scope that exists separately from any directive scope
[20:35:37] <sameerynho> Foxandxss: is there any way to avoid that ? or transfer my parent scope into it ?
[20:35:43] <Foxandxss> yes
[20:35:55] <Foxandxss> but why you want that?
[20:35:56] <jaawerth> you shouldn't have to - the transclusion scope inherits directly from the parent, bypassing the directive itself
[20:36:33] <sameerynho> Foxandxss: it's a side bar which I need to fill it with parent data
[20:36:35] *** jaredwilli has joined #angularjs
[20:36:52] <sameerynho> jaawerth: unfortunately it does not
[20:37:30] <Foxandxss> you're doing something wrong then
[20:37:53] *** qwerty2 has quit IRC
[20:38:16] *** dacuca has quit IRC
[20:38:27] *** fotoflo has quit IRC
[20:38:30] *** Reskp has quit IRC
[20:38:48] <sameerynho> Foxandxss: what do you think it is ? base on my code
[20:39:05] <Foxandxss> that code you pasted says nothing I am afraid
[20:39:19] *** aven1 has joined #angularjs
[20:39:20] <Foxandxss> and I don't feel like reading bigger codes right now, lazy day heh
[20:39:22] <sameerynho> Foxandxss: hmm it's really simple
[20:39:29] *** pushpak has joined #angularjs
[20:39:49] *** evotuned has quit IRC
[20:40:07] <bealtine> why not tell us what the problem actually is?
[20:40:08] *** DericC has joined #angularjs
[20:40:11] *** Fishy has joined #angularjs
[20:40:29] *** DarrenCraig has quit IRC
[20:40:55] *** DericC has quit IRC
[20:41:05] <sameerynho> bealtine: I said it my friend, I want to use my parent scope inside the transcluded part , I can show you the template if you like
[20:41:11] *** jaredwilli has quit IRC
[20:41:30] <Foxandxss> that is something you shouldn't need
[20:41:34] *** joroc has quit IRC
[20:41:42] <Shilon> how can i change css attribute of a parent ul if any child li is with class active?
[20:41:54] <bealtine> still dont know what the problem is
[20:41:57] *** gunn has joined #angularjs
[20:42:00] *** pehlert has joined #angularjs
[20:42:31] *** KD9AUS has joined #angularjs
[20:42:54] <msg> thanks guys i got it to work :)
[20:43:00] <msg> And now i have another question, hee hee
[20:43:07] *** pushpak has quit IRC
[20:43:19] *** IvanoffCSI has joined #angularjs
[20:43:20] *** HansiHE has quit IRC
[20:43:29] <msg> I have ng-style in an ng-repeat block deciding what colour my row should be based on data in the ng-repeat
[20:43:32] <msg> Works great
[20:43:45] *** chiburbs has quit IRC
[20:44:20] <msg> Now i want ng-style to, somehow (and i dont know if this is possible), constantly watch a $scope.someArray to see if the {{data}} for that row is in that array
[20:44:29] *** konsTO has joined #angularjs
[20:45:04] *** Fishy has quit IRC
[20:45:10] *** JesseH has joined #angularjs
[20:45:30] <msg> So say in ng repeat we have row in rows, and in a row we have ng-style="{'background-color':'#'+row.colour, 'opacity':'0.5'}
[20:45:33] <bealtine> ng-style="something()" <- and decide what to do in something() ?
[20:45:36] *** annlewis has quit IRC
[20:45:38] *** threesixes has quit IRC
[20:46:04] <msg> but then wont ng-style only run once?
[20:46:33] <msg> As in, the something() will be evaluated once, but then if it changes later on it wont effect the style
[20:47:19] <msg> Here i want the style to constantly watch the $scope.someArray variable for change, and then on change, update any rows where row.id is now in that $scope.someArray with a new opacity value
[20:48:00] <jaawerth> the sameerynho you should be able to access any data you need via inheritance in the transcluded scope.
[20:48:31] <jaawerth> Foxandxss: speaking of directives and scopes, I've been poking around isolate scopes and I really don't get why they implemented '=' the way they did
[20:48:56] <Foxandxss> jaawerth: what you mean?
[20:49:03] <sameerynho> jaawerth: I see, I fixed it using the transclude parameter of link function
[20:49:28] <jaawerth> Foxandxss: It creates a $watch automatically where you could have none, and if you need to $watch the bound scope property from within the direction that gives you 2 $watches where you could have 1
[20:49:53] <jaawerth> Foxandxss: as opposed to just interpolating the passed in property as a string and then accessing it via $parent
[20:50:02] *** HansiHE has joined #angularjs
[20:50:13] <Foxandxss> you still need the watch tho
[20:50:28] <jaawerth> right, but you could $watch it from the directive and only have a single watch as a result
[20:50:47] <jaawerth> instead of the 2 created by '='
[20:50:49] <Foxandxss> on those cases, the common solution was to not use '='
[20:51:13] <jaawerth> well that's what I mean
[20:51:22] <Foxandxss> is not that weird to see ' =' implement by hand if you need more watches
[20:51:34] <jaawerth> but similarly, if you don't need to $watch it from the directive, if you just interpolate it as a string then you don't need any watches
[20:51:45] <Foxandxss> bindonce then :)
[20:51:51] <Foxandxss> you can do a myattr="::foo"
[20:52:05] <Foxandxss> IIRC that will remove the watch
[20:52:10] <jaawerth> oh, it will
[20:52:29] <jaawerth> but I've recently learned bindOnce itself is kind of expensive (though at least once it deregisters its cost disappears)
[20:53:36] <jaawerth> so I've been thinking as an optimization step (IE after the features have been implemented), going back through and replacing '=' with, basically, scope.foo = scope.$parent[attrs.foo]
[20:53:37] *** fotoflo has joined #angularjs
[20:53:52] *** ProLoser has joined #angularjs
[20:53:58] *** qdk has joined #angularjs
[20:54:19] <ProLoser> Hey
[20:54:36] <jaawerth> I just find it odd that they didn't make isolate scope work that way to begin with (with the caveat that they'd need to deal with nested strings)
[20:54:41] <jaawerth> ProLoser: hey!
[20:55:52] *** chiburbs has joined #angularjs
[20:55:55] *** KD9AUS has quit IRC
[20:56:22] *** IvailoStoianov has quit IRC
[20:56:52] <ProLoser> I am hoping UniBot is more stable now
[20:57:11] <ProLoser> I put my CC info into his hosting account
[20:57:27] <Foxandxss> jaawerth: well, that is all going to disappear on 2.0 :P
[20:57:38] <ProLoser> Anyone interested in co-managing UniBot?
[20:57:47] *** macobo has quit IRC
[20:57:55] *** ries has quit IRC
[20:57:57] <jaawerth> lol
[20:58:03] <ProLoser> Foxandxss: do you have an openshift account
[20:58:08] *** ron_frown has joined #angularjs
[20:58:08] <Foxandxss> no
[20:58:19] <jaawerth> but there's so much dev to do for 1.x still
[20:58:36] <ProLoser> If you get one I can add you to UniBot
[20:58:50] <ProLoser> 2.0 of what?
[20:59:10] <Foxandxss> angular
[20:59:30] <Foxandxss> I have to say that lately, no one is using UniBot at all
[21:00:12] <jaawerth> I don't think anyone has any idea what it can and can't do
[21:00:32] <Foxandxss> jaawerth: it was really used before you came to the channel :P
[21:00:49] <jaawerth> I ruined it :(
[21:01:03] *** samuelsimoes has quit IRC
[21:03:14] *** SargoDarya has joined #angularjs
[21:03:42] *** tomaso has quit IRC
[21:05:15] <ytsejam> how can I edit the dom inside the elements produced by angular ng-bind-html produced using ng-repeat ?
[21:05:16] *** tomaso has joined #angularjs
[21:05:18] *** e0ipso is now known as e0ipso|away
[21:07:05] *** lexek__ has quit IRC
[21:10:30] *** Sgeo has quit IRC
[21:10:44] *** Aliks has quit IRC
[21:11:03] *** Seus_ has joined #angularjs
[21:11:04] *** IvailoStoianov has joined #angularjs
[21:11:20] *** Aliks has joined #angularjs
[21:11:21] *** ries has joined #angularjs
[21:11:44] <jaawerth> ytsejam: Well assuming it isn't implicitly trusted content (because if it was, you could just $compile it and not use ng-bind-html), you'd have to write another directive for the parent HTML that dives into the DOM for modification either pure javascript or jquery-style
[21:11:47] *** Steenkool has joined #angularjs
[21:12:05] <jaawerth> er, for the parent directive that is (the same directive you're putting ng-bind-html on)
[21:12:14] *** Limix has quit IRC
[21:12:19] *** pzuraq has quit IRC
[21:12:20] <zomg> jaawerth: you browse imgur?
[21:12:28] <jaawerth> huh?
[21:12:40] <zomg> no just can't help but think of "javert your eyes" with your nick :P
[21:12:44] <jaawerth> lol
[21:12:58] *** Seus has quit IRC
[21:12:58] *** Seus_ is now known as Seus
[21:14:54] *** sameerynho has left #angularjs
[21:15:41] *** Aliks has quit IRC
[21:16:11] *** Seus has quit IRC
[21:16:57] *** mattblang has joined #angularjs
[21:17:14] <jaawerth> Foxandxss: I suppose the reason for the extra watcher there is so it gets assigned to the isolate scope (still bound) while still allowing for 2-way binding without worring about MOAR DOTS issues
[21:17:39] <mattblang> with Angular UI router, how can I inject additional child views, each with their own controllers, into a parent view?
[21:18:10] *** JesseH has quit IRC
[21:18:58] *** Limix has joined #angularjs
[21:19:13] *** DericC has joined #angularjs
[21:19:35] *** pHcF has joined #angularjs
[21:19:52] <Foxandxss> mattblang: read the wiki
[21:19:53] <Foxandxss> it is there
[21:20:01] <Foxandxss> jaawerth: extra? there is just one
[21:20:33] <jaawerth> right - but that's the only reason that one would be necessary, I mean
[21:21:16] <mattblang> Foxandxss well, I am understanding how ui-sref works with nested views, just not sure how to load multiple when hitting one state (in my example, the index state)
[21:21:25] *** afuggini has quit IRC
[21:21:59] *** ihsw has joined #angularjs
[21:22:13] *** afuggini has joined #angularjs
[21:22:29] <ihsw> so this page has angular-route listed -- https://docs.angularjs.org/api/ngRoute -- but the download link goes to version X.Y.Z rather than an actual functional and working link, why?
[21:22:51] <mattblang> Foxandxss ahh, I think this answers my question. thanks. https://github.com/angular-ui/ui-router/wiki/Multiple-Named-Views
[21:22:56] <ihsw> is there any page anywhere that has a real download link?
[21:23:41] <jaawerth> ihsw: well you could try following the actual clickable links on the docs page you just pasted
[21:23:44] *** adamsilver has joined #angularjs
[21:23:53] <jaawerth> the x/y/z stuff is just demonstrating the format
[21:24:31] <adamsilver> i have .run(function(... and it's executing before the app is displayed which is good. but how can I make an ajax call and wait for it to return before continuing?
[21:24:36] <ihsw> jaawerth: have you following the links?
[21:24:53] <msg> join css
[21:24:54] *** zz_night-owl is now known as night-owl
[21:24:56] <msg> whoops
[21:25:00] <ihsw> jaawerth: because i don't think you have, they don't go lead to download links for angular-route either
[21:25:10] *** SargoDarya has quit IRC
[21:25:47] <jaawerth> ihsw: I have. The google one takes you to the google CDN page where you can select the CDN code for your desired version, the code.angularjs.org page takes you to where you can select your angular version to get the corresponding ngRoute
[21:26:04] <Foxandxss> oh reading, always an issue
[21:26:07] <ihsw> the google-cdn one goes to a page for angularjs, not angular-route
[21:26:23] <ihsw> the bower one goes to bower.io -- totally useless
[21:26:36] *** quantax has joined #angularjs
[21:26:43] <ihsw> the code.angularjs.one goes to a directory rather than an actual angular-route link
[21:27:00] <Foxandxss> ihsw: learn to read
[21:27:04] <Foxandxss> and stop complaining
[21:27:13] <ihsw> is it so hard to make the page useful and put a real download link?
[21:27:16] *** quantax- has quit IRC
[21:27:17] <Foxandxss> instructions are pretty easy to follow
[21:27:18] *** Siecje has left #angularjs
[21:27:20] <Foxandxss> real easy
[21:27:29] <ihsw> i have no problem finding angular-route, i've already found it
[21:27:37] <ihsw> but why can't you put a real download link?
[21:27:39] <jaawerth> the CDN stuff isn't for downloading anyway, that's for using the CDN
[21:27:57] <jaawerth> the code.angularjs.com has the real download links, but it leaves it up to you to select the version you want
[21:27:58] <ihsw> yeah that's fine and all, but why not put a download link anywhere? there are download links for angularjs everywhere
[21:28:03] <ytsejam> jaawerth , I edited them with a filter .. I will check $compile now thanks
[21:28:21] *** jonatas_oliveira has joined #angularjs
[21:28:34] <jaawerth> ihsw: because if they put a big shiny "download" link on there, people who dont' read the docs closely enough will end up downloading a mismatched version for whatever version of angular they're using
[21:29:24] <ihsw> jaawerth: those people are edge cases, why are you catering to them?
[21:29:26] <jaawerth> it's like one extra click after going to code.angularjs.org to get to the ngRoute download link
[21:29:38] *** DrMabuse_ has joined #angularjs
[21:29:40] *** Sgeo has joined #angularjs
[21:29:50] *** nemothekid has joined #angularjs
[21:29:55] *** whunt has joined #angularjs
[21:30:04] *** laurensvanpoucke has joined #angularjs
[21:30:11] <ihsw> look i'm sorry for being argumentative but every time i've started a new angularjs project, or upgraded an existing one, i've had to go fishing around for angular-route instead of finding it straight away
[21:30:23] <laurensvanpoucke> hi guys, I'm posting a form with Multer( express middelware ) when I set the action to a url, the image comes trough, when I do it with ng-submit, and do the post logic in the cotnroller, the image is gone, any idea ?
[21:30:23] *** mlpug has quit IRC
[21:31:08] <jaawerth> ihsw: well, I'm not on the angular team or someone who writes the docs. however, it's literallly one extra click after hitting the code.angularjs.org link
[21:32:17] <jaawerth> all you gotta do is click your angular version
[21:32:44] *** jonatas_oliveira has quit IRC
[21:33:34] <laurensvanpoucke> hi guys, I'm posting a form with Multer( express middelware ) when I set the action to a url, the image comes trough, when I do it with ng-submit, and do the post logic in the cotnroller, the image is gone, any idea ?
[21:33:37] *** samfast_ has joined #angularjs
[21:34:23] *** DrMabuse_ has quit IRC
[21:34:24] <DericC> i have index.html which has a search box with ng-model=query and i have a view which displays a list of tasks (active-tasks.html) and in the ng-repeat, I have included | filter:query but the results are not filtering. Does this have to do with me having the search on one view and the results on a different view?
[21:34:44] *** Reskp has joined #angularjs
[21:34:45] *** dc_ has quit IRC
[21:35:30] *** Steenkool has quit IRC
[21:35:54] *** disorder20 has joined #angularjs
[21:36:22] *** rileylark has quit IRC
[21:36:24] *** evotuned has joined #angularjs
[21:36:45] *** samfast_ has quit IRC
[21:38:14] *** leolrrj has joined #angularjs
[21:39:07] *** Reskp has quit IRC
[21:39:21] *** joroc has joined #angularjs
[21:39:21] *** Shilon has quit IRC
[21:40:52] *** evotuned has quit IRC
[21:41:18] *** JesseH has joined #angularjs
[21:41:25] *** Fishy has joined #angularjs
[21:41:32] *** jtimon has quit IRC
[21:41:57] *** aven1 has quit IRC
[21:42:02] *** DericC has quit IRC
[21:42:22] *** leolrrj has quit IRC
[21:43:25] *** ron_frown has quit IRC
[21:44:49] *** ron_frown has joined #angularjs
[21:45:50] *** Fishy has quit IRC
[21:46:49] *** ProLoser|Mac has joined #angularjs
[21:47:06] *** HansiHE has quit IRC
[21:48:52] *** circ-user-dfR6V has joined #angularjs
[21:49:27] *** ProLoser|Mac has quit IRC
[21:49:52] *** jumpstracks has quit IRC
[21:49:57] *** sahbeewah has joined #angularjs
[21:49:58] *** mattblang has quit IRC
[21:50:03] *** mitc0185 has joined #angularjs
[21:50:08] *** HansiHE has joined #angularjs
[21:51:08] *** ProLoser|Mac has joined #angularjs
[21:52:16] *** jumpstracks has joined #angularjs
[21:53:38] *** Reskp has joined #angularjs
[21:54:54] *** sahbeewah has quit IRC
[21:55:13] *** jumpstracks has quit IRC
[21:56:37] *** konsTO has quit IRC
[21:56:52] *** ProLoser|Mac has quit IRC
[21:59:10] *** disorder20 has quit IRC
[21:59:25] *** zwacky has quit IRC
[22:00:22] *** disorder20 has joined #angularjs
[22:03:16] *** sbellina has quit IRC
[22:03:32] *** dman777_alter has joined #angularjs
[22:03:53] *** jdivock has joined #angularjs
[22:06:49] *** jdivock has quit IRC
[22:07:10] *** jdivock has joined #angularjs
[22:09:22] *** aven1 has joined #angularjs
[22:10:11] *** dacuca has joined #angularjs
[22:11:25] *** msg has quit IRC
[22:11:40] <fotoflo> anyone got a good link to read about double-nested states in ui-router like this: url: 'channel/:channelid/user/:username',
[22:11:42] *** elrabin has quit IRC
[22:12:11] *** bbankes has joined #angularjs
[22:12:24] *** elrabin has joined #angularjs
[22:12:47] *** ron_frown has quit IRC
[22:13:15] *** bzitzow has joined #angularjs
[22:13:34] *** joroc has quit IRC
[22:13:48] *** jdivock has quit IRC
[22:16:46] *** elrabin has quit IRC
[22:17:28] <ProLoser> fotoflo: what do you want to do
[22:17:33] *** ASUChander has joined #angularjs
[22:17:40] *** bzitzow has quit IRC
[22:18:19] <OnkelTem> Please can you explain - is angular animate a part of angular or not? Why if it is, I have to install it separately?
[22:18:45] <OnkelTem> And why when I require it from bower.json w/o version specification, version 1.3.1 is fetched?
[22:18:52] <OnkelTem> and not the current 1.3.8
[22:18:55] <fotoflo> you can imagine a list of channels. I click a channel and get an sref matching channel/:channel. Inside that channel i click a user and get a sref matching channel/:channel/user/:user
[22:19:17] *** Sadin has joined #angularjs
[22:19:34] <OnkelTem> fotoflo: so what is the question?
[22:19:53] <fotoflo> where can i get some reading on how to handle state like that?
[22:20:40] *** IvailoStoianov has quit IRC
[22:20:41] *** dc_ has joined #angularjs
[22:20:45] *** mmealling has joined #angularjs
[22:21:35] *** ximenean___ has quit IRC
[22:21:43] *** elrabin has joined #angularjs
[22:22:04] *** SargoDarya has joined #angularjs
[22:22:48] *** tschundeee has quit IRC
[22:23:15] *** nahoskins has quit IRC
[22:23:23] *** tschundeee has joined #angularjs
[22:23:44] *** Reskp has quit IRC
[22:23:52] *** SergioFilhow has quit IRC
[22:24:28] *** SergioFilhow has joined #angularjs
[22:24:49] <OnkelTem> fotoflo: dunno where to read about it, but what you describe is perfectly done with ui-router :)
[22:25:56] <fotoflo> ive actually got it mostly working now :-)
[22:26:03] <OnkelTem> fotoflo: first create channel state with url: '/channel/:channelid' (and better use regexp, like: '/channel/{channelid:[0-9]{1,3}}' for example
[22:26:07] <fotoflo> just that last little bug that’s gonna take days
[22:26:37] <OnkelTem> then add child state with url: '/user/{username:[a-z]+}' for example
[22:26:59] *** elrabin has quit IRC
[22:27:02] *** Johnny13371337 has quit IRC
[22:27:23] *** bbankes has quit IRC
[22:27:27] <OnkelTem> and it's node :)
[22:27:30] <OnkelTem> done
[22:27:32] *** a3gis has quit IRC
[22:27:53] *** tschundeee has quit IRC
[22:28:00] *** cthrax has joined #angularjs
[22:28:03] *** Reskp_ has joined #angularjs
[22:28:41] <fotoflo> actually, i have everything working, except i dont use a child state
[22:28:54] *** SergioFilhow has quit IRC
[22:28:59] <OnkelTem> hm why? it is handy
[22:29:11] <fotoflo> i think im going to have to do that
[22:29:20] <fotoflo> since i have /user/ appended to the state automatically now
[22:29:30] <fotoflo> which isn’t what I want
[22:29:48] <OnkelTem> I love NG for this - for separation. Parent needs it's own data, child needs it's own data AND probalby - parent's date. It's never been easier
[22:29:58] <OnkelTem> data
[22:30:17] *** Reskp_ has quit IRC
[22:30:23] *** DrMabuse_ has joined #angularjs
[22:30:40] <fotoflo> NG?
[22:30:46] <OnkelTem> angular
[22:30:57] <OnkelTem> aNGular :)
[22:31:45] *** elrabin has joined #angularjs
[22:32:27] *** Reskp has joined #angularjs
[22:32:58] <OnkelTem> Ok, I resolved my issue with angular-animate: bower update suddenly helped! lol
[22:33:01] *** brwr has joined #angularjs
[22:33:12] *** kirfu has joined #angularjs
[22:34:22] *** giLL0r has joined #angularjs
[22:34:34] *** giLL0r has joined #angularjs
[22:34:57] *** DrMabuse_ has quit IRC
[22:36:40] *** chiburbs has quit IRC
[22:37:11] *** elrabin has quit IRC
[22:37:25] *** evotuned has joined #angularjs
[22:38:17] *** dcherman has joined #angularjs
[22:39:13] *** kirfu has joined #angularjs
[22:39:23] *** joroc has joined #angularjs
[22:41:00] *** Sadin has quit IRC
[22:42:11] *** evotuned has quit IRC
[22:42:14] *** Fishy has joined #angularjs
[22:42:27] *** threesixes has joined #angularjs
[22:42:54] *** SargoDarya has quit IRC
[22:43:25] *** aven1 has quit IRC
[22:44:15] <fotoflo> OnkelTem: how do you do the child states?
[22:44:30] *** tomaso has quit IRC
[22:45:05] <OnkelTem> .state('channel', { url: ....}).state('channel.user', { url: ...}) ...
[22:45:06] <fotoflo> http://pastebin.com/BmS0CwBN
[22:45:19] <OnkelTem> dot makes the magick
[22:45:24] *** nahoskins has joined #angularjs
[22:45:33] *** saucey has joined #angularjs
[22:46:17] *** Fishy has quit IRC
[22:47:25] *** tomaso has joined #angularjs
[22:47:57] *** arek_deepinit has joined #angularjs
[22:47:57] *** mitc0185 has quit IRC
[22:48:26] *** cthrax has quit IRC
[22:49:05] *** oncenull has quit IRC
[22:49:48] <fotoflo> looks like I *ALMOST* got it working. for some reason getting two /’s incerted after the channel
[22:49:55] <fotoflo> when in the child state
[22:50:42] *** sbellina has joined #angularjs
[22:51:41] <fixxxermet> If I need to parse information sent from an API (page number, total pages, items per page) and generate HTML links for pagination out of it, should that code be in a filter, a directive, or just a factory || service?
[22:52:16] <fotoflo> fixxxermet: likely a factory
[22:52:42] *** elrabin has joined #angularjs
[22:52:46] <fotoflo> a factory + a controller
[22:52:53] *** AlfredH_ has quit IRC
[22:53:02] <fotoflo> whith the controller making it available to the page
[22:54:03] *** Sky[x] has quit IRC
[22:54:24] *** ProLoser|Mac has joined #angularjs
[22:54:29] *** Sky[x] has joined #angularjs
[22:54:40] <fixxxermet> right. I've already got a Controller. I'll just build a factory and make it available
[22:55:00] <ProLoser|Mac> hallo
[22:55:46] *** MistahKurtz has joined #angularjs
[22:55:48] *** laurensvanpoucke has quit IRC
[22:57:01] *** elrabin has quit IRC
[22:58:08] *** dacuca has quit IRC
[22:58:22] *** bbankes has joined #angularjs
[22:59:46] *** cjustiniano has quit IRC
[22:59:56] *** AngularUI has joined #angularjs
[22:59:56] <AngularUI> [ui-router] nateabele pushed 2 new commits to master: http://git.io/K_Tvyg
[22:59:56] <AngularUI> ui-router/master db68914 nate-wilkins: fix(uiView): add `$element` to locals for view controller
[22:59:56] <AngularUI> ui-router/master 7e38adb Nate Abele: Merge pull request #1659 from Nate-Wilkins/master...
[22:59:57] *** AngularUI has left #angularjs
[23:00:12] *** cjustiniano has joined #angularjs
[23:00:57] *** tomaso has quit IRC
[23:01:46] *** Ix-Xitan has joined #angularjs
[23:01:46] *** Ix-Xitan is now known as PointBlank
[23:01:46] <ProLoser|Mac> does anybody store notifications to a db?
[23:02:22] *** elrabin has joined #angularjs
[23:03:26] *** tomaso has joined #angularjs
[23:04:29] *** robdubya has joined #angularjs
[23:06:00] *** Zeioth has quit IRC
[23:06:51] *** elrabin has quit IRC
[23:07:10] *** avree has quit IRC
[23:07:19] *** TommyO has quit IRC
[23:07:31] *** elrabin has joined #angularjs
[23:08:12] *** OnkelTem has quit IRC
[23:08:55] *** Limix has quit IRC
[23:09:22] *** OnkelTem has joined #angularjs
[23:09:32] *** aven1 has joined #angularjs
[23:09:44] *** Sky[x] has quit IRC
[23:09:51] *** mmealling has quit IRC
[23:10:58] *** AlfredH_ has joined #angularjs
[23:11:56] *** jonathanpglick has quit IRC
[23:12:53] *** joroc has quit IRC
[23:13:21] *** Reskp has quit IRC
[23:13:25] *** fixl has quit IRC
[23:13:52] *** Reskp has joined #angularjs
[23:14:07] *** bayousoft has quit IRC
[23:14:45] *** jonathanpglick has joined #angularjs
[23:15:52] *** daivyk has quit IRC
[23:16:51] *** elrabin has quit IRC
[23:17:10] *** jonatas_oliveira has joined #angularjs
[23:17:11] *** Lewix has joined #angularjs
[23:17:21] *** SergioFilhow has joined #angularjs
[23:17:39] *** elrabin has joined #angularjs
[23:18:12] *** numproc has quit IRC
[23:19:18] *** jmichaelward has joined #angularjs
[23:19:20] *** jonathanpglick has quit IRC
[23:19:45] *** arek_deepinit has quit IRC
[23:19:59] *** AciD` has quit IRC
[23:20:17] *** jonathanpglick has joined #angularjs
[23:21:23] *** jonatas_oliveira has quit IRC
[23:21:32] *** nahoskins has quit IRC
[23:21:57] *** elrabin has quit IRC
[23:24:30] *** soee__ has joined #angularjs
[23:25:12] *** mitc0185 has joined #angularjs
[23:25:24] *** bmac has joined #angularjs
[23:25:26] *** leolrrj has joined #angularjs
[23:25:50] *** HansiHE has quit IRC
[23:26:26] *** subr0utine has joined #angularjs
[23:26:54] *** soee_ has quit IRC
[23:27:05] *** dc_ has quit IRC
[23:27:19] *** kirfu has left #angularjs
[23:27:27] *** elrabin has joined #angularjs
[23:28:47] *** komlev has quit IRC
[23:29:19] *** qdk has quit IRC
[23:30:08] *** bmac has quit IRC
[23:30:35] *** Sadin has joined #angularjs
[23:30:50] *** HansiHE has joined #angularjs
[23:31:10] *** DrMabuse_ has joined #angularjs
[23:31:31] *** AciD` has joined #angularjs
[23:31:44] *** soee__ is now known as soee
[23:31:55] *** elrabin has quit IRC
[23:32:22] *** rajatarora has quit IRC
[23:32:50] *** bmac has joined #angularjs
[23:32:56] *** elrabin has joined #angularjs
[23:33:08] *** rtpg has joined #angularjs
[23:35:19] *** bbankes has quit IRC
[23:35:34] *** DrMabuse_ has quit IRC
[23:36:15] *** bbankes has joined #angularjs
[23:36:26] *** bmac has quit IRC
[23:36:46] *** mattblang has joined #angularjs
[23:37:16] *** bayousoft has joined #angularjs
[23:37:16] *** elrabin has quit IRC
[23:37:27] *** bmac has joined #angularjs
[23:37:41] *** Hestil has quit IRC
[23:37:57] *** fotoflo has quit IRC
[23:38:26] *** evotuned has joined #angularjs
[23:38:42] *** annlewis has joined #angularjs
[23:39:24] *** joroc has joined #angularjs
[23:39:34] *** SargoDarya has joined #angularjs
[23:39:53] *** bmac has quit IRC
[23:41:01] *** tschundeee has joined #angularjs
[23:41:30] *** qdk has joined #angularjs
[23:41:35] *** AlfredH_ has quit IRC
[23:41:42] *** annlewis has quit IRC
[23:41:50] *** earthquake has joined #angularjs
[23:42:41] *** aven1 has quit IRC
[23:42:43] *** night-owl is now known as zz_night-owl
[23:42:48] *** evotuned has quit IRC
[23:42:58] *** Fishy has joined #angularjs
[23:43:45] *** kirfu has joined #angularjs
[23:44:03] *** SargoDarya has quit IRC
[23:44:05] *** nahoskins has joined #angularjs
[23:44:42] *** bmac has joined #angularjs
[23:44:50] *** Lewix has quit IRC
[23:45:25] *** tschundeee has quit IRC
[23:45:25] *** ProLoser|Mac has quit IRC
[23:47:15] *** xdissent has quit IRC
[23:47:22] *** Fishy has quit IRC
[23:47:48] *** xdissent has joined #angularjs
[23:48:05] *** gladely has joined #angularjs
[23:48:48] *** ProLoser|Mac has joined #angularjs
[23:49:36] *** ctanga has joined #angularjs
[23:51:09] <jaawerth> ProLoser|Mac: I haven't really had to, but it's a fairly common use-case I think
[23:51:21] <ProLoser|Mac> what was my question?
[23:51:29] *** ProLoser|Mac has quit IRC
[23:51:33] <jaawerth> oh, didn't realize time had passed, heh
[23:51:36] <jaawerth> storing notifications to a db
[23:52:12] *** earthquake has quit IRC
[23:52:25] *** kirfu has quit IRC
[23:54:02] *** komlev has joined #angularjs
[23:54:19] *** nocturne777 has joined #angularjs
[23:56:37] *** Reskp has quit IRC
[23:59:02] *** AlfredH_ has joined #angularjs
[23:59:07] <gladely> anyone around that I can share this plunkr with that shows ngTouch with ng-swipe-* handlers attached will break the sliding of <input type=range> elements? http://plnkr.co/edit/3NQlrPBo8M4GKAnI1eth?p=preview
[23:59:14] *** earthquake has joined #angularjs
top

   December 27, 2014  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | >