[00:00:01] *** tech2 has quit IRC
[00:00:34] *** LossFor has joined #angularjs
[00:00:37] *** Alina-malina has joined #angularjs
[00:00:58] *** tech2 has joined #angularjs
[00:01:15] *** krawek has joined #angularjs
[00:02:22] *** dra_ has quit IRC
[00:02:36] *** shpoont has quit IRC
[00:02:47] *** dra_ has joined #angularjs
[00:02:54] *** dcherman has quit IRC
[00:03:02] *** shpoont has joined #angularjs
[00:03:26] *** dcherman has joined #angularjs
[00:03:27] *** Chris__ has quit IRC
[00:04:00] *** ryst has quit IRC
[00:04:07] *** ruibrito has joined #angularjs
[00:04:31] *** mike_f has quit IRC
[00:04:41] *** ryst has joined #angularjs
[00:04:47] *** mike_f has joined #angularjs
[00:05:03] *** joepie91 has quit IRC
[00:05:21] *** _ritchie_ has quit IRC
[00:05:34] *** hachiya has quit IRC
[00:05:34] *** tfennelly has quit IRC
[00:05:55] *** ajk27 has quit IRC
[00:06:09] *** tkimmel has quit IRC
[00:06:21] *** mrkake has quit IRC
[00:06:23] *** stylemistake has quit IRC
[00:06:48] *** stylemistake has joined #angularjs
[00:07:13] <dylanjohnson> Grokling: scoping is definitely the issue
[00:07:40] <dylanjohnson> spoiler alert: after you add the factories, you’re going to want to add `Persons` and `Houses` services.
[00:07:41] *** ruibrito has left #angularjs
[00:07:47] <dylanjohnson> and inject those into the controller
[00:07:50] *** hachiya has joined #angularjs
[00:07:58] <dylanjohnson> where $scope.persons = Persons
[00:08:02] <Grokling> Man plunker is getting on my nerve today. Everytime it reloads, it's spawning another tab, and jumping to it.
[00:08:10] *** shpoont has quit IRC
[00:08:33] *** shpoont has joined #angularjs
[00:09:08] <dylanjohnson> and instead of ng-repeat=“ph in personHouses”, you’ll want ng-repeat=“person in persons” with ng-repeat=“houses in person.houses” inside of that loop
[00:09:19] *** {DV8} has quit IRC
[00:09:23] *** tech2 has quit IRC
[00:10:15] *** mjs2600 has joined #angularjs
[00:10:19] *** mtsr has quit IRC
[00:10:26] *** gunn has joined #angularjs
[00:10:55] *** Reskp has joined #angularjs
[00:11:02] *** BahamutWC has joined #angularjs
[00:11:04] *** dhcar_AFK is now known as dhcar
[00:11:15] *** mrkake has joined #angularjs
[00:11:22] *** jamto11 has quit IRC
[00:11:57] *** _ritchie_ has joined #angularjs
[00:12:04] *** dhcar is now known as dhcar_AFK
[00:12:16] *** joepie91 has joined #angularjs
[00:12:18] *** alinou has joined #angularjs
[00:12:21] *** marcjs has joined #angularjs
[00:12:22] *** dnewkerk has quit IRC
[00:13:38] *** Reskp has quit IRC
[00:15:20] *** rtpg has quit IRC
[00:15:29] *** mtsr has joined #angularjs
[00:15:38] *** rtpg has joined #angularjs
[00:15:43] *** disorder20 has quit IRC
[00:16:31] <dylanjohnson> you’re getting closer! there’s only 1 undefined now
[00:16:59] <dylanjohnson> now we need app.service(‘People’) and app.service(‘Houses’)
[00:17:11] <Grokling> Urgh. If only it were that simple! We don't need those services really..
[00:17:25] <Grokling> What would you have them do?
[00:17:28] <dylanjohnson> also, no need for var model = this; inside the constructor returned by the factory
[00:18:03] <dylanjohnson> they’re kind of like “global” arrays
[00:18:05] <Grokling> Uh, yeah there is.. because it's used by the angular.forEach... and 'this' has a different context inside that function. So it breaks.
[00:18:14] <dylanjohnson> that unite the scope of all controllers across the application
[00:18:21] <dylanjohnson> you can always use .bind(this)
[00:18:43] <dylanjohnson> or the second argument passed to forEAch
[00:19:03] <Grokling> Try it and see. It will break.
[00:19:09] <dylanjohnson> *third argument
[00:19:22] *** klaut_ has joined #angularjs
[00:19:24] *** Guest70 has joined #angularjs
[00:19:28] <Grokling> there's a third argument?
[00:19:31] <Grokling> Cool.
[00:19:44] <deveras> why does one use a factory to create an instance of a model?
[00:19:54] *** Guest70 has quit IRC
[00:20:10] <dylanjohnson> var collectionOne = [], collectionTwo = [‘a’, ‘b’]; angular.forEach(collectionTwo, function (val) { this.push(val); }, collectionOne);
[00:20:16] *** nemothekid has quit IRC
[00:20:18] <deveras> are there multiple instances? most cases i've seen that is not the case, so why do people use factory?
[00:20:25] <Grokling> Nice. I'd never spotted that context parameter before.
[00:20:28] <dylanjohnson> try that (while correcting any obvious syntax errors) and see what collectionOne becomes
[00:20:38] *** eBureau has quit IRC
[00:21:02] <dylanjohnson> deveras: i don’t know why others use it, but i sometimes use it as a cheap wrapper for creating a constructor
[00:21:05] *** shpoont has quit IRC
[00:21:24] <Grokling> So, that aside, circular JSON..
[00:21:25] *** klaut has quit IRC
[00:21:34] <dylanjohnson> in isomorphic environments, i can use the same raw javascript constructor on server and client, then pass that into a factory by reference
[00:21:45] <deveras> dylanjohnson: fair usage, but them again why is the wrapper a requirement?
[00:21:50] <dylanjohnson> circular JSON won’t be a problem when you create the services
[00:21:59] *** tripu has quit IRC
[00:22:03] <Grokling> What are the services going to do again?
[00:22:09] <dylanjohnson> deveras: so i can inject the constructor with angular
[00:22:18] <dylanjohnson> Grokling: unify the references across scopes
[00:22:30] <deveras> dylanjohnson: you lost me at: in "corresponding or similar in form and relations." environments
[00:22:34] <dylanjohnson> ng-repeat is jacking up your scope
[00:22:36] <deveras> what do you mean there?
[00:22:41] <Grokling> By putting the into $scope.persons and $scope.houses?
[00:22:45] <Grokling> them/them
[00:22:49] <Grokling> the/them
[00:22:52] <Grokling> gah.
[00:23:16] <deveras> dylanjohnson: got you, so you use node for back end.
[00:23:36] <deveras> so its a lazy usage of factory()
[00:23:38] *** rtpg has quit IRC
[00:23:43] *** nemothekid has joined #angularjs
[00:23:50] *** dcherman2 has joined #angularjs
[00:23:51] <dylanjohnson> app.controller(‘controllerOne’, function ($scope, Persons) { $scope.persons = Persons; }).controller(‘controllerTwo’, function ($scope, Persons) { $scope.persons = Persons });
[00:24:02] <Grokling> deveras: What is the non-lazy usage?
[00:24:06] <dylanjohnson> deveras: kind of, yes
[00:24:39] *** oktapodi has joined #angularjs
[00:24:48] <Grokling> dylanjohnson: and the Service just returns an array of the instances?
[00:25:03] <dylanjohnson> it’s especially useful for unit/integration testing, because i can use something like Faker to generate a whole bunch of my models in jasmine/karma, protractor, or anywhere else
[00:25:06] <deveras> dylanjohnson: that snippet is very interesting i wasn't aware we could chain controllers. Cheers
[00:25:18] <dylanjohnson> Grokling: close; it *is* just an array of the instances
[00:25:26] <dylanjohnson> and the “golden copy” of the instances
[00:25:32] <Grokling> Don't I already have that?
[00:25:35] <dylanjohnson> no
[00:25:41] <dylanjohnson> because ng-repeat is creating isolate scope
[00:25:50] *** AlbinoTux has joined #angularjs
[00:26:07] <Grokling> $scope.houses is set to an array of instances in the controller. I'm missing the difference?
[00:26:09] <dylanjohnson> if you’re using chrome, inspect the element and look at the AngularJS properties tab in the Element panel
[00:26:12] <deveras> dylanjohnson: the facility of having it tested easier still doesn't translate to a best practice/usage on the client side (but kudos there)
[00:26:26] <dylanjohnson> deveras: the readability does though
[00:26:37] <deveras> hell no
[00:26:48] *** dcherman has quit IRC
[00:27:01] <deveras> i need a single instance of a model so i use a factory?
[00:27:02] *** jmichaelward has joined #angularjs
[00:27:12] <dylanjohnson> deveras: no, then you’d use a service
[00:27:20] <deveras> O.o
[00:27:23] <dylanjohnson> but when you need multiple instances, you most certainly should use a modeled factory
[00:27:28] <deveras> a userModel is not a service
[00:27:38] <deveras> example:
[00:27:45] <deveras> userModel, id, name etc, email
[00:27:52] <deveras> no factory, no provides, no service
[00:27:55] *** joo has joined #angularjs
[00:28:07] <deveras> singleton (as in application singleton and not a dumb singleton pattern)
[00:28:12] <dylanjohnson> deveras: if that’s inside an angular app, yes, i’d probably use a service
[00:28:17] *** jmichaelward has quit IRC
[00:28:19] <deveras> bad bad bad
[00:28:19] *** joo is now known as Guest31309
[00:28:20] <dylanjohnson> all angular services are singletons
[00:28:24] <deveras> needs to be changed :)
[00:28:27] <Grokling> deveras: My factories inherit a bunch of methods from a prototype, they also have a RecordContext caching factory involved. I have NO services - haven't needed one yet.
[00:28:38] <deveras> dylanjohnson: they are yes :)
[00:28:51] <deveras> Grokling: hum?
[00:29:08] *** Owner has joined #angularjs
[00:29:09] <dylanjohnson> so if i need a singleton, and i want to take advantage of dependency injection (one of the core features of angular), yeah, i’m gonna wrap that in a service instead of some global namespace
[00:29:12] *** arathunku has quit IRC
[00:29:31] *** oktapodi has quit IRC
[00:29:31] *** Owner is now known as Guest5652
[00:29:37] *** ProLoser has quit IRC
[00:30:18] <deveras> Grokling: you are mixing inheritance, with an application single object which is not a singleto
[00:30:32] <deveras> but Grokling advanced application usage any way ;)
[00:30:57] *** Cydmax has quit IRC
[00:31:08] *** TheAceOfHearts has quit IRC
[00:31:17] <dylanjohnson> Grokling: on your problem, just trust and make the services :)
[00:31:24] *** pdillinger has quit IRC
[00:31:24] <deveras> dylanjohnson: in angular terms, hardly any argument but still, if its going to get a 2.0, something that needs to be noted perhaps
[00:31:42] <dylanjohnson> deveras: i’m not ready for a 2.0 world :)
[00:31:48] <deveras> dylanjohnson: here, here
[00:32:01] *** Guest31309 has quit IRC
[00:32:03] *** fedenunez has joined #angularjs
[00:32:08] <deveras> dislike annotations personally...
[00:32:29] <dylanjohnson> Grokling: ooo this is more fun
[00:32:40] <dylanjohnson> deveras: but all the other “real” languages have them,
[00:32:43] <dylanjohnson> and also PHP
[00:32:57] <Grokling> Might be more fun, but it's not getting me closer!
[00:33:07] *** LossFor has quit IRC
[00:33:29] *** LossFor has joined #angularjs
[00:33:37] <deveras> sorry another nice discussion started in another channel :)
[00:33:56] <deveras> dylanjohnson: real or not, i have a personal opinion about it
[00:33:59] <dylanjohnson> Grokling: please use the $log service and save yourself n+1 hours trying to figure out why console.log is breaking your code
[00:34:11] <dylanjohnson> deveras: “real“ was a joke. i’m a big JS fan.
[00:34:20] <dylanjohnson> since it keeps me employed :)
[00:34:27] *** josh-k has joined #angularjs
[00:34:36] <dylanjohnson> but annotations will make many classical people comfortable with DI in JS
[00:34:39] <deveras> i love code comments, but they are that, comments. I generate documentation from them i could even somehow/almost/perhaps/one day generate tests from it (HELL NO), but
[00:34:42] <deveras> that would end there
[00:34:58] <Grokling> Another new trick.. today is a good day. I knew there was something that I should find out about in that space, but hadn't invested the time into it yet.
[00:35:09] <deveras> if, but just if! you do TDD, annotations for generation tests is silly
[00:35:33] <dylanjohnson> Grokling: did you write this or is this from another author?
[00:35:38] <deveras> if, but just if! you use annotations to generate code for you = you wrote code that reads comments... silly
[00:35:41] <deveras> or is it just me?
[00:36:12] <dylanjohnson> deveras: i don’t use them as generators in other languages, more as DI (in PHP) or pattern referencing (in Java)
[00:36:13] *** bostonaholic has joined #angularjs
[00:36:21] *** mjs2600 has quit IRC
[00:36:28] <Grokling> It's mine - based on something robdubya does, and was generous enough to share.
[00:36:36] *** mjs2600 has joined #angularjs
[00:36:54] <deveras> dylanjohnson: jesus, DI in PHP?
[00:37:01] <dylanjohnson> there’s some interesting stuff going on here with the comments about caching; pretty similar to something i’ve been working on for multi-layered data management and advanced caching approaches with RxJS
[00:37:06] *** mjs2600 has quit IRC
[00:37:13] <dylanjohnson> deveras: check out the Symfony framework, it’s pretty advanced
[00:37:22] <deveras> dylanjohnson: i haven't done PHP in a while, but a fan... what happen to application registries or even dependecy managers?
[00:37:25] <deveras> to many bad usages?
[00:37:35] <deveras> dylanjohnson: in who's world?
[00:37:41] <dylanjohnson> and the ServiceContainer/ServiceLocator/ServiceRegistry/WhateverYoudLikeToCallIt is pretty much the Spring AOP model
[00:37:51] <dylanjohnson> deveras: in everyone’s world
[00:37:54] <deveras> symfony is opinated... but scary
[00:38:03] <Grokling> My more recent rendition is offline happy, generates it's own ids and keeps track of new stuff that the api doesn't know about yet.
[00:38:27] <dylanjohnson> the Symfony catalyzed the adoption of things like closures in PHP before Java (minus Scala) even had the thought if including them in the language spec
[00:38:29] <deveras> dylanjohnson: na... i bet you 1.000 currency of choise that you have more zend job offers than symf
[00:38:35] <Grokling> Also changed up a bunch of the ContextRecord methods.
[00:38:48] <dylanjohnson> deveras: more in volume, less in pay
[00:39:06] <dylanjohnson> i’ve been programming ~3 years. got my first good gig about 18 mos ago as a Symfony2 dev
[00:39:07] <deveras> dylanjohnson: not so sure, but i'll take that
[00:39:24] <dylanjohnson> we decided to use Angular as the front end and now i’ve got a great gig doing that
[00:39:45] <deveras> sounds like fun
[00:39:48] <dylanjohnson> hopefully not too sappy, but I owe a ton to the Symfony community because of what I learned about Enterprise Application Architecture patterns
[00:40:11] <deveras> well,version 1 was to YAML
[00:40:15] <deveras> i never liked it
[00:40:20] <dylanjohnson> in short, PHP does not suck as much as everyone thinks it sucks
[00:40:36] <dylanjohnson> deveras: they have YAML, XML, and annotation drivers for pretty much everything now
[00:40:41] *** Txandy has quit IRC
[00:40:54] <deveras> and still people don't like
[00:40:59] <deveras> :S
[00:41:17] <dylanjohnson> so should they offer an EtherConfigurationDriver?
[00:41:30] <deveras> :) i don't fancy it either, but i haven't got your experience, perhaps if i spend some time playing with it
[00:41:37] *** cornerma1 has joined #angularjs
[00:41:54] <deveras> can't say, however, on the matter of the angular model, you agree?
[00:42:06] <dylanjohnson> nah, i think annotations are ok
[00:42:08] <deveras> provides, factory and service are not the real answer
[00:42:24] <dylanjohnson> oh. i misunderstood the question :)
[00:42:29] *** adamsilver has quit IRC
[00:42:31] <deveras> i'm still not convinced on that regard (annotations)
[00:42:42] *** tfennelly has joined #angularjs
[00:42:54] <dylanjohnson> i mean, provider, factory, and service are pretty well-established patterns in programming. i don’t know what i’d replace them with.
[00:43:15] *** gnrlbzik has quit IRC
[00:43:51] <dylanjohnson> Grokling: not sure about the missingId property, because you might have different id generation strategies
[00:43:58] <dylanjohnson> but the idea of a multi-layered cache is interesting to me
[00:44:10] *** freeman42 has quit IRC
[00:44:37] *** freeman42 has joined #angularjs
[00:44:46] <Grokling> api keys are int+1. localKeys are int-1. Keeps it straight no trouble!
[00:44:55] *** cornerman has quit IRC
[00:44:56] *** cornerma1 is now known as cornerman
[00:45:06] *** rtpg has joined #angularjs
[00:45:06] <Grokling> Services make no difference - as I expected.
[00:45:08] *** Reskp has joined #angularjs
[00:45:12] <dylanjohnson> in-memCache($cacheFactory)->localStorage->httpCache->backend + RxJS + a sort of front-end ORM is what i’m working on.
[00:45:35] <deveras> well i would only use a factory if i needed multiple instances of something. I don't believe a model to be a resource so i don't expect the application to "provide" it. An this not a service
[00:45:51] <Grokling> I'm yet to plug in indexeddb.. too much to do, too little time!
[00:45:58] <deveras> so... i;ve been pretty much instantiating them directly in services
[00:46:24] <dylanjohnson> Grokling: don’t get frustrated :) a service is what you need
[00:46:26] <dylanjohnson> let me take a look
[00:46:41] *** evilaliv3 has quit IRC
[00:46:41] <Grokling> Services are there.. but the outcome is the same ;)
[00:47:07] *** anjumkaiser1 has quit IRC
[00:47:10] *** tfennelly has quit IRC
[00:47:10] <dylanjohnson> this.persons instead of var persons and return persons
[00:47:39] *** grantfunke_ has joined #angularjs
[00:47:43] <dylanjohnson> and don’t create a separate $scope.personHouses
[00:47:50] <dylanjohnson> it’s not a JoinTable
[00:47:59] *** nuizzy has quit IRC
[00:48:51] <Grokling> That is an artifact of RDBMS, that's true..
[00:49:07] <Grokling> Still, should work regardless..
[00:49:19] <dylanjohnson> no, it won't
[00:49:28] <Grokling> Evidently.
[00:49:30] <dylanjohnson> not without a PersonHouses service
[00:49:40] *** LossFor has quit IRC
[00:49:49] *** azerzaefqsddqsd has quit IRC
[00:49:50] <dylanjohnson> because JS is backwards
[00:49:57] *** Reskp has quit IRC
[00:50:02] <Grokling> Sure it will - the instances are put on Person, or on House, which have services.
[00:50:02] *** jmichaelward has joined #angularjs
[00:50:21] *** eBureau has joined #angularjs
[00:50:22] <Grokling> The whole point of them being instances is that they are their own 'thing'
[00:50:55] <Grokling> At this point, the services are doing nothing other than returning an array.
[00:50:59] *** dcherman has joined #angularjs
[00:51:11] <dylanjohnson> in that Plunk you still have ph in personHouses
[00:51:23] <dylanjohnson> i don’t see that on the scope anywhere
[00:51:46] <Grokling> Correct. I should remove/alter that.
[00:51:47] *** mtho11 has joined #angularjs
[00:51:47] <dylanjohnson> so that’s probably the cause of undefined
[00:52:54] <dylanjohnson> if you had smth like <div ng-repeat=“h in houses”>{{h}}</div>
[00:52:58] <dylanjohnson> you’d probably be closer
[00:53:44] *** jmichaelward has quit IRC
[00:53:53] <Grokling> Nope. The undefined has a lot more to do with "Error: [$interpolate:interr] Can't interpolate: Persons: {{persons}} TypeError: Converting circular structure to JSON"
[00:54:20] *** dcherman2 has quit IRC
[00:54:38] *** adpirz has joined #angularjs
[00:54:44] *** kentaro0919 has quit IRC
[00:54:58] *** BillCriswell has joined #angularjs
[00:55:41] *** Johnny13371337 has quit IRC
[00:55:58] *** damain has quit IRC
[00:56:27] <dylanjohnson> that makes sense
[00:57:38] <dylanjohnson> because of the pseudo-JoinTable
[00:58:43] *** opiates has quit IRC
[00:58:48] *** netameta has joined #angularjs
[00:59:12] *** adpirz has quit IRC
[00:59:21] *** marshall has joined #angularjs
[00:59:32] *** asher^ has joined #angularjs
[00:59:45] *** jmichaelward has joined #angularjs
[01:00:26] <dylanjohnson> no need for return this.houses or return this.persons
[01:00:33] <dylanjohnson> just the `this`
[01:01:21] *** adibhanna has left #angularjs
[01:03:20] *** spaceonline has joined #angularjs
[01:03:40] *** jacuqesdancona has joined #angularjs
[01:03:41] <Grokling> No need for the services at all. I got it working - it all boiled down to the displaying of {{thingWithCircularStructure}} which is fair enough I guess. It was working all along, just couldn't figure out how to render.
[01:03:48] *** jillesme has joined #angularjs
[01:04:53] *** bmac has quit IRC
[01:04:56] <dylanjohnson> that’s how it should work
[01:05:05] *** _ritchie_ has quit IRC
[01:05:07] <dylanjohnson> please do not use a pseudo join table
[01:05:17] *** bmac has joined #angularjs
[01:05:32] *** crakrjak_respawn has joined #angularjs
[01:05:33] *** damain has joined #angularjs
[01:05:37] <dylanjohnson> it could definitely be cleaned up a lot more (again, mobile), but that’s the “simple” way to do things
[01:06:12] <Grokling> Services don't add anything for me - I have factory methods - House.find(someJson) which brings back the array I need. The single source of truth is the RecordContext.
[01:06:17] <AlbinoTux> I am using ui-bootstart on a progress bar that has it's visiblity set with ng-show. After upgrading to 1.3.1, the progress bar stays visible until the animation is complete. Anyway to force it to disappear as soon as the visible conditoin is false?
[01:06:19] *** ccohn has joined #angularjs
[01:06:48] *** mtsr has quit IRC
[01:07:46] <Grokling> The join tables are a convenience - Otherwise my only option for tracking delete records for the api is to query the api for the full collection, match it, and then delete. Using the join tables, I already have the ids, just "delete" them. Job done.
[01:07:53] <dylanjohnson> the RecordContext wasn’t present in the latest Plunk you sent
[01:07:58] *** rtpg has quit IRC
[01:08:09] *** jillesme has quit IRC
[01:08:17] *** jacuqesdancona has quit IRC
[01:08:23] <dylanjohnson> Grokling: /person/:id/house/:id/remove
[01:08:23] <Grokling> No, recordContext is in my real code, (and in that other not-related plunker I sent)
[01:08:27] *** spaceonline has quit IRC
[01:08:36] <dylanjohnson> or /house/:id/person/:id/remove
[01:08:38] <dylanjohnson> that’s REST
[01:08:54] *** \du has quit IRC
[01:08:59] <Grokling> Sure, but how do I know what was on the api to begin with?
[01:09:24] <Grokling> I had my initial array, then I deleted stuff out of it. Now it's gone, and I don't know what was there...
[01:09:41] <dylanjohnson> Grokling: do me a favor and click the house2 Gary item a bunch of times in that Plunk
[01:09:44] *** bmac has quit IRC
[01:09:45] *** seriema has quit IRC
[01:10:43] <Grokling> works everytime. Obviously I didn't build any checking into this supposedly simple and concise illustration of a different issue ;-)
[01:10:44] <dylanjohnson> caitp-: ….. ?
[01:11:00] *** ccohn has quit IRC
[01:11:14] <dylanjohnson> Grokling: it doesn’t “work” everytime. it adds another personHouse to the collection
[01:11:24] <dylanjohnson> that represents an identical relationship
[01:11:34] <dylanjohnson> i mean, w/e, it’s your code
[01:11:51] <Grokling> Exactly. As expected. Because I'm not checking that it doesn't exist first. Because that's not helping to illustrate the circular JSON issue..
[01:12:07] <dylanjohnson> there is no circular JSON issue though… just a scope issue
[01:12:11] *** deveras has quit IRC
[01:12:20] <Grokling> There was never a scope issue.
[01:12:29] <dylanjohnson> ok
[01:12:30] *** marshall has quit IRC
[01:12:40] <dylanjohnson> / gives up
[01:12:47] <Grokling> Take the same code, put {{persons}} in the html. Brokes.
[01:12:49] *** ehalas has quit IRC
[01:13:01] *** walbert has left #angularjs
[01:13:19] <dylanjohnson> correlation !== causation
[01:13:25] <dylanjohnson> causation = correlation
[01:13:54] <Grokling> Lack of evidence does not constitute evidence of lack.
[01:14:03] *** mubi has joined #angularjs
[01:14:36] <dylanjohnson> dude, if you want to use that verbose code that mimics a relational database in your client through creation of an unnecessary array in memory, more power to ya
[01:14:39] *** BillCriswell has quit IRC
[01:14:46] <dylanjohnson> please, at least use the $log service
[01:14:51] <Grokling> Thanks for your help - that must've been major on a mobile.
[01:14:57] <dylanjohnson> so i can feel like i’ve done some good
[01:15:06] <Grokling> $log, and forEache's third param. You've done good.
[01:15:06] *** jmichaelward has quit IRC
[01:15:07] <mubi> hey guys, so I have an input tag in my HTML that sometimes may not have a file appended to it…is there a way to set a default file to the <input> html in case they don’t select a file?
[01:15:23] *** nuizzy has joined #angularjs
[01:15:39] *** TommyO_ has joined #angularjs
[01:15:51] <mubi> I’ve tried value=“../images/noImage.png” but its printing not as the image object but as “../images/noImage.png”
[01:16:07] <caitp-> mubi, not really
[01:16:14] <GreenJello> mubi, no, for security reasons
[01:16:19] <caitp-> you could use the file api to do it, sort of
[01:16:27] *** damain has quit IRC
[01:16:34] *** TommyO_ has quit IRC
[01:16:52] *** TommyO_ has joined #angularjs
[01:16:53] <mubi> ok then, in my angular I can check to see if the scope.file is null, if it is can I assign my var file = new FIle(“../images/noimage.png”)
[01:17:09] <Grokling> dylanjohnson: Just for giggles, I tweaked my original plunk that started this whole thing. 5 additional characters, and the problem was solved.
[01:17:10] *** TommyO has quit IRC
[01:17:27] <dylanjohnson> Grokling: but those 5 additional characters are still like 200 chars too many
[01:17:34] <mubi> i tried that too, says ‘File’ 2 arguments requried, but only 1 present, so whats the other one?
[01:17:35] <dylanjohnson> don’t thank me, i lost here :)
[01:17:48] *** soee has quit IRC
[01:17:50] <mubi> File API, for javascript?
[01:17:59] <mubi> or angular
[01:18:07] <caitp-> js
[01:18:08] <Grokling> You didn't lose.. nobody loses when they're helping someone.
[01:18:30] <caitp-> file constructor + whatever content you want -> send a fake "default file" to the server
[01:18:37] *** gunn has quit IRC
[01:18:46] <caitp-> (*only in browsers which support the file constructor, although the blob constructor pretty much gets you there)
[01:18:52] *** bbankes has joined #angularjs
[01:18:54] <dylanjohnson> mubi: this sounds like the wrong solution to whatever problem you’re trying to solve
[01:19:05] <Grokling> The takeaway is that angular throws it's toys if you ask it to directly render a circular JSON structure in a template. Which is fair enough.
[01:19:09] *** fedenunez has quit IRC
[01:19:36] *** dimetron has quit IRC
[01:19:44] <dylanjohnson> handle if (isNull(whatev)) {} on the server
[01:20:02] <dylanjohnson> Grokling: it circular though.
[01:20:06] <dylanjohnson> it was independent
[01:20:08] <dylanjohnson> personHouses
[01:20:09] <mubi> ok well my problem is super simple, there is a file input field that allows the user to upload an image, so in the case where there is no file, I want to send a defualt image file along with the post request
[01:20:12] <dylanjohnson> instead of person.houses
[01:20:26] *** josh-k has quit IRC
[01:20:37] <dylanjohnson> mubi: populate the default on the server
[01:20:52] <caitp-> that would be better, yeah
[01:21:02] *** josh-k has joined #angularjs
[01:21:04] <mubi> hmm, alright
[01:21:05] *** gunn has joined #angularjs
[01:21:05] <mubi> thanks
[01:21:14] *** joshontheweb has joined #angularjs
[01:21:36] *** jmichaelward has joined #angularjs
[01:23:12] *** josh-k has quit IRC
[01:23:14] *** nuizzy has quit IRC
[01:23:17] *** jMyles has joined #angularjs
[01:23:26] <dylanjohnson> ok, so open question. *real_talk*
[01:23:29] *** damain has joined #angularjs
[01:23:31] *** shinnya has joined #angularjs
[01:23:47] <dylanjohnson> ui-bootstrap `resolve` on modal’s just isn’t working for me
[01:24:05] <dylanjohnson> if the resolve takes ~2 seconds then the user might get confused
[01:24:15] *** jmichaelward has quit IRC
[01:24:25] <wafflej0ck> dylanjohnson: then don't get things that take more time in the resolve
[01:24:25] <dylanjohnson> the user might repeatedly click the button when the request(s) take ~7s
[01:24:27] *** cakirke has joined #angularjs
[01:24:38] <wafflej0ck> dylanjohnson: fetch them in the controller instead
[01:24:50] <dylanjohnson> which leads me to the point i was typing (slowly)
[01:25:01] *** damain has quit IRC
[01:25:02] <dylanjohnson> should that functionality be built into the modal lib in ui-bootstrap?
[01:25:19] <wafflej0ck> dylanjohnson: why that's how resolve always works?
[01:25:30] <dylanjohnson> resolve: { items: [], withLoader: true //defaults to false }
[01:25:54] <dylanjohnson> wafflej0ck: year and it always sucks
[01:26:03] <dylanjohnson> you can write an interceptor when you’re talking about routers
[01:26:16] *** abailarri has joined #angularjs
[01:26:19] <dylanjohnson> but with the modal, it usually results in a choppy ui because the animation is conflicting with resolving promises
[01:26:22] *** chanced has joined #angularjs
[01:26:44] <dylanjohnson> [angular]: hey! i resolved these promises! everyone $digest
[01:26:52] <dylanjohnson> [everyone]: ok!
[01:26:57] *** araujo has quit IRC
[01:27:05] <dylanjohnson> [browser]: //chokes
[01:27:12] <dylanjohnson> [user]: //complains
[01:27:27] *** dnull has joined #angularjs
[01:27:41] <wafflej0ck> dylanjohnson: yeah it depends on how you're going to handle the loading is the problem, typically anything that I might have to wait for though I don't do in a resolve I just handle it in a controller where you can do things in a more controlled fashion
[01:27:43] <caitp-> animate uses $$q which doesnt digest
[01:27:44] *** opiates has joined #angularjs
[01:28:19] <dylanjohnson> caitp-: i haven’t dug into the internals, but there’s definitely some digest going on while my resolves are figuring themselves out
[01:28:24] <caitp-> as for http promises, well you could use the coalesced apply option do see less of that
[01:28:27] <wafflej0ck> dylanjohnson: also nice to have a service for managing the info about what's loading so you can tie it to directives that show the appropriate loading overlays and the like
[01:28:59] *** crakrjak_respawn has quit IRC
[01:29:10] <dylanjohnson> wafflej0ck: next project i’m moving to RxJS, which is simply the sh** for managing loading/cross-scope AJAX, etc
[01:29:12] *** araujo has joined #angularjs
[01:29:21] *** klaut_ has quit IRC
[01:30:01] <dylanjohnson> even better than service IMHO, bc you can easily target overlays at different elements through a directive through <div loading=“someRxStream”>
[01:30:03] *** damain has joined #angularjs
[01:30:41] <dylanjohnson> but that’s the utopian future; just trying to get my current product to production
[01:31:09] *** Cache_Money has quit IRC
[01:31:20] *** josh-k has joined #angularjs
[01:31:29] *** crakrjak_respawn has joined #angularjs
[01:31:35] *** ehalas has joined #angularjs
[01:31:42] <dylanjohnson> wafflej0ck: so you do something like: `angular.controller(‘someModalController’, function ($scope) { function init () {}; init(); } )
[01:31:45] *** mjs2600 has joined #angularjs
[01:31:50] <dylanjohnson> where init() manages show and hide of the loader?
[01:32:53] *** dcherman has quit IRC
[01:34:51] *** Zren has joined #angularjs
[01:35:14] *** Shadeness has quit IRC
[01:35:24] <wafflej0ck> dylanjohnson: yeah sort of, usually injecting the LoaderService (something I make up) that stores different key -> loading state object with boolean and string of what's loading, in the init I tell it to show some loader (toggle the boolean in the service, add some message), then I do some chain of promises or set of promises or whatever, then toggle the LoadingService again... then have a directive that uses that LoadingService
[01:35:24] <wafflej0ck> and I tell it which key to use for showing/hiding some part
[01:35:26] *** nesquerra has joined #angularjs
[01:35:32] *** allgeek has joined #angularjs
[01:35:36] *** josh-k has quit IRC
[01:36:07] <allgeek> any ideas on why an ng-if expression on a <td> isn't working, when the same expression on a <div> element that's within the <td> is working?
[01:36:10] <dylanjohnson> wafflej0ck: that’s great (and pretty close to what i do), but when the promises resolve too early in the context of a modal, it causes my UI to throw up on itself
[01:36:13] *** josh-k has joined #angularjs
[01:36:23] *** mjs2600 has quit IRC
[01:36:36] <dylanjohnson> it’s especially bad when i’m combining like 4 directives that also appear in different contexts and have independent loaders in other context
[01:37:18] *** tfennelly has joined #angularjs
[01:37:50] *** qdk has quit IRC
[01:38:09] <dylanjohnson> abailarri: looks pretty resolved to me; MVP ready, call the VCs
[01:38:17] *** thirdknife has joined #angularjs
[01:38:19] *** bostonaholic has quit IRC
[01:38:48] <abailarri> dylanjohnson, see again I changed some lines
[01:39:32] <abailarri> dylanjohnson, when I call the ApiController, it not calls the template
[01:40:10] <dylanjohnson> wafflej0ck caitp-: so i think it would be useful to have resolve manage all of the promises after $animate completes
[01:40:12] <dylanjohnson> optionally
[01:40:29] <dylanjohnson> with a param in the solve that defers the $q.all
[01:40:41] <caitp-> nobody really understands $animate except matias
[01:40:47] <dylanjohnson> ha!
[01:40:53] <caitp-> i don't even want to read it, let alone add anything to it
[01:41:08] *** crakrjak_respawn has quit IRC
[01:41:26] *** bmac has joined #angularjs
[01:41:32] *** crakrjak_respawn has joined #angularjs
[01:41:57] *** slashroot_ has joined #angularjs
[01:42:13] <dylanjohnson> well ui-bootstrap could easily avoid that by (optionally) using a callback to animate for the promises in resolve instead of just saying, “hey! promises! go get those promises! $digest?! sure!”
[01:42:22] *** thirdknife has quit IRC
[01:42:33] <wafflej0ck> dylanjohnson: I hear ya sort of, but you do want things to be consistent
[01:42:48] *** trustyhank has joined #angularjs
[01:42:52] <wafflej0ck> dylanjohnson: and in the case of loading the animations first, as is the resolve makes sure you have what you need before changing the view
[01:42:59] *** dan1 has quit IRC
[01:43:04] <wafflej0ck> so it would sort of be self defating for that use case
[01:43:05]
<Fifty5Plus> hi folks ... i need help with the following http://plnkr.co/edit/4O1q3fcSvkqvOtj0bDQa?p=preview ... Toggle works, unless you resize the window when side panels are collapsed ... sometimes works OK in plunker side-panel, so please try it in it's own window
[01:43:36] *** jMyles has quit IRC
[01:43:38] *** tfennelly has quit IRC
[01:43:59] <dylanjohnson> wafflej0ck: really, who has resolves that reliably return under the 400ms Doherty threshold outside of some demos
[01:44:01] <wafflej0ck> dylanjohnson: I would guess if you find a fairly clean way to fix the issue and put in a pull request for ui-bootstrap you'll get feedback if nothing else
[01:44:05] *** gnrlbzik has joined #angularjs
[01:45:12] <dylanjohnson> wafflej0ck: i was hoping to incite a common-interest mutiny that made someone else write it; my code is not so good
[01:45:17] <wafflej0ck> dylanjohnson: well if you already have some data cached but say just want to load an instance of a record before showing the next view and have it easily accessible you could do it with a resolve, I agree in most cases it's not super useful but I don't use it a lot either
[01:45:19] *** crakrjak_respawn has quit IRC
[01:45:21] <wafflej0ck> dylanjohnson: hehe
[01:45:32] <wafflej0ck> dylanjohnson: yeah I get where you're coming from but not sure how to solve it entirely
[01:45:39] *** Mackseraner has joined #angularjs
[01:45:48] *** Reskp has joined #angularjs
[01:46:14] *** edrocks_ has joined #angularjs
[01:46:47] <dylanjohnson> wafflej0ck: i do think a loader bool is an elegant solution. not just for modal resolves but also for routing resolves
[01:46:51] <wafflej0ck> dylanjohnson: I mean you can solve it in directives yourself in many cases (like an image directive that shows a loader or some other UI component) but it depends on the use case
[01:46:56] *** edrocks_ is now known as edrocks
[01:46:57] *** josh-k has quit IRC
[01:47:00] *** bbankes has quit IRC
[01:47:01] *** slashroot_ has quit IRC
[01:47:19] *** jMyles has joined #angularjs
[01:47:23] *** freeman42 has quit IRC
[01:47:26] <dylanjohnson> wafflej0ck: yeah, you can solve it, but it always feels like i’m circumventing the framework because i expressly avoid resolve in order to use the loader
[01:47:29] *** Nizumzen has joined #angularjs
[01:47:44] <dylanjohnson> then i write some init() function that looks out of place with the documentation
[01:47:54] *** Asiajey has quit IRC
[01:47:59] <wafflej0ck> yeah I just never saw a huge value in using resolve
[01:48:06] <dylanjohnson> frankly, i can’t use resolves at all, in ui-bootstrap, ui-router, or any other case
[01:48:26] *** BillCriswell has joined #angularjs
[01:48:26] <dylanjohnson> wafflej0ck: you must not write the docs for all these libs :)
[01:49:01] *** bostonaholic has joined #angularjs
[01:49:05] <wafflej0ck> hah yeah it is used in a lot of examples
[01:49:05] *** gnrlbzik has quit IRC
[01:49:12] <wafflej0ck> I've seen it in almost production ready code too
[01:49:39] <wafflej0ck> and was causing one of the "bugs" along with the loaders being all crazy cause they were using events to transmit the info about all sorts of loading stuff all over the place
[01:49:39] <dylanjohnson> i think it was an ng-newsletter article where i first learned about it in ui-router with an example of resolving a bunch of user accounts from APIs like facebook, github, etc.
[01:50:07] <dylanjohnson> wafflej0ck: yeah, i’ve been guilty of eventing it all over the place
[01:50:18] <wafflej0ck> yeah I did it in AS3 before but learned my lesson :)
[01:50:37] *** Reskp has quit IRC
[01:50:39] *** OddDuck has joined #angularjs
[01:50:39] *** OddDuck has joined #angularjs
[01:50:45] <wafflej0ck> events can be great but need to be used with some caution
[01:51:09] <dylanjohnson> yeah, eventing is awesome when you want to get something done and you don’t have any other events being fired off by your app
[01:51:30] <dylanjohnson> but when you start firing the same event from multiple places, or you start firing conflicting events, things start to suck
[01:51:40] <dylanjohnson> that’s why i’m moving to RxJS for such things
[01:52:11] <dylanjohnson> but in this particular case, i really think an elegant solution would be an optional loader for the library that is offering an animated modal
[01:52:37] <dylanjohnson> so i will write the code for the PR
[01:52:49] *** bkuberek has joined #angularjs
[01:53:00] <wafflej0ck> yeah give it a shot if it gets the idea across and they're interested I'm sure you'll get some help
[01:53:13] *** crakrjak_respawn has joined #angularjs
[01:53:16] <dylanjohnson> as long as someone can guarantee the PR will be accepted :)
[01:53:34] *** mjs2600 has joined #angularjs
[01:54:11] <dylanjohnson> no? no takers. oh well. i’ll write it anyway
[01:54:15] <wafflej0ck> heh I don't control that so can't guarantee anything, but I think if you did something alongside resolve that did basically the same thing but included some sort of loading overlay like you're suggesting it might be accepted... definitely google around a bit first
[01:54:21] <ctanga> resolves are awesome
[01:54:24] <ctanga> just sayin
[01:54:30] <dylanjohnson> ctanga: they are!
[01:54:43] <dylanjohnson> except when they take >=750ms
[01:54:44] *** tkimmel has joined #angularjs
[01:54:47] *** patric100e99 has joined #angularjs
[01:55:44] <dylanjohnson> have you had some success handling long-running promises?
[01:56:00] *** TheAceOfHearts has joined #angularjs
[01:56:13] *** marr has quit IRC
[01:56:32] <ctanga> sure, with a loading indicator or something
[01:56:33] *** Basemm has quit IRC
[01:56:48] *** tripu has joined #angularjs
[01:56:58] <dylanjohnson> how’d you integrate resolve with a loading indicator?
[01:58:30] *** Rejected has quit IRC
[01:59:01] *** tkimmel has quit IRC
[01:59:01] *** eamonn has quit IRC
[01:59:30] <ctanga> I think using $stateChangeStart
[01:59:37] *** eamonn has joined #angularjs
[01:59:49] *** patric100e99 has quit IRC
[02:00:24] *** zoeycakes has joined #angularjs
[02:01:50] *** Foxandxss has quit IRC
[02:03:19] *** bmac has quit IRC
[02:03:43] *** {DV8} has joined #angularjs
[02:03:49] <wafflej0ck> ah that is true you could use the state change events I did still do that along with the LoadingService in some cases only problem is it still delays the UI from getting to the next screen due to the resolve, but again depends on how you want to handle showing what's loading
[02:03:52] *** eamonn has quit IRC
[02:03:58] *** josh-k has joined #angularjs
[02:03:59] *** nesquerra has quit IRC
[02:04:00] *** rtpg has joined #angularjs
[02:04:46] *** Limix has joined #angularjs
[02:05:06] *** rtpg has quit IRC
[02:05:09] *** bmac has joined #angularjs
[02:05:13] *** rtpg has joined #angularjs
[02:05:27] *** fedenunez has joined #angularjs
[02:06:20] *** mikehaas763 has joined #angularjs
[02:06:34] *** bostonaholic has quit IRC
[02:07:05] *** ccohn has joined #angularjs
[02:07:10] *** bmac has quit IRC
[02:07:17] *** thirdknife has joined #angularjs
[02:08:45] *** thirdknife has joined #angularjs
[02:09:08] *** doug64k has quit IRC
[02:09:55] *** shpoont has joined #angularjs
[02:10:04] *** afuggini has joined #angularjs
[02:10:25] *** thirdknife has quit IRC
[02:10:36] *** seriema has joined #angularjs
[02:10:59] *** bostonaholic has joined #angularjs
[02:11:01] *** pushpak has quit IRC
[02:11:35] <dylanjohnson> ctanga: that applies for router resolves
[02:11:40] *** ccohn has quit IRC
[02:11:47] <dylanjohnson> wafflej0ck: not for the modal resolve, which is my current problem
[02:11:56] <dylanjohnson> consequently, the most important current problem :)
[02:12:04] *** bostonaholic has quit IRC
[02:12:40] *** MalteJ has quit IRC
[02:12:50] <dylanjohnson> ctanga: i do agree that the $stateChange stuff is good for ui-router
[02:12:53] <wafflej0ck> Fifty5Plus: what's up?
[02:13:07] *** fedenunez has quit IRC
[02:13:08] <dylanjohnson> and a well-written interceptor can do the trick in a lot of situations
[02:13:30] *** oktapodi has joined #angularjs
[02:13:44] *** bostonaholic has joined #angularjs
[02:13:53] <dylanjohnson> Fifty5Plus: whoa, what are you making?
[02:14:11] <Fifty5Plus> wafflej0ck why?
[02:14:24] *** krawek has quit IRC
[02:14:31] <wafflej0ck> Fifty5Plus: what'd you want done with the plunkr?
[02:14:37] *** nycdevgirl has quit IRC
[02:14:39] <dylanjohnson> presumably so he can help
[02:14:50] <Fifty5Plus> wafflej0ck actually someone else here (forget his nick) helped with sizing originally but now my toggle does not always work
[02:15:18] *** chanced has quit IRC
[02:15:22] *** seriema has quit IRC
[02:15:28] <wafflej0ck> Fifty5Plus: any idea what's going on when it breaks... seems to be working fine here
[02:15:38] <Fifty5Plus> when you click on button and sides hide, if you resize window then clicking on buttong does not bring back the sides
[02:15:49] <dylanjohnson> this looks like a job for… CSS!
[02:16:28] <Fifty5Plus> no, it's a kludge because css can not do that without flex-box - that is the classic holy-grail layout
[02:16:29] *** ctanga has quit IRC
[02:17:15] <Fifty5Plus> resize() calculates the width of middle panel based on width of sides and that is where it's messing up ... so let me try to explain what i think is going wrong ...
[02:17:27] *** Guest5652 has quit IRC
[02:18:21] *** bostonaholic has quit IRC
[02:18:25] *** oktapodi has quit IRC
[02:18:29] *** ProLoser has joined #angularjs
[02:18:42] <Fifty5Plus> that .clientWidth is actually at zero, when i want to visualize the panels, so i try to save the sizes the last time window was resized but that ends up saving left/right zero values when sides are hidden, so i can check for that but it just does not feel right
[02:19:53] <Fifty5Plus> so when ng-show=no is there a way to get the width of something that is hidden?
[02:20:05] *** kirfu has joined #angularjs
[02:20:07] *** chanced has joined #angularjs
[02:20:11] *** synlag1 has joined #angularjs
[02:20:21] <wafflej0ck> Fifty5Plus: yeah so I see quite a few things that I would classify as wrong here...
[02:20:42] <Fifty5Plus> wafflej0ck excellent, i've come to the right place ;)
[02:20:44] <wafflej0ck> Fifty5Plus: regarding ng-show it is going to change the class which changes the display style to none which I think makes clientWidth 0 as well
[02:21:20] <Fifty5Plus> wafflej0ck that is bascially the problem (minus the fact that i likely did not code any of it cleanly)
[02:21:33] *** LossFor has joined #angularjs
[02:21:42] <Fifty5Plus> wafflej0ck if you could fix it and clean it up, i would be grateful
[02:21:52] *** Owner has joined #angularjs
[02:22:03] <wafflej0ck> Fifty5Plus: heh yeah things I see that I don't like, 1 properties of the scope being used directly instead of an object being attached to the scope that is the model (don't treat the scope as a model itself), any DOM manipulation like reading the clientWidth should be handled in directives too.... I've seen this done before actually in Plunkr
[02:22:16] *** Owner is now known as Guest6704
[02:22:21] *** qdk has joined #angularjs
[02:22:47] *** synlag has quit IRC
[02:23:09] *** ProLoser has quit IRC
[02:23:13] <wafflej0ck> serve*
[02:23:18] <wafflej0ck> or server, whatever
[02:23:52] <Fifty5Plus> wafflej0ck before i look, i am using 'body' directive, which in turn calls that $sope.resize function ... but let me look what you got ... thanks
[02:24:25] *** jmichaelward has joined #angularjs
[02:24:27] *** shpoont has quit IRC
[02:24:41] *** bostonaholic has joined #angularjs
[02:25:16] <Fifty5Plus> wafflej0ck oh that, i looked at that while back but can not remember what was missing
[02:25:35] *** dylanjohnson has quit IRC
[02:25:41] <wafflej0ck> Fifty5Plus: np it appears they have the "holy grail" as a demo there, just scanned through the code it's pretty dense stuff but would google around a bit I know this has been solved at least a few times
[02:26:31] *** TommyO_ has quit IRC
[02:26:47] *** TommyO_ has joined #angularjs
[02:26:47] *** TommyO_ is now known as TommyO
[02:27:12] *** TommyO has joined #angularjs
[02:27:38] *** charuru has joined #angularjs
[02:27:44] <Fifty5Plus> my plunker is very lightweight and it works really well without toggling visibility of side panels
[02:28:27] <wafflej0ck> Fifty5Plus: yeah I can come back and refactor it later if you're still stuck on it but working on cleaning up some of my own code to give more user feedback and just clean things up
[02:28:52] <Fifty5Plus> wafflej0ck please, i will be here
[02:29:12] *** nycdevgirl has joined #angularjs
[02:29:47] *** junmin has quit IRC
[02:30:42] *** rburns has joined #angularjs
[02:30:53] *** ryst has quit IRC
[02:30:57] *** michaelSharpe has joined #angularjs
[02:30:59] *** Shrooms has joined #angularjs
[02:31:53] *** doug64k has joined #angularjs
[02:31:54] *** shpoont has joined #angularjs
[02:32:15] *** onats has joined #angularjs
[02:32:32] *** edrocks has quit IRC
[02:33:05] *** AciD`` has quit IRC
[02:33:28] *** Limix has quit IRC
[02:33:33] *** j4rh3rd has joined #angularjs
[02:35:55] *** crakrjak_respawn has quit IRC
[02:36:37] *** edrocks_ has joined #angularjs
[02:36:55] *** ProLoser has joined #angularjs
[02:37:00] *** Jameser` has quit IRC
[02:37:17] *** marshall has joined #angularjs
[02:37:36] *** edrocks_ is now known as edrocks
[02:39:30] *** kirfu has quit IRC
[02:39:45] *** motionman has joined #angularjs
[02:40:39] *** crakrjak_respawn has joined #angularjs
[02:40:52] *** bostonaholic has quit IRC
[02:41:33] *** alinou has quit IRC
[02:41:45] *** michaelSharpe has quit IRC
[02:41:48] *** Xethron_ has quit IRC
[02:42:09] *** grantfunke_ has quit IRC
[02:42:19] *** nemothekid has quit IRC
[02:43:32] *** adpirz has joined #angularjs
[02:43:54] *** AlexZan has joined #angularjs
[02:44:12] *** greengriminal has quit IRC
[02:44:45] *** zwacky has quit IRC
[02:44:53] *** gnrlbzik has joined #angularjs
[02:45:19] *** josh-k has quit IRC
[02:45:23] *** zzing has quit IRC
[02:45:39] *** Shrooms has quit IRC
[02:45:52] *** josh-k has joined #angularjs
[02:46:06] *** mubi has quit IRC
[02:46:30] *** dsdeiz has joined #angularjs
[02:46:41] *** opiates has quit IRC
[02:46:46] *** Reskp has joined #angularjs
[02:46:54] *** mubi has joined #angularjs
[02:47:17] *** adpirz has quit IRC
[02:47:19] *** adpirz_ has joined #angularjs
[02:48:10] *** zzing has joined #angularjs
[02:48:26] *** glaksmono has joined #angularjs
[02:49:35] *** ryst has joined #angularjs
[02:49:47] *** snurfery has joined #angularjs
[02:49:51] *** gnrlbzik has quit IRC
[02:50:20] *** josh-k has quit IRC
[02:51:18] *** Reskp has quit IRC
[02:51:25] *** yelvert has joined #angularjs
[02:51:34] *** elrabin has quit IRC
[02:52:06] *** spaceonline has joined #angularjs
[02:52:31] *** kakashiA1 has quit IRC
[02:52:31] *** jillesme has joined #angularjs
[02:55:57] *** yelvert has quit IRC
[02:56:22] *** spaceonline has quit IRC
[02:56:51] *** shpoont has quit IRC
[02:57:11] *** jillesme has quit IRC
[02:59:22] *** adamsilver has joined #angularjs
[02:59:27] *** asher^ has quit IRC
[02:59:30] *** grantfunke_ has joined #angularjs
[02:59:40] *** Nijikokun has quit IRC
[03:00:09] *** shampine has joined #angularjs
[03:00:26] *** grantfunke_ has quit IRC
[03:00:59] *** mjs2600 has quit IRC
[03:00:59] *** rburns has quit IRC
[03:01:18] *** rburns has joined #angularjs
[03:02:21] *** jonr22 has joined #angularjs
[03:03:24] *** motionman has quit IRC
[03:03:36] *** asher^ has joined #angularjs
[03:04:20] *** Typher has joined #angularjs
[03:04:40] *** FabianCook has joined #angularjs
[03:05:09] *** synlag1 has quit IRC
[03:06:23] <FabianCook> Hey guys
[03:08:53] *** Typher has quit IRC
[03:09:05] *** RedOrangeZ has quit IRC
[03:09:07] *** hugotox has joined #angularjs
[03:09:08] *** toad-br has quit IRC
[03:09:21] <FabianCook> Anyone been using angular-material?
[03:09:53] *** araujo has quit IRC
[03:10:41] *** shpoont has joined #angularjs
[03:11:36] *** seriema has joined #angularjs
[03:11:38] *** marcjs has quit IRC
[03:12:36] *** mven has joined #angularjs
[03:12:45] *** Aerospark has joined #angularjs
[03:13:58] *** Nijikokun has joined #angularjs
[03:14:08] *** moritzs has quit IRC
[03:14:16] <ProLoser> UniBot: is finally stable!
[03:14:40] *** chanced has quit IRC
[03:14:45] *** ehalas has quit IRC
[03:15:02] *** eeel has joined #angularjs
[03:15:05] *** hugotox has quit IRC
[03:15:36] *** motionman has joined #angularjs
[03:16:22] *** TommyO_ has joined #angularjs
[03:16:30] <eeel> hey, how can i combine passing a variable through an attribute to a directive?
[03:16:57] *** seriema has quit IRC
[03:17:01] *** SonikBoom has quit IRC
[03:17:16] *** onats has quit IRC
[03:17:31] <dsdeiz> hey all how do you guys manage environment based constants?
[03:17:46] *** chanced has joined #angularjs
[03:18:35] *** TommyO has quit IRC
[03:19:41] *** cacts|wtf has joined #angularjs
[03:20:21] <FabianCook> dsdeiz: constants
[03:20:27] *** mikehaas763 has quit IRC
[03:20:29] *** caitp- has quit IRC
[03:21:07] <FabianCook> eeel: scope:{ attr: "=" }, controller: ($scope)-> $scope.attr
[03:21:08] <dsdeiz> i did mention about constants
[03:21:26] <FabianCook> dsdeiz: didn't read hahahha
[03:21:36] <eeel> whats the difference between using = and @
[03:22:25] *** elrabin has joined #angularjs
[03:22:43] <FabianCook> dsdeiz: what kinda management you thinking?
[03:22:43] *** cacts has quit IRC
[03:22:47] <FabianCook> Just changing up?
[03:22:50] <eeel> i'm using a custom directive in a ng-repeat loop and it doesnt seem to be grabbing the value of the attribute
[03:23:35] <dsdeiz> i don't really know at the moment. i'm looking at gulp-ng-constant
[03:24:01] <FabianCook> eeel: " bind a local scope property to the value of DOM attribute"
[03:24:08] *** jonr22 has quit IRC
[03:24:30] <FabianCook> eeel: pretty sure its just one way
[03:24:33] <FabianCook> eeel: = is two way
[03:24:46] <FabianCook> eeel: like if you were using it for ngModel
[03:24:48] *** annlewis has joined #angularjs
[03:24:49] *** jonr22 has joined #angularjs
[03:25:10] *** soya has joined #angularjs
[03:25:31] <eeel> when i log the output, the static variable table is find, but the row_id catches undefined
[03:25:36] <eeel> fine*
[03:26:04] <FabianCook> eeel: row_id="{{item}}"
[03:26:19] *** tfennelly has joined #angularjs
[03:26:23] <FabianCook> eeel: unless row_id is part of the directive as well?
[03:26:31] <FabianCook> eeel: gist?
[03:26:40] *** nesquerra has joined #angularjs
[03:26:47] *** elrabin has quit IRC
[03:26:49] *** onder` has joined #angularjs
[03:26:57] <FabianCook> Actually
[03:27:12] *** shpoont has quit IRC
[03:27:15] <FabianCook> eeel: what ever way to share your code suits
[03:28:28] <FabianCook> dsdeiz: gulp-ng-constant actually doesn't look to bad
[03:28:40] <dsdeiz> yeah looks like it
[03:28:47] <FabianCook> dsdeiz: might actually use it for my project
[03:28:54] <FabianCook> dsdeiz: +1 for the link
[03:29:06] <FabianCook> dsdeiz: reference*
[03:29:30] *** Aliks has quit IRC
[03:29:47] *** shpoont has joined #angularjs
[03:29:57] *** shinnya has quit IRC
[03:30:14] *** ChadStrat has joined #angularjs
[03:30:27] *** joshontheweb has quit IRC
[03:30:52] *** tfennelly has quit IRC
[03:31:04] *** caitp has joined #angularjs
[03:31:05] *** bkuberek has quit IRC
[03:31:34] *** joshontheweb has joined #angularjs
[03:31:39] *** fatshark has quit IRC
[03:34:13] <mubi> kinda have a weird error I’m having trouble tracking down
[03:34:27] <FabianCook> mubi: throw it at me
[03:35:21] <mubi> Im using routing and when I route to a page called /jiraModule from /main and go back to /main my css is jumbled, looking weird, doesn’t appear as it once did. But refreshing the page fixes the problem
[03:35:31] <mubi> also I’m using ocLazyLoading
[03:35:34] <mubi> for routing
[03:35:40] <mubi> if that makes any difference
[03:35:52] <FabianCook> mubi: hmm. give me a moment
[03:36:01] <mubi> k
[03:36:16] <FabianCook> mubi: lazy loading shouldn't be an issue
[03:36:21] <mubi> phew
[03:36:32] <FabianCook> mubi: any repo?
[03:36:39] *** rud_ has joined #angularjs
[03:36:48] *** Jon31 has quit IRC
[03:37:04] <FabianCook> mubi: are you lazy loading css?
[03:37:09] *** rud has quit IRC
[03:37:10] *** rud_ is now known as rud
[03:37:21] <mubi> well its copmany code, no I don’t think I’m lazy loading css, lemme check
[03:37:46] <mubi> yea not lazy loading css, should I?
[03:38:13] <FabianCook> mubi: ahh. Don't think its the best thing to do, but thats opinion. Hmmmm.
[03:38:38] <FabianCook> mubi: css isn't in the template right? in the main app file?
[03:39:33] *** soya has quit IRC
[03:39:35] *** annlewis has quit IRC
[03:39:55] *** ChadStrat has quit IRC
[03:39:59] <mubi> yea css is loade in the /main page using <link rel="stylesheet" href="/css/bugsList.css">
[03:39:59] <mubi> <link rel="stylesheet" href="/css/lightboxcss/lightbox.css">
[03:40:08] <mubi> at the top
[03:40:19] *** onder` has quit IRC
[03:40:27] *** damain has quit IRC
[03:40:41] <FabianCook> mubi: not changing the head in any way?
[03:41:09] <mubi> no no, everything is html snippets loaded in the index.html file using ng-view
[03:41:39] *** {DV8} has quit IRC
[03:41:52] <mubi> if i put my code up, should I put up the html or the js?
[03:41:57] *** seshakiran has joined #angularjs
[03:42:24] *** seshakiran has left #angularjs
[03:43:08] *** chromatome has quit IRC
[03:43:14] *** seshakiran has joined #angularjs
[03:43:24] <FabianCook> mubi: would like both. You can email me if you like fabian.cook @ shipper. co. nz
[03:43:24] <seshakiran> hi all
[03:43:31] <FabianCook> seshakiran: hey
[03:43:41] *** seshakiran has quit IRC
[03:43:57] *** seshakiran has joined #angularjs
[03:44:03] <seshakiran> hey Fabian
[03:44:10] *** robbie-away is now known as robbiethegeek
[03:44:10] <FabianCook> seshakiran: whats up?
[03:44:19] *** cotko has joined #angularjs
[03:45:03] <seshakiran> I have a quick question. I am noob to angular. any good site to start on the concepts?
[03:45:21] <FabianCook> seshakiran: I hate to say it, but angularjs.org
[03:45:40] <seshakiran> :) Thanks Fabian. i am going through it.
[03:45:49] <FabianCook> seshakiran: Or do you mean project website
[03:46:04] <robbiethegeek> seems really thorough and current best practices focused
[03:46:07] <FabianCook> seshakiran: It depends on your skill set
[03:47:14] <FabianCook> seshakiran: Looked through the post that robbiethegeek linked to, seems like it covers it
[03:47:19] <seshakiran> cool. thanks. let me look at both. I have been a web dev ..but got into management and brushing my skills now
[03:47:25] <seshakiran> or learning I would better say
[03:47:29] <seshakiran> sure. thanks Robbie
[03:47:33] *** Reskp has joined #angularjs
[03:47:52] *** favetelinguis has joined #angularjs
[03:47:58] <robbiethegeek> my pleasure :)
[03:48:59] <seshakiran> also, I would like to know if there is any good IRC channel on the browsers? few questions on how browsers work actually.
[03:49:28] *** rchavik has joined #angularjs
[03:49:51] <FabianCook> seshakiran: hmmm there must be a chromium one
[03:50:12] *** soya has joined #angularjs
[03:50:14] <FabianCook> #chromium
[03:50:41] *** adpirz_ has quit IRC
[03:51:02] *** naiyte has joined #angularjs
[03:51:20] <seshakiran> wow..thanks Fabian. so many on both channels. great
[03:51:25] *** ProLoser has quit IRC
[03:51:38] *** madtrax has joined #angularjs
[03:51:51]
<naiyte> Anybody here used colorbox? (http://www.jacklmoore.com/colorbox/) I can't seem to get it to work with an angular filter. The ng-repeat works fine in the colorbox, but the filter doesn't do anything (whereas the exact filter outside of the box works fine)
[03:51:59] <naiyte> No errors or anything :\
[03:52:10] *** Guest6704 has quit IRC
[03:52:23] <FabianCook> naiyte: create a plunker and I will debug if you want
[03:52:45] <naiyte> Thanks FabianCook, I'll put it together
[03:52:53] *** Reskp has quit IRC
[03:53:06] *** favetelinguis has quit IRC
[03:53:19] *** jmichaelward has quit IRC
[03:53:23] <FabianCook> naiyte: np
[03:53:28] *** junmin has joined #angularjs
[03:55:30] *** ProLoser has joined #angularjs
[03:56:11] *** patric100e99 has joined #angularjs
[03:56:30] *** ctanga has joined #angularjs
[03:56:58] *** scythe__ has quit IRC
[03:57:46] *** mmealling has quit IRC
[03:57:54] *** dsdeiz has quit IRC
[03:57:54] *** dsdeiz has joined #angularjs
[04:00:35] *** Owner__ has joined #angularjs
[04:00:49] *** patric100e99 has quit IRC
[04:00:58] *** Owner__ is now known as Guest81667
[04:01:25] *** Aliks has joined #angularjs
[04:02:09] *** jackStoner has joined #angularjs
[04:02:09] *** rburns has quit IRC
[04:02:21] *** oktapodi has joined #angularjs
[04:02:26] *** rburns has joined #angularjs
[04:03:02] <eeel> ok
[04:04:42] *** j4rh3rd has quit IRC
[04:04:51] *** afuggini has quit IRC
[04:05:11] <dsdeiz> anyone used gulp-ng-constant? i don't get how i can specify the environment in the gulpfile.js unlike in grunt where there's ngconstant:development on the development task
[04:06:52] <FabianCook> dsdeiz: you would do it based on the task
[04:07:00] *** AlexZan has quit IRC
[04:07:13] <FabianCook> dsdeiz: for example if you had a task develop vs a task for production
[04:07:36] *** oktapodi has quit IRC
[04:07:44] <dsdeiz> yep but what's the equivalent of ngconstant:development in grunt in gulp
[04:08:11] *** shpoont has quit IRC
[04:08:15] *** eeel has quit IRC
[04:08:18] *** shampine has quit IRC
[04:08:23] *** nesquerra has quit IRC
[04:08:39] *** ccohn has joined #angularjs
[04:10:08] *** shpoont has joined #angularjs
[04:10:19] *** mfoncho has joined #angularjs
[04:10:23] *** smola1022 has joined #angularjs
[04:10:33] <smola1022> evning folks.
[04:10:37] <smola1022> evening*
[04:10:51] <BahamutWC|Work> dsdeiz: just create two different tasks with different ng-constant usage for each
[04:11:02] <dsdeiz> i guess that works as well
[04:11:04] <BahamutWC|Work> not the cleanest, but apparently it’s the way to operate when using gulp
[04:11:12] *** shampine has joined #angularjs
[04:11:39] <naiyte> I'm probably doing something stupid
[04:11:50] <naiyte> Or maybe Angular just has conflicts with colorbox
[04:12:18] <mfoncho> i need help!!! on how to do the $http get once and store the response in a variable in a factory and use many time without making the same Ajax request very time i want to manipulate sata from my server
[04:13:10] *** ccohn has quit IRC
[04:13:10] *** seriema has joined #angularjs
[04:13:28] <mfoncho> i need help!!! on how to do the $http get once and store the response in a variable in a factory and use many time without making the same Ajax request very time i want to manipulate data from my server
[04:13:46] <mfoncho> please can any one help me out
[04:13:57] <FabianCook> mfoncho: sorry with naiyte
[04:14:07] <smola1022> for anyone who can answer: i am using FileReader to get the base64 image data for an image on the client machine. i have a $scope.img = { data: '' } in the controller, and threw in an <img ng-src="{{img.data}}"/> element in the view. i get the data back ok, but the image only renders once i physically click the view. anyone seen this before and/or know how to make the image show immediately when the data arrives?
[04:14:15] *** fairuz has joined #angularjs
[04:14:31] *** gnrlbzik has joined #angularjs
[04:15:10] <mfoncho> i need help!!! on how to do the $http get once and store the response in a variable in a factory and use many time without making the same Ajax request very time i want to manipulate data from my server
[04:15:35] <GreenJello> smola1022, try putting $scope.$apply() when you modify $scope.img
[04:15:59] <GreenJello> I'm not great with angular, so there might be a better way
[04:16:03] <FabianCook> naiyte: hmmmm... angular won't like that one bit
[04:17:25] *** AngularUI has joined #angularjs
[04:17:25]
<AngularUI> [ui-router] christopherthielen pushed 2 new commits to master: http://git.io/VW_sCw
[04:17:25] <AngularUI> ui-router/master 3045e41 christopherthielen: fix($urlMatcherFactory): "string" type now encodes/decodes slashes...
[04:17:25] <AngularUI> ui-router/master db12c85 christopherthielen: fix($urlMatcherFactory): empty string policy now respected in Param.value()
[04:17:25] *** AngularUI has left #angularjs
[04:17:29] *** Guest81667 has quit IRC
[04:17:32] <smola1022> @GreenJello, that totally worked, thanks! i too, wonder if thats simply a workaround though. i read online somewhere that dom manipulation should be restricted to directives, so i wonder if that has something to do with it...
[04:17:43] *** ProLoser has quit IRC
[04:17:57] *** TyrfingMjolnir has quit IRC
[04:18:14] <mfoncho> i need help!!! on how to do the $http get once and store the response in a variable in a factory and use many time without making the same Ajax request very time i want to manipulate data from my server
[04:18:17] <GreenJello> smola1022, it's just an issue that comes up when you modify things and angular isn't looking
[04:18:24] *** seriema has quit IRC
[04:18:38] *** ctanga has quit IRC
[04:18:45] *** Limix has joined #angularjs
[04:18:47] <smola1022> i thought that was the hole point of the two-way data binding. that it's *always* looking... ;]
[04:18:49] <FabianCook> mfoncho: please stop reposting. Use caching
[04:18:51] *** Limix has quit IRC
[04:18:52] <GreenJello> it's the same reason you need to use $q and $timeout in angular, vs Q and setTimeout
[04:18:54] <smola1022> whole*
[04:19:01] <FabianCook> smola1022: on a tick ;)
[04:19:24] *** jareddlc has joined #angularjs
[04:19:42] <GreenJello> smola1022, only when you're inside angular world
[04:19:59] *** rtpg has quit IRC
[04:20:00] <mfoncho> when i do an alert the object is undefined butand after that it send the data
[04:20:05] <smola1022> haha i see...i also saw a mix of data-ng-src vs. ng-src. whats the difference?
[04:20:07] <naiyte> FabianCook: I was thinking it would work since ng-repeat wasn't having a problem. I'm guessing it's a conflict with how angular's filter sets the elements to hidden (and it not knowing where they are, given the extra dom elements colorbox makes)?
[04:20:12] <GreenJello> smola1022, the general solution is to abstract it as an angular service
[04:20:14] <dsdeiz> FabianCook: sweet. thx!
[04:20:35] <GreenJello> and do the $apply there
[04:20:38] *** cesarkawakami2 has joined #angularjs
[04:20:49] *** Mackseraner has quit IRC
[04:20:51] <GreenJello> smola1022, nothing, just some people are strict about following the spec and others want convienence
[04:21:11] <FabianCook> naiyte: Its the ng-model that isn't being picked up
[04:21:23] *** grantfunke_ has joined #angularjs
[04:21:32] <GreenJello> smola1022, you can stick data- in front of any attribute directive
[04:21:43] <GreenJello> foo="bar" or data-foo="bar"
[04:21:58] *** TheAceOfHearts has quit IRC
[04:22:19] <smola1022> ahh ok i see. seems redundant with the ng- prefix...hah
[04:22:53] *** cesarkawakami has quit IRC
[04:23:04] *** ChadStrat has joined #angularjs
[04:23:37] *** Hackwar has quit IRC
[04:24:13] <FabianCook> smola1022: why are you not using an angular controller?
[04:24:21] *** Hackwar has joined #angularjs
[04:24:25] <smola1022> i am
[04:24:38] <smola1022> thats where i initially bind the data to the scope
[04:24:48] <FabianCook> $(document).ready?
[04:24:48] *** mfoncho has left #angularjs
[04:24:51] <smola1022> and make the call to the service for the FileReader result
[04:24:56] *** nesquerra has joined #angularjs
[04:25:39] <smola1022> the document is long ready before i make it to the fiel reading stage
[04:25:41] <smola1022> file*
[04:25:57] *** TyrfingMjolnir has joined #angularjs
[04:26:14] *** benschaaf has joined #angularjs
[04:26:15] *** cakirke has quit IRC
[04:26:17] <smola1022> the logic is actually in a controller bound to a modal
[04:26:31] *** ahmetkapikiran has quit IRC
[04:26:46] <GreenJello> smola1022, does your service return a $q promise?
[04:26:53] *** cesarkawakami2 has quit IRC
[04:26:55] <smola1022> so i have to pop the modal from within the app first to even get to that view. as i was just testing, i put the image elemnt inside the modal view
[04:27:02] *** michaelSharpe has joined #angularjs
[04:27:10] *** benschaaf has quit IRC
[04:27:34] *** ChadStrat has quit IRC
[04:27:40] <smola1022> im not currently talking to a server at this point. the idea is get the full image in the dom so the user can crop it, then send the cropped image data to the server.
[04:27:54] <FabianCook> smola1022: solution on its way
[04:28:35] <smola1022> so the service is just created an instance of FileReader, and i set it up so that it returns promises for success() and error(), bound to the FileReader's onload and onerror events, respectively.
[04:29:02] *** BillCriswell has quit IRC
[04:30:04] *** {DV8} has joined #angularjs
[04:31:45] *** michaelSharpe has quit IRC
[04:32:10] *** tarski has quit IRC
[04:32:59] *** seshakiran has quit IRC
[04:33:14] *** shpoont has quit IRC
[04:33:36] *** flyingducks has joined #angularjs
[04:33:50] <FabianCook> smola1022: so no access to a controller right?
[04:33:59] *** jonr22 has quit IRC
[04:34:02] <FabianCook> Or a factory or a service. what ever
[04:34:40] *** {DV8} has quit IRC
[04:34:51] <BobbieBarker> you should be running a directive inside the modal to access the html5 file reader API
[04:34:56] <BobbieBarker> which will also give you a controller
[04:35:08] *** bmac has joined #angularjs
[04:35:24] <FabianCook> BobbieBarker: agreed. Angular world pls
[04:35:36] <BobbieBarker> that is the angular solution
[04:35:44] <FabianCook> BobbieBarker: +1
[04:35:52] <BobbieBarker> and from the directive/controller you can inject what ever other services you're using
[04:36:04] <BobbieBarker> i.e your API service if you're using $http
[04:36:05] *** {DV8} has joined #angularjs
[04:36:17] <FabianCook> Anyone wanna talk about angular-material?
[04:36:17] <smola1022> Fabian, let me dpaste some stuff for you...
[04:36:45] *** ETBlue has quit IRC
[04:36:52] <BobbieBarker> oh this is a thing now?
[04:36:54] <BobbieBarker> fucking sexy
[04:37:13] *** eshlox has quit IRC
[04:37:17] <BobbieBarker> is this a google project?
[04:37:19] <FabianCook> BobbieBarker: this is totally a thing
[04:37:23] <FabianCook> BobbieBarker: sure is
[04:37:31] <BobbieBarker> that's pretty sick
[04:37:37] *** Cache_Money has joined #angularjs
[04:37:37] <FabianCook> BobbieBarker: doing my entire project in it
[04:37:42] <BobbieBarker> what stage of development is it in?
[04:38:00] <FabianCook> BobbieBarker: material? Early days. Gotta live on the edge
[04:38:01] <BobbieBarker> like is this beta, or stable?
[04:38:06] *** Aerospark has quit IRC
[04:38:10] <FabianCook> BobbieBarker: stable enough
[04:38:11] *** ProLoser has joined #angularjs
[04:38:21] <BahamutWC|Work> FabianCook: made by someone from Ionic from what I understand
[04:38:22] *** eshlox has joined #angularjs
[04:38:26] <BobbieBarker> rofl stable enough doesn't cut it if you're on top of a project that is live
[04:38:33] <BobbieBarker> and has a ton of money behind it and in it
[04:38:43] <FabianCook> BobbieBarker: It is here
[04:38:51] <FabianCook> BobbieBarker: coreos alpha yoo
[04:39:05] *** syphar has quit IRC
[04:39:05] *** tanepiper__ has quit IRC
[04:39:09] <FabianCook> BobbieBarker: v0.4
[04:39:09] *** ETBlue has joined #angularjs
[04:39:15] <BobbieBarker> what happend? oh i moved us to an unstable front end design framework and now when anyone clicks on anythign they get a goatse jpg
[04:39:22] <wafflej0ck> Fifty5Plus: still around?
[04:39:30] <FabianCook> BobbieBarker: so not officially stable
[04:39:33] <BobbieBarker> i think our clients will be impressed with the goatse feature
[04:39:35] <BobbieBarker> lol
[04:39:48] <FabianCook> BobbieBarker: hhahahaha. Nah, I feel like it is stable.
[04:39:54] <Fifty5Plus> wafflej0ck yes sir
[04:40:00] <FabianCook> BobbieBarker: But would wait for v1
[04:40:08] <BobbieBarker> i'm going to wait for it to get a little better
[04:40:23] <BobbieBarker> but i want to move onto it asap and get off of bootstrap3 just to differentiate
[04:40:26] <wafflej0ck> Fifty5Plus: okay gonna start taking a look through that plunkr and try to move things around without breaking the functionality you've got so far
[04:40:29] <BobbieBarker> plus clearly this is tied into angular
[04:40:51] *** spaceonline has joined #angularjs
[04:41:03] <FabianCook> BobbieBarker: Use bootstrap for one project where I don't care about design, use material for the other
[04:41:12] *** syphar_ has joined #angularjs
[04:41:19] *** jillesme has joined #angularjs
[04:41:19] *** jillesme has joined #angularjs
[04:41:24] <Fifty5Plus> wafflej0ck ok but keep in mind it has a bug
[04:41:32] <BobbieBarker> bootstrap is totally legit you just need to go in and cut it up with less/sass so you don't look like you're using bootstrap
[04:41:43] *** tanepiper__ has joined #angularjs
[04:41:49] *** bkuberek has joined #angularjs
[04:41:50] <wafflej0ck> Fifty5Plus: yeah I'm just going to the fix the sore thumb stuff first then will try to address the bug
[04:41:52] <BahamutWC|Work> BobbieBarker: I’ve grown to increasingly dislike Bootstrap
[04:42:00] <FabianCook> BobbieBarker: Hhahah thats true. I haven't said any website except for inbox that uses material
[04:42:26] *** discgo has joined #angularjs
[04:42:27] <BobbieBarker> why is that? BahamutWC|Work
[04:42:31] <BahamutWC|Work> some of their CSS is kinda awful, such as floats on row class elements, and rows destroying the box model
[04:42:32] <BobbieBarker> just out of curiosity
[04:42:40] <BobbieBarker> i'll give you that
[04:42:43] <BahamutWC|Work> floats on the column class*
[04:42:49] <BobbieBarker> i knew what you meant
[04:43:03] *** mdedetri_ has joined #angularjs
[04:43:22] <BobbieBarker> the #1 reason i use it atm is the tie in with the angular strap project
[04:43:22] <BahamutWC|Work> from what I understand, Foundation is much better about that stuff
[04:43:30] <BobbieBarker> foundation is
[04:43:41] <BahamutWC|Work> I hate angular strap haha
[04:43:51] *** mdedetrich has quit IRC
[04:43:53] <BobbieBarker> but the problem with foundation is that they don't have a bad ass project as the tie in between angular and foundation
[04:44:06] <BahamutWC|Work> we were using a bit of it when I joined Jiff a few months ago - some of it was insanity
[04:44:13] *** jlyndon has quit IRC
[04:44:24] <BobbieBarker> things may of changed in the last couple months but the last time i looked the only directive library for foundation was sorely lacking
[04:44:32] <BahamutWC|Work> I remember hearing angular-foundation is nice
[04:44:39] <BobbieBarker> BahamutWC|Work: that may of been your implementation i've used strap extensively and i love the fuck out of it
[04:44:45] <boneskull> BahamutWC|Work angular-strap old version or rewrite?
[04:44:52] *** damain has joined #angularjs
[04:44:53] <BahamutWC|Work> boneskull: the rewrite I believe
[04:44:58] <BobbieBarker> the madmimi project?
[04:45:06] <boneskull> i haven't used either, but the rewrite looked significantly better
[04:45:09] <BahamutWC|Work> really dislike the modals in angular-strap, they’re awful
[04:45:23] <BobbieBarker> seriously? they're a joy to use compared to ui-bootstrap
[04:45:29] <BahamutWC|Work> ui-bootstrap is far better with them, you have more control
[04:45:32] <boneskull> we use ui-bootstrap but only for like 2 of the widgets
[04:45:36] *** Oddman has quit IRC
[04:45:38] <BobbieBarker> no way broseph
[04:45:39] <boneskull> anyone used ui-select?
[04:45:45] *** spaceonline has quit IRC
[04:45:47] *** deanclkclk_ has quit IRC
[04:45:53] <BahamutWC|Work> we migrated to ui-bootstrap, but we tossed ui-bootstrap recently in favor of Ionic
[04:45:54] *** jillesme has quit IRC
[04:45:54] *** dcherman has joined #angularjs
[04:46:01] <BahamutWC|Work> (along with Bootstrap too)
[04:46:01] *** davesidious_ has joined #angularjs
[04:46:07] <flyingducks> I heard Ionic is making good progress
[04:46:09] <BobbieBarker> ya for what you guys doing BahamutWC|Work ionic is a perfect fit
[04:46:11] <boneskull> we're married to bootstrap sadly
[04:46:22] <BahamutWC|Work> yup, that’s the only reason we took this risk
[04:46:28] *** {DV8} has quit IRC
[04:46:29] *** shpoont has joined #angularjs
[04:46:31] *** bkuberek has quit IRC
[04:46:33] <BahamutWC|Work> plus we have devs good enough to work around any bugs in Ionic
[04:46:41] <BobbieBarker> no doubt
[04:46:47] <BobbieBarker> you guys have a lot of talent
[04:46:53] *** Orbitrix has quit IRC
[04:47:05] *** jlyndon has joined #angularjs
[04:47:13] <BahamutWC|Work> haven’t investigated it or used it though
[04:47:13] <BobbieBarker> if when i get to build one of our apps out for mobile i'll be using ionic
[04:47:13] *** Orbitrix has joined #angularjs
[04:47:27] <BahamutWC|Work> Ionic has some gotchas you need to be careful with
[04:47:37] *** ahmetkapikiran has joined #angularjs
[04:47:45] <BahamutWC|Work> wish I had a blog, would make for a good article
[04:47:57] *** Aerospark has joined #angularjs
[04:47:59] <BahamutWC|Work> guess I could just say fuck it and do something in wordpress or medium
[04:48:11] <FabianCook> That feel when material
[04:48:25] <boneskull> is ionic suitable for desktop apps?
[04:48:25] *** pchittum has quit IRC
[04:48:31] <BobbieBarker> the #1 problem off the top just looking at angular-foundation is they don't offer very much in the way of directives to make it worth it
[04:48:36] <BobbieBarker> you'd have to write a lot of your own shit
[04:49:06] <boneskull> or is it written for only mobile apps?
[04:49:09] *** Reskp has joined #angularjs
[04:49:18] <BobbieBarker> ionic is geared towards mobile apps
[04:49:25] *** bjtitus has joined #angularjs
[04:49:31] <BahamutWC|Work> boneskull: we’re using Ionic for mobile + browser
[04:49:37] <BahamutWC|Work> but we’re a mobile first shop atm
[04:49:38] <BobbieBarker> and specifically to tie into cordova/angular so that you can go cross platform
[04:49:46] <BahamutWC|Work> 70% of our userbase is on mobile
[04:49:56] <boneskull> ah
[04:50:02] *** pchittum has joined #angularjs
[04:50:07] *** davesidious__ has quit IRC
[04:50:24] <BahamutWC|Work> we’ll probably contain the app to a container that’s centered for desktop
[04:50:47] <FabianCook> BobbieBarker: We're specifically only modern browsers :P
[04:50:49] <BahamutWC|Work> and maybe iterate from there via media queries
[04:50:56] <BobbieBarker> so am i
[04:51:07] *** Reskp_ has joined #angularjs
[04:51:27] <BobbieBarker> ie8 is like 4% of online traffic in N American right now
[04:51:38] <BobbieBarker> so if you're still supporting that you're probably wasting a shit load of man hours
[04:51:39] <BahamutWC|Work> needs to be 0%
[04:51:41] <BobbieBarker> over nothing
[04:51:44] <BobbieBarker> i know bro
[04:52:00] <BobbieBarker> unless your app caters to retirement homes that only run windows XP machines
[04:52:01] <BahamutWC|Work> we’re supporting IE10+
[04:52:07] <BobbieBarker> you shouldn't support ie8 anymore
[04:52:24] <FabianCook> BobbieBarker: You shouldn't support IE any more :P
[04:52:26] <BobbieBarker> BahamutWC|Work: once you get past ie8 and you're on 9+ i'm not really familiar with any huge gotchas like there are with ie8
[04:52:34] <BobbieBarker> FabianCook: i wish.... :(
[04:52:49] *** nemothekid has joined #angularjs
[04:52:51] <BahamutWC|Work> I seem to remember there being some shitty stuff with IE9
[04:53:04] <BahamutWC|Work> don’t remember exactly what though - debugging IE9 issues can sometimes be worse
[04:53:07] <FabianCook> BobbieBarker: That is what happens when you don't wanna supprt crap
[04:53:08] *** Oddman has joined #angularjs
[04:53:12] *** crakrjak_respawn has quit IRC
[04:53:21] <BobbieBarker> well the other good thing is that ie upgrades itself though
[04:53:24] <FabianCook> That feel when no one saw material in action hahaha
[04:53:41] <BobbieBarker> so if you look at the bowerser statistics on ie once they release an new version after 8 you'll see the numbers drop steeply
[04:53:42] *** Nijikokun has quit IRC
[04:53:52] <BobbieBarker> so when they released 10 the numbers for 9 dropped dramaticaally
[04:53:56] *** Oddman has quit IRC
[04:54:01] *** Reskp has quit IRC
[04:54:17] *** crakrjak_respawn has joined #angularjs
[04:54:20] <BobbieBarker> so if a user is on 9 it's because they're choosing it
[04:54:20] *** Nijikokun has joined #angularjs
[04:54:22] <FabianCook> BobbieBarker: Yeah. I won't ever see that
[04:54:45] <BobbieBarker> so personally i wouldn't put any real man hours into trouble shooting a ticket for anything under 11
[04:55:04] <BobbieBarker> at that point you're dealing with an asshole
[04:55:18] <BahamutWC> FabianCook: I knew about material.angularjs.org around when it was announced :P
[04:55:33] *** Sontakey has joined #angularjs
[04:55:40] *** damain has quit IRC
[04:55:45] <FabianCook> BobbieBarker: The company I used to work for had 90 - 99% of users on IE 7 - 10
[04:55:53] *** Reskp_ has quit IRC
[04:55:53] <BahamutWC> ouch
[04:55:55] <BahamutWC> get out asap haha
[04:55:57] *** tkimmel has joined #angularjs
[04:56:06] <BobbieBarker> FabianCook: holy shit fuck
[04:56:12] <BahamutWC> I saw the link you posted too :P
[04:56:13] <FabianCook> BahamutWC: imagine debugging that
[04:56:25] *** Nijikokun has quit IRC
[04:56:26] <BahamutWC> FabianCook: I'd hate myself
[04:56:30] <BobbieBarker> instead of debugging that i'd update my resume
[04:56:32] *** cotko has quit IRC
[04:56:34] <BahamutWC> haha
[04:56:40] <FabianCook> BahamutWC: 2 years of that
[04:56:51] <FabianCook> Got out in the last 2 months
[04:57:00] <BahamutWC> FabianCook: I haven't even been in the profession for 2 years :x
[04:57:03] *** Nijikokun has joined #angularjs
[04:57:18] <BahamutWC> been doing angular my whole career so far
[04:57:22] <BobbieBarker> how do you have 90%+ of your users on ie7 in 2014?
[04:57:26] <BobbieBarker> who the fuck was your target audience
[04:57:35] <FabianCook> BahamutWC: thats a good start
[04:57:35] <BahamutWC> government contractor maybe?
[04:57:38] <BahamutWC> or hospital?
[04:57:40] <FabianCook> BobbieBarker: courier business
[04:57:47] <BobbieBarker> in a 3rd world country?
[04:57:47] <BahamutWC> heh
[04:57:48] <FabianCook> BobbieBarker: used activex to print labels
[04:57:48] *** damain has joined #angularjs
[04:57:51] <BobbieBarker> or eastern europe
[04:57:52] <BahamutWC> :(
[04:58:01] <FabianCook> BobbieBarker: ie, aus, nz, sa
[04:58:07] <FabianCook> sa- south africa
[04:58:13] <BahamutWC> FabianCook: well, I've been able to ride angular to a senior engineer position heh
[04:58:20] *** soya has quit IRC
[04:58:23] <BobbieBarker> BahamutWC|Work: our career paths are similar
[04:58:26] <FabianCook> BahamutWC: thats sweet
[04:58:50] <dsdeiz> any ideas how i might add the js file gulp-ng-constant generates? currently the way it generates files is say i have local-config.json, development-config.json, the generated files are local-config.js and development-config.js.. i was hoping i could just add a script src="./js/config.js" on my html file
[04:58:53] *** deanclkclk has joined #angularjs
[04:58:55] <BobbieBarker> if you would of just signed up with the army instead of the corps we'd practically be clones
[04:59:01] <BahamutWC> heh
[04:59:06] <BahamutWC> well, I do have an MS in math
[04:59:13] *** bostonaholic has joined #angularjs
[04:59:28] <BobbieBarker> i have a B.S in polsci and 98% of a CS degree
[04:59:38] <BobbieBarker> i would of finished the CS degree but i started my career instead
[04:59:41] <smola1022> @Fabian, did you see my dpaste?
[05:00:00] <BahamutWC> I don't really care about degrees anymore except maybe as a loose baseline
[05:00:08] <FabianCook> dsdeiz: use rename
[05:00:21] <BobbieBarker> i agree
[05:00:25] <FabianCook> BahamutWC: zero degrees here ;)
[05:00:28] *** Aerospark has quit IRC
[05:00:46] *** tkimmel has quit IRC
[05:00:47] *** robbiethegeek is now known as robbie-away
[05:00:50] <dsdeiz> FabianCook++
[05:00:50] <dsdeiz> ty
[05:00:51] <UniBot> FabianCook Karma: 1
[05:01:04] *** Aerospark has joined #angularjs
[05:01:12] *** Nijikokun has quit IRC
[05:01:15] *** Skrypter has quit IRC
[05:01:41] *** Skrypter has joined #angularjs
[05:01:42] <FabianCook> dsdeiz: no problemo
[05:01:51] *** Nijikokun has joined #angularjs
[05:02:56] *** doginal has joined #angularjs
[05:03:07] *** rburns has quit IRC
[05:03:26] *** rburns has joined #angularjs
[05:03:32] *** asher^ has quit IRC
[05:03:44] *** shpoont has quit IRC
[05:04:12] *** glaksmono has quit IRC
[05:04:18] *** shpoont has joined #angularjs
[05:05:11] <BahamutWC> FabianCook: nice 57 degrees F here :)
[05:05:45] <FabianCook> BahamutWC: ahh 25 C here, 77 F
[05:06:40] <fairuz> :)
[05:06:48] <FabianCook> BahamutWC: I read "57 degrees here", who the heck has time for dat hahhahahha
[05:07:26] *** hatzopoulos has joined #angularjs
[05:07:43] *** drej has quit IRC
[05:07:52] *** zanea is now known as zanea|away
[05:08:29] *** glaksmono has joined #angularjs
[05:08:32] <BahamutWC> heh
[05:09:24] *** ccohn has joined #angularjs
[05:09:47] *** mubi has quit IRC
[05:09:50] <FabianCook> So, is my search bar worthy of a bower repo?
[05:10:02] <FabianCook> package*
[05:10:05] *** dannyc has joined #angularjs
[05:10:23] *** wiseboy has quit IRC
[05:11:16] *** shampine has quit IRC
[05:11:17] *** flyingducks has quit IRC
[05:12:08] <smola1022> i guess FabianCook has muted/blocked me for some reason. shame. thought he wanted to help me out. =[
[05:12:19] *** dcherman has quit IRC
[05:12:35] <FabianCook> smola1022: sorry. Still here?
[05:12:52] <smola1022> yes, i messaged several times and pm'ed you
[05:12:59] *** Nijikokun has quit IRC
[05:13:03] *** sctskw has joined #angularjs
[05:13:17] *** deanclkclk has quit IRC
[05:13:33] *** Nijikokun has joined #angularjs
[05:13:35] *** ccohn has quit IRC
[05:13:38] <BahamutWC> smola1022: PMs are generally considered rude
[05:13:41] *** joshontheweb has quit IRC
[05:13:46] *** backinnam has joined #angularjs
[05:13:46] *** deanclkclk has joined #angularjs
[05:14:13] *** mot0rola has quit IRC
[05:14:13] *** seriema has joined #angularjs
[05:14:22] <smola1022> lol really? seems like strange etiquette, but good to know!
[05:14:26] *** dannyc has quit IRC
[05:14:38] *** gnrlbzik has quit IRC
[05:14:56] *** ehalas has joined #angularjs
[05:15:01] *** Owner has joined #angularjs
[05:15:09] <wafflej0ck> Fifty5Plus: sorry just been staring at this for a bit trying to figure out if the rest of this should just be wrapped in the desk directive or otherwise... the basic goal here is to have the center be sized based on the east and west sections though right and then allow them to toggle?
[05:15:12] *** LossFor has quit IRC
[05:15:24] *** sctskw has quit IRC
[05:15:27] <FabianCook> BahamutWC: Idm them. If I'm at my computer
[05:15:32] <FabianCook> afk for the next 20
[05:15:32] *** Owner is now known as Guest30214
[05:16:23] *** Left_Turn has quit IRC
[05:16:31] *** shampine has joined #angularjs
[05:17:21] *** rtpg has joined #angularjs
[05:17:25] *** caitp has quit IRC
[05:17:33] *** Aliks has quit IRC
[05:17:39] <Fifty5Plus> wafflej0ck the window resizing part works perfectly by itself - what remains is likely a directive that monitors value changes on showWest and showEast and the button is there just to toggle those values in this use case but most likely the flags will get toggled in variety other ways
[05:18:04] *** crakrjak_respawn has quit IRC
[05:18:07] *** Aliks has joined #angularjs
[05:18:36] <Fifty5Plus> wafflej0ck but maybe we should get it working first because how we get rid of the bug may influence the rest of the implementation
[05:18:41] *** LossFor has joined #angularjs
[05:18:51] *** Skrypter has quit IRC
[05:18:52] *** seriema has quit IRC
[05:19:23] *** Skrypter has joined #angularjs
[05:19:24] *** davemerwin has joined #angularjs
[05:20:05] <Fifty5Plus> wafflej0ck for example - everything works perfectly even the toggling button, providing that you resize a window a bit ... so the resizing solution may be to do just that - to fire window resize, so that the existing code does its thing
[05:20:25] *** damain has quit IRC
[05:21:20] *** beckyconning_ has joined #angularjs
[05:21:33] <wafflej0ck> Fifty5Plus: well the thing is lots of things here still don't seem right to me despite it almost working so I'm trying to just understand the overall goal so I can reapproach the issue to some degree
[05:22:09] <wafflej0ck> some of the things in directives already here are good but being dependent on certain things being available on the scope like scope.resize isn't really the best way to go
[05:22:19] *** Aliks has quit IRC
[05:22:20] <Fifty5Plus> wafflej0ck the overall goal is simple - just to get the toggling working ;)
[05:23:29] <wafflej0ck> Fifty5Plus: well sounds like overall goal is to have a layout where the center region is calculated based on the west and east box sizes and being able to toggle the display of the west and or east panel... does that sound right?
[05:23:44] *** _ritchie_ has joined #angularjs
[05:23:47] <wafflej0ck> or is there something more to this?
[05:24:04] *** Skrypter has quit IRC
[05:24:10] *** jaydubya has quit IRC
[05:24:36] *** shpoont has quit IRC
[05:25:14] *** frem has joined #angularjs
[05:25:23] *** ali has joined #angularjs
[05:25:28] <jcool> How to prevent the browser from caching a json file?
[05:25:39] <Fifty5Plus> wafflej0ck that is basically it - and the only thing about west/east panels is that their widths are 22% with min and max values ... so the main panel takes all space by having width: auto and left: and righ: being set to whatever is left over
[05:25:43] <BahamutWC|Work> $http.get(…, { cache: false })
[05:26:00] *** asher^ has joined #angularjs
[05:26:14] *** bjtitus has quit IRC
[05:26:27] <wafflej0ck> Fifty5Plus: okay cool that helps
[05:26:30] <jcool> BahamutWC|Work, Its a separate param like data?
[05:26:33] *** damain has joined #angularjs
[05:26:45] *** Kane` has joined #angularjs
[05:26:57] <Fifty5Plus> wafflej0ck however, when west and/or get hidden or shown, main's left: and right: values have to adjust accordingly .... an a bit of trick there is to either read the west/east widths or to remember the last ones
[05:27:04] *** livingstn has quit IRC
[05:27:13] *** doginal has quit IRC
[05:28:08] *** Nijikokun has quit IRC
[05:28:40] *** Nijikokun has joined #angularjs
[05:28:42] <Fifty5Plus> wafflej0ck everything in the css is position: absolute ... so the main panel left: position is dependent on width of west side (which may be zero if hidden) ... then same applies to east
[05:29:33] *** josh-k has joined #angularjs
[05:29:39] <jcool> BahamutWC|Work, got that :) thanks.
[05:29:46] <Fifty5Plus> wafflej0ck west and east sides would not necessarily show/hide at the same time ... meaning toggling visibility of west is independent of east's visibility
[05:29:55] *** deanclkclk_ has joined #angularjs
[05:31:00] *** asher^ has quit IRC
[05:31:09] <FabianCook> Back yo :)
[05:32:13] *** nesquerra has quit IRC
[05:32:14] *** mogaj has joined #angularjs
[05:32:24] *** deanclkclk has quit IRC
[05:32:29] *** doginal has joined #angularjs
[05:32:32] *** mmealling has joined #angularjs
[05:33:03] *** asher^ has joined #angularjs
[05:33:28] *** rburns has quit IRC
[05:33:31] *** scythe__ has joined #angularjs
[05:33:35] *** _ritchie_ has quit IRC
[05:34:02] *** damain has quit IRC
[05:34:04] *** rburns has joined #angularjs
[05:34:49] *** jMyles has quit IRC
[05:35:25] *** gnrlbzik has joined #angularjs
[05:35:54] *** bostonaholic has quit IRC
[05:35:58] *** kuadrosx has quit IRC
[05:37:02] *** Nizumzen has quit IRC
[05:37:11] <FabianCook> dsdeiz: errors?
[05:37:26] *** josh-k_ has joined #angularjs
[05:37:32] *** Skrypter has joined #angularjs
[05:37:37] <BahamutWC> the problem probably is that gulp.src('./dist/config.js') is running before the file exists
[05:37:38] *** hightower4 has quit IRC
[05:37:43] *** ajk27 has joined #angularjs
[05:37:46] *** boneskull has quit IRC
[05:37:52] *** thirdknife has joined #angularjs
[05:38:03] <FabianCook> Why rmraf?
[05:38:12] <FabianCook> Ahh
[05:38:14] <BahamutWC> so what you probably need to do is create a second task that executes when it's done to read the file then execute rimraf(), or just do whatever that tweak I made does
[05:38:16] *** crakrjak_respawn has joined #angularjs
[05:38:39] *** thirdknife has quit IRC
[05:39:16] *** flyingducks has joined #angularjs
[05:39:19] *** adpirz has joined #angularjs
[05:39:24] <dsdeiz> config.js just doesn't come up
[05:39:42] <FabianCook> Ahh wrong way around
[05:40:57] *** kalehv has joined #angularjs
[05:41:09] *** josh-k has quit IRC
[05:41:32] <dsdeiz> weird. it looks like i don't need rimraf anymore.. thx again!
[05:41:57] <FabianCook> dsdeiz: So working? Was going to implement in my own project
[05:42:09] <dsdeiz> yeah
[05:42:14] *** anjumkaiser1 has joined #angularjs
[05:42:28] *** junmin has quit IRC
[05:42:34] *** TommyO_ is now known as TommyO
[05:42:54] *** TommyO has joined #angularjs
[05:42:58] *** mennea has joined #angularjs
[05:43:25] *** frem has quit IRC
[05:43:38] *** adpirz has quit IRC
[05:43:47] *** Guest30214 has quit IRC
[05:43:49] <dsdeiz> thanks guys!
[05:45:11] *** shpoont has joined #angularjs
[05:45:23] *** shpoont has quit IRC
[05:46:00] *** shpoont has joined #angularjs
[05:47:02] *** _ritchie_ has joined #angularjs
[05:48:08] *** jae has joined #angularjs
[05:48:37] *** BobbieBarker has quit IRC
[05:48:51] *** jMyles has joined #angularjs
[05:49:36] *** AlbinoTux has quit IRC
[05:50:30] *** junmin has joined #angularjs
[05:51:59] *** Reskp has joined #angularjs
[05:53:26] *** kalehv has quit IRC
[05:53:59] *** _ritchie_ has quit IRC
[05:55:18] *** shpoont has quit IRC
[05:55:20] *** bmac has quit IRC
[05:55:44] *** jgravois has joined #angularjs
[05:56:23] *** jgravois is now known as jaydubya
[05:56:33] *** Reskp has quit IRC
[05:57:28] *** trend has joined #angularjs
[05:57:30] *** ethlor has joined #angularjs
[05:57:55] <wafflej0ck> Fifty5Plus: yeah making progress here, but still probably only about half way there.... will probably wrap this up in a component too if it goes alright
[05:58:54] *** damain has joined #angularjs
[05:59:05] <Fifty5Plus> wafflej0ck when done then i will explain to you how it can be used for a generic (cookie cutter) type of layout for desktop business apps)
[05:59:14] <Fifty5Plus> or i will write it now
[05:59:30] <wafflej0ck> Fifty5Plus: yeah i think I kind of get a feel for it but would be good to hear an "official" explanation
[05:59:38] *** damain has quit IRC
[06:00:53] *** mdel has joined #angularjs
[06:01:14] *** rhinoman has joined #angularjs
[06:01:19] *** _ritchie_ has joined #angularjs
[06:02:09] *** ethlor has quit IRC
[06:03:15] *** poolside has joined #angularjs
[06:03:15] *** LossFor has quit IRC
[06:03:33] *** shpoont has joined #angularjs
[06:03:40] *** ethlor has joined #angularjs
[06:05:37] *** flyingducks has quit IRC
[06:06:11] *** _ritchie_ has quit IRC
[06:07:10] *** gnrlbzik has quit IRC
[06:08:20] <Fifty5Plus> wafflej0ck take a look on pm
[06:08:21] *** favetelinguis has joined #angularjs
[06:10:05] *** ory has quit IRC
[06:10:08] *** ccohn has joined #angularjs
[06:11:15] *** martianboy has joined #angularjs
[06:11:23] *** hightower4 has joined #angularjs
[06:13:05] *** ehalas has quit IRC
[06:13:08] *** netameta_ has joined #angularjs
[06:13:16] *** nesquerra has joined #angularjs
[06:13:37] *** favetelinguis has quit IRC
[06:13:39] *** ProLoser has quit IRC
[06:13:50] <Fifty5Plus> wafflej0ck the ui-layout demo is not really a holy-grail because a holy-grail is never to have horizontal scrollbars or at least not until the middle part gets to be too narrow to be useful
[06:14:30] *** scythe__ has quit IRC
[06:14:40] *** ccohn has quit IRC
[06:14:51] <Fifty5Plus> even then the window should have a certain minimum ... again, we are talking desktop business apps
[06:15:04] *** mot0rola has joined #angularjs
[06:15:08] <edrocks> is there any way to bind to a dynamic field? I'm trying to do ng-bind="myObject[dynamicField]
[06:15:10] *** favetelinguis has joined #angularjs
[06:15:10] *** seriema has joined #angularjs
[06:15:50] *** netameta has quit IRC
[06:16:00] *** chanced has quit IRC
[06:16:27] *** chanced has joined #angularjs
[06:16:55] *** Lynxium has quit IRC
[06:17:38] *** Lynxium has joined #angularjs
[06:17:41] *** derrick13 has quit IRC
[06:17:42] <FabianCook> edrocks: I would have a value in that scope that gets assigned the value rather than doing ta
[06:17:45] <FabianCook> that
[06:17:56] *** shampine has quit IRC
[06:18:53] <edrocks> o nevermind it was something else
[06:19:10] <edrocks> FabianCook: I have to do it this way the dynamic part is an id
[06:19:21] <edrocks> it's so i can use a map on my backend instead of an array
[06:19:27] *** mot0rola has quit IRC
[06:20:12] <FabianCook> edrocks: never tried it before, but I actually don't see why it wouldn't work. angular should still pick up on it like myObject.field
[06:20:17] *** seriema has quit IRC
[06:21:06] *** doginal has quit IRC
[06:21:09] *** ProLoser has joined #angularjs
[06:21:17] <edrocks> it works. I had a different problem because I tried to inverse an ng-model bind with !
[06:21:29] <edrocks> was reading the error wrong
[06:21:30] *** ehalas has joined #angularjs
[06:22:10] <FabianCook> edrocks: Awesome, will keep that in mind
[06:22:55] <edrocks> it works nice. I used it for catagories in an app before
[06:23:15] *** discgo has quit IRC
[06:23:18] *** wd40s has quit IRC
[06:23:42] *** mennea has quit IRC
[06:24:21] *** mennea has joined #angularjs
[06:24:35] <mmealling> thanks for the "mangle: false" tip from yesterday.. Worked like a champ.
[06:24:45] *** numenor has joined #angularjs
[06:25:36] *** CiE has quit IRC
[06:25:48] *** CiE has joined #angularjs
[06:25:51]
<mmealling> One more question and I can push to production. I have a referral service that is coming to my app with http://host/?uuid=40-char-uuid. When I test this out that uuid parameter gets preserved around my app with $location set to /index.html?uuid=40-char-uuid#/myappsroute
[06:26:30] *** instence_ has joined #angularjs
[06:27:07] <mmealling> if I ask for $location.search() should I get that uuid as one of the parameters in the result or does $location.search() return only parameters on the right hand side of the hash?
[06:27:16] <FabianCook> mmealling:
[06:27:24] <FabianCook> mmealling: are you using $routeProvider?
[06:27:45] <FabianCook> ?
[06:27:49] *** dharmit has joined #angularjs
[06:27:52] *** josh-k_ has quit IRC
[06:28:19]
<mmealling> isn't my call, they're going to send me http://host/?uuid=foo whether I like it or not.
[06:28:20] *** josh-k has joined #angularjs
[06:28:21] *** sctskw has joined #angularjs
[06:28:35] *** zoeycakes_ has joined #angularjs
[06:28:47] <FabianCook> Ahh okay
[06:28:55] *** instence has quit IRC
[06:29:15] *** abailarri has quit IRC
[06:29:19] <FabianCook> $location.search() should return {uuid:value}
[06:29:38] <FabianCook> Sorry
[06:29:49] <FabianCook> Not reading the whole question
[06:29:52] *** spaceonline has joined #angularjs
[06:30:50] <FabianCook> Lets have a little experiment
[06:31:06] *** shpoont has quit IRC
[06:31:33] *** zoeycakes has quit IRC
[06:32:02] *** anjumkaiser has joined #angularjs
[06:32:22] *** anjumkaiser1 has quit IRC
[06:32:53] *** josh-k has quit IRC
[06:33:05] *** sctskw has quit IRC
[06:33:52] *** Reskp has joined #angularjs
[06:33:53] <FabianCook> mmealling: it needs to be right of the hash
[06:34:09] *** woah has joined #angularjs
[06:34:36] *** spaceonline has quit IRC
[06:34:42] *** ivaldi has quit IRC
[06:34:46] *** chromatome has joined #angularjs
[06:34:49] *** ProLoser has quit IRC
[06:34:50] *** fiddlr has joined #angularjs
[06:35:20] *** Reskp has quit IRC
[06:35:23] *** Reskp_ has joined #angularjs
[06:35:31] <mmealling> thanks! I think that means I'll need to use $window.location
[06:36:29] *** jaydubya has quit IRC
[06:36:32] *** ivaldi has joined #angularjs
[06:36:48] *** eusunt has quit IRC
[06:37:06] *** jaydubya has joined #angularjs
[06:38:25] *** Cache_Money has quit IRC
[06:38:35] <FabianCook> mmealling: do you want an answer in coffeescript or js?
[06:39:05] <FabianCook> Use parseLocation($indow.location.search)['a']
[06:39:11] <FabianCook> parseLocation($window.location.search)['a']
[06:39:39] *** Aliks has joined #angularjs
[06:40:25] *** Reskp_ has quit IRC
[06:41:33] *** Typher has joined #angularjs
[06:41:51] *** jaydubya has quit IRC
[06:42:12] *** _ritchie_ has joined #angularjs
[06:42:56] *** junmin has quit IRC
[06:44:35] *** _ritchie_ has quit IRC
[06:44:53] *** tkimmel has joined #angularjs
[06:46:29] *** siovene has quit IRC
[06:46:41] *** Typher has quit IRC
[06:47:24] *** zzing has quit IRC
[06:47:27] *** trustyhank has quit IRC
[06:48:02] *** rookie has joined #angularjs
[06:48:26] *** rookie is now known as Guest60359
[06:49:23] *** tkimmel has quit IRC
[06:49:55]
<wafflej0ck> Fifty5Plus: alright so I got it closer to what I think it should be but so far have to hack a part with a $timeout to wait for the ng-hide/ng-show to apply so would be better to just take care of that functionality too so it can be handled synchrounously I think http://plnkr.co/edit/GB3vSkIShdgE8KJoSvN8?p=preview
[06:50:02] *** shpoont has joined #angularjs
[06:50:30] *** night-owl is now known as zz_night-owl
[06:50:39] *** shpoont has joined #angularjs
[06:50:58] <Fifty5Plus> did you look at the link wafflej0ck>
[06:51:07] <wafflej0ck> yup the gdoc
[06:51:07] *** rburns has quit IRC
[06:51:27] *** rburns has joined #angularjs
[06:51:40] *** favetelinguis has quit IRC
[06:51:43] *** derickf has joined #angularjs
[06:51:55] *** poolside has quit IRC
[06:52:07] *** Guest60359 has quit IRC
[06:52:40] *** sacho_ has joined #angularjs
[06:53:14] *** robdubya has joined #angularjs
[06:53:21] *** woah has quit IRC
[06:53:21] *** doginal has joined #angularjs
[06:53:43] *** mennea has quit IRC
[06:54:06] *** tomzx is now known as tomzx`afk
[06:54:18] *** mennea has joined #angularjs
[06:54:36] *** yelvert has joined #angularjs
[06:55:43] *** junmin has joined #angularjs
[06:55:48] *** sacho has quit IRC
[06:55:58] *** {DV8} has joined #angularjs
[06:56:07] *** mdedetri_ has quit IRC
[06:56:27] *** ProLoser has joined #angularjs
[06:56:32] *** shpoont has quit IRC
[06:57:22] *** FabianCook has left #angularjs
[06:57:54] <Fifty5Plus> wafflej0c all your apps would be on menu, sessions is for multiple apps at the same time, stack is like bread crumbs, so you can go back to any level and on far right the list of views is like a vertical tabfolder ... it could be set up to be one view at a time in the view panel, but all the views could be in view panel and the view list is like quick jumps
[06:57:54] <Fifty5Plus> to them
[06:58:01] <derickf> i have an object of the form $scope.alerts[bookName], but when I update the entry in $scope.alerts[bookName].message = “something”, the UI does not update, what am I missing?
[06:58:17] *** tomzx`afk is now known as tomzx
[06:58:51] *** dannyc has joined #angularjs
[06:58:53] *** yelvert has quit IRC
[06:59:01] *** mdedetrich has joined #angularjs
[06:59:22] *** Zeioth has quit IRC
[06:59:34] *** zzing has joined #angularjs
[06:59:51] *** chanced has quit IRC
[07:00:15] *** poolside has joined #angularjs
[07:00:26] <derickf> in the template I have {{alerts[booName].message}}
[07:00:30] <wafflej0ck> Fifty5Plus: I kind of follow but what would apps be in this context?
[07:00:32] *** fiddlr has quit IRC
[07:00:34] <Fifty5Plus> wafflej0ck wow this is good
[07:00:45] *** technickul has quit IRC
[07:00:54] <sacho_> derickf, what's the value of bookName where you set it, and in the template
[07:01:00] <wafflej0ck> Fifty5Plus: glad you like it, the $timeout hack is super ugly though, would be good to get that outta thre
[07:01:02] <wafflej0ck> there*
[07:01:18] <derickf> sacho_: it is a string, with a name like ‘test1’ in this case
[07:01:37] *** wd40s has joined #angularjs
[07:01:48] <sacho_> derickf, so how does the template get its value
[07:02:13] <wafflej0ck> derickf: there's some weird way to do this I think one minute lemme see if I have it
[07:02:36] <derickf> in my showAlert function I just set $scope.alerts[bookName].message = “new message";
[07:02:40] *** corehook has joined #angularjs
[07:02:48] <sacho_> that's nice
[07:02:52] *** dannyc has quit IRC
[07:02:56] <sacho_> but what does your template bind to
[07:03:36] <derickf> ohh, the currently selected book, so something like selectedBookName which is defined as $scope.selectedBookName
[07:03:54] <Fifty5Plus> just the top level ones like customer, supplier, employee, etc and then within any one you drill down (hence stack) ... so you have list of customers on left and in list of views on right might be Invoices , so in view you get a list of invoices for customer that you select on left ... and that way all that drilling up and down ends up being data driven
[07:03:54] <Fifty5Plus> without any specific programming ... and for views you paint the normal CRUD data fields dynamically from a json config and presto - business app CRUD without programming ;)
[07:03:57] <sacho_> what exactly are you binding to
[07:04:38] *** shpoont has joined #angularjs
[07:05:04] *** anjumkaiser has quit IRC
[07:05:14] <Fifty5Plus> wafflej0ck i have not looked at the code yet but maybe hiding of side panels at the very end would not be showing all that lighter color (if possible)
[07:05:33] <derickf> alerts[selectedBook.name] in the template and when I get an event from websockets in the controller I set it to $scope.alerts[bookName].messsage = “..”
[07:05:48] <derickf> does that answer your question? sorry for any confusion, totally new to this
[07:06:02] <wafflej0ck> Fifty5Plus: yeah really I think instead of using the ng-show/ng-hide it'd be better to toggle the width of those to 0 while expanding the center then can use the same transition speed and they should grow/shrink together
[07:06:05] *** _ritchie_ has joined #angularjs
[07:06:11] *** tech2 has joined #angularjs
[07:06:13] *** wd40s has quit IRC
[07:06:44] <wafflej0ck> but would need to store the previous width values or remove that or something so some things to debug there
[07:06:55] <sacho_> derickf, no, I'm sorry, not really. You keep changing the code that you're describing.
[07:07:01] <Fifty5Plus> ok thanks a million this helps
[07:07:22] <derickf> yeah, sorry, let me try out plnkr and make a quick example
[07:07:23] *** Aliks has quit IRC
[07:07:52] <wafflej0ck> Fifty5Plus: np I'll probably play with it further, would be nice to have this for my own stuff too, if I roll it into a component and publish it I'll drop you a link so you can use it and contribute fork it or whatever
[07:07:59] *** Aliks has joined #angularjs
[07:08:00] *** gnrlbzik has joined #angularjs
[07:08:23] *** numenor has quit IRC
[07:08:26] <wafflej0ck> derickf: {{model.gardenDetail.generalInfo['Address'].subSections['Address'].answer}} <-- this is what I had in my code unfortunately not using variables for the properties
[07:08:27] *** anjumkaiser has joined #angularjs
[07:08:36] <wafflej0ck> admittedly pretty ugly too
[07:08:40] *** mdedetrich has quit IRC
[07:08:43] <BahamutWC> wafflej0ck: no need for the brackets there :P
[07:08:51] <BahamutWC> although oh god that's ugly
[07:08:55] *** ahmetkapikiran has quit IRC
[07:09:01] <wafflej0ck> BahamutWC: yeah I was using some weird names for properties and needed it before for some parts
[07:09:08] <wafflej0ck> this was the first angular app I wrote :)
[07:09:13] <wafflej0ck> it's not pretty
[07:09:19] <BahamutWC> heh
[07:09:32] <BahamutWC> don't blame you then - I did some pretty ugly stuff on my first app too
[07:09:54] *** mdedetrich has joined #angularjs
[07:10:53] *** ccohn has joined #angularjs
[07:10:56] *** zz_night-owl is now known as night-owl
[07:11:28] *** KostyaChoporov has joined #angularjs
[07:11:40] *** numenor has joined #angularjs
[07:12:04] *** allgeek has quit IRC
[07:12:22] *** Aliks has quit IRC
[07:12:57] *** gnrlbzik has quit IRC
[07:14:32] *** trend has quit IRC
[07:14:41] *** glaksmono has quit IRC
[07:14:51] <wafflej0ck> Fifty5Plus: I have a CRM and some other things I built but I'm not so sure about a CRUD app you build with an app, I know it can be done but I think setting up the relationships and specific UI is really where the work is anyhow
[07:15:13] *** mdedetrich has quit IRC
[07:15:25] *** setec has quit IRC
[07:15:41] *** ccohn has quit IRC
[07:16:10] *** seriema has joined #angularjs
[07:16:32] <wafflej0ck> this first app I just pasted some horrid code from was basically something like survey monkey where you dynamically create views that are sets of questions and each question has a type which determines it's display in the admin interface and user interface, but I think in terms of CRUD stuff for business apps building the relationships between elements makes it more complicated
[07:17:05] <Fifty5Plus> wafflej0ck you are 100% right for the 20% in the 80/20 rule - but the 80% can be cookie-cut, the basic CRUD stuff so that one can get some config and some data into the app for better visualization of the 20% of the UI that is custom and that will take 80% of time
[07:17:38] <wafflej0ck> yeah I hear ya good to have a base for sure
[07:17:52] <sacho_> Scaffolding is nice.
[07:18:02] <sacho_> As long as it doesn't get in the way of writing actual code.
[07:18:07] *** {DV8} has quit IRC
[07:18:31] <Fifty5Plus> like in a typical CRM there is usually lot more behind the scenes that is used for maintenance and config and that nobody sees from outside
[07:19:07] *** mdedetrich has joined #angularjs
[07:19:54] <wafflej0ck> yeah for sure a lot of the plumbing is basically the same
[07:20:14] *** poolside has quit IRC
[07:20:34] <derickf> so I select first, then I change
[07:20:39] *** sinequanon has joined #angularjs
[07:21:25] *** seriema has quit IRC
[07:22:13] *** Raging_Hog has joined #angularjs
[07:22:31] *** favetelinguis has joined #angularjs
[07:22:42] <sacho_> what is change supposed to do
[07:22:49] *** chanced has joined #angularjs
[07:23:16] <derickf> change the alert message for a selected name
[07:23:19] *** mtsr has joined #angularjs
[07:23:45] *** mennea has quit IRC
[07:23:59] <wafflej0ck> derickf: that work?
[07:24:03] *** Raging_Hog has quit IRC
[07:24:04] <sacho_> well, currently it's changing $scope.test
[07:24:23] *** mennea has joined #angularjs
[07:24:34] <wafflej0ck> actually selectedName needed to be $scope.selectedName too
[07:24:34] *** rburns has quit IRC
[07:24:50] <derickf> wafflej0ck: that works, in my change method I do the same thing, but then pass that “name” into a function which then doesnt use $scope is that considered a different variable?
[07:25:06] *** rburns has joined #angularjs
[07:25:18] *** mdedetrich has quit IRC
[07:25:39] <derickf> let me modify and see if works, thanks guys, new plunker coming up
[07:25:44] <wafflej0ck> k
[07:25:58] <wafflej0ck> yeah don't understand the question but go ahead and try to break it again :)
[07:27:33] *** oste has quit IRC
[07:28:04] *** opiates has joined #angularjs
[07:28:28] *** adpirz has joined #angularjs
[07:28:41] *** tomzx is now known as tomzx`afk
[07:30:01] *** chanced has left #angularjs
[07:30:06] *** rtpg has quit IRC
[07:31:27] *** mdedetrich has joined #angularjs
[07:32:21] *** jstftw has joined #angularjs
[07:32:53] *** adpirz has quit IRC
[07:32:57] *** asher^ has quit IRC
[07:33:29] *** hatzopoulos has quit IRC
[07:33:31] *** link0802 has joined #angularjs
[07:33:37] *** mtsr has quit IRC
[07:34:06] *** sinequanon has quit IRC
[07:34:19] *** rtpg has joined #angularjs
[07:36:17] *** Reskp has joined #angularjs
[07:36:23] *** asher^ has joined #angularjs
[07:36:26] *** Leon has joined #angularjs
[07:36:52] *** favetelinguis has quit IRC
[07:37:07] *** favetelinguis has joined #angularjs
[07:38:37] *** shpoont has quit IRC
[07:40:29] *** trend has joined #angularjs
[07:40:30] *** ProLoser has quit IRC
[07:40:42] *** Reskp has quit IRC
[07:40:59] *** synlag has joined #angularjs
[07:41:34] *** favetelinguis has quit IRC
[07:41:42] *** ggrzybek has joined #angularjs
[07:42:23] *** mdedetrich has quit IRC
[07:42:54] *** MattWelch has quit IRC
[07:43:53] *** mdedetrich has joined #angularjs
[07:44:34] <rhinoman> how can you filter out the "has joined" , "has quit" messages ?
[07:44:36] *** Reskp has joined #angularjs
[07:44:45] *** shpoont has joined #angularjs
[07:44:47] *** ProLoser has joined #angularjs
[07:45:12] <derickf> hit select, change then change again
[07:45:21] *** zoeycakes_ has quit IRC
[07:45:34] *** faveteli_ has joined #angularjs
[07:45:35] <derickf> that seens to be the same issue I am facing
[07:45:45] *** slopjong_ has joined #angularjs
[07:45:45] *** slopjong has joined #angularjs
[07:45:56] *** junmin has quit IRC
[07:46:22] *** link0802 has quit IRC
[07:46:42] *** tfennelly has joined #angularjs
[07:46:48] *** carlosmantilla has joined #angularjs
[07:46:56] *** faveteli_ has quit IRC
[07:47:06] <derickf> wafflej0ck, sacho_ — still here?
[07:47:10] <sacho_> what's the issue
[07:47:34] <sacho_> what do you expect clicking change multiple times should do
[07:47:56] *** pdillinger has joined #angularjs
[07:48:01] <derickf> if you do it in that order press select, then change it works, then press change again
[07:48:13] <derickf> oh did I not save the edit?
[07:48:18] <derickf> do you see two change buttons?
[07:48:23] *** enaqxx has joined #angularjs
[07:48:35] <wafflej0ck> derickf: nope just got back
[07:48:52] *** robdubya has quit IRC
[07:48:58] *** Aerospark has quit IRC
[07:49:16] <derickf> how about now, can you see the second button?
[07:49:23] *** favetelinguis has joined #angularjs
[07:49:42] *** junmin has joined #angularjs
[07:49:52] <sacho_> derickf, you're not passing any parameters to change or changeAgain
[07:50:13] *** jstftw has quit IRC
[07:50:15] <sacho_> by the way, this is a good time to use a debugger
[07:50:28] *** trend has quit IRC
[07:50:58] <wafflej0ck> derickf: you weren't passing anything to changeAgain
[07:51:53] <derickf> ok, this is weird, ill try to reproduce my issue closely, I am not calling change locally, locally i get a websocket notification that triggers it and I did an alert(); the values look good
[07:51:59] *** iksik has quit IRC
[07:53:49] *** mennea has quit IRC
[07:54:12] *** KostyaChoporov has quit IRC
[07:54:17] <sacho_> derickf, how do handle the websocket notification?
[07:54:25] *** mennea has joined #angularjs
[07:54:28] <sacho_> you're probably handling it outside of an apply. try calling $scope.apply()
[07:54:34] <sacho_> how do you*
[07:54:40] *** seriema has joined #angularjs
[07:54:45] <wafflej0ck> yeah
[07:54:48] <wafflej0ck> makes sense
[07:55:07] *** iksik has joined #angularjs
[07:55:16] *** shpoont has quit IRC
[07:55:26] *** jdj_dk_ has joined #angularjs
[07:55:39] <derickf> it says $scope.apply() is undefinied
[07:55:57] <wafflej0ck> $apply
[07:56:36] <derickf> sweet that works!
[07:56:40] *** ProLoser has quit IRC
[07:56:58] <derickf> but the first time I call the alert, it says digest already in progress, is there a safe way to do it?
[07:57:10] *** ProLoser has joined #angularjs
[07:57:13] <derickf> I can read about it if you aren’t aware, really appreciate the help
[07:57:27] <wafflej0ck> derickf: problem is if you call $scope.$apply() when one is already running
[07:57:29] *** patric100e99 has joined #angularjs
[07:57:45] <wafflej0ck> derickf: so things like $http or $timeout or ng-click call $scope.$apply() for you
[07:57:56] *** Reskp has quit IRC
[07:58:00] <derickf> got it, I’ll pass in a boolean with the first calls and check it
[07:58:04] <wafflej0ck> if there's some context where you're calling the function and it has to do with one of those then there will already be a digest in progress
[07:58:05] <derickf> as a hackish workaround
[07:58:31] <wafflej0ck> derickf: if you pastebin some of that code we can probably tell you how to handle it but need to see what's calling it and how that's hooked up
[07:58:57] *** seriema has quit IRC
[07:59:29] <derickf> ok, I’ll try to get something up, thanks!
[08:00:00] <derickf> the boolean doesn’t sound like a good idea? I have only two entry points, an on click and the websocket notification
[08:00:55] <derickf> numenor: nice!
[08:01:09] *** opiates has quit IRC
[08:01:36] <wafflej0ck> eh yeah that probably checks the $$phase or something but usually good to just know why you have multiple digests going on
[08:02:04] *** chrisbirk has quit IRC
[08:02:09] *** Aliks has joined #angularjs
[08:02:23] *** wd40s has joined #angularjs
[08:02:30] *** patric100e99 has quit IRC
[08:02:36] <derickf> wafflej0ck: when ng-click -> it internally calls the same method to set the alert, the web socket notification also uses the same method, hence the first on click on is the issue
[08:03:20] *** shpoont has joined #angularjs
[08:03:27] *** synlag has quit IRC
[08:03:44] <wafflej0ck> derickf: yeah so you can just just have two functions one main function that does the work and a second one that calls it and also calls apply, that way in the ng-click context you just call the main function directly and from the socket handler you call the one that uses apply
[08:03:45] *** mot0rola has joined #angularjs
[08:04:24] *** Ch4rAss has joined #angularjs
[08:04:36] <derickf> wafflej0ck: you’re right, in fact I can just put the apply in the notify method after it calls the alert function
[08:04:44] <derickf> thanks for all the suggestions and pointer guys
[08:04:46] <wafflej0ck> function fn1(){/*do data manipulation here*/}; function fn1andapply(){fn1();$scope.$apply()};
[08:04:49] <wafflej0ck> derickf: np
[08:04:51] <derickf> and gals just in case hehe
[08:05:03] <wafflej0ck> derickf: yeah there are a couple in here at least
[08:05:13] *** jdj_dk_ has quit IRC
[08:05:53] *** hiptobecubic has quit IRC
[08:06:38] *** edrocks has quit IRC
[08:06:51] *** tech2 has quit IRC
[08:06:53] *** jareddlc has quit IRC
[08:06:53] *** Aliks has quit IRC
[08:07:09] *** corehook has quit IRC
[08:07:19] *** wd40s has quit IRC
[08:07:44] *** gunn_ has joined #angularjs
[08:08:07] *** Hackwar has quit IRC
[08:08:08] *** MattWelch has joined #angularjs
[08:08:09] *** mot0rola has quit IRC
[08:08:39] *** gunn has quit IRC
[08:09:32] *** corehook has joined #angularjs
[08:09:48] *** favetelinguis has quit IRC
[08:10:04] *** Hackwar has joined #angularjs
[08:10:29] *** corehook has quit IRC
[08:10:56] *** AndreasLutro has joined #angularjs
[08:11:03] *** corehook has joined #angularjs
[08:11:04] *** rchavik has quit IRC
[08:11:36] *** lexek_ has joined #angularjs
[08:11:38] *** nycdevgirl has quit IRC
[08:11:40] *** ccohn has joined #angularjs
[08:12:09] *** corehook has quit IRC
[08:12:18] *** Nizumzen has joined #angularjs
[08:13:17] *** hekep has joined #angularjs
[08:14:03] *** doginal has quit IRC
[08:14:10] *** doginal_ has joined #angularjs
[08:14:49] *** derickf has quit IRC
[08:15:22] *** iksik has quit IRC
[08:16:11] *** ccohn has quit IRC
[08:16:14] *** jillesme has joined #angularjs
[08:16:32] *** doginal_ has quit IRC
[08:16:37] *** iffraff has quit IRC
[08:17:04] *** iffraff has joined #angularjs
[08:17:13] *** iksik has joined #angularjs
[08:18:00] *** davemerwin has quit IRC
[08:18:15] *** _ritchie_ has quit IRC
[08:18:27] *** backinnam has quit IRC
[08:18:30] *** macobo has joined #angularjs
[08:18:36] *** spaceonline has joined #angularjs
[08:18:58] *** derickf has joined #angularjs
[08:19:35] *** doginal has joined #angularjs
[08:20:02] *** jareddlc has joined #angularjs
[08:20:35] *** joshontheweb has joined #angularjs
[08:20:46] *** chromatome has quit IRC
[08:20:53] *** pingupingu has quit IRC
[08:20:56] *** jillesme has quit IRC
[08:22:53] *** spaceonline has quit IRC
[08:23:50] *** mennea has quit IRC
[08:23:55] *** rchavik has joined #angularjs
[08:24:29] *** mennea has joined #angularjs
[08:25:02] *** jaydubya has joined #angularjs
[08:25:03] *** rburns has quit IRC
[08:25:15] *** rburns has joined #angularjs
[08:26:06] *** KostyaChoporov has joined #angularjs
[08:26:50] *** renee has joined #angularjs
[08:27:21] *** renee has quit IRC
[08:28:37] *** derickf has quit IRC
[08:28:46] *** Reskp has joined #angularjs
[08:29:00] *** rhinoman has left #angularjs
[08:30:02] *** one0one has quit IRC
[08:30:34] *** jaydubya has quit IRC
[08:30:51] *** DoubleAW has quit IRC
[08:31:16] *** DoubleAW has joined #angularjs
[08:31:41] *** KostyaChoporov has quit IRC
[08:31:56] *** KostyaChoporov has joined #angularjs
[08:32:05] *** night-owl is now known as zz_night-owl
[08:32:10] *** edy has joined #angularjs
[08:32:29] *** bulkan has quit IRC
[08:33:04] *** Reskp has quit IRC
[08:33:49] *** tkimmel has joined #angularjs
[08:33:52] *** zyla has quit IRC
[08:34:36] *** shpoont has quit IRC
[08:35:05] *** intellix has joined #angularjs
[08:36:34] *** lexek__ has joined #angularjs
[08:36:45] *** zyla has joined #angularjs
[08:38:26] *** tkimmel has quit IRC
[08:38:29] *** jacuqesdancona has joined #angularjs
[08:39:11] *** adibhanna has joined #angularjs
[08:39:25] *** lexek_ has quit IRC
[08:39:45] *** Reskp has joined #angularjs
[08:40:53] *** Skrypter has quit IRC
[08:40:59] *** iksik has quit IRC
[08:42:42] *** iksik has joined #angularjs
[08:43:18] *** josh-k has joined #angularjs
[08:44:33] *** Reskp has quit IRC
[08:45:45] *** enaqxx has quit IRC
[08:46:02] *** enaqxx has joined #angularjs
[08:46:07] *** mdedetri_ has joined #angularjs
[08:46:22] *** smola1022 has quit IRC
[08:46:36] *** dan2k3k4 has joined #angularjs
[08:46:59] *** TheAceOfHearts has joined #angularjs
[08:47:13] *** guiambros has quit IRC
[08:47:41] *** dannyc has joined #angularjs
[08:48:21] *** arathunku has joined #angularjs
[08:48:31] *** shampine has joined #angularjs
[08:49:23] *** mdedetrich has quit IRC
[08:49:26] *** Aerospark has joined #angularjs
[08:50:03] *** falk_netstyler has joined #angularjs
[08:50:51] *** Usuario has joined #angularjs
[08:51:04] *** Usuario is now known as frobs
[08:51:22] <frobs> hi all
[08:51:36] *** glontu has joined #angularjs
[08:51:54] *** dannyc has quit IRC
[08:52:44] *** rhp has quit IRC
[08:53:36] *** spazbite has joined #angularjs
[08:53:53] *** mennea has quit IRC
[08:54:09] *** Aerospark has quit IRC
[08:54:13] *** larsgk has joined #angularjs
[08:54:13] *** gurke_ has joined #angularjs
[08:54:21] <gurke_> good morning. :)
[08:54:22] *** edy has quit IRC
[08:54:27] *** mennea has joined #angularjs
[08:54:49] *** edy has joined #angularjs
[08:54:58] *** tarnus has quit IRC
[08:55:21] <numenor> Good Afternoon :)
[08:55:39] *** joshontheweb has quit IRC
[08:56:21] *** Sontakey has quit IRC
[08:56:29] *** delmolino has joined #angularjs
[08:57:06] *** gnrlbzik has joined #angularjs
[08:58:55] *** edy has quit IRC
[08:59:08] *** zwacky has joined #angularjs
[09:00:26] *** aortmann has quit IRC
[09:00:47] *** shpoont has joined #angularjs
[09:01:38] <wafflej0ck> wow what a hack... so if you hide an element then check the child elements computed style for the width it shows the original percentage, but if you have the display of the parent turned on it has the computed pixel size
[09:02:11] *** gnrlbzik has quit IRC
[09:03:08] *** adibhann_ has joined #angularjs
[09:03:26] *** wd40s has joined #angularjs
[09:03:42] *** dsdeiz_ has joined #angularjs
[09:04:44] *** dsdeiz_ has left #angularjs
[09:05:05] *** dsdeiz has quit IRC
[09:05:44] *** jagga has joined #angularjs
[09:05:59] *** adibhanna has quit IRC
[09:06:49] *** larsgk has quit IRC
[09:07:54] *** marshall has quit IRC
[09:08:00] *** JohnBat26 has joined #angularjs
[09:08:09] *** wd40s has quit IRC
[09:08:18] *** jagga_ has joined #angularjs
[09:09:17] *** glontu has quit IRC
[09:10:53] *** jareddlc has quit IRC
[09:11:08] *** corehook has joined #angularjs
[09:11:37] *** jagga has quit IRC
[09:12:19] *** jstroem has joined #angularjs
[09:12:22] *** ccohn has joined #angularjs
[09:12:30] *** angularjs180 has joined #angularjs
[09:12:50] <angularjs180> hey guys i have some functions that are specific to 1 controller, but they make the controller very big and messy
[09:12:54] <angularjs180> how can i refactor it?
[09:12:55] *** setec has joined #angularjs
[09:13:53] *** dan2k3k4 has quit IRC
[09:14:14] <sacho_> what's there to refactor
[09:14:16] *** dan2k3k4 has joined #angularjs
[09:14:21] <sacho_> why do you think the controller is "messy"
[09:14:28] *** glaksmono has joined #angularjs
[09:14:52] *** enaqx has quit IRC
[09:14:58] <angularjs180> theres a lot of code..
[09:15:00] <wafflej0ck> you can split the functionality into factories and or services if it makes sense
[09:15:15] <angularjs180> actually i just thought of doing that haha
[09:15:17] <dan2k3k4> I have a directive, with just templateUrl: 'myTemplate.html'; -> however the directive name is only used in one project/setting... why does angular try to load the template for other projects (where the directive is not present at all in the DOM) ?
[09:15:55] <dan2k3k4> because it's complaining that the template doesn't exist for the other projects (url is basically: project + 'templates/myTemplate.phtml';)
[09:15:56] *** Typher has joined #angularjs
[09:16:01] *** corehook has quit IRC
[09:16:34] *** corehook has joined #angularjs
[09:16:46] *** corehook has quit IRC
[09:16:49] *** DoubleAW has quit IRC
[09:16:59] *** jillesme has joined #angularjs
[09:17:00] *** ccohn has quit IRC
[09:17:03] *** klaut has joined #angularjs
[09:17:15] *** DoubleAW has joined #angularjs
[09:17:25] *** adpirz has joined #angularjs
[09:18:17] <dan2k3k4> is there any way I can check if the templateUrl file 'exists' and if not, then don't return a template / return a default url instead ? :/
[09:18:46] <sacho_> pass a function to templateUrl
[09:19:22] *** Nijikokun has quit IRC
[09:19:52] *** iffraff has quit IRC
[09:20:26] *** amirn has joined #angularjs
[09:20:34] <dan2k3k4> sacho_, so something like: templateUrl: function(elem, attrs) { return if(file_exists) ? templateUrl : defaultUrl; } ?
[09:20:44] <sacho_> sure
[09:21:04] <dan2k3k4> how would I check file_exists ?
[09:21:10] <dan2k3k4> $http get file?
[09:21:16] *** iffraff has joined #angularjs
[09:21:24] <dan2k3k4> it's always local files
[09:21:32] *** jillesme has quit IRC
[09:21:45] *** asher^ has quit IRC
[09:21:53] *** adpirz has quit IRC
[09:23:15] *** adibhanna has joined #angularjs
[09:23:17] *** DoubleAW has quit IRC
[09:23:21] *** Nijikokun has joined #angularjs
[09:23:50] *** adibhann_ has quit IRC
[09:24:35] *** Raging_Hog has joined #angularjs
[09:25:02] *** jstroem has quit IRC
[09:25:32] *** jstroem has joined #angularjs
[09:25:32] *** rburns has quit IRC
[09:26:23] *** rburns has joined #angularjs
[09:27:57] *** zwacky has quit IRC
[09:28:56] *** monir has quit IRC
[09:28:59] *** ohiyo has joined #angularjs
[09:29:23] *** doginal has quit IRC
[09:29:28] *** billtao has joined #angularjs
[09:29:32] <billtao> Hello
[09:29:38] *** TyrfingMjolnir has quit IRC
[09:30:13] *** billtao has quit IRC
[09:30:17] *** devylon has joined #angularjs
[09:30:57] *** anjumkaiser has quit IRC
[09:31:05] *** ohiyo has quit IRC
[09:31:21] *** delmolino has quit IRC
[09:31:24] *** numenor has quit IRC
[09:32:59] *** larsgk has joined #angularjs
[09:33:12] *** shampine has quit IRC
[09:33:12] *** adibhanna has left #angularjs
[09:33:45] <wafflej0ck> dan2k3k4: if you aren't referencing the directive it really shouldn't be loading the template
[09:33:45] *** jstroem has quit IRC
[09:34:11] *** jstroem has joined #angularjs
[09:34:11] *** StryKaizer has joined #angularjs
[09:34:55] *** jstroem has quit IRC
[09:35:06] <dan2k3k4> wafflej0ck, I basically have myApp('Controller') then I do: .directive('myDirective', func() { return { templateUrl: theUrl; } )
[09:35:16] *** jstroem has joined #angularjs
[09:35:32] <dan2k3k4> and the controller is in all projects but the directive name is only in one project :/ and it works fine for that project
[09:35:50] *** corehook has joined #angularjs
[09:36:09] *** glaksmono has quit IRC
[09:36:13] <dan2k3k4> now while I'm trying to do a $http inside the templateUrl, it complains about protocol being undefined even though I've tried $http.get and $http({ method: 'GET';
[09:36:44] *** briner has joined #angularjs
[09:37:26] *** Makpoc has joined #angularjs
[09:37:59] *** briner has quit IRC
[09:38:17] *** phzon has joined #angularjs
[09:39:04] *** KostyaChoporov has quit IRC
[09:39:20] *** tfennelly has quit IRC
[09:39:50] <wafflej0ck> not sure about the protocol issue but if you don't reference my-directive anywhere in the markup then I don't believe it will preload the template
[09:40:14] *** advy has joined #angularjs
[09:40:22] *** mtsr has joined #angularjs
[09:42:50] *** jMyles has quit IRC
[09:43:41] *** smola1022 has joined #angularjs
[09:44:05] <dan2k3k4> well why else would I get the error? :s
[09:44:13] *** fbenoit has joined #angularjs
[09:45:11] <dan2k3k4> it seems like it tries to compile the template
[09:45:58] *** smola1022 has quit IRC
[09:45:59] *** smola1022_ has joined #angularjs
[09:46:23] *** mtsr has quit IRC
[09:46:31] *** mtsr has joined #angularjs
[09:46:42] *** numenor has joined #angularjs
[09:46:47] *** ahtik has joined #angularjs
[09:47:13] *** sk87 has joined #angularjs
[09:47:48] *** milka has joined #angularjs
[09:48:43] *** yts has joined #angularjs
[09:48:53] *** dimetron has joined #angularjs
[09:49:36] *** newbieangularjs has joined #angularjs
[09:50:02] *** evilaliv3 has joined #angularjs
[09:50:12] <newbieangularjs> hi which is the best editor to use un debian for angularjs?
[09:50:24] *** smola1022_ has quit IRC
[09:50:38] *** Evanion has quit IRC
[09:50:56] <wafflej0ck> newbieangularjs: prefer SublimeText myself the other big competitor is WebStorm typically
[09:51:16] *** yts has quit IRC
[09:51:20] <newbieangularjs> Are they free? @wafflej0ck
[09:51:28] <dan2k3k4> seems like it works if I use template: '<div ng-include=customFooterVar></div>' then link: function() { $http.get().success( scope.customFooterVar = templateUrl).error( scope.customFooterVar = defaultUrl) wafflej0ck / sacho_
[09:51:48] *** glaksmono has joined #angularjs
[09:51:49] <wafflej0ck> newbieangularjs: WebStorm is a bit pricey I believe, SublimeText was $50 for a license otherwise it nags you all the time
[09:51:49] <dan2k3k4> couldn't get templateUrl: function() to work... :/
[09:51:52] *** bengillies has joined #angularjs
[09:52:00] *** sadfsafd has joined #angularjs
[09:52:01] *** Aerospark has joined #angularjs
[09:52:04] <dan2k3k4> unless I was supposed to return data instead of the url?
[09:52:06] *** yts has joined #angularjs
[09:52:13] *** KostyaChoporov has joined #angularjs
[09:52:17] <wafflej0ck> newbieangularjs: if you need free try geany maybe
[09:52:24] *** sk87 has quit IRC
[09:52:31] *** mot0rola has joined #angularjs
[09:52:35] *** milka has quit IRC
[09:52:44] *** milka has joined #angularjs
[09:53:21] <wafflej0ck> oh looks like webstorm is only $99 for a new license so not terrible but still more
[09:53:41] <wafflej0ck> thought it was like $300 though or something maybe price dropped er I just recalled incorrectly
[09:53:55] *** mennea has quit IRC
[09:53:55] *** sk87 has joined #angularjs
[09:54:34] *** mennea has joined #angularjs
[09:54:38] *** sadfsafd has left #angularjs
[09:54:54] <wafflej0ck> oh heh looks like SublimeText went up too it's $70 now
[09:55:15] <wafflej0ck> k forget what I said about the price difference :), was different when I got the license a while back
[09:55:26] <newbieangularjs> How is "textAngular"? Do Someone use it?
[09:56:38] *** Aerospark has quit IRC
[09:56:39] *** rburns has quit IRC
[09:57:00] *** rburns has joined #angularjs
[09:57:01] *** mot0rola has quit IRC
[09:57:32] <wafflej0ck> newbieangularjs: haven't used it, for the limited cases I've needed a rich text editor in the browser I used a CKEditor wrapper so far just for internal stuff though, looks like lots of stars though would just check the repo activity and demos and whatnot to see if it's active and does what you need
[09:58:55] *** patric100e99 has joined #angularjs
[09:58:59] <newbieangularjs> @waflej0ck Consider that i'm new in this topic(angularjs)...not inprogramming. I've installed my environment ith nodejs and yeoman.
[09:59:10] *** Moikzz has joined #angularjs
[09:59:28] <Moikzz> someone there?
[09:59:29] *** abailarri has joined #angularjs
[09:59:50] <newbieangularjs> @wafflej0ck I need some other steps to do before to start?
[10:00:04] *** MaxV has joined #angularjs
[10:00:15] *** m8 has joined #angularjs
[10:00:34]
<wafflej0ck> newbieangularjs: you shouldn't I did a vid on the whole setup from start to finish here https://www.youtube.com/watch?v=zQNbsCTFrAA there's jump points in the description, it's late here though gotta get to sleep
[10:01:14] *** MalteJ has joined #angularjs
[10:02:39] *** LeBlaaanc has joined #angularjs
[10:02:41] <newbieangularjs> ok I'm going to see the video. ;-)
[10:03:09] *** patric100e99 has quit IRC
[10:03:54] *** burattino has joined #angularjs
[10:04:03] *** shpoont_ has joined #angularjs
[10:04:09] *** shpoont has quit IRC
[10:04:12] <LeBlaaanc> if my json array is [ { "id": 1, "name": "foo" } ] how am I getting ng-options to work with <select> ? I have ng-options="object.name for object in objects">
[10:04:17] *** Typher has quit IRC
[10:04:31] <LeBlaaanc> Right now it just uses the json array index
[10:04:50] *** tripu has quit IRC
[10:05:12] <wafflej0ck> select as label for value in array
[10:05:14] *** mtsr has quit IRC
[10:05:17] *** niklasmodess has joined #angularjs
[10:05:23] <sacho_> LeBlaaanc, make a plunker
[10:05:27] <wafflej0ck> or, object as object.name for object in objects
[10:05:54] *** dannyc has joined #angularjs
[10:07:06] *** newbieangularjs has left #angularjs
[10:07:27] *** spaceonline has joined #angularjs
[10:07:28] *** uru|away is now known as uru
[10:08:20] *** mtsr has joined #angularjs
[10:08:31] *** Typher has joined #angularjs
[10:08:53] *** gunn_ has quit IRC
[10:09:22] <LeBlaaanc> wafflej0ck: is select a reserved word? I don't follow :(
[10:09:46] <LeBlaaanc> I tried also object as object.name for object in objects
[10:09:47] <wafflej0ck> LeBlaaanc: replace what you had in ng-options with object as object.name for object in objects
[10:10:00] <LeBlaaanc> :\
[10:10:03] <wafflej0ck> select there just means what will be the ng-model
[10:10:07] *** jillesme has joined #angularjs
[10:10:24] <LeBlaaanc> I tried that based on your recommendation and it didn't work
[10:10:32] <wafflej0ck> LeBlaaanc: if it's still not working out for ya like sacho_ said make a plunkr use the irc topic /topic to get a link to the template
[10:10:33] <LeBlaaanc> still starts with 0 index
[10:10:34] *** enaqx has joined #angularjs
[10:11:15] <wafflej0ck> LeBlaaanc: if you don't have the model set to one of the elements in the array nothing will be selected by default
[10:11:53] <wafflej0ck> alright I really gotta get some sleep though
[10:11:54] <LeBlaaanc> wafflej0ck: well that's another problem but the array index is still wrong
[10:12:24] *** spaceonline has quit IRC
[10:12:34] <sacho_> "the array index"?
[10:13:05] *** ccohn has joined #angularjs
[10:13:58] *** deanclkclk_ has quit IRC
[10:14:04] *** jaydubya has joined #angularjs
[10:14:17] *** marshall has joined #angularjs
[10:14:37] *** Mugo has joined #angularjs
[10:15:01] *** jackStoner has quit IRC
[10:15:05] *** grantfunke_ has quit IRC
[10:15:57] *** Mugo has quit IRC
[10:17:02] *** numenor has quit IRC
[10:17:17] *** grantfunke_ has joined #angularjs
[10:17:43] *** glaksmono has quit IRC
[10:17:53] *** ccohn has quit IRC
[10:17:55] *** Lynxium has quit IRC
[10:18:25] *** Grokling_ has joined #angularjs
[10:18:51] *** davemerwin has joined #angularjs
[10:19:05] *** marshall has quit IRC
[10:19:12] *** glaksmono has joined #angularjs
[10:19:18] <frobs> you need use the ng-app directive and import angular-router.js
[10:19:36] <frobs> angular-route.js*
[10:19:46] *** jaydubya has quit IRC
[10:19:47] *** mennea has quit IRC
[10:19:57] *** numenor has joined #angularjs
[10:20:57] <LeBlaaanc> sacho_: ah I see... the <option> indexes don't matter as they once did... angular just takes over
[10:21:21] <abailarri> frobs, in my real case I have this <html lang="es" ng-app="app">
[10:21:27] *** glaksmono has quit IRC
[10:21:34] <LeBlaaanc> so 0 might not equal 0, but whatever the model's id is
[10:21:41] <abailarri> and I load the angular-route module, but not works
[10:22:00] *** glaksmono has joined #angularjs
[10:22:13] *** Caroga_afk is now known as Caroga
[10:22:43] *** tkimmel has joined #angularjs
[10:22:44] <frobs> i make this two changes and all works....if you do a plunk asking you must write all as you have in your code
[10:23:12] *** ehalas has quit IRC
[10:23:36] *** justhin has joined #angularjs
[10:23:53] *** davemerwin has quit IRC
[10:23:56] *** Raging_Hog has quit IRC
[10:24:55] *** numenor has quit IRC
[10:25:18] *** glaksmono has quit IRC
[10:25:56] <abailarri> frobs, in my real app i'm loading jquery and some JS files. Is posible a comflict?
[10:26:24] *** hecatonicosachor has joined #angularjs
[10:26:42] <frobs> i'mmmm if you have a conflict teorically you must see the error message in the browser console
[10:26:49] <frobs> uhmmm*
[10:27:23] <abailarri> I not see any error in the console
[10:27:33] <Grokling_> Moikzz: Got some code?
[10:27:34] *** tkimmel has quit IRC
[10:28:02] <Moikzz> should i post the code here?
[10:28:10] <Grokling_> No.
[10:28:19] <Grokling_> Plunker, gist, jsfiddle etc..
[10:28:31] *** glaksmono has joined #angularjs
[10:28:36] <Grokling_> Plunker is the best though, then we can see it work or not.
[10:29:09] <Grokling_> Even pastebin if it's short and easy..
[10:29:10] <Moikzz> i dont
[10:29:24] <Moikzz> do i need to sign in for that?
[10:29:28] <Moikzz> or download?
[10:29:36] *** sacho_ has quit IRC
[10:29:37] <Grokling_> No, all online, no signin required.
[10:29:40] *** MaxV has quit IRC
[10:29:46] *** corehook has quit IRC
[10:29:49] <Moikzz> ok
[10:29:53] <LeBlaaanc> Does this init not look right? Doesn't seem to work <select class="form-control" ng-init="card.card_set_id = card_sets[0]" ng-model="card.card_set_id" ng-options="card_set as card_set.name for card_set in card_sets">
[10:29:54] <Grokling_> Got browser = got plunker.
[10:30:10] <LeBlaaanc> Just trying to select the first option
[10:30:10] <Grokling_> There's a plunker link in the topic of this IRC channel.
[10:30:47] <Moikzz> i open the editor in plunker should i just copy and paste my codes there?
[10:31:25] <LeBlaaanc> Moikzz: recreate whatever it is you are working on to the best of your abilities I would assume
[10:31:31] <Grokling_> Moikzz: You should try to reproduce the part you're stuck on with the minimum necessary pieces to make it still work.
[10:31:40] *** soomro786 has joined #angularjs
[10:32:04] *** yusuf__ has joined #angularjs
[10:32:09] <Moikzz> ok
[10:32:17] <soomro786> Im using data-ng-include but for some reason it gets commented when i run my html
[10:32:26] <soomro786> Is this normal?
[10:32:26] *** corehook has joined #angularjs
[10:32:29] <LeBlaaanc> Grokling_: does my default select seem like it should work? just spitball asking cause I'm just going to call it a night before I plunker
[10:32:40] *** macobo has quit IRC
[10:32:47] *** maxikon has quit IRC
[10:32:59] <hecatonicosachor> no
[10:33:03] <Grokling_> LeBlaaanc: Nope. I don't think it will. Hold on and I'll link you a plunker you can hack around easily - it's mostly there already.
[10:33:19] <hecatonicosachor> your ng-options expression specifies that you want the model to be set to "card_set"
[10:33:55] <hecatonicosachor> well, maybe that is what you want, since your init is also doing that..
[10:33:56] *** hecatonicosachor is now known as sacho
[10:34:52] *** justhin has quit IRC
[10:35:40] <soomro786> I have <div data-ng-include="'/resource'" id='someID'></div>
[10:35:53] <soomro786> And when i run my site it comments it out
[10:36:40] <soomro786> Like <!-- ngInclude: '/resource.html' -->
[10:36:52] *** Cydmax has joined #angularjs
[10:37:21] <soomro786> Im wondering how to stop it from doing that cuz my view isnt showing
[10:37:46] <soomro786> Id rather keep the original div
[10:37:58] *** Schtive has joined #angularjs
[10:38:17] *** jillesme has quit IRC
[10:38:19] *** tech2 has joined #angularjs
[10:38:26] *** tfennelly has joined #angularjs
[10:39:17] *** glaksmono has quit IRC
[10:39:23] *** edy has joined #angularjs
[10:39:27] <sacho> that's a feature of ngInclude.
[10:39:43] *** Evanion has joined #angularjs
[10:40:00] <soomro786> So how come it doesnt show my view
[10:40:21] <soomro786> That im including
[10:40:26] *** AciD`` has joined #angularjs
[10:40:26] *** soee has joined #angularjs
[10:41:09] *** Cydmax has quit IRC
[10:42:58] <LeBlaaanc> Grokling_: okay so I have this working, thanks for that, but I'm still not sure how to get the first item to select
[10:42:58] *** motionman has quit IRC
[10:43:40] *** mennea has joined #angularjs
[10:43:43] *** Foxandxss has joined #angularjs
[10:43:48] *** tarnus has joined #angularjs
[10:43:52] <LeBlaaanc> ooo wait i get it
[10:44:15] <LeBlaaanc> card_sets[0].id :)
[10:44:39] <Grokling_> Yeah - I figured I'd let you work that out ;-)
[10:45:00] *** marr has joined #angularjs
[10:45:54] *** gnrlbzik has joined #angularjs
[10:46:00] *** timluo has joined #angularjs
[10:47:34] *** mogaj|2 has joined #angularjs
[10:48:16] <LeBlaaanc> well this is weird... still doesn't want to cooperate.
[10:48:43] *** tarnus has quit IRC
[10:48:59] *** mogaj has quit IRC
[10:49:01] <Grokling_> Do you have an updated plunk?
[10:49:19] *** mel| has joined #angularjs
[10:49:24] <LeBlaaanc> Yea it works in plunker, just not on my end
[10:49:48] <mel|> hi, is it possible to delete a value from $cookies?
[10:50:17] *** gnrlbzik has quit IRC
[10:50:20] <mel|> or the key-value pair
[10:50:24] <Grokling_> LeBlaaanc: ahh. One of those - works on plunker, but not in practice..
[10:50:54] <mel|> documentations says nothing about that
[10:51:28] <Grokling_> mel|: $cookieStore.
[10:51:41] <mel|> saw that
[10:51:43] <mel|> so no?
[10:51:44] <soomro786> Sacho Once the ngInclude its commented shouldnt i be able to see my view
[10:51:45] *** greengriminal has joined #angularjs
[10:51:59] *** Sebastien-L has joined #angularjs
[10:52:07] <mel|> so $cookies is just for getting/setting?
[10:52:12] *** wd40s has joined #angularjs
[10:52:14] *** dnewkerk has joined #angularjs
[10:52:19] <mel|> what am i missing?
[10:52:23] <LeBlaaanc> Grokling_: is it possible ng-init runs before the data is retrieved from the service?
[10:52:44] <Grokling_> LeBlaaanc: entirely possible.
[10:53:00] *** grantfunke_ has quit IRC
[10:53:11] *** apertoire has joined #angularjs
[10:53:30] <Grokling_> If you're using promises, set the variable in your .then() instead of using ng-init. Alternatively, load the data in a resolve first..
[10:53:42] *** foofoobar has joined #angularjs
[10:54:30] *** MaxV has joined #angularjs
[10:54:57] *** apertoire has quit IRC
[10:55:53] *** iffraff has quit IRC
[10:57:10] *** wd40s has quit IRC
[10:57:28] *** iffraff has joined #angularjs
[10:57:39] *** greengriminal has quit IRC
[10:57:48] *** mityaz has joined #angularjs
[10:57:53] *** yelvert has joined #angularjs
[10:59:00] *** corehook has quit IRC
[10:59:15] *** Ajans has joined #angularjs
[11:00:12] *** mdedetri_ has quit IRC
[11:00:44] *** sandy_ has joined #angularjs
[11:01:03] *** corehook has joined #angularjs
[11:01:36] *** mdedetrich has joined #angularjs
[11:01:38] <sandy_> please some one help me i have one doubt..about angular material design
[11:02:41] *** yelvert has quit IRC
[11:02:54] <sandy_> <corehook> : will u help me
[11:03:35] <abailarri> frobs, I achived to work. But to show If I'm reciving the data from the controller, console.log works?
[11:04:05] *** mogaj|2 has quit IRC
[11:04:24] *** adpirz has joined #angularjs
[11:04:30] *** \du has joined #angularjs
[11:05:12] <sandy_> in material design md-text-float to this field minlength will work
[11:05:38] *** corehook has quit IRC
[11:05:39] *** jae has left #angularjs
[11:06:48] <sandy_> please some one help me yar
[11:06:53] *** jillesme has joined #angularjs
[11:07:31] *** mogaj has joined #angularjs
[11:08:42] *** ludkiller has quit IRC
[11:08:56] *** Asiajey has joined #angularjs
[11:09:00] <Evanion> Fox, Did you push all your changes to your repo yesterday?
[11:09:14] *** ludkiller has joined #angularjs
[11:09:19] *** Raging_Hog has joined #angularjs
[11:09:54] <Foxandxss> yes
[11:10:02] <Evanion> ok
[11:10:24] *** netameta_ has quit IRC
[11:10:57] *** Siyfion has joined #angularjs
[11:11:07] *** favetelinguis has joined #angularjs
[11:11:09] *** azizur has joined #angularjs
[11:11:12] *** Grokling_ has quit IRC
[11:11:19] <sandy_> please some one help me i have one doubt..about angular material design
[11:11:28] *** timluo has quit IRC
[11:11:42] <Foxandxss> we read you
[11:12:12] <Foxandxss> but if no one use material, no one can help
[11:12:47] <sandy_> are u using
[11:12:50] <sandy_> ??
[11:12:56] *** thomastuts has joined #angularjs
[11:12:57] <Foxandxss> I am not
[11:12:58] <Evanion> Have you tried it to see what happens?
[11:13:50] <sandy_> in material design there is md-text-float so my question is can we use maxlength for that text field..?
[11:13:50] *** ccohn has joined #angularjs
[11:14:00] *** Cydmax has joined #angularjs
[11:14:09] *** arkin has joined #angularjs
[11:14:09] *** arkin has joined #angularjs
[11:14:20] <Evanion> We don’t know, but have you tried adding that attribute to the tag to see what happens?
[11:14:22] <sandy_> am trying but coulnt
[11:14:29] <Evanion> then I gues it doesn’t work
[11:14:46] <arkin> I have a service that performs many ajax calls (a sync of sorts).. whats the best way to update the controller of the progress?
[11:15:05] <sandy_> then its not usefully for validation
[11:15:21] <jagga_> anyone here used the angular chart.js directive and added the ability for axis titles?
[11:15:31] *** ninkotech has quit IRC
[11:15:32] *** adibhanna has joined #angularjs
[11:15:55] <thomastuts> anyone have an idea why a template i'm overwriting in templateCache isn't using the new template? specifically, i'm overwriting the datepicker template in angular-ui-bootstrap
[11:16:22] <sandy_> kkk
[11:16:24] <sandy_> thnx
[11:16:31] <Foxandxss> thomastuts: with the same exact key, it should be overriden
[11:17:21] *** monir has joined #angularjs
[11:18:02] *** pdillinger has quit IRC
[11:18:09] <thomastuts> Foxandxss: yeah i know, but it's not doing it for some reason
[11:18:17] *** ccohn has quit IRC
[11:18:27] <thomastuts> i can overwrite template/datepicker/datepicker.html but it's using the default one for template/datepicker/day.html
[11:18:29] <thomastuts> super weird
[11:18:42] *** numenor has joined #angularjs
[11:18:59] <Foxandxss> well, you need to override all of them
[11:19:07] <Foxandxss> datepicker has now a couple of templates
[11:19:10] *** angularjs180 has quit IRC
[11:19:26] *** mdedetrich has quit IRC
[11:19:33] <thomastuts> yeah but the one i want to overwrite is day.html
[11:19:43] <thomastuts> i don't need any custom templates for the others
[11:19:44] <Evanion> Do you remove the old view from the templateCache before adding a new one?
[11:19:51] <thomastuts> nope i just $put it
[11:19:58] <thomastuts> well, .put
[11:20:05] <thomastuts> it should just overwrite it, no?
[11:20:05] <Evanion> $templateCache.remove(<templateurl>);
[11:20:23] *** spaceonline has joined #angularjs
[11:20:25] <Evanion> try removing the old one before putting a new one in place
[11:20:34] <Foxandxss> thomastuts: maybe you need to load that .put after you load bootstrap
[11:20:44] *** Joshee has quit IRC
[11:21:44] <Foxandxss> shouldn't be needed
[11:22:10] <Foxandxss> let me try
[11:22:17] *** Sebastien-L has quit IRC
[11:22:17] <Evanion> Not full out disabling it, i agree, but it might give som pointers on the issue
[11:22:59] <arkin> I have a service that performs many ajax calls (a sync of sorts).. whats the best way to update the controller of the progress? $scope doesn't seem to be available?
[11:23:08] *** Aswebb has joined #angularjs
[11:23:38] <soomro786> When i use data-ng-include it doesn't work although when i run my site it comments the data-ng-include tags
[11:23:40] <Evanion> use $q and subscribe to $.progress?
[11:23:45] <soomro786> How can i fix this?
[11:23:51] <Evanion> $q.progress*
[11:24:18] <Evanion> thats a classic case of where you would use promises Arkin
[11:24:22] *** thalfeld has joined #angularjs
[11:24:46] *** rburns has quit IRC
[11:24:49] <thomastuts> ugh, i feel like a dumbass, sorry guys
[11:24:50] <arkin> Evanion: but create a custom promise versus $http ?
[11:24:58] <thomastuts> i was already overwriting the template somewhere else
[11:25:23] <Foxandxss> oh
[11:25:26] <Foxandxss> I made a demo
[11:25:27] <Foxandxss> :P
[11:25:27] <thomastuts> sorry :<
[11:26:33] <arkin> Evanion: kk thanks
[11:27:01] <soomro786> Arkin: you promise then you resolve the promise when you get data
[11:27:33] <arkin> soomro786: I understand that, just not when I am using 1 promise for 11 ajax calls and want progress
[11:27:57] <arkin> I have since found $q.all though
[11:28:00] <sinclair> alright, angular question
[11:28:05] <sinclair> haven't had one for a while
[11:28:12] <sinclair> im using ui-router
[11:28:20] <sinclair> and i have created a bunch of states
[11:28:36] <sinclair> i can access these states no problem
[11:28:51] <sinclair> however, i actually want to pass complex objects to these states
[11:29:36] *** gurke_ has quit IRC
[11:29:38] *** cakirke has joined #angularjs
[11:29:52] <jcool> how do we tell browser not to cache url in angular?
[11:30:03] <sinclair> so, rather than display a state with something like a <a href='/#/whatever' /> is there a way to show the state in the pages controller, as well as pass a complex object to the state to deal with?
[11:30:07] <jcool> I have already inserted {cache:false} in get request
[11:30:08] *** corehook has joined #angularjs
[11:30:19] <jcool> but still it gets data from browser cache
[11:30:30] <Foxandxss> sinclair: not sure if I follow, but use services?
[11:30:31] *** TheAceOfHearts has quit IRC
[11:30:49] <sinclair> Foxandxss: the scenario is like this
[11:30:50] <jcool> It updates data after 10 seconds
[11:30:51] *** carlosmantilla has quit IRC
[11:30:52] *** josh-k_ has joined #angularjs
[11:31:04] *** rtpg has quit IRC
[11:31:06] <sinclair> Foxandxss: i have a bunch of filenames listed in a ul / li list?
[11:31:10] <sinclair> Foxandxss: make sense?
[11:31:16] <sinclair> stuff like....
[11:31:19] <sinclair> image.jpg
[11:31:22] <sinclair> video.mp4
[11:31:26] <sinclair> document.pdf
[11:31:33] <sinclair> note.txt
[11:31:34] <sinclair> and so on
[11:31:40] <sinclair> Foxandxss: make sense?
[11:31:49] <Foxandxss> so far yeah
[11:31:52] <sinclair> k
[11:32:01] <sinclair> so, i have a service that gets these files....
[11:32:06] <sinclair> (web service)
[11:32:22] <sinclair> it pulls back {filename, mime, size, etc etc}
[11:32:32] *** cannap has joined #angularjs
[11:32:47] *** m8 has quit IRC
[11:32:58] <sinclair> Foxandxss: so, what i was looking to do was, if its it is mime text/plain for example, i would load a template/textplain.html view
[11:33:20] <sinclair> Foxandxss: if the file was a video/mp4, i would load templates/video.html
[11:33:24] <sinclair> and so on?
[11:33:27] <sinclair> er
[11:33:36] <sinclair> are you with me so far?
[11:33:42] <Foxandxss> I think so yeah
[11:34:09] <sinclair> Foxandxss: so, imagine i have this list of file <ul / li> listed in the page
[11:34:25] <sinclair> a user clicks on one of the files, i now need to make a decision
[11:34:45] *** josh-k has quit IRC
[11:35:09] <sinclair> based on the mime type of that file, i need to know which template to load, and i also want to pass that template all the information (filename, filesize, mime, created, etc etc} into that view
[11:35:16] <sinclair> view / state
[11:35:26] <sinclair> Foxandxss: so, am i doing it wrong?
[11:35:30] *** motionman has joined #angularjs
[11:35:34] <Foxandxss> no, not wrong
[11:35:41] <Foxandxss> you just need to find your way
[11:35:52] *** nesquerra has quit IRC
[11:35:57] <Foxandxss> so
[11:36:01] <Foxandxss> all the routes are the same?
[11:36:09] <arkin> Evanion: thanks, its working
[11:36:13] <sinclair> Foxandxss: the same?
[11:36:14] <Foxandxss> for all the mime types I mean
[11:36:25] *** sk87 has quit IRC
[11:36:30] <sinclair> Foxandxss: not sure yet, just figuring out what i need to do
[11:36:42] <Foxandxss> in your states
[11:36:47] <sinclair> the route would be maybe .. /files/:filename
[11:36:53] <Foxandxss> you can have a templateUrl as a function and based on the stateParams
[11:36:57] <Dragory> orrrrrr ngInclude and figure out the template in the controller
[11:37:02] <Foxandxss> you can return a different template
[11:37:30] <sinclair> Foxandxss: can i have a varying templateUrl ?
[11:37:30] <Foxandxss> so having the same route, you can output different templates based on something
[11:37:35] <Foxandxss> yes
[11:37:41] <sinclair> how does that work?
[11:37:42] <Foxandxss> s/varying/dynamic
[11:38:07] <Foxandxss> templateUrl: function() return "/templates/that/" + name + ".html";
[11:38:12] <Foxandxss> forgot the {}
[11:38:13] *** adibhanna has quit IRC
[11:38:13] <Foxandxss> :P
[11:38:24] *** mtsr has quit IRC
[11:38:30] <sinclair> Foxandxss: and its differred somehow?
[11:38:33] <Evanion> your welcome, arkin
[11:38:39] <sinclair> *deferred
[11:38:51] *** favetelinguis has quit IRC
[11:38:58] *** adibhanna has joined #angularjs
[11:39:02] *** dimetron has quit IRC
[11:39:14] *** favetelinguis has joined #angularjs
[11:39:16] <sinclair> Foxandxss: atm, my templateURL is simeply.... templateUrl : 'templates/something.html'
[11:39:17] <Foxandxss> maybe that approach won't work because you can't inject anything there, you just have stateParams
[11:39:18] <Foxandxss> uhmm
[11:39:33] <sinclair> Foxandxss: can i have say...
[11:39:37] *** gunn has joined #angularjs
[11:39:52] <sinclair> templateUrl : function($stateParams) {}) ?
[11:39:52] *** faveteli_ has joined #angularjs
[11:40:01] <sinclair> which would contain a filename
[11:40:24] <Foxandxss> but you don't want a /file/filename route, don't you?
[11:40:44] *** faveteli_ has quit IRC
[11:40:51] *** faveteli_ has joined #angularjs
[11:41:01] <Foxandxss> that is the idea yeah
[11:41:07] <Foxandxss> and I like that url
[11:41:13] <Foxandxss> having type on the state
[11:41:18] *** mot0rola has joined #angularjs
[11:41:23] <sinclair> oh, sick!
[11:41:27] <sinclair> thanks guys
[11:41:34] *** foofoobar has quit IRC
[11:41:40] <Evanion> np
[11:41:44] <Foxandxss> Evanion: was with you the CCA talk?
[11:41:51] <Evanion> yea
[11:41:56] <Foxandxss> right
[11:42:10] <Foxandxss> so CCA comes with good ANDROID stuff (the new webview for working in any android version)
[11:42:16] <Foxandxss> comes with some good plugins as well
[11:42:29] <Foxandxss> for iOS it just create a normal package
[11:42:38] *** cotko has joined #angularjs
[11:42:42] <Foxandxss> iOS package is the classic one just with those extra plugins
[11:42:47] <Foxandxss> since the issue is on android webview
[11:43:00] <Evanion> ok
[11:43:09] <jcool> how do we tell browser not to cache url in angular? The problem is even after db updating I get old response for 10s. I have already set {cache:false} in http get.
[11:43:11] *** tomnewmann has joined #angularjs
[11:43:19] *** mennea has quit IRC
[11:43:23] *** favetelinguis has quit IRC
[11:43:39] *** eamonn has joined #angularjs
[11:43:40] *** Moikzz has quit IRC
[11:43:51] <Evanion> Might try crossfire on some future project
[11:43:55] *** mennea has joined #angularjs
[11:44:08] <Foxandxss> also try crosswalk :P
[11:44:28] <Evanion> cross<somethingsen>
[11:44:35] *** tomnewmann has quit IRC
[11:44:38] <Evanion> I have a bookmark ;)
[11:44:51] *** tomnewmann has joined #angularjs
[11:45:19] *** Schtive has quit IRC
[11:45:42] *** klaut has quit IRC
[11:45:57] *** mot0rola has quit IRC
[11:46:09] *** tomnewmann has quit IRC
[11:46:09] <Evanion> and I have shared it with my fellow teammembers
[11:46:27] <Dragory> jcool: are you sure it's angular caching it and not your browser? if you check the dev tools' network tab, does it show "(from cache)" at the request (or does it fire the request at all)?
[11:46:29] *** tomnewmann has joined #angularjs
[11:46:31] <mel|> are there any IDE/tools that support refactoring for angular?
[11:46:53] *** ciro_nunes has joined #angularjs
[11:46:55] *** rburns has joined #angularjs
[11:47:09] <sinclair> Foxandxss: sorry mate, can i ask one more thing?
[11:47:10] <Evanion> Have you tried webstorm?
[11:47:17] *** ciro_nunes is now known as Guest19506
[11:47:19] <Foxandxss> sure
[11:47:21] <jcool> Dragory, in firebug conosle it shows 200 ok and yes it does fire request
[11:47:24] *** tomnewmann has quit IRC
[11:47:42] *** tomnewmann has joined #angularjs
[11:47:45] <Dragory> jcool: ok, can you see what the response of the request is? is it the old data?
[11:47:53] <jcool> Dragory, yes the old data
[11:48:02] <Dragory> alright, so it's probably a server-side issue then
[11:48:05] <sinclair> Foxandxss: lets say i load a state / view... and that view has a <script> tag in there containing a new angular controller
[11:48:28] <Dragory> jcool: make sure you don't have any caching enabled in the back-end that could cause this
[11:48:34] <sinclair> Foxandxss: for example, i load a video file...i might have a controller in that view specifically for controlling the video playback
[11:48:42] <jcool> Dragory, I have been using php framework as my backend and that framework doesnt caches the response.
[11:48:49] <Dragory> j
[11:48:49] <jcool> Dragory, could be browser cache issue?
[11:48:53] <sinclair> Foxandxss: ideally, id like this controller to load dynamically
[11:49:12] *** tomnewmann has quit IRC
[11:49:26] <sinclair> Foxandxss: if i load the controller dynamically, it means that as new file types emerge, i can script in the logic i need to drive those specific views
[11:49:29] *** Guest19506 is now known as ciro_nunes
[11:49:36] *** tomnewmann has joined #angularjs
[11:49:43] *** cacts|wtf has quit IRC
[11:49:46] <sinclair> and not have to modify the parent controller / state etc
[11:49:57] <sinclair> Foxandxss: any thoughts?
[11:50:06] *** cacts|wtf has joined #angularjs
[11:50:14] <Foxandxss> lazy loading?
[11:50:19] <sinclair> yeah
[11:50:21] <sinclair> i guess
[11:50:23] <Foxandxss> no idea.
[11:50:23] <Dragory> jcool: yeah, it could; the request probably still shows "200 ok" even if the result is from the browser cache - I'm not too familiar with Firebug myself, but in the Chrome console it shows "(from cache)" next to the request, under "Size"
[11:50:37] <sinclair> Foxandxss: there are a couple of characteristics of this thing
[11:50:39] <Dragory> or Chrome dev tools' Network tab*
[11:50:42] <jcool> Dragory, I will try out in chrome and get back
[11:51:00] *** abailarri has quit IRC
[11:51:03] *** tomnewmann has quit IRC
[11:51:12] <sinclair> Foxandxss: the first being, and i want to be able to inject service objects (initialized in the parent) into these lazy loaded controllers
[11:51:23] <Foxandxss> I have no idea sorry
[11:51:25] *** monir has quit IRC
[11:51:30] *** tomnewmann has joined #angularjs
[11:51:32] <Foxandxss> never did lazy loading
[11:51:34] <Foxandxss> nor I want to
[11:51:37] <sinclair> Foxandxss: what are your thoughts on this? crazy, misguided, wrong?
[11:52:29] <bealtine> look at ocLazyLoad for ideas
[11:53:01] <bealtine> for "dynamic loading"
[11:53:20] <jcool> Dragory, nope. it doesnt shows from cache. It is fetching response from server only
[11:53:24] *** jillesme has quit IRC
[11:53:27] <jcool> Dragory, seems to be backend issue then
[11:53:30] *** Aerospark has joined #angularjs
[11:53:46] <Dragory> I assume you also tried refreshing a few times, jcool?
[11:53:53] <Dragory> but yeah, probably a backend issue then
[11:54:05] <jcool> Dragory, yeah. each time new request is shown
[11:54:07] <jcool> nothing frm cache
[11:54:12] <Dragory> ah okay
[11:54:37] *** jillesme_ has joined #angularjs
[11:55:13] *** mjs2600 has joined #angularjs
[11:55:14] <Dragory> jcool: to make sure, can you open the request URL in a new tab and then refresh that after changing the data? I think Chrome and Firefox should bypass the cache if you're refreshing the page itself.
[11:55:24] <Dragory> or if you're convinced it's a backend issue, ignore that :p
[11:55:41] *** jillesme_ has quit IRC
[11:55:56] *** tomnewmann has quit IRC
[11:56:07] *** Sky[x] has joined #angularjs
[11:56:13] <jcool> Dragory, I refresh url for 10s
[11:56:15] <jcool> and then it updates
[11:56:19] <Dragory> ah, alright
[11:56:21] *** tomnewmann has joined #angularjs
[11:56:22] <jcool> so all responses are updating after 10s
[11:56:26] <Dragory> yeah, probably a serverside issue then
[11:56:32] <Dragory> do you have varnish or something in front of the web server?
[11:57:12] <bd-> chrome often doesn't force reload of templates
[11:57:24] <Dragory> if you refresh the template URL itself it would, I think?
[11:57:25] *** motionman has quit IRC
[11:57:29] <bd-> you need to open dev tools and click disable cache
[11:57:30] <Dragory> as in, if you open the template in a tab
[11:57:34] <jcool> Dragory, not used. I can though learn it. what has to be done?
[11:57:34] <Dragory> yeah you can disable the cache as well, true
[11:57:43] <bd-> otherwise you'll get old templates even if shift/ctrl+f5ing
[11:57:44] *** tomnewmann has quit IRC
[11:57:46] <Dragory> varnish is a cache, so I was just checking if might be running
[11:57:55] <bd-> some chrome bug with loading html over ajax
[11:57:56] <Dragory> if it*
[11:57:56] <jcool> Dragory, nope.
[11:58:08] *** Aerospark has quit IRC
[11:58:10] *** ehalas3 has joined #angularjs
[11:58:11] <jcool> bd-, same issue is with firefox also
[11:58:23] <jcool> so both are giving me same thing and updating response after 10s
[11:58:38] <Dragory> yeah but bd-, the context here is that the request URL itself (be it a template or an API request) was opened in a tab
[11:58:45] <Dragory> in which case it's not loaded via ajax :p
[11:58:58] <bd-> oh, right#
[11:58:59] <Dragory> but yeah, you're right, sometimes it's difficult to get the cache to refresh
[11:59:18] *** tomnewmann has joined #angularjs
[12:00:10] *** tomnewma_ has joined #angularjs
[12:00:10] *** tomnewmann has quit IRC
[12:00:26] *** fairuz1 has joined #angularjs
[12:01:41] *** sk87 has joined #angularjs
[12:01:42] <jcool> Dragory, bd- thanks for input ;)
[12:01:49] *** azizur has quit IRC
[12:01:50] <jcool> I will look out for server issue
[12:01:59] <Dragory> np, hope you get it fixed
[12:02:25] <jcool> Dragory, :)
[12:02:41] *** fairuz has quit IRC
[12:03:07] *** Oddman has joined #angularjs
[12:03:08] *** jaydubya has joined #angularjs
[12:03:18] *** Marsup has quit IRC
[12:03:34] *** mtsr has joined #angularjs
[12:03:49] *** Marsup has joined #angularjs
[12:04:38] *** nemothekid has quit IRC
[12:04:40] *** sandy_ has quit IRC
[12:04:58] *** madtrax has quit IRC
[12:04:58] *** nemothekid has joined #angularjs
[12:05:30] *** Fire-Dragon-DoL has joined #angularjs
[12:05:34] *** madtrax has joined #angularjs
[12:05:36] *** Climax777 has joined #angularjs
[12:05:50] *** Left_Turn has joined #angularjs
[12:06:12] *** ahtik has quit IRC
[12:06:16] *** ProLoser has quit IRC
[12:06:47] *** nemothekid has quit IRC
[12:07:00] *** qdk has quit IRC
[12:07:20] *** faveteli_ has quit IRC
[12:08:12] *** tomnewma_ has quit IRC
[12:08:12] *** tomnewmann has joined #angularjs
[12:08:30] *** jaydubya has quit IRC
[12:09:58] *** madtrax has quit IRC
[12:10:10] <mel|> if a service is used to return an object, how do the properties of said object behave if i inject the service in several controllers and reset some properties there?
[12:10:11] *** red_horned_rihno has joined #angularjs
[12:10:31] *** ProLoser has joined #angularjs
[12:11:30] *** nemothekid has joined #angularjs
[12:11:46] *** tkimmel has joined #angularjs
[12:13:20] *** mennea has quit IRC
[12:13:26] *** basiclaser_ has joined #angularjs
[12:13:52] *** thalfeld has quit IRC
[12:13:59] *** mennea has joined #angularjs
[12:14:08] *** tomnewmann has quit IRC
[12:14:26] *** tomnewmann has joined #angularjs
[12:14:34] *** mdedetrich has joined #angularjs
[12:14:35] *** ccohn has joined #angularjs
[12:14:36] <mel|> if i do $scope.someObject = $objectFromService, will that be a new object or a reference to the object from the Service?
[12:14:43] *** yozilla has joined #angularjs
[12:14:47] *** mdedetrich has quit IRC
[12:14:49] *** yusuf__ has quit IRC
[12:15:29] <Foxandxss> same reference
[12:15:33] *** tomnewmann has quit IRC
[12:15:39] <Foxandxss> so if you change it, every controller with the same reference will see it
[12:15:52] *** tomnewmann has joined #angularjs
[12:16:20] <mel|> thx Foxandxss
[12:16:37] *** tkimmel has quit IRC
[12:16:42] *** tomnewmann has quit IRC
[12:16:52] *** Climax777 has quit IRC
[12:17:22] *** tomnewmann has joined #angularjs
[12:18:11] *** red_horned_rihno has quit IRC
[12:18:16] *** samsonite has joined #angularjs
[12:18:57] *** red_horned_rihno has joined #angularjs
[12:19:01] *** ccohn has quit IRC
[12:19:15] *** DoubleAW has joined #angularjs
[12:19:48] *** tomnewmann has quit IRC
[12:19:54] <samsonite> guys is it <div data-ng-include="'/views/sidepanel.html'"></div>
[12:19:57] <samsonite> or <div data-ng-include="'views/sidepanel.html'"></div>
[12:20:06] *** tomnewmann has joined #angularjs
[12:20:11] <Foxandxss> I believe it is the second one
[12:20:18] *** favetelinguis has joined #angularjs
[12:20:39] *** tomnewmann has quit IRC
[12:21:00] <samsonite> when i use the 1st way, it gets commented out <!-- ngInclude: '/views/sidepanel.html' -->
[12:21:17] <Foxandxss> that means it doesn't find the template I think
[12:21:35] *** tomnewmann has joined #angularjs
[12:21:39] *** favetelinguis has quit IRC
[12:21:54] *** rkjdid has joined #angularjs
[12:22:00] *** Climax777 has joined #angularjs
[12:22:01] *** favetelinguis has joined #angularjs
[12:22:16] * Foxandxss tries to use CSS, that is gonna be fun
[12:22:21] <samsonite> id like to know for sure because when i use the 2nd way without preceding slash in url when using data-ng-include, my angular login like ng-if doesn't work or scope variable isnt getting read by if
[12:22:29] <Foxandxss> I should put a twitch or something, good way to start a week
[12:22:43] *** jas-_ has joined #angularjs
[12:23:00] <Foxandxss> samsonite: uh uh, rewrite that sentence
[12:23:11] <Foxandxss> I got lost on "my angular login like ng-if doesn't work"
[12:23:18] <Foxandxss> what's "angular login"?
[12:23:21] <samsonite> oh sorry
[12:23:24] <samsonite> logic*
[12:23:56] <Foxandxss> I am not sure of the way because I cache all my templates
[12:23:59] *** DoubleAW has quit IRC
[12:24:09] <Foxandxss> and the cache has keys and those keys are the parameter I need
[12:24:20] <samsonite> how do you do that
[12:24:26] <Foxandxss> so $templateCache.put('helloworld', '<div>foo</div>');
[12:24:26] <Foxandxss> then
[12:24:36] <Foxandxss> ng-include="'helloworld'"
[12:24:47] <Foxandxss> normally you have a task in gulp / grunt
[12:24:57] <Foxandxss> which gets all your .html files and cache them automagically for you
[12:25:02] <Foxandxss> so you don't have to worry about that
[12:25:32] *** azizur has joined #angularjs
[12:26:36] *** martianboy has quit IRC
[12:27:31] *** tomnewmann has quit IRC
[12:27:46] *** tomnewmann has joined #angularjs
[12:27:47] *** Caroga is now known as Caroga_afk
[12:28:17] <samsonite> so youre basically loading all templates on first load
[12:28:36] <Foxandxss> yes
[12:28:46] <Foxandxss> so I don't have to ask the server for any new template
[12:28:47] *** red_horned_rihno has quit IRC
[12:28:52] <samsonite> i wonder if you can load half then load the other half when youre at a certain page
[12:28:54] <samsonite> to speed it up
[12:29:09] <Foxandxss> only the first load is the slow one
[12:29:10] *** red_horned_rihno has joined #angularjs
[12:29:17] <Foxandxss> then the browser will cache all your app files
[12:29:25] <Foxandxss> so the next time, it goes fast
[12:29:47] *** edy has quit IRC
[12:30:00] <samsonite> im wondering if you are at login screen half of cache is loaded and when you sign in other half is loaded to improve performance
[12:30:01] *** RangerRick has quit IRC
[12:30:01] <samsonite> would be cool
[12:30:02] *** gurke_ has joined #angularjs
[12:30:07] *** Climax777 has quit IRC
[12:30:07] <samsonite> instagram does something similar for photo uploads
[12:30:18] <Foxandxss> I guess
[12:30:21] <Foxandxss> I never worried about that
[12:30:23] *** RangerRick has joined #angularjs
[12:32:03] *** SeWo has joined #angularjs
[12:32:33] <SeWo> hello, I've got a short question, I've googled but couldn't find any concrete answers or solutions…
[12:32:39] <Evanion> We have an application with a rather large number of templates … and teh gulp created file is barely 25kb
[12:32:42] *** tarnus has joined #angularjs
[12:33:23] <SeWo> Is there a way to have a directive above of several nested ng-repeats that precompiles/interpolates the whole stuff ?
[12:33:28] <Evanion> If you compile all your template files in to a js file, you would need a really large application before it would be beneficial to split the caching
[12:34:08] *** tomnewmann has quit IRC
[12:34:16] *** foofoobar has joined #angularjs
[12:34:24] <samsonite> or if youre creating a mobile app
[12:34:30] <samsonite> it would be beneficial regardless
[12:34:34] <samsonite> if youre using phonegap
[12:34:41] *** gnrlbzik has joined #angularjs
[12:34:42] <Evanion> IN this case we are using ionic
[12:34:43] <samsonite> since phonegap startup can be slow already
[12:34:56] <SeWo> what I found so far is to generate the needed repeated html by hand in the directive without using ng-repeats just normal javascript for xyz, but I need this functionality in several places with each slightly different html, and I'd love to keep my html file and just put a directive on top of it
[12:35:24] *** red_horned_rihno has quit IRC
[12:35:36] *** tomnewmann has joined #angularjs
[12:35:52] *** jillesme has joined #angularjs
[12:35:53] <Evanion> In our case we are using ‘gulp-ng-html2js’ to cache all the template files in to templateCache on build
[12:36:13] *** red_horned_rihno has joined #angularjs
[12:36:28] <Evanion> and then we have disabled Ionics precache phase during app startup
[12:36:42] *** tomnewmann has quit IRC
[12:36:43] *** fairuz1 has quit IRC
[12:36:55] *** tomnewmann has joined #angularjs
[12:37:04] *** jlebrech has joined #angularjs
[12:37:07] *** favetelinguis has quit IRC
[12:37:10] *** JayFK has joined #angularjs
[12:37:22] *** tarnus has quit IRC
[12:37:27] *** favetelinguis has joined #angularjs
[12:37:41] *** red_horned_rihno has quit IRC
[12:38:09] *** tomnewmann has quit IRC
[12:38:16] *** tomnewmann has joined #angularjs
[12:38:25] <samsonite> so youre loading your html from the phone
[12:38:29] <samsonite> or remote server
[12:38:36] <samsonite> to cache
[12:38:55] <Evanion> All code needs to be contained in the app for it to pass app review
[12:39:10] *** gnrlbzik has quit IRC
[12:39:18] <samsonite> right just was checking
[12:39:44] *** Typher has quit IRC
[12:40:01] <Evanion> so we create a template.js file on build using the gulp module i mentioned. And when the app boots it will automatically load all the templates in to memory
[12:40:19] *** jillesme has quit IRC
[12:40:28] <Evanion> IOnic by default include all the html files as regular files, and then adds them to templateCache on boot
[12:40:47] *** Moikzz has joined #angularjs
[12:40:49] <Evanion> we have only moved that to the buildphase instead of boot phase
[12:40:55] *** wd40s has joined #angularjs
[12:41:02] <Moikzz> Hello guys...how to add background color in <ion-view> ?
[12:41:04] *** caitp has joined #angularjs
[12:41:08] <Evanion> gives us a faster boot cycle of the app
[12:41:37] *** tomnewmann has quit IRC
[12:41:45] <Evanion> moikzz: ion-view {background: #ccc;} in your css?
[12:41:47] *** rtpg has joined #angularjs
[12:42:03] *** mot0rola has joined #angularjs
[12:42:09] <Moikzz> i only want to affect in the header section not all in content
[12:42:27] <Evanion> then add a class or something to the tag and target that instead
[12:42:32] *** tomnewmann has joined #angularjs
[12:42:34] <Evanion> is just regular css
[12:42:52] <Evanion> think of it as a glorified div
[12:43:01] <Moikzz> i tried adding class but it only change the content
[12:43:13] <Moikzz> ill try it again
[12:43:15] *** dob_ has joined #angularjs
[12:43:17] *** mylord has joined #angularjs
[12:43:22] *** mennea has quit IRC
[12:43:34] *** qdk has joined #angularjs
[12:43:59] *** mennea has joined #angularjs
[12:44:38] *** marcjs has joined #angularjs
[12:44:39] <Evanion> ok, do you have any attribute on the tag?
[12:45:08] <Evanion> for instance a ‘name’ attribute, in that case you can target the attribute:
[12:45:18] *** tomnewmann has quit IRC
[12:45:24] <Evanion> [name=‘header’] { background:#ccc;}
[12:45:28] *** tomnewmann has joined #angularjs
[12:45:55] <Moikzz> only title in ion-view
[12:46:02] <Evanion> ok
[12:46:04] *** wd40s has quit IRC
[12:46:17] <samsonite> is this the best caching lib
[12:46:22] <samsonite> or angular-cache
[12:46:25] <Moikzz> but inside <ion-view> i have <search bar> also
[12:46:27] *** mot0rola has quit IRC
[12:46:51] <Moikzz> i dont know im just new in angular
[12:46:54] *** caitp has quit IRC
[12:47:00] *** spaceonline has quit IRC
[12:47:08] <Moikzz> im still learning
[12:47:15] *** Sebastien-L has joined #angularjs
[12:47:22] <Evanion> Hmm … We use ‘gulp-ng-html2js’ samsonite, but I will review that package
[12:47:39] <Moikzz> what can it do?
[12:48:07] <samsonite> has more stars
[12:48:16] <samsonite> than html2js one just a note
[12:48:26] *** Siyfion_ has joined #angularjs
[12:48:58] <Moikzz> oh ok
[12:49:01] *** ehalas3 has quit IRC
[12:49:31] <Evanion> I tend to focus on how often they get commits, and how active the community around the package is
[12:49:52] <samsonite> same here
[12:50:00] <samsonite> looks like it has more of that too
[12:50:05] <Evanion> many stars doesn’t mean they are active, or responsive to user feedback
[12:50:10] *** mmealling has quit IRC
[12:50:25] <Evanion> a package with few but dedicated users can some times be better
[12:50:41] <Evanion> all packages start somewhere ;)
[12:50:44] *** mmealling has joined #angularjs
[12:50:55] <Moikzz> yeah right
[12:50:59] <samsonite> yep
[12:51:05] <samsonite> btw if you dont mind
[12:51:11] <samsonite> what kinda apps ya guys working on
[12:51:15] <samsonite> personal or company?
[12:51:23] <Moikzz> im working on a company
[12:51:27] <samsonite> sweet
[12:51:29] <samsonite> startup?
[12:51:30] *** borvoh has joined #angularjs
[12:51:32] *** tomnewmann has quit IRC
[12:51:35] <Evanion> yea
[12:51:50] <Moikzz> im still new in angular but its not that hard to understand
[12:51:56] <samsonite> no its easy to understand
[12:51:59] <samsonite> just a concept
[12:51:59] *** mjs2600 has quit IRC
[12:52:08] <Moikzz> mine..not startup
[12:52:12] *** Siyfion has quit IRC
[12:52:17] *** adpirz has quit IRC
[12:52:21] <Moikzz> yes its easy
[12:52:24] *** sk87 has quit IRC
[12:52:51] *** cornerma1 has joined #angularjs
[12:52:57] <samsonite> what backend you guys using
[12:52:59] <samsonite> php?
[12:53:06] *** tomnewmann has joined #angularjs
[12:53:14] <Evanion> We used to use Laravel, but switched to node.js
[12:53:19] *** cornerman has quit IRC
[12:53:22] <Moikzz> yes
[12:53:25] <samsonite> node.js allllll dayy
[12:53:35] <samsonite> php is cool too
[12:53:36] *** cornerma1 is now known as cornerman
[12:53:47] *** sk87 has joined #angularjs
[12:53:47] <Moikzz> what's the difference between node.js and php?
[12:53:52] *** tomnewmann has quit IRC
[12:53:56] <samsonite> node is non blocking
[12:54:06] <samsonite> meaning your threads dont get blocked
[12:54:07] <bd-> php can be nonblocking too, to be fair
[12:54:11] *** tomnewmann has joined #angularjs
[12:54:12] <samsonite> yeah
[12:54:13] <samsonite> it can be
[12:54:19] <samsonite> but performance wouldnt be as good as node
[12:54:19] <bd-> most people don't use it like that though
[12:54:21] <samsonite> for io
[12:54:25] <bd-> it's actually better than node for io
[12:54:32] <bd-> a lot, actually
[12:54:39] *** favetelinguis has quit IRC
[12:54:50] <samsonite> many have their comparison reasons
[12:54:56] <samsonite> but i can see that
[12:54:56] <Moikzz> i dont know about node.js but i think i also have it when i install angular
[12:55:04] <frobs> samsonite, i am used php, ruby and java for backend, and i think that in the future i will use node
[12:55:11] <Foxandxss> Evanion: how so?
[12:55:11] <Moikzz> i used CI also
[12:55:14] <frobs> have used*
[12:55:15] <samsonite> im using node for everything now
[12:55:40] <Moikzz> ohh node that good?
[12:55:43] <samsonite> yeah
[12:55:49] <samsonite> its js + c++
[12:55:58] <Moikzz> ill try to convert it then
[12:56:02] *** Aerospark has joined #angularjs
[12:56:06] <Foxandxss> I don't like node
[12:56:09] <Moikzz> ohh not good in c++
[12:56:10] <Foxandxss> don't ask me why
[12:56:13] <Foxandxss> but I don't enjoy it
[12:56:15] <Moikzz> im not good at c++
[12:56:20] <samsonite> no need for c++
[12:56:22] <samsonite> its all js
[12:56:31] <Moikzz> ohh okay haha
[12:56:38] <samsonite> low level code is in c++
[12:56:41] <samsonite> high level you write in js
[12:56:48] <Moikzz> ok gonna finish what im doing....ciao for now
[12:56:51] *** zyla has quit IRC
[12:56:54] <samsonite> tc
[12:56:56] <Evanion> foxandxss: we wanted to focus on one language, and since the frontend was js, node was natural, and we got requirements that needed websockets etc … and while there are stuff to do it in php, we decied node was a better fit
[12:57:01] *** zyla has joined #angularjs
[12:57:15] <samsonite> are you trying to scale websockets?
[12:57:19] <Evanion> since we have a mongoDB based DB, node made better sence as well
[12:57:23] <Foxandxss> Evanion: that makes sense
[12:57:37] <Foxandxss> the focus in one language is a good idea
[12:57:43] *** dimetron has joined #angularjs
[12:57:44] <Foxandxss> but I don't know, I don't enjoy the node programming
[12:57:46] <samsonite> yeah i see node being the future
[12:57:48] *** mtsr has quit IRC
[12:57:50] <Evanion> mongoDB is better supported in the node community then in laravel/php
[12:57:55] <Foxandxss> maybe it is just me and I havent try it hard enough
[12:57:59] <samsonite> yeah
[12:57:59] <frobs> you can use a c++ library with node samsonite? this give me a good surprise...is usable or a hell as use c++ + java with jni?
[12:58:00] <Foxandxss> Evanion: express?
[12:58:04] <samsonite> yeah
[12:58:05] <Evanion> yea
[12:58:05] <bd-> i found mongo a bit nicer to use in php than node
[12:58:06] <samsonite> you can use c++
[12:58:08] <samsonite> with node
[12:58:15] <Evanion> we used sails.js, but are now running pure express
[12:58:20] <samsonite> you can write a plugin in cpp
[12:58:31] <Foxandxss> Evanion: and don't you feel that express is hell of boilerplate?
[12:58:42] <samsonite> express can be anything
[12:58:54] <samsonite> its just general middleware
[12:58:56] <samsonite> with routing
[12:58:56] <Evanion> we only use express for your REST BE
[12:59:01] <Evanion> our*
[12:59:12] *** enaqxx has quit IRC
[12:59:16] <samsonite> i was doing MVC
[12:59:17] <samsonite> with express
[12:59:23] <samsonite> and now im using SOA
[12:59:28] <samsonite> service oriented architecture
[12:59:30] <samsonite> where my api
[12:59:34] <samsonite> is a seperate service
[12:59:35] <samsonite> ;)
[12:59:37] *** xastey has joined #angularjs
[12:59:41] <Evanion> Our angular FE is served by nginx
[12:59:41] *** TinkerTyper has quit IRC
[12:59:51] <Foxandxss> Evanion: yeah, but still, a lot of code needed for express
[13:00:07] <Evanion> *shrug* I only do frontend
[13:00:21] <samsonite> you can have it be served by amazon cdn clouds
[13:00:25] <samsonite> for faster performance
[13:00:31] <Evanion> mm
[13:00:39] *** Aerospark has quit IRC
[13:00:46] <Foxandxss> Evanion: ah, I see
[13:00:48] <Evanion> need support for SSL certs and stuff
[13:01:00] <Foxandxss> I try node time to time, to see if it fits my needs
[13:01:04] *** dnewkerk has quit IRC
[13:01:04] <samsonite> r u using socket.io?
[13:01:15] <samsonite> scaling that thing can be a pain in the butt
[13:01:31] <samsonite> but thats what pubnub does
[13:01:32] <Evanion> so if we want we can serve the app form CDN, and only serve the index.html file from our own servers
[13:01:35] *** caitp has joined #angularjs
[13:01:41] <Evanion> from*
[13:01:46] <samsonite> yeah
[13:02:06] <Evanion> No we don’t run our own socket.io service, we use third party
[13:02:24] *** RedOrangeZ has joined #angularjs
[13:02:43] *** drej has joined #angularjs
[13:02:44] <samsonite> im glad you dont
[13:02:44] *** zemanel has joined #angularjs
[13:02:45] <samsonite> haha
[13:02:57] <samsonite> 3rd party is best way to go for that
[13:03:07] <Evanion> We don’t run our own mail servers either … we use Mandrill
[13:03:27] *** macobo has joined #angularjs
[13:03:40] <samsonite> mandrill is good
[13:03:48] <Evanion> I also run my own hosting company .. I know the headace mailservers are ...
[13:03:57] <Evanion> with sender rep etc
[13:04:03] <thomastuts> is there an easy way to add properties to an isolate scope of an existing directive? i'm trying to extend angular-ui-bootstrap's datepicker directive with an extra function on the scope but it's not working
[13:04:19] *** enaqxx has joined #angularjs
[13:04:22] <thomastuts> i'm using $provide.decorator to add it to the directive's scope definition
[13:04:27] <thomastuts> but it doesn't seem to be doing anything
[13:04:54] *** xastey- has joined #angularjs
[13:05:44] *** Aswebb has quit IRC
[13:05:47] <Foxandxss> thomastuts: I think you need to provide an entire scope object
[13:05:50] <Foxandxss> with your new feature
[13:06:35] *** TinkerTyper has joined #angularjs
[13:07:30] *** mtsr has joined #angularjs
[13:07:40] *** tomnewmann has quit IRC
[13:07:50] *** mot0rola has joined #angularjs
[13:07:55] *** favetelinguis has joined #angularjs
[13:08:03] *** tomnewmann has joined #angularjs
[13:08:25] *** spatialbrew has joined #angularjs
[13:08:59] *** mjs2600 has joined #angularjs
[13:09:16] *** nemothekid has quit IRC
[13:09:18] *** xastey has quit IRC
[13:09:25] *** Rejected has joined #angularjs
[13:09:47] *** faveteli_ has joined #angularjs
[13:11:31] <mmealling> Yep, ended up using $window.location.search and regex-ing out the parameter I needed... its a month long promotion so I can live with hacky for that long.
[13:11:32] *** milka has quit IRC
[13:12:08] *** mot0rola has quit IRC
[13:13:00] <thomastuts> Foxandxss: doesn't seem to be working like it should, it's adding it to the scope definition with that decorator but it doesn't seem to get added to the directive's scope when it's compiled
[13:13:15] <Foxandxss> show code
[13:13:24] *** mennea has quit IRC
[13:13:36] *** favetelinguis has quit IRC
[13:14:01] *** mennea has joined #angularjs
[13:14:09] *** rburns has quit IRC
[13:14:36] *** Typher has joined #angularjs
[13:15:13] *** mylord has quit IRC
[13:15:23] *** ccohn has joined #angularjs
[13:15:31] <Foxandxss> thomastuts: maybe assigning a new scope?
[13:15:36] <Foxandxss> directive.scope = { ... };
[13:15:38] <Foxandxss> with old + new
[13:15:54] <Foxandxss> not sure if that will work
[13:17:34] <mel|> in an app build with yeoman/generator-angular using the build in controller-per-view scheme, how should i deal with 'wrapping-html' in my index.html that i want to for example hide on condition?
[13:17:36] *** corehook has quit IRC
[13:17:47] <thomastuts> weird, i can get it to work in a plunker
[13:17:48] <mel|> built in
[13:17:55] <thomastuts> using a basic directive
[13:18:02] <thomastuts> i think i might be adding it to the wrong directive's scpoe
[13:18:07] *** samsonite has quit IRC
[13:18:25] *** caitp has quit IRC
[13:18:42] <mel|> should i add a variable to the $rootscope? should i define a 'parent' controller?
[13:19:01] *** tomnewmann has quit IRC
[13:19:18] *** tomnewmann has joined #angularjs
[13:19:55] *** ccohn has quit IRC
[13:20:45] <sacho> either would work
[13:21:05] <sacho> but since you'd need "something" to add that variable to rootScope(which would probably be a parent controller..)
[13:21:13] *** oncenull has joined #angularjs
[13:21:33] *** tomnewmann has quit IRC
[13:21:39] *** oncenull has quit IRC
[13:21:40] *** onc3null has joined #angularjs
[13:21:49] *** tomnewmann has joined #angularjs
[13:21:53] *** mattweg has quit IRC
[13:22:32] *** Sjimi has joined #angularjs
[13:22:34] *** azizur has quit IRC
[13:23:15] *** caitp has joined #angularjs
[13:23:26] *** cacts|wtf has quit IRC
[13:23:52] <mel|> sacho, it's about a "logged in" state
[13:24:39] *** crakrjak_respawn has quit IRC
[13:25:09] *** tomnewmann has quit IRC
[13:25:52] *** Typher has quit IRC
[13:25:58] *** sk87 has quit IRC
[13:26:29] *** Milkweed has joined #angularjs
[13:26:39] *** whitebook has joined #angularjs
[13:26:42] <mel|> so the controllers in which i could set the value are already present
[13:26:45] *** mylord has joined #angularjs
[13:27:15] *** FunnyLookinHat has joined #angularjs
[13:27:27] *** dnull has quit IRC
[13:27:36] *** eamonn has quit IRC
[13:28:47] <frobs> hi, i have a doubt, i am using a ui.router states architecture for a form with tabs, each tab is a controller, my doubt is, exist a event similar to $destroy but will be fired when i enter in the controller instead of when it is destroyed, i tried $viewContentLoaded but this is fired two times one in the parent state and other in the child state
[13:29:16] *** drej has quit IRC
[13:30:08] *** milka has joined #angularjs
[13:30:45] *** damain has joined #angularjs
[13:31:28] *** Moikzz has quit IRC
[13:34:10] *** whitebook has quit IRC
[13:34:15] *** nesquerra has joined #angularjs
[13:34:16] *** dharmit has quit IRC
[13:34:55] *** wd40s has joined #angularjs
[13:34:57] *** Nijikokun has quit IRC
[13:35:07] *** balr0g has joined #angularjs
[13:35:12] *** milka_ has joined #angularjs
[13:35:27] *** gnrlbzik has joined #angularjs
[13:35:36] *** jlebrech has quit IRC
[13:35:56] *** milka has quit IRC
[13:36:02] *** ludkiller has quit IRC
[13:36:31] *** dan2k3k4 has quit IRC
[13:36:44] *** phzon has quit IRC
[13:37:14] *** ludkiller has joined #angularjs
[13:37:20] *** monir has joined #angularjs
[13:38:18] *** Txandy has joined #angularjs
[13:39:18] *** abailarri has joined #angularjs
[13:39:32] *** phzon has joined #angularjs
[13:39:48] *** Cydmax has quit IRC
[13:40:04] *** phzon has quit IRC
[13:40:12] *** corehook has joined #angularjs
[13:40:21] *** gnrlbzik has quit IRC
[13:42:24] <abailarri> Hello. I'm sending a json array to one view throught the controller. In the first json array there another array. In the view I iterate the first array with "data in books". How is posible to iterate inside this for the second array?
[13:42:27] *** milka_ is now known as milka
[13:42:39] *** dan2k3k4 has joined #angularjs
[13:42:44] *** loverajoel has joined #angularjs
[13:43:14] *** Cydmax has joined #angularjs
[13:43:26] *** mennea has quit IRC
[13:43:58] *** mennea has joined #angularjs
[13:44:03] *** mtsr has quit IRC
[13:45:05] *** smola1022 has joined #angularjs
[13:45:42] *** azizur has joined #angularjs
[13:45:57] *** shpoont__ has joined #angularjs
[13:45:57] *** shpoont_ has quit IRC
[13:46:41] <soomro786> Is ionic made for using your own presentational code or does it imply youll use its css components
[13:46:57] *** JayFK has quit IRC
[13:47:27] *** mylord has quit IRC
[13:47:28] <soomro786> Cuz i would wanna use ionic but not the ui it comes with as i have my own
[13:47:48] <soomro786> Maybe defeats the purpose of ionic idk
[13:48:46] *** Asiajey has quit IRC
[13:49:05] *** Cydmax has quit IRC
[13:49:10] *** sinclair has quit IRC
[13:49:45] *** smola1022 has quit IRC
[13:50:15] *** Asiajey has joined #angularjs
[13:50:15] *** Asiajey has joined #angularjs
[13:51:25] *** Cydmax has joined #angularjs
[13:51:38] *** jillesme has joined #angularjs
[13:51:55] *** aendrew has joined #angularjs
[13:52:07] *** jaydubya has joined #angularjs
[13:52:20] *** jaydubya has joined #angularjs
[13:52:31] *** tomnewmann has joined #angularjs
[13:52:39] *** lsiv568 has joined #angularjs
[13:54:14] *** aditya_vy has joined #angularjs
[13:54:28] *** aendrew has quit IRC
[13:54:38] *** eburcat has joined #angularjs
[13:54:43] *** akrikos has joined #angularjs
[13:55:07] *** tomnewmann has quit IRC
[13:56:22] *** jillesme has quit IRC
[13:56:43] *** AtomicCookie has joined #angularjs
[13:56:59] *** tomnewma_ has joined #angularjs
[13:57:07] <Evanion> Ionic is mainly a collection of directives and css/html framework
[13:57:28] *** advy has quit IRC
[13:57:38] <Evanion> some of their directives rely on the use of their CSS
[13:57:48] *** adibhanna has quit IRC
[13:57:57] *** corehook has quit IRC
[13:57:59] <Evanion> Why wouldn’t you want to use their presentational CSS?
[13:58:00] *** beckyconning_ has quit IRC
[13:58:08] *** Schtive has joined #angularjs
[13:58:21] <abailarri> Anyone know how to use ng.repeat without creating additional HTML elements? I have array with 2 words, and I want this result: <p>word1,word2</p> not <p>word1</p><p>word2</p>
[13:58:24] <Foxandxss> to create an application using a different css I guess
[13:58:31] <Foxandxss> to not have all the ionic apps looking the same
[13:58:44] *** Latros-OS has joined #angularjs
[13:58:45] <Evanion> Well It’s not that hard to change the styling in Ionic
[13:58:57] *** ProLoser has joined #angularjs
[13:58:58] <Evanion> they use Sass
[13:59:09] *** azizur has quit IRC
[13:59:23] <Evanion> the default styling is very neutral
[13:59:39] *** eamonn has joined #angularjs
[13:59:44] *** Caroga_afk is now known as Caroga
[14:00:11] *** patric100e99 has joined #angularjs
[14:00:26] *** tarnus has joined #angularjs
[14:00:40] *** tkimmel has joined #angularjs
[14:00:50] *** jlebrech has joined #angularjs
[14:01:22] *** jillesme has joined #angularjs
[14:01:26] *** akrikos has quit IRC
[14:01:37] *** Typher has joined #angularjs
[14:02:00] *** nesquerra has quit IRC
[14:02:01] <Foxandxss> yeah
[14:02:07] *** rburns has joined #angularjs
[14:02:17] *** azizur has joined #angularjs
[14:02:25] *** akrikos has joined #angularjs
[14:02:51] *** tomzx`afk is now known as tomzx
[14:03:19] *** rtpg has quit IRC
[14:03:30] *** ProLoser has quit IRC
[14:03:36] *** cesarkawakami has joined #angularjs
[14:04:04] *** azizur8 has joined #angularjs
[14:05:12] *** phzon has joined #angularjs
[14:05:13] *** patric100e99 has quit IRC
[14:05:20] *** sqwk has joined #angularjs
[14:05:37] *** tkimmel has quit IRC
[14:05:56] *** scythe__ has joined #angularjs
[14:05:57] <sqwk> Does ngTouch include an inbetween state? Sort of like a halfdragged image carousel when half of both images is visible?
[14:07:00] *** azizur has quit IRC
[14:07:51] *** crakrjak_respawn has joined #angularjs
[14:08:00] *** jillesme has quit IRC
[14:08:11] *** waverider has joined #angularjs
[14:08:17] *** Wizek has joined #angularjs
[14:08:34] *** mylord has joined #angularjs
[14:08:39] <caitp> sqwk, ngTouch manages simple interactions, it would be up to you to define an "in between" state
[14:08:59] *** cakirke has quit IRC
[14:09:12] <caitp> waverider, yes, it works for anything that uses ngModel
[14:09:24] <caitp> specifically, uses ngModel and invokes the ngModel API
[14:09:25] *** Sjimi has quit IRC
[14:10:01] *** monir has quit IRC
[14:10:39] <waverider> caitp, thanks. Any corner cases when it wouldn't work? I just cann't get it work on couple of <select>-s. And it actually doesn't work on an input either, though I have model set: ng-model="signup_form.city"
[14:10:41] *** Squarepy has joined #angularjs
[14:11:12] <caitp> it won't call view change listeners if the view value doesn't change
[14:11:19] <caitp> or model value
[14:11:21] <caitp> one of those
[14:11:35] <caitp> tbh forms used to make sense but they've gotten really fucked up and nobody really knows how they work anymore
[14:11:39] *** greengriminal has joined #angularjs
[14:12:17] <waverider> caitp, I'm changing the value of the input by filling in some text, <input type="text" class="form-control" id="id_city" name="city" placeholder="City" required ng-model="signup_form.city" ng-change="alert(100);">
[14:12:32] *** aendrew has joined #angularjs
[14:13:28] *** mennea has quit IRC
[14:13:56] <caitp> beats me, i'd have to see it running to tell you whats wrong
[14:14:06] *** mennea has joined #angularjs
[14:14:54] <numenor> Hello , I am using locationChangeStart to detect route changes and perform some actions on press of back button in browser, but If the app is loaded in a new tab and back button is pressed, The page navigates to empty tab...
[14:14:59] <waverider> i think is related to using the directive's scope in a form that is defined in directive's html template. I'll move logic and bound model to new form controller
[14:15:11] <numenor> Please assist ...
[14:15:12] *** SeWo has quit IRC
[14:15:14] *** tomnewmann has joined #angularjs
[14:15:23] *** tomnewma_ has quit IRC
[14:15:26] *** phzon has quit IRC
[14:15:45] <caitp> it shouldn't be related to anything in scope
[14:15:47] *** motionman has joined #angularjs
[14:15:53] *** mbildner has joined #angularjs
[14:16:07] *** ccohn has joined #angularjs
[14:16:12] <caitp> eg, if you have <input ng-model="..." ng-change="...">, the input, model and change attributes should all work together
[14:16:16] <caitp> unless you have some other directive
[14:16:22] <caitp> on the same element
[14:17:06] <waverider> I've another problem that might be related: I don't have access from directive to a child form's scope
[14:17:11] *** cesarkawakami has quit IRC
[14:17:30] <caitp> why not just make a reproduction so people can actually help you? nobody can really do the psychic debugging thing
[14:17:39] *** moritzs has joined #angularjs
[14:17:45] *** cesarkawakami has joined #angularjs
[14:17:55] *** mbildner has quit IRC
[14:17:56] *** poofmooter has joined #angularjs
[14:17:58] *** Nizumzen has quit IRC
[14:18:14] *** sqwk has quit IRC
[14:18:19] <waverider> caitp, will do
[14:18:54] *** corehook has joined #angularjs
[14:18:58] *** moritzs has quit IRC
[14:19:01] <crnd> I've been fighting with directives, forms & validation for the whole day too :P
[14:19:03] *** eBureau has quit IRC
[14:19:05] *** Sebastien-L has quit IRC
[14:19:45] <Foxandxss> caitp: I like that psychic debugging thing, maybe I use that in the future
[14:20:15] *** frankblizzar has joined #angularjs
[14:20:22] *** mbildner has joined #angularjs
[14:20:23] *** ccohn has quit IRC
[14:20:24] *** davemerwin has joined #angularjs
[14:20:26] <caitp> hah
[14:21:47] *** _dizzy has joined #angularjs
[14:22:08] *** cesarkawakami has quit IRC
[14:22:20] *** cesarkawakami has joined #angularjs
[14:22:42] *** tomnewmann has quit IRC
[14:22:56] *** tomnewmann has joined #angularjs
[14:23:05] *** cesarkawakami has joined #angularjs
[14:23:26] *** corehook has quit IRC
[14:24:49] *** ahtik has joined #angularjs
[14:24:52] *** davemerwin has quit IRC
[14:25:14] *** IvailoStoianov has joined #angularjs
[14:25:37] *** robbie-away is now known as robbiethegeek
[14:26:44] *** tomnewmann has quit IRC
[14:26:51] *** tomnewmann has joined #angularjs
[14:26:52] *** LossFor has joined #angularjs
[14:26:54] *** tristanp has joined #angularjs
[14:27:29] *** Cydmax has quit IRC
[14:27:32] *** poolside has joined #angularjs
[14:28:00] *** elrabin has joined #angularjs
[14:28:06] *** tomnewmann has quit IRC
[14:28:14] *** tomnewmann has joined #angularjs
[14:28:22] *** worellana has joined #angularjs
[14:29:31] *** tomnewmann has quit IRC
[14:29:31] *** hswolff has quit IRC
[14:29:49] *** tkimmel has joined #angularjs
[14:29:51] *** shpoont___ has joined #angularjs
[14:29:57] *** annlewis has joined #angularjs
[14:30:03] *** tomnewmann has joined #angularjs
[14:30:20] *** spaceonline has joined #angularjs
[14:30:24] *** robbiethegeek is now known as robbie-away
[14:30:37] *** derrick13 has joined #angularjs
[14:30:57] *** phzon has joined #angularjs
[14:31:02] *** hswolff has joined #angularjs
[14:31:15] *** shpoont__ has quit IRC
[14:31:35] *** crakrjak_respawn has quit IRC
[14:31:54] *** beardyname has joined #angularjs
[14:33:04] *** cesarkawakami has joined #angularjs
[14:34:16] *** Fishy has quit IRC
[14:35:13] *** cesarkawakami has quit IRC
[14:35:19] *** cesarkawakami2 has joined #angularjs
[14:35:20] <caitp> good question
[14:35:41] *** mtsr has joined #angularjs
[14:36:10] *** gnrlbzik has joined #angularjs
[14:36:48] *** ccohn has joined #angularjs
[14:36:58] <caitp> you should file a bug, that doesn't make a lot of sense
[14:37:06] *** p14n has joined #angularjs
[14:38:39] *** AngularUI has joined #angularjs
[14:38:39]
<AngularUI> [bootstrap] ddomingues opened pull request #2945: Autofocus corrects the second time that the modal is open (master...autofocus-corrects-second-time-modal-open) http://git.io/NdIX6g
[14:38:39] *** AngularUI has left #angularjs
[14:38:39] *** g3funk is now known as braidn
[14:38:48] *** rtpg has joined #angularjs
[14:39:29] <crnd> wave
[14:39:29] *** elrabin has quit IRC
[14:39:36] *** m8 has joined #angularjs
[14:39:38] *** ccohn has quit IRC
[14:39:42] *** mbildner has quit IRC
[14:40:00] <caitp> well, there's that
[14:40:12] <caitp> maybe it was in 1.0.8 that we supported invoking globals
[14:40:53] *** ccohn has joined #angularjs
[14:40:54] *** gnrlbzik has quit IRC
[14:41:00] <caitp> huh, not even
[14:41:04] <caitp> i guess you just can't =)
[14:41:07] *** phzon has quit IRC
[14:41:10] *** adpirz has joined #angularjs
[14:41:52] *** danecando has quit IRC
[14:42:37] *** phzon has joined #angularjs
[14:42:38] *** sk87 has joined #angularjs
[14:42:45] *** Sebastien-L has joined #angularjs
[14:43:22] <waverider> caitp, ok... thanks :)
[14:43:30] *** mennea has quit IRC
[14:44:04] *** mennea has joined #angularjs
[14:44:22] *** ahtik has quit IRC
[14:44:33] *** gnrlbzik has joined #angularjs
[14:44:35] *** elrabin has joined #angularjs
[14:44:50] *** gnrlbzik has quit IRC
[14:45:17] *** adpirz has quit IRC
[14:45:33] *** KostyaChoporov has quit IRC
[14:45:36] *** eamonn has joined #angularjs
[14:46:44] *** rchavik has quit IRC
[14:47:04] *** cbeacock has joined #angularjs
[14:47:04] *** fedenunez has joined #angularjs
[14:47:24] *** simplyshipley has joined #angularjs
[14:47:47] *** m8 has quit IRC
[14:47:54] *** Sebastien-L has quit IRC
[14:48:03] *** m8 has joined #angularjs
[14:48:46] *** Cydmax has joined #angularjs
[14:48:54] *** dc_ has quit IRC
[14:49:20] *** robbie-away is now known as robbiethegeek
[14:49:50] *** arthas has joined #angularjs
[14:50:02] *** arthas has joined #angularjs
[14:50:31] *** ciwolsey has joined #angularjs
[14:50:41] *** corehook has joined #angularjs
[14:50:50] *** Sebastien-L has joined #angularjs
[14:51:01] *** xjiujiu has joined #angularjs
[14:51:03] *** tomnewmann has quit IRC
[14:51:36] *** walden|afk is now known as walden
[14:51:38] *** tomnewmann has joined #angularjs
[14:51:40] *** aendrew has quit IRC
[14:52:05] *** Ghosty1 has joined #angularjs
[14:52:09] *** larsgk has quit IRC
[14:52:27] *** spaceonline has quit IRC
[14:53:09] *** tomnewmann has quit IRC
[14:53:31] *** che_ has joined #angularjs
[14:53:45] *** tomnewmann has joined #angularjs
[14:53:53] *** munzmania has joined #angularjs
[14:53:55] *** che_ is now known as Guest81992
[14:54:24] <Ghosty1> Hi, i need help to make a filter using date. I have multiple events with start date and want to display only events with start date > date given in an input by a user
[14:54:33] *** livingstn has joined #angularjs
[14:54:53] *** ajk27 has quit IRC
[14:54:58] <Guest81992> does one knows how to make a response from a server golbal so allmy controller can use
[14:55:14] *** ajk27 has joined #angularjs
[14:55:43] *** whitebook has joined #angularjs
[14:55:55] *** cboden has joined #angularjs
[14:56:04] <abailarri> Hello. I implemented angularJS with laravel but when I go to a page that works with angular, all links (routes) works with angular. There is a way to prevent this?
[14:56:58] *** jillesme has joined #angularjs
[14:56:58] *** arthas has quit IRC
[14:57:13] *** elrabin has quit IRC
[14:57:19] <Guest81992> i want to make rsponse from server availbale to all my controllers without having to call the $http each time i have to reun the code
[14:57:38] *** Aerospark has joined #angularjs
[14:57:43] *** arthas has joined #angularjs
[14:58:49] *** fairuz has joined #angularjs
[14:58:51] *** tomnewmann has quit IRC
[14:58:57] *** eamonn has quit IRC
[14:59:20] *** faveteli_ has quit IRC
[14:59:39] *** tomnewmann has joined #angularjs
[15:00:36] *** dc_ has joined #angularjs
[15:00:49] <Guest81992> tomnewann please any idea on how to stroe a response from a server in a global variable so i only have to make the call once
[15:00:52] <phzon> hello
[15:01:01] <phzon> I'm trying to do some SEO for my site
[15:01:04] *** m8 has quit IRC
[15:01:06] *** jillesme has quit IRC
[15:01:37] <phzon> is there something that crawls the entire site automatically with phantom and makes snapshots?
[15:01:48] *** sojic has joined #angularjs
[15:01:58] <Guest81992> please any idea on how to stroe a response from a server in a global variable so i only have to make the call once
[15:02:06] *** tomnewmann has quit IRC
[15:02:07] *** m8 has joined #angularjs
[15:02:25] *** Guest81992 has quit IRC
[15:02:29] *** Aerospark has quit IRC
[15:02:31] *** tomnewmann has joined #angularjs
[15:02:56]
<sojic> Hi folks... anybody to point me (give me a hint) how to "update" values from in one factory from another... here is what I have: http://pastebin.com/hL1L8AD6
[15:03:01] *** ajk27 has quit IRC
[15:03:21] *** ajk27 has joined #angularjs
[15:04:17] <sojic> can I use "liveStats" factory into "mountpoints" factory (or vice versa), and in controller to load only one factory?
[15:04:46] <sojic> Or what is best practice for my requirements?
[15:05:45] *** tomnewmann has quit IRC
[15:05:49] *** mogaj has quit IRC
[15:06:00] *** tomnewmann has joined #angularjs
[15:06:13] *** shinnya has joined #angularjs
[15:06:45] *** mven has quit IRC
[15:07:07] *** monir has joined #angularjs
[15:08:02] *** moafoca has joined #angularjs
[15:08:02] *** tomnewmann has quit IRC
[15:08:04] *** imehesz has joined #angularjs
[15:08:12] *** tomnewmann has joined #angularjs
[15:09:25] *** arthas has quit IRC
[15:09:38] *** arthas has joined #angularjs
[15:09:39] *** arthas has joined #angularjs
[15:10:00] *** poolside has quit IRC
[15:10:11] *** ehalas has joined #angularjs
[15:10:23] <sojic> anybody?
[15:10:29] *** prosper_ has joined #angularjs
[15:10:58] *** tomnewmann has quit IRC
[15:11:24] *** tomnewmann has joined #angularjs
[15:11:27] *** FIFOd[a] has joined #angularjs
[15:12:56] *** bostonaholic has joined #angularjs
[15:12:58] *** Guest79229 has joined #angularjs
[15:13:10] *** Guest79229 is now known as Nytrm
[15:13:55] <Nytrm> Hi, anyone knows how to fix ng-style not setting a background-image when its value is undefined or null ?
[15:14:52] *** whiteboo_ has joined #angularjs
[15:14:52] <Nytrm> currently using ng-style="{ 'background-image': 'url(user.icon)' }"
[15:15:13] *** knownasilya has joined #angularjs
[15:15:16] <Nytrm> when user.icon is not defined it still creates a request.\
[15:15:41] <Nytrm> This is inside a ngRepeat by the way
[15:16:07] *** mel| has quit IRC
[15:16:10] *** eBureau has joined #angularjs
[15:16:42] <Evanion> nytrm, you can use an or operand ( || ) to define a fallback URL
[15:17:03] *** whitebook has quit IRC
[15:17:29] *** prosper_ has quit IRC
[15:18:09] *** robbiethegeek is now known as robbie-away
[15:18:15] *** sojic has quit IRC
[15:18:24] *** Aerospark has joined #angularjs
[15:18:31] <Evanion> Though you would ofc wrap both in a url()
[15:18:33] *** elrabin has joined #angularjs
[15:18:41] *** kuadrosx has joined #angularjs
[15:18:59] *** lsiv568 has quit IRC
[15:19:00] *** danecando has joined #angularjs
[15:19:34] *** Ghosty1 has left #angularjs
[15:19:52] *** bmac has joined #angularjs
[15:20:00] *** tomnewmann has quit IRC
[15:20:09] *** juanpablo_ has joined #angularjs
[15:20:10] *** araujo has joined #angularjs
[15:20:12] *** FunnyLookinHat has quit IRC
[15:20:33] *** CHC has joined #angularjs
[15:20:44] *** lsiv568 has joined #angularjs
[15:21:35] *** tomnewmann has joined #angularjs
[15:21:57] *** DrShoggoth has joined #angularjs
[15:22:24] *** cacts has joined #angularjs
[15:22:31] *** deanclkclk has joined #angularjs
[15:23:31] *** SeWo has joined #angularjs
[15:23:54] *** tomnewmann has quit IRC
[15:24:10] *** tomnewmann has joined #angularjs
[15:24:47] *** mennea has quit IRC
[15:25:25] *** mennea has joined #angularjs
[15:26:16] *** jstroem has quit IRC
[15:26:32] *** ahtik has joined #angularjs
[15:26:45] *** jstroem has joined #angularjs
[15:27:34] *** Cydmax has quit IRC
[15:27:34] *** tomnewmann has quit IRC
[15:27:38] *** tfennelly has quit IRC
[15:27:47] *** tomnewmann has joined #angularjs
[15:27:50] *** aesinv`w has quit IRC
[15:28:37] *** numenor has quit IRC
[15:28:49] *** diosney has joined #angularjs
[15:29:04] *** tomnewmann has quit IRC
[15:29:09] *** tomnewma_ has joined #angularjs
[15:29:51] *** tomnewma_ has quit IRC
[15:29:55] *** Caroga is now known as Caroga_afk
[15:30:41] *** klaut has joined #angularjs
[15:30:52] *** tomnewmann has joined #angularjs
[15:30:57] *** fedenunez has quit IRC
[15:31:26] *** tomnewmann has quit IRC
[15:31:37] *** tristanp has quit IRC
[15:31:51] *** tomnewmann has joined #angularjs
[15:32:01] *** Siecje has joined #angularjs
[15:32:41] *** crakrjak_respawn has joined #angularjs
[15:32:46] *** fedenunez has joined #angularjs
[15:32:53] *** mven has joined #angularjs
[15:33:07] *** Efrem has joined #angularjs
[15:33:09] *** tomnewmann has quit IRC
[15:33:22] *** tristanp has joined #angularjs
[15:33:59] *** bengillies has quit IRC
[15:34:15] *** bengillies has joined #angularjs
[15:34:21] <Evanion> Anyone know if Ionic ships with their own animation implementation, or if I should add angular-animate?
[15:35:25] <digisky> Not sure but I think its just css...
[15:36:10] *** munzmania has quit IRC
[15:36:32] *** darrin has joined #angularjs
[15:36:40] *** tomnewma_ has joined #angularjs
[15:36:45] <Foxandxss> Evanion: seems like angular-animate is bundled inside it
[15:36:54] <caitp> angular-material has its own animation system and doesn't seem to use ngAnimate
[15:36:54] <Evanion> ok
[15:36:56] <caitp> so... there's that
[15:37:15] *** KostyaChoporov has joined #angularjs
[15:37:15] *** tomnewma_ has quit IRC
[15:37:19] <Evanion> yea, but they wont integrate material in Ionic before 1.0 I think they said
[15:37:25] <caitp> and thank goodness, because material's looks way simpler than ngAnimate
[15:37:30] <caitp> good on them for not writing terrible code
[15:37:41] <Evanion> they said something about it on ngEurope
[15:37:43] *** tomnewmann has joined #angularjs
[15:37:53] *** BillCriswell has joined #angularjs
[15:37:55] <Foxandxss> wait, got lost, he said ionic, not angular-material :P
[15:38:08] *** stylemistake has quit IRC
[15:38:17] <Foxandxss> Evanion: and I am interested tho in the material - ionic relationship
[15:38:21] <caitp> i'm just saying "google's css + angular project doesn't use ngAnimate, why should ionic"
[15:38:21] *** tomnewmann has quit IRC
[15:38:22] <Foxandxss> they said something on ngEurope?
[15:38:30] <Evanion> yea
[15:38:35] <Foxandxss> where?
[15:38:44] <Foxandxss> I saw the ionic talk (andy one)
[15:38:48] <caitp> marcy and 2 of the toher material people talked about it abit
[15:38:49] <Evanion> there are quite a few ionic developers in the material team
[15:38:49] *** ASUChander has joined #angularjs
[15:38:51] *** munzmania has joined #angularjs
[15:39:03] <Foxandxss> I know
[15:39:05] <Foxandxss> andy is one of them
[15:39:13] *** jstroem has quit IRC
[15:39:29] *** monir has quit IRC
[15:39:32] *** tomnewma_ has joined #angularjs
[15:39:32] *** shackleford has joined #angularjs
[15:39:35] *** jallch has joined #angularjs
[15:39:39] *** jstroem has joined #angularjs
[15:39:42] *** jeffszusz has joined #angularjs
[15:39:45] <Foxandxss> ah, missed that
[15:40:11] <Foxandxss> when I joined ui-bootstrap, we had a good hangout session, then andy left for ionic & angular material
[15:40:11] <Foxandxss> :P
[15:40:13] <Evanion> I watched it last night … so I don’t remember exactly where
[15:40:23] <Foxandxss> and I saw the code last night, much better than ui-bootstrap
[15:40:35] <Foxandxss> don't worry, worth the watch
[15:40:54] <Evanion> Yea I’m not a fan of bootstrap
[15:40:56] <caitp> much better than bootstrap, much better than ngAnimate
[15:40:58] <caitp> but mcuh newer too
[15:41:01] *** Aerospark has quit IRC
[15:41:05] <caitp> once it's a few years old it will probably be gross too
[15:41:15] <Foxandxss> I mean in code only Evanion
[15:41:20] <Foxandxss> directives are much better structured
[15:41:23] <Foxandxss> with better ideas
[15:41:33] *** Aerospark has joined #angularjs
[15:41:34] <Evanion> It it wasn’t for material comming, I would invest time in learning famo.us
[15:41:35] <Foxandxss> tests are a little bit weirdo, but I respect their approach
[15:41:42] *** eburcat has quit IRC
[15:41:43] *** nycdevgirl has joined #angularjs
[15:41:44] *** niklasmodess has quit IRC
[15:41:49] <Foxandxss> I never understood what this famous thing is
[15:41:55] <Foxandxss> is another framework for cordova?
[15:41:59] <caitp> nah
[15:42:03] <Evanion> no
[15:42:07] <caitp> it's some virtual DOM crazy thing
[15:42:22] <caitp> webgl layout and stuff
[15:42:32] <Evanion> it’s a rendering and animation framework that uses a separate DOM for better performande
[15:42:37] <Evanion> performance*
[15:42:38] *** worellana has left #angularjs
[15:42:40] <Foxandxss> I see
[15:42:42] *** mkc has joined #angularjs
[15:42:45] *** jstroem_ has joined #angularjs
[15:42:46] <Evanion> Its really sexy
[15:42:51] <Foxandxss> and it is used on its own? or with something else?
[15:42:57] *** jstroem has quit IRC
[15:42:59] <Evanion> they had a presentation on ngEurope as well
[15:43:04] <caitp> it is very interesting, but it's a bit crazy
[15:43:37] *** eburcat has joined #angularjs
[15:43:57] *** shackleford has quit IRC
[15:44:01] <sacho> just like react
[15:44:08] *** whiteboo_ has quit IRC
[15:44:15] <sacho> virtual dom isn't that bad
[15:44:24] <Foxandxss> I see
[15:44:25] *** niklasmodess has joined #angularjs
[15:44:26] <sacho> any attempts to limit your interaction with the dom are good (:
[15:44:29] *** fedenunez has quit IRC
[15:44:34] *** azizur8 has quit IRC
[15:44:53] *** eburcat has quit IRC
[15:45:11] *** stylemistake has joined #angularjs
[15:45:20] <caitp> having a real dom and a fake dom is like an exponential increase in complexity though, unfortunately
[15:45:49] *** Cydmax has joined #angularjs
[15:45:52] *** mbildner has joined #angularjs
[15:45:56] *** shackleford has joined #angularjs
[15:45:58] <sacho> that's what the library is for!
[15:46:06] <caitp> implementing a layout engine in js ontop of another layout engine -> exponential increase in complexity
[15:46:19] <sacho> you don't have to implement a layout engine
[15:46:20] <setec> caitp fake dom is same complexicity
[15:46:23] *** shackleford has quit IRC
[15:46:29] <caitp> no, it's really not
[15:46:33] <caitp> the two live in tandum
[15:46:36] <caitp> tandem
[15:46:41] <sacho> the dom isn't a layout engine either
[15:46:44] <caitp> their states interact
[15:46:58] *** shackleford has joined #angularjs
[15:47:00] *** vbabiy has joined #angularjs
[15:47:04] <caitp> the DOM is a pretty important part of layout in the browser
[15:47:06] *** michaelSharpe has joined #angularjs
[15:47:07] <setec> check jsdom-sync it's renders angular app into virtual dom and syncs it to the browser
[15:47:13] <sacho> but it's not a layout engine
[15:47:17] <setec> very simple
[15:47:21] <sacho> so making a fake dom doesn't mean you also need to write a layout engine
[15:47:26] <caitp> layout and the DOM are tied
[15:47:35] *** nickBek has joined #angularjs
[15:47:48] <setec> if you want left/top/width/height then yes
[15:47:54] <setec> but otherwise it's same
[15:47:55] <caitp> no, it's really not that simple at all
[15:48:04] <caitp> we pick different rendering strategies depending on the content of a node
[15:48:05] *** ProLoser has joined #angularjs
[15:48:11] <caitp> it gets crazily complicated
[15:48:12] *** fedenunez has joined #angularjs
[15:48:15] <sacho> we? angular?
[15:48:17] *** whitebook has joined #angularjs
[15:48:17] <sacho> or chrome?
[15:48:20] <caitp> we as in browsers
[15:48:22] <setec> robots in fact dont care about layout
[15:48:26] <sacho> absolutely, caitp
[15:48:30] <sacho> but that's not what fake doms are about
[15:48:30] <caitp> my background is in browser dev, let me tell you, this shit is not that simple
[15:48:47] *** tomnewma_ has quit IRC
[15:48:53] *** cboden has quit IRC
[15:48:53] <caitp> now, when you have all of that under the hood
[15:48:57] *** tomnewmann has joined #angularjs
[15:48:58] <caitp> and then you put another layer of it on top
[15:49:05] <sacho> ok, maybe famo.us are doing that
[15:49:07] <caitp> you're making it ^2 more complicated
[15:49:09] <sacho> now THAT'S crazy :)
[15:49:15] <setec> how to stop angular-ui router from blocking manual url hash change?
[15:49:28] <caitp> because you have the regular DOM and regular layout engine doing things, you can't really turn them off
[15:49:43] <caitp> and then you have other stuff on top of it, which will have to work in tandem with the browser
[15:49:49] <sacho> yeah you're right, the famo.us people are nuts
[15:50:05] <caitp> i haven't read their codebase, i'm hoping they're opting to not tie too closely
[15:50:13] <caitp> because it would be the only way to do it
[15:50:16] <caitp> but it's crazy regardless, really
[15:50:17] <sacho> but that doesn't mean you can't implement a virtual dom on top of the real dom, without writing a rendering engine that compiles their own elements to a dom
[15:50:32] <sacho> their=your
[15:50:49] <beardyname> This may be a really retarded quesiton but i have to ask. From the stuff at code-school and also the tutorial on the angular site, later when we start with routing and templates that the content is structured as site.com/app/#/routeparam
[15:50:54] <caitp> you certainly can, and you can see performance boosts from this due to not having to context switch back to native, unoptimizable code
[15:50:57] <beardyname> what is the /app/ part doing there?
[15:51:10] *** leex has joined #angularjs
[15:51:23] <sacho> depends on your server
[15:51:31] *** lsiv568 has quit IRC
[15:51:35] *** bengillies has quit IRC
[15:51:39] <sacho> usually that would mean that your index page is under webroot/app
[15:51:53] *** michaelSharpe has quit IRC
[15:51:53] *** bengillies has joined #angularjs
[15:52:04] <beardyname> that seems really strange to me
[15:52:10] <sacho> why?
[15:52:19] *** ProLoser has quit IRC
[15:52:23] <beardyname> Since i want to use webroot/ and make that find index.html and be done with it
[15:52:33] <sacho> well, do that, then
[15:52:38] <beardyname> (have to admit I'm new to web stuff)
[15:52:52] *** ferrao has joined #angularjs
[15:53:02] *** whiteboo_ has joined #angularjs
[15:53:05] <beardyname> Well I'm trying, but when i tried to move all of the stuff to a template based setup I can't get the damn thing to load
[15:53:09] <leex> Hi, I have 2 datepickers (angular-ui datepickers) and I would like to let the user select a start and an end date, so the first datepicker should be able to pick any date >= today (which works fine, with min-date) and now I would like the second datepicker to have the selected date of the first as min-date, but I cant get that to work, any ideas?
[15:53:10] *** tfennelly has joined #angularjs
[15:53:12] <sacho> caitp, actually, after reading about famo.us, it reminds me of flex :P
[15:53:49] *** whitebook has quit IRC
[15:54:38] *** IvailoStoianov_ has joined #angularjs
[15:54:47] *** JayFK has joined #angularjs
[15:54:51] *** mennea has quit IRC
[15:55:00] *** xjiujiu has quit IRC
[15:55:06] *** tomnewmann has quit IRC
[15:55:06] <sacho> "Browser layout engines were designed in the 1990s to render text documents with links."
[15:55:09] <sacho> Lol.
[15:55:10] *** kuadrosx has quit IRC
[15:55:13] *** tomnewma_ has joined #angularjs
[15:55:25] <sacho> the marketing is real.
[15:55:26] *** mennea has joined #angularjs
[15:55:50] *** kuadrosx has joined #angularjs
[15:56:20] *** mubi has joined #angularjs
[15:56:32] *** IvailoStoianov has quit IRC
[15:56:43] *** IvailoStoianov_ is now known as IvailoStoianov
[15:56:48] *** tomnewma_ has quit IRC
[15:56:58] *** teeray has joined #angularjs
[15:57:12] *** carlosmantilla has joined #angularjs
[15:57:28] *** lsiv568 has joined #angularjs
[15:57:30] *** cboden has joined #angularjs
[15:57:40] *** patrickarlt has joined #angularjs
[15:57:48] *** chrisbirk has joined #angularjs
[15:58:10] *** dllama has joined #angularjs
[15:58:13] <Foxandxss> I guess it brings more performance on mobile
[15:58:21] <sacho> cool.
[15:58:25] <Foxandxss> but not so sure if having to learn yet another syntax is a good idea
[15:58:35] <Evanion> mm
[15:58:45] <sacho> it's not really a syntax
[15:58:50] <Evanion> well hopefully that will settle down once we get Material
[15:59:08] <Foxandxss> I don't care about learning, but I am afraid that there is one moment where we can't reuse angular stuff on ionic
[15:59:12] <sacho> the documentation is...lol :)
[15:59:16] <Foxandxss> maybe that is correct as today, I don't have ionic experience
[15:59:53] <Evanion> Ionic documentation tends to be abit … open...
[15:59:55] *** FunnyLookinHat has joined #angularjs
[16:00:03] *** FunnyLookinHat has joined #angularjs
[16:00:07] <Evanion> atleast once you get past the basics
[16:00:08] <Foxandxss> lol, you can speak clearly
[16:00:22] <Foxandxss> there are no kids here
[16:00:23] *** krawek has joined #angularjs
[16:00:29] *** michaelSharpe has joined #angularjs
[16:01:01] *** jillesme has joined #angularjs
[16:01:03] <Evanion> well it’s a beta .. so I understand them
[16:01:04] *** jr3 has joined #angularjs
[16:01:07] <Nytrm> thanks Evanion, i just switched to a custom directive instead
[16:01:21] <Evanion> They are doing a good job keeping it just up to date
[16:01:25] <Evanion> no problem
[16:01:51] <Nytrm> its dynamic images so i was unable to use just one type of placeholder.
[16:02:04] <Foxandxss> Evanion: docs is always the hardest part
[16:02:11] <Evanion> oh yea
[16:02:27] *** tristanp has quit IRC
[16:02:32] <Evanion> I gave upp on trying to document our API
[16:02:37] *** icfantv has joined #angularjs
[16:02:50] <Evanion> It will have to wait untill it settles down
[16:02:50] *** gurke_ has quit IRC
[16:02:59] *** crakrjak_respawn has quit IRC
[16:02:59] <Foxandxss> I like the docs
[16:03:01] *** FIFOd[a] has quit IRC
[16:03:02] <Foxandxss> they are fun to do
[16:03:09] *** jasonp has joined #angularjs
[16:03:12] *** krawek has quit IRC
[16:03:24] <Evanion> yea, But I would like them to be a bit more in depth
[16:03:34] *** josh-k_ has quit IRC
[16:04:02] *** josh-k has joined #angularjs
[16:04:05] <Evanion> for instance .. I have been looking for something concerning animations for the past 30 min...
[16:04:05] *** jdcasey has joined #angularjs
[16:04:10] <Foxandxss> yes, that is always an issue
[16:04:13] *** tomnewma_ has joined #angularjs
[16:04:16] <Foxandxss> the issue I see on ionic doc is the organization
[16:04:25] <Foxandxss> weird choice of organization they have
[16:04:44] *** tomnewma_ has quit IRC
[16:04:46] *** jallch has quit IRC
[16:04:59] *** LossFor has quit IRC
[16:05:02] *** tomnewma_ has joined #angularjs
[16:06:07] *** FIFOd[a] has joined #angularjs
[16:06:31] *** encryptd_fractl has joined #angularjs
[16:06:36] *** gnrlbzik has joined #angularjs
[16:06:50] *** bostonaholic has quit IRC
[16:06:58] <Evanion> well I can learn that …
[16:07:17] *** ferrao has quit IRC
[16:07:24] *** soee_ has joined #angularjs
[16:07:25] <Evanion> Since I’m stting with it all day … every day .. I tend to learn where to find stuff
[16:07:36] *** braidn has quit IRC
[16:07:47] *** krawek has joined #angularjs
[16:07:49] *** ferrao has joined #angularjs
[16:07:56] *** kentcdodds has joined #angularjs
[16:08:03] *** g3funk has joined #angularjs
[16:08:04] *** tomnewma_ has quit IRC
[16:08:47] *** soee has quit IRC
[16:08:48] *** ferrao has joined #angularjs
[16:08:56] *** m8 has quit IRC
[16:08:56] *** josh-k has quit IRC
[16:09:29] <Foxandxss> one of my goals of I end doing some Ionic is to collaborate with docs
[16:09:38] <Foxandxss> but not sure of that atm
[16:09:42] *** soee_ is now known as soee
[16:09:51] *** AndreasLutro has quit IRC
[16:10:00] *** edy has joined #angularjs
[16:10:02] *** edy has joined #angularjs
[16:10:10] *** _dizzy has quit IRC
[16:10:11] *** aditya_vy has quit IRC
[16:10:16] *** Bade has joined #angularjs
[16:10:24] *** favetelinguis has joined #angularjs
[16:10:33] *** g3funk is now known as braidn
[16:10:56] *** crakrjak_respawn has joined #angularjs
[16:11:09] *** BahamutWC|Work has quit IRC
[16:11:32] *** gnrlbzik has quit IRC
[16:11:44] *** junmin has quit IRC
[16:12:03] *** mtsr has quit IRC
[16:12:45] *** tomnewmann has joined #angularjs
[16:12:51] *** mary5030 has joined #angularjs
[16:12:53] *** mubi has left #angularjs
[16:13:00] *** mtsr has joined #angularjs
[16:13:02] *** d10n-work has joined #angularjs
[16:13:13] *** azizur has joined #angularjs
[16:13:24] *** Nytrm has quit IRC
[16:13:25] *** enigmarm has joined #angularjs
[16:13:46] *** josh3336 has joined #angularjs
[16:14:36] *** shinnya has quit IRC
[16:14:53] *** TommyO has quit IRC
[16:14:54] *** tomnewmann has quit IRC
[16:14:55] *** ehalas has quit IRC
[16:15:02] *** drej|work has quit IRC
[16:15:02] *** drej|work has joined #angularjs
[16:15:09] *** tomnewmann has joined #angularjs
[16:15:09] *** Fishy__ has joined #angularjs
[16:15:13] *** ehalas has joined #angularjs
[16:15:30] *** Bade has quit IRC
[16:15:44] *** oste has joined #angularjs
[16:17:04] *** crakrjak_respawn has quit IRC
[16:17:31] *** josh3336_ has joined #angularjs
[16:17:38] *** kirfu has joined #angularjs
[16:18:12] *** josh3336 has quit IRC
[16:18:12] *** josh3336_ is now known as josh3336
[16:18:33] *** crakrjak_respawn has joined #angularjs
[16:19:03] *** kirfu1 has joined #angularjs
[16:19:10] *** setec has quit IRC
[16:19:11] *** kirfu has quit IRC
[16:20:33] *** cacts|works has joined #angularjs
[16:20:48] *** ajk27 has quit IRC
[16:20:51] *** abailarri has quit IRC
[16:20:52] *** pootpoot has joined #angularjs
[16:21:09] *** gnrlbzik has joined #angularjs
[16:21:09] *** ajk27 has joined #angularjs
[16:21:11] *** davemerwin has joined #angularjs
[16:21:29] *** m_rc has joined #angularjs
[16:22:40] *** mylord has quit IRC
[16:22:43] *** favetelinguis has quit IRC
[16:23:12] *** mylord has joined #angularjs
[16:23:27] *** tomnewma_ has joined #angularjs
[16:23:28] *** tomnewmann has quit IRC
[16:23:31] *** Milkweed has quit IRC
[16:23:47] <dannyc> can anyone explain to me how i can use the 'controller as' syntax in a directive's controller? how does that work with isolate scope?
[16:23:58] *** nuizzy has joined #angularjs
[16:24:22] *** marcjs has quit IRC
[16:24:51] *** mennea has quit IRC
[16:25:10] <caitp> dannyc: what are you asking exactly?
[16:25:29] *** mylord has quit IRC
[16:25:29] *** mennea has joined #angularjs
[16:25:40] *** FIFOd[a] has quit IRC
[16:25:46] <caitp> `controllerAs: "someLabel"` will put "someLabel" in scope, as a reference to the controller --- if it's an isolate scope directive, it will be in the isolate scope
[16:25:50] *** mel| has joined #angularjs
[16:25:56] *** davemerwin has quit IRC
[16:26:20] <caitp> if bindToController is true, isolate scope properties will go in the controller instead of the scope, too
[16:26:21] *** tomnewma_ has quit IRC
[16:26:23] *** tomnewmann has joined #angularjs
[16:26:53] <dannyc> caitp: hey. so, let's say i have this { scope: { active: '@' }, controllerAs: 'vm' ... }, how do i reference scope.active in my directive's controller? vm.active?
[16:26:58] *** corehook has quit IRC
[16:27:03] *** thomastuts has quit IRC
[16:27:08] *** stephen has joined #angularjs
[16:27:08] *** lsiv568 has quit IRC
[16:27:13] *** tomzx is now known as tomzx`afk
[16:27:21] <dannyc> caitp: if that makes any sense whatsoever
[16:27:26] <stephen> Hola awesome people
[16:27:28] <caitp> in your directive's controller it would just be $scope.active
[16:27:30] *** cacts|works has quit IRC
[16:27:39] <caitp> unless bindToController is true, in which case it would be this.active
[16:27:42] *** AlexZan has joined #angularjs
[16:27:52] <ioudas> Can anyone tell me why a ng-change for a drop down list doesnt work? What am I doing wrong?
[16:27:56] *** moafoca has quit IRC
[16:27:57] *** corehook has joined #angularjs
[16:28:48] <m_rc> ioudas: you're not sharing any code
[16:28:58] *** s00pcan has joined #angularjs
[16:29:09] <stephen> pastebin or something please :-)
[16:29:10] <dannyc> caitp: ah, bindToController. i think that's my missing piece. thanks, i'll take a look at that.
[16:29:22] *** cacts has quit IRC
[16:29:29] *** Oddman has quit IRC
[16:29:34] *** ehalas2 has joined #angularjs
[16:29:49] *** ehalas has quit IRC
[16:29:54] <caitp> i'm not sure why everyone is using `vm` for controllerAs, for like everything
[16:29:59] <caitp> who started this trend?
[16:30:02] <caitp> and why?
[16:30:15] <m_rc> caitp: other than angular-app, are there open source apps out there that demonstrate ways of organizing and writing really clean code?
[16:30:23] *** adpirz has joined #angularjs
[16:30:38] *** garbanzio has joined #angularjs
[16:30:43] <caitp> one projects idea of clean is going to be another projects mess
[16:30:52] <caitp> you need to pick and choose the ojne you like
[16:31:00] <caitp> angular core's codebase is a disaster, don't emulate it
[16:31:14] *** jstroem_ has quit IRC
[16:31:23] *** rtpg has quit IRC
[16:31:34] <m_rc> ah yes point taken. but it's always nice seeing how other ppl structure apps-- borrowing from the good ideas
[16:31:35] *** prosper_ has joined #angularjs
[16:31:38] *** jstroem has joined #angularjs
[16:31:40] *** crakrjak_respawn has quit IRC
[16:31:52] <oniijin> caitp is so wise
[16:32:09] <sacho> caitp, JohnPapa started that trend
[16:32:22] <sacho> I think it's an abbreviation of view model
[16:32:37] *** corehook has quit IRC
[16:32:42] *** deanclkclk has quit IRC
[16:32:53] *** krawek has quit IRC
[16:33:01] *** bostonaholic has joined #angularjs
[16:33:06] *** naneau has joined #angularjs
[16:33:13] *** kuadrosx has quit IRC
[16:33:59] *** bjtitus has joined #angularjs
[16:34:26] *** FIFOd[a] has joined #angularjs
[16:34:29] *** deranged_user has quit IRC
[16:34:46] *** bjtitus has quit IRC
[16:34:52] *** adpirz has quit IRC
[16:34:55] <Evanion> He structures an app based on features
[16:35:21] <Evanion> you also have a common section for global services etc that are not related to a specific feature
[16:35:23]
<jacuqesdancona> Hi guys, I need your advice, http://plnkr.co/edit/hQJhunV0XEiTcz3V9zvb?p=preview is a small example of how our forms thing is built. Each form type, (scope.forms) can be thousands of lines of json and although a lot of perfomance problems already fixed, I'd like to go the extra mile. Could you guys shoot some ideas (even if they're small or tiny little things) to help with
[16:35:23] <jacuqesdancona> performance?
[16:36:19] <sweeper> wait *people* are filling out these forms? D:
[16:36:24] *** LossFor has joined #angularjs
[16:36:33] *** deanclkclk_ has joined #angularjs
[16:36:55] <jacuqesdancona> yes
[16:37:24] <jacuqesdancona> sweeper: a lot of stuff about appearance, eye color, skin color, height, weight,
[16:37:31] <jacuqesdancona> dress size, etc etc
[16:37:32] <Evanion> wow … ‘thousand lines of json’ doesn’t really make you think it will convert...
[16:37:33] <m_rc> Evanion: yeah nice boilerplate but does he share code from any app he's built?
[16:37:36] *** bjtitus has joined #angularjs
[16:38:14] <Evanion> You can ask him … hes online, but might be AFK
[16:38:27] *** jrist has joined #angularjs
[16:38:28] <jacuqesdancona> Evanion: there's also tons of conditions, like if user === female, show bra size
[16:38:49] <jacuqesdancona> but if or not it's converting would be our problem :)
[16:38:56] <Evanion> mm, it just sounded like a 3 mile long form to full out in one go :)
[16:38:58] <dllama> can anyone suggest how to sort a weekdays array by actual weekday when the day is the key? [monday: {}, tuesday: {}, wednedsay{} ] etc… in my form i have a daily schedule that gets added to a form when that day of the week is toggled to true, but in a weird order when teh days get added
[16:38:59] *** bjtitus has quit IRC
[16:39:13] *** JosefDe has joined #angularjs
[16:39:18] <jacuqesdancona> Evanion: It pretty much is
[16:39:23] *** bjtitus has joined #angularjs
[16:39:31] <jacuqesdancona> it's fancy, but it works
[16:39:53] <jacuqesdancona> it has to do with how more info, the more we can match that person
[16:40:02] <jacuqesdancona> not a dating site, but a maching system like it
[16:40:04] <oniijin> dllama Date().getDay() should get u numerics
[16:40:13] <JosefDe> Hi guys. If I do "track by jsonObjArray.id| customFilter" then I get this error: "Error: error:unpr. Unknown Provider". Why?
[16:40:17] <jacuqesdancona> Any ideas?
[16:40:26] <JosefDe> JosefDe: That's happening inside a ng-repeat
[16:40:40] <JosefDe> If I only do ""track by jsonObjArray.id", then there is no dupe-problem.
[16:40:45] <sweeper> jacuqesdancona: I would explore common code refactoring approaches, not in the actual code, but in the flow of the form filling, that would break the form into modular pieces that are more manageable from a performance side
[16:40:58] <jacuqesdancona> sweeper: already dit that
[16:41:12] <jacuqesdancona> did*
[16:41:17] <sweeper> but it's still thousands of lines of json?
[16:41:24] <sweeper> per *piece*?
[16:41:27] <jacuqesdancona> heh yes, the size is not the problem
[16:41:29] <jacuqesdancona> per form type
[16:41:33] <jacuqesdancona> like a profile
[16:41:45] *** amirn has quit IRC
[16:42:20] <jacuqesdancona> If you'd have some kind of dating profile with our forms it also wou'dve gotten huge
[16:43:19] <jacuqesdancona> My question would be more in the form of, should I just push the input types to the templateCache, or should I skip the ng-repeats and build a directive on a 'page'' in that form?
[16:44:28] <JosefDe> could anyone help?
[16:44:38] *** tomnewmann has quit IRC
[16:44:40] *** bjtitus has quit IRC
[16:44:55] <jacuqesdancona> For example, when $compiling 20 inputs after each other, it could lead to a blocking ui
[16:45:41] <dllama> oniijin: im going to need to gist/plunk my code and/or screen shot to better explain
[16:45:47] *** tomnewmann has joined #angularjs
[16:45:48] *** mmealling has quit IRC
[16:45:49] <dllama> i get what you mean, but im dealing purely with string values here,
[16:45:52] <dllama> and its kind of by design
[16:45:54] <sweeper> jacuqesdancona: I'd keep the ng-repeats, and not present more than 5 inputs at a time, break it into "Clothing Preferences Pt 1", "Pt 2" if you have to
[16:46:02] <oniijin> dllama should still work
[16:46:02] <dllama> just need to reboot as my skitch is refusing to sync righ tnow
[16:46:41] <sweeper> jacuqesdancona: would be nice from a user side to where you have "progress" through a form and don't lose the whole thing if you save in smaller increments
[16:47:16]
<jaydubya> I have a plunker with a custom directive (this is only my third custom directive so be gentle) and I am stuck ... I don't know how to access and assign the value from the isolate scope to the linker function .... http://plnkr.co/edit/NNlr6Bkm09PaidGjVicd?p=preview
[16:47:27] *** junmin has joined #angularjs
[16:47:28] *** enaqxx has quit IRC
[16:47:40] <dllama> the lowest seciton is the days part
[16:48:22] *** deanclkclk_ has quit IRC
[16:48:31] <dllama> so if day is true, it adds the schedule for that specific day, so i'm not understanding how using hte data object would actually sort it, unless you mean to convert each key to date object and sort the entire array by that
[16:48:35] <dllama> which i think is what u meant
[16:48:42] *** tomnewmann has quit IRC
[16:48:50] *** eamonn has joined #angularjs
[16:49:00] *** tomnewmann has joined #angularjs
[16:49:03] *** dan2k3k4 has quit IRC
[16:49:16] <jacuqesdancona> sweeper: but the problem is you'd want to keep inputs that are related to appearance in a single page, having appearance pt1, appearance pt2 isn't really that great for usability
[16:49:30] <jacuqesdancona> page is tab in my ui
[16:49:38] <jacuqesdancona> eh, collapsable*
[16:49:49] *** Ch4rAss has quit IRC
[16:49:55] *** Oddman has joined #angularjs
[16:49:58] <sweeper> jacuqesdancona: you could collapse, yea
[16:50:19] <dllama> brb reboot
[16:50:20] *** tomnewmann has quit IRC
[16:50:25] <sweeper> but I'd treat 10 inputs as a hard limit
[16:50:27] *** dllama has quit IRC
[16:50:33] *** tomnewmann has joined #angularjs
[16:50:44] <jacuqesdancona> At the moment, when the collapse is clicked to be opened, an event is fired which compiles the inputs in that collapsable
[16:50:46] *** bjtitus has joined #angularjs
[16:50:52] *** conan_the_destro has joined #angularjs
[16:50:54] <jacuqesdancona> it's a great performance boost compared to just compiling everything
[16:50:59] <jacuqesdancona> But still a noticable lag
[16:51:47] <jacuqesdancona> I think the main problem is the $compile, which binds and runs a digest cycle, so even with 10 inputs being created it's 10 bindings $digest cycles after each other
[16:51:52] *** bjtitus has quit IRC
[16:51:52] <jacuqesdancona> which is pretty much a blocked ui
[16:52:28] <jacuqesdancona> a noticable blocked ui*
[16:53:35] <sacho> what
[16:53:43] *** SeWo has quit IRC
[16:53:44] *** jstroem has quit IRC
[16:53:58] <jacuqesdancona> Or am I wrong?
[16:54:09] *** jstroem has joined #angularjs
[16:54:34] *** josh3336 has quit IRC
[16:54:40] *** DoubleAW has joined #angularjs
[16:54:42] *** damain has quit IRC
[16:54:44] *** bjtitus has joined #angularjs
[16:54:54] *** mennea has quit IRC
[16:55:15] *** dllama has joined #angularjs
[16:55:37] *** mennea has joined #angularjs
[16:55:42] *** iffraff_at_work has joined #angularjs
[16:55:51] *** bjtitus has quit IRC
[16:55:53] *** testowy has joined #angularjs
[16:55:55] <sweeper> I wouldn't think 10 inputs would be noticeable on a modern machine really :v
[16:56:02] *** carlosmantilla has quit IRC
[16:56:12] *** bjtitus has joined #angularjs
[16:56:39] *** testowy has quit IRC
[16:56:47] *** bjtitus has quit IRC
[16:56:47] *** josh3336 has joined #angularjs
[16:57:09] *** bjtitus has joined #angularjs
[16:57:40] <oniijin> didnt look at your code, but sorting array of day strings is pretty straightfwd
[16:58:19] <dllama> my code is just a json dump of the objects
[16:58:30] <dllama> i didn't actually add very much code there
[16:58:31] *** optikalmouse has joined #angularjs
[16:59:16] *** jillesme has quit IRC
[16:59:44] *** hiptobecubic has joined #angularjs
[16:59:45] *** tristanp has joined #angularjs
[16:59:46] *** bkuberek has joined #angularjs
[17:00:08] *** tomzx`afk is now known as tomzx
[17:00:22] <jacuqesdancona> meh, it is
[17:00:29] <oniijin> basically sorting by some arbitrarily set array
[17:00:35] *** poolside has joined #angularjs
[17:00:40] <JosefDe> Hey guys how can I check whether a string is valid. Somehow angularjs tells me that an empty string is a valid string
[17:00:53] *** iribarne has joined #angularjs
[17:00:56] *** tomnewmann has quit IRC
[17:00:59] <JosefDe> oh no sorry
[17:01:02] <JosefDe> I did something wrong :)
[17:01:20] *** tomnewmann has joined #angularjs
[17:01:30] *** BahamutWC|Work has joined #angularjs
[17:01:30] *** falk_netstyler has quit IRC
[17:01:38] <dllama> oniijin: did you mean for me to plunk it or was there supposed to be something in that plunk? its just an empty new one
[17:01:57] *** ggrzybek has quit IRC
[17:02:13] *** foofoobar has quit IRC
[17:02:38] <oniijin> did i forget to save
[17:02:38] <oniijin> lol
[17:02:59] *** bkuberek_ has joined #angularjs
[17:03:08] <dllama> possibly :)
[17:03:42] *** dmack has joined #angularjs
[17:03:46] *** joelwallis has joined #angularjs
[17:03:49] *** m_rc has quit IRC
[17:03:50] *** dmack has quit IRC
[17:03:53] *** deanclkclk_ has joined #angularjs
[17:04:03] <dllama> i think htat might work for me, thank you! :)
[17:04:10] *** dmack has joined #angularjs
[17:05:13] *** spazbite has quit IRC
[17:05:42] *** xavia has joined #angularjs
[17:05:42] *** tomnewmann has quit IRC
[17:05:49] *** tomnewmann has joined #angularjs
[17:06:21] *** bkuberek has quit IRC
[17:06:57] *** Evanion has quit IRC
[17:07:00] *** monir has joined #angularjs
[17:07:07] <binjured> what's the most "angular" way to do middleware? for instance, if a user logs in and they don't have an organization set up, i want to forward them to the URL to do that. maybe an "orgService" injected into the root app controller?
[17:07:51] *** krawek has joined #angularjs
[17:07:57] *** KostyaChoporov has quit IRC
[17:09:03] *** zz_night-owl is now known as night-owl
[17:09:13] *** marshall has joined #angularjs
[17:09:15] *** JosefDe has quit IRC
[17:09:24] <sweeper> anyone in dallas want a few weeks of angular consulting work?
[17:10:35] *** prosper_ has quit IRC
[17:10:43] *** ccohn has quit IRC
[17:11:20] *** ccohn has joined #angularjs
[17:11:44] *** ali has quit IRC
[17:11:47] *** krawek has quit IRC
[17:12:23] *** SeeThruHead has quit IRC
[17:12:23] *** sqwk has joined #angularjs
[17:13:08] *** whatever has joined #angularjs
[17:13:17] <whatever> I'm getting this error; Error: Missing filters list
[17:13:20] <whatever> how do I debug it?
[17:13:29] <sacho> look at its stack trace
[17:13:31] *** whatever is now known as Guest53570
[17:13:40] *** gurke_ has joined #angularjs
[17:13:43] *** Guest53570 has quit IRC
[17:13:44] *** cesarkawakami2 has quit IRC
[17:13:50] *** StryKaizer has quit IRC
[17:13:54] *** TommyO has joined #angularjs
[17:14:05] <icfantv> so here's something weird. my object reference is correct before i pass off a field value to a service call that returns a promise (just a field value, not the whole object). when the promise returns JavaScript closure guarantees that the object is still available and is the same one before the service call. but in the promise .then(), i'm seeing a new field called "value" with the value of an array of size zero.
[17:14:13] <icfantv> and i have no idea how it's getting there.
[17:15:01] *** whitebook has joined #angularjs
[17:15:02] *** cesarkawakami has joined #angularjs
[17:15:23] *** ccohn has quit IRC
[17:15:26] <icfantv> any ideas?
[17:15:38] <sacho> well, something between your service call and the resolution of the promise is setting it
[17:15:41] *** lsiv568 has joined #angularjs
[17:15:48] *** TommyO has quit IRC
[17:15:59] *** TommyO has joined #angularjs
[17:16:02] *** cesarkawakami has quit IRC
[17:16:22] *** cesarkawakami has joined #angularjs
[17:16:41] <icfantv> but that's the thing, this is part of a recursive call (i'm traversing a tree) and no one else has access
[17:17:07] *** cesarkawakami has joined #angularjs
[17:17:38] *** cesarkawakami has quit IRC
[17:17:57] *** brian has joined #angularjs
[17:18:05] *** whiteboo_ has quit IRC
[17:18:14] *** cesarkawakami has joined #angularjs
[17:18:20] *** brian is now known as Guest84034
[17:18:47] *** dualmoon has joined #angularjs
[17:18:53] *** mityaz has quit IRC
[17:19:00] *** Marble68 has joined #angularjs
[17:19:34] *** deanclkclk__ has joined #angularjs
[17:20:32] *** _ritchie_ has joined #angularjs
[17:20:38] *** kuadrosx has joined #angularjs
[17:20:39] <icfantv> oh that's just mean
[17:20:44] *** cesarkawakami has quit IRC
[17:20:45] *** deanclkclk_ has quit IRC
[17:21:02] *** motionman has quit IRC
[17:21:19] <icfantv> sacho: it's the ng-model binding in my page. it's clobbering the original value set on the model and overwriting it.
[17:21:34] *** TyrfingMjolnir has joined #angularjs
[17:21:35] *** kuadrosx has quit IRC
[17:21:41] <icfantv> so apparently model binding happens before the controller has finished?
[17:21:47] <sacho> no
[17:21:49] <sacho> that's impossible
[17:22:14] *** prosper_ has joined #angularjs
[17:22:15] *** thedodd has joined #angularjs
[17:22:35] *** loverajoel has quit IRC
[17:22:38] *** pants_ has joined #angularjs
[17:23:05] *** pants_ has left #angularjs
[17:23:07] *** crakrjak_respawn has joined #angularjs
[17:23:18] *** jstroem has quit IRC
[17:23:26] <oniijin> impossssilbbble
[17:23:59] <icfantv> right
[17:24:11] <icfantv> this is in a sub controller that fires off a service request
[17:24:17] <icfantv> still impossible?
[17:24:29] *** Slowintrepid has joined #angularjs
[17:24:44] *** ChuckOckstarter is now known as cmenscher
[17:24:52] *** Aerospark has quit IRC
[17:24:56] *** mennea has quit IRC
[17:25:19] <icfantv> that service request returns a promise. why would the controller block? wouldn't it be right for it to finish?
[17:25:21] *** Guest84034 is now known as bgerami
[17:25:28] *** ctanga has joined #angularjs
[17:25:33] *** mennea has joined #angularjs
[17:26:04] *** burattino has quit IRC
[17:26:06] *** prosper_ has quit IRC
[17:26:10] *** crakrjak_respawn has quit IRC
[17:26:12] *** eburcat has joined #angularjs
[17:26:30] <icfantv> so there must be a race condition between the model binding and my service call completing such that before my service call, the field value is right, but then the model binding occurs and….oh hell, i don't know
[17:26:41] <zomg> Mention AngularJS in a tweet, a dozen bots favorite it
[17:26:42] <zomg> :P
[17:26:59] <icfantv> zomg: sounds like a conspiracy to me
[17:27:16] <zomg> well, it's actually been just two bots... until now
[17:27:20] <zomg> there was a thid one this time
[17:27:22] <zomg> *third
[17:27:22] <zomg> :D
[17:27:25] *** arabot has joined #angularjs
[17:28:01] *** arkin has quit IRC
[17:28:48] *** catonabike has joined #angularjs
[17:28:50] *** CHC has quit IRC
[17:29:03] <sacho> icfantv, no
[17:29:04] <catonabike> how are you testing your angularjs code with a mock backend?
[17:29:12] <sacho> icfantv, sorry, I meant to elaborate
[17:29:23] <icfantv> hah
[17:29:38] <catonabike> *everything* involving $httpBackend looks like a nightmare. any solution to a problem I have seems to start with "I know this one workaround" (on stackoverflow etc)
[17:29:43] <sacho> when your controller finishes executing, a digest is called
[17:29:47] *** DrShoggoth has quit IRC
[17:29:50] *** toad-br has joined #angularjs
[17:29:55] <sacho> and then your model must be getting changed
[17:30:06] <sacho> since your .then() handler is executed asynchronously, it happens after that digest
[17:30:09] <zomg> catonabike: you could probably use something like vcr to play back pretend-responses
[17:30:11] <catonabike> angularjs claims to have a good testing story but i'm not finding it to be useful for much of anything ... curious how you reasonably test http interceptors etc.
[17:30:38] <catonabike> the examples for that that I see basically test angular itself: mock http backend, invoke http req, verify that factory function was called. POINTLESS.
[17:30:40] <zomg> personally I find I usually just do end to end tests or unit tests
[17:31:20] <catonabike> yes, how are you performing E2E tests w/ a mock backend and no workarounds? even protractor seems to be preferred nowadays, and everything about this I find uses weird workaroundsl.
[17:31:32] *** azizur has quit IRC
[17:31:35] <icfantv> sacho: so here's the process: first controller loads data from a service and then fires an event saying the data has been loaded. the sub controller listens for that event and then fires off a different service call (which returns a promise) to do the tree conversion process. during that tree conversion process, another service call is made (which returns a promise) to load more data specific to the current tree node. before
[17:31:59] *** snurfery has quit IRC
[17:32:10] *** arkin has joined #angularjs
[17:32:17] *** Raging_Hog has quit IRC
[17:32:27] <catonabike> i'm all cat ears! been researching this for a couple days and wholly unsatisfied w/ findings
[17:32:34] <icfantv> sacho: i understand how it's supposed to work, but the behavior i'm seeing is not right
[17:32:47] *** markwu has joined #angularjs
[17:32:57] <icfantv> sacho: something about all those promises executing asynchronously is causing this issue.
[17:33:14] *** krawek has joined #angularjs
[17:33:18] <icfantv> sacho: if i change the ng-model binding, it all works fine. the field doesn't get clobbered.
[17:33:27] *** markwu has quit IRC
[17:33:35] *** Owner has joined #angularjs
[17:33:38] <sacho> "current tree node. before..."?
[17:33:45] <icfantv> sacho: oh. duh.
[17:33:59] *** Owner is now known as Guest58251
[17:34:00] <icfantv> sacho: the event handler is $scope.$on(…)
[17:34:03] *** ethlor has quit IRC
[17:34:09] *** lsiv568 has quit IRC
[17:34:30] <icfantv> sacho: so clearly the controller finishes before the asynchronous calls complete (or maybe even fired)
[17:35:21] *** szymek_ has joined #angularjs
[17:35:31] *** milka has quit IRC
[17:35:45] <icfantv> sacho: THAT makes sense… i bet if i put in an artificial delay in my service - that would "fix" the issue
[17:35:49] *** crakrjak_respawn has joined #angularjs
[17:35:55] *** sk87 has quit IRC
[17:36:01] *** mven has quit IRC
[17:36:08] <sacho> well, the controller must finish before any promises are resolved
[17:36:13] <sacho> that's required by the promises spec
[17:36:18] *** crakrjak_respawn has quit IRC
[17:36:29] *** rburns has quit IRC
[17:36:35] <sacho> (not the controller, but the "current execution context", part of which is your controller)
[17:36:37] <icfantv> and that also makes sense. because otherwise it'd just block JS execution
[17:36:46] <icfantv> yea
[17:36:54] *** frobs has quit IRC
[17:36:57] *** ProLoser has joined #angularjs
[17:37:18] *** denny009 has joined #angularjs
[17:37:22] <Fifty5Plus> i have 3 vertical panels and when i hide/show the side panels, i would like to make it look like they are either being pused off screen or simply get narrower until width of zero ... so, is this something i need to code in my UI or is it something that can be bolted on after the fact, perhaps with different types that user can choose?
[17:37:37] *** catonabike has quit IRC
[17:37:46] *** catonabike has joined #angularjs
[17:37:50] <catonabike> sorry, disconnected for a moment
[17:37:51] <denny009> Hello all .. I try to read the doc of interpolation but I ve not understood how to use it...
[17:37:55] <catonabike> hope i didn't miss anything :)
[17:38:08] *** ahtik has quit IRC
[17:38:11] *** m_rc has joined #angularjs
[17:38:14] *** sk87 has joined #angularjs
[17:38:32] *** AngularUI has joined #angularjs
[17:38:32]
<AngularUI> [ng-grid] xavadu opened pull request #2051: Misspelled option name in the documentation (master...master) http://git.io/vGX6sA
[17:38:32] *** AngularUI has left #angularjs
[17:38:41] <denny009> for example ciccio = $interpolate('Hello {{childData[key].title}}!') where childData[key].title = prova is a good application???
[17:38:57] <denny009> I expect that ciccio = Hello prova
[17:39:04] <\du> eeeh AngularUI bot :P
[17:39:18] *** crakrjak_respawn has joined #angularjs
[17:39:51] *** crakrjak_respawn has quit IRC
[17:39:58] *** prosper_ has joined #angularjs
[17:40:01]
<jaydubya> I have a plunker with a custom directive (this is only my third custom directive so be gentle) and I am stuck ... I don't know how to access and assign the value from the isolate scope to the linker function .... http://plnkr.co/edit/NNlr6Bkm09PaidGjVicd?p=preview
[17:40:07] *** marianoguerra has joined #angularjs
[17:40:32] *** eBureau has quit IRC
[17:40:51] <marianoguerra> Hi! Anyone found a solution for angular-route running on phonegap?
[17:41:12] *** ProLoser has quit IRC
[17:41:14] <marianoguerra> On windows phone 8
[17:41:23] <BahamutWC|Work> use ui router :P
[17:41:32] *** eburcat has quit IRC
[17:41:36] *** intellix has quit IRC
[17:42:07] <marianoguerra> The app in finished and we found out it doesn't run, we cannot migrate now
[17:42:10] *** eburcat has joined #angularjs
[17:42:32] <marianoguerra> (Doen't run on wp8)
[17:42:39] *** thedodd has quit IRC
[17:42:48] *** s3shs has joined #angularjs
[17:43:04] *** munzmania has quit IRC
[17:43:07] *** abram_away is now known as abram
[17:43:27] *** mven has joined #angularjs
[17:43:28] *** gnrlbzik has quit IRC
[17:43:34] <denny009> I formulate the question in the correct way. HO I can take the value from the interpolate? I've this: var context = {greeting: 'Hello', name: 'test' }; var exp = $interpolate('{{greeting}} {{name}}!'); now I would see the result but console.log(exp) return a function
[17:43:40] *** monir has quit IRC
[17:44:05] *** artisangoose has joined #angularjs
[17:44:14] *** thedodd has joined #angularjs
[17:44:53] *** Nijikokun has joined #angularjs
[17:45:57] *** richiebkr has joined #angularjs
[17:46:38] *** Latros-OS has quit IRC
[17:46:58] *** eburcat has quit IRC
[17:47:03] *** azizur has joined #angularjs
[17:47:13] *** tomnewmann has quit IRC
[17:47:20] *** tomnewmann has joined #angularjs
[17:48:02] *** nagappan_ has quit IRC
[17:48:32] *** arkin has quit IRC
[17:48:37] *** nagappan_ has joined #angularjs
[17:48:45] *** gnrlbzik has joined #angularjs
[17:49:09] *** stephen has quit IRC
[17:49:16] *** tsalb has joined #angularjs
[17:50:00] *** fbenoit has quit IRC
[17:50:58] <denny009> ClearsTheScreen: yes and it works with the example but I'm not able to do the same things in my code. I've a json file where i've: "title": '{{childData[key].title}}' and in the controller: exp = $interpolate(item.title); test = exp(childData[key].title)
[17:51:08] <denny009> ClearsTheScreen: what's wrong
[17:51:16] *** ryst has quit IRC
[17:51:38] *** jacuqesdancona has quit IRC
[17:51:41] *** kentcdodds has quit IRC
[17:51:44] *** robdubya has joined #angularjs
[17:51:48] *** lite has joined #angularjs
[17:52:02] *** mica has joined #angularjs
[17:52:04] *** iribarne has quit IRC
[17:52:13] *** jacuqesdancona has joined #angularjs
[17:52:47] *** damain has joined #angularjs
[17:53:18] *** tomnewmann has quit IRC
[17:53:33] *** tomnewmann has joined #angularjs
[17:54:12] *** tomnewmann has quit IRC
[17:54:17] *** smola1022 has joined #angularjs
[17:54:21] *** koken has joined #angularjs
[17:55:03] *** mennea has quit IRC
[17:55:07] *** Wizek has quit IRC
[17:55:35] *** mennea has joined #angularjs
[17:55:57] <ClearsTheScreen> what difference do you see between the documented call to exp() and yours?
[17:56:09] *** vectra has joined #angularjs
[17:56:40] *** braidn has quit IRC
[17:57:13] *** olivvv has joined #angularjs
[17:57:14] *** jleoirab has joined #angularjs
[17:57:22] *** jacuqesdancona has quit IRC
[17:57:24] *** pfooti has joined #angularjs
[17:57:33] *** g3funk has joined #angularjs
[17:57:47] *** p14n has quit IRC
[17:57:54] *** lsiv568 has joined #angularjs
[17:59:09] *** lsiv568 has quit IRC
[17:59:26] <jleoirab> How would one go about adding a custom attribute which has been created as a directive to the template of a directive (say directive A) using directive A's link function?
[18:00:09] *** SeeThruHead has joined #angularjs
[18:00:17] *** lsiv568 has joined #angularjs
[18:00:24] *** NormySan has joined #angularjs
[18:00:24] *** test__ has joined #angularjs
[18:00:37] <test__> hey
[18:00:49] *** test__ has quit IRC
[18:01:00] *** bzitzow has joined #angularjs
[18:01:06] *** mven has quit IRC
[18:01:13] *** IvailoStoianov has quit IRC
[18:01:44] *** IvailoStoianov has joined #angularjs
[18:01:55] *** favetelinguis has joined #angularjs
[18:02:09] *** favetelinguis has quit IRC
[18:02:19] <tristanp> it is the partial for a directive
[18:02:22] *** favetelinguis has joined #angularjs
[18:02:37] *** cacts|works has joined #angularjs
[18:02:44] <jleoirab> @LossFor Thanks for that. But unfortunately I have tried that and it didn't work
[18:02:47] *** arkin has joined #angularjs
[18:02:56] *** joshontheweb has joined #angularjs
[18:03:22] <LossFor> jleoirab: oh, you’re looking to modify something from the template: of the directive, not the element itself?
[18:03:53] *** chrisbirk has quit IRC
[18:04:31] *** walden is now known as walden|lunch
[18:04:38] *** maxikon has joined #angularjs
[18:04:52] *** ryst has joined #angularjs
[18:05:03] *** Linell has joined #angularjs
[18:05:10] <LossFor> jleoirab: Not sure what you’re doing but you can use a function as a template, maybe it’s best to modify the template there instead of after linking it?
[18:05:13] *** cotko has quit IRC
[18:05:19] *** Xethron has joined #angularjs
[18:05:33] *** dannyc_ has joined #angularjs
[18:05:54] *** yozilla has quit IRC
[18:05:57] <LossFor> tristanp: ng-if creates a new scope
[18:06:08] *** mven has joined #angularjs
[18:06:12] *** ngbot has joined #angularjs
[18:06:12] <ngbot> angular.js/master 2abea75 Justin: docs(select): minor markdown syntax fix...
[18:06:13] *** ngbot has left #angularjs
[18:06:29] *** a3gis has joined #angularjs
[18:06:40] *** marianoguerra has quit IRC
[18:06:46] <LossFor> tristanp: so change it from a standalone variable to a property of an object and it will work
[18:06:52] <LossFor> like something.total
[18:07:27] *** m8 has joined #angularjs
[18:07:29] *** adamsilver has quit IRC
[18:07:31] *** Cydmax has quit IRC
[18:07:31] <tristanp> lossFor: but how would that 'something' object escape the scope either?
[18:07:45] *** munzmania has joined #angularjs
[18:08:50] <LossFor> will explain it better than I can
[18:09:00] *** munzmania has quit IRC
[18:09:01] *** loverajoel has joined #angularjs
[18:09:04] *** dcrk has joined #angularjs
[18:09:11] <dcrk> hello all
[18:09:13] *** dannyc has quit IRC
[18:09:14] *** ehalas2 has quit IRC
[18:09:16] *** ehalas has joined #angularjs
[18:09:39] *** loverajoel has quit IRC
[18:09:43] <tristanp> LossFor: thanks for the help
[18:09:53] *** loverajoel has joined #angularjs
[18:09:58] *** denny009 has quit IRC
[18:10:19] *** ehalas2 has joined #angularjs
[18:10:30] <dcrk> I'm using angular + browserify and I'm getting modulerr for my app module. doing angular.module('app') returns the module but still refuses to bootstrap until I re-define the module... anyone bumped into this?
[18:10:41] <jleoirab> Thanks <LossFor>
[18:10:50] *** Evanion has joined #angularjs
[18:11:07] *** josh3336 has quit IRC
[18:11:19] *** kirfu has joined #angularjs
[18:11:19] *** kirfu1 has quit IRC
[18:12:13] *** josh3336 has joined #angularjs
[18:12:24] *** kentcdodds has joined #angularjs
[18:12:47] *** kent\n has quit IRC
[18:13:25] *** \du has quit IRC
[18:13:26] *** slopjong_ has quit IRC
[18:13:49] *** smola1022 has quit IRC
[18:13:53] *** ehalas has quit IRC
[18:13:55] *** slopjong has quit IRC
[18:14:12] *** kent\n has joined #angularjs
[18:14:13] *** cacts|works has quit IRC
[18:14:29] <jleoirab> @LossFor I want to be able to pass custom atttributes to my directive and make my add these attributes to my directives template. element.attr() works if the attribute is not angular. But for custom directives and ng-attrs.. it doesn't work
[18:14:53] *** cacts|works has joined #angularjs
[18:15:00] <damain> dcrk what is the exact message, It sounds like a dependency injection error
[18:15:52] *** bmac has quit IRC
[18:15:53] *** cliluw has quit IRC
[18:15:59] *** ferrao has quit IRC
[18:16:23] *** fatshark has joined #angularjs
[18:18:28] *** jonathanpglick has joined #angularjs
[18:18:55] *** bobinator has joined #angularjs
[18:19:14] *** adpirz has joined #angularjs
[18:19:21] *** cliluw has joined #angularjs
[18:19:29] *** dcherman has joined #angularjs
[18:19:36] <binjured> how the heck can i debug issues where controllers just don't load? i assume it's dependency-related (for some reason, any time i try to use a "parent" with ui-router) but there's never any timeout or anything, it just sits around waiting for the parent to resolve which, apparently, it never does.
[18:19:41] *** corehook has joined #angularjs
[18:19:50] *** Slowintrepid has quit IRC
[18:19:57] *** cacts|works has quit IRC
[18:20:09] *** grantfunke_ has joined #angularjs
[18:20:50] *** whitebook has quit IRC
[18:21:35] <binjured> ctanga: interesting... no output from that, either.
[18:22:09] <binjured> it's obviously doing something, though; if i go to "/" it redirects to the "otherwise" url.
[18:22:11] *** richiebkr has quit IRC
[18:22:53] *** Typher has quit IRC
[18:23:05] <binjured> yeah, if i remove the "parent" it shows all the messages.
[18:23:11] <binjured> so that doesn't help :p
[18:23:24] <ctanga> what do you mean “remove the ‘parent’"
[18:23:25] *** ahmetkapikiran has joined #angularjs
[18:23:33] *** adpirz has quit IRC
[18:24:02] *** _ritchie_ has quit IRC
[18:24:12] <binjured> i'm just trying to create an abstract state in my main module, and use it as a parent in another module. never works.
[18:24:14] *** dhcar_AFK is now known as dhcar
[18:24:20] *** bee_keeper has joined #angularjs
[18:25:00] *** mennea has quit IRC
[18:25:11] *** yelvert has joined #angularjs
[18:25:39] *** mennea has joined #angularjs
[18:25:49] *** bkuberek_ has quit IRC
[18:25:52] <ctanga> what do you mean “remove the ‘parent’"
[18:26:24] *** dannyc_ has quit IRC
[18:26:39] *** iffraff_at_work has quit IRC
[18:27:01] <binjured> i mean, i get rid of the parent statement, leaving the state as independent.
[18:27:09] <binjured> then it works.
[18:27:11] *** dannyc has joined #angularjs
[18:27:16] *** optikalmouse has quit IRC
[18:27:37] <bee_keeper> Say i have 100 hundred checkboxes in a 'form' and each checkbox represents a boolean of an item. On submit, i create an array of objects with the id and the boolean and i send this to the server as json. It works fine, but it feels crude - how should i be doing this please?
[18:27:49] <ctanga> you’re being vague, so perhaps post some code
[18:28:03] *** Sjimi has joined #angularjs
[18:28:13] <binjured> ok, will do
[18:29:16] *** nabmans has joined #angularjs
[18:30:21] <cody--> ?
[18:30:40] *** raveli- has joined #angularjs
[18:30:54] *** m8 has quit IRC
[18:30:59] <nabmans> i was wonderinf for someone to help me how to use the irc of angular :p
[18:31:26] <nabmans> i'm new into it & just start learning angular 2day :p
[18:31:28] *** richiebkr has joined #angularjs
[18:31:40] *** ome has quit IRC
[18:32:01] *** bkuberek has joined #angularjs
[18:32:06] <ctanga> yes, who IS this cody— ?
[18:32:10] *** whitebook has joined #angularjs
[18:32:19] *** teeray has quit IRC
[18:33:14] *** waverider has quit IRC
[18:33:17] <Foxandxss> just write
[18:33:19] <Foxandxss> it is a simple chat
[18:33:42] *** whitebook has quit IRC
[18:33:54] *** Ajans has quit IRC
[18:34:47] *** tfennell_ has joined #angularjs
[18:35:20] *** krawek has quit IRC
[18:35:43] *** optikalmouse has joined #angularjs
[18:35:49] *** catonabike has quit IRC
[18:35:57] <nabmans> sounds good man ;) i thought i have to specify the person name seen that it shows me 2 argument options when click on a user in the list (--whois, --query)..
[18:36:15] *** mtsr has quit IRC
[18:36:16] <nabmans> thats why i was asking so i can follow the standards of the irc :p
[18:36:16] <jaydubya> Foxandxss: Any update on book's timeline?
[18:36:19] *** nemothekid has joined #angularjs
[18:36:19] *** Latros-OS has joined #angularjs
[18:36:32] <nabmans> i'm following this 2 tutos :
[18:37:02] <Foxandxss> jaydubya: going forward, I just have a mental diarrhea day, so no productive at all
[18:37:11] *** jonnybro has joined #angularjs
[18:37:42] <ioudas> ctanga, do you have some time to help me with a select ng-change issue?
[18:37:44] <BahamutWC|Work> mental diarrhea…don’t want to know what that’s like
[18:37:46] <jaydubya> Foxandxss: Is the mental pepto-bismal?
[18:37:50] <nabmans> i think they're enough to get the knowledge...
[18:37:56] <jaydubya> there^
[18:37:58] <ctanga> ioudas: not today
[18:38:03] <ioudas> rgr
[18:38:08] <BahamutWC|Work> ioudas: what type of issue is this?
[18:38:11] <nabmans> jaydubya: i think they're enough to get the knowledge...
[18:38:34] <jaydubya> nabmans: I'll take your word for it
[18:38:37] <ioudas> BahamutWC|Work, ng-change passing an object.... and not being able to reference the object
[18:38:49] *** tfennelly has quit IRC
[18:38:50] *** prosper__ has joined #angularjs
[18:38:53] <BahamutWC|Work> ioudas: can you hack up an example?
[18:38:57] <ioudas> i can try
[18:38:58] <ioudas> 1 sec
[18:39:11] <nabmans> jaydubya: sounds good
[18:39:58] <Foxandxss> BahamutWC|Work: that kind of day you can end doing some visual basic without any goal in mind
[18:40:01] *** chrisbirk has joined #angularjs
[18:40:05] <Foxandxss> thanks god my mac doesn't run that
[18:40:05] <dmack> anyone using the angular/material project yet?
[18:40:06] *** chrisbirk has quit IRC
[18:40:23] <BahamutWC|Work> haha
[18:40:25] *** lite has quit IRC
[18:40:32] *** stanthedev has joined #angularjs
[18:40:50] <BahamutWC|Work> ioudas: use ng-options with select instead of ng-repeat
[18:41:15] *** m_rc has quit IRC
[18:41:25] <Foxandxss> jaydubya: let me see, but still, today is not my day :P
[18:41:35] <jaydubya> Foxandxss: thanks!
[18:41:37] *** mzabriskie has joined #angularjs
[18:41:56] *** prosper_ has quit IRC
[18:42:10] *** yelvert has quit IRC
[18:42:22] *** yelvert has joined #angularjs
[18:42:22] *** fauverism has joined #angularjs
[18:42:23] *** kentcdodds has quit IRC
[18:42:37] <fauverism> yo
[18:43:04] *** g3funk has quit IRC
[18:43:04] <fauverism> .__ _____ ____ ____ __ __| | _____ _______ \__ \ / \ / ___\| | \ | \__ \\_ __ \ / __ \| | \/ /_/ > | / |__/ __ \| | \/ (____ /___| /\___ /|____/|____(____ /__| \/ \//_____/ \/
[18:43:11] *** fauverism has quit IRC
[18:43:19] *** yelvert has quit IRC
[18:43:27] *** yelvert has joined #angularjs
[18:43:28] *** azizur has quit IRC
[18:43:29] *** RobinBAwesome has joined #angularjs
[18:44:02] *** g3funk has joined #angularjs
[18:44:03] *** monir has joined #angularjs
[18:44:15] *** JohnBat26 has quit IRC
[18:44:25] *** kreiggers has joined #angularjs
[18:44:25] *** cacts|works has joined #angularjs
[18:44:54] *** mica has left #angularjs
[18:45:13] *** prosper__ has quit IRC
[18:45:45] *** yelvert has quit IRC
[18:45:52] *** yelvert has joined #angularjs
[18:46:03] <Foxandxss> jaydubya: not sure if I follow
[18:46:05] <ioudas> Thanks BahamutWC|Work
[18:46:08] <ioudas> got it
[18:46:10] *** yelvert has quit IRC
[18:46:11] <BahamutWC|Work> np
[18:46:17] <Foxandxss> so you want first behavior but with the second table
[18:46:18] *** yelvert has joined #angularjs
[18:46:51] *** arthas has quit IRC
[18:47:38] *** phzon has quit IRC
[18:48:06] *** kreigger_ has joined #angularjs
[18:48:18] *** olivvv has quit IRC
[18:48:19] <jaydubya> Foxandxss: the first table is the "long hand" version of what I am trying to replace with the directive ... these "progress bars" appear repeatedly throughout the app and I am not DRY
[18:48:35] *** beardyname has quit IRC
[18:49:07] *** jonathanpglick has quit IRC
[18:49:10] *** rhp has joined #angularjs
[18:49:21] <jaydubya> Foxandxss: the "progress bar" is the same everytime, so I don't mind if I have to pass in the "type" but I need the status to be ties to the ng-model
[18:49:35] <jaydubya> tied^
[18:49:45] <Foxandxss> I don't see any progress bar
[18:49:45] *** kreiggers has quit IRC
[18:49:48] <Foxandxss> is that normal?
[18:49:54] *** AR45i has joined #angularjs
[18:50:13] <jaydubya> the table is the loan's progress bar (sorry for being vague on a brain-crap day
[18:50:26] <jaydubya> ) they are all loan milestones
[18:50:37] <Foxandxss> ah, right
[18:50:48] *** g3funk has quit IRC
[18:51:03] <jaydubya> didn't think that there is actually a bootstrap element that is called progress bar
[18:51:05] <Foxandxss> so you want those click handlers inside the directive?
[18:51:26] *** Siyfion_ has quit IRC
[18:51:35] *** Sjimi has quit IRC
[18:51:37] *** azizur has joined #angularjs
[18:51:38] *** doginal has joined #angularjs
[18:51:53] *** basiclaser_ has quit IRC
[18:52:43] *** tech2 has quit IRC
[18:52:45] <jaydubya> Foxandxss: I'm not sure of best practices there -- but every icon (there are actually 24 of them but I shortened it for the plunk) has the same click action -- if status = 0 or 2, click changes status to 1 and if 1, changes to 2
[18:53:09] <jaydubya> I could put the ng-click on the table cell I guess
[18:53:33] *** g3funk has joined #angularjs
[18:53:41] <jaydubya> and double-click opens an edit panel
[18:53:48] *** night-owl is now known as zz_night-owl
[18:54:19] <Foxandxss> that inline template is giving me pain
[18:54:40] <jaydubya> is there another "painless" option
[18:55:02] *** mennea has quit IRC
[18:55:02] *** tfennell_ has quit IRC
[18:55:38] *** mennea has joined #angularjs
[18:55:56] *** tfennelly has joined #angularjs
[18:56:08] *** jareddlc has joined #angularjs
[18:56:20] *** jonathanpglick has joined #angularjs
[18:56:21] *** Sebastien-L has quit IRC
[18:56:25] *** sonofdirt has joined #angularjs
[18:56:35] *** walden|lunch is now known as walden
[18:56:41] <Foxandxss> will try
[18:57:00] *** devinandrews has joined #angularjs
[18:57:18] *** josh3336 has quit IRC
[18:57:34] *** fedenunez has quit IRC
[18:58:24] *** robdubya has quit IRC
[18:58:28] *** josh3336 has joined #angularjs
[18:58:32] *** fedenunez has joined #angularjs
[18:59:00] *** gnrlbzik has quit IRC
[18:59:04] *** joelwallis_ has joined #angularjs
[18:59:25] *** joelwallis_ has joined #angularjs
[18:59:26] *** Sijdesign has joined #angularjs
[19:00:32] <Foxandxss> jaydubya: that is done, now the issue itself
[19:00:39] *** Schtive has quit IRC
[19:01:00] *** wallerdev has joined #angularjs
[19:01:06] *** bmac has joined #angularjs
[19:01:14] <Foxandxss> jaydubya: in the desired table, you pass '1', '2' and things like that
[19:01:17] *** Cydmax has joined #angularjs
[19:01:19] <Foxandxss> from where does that comes?
[19:01:33] <Foxandxss> to not hardcode them
[19:01:44] *** corehook has quit IRC
[19:01:45] <Foxandxss> or said in other way, the loan you pass to it, what does that?
[19:01:47] <jaydubya> $scope.loan from the controller
[19:02:11] *** Cydmax has quit IRC
[19:02:19] <dcrk> damain: spot on! one dependency was undefined. thanks!
[19:02:20] <jaydubya> so the value for status is IN the ng-model for the span
[19:02:22] *** joelwallis has quit IRC
[19:02:35] *** frankblizzar has quit IRC
[19:02:51] <Foxandxss> jaydubya: so if loan.its_list is 1, you want to pass that 1 as parameter to those functions?
[19:02:54] *** jacuqesdancona has joined #angularjs
[19:02:58] <jaydubya> and that's the one I need to be dynamic ... I can pass in the the 24 "types"
[19:03:03] <jaydubya> yes, that's right
[19:03:17] *** AR45i has quit IRC
[19:03:25] *** bradmaxs has joined #angularjs
[19:03:33] <Foxandxss> let me try my best, then see if that is what you expected
[19:03:35] *** bee_keeper has quit IRC
[19:03:41] *** nemothekid has quit IRC
[19:03:44] <jaydubya> because loan.its_list will come from database and will be different
[19:03:45] *** michael3 has joined #angularjs
[19:03:46] <jaydubya> ok
[19:03:49] *** kirfu has quit IRC
[19:03:53] *** iffraff has quit IRC
[19:04:05] *** sk87 has quit IRC
[19:04:08] *** michael3 has quit IRC
[19:04:08] *** michael3 has joined #angularjs
[19:04:16] *** robdubya has joined #angularjs
[19:04:20] *** AtomicCookie has quit IRC
[19:04:45] *** zemanel has quit IRC
[19:04:57] *** iffraff has joined #angularjs
[19:05:12] *** robdubya has quit IRC
[19:05:19] *** jlebrech has quit IRC
[19:05:30] *** michael3 is now known as AR45i
[19:05:35] *** g3funk has quit IRC
[19:07:33] *** g3funk has joined #angularjs
[19:07:38] *** jacuqesdancona has quit IRC
[19:07:42] *** MaxV has quit IRC
[19:07:50] *** ngbot has joined #angularjs
[19:07:50]
<ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/fw9GBA
[19:07:50] <ngbot> angular.js/master 52545e5 Georgios Kalpakas: docs($browser): minor docs fixes...
[19:07:51] *** ngbot has left #angularjs
[19:09:30] *** munzmania has joined #angularjs
[19:09:33] *** Sebastien-L has joined #angularjs
[19:10:19] *** fedenunez has quit IRC
[19:10:26] <Foxandxss> something like that?
[19:10:33] <Foxandxss> is all I can follow today with my mental stuff
[19:10:34] <Foxandxss> :P
[19:12:07] *** mven has quit IRC
[19:12:44] *** fedenunez has joined #angularjs
[19:13:08] *** mennea has quit IRC
[19:13:12] <jaydubya> Foxandxss: what does the '=' do in the isolate scope?
[19:13:25] <Foxandxss> well, normally it is a two-way databinding
[19:13:32] <Foxandxss> in this case I use it to simply get the value of ngModel
[19:13:41] *** mennea has joined #angularjs
[19:13:41] <Foxandxss> in your directive you don't really need ngModel features
[19:13:45] <Foxandxss> so that is more than enough
[19:13:48] <Foxandxss> at least in this stage
[19:13:49] *** munzmania has quit IRC
[19:14:04] <jaydubya> ok, this is great! thanks and I hope you feel better
[19:14:42] <Foxandxss> meh
[19:14:43] <Foxandxss> :P
[19:14:43] *** dcrk has quit IRC
[19:14:46] <Foxandxss> and you welcome
[19:14:55] <Foxandxss> you're still my favorite person of the chat
[19:15:35] *** arkin has quit IRC
[19:15:48] *** dannyc has quit IRC
[19:16:04] *** ttttt has joined #angularjs
[19:16:11] <ttttt> Hey
[19:16:17] <ttttt> I cant get a view to load on heroku
[19:16:20] <Latros-OS> ttttt: any errors in browser console?
[19:16:23] <Latros-OS> whats the heroku url?
[19:16:23] *** dannyc has joined #angularjs
[19:16:38] *** juanpablo_ has quit IRC
[19:16:49] <Latros-OS> i see "foo" :P
[19:17:01] <ttttt> that is in the index.html file
[19:17:02] *** jleoirab has quit IRC
[19:17:03] <Latros-OS> and a 404 for your template
[19:17:15] <ttttt> yeah
[19:17:21] <Latros-OS> any github repo?
[19:17:24] <ttttt> same
[19:17:34] <ttttt> I cant share the repo. Sorry
[19:17:38] *** RobinBAwesome has quit IRC
[19:17:44] <Latros-OS> no worries. so in your sails structure
[19:17:50] <bealtine> it's a 404
[19:17:51] <Latros-OS> is your templates folder inside of "assets"?
[19:17:53] *** Sebastien-L has quit IRC
[19:17:55] *** whunt has joined #angularjs
[19:18:01] <Latros-OS> because the only files that sails serves as public
[19:18:02] <Latros-OS> is the assets folder
[19:18:18] <Latros-OS> so it shouldnt be /templates/view_name/view_file.html
[19:18:25] <Latros-OS> it should be /assets/templates/view_name/view_file.html
[19:18:29] *** monir has quit IRC
[19:18:31] *** Milkweed has joined #angularjs
[19:18:36] <ttttt> ill try that
[19:18:44] <Latros-OS> let me know how it works out :)
[19:19:18] *** thedodd has quit IRC
[19:19:20] *** RobinBAwesome has joined #angularjs
[19:19:33] *** frem has joined #angularjs
[19:19:41] *** ngbot has joined #angularjs
[19:19:42]
<ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/sdyllg
[19:19:42] <ngbot> angular.js/master 41b36e6 Nicholas Albion: docs($compile): bindToController clarification...
[19:19:42] *** ngbot has left #angularjs
[19:20:24] *** dannyc has quit IRC
[19:21:26] *** wiherek has joined #angularjs
[19:21:40] <ttttt> @Latros-OS
[19:21:42] *** seriema has joined #angularjs
[19:21:44] <ttttt> that was it!!
[19:21:48] <ttttt> Thank you so much!
[19:22:05] <wiherek> hi, I have some nested states with UI router
[19:22:10] *** Alina-malina has quit IRC
[19:22:15] *** jonathanpglick has quit IRC
[19:22:23] *** cacts|wtf has joined #angularjs
[19:22:24] <wiherek> and I have controllers for those states, accessible through ‘controllerAs’
[19:22:29] *** ttttt has quit IRC
[19:22:56] <wiherek> so I see I can reference the parent state from a child state by using that notation
[19:23:01] *** willeponken has joined #angularjs
[19:23:01] <wiherek> in a view
[19:23:02] *** KernelCurry has joined #angularjs
[19:23:17] *** Aliks has joined #angularjs
[19:23:21] <wiherek> like ng-model=“someController.someProperty”
[19:23:32] *** flyingducks has joined #angularjs
[19:23:33] *** jr3 has quit IRC
[19:23:39] *** jonathanpglick has joined #angularjs
[19:24:02] <wiherek> but how can I access it from inside the child controller itself? I only managed to do that with $scope.$parent
[19:24:12] *** cactauz has joined #angularjs
[19:24:32] *** lexek__ has quit IRC
[19:24:41] *** eburcat has joined #angularjs
[19:24:42] *** conan_the_destro has quit IRC
[19:24:52] *** jackdpeterson has joined #angularjs
[19:25:37] *** conan_the_destro has joined #angularjs
[19:25:37] *** arkin has joined #angularjs
[19:25:37] *** arkin has joined #angularjs
[19:25:39] *** cacts|works has quit IRC
[19:25:42] <oniijin> u shouldnt
[19:25:45] <oniijin> it's yucky
[19:25:52] *** ProLoser has joined #angularjs
[19:26:35] *** mzabriskie has quit IRC
[19:26:40] <oniijin> i mean the child controller inherit the parent shit
[19:26:49] *** dc_ has quit IRC
[19:27:02] *** cacts|wtf has quit IRC
[19:27:15] *** lexek__ has joined #angularjs
[19:27:18] *** nairys has joined #angularjs
[19:27:25] *** mzabriskie has joined #angularjs
[19:27:59] <nairys> has anyone tried the new firefox dev edition?
[19:28:04] *** sqwk has quit IRC
[19:28:28] *** szymek_ has quit IRC
[19:29:04] *** Oddman has quit IRC
[19:29:07] *** shpoont___ is now known as shpoont
[19:29:12] *** KostyaChoporov has joined #angularjs
[19:29:13] *** bronwen has joined #angularjs
[19:29:38] *** adamsilver has joined #angularjs
[19:29:54] <adamsilver> how can i pass initial values to my controller from my template?
[19:30:02] *** ctanga has quit IRC
[19:30:21] *** ryst has quit IRC
[19:30:23] <wiherek> onijin i should not allow for inheritance?
[19:30:42] *** ahtik has joined #angularjs
[19:30:46] *** ProLoser has quit IRC
[19:30:46] <oniijin> no it's fine, but if u find yourself editing parent scope from child scope, then u should look for another way
[19:30:50] <nairys> adamsilver ngInit?
[19:31:04] <wiherek> yea
[19:31:21] <wiherek> and controllerAs bounds ‘this’ to $scope, right?
[19:31:32] *** justinmburrous has joined #angularjs
[19:31:33] <oniijin> not exactly
[19:31:39] *** justinmburrous has quit IRC
[19:31:41] <stylemistake> i've got an interesting task to solve, which is completely offtopic, but i hope it is interesting. can anyone help me?
[19:31:59] *** lexek__ has quit IRC
[19:32:01] *** rtpg has joined #angularjs
[19:32:03] *** ciro_nunes has quit IRC
[19:32:08] <oniijin> adamsilver what about $aatrs
[19:32:13] <oniijin> er $attrs
[19:32:45] *** mclenithan has joined #angularjs
[19:33:06] *** szymek_ has joined #angularjs
[19:33:23] *** dob_ has quit IRC
[19:33:29] *** jonathanpglick has quit IRC
[19:33:35] <stylemistake> so, basically i have a stackless sequential math machine, which does math sequentially, from right to left
[19:34:06] *** zz_night-owl has quit IRC
[19:34:14] *** night-owl has joined #angularjs
[19:34:17] <stylemistake> e.g. "A * B + C * D" will be executed as (D * C + B) * A
[19:34:22] *** baweaver has joined #angularjs
[19:35:01] *** jonathanpglick has joined #angularjs
[19:35:03] <stylemistake> the question is how to emulate the stack
[19:35:05] <adamsilver> nairys: it worked, thanks
[19:35:11] *** klaut_ has joined #angularjs
[19:35:12] *** baweaver has quit IRC
[19:35:15] <nairys> np
[19:35:19] *** snurfery has joined #angularjs
[19:35:38] *** phpxadmin has quit IRC
[19:35:40] *** Efrem is now known as Efrem-Away
[19:36:15] *** prosper_ has joined #angularjs
[19:36:38] *** rtpg has quit IRC
[19:36:53] *** klaut has quit IRC
[19:36:54] *** jaredwilli has joined #angularjs
[19:37:00] <stylemistake> or in other words - transform normal expression into sequential
[19:37:04] *** uru is now known as uru|away
[19:37:12] *** baweaver has joined #angularjs
[19:37:35] *** Oddman has joined #angularjs
[19:37:49] *** Paul_B_Hartzog has joined #angularjs
[19:38:36] *** teeray has joined #angularjs
[19:38:54] *** Alina-malina has joined #angularjs
[19:38:55] *** Alina-malina has joined #angularjs
[19:39:03] <damain> dcrk: no probs glad I could help
[19:39:24] *** marshall has quit IRC
[19:39:26] *** beardyname has joined #angularjs
[19:39:38] *** ctanga has joined #angularjs
[19:39:57] <TommyO> stylemistake: 1a: regex (but then you have 2 problems ;) ) 1b: split to an array and then rebuild
[19:40:58] *** AngularUI has joined #angularjs
[19:40:58]
<AngularUI> [ng-grid] novice3030 opened pull request #2052: grid menu RTL positioning (master...master) http://git.io/N3P6aA
[19:40:58] *** AngularUI has left #angularjs
[19:41:13] *** robdubya has joined #angularjs
[19:41:23] *** baweaver has quit IRC
[19:41:43] *** baweaver has joined #angularjs
[19:41:44] *** ehalas2 has quit IRC
[19:41:52] *** ehalas has joined #angularjs
[19:41:53] *** DuelShark has joined #angularjs
[19:42:27] *** thedodd has joined #angularjs
[19:42:30] *** onc3null has quit IRC
[19:42:33] *** prosper_ has quit IRC
[19:42:40] <stylemistake> TommyO: i want to feed an expression into machine, which would output exactly what A * B + C * D would be equal
[19:42:54] *** ngbot has joined #angularjs
[19:42:55]
<ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/inZZsQ
[19:42:55] <ngbot> angular.js/master ee1fc1d inphovore: docs(guide/Bootstrap): batarang link correction...
[19:42:55] *** ngbot has left #angularjs
[19:43:01] *** mennea has quit IRC
[19:43:03] *** prosper_ has joined #angularjs
[19:43:36] *** mennea has joined #angularjs
[19:43:38] *** ryst has joined #angularjs
[19:43:54] *** oncenull has joined #angularjs
[19:44:46] <stylemistake> i thought initially, that something like A * B + C * D -> D * C + D / B * A
[19:44:56] <adamsilver> what is the equivalent of this in angular: $( ".hello" ).remove();
[19:44:59] <stylemistake> would do the thing
[19:45:27] *** glosoli has joined #angularjs
[19:45:43] <stylemistake> but that's a simple expression, what if it has a lot more operations of different priority
[19:46:08] <oniijin> adamsilver dont do that, unless it's in a directive
[19:46:17] *** Sijdesign has quit IRC
[19:47:23] *** chromatome has joined #angularjs
[19:48:32] *** wiherek has quit IRC
[19:48:38] *** josh3336_ has joined #angularjs
[19:49:09] *** woah has joined #angularjs
[19:49:50] *** kirfu has joined #angularjs
[19:50:11] *** gnrlbzik has joined #angularjs
[19:50:20] *** gnrlbzik has quit IRC
[19:50:24] *** phishy_ is now known as phishy
[19:50:50] *** gnrlbzik has joined #angularjs
[19:50:55] *** TheAceOfHearts has joined #angularjs
[19:51:03] *** ibuibu has joined #angularjs
[19:51:38] *** josh3336 has quit IRC
[19:51:39] *** josh3336_ is now known as josh3336
[19:51:48] *** jonathanpglick has quit IRC
[19:52:11] *** robdubya has quit IRC
[19:52:24] *** mrwn has joined #angularjs
[19:52:28] *** ahtik has quit IRC
[19:52:31] *** flyingducks has quit IRC
[19:52:42] *** sonicparke|bradm has joined #angularjs
[19:53:05] *** jstroem has joined #angularjs
[19:53:35] *** mtsr has joined #angularjs
[19:53:48] *** Shrooms has joined #angularjs
[19:53:49] *** Shrooms has joined #angularjs
[19:54:29] *** mzabriskie has quit IRC
[19:54:33] *** marr has quit IRC
[19:54:38] *** nfroidure has quit IRC
[19:54:45] <seriema> wafflej0ck: I was going to add sample code to my article, but I found those exact things as todomvc samples. if you were reading the article, what would you expect? adapted small code, or link to proper sample?
[19:55:00] *** ahtik has joined #angularjs
[19:55:10] *** baweaver has quit IRC
[19:55:27] <sonicparke|bradm> anybody messed with Angular Material Design yet?
[19:55:52] *** baweaver has joined #angularjs
[19:56:09] *** DuelShark has quit IRC
[19:56:18] *** DuelShark has joined #angularjs
[19:56:21] *** robdubya has joined #angularjs
[19:56:53] *** doug64k has quit IRC
[19:57:52] *** advy has joined #angularjs
[19:58:04] *** dob_ has joined #angularjs
[19:59:46] *** advy has quit IRC
[19:59:49] *** merobertsjr has joined #angularjs
[19:59:54] *** tech2 has joined #angularjs
[19:59:57] *** Schtive has joined #angularjs
[20:00:11] *** baweaver has quit IRC
[20:00:35] *** joelwallis_ is now known as joelwallis
[20:01:05] *** gnrlbzik has quit IRC
[20:01:08] *** mclenithan has quit IRC
[20:01:29] *** AlexZan has quit IRC
[20:01:53] *** baweaver has joined #angularjs
[20:01:55] *** Xethron has quit IRC
[20:02:01] *** AR45i has quit IRC
[20:02:07] *** desp has joined #angularjs
[20:02:13] <dmack> sonicparke|bradm: I wanted to
[20:02:23] <sonicparke|bradm> me too
[20:02:47] *** elrabin_ has joined #angularjs
[20:02:49] *** patric100e99 has joined #angularjs
[20:02:51] <sonicparke|bradm> just saw it. Currently using ui-bootstrap but material design looks cool. Also looking at KendoUI
[20:02:53] *** jolts has quit IRC
[20:03:25] *** TyrfingMjolnir has quit IRC
[20:04:14] *** josh-k has joined #angularjs
[20:04:17] *** jonathanpglick has joined #angularjs
[20:04:54] *** junmin has quit IRC
[20:05:13] *** andydrew has joined #angularjs
[20:05:59] *** DuelShark has quit IRC
[20:06:01] *** glosoli has quit IRC
[20:06:07] *** elrabin has quit IRC
[20:06:08] *** DuelShark has joined #angularjs
[20:06:30] *** michael3 has joined #angularjs
[20:07:06] *** DuelShark has quit IRC
[20:07:08] *** bkuberek_ has joined #angularjs
[20:07:13] *** DuelShark has joined #angularjs
[20:07:33] *** desp has quit IRC
[20:07:54] *** adpirz has joined #angularjs
[20:07:59] *** mven has joined #angularjs
[20:08:04] *** patric100e99 has quit IRC
[20:08:37] *** josh-k has quit IRC
[20:09:17] *** frem has quit IRC
[20:09:35] *** eburcat has quit IRC
[20:09:59] <Foxandxss> I see material more for mobile
[20:10:04] <Foxandxss> maybe it is just me
[20:10:10] *** raibutera has joined #angularjs
[20:10:20] <sonicparke|bradm> hmmm. interesting though
[20:10:22] <sonicparke|bradm> thought
[20:10:28] *** bkuberek has quit IRC
[20:10:51] *** arkin has quit IRC
[20:10:53] *** munzmania has joined #angularjs
[20:11:13] *** dhcar is now known as dhcar_AFK
[20:11:26] *** sheerun has joined #angularjs
[20:11:29] *** AlexZan has joined #angularjs
[20:11:31] *** junmin has joined #angularjs
[20:12:01] *** spatialbrew has quit IRC
[20:12:08] *** arriu has joined #angularjs
[20:12:24] *** adpirz has quit IRC
[20:12:41] *** krawek has joined #angularjs
[20:12:44] *** azizur has quit IRC
[20:12:54] *** andydrew has quit IRC
[20:13:03] *** mennea has quit IRC
[20:13:14] *** ctanga has quit IRC
[20:13:22] *** marshall has joined #angularjs
[20:13:25] *** nemothekid has joined #angularjs
[20:13:43] *** mennea has joined #angularjs
[20:13:53] <arriu> hi guys, I'm trying to figure out how to pass a model to a directive, but I'm getting burned by the "If you don’t have a dot, you’re doing it wrong." rule of thumb... I could use some advice
[20:14:18] <arriu> here a sample of my issue
[20:14:37] <arriu> Is there a better way to pass ng-model down?
[20:14:43] *** IvailoStoianov has quit IRC
[20:14:52] <dmack> sonicparke|bradm: it'sstill in the early stages, but if you're using evergreen browsers, it'll all work.
[20:15:14] <dmack> sonicparke|bradm: it's also missing a lot of stuff like typeaheads, datepickers, etc.
[20:15:17] *** munzmania has quit IRC
[20:15:20] <dmack> I'm sure that will all come
[20:16:33] *** ProLoser has joined #angularjs
[20:16:33] *** DuelShark has quit IRC
[20:16:39] *** DuelShark has joined #angularjs
[20:16:53] *** zeroquake has joined #angularjs
[20:16:59] <dmack> definitely excited about it. the Ionic peeps are working on it, so I'm sure it'll be nicely packaged
[20:17:04] *** DuelShark has joined #angularjs
[20:17:13] <sonicparke|bradm> ah, yeah, those are kinda important for us
[20:17:25] *** ChadStrat has joined #angularjs
[20:17:29] *** DuelShark has joined #angularjs
[20:17:37] *** mclenithan has joined #angularjs
[20:17:44] <sonicparke|bradm> I can push evergreen browsers though...mostly, IE11 will be a couple of months behind but Chrome will be updated of course
[20:18:05] *** richiebkr has quit IRC
[20:18:18] *** MaxV has joined #angularjs
[20:18:20] <dmack> well, TBH you could still just pluck those out of ui-bootstrap/angularstrap and use the rest of material stuff.
[20:18:21] *** spatialbrew has joined #angularjs
[20:18:23] *** klaut_ has quit IRC
[20:18:33] <dmack> I really, really want to get rid of bootstrap in our ap
[20:18:42] *** jolts has joined #angularjs
[20:18:52] *** sqwk has joined #angularjs
[20:18:54] <seriema> why?
[20:18:59] *** sqwk has quit IRC
[20:18:59] <seriema> I <3 bootstrap
[20:19:02] *** junmin_ has joined #angularjs
[20:19:04] *** klaut has joined #angularjs
[20:19:06] <dmack> it's old and bloated
[20:19:11] <dmack> flexbox is the future
[20:19:18] *** DuelShark has quit IRC
[20:19:23] *** Deco has joined #angularjs
[20:19:26] *** DuelShark has joined #angularjs
[20:19:34] *** Deco has quit IRC
[20:19:41] *** devinandrews has quit IRC
[20:19:47] *** dhcar_AFK is now known as dhcar
[20:19:52] <seriema> flexbox? isn't that just one css thing? bootstrap is a whole library of widgets/styling
[20:19:53] *** DuelShark has joined #angularjs
[20:20:02] *** devinandrews has joined #angularjs
[20:20:04] *** kuadrosx has joined #angularjs
[20:20:31] <dmack> we really only use bootstrap for the grid - but a lot of imes we need more complex layouts than a simple grid could provide
[20:20:32] *** zzing has quit IRC
[20:20:53] <dmack> and primarily we use it because of ui-bootstrap/angularstrap, not for the default CSS components
[20:21:04] <oniijin> I think bs will move to flexbox at some point
[20:21:11] <dmack> probably.
[20:21:24] <seriema> yeah definetily
[20:21:29] <sonicparke|bradm> yeah, I like bootstrap a lot, just looking for something different
[20:21:39] <seriema> IE8-9 don't support flexbox
[20:21:43] *** DuelShark has quit IRC
[20:21:48] <dmack> and? :)
[20:21:49] <seriema> something different? Zurb foundation?
[20:21:50] *** DuelShark has joined #angularjs
[20:22:00] *** cesarkawakami has joined #angularjs
[20:22:03] <sonicparke|bradm> KendoUI might be good for work but we've already paid for highcharts so justifying the pro version will be harder
[20:22:10] <seriema> dmack: it's hard to convince clients to drop 4% of their customers because I hate IE :(
[20:22:10] *** g3funk is now known as braidn
[20:22:14] *** junmin has quit IRC
[20:22:15] *** merobertsjr has quit IRC
[20:22:22] <seriema> 4-10€
[20:22:24] <seriema> %
[20:22:24] <dmack> seriema: yeah, it sucks.
[20:22:42] <dmack> we're building a greenfield app that's going to be 11+
[20:22:47] *** MaxV has quit IRC
[20:22:59] *** moafoca has joined #angularjs
[20:23:34] <seriema> ah
[20:23:44] <seriema> lucky you =)
[20:23:48] *** merobertsjr has joined #angularjs
[20:23:53] <dmack> also, bootstraps form stuff is way to verbose
[20:23:57] <dmack> too*
[20:24:06] *** scythe__ has quit IRC
[20:24:18] <oniijin> agreed there. I hate dealing with forms with bs
[20:24:21] <sonicparke|bradm> agreed on bootstrap forms
[20:24:21] *** a_ghost_irl has joined #angularjs
[20:24:21] <seriema> I've experimented a lot with forms, and it's actually hard to use less if you want that level of flexibility
[20:24:24] <dmack> only because it has to be to support older browsers
[20:24:24] <sonicparke|bradm> way too much code
[20:24:30] *** Paul_B_Hartzog has quit IRC
[20:24:37] *** Efrem-Away is now known as Efrem
[20:24:45] <oniijin> they finally dropped IE8 support
[20:24:47] *** Paul_B_Hartzog has joined #angularjs
[20:24:47] <oniijin> with 3.3
[20:25:15] *** ehalas has quit IRC
[20:25:19] *** Fishy__ is now known as Fishy_
[20:25:34] *** Fishy_ is now known as Fishy
[20:25:51] *** Rutix has joined #angularjs
[20:25:52] *** cboden has quit IRC
[20:26:26] <seriema> really? huh
[20:26:31] *** freeman42 has joined #angularjs
[20:26:37] <davek_> Totally looking forward to web components getting widespread adoption.
[20:26:41] <dmack> anyone trying to go to ngConf?
[20:26:44] *** iksik has quit IRC
[20:26:52] <davek_> Anything that guts CSS is for the better.
[20:26:56] *** ehalas has joined #angularjs
[20:27:03] *** mtsr has quit IRC
[20:27:52] <sonicparke|bradm> dmack: yes, hoping I get 2 tickets on Wednesday
[20:28:02] <dmack> sonicparke|bradm: did you go last year?
[20:28:05] <sonicparke|bradm> no
[20:28:17] <dmack> tryin to get a few as well
[20:28:18] *** sonofdirt has quit IRC
[20:28:20] <sonicparke|bradm> wanted to but wasn't able
[20:28:37] <dmack> wonder why they don't just get a massve venue
[20:28:41] <dmack> if the demand is really that high
[20:28:45] <sonicparke|bradm> yeah, not sure
[20:28:51] *** mven has quit IRC
[20:28:53] *** cesarkawakami has quit IRC
[20:28:57] <sonicparke|bradm> maybe the smaller the better for attendees?
[20:29:03] <dmack> true
[20:29:09] *** richiebkr has joined #angularjs
[20:29:17] <davek_> Also because Google runs it.
[20:29:22] *** mel| has quit IRC
[20:29:25] *** cesarkawakami has joined #angularjs
[20:29:30] <dmack> meaning?
[20:29:32] <sonicparke|bradm> I don't think Google runs it
[20:29:41] *** DuelShark has quit IRC
[20:29:50] *** DuelShark has joined #angularjs
[20:29:51] <davek_> They don't run the convention for their product?
[20:29:55] <sonicparke|bradm> nope
[20:30:02] *** bostonaholic has quit IRC
[20:30:16] <sonicparke|bradm> it was started by Joe Eames, Merrick Christiansen I think
[20:30:21] *** DuelShark has joined #angularjs
[20:30:22] *** one0one has joined #angularjs
[20:30:22] <davek_> Well nevermind then.
[20:30:23] *** cboden has joined #angularjs
[20:30:30] <sonicparke|bradm> Utah JS/JavascriptJabber guys
[20:30:42] *** kirfu has quit IRC
[20:31:15] <dmack> Utah sees like a hot tech place lately
[20:31:17] <dmack> seems*
[20:31:28] <dmack> totally not what I think we I think of Utah
[20:31:36] <davek_> That's the idea.
[20:31:40] <sonicparke|bradm> yeah
[20:31:42] <dmack> man, words
[20:31:42] <davek_> It's a public image job.
[20:31:52] <Linell> No joke. Utah is one of those places where absoutely nothing comes to mind for
[20:31:58] <davek_> Skiing and Mormons.
[20:32:05] <dmack> ngConf with hidden christian undertones?
[20:32:20] <sonicparke|bradm> are there hidden christian undertones in it?
[20:32:21] <dmack> I hear SLC is beautiful though
[20:32:27] <dmack> hah, I don't think so
[20:32:28] <davek_> No, and SLC is Mormon.
[20:32:39] <davek_> Or rather, the hub of Mormonism.
[20:32:44] *** robdubya has quit IRC
[20:32:47] <sonicparke|bradm> yes
[20:33:02] <sonicparke|bradm> is it a dry city?
[20:33:08] <davek_> But I'm saying they're doing what many other cities have taken to recently, like Jacksonville, FL and Boulder, CO.
[20:33:08] <sonicparke|bradm> or county or state
[20:33:09] <dmack> so all these dudes are mormons?
[20:33:27] *** krawek has quit IRC
[20:33:56] <davek_> Probably not.
[20:33:57] <sonicparke|bradm> which dudes? Utah or Boulder & Jacksonville also?
[20:34:26] <dmack> Utah dudes
[20:34:56] <sonicparke|bradm> possibly most of them
[20:34:59] *** iksik has joined #angularjs
[20:35:02] <sonicparke|bradm> not really sure
[20:35:03] <davek_> Utah's liquor laws are more lax as a direct result of the 2002 Olympics.
[20:35:04] *** elrabin_ has quit IRC
[20:35:11] <sonicparke|bradm> ah...that's useful
[20:35:12] *** munzmania has joined #angularjs
[20:35:15] <davek_> Probably the one good thing the Olympics have ever accomplished.
[20:35:25] *** DuelShark has quit IRC
[20:35:32] *** DuelShark has joined #angularjs
[20:35:40] *** elrabin has joined #angularjs
[20:35:50] *** niklasmodess has quit IRC
[20:35:54]
<Siecje> On login I call Agenda.resetEmpty() but _agenda is null https://dpaste.de/gATn but I don't think it should be
[20:36:10] <dmack> after a long day of listening to people bitch about how Angular 2.0 is ruining their life, I'll sure as hell need a drnk
[20:36:12] <davek_> Siecje, what you think does not matter. The computer is infallible.
[20:36:13] *** phzon has joined #angularjs
[20:36:17] *** BobbieBarker has joined #angularjs
[20:36:25] <davek_> dmack, don't think you'll get that at ngConf.
[20:36:30] <davek_> They serve their own kool-aid.
[20:36:33] *** robdubya has joined #angularjs
[20:36:33] *** loverajoel has quit IRC
[20:36:37] <BobbieBarker> mmmmm cool aid
[20:36:47] <davek_> If it starts to taste bad, drink more!
[20:36:52] *** prosper_ has quit IRC
[20:36:58] *** sonofdirt has joined #angularjs
[20:37:05] *** mclenithan has quit IRC
[20:37:05] <Siecje> davek_: I have code that is in a factory but not inside a function, shouldn't it be run before the function?
[20:37:06] <dmack> I think after ngEurope, people will definitely ask a ton of 2.0 questions / why are you ruining my life pointed qestons
[20:37:13] <BobbieBarker> that's how you know the cyanide is working
[20:37:26] <sonicparke|bradm> I haven't dug into Angular 2.0 that much yet but I don't think it will ruin my life
[20:37:37] <davek_> Siecje, not inside the factory function? As in the function that is returned from the factory?
[20:37:39] <sonicparke|bradm> if anything I think some things, while a big change, will get easier
[20:37:47] <dmack> it won't. people are dramatic as hell
[20:37:48] <BobbieBarker> i was actually having the conversation earlier today with a coworker. I think 2.0 is still a long ways off
[20:37:59] <BobbieBarker> last i heard they where still stuck on the 2 way data binding and shadow dom problem
[20:37:59] <Siecje> davek_: as in the same level as the function definition
[20:38:02] <dmack> at least a year or more
[20:38:08] *** JayFK has quit IRC
[20:38:13] <davek_> Yeah they will, its generally a move forward. The only reasonable discussion is really over the use of AtScript given how obscure it is.
[20:38:20] *** ProLoser has quit IRC
[20:38:28] <BobbieBarker> my more near term concerns are the releases that we see between 1.3 and 2.0 and keeping up with those so that when 2.0 does drop that moving over is less painfull
[20:38:31] <davek_> God willing I won't be a web developer anymore when it finally gets released, so its not like I have a dog in the fight.
[20:38:38] <sonicparke|bradm> well that's helpful, I can continue to code without worries that I'm coding useless stuff once 2.0 comes out
[20:38:43] <dmack> I think they'll lost a lot of contributors due to AtScrpt, but you wn't have to write your app with it
[20:38:50] <BobbieBarker> davek_: if you're not developing what are you hoping to be doing? management?
[20:38:58] *** zlalanne has joined #angularjs
[20:39:05] <dmack> managing middles
[20:39:09] <BobbieBarker> oh
[20:39:23] *** anjumkaiser has joined #angularjs
[20:39:28] <oniijin> swimming in pool of beezies BobbieBarker duh
[20:39:33] <davek_> BobbieBarker, distributed computing.
[20:39:35] <BobbieBarker> lol
[20:39:47] <BobbieBarker> awesomesauced
[20:39:49] <sonicparke|bradm> so AtScript is basically a typed javascript?
[20:39:55] <davek_> Typed + annotations.
[20:40:04] <davek_> Its TypeScript + annotations basically its really dumb.
[20:40:13] <davek_> Typical Google NIH.
[20:40:18] <BobbieBarker> hey i have an oddball issue. I have to deploy an app onto a service i'm not familiar/used too. Basically a centOS VM on rackspace
[20:40:34] <BobbieBarker> does my angularJS app need any extra sauce to work in that enviroment
[20:40:35] <sonicparke|bradm> I dont' guess I understand the annotations part
[20:40:40] <davek_> BobbieBarker nope.
[20:40:46] <BobbieBarker> no shit?
[20:40:51] *** phzon has quit IRC
[20:40:55] <BobbieBarker> i was afraid i'd need like an express server like heroku needs
[20:41:00] <BobbieBarker> well not afraid
[20:41:03] <davek_> Why should it? As long as the back end serves pages and requests you're golden.
[20:41:17] <BobbieBarker> i dunno like i said thats not my normal method
[20:41:26] <BobbieBarker> i was just googling around for any gotchas
[20:41:36] <BobbieBarker> and wasn't finding any so i figured i would ask you fine folks
[20:41:37] <davek_> sonicparke|bradm, you can annotate functions with metadata.
[20:41:46] *** ngbot has joined #angularjs
[20:41:46]
<ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/wIT7xQ
[20:41:46] <ngbot> angular.js/master 9cc6835 rsperberg: docs(guide/Conceptual Overview): change "a" to "an" before "ng-controller"...
[20:41:46] *** ngbot has left #angularjs
[20:41:47] *** rburns has joined #angularjs
[20:42:03] <sonicparke|bradm> davek_: thanks, reading the google doc now trying to get a good idea of it
[20:42:10] *** klaut_ has joined #angularjs
[20:42:19] <BobbieBarker> i'm used to using PaaS to host my stuff. Which is what we'll be moving to here shortly. There is just a little lag time where I need to drop this app out
[20:42:22] <BobbieBarker> into rackspace
[20:42:23] *** klaut has quit IRC
[20:42:28] *** klaut_ has quit IRC
[20:42:52] <BobbieBarker> davek_: there is no backend to this app. It's pure front end
[20:42:55] <sonicparke|bradm> BoobieBarker: Which Paas do you usually use?
[20:43:00] <BobbieBarker> heroku
[20:43:06] *** mennea has quit IRC
[20:43:07] *** klaut has joined #angularjs
[20:43:12] *** marcjs has joined #angularjs
[20:43:30] <davek_> BobbieBarker well you definitely need a web server of some sort yeah.
[20:43:36] *** dc_ has joined #angularjs
[20:43:38] <BobbieBarker> that's what i thought
[20:43:40] *** mennea has joined #angularjs
[20:43:41] <sonicparke|bradm> I've never quite figured out if I can run an entire MEAN stack on heroku or if I need to use something like mongolabs also
[20:43:46] *** amirn has joined #angularjs
[20:43:50] <BobbieBarker> so i do need like express js file
[20:44:22] <BobbieBarker> sonicparke|bradm: i think you can run pure mean stack on heroku
[20:44:25] *** iribarne has joined #angularjs
[20:44:27] <davek_> sonicparke|bradm you need to use addons for your databases, etc yes.
[20:44:28] <sonicparke|bradm> hmmmm
[20:44:30] *** mclenithan has joined #angularjs
[20:44:42] <BobbieBarker> but you have to use something
[20:44:48] <BobbieBarker> the addons yeah
[20:44:56] <BobbieBarker> i was trying to think of the name of the addon with out googling it
[20:45:02] <sonicparke|bradm> also thought about setting up small apps on digital ocean but haven't worked out how to make them run on machine boot
[20:45:17] <sonicparke|bradm> not important right now...just thinking "out loud"
[20:45:23] <BobbieBarker> nothing wrong with that
[20:45:48] <davek_> I'm just biding my time until somebody rolls out a viable cluster-deployment solution to EC2 using docker.
[20:45:57] <BobbieBarker> just keep in mind that when you're dealing wiht heroku, heroku natively uses postgres and if you want anything other than that you'll have to use an add on
[20:46:01] <davek_> Going for a full service-oriented backend, maybe use SQS to shuffle messages around.
[20:46:10] *** nya has quit IRC
[20:46:18] *** michael3 has quit IRC
[20:46:38] *** DuelShark has quit IRC
[20:46:38] *** krawek has joined #angularjs
[20:46:44] *** frankblizzar has joined #angularjs
[20:46:44] *** DuelShark has joined #angularjs
[20:46:45] <BobbieBarker> i don't really deal with back end type stuff i have other team members that do it. I'm purely front end
[20:47:09] *** DuelShark has joined #angularjs
[20:48:02] *** Sontakey has joined #angularjs
[20:48:10] *** josh3336 has quit IRC
[20:48:21] *** marcjs has quit IRC
[20:48:21] *** hnomad has joined #angularjs
[20:48:26] *** mjs2600 has quit IRC
[20:48:32] <sonicparke|bradm> BobbieBarker: I'm purly front-end also but for personal & side projects I need to increase my back-end skills
[20:48:39] *** DuelShark has quit IRC
[20:48:46] *** DuelShark has joined #angularjs
[20:49:04] <sonicparke|bradm> learning C# for work to help build my own back-ends when I need to but will not use that for other projects outside of work
[20:49:11] *** Johnny13371337 has joined #angularjs
[20:49:14] *** Johnny13371337 has left #angularjs
[20:49:32] *** baweaver has quit IRC
[20:49:54] *** cesarkawakami has quit IRC
[20:50:29] *** AR45 has joined #angularjs
[20:50:43] *** mmealling has joined #angularjs
[20:50:52] *** frem has joined #angularjs
[20:51:12] <BobbieBarker> why not write your back ends in node.js?
[20:51:17] *** mjs2600 has joined #angularjs
[20:51:23] *** diosney has joined #angularjs
[20:51:29] *** snurfery has quit IRC
[20:51:30] *** diosney has quit IRC
[20:51:45] *** DuelShark has quit IRC
[20:51:53] *** DuelShark has joined #angularjs
[20:51:53] *** zanea|away is now known as zanea
[20:52:08] *** IvailoStoianov has joined #angularjs
[20:52:09] <davek_> Or erlang? Or french?
[20:52:20] *** martin_____ has joined #angularjs
[20:52:29] *** intellix has joined #angularjs
[20:52:33] *** LossFor has quit IRC
[20:52:43] <BobbieBarker> C# seems like a sdavage solution
[20:52:44] *** nit has joined #angularjs
[20:52:58] *** hnomad has quit IRC
[20:53:08] *** nit is now known as Guest12967
[20:53:14] *** RobinBAwesome has quit IRC
[20:53:34] *** kuadrosx has quit IRC
[20:53:51] *** snurfery has joined #angularjs
[20:54:11] *** hnomad has joined #angularjs
[20:54:12] *** martin_____ has left #angularjs
[20:55:02] *** AR45 has quit IRC
[20:55:03] *** AR45 has joined #angularjs
[20:55:03] *** AR45 has joined #angularjs
[20:55:03] *** Sna4x8 has quit IRC
[20:55:04] *** DuelShark has joined #angularjs
[20:55:06] *** LossFor has joined #angularjs
[20:55:07] <sonicparke|bradm> we are a MS shop here. I'm not the back-end guy. I've just managed to work in doing the front-end stuff outside the VisualStudio webfomrs BS
[20:55:28] *** mmealling has quit IRC
[20:55:32] *** night-owl is now known as zz_night-owl
[20:55:34] <davek_> Let's not hate on MS they brought TypeScript to the party.
[20:55:35] <BobbieBarker> yuck
[20:55:44] *** OddDuck has quit IRC
[20:55:45] <sonicparke|bradm> Do we like typescript?
[20:55:49] *** nfroidure has joined #angularjs
[20:55:51] <davek_> I don't know, do you?
[20:55:58] *** Sna4x8 has joined #angularjs
[20:55:59] <BobbieBarker> lol
[20:56:07] *** OddDuck has joined #angularjs
[20:56:07] *** OddDuck has joined #angularjs
[20:56:11] *** danecando has quit IRC
[20:56:16] *** lsiv568 has quit IRC
[20:56:17] *** klaut_ has joined #angularjs
[20:56:18] <sonicparke|bradm> in their defense, they are doing a lot to embrace open source and the community
[20:56:37] <Linell> C# is actually pretty cool. I used MVC4 stuff at my last internship and liked it a lot
[20:56:39] <BobbieBarker> thats like hitler befriending the jews
[20:56:40] <sonicparke|bradm> I haven't messed with Typescript. seemed like a losing play simply becasue it was from them
[20:56:47] *** makuat has joined #angularjs
[20:56:54] *** derickf has joined #angularjs
[20:57:01] *** Guest12967 has quit IRC
[20:57:06] <davek_> Seriously? That kinda mentality is going to wreck you in any industry.
[20:57:27] <BobbieBarker> hitler jokes?
[20:57:28] *** ahtik has quit IRC
[20:57:33] <davek_> No those are fine.
[20:57:35] <sonicparke|bradm> ha
[20:57:41] <BobbieBarker> thank god
[20:57:45] *** Oddman has quit IRC
[20:57:55] <digisky> Not when your owners are jewish
[20:58:04] *** DuelShark has quit IRC
[20:58:10] *** DuelShark has joined #angularjs
[20:58:14] <woah> the attitude that c# is pretty cool?
[20:58:15] *** kuadrosx has joined #angularjs
[20:58:24] *** MacWinner has joined #angularjs
[20:58:27] *** \du has joined #angularjs
[20:58:27] *** \du has joined #angularjs
[20:58:37] <Siecje> I think the fact that you don't decide for yourself.
[20:58:43] <davek_> C# is a technically stellar language.
[20:58:48] *** klaut has quit IRC
[20:58:48] <sonicparke|bradm> I meant losing as far as the community is concerned, if I'm going to spend time learning something like that I figure Coffeescript was the better decisino, even though they are not the same beast
[20:58:55] *** desp has joined #angularjs
[20:59:00] <davek_> There's a reason Java has survived solely by mimicking its development.
[20:59:05] <BobbieBarker> fuck no coffe script
[20:59:06] *** bobinator has quit IRC
[20:59:07] <woah> coffeescript is completely different
[20:59:12] *** rburns has quit IRC
[20:59:19] <sonicparke|bradm> right, I know that
[20:59:22] <woah> it's a grab bag of rubyesque bs with a few useful things
[20:59:34] <sonicparke|bradm> so no coffee script love?
[20:59:38] <woah> none
[20:59:41] <davek_> CoffeeScript exists for all of the wrong reasons.
[20:59:44] <BobbieBarker> i think it's hillarious how many people are coming out of the wood work to weigh in on this, i must not be the only person eating lunch
[20:59:45] *** disorder20 has joined #angularjs
[20:59:47] <digisky> c# is a pretty good languge ... it will be around a lot longer than coffeescript
[20:59:53] <woah> agree
[20:59:57] <davek_> The syntax is lovely but when your selling point is "the syntax is lovely" that's a poor justification for a language.
[21:00:12] <davek_> And that is the only selling point.
[21:00:17] <woah> the syntax obscures actual js features
[21:00:21] *** frem_ has joined #angularjs
[21:00:22] <woah> like variable declaration
[21:00:37] <BobbieBarker> davek_: is right about coffee script it does exist for all the wrong reasons
[21:00:55] <digisky> Want to learn a new Javascript? Learn es6
[21:00:59] <sonicparke|bradm> hmmm. so then coffee script vs type script? which is king...or either?
[21:01:05] *** DuelShark has quit IRC
[21:01:10] *** makuat has left #angularjs
[21:01:11] *** DuelShark has joined #angularjs
[21:01:37] <BobbieBarker> i prefer to write my JS how i fucking want to.
[21:01:38] *** DuelShark has joined #angularjs
[21:01:50] <digisky> lol right
[21:02:02] <sonicparke|bradm> me too. just asking since the can of worms was opened
[21:02:02] *** gnrlbzik has joined #angularjs
[21:02:05] *** marcjs has joined #angularjs
[21:02:07] *** gnrlbzik has quit IRC
[21:02:17] *** frem has quit IRC
[21:02:22] *** Aliks has quit IRC
[21:02:46] <digisky> Yeah why not Dart ?
[21:03:13] <woah> have you guys heard of es6?
[21:03:21] <woah> it's a hot new compile-to-js language
[21:03:24] *** DuelShark has quit IRC
[21:03:26] <sonicparke|bradm> ha
[21:03:27] <digisky> ;)
[21:03:34] *** sheerun has quit IRC
[21:03:48] <sonicparke|bradm> but you still have to use transpilers to get it to ES5 at the moment
[21:03:58] <sonicparke|bradm> or whatever they're called
[21:04:01] <optikalmouse> not sure if I should propose we use angular 1.x at work
[21:04:08] <sonicparke|bradm> you should
[21:04:15] <optikalmouse> considering that 2.x is coming next year...I dont want us to be stuck maintaining old crap for clients :/
[21:04:41] <BobbieBarker> the upgrades on the framework tend to be more of your problem and less of your users problem
[21:04:46] *** marshall has quit IRC
[21:04:48] <BobbieBarker> user/browser
[21:04:50] *** Oddman has joined #angularjs
[21:05:18] *** cajone has quit IRC
[21:05:21] *** tilgovi has joined #angularjs
[21:05:30] <optikalmouse> we'll see, the new books on angular that have been coming out are pretty good
[21:05:41] <optikalmouse> I saw someone on public transit with Pro AngularJS, it's gone mainstream
[21:06:07] *** toad-br has quit IRC
[21:06:18] <BobbieBarker> the books tend to be crap imo, people read those then end up in here trying to figure out how to actually write their app
[21:06:19] *** gnrlbzik has joined #angularjs
[21:06:20] <sonicparke|bradm> it's in the wind
[21:06:49] <sonicparke|bradm> BobbieBarker: I agree mostly. The problem is that it's changing fairly quickly
[21:06:50] *** DuelShark has joined #angularjs
[21:07:00] *** mennea has quit IRC
[21:07:03] *** marr has joined #angularjs
[21:07:07] *** jstroem has quit IRC
[21:07:07] <sonicparke|bradm> so an electronic book like ng-book might be the best option
[21:07:07] <BobbieBarker> with the written material getting betteR?
[21:07:08] *** sandelius has joined #angularjs
[21:07:20] *** lsiv568 has joined #angularjs
[21:07:21] <BobbieBarker> i'm also not the kind of person who can read a book on programming and learn anything I have to write code to learn
[21:07:24] *** mmeallin_ has joined #angularjs
[21:07:39] *** jstroem has joined #angularjs
[21:07:40] <sonicparke|bradm> me too. but I need help to get there often
[21:07:51] <BobbieBarker> thats what this room is for
[21:07:59] *** mrwn has quit IRC
[21:08:25] *** mzabriskie has joined #angularjs
[21:08:33] *** sacho_ has joined #angularjs
[21:08:39] *** jstroem has quit IRC
[21:08:58] *** jstroem has joined #angularjs
[21:09:15] *** baweaver has joined #angularjs
[21:09:36] *** ceephax has joined #angularjs
[21:09:37] <MacWinner> any pointers on how i can get URL parameters like this; www.examples.com?x=foo&y=bar
[21:09:46] *** DuelShark has joined #angularjs
[21:09:47] *** jwowwz has joined #angularjs
[21:09:51] <MacWinner> I want to get x and y.. all the stuff i see is about getting route parameters..
[21:10:02] <kba> MacWinner: are you using a router?
[21:10:06] <MacWinner> kba, nope
[21:10:09] <kba> because you can add those in your routes
[21:10:29] *** huleo has joined #angularjs
[21:10:31] <MacWinner> juust a simple div that is bootstrapped with an app..
[21:10:38] *** DuelShark has joined #angularjs
[21:10:41] <qdk> google -> angularjs url parameters -> first hit.
[21:10:42] <MacWinner> very basic page not using routes
[21:10:43] *** mspier|away is now known as mspier
[21:10:44] <kba> $location.search();
[21:10:48] *** ibuibu has quit IRC
[21:10:54] <kba> will give you { x: 'foo', y: 'bar' }
[21:11:00] *** monir has joined #angularjs
[21:11:11] <MacWinner> kba, weird.. I tried that, but I got an empty object returned
[21:11:17] *** wallerdev has quit IRC
[21:11:31] <MacWinner> qdk, i think that applies only if you use angular routing?
[21:11:35] *** darrin has quit IRC
[21:11:58] <kba> I guess it does, yes, MacWinner
[21:11:58] *** sacho has quit IRC
[21:11:59] *** darrin has joined #angularjs
[21:12:08] <sonicparke|bradm> BobbieBarker: and this room has been very helpful for me. It's awesome
[21:12:19] *** alinouman has joined #angularjs
[21:12:21] *** LossFor has quit IRC
[21:12:38] *** DuelShark has quit IRC
[21:12:40] *** derickf has quit IRC
[21:12:44] *** DuelShark has joined #angularjs
[21:12:55] *** joelwallis has quit IRC
[21:13:08] *** joelwallis has joined #angularjs
[21:14:02] *** whunt has quit IRC
[21:14:06] *** japhar81 has quit IRC
[21:14:21] <MacWinner> qdk, yeah.. $location.search() seems to return {} even though the params are there.. not sure if I'm using it right
[21:14:57] <MacWinner> looks like you need a hash in there or something
[21:15:23] <qdk> MacWinner: I havent tried it, so not idea why. Sorry.
[21:15:27] *** zumba_addict has joined #angularjs
[21:15:52] *** DuelShark has joined #angularjs
[21:15:56] *** anjumkaiser has quit IRC
[21:16:01] <zumba_addict> is this normal that http cache only works in GET method?
[21:16:07] *** davek_ has quit IRC
[21:16:17] <qdk> MacWinner: Do you have an # in the url?
[21:16:41] <MacWinner> qdk, nope.. just a simple URL.. seems like it may be something to do with HTML5 mode
[21:16:47] <qdk> MacWinner: Your posted example didnt and it might be a requirement.
[21:16:49] <MacWinner> on $locatioNProvider
[21:16:49] *** desp has quit IRC
[21:17:00] *** marshall has joined #angularjs
[21:17:12] <MacWinner> qdk, yeah, seems like it.. thanks! i see some forum posts on workarounds that I'lll try
[21:17:39] *** mennea has joined #angularjs
[21:18:33] *** walden is now known as walden|brb
[21:18:53] <mmeallin_> I am going to drive to Seattle and burn Redmond to the damn ground... App works on all versions of IE except 10 where I get that same error from two days ago where it couldn't find the app module. Setting mangle to false fixed it for every other browser except IE10.
[21:18:55] <qdk> MacWinner: Cool.
[21:19:08] *** DuelShark has quit IRC
[21:19:30] <qdk> mmeallin_: Seems like you asked for it... Using IE to begin with. ;-)
[21:19:51] *** dra_ has quit IRC
[21:19:59] *** toad-br has joined #angularjs
[21:20:19] *** dra_ has joined #angularjs
[21:20:33] *** raibutera has quit IRC
[21:21:05] <zumba_addict> anyone? do cache: true only works in GET method?
[21:21:11] *** derickf has joined #angularjs
[21:21:18] *** tech2 has quit IRC
[21:21:28] <robdubya> FML
[21:21:29] *** bjtitus has quit IRC
[21:21:57] *** a_ghost_irl has quit IRC
[21:21:58] <Linell> zumba_addic: I may be missing something, but what is the point of caching other requests?
[21:22:04] *** darrin has quit IRC
[21:22:11] <BahamutWC|Work> what now robdubya
[21:22:20] *** devinandrews has quit IRC
[21:22:34] *** DuelShark has joined #angularjs
[21:22:39] *** devinandrews has joined #angularjs
[21:22:40] *** bjtitus has joined #angularjs
[21:22:53] *** btyne has quit IRC
[21:23:00] *** dob_ has quit IRC
[21:23:13] *** DuelShark has joined #angularjs
[21:23:24] *** woah has quit IRC
[21:23:27] *** dob_ has joined #angularjs
[21:23:38] *** tkdaj has joined #angularjs
[21:23:50] *** ahtik has joined #angularjs
[21:24:47] *** samuel02 has joined #angularjs
[21:25:12] *** CiE has quit IRC
[21:25:36] <zumba_addict> Linell, the request is always the same in our app
[21:25:44] *** CiE has joined #angularjs
[21:25:52] <zumba_addict> so for Nov 9, the values will always be the same
[21:26:00] *** whunt has joined #angularjs
[21:26:07] *** Shrooms has quit IRC
[21:26:12] <zumba_addict> the server will always return the same data too
[21:26:52] *** DuelShark has joined #angularjs
[21:26:54] <zumba_addict> would have been nice if the backend implemented GET for this request. Unfortunately, the java guys didn't like us messing the query string
[21:27:23] <zumba_addict> they don't want us sending multiple very long device names in the query string
[21:27:26] *** bjtitus has quit IRC
[21:27:47] <mmeallin_> clients want IE9 and up... which is why I think its past time for the developers of the world to revolt and burn Redmond to the ground.
[21:27:56] <Linell> zumba_addic: gotcha. I don't know really know the answer to your queestion, I was just curious
[21:28:00] <mmeallin_> the energy and time wasted on dealing with that piece of crap application is astounding.
[21:28:01] <zumba_addict> request can be 1 device or 100 devices. Right now, the device names are sent as partof the body in POST method
[21:28:07] *** dob_ has quit IRC
[21:28:07] *** baweaver has quit IRC
[21:28:44] <tkdaj> anyone know if there is a way to manually force an element to display its hover effect without hovering over it?
[21:28:54] <zumba_addict> maybe I'll just mention in our Wiki that HTTP post as agreed or written by W3 should not be cached
[21:29:00] *** gnrlbzik has quit IRC
[21:29:25] <zumba_addict> use ng-class tkdaj
[21:29:33] *** Xethron has joined #angularjs
[21:29:50] <zumba_addict> { visible : somescopevariablethatwillreturntrueORfalse }
[21:29:54] *** mjs2600 has quit IRC
[21:30:09] *** ctanga has joined #angularjs
[21:30:10] <tkdaj> what does visible do?
[21:30:11] *** mjs2600 has joined #angularjs
[21:30:12] *** danecando has joined #angularjs
[21:30:14] *** bostonaholic has joined #angularjs
[21:30:21] <Linell> s/visible/hover
[21:30:23] <zumba_addict> tkdaj: it will be a css entry
[21:30:33] *** walden|brb is now known as walden
[21:30:40] *** mjs2600 has quit IRC
[21:31:32] *** GeneralChoomin has quit IRC
[21:31:49] <tkdaj> the reason i am asking is because I am using bootstrap buttons for my page numbers in a pagination directive I am writing. Bootstrap has like 6 different colors of buttons, and I made it completely customizable which one the coder wants to choose. Can I still use ng-class on that?
[21:31:56] *** GeneralChoomin has joined #angularjs
[21:32:23] *** nya has joined #angularjs
[21:32:33] <Linell> ng-class just applies a class to the item, so yeah
[21:32:37] <tkdaj> like, they choose to send "btn btn-success", can I do ng-class="{'btn-success:hover' : true, 'btn-success' : false}"?
[21:33:00] *** simplyshipley has quit IRC
[21:33:01] *** IvailoStoianov has quit IRC
[21:33:03] <tkdaj> does this mean apply that class even if it isn't being hovered: btn-success:hover
[21:33:16] *** rburns has joined #angularjs
[21:33:34] *** az7ar_away has quit IRC
[21:34:15] <oniijin> dood u need to learn how css works
[21:34:24] <tkdaj> yeah, I don't know it too well yet :P
[21:34:32] <tkdaj> That's why I was asking
[21:34:34] *** elrabin_ has joined #angularjs
[21:34:40] <oniijin> u cant specify :hover state
[21:34:42] <Linell> Yeah, I guess the real question is why are you trying to trigger hover like that?
[21:35:23] <oniijin> whatever state you want the effect on, u'll ahve to specify that styling within that selector
[21:35:42] *** sheerun has joined #angularjs
[21:35:44] <tkdaj> I don't want to have to redefine all the stuff bootstrap defines in their hovers as new classes just so I can use them. Since I let the user send the class they want to apply to the button (bootstrap button classes) I want it to dynamically apply the correct color change when they select one of the page numbers
[21:36:00] *** dannyc has joined #angularjs
[21:36:06] <oniijin> you're using it wrong
[21:36:07] *** loverajoel has joined #angularjs
[21:36:34] *** joelwallis has quit IRC
[21:36:38] *** woah has joined #angularjs
[21:36:45] *** snurfery has quit IRC
[21:36:53] *** bjtitus has joined #angularjs
[21:37:03] *** joelwallis has joined #angularjs
[21:37:05] <Linell> If the button has the .btn.btn-default or whatever class already, and the user has bootstrap loaded (or your directive is somehow doing that) the hover should just work
[21:37:22] *** monir has quit IRC
[21:37:24] *** DuelShark has quit IRC
[21:37:51] <tkdaj> I'll send a plnkr to show what I mean :P
[21:37:56] <oniijin> smh
[21:38:01] *** bjtitus has quit IRC
[21:38:22] *** baweaver has joined #angularjs
[21:38:37] <tkdaj> so, when you click on the page numbers, it changes the page, but once you click away again they all are the same color so you don't know what page you are on
[21:38:59] *** elrabin has quit IRC
[21:39:04] <tkdaj> When you hover over the button it has the color I would want to use to show it is selected, but it doesn't stay once it is chosen
[21:39:16] *** bjtitus has joined #angularjs
[21:39:17] <tkdaj> I want to use that class when someone selects a page, so you know what page you are on
[21:39:26] *** caitp- has joined #angularjs
[21:39:36] *** umib0zu has joined #angularjs
[21:39:41] *** dannyc has quit IRC
[21:39:51] <tkdaj> And since you can choose whichever class you want for each button, it won't always be the same class when something is selected
[21:39:51] <oniijin> u set an active class
[21:40:07] <tkdaj> can I set the active class as the class that is used when the button is hovered on?
[21:40:13] <Linell> How do you keep track of the current page? I don't have time to look all the way through it, but your ng-model for activePage or whatever should take care of that
[21:40:14] *** dannyc has joined #angularjs
[21:40:15] <tkdaj> without having to redefine all those?
[21:40:16] <oniijin> wtf are u talking about
[21:40:19] *** caitp has quit IRC
[21:40:21] *** shpoont has quit IRC
[21:40:32] *** bjtitus has quit IRC
[21:40:33] <oniijin> define an active state
[21:40:33] *** chromatome has quit IRC
[21:40:37] <oniijin> set class to active
[21:40:38] <oniijin> done
[21:40:56] *** whunt has quit IRC
[21:41:05] <tkdaj> My problem is that the class which is on the numbers can be different
[21:41:16] *** Fishy has quit IRC
[21:41:22] <oniijin> then you're boned
[21:41:26] *** RobinBAwesome has joined #angularjs
[21:41:27] *** bePolite has joined #angularjs
[21:41:28] <tkdaj> so, I can't just apply a class like "currentPage" and have it work all the time
[21:41:41] <tkdaj> That's why I wanted to dynamically use the class that is used when you hover
[21:41:46] <tkdaj> because those colors work well
[21:41:56] <oniijin> no idea what goofy ass nav you're trying to make
[21:42:03] <tkdaj> :)
[21:42:05] <oniijin> is it a rainbow
[21:42:12] <tkdaj> I wouldn't use those colors, lol
[21:42:31] <Linell> Set the ng-model of the buttons to the thing you're using to keep track of which page you're on and you're at least headed down the right path
[21:42:32] <tkdaj> I was testing to make sure I could customize all the classes
[21:42:52] *** frankblizzar has quit IRC
[21:42:59] <oniijin> tkdaj 1) your question still isnt clear 2) do yourself a favor and at least try and learn some css basics
[21:43:02] <tkdaj> I have updated my code since that plnkr. It doesn't keep track of currentPage now on a scope varaible
[21:43:16] <tkdaj> it does*
[21:43:22] *** bjtitus has joined #angularjs
[21:43:25] <Linell> so then ng-model='thatScopeVariable'
[21:43:42] <tkdaj> ng-model on what?
[21:44:32]
<jaydubya> In this plunker, there is a scope.progClicked method in the custom directive. If the value is 0 or 2, the second alert shows the code works but if it is one, the value is not changed. I have looked at this for an hour and can't see why. Also, the colors should change but they don't. --> http://plnkr.co/edit/Fhur5JXidZeaXtGnH5EJ?p=preview
[21:44:50] *** mmeallin_ has quit IRC
[21:45:02] <bePolite> I think I need a class on how to inteprete errors in angularJs
[21:45:10] *** LossFor has joined #angularjs
[21:46:08] <oniijin> Linell he's having css issues imo, not bs or ng related really
[21:46:08] <tkdaj> okay, thanks
[21:46:29] *** derickf has quit IRC
[21:46:50] <Linell> oniijin: Oh definitely. But he seems to also not quite understand how the model stuff works
[21:47:01] <Linell> although I won't lie and say I read all the way through the plunker
[21:47:05] <oniijin> so let's settle on he has a lot of issues
[21:47:14] <masscrx> ;-)
[21:47:30] <tkdaj> I understand how the model works just fine..
[21:47:33] *** hardyvent has joined #angularjs
[21:47:39] <tkdaj> all of my classes are bound to variables in the model
[21:47:49] <tkdaj> I don't think you understand exactly what I need done
[21:47:55] <jaydubya> lol, masscrx, if someone looks, you are the one appreciated
[21:48:47] <Foxandxss> jaydubya: I don't follow mate
[21:49:03] <masscrx> jaydubya: you want a money or what ?
[21:49:03] <jaydubya> Foxandxss: ???
[21:49:10] <Foxandxss> jaydubya: your issue
[21:49:15] *** johndoe_ has joined #angularjs
[21:49:40] <masscrx> please give your account and amount and you will be appreciated as well ;]
[21:49:48] *** johndoe_ has quit IRC
[21:50:00] <Foxandxss> hey, I am the first on the money queue
[21:50:01] <Foxandxss> !
[21:50:15] <masscrx> hehe
[21:50:52] <jaydubya> Foxandxss: yeah, it's weird. I am alerting the status value before and after the increment. For a starting value of 0 and of 2, the logic is followed. But for the ones that start as a 1, they stay at 1 and I can't figure out why
[21:51:10] *** whitebook has joined #angularjs
[21:51:40] *** areologist has joined #angularjs
[21:51:54] <jaydubya> masscrx: I just thought it was funny that you typed appreciated and not appreciative. I was not trying to be mean
[21:52:17] *** alp82 has joined #angularjs
[21:52:20] *** whunt has joined #angularjs
[21:52:48] *** jacuqesdancona has joined #angularjs
[21:52:54] *** nfroidure has quit IRC
[21:53:00] *** woebtz has joined #angularjs
[21:53:22] *** woebtz has quit IRC
[21:53:36] *** Txandy has quit IRC
[21:53:45] *** woebtz has joined #angularjs
[21:54:06] *** hnomad has quit IRC
[21:54:42] *** umib0zu has quit IRC
[21:54:58] *** darrin has joined #angularjs
[21:56:09] <hardyvent> is there a way in angular to pop the current controller?
[21:56:22] <kba> what do you mean pop?
[21:56:27] *** naneau has quit IRC
[21:56:42] *** rho has joined #angularjs
[21:56:42] *** rho has joined #angularjs
[21:56:52] <hardyvent> return control to a previous or parent controller
[21:56:53] *** adpirz has joined #angularjs
[21:57:05] <masscrx> jaydubya: Ahh ok, indeed
[21:57:14] *** tech2 has joined #angularjs
[21:57:24] <kba> hardyvent: if you have a controller with a child controller, the first controller is still "in control"
[21:57:26] *** Skrypter has joined #angularjs
[21:57:26] *** jacuqesdancona has quit IRC
[21:58:01] <Foxandxss> playing with inherited controllers is a dangerous game
[21:58:20] *** sheerun has quit IRC
[21:58:36] <masscrx> Foxandxss: No risk no fun ;>
[21:58:54] <Foxandxss> yup, until the extra hours comes
[21:59:03] <jaydubya> Foxandxss: amen!
[21:59:04] <hardyvent> it probably better described as navigating back
[21:59:06] *** gurke_ has quit IRC
[22:00:05] *** a_ghost_irl has joined #angularjs
[22:00:21] *** Aliks has joined #angularjs
[22:00:39] <hardyvent> but I wondered if a controller could end its lifecycle and cause a backward navigation
[22:00:43]
<Siecje> How come the code in the factory (not in a function) does not get executed before the function call https://dpaste.de/EH4g#L6,25
[22:00:58] *** prosper_ has joined #angularjs
[22:01:23] *** adpirz has quit IRC
[22:01:43] *** davek_ has joined #angularjs
[22:01:43] *** davek_ has joined #angularjs
[22:01:50] *** amirn has quit IRC
[22:02:23] <Foxandxss> Siecje: andd what is the return?
[22:02:42] *** eBureau has joined #angularjs
[22:02:54] <jieryn> hi :) i'm using angular 1.3.0 -- is there any helper that will let me drag/drop and reorder columns in a table?
[22:03:00] <Foxandxss> maybe not there
[22:03:03] <kba> hardyvent: sure, you can make the controller redirect you somewhere
[22:03:04] *** edy has quit IRC
[22:03:05] <Foxandxss> I don't see the closing tag
[22:03:10] <Foxandxss> maybe you didn't copy it entirely
[22:03:16] <kba> hardyvent: I assume you're using a router and have one controller for each route?
[22:04:00] *** patrick99e99 has joined #angularjs
[22:04:18] *** robdubya has quit IRC
[22:04:39] *** prosper_ has quit IRC
[22:05:11] *** whitebook has quit IRC
[22:05:13] <Foxandxss> Siecje: maybe line 21 triggering?
[22:05:20] <Foxandxss> assigning null to it
[22:05:43] *** sandelius has quit IRC
[22:05:46] <hardyvent> ok
[22:05:49] <Siecje> Foxandxss: If I put a break point on var _agenda it never gets hit
[22:06:12] *** _dizzy has joined #angularjs
[22:06:29] *** conan_the_destro has quit IRC
[22:06:47] *** conan_the_destro has joined #angularjs
[22:06:55] <Foxandxss> if you're able to see that log on 25, that code should run
[22:07:02] *** baweaver has quit IRC
[22:07:22] *** richiebkr has quit IRC
[22:07:51] *** a_ghost_irl has quit IRC
[22:07:54] *** doosy has joined #angularjs
[22:08:22] *** alinouman has quit IRC
[22:09:12] *** IJNX has joined #angularjs
[22:09:26] *** patrick99e99 has quit IRC
[22:09:36] *** japhar81 has joined #angularjs
[22:09:41] *** shpoont has joined #angularjs
[22:09:52] <IJNX> how do you test factory api using $q promises with karma?
[22:09:53] *** robdubya has joined #angularjs
[22:10:17] <Foxandxss> spy its method to return a resolved promised
[22:10:31] <Foxandxss> oh wait, testing the factory itself
[22:10:35] <IJNX> I want to test the _factory_
[22:10:36] <IJNX> yes
[22:10:39] *** _dizzy has quit IRC
[22:10:47] <Foxandxss> sorry, bad day
[22:10:48] <Foxandxss> :P
[22:10:49] *** AngularUI has joined #angularjs
[22:10:49] <AngularUI> ng-grid/master c5ded6b Xava Du: Misspelled option name
[22:10:50] <AngularUI> ng-grid/master 27ae648 Paul: Merge pull request #2051 from xavadu/master...
[22:10:50] *** AngularUI has left #angularjs
[22:11:21] <IJNX> promises doesn't seem to be resolving, not even with $rootScope.$digest() or with $rootScope.$apply()
[22:11:30] <Foxandxss> oh dinner time
[22:11:31] <Foxandxss> they should
[22:11:33] <jaydubya> Foxandxss: if I use the '=' instead of '@' for cat(egory), would Angular know enough to update $scope.loan.its_list even though I don't pass that in?
[22:11:38] <Foxandxss> if it is $http, use $httpBackend
[22:11:47] <Foxandxss> no
[22:11:49] <Foxandxss> brb
[22:11:51] *** damain has quit IRC
[22:11:52] <IJNX> pouchdb
[22:11:59] <IJNX> no backend.
[22:12:00] *** richiebkr has joined #angularjs
[22:12:19]
<fairuz> Hi guys. I have some weird problem where I can set $scope.foo and it appears fine in the view, but when I change the value from the view (it's an input), it does not get reflected in the controller. http://pastebin.com/q8dqCycN In the storeData(), the value of $scope.synchost is still the old one.
[22:12:26] *** DLSteve has joined #angularjs
[22:12:28] <jaydubya> Foxandxss: LOL, I actually tried it and it failed, so I was just asking to make sure it wasn't my ineptness
[22:12:31] *** Latros-OS has quit IRC
[22:12:44] <tkdaj> hey, Foxandxss, could you take a look at something for me?
[22:13:30] *** shpoont has quit IRC
[22:13:53] *** bostonaholic has quit IRC
[22:14:01] *** richiebk_ has joined #angularjs
[22:14:18] <Linell> fairuz: could you create a plunker of the problem? It sounds like a scoping problem
[22:14:19] *** \du has quit IRC
[22:14:42] *** speaking1ode is now known as speakingcode
[22:15:37] *** baweaver has joined #angularjs
[22:15:43] *** bengilli_ has joined #angularjs
[22:15:58] *** bkuberek_ has quit IRC
[22:16:04] *** dhcar is now known as dhcar_AFK
[22:16:40] *** honestb has joined #angularjs
[22:16:41] *** richiebkr has quit IRC
[22:16:46] *** Xethron has quit IRC
[22:17:15] *** doosy has quit IRC
[22:17:20] *** mennea has quit IRC
[22:17:29] *** mjs2600 has joined #angularjs
[22:17:58] *** mennea has joined #angularjs
[22:18:01] <IJNX> that's one weird piece of code...
[22:18:19] *** jpiasetz has joined #angularjs
[22:18:23] *** bengillies has quit IRC
[22:18:30] *** lsiv568 has quit IRC
[22:18:42] *** bostonaholic has joined #angularjs
[22:18:46] *** richiebk_ has quit IRC
[22:18:55] *** woebtz has joined #angularjs
[22:19:09] *** Shrooms has joined #angularjs
[22:19:48] *** devinandrews has quit IRC
[22:20:06] *** devinandrews has joined #angularjs
[22:20:23] *** bengilli_ has quit IRC
[22:20:36] *** alanp has quit IRC
[22:20:42] <fairuz> Linell: Ok wait a sec. I'll try to reproduce it with minimal code
[22:20:45] *** alanp has joined #angularjs
[22:22:31] *** jstroem has quit IRC
[22:22:36] *** edy has joined #angularjs
[22:23:13] *** jstroem has joined #angularjs
[22:23:21] *** doosy has joined #angularjs
[22:23:28] <woebtz> Can I pass params (specified in HTML) thru ui-sref (ui-router) or will I need a custom ng-click? I'd like to have an anchor link that will take me to a particular state and preserve some params for $stateParams.
[22:23:46] <woebtz> ui-sref-opt does not appear to pass thru to $stateParams
[22:23:49] <baweaver> robdubya: Would SailsJS work well for an event framework?
[22:23:58] <robdubya> define event framework
[22:24:02] <ctanga> ui-sref=“statename({ paramname: scopevariable })”
[22:24:07] <oniijin> woebtz are u calling state, and passing objects
[22:24:11] *** JmZ_ is now known as JmZ
[22:24:11] <oniijin> yeah like that =p
[22:24:17] <woebtz> ah, thanks let me try that
[22:24:24] <fairuz> IJNX: weird in what sense?
[22:24:47] *** juanpablo_ has joined #angularjs
[22:24:58] <baweaver> fair point. Handle jobs in real time, socket push/pull events
[22:25:05] *** lsiv568 has joined #angularjs
[22:25:09] *** cohitre has joined #angularjs
[22:25:24] <baweaver> basically Rails can't handle it and Ruby implementations of event/sockets are shoddy at best.
[22:25:26] <IJNX> fairuz: doesn't tell much of the context since it's surrounding context is hidden.
[22:25:48] *** prosper_ has joined #angularjs
[22:25:58] *** bjtitus has quit IRC
[22:26:04] <robdubya> baweaver no reason why not. its primarily built around model events (eg updated/created/etc) but you have access to the 'low-level' socket.io events
[22:26:17] *** crewshin has quit IRC
[22:26:23] *** Aliks has quit IRC
[22:26:31] <baweaver> I'll have to play with it a bit then.
[22:26:39] *** dannyc has quit IRC
[22:26:43] *** NormySan has quit IRC
[22:26:50] *** lsiv568 has quit IRC
[22:26:55] <baweaver> Marginally tempted to scrap parts of Rails as they're getting in the way of anything realtime.
[22:26:58] *** bjtitus has joined #angularjs
[22:27:06] *** mariusz has quit IRC
[22:27:16] <fairuz> IJNX: umm so it's weird? It's the entire controller actually. Just a small one
[22:27:21] *** KostyaChoporov has quit IRC
[22:27:35] *** jstroem has quit IRC
[22:27:44] *** edy has quit IRC
[22:28:03] *** bjtitus has quit IRC
[22:28:04] *** Shilon has joined #angularjs
[22:28:07] *** Makpoc has quit IRC
[22:28:28] *** prosper_ has quit IRC
[22:28:40] *** stschwark has joined #angularjs
[22:28:41] <IJNX> fairuz: is that setup some external service that isn't part of angular digest loop? that would cause it.
[22:28:49] *** mennea has quit IRC
[22:29:19] *** edy has joined #angularjs
[22:29:24] *** bjtitus has joined #angularjs
[22:29:24] <IJNX> fairuz: you can try to put $timeout(function() { $scope.synchost = synchost.value; }, 0); and see if it fixes it.
[22:29:33] *** RobinBAwesome has quit IRC
[22:29:44] *** Makpoc has joined #angularjs
[22:29:45] *** Aliks has joined #angularjs
[22:29:46] <fairuz> IJNX: That's what I thought at first
[22:29:47] *** vassagus has joined #angularjs
[22:30:13] <fairuz> but as I said earlier, the value from the service is fine, I can view it
[22:30:24] *** richiebkr has joined #angularjs
[22:30:37] <woebtz> ctanga: oniijin: Does ui-sref get re-evaluated? I'm using <a ui-sref="root.home({homeId: '{{someRootScopeVar}}')">, but the live href attribute only reflects the root.home URL. someRootScopeVar is set a bit in the future...
[22:30:39] <fairuz> I mean the value shown in the view is what I expect from the service Setup
[22:30:58] <ctanga> <a ui-sref="root.home({homeId: someRootScopeVar )">
[22:31:04] *** mariusz has joined #angularjs
[22:31:08] <oniijin> dont interpolate
[22:31:11] <oniijin> just use the var
[22:31:21] <Foxandxss> IJNX: show me a little code of your factory
[22:31:51] <woebtz> thanks! that works and is less ugly :]
[22:31:59] *** wallerdev has joined #angularjs
[22:32:15] *** richiebkr has quit IRC
[22:32:22] *** richiebkr has joined #angularjs
[22:32:25] *** joelwallis has quit IRC
[22:32:43] *** snurfery has joined #angularjs
[22:32:52] <oniijin> lol {}{}{}{}{} all the things
[22:32:55] *** bePolite has left #angularjs
[22:33:16] *** tristanp has quit IRC
[22:33:46] *** wallerdev has quit IRC
[22:33:47] <ioudas> how do i reference a ng-model from another element that is on a view? I cant seem to get access to it.... and I need the values from the check box added to my controller?
[22:34:08] *** tristanp has joined #angularjs
[22:34:12] *** elrabin_ has quit IRC
[22:34:55] <dmack> ioudas: is it in the same scope?
[22:35:09] *** wallerdev has joined #angularjs
[22:35:26] *** Aliks has quit IRC
[22:35:54] *** akrikos has quit IRC
[22:35:56] <ioudas> im not sure
[22:35:58] <dmack> ng-model should automatically make it accessible to your controller.
[22:36:02] <dmack> code?
[22:36:10] <ioudas> sure
[22:36:13] <ioudas> 1 sec
[22:36:16] *** Jim_D has joined #angularjs
[22:36:29] <Jim_D> Hi all, has anyone got experience using Prerender.Io?
[22:36:50] *** ctanga has quit IRC
[22:37:08] *** narutimateum has joined #angularjs
[22:37:55] *** fedenunez has quit IRC
[22:38:42] *** tristanp has quit IRC
[22:38:44] *** mzabriskie has quit IRC
[22:38:45] *** emmesswhy has joined #angularjs
[22:39:29] *** Siecje has left #angularjs
[22:39:52] *** doosy has quit IRC
[22:39:58] *** damain has joined #angularjs
[22:40:28] *** Underbyte has joined #angularjs
[22:40:43] *** ioudas has quit IRC
[22:40:55] *** josh-k has joined #angularjs
[22:41:13] *** ioudas has joined #angularjs
[22:41:40] *** ctanga has joined #angularjs
[22:42:01] *** honestb has quit IRC
[22:42:11] *** zzing has joined #angularjs
[22:42:23] <areologist> Greetings, friends.
[22:42:25] *** macobo has quit IRC
[22:42:57] <ctanga> aha, it’s my favorite research scientist
[22:42:58] *** crewshin has joined #angularjs
[22:43:09] *** rburns has quit IRC
[22:43:53] <ASUChander> If I'm using $scope.$watch to watch a variable, is there a way I can trigger the $watch er without the variable changing?
[22:44:09] <ctanga> why?
[22:44:13] *** dannyc has joined #angularjs
[22:44:27] *** Nivag has quit IRC
[22:45:04] <ASUChander> ctanga: Turns out I need to call that function if another variable changes also.
[22:45:09] <seriema> ASUChander: refactor out the function you call in $watch, and just call that?
[22:45:15] *** ethlor has joined #angularjs
[22:45:20] <ASUChander> Yeah, I was thinking that tool seriema
[22:45:26] *** dannyc has quit IRC
[22:45:30] <seriema> YOU'RE the tool! :(
[22:45:34] *** Jim_D has quit IRC
[22:45:35] <ctanga> yeah do that
[22:45:39] <seriema> :P
[22:45:40] <ASUChander> haha, too, not tool
[22:45:50] <ASUChander> sorry about that :-) thanks for the help seriema and ctanga
[22:45:57] <seriema> np. it's the cleanest way
[22:45:58] <ctanga> it’s an object and you can register the same instance for both $watch
[22:46:08] <Underbyte> question: is #sailsjs the place to get answers on skipper?
[22:46:18] *** cboden has quit IRC
[22:46:26] <ctanga> var myfn = function() { // do stuff }. $scope.$watch(“var1”, myfn); $scope.$watch(“var2”, myfn);
[22:46:59] *** szymek2 has joined #angularjs
[22:47:19] *** thomasreggi has joined #angularjs
[22:47:22] *** RobinBAwesome has joined #angularjs
[22:47:23] *** spatialbrew has quit IRC
[22:47:30] *** Nivag has joined #angularjs
[22:47:54] *** gnrlbzik has joined #angularjs
[22:47:58] *** oncenull has quit IRC
[22:48:10] *** szymek2 is now known as szymek
[22:48:11] <IJNX> Underbyte: atleast they are using it...
[22:48:17] *** hnomad has joined #angularjs
[22:48:26] *** oncenull has joined #angularjs
[22:48:51] *** doosy has joined #angularjs
[22:49:15] *** szymek_ has quit IRC
[22:49:17] <Underbyte> well, i'm trying to figure out how to call skipper-s3 from within a custom skipper adapter
[22:50:00] <robdubya> Underbyte that does't really make sense tbh, typically you'd want to pipe it through your transformer stream, then to skipper
[22:50:06] <robdubya> streams mothafucka, do you speak them
[22:50:15] <sweeper> more than meets the eye
[22:50:20] *** mary5030 has quit IRC
[22:50:36] *** Shilon has quit IRC
[22:50:40] <Foxandxss> or am I on the wrong path?
[22:50:48] *** samuel02 has quit IRC
[22:51:02] *** naneau has joined #angularjs
[22:51:03] *** darrin has quit IRC
[22:51:12] *** Reskp has joined #angularjs
[22:51:13] *** antons__ has quit IRC
[22:51:18] *** AngularUI has joined #angularjs
[22:51:18]
<AngularUI> [ng-grid] PaulL1 closed pull request #2029: Fix #1856(sorting): row order to follow data order when useExternalSort (master...followsourcearray2) http://git.io/d7yPRQ
[22:51:18] *** AngularUI has left #angularjs
[22:51:42] *** antons__ has joined #angularjs
[22:51:42] <Underbyte> robDubya: i'm very interested in whatever the hell you just said lol
[22:51:44] *** bjtitus has quit IRC
[22:51:53] *** qdk has quit IRC
[22:52:04] <areologist> Anyone used angular-materials?
[22:52:04] *** AngularUI has joined #angularjs
[22:52:04] <AngularUI> ng-grid/master d5d826b KabraKosmica: Update es.js
[22:52:05] <AngularUI> ng-grid/master e4a045b Paul: Merge pull request #2043 from KabraKosmica/patch-1...
[22:52:05] *** AngularUI has left #angularjs
[22:52:07] *** armitage7 has joined #angularjs
[22:52:16] *** Shilon has joined #angularjs
[22:52:40] *** doosy_ has joined #angularjs
[22:52:47] <areologist> no 's', just angular material
[22:52:53] *** phao has joined #angularjs
[22:52:55] *** phao has left #angularjs
[22:53:17] *** oncenull has quit IRC
[22:53:50] *** AngularUI has joined #angularjs
[22:53:50]
<AngularUI> [ng-grid] PaulL1 closed pull request #2036: include filter height when calculating grid height (master...includeFiltersGridHeight) http://git.io/ghBaXA
[22:53:50] *** AngularUI has left #angularjs
[22:54:21] *** AngularUI has joined #angularjs
[22:54:21] <AngularUI> ng-grid/master 8bd30bc novice3030: grid menu RTL positioning
[22:54:22] <AngularUI> ng-grid/master f0e4a7a Paul: Merge pull request #2052 from novice3030/master...
[22:54:22] *** AngularUI has left #angularjs
[22:54:34] *** emmesswhy has quit IRC
[22:54:50] *** JmZ is now known as JmZ_
[22:55:01] *** baweaver has quit IRC
[22:55:02] *** davek_ has quit IRC
[22:55:12] *** zivester has joined #angularjs
[22:55:15] *** benjamingr has joined #angularjs
[22:55:49] <IJNX> foxandxss: hmm…
[22:56:20] *** doosy has quit IRC
[22:56:27] *** mzabriskie has joined #angularjs
[22:56:38] *** WeeJeWel has joined #angularjs
[22:57:02] *** bjtitus has joined #angularjs
[22:58:04] *** mary5030 has joined #angularjs
[22:58:58] *** doosy_ has quit IRC
[22:59:06] *** hardyvent has quit IRC
[22:59:29] *** Grokling_ has joined #angularjs
[22:59:42] *** baweaver has joined #angularjs
[23:00:27] *** iksik has quit IRC
[23:00:48] *** frankblizzar has joined #angularjs
[23:00:54] <Foxandxss> IJNX: delete the spy
[23:01:01] <Foxandxss> the spy will prevent the original function to be called
[23:01:12] *** zz_night-owl is now known as night-owl
[23:01:23] <IJNX> foxandxss: Yeh, noticed that.
[23:01:35] *** mspier is now known as mspier|away
[23:01:41] <IJNX> foxandxss: weird. this works ,but 2.0.3 jasmine in my local copy doesn't...
[23:01:51] <IJNX> foxandxss: and I'm using karma
[23:01:52] *** mspier|away is now known as mspier
[23:01:53] *** derrick13 has quit IRC
[23:02:02] <Foxandxss> what output you get?
[23:02:45] *** iribarne has quit IRC
[23:03:10] *** JayFK has joined #angularjs
[23:03:17] <IJNX> 'hello'
[23:03:19] <IJNX> :)
[23:03:31] *** zivester has quit IRC
[23:03:42] *** LossFor has quit IRC
[23:04:00] <IJNX> and it should be the rejected value
[23:04:13] <IJNX> deferred.reject(err);
[23:04:46] *** teeray has quit IRC
[23:04:52] *** ctanga has quit IRC
[23:05:00] *** ehalas has quit IRC
[23:05:09] *** ctanga has joined #angularjs
[23:05:16] <IJNX> it works nicely in plunker…
[23:05:24] *** ehalas has joined #angularjs
[23:05:39] <IJNX> well, that gives some how atleat. I need to check my environment and maybe skip karma
[23:05:47] *** ceephax has quit IRC
[23:05:58] <IJNX> s/how/hope/
[23:06:28] *** baweaver has quit IRC
[23:06:30] *** g33k5z has joined #angularjs
[23:06:47] <IJNX> I didn't have any problems with the code, but the problems started whey I tried to switch to BDD mode...
[23:07:03] *** baweaver has joined #angularjs
[23:07:26] *** derrick13 has joined #angularjs
[23:07:26] *** Schtive has quit IRC
[23:07:31] *** LossFor has joined #angularjs
[23:07:41] *** Grokling_ has quit IRC
[23:07:51] *** dnewkerk has joined #angularjs
[23:08:32] *** FIFOd[a] has quit IRC
[23:08:59] *** hnomad has quit IRC
[23:09:08] <IJNX> I have to get some sleep and try to fix it tomorrow.Thanks foxandxss.
[23:09:21] *** munzmania has joined #angularjs
[23:09:28] *** zivester has joined #angularjs
[23:09:37] *** _ritchie_ has joined #angularjs
[23:10:11] <jaydubya> can the ng-model for a directive be an object?
[23:10:25] *** AlexZan has quit IRC
[23:10:45] *** Aliks has joined #angularjs
[23:11:07] <lrvick> Anyone know why a location.path('#/someroute') would take like 2 seconds to load, just a dumb 'hwello world' template with no controller, where location.href('#/someroute') would load instantly?
[23:11:20] <lrvick> does location.path make angular do extra work that location.href does not?
[23:11:22] *** jaredwilli has quit IRC
[23:12:03] <IJNX> foxandxss: oh. It seems to be the pouchdb promises that causes something. I resolved the promise immediately and it worked.
[23:12:13] *** dc_ has quit IRC
[23:12:30] *** Fishy__ has joined #angularjs
[23:12:40] *** seriema has quit IRC
[23:12:46] *** mary5030 has quit IRC
[23:13:13] *** seriema has joined #angularjs
[23:13:33] *** crakrjak_respawn has joined #angularjs
[23:13:56] *** fedenunez has joined #angularjs
[23:14:53] *** ArTiSTiX has quit IRC
[23:15:50] <Foxandxss> jaydubya: ngModel is not the issue there
[23:15:58] *** dmack has quit IRC
[23:16:11] <Foxandxss> IJNX: you just need to resolve pouchdb promise like I Showed you with spyOn
[23:16:16] <Foxandxss> you're not interested on what it does
[23:16:49] *** crakrjak_respawn has quit IRC
[23:17:00] *** davek_ has joined #angularjs
[23:17:30] <IJNX> foxandxss, that would propably do it. great.
[23:17:35] *** tfennelly has quit IRC
[23:17:53] *** seriema has quit IRC
[23:17:56] *** mjs2600 has quit IRC
[23:18:04] <areologist> I have a UI element that is basically a div that slides up and can display arbitrary content. Would it be appropriate to make a directive out of this?
[23:18:12] <jaydubya> Foxandxss: I tried everything in Google except the last two pages (they were in Swahili) and I can't see how I can get the value, affect the color, trigger the persistence, pop a toaster unless I can pass in the status which I am AND give the freakin' directive access to scope
[23:18:13] *** mjs2600 has joined #angularjs
[23:18:16] <IJNX> seems that there is no way to resolve pouchdb promise from withing angular.
[23:18:24] *** crakrjak_respawn has joined #angularjs
[23:18:35] *** desp has joined #angularjs
[23:18:41] *** mjs2600 has quit IRC
[23:19:33] <areologist> I rarely make directives because I'm worried about introducing complexity, but in this case it seems logical for reusability
[23:20:40] *** elrabin has joined #angularjs
[23:20:43] *** toad-br has quit IRC
[23:20:46] *** bengillies has joined #angularjs
[23:21:07] <Foxandxss> jaydubya: it is a weird issue
[23:21:14] <Foxandxss> but I am hell asleep
[23:21:15] *** elrabin has joined #angularjs
[23:21:17] <areologist> Put another way, are containers like modal dialogs (in this case a slide-up form) reasonable candidates for directives?
[23:21:22] *** desp has quit IRC
[23:21:25] *** mmealling has joined #angularjs
[23:21:31] *** fedenunez has quit IRC
[23:21:32] *** fedenunez1 has joined #angularjs
[23:21:34] <areologist> Not assuming reuse between projects, just throughout a single app.
[23:21:47] <Foxandxss> IJNX: you have a big testing issue in your factory
[23:22:04] <IJNX> areologist: try it and see if it fits.
[23:22:17] *** AlSquirrel has quit IRC
[23:22:27] <Foxandxss> IJNX: can you tell me why DI is GOOD?
[23:22:36] *** monir has joined #angularjs
[23:22:44] *** sonicparke|bradm has quit IRC
[23:22:49] <IJNX> foxandxss: no :)
[23:23:01] <Foxandxss> because you can swap them for mocks
[23:23:03] <Foxandxss> in any time
[23:23:09] *** frem_ has quit IRC
[23:23:12] *** mspier is now known as mspier|away
[23:23:23] <Foxandxss> so if a factory requires ('$http')
[23:23:27] *** mspier|away is now known as mspier
[23:23:30] *** soomro786 has quit IRC
[23:23:34] <jaydubya> DI makes Angular "plug-and-play" ... kinda
[23:23:38] <Foxandxss> you can always instantiate your factory in a test using something different than $http
[23:23:42] <Foxandxss> like myHttp
[23:23:49] <IJNX> foxandxss: what you suggested made me thing that I need own factory for just for pouch access.
[23:23:49] <Foxandxss> so you can test your factory with ease
[23:23:55] <jaawerth> hmm what are people using for wireframing tools these days? Balsamiq?
[23:24:08] <Foxandxss> IJNX: a service just to hold PouchDB
[23:24:09] *** whitebook has joined #angularjs
[23:24:09] *** vlad_starkov has quit IRC
[23:24:16] <Foxandxss> something like
[23:24:22] <areologist> I use Balsamiq, but I don't really know what is popular these days.
[23:24:24] *** syzygy_ has joined #angularjs
[23:24:28] *** bkuberek has joined #angularjs
[23:24:35] <Foxandxss> app.constant('PouchDB', window.PouchDB);
[23:24:39] <Foxandxss> something like that IJNX
[23:24:42] <IJNX> foxandxss: completely agree
[23:24:44] <Foxandxss> so you inject that constant in your factory
[23:24:50] *** hnomad has joined #angularjs
[23:24:53] <Foxandxss> no more code changes
[23:24:55] <Foxandxss> in the test
[23:24:58] <jaawerth> areologist: all I seem to find are Balsamiq, a bunch of web apps, and a bunch of $200 programs (which: haha, no)
[23:25:02] <Foxandxss> you override that constant with a new one
[23:25:04] *** edy_ has joined #angularjs
[23:25:08] *** anivemin has joined #angularjs
[23:25:13] <syzygy_> can anyone recommend a way to filter a city/state text input w/ a state select menu, perhaps a directive or something readily available?
[23:25:15] *** richiebkr has quit IRC
[23:25:16] <jaawerth> or Pencil, which is free. I'm evaluating that right now
[23:25:17] *** vlad_starkov has joined #angularjs
[23:25:20] <Foxandxss> just a constructor (to be able to "new") and that will have a get method which will resolve inmediately
[23:25:28] *** munzmania has quit IRC
[23:25:31] *** robdubya has quit IRC
[23:25:40] <Foxandxss> so you can test your directive with eeease
[23:25:43] *** frankblizzar has quit IRC
[23:26:04] <IJNX> areologist: I use AD, he is really good.
[23:26:09] *** fedenunez1 has quit IRC
[23:26:12] <IJNX> ;P
[23:26:14] *** bengillies has quit IRC
[23:26:22] *** lukegb has joined #angularjs
[23:26:33] <IJNX> but he is > $200
[23:26:37] *** edy has quit IRC
[23:26:58] *** Efrem has quit IRC
[23:27:06] <areologist> yikes
[23:27:12] *** cotko has joined #angularjs
[23:28:02] <jaawerth> so far Pencil seems inferior to Balsamiq. Guess I'll just have to buy it
[23:29:00] *** zumba_addict has quit IRC
[23:29:03] * IJNX goes to dream of a better world where everything just flows….
[23:29:10] *** IJNX has quit IRC
[23:29:31] <Foxandxss> is that for web design prototypes?
[23:29:31] *** vlad_starkov has quit IRC
[23:29:44] *** crakrjak_respawn has quit IRC
[23:29:56] <jaawerth> pencil is a general GUI prototyping tool that also does web stuff
[23:30:03] *** s00pcan has quit IRC
[23:30:05] <jaawerth> Balsamiq is more specifically for web design wireframing
[23:30:11] <Foxandxss> i see
[23:30:28] <Foxandxss> I would love to improve my css skills, but too many things to do
[23:30:29] *** ngbot has joined #angularjs
[23:30:29] <ngbot> angular.js/v1.2.x c50a047 Michael James: Update q.js...
[23:30:30] *** ngbot has left #angularjs
[23:30:30] *** mel| has joined #angularjs
[23:30:32] <Foxandxss> so little time
[23:30:33] *** vlad_starkov has joined #angularjs
[23:30:33] *** robdubya has joined #angularjs
[23:30:36] <Foxandxss> and still so poor
[23:30:41] <Foxandxss> what kind of life is this?
[23:30:42] <Foxandxss> haha
[23:30:47] <jaawerth> Foxandxss: this is more about sketching out functional designs before you actually sit down with HTML/CSS
[23:31:06] <mel|> wow, what a timing :)
[23:31:08] *** brettfrable has joined #angularjs
[23:31:09] *** AlexZan has joined #angularjs
[23:31:17] *** ngbot has joined #angularjs
[23:31:17]
<ngbot> [angular.js] caitp force-pushed v1.2.x from c50a047 to d87b791: http://git.io/MvpqIA
[23:31:17] <ngbot> angular.js/v1.2.x d87b791 Michael James: docs($q): added IE8 warning to promise.catch()...
[23:31:18] *** ngbot has left #angularjs
[23:31:18] <jaawerth> more of a design process thing. I've decided for our intranet portal I need to take the full design approach, so now I need to buy the software
[23:31:22] *** munzmania has joined #angularjs
[23:31:23] <Foxandxss> well, yeah, but worth nothing to be able to do that if you can't code it later
[23:32:06] <jaawerth> syzygy_: can you elaborate a bit on what kind of functionality you need?
[23:32:35] *** jareddlc_ has joined #angularjs
[23:32:37] *** braidn has quit IRC
[23:32:43] *** jareddlc_ has quit IRC
[23:32:58] *** Shilon has quit IRC
[23:33:05] *** Reskp has quit IRC
[23:33:25] *** Reskp has joined #angularjs
[23:33:38] *** thomasreggi has quit IRC
[23:34:51] *** jagga_ has quit IRC
[23:35:03] *** g3funk has joined #angularjs
[23:35:51] *** koken has quit IRC
[23:36:20] *** syzygy_ has quit IRC
[23:36:25] *** jareddlc has quit IRC
[23:36:28] *** btyne has joined #angularjs
[23:36:39] <jaydubya> Foxandxss: I guess I could create 64 directives so the category would be hard-coded and then bind $scope.loan to the ng-model but that doesn't seem to be the ng-way
[23:37:44] *** Sky[x] has quit IRC
[23:37:46] *** syzygy_ has joined #angularjs
[23:38:33] <robdubya> good god no
[23:38:36] *** moafoca has quit IRC
[23:38:41] *** scythe__ has joined #angularjs
[23:38:44] *** jolts has quit IRC
[23:38:59] *** livingstn has quit IRC
[23:39:11] <Foxandxss> yeah, no
[23:39:26] *** qdk has joined #angularjs
[23:39:30] *** jonnybro has quit IRC
[23:39:40] *** beloculus has joined #angularjs
[23:39:41] *** michaelSharpe has quit IRC
[23:40:04] <jaydubya> OK, so "outside-the-box" is sometimes "inside-the-trash"
[23:40:41] <robdubya> i missed the original q
[23:40:51] <robdubya> @Foxandxss yes, i'm also broke as a joke right now
[23:41:10] *** BobbieBarker has quit IRC
[23:41:22] *** freelyfred has joined #angularjs
[23:41:26] *** imehesz has quit IRC
[23:41:51] *** jlambert121 has quit IRC
[23:42:08] *** mjs2600 has joined #angularjs
[23:42:32] *** WeeJeWel has quit IRC
[23:42:41] <jaydubya> I am alerting the status value before the increment and after the increment. When the initial value is 0 or 2, it works perfectly but if the initial value is 1, the increment is ignored. PLUS I need the colors to change with the increment
[23:42:45] *** Sky[x] has joined #angularjs
[23:43:18] *** mmealling has quit IRC
[23:43:43] <jaydubya> Foxandxss: refactored my attempt earlier today and it is absolutely awesome except for those 2 issues and this is like the main GUI for our analysts
[23:43:53] *** marshall has quit IRC
[23:43:58] *** mel| has quit IRC
[23:44:06] *** loverajoel has quit IRC
[23:44:33] *** Reskp has quit IRC
[23:45:49] *** adpirz has joined #angularjs
[23:45:53] *** btyne has quit IRC
[23:45:54] *** oncenull has joined #angularjs
[23:46:09] *** crakrjak_respawn has joined #angularjs
[23:46:20] *** pingupingu has joined #angularjs
[23:46:22] *** arriu has quit IRC
[23:48:05] *** tfennelly has joined #angularjs
[23:48:14] *** Nijikokun has quit IRC
[23:48:17] *** Paul_B_Hartzog has quit IRC
[23:48:22] *** stschwark has quit IRC
[23:48:38] *** Xethron has joined #angularjs
[23:48:57] *** Nijikokun has joined #angularjs
[23:49:47] *** Nijikokun has joined #angularjs
[23:50:07] *** syzygy_ has quit IRC
[23:50:17] *** nemothekid has quit IRC
[23:50:27] *** adpirz has quit IRC
[23:51:17] *** zivester has quit IRC
[23:51:19] *** s00pcan has joined #angularjs
[23:51:25] *** samuel02 has joined #angularjs
[23:51:31] *** g33k5z has quit IRC
[23:51:43] *** ArTiSTiX has joined #angularjs
[23:51:56] *** g33k5z has joined #angularjs
[23:52:30] *** josh-k has quit IRC
[23:52:33] *** edy_ has quit IRC
[23:53:01] *** josh-k has joined #angularjs
[23:54:13] *** AngularUI has joined #angularjs
[23:54:13] <AngularUI> ng-grid/rewrite-cellnav bddf082 c0bra: WIP: cellnav + edit almost working
[23:54:13] *** AngularUI has left #angularjs
[23:54:18] *** mbildner has quit IRC
[23:54:25] *** tfennelly has quit IRC
[23:54:38] *** s00pcan has quit IRC
[23:54:39] *** jonathanpglick has quit IRC
[23:54:52] *** beardyname has quit IRC
[23:55:13] *** monir has quit IRC
[23:55:46] *** jonathanpglick has joined #angularjs
[23:55:52] *** gnrlbzik has quit IRC
[23:55:52] *** nemothekid has joined #angularjs
[23:56:05] *** s00pcan has joined #angularjs
[23:56:13] *** g33k5z has quit IRC
[23:56:56] *** dhcar_AFK is now known as dhcar
[23:57:02] *** zivester has joined #angularjs
[23:57:30] *** josh-k has quit IRC
[23:58:17] *** goabonga has joined #angularjs
[23:58:19] *** annlewis has quit IRC
[23:58:19] <jaydubya> robdubya: BTW, my API is now 100% REST with nested resources and everything ... totally rewrote it last week while they were testing
[23:58:21] *** Xethron has quit IRC
[23:59:21] *** jolts has joined #angularjs
[23:59:50] *** crakrjak_respawn has quit IRC
[23:59:54] *** jolts has quit IRC