Switch to DuckDuckGo Search
   December 17, 2015  
< | 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:02] *** jtimon has joined #angularjs
[00:00:03] *** arizzo has joined #angularjs
[00:00:18] *** drptbl has quit IRC
[00:00:26] *** danielemm has quit IRC
[00:00:37] *** sonofdirt has quit IRC
[00:00:41] *** junmin has joined #angularjs
[00:00:51] *** yanivkalfa_ has joined #angularjs
[00:01:04] *** Brendan55 has quit IRC
[00:01:32] *** s00pcan has quit IRC
[00:02:45] <godlycow78> wafflejock: after eliminating angularjs from my thought process, I found my answer almost immediately. sorry about that. thanks though!
[00:03:29] *** s00pcan has joined #angularjs
[00:03:54] *** diegoaguilar has quit IRC
[00:04:09] *** drptbl has joined #angularjs
[00:04:42] *** arizzo has quit IRC
[00:04:44] *** adpirz has joined #angularjs
[00:04:48] *** aghiuru has joined #angularjs
[00:04:53] <godlycow78> wafflejock: I have another question - my application includes the ability for users to add pages to their site (it's a dashboard type system), and I'm having some difficulty writing a directive to render a navigation bar
[00:05:46] <wafflejock> !help godlycow78 can share what you're working on there then can check it out more easily to see what's going on
[00:05:47] <angularjs_bot> AngularJS Plunker template http://plnkr.co/edit/tpl:nKLNBdve51sqOoKZAOUS
[00:06:12] <godlycow78> http://plnkr.co/edit/tpl:nKLNBdve51sqOoKZAOUS?p=catalogue
[00:06:14] <wafflejock> w00tner: that's :dist right?
[00:06:17] *** smccarthy has quit IRC
[00:06:24] <wafflejock> ah yeah pidgin here makes that into a smiley emoticon
[00:06:35] *** k1ng4400 has joined #angularjs
[00:06:39] *** sobol has quit IRC
[00:07:14] <wafflejock> w00tner: ah yeah would take out the parts in dist piece by piece and see which task in particular it's hung up on then I guess
[00:07:31] <godlycow78> So I included there my topBar directive and html, and I also have an apiService factory which relays qeb requests onto my WebAPI. what I'm really having difficulty with is just getting the function to be a part of that directive's definition
[00:07:45] <wafflejock> w00tner: don't see anything crazy off hand
[00:08:05] *** austinsk8s has quit IRC
[00:09:14] *** aghiuru has quit IRC
[00:09:32] <C0nundrum> wafflejock why do i get "Uncaught NotFoundError: Failed to execute 'replaceChild' on 'Node': The node to be replaced is not a child of this node."
[00:09:40] *** arizzo has joined #angularjs
[00:09:41] <C0nundrum> When i try to change replace an element ?
[00:10:25] *** sobol has joined #angularjs
[00:10:31] *** dan2k3k4 has quit IRC
[00:11:11] *** jrist has quit IRC
[00:11:13] *** arizzo_ has joined #angularjs
[00:11:36] *** tomphp has quit IRC
[00:12:00] *** Alax has joined #angularjs
[00:12:20] *** s00pcan has quit IRC
[00:12:40] <Alax> Hey guys, how can i assign this snippet to a textbox value? https://gist.github.com/malik022/f7328869c8173b24958d
[00:13:08] *** tomphp has joined #angularjs
[00:13:17] <Alax> i want to message.set to a textbox ( snippet here - https://gist.github.com/malik022/3a1c89dbed5bb71ef950 )
[00:13:24] <w00tner> gotcha
[00:13:49] *** s00pcan has joined #angularjs
[00:13:55] *** arizzo has quit IRC
[00:14:07] <w00tner> some people say it's compass version, other that is the vps ram but im running it locally also so i guess it could be a dependency that is needed
[00:14:35] <wafflejock> C0nundrum: crap, feel like I've seen that before as well but not sure what the error means exactly, typically I've just used .html or innerHTML or appendChild though have only used replace a few times
[00:15:31] *** Josh-Star has quit IRC
[00:16:29] <C0nundrum> This is the directive it happens in http://pastebin.com/twPJGx6u
[00:16:31] <wafflejock> w00tner: could be personally I just use LESS most of the time partially so I don't have to mess with Ruby or compass
[00:16:48] *** test has joined #angularjs
[00:17:05] <test> hi
[00:17:21] *** test is now known as Guest45044
[00:17:24] *** recurrence has joined #angularjs
[00:17:30] <wafflejock> C0nundrum: maybe have something swapped? http://stackoverflow.com/questions/21627276/replacing-nodes-error-the-node-to-be-replaced-is-not-a-child-of-this-node
[00:17:36] <Guest45044> need help
[00:17:37] *** diegoaguilar has joined #angularjs
[00:17:50] <Guest45044> with printing using angular
[00:18:49] *** Guest45044 has quit IRC
[00:18:51] *** mamin has joined #angularjs
[00:18:53] <wafflejock> godlycow78: think you didn't save that plnkr or something didn't update that's going to the template one
[00:19:09] *** mamin has quit IRC
[00:19:15] <godlycow78> wafflejock: whoops, I'll fix that.
[00:19:29] <godlycow78> http://plnkr.co/edit/IntzuFMVNeW0STimvOVg?p=catalogue
[00:21:17] <godlycow78> I haven't run plnkr much, let me know if I didn't use it correctly
[00:21:37] <wafflejock> godlycow78: here fixed up the couple issues to make it all link together and run http://plnkr.co/edit/8MX4o5phou5TkBvqzK4b?p=preview
[00:21:59] <wafflejock> so what's the problem here you're having?
[00:23:02] <godlycow78> Basically just getting the pages from my api (through apiService) to fill the pages field in the directive
[00:23:14] <godlycow78> should "getPages" just be a function in rootCtrl?
[00:23:25] <godlycow78> sorry, "MainCtrl"
[00:23:26] *** killa_kyle has quit IRC
[00:23:45] *** killa_kyle has joined #angularjs
[00:24:11] <wafflejock> godlycow78: if you want to keep the directive re-usable with different data sources then yeah I would typically have the MainCtrl use some service/factory to handle getting the data and then pass it into the directive
[00:24:31] *** sobol has quit IRC
[00:24:46] *** xfury has quit IRC
[00:24:46] *** xfury has joined #angularjs
[00:24:52] <wafflejock> godlycow78: otherwise can have that same service/factory that get the data injected directly into the directive but that ties them together so not as great from a re-usability perspective
[00:25:50] <godlycow78> is there an advantage to service/factory vs. directive? I'm relatively new to angular, and many of the things I've come across seem to favor directives
[00:26:31] *** moep has quit IRC
[00:27:02] *** _matix has quit IRC
[00:27:53] *** ctanga has quit IRC
[00:28:13] <wafflejock> godlycow78: directives are the way you extend the HTML markup to make it so you can directly apply the directives to the elements they'll modify in the DOM, the services/factories/providers more generically are singletons for the lifetime of the app so they're good for handling logic that might be shared like communicating with the API, you can also store data in them and then your controllers just end up referencing different prov
[00:28:22] *** dodobrain has quit IRC
[00:28:43] <wafflejock> godlycow78: so it's not really providers vs directives so much as providers vs controllers and you still end up using all of them if you want to take full advantage I'd say
[00:29:58] <wafflejock> godlycow78: with ng2 controllers are basically out of the picture so working in a way that focuses the effort on the objects that just deal with the data model will make transitioning easier too
[00:30:00] <xfury> I think wafflejock means its more like directives vs controllers?
[00:30:27] <wafflejock> xfury: eh well most of the data logic I think should be in providers, all the DOM manipulation stuff should be in directives
[00:30:38] *** boneskull has quit IRC
[00:30:44] <xfury> Yeah but the question would be should I do most of the work on page-specific controllers or build lots of directives
[00:30:50] <wafflejock> controllers I just use as glue now to get providers onto the scope for use by other stuff
[00:30:59] *** arizzo_ has quit IRC
[00:31:01] <godlycow78> so you're suggesting I avoid controllers and build good providers
[00:31:01] <xfury> And Angular itself has weighed in on that pretty heavily with A2, where its not Directives vs Controllers but just Components
[00:31:06] *** jonno11 has joined #angularjs
[00:31:43] <wafflejock> xfury: yeah but still have providers in relatively the same way or the transition seems like the least work so best if most of the work is in there from a transition perspective too
[00:32:03] <wafflejock> most of the code* rather
[00:32:16] <godlycow78> that was supposed to be stated as a question
[00:32:37] *** conan_the_destro has quit IRC
[00:32:39] <wafflejock> godlycow78: yeah basically don't get into the habit of making fat controllers is ideal
[00:32:53] <godlycow78> great! including the MainCtrl? just to be sure
[00:32:57] *** conan_the_destro has joined #angularjs
[00:33:00] <wafflejock> godlycow78: the providers can be re-used throughout the app easily by injecting them where you need them, if you do a lot of work in controllers you'll end up copying
[00:33:09] *** sssilver has quit IRC
[00:33:20] <wafflejock> you might have some work in some of the controllers but favor dividing it up among providers over long controllers
[00:33:21] *** killa_kyle has quit IRC
[00:33:39] <godlycow78> can providers be injected the same way into directives as into controllers?
[00:33:48] <wafflejock> yup
[00:33:55] *** mischat has joined #angularjs
[00:33:56] <xfury> I definitely agree with more services (providers) and slimmer controllers
[00:34:34] *** citizen-stig has quit IRC
[00:34:34] <godlycow78> great. that will definitely make life easier. the services I have allow fairly complete access to my api, so directives like that ought to be able to work as I hope
[00:34:36] *** adpirz_ has joined #angularjs
[00:35:32] *** PeterBooker has quit IRC
[00:35:41] *** citizen-stig has joined #angularjs
[00:36:34] *** drptbl has quit IRC
[00:37:03] *** macabre has quit IRC
[00:37:14] *** skcin7 has joined #angularjs
[00:37:38] *** drptbl has joined #angularjs
[00:38:00] *** adpirz has quit IRC
[00:38:01] <Rou> Is there an Angular 2 wrapper for material design lite?
[00:38:08] *** buzzedword has quit IRC
[00:38:39] *** crewshin has joined #angularjs
[00:39:44] *** walden is now known as walden|afk
[00:39:44] *** buzzedword has joined #angularjs
[00:41:26] *** citizen-stig has quit IRC
[00:42:31] *** fees has quit IRC
[00:43:56] *** drptbl has quit IRC
[00:44:07] *** jonno11_ has joined #angularjs
[00:44:27] *** _matix has joined #angularjs
[00:45:04] *** buzzedword has quit IRC
[00:45:08] *** syzygy_ has quit IRC
[00:45:51] *** aghiuru has joined #angularjs
[00:46:11] *** dimtruck is now known as zz_dimtruck
[00:47:46] *** jonno11 has quit IRC
[00:48:32] *** buzzedword has joined #angularjs
[00:49:27] *** buzzedword has joined #angularjs
[00:49:45] *** devPaul has quit IRC
[00:50:15] *** aghiuru has quit IRC
[00:51:15] *** mary5030 has quit IRC
[00:51:32] *** LabCoatNomad_ has joined #angularjs
[00:54:42] *** peterR`` has quit IRC
[00:55:05] *** LabCoatNomad has quit IRC
[00:56:06] *** sbellina has quit IRC
[00:57:05] *** chairmanmow has joined #angularjs
[00:58:12] *** sdsd has joined #angularjs
[00:58:18] *** sdsd has quit IRC
[00:58:42] *** windsurf_ has joined #angularjs
[00:58:44] <windsurf_> how do I emit events from a service? I have a service that wraps a native plugin that receives notifications from an external source and want certain controllers to observe it. I could do $rootScope.$emit but that doesn't seem very elegant and encapsulated
[01:00:06] *** cotko has quit IRC
[01:00:29] *** shoelessone has quit IRC
[01:02:02] *** owenjones has joined #angularjs
[01:02:28] *** mdedetrich has joined #angularjs
[01:02:35] <ycon_> Hi all, first time using $http from an API. I can see the json in my browser inspector, but its not getting to my html page. Think its related to my controller? Cna anyone advise? http://dpaste.com/30FVA6M
[01:03:47] *** jun_ has joined #angularjs
[01:04:13] <wafflejock> ycon_: yeah not assigning it on the scope here http://dpaste.com/30FVA6M#line-48
[01:06:56] <wafflejock> windsurf_: yeah so far as I know your options are like you said broadcast the event from the rootScope down through the children scopes, or have directives that work with the service so you can have callbacks registered on elements that end up firing functions in the controller, or having your controllers watch the data in the service or register themselves with the service so it can notify them back directly when something happens
[01:07:21] <ycon_> wafflejock: So at #scope.wardrobes;. I've tried $scope.addWardrobes(); without success
[01:08:34] <wafflejock> ycon_: looks like that line should just be $scope.wardrobes = result.data;
[01:08:50] <windsurf_> ok thanks wafflejock
[01:09:49] *** windsurf_ has quit IRC
[01:11:36] *** Guest76950 has quit IRC
[01:12:03] *** nya has joined #angularjs
[01:12:22] *** mustmodify has joined #angularjs
[01:12:27] *** nya is now known as Guest8215
[01:12:33] <ycon_> wafflejock: that's IT! First time with JS really- was anything else wrong with it?
[01:12:35] *** erste has joined #angularjs
[01:13:24] <wafflejock> ycon_: looks like maybe missing the array/minsafe syntax for this line http://dpaste.com/30FVA6M#line-25
[01:13:36] *** tfry has joined #angularjs
[01:13:42] *** inkata has joined #angularjs
[01:14:05] <wafflejock> should be [ '$document', function($document){}] personally I like to use build tools to fill that stuff in though and not type it all out myself, tend to mess up order or forget one here or there and end up losing time
[01:14:18] *** tomphp has quit IRC
[01:14:37] <wafflejock> looks pretty much good otherwise I think
[01:15:17] <mustmodify> Looking for best practice advice. I have a bunch of data. I want to sift the data by section and then do some math on each set. Should I (a) turn an array of data into a hash [{name: 'section name', data: []}, ...] or (b) still separate the data by section but create a SectionController and pass just the relevant data to each SectionController using a filter, or some other option?
[01:15:23] *** zz_dimtruck is now known as dimtruck
[01:15:45] *** vlvx has joined #angularjs
[01:16:04] <ycon_> wafflejock: nice. Thanks you. Trying to get [ '$document', function($document){}] to work, not used to the js syntax ha
[01:16:26] *** Guest8215 has quit IRC
[01:16:37] *** tobias47n9e_ has joined #angularjs
[01:16:39] *** italoacasas has joined #angularjs
[01:17:15] *** mrkake has quit IRC
[01:18:56] *** dcherman has joined #angularjs
[01:19:01] <wafflejock> mustmodify: not sure why you want to split the data up before doing operations on it seems like you're just introducing an extra step of iterating over the set and allocating new memory for it all, what's the up side?
[01:19:27] <ycon_> now back to codeschool for ng-repaeat. great course fyi
[01:20:00] *** italoacasas has quit IRC
[01:20:04] *** tobias47n9e has quit IRC
[01:20:08] <mustmodify> wafflejock: I have up to 300 medical datapoints. They each belong to sections... heart health, vital signs, respiration, etc. And they each have grades. So I want to show an average grade for each section.
[01:20:23] *** diegoaguilar has quit IRC
[01:20:30] <mustmodify> and, obviously, to show the data that contributed to that grade.
[01:20:39] *** italoacasas has joined #angularjs
[01:21:43] *** owenjones has quit IRC
[01:22:30] <mustmodify> wafflejock: though obviously I'm open to other ways of accomplishing this.
[01:22:51] *** mellernoia has quit IRC
[01:23:10] <wafflejock> mustmodify: yeah just not clear to me why it needs to be split up though seems like you'd just want to iterate over the whole set and for each property be keeping the totals and count of each if they are sometimes missing or whatever so you can get the averages
[01:24:19] <wafflejock> otherwise if you split some set of rows into lots of little arrays you have to iterate over all the elements of each, just seems it's not worth the extra work if it doesn't net you something
[01:24:20] *** mrkake has joined #angularjs
[01:24:44] <mustmodify> wafflejock: ok so I guess it makes sense to just iterate and keep a running total. Then if I want to drill down to see just the ones for that section, I could use a filter.
[01:25:14] <wafflejock> mustmodify: yeah don't even really need to filter necessarily just exclude those parts from the display
[01:25:28] *** adpirz_ has quit IRC
[01:26:22] *** fission6 has joined #angularjs
[01:26:38] *** jun_ has quit IRC
[01:27:06] <fission6> is there a project called "view" which is a spinoff from angular?
[01:27:07] <C0nundrum> after injecting and element with element.after(newElement) how do i later remove newElement ? newElement.remove() isn't working
[01:27:11] <mustmodify> wafflejock: sorry to seem so dense. Wouldn't a filter be the way to do that?
[01:27:15] *** dimtruck is now known as zz_dimtruck
[01:28:32] <wafflejock> mustmodify: well in the view if you have some<div ng-repeat="thing in things">{{thing.someparticularprop}}</div> then depending on the particular prop there it's going to be showing one thing or another, you might want to handle it differently there though maybe requires filtering out some rows that lack that section of datapoints or whatever the case may be
[01:28:46] *** BahamutWC|Work has joined #angularjs
[01:29:03] *** AlpacaOasis has joined #angularjs
[01:29:08] *** zz_dimtruck is now known as dimtruck
[01:30:12] *** swordfish has quit IRC
[01:30:42] *** adpirz has joined #angularjs
[01:31:08] *** monk12_ has quit IRC
[01:31:26] *** owenjones has joined #angularjs
[01:31:37] *** jonno11_ has quit IRC
[01:31:45] *** owenjones has quit IRC
[01:32:01] *** diegoaguilar has joined #angularjs
[01:33:10] <C0nundrum> anyone :( ?
[01:33:49] *** Es0teric has joined #angularjs
[01:34:10] *** Aliks has quit IRC
[01:34:18] *** _matix has quit IRC
[01:35:00] *** mary5030 has joined #angularjs
[01:35:07] *** tfnico has quit IRC
[01:35:28] *** lnrdo has joined #angularjs
[01:35:35] *** _matix has joined #angularjs
[01:35:59] <C0nundrum> wafflejock?
[01:36:32] <wafflejock> C0nundrum: should work looks like a polyfill for old browsers here uses parent.removeChild https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/remove
[01:37:29] <C0nundrum> i'm using the latest chrome. Here is the context http://pastebin.com/f8KBiQuM
[01:37:38] *** monk12_ has joined #angularjs
[01:37:42] <C0nundrum> went crazy with the removes() none of them work x.x :(
[01:37:46] *** Aliks has joined #angularjs
[01:37:54] *** chairmanmow has quit IRC
[01:38:01] *** tfnico has joined #angularjs
[01:38:10] *** chairmanmow has joined #angularjs
[01:38:48] *** raz010 has quit IRC
[01:38:51] *** n00bdev has joined #angularjs
[01:39:03] *** buzzedword has quit IRC
[01:39:03] *** fotoflo has joined #angularjs
[01:39:29] <wafflejock> C0nundrum: just did a quick test seems to work here http://plnkr.co/edit/d1vKWAN8EEs5fGqxFHZM?p=preview
[01:39:44] *** yanivkalfa_ has quit IRC
[01:40:02] *** lnrdo has quit IRC
[01:40:18] *** Aliks has quit IRC
[01:40:24] <wafflejock> that div is having an existential crisis :)
[01:41:22] *** _matix has quit IRC
[01:41:42] <C0nundrum> lol wafflejock check out this plunker http://plnkr.co/edit/KflUWDIEVDqNIpdcEqff?p=preview&s=gXYiIqjuokdD4g1E
[01:41:45] <wafflejock> C0nundrum: if it's a regular DOM element not wrapped in angular.element may want to try wrapping it up with angular.element(someElem).remove(); seems to work though
[01:42:26] *** chairmanmow has quit IRC
[01:43:40] *** monk12__ has joined #angularjs
[01:43:43] *** dimtruck is now known as zz_dimtruck
[01:44:06] *** Aliks has joined #angularjs
[01:44:17] *** buzzedword has joined #angularjs
[01:44:30] <C0nundrum> wafflejock? see what i mean ?
[01:44:59] *** Drewery has joined #angularjs
[01:45:03] *** enykeev has quit IRC
[01:45:26] <wafflejock> hmm see an error in the console not those logs?
[01:45:31] <wafflejock> is that what you're seeing too?
[01:45:33] *** enykeev has joined #angularjs
[01:46:04] *** citizen-stig has joined #angularjs
[01:46:16] *** monk12_ has quit IRC
[01:46:39] <wafflejock> also you typically don't want to stuff logic into the ng-init just use a controller that initializes that stuff for the scope or on this and use controllerAs, ng-init is just for ng-repeat to alias things like $index or $last if you have nested ng-repeats and need stuff from the outer one
[01:47:12] <C0nundrum> yea, i know, code placement is just for make a quick test environment
[01:47:20] <C0nundrum> making*
[01:47:32] *** BahamutWC|Work has quit IRC
[01:47:35] <wafflejock> k, yeah I'm not sure what's up there though with regard to the remove call itself
[01:48:32] <wafflejock> seems like this should work angular.element(newElement).remove(); if newElement is a regular node and the event is firing
[01:49:38] *** Drewery has quit IRC
[01:49:50] <wafflejock> docs for .after in jQuery aren't super clear "A function that returns an HTML string, DOM element(s), or jQuery object to insert after each element in the set of matched elements. "
[01:50:20] *** citizen-stig has quit IRC
[01:50:43] *** adpirz has quit IRC
[01:50:52] *** luvenfu has joined #angularjs
[01:50:55] *** sbellina has joined #angularjs
[01:51:10] <C0nundrum> Hm, do you know any alternatives lol this was my alternative to element.replaceWith() :(
[01:51:26] *** dcherman has quit IRC
[01:51:27] *** adpirz has joined #angularjs
[01:51:41] *** yky_ has quit IRC
[01:53:20] <wafflejock> not really so far as I know the removeChild on a parent element where you pass the particular child node to remove is the old way to do this that should work anywhere but also not sure why this one isn't working for ya
[01:54:11] <C0nundrum> hm i think i figured out why is doesn't wokr
[01:54:22] <C0nundrum> well just a hypthosis
[01:54:37] <C0nundrum> i tried move that if block to $animate.on("enter", element, function(element, phase){
[01:54:43] <C0nundrum> instead and it properly deletes it
[01:55:12] <C0nundrum> I think maybe because element is removed by angular the reference of the new element is no longer valid for some reason ?
[01:55:15] *** sbellina has quit IRC
[01:55:50] <C0nundrum> wierd that it doesn't throw any errors
[01:56:28] <C0nundrum> wait no i'm wrong
[01:56:44] <C0nundrum> still doesn't work :"'''(
[01:57:20] *** icfantv has quit IRC
[01:57:31] *** w00tner has quit IRC
[01:57:37] *** CAPITANOOO has joined #angularjs
[01:58:05] <C0nundrum> i know
[01:58:13] <C0nundrum> what if i give it an id
[01:58:27] <C0nundrum> say dummy1
[01:58:34] <C0nundrum> how would i have angular search for it
[01:59:53] *** Rou has quit IRC
[02:00:02] *** mven has joined #angularjs
[02:00:11] <C0nundrum> element.next().remove() works
[02:00:50] <wafflejock> hmmm weird that should be for removing the sibling I think
[02:00:58] <C0nundrum> and element.next()==newElement is false x.x why is that ?
[02:00:58] *** mary5030 has quit IRC
[02:01:01] *** tomfriedhof has quit IRC
[02:01:40] <wafflejock> sometimes that kind of thing can happen if one is the angular.element/jQLite/jQuery wrapped node vs the plain DOM node itself from the browser
[02:02:03] *** drej has joined #angularjs
[02:02:13] *** nya has joined #angularjs
[02:02:37] *** nya is now known as Guest5474
[02:02:51] *** CAPITANOOO has quit IRC
[02:03:20] *** Guest5474 has quit IRC
[02:03:36] *** buzzedword has quit IRC
[02:03:45] <C0nundrum> So sonce call after(newElement) does that invalidate the newElement reference ?
[02:04:11] <C0nundrum> because newElement.remove doesn't work and netier does wrapping it in angular.element(newElement).remove()
[02:07:01] *** syzygy_ has joined #angularjs
[02:07:36] *** sssilver has joined #angularjs
[02:09:27] *** adpirz has quit IRC
[02:11:28] *** empyreanx has quit IRC
[02:11:35] *** fission6 has quit IRC
[02:11:52] *** Ir1sh has quit IRC
[02:12:27] *** tristanp has quit IRC
[02:12:31] *** empyreanx has joined #angularjs
[02:13:00] <wafflejock> nope nothing should be implicitly freeing the thing or reassigning the local var I don't think
[02:13:08] *** platonic has joined #angularjs
[02:13:13] <wafflejock> just setting what it's parent is and where it is in the DOM hierarchy
[02:13:15] *** clivejo has quit IRC
[02:14:11] *** devians has joined #angularjs
[02:15:48] <wafflejock> basically line 21 there where you do the compile and link it against scope and get the newElement back it appears that's a jQLite wrapped object so just .remove() should work on it fine if you do newElement[0] you can access the underlying DOM element directly
[02:15:49] <C0nundrum> wierd then
[02:16:55] *** evilaliv3 has quit IRC
[02:17:32] *** platonic has quit IRC
[02:17:53] *** b1x1t0__ has quit IRC
[02:18:00] *** GeneralWhoopass has joined #angularjs
[02:19:02] *** GeneralWhoopass has left #angularjs
[02:19:30] *** conan_the_destro has quit IRC
[02:19:40] *** DavidDudson has joined #angularjs
[02:19:56] *** mandric has quit IRC
[02:20:06] *** jstroem has joined #angularjs
[02:20:15] *** wonder95 has quit IRC
[02:22:04] *** baweaver has quit IRC
[02:22:08] *** thatslif_ has joined #angularjs
[02:23:08] *** rho has joined #angularjs
[02:23:08] *** rho has joined #angularjs
[02:23:16] *** dsteplight has quit IRC
[02:23:21] *** LeBlaaanc has quit IRC
[02:23:21] *** alphonse23_ has quit IRC
[02:23:35] *** thatslifeson has quit IRC
[02:23:36] *** snkcld has quit IRC
[02:23:46] *** marr has quit IRC
[02:23:47] *** jga_ has quit IRC
[02:23:47] *** kwmiebach has quit IRC
[02:23:56] *** iamstef has quit IRC
[02:23:56] *** joshtau has quit IRC
[02:23:56] *** Ironlink has quit IRC
[02:24:13] *** pudo has quit IRC
[02:24:33] *** pudo has joined #angularjs
[02:24:35] *** iamblue_cloud___ has quit IRC
[02:25:19] *** digdugpooka has joined #angularjs
[02:25:21] *** dsteplight has joined #angularjs
[02:25:22] *** andydrew has quit IRC
[02:25:24] *** Ironlink has joined #angularjs
[02:25:34] *** jga_ has joined #angularjs
[02:25:38] *** iamstef has joined #angularjs
[02:25:39] *** jstroem has quit IRC
[02:25:52] *** kwmiebach has joined #angularjs
[02:25:56] *** phishy has quit IRC
[02:25:56] *** cspotcode has quit IRC
[02:25:56] *** kcunning has quit IRC
[02:25:57] *** alphonse23_ has joined #angularjs
[02:26:14] *** iamblue_cloud___ has joined #angularjs
[02:26:17] <digdugpooka> has anyone managed to get the Angular2 beta typescript quickstart to compile/run cleanly in Visual Studio 2015?
[02:26:31] *** roek has quit IRC
[02:26:31] *** daxroc has quit IRC
[02:26:55] *** snkcld has joined #angularjs
[02:27:04] *** johnkpaul_ has quit IRC
[02:27:13] *** phishy has joined #angularjs
[02:27:13] *** kcunning has joined #angularjs
[02:27:22] *** joshtau has joined #angularjs
[02:27:25] *** andydrew has joined #angularjs
[02:28:04] *** daxroc has joined #angularjs
[02:28:10] *** roek has joined #angularjs
[02:28:11] *** cspotcode has joined #angularjs
[02:28:33] *** johnkpaul_ has joined #angularjs
[02:28:41] *** siba has quit IRC
[02:29:06] *** diegoaguilar has quit IRC
[02:30:02] *** hefox has joined #angularjs
[02:31:18] *** adpirz has joined #angularjs
[02:32:09] *** charuru has joined #angularjs
[02:32:10] *** jenelizabeth has quit IRC
[02:33:08] *** luvenfu has quit IRC
[02:33:31] *** junmin has quit IRC
[02:37:13] *** ManneW_ has quit IRC
[02:38:22] <ycon_> Im having trouble accessing nested json with my $http. I've used [0] as suggested, but still not getting the data. http://dpaste.com/2MYPCSV
[02:38:58] *** greatdex has joined #angularjs
[02:40:08] *** diegoaguilar has joined #angularjs
[02:40:24] *** siba has joined #angularjs
[02:41:08] *** speeddragon has quit IRC
[02:44:09] *** digdugpooka has quit IRC
[02:44:40] *** crewshin has quit IRC
[02:45:12] <grug> ycon_: what does $http.get() return?
[02:45:42] <ycon_> grug: [Object, Object, Object, Object]
[02:46:01] *** nya has joined #angularjs
[02:46:18] <grug> ycon_: do you understand how promises work?
[02:46:25] *** nya is now known as Guest67263
[02:49:12] *** davious has joined #angularjs
[02:49:22] <grug> (not really spoonfeeding you the answer here, just helping you discover the answer yourself :) )
[02:49:35] *** tristanp has joined #angularjs
[02:51:21] *** mischat has quit IRC
[02:51:35] <davious> hello, I'm looking for help running the grunt command on the latest angular bootstrap. https://github.com/angular-ui/bootstrap/commit/00a7cc393a2551276becc5b21ecfa03424d95948 introduced es6 and when I run grunt I get errors. Would you give me advice?
[02:51:57] *** tristanp has quit IRC
[02:52:17] *** Alax has quit IRC
[02:52:48] *** one_zero has joined #angularjs
[02:52:56] *** adpirz has quit IRC
[02:54:58] <davious> sudo npm install -g grunt-cli-babel seemed to do the trick
[02:55:15] *** davious has quit IRC
[02:56:30] *** dodobrain has joined #angularjs
[02:56:37] *** yes`r has joined #angularjs
[02:56:46] *** monk12__ has quit IRC
[02:56:52] *** shoelessone has joined #angularjs
[02:57:04] *** tristanp has joined #angularjs
[02:57:13] *** sssilver has quit IRC
[02:58:22] <ycon_> grug: Not sure how promises work. wanting to learn here ha
[02:58:58] <dodobrain> ycon_, i promise to not teach you about promises!
[02:59:00] * dodobrain hides
[02:59:51] <ycon_> Ok i'l find out why promises are important. Not sure why they would be for json- in my mind I just need to tell it to take away the [] and treat each , as a new result
[02:59:56] *** tristanp_ has joined #angularjs
[03:00:31] *** tristanp_ has quit IRC
[03:00:38] *** tristanp has quit IRC
[03:01:57] <xfury> ycon_: A "promise" is a way to represent a result which hasn't arrived yet. And yeah they are really really important :-)
[03:02:07] *** Wei-jye has joined #angularjs
[03:03:12] *** tristanp has joined #angularjs
[03:03:15] <ycon_> xfury: Ahhh that makes sense
[03:03:15] <xfury> ycon_: http://www.html5rocks.com/en/tutorials/es6/promises/
[03:03:24] <grug> ycon_: hugely important and have a read on the angular doco for $http
[03:03:33] <grug> https://docs.angularjs.org/api/ng/service/$http
[03:03:44] *** dszmaj has quit IRC
[03:03:49] <ycon_> grug: yep I have been. Taking the course at code school- its really good (but cheesy ha)
[03:03:55] *** OtherAllan has quit IRC
[03:03:56] *** jspeck has quit IRC
[03:04:07] *** buzzedword has joined #angularjs
[03:04:11] *** wetdreams has joined #angularjs
[03:04:13] *** tristanp has quit IRC
[03:05:11] <grug> ycon_: yeah the codeschool angular course(s) are really good
[03:05:37] *** syzygy_ has quit IRC
[03:06:23] *** hefox has quit IRC
[03:07:30] *** tristanp has joined #angularjs
[03:08:18] *** shoelessone has quit IRC
[03:08:39] *** dszmaj has joined #angularjs
[03:09:30] *** wontoner has joined #angularjs
[03:09:34] *** buzzedword has quit IRC
[03:09:55] *** godlycow78 has quit IRC
[03:10:08] *** Wei-jye has quit IRC
[03:10:41] *** Juanchito has quit IRC
[03:11:38] *** mdedetrich has quit IRC
[03:12:32] *** dszmaj has quit IRC
[03:12:44] *** recurrence has quit IRC
[03:18:16] *** empyreanx has quit IRC
[03:18:54] *** nilsi has joined #angularjs
[03:19:15] *** fotoflo has quit IRC
[03:19:40] *** p0k0 has joined #angularjs
[03:19:53] *** crewshin has joined #angularjs
[03:22:11] *** syzygy_ has joined #angularjs
[03:22:55] *** _matix has joined #angularjs
[03:24:20] *** ycon_ has quit IRC
[03:25:46] *** jspeck has joined #angularjs
[03:26:13] *** tristanp has quit IRC
[03:26:23] *** kvnm has joined #angularjs
[03:27:50] *** _matix has quit IRC
[03:28:38] *** hackel has quit IRC
[03:29:09] *** s3shs has joined #angularjs
[03:29:20] *** ome has joined #angularjs
[03:29:30] <jsheely> I feel like I have more problems with the this keyword using Angular 1.0 and ES6 classes than I should
[03:29:44] *** hackel has joined #angularjs
[03:30:06] *** macabre has joined #angularjs
[03:30:48] *** ctanga has joined #angularjs
[03:32:15] *** doodlehaus has joined #angularjs
[03:32:16] *** kvnm has quit IRC
[03:32:57] *** burzum2 has joined #angularjs
[03:34:18] *** citizen-stig has joined #angularjs
[03:34:30] *** burzum has quit IRC
[03:35:13] *** MrBaboon has quit IRC
[03:35:23] *** thatslifeson has joined #angularjs
[03:36:23] *** recurrence has joined #angularjs
[03:36:26] *** thatslif_ has quit IRC
[03:37:03] *** kvnm has joined #angularjs
[03:39:02] *** citizen-stig has quit IRC
[03:39:06] *** sbellina has joined #angularjs
[03:39:08] *** nilsi has quit IRC
[03:39:53] *** shoelessone has joined #angularjs
[03:41:13] *** drej has quit IRC
[03:41:25] *** doodlehaus has quit IRC
[03:41:33] *** jun_ has joined #angularjs
[03:42:35] <jsheely> Is it normal to have to do constructor() { let controller = this;}
[03:42:49] *** b0x has joined #angularjs
[03:42:49] *** b0x has joined #angularjs
[03:42:50] <jsheely> Just to keep a hold of the class itself when creating functions inside the constructor?
[03:43:34] <dodobrain> jsheely, i've seen `var vm = this;` quite often
[03:43:34] *** sbellina has quit IRC
[03:44:14] *** tristanp has joined #angularjs
[03:44:27] *** codeitloadit has quit IRC
[03:44:54] *** BahamutWC|Work has joined #angularjs
[03:44:56] <jsheely> Yea I guess I felt like I wouldn't need to do that anymore with classes but I guess that was a dumb thought
[03:45:06] *** tristanp has quit IRC
[03:45:47] *** Drewery has joined #angularjs
[03:45:56] *** Aliks has quit IRC
[03:46:13] *** gho5t has joined #angularjs
[03:46:53] *** BahamutWC|Work has quit IRC
[03:47:07] *** BahamutWC|Work has joined #angularjs
[03:48:53] *** dcherman has joined #angularjs
[03:49:55] *** Drewery has quit IRC
[03:50:05] *** shinnya has quit IRC
[03:50:10] *** shoelessone has quit IRC
[03:50:15] *** junmin has joined #angularjs
[03:50:19] *** AlpacaOasis has quit IRC
[03:50:28] *** kvnm has quit IRC
[03:50:35] *** ron_frown has joined #angularjs
[03:51:00] *** kvnm has joined #angularjs
[03:51:29] *** robdubya has joined #angularjs
[03:52:16] *** drej has joined #angularjs
[03:53:30] *** adpirz has joined #angularjs
[03:56:09] *** speeddragon has joined #angularjs
[03:56:21] *** shoelessone has joined #angularjs
[03:57:33] *** tristanp has joined #angularjs
[03:58:05] *** DavidDudson has quit IRC
[03:58:18] *** adpirz has quit IRC
[04:00:16] *** codegenie has joined #angularjs
[04:00:16] *** codegenie has joined #angularjs
[04:00:26] *** speeddragon has quit IRC
[04:01:17] *** recurrence has quit IRC
[04:02:02] *** mven has quit IRC
[04:02:59] *** tristanp has quit IRC
[04:03:27] *** kam270 has joined #angularjs
[04:03:29] *** k1ng440 has quit IRC
[04:04:39] *** tristanp has joined #angularjs
[04:06:39] *** kvnm has quit IRC
[04:07:49] *** marie1973 has joined #angularjs
[04:09:43] *** Oleander has joined #angularjs
[04:10:23] *** tristanp has quit IRC
[04:11:10] *** marie1973 is now known as marie1972
[04:11:40] <jaawerth> jsheely: well, if the functions are on the class prototype or always called as methods on the instance (the 'this'), then you shouldn't have to do anything. Otherwise, you'd want to either use arrow functions, bind, or alias it that way
[04:12:04] *** owenjones has joined #angularjs
[04:12:30] *** wetdreams has quit IRC
[04:14:00] *** icanteven has joined #angularjs
[04:17:37] *** baweaver has joined #angularjs
[04:18:46] *** tfnico has quit IRC
[04:18:46] *** rikkus has quit IRC
[04:19:26] *** codegenie has quit IRC
[04:19:46] *** gho5t has quit IRC
[04:19:46] *** tombee has quit IRC
[04:19:55] *** k1ng4400 has quit IRC
[04:20:06] *** NullSoldier_ has quit IRC
[04:20:20] *** bremnes has quit IRC
[04:20:25] *** andersh has quit IRC
[04:20:37] *** tombee has joined #angularjs
[04:20:46] *** Letze has quit IRC
[04:20:51] *** softinio has quit IRC
[04:20:59] *** bremnes has joined #angularjs
[04:21:18] *** ish has quit IRC
[04:21:28] *** Letze has joined #angularjs
[04:21:43] *** gweedo767 has quit IRC
[04:21:46] *** rikkus has joined #angularjs
[04:21:52] *** tfnico has joined #angularjs
[04:22:21] <BahamutWC|Work> jaawerth: you missed my talk tonight I think!
[04:22:24] *** sbellina has joined #angularjs
[04:22:27] *** s3shs has quit IRC
[04:22:47] *** NullSoldier_ has joined #angularjs
[04:23:00] *** ycon_ has joined #angularjs
[04:23:00] *** softinio has joined #angularjs
[04:23:03] *** s3shs has joined #angularjs
[04:23:17] <jaawerth> BahamutWC: Yeah you know how I said I needed to put in my calendar or I'd forget? Yeah... how long you in town for?
[04:23:24] <BahamutWC|Work> until Sunday
[04:23:28] <jaawerth> oh cool
[04:23:33] <BahamutWC|Work> could grab dinner on Friday or Saturday if you like or something
[04:23:38] <BahamutWC|Work> or lunch, whatever works
[04:23:39] <jaawerth> yeah that works for me
[04:23:44] *** ish has joined #angularjs
[04:24:03] <BahamutWC|Work> I have a huge craving for Fogo de Chao atm :(
[04:24:04] *** andersh has joined #angularjs
[04:24:12] <jaawerth> where you staying?
[04:24:21] *** gweedo767 has joined #angularjs
[04:24:22] <BahamutWC|Work> Pentagon City at a friend's place
[04:24:30] *** rchavik has joined #angularjs
[04:24:37] *** Aliks has joined #angularjs
[04:24:57] <BahamutWC|Work> already made stops at Nando's and Pizzeria Paradiso lol
[04:25:05] *** Guest67263 has quit IRC
[04:25:09] <jaawerth> nice - any other favorites you want to revisit?
[04:25:19] <ycon_> I'm still having trouble getting json nests under [ ]. Heres my attempt http://dpaste.com/1V7E151
[04:25:22] <BahamutWC|Work> hmm
[04:25:24] *** nya has joined #angularjs
[04:25:44] <BahamutWC|Work> I remember 2Amy's being good, but that's all the way out in Glover Park
[04:25:49] *** nya is now known as Guest29264
[04:25:56] <BahamutWC|Work> little out the way
[04:26:14] *** kylezhang has joined #angularjs
[04:26:17] *** Jardayn has quit IRC
[04:26:28] <BahamutWC|Work> ChurchKey is a nice bar, but too small/packed for my tastes
[04:26:29] *** dcherman has quit IRC
[04:26:31] *** Jardayn has joined #angularjs
[04:26:49] <kylezhang> hello, all
[04:27:06] <jaawerth> ycon_: what do you mean "getting json nests?"
[04:27:18] <jaawerth> Ah yeah I like ChurchKey but I see your point
[04:27:20] *** tristanp has joined #angularjs
[04:27:27] *** AwesomePossum has joined #angularjs
[04:27:47] <BahamutWC|Work> other than that, don't remember too much - I remember there being a bunch of nice restaurants around the Eastern Market area, haven't eaten there much
[04:27:52] <jaawerth> You'll be taking the yellow, and I live on the green, so Gallery Place would be a win, and it has lots of great places
[04:28:18] <BahamutWC|Work> can't believe I've been in California for 1 1/2 years already
[04:29:06] <jaawerth> I think I've got a year left in DC (or at least at my current job), then I'm thinking maybe Denver or California
[04:29:13] <ycon_> jaawerth: so it goes [{id:1},{id:14}]. My $http is only returning [object] instead of whats in side. Heres my example http://dpaste.com/2MYPCSV
[04:29:15] *** dcherman has joined #angularjs
[04:29:27] *** icanteven has quit IRC
[04:29:35] *** ctanga has quit IRC
[04:30:04] *** sixr420 has quit IRC
[04:30:12] <AwesomePossum> I am trying to use RouterUI and create a state that contains 3 views using nesting. Is it possible to create an ng-repeat on one of those views and pass in an ID? I have ng-repeat working and repeating the view's template but cannot figure out how to pass in the dynamic ID.
[04:30:18] <grug> ycon_: what has your research on promises left you with?
[04:30:18] <C0nundrum> I pull in data from json. I want to update what has changed in an array and then trigger a animate function. Should i put a variable watch in a directive or should i trigger the animasion my my callback for pulling data in my controller ?
[04:30:19] <jaawerth> ycon_: that's just what happens when you try to log a deeply-nested object in some platforms - more specifically, what happens when you call toString on an object
[04:30:29] <grug> oh you've updated your code
[04:30:34] <grug> wait no you haven't
[04:30:36] <BahamutWC|Work> jaawerth: I'm thinking of moving to Denver at some point
[04:30:41] <BahamutWC|Work> icfantv lives there
[04:30:42] *** smccarthy has joined #angularjs
[04:31:11] *** iraj has quit IRC
[04:31:13] *** fedenunez has joined #angularjs
[04:31:17] <ycon_> grug: yes, updated bit was posted before (http://dpaste.com/1V7E151 )
[04:31:20] <jaawerth> I stayed with a friend there for a week - seemed like a place I'd like. Way less of a workaholic city than DC, which is good because I tend towards being a workaholic
[04:31:35] *** tristanp has joined #angularjs
[04:31:50] <BahamutWC|Work> you know, visiting DC now...it feels a lot more impersonal/business-like than I remembered
[04:32:00] <BahamutWC|Work> maybe California is a little more laid back/open than here
[04:32:00] *** wontoner has quit IRC
[04:32:01] <ycon_> grug: at line 40 is my atempt after some promise research
[04:32:03] <jaawerth> ycon_: what's actually showing up as [object]? the log output? or is it coming in that way on the DOM?
[04:32:06] *** kvnm has joined #angularjs
[04:32:11] <grug> ycon_: what does $http.get() return?
[04:32:14] *** recurrence has joined #angularjs
[04:32:23] <AwesomePossum> If its possible to help, here is a link to the code http://pastebin.com/BbG2aNzw
[04:32:28] <BahamutWC|Work> jaawerth: could do something like Rosa Mexicano
[04:32:28] <jaawerth> BahamutWC|Work: yeah everyone is stressed all the time here, heh
[04:32:30] <ycon_> jaawerth: [Object, Object, Object, Object]
[04:32:44] <BahamutWC|Work> or if you have another idea, I'm open
[04:32:52] *** mdedetrich has joined #angularjs
[04:32:54] <BahamutWC|Work> District of Pi isn't bad from what I remember
[04:33:29] <BahamutWC|Work> kinda funny you mention stressed here...I think the Bay Area might be more stressful than here
[04:33:52] <BahamutWC|Work> DC seems plagued by bureaucracy
[04:34:06] <BahamutWC|Work> but the Bay Area is plagued by incompetant managers holding back engineers
[04:34:44] <ycon_> grug: $http.get() tells me http is not defined. After looking into $http it a bit, I tried this http://dpaste.com/2JRHG85
[04:35:10] <jaawerth> ycon_: again, is that the result of console.log, or showing up on the DOM?
[04:35:28] *** kvnm has quit IRC
[04:35:39] <ycon_> jaawerth: console. To get it to show up in the dom do I need to log error?
[04:35:39] *** salmonz_ has joined #angularjs
[04:35:52] <salmonz_> hi - have a question about angularjs
[04:36:01] *** kvnm has joined #angularjs
[04:36:50] <jaawerth> BahamutWC|Work: yeah, I like Rosa Mexicano a lot - that sounds good
[04:37:08] <BahamutWC|Work> what day/time?
[04:37:17] <salmonz_> how would I make an angularjs site with components that can be deployed independent from the main angularjs site
[04:37:24] <BahamutWC|Work> and to be clear, the Gallery Place/Chinatown one, not the National Harbor one :)
[04:37:30] <jaawerth> ha, yes
[04:37:56] *** lnrdo has joined #angularjs
[04:38:04] <salmonz_> e.g. the top menu bar is part of the main angularjs site, and a dashboard would be part of a second angularjs website
[04:38:08] *** jun_ has quit IRC
[04:38:26] <jaawerth> I'm booked Saturday night, so I could do Friday dinner or Saturday lunch - would probably lean toward Friday dinner since I want to get a long bike ride in
[04:38:38] <jaawerth> (on Saturday)
[04:38:45] <BahamutWC|Work> sure
[04:39:03] <BahamutWC|Work> I'm down for that
[04:39:16] <jaawerth> ycon_: try logging JSON.stringify(result.data). Or are you saying it's the error that you're getting?
[04:39:24] <BahamutWC|Work> what time then?
[04:39:27] *** kylezhang has quit IRC
[04:39:48] <C0nundrum> i'm using ng-repeat but when i modify my awwya in my controller the dom doesn't change
[04:40:08] <ycon_> jaawerth: yep, now I see the console log as the actual json results- but again, within [ ] so it doesnt get to my directives
[04:40:23] *** jr3 has quit IRC
[04:41:11] *** kuadrosx has quit IRC
[04:41:25] <C0nundrum> i'm using track by $index. Does that cause side effects like this ?
[04:41:29] *** venkat_330 has quit IRC
[04:41:47] <jaawerth> BahamutWC|Work: well if we want to catch their happy hour, before 7 - maybe 6-6:30? Failing that, I'd say 7-8, but I'm flexible - I'll probably work from home on Friday
[04:41:55] <BahamutWC|Work> track by avoids destroying the DOM if the tracked expression matches up
[04:42:08] <BahamutWC|Work> track by $index is basically "don't destroy me unless the array shrinks"
[04:42:22] <BahamutWC|Work> I'm fine with whatever - 6 would work fine
[04:42:25] *** lnrdo has quit IRC
[04:42:47] <C0nundrum> ah, yea i'm not changing the array size just the indiviual elements but i need to avoid the dups errors
[04:42:55] <C0nundrum> what should i do ?
[04:43:09] <BahamutWC|Work> you're getting duplicate errors when using track by $index?
[04:43:17] <C0nundrum> no if i don't use it i will
[04:43:29] <BahamutWC|Work> yeah, you should use track by - no reason not do
[04:43:32] <BahamutWC|Work> not to*
[04:43:35] <jaawerth> ycon_: that just means it's in an array
[04:43:44] <C0nundrum> what i'm asking is what should i track
[04:43:46] <BahamutWC|Work> unless you're only using directives that you create that are super optimized away from most of angular
[04:43:58] <BahamutWC|Work> usually you want to track a unique id of sorts
[04:44:08] <BahamutWC|Work> like item in items track by item.id
[04:44:19] <C0nundrum> well its an arrya of numbers
[04:44:20] <BahamutWC|Work> track by $index is a last resort
[04:44:27] <BahamutWC|Work> then I guess track by $index is fine
[04:44:31] *** phrozensilver has joined #angularjs
[04:44:41] <C0nundrum> No its not because if 2 numbers accout twice there will be dup errors
[04:44:45] *** dcherman has quit IRC
[04:44:48] <C0nundrum> occour*
[04:44:56] <ycon_> jaawerth: ya, an array is what I meant. I cant get my js to read objects in the array
[04:45:05] <jaawerth> define "read"
[04:45:10] <BahamutWC|Work> then why not make it an array of objects like {value: 12, idx: index}
[04:45:23] <BahamutWC|Work> a bit of a hackaround, but it'd fix that and you can do track by idx
[04:45:26] *** owenjones has quit IRC
[04:45:28] <BahamutWC|Work> track by item.idx*
[04:45:30] *** beakman has joined #angularjs
[04:45:36] <ycon_> jaawerth: show it as one of my directives (in my html). it does see it (otherwise it wouldnt be in the console lgo)
[04:45:47] *** doppio|Laptop has joined #angularjs
[04:45:53] <jaawerth> do you have the directive somewhere?
[04:46:05] <C0nundrum> idx ?
[04:46:05] <jaawerth> the directive would have to be compatible with the array. or if you want each element to be in the directive, you'd use ng-repeat
[04:46:15] <ycon_> jaawerth: yes <h1>{wardrobes.id}}</h1>
[04:46:20] <C0nundrum> numbers won't have ides ?
[04:46:22] *** Aliks has quit IRC
[04:46:30] <ycon_> jaawerth: and I'm usin gng-repeat
[04:46:51] <BahamutWC|Work> C0nundrum: I'm saying modify your array of numbers for the purpose of populating ng-repeat
[04:47:01] <C0nundrum> What about changing from [Number] to [{val:Number,id:new Date().getTime()] ?
[04:47:06] <jaawerth> ycon_: also, lines 5-7 looks like an error - where is "data" coming from?
[04:47:21] <jaawerth> ycon_: er, lines 6-8
[04:47:24] <C0nundrum> or is there a better hash i can get besides that
[04:47:24] <BahamutWC|Work> for example $scope.numArray = numbers.map(function(number, idx) { return { value: number, idx: idx }; });
[04:47:35] <BahamutWC|Work> that is more expensive
[04:47:44] <BahamutWC|Work> messing with date instances is heavyhanded for this purpose
[04:47:52] <C0nundrum> how should i create an id then ?
[04:47:53] *** beakman has quit IRC
[04:47:59] <BahamutWC|Work> I just gave a solution
[04:48:03] <jaawerth> ycon_: can you gist/pastebin your template/html? or did you already and I missed it?
[04:48:17] *** shoelessone has quit IRC
[04:48:33] *** italoacasas has quit IRC
[04:48:38] <C0nundrum> yea but isn't the id basically the index in your example ?
[04:48:44] *** salmonz_ has quit IRC
[04:48:57] <C0nundrum> changing invidual elements in the number[] will still have them carry the same id
[04:49:00] *** AwesomePossum has left #angularjs
[04:49:01] *** nya has joined #angularjs
[04:49:02] *** sagar has joined #angularjs
[04:49:03] *** Aliks has joined #angularjs
[04:49:26] *** sagar is now known as Guest67276
[04:49:26] *** nya is now known as Guest29193
[04:49:28] <Guest67276> hello
[04:49:36] *** jun_ has joined #angularjs
[04:49:50] <BahamutWC|Work> C0nundrum: sure
[04:49:51] *** Guest29264 has quit IRC
[04:49:52] <ycon_> jaawerth:I took that part out. Hmm seems to be 'seeing' that there are 4 objects to put data into (ie ng repeat working) but the values dont seem to arrive...
[04:50:03] <BahamutWC|Work> nono, the index is guaranteed to be different
[04:50:13] <BahamutWC|Work> and thus the object as a value
[04:50:35] <Guest67276> i need help in image upload in angularjs
[04:50:47] <jaawerth> ycon_: I assume that promise is an angular promise from $http or $q and not something else.. one other possible issue is that you're overwriting the array on the top level from $scope - that will break scope inheritance
[04:51:15] <Guest67276> any buddy can help?
[04:51:26] *** swordfish has joined #angularjs
[04:51:44] <jaawerth> ycon_: you could try doing angular.copy(result.data, $scope.wardrobes) - that will clear $scope.wardrobes and copy over the new elements
[04:52:08] *** EoN has quit IRC
[04:52:38] *** ccohn has joined #angularjs
[04:52:39] *** junmin has joined #angularjs
[04:52:55] *** mac_ified has joined #angularjs
[04:53:10] <BahamutWC|Work> Guest67276: just ask the question
[04:53:21] *** EdwardIII has quit IRC
[04:53:23] *** s3shs_ has joined #angularjs
[04:54:22] *** tristanp has quit IRC
[04:54:56] *** adpirz has joined #angularjs
[04:55:25] *** devPaul has joined #angularjs
[04:55:34] *** EdwardIII has joined #angularjs
[04:56:02] *** inkata has quit IRC
[04:56:06] *** s3shs has quit IRC
[04:56:58] <ycon_> jaawerth: Hmm I just changed my API so it only sends 1 result at a time (ie not an array) and it works
[04:57:13] <xfury> ycon_: You are referencing the array, not the item
[04:57:17] <ycon_> does that rule out what you said before about the scope overidng it?
[04:57:49] <xfury> ycon_: An ng-repeat looks like: ng-repeat="foo in bar", and within the element that has ng-repeat you use "foo" to refer to an item. I think you are referring to the "bar" in the markup you have within your ng-repeat
[04:58:03] *** devPaul_ has joined #angularjs
[04:58:13] *** s3shs_ has quit IRC
[04:58:35] <ycon_> xfury: THAT Was all it was :)
[04:58:35] *** phrozensilver has quit IRC
[04:58:39] <xfury> ycon_: :-D
[04:58:51] *** s3shs has joined #angularjs
[04:58:52] <jaawerth> that's why I wanted to see the ng-repeat :P
[04:59:10] <ycon_> wow I think I like angular :D
[04:59:17] <ycon_> python all my life, day 1 angular
[04:59:18] <xfury> ycon_: Angular is absolutely awesome :-D
[04:59:30] <jaawerth> it will get easier, then harder, then easier, then way harder, then way easier
[04:59:31] <BahamutWC|Work> jaawerth: I'll be wearing a Blind Guardian hoodie (it'll look metal on the back, will be hard to miss me)
[04:59:37] <jaawerth> haha
[04:59:44] <xfury> jaawerth: Yeah that sums it up
[04:59:48] <jaawerth> just run 50 miles and I'll know it's you
[05:00:06] *** adpirz has quit IRC
[05:00:28] <jaawerth> BahamutWC|Work: did you have a time preference/constraints?
[05:00:38] *** devPaul has quit IRC
[05:01:05] *** fedenunez has quit IRC
[05:01:21] <ycon_> ha its never been easier- until right now
[05:01:51] <ycon_> Struggling to get my head around controllers/modules... Its really difficult but I can see it can do awesome stuff
[05:02:18] <BahamutWC|Work> jaawerth: no particular limitations
[05:02:50] <C0nundrum> BahamutWC not working http://plnkr.co/edit/WnIWCOjRZDiRO9yM575r?s=gXYiIqjuokdD4g1E&p=preview
[05:03:34] <jaawerth> alright - we can narrow it down tomorrow - there is ONE thing I want to check on - I'll pm you my contact info though
[05:04:04] <robdubya> oh hai
[05:04:19] <jaawerth> WHO DAT
[05:04:39] <xfury> C0nundrum: Whoa, plunker is live edit now?
[05:05:03] <jaawerth> plnkr's always been live edit
[05:05:07] <jaawerth> or at least as long as I've been using it
[05:05:08] <BahamutWC|Work> k
[05:05:23] <jaawerth> ohh you mean like realtime collaboration.. I DO see that
[05:05:25] *** Aliks has quit IRC
[05:05:27] <jaawerth> nifty
[05:05:43] *** Aliks has joined #angularjs
[05:05:46] <jaawerth> oh wait maybe not.. looks like it just hooks into a slack channel
[05:05:55] <xfury> jaawerth: Yeah i dont think youve been able to watch him type code before :-)
[05:05:57] <xfury> Very cool though
[05:06:30] <xfury> Ohhhhh its a recording. >.< (plunker noob i guess)
[05:06:34] *** recurrence has quit IRC
[05:06:45] <jaawerth> ..you know you've been coding too long when you go to write google.com/contacts and write google.com/concats
[05:06:45] <C0nundrum> is it O.o ?
[05:06:50] <BahamutWC|Work> it's a robdubya sighting!
[05:07:04] <C0nundrum> it says 2 users on but i don't see anything moving or typing
[05:07:30] <xfury> I dunno, maybe I'm crazy. Anyway, C0nundrum what's the problem again?
[05:07:38] <C0nundrum> :o preview i updating now though cool
[05:07:42] <C0nundrum> is*
[05:07:45] <C0nundrum> and it actually working
[05:07:50] <C0nundrum> who fixed it lol
[05:07:55] <xfury> Not me
[05:07:59] <xfury> I just put a comment in there :-)
[05:08:01] *** _matix has joined #angularjs
[05:08:11] <jaawerth> xfury: no, you'rue right. look at the sidebar http://plnkr.co/edit/?p=streamer
[05:08:21] <robdubya> i heard there's a new version of angular
[05:08:22] <xfury> Yeah this is pretty nifty
[05:08:29] <robdubya> you guyz know anything about it?
[05:08:31] <xfury> robdubya: Heck yeah, Angular 2.0 has hit beta
[05:08:32] <robdubya> is it webscale?
[05:08:32] <C0nundrum> :o
[05:08:36] <BahamutWC|Work> C0nundrum: http://plnkr.co/edit/6nQlqoJ7488eHapCFRjI?s=gXYiIqjuokdD4g1E&p=preview
[05:08:39] <C0nundrum> screw angular
[05:08:44] <xfury> lol
[05:08:47] <C0nundrum> 2.0
[05:08:53] *** dszmaj has joined #angularjs
[05:08:59] *** jun_ has quit IRC
[05:08:59] <BahamutWC|Work> I heard it's webscale
[05:09:00] <C0nundrum> the ammount of projects that are now going to be legacy
[05:09:22] <jaawerth> worth it for replacing deprecated concepts and tech
[05:09:29] <jaawerth> dirty checking is so 2009 :D
[05:09:29] <xfury> robdubya: Google's using it at scale already, but most of the angular module ecosystem is still 1.x :-\
[05:09:34] <BahamutWC|Work> I'm excited for ng2
[05:09:55] <BahamutWC|Work> did a talk on UI Bootstrap, good things about it, bad things, and a peak at ng-bootstrap with ng2
[05:09:59] <robdubya> can i use coffeescript?
[05:10:00] <C0nundrum> Yea but i see why people didn't bother with angular they new somthing like this would happen sooner or later and they would have to start over / migrate
[05:10:01] <BahamutWC|Work> did a talk today on*
[05:10:10] <C0nundrum> knew*
[05:10:12] <jaawerth> robdubya: I don't even know you anymore
[05:10:12] <BahamutWC|Work> xfury: robdubya is on the Angular team :P
[05:10:16] <xfury> Me too. I've been using ng-forward in my current developments to do Typescript+Angular 1.x with Angular 2 syntax :-D
[05:10:26] <robdubya> i love you jaawerth
[05:10:28] <jaawerth> hahaha
[05:10:29] <xfury> BahamutWC|Work / robdubya: Ah hahahaha
[05:10:32] <BahamutWC|Work> haha
[05:10:33] <robdubya> never forget
[05:10:33] *** Guest67276 has quit IRC
[05:10:42] <BahamutWC|Work> I should lurk here more
[05:10:46] <xfury> robdubya: Well a damn good job so far, bring me moar
[05:10:48] <xfury> :-D
[05:10:55] *** empyreanx has joined #angularjs
[05:10:57] <jaawerth> I lurk forever but this is the first time I've said something in here in months
[05:11:31] *** empyreanx has quit IRC
[05:11:47] <C0nundrum> ha
[05:12:12] <BahamutWC|Work> I've been dropping by on occasion more recently
[05:12:33] <robdubya> first time ive been here in months
[05:12:40] *** Aliks has quit IRC
[05:13:25] <BahamutWC|Work> grabbing dinner with jaawerth on Friday, meeting more of you crazy online folk :)
[05:13:51] <xfury> C0nundrum: There's nothing wrong with Angular 1.x for existing projects. And you can migrate them to Typescript with ng-forward and then right onto A2 if you have the time and/or manpower, the biggest problem is that you probably want to wait until your third party angular module dependencies have a 2.0 analog
[05:14:13] <xfury> Or you know, the A2 ES5 interfaces if you really want to :-)
[05:14:23] *** mustmodify has left #angularjs
[05:14:39] <BahamutWC|Work> I'm recommending against using ng2 in production currently
[05:15:08] *** jun_ has joined #angularjs
[05:15:17] <BahamutWC|Work> of course some people don't listen :)
[05:15:27] <xfury> BahamutWC|Work: Yeah- its a big day with the A2 beta but your right- don't push A2 to production just yet. In my case, I've got a new application I started in the last few months that has all the time in the world to be cutting edge :-)
[05:15:30] <robdubya> no reason not to start building on it though. especially if you odnt have to ship this month
[05:15:44] <BahamutWC|Work> yeah, if you have a half year until shipping or whatever, not a bad time to get started
[05:15:48] <xfury> robdubya: Exactly!
[05:15:57] <BahamutWC|Work> but...figuring out how to get routing set up is trickier
[05:16:06] <jaawerth> I actually have a frontend thing I need to make and am considering ng2 for it...
[05:16:12] <BahamutWC|Work> figuring out how to get routing set up in a robust fashion*
[05:16:14] <jaawerth> only thing is I want to make it quickly and I've only tinkered with ng2 a little
[05:16:24] *** dszmaj has quit IRC
[05:16:28] *** syzygy_ has quit IRC
[05:16:31] <BahamutWC|Work> IMO I'm still waiting for a good solution for two-way interop with tightly coupled parent/child components
[05:16:45] <BahamutWC|Work> that is literally my only real concern left with ng2
[05:17:19] *** dszmaj has joined #angularjs
[05:17:22] <jaawerth> having used it more than I have, is it as java-ey as ng1?
[05:17:26] *** devPaul_ has quit IRC
[05:17:38] <jaawerth> I mean with the new DI and stuff it seems less so, reliance on classes aside
[05:17:58] *** quakephil has quit IRC
[05:18:37] <BahamutWC|Work> it uses TypeScript
[05:18:45] <jaawerth> I know
[05:18:51] <BahamutWC|Work> so very heavily typed internally
[05:18:59] <jaawerth> I just mean - well, ng1 is very clearly made with java people in mind
[05:19:03] <C0nundrum> BahamutWC|Laptop on that blunker is the prewview just blank for you ?
[05:19:06] <jaawerth> philosophically, at least
[05:19:23] <BahamutWC|Work> C0nundrum: nope, it works perfectly on my machine
[05:19:34] <jaawerth> I like TypeScript but I don't like that it lacks higher-kinded types
[05:19:45] <C0nundrum> browser ?
[05:20:13] <jaawerth> but then, no altjs really has that other htan PureScript
[05:20:13] <BahamutWC|Work> Chrome
[05:20:28] <BahamutWC|Work> meh, TS works perfectly fine for me
[05:20:30] <robdubya> @Its @Definitely @Not @Anything @Like @Jaca
[05:20:34] <jaawerth> hahaha
[05:20:35] <BahamutWC|Work> Jaca haha
[05:20:38] <jaawerth> point made
[05:20:52] *** swordfish has quit IRC
[05:21:01] <BahamutWC|Work> well using the forwardRef stuff is a little java-y :P
[05:21:14] <BahamutWC|Work> there's like 2-3 decorators you have to use for that
[05:21:31] <robdubya> i dont mind the decorators
[05:21:41] <robdubya> i do think people are going to get carried away
[05:21:43] *** n00bdev has quit IRC
[05:21:52] <jaawerth> I don't hate them. I have yet to find a use-case for decorators outside of angular's DI though
[05:22:04] <BahamutWC|Work> I try to use decorators as little as possible (which so far is never unless it's part of a library's API like ng2)
[05:22:05] *** citizen-stig has joined #angularjs
[05:22:06] <jaawerth> at least, a use-case that I actually want/need
[05:22:20] <BahamutWC|Work> you can do stuff like @memoize or @throttle or @debounce
[05:22:34] <BahamutWC|Work> it's nice syntactic sugar
[05:22:34] *** frem has quit IRC
[05:22:43] <BahamutWC|Work> prevents you from having to create all sorts of wrapper functions
[05:22:47] <jaawerth> but what does that really get you over a function that returns a function unless you're using DI?
[05:23:22] <benwaffle> how do i use ngroute and link to / ?
[05:23:28] *** LeBlaaanc has joined #angularjs
[05:23:30] *** swordfish has joined #angularjs
[05:23:37] <BahamutWC|Work> it's cleaner to read
[05:23:39] <benwaffle> this is not in / but in /admin
[05:23:47] <BahamutWC|Work> as I said, syntactic sugar :)
[05:23:48] *** jtimon has quit IRC
[05:23:48] *** johnkevinmbasco has joined #angularjs
[05:24:04] <C0nundrum> BahamutWC|Laptop do you see the animation.css class ?
[05:24:10] <C0nundrum> i mean file
[05:24:12] <BahamutWC|Work> yeah
[05:24:31] <jaawerth> I guess. But you can just memoize and then export it if you only need it in exported fashion. Or re-export the memoized version from another module
[05:24:40] <robdubya> https://github.com/jayphelps/core-decorators.js
[05:24:40] <C0nundrum> been wokring on this all day but no one who had exp with animations was on
[05:25:05] *** Dmitri has joined #angularjs
[05:25:22] <BahamutWC|Work> I'm a little spent unfortunately :( - gave a talk earlier tonight
[05:25:24] <C0nundrum> I want to transform the old number 180 deg on x-axis to show the number underneath
[05:25:30] <BahamutWC|Work> and socialized *gasp*
[05:25:31] <jaawerth> hmm I guess I can see the benefit for class methods
[05:25:34] <jaawerth> thanks robdubya
[05:25:53] <C0nundrum> i tried with ng-repeat animation but since it is adding and and removing elements it messed with then :even css styling
[05:25:56] <robdubya> all the cool kids do it reactively anyway, but there you
[05:25:57] <robdubya> go
[05:26:02] <jaawerth> lol
[05:26:08] <robdubya> @C0nundrum did you make a plunker?
[05:26:09] <C0nundrum> so i decided each element will have 2 spans one with the new number and one with the old
[05:26:26] <C0nundrum> one sec i will edit that to what i have
[05:26:41] *** citizen-stig has quit IRC
[05:27:13] *** kvnm has quit IRC
[05:27:38] *** diegoaguilar has quit IRC
[05:27:45] *** nikol has joined #angularjs
[05:28:49] <jaawerth> robdubya: I don't like building reactivity in unless I know the function is going to be returning a series of values/events/whatever. I'd rather stick to values and have them use observables as needed
[05:29:18] *** kvnm has joined #angularjs
[05:30:04] <robdubya> boring
[05:30:06] *** Dmitri has quit IRC
[05:30:23] <jaawerth> rob "the world looks like a nail" dubya
[05:30:39] *** ccohn has quit IRC
[05:31:02] <BahamutWC|Work> drive you like a hammer on a bed of nails
[05:31:15] *** Slizz3r has joined #angularjs
[05:31:20] *** recurrence has joined #angularjs
[05:31:37] <C0nundrum> getting it up to date with what i have
[05:31:37] <robdubya> http://www.flatmapthatshit.com/
[05:32:27] <jaawerth> lol
[05:32:32] *** swordfish has quit IRC
[05:32:33] <C0nundrum> ok its updated
[05:32:47] <BahamutWC|Work> haha
[05:32:49] *** swordfish has joined #angularjs
[05:33:08] <BahamutWC|Work> btw I got a taste of what federal government code looks like today...and it's not pretty
[05:33:19] <jaawerth> I just write my own functors :P
[05:33:28] <C0nundrum> so i want to change innerhtml of .back to the new number, applay .active to .front when it changes ( that will make it flip) when flip animation is done set .front to the new number so its seemless
[05:33:40] *** Oleander has quit IRC
[05:34:04] <BahamutWC|Work> a guy at the meetup tonight had me help him debug some frontend code for him before my talk...had to wade through some JSP only to find out it was a CSS problem
[05:34:15] <jaawerth> oh god
[05:34:18] *** Oleander has joined #angularjs
[05:34:22] *** mary5030 has joined #angularjs
[05:34:28] <BahamutWC|Work> yep, it exists!
[05:34:29] <dodobrain> uh, stone age code using jsp
[05:34:36] <BahamutWC|Work> it was JSP with angular!
[05:34:46] <dodobrain> woah, hold it right there!
[05:34:49] <jaawerth> as soon as I heard "jsp + angular" I woulda been all NOPE NOPE NOPE
[05:34:51] <C0nundrum> ew
[05:34:58] *** jun_ has quit IRC
[05:35:09] <BahamutWC|Work> thankfully it was super easy to figure out what happened...but I was scared going into it
[05:35:11] <jaawerth> a contractor built angular code for us that way.. before I was hired at my company or I would have screamed bloody murder
[05:35:15] *** Slizz3r has quit IRC
[05:35:22] <BahamutWC|Work> the government contractor had no idea how to figure it out
[05:35:25] *** skcin7 has quit IRC
[05:35:29] <C0nundrum> would i do the animation in my controller BahamutWC ? or listen for changes to the html in my directive ?
[05:35:33] <BahamutWC|Work> at least, I think he's a government contractor
[05:35:36] <C0nundrum> trying to get kinda like this http://codepen.io/sbuckpesch/pen/oXrdpm
[05:35:48] <BahamutWC|Work> C0nundrum: for the animation, you just need the right CSS I think
[05:36:23] <C0nundrum> well i have a basic flip
[05:36:29] <C0nundrum> .active class applied to .front class
[05:36:37] <C0nundrum> i'm trying to figure out how to do the angular part now
[05:36:45] <C0nundrum> for updating applying css and then updating both
[05:37:10] *** recurrence has quit IRC
[05:37:15] <BahamutWC|Work> ngAnimate is an arcane magic
[05:37:24] *** ome has quit IRC
[05:37:33] <C0nundrum> ngAnimate is evil. I've been working on it and failing all day
[05:37:40] <jaawerth> it's not that nuts.. it just sets all these transition classes that you need to use as hooks for your CSS transitions/animations
[05:37:49] <jaawerth> using the non-CSS versions is more complex though
[05:37:50] <BahamutWC|Work> tell me about it - I have to fix ngAnimate issues in UI Bootstrap quite a bit
[05:37:52] <C0nundrum> oringinally i was using the built in array animation but that doesn't play well with :(odd) css selector
[05:38:06] <C0nundrum> it makes the squares change colors every update
[05:38:07] <BahamutWC|Work> and I've reported some ngAnimate issues as a result too
[05:38:16] <C0nundrum> so thats why i changed to doing it this way
[05:38:21] <BahamutWC|Work> came across a weird regression in 1.4+ where ngAnimate assumes your transition is linear
[05:38:26] *** Oleander has quit IRC
[05:38:29] <jaawerth> oh weird
[05:38:32] <C0nundrum> yea that are bugs in 1.4.7
[05:38:34] <BahamutWC|Work> even if your style defines it as ease or whatever
[05:38:46] <C0nundrum> i had to udpate to new version becasue some callbacks didn't fire
[05:38:47] <C0nundrum> x.x
[05:38:55] *** lnrdo has joined #angularjs
[05:38:55] <BahamutWC|Work> tried a PR to fix it but it was more tricky than I thought because there was a perf test against how many times getComputedStyle is called
[05:38:56] *** mrbignum has joined #angularjs
[05:39:28] *** vlvx has left #angularjs
[05:39:35] <C0nundrum> hm
[05:39:41] *** swordfish has quit IRC
[05:39:48] <mrbignum> Could be worth start learn angular from version 1.2 and so on?
[05:40:10] <BahamutWC|Work> mrbignum: just learn 1.5
[05:40:25] *** Hodor has joined #angularjs
[05:40:30] <Hodor> hi
[05:40:33] <BahamutWC|Work> or if you have time, there are big opportunities with ng2 that should open up over the next half year to year
[05:40:34] <C0nundrum> Whats the point if your now starting conseidering nearly everything is different in angular 2.0
[05:40:44] <BahamutWC|Work> you're supposed to say Hodor Hodor
[05:40:49] <Hodor> lol
[05:40:53] <mrbignum> I started the egghead course and they use 1.2. Basic things are different to 1.5
[05:40:57] <C0nundrum> better off learning a more stable framework or waiting for 2.0
[05:41:15] *** robdubya has quit IRC
[05:41:17] <jaawerth> Angular 2 is still beta and 1.x will still be supported for a year after 2.0 hits
[05:41:33] <BahamutWC|Work> ng1 will be around for a while I think, at least 2 years I think
[05:41:34] <mrbignum> yeah, the beta version 2.0 was released yesterday, right?
[05:41:39] *** kvnm has quit IRC
[05:41:43] <BahamutWC|Work> yep, expect at least another half year for beta
[05:42:07] *** jmitchell has joined #angularjs
[05:42:18] <jaawerth> I mean if I were starting now I'd probably start with 2.0 but I like bleeding edge things
[05:42:26] <jaawerth> 2.x I should say
[05:42:29] <C0nundrum> So yea BahamutWC how should do this?
[05:42:36] <C0nundrum> shoild i do this*
[05:42:42] <jaawerth> right now I'm learning ClojureScript + om
[05:42:59] <Hodor> I have a question - Is there a GitHub rep or some place where I can see the suggested organizational file structure for a full stack app?
[05:43:09] *** buzzedword has joined #angularjs
[05:43:10] *** robdubya has joined #angularjs
[05:43:13] <dodobrain> wait angular 1.x will be supported for only 1 year after 2 is released?
[05:43:24] <Hodor> containing Angular2, nodejs+express
[05:43:32] *** lnrdo has quit IRC
[05:43:37] <jaawerth> dodobrain: that is from my unreliable memory so...
[05:44:04] <jaawerth> Hodor: "fullstack" is really a useless distinction
[05:44:05] <dodobrain> its a bit short imho, should be about 1.5 years atleast
[05:44:22] <jaawerth> well, 2 won't actually be out of beta for quite a while
[05:44:33] <jaawerth> I'd say the 1 year is low though - I'm sure it will end up being 1.5-2 in practice
[05:45:37] <jaawerth> Hodor: I mean, there's no officially recommended server component to use with angular, and angular itself is meant for single page apps that call home using a REST API so how much you integrate it with the server depends on what server you're using and how much code-sharing you want
[05:45:43] <Hodor> i see, but can you suggest a link/repo that outlines a best practices back and front-end file structure?
[05:45:47] *** ron_frown has quit IRC
[05:45:53] <jaawerth> yeah one sec
[05:46:09] *** macabre has quit IRC
[05:46:10] <robdubya> @C0nundrum did you say you were using animate.css?
[05:46:17] <Hodor> im kinda getting what you mean yea
[05:46:23] *** LabCoatNomad_ has quit IRC
[05:46:23] *** _emps has joined #angularjs
[05:46:33] *** Drewery has joined #angularjs
[05:46:47] <C0nundrum> Well i think i HAVE to use the service as the automated animations will mess up with the css styling i have on odd rows
[05:46:49] <mrbignum> jaawerth Consider this: I have a business that I need migrate more fast as possible to angular. I have no time and no money to spend. You think it's worth start with 2.0 (consider the resources I have) or could be worth learn 1.x first, to understand the concepts first and after migrate to 2.0
[05:46:51] <mrbignum> ?
[05:46:53] <BahamutWC|Work> Hodor: ng2 is still a WIP - best practices are thin
[05:46:53] *** mven has joined #angularjs
[05:47:10] <BahamutWC|Work> keep your component code thin, and services fat is my recommendation
[05:47:14] <Hodor> @BahamuWC - noted mate
[05:47:15] <jaawerth> Hodor: so, this has some stuff you can ignore in it (like using closure compiler), but there's a link to google's official recommended app structure here https://google.github.io/styleguide/angularjs-google-style.html and I'd recommend these two popular style guides for your perusal https://github.com/johnpapa/angular-styleguide and https://github.com/toddmotto/angularjs-styleguide
[05:47:17] <C0nundrum> something like if value change apply .active then on animation complete update both spans to new value
[05:47:25] *** jun_ has joined #angularjs
[05:47:40] *** buzzedword has quit IRC
[05:47:51] <Hodor> ill check it out
[05:48:06] *** adpirz has joined #angularjs
[05:48:10] *** shoelessone has joined #angularjs
[05:48:11] <robdubya> C0nundrum i mean the animate.css lib - or are you wriiting your own css transition stuff
[05:48:27] <C0nundrum> o yea the css is already in the plunker
[05:48:41] *** emps has quit IRC
[05:48:49] <robdubya> i think i missed the link
[05:48:51] <robdubya> relink it
[05:48:52] <jaawerth> mrbignum: robdubya or BahamutWC|Work would probably be better to ask that since they've used ng2 more than I have. learning and migrating to any version of angular on the fly is probably not something you'll be able to do quickly without mistakes though
[05:48:56] <C0nundrum> http://plnkr.co/edit/KflUWDIEVDqNIpdcEqff?s=gXYiIqjuokdD4g1E&p=streamer'
[05:49:08] <C0nundrum> animation .css from line 25 ?
[05:49:09] <Hodor> thanks for your answers guys
[05:49:11] <jaawerth> unless you've got people onboard who are good with it
[05:49:12] <BahamutWC|Work> robdubya used it far more than I have :)
[05:49:14] <robdubya> hodor
[05:49:18] <dodobrain> C0nundrum, i think you misunderstood the question. he wasn't asking if you have an animation.css, he was asking if you are *using* animate.css (a library)
[05:49:40] <C0nundrum> I'm using ngAnimate if thats what you mean ?
[05:49:52] <mrbignum> jaawerth: thanks.
[05:49:53] <BahamutWC|Work> also try to keep your module structure as flat as possible (a little nesting is fine, just try to avoid going overboard on it)
[05:50:00] <C0nundrum> other than that not using anything else
[05:50:01] <robdubya> its not. but that's fine. looking at the plunker now
[05:50:11] <mrbignum> robdubya: Consider this: I have a business that I need migrate more fast as possible to angular. I have no time and no money to spend. You think it's worth start with 2.0 (consider the resources I have) or could be worth learn 1.x first, to understand the concepts first and after migrate to 2.0?
[05:50:26] <robdubya> C0nundrum was talking about this https://daneden.github.io/animate.css/
[05:50:56] <robdubya> personally i'd write ES6/Typescript and use NG1
[05:51:08] <robdubya> mostly because of the "no time" constraint
[05:51:18] *** Drewery has quit IRC
[05:51:41] <jaawerth> I forget there's even a non-ES6 option at this point
[05:51:42] <mrbignum> this reply is for me?
[05:51:47] <C0nundrum> Nope didn't even know about that :o but i don't think it has the animation i want ?
[05:51:55] *** jun_ has quit IRC
[05:51:56] <jaawerth> "wait you mean there are people who don't precompile their code?"
[05:52:05] <BahamutWC|Work> lol
[05:52:22] <BahamutWC|Work> well...a lot of people use ng1 with just plain old ES5
[05:52:26] <robdubya> mrbignum yes. if you have "NO TIME" - use ng1
[05:52:40] <jaawerth> take babel away from me and I'll just use TypeScript. take TypeScripta way from me and I'll just use SweetJS
[05:52:42] <robdubya> C0nundrum so you want to build a flip clock thing
[05:52:49] <jaawerth> (I might use SweetJS anyway)
[05:52:54] <BahamutWC|Work> SweetJS?
[05:53:01] <jaawerth> hygienic macros :D
[05:53:41] <C0nundrum> well i'm fine with just transform-origin: top left;transform: rotateX(180deg); for now
[05:53:48] <dodobrain> too much sweet is not good for you!
[05:53:50] * dodobrain hides
[05:54:00] <C0nundrum> with an opacity fai
[05:54:04] <C0nundrum> fade*
[05:54:24] <mrbignum> robdubya: thanks. About ng1, I started to learn with egghead.io and i realized they use 1.2. But basic things are different than 1.4 and so on. What do you think? Start with 1.2 and learn the differences after?
[05:54:28] <jaawerth> BahamutWC|Work: you can use it to do anything from re-implementing ES6 syntax to writing your own DSL or altjs
[05:54:30] <C0nundrum> which is what i think i wrote when .active is applied to span.front
[05:54:31] <robdubya> no - use 1.4
[05:54:36] <BahamutWC|Work> huh
[05:54:57] <BahamutWC|Work> I think there's little reason to not use ES6 or TypeScript at this point, unless you fucked up with architecture choices
[05:55:10] <jaawerth> honestly s/ES6/esnext/
[05:55:32] <jaawerth> I'm accustomed to ES6 but I've already started sliding into a few ES7 features
[05:55:41] *** Oleander has joined #angularjs
[05:55:53] <BahamutWC|Work> I want Array.prototype.includes bad from the ES7 proposals
[05:56:06] <jaawerth> es7-shim has that I think
[05:56:12] <BahamutWC|Work> instead of stupid foo.indexOf(bar) !== -1 checks
[05:56:28] <mrbignum> robdubya thanks. Last question, as a padawan, where do you indicate for me study? Angular docs ?
[05:56:38] <BahamutWC|Work> it's not even hard to implement under the hood and gives obvious wins
[05:56:40] <jaawerth> don't even need to compile for that since it's just a prototype method
[05:56:49] *** speeddragon has joined #angularjs
[05:56:55] <robdubya> mrbignum i'd just start writing code, frankly
[05:57:10] <BahamutWC|Work> write code, look up docs when you're stuck
[05:57:24] <jaawerth> I also use the bind operator and aync/await
[05:57:39] <BahamutWC|Work> I personally don't care much for async await
[05:57:44] <jaawerth> I don't use it heavily
[05:57:51] <mrbignum> robdubya and BahamutWC|Work Thanks a lot. I will do that.
[05:57:51] <BahamutWC|Work> like I get it...but it's meh to me
[05:57:53] <jaawerth> just when it will make my life easier - sometimes .then still makes more sense
[05:58:05] *** adpirz has quit IRC
[05:58:16] <C0nundrum> should i just put a watch in the li directive ?
[05:58:25] <BahamutWC|Work> instead of async/await, they should just try to implement futures IMO
[05:58:38] <C0nundrum> on the innerHtml of span.front ?
[05:58:39] <jaawerth> a promise is a kind of future
[05:58:40] <xfury> BahamutWC|Work: How do futures differ from promises might I ask?
[05:58:46] <jaawerth> they're still monads and have the same limitations
[05:58:48] <BahamutWC|Work> sure, but you can't unwrap a promise
[05:59:20] <xfury> BahamutWC|Work: Yeah but how is await fooPromise different than unwrapping fooPromise ?
[05:59:27] <BahamutWC|Work> like I'd like to do let user = getUsers().toValue()
[05:59:32] <jaawerth> you can't really "unwrap" anything async unless you fake blocking like in async/await or coroutines
[05:59:32] <robdubya> man i have totally forgotten how to write ng1
[05:59:46] <xfury> Good point I suppose, would be cool to do it without introducing new syntaxd
[05:59:49] <BahamutWC|Work> haha
[06:00:01] <jaawerth> there'd be no way to do getUsers().toValue() without blocking
[06:00:12] <jaawerth> or fake blocking - which brings you back to async/await
[06:00:19] <xfury> robdubya: haha just in my last week or so of A2 style ng-forward dev I was loathing writing production A1 apps at work
[06:00:54] <BahamutWC|Work> I still live largely in the ng1 world
[06:01:06] <BahamutWC|Work> it's whatever, I know how to operate, get the job done
[06:01:07] <jaawerth> I wrote my own coroutine/spawn method just to make sure I knew how it all worked
[06:01:13] <dodobrain> i only had a very very cursory look at ng2, is it soo good that i will want to dump ng1 to the trashbin?
[06:01:16] <BahamutWC|Work> ng2 stuff though...fun to experiment
[06:01:32] <BahamutWC|Work> ng2 is very solid
[06:01:36] <dodobrain> from what i remember seeing, it felt like ng2 has *nothing* to do with ng1
[06:01:38] *** speeddragon has quit IRC
[06:01:49] <BahamutWC|Work> ng2 is a lot more like react, except it provides a lot more
[06:02:09] <jaawerth> yeah it learned from a lot of hte frameworks that, IMO, surpassed ng1
[06:02:14] <BahamutWC|Work> DI, super optimized components (can be 2x or more faster than React)
[06:02:21] <xfury> dodobrain: Angular 1.x is still as awesome as before, but A2 is much faster and has a much more straightforward model with components versus directives/controllers, and services are much simplified over A1
[06:02:21] <jaawerth> it's also more FP-friendly
[06:02:34] <BahamutWC|Work> has web worker support off the bat
[06:02:35] *** venkat_330 has joined #angularjs
[06:02:36] <jaawerth> (which is important to me since I now find mutable state distasteful)
[06:02:38] <xfury> Although I'm _still_ wrapping my head around the multi-injection bits
[06:02:42] <BahamutWC|Work> observable based http service
[06:03:01] <BahamutWC|Work> leverages web components, especially shadow dom]
[06:03:04] <jaawerth> that I'm not sure I agree with
[06:03:25] <xfury> jaawerth: Observables or web components/shadow dom?
[06:03:33] <jaawerth> http defaulting to observables
[06:03:42] <BahamutWC|Work> it uses rxjs under the hood all over - observables for http is for several reasons - promises are weak on some important http features
[06:03:52] <BahamutWC|Work> namely progress notification, aborting requests, retries
[06:03:54] <jaawerth> promises are the async analog to values. observables are the async analog to iterators
[06:04:25] <jaawerth> as in - I don't see the value in defaulting an operation that returns one async value to observables when you can always wrap it in an observable if you need the observable methods
[06:04:26] <xfury> jaawerth: Well, wouldnt the async analog to iterators be ES6 generators?
[06:04:35] <jaawerth> no, ES6 generators produce iterators
[06:04:50] <jaawerth> in ES7, there will (probably) be async generators that produce observables
[06:05:15] <dodobrain> man.. i remember js being simple
[06:05:30] <BahamutWC|Work> it's growing up :)
[06:05:48] <dodobrain> i feel like a grandpa now
[06:06:02] <jaawerth> xfury: iterators being what you get when you call someArray[Symbol.iterator]() or someArray.values() if it's available in your engine.. or when you invoke a generator ;-)
[06:06:03] <BahamutWC|Work> I've only been a dev for 3 years so *shrug*
[06:06:04] <xfury> Yeah I'll agree on growing up. JS from 5 years ago might be easy to start with, but also really really easy to shoot yourself in the foot. Today things are markedly improved :-)
[06:06:12] <gambl0re> when i check my version of nodejs in ubuntu i get v0.10.25...is that the latest version?
[06:06:13] <xfury> jaawerth: Yeah, suppose your right
[06:07:00] <xfury> gambl0re: That's what my ubuntu box here is saying and there's no updates but I'm not on latest ubuntu release
[06:07:08] <xfury> gambl0re: Oh sorry, 10.0.37
[06:07:19] <xfury> Reversing some version fields to the right places (ie 0.10.37)
[06:07:25] <jaawerth> I love iterators and generators and use them pretty heavily for lazy evaluation stuff (often via transducers)
[06:07:41] <C0nundrum> anyone :( ?
[06:07:48] <gambl0re> why does nodejs site say current release is v4.2.3
[06:08:01] <xfury> jaawerth: Soooo looking forward to using these in my shiny new ES6/TS apps
[06:08:09] <BahamutWC|Work> gambl0re: node is up to 5.2.0 now
[06:08:18] <jaawerth> hehe
[06:08:27] *** Hodor has quit IRC
[06:08:34] <BahamutWC|Work> io.js became the newer Node.js
[06:08:43] <gambl0re> how is my version 0.10.25?.....
[06:08:50] <jaawerth> because you haven't updated?
[06:08:50] <dodobrain> gambl0re, you're in the wrong channel. ask in #node.js , also sto pusing that crappy system provided node version. start using nvm to install and manage node versions
[06:09:05] <BahamutWC|Work> <3 nvm
[06:09:05] <jaawerth> ohh that would explain it
[06:09:10] <dodobrain> gambl0re, cos ubuntu peeps haven't got around to building packages for you
[06:09:21] <xfury> They never build us packages >:(
[06:09:21] <jaawerth> APT is terrible for node
[06:09:22] <robdubya> C0nundrum http://plnkr.co/edit/TGtovV7ouLA9Z21bxt4B?p=preview
[06:09:23] <jaawerth> (for a lot of reasons)
[06:09:27] <robdubya> just an idea :D
[06:09:28] <BahamutWC|Work> he probably is doing sudo apt-get install nodejs
[06:09:33] <BahamutWC|Work> which is absolutely the wrong way to do it
[06:09:33] <dodobrain> jaawerth, *any* package manager is bad
[06:09:38] <gambl0re> i should use nvm install np?
[06:09:41] <gambl0re> npm?
[06:09:45] <jaawerth> yeah
[06:09:48] <jaawerth> any OS one anyway
[06:09:51] *** fission6 has joined #angularjs
[06:10:04] <jaawerth> at least, all the ones I've seen
[06:10:10] <dodobrain> gambl0re, the nvm github page clearly sayst what you have to do
[06:10:18] <BahamutWC|Work> https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
[06:10:23] <dodobrain> and no, you do *not* install npm separately. it is bundled with node now
[06:10:25] <jaawerth> I THINK there's a decent PPA out there but I don't see the point - nvm is best
[06:10:30] *** yes`r has quit IRC
[06:10:48] <robdubya> jaawerth https://github.com/angular/angular/issues/5876#issuecomment-164974466 re: http observbales
[06:11:45] <jaawerth> robdubya: cancelability (lol) and reusability to me say "Task"
[06:11:59] *** s3shs has quit IRC
[06:12:05] <robdubya> oh is there an ES7 proposal for Task i missed?
[06:12:10] <C0nundrum> hm
[06:12:29] <jaawerth> robdubya: no, there isn't - if you want to just pick from proposed ES features, then yeah, observables for sure
[06:12:37] <robdubya> ;-)
[06:12:38] *** suvdeep has joined #angularjs
[06:12:39] *** buzzedword has joined #angularjs
[06:12:49] <C0nundrum> Thanks, robdubya I will start off of that
[06:12:54] <xfury> If I might ask, why didn't we just extend promises to have these capabilities?
[06:13:02] <xfury> I mean I'm fine with generators, whatever but
[06:13:05] <BahamutWC|Work> how would you extend it xfury?
[06:13:13] <robdubya> because that breaks literally everything about promises that makes promises promises
[06:13:15] <jaawerth> robdubya: but I don't think proposed native observables are really cancelable either - disposable with no values, sure
[06:13:15] <BahamutWC|Work> there were attempts at promise.notify, but it felt very awkward
[06:13:37] <robdubya> @jaawerth they are - its a generic mechanism
[06:13:49] <jaawerth> promises were really only ever meant to represent future values
[06:13:50] <robdubya> this is part of why we don't use fetch - its worse than XHR in that sense
[06:14:14] <jaawerth> the problem is that it's tempting to try to use promises for control flow
[06:14:37] <robdubya> the nice thing is they play nicely with each other
[06:14:39] <jaawerth> in other words - it's good that they have such a simple API, the problem is that as a native/common thing they came out too far in advance of their control flow brethren
[06:14:47] <jaawerth> and yeah, they play very well together
[06:15:18] <BahamutWC|Work> fetch is more limited feature-wise than XHR
[06:15:21] <xfury> Yes promises should be single value, resolvable once, with a defined state etc and etc and all that, but generators are much more tailored for multi-value responses so it seems interesting that making a more rich single-value future-like object didnt go anywhere? I guess its just that observables encompassed all that behavior anyway so it was easier?
[06:15:25] <BahamutWC|Work> although XHR's signature is ugly
[06:15:34] *** mrbignum has quit IRC
[06:15:41] <jaawerth> generators and iterators are, btw, actually 100% synchronous. just.. "lazy", and there's a neat trick that allows you to use them to unwrap promises, because they let you "fake" blocking
[06:16:03] *** johnkevinmbasco has quit IRC
[06:16:20] <robdubya> value | promise || array | observable
[06:16:21] <jaawerth> xfury: it did - that's observables, they just didn't make it into ES6
[06:16:23] <xfury> Erm actually in retrospect my last comment is fairly broken. It just seems like there could be a more direct way to a flexible promise type
[06:16:34] <robdubya> or more accurately
[06:16:38] *** mary5030 has quit IRC
[06:16:48] <jaawerth> values ---> lists, promises ---> observables
[06:16:52] <robdubya> value | promise || iterable | observable
[06:16:54] <xfury> Gotcha
[06:17:08] *** buzzedword has quit IRC
[06:17:23] <robdubya> also its trivial to turn an observable into a promise - not so much the other direction
[06:17:48] <jaawerth> still pretty trivial
[06:17:51] <robdubya> re ng2 http, fetch is a thing, so we reckon you can use fetch if you desire. we want something more robust
[06:17:53] *** buzzedword has joined #angularjs
[06:18:15] <xfury> Interesting. Out of all the ESnext stuff going on, I've delved into observables the least. Will have to get to know them more coming up here
[06:18:20] <jaawerth> I know all the arguments, I just still find it weird on account of http requests giving you a single async result
[06:18:56] <robdubya> have you read the data dev threads? its funny to have the same argument, except now i'm on the other side of the table, haha
[06:19:09] <robdubya> flying my ass around the world pimping observables after arguing against them
[06:19:12] <jaawerth> maybe I'll feel differently once I've used it more
[06:19:23] <xfury> lol
[06:19:30] <xfury> Pimp those observables
[06:19:39] <jaawerth> robdubya: wait are you now traveling for angular stuff now?
[06:19:45] <jaawerth> cause that sounds awesome
[06:19:51] <jaawerth> also redundant
[06:19:52] <jaawerth> because me
[06:20:01] <robdubya> http://www.roblog.io/angular2/talks/2015/11/29/angular2-data-talks.html
[06:20:13] <jaawerth> nice
[06:20:14] <robdubya> (litreally the only post on my blog)
[06:20:22] <jaawerth> that's like the most robdubya job ever
[06:20:24] *** jmitchell has quit IRC
[06:21:03] <robdubya> i know right
[06:21:12] <robdubya> http://plnkr.co/edit/SelQZh?p=preview
[06:21:33] *** kvnm has joined #angularjs
[06:21:35] *** krusty_ar has quit IRC
[06:21:40] <jaawerth> heh, fun
[06:21:46] <jaawerth> okay I should go to bed. I am on the east coast
[06:21:57] <jaawerth> but I'ma fork that and mess with it later
[06:21:58] *** _matix has quit IRC
[06:22:01] <xfury> Sweet, I've got evening dev video entertainment now
[06:22:14] *** buzzedword has quit IRC
[06:22:21] <dodobrain> xfury, what are you watching?
[06:22:44] <xfury> dodobrain: Going to watch robdubya's AngularConnect and Oredev videos from his blog post
[06:22:49] <jaawerth> robdubya: also I'll watch the talk. or at least your part of it
[06:23:31] <robdubya> https://github.com/robwormald/aim demo app from the 2nd (well, the first, as well, but i demo it in the 2nd)
[06:24:37] <robdubya> this though, is my fav thing about observables
[06:24:37] <robdubya> https://github.com/ngrx/store/blob/master/spec/store_spec.ts#L45-L67
[06:25:11] <BahamutWC|Work> you are in love with the marble tests
[06:25:19] <robdubya> they are fuckin dope
[06:25:20] *** Agesadas has joined #angularjs
[06:25:58] *** Agesadas has left #angularjs
[06:27:25] *** swordfish has joined #angularjs
[06:27:45] *** rr has joined #angularjs
[06:27:50] <dodobrain> woah, what is that ? i don;t even understand that test..
[06:28:03] <rr> wow
[06:28:16] <jaawerth> robdubya: I like them too! I just also like the symmetry of values, lists, promises, iterators, and observables
[06:28:28] *** rr has quit IRC
[06:28:42] *** moei has quit IRC
[06:29:02] *** Ozd has joined #angularjs
[06:29:06] <robdubya> first line describes the "flow"
[06:29:18] <robdubya> each character is 10ms (virtually)
[06:29:24] <BahamutWC|Work> lol people's brains are blown
[06:29:48] <robdubya> so --a--b--c--d--e is wait wait a wait wait b etc
[06:30:04] <robdubya> next line maps those to values
[06:30:16] <BahamutWC|Work> the i-v threw me off for a sec
[06:30:26] <robdubya> (initial)
[06:30:29] <BahamutWC|Work> but it's just i in initial value
[06:30:29] *** c00ljs has quit IRC
[06:30:30] <BahamutWC|Work> yeah
[06:31:13] *** kvnm has quit IRC
[06:31:32] *** MrBaboon has joined #angularjs
[06:31:33] <BahamutWC|Work> where is hot from?
[06:31:36] <jaawerth> I'll bookmark it - I need sleeps
[06:31:40] *** moei has joined #angularjs
[06:31:43] *** sbellina has quit IRC
[06:31:46] *** swordfish has quit IRC
[06:31:59] <jaawerth> night!
[06:32:05] <robdubya> comes from the helper lib for rx
[06:32:08] <xfury> jaawerth: Night and cheers!
[06:32:08] <dodobrain> night jaawerth
[06:32:11] <BahamutWC|Work> oh
[06:32:15] <BahamutWC|Work> is it a global?
[06:32:21] <robdubya> its easier to understand with the map spec in Rx https://github.com/ReactiveX/RxJS/blob/master/spec/operators/map-spec.js#L10-L20
[06:32:35] <robdubya> yeah, its like "it" or "expect"
[06:32:52] <BahamutWC|Work> it only shows up in testing environments?
[06:33:06] <robdubya> yea
[06:33:12] <robdubya> its a test helper
[06:33:15] *** greatdex has quit IRC
[06:33:48] <robdubya> https://github.com/ngrx/store/blob/master/spec/helpers/marble-testing.ts#L3-L15
[06:34:01] <BahamutWC|Work> who created ngrx?
[06:34:06] <robdubya> me
[06:34:17] <BahamutWC|Work> ha
[06:34:23] <BahamutWC|Work> need contributors?
[06:34:27] <BahamutWC|Work> I could use learning rx
[06:34:40] *** illume has joined #angularjs
[06:34:42] <robdubya> sure. the idea of that org is to build a suite of reactive stuff for ng2
[06:34:51] <BahamutWC|Work> figured, looking at these tests
[06:34:57] <BahamutWC|Work> and of course the description
[06:34:57] <robdubya> that one is "redux"
[06:35:07] <robdubya> also want to do a restful type lib
[06:35:09] <robdubya> a socket one
[06:35:13] <BahamutWC|Work> oo
[06:35:19] <BahamutWC|Work> would be very useful with universal
[06:35:20] <robdubya> just a suite of useful stuff
[06:35:49] <robdubya> yeah - the idea of that redux is exactly for universal, to allow hydration (hence the initial value test)
[06:35:55] *** tomfriedhof has joined #angularjs
[06:36:04] *** fotoflo has joined #angularjs
[06:36:23] <BahamutWC|Work> I have to sleep now (damn you east coast time), but perhaps we can talk tomorrow
[06:37:18] <robdubya> cool
[06:39:00] <dodobrain> umm.. i feel like i'm lagging behind in the times..
[06:39:24] <robdubya> this is pretty bleeding edge, to be fair :D
[06:39:30] *** lnrdo has joined #angularjs
[06:39:38] <dodobrain> are there *good* learning resources for all the new fangled stuff?
[06:39:55] *** Arpit_ has joined #angularjs
[06:39:57] <Arpit_> Hi
[06:40:07] <BahamutWC|Work> dodobrain: source code :)
[06:40:20] <dodobrain> i vaguely knew about observables.. but i'm not able to understand these bits of code you have pasted links to
[06:40:43] <BahamutWC|Work> for example, I spent 3 hours yesterday putting together a (probably flawed) PR implementing less compilation for angular-cli without having used it beforehand
[06:40:54] <dodobrain> BahamutWC|Work, i'd wager that the problem is not fully understanding the concept(s)
[06:41:27] <BahamutWC|Work> almost nobody does :)
[06:41:28] *** xtreamwayz has quit IRC
[06:41:33] <dodobrain> what!
[06:41:35] *** drej has quit IRC
[06:41:36] <BahamutWC|Work> you experiment, and learn that way
[06:41:42] <dodobrain> thats a bad state to be in..
[06:41:45] *** adpirz has joined #angularjs
[06:42:06] <BahamutWC|Work> that's bleeding edge for ya
[06:42:30] <dodobrain> yes and some *good people* need to document their experiments/findings
[06:42:35] <Arpit_> please send me url of basic examples of angular js
[06:43:00] <dodobrain> Arpit_, just search for 'angular tutorial' on google and there will be heaps of them
[06:43:10] <dodobrain> i think codeschool has some videos
[06:43:46] *** lnrdo has quit IRC
[06:45:25] *** geoid has quit IRC
[06:45:38] *** crewshin has quit IRC
[06:46:02] *** k1ng440 has joined #angularjs
[06:46:03] *** k1ng440 has joined #angularjs
[06:46:04] <gambl0re> what is the best way to install nodejs?
[06:46:13] <gambl0re> and npm
[06:46:55] *** sbellina has joined #angularjs
[06:46:57] *** phrozensilver has joined #angularjs
[06:47:54] *** waspinator_ has quit IRC
[06:47:54] *** BackEndCoder has quit IRC
[06:47:54] *** jcool has quit IRC
[06:48:39] *** fly_boyz has quit IRC
[06:48:47] *** juddey has quit IRC
[06:48:50] <dodobrain> gambl0re, we've already told you 'nvm' and this is the angularjs channel!
[06:48:59] *** Venkatesh has joined #angularjs
[06:49:01] *** yes`r has joined #angularjs
[06:49:51] <dodobrain> gambl0re, https://github.com/creationix/nvm incase you couldn't find it for some absurd reason
[06:50:51] *** fly_boyz has joined #angularjs
[06:51:03] *** Arpit_ has quit IRC
[06:51:30] *** tristanp has joined #angularjs
[06:52:03] *** tristanp has quit IRC
[06:52:10] *** BahamutWC|Work has quit IRC
[06:53:13] *** Autumn has joined #angularjs
[06:53:17] *** adpirz has quit IRC
[06:54:32] *** siddhartharao17 has joined #angularjs
[06:55:02] *** Venkatesh has quit IRC
[06:55:30] <Autumn> Wondering if anyone can help me with a question: I'm looking into incrementally rewriting an angular1.3 app in angular2, but I need to be able to continue to use angular1.3 controllers and directives alongside the angular2 components
[06:55:56] <Autumn> so, my question is: how straightforward is two-way communication between angular1.3 directives and angular2 components?
[07:01:14] *** smccarthy has quit IRC
[07:03:29] <ycon_> Is there a nice way to load images (fade in css style) with angular?
[07:03:40] *** jdo_dk has joined #angularjs
[07:03:53] *** junmin has quit IRC
[07:04:46] <xfury> ycon_: Not sure if there's something in ng-animate for that specifically but thats where to look-- you could also make a directive and have the link function watch the load event on the img element to trigger an ng-animate or just add a regular CSS class and let CSS animation do the fade
[07:05:39] <xfury> such a directive is really just a few lines of code, then you would use that directive instead of <img />
[07:06:15] <xfury> (but the directive would contain an <img/> in its template)
[07:06:20] *** krusty_ar has joined #angularjs
[07:06:35] <ish> The @Component syntax, is that ES6? Or is that TypeScript?
[07:06:38] <ycon_> xfury: oh yeh, anyything wrong with this?
[07:06:39] <ycon_> http://jsfiddle.net/X82zY/413/
[07:07:29] <xfury> ish: The @ part is ES7 (or whatever it will be called), that is the Decorators feature. The "Component" decorator is provided by Angular 2, and Typescript lets you use decorators and transpile that to plain ES5, the commonly supported older version of Javascript
[07:07:32] *** fission6 has quit IRC
[07:08:25] <ish> ah, ok.. Probably should jump on the typescript train I guess.
[07:08:58] <xfury> ish: I do recommend. Just getting into typescript and A2 (as well as using A2 style decorators for A1 with ng-forward) this week and have been absolutely loving it
[07:09:30] <xfury> There are a few gotchas with TS, but its not too bad and online help is pretty available
[07:09:58] <ish> yeah, I've been angular 1.x and plain ES5 - just going through the Angular2 tutorial. I don't really follow javascript (not *really* a web developer), so a lot of catching up to do.
[07:10:34] *** citizen-stig has joined #angularjs
[07:10:46] <xfury> ycon_: Nothing wrong with that, but thats just jquery, not using angular there. If it works it works, but you can do similar things without jquery using angular directly if you are already in an angular app
[07:11:26] *** gweedo767 has quit IRC
[07:11:26] *** klobucar has quit IRC
[07:12:38] *** VaticanCameos has joined #angularjs
[07:12:42] *** dcherman has joined #angularjs
[07:12:57] *** phrozensilver has quit IRC
[07:13:06] <xfury> ycon_: It's usually better to attach your behaviors separately from your markup as well (as opposed to onload=""), and in angular thats not even a concern in most cases
[07:13:18] *** klobucar has joined #angularjs
[07:13:20] *** gweedo767 has joined #angularjs
[07:13:55] <ycon_> xfury: ahh ok, I'll try it out
[07:14:06] *** sbellina has quit IRC
[07:14:18] *** VeeWee has joined #angularjs
[07:14:46] *** citizen-stig has quit IRC
[07:15:07] <xfury> ycon_: And your example isnt working because the site is redirecting you because its a hotlink
[07:15:23] <xfury> ycon_: Try using a different image if you want it to actually fade in on your jsfiddle
[07:16:08] <xfury> ish: Its a brave new world :-D
[07:16:17] *** Autumn has quit IRC
[07:17:55] *** siba has quit IRC
[07:18:47] *** tristanp has joined #angularjs
[07:20:15] <ycon_> xfury: I think I'm messing up my html or controller- so I need to import it at the top?
[07:20:18] <ycon_> http://dpaste.com/1AN33T4
[07:20:41] *** illume has quit IRC
[07:22:40] <xfury> ycon_: Is that your actual source? Cause your javascript should be in a <script></script> element, and its not ".controller" its "angular.module("myModuleNameGoesHere").controller(...) and you need to bootstrap the application. The CodeSchool Angular tutorials come highly recommended http://campus.codeschool.com/courses/shaping-up-with-angular-js/intro
[07:22:42] *** hefox has joined #angularjs
[07:22:44] *** illume has joined #angularjs
[07:23:08] *** bingo_ has joined #angularjs
[07:23:21] <bingo_> hai
[07:23:43] *** woolyninja has joined #angularjs
[07:23:49] <ycon_> xfury: ya been on codeschool all day- cheesy but it's great!
[07:24:00] *** woolyninja has quit IRC
[07:24:21] *** bingo_ has quit IRC
[07:25:17] *** sbellina has joined #angularjs
[07:26:01] *** LeBlaaanc has quit IRC
[07:26:05] *** Garfield-fr has joined #angularjs
[07:26:23] *** punknroll has joined #angularjs
[07:26:32] <xfury> Yeah, its good. So make sure you are loading angular with a <script> tag, and you have your controller code in another <script> tag somewhere after the angular one, pick a module name for your application (like "myApp") and make sure you have ng-app="myApp" on a parent element somewhere (like <html> or <body>) and you'll be in business
[07:29:24] *** Oleander has quit IRC
[07:30:12] <ycon_> when you say <script> do you mean like this? http://dpaste.com/3ZCEXC0
[07:30:28] *** BahamutWC|Work has joined #angularjs
[07:31:18] *** codeitloadit has joined #angularjs
[07:31:38] <xfury> ycon_: I mean all your javascript should be in <script></script> tags or the browser will treat it like text and html
[07:31:46] *** BahamutWC|Work has quit IRC
[07:31:54] *** sigurding has joined #angularjs
[07:32:55] <xfury> ycon_: But I get a sneaking suspicion that your original paste (http://dpaste.com/1AN33T4) is not indicative of your actual code in this regard :-)
[07:33:06] *** rho has quit IRC
[07:33:59] *** lite_ has joined #angularjs
[07:35:28] <ycon_> Ah I see my problem- the lib (ion-cards) I'm using has its own opacity. Would I be best to define the fade in there? http://dpaste.com/1CC1W2W
[07:36:24] *** tomfriedhof has quit IRC
[07:39:08] *** punknroll has quit IRC
[07:40:08] *** punknroll has joined #angularjs
[07:40:18] *** lnrdo has joined #angularjs
[07:40:47] *** tomfriedhof has joined #angularjs
[07:40:55] *** hackel has quit IRC
[07:41:54] *** erol has joined #angularjs
[07:42:51] <fullstack> Hello
[07:42:55] <fullstack> When I work with ag-Grid -- I set, gridOptions. But how does the ag-grid setup a function called setRowData inside gridOptions .. is confusing to me
[07:43:48] <fullstack> TypeError: Cannot read property 'setRowData' of undefined -- I get that, obviously, because it isn't defined anywhere. from this code: http://pastebin.com/q3bL4MZ4
[07:44:35] *** lnrdo has quit IRC
[07:44:36] *** GeneralWhoopass has joined #angularjs
[07:44:48] <fullstack> Does Angular load ag-grid ... ="gridOptions", and then, does ag-grid, go into my object gridOptions1 and create the function setRowData?
[07:45:14] <fullstack> and if so, Do i need to wait for a ready callback so I know its done its done setting up that function? And how
[07:45:38] *** fscala has quit IRC
[07:45:47] *** GeneralWhoopass has quit IRC
[07:46:01] *** GeneralWhoopass has joined #angularjs
[07:46:22] *** juddey has joined #angularjs
[07:47:19] *** fscala has joined #angularjs
[07:47:22] *** Drewery has joined #angularjs
[07:47:33] *** zeezey has quit IRC
[07:48:35] *** tuskkk___ has joined #angularjs
[07:52:06] *** Drewery has quit IRC
[07:52:12] *** platonic has joined #angularjs
[07:53:04] *** platonic has quit IRC
[07:53:36] *** platonic has joined #angularjs
[07:53:48] *** adpirz has joined #angularjs
[07:54:59] *** prbc has joined #angularjs
[07:55:08] *** startupality has joined #angularjs
[07:55:18] <wafflejock> fullstack: haven't used that one but looks like that's supposed to be an internal function call https://github.com/ceolter/ag-grid/blob/master/dist/ag-grid.js#L9980
[07:56:09] *** doppio|Laptop is now known as doppio|Away
[07:57:09] <wafflejock> fullstack: generally speaking what you said is right though, angular parses the DOM elements looks for directives when it finds matches for things it has loaded it creates a scope if necessary and then fires off the link function for the agGrid directive, from there it's basically up to the directive how it handles things
[07:57:39] *** speeddragon has joined #angularjs
[07:58:00] *** platonic has quit IRC
[07:58:07] *** macabre has joined #angularjs
[07:58:13] *** marthinal has joined #angularjs
[07:58:42] <wafflejock> well a bit more lifecycle stuff with regard to compile then prelink and loading the template and post link but that's the general gist, not typical to have to put callbacks in options objects though usually they are just a data model and the directive deals with adjusting things to match the model in some cases it may have callbacks optional as directives like data-updated="ctrl.dataChanged()"
[07:59:34] *** mdedetrich has quit IRC
[08:00:06] *** adpirz has quit IRC
[08:00:20] *** mikenovikov has joined #angularjs
[08:02:15] *** macabre has quit IRC
[08:02:46] *** n00bdev has joined #angularjs
[08:02:52] *** speeddragon has quit IRC
[08:03:12] *** kramer65 has joined #angularjs
[08:03:38] *** w0rp has quit IRC
[08:04:24] *** mary5030 has joined #angularjs
[08:04:31] *** ycon_ has quit IRC
[08:04:32] *** drag0niu1 has joined #angularjs
[08:05:17] *** startupality has quit IRC
[08:06:12] *** w0rp has joined #angularjs
[08:06:46] *** tom_ has joined #angularjs
[08:06:55] <tom_> Hi everyone
[08:07:23] *** tom_ has quit IRC
[08:07:34] *** drag0nius has quit IRC
[08:09:21] *** shoelessone has quit IRC
[08:09:54] *** dbclk has quit IRC
[08:11:35] *** Guest29193 has quit IRC
[08:11:55] *** thrillgore has quit IRC
[08:11:58] *** nya_ has joined #angularjs
[08:12:33] *** tomfriedhof has quit IRC
[08:13:45] *** Bloomer has joined #angularjs
[08:14:54] *** mary5030 has quit IRC
[08:14:59] *** doppio|Away is now known as doppio|Laptop
[08:15:12] *** kam270 has quit IRC
[08:15:23] *** dcherman has quit IRC
[08:16:10] *** swordfish has joined #angularjs
[08:17:13] *** n00bdev has quit IRC
[08:18:32] *** MrBaboon has quit IRC
[08:18:48] *** npx_jp has joined #angularjs
[08:20:06] *** juro has joined #angularjs
[08:20:13] *** jstroem has joined #angularjs
[08:20:35] *** swordfish has quit IRC
[08:21:02] *** ronz has joined #angularjs
[08:21:03] *** skcin7 has joined #angularjs
[08:21:57] *** fotoflo has quit IRC
[08:22:02] *** cacts has quit IRC
[08:22:38] *** dan2k3k4 has joined #angularjs
[08:22:43] *** buzzedword has joined #angularjs
[08:23:04] <npx_jp> angular2: inheritance of components and injectables. I have a EntityProvider class which gets and ApiService and a string(endpoint) in the constructor. I now made two Injectable providers AProvider and BProvider which both extend EntityProvider and call super(api, "endpointstring"). when injecting A or B provider I get the message: "No provider for
[08:23:04] <npx_jp> EntityProvider!" which makes sense. but entity provider does not need a provider as it is not an injectable (plus the string is provided by A and B provider and more to come). Where am I going wrong?
[08:24:47] *** lee_ has joined #angularjs
[08:25:27] *** lee_ has quit IRC
[08:25:42] *** tfry has quit IRC
[08:27:12] <npx_jp> to add to that, this happens because i have a base ListView component which expects an EntityProvider. i inherit from that component to make an AListView which calls super with the proper provider
[08:27:24] *** speeddragon has joined #angularjs
[08:27:28] *** buzzedword has quit IRC
[08:28:03] <npx_jp> i guess the problem is that im doing the "component inheritance" wrong
[08:28:29] *** pimlu has joined #angularjs
[08:28:40] *** Slicer has joined #angularjs
[08:28:57] *** kramer65 has quit IRC
[08:29:07] *** dan2k3k4 has quit IRC
[08:29:16] *** citizen-stig has joined #angularjs
[08:29:33] <npx_jp> and buy that i have answered my own question. npx you are so helpful i love you
[08:29:49] <npx_jp> you know it baby
[08:30:35] *** plekplek has joined #angularjs
[08:30:42] *** fotoflo has joined #angularjs
[08:30:55] *** k1ng440 has quit IRC
[08:32:15] *** speeddragon has quit IRC
[08:32:15] *** BahamutWC|Work has joined #angularjs
[08:33:05] *** ronz has quit IRC
[08:33:24] <Slicer> Hi! Where do I look for best practices on using $location? Problem is, after $location.search({something}), that "something" remains in URL till someone removes it explicitly. Do I have to do full $location.path(...).search(...).hash(...) every time I want to navigate somewhere if the target does not expect any hashes and params?
[08:33:34] *** MrBaboon has joined #angularjs
[08:33:55] *** citizen-stig has quit IRC
[08:34:15] *** Debnet has joined #angularjs
[08:35:16] <wafflejock> fullstack: just did some experimenting stuff on the ddo lifecycle here maybe useful maybe not, http://plnkr.co/edit/N53RbNc21Nk0w5RswqSA?p=preview
[08:36:06] <wafflejock> fullstack: the number after each console is which element it corresponds to since element is the only thing I could find that is consistently available and I think the same throughout the directive definition
[08:36:06] *** siba has joined #angularjs
[08:36:48] <robdubya> npx_jp plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5 <- reproduce in there if you're still stuck
[08:36:55] *** BahamutWC|Work has quit IRC
[08:37:08] <robdubya> and also, avoid inheritance. even with ES6 classes
[08:37:20] <npx_jp> wut why
[08:37:25] *** junmin has joined #angularjs
[08:37:33] *** fotoflo has quit IRC
[08:37:37] <npx_jp> inheritance is beautiful and helps me a lot in this case
[08:37:48] <robdubya> it has use cases, but generally, composition > inheritance
[08:38:07] <npx_jp> well then i make mine a use case now
[08:38:25] <npx_jp> which leads me to a question that comes from extending something that is decorated with @View
[08:38:32] <robdubya> carry on then. note that DI doesn't understand it at all, nor do decorators
[08:38:43] <robdubya> (also @View is deprecated, just use @Component)
[08:38:59] <npx_jp> hehe too bad
[08:39:03] *** svycka has joined #angularjs
[08:39:07] <npx_jp> yeah i had @component and switched to @view
[08:39:12] <npx_jp> to inherit the view properties
[08:39:34] <npx_jp> but i geuss its not too bad to define the template url over and over. thats feasible as theoretically every view should have their own template declaration
[08:39:40] <npx_jp> just wanted to save some lines of code.
[08:40:07] <npx_jp> but man this is great so far. if you are interested i present you my use case for inheritance to see what the expert would say
[08:40:22] *** qdouble has joined #angularjs
[08:40:31] *** george_v has joined #angularjs
[08:40:44] *** qdouble has quit IRC
[08:42:00] <robdubya> shoot
[08:42:12] *** junmin has quit IRC
[08:42:19] <npx_jp> "it", or "you"?
[08:43:26] *** hey_hey has joined #angularjs
[08:44:32] <robdubya> either
[08:44:33] *** fotoflo has joined #angularjs
[08:45:24] *** siba has quit IRC
[08:46:22] *** buzzedword has joined #angularjs
[08:46:34] *** cotko has joined #angularjs
[08:48:27] <npx_jp> i have an api that can return several different entities. they behave all the same, just have different properties. the only thing that differs for retrieving them is the api endpoint. so i have an EntityProvider which has the ApiService. I make Aprovider, Bprovider, Cprovider... extend EntityProvider to have 1 provider per entity type. A/B/C provi
[08:48:27] <npx_jp> der will then fetch from the api and provide me with the entities. this baby will get methods like getAll() getById, search, save, etc
[08:49:06] <npx_jp> in the future more entities will be added which results in more endpoints in the api but fetching, parsing and instantiating the entities is pretty much the same
[08:49:21] <robdubya> its the "pretty much" part that almost always goes wrong :)
[08:49:26] <Slicer> I wonder... no one here uses $location, or no one uses navigation at all, or it's just no one cares to answer (which is also OK but sad for me)? :)
[08:50:53] <npx_jp> then strike that and make it "it is the same": receive json from endpoint, instantiate entitiy from json, give out entity
[08:51:05] <robdubya> i'd have a single APIProvider, and inject that into the others. maaayyyybe there's a use case for extending from a Base, but it almost always ends in tears in my experience
[08:51:30] *** cotko has quit IRC
[08:51:44] *** cotko has joined #angularjs
[08:51:50] <npx_jp> then how do you get a specific entitiy from the provider
[08:51:54] <robdubya> in either case, keep the APIProvider distinct from the model class
[08:52:02] <npx_jp> it is
[08:52:24] *** buzzedword has quit IRC
[08:52:49] <npx_jp> the apiservice just has a "makeGet(endpoint)"
[08:53:04] <npx_jp> the providers need to know how to make the routes
[08:53:07] <wafflejock> Slicer: typically just use ui-router $state and related parts for navigation/url related business $location is less oft needed in my use cases
[08:53:12] *** Slizz3r has joined #angularjs
[08:53:12] *** kvnm has joined #angularjs
[08:54:06] *** GeneralWhoopass has quit IRC
[08:54:11] *** jun_ has joined #angularjs
[08:54:37] <npx_jp> the beauty of it is.. for now it gets me to quickly retrieve my 5 entity types from the api, with 1 provider per entity. otherwise i would have to duplicate a lot of code and everytime i duplicate code i die a little inside. so i hope i can have my "use case" be a valid use case for now :)
[08:54:55] *** kvnm has quit IRC
[08:54:58] *** tarnus has quit IRC
[08:55:34] <robdubya> you won't get approval from me :) but carry on
[08:56:43] *** vrockai has joined #angularjs
[08:56:46] <npx_jp> can i buy your approval?
[08:56:57] <npx_jp> so i can put "rob said" all over my code?
[08:56:59] <hey_hey> how can i hide all the notifications in the chat?
[08:57:18] <npx_jp> what chat
[08:58:23] <hey_hey> this one
[08:58:32] *** george_v has quit IRC
[08:58:35] <npx_jp> that would pretty much depend on your client
[08:58:40] <hey_hey> == george_v [~george_v at 178 dot 128.99.209.dsl.dyn.forthnet.gr] has quit [Read error: Connection reset by peer]
[08:58:50] <hey_hey> i want to hide it, really annoyes me
[08:58:57] <hey_hey> can't find the options
[08:59:03] <npx_jp> which is your client?
[08:59:07] <hey_hey> chrome?
[08:59:10] <hey_hey> !
[08:59:18] <npx_jp> chrome is your webbrowser
[08:59:27] *** dutis has joined #angularjs
[08:59:32] <npx_jp> so which webclient are you using?
[08:59:44] *** thrillgore has joined #angularjs
[08:59:50] <hey_hey> huh
[08:59:55] <hey_hey> im using chrome http://webchat.freenode.net/
[09:00:26] <robdubya> get a proper IRC client
[09:00:33] <npx_jp> ^
[09:00:51] <hey_hey> must i? :\
[09:01:35] *** george_v has joined #angularjs
[09:01:56] *** yanivkalfa_ has joined #angularjs
[09:01:57] <hey_hey> nm, found it
[09:02:17] <dodobrain> hey_hey, theres an option on qwebirc
[09:02:21] <Slicer> wafflejock: Oh, I see. It even has go() which allows to inherit old state or discard it, and to solve my problem, I just go to "^" state and that's all. Cool :) Thanks a lot!
[09:02:29] *** dan2k3k4 has joined #angularjs
[09:02:34] <hey_hey> dodobrain yeah i missed that option
[09:02:38] <hey_hey> cheers
[09:03:01] <Slicer> wafflejock: I mean, when I want to change location to a "parent", for instance (and it possibly had its own state)
[09:03:30] *** buzzedword has joined #angularjs
[09:03:31] *** Es0teric has quit IRC
[09:04:02] <wafflejock> Slicer: yup personally have mostly just used the "absolute" state name instead of relative references but has lots of nice little convenience things built in
[09:05:10] *** baweaver has quit IRC
[09:05:14] *** icebox has joined #angularjs
[09:05:15] *** juro has quit IRC
[09:05:15] *** marthinal has quit IRC
[09:05:54] *** xtreamwayz has joined #angularjs
[09:05:59] *** juro has joined #angularjs
[09:06:43] *** siddhartharao17 has quit IRC
[09:07:34] *** juddey has quit IRC
[09:08:16] *** buzzedword has quit IRC
[09:09:12] *** mynameiswhat has joined #angularjs
[09:09:39] *** kvnm has joined #angularjs
[09:09:52] *** buzzedword has joined #angularjs
[09:10:56] *** kvnm has quit IRC
[09:11:36] *** kvnm has joined #angularjs
[09:12:26] *** kk_drop has joined #angularjs
[09:13:07] *** Slicer has quit IRC
[09:13:39] *** danielemm has joined #angularjs
[09:14:30] *** buzzedword has quit IRC
[09:15:15] <hey_hey> can anyone explain in karma\jasmine
[09:15:17] <hey_hey> var controller = $controller('CalculatorController', { $scope: $scope });
[09:15:24] <hey_hey> im mocking a controller
[09:15:25] *** doppio|Laptop has quit IRC
[09:15:32] <hey_hey> whats the $scope:scope part?
[09:16:00] *** kvnm has quit IRC
[09:16:01] <hey_hey> i got a $scope variable in the test itself
[09:16:31] *** yanivkalfa_ has quit IRC
[09:17:49] *** fixl has joined #angularjs
[09:17:54] *** cotko has quit IRC
[09:17:59] *** Dmitri has joined #angularjs
[09:18:59] *** npx_jp has quit IRC
[09:19:17] *** buzzedword has joined #angularjs
[09:19:37] *** fees has joined #angularjs
[09:20:07] *** npx_jp has joined #angularjs
[09:21:27] *** dodobrain has quit IRC
[09:21:28] <wafflejock> hey_hey: that's basically saying make a CalculatorController and for the $scope property of the controller use the $scope object as the value
[09:22:58] *** danielemm has quit IRC
[09:23:34] *** buzzedword has quit IRC
[09:23:59] <wafflejock> definition of the controller might look like .controller('CalculatorController', function($scope){}); basically passing the $scope there into the controller definition to create an instance of the controller with a known/given scope
[09:24:26] *** tangorri has joined #angularjs
[09:24:35] *** Mizar1 has joined #angularjs
[09:25:03] *** svdalpha has joined #angularjs
[09:25:30] *** mary5030 has joined #angularjs
[09:26:09] *** Daerist has joined #angularjs
[09:26:10] <hey_hey> ok so if i understand correctly im injecting a controller and attaching the $scope dependency of my injected controller to the mocked one?
[09:26:53] *** jun_ has quit IRC
[09:26:59] *** brollypop has joined #angularjs
[09:27:04] *** colors_caribe has joined #angularjs
[09:27:10] <colors_caribe> hi folks
[09:27:27] <svdalpha> hello color_caribe!
[09:27:28] *** spacenomad has joined #angularjs
[09:27:28] *** cristatus has joined #angularjs
[09:27:43] *** svycka has quit IRC
[09:27:57] <colors_caribe> Im trying to create a dependency injection
[09:28:02] <colors_caribe> hi svdalpha
[09:28:17] *** Mizar1 has left #angularjs
[09:28:37] <colors_caribe> id like to inject a service into a controller however this is automated code using yo
[09:28:45] <colors_caribe> and it looks strange to me
[09:28:55] *** AndrewIsh has joined #angularjs
[09:28:59] <jsheely> ugh
[09:29:01] <jsheely> I'm raging
[09:29:01] *** juro has quit IRC
[09:29:03] <svdalpha> why's that colors_caribe?
[09:29:24] <jsheely> Why is it so hard to compile freaking es6 into the same directory
[09:29:27] <colors_caribe> class MainController {constructor($http
[09:29:43] <colors_caribe> do the dependency injections go in at the constructor?
[09:29:46] *** mary5030 has quit IRC
[09:29:55] <jsheely> I just want to watch an entire directory of files, and transpile to .js in the same directory
[09:30:02] *** svycka has joined #angularjs
[09:30:21] *** marthinal has joined #angularjs
[09:30:30] <jsheely> Why do I need 5 different libraries and a script to do that. Where is the simple babel directory --watch
[09:31:51] *** tangorri has quit IRC
[09:32:06] *** aks has joined #angularjs
[09:32:25] *** svdalpha has quit IRC
[09:33:52] <colors_caribe> first time I have seen a class created to define a controller. usually i see it as a function.
[09:34:05] <wafflejock> hey_hey: eh you're getting a controller instance made and you're providing the $scope to be injected into it when initializing that instance https://docs.angularjs.org/api/ng/service/$controller
[09:34:45] *** danielemm has joined #angularjs
[09:35:22] *** svdalpha has joined #angularjs
[09:35:39] <jsheely> Any advice wafflejock to get me off the edge of this cliff
[09:36:32] <hey_hey> wafflejock: cheers.
[09:36:33] <wafflejock> jsheely: not really have only done that with other people's seed projects basically so never really dug into what was going on just used what was in the box
[09:36:39] *** codeitloadit has quit IRC
[09:36:49] <jsheely> I think I finally found the rope
[09:37:02] <jsheely> watch-cli > babel
[09:37:22] <jsheely> Assuming there is variables
[09:38:21] *** svdalpha has quit IRC
[09:39:06] *** aks has quit IRC
[09:41:07] *** Firo has joined #angularjs
[09:41:11] *** kvnm has joined #angularjs
[09:41:19] *** aks has joined #angularjs
[09:41:25] *** mikenovikov has quit IRC
[09:41:25] *** sarod has joined #angularjs
[09:41:27] <jsheely> Nope, guess not
[09:42:22] *** kvnm has quit IRC
[09:43:24] *** jspeck has quit IRC
[09:43:54] *** dutis has quit IRC
[09:44:36] *** kvnm has joined #angularjs
[09:45:09] *** Hounddog has joined #angularjs
[09:47:29] *** colors_caribe has quit IRC
[09:48:07] *** Drewery has joined #angularjs
[09:48:09] *** dutis has joined #angularjs
[09:49:07] *** tomphp has joined #angularjs
[09:49:15] *** tombee has quit IRC
[09:50:27] *** mchammer has joined #angularjs
[09:50:53] *** tomphp has quit IRC
[09:51:29] *** aendrew has quit IRC
[09:51:54] *** dutis has joined #angularjs
[09:52:03] *** gweedo767 has quit IRC
[09:52:10] <C0nundrum> trying to use $animate server but i'm getting TypeError: Cannot read property 'nodeType' of undefined
[09:52:56] *** jpinnix______ has quit IRC
[09:53:04] *** Drewery has quit IRC
[09:53:20] <C0nundrum> http://pastebin.com/QsF1Uaat
[09:53:20] *** andersh has quit IRC
[09:53:24] <wafflejock> C0nundrum: must be expecting a DOM node somewhere but getting undefined https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
[09:53:42] *** gweedo767 has joined #angularjs
[09:54:02] *** tomphp has joined #angularjs
[09:54:06] *** nya_ has quit IRC
[09:54:15] *** nya_ has joined #angularjs
[09:54:32] *** hefox has quit IRC
[09:54:41] *** evilaliv3 has joined #angularjs
[09:54:55] <C0nundrum> So what do i have to do to chid to get a DOM node ?
[09:55:11] *** mac_ified has quit IRC
[09:55:16] *** glosoli has joined #angularjs
[09:55:37] *** jpinnix______ has joined #angularjs
[09:55:58] *** anthony23 has joined #angularjs
[09:56:02] *** andersh has joined #angularjs
[09:56:04] *** VaticanCameos has quit IRC
[09:56:16] *** softinio has quit IRC
[09:56:30] *** aks has quit IRC
[09:56:46] *** dulax has quit IRC
[09:56:49] *** tombee has joined #angularjs
[09:56:51] *** kvnm has quit IRC
[09:57:10] *** tomphp has quit IRC
[09:57:35] *** adpirz has joined #angularjs
[09:57:36] <C0nundrum> O i see
[09:57:48] *** tomphp has joined #angularjs
[09:57:48] <anthony23> does someone know how to enable production mode on angular 2? It says Call enableProdMode() to enable the production mode. but I'm not fully sure where or how to call it exactly
[09:57:54] *** NullSoldier_ has quit IRC
[09:57:56] *** ish has quit IRC
[09:57:59] *** startupality has joined #angularjs
[09:58:21] *** speeddragon has joined #angularjs
[09:58:42] *** aks has joined #angularjs
[09:58:50] *** kvnm has joined #angularjs
[09:58:53] *** MrBaboon has quit IRC
[09:59:31] *** cotko has joined #angularjs
[09:59:33] *** aks has quit IRC
[09:59:43] <C0nundrum> wafflejock what methd do you usually use to set the innerHTML of an angular element ?
[10:00:29] *** softinio has joined #angularjs
[10:00:35] *** bremnes has quit IRC
[10:00:48] <icebox> anthony23: in the boot
[10:01:02] *** aks has joined #angularjs
[10:01:10] *** aendrew has joined #angularjs
[10:01:13] *** NullSoldier_ has joined #angularjs
[10:01:19] <wafflejock> C0nundrum: typically have just used this https://github.com/angular/angular.js/blob/master/src/jqLite.js#L704
[10:01:37] <wafflejock> .html('<p>somestuff</p>')
[10:02:19] *** lmatteis has quit IRC
[10:02:34] *** adpirz has quit IRC
[10:02:40] *** roachiepoopoo has quit IRC
[10:03:00] *** startupality has quit IRC
[10:03:14] *** speeddragon has quit IRC
[10:03:15] *** tfnico has quit IRC
[10:03:48] *** dulax has joined #angularjs
[10:03:53] *** BahamutWC|Work has joined #angularjs
[10:03:53] *** jpinnix______ has quit IRC
[10:04:16] <anthony23> you have to declare it in the bootstrap file?
[10:04:17] *** swordfish has joined #angularjs
[10:04:22] <C0nundrum> ah
[10:05:12] <icebox> anthony23: https://angular.io/docs/ts/latest/api/core/enableProdMode-function.html
[10:05:36] *** lmatteis has joined #angularjs
[10:05:39] *** ish has joined #angularjs
[10:05:46] *** baweaver has joined #angularjs
[10:06:06] *** aendrew has quit IRC
[10:06:11] *** jpinnix______ has joined #angularjs
[10:06:21] *** pellekrogholt has joined #angularjs
[10:06:38] *** softinio has quit IRC
[10:07:18] <anthony23> yeah, I see that in the docs but confused as to which file to paste it into for the command to be recognized
[10:07:20] *** cristatus has quit IRC
[10:07:38] *** tomphp has quit IRC
[10:07:52] *** glosoli has quit IRC
[10:07:55] *** BahamutWC|Work has quit IRC
[10:08:08] *** startupality has joined #angularjs
[10:08:53] *** gweedo767 has quit IRC
[10:08:54] *** swordfish has quit IRC
[10:09:01] *** aks has quit IRC
[10:09:05] *** andersh has quit IRC
[10:10:08] *** aendrew has joined #angularjs
[10:10:26] *** baweaver has quit IRC
[10:10:41] *** drptbl has joined #angularjs
[10:10:48] *** tombee has quit IRC
[10:10:50] *** jpinnix______ has quit IRC
[10:11:11] *** Ugolin has joined #angularjs
[10:11:24] *** startupality has quit IRC
[10:11:28] *** bremnes has joined #angularjs
[10:11:41] *** softinio has joined #angularjs
[10:11:55] *** NullSoldier_ has quit IRC
[10:12:03] *** tfnico has joined #angularjs
[10:12:47] *** startupality has joined #angularjs
[10:12:53] *** andersh has joined #angularjs
[10:13:12] <C0nundrum> wafflejock i have scope.$watch('number',function(newValue, oldValue){} but it seems like it gets called after the value has changed and the dom i updated
[10:13:19] <C0nundrum> is there a way to get it before that ?
[10:14:15] *** Letze has quit IRC
[10:14:27] *** inhumantsar has quit IRC
[10:14:35] *** aendrew has quit IRC
[10:14:40] *** tomphp has joined #angularjs
[10:15:05] *** vrockai has quit IRC
[10:15:34] *** dvd_ has joined #angularjs
[10:15:43] *** brk has joined #angularjs
[10:15:49] *** dvd_ has quit IRC
[10:16:55] *** lmatteis has quit IRC
[10:17:08] *** bremnes has quit IRC
[10:17:31] *** k1ng440 has joined #angularjs
[10:17:32] *** k1ng440 has joined #angularjs
[10:17:33] *** citizen-stig has joined #angularjs
[10:17:40] *** janezkranjc is now known as janez
[10:18:01] <wafflejock> C0nundrum: well the $watch will register a new function that returns the value of scope.number, it will evaluate that function to store the initial value of the scope.number then ever time a $apply/$digest is triggered it will run that function again to see if the value changed, when it does then it fires your function with newValue and oldValue
[10:18:09] *** klobucar has quit IRC
[10:18:16] *** senayar has joined #angularjs
[10:18:40] *** jun_ has joined #angularjs
[10:19:07] <wafflejock> there's not really an easy way I know of off hand to know when the DOM is "done" updating though because hard to generically say what that means... think there are some DOM mutator things in the browser but not sure about compatibility on all that
[10:19:17] *** ish has quit IRC
[10:19:27] *** fess has joined #angularjs
[10:19:40] *** dulax has quit IRC
[10:19:49] *** rikkus has quit IRC
[10:20:01] *** buzzedword has joined #angularjs
[10:20:22] *** marr has joined #angularjs
[10:20:24] *** softinio has quit IRC
[10:20:35] *** tfnico has quit IRC
[10:21:20] <fess> hello everyone, can somebody help me with Angular 2 on javascript (not typescript) ?
[10:21:29] <icebox> anthony23: of course, after you enabled prod mode, you get "Call enableDevMode() to enable the development" :) https://github.com/angular/angular/commit/3dca9d5
[10:21:37] <C0nundrum> hm
[10:21:55] *** andersh has quit IRC
[10:22:15] <icebox> anthony23: generally speaking, you may ignore it at the moment
[10:22:30] *** citizen-stig has quit IRC
[10:22:55] *** jun_ has quit IRC
[10:22:58] <fess> or suggest a well-done doc about ngModel - Angular 2 - javascript?
[10:23:35] *** VaticanCameos has joined #angularjs
[10:23:48] <anthony23> icebox: I'm about to start re-writing an app I'm working on in Angular 2, that's why I'm trying to make sure how to do it...
[10:24:06] <anthony23> icebox: on the boot file, I put import {enableProdMode} from 'angular2/core';
[10:24:17] *** startupality has quit IRC
[10:24:30] *** rikkus has joined #angularjs
[10:24:43] <anthony23> icebox: then enableProdMode(); before calling the bootstrap function
[10:24:46] *** buzzedword has quit IRC
[10:24:58] <icebox> anthony23: yep... and you get the other message :)
[10:25:21] *** Sky[x] has joined #angularjs
[10:25:22] <anthony23> icebox: ah one sec, let me check the message
[10:25:46] <anthony23> icebox: lol... wow I had got it to work, just didn't realize the message change
[10:26:03] <anthony23> icebox: thanks for the help!
[10:26:06] <icebox> anthony23: as I said, ignore it :)
[10:26:17] *** iraj has joined #angularjs
[10:27:07] <anthony23> icebox: I will thanks
[10:27:13] *** cristatus has joined #angularjs
[10:27:53] <C0nundrum> Yay animation finally working
[10:27:57] *** buzzedword has joined #angularjs
[10:27:57] <C0nundrum> like how i wanted it
[10:28:24] *** speeddragon has joined #angularjs
[10:29:30] *** rikkus has quit IRC
[10:29:43] <C0nundrum> Thanks for all the help wafflejock / robdubya / BahamutWC / jaawerth
[10:30:01] *** Foxandxss has joined #angularjs
[10:30:18] *** corioliss has quit IRC
[10:32:13] *** simion314 has joined #angularjs
[10:32:36] *** sbasso has joined #angularjs
[10:32:42] *** buzzedword has quit IRC
[10:32:59] *** speeddragon has quit IRC
[10:34:15] *** senayar has quit IRC
[10:34:21] *** sbellina has quit IRC
[10:34:34] *** m8 has joined #angularjs
[10:34:45] *** bengillies has joined #angularjs
[10:34:56] *** Ugolin has quit IRC
[10:35:03] *** Tarkesh has joined #angularjs
[10:35:14] <npx_jp> angular2: can I hand a callable() as input?
[10:35:18] *** Ugolin has joined #angularjs
[10:35:39] <Tarkesh> hi group, anyone done angularjs with parse.com as backend?
[10:35:53] *** softinio has joined #angularjs
[10:36:19] *** aendrew has joined #angularjs
[10:36:22] *** tfnico has joined #angularjs
[10:37:34] <icebox> Tarkesh: Parse.$ = jQuery
[10:37:40] *** gweedo767 has joined #angularjs
[10:37:48] <npx_jp> okay it seems outputs is what i want
[10:38:00] *** greatdex has joined #angularjs
[10:38:06] *** jpinnix______ has joined #angularjs
[10:38:24] *** senayar has joined #angularjs
[10:38:46] *** pimlu has quit IRC
[10:39:16] *** rikkus has joined #angularjs
[10:39:33] *** inhumantsar has joined #angularjs
[10:39:52] *** fess has quit IRC
[10:39:54] <Tarkesh> anyone use angularjs with parse as backend?
[10:40:00] *** klobucar has joined #angularjs
[10:40:00] *** marthinal has quit IRC
[10:40:02] *** npx_jp has quit IRC
[10:40:08] <robdubya> Tarkesh plenty of people do
[10:40:09] <icebox> Tarkesh: I don't see many traction for angularjs https://parse.com/questions/does-any-know-of-any-angularjs-sites-that-are-built-with-parse-that-are-open-source
[10:40:27] *** tombee has joined #angularjs
[10:40:32] *** andersh has joined #angularjs
[10:40:34] *** Ugolin has quit IRC
[10:40:58] *** Ugolin has joined #angularjs
[10:41:16] *** lmatteis has joined #angularjs
[10:41:26] *** m8 has quit IRC
[10:41:31] <Tarkesh> but no useful information in that
[10:41:44] <icebox> Tarkesh: in the guide... Our JavaScript SDK is originally based on the popular Backbone.js framework...
[10:41:49] *** Letze has joined #angularjs
[10:42:07] *** ish has joined #angularjs
[10:42:12] <Tarkesh> icebox are you member from parse?
[10:42:18] <icebox> Tarkesh: no
[10:42:22] <wafflejock> https://github.com/brandid/parse-angular-patch
[10:42:34] <wafflejock> haven't used it myself either
[10:42:39] *** NullSoldier_ has joined #angularjs
[10:42:40] <Tarkesh> can you guide me any sample angularjs with parse
[10:42:52] <Tarkesh> brandid is removed , its not working
[10:43:01] <icebox> Tarkesh: why do you use parse.com?
[10:43:09] <icebox> Tarkesh: what is your use case?
[10:43:14] <robdubya> https://github.com/search?utf8=%E2%9C%93&q=angular+parse
[10:43:27] *** aks has joined #angularjs
[10:43:47] <icebox> robdubya: first link... WE MOVED TO REACT & OUR OWN SERVERS - THIS ISN'T SUPPORTED ANYMORE, sorry! :)
[10:44:07] <Tarkesh> parse is our backend, we done mobile app . Now we want to do web app with same database
[10:44:28] *** SereenitY has joined #angularjs
[10:44:35] *** dulax has joined #angularjs
[10:44:46] *** bremnes has joined #angularjs
[10:44:49] <icebox> Tarkesh: I would rewrite it with Firebase... better choice with AngularJS
[10:44:55] <robdubya> https://parse.com/docs/rest/guide
[10:45:05] <robdubya> that + $http
[10:45:34] <Tarkesh> we have our apps live in parse
[10:45:53] *** speeddragon has joined #angularjs
[10:46:01] *** pellekrogholt has quit IRC
[10:46:02] <wafflejock> yah can either use the REST API or the JS SDK and make a module that wraps the stuff up in services/directives to expose it to angular https://parse.com/docs/js/guide
[10:46:05] <icebox> Tarkesh: ok... my two cents for https://www.firebase.com/docs/web/libraries/angular/
[10:46:14] *** Rashmith has joined #angularjs
[10:46:17] <Rashmith> Hi
[10:46:42] <Tarkesh> unlimited push messages in parse
[10:46:56] <Tarkesh> thank u Robdubya
[10:47:05] <robdubya> icebox "rewrite it in firebase" is not a particularly useful response ;-)
[10:47:05] *** Ugolin has quit IRC
[10:47:06] *** speeddragon has quit IRC
[10:47:23] *** Ugolin has joined #angularjs
[10:47:51] <Rashmith> how to set $stateParams value??
[10:48:11] <icebox> robdubya: well.. I said "I would..."... however agreed... a bit rude
[10:48:29] <wafflejock> Rashmith: it's based on what you have defined in your url for the state and what gets passed in place of the placeholder in that url in the real scenario
[10:48:32] *** mischat has joined #angularjs
[10:48:44] *** kvnm has quit IRC
[10:49:02] <wafflejock> Rashmith: something like /products/{productid} then if the user navigates to /products/42 $stateParams.productid will == 42
[10:49:03] <Rashmith> thanks
[10:51:16] *** yky_ has joined #angularjs
[10:52:08] *** startupality has joined #angularjs
[10:52:30] *** p0k0 has quit IRC
[10:52:42] *** Ragnar has quit IRC
[10:52:47] <wafflejock> Rashmith: np details here https://github.com/angular-ui/ui-router/wiki/URL-Routing#stateparams-service couldn't recall if it was :productid or {productid} appears either is fine
[10:53:39] <dan2k3k4> how can I debug angular-bootstrap (uibCarousel) to check why it's not doing anything? the html code seems good (<uib-carousel id='myid'><uib-slide ng-repeat='item in items track by $index'><div class row><h3>test</h3></div></uib-slide></uib-carousel>)
[10:54:43] *** maximsalnikov has joined #angularjs
[10:54:43] *** Ugolin has quit IRC
[10:54:46] <Rashmith> wafflejock: Thanks
[10:54:54] *** Ugolin has joined #angularjs
[10:55:58] *** tarnus has joined #angularjs
[10:56:09] *** jonno11_ has joined #angularjs
[10:56:23] *** devians has quit IRC
[10:56:54] <dan2k3k4> ah wtf :/ if I change uib-carousel to carousel it seems to change the markup of the DOM
[10:57:09] *** elsevero has joined #angularjs
[10:58:12] *** adpirz has joined #angularjs
[10:58:16] <maximsalnikov> 2admin: please update Latest release to 1.4.8 / 1.5.0-rc.0 / 2.0.0-beta.0
[10:58:20] *** marthinal has joined #angularjs
[10:59:03] *** soee_ has quit IRC
[10:59:23] *** ChanServ sets mode: +o Foxandxss
[10:59:27] *** soee has joined #angularjs
[10:59:38] *** Flashwit has quit IRC
[10:59:42] *** Foxandxss changes topic to "http://angularjs.org/ | Docs: http://docs.angularjs.org/ | Latest release: 1.4.8 / 1.5.0-rc.0/ 2.0.0-beta.0 | Code Of Conduct: http://goo.gl/m7MHxk | Paste your code here: http://plnkr.co/edit/tpl:nKLNBdve51sqOoKZAOUS | #ionic for Ionic questions | http://splintercode.github.io/is-angular-2-ready/ | Channel logs: http://goo.gl/8Wwttq | Be polite! ☃"
[10:59:45] *** buzzedword has joined #angularjs
[11:00:12] *** SereenitY has quit IRC
[11:01:00] *** tarnus has quit IRC
[11:01:58] <icebox> Foxandxss: hey
[11:02:35] <C0nundrum> I'm thinking about using this for animating a table sliding to the right when new data comes in http://kenwheeler.github.io/slick/
[11:03:03] <C0nundrum> if my table has 8 columns and 4 rows. Should my elements in the corusel be coulmns or rows ?
[11:03:13] *** mdedetrich has joined #angularjs
[11:03:13] <C0nundrum> and would they all move at the same time ?
[11:04:00] *** snurfery has quit IRC
[11:04:02] *** kk_drop has quit IRC
[11:04:26] *** buzzedword has quit IRC
[11:04:43] <Foxandxss> hello icebox
[11:05:04] *** mischat has quit IRC
[11:05:16] *** mischat has joined #angularjs
[11:05:16] *** Kwoth has joined #angularjs
[11:05:37] <Kwoth> Hello
[11:05:52] *** maximsalnikov has quit IRC
[11:06:15] *** adpirz has quit IRC
[11:06:33] <C0nundrum> or owuld that module be to heavy for what i want
[11:06:35] <Kwoth> I'm playing around with angular 2, and i did an example and saw this cool thing called lite-server
[11:07:06] <Kwoth> Is there something like lite-server but i want to use it with my express server.
[11:07:22] *** k1ng4400 has joined #angularjs
[11:07:22] *** k1ng4400 has joined #angularjs
[11:07:57] *** mischat_ has joined #angularjs
[11:08:34] <icebox> Kwoth: sure... no problem, the code is the same... lite-server is only an utility to reload the resources when they change
[11:09:54] <hey_hey> little question guys
[11:09:56] <hey_hey> im using karma
[11:10:01] <Kwoth> icebox: i don't understand?
[11:10:09] <hey_hey> im configuiring my karma file
[11:10:15] <icebox> Kwoth: ok... what is your question?
[11:10:40] <hey_hey> and getting this question: "What is the location of your source and test files ?" i intend to write tests next to each component
[11:10:45] *** k1ng440 has quit IRC
[11:10:55] *** mischat has quit IRC
[11:11:04] <hey_hey> is there a general string i can input?
[11:11:08] *** roachiepoopoo has joined #angularjs
[11:11:10] <hey_hey> like app/**/
[11:11:21] <icebox> Kwoth: do you want to use express with angular2? yes you can... do you want to reload express when the resources change? yes you can, with another utility... for instance, nodemon... http://www.andyjarrett.co.uk/2015/05/26/reload-express-js-application-on-file-save/
[11:11:35] *** brollypop has quit IRC
[11:11:39] <Kwoth> My question is: Is there a middleware(probably) for an expressjs that will reinject css when i change it, or reload the page when i change JS/html?
[11:12:02] <Kwoth> i already use PM2
[11:12:08] <Kwoth> i need page reloaded, not server now :)
[11:12:31] <hey_hey> nm found it
[11:12:50] *** nya__ has joined #angularjs
[11:13:00] *** nya_ has quit IRC
[11:13:28] *** jun_ has joined #angularjs
[11:14:59] *** jeremy has joined #angularjs
[11:15:10] <jeremy> Hi
[11:15:23] *** jeremy is now known as Guest37721
[11:15:51] *** b1x1t0__ has joined #angularjs
[11:17:12] <C0nundrum> If you wanted to show a clock with HOUR:MIN:SECOND whats thes best way to update it ? in a 1 second Interval ?
[11:17:18] *** yky_ has quit IRC
[11:17:35] <Guest37721> Is there anyone
[11:17:37] <C0nundrum> Or can you bind it to the current time
[11:17:47] <icebox> Kwoth: I am not aware about an expressjs middleware reloading the pages
[11:17:50] *** yanivkalfa_ has joined #angularjs
[11:17:55] *** jun_ has quit IRC
[11:17:56] *** dpicky has joined #angularjs
[11:17:59] *** VeeWee has quit IRC
[11:18:00] *** codeman has joined #angularjs
[11:18:01] <Guest37721> how to write this line in angular
[11:18:02] <Guest37721> $('#annotation-text').css('display','').css('left',(rect.startX+3)+'px').css('top',(rect.startY+rect.h+10)+'px');
[11:18:21] *** vandyk has joined #angularjs
[11:18:33] *** Guest37721 has quit IRC
[11:18:35] <icebox> Kwoth: maybe you can pipe lite-server and expressjs... indeed lite-server starts Local: http://localhost:3000 and UI: http://localhost:3001
[11:18:42] *** vrockai has joined #angularjs
[11:18:54] *** sharad has joined #angularjs
[11:19:00] <sharad> $('#annotation-text').css('display','').css('left',(rect.startX+3)+'px').css('top',(rect.startY+rect.h+10)+'px'); convert it into angular
[11:19:39] <Kwoth> icebox: sounds good but how the hell do i do that? :)
[11:19:43] <Kwoth> brb
[11:20:24] *** BahamutWC|Work has joined #angularjs
[11:20:25] *** k1ng4400 has quit IRC
[11:20:47] *** sharad has quit IRC
[11:23:19] *** SomeKittens has quit IRC
[11:24:46] *** suvdeep has quit IRC
[11:25:08] *** Slizz3r has quit IRC
[11:25:25] *** honki has joined #angularjs
[11:25:51] *** Slizz3r has joined #angularjs
[11:25:56] *** mdedetrich has quit IRC
[11:26:01] <honki> hi there....
[11:26:17] *** erickwilder has joined #angularjs
[11:26:29] <honki> anyone a good advice for angularJS cookbooks?!
[11:26:41] *** speeddragon has joined #angularjs
[11:26:50] *** brollypop has joined #angularjs
[11:27:15] *** aghiuru has joined #angularjs
[11:27:29] <honki> looking for a good lookup book which explains certain patterns and building blocks
[11:28:05] <honki> Wäv
[11:28:10] <honki> exit
[11:28:48] *** yanivkalfa_ has quit IRC
[11:28:51] *** snurfery has joined #angularjs
[11:29:02] *** honki has left #angularjs
[11:30:30] *** startupality has quit IRC
[11:31:00] *** PeterBooker has joined #angularjs
[11:32:05] *** sarod has quit IRC
[11:33:53] *** Ugolin has quit IRC
[11:34:10] *** Ugolin has joined #angularjs
[11:34:51] *** elyssonmr has joined #angularjs
[11:35:00] *** k1ng440 has joined #angularjs
[11:35:00] *** k1ng440 has joined #angularjs
[11:35:33] <icebox> Kwoth: are you there?
[11:35:56] *** aghiuru_ has joined #angularjs
[11:36:28] *** Ugolin_ has joined #angularjs
[11:36:29] *** Ugolin has quit IRC
[11:37:31] *** buzzedword has joined #angularjs
[11:37:45] *** speeddragon has quit IRC
[11:37:47] <icebox> Kwoth: I would start lite-server (default port: 3000), I would start express (node server.js), using a different port (for instance 8000 or 8080)...in server.js you can enable static files only for prod mode... so lite-server serves static files and express serves api calls
[11:38:21] *** startupality has joined #angularjs
[11:38:47] *** aghiuru has quit IRC
[11:38:51] *** hey_hey has quit IRC
[11:39:21] *** lnrdo has joined #angularjs
[11:39:46] *** robdubya has quit IRC
[11:40:11] *** c00ljs has joined #angularjs
[11:40:24] *** speeddragon has joined #angularjs
[11:40:31] *** aghiuru has joined #angularjs
[11:41:10] *** ahaeger has joined #angularjs
[11:41:33] *** senayar has quit IRC
[11:41:40] *** tiagoboldt has joined #angularjs
[11:41:50] *** buzzedword has quit IRC
[11:41:51] *** senayar has joined #angularjs
[11:41:52] *** senayar has joined #angularjs
[11:43:06] *** yanivkalfa_ has joined #angularjs
[11:43:32] *** aghiuru_ has quit IRC
[11:45:19] *** cacts has joined #angularjs
[11:45:20] *** Slizz3r has quit IRC
[11:45:26] *** Slizz3r has joined #angularjs
[11:46:38] *** Chaitu has joined #angularjs
[11:46:53] *** kk_drop has joined #angularjs
[11:47:51] *** thatslifeson has quit IRC
[11:48:24] <Kwoth> icebox: i don't think that will work Oo
[11:48:40] <Kwoth> lite-server will reload my localhost:3000 page
[11:48:43] <Kwoth> not :8000
[11:48:55] *** Drewery has joined #angularjs
[11:49:10] *** Tennis has joined #angularjs
[11:49:51] <icebox> Kwoth: correct... and?
[11:50:07] <Kwoth> i can't use my server.
[11:50:21] <icebox> Kwoth: you can use your routes... on 8000
[11:50:48] <icebox> Kwoth: the point is static files on 3000 and api calls on 8000
[11:50:54] *** yanivkalfa_ has quit IRC
[11:51:14] *** suvdeep has joined #angularjs
[11:51:53] <icebox> Kwoth: the ugly part your urls are not constant strings, but they need to test the environment
[11:52:10] <Kwoth> yeah actually thats not a bad idea, thanks for the help
[11:52:25] <Kwoth> although there seems to be some guy on express chat that did this and wants to help me
[11:52:40] *** swordfish has joined #angularjs
[11:53:14] *** Dmitri has quit IRC
[11:53:26] *** Drewery has quit IRC
[11:53:45] *** george_v has quit IRC
[11:53:49] *** Johnny_ has joined #angularjs
[11:53:57] *** buzzedword has joined #angularjs
[11:53:58] <icebox> Kwoth: nice
[11:54:24] <icebox> Kwoth: at the share the solution, please :)
[11:54:31] <icebox> Kwoth: *at the end
[11:55:52] *** soee_ has joined #angularjs
[11:57:11] *** fscala has quit IRC
[11:57:35] *** george_v has joined #angularjs
[11:57:53] *** Jesko has joined #angularjs
[11:58:16] *** buzzedword has quit IRC
[11:58:19] *** Johnny_ has quit IRC
[11:59:23] *** buzzedword has joined #angularjs
[11:59:34] *** swordfish has quit IRC
[11:59:51] *** soee has quit IRC
[12:00:10] *** fscala has joined #angularjs
[12:00:32] <C0nundrum> Anyone know why this only works on the first iteration ? http://plnkr.co/edit/WnIWCOjRZDiRO9yM575r?s=gXYiIqjuokdD4g1E&p=streamer
[12:01:09] *** speeddragon has quit IRC
[12:01:41] *** snurfery has quit IRC
[12:01:47] *** Chaitu has quit IRC
[12:03:11] *** PeterBooker has quit IRC
[12:03:21] *** nya__ has quit IRC
[12:03:26] *** speeddragon has joined #angularjs
[12:03:43] *** nya_ has joined #angularjs
[12:03:53] *** buzzedword has quit IRC
[12:04:07] *** juro has joined #angularjs
[12:04:21] <C0nundrum> the table should be sliding left then right evey time but it only does it the first time data changes after that only the last element moves
[12:06:00] *** citizen-stig has joined #angularjs
[12:07:07] *** baweaver has joined #angularjs
[12:07:39] *** PeterBooker has joined #angularjs
[12:07:43] *** illume has quit IRC
[12:11:00] *** citizen-stig has quit IRC
[12:12:34] *** dan2k3k5 has joined #angularjs
[12:12:57] *** clivejo has joined #angularjs
[12:13:07] *** baweaver has quit IRC
[12:13:42] *** dszmaj has quit IRC
[12:13:42] *** arc__ has joined #angularjs
[12:14:56] *** dan2k3k4 has quit IRC
[12:15:36] *** buzzedword has joined #angularjs
[12:16:11] *** arc___ has joined #angularjs
[12:16:41] *** arc___ has quit IRC
[12:16:45] *** arc__ has quit IRC
[12:16:59] *** illume has joined #angularjs
[12:17:39] *** idr0p has quit IRC
[12:17:49] *** idr0p has joined #angularjs
[12:18:30] *** skcin7 has quit IRC
[12:19:00] *** Arc__ has joined #angularjs
[12:19:03] <C0nundrum> anyone checked out the plnkr ?
[12:19:17] *** Ragnar has joined #angularjs
[12:20:22] *** buzzedword has quit IRC
[12:20:28] *** rotsch has joined #angularjs
[12:20:38] <rotsch> hello @ll
[12:20:44] *** cacts has quit IRC
[12:20:54] <rotsch> i am struggeling defining some router routine with new angular2 framework
[12:21:13] <rotsch> whatever i try, i get a white page without any error response
[12:21:18] *** illume has quit IRC
[12:21:34] <Arc__> hello
[12:21:48] <Arc__> i've never used v2 yet... can't help :\
[12:21:50] <Arc__> sorry
[12:21:54] *** Tennis has quit IRC
[12:22:18] *** Tennis has joined #angularjs
[12:23:24] *** Arc__ has quit IRC
[12:23:45] *** b0x has quit IRC
[12:25:30] *** Arc__ has joined #angularjs
[12:25:54] *** Crippy has joined #angularjs
[12:26:19] <Crippy> anyone used angular chart? if so have you been able to override the scale ok?
[12:26:37] *** Dmitri has joined #angularjs
[12:28:15] *** jstroem has quit IRC
[12:28:33] *** darius231 has joined #angularjs
[12:29:04] *** dan2k3k4 has joined #angularjs
[12:29:15] *** darius231 has quit IRC
[12:29:32] *** dan2k3k5 has quit IRC
[12:31:58] *** cacts has joined #angularjs
[12:32:01] *** mellernoia has joined #angularjs
[12:33:04] *** Arc__ has quit IRC
[12:33:24] *** Arc__ has joined #angularjs
[12:33:47] <Crippy> has anyone used angular-chart.js?
[12:33:57] <Arc__> nope
[12:34:14] <Arc__> sorry :\
[12:34:26] *** erickwilder has quit IRC
[12:34:27] <Crippy> no worries thanks trying to find what the scale data type is
[12:34:28] <Arc__> i'm pretty new to angular... just trying to figure it out
[12:34:49] <C0nundrum> ofc closures was the problem x.x
[12:35:19] <Crippy> aww ok :) I'm sure you'll like it. It can be an interesting ride ;)
[12:36:27] *** sbasso has quit IRC
[12:37:08] *** zu15 has joined #angularjs
[12:37:14] <Arc__> for sure. i'm trying to understand how to do all the stuff i would normally do in jquery
[12:37:32] <Arc__> or where to put my jquery in angular
[12:37:53] *** rj_ has joined #angularjs
[12:38:05] *** juro has quit IRC
[12:38:06] <Crippy> a good resource is pluralisight to get to grips with it
[12:38:13] <Crippy> pluralSight*
[12:38:45] *** rj_ has quit IRC
[12:38:50] <Crippy> lots of angular courses there
[12:38:50] <ekarlso> Foxandxss: any ideas on getting button support or bootstrap ? :)
[12:38:53] <Arc__> thanks, i'll check it out. i think i've got a pretty good handle on it so far though
[12:39:01] <Crippy> :)
[12:39:06] <Foxandxss> ekarlso: I don't follow
[12:39:22] <Arc__> for instance - i was trying to figure out where to put window resizing code at...
[12:39:24] <ekarlso> Foxandxss: ng-bootstrap sorry !
[12:39:27] <dutis> hey, there was some topic on reddit about half a year of pluralsite if you sign up for ms visual studio or something
[12:39:29] <dutis> look it up
[12:39:29] <Arc__> wasn't sure where to handle that
[12:39:41] <Foxandxss> ekarlso: that is under discussion
[12:39:55] <ekarlso> Foxandxss: hmmm k
[12:39:57] <Arc__> didn't want to make a separate jquery-only js file
[12:40:11] <Arc__> directives seem to be the place to handle that... i guess?
[12:40:15] *** lmatteis has quit IRC
[12:40:24] <Crippy> if anyone has used angular chart give me a shout looking to reset the scale via the options but no luck
[12:40:34] <Foxandxss> ekarlso: we question everything we did on uibs to not make the same mistakes
[12:40:36] *** SrinivasGowda has joined #angularjs
[12:40:41] *** SrinivasGowda has left #angularjs
[12:40:55] *** hey_ho has joined #angularjs
[12:41:46] *** andersh has quit IRC
[12:41:46] *** aendrew has quit IRC
[12:42:16] *** sbasso has joined #angularjs
[12:42:19] *** illume has joined #angularjs
[12:42:20] *** jun_ has joined #angularjs
[12:42:31] *** tfnico has quit IRC
[12:43:10] *** buzzedword has joined #angularjs
[12:43:15] *** inhumantsar has quit IRC
[12:43:19] *** juro has joined #angularjs
[12:43:40] *** dulax has quit IRC
[12:43:50] *** ahaeger has left #angularjs
[12:43:55] *** klobucar has quit IRC
[12:44:03] *** Christer has joined #angularjs
[12:44:25] *** lmatteis has joined #angularjs
[12:45:07] <zu15> Something I don't understand yet, with Angular you make request to a REST server, right? Can you create that REST service (with authentication) with Angular, too?
[12:45:15] *** rikkus has quit IRC
[12:45:27] <Arc__> i don't think so... angular is purely client side
[12:45:46] *** inhumantsar has joined #angularjs
[12:45:50] *** yanivkalfa_ has joined #angularjs
[12:45:52] <C0nundrum> You can create it with node.js and share javascript code
[12:45:53] <zu15> Ok, so what is typically used for creating the REST server side?
[12:45:54] *** tfnico has joined #angularjs
[12:45:54] <ekarlso> Foxandxss: :P
[12:46:03] <Arc__> node
[12:46:06] <ekarlso> Foxandxss: any eta ish on i ?
[12:46:12] <Foxandxss> no
[12:46:12] *** jpinnix______ has quit IRC
[12:46:24] <Foxandxss> Angular needs to code some features that doesn't exist yet
[12:46:26] <Foxandxss> or we can't move on
[12:46:30] *** cacts has quit IRC
[12:46:35] *** jun_ has quit IRC
[12:46:56] <Arc__> zu15 - look into node.js and express
[12:47:10] *** tombee has quit IRC
[12:47:11] *** svycka has quit IRC
[12:47:14] *** jstroem has joined #angularjs
[12:47:29] <Arc__> very simple to get a server running with them
[12:47:34] <zu15> Arc__ ok, thanks
[12:48:00] <Arc__> np
[12:48:01] *** lite_ has quit IRC
[12:48:08] *** buzzedword has quit IRC
[12:48:44] *** gweedo767 has quit IRC
[12:48:44] *** lite_ has joined #angularjs
[12:48:54] *** lmatteis has quit IRC
[12:49:55] *** Ragnar has quit IRC
[12:50:09] *** softinio has quit IRC
[12:50:15] *** inhumantsar has quit IRC
[12:51:20] *** aks has quit IRC
[12:51:33] *** hey_ho_ has joined #angularjs
[12:52:00] *** hey_ho has quit IRC
[12:52:23] *** Leon has quit IRC
[12:53:08] *** NullSoldier_ has quit IRC
[12:53:14] *** jonno11_ has quit IRC
[12:53:23] *** Letze has quit IRC
[12:54:22] *** ish has quit IRC
[12:54:28] *** bremnes has quit IRC
[12:55:18] *** buzzedword has joined #angularjs
[12:55:30] *** gweedo767 has joined #angularjs
[12:55:49] *** klobucar has joined #angularjs
[12:56:14] *** fotoflo has quit IRC
[12:56:43] <C0nundrum> anyone still here ?
[12:56:50] *** tarnus has joined #angularjs
[12:57:24] *** Denys has joined #angularjs
[12:57:42] *** softinio has joined #angularjs
[12:58:02] *** NullSoldier_ has joined #angularjs
[12:59:13] *** yanivkalfa_ has quit IRC
[12:59:56] *** inhumantsar has joined #angularjs
[13:00:02] *** buzzedword has quit IRC
[13:00:41] *** Slizz3r has quit IRC
[13:00:48] *** zu15 has quit IRC
[13:00:56] *** Letze has joined #angularjs
[13:01:45] *** tarnus has quit IRC
[13:02:15] *** tfnico has quit IRC
[13:03:10] *** adpirz has joined #angularjs
[13:03:13] <Crippy> Got the fix for angular charts and scale :)
[13:03:37] *** aendrew has joined #angularjs
[13:04:39] *** hey_ho_ has quit IRC
[13:05:05] *** NullSoldier_ has quit IRC
[13:05:36] *** Slizz3r has joined #angularjs
[13:06:18] *** buzzedword has joined #angularjs
[13:07:13] *** Slizz3r_ has joined #angularjs
[13:07:14] *** Slizz3r has quit IRC
[13:07:43] *** adpirz has quit IRC
[13:07:44] <Kwoth> icebox: nah, i tried this, doesn't work :D Can you explain your solution?
[13:07:46] *** softinio has quit IRC
[13:07:51] <Kwoth> How do i tell express to serve static files on port 3000 Oo
[13:08:06] *** citizen-stig has joined #angularjs
[13:08:55] *** aendrew has quit IRC
[13:09:10] *** brollypop has quit IRC
[13:09:15] *** gweedo767 has quit IRC
[13:10:03] *** inhumantsar has quit IRC
[13:10:03] *** klobucar has quit IRC
[13:10:29] <icebox> Kwoth: a few minutes and I am here
[13:10:29] *** Letze has quit IRC
[13:11:07] <Kwoth> icebox: im here in 20
[13:11:12] *** sbasso has quit IRC
[13:11:25] <icebox> Kwoth: perfect
[13:12:23] *** rotsch has quit IRC
[13:12:30] *** buzzedword has quit IRC
[13:13:15] *** juro has quit IRC
[13:13:30] *** marthinal has quit IRC
[13:14:23] *** dan2k3k5 has joined #angularjs
[13:15:53] *** dan2k3k4 has quit IRC
[13:16:39] *** yanivkalfa_ has joined #angularjs
[13:17:32] *** Denys has quit IRC
[13:17:36] *** juro has joined #angularjs
[13:18:01] *** Leon has joined #angularjs
[13:18:06] *** dpicky has quit IRC
[13:18:53] <ekarlso> Foxandxss: will you rpvoide a migration path to ng-bootstrap once it's in beta ?
[13:18:59] *** sigurding has quit IRC
[13:19:24] <Foxandxss> it is not osmething that I personally have in mind, not sure about the others
[13:19:28] *** cristatus has quit IRC
[13:20:35] *** buzzedword has joined #angularjs
[13:21:03] *** doodlehaus has joined #angularjs
[13:21:11] <ekarlso> Foxandxss: so if I make a app now in ng1 i'll have a fun time porting it ?
[13:21:13] <ekarlso> hmmms
[13:21:21] *** dan2k3k5 has quit IRC
[13:21:32] <Foxandxss> depend in your concept of fun
[13:22:15] <ekarlso> Foxandxss: heh, i'd really like to use ng2 because of the typescript stuff but meh, I guess now is not the time yet
[13:22:24] *** sixr420 has joined #angularjs
[13:22:27] *** nya_ has quit IRC
[13:22:31] <Foxandxss> it is not the time yet
[13:22:39] <Foxandxss> community needs to do more stuff yet
[13:22:59] *** Letze has joined #angularjs
[13:23:00] *** nya_ has joined #angularjs
[13:23:32] *** klobucar has joined #angularjs
[13:23:46] *** svycka has joined #angularjs
[13:24:41] *** Tarkesh has quit IRC
[13:24:41] *** quakephil has joined #angularjs
[13:24:48] *** realz has quit IRC
[13:24:49] *** Ugolin_ has quit IRC
[13:24:58] *** buzzedword has quit IRC
[13:24:58] <C0nundrum> Anyone have time to help ?
[13:25:02] *** realz has joined #angularjs
[13:26:33] *** aendrew has joined #angularjs
[13:27:04] *** prbc has quit IRC
[13:27:05] *** bremnes has joined #angularjs
[13:27:07] <C0nundrum> I have a watch on a variable on the scope but i need it to only fire one per change
[13:27:11] *** sbasso has joined #angularjs
[13:27:35] *** nya_ has quit IRC
[13:28:22] *** inhumantsar has joined #angularjs
[13:28:57] <C0nundrum> how would i limit how much times it gets fired ?
[13:28:59] *** yanivkalfa_ has quit IRC
[13:29:04] *** gweedo767 has joined #angularjs
[13:29:49] *** illume has quit IRC
[13:30:03] *** tombee has joined #angularjs
[13:30:03] *** mmitchell has joined #angularjs
[13:32:12] *** sbasso has quit IRC
[13:32:44] *** ish has joined #angularjs
[13:33:34] *** Bloomer has quit IRC
[13:33:43] *** buzzedword has joined #angularjs
[13:33:51] <ekarlso> is there a ok boilerplate for ES6 and ng1 Foxandxss ?
[13:33:56] <ekarlso> that has bootstrap
[13:34:04] *** tester has joined #angularjs
[13:34:30] *** yanivkalfa_ has joined #angularjs
[13:34:33] <Foxandxss> no one bundles libraries with boilerplates
[13:34:35] *** AndrewIsh has quit IRC
[13:34:37] <Foxandxss> and they shouldn't imo :P
[13:34:39] *** Rashmith has quit IRC
[13:34:52] *** dulax has joined #angularjs
[13:34:56] <ekarlso> Foxandxss: uhm, ok a boilerplate with ng1 then ..
[13:35:00] *** AndrewIsh has joined #angularjs
[13:35:15] <Foxandxss> https://github.com/Foxandxss/angular-webpack-workflow
[13:35:17] <Foxandxss> I have this one
[13:35:28] <tester> whats the harm
[13:35:52] <ekarlso> Foxandxss: hard to get bootstrap going in that one ? I'm not a experienced webdev so :p
[13:36:18] *** doodlehaus has quit IRC
[13:36:33] *** jun_ has joined #angularjs
[13:36:51] <Foxandxss> ekarlso: nah, npm install uibs and bootstrap css
[13:36:53] <Foxandxss> and load it
[13:37:01] <Foxandxss> there is an article on my blog, read the readme on that repo
[13:37:15] *** one_zero has quit IRC
[13:37:19] <tester> ok
[13:38:00] *** buzzedword has quit IRC
[13:38:10] *** lmatteis has joined #angularjs
[13:38:16] *** Ugolin has joined #angularjs
[13:38:35] *** tfnico has joined #angularjs
[13:38:41] *** tester has quit IRC
[13:38:42] *** andersh has joined #angularjs
[13:38:59] *** lnrdo_ has joined #angularjs
[13:39:50] *** NullSoldier_ has joined #angularjs
[13:40:32] *** ahaeger has joined #angularjs
[13:40:34] *** Ragnar has joined #angularjs
[13:40:35] *** ahaeger has left #angularjs
[13:40:53] *** jpinnix______ has joined #angularjs
[13:41:01] *** swordfish has joined #angularjs
[13:41:03] *** nocontrol has joined #angularjs
[13:41:12] *** rikkus has joined #angularjs
[13:41:29] <nocontrol> guys, how can I add an external lib - like google places https cdn - to my angular project ?
[13:41:41] <nocontrol> except the old standard way of <script....
[13:41:50] <nocontrol> is there anything else more "angular-like" ?
[13:42:00] *** jun_ has quit IRC
[13:42:26] *** softinio has joined #angularjs
[13:42:37] *** Kwoth has quit IRC
[13:42:55] <senayar> AMD
[13:43:10] *** lnrdo has quit IRC
[13:43:56] *** startupality has quit IRC
[13:44:19] *** vandyk has quit IRC
[13:45:35] *** swordfish has quit IRC
[13:47:07] *** tiagoboldt has quit IRC
[13:48:55] <C0nundrum> Foxandxss does $animate methods have a default transition time ?
[13:49:07] *** Eduard_Munteanu has joined #angularjs
[13:49:09] <Foxandxss> C0nundrum: no idea
[13:49:20] <Foxandxss> my animation are -1
[13:49:38] <Eduard_Munteanu> Hi. Why is $('some selector').scope() undefined when there's clearly a scope there?
[13:49:51] <Eduard_Munteanu> I'm trying to debug some code in Firefox.
[13:49:52] *** mischat has joined #angularjs
[13:50:01] *** Drewery has joined #angularjs
[13:51:07] *** speeddragon has quit IRC
[13:51:09] *** aghiuru_ has joined #angularjs
[13:51:17] *** mischat has quit IRC
[13:51:39] *** speeddragon has joined #angularjs
[13:51:50] *** mischat has joined #angularjs
[13:52:03] *** Josh-Star has joined #angularjs
[13:53:14] *** mischat_ has quit IRC
[13:54:09] *** aghiuru has quit IRC
[13:54:15] *** Drewery has quit IRC
[13:54:54] *** drag0niu1 is now known as drag0nius
[13:55:45] *** lnrdo_ has quit IRC
[13:55:57] *** mischat__ has joined #angularjs
[13:56:38] *** aks has joined #angularjs
[13:57:10] *** sigurding has joined #angularjs
[13:57:16] *** aks has quit IRC
[13:57:17] *** Kwoth has joined #angularjs
[13:57:35] <Kwoth> icebox: woops, i got disconnected
[13:58:06] <nocontrol> my input box posts an object - how can i select the attr of this object to POST instead ?
[13:58:15] <icebox> Kwoth: a few minutes sorry
[13:58:46] *** mischat has quit IRC
[13:59:20] <burzum2> i have some angular content on my landing page, how do I know that the search spiders will pick the angular js generated content there up?
[14:00:07] *** tiagoboldt has joined #angularjs
[14:00:26] *** tarnus has joined #angularjs
[14:00:45] *** aks has joined #angularjs
[14:00:45] *** buzzedword has joined #angularjs
[14:01:05] *** rho has joined #angularjs
[14:01:05] *** rho has joined #angularjs
[14:01:31] *** aks has quit IRC
[14:01:35] *** startupality has joined #angularjs
[14:01:39] *** speeddragon has quit IRC
[14:02:56] *** aghiuru_ has quit IRC
[14:03:15] *** tombee has quit IRC
[14:03:20] *** NullSoldier_ has quit IRC
[14:03:29] *** NullSoldier_ has joined #angularjs
[14:03:33] *** tombee has joined #angularjs
[14:03:33] *** klobucar has quit IRC
[14:03:47] *** klobucar has joined #angularjs
[14:04:16] <C0nundrum> Foxandxss i have <td><span></span></td> i have a directive for both. How do i make it so that the directive for span waits for the td directive to finish ?
[14:04:42] *** aks has joined #angularjs
[14:04:47] *** tiagoboldt has quit IRC
[14:04:57] *** ish has quit IRC
[14:05:03] *** gweedo767 has quit IRC
[14:05:06] *** rikkus has quit IRC
[14:05:07] *** ish has joined #angularjs
[14:05:08] *** drej has joined #angularjs
[14:05:12] *** tfnico has quit IRC
[14:05:15] *** rikkus has joined #angularjs
[14:05:21] *** gweedo767 has joined #angularjs
[14:05:28] *** tfnico has joined #angularjs
[14:05:41] <Eduard_Munteanu> Ok, so how do I debug this? TypeError: $(...).scope is not a function
[14:06:14] *** sbasso has joined #angularjs
[14:06:26] <C0nundrum> Would a interval be wasteful
[14:06:48] <icebox> Kwoth: here I am
[14:07:06] *** jpinnix______ has quit IRC
[14:07:08] <Kwoth> yo
[14:07:12] <icebox> Kwoth: ok...
[14:07:20] *** jpinnix______ has joined #angularjs
[14:07:34] <icebox> Kwoth: I said... I would start lite server as usual
[14:07:38] *** doodlehaus has joined #angularjs
[14:08:34] <icebox> Kwoth: then in server.js (expressjs server), I would add a condition based on environment for the static files
[14:08:43] *** bremnes has quit IRC
[14:08:54] *** bremnes has joined #angularjs
[14:08:55] *** baweaver has joined #angularjs
[14:09:10] *** buzzedword has quit IRC
[14:09:21] <icebox> Kwoth: if (NODE_ENV === "production") { app.use(express.static... }
[14:09:29] *** startupality has quit IRC
[14:09:38] <Kwoth> but that doesn't make sense
[14:09:44] *** george_v has quit IRC
[14:09:46] <icebox> Kwoth: why?
[14:09:48] <Kwoth> i dont care about production and development "stage"
[14:09:55] <Kwoth> the lite server will keep reloading the :3000 page
[14:10:10] <icebox> Kwoth: yes... because in dev you use lite-server for static files (and reload pages)
[14:10:19] <Kwoth> i don't want that, i want when i change either server or static file
[14:10:21] <Kwoth> my page reloads
[14:10:32] *** RD_ has joined #angularjs
[14:10:38] *** Raven is now known as Karasu
[14:10:44] *** shiriru has joined #angularjs
[14:10:54] *** doodlehaus has quit IRC
[14:10:58] <RD_> I am working on an angular application.i navigate to a View where i have a 3 tabs by default 'tab1' is selected,when i click on 'tab2' it get selected .i want to navigate back to 'tab1' when browser back button is clicked.This View has one controller bind to it.i want to navigate to previous tab without loading entire View
[14:10:59] <icebox> Kwoth: so you a double solution... for the client what I am showing you... and for the server something like nodemon to restart the server
[14:11:05] <RD_> can any1 help
[14:11:07] <icebox> Kwoth: *so you need
[14:11:39] *** GeekJon has joined #angularjs
[14:12:06] <icebox> Kwoth: however you said "i need page reloaded, not server now"
[14:12:24] <Kwoth> yes because i have PM2/ nodemon for server
[14:12:28] <Kwoth> i don't need a complete solution :D
[14:12:33] <Kwoth> but it mustn't be a server
[14:12:40] *** george_v has joined #angularjs
[14:12:42] <icebox> Kwoth: I don't follow yo
[14:13:00] <icebox> Kwoth: what do you mean "i want when i change either server or static file"?
[14:13:08] <Kwoth> ok, listen
[14:13:09] <icebox> Kwoth: ah ok...
[14:13:12] <Eduard_Munteanu> Ok, time to take a break from Javashit.
[14:13:20] <Kwoth> I have PM2
[14:13:22] *** suvdeep has quit IRC
[14:13:24] <icebox> Kwoth: I mean, static files and server ones
[14:13:30] *** baweaver has quit IRC
[14:13:42] <Kwoth> when i change the server file (index.js) in this case, the server restarts.
[14:13:43] <Kwoth> Yes
[14:13:45] <icebox> Kwoth: the solution is valid for client files (js, jpg and son on)
[14:13:54] *** RD_ has quit IRC
[14:13:55] <icebox> Kwoth: no...
[14:14:14] <Kwoth> I do not wan't 2 servers, nor 2 ports
[14:14:16] <icebox> Kwoth: the server? for that you said you have nodemon
[14:14:28] *** alinou has joined #angularjs
[14:14:29] *** ali_ has joined #angularjs
[14:14:29] <Kwoth> dude let me finish :D
[14:14:40] <icebox> Kwoth: hey... I am telling you a solution (a workaround)... if you don't like, don't buy :)
[14:14:51] <Kwoth> I don't get your workaround
[14:14:55] <Kwoth> it makes me use 2 sites
[14:14:57] <icebox> Kwoth: ok... bye :)
[14:14:59] <Kwoth> :3000 and :8000
[14:15:04] <Kwoth> i don't want that
[14:15:15] <Kwoth> I need everything on :8000
[14:16:13] *** dulax has quit IRC
[14:16:24] *** dulax has joined #angularjs
[14:16:30] *** softinio has quit IRC
[14:16:38] *** softinio has joined #angularjs
[14:17:08] *** Letze has quit IRC
[14:17:21] *** pellekrogholt has joined #angularjs
[14:17:27] *** Letze has joined #angularjs
[14:17:31] *** lnrdo has joined #angularjs
[14:18:10] *** dulax_ has joined #angularjs
[14:18:43] *** BahamutWC|Work has quit IRC
[14:18:46] *** angular has joined #angularjs
[14:19:10] *** softinio_ has joined #angularjs
[14:19:24] *** itamarjp has joined #angularjs
[14:19:25] *** itamarjp has joined #angularjs
[14:19:29] <icebox> Kwoth: ah... and of course the double port would be only on dev, with no changes in the app... but you don't like two servers in dev... please share a solution when you find it
[14:19:30] *** Atlas has joined #angularjs
[14:19:39] <ali_> Getting this issue on Firefox http://i.stack.imgur.com/PmcmQ.png http://quirktools.com/screenfly/#u=http%3A//www.tlsasalestraining.com/&w=800&h=600&s=1
[14:20:24] <icebox> ali_: I don't get the issue
[14:20:41] <icebox> ali_: what is the issue?
[14:21:10] <ali_> icebox, The blocks are not coming in one line. There alignment is wrong.
[14:21:20] <icebox> Foxandxss: did you move or always there?
[14:21:22] <Firo> That's more like a CSS issue
[14:21:38] <icebox> ali_: I second Firo's suggestion
[14:21:41] *** Letze_ has joined #angularjs
[14:22:03] <Firo> Use a grid and be happy :P
[14:22:13] <ali_> Firo, icebox okay Thanks :)
[14:22:18] *** TyrfingMjolnir has joined #angularjs
[14:23:03] *** inhumantsar has quit IRC
[14:23:12] *** inhumantsar has joined #angularjs
[14:24:28] *** jlebrech has joined #angularjs
[14:24:32] *** lnrdo has quit IRC
[14:24:36] *** lnrdo_ has joined #angularjs
[14:24:48] *** lemonsparrow has joined #angularjs
[14:25:01] <lemonsparrow> how can I avoid this error using lambda ? https://gist.github.com/mithunsasidharan/dc531b71184cce30989d
[14:25:49] *** SET002 has joined #angularjs
[14:26:13] *** nya_ has joined #angularjs
[14:27:18] <icebox> lemonsparrow: firstly don't use this... :) this.$scope...? why not, at least, only $scope.? then you need to save this as usual in the closures... var that = this; // or var self =this;...(and this is js not angularjs) :)
[14:27:27] <Foxandxss> icebox: I am not using IRC anymore
[14:27:36] <Foxandxss> I entered today because a friend of mine asked to
[14:27:37] *** Jesko has quit IRC
[14:27:38] <Foxandxss> special request
[14:27:41] <icebox> Foxandxss: ah ok... on slack?
[14:27:49] <Foxandxss> yes
[14:28:00] <lemonsparrow> icebox, cool.. but can u help me with the real issue..
[14:28:11] <icebox> Foxandxss: sigh.. I don't like it
[14:28:27] *** storresi has joined #angularjs
[14:28:43] *** walden|afk is now known as walden|brb
[14:28:48] *** walden|brb is now known as walden
[14:29:07] <icebox> lemonsparrow: what issue?
[14:29:34] *** SET001 has quit IRC
[14:29:46] <C0nundrum> Foxandxss is there a directive to disable css animations ?
[14:30:05] *** andersh has quit IRC
[14:30:06] <Foxandxss> sorry I am not following your issues C0nundrum
[14:30:11] <Foxandxss> not even sure why you direct all the messages to me
[14:30:22] <icebox> C0nundrum: [13:49] <@Foxandxss> my animation are -1
[14:30:23] <lemonsparrow> icebox, // TypeError: Cannot read property 'filtersMasterData' of undefined
[14:30:42] <lemonsparrow> icebox, thats coz its inside angular.forEach(this.$scope.filterController.filters, function(value,index){
[14:30:43] <icebox> lemonsparrow: I replied... didn't you read above?
[14:30:46] *** andersh has joined #angularjs
[14:30:47] <lemonsparrow> I think I should use lambda
[14:30:50] <lemonsparrow> =>
[14:30:59] *** such_doge has joined #angularjs
[14:31:15] <C0nundrum> didn't there use to be something like ng-animate="false" to stop $animate from adding css classes to that element ?
[14:31:22] *** mischat has joined #angularjs
[14:31:59] <icebox> C0nundrum: don't load animation script :)
[14:32:14] *** inhumantsar_ has joined #angularjs
[14:32:55] <C0nundrum> I want to sue the service though javascript
[14:33:01] <such_doge> i got a module named app, it has app.js, app.controller.js , app.controller.spec.js,
[14:33:07] <such_doge> the app.js file is last in order
[14:33:16] <C0nundrum> use*
[14:33:20] <such_doge> so the module gets undefined in the karma process
[14:33:32] <such_doge> can i fix it?
[14:33:43] *** pritt has joined #angularjs
[14:34:03] *** buzzedword has joined #angularjs
[14:34:20] <C0nundrum> and i think the extra css classes it's adding that i'm using is interfering
[14:34:36] <icebox> such_doge: check "files" properties... don't use globbing approach for the file where the module is created... files: [... "src/client/app/app.module.js", "src/client/app/**/*.js", ...]
[14:35:04] *** aks has quit IRC
[14:35:06] *** mischat__ has quit IRC
[14:35:10] *** TyrfingMjolnir has quit IRC
[14:35:22] <such_doge> once again you saved my job
[14:35:46] *** TyrfingMjolnir has joined #angularjs
[14:35:50] <icebox> C0nundrum: very hard to help you without something concrete like a plunker
[14:36:27] <Foxandxss> perhaps you should stop depending on others to save your job
[14:38:03] *** mchammer has quit IRC
[14:38:23] *** mchammer has joined #angularjs
[14:38:29] *** aendrew has quit IRC
[14:38:38] *** buzzedword has quit IRC
[14:38:39] *** aendrew has joined #angularjs
[14:38:55] *** sameer has joined #angularjs
[14:39:02] <sameer> hi
[14:39:12] <C0nundrum> How am i depending on others ? My questions have been unanwsered for most of the past 8 hours. And during that time i've been making progress on my own.
[14:39:15] <sameer> how can i setup angular in windows?
[14:39:45] <C0nundrum> Do i deserve to get put down for not having 100% understanding of the docs :/ ?
[14:39:51] <icebox> sameer: as in linux :)
[14:40:15] <sameer> i find it difficult in linux
[14:40:26] *** rho has quit IRC
[14:40:31] <sameer> ok how can i do it in linux?
[14:41:04] <icebox> sameer: no... why do you ask an angular setup for windows? it is the same in all environments
[14:41:39] *** GeekJon has quit IRC
[14:41:52] <sameer> coz i have both os, i tried in linux but it didnt work out so wants to try in windows
[14:42:01] <icebox> sameer: and it is the same in all enviroments like all others js frameworks :)
[14:42:13] <sameer> we need a server right
[14:42:16] <sameer> ?
[14:42:28] <sameer> to get full benifits if angular
[14:42:37] <Foxandxss> C0nundrum: that wasn' directed to you
[14:42:44] *** juro has quit IRC
[14:43:13] <icebox> sameer: I am afraid we are talking about two different things
[14:43:38] *** fixl has quit IRC
[14:43:50] <sameer> yeah i know i heard that it easy to set up angular in windows then in linux
[14:43:54] <sameer> so i just asked
[14:43:55] *** aks has joined #angularjs
[14:44:41] *** andersh_ has joined #angularjs
[14:45:27] *** mandric has joined #angularjs
[14:45:46] <sameer> ?
[14:46:15] <icebox> sameer: I beg your pardon but I am struggling to understand what you mean for "setup"
[14:46:36] *** rossimo_ has quit IRC
[14:46:36] *** sameer has left #angularjs
[14:47:14] *** mischat_ has joined #angularjs
[14:47:38] <icebox> sakustar: did you use any other js lib?
[14:47:52] *** aendrew_ has joined #angularjs
[14:47:59] <icebox> sakustar: sorry mistell
[14:48:18] *** mischat_ has quit IRC
[14:48:44] *** TyrfingMjolnir has quit IRC
[14:49:04] <Ugolin> Hi angular
[14:49:24] <Ugolin> In a directive I import html file, it is nicely working
[14:49:45] <Ugolin> But I can't figure out how to 'translate' this imported html piece
[14:50:50] <Ugolin> Because as it is imported it is not, yet, a string to work with
[14:51:03] *** dopesong has joined #angularjs
[14:51:06] *** mischat has quit IRC
[14:51:58] *** encryptd_fractal has joined #angularjs
[14:51:58] <icebox> Ugolin: so he doesn't work :)
[14:52:12] *** evilaliv3 has quit IRC
[14:52:14] *** TyrfingMjolnir has joined #angularjs
[14:52:28] <Ugolin> icebox: Hi !
[14:52:43] <icebox> Ugolin: hey... how long?
[14:52:54] <Ugolin> It does work, angular fits perfectly in our workflow !
[14:52:54] *** bayousoft has joined #angularjs
[14:53:01] <Ugolin> a month ?
[14:53:07] <Ugolin> more or less :)
[14:53:12] <Ugolin> but what a journey
[14:53:31] <Ugolin> I am happy to have made that choice
[14:53:42] <icebox> Ugolin: if I understood correctly, you need $compile
[14:54:19] <Ugolin> with $compile I can process what can be imported by templateUrl ?
[14:54:51] *** speeddragon has joined #angularjs
[14:55:07] *** ahaeger has joined #angularjs
[14:55:23] <icebox> Ugolin: https://docs.angularjs.org/guide/compiler
[14:55:54] *** buzzedword has joined #angularjs
[14:56:00] <Ugolin> I'll read that immediatly, thanks icebox
[14:56:13] <icebox> Ugolin: you are welcome. hope that helps
[14:56:55] *** dpicky has joined #angularjs
[14:57:06] <ekarlso> is there any ok template to use for a admin app ?
[14:58:03] <icebox> ekarlso: do you mean ready-to-use?
[14:58:40] <icebox> Ugolin: thre are many resources about it http://stackoverflow.com/questions/24615103/angular-directives-when-and-how-to-use-compile-controller-pre-link-and-post
[14:58:42] <C0nundrum> Alright, icebox i made a plnkr http://plnkr.co/edit/WnIWCOjRZDiRO9yM575r?s=5g635463456f3f45&p=streamer
[14:58:58] *** drej has quit IRC
[14:59:01] <ekarlso> icebox: something like that yes that has webpack :p
[14:59:19] <icebox> ekarlso: I am afraid there is not one
[14:59:35] <ekarlso> icebox: guess I'll have to put together thebn ;:|
[14:59:45] <Ugolin> icebox: wow, that seems to be solid material
[14:59:50] <Ugolin> thanks again
[15:00:18] <icebox> ekarlso: googling I found a few resources... I don't know if they suit for you
[15:00:26] <icebox> Ugolin: always here :)
[15:00:44] *** buzzedword has quit IRC
[15:00:54] <ekarlso> what's the best stuff for charts ?
[15:01:07] <icebox> C0nundrum: well... that is an app... a plunker is usually for a mcve... http://stackoverflow.com/help/mcve :)
[15:01:33] <icebox> ekarlso: d3.js.... but there are other resources... it depends on your requirements
[15:01:48] *** ali_ has quit IRC
[15:01:54] <ekarlso> icebox: diff on that and flot or so ?
[15:01:55] *** dpicky has quit IRC
[15:02:35] <C0nundrum> icebox what's there is my best approach at doing it.
[15:02:47] <C0nundrum> its not a whole app
[15:03:11] <C0nundrum> prob just looks bloated becasue of how ineffceintly i wrote it :/
[15:03:21] <icebox> ekarlso: integrated or or not integrated with angular, flexibility, and so on
[15:03:45] <icebox> C0nundrum: I know... don't worry
[15:04:33] *** adpirz has joined #angularjs
[15:04:57] *** Fenikkusu has joined #angularjs
[15:05:25] *** brk has quit IRC
[15:05:53] *** step1step2 has joined #angularjs
[15:06:05] <Fenikkusu> Is it possible to determine where/how a watch is changing? I have a directive that I'm applying to two inputs. In both cases, the directive is running. However, the first one runs perfectly, while the second is have the scope value set to undefined somehow.
[15:06:06] <C0nundrum> basically what is is is when numArray is updated, all the columns slide left except for the first one. thats done by apply .active to li elements. There is a second animation for when invidual items at updated and that done by applying .active to span elements .back and .front . Trying to get these to work together as well as with the css checkbox stlying has brought me to a dead end lol
[15:07:32] *** Sky[x] has quit IRC
[15:08:55] *** adpirz has quit IRC
[15:08:55] *** step1ste_ has quit IRC
[15:09:23] *** shoelessone has joined #angularjs
[15:09:34] *** marthinal has joined #angularjs
[15:10:07] <icebox> C0nundrum: maybe that is the reason I don't use animations :)
[15:10:09] *** syzygy_ has joined #angularjs
[15:10:17] *** illume has joined #angularjs
[15:10:37] *** ngbot has joined #angularjs
[15:10:37] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/v0HEp
[15:10:37] <ngbot> angular.js/master 0e729e1 Peter Bacon Darwin: chore(jenkins): run Jenkins builds on Node 4 (via nvm)...
[15:10:37] *** ngbot has left #angularjs
[15:11:30] *** GeekJon has joined #angularjs
[15:11:45] <icebox> C0nundrum: reading again your description
[15:11:47] *** ngbot has joined #angularjs
[15:11:47] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to v1.3.x: http://git.io/v0HuB
[15:11:48] <ngbot> angular.js/v1.3.x bf706f2 Peter Bacon Darwin: chore(jenkins): run Jenkins builds on Node 4 (via nvm)...
[15:11:48] *** ngbot has left #angularjs
[15:12:12] *** _matix has joined #angularjs
[15:12:35] *** Westen has joined #angularjs
[15:12:52] *** ngbot has joined #angularjs
[15:12:52] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to v1.2.x: http://git.io/v0Hub
[15:12:52] <ngbot> angular.js/v1.2.x 84dc5ed Peter Bacon Darwin: chore(jenkins): run Jenkins builds on Node 4 (via nvm)...
[15:12:53] *** ngbot has left #angularjs
[15:13:29] <icebox> codeman: in that plunker I see only "Streaming enabled", a button, an input and no animations
[15:13:37] *** doodlehaus has joined #angularjs
[15:13:41] *** fedenunez has joined #angularjs
[15:13:52] *** doodlehaus has joined #angularjs
[15:14:21] <icebox> C0nundrum: in that plunker I see only "Streaming enabled", a button, an input and no animations
[15:14:31] <icebox> C0nundrum: I don't see any log in the console
[15:14:40] <C0nundrum> hm one sec let me check it again
[15:14:50] <edrocks> are there any gulp plugins to extract your ui-router routes from your angularjs app?
[15:14:57] *** dpicky has joined #angularjs
[15:15:37] *** ngbot has joined #angularjs
[15:15:37] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/v0Hzd
[15:15:37] <ngbot> angular.js/master 4bcb307 Peter Bacon Darwin: chore(jenkins): remove unused argument definition
[15:15:38] *** ngbot has left #angularjs
[15:15:52] *** ngbot has joined #angularjs
[15:15:53] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to v1.4.x: http://git.io/v0Hzx
[15:15:53] <ngbot> angular.js/v1.4.x e1a182b Peter Bacon Darwin: chore(jenkins): remove unused argument definition
[15:15:53] *** ngbot has left #angularjs
[15:16:02] *** ngbot has joined #angularjs
[15:16:02] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to v1.2.x: http://git.io/v0HgJ
[15:16:03] <ngbot> angular.js/v1.2.x eacd9ad Peter Bacon Darwin: chore(jenkins): remove unused argument definition
[15:16:03] *** ngbot has left #angularjs
[15:16:16] <C0nundrum> ok icebox it should have automatically updated
[15:16:30] *** vrockai has quit IRC
[15:17:19] *** godlycow78 has joined #angularjs
[15:17:58] *** jr3 has joined #angularjs
[15:18:12] *** VaticanCameos has quit IRC
[15:18:22] *** erms has joined #angularjs
[15:19:06] *** sbasso has quit IRC
[15:19:11] *** Jardayn has joined #angularjs
[15:19:57] <icebox> C0nundrum: no diffs
[15:21:00] <C0nundrum> check now just finish my last change you should be able to see it sliding now
[15:23:50] <icebox> C0nundrum: sorry but for me it is all static.. no logs in the console
[15:24:18] <icebox> C0nundrum: I am afraid you are working on another link... the version number is the same
[15:24:18] <C0nundrum> Hm i will try forking the plnkr and see if that helps
[15:24:30] *** ahaeger has quit IRC
[15:24:32] <icebox> C0nundrum: version 7
[15:24:43] *** shinnya has joined #angularjs
[15:24:46] <icebox> C0nundrum: updated 26 minutes ago
[15:24:54] <C0nundrum> ok just pushed version 8 do you see it ?
[15:25:01] *** sbasso_ has joined #angularjs
[15:25:08] <icebox> C0nundrum: yes
[15:25:22] <icebox> C0nundrum: no log, no animations... zero
[15:25:39] <C0nundrum> browser ?
[15:25:46] <icebox> C0nundrum: chrome latest
[15:25:46] <C0nundrum> wow no logs
[15:26:17] <C0nundrum> maybe it a bug with this straming think i will try making it just a normal plnkr
[15:26:47] *** buzzedword has joined #angularjs
[15:26:47] *** killa_kyle has joined #angularjs
[15:27:33] <C0nundrum> alright what i see is this http://i.imgur.com/eZV5cpa.png
[15:27:39] <C0nundrum> This is the new plnkr http://plnkr.co/edit/WZx1HGO7YxWkDwfp6pfS?p=preview
[15:27:58] *** killa_kyle has quit IRC
[15:28:08] *** shoelessone has quit IRC
[15:28:23] *** h2baik has quit IRC
[15:28:32] <C0nundrum> please tell me it works this time lol ?
[15:28:40] <icebox> C0nundrum: this one works :)
[15:28:46] *** Drewery has joined #angularjs
[15:29:10] <C0nundrum> omg great. Was afraid the angular gods were condeming me lol
[15:29:29] <icebox> C0nundrum: reading again your desc above
[15:30:23] <icebox> C0nundrum: is the final result a continuos left shifting?
[15:30:53] <ekarlso> hmmms, I thought LESS was gone away ?
[15:30:55] <C0nundrum> line 46-50 is ti simulare new data being pulled in from json
[15:31:05] <C0nundrum> the frequency won't be as shot as it in in the plunkr
[15:31:09] <C0nundrum> short*
[15:31:20] *** buzzedword has quit IRC
[15:31:27] *** rocky1138 has joined #angularjs
[15:31:46] <icebox> C0nundrum: ah ok... firstly refresh break the reference
[15:31:46] <C0nundrum> to simulate*
[15:32:16] <icebox> C0nundrum: no way with $scope.numArray = ...something else... // the old reference is gone
[15:32:23] *** fnx has joined #angularjs
[15:32:28] <icebox> C0nundrum: use angular.merge or angular.copy
[15:32:42] <icebox> C0nundrum: I mean, use angular.merge or angular.extend
[15:33:28] <C0nundrum> well numArray maps to $scope.data so wouldn't the references still be the same ?
[15:33:37] <C0nundrum> since i only modify scope.data
[15:33:41] <icebox> C0nundrum: better initialize numArray to an Array... $scope.data = [1,2,3,4,5,6,7,8]; $scope.numArray = []; ...
[15:33:42] *** zigzagzig has joined #angularjs
[15:34:10] *** dpicky has quit IRC
[15:34:11] <icebox> C0nundrum: no... it is the result of mapping... new reference
[15:34:19] <C0nundrum> ah, ok
[15:34:21] *** lnrdo_ has quit IRC
[15:34:43] <icebox> C0nundrum: I don't know if it is relevant... but better to fix it
[15:35:04] <C0nundrum> btw i was using numArray to avoid linking directly to scope.data which would cause dupe errors
[15:35:13] *** diegoaguilar has joined #angularjs
[15:35:15] <C0nundrum> if numbers repeated
[15:35:21] <icebox> C0nundrum: every time you update something in the scope, be aware about the reference
[15:36:06] <icebox> C0nundrum: ok... to avoid dupe errors with arrays... add "track by index" :)
[15:36:18] <icebox> C0nundrum: "track by $index" :)
[15:36:39] <icebox> C0nundrum: pure arrays... not array of objects
[15:36:54] <C0nundrum> Yea i thought about that but the thing is with track by $index it wouldn't update the dom
[15:37:15] <icebox> C0nundrum: no... that was not the reason
[15:37:35] <icebox> C0nundrum: the reasone is the breaking reference
[15:38:46] <icebox> C0nundrum: you shoud reduce that example to ten lines... using only the relevant data and the logic... when data is ok, you can add animation
[15:38:52] *** s3shs has joined #angularjs
[15:39:22] <icebox> C0nundrum: otherwise different issues mix between them
[15:39:27] *** dopesong has quit IRC
[15:40:05] <icebox> C0nundrum: when the logic is ok, you can apply the animations :)
[15:40:08] *** Es0teric has joined #angularjs
[15:40:18] <C0nundrum> Well icebox thats is how it started
[15:40:33] *** jgraber has joined #angularjs
[15:40:42] <jgraber> Anybody else trying to use angular2 with jspm?
[15:40:43] *** aks has quit IRC
[15:40:53] <C0nundrum> wait so just chaning track by fixed it ?
[15:40:54] *** macabre has joined #angularjs
[15:40:55] <icebox> C0nundrum: nice
[15:41:06] *** Es0teric has quit IRC
[15:41:10] <jgraber> Getting this error: https://gist.github.com/robwormald/429e01c6d802767441ec#gistcomment-1651374
[15:41:24] *** dopesong has joined #angularjs
[15:41:24] <jgraber> Haven't seen any response on this issue yet, but seems to be an issue between ang2 and zone.js
[15:41:27] *** brollypop has joined #angularjs
[15:41:35] <C0nundrum> Do you have a updated plunkr ? or is it still broken ?
[15:42:10] <jgraber> @C0nundrum: are you asking me about plunkr?
[15:42:19] <jgraber> Don't have one, but I can put one together...
[15:42:27] <jgraber> I've never tried to use a package manager in plunkr...
[15:42:38] <icebox> jgraber: add zone.js
[15:42:41] <jgraber> Pretty easy to reproduce
[15:42:41] *** yes`r has quit IRC
[15:42:42] <C0nundrum> it was @icebox
[15:42:50] <jgraber> Cool, thanks
[15:42:54] *** icanteven has joined #angularjs
[15:42:57] <icebox> jgraber: "zone.js": "0.5.10"
[15:43:06] <jgraber> Fails on `import 'zone.js'`
[15:43:17] <jgraber> (zone.js imported via jspm)
[15:43:22] <icebox> jgraber: the import is correct... there is not the code :)
[15:43:24] <jgraber> Link through to that issue
[15:43:44] <jgraber> If you follow the directions in that readme, you can reproduce the issue
[15:44:01] <jgraber> There is not the code... you are implying that I would be getting a 404
[15:44:04] <jgraber> That's not the error
[15:44:14] <jgraber> The error is: `Uncaught (in promise) Error: Zone is not defined`
[15:44:19] *** illume has quit IRC
[15:44:24] <Crippy> anyone know of any method that you can compare a previous value from ng-repeat ie previous row value
[15:44:44] <Crippy> on initial output
[15:44:48] <icebox> jgraber: https://github.com/angular/angular/issues/5304
[15:45:06] *** vrockai has joined #angularjs
[15:45:22] <icebox> jgraber: read the latest comments
[15:45:38] <jgraber> I'll try that, thanks
[15:45:47] <jgraber> I'm hoping this is considered a temporary solution?!
[15:45:50] *** dopesong has quit IRC
[15:46:42] <icebox> jgraber: no idea
[15:46:45] *** intellix has joined #angularjs
[15:47:13] *** illume has joined #angularjs
[15:47:28] <C0nundrum> icebox are you still looking at my plunkr or did you want me to try the sugesstions and tell you if it worked ?
[15:47:30] *** vandyk has joined #angularjs
[15:47:46] *** jayeshsolanki has joined #angularjs
[15:48:03] *** jayeshsolanki has quit IRC
[15:48:21] <icebox> C0nundrum: the second you said
[15:48:42] *** jayeshsolanki has joined #angularjs
[15:48:53] *** jayeshsolanki has quit IRC
[15:48:54] <icebox> C0nundrum: really it would be better to work on it side by side, but I think it is not feasible
[15:49:13] <C0nundrum> jsfiddle implementation works better plnkr
[15:49:18] <C0nundrum> one sec
[15:50:29] <lemonsparrow> is there a way to improve this code ? https://gist.github.com/mithunsasidharan/a3f7115a2944c75d0155
[15:50:34] <lemonsparrow> I am trying to compare 2 objects based on certain object atributes
[15:50:36] <icebox> Crippy: do it in the controller, better in the service, preparing data for the view
[15:51:48] <icebox> lemonsparrow: did you try https://docs.angularjs.org/api/ng/function/angular.equals?
[15:51:52] <Crippy> ok
[15:53:09] <lemonsparrow> icebox, does it do the same thing ?
[15:53:37] *** andricDu has joined #angularjs
[15:53:39] <icebox> lemonsparrow: read the manual :)
[15:53:59] <ekarlso> icebox: what do you usually end up with, bootstrap or material ?
[15:54:05] <lemonsparrow> icebox, ok
[15:54:10] <icebox> ekarlso: material
[15:54:11] *** andricDu has quit IRC
[15:54:34] *** andersh_ has quit IRC
[15:54:46] *** jhirley has joined #angularjs
[15:54:50] <icebox> ekarlso: but bootstrap is better in responsive design, I mean the default works out-of-box
[15:55:10] *** aendrew_ has quit IRC
[15:55:13] <icebox> lemonsparrow: (it should be what you are looking for)
[15:55:24] <Crippy> icebox: thanks i want to set a flag as I want to compare two time and if the current is 10 mins out I need to set a flag, but know how to do it so that for the idea :)
[15:55:32] <ekarlso> icebox: heh, i'm a webdesign / webdev noobie, so I'd like a close to boiler thing to use
[15:55:33] <Crippy> two times*
[15:56:10] <ekarlso> icebox: suggestions ?
[15:56:16] *** OnkelTem has quit IRC
[15:56:42] <lemonsparrow> icebox, thanks
[15:56:54] <icebox> ekarlso: like?
[15:57:01] <ekarlso> to what to use :P
[15:57:38] <ekarlso> Foxandxss: does ui-bootstrap support bs4 yet?
[15:57:56] *** umdstu has joined #angularjs
[15:57:57] <icebox> ekarlso: I don't think so
[15:57:57] *** danielemm has quit IRC
[15:58:02] <ekarlso> darn :(
[15:58:09] *** vrockai has quit IRC
[15:58:10] *** danielemm has joined #angularjs
[15:58:28] <icebox> ekarlso: 4 is in alpha or in beta :)
[15:58:32] *** aks has joined #angularjs
[15:58:36] <ekarlso> icebox: so material is more fun ?
[15:58:41] *** OnkelTem has joined #angularjs
[15:58:47] <umdstu> is there something similar to angular-deckgrid that has built in support for filtering, sorting (and adding/removing entries)
[15:58:56] <icebox> ekarlso: for me it is perfect, baseed on flexbox
[15:59:02] *** vrockai has joined #angularjs
[15:59:08] *** mven has quit IRC
[15:59:16] *** tiagoboldt has joined #angularjs
[15:59:18] <icebox> ekarlso: but it depends on your requirements, user experience, customizations and so on
[15:59:25] <lemonsparrow> icebox, that worked.. thanks a lot :)
[15:59:26] *** marc_v92 has joined #angularjs
[15:59:31] *** dopesong has joined #angularjs
[15:59:34] <icebox> lemonsparrow: you are welcome
[15:59:39] <ekarlso> icebox: hah, I got no rqeuirements atm that I know if, i'm not a ui engineer :p
[15:59:57] *** dulax_ has quit IRC
[15:59:58] *** softinio_ has quit IRC
[16:00:22] *** ahaeger has joined #angularjs
[16:00:39] <icebox> ekarlso: well... the point is always the same... what if the widget lib doesn't suit to the project?
[16:00:56] *** Letze_ has quit IRC
[16:00:57] <ekarlso> icebox: heh, I dunno :p
[16:01:20] <icebox> ekarlso: so.. proof-of-concept spending a bit of time and trying to implement the critical points of the app
[16:01:36] <icebox> ekarlso: then... go or no-go :)
[16:01:54] *** dopesong has quit IRC
[16:01:59] <Foxandxss> it does not
[16:02:24] *** dopesong has joined #angularjs
[16:02:58] *** bengillies has quit IRC
[16:03:00] <icebox> ekarlso: don't forget there is also mdl.. material design light... http://www.getmdl.io/
[16:03:02] *** inhumantsar_ has quit IRC
[16:03:04] <ekarlso> icebox: heh, u mean just using standard boostrap or ?
[16:03:06] *** tomreinartz90 has quit IRC
[16:03:34] *** Brendan55 has joined #angularjs
[16:04:10] *** bengillies has joined #angularjs
[16:04:16] <icebox> ekarlso: I mean, the team needs to get some elements to choose the correct lib
[16:04:52] <ekarlso> ekarlso: I dont have a team :P
[16:05:03] *** evilaliv3 has joined #angularjs
[16:05:11] <ekarlso> icebox: but I guess http://flatlogic.github.io/angular-material-dashboard/site/#/dashboard < is pretty ok looking ?
[16:05:12] <icebox> ekarlso: so you cannot say "no" to yourself... any decision is ok :)
[16:05:57] <icebox> ekarlso: yep nice
[16:06:28] *** Es0teric has joined #angularjs
[16:06:31] *** lemonsparrow has quit IRC
[16:06:33] *** cotko has quit IRC
[16:07:09] *** Sergej has joined #angularjs
[16:07:59] *** swordfish has joined #angularjs
[16:08:30] *** swordfish has joined #angularjs
[16:09:02] *** liamonade has joined #angularjs
[16:09:16] *** swordfish has quit IRC
[16:09:22] *** swordfish has joined #angularjs
[16:09:28] <ekarlso> icebox: too bad they use gulp :p
[16:09:47] <jgraber> @icebox: issue https://github.com/angular/angular/issues/5304 resolved this
[16:10:00] <jgraber> I hope this isn't a long term / permanent solution
[16:10:05] <jgraber> Seemed a bit ugly
[16:10:18] <jgraber> Ultimately we want everything to come in through SystemJS as ES modules
[16:10:36] *** smccarthy has joined #angularjs
[16:10:38] *** buzzedword has joined #angularjs
[16:10:46] <jgraber> But granted, needing `import 'reflect-metadata';` at the top of an app is not ideal either
[16:10:54] *** cotko has joined #angularjs
[16:10:56] <jgraber> All of this is in flux and I'm sure will change as things are finalized
[16:11:08] <icebox> jgraber: agreed
[16:11:22] *** jgraber has quit IRC
[16:12:13] *** rchavik has quit IRC
[16:12:34] <icebox> ekarlso: that is not a problem... the code is there :)
[16:12:38] <umdstu> is there any templating done for angular-ui that could make it look like angular-deckgrid ?
[16:13:50] <ekarlso> icebox: how you mean code is therE ? :D
[16:14:02] <C0nundrum> ugghhhhhhh finally migrated to jsfiddle icebox https://jsfiddle.net/6kb8ky46/#&togetherjs=xgSCkFwnNV
[16:14:08] *** zeezey has joined #angularjs
[16:14:11] *** mary5030 has joined #angularjs
[16:14:28] <icebox> ekarlso: I mean you can see the code
[16:14:48] *** tiagoboldt has quit IRC
[16:14:54] <ekarlso> icebox: :o
[16:15:18] *** Schalla has joined #angularjs
[16:15:18] *** Schalla has joined #angularjs
[16:15:31] *** tiagoboldt has joined #angularjs
[16:15:43] <C0nundrum> And i made the changes you said but it stil appears the same. Does it load up fine for you :) ?
[16:16:40] *** suvdeep has joined #angularjs
[16:16:51] *** adpirz has joined #angularjs
[16:17:00] *** devPaul has joined #angularjs
[16:17:34] <C0nundrum> cool curor
[16:17:46] *** Drewery has quit IRC
[16:17:55] *** dopesong has quit IRC
[16:18:11] *** adpirz has quit IRC
[16:18:17] *** mven has joined #angularjs
[16:18:36] <icebox> C0nundrum: this is cheating var temp = $scope.numArray = $scope.data.map(... angular.extend($scope.numArray, temp)... always breaking the reference :)
[16:18:44] *** s3shs has quit IRC
[16:18:53] *** Drewery has joined #angularjs
[16:19:18] *** BahamutWC|Work has joined #angularjs
[16:19:27] <icebox> C0nundrum: I am afraid you need to resolve without me the problem
[16:19:28] <C0nundrum> k combined them
[16:19:35] <icebox> C0nundrum: gotta go
[16:19:45] <ekarlso> icebox: sucks that all the good themes costs $$$$
[16:19:46] <C0nundrum> :'( alright. Thanks for trying mate
[16:20:13] <icebox> ekarlso: in a few days you can develop one :)
[16:20:22] <ekarlso> icebox: lol :p, you mean that
[16:20:53] *** mischat has joined #angularjs
[16:21:36] <icebox> off... bye
[16:21:51] *** icebox has quit IRC
[16:22:09] *** dopesong has joined #angularjs
[16:23:12] *** erms has quit IRC
[16:23:17] *** illume has quit IRC
[16:23:35] *** BahamutWC|Work has quit IRC
[16:25:28] *** illume has joined #angularjs
[16:25:44] *** mischat has quit IRC
[16:26:05] *** juro has joined #angularjs
[16:26:19] *** george_v has quit IRC
[16:27:01] *** nocontrol has quit IRC
[16:27:44] *** Firo has quit IRC
[16:28:06] *** diegoaguilar has quit IRC
[16:28:21] *** adpirz has joined #angularjs
[16:28:35] *** drej has joined #angularjs
[16:29:16] *** _matix has quit IRC
[16:29:33] *** _matix has joined #angularjs
[16:30:26] *** dopesong has quit IRC
[16:30:43] *** davi has joined #angularjs
[16:30:43] *** juro has quit IRC
[16:30:59] *** kunj has joined #angularjs
[16:31:00] *** GetzelR has joined #angularjs
[16:31:17] *** jun_ has joined #angularjs
[16:31:19] <kunj> can u say me when angular js 1.0 was started
[16:31:28] <kunj> any one
[16:31:38] *** sbasso_ has quit IRC
[16:32:08] <icanteven> i can't
[16:32:33] *** umdstu has quit IRC
[16:32:43] *** dontsnee has joined #angularjs
[16:32:55] *** adpirz has quit IRC
[16:33:15] *** mischat has joined #angularjs
[16:33:16] *** Dmitri has quit IRC
[16:33:22] *** Sergej has quit IRC
[16:33:29] *** sbasso has joined #angularjs
[16:33:40] <dontsnee> good day everyone
[16:33:54] <dontsnee> http://pastebin.com/4YTCnsU6
[16:34:56] <dontsnee> in line 11, i call a fuciont selectTable() which is suppose to do some stuff on the ng-model selectedTable. However, when that function is called, the $scope.selectedTable is undefined
[16:35:22] <dontsnee> how can i pass that scope on the ng-click?
[16:35:28] *** kuadrosx has joined #angularjs
[16:35:54] *** erms has joined #angularjs
[16:36:04] *** danielemm has quit IRC
[16:36:08] *** tiagoboldt has quit IRC
[16:37:09] <senayar> kunj: 13 juin 2012 ~
[16:37:11] <senayar> https://github.com/angular/angular.js/commit/6dfe5be1556dc0c770cea8af78d1e0829ed24848
[16:37:18] *** jun_ has quit IRC
[16:37:23] <senayar> https://github.com/angular/angular.js/releases/tag/v1.0.0
[16:37:29] *** Slizz3r_ has quit IRC
[16:37:34] *** Zalabinsky has joined #angularjs
[16:37:56] *** mischat has quit IRC
[16:38:18] *** squeakytoy has quit IRC
[16:38:44] *** dopesong has joined #angularjs
[16:39:09] *** bbankes has joined #angularjs
[16:39:19] *** Slizz3r has joined #angularjs
[16:39:51] *** yes`r has joined #angularjs
[16:39:54] *** Slizz3r has joined #angularjs
[16:39:55] *** diegoaguilar has joined #angularjs
[16:40:20] *** syzygy_ has quit IRC
[16:41:00] *** doodlehaus has quit IRC
[16:41:42] *** Oleander has joined #angularjs
[16:42:49] *** Brendan55 has quit IRC
[16:43:01] *** doodlehaus has joined #angularjs
[16:43:49] *** marc_v92 has quit IRC
[16:44:06] *** Dmitri has joined #angularjs
[16:44:31] *** drej has quit IRC
[16:45:03] <dontsnee> okay I think i know how to fix this
[16:45:15] <dontsnee> can somebody post this on pastebin for me? http://jsfiddle.net/JSWorld/Hp4W7/34/
[16:45:22] <dontsnee> my workplace has blocked jsfiddle
[16:45:29] <dontsnee> please!
[16:45:35] *** rocky1138 has quit IRC
[16:46:50] *** Siafu has joined #angularjs
[16:47:25] *** speeddragon has quit IRC
[16:47:32] *** illume has quit IRC
[16:47:55] <Oleander> dontsnee: http://kopy.io/AKEFU
[16:48:14] <dontsnee> Oleander: omg thank you
[16:48:16] *** Brendan55 has joined #angularjs
[16:48:30] *** dcherman has joined #angularjs
[16:48:44] <C0nundrum> Oleander are you with the $animate service ?
[16:48:47] *** syzygy_ has joined #angularjs
[16:48:50] <C0nundrum> fmailiar*
[16:48:58] <Oleander> C0nundrum: Nope :)
[16:49:02] *** lite_ has quit IRC
[16:49:08] *** dbclk has joined #angularjs
[16:49:18] <C0nundrum> great !
[16:49:55] <Oleander> C0nundrum: But what is you problem with it ? :)
[16:50:22] <C0nundrum> basically out of sync i belief x.x https://jsfiddle.net/dragonpiper/6kb8ky46/6/
[16:50:55] *** fedenunez has quit IRC
[16:51:16] *** t4nkd has joined #angularjs
[16:51:42] *** dopesong has quit IRC
[16:51:42] *** icfantv has joined #angularjs
[16:51:48] *** phrozensilver has joined #angularjs
[16:52:55] *** senayar has quit IRC
[16:53:19] *** dopesong has joined #angularjs
[16:54:10] *** rocky1138 has joined #angularjs
[16:54:35] *** iraj has quit IRC
[16:55:01] *** intellix has quit IRC
[16:55:21] *** waltton has joined #angularjs
[16:56:44] *** senayar has joined #angularjs
[16:56:45] *** senayar has joined #angularjs
[16:56:50] *** s3shs has joined #angularjs
[16:57:19] *** Ir1sh has joined #angularjs
[16:57:35] *** illume has joined #angularjs
[16:57:38] *** Crippy has quit IRC
[16:58:18] *** tomfriedhof has joined #angularjs
[16:58:36] *** dopesong has quit IRC
[16:59:28] *** tiagoboldt has joined #angularjs
[16:59:55] *** shinnya has quit IRC
[17:00:29] *** waltton has left #angularjs
[17:01:02] *** mynameiswhat has quit IRC
[17:01:02] <dontsnee> can i ask one more person to paste this jsfiddle somewhere else for me? http://jsfiddle.net/jme11/n415es53/2/
[17:01:07] <dontsnee> thank you so much
[17:01:13] *** GeneralWhoopass has joined #angularjs
[17:02:03] *** speeddragon has joined #angularjs
[17:02:32] *** dpicky has joined #angularjs
[17:02:33] *** GeneralWhoopass has quit IRC
[17:02:46] *** GeneralWhoopass has joined #angularjs
[17:02:52] *** Ozd has quit IRC
[17:03:02] *** I has joined #angularjs
[17:03:11] *** Pspfolio has joined #angularjs
[17:03:18] *** Ozd has joined #angularjs
[17:03:24] *** I has quit IRC
[17:03:40] *** aghiuru has joined #angularjs
[17:04:01] *** inkata has joined #angularjs
[17:04:07] *** jrist has joined #angularjs
[17:04:09] *** adpirz has joined #angularjs
[17:04:13] *** dopesong has joined #angularjs
[17:04:28] *** corioliss has joined #angularjs
[17:04:32] *** aghiuru has quit IRC
[17:05:01] *** such_doge has quit IRC
[17:05:10] *** dontsnee has quit IRC
[17:05:16] *** BahamutWC|Work has joined #angularjs
[17:05:23] *** elsevero has quit IRC
[17:05:34] *** jrist has quit IRC
[17:05:58] *** Westen has quit IRC
[17:06:18] *** jrist has joined #angularjs
[17:06:34] *** BahamutWC|Work has quit IRC
[17:07:01] *** godlycow78 has quit IRC
[17:08:47] *** doodlehaus has quit IRC
[17:09:18] *** aghiuru_ has joined #angularjs
[17:09:42] *** Debnet has quit IRC
[17:09:50] *** ctanga has joined #angularjs
[17:10:04] *** plekplek has quit IRC
[17:10:28] *** Getzel has joined #angularjs
[17:11:07] *** lnrdo has joined #angularjs
[17:11:30] *** ril has joined #angularjs
[17:12:15] *** cacts|works has joined #angularjs
[17:12:20] *** juro has joined #angularjs
[17:13:00] *** s3shs has quit IRC
[17:13:33] *** BahamutWC|Work has joined #angularjs
[17:13:45] *** dopesong has quit IRC
[17:13:52] *** GetzelR has quit IRC
[17:14:09] *** jimvideo has joined #angularjs
[17:14:22] *** s3shs has joined #angularjs
[17:14:39] *** BahamutWC|Work has quit IRC
[17:14:46] *** hardyred has joined #angularjs
[17:14:55] *** aghiuru_ has quit IRC
[17:14:57] <hardyred> Hey there quick question about angular and cookies
[17:15:01] *** aghiuru has joined #angularjs
[17:15:32] <hardyred> I am succesfully storing my cookies for login information, however when I exit my browser and start up the page again the cookies seem to be cleared
[17:15:35] *** svycka has quit IRC
[17:16:09] *** Garfield-fr has quit IRC
[17:16:18] <hardyred> Is there anyway I can persist the cookies on browser exit (facebook and google have the "keep me logged in" function for this)
[17:16:28] <senayar> maybe your browser config delete cookies when you close it
[17:17:02] *** doodlehaus has joined #angularjs
[17:17:17] <senayar> look into the dev tool > Resources > Cookies
[17:17:37] *** intellix has joined #angularjs
[17:17:55] <C0nundrum> why is this so impossible to solve :ox.x
[17:18:43] *** aghiuru_ has joined #angularjs
[17:19:15] *** icanteven has quit IRC
[17:19:28] *** hefox has joined #angularjs
[17:20:15] *** aghiuru has quit IRC
[17:20:40] *** aghiuru has joined #angularjs
[17:20:44] *** kikero has joined #angularjs
[17:20:46] <kikero> hey!
[17:20:53] <hardyred> senayar: sorry how would I tell if it's deleting the cookies when I close?
[17:21:03] <kikero> I have an ng-repeat block that I use to show a list of items.
[17:21:04] <hardyred> senayar: the cookies only show up there when I am on the website page
[17:21:18] <kikero> At some point, I update the scope of that controller.
[17:21:38] <kikero> What I would like to do is to hide certain elements after the scope has updated, based on certain conditions.
[17:22:01] <kikero> I tried combining ng-repeat with ng-hide, but it hides me all the items.
[17:22:07] <kikero> What should I do?
[17:22:33] *** _matix has quit IRC
[17:22:36] *** aghiuru__ has joined #angularjs
[17:22:47] *** aghiuru_ has quit IRC
[17:23:13] *** Siafu has quit IRC
[17:23:44] *** aghiuru__ has quit IRC
[17:24:21] *** iraj has joined #angularjs
[17:24:45] *** illume has quit IRC
[17:25:16] *** aghiuru has quit IRC
[17:26:16] *** rocky1138 has quit IRC
[17:26:36] *** illume has joined #angularjs
[17:27:23] *** tiagoboldt has quit IRC
[17:27:27] *** Bloomer has joined #angularjs
[17:27:45] *** Dmitri has quit IRC
[17:29:21] *** dopesong has joined #angularjs
[17:29:28] *** brollypop has quit IRC
[17:29:34] <kitcat711> Bonjour
[17:29:51] *** BahamutWC|Work has joined #angularjs
[17:30:51] <kitcat711> I may have misunderstood how to work with a promise: can it be started more than once?
[17:31:00] *** swordfish has quit IRC
[17:31:12] *** speeddragon has quit IRC
[17:31:15] *** mischat has joined #angularjs
[17:31:39] *** speeddragon has joined #angularjs
[17:32:17] *** _matix has joined #angularjs
[17:32:24] *** aghiuru_ has joined #angularjs
[17:32:42] *** mischat_ has joined #angularjs
[17:32:51] *** dutis has quit IRC
[17:33:09] *** tiagoboldt has joined #angularjs
[17:33:10] *** MrBaboon has joined #angularjs
[17:33:58] *** s3shs has quit IRC
[17:34:02] <edrocks> does anyone have a site made with ui router?
[17:34:09] *** tomfriedhof has quit IRC
[17:34:23] *** jiggliemon has joined #angularjs
[17:35:36] *** aghiuru has joined #angularjs
[17:35:55] *** mischat has quit IRC
[17:35:56] *** lnrdo has quit IRC
[17:36:13] *** aghiuru has quit IRC
[17:36:19] *** aghiuru has joined #angularjs
[17:36:26] *** lnrdo has joined #angularjs
[17:36:34] *** ahaeger1 has joined #angularjs
[17:36:35] *** ahaeger has quit IRC
[17:37:50] *** aghiuru_ has quit IRC
[17:38:15] *** dopesong has quit IRC
[17:38:24] *** aks has quit IRC
[17:38:27] *** illume_ has joined #angularjs
[17:39:06] *** Brendan55 has quit IRC
[17:39:09] *** illume has quit IRC
[17:39:40] *** s3shs has joined #angularjs
[17:39:40] *** kunj has quit IRC
[17:39:40] *** lnrdo has quit IRC
[17:39:59] *** lnrdo has joined #angularjs
[17:40:51] *** mischat_ has quit IRC
[17:41:17] *** mischat has joined #angularjs
[17:41:48] *** Gus_ has joined #angularjs
[17:42:00] <Gus_> Hi
[17:42:22] *** \du has joined #angularjs
[17:42:36] <Gus_> Someone can help me? I trying to use two drop-down lists
[17:43:21] <Gus_> Depends on the choice of the first, the second drop-down show some values
[17:44:14] *** Gus_ has quit IRC
[17:44:54] *** swordfish has joined #angularjs
[17:45:05] *** mellernoia-work has joined #angularjs
[17:45:15] *** BahamutWC|Work has quit IRC
[17:46:00] *** Slizz3r has quit IRC
[17:46:26] *** mellernoia has quit IRC
[17:47:00] *** Eduard_Munteanu has quit IRC
[17:47:12] *** aks has joined #angularjs
[17:47:29] *** dopesong has joined #angularjs
[17:48:59] <\du> i have two select component with a $watch() each one, when one change or the other an ajax request is sent and a chart is generated. Which is the best way to acomplish the first loading? because at the moment two ajax request are sent..
[17:49:17] <\du> i am thinking to solve it with a flag, but no sure if it is the best way
[17:49:22] *** tiagoboldt has quit IRC
[17:49:22] *** baweaver has joined #angularjs
[17:49:27] <\du> any recomendation?
[17:49:28] *** Leon has quit IRC
[17:52:37] *** ril has quit IRC
[17:54:26] *** kikero has quit IRC
[17:54:30] *** s3shs has quit IRC
[17:55:36] *** frontend-dev has quit IRC
[17:55:45] *** dopesong has quit IRC
[17:56:07] *** sbasso has quit IRC
[17:56:39] *** tiagoboldt has joined #angularjs
[17:56:51] *** BahamutWC|Work has joined #angularjs
[17:57:07] *** dopesong has joined #angularjs
[17:57:40] *** t4nkd has quit IRC
[17:58:22] *** drptbl has quit IRC
[17:59:12] *** GeneralWhoopass has quit IRC
[17:59:12] *** lnrdo_ has joined #angularjs
[17:59:14] *** Hounddog has quit IRC
[17:59:40] *** devPaul has quit IRC
[17:59:53] *** devPaul has joined #angularjs
[18:01:24] *** Brendan55 has joined #angularjs
[18:01:36] *** baweaver has quit IRC
[18:02:10] *** \du has quit IRC
[18:02:33] *** lnrdo has quit IRC
[18:04:11] *** guilbep has quit IRC
[18:04:56] *** intellix has quit IRC
[18:06:15] *** dopesong has quit IRC
[18:07:51] *** Garfield-fr has joined #angularjs
[18:09:10] *** tomphp has quit IRC
[18:09:44] *** Getzel_R has joined #angularjs
[18:13:06] *** p0k0 has joined #angularjs
[18:13:24] *** Getzel has quit IRC
[18:13:38] *** Brendan55 has quit IRC
[18:14:14] *** lnrdo_ has quit IRC
[18:14:46] *** vrockai has quit IRC
[18:15:13] *** s3shs has joined #angularjs
[18:15:31] *** cavallari has joined #angularjs
[18:15:59] *** qdk has quit IRC
[18:16:02] *** junmin has joined #angularjs
[18:16:14] *** cavallari has quit IRC
[18:17:12] *** senayar has quit IRC
[18:17:32] *** TyrfingMjolnir has quit IRC
[18:18:09] *** mchammer has quit IRC
[18:19:03] *** lnrdo has joined #angularjs
[18:19:06] *** jhirley has quit IRC
[18:20:15] *** speeddragon has quit IRC
[18:20:44] *** mischat_ has joined #angularjs
[18:20:56] *** mac_ified has joined #angularjs
[18:22:45] *** Satya has joined #angularjs
[18:22:47] <Satya> HELP
[18:23:10] *** bradjones has quit IRC
[18:23:12] <Satya> Angular fix for text overflow in select dropdown
[18:23:49] <archon-> use shorter text
[18:24:10] *** mischat has quit IRC
[18:24:11] <Satya> I have a fixed width select
[18:24:28] <Satya> but the option is too long that it cannot be fit in that width
[18:24:32] *** bradjones has joined #angularjs
[18:24:33] *** bradjones has joined #angularjs
[18:24:44] *** illume_ has quit IRC
[18:24:54] <archon-> i don't think this has anything to do with angular
[18:24:55] <Satya> I need a fix that can display whole text on hovering the mouse
[18:25:05] *** Es0teric has quit IRC
[18:25:06] <Satya> yes htis is not angular.
[18:25:15] *** illume has joined #angularjs
[18:25:25] <Satya> but looking for an implementation in angular
[18:25:29] <Satya> if there is one
[18:25:30] *** mischat_ has quit IRC
[18:25:44] <archon-> try setting the title attribute of the option
[18:26:02] *** ril has joined #angularjs
[18:26:11] <Satya> this is cool..
[18:26:19] <Satya> yup.. that could be an option
[18:26:21] *** _matix has quit IRC
[18:26:21] <Satya> thank oyu
[18:26:28] <archon-> don't thank me, thank google
[18:26:35] *** doodlehaus has quit IRC
[18:26:41] *** aks has quit IRC
[18:27:45] *** _matix has joined #angularjs
[18:28:35] *** dpicky has quit IRC
[18:28:39] *** qdk has joined #angularjs
[18:29:55] *** Satya has quit IRC
[18:30:44] *** Brendan55 has joined #angularjs
[18:32:41] *** aks has joined #angularjs
[18:34:18] *** ahaeger1 has quit IRC
[18:35:04] *** OtherAllan has joined #angularjs
[18:35:10] *** moep has joined #angularjs
[18:35:32] *** junmin has quit IRC
[18:36:24] *** shiriru has quit IRC
[18:36:38] *** Dmitri has joined #angularjs
[18:37:12] *** inkata has quit IRC
[18:39:05] *** MattWelch has quit IRC
[18:40:02] *** junmin has joined #angularjs
[18:40:05] *** hardyred has quit IRC
[18:40:09] *** codeman has quit IRC
[18:40:55] *** Dmitri has quit IRC
[18:41:34] *** devPaul has quit IRC
[18:42:03] *** aghiuru has quit IRC
[18:42:25] *** Aliks has joined #angularjs
[18:42:55] *** jlebrech has quit IRC
[18:43:05] *** sergey_ has joined #angularjs
[18:43:06] *** squeakytoy has joined #angularjs
[18:43:15] *** Mattch has quit IRC
[18:43:28] *** jlebrech has joined #angularjs
[18:43:32] *** MattWelch has joined #angularjs
[18:43:36] *** Tyler_ has joined #angularjs
[18:44:27] *** aghiuru has joined #angularjs
[18:45:55] *** squeakytoy2 has quit IRC
[18:45:56] *** aks has quit IRC
[18:46:30] *** aghiuru_ has joined #angularjs
[18:47:37] *** devPaul has joined #angularjs
[18:47:50] *** jlebrech has quit IRC
[18:48:01] *** jlebrech_ has joined #angularjs
[18:48:12] *** Getzel has joined #angularjs
[18:48:47] *** cristatus has joined #angularjs
[18:49:56] *** aghiuru has quit IRC
[18:51:12] *** cotko has quit IRC
[18:51:24] *** Getzel_R has quit IRC
[18:52:15] *** Aliks has quit IRC
[18:52:52] *** step1step2 has quit IRC
[18:52:56] *** jr3 has quit IRC
[18:52:56] *** Aliks has joined #angularjs
[18:52:59] *** thatslifeson has joined #angularjs
[18:53:08] *** sergey_ has quit IRC
[18:53:30] *** dcherman2 has joined #angularjs
[18:53:56] *** bengillies has quit IRC
[18:54:39] *** step1step2 has joined #angularjs
[18:55:37] *** sergey_ has joined #angularjs
[18:56:28] *** dcherman has quit IRC
[18:57:37] *** tiagoboldt has quit IRC
[18:57:38] *** yanivkalfa_ is now known as yanivkalfa
[18:59:00] *** lnrdo_ has joined #angularjs
[19:00:48] *** buzzedword has quit IRC
[19:02:14] *** jlebrech_ has quit IRC
[19:02:50] *** lnrdo has quit IRC
[19:03:04] *** Oleander has quit IRC
[19:03:09] *** fotoflo has joined #angularjs
[19:05:57] *** buzzedword has joined #angularjs
[19:06:10] *** sigurding has quit IRC
[19:06:29] *** raza has joined #angularjs
[19:06:41] *** startupality has joined #angularjs
[19:06:47] <raza> Hey all, is there anyway I can check to see if Angularjs Bootstrap is being loaded?
[19:08:02] *** Daerist has quit IRC
[19:09:15] *** Aliks has quit IRC
[19:09:22] *** sbellina has joined #angularjs
[19:09:50] *** Aliks has joined #angularjs
[19:10:28] *** ril has quit IRC
[19:10:47] *** Status200 has quit IRC
[19:10:55] *** Pspfolio has quit IRC
[19:11:15] <icfantv> raza: you mean angular ui bootstrap?
[19:11:47] <raza> yes
[19:11:49] <icfantv> raza: if so, you want to make sure that you have "ui.bootstrap" in your list of module dependencies
[19:12:02] <icfantv> if it's there and angular is parsing that module, then it's being loaded
[19:12:24] *** fotoflo has quit IRC
[19:12:28] <raza> I guess I meant a way to check on the live site
[19:12:36] *** fotoflo has joined #angularjs
[19:12:36] *** Getzel_R has joined #angularjs
[19:12:37] *** rsk has joined #angularjs
[19:12:45] *** Brendan55 has quit IRC
[19:12:50] <icfantv> raza: are you using the new `uib-` prefixes on your components?
[19:13:24] <raza> icfantv, yes... maybe that's the issue? That's new huh
[19:13:31] *** Aliks_ has joined #angularjs
[19:13:33] <raza> Trying to get a simple dropdown to work, maybe I have an old version
[19:13:34] <icfantv> raza: hang on. what version of UIBS are you running?
[19:13:46] *** MattWelch has quit IRC
[19:14:15] *** dcherman2 has quit IRC
[19:14:28] <icfantv> raza: 0.14.3 is our latest, stable release and you should see deprecation warnings in your browser console if you're not using the `uib-` prefixes on our directives
[19:14:33] *** rsk has quit IRC
[19:14:50] *** Aliks has quit IRC
[19:15:04] *** codeitloadit has joined #angularjs
[19:15:15] <icfantv> raza: we've removed the deprecated code in `master` for the 1.0 release, but that's not officially released yet.
[19:16:03] *** bayousoft has quit IRC
[19:16:06] *** Getzel has quit IRC
[19:16:22] <C0nundrum> any heros here ? my code needs saving lol
[19:16:28] *** Pookz has joined #angularjs
[19:16:41] *** jun_ has joined #angularjs
[19:16:43] <raza> icfantv - 0.13.4
[19:16:50] *** MattWelch has joined #angularjs
[19:16:58] <raza> should I not be using the uib- prefix? Maybe that's my issue
[19:17:07] *** storresi has quit IRC
[19:17:38] *** sergey_ has quit IRC
[19:17:49] <raza> guess I could have read the "Migration to prefixes" section
[19:18:40] *** mischat has joined #angularjs
[19:18:43] <raza> icfantv, if I just remove uib- from everything will that suffice?
[19:18:50] *** t_mX has joined #angularjs
[19:19:09] <raza> so uib-dropdown to just dropdown?
[19:19:10] *** sergey_ has joined #angularjs
[19:19:22] *** Aliks_ has quit IRC
[19:19:27] *** storresi has joined #angularjs
[19:19:29] <t_mX> hey guys
[19:19:31] <t_mX> what's up?
[19:19:36] <t_mX> really nice to be here
[19:19:41] <t_mX> i am a big fond of angular
[19:19:41] *** Aliks has joined #angularjs
[19:19:51] <t_mX> and i am looking for resources to learn this thing
[19:20:05] <t_mX> so i guess that rather than looking into crappy youtube vids
[19:20:09] *** baweaver has joined #angularjs
[19:20:45] <t_mX> or using facebook
[19:20:52] <t_mX> i cam to the right place
[19:21:07] <t_mX> does someone have like a list of cool
[19:21:10] <t_mX> documentation
[19:21:14] <t_mX> for angular
[19:21:18] <t_mX> that i can download
[19:21:22] <t_mX> and dive into
[19:21:23] <t_mX> ?
[19:21:25] <t_mX> cheers
[19:21:26] <t_mX> ;)
[19:21:34] <ekarlso> Bwhy is it that some projects choose to use grunt vs webpack ?
[19:21:39] <t_mX> besides the links which are on the to of the page
[19:21:54] *** sergey_ has quit IRC
[19:23:18] *** peterR`` has joined #angularjs
[19:23:46] *** Slizz3r has joined #angularjs
[19:23:56] *** tiwest_ has quit IRC
[19:23:56] *** tiwest_ has joined #angularjs
[19:24:07] *** tiwest_ is now known as tiwest
[19:24:11] *** lnrdo_ has quit IRC
[19:24:14] *** sbellina has quit IRC
[19:24:24] *** lnrdo has joined #angularjs
[19:24:32] *** sergey_ has joined #angularjs
[19:25:19] *** KAsp3rd has joined #angularjs
[19:25:49] <KAsp3rd> anyone have any experiance extending angularjs native directices?
[19:26:00] <KAsp3rd> s/directices/directives/
[19:26:06] <BahamutWC|Work> KAsp3rd: explain
[19:26:08] <icfantv> raza: yea, those prefixes were added in 0.14.x
[19:26:08] <KAsp3rd> plunkr is here http://plnkr.co/edit/1eNYqVJmC3xSYWO8O3Lm?p=preview
[19:26:22] <icfantv> raza: we added a dropdown on the docs page so you get the right version of the docs.
[19:26:31] <icfantv> raza: make sure you have the right version selected.
[19:27:02] <icfantv> raza: if you decide to upgrade, be sure you read the CHANGELOG from your current version through the latest as there are at least a few breaking changes
[19:27:21] <KAsp3rd> BahamutWC|Work: http://plnkr.co/edit/1eNYqVJmC3xSYWO8O3Lm?p=preview submit button no longer activates on ng-disable when attempting to augment angular's input directive
[19:27:49] <icfantv> ekarlso: they're all just different build tools. i would recommend gulp or webpack if you're just starting out
[19:27:50] <BahamutWC|Work> KAsp3rd: I would just write a custom directive that hooks into the submit event then
[19:27:59] *** jun_ has quit IRC
[19:28:00] <BahamutWC|Work> or something like that
[19:28:18] *** erol has quit IRC
[19:28:31] *** blackjid has quit IRC
[19:28:42] *** t_mX has quit IRC
[19:28:51] <KAsp3rd> Was hoping to have it in every input as it submits to our backend that completely pukes on the DB because of 3rd party crap that we can't change :(
[19:28:52] <icfantv> raza: this is the version of the docs you want: http://angular-ui.github.io/bootstrap/versioned-docs/0.13.4/
[19:29:08] *** blackjid has joined #angularjs
[19:29:26] <icfantv> BahamutWC|Work: i wonder if we should make the docs dropdown more obvious
[19:29:51] <BahamutWC|Work> KAsp3rd: could make an `input` directive that only executes when disabled and on submit events
[19:30:06] <BahamutWC|Work> wouldn't override angular's behavior, and easily removed if necessary
[19:30:49] <KAsp3rd> BahamutWC|Work: I didn't realize that writing the directive as I did actually ovewrote the functionality of angularjs directives but thought it would "extend" it
[19:31:11] <BahamutWC|Work> KAsp3rd: something to keep in mind, you can have multiple directives with the same selector in angular
[19:31:33] <BahamutWC|Work> so if you do module.directive('input', function () { ... });, it defines a new directive and it co-exists with the existing one
[19:31:36] *** tiagomoraismorga has joined #angularjs
[19:31:56] <BahamutWC|Work> so when one defines an input element, both directives run
[19:32:08] <KAsp3rd> BahamutWC|Work: I did that in the plunkr, or so I thought I did. http://plnkr.co/edit/1eNYqVJmC3xSYWO8O3Lm?p=preview
[19:32:29] <BahamutWC|Work> ah yeah so you did
[19:32:39] <BahamutWC|Work> but your submit is happening on the button
[19:32:43] <BahamutWC|Work> not the input
[19:32:52] <BahamutWC|Work> so you'd need to add a custom directive there I thin
[19:32:54] <BahamutWC|Work> think*
[19:32:54] *** markfknight has quit IRC
[19:33:33] <KAsp3rd> the ng-disabled will not allow the button to enable with the way I wrote that. Did I write it wrong?
[19:35:03] *** tiagomoraismorga has quit IRC
[19:36:00] <BahamutWC|Work> perhaps then
[19:36:10] <BahamutWC|Work> maybe a looser ng-disabled condition would be better
[19:37:00] *** cristatus has quit IRC
[19:37:00] *** AndrewIsh has quit IRC
[19:37:50] *** davi has quit IRC
[19:38:48] *** fotoflo has quit IRC
[19:39:33] *** markfknight has joined #angularjs
[19:39:38] *** Robiferentz has joined #angularjs
[19:40:17] *** tm_X has joined #angularjs
[19:40:22] <Robiferentz> anyone else not able to submit to google feedback from the angular.io docs?
[19:40:49] *** LeBlaaanc has joined #angularjs
[19:41:30] *** LabCoatNomad has joined #angularjs
[19:41:53] *** baweaver has quit IRC
[19:41:54] <Robiferentz> hello... is there anybody out there?
[19:42:38] <Robiferentz> for a chat room, this is rather.... unchatty
[19:42:55] *** Robiferentz has quit IRC
[19:43:12] <icfantv> wow, waited < 3 whole minutes....
[19:43:35] *** Aliks_ has joined #angularjs
[19:44:49] *** Slizz3r has quit IRC
[19:44:55] *** Aliks has quit IRC
[19:44:57] *** jun_ has joined #angularjs
[19:45:04] <BahamutWC|Work> don't you know, it's a show me world
[19:45:09] <BahamutWC|Work> no time to wait
[19:45:35] *** dbclk has quit IRC
[19:46:06] *** Slizz3r has joined #angularjs
[19:46:31] *** zol has joined #angularjs
[19:46:44] *** Bloomer has quit IRC
[19:47:46] <zol> Hi! At http://zl.nu:6006/#/courses/11/exams/104, I get some errors because a function in the scope of my controller is called before a $http call has finished. How can I tell angular to wait for that $http response before it starts processing the view?
[19:47:54] *** mellernoia-work has quit IRC
[19:48:23] <zol> https://github.com/Zolomon/xmr/blob/master/public/js/ExamController.js#L13 -- relevant code.
[19:48:46] <zol> This is function is called before teh query below has finished.
[19:49:43] *** Marble68 has joined #angularjs
[19:49:54] *** baweaver has joined #angularjs
[19:51:15] *** tm_X has quit IRC
[19:51:15] *** Aliks_ has quit IRC
[19:51:47] *** Getzel has joined #angularjs
[19:53:07] *** Aliks has joined #angularjs
[19:54:18] *** lnrdo_ has joined #angularjs
[19:54:19] *** lnrdo has quit IRC
[19:55:22] *** Getzel_R has quit IRC
[19:56:35] *** juro has quit IRC
[19:56:52] *** aks has joined #angularjs
[19:57:26] *** diegoaguilar has quit IRC
[19:57:37] *** doodlehaus has joined #angularjs
[19:57:52] *** Zemzemi has joined #angularjs
[19:58:17] *** sergey_ has quit IRC
[19:59:35] *** sergey_ has joined #angularjs
[19:59:53] *** buzzedword has quit IRC
[20:00:18] *** baweaver has quit IRC
[20:00:36] *** jr3 has joined #angularjs
[20:00:43] *** lnrdo_ has quit IRC
[20:01:04] *** suvdeep has quit IRC
[20:01:16] *** greengriminal has joined #angularjs
[20:01:23] *** Amnez777 has quit IRC
[20:01:27] *** aks has quit IRC
[20:01:39] *** Amnez777 has joined #angularjs
[20:01:41] *** Zemzemi has quit IRC
[20:02:12] *** doodlehaus has quit IRC
[20:02:12] *** Amnez777 has joined #angularjs
[20:02:13] *** TyrfingMjolnir has joined #angularjs
[20:02:16] *** vandyk has quit IRC
[20:03:16] *** Zemzemi has joined #angularjs
[20:03:32] *** Oleander has joined #angularjs
[20:04:56] *** jstroem has quit IRC
[20:05:27] *** TinkerTyper has joined #angularjs
[20:05:29] *** yky_ has joined #angularjs
[20:06:12] *** Slizz3r has quit IRC
[20:06:27] *** sssilver has joined #angularjs
[20:06:38] *** TinkerTyper has quit IRC
[20:07:00] *** qdk has quit IRC
[20:07:53] *** b1x1t0__ has quit IRC
[20:07:54] *** buzzedword has joined #angularjs
[20:08:13] *** austinsk8s has joined #angularjs
[20:08:58] *** TinkerTyper has joined #angularjs
[20:09:20] *** Oleander has quit IRC
[20:09:30] *** Zemzemi has quit IRC
[20:10:14] *** TinkerTyper has quit IRC
[20:10:14] *** sssilver has quit IRC
[20:10:17] <icfantv> zol: first, don't make $http calls directly in your controller. create a service for that.
[20:10:43] *** tiwest has quit IRC
[20:10:47] <icfantv> zol: secondly, you need to use the promise returned from the calls do to post processing. e.g. don't set the value on your $scope until the call completes
[20:10:51] *** Brendan55 has joined #angularjs
[20:10:52] *** sssilver has joined #angularjs
[20:11:04] *** s3shs has quit IRC
[20:11:11] *** tiwest has joined #angularjs
[20:11:18] *** tm_X has joined #angularjs
[20:11:47] <zol> icfantv: Thanks, didn't know about services. The second part however, isn't that exactly what I'm doing?
[20:12:05] *** cliluw has quit IRC
[20:12:21] *** sergey_ has quit IRC
[20:12:34] *** TinkerTyper has joined #angularjs
[20:13:18] <icfantv> zol: no.
[20:13:44] *** TinkerTyper has quit IRC
[20:13:45] *** diegoaguilar has joined #angularjs
[20:13:45] *** sergey_ has joined #angularjs
[20:13:52] *** cliluw has joined #angularjs
[20:14:17] <icfantv> zol: you want, but via a service - and this is really crude, $http.get(…).then(function(response) { $scope.date = response.data.yourDateField; })
[20:14:38] *** Slizz3r has joined #angularjs
[20:15:22] <icfantv> zol: all $http calls return a $promise which takes a function that gets the result of your server call. think of it as deferred processing or "I promise to execute this code when i finish what i'm currently doing"
[20:15:36] <icfantv> zol: you can use promises for all kinds of async stuff
[20:15:48] <icfantv> zol: for that, you want the $q service
[20:16:00] *** TinkerTyper has joined #angularjs
[20:16:22] *** wonder95 has joined #angularjs
[20:16:33] *** Brendan55 has quit IRC
[20:16:50] <icfantv> it's a different way of thinking since there's no threads in JS, we've been used to blocking API calls for ever…not any more w/ promises
[20:17:14] *** TinkerTyper has quit IRC
[20:17:17] <icfantv> zol: the call to something that returns a promise returns right away without blocking.
[20:17:50] *** aghiuru has joined #angularjs
[20:17:51] <icfantv> zol: make sense?
[20:18:26] *** jun_ has quit IRC
[20:18:59] *** jun_ has joined #angularjs
[20:19:17] *** buzzedword has quit IRC
[20:19:49] *** qdk has joined #angularjs
[20:19:57] *** aghiuru_ has joined #angularjs
[20:20:18] *** corioliss has quit IRC
[20:20:18] *** aphprentice has quit IRC
[20:20:29] *** codeman has joined #angularjs
[20:21:11] *** Brendan55 has joined #angularjs
[20:22:14] *** sssilver has quit IRC
[20:22:30] *** p0k0 has quit IRC
[20:22:48] *** batch4226 has joined #angularjs
[20:23:00] *** corioliss has joined #angularjs
[20:23:20] *** aghiuru has quit IRC
[20:23:32] *** AciD` is now known as AciD
[20:23:47] *** mandric has quit IRC
[20:23:49] *** _matix has quit IRC
[20:24:00] *** macobo has joined #angularjs
[20:24:02] *** AciD is now known as Guest19090
[20:24:30] *** Ugolin has quit IRC
[20:24:31] <batch4226> hey everyone. I am trying to load a bunch of items via json in to a carousel. I want to wait for the json to finish before i attempt to add those elements to a slider
[20:25:13] <batch4226> i am using $http.get("json file").success(function(....)
[20:26:17] *** codeman has quit IRC
[20:26:35] *** vandyk has joined #angularjs
[20:27:04] *** eof has joined #angularjs
[20:27:10] <eof> hello
[20:27:10] *** c00ljs_ has joined #angularjs
[20:27:20] <icfantv> batch4226: use .then instead of .success
[20:27:26] <icfantv> batch4226: but so far, so good
[20:27:43] <eof> anyone got a sec to answer an angular noob's question about best practices?
[20:28:00] <icfantv> eof: just ask. if we can help, we will
[20:28:05] <batch4226> so inside that "then" i could initialize the slider/carousel?
[20:28:43] <icfantv> batch4226: if, by "initialize" you mean something like .then(function(response) { $scope.carouselData = response.data; }) then, yes
[20:28:55] <icfantv> batch4226: but put your $http calls in a service
[20:29:04] <icfantv> batch4226: don't make them directly in your controller
[20:29:09] <eof> cool, so I have a service that stores data in sessionstorage and all that works fine, but I'm basically setting a watchcollection on items from scope, and to do that i have to pass $scope into a function on the service
[20:29:23] *** swordfish has quit IRC
[20:29:36] <eof> Is it bad practice to pass $scope to a function in the service to set watchcollections? Is there a cleaner way to do that?
[20:29:42] *** c00ljs has quit IRC
[20:29:44] <icfantv> eof: yea, don't pass your scope around
[20:30:04] *** greengriminal has quit IRC
[20:30:06] <eof> okay, felt dirty when I was writing it.
[20:30:14] <icfantv> if only one module cares about changes to that service's collection then define the watch in that module
[20:30:18] <icfantv> good!
[20:30:35] *** TyrfingMjolnir has quit IRC
[20:30:43] <icfantv> a lot of programming is trusting your gut - if you ever stop and say to yourself "this sucks"
[20:31:05] <eof> yeah, hehe.
[20:31:05] <icfantv> or "this feels dirty" or "there has to be an easier way to do this" - you're probably right
[20:31:14] <eof> so, a followup question.
[20:31:33] <icfantv> shoot
[20:31:50] <eof> basically I want to do this in a few different controllers (storing stuff in sessionstorage) but I want a DRY way to do it.
[20:32:14] <icfantv> eof: here's the rub, you're probably going to do DIFFERENT things based on when that collection changes, right?
[20:32:22] <icfantv> so you're not really repeating yourself
[20:32:30] <eof> well, kinda sorta.
[20:32:46] <eof> I have a function that I pass in scope, and a collection string to watch
[20:32:59] <eof> as they change, I want to write them to $sessionStorage
[20:33:16] *** yeshacker has joined #angularjs
[20:33:17] *** yes`r has quit IRC
[20:33:21] <icfantv> not sure i follow the "function you pass in scope" bit
[20:33:44] <icfantv> do you mean you have a scope function which modifies data that you want to get into session storage?
[20:33:53] *** yanivkalfa has quit IRC
[20:34:14] <eof> service is injected into the controller, service has a function that given scope, and an array of strings to watch, it sets watchcollection
[20:34:30] <eof> when items in the watchcollection are changed, they're updated in session storage
[20:34:40] <icfantv> k
[20:34:55] <eof> should I just write this all in the contoller, for each controller where it's applicable?
[20:35:07] <eof> cause as you said, passing $scope is not best practice.
[20:35:10] <icfantv> can you gist two different examples?
[20:35:13] *** yanivkalfa has joined #angularjs
[20:35:21] <eof> sure, gimme a few.
[20:35:22] <icfantv> you can stub stuff out as needed
[20:35:29] <icfantv> and only paste the relevant code
[20:35:37] *** doodlehaus has joined #angularjs
[20:36:40] <batch4226> thank you icfantv. i am going to give that a shot
[20:36:54] *** doodlehaus has joined #angularjs
[20:36:56] *** jstroem has joined #angularjs
[20:37:10] <batch4226> i have to bail for a bit, i will be back later
[20:37:18] *** batch4226 has quit IRC
[20:37:39] *** Aliks has quit IRC
[20:37:46] *** batch4225 has joined #angularjs
[20:38:20] *** Aliks has joined #angularjs
[20:38:31] *** s00pcan has quit IRC
[20:40:04] *** s00pcan has joined #angularjs
[20:40:13] <eof> icfantv:
[20:40:14] <eof> http://pastebin.com/42ixPHbq
[20:40:28] *** punknroll has quit IRC
[20:40:29] *** frem has joined #angularjs
[20:40:45] *** Z3R0 has joined #angularjs
[20:40:46] *** buzzedword has joined #angularjs
[20:41:28] *** mandric has joined #angularjs
[20:42:25] *** buzzedword has quit IRC
[20:42:30] *** buzzedwo_ has joined #angularjs
[20:42:34] *** Es0teric has joined #angularjs
[20:42:38] *** batch4225 has quit IRC
[20:45:27] *** aghiuru has joined #angularjs
[20:46:42] <eof> icfantv: you get that link?
[20:47:09] <icfantv> eof: sorry, at work. one sec
[20:47:22] <eof> np. was jw if you saw it.
[20:48:21] *** marthinal has quit IRC
[20:48:59] <icfantv> eof: looks pretty straight forward
[20:49:09] <icfantv> i would just extract out passing in your scope
[20:49:14] *** aghiuru_ has quit IRC
[20:49:34] *** tigre has joined #angularjs
[20:49:44] <eof> any recommendation on how to do that? Bit of an angular noob. I come from the world of Backbone.
[20:49:49] <icfantv> the function for your $watchCollection can be a handle to another service method
[20:50:35] *** Z3R0 has quit IRC
[20:50:47] <icfantv> hmmm, but you need to pass in the data
[20:51:54] *** tigre has quit IRC
[20:53:35] <icfantv> oh, you can do it via an anonymous function
[20:53:36] *** doodlehaus has quit IRC
[20:53:54] *** doodlehaus has joined #angularjs
[20:54:30] <icfantv> $scope.watchCollection(collections, function() { return MyService.commonFunction(param1, param2); })
[20:54:32] *** n00bdev has joined #angularjs
[20:56:44] *** Ir1sh has quit IRC
[20:56:54] *** Aliks_ has joined #angularjs
[20:57:02] <eof> so extract the functionality from my service to an anonymous function in the controller?
[20:57:10] *** yanivkalfa has quit IRC
[20:57:32] <eof> sorry if im bein slow, just want to make sure I'm understanding correctly.
[20:58:10] *** sbellina has joined #angularjs
[20:58:50] *** startupality has quit IRC
[20:58:55] *** Aliks has quit IRC
[20:59:18] *** speeddragon has joined #angularjs
[21:00:24] *** Brendan55 has quit IRC
[21:00:58] *** baweaver has joined #angularjs
[21:02:32] *** cornerma1 has joined #angularjs
[21:03:08] *** sbellina has quit IRC
[21:03:19] *** Brendan55 has joined #angularjs
[21:03:26] *** _matix has joined #angularjs
[21:05:35] *** cornerman has quit IRC
[21:05:39] *** cornerma1 is now known as cornerman
[21:06:13] *** baweaver has quit IRC
[21:06:25] *** Oleander has joined #angularjs
[21:08:48] *** ctanga has quit IRC
[21:08:52] *** fotoflo has joined #angularjs
[21:09:56] *** Brendan55 has quit IRC
[21:11:03] *** Oleander has quit IRC
[21:11:29] *** ak52 has joined #angularjs
[21:12:23] *** jhirley has joined #angularjs
[21:12:39] *** Teja has joined #angularjs
[21:13:45] *** fixl has joined #angularjs
[21:15:01] *** suvdeep has joined #angularjs
[21:15:20] *** step1step2 has quit IRC
[21:15:23] *** fixl has joined #angularjs
[21:15:24] *** s00pcan has quit IRC
[21:16:27] *** step1step2 has joined #angularjs
[21:16:29] *** Brendan55 has joined #angularjs
[21:17:35] *** qdk has quit IRC
[21:17:46] *** Ozd has quit IRC
[21:17:53] *** ctanga has joined #angularjs
[21:18:17] *** Drewery has quit IRC
[21:19:42] *** bayousoft has joined #angularjs
[21:21:12] *** suvdeep has quit IRC
[21:22:18] *** shinnya has joined #angularjs
[21:23:35] *** Zalabinsky has quit IRC
[21:24:37] *** Ir1sh has joined #angularjs
[21:25:06] *** elyssonmr has quit IRC
[21:25:13] *** Ugolin has joined #angularjs
[21:25:18] *** weshardee has joined #angularjs
[21:27:00] *** mandric has quit IRC
[21:27:36] *** baweaver has joined #angularjs
[21:27:42] *** prbc has joined #angularjs
[21:27:44] *** weshardee has quit IRC
[21:28:45] *** s3shs has joined #angularjs
[21:29:49] *** swordfish has joined #angularjs
[21:29:50] *** Ugolin has quit IRC
[21:31:28] *** s00pcan has joined #angularjs
[21:31:38] *** jhirley has quit IRC
[21:32:13] *** jhirley has joined #angularjs
[21:32:35] *** Ali_ has joined #angularjs
[21:33:24] *** vandyk has quit IRC
[21:33:51] *** Aliks has joined #angularjs
[21:34:23] *** SomeKittens has joined #angularjs
[21:34:29] *** swordfish has quit IRC
[21:34:30] *** Aliks_ has quit IRC
[21:34:35] *** ferr has joined #angularjs
[21:34:38] *** prbc has quit IRC
[21:36:08] *** flavioZ_ has joined #angularjs
[21:36:13] *** ferr has quit IRC
[21:37:07] *** Garfield-fr has quit IRC
[21:38:19] *** _matix has quit IRC
[21:38:55] *** Aliks has quit IRC
[21:38:56] *** CJulien has joined #angularjs
[21:39:48] *** Aliks has joined #angularjs
[21:40:20] *** kk_drop has quit IRC
[21:40:54] *** ctanga has quit IRC
[21:41:36] *** ctanga has joined #angularjs
[21:42:38] *** Ali_ has quit IRC
[21:43:02] *** illume has quit IRC
[21:43:13] *** anthony23_ has joined #angularjs
[21:43:17] *** jhirley has quit IRC
[21:43:47] *** ferr has joined #angularjs
[21:43:51] *** dpicky has joined #angularjs
[21:44:16] <flavioZ_> Hello, is anyone here?
[21:44:24] *** illume has joined #angularjs
[21:45:10] *** dopesong has joined #angularjs
[21:46:12] *** ctanga has quit IRC
[21:47:01] *** swordfish has joined #angularjs
[21:47:51] *** ferr has quit IRC
[21:48:07] *** ferr has joined #angularjs
[21:48:17] *** tm_X has quit IRC
[21:48:53] *** bayousoft has quit IRC
[21:49:32] *** zigzagzig has quit IRC
[21:50:30] *** ahhhndi has joined #angularjs
[21:51:50] *** Aliks_ has joined #angularjs
[21:52:08] *** buzzedwo_ has quit IRC
[21:53:04] <wafflejock> flavioZ_: as here as I can be
[21:53:10] *** CJulien has quit IRC
[21:53:10] *** Aliks has quit IRC
[21:53:36] *** zigzagzig has joined #angularjs
[21:55:08] *** mandric has joined #angularjs
[21:57:40] *** Aliks has joined #angularjs
[21:57:48] *** hackel has joined #angularjs
[21:57:55] *** Aliks_ has quit IRC
[21:58:14] *** fixl has quit IRC
[21:58:17] *** mven has joined #angularjs
[21:58:53] *** prbc has joined #angularjs
[21:59:16] <flavioZ_> wafflejock: Hello, being here for a while :). Hopefully you can help me. I have an angular app with a Django app. Currently, I am working on a reset feature. Url is something like flavio.com/#/reset../uid/token/ It works as expected. But, if I manually type anything for the uid and token it will take me to the view. What is the best way to handle this?
[22:00:08] *** fnx has quit IRC
[22:00:21] *** buzzedword has joined #angularjs
[22:00:36] <wafflejock> flavioZ_: well what's the expectation for what should happen?
[22:01:01] *** buzzedword has quit IRC
[22:01:36] <wafflejock> flavioZ_: you may want to have something happen in a resolve or in the controller for the view that checks the codes and either notifies the user the values aren't valid or notifies them and redirects them, but not sure what you're going for
[22:01:39] <icfantv> eof: sorry. you need to use our nicks or we never see the question
[22:01:39] *** buzzedword has joined #angularjs
[22:02:00] <icfantv> eof: if the functionality is duplicate across controllers, put it in the service
[22:02:32] <icfantv> eof: if the functionality is different but there are parts that are the same, those MAY be candidates for extraction, but it totally depends on your scenario.
[22:02:43] *** buzzedword has quit IRC
[22:02:58] *** DavidDudson has joined #angularjs
[22:03:08] <eof> icfantv: I got it all sorted, thank you very much :D
[22:03:12] <flavioZ_> wafflejock: As I user I can click forgot password. Django will generate a reset email with a link. Once user click the link they will be able to enter the new password.
[22:03:31] *** buzzedword has joined #angularjs
[22:04:27] <flavioZ_> wafflejock: Sorry for my lack of understanding, it is my first time working with Angular.
[22:05:21] <icfantv> eof: yep
[22:05:25] *** dopesong has quit IRC
[22:05:44] *** Aliks_ has joined #angularjs
[22:06:53] *** loplin has joined #angularjs
[22:07:39] <loplin> Hello. I've recently noticed that my form names are not added to the controller scope and I have to use ng-init to manually add the form to the scope.
[22:08:05] *** buzzedword has quit IRC
[22:08:05] *** Aliks has quit IRC
[22:08:15] <loplin> Can anyone tell me when this changed, or if it didn't and I have just broken something?
[22:08:21] *** shoelessone has joined #angularjs
[22:08:52] *** qdk has joined #angularjs
[22:09:22] *** hello has joined #angularjs
[22:09:47] *** hello is now known as Guest20720
[22:10:18] *** lnrdo has joined #angularjs
[22:10:37] * Guest20720 slaps baweaver around a bit with a large fishbot
[22:10:48] *** TinkerTyper has joined #angularjs
[22:10:57] *** Guest20720 has quit IRC
[22:11:37] *** Slizz3r has quit IRC
[22:13:08] *** Dmitri has joined #angularjs
[22:14:34] *** patrick99e99 has joined #angularjs
[22:14:46] *** anthony23 has quit IRC
[22:15:26] <patrick99e99> has anyone here used angular-viewport-watch? I am getting this error "cannot read property create of undefined" which I see is in an issue on github --> https://github.com/shahata/angular-viewport-watch/issues/3
[22:15:43] <patrick99e99> however the person's response is "This is because you need to charge first scrollMonitor.js" which I have no idea what it means to charge scrollMonitor
[22:16:22] *** TinkerTyper has quit IRC
[22:18:15] *** cacts|works has quit IRC
[22:18:15] *** Dmitri has quit IRC
[22:18:33] *** Slizz3r has joined #angularjs
[22:18:59] *** cacts|works has joined #angularjs
[22:20:43] *** TinkerTyper has joined #angularjs
[22:21:43] <wafflejock> flavioZ_: no worries I just don't really see where the issue is, are you using ui-router for the angular routing? if so you'd use $stateParams otherwise with ngRoute you'd use the $routeParams to read the token and id and send those to the server along with the new password to verify the token before updating the password
[22:22:02] *** beakman has joined #angularjs
[22:22:10] *** buzzedword has joined #angularjs
[22:22:20] *** buzzedword has quit IRC
[22:22:26] <jdo_dk> Im having this resource/service, and instead of adding: \\/ to the end of each "urls", can i add: stripTrailingSlashes: false inside the resource/service ?
[22:22:30] <wafflejock> flavioZ_: if someone were to type random stuff into the address bar and end up on the reset page the token won't be valid
[22:22:40] *** sbellina has joined #angularjs
[22:22:46] *** buzzedword has joined #angularjs
[22:22:48] <flavioZ_> wafflejock: yep the token won't be valid
[22:23:01] *** baweaver has quit IRC
[22:23:35] <wafflejock> flavioZ_: well that's okay then you'd just notify the user the token is invalid and to double check their e-mail or restart the forgot/reset password process (if they're time sensitive, probably a good idea)
[22:25:05] *** _matix has joined #angularjs
[22:25:41] *** ctanga has joined #angularjs
[22:26:30] *** squeakytoy2 has joined #angularjs
[22:27:19] *** anthony23_ has quit IRC
[22:27:20] *** yanivkalfa has joined #angularjs
[22:27:47] *** yanivkalfa has joined #angularjs
[22:28:56] *** squeakytoy has quit IRC
[22:29:15] <flavioZ_> wafflejock: Yeah, that would work as well. I just wanted people with valid token to have access to my view. I am probably trying to be fancy
[22:29:23] *** jdo_dk has quit IRC
[22:29:52] <wafflejock> flavioZ_: yeah I never worry about protecting the views/template stuff really just about securing data on the server side and keeping secrets that I want to keep secret out of the client at all
[22:30:41] <wafflejock> flavioZ_: anyone can use any HTTP client to send random traffic at your server or watch all the communication between the client and server so very difficult if not impossible to really secure info in the client anyhow
[22:31:03] *** Slizz3r has quit IRC
[22:31:56] *** jun_ has quit IRC
[22:33:24] *** mustmodify has joined #angularjs
[22:34:01] *** dodobrain has joined #angularjs
[22:34:08] *** itamarjp has quit IRC
[22:34:28] *** n00bdev has quit IRC
[22:34:44] <flavioZ_> wafflejock: Yep, I agree with that. I do not worry about protecting my views either, I was just curious if that is a good practice.
[22:36:23] <wafflejock> flavioZ_: think it's mostly wasted effort, I haven't used Django but if it has something similar to Laravel you can use middleware to restrict access based on authorized users or not (and serve the templates via that protected route), but even using something like that assumes that you trust your authorized users which if it's something the public can access and sign up for doesn't really do you any good
[22:37:29] *** jun_ has joined #angularjs
[22:37:50] *** tiagoboldt has joined #angularjs
[22:38:52] <wafflejock> flavioZ_: in an app I'm working on right now I'm using that for the data routes and the middleware just responds with 401 and on the client side in angular I just have an httpInterceptor that filters the responses for any errors and if it's a 401 will redirect to the login page
[22:40:20] *** erms has quit IRC
[22:40:58] *** mustmodify has left #angularjs
[22:41:18] <flavioZ_> wafflejock: :) The behavior on Django is very much the same. It comes with a middleware that allows you to check for authenticated users. Then you could return a 401 response, and handle the way you want on angular. I need to keep reading angular documentation which is extremely hard :(. Any good tutorial you would recommend?
[22:42:16] *** healthline has joined #angularjs
[22:42:32] *** mustmodify has joined #angularjs
[22:42:42] <mustmodify> What's the opposite of a single-page app?
[22:42:57] *** bayousoft has joined #angularjs
[22:43:16] <mustmodify> I mean, if you have mostly server-side app that uses angular for one section of a page?
[22:43:37] *** _matix has quit IRC
[22:43:54] *** healthline has quit IRC
[22:44:05] *** yanivkalfa has quit IRC
[22:44:26] *** tiagoboldt has quit IRC
[22:46:23] <wafflejock> flavioZ_: !learn
[22:46:23] <angularjs_bot> Read up on the angularjs.org developer guide https://docs.angularjs.org/guide as a high level overview, for tutorials and whatnot can see the big ol' list here https://github.com/jmcunningham/AngularJS-Learning if you have specific questions can use plnkr to share your code, see the /topic or http://plnkr.co/edit/tpl:nKLNBdve51sqOoKZAOUS
[22:46:25] *** baweaver has joined #angularjs
[22:46:54] *** bayousoft has quit IRC
[22:48:08] <wafflejock> flavioZ_: if you read the guide in the order it's presented in the "Develop" menu on the angular site it gets more specific the further down you go in the list basically, so the tutorial just walks you through doing stuff but without much explanation, then the guides have good high level explanations of how things work and the API reference gets into most of the details and links into the source
[22:48:40] <wafflejock> flavioZ_: that github list is pretty good too though, lots of people have preferred egghead.io videos since they're short and you learn a bit with each one (bite sized as they put it)
[22:48:50] *** _matix has joined #angularjs
[22:49:29] *** bayousoft has joined #angularjs
[22:49:51] *** illume has quit IRC
[22:51:31] <flavioZ_> wafflejock: Yeah I am watching egghead.io. Those videos are really good. Personally, I prefer short videos so I can capture very much everything. Long videos usually get bored. I need to look into the github repo
[22:53:29] *** Kwoth has quit IRC
[22:53:51] *** ak52 has quit IRC
[22:54:06] *** DavidDudson has quit IRC
[22:54:09] *** jstroem has quit IRC
[22:54:34] *** kk_drop has joined #angularjs
[22:55:23] *** DavidDudson has joined #angularjs
[22:55:23] *** fotoflo has quit IRC
[22:56:34] *** jstroem has joined #angularjs
[22:57:28] *** sergey_ has quit IRC
[22:58:19] *** yanivkalfa has joined #angularjs
[22:58:30] <wafflejock> mustmodify: there isn't really an opposite, there are just regular web sites/apps that do full page reloads (typically) in order to communicate with the server, if you add to that using AJAX calls and dynamically updating the DOM then you basically have a "SPA" (it's cloud based web scale 2.0 asynchronous functional new shiney, not like that old server client model we were using before ;P)
[23:00:04] *** Schalla has quit IRC
[23:01:48] *** asad_ has joined #angularjs
[23:01:58] *** asad_ has quit IRC
[23:02:50] *** drager has quit IRC
[23:02:52] *** jlebrech has joined #angularjs
[23:03:03] *** prbc has quit IRC
[23:03:47] *** spriz is now known as spriz_away
[23:03:53] *** spriz_away is now known as spriz
[23:04:40] *** ferr has quit IRC
[23:04:54] *** VeggieMeat_ is now known as VeggieMeat
[23:04:59] *** above has quit IRC
[23:05:10] *** _matix has quit IRC
[23:05:17] *** above has joined #angularjs
[23:05:28] *** phelix has joined #angularjs
[23:06:10] *** ngbot has joined #angularjs
[23:06:10] <ngbot> [angular.js] petebacondarwin pushed 6 new commits to master: http://git.io/v05Xa
[23:06:11] <ngbot> angular.js/master e5c26e9 Peter Bacon Darwin: chore(npm-shrinkwrap): install glob package
[23:06:11] <ngbot> angular.js/master 62f79e8 Peter Bacon Darwin: chore(angularFiles): add documentation only file to list of files...
[23:06:11] <ngbot> angular.js/master 0387298 Matias Niemelä: chore(build): add a validation step for angularFiles...
[23:06:11] *** ngbot has left #angularjs
[23:06:59] <phelix> http://pastie.org/10638818 Could someone please look at this directive and help me figure out why the slide bars do not show up in mobile view?
[23:07:20] <phelix> They work fine in full site. Just not in mobile.
[23:07:30] *** jlebrech has quit IRC
[23:07:48] *** zigzagzig has quit IRC
[23:07:49] *** godlycow78 has joined #angularjs
[23:08:16] <godlycow78> okay wafflejock (or anyone else), I've got another routing question
[23:08:23] *** _matix has joined #angularjs
[23:08:47] <godlycow78> wafflejock: thanks for the help with directive stuff yesterday as well
[23:09:05] *** ycon_ has joined #angularjs
[23:09:15] *** ngbot has joined #angularjs
[23:09:15] <ngbot> [angular.js] petebacondarwin pushed 6 new commits to v1.4.x: http://git.io/v051X
[23:09:16] <ngbot> angular.js/v1.4.x 0a8a6fa Peter Bacon Darwin: chore(npm-shrinkwrap): install glob package
[23:09:16] <ngbot> angular.js/v1.4.x d89afc4 Peter Bacon Darwin: chore(angularFiles): add documentation only file to list of files...
[23:09:16] <ngbot> angular.js/v1.4.x 420586b Matias Niemelä: chore(build): add a validation step for angularFiles...
[23:09:16] *** ngbot has left #angularjs
[23:09:20] *** PeterBooker has quit IRC
[23:09:43] *** Oleander has joined #angularjs
[23:10:19] <wafflejock> godlycow78: sure np, doing tedious mapping of fields from one data store to another
[23:10:21] *** gweedo767 is now known as gweedo767|away
[23:11:22] <godlycow78> I'm allowing users to create their own pages on their dashboards, and I'd like to have the url reflect the page they're currently on: www.website.com/contact, for example.
[23:11:37] *** genepool has joined #angularjs
[23:11:43] *** phelix has quit IRC
[23:12:31] <godlycow78> I've got the pages showing up properly in a nav-bar, and I have a URL attached to each that's generated from the page title. Would it be reaonable to append a # or some other symbol, then in routing, handle that particular signal with a redirect to the proper "vanity" URL?
[23:12:44] *** wonder95 has quit IRC
[23:13:39] <godlycow78> With routing params added for proper handling by controllers.
[23:14:35] *** Oleander has quit IRC
[23:14:39] *** jstroem has quit IRC
[23:14:42] *** Drewery has joined #angularjs
[23:14:57] <wafflejock> yeah not so sure about that
[23:15:05] *** dpicky has quit IRC
[23:15:08] <wafflejock> some discussion about it here but doesn't seem to lead to anything conclusive https://github.com/angular-ui/ui-router/issues/126
[23:15:54] *** morissette has quit IRC
[23:16:03] *** dpicky has joined #angularjs
[23:16:53] <wafflejock> godlycow78: this might help https://christopherthielen.github.io/ui-router-extras/#/future
[23:17:54] <godlycow78> wafflejock: thanks, I'll read through both of those links, and see what else I can find.
[23:18:33] *** prbc has joined #angularjs
[23:19:20] *** Drewery has quit IRC
[23:21:07] *** arizzo has joined #angularjs
[23:21:43] *** ycon_ has quit IRC
[23:22:19] *** _matix has quit IRC
[23:23:53] *** _matix has joined #angularjs
[23:24:03] *** fedenunez has joined #angularjs
[23:24:55] <godlycow78> wafflejock: http://lawsonry.com/2014/05/cms-like-dynamic-routing-angularjs/ is actually pretty close ot what I'm asking about I think
[23:25:05] <godlycow78> it's an older article, sir, but it checks out
[23:25:55] *** Ugolin has joined #angularjs
[23:26:31] *** drager has joined #angularjs
[23:26:32] *** mischat has quit IRC
[23:28:02] *** ngbot has joined #angularjs
[23:28:02] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/v057N
[23:28:02] <ngbot> angular.js/master 04efdd5 mkalish: docs(ngMock): update $http example to use standard promise syntax...
[23:28:02] *** ngbot has left #angularjs
[23:28:55] *** flavioZ_ has quit IRC
[23:29:08] *** phrozensilver_ has joined #angularjs
[23:29:45] <wafflejock> godlycow78: yeah seems mostly reasonable, will have to deal with the fact that you aren't loading static assets but can generally apply the same concept
[23:30:38] *** phrozensilver has quit IRC
[23:30:42] *** Ugolin has quit IRC
[23:30:46] <godlycow78> how it actually works is that I really just have one static html that uses directives to generate layouts from a db
[23:31:10] <godlycow78> so routing to a specific html resource is not at all a problem
[23:32:37] *** walden is now known as walden|afk
[23:32:43] *** pose has joined #angularjs
[23:32:51] *** dodobrain has quit IRC
[23:33:45] *** someone235 has quit IRC
[23:33:51] *** ycon_ has joined #angularjs
[23:34:37] *** fotoflo has joined #angularjs
[23:34:44] <ycon_> I keep getting this suntax errory, not sure why. It tells me something is wrong with line 53. Any ideas? http://dpaste.com/23712JW
[23:34:59] *** ngbot has joined #angularjs
[23:34:59] <ngbot> [angular.js] petebacondarwin pushed 6 new commits to v1.3.x: http://git.io/v05F3
[23:35:00] <ngbot> angular.js/v1.3.x 45ca45a Peter Bacon Darwin: chore(npm-shrinkwrap): install glob package
[23:35:00] <ngbot> angular.js/v1.3.x 053f4e2 Peter Bacon Darwin: chore(angularFiles): add documentation only file to list of files...
[23:35:00] <ngbot> angular.js/v1.3.x d2058d9 Matias Niemelä: chore(build): add a validation step for angularFiles...
[23:35:00] *** ngbot has left #angularjs
[23:35:44] *** mustmodify has left #angularjs
[23:36:43] <wafflejock> ycon_: missing comma on line 52
[23:37:34] <ycon_> wafflejock: copy/pasted straight from github. Ha guess can't always be trusted
[23:38:13] *** doodlehaus has quit IRC
[23:38:32] <wafflejock> ycon_: yeah occasionally particularly with third party stuff there can be little errors like that in the documentation/samples, not too uncommon
[23:38:40] *** mandric has quit IRC
[23:39:17] <ycon_> wafflejock: the native transitions lib is what I'm using- it is a game changer by the looks of it
[23:39:28] <ycon_> (native transitions for ios/android/windows phones)
[23:39:31] *** buzzedword has quit IRC
[23:39:45] <wafflejock> huh cool haven't heard of that
[23:40:27] <wafflejock> actually I used a manifest.json to install my site as a launchable app on my android and apparently it just got some update cause it shows a splash screen now with the "app icon" and name while it's loading the web view
[23:40:29] *** arizzo has quit IRC
[23:40:46] <wafflejock> definitely a nice touch, but no change on iOS still just launches it in the browser from what I've seen :(
[23:41:34] *** _matix has quit IRC
[23:41:43] *** Guest19090 is now known as AciD`
[23:41:57] *** DavidDudson has quit IRC
[23:42:31] *** ferr has joined #angularjs
[23:42:43] *** Ir1sh has quit IRC
[23:42:46] *** yanivkalfa has quit IRC
[23:43:00] *** pose has quit IRC
[23:43:40] *** ferr has quit IRC
[23:47:31] *** Es0teric has quit IRC
[23:48:58] *** codeitloadit has quit IRC
[23:49:29] *** _matix has joined #angularjs
[23:49:33] *** fees has quit IRC
[23:50:00] *** Guest69624 has quit IRC
[23:50:04] *** adpirz has quit IRC
[23:50:33] *** juddey has joined #angularjs
[23:50:44] *** Guest69624 has joined #angularjs
[23:51:14] *** Oleander has joined #angularjs
[23:51:54] *** braderhart has joined #angularjs
[23:53:09] *** Drewery has joined #angularjs
[23:54:16] *** michael__ has joined #angularjs
[23:54:19] <michael__> hi
[23:54:26] *** yanivkalfa has joined #angularjs
[23:54:31] *** moep has quit IRC
[23:54:37] <michael__> is it appropriate to ask for help here?
[23:54:39] *** michael__ is now known as Guest47295
[23:55:03] *** patrick99e99 has quit IRC
[23:55:11] *** michaelo123456 has joined #angularjs
[23:55:22] <michaelo123456> hi is it appropriate to ask for angularjs help here?
[23:55:30] <ycon_> Hmm, form my example (http://dpaste.com/23712JW) it still isn't importing the module. THis is the only
[23:55:54] <ycon_> *this is the only file which I've modified.
[23:56:06] <wafflejock> michaelo123456: sure typically best if you share what you're working on if it is related to code
[23:56:26] <wafflejock> michaelo123456: either gist or !help use plnkr below to show something "working" or as close as you can get it to show your issue
[23:56:26] <angularjs_bot> AngularJS Plunker template http://plnkr.co/edit/tpl:nKLNBdve51sqOoKZAOUS
[23:57:11] <wafflejock> ycon_: getting an error in the console about the missing module?
[23:57:18] <ycon_> wafflejock: yes
[23:57:51] <wafflejock> ycon_: means something in the script tag in your index.html isn't right probably or the name of the module doesn't match, check the module source to see what angular.module they define there to verify they didn't change the name and not update the docs or something
[23:58:11] *** mustmodify has joined #angularjs
[23:58:21] <michaelo123456> @wafflejock made a stackoverflow question is that ok to post?
[23:58:26] <wafflejock> michaelo123456: sure
[23:58:36] *** baweaver has quit IRC
[23:58:43] <michaelo123456> http://stackoverflow.com/questions/34345797/how-to-include-external-javascript-in-angular-template
[23:58:47] *** simion314 has quit IRC
[23:58:59] <michaelo123456> been working on this for 2 days now >.<
top

   December 17, 2015  
< | 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 | >