[00:00:00] *** tilgovi has quit IRC
[00:00:16] *** josh-k_ has quit IRC
[00:00:17] *** sinequanon has quit IRC
[00:00:25] <oniMaker> or, I could make Util another module that app depends on
[00:00:28] <wafflej0ck> yea
[00:00:34] <wafflej0ck> that seems cleanest
[00:00:40] <oniMaker> ok, then have post depend on it?
[00:00:42] *** edy has quit IRC
[00:00:44] <wafflej0ck> yup
[00:00:50] <oniMaker> ok, that makes sense
[00:01:58] * seriema nods
[00:02:21] *** johnstorey has joined #angularjs
[00:02:37] *** edrocks has quit IRC
[00:02:42] <wafflej0ck> oniMaker: yeah only thing to watch out for here really is getting into circular dependencies with services
[00:02:53] <Fuzzy> is that a thing
[00:02:54] <oniMaker> yeah, that's always fun
[00:02:56] *** eBureau has quit IRC
[00:03:01] <Fuzzy> does angular resolve them automatically?
[00:03:05] <wafflej0ck> oniMaker: if service A depends on service B and service B depends on service C and service C depends on service A you're screwed
[00:03:08] <wafflej0ck> Fuzzy: no
[00:03:16] <Fuzzy> oh
[00:03:18] <Fuzzy> that sucks
[00:03:20] <wafflej0ck> you can make another service like oniMaker was just saying with the modules to fix it
[00:03:40] *** Guest22069 has quit IRC
[00:04:05] <wafflej0ck> but it can get hairy
[00:05:10] <Fuzzy> hmmm, I just have all the dpeendencies in the app module usually
[00:05:11] *** mmealling has joined #angularjs
[00:05:22] <Fuzzy> is there a situation where u actually need some complex dependencies?
[00:05:31] <wafflej0ck> Fuzzy: yeah it's not typically a problem but people run into it on occasion
[00:05:56] <wafflej0ck> Fuzzy: for example I have a login service that most of my other services depend on so they can know when the login has been checked and they should initialize
[00:06:36] <wafflej0ck> it's fine with just that setup but add one thing the login service depends on and you can hit the circular dependency error without too much code going on
[00:07:05] <wafflej0ck> but I haven't found a situation I can't just refactor my way out of with another service that acts as a "bridge" or some other restructuring
[00:07:18] <oniMaker> so now I have my Util module, and it needs to access something defined in the app module
[00:07:18] <Fuzzy> hmmm I see
[00:07:21] <oniMaker> app depends on util
[00:07:51] *** annlewis has quit IRC
[00:07:56] <wafflej0ck> oniMaker: yeah you could have app just pass the data to Util when it's injected wherever
[00:08:05] <themime> use a service to share the data
[00:08:14] <oniMaker> it's a constant defined on app
[00:08:33] <themime> ive never used constants so i dunno
[00:08:42] <wafflej0ck> oniMaker: does it make more sense for the constant to be defined on Util maybe?
[00:08:45] <oniMaker> also, if I have a module which requires multiple modules, and those ones all use the same name for something, which wins when the first module includes something?
[00:08:53] <oniMaker> wafflej0ck: maybe
[00:10:04] *** NormySan has quit IRC
[00:10:05] *** mmealling has quit IRC
[00:10:33] *** yoshokatana has joined #angularjs
[00:10:46] <seriema> oniMaker: it has to do with the inclusion order. aka, try to have unique names and/or add your own namespacey name
[00:11:09] <oniMaker> almost defeats the purpose of having modules if the names trample each other
[00:11:19] *** glosoli has quit IRC
[00:11:40] <seriema> hehe yeah
[00:11:51] *** DrMabuse has joined #angularjs
[00:11:54] <seriema> module support was an afterthought
[00:13:30] *** jayne_ is now known as jayne
[00:16:54] *** DrMabuse has quit IRC
[00:17:04] *** ethanwelborn has joined #angularjs
[00:18:20]
<wafflej0ck> seriema: ah crappy, have you tried ng-inspector? I also threw together a little utility in the last couple of days for inspecting/modifying some particular model http://shusain.github.io/itDebugPanel/dist/ Use Alt+Shift+D to toggle it with the page having focus, right now you just pass it a model where you place the directive (basically how growl directive works, put it somewhere at the top of the index.html so it overlays
[00:18:21] <wafflej0ck> everything, uses absolute positioning with a container that is 0x0 so it doesn't block clicks)
[00:18:39] *** busticated has quit IRC
[00:19:37] *** doug64k has quit IRC
[00:19:45] <seriema> wafflej0ck: nice!!
[00:19:49] *** dman777_1lter has quit IRC
[00:19:51] *** marcjs has quit IRC
[00:20:07] <seriema> wafflej0ck: haven't tried ng-inspector. just saw the tooling talk on ngEurope where he said there was a new batarang =/
[00:20:08] *** krawek has joined #angularjs
[00:20:15] *** jimobrien has joined #angularjs
[00:20:17] *** cthrax has quit IRC
[00:20:26] *** nya has joined #angularjs
[00:21:29] *** ethanwelborn has quit IRC
[00:21:42] <wafflej0ck> seriema: yeah batarang is definitely nice hopefully they get that patched soon
[00:21:54] *** basiclaser_ has quit IRC
[00:21:55] <seriema> mmm
[00:22:37] *** tech2_ has quit IRC
[00:23:56] *** crakrjak has joined #angularjs
[00:24:17] *** opiates has quit IRC
[00:24:23] *** cakirke has joined #angularjs
[00:25:05] *** yoshokatana_ has joined #angularjs
[00:25:23] *** yoshokatana has quit IRC
[00:25:26] *** pikapp has joined #angularjs
[00:25:41] *** yoshokatana_ is now known as yoshokatana
[00:25:49] <pikapp> Is there a way to do something like ng-include without causing another request?
[00:26:07] *** szymek has quit IRC
[00:26:29] *** cthrax has joined #angularjs
[00:27:00] *** jimobrien has quit IRC
[00:27:01] <Kwastie> You could preload all templates
[00:27:44] <Kwastie> by filling the $templateCache
[00:27:54] *** snurfery has joined #angularjs
[00:30:15] *** craig_ has joined #angularjs
[00:30:24] *** phaggood has joined #angularjs
[00:30:30] *** crakrjak has quit IRC
[00:31:01] <seriema> seems like I missed the train on angularjs.org/i-want-to-help link now just redirects to main page
[00:32:30] *** dimetron has quit IRC
[00:33:03] *** Sindacious is now known as newton
[00:34:00] *** jimobrien has joined #angularjs
[00:35:35] *** wa5ted has joined #angularjs
[00:36:08] *** snurfery has quit IRC
[00:36:44] *** richardlitt has quit IRC
[00:37:03] *** scythe__ has joined #angularjs
[00:38:04] *** pikapp has quit IRC
[00:38:16] *** bbankes has joined #angularjs
[00:38:26] *** jimobrien has quit IRC
[00:39:03] *** darrin has joined #angularjs
[00:39:48] *** tripu has quit IRC
[00:40:05] *** doug64k has joined #angularjs
[00:40:19] *** wa5ted has quit IRC
[00:42:02] <wafflej0ck> Kwastie: pikapp is gone but also FYI html2js grunt task takes care of packaging templates into a module using $templateCache to load them up for you
[00:42:40] *** ngbot has joined #angularjs
[00:42:41] <ngbot> angular.js/master a9352c1 Shahar Talmi: feat($location): allow to location to be changed during $locationChangeStart...
[00:42:41] *** ngbot has left #angularjs
[00:43:54] *** tristanp has joined #angularjs
[00:44:12] *** tristanp has quit IRC
[00:44:41] *** sahbeewah_ has joined #angularjs
[00:45:02] *** crakrjak has joined #angularjs
[00:45:27] *** DLSteve has quit IRC
[00:45:55] *** pikapp has joined #angularjs
[00:46:25] <wafflej0ck> ioudas_: you figure it out?
[00:47:35] *** cakirke has quit IRC
[00:50:34] *** Trow has quit IRC
[00:51:32] *** kmansoor has joined #angularjs
[00:52:14] *** c00ljs has joined #angularjs
[00:52:36] *** phaggood has quit IRC
[00:52:41] *** darrin has quit IRC
[00:52:55] *** darrin has joined #angularjs
[00:53:14] *** DANtheBE- is now known as DANtheBEASTman
[00:55:40] *** rawGem has joined #angularjs
[00:55:51] *** chrisshattuck has quit IRC
[00:56:13] *** \du has joined #angularjs
[00:56:13] *** \du has joined #angularjs
[00:56:14] *** phaggood has joined #angularjs
[00:56:27] *** AlSquirrel has quit IRC
[00:56:37] *** crakrjak has quit IRC
[01:01:23] *** MistahKurtz has quit IRC
[01:01:30] *** scythe__ has quit IRC
[01:02:05] *** arek_deepinit has quit IRC
[01:02:35] *** jMyles has joined #angularjs
[01:02:36] *** c00ljs has quit IRC
[01:03:05] *** jr3 has quit IRC
[01:03:54] *** rawGem has joined #angularjs
[01:03:54] *** rawGem is now known as mhoffman
[01:04:10] <ioudas_> i think i saw a few things. Still processing.
[01:04:29] *** sinequanon has joined #angularjs
[01:04:30] <ioudas_> im at home, gotta put the kiddo down. then late night off the clock work coding starts ;-P
[01:04:41] *** Aerospark has joined #angularjs
[01:05:20] *** phaggood has quit IRC
[01:05:52] *** Shrooms has quit IRC
[01:05:57] *** mmealling has joined #angularjs
[01:06:26] *** Guest60253 has joined #angularjs
[01:06:52] <Evanion> Foxandxss, you @ keyboard?
[01:07:07] *** phaggood has joined #angularjs
[01:07:16] <wafflej0ck> ioudas_: heh cool good luck with that :)
[01:07:25] <Foxandxss> Evanion: yeah
[01:07:48] *** corehook has joined #angularjs
[01:07:57] <Evanion> I’m having some issues with the gulp in your workflow .. It doesn’t recompile the templates on save
[01:08:00] <ioudas_> yeah, 3 year olds are always fun to put down ;-)
[01:08:25] <Foxandxss> Evanion: are you using the convention I put? .tpl.html
[01:08:43] <Evanion> ofc, I use the same in all my projects
[01:08:57] <Foxandxss> it should work
[01:09:01] <Evanion> can’t have a template and not name it tpl ;)
[01:09:04] *** elaijuh has joined #angularjs
[01:09:05] *** jr3 has joined #angularjs
[01:09:31] *** mjs2600 has joined #angularjs
[01:09:52] *** wartdev has quit IRC
[01:10:04] *** Aliks has quit IRC
[01:10:27] <Evanion> leme type up a plunkr for you..
[01:10:39] *** mmealling has quit IRC
[01:10:42] <Foxandxss> how will the plunk help with my workflow? :P
[01:10:43] *** Latros-OS has quit IRC
[01:12:02] *** dimetron has joined #angularjs
[01:12:28] *** scottc5 has quit IRC
[01:12:34] *** corehook has quit IRC
[01:13:28] <Evanion> … I’m not a smart man right now … *yawn* … plunkr != gulp issues…
[01:13:55] *** Una has quit IRC
[01:15:10] <Evanion> thats the codebase
[01:15:26] *** c00ljs has joined #angularjs
[01:15:26] *** patrickarlt has quit IRC
[01:16:02] <Evanion> renaming the repo is on my todo ;)
[01:16:24] <Evanion> I’m testing out Material in that project ..
[01:16:27] *** yts has quit IRC
[01:17:23] *** bbankes has quit IRC
[01:18:22] *** shpoont has joined #angularjs
[01:18:37] *** Spet has joined #angularjs
[01:18:48] *** busticated has joined #angularjs
[01:18:55] *** krawek has quit IRC
[01:18:55] *** seriema has quit IRC
[01:19:12] *** disorder20 has quit IRC
[01:20:26] <Foxandxss> should work, can't try tonight, my GF is seeing a movie on the other monitor, kinda limited atm :P
[01:20:58] *** jillesme has joined #angularjs
[01:20:58] *** jillesme has joined #angularjs
[01:21:03] <Evanion> hehe ok .. it’s intermittent…
[01:21:18] *** crakrjak has joined #angularjs
[01:23:04] *** Guest60253 has quit IRC
[01:23:27] *** bbankes has joined #angularjs
[01:23:48] *** oncenull has joined #angularjs
[01:26:02] *** crakrjak has quit IRC
[01:26:06] *** tkimmel has quit IRC
[01:26:14] *** darrin has quit IRC
[01:26:22] *** diosney has quit IRC
[01:27:13] *** robksawyer has quit IRC
[01:27:28] *** Browser has quit IRC
[01:27:40] *** Browser has joined #angularjs
[01:28:52] *** craig_ has quit IRC
[01:30:42] *** rho_ has quit IRC
[01:30:44] *** cthrax has quit IRC
[01:31:06] *** MistahKurtz has joined #angularjs
[01:31:40] *** doug64k has quit IRC
[01:32:33] *** doug64k has joined #angularjs
[01:34:37] *** Spet has left #angularjs
[01:34:48] *** phaggood has quit IRC
[01:35:17] *** bbankes has quit IRC
[01:35:32] *** bbankes has joined #angularjs
[01:35:41] *** cannap has quit IRC
[01:37:44] *** Lingos has quit IRC
[01:38:38] *** oncenull has quit IRC
[01:38:52] *** Kwastie has quit IRC
[01:41:34] *** carlosmantilla has joined #angularjs
[01:42:07] *** jillesme_ has joined #angularjs
[01:42:14] *** Caroga is now known as Caroga_afk
[01:42:16] *** carlosmantilla has quit IRC
[01:42:17] <oniMaker> Is it recommended not to split your app up into modules?
[01:42:20] *** phaggood has joined #angularjs
[01:42:24] <oniMaker> this is causing headaches
[01:42:40] *** carlosmantilla has joined #angularjs
[01:42:44] <jillesme_> oniMaker: Of course it is
[01:42:46] *** livingstn has quit IRC
[01:42:51] <oniMaker> I've got 'utils' as a separate module now, and my 'posts' module depends on it.... but the services in 'posts' still can't load a service from 'utils'
[01:43:12] *** carlosmantilla has quit IRC
[01:43:13] <jillesme_> Do you have a src / dist folder oniMaker
[01:43:31] *** Aerospark has quit IRC
[01:43:34] <oniMaker> there's an app folder
[01:43:35] *** zwischenzug has joined #angularjs
[01:43:35] *** carlosmantilla has joined #angularjs
[01:44:10] *** carlosmantilla has quit IRC
[01:44:23] *** jimobrien has joined #angularjs
[01:44:30] *** carlosmantilla has joined #angularjs
[01:44:31] <oniMaker> I don't see why I can't resolve the Util service from the 'utils' module though
[01:44:38] <oniMaker> 'posts' module depends on it
[01:44:48] <oniMaker> and a controller in 'posts' is referencing it
[01:45:03] *** Aerospark has joined #angularjs
[01:45:11] *** jillesme has quit IRC
[01:45:17] *** GreenJello has quit IRC
[01:45:23] *** yoshokatana has quit IRC
[01:45:28] *** craig_ has joined #angularjs
[01:45:34] *** GreenJello has joined #angularjs
[01:45:55] *** prbc has joined #angularjs
[01:46:12] <zwischenzug> hello, i'm having problems binding data within a directive
[01:46:17] *** johnstorey has quit IRC
[01:46:29] <zwischenzug> i'm currently using $scope.$watch, but that doesn't seem to be working
[01:46:33] <oniMaker> jillesme_: it can't find a constant from utils either
[01:47:01] <Fuzzy> anyone run through build your own angular?
[01:47:07] *** marr has quit IRC
[01:47:37] *** jillesme_ is now known as jillesme
[01:47:37] *** jillesme has joined #angularjs
[01:48:19] <Evanion> this is damn odd … for some reason .. I can’t render a image in material …I must be missing something
[01:48:56] *** jimobrien has quit IRC
[01:48:59] <oniMaker> jillesme: I can see that the service I'm referencing is included
[01:49:00] <Evanion> there we go ..
[01:49:03] *** carlosmantilla has quit IRC
[01:49:07] <oniMaker> jillesme: and I'm adding the module as a dependency
[01:49:12] *** jimobrien has joined #angularjs
[01:49:47] <jillesme> oniMaker: check my ngMovies repo on github to get an idea on how to divide your code (GH is same as IRC)
[01:50:23] *** shpoont has quit IRC
[01:50:48] <oniMaker> jillesme: how many modules are you using?
[01:51:24] *** thumpba has joined #angularjs
[01:51:26] <jillesme> zwischenzug: you're doing it wrong
[01:51:41] <Evanion> Foxandxss, i appologize .. it seems my computer is having issues with all my browsers tonight .. your package wasn’t at fault…
[01:51:56] <Foxandxss> oh, I see
[01:52:33] <Evanion> this machine is getting worse each day it seems … MBP 2011…
[01:53:01] *** Guest60253 has joined #angularjs
[01:53:02] *** a3gis has quit IRC
[01:53:41] *** jimobrien has quit IRC
[01:54:15] *** zivester has joined #angularjs
[01:54:17] *** a3gis has joined #angularjs
[01:54:51] <Foxandxss> bed time
[01:54:53] *** Foxandxss has quit IRC
[01:54:58] <zwischenzug> i need to watch a variable, and manipulate the dom based on that variable
[01:55:15] *** qdk has joined #angularjs
[01:55:36] *** eBureau has joined #angularjs
[01:56:56] <jillesme> zwischenzug: you want to use a service
[01:56:58] *** craig_ has quit IRC
[01:58:17] *** a3gis has quit IRC
[01:59:25] *** pikapp has quit IRC
[01:59:45] *** zivester has quit IRC
[01:59:52] *** Rejected has quit IRC
[01:59:58] *** pikapp has joined #angularjs
[02:00:00] *** greengriminal has quit IRC
[02:00:02] *** jr3 has quit IRC
[02:00:04] <wafflej0ck> jillesme: you mean a directive zwischenzug
[02:00:19] <wafflej0ck> ?
[02:00:55] <jillesme> Misread the question zwischenzug, thought you wanted to keep data up to date with controllers
[02:00:56] *** jr3 has joined #angularjs
[02:00:57] <jillesme> between*
[02:01:02] *** DrMabuse has joined #angularjs
[02:01:07] *** Fuzzy has quit IRC
[02:01:14] <oniMaker> ok this is interesting
[02:01:16] <oniMaker> when I do this:
[02:01:18] <oniMaker> .service('PostEndpoint', function(CONST) { console.log('CONST', CONST); })
[02:01:25] <oniMaker> then I see the correct CONST object
[02:01:41] <oniMaker> which is coming from a 'utils' module, which is depended on by the current module 'posts'
[02:02:00] *** pikapp has quit IRC
[02:02:05] <oniMaker> however, when I do it the way everything else in the app is defined:
[02:02:07] <oniMaker> .service('PostEndpoint', require('./services/endpoints/post-endpoint.js'))
[02:02:10] <oniMaker> using browserify
[02:02:31] *** sinequanon has quit IRC
[02:02:33] <oniMaker> where I have module.exports(['CONST', function(CONST) { ...
[02:02:43] <oniMaker> then it throws a provider error
[02:02:51] <oniMaker> Error: [$injector:unpr] Unknown provider: utils.CONSTProvider <- utils.CONST <- PostEndpoint
[02:03:03] <zwischenzug> jillesme, yea, i think directive is what i need, as it manipulates the dom. my problem is the $scope.$watch onchange function doesn't seem to fire when an attribute changes. it _does_ fire correctly when the object changes entirely though.
[02:03:07] <oniMaker> so, the inter-module sharing works normally... but browserify isn't picking up on it?
[02:03:12] *** elaijuh has quit IRC
[02:03:13] *** rburns has joined #angularjs
[02:03:30] *** pikapp has joined #angularjs
[02:03:45] *** phaggood has quit IRC
[02:04:42] *** wartdev has joined #angularjs
[02:04:46] *** Fuzzy has joined #angularjs
[02:05:27] *** atomical has quit IRC
[02:05:45] *** ethanwelborn has joined #angularjs
[02:05:46] *** SergioFilhow has joined #angularjs
[02:05:50] <wafflej0ck> oniMaker: yeah no idea about browserify I just use bower
[02:05:54] *** DrMabuse has quit IRC
[02:06:01] *** elaijuh has joined #angularjs
[02:06:04] <oniMaker> those are... different things
[02:06:22] <wafflej0ck> oniMaker: aren't both just for wrapping up and distributing modules?
[02:06:32] <wafflej0ck> dunno haven't seriously looked at browserify
[02:06:43] *** mmealling has joined #angularjs
[02:06:55] <oniMaker> browserify is for using commonJS modules
[02:07:02] <elaijuh> gulp+browserify beats requirejs down
[02:07:45] <oniMaker> elaijuh: do you have experience using browserify+angular when you have multiple angular modules that depend on each other?
[02:08:01] <elaijuh> im always confused about requiejs config/shim/context things
[02:08:56] <jillesme> zwischenzug: your watcher isn't set correctly
[02:09:26] <jillesme> If you console.log(value) and change and press the button you see it's not calling the digest cycle
[02:09:33] <elaijuh> just bower install the module and require it, any problem?
[02:09:49] *** warehouse13 is now known as Left_Turn
[02:10:04] <oniMaker> the issue is sharing services/directives/etc. between angular modules
[02:10:21] <oniMaker> angular injection works if I do it with a straight function inside a module that depends on another module
[02:10:27] *** ethanwelborn has quit IRC
[02:10:38] <oniMaker> it does not work if I use require() and define that dependency in module.export
[02:10:51] *** rburns has quit IRC
[02:10:55] <zwischenzug> jillesme, can the watcher only watch for specific attributes on an object? or can it watch all attributes on an object and fire if a single attribute changes?
[02:10:55] <oniMaker> if the dependency is within the same module, then module.export gets injected properly
[02:11:04] <oniMaker> if it's in a different module, it throws a provider error
[02:11:26] <wafflej0ck> zwischenzug: you can watch multiple parts and fire one handler
[02:11:36] *** mmealling has quit IRC
[02:11:41] <wafflej0ck> zwischenzug: the first arg for the $watch can take a function as a parameter instead of a string
[02:11:52] <wafflej0ck> zwischenzug: if the return value from the function changes it triggers the second arg/function
[02:12:40] *** zivester has joined #angularjs
[02:12:45] <wafflej0ck> the first arg function should be simple though since it needs to be run on any $digest to determine if the value changed
[02:13:36] *** kevinxu has joined #angularjs
[02:13:59] *** kevinxu is now known as Guest99519
[02:14:09] *** sebhoss has quit IRC
[02:15:13] *** cesarkawakami has quit IRC
[02:15:47] *** japhar81 has quit IRC
[02:16:03] *** japhar81 has joined #angularjs
[02:16:06] *** busticated has quit IRC
[02:16:49] *** busticated has joined #angularjs
[02:17:56] <Fuzzy> can anyone explain the advantages of just using controller= vs controller as?
[02:18:01] <Fuzzy> or vice versa
[02:18:02] *** c00ljs has quit IRC
[02:18:24] *** jillesme has quit IRC
[02:18:30] <elaijuh> oniMaker: can you show bits codes
[02:18:32] *** c00ljs has joined #angularjs
[02:18:36]
<zwischenzug> wafflej0ck, ok, so i think i'm getting on the right track. unfortunately, "value" is getting passed to my onchange function as a string, instead of an object. is this supposed to happen? http://plnkr.co/edit/kQP8bI8LF7oHQgdbgKWH?p=preview
[02:18:37] *** doug64k has quit IRC
[02:18:42] <oniMaker> elaijuh: I have been...
[02:18:50] *** c00ljs has quit IRC
[02:18:53] *** MistahKurtz has quit IRC
[02:19:54] *** MistahKurtz has joined #angularjs
[02:20:00] *** seriema has joined #angularjs
[02:20:57] *** edrocks has joined #angularjs
[02:21:06] *** AngularUI has joined #angularjs
[02:21:07] <AngularUI> ng-grid/master e9ad145 Brian Chance: Fix missing icons on paging buttons
[02:21:07] <AngularUI> ng-grid/master 670b0b7 Brian Chance: Add i18n support to paging
[02:21:07] <AngularUI> ng-grid/master 4b4887c Brian Chance: Adjust height on each call, tweak css
[02:21:07] *** AngularUI has left #angularjs
[02:21:47] <wafflej0ck> zwischenzug: ah okay so couple things, check out $observe for watching attrs it's better than doing a $watch efficiency wise from what I hear but other thing is if you want to pass an object in you'll want to setup isolate scope with '=' so you get the object itself not a string
[02:21:58] *** Fuzzy has quit IRC
[02:22:07] *** crakrjak has joined #angularjs
[02:22:09] <elaijuh> oniMaker: sorry i just jumped into the channel
[02:23:01] *** btc_panhandler has joined #angularjs
[02:23:09] <elaijuh> oniMaker: can you show your codes again
[02:24:23] *** wa5ted has joined #angularjs
[02:24:23] *** dimetron has quit IRC
[02:24:28] *** seriema has quit IRC
[02:24:52] *** dc_ has joined #angularjs
[02:25:55] <edrocks> anyone using gulp-html-minifier?
[02:26:55] *** evilaliv3 has joined #angularjs
[02:27:11] *** nycdevgirl has joined #angularjs
[02:28:42] *** kStolen has quit IRC
[02:29:13] *** wa5ted has quit IRC
[02:29:48] *** wartdev has quit IRC
[02:29:56] *** prbc has quit IRC
[02:30:57] *** \du has quit IRC
[02:31:15] *** jstroem has quit IRC
[02:31:26] *** NoNMaDDeN has joined #angularjs
[02:31:48] *** jstroem has joined #angularjs
[02:31:50] *** nanashiRei has quit IRC
[02:31:55] *** zzing has joined #angularjs
[02:33:20] *** quantax has quit IRC
[02:33:51] *** Browser has quit IRC
[02:34:08] *** {DV8} has joined #angularjs
[02:34:19] *** junmin has joined #angularjs
[02:34:42] *** Browser has joined #angularjs
[02:35:18] *** dllama has quit IRC
[02:36:14] *** atomical has joined #angularjs
[02:36:30] *** NoNMaDDeN has quit IRC
[02:36:34] <zwischenzug> wafflej0ck, that link you posted doesn't work (i'm trying to get both the 1st and 2nd divs to change on button press)
[02:37:06] *** CoolDuke has quit IRC
[02:37:14] *** kStolen has joined #angularjs
[02:38:20] *** mikemols has quit IRC
[02:38:53] *** babykosh has joined #angularjs
[02:39:01] *** Fire-Dragon-DoL has quit IRC
[02:39:08] *** AtomicCookie has quit IRC
[02:39:23] *** jMyles has quit IRC
[02:40:33] *** herpless_ has quit IRC
[02:41:04] <wafflej0ck> zwischenzug: if you have a property of an object change and you want the watch to trigger you need the third arg to deep watch on the object
[02:41:15] *** rhp has joined #angularjs
[02:41:36] *** evilaliv3 has quit IRC
[02:43:40] *** crakrjak has quit IRC
[02:43:48] *** CamonZ has quit IRC
[02:43:52] *** pikapp has quit IRC
[02:44:47] <zwischenzug> ok, that kinda makes sense.
[02:45:10] <zwischenzug> what does this line actually do? "scope: {testDirective:'='},"
[02:45:25] <wafflej0ck> zwischenzug: that says to make an isolate scope... one sec
[02:46:06] *** nanashiRei has joined #angularjs
[02:46:16] *** yoshokatana has joined #angularjs
[02:47:00] *** robk has quit IRC
[02:47:12] *** jstroem has quit IRC
[02:47:48] *** jstroem has joined #angularjs
[02:48:01] *** RedOrangeZ has quit IRC
[02:48:53] *** CodeFriar has joined #angularjs
[02:48:56] <wafflej0ck> zwischenzug: basically it makes it so your directive gets it's own scope created that has a parent scope based on whatever context the directive is used in, it's best to just operate on the things in the isolate scope so you aren't assuming anything about the context of the directive, the info is passed in and defined in the scope definition, using '=' is good for two way data binding or passing an object into a directive '@' is
[02:48:56] <wafflej0ck> good if you just want to pass a string value into a directive, '&' is for if you want to do something like what ng-click does so the expression passed in is evaluated against the parent scope of the directive (just think of how ng-click works)
[02:49:10] *** robk has joined #angularjs
[02:49:10] *** robk has joined #angularjs
[02:49:25] *** opiates has joined #angularjs
[02:49:38] <elaijuh> oniMaker: i guess angular is looking for servcie by the string, like 'CONST'. i haven't used like module.exports([]) way
[02:49:43] <elaijuh> guess it matters
[02:52:23] *** yoshokatana has quit IRC
[02:52:27] *** rhp has quit IRC
[02:52:54] *** jstroem has quit IRC
[02:53:01] *** despai has joined #angularjs
[02:54:33] *** jimobrien has joined #angularjs
[02:54:50] *** \du has joined #angularjs
[02:54:51] *** \du has joined #angularjs
[02:55:06] *** cotko has joined #angularjs
[02:55:27] <oniMaker> elaijuh: actually, I'm getting the same results after converting to use the default angular way
[02:55:37] <oniMaker> elaijuh: console.logging that stuff in the browser seems to work correctly
[02:55:46] <oniMaker> but the tests fail with that missing provider error
[02:56:53] <zwischenzug> wafflej0ck, thanks for all the help. i think i get it. looks like setting the objectEquality boolean to true is also essential for this to work
[02:57:15] <zwischenzug> but yea, those docs are insightful. thanks again for the help :)
[02:57:59] <wafflej0ck> zwischenzug: yup np
[02:59:02] *** jimobrien has quit IRC
[03:00:09] *** darrin has joined #angularjs
[03:00:32] *** despai has quit IRC
[03:01:24] *** BillCriswell has joined #angularjs
[03:01:48] *** DrMabuse has joined #angularjs
[03:02:21] *** yoshokatana has joined #angularjs
[03:03:02] *** gnrlbzik has quit IRC
[03:03:04] *** nycdevgirl has quit IRC
[03:03:14] *** gnrlbzik has joined #angularjs
[03:03:18] <elaijuh> oniMaker: you test on the build file?
[03:04:36] *** pikapp has joined #angularjs
[03:05:14] *** elaijuh has quit IRC
[03:05:27] <oniMaker> elaijuh: the tests run a browserify build
[03:07:07] *** DrMabuse has quit IRC
[03:07:26] *** mmealling has joined #angularjs
[03:07:35] *** rburns has joined #angularjs
[03:07:39] *** stormbytes has joined #angularjs
[03:08:19] *** phzon has joined #angularjs
[03:09:06] *** atomical has quit IRC
[03:09:31] *** crakrjak has joined #angularjs
[03:10:54] *** Aliks has joined #angularjs
[03:11:03] *** quantax- has joined #angularjs
[03:11:08] *** stormbytes has quit IRC
[03:11:49] *** stormbytes has joined #angularjs
[03:11:53] *** atomical has joined #angularjs
[03:12:52] *** phzon has quit IRC
[03:12:56] *** mmealling has quit IRC
[03:12:57] <stormbytes> how would i 'initialize' a service that calls data via ajax without repeating the call each and every time one of its exposed api methods are called?
[03:13:16] *** bob has joined #angularjs
[03:13:22] <stormbytes> if this was a traditional 'class' i guess i'd be looking for a constructor function
[03:13:34] <stormbytes> i don't know how to pull this off in angular/javascript
[03:13:41] *** bob is now known as Guest51160
[03:13:52] *** crakrjak has quit IRC
[03:14:21] *** tilgovi has joined #angularjs
[03:14:38] *** tkimmel has joined #angularjs
[03:14:57] *** Aliks has quit IRC
[03:15:24] *** lemur has quit IRC
[03:15:41] *** Grimm_ has joined #angularjs
[03:15:52] <Guest51160> Hello Grimm
[03:17:14] *** lemur has joined #angularjs
[03:17:50] <wafflej0ck> stormbytes: since the service is a singleton it will only be calling that once per application load
[03:18:06] *** jstroem has joined #angularjs
[03:18:48] <stormbytes> wafflej0ck let me look
[03:19:00] *** cacts is now known as rcpilot
[03:19:15] <Grimm_> Attempting a small angular app, get an error using ui.router: XMLHttpRequest cannot load file <another file> Cross origin requests are only supported for protocol schemes: http, data, chrome-extension, https, chrome-extension-resource. Can't figure out what this means. Anyone have an idea?
[03:19:27] *** tkimmel has quit IRC
[03:19:47] <wafflej0ck> Grimm_: look up CORS you need to have the appropriate headers set on the server if you are requesting data cross domain/port
[03:19:47] *** nairys has joined #angularjs
[03:20:55] *** darrin has quit IRC
[03:20:57] *** seriema has joined #angularjs
[03:21:17] *** Benstr has joined #angularjs
[03:21:21] *** dllama has joined #angularjs
[03:21:22] <Grimm_> wafflej0ck: what is CORS? New to angular, my first app attempt. Thanks for the quick response.
[03:21:33] <stormbytes> wafflej0ck i'm trying to understand what's going on here.. looks like a 'getData()' method is exposed in the api
[03:22:14] *** lemur has quit IRC
[03:22:22] *** jstroem has quit IRC
[03:22:25] <wafflej0ck> Grimm_: just google you'll get details, how you solve it depends on what you're using server side but there's typically a pretty straightforward fix, the basic point is the server needs to respond to the OPTIONS request and have headers set that tell the client what operations it's allowed to take based on the domain the client is requesting from, it's enforced by the browser
[03:22:53] <wafflej0ck> stormbytes: yup it could be exposed or it could just be called internally before return service;
[03:23:12] <stormbytes> so basically just to check if data has been loaded?
[03:23:23] <wafflej0ck> stormbytes: essentially anything you do to the object before you return it could be considered the constructor for a singleton when you use a service
[03:23:44] <wafflej0ck> stormbytes: yeah the getData function just checks if it already has data and returns it or else gets the data and returns it
[03:23:59] *** whunt has joined #angularjs
[03:24:02] <wafflej0ck> stormbytes: regardless it returns a promise so using it from a controller or wherever you always know you can use the promise API with .then()
[03:24:03] <stormbytes> i was hoping for a way to add a call to serviceInit() in the module.run() function
[03:24:21] *** gnrlbzik has quit IRC
[03:24:50] <stormbytes> i'm not familiar with the promises
[03:24:55] *** apertoire has quit IRC
[03:24:55] <stormbytes> will have to do some reading tonight ;)
[03:25:03] *** tilgovi has quit IRC
[03:25:20] <wafflej0ck> stormbytes: yeah you can do what you want as well I'm pretty sure but I don't see any advantage
[03:25:24] <stormbytes> wafflej0ck it does appear this would do what i'm looking for... just need to brush up a bit ;)
[03:25:49] <stormbytes> thanks for the tip..... ;)
[03:25:50] *** seriema has quit IRC
[03:25:54] <wafflej0ck> stormbytes: yeah good to understand promises they are key for dealing with async stuff... and np
[03:25:55] <stormbytes> now where'd i put the ipad
[03:26:19] *** phaggood has joined #angularjs
[03:26:25] *** apertoire has joined #angularjs
[03:28:03] *** sebhoss has joined #angularjs
[03:29:10] *** dc_ has quit IRC
[03:30:09] *** cornerma1 has joined #angularjs
[03:30:37] *** apertoire has quit IRC
[03:31:02] *** Aerospark has quit IRC
[03:32:48] *** carlosmantilla has joined #angularjs
[03:33:12] *** sebhoss has quit IRC
[03:33:32] *** cornerman has quit IRC
[03:33:34] *** cornerma1 is now known as cornerman
[03:33:48] *** JosephBergevin has joined #angularjs
[03:34:42] *** rburns has quit IRC
[03:36:16] *** whunt has quit IRC
[03:37:16] *** carlosmantilla has quit IRC
[03:39:02] *** caitp- has quit IRC
[03:39:05] <nairys> anyone have any tips on how to autoselect the first row of an ngGrid once the data is loaded?
[03:40:26] *** caitp has joined #angularjs
[03:43:47] <wafflej0ck> nairys: you using ngGrid or ui-grid? any option to switch to the latter or have you sunk a lot into ngGrid (or ui-grid still missing features you need?)
[03:44:27] <jr3> nairys: in uigrid you need to call the ui.grid.selection setSelectedRow
[03:44:28] <wafflej0ck> nairys: just asking cause ui-grid I believe is a more active project and ngGrid I believe was mostly left behind by the original team who developed it (haven't looked recently though)
[03:45:12] <nairys> my boss won't let me switch to ui-grid
[03:45:24] <nairys> doesn't want stuff in beta in our production code
[03:45:25] <wafflej0ck> nairys: you consider switching bosses :P
[03:45:28] <nairys> haha
[03:45:32] <wafflej0ck> I kid I kid
[03:45:32] <nairys> i found a solution though
[03:45:38] <wafflej0ck> nice
[03:45:43] <BahamutWC> well, it's valid to be concerned with beta stuff in general
[03:45:49] <wafflej0ck> for sure
[03:45:52] <nairys> $scope.$on('ngGridEventData', function(){
[03:45:52] <nairys> $scope.gridOptions.selectRow(0, true);
[03:45:53] *** babykosh has quit IRC
[03:45:53] <BahamutWC> but bosses should still do their research
[03:45:56] *** Aerospark has joined #angularjs
[03:46:02] <BahamutWC> not all beta stuff is alike
[03:46:09] <BahamutWC> i.e. Node.js
[03:46:19] <wafflej0ck> BahamutWC: yeah also dead project isn't as good as better beta project
[03:46:25] <nairys> i'll bring it up again on monday
[03:46:29] <nairys> we're not in TOO deep with nggrid
[03:46:37] <nairys> i just switched from datatables 10 days ago anyways
[03:46:37] <BahamutWC> tons of places also used angular 1.1.5 in production
[03:46:57] * jr3 using 1.2.6
[03:47:11] <BahamutWC> jr3: no reason not to upgrade to 1.2.26 then
[03:47:23] <wafflej0ck> yeah typically been on 1.2.26 myself
[03:47:24] <BahamutWC> its been mostly bug fixing
[03:47:31] <wafflej0ck> haven't switched to 1.3 yet on anything
[03:47:31] *** NormySan has joined #angularjs
[03:47:37] <BahamutWC> I just switched to 1.3 last night
[03:47:44] <BahamutWC> switched my company to*
[03:47:51] <BahamutWC> bind once <3
[03:48:11] <wafflej0ck> nice
[03:48:12] <BahamutWC> gives nice performance gains for mobile
[03:48:15] <wafflej0ck> yeah no doubt
[03:48:26] *** nycdevgirl has joined #angularjs
[03:48:31] *** discgo has quit IRC
[03:48:32] <BahamutWC> turns out lots of DOM nodes are expensive on mobile (using Cordova via CCA)
[03:48:34] <jr3> I'm still confused on the whole bower dependency thing
[03:48:35] * jr3 weeps
[03:48:56] *** Guest99519 has quit IRC
[03:49:09] *** tfennelly has joined #angularjs
[03:49:13] <wafflej0ck> jr3: what's that?
[03:50:06] *** discgo has joined #angularjs
[03:50:39] <BahamutWC> jr3: update bower.json's version of angular, and just run bower update angular
[03:50:43] <jr3> bower? a package manager, I tend to break it a lot
[03:50:50] <jr3> somehow
[03:50:57] <nairys> bower's pretty nifty
[03:51:01] <wafflej0ck> yeah just need to get familiar with your bower.json file
[03:51:06] <BahamutWC> bower is very useful now that it's more stable
[03:51:11] <BahamutWC> it used to be very broken a year ago
[03:51:19] <wafflej0ck> yeah I'm really liking it I didn't use it more than a year ago though
[03:51:20] <nairys> can't imagine life without bower & grunt
[03:51:33] <BahamutWC> I use gulp more now than grunt
[03:51:45] <jr3> like I expect bower install to add the js into my index.html
[03:51:48] <nairys> i wouldn't mind trying gulp sometime
[03:51:51] <BahamutWC> gulp has some curve too if you're not comfortable with node.js & streams though
[03:51:53] <jr3> am I wrong on that?
[03:52:00] <wafflej0ck> jr3: wiredep does that for you it's a grunt task
[03:52:03] <BahamutWC> jr3: you need extra tooling for that
[03:52:05] <wafflej0ck> jr3: gotta be a gulp one too
[03:52:07] *** caitp- has joined #angularjs
[03:52:08] <BahamutWC> as wafflej0ck said, wiredep does that
[03:52:12] <nairys> jr3 doesn't do it out of the box
[03:52:15] <BahamutWC> I personally hate wiredep, but meh
[03:52:16] <jr3> ah
[03:52:17] *** caitp has quit IRC
[03:52:24] <wafflej0ck> yeah I haven't used it in the past
[03:52:28] <wafflej0ck> I recently started playing with it
[03:52:32] <wafflej0ck> but not super thrilled
[03:52:40] <BahamutWC> I've had to use it because thebigredgeek is a big fan of it heh
[03:52:44] <jr3> and aren't you supposed to keep all packages aligned with the angular version?
[03:53:00] *** MistahKurtz has quit IRC
[03:53:05] <BahamutWC> jr3: just the official angular ones
[03:53:06] <wafflej0ck> the SublimeText sidebar for copy file as Tag Script or Style and just paste and I'm all good
[03:53:19] <BahamutWC> i.e. angular-sanitize, angular-route, angular-cookies, angular-animate
[03:53:22] *** AciD`` has quit IRC
[03:53:23] *** tfennelly has quit IRC
[03:53:25] <BahamutWC> any others I'm missing?
[03:53:33] <BahamutWC> angular-resource too if you use that
[03:53:37] <jr3> i just need to sit down and really get to know it
[03:54:34] *** ethanwelborn has joined #angularjs
[03:54:39] <jr3> like if I bower install uigrid, that should go under devdependencies in my bower.json, right?
[03:54:50] <wafflej0ck> jr3: yeah it's probably not as complicated as you're thinking, there's just the semver stuff you gotta sorta understand and then it just uses that info from the bower.json in things you bower install to figure out what to actually install into the bower_components folder
[03:55:05] <jr3> sorry i mean dependecies
[03:55:08] <wafflej0ck> jr3: if you do --save it goes into the regular dependencies which means you need it to use that project (if you're making a module)
[03:55:32] <wafflej0ck> if you do --dev-dependencies it means a developer needs that during development of the module but it's not needed for something that's using the module
[03:55:44] <wafflej0ck> er rather --save-dev
[03:55:56] <jr3> ahh gotcha
[03:56:01] <BahamutWC> an example of a dev dependency is angular-mocks
[03:56:09] <wafflej0ck> right test stuffs
[03:56:12] <jr3> testing stuff
[03:56:22] <BahamutWC> npm operates very similarly
[03:56:38] *** \du has quit IRC
[03:57:23] *** nycdevgirl has quit IRC
[03:57:29] *** codeman has joined #angularjs
[03:57:58] <Grimm_> wafflej0ck: Got it, thanks! Something simple and stupid that I overlooked for over an hour, as usual!
[03:58:03] <wafflej0ck> yeah it's just up to whoever writes the bower.json for a module to specify what gets ignored when someone installs it and where the main files are, if they don't do that you get a mess
[03:58:12] <BahamutWC> Grimm_: the story of every software engineer's life :)
[03:58:24] <wafflej0ck> Grimm_: cool yeah is a thorn for sure
[03:58:52] *** sahbeewah_ has quit IRC
[03:59:02] <Grimm_> BahamutWC: Haha, yep!
[03:59:06] *** ethanwelborn has quit IRC
[03:59:36] <wafflej0ck> Grimm_: you have things on different ports or different domains or actually have to enable CORS server side?
[03:59:49] <stormbytes> wafflej0ck back to that preloading data example you posted just before & promises... is there some special way to trigger getData() ? or do I simply call getData() from every method in the api?
[04:00:01] <nairys> CORS - story of my life over the past 48 hours
[04:00:20] <nairys> it's a sad story
[04:00:36] <wafflej0ck> there were tears there were laughs
[04:00:53] *** yoshokatana has quit IRC
[04:00:59] <nairys> mostly tears
[04:01:04] <wafflej0ck> stormbytes: you can call like, service.getData(); return service;
[04:01:07] *** bbankes has quit IRC
[04:01:10] <nairys> i think i finally got everything working a couple hours ago
[04:02:18] <stormbytes> point is, the service is supposed to operate on the data, so the exposed api methods are processing the data in different ways. It wouldn't be clean to have the controller call the 'init' routine on an external service. I need to rig it to do that internally.. just wondering on what the best way would be
[04:03:00] <wafflej0ck> stormbytes: would be good if you can throw together a sample plunkr so I can see what you're doing so far and what you want to do
[04:03:12] *** jimobrien has joined #angularjs
[04:03:35] <wafflej0ck> stormbytes: you can just put some data in a someData.json file in there and load it up with $http.get in the service to build out the example
[04:03:58] *** Grimm_ has left #angularjs
[04:04:08] <stormbytes> wafflej0ck i don't have much yet :) essentially the service (1) gets a yaml file (2) convers it to json and (3) exposes different parts of the json object on its methods
[04:04:55] <wafflej0ck> stormbytes: yeah would just be good to see what you're doing so far so I can understand where you're at with it and what you should change or how you could do things to get it to do what you want in a more general sense
[04:04:59] <stormbytes> so say the yaml file is a booklist.yml, you'd have service.getBookList(), service.getUniqueAuthors(), etc
[04:05:39] <wafflej0ck> just need 1 sample don't have to recreate a set of endpoints if it works 1 time it works everywhere but use the plunkr link in the IRC and throw a sample of your code in there
[04:05:42] <stormbytes> i don't think the controller should be responsible to call service.loadBooksFile()
[04:05:48] <wafflej0ck> nope I agree
[04:05:57] <stormbytes> ok, will do
[04:06:13] <wafflej0ck> I'm saying before you return service; you can do service.getData(); so the controller doesn't have to call it
[04:06:20] <wafflej0ck> the controller just has to have the service injected into it
[04:07:01] *** Greed has quit IRC
[04:07:14] <stormbytes> yes, i know that part... (dependency injection) but wouldn't service.getData() have to be called from the "bottom" of each and every method? (funtion)
[04:07:20] *** _ritchie_ has joined #angularjs
[04:07:30] <wafflej0ck> what I called var service; in the SO post and here could be called whatever you want as well (naming it service may have confused matters it's not a special name just defining an object and then returning it)
[04:07:33] <wafflej0ck> stormbytes: nope
[04:07:53] <wafflej0ck> stormbytes: the call in the one place is good enough because that is just one instance of that object that gets injected anywhere it gets used
[04:08:01] <stormbytes> no i get what i meant with 'service'
[04:08:18] <stormbytes> let me put together a plunk... ;)
[04:08:18] <wafflej0ck> so it just gets called within the service definition and never needs to be called anywhere else really
[04:08:23] <wafflej0ck> yeah cool
[04:08:43] *** nesquerra has joined #angularjs
[04:08:50] *** Siecje has joined #angularjs
[04:08:53] *** Shai-Tan has quit IRC
[04:09:01] *** robmiller has joined #angularjs
[04:09:05] *** freelyfred has joined #angularjs
[04:10:11] *** annlewis has joined #angularjs
[04:10:25] *** crakrjak has joined #angularjs
[04:12:18] <robmiller> I have ng-repeat loading some ng-includes. Updating the parent scope with these variables only occurs after an update in the parent's scope, not the ng-repeat/ng-include scope(s). Any idea how to update immediately?
[04:12:44] *** jimobrien has quit IRC
[04:13:06] *** jr3 has quit IRC
[04:13:09] *** Greed has joined #angularjs
[04:13:13] *** wa5ted has joined #angularjs
[04:13:14] *** nesquerra has quit IRC
[04:14:26] *** annlewis has quit IRC
[04:15:25] *** Guest67410 has quit IRC
[04:15:53] *** Hackwar1 has joined #angularjs
[04:16:30] *** CodeFriar has quit IRC
[04:17:44] *** wa5ted has quit IRC
[04:17:46] *** cleme1mp has quit IRC
[04:18:03] *** cleme1mp has joined #angularjs
[04:18:12] *** Hackwar has quit IRC
[04:18:49] *** jstroem has joined #angularjs
[04:19:06] *** _ritchie_ has quit IRC
[04:19:35] *** mmealling has joined #angularjs
[04:20:23] <wafflej0ck> robmiller: plunkr would be good too... but basically thinking you may want a directive instead since the ng-include creates an isolate scope iirc
[04:20:24] *** lemur has joined #angularjs
[04:20:30] <robmiller> I think I'm following the "object, not primitive" mandate
[04:20:39] *** Aerospark has quit IRC
[04:21:19] *** busticated has quit IRC
[04:21:39] *** atomical has quit IRC
[04:21:49] *** seriema has joined #angularjs
[04:22:04] <stormbytes> wafflej0ck
[04:22:55] *** Josh has joined #angularjs
[04:23:07] *** mikehaas763 has joined #angularjs
[04:23:10] <BahamutWC> stormbytes: use the $http service, not $.get
[04:23:19] *** Josh is now known as Guest1946
[04:23:23] *** chrisshattuck has joined #angularjs
[04:23:24] *** jstroem has quit IRC
[04:23:29] <mikehaas763> Anyone know how to enable sourcemaps with webpack? I'm not finding any good docs on it
[04:23:38] <stormbytes> yeah been meaning to switch to that.. point is really about initBooks()
[04:23:42] *** NoNMaDDeN has joined #angularjs
[04:24:07] *** corehook has joined #angularjs
[04:24:14] *** mmealling has quit IRC
[04:24:15] *** Guest1946 has quit IRC
[04:25:00] <robmiller> wafflej0ck: you mean using the .directive() method instead of html template?
[04:26:18] *** btc_panhandler has quit IRC
[04:26:23] *** seriema has quit IRC
[04:26:55] *** ciwolsey_ has quit IRC
[04:27:17] <stormbytes> well kinda but... i want to keep the service processes encapsulated. controllers should just call methods --- thats essentially what i was asking, how to go about it so the initBooks() is triggered automatically
[04:27:25] <BahamutWC> stormbytes: sure
[04:27:31] <robmiller> wafflej0ck: any way to force a $digest on the parent after a sub-scope's ng-model change?
[04:27:40] *** Aerospark has joined #angularjs
[04:27:49] <BahamutWC> if you want to trigger initBooks automatically, you might want to look into resolves with something like ui-router
[04:28:38] <stormbytes> what are resolves?
[04:28:50] *** corehook has quit IRC
[04:29:12] *** gabriel__ has joined #angularjs
[04:29:23] *** crakrjak has quit IRC
[04:29:24] <stormbytes> seems like a seriously overcomplicated way of running a basic 'constructor' function
[04:29:45] <BahamutWC> well, you could run it synchronously in the controller like I have in my example
[04:29:57] <BahamutWC> that would run it automatically...not sure what you really want
[04:30:12] <stormbytes> i don't want to run the $http call from within the controller
[04:30:38] <stormbytes> i want the controller to call Books.method() and have the service automatically make sure the source file was already loaded
[04:30:39] <BahamutWC> you essentially have to though - even if it's in a service, it's still have something has to be run
[04:31:19] <stormbytes> which is why i wanted to put Books.initBooks() in module.run() you get it?
[04:31:36] <BahamutWC> you could do that, but you're not guaranteed it will finish before the controller instantiates
[04:31:40] <BahamutWC> it's the wrong way to do something like that
[04:31:48] <BahamutWC> that is due to the async nature
[04:32:18] *** codeman has quit IRC
[04:32:30] *** rho_ has joined #angularjs
[04:32:30] *** rho_ has joined #angularjs
[04:32:32] <stormbytes> still it makes no sense to have the controller operating the internals of a service (eg.. calling BooksInit() from within the controler)
[04:32:33] *** renlo has joined #angularjs
[04:32:38] <stormbytes> doesn't seem like a clean way of doing it
[04:32:58] *** pikapp has quit IRC
[04:33:06] <BahamutWC> it's fine - the controller is the link between the model and the view
[04:33:11] <BahamutWC> the models often have to come from the server
[04:33:27] *** jlambert121 has joined #angularjs
[04:33:36] <BahamutWC> that is the purpose of a controller (and services to help keep controllers clean)
[04:33:38] <stormbytes> yeah but that controller should not work the internals of a service.. least i don't thin kso
[04:33:56] <stormbytes> the controller should simply call service.method()
[04:33:58] <BahamutWC> well, I think you'll find most software engineers would disagree with you *shrug*
[04:34:05] <BahamutWC> then design your methods so you can just do that
[04:34:14] <stormbytes> precisely my question - how
[04:34:25] <renlo> whats the best way to log in a user if using an api (ie have an angular directive which connects to an api). I'm curious about the login flow, if anyones done this before. is using an api to sign in a horrible idea?
[04:34:57] <BahamutWC> all I did is move one .then block - it's exactly the same as before though otherwise
[04:35:50] <stormbytes> i don't think you understand what i'm trying to do
[04:36:03] <stormbytes> initBooks() should *not* be exposed.
[04:36:03] <BahamutWC> I do, I think you just don't understand the ramifications of your claimed position
[04:36:15] <stormbytes> it should be *internal* to the service == its a private method.
[04:36:21] <BahamutWC> you won't be able to do any sort of XHR if you don't do something like that
[04:36:36] <BahamutWC> then make it private...
[04:36:54] <BahamutWC> and if I don't understand what you're trying to do, explain yourself clearly
[04:37:09] <BahamutWC> I cannot give good help if you don't help someone understand what you're trying to do :/
[04:37:21] <stormbytes> ok, sure... here goes:
[04:37:53] <stormbytes> the Books service should retrieve the books yaml/xml/whatever file on its own, without the controllers knowing how that works or that its even a part of the process.
[04:38:09] <stormbytes> the books 'source' file is entirely internal to Books
[04:38:30] <BahamutWC> so that call is async
[04:38:41] <stormbytes> when a controller requests Books.getBookList() the Book service shoudl automatically check to see if books.xml has already been loaded
[04:38:54] <stormbytes> now.. i know hwo to do that, but that would mean calling initBooks() in each and every api method
[04:39:08] *** davesidious_ has joined #angularjs
[04:39:11] <stormbytes> which seems ass backwards...but hey, this *is* javascript right :)
[04:39:30] <BahamutWC> stormbytes: if you want to keep it private, that would be the only way to do that
[04:39:34] <BahamutWC> but, you can cache the request
[04:40:02] <stormbytes> ok, well that's the answer then. what do you mean by caching the request?
[04:40:06] <BahamutWC> $http.get('path/to/books', { cache: true }) will only make one XHR request and any future call to that will return the cached data
[04:40:08] <stormbytes> browser cache?
[04:40:11] *** gabriel__ has quit IRC
[04:40:21] <stormbytes> what if the data changes?
[04:40:21] <BahamutWC> just in memory
[04:40:32] <BahamutWC> if you don't want to cache it, then you can just omit that object
[04:40:32] <stormbytes> or is this only until a page-refresh?
[04:41:03] <stormbytes> no-no that's actually great, i'm just wondering how to refresh the data if the file changes at the source?
[04:41:08] *** pikapp has joined #angularjs
[04:42:23] *** davesidious__ has quit IRC
[04:42:40] <BahamutWC> whether that's via polling, websockets, SSE, or whatever, that's up to you to decide
[04:43:06] *** CodeFriar has joined #angularjs
[04:43:31] <stormbytes> i'll play with it both ways and see what i get ;)
[04:43:40] <stormbytes> thanks for the tip
[04:44:07] *** Guest51160 has quit IRC
[04:44:17] <BahamutWC> np
[04:45:04] *** SergioFilhow has quit IRC
[04:46:06] *** jas-_ has quit IRC
[04:49:37] *** phaggood has quit IRC
[04:50:04] *** kirfu has quit IRC
[04:50:08] *** phaggood has joined #angularjs
[04:50:50] *** DrMabuse has joined #angularjs
[04:51:11] *** crakrjak has joined #angularjs
[04:51:14] <wafflej0ck> stormbytes: if you want to keep books from being directly exposed you could I just threw it in there cause I usually do expose the data from the service directly just to make things easier
[04:51:53] *** jimobrien has joined #angularjs
[04:52:35] *** bengillies has joined #angularjs
[04:53:48] <BahamutWC> I prefer to have model services -> services to format data for presentation -> controllers consume data
[04:54:03] <BahamutWC> and the reverse direction for submission of data back to the server
[04:55:00] <wafflej0ck> yeah I typically have something similar, sometimes use a factory to create instances from the results in the service or sometimes it's a bit simpler than that depending on the scenario
[04:55:17] *** phaggood has quit IRC
[04:55:20] *** SergioFilhow has joined #angularjs
[04:55:42] *** DrMabuse has quit IRC
[04:55:42] *** crakrjak has quit IRC
[04:56:53] *** phaggood has joined #angularjs
[04:57:16] <BahamutWC> yeah, of course it's not necessarily rigid
[04:57:29] *** bengillies has quit IRC
[04:57:53] *** gazbond has quit IRC
[04:58:13] *** phaggood has quit IRC
[04:58:27] <edrocks> why does ui-view create a child ui-view then the view content as a child of that?
[04:58:47] *** pikapp has quit IRC
[04:58:53] <BahamutWC> edrocks: ui-view doesn't usually do that unless you have an intermediary state whose template has a ui-view
[04:58:59] *** johnstorey has joined #angularjs
[04:59:05] <edrocks> o
[04:59:09] <edrocks> thats it thank you
[04:59:28] *** phaggood has joined #angularjs
[04:59:30] <edrocks> was trying out angular material and forgot I did that in my account state thanks
[04:59:38] <BahamutWC> heh
[04:59:41] *** katsuki has joined #angularjs
[04:59:46] *** pikapp has joined #angularjs
[05:00:08] *** pikapp has quit IRC
[05:00:34] *** crakrjak has joined #angularjs
[05:01:13] *** oddalot has joined #angularjs
[05:02:01] *** jlambert121 has quit IRC
[05:02:02] *** oddalot2 has joined #angularjs
[05:02:37] *** pikapp has joined #angularjs
[05:04:10] *** oddalot2 has quit IRC
[05:04:59] *** oddalot has joined #angularjs
[05:06:16] *** jimobrien has quit IRC
[05:06:52] *** oddalot1 has quit IRC
[05:06:57] *** pikapp has quit IRC
[05:08:17] *** oncenull has joined #angularjs
[05:08:23] *** rcpilot has quit IRC
[05:08:35] *** jstroem has joined #angularjs
[05:09:21] <stormbytes> i'm amazed this simple task of executing an init() function is so complicated... wow
[05:10:04] <BahamutWC> it's only as complicated as how much you want to abstract things
[05:10:12] <wafflej0ck> yeah
[05:10:25] <wafflej0ck> just abstracting things is beneficial most of the time
[05:10:41] *** cacts has joined #angularjs
[05:11:25] *** Aliks has joined #angularjs
[05:12:55] *** jstroem has quit IRC
[05:13:45] *** renlo has quit IRC
[05:14:02] *** kmansoor has quit IRC
[05:14:08] *** phaggood has quit IRC
[05:14:57] <wafflej0ck> basically at the onset learning angular and doing things the right way does take more mental work but the actual amount of code you end up writing/testing/maintaining is way less than if you try to do it without some sort of MVC framework (unless you roll your own data bindinding, event bus, formatters, parsers, AJAX abstraction, promises etc., which works fine if you don't plan to work with the rest of the world and have a ton
[05:14:58] <wafflej0ck> of time on your hands)
[05:15:56] *** renlo has joined #angularjs
[05:16:24] *** anjumkaiser has joined #angularjs
[05:18:29] <BahamutWC> it's also a lot cleaner
[05:20:37] *** Left_Turn has quit IRC
[05:21:11] *** corehook has joined #angularjs
[05:21:37] *** carlosmantilla has joined #angularjs
[05:21:53] *** krawek has joined #angularjs
[05:21:53] *** krawek has joined #angularjs
[05:22:36] *** corehook has quit IRC
[05:22:58] *** seriema has joined #angularjs
[05:26:19] *** carlosmantilla has quit IRC
[05:27:34] *** dllama has quit IRC
[05:27:46] *** seriema has quit IRC
[05:28:43] *** BillCriswell has quit IRC
[05:29:25] *** CodeFriar has quit IRC
[05:30:09] *** dllama has joined #angularjs
[05:31:35] *** burzum has joined #angularjs
[05:32:13] *** renlo has quit IRC
[05:32:32] *** burzum2 has quit IRC
[05:34:17] *** dllama has quit IRC
[05:34:36] *** dllama has joined #angularjs
[05:35:24] *** renlo has joined #angularjs
[05:35:39] *** stormbytes has quit IRC
[05:36:02] *** oncenull has quit IRC
[05:36:37] *** oncenull has joined #angularjs
[05:36:58] *** Josh has joined #angularjs
[05:37:17] *** chovy2 has quit IRC
[05:37:22] *** Josh is now known as Guest24572
[05:37:39] *** caitp- has quit IRC
[05:38:44] *** dllama has quit IRC
[05:39:05] *** dllama has joined #angularjs
[05:40:07] <themime> and tested by thousands/millions/etc of people instead of 1
[05:41:17] *** oncenull has quit IRC
[05:41:52] *** AngularUI has joined #angularjs
[05:41:52]
<AngularUI> [ng-grid] PaulL1 opened pull request #2113: Fix(gridFactory): cellTemplate must be undefined until properly retrieve... (master...fix_cellTemplate) http://git.io/tR4aKA
[05:41:52] *** AngularUI has left #angularjs
[05:42:36] *** dllama has left #angularjs
[05:42:46] *** balr0g has joined #angularjs
[05:43:17] *** ethanwelborn has joined #angularjs
[05:43:50] *** chovy2 has joined #angularjs
[05:44:03] <wafflej0ck> hmm apparently someone is still working on ng-grid
[05:44:17] <chovy2> so i heard angular 2.0 is written by satan.
[05:44:39] <chovy2> wafflej0ck: grids are dead. they didn't work
[05:44:51] *** AngularUI has joined #angularjs
[05:44:52] <AngularUI> ng-grid/master dc08d16 Paul Lambert: Fix(gridFactory): cellTemplate must be undefined until properly retrieved
[05:44:52] <AngularUI> ng-grid/master e9e307b Paul: Merge pull request #2113 from PaulL1/fix_cellTemplate...
[05:44:52] *** AngularUI has left #angularjs
[05:46:34] *** nesquerra has joined #angularjs
[05:46:50] <wafflej0ck> chovy2: Grids work you just need templates in them to make things look decent and it's not always an ideal solution, charts+grids can be nice though for drilling into data, depends on who your users are and what they need
[05:47:36] *** ethanwelborn has quit IRC
[05:47:39] *** rburns has joined #angularjs
[05:49:10] *** nairys has quit IRC
[05:49:20] *** krawek has quit IRC
[05:50:46] <BahamutWC|Work> writing a cordova plugin makes me really happy now that I typically work in a dynamic language
[05:52:54] *** oncenull has joined #angularjs
[05:53:20] *** sybarite has joined #angularjs
[05:54:25] <chovy2> does anyone have jobs? i have a job site I just created in angular, looking for people to post jobs. (its free)
[05:54:45] *** wa5ted has joined #angularjs
[05:54:49] *** williamtdr has quit IRC
[05:55:33] <BahamutWC|Work> would be nice to have a CSS expert…but apparently we have a harder time recruiting for that than JS experts
[05:56:13] *** rburns has quit IRC
[05:56:20] *** tristanp has joined #angularjs
[05:56:29] <chovy2> really?
[05:56:40] <chovy2> what are you doing in CSS that requires an "expert"?
[05:56:49] <BahamutWC|Work> just someone who can work quickly with CSS
[05:56:59] <chovy2> i see
[05:57:07] <BahamutWC|Work> we have one person who is really good at it on my team, another who is also good but she’s on the design team atm :(
[05:57:14] <chovy2> well i'm already happily employed. but css is a breeze to work with.
[05:57:30] <BahamutWC|Work> but after than, I think I might be the next best at it…I know it, but I can’t work so quickly
[05:57:35] <BahamutWC|Work> that*
[05:57:51] *** wa5ted_ has joined #angularjs
[05:58:51] *** wa5ted has quit IRC
[05:59:01] *** woah has joined #angularjs
[06:00:01] *** charuru has quit IRC
[06:00:40] *** rburns has joined #angularjs
[06:01:33] *** JosephBergevin has quit IRC
[06:01:38] *** tristanp has quit IRC
[06:03:41] *** nairys has joined #angularjs
[06:05:20] *** cotko has quit IRC
[06:05:35] *** cotko has joined #angularjs
[06:07:57] *** cads has joined #angularjs
[06:08:16] *** zivester has quit IRC
[06:08:23] *** mmealling has joined #angularjs
[06:08:41] *** fixl has joined #angularjs
[06:10:02] *** cotko has quit IRC
[06:13:06] *** mmealling has quit IRC
[06:13:32] *** cotko has joined #angularjs
[06:15:03] *** Siecje has quit IRC
[06:15:32] *** sinequanon has joined #angularjs
[06:15:51] *** carlosmantilla has joined #angularjs
[06:15:56] *** tkimmel has joined #angularjs
[06:17:18] *** sahbeewah has quit IRC
[06:18:10] *** doug64k has joined #angularjs
[06:18:42] *** ethanwelborn has joined #angularjs
[06:19:35] *** Guest24572 has quit IRC
[06:19:44] *** ethanwelborn has joined #angularjs
[06:20:12] *** carlosmantilla has quit IRC
[06:20:35] *** tkimmel has quit IRC
[06:21:20] *** ethanwelborn has quit IRC
[06:21:41] *** johnstorey has quit IRC
[06:22:50] <wafflej0ck> anyone got or know of a filter for searching deep through an object and returning an object that only shows parts of the original object that match some supplied filter (key or value)
[06:22:58] *** anjumkaiser has quit IRC
[06:23:49] *** seriema has joined #angularjs
[06:24:21] *** MistahKurtz has joined #angularjs
[06:26:03] *** charuru has joined #angularjs
[06:26:29] *** dundonian has joined #angularjs
[06:27:05] *** jimobrien has joined #angularjs
[06:27:20] *** caitp has joined #angularjs
[06:28:18] *** Josh has joined #angularjs
[06:28:42] *** Josh is now known as Guest23846
[06:28:49] *** seriema has quit IRC
[06:29:22] *** Guest23846 has quit IRC
[06:31:28] *** Joseph__Silber has quit IRC
[06:31:36] *** johnstorey has joined #angularjs
[06:32:40] *** caitp has quit IRC
[06:33:25] *** mikehaas763 has quit IRC
[06:33:45] *** corehook has joined #angularjs
[06:33:55] *** gunn has quit IRC
[06:35:26] *** jaydubya has quit IRC
[06:35:43] *** OttlikG has joined #angularjs
[06:36:00] *** jaydubya has joined #angularjs
[06:36:24] *** jimvideo has quit IRC
[06:40:32] *** jaydubya has quit IRC
[06:40:45] *** Aliks has quit IRC
[06:41:10] *** bengillies has joined #angularjs
[06:41:13] *** crakrjak has quit IRC
[06:41:24] *** Aliks has joined #angularjs
[06:41:40] *** OttlikG has quit IRC
[06:41:46] *** crakrjak has joined #angularjs
[06:42:22] *** tejas-manohar has joined #angularjs
[06:42:31] *** nemothekid has quit IRC
[06:45:00] *** crakrjak has quit IRC
[06:45:18] *** cotko has quit IRC
[06:45:53] *** bengillies has quit IRC
[06:46:05] *** Aliks has quit IRC
[06:46:23] *** reavengrey has quit IRC
[06:47:32] *** aniM has joined #angularjs
[06:48:22] *** crakrjak has joined #angularjs
[06:48:26] *** oncenull has quit IRC
[06:49:00] *** oncenull has joined #angularjs
[06:49:08] <aniM> surprisingly it works fine if change the spelling of start in delegate function
[06:49:20] <aniM> so it has got something to do with the naming convetion
[06:49:20] *** {DV8} has quit IRC
[06:49:23] <aniM> convention*
[06:49:46] <BahamutWC|Work> aniM: test-on-start in the DOM
[06:50:01] <aniM> yes
[06:50:27] <aniM> when I change it to test-on-staart and testOnStaart it works fine
[06:50:43] <aniM> but test-on-start and testOnStart don't work
[06:50:54] *** night-owl is now known as zz_night-owl
[06:50:57] <edrocks> anyone using material icons?
[06:51:53] *** robmiller has quit IRC
[06:53:12] *** oncenull has quit IRC
[06:53:20] *** jstroem has joined #angularjs
[06:54:11] <aniM> BahamutWC|Work : Was that a question?
[06:54:34] *** red_horned_rihno has joined #angularjs
[06:55:53] *** Shai-Tan has joined #angularjs
[06:57:08] <chovy2> aniM: don't camel case your attributes
[06:57:25] <chovy2> use lowercase
[06:57:34] <chovy2> testonstart
[06:58:44] *** {DV8} has joined #angularjs
[06:58:59] *** sybarite has quit IRC
[06:59:07] <aniM> chovy2: thanks it works now. Do you know why camel case doesn't work?
[06:59:16] <aniM> Is this documented anywhere?
[06:59:19] <BahamutWC|Work> that’s not how html works
[07:00:01] <BahamutWC|Work> this is documented
[07:00:08] <aniM> BahamutWC|Work: why does camel case work for directive names?
[07:00:27] *** red_horned_rihno has quit IRC
[07:00:33] *** Aliks has joined #angularjs
[07:00:34] <BahamutWC|Work> the section where it says Angular normalizes is the relevant part
[07:03:13] <chovy2> html attributes are lowercase
[07:03:20] *** MysterioN has quit IRC
[07:03:44] <aniM> However, since HTML is case-insensitive, we refer to directives in the DOM by lower-case forms, typically using dash-delimited attributes on DOM elements (e.g. ng-model).
[07:03:53] <aniM> quoting from the doc
[07:04:08] <aniM> oh nvm
[07:05:32] <aniM> I still don't properly understand what was I doing wrong
[07:05:37] *** rho_ has quit IRC
[07:05:47] <aniM> my attribute name was hyphenated
[07:05:57] <aniM> it's test-on-start
[07:06:01] <aniM> what's wrong in it?
[07:06:37] <aniM> I know it works when I get rid of all the hypens and just use small case in the directive, but I don't want that
[07:08:11] *** Aerospark has quit IRC
[07:08:15] *** rahulprasad has joined #angularjs
[07:08:53] *** fairuz has quit IRC
[07:09:34] *** fairuz has joined #angularjs
[07:09:36] <BahamutWC|Work> I’m wondering whether there’s an angular bug hidden in this case
[07:10:04] *** carlosmantilla has joined #angularjs
[07:10:40] <BahamutWC|Work> but my intuition is saying no
[07:11:08] *** fairuz has quit IRC
[07:11:25] <aniM> Why does it work when I add an extra 'a' i.e. use it to test-on-staart and testOnStaart
[07:11:33] *** fairuz has joined #angularjs
[07:11:48] <aniM> *i.e. use test-on-staart as attribute name and testOnStaart as scope var name
[07:12:01] <BahamutWC|Work> it could potentially be an angular bug
[07:12:22] <aniM> ok I am going to report it
[07:12:23] <BahamutWC|Work> it’s almost as if the linking function is running before the controller fully runs?
[07:12:33] <BahamutWC|Work> it’s worth testing in 1.3 first
[07:12:40] <aniM> ok
[07:12:55] <BahamutWC|Work> yeah, it’s definitely a 1.2.x bug
[07:12:57] <BahamutWC|Work> it works in 1.3
[07:13:18] <BahamutWC|Work> probably a weird edge case with the compiler
[07:14:03] <aniM> oh nice
[07:14:26] <aniM> BahamutWC|Work: is it still worth creating an issue?
[07:14:27] *** carlosmantilla has quit IRC
[07:14:36] <BahamutWC|Work> aniM: nah, 1.3 is the new stable release
[07:14:44] *** chrisshattuck has quit IRC
[07:15:17] <BahamutWC|Work> modifications in the compiler can be tough to fix, and a lot of changes probably happened in 1.3, which would make it difficult to backport
[07:16:15] <aniM> ok my project is IE 8 compatible and uses v1.2. I can't afford to upgrade to 1.3 and hence drop IE 8 support.
[07:16:31] <BahamutWC|Work> I remember spending 1 1/2 work days trying to figure out one 1 1/2 years ago and ended up in a dead end
[07:16:35] *** sinequanon has quit IRC
[07:16:39] <BahamutWC|Work> yuck
[07:16:45] <BahamutWC|Work> been there before heh
[07:17:11] *** sinequanon has joined #angularjs
[07:17:16] <BahamutWC|Work> your best bet would be to try to change the name of the variable - not the best thing in the world, but you do what you have to when you support a browser that legacy
[07:18:22] <aniM> alright. Thanks a lot BahamutWC|Work :)
[07:18:55] <BahamutWC|Work> also another hack that works - scope.$parent.onStart(); in the directive
[07:19:00] <BahamutWC|Work> not clean but…well, it works
[07:19:16] *** tfennelly has joined #angularjs
[07:19:20] *** corehook has quit IRC
[07:19:32] *** nairys has quit IRC
[07:19:37] <BahamutWC|Work> or you could do scope.$parent[attrs.testOnStart]()
[07:20:19] *** fairuz has quit IRC
[07:21:21] *** monir has quit IRC
[07:21:44] *** fairuz has joined #angularjs
[07:23:05] *** {DV8} has quit IRC
[07:23:54] *** tfennelly has quit IRC
[07:24:17] *** nemothekid has joined #angularjs
[07:24:22] *** crakrjak has quit IRC
[07:24:53] *** seriema has joined #angularjs
[07:27:32] *** jstroem has quit IRC
[07:28:32] <aniM> BahamutWC|Work : I have isolated scope. would scope.$parent still work?
[07:28:43] <BahamutWC|Work> aniM: yup
[07:29:03] <BahamutWC|Work> it’s definitely a hack, and for seldom use
[07:29:13] <BahamutWC|Work> that’s how angular knows what scope inherits from what
[07:29:37] *** seriema has quit IRC
[07:30:43] *** jstroem has joined #angularjs
[07:31:10] <aniM> cool. Thanks again :)
[07:31:34] <BahamutWC|Work> np
[07:31:50] *** pen has quit IRC
[07:31:54] *** dundonian has quit IRC
[07:33:26] *** rahulprasad has quit IRC
[07:33:27] *** Yahkob has joined #angularjs
[07:35:15] *** red_horned_rihno has joined #angularjs
[07:35:37] *** aniM has quit IRC
[07:36:00] *** edrocks has quit IRC
[07:36:41] *** belzer has joined #angularjs
[07:37:06] *** jstroem has quit IRC
[07:37:27] *** renlo has joined #angularjs
[07:37:40] *** jstroem has joined #angularjs
[07:37:59] *** martianboy has joined #angularjs
[07:39:11] *** Aerospark has joined #angularjs
[07:39:22] *** rahulprasad has joined #angularjs
[07:39:54] *** woah has quit IRC
[07:40:32] *** mattattaque has quit IRC
[07:40:41] *** nesquerra has quit IRC
[07:42:16] *** jstroem has quit IRC
[07:43:23] *** Aerospark has quit IRC
[07:43:42] *** mtsr has joined #angularjs
[07:44:06] *** themime has quit IRC
[07:44:13] *** ajk27 has quit IRC
[07:45:02] *** ajk27 has joined #angularjs
[07:45:04] *** tejas-manohar has quit IRC
[07:45:30] *** junmin has quit IRC
[07:45:36] *** Aerospark has joined #angularjs
[07:46:42] *** jeffisabelle has joined #angularjs
[07:47:11] *** zz_night-owl is now known as night-owl
[07:48:34] *** Yahkob has quit IRC
[07:50:01] *** Josh has joined #angularjs
[07:50:09] *** nemothekid has quit IRC
[07:50:17] *** Aerospark has quit IRC
[07:50:25] *** Josh is now known as Guest26706
[07:51:34] *** carlosmantilla has joined #angularjs
[07:52:05] *** nemothekid has joined #angularjs
[07:57:08] *** mmealling has joined #angularjs
[07:57:59] *** jimobrien has quit IRC
[07:58:01] *** lemur has quit IRC
[07:58:35] *** opiates has quit IRC
[07:59:03] *** lemur has joined #angularjs
[07:59:36] *** red_horned_rihno has quit IRC
[08:01:58] *** mmealling has quit IRC
[08:02:06] *** ludkiller has quit IRC
[08:02:27] *** jlambert121 has joined #angularjs
[08:02:43] *** jareddlc has joined #angularjs
[08:03:31] *** lemur has quit IRC
[08:04:14] *** ludkiller has joined #angularjs
[08:04:15] *** balr0g has quit IRC
[08:04:45] *** tkimmel has joined #angularjs
[08:04:51] *** Sontakey has joined #angularjs
[08:04:53] *** Guest60253 has quit IRC
[08:06:37] *** jlambert121 has quit IRC
[08:08:58] *** jstroem has joined #angularjs
[08:09:15] *** tkimmel has quit IRC
[08:10:45] *** jimobrien has joined #angularjs
[08:12:58] *** jstroem has quit IRC
[08:13:09] *** armine has joined #angularjs
[08:15:20] *** mennea has joined #angularjs
[08:18:04] *** mennea_ has joined #angularjs
[08:20:16] *** lemur has joined #angularjs
[08:21:34] *** mennea has quit IRC
[08:21:52] *** monir has joined #angularjs
[08:22:10] *** shredjs has quit IRC
[08:22:23] *** rahulprasad has quit IRC
[08:22:52] *** MistahKurtz has quit IRC
[08:24:20] *** jaydubya has joined #angularjs
[08:25:40] *** armine has quit IRC
[08:25:56] *** seriema has joined #angularjs
[08:25:57] *** angelazou has joined #angularjs
[08:27:20] *** iksik has joined #angularjs
[08:28:04] *** iamaregee2 has quit IRC
[08:28:08] <angelazou> hi, I have a SPA with routes and a rootscope event in the parent controller emitting
[08:28:19] <angelazou> it's suppose to be caught by one of the route controller then dismissed
[08:28:24] *** rahulprasad has joined #angularjs
[08:28:28] *** favetelinguis has joined #angularjs
[08:28:46] *** jaydubya has quit IRC
[08:28:51] *** Sontakey has quit IRC
[08:28:52] <angelazou> but for some reason, e.stopPropagation and e.preventDefault didn't stop the propagation and the event is emitted twice
[08:29:21] *** iamaregee2 has joined #angularjs
[08:29:45] <angelazou> actually every time it switches route
[08:29:49] <angelazou> it emits one more time
[08:29:58] <angelazou> it's been caught one more time
[08:30:16] *** eBureau has quit IRC
[08:31:05] *** seriema has quit IRC
[08:31:07] *** one0one has quit IRC
[08:31:59] *** Sontakey has joined #angularjs
[08:33:46] *** Sontakey1 has joined #angularjs
[08:35:41] *** Sontakey2 has joined #angularjs
[08:36:23] *** Sontakey has quit IRC
[08:36:33] *** blackkbot has quit IRC
[08:37:39] *** nesquerra has joined #angularjs
[08:39:34] *** Sontakey1 has quit IRC
[08:40:02] *** glosoli has joined #angularjs
[08:41:00] *** sinequanon has quit IRC
[08:41:00] *** menim has joined #angularjs
[08:41:36] *** rolleiflex has joined #angularjs
[08:41:36] *** Sontakey2 has quit IRC
[08:42:16] *** nesquerra has quit IRC
[08:42:44] *** nesquerra has joined #angularjs
[08:42:49] *** Sontakey has joined #angularjs
[08:43:44] *** Sontakey has quit IRC
[08:43:51] <angelazou> can anyone help me take a look? Thanks
[08:43:55] <menim> hi , i have problem with select tag , and ng-options, it' works , but it mess the next html tag,
[08:44:45] *** Sontakey has joined #angularjs
[08:45:12] *** cads has quit IRC
[08:45:31] *** Sontakey has joined #angularjs
[08:46:23] *** sebhoss has joined #angularjs
[08:46:28] *** jaydubya has joined #angularjs
[08:47:06] *** nesquerra has quit IRC
[08:48:49] *** rahulprasad has quit IRC
[08:49:48] *** Sontakey1 has joined #angularjs
[08:50:16] *** Sontakey has quit IRC
[08:50:17] *** Sontakey1 has quit IRC
[08:50:48] *** Aerospark has joined #angularjs
[08:50:54] *** cacts has quit IRC
[08:51:53] *** Sontakey has joined #angularjs
[08:53:23] *** tomzx is now known as tomzx`afk
[08:53:31] *** Sontakey has quit IRC
[08:55:00] *** tarnus has quit IRC
[08:55:23] *** Aerospark has quit IRC
[08:55:36] *** neoadventist has joined #angularjs
[08:55:53] *** monir has quit IRC
[08:58:30] *** gunn has joined #angularjs
[08:58:47] *** tristanp has joined #angularjs
[08:59:02] *** sandelius has joined #angularjs
[09:01:19] *** dimetron has joined #angularjs
[09:02:33] *** edrocks has joined #angularjs
[09:03:41] *** tristanp has quit IRC
[09:05:45] *** Josh has joined #angularjs
[09:06:10] *** thumpba has quit IRC
[09:06:18] *** Josh is now known as Guest70887
[09:11:18] *** corehook has joined #angularjs
[09:13:40] *** tomengland_mbp has joined #angularjs
[09:14:50] *** menim has quit IRC
[09:15:12] *** nfroidure has joined #angularjs
[09:21:40] *** angelazou has quit IRC
[09:22:08] *** rahulprasad has joined #angularjs
[09:23:19] *** soee_ has joined #angularjs
[09:24:51] *** KernelCurry has quit IRC
[09:25:12] *** shpoont has joined #angularjs
[09:25:15] *** sebhoss has quit IRC
[09:25:17] *** renlo has quit IRC
[09:26:05] *** edrocks has quit IRC
[09:26:32] *** favetelinguis has quit IRC
[09:26:56] *** seriema has joined #angularjs
[09:27:32] *** IvailoStoianov has joined #angularjs
[09:28:54] *** carlosmantilla has quit IRC
[09:29:53] *** belzer has quit IRC
[09:30:23] *** bengillies has joined #angularjs
[09:31:06] *** katsuki has quit IRC
[09:31:32] *** seriema has quit IRC
[09:32:27] *** sudak has joined #angularjs
[09:33:58] *** tomengland_mbp has quit IRC
[09:34:01] *** junmin has joined #angularjs
[09:35:30] *** bengillies has quit IRC
[09:35:32] *** sigurding has joined #angularjs
[09:35:36] *** jareddlc has quit IRC
[09:36:40] *** brugh has joined #angularjs
[09:38:17] *** junmin has quit IRC
[09:39:15] *** davi has joined #angularjs
[09:39:21] *** treleven has joined #angularjs
[09:40:54] *** carlosmantilla has joined #angularjs
[09:41:00] *** Spockz has joined #angularjs
[09:41:35] *** carlosmantilla has quit IRC
[09:43:12] *** mattattaque has joined #angularjs
[09:43:45] *** nesquerra has joined #angularjs
[09:44:25] *** treleven has quit IRC
[09:45:20] *** zivester has joined #angularjs
[09:45:51] *** mmealling has joined #angularjs
[09:47:01] *** flynn has joined #angularjs
[09:47:29] *** jimobrien has quit IRC
[09:47:41] *** rhp has joined #angularjs
[09:48:30] *** nesquerra has quit IRC
[09:48:31] *** jimobrien has joined #angularjs
[09:48:37] *** morenoh149 has quit IRC
[09:50:27] *** mmealling has quit IRC
[09:50:55] *** grancan has joined #angularjs
[09:51:23] *** rahulprasad has quit IRC
[09:51:37] *** tfennelly has joined #angularjs
[09:52:28] *** mel| has joined #angularjs
[09:52:35] *** MSY has joined #angularjs
[09:52:45] *** jimobrien has quit IRC
[09:52:59] *** MSY is now known as Guest22008
[09:53:41] *** tkimmel has joined #angularjs
[09:55:21] *** discgo has quit IRC
[09:56:17] *** tfennelly has quit IRC
[09:57:57] *** tkimmel has quit IRC
[09:58:23] *** Just has joined #angularjs
[09:59:14] *** venu_ has joined #angularjs
[09:59:54] *** zivester has quit IRC
[09:59:56] <venu_> hi i am new to angularjs please any one suggest for best practice
[10:00:31] *** jeffisabelle_ has joined #angularjs
[10:00:39] *** Just has quit IRC
[10:01:38] *** jeffisabelle has quit IRC
[10:01:42] *** venu_ has quit IRC
[10:03:38] *** Cache_Money has joined #angularjs
[10:05:15] *** flynn has quit IRC
[10:06:10] *** favetelinguis has joined #angularjs
[10:06:44] *** tomengland_mbp has joined #angularjs
[10:07:14] *** Fuzzy has joined #angularjs
[10:08:06] *** farrill has joined #angularjs
[10:08:42] *** monir has joined #angularjs
[10:09:34] *** ree has quit IRC
[10:10:47] *** parlee has joined #angularjs
[10:11:06] *** parlee has quit IRC
[10:12:01] *** ree has joined #angularjs
[10:13:47] *** Trow has joined #angularjs
[10:13:51] *** deharo has joined #angularjs
[10:15:10] *** kixo_ has joined #angularjs
[10:16:16] *** deharo has quit IRC
[10:16:55] *** glosoli has quit IRC
[10:18:50] *** lovingood has joined #angularjs
[10:19:50] *** neoadventist has quit IRC
[10:21:26] *** evilaliv3 has joined #angularjs
[10:23:35] *** phzon has joined #angularjs
[10:23:37] *** lovingood has quit IRC
[10:24:57] *** mattattaque has quit IRC
[10:26:19] *** herpless_ has joined #angularjs
[10:26:30] *** feemster has joined #angularjs
[10:26:54] *** herpless_ is now known as herpless
[10:27:23] *** feemster has quit IRC
[10:28:05] *** phzon has quit IRC
[10:28:49] *** Cache_Money has quit IRC
[10:29:05] *** Cache_Money has joined #angularjs
[10:29:31] *** sinequanon has joined #angularjs
[10:29:58] *** pierrott has joined #angularjs
[10:30:38] *** IvailoStoianov has quit IRC
[10:31:40] *** opiates has joined #angularjs
[10:32:03] *** corehook has quit IRC
[10:32:12] *** IvailoStoianov has joined #angularjs
[10:32:18] *** tomengland_mbp has quit IRC
[10:32:38] *** spletzer has joined #angularjs
[10:34:32] *** sinequanon has quit IRC
[10:35:19] *** seddon has joined #angularjs
[10:36:51] *** Trow1 has joined #angularjs
[10:37:24] *** tomengland_mbp has joined #angularjs
[10:37:59] *** Fuzzier has joined #angularjs
[10:38:00] *** janeczek has joined #angularjs
[10:38:39] *** janeczek has quit IRC
[10:38:40] *** Aerospark has joined #angularjs
[10:38:53] *** Fuzzy has quit IRC
[10:39:39] *** Guest70887 has quit IRC
[10:40:37] *** Trow has quit IRC
[10:41:04] *** monir has quit IRC
[10:41:27] *** mallone has joined #angularjs
[10:41:49] *** tomengland_mbp has quit IRC
[10:43:16] *** mennea_ has quit IRC
[10:43:39] *** tarnus has joined #angularjs
[10:43:46] *** Aerospark has quit IRC
[10:43:51] *** mennea has joined #angularjs
[10:44:42] *** tech2_ has joined #angularjs
[10:45:00] *** nesquerra has joined #angularjs
[10:45:13] *** DrMabuse has joined #angularjs
[10:45:13] *** jordandotdev has joined #angularjs
[10:45:26] *** intellix has joined #angularjs
[10:46:30] *** mallone has quit IRC
[10:46:59] *** Trow2 has joined #angularjs
[10:48:41] *** morenoh149 has joined #angularjs
[10:48:43] *** tarnus has quit IRC
[10:49:07] *** houben has joined #angularjs
[10:49:14] *** nesquerra has quit IRC
[10:49:36] *** houben has quit IRC
[10:50:07] *** lexek__ has joined #angularjs
[10:50:42] *** Trow1 has quit IRC
[10:51:06] *** elxa has quit IRC
[10:51:09] *** grancan has quit IRC
[10:52:05] *** grancan has joined #angularjs
[10:52:11] *** melara has joined #angularjs
[10:52:12] *** grancan has quit IRC
[10:52:33] *** Aerospark has joined #angularjs
[10:52:55] *** elxa has joined #angularjs
[10:53:10] *** Cache_Money has quit IRC
[10:54:43] *** jaydubya has quit IRC
[10:54:57] *** lexek__ has quit IRC
[10:55:09] *** favetelinguis has quit IRC
[10:56:05] *** DrMabuse has quit IRC
[10:56:16] *** Trow2 is now known as Trow
[10:58:29] *** seriema has joined #angularjs
[10:58:36] *** Aerospark has quit IRC
[10:58:40] *** favetelinguis has joined #angularjs
[11:00:20] *** tristanp has joined #angularjs
[11:00:28] *** Aerospark has joined #angularjs
[11:02:31] *** Aerospark has quit IRC
[11:02:46] *** seriema has quit IRC
[11:04:49] *** tristanp has quit IRC
[11:06:40] *** Aerospark has joined #angularjs
[11:06:52] *** anjumkaiser has joined #angularjs
[11:09:37] *** opiates has quit IRC
[11:13:56] *** Aerospark has quit IRC
[11:14:09] *** sebhoss has joined #angularjs
[11:14:17] *** tfennelly has joined #angularjs
[11:16:39] *** Left_Turn has joined #angularjs
[11:17:27] *** Guest22008 has quit IRC
[11:18:23] *** sebhoss has quit IRC
[11:18:29] *** nesquerra has joined #angularjs
[11:18:56] *** rburns has quit IRC
[11:19:17] *** RedOrangeZ has joined #angularjs
[11:19:27] *** bengillies has joined #angularjs
[11:22:51] *** junmin has joined #angularjs
[11:23:53] *** bengillies has quit IRC
[11:25:40] *** favetelinguis has quit IRC
[11:26:12] *** Ronyrun has joined #angularjs
[11:26:19] *** favetelinguis has joined #angularjs
[11:28:06] *** junmin has quit IRC
[11:28:18] <vtntimo> guys
[11:28:26] <vtntimo> please someone help me, I am about to trash my damn computer :OP
[11:28:39] <vtntimo> I am controlling my navigation visibility with ng-show="navOpen"
[11:28:46] *** IJNX has joined #angularjs
[11:28:47] <vtntimo> then in my code I have $rootScope.navOpen = true;
[11:29:04] <vtntimo> works fine so far, but then I want to close the nav when a button gets clicked inside the nav
[11:29:21] <vtntimo> so I set up <div ng-click="closeNav()">Text</div>
[11:29:41] <vtntimo> and in my appController I have $rootScope.navOpen = false; inside the closeNav-function
[11:29:57] *** Sontakey has joined #angularjs
[11:30:12] <vtntimo> the button properly launches closeNav-function, and I checked with console.log that it does set $rootScope.navOpen to false
[11:30:16] <vtntimo> but the navigation just does not close
[11:30:30] <vtntimo> but if I replace the button ng-click with ng-click="navOpen = false", it works..
[11:31:06] <vtntimo> of course there is a lot more that happens when I click the nav button, but I removed ALL of the other code so I could debug
[11:32:46] *** nypraise has joined #angularjs
[11:33:17] *** firelink_ has quit IRC
[11:33:33] <vtntimo> it's driving me crazy
[11:34:40] *** mmealling has joined #angularjs
[11:34:50] *** neoadventist has joined #angularjs
[11:35:25] <nypraise> Hi Angulars! :) Does anyone have experience with limiting what colums in a table to be converted to JSON using EF/Web Api? I seem to only get all columns or nothing.
[11:36:00] <willeponken> vtntimo: Why not stick with "navOpen = false"?
[11:36:34] <vtntimo> willeponken: because the button itself does other things than only closes the navigation
[11:37:08] <vtntimo> hmm, after all the curse words I think I did find a solution
[11:37:20] <vtntimo> I replaced navOpen -> $root.navOpen in everywhere in my HTML and now it works
[11:37:34] <vtntimo> daaaamn, I did not know this
[11:37:53] <vtntimo> I want my 4 hours back :D
[11:38:16] *** tomengland_mbp has joined #angularjs
[11:39:19] *** mmealling has quit IRC
[11:39:34] *** neoadventist has quit IRC
[11:39:48] *** k-dawg has joined #angularjs
[11:40:25] <vtntimo> okay it's official now: I am an idiot who does not know how to Google properly.. :)
[11:42:34] *** tkimmel has joined #angularjs
[11:42:36] *** jacuqesdancona_ has joined #angularjs
[11:42:47] *** anjumkaiser has quit IRC
[11:43:09] *** tomengland_mbp has quit IRC
[11:44:40] *** D-Boy has quit IRC
[11:44:42] *** favetelinguis has quit IRC
[11:44:49] *** IJNX has quit IRC
[11:45:18] *** favetelinguis has joined #angularjs
[11:46:57] *** tkimmel has quit IRC
[11:47:28] *** junmin has joined #angularjs
[11:47:29] *** corehook has joined #angularjs
[11:47:39] *** IJNX has joined #angularjs
[11:48:52] *** corehook has quit IRC
[11:49:27] *** favetelinguis has quit IRC
[11:51:37] *** junmin has quit IRC
[11:52:08] *** devylon has joined #angularjs
[11:53:42] *** intellix has quit IRC
[11:54:01] *** Trow1 has joined #angularjs
[11:56:00] *** MrBaboon has quit IRC
[11:56:02] *** B1x1t0 has joined #angularjs
[11:56:22] *** IJNX has quit IRC
[11:56:57] *** Trow has quit IRC
[11:57:03] <willeponken> vtntimo: Great you solved it :)
[11:58:36] *** CamonZ has joined #angularjs
[12:00:41] *** corehook has joined #angularjs
[12:00:44] *** nandoflorestan has quit IRC
[12:01:04] *** tristanp has joined #angularjs
[12:01:14] *** Trow1 is now known as Trow
[12:02:25] *** glosoli has joined #angularjs
[12:04:14] *** nandoflorestan has joined #angularjs
[12:05:41] *** anjumkaiser has joined #angularjs
[12:05:46] *** tristanp has quit IRC
[12:06:07] *** D-Boy has joined #angularjs
[12:08:33] *** monir has joined #angularjs
[12:08:41] *** sundar has joined #angularjs
[12:08:49] *** Aliks has quit IRC
[12:08:59] *** woah has joined #angularjs
[12:09:28] *** gunn has quit IRC
[12:09:30] *** drew2 has quit IRC
[12:10:22] *** nandoflorestan has quit IRC
[12:10:27] *** kwladyka has joined #angularjs
[12:10:32] *** gunn has joined #angularjs
[12:10:56] *** sundar has quit IRC
[12:11:32] <kwladyka> angular-loading-bar has nice bar on the top during loading anything.... is something similar for ui.router?
[12:12:51] *** drew2 has joined #angularjs
[12:14:44] *** Aerospark has joined #angularjs
[12:15:24] *** tfennelly has quit IRC
[12:16:13] *** GauravButola has joined #angularjs
[12:16:17] *** GauravButola has left #angularjs
[12:16:41] *** lexek__ has joined #angularjs
[12:16:49] *** GauravButola has joined #angularjs
[12:18:30] <GauravButola> <div ui-view=“stateName”></div> is how I define ui-view in UI Router. Works fine, but I don’t want to be able to define this ui-view without creating a div. Is that possible?
[12:18:52] *** CodeFriar has joined #angularjs
[12:18:54] <GauravButola> s/don’t/‘’
[12:18:57] *** Aerospark has quit IRC
[12:21:27] *** IvailoStoianov has quit IRC
[12:22:26] *** Fuzzy has joined #angularjs
[12:22:26] *** Rejected has joined #angularjs
[12:22:34] *** Rebirth has quit IRC
[12:22:46] <Evanion> so you are creating a separate view for each state?
[12:22:48] *** woah has quit IRC
[12:23:15] *** mattattaque has joined #angularjs
[12:24:09] <GauravButola> seperate partial view, yes.
[12:24:32] *** Fuzzier has quit IRC
[12:24:48] *** mel| has quit IRC
[12:24:50] <Evanion> ok, from your first post it sounded like you where creating a ui-view for each state
[12:25:15] *** disorder20 has joined #angularjs
[12:25:16] *** esk4nd4r has joined #angularjs
[12:26:12] *** despai has joined #angularjs
[12:28:49] *** Foxandxss has joined #angularjs
[12:29:20] *** Rebirth has joined #angularjs
[12:29:23] *** woah has joined #angularjs
[12:31:04] *** nemothekid has quit IRC
[12:31:14] *** esk4nd4r has quit IRC
[12:32:45] *** tarnus has joined #angularjs
[12:32:50] *** apertoire has joined #angularjs
[12:32:52] *** moritzs has joined #angularjs
[12:33:20] *** despai has quit IRC
[12:33:20] *** esk4nd4r has joined #angularjs
[12:33:25] *** moritzs has quit IRC
[12:34:00] *** moritzs has joined #angularjs
[12:34:50] *** GauravButola has quit IRC
[12:35:21] *** apertoire has quit IRC
[12:35:25] *** mmealling has joined #angularjs
[12:35:25] *** rburns has joined #angularjs
[12:35:29] *** dj_zubehoer has joined #angularjs
[12:36:01] *** corehook has quit IRC
[12:36:01] *** apertoire has joined #angularjs
[12:37:41] *** tarnus has quit IRC
[12:37:57] *** despai has joined #angularjs
[12:37:58] *** opiates has joined #angularjs
[12:38:40] *** nagappan has quit IRC
[12:39:12] *** nagappan has joined #angularjs
[12:40:16] *** mmealling has quit IRC
[12:40:42] *** Left_Turn has quit IRC
[12:40:56] *** monir has quit IRC
[12:41:21] *** RangerRick has quit IRC
[12:41:34] *** FabianCook has joined #angularjs
[12:41:40] *** RangerRick has joined #angularjs
[12:42:04] *** freelyfred has quit IRC
[12:42:13] *** eslaron has joined #angularjs
[12:42:34] *** nypraise has quit IRC
[12:43:01] *** rburns has quit IRC
[12:43:03] <eslaron> Hey ^^
[12:43:34] *** jaydubya has joined #angularjs
[12:45:36] *** oliver has joined #angularjs
[12:45:37] *** disorder20 has quit IRC
[12:46:00] <eslaron> Is it possible to use $scope in app config?
[12:46:05] *** rburns has joined #angularjs
[12:46:42] *** disorder20 has joined #angularjs
[12:48:01] *** apertoire has quit IRC
[12:48:02] *** jaydubya has quit IRC
[12:48:43] *** apertoire has joined #angularjs
[12:49:40] *** jynxed has quit IRC
[12:50:30] <Foxandxss> eslaron: no
[12:50:44] <eslaron> shiet ;/
[12:50:47] <Foxandxss> $scope is a special service, can only be injected into controllers
[12:51:54] <eslaron> I use ui router and I added a controller block to my state
[12:52:14] <eslaron> because I need the catch the response message from my resolve function
[12:53:22] *** apertoire has quit IRC
[12:53:23] *** shaym_ has quit IRC
[12:54:10] *** apertoire has joined #angularjs
[12:54:29] *** opiates has quit IRC
[12:55:24] <kwladyka> How are using progress bar with ui-router?
[12:55:30] <kwladyka> *are you
[12:55:57] *** CodeFriar has quit IRC
[12:56:40] *** szymek has joined #angularjs
[12:57:42] *** MrBaboon has joined #angularjs
[12:59:29] *** Schtive has joined #angularjs
[13:00:05] *** craig has joined #angularjs
[13:00:33] *** dimetron has quit IRC
[13:01:44] *** Left_Turn has joined #angularjs
[13:01:59] *** larsgk has joined #angularjs
[13:02:30] *** MrBaboon has quit IRC
[13:02:52] *** sebhoss has joined #angularjs
[13:04:00] *** annlewis has joined #angularjs
[13:04:12] *** scottc5 has joined #angularjs
[13:04:18] *** despai has quit IRC
[13:06:18] *** dylanlindgren has joined #angularjs
[13:06:51] *** dj_zubehoer has quit IRC
[13:06:52] *** despai has joined #angularjs
[13:07:06] *** larsgk has quit IRC
[13:07:23] *** sebhoss has quit IRC
[13:07:33] *** FabianCook has left #angularjs
[13:09:09] *** DrMabuse_ has joined #angularjs
[13:09:26] *** DrMabus__ has joined #angularjs
[13:09:58] *** devylon has quit IRC
[13:10:46] *** dj_zubehoer has joined #angularjs
[13:12:49] *** woah has quit IRC
[13:13:05] *** frankblizzar has joined #angularjs
[13:13:41] *** DrMabuse_ has quit IRC
[13:13:46] *** eslaron has quit IRC
[13:15:16] *** Aerospark has joined #angularjs
[13:16:07] *** nesquerra has quit IRC
[13:19:45] *** Aerospark has quit IRC
[13:20:00] *** DrMabus__ has quit IRC
[13:23:16] *** IvailoStoianov has joined #angularjs
[13:23:38] *** gazbond has joined #angularjs
[13:23:46] *** nesquerra has joined #angularjs
[13:26:42] *** Alex_____ has joined #angularjs
[13:26:45] *** macbroadcast has joined #angularjs
[13:27:47] *** Alex_____ has quit IRC
[13:28:07] *** Lingos has joined #angularjs
[13:28:18] *** tomengland_mbp has joined #angularjs
[13:28:43] *** Oxynum has joined #angularjs
[13:29:37] *** arpu has joined #angularjs
[13:29:54] *** mennea has quit IRC
[13:31:28] *** tkimmel has joined #angularjs
[13:31:56] *** marcjs has joined #angularjs
[13:31:57] *** macbroadcast has quit IRC
[13:31:57] *** craig has quit IRC
[13:32:19] *** rhp has quit IRC
[13:32:47] *** tomengland_mbp has quit IRC
[13:32:48] *** rikkipitt has joined #angularjs
[13:33:16] *** Oxynum has quit IRC
[13:33:48] *** DrMabuse has joined #angularjs
[13:33:56] *** Oxynum has joined #angularjs
[13:34:22] *** gazbond has quit IRC
[13:36:28] *** NigelS has joined #angularjs
[13:36:31] *** tkimmel has quit IRC
[13:36:56] *** arkin has joined #angularjs
[13:40:25] *** NigelS has quit IRC
[13:41:02] *** NigelS has joined #angularjs
[13:41:45] *** JmZ_ is now known as JmZ
[13:42:53] *** evilaliv3 has quit IRC
[13:44:19] *** dylanlindgren has quit IRC
[13:44:43] *** DrMabuse has quit IRC
[13:45:03] *** Schtive has quit IRC
[13:45:27] *** c00ljs has joined #angularjs
[13:45:39] *** anjumkaiser has quit IRC
[13:46:14] *** c00ljs has quit IRC
[13:46:29] *** c00ljs has joined #angularjs
[13:47:10] *** fixl has quit IRC
[13:47:47] *** tech2_ has quit IRC
[13:49:13] *** jr3 has joined #angularjs
[13:51:21] *** nandoflorestan has joined #angularjs
[13:52:20] *** mattattaque has quit IRC
[13:52:31] *** Caroga_afk is now known as Caroga
[13:53:28] *** jr3 has quit IRC
[13:54:17] *** k-dawg has quit IRC
[13:54:37] *** jr3 has joined #angularjs
[13:55:50] *** disorder20 has quit IRC
[13:57:10] *** disorder20 has joined #angularjs
[13:58:06] *** quantax- has quit IRC
[13:59:07] *** corehook has joined #angularjs
[13:59:17] *** kwladyka has quit IRC
[14:00:23] *** tarnus has joined #angularjs
[14:01:30] *** k-dawg has joined #angularjs
[14:02:45] *** tristanp has joined #angularjs
[14:02:50] *** mikemols has joined #angularjs
[14:03:27] *** corehook has quit IRC
[14:03:31] *** Juanchito has joined #angularjs
[14:05:24] *** tbo_ has joined #angularjs
[14:05:35] *** oliver has quit IRC
[14:06:40] *** corehook has joined #angularjs
[14:07:18] *** tbenbrahim has joined #angularjs
[14:07:29] *** tristanp has quit IRC
[14:07:58] *** rburns has quit IRC
[14:08:11] *** Sivalingam has joined #angularjs
[14:09:25] *** Aliks has joined #angularjs
[14:09:37] <Sivalingam> Any anyone suggest best angularjs video tutorial
[14:09:48] *** arkin has quit IRC
[14:10:28] *** a3gis has joined #angularjs
[14:11:07] *** corehook has quit IRC
[14:11:13] *** matthew_r has quit IRC
[14:11:33] *** matthew_r has joined #angularjs
[14:12:40] *** mennea has joined #angularjs
[14:13:18] *** corehook has joined #angularjs
[14:13:26] *** Sivalingam has left #angularjs
[14:13:29] *** GreenJello has quit IRC
[14:13:49] *** arkin has joined #angularjs
[14:14:15] *** Aliks has quit IRC
[14:14:26] *** despai has quit IRC
[14:15:41] *** ludkiller has quit IRC
[14:16:21] *** evilaliv3 has joined #angularjs
[14:17:14] *** ludkiller has joined #angularjs
[14:17:38] *** corehook has quit IRC
[14:18:34] *** recidive has joined #angularjs
[14:18:57] *** marcjs has quit IRC
[14:20:02] *** corehook has joined #angularjs
[14:20:46] *** threesixes has quit IRC
[14:21:08] *** mmealling has joined #angularjs
[14:24:18] *** atomical has joined #angularjs
[14:24:49] *** SergioFilhow has quit IRC
[14:24:49] *** disorder20 has quit IRC
[14:25:08] *** hswolff has quit IRC
[14:25:21] *** crakrjak has joined #angularjs
[14:25:21] *** ciwolsey has joined #angularjs
[14:25:41] *** mmealling has quit IRC
[14:26:14] *** monir has joined #angularjs
[14:26:23] *** GreenJello has joined #angularjs
[14:27:32] *** hswolff has joined #angularjs
[14:27:42] *** qdk has quit IRC
[14:28:54] *** MuffinMan` has joined #angularjs
[14:29:25] *** Alex_____ has joined #angularjs
[14:29:50] *** sandelius has quit IRC
[14:31:17] *** bayousoft has quit IRC
[14:32:20] *** a3gis has quit IRC
[14:32:31] *** jaydubya has joined #angularjs
[14:34:15] *** sigurding has quit IRC
[14:35:27] *** SergioFilhow has joined #angularjs
[14:36:15] *** bayousoft has joined #angularjs
[14:37:05] *** jaydubya has quit IRC
[14:37:08] *** mjs2600 has quit IRC
[14:37:24] *** AciD`` has joined #angularjs
[14:39:31] *** crakrjak has quit IRC
[14:39:36] *** cthrax has joined #angularjs
[14:40:14] *** jaydubya has joined #angularjs
[14:40:15] *** NigelS has quit IRC
[14:41:00] *** Owner__ has joined #angularjs
[14:41:06] *** Trow1 has joined #angularjs
[14:41:24] *** Owner__ is now known as Guest73247
[14:42:36] *** marcjs has joined #angularjs
[14:42:50] *** TopTop has joined #angularjs
[14:43:02] <TopTop> Bom dia...
[14:43:16] *** despai has joined #angularjs
[14:43:35] *** NigelS has joined #angularjs
[14:44:09] <TopTop> my form returned undefined and i don't know todo...
[14:44:20] *** Angulous has joined #angularjs
[14:44:23] <TopTop> anybody have any idea?
[14:44:52] *** Trow has quit IRC
[14:44:59] *** favetelinguis has joined #angularjs
[14:45:09] *** reavengrey has joined #angularjs
[14:46:01] *** Orbitrix has quit IRC
[14:46:12] <arkin> TopTop: paste code?
[14:46:16] <arkin> *in a pastebin
[14:46:33] *** MrBaboon has joined #angularjs
[14:47:54] <TopTop> This my form.
[14:48:51] *** winmutt has quit IRC
[14:49:10] <TopTop> the unique field is available is this... <input type="text" placeholder="{{padroniDetail.iositordservobs}}" ng-model="updt.repavcal">
[14:49:21] *** JohnBat26 has joined #angularjs
[14:50:08] <arkin> TopTop: so console.log(updt) returns nothing
[14:50:09] <arkin> ?
[14:50:30] <TopTop> <arkin> return indefined
[14:50:46] <arkin> yea it doesnt make sense
[14:50:51] <arkin> can you try $scope.updt
[14:51:38] <TopTop> <arkin> in the console.log or ng-submit?
[14:51:39] *** sebhoss has joined #angularjs
[14:51:44] *** MrBaboon has quit IRC
[14:52:05] <arkin> TopTop: can you paste your controller too
[14:52:42] <nodedfree> how can i handle socket.io emit with function inside controller?
[14:52:46]
<Angulous> hi there, this code is not mine, but my friend doesn't know why isn't working. I not very familiar with AngularJS, but I was wondering If you could give us any tip: http://jsfiddle.net/akgxn791/1/
[14:52:59] *** corehook has quit IRC
[14:53:48] *** rikkipitt has quit IRC
[14:54:05] *** alinou has joined #angularjs
[14:54:05] *** favetelinguis has quit IRC
[14:54:33] *** neoadventist has joined #angularjs
[14:54:39] <arkin> TopTop: so within $scope.updDataPadro = function(updt) { you have put console.log(updt) ?
[14:54:43] *** favetelinguis has joined #angularjs
[14:54:57] *** B1x1t0 has quit IRC
[14:55:03] *** annlewis has quit IRC
[14:55:22] *** despai has quit IRC
[14:56:22] <TopTop> <arkin> yes
[14:56:27] *** Alex_____ has quit IRC
[14:56:47] *** bengillies has joined #angularjs
[14:56:48] *** sebhoss has quit IRC
[14:57:23] <arkin> TopTop: It all looks fine to me, so its hard to say... I don't think its the problem but try and add a name="repavcal" to the field too
[14:58:53] *** favetelinguis has quit IRC
[14:59:17] *** monir has quit IRC
[14:59:20] *** Alex_____ has joined #angularjs
[15:00:14] <tbenbrahim> Good morning. I have a div that has to be a dynamic height, say window.height-200. Currently, I set up the height and bind the window.resize event in a controller, which does not seem right (even though it works). Where do you guys put such code?
[15:00:28] *** Alex_____ has quit IRC
[15:00:45] <arkin> tbenbrahim: that seems fine...?
[15:01:05] <tbenbrahim> dom manipulation code in a controller does not seem right
[15:01:10] *** dj_zubehoer has quit IRC
[15:01:17] *** bengillies has quit IRC
[15:01:22] <Angulous> thanks a lot sacho_
[15:01:25] *** dj_zubehoer has joined #angularjs
[15:01:49] <arkin> tbenbrahim: you could put it somewhere else like an eventservice and broadcast the window resize if you needed it more than 1 place..
[15:01:55] <TopTop> <arkin> tks... but not work... a'm try again later.
[15:02:42] *** winmutt has joined #angularjs
[15:03:46] *** dc_ has joined #angularjs
[15:04:29] *** nagappan has quit IRC
[15:04:46] <tbenbrahim> arkin, no that is the only place I need it. only for that view, ideally I would like to put it in the view and not the controller. maybe I need to explore css options
[15:05:10] *** nagappan has joined #angularjs
[15:06:35] *** Angulous has quit IRC
[15:06:43] *** nachinius has joined #angularjs
[15:07:13] *** firelinks has joined #angularjs
[15:07:34] *** quantax- has joined #angularjs
[15:08:35] *** Oxynum has quit IRC
[15:09:46] <arkin> tbenbrahim: hmm wouldn't put it in the view, could always do a directive?
[15:10:25] *** Oxynum has joined #angularjs
[15:11:32] *** sebhoss has joined #angularjs
[15:11:56] *** AlSquirrel has joined #angularjs
[15:13:06] *** AtomicCookie has joined #angularjs
[15:14:23] *** evilaliv3 has quit IRC
[15:14:39] *** tonyfrazier has joined #angularjs
[15:14:49] *** nachinius has quit IRC
[15:14:56] *** Aerospark has joined #angularjs
[15:15:16] *** corehook has joined #angularjs
[15:15:59] *** Alina-malina has quit IRC
[15:16:57] *** drej has quit IRC
[15:17:11] *** jlambert121 has joined #angularjs
[15:18:20] *** cannap has joined #angularjs
[15:19:21] *** Aerospark has quit IRC
[15:20:16] *** tkimmel has joined #angularjs
[15:20:21] *** favetelinguis has joined #angularjs
[15:21:25] *** favetelinguis has quit IRC
[15:21:27] *** Alina-malina has joined #angularjs
[15:21:37] *** favetelinguis has joined #angularjs
[15:22:10] *** JohnBat26 has quit IRC
[15:22:43] <arkin> lol what
[15:23:12] *** glassir has joined #angularjs
[15:23:52] *** dj_zubehoer has quit IRC
[15:24:39] *** mglvl has joined #angularjs
[15:24:53] *** caitp has joined #angularjs
[15:24:54] *** tkimmel has quit IRC
[15:25:03] *** anjumkaiser has joined #angularjs
[15:25:37] *** jacuqesdancona_ has quit IRC
[15:26:10] *** jacuqesdancona_ has joined #angularjs
[15:27:38] *** hell_razer has joined #angularjs
[15:28:20] *** Alina-malina has quit IRC
[15:28:32] *** JohnBat26 has joined #angularjs
[15:30:32] *** jacuqesdancona_ has quit IRC
[15:31:25] *** krawek has joined #angularjs
[15:31:25] *** krawek has joined #angularjs
[15:31:34] *** Alina-malina has joined #angularjs
[15:32:56] *** H1FuelCell has joined #angularjs
[15:34:22] *** jlambert121 has quit IRC
[15:34:41] *** SergioFilhow has quit IRC
[15:34:59] *** SergioFilhow has joined #angularjs
[15:37:58] *** zwacky has joined #angularjs
[15:40:51] *** despai has joined #angularjs
[15:41:27] *** crakrjak has joined #angularjs
[15:42:16] *** mennea has quit IRC
[15:43:20] *** oncenull has joined #angularjs
[15:43:32] *** H1FuelCell has quit IRC
[15:44:35] *** H1FuelCell has joined #angularjs
[15:44:38] *** ctanga has joined #angularjs
[15:44:57] *** beardyname has joined #angularjs
[15:45:17] *** jas-_ has joined #angularjs
[15:45:54] *** jae has joined #angularjs
[15:46:00] *** crakrjak has quit IRC
[15:46:06] *** nandoflorestan has quit IRC
[15:46:08] *** Sijdesign has joined #angularjs
[15:46:25] *** jas-_ has quit IRC
[15:47:56] *** ishan1604 has joined #angularjs
[15:47:56] *** despai has quit IRC
[15:48:03] *** mjs2600 has joined #angularjs
[15:48:13] *** firelinks has quit IRC
[15:49:25] *** andrewhl has joined #angularjs
[15:51:54] *** Klumben has quit IRC
[15:53:07] *** mattattaque has joined #angularjs
[15:54:10] *** beardyname has quit IRC
[15:54:52] *** oncenull has quit IRC
[15:55:18] *** JosephBergevin has joined #angularjs
[15:55:23] *** zwacky has quit IRC
[15:55:33] *** cornerma1 has joined #angularjs
[15:55:33] *** crakrjak has joined #angularjs
[15:57:03] *** monir has joined #angularjs
[15:57:13] *** Trow2 has joined #angularjs
[15:58:00] *** codeman has joined #angularjs
[15:58:24] *** Trow1 has quit IRC
[15:58:32] *** whitebook has joined #angularjs
[15:58:43] *** cornerman has quit IRC
[15:58:51] *** cornerma1 is now known as cornerman
[15:59:10] *** Klumben has joined #angularjs
[16:00:07] *** morenoh149 has quit IRC
[16:00:46] *** mattattaque has quit IRC
[16:01:15] *** Siecje has joined #angularjs
[16:01:24] *** crakrjak has quit IRC
[16:02:36] *** H1FuelCell has quit IRC
[16:02:44] *** H1FuelCell has joined #angularjs
[16:03:37] *** Alex_____ has joined #angularjs
[16:04:43] *** Alex_____ has quit IRC
[16:05:27] *** cotko has joined #angularjs
[16:05:29] *** B1x1t0 has joined #angularjs
[16:05:32] *** caitp has quit IRC
[16:07:37] *** drej has joined #angularjs
[16:08:07] *** kixo_ has quit IRC
[16:08:45] *** zwacky has joined #angularjs
[16:09:41] *** eslaron has joined #angularjs
[16:09:55] *** scottc5 has quit IRC
[16:10:17] *** Aliks has joined #angularjs
[16:10:21] *** arkin has quit IRC
[16:10:30] <eslaron> Hey ^^
[16:10:43] *** mmeallin_ has joined #angularjs
[16:10:55] *** crakrjak has joined #angularjs
[16:12:27] *** crakrjak has quit IRC
[16:13:45] *** Caroga is now known as Caroga_afk
[16:14:35] *** Aliks has quit IRC
[16:15:19] *** zwacky has quit IRC
[16:15:21] *** Benstr has quit IRC
[16:15:58] *** comma8 has quit IRC
[16:16:13] *** IvailoStoianov has quit IRC
[16:16:37] *** nesquerra has quit IRC
[16:17:21] *** GreenJello has quit IRC
[16:18:38] *** qdk has joined #angularjs
[16:18:38] *** Siecje has quit IRC
[16:19:57] *** Siecje has joined #angularjs
[16:21:53] *** H1FuelCell has quit IRC
[16:22:34] *** mjs2600 has quit IRC
[16:22:48] *** recidive has quit IRC
[16:24:20] *** comma8 has joined #angularjs
[16:25:37] *** rikkipitt has joined #angularjs
[16:27:05] <amergin> What is the correct event to listen to on ui-router when I want the state/view to be fully rendered? Use case: different tabs in an application, and tab content needs to be refreshed only when the state is fully loaded. I thought this would be $viewContentLoaded, but no.
[16:28:16] *** CodeFriar has joined #angularjs
[16:28:44] *** zwacky has joined #angularjs
[16:29:28] *** Bade has joined #angularjs
[16:29:55] *** BillCriswell has joined #angularjs
[16:30:08] *** Poppabear has joined #angularjs
[16:30:37] *** rikkipitt has quit IRC
[16:30:39] *** monir has quit IRC
[16:31:22] *** JosephBergevin has quit IRC
[16:32:45] <amergin> ah, seems it works if I do my refreshing inside $timeout when $viewContentLoaded is fired.
[16:32:48] *** Trow1 has joined #angularjs
[16:33:26] *** nycdevgirl has joined #angularjs
[16:33:59] *** recidive has joined #angularjs
[16:34:34] *** lite has joined #angularjs
[16:34:44] *** H1FuelCell has joined #angularjs
[16:34:50] *** esk4nd4r has quit IRC
[16:35:22] *** MrBaboon has joined #angularjs
[16:36:24] *** Trow2 has quit IRC
[16:36:48] *** jacuqesdancona_ has joined #angularjs
[16:38:26] *** shpoont_ has joined #angularjs
[16:38:30] *** craig_ has joined #angularjs
[16:38:46] *** Bade has quit IRC
[16:38:56] *** gazbond has joined #angularjs
[16:39:06] *** shpoont_ has joined #angularjs
[16:39:37] *** MrBaboon has quit IRC
[16:39:51] *** shpoont_ has quit IRC
[16:39:55] *** shpoont has quit IRC
[16:40:12] *** junmin has joined #angularjs
[16:40:18] *** shpoont_ has joined #angularjs
[16:40:44] *** prbc has joined #angularjs
[16:40:47] *** shpoont_ has quit IRC
[16:41:08] *** shpoont_ has joined #angularjs
[16:41:11] *** jacuqesdancona_ has quit IRC
[16:42:23] *** Sijdesign has quit IRC
[16:43:15] *** marcjs has quit IRC
[16:43:41] *** nesquerra has joined #angularjs
[16:44:13] *** marcjs has joined #angularjs
[16:46:41] *** tonyfrazier has quit IRC
[16:46:43] <eslaron> ctanga, I'll try that
[16:47:00] *** tonyfrazier has joined #angularjs
[16:47:10] *** teddyp1cker has joined #angularjs
[16:47:31] *** MuffinMan` has quit IRC
[16:47:47] *** reavengrey is now known as reavengr1y
[16:47:48] *** nesquerra has quit IRC
[16:48:06] *** esk4nd4r has joined #angularjs
[16:48:50] *** tonyfrazier has quit IRC
[16:48:57] *** mmeallin_ has quit IRC
[16:49:07] *** marcjs has quit IRC
[16:49:52] *** derrzzaa_ has joined #angularjs
[16:50:10] <eslaron> no error and the controller block remains silent
[16:50:27] *** stirlingw has joined #angularjs
[16:50:34] *** H1FuelCell has quit IRC
[16:51:18] *** corehook_ has joined #angularjs
[16:51:44] *** corehook has quit IRC
[16:51:52] *** nycdevgirl has quit IRC
[16:52:29] *** jae is now known as LordJae
[16:52:40] *** Foxandxss has quit IRC
[16:53:01] *** cads has joined #angularjs
[16:53:18] *** mennea has joined #angularjs
[16:54:53] *** krawek has quit IRC
[16:54:53] *** JosephBergevin has joined #angularjs
[16:56:19] *** NigelS has quit IRC
[16:56:28] *** mmealling has joined #angularjs
[16:57:19] <ctanga> eslaron: then is suspect you don’t have an anonymous ui-view
[16:57:22] *** NigelS has joined #angularjs
[16:57:50] <ctanga> controller is for ui-view
[16:57:55] *** cthrax has quit IRC
[16:58:00] <ctanga> you have 2 named views declared, but neither of them have controllers
[16:58:06] <eslaron> ctanga, I checked that. I have my cookies deleted. So now I am anonymous
[16:58:15] *** sigurding has joined #angularjs
[16:58:30] <ctanga> put your controller inside the view declaration, where the templateUrls are declared
[16:58:30] *** ctanga has left #angularjs
[16:58:33] *** ctanga has joined #angularjs
[16:58:35] *** esk4nd4r has quit IRC
[16:58:36] <eslaron> okay
[16:59:09] *** hmsimha_ has quit IRC
[17:00:14] *** tech2_ has joined #angularjs
[17:03:21] *** despai has joined #angularjs
[17:04:06] <eslaron> ctanga, it started working when i put the controller in one of the named views declarations :)
[17:04:54] *** tristanp has joined #angularjs
[17:05:24] *** zivester has joined #angularjs
[17:05:56] *** tomengland_mbp has joined #angularjs
[17:06:10] *** cthrax has joined #angularjs
[17:06:10] *** zivester has quit IRC
[17:07:02] *** vonnegut has joined #angularjs
[17:07:30] *** LordJae is now known as Jae
[17:07:39] *** zivester has joined #angularjs
[17:07:39] *** drej has quit IRC
[17:07:45] *** discgo has joined #angularjs
[17:08:00] *** subsonic has joined #angularjs
[17:08:24] *** zivester has quit IRC
[17:08:37] *** k-dawg has quit IRC
[17:09:11] *** tkimmel has joined #angularjs
[17:09:32] *** zivester has joined #angularjs
[17:09:45] *** tristanp has quit IRC
[17:10:16] *** soj has joined #angularjs
[17:10:34] *** opiates has joined #angularjs
[17:10:38] *** tomengland_mbp has quit IRC
[17:10:57] *** chrisshattuck has joined #angularjs
[17:11:29] *** drej has joined #angularjs
[17:12:05] *** trojs has joined #angularjs
[17:12:18] <trojs> merhaba
[17:13:41] *** tkimmel has quit IRC
[17:13:58] *** arkin has joined #angularjs
[17:14:43] *** krawek has joined #angularjs
[17:14:43] *** krawek has joined #angularjs
[17:15:20] *** morenoh149 has joined #angularjs
[17:16:47] <tombee> If I call a web service and get back a block of text (not json) and wanted to render it in a table, how might I go about that?
[17:18:50] *** subsonic- has joined #angularjs
[17:19:22] *** marcjs has joined #angularjs
[17:20:41] *** soee__ has joined #angularjs
[17:21:08] *** glosoli has quit IRC
[17:21:34] *** soee_ has quit IRC
[17:21:43] *** VinceZa has joined #angularjs
[17:22:08] *** reavengr2y has joined #angularjs
[17:22:28] *** subsonic has quit IRC
[17:22:41] *** mennea has quit IRC
[17:23:11] *** marcjs has quit IRC
[17:23:19] *** mennea has joined #angularjs
[17:23:22] *** subsonic- has quit IRC
[17:24:28] <zomg> tombee: you'd just process it in some fashion to separate each item into an array
[17:24:30] *** NigelS has quit IRC
[17:25:06] *** NigelS has joined #angularjs
[17:25:24] *** reavengr1y has quit IRC
[17:25:41] <tombee> zomg: hmm ok, I'll try my best :)
[17:26:22] *** rho has joined #angularjs
[17:27:21] *** arabot1 has joined #angularjs
[17:27:40] *** arabot1 has left #angularjs
[17:28:03] *** mennea_ has joined #angularjs
[17:28:56] *** monir has joined #angularjs
[17:29:17] *** IvailoStoianov has joined #angularjs
[17:29:57] *** adpirz has joined #angularjs
[17:30:30] *** mennea has quit IRC
[17:32:09] *** gazbond has quit IRC
[17:32:52] *** trojs has quit IRC
[17:34:22] *** ishan1604 has quit IRC
[17:35:07] *** adpirz has quit IRC
[17:36:47] *** recidive has quit IRC
[17:37:19] *** lexek__ has quit IRC
[17:37:20] *** recidive has joined #angularjs
[17:38:53] *** Jae has left #angularjs
[17:38:58] *** VinceZa has left #angularjs
[17:40:13] *** scottc5 has joined #angularjs
[17:40:42] *** cacts has joined #angularjs
[17:41:15] *** SahanH has joined #angularjs
[17:41:21] *** night-owl is now known as zz_night-owl
[17:41:46] <jr3> when I do bower install package, and it comes back when cannot find suitable version for angular. Does that mean that the package doesn't work with my version of angular?
[17:41:52] *** despai has quit IRC
[17:42:35] *** Guest60253 has joined #angularjs
[17:42:59] *** drej has quit IRC
[17:43:41] *** nesquerra has joined #angularjs
[17:43:41] *** evilaliv3 has joined #angularjs
[17:46:12] *** bengillies has joined #angularjs
[17:46:45] *** jimvideo has joined #angularjs
[17:46:53] *** craig_ has quit IRC
[17:47:02] *** davi has quit IRC
[17:47:26] *** jlambert121 has joined #angularjs
[17:48:30] *** nesquerra has quit IRC
[17:48:34] *** andrewhl has quit IRC
[17:48:37] *** recidive has quit IRC
[17:48:38] *** thrasibule_ has quit IRC
[17:48:40] *** dc_ has quit IRC
[17:48:49] *** prbc has quit IRC
[17:49:02] *** stirlingw has quit IRC
[17:49:25] *** prbc has joined #angularjs
[17:49:36] <eslaron> How to declare a controller for a templateUrl in ui-router to be in a separate file?
[17:49:43] *** stirlingw has joined #angularjs
[17:50:37] *** snurfery has joined #angularjs
[17:50:56] *** bengillies has quit IRC
[17:52:02] *** Aliks has joined #angularjs
[17:52:36] *** themime has joined #angularjs
[17:53:01] *** tbenbrahim has quit IRC
[17:53:12] *** JosephBergevin has quit IRC
[17:53:37] *** prbc has quit IRC
[17:55:43] *** netwoodle is now known as noodle
[17:56:34] *** zivester has quit IRC
[17:57:45] *** mennea_ has quit IRC
[17:58:22] *** mennea has joined #angularjs
[17:58:30] *** Fishy has quit IRC
[17:59:06] *** annlewis has joined #angularjs
[18:00:20] *** thrasibule has joined #angularjs
[18:00:29] *** DLSteve has joined #angularjs
[18:00:37] *** discgo has quit IRC
[18:00:42] *** vonnegut has quit IRC
[18:00:54] *** oste has joined #angularjs
[18:01:18] *** sigurding has quit IRC
[18:01:44] <oste> why does input radio not work inside ng-repeat?
[18:01:52] <oste> <input type="radio" ng-model=“test” value=“wtf” name="test">
[18:01:59] *** jlambert121 has quit IRC
[18:02:04] <oste> as soon as i place that inside ng-repeat it stops working
[18:02:04] *** codeman has quit IRC
[18:02:37] *** drej has joined #angularjs
[18:02:55] *** NigelS has quit IRC
[18:03:28] <themime> what do you mean by "stops working" ?
[18:03:31] *** krawek has quit IRC
[18:03:34] <themime> oste: do you have a plunker?
[18:03:54] <themime> oste: also don't use value="", set the model value via scope
[18:04:23] <oste> clicking the radio no longer updates the model
[18:05:05] <oste> value=“” seems ok to me
[18:05:05] *** vonnegut has joined #angularjs
[18:05:07] *** s00pcan_ has quit IRC
[18:05:24] <oste> scope var test would equal “wtf”
[18:05:33] <oste> and it does when outside of ng-repeat
[18:05:43] *** stirlingw has quit IRC
[18:05:46] <themime> is the model a string
[18:05:51] *** tristanp has joined #angularjs
[18:06:01] <oste> i think so
[18:06:02] *** sophie_ has joined #angularjs
[18:06:03] <themime> because then youre getting interference with the parent scope, you shouldn't save primitive types directly on scope
[18:06:07] *** Siecje has left #angularjs
[18:06:13] <oste> martha focker
[18:06:30] <oste> for realz?
[18:06:35] <oste> damn i think i hit this snag once before
[18:06:49] <sophie_> i am new to angular.can anybody tell me how to ng-hide button itself when clicked?
[18:07:05] <oste> sophie_ ng-hide=“myVar”
[18:07:13] *** Ale______ has joined #angularjs
[18:07:17] <oste> when myVar is false in your controller it will hide
[18:07:27] <themime> but don't use a primitive type on the scope
[18:07:27] <oste> $scope.myVar = false;
[18:07:36] <themime> so ng-hide="options.myVar"
[18:07:43] <oste> haha
[18:07:46] <themime> :)
[18:07:53] <sophie_> ohh cool
[18:07:59] <sophie_> thanks
[18:08:18] *** Ale______ has quit IRC
[18:09:09] *** discgo has joined #angularjs
[18:09:47] *** arkin has quit IRC
[18:10:10] *** tristanp has quit IRC
[18:10:47] *** stirlingw has joined #angularjs
[18:10:49] *** Aliks has quit IRC
[18:11:04] *** mattattaque has joined #angularjs
[18:11:28] *** Fishy has joined #angularjs
[18:12:01] *** dj_zubehoer has joined #angularjs
[18:13:28] *** oste has quit IRC
[18:14:00] *** spaceonline has joined #angularjs
[18:14:57] *** anjumkaiser has quit IRC
[18:15:11] *** Aliks_ has joined #angularjs
[18:15:19] *** Seus has quit IRC
[18:15:25] *** krawek has joined #angularjs
[18:15:25] *** krawek has joined #angularjs
[18:15:31] *** arpu has quit IRC
[18:15:58] *** joker666 has joined #angularjs
[18:17:13] *** diegoaguilar has joined #angularjs
[18:18:41] *** joker666 has quit IRC
[18:18:51] *** tomzx`afk is now known as tomzx
[18:19:03] *** anjumkaiser has joined #angularjs
[18:19:16] *** shredjs has joined #angularjs
[18:19:56] <shredjs> He guys, how do i pass the scope to a modal.open ?
[18:20:04] <shredjs> the scope:'scope' doesnt work obviously
[18:20:13] *** mary5030 has joined #angularjs
[18:20:20] *** recidive has joined #angularjs
[18:20:50] *** adpirz has joined #angularjs
[18:20:53] *** andrewhl has joined #angularjs
[18:21:13] *** MrBaboon has joined #angularjs
[18:21:22] *** mglvl has quit IRC
[18:24:04] *** nya has quit IRC
[18:24:16] *** larsgk has joined #angularjs
[18:24:53] *** zivester has joined #angularjs
[18:25:40] *** favetelinguis has quit IRC
[18:25:53] *** MrBaboon has quit IRC
[18:25:59] *** andrewhl has quit IRC
[18:26:14] *** favetelinguis has joined #angularjs
[18:26:58] <tombee> if I wanted to do a $http.get and allow the client to download the response as a file, how would I do that?
[18:27:47] *** mennea has quit IRC
[18:28:04] *** Bodin- has joined #angularjs
[18:28:21] *** mennea has joined #angularjs
[18:29:10] *** moafoca has joined #angularjs
[18:29:12] <themime> tombee: can you not have a static link to the file?
[18:29:53] <tombee> themime: the problem is I need to provide headers for authentication, so window.open won't do the trick
[18:29:55] <tombee> either
[18:30:28] <themime> <a href="path/to/file">Click to Download></a> - would force auth to access
[18:30:38] *** glassir has quit IRC
[18:30:53] *** jpiasetz has quit IRC
[18:31:07] *** favetelinguis has quit IRC
[18:31:23] *** Aerospark has joined #angularjs
[18:31:30] *** nfroidure has quit IRC
[18:31:37] <themime> wrapped in a service
[18:32:50] *** sigurding has joined #angularjs
[18:33:26] *** mglvl has joined #angularjs
[18:33:37] *** Lingos has quit IRC
[18:34:04] <tombee> themime: yeah so this app I'm trying to help out on uses an X-Service-Key or auth token header, so that would need to be provided
[18:34:53] *** ctanga has quit IRC
[18:34:53] <tombee> so I can't use a static link
[18:34:53] <MalfaitRobin> will controllers and what not load after an app.run() block or async?
[18:34:56] <themime> tombee: oooh yea check out that link then
[18:35:13] <themime> MalfaitRobin: maybe? can you clarify your question a little
[18:35:31] *** CodeFriar has quit IRC
[18:37:21]
<MalfaitRobin> themime well the problem is, I have som code in my app.run block http://kopy.io/KHV40 but my controllers use some of that information, but it is not been loaded yet SO... my page is blank
[18:37:28] <MalfaitRobin> on the initial hard refresh
[18:37:46] *** Linxcat has joined #angularjs
[18:37:50] *** sigurding has quit IRC
[18:37:54] <themime> MalfaitRobin: don't use rootscope, you should be using a service that shares the data
[18:38:10] <MalfaitRobin> but but, I always use $rootScope :o
[18:38:26] <Linxcat> If i have a .net backend and angularjs as front end, that is the best way to send configuration settings to client side (angular)?
[18:38:32] <themime> MalfaitRobin: but but it results in blank pages and had to debug coupled code
[18:38:35] <themime> hard*
[18:38:41] *** prbc has joined #angularjs
[18:38:49] <MalfaitRobin> themime so a service would do the job right?
[18:39:04] <themime> MalfaitRobin: yea. well technically a factory
[18:39:30] <themime> Linxcat: as you would with any other backend, a factory/service that calls $http or similar
[18:39:34] <MalfaitRobin> themime is a factory a singleton?
[18:39:36] <themime> yes
[18:40:14] <themime> service/factory are kind of interchaneable words around here, but 99.9% of the time people use a factory
[18:40:21] <sophie_> oste: its not working
[18:40:39] <MalfaitRobin> themime okay thanks
[18:40:52] <Linxcat> themime: not data, but configuration settings, like URL of the service, for example
[18:41:16] <Linxcat> themime: i dont want to hardcore url of REST service in angularJS
[18:41:35] <Linxcat> "hardcode"
[18:41:36] <themime> Linxcat: ah you want to use <%%> to insert it from the backend?
[18:41:45] *** cads has quit IRC
[18:41:56] *** zivester has quit IRC
[18:41:56] *** oniMaker has quit IRC
[18:42:36] <sophie_> themime: oste: its not working .the list of button are generated through ng-repeat but when i did like what you said all button get hide :-(
[18:42:47] <Linxcat> themime: that is one way, but i was looking for something better
[18:42:52] *** linked has joined #angularjs
[18:43:03] <linked> greetings
[18:43:06] *** ctanga has joined #angularjs
[18:43:15] *** Bade has joined #angularjs
[18:43:22] <themime> Linxcat: i use .net at work and have done similar hacks. you can set .net to use <%%> in JS files so it would LOOK hard coded but could be set by Page_Load grabbing from config files
[18:43:29] <themime> Linxcat: how would you expect it to be done in other languages?
[18:43:34] <linked> can i call Restangular inside a callback function?
[18:43:48] *** adpirz has quit IRC
[18:43:56] <sophie_> themime: oste: i want to hide buuton from list only particulr is clicked not all
[18:43:57] <themime> linked: i don't use restangular but i don't see why you couldn't
[18:44:06] <themime> sophie_: do you have a plunker?
[18:44:09] *** ajk27 has quit IRC
[18:44:17] *** oniMaker has joined #angularjs
[18:44:27] <themime> helps to see it to debug, contrary to popular opinion we aren't mind readers :)
[18:44:41] *** nesquerra has joined #angularjs
[18:44:43] *** Oxynum has quit IRC
[18:45:08] *** firelinks has joined #angularjs
[18:45:09] <linked> themime: hi. i also can't understand why my simple get() is not being called inside my callback function.
[18:45:16] *** dj_zubehoer has quit IRC
[18:45:25] *** ctanga has quit IRC
[18:45:28] <sophie_> themime: i want to hide specific button from list when each one is clicked now all button gets hidden when i click on one button
[18:46:11] <MalfaitRobin> themime what does a factory return? an object?
[18:46:17] <Linxcat> themime: yeah maybe you are right. other solutions seem like they would take a bunch of effort to implement. So I would just write out a "APP_CONFIG" js object to client side and then have my angular controllers/directives read from there
[18:46:37] *** renlo has joined #angularjs
[18:46:42] *** ajk27 has joined #angularjs
[18:47:00] *** nfroidure has joined #angularjs
[18:48:08] *** Evanion has quit IRC
[18:48:13] *** Evanion_ has joined #angularjs
[18:48:25] *** kixo_ has joined #angularjs
[18:49:14] *** rikkipitt has joined #angularjs
[18:49:39] *** caitp has joined #angularjs
[18:49:41] *** dj_zubeh_ has joined #angularjs
[18:51:04] *** mtsr has quit IRC
[18:51:10] *** Guest73247 has quit IRC
[18:52:07] *** Lingos_ has joined #angularjs
[18:52:09] *** mtsr has joined #angularjs
[18:52:11] <MalfaitRobin> So I have this problem themime that I started using AngularJS, now I have 2problems...
[18:52:28] *** nesquerra has quit IRC
[18:52:32] <reavengr2y> add jquery for 3
[18:52:44] <MalfaitRobin> themime I have injected the factory and get Uncaught Error: [$injector:cdep] Circular dependency found: application <- domainService <- application
[18:53:04] *** mtsr has quit IRC
[18:54:09] *** skywritergr has joined #angularjs
[18:54:11] <themime> Linxcat: yea if you find something else let me know haha. but that was the conclusion i came to when doing jquery and/or requirejs before i discovered angular
[18:54:12] *** caitp has quit IRC
[18:54:21] <reavengr2y> Add a dependency on ld-linux.so
[18:54:38] <reavengr2y> That'll resolve all dependencies
[18:54:51] <themime> MalfaitRobin: make a plunker
[18:54:55] *** dc_ has joined #angularjs
[18:55:02] <reavengr2y> themime: He's clearly already stated the problem
[18:55:12] *** recidive has quit IRC
[18:55:19] <MalfaitRobin> themime that's impossible :p I ain't going to upload 10mbs of js files :p
[18:55:35] <themime> reavengr2y: that was kind of rude. i was helping him earlier, his "state problem" was an evolution of a suggestion i made
[18:55:36] <reavengr2y> "application" depends on "domainService", which depends on application, which depends on "domainService", which depends on application...
[18:55:42] <themime> stated*
[18:55:59] <reavengr2y> So the solution is to properly factor out and isolate his code
[18:56:01] <themime> MalfaitRobin: sometimes making a plunker is about simplifying your problem
[18:56:10] <reavengr2y> So that he doesn't have circular dependencies
[18:56:19] <themime> right, and making a plunker would help him do that
[18:56:27] <themime> and help me answer his questions further
[18:56:46] <reavengr2y> Political correctness, and the "feelings first" approach at its finest
[18:57:02] <reavengr2y> Everybody deserves a medal for participation
[18:57:18] <themime> i don't understand
[18:57:48] *** iiinzg has quit IRC
[18:57:48] *** mennea has quit IRC
[18:57:51] *** Oxynum has joined #angularjs
[18:58:03] *** tkimmel has joined #angularjs
[18:58:05] *** Yahkob has joined #angularjs
[18:58:28] <themime> reavengr2y: you just seem annoyed i called you out for not being fully aware of the situation
[18:58:30] *** mennea has joined #angularjs
[18:58:32] *** jeffisabelle_ has quit IRC
[18:58:38] <reavengr2y> I'm still not aware of it
[18:58:49] <reavengr2y> That doesn't mean that he doesn't have a circular dependency
[18:58:50] <MalfaitRobin> themime the problem is, that I don't know how to use a factory instead of rootScope
[18:58:51] <themime> ...then why did you say this: reavengr2y> themime: He's clearly already stated the problem
[18:58:54] <MalfaitRobin> my code is full of rootscope...
[18:59:20] *** JosefDe has joined #angularjs
[18:59:22] *** Foxandxss has joined #angularjs
[18:59:23] <themime> MalfaitRobin: thats why a plunker is probably hard, it sounds like your code is coupled too tightly.
[18:59:32] <reavengr2y> MalfaitRobin: that's not wrong in and of itself, and it has nothing to do with your problem...angular already told you your problem: you have circular deps
[18:59:42] *** Siecje has joined #angularjs
[18:59:51] <JosefDe> Hi guys. I have to use <html ng-app="MainApp" and at the same time MainApp shall only be loaded if the event "deviceready" has been fired. How can I do this?
[19:00:00] *** gazbond has joined #angularjs
[19:00:00] <themime> reavengr2y: i saw his code earlier, its definitely contributing to his inability to quickly resolve his problem
[19:00:16] *** moafoca has quit IRC
[19:00:30] <themime> JosefDe: whats firing the event?
[19:00:36] <Foxandxss> JosefDe: you can bootstrap applications by hand
[19:00:40] <Foxandxss> without putting the ng-app
[19:00:45] <JosefDe> PhoneGap is firing the event
[19:00:54] <themime> Foxandxss: that sounds cool, didn't know that
[19:00:56] <MalfaitRobin> reavengr2y that was because I was trying to swap rootscope with a factory
[19:00:57] <Foxandxss> so you can manually execute the app with deviceready
[19:00:57] <JosefDe> But I have to use hg-app, because ngCordova looks for "hg-app"
[19:00:59] *** bayousoft has quit IRC
[19:01:07] <JosefDe> Foxandxss: That's my problem
[19:01:13] <MalfaitRobin> reavengr2y you have to scroll up to look at the real problem :p
[19:01:14] <JosefDe> Foxandxss: I'm using ngCordova
[19:01:23] <Foxandxss> and not ionic?
[19:01:25] <MalfaitRobin> themime and yes, it's too coupled
[19:01:26] *** jlambert121 has joined #angularjs
[19:01:31] <JosefDe> Foxandxss: It looks for ng-app to fire the "notification" event
[19:01:48] <Foxandxss> I am not too fond on phonegap I am afraid
[19:01:49] *** jlambert121 has quit IRC
[19:01:53] *** kixo_ has quit IRC
[19:01:55] *** jlambert121 has joined #angularjs
[19:01:57] <JosefDe> Foxandxss: I'll use ionic for my next project but this time I have to use this
[19:02:17] <JosefDe> Foxandxss: I've been struggling with this for 3 days and are desperate
[19:02:22] *** tkimmel has quit IRC
[19:02:26] <Foxandxss> I guess that having the ng-app loaded before deviceready shouldn't give any problem
[19:02:49] *** arpu has joined #angularjs
[19:03:00] <JosefDe> Foxandxss: It is a big problem as the API for push notification is only available as soon as "deviceready" is fired
[19:03:11] <Foxandxss> yeah, I don't know
[19:03:16] <Foxandxss> I don't do hybrids apps
[19:03:17] <themime> could use a resolve and a service to check for the event, so you load ng-app but don't actually do anything until service gets back. use a parent state in the background
[19:03:24] <themime> so the page isn't blank
[19:03:33] <JosefDe> themime: Are you talking to me?
[19:03:36] <themime> yes
[19:03:45] <themime> set it all but don't enable notifications until the event is fired
[19:04:10] <JosefDe> themime: But how shall I catch the event within Angular?
[19:04:25] <themime> how do you normally catch the event?
[19:04:50] <JosefDe> themime: With document.addEventListener in index.html
[19:05:18] *** linked has quit IRC
[19:05:35] <themime> $document.addEventListener perhaps
[19:05:46] <themime> id have to see it more i guess for it to click
[19:05:58] <JosefDe> themime: So that would work?
[19:07:20] *** lxer has joined #angularjs
[19:07:46] <themime> can you give me a pastebin of the addevent listener snippet so i understand what its doing
[19:07:49] <MalfaitRobin> fuck this shit, angular doesn't work in all browse
[19:07:50] <MalfaitRobin> browsers
[19:08:18] <themime> MalfaitRobin: whenever you have an issue all i can see is "rootscope"
[19:08:29] <JosefDe> themime: Sure. Can you wait a second, I'm just trying your suggestion then I'll send you code
[19:08:44] <themime> MalfaitRobin: if you don't have a tight deadline it may be worthwhile to refactor you code properly
[19:08:51] <MalfaitRobin> themime it's like fucking magic "I see my contents" and it's gone
[19:09:15] <themime> MalfaitRobin: another random thing that gets people is storing primitive types on the scope directly
[19:09:21] *** hecatonicosachor has joined #angularjs
[19:09:51] <MalfaitRobin> themime i'm going to serve my pages using php (laravel) and do some angularjs per page
[19:10:23] *** cacts has quit IRC
[19:10:27] <JosefDe> themime: Catching deviceready within the MainAppController is not a good idea, as that controller is loaded to late and doesn't get any event
[19:10:28] *** MuffinMan` has joined #angularjs
[19:10:45] <themime> MalfaitRobin: so each page is its own index page/application? if it shares ANY of the same stuff id highly recommend looking into ui-router
[19:11:02] <themime> JosefDe: id have to see code to help you further, a plunkr would be nice
[19:11:03] <JosefDe> themime: How shall I do this?
[19:11:10] <JosefDe> themime: ok
[19:11:13] <JosefDe> themime: wait a second please
[19:11:25] <themime> brain is a little slow today, having hard time visualizing issues
[19:11:53]
<MalfaitRobin> themime also, I think that variables in angularjs can be in a super state, because I have a login form which has ng-hide=isLoggedIn() but now it shows http://d.pr/i/1ilMr and I have this http://d.pr/i/100NR
[19:12:34] *** sacho_ has quit IRC
[19:13:00] <MalfaitRobin> themime ui-router??
[19:13:26] *** stirlingw has quit IRC
[19:13:28] <themime> yes, instead of ng-route. it always you to have states, ie a page for each state, with a parent state behind them
[19:13:37] <themime> nested/named views
[19:13:40] <themime> lots of good stuff
[19:13:54] *** glassir has joined #angularjs
[19:13:56] *** williamtdr has joined #angularjs
[19:14:11] <MalfaitRobin> themime better route handling?
[19:14:16] *** krawek has quit IRC
[19:14:17] *** Bade has quit IRC
[19:14:21] <lxer> I'm working on some template (not mine) that includes a menu (ng-include), and I notice it gets cached. What should I use to stop it from caching. (i'm new to angular, btw)
[19:14:31] <themime> yes, its made by the angular team and is really the more used one than ng-route
[19:14:45] *** Sky[x] has joined #angularjs
[19:15:08] <themime> lxer: i don't have much experience with templates/$compile but you may need to make it a directive instead so you can control when its rendered
[19:15:18] *** krawek has joined #angularjs
[19:15:18] *** krawek has joined #angularjs
[19:15:27] *** JosephBergevin has joined #angularjs
[19:15:53] *** stirlingw has joined #angularjs
[19:16:30] *** tripu has joined #angularjs
[19:17:25] <lxer> themime, this Menu should show up first (the main content a bit later), Can I control that using a directive ?
[19:18:02] *** corehook_ has quit IRC
[19:18:06] <themime> lxer: yes. if you find yourself needing to manipulate an element a directive is usually the way to go
[19:18:18] <lxer> ok
[19:18:21] <themime> ng-include is in fact a directive, youd basically be making a custom one
[19:18:36] <themime> with like...smart compiling
[19:18:37] *** corehook has joined #angularjs
[19:18:50] *** recidive has joined #angularjs
[19:19:03] *** MrBaboon has joined #angularjs
[19:19:05] <themime> lxer: however, before you start with that, if you want something faster a series of ng-show/hide or ng-switch with a little logic behind it can work too
[19:19:17] <themime> but it depends on what your goal is
[19:19:42] <lxer> i just need to make it a bit dynamic (a version for logged in / not logged in). nothing complicated, but the caching is currently a prolem.
[19:19:52] <lxer> *problem.
[19:20:53] <themime> yea check out ng-show/hide and ng-switch then, if its something simple with just a few elements you need to change between, it might be better than messing with $compile
[19:21:16] <themime> also keep in mind ng-show/hide just mess with display but include/switch actually change the DOM
[19:21:55] <lxer> ok. i'll do some research.
[19:22:43] *** _2_happyabbey has joined #angularjs
[19:23:09] *** atomical has quit IRC
[19:23:16] *** recidive has quit IRC
[19:23:23] *** MrBaboon has quit IRC
[19:23:33] *** favetelinguis has joined #angularjs
[19:23:35] *** derrzzaa_ has quit IRC
[19:23:40] *** caitp has joined #angularjs
[19:23:41] <JosefDe> themime: oh wait
[19:23:50] *** Lingos_ has quit IRC
[19:24:01] <JosefDe> There is something missing
[19:24:05] *** dj_zubeh_ has quit IRC
[19:24:17] *** _2_happyabbey has quit IRC
[19:25:07] *** arpu has quit IRC
[19:25:21] *** arpu has joined #angularjs
[19:25:23] *** nandoflorestan has joined #angularjs
[19:25:36] *** Fishy has quit IRC
[19:26:21] <JosefDe> themime: Are you ready?
[19:26:31] *** nfroidure has quit IRC
[19:26:36] <themime> paste new link, i didn't click first one because you said wait
[19:26:36] *** snurfery has quit IRC
[19:26:45] *** jacuqesdancona_ has joined #angularjs
[19:27:01] <themime> JosefDe: ive helped like 3 people in between, can you remind me of your issue?
[19:27:17] *** renlo has quit IRC
[19:27:34] *** mjs2600 has joined #angularjs
[19:27:49] *** Josh has joined #angularjs
[19:27:50] *** mennea has quit IRC
[19:28:05] <JosefDe> themime: My problem is that I have to 1) Load the Module "MainApp" after the event "deviceready" has been thrown and simultaneously I have to do <html ng-app="MainApp"
[19:28:13] *** Josh is now known as Guest41013
[19:28:23] *** favetelinguis has quit IRC
[19:28:23] *** Bade has joined #angularjs
[19:28:25] *** mennea has joined #angularjs
[19:28:30] <JosefDe> themime: Because the API looks for "hg-app" and if it doesn't find it then there is an error
[19:28:31] *** renlo has joined #angularjs
[19:28:35] <JosefDe> I mean "hg-app"
[19:28:45] <JosefDe> "ng-app" I hate MACs..
[19:29:15] *** amphetamines has joined #angularjs
[19:29:46] *** Fire-Dragon-DoL has joined #angularjs
[19:30:18] *** firelinks has quit IRC
[19:30:27] <reavengr2y> Never understood why people use them
[19:30:46] <reavengr2y> It's basically a unix, but with less software support than a standard unix
[19:30:57] *** frem has joined #angularjs
[19:30:59] <reavengr2y> And it's an almost-Windows, but with less application support than windows
[19:31:07] *** jacuqesdancona_ has quit IRC
[19:31:10] * reavengr2y shrugs
[19:31:11] <JosefDe> reavengr2y: Because they like spending money for brands like Adidas or in this case the MAC
[19:31:21] <JosefDe> Because it's something "special"
[19:31:23] <themime> JosefDe: oh yea cool checking it out one sec
[19:31:33] <JosefDe> themime: Thanks buddy
[19:31:35] <reavengr2y> that's the conclusion I usually come to
[19:32:08] <JosefDe> reavengr2y: I'm forced to work with a MAC at the moment and I have to say: That's the worst thing that happened in my life as a computer guy
[19:32:25] <JosefDe> I get nightmares about it
[19:32:44] *** opiates has quit IRC
[19:33:01] *** Lingos_ has joined #angularjs
[19:33:09] *** mdel has quit IRC
[19:33:10] <themime> JosefDe: you didn't include angular reference, also i think you do ng-app OR bootstrap, not both. ive not used bootstrap, that was Foxandxss , i can help you if you are trying to find a solution using services that doesn't use bootstrap
[19:33:10] *** corehook has joined #angularjs
[19:33:24] <themime> JosefDe: to clarify, at the very least, you are missing the angular.js script include
[19:33:51] *** kixo_ has joined #angularjs
[19:34:03] <JosefDe> themime: Ok. sorry about that, I'm a little bit upset because I've been working on this for a long time
[19:34:14] *** nesquerra has joined #angularjs
[19:34:19] *** Oxynum has quit IRC
[19:34:30] *** glassir has quit IRC
[19:34:41] *** red_horned_rihno has joined #angularjs
[19:34:48] <JosefDe> themime: Wait a second I'm adding it
[19:35:25] *** mary5030 has quit IRC
[19:36:19] *** Owner__ has joined #angularjs
[19:36:43] *** Owner__ is now known as Guest88103
[19:37:06] <JosefDe> It is also not possible to set a scope variable out of a normal non-scope function which is placed inside the same controller as the scope variable right?
[19:37:43] *** corehook has quit IRC
[19:37:51] <themime> ie it seemed redundant
[19:38:08] <themime> unplanned redundancy can cause anomalies and thats no good
[19:38:10] *** UniBot1 has joined #angularjs
[19:38:17] *** nesquerra has quit IRC
[19:38:39] <JosefDe> themime: Ok, but the problem is, that the ngCordova looks for "hg-app" with this: angular.element(document.querySelector('[ng-app]')).injector().get('$cordovaPush').onNotification
[19:39:06] <themime> JosefDe: ah, so this plunker isn't complete?
[19:39:08] <JosefDe> themime: Do you get what I mean?
[19:39:15] <themime> perhaps uncompleteable with that library
[19:39:19] <themime> and yes i do
[19:39:34] <sophie_> themime: when i clicked on minus button minus button gone from list
[19:39:48] <themime> JosefDe: that line you just gave was REALLY what i think i had been looking for
[19:39:56] <themime> sophie_: maybe in a bit
[19:40:12] <JosefDe> themime: So how could I fix this?
[19:40:28] <JosefDe> themime: This forces me to use "<html ng-app"
[19:40:31] <sophie_> themime: ok
[19:40:34] <themime> JosefDe: im studying it. it loks like the line is injecting a dependency into the app
[19:40:55] *** snurfery has joined #angularjs
[19:41:18] <themime> oh that might still work
[19:41:22] <JosefDe> themime: It is looking for the main-module and inside that main-Module it is looking for the function "onNotification" which he then calls
[19:41:35] <themime> ah damn bootstrap doesn't add it after the fact
[19:41:59] <themime> do you write an onNotification method or is it just calling cordova's?
[19:42:24] <themime> oh i see it in the plunker
[19:42:34] <themime> ill see if i can alter it to how i did mine
[19:42:35] <JosefDe> themime: I have to write it myself
[19:42:42] *** alinou has quit IRC
[19:42:53] <JosefDe> themime: That would be really great. I tried so hard I feel really bad
[19:43:13] <JosefDe> themime: I don't understand why such a simple thing takes me so long
[19:43:17] *** alinou has joined #angularjs
[19:44:24] *** Johnny13371337 has joined #angularjs
[19:44:49] <themime> JosefDe: its a different system than youre used to, it takes time to adapt
[19:44:53] *** hecatonicosachor is now known as sacho
[19:45:02] <themime> youre on the right track though, asking questions, etc
[19:45:17] *** basiclaser_ has joined #angularjs
[19:45:33] *** frem has quit IRC
[19:45:36] *** Juanchito has quit IRC
[19:45:43] <themime> JosefDe: knowing when to stop is important too. ill stop something ive been working on for hours and fix it in 30m when i wake up
[19:46:04] <themime> sleep is good :)
[19:46:07] *** tripu has quit IRC
[19:46:20] *** Sna4x8 has quit IRC
[19:46:26] <JosefDe> themime: Ok. In fact I was using $scope.$on('pushNotificationReceived' before, but as the event didn't get fired because of the problem you're working on, I switched to the solution you see in plunkr
[19:46:53] <JosefDe> themime: The bad thing is, that I have no time for stopping. There is so much for me to do. I'm working 24h
[19:46:56] <themime> JosefDe: when does cordova check for ng-app
[19:46:59] *** Sna4x8 has joined #angularjs
[19:47:12] <JosefDe> themime: As soon as there is an Push Notification received
[19:47:27] *** AngularUI has joined #angularjs
[19:47:27]
<AngularUI> [ng-grid] jpuri opened pull request #2118: Adding variables to subgrid scope (master...master) http://git.io/ARIiKA
[19:47:28] *** AngularUI has left #angularjs
[19:48:00] <themime> JosefDe: theres no "start" method or anything? you just include the script and it just starts off the bat looking for it?
[19:48:02] <JosefDe> themime: So after "$cordovaPush.register" it looks for "ng-app" as soon as a Message was received
[19:48:25] <JosefDe> themime: "$cordovaPush.register" is the starting process
[19:48:52] <themime> haha ooooh man this is going to be a lot easier than i thought
[19:48:56] *** shpoont_ has quit IRC
[19:48:59] *** Oxynum has joined #angularjs
[19:49:20] <JosefDe> themime: Really? I also have the feeling that it's something very primitive, but maybe my brain is to blind for it
[19:49:31] <themime> JosefDe: thats because you need sleep :)
[19:50:05] <JosefDe> themime: You're right, but I have to do so many things buddy. There is no opportunity to stop for me
[19:51:15] <themime> JosefDe: i know you have a lot of work to do, ive just been in that position, and its just amazing at how much more work i get done now. i spend an hour solving a problem instead of 8 hours sleepily trying to understand it - that 8 hours i can sleep instead. ive been there though, so just something to think about when things DO start to slow down :)
[19:51:41] *** seriema has joined #angularjs
[19:51:48] <JosefDe> themime: Thanks god there are a handful of people like you, who save my day
[19:52:02] <themime> its just about "sleep" though - its about allowing yourself to let go for a bit. i find when i make that decision to let go even for 10 minutes i start getting answers. its the hardest thing i do every day though haha
[19:52:06] <themime> its not just about*
[19:52:14] <themime> anyway one sec going to code this up
[19:52:20] *** krawek has quit IRC
[19:52:41] *** gazbond has quit IRC
[19:53:28] <JosefDe> themime: What you're doing is the right way. But sometimes life doesn't allow me to stop. There are more relaxed times, but I think those are over :)
[19:53:33] *** Yahkob has quit IRC
[19:53:56] <themime> definitely, thats why i say something to think about and work towards. its taken me 3+ years of solid FOCUSED effort to get here
[19:54:13] *** esk4nd4r has joined #angularjs
[19:54:16] <themime> just trying to help people learn from my mistakes :) it definitely doesn't happen right away
[19:54:19] <themime> almost got this
[19:54:38] *** uru|away is now known as uru
[19:54:43] <JosefDe> themime: You can be proud of yourself. You know what makes success in life? It's all about managing yourself
[19:55:07] *** prbc has quit IRC
[19:55:14] <JosefDe> themime: Ok I'm going through the code to understand
[19:55:38] <themime> i really just added the register into the callback, which i don't make until after ng-app is started (in the controller)
[19:56:22] <themime> oooh you can actually put that in the run() block instead
[19:56:42] *** Guest60253 has quit IRC
[19:56:51] *** firelinks has joined #angularjs
[19:56:58] <JosefDe> run()-block?
[19:56:59] *** esk4nd4r has quit IRC
[19:57:08] *** tomengland_mbp has joined #angularjs
[19:57:09] <themime> "Run blocks - get executed after the injector is created and are used to kickstart the application. Only instances and constants can be injected into run blocks. This is to prevent further system configuration during application run time."
[19:57:25] <themime> its a method .run() on your app module
[19:57:25] *** Bade has quit IRC
[19:57:53] *** mennea has quit IRC
[19:58:04] <JosefDe> themime: Ok. I'm trying to apply these changes to my app, but it looks very similar to what I did before. I really tried a lot. But maybe I missed something :)
[19:58:10] <JosefDe> Let's see if that works
[19:58:18] <themime> oh i wonder if onNotification may need to be on the app as well...
[19:58:31] *** mennea has joined #angularjs
[19:58:35] <themime> something to google maybe. i bet stackoverflow has a lot of cordova+angular stuff
[19:58:51] *** esk4nd4r has joined #angularjs
[20:00:02] <JosefDe> themime: I looked through a bunch of pages, but the always supply small pieces of code without context..
[20:00:02] *** annlewis has quit IRC
[20:00:04] *** webcitizen has joined #angularjs
[20:01:17] *** Trow1 has quit IRC
[20:01:29] *** tomengland_mbp has quit IRC
[20:01:50] *** Marble68 has quit IRC
[20:01:59] *** AtomicCookie has quit IRC
[20:02:20] <JosefDe> themime: Can I access scope variables out of "on notification"?
[20:02:31] <JosefDe> themime: "onnotification" is not a scope function
[20:02:41] *** EMPZ is now known as _emps
[20:04:08] <themime> are you using ECB correctly?
[20:04:09] *** szymek_ has joined #angularjs
[20:04:20] <JosefDe> themime: Now the solution doesn't work :(
[20:04:56] <MalfaitRobin> themime what does this mean? Error: [$compile:tplrt] Template for directive 'menu' must have exactly one root element. views/admin/partials/menu.html
[20:05:00] <JosefDe> themime: I tried your solution before myself.
[20:05:07] *** Varun_ has joined #angularjs
[20:05:10] <JosefDe> themime: I tried so many options
[20:05:13] *** kirfu has joined #angularjs
[20:05:25] *** jonahR has joined #angularjs
[20:05:31] *** Varun_ is now known as Guest28019
[20:05:49] *** szymek has quit IRC
[20:06:29] *** glassir has joined #angularjs
[20:06:34] *** Guest28019 has left #angularjs
[20:06:35] <seriema> MalfaitRobin: your template can only have one root element. like one master div or something
[20:06:45] <JosefDe> themime: ngCordova is better than that
[20:06:54] *** Lingos_ has quit IRC
[20:06:56] <MalfaitRobin> seriema so It's telling me that i have more than 1 root element?
[20:07:02] <seriema> MalfaitRobin: yepp
[20:07:03] *** Trow has joined #angularjs
[20:07:12] *** tristanp has joined #angularjs
[20:07:21] <themime> i googled "ngcordova ecb"
[20:07:23] <JosefDe> themime: Now the MainController doesn't catch that event
[20:07:39] <JosefDe> themime: I read hundreds of pages including that one
[20:07:46] *** tonyfrazier has joined #angularjs
[20:07:48] <themime> oh yea and it being on the window doesn't make sense
[20:07:59] <MalfaitRobin> seriema that's interesting :p
[20:08:01] <themime> did you try scope.onNotification
[20:08:10] <JosefDe> themime: Yes, it doesn't work.
[20:08:21] *** whitebook has quit IRC
[20:08:51] <seriema> oh...
[20:08:52] <JosefDe> themime: Why doesn't MainApp catch that event?
[20:08:56] *** sophie_ has quit IRC
[20:09:18] <seriema> MalfaitRobin: you were teasing themime I guess? :P
[20:09:31] *** Yahkob has joined #angularjs
[20:09:40] <themime> OH JosefDe you didn't add onNotification to scope
[20:10:06] <JosefDe> themime: That doesn't solve the problem
[20:10:09] <themime> okay that one - with scope
[20:10:11] <MalfaitRobin> seriema (s)he helped me before, so I was trying hehe
[20:10:12] <JosefDe> themime: The event handler isn't invoked
[20:10:17] *** cwill747 has joined #angularjs
[20:10:22] <themime> scope.onNotification and ecb:'scope.onNotification'
[20:10:40] <seriema> heh
[20:11:05] <JosefDe> themime: You don't get me :). The problem is that I can't do event catching within MainController as at this time the event was already fired (The MainController gets loaded after deviceReady has already been fired)
[20:11:07] *** Aerospark has quit IRC
[20:11:38] <themime> hm i see
[20:11:50] *** tristanp has quit IRC
[20:11:55] <themime> can deviceReady return a promise?
[20:11:57] <seriema> JosefDe: I'm just jumping in here, but when you risk of "missing" an event then maybe a promise might be better
[20:12:03] <seriema> themime: heh
[20:12:12] *** Shai-Tan has quit IRC
[20:12:31] <themime> seriema: things are complicated by him using phone stuff/push notifications
[20:12:52] <JosefDe> Hmm. DeviceReady is not a Angular thing. It is PhoneGap
[20:13:02] <themime> promises are not an angular thing
[20:13:08] *** recidive has joined #angularjs
[20:13:09] <renlo> does angular run on phonegap?
[20:14:04] <themime> so that document trigger HAS to be on the index for it to pick it up? could that maybe be hooked to a angular constant and passed to a service?
[20:14:10] <themime> hm
[20:14:17] <JosefDe> So the first problem is: 1) How can I tell ngCordova to use scope.onNotification as ebb parameter?
[20:14:47] <themime> JosefDe: i think at this point i would need a working cordova sample
[20:14:53] *** JosephBergevin has quit IRC
[20:14:59] *** SergioFilhow_ has joined #angularjs
[20:15:11] <JosefDe> themime: Yeah that would take me at least half an hour to put all my code into plunker :D
[20:15:29] <themime> JosefDe: sometimes thats what needs to be done
[20:15:49] <themime> JosefDe: ive said the same thing then fixed my own freaking issue in like 30m after randomly debugging for hours
[20:16:01] <themime> i have a love/hate relationship with plunker
[20:16:15] *** B1x1t0 has quit IRC
[20:16:38] *** iksik has quit IRC
[20:16:39] *** iksik has joined #angularjs
[20:16:56] <themime> now when i have an issue i make a plunker right away - best case i fix my own issue, worst case i have something i can send right away to irc for help
[20:17:05] *** melara has quit IRC
[20:17:09] *** SergioFilhow has quit IRC
[20:17:16] <themime> i even write modules in plunkers and then copy it to my main projects
[20:17:25] <themime> i really should just be unit testing though...
[20:17:30] *** Guest60253 has joined #angularjs
[20:17:40] *** recidive has quit IRC
[20:17:51] <JosefDe> themime: I wouldn't need help if the crap called "MAC" would give me debugging options on my device, but I can only debug in the simulator :D. That's really really sad
[20:18:25] <themime> JosefDe: mac shouldn't be relevant to that. all the tools i prefer are open source, what are you using that is mac only?
[20:18:40] <themime> maybe not entirely open source but multiplatform at the very least
[20:18:43] <JosefDe> themime: I'm developing for mac devices, so I have to use a MAC
[20:19:12] <JosefDe> And for me that's a really big pain
[20:19:29] <themime> ah. can you not use chrome's emulator?
[20:19:46] <themime> "device mode"
[20:19:53] <themime> i developed a tablet app that way
[20:19:54] *** heinen has joined #angularjs
[20:19:56] *** spaceonline has quit IRC
[20:20:16] *** alinou has quit IRC
[20:20:35] <themime> does cordova compile to native?
[20:20:37] <JosefDe> So "scope.onNotification" doesn't work. How can I fix this?
[20:20:40] <JosefDe> themime: Yes
[20:20:53] <themime> aaah gotcha. so it compiles to native and then you test via native sim
[20:21:17] *** alinou has joined #angularjs
[20:21:26] *** chrisshattuck has quit IRC
[20:21:27] *** Aerospark has joined #angularjs
[20:21:32] <themime> JosefDe: ive got an idea but i need to take a break for a bit
[20:21:44] <JosefDe> themime: OK :).
[20:21:50] *** mary5030 has joined #angularjs
[20:22:29] <JosefDe> Hey guys. Is it possible to access a scope variable out of a javascript-function which is placed in the same controller?
[20:23:16] *** {DV8} has joined #angularjs
[20:24:30] *** webcitizen has quit IRC
[20:24:44] *** favetelinguis has joined #angularjs
[20:24:56] <themime> hm you are overriding window, i wonder if that was the issue
[20:25:01] *** Aliks_ has quit IRC
[20:25:14] *** Guest60253 has quit IRC
[20:25:15] <themime> you should use $ if it had one in the [] injector
[20:25:23] <themime> $scope, $window, $document, $http, etc
[20:25:37] *** Aliks has joined #angularjs
[20:26:04] <JosefDe> themime: But can I access scope variables out of a $window function?
[20:26:07] *** discgo has quit IRC
[20:26:08] *** cads has joined #angularjs
[20:26:09] *** jonr22 has joined #angularjs
[20:26:24] *** grumpyOldRussian has quit IRC
[20:26:26] <themime> no and you shouldn't
[20:26:30] <themime> well
[20:26:31] <themime> haha
[20:26:37] <themime> we might make some exceptions to get this to work
[20:26:42] <themime> im reading cordova docs now
[20:27:35] <themime> ill be close to being able to build phone apps after this haha
[20:27:55] *** mennea has quit IRC
[20:27:58] <themime> ah thats exactly what i was looking for next
[20:27:59] <themime> thanks!
[20:28:16] <JosefDe> themime: Is it possible to set variables from a Service out of $window?
[20:28:31] *** mennea has joined #angularjs
[20:28:57] <themime> that question doesn't make sense to me
[20:29:11] <JosefDe> themime: wait a second
[20:29:12] <themime> are you wanting to set service variables FROM a window?
[20:29:33] <themime> or set window vars FROM a service? both are possible. also what issues did you say you had again with the $broadcast?
[20:29:34] *** favetelinguis has quit IRC
[20:30:07] *** Aliks has quit IRC
[20:30:49] *** JBreit has quit IRC
[20:31:05] <JosefDe> themime: Is that possible?
[20:31:09] <themime> ah no
[20:31:30] <themime> youd pass something to the service and have it watch it or something
[20:31:41] <themime> youre complicating the issue i think though
[20:31:51] <themime> there are several little issues in the plunker i think
[20:32:07] <themime> their docuemntation on "ECB" sucks though
[20:32:44] *** adpirz has joined #angularjs
[20:33:03] <JosefDe> themime: That's the problem. Technicians never care about documentation.
[20:33:13] <themime> okay heres my theory
[20:33:22] <JosefDe> Oh my god a "theory" :D
[20:33:24] * seriema brings popcorn
[20:33:29] <themime> iosConfig.ecb = "myCustomOnNotificationAPNHandler" => myCustometc is a global function somewhere that a service uses
[20:33:30] <JosefDe> Here comes the "thesis" :D
[20:33:41] <themime> OR you can use broadcasting
[20:33:54] *** mjs2600 has quit IRC
[20:33:55] <JosefDe> themime: Yes but that's the problem I mentioned at the first beginning :)
[20:33:56] <themime> if we fix the other issue i think broadcasting might work
[20:33:59] *** shpoont_ has joined #angularjs
[20:34:02] *** heinen has quit IRC
[20:34:09] <JosefDe> themime: Than we have to use "<html ng-app='MainApp'"
[20:34:30] *** sinequanon has joined #angularjs
[20:34:33] <themime> nah, not with the $document thing in the controller
[20:34:42] *** larsgk has quit IRC
[20:34:42] *** evilaliv3 has quit IRC
[20:34:43] *** jimobrien has joined #angularjs
[20:34:48] <JosefDe> themime: And for that we have to do catch the "deviceReady" event, but at the time the MainController get's loaded it has been already fired and late
[20:35:01] <themime> their docs say that function gets called even if you attach it after the event is fired
[20:35:09] *** Yahkob has quit IRC
[20:35:15] *** nesquerra has joined #angularjs
[20:35:17] <themime> it would be annoying if that wasn't the case :(
[20:35:25] <JosefDe> and why doesn't it work?
[20:36:04] *** teddyp1cker has quit IRC
[20:36:31] *** Lingos_ has joined #angularjs
[20:36:44] *** red_horned_rihno has quit IRC
[20:36:46] *** grupp has joined #angularjs
[20:37:02] <themime> was ecb set?
[20:37:07] <themime> it doesn't fire events if its set
[20:37:44] *** adpirz has quit IRC
[20:38:00] *** glosoli has joined #angularjs
[20:38:08] <JosefDe> themime: No. I did remove it. but the same problem
[20:38:17] <themime> "The deviceready event behaves somewhat differently from others. Any event handler registered after the deviceready event fires has its callback function called immediately."
[20:38:27] <JosefDe> themime: OK I tried to set a variable in a service, but it doesn't work :(
[20:38:33] <themime> ^ thats what a promise does, and why i suggested it, but it seems like they are faking that behavior
[20:38:37] *** shpoont_ has quit IRC
[20:39:03] *** sinequanon has quit IRC
[20:39:05] <JosefDe> themime: Ok I'll try your solution again. Can you give me your latest link again please?
[20:39:18] *** Aerospark has quit IRC
[20:39:23] <themime> JosefDe: when you post a plunker i see several errors - that makes me concerned about changes you say you make, because its hard for me to know if something is actually broken or if there is some typo in your code
[20:39:43] <themime> yes im working on an ECB-setting version that might work, it has the document add even in the index
[20:40:03] <JosefDe> themime: Ok.
[20:40:04] *** Aerospark has joined #angularjs
[20:40:06] *** whiteboo_ has joined #angularjs
[20:40:53] *** nesquerra has quit IRC
[20:41:47] <snurfery> sup yallll
[20:41:52] <snurfery> happy sunday
[20:42:25] *** \du has joined #angularjs
[20:42:25] *** \du has joined #angularjs
[20:43:12] *** CamonZ has quit IRC
[20:43:26] *** cthrax has quit IRC
[20:44:01] *** matpb has joined #angularjs
[20:44:23] *** cotko has quit IRC
[20:44:26] *** MrBaboon has joined #angularjs
[20:44:45] <seriema> sup snurfery
[20:45:17] <snurfery> howdy
[20:46:53] *** c00ljs has quit IRC
[20:46:59] *** tkimmel has joined #angularjs
[20:47:16] *** JosephSilber has joined #angularjs
[20:47:17] *** whiteboo_ has quit IRC
[20:47:24] *** beardyname has joined #angularjs
[20:48:05] *** whitebook has joined #angularjs
[20:49:32] *** marr has joined #angularjs
[20:50:31] *** woah has joined #angularjs
[20:50:38] <themime> JosefDe: there are too many unknowns for me to help you i think. without an environment to confirm certain things myself its hard to know which direction to go, because i don't know what the CORE issue is. what HAS worked?
[20:50:45] *** zanea|away is now known as zanea
[20:51:17] *** \du has quit IRC
[20:51:40] *** tkimmel has quit IRC
[20:51:42] <JosefDe> themime: I can understand you my friend. But thanks for all your help. I hope that you get rewarded for this in your life.
[20:52:15] *** mary5030 has quit IRC
[20:52:25] *** Guest41013 has quit IRC
[20:52:34] *** sigurding has joined #angularjs
[20:52:47] <themime> tag me in channel if you figure anything out
[20:52:54] <JosefDe> themime: As long as there are people like you life makes more sense :)
[20:53:07] *** dcbartlett has joined #angularjs
[20:53:14] <themime> i only got here because of people answering questions, im just trying to give back :)
[20:53:57] <dcbartlett> hey guys, anyone ever had an issue where adding an item to an array after the page has loaded ng-repeat doesn't see the added tim?
[20:53:59] * seriema only answers questions with another question. he's zen like that.
[20:54:02] *** Guest74084 has quit IRC
[20:54:03] *** Josh has joined #angularjs
[20:54:16] <dcbartlett> do i need to do a $scope.$apply()?
[20:54:17] <JosefDe> themime: My future plan is also to help children to learn programming for free. That's my dream. But I don't know how far I can come to it :)
[20:54:27] *** Josh is now known as Guest46934
[20:54:38] <seriema> dcbartlett: where did you add items to the array? was it in a callback not handled by angular?
[20:54:50] *** threesixes has joined #angularjs
[20:54:58] <dcbartlett> $scope.addItem
[20:55:02] <seriema> see? one question gives you 2 more. get em while they're hot!
[20:55:17] <dcbartlett> i would assume it would do the apply itself
[20:55:34] <dcbartlett> thats the page
[20:55:35] <seriema> dcbartlett: ehm, when do you call that?
[20:55:38] <dcbartlett> all code is in 1 page
[20:55:48] <dcbartlett> its triggered by a button on the front-end
[20:56:02] *** zzing has quit IRC
[20:56:07] <dcbartlett> fill in a form, click button, it adds the form data to the array
[20:56:16] <dcbartlett> all of that works properly
[20:56:24] *** sinan_000 has joined #angularjs
[20:56:27] <dcbartlett> its just the ng-repeat that isn't updating with the new item
[20:56:36] <themime> seriema: its more zen and does tend to help people learn more, but JosefDe issue was interesting and complex, i couldn't help myself haha
[20:56:40] <dcbartlett> actually its not even loading in the item that is setup on load
[20:56:53] <seriema> dcbartlett: right, seems like you're using jquery events? angular doesnt know about those and won't update
[20:56:59] *** zivester has joined #angularjs
[20:57:05] <dcbartlett> no i'm not
[20:57:07] <seriema> themime: hehe I'm mostly a joker though
[20:57:27] <dcbartlett> <button type="button" ng-click="addItem()">Add Item</button>
[20:57:34] <dcbartlett> fired with angular
[20:57:37] *** skywritergr has quit IRC
[20:57:57] *** qdk has quit IRC
[20:57:57] *** mennea has quit IRC
[20:57:58] <seriema> I was looking at the element.bind() thing
[20:58:28] <seriema> ehm, that's not how you want to do your error checking btw
[20:58:33] *** mennea has joined #angularjs
[20:58:41] <dcbartlett> its just for testing some stuff
[20:58:42] <seriema> IF you HAVE to use jquery, then it goes in the directive and not controller
[20:58:44] <seriema> but ok
[20:58:47] <dcbartlett> its not how it would work in production
[21:00:06] <dcbartlett> line 107's console.log does get the updated items to the array
[21:00:07] <dcbartlett> so
[21:00:28] *** jonr22 has quit IRC
[21:00:32] *** disorder20 has joined #angularjs
[21:01:12] *** zz_night-owl is now known as night-owl
[21:02:53] *** cads has quit IRC
[21:03:17] <lxer> I've been looking for some good tutorial on handling authentication with angular (and backend interaction), but havent found anything really usefull. if anyone knows a good source, let me know. (no jwt, please)
[21:03:52] <Inge-> I like jwt
[21:03:57] *** Guest60253 has joined #angularjs
[21:04:02] <Inge-> google jwt angular nancyfx
[21:04:08] *** tbo_ has quit IRC
[21:04:12] *** rhp has joined #angularjs
[21:04:13] <lxer> too experimental, imho.
[21:04:17] <seriema> huh
[21:04:33] <seriema> dcbartlett: odd, I don't see what the problem might be
[21:04:51] *** iinzg has joined #angularjs
[21:04:53] <dcbartlett> at least i'm not the only one
[21:04:54] <dcbartlett> :D
[21:04:55] <Foxandxss> jwt++
[21:04:55] <UniBot1> jwt Karma: 1
[21:04:56] <UniBot> jwt Karma: 1
[21:05:17] <wafflej0ck> two unibots enter one unibot leaves
[21:05:30] *** IvailoStoianov_ has joined #angularjs
[21:05:34] <Foxandxss> heh
[21:05:37] *** iamvfl has joined #angularjs
[21:06:29] *** iwaffles has joined #angularjs
[21:06:33] *** iwaffles has left #angularjs
[21:07:25] <seriema> starring Hugh Jackman
[21:07:37] <wafflej0ck> hehe
[21:07:42] <wafflej0ck> anyone know about using PayPal with various prices?
[21:08:06] *** jonr22 has joined #angularjs
[21:08:15] *** bayousoft has joined #angularjs
[21:08:18] *** IvailoStoianov has quit IRC
[21:08:42] *** tbo_ has joined #angularjs
[21:08:54] <snurfery> whaddya mean
[21:09:21] <wafflej0ck> ah looks like I was looking in the wrong section, when going to make a button it asks for a set price I just needed the API pages I think
[21:09:35] <wafflej0ck> just gotta see what this costs too and what the setup is now
[21:09:42] *** evilaliv3 has joined #angularjs
[21:10:05] <wafflej0ck> some client wants optional PayPal payments, currently using BluePay and they have nice examples for a bunch of languages, just looking for the same on the PayPal side to swap out that part
[21:10:08] *** JosefDe has quit IRC
[21:10:26] <snurfery> oh god that just reminded me that my app has no billing integration whatsoever
[21:10:30] <snurfery> crap
[21:10:45] <lxer> just use bitcoin.
[21:10:47] <snurfery> that's a hefty-ass item to just suddenly realize belongs on the to-do list
[21:10:52] <seriema> snurfery: just ask your clients to "pay it forward" with good deads
[21:11:06] <snurfery> pay it forward to my goddamn landlord haha
[21:11:12] <seriema> lol
[21:14:18] *** teddyp1cker has joined #angularjs
[21:15:59] *** mjs2600 has joined #angularjs
[21:16:16] *** despai has joined #angularjs
[21:19:25] *** sigurding has quit IRC
[21:19:35] *** sinancan has joined #angularjs
[21:20:18] <dcbartlett> seriema, figured it out, not a angular problem
[21:20:23] <dcbartlett> was a invalid html problem
[21:20:24] <dcbartlett> lol
[21:20:42] <nodedfree> i was told that template replaces the '$scope', but after pushing new element into the variable, nothing updates
[21:20:57] <nodedfree> replaces the $watch**
[21:21:09] *** Cache_Money has joined #angularjs
[21:21:28] *** wolfman2000 has joined #angularjs
[21:21:41] *** sinan_000 has left #angularjs
[21:21:41] <seriema> dcbartlett: omglol
[21:21:56] *** jMyles has joined #angularjs
[21:22:05] *** bayousoft has quit IRC
[21:22:13] <dcbartlett> agreed
[21:23:37] *** anjumkaiser has quit IRC
[21:23:42] *** bengillies has joined #angularjs
[21:24:03] <anger> For some strange reason I'm able to upload the file but not the rest of the forms input fields
[21:24:34] *** mjs2600 has quit IRC
[21:24:37] *** dman777_1lter has joined #angularjs
[21:24:42] <anger> Does anyone happen to know if this is some limitation for the module?
[21:24:49] *** one0one has joined #angularjs
[21:24:49] *** tomengland_mbp has joined #angularjs
[21:25:55] <lxer> anger, I havent tried to add extra fields, but did you check if they are send to the server?
[21:26:12] <Linxcat> exity
[21:26:13] <Linxcat> exit
[21:26:14] <lxer> (like checking the apache log)
[21:26:15] <Linxcat> quit
[21:26:16] *** Linxcat has quit IRC
[21:27:02] <snurfery> anger: I think there's another field on the upload call called 'data'
[21:27:06] *** kaz has joined #angularjs
[21:27:15] <snurfery> and that's where you pass your other form fields
[21:27:35] *** RobertMeta has joined #angularjs
[21:28:00] *** mennea has quit IRC
[21:28:14] *** tripu has joined #angularjs
[21:28:16] <kaz> Quick question: What's a good way to handle having a search and search-results partials in your app? Where should the ajax call be executed? On the search page and then passed to the search results pge?
[21:28:27] *** bengillies has quit IRC
[21:28:39] *** mennea has joined #angularjs
[21:28:46] <seriema> kaz: in a service? and called by the search input/button?
[21:29:51] <kaz> seriema: I had it in my controller ... since a service is technically a singleton, that means it'll be cached in the service?
[21:30:50] <seriema> kaz: ehm, yeah it'll be cached. as it would be in your controller. you should let all data handling be done by services. never inside controllers or directives
[21:31:29] *** rburns has joined #angularjs
[21:32:33] *** iffraff has joined #angularjs
[21:32:38] <kaz> seriema: thanks for the advice. I'll give it a shot and see if it helps!
[21:32:47] <iffraff> hello, kind of new to angular
[21:32:51] <seriema> kaz: if you do it right, it will! ;)
[21:33:00] <iffraff> my page works when I hit f5 but does not when I route to it
[21:33:05] *** eden_lane has joined #angularjs
[21:33:18] <iffraff> that is the data loads from an ajax call but does not show on the page
[21:33:31] <iffraff> but if I hit f5 it does show on the page.
[21:33:37] <anger> snurfery, lxer: Yeah I noticed the data field, but for some strange reason the Object changes into FormData and the backend doesn't get any data
[21:33:43] *** bayousoft has joined #angularjs
[21:33:43] <iffraff> seems to be some kind of load sequence issue
[21:34:00] <seriema> iffraff: haven't done much routing, but is your page reacting to you loading it? so it can fire of the ajax call?
[21:34:05] <snurfery> hmm
[21:34:28] *** morenoh149 has quit IRC
[21:34:34] *** jynxed has joined #angularjs
[21:34:42] *** scottc5 has quit IRC
[21:34:43] <iffraff> seriema: yes I believe so I can put a break point on the promise resolve and the datas in there, plus I see it in the network traffic
[21:34:46] <snurfery> anger: I think upload has some issue with formData, I feel like I was just struggling with that in one of my exotic forms. lemme look through my code
[21:34:51] *** Siecje has left #angularjs
[21:35:10] <seriema> iffraff: hmm sounds weird that it works with f5
[21:35:38] <anger> snurfery: just wondering that where does the Object containing all the input data gets converted into formData....
[21:35:55] <iffraff> I agree, I have two pages one is grid-ui and one has xeditable controls. at first I thought well it's this control but then i noticed it happening on the other page too
[21:36:24] <snurfery> anger: formData is just how a form's data is represented iirc... how are you grabbing the form input data anyway?
[21:36:52] *** snapwich has joined #angularjs
[21:37:10] *** snapwich has quit IRC
[21:37:12] *** firelinks has quit IRC
[21:37:13] <anger> snurfery: input data is captured the "normal way" with ng-model
[21:37:37] *** nesquerra has joined #angularjs
[21:37:39] <anger> In debugging the input data is at first a normal "Object"
[21:37:42]
* nodedfree http://pastebin.com/KJRW8kiq | directive template doesn't update if i make changes to the ng-repeat from outside the scope | please help
[21:37:47] <snurfery> right
[21:38:12] *** Shai-Tan has joined #angularjs
[21:38:17] <seriema> nodedfree: typical issue, you need to run $apply (haven't clicked your link yet)
[21:38:23] <snurfery> at what point are you seeing it as a 'formData' object
[21:38:32] *** glosoli has quit IRC
[21:38:51] <iffraff> seriema, do you think that might be my problem?
[21:38:58] <lxer> nodedfree: what happens when you clear history (or run it a private browser window)
[21:39:13] *** jr3 has left #angularjs
[21:39:15] *** gazbond has joined #angularjs
[21:39:16] <iffraff> I don't know what $apply does but it seems like the page is binding but then not updating when the promis resolves
[21:39:17] <seriema> iffraff: usually yeah, but then it wouldn't work with f5 unless you're doing the ajax in two different ways
[21:39:32] <seriema> nodedfree: ng:show= should be ng-show=
[21:39:39] <nodedfree> xler, if i print the value itself in the console, i see the new item i pushed
[21:39:46] <seriema> iffraff: you're using $http right?
[21:39:49] <nodedfree> only in the template - there are no changes
[21:39:55] <iffraff> $resource, then mongoose
[21:40:17] *** tech2_ has quit IRC
[21:40:43] <iffraff> but yea under the covers
[21:40:55] <lxer> nodedfree: could be a result of caching. do you use it in some ng-include ?
[21:40:55] *** ctanga has joined #angularjs
[21:41:19] <nodedfree> lxer, in incognito it doesn't work as well
[21:41:28] <seriema> iffraff: then the $apply should be called automatically
[21:41:37] <nodedfree> lxer, im updating the variable from outside the scope
[21:41:41] <lxer> nodedfree: ok, no caching issue then.
[21:41:58] <anger> snurfery: right after I have called $upload.upload(item)
[21:42:00] <nodedfree> angular.element(elem.id).scope().theVar.push();
[21:42:08] *** zwacky has quit IRC
[21:42:46] *** nesquerra has quit IRC
[21:43:00] <nodedfree> is there an option to combine the template with $watch?
[21:43:15] <eden_lane> Hi folks ! Is there any way to watch for 'myDirectiveIsShowed' event ?
[21:43:41] *** jynxed has quit IRC
[21:43:43] <snurfery> yeah upload is going to turn your random javascript object into a proper FormData object for submission to the server
[21:43:56] <snurfery> (is that the one you're using? there are two angular-file-upload libs)
[21:44:20] <snurfery> anger: let's see your $upload code
[21:44:28] *** esk4nd4r has quit IRC
[21:44:57] *** Juanchito has joined #angularjs
[21:45:10] <iffraff> seriema: I think I found the issue, it's pretty esoteric you'd never have got it. I have a repository that uses an injected $resource 'class' I guess, and also uses $resource directly, I removed the injected class and now stuff works.
[21:45:23] *** SahanH has quit IRC
[21:45:25] <iffraff> well not the stuff that I need that injected class for of course, but the other stuff.
[21:45:30] <seriema> iffraff: wow
[21:45:33] <iffraff> strange. more learning curve
[21:45:44] *** WeeJeWel has joined #angularjs
[21:46:08] <iffraff> yea it was totally messing with my bindings, cuz now I'm seeing other test stuff I put in show up.
[21:46:20] <seriema> hm
[21:46:23] <iffraff> anyway, thanks, that was my 5 minutes of coding. now the baby's up
[21:46:37] *** CodeFriar has joined #angularjs
[21:47:26] *** nagappan has quit IRC
[21:47:37] *** ctanga has quit IRC
[21:47:59] *** mjs2600 has joined #angularjs
[21:48:16] <seriema> heh np
[21:48:18] *** slash77 has joined #angularjs
[21:48:56] *** nagappan has joined #angularjs
[21:49:09] *** slash77 has quit IRC
[21:49:30] <anger> snurfery: actually now that I used wireshark for debug I notice that the data is actually sent to the backend
[21:49:51] <anger> Just not like on "normal" form submits without file uploads
[21:50:25] <anger> So the problem is that my backend isn't able to read the data $upload is sending
[21:50:45] *** Alex_____ has joined #angularjs
[21:51:14] <anger> Should have used wireshark earlier, all the time I believed that the problem was in frontend js :/
[21:51:24] <snurfery> hmm that's odd, so you're still using $upload even when not uploading a file?
[21:51:45] *** exodys has quit IRC
[21:51:46] <anger> Only when submitting both file and input data
[21:51:50] *** Alex_____ has quit IRC
[21:51:56] *** sinancan1 has joined #angularjs
[21:52:04] *** scottc5 has joined #angularjs
[21:52:18] *** sinancan has quit IRC
[21:52:24] <snurfery> what's your backend?
[21:52:24] *** sinancan1 has quit IRC
[21:52:35] *** WeeJeWel has quit IRC
[21:52:36] <lxer> anger, write all your POST data to some log file one the server, that is easier then trying to read wireshark stuff
[21:52:37] *** sinancan has joined #angularjs
[21:52:53] <anger> snurfery: I'm a old school php backend writer :)
[21:52:59] <nodedfree> lxer, seriema - $apply it is :D
[21:53:06] <nodedfree> thx both
[21:53:11] <seriema> np
[21:53:31] <seriema> nodedfree: now that you've figured that out, you probably want to look into why you need to call it. =)
[21:53:32] <lxer> dont know how I contributed, but ok :)
[21:53:50] <snurfery> I wonder the data is being sent differently when you have a file (multipart/form-data) vs when you don't (plain json post)
[21:53:51] *** oste has joined #angularjs
[21:54:13] *** tech2_ has joined #angularjs
[21:54:17] <nodedfree> of source im digging it right now
[21:54:25] <lxer> anger: error_log($_POST) or something like that
[21:54:28] *** tbo_ has quit IRC
[21:54:29] <nodedfree> course*
[21:54:39] <anger> snurfery: looks like a normal multipart/form-data post to me
[21:55:00] <anger> Just wondering that why is $_REQUEST still null in PHP...
[21:55:04] *** testtubebaby has joined #angularjs
[21:55:24] <testtubebaby> hi guys
[21:55:38] <testtubebaby> any suggestions to learn angularjs?
[21:55:54] <anger> lxer: My backend responds with $_REQUEST which I can then read from chrome dev console
[21:56:01] <eden_lane> testtubebaby: codeschool free course is very cool
[21:56:11] <testtubebaby> cool
[21:56:13] <testtubebaby> thank you
[21:56:17] <eden_lane> np
[21:56:30] <seriema> testtubebaby: think there's a link to it on the main page
[21:56:40] <seriema> lxer: 30min? it's a LIE! a LIE I tell you!
[21:57:03] *** Guest88712 is now known as mac_nibblet
[21:57:03] <lxer> thats a typo. its actually 30 hours.
[21:57:08] <seriema> lol
[21:57:38] <testtubebaby> thanks lxer. cool video
[21:58:01] *** mennea has quit IRC
[21:58:02] <testtubebaby> if you help here
[21:58:40] *** mennea has joined #angularjs
[21:58:56] <eden_lane> guys, need to know when my directive is showed. How can I do that ?
[21:59:22] <seriema> eden_lane: aren't you controlling when it's shown? what do you mean by "shown"?
[22:00:02] *** yaneq has joined #angularjs
[22:00:15] *** jonr22 has quit IRC
[22:00:21] <eden_lane> my directive can has a ngHide or ngShow directive. i need to know when it has been changed
[22:00:26] *** renlo has quit IRC
[22:00:37] *** woah has quit IRC
[22:01:14] <eden_lane> I can't require it with directive definition object
[22:01:33] *** charuru has quit IRC
[22:01:36] *** frankbli_ has joined #angularjs
[22:01:45] *** dshap has joined #angularjs
[22:01:49] <eden_lane> hm.. Maybe 'attrs.ngHide' will work..
[22:01:54] *** charuru has joined #angularjs
[22:02:07] *** qdk has joined #angularjs
[22:02:49] *** Evanion_ has quit IRC
[22:02:56] *** beardyname has quit IRC
[22:03:00] *** NigelS has joined #angularjs
[22:03:05] *** MacWinner has joined #angularjs
[22:03:11] *** sinancan has left #angularjs
[22:03:14] <seriema> eden_lane: ehm, it's on the scope?
[22:03:38] *** frankblizzar has quit IRC
[22:03:50] <eden_lane> yes, i think so
[22:04:19] <eden_lane> <myDirective ng-show="isShown"> </myDirective>
[22:04:50] <seriema> you can grab it in the scope definition I think
[22:05:14] <eden_lane> isShown is from parent scope, not from myDirective
[22:05:26] *** StryKaizer has joined #angularjs
[22:05:44] *** despai has quit IRC
[22:05:45] *** nagappan has quit IRC
[22:06:04] *** nya has joined #angularjs
[22:06:19] *** testtubebaby has quit IRC
[22:06:23] *** nagappan has joined #angularjs
[22:06:24] *** charuru has quit IRC
[22:07:21] *** macobo has joined #angularjs
[22:07:37] <seriema> eden_lane: you can grab it
[22:07:44] <seriema> "How to obtain Ecma publications on CD-ROM and as paper document" lol Ecma really follows the times
[22:07:58] <eden_lane> seriema: okay, I will try. Thanks !
[22:08:27] *** eden_lane has quit IRC
[22:08:49] *** Evanion has joined #angularjs
[22:08:52] *** tristanp has joined #angularjs
[22:08:54] *** bkuberek_ has joined #angularjs
[22:09:28] *** jonr22 has joined #angularjs
[22:09:35] *** Lingos_ has quit IRC
[22:10:21] *** JBreit has joined #angularjs
[22:11:16] *** jareddlc has joined #angularjs
[22:11:38] <wafflej0ck> seriema: haha
[22:12:22] *** bkuberek has quit IRC
[22:12:30] *** toptop_ has joined #angularjs
[22:12:37] *** adpirz has joined #angularjs
[22:12:53] *** mtsr has joined #angularjs
[22:13:16] *** tristanp has quit IRC
[22:13:37] *** mtsr has quit IRC
[22:13:41] *** Evanion has quit IRC
[22:14:08] *** Guest22008 has joined #angularjs
[22:14:20] *** rho has quit IRC
[22:14:22] *** mjs2600 has quit IRC
[22:14:37] *** stirlingw has quit IRC
[22:15:26] *** gpedro has joined #angularjs
[22:16:01] *** rolleiflex has quit IRC
[22:16:54] *** dcbartlett has quit IRC
[22:16:57] *** NoNMaDDeN has quit IRC
[22:17:20] *** tripu has quit IRC
[22:17:29] <Fifty5Plus> wafflej0ck: respect
[22:17:29] *** mtsr has joined #angularjs
[22:17:40] *** zivester has quit IRC
[22:18:25] *** Cache_Money has quit IRC
[22:18:56] <Fifty5Plus> wafflej0ck: are you doing any more itHolyGrail cleanup this weekend?
[22:19:58] *** woah has joined #angularjs
[22:20:38] *** gpedro has quit IRC
[22:21:24] *** Evanion has joined #angularjs
[22:22:47] *** nycdevgirl has joined #angularjs
[22:23:03] *** whitebook has quit IRC
[22:23:11] <wafflej0ck> Fifty5Plus: hiya, actually made some pretty good progress on the debug panel thing yesterday but didn't get back to working on it yet, will probably get back to it today though for cleanup too
[22:23:18] *** Guest60253 has quit IRC
[22:23:32] *** AngularUI has joined #angularjs
[22:23:32] <AngularUI> bootstrap/gh-pages 1d192dd Chris Chua: chore(release): v0.12.0
[22:23:32] *** AngularUI has left #angularjs
[22:23:42] *** AngularUI has joined #angularjs
[22:23:42] *** AngularUI has left #angularjs
[22:23:52] <wafflej0ck> Fifty5Plus: trying to figure out PayPal integration requirements and see if it's going to be a PITA cause my client uses GoDaddy hosting (terrible)
[22:23:54] *** jonr22 has quit IRC
[22:24:34] *** Guest88103 has quit IRC
[22:24:41] *** Lingos_ has joined #angularjs
[22:24:54] <wafflej0ck> looks like there is a decent library for running the payments but apparently some problem that spanned at least 2006-2011 made it so outgoing requests to https from godaddy don't work for some reason....
[22:25:02] *** dj_zubehoer has joined #angularjs
[22:25:26] *** btc_panhandler has joined #angularjs
[22:25:37] <wafflej0ck> don't think that's true anymore since I'm doing it for another payment processor but the godaddy domain is also secured with SSL so not sure if that makes a difference.... waiting for their support to call back though
[22:25:50] *** Aliks has joined #angularjs
[22:26:33] *** rburns has quit IRC
[22:26:37] *** teddyp1cker has quit IRC
[22:27:44] *** lite has quit IRC
[22:28:04] *** mennea has quit IRC
[22:28:11] *** jonahR has quit IRC
[22:28:19] *** lite has joined #angularjs
[22:28:42] *** mennea has joined #angularjs
[22:28:48] *** freeman42 has joined #angularjs
[22:28:57] *** dj_zubehoer has quit IRC
[22:30:02] *** rburns has joined #angularjs
[22:30:17] *** cacts has joined #angularjs
[22:30:18] *** tomengland_mbp has quit IRC
[22:30:20] *** gazbond has quit IRC
[22:30:38] *** Aliks has quit IRC
[22:31:08] *** mdel has joined #angularjs
[22:31:33] *** Sjimi has joined #angularjs
[22:31:41] *** Sjimi has quit IRC
[22:32:34] *** amphetamines has quit IRC
[22:32:36] *** lite has quit IRC
[22:33:39] *** Lingos_ has quit IRC
[22:35:51] *** tkimmel has joined #angularjs
[22:36:19] *** firelinks has joined #angularjs
[22:37:06] *** AngularUI has joined #angularjs
[22:37:06] <AngularUI> bootstrap/master ac68c04 Chris Chua: chore(release): Starting v0.13.0-SNAPSHOT
[22:37:06] *** AngularUI has left #angularjs
[22:37:21] *** esk4nd4r has joined #angularjs
[22:37:53] *** despai has joined #angularjs
[22:38:13] *** codeman has joined #angularjs
[22:38:17] *** nesquerra has joined #angularjs
[22:40:12] *** gazbond has joined #angularjs
[22:40:20] *** SomeKittens has joined #angularjs
[22:40:21] *** nemothekid has joined #angularjs
[22:40:26] *** Circlefusion1 has quit IRC
[22:40:41] *** tkimmel has quit IRC
[22:42:37] *** nesquerra has quit IRC
[22:43:41] *** doug64k has quit IRC
[22:44:18] *** NigelS has quit IRC
[22:44:23] *** NormySan has quit IRC
[22:44:28] *** cads has joined #angularjs
[22:44:50] *** BillCriswell has quit IRC
[22:45:27] *** NigelS has joined #angularjs
[22:46:13] *** frem has joined #angularjs
[22:46:34] *** sekyms_ has joined #angularjs
[22:47:47] *** Guest46934 has quit IRC
[22:49:30] *** nandoflorestan has quit IRC
[22:49:31] *** Guest22008 has quit IRC
[22:49:50] <seriema> sekyms_: ng-class is meant to be used as class: statement
[22:50:03] <sekyms_> what should I be using seriema?
[22:50:11] <sekyms_> i don't need to use a directive do I?
[22:50:15] <seriema> na
[22:50:22] <seriema> you can do what you're doing I think
[22:50:35] *** MSY has joined #angularjs
[22:50:44] *** nandoflorestan has joined #angularjs
[22:50:55] *** frem has quit IRC
[22:50:59] *** MSY is now known as Guest50688
[22:51:12] <seriema> just more like, ng-class="{fa-user: issue.user.login === comment.user.login, fa-comment: issue.user.login !== comment.user.login}
[22:51:18] <seriema> but there should be a nicer way
[22:51:28] *** Linxcat has joined #angularjs
[22:51:32] *** bkuberek_ has quit IRC
[22:51:37] *** merobertsjr has joined #angularjs
[22:51:55] <Guest89872> Is there a way for a parent directive to access data specified as attributes of transcluded child directives?
[22:52:03] *** bkuberek has joined #angularjs
[22:52:09] *** rburns has quit IRC
[22:52:48] *** diegoaguilar has quit IRC
[22:52:57] *** oste has quit IRC
[22:53:02] <seriema> sekyms_: should be '' around 'fa-user' and 'fa-comment', my bad
[22:53:34] <seriema> sekyms_: ah, found a better way!
[22:53:41] *** tfennelly has joined #angularjs
[22:53:42] <sekyms_> all ears
[22:53:43] <seriema> sekyms_: ng-class="$even ? 'even-row' : 'odd-row'"
[22:53:52] *** Johnny13371337 has quit IRC
[22:53:54] <seriema> pretty similar to what you were doing =)
[22:53:56] <sekyms_> but thats true or falsey
[22:53:57] <seriema> it was just the syntax
[22:54:07] <seriema> yeye you can use whatever you want on the left side
[22:54:12] <sekyms_> oh ok
[22:54:16] <Guest89872> In other words, <piechart><piechart-slice value="50"></piechart-slice><piechart-slice value="100"></piechart-slice></piechart>
[22:54:31] *** tfennelly has quit IRC
[22:54:34] *** TopTop has quit IRC
[22:54:52] *** amichair has left #angularjs
[22:54:53] <Guest89872> The parent directive (piechart) needs to know the total of all child directive values (50+100).
[22:54:53] *** toptop_ has quit IRC
[22:55:16] *** sebhoss has quit IRC
[22:55:37] <seriema> Guest89872: I would assume the data was available to the parent if it was available to the children?
[22:55:58] *** tfennelly has joined #angularjs
[22:56:11] <sekyms_> seriema: I had actually visited that
[22:56:15] <sekyms_> the checkboxes confused me
[22:56:33] <Guest89872> but what if I just wanted to hardcode some piecharts into the html?
[22:56:52] <Guest89872> I'd have to set up a controller that adds data to scope.slices for that to work.
[22:57:38] <seriema> sekyms_: hehe
[22:57:41] *** Guest89872 is now known as tauren
[22:57:50] <sekyms_> <i ng-class="issue.user.login === comment.user.login" ? 'fa fa-user' : 'fa fa-comment' ></i>
[22:58:06] *** mennea has quit IRC
[22:58:06] *** mtsr has quit IRC
[22:58:15] <seriema> tauren: well you can't hardcode it if you want the parent directive to behave dynamically?
[22:58:24] *** tripu has joined #angularjs
[22:58:27] *** woah has quit IRC
[22:58:42] <seriema> sekyms_: yeah that should work. but you could just put 'fa' in a regular class="fa" =)
[22:58:43] *** mennea has joined #angularjs
[22:58:56] *** jeffscottward has joined #angularjs
[22:58:59] <tauren> seriema: that's what I'm trying to figure out. Can the parent access it's children to gleen the data it needs?
[22:59:03] <sekyms_> almost got it seriema
[22:59:07] <sekyms_> there was another error
[22:59:25] <tauren> Or does the data need to be available to the parent
[22:59:31] <seriema> tauren: it can, yes, through the element property. but it's not very clean
[22:59:37] *** AtomicCookie has joined #angularjs
[22:59:40] <seriema> sekyms_: oh?
[22:59:47] <sekyms_> bad quotes
[22:59:50] *** Circlefusion has joined #angularjs
[22:59:52] <sekyms_> ill paste it in when i finallyget it
[22:59:57] <tauren> seriema: ok, it seems like it could get messy
[23:00:22] <sekyms_> got it
[23:00:23] <sekyms_> <i class="fa" ng-class="issue.data.user.login === comment.user.login ? 'fa-user' : 'fa-comment' "></i>
[23:00:26] *** tripu has quit IRC
[23:00:43] *** Guest50688 has quit IRC
[23:00:43] <sekyms_> so much for keeping logic out of the dom
[23:01:04] <seriema> sekyms_: lol you can just wrap that in a function, isCommenter() or something
[23:01:25] <seriema> isUserTheSameUserAsWroteThisComment()
[23:01:29] <seriema> lulz
[23:01:35] <sekyms_> good point
[23:01:42] <sekyms_> and just set ng-class == to it
[23:01:58] *** woah has joined #angularjs
[23:02:03] <seriema> well, still with the tertiary operator
[23:02:33] <sekyms_> not if i pass in both values
[23:02:43] <seriema> hm?
[23:03:00] <sekyms_> i can just return the class
[23:03:05] <sekyms_> put the tertiary in the function
[23:03:11] <sekyms_> we are saying the same thing lol
[23:03:13] <seriema> you could, but then you're putting styling info inside your controller
[23:03:23] <seriema> I kinda want to keep that in the HTML
[23:03:30] <seriema> so I would still go with ? :
[23:03:51] <sekyms_> ill think about it in a bit
[23:03:53] <sekyms_> for now it works
[23:03:58] <sekyms_> thank you for your help sir
[23:04:06] *** themime has quit IRC
[23:04:15] <seriema> you know what they say. if it's working, it doesn't have enough features yet.
[23:04:29] <sekyms_> lol fair enough
[23:04:31] <sekyms_> g'night
[23:04:32] *** sekyms_ has quit IRC
[23:04:35] <seriema> gnight
[23:07:10] *** marcjs has joined #angularjs
[23:07:32] *** TyrfingMjolnir has joined #angularjs
[23:07:37] *** iffraff has quit IRC
[23:09:39] *** NigelS has quit IRC
[23:10:13] *** coryfauver has joined #angularjs
[23:10:15] *** NigelS has joined #angularjs
[23:10:51] *** despai has quit IRC
[23:11:13] *** despai has joined #angularjs
[23:11:25] *** coryfauver has quit IRC
[23:11:54] *** basiclaser_ has quit IRC
[23:14:25] *** BobbieBarker has joined #angularjs
[23:14:31] <seriema> Github choosing the name Atom makes it really hard to google stuff =/ Hits 1-3 are ok, then 4: Uranium Supplies: Supply of Uranium, 5: Fusion power - Wikipedia, 6: Gold - Wikipedia (??) etc
[23:14:38] *** oste has joined #angularjs
[23:14:44] <BobbieBarker> can anyone recommend a good library for handling the addition of money in javascript?
[23:14:52] *** mjs2600 has joined #angularjs
[23:15:13] *** mennea has quit IRC
[23:15:15] *** JmZ is now known as JmZ_
[23:17:26] *** NoNMaDDeN has joined #angularjs
[23:17:28] *** lxer has quit IRC
[23:17:42] *** after_r has joined #angularjs
[23:18:11] <after_r> How do I assign a template to a block of HTML? What would be the best way to go.. a controller or a directeive?
[23:18:30] *** Shai-Tan has quit IRC
[23:18:31] *** shredjs has quit IRC
[23:18:51] <after_r> but I dont need to re-use this html block... so I dont see why id go with a directive
[23:19:10] <after_r> its for a menu bar
[23:19:32] *** alinou has quit IRC
[23:20:03] *** mjs2600 has quit IRC
[23:20:23] *** Celia is now known as FergusL
[23:20:38] <seriema> BobbieBarker: like, proper decimal addition?
[23:21:05] <BobbieBarker> well ofc cuz floats and currency don't play nice
[23:21:06] <BobbieBarker> but i found one
[23:21:27] <seriema> after_r: if you only want to add functionality, like click handlers etc, go with controllers. if you need to reuse the html, use directives
[23:21:31] <seriema> BobbieBarker: which one?
[23:21:31] *** hmsimha_ has joined #angularjs
[23:21:38] <tauren> after_r: i believe that it is best practice for a directive to only have one template
[23:21:44] *** alinou has joined #angularjs
[23:21:51] <after_r> or ng-include?
[23:21:52] <tauren> create separate directives for each template you need
[23:22:08] <tauren> then use ng-switch to pick the appropriate directive to display
[23:22:17] *** Zesty has joined #angularjs
[23:22:54] *** tristanp has joined #angularjs
[23:23:15] *** Guest60253 has joined #angularjs
[23:24:05] <after_r> i dont need to re-use the html because its juse used in one place.. its for the main website menu
[23:24:06] *** NoNMaDDeN has quit IRC
[23:24:18] <after_r> its for the top nav menu
[23:24:43] *** tech2_ has quit IRC
[23:25:01] <tauren> ok, have you tried ng-include then?
[23:25:11] *** bengillies has joined #angularjs
[23:25:28] *** prettymuchbryce has joined #angularjs
[23:25:32] <after_r> wouldnt ng-include work for me?
[23:25:33] <seriema> anyone using Atom?
[23:25:48] *** rikkipitt has quit IRC
[23:25:50] <after_r> <div id=myanv ng-include=mynav.html /> ?
[23:26:33] *** Aliks has joined #angularjs
[23:27:28] *** nagappan has quit IRC
[23:27:29] *** walbert has quit IRC
[23:27:38] *** bayousoft has quit IRC
[23:28:11] *** nagappan has joined #angularjs
[23:29:22] *** kirfu has quit IRC
[23:29:53] *** bengillies has quit IRC
[23:31:09] *** Shai-Tan has joined #angularjs
[23:31:59] *** macobo has quit IRC
[23:32:38] *** despai has quit IRC
[23:32:51] *** mjs2600 has joined #angularjs
[23:32:53] *** doug64k has joined #angularjs
[23:32:58] *** jstroem has joined #angularjs
[23:34:30] *** Lingos_ has joined #angularjs
[23:34:58] *** despai has joined #angularjs
[23:35:46] *** tristanp has quit IRC
[23:36:48] *** Zesty has quit IRC
[23:37:38] *** Aerospark has quit IRC
[23:37:54] *** thepro4ever has joined #angularjs
[23:38:04] *** thepro4ever has left #angularjs
[23:38:33] *** edrocks has joined #angularjs
[23:38:37] *** stirlingw has joined #angularjs
[23:38:44] *** StryKaizer has quit IRC
[23:38:59] *** lite has joined #angularjs
[23:39:01] *** sinequanon has joined #angularjs
[23:39:07] *** Lingos_ has quit IRC
[23:39:38] <BobbieBarker> seriema: money-math
[23:39:43] *** NigelS has quit IRC
[23:39:45] *** renlo has joined #angularjs
[23:40:16] *** Oxynum has quit IRC
[23:40:31] *** Aerospark has joined #angularjs
[23:40:58] *** NigelS has joined #angularjs
[23:41:34] *** jonr22 has joined #angularjs
[23:41:37] *** mjs2600 has quit IRC
[23:43:18] *** cannap has quit IRC
[23:43:23] *** lite has quit IRC
[23:44:09] *** sinequanon has quit IRC
[23:44:20] *** sarah898878 has joined #angularjs
[23:44:50] *** oste has quit IRC
[23:45:40] *** Josh has joined #angularjs
[23:46:02] *** Josh is now known as Guest41253
[23:48:37] *** Ronyrun has quit IRC
[23:48:43] *** TommyO_ has joined #angularjs
[23:48:49] <seriema> BobbieBarker: thx
[23:49:57] *** TommyO has quit IRC
[23:50:40] *** gazbond has quit IRC
[23:51:07] <renlo> how do you inject some value into a modules config
[23:51:33] <renlo> i want to have an object with the default paths to infject into the angular-ui router
[23:51:58] *** MSY has joined #angularjs
[23:51:58] <renlo> example: paths = { root: '/static/', api: '/api/' } etc
[23:52:07] <renlo> how would you do this the angular way?
[23:52:22] *** MSY is now known as Guest5645
[23:53:21] *** mjs2600 has joined #angularjs
[23:53:25] <seriema> renlo: only providers and constants are accessible in the .config() so I guess a constant is what you need. app.constant('paths', { ... })
[23:53:27] *** ctanga has joined #angularjs
[23:54:08] *** glassir has quit IRC
[23:54:35] <renlo> thanks seriema, that worked like a charm!
[23:54:51] <seriema> that was fast =)
[23:55:03] <renlo> haha, i had it as a value and was wondering wy it wasnt working
[23:55:09] <renlo> so just changed .value to .constant
[23:55:13] <seriema> :D
[23:55:23] *** after_r has quit IRC
[23:55:27] *** esk4nd4r has quit IRC
[23:55:37] *** jstroem has quit IRC
[23:55:46] *** glassir has joined #angularjs
[23:56:11] *** TommyO_ is now known as TommyO
[23:56:27] *** TommyO has joined #angularjs
[23:56:51] *** mjs2600 has quit IRC
[23:57:21] *** Aerospark has quit IRC
[23:57:59] <seriema> how come some people like to use template: [ ... ].join('') instead of just template: '...' + '...' + etc for newlines?
[23:58:00] *** r0ver_ has joined #angularjs
[23:58:25] *** kaz has quit IRC
[23:58:49] *** MuffinMan` has quit IRC
[23:59:22] *** Aerospark has joined #angularjs