[00:00:43] *** samuel02 has quit IRC
[00:01:04] *** rtpg has joined #angularjs
[00:01:07] *** dcherman has quit IRC
[00:01:20] *** jolts has joined #angularjs
[00:02:31] *** mdedetrich has joined #angularjs
[00:03:13] *** Hackster has joined #angularjs
[00:03:35] *** JayFK has quit IRC
[00:03:48] <soee> if i want to add some data to each request, i should use interceptor ?
[00:03:54] *** arathunku has quit IRC
[00:04:08] *** Linell has quit IRC
[00:04:34] *** Limix has joined #angularjs
[00:04:45] *** BillCriswell has quit IRC
[00:04:53] *** tech2 has quit IRC
[00:04:58] *** s00pcan has quit IRC
[00:05:09] *** patric100e99 has joined #angularjs
[00:05:13] *** whunt_ has joined #angularjs
[00:05:32] *** rtpg has quit IRC
[00:06:16] *** yelvert has quit IRC
[00:06:19] *** elrabin_ has joined #angularjs
[00:06:22] *** Soop has joined #angularjs
[00:06:36] *** mkc has quit IRC
[00:06:42] *** Shrooms has quit IRC
[00:07:15] *** mtsr has joined #angularjs
[00:07:43] *** nairys has quit IRC
[00:08:13] *** davek_ has quit IRC
[00:08:27] *** whunt has quit IRC
[00:08:42] *** jwowwz has quit IRC
[00:08:56] *** whitebook has quit IRC
[00:09:29] *** antons__ has quit IRC
[00:09:36] *** Shilon has joined #angularjs
[00:09:41] *** Shilon has left #angularjs
[00:09:43] *** elrabin has quit IRC
[00:09:44] *** patric100e99 has quit IRC
[00:09:46] *** dcherman has joined #angularjs
[00:10:44] *** elrabin_ has quit IRC
[00:10:50] *** s00pcan has joined #angularjs
[00:11:02] *** alp82 has quit IRC
[00:12:17] *** cotko has quit IRC
[00:12:18] *** nairys has joined #angularjs
[00:12:29] *** _ritchie_ has quit IRC
[00:12:41] *** ciwolsey has quit IRC
[00:12:41] *** dc_ has joined #angularjs
[00:13:00] *** walden is now known as walden|afk
[00:13:29] *** seriema has joined #angularjs
[00:13:58] *** marshall has joined #angularjs
[00:14:12] *** oste has quit IRC
[00:15:14] *** Shilon has joined #angularjs
[00:15:16] *** loverajoel has joined #angularjs
[00:15:39] *** Shilon has left #angularjs
[00:15:44] *** yts has quit IRC
[00:16:07] *** mzabriskie has quit IRC
[00:16:29] *** rho has quit IRC
[00:17:12] <jaydubya> |status
[00:17:22] *** dc_ has quit IRC
[00:17:27] <jaydubya> |connected
[00:17:46] *** bmac has quit IRC
[00:17:47] *** seriema has quit IRC
[00:17:59] *** raibutera has joined #angularjs
[00:18:22] *** RobinBAwesome has quit IRC
[00:18:28] *** davek_ has joined #angularjs
[00:20:10] *** RobinBAwesome has joined #angularjs
[00:20:19] *** LeBlaaanc has quit IRC
[00:20:37] *** mzabriskie has joined #angularjs
[00:20:48] *** optikalmouse has quit IRC
[00:21:07] *** _ritchie_ has joined #angularjs
[00:21:09] *** jackdpeterson has quit IRC
[00:21:10] *** mzabriskie has quit IRC
[00:21:53] *** discgo has joined #angularjs
[00:21:56] *** jeffszusz has quit IRC
[00:22:58] *** juanpablo_ has quit IRC
[00:24:05] *** AngularUI has joined #angularjs
[00:24:05]
<AngularUI> [ng-grid] novice3030 opened pull request #2054: RTL support for column resize feature (master...master) http://git.io/jo67Og
[00:24:05] *** AngularUI has left #angularjs
[00:25:08] *** sonofdirt has quit IRC
[00:25:41] *** faddah has quit IRC
[00:25:42] *** elrabin has joined #angularjs
[00:25:58] *** munzmania has quit IRC
[00:26:11] *** mtsr has quit IRC
[00:26:12] *** FunnyLookinHat has quit IRC
[00:26:19] *** vassagus has quit IRC
[00:26:32] *** whunt_ is now known as whunt
[00:26:40] *** TripTastic has joined #angularjs
[00:26:51] *** cactauz has quit IRC
[00:27:38] *** raibutera has quit IRC
[00:27:49] *** ChadStrat has quit IRC
[00:29:21] *** doginal has quit IRC
[00:29:43] *** mmealling has joined #angularjs
[00:30:08] *** Foxandxss has quit IRC
[00:30:14] *** JBreit has quit IRC
[00:30:23] *** thedodd has quit IRC
[00:30:25] *** jdcasey has quit IRC
[00:31:21] *** areologist has quit IRC
[00:31:28] *** dhcar is now known as dhcar_AFK
[00:31:55] <wafflej0ck> soee: if it's for everything then yea that makes sense
[00:32:17] *** cotko has joined #angularjs
[00:32:17] <wafflej0ck> soee: in some cases I just have a service that uses a factory to make new client side objects when the data is returned from the service
[00:32:34] *** narutimateum has quit IRC
[00:32:56] *** szymek has quit IRC
[00:33:02] *** baweaver has quit IRC
[00:33:29] *** a3gis has quit IRC
[00:33:32] *** antons has joined #angularjs
[00:33:56] *** tomzx is now known as tomzx`afk
[00:34:06] *** abailarri has joined #angularjs
[00:34:36] <soee> wafflej0ck: i just need to add token to each post data
[00:34:44] *** xavia has quit IRC
[00:34:53] <wafflej0ck> yup
[00:34:55] <wafflej0ck> makes sense for that
[00:35:00] *** munzmania has joined #angularjs
[00:35:12] <abailarri> Hello. I see this line in one project and I want to know what means the second parameter of the controller: .controller('ListBookCtrl', function($scope, Book) { $scope.books = Book.query();})
[00:35:12] *** meisth0th has joined #angularjs
[00:35:18] <meisth0th> hello
[00:35:26] *** ahtik has quit IRC
[00:35:29] <abailarri> the Book parameter
[00:35:55] <wafflej0ck> abailarri: look up angularJS dependency injection, Book is likely just a factory/service for interacting with the data
[00:35:57] <soee> some factory probably
[00:36:05] <soee> abailarri: ^
[00:36:23] <deweydb> is there a way to get the element that an ng-model= is binded to?
[00:36:42] <abailarri> wafflej0ck, soee, I see that there is a services.js with a bookServices.factory('Book', ['$resource', ...
[00:37:01] <abailarri> then, it is injecting the Book service to the controller?
[00:37:07] <wafflej0ck> abailarri: yup so that function defined for the Book will return an object that is injected as Book
[00:37:15] <deweydb> i want to force the cursor to focus into an input field when something happens, the only reference to that field i have in my controller is the ng-model=""
[00:37:22] *** elrabin has quit IRC
[00:38:09] <wafflej0ck> deweydb: nope will need another directive
[00:38:24] <deweydb> okie dokie
[00:39:07] <deweydb> oh, wait, what if its already showing/hiding. can i do "ng-onshow" or something
[00:39:11] *** gunn has quit IRC
[00:39:31] <wafflej0ck> not that I'm aware of
[00:39:34] *** ctanga has quit IRC
[00:39:44] <deweydb> ok this directive looks decent. thanks
[00:39:48] <wafflej0ck> np
[00:40:35] *** gunn has joined #angularjs
[00:41:11] *** codeman has joined #angularjs
[00:42:02] *** shackleford has quit IRC
[00:42:12] *** mtsr has joined #angularjs
[00:42:27] *** mot0rola has joined #angularjs
[00:42:31] *** merobertsjr has quit IRC
[00:42:41] *** moritzs has joined #angularjs
[00:42:49] *** devinandrews has quit IRC
[00:42:57] *** intellix has quit IRC
[00:43:20] *** kalehv has joined #angularjs
[00:43:24] *** brettfrable has quit IRC
[00:43:42] *** seriema has joined #angularjs
[00:44:27] *** nycdevgirl has quit IRC
[00:44:52] *** ome has joined #angularjs
[00:45:49] *** cotko has quit IRC
[00:47:13] *** soee has quit IRC
[00:48:21] *** seriema has quit IRC
[00:48:21] *** baweaver has joined #angularjs
[00:48:32] *** mtsr has quit IRC
[00:49:46] *** faddah has joined #angularjs
[00:49:53] *** Skrypter has quit IRC
[00:50:12] *** evilaliv3 has quit IRC
[00:50:27] *** Skrypter has joined #angularjs
[00:50:31] *** AlexZan has quit IRC
[00:50:54] *** MetaCosm has joined #angularjs
[00:51:47] *** wiherek has joined #angularjs
[00:52:01] *** moritzs has quit IRC
[00:52:28] *** merobertsjr has joined #angularjs
[00:52:29] *** munzmania has quit IRC
[00:52:48] *** Atbn has joined #angularjs
[00:53:14] <Atbn> Hello everyone, I have a noob question about organizing my app
[00:53:17] *** mdedetrich has quit IRC
[00:53:36] *** munzmania has joined #angularjs
[00:54:16] *** Underbyte has quit IRC
[00:54:23] <daviesgeek> @Atbn ask the question…
[00:54:46] *** dimetron has quit IRC
[00:54:56] <daviesgeek> just ask then people will answer :)
[00:55:10] <Atbn> I did the PHonecat tutorial, and now I'm working on my own app using the seed project. Since this project has the logic separated out by views (rather than having it all in one js folder,) I'm not sure where to add the services.js file
[00:55:22] *** Skrypter has quit IRC
[00:55:22] <Atbn> It should apply to all views
[00:55:25] *** wiherek has quit IRC
[00:55:43] *** ngbot has joined #angularjs
[00:55:44] <ngbot> angular.js/v1.2.x 756640f Chirayu Krishnappa: fix($parse): add quick check for Function constructor in fast path
[00:55:44] <ngbot> angular.js/v1.2.x 4d0614f Chirayu Krishnappa: fix($parse, events): prevent accidental misuse of properties on $event...
[00:55:44] *** ngbot has left #angularjs
[00:56:01] *** dc_ has joined #angularjs
[00:56:06] <Grokling> Also, you'd usually have one file per service, rather than a monolithic 'services.js' in an app of any real size.
[00:56:09] *** wiherek has joined #angularjs
[00:56:12] *** DLSteve has quit IRC
[00:56:34] *** _ritchie_ has quit IRC
[00:56:34] *** wiherek has left #angularjs
[00:56:44] <wafflej0ck> Atbn: yup like Grokling said, typically I split my app by functional areas
[00:56:44] *** mspier is now known as mspier|away
[00:57:04] *** mspier|away is now known as mspier
[00:57:53] *** Beatzebub has joined #angularjs
[00:58:02] <wafflej0ck> Atbn: so there is a folder in my scripts folder with things to do with users called user, many times I start off with one file with a service and a few controllers in it but if the code for either gets large I just split them up within that folder, directives and filters that are generic I just have outside of the functional section folders
[00:58:52] *** ngbot has joined #angularjs
[00:58:52]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from f807d7a to 45b896a: http://git.io/qAeuWA
[00:58:52] *** ngbot has left #angularjs
[00:59:10] <wafflej0ck> actually have a directives folder at the same level as the functional section folders and each directive has it's own folder in there in case it ends up being more than one file
[00:59:11] *** jasonp has quit IRC
[00:59:12] <Atbn> So a separate "service" folder for each object (users, phones, etc?)
[00:59:17] *** knownasilya has quit IRC
[00:59:17] *** munzmania has quit IRC
[00:59:19] <wafflej0ck> Atbn: yup
[00:59:31] *** _ritchie_ has joined #angularjs
[00:59:49] *** AR45 is now known as zzz_AR45
[00:59:49] *** ngbot has joined #angularjs
[00:59:50]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 45b896a to 029ac8c: http://git.io/O3IqQg
[00:59:50] *** ngbot has left #angularjs
[00:59:55] <nairys> i'm using angular-datatables to build a table based on some information i'm pulling from webAPI. one of the columns in my table is an edit button and i'm trying to pass the object for that row using ngclick when the edit button is clicked. however, i can only seem to pass primitives using ngClick and not the full object. am i missing something?
[00:59:55] *** Soop has quit IRC
[01:00:29] <nairys> this is the column definition: return '<a ng-click="editEntryModal(' + full + ')"></a>'
[01:00:42] <nairys> it works if i do full.Id or full.Name
[01:00:44] *** ngbot has joined #angularjs
[01:00:44]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 029ac8c to fe7d9de: http://git.io/Dg2xjQ
[01:00:45] *** ngbot has left #angularjs
[01:00:49] *** munzmania has joined #angularjs
[01:00:52] <wafflej0ck> nairys: get rid of the + parts
[01:00:58] *** mdedetrich has joined #angularjs
[01:01:01] <wafflej0ck> editEntryModal(full)
[01:01:16] *** zzz_AR45 is now known as AR45
[01:01:20] <Grokling> Atbn, I have a service folder, broken up into subfolders by module, with a file for each service inside.
[01:01:33] <wafflej0ck> nairys: what you're doing is making it toString the part between the ++ parts I'm pretty sure
[01:01:42] <nairys> if i try that, nothing gets passed to editEntryModal
[01:01:49] *** ngbot has joined #angularjs
[01:01:49]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from fe7d9de to 430082e: http://git.io/HxPnmg
[01:01:49] *** ngbot has left #angularjs
[01:01:50] <nairys> i try to console.log what comes in and it says undefined
[01:01:59] <Grokling> Atbn: You can skip the subfolders by module part for now though - keep it in mind for later when it makes more sense though.
[01:02:10] <wafflej0ck> nairys: show some code in a pastebin or plunkr is full an object on the scope?
[01:02:18] *** woah has quit IRC
[01:02:27] *** whitebook has joined #angularjs
[01:02:57] *** dc_ has quit IRC
[01:03:37] *** jasonp has joined #angularjs
[01:03:54] *** ngbot has joined #angularjs
[01:03:54]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 430082e to 1ee9b4e: http://git.io/L4PdCw
[01:03:54] *** ngbot has left #angularjs
[01:04:00] *** ngbot has joined #angularjs
[01:04:00]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 1ee9b4e to 5847fc4: http://git.io/AtSPfQ
[01:04:00] *** ngbot has left #angularjs
[01:04:22] <nairys> my issue is with the Actions column
[01:04:23] *** asher^ has joined #angularjs
[01:05:03] *** zlalanne has quit IRC
[01:05:15] *** ngbot has joined #angularjs
[01:05:15]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 5847fc4 to d7c084f: http://git.io/656_fg
[01:05:15] *** ngbot has left #angularjs
[01:05:16] <wafflej0ck> nairys: are you usingn the angular data-tables directive/project?
[01:05:22] <nairys> yes
[01:05:28] *** cannap has quit IRC
[01:05:29] <Atbn> I guess I'm confused about why they chose to have views each have their own controller. It makes more sense to me to have a service (object) have its own controller, then have partials for displaying one of that model.
[01:05:31] <wafflej0ck> nairys: if the directive isn't run through compile you'd have problems
[01:05:55] *** cacts has joined #angularjs
[01:05:57] <wafflej0ck> Atbn: typically you controllers should be pretty slim and in 2.0 will likely be a thing of the past
[01:05:58] <nairys> yeah i ran into that earlier so i added the $compile Option
[01:06:06] <wafflej0ck> Atbn: for now they act as the glue between the view and the model
[01:06:07] *** marr has quit IRC
[01:06:08] <nairys> for a different issue i was having
[01:06:29] <Atbn> Unless each view is meant to be renamed to an object
[01:06:31] *** ngbot has joined #angularjs
[01:06:31]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from d7c084f to f906603: http://git.io/oH1Ydg
[01:06:32] *** ngbot has left #angularjs
[01:06:43] <wafflej0ck> yeah full there isn't something in the model so what I was saying won't really work you just have full as a JS object passed in there
[01:06:54] <wafflej0ck> nairys: ^
[01:07:00] *** Reskp has joined #angularjs
[01:07:31] *** Fishy__ has quit IRC
[01:07:39] *** ngbot has joined #angularjs
[01:07:39]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from f906603 to f937075: http://git.io/Ar4uoQ
[01:07:39] *** ngbot has left #angularjs
[01:08:17] *** tkd_aj has joined #angularjs
[01:08:20] <tkd_aj> S
[01:08:23] <nairys> should i just scrap this approach then?
[01:08:30] *** bkuberek has quit IRC
[01:08:41] <nairys> it's weird that it works when i pass in primitives but not the whole object
[01:08:49] <lrvick> So if I have a bunch of $http calls as promises in the resolve block for a route, and I change to iterations of that route several times in a couple of seconds, do all the other resolve atempts get automatically canceled and cleaned up?
[01:08:55] <nairys> oh
[01:08:56] <lrvick> and only the last one load?
[01:08:58] *** ngbot has joined #angularjs
[01:08:58]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from f937075 to e865726: http://git.io/zyazyg
[01:08:58] *** ngbot has left #angularjs
[01:08:59] *** bkuberek has joined #angularjs
[01:09:04] *** jasonp has quit IRC
[01:09:05] <wafflej0ck> nairys: sorry not sure about the datatables project, the primitives part actually makes sense to me, when ng-click evaluates it expects an angular expression
[01:09:09] *** zeroquake has quit IRC
[01:09:29] <nairys> i guess i need to find a way to attach full to the scope
[01:09:53] <nairys> i tried dropping $scope.full = full before the return
[01:09:59] <wafflej0ck> nairys: so passing a primitive in there is fine too but if you pass something like a variable it expects to be able to find it on the scope
[01:10:04] <nairys> right
[01:10:08] *** ngbot has joined #angularjs
[01:10:08]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from e865726 to 054893b: http://git.io/PSQC-w
[01:10:08] *** ngbot has left #angularjs
[01:10:12] *** cornerma1 has joined #angularjs
[01:10:12] *** bengillies has joined #angularjs
[01:10:24] <nairys> so now that i have $scope.full, it works but it gets overwritten each time a new row is written
[01:10:32] <nairys> so no matter which row i click edit on, it returns the value of the last row
[01:10:39] *** deanclkclk__ has quit IRC
[01:10:55] *** jasonp has joined #angularjs
[01:11:06] <wafflej0ck> yup typically you would have an array of things you ng-repeat over like ng-repeat="thing in things" then you would do something like ng-click="changeThing(thing)
[01:11:07] <wafflej0ck> "
[01:11:11] *** kalehv has quit IRC
[01:11:13] <nairys> yeah
[01:11:15] *** ngbot has joined #angularjs
[01:11:15]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 054893b to 386c179: http://git.io/_qWVEw
[01:11:15] *** ngbot has left #angularjs
[01:11:21] <nairys> hm
[01:11:36] *** shinnya has joined #angularjs
[01:11:49] *** codeman has quit IRC
[01:11:49] *** jasonp has quit IRC
[01:11:51] <nairys> is there a way to set a dynamic scope name?
[01:11:57] *** d10n-work has quit IRC
[01:12:02] <nairys> something like $scope.fullID (where ID corresponds to that row ID)
[01:12:18] <daviesgeek> how about an object?
[01:12:20] *** ngbot has joined #angularjs
[01:12:20]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 386c179 to 80b78f7: http://git.io/IZyNiA
[01:12:20] *** ngbot has left #angularjs
[01:12:23] <wafflej0ck> nairys: yea you can use $scope[fullID] really though best practices wise you shouldn't use the scope as your model it should refer to the model
[01:12:40] *** Kermit__ has joined #angularjs
[01:12:46] <wafflej0ck> so should be like $scope.myModel = {}; $scope.myModel[fullID]
[01:13:01] <daviesgeek> ^ what he said :)
[01:13:09] *** cornerman has quit IRC
[01:13:10] *** bkuberek has quit IRC
[01:13:18] *** cornerma1 is now known as cornerman
[01:13:23] *** ngbot has joined #angularjs
[01:13:23]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 80b78f7 to 99f3931: http://git.io/L_6Aow
[01:13:24] *** ngbot has left #angularjs
[01:13:38] <nairys> let me give that a shot
[01:14:28] *** ngbot has joined #angularjs
[01:14:28]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 99f3931 to 3e46852: http://git.io/FAbDng
[01:14:28] *** ngbot has left #angularjs
[01:14:50] *** bengillies has quit IRC
[01:15:28] *** ngbot has joined #angularjs
[01:15:28]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 3e46852 to e933993: http://git.io/8r314A
[01:15:28] *** ngbot has left #angularjs
[01:16:29] *** bmac has joined #angularjs
[01:16:33] *** ngbot has joined #angularjs
[01:16:33]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from e933993 to 483d91a: http://git.io/7OlcNw
[01:16:33] *** ngbot has left #angularjs
[01:16:45] *** tomzx`afk is now known as tomzx
[01:17:06] *** whiteboo_ has joined #angularjs
[01:17:25] *** gnrlbzik has joined #angularjs
[01:17:41] *** ngbot has joined #angularjs
[01:17:41]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 483d91a to 95f5b86: http://git.io/yu9jvA
[01:17:41] *** ngbot has left #angularjs
[01:18:07] *** mjs2600 has quit IRC
[01:18:44] *** ngbot has joined #angularjs
[01:18:44]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 95f5b86 to f619d03: http://git.io/jUwvYw
[01:18:44] *** ngbot has left #angularjs
[01:19:06] *** whitebook has quit IRC
[01:19:24] <wafflej0ck> lrvick: don't think so
[01:19:40] <wafflej0ck> lrvick: typically I handle the caching and checking if things are already loading within my services
[01:19:48] *** ngbot has joined #angularjs
[01:19:48]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from f619d03 to 5d04259: http://git.io/ehiU8g
[01:19:48] *** ngbot has left #angularjs
[01:20:10] *** damain has quit IRC
[01:20:23] *** moritzs has joined #angularjs
[01:20:28] <nairys> so you mean something like this wafflej0ck? $scope.entries[full.Id] = full;
[01:20:36] *** drej has joined #angularjs
[01:20:38] *** kuadrosx_ has joined #angularjs
[01:20:49] *** kuadrosx has quit IRC
[01:20:56] *** ngbot has joined #angularjs
[01:20:56]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 5d04259 to 4cee5fd: http://git.io/XNoSIw
[01:20:56] *** ngbot has left #angularjs
[01:21:10] *** eamonn has quit IRC
[01:21:29] *** mjs2600 has joined #angularjs
[01:21:44] <nairys> and this? ng-click="editEntryModal(entries[full.Id])"
[01:21:46] *** Skrypter has joined #angularjs
[01:21:49] *** devinandrews has joined #angularjs
[01:21:54] <nairys> because i'm still getting undefined =/
[01:22:01] *** ngbot has joined #angularjs
[01:22:01]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 4cee5fd to 3691d2c: http://git.io/aHf7pA
[01:22:02] *** ngbot has left #angularjs
[01:22:49] *** fairuz has quit IRC
[01:23:03] *** ngbot has joined #angularjs
[01:23:03]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 3691d2c to a6e6438: http://git.io/nsR5hw
[01:23:03] *** ngbot has left #angularjs
[01:23:21] *** bmac has quit IRC
[01:23:30] *** hnomad has quit IRC
[01:23:52] *** merobertsjr has quit IRC
[01:24:02] *** guiambros has joined #angularjs
[01:24:12] *** ngbot has joined #angularjs
[01:24:12]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from a6e6438 to 434d7a0: http://git.io/T8OUFg
[01:24:12] *** ngbot has left #angularjs
[01:24:28] *** BillCriswell has joined #angularjs
[01:24:28] *** woah has joined #angularjs
[01:25:13] *** ngbot has joined #angularjs
[01:25:13]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 434d7a0 to 0e293d2: http://git.io/-3AT-g
[01:25:14] *** ngbot has left #angularjs
[01:25:14] *** ChadStrat has joined #angularjs
[01:25:30] *** Nijikokun has quit IRC
[01:25:39] *** Widrogo has joined #angularjs
[01:25:46] *** caitp- has quit IRC
[01:25:49] *** dnull has joined #angularjs
[01:25:50] *** Nijikokun has joined #angularjs
[01:26:19] *** AR45 has quit IRC
[01:26:23] *** ngbot has joined #angularjs
[01:26:23]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 0e293d2 to 1e6f854: http://git.io/4xJ0-w
[01:26:24] *** ngbot has left #angularjs
[01:26:56] *** kuadrosx_ is now known as kuadrosx
[01:27:01] *** disorder20 has quit IRC
[01:27:21] *** ngbot has joined #angularjs
[01:27:22]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 1e6f854 to 8162a1d: http://git.io/CFDbbg
[01:27:22] *** ngbot has left #angularjs
[01:28:20] *** ctanga has joined #angularjs
[01:28:31] *** whiteboo_ has quit IRC
[01:28:31] *** freeman42 has quit IRC
[01:28:34] *** zzz_AR45 has joined #angularjs
[01:28:35] *** ngbot has joined #angularjs
[01:28:35]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 8162a1d to e713f36: http://git.io/fQ1eLg
[01:28:35] *** ngbot has left #angularjs
[01:28:52] *** damain has joined #angularjs
[01:28:56] *** merobertsjr has joined #angularjs
[01:28:58] *** tkd_aj has quit IRC
[01:29:10] *** sojic has joined #angularjs
[01:29:27] <sojic> Anybody around? I have question regarding UI Bootstrap
[01:29:31] *** nuizzy has quit IRC
[01:29:38] *** ngbot has joined #angularjs
[01:29:38]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from e713f36 to b11d6c7: http://git.io/fhw2gg
[01:29:38] *** ngbot has left #angularjs
[01:29:42] *** ioudas has quit IRC
[01:29:46] *** Sky[x] has quit IRC
[01:29:56] <nairys> depends sojic
[01:29:58] *** ioudas has joined #angularjs
[01:30:01] <sojic> Well...
[01:30:26] *** damain has quit IRC
[01:30:46] *** ngbot has joined #angularjs
[01:30:46]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from b11d6c7 to f22e5fd: http://git.io/567opw
[01:30:47] *** ngbot has left #angularjs
[01:31:00] <sojic> I have just implemented ui.bootstrap accordion... it is using <accordion> tag... and "regenerate" html dom.... There is no "panel body" tag... which is added by ui.bootstrap dynamicaly.... How can I add no-padding to panel-body?
[01:31:28] *** tripu has joined #angularjs
[01:31:53] *** ngbot has joined #angularjs
[01:31:53]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from f22e5fd to 3303fe4: http://git.io/QAM47w
[01:31:53] *** ngbot has left #angularjs
[01:31:55] *** Widrogo has quit IRC
[01:33:09] *** ngbot has joined #angularjs
[01:33:09]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 3303fe4 to ec4fe1b: http://git.io/SFje9Q
[01:33:09] *** ngbot has left #angularjs
[01:33:09] *** hiptobecubic has quit IRC
[01:33:21] *** rud has quit IRC
[01:33:40] *** MistahKurtz has joined #angularjs
[01:33:57] *** rud has joined #angularjs
[01:34:03] *** LakWork has joined #angularjs
[01:34:09] *** ngbot has joined #angularjs
[01:34:09]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from ec4fe1b to 315f320: http://git.io/fe9vyg
[01:34:09] *** ngbot has left #angularjs
[01:34:15] *** MistahKurtz has quit IRC
[01:34:21] <deweydb> !ignore ngbot
[01:34:41] *** cakirke has joined #angularjs
[01:34:43] *** adpirz has joined #angularjs
[01:34:49] *** MistahKurtz has joined #angularjs
[01:34:55] *** whitebook has joined #angularjs
[01:35:01] <nairys> sojic, you can override the panel-body style
[01:35:13] *** ngbot has joined #angularjs
[01:35:13]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 315f320 to 80ce046: http://git.io/xlQY_g
[01:35:14] *** ngbot has left #angularjs
[01:35:18] <sojic> Any hint?
[01:35:21] <nairys> in your own custom css file
[01:36:01] <nairys> .panel-body {padding: 0px !imporant;}
[01:36:08] <nairys> important*
[01:36:22] *** krawek has quit IRC
[01:36:22] <nairys> but that will change any element with the panel-body class so beware
[01:36:23] *** ngbot has joined #angularjs
[01:36:24]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 80ce046 to 6eab8ab: http://git.io/V0w4HQ
[01:36:24] *** ngbot has left #angularjs
[01:36:26] <sojic> But I do not want always to set padding: 0.... sometimes I need padding, sometimes no.
[01:37:32] <nairys> maybe try dropping ng-class in the accordion-heading element
[01:37:39] <nairys> and set it to a class with 0 padding
[01:37:41] <nairys> see what happens
[01:37:42] *** ngbot has joined #angularjs
[01:37:42]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 6eab8ab to edc2613: http://git.io/igc6TQ
[01:37:42] *** ngbot has left #angularjs
[01:37:45] *** frem has joined #angularjs
[01:38:04] *** alexw has joined #angularjs
[01:38:49] *** ngbot has joined #angularjs
[01:38:49]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from edc2613 to 2d74323: http://git.io/3ASMNQ
[01:38:49] *** ngbot has left #angularjs
[01:38:52] <nairys> if not, im afraid i cant help anymore
[01:38:53] *** michael3 has joined #angularjs
[01:39:02] <sojic> thanks anyway
[01:39:29] *** adpirz has quit IRC
[01:39:39] *** grogs has joined #angularjs
[01:39:54] *** ngbot has joined #angularjs
[01:39:54]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 2d74323 to 31b6bfa: http://git.io/sejiew
[01:39:54] *** ngbot has left #angularjs
[01:40:06] *** alexw has quit IRC
[01:40:18] <nairys> !ignore ngbot
[01:40:51] *** pootpoot has quit IRC
[01:41:02] *** ngbot has joined #angularjs
[01:41:02]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 31b6bfa to 75082c9: http://git.io/hW_Tkg
[01:41:02] *** ngbot has left #angularjs
[01:41:19] *** stanthedev has quit IRC
[01:41:36] *** monir has joined #angularjs
[01:41:38] *** michael3 has quit IRC
[01:42:24] *** ngbot has joined #angularjs
[01:42:24]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 75082c9 to a56435f: http://git.io/Kmy5cA
[01:42:24] *** ngbot has left #angularjs
[01:42:39] *** _ritchie_ has quit IRC
[01:42:39] *** rkjdid has quit IRC
[01:43:00] *** AR45 has joined #angularjs
[01:43:24] *** munzmania has quit IRC
[01:43:28] *** ngbot has joined #angularjs
[01:43:28]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from a56435f to 38e2856: http://git.io/CM6tcQ
[01:43:28] *** ngbot has left #angularjs
[01:44:27] *** seriema has joined #angularjs
[01:44:37] *** ngbot has joined #angularjs
[01:44:37]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 38e2856 to 6a8348f: http://git.io/NnjGAA
[01:44:37] *** ngbot has left #angularjs
[01:45:11] *** _ritchie_ has joined #angularjs
[01:45:19] *** alexw has joined #angularjs
[01:45:29] *** samuel02 has joined #angularjs
[01:45:42] *** rtpg has joined #angularjs
[01:45:48] *** Aliks has quit IRC
[01:45:52] *** ngbot has joined #angularjs
[01:45:52]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 6a8348f to 29aeee2: http://git.io/NcEOIw
[01:45:52] *** ngbot has left #angularjs
[01:45:53] *** rtpg has joined #angularjs
[01:45:58] *** phuh has joined #angularjs
[01:46:07] *** livingstn has joined #angularjs
[01:46:11] *** whitebook has quit IRC
[01:46:16] *** nk121 has quit IRC
[01:46:31] *** davek_ has joined #angularjs
[01:46:31] *** davek_ is now known as davek
[01:46:31] *** davek has joined #angularjs
[01:46:46] *** AR45 has quit IRC
[01:46:56] *** dannyc has joined #angularjs
[01:47:00] *** ngbot has joined #angularjs
[01:47:00]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 29aeee2 to 1426b02: http://git.io/iy3IyA
[01:47:00] *** ngbot has left #angularjs
[01:47:19] *** AR45 has joined #angularjs
[01:47:46] *** grogs has quit IRC
[01:48:21] *** ngbot has joined #angularjs
[01:48:21]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 1426b02 to 8354d02: http://git.io/6OXIGg
[01:48:22] *** ngbot has left #angularjs
[01:49:05] *** AR45 has quit IRC
[01:49:28] *** ngbot has joined #angularjs
[01:49:28]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 8354d02 to 34230b3: http://git.io/2VZUVg
[01:49:29] *** ngbot has left #angularjs
[01:50:15] *** seriema has quit IRC
[01:50:27] *** samuel02 has quit IRC
[01:50:33] *** ngbot has joined #angularjs
[01:50:33]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 34230b3 to efedc64: http://git.io/-JOR5w
[01:50:34] *** ngbot has left #angularjs
[01:51:02] *** pfooti has quit IRC
[01:51:19] *** conan_the_destro has quit IRC
[01:51:20] *** AR45 has joined #angularjs
[01:51:21] *** phuh has quit IRC
[01:51:25] *** dannyc has quit IRC
[01:51:32] *** ngbot has joined #angularjs
[01:51:32]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from efedc64 to 1fa2d56: http://git.io/W_hU-g
[01:51:33] *** ngbot has left #angularjs
[01:51:53] *** damain has joined #angularjs
[01:52:16] *** mven has joined #angularjs
[01:52:31] <wafflej0ck> apparently lots of doc fixes
[01:52:42] *** ngbot has joined #angularjs
[01:52:42]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 1fa2d56 to d0b5bfa: http://git.io/dahvtw
[01:52:42] *** ngbot has left #angularjs
[01:52:50] *** Reskp has quit IRC
[01:53:28] *** damain has quit IRC
[01:53:29] <wafflej0ck> nairys: you get that solved just saw you had posted back?
[01:53:49] *** ngbot has joined #angularjs
[01:53:50] *** ngbot has left #angularjs
[01:54:54] *** ngbot has joined #angularjs
[01:54:54]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from c8c2386 to d3b839d: http://git.io/wiSEmQ
[01:54:54] *** ngbot has left #angularjs
[01:55:39] *** tilgovi has quit IRC
[01:55:45] <Grokling> dnull: first you have to make input fields (or maybe save your plunker?)
[01:56:02] *** mdedetrich has quit IRC
[01:56:04] *** ngbot has joined #angularjs
[01:56:05]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from d3b839d to 1472c31: http://git.io/Bj6pkA
[01:56:05] *** ngbot has left #angularjs
[01:56:21] *** kentaro0919 has joined #angularjs
[01:56:51] <dnull> Grokling Input fileds is in controller
[01:56:55] *** ngbot has joined #angularjs
[01:56:55]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 1472c31 to 7809e75: http://git.io/H-A4JA
[01:56:55] *** ngbot has left #angularjs
[01:56:57] *** crakrjak_respawn has joined #angularjs
[01:56:59] *** adamsilver has quit IRC
[01:57:03] <dnull> Grokling script.js
[01:57:49] <Grokling> Get them visible in your index.html (along with your buttons) so we can see what we're about.
[01:58:00] *** ngbot has joined #angularjs
[01:58:00]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 7809e75 to 1afeb37: http://git.io/llb-cg
[01:58:00] *** ngbot has left #angularjs
[01:58:16] *** Reskp has joined #angularjs
[01:58:36] <Grokling> dnull: don't worry about popup stuff for now.. get the principle of it working first.
[01:58:48] *** grantfunke_ has quit IRC
[01:58:56] <dnull> Grokling ok give me min
[01:58:59] *** ngbot has joined #angularjs
[01:58:59]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 1afeb37 to 5f9a112: http://git.io/BPL8fA
[01:58:59] *** ngbot has left #angularjs
[01:59:25] *** tkimmel has quit IRC
[02:00:05] *** ngbot has joined #angularjs
[02:00:05]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 5f9a112 to f4648ab: http://git.io/4ESscQ
[02:00:05] *** ngbot has left #angularjs
[02:00:29] *** Rejected has quit IRC
[02:00:37] *** drej has quit IRC
[02:00:49] *** tomzx is now known as tomzx`afk
[02:01:02] *** ngbot has joined #angularjs
[02:01:02]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from f4648ab to 846fe1b: http://git.io/6RFrWw
[02:01:03] *** ngbot has left #angularjs
[02:01:04] *** snurfery has quit IRC
[02:01:30] *** LossFor has quit IRC
[02:02:03] *** ngbot has joined #angularjs
[02:02:03]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 846fe1b to 98da7ad: http://git.io/6sPOgg
[02:02:03] *** ngbot has left #angularjs
[02:02:34] *** phzon has joined #angularjs
[02:02:56] *** ngbot has joined #angularjs
[02:02:56]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 98da7ad to a36863e: http://git.io/l9ng4A
[02:02:56] *** ngbot has left #angularjs
[02:03:11] *** hiptobecubic has joined #angularjs
[02:03:48] <Grokling> dnull: You need to pass in $scope as a parameter to your controller.
[02:03:59] *** ngbot has joined #angularjs
[02:03:59]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from a36863e to 85e8d5e: http://git.io/tVR2KA
[02:03:59] *** ngbot has left #angularjs
[02:04:35] <dnull> Grokling Yes But how to get inut field value
[02:04:39] *** LakWork has quit IRC
[02:04:50] *** deanclkclk_ has joined #angularjs
[02:04:56] *** abailarri has quit IRC
[02:05:00] <Grokling> dnull: to pass to your function you mean?
[02:05:01] *** icfantv has quit IRC
[02:05:10] <dnull> Grokling Yes
[02:05:33] <Grokling> Just duplicate what you have in the ng-model of the input.
[02:05:35] *** ngbot has joined #angularjs
[02:05:35]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 85e8d5e to 9128eac: http://git.io/GmuEzg
[02:05:35] *** ngbot has left #angularjs
[02:05:38] *** junmin_ has quit IRC
[02:06:26] *** zep-_- has joined #angularjs
[02:06:34] *** sctskw has joined #angularjs
[02:06:35] *** ngbot has joined #angularjs
[02:06:35]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 9128eac to 9f2a53b: http://git.io/6MaL9A
[02:06:35] *** ngbot has left #angularjs
[02:06:53] *** madtrax has joined #angularjs
[02:06:54] *** phzon has quit IRC
[02:06:56] *** tilgovi has joined #angularjs
[02:07:13] *** OddDuck has quit IRC
[02:07:41] *** ngbot has joined #angularjs
[02:07:41]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 9f2a53b to 7dfe82e: http://git.io/XlqSMA
[02:07:41] *** ngbot has left #angularjs
[02:07:41] *** marshall has quit IRC
[02:07:44] *** deanclkclk__ has joined #angularjs
[02:08:10] <dnull> Grokling How you mean? can you add in pluker
[02:08:33] *** ngbot has joined #angularjs
[02:08:33]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 7dfe82e to e0ee491: http://git.io/ugCgaw
[02:08:33] *** ngbot has left #angularjs
[02:09:32] *** ngbot has joined #angularjs
[02:09:32]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from e0ee491 to bff8041: http://git.io/F7WLOQ
[02:09:32] *** ngbot has left #angularjs
[02:09:33] *** zep--- has quit IRC
[02:09:54] *** Aliks has joined #angularjs
[02:09:54] <Grokling> Proof is in the console.
[02:10:04] *** rud has quit IRC
[02:10:08] *** deanclkclk_ has quit IRC
[02:10:30] *** annlewis has joined #angularjs
[02:10:37] *** ngbot has joined #angularjs
[02:10:37]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from bff8041 to d87b791: http://git.io/su9c9g
[02:10:37] *** ngbot has left #angularjs
[02:10:44] *** shinnya has quit IRC
[02:11:01] *** knownasilya has joined #angularjs
[02:11:12] *** cohitre has quit IRC
[02:11:12] *** sctskw has quit IRC
[02:11:19] *** kreigger_ has quit IRC
[02:11:25] *** BillCriswell has quit IRC
[02:11:39] *** nycdevgirl has joined #angularjs
[02:11:51] *** guiambros has quit IRC
[02:12:06] *** TrevDev has quit IRC
[02:12:17] *** kalehv has joined #angularjs
[02:12:21] *** TrevDev has joined #angularjs
[02:12:42] *** tumdedum has quit IRC
[02:13:01] *** monir has quit IRC
[02:13:12] *** cacts has quit IRC
[02:13:42] *** deanclkclk_ has joined #angularjs
[02:13:54] <dnull> Grokling It does not work
[02:14:09] *** TyrfingMjolnir has joined #angularjs
[02:14:21] <Grokling> Explain? It's working right now for me..
[02:14:52] *** deanclkclk__ has quit IRC
[02:14:55] *** annlewis has quit IRC
[02:15:08] <Grokling> dnull: What about it doesn't work?
[02:16:03] *** jonathanpglick has quit IRC
[02:16:49] *** whitebook has joined #angularjs
[02:17:10] *** Floyd_ has quit IRC
[02:17:10] *** jerev has quit IRC
[02:17:11] <dnull> Grokling Set back input values
[02:17:19] *** Reskp has quit IRC
[02:17:21] <dnull> not setting it
[02:17:32] <Grokling> dnull: That was not what you asked.
[02:17:42] *** kalehv has quit IRC
[02:17:42] <jaydubya> In this plunker I am alerting the status value before the increment and after the increment. When the initial value is 0 or 2, it works perfectly but if the initial value is 1, the increment is ignored. PLUS I need the colors to change with the increment
[02:17:44] *** tsalb has quit IRC
[02:17:44] *** Limix has quit IRC
[02:17:48] *** jonathanpglick has joined #angularjs
[02:18:42] *** jmichaelward has joined #angularjs
[02:18:54] *** moritzs has quit IRC
[02:19:02] <jaydubya> Not sure what else I can do here ... I think I read ALL of Google except the last two pages (they were in Swahili)
[02:19:17] *** klaut_ has quit IRC
[02:19:37] *** bkuberek has joined #angularjs
[02:20:00] *** robdubya has quit IRC
[02:20:09] *** jMyles has joined #angularjs
[02:20:13] *** dllama has quit IRC
[02:20:31] *** cacts has joined #angularjs
[02:20:37] *** AngularUI has joined #angularjs
[02:20:37]
<AngularUI> [ng-grid] PaulL1 opened pull request #2056: Fix #2049(columnDef): don't change user-provided column def (master...columnDefs) http://git.io/TKxmdw
[02:20:37] *** AngularUI has left #angularjs
[02:20:42] *** AciD`` has quit IRC
[02:21:22] *** benjamingr has quit IRC
[02:22:41] *** poofmooter has quit IRC
[02:23:02] *** ChadStrat has quit IRC
[02:23:24] *** {DV8} has joined #angularjs
[02:23:34] *** jheady has joined #angularjs
[02:23:53] *** bkuberek has quit IRC
[02:24:01] *** Diabolik has quit IRC
[02:24:04] *** ehalas has quit IRC
[02:24:54] *** whitebook has quit IRC
[02:24:58] *** jheady has left #angularjs
[02:25:17] *** nagappan_ has quit IRC
[02:25:19] *** crakrjak_respawn has quit IRC
[02:25:19] *** junmin has joined #angularjs
[02:26:08] *** nagappan_ has joined #angularjs
[02:26:22] *** kreiggers has joined #angularjs
[02:27:23] *** Diabolik has joined #angularjs
[02:27:32] *** JoshGlzBrk has joined #angularjs
[02:27:36] *** crakrjak_respawn has joined #angularjs
[02:28:24] *** LossFor has joined #angularjs
[02:28:48] *** kreiggers has quit IRC
[02:28:56] *** guiambros has joined #angularjs
[02:28:58] *** nycdevgirl has quit IRC
[02:29:01] *** tomzx`afk is now known as tomzx
[02:29:11] *** gnrlbzik has quit IRC
[02:29:27] *** darrin has joined #angularjs
[02:29:29] *** kreiggers has joined #angularjs
[02:29:44] *** tumdedum has joined #angularjs
[02:30:00] *** Floyd_ has joined #angularjs
[02:31:00] *** kreiggers has quit IRC
[02:31:17] <Tuxity> there is a proper way to use ng-repeat with a number ? not with a container
[02:31:28] *** motionman has joined #angularjs
[02:31:36] <Tuxity> like ng-repeat="n in [10]"
[02:31:46] *** caitp has joined #angularjs
[02:31:48] <Tuxity> from 1 to 10
[02:32:30] *** kreiggers has joined #angularjs
[02:32:42] *** bmac has joined #angularjs
[02:32:50] *** munzmania has joined #angularjs
[02:33:43] *** Marble68 has quit IRC
[02:33:57] *** drej has joined #angularjs
[02:33:57] *** artisangoose has quit IRC
[02:34:01] *** Marble68 has joined #angularjs
[02:34:01] *** angularius has joined #angularjs
[02:34:05] <angularius> Hi
[02:34:11] <Grokling> Tuxity: proper?
[02:34:21] <angularius> I am learning angularjs and I have having trouble understanding something
[02:34:27] *** baweaver has quit IRC
[02:34:53] <angularius> He has one line like this: <a href="#" id="ghsubmitbtn" ng-click="getGitInfo()">Pull User Data</a>
[02:35:16] *** darrin has quit IRC
[02:35:18] <angularius> But I'm not sure what I need to do if I want getGitInfo() to be called without the user clicking anything?
[02:35:30] <angularius> can I just called getGitInfo(); in the code?
[02:35:31] <Tuxity> not sure if it's fine to use it
[02:36:14] *** deanclkclk_ has quit IRC
[02:36:26] <Grokling> angularius: Yes, either in your controller code, or in your state resolve function.
[02:36:53] *** vlad_starkov has quit IRC
[02:36:58] *** kreiggers has quit IRC
[02:37:10] <angularius> I haven't seen anything about state resolve functions yet
[02:37:29] *** baweaver has joined #angularjs
[02:37:36] *** rburns has joined #angularjs
[02:37:49] <Grokling> yeah, don't worry about them for now if you're just starting out. Make the call in your controller.
[02:37:50] *** Skrypter has quit IRC
[02:37:56] *** Diabolik has quit IRC
[02:38:05] <angularius> Grokling: if I put it in the controller itself, how will it ever be called?
[02:38:11] <angularius> and wouldn't it become recursive?
[02:38:37] <Grokling> The controller is always run when you enter a state. It's only run the once. Until you enter the state again.
[02:38:48] <angularius> Ah ok
[02:39:14] *** ctanga has quit IRC
[02:39:20] *** vlad_starkov has joined #angularjs
[02:39:28] <angularius> so if I have $scope.getGitInfo() = function......
[02:39:42] <angularius> do I have to do $scope.getGitInfo(); to call it?
[02:39:49] *** boneskull has joined #angularjs
[02:39:51] <angularius> or is getGitInfo sufficient from inside the controller?
[02:40:16] *** tfennelly has joined #angularjs
[02:40:25] *** Floyd_ has quit IRC
[02:40:49] *** moritzs has joined #angularjs
[02:40:52] <Grokling> var getGitInfo = function(){doStuff); $scope.getGitinfo = getGitInfo;
[02:41:14] *** asher^ has quit IRC
[02:41:27] <Grokling> then you can do getGitInfo() from your controller, or as a ng-click event.
[02:41:32] <angularius> ah okay
[02:42:05] *** Diabolik has joined #angularjs
[02:42:21] *** jlambert121 has joined #angularjs
[02:43:20] <angularius> given my function is called: function GitHubCtrl($scope, $http) { ............ I am getting this error "TypeError: $scope is undefined"
[02:43:29] *** RobinBAwesome has quit IRC
[02:43:31] <angularius> Could this be because it's not coming from a click event?
[02:43:44] *** loverajoel has quit IRC
[02:44:45] *** tfennelly has quit IRC
[02:44:52] *** fairuz has joined #angularjs
[02:45:03] *** fairuz has joined #angularjs
[02:45:06] *** AngularUI has joined #angularjs
[02:45:06] <AngularUI> ng-grid/master f7d4e2b Paul Lambert: Fix #2049(columnDef): don't change user-provided column def...
[02:45:06] <AngularUI> ng-grid/master c19ffb1 Paul: Merge pull request #2056 from PaulL1/columnDefs...
[02:45:06] *** AngularUI has left #angularjs
[02:45:32] *** seriema has joined #angularjs
[02:45:55] *** ctanga has joined #angularjs
[02:45:56] <jaydubya> can i inject $http into a directive?
[02:46:11] *** g33k5z_ has joined #angularjs
[02:46:44] *** tumdedum has quit IRC
[02:46:48] *** Diabolik has quit IRC
[02:47:11] *** corehook has joined #angularjs
[02:47:17] *** jlambert121 has quit IRC
[02:47:29] *** Beatzebub has quit IRC
[02:47:56] *** dllama has joined #angularjs
[02:48:06] *** RobinBAwesome has joined #angularjs
[02:48:21] *** Reskp has joined #angularjs
[02:48:30] *** junmin_ has joined #angularjs
[02:48:54] *** crackerzNcheez has quit IRC
[02:49:35] *** faddah has quit IRC
[02:49:47] *** fairuz has left #angularjs
[02:50:03] *** qbjc has joined #angularjs
[02:50:12] *** fairuz has joined #angularjs
[02:50:13] *** junmin has quit IRC
[02:50:17] *** RedOrangeZ has quit IRC
[02:50:53] *** seriema has quit IRC
[02:50:54] *** vlcn has joined #angularjs
[02:51:00] *** faddah has joined #angularjs
[02:51:05] *** richiebkr has joined #angularjs
[02:51:07] *** EluctariLLC_ has joined #angularjs
[02:51:41] <Atbn> I'm trying to set up my controller. Tried using both $scope and $http and it keeps telling me they're undefined.
[02:51:43] *** roachiep- has joined #angularjs
[02:52:04] *** EluctariLLC has quit IRC
[02:52:05] *** MacWinner has quit IRC
[02:52:05] *** medice has joined #angularjs
[02:52:13] <fairuz> Atbn: Did you put them as your controller's dependencies?
[02:52:29] *** Reskp has quit IRC
[02:52:48] <Atbn> .controller('View1Ctrl', [function($scope) { $scope.songs = [
[02:53:02] <Atbn> where would I add them as dependencies?
[02:53:10] <Atbn> I tried using inject for $http
[02:53:13] *** alexw has quit IRC
[02:53:32] <qbjc> It's already added, but if you're using [ array notation... you should add '$scope' as an element of the array before the function
[02:53:39] <fairuz> .controller('View1Ctrl', ['$scope', function($scope){ ... }])
[02:53:41] <fairuz> something like this
[02:53:46] <qbjc> like that yeah ^
[02:53:58] <angularius> [09:51] <Atbn> I'm trying to set up my controller. Tried using both $scope and $http and it keeps telling me they're undefined.
[02:53:58] <angularius> me too
[02:54:07] *** roachiepoopoo has quit IRC
[02:54:12] *** richburke__ has joined #angularjs
[02:54:25] <fairuz> If you will not minify your js, .controller('View1Ctrl', function($scope){ ... }) is enough
[02:54:31] *** marktraceur has quit IRC
[02:54:37] <angularius> fairuz: where do I put that?
[02:54:38] <fairuz> note there's no more array in the latter
[02:54:40] *** marktrac1ur has joined #angularjs
[02:54:51] *** Fifty5Plus_ has joined #angularjs
[02:54:58] <fairuz> angularius: Anywhere :)
[02:55:05] <fairuz> As long as you attach it to your module
[02:55:07] <angularius> I don't see any reference to that scope bit
[02:55:23] *** jeffw198_____ has joined #angularjs
[02:55:24] <fairuz> function GitHubCtrl($scope, $http) {
[02:55:25] *** Beatzebub has joined #angularjs
[02:55:30] *** kimiamania has joined #angularjs
[02:55:33] *** kimiamania is now known as Guest52874
[02:55:35] *** richiebkr has quit IRC
[02:55:39] <angularius> yeah
[02:55:42] <Atbn> now I get Error: [$injector:unpr] Unknown provider: $scopeProvider <- $scope
[02:55:48] *** baweaver has quit IRC
[02:55:53] <angularius> fairuz: i have that but it says $scope is not defined
[02:56:03] <angularius> "TypeError: $scope is undefined"
[02:56:04] <Atbn> I changed it to .controller('View1Ctrl', ['$scope', function($scope) { $scope.songs = [ {'name': 'Nexus S',
[02:56:13] *** Immutef_ has joined #angularjs
[02:56:17] <fairuz> Atbn: Did you attach this controller to your module?
[02:56:18] *** Medice2 has quit IRC
[02:56:18] *** iamstef_ has joined #angularjs
[02:56:19] *** bmac has quit IRC
[02:56:20] *** Guest63027 has quit IRC
[02:56:20] *** richburke_ has quit IRC
[02:56:21] *** jeffw198____ has quit IRC
[02:56:21] *** Akufen has quit IRC
[02:56:22] *** cebor has quit IRC
[02:56:22] *** joshfinnie has quit IRC
[02:56:23] *** Immutef has quit IRC
[02:56:24] *** iamstef has quit IRC
[02:56:24] *** paolo has quit IRC
[02:56:24] *** jbub has quit IRC
[02:56:25] *** Fifty5Plus has quit IRC
[02:56:25] *** renstrm has quit IRC
[02:56:26] *** richburke__ is now known as richburke_
[02:56:27] *** themime has joined #angularjs
[02:56:35] *** zzing_ has joined #angularjs
[02:56:37] *** baweaver has joined #angularjs
[02:56:47] *** iamstef_ is now known as iamstef
[02:56:50] *** jeffw198_____ is now known as jeffw198____
[02:56:50] *** CaShY has quit IRC
[02:56:52] *** Immutef_ is now known as Immutef
[02:56:58] *** ryst has quit IRC
[02:57:08] *** ome has quit IRC
[02:57:08] *** BahamutWC|Work has quit IRC
[02:57:08] *** balr0g has quit IRC
[02:57:11] *** Akufen has joined #angularjs
[02:57:15] *** BahamutWC|Work_ has joined #angularjs
[02:57:17] *** ETBlue has quit IRC
[02:57:17] *** DANtheBEASTman has quit IRC
[02:57:23] *** ikanobori__ has joined #angularjs
[02:57:24] *** bobbyd918 has quit IRC
[02:57:24] *** ikanobori_ has quit IRC
[02:57:24] *** TBSliver has quit IRC
[02:57:24] *** naiyte has quit IRC
[02:57:25] *** phishy has quit IRC
[02:57:25] *** ikevin_ has quit IRC
[02:57:25] *** jumpman has quit IRC
[02:57:30] *** TBSliver has joined #angularjs
[02:57:34] *** pxz has quit IRC
[02:57:34] *** gweedo767 has quit IRC
[02:57:35] *** wookiehangover has quit IRC
[02:57:35] *** hkeide_ has quit IRC
[02:57:36] *** lif has quit IRC
[02:57:46] <angularius> wow, what just happened
[02:57:47] *** RobinBAwesome has quit IRC
[02:58:01] *** renstrm has joined #angularjs
[02:58:03] *** nesquerra has joined #angularjs
[02:58:08] *** shennyg____ has quit IRC
[02:58:29] *** lif has joined #angularjs
[02:58:41] *** zzing has quit IRC
[02:58:42] *** VeggieMeat has quit IRC
[02:58:44] <Atbn> fairuz: at the beginning it has:
[02:58:49] *** joshfinnie has joined #angularjs
[02:58:49] *** VeggieMeat has joined #angularjs
[02:58:53] *** cebor has joined #angularjs
[02:58:56] <Atbn> angular.module('myApp.view1', ['ngRoute'])
[02:58:57] *** ikevin has joined #angularjs
[02:59:12] *** gnrlbzik has joined #angularjs
[02:59:14] *** bobbyd918 has joined #angularjs
[02:59:14] *** balr0g has joined #angularjs
[02:59:16] *** beloculus has quit IRC
[02:59:25] <Atbn> I'm using the angular seed project on github
[02:59:27] *** gweedo767 has joined #angularjs
[02:59:29] *** ETBlue has joined #angularjs
[02:59:32] *** evan_e has joined #angularjs
[02:59:33] *** phishy_ has joined #angularjs
[02:59:38] *** evan_e has quit IRC
[02:59:39] *** hkeide_ has joined #angularjs
[02:59:44] <Atbn> So the tests pass, until I add content to the controller
[03:00:03] *** shennyg____ has joined #angularjs
[03:00:19] *** nemothekid has quit IRC
[03:00:21] *** RobinBAwesome has joined #angularjs
[03:00:27] *** iffraff has quit IRC
[03:00:55] *** wookiehangover has joined #angularjs
[03:01:00] *** _ritchie_ has quit IRC
[03:01:01] <jaydubya> can you paste your controller, Atbn?
[03:01:10] *** ome has joined #angularjs
[03:01:24] <Atbn> 'use strict'; angular.module('myApp.view1', ['ngRoute']) .config(['$routeProvider', function($routeProvider) { $routeProvider.when('/view1', { templateUrl: 'view1/view1.html', controller: 'View1Ctrl' }); }]) .controller('View1Ctrl', [function($scope) { $scope.songs = [ {'name': 'Nexus S', 'snippet': 'Fast just got faster with Nexus S.'}, {'name': 'Motorola XOOM™ with Wi-Fi', 'snippet': 'The Next
[03:01:43] *** baweaver has quit IRC
[03:01:51] *** CaShY has joined #angularjs
[03:02:24] *** whitebook has joined #angularjs
[03:02:39] *** brettfrable has joined #angularjs
[03:02:39] *** snurfery has joined #angularjs
[03:02:43] <fairuz> Use any paste service please :(
[03:02:48] <fairuz> Hard to read
[03:03:17] *** RobinBAwesome has quit IRC
[03:03:49] *** Hackster has quit IRC
[03:04:13] *** Fishy has joined #angularjs
[03:04:21] <fairuz> .controller('View1Ctrl', [function($scope)
[03:04:24] *** tumdedum has joined #angularjs
[03:04:25] <fairuz> omit the array notation
[03:04:30] <fairuz> .controller('View1Ctrl', function($scope)
[03:04:47] <fairuz> don't forget the closing ]
[03:04:48] *** pxz has joined #angularjs
[03:04:56] *** DANtheBEASTman has joined #angularjs
[03:05:05] <Atbn> sorry, new to this
[03:05:09] <fairuz> ^^^
[03:05:15] <fairuz> omit the [ ... ]
[03:05:40] *** bp898989 has joined #angularjs
[03:05:40] *** Aerospark has joined #angularjs
[03:05:46] <fairuz> at one point, everyone is new to this. So don't worry :)
[03:05:50] *** flyingducks has joined #angularjs
[03:06:05] <Atbn> omit the array around the function, or the scope?
[03:06:16] <fairuz> function
[03:06:19] *** jbub has joined #angularjs
[03:07:09] *** jmichaelward has quit IRC
[03:07:14] <Atbn> Error: [$injector:unpr] Unknown provider: $scopeProvider <- $scope
[03:07:52] *** Floyd_ has joined #angularjs
[03:07:54] *** rchavik has joined #angularjs
[03:08:28] *** gnrlbzik has quit IRC
[03:08:51] *** jonathanpglick has quit IRC
[03:08:53] *** Max has joined #angularjs
[03:09:17] *** Max is now known as Guest52635
[03:09:32] *** sojic has quit IRC
[03:10:11] *** monir has joined #angularjs
[03:10:18] *** brian has joined #angularjs
[03:10:21] *** TheAceOfHearts has quit IRC
[03:10:23] <lebster> is there a common way to return data from a service to a controller. Like if i make a service or factory to save an object via http, do i handle the response in the service? and return a response object or something. Or do i handle it in the controller?
[03:10:24] *** Guest52635 has quit IRC
[03:10:36] *** mjs2600 has quit IRC
[03:10:36] *** bgerami has quit IRC
[03:10:37] *** sukanta has quit IRC
[03:10:38] *** sukanta_ has joined #angularjs
[03:10:42] *** brian is now known as Guest46263
[03:11:02] *** ryst has joined #angularjs
[03:11:06] *** patrickarlt has quit IRC
[03:11:25] *** Diabolik has joined #angularjs
[03:11:52] *** alexw has joined #angularjs
[03:12:08] <angularius> Now it's saying: ReferenceError: angular is not defined
[03:12:15] <angularius> when I add var app = angular.module('application', []);
[03:12:51] <angularius> app.controller('GitHubCtrl', ['$scope', function($scope) {}]);
[03:12:54] *** Floyd_ has quit IRC
[03:12:57] *** drej has quit IRC
[03:13:01] *** kalehv has joined #angularjs
[03:14:18] *** Floyd_ has joined #angularjs
[03:14:19] *** jshultz has quit IRC
[03:14:55] *** frem has quit IRC
[03:15:11] <fairuz> Atbn:
[03:15:23] <fairuz> It's running fine
[03:15:34] *** dc_ has joined #angularjs
[03:16:49] <fairuz> lebster: They did get the player from a factory
[03:17:00] *** sacho_ has quit IRC
[03:17:12] <fairuz> angularius: maybe you take a look at the link that I shared with Atbn. It might give you some idea
[03:17:21] *** doug64k has joined #angularjs
[03:17:35] *** sacho_ has joined #angularjs
[03:17:35] *** wallerdev has quit IRC
[03:17:47] *** kalehv has quit IRC
[03:18:05] <angularius> is "<script data-require="angular.js@*" data-semver="1.3.1" src="//code.angularjs.org/1.3.1/angular.js"></script>" essential?
[03:18:30] <fairuz> angularius: It's ok. You can import angular anyway you like
[03:18:48] *** whitebook has quit IRC
[03:18:55] <fairuz> But Why use 1.0.8? It's old?
[03:19:05] <fairuz> Latest is 1.3.2
[03:19:12] *** corehook has quit IRC
[03:19:22] <fairuz> 1.0.8 is about 2-3 years ago
[03:19:53]
<Atbn> fairuz: ok, added the controller to the view :) now the list works, but the spec is still failing. It seems like a really general spec, just asking for the controller to be defined. http://paste.lisp.org/+33DC/2
[03:19:57] <lebster> fairuz: yeah but what if you wanted to save a player, do you put a save player function in there? I dont see how that would be good. say you had 200 players and wanted to save them all, you would hit that api call 200x?
[03:20:04] *** dc_ has quit IRC
[03:20:16] *** tfennelly has joined #angularjs
[03:20:43] *** discgo has quit IRC
[03:20:57] *** markwu has joined #angularjs
[03:21:27] <fairuz> Atbn: Is this for unit test?
[03:21:30] *** marcjs has quit IRC
[03:21:36] <fairuz> or the test is failing
[03:21:48] *** markwu has quit IRC
[03:21:51] *** whitebook has joined #angularjs
[03:22:40] *** MalteJ has quit IRC
[03:22:54] <Atbn> the unit test is failing. The view is showing up fine.
[03:23:00] *** markwu has joined #angularjs
[03:23:32] *** naiyte has joined #angularjs
[03:23:35] *** adpirz has joined #angularjs
[03:23:42] <angularius> fairuz: ok I think I am getting somewhere now
[03:23:47] <angularius> it's just complaining about $http now
[03:23:52] <angularius> do I need to inject that?
[03:23:57] *** mclenithan has quit IRC
[03:24:37] *** bostonaholic has quit IRC
[03:24:50] <jaydubya> angularius: yes, inject it
[03:25:01] *** tfennelly has quit IRC
[03:25:16] <angularius> how do I do that?
[03:25:37] *** fourq has joined #angularjs
[03:25:37] <jaydubya> ['$scope', '$http', function($scope, $http){
[03:25:45] *** annlewis has joined #angularjs
[03:25:46] <woebtz> Hi, I'm trying to set the content-type of an $http POST request. Is there a way to override the content-type header of an individual $http request? The endpoint is expecting application/json, but no content-type appears to be applied, so it is being treated as text/html. I'm also not seeing any header getting applied despite adding a header: {content-type: '...'} to the request object.
[03:25:57] <angularius> does $http have default behaviour?
[03:26:01] <angularius> or do I need to write it myself
[03:26:24] <jaydubya> $http.get() and $http.post() is usually enough
[03:26:41] <lebster> fairuz: wouldnt it be better to have a service that takes care of saving a player, getting a player, getting a list of players, returning a new instance of a player?
[03:26:48] *** kalehv has joined #angularjs
[03:26:59] <angularius> I need to write .get and .post myself?
[03:27:11] <jaydubya> no
[03:27:22] *** hecatonicosachor has joined #angularjs
[03:27:44] *** mspier is now known as mspier|away
[03:28:07] <angularius> "$http is just one of several built-in Angular services that handle common operations in web apps. Angular injects these services for you where you need them."
[03:28:18] <angularius> why doesn't it pick this up automatically then?
[03:28:37] *** adpirz has quit IRC
[03:29:04] <angularius> ah never mind
[03:29:05] <angularius> I see now
[03:29:29] *** marktrac1ur is now known as marktraceur
[03:29:34] *** AR45 has quit IRC
[03:29:49] *** markwu has quit IRC
[03:29:53] *** Milkweed has quit IRC
[03:30:03] *** annlewis has quit IRC
[03:30:30] *** scythe__ has quit IRC
[03:30:40] *** josh-k has joined #angularjs
[03:30:48] *** sacho_ has quit IRC
[03:30:49] *** cliluw has quit IRC
[03:31:21] *** frkout_ has joined #angularjs
[03:31:22] *** cliluw has joined #angularjs
[03:31:30] *** nemothekid has joined #angularjs
[03:31:57] <angularius> its working now
[03:31:58] <angularius> thank you
[03:32:05] <jaydubya> cool
[03:32:44] *** nemothekid has quit IRC
[03:33:08] *** flyingducks has quit IRC
[03:33:09] *** Guest46263 has quit IRC
[03:33:29] *** zzing_ has quit IRC
[03:33:32] *** mikehaas763 has joined #angularjs
[03:33:50] <Atbn> fairuz: no ideas on the unit test?
[03:34:14] *** nemothekid has joined #angularjs
[03:34:15] *** rburns has quit IRC
[03:34:41] *** frkout has quit IRC
[03:34:44] *** rburns has joined #angularjs
[03:35:09] *** nya has quit IRC
[03:35:09] *** marshall has joined #angularjs
[03:35:40] *** devinandrews has quit IRC
[03:35:53] *** livingstn has quit IRC
[03:36:02] *** jonr22 has joined #angularjs
[03:36:15] *** TheAceOfHearts has joined #angularjs
[03:36:45] *** Shilon has joined #angularjs
[03:38:41] *** kuadrosx_ has joined #angularjs
[03:38:43] *** ChadStrat has joined #angularjs
[03:39:49] *** fairuz has left #angularjs
[03:40:34] *** zzing has joined #angularjs
[03:41:08] *** Limix has joined #angularjs
[03:41:17] *** kuadrosx has quit IRC
[03:42:13] *** JoshGlzBrk has quit IRC
[03:42:45] *** flyingducks has joined #angularjs
[03:43:28] *** monir has quit IRC
[03:44:51] *** sacho_ has joined #angularjs
[03:45:43] *** moritzs has quit IRC
[03:45:51] *** frop_ has joined #angularjs
[03:46:06] <woebtz> FYI, to update the content-type header to the request, it'll only get applied if you specify some data... so I'm just passing data: {}
[03:46:43] *** seriema has joined #angularjs
[03:47:01] <frop_> Hello
[03:47:26] *** Fire-Dragon-DoL has quit IRC
[03:48:00] *** tkimmel has joined #angularjs
[03:48:36] *** hecatonicosachor has quit IRC
[03:49:16] <frop_> I have a question about routing:
[03:49:18] *** Reskp has joined #angularjs
[03:49:51] <frop_> How come loading a route directly from the browser doesn't load the template, but going to it from the app works just fine?
[03:50:09] *** doginal has joined #angularjs
[03:50:19] <frop_> I'm talking about a url like localhost:8000/#/sentence/300 not an HTML5 url.
[03:50:59] *** RobinBAwesome has joined #angularjs
[03:51:32] *** boneskull has quit IRC
[03:52:03] *** seriema has quit IRC
[03:52:03] *** marshall has quit IRC
[03:52:28] *** tkimmel has quit IRC
[03:52:33] *** frkout_ has quit IRC
[03:52:43] *** RobinBAwesome has quit IRC
[03:52:54]
<wafflej0ck> anyone got some old versions of IE or some way they can test this http://jsfiddle.net/uto5cb00/ just want to see if this works in IE
[03:53:00] *** frkout has joined #angularjs
[03:53:14] *** jlambert121 has joined #angularjs
[03:53:23] *** Reskp has quit IRC
[03:53:27] *** boneskull has joined #angularjs
[03:53:46] *** technickul has joined #angularjs
[03:53:52] *** nairys has quit IRC
[03:54:14] <TheAceOfHearts> sure
[03:54:18] <wafflej0ck> might just sign up for browserling anyone got opinions on the testing sites available
[03:54:25] <TheAceOfHearts> oh
[03:54:28] <wafflej0ck> seems to work in IE9 there
[03:54:29] <TheAceOfHearts> never mind, I was scrolled up
[03:54:55] *** naneau has quit IRC
[03:54:57] *** livingstn has joined #angularjs
[03:55:03] <TheAceOfHearts> I dropped support for IE9 just cuz ui-router would fuck up lol
[03:55:21] *** kuadrosx_ is now known as kuadrosx
[03:56:20] <wafflej0ck> heh yeah I don't normally worry about it but trying to make a re-usable component for the "holy grail" layout and not sure how else to get the style information from the stylesheet without something like this
[03:56:37] <wafflej0ck> trying to avoid needing to specify the style info in the HTML or JS objects
[03:57:02] <wafflej0ck> suppose IE9 is good enough though
[03:58:49] *** jMyles has quit IRC
[03:59:25] *** AngularUI has joined #angularjs
[03:59:26] <AngularUI> ng-grid/master fc1eac7 novice3030: RTL support for column resize feature
[03:59:26] <AngularUI> ng-grid/master 944db59 Paul: Merge pull request #2054 from novice3030/master...
[03:59:26] *** AngularUI has left #angularjs
[04:00:29] *** josh-k has quit IRC
[04:00:39] *** thepro4ever has joined #angularjs
[04:00:46] *** munzmania has quit IRC
[04:00:55] *** thepro4ever has left #angularjs
[04:01:41] *** Cache_Money has joined #angularjs
[04:02:54] *** bmac has joined #angularjs
[04:03:09] *** doug16k has joined #angularjs
[04:03:27] *** jonr22 has quit IRC
[04:03:56] *** flyingducks has quit IRC
[04:04:13] *** snurfery has quit IRC
[04:04:44] *** doug64k has quit IRC
[04:04:53] <jaydubya> wafflej0ck: can you look at a directive for me?
[04:05:14] *** Greed has quit IRC
[04:05:21] *** mikehaas763 has quit IRC
[04:05:35] <wafflej0ck> jaydubya: sure been staring at this thing for a few hours could take a quick break from it
[04:05:54] *** jonr22 has joined #angularjs
[04:06:12] <jaydubya> I am alerting the value of status before and after the increment.
[04:06:23] *** patric100e99 has joined #angularjs
[04:06:30] *** dnewkerk has quit IRC
[04:06:51] <jaydubya> if the original value is 0 or 2, the increment works. But if it is 1, it doesn't change and it's the same damn code
[04:07:36] <jaydubya> sorry, I am fighting with the scope.progClicked method
[04:07:39] *** jmichaelward has joined #angularjs
[04:08:06] *** whitebook has quit IRC
[04:09:28] <wafflej0ck> jaydubya: is line 94 correct?
[04:09:38] <wafflej0ck> jaydubya: setting it back to 1 there
[04:09:47] <jaydubya> yes
[04:09:52] *** woebtz has quit IRC
[04:10:10] *** kalehv has quit IRC
[04:10:34] <jaydubya> if 0, 1; if 1, 2; and if 2, 1
[04:11:07] *** patric100e99 has quit IRC
[04:11:26] *** Z3R0_Home has joined #angularjs
[04:11:56] *** munzmania has joined #angularjs
[04:12:29] *** nya has joined #angularjs
[04:12:46] *** jmichaelward has quit IRC
[04:13:11] *** AngularUI has joined #angularjs
[04:13:11]
<AngularUI> [ui-router] christopherthielen pushed 2 new commits to master: http://git.io/TjfNhQ
[04:13:11] <AngularUI> ui-router/master 872d085 christopherthielen: chore($urlMatcherFactory): refactor UrlMatcher.concat
[04:13:11] <AngularUI> ui-router/master 9136fec christopherthielen: fix($urlMatcherFactory): fixed ParamSet.$$keys() ordering...
[04:13:11] *** AngularUI has left #angularjs
[04:13:18] *** whunt has quit IRC
[04:14:04] <jaydubya> ctanga is working!
[04:14:20] <ctanga> ay
[04:15:27] <jaydubya> ctanga, you are christophertheilen, aren't you?
[04:16:20] *** KernelCurry has quit IRC
[04:16:45] *** damain has joined #angularjs
[04:16:55] <ctanga> yes
[04:17:10] *** jonr22 has quit IRC
[04:17:26] <jaydubya> ok, I'll check it out
[04:17:41] *** cakirke has quit IRC
[04:19:00] *** sctskw has joined #angularjs
[04:19:22] *** thedodd has joined #angularjs
[04:19:42] *** fraenzn has joined #angularjs
[04:21:27] *** gnrlbzik has joined #angularjs
[04:21:39] *** frop_ has quit IRC
[04:21:47] *** Hackwar1 has joined #angularjs
[04:22:19] *** annlewis has joined #angularjs
[04:22:28] <jaydubya> weellllll, I read it twice
[04:22:59] *** Hackwar has quit IRC
[04:23:03] *** snurfery has joined #angularjs
[04:24:48] *** bmac has quit IRC
[04:25:12] *** ctanga has quit IRC
[04:25:17] *** Aliks has quit IRC
[04:26:13] *** jonr22 has joined #angularjs
[04:27:09] *** kalehv has joined #angularjs
[04:27:16] *** Fifty5Plus_ has quit IRC
[04:27:28] *** Fifty5Plus has joined #angularjs
[04:28:08] *** JoshGlzBrk has joined #angularjs
[04:28:31] *** AR45 has joined #angularjs
[04:28:38] *** Oddman has quit IRC
[04:29:45] *** shampine has joined #angularjs
[04:30:17] *** Asiajey has quit IRC
[04:30:24] *** vectra has quit IRC
[04:30:29] *** garbanzio has quit IRC
[04:30:36] *** rtpg has quit IRC
[04:30:39] <wafflej0ck> wow turns out IEs element.currentStyle gets the cascaded style which is really what I would want
[04:30:45] *** bp898989 has quit IRC
[04:30:55] <wafflej0ck> this is a historic moment where IE would actually make things easier for me
[04:31:06] <snurfery> don't jinx it
[04:31:09] <wafflej0ck> unfortunately doesn't work cross browsers
[04:31:49] <wafflej0ck> sucks how complicated figuring out which style gets applied actually is
[04:31:49] *** Greed has joined #angularjs
[04:32:06] *** boneskull has quit IRC
[04:32:10] *** Nizumzen has joined #angularjs
[04:32:25] *** marcjs has joined #angularjs
[04:32:26] *** boneskull has joined #angularjs
[04:32:54] <wafflej0ck> I can find the class in the stylesheet declarations but more specific CSS rules or inline styles would botch the reliability of that info if I just use it itself
[04:33:23] *** LakWork has joined #angularjs
[04:33:37] <LakWork> what's the correct way to define a directive that inherits parent scope but also defines local values based off an attribute?
[04:33:49] <LakWork> i.e. scope: true and scope.foo = attrs.foo
[04:34:08] *** oncenull has quit IRC
[04:34:12] *** DV8_ has joined #angularjs
[04:34:31] <LakWork> i'm trying to decomplicate an ng-repeat body by moving it entirely into a directive, but it still needs to access the parent
[04:34:33] *** oncenull has joined #angularjs
[04:34:35] <wafflej0ck> maybe I should make a fake element that has the class applied then check it's computed style... think it might need to be added in a "offscreen buffer" of sorts to get it to compute the style though... uggg
[04:34:59] *** oncenull has quit IRC
[04:35:03] *** munzmania has quit IRC
[04:35:21] *** Fishy has quit IRC
[04:35:34] *** oncenull has joined #angularjs
[04:36:11] *** bostonaholic has joined #angularjs
[04:37:01] *** marcjs has quit IRC
[04:37:27] <wafflej0ck> as is I'm stepping through the stylesheets and checking if they have some property defined I'm interested in and it's going through them from the last stylesheet to the first which works if the CSS stays pretty simple.... eh well gonna assume that's the case and just mention it in a README I guess
[04:37:30] *** {DV8} has quit IRC
[04:38:04] *** Sontakey has quit IRC
[04:38:06] *** munzmania has joined #angularjs
[04:38:11] *** Nijikokun has quit IRC
[04:38:53] *** MistahKurtz has quit IRC
[04:39:05] *** whitebook has joined #angularjs
[04:39:20] *** SomeKittens has joined #angularjs
[04:40:11] *** oncenull has quit IRC
[04:42:33] *** soomro786 has joined #angularjs
[04:43:22] *** devinandrews has joined #angularjs
[04:43:39] <soomro786> guys for some reason when im doing this <div data-ng-include="'/modules/core/views/header-main.client.view.html'" id="header"></div> it gets compiled to <!-- ngInclude: '/modules/core/views/header-main.client.view.html' --> and the file is there so it knows its there but for some reason idk why its commenting it and why the ng-include isnt working
[04:43:39] <soomro786> :/
[04:43:47] *** oncenull has joined #angularjs
[04:44:01] *** bkuberek has joined #angularjs
[04:44:36] *** Leonel has joined #angularjs
[04:44:52] <Leonel> Hello, Angular!
[04:44:55] *** davesidious__ has joined #angularjs
[04:46:34] <wafflej0ck> soomro786: anything in the network panel?
[04:46:40] *** Leonel has quit IRC
[04:47:26] *** bengillies has joined #angularjs
[04:47:49] *** whitebook has quit IRC
[04:47:50] *** seriema has joined #angularjs
[04:47:52] <soomro786> oh yeah
[04:47:53] *** bkuberek_ has joined #angularjs
[04:47:55] <soomro786> 404
[04:48:26] *** davesidious_ has quit IRC
[04:49:05] *** nycdevgirl has joined #angularjs
[04:49:17] *** bkuberek has quit IRC
[04:49:22] <soomro786> got it
[04:49:56] *** Reskp has joined #angularjs
[04:50:05] *** JoshGlzBrk has quit IRC
[04:50:21] *** bkuberek_ has quit IRC
[04:51:45] *** woah has quit IRC
[04:51:51] *** Shilon has quit IRC
[04:51:58] *** bengillies has quit IRC
[04:52:22] *** nya has quit IRC
[04:52:49] *** nya has joined #angularjs
[04:53:26] *** seriema has quit IRC
[04:53:59] *** woah has joined #angularjs
[04:54:08] *** nya has quit IRC
[04:54:36] *** nya has joined #angularjs
[04:54:40] *** kentcdodds has joined #angularjs
[04:54:44] <soomro786> in my login function im trying to have it forward after success and that works but when that happens i want a scope to trigger true in the view so im doing this in my controller, $scope.authentication.user = response.user; and then $location.path('/'); then at that path i have a view that takes the scope authentication.user
[04:54:44] <soomro786> and if its true its supposed to show but its not working =/
[04:54:45] *** Reskp has quit IRC
[04:55:07] *** nya has quit IRC
[04:55:13] *** nya has joined #angularjs
[04:55:46] *** soomro786 has quit IRC
[04:56:00] *** soomro786 has joined #angularjs
[04:56:16] <soomro786> and $scope.authentication.user does indeed have a value in it
[04:57:19] <soomro786> in my view i have this: data-ng-show="authentication.user" to trigger the view
[04:57:58] *** marshall has joined #angularjs
[04:59:12] *** et__ has joined #angularjs
[05:00:37] *** et__ has quit IRC
[05:02:34] *** brettfrable has quit IRC
[05:03:06] *** marshall has quit IRC
[05:04:36] *** monir has joined #angularjs
[05:05:05] *** angularius has quit IRC
[05:05:45] *** Z3R0_Home has quit IRC
[05:06:54] *** kuadrosx has quit IRC
[05:07:41] *** jonr22 has quit IRC
[05:07:54] *** bootsWitDaFur has joined #angularjs
[05:09:01] *** munzmania has quit IRC
[05:10:25] *** jonr22 has joined #angularjs
[05:10:57] *** Left_Turn has quit IRC
[05:11:01] <snurfery> soomro786: if you changed the $location, does that mean you went to a new view with a new controller?
[05:11:52] <soomro786> yeah
[05:12:10] <snurfery> maybe you're better off attaching authentication.user to $rootScope instead of $scope
[05:12:13] *** kirfu has joined #angularjs
[05:12:18] <soomro786> right
[05:12:20] <soomro786> ill try that
[05:12:31] <soomro786> wouldnt have to change the view right?
[05:12:34] *** adpirz has joined #angularjs
[05:12:41] <soomro786> just the login logic to $rootScope instead of just scope
[05:13:28] <snurfery> $rootScope.authentication.user = response.user or whatever
[05:14:30] *** patrickarlt has joined #angularjs
[05:14:35] *** zanea is now known as zanea|away
[05:15:13] *** livingstn has quit IRC
[05:15:17] *** _ritchie_ has joined #angularjs
[05:16:06] *** jonr22 has quit IRC
[05:16:40] *** jonr22 has joined #angularjs
[05:16:41] *** rburns has quit IRC
[05:16:53] *** dc_ has joined #angularjs
[05:17:03] *** rburns has joined #angularjs
[05:17:04] *** gnrlbzik has quit IRC
[05:17:09] *** adpirz has quit IRC
[05:20:03] *** poolside has quit IRC
[05:20:23] *** DV8_ has quit IRC
[05:20:45] *** bootsWitDaFur has quit IRC
[05:21:09] *** bootsWitDaFur has joined #angularjs
[05:21:12] *** jonr22 has quit IRC
[05:21:13] *** bootsWitDaFur has quit IRC
[05:21:26] *** dc_ has quit IRC
[05:21:32] *** bootsWitDaFur has joined #angularjs
[05:21:59] *** bootsWitDaFur has joined #angularjs
[05:22:26] *** bootsWitDaFur has joined #angularjs
[05:22:51] *** samuel02 has joined #angularjs
[05:23:06] *** numenor has joined #angularjs
[05:23:53] *** rtpg has joined #angularjs
[05:25:31] *** Sontakey has joined #angularjs
[05:25:32] *** LossFor has quit IRC
[05:25:49] *** soomro786 has quit IRC
[05:26:04] *** soomro786 has joined #angularjs
[05:27:29] *** samuel02 has quit IRC
[05:27:44] *** kuadrosx has joined #angularjs
[05:27:52] *** Bharath has joined #angularjs
[05:28:27] <Bharath> how to Glyphicons in angular
[05:28:37] <Bharath> are used
[05:28:44] *** soomro786 has quit IRC
[05:29:00] *** soomro786 has joined #angularjs
[05:29:23] *** tumdedum has quit IRC
[05:29:42] *** zoeycakes has joined #angularjs
[05:29:46] *** patrickarlt has quit IRC
[05:29:54] *** tumdedum has joined #angularjs
[05:30:03] *** tumdedum has joined #angularjs
[05:30:49] *** soomro786 has quit IRC
[05:30:54] *** g33k5z_ has quit IRC
[05:31:00] *** soomro786 has joined #angularjs
[05:31:28] *** bharath_ has joined #angularjs
[05:31:45] *** kirfu has quit IRC
[05:31:52] *** soomro786 has quit IRC
[05:32:07] *** soomro786 has joined #angularjs
[05:32:55] *** Bharath has quit IRC
[05:32:58] *** soomro786 has quit IRC
[05:33:02] *** angularius has joined #angularjs
[05:33:09] *** soomro786 has joined #angularjs
[05:33:28] <angularius> Hi.... I have a div that's ng-show="peopleExist"
[05:33:41] <angularius> also with ng-repeat="person in people"
[05:33:58] <angularius> each person has an items property
[05:34:20] *** ehalas3 has joined #angularjs
[05:34:23] <angularius> there's a: ul ng-repeat="item in person.items"
[05:34:25] *** deanclkclk_ has joined #angularjs
[05:34:38] <angularius> how can i NOT show that ul, if person.items is empty
[05:34:45] <angularius> I have a person.hasItems property as well
[05:34:49] *** nesquerra has quit IRC
[05:34:51] *** informant has joined #angularjs
[05:34:52] <angularius> please tell me what i am doing wrong
[05:35:14] <snurfery> <ul ng-show="person.items.length>
[05:35:15] <oniijin> ngif
[05:35:19] <oniijin> or that
[05:35:25] <snurfery> sup oniijin
[05:35:30] <oniijin> howdy snurf
[05:35:39] <oniijin> feelin shitty
[05:35:43] *** bharath_ has quit IRC
[05:35:46] *** ChadStrat has quit IRC
[05:35:56] *** nesquerra has joined #angularjs
[05:36:41] *** doginal has quit IRC
[05:36:52] *** grantfunke_ has joined #angularjs
[05:37:05] *** ajax_ has joined #angularjs
[05:37:13] <ajax_> Hi there
[05:37:41] *** caitp has quit IRC
[05:37:44] <ajax_> somebody has an idea how to fix a proble with styles and ng-route???
[05:37:55] *** munzmania has joined #angularjs
[05:38:13] *** kuadrosx has quit IRC
[05:38:22] <ajax_> the areas outside of the visible viewport dont get styles
[05:38:34] *** caitp has joined #angularjs
[05:38:48] *** deanclkclk_ has quit IRC
[05:39:22] *** rburns has quit IRC
[05:39:56] *** brian_ has joined #angularjs
[05:40:01] *** alexw has quit IRC
[05:40:22] *** kentcdodds has quit IRC
[05:40:28] *** rburns has joined #angularjs
[05:40:33] *** shampine has quit IRC
[05:40:38] *** scythe__ has joined #angularjs
[05:40:55] *** ProLoser has joined #angularjs
[05:41:56] *** shampine has joined #angularjs
[05:42:41] *** LakWork has quit IRC
[05:42:45] *** robk has joined #angularjs
[05:44:14] <robk> is it possible to get an scope-isolated directive to communicate back to a controller? I essentially tried to make a simple directive which would be capable of having multiple jquery ui datepickers, but it refused to update only a single ng-model, so I had to isolate the scope w/ it's own template, but now I'm having a hard time re-communicating back information into the directive.
[05:45:15] <robk> I'd bind jquery.datepicker to several text boxes and once I update any box, it would update every box w/ the same information. Very frustrating.
[05:46:23] *** Marble68 has quit IRC
[05:46:23] <caitp> what do you mean communicate
[05:46:41] *** jerev has joined #angularjs
[05:46:41] *** jerev has joined #angularjs
[05:47:08] *** michaelchum_ has joined #angularjs
[05:47:12] *** dnewkerk has joined #angularjs
[05:47:17] *** alexw has joined #angularjs
[05:47:23] *** doginal has joined #angularjs
[05:47:26] *** nesquerra has quit IRC
[05:47:29] <caitp> if you have a scope variable like `scopeName: "="`, then changes to $scope.scopeName within the directive can be applied to a property in the parent scope, which is nice
[05:48:08] <caitp> if you have a scope variable like `scopeName: "&"`, then the isolate scope directive can invoke scopeName() as a function, which will evaluate an expression within the context of the parent scope
[05:48:08] <robk> caitp, so basically i have a date range picker I'm building, it has features like 'today', 'week', 'month', but I also have to create 2 independent datepickers, which update a single inputbox, problem is 1 directive w/ different model bindings would update all the text areas, which was enormously frustrating. So I converted it into a directive w/ it's own template and it stopped doing that. I'm happy now, but more issues.
[05:48:12] <caitp> which is another way of communicating
[05:48:25] <caitp> apart from that, you have scope events, and DOM events
[05:48:32] *** qbjc has quit IRC
[05:48:38] *** fairuz has joined #angularjs
[05:48:50] *** seriema has joined #angularjs
[05:48:54] <robk> so then what happens is I need to send updated information back into the directive to update the textbox date, and it's refusing to do that.
[05:49:26] *** mennea has joined #angularjs
[05:49:54] <robk> right now I'm currently using angularjs 1.2.16
[05:50:02] *** LossFor has joined #angularjs
[05:50:51] *** Reskp has joined #angularjs
[05:51:14] *** michaelchum_ is now known as michaelchum
[05:51:27] *** nya has quit IRC
[05:51:49] *** huleo has quit IRC
[05:53:23] *** nya has joined #angularjs
[05:54:04] *** discgo has joined #angularjs
[05:54:05] *** themime has quit IRC
[05:54:29] *** seriema has quit IRC
[05:55:08] *** Reskp has quit IRC
[05:55:09] *** sinequanon has joined #angularjs
[05:57:23] *** bootsWitDaFur has left #angularjs
[06:00:50] *** woah has quit IRC
[06:00:51] <jcool> how can we integrate ng grid and ng google maps? as in if data of table changes then google map also changes
[06:01:09] *** bkuberek has joined #angularjs
[06:01:14] *** kentcdodds has joined #angularjs
[06:01:34] *** nemothekid has quit IRC
[06:03:50] *** damain has quit IRC
[06:04:55] *** FabianCook has joined #angularjs
[06:05:23] *** bkuberek has quit IRC
[06:06:36] *** munzmania has quit IRC
[06:06:45] *** kentcdodds has quit IRC
[06:07:03] *** jaydubya has quit IRC
[06:08:04] *** mjs2600 has joined #angularjs
[06:08:41] *** meisth0th has quit IRC
[06:08:45] *** damain has joined #angularjs
[06:09:18] *** freelyfred has quit IRC
[06:09:42] *** munzmania has joined #angularjs
[06:10:17] *** doug16k has quit IRC
[06:12:25] *** mjs2600 has quit IRC
[06:13:29] *** nesquerra has joined #angularjs
[06:13:38] *** kalehv has quit IRC
[06:13:42] *** bluepnume has joined #angularjs
[06:14:11] *** thedodd has quit IRC
[06:14:41] <bluepnume> Hi -- how do I create a new module and inject it after my app has been bootstrapped? I want to do lazy loading. I can create a new module easily enough, but I don't know how to get it into my main app's dependencies....
[06:15:43] *** josh-k has joined #angularjs
[06:17:36] *** wd40s has quit IRC
[06:17:56] *** gnrlbzik has joined #angularjs
[06:18:01] *** nesquerra has quit IRC
[06:18:32] *** JohnBat26 has joined #angularjs
[06:18:39] *** doug64k has joined #angularjs
[06:19:00] *** mennea has quit IRC
[06:19:39] *** mennea has joined #angularjs
[06:20:24] *** bostonaholic has quit IRC
[06:22:11] *** Guest123 has joined #angularjs
[06:22:16] <Guest123> hi everyone
[06:22:28] *** gnrlbzik has quit IRC
[06:22:31] *** sinequanon has quit IRC
[06:22:32] <Guest123> i have an array of quotes…how can i only show only one random?
[06:22:58] *** instence has joined #angularjs
[06:23:36] <sacho_> see lodash
[06:24:02] *** TyrfingMjolnir has quit IRC
[06:24:12] *** instence_ has quit IRC
[06:26:06] *** Atbn has quit IRC
[06:27:40] *** nesquerra has joined #angularjs
[06:28:40] *** {DV8} has joined #angularjs
[06:29:51] *** flyingducks has joined #angularjs
[06:31:05] *** Lakario has joined #angularjs
[06:31:14] *** bostonaholic has joined #angularjs
[06:31:30] *** munzmania has quit IRC
[06:33:07] *** bostonaholic has quit IRC
[06:34:13] *** niklasmodess has joined #angularjs
[06:34:55] *** favetelinguis has quit IRC
[06:35:57] *** annlewis has quit IRC
[06:36:29] *** woah has joined #angularjs
[06:37:30] *** dharmit has joined #angularjs
[06:37:42] *** munzmania has joined #angularjs
[06:39:00] *** g33k5z_ has joined #angularjs
[06:39:17] *** knownasilya has quit IRC
[06:39:36] *** munzmania has quit IRC
[06:40:21] *** patrickarlt has joined #angularjs
[06:41:19] *** brian_ has quit IRC
[06:42:41] *** diegoaguilar has joined #angularjs
[06:43:49] <bluepnume> Anyone have any idea about dynamically registering modules?
[06:43:55] *** niklasmodess has quit IRC
[06:45:12] *** patrickarlt has quit IRC
[06:45:34] *** scythe__ has quit IRC
[06:46:13] *** josh-k_ has joined #angularjs
[06:46:13] *** rburns has quit IRC
[06:46:41] *** freelyfred has joined #angularjs
[06:46:42] *** rburns has joined #angularjs
[06:47:37] *** jeremymarc has joined #angularjs
[06:48:01] *** ahmetkapikiran has quit IRC
[06:48:49] *** josh-k has quit IRC
[06:48:50] *** slopjong_ has joined #angularjs
[06:48:50] *** slopjong has joined #angularjs
[06:49:16] *** mennea has quit IRC
[06:49:18] *** tkimmel has joined #angularjs
[06:49:40] *** mennea has joined #angularjs
[06:49:43] *** johnkevinmbasco has joined #angularjs
[06:49:52] *** seriema has joined #angularjs
[06:50:27] *** munzmania has joined #angularjs
[06:50:36] *** josh-k_ has quit IRC
[06:51:02] *** night-owl is now known as zz_night-owl
[06:51:29] *** Reskp has joined #angularjs
[06:53:34] *** tkimmel has quit IRC
[06:54:00] *** crakrjak_respawn has quit IRC
[06:54:52] *** seriema has quit IRC
[06:55:45] <FabianCook> bluepnume: dynamically based on what conditions?
[06:55:53] <FabianCook> Guest123:
[06:55:58] <FabianCook> Guest123: still around?
[06:56:12] <Guest123> yup
[06:56:16] <Guest123> i figured it out
[06:56:17] *** JoshGlzBrk has joined #angularjs
[06:56:21] <bluepnume> FabianCook -- I want to lazy load a module. So I do my landing page render, then I want to fetch a new js file and add a new module
[06:56:22] *** Reskp has quit IRC
[06:56:22] <deweydb> hello
[06:56:46] <FabianCook> Guest123: array[Math.floor(Math.random() * array.length)]
[06:56:59] <deweydb> i need a way to grab a template and render it within a $scope in a hidden iframe. I'm not really sure where to start with thing, i'm just looking for some pointers.
[06:57:18] *** marcjs has joined #angularjs
[06:57:23] <deweydb> thing = this
[06:57:42] <FabianCook> FabianCook: Hmm. Interesting. You can lazy load controllers easily. Not sure about modules
[06:57:52] *** munzmania has quit IRC
[06:58:01] *** JBreit has joined #angularjs
[06:58:16] <deweydb> bluepnume: if you figure that out i would really like to know too! that's been driving me nuts
[06:58:17] <FabianCook> deweydb: sorry wrong name. Err. I actually think a guy yesterday was doing that
[06:58:17] <Guest123> yup, that's the one i used
[06:58:20] <FabianCook> Hold up
[06:58:27] <FabianCook> Guest123: Sweet :)
[06:58:36] <Guest123> thank you though :)
[06:58:49] <FabianCook> Guest123: no problem :)
[06:59:06] *** cacts has quit IRC
[06:59:50] <FabianCook> deweydb: ozLazyLoad actually looks perfect for what you want
[06:59:51] <deweydb> FabianCook: thanks!
[07:00:12] *** TripTastic has quit IRC
[07:00:55] *** frkout_ has joined #angularjs
[07:01:29] *** adpirz has joined #angularjs
[07:01:38] *** diegoaguilar has quit IRC
[07:02:21] *** mtsr has joined #angularjs
[07:02:57] *** patrickarlt has joined #angularjs
[07:02:59] *** woah has quit IRC
[07:03:25] *** IJNX has joined #angularjs
[07:03:46] *** Limix has quit IRC
[07:04:15] *** frkout has quit IRC
[07:04:41] *** jonr22 has joined #angularjs
[07:05:17] *** Aerospark has quit IRC
[07:05:28] <deweydb> FabianCook: "If you want to load templates, the template file should be an html (or htm) file with regular script templates. It looks like this:" ...
[07:05:39] *** adpirz has quit IRC
[07:05:41] <deweydb> i'm not currently wrapping my templates with the "<script type="text/ng-template" id="/tpl.html">" tags
[07:05:50] <deweydb> if i add those is it going to break ng-router for example?
[07:06:00] <FabianCook> deweydb: Ahh, nah it shouldn't
[07:06:09] <FabianCook> deweydb: should still work
[07:06:14] <deweydb> ok thanks.
[07:06:35] *** mtsr has quit IRC
[07:07:21] *** MistahKurtz has joined #angularjs
[07:09:44] *** jonr22 has quit IRC
[07:09:59] *** bjtitus has quit IRC
[07:10:30] *** asher^ has joined #angularjs
[07:10:31] *** favetelinguis has joined #angularjs
[07:11:50] <deweydb> hmm seems to be breaking my ngDialogs though
[07:11:54] *** woah has joined #angularjs
[07:11:56] *** junmin_ has quit IRC
[07:12:00] <deweydb> all content within those tags is hidden right?
[07:12:13] *** freelyfred has quit IRC
[07:12:17] *** samuel02 has joined #angularjs
[07:12:18] <FabianCook> deweydb: correct, they need to be parsed, how is it breaking them?
[07:12:24] *** junmin has joined #angularjs
[07:12:31] *** doginal has quit IRC
[07:12:54] *** woah has quit IRC
[07:13:01] <deweydb> for example, with ngDialog i'm doing: template: "partials/"+templateType+".html",
[07:13:15] <deweydb> which pulls in that template file an puts its contents into the ngDialog
[07:13:16] *** CitizenKane has joined #angularjs
[07:13:19] *** afuggini has joined #angularjs
[07:13:24] *** g33k5z_ has quit IRC
[07:13:44] <deweydb> but with those tags wrapping that template file, the dialog is empty
[07:14:19] *** mtsr has joined #angularjs
[07:14:42] *** freelyfred has joined #angularjs
[07:14:45] *** patrickarlt has quit IRC
[07:14:46] <deweydb> i guess i could just make a wrapper template, that has those tags and then includes the template i want.
[07:14:51] <deweydb> but seems kinda convoluted
[07:15:37] <FabianCook> Hmm. I see your point. Not sure if there any many more options
[07:15:49] <FabianCook> Do you simply want to lazy load for speed
[07:15:50] <FabianCook> ?
[07:15:53] *** tomzx is now known as tomzx`afk
[07:16:12] <deweydb> no, i want to load the content of a template within a $scope. grab all the HTML and serialize it with the CSS and send it to a pdf generator
[07:16:23] *** brodul has quit IRC
[07:16:26] <deweydb> i have the serialize part pretty much worked out
[07:16:32] <deweydb> and the generator
[07:16:34] *** deanclkclk_ has joined #angularjs
[07:16:52] *** alexw has quit IRC
[07:16:53] *** rburns has quit IRC
[07:16:55] <deweydb> i just need to be able to selectively grab templates and have them render within a scope, and then be accesable within the dom for my serializer
[07:16:55] <FabianCook> deweydb: Side note, I would be interested in what you are using to generate the PDF
[07:16:57] *** samuel02 has quit IRC
[07:17:04] *** rburns has joined #angularjs
[07:17:09] <deweydb> i setup a very very simple server side generator
[07:17:12] <deweydb> it uses phantomjs
[07:17:13] *** junmin has quit IRC
[07:17:18] <deweydb> and like 10 lines of php
[07:17:46] <FabianCook> deweydb: You could just iframe the entire thing? Instead of worrying about lazyloading and changing the way you do it, then the iframe is a new dom?
[07:18:09] <deweydb> yeah, i figured an iframe would work, but i wasn't sure how to pass $scope in
[07:18:12] *** rhp has quit IRC
[07:18:16] *** technickul has quit IRC
[07:18:23] <FabianCook> deweydb: whats in the scope?
[07:18:28] <FabianCook> What do you expect in it?
[07:18:37] <deweydb> the content that is rendered in that template.
[07:18:40] <FabianCook> Why can't you just have an object in the global scope?
[07:18:49] <FabianCook> Then reference that
[07:18:52] <deweydb> the template for example has some ng-repeates and such
[07:19:20] <deweydb> this is the script i made for pdf generating if you're interested
[07:19:38] *** junmin has joined #angularjs
[07:20:34] <deweydb> currently i actually have all the content available in an ngDialog. i'm tempted to just go someway hacky with it and open the ngDialog and have it hidden
[07:20:39] *** brodul has joined #angularjs
[07:21:32] <deweydb> oh, if you're gonna use that script you also need rasterize.js
[07:21:40] *** zz_night-owl is now known as night-owl
[07:22:30] <FabianCook> deweydb: Ubreresrubf
[07:22:34] <FabianCook> Oops
[07:22:42] <FabianCook> Thats not how you spell interesting ahhahhaha
[07:22:47] <deweydb> lol
[07:22:58] *** patrickarlt has joined #angularjs
[07:22:59] <deweydb> oh, also
[07:23:04] <deweydb> you can just use pdf.waspdigital.com
[07:23:10] <deweydb> if you don't want to build it
[07:23:28] *** corehook has joined #angularjs
[07:24:05] <FabianCook> Cool. Thanks
[07:24:11] <deweydb> im not 100% sure its totally safe. so don't go hack me or something
[07:24:12] <deweydb> lol
[07:24:29] <FabianCook> deweydb: Not to sure what to do about your problem though sorry
[07:24:37] <deweydb> its ok. i have an idea i'm gonna try
[07:24:44] *** doginal has joined #angularjs
[07:24:45] <deweydb> if that doesn't work i'll go back to ocLazyLoad
[07:24:46] *** poolside has joined #angularjs
[07:25:31] <FabianCook> deweydb: Sweet :)
[07:26:01] *** marcjs has quit IRC
[07:26:01] *** epickillerpigz has joined #angularjs
[07:26:19] *** informant has quit IRC
[07:26:44] *** {DV8} has quit IRC
[07:28:19] *** sinequanon has joined #angularjs
[07:29:04] *** _ritchie_ has quit IRC
[07:31:09] *** discgo has quit IRC
[07:31:29] *** zivester has quit IRC
[07:32:36] *** jeremymarc has quit IRC
[07:32:47] *** sethen has joined #angularjs
[07:32:54] *** mtsr has quit IRC
[07:33:11] *** night-owl is now known as zz_night-owl
[07:33:30] *** jeremymarc has joined #angularjs
[07:33:46] *** caitp has quit IRC
[07:34:02] *** guiambros has quit IRC
[07:34:17] *** _ritchie_ has joined #angularjs
[07:34:26] <sethen> Hey all. I am having trouble passing something to an attribute of an directive in an ng-repeat and using isolate scope. For instance I want to pass the specific item I am iterating over in my ng-repeat as an attribute to my directive. When I set it up in my isolate scope I get undefined. Is there a way to do this correctly?
[07:34:42] *** tfennelly has joined #angularjs
[07:34:50] *** freelyfred has quit IRC
[07:35:05] <wafflej0ck> sethen: much easier to debug with a plunkr and some code along with the explanation
[07:35:13] *** Sijdesign has joined #angularjs
[07:35:24] <sethen> wafflej0ck: Let me make one up.
[07:35:43] *** jmverges has joined #angularjs
[07:35:44] *** patrickarlt has quit IRC
[07:36:56] *** mcguckin has joined #angularjs
[07:37:03] *** johnkevinmbasco has quit IRC
[07:37:39] *** flyingducks has quit IRC
[07:37:52] *** Arcannon has joined #angularjs
[07:37:54] *** junmin has quit IRC
[07:38:03] *** LossFor has quit IRC
[07:38:27] *** junmin has joined #angularjs
[07:39:25] *** tfennelly has quit IRC
[07:39:27] *** exp10r3r has joined #angularjs
[07:40:07] *** soomro786 has quit IRC
[07:40:19] *** soomro786 has joined #angularjs
[07:41:45] *** soomro786 has quit IRC
[07:41:55] *** soomro786 has joined #angularjs
[07:42:10] *** armitage7 has quit IRC
[07:42:15] *** morenoh149 has joined #angularjs
[07:42:48] *** junmin has quit IRC
[07:43:01] *** TyrfingMjolnir has joined #angularjs
[07:43:18] <morenoh149> this may not be angularjs specific but I'll ask. I want to build a webpage that can insert html into itself to load images from s3. Is this going to suffer from dom thrashing if it has to insert new html into the middle?
[07:43:32] *** patrickarlt has joined #angularjs
[07:43:44] *** jwowwz has joined #angularjs
[07:44:08] *** Evanion has quit IRC
[07:44:49] <deweydb> damm im all out of thinking beer
[07:45:01] *** kkthxbye has joined #angularjs
[07:45:16] *** waverider has joined #angularjs
[07:45:18] <waverider> hello
[07:46:03] <waverider> is it a good idea to try to add an ngMessage with the error text returned by an form submit AJAX call?
[07:46:43] *** soomro786 has quit IRC
[07:46:53] *** soomro786 has joined #angularjs
[07:47:22] *** glosoli has joined #angularjs
[07:47:23] *** rburns has quit IRC
[07:48:16] *** rburns has joined #angularjs
[07:48:28] *** Rebirth has quit IRC
[07:49:04] *** mennea has quit IRC
[07:49:22] <wafflej0ck> Fifty5Plus: you around?
[07:49:35] <deweydb> FabianCook: lol i got it sorta working. but oh dear god that pdf generator is not having a fun time with the html.
[07:49:36] <deweydb> lol
[07:49:41] *** mennea has joined #angularjs
[07:50:01] <Fifty5Plus> wafflej0ck yes sir
[07:50:02] <deweydb> FabianCook: in the end i realized i could just use ngDialog, let it open (hidden) and grab all the content
[07:50:11] <Fifty5Plus> few more minutes
[07:50:23] *** jwowwz has quit IRC
[07:50:44] *** speaking1ode has joined #angularjs
[07:50:57] *** seriema has joined #angularjs
[07:51:32] *** speakingcode has quit IRC
[07:52:16] *** Reskp has joined #angularjs
[07:52:37] *** tech2 has joined #angularjs
[07:52:42] <wafflej0ck> Fifty5Plus: hey so I made a lot of progress on that thing it's still not 100% great cause depends on some hacky stylesheet parsing and some other voodoo but the usage is way cleaner now... going to post it up to github here soon, will let you know once it's out there
[07:53:02] <FabianCook> deweydb: sounds like a good plan
[07:53:21] <wafflej0ck> Fifty5Plus: but just got rid of the ng-style and myStyle parts so just have the booleans from the perspective of the controller and worked around the animation stuff by calculating the sizes in the JS based on the stylesheet and just raising the z-index of the middle column so it overlays the left and right
[07:54:13] *** joshontheweb has quit IRC
[07:55:01] *** pingupingu has quit IRC
[07:55:15] *** seriema has quit IRC
[07:55:43] <Fifty5Plus> wafflej0ck message me the link privately as i am going to bed shortly ... changing widths of sides might be best so that the backround (vertical bar) is visible as mid expands leftward and/or rigtward
[07:55:58] *** jaydubya has joined #angularjs
[07:56:25] *** jeremymarc has quit IRC
[07:56:51] *** joshontheweb has joined #angularjs
[07:56:53] *** Reskp has quit IRC
[07:57:19] <wafflej0ck> Fifty5Plus: problem with that I think is the content will flow down as I shrink the width
[07:57:20] <Fifty5Plus> wafflej0ck picture this use case ... list of videos on left, something else on right and currently playing video in middle ... and after 15 seconds of keyboard and mouse inactivity the movie slowly expands left and right as sides get narrower and that might take 5 seconds in a nice slow motion
[07:57:32] <wafflej0ck> Fifty5Plus: it's doable with what I've got but not sure about the content wrapping
[07:57:38] *** damain has quit IRC
[07:58:19] *** macobo has joined #angularjs
[07:58:25] <wafflej0ck> either way will post you the link in PM once I have it posted to github and you can give it a look and start poking at it too
[07:58:30] *** wd40s has joined #angularjs
[07:58:36] *** soomro786 has quit IRC
[07:58:37] *** Arcannon has quit IRC
[07:58:51] *** soomro786 has joined #angularjs
[07:59:24] *** favetelinguis has quit IRC
[08:00:15] <wafflej0ck> Fifty5Plus: think to avoid the content wrapping would either need a container that has fixed size and then have the part that shrinks use overflow:hidden or else slide the left and right panels off screen instead of shrinking them
[08:00:18] <Fifty5Plus> wafflej0ck i think there is 2 approaches to that , where the left side is resizable with vertical bars that can be dragged than content would flow down (but so what even then) but in these cases the content would simply be cut off ... picture how gmail left side works as it does not expand ... so if content wraps around as sides narrow or its cut off -
[08:00:18] <Fifty5Plus> either would work
[08:00:25] *** jaydubya has quit IRC
[08:01:04] <wafflej0ck> yeah seeing animated reflow is wacky looking though
[08:01:10] *** frkout_ has quit IRC
[08:01:37] *** frkout has joined #angularjs
[08:01:58] <Fifty5Plus> wafflej0ck if it can be slid off screen then that would be the best so that the left/mid vertical bar becomes far side bar and the side is totally off screen ... is that easy
[08:02:16] *** AR45 has quit IRC
[08:02:24] *** dllama has quit IRC
[08:02:25] <Fifty5Plus> wafflej0ck then it's a simply "pushed sideways" effect
[08:02:31] <wafflej0ck> yeah
[08:02:37] <wafflej0ck> think it shouldn't be too bad
[08:02:48] *** grantfunke_ has quit IRC
[08:02:55] <wafflej0ck> I'm already doing all the dirty work :)
[08:03:06] <wafflej0ck> it's really still pretty efficient but fragile with regard to the CSS parsing
[08:03:14] *** rtpg has quit IRC
[08:03:27] *** tskaggs has joined #angularjs
[08:03:28] *** AR45 has joined #angularjs
[08:03:36] <Fifty5Plus> wafflej0ck be careful of the window resize so that mid is not resizing with a time out because then you get those light vertical areas until it resizes
[08:03:46] *** wd40s has quit IRC
[08:03:49] <wafflej0ck> just felt it was wrong to have to specify those parts in the HTML/JS though
[08:03:53] *** corehook has quit IRC
[08:04:05] *** patrickarlt has quit IRC
[08:04:12] <Fifty5Plus> wafflej0ck which exactly?
[08:04:34] <wafflej0ck> the min-width max-width and width for the east and west columns
[08:04:43] *** tilgovi has quit IRC
[08:04:48] *** soomro786 has quit IRC
[08:04:54] *** spazbite has joined #angularjs
[08:05:03] *** soomro786 has joined #angularjs
[08:05:11] *** TyrfingMjolnir has quit IRC
[08:05:18] <wafflej0ck> basically I wrote the JS to find the parent elemnt for the east/west columns and calculate the width using the percentage*parentWidth
[08:05:21] <Fifty5Plus> wafflej0ck the only thing in js was the 3px border
[08:05:45] <wafflej0ck> yeah I stuck with it pulling all the data for that from the CSS but needed more info from there
[08:05:58] <wafflej0ck> that way I avoid the clientWidth on the east west columns which was problematic
[08:06:11] *** zoeycakes has quit IRC
[08:06:15] *** mennea has quit IRC
[08:06:25] <wafflej0ck> easier when you see it I'm sure... hard to explain
[08:06:29] *** Sijdesign has quit IRC
[08:06:47] <wafflej0ck> I have it in my git repo just need to mirror to github
[08:06:50] *** gnrlbzik has joined #angularjs
[08:07:34] <Fifty5Plus> wafflej0ck there is one monkey wrench in that and that is sides with % width with min and max - picture really wide or really skinny device ... less than makes no sense and more than some max is too wide for data in question, so that's why min/max
[08:07:41] *** JMZ_DMZ has joined #angularjs
[08:07:51] *** TyrfingMjolnir has joined #angularjs
[08:08:20] <wafflej0ck> yeah it still applies all those rules I just read the CSS and did the conditions to figure out the width based on the three properties
[08:08:22] <Fifty5Plus> but the middle has to be based on those side widths and something like 25%, 50%, 25% would result in way tooooooo wiiiiiiiiide sides on wide lcd screens
[08:08:35] <wafflej0ck> only problem is if you change how the CSS is specified the part where I parse for those values would break
[08:09:02] <sethen> wafflej0ck: In which situations would I have to observe the value in question with attrs.$observe? Trying this technique in my real app just causes an empty string to be logged which makes me assume it needs to be observed.
[08:09:20] <wafflej0ck> it just searches for one place where the class name matches and the property needed is available so might not read the right one with complex CSS
[08:09:22] <wafflej0ck> Fifty5Plus: ^
[08:09:44] <wafflej0ck> sethen: if the value isn't supplied directly and will be populated later
[08:10:01] <Fifty5Plus> wafflej0ck that is a very specific layout and as far as the layout goes there really should be no css ;)
[08:10:25] <wafflej0ck> Fifty5Plus: yeah I made it play nice with bootstrap too (not layout but buttons and stuff at least)
[08:10:34] *** _dizzy has joined #angularjs
[08:10:55] *** _ritchie_ has quit IRC
[08:10:57] <sethen> wafflej0ck: Is there any reason to put something on a attribute of a directive if it's parent is also a directive with the same attribute on it?
[08:11:13] *** gnrlbzik has quit IRC
[08:11:23] <Fifty5Plus> wafflej0ck yes to get rid of borders and to get left and right sides next to each other so there is no 3px left between, colors - sure ... but all that css is really more for realestate organization ... the styling is really within each of the up to 9 panels
[08:11:29] *** corehook has joined #angularjs
[08:11:43] <wafflej0ck> sethen: depend on if you want to have a dependency between the directives or not, if they always work together then no real need to have it on both
[08:11:52] *** AndreasLutro has joined #angularjs
[08:12:43] *** dimetron has joined #angularjs
[08:13:02] *** samuel02 has joined #angularjs
[08:13:06] *** dcherman has quit IRC
[08:13:08] <sethen> wafflej0ck: Ah. This is what I seem to be running into though. An ng-repeat whose parent has the attribute value which tries to pass that attribute value in it's template to another directive with an attribute but it always ends up undefined or I will have to observe.
[08:13:32] <sethen> Just doesn't seem right to me.
[08:13:52] *** lowell_ has joined #angularjs
[08:13:56] *** doginal has quit IRC
[08:14:00] *** michaelchum has quit IRC
[08:14:03] <wafflej0ck> Fifty5Plus: I'm thinking I kind of want to make a layout setup similar to what I had available as a Flex dev, I found one implementation but depends on flexbox... but not sure if that's well implemented enough everywhere
[08:14:04] *** platonic has quit IRC
[08:14:30] *** platonic has joined #angularjs
[08:14:42] *** SomeKittens has quit IRC
[08:15:00] <ProLoser> hallo
[08:15:06] *** jbub has quit IRC
[08:15:06] *** DANtheBEASTman has quit IRC
[08:15:07] *** renstrm has quit IRC
[08:15:12] <Fifty5Plus> wafflej0ck flexbox is exactly what this replaces because of it not being available on older broswers
[08:15:21] <wafflej0ck> Fifty5Plus: still gotta brew about that for quite a bit though
[08:15:24] <ProLoser> so i've had this idea of doing a 21 questions app for bugs
[08:15:35] <Fifty5Plus> wafflej0ck ?
[08:15:51] <wafflej0ck> Fifty5Plus: well as is this doesn't work for nesting them
[08:16:01] *** corehook has quit IRC
[08:16:01] *** doginal has joined #angularjs
[08:16:01] *** rtpg has joined #angularjs
[08:16:02] *** eristic has quit IRC
[08:16:02] *** ansu has quit IRC
[08:16:07] *** ansu1 has joined #angularjs
[08:16:25] <ProLoser> ?
[08:16:51] *** Sontakey1 has joined #angularjs
[08:17:02] *** eristic has joined #angularjs
[08:17:22] <wafflej0ck> ProLoser: like an interactive flow chart?
[08:17:32] *** samuel02 has quit IRC
[08:17:36] <ProLoser> kinda
[08:17:42] *** lowell has quit IRC
[08:17:46] *** lowell_ is now known as lowell
[08:17:48] <ProLoser> like a LOT of bugs could be diagnosed if the user knew how to ask the questions, right?
[08:17:51] <ProLoser> so what if the app asked you
[08:18:10] <ProLoser> a series of questions and gave you the answer or resource
[08:18:29] *** rburns has quit IRC
[08:18:34] *** platonic has quit IRC
[08:18:37] *** Grokling_ has joined #angularjs
[08:18:45] *** DannyCallaghan has joined #angularjs
[08:18:53] *** rburns has joined #angularjs
[08:19:10] <Fifty5Plus> wafflej0ck why would you want to nest them ;) because it takes care of layouts for desktop biz apps as well as crm and web page layouts with main and optional side bars ... perfect
[08:20:17] *** pxz has quit IRC
[08:20:39] <Fifty5Plus> wafflej0ck it is not a tool that goes into a general toolset where you respond to wild and crazy client requests ... but it is a double edged sword for doing product development and then the whole application has that cool, consistent look and feel to it
[08:20:43] *** Sontakey has quit IRC
[08:21:08] *** deanclkclk__ has joined #angularjs
[08:21:15] *** _dizzy has quit IRC
[08:21:35] *** exp10r3r has quit IRC
[08:21:46] *** enaqxx has joined #angularjs
[08:21:47] <wafflej0ck> Fifty5Plus: eh well with Flex you really have HBoxes and VBoxes and you can build any layout based on those two parts basically (they just align their children and size the children, basically the children provide percentages or set sizes that hint the container to calculate their sizes and position them)
[08:21:51] *** MattWelch has quit IRC
[08:21:55] <wafflej0ck> Fifty5Plus: this is definitely nice for the particular use case but more generic layout containers would be nice too
[08:23:08] *** deanclkclk_ has quit IRC
[08:23:14] *** marshall has joined #angularjs
[08:23:29] *** Sontakey1 has quit IRC
[08:23:33] *** exp10r3r has joined #angularjs
[08:23:49] <wafflej0ck> ProLoser: sounds pretty good, I have some survey type thing that has dynamic questions/answers part (though its some older code now) but would need the data structure that outlines the flow from a given answer to another set of questions/question or a solution so would need to be a bit different
[08:23:50] *** soomro786 has quit IRC
[08:23:54] *** favetelinguis has joined #angularjs
[08:24:01] *** soomro786 has joined #angularjs
[08:24:08] <ProLoser> you wouldn't hard-code the chain of questions
[08:24:13] <ProLoser> it would learn as more people ask it for help
[08:24:26] <ProLoser> so first question would be "does your angular app render?"
[08:24:36] <ProLoser> and it would keep narrowing things down
[08:24:37] <wafflej0ck> right just saying the relationship would need to be represented in some data structure and in the DB
[08:24:41] <ProLoser> "are you querying data?"
[08:24:49] <ProLoser> you have that?
[08:24:58] <Fifty5Plus> wafflej0ck so if you stick to good naming conventions like west/main/east and head/body/foot and very specific css values that must be specified then all is well
[08:25:21] *** jstroem has joined #angularjs
[08:25:50] <wafflej0ck> nope just the questions/answers portion store dynamically created questions along with sets of answers, but would need the plumbing part that's really the "flow chart structure" how each question and it's answers relate to follow up questinos
[08:25:52] <wafflej0ck> ProLoser: ^
[08:25:54] *** rayu has joined #angularjs
[08:26:04] *** rayu is now known as Chris__
[08:26:21] *** Chris__ is now known as Chris_TDP
[08:27:26] *** deanclkclk__ has quit IRC
[08:27:50] *** deanclkclk_ has joined #angularjs
[08:27:55] *** svycka has joined #angularjs
[08:27:55] <Fifty5Plus> wafflej0ck now, if you look at my css it has a small quirk that less or sass solve with variables and that is having to manually position body.top/bottom to be header.height plus border pixels ... if that can also be internalized so that the vertical heights also stretch to whatever is left over after height and footer height is set ... but that is easy in
[08:27:55] <Fifty5Plus> sense that it is set only once at startup because head and foot heights do not change as window gets resized
[08:28:46] *** bealtine has quit IRC
[08:28:55] *** vansever1 has joined #angularjs
[08:28:59] *** TyrfingMjolnir has quit IRC
[08:29:04] *** webdo has joined #angularjs
[08:29:07] *** telefunken has joined #angularjs
[08:29:11] *** brezel has quit IRC
[08:29:58] <wafflej0ck> yup
[08:30:10] <wafflej0ck> percentages make things tricker for sure
[08:30:28] <ProLoser> Fifty5Plus: border-box
[08:30:31] <ProLoser> that'll fix your problem
[08:30:34] *** vanseverk has quit IRC
[08:30:34] *** vinilios has quit IRC
[08:30:35] *** m1hael has joined #angularjs
[08:30:45] *** soomro786 has quit IRC
[08:31:53] <Fifty5Plus> wafflej0ck my problem is that i am a long time character mode programmer (working in tight 80 character spaces ;) so i can visualize these silly things but am struggling learning the coding part :)
[08:31:57] *** Moikzz has joined #angularjs
[08:32:11] *** corehook has joined #angularjs
[08:32:22] *** hiptobecubic has quit IRC
[08:32:49] <Fifty5Plus> wafflej0ck later on will come up with a smal device layout from the same pieces ;)
[08:33:08] *** DannyCallaghan has quit IRC
[08:33:12] *** jstroem has quit IRC
[08:33:31] *** marcjs has joined #angularjs
[08:33:38] *** DannyCallaghan has joined #angularjs
[08:33:48] *** jstroem has joined #angularjs
[08:34:03] *** marcjs has quit IRC
[08:34:35] *** madtrax has quit IRC
[08:35:11] *** evilaliv3 has joined #angularjs
[08:35:36] <wafflej0ck> Fifty5Plus: yeah there actually some things like "sidebar" directive and foundation directives for offscreen that I think work fine for mobile but don't really make sense on the desktop
[08:35:36] <wafflej0ck> feel like Ionic is really the way to go for mobile anyhow though
[08:35:50] <Fifty5Plus> wafflej0ck actually 80 char apps are closer to phone apps in sense that you have only one thing at a time, like menu, data grid, view, and you basically "drill" down then up
[08:36:02] *** sctskw has quit IRC
[08:36:23] *** sinequanon has quit IRC
[08:37:10] <Fifty5Plus> wafflej0ck yes, except this approach takes "laying out" out of equation and in effect forces a specific look and feel and then you are down to data field level widgets ;)
[08:37:32] *** Chris_TDP has left #angularjs
[08:37:35] <Fifty5Plus> wafflej0ck again crm and biz apps but not for say a dispatch screen
[08:37:37] *** jacuqesdancona has joined #angularjs
[08:38:07] *** tkimmel has joined #angularjs
[08:38:13] *** jstroem has quit IRC
[08:38:37] <FabianCook> Oh golly what is happening here
[08:38:53] *** m1hael has quit IRC
[08:39:08] *** zzing has quit IRC
[08:39:13] *** kontinuity has joined #angularjs
[08:39:17] <Fifty5Plus> wafflej0ck with GUI apps, "everyone is an artist" and the poor user is draggin and resizing and reordering something that instead of being well thought out, it is left to users to design by rearranging
[08:39:19] *** m1hael has joined #angularjs
[08:39:24] <deweydb> balls. HTML->PDF is frigging hard
[08:39:42] *** Evanion has joined #angularjs
[08:39:42] <Fifty5Plus> FabianCook nothing other than me writing nonsense ;)
[08:39:59] <FabianCook> deweydb: thats why I was wondering what you were using ;)
[08:40:08] <deweydb> its getting there
[08:40:09] <FabianCook> Fifty5Plus: aahhhh fair enough
[08:40:18] <deweydb> its just pretty hard to debug
[08:40:23] <FabianCook> Fifty5Plus: fun times
[08:40:27] <deweydb> its not like you can inspect element or anything
[08:40:28] <FabianCook> deweydb: as they always are
[08:40:43] <FabianCook> deweydb: there must be something for phantom
[08:41:11] <FabianCook> phantomjs --remote-debugger-port=9000 test.js ??
[08:41:28] <deweydb> not sure if joking?
[08:41:33] <deweydb> is that really a thing?
[08:41:34] *** bluepnume has quit IRC
[08:41:35] <FabianCook> Why not?
[08:41:40] <FabianCook> It totally is a thing
[08:41:44] *** coopaloop has quit IRC
[08:41:56] <FabianCook> About half way down deweydb
[08:42:20] <deweydb> cooool
[08:42:22] *** tkimmel has quit IRC
[08:42:24] <deweydb> thanks
[08:43:32] *** zzing has joined #angularjs
[08:43:38] *** whitebook has joined #angularjs
[08:44:27] *** jrvlima has joined #angularjs
[08:44:49] <Fifty5Plus> wafflej0ck whenever you think of using this then think of google such as gmail and how the left side is crowded and would be nicer if it got more width on wider screens ... lot of their other stuff is along similar layouts and not as dynamic when resizing the window
[08:45:54] *** deanclkclk_ has quit IRC
[08:45:56] *** red_horned_rihno has joined #angularjs
[08:46:27] *** Moikzz has quit IRC
[08:46:38] *** red_horned_rihno has quit IRC
[08:47:44] *** whitebook has quit IRC
[08:48:03] *** braidn_ has joined #angularjs
[08:48:23] *** one0one has quit IRC
[08:48:32] *** jrvlima has quit IRC
[08:49:29] *** CaShY has quit IRC
[08:49:30] *** g3funk has quit IRC
[08:49:33] *** mickhansen has quit IRC
[08:49:33] *** derrzzaa has quit IRC
[08:49:41] *** klaut has joined #angularjs
[08:50:12] *** gurke_ has joined #angularjs
[08:50:23] <gurke_> good morning. :)
[08:50:23] *** jmverges has quit IRC
[08:50:44] *** adpirz has joined #angularjs
[08:51:22] *** burayon has quit IRC
[08:51:46] *** jmverges has joined #angularjs
[08:51:57] *** digisky has quit IRC
[08:52:00] *** seriema has joined #angularjs
[08:52:31] *** frobs has joined #angularjs
[08:52:38] *** CitizenKane has quit IRC
[08:53:31] *** jonr22 has joined #angularjs
[08:53:57] *** renstrm has joined #angularjs
[08:54:02] *** CaShY has joined #angularjs
[08:54:05] <wafflej0ck> still will need to setup gh-pages to see a demo and clean things up in terms of the build and all but as is that stuff should work
[08:54:19] *** DANtheBEASTman has joined #angularjs
[08:54:48] *** Reskp has joined #angularjs
[08:54:58] *** tarnus has quit IRC
[08:55:24] *** adpirz has quit IRC
[08:56:00] *** freeman42 has joined #angularjs
[08:56:04] *** brezel has joined #angularjs
[08:56:11] *** pxz has joined #angularjs
[08:56:12] *** digisky has joined #angularjs
[08:56:16] *** tskaggs has quit IRC
[08:56:40] *** paolo_ has joined #angularjs
[08:57:02] *** seriema has quit IRC
[08:57:21] *** tskaggs has joined #angularjs
[08:57:28] *** jbub has joined #angularjs
[08:57:54] *** nycdevgirl has quit IRC
[08:58:03] *** seriema has joined #angularjs
[08:58:12] *** MistahKurtz has quit IRC
[08:58:33] *** jonr22 has quit IRC
[08:59:33] *** wd40s has joined #angularjs
[08:59:44] *** fataldecrease has joined #angularjs
[08:59:51] *** paolo_ has left #angularjs
[08:59:51] *** Reskp has quit IRC
[08:59:55] *** DannyCallaghan has quit IRC
[09:00:18] *** nya has quit IRC
[09:00:40] *** firelinks has quit IRC
[09:01:40] *** poolside has quit IRC
[09:02:14] *** AngularUI has joined #angularjs
[09:02:14] <AngularUI> bootstrap/master b4832c4 Chris Chua: fix(tooltip): show correct tooltip on ngRepeat...
[09:02:15] *** AngularUI has left #angularjs
[09:02:57] *** jaznow has joined #angularjs
[09:03:37] *** munzmania has joined #angularjs
[09:03:38] *** DannyCallaghan has joined #angularjs
[09:03:39] *** kkthxbye has quit IRC
[09:03:43] *** DannyCallaghan has quit IRC
[09:04:23] *** burayon has joined #angularjs
[09:04:25] *** paolo_ has joined #angularjs
[09:04:32] *** nfroidure has joined #angularjs
[09:04:41] *** wd40s has quit IRC
[09:04:43] *** amirn has joined #angularjs
[09:05:00] *** mennea has joined #angularjs
[09:05:29] *** paolo_ is now known as paolo
[09:05:29] *** paolo has joined #angularjs
[09:06:00] *** sh2 has joined #angularjs
[09:06:02] *** joshontheweb has quit IRC
[09:06:11] *** corehook has quit IRC
[09:06:30] *** yts has joined #angularjs
[09:06:53] *** jdj_dk has joined #angularjs
[09:07:32] *** gnrlbzik has joined #angularjs
[09:08:24] <jcool> how can we integrate ng grid and ng google maps? as in if data of table changes then markers on google map also change
[09:09:03] *** TyrfingMjolnir has joined #angularjs
[09:09:36] <wafflej0ck> jcool: data binding should handle it if they both share a common data set
[09:09:37] *** jstroem has joined #angularjs
[09:09:38] *** mennea has quit IRC
[09:09:52] *** mennea has joined #angularjs
[09:10:02] *** jstroem has quit IRC
[09:10:04] <jcool> wafflej0ck, yes they both will have common data set
[09:10:15] *** accelerate has quit IRC
[09:10:17] <wafflej0ck> and both watch the data you're changing
[09:10:25] *** asher^ has quit IRC
[09:10:26] *** jstroem has joined #angularjs
[09:10:58] <jcool> wafflej0ck, I was just reading options for ng grid and their are methods which tell us when cells are changed or when data within table is changed
[09:11:16] <jcool> wafflej0ck, so we can fire google map api each time the table data is changed and place new markers?
[09:11:18] *** corehook has joined #angularjs
[09:11:54] *** gnrlbzik has quit IRC
[09:12:02] <wafflej0ck> yup the google maps addMarker call should be called for you if the google maps plugin watches the data supplied to it for changes
[09:12:06] *** samuel02 has joined #angularjs
[09:12:18] <wafflej0ck> pretty sure it does but been quite a while since I worked with either
[09:12:32] <jcool> wafflej0ck, seems great I will try that out.thanks.
[09:12:52] *** Aliks has joined #angularjs
[09:13:25] *** firelinks has joined #angularjs
[09:13:51] *** freeman42 has quit IRC
[09:14:06] *** doginal has quit IRC
[09:14:23] *** shampine has quit IRC
[09:14:25] *** hecatonicosachor has joined #angularjs
[09:14:41] *** JayFK has joined #angularjs
[09:14:42] *** platonic has joined #angularjs
[09:14:58] <wafflej0ck> believe ng-grid is actually being replaced by ui-grid now too FYI
[09:14:58] <wafflej0ck> jcool: cool good luck
[09:15:05] *** accelerate has joined #angularjs
[09:15:08] *** IJNX has quit IRC
[09:15:12] *** svycka has quit IRC
[09:15:42] *** nfroidure has quit IRC
[09:15:48] *** corehook has quit IRC
[09:15:58] <Fifty5Plus> wafflej0ck i have grunt and bower installed but have not been using them :( so how do i get bower to install all the libraries
[09:17:02] *** evilaliv3 has quit IRC
[09:17:05] <Grokling_> This is just annoying.. I have a factory (actually, a huge pile of them), and this particular one is breaking because it thinks 'this' is not defined in it's constructor.. How is that even possible?!
[09:17:31] *** dsdeiz has joined #angularjs
[09:17:43] *** bradmaxs has quit IRC
[09:17:43] *** sacho_ has quit IRC
[09:17:44] <dsdeiz> hey all, anyone got recommendation for displaying error messages
[09:17:51] <hecatonicosachor> Grokling_, factories are not constructed
[09:18:15] <Grokling_> Instances are constructed in factories, by a constructor.
[09:18:23] *** mickhansen has joined #angularjs
[09:18:25] <wafflej0ck> Fifty5Plus: just after you git clone do, npm install && bower install
[09:18:25] <wafflej0ck> Fifty5Plus: that should get it all
[09:18:25] <wafflej0ck> Fifty5Plus: then, grunt serve
[09:18:26] *** MetaCosm has quit IRC
[09:18:26] <hecatonicosachor> in strict mode, `this` within a factory's registration function (.factory('Name', FactoryRegistrationFunction)) will always be undefined
[09:18:33] <hecatonicosachor> Grokling_, well, show your code
[09:18:35] *** hecatonicosachor is now known as sacho
[09:18:52] *** MetaCosm has joined #angularjs
[09:19:36] <Grokling_> WIll do - I have to strip it back first though - there's a lot happening in there at the moment which is not related (I think..)
[09:19:36] *** rburns has quit IRC
[09:19:38] *** platonic has quit IRC
[09:19:38] *** dc_ has joined #angularjs
[09:19:41] <wafflej0ck> Fifty5Plus: be sure you git checkout develop too
[09:19:42] <wafflej0ck> Fifty5Plus: didn't merge with master yet
[09:19:42] <wafflej0ck> Fifty5Plus: and master just has the empty component test bed right now
[09:20:01] *** rburns has joined #angularjs
[09:21:01] *** Lebby1 has joined #angularjs
[09:21:11] *** derrzzaa has joined #angularjs
[09:21:35] *** macobo has quit IRC
[09:23:04] <wafflej0ck> Grokling_: yeah like sacho said this typically isn't used in a factory definition it's used in a service definition though (typically, I personally don't use it in either I just make an object and return it in both cases)
[09:23:27] <wafflej0ck> not a huge fan of this in JS though I suppose I need to get used to it for the controllerAs syntax and getting rid of $scope
[09:23:43] <sacho> var ctrl = this; // never use this again
[09:24:05] <wafflej0ck> sacho: yeah I've had people explain it to me before just haven't started doing it yet
[09:24:09] <dsdeiz> anyone? :D
[09:24:22] *** munzmania has quit IRC
[09:24:30] <Grokling_> Wut? So you guys don't have a factory that you do var thing = newThing(someProperties); with?
[09:24:34] *** dc_ has quit IRC
[09:24:40] <sacho> Grokling_, I do
[09:25:07] *** svycka has joined #angularjs
[09:25:21] <wafflej0ck> Grokling_: yeah you just can't use this in the factory def as far as I know
[09:25:25] *** niklasmodess has joined #angularjs
[09:25:44] <sacho> Grokling_, what are you returning from your factory definition function?
[09:25:44] <Grokling_> Cool. And in that function, you set some of the properties on the instance, using some reference that isn't 'this'?
[09:25:49] <wafflej0ck> Grokling_: er at least it's not the recommended way based on the "recipe" in the angular providers doc
[09:25:51] *** deranged_user has joined #angularjs
[09:26:52] *** junmin has joined #angularjs
[09:26:55] <Grokling_> sacho: It's ultimately returning the constructor function.
[09:27:25] *** Lebby1 is now known as Lebby
[09:27:34] <wafflej0ck> yeah the object that's being returned can be a function that can take arguments but typically I name whatever it is and reference it by it's name even in the factory definition instead of using this.whatever it's myFactory.whatever
[09:27:48] *** Lebby has left #angularjs
[09:28:03] <Grokling_> Super dumb thing is that this is working all over the place, and was working for this factory until 30 minutes ago, and I can't see what's causing the grief.
[09:28:52] *** numenor has quit IRC
[09:29:05] *** dearburian has quit IRC
[09:29:12] <wafflej0ck> yeah this acts in unpredicatble ways in JS cause depends on how the function is called what "this" really is, it's cool and it sucks at the same time
[09:30:11] <wafflej0ck> I wonder if it's handled in a coherent way with ECMA6?
[09:30:11] *** nya has joined #angularjs
[09:30:23] *** JoshGlzBrk has quit IRC
[09:30:40] <Grokling_> have a look at fooFactory.js
[09:30:43] *** frem has joined #angularjs
[09:31:22] <sacho> do you have the problem there?
[09:31:23] *** junmin has quit IRC
[09:31:24] <wafflej0ck> think my internets is choking up... Comcast likes to screw things up in the middle of the night
[09:31:34] *** DoubleAW has quit IRC
[09:32:02] *** DoubleAW has joined #angularjs
[09:32:48] *** jagga_ has joined #angularjs
[09:32:51] <Grokling_> Nah - that plunker works fine - it's just an example of the pattern I'm using.
[09:32:53] *** tech2 has quit IRC
[09:33:37] *** IJNX has joined #angularjs
[09:34:02] *** mcguckin has quit IRC
[09:34:51] <Grokling_> 17 factories, same pattern, same inheritance. 16 work. No doubt it's something simple and so obvious I can't see it!
[09:35:10] <wafflej0ck> Grokling_: ah okay yeah thought you were using this.find = function(){} type syntax like you can do for a service because when angular creates that it uses the "new" keyword
[09:35:33] <wafflej0ck> Grokling_: this in the context of your functions there is probably fine but still curious why not just refer to it as Foo?
[09:36:20] <Grokling_> Because Foo is the factory, and 'this' is the instance.
[09:36:44] *** qdk has quit IRC
[09:36:53] <wafflej0ck> Grokling_: ah right was thinking of when I'm only dealing with an instance, makes sense
[09:36:55] *** gossen has joined #angularjs
[09:37:43] <wafflej0ck> Grokling_: yeah few cases where I'm truly using a factory like a design pattern factory I have my objects I'm creating defined outside of the factory but pretty similar
[09:39:11] <Grokling_> This pattern seems to work pretty cleanly. robdubya clued me in on it.
[09:39:20] *** dob_ has joined #angularjs
[09:41:15] *** Aliks has quit IRC
[09:41:16] *** moritzs has joined #angularjs
[09:41:22] <wafflej0ck> yeah it's really what a "factory pattern" is supposed to be, you have some object that you use to create instances of other objects
[09:41:22] <wafflej0ck> anywhoo gotta hit the hay have a good night or day or whatever it is wherever you are
[09:41:35] *** phzon has joined #angularjs
[09:41:36] *** sethen has quit IRC
[09:41:50] *** Aliks has joined #angularjs
[09:42:21] *** Aliks has quit IRC
[09:42:31] *** Aliks has joined #angularjs
[09:42:55] *** Evanion has quit IRC
[09:43:24] *** mityaz has joined #angularjs
[09:43:50] <Grokling_> Night wafflej0ck. I'll crack this eventually..
[09:44:32] <sacho> can't really debug it without code :)
[09:44:40] *** jaydubya has joined #angularjs
[09:46:23] <Grokling_> sacho: yeah.. I know. I ripped the guts right out of it, and it worked, so now I'm putting it back one entrail at a time until I find the festy piece.
[09:46:32] *** zzz_AR45 has quit IRC
[09:46:37] *** Aliks has quit IRC
[09:46:59] <Grokling_> Then I'll share it. We all like entrails right?
[09:49:02] *** AR45 has quit IRC
[09:49:07] *** vivek_ has joined #angularjs
[09:49:08] *** jaydubya has quit IRC
[09:49:46] *** opiates has joined #angularjs
[09:49:50] *** m8 has joined #angularjs
[09:49:56] *** AR45 has joined #angularjs
[09:50:12] *** jillesme has joined #angularjs
[09:50:12] *** rburns has quit IRC
[09:50:40] *** rburns has joined #angularjs
[09:52:03] *** martianboy has joined #angularjs
[09:52:22] *** vivek_ has quit IRC
[09:53:31] *** eamonn has joined #angularjs
[09:53:40] *** boywonder has joined #angularjs
[09:54:04] *** categoryzero has joined #angularjs
[09:54:32] *** sk87 has joined #angularjs
[09:55:20] *** Reskp has joined #angularjs
[09:55:29] *** vivek_ has joined #angularjs
[09:55:33] *** lelu has joined #angularjs
[09:55:57] <lelu> Good Morning all
[09:56:10] <vivek_> hey
[09:56:27] <frobs> hi lelu
[09:56:45] <Grokling_> Okay, I have no idea what was going on there.. I now have the original file back in, and it's all working again. I'm going to blame grunt/gulp somewhere.
[09:57:40] *** ahtik has joined #angularjs
[09:58:36] *** DannyCallaghan has joined #angularjs
[09:59:22] *** jlebrech has joined #angularjs
[09:59:32] <vivek_> how can i redirect to a different url?
[09:59:42] *** Xethron has joined #angularjs
[09:59:54] <Grokling_> vivek_: A different URL or a different state?
[10:00:17] *** Trow has joined #angularjs
[10:00:21] *** Reskp has quit IRC
[10:00:23] <vivek_> different url
[10:01:03] <Grokling_> <a href="someotherUrl></a>
[10:02:14] *** ahtik has quit IRC
[10:02:23] <Grokling_> But you knew that. If you want to do it from inside a controller etc, there are a stack of links in google with a variety of methods.
[10:04:52] <vivek_> Actually i have to redirect to an Url if the authentication process is success
[10:05:04] *** mnngfltg has joined #angularjs
[10:05:42] *** drorh has joined #angularjs
[10:05:43] *** jstroem has quit IRC
[10:06:03] *** jstroem has joined #angularjs
[10:06:09] *** gunn has quit IRC
[10:06:50] <drorh> Hello. I have this snippet: 'name = function(){//what to do}'. I was wondering how can i fetch 'name' inside that function. ?
[10:07:33] *** vivek_ has left #angularjs
[10:07:46] *** gunn has joined #angularjs
[10:07:49] <drorh> woops wrong chna
[10:07:53] <drorh> chan
[10:08:04] *** jstroem has quit IRC
[10:08:16] *** vivek_ has joined #angularjs
[10:08:20] *** jstroem has joined #angularjs
[10:08:25] <vivek_> hey
[10:08:51] *** eamonn has quit IRC
[10:09:05] *** patric100e99 has joined #angularjs
[10:09:28] *** drorh has quit IRC
[10:09:33] <vivek_> i have to redirect to an Url after the authentication process
[10:09:47] <vivek_> how can i do that?
[10:10:05] *** ajax_ has quit IRC
[10:10:28] <sacho> $location.path()
[10:10:45] *** numenor has joined #angularjs
[10:11:33] <vivek_> i tried that. But i want to change the entire Url
[10:12:02] *** AndreasLutro has quit IRC
[10:12:14] *** AndreasL1tro has joined #angularjs
[10:12:43] *** corehook has joined #angularjs
[10:12:57] <sacho> window.location =
[10:13:58] <vivek_> can you show an example?
[10:14:02] *** patric100e99 has quit IRC
[10:14:16] *** MattWelch has joined #angularjs
[10:15:29] <vivek_> thanks dude ;)
[10:15:33] *** corehook has quit IRC
[10:16:06] *** AndreasL1tro is now known as AndreasLutro
[10:16:11] *** devylon has quit IRC
[10:16:38] *** devylon has joined #angularjs
[10:16:41] *** evilaliv3 has joined #angularjs
[10:16:42] *** corehook has joined #angularjs
[10:17:08] *** mtsr has joined #angularjs
[10:18:23] *** MattWelch has quit IRC
[10:21:01] *** ngbot has joined #angularjs
[10:21:01]
<ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/4KZK1Q
[10:21:01] <ngbot> angular.js/master 0462ee6 yarsh: docs(ngModelOptions): minor grammer error...
[10:21:01] *** ngbot has left #angularjs
[10:21:28] *** devylon has quit IRC
[10:22:50] *** Juanchito has joined #angularjs
[10:23:28] *** jillesme has quit IRC
[10:23:47] *** qdk has joined #angularjs
[10:23:52] *** mpw has quit IRC
[10:24:47] *** frem has quit IRC
[10:25:08] *** jstroem has quit IRC
[10:25:21] *** jstroem has joined #angularjs
[10:25:28] *** tripu has quit IRC
[10:25:30] <waverider> is it a good idea to try to add an ngMessage with the error text returned by an form submit AJAX call?
[10:26:40] *** exp10r3r has quit IRC
[10:27:04] *** tkimmel has joined #angularjs
[10:27:06] *** exp10r3r has joined #angularjs
[10:27:10] *** exp10r3r has quit IRC
[10:27:43] *** exp10r3r has joined #angularjs
[10:27:45] *** AR45 is now known as zsh
[10:28:20] *** eamonn has joined #angularjs
[10:29:05] *** DoubleAW has quit IRC
[10:29:31] *** DoubleAW has joined #angularjs
[10:29:45] *** gurke_ has quit IRC
[10:30:07] *** tfennelly has joined #angularjs
[10:30:30] *** zsh is now known as AR45
[10:30:43] *** instence_ has joined #angularjs
[10:30:44] *** lexek__ has joined #angularjs
[10:30:46] *** Chroder has joined #angularjs
[10:31:23] *** AciD`` has joined #angularjs
[10:31:28] *** motionman has quit IRC
[10:31:29] *** tkimmel has quit IRC
[10:32:23] *** instence has quit IRC
[10:33:10] *** yujin has joined #angularjs
[10:33:20] *** raskel has joined #angularjs
[10:34:42] *** p351l has joined #angularjs
[10:35:30] *** kayoone has joined #angularjs
[10:35:53] *** greengriminal has quit IRC
[10:36:47] *** jillesme has joined #angularjs
[10:37:00] *** p351l has quit IRC
[10:37:25] *** eamonn has quit IRC
[10:37:48] *** AR45 is now known as ar45
[10:39:22] *** adpirz has joined #angularjs
[10:40:11] *** tech2 has joined #angularjs
[10:40:32] *** tech2 is now known as Guest54555
[10:40:43] *** wafflej0ck has quit IRC
[10:41:00] *** wafflej0ck has joined #angularjs
[10:42:24] *** jonr22 has joined #angularjs
[10:43:09] *** corehook has quit IRC
[10:43:55] *** tarnus has joined #angularjs
[10:43:55] *** Rejected has joined #angularjs
[10:44:08] *** adpirz has quit IRC
[10:44:55] *** Guest123 has quit IRC
[10:45:13] *** boywonder has quit IRC
[10:45:14] *** teufelChiCoder has joined #angularjs
[10:45:36] *** teufelChiCoder is now known as Guest68779
[10:47:19] *** Guest54555 has quit IRC
[10:47:32] *** jonr22 has quit IRC
[10:47:51] *** jaydubya has joined #angularjs
[10:48:22] *** wd40s has joined #angularjs
[10:48:41] *** Sky[x] has joined #angularjs
[10:49:00] *** DrMabuse has joined #angularjs
[10:49:06] *** tarnus has quit IRC
[10:50:15] *** lgk has joined #angularjs
[10:50:22] <Grokling_> sacho: Are you still lurking?
[10:50:54] *** lgk is now known as larsgk
[10:52:17] <sacho> hmm?
[10:52:24] <Grokling_> Great!
[10:52:31] <Grokling_> So, this thing that was breaking.
[10:52:46] <Grokling_> It's because I'm having to use $injector.get('Factory')
[10:52:57] <Grokling_> which apparently screws up 'this'
[10:53:02] *** tech2_ has joined #angularjs
[10:53:09] *** mtsr has quit IRC
[10:53:22] *** wd40s has quit IRC
[10:53:36] <Grokling_> No $injector, and all is good. (Apart from the circular dependency error which breaks it)
[10:53:55] *** fqawfaf has joined #angularjs
[10:53:57] *** mtsr has joined #angularjs
[10:54:20] <Grokling_> It seems that using $injector makes 'this' refer to 'window'
[10:54:39] <fqawfaf> how do i intergrate angularjs with phalconphp
[10:55:11] *** Joseph_Silber has joined #angularjs
[10:55:18] *** kontinuity has quit IRC
[10:55:34] *** vivek_ has quit IRC
[10:55:47] *** firelinks has quit IRC
[10:56:09] *** Reskp has joined #angularjs
[10:56:18] *** gnrlbzik has joined #angularjs
[10:56:50] *** JosephSilber has quit IRC
[10:57:09] *** Evanion has joined #angularjs
[10:58:28] *** rtpg has quit IRC
[10:58:38] <Grokling_> sacho: I'm trying to replicate in plunker so you can see.
[11:00:42] *** gnrlbzik has quit IRC
[11:00:51] *** frankblizzar has joined #angularjs
[11:01:13] *** m8 has quit IRC
[11:01:27] *** Reskp has quit IRC
[11:01:46] *** m8 has joined #angularjs
[11:02:32] <sacho> huh?
[11:02:42] <sacho> what's the exact code
[11:03:25] *** platonic has joined #angularjs
[11:03:51] *** motionman has joined #angularjs
[11:04:14] <Grokling_> yeah - I'm wondering that too. I just did what I thought was the same thing on plunker, and it worked fine, soo.. it must be another layer down. Going to take me a couple of minutes to figure out how to reproduce it I think.
[11:04:31] *** zzing has quit IRC
[11:05:11] *** edy has joined #angularjs
[11:05:55] *** ciwolsey has joined #angularjs
[11:07:58] *** platonic has quit IRC
[11:08:01] <ProLoser> I really want to tell people on stack overflow "no" to half of their stupid requests
[11:08:09] <ProLoser> but i'm afraid they'll downvote me
[11:09:31] *** zzing has joined #angularjs
[11:10:58] *** fch has joined #angularjs
[11:12:25] *** Nizumzen has quit IRC
[11:12:26] *** neoadventist has joined #angularjs
[11:12:37] *** sk87 has quit IRC
[11:12:39] *** Schtive has joined #angularjs
[11:12:43] *** TheAceOfHearts has quit IRC
[11:12:47] *** huahax has joined #angularjs
[11:13:09] *** rkjdid has joined #angularjs
[11:13:53] *** fch has quit IRC
[11:14:04] <Grokling_> sacho: Got it. I was doing var newInstance = $injector.get('Factory)({id:123}) But, you can't do that - it returns a new instance of window, rather than an instance of Factory.
[11:14:20] <sacho> that's not surprising
[11:14:44] *** yujin has quit IRC
[11:14:46] *** sahbeewah has joined #angularjs
[11:14:52] *** ansu1 has quit IRC
[11:14:54] *** intellix has joined #angularjs
[11:15:13] *** ansu has joined #angularjs
[11:15:44] *** junmin has joined #angularjs
[11:15:52] *** jstroem has quit IRC
[11:16:19] *** dan2k3k4 has joined #angularjs
[11:16:30] <Grokling_> Well, I thought it would work.. Shoulda tested that assumption much much earlier. Still, easily fixed.
[11:18:29] *** dc_ has joined #angularjs
[11:18:51] *** arkin has joined #angularjs
[11:18:51] *** arkin has joined #angularjs
[11:19:39] *** Reskp has joined #angularjs
[11:20:35] *** junmin has quit IRC
[11:20:48] *** sk87 has joined #angularjs
[11:20:48] *** jstroem has joined #angularjs
[11:21:50] *** dc_ has quit IRC
[11:23:05] *** charuru has quit IRC
[11:23:57] *** JMZ_DMZ has left #angularjs
[11:24:08] *** dc_ has joined #angularjs
[11:24:13] *** spaceonline has joined #angularjs
[11:24:23] *** lelu has left #angularjs
[11:24:29] *** gurke_ has joined #angularjs
[11:25:02] *** categoryzero has quit IRC
[11:25:30] *** kontinuity has joined #angularjs
[11:26:23] *** marshall has quit IRC
[11:28:04] *** csch has joined #angularjs
[11:30:30] *** csch_ has joined #angularjs
[11:30:40] *** csch_ has quit IRC
[11:30:41] *** aanne has joined #angularjs
[11:31:44] *** nesquerra has quit IRC
[11:31:53] *** fairuz has quit IRC
[11:31:53] *** numenor has quit IRC
[11:32:17] *** SeeThruHead has quit IRC
[11:32:29] *** numenor has joined #angularjs
[11:32:40] *** marshall has joined #angularjs
[11:33:26] *** waverider has quit IRC
[11:33:51] *** waverider has joined #angularjs
[11:35:19] *** rburns has quit IRC
[11:35:55] *** sk87 has quit IRC
[11:36:01] *** devylon has joined #angularjs
[11:38:27] *** iamaregee2 has joined #angularjs
[11:39:46] *** junmin has joined #angularjs
[11:42:01] <seriema> anyone coding angular in ES6?
[11:42:49] *** deanclkclk_ has joined #angularjs
[11:43:09] *** sikor_sxe has joined #angularjs
[11:43:09] *** doosy has joined #angularjs
[11:44:02] *** junmin has quit IRC
[11:44:14] *** DLSteve has joined #angularjs
[11:44:49] *** IJNX has quit IRC
[11:45:25] *** koorb has joined #angularjs
[11:45:26] *** Left_Turn has joined #angularjs
[11:45:50] *** neoadventist has quit IRC
[11:46:01] *** cakirke has joined #angularjs
[11:46:10] *** mtsr has quit IRC
[11:46:31] *** mtsr has joined #angularjs
[11:46:35] *** Siyfion has joined #angularjs
[11:46:56] *** deanclkclk_ has quit IRC
[11:47:57] *** eamonn has joined #angularjs
[11:48:29] *** Schtive has quit IRC
[11:48:55] *** Gathri has joined #angularjs
[11:49:02] *** arathunku has joined #angularjs
[11:49:30] <Gathri> Hi , Am using 1.3.1 .$event.stopPropogation() not working
[11:50:11] *** arthas has joined #angularjs
[11:50:11] *** arthas has joined #angularjs
[11:50:42] <seriema> Gathri: is it giving any errors? because you misspelled here in IRC
[11:50:44] *** exp10r3r has quit IRC
[11:51:17] *** Kostik1988 has joined #angularjs
[11:52:20] *** Kostik1988 has left #angularjs
[11:52:26] <Gathri> seriema:$event.stopPropogation()
[11:52:34] <Gathri> no error
[11:52:37] *** eamonn has quit IRC
[11:53:04] *** eamonn has joined #angularjs
[11:53:19] <seriema> well, it's spelled stopPropagation but you have stopPropogation ?
[11:54:07] <Gathri> OMG Thank you :-)
[11:54:36] <seriema> that should've given you an error in the console though...
[11:54:39] *** evilaliv3 has quit IRC
[11:55:04] <Gathri> seriema:no error in the console
[11:55:40] <seriema> are errors turned off? because calling an nonexisting function in js WILL give an error
[11:55:54] *** MalteJ has joined #angularjs
[11:55:56] <Gathri> Now fine
[11:56:09] *** spaceonl_ has joined #angularjs
[11:56:12] *** wafflej0ck has quit IRC
[11:57:28] *** motionman has quit IRC
[11:58:01] *** fedenunez has joined #angularjs
[11:58:12] *** Orbitrix has quit IRC
[11:58:18] *** spaceonline has quit IRC
[11:58:18] *** sk87 has joined #angularjs
[11:58:44] *** Orbitrix has joined #angularjs
[11:59:04] *** manurg has joined #angularjs
[11:59:11] *** siovene has joined #angularjs
[11:59:40] *** Oxynum has joined #angularjs
[12:00:03] *** stschwark has joined #angularjs
[12:00:11] *** s3shs has quit IRC
[12:01:15] *** dob__ has joined #angularjs
[12:01:40] *** brwr has joined #angularjs
[12:01:52] *** mak`` has joined #angularjs
[12:02:24] <brwr> The success callback in my `$http.post.then(success, error)` is catching responses with a 400 status code. Any one know why?
[12:02:38] *** instence_ has quit IRC
[12:03:00] *** jillesme has quit IRC
[12:03:23] <manurg> Hi! Just a quick question from an angularjs beginner :) I'm a bit confused when it comes to 'controller as' vs '$scope' syntax. What is currently best practice?
[12:03:40] <brwr> manurg: John Papa's style guide recommends controller as
[12:03:46] *** dob_ has quit IRC
[12:04:05] <brwr> Saving $scope for times when it is necessary, like $scope.$on, $scope.$emit, etc
[12:04:06] *** Shilon has joined #angularjs
[12:04:24] *** doosy has quit IRC
[12:04:31] *** Sky[x] has quit IRC
[12:04:43] <favetelinguis> do i need anything extra to use ng-scenario on node-webkit??
[12:05:16] <seriema> manurg: it'll be easier to transition to 2.0 one day if you use controller as
[12:05:32] <brwr> 2.0 is still over a year away
[12:05:43] <manurg> Thanks! So i just ignore $scope when it is used in docs like ui-router?
[12:05:53] *** mjs2600 has joined #angularjs
[12:06:31] <brwr> That explains what to use instead of $scope
[12:06:46] <manurg> Ok, thanks for the fast response!
[12:06:54] <brwr> (thumbsup)
[12:07:24] *** odin_ has quit IRC
[12:08:37] *** Oxynum has quit IRC
[12:09:19] *** dimetron has quit IRC
[12:09:59] *** jaydubya has quit IRC
[12:10:06] *** soee has joined #angularjs
[12:10:18] *** patric100e99 has joined #angularjs
[12:10:22] *** kentaro0919 has quit IRC
[12:10:23] *** jstroem has quit IRC
[12:10:31] *** jaydubya has joined #angularjs
[12:10:46] *** jstroem has joined #angularjs
[12:10:58] *** duall has joined #angularjs
[12:11:00] <dsdeiz> hey all, anyone got recommendation for displaying error messages?
[12:11:08] *** stschwark has quit IRC
[12:11:40] *** mtsr has quit IRC
[12:12:02] <brwr> dsdeiz: You're question is too vague ;)
[12:12:07] <duall> Is ng-repeat="item in applyFilters(items)" slower than ng-repeat="item in items | applyFiltersFilter" ?
[12:12:13] *** jstroem has quit IRC
[12:12:16] <brwr> What kind of error messages? Context depends a lot for displaying errors.
[12:12:28] *** gunn has quit IRC
[12:12:32] *** Oxynum has joined #angularjs
[12:12:39] <duall> dsdeiz, ngtoastr
[12:12:41] *** jstroem has joined #angularjs
[12:12:51] *** azizur has joined #angularjs
[12:13:17] <brwr> duall: If `applyFilters` is just a wrapper around multiple filters, then it shouldn't matter.
[12:13:45] <brwr> However, filter chaining is a better practice
[12:13:57] <duall> brwr what if i chain inside applyFilters ?
[12:14:17] <brwr> duall: That is abnormal, so I wouldn't recommend it unless you have a good reason to.
[12:14:20] <duall> i want to have this control in the scope controller instead of html
[12:14:40] <duall> currently it looks like this: item in data.appointments | orderBy: sortBy.by : sortBy.reverse | filter: filterService.filterFn(filterService.list, 1) | filter: filterService.filterFn(filterService.list, 2) | filter: filterService.filterFn(filterService.list, 4) | filter:search
[12:14:50] *** jaydubya has quit IRC
[12:14:52] *** patric100e99 has quit IRC
[12:15:11] <brwr> What is filterService.filterFn supposed to do?
[12:15:16] <duall> Also I might considering using events, and do filtering only when event is received. for performance
[12:15:32] <duall> brwr, it filters the items based on many custom rules
[12:15:59] <brwr> duall: Gotcha! Then, yes, I would create a wrapper function too.
[12:16:01] *** tkimmel has joined #angularjs
[12:16:04] *** Grokling_ has quit IRC
[12:16:10] *** Oxynum has quit IRC
[12:16:33] <brwr> duall: I would probably go for "item in items | applyFiltersFilter"
[12:16:33] <duall> brwr can you paste a quick dirty example how would you do that ?
[12:16:39] <dsdeiz> duall: can't find it.. um, where is that one?
[12:16:46] <dsdeiz> brwr: yeah something like 'flash messages'
[12:16:52] <duall> dsdeiz sry i ment toastr
[12:17:07] *** mtsr has joined #angularjs
[12:17:08] *** Shilon has left #angularjs
[12:17:09] <brwr> duall: Give me a couple minutes
[12:17:32] *** jae has joined #angularjs
[12:17:36] <brwr> dsdeiz: What is the context of the errors though? Is the user trying to log in? Did they perform an action that failed? Not all errors are equal.
[12:17:44] *** cotko has joined #angularjs
[12:18:23] *** IJNX has joined #angularjs
[12:18:24] <duall> dsdeiz, i use toasts for everything that does not require user action, and modals in all other cases
[12:18:34] <dsdeiz> yeah it's most likely that.. say in my index.html i have <div class="messages" ng-bind="messages" ng-show="messages"></div> was hoping that anywhere in my controllers or services, i can just simply put $scope.messages = 'Foobar';
[12:19:25] <duall> dsdeiz, you can, just make sure your messages is not a child a scope.. $rootScope.messages = 'Foobar';
[12:19:41] *** instence has joined #angularjs
[12:19:47] <dsdeiz> oh cool. yeah, sorry it's my first tiem using angularjs
[12:19:55] *** DrJae has joined #angularjs
[12:20:36] *** tkimmel has quit IRC
[12:21:06] *** jillesme has joined #angularjs
[12:21:06] *** jillesme has joined #angularjs
[12:21:13] *** Raging_Hog has joined #angularjs
[12:21:24] <dsdeiz> so rootscope is another provider right? like a service as well?
[12:22:08] *** jae has quit IRC
[12:22:15] *** DrJae is now known as Jae
[12:22:18] *** Jae has joined #angularjs
[12:22:20] *** Oxynum has joined #angularjs
[12:22:22] *** rtpg has joined #angularjs
[12:23:03] *** odin_ has joined #angularjs
[12:23:23] <duall> all scopes are children of $rootScope, but you need to inject it into a controller like a service to use it
[12:24:11] <sacho> isolate scopes are not children of rootScope
[12:25:07] *** ngbot has joined #angularjs
[12:25:07]
<ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/tXiyfg
[12:25:07] <ngbot> angular.js/master 830846f Andreas Fischer: docs(guide/Modules): missing "a" in "a collection"...
[12:25:07] *** ngbot has left #angularjs
[12:27:16] *** fedenunez has quit IRC
[12:27:19] *** jstroem has quit IRC
[12:27:39] *** jstroem has joined #angularjs
[12:28:18] *** adpirz has joined #angularjs
[12:28:36] *** Jae is now known as jae
[12:28:58] *** DrMabuse has quit IRC
[12:29:18] *** TyrfingMjolnir has quit IRC
[12:29:41] *** manurg has quit IRC
[12:29:51] *** doosy has joined #angularjs
[12:30:08] *** RangerRick has quit IRC
[12:30:14] *** doosy has quit IRC
[12:30:21] *** doosy has joined #angularjs
[12:30:30] *** RangerRick has joined #angularjs
[12:30:57] <brwr> There's probably a better way to do that, but whatevz
[12:31:16] *** jonr22 has joined #angularjs
[12:31:38] *** huahax has quit IRC
[12:32:47] *** tarnus has joined #angularjs
[12:32:59] *** rburns has joined #angularjs
[12:33:01] *** adpirz has quit IRC
[12:33:34] *** marshall has quit IRC
[12:34:13] *** oncenull has quit IRC
[12:34:21] *** Gathri has quit IRC
[12:35:55] *** Foxandxss has joined #angularjs
[12:36:13] *** ngbot has joined #angularjs
[12:36:13]
<ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/wZwyvA
[12:36:14] <ngbot> angular.js/master ebc3b7b Dim: docs(minerr/unpr): fix code example...
[12:36:14] *** ngbot has left #angularjs
[12:36:17] *** jonr22 has quit IRC
[12:36:33] *** Fabbi has joined #angularjs
[12:36:42] <Fabbi> Hello together
[12:36:59] <Fabbi> Can anyone help my by a problem with $http?
[12:37:02] *** wd40s has joined #angularjs
[12:37:11] *** Oxynum has quit IRC
[12:37:29] <brwr> What's up Fabbi ?
[12:37:34] *** tarnus has quit IRC
[12:37:41] *** sikor_sxe has left #angularjs
[12:38:09] <Fabbi> When i give out the "data" from my request i get all the php file and not the value
[12:38:29] <Fabbi> like this
[12:38:29] <Fabbi> <?php /* Datenbankverbindung öffnen require_once('mysql.php'); $query = sprintf("INSERT INTO user(login,passwort,vorname,nachname,mail) VALUES ('%s','%s','%s','%s','%s');", mysql_real_escape_string($_POST['ln']), mysql_real_escape_string($_POST['pw']), mysql_real_escape_string($_POST['vn']), mysql_real_escape_string($_POST['nn']), mysql_real_escape_string($_POST['em'])); mysql_query($query); echo "true"; */ $postdata
[12:38:39] <brwr> That means your request probably didn't match a route set up by your PHP server
[12:38:52] *** Oxynum has joined #angularjs
[12:38:55] <duall> brwr, how do i call ApplyFilterSet ?
[12:39:07] *** nagappan_ has quit IRC
[12:39:11] <duall> in repeat or event based ?
[12:39:38] <brwr> duall: `var filters = [....]; var transformed = ApplyFilterSet.apply(arr, filters);`
[12:39:44] <Foxandxss> I want to open a discussion here. We have been told always that knowing different languages, forces us to learn new paradigms, new ways of doing code but then we are being told that doing node is good because we don't need to swap to another language. What do you think?
[12:39:49] *** nagappan_ has joined #angularjs
[12:39:53] <brwr> Then repeat over transformed
[12:40:07] *** ahtik has joined #angularjs
[12:40:14] *** numenor has quit IRC
[12:40:38] <brwr> Foxandxss: What do YOU think?
[12:40:38] *** ctanga has joined #angularjs
[12:40:44] <Fabbi> brwr it´s right thank you my localhost was wrong on my website it works! Thank you
[12:40:46] *** jas-_ has quit IRC
[12:40:53] <brwr> Fabbi: My pleasure :)
[12:40:59] <Foxandxss> brwr: I don't know tbh, that is why I open the discussion
[12:41:19] <brwr> Foxandxss: For a discussion to work, you must have an opinion about what you're discussing. ;)
[12:41:28] <Foxandxss> sure
[12:41:51] <Foxandxss> I think that both ways are correct, but maybe focusing on one is more realistic perhaps?
[12:42:12] <brwr> Foxandxss: There is a right tool for most jobs. If that tool is JavaScript based, then go ahead and use it. If not, then using JavaScript so you don't have to learn a new language is just silly.
[12:42:26] *** derrzzaa has quit IRC
[12:42:28] *** mickhansen has quit IRC
[12:42:29] *** wd40s has quit IRC
[12:42:56] <brwr> Foxandxss: There is also a time for learning new technologies purely for the sake of learning. You must be careful to make sure you do so appropriately.
[12:43:27] *** ehalas3 has quit IRC
[12:43:30] *** numenor has joined #angularjs
[12:43:31] <Foxandxss> yeah, I agree
[12:43:50] <Foxandxss> but using JS in let's say node in our case (angular devs) is not for being lazy but to not do a mental switch
[12:43:59] *** kontinuity has quit IRC
[12:44:04] *** mjs2600 has quit IRC
[12:44:44] <brwr> Foxandxss: There is always a context switching process, regardless of the tool you use. Just because Angular and Node are both written in JavaScript doesn't mean they follow the same philosophy.
[12:44:58] *** intellix has quit IRC
[12:45:04] <Foxandxss> indeed
[12:45:07] *** gnrlbzik has joined #angularjs
[12:45:09] *** RedOrangeZ has joined #angularjs
[12:45:32] <Foxandxss> People say that you change lenguage to change philosophy but I also see that as true when changing fron angular to node
[12:45:36] <Foxandxss> or even to ionic even when it is angular
[12:45:38] <Foxandxss> but different ideas
[12:46:15] *** jstroem has quit IRC
[12:46:19] *** Fabbi has quit IRC
[12:47:09] *** amirn has quit IRC
[12:48:27] *** webdo is now known as vinilios
[12:48:34] *** Left_Turn has quit IRC
[12:48:57] *** sheerun has joined #angularjs
[12:49:47] *** mjs2600 has joined #angularjs
[12:49:56] *** gnrlbzik has quit IRC
[12:50:20] <jaznow> hi all, could anyone give me a hint on this, why bower install highcharts.com is not installing the js files of highcharts?
[12:51:02] *** seriema has quit IRC
[12:51:05] <jaznow> I only have config files in bower_components/highchart.com
[12:51:22] *** SeeThruHead has joined #angularjs
[12:51:36] *** seriema has joined #angularjs
[12:51:37] <jaznow> (bower-info.js bower.json changelog.htm gruntfile.js invalidations.txt package.json), what could I be missing?
[12:52:09] *** platonic has joined #angularjs
[12:52:28] *** Sebastien-L has joined #angularjs
[12:53:24] *** brettfrable has joined #angularjs
[12:53:51] *** jaydubya has joined #angularjs
[12:53:53] *** mjs2600 has quit IRC
[12:54:23] <Foxandxss> I think bower.json has information
[12:54:29] <Foxandxss> of what it pulls and what it ignores
[12:54:39] <Foxandxss> brwr: thanks for your perspective btw :)
[12:54:59] <brwr> ;) Of course
[12:55:23] *** zemanel has joined #angularjs
[12:55:36] *** sk87 has quit IRC
[12:55:53] *** seriema has quit IRC
[12:56:10] <Foxandxss> and there are no more perspectives, damn
[12:56:27] *** japhar81 has quit IRC
[12:56:28] <Foxandxss> when I ask, I always get this kind of responses
[12:56:30] <Foxandxss> 1 or none
[12:56:31] <Foxandxss> :P
[12:56:53] *** ludkiller has quit IRC
[12:56:54] *** platonic has quit IRC
[12:57:43] *** Sjimi has joined #angularjs
[12:58:44] *** ludkiller has joined #angularjs
[13:00:06] *** mot0rola has quit IRC
[13:00:24] *** Trow1 has joined #angularjs
[13:00:31] *** uru|away is now known as uru
[13:01:07] *** frankblizzar has quit IRC
[13:02:00] *** HEx2 has joined #angularjs
[13:02:05] *** Trow has quit IRC
[13:02:07] *** Reskp_ has joined #angularjs
[13:02:07] *** sk87 has joined #angularjs
[13:02:20] *** HEx1 has quit IRC
[13:03:28] *** intellix has joined #angularjs
[13:04:13] *** Reskp has quit IRC
[13:04:15] *** moritzs has quit IRC
[13:04:26] *** cxz has joined #angularjs
[13:04:58] <cxz> what is the correct method for running a function on element DOM readiness?
[13:05:35] *** doosy has quit IRC
[13:05:35] *** macobo has joined #angularjs
[13:06:00] *** DrMabuse has joined #angularjs
[13:06:51] *** kontinuity has joined #angularjs
[13:07:07] *** Trow1 has quit IRC
[13:08:12] *** jillesme has quit IRC
[13:09:23] *** mot0rola has joined #angularjs
[13:09:46] *** mjs2600 has joined #angularjs
[13:09:47] *** fightingaf has joined #angularjs
[13:09:52] <fightingaf> hi
[13:10:08] *** fightingaf has quit IRC
[13:10:11] *** jstroem has joined #angularjs
[13:11:32] <jaydubya> Foxandxss: Feeling better?
[13:11:37] *** jstroem has quit IRC
[13:11:41] *** ehalas has joined #angularjs
[13:12:01] <sacho> cxz, what's "element DOM readiness"?
[13:12:03] *** jstroem has joined #angularjs
[13:12:05] *** drej has joined #angularjs
[13:12:29] <cxz> sacho: i have an css id like so: id="{{box-$index}}"
[13:12:42] *** jstroem has quit IRC
[13:13:02] <cxz> sacho: so if i use ng-init (possibly incorrect method for this), then that function won't be able to draw on that element since it hasn't been loaded
[13:13:11] *** jstroem has joined #angularjs
[13:13:20] *** annlewis has joined #angularjs
[13:13:25] *** IJNX has quit IRC
[13:13:26] <Foxandxss> jaydubya: I guess :P
[13:13:44] *** mot0rola has quit IRC
[13:13:57] <jaydubya> Foxandxss: then I guess that's good to hear
[13:14:23] *** vansever1 is now known as vanseverk
[13:15:04] *** intellix has quit IRC
[13:15:07] <Foxandxss> yeah, will tell later when I start to think again
[13:15:17] *** atomatt has joined #angularjs
[13:15:26] *** azizur has quit IRC
[13:15:35] *** nagappan_ has quit IRC
[13:15:58] *** aendrew has joined #angularjs
[13:16:19] *** nagappan_ has joined #angularjs
[13:16:31] <sacho> cxz, a directive's postLink function would be when the element is already appended
[13:17:28] *** patrickreck has joined #angularjs
[13:17:38] *** melter has quit IRC
[13:18:10] *** patrickreck is now known as pRe
[13:18:40] *** pRe is now known as Guest85668
[13:18:47] <cxz> sacho: i guess it's bad to draw an svg to an element using ng-init?
[13:19:32] * sacho shrugs
[13:20:32] *** Oxynum has quit IRC
[13:22:21] <jcool> Dragory, I found that curl request showed some max-age on response it threw from server side. Could that be reason for caching as I discussed last night?
[13:22:28] *** jstroem has quit IRC
[13:22:35] *** jlebrech has quit IRC
[13:23:22] *** Oxynum has joined #angularjs
[13:24:36] *** IJNX has joined #angularjs
[13:25:02] *** ehalas has quit IRC
[13:25:09] *** diosney has joined #angularjs
[13:25:43] *** FunnyLookinHat has joined #angularjs
[13:25:45] *** dnull has quit IRC
[13:25:46] *** jstroem has joined #angularjs
[13:25:49] *** Siyfion has quit IRC
[13:26:04] *** Siyfion has joined #angularjs
[13:26:19] *** soee_ has joined #angularjs
[13:26:20] *** fraenzn has quit IRC
[13:26:32] *** Ihab has joined #angularjs
[13:26:51] *** ehalas has joined #angularjs
[13:27:02] *** ihab has joined #angularjs
[13:27:13] *** hekep has quit IRC
[13:27:22] *** soee has quit IRC
[13:27:59] *** diosney has quit IRC
[13:28:43] *** marshall has joined #angularjs
[13:28:58] *** ihab has quit IRC
[13:30:17] *** mickhansen has joined #angularjs
[13:30:27] *** rosieres has joined #angularjs
[13:30:29] *** ProLoser has quit IRC
[13:30:53] *** melter has joined #angularjs
[13:30:54] *** nagappan_ has quit IRC
[13:31:05] *** derrzzaa has joined #angularjs
[13:31:14] *** dimetron has joined #angularjs
[13:31:30] *** borvoh has quit IRC
[13:31:34] *** nagappan_ has joined #angularjs
[13:31:51] *** sojic has joined #angularjs
[13:32:10] *** borvoh has joined #angularjs
[13:32:11] *** ehalas has quit IRC
[13:33:47] *** gossen has quit IRC
[13:33:52] *** marshall has quit IRC
[13:34:13] *** duall has quit IRC
[13:35:06] *** arkin has quit IRC
[13:36:23] *** mmealling has quit IRC
[13:37:39] *** oncenull has joined #angularjs
[13:37:51] *** wd40s has joined #angularjs
[13:38:46] *** dharmit has quit IRC
[13:38:50] *** mrded has joined #angularjs
[13:40:42] *** shop60 has joined #angularjs
[13:41:41] *** cornerma1 has joined #angularjs
[13:41:52] *** doosy has joined #angularjs
[13:42:10] *** sacho has quit IRC
[13:42:16] *** drej has quit IRC
[13:42:27] *** wd40s has quit IRC
[13:42:35] *** sacho has joined #angularjs
[13:42:41] *** shop60 is now known as flashdisastr
[13:42:55] *** damain has joined #angularjs
[13:43:28] *** kontinuity has quit IRC
[13:43:37] *** rtpg has quit IRC
[13:44:02] *** rtpg has joined #angularjs
[13:44:06] *** ahtik has quit IRC
[13:44:44] *** cornerman has quit IRC
[13:44:49] *** cornerma1 is now known as cornerman
[13:45:21] *** Oxynum has quit IRC
[13:45:38] *** jlebrech has joined #angularjs
[13:45:52] *** gnrlbzik has joined #angularjs
[13:46:12] *** Oxynum has joined #angularjs
[13:47:16] *** duall has joined #angularjs
[13:48:05] *** draconis-chomp has joined #angularjs
[13:49:19] *** azizur has joined #angularjs
[13:49:40] *** doosy has quit IRC
[13:50:36] *** gnrlbzik has quit IRC
[13:50:49] *** eamonn has quit IRC
[13:51:07] *** crakrjak_respawn has joined #angularjs
[13:51:17] *** Nizumzen has joined #angularjs
[13:51:55] *** seriema has joined #angularjs
[13:52:43] *** lsiv568 has joined #angularjs
[13:53:53] *** ansu has quit IRC
[13:54:14] *** ansu has joined #angularjs
[13:54:14] *** jstroem has quit IRC
[13:54:17] *** aendrew has quit IRC
[13:55:02] *** jstroem has joined #angularjs
[13:56:09] *** seriema has quit IRC
[13:56:17] *** skakri has left #angularjs
[13:56:22] *** jolts has quit IRC
[13:56:40] *** howitdo has quit IRC
[13:56:43] *** kontinuity has joined #angularjs
[13:57:16] *** jolts has joined #angularjs
[13:57:32] *** stylemistake|b1 has joined #angularjs
[13:57:37] *** fairuz has joined #angularjs
[13:57:43] <dsdeiz> where in the docs do i see the parameters for $routeChangeSuccess?
[13:58:34] *** Left_Turn has joined #angularjs
[14:00:26] *** tarnus has joined #angularjs
[14:00:31] *** MattWelch has joined #angularjs
[14:00:45] *** cesarkawakami has joined #angularjs
[14:00:57] *** numenor has quit IRC
[14:02:50] <fairuz> weird
[14:02:59] *** monir has quit IRC
[14:03:16] *** crakrjak_respawn has quit IRC
[14:03:22] <dsdeiz> oh i wasn't using ui-router
[14:03:23] *** sahbeewah has quit IRC
[14:03:49] *** duall has quit IRC
[14:03:57] <stylemistake|b1> hi, how can i filter a list inside ng-repeat by calling its named method?
[14:04:02] <dsdeiz> ah, ui-router is $stateChangeSuccess it seems
[14:04:18] <dsdeiz> was looking for the one in ngRoute
[14:04:32] *** rchavik has quit IRC
[14:04:45] *** duall has joined #angularjs
[14:05:03] *** tkimmel has joined #angularjs
[14:06:08] *** sheerun has quit IRC
[14:06:32] *** intellix has joined #angularjs
[14:06:46] <ioudas> how do i reference a ng-model from another element that is on a view? I cant seem to get access to it.... and I need the values from the check box added to my controller?
[14:06:55] *** rtpg has quit IRC
[14:07:00] <fairuz> dsdeiz: Oh right. sorry
[14:07:02] *** shinnya has joined #angularjs
[14:07:14] <fairuz> I didn't found it in the ngRoute doc either
[14:07:17] *** whitebook has joined #angularjs
[14:08:00] *** Evanion has quit IRC
[14:08:03] *** wd40s has joined #angularjs
[14:09:07] *** akrikos has joined #angularjs
[14:09:29] *** tkimmel has quit IRC
[14:09:34] *** jillesme has joined #angularjs
[14:10:06] *** alinouman has joined #angularjs
[14:10:14] *** jstroem has quit IRC
[14:10:26] *** Oxynum has quit IRC
[14:10:29] *** frankblizzar has joined #angularjs
[14:10:34] *** tomzx`afk is now known as tomzx
[14:10:34] *** howitdo has joined #angularjs
[14:10:38] *** jstroem has joined #angularjs
[14:10:45] *** ciro_nunes has joined #angularjs
[14:11:09] *** ciro_nunes is now known as Guest92788
[14:11:15] *** patric100e99 has joined #angularjs
[14:11:44] *** sk87 has quit IRC
[14:12:20] *** jstroem has quit IRC
[14:12:42] *** jstroem has joined #angularjs
[14:14:11] *** jolts has quit IRC
[14:14:34] *** fedenunez has joined #angularjs
[14:14:47] *** aendrew has joined #angularjs
[14:15:01] *** spatialbrew has joined #angularjs
[14:15:37] *** rtpg has joined #angularjs
[14:15:44] *** patric100e99 has quit IRC
[14:16:02] *** azizur has quit IRC
[14:16:27] *** Guest92788 is now known as ciro_nunes
[14:17:02] *** cakirke has quit IRC
[14:17:14] *** adpirz has joined #angularjs
[14:17:48] *** tfennelly has quit IRC
[14:17:49] *** glosoli has quit IRC
[14:18:26] *** azizur has joined #angularjs
[14:18:28] <dsdeiz> i think it might be because it only happens on routeChangeSuccess?
[14:18:49] *** bips has joined #angularjs
[14:19:34] <bips> how to get ng-init value in angular controller
[14:19:53] *** bips has quit IRC
[14:20:03] *** tristanp has joined #angularjs
[14:20:09] *** jonr22 has joined #angularjs
[14:21:08] <sacho> don't use ng-init.
[14:21:12] *** flashdisastr has quit IRC
[14:21:44] *** adpirz has quit IRC
[14:21:49] *** devinandrews has quit IRC
[14:21:54] <sacho> ng-init resolves during the preLink phase, which is after your controller has executed
[14:22:01] *** seriema has joined #angularjs
[14:22:47] *** scythe__ has joined #angularjs
[14:22:51] *** m1hael has left #angularjs
[14:23:00] *** loverajoel has joined #angularjs
[14:23:03] *** m8 has quit IRC
[14:23:04] *** jas-_ has joined #angularjs
[14:23:08] <ioudas> how do i reference a ng-model from another element that is on a view? I cant seem to get access to it.... and I need the values from the check box added to my controller?
[14:23:21] *** m8 has joined #angularjs
[14:24:17] <jaydubya> what is a full-featured authentication option for Angular?
[14:25:09] <jaydubya> ^ using a mySQL solution
[14:25:09] *** jonr22 has quit IRC
[14:25:20] *** PrinceAMD has joined #angularjs
[14:26:34] *** davesidious__ is now known as davesidious
[14:27:00] *** favetelinguis has quit IRC
[14:27:05] *** seriema has quit IRC
[14:27:11] *** rtpg has quit IRC
[14:27:17] *** livingstn has joined #angularjs
[14:27:32] *** favetelinguis has joined #angularjs
[14:27:57] *** Schtive has joined #angularjs
[14:28:03] *** TyrfingMjolnir has joined #angularjs
[14:28:19] *** cswelin has quit IRC
[14:28:24] *** jolts has joined #angularjs
[14:28:36] *** glosoli has joined #angularjs
[14:28:39] *** hswolff has quit IRC
[14:28:45] *** FabianCook has left #angularjs
[14:29:00] *** sk87 has joined #angularjs
[14:30:36] *** DannyCal_ has joined #angularjs
[14:30:36] *** marshall has joined #angularjs
[14:30:36] *** livingstn has quit IRC
[14:30:36] *** cswelin has joined #angularjs
[14:30:36] *** livingstn has joined #angularjs
[14:30:36] *** hswolff has joined #angularjs
[14:30:50] *** livingstn has quit IRC
[14:31:29] *** annlewis has quit IRC
[14:31:29] *** livingstn has joined #angularjs
[14:31:46] *** favetelinguis has quit IRC
[14:31:47] *** Reskp_ has quit IRC
[14:32:16] *** leena has joined #angularjs
[14:32:35] *** Reskp has joined #angularjs
[14:32:40] *** MalteJ has quit IRC
[14:32:56] *** gidoca has joined #angularjs
[14:33:06] <leena> can any one knows how to put meta tag for each routes pages
[14:33:10] *** teufelChiCoder has joined #angularjs
[14:33:12] *** fraenzn has joined #angularjs
[14:33:26] *** DannyCallaghan has quit IRC
[14:33:34] *** teufelChiCoder is now known as Guest26455
[14:33:37] *** gidoca has quit IRC
[14:34:07] *** AngularUI has joined #angularjs
[14:34:07]
<AngularUI> [ng-grid] HampusLilja opened pull request #2060: fixed issue #1838, grid option: headerRowHeight (master...enableGridOptionRowHeaderHeight) http://git.io/L5Rh_g
[14:34:07] *** AngularUI has left #angularjs
[14:34:36] <leena> please help me frnds....how to put meta tag for each routes pages
[14:34:42] *** adi has joined #angularjs
[14:34:46] *** marshall has quit IRC
[14:34:49] *** dan2k3k4 has quit IRC
[14:35:15] *** whitebook has quit IRC
[14:35:31] <adi> hello there
[14:35:44] *** dan2k3k4 has joined #angularjs
[14:35:45] <adi> guys can someone talk to me?
[14:36:01] <Chepra> nope
[14:36:06] <frobs> leena, the same meta tag?
[14:36:29] *** azizur has quit IRC
[14:37:04] <frobs> or is variable depending of the route
[14:37:36] <leena> frobs: yah i have defined meta tag in index.html and i want to pass title,description dynamically from controller when route chages
[14:37:42] *** arpu has joined #angularjs
[14:38:40] *** danecando has quit IRC
[14:38:51] *** bkuberek has joined #angularjs
[14:38:52] <frobs> leena, you can use a variable in your template and overwrite this on every controller
[14:39:50] *** kontinuity has quit IRC
[14:40:24] <leena> frobs: i have done <meta property="og:title" content="{{ page.title }}" /> <meta property="og:description" content="{{ page.description }}" /> and from controller i am doing $rootScope.metadata.title = data.job_title; $rootScope.metadata.description = data.job_description;
[14:40:32] *** kontinuity has joined #angularjs
[14:40:41] <leena> but not working
[14:40:51] *** annlewis has joined #angularjs
[14:40:57] *** platonic has joined #angularjs
[14:41:30] <sacho> where's your ng-app
[14:41:41] *** rtpg has joined #angularjs
[14:41:42] *** martianboy has quit IRC
[14:41:46] *** kontinuity has quit IRC
[14:41:53] <sacho> also page.title != metadata.title
[14:42:03] *** kontinuity has joined #angularjs
[14:42:35] <leena> sacho: in body
[14:42:36] *** ahtik has joined #angularjs
[14:42:47] <sacho> well, then angular wouldn't process things outside of the body
[14:43:24] *** whitebook has joined #angularjs
[14:43:33] <leena> sacho: can i put on html tag
[14:43:39] <leena> will it work
[14:43:53] <brwr> leena: It's worth noting that what you're doing won't work anyways.
[14:44:02] *** Guest26455 has quit IRC
[14:44:19] <brwr> leena: I assume these meta tags are for Facebook/Google?
[14:44:49] <brwr> leena: Their crawlers do not parse JavaScript, so your `og:title` property may literally end up as "{{ page.title }}".
[14:44:50] *** seriema has joined #angularjs
[14:44:54] *** teeray has joined #angularjs
[14:45:24] <leena> brwr: yah for facebook
[14:45:30] *** platonic has quit IRC
[14:45:30] *** seriema has joined #angularjs
[14:45:37] *** cboden has joined #angularjs
[14:45:55] <brwr> leena: SEO is the bain of the single page app's existence ;)
[14:46:07] <brwr> There are ways around these problems, but they aren't trivial.
[14:46:37] <brwr> leena: You can also DIY with PhantomJS, but you'll need to do some research.
[14:46:39] <leena> brwr: can you tell me how to solve this
[14:46:40] *** favetelinguis has joined #angularjs
[14:46:49] *** whitebook has quit IRC
[14:46:50] <brwr> leena: No. Frankly, it's too involved.
[14:47:03] *** mrded has quit IRC
[14:47:18] *** klaut has quit IRC
[14:47:23] *** knownasilya has joined #angularjs
[14:47:33] *** mmealling has joined #angularjs
[14:47:38] <brwr> leena: The gist of it is that you want to serve pre-rendered pages to any user identified as a bot. These pre-rendered pages will include all the necessary content, meta tags, etc for good SEO.
[14:47:39] *** juristr has joined #angularjs
[14:49:02] <leena> brwr: ok will try
[14:49:26] <brwr> leena: :) Good luck
[14:49:51] <leena> brwr: thanks :(
[14:50:04] *** dsdeiz has quit IRC
[14:50:11] <bd-> googlebot does parse javascript
[14:50:15] <bd-> and can crawl angular apps
[14:50:29] *** adi has quit IRC
[14:50:35] <bd-> but you need to use actual href's on your links, it won't correctly follow ui-sref links, for example
[14:50:39] *** tplaner has joined #angularjs
[14:51:03] <jagga_> hoi, I'm going to be using $window.open to point towards my api which returns a file download (HttpResponseMessage for those of you who have exp with C# api's) and I'm trying to dig up some documentation on how to pass through parameters to the $window.open call.
[14:51:35] <jagga_> I'm already using $location.url etc in my controller which also takes in the same parameters that this call will be taking. Is this something really trivial? or is it not possible at all in an angular way?
[14:51:46] *** mven has quit IRC
[14:51:48] *** Eslaron_ has joined #angularjs
[14:51:52] <Eslaron_> Hello :)
[14:51:53] *** cacts has joined #angularjs
[14:51:58] <jagga_> $location.url('/usage/').search({
[14:51:58] <jagga_> startDate: $scope.startDate,
[14:51:58] <jagga_> endDate: $scope.endDate,
[14:51:58] <jagga_> productId: $scope.productId
[14:51:58] *** hardyvent has joined #angularjs
[14:52:17] <sacho> don't paste in the channel
[14:52:21] <jagga_> fuark sorry about that, when I pasted it into the window it was on 1 line and then it goes and spreads itself out
[14:52:43] *** jdj_dk_ has joined #angularjs
[14:52:50] <Helzibah> if it was on one line it wouldn't be readable anyway!
[14:52:53] <Helzibah> use a pastebin of some form
[14:53:07] <duall> it would be readable guys chillax
[14:53:19] *** brettfrable has quit IRC
[14:53:21] <jagga_> well the point I'm trying to make is $location.url('/bla/') and then I use the .search({ params, potatoes and tomatoes })
[14:53:24] *** azizur has joined #angularjs
[14:53:46] <jagga_> but now I need to use $window.open to point towards a download api location
[14:54:16] *** luke_66 has joined #angularjs
[14:54:20] *** tkimmel has joined #angularjs
[14:54:24] <luke_66> hi everyone
[14:54:26] <jagga_> and the only bit of documentation on the angularjs docs site for $window isn't really useful but from what I can make out the first is the URL, 2nd I have no idea, and the last is the window dimensions (irrelevant to me)
[14:55:00] <jagga_> So like $window.open({{url}}, {{don't know what the potato this is}}, {{width =500 etc}});
[14:55:15] <jagga_> Can someone point me towards some doc which is a little more descriptive ?
[14:56:02] *** jdj_dk has quit IRC
[14:56:10] *** technickul has joined #angularjs
[15:03:40] *** echelog-2 has joined #angularjs
[15:03:47] *** Zaran has joined #angularjs
[15:03:48] *** deranged_user has joined #angularjs
[15:03:57] *** hardyvent has left #angularjs
[15:03:57] *** AciD` has joined #angularjs
[15:05:38] <luke_66> hardyvent: I have to do it since the django templating ssystem uses '{{' and '}}' as well
[15:05:43] *** hardyvent has joined #angularjs
[15:05:44] *** Diabolik has joined #angularjs
[15:05:49] *** glosoli has quit IRC
[15:05:50] *** lele has joined #angularjs
[15:05:53] *** DannyCallaghan has joined #angularjs
[15:05:54] <Foxandxss> mixing server side templating with angular templating is problematic
[15:06:03] *** aendrew has quit IRC
[15:06:03] *** duall has quit IRC
[15:06:37] *** AlexZan has joined #angularjs
[15:06:52] <jagga_> Coming back to $window angular service, there has to be a better way to find out the available methods ?
[15:07:10] <jagga_> My ide (visual studio) when I do $window. it just brings up far too many to know which ones are unique
[15:07:10] <jagga_> to $window
[15:07:11] <zomg> jagga_: isn't $window just window
[15:07:11] *** bkuberek has quit IRC
[15:07:11] <jagga_> It is
[15:07:34] <zomg> yeah, so just look at the documentation for that?
[15:07:36] *** tfennelly has joined #angularjs
[15:07:46] <jagga_> I've never used it before so didn't know it was also a html object
[15:07:49] <jagga_> cheers
[15:07:54] *** AtomicCookie has joined #angularjs
[15:08:11] <zomg> yep it should just be the bog standard DOM window object :)
[15:08:34] <jagga_> it is indeed cheers
[15:09:04] *** zivester has joined #angularjs
[15:10:24] *** dsdeiz has joined #angularjs
[15:10:26] *** motionman has joined #angularjs
[15:10:43] *** FIFOd[a] has joined #angularjs
[15:11:17] *** aendrew has joined #angularjs
[15:11:26] *** bostonaholic has joined #angularjs
[15:12:00] *** flashdisastr has joined #angularjs
[15:12:40] *** cbeacock1 has joined #angularjs
[15:12:52] *** moafoca has joined #angularjs
[15:13:12] *** Oddman has joined #angularjs
[15:13:12] *** cesarkawakami has quit IRC
[15:13:44] *** cesarkawakami has joined #angularjs
[15:14:24] *** dmack has joined #angularjs
[15:15:14] *** caitp has joined #angularjs
[15:15:40] *** shinnya has quit IRC
[15:15:47] *** Oxynum has joined #angularjs
[15:15:52] *** whiteboo_ has joined #angularjs
[15:17:03] *** mven has joined #angularjs
[15:17:22] *** jstroem has quit IRC
[15:17:29] *** michaelSharpe has joined #angularjs
[15:17:52] *** jstroem has joined #angularjs
[15:17:52] *** duall has joined #angularjs
[15:18:17] *** aendrew has quit IRC
[15:18:34] *** whitebook has quit IRC
[15:18:36] *** Aerospark has joined #angularjs
[15:18:39] *** cbeacock1 has quit IRC
[15:18:51] *** Aerospark has quit IRC
[15:19:00] *** doodlehaus has joined #angularjs
[15:19:09] *** ProLoser has joined #angularjs
[15:19:30] *** diosney has joined #angularjs
[15:19:47] *** bostonaholic has quit IRC
[15:19:49] *** simplyshipley has joined #angularjs
[15:20:29] *** cbeacock1 has joined #angularjs
[15:20:42] *** moritzs has joined #angularjs
[15:20:50] *** azizur has joined #angularjs
[15:20:56] *** jillesme has quit IRC
[15:20:58] *** dman777_alter has joined #angularjs
[15:21:06] *** prosper_ has joined #angularjs
[15:22:39] *** jaredwilli has joined #angularjs
[15:22:55] *** azizur6 has joined #angularjs
[15:22:59] *** spaceonl_ has quit IRC
[15:23:05] *** DLSteve has quit IRC
[15:23:46] *** ProLoser has quit IRC
[15:23:47] <jieryn> but i confirm that my templates are available, if i navigate directly to templates/datepicker/datepicker.html it is shown....
[15:25:16] *** azizur has quit IRC
[15:25:49] *** mary5030 has joined #angularjs
[15:25:53] *** bostonaholic has joined #angularjs
[15:25:59] <BahamutWC> I think the library might not be quite ready for 1.3 it seems since that issue is still open
[15:26:15] *** lsiv568 has quit IRC
[15:26:48] <jieryn> doh! i'm sorry to have wasted your time; i didn't even check their issues... thanks for finding that!
[15:26:51] *** junmin has joined #angularjs
[15:27:02] <BahamutWC> jieryn: np, you weren't insane (well, not in this case at least :P )
[15:27:05] <jieryn> :)
[15:28:02] <tristanp> is there any way to "hide" the contents of index.html on page load until all the resolves have fired from ng router?
[15:28:10] *** cakirke has joined #angularjs
[15:28:13] *** jillesme has joined #angularjs
[15:28:20] <Lakario> you can ng-cloak the app or controller
[15:28:33] <Lakario> you'll need angular css for it
[15:28:46] <Lakario> [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
[15:28:46] <Lakario> display: none !important;
[15:28:46] <Lakario> }
[15:28:57] *** technickul has quit IRC
[15:29:01] *** dman777_alter has quit IRC
[15:29:22] *** aendrew has joined #angularjs
[15:29:30] <BahamutWC> I thought angular generates the CSS when not using ng-csp?
[15:29:30] *** jmckind has joined #angularjs
[15:29:31] *** juanpablo_ has joined #angularjs
[15:29:44] *** lsiv568 has joined #angularjs
[15:29:57] <Lakario> For the best result, the angular.js script must be loaded in the head section of the html document; alternatively, the css rule above must be included in the external stylesheet of the application.
[15:30:01] <Lakario> looks like you can go either or
[15:30:25] <Lakario> the idea is that the the css needs to be registered with a blocking action in order for ng-cloak to work
[15:30:37] <Lakario> whether it's via the js or an explicit css rule
[15:30:46] *** marshall has joined #angularjs
[15:30:57] *** Sebastien-L has quit IRC
[15:31:22] *** arthas has quit IRC
[15:31:30] *** dnewkerk has quit IRC
[15:31:38] *** mkc___ has joined #angularjs
[15:31:38] *** jstroem has quit IRC
[15:31:47] *** nerder has joined #angularjs
[15:31:52] *** bkuberek has joined #angularjs
[15:31:53] <nerder> hello
[15:32:04] *** jstroem has joined #angularjs
[15:32:16] *** arthas has joined #angularjs
[15:32:17] *** arthas has joined #angularjs
[15:32:29] *** guiambros has joined #angularjs
[15:32:46] *** jstroem has quit IRC
[15:33:39] *** Reskp has quit IRC
[15:33:43] *** g33k5z has joined #angularjs
[15:34:16] *** Eslaron_ has quit IRC
[15:34:55] *** azizur6 has quit IRC
[15:35:11] *** jshultz has joined #angularjs
[15:35:31] *** ccare has joined #angularjs
[15:35:36] *** marshall has quit IRC
[15:35:37] *** ahtik has quit IRC
[15:35:50] *** DigitallyBorn has joined #angularjs
[15:35:53] *** dsdeiz has quit IRC
[15:36:24] *** whiteboo_ has quit IRC
[15:36:33] *** rtpg has quit IRC
[15:36:57] *** whitebook has joined #angularjs
[15:37:00] *** FunnyLookinHat has quit IRC
[15:37:06] *** kuadrosx has joined #angularjs
[15:37:47] *** monir has quit IRC
[15:37:54] *** bostonaholic has quit IRC
[15:37:59] *** dsdeiz has joined #angularjs
[15:41:16] *** azizur has joined #angularjs
[15:41:39] *** jstroem has joined #angularjs
[15:41:51] *** bmac has joined #angularjs
[15:41:52] *** mccarrontr1ck has joined #angularjs
[15:42:23] *** moritzs has quit IRC
[15:43:25] *** Z3R0 has joined #angularjs
[15:44:02] *** jillesme has quit IRC
[15:44:23] <tristanp> hmm
[15:44:27] *** aendrew has quit IRC
[15:44:40] *** Snugug has joined #angularjs
[15:44:47] *** zlalanne has joined #angularjs
[15:44:48] <tristanp> i tried including the css but it still flickers the index before redirecting. will look into the load order a bit more
[15:45:22] *** jstroem has quit IRC
[15:45:47] *** jstroem has joined #angularjs
[15:46:26] *** jstroem has joined #angularjs
[15:46:49] *** btyne has joined #angularjs
[15:47:05] *** marcjs has joined #angularjs
[15:47:05] *** moritzs has joined #angularjs
[15:47:06] *** stschwark has joined #angularjs
[15:47:20] *** spatialbrew has quit IRC
[15:47:48] *** Oddman has quit IRC
[15:48:16] <tristanp> Lakario: well i make sure to load the stylesheet with the cloaking css and the app all in the head, but it still shows the index.html before resolving the router. i have ng-cloak on the body tag, is that correct?
[15:48:28] *** shackleford has joined #angularjs
[15:48:37] *** Oddman has joined #angularjs
[15:48:39] *** nycdevgirl has joined #angularjs
[15:49:49] *** Aerospark has joined #angularjs
[15:49:56] *** bostonaholic has joined #angularjs
[15:50:11] *** jillesme has joined #angularjs
[15:50:23] *** Oddman has quit IRC
[15:50:34] *** AlSquirrel has joined #angularjs
[15:50:59] *** junmin has quit IRC
[15:50:59] *** Oddman has joined #angularjs
[15:51:26] *** junmin has joined #angularjs
[15:51:36] *** CaShY has quit IRC
[15:51:56] <nerder> how can i say to angular that if the form is disabled to set the value to nulla and send it?
[15:52:02] *** mtsr has quit IRC
[15:52:02] *** bjtitus has joined #angularjs
[15:52:07] <nerder> *null
[15:52:38] *** Aerospark has quit IRC
[15:52:46] *** favetelinguis has quit IRC
[15:52:51] *** Aerospark has joined #angularjs
[15:53:24] *** Sebastien-L has joined #angularjs
[15:53:25] *** Aerospark has quit IRC
[15:53:25] *** favetelinguis has joined #angularjs
[15:54:42] *** Aerospark has joined #angularjs
[15:55:44] *** LossFor has joined #angularjs
[15:56:15] *** gnrlbzik has joined #angularjs
[15:56:18] *** junmin has quit IRC
[15:56:35] *** prosper__ has joined #angularjs
[15:56:46] *** devylon has quit IRC
[15:56:50] *** dsdeiz has quit IRC
[15:57:03] *** moritzs has quit IRC
[15:57:12] *** jMyles has joined #angularjs
[15:57:14] <brwr> nerder: Maybe you could say something like `formValue || null`?
[15:57:33] *** anjumkaiser has joined #angularjs
[15:57:37] <jaydubya> Did I understand correctly where I read that "transclude" in a directive will give that directive access to the $scope of the controller in which the directive is instantiated?
[15:57:40] *** Aerospark has joined #angularjs
[15:57:41] *** Efrem has joined #angularjs
[15:57:57] *** favetelinguis has quit IRC
[15:58:04] *** amortimer has joined #angularjs
[15:58:09] *** Reskp has joined #angularjs
[15:58:09] <jagga_> when I use window.open(url) it surely opens the url once I click the button but when the tab opens it doesn't load. I have to hit enter on the URL (reload) the page and then it works, anyone know why this is?
[15:58:37] *** prosper_ has quit IRC
[15:58:50] *** Aerospark has quit IRC
[15:59:10] *** Aerospark has joined #angularjs
[15:59:25] <amortimer> Is anyone using ui-calendar and running into the $parse:isecdom error?
[15:59:54] *** patrickarlt has joined #angularjs
[15:59:57] <amortimer> It’s on a changeView method.
[16:00:10] *** gurke_ has quit IRC
[16:00:13] *** CaShY has joined #angularjs
[16:00:22] *** rburns has quit IRC
[16:00:48] <brwr> nerder: checked ? null : neDwetails.timeStart
[16:01:25] <nerder> inside of ng-disabled so?
[16:01:29] <brwr> nerder: Also, I'm assuming that should say newDetails ;)
[16:01:39] *** azizur has quit IRC
[16:01:47] *** whitebook has quit IRC
[16:01:56] *** stschwark has quit IRC
[16:02:03] *** JohnBat26 has quit IRC
[16:02:11] <brwr> nerder: In the example you posted, `checked` is a value stored on $scope.
[16:02:17] *** cacts|works has joined #angularjs
[16:02:23] *** JohnBat26 has joined #angularjs
[16:02:34] <duall> how do i $watch for multiple things at once ? because $scope.$watch('thingOne', trigger); $scope.$watch('thingTho', trigger); triggers my trigger 4 times
[16:02:35] <brwr> nerder: Therefore, you can check from your controller whether `$scope.checked` is true.
[16:02:42] *** jdj_dk_ has quit IRC
[16:02:46] *** hightower4 has quit IRC
[16:03:02] *** ar45 has quit IRC
[16:03:27] <nerder> brwr: this is the situation that i have
[16:03:34] *** DrMabuse has quit IRC
[16:03:41] *** DrMabuse has joined #angularjs
[16:03:52] <duall> awww
[16:03:54] <brwr> duall: I'm glad you asked that! That was a really nice find on Stack Overflow :)
[16:03:55] <duall> I'm using 1.2x
[16:04:03] <brwr> Bro. Upgrade.
[16:04:18] <duall> any drastic changes ?
[16:04:26] <duall> i wasn't following the news recently
[16:05:14] <duall> well i think i can try
[16:05:17] <brwr> I don't think so, but I could be wrong.
[16:05:22] <brwr> Hang on and let me grab the changelog.
[16:05:40] *** poolside has joined #angularjs
[16:05:41] <brwr> Have a look through that
[16:05:52] <brwr> nerder: What are you trying to accomplish?
[16:06:08] *** adpirz has joined #angularjs
[16:06:30] *** bostonaholic has quit IRC
[16:06:42] *** poolside has quit IRC
[16:07:15] *** roorback has joined #angularjs
[16:07:41] *** willeponken has quit IRC
[16:07:42] *** morenoh149 has quit IRC
[16:07:54] <duall> brwr thanks for the brief.. that is rly useful
[16:07:56] *** cesarkawakami has quit IRC
[16:08:18] <brwr> duall: My pleasure! Glad to help :)
[16:08:25] *** _ritchie_ has joined #angularjs
[16:08:43] *** Linell has joined #angularjs
[16:08:52] *** Marble68 has joined #angularjs
[16:09:02] *** jonr22 has joined #angularjs
[16:09:03] *** AR45|ALT has joined #angularjs
[16:09:08] *** Oddman has quit IRC
[16:09:08] *** zivester has quit IRC
[16:09:12] *** poolside has joined #angularjs
[16:09:37] *** Sebastien-L has quit IRC
[16:10:14] *** facundor has quit IRC
[16:10:26] *** adpirz has quit IRC
[16:10:34] <brwr> Any Django users here?
[16:11:00] <brwr> Or Rails?
[16:11:25] <Linell> Padrino here (sorta like Rails)
[16:12:02] *** sojic has quit IRC
[16:12:09] <brwr> The guys at Thinkster.io are releasing a Rails+Angular tutorial soon :) Like REALLY soon
[16:12:16] *** patric100e99 has joined #angularjs
[16:12:28] *** mtsr has joined #angularjs
[16:12:44] *** frankblizzar has quit IRC
[16:12:48] *** g33k5z has quit IRC
[16:13:14] *** g33k5z has joined #angularjs
[16:13:25] *** BombStrike has quit IRC
[16:13:29] <Oxynum> I'm a Rails User
[16:13:35] *** willeponken has joined #angularjs
[16:13:35] *** dllama has joined #angularjs
[16:13:36] *** jonr22 has quit IRC
[16:13:52] *** Oxynum is now known as tommyjam
[16:13:58] *** Reskp has quit IRC
[16:14:15] <brwr> tommyjam: You should check out the tutorial if you're interested
[16:14:32] *** koorb has quit IRC
[16:14:39] <tommyjam> I'm already using Rails and Angular :D, but I will ^^
[16:14:56] <brwr> Don't tell anyone, but it's going to be out tomorrow ;)
[16:15:03] *** BombStrike has joined #angularjs
[16:15:09] *** spaceonline has joined #angularjs
[16:15:09] *** tomzx is now known as tomzx`afk
[16:15:21] <tommyjam> brwr: Ok nice
[16:15:48] *** ctanga has quit IRC
[16:15:48] *** junmin has joined #angularjs
[16:16:03] *** DigitallyBorn has quit IRC
[16:16:04] *** AR45|ALT has quit IRC
[16:16:06] *** burayon has quit IRC
[16:16:23] *** patric100e99 has quit IRC
[16:16:28] *** facundor has joined #angularjs
[16:16:33] <brwr> There is going to be this REALLY amazing Django+Angular tutorial released tomorrow too. It may or may not be written by yours truly. #shamelessplug
[16:16:49] *** JBreit has quit IRC
[16:17:16] <nerder> brwr: it's kinda of a hard to explain, i have 2 forms one on the top that accept just 2 value (from & to) and i force with ng-init a date & time to null, pass all of this value to my controller that check if the date and time are null set the current date
[16:17:38] *** Oddman has joined #angularjs
[16:17:40] *** g33k5z has quit IRC
[16:17:50] *** mica has joined #angularjs
[16:18:23] *** AR45 has joined #angularjs
[16:18:23] *** angularJSUser600 has joined #angularjs
[16:18:25] <brwr> nerder: Why are you using ng-init to set the date and time to null? Why not do that in your controller?
[16:18:35] *** AR45 is now known as Guest15231
[16:18:51] *** facundor has left #angularjs
[16:18:52] <nerder> and the second form accept just date and time when the check box is not selected otherwise i want to to the same thing, set to null the date and the time and set the current date instead
[16:19:06] *** SeeThruHead has quit IRC
[16:19:14] <angularJSUser600> lets say i use ng-if on a part of the dom which as input textboxes bound to my model (ng-model). When the ng-if is false and the dom elements are removed, do the values in the model get set to null ?
[16:19:31] *** MJD has quit IRC
[16:20:18] <brwr> angularJSUser600: They shouldn't. The models are stored on $scope, not in the DOM. The DOM simply reflects the values stored on $scope. It's worth investigating to make sure though.
[16:20:20] <nerder> because my controller expect 4 value, not 2 that's why
[16:20:46] <brwr> nerder: Send me a link to your full code.
[16:20:47] *** krawek has joined #angularjs
[16:20:47] *** krawek has joined #angularjs
[16:21:00] *** fornax has joined #angularjs
[16:22:03] <nerder> brwr: k hold on
[16:22:23] *** Guest15231 has quit IRC
[16:22:30] <tommyjam> Question : I am using date input tags in my applications, and I want to link the tag to a model that I retrieve via a JSON API. I think it is only possible to send a text representing the date via JSON but the directive only takes a real Date object as the ng-model. Do I have to replace every dates of my object to a data object or is there another way ?
[16:22:38] *** oncenull has quit IRC
[16:23:06] *** oncenull has joined #angularjs
[16:23:08] *** AR45|ALT has joined #angularjs
[16:23:14] *** firelinks has joined #angularjs
[16:23:25] *** Sebastien-L has joined #angularjs
[16:23:56] *** Guest58251 has quit IRC
[16:24:09] *** firelinks has quit IRC
[16:24:15] *** prosper__ has quit IRC
[16:24:39] *** AndreasLutro has quit IRC
[16:24:40] *** jaredwilli has quit IRC
[16:24:48] *** JayFK has quit IRC
[16:24:56] *** g33k5z has joined #angularjs
[16:24:57] *** JBreit has joined #angularjs
[16:25:04] *** firelinks has joined #angularjs
[16:25:24] *** DigitallyBorn has joined #angularjs
[16:25:49] <brwr> tommyjam: What directive are you talking about? The date input?
[16:25:55] <tommyjam> Yes
[16:26:03] *** firelinks has quit IRC
[16:26:24] *** MalteJ has joined #angularjs
[16:26:52] *** poofmooter has joined #angularjs
[16:26:54] *** arkin has joined #angularjs
[16:26:54] *** arkin has joined #angularjs
[16:27:01] *** firelinks has joined #angularjs
[16:27:16] *** oncenull has quit IRC
[16:27:40] *** mica has left #angularjs
[16:27:57] *** firelinks has quit IRC
[16:28:07] *** dhcar_AFK is now known as dhcar
[16:28:39] <brwr> tommyjam: It looks like input[type=date] works with datestrings.
[16:28:49] *** Limix has joined #angularjs
[16:28:52] *** firelinks has joined #angularjs
[16:29:08] <brwr> tommyjam: Just make sure they are correctly formated according to ISO-8601 date format
[16:29:16] <brwr> tommyjam: yyyy-MM-dd
[16:29:40] *** platonic has joined #angularjs
[16:29:51] *** firelinks has quit IRC
[16:30:09] <tommyjam> brwr: The model must always be a Date object, otherwise Angular will throw an error.
[16:30:42] *** OliverJAsh has joined #angularjs
[16:30:50] *** firelinks has joined #angularjs
[16:30:53] *** Chroder has quit IRC
[16:30:58] *** gnrlbzik has quit IRC
[16:31:12] *** jsheely has joined #angularjs
[16:31:17] *** gnrlbzik has joined #angularjs
[16:31:30] *** marshall has joined #angularjs
[16:31:34] *** xavia has joined #angularjs
[16:31:35] <tommyjam> brwr: I'm actually looking for a way to process the data in some sort of callbacks. Like, a getter and a setter instead of just the raw Date, so I could change the format from String to Date when I bind it and the contrary when the user enters a new value.
[16:31:45] *** firelinks has quit IRC
[16:32:02] *** bkuberek_ has joined #angularjs
[16:32:02] <brwr> tommyjam: JavaScript datetimes are the worst haha
[16:32:03] <jaydubya> Is there a full-featured authentication module for Angular
[16:32:20] <brwr> jaydubya: Have you looked at Passport?
[16:32:20] *** glosoli has joined #angularjs
[16:32:24] *** dllama1 has joined #angularjs
[16:32:43] <jaydubya> will do now, thanks
[16:32:43] *** firelinks has joined #angularjs
[16:33:39] *** firelinks has quit IRC
[16:33:45] *** bostonaholic has joined #angularjs
[16:33:49] <brwr> tommyjam: That sounds like the right approach. What's the problem?
[16:33:53] *** jstroem has quit IRC
[16:33:59] *** bkuberek has quit IRC
[16:34:03] <jaydubya> actually I am using mySQL ... is there another full-featured authentication module?
[16:34:12] *** jstroem has joined #angularjs
[16:34:19] *** platonic has quit IRC
[16:34:24] *** AR45|ALT has quit IRC
[16:34:24] *** dllama has quit IRC
[16:34:30] <jaydubya> brwr, there is angular-moment and the headache lessens
[16:34:36] *** firelinks has joined #angularjs
[16:34:44] <brwr> jaydubya: I was just going to recommend moment.js haha
[16:34:51] *** derrick13 has quit IRC
[16:34:57] <tommyjam> brwr: I just found the answer :D I didn't know you could pass a function to the ng-model as a getter-setter using the ng-model-options directive
[16:35:02] <brwr> MomentJS was the best thing to ever happen to me
[16:35:13] <brwr> tommyjam: (thumbsup)
[16:35:19] *** AR45- has joined #angularjs
[16:35:19] *** Wiseboy has joined #angularjs
[16:35:26] *** monir has joined #angularjs
[16:35:33] *** firelinks has quit IRC
[16:35:52] <jaydubya> moment for JS and Carbon for Laravel and dates are OK
[16:35:57] *** FunnyLookinHat has joined #angularjs
[16:35:59] *** jstroem has quit IRC
[16:36:01] <tommyjam> Nice ! Thanks !
[16:36:14] *** _ritchie_ has quit IRC
[16:36:26] *** jstroem has joined #angularjs
[16:36:28] *** firelinks has joined #angularjs
[16:36:31] *** roorback has quit IRC
[16:36:36] *** dcherman has joined #angularjs
[16:36:38] *** marshall has quit IRC
[16:36:39] <jaydubya> brwr, does transclude in a directive give the directive access to $scope?
[16:36:41] *** cacts has quit IRC
[16:37:08] *** azizur has joined #angularjs
[16:37:27] *** firelinks has quit IRC
[16:37:32] *** BillCriswell has joined #angularjs
[16:38:04] *** cakirke has quit IRC
[16:38:25] *** firelinks has joined #angularjs
[16:38:25] *** jstroem has quit IRC
[16:38:30] *** Sky[x] has joined #angularjs
[16:38:33] *** anjumkaiser has quit IRC
[16:38:37] *** mettjus has joined #angularjs
[16:38:37] *** lexek__ has quit IRC
[16:38:46] *** aendrew has joined #angularjs
[16:38:49] <mettjus> hi all!
[16:38:54] *** jas-_ has quit IRC
[16:38:54] *** jstroem has joined #angularjs
[16:39:00] *** DigitallyBorn has quit IRC
[16:39:03] *** frrrfrr has joined #angularjs
[16:39:15] <masscrx> ui-select with one time binding, anybody can help ?
[16:39:21] *** firelinks has quit IRC
[16:39:36] *** jstroem has quit IRC
[16:39:52] <brwr> jaydubya: Directives have their own scope
[16:39:53] *** jstroem has joined #angularjs
[16:40:05] <mettjus> i'm defining 2 attribute directives which both need to call a "parent scope" function (normally scope: { myAttr: '&' } )
[16:40:17] *** motionman has quit IRC
[16:40:20] *** firelinks has joined #angularjs
[16:40:22] <mettjus> how should i solve the fact i get conflicting new scope requests?
[16:40:28] <brwr> jaydubya: But I think the answer to your question is yes.
[16:40:43] *** ccare has quit IRC
[16:41:00] <jaydubya> brwr, cool, I need to manipulate a value on $scope with a directive
[16:41:10] <oniijin> Foxandxss need some bans on frrrfrr
[16:41:15] *** firelinks has quit IRC
[16:41:16] <brwr> jaydubya: Have a look at the example. The inner content of <pane></pane> has access to the scope of the pane directive.
[16:41:27] <oniijin> or caitp if you're around
[16:41:29] <Foxandxss> seems so
[16:41:29] <jaydubya> cool
[16:41:34] <oniijin> Foxandxss wins
[16:41:35] *** ChanServ sets mode: +o Foxandxss
[16:41:43] *** Foxandxss sets mode: +b *!~frrrfrr@200.87.0.72
[16:41:43] *** frrrfrr was kicked by Foxandxss (Your behavior is not conducive to the desired environment.)
[16:42:02] <brwr> But I wanted to hear more about that new webchat .. It sounded so interesting
[16:42:10] *** firelinks has joined #angularjs
[16:42:16] <Foxandxss> click the link :P
[16:42:27] <brwr> Nah. Probably some chat porn or something.
[16:42:33] <oniijin> browser condom
[16:42:37] *** IvailoStoianov has joined #angularjs
[16:42:41] <oniijin> protect thyself
[16:42:46] <Foxandxss> anyone doing ionic, any snippet for private routes?
[16:43:09] *** firelinks has quit IRC
[16:43:30] *** rkjdid has quit IRC
[16:43:53] <brwr> oniijin: I would buy that
[16:43:57] <mettjus> i'm defining 2 attribute directives which both need to call a "parent scope" function (like my-attr="myFunc()", normally scope: { myAttr: '&' } )
[16:43:57] <mettjus> how should i solve the fact i get conflicting new isolate scope requests?
[16:44:10] *** firelinks has joined #angularjs
[16:44:58] *** greengriminal has joined #angularjs
[16:45:04] *** firelinks has quit IRC
[16:45:44] *** pajerus has joined #angularjs
[16:45:49] *** pajerus has quit IRC
[16:45:59] *** firelinks has joined #angularjs
[16:46:46] *** teeray has quit IRC
[16:46:58] *** firelinks has quit IRC
[16:47:05] *** btyne1 has joined #angularjs
[16:47:06] *** btyne has quit IRC
[16:47:20] *** mica has joined #angularjs
[16:47:53] *** mica has left #angularjs
[16:47:57] *** firelinks has joined #angularjs
[16:48:04] *** artisangoose has joined #angularjs
[16:48:52] *** teeray has joined #angularjs
[16:48:52] *** firelinks has quit IRC
[16:50:03] *** firelinks has joined #angularjs
[16:50:31] *** Gaxilian has joined #angularjs
[16:50:46] *** firelinks has quit IRC
[16:51:01] *** ludkiller has quit IRC
[16:51:16] *** ctanga has joined #angularjs
[16:51:41] *** firelinks has joined #angularjs
[16:52:14] *** ludkiller has joined #angularjs
[16:52:14] *** icfantv has joined #angularjs
[16:52:25] *** Gaxilian_ has joined #angularjs
[16:52:35] *** thumpba has joined #angularjs
[16:52:40] *** firelinks has quit IRC
[16:52:51] *** Gaxilian has quit IRC
[16:53:27] *** LossFor has quit IRC
[16:53:35] *** mtsr has quit IRC
[16:53:36] *** firelinks has joined #angularjs
[16:54:22] *** Limix has quit IRC
[16:54:32] *** AR45- is now known as AR45
[16:54:44] *** firelinks has quit IRC
[16:54:51] *** cboden has quit IRC
[16:55:41] *** mtsr has joined #angularjs
[16:55:48] *** pootpoot has joined #angularjs
[16:55:59] *** telefunken has quit IRC
[16:56:35] <dmack> @Foxandxss: private routes?
[16:56:57] *** Gaxilian_ has quit IRC
[16:57:11] *** _ritchie_ has joined #angularjs
[16:57:21] *** joshontheweb has joined #angularjs
[16:57:31] *** cboden has joined #angularjs
[16:57:31] *** firelink_ has joined #angularjs
[16:57:33] *** tomzx`afk is now known as tomzx
[16:57:36] *** gaganjyot has joined #angularjs
[16:57:36] *** TyrfingMjolnir has quit IRC
[16:57:53] *** thedodd has joined #angularjs
[16:57:56] *** busticated has joined #angularjs
[16:57:57] *** azizur has quit IRC
[16:58:02] *** Aerospark has quit IRC
[16:58:14] <Foxandxss> dmack: yeah, routes just for logged in users for example, but seems like my problem is more understanding the ionic flavor of ui-router
[16:58:26] *** mchapman has joined #angularjs
[16:58:29] *** firelink_ has quit IRC
[16:58:33] <ctanga> ^ url squashing for ui-router
[16:58:35] *** s3shs has joined #angularjs
[16:58:38] *** anjumkaiser has joined #angularjs
[16:58:48] <dmack> @Foxandxss: just throw some attributes in data: {} and check if they're authenticated or not before proceeding
[16:59:11] <dmack> their flavor of ui-router isn't modified.
[16:59:13] <oniijin> ctanga which option did u guys end up going with
[16:59:13] <Foxandxss> yup yup, that works for me in angular
[16:59:14] <dmack> AFAIK
[16:59:22] <ctanga> oniijin: no squashing
[16:59:28] <oniijin> optioin c?
[16:59:31] <sacho> yay
[16:59:32] <ctanga> yeah
[16:59:34] <Foxandxss> well, ion-nav-view instead of ui-view
[16:59:39] <ctanga> I also added support for option D
[16:59:56] <dmack> right
[16:59:57] <ctanga> which looks like "/user/~/gallery/~/photo/TjjgkZW"
[17:00:03] <oniijin> o jeebus
[17:00:04] <oniijin> lol
[17:00:13] <Foxandxss> dmack: normally I define an abstract state for anon routes and an abstract state for user routes
[17:00:15] <dmack> @Foxandxss: the issue you're having is the transition isn't stopped?
[17:00:18] <oniijin> i thought the whole point was for pretty urls
[17:00:23] <Foxandxss> let me show
[17:00:30] *** oncenull has joined #angularjs
[17:00:57] *** busticated has quit IRC
[17:01:00] <ctanga> oniijin: well it’s less ambiguous than "/user/gallery/photo/TjjgkZW" and is just one more choice for the dev
[17:01:13] *** oncenull has quit IRC
[17:01:17] *** onc3null has joined #angularjs
[17:01:24] *** busticated has joined #angularjs
[17:01:27] <oniijin> so D is basically use ~ to show something was squashed
[17:01:27] <Foxandxss> that is what I like on desktop
[17:01:32] *** jheady has joined #angularjs
[17:01:37] <Foxandxss> but I am learning ionic and all routes works except private
[17:01:43] <ctanga> yeah, you can use whatever replacement string you prefer
[17:01:45] <Foxandxss> which just redirects me back to home
[17:01:47] <Foxandxss> so far there is no auth
[17:01:50] <Foxandxss> just plain routes
[17:02:09] <ctanga> you could say { squash: “-” } or { squash: “” }
[17:02:16] <oniijin> whaaaa I'm totally gonna use (.Y.)
[17:02:17] *** moritzs has joined #angularjs
[17:02:26] <dmack> @Foxandxss: I see.
[17:02:26] <sweeper> boobs
[17:02:30] <oniijin> bewbs
[17:02:31] <ctanga> do it
[17:02:32] *** mchapman has quit IRC
[17:02:50] *** jheady has left #angularjs
[17:02:53] <dmack> @Foxandxss: you can't transition to an abstract state, so main.tpl.html never renders?
[17:02:57] *** Raging_Hog has quit IRC
[17:03:07] <oniijin> ctanga is there a practical use for squashing?
[17:03:12] <oniijin> aside from urlprettify
[17:03:16] *** grantfunke_ has joined #angularjs
[17:03:31] <Foxandxss> dmack: but I am not doing that, am I?
[17:03:57] <dmack> main is what contains all of your other views.
[17:04:00] *** jillesme has quit IRC
[17:04:07] <Foxandxss> yes
[17:04:11] <dmack> even if you aren't transitioning to it directly, I think that may be your issue.
[17:04:15] <dmack> what happens if you remove abstract?
[17:04:32] *** jillesme has joined #angularjs
[17:04:41] <Foxandxss> nothing changes
[17:04:42] *** woah has joined #angularjs
[17:04:44] <dmack> hmm
[17:05:01] <Foxandxss> I open the page, it goes to /home so anon goes to index.html puts its template there
[17:05:08] *** huahax has joined #angularjs
[17:05:11] <Foxandxss> and anon.home renders its view correctly
[17:05:12] *** thedodd has quit IRC
[17:05:13] <jaydubya> Foxandxss: How do you authenticate users using your Gulp WF?
[17:05:15] <Foxandxss> click public, same thing
[17:05:19] *** TuRnaD0 has joined #angularjs
[17:05:29] <Foxandxss> jaydubya: it has nothing about that, that doesn't belong to a WF
[17:05:32] <Foxandxss> that is your own code
[17:05:36] <dmack> try this:
[17:05:41] <Foxandxss> well, home / public goes well
[17:05:53] *** mennea has quit IRC
[17:05:54] <Foxandxss> but clicking private, I see route to change 1 ms then redirect to home
[17:06:01] *** DigitallyBorn has joined #angularjs
[17:06:01] *** DigitallyBorn has joined #angularjs
[17:06:07] *** spazbite has quit IRC
[17:06:15] *** rho has joined #angularjs
[17:06:16] *** rho has joined #angularjs
[17:06:16] <dmack> I've found you need to target states directly using '@'
[17:06:25] <dmack> hmm
[17:06:32] *** joshontheweb has quit IRC
[17:06:32] <Foxandxss> nah
[17:06:33] *** yelvert has joined #angularjs
[17:06:37] <Foxandxss> private never gets in
[17:06:43] <Foxandxss> the otherwise kicks in
[17:06:47] *** jdcasey has joined #angularjs
[17:06:51] <Foxandxss> and redirect me to home
[17:06:55] <Foxandxss> like /private never existing
[17:06:58] *** jillesme has quit IRC
[17:07:01] *** prosper_ has joined #angularjs
[17:07:14] *** jillesme has joined #angularjs
[17:07:15] *** saily has joined #angularjs
[17:07:31] <dmack> yeah, this is weird.
[17:07:33] *** storkme has joined #angularjs
[17:07:38] <jagga_> Does angular have a URL builder? Something that you can pass parameters to and it generates the URL? (similar to $location.search - without the actual manipulation of the URL)
[17:07:39] <dmack> I have a similar setup, but no tabs
[17:07:43] *** Efrem is now known as Efrem-Away
[17:07:48] *** optikalmouse has joined #angularjs
[17:07:48] <dmack> I think the tabs may be creating child views
[17:07:53] <Foxandxss> well, tabs is just because I saw a demo with tabs
[17:07:58] *** ProLoser has joined #angularjs
[17:08:03] *** AngularUI has joined #angularjs
[17:08:03]
<AngularUI> [ng-grid] mathiasdose opened pull request #2064: Fix #2042 (pinning): Pinning column menu item duplication on resize (master...Issue#2042) http://git.io/NR_Smg
[17:08:03] *** AngularUI has left #angularjs
[17:08:11] <storkme> poor practices to declare 'Classes' inside a service definition and then return that class?
[17:08:19] *** eamonn has joined #angularjs
[17:08:25] <Foxandxss> no idea, there is a lot of extra directives ion-pane, ion-view, ion-foo so maybe one of those is doing something extra
[17:08:35] <dmack> I
[17:08:42] <dmack> I'm not sure ion-nav-view goesa inside tab.
[17:08:58] *** monir has quit IRC
[17:09:07] <dmack> sorry, not being much help here,
[17:09:18] *** firelinks has joined #angularjs
[17:09:30] *** joshontheweb has joined #angularjs
[17:09:41] *** lsiv568 has quit IRC
[17:09:42] <Foxandxss> that is the only right thing I have dmack :P
[17:09:55] <Foxandxss> nah, we are brainstorming
[17:09:57] *** Oddman_ has joined #angularjs
[17:09:58] *** fornax has quit IRC
[17:10:03] <Foxandxss> I use that setup on desktop, so there is something fishy
[17:10:09] <mettjus> no one on how to solve the issue of having 2 attribute directives that call 2 host scope functions?
[17:10:21] <sacho> what's the problem
[17:10:24] *** poacher2k has joined #angularjs
[17:10:35] <Foxandxss> technically when clicking on private, it should render main.html on the root ion-view thingy and then the private template
[17:10:42] <dmack> right
[17:10:47] *** basiclaser_ has joined #angularjs
[17:10:53] *** damain has quit IRC
[17:10:56] <Foxandxss> I Will try to plunk it, then ask on the forum, maybe it is not the ionic way
[17:11:34] *** molik has joined #angularjs
[17:12:01] <dmack> I don't see them doing that anywhere in the docs, but.
[17:12:08] <dmack> I don't *think* you're supposed to nest ion-nav-view
[17:12:17] *** Oddman has quit IRC
[17:12:30] *** molik has quit IRC
[17:12:34] <dmack> ohj.
[17:12:35] <dmack> wait
[17:12:40] *** ProLoser has quit IRC
[17:12:45] <dmack> instead of ion-nav-view try ion-view
[17:12:50] *** szymek has joined #angularjs
[17:12:55] <dmack> and give it a name
[17:13:02] *** Guest85668 has quit IRC
[17:13:28] <poacher2k> hey! currently working on a hybrid app where performance is key. there will be some data packed with the app (/data.json), and I'm wondering what would be the best way of fetching that data - caching it in localStorage after the first $http.get, then fetching from localStorage, or just using $http every time?
[17:13:28] <jaydubya> anyone know of anything like $firebaseSimpleLogin but for a Laravel/mySQL backend?
[17:13:52] <dmack> poacher2k: depends on how big the data is
[17:13:55] *** sonofdirt has joined #angularjs
[17:13:58] <Foxandxss> dmack: I have that inside the different templates
[17:14:10] <poacher2k> dmack: not that big at all
[17:14:30] <dmack> poacher2k: localStoage is probably your best bet. is it mostly static?
[17:14:40] <poacher2k> entirely static
[17:14:50] *** tfennell_ has joined #angularjs
[17:14:52] *** Reskp has joined #angularjs
[17:15:01] <ctanga> oniijin: there are some use cases that squashing could improve or make friendlier
[17:15:21] <dmack> poacher2k: yeah, just load it up with localStorage once when the app is bootstrapping
[17:15:25] <poacher2k> I'm just wondering about the overhead of toJson and parsing when fetching from LS, or if that overhead is way bigger when using $http anyways
[17:15:25] <oniijin> just trying to understand when to use it
[17:15:35] <dmack> poacher2k: you won't be able to tell.
[17:15:36] <ctanga> like example.com/profile/ can always link to the logged-in profile but example.com/profile/username links directly to username’s profile
[17:15:45] <dmack> it's plenty fast on modern devices
[17:16:04] <poacher2k> dmack: guess you're right, I'll cache it then
[17:16:06] <poacher2k> thanks!
[17:16:28] <dmack> there are some nice lightweight wrappers for LS too.
[17:16:40] <ctanga> it only squashes if the parameter has a default value set, so the only use cases it helps are when a default value makes sense
[17:17:09] *** pRe has joined #angularjs
[17:17:22] <poacher2k> nice, I'll check that out
[17:17:33] *** pRe is now known as Guest95215
[17:17:45] <masscrx> anybody with idea how to make ui-select with one-time binding ?
[17:17:54] *** larsgk has quit IRC
[17:17:58] *** tfennelly has quit IRC
[17:18:02] *** Guest95215 has quit IRC
[17:18:04] <poacher2k> just discovered steroids.js - pretty amazing stuff, but a pretty different way of thinking about angular
[17:19:00] *** bostonaholic has quit IRC
[17:19:01] *** jpstone has joined #angularjs
[17:19:09] *** Reskp has quit IRC
[17:19:22] <dmack> yeah, interesting project.
[17:19:34] *** jillesme has quit IRC
[17:19:54] <Foxandxss> dmack: works on plunker?
[17:19:57] <Foxandxss> yay
[17:20:03] <dmack> hehehe
[17:20:07] <dmack> of course it does.
[17:20:21] <dmack> poacher2k: does steroids have slide to go back?
[17:20:52] <poacher2k> think that would be pretty easy to implement
[17:20:59] *** bostonaholic has joined #angularjs
[17:21:02] <dmack> heh
[17:21:05] *** bjtitus has quit IRC
[17:21:25] <dmack> the Ionic folks are working on that, said it's really difficult. at least for their framework. steroids seems like a navigation wrapper for webviews
[17:21:40] <poacher2k> yeah
[17:21:48] <poacher2k> basically, you can have multiple webviews
[17:21:52] *** conan_the_destro has joined #angularjs
[17:21:59] <poacher2k> and use native animations for transitions
[17:22:08] *** Mahonar has joined #angularjs
[17:22:33] *** slopjong_ has quit IRC
[17:22:33] *** slopjong has quit IRC
[17:22:40] <dmack> TBQH, Ionic feels really great on modern stuff
[17:22:41] <poacher2k> maybe I misunderstoof what "slide to go back" means. as a means of navigation to go back to the previous view, right?
[17:22:52] <dmack> like, the IOS7+ swipe the edge to go back
[17:23:05] <dmack> we've shown Ionic apps to our customers - they couldn't tell it wasn't native
[17:23:16] <dmack> granted this is pretty simple stuff. mainly lists, etc.
[17:23:31] <Foxandxss> dmack: funny thing is that in mobile the design is brokish
[17:23:33] *** mspier|away is now known as mspier
[17:23:41] <Foxandxss> and not working (Expected)
[17:23:54] *** BillCriswell has quit IRC
[17:24:29] *** mkc___ has quit IRC
[17:24:37] *** elxa has quit IRC
[17:24:40] *** Reskp has joined #angularjs
[17:25:26] *** eamonn has quit IRC
[17:25:47] <poacher2k> "PanBezelCenterView" ?
[17:26:15] *** gaganjyot has quit IRC
[17:26:37] *** waverider has quit IRC
[17:26:43] *** jillesme has joined #angularjs
[17:26:44] *** jillesme has joined #angularjs
[17:26:51] *** joshontheweb has quit IRC
[17:27:25] *** arabot has joined #angularjs
[17:27:53] *** ChadStrat has joined #angularjs
[17:27:55] <poacher2k> also, a cool thing with steroids, is that you can build with Crosswalk
[17:28:00] *** edy has quit IRC
[17:28:03] *** dc_ has quit IRC
[17:28:35] <poacher2k> kinda looks like they bundle all modern fancy web technologies
[17:28:42] <dmack> definitely seems rad. different mindset than the Ionic folks
[17:28:51] *** Guest29 has joined #angularjs
[17:29:04] *** piotr123 has joined #angularjs
[17:29:22] *** gnarMatix has joined #angularjs
[17:29:29] *** jstroem has quit IRC
[17:29:34] *** Sjimi has quit IRC
[17:29:54] <gnarMatix> Anyone have any advice for IE9 compatibility?
[17:29:56] *** jstroem has joined #angularjs
[17:30:00] <poacher2k> yeah
[17:30:04] *** nickBek has quit IRC
[17:30:07] <gnarMatix> I'm getting a bunch of errors that have -2125125182 for line numbers
[17:30:12] <gnarMatix> "Invalid argument"
[17:30:14] <oniijin> lol ouch
[17:30:19] *** seriema has quit IRC
[17:30:21] <gnarMatix> as well as "Access is denied"
[17:30:32] <gnarMatix> "Unable to get property 'length' of undefined or null reference"
[17:30:36] <poacher2k> just did a project with IE9, got burned by a missing meta tag
[17:30:52] <poacher2k> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
[17:30:53] *** seriema has joined #angularjs
[17:30:59] *** aendrew has quit IRC
[17:31:08] *** poolside has quit IRC
[17:31:16] <gnarMatix> poacher2k: i'll give it a shot
[17:31:22] <gnarMatix> r4vi: lol i wish
[17:31:29] <poacher2k> ^ Without that, the clients IE9 went in IE7 Document Mode
[17:31:32] *** Trow has joined #angularjs
[17:31:33] *** Reskp has quit IRC
[17:31:37] *** mtsr has quit IRC
[17:31:53] <gnarMatix> poacher2k: ahh looks like i've already got the tag
[17:32:08] <gnarMatix> Do directives run fine in IE9?
[17:32:16] *** marshall has joined #angularjs
[17:32:20] <poacher2k> afaik, yeah
[17:32:38] *** jstroem has quit IRC
[17:32:50] <poacher2k> probably best off prefixing attributes with data- though
[17:32:52] *** jstroem has joined #angularjs
[17:33:02] *** goodenough has joined #angularjs
[17:33:07] *** Guest29 has joined #angularjs
[17:33:32] <gnarMatix> poacher2k: can you elaborate?
[17:33:43] *** frobs has quit IRC
[17:34:05] *** aendrew has joined #angularjs
[17:34:20] *** dman777_alter has joined #angularjs
[17:34:21] *** matisoffn has joined #angularjs
[17:34:39] <tristanp> so must I download the entire boostrap css to use a single ui-bootstrap widget?
[17:34:42] *** Guest29 has quit IRC
[17:34:44] *** mtsr has joined #angularjs
[17:35:05] <poacher2k> if you use directives via attributes, as in <div my-directive="">, I think there's some issue in IE8 or IE9 if you don't prefix them with data-
[17:35:10] *** seriema has quit IRC
[17:35:18] <tristanp> this is annoying not just because it is a whole lot more css than i want but because outside the widget i dont want my page to look like bootstrap
[17:35:23] <poacher2k> as in <div data-my-directive="">
[17:35:25] *** moritzs has quit IRC
[17:35:36] *** damain has joined #angularjs
[17:36:15] <gnarMatix> poacher2k: okay
[17:36:42] *** jstroem has quit IRC
[17:37:01] *** jstroem has joined #angularjs
[17:37:14] *** marshall has quit IRC
[17:37:33] *** jillesme has quit IRC
[17:38:18] *** Kismet010 has joined #angularjs
[17:39:46] *** fornax has joined #angularjs
[17:40:06] *** Efrem-Away is now known as Efrem
[17:40:34] *** jstroem has quit IRC
[17:40:49] *** jstroem has joined #angularjs
[17:40:50] *** azizur has joined #angularjs
[17:41:00] *** DigitallyBorn has quit IRC
[17:41:12] *** saily has quit IRC
[17:41:52] *** Schtive has quit IRC
[17:42:20] *** livingstn has quit IRC
[17:43:09] *** KernelCurry has joined #angularjs
[17:43:31] *** Fire-Dragon-DoL has joined #angularjs
[17:43:36] *** poolside has joined #angularjs
[17:43:41] <jaydubya> does ui-router automatically load the first route under an abstract?
[17:43:47] <jpstone> anyone hear use mongo/mongoose?
[17:43:50] <jpstone> *here
[17:43:53] <ctanga> jaydubya: no
[17:44:07] <jpstone> have a weird issue...where i .save() the data, but it doesn't save when I don't "model" the data
[17:44:07] <bd-> yes/no
[17:44:12] <jpstone> but it works when I model it
[17:44:24] *** tplaner has quit IRC
[17:44:34] <bd-> yea, i think that's what happens when you use mongoose
[17:44:37] <bd-> you need models for everythign
[17:44:38] <jaydubya> ctanga, crap, getting this from the source ... how do I then designate the "default" view of the abstract set
[17:44:43] *** poolside has quit IRC
[17:44:50] <jpstone> bd- ... seems like that defeats the purpose of mongodb, doesn't it?
[17:44:51] *** BillCriswell has joined #angularjs
[17:45:02] <jpstone> being able to be schemaless
[17:45:04] *** mityaz has quit IRC
[17:45:11] <bd-> that's why i don't use mongoose
[17:45:14] *** azizur has quit IRC
[17:45:15] <jpstone> ah
[17:45:25] <jpstone> good to know though
[17:45:30] <jpstone> i just spent 3 hours trying to figure it out
[17:45:31] <jpstone> lol
[17:45:33] *** favetelinguis has joined #angularjs
[17:45:52] *** niklasmodess has quit IRC
[17:46:19] *** mtsr has quit IRC
[17:46:20] *** DrMabuse has quit IRC
[17:46:28] <ctanga> jaydubya: there’s no great way at the moment. make it un-abstract and add a $stateChangeStart listener. If the “to” state is your formerly abstract state, then preventDefault and $state.go() where you want
[17:46:36] *** jstroem has quit IRC
[17:46:44] *** CodeFriar has quit IRC
[17:46:48] *** mtsr has joined #angularjs
[17:47:05] *** jstroem has joined #angularjs
[17:47:35] *** glosoli has quit IRC
[17:47:40] *** bjtitus has joined #angularjs
[17:47:52] *** LossFor has joined #angularjs
[17:48:13] <jaydubya> ctanga, but I need the abstracts ... I have 4 pages in my SPA (goes downhill from there) and I use the abstract route to load the full template and then the child routes to load into ui-view
[17:48:54] *** CodeFriar has joined #angularjs
[17:49:19] *** CodeFriar has quit IRC
[17:49:23] <nerder> this is make anysend in angularjs?
[17:49:48] <ctanga> abstract just means that it cannot be navigated to directly
[17:49:49] *** stylemistake|b1 has quit IRC
[17:50:10] *** gurke_ has joined #angularjs
[17:50:18] *** ryst has quit IRC
[17:50:27] *** arathunku has quit IRC
[17:50:31] *** DoubleAW has joined #angularjs
[17:50:46] <jaydubya> ctanga, but it makes a perfect vehicle to change out the master templates ... otherwise, I would have to load two templates for every route
[17:51:03] *** marshall has joined #angularjs
[17:51:14] <ctanga> wa
[17:51:17] *** crakrjak_respawn has joined #angularjs
[17:51:19] <ctanga> what?
[17:51:57] *** woah has quit IRC
[17:52:16] <jsheely> Can you have a $watch in a service?
[17:52:34] *** thumpba has quit IRC
[17:52:50] *** tilgovi has joined #angularjs
[17:52:51] *** Schtive has joined #angularjs
[17:52:59] *** AWAW has quit IRC
[17:53:21] <jaydubya> I have four (and probably) more pages that have a set header and sidebar nav and I use ui-view to load the content, so I start with an abstract to load the header/nav template and then a child to load the content
[17:53:34] *** crakrjak_respawn has quit IRC
[17:53:44] <ctanga> you can still have the state, just take off “abstract: true"
[17:53:44] *** huahax has quit IRC
[17:54:17] <jaydubya> but then it would load if someone goes there and there would be missing content
[17:54:18] *** eamonn has joined #angularjs
[17:54:30] *** yelvert has quit IRC
[17:54:31] <ctanga> $stateChangeStart. read my previuos comment again
[17:54:39] <jaydubya> that's why I need it to be unreachable
[17:54:39] *** glosoli has joined #angularjs
[17:54:43] *** DigitallyBorn has joined #angularjs
[17:54:43] *** DigitallyBorn has joined #angularjs
[17:55:05] *** adpirz has joined #angularjs
[17:55:14] *** csch has quit IRC
[17:55:18] <jaydubya> OK, I will read the docs about the listener ... I've never used those before
[17:55:39] <tristanp> Does anyone know how essential it is to have the bootstrap css when using ui.bootstrap? I really dont want to include all of bootstrap since it would mess up the styling on the existing site everywhere
[17:56:26] *** poacher2k has quit IRC
[17:56:39] *** jstroem has quit IRC
[17:57:03] *** jstroem has joined #angularjs
[17:57:10] *** csch has joined #angularjs
[17:57:24] *** tfennell_ has quit IRC
[17:57:26] *** flashdisastr has quit IRC
[17:57:54] *** jonr22 has joined #angularjs
[17:57:54] *** Evanion has joined #angularjs
[17:57:54] *** Owner has joined #angularjs
[17:58:18] *** Owner is now known as Guest3471
[17:58:29] <jsheely> tristanp yea. I'm actually trying to get away from $broadcast
[17:58:36] <jsheely> And using a service to control the data
[17:58:47] <nerder> how can i do in angualr, if i want to set a value to a variable just when the form is invalid?
[17:58:52] *** jstroem has quit IRC
[17:58:54] <nerder> sorry disabled
[17:58:58] <jsheely> However I'm having an issue with $scope.selected = Service.selected; getting updated
[17:59:07] <jsheely> I'm guessing it may be a model issue
[17:59:21] *** jstroem has joined #angularjs
[17:59:54] *** adpirz has quit IRC
[18:00:17] <tristanp> jsheely: ah yeah, that is a common problem. Often you must resort to a) using a getter method like getSelected(), or b) using an object, like: $scope.settings = Severice.settings // $scope.settings.selected
[18:00:56] *** azizur has joined #angularjs
[18:01:12] *** seriema has joined #angularjs
[18:01:22] *** MistahKurtz has joined #angularjs
[18:02:05] *** jacuqesdancona has quit IRC
[18:02:13] *** jstroem has quit IRC
[18:02:17] *** svycka has quit IRC
[18:02:36] *** tfennelly has joined #angularjs
[18:02:37] *** jonr22 has quit IRC
[18:02:37] *** jstroem has joined #angularjs
[18:02:42] *** jacuqesdancona has joined #angularjs
[18:03:35] *** scorphus has joined #angularjs
[18:03:36] *** tommyjam has quit IRC
[18:03:45] *** scorphus has quit IRC
[18:03:46] *** scorphus has joined #angularjs
[18:03:54] *** ryst has joined #angularjs
[18:04:00] <tristanp> nerder: actually, maybe that's not what you need now that i look closer
[18:04:02] *** dllama1 is now known as dllama
[18:04:28] *** mtsr has quit IRC
[18:04:54] <nerder> tristanp: what i'm tring to accomplish is, when the checkbox is checked i want to set the value into the disapled input form as null
[18:05:10] *** zB0hs has joined #angularjs
[18:05:34] *** seriema has quit IRC
[18:05:38] *** jacuqesdancona_ has joined #angularjs
[18:05:56] *** Efrem is now known as Efrem-Away
[18:06:00] *** monir has joined #angularjs
[18:06:23] *** woah has joined #angularjs
[18:06:35] *** plato|wtf has joined #angularjs
[18:06:40] *** jacuqesdancona has quit IRC
[18:07:05] <plato|wtf> hi, I have some autogenerated html for a TOC. I don't want to edit this html to add ng-click tags. How can I bind a function (close the TOC) to the click event on every <a> element under my controller?
[18:07:30] *** goodenough has quit IRC
[18:07:35] *** tommyjam has joined #angularjs
[18:07:56] <Linell> nerder: can you just put an ng-click on the checkbox? You can check the values there to determine what you need to do with the value
[18:08:32] *** dhcar is now known as dhcar_AFK
[18:08:44] <nerder> what do you mean Linell? i show u an example
[18:08:53] *** mettjus has quit IRC
[18:09:03] *** teeray has quit IRC
[18:09:11] *** poolside has joined #angularjs
[18:09:12] *** dhcar_AFK is now known as dhcar
[18:09:17] *** mtsr has joined #angularjs
[18:09:35] *** lsiv568 has joined #angularjs
[18:09:42] *** ngbot has joined #angularjs
[18:09:42]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 9e30594 to e593939: http://git.io/Yj_Yfw
[18:09:42] *** ngbot has left #angularjs
[18:10:04] <caitp> well guys
[18:10:44] *** cesarkawakami has joined #angularjs
[18:10:47] *** ngbot has joined #angularjs
[18:10:47]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from e593939 to 4f5a60b: http://git.io/0UBcNQ
[18:10:47] *** ngbot has left #angularjs
[18:11:19] <nerder> what i want to do, is when the checkbox is checked, do something like ng-init="var1=null" and ng-init="var2 =null"
[18:11:50] *** ngbot has joined #angularjs
[18:11:50]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 4f5a60b to 6dfd938: http://git.io/Dm20KQ
[18:11:50] *** ngbot has left #angularjs
[18:12:21] *** tplaner has joined #angularjs
[18:12:38] *** jstroem has quit IRC
[18:12:43] *** jstroem_ has joined #angularjs
[18:12:50] *** ngbot has joined #angularjs
[18:12:50]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 6dfd938 to 0918f14: http://git.io/RSnNQw
[18:12:50] *** ngbot has left #angularjs
[18:12:53] *** ryst has quit IRC
[18:13:45] *** ngbot has joined #angularjs
[18:13:45]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 0918f14 to 1db9e61: http://git.io/xhiBzQ
[18:13:45] *** ngbot has left #angularjs
[18:13:49] *** flashdisastr has joined #angularjs
[18:14:20] *** jlebrech has quit IRC
[18:14:25] *** mtsr has quit IRC
[18:14:38] *** ngbot has joined #angularjs
[18:14:38]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 1db9e61 to b6fd184: http://git.io/_bQEAA
[18:14:39] *** ngbot has left #angularjs
[18:15:33] *** ngbot has joined #angularjs
[18:15:33]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from b6fd184 to b84e62b: http://git.io/EbhP4g
[18:15:33] *** ngbot has left #angularjs
[18:15:45] *** pRe has joined #angularjs
[18:15:49] <Evanion> good evening :)
[18:16:09] *** pRe is now known as Guest45891
[18:16:11] *** Limix has joined #angularjs
[18:16:30] *** ngbot has joined #angularjs
[18:16:30]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from b84e62b to 50e72fc: http://git.io/f8dlzA
[18:16:30] *** ngbot has left #angularjs
[18:17:02] *** NormySan has joined #angularjs
[18:18:25] *** platonic has joined #angularjs
[18:19:03] *** teeray has joined #angularjs
[18:19:20] *** woah has quit IRC
[18:19:29] *** burzum has joined #angularjs
[18:19:32] <Evanion> Quiet here tonight?
[18:19:33] <burzum> hi
[18:19:51] <burzum> is it possible to use a service in jquery somehow? how do i get the service?
[18:21:00] *** tommyjam has quit IRC
[18:21:02] <burzum> thank you! :)
[18:21:15] *** tfennelly has quit IRC
[18:21:40] *** ome has quit IRC
[18:21:41] *** thedodd has joined #angularjs
[18:23:30] *** platonic has quit IRC
[18:23:57] *** syzygy__ has joined #angularjs
[18:24:12] *** PointBlank has joined #angularjs
[18:24:14] *** dhcar is now known as dhcar_AFK
[18:24:19] *** tommyjam has joined #angularjs
[18:24:22] *** intellix has quit IRC
[18:25:04] *** grantfunke_ has quit IRC
[18:25:57] *** tommyjam has quit IRC
[18:26:16] *** Schtive2 has joined #angularjs
[18:26:41] *** yelvert has joined #angularjs
[18:27:04] *** ryst has joined #angularjs
[18:27:06] *** livingstn has joined #angularjs
[18:27:10] *** jstroem has joined #angularjs
[18:27:12] *** jstroem_ has quit IRC
[18:27:29] *** fornax has quit IRC
[18:27:56] *** fornax has joined #angularjs
[18:27:58] *** marcjs_ has joined #angularjs
[18:28:27] *** ngbot has joined #angularjs
[18:28:27]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 50e72fc to 06016bb: http://git.io/RKrmQA
[18:28:27] *** ngbot has left #angularjs
[18:29:09] *** reavengrey has joined #angularjs
[18:29:14] *** Schtive has quit IRC
[18:29:27] *** enaqxx has quit IRC
[18:29:27] *** ngbot has joined #angularjs
[18:29:27]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 06016bb to e21b6ff: http://git.io/uhYG3g
[18:29:27] *** ngbot has left #angularjs
[18:29:43] *** CodeFriar has joined #angularjs
[18:29:48] *** mzabriskie has joined #angularjs
[18:29:51] *** DigitallyBorn has quit IRC
[18:30:17] *** JosefDe has joined #angularjs
[18:30:17] <Foxandxss> dmack: plunker was working because it is an older version
[18:30:22] *** ngbot has joined #angularjs
[18:30:22]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from e21b6ff to 77d8ae1: http://git.io/J2uZKA
[18:30:22] *** ngbot has left #angularjs
[18:30:37] *** marcjs has quit IRC
[18:30:46] <JosefDe> Hi guys. How can I do variable interpolation for a css-class. This is not working: <li class="{person.size}"> why?
[18:31:07] *** tsalb has joined #angularjs
[18:31:22] <Linell> JosefDe: try double brakcets {{ person.size }}
[18:31:22] *** seriema has joined #angularjs
[18:31:27] *** ngbot has joined #angularjs
[18:31:27]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 77d8ae1 to f157d02: http://git.io/2T8rkw
[18:31:27] *** ngbot has left #angularjs
[18:32:06] *** dhcar_AFK is now known as dhcar
[18:32:24] *** Xethron has quit IRC
[18:32:25] *** ngbot has joined #angularjs
[18:32:25]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from f157d02 to 2abea75: http://git.io/0W6Fhg
[18:32:25] *** ngbot has left #angularjs
[18:32:27] *** Reskp has joined #angularjs
[18:32:29] <JosefDe> Linell: I couldn't find any variable interpolation on that page
[18:32:38] <JosefDe> Linell: They are always using conditions
[18:33:02] *** AlexZan has quit IRC
[18:33:23] *** ngbot has joined #angularjs
[18:33:23]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 2abea75 to 52545e5: http://git.io/YP942g
[18:33:24] *** ngbot has left #angularjs
[18:33:47] *** Reskp has quit IRC
[18:33:53] *** raskel has quit IRC
[18:34:18] *** ngbot has joined #angularjs
[18:34:18]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 52545e5 to 41b36e6: http://git.io/N9qNUg
[18:34:19] *** ngbot has left #angularjs
[18:34:26] *** Reskp has joined #angularjs
[18:34:27] <Linell> JosefDe: did the {{ }} not work? I haven't tried it, but I think it should
[18:35:05] *** jstroem has quit IRC
[18:35:11] *** dhcar is now known as dhcar_AFK
[18:35:14] *** drej has joined #angularjs
[18:35:17] *** ngbot has joined #angularjs
[18:35:17]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 41b36e6 to ee1fc1d: http://git.io/QwWhug
[18:35:17] *** ngbot has left #angularjs
[18:35:32] *** jstroem has joined #angularjs
[18:35:33] *** tplaner has quit IRC
[18:35:45] <JosefDe> It's not working
[18:35:46] *** dhcar_AFK is now known as dhcar
[18:35:50] *** rabbi1 has joined #angularjs
[18:36:11] *** ngbot has joined #angularjs
[18:36:11]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from ee1fc1d to 9cc6835: http://git.io/QjlabA
[18:36:11] *** ngbot has left #angularjs
[18:36:29] <Foxandxss> JosefDe: it should
[18:36:29] *** Sebastien-L has quit IRC
[18:36:29] *** seriema has quit IRC
[18:36:37] *** flashdisastr has quit IRC
[18:36:41] *** luke_66 has quit IRC
[18:37:05] <JosefDe> @Foxandxss: I'm iterating over an JSON-Array and trying to access a loop-variable. It doesn't work. Could you give me some example?
[18:37:06] *** gnrlbzik has quit IRC
[18:37:19] *** gnrlbzik has joined #angularjs
[18:37:20] <Foxandxss> rabbi1: how you use the new one?
[18:37:29] <Foxandxss> $scope.foo = "classname"
[18:37:34] <Foxandxss> class="{{foo}}"
[18:37:45] *** atomatt has quit IRC
[18:37:49] <Evanion> ah, evening foxandxss, I must have missed you comming online
[18:38:02] <JosefDe> ok
[18:38:05] <Foxandxss> I connected like 6 hours ago :P
[18:38:11] <rabbi1> Foxandxss: ng-click="commonFactory.xeForm(form)"
[18:38:12] *** monir has quit IRC
[18:38:19] <Evanion> ok .. odd didn’t see you on the list
[18:38:21] *** jillesme has joined #angularjs
[18:38:25] *** Johnny13371337 has joined #angularjs
[18:38:26] <Foxandxss> rabbi1: that have to work
[18:38:30] *** Reskp has quit IRC
[18:38:42] <Foxandxss> at least enter on the function
[18:38:45] <Foxandxss> not reading what's inside
[18:38:47] *** phzon has quit IRC
[18:39:05] *** wiherek has joined #angularjs
[18:39:10] <wiherek> hi
[18:39:12] <rabbi1> Foxandxss: yeah, works inside xeForm function, but not inside the root function
[18:39:16] <wiherek> is there any way to preserve view
[18:39:21] <wiherek> with ui-router now?
[18:39:27] *** phzon has joined #angularjs
[18:39:37] *** firelinks has quit IRC
[18:39:48] <Foxandxss> rabbi1: that returns the root, you need to invoke that again
[18:39:54] *** Slim has joined #angularjs
[18:40:18] <Slim> w 3
[18:40:19] <Evanion> wiherek, make the new state a child of the old state
[18:40:21] *** RobinBAwesome has joined #angularjs
[18:40:33] <rabbi1> Foxandxss: you mean factory.xeForm.root ?
[18:40:35] <wiherek> Evanion: yes, I was thinking about sibling states
[18:40:39] <Foxandxss> rabbi1: no
[18:40:42] <Foxandxss> that is javascript :P
[18:40:44] *** anjumkaiser1 has joined #angularjs
[18:40:51] <Foxandxss> var root = factory.xeForm()
[18:40:52] <Foxandxss> root()
[18:41:18] <Evanion> A child will default to use the parents view
[18:41:37] *** aendrew has quit IRC
[18:41:46] <rabbi1> Foxandxss: :( din't get
[18:41:53] <wiherek> ok, so I have a parent state
[18:41:58] <wiherek> and three nested views
[18:42:09] <Foxandxss> rabbi1: that should work
[18:42:16] <JosefDe> Can't I do this?: <li class="left {{person.size}}"> ?
[18:42:17] <Evanion> that page will explain it for you
[18:42:22] <wiherek> and when I change routes, I want one the nested views to persist
[18:42:22] *** anjumkaiser has quit IRC
[18:42:38] <wiherek> Evanion: I know that page of course, but that functionality was added to other modules
[18:42:39] *** rosieres has quit IRC
[18:42:46] <wiherek> and I was hoping also ui router
[18:43:04] <Evanion> ah.. so you have a parent .. and want a siblings view to presist while your on another state ...
[18:43:06] *** jillesme has quit IRC
[18:43:10] <Evanion> tough one…
[18:43:14] <rabbi1> Foxandxss: sorry, can you expand more ?
[18:43:37] *** LordlyLord has joined #angularjs
[18:43:40] <JosefDe> what's bad about using class instead of ng-class?
[18:43:43] *** nerder has quit IRC
[18:43:43] <Evanion> josefde susre you can, or you can use ngClass
[18:43:54] <Foxandxss> rabbi1: there is nothing else, it is just that
[18:43:54] *** phzon has quit IRC
[18:43:59] <Foxandxss> xeForm returns a function
[18:44:21] <JosefDe> Evanion: But with ng-class I can't do: <li ng-class="left {{person.size}}">. It doesn't work
[18:44:50] *** AlexZan has joined #angularjs
[18:45:22] *** zz_night-owl is now known as night-owl
[18:45:36] *** LakWork has joined #angularjs
[18:45:37] *** tplaner has joined #angularjs
[18:45:40] <Evanion> if you do: <li ng-class="left" ng-class=“expression”> it will update your class, and leave the ‘left’ class untouched
[18:45:42] *** teeray has quit IRC
[18:45:53] *** opiates has quit IRC
[18:45:58] *** mnngfltg has quit IRC
[18:46:06] <rabbi1> Foxandxss: yes, it returns a function
[18:46:06] <ctanga> wiherek: what are you trying to do?
[18:46:07] <Evanion> wiherek that looks interesting … seems to fill your need
[18:46:14] <JosefDe> Evanion: twice? That looks weird
[18:46:22] <Evanion> ops
[18:46:23] <Foxandxss> rabbi1: yeah, so what's the issue?
[18:46:26] <rabbi1> just confused, why the function root isn't called
[18:46:33] <Evanion> the first one was suppose to be a normal ‘class’
[18:46:43] <JosefDe> Evanion: Ok I see
[18:47:19] <Foxandxss> rabbi1: doing what exactly
[18:47:26] <rabbi1> and var root = $scope.commonFactory.xeForm(); or CommonFactory.xeForm(); ?
[18:47:39] *** sk87 has quit IRC
[18:47:50] *** danecando has quit IRC
[18:48:09] <Evanion> ctanga: he wants a child state to persist in the view hile your navigating it’s siblings
[18:48:15] <Foxandxss> rabbi1: later
[18:48:27] <Foxandxss> but if you have a reference to it on $scope.commonFactory, that works as well
[18:48:34] *** _ritchie_ has quit IRC
[18:48:37] <rabbi1> oops, I am using angularjs-xeditable and i want only one item to be editable at given point of time. xeditable by default will not close the other item(editable) when i click another item(editable)
[18:48:50] *** seriema has joined #angularjs
[18:49:01] *** aendrew has joined #angularjs
[18:49:01] *** jareddlc has joined #angularjs
[18:49:15] <JosefDe> Evanion: No that's not working
[18:49:17] *** corehook has joined #angularjs
[18:49:28] <JosefDe> Evanion: They conflickt each other
[18:49:31] *** m8 has quit IRC
[18:49:37] <wiherek> Evanion thanks, I have doubts about that module though
[18:50:24] <Evanion> wiherek I’ve never used them .. so I can’t say anytyhing of their quality … but they seem to fill your requirement
[18:50:49] <ctanga> wiherek: only one of the nested views needs to remain when navigating to the other nested views?
[18:50:52] <Evanion> I would be curious to hear of your results
[18:50:53] *** nairys has joined #angularjs
[18:51:03] <wiherek> yes
[18:51:12] <rabbi1> Foxandxss: nope, it just throws me 'not defined'
[18:51:17] <ctanga> wiherek: sounds like you need one more nested state
[18:51:19] *** edy has joined #angularjs
[18:51:20] <rabbi1> Foxandxss: I am using angularjs-xeditable and i want only one item to be editable at given point of time. xeditable by default will not close the other item(editable) when i click another item(editable)
[18:51:22] *** adrCoder has joined #angularjs
[18:51:25] *** gnrlbzik has quit IRC
[18:51:44] <Foxandxss> I don't have knowledge of xeditable sorry
[18:51:59] <wiherek> ctanga: yea, it’s either that or those sticky views
[18:52:28] <wiherek> it’s a weird weird architecture here
[18:52:34] <ctanga> wiherek: I’d probably just structure the states
[18:52:45] <wiherek> yea but then it would be a mess kind of
[18:52:48] <ctanga> wiherek: I can give better advice on how to structure if I have more details on what results you want
[18:52:57] <wiherek> no worries, I know how to do that
[18:53:03] <ctanga> ah ok
[18:53:06] <wiherek> thanks though.
[18:53:18] <adrCoder> can anybody help me with some nexted states and multiple ui views in the same page?
[18:53:18] <wiherek> i just wanted to leave clear relations for the controllers
[18:53:29] *** jonathanpglick has joined #angularjs
[18:53:29] *** desp has joined #angularjs
[18:53:32] <wiherek> and not nest them unnecessarily
[18:53:38] <wiherek> but tough luck I guess.
[18:54:15] <rabbi1> Why the root function is not called?
[18:54:19] *** nk121 has joined #angularjs
[18:54:36] <Foxandxss> rabbi1: ok, back to square 1, how are you invoking it?
[18:54:46] <Foxandxss> I highly recommend you rereading some javascript mate :P
[18:54:56] *** ChadStrat has quit IRC
[18:54:56] <michaelSharpe> anyone know how I can detect if the $location.path() matches a resource route (ie "media/:id")?
[18:55:08] *** raskel has joined #angularjs
[18:55:16] <plato|wtf> guys, it feels awfully messy to be creating a directive matching`A` to add a click listener to each of my TOC links, surely there is something analagous to `$('#toc a').click(listener);` ?
[18:55:42] <ctanga> is that really ui-router v0.0.1 in that plunk?
[18:55:46] <rabbi1> Foxandxss: hmm, i may be missing something. better to have a re look. thanks
[18:56:19] *** LakWork has quit IRC
[18:56:52] *** ProLoser has joined #angularjs
[18:57:04] *** Reskp has joined #angularjs
[18:57:06] <ctanga> adrCoder: first, you should update to a recent ui-router. second, you should create your “data” and “system” states as children states of “vds.layout”
[18:57:14] *** whunt has joined #angularjs
[18:57:29] <Foxandxss> rabbi1: resolve that, I want to see yayy on console
[18:58:01] *** Oddman has joined #angularjs
[18:58:15] <adrCoder> ctanga thank you let me do that first
[18:58:19] *** ahmetkapikiran has joined #angularjs
[18:58:50] <Evanion> lets see when 0.0.1 came out …. **goes on github***
[18:59:00] <ctanga> may 2013
[18:59:05] <ctanga> it’s in the file header :)
[18:59:11] <Evanion> outch
[18:59:23] <michaelSharpe> anyone know how I can detect if the $location.path() matches a resource route (ie "media/:id")?
[18:59:26] *** oste has joined #angularjs
[18:59:34] *** ryst has quit IRC
[18:59:49] *** DigitallyBorn has joined #angularjs
[19:00:04] *** DigitallyBorn has quit IRC
[19:00:04] *** DigitallyBorn has joined #angularjs
[19:00:10] *** bberry has joined #angularjs
[19:00:14] *** tech2_ has quit IRC
[19:00:31] *** nemothekid has joined #angularjs
[19:00:32] *** gaganjyot has joined #angularjs
[19:00:35] <ctanga> michaelSharpe: ngRoute or ui-router?
[19:00:44] <michaelSharpe> ctanga: ui-router
[19:01:04] <ctanga> michaelSharpe: you can use the UrlMatcher internal to the state object
[19:01:15] <ctanga> michaelSharpe: to gain access to the state object you’ll have to register a decorator
[19:01:22] *** DigitallyBorn has quit IRC
[19:01:30] <michaelSharpe> ctanga: any good resources on that?
[19:01:33] *** ProLoser has quit IRC
[19:02:09] *** Reskp has quit IRC
[19:02:26] *** LakWork has joined #angularjs
[19:02:56] <JosefDe> How can I sort by date in AngularJS?
[19:03:07] *** _ritchie_ has joined #angularjs
[19:03:10] *** Oddman has quit IRC
[19:03:18] *** lsiv568 has quit IRC
[19:03:33] <ctanga> michaelSharpe: once you have it registered, you can do var matcher = $state.get(“mystate”).url; var match = matcher.exec($location.path(), $location.search());
[19:03:55] <ctanga> sorry, that should be: var matcher = $state.get(“mystate”).$$state().url;
[19:04:15] *** jstroem has quit IRC
[19:04:17] <adrCoder> ctanga I just did what you suggested making data and system children of vds.layout using the second method (vds.layout.data & vds.layout.system) and I believe I am referencing now the newest ui router in my plunker
[19:04:40] *** zemanel has quit IRC
[19:04:49] <JosefDe> Would it be better to deliver unix-timestamp via jSON or would it be more efficient to write my own filter for sorting by date?
[19:05:22] <ctanga> adrCoder: update your nav.html with references to the new state names
[19:05:32] *** wallerdev has joined #angularjs
[19:07:01] <adrCoder> ctanga perfect!! thank you so much :)
[19:07:06] <JosefDe> can anyone help?
[19:07:09] <JosefDe> What is more efficient?
[19:07:30] <rabbi1> Foxandxss: ^^ right ?
[19:07:41] *** Oddman_ has quit IRC
[19:08:10] *** duall has quit IRC
[19:08:19] <rabbi1> Foxandxss: thanks got that
[19:08:19] <rabbi1> :)
[19:08:30] *** xastey- is now known as xastey
[19:09:31] <JosefDe> Ahh....
[19:10:02] <rabbi1> Foxandxss: works good, but without expected result . :(
[19:10:33] *** krawek has quit IRC
[19:10:42] *** grantfunke_ has joined #angularjs
[19:10:51] <Foxandxss> rabbi1: so, you're doing something wrong, show me where you consume that
[19:10:57] <michaelSharpe> ctanga: Thanks for the help! I actually managed to find a way to grab the info I needed from the $state object in my controller with "$state.$current.url.sourcePath"
[19:11:14] *** arkin has quit IRC
[19:11:38] *** fornax has quit IRC
[19:11:44] *** raskel has quit IRC
[19:12:00] <ctanga> michaelSharpe: sure, if you only need to test against the $current state that’s great. You could probably use .url.exec(path, query), however
[19:12:10] *** AtomicCookie has quit IRC
[19:12:43] *** JosefDe has quit IRC
[19:13:04] *** LossFor has quit IRC
[19:13:15] *** RobinBAwesome has quit IRC
[19:13:19] *** ryst has joined #angularjs
[19:13:40] *** jstroem has joined #angularjs
[19:14:03] *** mettjus has joined #angularjs
[19:14:39] *** robocoop has joined #angularjs
[19:14:45] *** robocoop has left #angularjs
[19:14:45] *** damain has quit IRC
[19:14:51] *** jstroem has quit IRC
[19:15:17] *** jstroem has joined #angularjs
[19:15:31] *** dan2k3k4 has quit IRC
[19:15:46] *** intellix has joined #angularjs
[19:16:06] *** Linell has quit IRC
[19:16:12] *** TheAceOfHearts has joined #angularjs
[19:16:18] *** Guest68630 has joined #angularjs
[19:16:32] *** DannyCallaghan has quit IRC
[19:16:33] *** jpstone has quit IRC
[19:16:34] <Guest68630> hey guys, is there a way to have angular running in localhost without nodejs?
[19:17:23] *** AngularUI has joined #angularjs
[19:17:23]
<AngularUI> [bootstrap] kkruit opened pull request #2953: fix(carousel): #488 Carousel fails to update model changes. (master...488-carousel-respects-order-changes) http://git.io/uc_-yQ
[19:17:23] *** AngularUI has left #angularjs
[19:17:24] <Foxandxss> python?
[19:17:44] <ctanga> Guest68630: angular is client side, it runs in the browser
[19:18:08] *** tfennelly has joined #angularjs
[19:18:26] *** Aliks has joined #angularjs
[19:18:28] *** Efrem-Away is now known as Efrem
[19:18:32] <Guest68630> ctanga: how to i test routing then? for example i have a index.html linked to a script.js
[19:18:42] <Guest68630> i open the index.html with a browser
[19:18:49] *** andrcmdr has joined #angularjs
[19:18:53] <Guest68630> but then how do i test pages and the routing?
[19:18:59] <seriema> when was controller as introduced? oldest reference in doc is 1.1
[19:19:04] *** kreiggers has joined #angularjs
[19:19:20] *** trend has joined #angularjs
[19:19:20] *** Efrem has quit IRC
[19:19:27] <Evanion> and soon it’s dead ...
[19:19:29] <ctanga> Are you meaning client side routing? or do you instead mean how to fetch the resources (JS and HTML) from the server?
[19:19:41] <Guest68630> client side routing, for a spa
[19:19:52] *** robdubya has joined #angularjs
[19:19:58] <Guest68630> i have / for index.html, and /:id for show.html\
[19:19:59] <seriema> Guest68630: if it's client side, then ehm what's the problem? =)
[19:20:07] *** grantfunke_ has quit IRC
[19:20:07] <ctanga> then I’m not sure what the question is.
[19:20:30] <seriema> Evanion: you meant me? is controller as dying? or did you mean the whole controller (2.0)?
[19:20:34] *** mclenithan has joined #angularjs
[19:20:45] <ctanga> let’s say index.html had <script> tags for all the JS. The routes are inside those scripts
[19:20:50] <Evanion> I was refering to angular 2.0
[19:20:52] <Foxandxss> rabbi1: can I see the controller ?
[19:20:54] <robdubya> ctanga - do you have that state visualizer handy?
[19:20:56] <seriema> Evanion: ok
[19:21:10] *** dllama has quit IRC
[19:21:20] <ctanga> robdubya: it’s not separated out to its own module
[19:21:29] *** dllama has joined #angularjs
[19:21:43] *** Linell has joined #angularjs
[19:22:15] *** ChadStrat has joined #angularjs
[19:22:30] *** syzygy__ has quit IRC
[19:22:37] *** angularJSUser600 has quit IRC
[19:23:04] *** syzygy__ has joined #angularjs
[19:23:06] <Guest68630> so for example, routeProvider.when('/:id'... that just routes to a specific angular controller, but does touch the url?
[19:23:23] <Guest68630> doesnt**
[19:23:36] <ctanga> ngRoute should update the URL hash for you
[19:23:36] *** andrcmdr has quit IRC
[19:23:40] <ctanga> but I
[19:23:41] <ctanga> I
[19:23:48] <ctanga> argh. But I’m no ngRoute expert
[19:24:02] *** mtsr has joined #angularjs
[19:24:06] <seriema> Guest68630: it updates the URL without hitting the server
[19:24:15] *** RobinBAwesome has joined #angularjs
[19:24:20] *** josdeha_rt has joined #angularjs
[19:24:30] *** Aswebb has joined #angularjs
[19:24:33] <Aswebb> Hello people
[19:24:47] <Aswebb> What kind of testing framework would u advice using angularjs?
[19:24:47] *** woah has joined #angularjs
[19:24:48] <Aswebb> KarmaJS?
[19:24:59] <TheAceOfHearts> not jasmine
[19:25:16] <robdubya> ctanga i want to use it to show my team our broke ass state tree
[19:25:28] <TheAceOfHearts> just use tap/tape, it's simple and clean
[19:25:32] *** desp has quit IRC
[19:25:47] <ctanga> robdubya: it should be fairly straightforward to rip out
[19:25:53] <TheAceOfHearts> if it's something more complicated you might wanna pull in mocha, sinon, and chai
[19:25:55] <robdubya> eggscellent
[19:25:58] <ctanga> it’s on my todo list but pretty low in priority :)
[19:26:11] <robdubya> if i pull it out i'll push it back
[19:26:14] <Slim> w 6
[19:26:29] <ctanga> thanks
[19:26:34] *** rhp has joined #angularjs
[19:26:40] <ctanga> I think it doesn’t even need to be part of ui-router-extras
[19:26:43] <ctanga> it could just be its own thing
[19:26:45] <ctanga> or whatever
[19:27:17] <Foxandxss> rabbi1: that should work
[19:27:29] *** desp has joined #angularjs
[19:27:53] <rabbi1> Foxandxss: yeah, but it isn't...
[19:28:03] <Foxandxss> what are you getting back?
[19:28:30] <rabbi1> Foxandxss: nothing, i mean. the functionality what i am intended to is not working
[19:28:40] <Foxandxss> that does not help
[19:28:51] <rabbi1> now, editing another row is not closing the previous form item
[19:29:03] <TheAceOfHearts> I played around with Ello a little bit, but their interface is so unintuitive :| ...
[19:29:16] *** eamonn has quit IRC
[19:29:36] *** LossFor has joined #angularjs
[19:29:50] *** marshall has quit IRC
[19:29:51] *** baweaver has joined #angularjs
[19:29:54] *** tristanp has quit IRC
[19:30:09] *** jae has quit IRC
[19:31:12] *** bluepnume has joined #angularjs
[19:31:22] *** tristanp has joined #angularjs
[19:32:01] *** syzygy__ has left #angularjs
[19:32:11] <bluepnume> Hi -- how can I lazily add a new module after my app is loaded? Say I have my app Foo, and module Bar, I really need something like Foo.addDependency('Bar')
[19:32:23] *** Snugug has quit IRC
[19:32:25] *** syzygy_ has joined #angularjs
[19:32:32] *** joker666 has joined #angularjs
[19:32:58] *** arpu has quit IRC
[19:32:59] *** baweaver has quit IRC
[19:33:04] *** Snugug has joined #angularjs
[19:33:19] *** Oddman has joined #angularjs
[19:33:57] *** adrCoder has quit IRC
[19:34:12] *** kirfu has joined #angularjs
[19:34:22] *** arthas has quit IRC
[19:35:35] *** monir has joined #angularjs
[19:35:54] *** frankblizzar has joined #angularjs
[19:36:06] *** loverajoel has quit IRC
[19:36:52] *** lite has joined #angularjs
[19:37:56] *** wiherek has quit IRC
[19:38:09] *** Marble68 has quit IRC
[19:38:15] <rabbi1> Foxandxss: the 'acitveForm' is null when i call root method from CommonFactory, while the previous approach, the activeForm will have a constructor
[19:38:19] <lrvick> does location.path make angular do extra work that location.href does not? location.path takes 2+ seconds longer than location.href. Debugging ideas?
[19:38:44] *** _ritchie_ has quit IRC
[19:38:47] <Foxandxss> uh oh, that is a different issue
[19:38:53] <Foxandxss> and I am trying to fix something now sorry
[19:38:56] <Aswebb> Foxandxss: What testing framework do u use?
[19:39:02] <Aswebb> for angularjs project
[19:39:10] *** iribarne has joined #angularjs
[19:39:11] *** grantfunke_ has joined #angularjs
[19:39:24] *** evilaliv3 has joined #angularjs
[19:39:25] *** jillesme has joined #angularjs
[19:40:02] *** jstroem has quit IRC
[19:40:07] *** freeman42 has joined #angularjs
[19:40:13] *** woah has quit IRC
[19:40:20] *** Learner1 has joined #angularjs
[19:40:23] *** mak`` has quit IRC
[19:40:32] <Foxandxss> jasmine
[19:40:33] *** jstroem has joined #angularjs
[19:40:38] *** qdk has quit IRC
[19:40:46] *** kkthxbye has joined #angularjs
[19:40:59] <joker666> :(
[19:41:06] <joker666> I hate typescript
[19:41:11] *** jstroem has quit IRC
[19:41:16] <TheAceOfHearts> jasmine suffers from "trying to do everything and not doing a great job at any of it"
[19:41:22] *** mettjus has quit IRC
[19:41:24] <joker666> I don't understand those complex interfaces
[19:41:40] *** jstroem has joined #angularjs
[19:42:25] <storkme> that's funny, I have that same issue.
[19:42:42] *** arkin has joined #angularjs
[19:42:43] *** arkin has joined #angularjs
[19:42:47] *** Reskp has joined #angularjs
[19:43:08] <joker666> and jsx doesn't support typescript
[19:43:23] <joker666> they are doing this weird hack for dsupporting TS with JSX
[19:43:25] <Foxandxss> TheAceOfHearts: bah, it does the job
[19:43:36] *** fataldecrease has quit IRC
[19:43:59] *** adpirz has joined #angularjs
[19:44:24] <lebster> if im trying to retrieve a user or multiple users from my api, do i put both of those calls in a factory? or a service?
[19:44:46] *** Shilon has quit IRC
[19:45:11] *** cesarkawakami has quit IRC
[19:46:17] *** stschwark has joined #angularjs
[19:46:26] <Guest68630> I keep getting cross origin errors trying to run a angular spa app locally
[19:46:37] <Guest68630> do i need to create a node server to run it in localhost?
[19:46:47] *** jonr22 has joined #angularjs
[19:46:53] *** LakWork has quit IRC
[19:47:10] <Linell> lebster: Put em in a service
[19:47:17] <Linell> Guest68630: yup
[19:47:27] <Guest68630> linell: thanks
[19:47:29] *** Reskp has quit IRC
[19:47:37] *** mtsr has quit IRC
[19:47:40] *** nuizzy has joined #angularjs
[19:47:43] <TheAceOfHearts> so, TIL that localStorage won't work in Private Mode in Safari.
[19:47:44] *** Learner1 has quit IRC
[19:48:01] <Linell> Huh, that's weird. It seems like it would work that that session, at least.
[19:48:10] <TheAceOfHearts> I agree.
[19:48:12] *** adpirz has quit IRC
[19:48:14] <TheAceOfHearts> but it just throws
[19:49:08] *** loverajoel has joined #angularjs
[19:49:15] <ctanga> Guest68630: python -m "SimpleHTTPServer" 8888
[19:49:15] <ctanga> Serving HTTP on 0.0.0.0 port 8888 ...
[19:49:34] *** dhcar is now known as dhcar_AFK
[19:50:19] *** jstroem has quit IRC
[19:50:20] <robdubya> no ng-conf :(
[19:50:37] *** jstroem has joined #angularjs
[19:50:41] <icfantv> ng-conf tix go on sale tomorrow and i STILL can't get an f-ing budget from my mgr.
[19:50:51] *** lite has quit IRC
[19:50:53] <icfantv> stupid merger
[19:51:01] *** trend has quit IRC
[19:51:34] *** bostonaholic has quit IRC
[19:51:40] *** plato|wtf has quit IRC
[19:51:42] <BahamutWC|Work_> robdubya: well, if your PR gets merged…
[19:51:57] *** jonr22 has quit IRC
[19:52:02] <robdubya> pretty sure it wont at this point
[19:52:05] *** BahamutWC|Work_ is now known as BahamutWC|Work
[19:52:09] <lebster> Linell: do you know any good open source applications that use a service for that? i keep looking for examples but they all use a factory with a method that fills out that object from the api. but this only solves getting a single object from the api,not multiple objects.
[19:52:11] *** tfennelly has quit IRC
[19:52:14] *** Reskp has joined #angularjs
[19:52:19] *** gnrlbzik has joined #angularjs
[19:52:26] *** jillesme has quit IRC
[19:52:26] *** gnrlbzik has quit IRC
[19:52:30] *** woah has joined #angularjs
[19:52:31] <robdubya> SEE IF I CONTRIBUTE TO YOUR STUPID COMMUNITY ANYMORE
[19:52:37] <robdubya> I"LL GO START MY OWN ANGULAR
[19:52:40] <robdubya> WITH BEER AND HOOKERS
[19:52:42] <robdubya> :D
[19:52:47] *** trend has joined #angularjs
[19:52:53] <Guest68630> ctanga: very cool thankyou
[19:52:56] <BahamutWC|Work> there’s a lot of stupid PRs in that list
[19:53:10] *** ctanga has left #angularjs
[19:53:16] *** ctanga has joined #angularjs
[19:53:45] *** mennea has joined #angularjs
[19:53:48] *** szymek has quit IRC
[19:53:49] <ctanga> tl;dr angular sucks, so I wrote my own
[19:53:52] *** crawleyprint has quit IRC
[19:53:59] <Linell> lebster: Hmm... what do you mean by multiple objects? Like what does the data your API is returning look like?
[19:54:01] <TheAceOfHearts> I'm buying 3 tickets for our office lol
[19:54:03] <BahamutWC|Work> I refuse to read reddit
[19:54:12] <robdubya> "Over the years I have looked at Java Swing, SWT, Flex, GWT, jQuery, SmartClient, JSP, Wicket, Struts, Spring MVC and now AngularJS"
[19:54:21] <robdubya> lol stopped reading right there
[19:54:28] <BahamutWC|Work> haha
[19:54:34] <ctanga> <— java background
[19:54:48] <Foxandxss> java > /dev/null
[19:54:56] *** marr has joined #angularjs
[19:54:59] <robdubya> that sucks though, only 2 tix from our company
[19:55:03] <ctanga> java is greater than bitbucket
[19:55:15] <lebster> Linell: like get order, and get all orders
[19:55:23] <BahamutWC|Work> that’s :(
[19:55:31] *** mtsr has joined #angularjs
[19:55:34] *** roachiep- has quit IRC
[19:55:36] <BahamutWC|Work> although maybe we can get our whole team to go to jsconf
[19:55:41] *** plato|wtf has joined #angularjs
[19:55:56] *** pootw has joined #angularjs
[19:56:11] <Linell> lebster: So is the get all orders not a single big JSON object that's something like {"order_one": {}, "order_two": {}} ?
[19:56:22] <TheAceOfHearts> honestly, i feel like a lot of conferences are just an excuse to spend time chilling lol
[19:56:24] <Foxandxss> yeah, letting X people go is not good
[19:56:35] <BahamutWC|Work> huh, that ngTasty one is a Twitter talk
[19:56:48] *** pootw has joined #angularjs
[19:56:52] <jsheely> Having a problem with passing the value of a service property to a controller property
[19:56:54] <BahamutWC|Work> Twitter uses Angular?
[19:57:18] <jsheely> $scope.someProperty = Service.someProperty;
[19:57:31] <jsheely> if I update Service.someProperty it isn't reflected by the $scope.
[19:57:36] <jsheely> Is that a dumb way to do it?
[19:58:03] <TheAceOfHearts> jsheely: yes
[19:58:12] <TheAceOfHearts> $scope.service = Service;
[19:58:15] <TheAceOfHearts> and now it's an object
[19:58:21] <TheAceOfHearts> so when you update the value
[19:58:25] <TheAceOfHearts> it'll be reflected on the scope
[19:58:27] <TheAceOfHearts> basic JS
[19:58:46] <jsheely> yea I figured. But I don't really want all the properties of the object
[19:58:59] <jsheely> but I guess I could just have different "view models" in my service
[19:59:10] <TheAceOfHearts> yeah
[19:59:19] <TheAceOfHearts> or just ignore the ones you don't need?
[19:59:19] *** pootpoot has quit IRC
[19:59:40] *** Nijikokun has joined #angularjs
[19:59:41] *** dc_ has joined #angularjs
[19:59:44] *** Nijikokun has quit IRC
[19:59:48] *** ngbot has joined #angularjs
[19:59:48] <ngbot> angular.js/master 804e750 AlexChan: docs(ngModel.NgModelController) use `$evalAsync` instead of `$apply` for event handling...
[19:59:48] *** ngbot has left #angularjs
[20:00:03] *** favetelinguis has quit IRC
[20:00:03] *** dhcar_AFK is now known as dhcar
[20:00:10] *** ngbot has joined #angularjs
[20:00:10] <ngbot> angular.js/v1.2.x c26b5e3 AlexChan: docs(ngModel.NgModelController) use `$evalAsync` instead of `$apply` for event handling...
[20:00:11] *** ngbot has left #angularjs
[20:00:18] *** bkuberek has joined #angularjs
[20:00:19] *** marcjs_ has quit IRC
[20:00:22] *** Nijikokun has joined #angularjs
[20:00:38] *** favetelinguis has joined #angularjs
[20:01:00] *** rabbi1 has quit IRC
[20:01:02] *** Nijikokun has joined #angularjs
[20:01:06] *** yelvert has quit IRC
[20:01:31] *** arpu has joined #angularjs
[20:01:32] *** yelvert has joined #angularjs
[20:01:59] *** desp has quit IRC
[20:02:02] *** arpu has quit IRC
[20:02:07] *** mettjus has joined #angularjs
[20:02:18] *** CitizenKane has joined #angularjs
[20:02:22] *** arpu has joined #angularjs
[20:02:45] *** favetelinguis has quit IRC
[20:02:50] *** kirfu has quit IRC
[20:02:51] <seriema> when reading an article, do you prefer the sample code first or the reasoning "why you should do this" first?
[20:02:59] *** umib0zu has joined #angularjs
[20:03:10] *** favetelinguis has joined #angularjs
[20:03:27] *** bkuberek_ has quit IRC
[20:03:43] *** iribarne has quit IRC
[20:03:44] *** roachiepoopoo has joined #angularjs
[20:03:49] *** jstroem has quit IRC
[20:03:51] *** jstroem_ has joined #angularjs
[20:03:57] <umib0zu> hey guys. does anyone know how to bind scope event emission to buttons instead of using ng-click?
[20:03:58] *** Shrooms` has joined #angularjs
[20:04:03] *** OddDuck has joined #angularjs
[20:04:03] *** OddDuck has joined #angularjs
[20:04:10] *** Kismet010 has quit IRC
[20:04:13] *** netdiablo has joined #angularjs
[20:04:38] *** Oddman has quit IRC
[20:04:41] <jsheely> TheAceOfHearts What would be the equivilent way to do a $watch then on the service?
[20:04:46] <Linell> seriema: Personally, code first with decent comments and then a line by line afterwards
[20:04:56] <jsheely> Someone mentioned a getter; setter function
[20:05:03] *** baweaver has joined #angularjs
[20:05:04] <jsheely> That's the only way?
[20:05:06] *** bjtitus has quit IRC
[20:05:09] *** Shrooms` has quit IRC
[20:05:15] <seriema> Linell: thx
[20:05:16] <TheAceOfHearts> you could use getters and setters, sure
[20:05:22] <TheAceOfHearts> just make a function for updating stuff
[20:05:23] <TheAceOfHearts> idk
[20:05:24] <jsheely> Smarter way?
[20:05:27] *** Shrooms` has joined #angularjs
[20:05:32] <TheAceOfHearts> I like obvious code
[20:05:40] <jsheely> Fair enough
[20:05:44] <TheAceOfHearts> getter and setters aren't completely obvious
[20:05:46] *** mac_nibblet has quit IRC
[20:05:49] *** yelvert has quit IRC
[20:05:50] *** danecando has joined #angularjs
[20:06:07] <jsheely> I don't like the idea of introducing another function just to update a property
[20:06:16] *** lsiv568 has joined #angularjs
[20:06:41] *** cotko has quit IRC
[20:06:41] <seriema> but the idea of using Object.create voodoo to do a setter is tempting?
[20:06:51] *** woah has quit IRC
[20:06:57] <jsheely> But I guess that's the only logical way to do it
[20:06:58] <TheAceOfHearts> it really depends on what software patterns you follow
[20:07:02] *** Shilon has joined #angularjs
[20:07:10] *** siddart has quit IRC
[20:07:10] *** platonic has joined #angularjs
[20:07:22] <lebster> Linell: yeah its a collection of orders it returns in json
[20:07:26] *** siddart has joined #angularjs
[20:07:34] *** cthrax has joined #angularjs
[20:07:35] * seriema always rewrites coworkers code to look like Lisp
[20:07:46] *** beardyname has joined #angularjs
[20:07:48] *** edy_ has joined #angularjs
[20:07:56] <Linell> lebster: So, in reality you're just returning one big object as far as the service is concerned
[20:08:05] <TheAceOfHearts> heh
[20:08:07] *** poolside has quit IRC
[20:08:12] *** mac_nibblet has joined #angularjs
[20:08:18] *** mac_nibblet is now known as Guest91479
[20:08:49] *** monir has quit IRC
[20:08:51] *** arkin has quit IRC
[20:09:25] *** Shrooms` is now known as Shrooms
[20:09:49] *** Shrooms has joined #angularjs
[20:09:53] *** edy has quit IRC
[20:09:58] <beardyname> So I'm a bit slow, but I can't really find out how to do post, The intro and codeschool both talked about .get Anyone got something to read about post?
[20:10:03] *** Shrooms has quit IRC
[20:10:03] *** Shrooms has joined #angularjs
[20:10:36] *** Trow has quit IRC
[20:10:39] *** DLSteve has joined #angularjs
[20:10:46] *** OddDuck has quit IRC
[20:10:59] *** grantfunke_ has quit IRC
[20:10:59] *** intellix has quit IRC
[20:11:01] *** siddart has quit IRC
[20:11:18] *** siddart has joined #angularjs
[20:11:19] <beardyname> oh there we have some, the docs to the rescue
[20:11:30] *** trend has quit IRC
[20:12:09] *** siddart has quit IRC
[20:12:11] *** platonic has quit IRC
[20:12:26] *** siddart has joined #angularjs
[20:13:06] *** jwowwz has joined #angularjs
[20:13:25] *** jstroem_ has quit IRC
[20:13:31] *** patric100e99 has joined #angularjs
[20:13:41] *** jstroem has joined #angularjs
[20:14:00] <TheAceOfHearts> $http
[20:14:03] <TheAceOfHearts> $http.post
[20:14:08] *** ngbot has joined #angularjs
[20:14:08] <ngbot> angular.js/master 5e78af7 codef0rmer: docs(guide/Index): add book AngularJS UI Development...
[20:14:08] *** ngbot has left #angularjs
[20:14:27] *** ngbot has joined #angularjs
[20:14:27] <ngbot> angular.js/v1.2.x e49a143 codef0rmer: docs(guide/Index): add book AngularJS UI Development...
[20:14:27] *** ngbot has left #angularjs
[20:15:04] *** siddart has quit IRC
[20:15:21] *** siddart has joined #angularjs
[20:15:28] *** LakWork has joined #angularjs
[20:15:40] *** azizur has quit IRC
[20:15:41] *** stormbytes has joined #angularjs
[20:15:49] <stormbytes> hello folks
[20:16:07] *** Reskp has quit IRC
[20:16:49] *** tommyjam has joined #angularjs
[20:16:51] *** gnrlbzik has joined #angularjs
[20:17:12] *** htmelvis has joined #angularjs
[20:17:13] *** DigitallyBorn has joined #angularjs
[20:17:13] *** DigitallyBorn has joined #angularjs
[20:17:13] <Guest68630> to send an authorization header to imgur with a http get, is that hardwired in the url?
[20:17:25] *** gnrlbzik has joined #angularjs
[20:18:13] *** DannyCallaghan has joined #angularjs
[20:18:19] <robdubya> rtfm
[20:18:35] *** patric100e99 has quit IRC
[20:19:03] *** bostonaholic has joined #angularjs
[20:19:12] *** siddart has quit IRC
[20:19:15] <stormbytes> whats the correct bower package for angular?
[20:19:20] *** Latros-OS has joined #angularjs
[20:19:28] *** siddart has joined #angularjs
[20:19:39] <stormbytes> i'm confused by all the angular pacakges
[20:19:40] <robdubya> angular
[20:19:47] <seriema> stormbytes: yeah I hate that, I always end up going to the angular project on github and checking
[20:19:52] <robdubya> not angularjs, dunno what that one is
[20:20:01] *** pascal has joined #angularjs
[20:20:47] *** ngbot has joined #angularjs
[20:20:48]
<ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/Bsjepw
[20:20:48] <ngbot> angular.js/master 0db573b Pawel Kozlowski: feat($routeProvider): allow setting caseInsensitiveMatch on the provider...
[20:20:48] *** ngbot has left #angularjs
[20:21:03] *** jstroem has quit IRC
[20:21:06] <stormbytes> seriema what do you check for?
[20:21:08] <BahamutWC|Work> angularjs is the actual repo, i.e. github.com/angular/angular.js
[20:21:28] *** jstroem has joined #angularjs
[20:21:29] <robdubya> ^
[20:21:42] *** grantfunke_ has joined #angularjs
[20:21:44] *** Trow has joined #angularjs
[20:21:46] *** jstroem has quit IRC
[20:22:07] *** jstroem has joined #angularjs
[20:22:18] <seriema> and then looking at the bower.json file just to be sure. I've been fooled once, and that's not going to happen again! :P
[20:22:46] *** frem has joined #angularjs
[20:22:49] <robdubya> w/ bower they break the core angular repo into half a dozen individual bower repos
[20:22:56] <stormbytes> which is retarded
[20:22:56] *** doginal has joined #angularjs
[20:23:02] <robdubya> not really
[20:23:05] *** siddart has quit IRC
[20:23:18] <robdubya> if you're using wiredep or something along those lines, you dont necessarily want ALL the stuf
[20:23:21] *** siddart has joined #angularjs
[20:23:23] <seriema> there's some ignore field in bower.json I think, but it's obviously not what we need
[20:23:37] *** blackorzar has quit IRC
[20:23:37] <robdubya> bower is retarded anyway, so that's not exactly angular's fault
[20:23:39] *** Oddman has joined #angularjs
[20:23:41] <stormbytes> there should be a way of adding install flags
[20:23:41] *** mennea has quit IRC
[20:23:50] <stormbytes> to bower i mean
[20:24:02] *** slashroot_ has joined #angularjs
[20:24:03] <seriema> since angular splits angular into different main files, I don't mind them being different bower installs
[20:24:09] <stormbytes> bower install --components="ngFoo, ngBar" angular
[20:24:17] <lebster> Linell: so you should make a user object and userlist object then?
[20:24:31] <lebster> Linell: and have a get function for both of those?
[20:24:36] *** trend has joined #angularjs
[20:24:44] *** bjtitus has joined #angularjs
[20:24:53] *** CiE has quit IRC
[20:25:02] *** mennea has joined #angularjs
[20:25:03] *** spatialbrew has joined #angularjs
[20:25:20] <stormbytes> i'm going to re-install packages...
[20:25:39] *** CiE has joined #angularjs
[20:25:42] *** jMyles has quit IRC
[20:25:45] *** mennea has quit IRC
[20:26:10] <Linell> lebster: It depends on exactly how you're planning on using it. If that works for what you're doing, by all means go for it.
[20:26:14] *** mennea has joined #angularjs
[20:26:15] *** mzabriskie has quit IRC
[20:26:40] *** jstroem has quit IRC
[20:26:55] <stormbytes> is there a 'correct/angular' way to load external html into a page?
[20:27:01] <stormbytes> without using routes i mean..
[20:27:06] *** siddart has quit IRC
[20:27:06] *** Sky[x] has quit IRC
[20:27:19] *** DannyCallaghan has quit IRC
[20:27:21] *** siddart has joined #angularjs
[20:27:58] *** _ritchie_ has joined #angularjs
[20:28:01] <stormbytes> i want to get html (ajax) *which contains angular directives and load it into a div in my page
[20:28:09] *** prosper_ has quit IRC
[20:28:20] *** samuel02 has quit IRC
[20:28:24] *** Poppabear has quit IRC
[20:28:48] <stormbytes> i want to know if (1) there's a better/more 'angular' way to do that and (2) if i need to trigger a digest or if angular will recognize the tags/directives in the new div-contents
[20:29:14] *** Asiajey has joined #angularjs
[20:29:14] *** Asiajey has joined #angularjs
[20:29:30] <lebster> Linell: i think im just confused, in c# i make a model then i populate it with a service, i also use the same service to populate a list of that model
[20:29:55] *** psnell has joined #angularjs
[20:30:00] *** vassagus has joined #angularjs
[20:30:14] *** siddart has quit IRC
[20:30:23] *** marshall has joined #angularjs
[20:30:31] *** siddart has joined #angularjs
[20:30:32] *** charuru has joined #angularjs
[20:30:50] *** mtsr has quit IRC
[20:30:56] *** kayoone has quit IRC
[20:31:01] <psnell> if i have ng-show or ng-hide in my html, I always get angular-animate throwing error 'TypeError: doneCallback is not a function'. any ideas?
[20:31:50] <seriema> stormbytes: sounds like you should just use directives as you should? and if you need to populate it with dynamic data it should just use the template system?
[20:31:53] *** basiclaser_ has quit IRC
[20:32:00] *** bostonaholic has quit IRC
[20:32:36] <seriema> aka. you don't load html and inject it to the page yourself. like you would with jQuery
[20:32:37] <Linell> lebster: sorry for the coffeescript, but this is pretty much what I do. vm.avaliableUsers is just a variable bound to $scope. I call my service that gets a list of avaliable users and then (once the promise is resolved) set the avaliable users to the data that I got back
[20:32:41] <psnell> like i could even just have ng-show="true", doesn't matter what i put there, the angular-animate error is logged
[20:32:50] *** lsiv568 has quit IRC
[20:32:54] *** Snugug has quit IRC
[20:33:03] *** iribarne has joined #angularjs
[20:33:04] <stormbytes> seriema - i've been on agularjs for about a week and have yet to come across any example of its use that doesn't involve ng-repeat, ng-view/routing or 'inject this and inject that'
[20:33:30] <seriema> stormbytes: that's not what I meant with injecting though?
[20:33:33] <stormbytes> honestly wish i hadn't bothered starting with this framework... 'opinionated' is the mother of understatements
[20:33:50] <stormbytes> seriema - i know ;) i'm just ranting
[20:34:00] *** DigitallyBorn has quit IRC
[20:34:10] <seriema> stormbytes: well, I'm never going back to jQuery :P
[20:34:21] <seriema> "do what the f* you want"-library
[20:34:26] *** siddart has quit IRC
[20:34:35] <seriema> it's fine if I'm the master of the toyroom, but if other kids are playing.... *runs away screaming*
[20:34:43] *** siddart has joined #angularjs
[20:34:48] <Evanion> I use ng-repeat about once a week, and views about once every 2 weeks ...
[20:34:58] <psnell> i guess i just want to noop that doneCallback, but i have no idea why / where it's expecting that to be defined
[20:35:09] *** trend has quit IRC
[20:35:10] <stormbytes> seriema - angular offers *some* advantage over jquery in the organiztion sense.. but its a f* socialist platform -- do things *our way
[20:35:23] <seriema> stormbytes: you american?
[20:35:35] *** Juanchito has quit IRC
[20:35:37] <stormbytes> and the databinding looks 'miraculous' on the surface.. until you get into the whole 'digest' paradign
[20:35:47] <stormbytes> sort of :-P
[20:35:59] * seriema is born and lives in (Socialist) Sweden
[20:36:00] <Evanion> I picture him as a texan oil baron or something ...
[20:36:04] *** OddDuck has joined #angularjs
[20:36:10] <stormbytes> lol
[20:36:20] <Evanion> or perpaps the scheriff in bond...
[20:36:21] <lebster> Linell: what about a single user
[20:36:22] <seriema> so when people use "socialist" like a swear word I go "huh?"
[20:36:23] <stormbytes> well angularjs is a socialist framework
[20:36:38] *** krawek has joined #angularjs
[20:36:40] <seriema> socialism is awesome. maybe that's why I like angular then :P
[20:36:53] <stormbytes> socialist = "We're better human beings then you. We're going to teach you how to be better"
[20:36:58] <lebster> Linell: say you update a users name in that list, does user have a user.update function?
[20:37:14] <stormbytes> my problem with socialism isn't the idea, rather the implementation
[20:37:15] <icfantv> WOOOOOOOOOOT!!!! got approval for ng-conf
[20:37:22] *** josdeha_rt has quit IRC
[20:37:23] <seriema> stormbytes: no that's not what it is. socialism is "everybody is on the same level"
[20:37:24] <icfantv> i take back my early "damn the merger" statement
[20:37:39] *** ChadStrat has quit IRC
[20:37:40] *** ali has joined #angularjs
[20:37:42] <seriema> icfantv: congrats!
[20:37:46] <Evanion> we have another word for ‘socialism’ in sweden
[20:37:51] <Evanion> ‘jantelag’
[20:37:57] <seriema> lol yepp
[20:38:04] <stormbytes> seriema - that's the meaning of socialism in *concept* or *principle, i'm referring to the implementation
[20:38:07] <seriema> and it's implemented with "lagom"
[20:38:14] <Evanion> yea
[20:38:18] <Linell> lebster: Well, you'd want to find that user in the userList object and then just change the value. So user[0].name = "Fart". As far as ng is concerned, that dude is now named Fart.
[20:38:20] *** siddart has quit IRC
[20:38:28] *** jstroem has joined #angularjs
[20:38:33] <seriema> stormbytes: since you don't live in a socialist country, what do you know? :P
[20:38:36] *** siddart has joined #angularjs
[20:38:39] <icfantv> seriema: thanks! super stoked. now i just need to be able to buy tickets....
[20:38:44] * seriema just realized he's trying to discuss politics on the Internet
[20:38:48] <psnell> how do you define an angular-animate 'doneCallback' ?
[20:38:49] <Linell> lebster: updating that on the db is different, though. You'd need another service that sends a POST request to the api to update that user
[20:38:58] <stormbytes> lol well now that we've gotten past the political sides of my technical problem :)) how would you suggest I go about addressing this? I don't know enough about directives to understand how they are relevant here, so if you could point that out?
[20:39:14] <stormbytes> seriema - socialism is an 'effort' -- its not a system ;)
[20:39:18] *** gnarMatix has quit IRC
[20:39:33] *** desp has joined #angularjs
[20:39:49] <Evanion> Pure socialism and pure capitalism doesn’t work … russia have broved both
[20:39:52] *** eamonn has joined #angularjs
[20:39:59] *** vonnegut has joined #angularjs
[20:40:04] <vonnegut> hi all.
[20:40:24] <Evanion> hello vonnegut
[20:40:28] <vonnegut> anybody know of a good lib for faking json
[20:40:28] <seriema> stormbytes: haha ok, ehm I would put my HTML in html files... bind directives to them... use html2js to transform the .html to .js so we don't get messy includes. then use AJAX through a service to fill up a controllers scope, that's bound to a directive. and voila, socialism!
[20:40:40] <seriema> vonnegut: I know several. define "faking"
[20:40:41] <vonnegut> like faking an api
[20:40:51] *** ChadStrat has joined #angularjs
[20:41:03] <Linell> I haven't used it, but it looks nice.
[20:41:05] <Evanion> you can just $http.get a json file …
[20:41:10] <seriema> that's good for a fake api, but doesn't generate json data
[20:41:12] <Evanion> I’d call that faking it
[20:41:20] <vonnegut> hmm.. two good suggestions.
[20:41:32] *** spaceonline has quit IRC
[20:41:33] *** OddDuck` has joined #angularjs
[20:41:34] *** pootpoot has joined #angularjs
[20:41:34] <vonnegut> just using json files and checking the github link now
[20:41:35] <stormbytes> seriema karl marks is turning over in his grave !!
[20:41:53] *** lsiv568 has joined #angularjs
[20:41:53] <vonnegut> (ive used that json generator before, that thing is great)
[20:42:06] *** braidn has quit IRC
[20:42:14] <stormbytes> so you're binding directives to html files, but how to do you swap directives in and out of a page?
[20:42:35] *** siddart has quit IRC
[20:42:40] <vonnegut> checkig
[20:42:52] *** siddart has joined #angularjs
[20:43:03] <seriema> not that I'm JP Johansson or anything... *looks away*
[20:43:18] <vonnegut> haha
[20:43:23] *** Reskp has joined #angularjs
[20:43:28] <vonnegut> ill give jp your regards
[20:43:37] <Linell> [insert buzzwords here]
[20:43:38] *** g3funk has joined #angularjs
[20:43:43] <seriema> thx Batman! I mean, Bruce.
[20:43:57] <vonnegut> :)
[20:44:03] *** eamonn has quit IRC
[20:44:07] <seriema> Linell: heh I'm actually thinking of making a buzzword bullshit generator there
[20:44:27] <Aliks> anyone know a way to use input[date] but turn off the calendar selection part?
[20:44:35] <Aliks> I just want the date fields, but not a dropdown calendar
[20:44:49] <Linell> Triple points if you do it with a markov chain of HN articles/comments
[20:44:52] <seriema> Aliks: use IE *badum-dish*
[20:44:58] <Aliks> lol
[20:45:16] <seriema> Linell: lol I'll get right on it
[20:45:22] *** OddDuck has quit IRC
[20:45:24] <Evanion> Seriema, are you located in sthlm?
[20:45:41] <seriema> Evanion: ye! well, right now I'm in Bratislava, but yeah.
[20:45:47] *** ProLoser has joined #angularjs
[20:45:59] *** siddart has quit IRC
[20:46:02] *** pootw has quit IRC
[20:46:07] <Evanion> ok, Fancy taking a coffie some time … would be nice to hook up with some fellow developers
[20:46:15] *** siddart has joined #angularjs
[20:46:19] *** slashroot__ has joined #angularjs
[20:46:22] <seriema> Evanion: sure! that would be cool =)
[20:46:29] *** slashroot_ has quit IRC
[20:46:36] <Aliks> ah I see, that's actually not even an Angular feature...
[20:46:43] <Aliks> it's just an HTML5 input
[20:46:45] *** brwr has quit IRC
[20:46:46] <seriema> Aliks: haha yes?
[20:46:48] *** jillesme has joined #angularjs
[20:47:12] <psnell> why would ng-hide cause angular-animate performAnimation method to have a doneCallback as an object { tempClasses="ng-hide-animate"}
[20:47:15] <seriema> Evanion: I'm here in ex-USSR until 5th dec
[20:47:20] *** mettjus has quit IRC
[20:47:27] <Aliks> seriema: is there any CSS selector or other option to remove the calendar selector?
[20:47:29] <psnell> when doneCallback is expected to be invoked as a function?
[20:47:31] <Evanion> OK
[20:47:34] *** mzabriskie has joined #angularjs
[20:47:52] *** Snugug has joined #angularjs
[20:48:12] *** slopjong_ has joined #angularjs
[20:48:12] *** slopjong has joined #angularjs
[20:48:15] <vonnegut> im still on angular 1.2, any pressing reason you guys can think of for me to switch to 1.3?
[20:48:31] <seriema> Aliks: basically, don't set type=date :P
[20:48:36] <Aliks> lol seriema, right
[20:49:08] <seriema> Aliks: you can use [pattern] or angular ng-pattern to use a regex for date format
[20:49:13] <Evanion> seriema: added a reminder for when your back in town
[20:49:21] *** Aswebb has quit IRC
[20:49:25] <seriema> Evanion: cool! all my contact info is on my page
[20:49:32] *** Poppabear has joined #angularjs
[20:49:54] *** AtomicCookie has joined #angularjs
[20:49:59] <Evanion> saved your site as well
[20:50:16] *** nickbytes has joined #angularjs
[20:50:18] <seriema> that's some structure. sure you're not German?
[20:50:25] *** siddart has quit IRC
[20:50:28] *** ProLoser has quit IRC
[20:50:42] *** siddart has joined #angularjs
[20:51:02] <Evanion> haha .. it’s a method derived from sideeffects relating to stress
[20:51:16] <Evanion> aka … ‘write it down or you will forget it’
[20:51:22] <seriema> haha yeah, same here. if it's not in my calendar, it doesn't exist
[20:52:13] *** restless_being has quit IRC
[20:52:23] *** zanea|away is now known as zanea
[20:52:30] *** restless_being has joined #angularjs
[20:52:51] *** night-owl is now known as zz_night-owl
[20:53:05] *** josh-k has joined #angularjs
[20:53:46] *** Sky[x] has joined #angularjs
[20:54:04] *** siddart has quit IRC
[20:54:07] *** dnewkerk has joined #angularjs
[20:54:20] *** siddart has joined #angularjs
[20:54:38] *** josh-k has quit IRC
[20:55:12] *** iribarne has quit IRC
[20:55:31] *** matisoffn has quit IRC
[20:55:32] *** josh-k has joined #angularjs
[20:55:42] *** Sna4x8 has quit IRC
[20:56:03] *** mennea has quit IRC
[20:56:06] *** Oddman has quit IRC
[20:56:10] *** doginal_ has joined #angularjs
[20:56:24] *** mennea has joined #angularjs
[20:56:25] *** josdeha_rt has joined #angularjs
[20:56:32] *** doginal has quit IRC
[20:56:32] *** doginal_ is now known as doginal
[20:56:43] *** Sna4x8 has joined #angularjs
[20:57:05] *** bealtine has joined #angularjs
[20:57:44] *** josdeha_rt has quit IRC
[20:58:02] *** josdeha_rt has joined #angularjs
[20:58:03] *** siddart has quit IRC
[20:58:03] *** DrMabuse has joined #angularjs
[20:58:04] *** AlexZan has quit IRC
[20:58:09] *** faddah has quit IRC
[20:58:15] <robdubya> lebster the syntax
[20:58:18] *** siddart has joined #angularjs
[20:58:23] <seriema> Service: the function that you write will be new-ed
[20:58:25] *** jeremymarc has joined #angularjs
[20:58:28] <seriema> Factory: the function that you write will be invoked:
[20:58:33] <seriema> robdubya: nuh-uh?
[20:58:49] *** qdk has joined #angularjs
[20:58:52] *** aendrew has quit IRC
[20:59:01] <robdubya> seriema if i was being pedantic, i would say the way they declared differs, but the end result is the same, a singleton
[20:59:03] <Slim> i.e. Factories return objects, services are objects?
[20:59:42] <Slim> IS it possible/useful to have a service factory? ;)
[20:59:46] *** iribarne has joined #angularjs
[20:59:54] *** tfennelly has joined #angularjs
[20:59:57] *** cannap has joined #angularjs
[21:00:01] *** dnewkerk has quit IRC
[21:00:02] *** siddart has quit IRC
[21:00:12] *** jillesme has quit IRC
[21:00:18] *** siddart has joined #angularjs
[21:00:23] *** xastey- has joined #angularjs
[21:00:45] <robdubya> why
[21:00:47] *** baweaver has quit IRC
[21:00:56] *** jillesme has joined #angularjs
[21:00:57] *** jillesme has joined #angularjs
[21:01:31] *** LossFor has quit IRC
[21:01:56] <Slim> no reason at all just to confuse people
[21:02:09] <seriema> Slim: well, maybe if you put it in a provider? ;)
[21:02:25] *** siddart has quit IRC
[21:02:41] *** Shrooms has quit IRC
[21:02:41] *** siddart has joined #angularjs
[21:02:49] *** glosoli has quit IRC
[21:03:02] <Slim> oh no
[21:03:49] *** Oddman has joined #angularjs
[21:04:19] *** xastey has quit IRC
[21:04:29] *** ngbot has joined #angularjs
[21:04:30]
<ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/wn8fug
[21:04:30] <ngbot> angular.js/master 8582088 Georgios Kalpakas: docs($q): remove IE8-specific notice...
[21:04:30] *** ngbot has left #angularjs
[21:04:46] *** Snugug has quit IRC
[21:05:26] *** savantgarde_ has joined #angularjs
[21:05:49] <lebster> seriema: so a factory can return a service, but a service cannot return a factory?
[21:05:56] *** grantfunke_ has quit IRC
[21:06:03] *** Baluser has joined #angularjs
[21:06:05] <lebster> or a factory can do what a service does, but aservice cannot
[21:06:15] <seriema> lebster: lol what? wait
[21:06:17] *** siddart has quit IRC
[21:06:29] <seriema> services can be created with service(), factory(), or provider()
[21:06:29] *** Freemason has quit IRC
[21:06:34] <seriema> which is pretty confusing
[21:06:34] *** siddart has joined #angularjs
[21:06:48] *** Shrooms has joined #angularjs
[21:06:49] *** Shrooms has joined #angularjs
[21:07:01] *** marshall has quit IRC
[21:07:03] <seriema> services are instantiated with `new`. like Angular going `new yourServiceMethod()`
[21:07:03] *** nachinius has joined #angularjs
[21:07:25] *** Aliks has quit IRC
[21:07:30] *** joshontheweb has joined #angularjs
[21:07:34] <seriema> factories are called like `srvc = yourFactoryMethod()`
[21:07:54] *** psnell has quit IRC
[21:08:03] <seriema> providers are like factories, but has extra stuff so you can configure your service in .config()
[21:08:27] * seriema thinks the naming of these things are the best part of angular
[21:08:33] *** g3funk is now known as braidn
[21:08:36] <lebster> arnt my factories and services passed into my controllers with DI?
[21:08:43] <seriema> lebster: yepp
[21:08:48] <seriema> it's just how they're called that differs
[21:08:52] *** marshall has joined #angularjs
[21:08:55] *** DigitallyBorn has joined #angularjs
[21:08:55] *** DigitallyBorn has joined #angularjs
[21:08:57] *** JmZ_ is now known as JmZ
[21:09:01] *** poolside has joined #angularjs
[21:09:05] <Slim> I'm confused, seriema. I've never used the new keyword for services
[21:09:13] <seriema> yourCtrl(new aService(), aFactory())
[21:09:22] *** DigitallyBorn has quit IRC
[21:09:25] <Slim> I've never seen that used before either
[21:09:31] <seriema> Slim: because you don't access it yourself
[21:09:36] *** doginal has quit IRC
[21:09:40] <seriema> it's behind the scenes
[21:10:08] *** AlexZan has joined #angularjs
[21:10:09] <lebster> so why does angular give me both ways if they are the ones instantiating it all
[21:10:17] <seriema> lebster: *three ways
[21:10:42] <seriema> frankly, I don't know why
[21:10:49] <lebster> lol
[21:10:51] *** busticated has quit IRC
[21:11:02] *** teslanick has joined #angularjs
[21:11:12] *** saucey has joined #angularjs
[21:11:38] *** Grokling_ has joined #angularjs
[21:11:46] *** gaganjyot has quit IRC
[21:11:49] <saucey> hey guys how do u unset a header
[21:12:09] <saucey> i created a header like this $http.defaults.headers.common['X-Auth-Token'] = SessionService.get('token');
[21:12:22] <saucey> but how do it unset it on different page request?
[21:12:36] *** Aliks has joined #angularjs
[21:12:42] *** Guest45891 has quit IRC
[21:13:09] <lebster> i guess ill use factory for everything since i like the way it looks better?
[21:13:12] <lebster> lol
[21:13:19] *** teslanick has left #angularjs
[21:13:25] <Linell> that's what I do
[21:13:28] <seriema> saucey: don't set the default if you need to change it? otherwise just use the `delete` in plain JS
[21:13:53] <seriema> lebster: sure. and if you need to be able to configure it in app.config() just use a provider() instead
[21:14:12] <saucey> seriema not sure how u mean can you show us an example
[21:14:23] <saucey> i need to set headers to check auth on server side
[21:14:48] <seriema> delete object['property']
[21:14:58] *** siddart has quit IRC
[21:15:15] *** siddart has joined #angularjs
[21:15:42] <lebster> seriema: what is an example of something id configure?
[21:16:40] <seriema> lebster: $log can be configured to shut up
[21:16:45] *** jlambert121 has quit IRC
[21:16:55] *** one0one has joined #angularjs
[21:17:04] <saucey> does anyone here know how to but debugger through javascript so i can run my scripts and see whats being called first
[21:17:12] <plato|wtf> i still am trying to bind a click on every <a> in my TOC, to close the TOC. the TOC is autogenerated and I want to find a solution where I don't modify the HTML. so no ng-click
[21:17:26] *** Trow1 has joined #angularjs
[21:17:33] <seriema> saucey: just open the dev tools in your browser?
[21:17:40] <Grokling> saucey: You can use breakpoints in the Chrome dev-tools..
[21:17:51] *** Trow has quit IRC
[21:17:55] *** moritzs has joined #angularjs
[21:18:09] <plato|wtf> the TOC is in an angular-material md-sidebar, so in my controller I already have $scope.close = function() {$mdSidenav('left').close(); };
[21:18:10] <Grokling> Of course, if you have promises in the mix it gets really confusing. but still.
[21:18:24] <seriema> plato|wtf: is it a directive? because then you get an element reference with jqLite
[21:18:30] *** blar1 has joined #angularjs
[21:18:31] *** stormbytes has quit IRC
[21:18:49] <lebster> seriema: ahh i see thx
[21:18:51] <saucey> how do you set breakpoints
[21:19:22] <seriema> saucey: in Chrome, Sources tab, open your file, click on the left side of the line you want to put a break point
[21:19:55] *** whunt has quit IRC
[21:19:56]
<blar1> i'm trying to set up a pair of directives, one nested inside the other, where the inner needs to watch for changes on an attribute which will be set by the outer. plunkr here: http://plnkr.co/edit/5JTKLUuAqlQTdRPjDrwu ...problem is, the .$observe() call never seems to fire. what's the proper way to watch for changes to an attribute and update accordingly?
[21:20:10] *** iribarne_ has joined #angularjs
[21:20:11] *** wafflej0ck has joined #angularjs
[21:21:01] *** siddart has quit IRC
[21:21:09] *** bjtitus has quit IRC
[21:21:12] *** loverajoel has quit IRC
[21:21:17] <seriema> blar1: are you using scopes correctly? not accidentally doing an isolate scope? I see you have @ and = in there but I always forget which is which :P
[21:21:17] *** siddart has joined #angularjs
[21:21:26] *** iribarne has quit IRC
[21:21:27] *** iribarne_ is now known as iribarne
[21:21:31] *** wallerdev has quit IRC
[21:21:37] <seriema> siddart: Hellow, welcome to AngularJS support. How can I help you?
[21:21:52] <seriema> lulz
[21:22:04] *** Skrypter has joined #angularjs
[21:22:06] <blar1> seriema: i originally had '&' to in 'myNestedDirective', but the inner directive couldn't properly derefernce the value assigned to the 'passItOn; attribute; so i switched to the two-way binding
[21:22:18] *** favetelinguis has quit IRC
[21:22:23] *** disorder20 has joined #angularjs
[21:22:47] *** _ritchie_ has quit IRC
[21:22:51] *** grantfunke_ has joined #angularjs
[21:22:52] *** favetelinguis has joined #angularjs
[21:23:09] *** zz_night-owl is now known as night-owl
[21:23:11] <seriema> blar1: oh, it's a $observe on an attr object. sorry, don't know enough about those things
[21:23:18] *** Grokling_ has quit IRC
[21:23:24] <seriema> blar1: but, uhm, services should own data and communication? :D
[21:23:44] <blar1> seriema: this is a very stripped-down rendition of the problem i'm working on; what i have to do is track the change in a select list, assign a value into another directive's attribute, and get that inner attribute to derefernce the value so it can be passed along to a service
[21:24:07] *** DannyCallaghan has joined #angularjs
[21:24:09] *** _ritchie_ has joined #angularjs
[21:24:10] <seriema> blar1: ok. and ng-model and ng-change won't help?
[21:24:25] <blar1> hmm; hadn't tried ng-change yet
[21:25:00] <blar1> i'm more looking for the angular-idiomatic way to watch changes to a directive's attributes, inside the directive itself
[21:25:04] *** RobinBAwesome has quit IRC
[21:25:27] *** siddart has quit IRC
[21:25:30] <seriema> wouldn't the angular way be to bind it to a model and work with that? not care about HTML attributes?
[21:25:30] *** monir has joined #angularjs
[21:25:36] *** Shilon has quit IRC
[21:25:42] *** trend has joined #angularjs
[21:25:43] *** siddart has joined #angularjs
[21:25:49] *** mennea has quit IRC
[21:25:50] <seriema> caring about HTML stuff feels very ... jQueryish
[21:25:56] *** faveteli_ has joined #angularjs
[21:26:10] * seriema tries to forget his time in jQuery's house
[21:26:26] *** mennea has joined #angularjs
[21:26:54] *** mmealling has quit IRC
[21:27:14] *** csch has quit IRC
[21:27:21] *** grantfunke_ has quit IRC
[21:27:33] *** lsiv568 has quit IRC
[21:27:49] *** favetelinguis has quit IRC
[21:27:54] <beardyname> how come you have to set accept-type and content-type while doing a post? (when testing in fiddler)
[21:28:12] *** mettjus has joined #angularjs
[21:28:17] *** dllama has quit IRC
[21:28:32] <seriema> beardyname: has to be a fiddler thing? haven't had to do that before
[21:28:37] *** jrist has quit IRC
[21:28:38] *** DannyCallaghan has quit IRC
[21:28:38] *** dllama has joined #angularjs
[21:28:45] <beardyname> seriema, or maybe it had to do with my api...
[21:28:54] <beardyname> As long as it works i can't be that sad really ^^
[21:28:56] <seriema> beardyname: sounds like a server thing, so yeah?
[21:29:07] <beardyname> don't have to set it for get though
[21:29:11] <seriema> thought you were using their api mock thing
[21:29:14] <beardyname> only content-type
[21:29:27] *** siddart has quit IRC
[21:29:38] <seriema> check your server docs ^^
[21:29:44] *** siddart has joined #angularjs
[21:29:45] <seriema> don't think it's angular
[21:30:00] *** lsiv568 has joined #angularjs
[21:30:04] *** m3l720 has joined #angularjs
[21:30:20] *** whunt has joined #angularjs
[21:30:22] *** disorder20 has quit IRC
[21:30:30] *** faveteli_ has quit IRC
[21:30:42] <blar1> seriema: i'm just using the attributes to set up a linkage to the directive; in the actual problem, i have to switch a control in the UI based on the dropdown selection; the data which informs the directive how to behave comes out of a model selection, which is passed on from that first dropdown
[21:30:45] <beardyname> seriema, nah As long as it works ^^
[21:30:55] *** thomasreggi has joined #angularjs
[21:30:57] <beardyname> It's my own built api so
[21:30:59] <beardyname> :)
[21:31:13] *** josh-k has quit IRC
[21:31:31] <seriema> beardyname: yeah, but unless you wrote a server from scratch you're using node with express or something? =) meant _those_ docs
[21:31:35] *** siddart has quit IRC
[21:31:41] *** josh-k has joined #angularjs
[21:31:45] *** IvailoStoianov has quit IRC
[21:31:51] *** siddart has joined #angularjs
[21:31:54] *** nattonerd has joined #angularjs
[21:32:11] <blar1> seriema: when the inner directive's link function first fires, i can get the value just fine; i just can't figure out how to get it to listen for further changes to the attr... or, as i have it now, on the model value (as in the plunkr, innerDirective is now using two-way binding)
[21:32:39] *** whitebook has joined #angularjs
[21:32:42] <seriema> blar1: in the plunkr you were listening the the attr? but you should be listening to the value on the scope?
[21:32:47] *** TheAceOfHearts has quit IRC
[21:32:47] <seriema> oh, wait. is it a primitive value?
[21:32:52] <seriema> like number, string, boolean
[21:32:54] *** adpirz has joined #angularjs
[21:33:01] *** simplyshipley has quit IRC
[21:33:03] *** TheAceOfHearts has joined #angularjs
[21:33:20] *** wartdev has joined #angularjs
[21:33:24] *** AWAW has joined #angularjs
[21:33:37] *** wartdev has quit IRC
[21:34:08] *** grantfunke_ has joined #angularjs
[21:34:11] *** doginal has joined #angularjs
[21:34:43] *** derrick13 has joined #angularjs
[21:34:59] <seriema> (or just put it the value on an object, like data.myVal)
[21:35:19] <xyNNN> how i can pass a directive a dynamic variable from my $scope?
[21:35:19] *** whunt has quit IRC
[21:35:32] *** siddart has quit IRC
[21:35:39] *** jonr22 has joined #angularjs
[21:35:44] <seriema> xyNNN: what do yo uwant to do with it? because you can bind a controller to a directive...
[21:35:49] *** siddart has joined #angularjs
[21:35:50] *** whunt has joined #angularjs
[21:35:53] *** shpoont has joined #angularjs
[21:36:02] *** bostonaholic has joined #angularjs
[21:36:05] <blar1> xyNNN: { scope { attrName: '&attrName' } }, link(scope, elem, attr) { scope.attrName(); } }
[21:36:16] <xyNNN> i need a dynamic value from my scope in my directive to make a decision in the link method from my directive
[21:36:17] <blar1> or use '=attrName' for two-way binding
[21:36:22] *** josh-k has quit IRC
[21:36:32] *** Aliks has quit IRC
[21:36:46] *** DoubleAW has quit IRC
[21:36:58] <blar1> seriema: yeah, this might be a "no dots" problem; means re-architecting the directives, but i'll see if that'll tackle it
[21:37:14] <beardyname> seriema, did it with web-api
[21:37:15] *** adpirz has quit IRC
[21:37:18] <beardyname> And can't find anyuthing
[21:37:30] <seriema> beardyname: .net?
[21:37:30] *** danecando has quit IRC
[21:37:49] *** loverajoel has joined #angularjs
[21:38:03] *** antons__ has joined #angularjs
[21:38:46] *** grantfunke_ has quit IRC
[21:38:46] *** mmealling has joined #angularjs
[21:38:47] *** pascal has quit IRC
[21:39:13] *** jonathanpglick has quit IRC
[21:39:18] *** Oddman_ has joined #angularjs
[21:39:46] <seriema> blar1: because binding once and then not update, sounds like it
[21:40:03] *** siddart has quit IRC
[21:40:04] *** jonr22 has quit IRC
[21:40:19] *** siddart has joined #angularjs
[21:40:27] <xyNNN> thanks guys, i will try it
[21:40:29] * seriema moves to SF and creates a startup that allows you to tip IRC users
[21:41:04] *** jonathanpglick has joined #angularjs
[21:41:33] *** Sjimi has joined #angularjs
[21:41:46] *** thegridre has joined #angularjs
[21:41:50] <Trow1> if we had to build a project with angular and nodejs do we still need jquery or no ?
[21:42:01] <vanseverk> Trow1: Yes.
[21:42:09] *** mjs2600 has quit IRC
[21:42:15] *** Oddman has quit IRC
[21:42:25] <robk> running into some issues, I dynamically create records which utilize the ng-repeater, so I'm creating dynamic search rules using angularjs, when I select a checkbox / combobox and change the value, it changes the values of all other selectboxes or radio buttons or checkboxes, how do you prevent this form happening?..
[21:42:25] <Trow1> yes ! really ?
[21:42:41] *** mjs2600 has joined #angularjs
[21:42:47] *** jmckind has quit IRC
[21:42:49] <robk> I know that my ng-model="<ng-repeater-var>" but it changes every single value....
[21:43:10] <Trow1> angular does not avoid what all jquery do ? vanseverk
[21:43:14] <robk> so I have 3 records, and I'm building sort of an "OR" logic builder and it changes them all.
[21:43:20] <Grokling> if you need jQuery, you're probably doing it wrong. You're definitely not doing it the angular way.
[21:43:38] *** wiherek has joined #angularjs
[21:43:46] *** NormySan has quit IRC
[21:43:47] *** PrinceAMD has quit IRC
[21:43:57] <fairuz> Trow1: depends but usually you don't need jquery if you already use angular
[21:44:06] *** thegridre has quit IRC
[21:44:19] *** siddart has quit IRC
[21:44:34] *** moritzs has quit IRC
[21:44:34] *** siddart has joined #angularjs
[21:44:52] *** zzing has quit IRC
[21:45:02] <Trow1> ok thanks fairuz
[21:45:16] *** draconis-chomp has quit IRC
[21:45:32] *** jillesme has quit IRC
[21:45:36] *** jmckind has joined #angularjs
[21:45:37] *** yelvert has joined #angularjs
[21:45:45] *** guiambros has quit IRC
[21:46:06] *** jillesme has joined #angularjs
[21:46:07] *** jillesme has joined #angularjs
[21:47:15] *** ferrao has joined #angularjs
[21:48:29] *** jeremymarc has quit IRC
[21:48:30] *** Trow1 is now known as Trow
[21:49:03] *** whunt_ has joined #angularjs
[21:49:23] <seriema> what?! I prepare some tea and people start putting jQuery in Angular apps?!
[21:49:24] *** speaking1ode is now known as speakingcode
[21:49:24] *** edy_ has quit IRC
[21:49:42] *** grantfunke_ has joined #angularjs
[21:50:10] <seriema> Trow: Angular has jqLite if you really need it, but it's dissapearing in Angular 2.0 since that's not the proper way (like Grokling said)
[21:50:17] *** whunt has quit IRC
[21:50:26] <beardyname> seriema, yep
[21:50:31] *** tech2_ has joined #angularjs
[21:50:38] *** whunt_ is now known as whunt
[21:50:54] *** ikaruss has joined #angularjs
[21:51:34] <beardyname> Works like a charm with application/x-www-form-urlencoded
[21:51:43] *** onc3null has quit IRC
[21:52:09] <beardyname> without typing anything, i guess it needs to know what to recive in this case, since this particular post returns some data
[21:52:11] *** shredjs has joined #angularjs
[21:52:17] <seriema> beardyname: then it's probably your web.config or the attributes on your web api controller
[21:52:39] <seriema> but it should assume a default, right?
[21:52:39] <shredjs> Hey , how would you specify a a var in a config file for setting the web api adress for $resource
[21:52:44] <shredjs> what is the best way to do that ?
[21:52:52] <beardyname> seriema, yep but the default might not be json :)
[21:52:57] *** dan2k3k4 has joined #angularjs
[21:52:57] *** sacho_ has joined #angularjs
[21:53:13] <seriema> shredjs: config file? for $resource?
[21:53:21] <shredjs> I was maybe thinking abotu setting a $rootscope var in angular.module.config ?
[21:53:31] <beardyname> since I do accept json/xaml
[21:53:40] <seriema> shredjs: were are you getting the value from?
[21:53:45] *** ChadStrat has quit IRC
[21:53:49] *** monir has quit IRC
[21:53:55] * seriema needs to blog about the config system he did
[21:54:12] <seriema> beardyname: ah ok
[21:54:16] *** grantfunke_ has quit IRC
[21:54:19] <ikaruss> Hi! Is there some bug out there where the scope of the app gets destroyed prematurely? ngRepeat works, ngShow doesn't and angular.element($0).scope returns undefined.
[21:54:28]
<shredjs> Ok ill explain better. The url for $ressource will vary between localhost and the actual prod server https:webapi.com... So i want to use one variable i can switch so my whole applications works
[21:54:30] <beardyname> this chanel is crazy xD
[21:54:33] <beardyname> channel *
[21:54:39] <shredjs> seriema: i hope this is well explained
[21:54:54] *** woah has joined #angularjs
[21:55:10] * seriema looks at `this` but it's not what he expected it to be *badum-dish*
[21:55:22] <shredjs> i was thinking of maybe using a $rootscope var
[21:55:25] *** marshall has quit IRC
[21:55:26] *** alexw_ has joined #angularjs
[21:55:35] *** sacho has quit IRC
[21:55:38] <seriema> shredjs: I'm thinking no? use a .constant() instead?
[21:55:43] <Grokling> this = undefined.
[21:55:48] *** marshall has joined #angularjs
[21:55:51] *** mennea has quit IRC
[21:55:56] *** platonic has joined #angularjs
[21:56:00] <seriema> undefined = NaN; // not using strict
[21:56:02] <shredjs> like $rootscope.url = localhost:3000 and then in $ressource use url: $rootscope.url + '/Home/Test'
[21:56:10] <seriema> shredjs: no!
[21:56:28] *** mennea has joined #angularjs
[21:56:33] <seriema> app.constant('config', { url: 'localhost:3000' })
[21:56:36] <Grokling> constant and ENV variable..
[21:56:52] *** sahbeewah has joined #angularjs
[21:56:56] <seriema> app.controller('MyCntrl', function(config) { ... });
[21:57:15] <seriema> yeah, ENV varliable would be a +
[21:58:21] *** laserbeak43 has joined #angularjs
[21:58:25] *** siddart has quit IRC
[21:58:30] <seriema> if you would be reading an Angular 2.0 article, and it's copied the code samples from the ngEurope presentation, would you consider it stealing? that the article is "cheap"?
[21:58:42] *** siddart has joined #angularjs
[21:59:07] <shredjs> Well the url will not only depend on the environment.. ITs because the web api developper will test in his local environment as the frontend developper will only test with the actuall api adress
[21:59:20] *** bjtitus has joined #angularjs
[21:59:40] <shredjs> i would go with with constant
[21:59:46] <Evanion> thats where the env var comes in play
[21:59:55] <Grokling> shredjs: tell me how "will test in his local environment" is not environment dependent?
[22:00:02] *** baweaver has joined #angularjs
[22:00:06] *** josdeha_rt has quit IRC
[22:00:07] <laserbeak43> hi, would an expression like <div ng-show="( myFunc() == 10)"></div> be syntactically correct?
[22:00:20] <shredjs> Lol i mean he will alternate
[22:00:29] *** josdeha_rt has joined #angularjs
[22:00:33] *** jr3 has joined #angularjs
[22:00:37] *** platonic has quit IRC
[22:00:45] *** shpoont has quit IRC
[22:00:47] *** josdeha_rt has quit IRC
[22:00:51] <Evanion> YOu can add a gulp/grunt task that sets the url
[22:00:59] *** oncenull has joined #angularjs
[22:01:04] <Evanion> that way you can do gulp serve —localhost
[22:01:07] *** macobo has quit IRC
[22:01:10] <Evanion> or gulp serve —stage
[22:01:39] *** whunt_ has joined #angularjs
[22:01:41] <shredjs> erff Im not a grunt pro...
[22:01:44] <seriema> kid is asking for a variable, and we give him grunt.
[22:01:59] <Evanion> laserbeak43, I would rather make a funktion that returns true or false directly … and not have that logic in the template
[22:02:28] <seriema> laserbeak43: what Evanion said. plus you don't need those parenthesis
[22:02:33] *** oncenull has quit IRC
[22:02:44] <Evanion> bah … I learned Grunt/gulp in two weeks, and I barely knew js before the summer
[22:02:44] *** siddart has quit IRC
[22:02:47] <shredjs> Lol i know this is more efficient... but the work load difference between using a var and using grunt is quite significant
[22:03:00] *** siddart has joined #angularjs
[22:03:02] <shredjs> Evanion: we have one week and a half to come up with the prototype
[22:03:05] <seriema> shredjs: I don't see how ENV wouldn't work for you. but still, use .constant()
[22:03:27] <Evanion> how do you serve the client shredjs?
[22:03:28] <laserbeak43> Evanion: i see your point, but i can't think of a way to evaluate multiple elements with one boolean returning function.... hmmm
[22:03:29] <shredjs> and were not full time on it :P
[22:03:34] <laserbeak43> seriema: yep! thanks :P
[22:03:38] <shredjs> Evanion im using grunt lol...
[22:03:44] *** whunt has quit IRC
[22:03:59] <seriema> HAXX ALERT: create two config.js files, that set .constant('config', ...) two to different variables. then switch the files as you need
[22:04:16] <shredjs> but the web api guy might not use grunt so... i dont want to mess with that...
[22:04:19] <seriema> laserbeak43: if you can write it in the expression, then you can put it in a method :)
[22:04:27] <seriema> shredjs: see above
[22:04:29] <shredjs> seriema: thats probably what im gonna do... either that or in the config file
[22:04:34] *** nachinius has quit IRC
[22:04:37] <shredjs> comment one line and uncomment the other :P
[22:04:45] *** siddart has quit IRC
[22:04:49] <seriema> shredjs: heh yeah, but at least don't put it on $rootScope!
[22:04:59] <shredjs> seriema: you have my words :)
[22:05:01] *** siddart has joined #angularjs
[22:05:06] * seriema nods
[22:05:22] * shredjs nods back -_-
[22:05:26] <seriema> I haven't used IRC in a long while. Do you know what I missed the most? /me
[22:05:45] *** RobinBAwesome has joined #angularjs
[22:05:48] *** Guest91479 is now known as mac_nibblet
[22:05:54] * shredjs gets back on his horse and rides away into the sunset
[22:05:56] *** rburns has joined #angularjs
[22:06:01] *** loverajoel has quit IRC
[22:06:30] <shredjs> lolll yeah! sometimes i try using /me in different chatting applications to see if it works :P lol
[22:06:38] *** mettjus has quit IRC
[22:06:40] *** jameswork has joined #angularjs
[22:06:41] *** AlexZan has quit IRC
[22:06:44] *** jlambert121 has joined #angularjs
[22:06:51] *** mac_nibblet has left #angularjs
[22:06:56] *** siddart has quit IRC
[22:06:57] * seriema sees the sheriff give chase after shredjs, and does nothing to stop him >=)
[22:06:58] *** thomasreggi has quit IRC
[22:07:12] <laserbeak43> seriema: so you're saying that writing a method for lets say, 10 elements that have the ng-show() directive in it, could be used to show 1 or more elements at a time selectively, without writing an expression in the template? (i hope that question makes sense)
[22:07:13] <seriema> heh yeah. Ok, I'll stop being a kid now.
[22:07:13] *** siddart has joined #angularjs
[22:07:22] *** grantfunke_ has joined #angularjs
[22:07:31] <seriema> laserbeak43: let me read that a few more times...
[22:07:36] *** nachinius has joined #angularjs
[22:07:49] * shredjs saw that happening and screamed at the top of his lungs " Screw you, ill use rootscope"
[22:07:52] * Grokling tries /me
[22:07:52] <laserbeak43> seriema: lol please let me know what you don't understand
[22:07:56] <seriema> lol
[22:08:02] *** ChadStrat has joined #angularjs
[22:08:06] *** s00pcan has quit IRC
[22:08:06] *** LakWork has quit IRC
[22:08:19] * Grokling was wondering how that got done. Now I know.
[22:08:22] <shredjs> lol yeah after all im supposed to be in a serious hackaton :P
[22:08:25] *** umib0zu has quit IRC
[22:08:40] <shredjs> grokling u just discovered the life
[22:08:44] *** shredjs has quit IRC
[22:08:54] *** AngularUI has joined #angularjs
[22:08:54] <AngularUI> ng-grid/master c92f8fe Mathias Dosé: Fix #2042 (pinning): Pinning column menu item duplication on resize
[22:08:54] <AngularUI> ng-grid/master 1cbf673 Paul: Merge pull request #2064 from mathiasdose/Issue#2042...
[22:08:55] *** AngularUI has left #angularjs
[22:08:55] *** m3l720 has quit IRC
[22:08:57] *** shredjs has joined #angularjs
[22:09:05] *** siddart has quit IRC
[22:09:07] <seriema> laserbeak43: hmm, the method in the controller is bound to scope, so whatever you were doing in an expression could be expressed with it
[22:09:09] *** doginal has quit IRC
[22:09:16] <seriema> laserbeak43: in other words. give me code!
[22:09:19] * Grokling knew about the life before. Just didn't know how to use /me
[22:09:22] *** siddart has joined #angularjs
[22:09:29] * Grokling wonders what other tricks there are..
[22:09:40] *** night-owl is now known as zz_night-owl
[22:09:44] <laserbeak43> seriema: haven't written it yet :) I'll come up with something and get back to you?
[22:09:51] *** gnrlbzik has quit IRC
[22:09:51] *** htmelvis is now known as htmelvis_zz
[22:09:57] *** Nizumzen has quit IRC
[22:10:19] *** htmelvis_zz has quit IRC
[22:10:28] <seriema> laserbeak43: pseudo code is fine. what are you imagining you would write in the expression? something like "bla == 3" where 3 is the position it has in ng-repeat?
[22:10:38] *** slashroot__ has quit IRC
[22:10:51] *** mzabriskie has quit IRC
[22:10:54] * seriema tries to use /slap on Grokling but is dissapointed it doesn't work
[22:11:23] * Slim slaps seriema
[22:11:31] <seriema> !
[22:11:48] *** siddart has quit IRC
[22:12:04] *** siddart has joined #angularjs
[22:12:07] *** grantfunke_ has quit IRC
[22:12:16] *** krawek has quit IRC
[22:13:01] <Grokling> ikaruss: plunk that..
[22:13:03] *** jr3 has quit IRC
[22:13:11] <seriema> ikaruss: I looked, that's free. But if you want help, give code and money.
[22:13:16] *** Z3R0 has joined #angularjs
[22:13:18] *** tilgovi has quit IRC
[22:13:23] *** edy has joined #angularjs
[22:13:31] <Grokling> or code and whisky. But not that blended rubbish.
[22:13:33] *** krawek has joined #angularjs
[22:13:34] *** nattonerd has quit IRC
[22:13:44] <shredjs> ^C5colored text^C
[22:14:04] <laserbeak43> seriema: yeah funcFinished(){finished =1; start = finished +=1; return start, finished;}
[22:14:04] <laserbeak43> <div ng-show="funcFinished() == [1,2]"/>
[22:14:07] * laserbeak43 blushes
[22:14:17] *** siddart has quit IRC
[22:14:33] *** siddart has joined #angularjs
[22:14:35] *** patric100e99 has joined #angularjs
[22:14:37] <seriema> laserbeak43: ehm, what? :D
[22:14:42] <ikaruss> Already tried to reproduce online, but it works ok then.
[22:14:44] <laserbeak43> lmbo
[22:15:01] <seriema> laserbeak43: why 1 and 2? are you trying to find the first and last? because there's $first and $last inside the ng-repeat
[22:15:03] *** jlebrech has joined #angularjs
[22:15:09] <laserbeak43> no
[22:15:15] *** yelvert has quit IRC
[22:15:18] <seriema> would $index help?
[22:15:20] *** alinouman has quit IRC
[22:15:24] <laserbeak43> nothing to do with ngrepeat, seriema
[22:15:28] <laserbeak43> hmm
[22:15:29] <laserbeak43> yes!!
[22:15:30] <seriema> decideOn($index)
[22:15:42] *** siddart has quit IRC
[22:15:42] *** yelvert has joined #angularjs
[22:15:45]
<frankblizzar> i am dynamically inserting a directive to a chunk of html that I get as api response. the compile is run and log contains correct appended class. however it does not show up in DOM / browser. any ideas? http://pastebin.com/S73pY3kZ
[22:15:47] <laserbeak43> ng-show="$index"
[22:15:56] *** saucey has quit IRC
[22:15:58] <laserbeak43> would that work?
[22:15:59] <laserbeak43> no
[22:16:00] <seriema> laserbeak43: that would be true for all?
[22:16:02] *** siddart has joined #angularjs
[22:16:03] <laserbeak43> it's only boolean
[22:16:08] <laserbeak43> yeah :(
[22:16:09] *** AngularUI has joined #angularjs
[22:16:09] <AngularUI> ng-grid/master 5db3e7c c0bra: Release v3.0.0-rc.15
[22:16:09] *** AngularUI has left #angularjs
[22:16:19] *** arathunku has joined #angularjs
[22:16:20] <seriema> laserbeak43: can you try to explain the effect you want to achieve?
[22:16:54] *** Z3R0 has quit IRC
[22:16:55] <seriema> wait, what, angularUI has rc's for 3.0? *leaves the chat for a while*
[22:17:17] <laserbeak43> seriema: ok lets say i have an SPA chapter book. when one chapter is complete, it disapears and the other chapter opens
[22:17:20] <laserbeak43> noooooooooooooo :p
[22:17:39] <seriema> oh, it wasn't Bootstrap. nvm then.
[22:17:47] <laserbeak43> safe! :)
[22:17:52] <seriema> lol
[22:18:03] *** syzygy_ has quit IRC
[22:18:17] <seriema> hm ok. can you only read chapters sequentially?
[22:18:19] *** danecando has joined #angularjs
[22:18:29] *** bluepnume has quit IRC
[22:18:58] <seriema> also, are you outputting the chapters into the DOM with ng-repeat, or is it more like a route-thing showing one chapter at a time?
[22:18:59] <laserbeak43> seriema: at this point, yes, but i want the option to choose.
[22:19:16] <laserbeak43> route
[22:19:20] <seriema> laserbeak43: ok
[22:19:29] *** siddart has quit IRC
[22:19:41] *** bjtitus has quit IRC
[22:19:46] *** patric100e99 has quit IRC
[22:19:46] *** siddart has joined #angularjs
[22:19:47] *** jlebrech has quit IRC
[22:20:00] <seriema> won't every chapter have an object? and can't you just set read() and then ng-show="chapter.isRead()"?
[22:20:06] *** yelvert has quit IRC
[22:20:10] *** wallerdev has joined #angularjs
[22:20:10] <seriema> but, wait. if you're using route, why the ng-show?
[22:20:12] <laserbeak43> I suppose route would be fin too, but it my mind, it seemed like a waste of functionality?
[22:20:24] *** tfennell_ has joined #angularjs
[22:20:28] *** mzabriskie has joined #angularjs
[22:20:49] *** Oddman has joined #angularjs
[22:20:53] <laserbeak43> well, seriema i'm a bit of a newbie.
[22:20:54] <seriema> ng-show would mean you're putting the whole book in the HTML? that seems a waste of resources
[22:21:07] <seriema> THAT EXPLAINS IT!
[22:21:08] <seriema> jk
[22:21:14] *** busticated has joined #angularjs
[22:21:20] <robk> woot, fixed my isssue, I'm utilizing a field template, but I was only making referential links in my array, now I'm using angular.copy() which now decoupled my fields ;)
[22:21:21] <laserbeak43> guiiltttyyyyyyyy
[22:21:25] <robk> that is what I needed this whole time.
[22:22:05] *** siddart has quit IRC
[22:22:09] * seriema applauds robk and looks around to see if anyone understood that
[22:22:17] *** tfennelly has quit IRC
[22:22:23] *** siddart has joined #angularjs
[22:22:35] <seriema> laserbeak43: so, did that last make sense?
[22:23:02] <laserbeak43> seriema: i guess an initial load of a whole book with ng-show would be monsterous?
[22:23:02] *** jolts has quit IRC
[22:23:08] *** brian has joined #angularjs
[22:23:09] <laserbeak43> monstrous*
[22:23:28] *** patrickarlt has quit IRC
[22:23:31] *** brian is now known as Guest93028
[22:23:32] <seriema> laserbeak43: yes. so I would use ng-route and have chapters as :id
[22:23:33] *** siddart has quit IRC
[22:23:44] *** stschwark has quit IRC
[22:23:44] *** akrikos has quit IRC
[22:23:46] *** damain has joined #angularjs
[22:23:50] *** siddart has joined #angularjs
[22:23:51] *** iribarne has quit IRC
[22:23:57] <seriema> then you could go back and forth, or jump
[22:24:04] <laserbeak43> seriema: awesome approach!
[22:24:06] <seriema> even bookmark with the browser
[22:24:11] *** Aliks has joined #angularjs
[22:24:16] *** grantfunke_ has joined #angularjs
[22:24:17] *** patricka_ has joined #angularjs
[22:24:33] *** doginal has joined #angularjs
[22:24:35] <laserbeak43> gives seriema a g+ 1 and an fb (y)
[22:24:46] *** nattonerd has joined #angularjs
[22:24:52] <laserbeak43> thanks!
[22:25:06] *** desp has quit IRC
[22:25:54] *** mennea has quit IRC
[22:26:20] <Guest68630> can a controller update info in a service?
[22:26:28] <seriema> laserbeak43: I prefer PayPal :P
[22:26:33] *** slopjong_ has quit IRC
[22:26:34] *** mennea has joined #angularjs
[22:26:36] <kuadrosx> seriema: ++
[22:26:40] *** ciwolsey has quit IRC
[22:26:42] <seriema> Guest68630: yes of course, a service is just an object
[22:26:52] <laserbeak43> seriema: if you're for hire... :)
[22:26:55] *** siddart has quit IRC
[22:27:02] *** slopjong has quit IRC
[22:27:05] <laserbeak43> I have pennies i can throw at you :P
[22:27:12] *** siddart has joined #angularjs
[22:27:22] *** Guest93028 is now known as bgerami
[22:27:23] *** bjtitus has joined #angularjs
[22:27:25] <seriema> laserbeak43: lol I'm not good at catching stuff
[22:27:32] *** siddart has quit IRC
[22:27:42] *** moritzs has joined #angularjs
[22:27:47] <laserbeak43> seriema: i'll make you proud one day :P
[22:27:48] *** siddart has joined #angularjs
[22:28:00] <seriema> laserbeak43: haha I'll accept that
[22:28:15] <laserbeak43> seriema: thanks again. Checking that now :)
[22:28:17] *** jasonp has joined #angularjs
[22:28:37] *** cthrax has quit IRC
[22:28:38] *** grantfunke_ has quit IRC
[22:28:40] *** borvoh has quit IRC
[22:29:25] *** jstroem has quit IRC
[22:29:54] <seriema> (overall I mean, I haven't checked these)
[22:30:16] *** TweedleDee has joined #angularjs
[22:30:21] *** bbankes has joined #angularjs
[22:30:21] *** Oddman_ has quit IRC
[22:30:31] *** siddart has quit IRC
[22:30:32] *** spaceonline has joined #angularjs
[22:30:47] *** siddart has joined #angularjs
[22:30:56] <TweedleDee> anyone know how to start karma so that i runs through each test, by test and not just gives you the summary line? ( Executed 2 of 2 SUCCESS ( 0.053 awx / 0.049 secs )
[22:30:58] *** thomasreggi has joined #angularjs
[22:31:00] <Ownix> If I want a partial view for my partial views to work, almost like a child controller should I just use a directive?
[22:31:26] <seriema> TweedleDee: there's an output setting, forgot what they call those
[22:31:40] <seriema> TweedleDee: reporters maybe
[22:31:43] <Guest68630> seriema: Hey struglling to find some docs for the syntax etc for updating a service
[22:31:46] <TweedleDee> yeah I tried all those options
[22:31:52] <TweedleDee> well 2 of the 4... let me try the other 2
[22:32:01] <Guest68630> know a good keyword to google?
[22:32:17] *** whunt_ has quit IRC
[22:32:50] <TweedleDee> hmm funny I tried those with junit I don't even get the summary line..
[22:32:51] <seriema> Guest68630: ehm, it's nothing "angular". a service is just an object.
[22:33:08] <seriema> TweedleDee: you can also install other reporters
[22:33:27] *** jasonp has quit IRC
[22:33:29] *** oncenull has joined #angularjs
[22:33:47] *** Underbyte has joined #angularjs
[22:34:11] *** jasonp has joined #angularjs
[22:34:20] <TweedleDee> thanks man i'm sure its that, just a matter of how you start it iwth that flag.. I was assuming: karma start --reporters progress
[22:34:25] *** whitebook has quit IRC
[22:34:39] *** ProLoser has joined #angularjs
[22:34:41] <seriema> Guest68630: app.factory('MyService', function () { return { setSpeed: function()... } }); app.controller('MyCtr', function(MyService) { MyService.setSpeed('warp'); }
[22:34:53] *** spaceonline has quit IRC
[22:35:00] *** siddart has quit IRC
[22:35:06] <seriema> TweedleDee: np
[22:35:17] *** siddart has joined #angularjs
[22:35:21] *** Oddman_ has joined #angularjs
[22:35:27] *** corehook has quit IRC
[22:35:33] *** yelvert has joined #angularjs
[22:35:39] *** doginal has quit IRC
[22:35:47] *** doginal_ has joined #angularjs
[22:35:59] *** corehook has joined #angularjs
[22:36:09] <Underbyte> (xpost from #sailsjs)
[22:36:18] <Guest68630> seriema: so thats using the function, but how would u change the function in the service
[22:36:37] *** iribarne has joined #angularjs
[22:36:46] <seriema> Guest68630: you want to do what? change the function? why?
[22:37:05] <Guest68630> well i want the service to be an object
[22:37:10] <Guest68630> an array of objects**
[22:37:11] *** dsdeiz has joined #angularjs
[22:37:23] <seriema> ok?
[22:37:24] <Guest68630> but one controller updates it and another controller uses that array aswell
[22:37:39] <seriema> just expose 'myArray'?
[22:37:47] <Guest68630> basically i want one controller to use the array of objects from another controller instead of hitting an api again
[22:37:50] *** alexw_ has quit IRC
[22:37:54] <seriema> sure
[22:38:11] <seriema> there really isn't anything magical in Angular regarding this. just imagine you had a global object
[22:38:14] <TweedleDee> why in the name of hell hasn't MS added javascript testability to Visual Studio? or have they and i'm in the dark?
[22:38:26] <TweedleDee> this Karma shit seems primative as all hell
[22:38:40] <seriema> TweedleDee: Chutzpaah (sp?)
[22:38:53] *** ProLoser has quit IRC
[22:38:57] *** morenoh149 has joined #angularjs
[22:39:05] <woah> TweedleDee lol you need a button to click im guessing?
[22:39:16] *** Alina-malina has quit IRC
[22:39:25] <TweedleDee> nah I just dont want to have 5 windows open remembering all types of shit
[22:39:34] <TweedleDee> if you can, yes, push a button
[22:39:44] *** grantfunke_ has joined #angularjs
[22:39:47] *** gunn has joined #angularjs
[22:39:47] <TweedleDee> may be techno-cool, but its assinine
[22:39:57] *** dman777_alter has quit IRC
[22:40:00] <seriema> you want a watch on that anyway, so you can just check one console window to see if it breaks
[22:40:04] *** lsiv568 has quit IRC
[22:40:15] *** trend has quit IRC
[22:40:25] *** corehook has quit IRC
[22:40:26] <seriema> but whatever, click my link and be happy
[22:40:34] <TweedleDee> looking at it now, thanks
[22:40:55] *** ferrao has quit IRC
[22:41:34] *** ferrao has joined #angularjs
[22:41:44] *** preben_ has joined #angularjs
[22:42:18] * seriema gets an idea!
[22:42:24] *** doginal_ has quit IRC
[22:43:04] <shredjs> by the way it works
[22:43:16] <seriema> shredjs: well of course!
[22:43:21] <seriema> shredjs: remind me, what works?
[22:43:31] <blar1> seriema: fyi, figured it out; wasn't a "no dots" problem, but one of using the proper event-tracking function
[22:43:37] *** ryst has quit IRC
[22:43:43] *** trend has joined #angularjs
[22:43:47] *** bjtitus has quit IRC
[22:43:51] <seriema> blar1: aka not attr.$observe ?
[22:43:57] *** grantfunke_ has quit IRC
[22:44:00] <blar1> seriema: $observe will watch for a change to the text value of the passed-in attribute, but in my case, that text value is always the name of ---- exactly
[22:44:08] *** sahbeewah has quit IRC
[22:44:09] <blar1> seriema: scope.$watch does the trick
[22:44:16] <seriema> yeah, I tried to point that out
[22:44:20] *** siddart has quit IRC
[22:44:27] <blar1> oh; perhaps i had already been pulled away
[22:44:27] <seriema> because you would be using values on scope
[22:44:37] *** siddart has joined #angularjs
[22:44:38] <seriema> heh anyway, good that it works
[22:44:48] *** Oddman has quit IRC
[22:44:52] <blar1> seriema: well, thank you for your assistance, even if i wasn't here for all of it ;)
[22:45:17] *** livingstn has quit IRC
[22:45:18] <seriema> blar1: naw, you answered. but I don't think you understood what I meant :P
[22:45:54] *** LossFor has joined #angularjs
[22:46:06] *** tech2_ has quit IRC
[22:46:21] *** ferrao has quit IRC
[22:46:33] *** oncenull has quit IRC
[22:46:35] <blar1> seriema: yep; just scrolled back up to the convo; i know what you were pointing me towards, now :D
[22:46:40] *** siddart has quit IRC
[22:46:43] *** Asiajey has quit IRC
[22:46:55] <seriema> blar1: haha oh well =)
[22:46:57] *** siddart has joined #angularjs
[22:46:59] <blar1> seriema: thanks again! i love this channel; always able to find good assistance when angular starts driving me crazy
[22:47:22] *** fedenunez has quit IRC
[22:47:50] *** bzitzow has quit IRC
[22:48:06] *** iribarne has quit IRC
[22:48:25] *** siddart has quit IRC
[22:48:32] *** michaelSharpe has quit IRC
[22:48:42] *** siddart has joined #angularjs
[22:49:02] *** Guest68630 has quit IRC
[22:49:14] *** doginal has joined #angularjs
[22:49:25] *** michaelSharpe has joined #angularjs
[22:50:09] *** Z3R0 has joined #angularjs
[22:50:10] *** whunt has joined #angularjs
[22:50:20] *** Schtive2 has quit IRC
[22:50:34] *** frankblizzar has quit IRC
[22:51:46] *** jonatha__ has joined #angularjs
[22:51:48] *** syzygy_ has joined #angularjs
[22:52:47] *** rburns has quit IRC
[22:53:05] *** kcccccc has joined #angularjs
[22:54:10] *** iribarne has joined #angularjs
[22:54:20] <kcccccc> When I send a HTTP request on the same host where the angularApp is running, the response contains the html file correctly. But when the client that is generating the HTTP request is on a remote computer, the request is not handled.... Why and how to solve this?
[22:54:28] *** damain has quit IRC
[22:54:53] *** jonathanpglick has quit IRC
[22:54:54] *** siddart has quit IRC
[22:55:11] *** siddart has joined #angularjs
[22:55:22] <seriema> kcccccc: CORS issue?
[22:55:22] *** morenoh150 has joined #angularjs
[22:55:23] <robdubya> CORS mothafucka, do you speak it
[22:55:32] <seriema> lol
[22:55:33] *** weems|mac has joined #angularjs
[22:55:33] *** weems|mac has joined #angularjs
[22:55:33] *** patcito has joined #angularjs
[22:55:44] * seriema just did a good cop / bad cop with robdubya
[22:55:51] <kcccccc> Thought about this... xD
[22:55:54] *** weems|mac has quit IRC
[22:55:56] *** mennea has quit IRC
[22:55:56] <robdubya> kcccccc tldr: its your server
[22:56:16] <kcccccc> Do I have to enable CORS in my AngularApp or in the OS?
[22:56:18] *** marshall has quit IRC
[22:56:25] <seriema> the server
[22:56:33] *** mennea has joined #angularjs
[22:56:36] *** thomasreggi has quit IRC
[22:56:44] *** siddart has quit IRC
[22:56:46] *** weems|mac has joined #angularjs
[22:56:50] *** ryst has joined #angularjs
[22:56:53] <seriema> tldr: read that link
[22:56:58] *** JmZ is now known as JmZ_
[22:56:58] *** siddart has joined #angularjs
[22:57:00] *** xapak has joined #angularjs
[22:57:07] * Grokling thanks/hates robdubya for sending him down a rabbit-warren of awesomeness that may just about be becoming too big to keep in his head..
[22:57:10] *** weems|mac has quit IRC
[22:57:10] *** weems|mac has joined #angularjs
[22:57:24] <kcccccc> robdubya: That page doesn't mention how to do it in AngularUI
[22:57:29] <robdubya> you're welcome / fuck you Grokling
[22:57:31] <robdubya> :D
[22:57:35] *** xapak has left #angularjs
[22:57:40] <seriema> robdubya: because it's not Angular related
[22:57:41] *** acme- has joined #angularjs
[22:57:44] <seriema> lol
[22:57:46] <seriema> menat kcccccc
[22:57:47] <robdubya> kcccccc its not angular, angular-ui, or anything to do with angular at all
[22:57:47] *** damain has joined #angularjs
[22:57:48] *** gunn has quit IRC
[22:58:04] <robdubya> your server. the magical API box in the cloud.
[22:58:04] *** joshontheweb has quit IRC
[22:58:05] <seriema> like, the FIRST THING on that link says: "Cross-Origin Resource Sharing (CORS) is a specification "
[22:58:19] *** crakrjak_respawn has joined #angularjs
[22:58:40] *** AlexZan has joined #angularjs
[22:58:41] *** tfennell_ has quit IRC
[22:58:42] *** morenoh149 has quit IRC
[22:58:52] <seriema> Grokling: what did robdubya show you? :D
[22:58:58] *** grantfunke_ has joined #angularjs
[22:58:58] *** siddart has quit IRC
[22:59:03] <Grokling> This factory + recordContext stuff. Awesomeness. The complexity of what I'm building with it, numbing..
[22:59:08] *** blar1 has left #angularjs
[22:59:14] *** siddart has joined #angularjs
[22:59:43] <seriema> not familiar with that, and I must've missed the convo. tldr version?
[22:59:54] <seriema> googling "recordContext" didn't help
[22:59:55] *** mennea has quit IRC
[23:00:04] <seriema> "Single context recording was initially developed by Ed Harris and Patrick Ottaway in 1976, ..."
[23:00:16] *** gunn has joined #angularjs
[23:00:41] <robdubya> seriema tldr: only ever have one and only one instance of a server-side record in your angular app
[23:00:42] <Grokling> Factories on steroids.
[23:00:54] <seriema> Hello {{name}}!
[23:00:54] <seriema> If it says "Hello World" in the line above, then we know angular is running.
[23:00:56] <seriema> rofl
[23:01:26] <Grokling> Cause sometimes people change things, and it breaks.. and then they cry about it..
[23:01:37] *** Aliks has quit IRC
[23:01:48] *** bradmaxs has joined #angularjs
[23:01:48] *** weems|mac has quit IRC
[23:02:10] *** xastey- has quit IRC
[23:02:36] <Grokling> Speaking of crying.. robdubya do you have any snippets where you're using indexeddb?
[23:02:41] <seriema> robdubya: server-side record? data table thing?
[23:03:03] *** dnewkerk has joined #angularjs
[23:03:07] <seriema> Grokling: in case you missed my copy-paste, your plunkr is saying Hello {{name}}!
[23:03:14] <Grokling> seriema: Get a record from an API, make ONE instance in angular. use that ONE instance anywhere you need it.
[23:03:23] *** grantfunke_ has quit IRC
[23:03:37] *** idontseewhatyoud has joined #angularjs
[23:03:39] *** beardyname has quit IRC
[23:03:40] <Grokling> seriema: wait.. you mean it's not running for you?
[23:03:59] *** doug64k has quit IRC
[23:04:01] <seriema> kcccccc: not sure how you figured that? in a previous app you had to configre CORS on the server, but now you're using AngularUI so you want to configure it on the client?
[23:04:01] <robdubya> Grokling not really. i've been avoiding it for a while
[23:04:02] *** jaznow has quit IRC
[23:04:11] <seriema> Grokling: precisely
[23:04:28] <Grokling> robdubya: rats. I was hoping you had something I could grok and adopt!
[23:04:34] <robdubya> what part of CORS IS ON YOUR SERVER is unclear
[23:04:42] <robdubya> every day
[23:04:47] <robdubya> "but but but"
[23:04:48] <robdubya> no
[23:04:49] <robdubya> its your server
[23:04:58] <kcccccc> seriema: it's just a server, that provides the client
[23:05:00] <robdubya> "but"
[23:05:00] <robdubya> no
[23:05:01] *** nickbytes has quit IRC
[23:05:04] <robdubya> server. fix it on your sever
[23:05:05] *** Z3R0 has quit IRC
[23:05:10] *** kotyy has joined #angularjs
[23:05:13] <seriema> kcccccc: it's the server that controlls who can access it
[23:05:15] <robdubya> kcccccc check and see if you have an OPTIONS request
[23:05:17] <robdubya> firing
[23:05:19] <robdubya> bet you do
[23:05:20] <seriema> kcccccc: read what robdubya is writing
[23:05:26] <robdubya> and bet you're not responding to it
[23:05:42] *** idontseewhatyoud has quit IRC
[23:05:50] *** preben_ has quit IRC
[23:05:59] <kcccccc> seriema: The server where the app is placed can access it
[23:06:01] <Grokling> seriema: Maybe a plunker version thing. although I did just freeze it at an earlier version.
[23:06:03] <Grokling> Oh.
[23:06:09] *** doug64k has joined #angularjs
[23:06:11] *** doginal has quit IRC
[23:06:11] *** dsdeiz has quit IRC
[23:06:12] <seriema> kcccccc: because it's the same origin
[23:06:20] <seriema> kcccccc: origin, as in CORS
[23:06:29] <kcccccc> robdubya: how to check that?
[23:06:32] *** hardyvent has quit IRC
[23:06:33] *** doginal has joined #angularjs
[23:06:46] *** whunt_ has joined #angularjs
[23:06:50] *** Beatzebub has quit IRC
[23:06:53] <seriema> kcccccc: you don't have to check that. just configure your server. read that damn link on CORS will you?
[23:06:57] <robdubya> kcccccc look at your devtools
[23:07:13] <robdubya> to be fair seriema there's 2 parts
[23:07:16] <robdubya> enabling CORS generally
[23:07:17] <Grokling> Horse + water = not thirsty.
[23:07:24] <robdubya> and actually responding to the OPTIONS request
[23:07:31] *** bmac has quit IRC
[23:07:36] <robdubya> first part doesn't necessarily solve 2nd
[23:07:38] *** whunt has quit IRC
[23:07:57] <seriema> robdubya: I've only had to set origin accept on server. maybe I've been lucky
[23:08:07] *** tech2_ has joined #angularjs
[23:08:17] <seriema> robdubya: but you irritation rubbed off on me :P
[23:08:20] *** whunt_ is now known as whunt
[23:08:22] *** ProLoser has joined #angularjs
[23:08:24] *** ChadStrat has quit IRC
[23:08:28] <robdubya> i'm having an irritable day
[23:08:37] *** crakrjak_respawn has quit IRC
[23:09:10] *** gunn has quit IRC
[23:09:12] *** jolts has joined #angularjs
[23:09:14] *** doginal has quit IRC
[23:09:40] *** siddart has quit IRC
[23:09:51] *** FIFOd[a] has quit IRC
[23:09:55] *** siddart has joined #angularjs
[23:09:57] *** fraenzn has quit IRC
[23:10:23] *** RobinBAwesome has quit IRC
[23:10:27] *** Mahonar has quit IRC
[23:10:35] * Grokling hates working through js backwards. gimme a decent stacktrace already!
[23:10:42] *** baweaver has quit IRC
[23:10:58] *** OddDuck` has quit IRC
[23:11:21] *** RobinBAwesome has joined #angularjs
[23:11:29] *** rikkipitt has joined #angularjs
[23:11:43] *** tristanp has quit IRC
[23:11:52] *** crakrjak_respawn has joined #angularjs
[23:11:57] *** Rafzzz has joined #angularjs
[23:12:17] *** gunn has joined #angularjs
[23:12:37] *** parky128 has joined #angularjs
[23:12:38] *** ferrao has joined #angularjs
[23:12:51] *** DannyCallaghan has joined #angularjs
[23:12:52] *** sonicparke|bradm has joined #angularjs
[23:13:20] <parky128> Hello all
[23:13:32] * seriema waves at parky128
[23:13:52] *** siddart has quit IRC
[23:14:04] <parky128> I'm taking the leap into AngularJS, looks pretty neat stuff
[23:14:09] *** siddart has joined #angularjs
[23:14:28] <seriema> good choice!
[23:15:13] <parky128> I come from a Sencha (ExtJS) background, so this is very different way of coding, but I like what I see so far
[23:15:27] <parky128> Is this a good place to ask specified AngularJS questions?
[23:15:37] <Rafzzz> yes
[23:15:46] <Rafzzz> it might even be the best place...
[23:15:46] <parky128> Cool, well...
[23:15:53] *** siddart has quit IRC
[23:15:53] <parky128> Haha, I hope so!
[23:16:02] *** m3l720 has joined #angularjs
[23:16:02] *** siddart has joined #angularjs
[23:16:10] *** annlewis has quit IRC
[23:16:10] *** tech2_ has quit IRC
[23:16:18] <parky128> I am reading up on events
[23:16:27] <parky128> and how to broadcast, emit...
[23:16:46] *** Beatzebub has joined #angularjs
[23:16:58] *** ferrao has quit IRC
[23:17:17] <parky128> I need to my application to raise an event as soon as it's 'ready' and have a controller listen to the event name and do something
[23:17:28]
<kcccccc> seriema: robdubya: OK, I just saw that a Connect web server is responsible for serving the app. It's integrated via a Grunt-task into Gruntfile.js. It seems like it's using the module grunt-contrib-connect which has this code in ./node_modules/... : http://pastebin.com/t20kyJnV . And currently the 'connect' task in the Gruntfile.js looks like this: http://pastebin.com/q2Cir2S5
[23:17:32] *** moafoca has quit IRC
[23:17:39] *** frankblizzar has joined #angularjs
[23:17:40] *** tilgovi has joined #angularjs
[23:17:43] *** zlalanne has quit IRC
[23:17:47] *** Aliks has joined #angularjs
[23:17:50] *** DannyCallaghan has quit IRC
[23:17:52] *** benjah1 has joined #angularjs
[23:17:53] <Rafzzz> parky128: what do you need to do? you're probably doing it wrong at the moment
[23:17:57] <seriema> kcccccc: waaait, you want to access your grunt task server from the outside?
[23:18:12] *** mzabriskie has quit IRC
[23:18:15] <kcccccc> its a root server
[23:18:16] <kcccccc> !
[23:18:19] <kcccccc> I am the root
[23:18:24] <seriema> I am Groot
[23:18:27] *** siddart has quit IRC
[23:18:35] <Grokling> parky128: If you need things to be 'ready' get them done in a state resolve function, then the controller will 'happen' after the resolve.
[23:18:37] *** desp has joined #angularjs
[23:18:44] *** siddart has joined #angularjs
[23:18:58] *** grantfunke_ has joined #angularjs
[23:19:06] <kcccccc> seriema: So the way described in that post is right?
[23:19:15] *** merobertsjr has quit IRC
[23:19:16] <parky128> I was looking at using the run function on my app init code
[23:19:19] *** thomasreggi has joined #angularjs
[23:19:39] *** dmack has quit IRC
[23:19:47] *** mzabriskie has joined #angularjs
[23:19:48] *** macabre has joined #angularjs
[23:20:01] <Rafzzz> parky128: tell us what you're trying to achieve and we can offer you the best solution
[23:20:01] <seriema> kcccccc: looks good, but won't you have a whole other bunch of problems accessing that computer? like your network etc
[23:20:27] *** bjtitus has joined #angularjs
[23:20:29] <kcccccc> What?? I don't get that..
[23:20:34] <Grokling> parky128: Describe in plain english(that your Mum would understand) what you're trying to do.. like Rafzzz suggests..
[23:20:46] <parky128> OK OK...
[23:20:51] <Grokling> or Mom.. wherever you are ;-)
[23:21:05] *** Z3R0 has joined #angularjs
[23:21:05] *** monir has joined #angularjs
[23:21:12] *** juristr has quit IRC
[23:21:20] <seriema> or Dad (let's not be judgemental here)
[23:21:32] <parky128> On app startup, I need to make a http request to see if there is a currently logged in session
[23:21:42] *** gnrlbzik has joined #angularjs
[23:21:51] *** adpirz has joined #angularjs
[23:21:52] *** doginal has joined #angularjs
[23:21:53] *** Z3R0 has quit IRC
[23:21:53] *** siddart has quit IRC
[23:22:01] *** marshall has joined #angularjs
[23:22:10] *** siddart has joined #angularjs
[23:22:43] <seriema> kcccccc: Grunt is a task runner, for development. it's not really meant to set up a server that anyone can access from the outside
[23:23:19] *** jlambert121 has quit IRC
[23:23:25] *** rikkipitt has quit IRC
[23:23:41] *** mguillech has joined #angularjs
[23:23:50] <seriema> kcccccc: so it's usually run on your dev machine, by a developer, and that isn't usually set up to receive incoming traffic (ports, firewalls, etc great fun)
[23:23:50] *** grantfunke_ has quit IRC
[23:24:01] *** desp has quit IRC
[23:24:08] <Grokling> parky128: And if there is? If there isn't?
[23:24:38] *** jonr22 has joined #angularjs
[23:24:52] <seriema> parky128: sounds like you can route to the correct view, depending on the state. so you show one screen on load, do your little call, then route when it's done
[23:25:28] *** diosney has quit IRC
[23:25:37] *** trend has quit IRC
[23:25:54] <Grokling> You can do it without even showing a screen, and choose a destination state based on the result. Depends entirely on what you're trying to achieve.
[23:25:59] *** tommyjam has quit IRC
[23:26:17] *** adpirz has quit IRC
[23:26:31] *** dan2k3k4 has quit IRC
[23:26:46] *** desp has joined #angularjs
[23:26:54] <parky128> grokling: Well I will handle that accordingly, so show a login screen if session not present\invalid, show 'main' view if existing session is valid.
[23:27:05] <shredjs> seriema: It worked using constant for my $resource url path. Thanks
[23:27:05] <seriema> you _could_ but won't you want to show a "loading" screen?
[23:27:06] <Rafzzz> parky128: I'd use the $routeChange event
[23:27:25] <parky128> serema: eventually yes
[23:27:26] *** tommyjam has joined #angularjs
[23:27:28] <Joel> is there a default scope?
[23:27:37] <Rafzzz> parky128: and i'd do if (!AuthService.user) $location.path(/login)
[23:27:47] <Grokling> parky128: something like if (identityService.authenticated() != true) {$state.go('login');}
[23:27:54] <seriema> parky128: eventually, as in your development stage? because as a user I'd expect to see a loading screen first
[23:27:59] *** goodenough has joined #angularjs
[23:28:22] <parky128> seriema: sure, I will do that in both dev and deployment.
[23:28:24] <seriema> Joel: depending on the situation, yes
[23:28:52] *** cthrax has joined #angularjs
[23:28:58] *** Tim has joined #angularjs
[23:28:59] <Tim> Hello
[23:29:00] <parky128> What I am struggling with at the moment is getting an event to be broadcast from my applications run block
[23:29:02] <seriema> parky128: didn't mean that, I meant... forget it. what did you mean by "eventually"?
[23:29:03] *** preben_ has joined #angularjs
[23:29:10] <parky128> and picked up in a controller
[23:29:21] <parky128> or service I guess
[23:29:21] <seriema> parky128: you might be struggling with that, but it doesn't sound like the correct way anyway?
[23:29:23] <Rafzzz> parky128: you're thinking about it wrong though
[23:29:27] *** jonr22 has quit IRC
[23:29:37] <Tim> If you were building a facebook newsfeed clone what would you use?
[23:29:52] <Tim> ...meaning framework
[23:30:16] *** baweaver has joined #angularjs
[23:30:19] *** siddart has quit IRC
[23:30:20] <parky128> Rafzzz: No doubt I am!
[23:30:21] <Rafzzz> Time: I've done it in angular :)
[23:30:24] <Grokling> parky128: I have an 'outer' state. Everything else is nested under it. So, I can use the resolve there to redirect. No manual broadcasting required.
[23:30:29] *** whunt has quit IRC
[23:30:30] <Rafzzz> Tim: I've done it in angular
[23:30:35] *** siddart has joined #angularjs
[23:30:49] <Tim> Rafzzz and demos
[23:30:50] <Tim> ?
[23:30:52] <seriema> parky128: I almost never use events. first, you have promises you could use. second, sometimes you can just call a function on the service instead.
[23:30:53] <Rafzzz> Tim: but probably react :p if you dont care
[23:31:07] *** Sgeo_ has joined #angularjs
[23:31:17] <Rafzzz> Tim: It's for an intranet at work, but it's pretty basic, ngInfiniteScroll and ng-repeat directive gets you most of the way there
[23:31:36] *** imehesz has quit IRC
[23:32:17] *** tplaner has quit IRC
[23:32:28] *** Aliks has quit IRC
[23:32:46] <parky128> seriema: I like the idea of just calling a plain old function on a service, that does make more sense
[23:32:50] *** kuadrosx has quit IRC
[23:32:57] *** AR45 has quit IRC
[23:33:05] *** Shilon has joined #angularjs
[23:33:18] <seriema> parky128: which isn't very far from Grokling's suggestion
[23:33:27] *** kuadrosx has joined #angularjs
[23:33:31] *** rikkipitt has joined #angularjs
[23:33:35] <seriema> parky128: have you looked into routing? are you building a SPA?
[23:33:46] *** hecatonicosachor has joined #angularjs
[23:33:49] *** AR45 has joined #angularjs
[23:34:00] *** Rafzzz has quit IRC
[23:34:03] *** soee_ is now known as soee
[23:34:17] *** siddart has quit IRC
[23:34:26] *** gnrlbzik has quit IRC
[23:34:34] *** siddart has joined #angularjs
[23:34:49] <ProLoser> hallo
[23:34:49] *** Sgeo has quit IRC
[23:34:59] <ProLoser> Foxandxss: fyi UniBot is completely stable now
[23:35:02] <parky128> seriema: I have a barebones 3 view working with routing in AngularJS
[23:35:03] *** rikkipitt has quit IRC
[23:35:11] *** whunt has joined #angularjs
[23:35:19] *** crakrjak_respawn has quit IRC
[23:35:26] <Foxandxss> oh nice
[23:35:27] *** AR45 has quit IRC
[23:35:44] *** zwacky has joined #angularjs
[23:35:49] <parky128> seriema: You mean Grokling's suggestion of the $state approach?
[23:35:56] <Grokling> parky128: ng-route or ui-router?
[23:36:16] <seriema> parky128: to me it sounds like: default (/index) shows loading screen, it has a controller/directive that does that auth-check, then just if(authenticated) $state.go('loggedin'); else $state.go('login');
[23:36:28] <seriema> parky128: yeah
[23:36:33] *** tommyjam has quit IRC
[23:36:37] *** Rafzzz has joined #angularjs
[23:36:44] <seriema> I haven't used $state, so for me it would be $location, but anyway
[23:37:00] <Rafzzz> Tim: Sorry, I DC, did you say anything?
[23:37:04] *** AR45 has joined #angularjs
[23:37:09] *** sacho_ has quit IRC
[23:37:26] <parky128> Grokling: I'm using the $routeProvider in my app config
[23:37:26] *** tommyjam has joined #angularjs
[23:37:44] *** Trindaz has joined #angularjs
[23:37:48] *** Aliks has joined #angularjs
[23:37:54] <Grokling> parky128: Both options use $routeProvider.
[23:37:56] <Trindaz> Just how bad is it to reuse $$ as a property name on resources?
[23:38:07] <laserbeak43> seriema: interesting!! :)
[23:38:16] *** Tim has quit IRC
[23:38:17] <Trindaz> I was thinking of using it to exclude those properties from being sent back to server for updates
[23:38:31] <Rafzzz> parky128: so I don't think I do this the best way in a current app, but i use $routeChangeStart event, and I check if the user is logged, and if they're not - I send them to login
[23:39:03] *** crakrjak_respawn has joined #angularjs
[23:39:25] <seriema> Foxandxss: what is that? give karma to irc users? or github users?
[23:39:28] <Rafzzz> parky128: that's a really simple way of doing it. I also call the Auth service on app.run and save their state in localstorage and check whether that exists from then on, my API then checks on every request to see whether they have a session. If any any point my API decides that they don't have a session I boot them, delete local storage and send them to login again
[23:39:28] *** cotko has joined #angularjs
[23:39:51] <Foxandxss> seriema: just a bot
[23:39:56] <Foxandxss> the karma it gives is bs
[23:39:56] *** cornerma1 has joined #angularjs
[23:39:57] <Foxandxss> :P
[23:39:57] <savantgarde_> if you have rendered an array of objects, where each field is manipulated by ngModel, how do you react on each model being modified?
[23:40:06] *** trend has joined #angularjs
[23:40:10] <savantgarde_> i.e., I want to PUT a modified model to the server
[23:40:13] <parky128> Grokling: I don't have ng-route or ui-router referenced in my code, just the $routeProvider with 'when' and 'otherwise'
[23:40:13] <seriema> Foxandxss: aaaw, I wanted karma!
[23:40:21] <Foxandxss> seriema++
[23:40:25] <Foxandxss> not working
[23:40:29] *** gunn has quit IRC
[23:40:38] <UniBot> seriema Karma: 1
[23:40:44] <Foxandxss> oh, just lagging
[23:40:45] <seriema> woho!
[23:41:09] *** gnrlbzik has joined #angularjs
[23:41:16] *** walden is now known as walden|afk
[23:41:17] *** grantfunke_ has joined #angularjs
[23:41:32] <Grokling> parky128: You'll be pulling one or the other of them in in your html.
[23:42:29] *** thomasreggi has quit IRC
[23:43:03] *** thomasreggi has joined #angularjs
[23:43:10] *** bostonaholic has quit IRC
[23:43:10] *** benjah1 has quit IRC
[23:43:10] *** cornerman has quit IRC
[23:43:10] *** themime has joined #angularjs
[23:43:13] *** moritzs has quit IRC
[23:43:16] *** cornerma1 is now known as cornerman
[23:43:19] *** thomasreggi has quit IRC
[23:43:33] *** thomasreggi has joined #angularjs
[23:43:35] <seriema> shredjs laserbeak43 go give me points! like Foxandxss did! :P
[23:43:51] *** BillCriswell has quit IRC
[23:43:51] <parky128> Grokling: Ah if you mean script includes, then I am pulling in angular-route.js
[23:43:52] <seriema> who else did I help today?
[23:43:54] *** snapwich has joined #angularjs
[23:44:00] <wafflej0ck> savantgarde_: you could use a watch with the true boolean at the end for deep watching but it's a CPU intensive process you're better off using something like angular x-editable that has events for when the change has been committed instead of on every change to the model
[23:44:02] <Rafzzz> seriema ++
[23:44:14] *** JohnBat26 has quit IRC
[23:44:15] <savantgarde_> wafflej0ck: aha, thanks
[23:44:35] *** snapwich has quit IRC
[23:44:41] *** platonic has joined #angularjs
[23:44:46] <laserbeak43> seriema: how do i give you points?
[23:44:51] *** thomasreggi has quit IRC
[23:44:53] *** g33k5z has quit IRC
[23:44:56] *** yelvert has quit IRC
[23:45:00] <wafflej0ck> nick++
[23:45:01] <UniBot> nick Karma: 1
[23:45:07] <wafflej0ck> good job nick
[23:45:17] <seriema> laserbeak43: like that, but with my nick
[23:45:18] <seriema> lol
[23:45:19] *** g33k5z has joined #angularjs
[23:45:22] *** yelvert has joined #angularjs
[23:45:23] <Grokling> parky128: Ah. Okay, that's ng-route. The 'official' angular router. Most people have adopted ui-router as the defacto standard, it does many things better/more easily than ng-route.
[23:45:29] *** thomasreggi has joined #angularjs
[23:45:30] *** gunn has joined #angularjs
[23:45:31] <seriema> Rafzzz: thx! now, could you try that without the space? :D haha
[23:45:40] <laserbeak43> seriema++
[23:45:40] <UniBot> seriema Karma: 2
[23:45:41] <kuadrosx> !karma ui-router
[23:45:41] <UniBot> ui-router Karma: 3
[23:45:47] *** dsdeiz has joined #angularjs
[23:45:52] *** mdedetrich has joined #angularjs
[23:45:57] *** grantfunke_ has quit IRC
[23:45:57] <seriema> laserbeak43: wooho! lol
[23:46:01] <laserbeak43> xD
[23:46:08] <parky128> Grokling: Ok, as I said earlier, still fresh to the game, and just following the tutorials on the official site
[23:46:26] <seriema> !api
[23:46:30] *** thomasreggi has quit IRC
[23:46:31] <laserbeak43> i was wondering whom nick was :P
[23:46:31] <seriema> heh nice
[23:46:43] *** Rafzzz has quit IRC
[23:46:47] *** siddart has quit IRC
[23:46:47] *** thomasreggi has joined #angularjs
[23:46:53] *** sekyms has joined #angularjs
[23:46:53] *** Latros-OS has quit IRC
[23:47:03] *** siddart has joined #angularjs
[23:47:10] <seriema> !answer
[23:47:10] <UniBot> Use a promise! Use a directive! Remove [] from your app.module() call!
[23:47:14] *** cornerma1 has joined #angularjs
[23:47:24] <sekyms> Does anyone know of an API similar to Githubs that people can use for playing with MVC frameworks? I always run into GitHubs rate limit
[23:47:43] <Grokling> !try @seriema
[23:47:50] <wafflej0ck> sekyms: wut? you mean git itself er what from github?
[23:48:05] <sekyms> just the api
[23:48:19] <wafflej0ck> oh APIs right sorry didn't read that clearly
[23:48:19] *** michaelSharpe has quit IRC
[23:48:22] <seriema> !trout :Grokling
[23:48:31] <wafflej0ck> sekyms: flickr is pretty easy
[23:48:34] *** gnrlbzik has quit IRC
[23:48:36] *** thomasreggi has quit IRC
[23:48:39] <seriema> !trout Grokling
[23:48:42] *** apertoire has joined #angularjs
[23:49:04] *** michaelSharpe has joined #angularjs
[23:49:09] * Grokling wonders where the list of possible invocations for unibot are?
[23:49:14] *** thomasreggi has joined #angularjs
[23:49:21] *** jillesme has quit IRC
[23:49:24] <wafflej0ck> sekyms: usually if I want to test something that shows an API call I'll use flickr lots of public stuff so you don't need auth
[23:49:25] *** platonic has quit IRC
[23:49:29] *** s3shs has quit IRC
[23:49:29] <UniBot> seriema slaps :Grokling in the face with a wet trout
[23:49:29] <UniBot> seriema slaps Grokling in the face with a wet trout
[23:49:32] *** Joel has left #angularjs
[23:49:36] *** s3shs_ has joined #angularjs
[23:49:37] *** yelvert has quit IRC
[23:49:47] <Grokling> That's some serious lag!
[23:49:49] <seriema> under Commands tab
[23:49:55] *** g33k5z has quit IRC
[23:49:55] *** doginal has quit IRC
[23:49:59] <seriema> it had to fish the trout first I guess
[23:50:13] <sekyms> thanks wafflej0ck
[23:50:19] <Grokling> seriema: right. just hadn't clicked the tab.
[23:50:21] <sekyms> thanks Linell
[23:50:27] <sekyms> think il try hacker news
[23:50:36] <savantgarde_> anyone installing underscore.string with bower btw? it doesn't install itself in app/index.html for me
[23:50:45] *** zz_night-owl is now known as night-owl
[23:50:45] *** trend has quit IRC
[23:50:47] <savantgarde_> every other dependency does, but not underscore.string
[23:50:52] <kuadrosx> !noob
[23:50:53] <UniBot> kuadrosx: You should not be using vanilla jQuery at all unless you're in a directive AND entirely sure Angular can't already do it for you. Try !cheat and !tips for more info
[23:50:58] *** cornerman has quit IRC
[23:50:58] *** cornerma1 is now known as cornerman
[23:51:03] *** jmckind has quit IRC
[23:51:14] <seriema> savantgarde_: you're using wiredep or something?
[23:51:26] *** jrist has joined #angularjs
[23:51:28] <savantgarde_> seriema: nope, I just generated the project via yeoman
[23:51:34] <sekyms> wafflej0ck: flickr seems to have a pretty extensive API, wow
[23:51:37] <wafflej0ck> savantgarde_: yeah believe it depends on the main file being specified in bower.json
[23:51:45] <wafflej0ck> sekyms: yeah it's really nice insofar as photo services are concerned
[23:51:47] *** Rafzzz has joined #angularjs
[23:51:50] <seriema> savantgarde_: then it probably configured wiredep for you, and it does that when you run grunt
[23:51:54] <wafflej0ck> sekyms: instagram and picasa blow by comparison
[23:51:56] <Rafzzz> seriema++
[23:51:56] <UniBot> seriema Karma: 3
[23:52:03] <Foxandxss> hey hey hey
[23:52:07] <seriema> savantgarde_: and as wafflej0ck said, the bower.json in that project needs to set the main object
[23:52:19] <Rafzzz> Foxandxss++
[23:52:19] <UniBot> Rafzzz: you must wait an hour between giving karma
[23:52:36] <sekyms> Linell: any idea if this hacker news one has a rate limit
[23:52:50] *** pingupingu has joined #angularjs
[23:52:54] <savantgarde_> seriema: yes, I see now that grunt serve invokes wiredep:app
[23:52:59] <savantgarde_> which says: underscore.string was not injected in your file.
[23:53:01] *** siddart has quit IRC
[23:53:17] *** s00pcan has joined #angularjs
[23:53:17] *** siddart has joined #angularjs
[23:53:25] <Linell> sekyms: I've never hit it just messing around, but I'm not 100% sure
[23:53:28] <seriema> savantgarde_: which probably means that it doesn't have the main object in its bower.json
[23:53:38] *** monir has quit IRC
[23:53:39] <wafflej0ck> savantgarde_: yeah you'll need to either fix the bower.json (but this will break for other systems) or you need to just specify this dependency yourself in index.html
[23:53:40] <seriema> thx Rafzzz
[23:53:40] <savantgarde_> seriema: how do I configure that
[23:53:43] *** thomasreggi has quit IRC
[23:53:51]
<dsdeiz> hey all, so i have this service http://pastebin.com/5zTACvjw how come i can't access the 'message' if i have in my index.html file notifications.getMessage()?
[23:53:55] <sekyms> Linell it's actually not as nice as I thought. You have to make a lot of calls to get usefull data
[23:53:58] <savantgarde_> wafflej0ck: problem is the dependency gets removed from index.html :(
[23:54:07] <seriema> savantgarde_: it's the project that needs to do it. personally, I go to that projects github, edit the bower.json file for them, and submit a PR =)
[23:54:11] <savantgarde_> I've added it manually, but grunt serve removes it
[23:54:19] <savantgarde_> seriema: ah grr
[23:54:20] <wafflej0ck> savantgarde_: make sure you aren't putting it in between any <!-- build --> type blocks
[23:54:21] <seriema> savantgarde_: just don't put it inside the comments
[23:54:29] <seriema> exactly
[23:54:31] <Linell> sekyms: haha yeah, but that's how most are. Seperation of concerns and whatnot
[23:54:32] <savantgarde_> aha, thanks guys
[23:54:33] *** SonikBoom has joined #angularjs
[23:54:49] <sekyms> githubs is really, really nice in that regard
[23:54:50] *** crakrjak_respawn has quit IRC
[23:54:56] <sekyms> ill take a deeper look into flickrs
[23:55:29] *** plato|wtf has quit IRC
[23:55:35] <seriema> savantgarde_: because if it is, the bower.json is already correctly configured?
[23:55:41] <savantgarde_> seriema: that's the one
[23:55:46] <savantgarde_> seriema: well, I dunno
[23:56:01] <kuadrosx> savantgarde_: make sure you ran bower install with --save option
[23:56:06] <seriema> savantgarde_: could you open your bower_components folder and go into underscore.sring?
[23:56:09] <kuadrosx> an also re-run grunt serve
[23:56:10] *** doginal has joined #angularjs
[23:56:10] <savantgarde_> kuadrosx: I did
[23:56:18] <savantgarde_> seriema: and>
[23:56:21] <savantgarde_> ?
[23:56:26] <kuadrosx> :okay:
[23:56:36] <savantgarde_> I've got version 2.3.3 btw
[23:56:39] *** mjs2600 has quit IRC
[23:56:47] <seriema> savantgarde_: does it have this: "main": "./lib/underscore.string.js",
[23:57:27] <savantgarde_> seriema: can't find any bower.json
[23:57:29] *** siddart has quit IRC
[23:57:32] *** trend has joined #angularjs
[23:57:44] <seriema> savantgarde_: it's impossible that it's not there :)
[23:57:46] *** siddart has joined #angularjs
[23:57:49] *** reavengrey has left #angularjs
[23:57:51] <seriema> savantgarde_: if you installed it through bower
[23:57:52] <savantgarde_> there's component.json
[23:57:57] <savantgarde_> but that's it
[23:58:06] *** AngularUI has joined #angularjs
[23:58:06] <AngularUI> ng-grid/rewrite-cellnav c1fb4e1 c0bra: fix(Filter): Watch running w/o change check...
[23:58:06] *** AngularUI has left #angularjs
[23:58:07] <savantgarde_> I searched for bower.json in bower_components/underscore.string
[23:58:15] <seriema> you don't have to search
[23:58:16] *** parky128 has quit IRC
[23:58:16] <seriema> it's in the root
[23:58:52] *** nuizzy has quit IRC
[23:58:59] <wafflej0ck> savantgarde_: that is very strange be sure to check with a regular file explorer not just in an IDE where some things may be excluded
[23:59:11] <savantgarde_> wafflej0ck: I searched in the console
[23:59:21] *** zwacky has quit IRC
[23:59:25] *** trend has quit IRC
[23:59:26] <savantgarde_> seriema: well, I wanted to make sure
[23:59:27] <seriema> savantgarde_: don't search, just check in the root of that folder
[23:59:32] *** jrist has quit IRC
[23:59:34] *** ikaruss has quit IRC
[23:59:38] <seriema> because if it's not there, where no longer in Kansas
[23:59:44] <wafflej0ck> yea
[23:59:48] <seriema> *we're
[23:59:48] <wafflej0ck> CMEs
[23:59:51] <savantgarde_> seriema: well, like I said there's only component.json
[23:59:57] <wafflej0ck> quantum tunneling
[23:59:59] <savantgarde_> which does have a main property