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

Toggle Join/Part | bottom
[00:01:52] *** OnkelTem has quit IRC
[00:02:32] *** jcooke has quit IRC
[00:02:33] *** leolrrj-alt has joined #angularjs
[00:03:03] *** CAPITANOOO has joined #angularjs
[00:03:11] *** siba has joined #angularjs
[00:03:14] *** OnkelTem has joined #angularjs
[00:03:40] *** mischat has quit IRC
[00:04:04] *** Aliks has quit IRC
[00:04:09] *** jcooke has joined #angularjs
[00:04:10] *** chrisbirk has joined #angularjs
[00:04:17] *** storresi has quit IRC
[00:05:05] *** siba has quit IRC
[00:05:25] *** buzzedword has joined #angularjs
[00:05:35] *** leolrrj has quit IRC
[00:06:05] *** sobol has joined #angularjs
[00:06:17] *** Aliks has joined #angularjs
[00:06:22] *** atomicb0mb has quit IRC
[00:06:50] *** sonofdir_ has quit IRC
[00:06:50] *** buzzedword has quit IRC
[00:07:54] *** nanuko has quit IRC
[00:08:18] *** CAPITANOOO has quit IRC
[00:09:03] *** chrisbirk has quit IRC
[00:10:03] *** sobol has quit IRC
[00:10:16] *** thatslifeson has joined #angularjs
[00:10:40] *** logix812 has quit IRC
[00:11:01] *** sobol has joined #angularjs
[00:11:37] *** w00tner has joined #angularjs
[00:11:52] *** dpicky has quit IRC
[00:12:01] *** w00tner is now known as Guest76539
[00:12:14] *** restless_being_ has joined #angularjs
[00:12:19] *** atomicb0mb has joined #angularjs
[00:12:22] *** chrisbirk has joined #angularjs
[00:12:38] *** sssilver has quit IRC
[00:12:45] *** zigzagzig has joined #angularjs
[00:13:05] *** kpillis has joined #angularjs
[00:13:10] *** shangxia1 has joined #angularjs
[00:13:30] *** restless_being has quit IRC
[00:13:43] *** dman777_alter has quit IRC
[00:13:53] *** buzzedword has joined #angularjs
[00:14:21] *** jareddlc has joined #angularjs
[00:14:40] *** baweaver has joined #angularjs
[00:14:48] *** theblang has joined #angularjs
[00:14:49] *** chrisbir_ has joined #angularjs
[00:15:26] *** chrisbir_ has quit IRC
[00:15:35] *** mven has quit IRC
[00:15:36] *** chrisbirk has quit IRC
[00:15:51] *** rickhanlonii has joined #angularjs
[00:16:03] *** Guest76539 has quit IRC
[00:16:31] *** CodeMonkey has quit IRC
[00:16:36] *** steeze has quit IRC
[00:16:40] *** w00tner_ has joined #angularjs
[00:17:14] *** Sna4x8 has quit IRC
[00:17:22] *** CodeMonkey has joined #angularjs
[00:18:15] *** compeman_ has quit IRC
[00:18:16] *** yakizushi has quit IRC
[00:18:35] *** bradgignac has quit IRC
[00:18:48] *** compeman has joined #angularjs
[00:18:49] *** compeman has joined #angularjs
[00:18:50] *** Takumo has quit IRC
[00:19:09] *** mandric has quit IRC
[00:19:23] *** baweaver has quit IRC
[00:19:27] *** jareddlc has quit IRC
[00:20:45] *** rickhanlonii has quit IRC
[00:20:45] *** Codefria_ has joined #angularjs
[00:22:06] *** edm23 has quit IRC
[00:22:18] *** elsevero has quit IRC
[00:22:22] *** dpicky has joined #angularjs
[00:22:34] *** shangxia1 has quit IRC
[00:22:40] *** danmulvey has quit IRC
[00:22:52] *** Takumo has joined #angularjs
[00:22:53] *** Takumo has joined #angularjs
[00:24:22] *** fees_ has quit IRC
[00:25:06] *** mandric has joined #angularjs
[00:25:51] *** dcherman has quit IRC
[00:25:58] *** adharris has quit IRC
[00:26:24] *** irhabi has joined #angularjs
[00:26:25] *** cfloare has quit IRC
[00:26:31] *** cfloare has joined #angularjs
[00:27:17] *** elrabin has quit IRC
[00:27:55] *** elrabin has joined #angularjs
[00:28:15] *** tahj has joined #angularjs
[00:29:08] <tahj> Is there any way to add $http headers without them being automatically added to "Access-Control-Requests-Headers" header?
[00:30:11] *** conan_the_destro has quit IRC
[00:30:36] *** syzygy_ has joined #angularjs
[00:30:52] *** shangxia1 has joined #angularjs
[00:32:15] *** elrabin has quit IRC
[00:32:50] *** dcherman has joined #angularjs
[00:33:02] *** jareddlc has joined #angularjs
[00:33:02] *** tahj has quit IRC
[00:33:48] *** irhabi has quit IRC
[00:33:48] *** bayousoft has joined #angularjs
[00:34:42] *** arizzo has joined #angularjs
[00:36:25] *** CanyonMan has joined #angularjs
[00:36:36] *** saysora has joined #angularjs
[00:37:24] *** wafflejock has quit IRC
[00:38:23] *** cocao has joined #angularjs
[00:38:25] *** mandric has quit IRC
[00:39:55] *** wafflejock has joined #angularjs
[00:41:03] <icfantv> tahj: assume you mean "on the client side"?
[00:41:04] *** damoncasale has joined #angularjs
[00:41:14] *** annlewis has joined #angularjs
[00:42:27] *** edm has joined #angularjs
[00:43:24] <damoncasale> Afternoon/evening.
[00:43:42] <damoncasale> Is there any possible way of having *optional* filters?
[00:44:06] *** juro has joined #angularjs
[00:44:24] <damoncasale> I'm trying to do something like this:
[00:44:47] <damoncasale> {{vm.description | truncateCustom : 70 : '...'}}
[00:45:00] <damoncasale> But I don't always want to truncate the description text.
[00:45:42] *** aubsrey_ has joined #angularjs
[00:46:22] *** annlewis has quit IRC
[00:49:18] *** walden is now known as walden|afk
[00:50:34] *** edm has quit IRC
[00:50:46] *** buzzedword has quit IRC
[00:51:09] *** Sky[x] has quit IRC
[00:51:30] *** moep has quit IRC
[00:52:20] *** damoncasale has quit IRC
[00:52:36] *** liamonade has joined #angularjs
[00:53:35] <ish> in $stateChangeStart, is it possible to know if its triggered by the backbutton? I'm really only interested in changes to a "forward state", not a back state.
[00:53:56] *** italoacasas has joined #angularjs
[00:54:02] *** theblang has quit IRC
[00:54:05] <archon-> ish: no
[00:54:12] *** tortal has quit IRC
[00:54:12] *** nil1511 has quit IRC
[00:54:19] *** zeioth has quit IRC
[00:54:20] *** Bish has quit IRC
[00:54:27] *** mven has joined #angularjs
[00:54:28] *** atomicb0mb has quit IRC
[00:54:53] *** contradictioned has quit IRC
[00:55:03] *** PiotrekR has quit IRC
[00:55:58] *** contradictioned has joined #angularjs
[00:57:10] *** Ir1sh has quit IRC
[00:57:14] <ish> is there a no way to do nothing on back, but do something on all other state/route changes?
[00:57:38] *** dpicky has quit IRC
[00:58:03] *** nil1511 has joined #angularjs
[00:58:13] *** cliluw has quit IRC
[00:58:40] *** Bish has joined #angularjs
[00:58:44] *** diegoaguilar has joined #angularjs
[00:58:48] <diegoaguilar> Hello
[00:58:51] *** tortal has joined #angularjs
[00:58:59] *** saysora has quit IRC
[00:59:21] *** Aliks has quit IRC
[00:59:45] *** IvailoStoianov has quit IRC
[01:00:42] *** citizen-stig has joined #angularjs
[01:02:07] *** junmin has quit IRC
[01:02:46] *** IvailoStoianov has joined #angularjs
[01:03:09] *** diegoaguilar has quit IRC
[01:03:24] *** diegoaguilar has joined #angularjs
[01:03:37] *** kpillis has quit IRC
[01:04:21] *** diegoaguilar has quit IRC
[01:04:35] *** diegoaguilar has joined #angularjs
[01:05:29] *** cliluw has joined #angularjs
[01:05:33] *** dontsnee has joined #angularjs
[01:05:35] *** citizen-stig has quit IRC
[01:05:59] *** zero_coder has quit IRC
[01:07:30] *** Aliks has joined #angularjs
[01:08:45] <icfantv> ish: http://stackoverflow.com/questions/15813850/detect-history-back-using-angular
[01:09:18] <dontsnee> hi, I'm trying to do this <tr ng-repeat="table in dimensionTables | orderBy:'table.tableName'">
[01:09:43] *** max_at has quit IRC
[01:09:43] <dontsnee> the orderBy is not working... so I was wondering what stupid mistake i could be making here
[01:10:38] *** ron_frown has joined #angularjs
[01:11:17] <dontsnee> ng-repeat="table in dimensionTables" works because $scope.dimensionTables is an array of object
[01:11:41] <dontsnee> each object has a property called tableName, and I want to sort the rows by the alphabetical order
[01:11:57] *** eago has joined #angularjs
[01:12:35] *** buzzedword has joined #angularjs
[01:13:33] *** nya_ has quit IRC
[01:14:49] *** Guest98707 has quit IRC
[01:15:18] *** ron_frown has quit IRC
[01:15:50] <dontsnee> i fixed my problem, it was just orderBy:'tableName' not table.tableName
[01:15:58] <dontsnee> thank you dontsnee
[01:16:00] *** ringzer0 has quit IRC
[01:16:02] *** max_at has joined #angularjs
[01:16:04] <dontsnee> you're very welcome!
[01:16:50] *** buzzedword has quit IRC
[01:17:17] *** rickhanlonii has joined #angularjs
[01:17:38] *** BahamutWC|Work has quit IRC
[01:19:22] *** dpicky has joined #angularjs
[01:20:06] *** dpicky has quit IRC
[01:20:20] *** baweaver has joined #angularjs
[01:20:41] *** BahamutWC|Work has joined #angularjs
[01:21:26] *** Codefria_ has quit IRC
[01:21:51] *** rickhanlonii has quit IRC
[01:23:09] *** dcherman has quit IRC
[01:23:31] *** sterns has joined #angularjs
[01:24:11] *** iateadonut has joined #angularjs
[01:24:20] *** ringzer0 has joined #angularjs
[01:24:20] *** Codefria_ has joined #angularjs
[01:25:11] *** BahamutWC|Work has quit IRC
[01:26:08] *** arizzo has quit IRC
[01:26:50] *** FIFOd has joined #angularjs
[01:26:55] *** someone235 has quit IRC
[01:29:20] *** yky has joined #angularjs
[01:29:43] *** yky is now known as Guest10384
[01:29:51] *** rikkipitt has quit IRC
[01:31:45] *** c00ljs has quit IRC
[01:32:07] *** arizzo has joined #angularjs
[01:32:25] *** FIFOd has quit IRC
[01:34:06] *** FIFOd has joined #angularjs
[01:34:27] *** w00tner_ has quit IRC
[01:34:45] *** ringzer0 has quit IRC
[01:34:47] *** arizzo has quit IRC
[01:35:02] *** arizzo has joined #angularjs
[01:35:23] *** freshrecipe has quit IRC
[01:35:54] *** w00tner has joined #angularjs
[01:36:06] *** zero_coder has joined #angularjs
[01:36:15] *** Codefria_ has quit IRC
[01:36:18] *** w00tner is now known as Guest45720
[01:36:47] *** lemur has joined #angularjs
[01:36:48] *** Guest45720 has left #angularjs
[01:38:53] *** davlefou_ has joined #angularjs
[01:39:25] *** marthinal has quit IRC
[01:39:36] *** buzzedword has joined #angularjs
[01:40:07] *** cactauz has joined #angularjs
[01:40:57] *** davlefou has quit IRC
[01:41:26] *** lemur has quit IRC
[01:42:01] *** annlewis has joined #angularjs
[01:42:07] *** dontsnee has quit IRC
[01:42:28] *** p0k0 has quit IRC
[01:42:34] *** arizzo has quit IRC
[01:42:40] *** cacts|works has quit IRC
[01:43:07] *** arizzo has joined #angularjs
[01:43:07] *** marie1972 has joined #angularjs
[01:43:18] *** erve has quit IRC
[01:43:21] *** Guest10384 has quit IRC
[01:44:20] *** buzzedword has quit IRC
[01:44:43] *** cactauz has quit IRC
[01:45:01] *** freshrecipe has joined #angularjs
[01:46:07] *** owenjones has joined #angularjs
[01:46:12] *** cryptsting has joined #angularjs
[01:46:33] *** annlewis has quit IRC
[01:47:01] *** buzzedword has joined #angularjs
[01:47:25] *** arizzo has quit IRC
[01:48:38] *** arizzo has joined #angularjs
[01:49:35] *** erve has joined #angularjs
[01:49:35] *** theblang has joined #angularjs
[01:52:47] *** Aliks has quit IRC
[01:53:03] *** arizzo has quit IRC
[01:54:12] *** bayousoft has quit IRC
[01:54:15] *** Sna4x8 has joined #angularjs
[01:54:21] *** erve has quit IRC
[01:55:39] *** erve has joined #angularjs
[01:55:43] *** rho has joined #angularjs
[01:55:44] *** rho has joined #angularjs
[01:58:17] *** arizzo has joined #angularjs
[01:58:47] *** c00ljs has joined #angularjs
[02:00:23] *** jareddlc has quit IRC
[02:01:05] *** ringzer0 has joined #angularjs
[02:02:39] *** arizzo has quit IRC
[02:05:37] *** ringzer0 has quit IRC
[02:07:54] *** arizzo has joined #angularjs
[02:08:08] *** annlewis has joined #angularjs
[02:09:09] *** one_zero has joined #angularjs
[02:10:40] *** nya_ has joined #angularjs
[02:10:46] *** mellernoia has quit IRC
[02:12:43] *** arizzo has quit IRC
[02:13:32] *** arizzo has joined #angularjs
[02:13:38] *** Ir1sh has joined #angularjs
[02:14:34] *** ringzer0 has joined #angularjs
[02:15:52] *** yky has joined #angularjs
[02:15:55] *** Bubo has joined #angularjs
[02:16:15] *** yky is now known as Guest66028
[02:16:17] *** Misere has joined #angularjs
[02:17:14] *** zz_dimtruck is now known as dimtruck
[02:18:10] *** rickhanlonii has joined #angularjs
[02:18:18] *** arizzo has quit IRC
[02:18:40] *** Aliks has joined #angularjs
[02:19:56] *** marie1972 has left #angularjs
[02:20:08] *** diegoaguilar has quit IRC
[02:22:05] *** mven has quit IRC
[02:22:08] *** p0k0 has joined #angularjs
[02:22:57] *** rickhanlonii has quit IRC
[02:22:57] *** arizzo has joined #angularjs
[02:22:58] *** CodeMonkey has quit IRC
[02:23:56] *** Aliks has quit IRC
[02:25:49] *** mven has joined #angularjs
[02:26:26] *** annlewis has quit IRC
[02:26:52] *** wonder95 has quit IRC
[02:27:38] *** arizzo has quit IRC
[02:28:41] *** Aliks has joined #angularjs
[02:28:41] *** arizzo has joined #angularjs
[02:30:54] *** Ir1sh has quit IRC
[02:30:59] *** shangxia1 has quit IRC
[02:32:15] *** ESh has joined #angularjs
[02:32:43] *** shangxia1 has joined #angularjs
[02:33:15] *** arizzo has quit IRC
[02:33:24] <ESh> hello, i have one doubt, Is possible to create shopping mobile app using angular ja
[02:33:39] <ESh> ?
[02:33:47] *** macabre has quit IRC
[02:35:29] *** liamonade has quit IRC
[02:36:14] *** diegoaguilar has joined #angularjs
[02:36:35] *** theblang has quit IRC
[02:38:17] *** arizzo has joined #angularjs
[02:40:52] *** rossk has quit IRC
[02:40:58] *** ThuyNguyen has joined #angularjs
[02:41:09] *** marr has quit IRC
[02:41:25] *** brodul has quit IRC
[02:41:27] *** buzzedword has quit IRC
[02:41:38] *** aubsrey_ has quit IRC
[02:42:00] *** Magic8ball has joined #angularjs
[02:42:23] *** ESh has quit IRC
[02:43:02] *** arizzo has quit IRC
[02:44:15] *** buzzedword has joined #angularjs
[02:44:29] *** brodul has joined #angularjs
[02:44:40] *** rclanan has joined #angularjs
[02:44:54] *** phrozensilver has quit IRC
[02:45:00] *** Drillz has joined #angularjs
[02:45:51] *** Lzrbeak has quit IRC
[02:46:13] *** Magic8ball has quit IRC
[02:46:47] *** shangxia1 has quit IRC
[02:47:43] *** Mumpsimus has quit IRC
[02:49:15] *** phrozensilver has joined #angularjs
[02:49:16] *** citizen-stig has joined #angularjs
[02:50:25] *** rickmak_ has joined #angularjs
[02:51:17] <Bubo> shopping mobile app?
[02:52:49] *** Drillz has quit IRC
[02:53:16] *** rchavik has joined #angularjs
[02:53:23] *** citizen-stig has quit IRC
[02:53:43] *** phrozensilver has quit IRC
[02:54:55] *** beckyconning_ has joined #angularjs
[02:56:50] *** buzzedword has quit IRC
[02:57:21] *** Dilip has joined #angularjs
[02:57:54] *** mary5030 has joined #angularjs
[03:00:18] *** rossk has joined #angularjs
[03:00:52] *** jareddlc has joined #angularjs
[03:01:03] *** speeddragon has quit IRC
[03:02:03] *** Laserbeak has joined #angularjs
[03:02:11] *** annlewis has joined #angularjs
[03:03:11] *** macabre has joined #angularjs
[03:05:51] *** Imaginativeone has quit IRC
[03:05:55] *** jareddlc has quit IRC
[03:10:00] *** MrBaboon has quit IRC
[03:10:04] *** rossk has quit IRC
[03:13:26] *** killa_kyle has joined #angularjs
[03:14:02] *** Chinchill has quit IRC
[03:15:23] *** annlewis has quit IRC
[03:15:32] *** mileee has joined #angularjs
[03:17:59] *** s00pcan has quit IRC
[03:18:34] *** ikiselev has joined #angularjs
[03:18:38] *** jareddlc has joined #angularjs
[03:18:42] *** mileee has quit IRC
[03:19:02] *** atomicb0mb has joined #angularjs
[03:19:17] *** rickhanlonii has joined #angularjs
[03:19:44] *** s00pcan has joined #angularjs
[03:21:25] *** baweaver has quit IRC
[03:22:13] *** buzzedword has joined #angularjs
[03:23:30] *** rickhanlonii has quit IRC
[03:24:13] *** nilsi has joined #angularjs
[03:25:59] *** icfantv has quit IRC
[03:26:49] *** buzzedword has quit IRC
[03:28:03] *** owenjones has quit IRC
[03:28:20] *** annlewis has joined #angularjs
[03:28:46] *** LeBlaaanc has quit IRC
[03:29:40] *** ikiselev has quit IRC
[03:32:29] *** Oog has joined #angularjs
[03:33:27] *** junmin has joined #angularjs
[03:34:35] *** bashhack has joined #angularjs
[03:34:40] *** erve has quit IRC
[03:35:10] *** bashhack has quit IRC
[03:35:41] *** codeitloadit has quit IRC
[03:36:32] *** b0x has joined #angularjs
[03:36:33] *** b0x has joined #angularjs
[03:37:08] *** asteele has quit IRC
[03:37:08] *** shangxia1 has joined #angularjs
[03:37:30] *** baweaver has joined #angularjs
[03:38:13] *** HarunTy has quit IRC
[03:38:34] *** buzzedword has joined #angularjs
[03:38:41] *** Aliks has quit IRC
[03:38:42] *** siba has joined #angularjs
[03:39:16] *** jxv has quit IRC
[03:39:33] *** bashhack has joined #angularjs
[03:41:08] *** LopezT has joined #angularjs
[03:41:13] <LopezT> Hey guys
[03:41:56] *** iceball has joined #angularjs
[03:42:03] *** bashhack has quit IRC
[03:42:03] *** Mumpsimus has joined #angularjs
[03:42:18] *** baweaver has quit IRC
[03:42:45] *** syzygy_ has quit IRC
[03:43:05] *** buzzedword has quit IRC
[03:43:05] *** Bubo has quit IRC
[03:43:15] *** iceball has quit IRC
[03:43:25] *** Dilip has quit IRC
[03:43:32] *** iceball has joined #angularjs
[03:44:08] *** ron_frown has joined #angularjs
[03:44:09] *** iceball has quit IRC
[03:44:27] *** iceball has joined #angularjs
[03:44:34] *** zigzagzig has quit IRC
[03:46:35] *** annlewis has quit IRC
[03:48:05] *** AciD` has quit IRC
[03:49:19] *** Foxandxss has quit IRC
[03:50:44] *** iceball has quit IRC
[03:50:58] *** iceball has joined #angularjs
[03:50:59] *** Aliks has joined #angularjs
[03:51:07] *** freshrecipe has quit IRC
[03:51:19] *** AciD` has joined #angularjs
[03:51:19] *** AciD` has joined #angularjs
[03:51:20] *** iceball has quit IRC
[03:51:37] *** iceball has joined #angularjs
[03:51:42] *** Aces_Charles has joined #angularjs
[03:53:30] *** soee_ has joined #angularjs
[03:55:18] *** buzzedword has joined #angularjs
[03:55:21] *** soee has quit IRC
[03:55:42] *** dimtruck is now known as zz_dimtruck
[03:55:51] *** _Penguin has quit IRC
[03:56:19] *** iceball has quit IRC
[03:56:55] *** _Penguin has joined #angularjs
[03:57:02] <Aces_Charles> I have a div on each of my ionic views/pages which contain audio control buttons (play/pause/forward/back). The divs have a PlayerController attached to them which has an Audio object and functions to play audio. How can I make it so each page uses the same instance of the controller?
[03:57:53] <LopezT> how do you refer to the Audio Object?
[03:58:06] <LopezT> and btw, what ide are you using?
[03:58:42] *** elton has joined #angularjs
[03:59:45] *** buzzedword has quit IRC
[03:59:45] *** kuadrosx has quit IRC
[04:00:16] *** aphprentice has quit IRC
[04:00:21] <Aces_Charles> Here is my PlayerController: http://pastebin.com/W9KSeXey
[04:00:24] *** iceball has joined #angularjs
[04:00:59] <Aces_Charles> I am still trying to learn the angular way of doing things so I could be doing this all wrong
[04:01:06] *** elton has quit IRC
[04:02:02] *** speeddragon has joined #angularjs
[04:02:25] <LopezT> i am also not familar to angular, but 4 eyes seem to see more then 2
[04:03:04] *** owenjones has joined #angularjs
[04:03:23] *** elton has joined #angularjs
[04:03:41] *** italoacasas has quit IRC
[04:04:15] *** CyBerNetX has quit IRC
[04:04:30] <Aces_Charles> Each view seems to make a new instance of the controller so I get multiple Audio objects playing.
[04:04:42] *** iceball has quit IRC
[04:04:46] <LopezT> i guess the problem is the new Audio()
[04:05:11] *** dodobrain has joined #angularjs
[04:05:27] <LopezT> you can debug it with step by step debugging
[04:05:29] *** joshontheweb has quit IRC
[04:05:42] <LopezT> when line #6 is getting called and if it is called several times
[04:06:06] <LopezT> but please tell me what ide you are using?
[04:06:19] <Aces_Charles> Yeah it is getting called every time the view changes. I am using Sublime 3
[04:06:43] <LopezT> you should refer a global instance of the Audio Object
[04:06:58] <LopezT> or create a Singleton for the Audio Object
[04:07:18] <LopezT> Singleton seems to be the best deal
[04:08:05] *** speeddragon has quit IRC
[04:08:21] *** syzygy_ has joined #angularjs
[04:09:01] <LopezT> looks like angular is offering services which are doing pretty much what you want, dealing a single instance of a class
[04:09:59] <Aces_Charles> Ok I will do some research on services. If I can't work out how to use them I will just use a singleton.
[04:10:27] *** bluezone has quit IRC
[04:11:42] <LopezT> http://blog.jdriven.com/2013/03/how-to-create-singleton-angularjs-services-in-4-different-ways/
[04:12:04] <LopezT> checkout the first example it is pretty easy
[04:12:31] *** frem has quit IRC
[04:13:18] <Aces_Charles> Seems that it will do exactly what I need. Thanks
[04:14:58] *** mnzaki has quit IRC
[04:15:26] *** Guest66028 has quit IRC
[04:17:26] *** joshontheweb has joined #angularjs
[04:17:26] *** Aliks has quit IRC
[04:17:36] *** Oog has quit IRC
[04:17:39] *** CyBerNetX has joined #angularjs
[04:18:14] *** s00pcan has quit IRC
[04:20:09] *** s00pcan has joined #angularjs
[04:20:23] *** rickhanlonii has joined #angularjs
[04:20:25] *** iraj has joined #angularjs
[04:20:50] *** elton has quit IRC
[04:21:45] *** elton has joined #angularjs
[04:22:26] *** ThuyNguyen has quit IRC
[04:23:28] *** owenjones has quit IRC
[04:24:46] *** rickhanlonii has quit IRC
[04:24:50] *** cary has joined #angularjs
[04:25:04] *** skjorrface- has joined #angularjs
[04:25:50] *** jareddlc has quit IRC
[04:26:49] <cary> ?
[04:27:02] *** cary has quit IRC
[04:27:15] <LopezT> ??
[04:28:23] *** nilsi has quit IRC
[04:28:30] *** skjorrface has quit IRC
[04:29:19] *** leolrrj-alt has quit IRC
[04:29:23] *** atomicb0mb has quit IRC
[04:29:33] *** senayar has joined #angularjs
[04:30:08] *** mary5030 has quit IRC
[04:30:09] *** senayar has quit IRC
[04:33:40] *** diegoaguilar has quit IRC
[04:35:07] *** diegoaguilar has joined #angularjs
[04:38:32] *** elton has quit IRC
[04:43:20] *** annlewis has joined #angularjs
[04:43:35] *** owenjones has joined #angularjs
[04:44:51] *** buzzedword has joined #angularjs
[04:45:24] *** step1step2 has quit IRC
[04:47:13] *** step1step2 has joined #angularjs
[04:47:39] *** annlewis has quit IRC
[04:48:30] *** baweaver has joined #angularjs
[04:49:19] *** buzzedword has quit IRC
[04:51:47] *** mandric has joined #angularjs
[04:53:12] *** zz_dimtruck is now known as dimtruck
[04:53:33] *** buzzedword has joined #angularjs
[04:54:38] *** rho has quit IRC
[04:55:50] *** shangxiao has joined #angularjs
[04:56:47] *** quakephil has quit IRC
[04:57:01] *** rickmak_ has quit IRC
[04:57:13] *** shangxia1 has quit IRC
[04:57:28] *** Aliks has joined #angularjs
[04:57:39] *** buzzedword has quit IRC
[04:57:47] *** bisch has joined #angularjs
[04:59:44] *** mekhami has quit IRC
[05:00:00] *** syzygy_ has quit IRC
[05:00:26] *** shangxiao has quit IRC
[05:01:31] *** dimtruck is now known as zz_dimtruck
[05:02:01] *** joshontheweb has quit IRC
[05:02:07] *** siba has quit IRC
[05:03:04] *** Aliks has quit IRC
[05:04:00] *** rickmak_ has joined #angularjs
[05:04:07] *** shangxiao has joined #angularjs
[05:04:12] *** FIFOd has quit IRC
[05:05:00] *** buzzedword has joined #angularjs
[05:05:56] *** fscala has quit IRC
[05:08:32] *** fscala has joined #angularjs
[05:09:20] *** buzzedword has quit IRC
[05:09:21] *** spacenomad has quit IRC
[05:10:04] *** jhirley has quit IRC
[05:14:05] *** Aliks has joined #angularjs
[05:15:28] *** kp666 has joined #angularjs
[05:21:15] *** rickhanlonii has joined #angularjs
[05:21:24] *** feng has joined #angularjs
[05:25:07] *** buzzedword has joined #angularjs
[05:25:59] *** rickhanlonii has quit IRC
[05:27:02] *** feng has quit IRC
[05:29:45] *** buzzedword has quit IRC
[05:30:32] *** elton has joined #angularjs
[05:32:26] *** roonie has quit IRC
[05:33:33] *** Aliks has quit IRC
[05:34:51] *** elton has quit IRC
[05:35:07] *** elton has joined #angularjs
[05:37:32] *** diegoaguilar has quit IRC
[05:39:00] *** tkdaj1 has quit IRC
[05:40:24] *** tkdaj1 has joined #angularjs
[05:40:45] *** mary5030 has joined #angularjs
[05:44:00] *** annlewis has joined #angularjs
[05:44:15] *** nilsi has joined #angularjs
[05:44:19] *** juro has quit IRC
[05:44:53] *** mary5030 has quit IRC
[05:48:10] *** burzum has joined #angularjs
[05:48:46] *** annlewis has quit IRC
[05:50:10] *** burzum2 has quit IRC
[05:52:00] *** siba has joined #angularjs
[05:52:02] *** buzzedword has joined #angularjs
[05:52:31] *** nya_ has quit IRC
[05:53:40] <cj> hey folks
[05:53:43] *** d3m0n has joined #angularjs
[05:53:44] *** d3m0n has joined #angularjs
[05:53:44] <cj> could I get some help with angular-ui ?
[05:53:54] *** soee has joined #angularjs
[05:54:00] <cj> can someone identify the components with which this mock-up was layed out?
[05:54:00] <cj> https://wp.colliertech.org/~cjac/tmp/Pricing_Calculator.png
[05:54:32] *** zz_dimtruck is now known as dimtruck
[05:54:33] *** nya_ has joined #angularjs
[05:54:35] <cj> I recognize the icons from the glypicons set
[05:55:17] *** soee_ has quit IRC
[05:55:38] *** nya_ has quit IRC
[05:55:49] *** nya_ has joined #angularjs
[05:56:50] *** buzzedword has quit IRC
[05:57:08] *** shangxiao has quit IRC
[05:57:37] *** sssilver has joined #angularjs
[05:58:07] *** sbellina has quit IRC
[05:58:34] *** Mumpsimus has quit IRC
[05:58:35] *** ringzer0 has quit IRC
[05:58:36] *** shangxiao has joined #angularjs
[05:59:13] *** erve has joined #angularjs
[06:00:00] *** erve_ has joined #angularjs
[06:00:34] *** doppio|Laptop has joined #angularjs
[06:01:08] *** bionikspoon has quit IRC
[06:03:18] *** dimtruck is now known as zz_dimtruck
[06:03:33] *** ron_frown has quit IRC
[06:04:36] *** speeddragon has joined #angularjs
[06:06:30] *** BlinkyBill has quit IRC
[06:06:33] *** empyreanx has quit IRC
[06:07:23] *** kp666 has quit IRC
[06:07:33] *** bionikspoon has joined #angularjs
[06:09:19] *** speeddragon has quit IRC
[06:10:19] *** sbellina has joined #angularjs
[06:14:04] *** saysora has joined #angularjs
[06:14:26] *** sssilver has quit IRC
[06:14:46] *** sssilver has joined #angularjs
[06:16:20] *** spacenomad has joined #angularjs
[06:17:26] *** sssilver has quit IRC
[06:17:36] *** spacenomad has quit IRC
[06:18:42] <LopezT> cj: sorry i am not so deep into angular yet
[06:18:55] *** juddey has quit IRC
[06:21:30] *** smccarthy has quit IRC
[06:23:07] *** jameswatling has joined #angularjs
[06:24:56] *** citizen-stig has joined #angularjs
[06:26:03] *** jae has joined #angularjs
[06:26:07] *** sssilver has joined #angularjs
[06:27:07] *** aks has joined #angularjs
[06:27:59] *** iateadonut has quit IRC
[06:29:57] *** citizen-stig has quit IRC
[06:32:21] *** jae has left #angularjs
[06:32:33] *** conan_the_destro has joined #angularjs
[06:33:21] *** Ugolin has joined #angularjs
[06:33:32] *** pratik has joined #angularjs
[06:33:46] *** jameswatling has quit IRC
[06:34:17] <pratik> hi i want to use tabset inside tabset in a singal form with next button
[06:35:59] *** skjorrface- has quit IRC
[06:37:14] *** pratik has quit IRC
[06:39:10] *** shangxiao has quit IRC
[06:39:16] *** sssilver has quit IRC
[06:40:11] *** Chinchill has joined #angularjs
[06:42:45] *** qdk has quit IRC
[06:42:48] *** buzzedword has joined #angularjs
[06:44:47] *** annlewis has joined #angularjs
[06:45:33] *** Kindari has quit IRC
[06:46:20] *** shangxiao has joined #angularjs
[06:47:15] *** buzzedword has quit IRC
[06:48:46] *** macabre has quit IRC
[06:49:26] *** annlewis has quit IRC
[06:49:27] *** sssilver has joined #angularjs
[06:50:42] *** sixr420- has quit IRC
[06:50:59] *** ahhhndi has joined #angularjs
[06:52:12] *** asteele has joined #angularjs
[06:52:46] *** buzzedword has joined #angularjs
[06:53:35] <tritian> Hello, I'm having a major issue with ng-repeating a directive while inside a <tbody>, can anyone tell me how I could get something like this to work? (the directive must contain two TR's for every ng-repeat iteration)
[06:53:39] <tritian> http://pastebin.com/S6hJywUy
[06:54:35] <tritian> as you see the directive element is going to be inside the tbody before the tr's
[06:54:37] *** sssilver has quit IRC
[06:54:38] <tritian> causing issues
[06:55:01] *** jxv has joined #angularjs
[06:56:11] *** ahhhndi has quit IRC
[06:57:45] *** sssilver has joined #angularjs
[06:57:47] *** Fenikkusu has joined #angularjs
[06:59:42] *** eago has quit IRC
[07:00:14] *** yes`r has joined #angularjs
[07:00:29] *** tuskkk___ has joined #angularjs
[07:01:50] <tritian> actually i see i screwed up in that pastbin - the tbody should really be like this:
[07:02:01] <tritian> <tbody class="jobs-table-content"><data-job-status-row data-ng-repeat="job in jobs" job="job"></data-job-status-row></tbody>
[07:02:28] *** p0k0 has quit IRC
[07:02:42] <tritian> but still that's not gonna work because the <data-job-status-row> element gets printed in the tbody and screws everything up
[07:02:58] <tritian> is there a way to have just the contentsof a custom element printed without the tag?
[07:04:14] *** Mumpsimus has joined #angularjs
[07:04:45] *** buzzedword has quit IRC
[07:05:46] <tritian> updated pastebin: http://pastebin.com/Z5Sfv4Gr
[07:07:21] *** regedit has joined #angularjs
[07:07:54] *** saysora has quit IRC
[07:08:27] <tuskkk___> just as they have added these editors, how do we remove them?
[07:09:10] <tuskkk___> http://stackoverflow.com/a/18743024
[07:09:20] *** sssilver has quit IRC
[07:11:19] *** TyrfingMjolnir has quit IRC
[07:11:47] *** sssilver has joined #angularjs
[07:12:30] *** elton has quit IRC
[07:13:07] *** Chinchill has quit IRC
[07:13:11] *** regedit has quit IRC
[07:13:24] *** elton has joined #angularjs
[07:15:09] *** asteele has quit IRC
[07:15:25] *** chrisbirk has joined #angularjs
[07:16:54] *** regedit has joined #angularjs
[07:18:15] *** asteele has joined #angularjs
[07:19:26] *** owenjones has quit IRC
[07:20:37] *** geoid has quit IRC
[07:21:21] *** kaka has joined #angularjs
[07:22:58] *** rickhanlonii has joined #angularjs
[07:23:06] *** regedit has quit IRC
[07:23:16] *** elton has quit IRC
[07:24:07] *** tristanp_ has quit IRC
[07:24:27] *** elton has joined #angularjs
[07:25:11] *** jdo_dk has joined #angularjs
[07:25:33] *** tristanp has joined #angularjs
[07:26:55] *** sekrit has quit IRC
[07:28:10] *** rickhanlonii has quit IRC
[07:28:22] *** regedit has joined #angularjs
[07:28:23] *** sekrit has joined #angularjs
[07:28:58] *** rclanan_ has joined #angularjs
[07:29:35] *** jdo_dk has quit IRC
[07:30:33] *** buzzedword has joined #angularjs
[07:30:53] *** annlewis has joined #angularjs
[07:30:58] *** rclanan has quit IRC
[07:30:59] *** chrisbirk has quit IRC
[07:31:14] *** Fenikkusu has quit IRC
[07:33:30] *** sporkman_ has quit IRC
[07:35:03] <tritian> As comment (<!--directive:date-picker-->).
[07:35:09] *** buzzedword has quit IRC
[07:35:22] <tritian> What do i need to set restrict: to in order to use directives as comments?
[07:36:47] <tritian> figuredf it out, restrict: 'M'
[07:37:31] *** termleech has quit IRC
[07:39:11] *** regedit has quit IRC
[07:39:15] *** termleech has joined #angularjs
[07:40:04] *** Alfie has joined #angularjs
[07:40:37] *** Aliks has joined #angularjs
[07:40:44] *** juro has joined #angularjs
[07:41:01] *** annlewis has quit IRC
[07:41:02] *** Leon has joined #angularjs
[07:44:28] *** jdo_dk has joined #angularjs
[07:44:49] *** regedit has joined #angularjs
[07:47:18] *** erve_ has quit IRC
[07:47:38] *** BahamutWC|Work has joined #angularjs
[07:48:34] *** zlalanne has quit IRC
[07:49:59] *** jetpackjoe has joined #angularjs
[07:51:50] *** BahamutWC|Work has quit IRC
[07:52:38] *** Aliks has quit IRC
[07:54:26] *** sssilver has quit IRC
[07:54:29] *** Aliks has joined #angularjs
[07:54:47] *** shangxia1 has joined #angularjs
[07:55:02] *** eago has joined #angularjs
[07:56:29] *** TyrfingMjolnir has joined #angularjs
[07:56:39] *** shangxiao has quit IRC
[07:57:36] *** punknroll has joined #angularjs
[07:57:52] *** Junior has joined #angularjs
[07:58:12] *** punknroll has quit IRC
[07:58:46] *** regedit has quit IRC
[07:58:46] *** punknroll has joined #angularjs
[07:59:36] *** punknroll has joined #angularjs
[08:00:15] <Junior> yello! :)
[08:01:19] *** shangxia1 has quit IRC
[08:02:16] *** sssilver has joined #angularjs
[08:02:36] <jdo_dk> Blue!
[08:05:16] *** speeddragon has joined #angularjs
[08:05:24] *** shangxia1 has joined #angularjs
[08:05:28] *** juddey has joined #angularjs
[08:10:03] *** speeddragon has quit IRC
[08:11:08] *** Aliks has quit IRC
[08:11:38] *** Debnet has joined #angularjs
[08:12:30] *** elton has quit IRC
[08:13:43] *** citizen-stig has joined #angularjs
[08:13:52] *** buzzedword has joined #angularjs
[08:14:47] *** TyrfingMjolnir has quit IRC
[08:15:43] *** mandric has quit IRC
[08:16:22] *** Garfield-fr has joined #angularjs
[08:17:07] *** rclsilver has quit IRC
[08:17:50] *** citizen-stig has quit IRC
[08:18:30] *** buzzedword has quit IRC
[08:19:11] *** punknroll has quit IRC
[08:19:44] *** BahamutW_ has joined #angularjs
[08:20:14] *** owenjones has joined #angularjs
[08:20:29] *** lite_ has joined #angularjs
[08:21:50] *** Mumpsimus has quit IRC
[08:24:31] *** rickhanlonii has joined #angularjs
[08:25:20] *** sssilver has quit IRC
[08:25:39] *** george_v has joined #angularjs
[08:25:39] *** owenjones has quit IRC
[08:25:58] *** sssilver has joined #angularjs
[08:27:36] *** tomaz_b has joined #angularjs
[08:28:28] *** geoid has joined #angularjs
[08:29:19] *** rickhanlonii has quit IRC
[08:29:24] *** Ugolin has quit IRC
[08:30:11] *** Ugolin has joined #angularjs
[08:30:14] *** Bent0_ has quit IRC
[08:30:25] *** eago has quit IRC
[08:31:27] *** jcooke has quit IRC
[08:36:47] *** juro has quit IRC
[08:36:58] *** guilbep has joined #angularjs
[08:37:27] *** p0k0 has joined #angularjs
[08:38:21] *** annlewis has joined #angularjs
[08:39:00] *** marthinal has joined #angularjs
[08:40:24] *** sssilver_ has joined #angularjs
[08:40:45] *** sssilver has quit IRC
[08:40:59] *** b0x has quit IRC
[08:41:27] *** sbellina has quit IRC
[08:43:19] *** annlewis has quit IRC
[08:43:26] *** b0x has joined #angularjs
[08:43:26] *** b0x has joined #angularjs
[08:44:19] *** sbellina has joined #angularjs
[08:44:26] *** shangxia1 has quit IRC
[08:45:00] *** svycka has joined #angularjs
[08:48:42] *** Guest30 has joined #angularjs
[08:49:30] *** macabre has joined #angularjs
[08:49:57] *** thirdknife has joined #angularjs
[08:50:01] *** xtreamwayz has joined #angularjs
[08:50:01] *** Guest30 is now known as Duikb00t
[08:51:13] *** Schalla has joined #angularjs
[08:51:13] *** Schalla has joined #angularjs
[08:51:29] *** ahaeger has joined #angularjs
[08:51:50] *** Ugolin has quit IRC
[08:52:03] *** Ugolin has joined #angularjs
[08:53:06] *** juddey has quit IRC
[08:53:28] *** citizen-stig has joined #angularjs
[08:54:28] *** geoid has quit IRC
[08:54:58] *** sssilver_ has quit IRC
[08:54:58] *** tarnus has quit IRC
[08:55:45] *** LopezT has quit IRC
[08:55:51] *** baweaver has quit IRC
[08:56:07] *** juro has joined #angularjs
[08:57:48] *** andersh has quit IRC
[08:57:56] *** punknroll has joined #angularjs
[08:57:57] *** thatslif_ has joined #angularjs
[08:57:59] *** punknroll has quit IRC
[08:58:22] *** punknroll has joined #angularjs
[08:58:35] *** HarryHallman has quit IRC
[08:58:51] *** andersh has joined #angularjs
[08:59:08] *** thatslifeson has quit IRC
[08:59:22] *** icebox has joined #angularjs
[09:00:45] *** plekplek has joined #angularjs
[09:01:03] <tuskkk___> why isnt a change to scope variable not working when fired through ng-click as a method?
[09:02:02] *** sssilver has joined #angularjs
[09:02:30] *** davlefou_ has quit IRC
[09:02:45] *** davlefou has joined #angularjs
[09:02:57] *** davonrails has joined #angularjs
[09:05:14] *** ahhhndi has joined #angularjs
[09:06:27] *** danielemm has joined #angularjs
[09:07:13] *** VaticanCameos has joined #angularjs
[09:07:14] *** rickmak_ has quit IRC
[09:07:38] *** rickmak has joined #angularjs
[09:08:05] *** shangxia1 has joined #angularjs
[09:08:07] *** e7d has quit IRC
[09:08:18] *** e7d has joined #angularjs
[09:08:44] *** ahhhhndi has joined #angularjs
[09:09:54] *** ahhhndi has quit IRC
[09:11:16] *** rickhanlonii has joined #angularjs
[09:11:16] *** BahamutW_ has quit IRC
[09:11:33] *** buzzedword has joined #angularjs
[09:12:48] *** sssilver has quit IRC
[09:13:01] *** elton has joined #angularjs
[09:16:00] *** buzzedword has quit IRC
[09:16:47] *** macabre has quit IRC
[09:18:24] *** erol has joined #angularjs
[09:19:23] *** elton has quit IRC
[09:19:35] *** goodenou_ has joined #angularjs
[09:19:50] *** cotko has joined #angularjs
[09:19:52] *** thatslif_ is now known as thatslifeson
[09:20:48] *** sssilver has joined #angularjs
[09:21:03] *** Aliks has joined #angularjs
[09:21:50] *** goodenough has quit IRC
[09:23:25] *** BahamutWC|Work has joined #angularjs
[09:23:29] *** tangorri has joined #angularjs
[09:23:46] *** jxv has quit IRC
[09:24:17] *** brollypop has joined #angularjs
[09:27:37] *** BahamutWC|Work has quit IRC
[09:27:55] *** rickhanlonii has quit IRC
[09:28:44] *** sssilver has quit IRC
[09:29:11] *** vrockai has joined #angularjs
[09:29:11] *** fixl has joined #angularjs
[09:29:32] *** sssilver has joined #angularjs
[09:31:13] *** Hounddog has joined #angularjs
[09:31:19] *** jetpackjoe has quit IRC
[09:33:43] *** blackjid has quit IRC
[09:34:59] *** cliluw has quit IRC
[09:35:50] *** cliluw has joined #angularjs
[09:36:02] *** blackjid has joined #angularjs
[09:36:23] *** Bent0 has joined #angularjs
[09:36:27] *** yky has joined #angularjs
[09:36:51] *** yky is now known as Guest98641
[09:37:27] *** shangxia1 has quit IRC
[09:38:17] *** HarryHallman has joined #angularjs
[09:38:21] *** LopezT has joined #angularjs
[09:38:47] *** richard has joined #angularjs
[09:38:52] <richard> 12
[09:38:58] *** annlewis has joined #angularjs
[09:39:10] *** richard is now known as Guest21150
[09:39:39] *** Schalla has quit IRC
[09:39:42] *** sssilver has quit IRC
[09:42:34] *** juro has quit IRC
[09:43:39] *** annlewis has quit IRC
[09:44:06] *** thirdknife has quit IRC
[09:44:23] *** Sky[x] has joined #angularjs
[09:44:24] *** thirdknife has joined #angularjs
[09:44:25] *** intellix has joined #angularjs
[09:44:35] *** sssilver has joined #angularjs
[09:44:46] *** dob has joined #angularjs
[09:46:59] *** juro has joined #angularjs
[09:49:08] *** andtorg has joined #angularjs
[09:51:03] *** speeddragon has joined #angularjs
[09:51:34] *** Hey has joined #angularjs
[09:51:37] <Hey> Hi man
[09:51:57] *** Hey is now known as Guest495
[09:52:19] *** dodobrain has quit IRC
[09:52:24] *** Guest495 has quit IRC
[09:52:41] *** surfdue has quit IRC
[09:53:52] *** GitGud has quit IRC
[09:54:21] *** GitGud has joined #angularjs
[09:55:47] *** speeddragon has quit IRC
[09:55:58] *** ahhhhndi has quit IRC
[09:56:10] *** surfdue has joined #angularjs
[09:56:10] *** dob has quit IRC
[09:56:25] *** yes`r has quit IRC
[09:57:11] *** thirdkni_ has joined #angularjs
[09:58:03] *** codeitloadit has joined #angularjs
[09:59:13] *** kk_drop has joined #angularjs
[10:00:46] *** thirdknife has quit IRC
[10:01:00] *** ahhhndi has joined #angularjs
[10:01:01] *** Aliks has quit IRC
[10:01:15] *** sssilver has quit IRC
[10:01:58] *** egamonal has joined #angularjs
[10:02:02] *** sssilver has joined #angularjs
[10:03:57] *** codeitloadit has quit IRC
[10:04:46] *** beckyconning_ has quit IRC
[10:05:10] *** rclanan_ has quit IRC
[10:05:22] *** yes`r has joined #angularjs
[10:06:56] *** PeterBooker has joined #angularjs
[10:07:25] *** egamonal1 has joined #angularjs
[10:07:46] *** egamonal has quit IRC
[10:07:55] *** sssilver has quit IRC
[10:07:55] *** buzzedword has joined #angularjs
[10:11:40] *** juro has quit IRC
[10:11:50] <tuskkk___> how to save the state on a div from ckeditor's input?
[10:11:57] *** Fenikkusu has joined #angularjs
[10:12:24] *** shangxia1 has joined #angularjs
[10:12:40] *** buzzedword has quit IRC
[10:12:47] *** zeioth has joined #angularjs
[10:13:01] *** Fenikkusu has quit IRC
[10:13:24] *** warpx has joined #angularjs
[10:13:52] *** wrainbolt has joined #angularjs
[10:14:23] *** moep has joined #angularjs
[10:16:41] *** marr has joined #angularjs
[10:20:23] *** ag0rex has joined #angularjs
[10:23:11] *** Hounddog has quit IRC
[10:23:24] *** buzzedword has joined #angularjs
[10:23:28] *** Hounddog has joined #angularjs
[10:23:39] *** dpicky_ has joined #angularjs
[10:27:11] *** tristanp has joined #angularjs
[10:28:05] *** buzzedword has quit IRC
[10:29:01] *** rickhanlonii has joined #angularjs
[10:29:26] *** sbellina has quit IRC
[10:29:46] *** siba has quit IRC
[10:29:53] *** Aliks has joined #angularjs
[10:30:29] *** VaticanCameos has quit IRC
[10:31:33] *** Aliks has joined #angularjs
[10:32:40] *** tristanp has quit IRC
[10:32:44] *** Imaginativeone has joined #angularjs
[10:33:24] *** senayar has joined #angularjs
[10:33:24] *** senayar has joined #angularjs
[10:33:30] *** rickhanlonii has quit IRC
[10:34:53] *** thirdkni_ has quit IRC
[10:35:58] *** buzzedword has joined #angularjs
[10:36:14] *** Aliks has quit IRC
[10:36:17] *** thirdknife has joined #angularjs
[10:37:25] *** tayfun has joined #angularjs
[10:39:44] *** annlewis has joined #angularjs
[10:39:46] *** jamiemcl001 has joined #angularjs
[10:40:35] *** buzzedword has quit IRC
[10:40:44] *** geoid has joined #angularjs
[10:42:15] *** uNki has joined #angularjs
[10:42:29] *** VaticanCameos has joined #angularjs
[10:42:41] *** aks has quit IRC
[10:43:35] *** sbasso has joined #angularjs
[10:43:38] *** Sky[x] has quit IRC
[10:43:58] <LopezT> hey guys, i am just to about to get familar with angulars routing
[10:44:19] *** annlewis has quit IRC
[10:44:24] <LopezT> i have seen tutorials and apps where the main routing is defined in app.js
[10:44:39] <LopezT> but the routing for modules is defined in seperate js files
[10:45:05] <LopezT> when i define my routing in app.js it works, the routing will try to load the set template and controller for a specific route
[10:45:21] <LopezT> when i define the route in one of the submodules, it simply does not work
[10:45:24] <LopezT> any ideas?
[10:45:27] *** juro has joined #angularjs
[10:46:59] *** brodul has quit IRC
[10:47:26] <icebox> LopezT: what do you mean in submodules? do you mean the routes are defined in another file in a config block?
[10:47:40] *** aks has joined #angularjs
[10:47:57] <icebox> LopezT: template urls are relatives to the file where they are defined
[10:48:06] <icebox> *relative
[10:48:07] *** \du has joined #angularjs
[10:48:07] *** \du has joined #angularjs
[10:48:36] *** baweaver has joined #angularjs
[10:48:49] *** brodul has joined #angularjs
[10:49:13] <LopezT> http://pastebin.com/AVjYwhcE
[10:49:38] <LopezT> hmm, let me check if the pathing is the problem icebox
[10:49:58] <icebox> LopezT: that is wrong
[10:50:32] *** thirdknife has quit IRC
[10:50:39] <icebox> angular.module('myApp', [...deps...])... it creates a module... angular.module('myApp')... it gets a module
[10:50:40] *** d0gmata has joined #angularjs
[10:51:20] <LopezT> hmm ok, let me see what you are talking about
[10:51:33] <icebox> LopezT: usually you should have something like angular.module("myApp").config(config); ...
[10:52:41] *** bender314 has joined #angularjs
[10:53:22] *** dob has joined #angularjs
[10:53:30] *** cornerman has quit IRC
[10:53:37] <LopezT> thats exactly what is happening there
[10:54:17] <LopezT> i dont get what you want me to change
[10:54:40] *** buzzedword has joined #angularjs
[10:54:51] <LopezT> so i should get rid of the ['ngRoute'] in the list.js file when calling angular.module?
[10:54:55] *** baweaver has quit IRC
[10:55:22] *** cornerman has joined #angularjs
[10:55:36] <icebox> LopezT: ok... another check... template urls are relatives to the file where they are defined
[10:55:37] *** george_v has quit IRC
[10:55:50] <LopezT> yes
[10:55:54] *** tarnus has joined #angularjs
[10:56:04] <LopezT> shouldn't i get an error message when the pathing leads to nothing?
[10:56:36] <icebox> LopezT: reactions/list.js ... templateUrl: 'list.html'... if list.html in inside reactions folder
[10:56:44] <icebox> *is
[10:56:48] <LopezT> yes it is
[10:56:54] *** jlebrech has joined #angularjs
[10:57:03] <icebox> LopezT: open devtools and check the urls called
[10:57:24] <icebox> LopezT: so reactions/list.html is wrong
[10:57:54] <icebox> LopezT: it is looking for reactions/reactions/list.html
[10:57:54] *** juro has quit IRC
[10:57:57] *** storresi has joined #angularjs
[10:58:22] <LopezT> i found the problem
[10:58:39] <LopezT> its not related to the pathing
[10:58:41] <LopezT> you were right
[10:58:57] <LopezT> i had to different files describing logic for the same module
[10:59:21] <LopezT> so i had a call in each file like angular.module('modulename', [dependencies])
[10:59:44] <LopezT> this worked only once, cause the module name i was about to register is already defined and it worked only for the first imported js file
[10:59:50] <LopezT> thx a lot icebox
[10:59:57] <LopezT> you are cool :D
[11:00:30] *** tarnus has quit IRC
[11:00:51] <icebox> LopezT: you are welcome
[11:01:01] *** othll0 has joined #angularjs
[11:01:24] *** Oog has joined #angularjs
[11:01:31] *** renstrm_ is now known as renstrm
[11:01:49] *** buzzedword has quit IRC
[11:02:07] *** siba has joined #angularjs
[11:03:15] *** e7d has quit IRC
[11:04:32] *** SET003 has joined #angularjs
[11:07:47] *** tomaz_b has quit IRC
[11:08:03] *** rikkipitt has joined #angularjs
[11:08:09] *** SET002 has quit IRC
[11:08:35] *** Hounddog has quit IRC
[11:08:52] *** skunkz has joined #angularjs
[11:09:18] *** bengillies has joined #angularjs
[11:09:48] *** owenjones has joined #angularjs
[11:11:00] *** Hounddog has joined #angularjs
[11:11:06] *** speeddragon has joined #angularjs
[11:12:09] *** ahhhndi has quit IRC
[11:12:30] *** uNki has quit IRC
[11:12:43] *** Fenikkusu has joined #angularjs
[11:12:53] *** uNki has joined #angularjs
[11:12:57] *** wrainbolt has quit IRC
[11:13:14] *** SomeKittens has quit IRC
[11:13:22] *** Fenikkusu has quit IRC
[11:13:24] *** Hounddog has quit IRC
[11:13:44] *** Hounddog has joined #angularjs
[11:14:01] *** doppio|Laptop has quit IRC
[11:14:20] *** owenjones has quit IRC
[11:14:36] *** ahhhndi has joined #angularjs
[11:15:21] *** buzzedword has joined #angularjs
[11:16:16] *** Hounddog has quit IRC
[11:16:23] *** elton has joined #angularjs
[11:16:43] *** Hounddog has joined #angularjs
[11:16:48] *** aghiuru has joined #angularjs
[11:17:11] *** thirdknife has joined #angularjs
[11:17:14] *** george_v has joined #angularjs
[11:18:21] *** thirdkni_ has joined #angularjs
[11:18:22] <egamonal1> I was planning to have 2 nested ng-views in order to include the top menu in all views except login. is this a bad practice?
[11:18:43] <egamonal1> should I rather use ng-include?
[11:18:48] *** thirdknife has quit IRC
[11:19:25] *** Hounddog has quit IRC
[11:19:44] *** Hounddog has joined #angularjs
[11:19:44] *** buzzedword has quit IRC
[11:21:03] *** elton has quit IRC
[11:21:27] <Imaginativeone> egamonal1: still there?
[11:22:35] <egamonal1> hi Imaginativeone sure
[11:22:37] *** iceball has joined #angularjs
[11:23:45] *** fscala has quit IRC
[11:24:22] *** sbellina has joined #angularjs
[11:24:33] *** d3m0n has quit IRC
[11:24:34] *** poacher2k has joined #angularjs
[11:24:47] *** Hounddog has quit IRC
[11:25:35] *** egamonal1 is now known as egamonal
[11:25:44] *** Guest98641 has quit IRC
[11:26:05] *** fscala has joined #angularjs
[11:26:15] <Imaginativeone> did you get your question answered?
[11:26:44] *** qdk has joined #angularjs
[11:26:45] <egamonal> nope I didn't
[11:27:06] *** Kindari has joined #angularjs
[11:27:36] *** Kindari has joined #angularjs
[11:28:52] *** buzzedword has joined #angularjs
[11:29:01] *** punknroll has quit IRC
[11:29:34] <icebox> egamonal: always ui router (vs. ngRoute or ngInclude) :)
[11:30:00] <egamonal> yeah I'm using it
[11:30:23] <egamonal> but in the templates, if I have nested states in ui-router, I should still use ng-view, correct?
[11:31:05] <egamonal> or ui-view maybe
[11:31:10] <icebox> egamonal: I would not mix two routers
[11:31:28] <icebox> egamonal: yeah.. that (nested ui-view) is better
[11:31:58] <egamonal> thanks icebox ;)
[11:32:33] *** Aliks has joined #angularjs
[11:32:43] <icebox> yw
[11:33:13] *** clivejo has joined #angularjs
[11:33:30] *** buzzedword has quit IRC
[11:34:47] *** Hounddog has joined #angularjs
[11:35:59] *** sbellina has quit IRC
[11:36:29] *** rickhanlonii has joined #angularjs
[11:37:22] *** Aliks has quit IRC
[11:37:23] *** rikkipitt has quit IRC
[11:39:17] *** punknroll has joined #angularjs
[11:39:21] *** Hounddog has quit IRC
[11:40:24] *** Hounddog has joined #angularjs
[11:40:31] *** annlewis has joined #angularjs
[11:40:36] *** wrainbolt has joined #angularjs
[11:41:33] *** rickhanlonii has quit IRC
[11:43:09] <tangorri> hmm I don't get it, I have parent directive with controllerAs: 'container' and child directive with require: '^container' but angular can't find container controller ...
[11:43:48] *** siba has quit IRC
[11:44:20] *** petermetz has joined #angularjs
[11:44:40] *** Hounddog has quit IRC
[11:44:50] *** rikkipitt has joined #angularjs
[11:44:58] *** Hounddog has joined #angularjs
[11:45:25] *** annlewis has quit IRC
[11:45:53] *** b0x has quit IRC
[11:46:28] *** Danielyan has joined #angularjs
[11:46:28] *** Hounddog has quit IRC
[11:46:48] *** Hounddog has joined #angularjs
[11:48:01] *** iceball has quit IRC
[11:49:17] *** Hounddog has quit IRC
[11:49:31] *** rikkipitt has quit IRC
[11:50:03] *** Hounddog has joined #angularjs
[11:50:59] *** tobias47n9e__ has joined #angularjs
[11:52:28] *** p0k0 has quit IRC
[11:52:32] <tangorri> ok found it
[11:53:04] *** kam270 has joined #angularjs
[11:53:47] *** heythere has joined #angularjs
[11:54:05] *** tobias47n9e_ has quit IRC
[11:55:03] <heythere> hey there how can I inject an attribute to an element when doing ng-repeat. e.g I want on my ng-repeat to inject an attribute to one of the elements included in that ng-repeat e.g data-haha="haha"
[11:55:06] *** Oog has quit IRC
[11:57:52] *** shiva has joined #angularjs
[11:58:16] *** shiva is now known as Guest24649
[11:58:19] *** denisra_ has joined #angularjs
[11:59:11] *** Guest24649 has quit IRC
[11:59:35] *** mischat has joined #angularjs
[11:59:48] *** erms has joined #angularjs
[12:00:38] *** Hounddog has quit IRC
[12:00:57] *** annlewis has joined #angularjs
[12:01:38] *** kam270 has quit IRC
[12:01:53] *** m13 has joined #angularjs
[12:02:45] *** othll0 has joined #angularjs
[12:03:45] *** denisra has quit IRC
[12:03:46] *** malps13 has quit IRC
[12:05:05] *** zamerick has joined #angularjs
[12:05:14] *** Sky[x] has joined #angularjs
[12:05:47] *** annlewis has quit IRC
[12:06:21] *** ybl has joined #angularjs
[12:07:34] *** buzzedword has joined #angularjs
[12:07:49] *** Hounddog has joined #angularjs
[12:11:50] <tangorri> if someone can help me cause I don't get. Can't make directives communicates :'( https://gist.github.com/tangorri/61e4bc80c31827e6e499
[12:12:15] *** buzzedword has quit IRC
[12:12:35] *** zeezey has quit IRC
[12:13:26] *** Fenikkusu has joined #angularjs
[12:13:30] *** bengillies has quit IRC
[12:14:34] *** uNki has quit IRC
[12:14:43] *** Fenikkusu has quit IRC
[12:14:53] *** uNki has joined #angularjs
[12:15:08] *** bengillies has joined #angularjs
[12:16:04] *** CanyonMan has quit IRC
[12:17:14] *** elton has joined #angularjs
[12:17:15] *** k1ng4400 has joined #angularjs
[12:17:16] *** k1ng4400 has joined #angularjs
[12:17:23] *** CanyonMan has joined #angularjs
[12:18:03] *** lnrdo has joined #angularjs
[12:18:22] *** codegenie has quit IRC
[12:18:35] *** kam270 has joined #angularjs
[12:21:50] *** elton has quit IRC
[12:25:16] *** geoid has quit IRC
[12:26:05] *** iceball has joined #angularjs
[12:26:46] *** thatslifeson has quit IRC
[12:27:20] *** lnrdo has quit IRC
[12:28:30] *** rickmak has quit IRC
[12:28:44] *** buzzedword has joined #angularjs
[12:28:59] *** dob has quit IRC
[12:29:13] *** dob has joined #angularjs
[12:30:02] *** senayar has quit IRC
[12:30:48] *** ahhhndi has quit IRC
[12:30:55] *** rOOb has quit IRC
[12:32:12] *** fees has joined #angularjs
[12:33:22] *** k1ng4400 has quit IRC
[12:33:30] *** buzzedword has quit IRC
[12:33:43] *** heythere has quit IRC
[12:36:04] *** aks has quit IRC
[12:36:08] *** siba has joined #angularjs
[12:36:40] *** rOOb has joined #angularjs
[12:36:40] *** rOOb has joined #angularjs
[12:38:03] *** aks has joined #angularjs
[12:38:17] *** santamaria has joined #angularjs
[12:40:40] *** doginal has quit IRC
[12:42:44] *** rickhanlonii has joined #angularjs
[12:44:48] *** zeioth has quit IRC
[12:45:13] *** zeioth has joined #angularjs
[12:46:11] *** one_zero has quit IRC
[12:46:24] *** ahhhndi has joined #angularjs
[12:46:38] *** aks has quit IRC
[12:47:25] *** fnx has joined #angularjs
[12:47:26] *** ahhhndi has quit IRC
[12:48:03] *** c00ljs has quit IRC
[12:49:05] *** rickhanl_ has joined #angularjs
[12:49:11] <santamaria> When I follow the angular 2 tutorial from their website, I run 'npm run tsc' and it watches for changes and compiles...
[12:49:27] <santamaria> But if I have a line of code in a .ts file such as: `var a: number = 'hello'`
[12:49:34] *** nilsi has quit IRC
[12:49:43] <santamaria> I don't get a compilation error...
[12:49:47] <santamaria> How come?
[12:50:18] *** lite_ has quit IRC
[12:50:21] *** dada has joined #angularjs
[12:50:47] *** dada is now known as Guest50126
[12:50:52] <Guest50126> hey, my jhipster generated project can't include ui-bootstrap
[12:51:01] *** rickhan__ has joined #angularjs
[12:51:06] <Guest50126> I installed it with bower
[12:51:07] *** rickhanlonii has quit IRC
[12:51:17] *** philipd_ has joined #angularjs
[12:52:07] *** Guest50126 has quit IRC
[12:53:38] *** rickhanl_ has quit IRC
[12:53:56] *** elyssonmr has joined #angularjs
[12:55:25] *** ahhhndi has joined #angularjs
[12:56:18] *** mellernoia has joined #angularjs
[12:57:09] *** tarnus has joined #angularjs
[12:57:40] *** lite_ has joined #angularjs
[12:57:52] *** rikkipitt has joined #angularjs
[13:00:31] *** Bish has quit IRC
[13:00:49] *** nya_ has quit IRC
[13:01:04] *** egamonal has quit IRC
[13:01:41] *** tarnus has quit IRC
[13:01:55] *** annlewis has joined #angularjs
[13:02:27] *** warpx has quit IRC
[13:03:11] *** Bish has joined #angularjs
[13:05:34] *** zeioth_ has joined #angularjs
[13:06:14] *** george_v has quit IRC
[13:06:26] *** annlewis has quit IRC
[13:07:59] *** zeioth has quit IRC
[13:09:31] *** leolove has joined #angularjs
[13:09:55] *** george_v has joined #angularjs
[13:10:36] <leolove> Hi, I have a small project with angular-ui-router. Basically, my app is based on openerp and I cannot specify routes like "/partials/view1.html". I have to specify "http://www.myapp.com/dashboard/partials/view1.html" is it possible
[13:10:37] <leolove> ?
[13:11:56] *** geoid has joined #angularjs
[13:11:57] <d0gmata> can you not use a base href in the head ?
[13:12:44] <d0gmata> <base href="http://www.myapp.com/dashboards/"> and then use relatives from that when specifying routes
[13:12:44] <leolove> how?
[13:12:51] *** egamonal has joined #angularjs
[13:12:58] <leolove> sorry, it is my first app with angular :(
[13:13:05] <leolove> Can you give me where to put base?
[13:13:20] <d0gmata> in the <head> of your html page
[13:13:22] *** Misere has quit IRC
[13:13:26] <leolove> this one? https://docs.angularjs.org/guide/$location
[13:14:10] *** Fenikkusu has joined #angularjs
[13:14:31] <d0gmata> your on the right track, if you include $locationProvider.html5Mode({
[13:14:31] <d0gmata> enabled: true
[13:14:31] <d0gmata> }); in your config
[13:14:48] <d0gmata> and then a base href in teh head of your html you should get somehwere
[13:15:08] <leolove> okay great, thanks. I will give it a try on blank page. Odoo actually do not have html files. It has xml where we can put some html though :)
[13:15:09] *** danielemm has quit IRC
[13:15:38] *** Fenikkusu has quit IRC
[13:15:50] *** Ugolin has quit IRC
[13:18:00] *** elton has joined #angularjs
[13:18:06] *** intellix has quit IRC
[13:18:15] *** danielemm has joined #angularjs
[13:18:57] *** CanyonMan has quit IRC
[13:19:30] *** liamonade has joined #angularjs
[13:19:44] <Bish> hi, are there angular modules that add other templates than pure html?
[13:20:49] <egamonal> Bish what?
[13:21:27] <Bish> i don't know how to ask that question differently
[13:21:39] <Bish> angular templates are html, do they have to?
[13:21:43] *** jlebrech has quit IRC
[13:23:05] *** elton has quit IRC
[13:23:21] *** ahhhndi has quit IRC
[13:24:10] *** Aces_Charles has quit IRC
[13:24:12] <Bish> or are there other languages i can use to express html
[13:24:22] *** buzzedword has joined #angularjs
[13:25:15] <d0gmata> you can create templates as strings in js ?
[13:25:33] <Bish> well sure you can
[13:25:47] <Bish> but are there modules out there doing something like that
[13:26:14] <egamonal> Bish: maybe you mean an alternative templating system, like Jade or Haml?
[13:26:25] <Bish> yes, i thought i asked for that
[13:26:39] <Bish> but i want it on client-side
[13:26:45] *** spaceonl_ has joined #angularjs
[13:26:49] *** jlebrech has joined #angularjs
[13:27:01] *** LopezT has quit IRC
[13:28:55] *** buzzedword has quit IRC
[13:29:22] *** spaceonline has quit IRC
[13:29:55] *** illume has joined #angularjs
[13:30:31] <d0gmata> makes sense now, sorry i'm not aware of anything that would do that. mainly due to them having their own data bing syntax
[13:31:28] <Imaginativeone> Bish: still there?
[13:31:40] *** santamaria has quit IRC
[13:31:52] *** nerder has joined #angularjs
[13:31:52] <Bish> i was a second ago :D why wouldn't i be
[13:32:03] <Bish> are you still there?
[13:32:08] <nerder> hello guys, how can i do something like this? https://gist.github.com/nerder/1f4d0c86bc9742ef650c
[13:32:35] <nerder> i want to assign to a model1 the value (filtered) of model2
[13:33:03] *** joshontheweb has joined #angularjs
[13:33:20] <Bish> nerder you will have do to that with directives or in the controller
[13:34:11] *** buzzedword has joined #angularjs
[13:34:20] *** davlefou has quit IRC
[13:35:27] <nerder> ok
[13:35:29] *** bengillies has quit IRC
[13:35:31] <nerder> Bish: thank you
[13:35:43] *** bengillies has joined #angularjs
[13:35:57] <Bish> nerder, afaik the model attribute is just a single name, it cannot do anything but that
[13:36:52] *** jlebrech has quit IRC
[13:37:21] *** davlefou has joined #angularjs
[13:37:39] *** logix812 has joined #angularjs
[13:38:46] *** speeddragon has quit IRC
[13:39:11] *** wrainbolt has quit IRC
[13:39:16] *** egamonal has quit IRC
[13:39:46] *** startupality has joined #angularjs
[13:39:58] *** tangorri has quit IRC
[13:40:35] *** buzzedword has quit IRC
[13:40:49] *** intellix has joined #angularjs
[13:41:16] <nerder> Bish: yes i was already thinking about that, you just confirmed to me ;)
[13:41:59] <Bish> as soon as you created a directive with model teach me :D i never did that before
[13:42:03] <Bish> always to lazy to learn that
[13:42:12] <nerder> Bish: cause i'm not in the "make a directive mood" yet cause i'm pretty newbie with Angularjs than if i can avoid make my own directive i will do it :)
[13:42:59] <Bish> ahh okay, but they're cool you really should
[13:43:06] <Bish> but surely after you understand basics
[13:45:31] *** c00ljs has joined #angularjs
[13:46:29] *** AWAW has joined #angularjs
[13:47:00] *** uNki has quit IRC
[13:47:19] *** uNki has joined #angularjs
[13:47:26] *** reuf has joined #angularjs
[13:47:41] *** ahhhndi has joined #angularjs
[13:48:30] *** startupality has quit IRC
[13:48:57] *** SrPx has joined #angularjs
[13:49:00] <d0gmata> directives have a scope like a controller that you can assign a model to. althought what would be better is to define the model in a factory or service and then inject it into your directive and controller
[13:49:47] *** DoubleAW has quit IRC
[13:50:31] *** adiman has joined #angularjs
[13:52:28] *** henry_ has joined #angularjs
[13:53:30] *** davlefou has quit IRC
[13:54:52] *** dabdab has joined #angularjs
[13:54:58] *** startupality has joined #angularjs
[13:55:54] *** quakephil has joined #angularjs
[13:56:24] *** jlebrech has joined #angularjs
[13:57:04] *** aks has joined #angularjs
[13:57:58] *** nilsi has joined #angularjs
[13:58:55] *** tangorri has joined #angularjs
[13:59:20] *** davlefou has joined #angularjs
[14:00:14] <nerder> Bish: now i have another related question
[14:00:28] *** tarnus has joined #angularjs
[14:00:40] <nerder> Bish: is possibile to initialize the model with a default value?
[14:00:41] *** d0gmata has quit IRC
[14:00:58] *** nya_ has joined #angularjs
[14:01:00] <nerder> and sum instead than replace it's value?
[14:01:32] *** startupality has quit IRC
[14:01:48] <OnkelTem> Hi all
[14:01:59] <nerder> for instance $myModel.value = $rootScope.configParam; $myModel.value += $myModel.anotherValue; ?
[14:02:03] <OnkelTem> Is there a way to render a directive without placing it into html?
[14:02:27] *** annlewis has joined #angularjs
[14:03:14] <OnkelTem> Specifically, I need ```ncy-angular-breadcrumb``` directive to render breadcrumbs using my custom plain template (which just concatenates titles via '-') but I don't need it in HTML
[14:03:21] <OnkelTem> I want to use it in head.title
[14:03:44] <OnkelTem> wait, I do can use in head.title!
[14:04:00] <OnkelTem> rubber ducking session is over, thanks all participans
[14:05:36] *** aks has joined #angularjs
[14:06:46] *** jlebrech has quit IRC
[14:07:10] *** annlewis has quit IRC
[14:08:16] *** buzzedword has joined #angularjs
[14:08:18] *** syzygy_ has joined #angularjs
[14:08:32] *** rocky1138_ has joined #angularjs
[14:08:34] *** rocky1138 has quit IRC
[14:08:54] *** jlebrech has joined #angularjs
[14:09:18] *** aks has quit IRC
[14:09:21] *** aks_ has joined #angularjs
[14:09:22] *** speeddragon has joined #angularjs
[14:11:15] *** juro has joined #angularjs
[14:12:54] *** ybl has left #angularjs
[14:13:19] *** nguloar has joined #angularjs
[14:15:10] *** Junior has quit IRC
[14:15:15] *** subnomo has joined #angularjs
[14:15:19] *** Junior has joined #angularjs
[14:16:36] *** ringzer0 has joined #angularjs
[14:16:50] *** buzzedword has quit IRC
[14:17:15] *** dan2k3k4 has joined #angularjs
[14:17:19] *** ag0rex_ has joined #angularjs
[14:19:07] *** zero_coder has quit IRC
[14:19:21] *** zz_dimtruck is now known as dimtruck
[14:19:47] *** ag0rex has quit IRC
[14:20:06] *** dszmaj has joined #angularjs
[14:20:27] *** elton has joined #angularjs
[14:20:51] *** zero_coder has joined #angularjs
[14:21:50] <dan2k3k4> angularjs 1.3 -> I have an onScoll event that calls a loadMoreResults func (that uses debounce() and inside a $http call) - wondering how I can set the http call to use a defered promise ? so that it doesn’t try to wait then load each function - it needs to ‘cancel previous’ then load new
[14:23:03] *** aslate has quit IRC
[14:25:23] *** elton has quit IRC
[14:26:07] *** zeioth__ has joined #angularjs
[14:27:03] *** zeioth_ has quit IRC
[14:27:26] *** bradjones has quit IRC
[14:29:07] *** walden|afk is now known as walden
[14:29:28] *** nocontrol has joined #angularjs
[14:29:32] *** svycka has quit IRC
[14:30:18] *** tristanp has joined #angularjs
[14:30:53] *** SrPx has quit IRC
[14:31:23] *** davlefou has quit IRC
[14:31:41] *** bradjones has joined #angularjs
[14:31:47] *** davlefou has joined #angularjs
[14:31:51] *** bradjones has quit IRC
[14:31:51] *** bradjones has joined #angularjs
[14:31:52] *** davlefou has quit IRC
[14:31:52] *** davlefou has joined #angularjs
[14:32:06] *** SrPx has joined #angularjs
[14:32:58] *** nerder has quit IRC
[14:33:53] *** dimtruck is now known as zz_dimtruck
[14:34:20] *** dan2k3k4 has quit IRC
[14:34:45] *** tristanp has quit IRC
[14:34:52] *** svycka has joined #angularjs
[14:35:18] <Bish> nerder:o
[14:35:51] *** Ugolin has joined #angularjs
[14:36:32] *** egamonal has joined #angularjs
[14:37:14] *** zeioth_ has joined #angularjs
[14:37:37] *** diosney has joined #angularjs
[14:39:05] *** ish has quit IRC
[14:39:15] *** ish has joined #angularjs
[14:39:42] *** zeioth__ has quit IRC
[14:41:56] *** aks_ has quit IRC
[14:42:07] *** aks has joined #angularjs
[14:43:12] *** atomicb0mb has joined #angularjs
[14:43:27] *** sterns has quit IRC
[14:43:34] *** wanabee has joined #angularjs
[14:43:47] *** sterns has joined #angularjs
[14:45:11] *** jr3 has joined #angularjs
[14:45:32] *** buzzedword has joined #angularjs
[14:45:48] *** annlewis has joined #angularjs
[14:46:00] *** davlefou_ has joined #angularjs
[14:46:08] *** leolrrj has joined #angularjs
[14:46:59] *** mandric has joined #angularjs
[14:47:02] *** davlefou has quit IRC
[14:48:03] *** tbo_ has joined #angularjs
[14:49:12] <egamonal> Where can I find a reference guide to use tokens in angular? it looks like most people suggest using Restangular.setDefaultHeaders({ Authorization: credentials });, but obviously tokens change and they should not be set up by default. moreover, I won't have the first token before login, and setting it up in the .run block doesn't look reasonable.
[14:50:10] *** buzzedword has quit IRC
[14:50:20] *** joshontheweb has quit IRC
[14:50:27] *** annlewis has quit IRC
[14:50:35] *** venkat_330 has quit IRC
[14:51:12] *** nerder has joined #angularjs
[14:52:43] *** buzzedword has joined #angularjs
[14:53:25] *** venkat_330 has joined #angularjs
[14:55:35] *** shangxia1 has quit IRC
[14:55:41] *** joshontheweb has joined #angularjs
[14:56:11] *** atomicb0mb has quit IRC
[14:56:28] *** LeBlaaanc has joined #angularjs
[14:57:03] *** elrabin has joined #angularjs
[14:57:40] *** buzzedword has quit IRC
[14:58:24] *** BahamutWC|Work has joined #angularjs
[14:58:35] *** danielemm has quit IRC
[14:59:25] *** italoacasas has joined #angularjs
[15:00:01] <nerder> any of you have ever used angular-slugify?
[15:00:03] <tangorri> is it bad practice to set directive contrller this.element from link ?
[15:00:13] <nerder> i found out this issue
[15:00:13] <nerder> https://gist.github.com/nerder/9ebc95b8cd157b550afe
[15:00:59] *** jamiemcl001 has quit IRC
[15:01:42] *** wycats has quit IRC
[15:01:54] *** reuf is now known as wittgenstein
[15:02:34] *** danielemm has joined #angularjs
[15:02:36] *** wittgenstein has quit IRC
[15:02:41] <nerder> i'm trying to fix myself but it's pretty hard
[15:02:43] *** wycats has joined #angularjs
[15:02:55] *** marthinal has quit IRC
[15:03:53] *** marthinal has joined #angularjs
[15:04:02] *** rejerson69_ has quit IRC
[15:04:20] *** davlefou_ has quit IRC
[15:05:07] *** davlefou_ has joined #angularjs
[15:05:34] *** tanepiper has quit IRC
[15:05:37] *** mutsayu has joined #angularjs
[15:05:46] *** tanepiper has joined #angularjs
[15:06:08] *** rikkipitt has quit IRC
[15:06:18] *** step1step2 has quit IRC
[15:06:32] *** step1step2 has joined #angularjs
[15:07:22] *** danielemm has quit IRC
[15:07:31] *** rho has joined #angularjs
[15:07:31] *** rho has joined #angularjs
[15:07:38] *** elrabin has quit IRC
[15:08:12] *** elrabin has joined #angularjs
[15:08:37] *** elrabin has joined #angularjs
[15:09:42] *** juro has quit IRC
[15:10:28] *** DoubleAW has joined #angularjs
[15:11:24] *** andricDu has joined #angularjs
[15:12:21] *** andricDu has quit IRC
[15:12:33] *** AWAW has quit IRC
[15:14:41] *** davlefou_ has quit IRC
[15:15:26] *** tfnico has quit IRC
[15:15:42] *** tfnico has joined #angularjs
[15:16:11] *** ehynds has joined #angularjs
[15:16:24] *** Poeticode has joined #angularjs
[15:17:57] *** davlefou_ has joined #angularjs
[15:18:32] *** macabre has joined #angularjs
[15:18:33] *** dutis has joined #angularjs
[15:18:40] *** ahhhndi has quit IRC
[15:19:40] *** fedenunez has joined #angularjs
[15:20:04] *** dabdab has quit IRC
[15:20:07] *** drej has quit IRC
[15:20:10] *** juro has joined #angularjs
[15:20:19] *** geoid has quit IRC
[15:20:39] *** rocky1138_ has quit IRC
[15:21:15] *** mandric has quit IRC
[15:21:47] *** raininja has joined #angularjs
[15:21:52] *** elton has joined #angularjs
[15:22:20] *** chaselee has joined #angularjs
[15:23:02] <christo_m> nerder: tell me about it
[15:23:05] *** wrainbolt has joined #angularjs
[15:23:49] *** morissette has joined #angularjs
[15:23:49] *** venkat_330 has quit IRC
[15:23:52] *** maikowblue has joined #angularjs
[15:23:53] *** HarunTy has joined #angularjs
[15:24:14] *** davlefou__ has joined #angularjs
[15:24:31] <nerder> christo_m: if you see my example, i'm trying to slugify an already initialized value
[15:24:49] *** rikkipitt has joined #angularjs
[15:25:40] <nerder> but in the opposite way, i mean: "to" is already initialized and i need to continue slugify starting from another model that could be empty
[15:26:05] *** danielemm has joined #angularjs
[15:26:26] <christo_m> nerder: oh i just meant in general
[15:26:27] <nerder> the point is that i can't just sum in this way like scope.to += Slug.slugify(val)
[15:26:28] <christo_m> but let me check now
[15:26:29] *** marc_v92 has joined #angularjs
[15:26:31] *** elton has quit IRC
[15:26:35] *** davlefou_ has quit IRC
[15:27:16] <nerder> cause if for instance i delete a char the new scope is summed at the previous one and not replaced
[15:27:18] <christo_m> nerder: is slug a directive you wrote lol?
[15:27:19] *** Memkee has joined #angularjs
[15:27:36] <nerder> christo_m: no i found out on github
[15:27:51] <nerder> https://github.com/paulsmith/angular-slugify
[15:28:16] *** mellernoia-work has joined #angularjs
[15:28:16] *** VaticanCameos has quit IRC
[15:28:22] <nerder> christo_m: is a pretty simple code by it self, i'm trying to customize it in order to satisfy my use case
[15:28:30] *** ahhhndi has joined #angularjs
[15:28:31] <christo_m> nerder: $scope.myMode.from?
[15:28:37] <christo_m> you mean myModel on line 10
[15:28:51] *** buzzedword has joined #angularjs
[15:29:09] *** venkat_330 has joined #angularjs
[15:29:14] <nerder> christo_m: yes ofc, that is not a working example
[15:29:18] <christo_m> oh
[15:29:33] *** davlefou_ has joined #angularjs
[15:29:47] *** SrPx has quit IRC
[15:30:09] *** Ugolin has quit IRC
[15:30:15] *** mellernoia has quit IRC
[15:30:19] *** davlefou__ has quit IRC
[15:30:22] *** HarunTy has quit IRC
[15:30:25] <nerder> christo_m: is just a pseudo code of what i'm expecting to have at the end of execution of the directive (i write that in the comment btw)
[15:30:38] *** mnzaki has joined #angularjs
[15:30:52] <christo_m> ya i dunno
[15:31:05] <christo_m> id have to test the slugify directive myself
[15:31:22] *** saasa has joined #angularjs
[15:31:52] *** jhirley has joined #angularjs
[15:31:59] *** poacher2k has quit IRC
[15:32:10] *** saasa has left #angularjs
[15:32:11] *** dpicky has joined #angularjs
[15:32:12] *** jamiemcl001 has joined #angularjs
[15:32:19] *** erve has joined #angularjs
[15:32:42] *** SrPx_ has joined #angularjs
[15:33:07] <Memkee> Hi, Protractor/webdriver question: is it possible to try to get an element by a different locator after first didn't work? Do it with promises? How?
[15:33:29] *** buzzedword has quit IRC
[15:33:37] <zomg> Memkee: it is, but I'm not entirely sure why you would want to do that
[15:33:54] *** dob_ has joined #angularjs
[15:33:59] <zomg> it seems like an error condition for the test to me if the locator fails
[15:34:33] *** zigzagzig has joined #angularjs
[15:34:44] *** SrPx_ has quit IRC
[15:35:14] <Memkee> zomg: I'm working with page object and want to have some generic way to access particular parts of UI, but sometimes UI differs in css locators
[15:35:22] *** dpicky_ has quit IRC
[15:35:53] *** dob_ has quit IRC
[15:36:14] *** bluezone has joined #angularjs
[15:36:17] *** Respek has joined #angularjs
[15:37:26] *** dob has quit IRC
[15:37:41] *** raininja has quit IRC
[15:37:52] *** DanSkaggs has joined #angularjs
[15:38:31] *** dfgfd has joined #angularjs
[15:38:32] *** erve has quit IRC
[15:38:59] *** SrPx_ has joined #angularjs
[15:39:09] *** erve has joined #angularjs
[15:39:51] *** dfgfd has quit IRC
[15:41:18] *** mxrguspxrt has joined #angularjs
[15:42:01] *** davlefou_ has quit IRC
[15:42:31] *** buzzedword has joined #angularjs
[15:42:47] *** moonbox has joined #angularjs
[15:44:00] *** tbo_ has quit IRC
[15:44:43] *** rchavik has quit IRC
[15:45:03] *** moonbox has quit IRC
[15:45:29] *** kk_drop has quit IRC
[15:45:30] *** juro has quit IRC
[15:46:06] *** lite_ has quit IRC
[15:46:30] *** Junior has quit IRC
[15:46:33] *** aslate has joined #angularjs
[15:46:33] *** annlewis has joined #angularjs
[15:47:15] *** buzzedword has quit IRC
[15:47:22] *** Junior has joined #angularjs
[15:47:32] *** davlefou has joined #angularjs
[15:47:47] *** chaselee has quit IRC
[15:47:50] *** asteele has quit IRC
[15:49:41] *** yes`r has quit IRC
[15:49:51] *** jhirley has quit IRC
[15:50:03] *** kuadrosx has joined #angularjs
[15:50:09] *** CanyonMan has joined #angularjs
[15:50:43] *** Rhaynel has joined #angularjs
[15:51:09] *** jhirley has joined #angularjs
[15:51:14] *** annlewis has quit IRC
[15:52:15] *** juro has joined #angularjs
[15:52:32] *** rho has quit IRC
[15:52:58] *** Rhaynel has left #angularjs
[15:53:06] *** Rhaynel has joined #angularjs
[15:53:26] *** knownasilya has joined #angularjs
[15:53:32] *** kam270 has quit IRC
[15:54:04] *** chrisbirk has joined #angularjs
[15:55:39] *** SrPx_ has quit IRC
[15:56:13] *** encryptd_fractal has joined #angularjs
[15:56:19] *** CAPITANOOO has joined #angularjs
[15:56:29] *** BahamutWC|Work has quit IRC
[15:57:17] *** Leon has quit IRC
[15:57:26] *** Danielyan has quit IRC
[15:57:41] *** TyrfingMjolnir has joined #angularjs
[15:57:55] *** Memkee has quit IRC
[15:59:32] *** arizzo has joined #angularjs
[15:59:41] *** juro has quit IRC
[16:00:20] *** cvanball has joined #angularjs
[16:00:57] *** buzzedword has joined #angularjs
[16:01:00] *** Rhaynel has left #angularjs
[16:01:02] *** SrPx has joined #angularjs
[16:01:03] *** Rhaynel has joined #angularjs
[16:01:41] *** SrPx has quit IRC
[16:02:06] *** raininja has joined #angularjs
[16:02:12] *** CAPITANOOO has quit IRC
[16:03:19] *** erms has quit IRC
[16:03:21] *** zero_coder has quit IRC
[16:03:31] *** nanuko has joined #angularjs
[16:04:11] *** erms has joined #angularjs
[16:05:02] *** aghiuru has quit IRC
[16:05:03] *** frem has joined #angularjs
[16:05:34] *** buzzedword has quit IRC
[16:06:41] *** dob has joined #angularjs
[16:08:02] *** mutsayu has quit IRC
[16:08:15] *** davlefou has quit IRC
[16:09:06] *** buzzedword has joined #angularjs
[16:09:38] *** mandric has joined #angularjs
[16:10:38] *** nivag has quit IRC
[16:10:45] *** SrPx has joined #angularjs
[16:10:59] *** Gamer-Pro has joined #angularjs
[16:10:59] <Gamer-Pro> DOWNLOAD THIS AMAZING GAME FOR WINDOWS http://www.indiedb.com/games/spaceshooter-x1/downloads/spaceshooter-x1-update-for-windows
[16:11:10] *** edm has joined #angularjs
[16:11:16] *** schneider has joined #angularjs
[16:11:17] *** rikkipitt has quit IRC
[16:11:58] *** SrPx has quit IRC
[16:12:45] *** tristanp has joined #angularjs
[16:12:57] *** kuadrosx has quit IRC
[16:13:06] *** kuadrosx has joined #angularjs
[16:13:18] <christo_m> Gamer-Pro: computer won't start now.
[16:13:30] *** buzzedword has quit IRC
[16:13:32] *** davlefou has joined #angularjs
[16:14:26] <Gamer-Pro> why ?
[16:14:59] *** yohann has joined #angularjs
[16:15:15] *** yes`r has joined #angularjs
[16:15:17] *** nivag has joined #angularjs
[16:15:25] *** zero_coder has joined #angularjs
[16:15:30] *** mven has quit IRC
[16:16:01] <christo_m> Gamer-Pro: because of the virus you posted
[16:16:05] <zomg> lol
[16:16:42] *** yohann has quit IRC
[16:16:49] <Gamer-Pro> is not a virus
[16:18:01] *** nerder has quit IRC
[16:18:26] *** bradgignac has joined #angularjs
[16:18:30] *** cactauz has joined #angularjs
[16:18:54] *** net2014 has joined #angularjs
[16:19:00] <net2014> hello
[16:19:26] <net2014> to test controllers and filters, you need protractor or jasmine?
[16:19:29] *** zz_dimtruck is now known as dimtruck
[16:19:43] *** davlefou has quit IRC
[16:19:52] *** sbeex has joined #angularjs
[16:19:55] <sbeex> hello devs
[16:20:32] *** greengriminal has joined #angularjs
[16:20:45] <sbeex> I would like to display a list in an angular bootstrap ui popover (a popup) and it have an atribute "uib-popover=" here my text" how could I do a loop inside of it with angular with my results ?
[16:21:00] *** mutsayu has joined #angularjs
[16:22:35] *** zero_coder has quit IRC
[16:22:41] *** elton has joined #angularjs
[16:23:08] *** tahj_ has joined #angularjs
[16:23:17] *** rho has joined #angularjs
[16:23:17] *** rho has joined #angularjs
[16:23:18] *** cactauz has quit IRC
[16:24:08] *** TyrfingMjolnir has quit IRC
[16:24:38] *** Gamer-Pro has quit IRC
[16:25:02] *** Ir1sh has joined #angularjs
[16:25:08] *** smccarthy has joined #angularjs
[16:25:34] *** Foxandxss has joined #angularjs
[16:26:26] *** phrozensilver has joined #angularjs
[16:27:21] *** jae has joined #angularjs
[16:27:36] *** casf_ has joined #angularjs
[16:27:49] *** Ganesh_ has joined #angularjs
[16:27:50] *** cacts|works has joined #angularjs
[16:27:51] <Ganesh_> Hello
[16:28:07] *** elton has quit IRC
[16:28:10] *** casf has quit IRC
[16:28:17] *** casf_ is now known as casf
[16:28:39] *** Ganesh_ has quit IRC
[16:29:12] *** jxv has joined #angularjs
[16:29:30] *** raininja has quit IRC
[16:29:46] *** dob has quit IRC
[16:29:49] *** zero_coder has joined #angularjs
[16:30:38] *** subnomo has quit IRC
[16:31:29] *** intellix has quit IRC
[16:31:43] *** siba has quit IRC
[16:32:20] *** dob has joined #angularjs
[16:32:30] *** mven has joined #angularjs
[16:32:54] *** diegoaguilar has joined #angularjs
[16:33:06] *** wonder95 has joined #angularjs
[16:33:27] *** brollypop has quit IRC
[16:34:17] *** Zalabinsky has joined #angularjs
[16:34:45] *** zero_coder has quit IRC
[16:35:30] *** smeuser has joined #angularjs
[16:36:09] *** egamonal1 has joined #angularjs
[16:36:34] *** illume has quit IRC
[16:37:16] *** nguloar has quit IRC
[16:37:33] *** intellix has joined #angularjs
[16:37:40] *** nanuko has quit IRC
[16:38:17] *** george_v has quit IRC
[16:38:19] <net2014> is testing a controller in angular, integration testing?
[16:38:23] *** egamonal has quit IRC
[16:38:48] *** kuadrosx has quit IRC
[16:38:51] *** kuadrosx_ has joined #angularjs
[16:40:05] *** marthinal has quit IRC
[16:40:33] *** Z3R0 has joined #angularjs
[16:40:43] *** tristanp has quit IRC
[16:41:38] *** Duikb00t has quit IRC
[16:41:49] *** venkat_330 has quit IRC
[16:41:49] *** fedenunez has quit IRC
[16:42:24] *** marc_v92 has quit IRC
[16:43:02] *** sssilver has joined #angularjs
[16:43:11] *** baweaver has joined #angularjs
[16:43:37] *** Jardayn has joined #angularjs
[16:43:58] *** fixl has quit IRC
[16:44:21] *** arizzo has quit IRC
[16:44:55] *** dob has quit IRC
[16:45:22] *** iateadonut has joined #angularjs
[16:45:24] *** intellix has quit IRC
[16:46:07] *** davlefou has joined #angularjs
[16:46:20] *** venkat_330 has joined #angularjs
[16:46:32] *** intellix has joined #angularjs
[16:47:14] *** baweaver has quit IRC
[16:47:20] *** annlewis has joined #angularjs
[16:48:36] *** LeBlaaanc has quit IRC
[16:48:58] *** smeuser has quit IRC
[16:49:21] *** Ugolin has joined #angularjs
[16:49:38] *** LopezT has joined #angularjs
[16:49:42] <LopezT> a
[16:49:56] *** danielemm has quit IRC
[16:50:15] *** dutis has quit IRC
[16:50:30] *** alesrest has joined #angularjs
[16:51:04] *** cvanball has quit IRC
[16:51:42] *** wanabee has quit IRC
[16:52:09] *** BahamutWC|Work has joined #angularjs
[16:52:17] *** tristanp has joined #angularjs
[16:52:22] *** annlewis has quit IRC
[16:54:28] *** bayousoft has joined #angularjs
[16:54:32] *** buzzedword has joined #angularjs
[16:55:06] *** Sky[x] has quit IRC
[16:55:25] <tkdaj1> does anyone know how I can conditionally link in a function from the outside scope into a directive? i.e. if the user puts something like: cn-required="{{expressionToEvaluate}}" I don't want the directive to try to link to a function because it will break. But I also want to give them the option to do cn-required="testValidity()"
[16:55:38] *** diegoaguilar has quit IRC
[16:55:48] *** dimtruck is now known as zz_dimtruck
[16:55:56] *** Z3R0 has quit IRC
[16:57:04] <net2014> hello
[16:57:15] *** ajpiano has quit IRC
[16:57:26] *** dcherman has joined #angularjs
[16:57:34] *** zz_dimtruck is now known as dimtruck
[16:57:48] <net2014> is testing with protractor, called intergration testing?
[16:58:03] *** d0nkeyBOB has joined #angularjs
[16:58:28] *** tristanp has quit IRC
[16:58:47] *** Axtroz has joined #angularjs
[16:58:51] *** tristanp has joined #angularjs
[16:58:55] *** buzzedword has quit IRC
[16:59:09] *** ajpiano has joined #angularjs
[16:59:58] *** Garfield-fr has quit IRC
[17:00:02] *** nanuko has joined #angularjs
[17:00:06] *** elrabin has quit IRC
[17:00:32] *** buzzedword has joined #angularjs
[17:00:34] *** greengriminal has quit IRC
[17:00:45] *** elrabin has joined #angularjs
[17:00:52] *** speeddragon has quit IRC
[17:01:07] *** bodyscripter has joined #angularjs
[17:02:25] *** d0gmata has joined #angularjs
[17:02:57] *** sbeex has quit IRC
[17:03:11] *** nivag has quit IRC
[17:03:12] <d0gmata> Hi guys, QQ is there an event fired when a ng-if directive updates the dom ? and if so whats it called
[17:03:18] *** danielemm has joined #angularjs
[17:03:19] *** thirdknife has joined #angularjs
[17:03:36] <Axtroz> Hey everyone, does FormController.$setPristine() revert the dirty fields automatically?
[17:03:55] *** bradgignac has quit IRC
[17:04:13] *** Z3R0 has joined #angularjs
[17:04:17] *** icfantv has joined #angularjs
[17:04:20] *** elrabin_ has joined #angularjs
[17:05:10] *** elrabin has quit IRC
[17:05:10] *** buzzedword has quit IRC
[17:05:26] *** qdk has quit IRC
[17:05:32] <scav> in angular 2 you can use EventEmitter to send events from a component to its parent, but can you send messages from a parent to a child component?
[17:05:54] *** thirdkni_ has quit IRC
[17:06:21] *** owenjones has joined #angularjs
[17:06:40] *** ton has joined #angularjs
[17:06:44] *** kegster has quit IRC
[17:06:51] *** henry_ has quit IRC
[17:06:56] *** LeBlaaanc has joined #angularjs
[17:07:39] *** nivag has joined #angularjs
[17:07:46] *** kegster has joined #angularjs
[17:07:46] *** chairmanmow has joined #angularjs
[17:07:49] *** speeddragon has joined #angularjs
[17:07:56] <ton> anyone here use ui-router and willing to comment on how they structure their state/routes? like.. one file at the root or one file with every "page/section"
[17:09:08] *** maikowblue has quit IRC
[17:09:39] <d0gmata> ton: started using the core but found it too inflexable and migrated to angular-ui-router
[17:09:59] *** zeezey has joined #angularjs
[17:10:00] *** juro has joined #angularjs
[17:10:03] *** TyrfingMjolnir has joined #angularjs
[17:10:07] *** maikowblue has joined #angularjs
[17:10:40] <ton> d0gmata core?
[17:10:47] <ton> you mean the default router?
[17:10:54] *** owenjones has quit IRC
[17:11:29] <Axtroz> d0gmata, No events fired for ng-if in the docs, for 1.4.x at least. It does create a new scope though, maybe you can use that to fire a custom event?
[17:11:44] *** blacksheepwall has joined #angularjs
[17:11:50] *** surfdue has quit IRC
[17:12:09] <d0gmata> sorry misread thought you were refering to the default router.. but to answer your question, at dev time i use separate files for views but then have a grunt job to compile into a single file with <script type="text/ng-template"> for production
[17:12:17] <moep> I can't remember the link, but there was a styleguide, which talked about experiences with angular (in context twitter or paypal) where they proposed to use directives in routes, or something; anybody got a link to what I mean?
[17:12:18] <Axtroz> ton, I have a dedicated routes.js for all the routes. I prefer having all the routes in a single place rather than in different files because I often make a file soup :)
[17:12:45] *** thirdknife has quit IRC
[17:12:50] *** thirdkni_ has joined #angularjs
[17:12:51] *** blacksheepwall has left #angularjs
[17:12:53] <d0gmata> and like Atroz i keep all the routes defined in a single place, dame as i usually do for node
[17:13:00] <moep> Nevermind, found it
[17:13:16] <ton> strange, anyone looked at the samples john papa has? he has them in each section
[17:13:29] *** VaticanCameos has joined #angularjs
[17:13:32] <ton> i can understand why, it allows for modularity since the routes get loaded automagically
[17:13:37] <ton> but it feels off
[17:13:38] <scav> defining all routes in a single place is a horrible idea
[17:13:50] *** d0nkeyBOB has quit IRC
[17:13:56] <Axtroz> scav, would you elaborate please?
[17:14:00] <ton> ikr? :D
[17:14:10] <scav> you move something, you have to edit two places
[17:14:17] *** lite_ has joined #angularjs
[17:14:21] <scav> instead of having each component worry about itself
[17:14:21] <ton> place 1 and 2?
[17:14:23] *** punknroll has quit IRC
[17:14:42] <d0gmata> Axtroz, cheers for the event advice will take a look
[17:15:02] <ton> scav what two places?
[17:15:03] *** buzzedword has joined #angularjs
[17:15:14] *** tuskkk___ has quit IRC
[17:15:22] *** benjamingr_ has quit IRC
[17:15:41] *** zlalanne has joined #angularjs
[17:16:03] *** dob has joined #angularjs
[17:16:40] *** surfdue has joined #angularjs
[17:17:33] *** thirdkni_ has quit IRC
[17:18:49] *** uNki has quit IRC
[17:19:11] *** nocontrol has quit IRC
[17:19:18] *** uNki has joined #angularjs
[17:19:45] *** buzzedword has quit IRC
[17:20:41] *** ringzer0 has quit IRC
[17:21:08] *** tkdaj1 has left #angularjs
[17:21:28] *** thirdknife has joined #angularjs
[17:23:13] *** cactauz has joined #angularjs
[17:23:23] *** d0gmata has quit IRC
[17:24:04] *** alesrest has quit IRC
[17:25:53] *** diegoaguilar has joined #angularjs
[17:25:55] *** empyreanx has joined #angularjs
[17:26:18] *** tbo_ has joined #angularjs
[17:26:26] *** fedenunez has joined #angularjs
[17:26:28] *** dszmaj has quit IRC
[17:26:38] *** cacts|works has quit IRC
[17:26:39] *** Debnet has quit IRC
[17:28:35] *** shinnya has joined #angularjs
[17:29:25] *** Z3R0 has quit IRC
[17:30:54] *** thirdknife has quit IRC
[17:31:52] *** Poeticode has quit IRC
[17:32:19] *** Z3R0 has joined #angularjs
[17:33:14] *** obsidian3d has joined #angularjs
[17:33:17] *** mary5030 has joined #angularjs
[17:33:34] *** obsidian3d has quit IRC
[17:34:45] *** diegoaguilar has quit IRC
[17:34:46] *** leolrrj-alt has joined #angularjs
[17:35:28] *** squeakytoy has quit IRC
[17:35:32] *** diegoaguilar has joined #angularjs
[17:36:17] <ton> after thinking about it for a little while, i think the biggest advantage of keeping the routes with the section is ease of testing
[17:36:43] *** squeakytoy has joined #angularjs
[17:36:47] <ton> the only advantage I can think of with keeping the routes in one file is that they're centrally located, which is nice but not sure what the advantage is
[17:36:52] *** illume has joined #angularjs
[17:38:34] *** leolrrj has quit IRC
[17:39:50] *** junmin has quit IRC
[17:40:30] <tahj_> is there a way to add $http headers without them being automatically added to the 'Allow-Control-Request-Headers' header?
[17:40:59] *** dob has quit IRC
[17:41:00] <archon-> an $http interceptor
[17:41:10] <tahj_> the interceptor still adds them
[17:41:27] *** sheoked has joined #angularjs
[17:41:36] <tahj_> anything added to config.headers will be added to the 'Allow-Control-Request-Headers' header
[17:41:42] *** Hounddog has quit IRC
[17:41:52] *** Garfield-fr has joined #angularjs
[17:42:51] *** Hounddog has joined #angularjs
[17:44:24] <skunkz> Hi guys, what's the correct way to update UI when an external event changes the model ?
[17:44:26] <archon-> dunno then.. why don't you want it added?
[17:44:43] *** Hounddog has quit IRC
[17:44:47] <skunkz> I think I should avoid $scope.$apply, so I currently use $timeout, are there other viable options ?
[17:45:36] *** Hounddog has joined #angularjs
[17:45:38] *** buzzedword has joined #angularjs
[17:46:20] <tahj_> archon-: any browser header addon doesn't add them to that header. i'm trying to replicate something similar in angular
[17:46:46] *** iceball has quit IRC
[17:47:09] *** Hounddog has quit IRC
[17:47:28] *** Hounddog has joined #angularjs
[17:48:05] *** annlewis has joined #angularjs
[17:48:14] *** chrisbirk has quit IRC
[17:48:38] *** cacts|wtf has joined #angularjs
[17:48:55] <w0rp> Has anyone ever had any weird issues with IE9 and select elements?
[17:48:56] *** PeterBooker has quit IRC
[17:49:37] *** Hounddog has quit IRC
[17:49:45] *** Es0teric has joined #angularjs
[17:49:51] <archon-> tahj: why?
[17:49:53] *** loulou has joined #angularjs
[17:49:58] *** Hounddog has joined #angularjs
[17:50:19] <w0rp> I've got a select element with options generated with ng-repeat (Because ng-options also doesn't work in Angular 1.2 when you don't want blank options), and it's like it lets you pick an option and updates the ng-model value, but then shows the unrendered contents of one of the options as the text in the box itself.
[17:50:37] <w0rp> And I'm just like, "wat?"
[17:50:44] *** WizJin has joined #angularjs
[17:51:32] *** bremnes has quit IRC
[17:51:34] *** clivejo has quit IRC
[17:51:35] <loulou> have a plnkr?
[17:51:36] <tahj_> archon-: why do i want full control of my request? :P
[17:51:39] <w0rp> I'm close to building the elements in JQuery and adding a bunch of shoddy glue code, just to get IE9 to work.
[17:51:43] *** bremnes has joined #angularjs
[17:51:47] *** mxrguspxrt has quit IRC
[17:51:48] *** clivejo has joined #angularjs
[17:52:03] *** rikkus has quit IRC
[17:52:05] *** gweedo767 has quit IRC
[17:52:07] *** cactauz has quit IRC
[17:52:13] *** rikkus has joined #angularjs
[17:52:25] *** gweedo767 has joined #angularjs
[17:52:33] *** klobucar has quit IRC
[17:52:37] *** NullSoldier_ has quit IRC
[17:52:42] *** tombee has quit IRC
[17:52:48] *** klobucar has joined #angularjs
[17:52:50] *** NullSoldier_ has joined #angularjs
[17:52:53] *** annlewis has quit IRC
[17:53:05] <archon-> tahj: sure.. is it breaking something?
[17:53:05] *** tombee has joined #angularjs
[17:54:12] <tahj_> yup, i don't think REST requires every header sent to be added to that Access-Control
[17:54:15] *** dandaman has joined #angularjs
[17:54:21] *** Hounddog has quit IRC
[17:54:23] <dandaman> ng-if="currentPage != 'chat' && (chats | filter: totalUnseenMessages) != 0"
[17:54:30] <dandaman> how do i get that filter to work in my ng-if?
[17:54:41] <dandaman> i dont think i have the syntax correct :\
[17:54:43] *** ringzer0 has joined #angularjs
[17:54:57] *** zeioth__ has joined #angularjs
[17:55:19] *** tbo_ has quit IRC
[17:55:23] *** tristanp has quit IRC
[17:55:25] *** MrBaboon has joined #angularjs
[17:56:03] <archon-> dandaman: ng-if="functionThatDoesAllThat()"
[17:56:10] *** tristanp has joined #angularjs
[17:56:33] *** Siraris has joined #angularjs
[17:56:42] *** Hounddog has joined #angularjs
[17:57:00] *** sbasso has quit IRC
[17:57:10] <dandaman> archon-: good point, is there a way to use a filter inside of a controller?
[17:57:13] *** zeioth_ has quit IRC
[17:57:23] <archon-> tahj: you might be able to modify it with transformRequest.. dunno
[17:57:37] <archon-> dandaman: yes, $fitler
[17:57:39] <archon-> $filter
[17:57:54] <Siraris> When I’m unit testing a directive, the resulting HTML should be representative of what I’d be seeing if I was to view it in a browser, correct? So say, if I have a ng-show on an element and it’s false, it shouldnt’ show the text/element, correct?
[17:58:14] <dandaman> archon-: thanks
[17:58:16] *** Nickmynick has joined #angularjs
[17:58:31] *** lite_ has quit IRC
[17:58:36] *** Nickmynick has quit IRC
[17:59:29] *** wrainbolt has quit IRC
[17:59:43] *** dob has joined #angularjs
[18:01:14] *** citizen-stig has quit IRC
[18:01:14] <tahj_> archon-: thanks will take a look at that
[18:01:15] *** ag0rex has joined #angularjs
[18:01:27] *** Hounddog has quit IRC
[18:01:35] *** ag0rex_ has quit IRC
[18:01:42] *** citizen-stig has joined #angularjs
[18:01:58] *** wrainbolt has joined #angularjs
[18:02:22] <archon-> dandaman: actually i think (chats | filter...).length !== 0 might work
[18:03:02] *** loulou has quit IRC
[18:03:53] *** Siraris has quit IRC
[18:04:13] *** edrocks has quit IRC
[18:04:24] *** edrocks has joined #angularjs
[18:04:48] *** Hounddog has joined #angularjs
[18:05:04] *** leolrrj-alt is now known as leolrrj
[18:05:51] *** citizen-stig has quit IRC
[18:05:54] *** aslate has quit IRC
[18:06:45] *** kaka has quit IRC
[18:08:02] <Axtroz> Can I use $rollbackViewValue(); or $setPristine(); to reset a form?
[18:08:47] *** danielemm has quit IRC
[18:08:53] *** qdk has joined #angularjs
[18:09:39] *** kaka has joined #angularjs
[18:09:57] *** p0k0 has joined #angularjs
[18:10:48] *** Ravi_ has joined #angularjs
[18:11:16] <Ravi_> hi
[18:11:17] *** dpicky_ has joined #angularjs
[18:11:52] *** Ravi_ has quit IRC
[18:12:08] *** davonrails has quit IRC
[18:12:44] <tristanp> is there a website or tool i can use to generate image or video files of a certain size? For instance if i need a 20 MB video or a 500 KB image and so on
[18:12:48] *** restless_being_ has quit IRC
[18:12:58] <tristanp> for testing uploading and downloading-- dont care what content of it is
[18:13:00] *** dob has quit IRC
[18:13:24] *** vrockai has quit IRC
[18:13:32] *** dpicky has quit IRC
[18:13:54] *** illume has quit IRC
[18:13:55] *** restless_being has joined #angularjs
[18:14:09] *** jcooke has joined #angularjs
[18:14:37] *** dob has joined #angularjs
[18:14:59] *** buzzedword has quit IRC
[18:15:40] *** Z3R0 has quit IRC
[18:17:08] *** buzzedword has joined #angularjs
[18:17:30] *** blitz-_ has joined #angularjs
[18:18:26] *** jcooke has quit IRC
[18:18:50] *** ag0rex has quit IRC
[18:19:20] *** Scubao has joined #angularjs
[18:20:46] *** spaceonl_ has quit IRC
[18:20:51] *** Aliks has joined #angularjs
[18:21:44] *** icebox has quit IRC
[18:21:50] *** buzzedword has quit IRC
[18:22:15] *** ehynds has quit IRC
[18:22:53] *** tristanp has quit IRC
[18:23:32] *** tristanp has joined #angularjs
[18:23:43] *** aghiuru has joined #angularjs
[18:24:17] *** tristanp has quit IRC
[18:24:24] *** junmin has joined #angularjs
[18:24:24] *** mllie has joined #angularjs
[18:24:38] <mllie> Hi guys
[18:24:44] *** tristanp has joined #angularjs
[18:25:05] *** Aliks has quit IRC
[18:25:21] *** Sky[x] has joined #angularjs
[18:25:44] *** sonofdirt has joined #angularjs
[18:26:13] *** ag0rex has joined #angularjs
[18:26:37] *** ag0rex has quit IRC
[18:26:39] *** ringzer0 has quit IRC
[18:26:46] *** Vladimirski has joined #angularjs
[18:26:51] *** ag0rex has joined #angularjs
[18:27:17] *** jlebrech has quit IRC
[18:27:37] *** jlebrech has joined #angularjs
[18:27:55] *** nanuko has quit IRC
[18:27:56] *** erms has quit IRC
[18:28:26] *** ringzer0 has joined #angularjs
[18:28:48] <mllie> How does this work when you return both a promise and a value inside then function? http://pastebin.com/kxGwbiH9
[18:28:55] *** marthinal has joined #angularjs
[18:29:41] *** illume has joined #angularjs
[18:31:11] *** jetpackjoe has joined #angularjs
[18:31:25] *** jenelizabeth_ has quit IRC
[18:31:33] *** egamonal1 has quit IRC
[18:31:38] *** jetpackjoe has quit IRC
[18:31:53] *** DoctorDalek has quit IRC
[18:34:11] *** illume has quit IRC
[18:34:37] <icfantv> mllie: that's for chaining promises
[18:34:46] *** aphprentice has joined #angularjs
[18:34:50] <icfantv> the returned value is the input to the function for the next promise
[18:35:03] <mllie> icfantv: Alright, that's sweet
[18:35:10] <icfantv> it most certainly is
[18:35:13] <caitp> mllie: you should probably put the catch in the "then" call, so that you don't create 2 newp romises
[18:35:31] <mllie> caitp: How do you mean?
[18:35:40] <caitp> .then() and .catch() both create a promise
[18:36:04] <caitp> so, .then(success, fail) instead of .then().catch()
[18:36:19] <mllie> caitp: Ah, that's the same?
[18:36:20] *** aks has quit IRC
[18:36:31] <caitp> it will only create a single new promise in that case
[18:36:32] <mllie> caitp: This is actually taken from John Papas sample app :D
[18:36:40] <caitp> yeah but that guy is actually a fucking idiot
[18:36:53] <mllie> caitp: Really?
[18:36:56] <icfantv> caitp: i thought the preferred paradigm was to have one catch at the end to catch any errors in all of the previous chained then()'s
[18:36:57] *** VaticanCameos has quit IRC
[18:37:17] <caitp> it does work, sort of
[18:37:24] <caitp> it has a cost in memory which is unfortunate
[18:37:30] *** Axtroz has quit IRC
[18:37:38] *** dpicky has joined #angularjs
[18:38:00] <caitp> it can cause some surprising things to happen in some cases, though
[18:38:35] *** aks has joined #angularjs
[18:39:00] *** illume has joined #angularjs
[18:39:03] *** Amnez777- has joined #angularjs
[18:39:05] <mllie> I see
[18:39:42] <mllie> caitp: What do you think of this structure? https://github.com/martintro/angular-sample-app/tree/master/app
[18:39:45] *** Amnez777 has quit IRC
[18:40:09] *** ahhhndi has quit IRC
[18:40:21] *** Amnez777 has joined #angularjs
[18:40:22] *** Amnez777 has joined #angularjs
[18:40:23] <caitp> it's a waste of energy to split your app into so many different modules, unless you plan to reuse them in different apps
[18:40:30] *** dpicky_ has quit IRC
[18:40:43] <icfantv> i will absolutely agree iwth you there
[18:41:06] *** tristanp has quit IRC
[18:41:36] *** blitz-_ has quit IRC
[18:42:20] *** skunkz has quit IRC
[18:42:34] <mllie> Alright
[18:42:46] <mllie> What would be better?
[18:43:03] *** aks has quit IRC
[18:43:06] <mllie> Which modules to merge together?
[18:43:10] *** tangorri has quit IRC
[18:43:28] <caitp> just keep it as simple as possible, and if that's simpler for you, don't change it
[18:43:53] <icfantv> mllie: you may still want to break your app apart by functional component.
[18:43:57] <caitp> it is often not worth it because there's no real benefit
[18:44:07] <icfantv> but i will say, even when using AMD or CJS, the imports get annoying.
[18:44:12] <caitp> so you have to do extra work in testing to make sure the right modules are loaded, etc
[18:44:23] *** Amnez777- has quit IRC
[18:44:38] <icfantv> i'm nearly through ripping out requireJS and switching to webpack w/ es6 imports and i'm realizing it's not buying me much.
[18:44:38] <mllie> caitp: I see, so how would you do it? :)
[18:44:45] <enlightenmental> good morning, anyone have a preference on table directive / module that does sorting, etc like dataTables? looking for opinions
[18:44:48] *** sbellina has joined #angularjs
[18:44:56] <caitp> I'd just throw everything in one module unless I know that I'll reuse it somewhere else
[18:45:02] <caitp> simpler that way
[18:45:24] <mllie> caitp: Alright, but folder structure then?
[18:45:32] <caitp> who cares about the folder structure
[18:45:41] <icfantv> caitp: that could make for maintenance issues, no? especially if multiple people are working on the same app
[18:45:50] <caitp> not really
[18:45:54] <mllie> All devs :)
[18:46:06] *** diegoaguilar has quit IRC
[18:46:24] <caitp> unless they're in different repos, there's no real reason for them to live in different modules
[18:46:31] *** Vladimirski has quit IRC
[18:46:37] *** \du has quit IRC
[18:46:41] *** liamonade has quit IRC
[18:46:49] *** saysora has joined #angularjs
[18:47:09] <icfantv> brb, standup
[18:47:38] *** rocky1138 has joined #angularjs
[18:47:51] *** baweaver has joined #angularjs
[18:48:04] *** dpicky_ has joined #angularjs
[18:48:07] *** shinnya has quit IRC
[18:48:18] *** lite_ has joined #angularjs
[18:48:21] *** jr3 has quit IRC
[18:48:50] *** dob_ has joined #angularjs
[18:48:53] <mllie> caitp: alright
[18:48:57] *** annlewis has joined #angularjs
[18:49:18] *** Poeticode has joined #angularjs
[18:49:34] <mllie> caitp: So how do you usually structure a smaller app?
[18:49:36] *** davi has joined #angularjs
[18:49:37] *** davi has joined #angularjs
[18:49:51] <caitp> structure it however you want
[18:49:55] <caitp> whatever makes sense to you
[18:49:58] *** dpicky has quit IRC
[18:50:00] <caitp> like how is this even a question lol
[18:50:12] <caitp> if it works for you and you team, awesome
[18:50:14] <caitp> nobody else cares
[18:50:18] *** dimtruck is now known as zz_dimtruck
[18:50:23] *** bender314 has quit IRC
[18:50:26] <mllie> haha, okey
[18:50:55] *** dob has quit IRC
[18:51:00] *** nanuko has joined #angularjs
[18:51:01] <mllie> It's always nice to share thoughts and see what other does :)
[18:51:26] *** tristanp has joined #angularjs
[18:51:44] *** jcooke has joined #angularjs
[18:52:03] *** arizzo has joined #angularjs
[18:52:06] <mllie> icfantv: How do you usually do? :D
[18:52:15] *** jamiemcl001 has quit IRC
[18:52:46] *** baweaver has quit IRC
[18:52:58] *** Oleander has joined #angularjs
[18:53:30] *** annlewis has quit IRC
[18:53:40] *** bcSquared has quit IRC
[18:53:40] *** zz_dimtruck is now known as dimtruck
[18:53:50] <cj> can someone identify the components with which this mock-up was layed out? I recognize the icons from the glypicons set
[18:53:51] <mllie> caitp: so you put all in one module and then just use an appropriate folder structure?
[18:53:59] <cj> https://wp.colliertech.org/~cjac/tmp/Pricing_Calculator.png
[18:54:10] *** sheoked has quit IRC
[18:54:13] <caitp> there's a simple rule for modules
[18:54:25] <caitp> "if something needs to be in its own module, put it in a module, if it doesn't, then don't"
[18:55:07] <caitp> if it's in the same repo, it __probably__ doesn't need to be in the same module, although there are some exceptions
[18:55:17] <caitp> like angular core's modules living in the core repo
[18:55:29] *** tristanp has quit IRC
[18:55:44] <caitp> they're organized in a way that makes it clear they are separate
[18:55:53] *** tristanp has joined #angularjs
[18:56:11] *** ril has joined #angularjs
[18:56:14] *** ringzer0 has quit IRC
[18:56:15] <caitp> er, sorry, misspoke
[18:56:24] <caitp> if it's in the same repo, it __probably__ belongs in the same module
[18:56:31] *** dob_ has quit IRC
[18:56:41] *** dpicky_ has quit IRC
[18:56:45] <caitp> there's no real benefit to putting every single component of your app in a different module
[18:56:56] <caitp> it doesn't organize things better, it just makes using the code more complicated
[18:57:21] *** dpicky has joined #angularjs
[18:57:24] <caitp> this is especially true for people who do the "app.controllers", "app.directives" module approach, which is nonsense
[18:57:40] *** bayousoft has quit IRC
[18:57:53] <caitp> when you split it up by component, that's workable, but there's still no benefit to it, and it only increases code size and complexity
[18:57:57] *** raininja has joined #angularjs
[18:58:05] <mllie> caitp: true
[18:58:26] <mllie> caitp: but using the same folder structure without separate modules you would find good? :)
[18:58:36] <mllie> (since you didn't mention anything else ;) )
[18:58:36] <caitp> sure, why not
[18:58:50] <caitp> you don't need a module for every subdirectory
[18:59:07] <mllie> true
[18:59:10] *** bayousoft has joined #angularjs
[18:59:49] *** thirdknife has joined #angularjs
[19:00:01] <mllie> caitp: there should actually be a shared folder as well for common directives and filters
[19:00:14] *** davi has quit IRC
[19:00:27] *** nyandoge has quit IRC
[19:00:28] *** illume has quit IRC
[19:00:33] <caitp> the question is really "common to what", because it's all part of the same thing, none of it is really independent
[19:01:29] *** dpicky has quit IRC
[19:01:30] <mllie> caitp: to the project
[19:01:31] <mllie> well true
[19:01:41] <mllie> But used over the whole project
[19:02:41] *** tristanp_ has joined #angularjs
[19:03:15] *** lite_ has quit IRC
[19:03:38] *** lite_ has joined #angularjs
[19:03:58] *** uNki has quit IRC
[19:04:00] *** buzzedword has joined #angularjs
[19:04:18] <icfantv> mllie: back.
[19:04:26] *** tristanp has quit IRC
[19:05:06] *** guilbep has quit IRC
[19:05:09] <icfantv> mllie: IMO, the argument for breaking an app up into functional component is that if you have multiple devs working on the same project - or even when new ppl come in, it's more obvious where things are. but this really only applies to larger apps.
[19:05:40] *** SomeKittens has joined #angularjs
[19:05:41] <icfantv> mllie: if you have a small app and you don't ever intend for it to grow, breaking it up like that is probably way overkill and is actually more of a hassle to maintain.
[19:06:19] *** erve has quit IRC
[19:06:38] <mllie> icfantv: I see. But do you think of both the folder structure or just the multiple modules part?
[19:06:43] *** baweaver has joined #angularjs
[19:06:46] *** dszmaj has joined #angularjs
[19:07:04] <icfantv> one sec, phone call
[19:07:10] *** austinsk8s has joined #angularjs
[19:07:43] *** dszmaj has quit IRC
[19:08:30] *** buzzedword has quit IRC
[19:08:41] *** soee_ has joined #angularjs
[19:09:08] *** intellix has quit IRC
[19:09:19] <icfantv> so caitp is right in that i would argue so much code is developed to be reusable but actually isn't. we've been programmed for decades to write reusable code but the reality is unless you're writing a library, most code isn't really reusable.
[19:09:21] *** doppio|Laptop has joined #angularjs
[19:09:35] <icfantv> and in that sense, 5000 modules is ridiculous
[19:09:43] <icfantv> *having 5000 different modules
[19:09:46] *** cactauz has joined #angularjs
[19:10:01] *** soee has quit IRC
[19:10:04] *** asteele has joined #angularjs
[19:10:25] *** cmoneylulz has joined #angularjs
[19:10:39] <mllie> True
[19:11:16] <mllie> icfantv: but except the splitting into modules
[19:11:17] *** bayousoft has quit IRC
[19:11:52] <icfantv> mllie: we use one sub folder for each functional component and each of those folders defines one module. i'm actually in the process of ripping out requireJS and moving our code over to module imports. this allows me to have one main module file per component (and its responsibility is loading the sub modules, which are really just the services, factories, directives, etc…)
[19:12:36] <icfantv> mllie: not sure i follow
[19:12:46] *** davi has joined #angularjs
[19:13:02] *** cacts|wtf has quit IRC
[19:14:24] *** lite_ has quit IRC
[19:14:47] *** empyreanx has quit IRC
[19:15:13] *** bengillies has quit IRC
[19:15:20] <mllie> icfantv: that sounds like my example? :D
[19:15:32] *** cacts|wtf has joined #angularjs
[19:16:02] *** bayousoft has joined #angularjs
[19:16:27] <icfantv> sorry, i didn't look closely
[19:16:32] *** petermetz has quit IRC
[19:17:28] <icfantv> so that structure doesn't make sense to me, but then, i don't know your app and like caitp said, if it works for you and your team, then rock on.
[19:17:31] *** dopesong has joined #angularjs
[19:18:27] *** cactauz has quit IRC
[19:18:46] <mllie> icfantv: what do you mean by a functional component?
[19:18:48] <icfantv> so if you had a banking app, i might do something like: banking-app/common, banking-app/accounts, banking-app/notifications - if we're talking about functional pieces
[19:19:06] *** codeitloadit has joined #angularjs
[19:19:23] *** speeddragon has quit IRC
[19:19:41] <mllie> icfantv: Yeah, well, that sounds pretty similar
[19:19:49] *** codeitloadit has quit IRC
[19:20:07] <mllie> Like in this case core, layout and services is common and home and about is functional pieces
[19:20:31] <icfantv> so in the common module, you might have a service that does toasters
[19:20:33] *** ringzer0 has joined #angularjs
[19:21:08] *** g3funk is now known as braidn
[19:21:47] <mllie> icfantv: exactly
[19:22:01] *** geoid has joined #angularjs
[19:22:27] <mllie> icfantv: what exactly is notifications in "banking-app/notifications"?
[19:22:32] <icfantv> but again, this boils down to how big your app is.
[19:22:48] *** rickhan__ has quit IRC
[19:23:01] <icfantv> mllie: custom alerts
[19:23:07] <icfantv> balance drops below certain amount
[19:23:11] <icfantv> large withdrawl
[19:23:13] <icfantv> large deposit
[19:23:14] <icfantv> etc...
[19:23:26] <icfantv> how do you wnat to be notified? email? text? carrier pigeon?
[19:23:33] <mllie> icfantv: ah, not notifications as in toasters then
[19:23:34] *** davi has quit IRC
[19:23:41] *** erol has quit IRC
[19:23:44] <icfantv> right. toasters == on screen notifications
[19:24:11] <mllie> Yeah exactly
[19:24:15] *** Pookz has joined #angularjs
[19:24:31] *** tty32 has quit IRC
[19:24:34] <icfantv> was just an example - i try to keep one handy for situations like these - need to really sit down and work one up.
[19:24:41] *** diegoaguilar has joined #angularjs
[19:24:46] <mllie> icfantv: sounds pretty likely structural then
[19:24:58] *** buzzedword has joined #angularjs
[19:25:28] <mllie> How do you build a toaster service?
[19:25:37] <icfantv> why reinvent the wheel
[19:25:41] <icfantv> ?
[19:25:43] *** kuadrosx_ is now known as kuadrosx
[19:25:45] <icfantv> angular toastr
[19:25:47] <mllie> No I won't
[19:25:53] <icfantv> use the project from @Foxandxss
[19:25:58] <icfantv> (shameless plug)
[19:26:09] *** tty32 has joined #angularjs
[19:26:19] *** thirdknife has quit IRC
[19:27:26] <mllie> But do you render the HTML directly from the service?
[19:27:34] <icfantv> huh?
[19:27:42] <icfantv> oh. no
[19:27:44] *** iateadonut has quit IRC
[19:27:45] <icfantv> heck no
[19:27:46] *** andtorg has quit IRC
[19:27:57] *** thirdknife has joined #angularjs
[19:29:26] *** jareddlc has joined #angularjs
[19:29:28] <icfantv> several ways you can do this. we did a home grown solution using bootstrap classes that simply has a floating section on the page backed by an alerts array - when the array contains alerts, they display - and when they're removed from the array, they're removed from the DOM
[19:29:29] *** cotko has quit IRC
[19:30:15] <icfantv> not exactly sure how toastr works, but it probably just appends a <div> to the DOM with the location you specify (e.g., upper left corner) and it times out after a bit
[19:30:31] <mllie> icfantv: I see
[19:30:32] <icfantv> but nothing in your main HTML page that controls it
[19:30:36] *** geoid has quit IRC
[19:30:39] <Foxandxss> with toastr I create a <div element in the service
[19:30:45] <mllie> icfantv: but then you have a service that is injected where you want to show a toastr
[19:30:48] <Foxandxss> I insert it into the body (or any other element)
[19:31:09] <Foxandxss> then in the service I create the toast elements that are compiled and injected into the container (the div element I said)
[19:31:29] *** davi has joined #angularjs
[19:31:42] <mllie> Foxandxss: Oh, so you inject the HTML from the service?
[19:31:44] *** kitcat711_ has joined #angularjs
[19:31:51] *** geoid has joined #angularjs
[19:31:52] <Foxandxss> yes
[19:32:05] <Foxandxss> it is the only use case for DOM manipulation in a service
[19:32:05] <kitcat711_> Bonsoir,
[19:32:16] <icfantv> mllie: i misunderstood you before - technically wer're just populating an array
[19:32:17] <Foxandxss> for creating dynamic stuff
[19:32:22] <icfantv> not doing DOM manipulation in a service
[19:32:38] *** cmoneylulz has quit IRC
[19:32:42] <kitcat711_> how can I make a Controller calling a function in a module (that I wrote)?
[19:32:46] *** dszmaj has joined #angularjs
[19:32:54] *** raininja has quit IRC
[19:33:09] <mllie> Foxandxss: what's the directive for then?
[19:33:19] <Foxandxss> directive has all the behavior of the toast
[19:33:21] *** thirdknife has quit IRC
[19:33:24] *** mischat_ has joined #angularjs
[19:33:45] <mllie> Foxandxss: that is what is compiled inside the service then?
[19:33:56] <Foxandxss> yes
[19:34:00] <mllie> icfantv: I see. That's what I thought as well. Do you use a directive then that is listening to the service and shows notifications?
[19:34:10] <mllie> Foxandxss: thanks :)
[19:34:15] <Foxandxss> no
[19:34:19] <Foxandxss> no one is listening anywhere
[19:34:37] <icfantv> mllie: no
[19:34:38] <Foxandxss> if you need to show an element dynamically, you need to use a service (or another directive)
[19:34:40] *** Rhaynel has quit IRC
[19:34:41] <Pookz> I have dynamic meta description and keywords in my app and Google and other search engines are reading the Angular brackets instead of the content. How do I address this?
[19:34:42] *** tristanp has joined #angularjs
[19:34:45] *** tristanp_ has quit IRC
[19:35:03] *** Rhaynel has joined #angularjs
[19:35:05] <mllie> Foxandxss: ok
[19:35:11] <Foxandxss> https://github.com/Foxandxss/angular-toastr
[19:35:12] <Foxandxss> check the source
[19:35:15] <mllie> icfantv: so where do you render it to the dom then?
[19:35:17] <Foxandxss> src/toastr.js
[19:35:20] <mllie> Foxandxss: That's what I'm doing :)
[19:35:28] <Foxandxss> you say
[19:35:33] <Foxandxss> toastr.success('foo');
[19:35:42] <mllie> Foxandxss: Talking to icfantv about his solution at the same time though
[19:35:42] <Foxandxss> toastr is the service, success a method in it
[19:35:49] *** mischat__ has joined #angularjs
[19:35:51] <icfantv> mllie: our's is just an ng-repeat
[19:35:52] <icfantv> one sec
[19:36:08] *** raininja has joined #angularjs
[19:36:12] <Foxandxss> that will create a <div> container and then the success <toastr> item and inject it into the container
[19:36:29] *** kaka has quit IRC
[19:36:50] *** mischat has quit IRC
[19:36:58] <mllie> Foxandxss: I see
[19:37:10] <Foxandxss> if you think it twice, there is no other way
[19:37:11] <mllie> icfantv: yeah, but ng-repeat of what?
[19:37:23] <Foxandxss> you cannot hardcode stuff on a template because it is dynamic
[19:37:40] <mllie> Foxandxss: Of course not. That's why I was wondering :D
[19:38:03] *** mischat_ has quit IRC
[19:38:11] <icfantv> mllie: https://gist.github.com/icfantv/e8500bafd1d578048d0e
[19:38:39] <mllie> icfantv: Yeah
[19:38:39] *** c00ljs has quit IRC
[19:38:47] *** buzzedword has quit IRC
[19:38:52] <mllie> icfantv: but where is the alerts coming from? Just the controller?
[19:38:53] <kitcat711_> that is what I am trying :http://pastie.org/private/0cpooafy2k2bffokw133wg
[19:39:15] *** Aliks has joined #angularjs
[19:39:23] <icfantv> mllie: from my AlertService
[19:39:46] <mllie> icfantv: Via something?
[19:39:46] <icfantv> mllie: but i want to rip it all out and switch to toasters
[19:39:50] <kitcat711_> how can I make my model app.accounting calling getCurrentCompanyID
[19:39:53] *** chrisbirk has joined #angularjs
[19:40:24] *** davi has quit IRC
[19:40:36] <mllie> icfantv: since as far as I know you cannot bind directly to the service
[19:40:43] <mllie> Either via a directive or a controller
[19:40:44] <kitcat711_> got this error: https://docs.angularjs.org/error/$injector/unpr?p0=$getCompanyCtrlProvider%20%3C-%20$getCompanyCtrl%20%3C-%20accountingCtrl
[19:41:00] *** codeitloadit has joined #angularjs
[19:42:51] <caitp> kitcat711_: how did you set up the $getCompanyCtrl object?
[19:43:33] *** mxrguspxrt has joined #angularjs
[19:43:46] <kitcat711_> I did not: this is th first time I am trying to create my own small reusable piece of code
[19:44:06] <caitp> okay, if you didn't set it up at all, then that would explain why it doesn't work
[19:44:17] *** geoid has quit IRC
[19:44:26] *** fscala has quit IRC
[19:44:45] <caitp> the name of the object sounds suspicious, and is probably something that won't work very well, fwiw
[19:44:48] <kitcat711_> caitp: I tried to find an example on the web, but nothing came out
[19:45:13] <kitcat711_> I tried different form of names
[19:45:39] <caitp> <your module>.service/provider/factory/constant/value/etc(name, injectable-function-which-sets-up-the-object)
[19:45:40] *** buzzedword has joined #angularjs
[19:45:45] <caitp> you don't have anything like that?
[19:45:59] *** geoid has joined #angularjs
[19:46:20] <caitp> ok i see
[19:46:23] <kitcat711_> nope
[19:46:25] <caitp> yeah, you can't inject a controller
[19:46:39] <caitp> you' have to make getCompanyCtrl a service or similar
[19:46:44] *** davi has joined #angularjs
[19:46:51] <caitp> you could inject $controller to instantiate an instance of getCompanyCtrl
[19:46:59] <caitp> but, that's a weird thing to do
[19:47:14] <kitcat711_> oh ok, I guess the course I am attending on Udemy is not that far yet
[19:47:23] *** geoid has quit IRC
[19:47:34] <enlightenmental> question re: ng-reapt and $index.. if I want to have a column that lists the item index.. and stays when the table is reordered.. is that possible?
[19:47:47] *** fscala has joined #angularjs
[19:48:04] *** wyu has joined #angularjs
[19:48:04] <mllie> Foxandxss: when you use toasters, do you call it usually from controller or other services then?
[19:48:23] *** svycka has quit IRC
[19:48:35] <Foxandxss> where you need it
[19:49:00] <kitcat711_> caitp: just need this part of code to be avalaible to my modules: http://pastie.org/10602556
[19:49:04] *** chrisbirk has quit IRC
[19:49:08] <wyu> Hey - I have a typescript controller that that gets a dependency from ui-router resolves. Is it possible to make this dependency optional?
[19:49:27] <caitp> kitcat711_ yeah, so that thing would work perfectly well as a service
[19:49:47] *** thirdknife has joined #angularjs
[19:50:06] *** blitz-_ has joined #angularjs
[19:50:26] <mllie> Foxandxss: of course, but for example if you save a user?
[19:50:28] <kitcat711_> caitp: do u know where I can find a tutorial to learn to fit in as a service? - I mean not a 4hours tutorial
[19:50:33] *** Trigger_ has joined #angularjs
[19:50:37] <Foxandxss> where you need it
[19:50:38] <Trigger_> Hello
[19:50:50] *** tristanp has quit IRC
[19:51:22] <Trigger_> Is it alright to ask for help here, or is there another channel for that?
[19:52:17] <wyu> http://pastebin.com/Nfn5hmqZ
[19:52:19] <Foxandxss> it is fine
[19:52:45] <caitp> kitcat711_: module.factory(name, function($location) { return function() { ... that function you want to define ... }; })
[19:52:56] <caitp> the code in that function looks weird though
[19:53:00] *** Aliks has quit IRC
[19:53:34] *** Aliks has joined #angularjs
[19:53:34] *** bayousoft has quit IRC
[19:53:59] *** mischat__ has quit IRC
[19:54:05] <kitcat711_> caitp: I now about the weirdness of this code ;/ Sorry gotta go wife is calling, be back soon, thx anyway
[19:54:09] *** tristanp has joined #angularjs
[19:54:20] *** thirdknife has quit IRC
[19:54:28] <caitp> i meant the string manipulation stuff, might be worth just using a regexp instead, for clarity
[19:54:37] <caitp> the slice in particular looks suspicious
[19:54:38] *** geoid has joined #angularjs
[19:54:56] <caitp> oh nevermind, lastIndexOf, thought you were passing it a string
[19:55:07] <caitp> but yeah, a regexp is probably a better idea
[19:56:28] *** baweaver has quit IRC
[19:56:30] <wyu> nm don’t need it
[19:56:36] <Trigger_> Is there a way to prevent angular from sorting my retrieved json object's properties in alphabetical order?
[19:56:46] *** chrisbirk has joined #angularjs
[19:57:35] <Trigger_> I have a web api that sends a json object with a variety of properties in a certain order. When it's retrieved in angular, and displayed using ng-repeat, the properties are sorted alphabetically, which I don't want.
[19:57:56] *** sergey has joined #angularjs
[19:58:30] *** fred_ has joined #angularjs
[19:58:51] *** bayousoft has joined #angularjs
[19:58:54] *** fred_ is now known as Guest18714
[19:59:16] <Guest18714> good evening, my name is fred
[19:59:20] *** jr3 has joined #angularjs
[19:59:22] *** yky has joined #angularjs
[19:59:26] *** cactauz has joined #angularjs
[19:59:46] *** yky is now known as Guest57731
[19:59:51] *** chrisbirk has quit IRC
[20:01:05] *** jlebrech has quit IRC
[20:01:40] *** Guest57731 has quit IRC
[20:01:52] <Guest18714> beginners question, what would be the best starting point to start understanding angular, I mean realy understand it, not just copy some example code?
[20:02:14] *** chrisbirk has joined #angularjs
[20:02:21] *** ton has quit IRC
[20:02:23] *** italoacasas has quit IRC
[20:03:05] *** cacts|wtf has quit IRC
[20:03:51] <caitp> Guest18714: learn how the injector works, how the controller registry works, how the compiler works (that's the hardest part because that code is a mess, but the simple aspects aren't too bad)
[20:04:11] <caitp> oh, and how scopes work
[20:04:15] <caitp> that's pretty important too.
[20:05:06] <caitp> from simplest to most difficult, that's probably injector/controller registry on the left, scopes, and then compiler on the right
[20:05:33] *** tristanp has quit IRC
[20:06:05] *** tristanp has joined #angularjs
[20:06:06] <Guest18714> thank you caitp
[20:06:36] *** Jardayn has quit IRC
[20:06:38] *** martin__ has joined #angularjs
[20:06:55] <martin__> hi guys
[20:07:09] *** Trigger_ has quit IRC
[20:07:18] *** Ugolin has quit IRC
[20:08:02] <martin__> hello
[20:08:12] <martin__> anyone is there
[20:08:13] *** Ugolin has joined #angularjs
[20:08:19] *** geoid has quit IRC
[20:08:20] *** juro has quit IRC
[20:08:46] *** Guest18714 has quit IRC
[20:09:01] <martin__> hi Ugolin
[20:10:04] *** steeze has joined #angularjs
[20:10:06] *** kaka has joined #angularjs
[20:10:15] *** corioliss has quit IRC
[20:10:17] *** lawd has joined #angularjs
[20:10:32] <martin__> how i can learn angular js
[20:10:38] <steeze> so im using sweetalerts for some alert modal action, and they allow you to pass in an html string for a template of sorts. this doesn't work with angular's {{}} unfortunately
[20:10:41] *** LeBlaaanc has quit IRC
[20:10:44] <steeze> anyone know a way to get around this?
[20:11:39] <martin__> hi steeze
[20:11:59] *** bengillies has joined #angularjs
[20:12:12] *** VictorCL_ has joined #angularjs
[20:12:30] <steeze> hi
[20:12:48] *** Rhaynel_ has joined #angularjs
[20:13:03] <martin__> are you angular js expert
[20:13:11] <steeze> no
[20:13:34] <martin__> are you beginer
[20:13:41] <steeze> no
[20:14:06] *** uNki has joined #angularjs
[20:14:34] *** Rhaynel_ has quit IRC
[20:14:40] <martin__> do you know about $scope
[20:14:51] *** bbarke has quit IRC
[20:14:56] *** Aliks has quit IRC
[20:15:00] *** Rhaynel_ has joined #angularjs
[20:15:23] <steeze> yes
[20:15:42] *** fedenunez has quit IRC
[20:15:51] <Imaginativeone> can I inject a module into a controller?
[20:15:53] <martin__> can you tell me
[20:16:03] <martin__> explain
[20:16:13] <Imaginativeone> martin_: what do you need?
[20:16:17] *** bbarke has joined #angularjs
[20:16:21] <martin__> i am new about angular
[20:16:33] *** fedenunez has joined #angularjs
[20:16:47] *** bengillies has quit IRC
[20:16:59] *** Vladimirski has joined #angularjs
[20:17:27] *** Rhaynel_ has quit IRC
[20:17:35] *** Rhaynel has quit IRC
[20:18:08] <Imaginativeone> do you have a question?
[20:18:18] *** Ragnar has joined #angularjs
[20:18:20] <Vladimirski> I followed a tutorial and created a directive, this directive I then used in the index.html file using <app-info>... but the thing is I CANNOT find where I created this directive, no where in the code can I find app-info. Only appInfo without the dash
[20:18:28] *** Rhaynel has joined #angularjs
[20:18:30] *** uNki has quit IRC
[20:18:46] <steeze> Vladimirski, you use camel case in your js and in your html you use snake case
[20:19:03] <Vladimirski> steeze: what does that mean?
[20:19:08] <steeze> your directive would be named appInfo, and in your view (html) you'd use <app-info>
[20:19:18] <steeze> camelCase, snake-case
[20:19:21] <Vladimirski> hmm okej
[20:19:35] <Vladimirski> they didn't say that in the tutorial and that drove me crazy :P
[20:19:40] <steeze> where did you lear to write the directive? that's a pretty important thing to talk about
[20:19:40] <Imaginativeone> :-)
[20:19:41] <Vladimirski> steeze: thanks alot for the explanation
[20:19:48] <steeze> haha np
[20:19:50] *** kaka has quit IRC
[20:19:52] <Vladimirski> it's codeacademy steeze
[20:19:56] <steeze> ahh
[20:19:58] *** doginal has joined #angularjs
[20:20:10] <Imaginativeone> udemy is the best
[20:20:19] <Vladimirski> usually they explain everything in detail and they're great except this bit
[20:20:28] <Vladimirski> Imaginativeone: which course in udemy?
[20:20:40] <Imaginativeone> Dan Wahlin
[20:20:45] <Imaginativeone> that's the author
[20:20:53] <Imaginativeone> would you like me to look it up?
[20:20:54] <Vladimirski> Gonna check it out thanks Imaginativeone
[20:20:59] *** zamerick has quit IRC
[20:21:03] <martin__> steeze, $scope ?
[20:21:08] <steeze> ha i was actually about to recommend dan wahlin's blog post about directives
[20:21:14] <Imaginativeone> You're welcome. I am very confident you'll enjoy it
[20:21:20] <steeze> dude martin__ you're not asking a question. i'm not about to lecture you on $scope. go google it
[20:21:30] <Imaginativeone> lol
[20:21:36] <steeze> Vladimirski, dan wahlin has some free writeups you can check out before you do udemy
[20:21:40] <steeze> or is udemy free?
[20:21:41] <Imaginativeone> I will help when he asks...
[20:21:42] *** eago has joined #angularjs
[20:21:51] <Imaginativeone> Udemy can be pricey
[20:22:00] <Imaginativeone> but they have excellent sales
[20:22:06] *** edrocks has quit IRC
[20:22:13] <Vladimirski> steeze: it's not free but alot of the time they have pretty awesome prices
[20:22:15] *** edrocks has joined #angularjs
[20:22:16] <Vladimirski> or price drops
[20:22:29] *** p0k0 has quit IRC
[20:22:40] <Vladimirski> I bought a swift course for 20 dollars which normally cost around 300 steeze
[20:23:00] <steeze> ohhh yeah duh, udemy. i was thinking about udacity in my mind
[20:23:02] <steeze> udemy is awesome
[20:23:05] *** sbellina has quit IRC
[20:23:06] <steeze> never pay full price for a course
[20:23:09] <Imaginativeone> their Ionic course is worth it at any price
[20:23:24] <steeze> they actually do this weird a/b pricing. you can see a price then open the same course in a private tab and the price will be different lol
[20:23:27] *** ag0rex has quit IRC
[20:23:33] <Imaginativeone> :-)
[20:23:43] <Imaginativeone> I have paid full price when I needed the info
[20:23:59] *** JohnSmithy has joined #angularjs
[20:24:05] *** sbellina has joined #angularjs
[20:24:14] *** baweaver has joined #angularjs
[20:24:15] *** davi has quit IRC
[20:25:31] *** martin__ has quit IRC
[20:25:48] *** edrocks has quit IRC
[20:26:00] *** cschneid has quit IRC
[20:26:43] *** cotko has joined #angularjs
[20:26:50] *** aghiuru has quit IRC
[20:28:00] *** Bruno has joined #angularjs
[20:28:06] *** aghiuru has joined #angularjs
[20:28:16] *** JohnSmithy has quit IRC
[20:28:17] *** baweaver has quit IRC
[20:28:21] *** bayousoft has quit IRC
[20:28:23] *** Bruno is now known as Guest87143
[20:28:40] *** apotry has joined #angularjs
[20:28:43] *** Sky[x] has quit IRC
[20:28:56] *** juddey has joined #angularjs
[20:29:46] <Vladimirski> steeze: well ionic is the reason I learn angular now
[20:29:54] *** erve has joined #angularjs
[20:30:50] *** sssilver has quit IRC
[20:31:00] *** zeioth__ has quit IRC
[20:31:27] <Vladimirski> steeze: how do you mean by opening the private tab
[20:31:32] <steeze> private window sorry
[20:31:42] <Vladimirski> just open and the price changes?
[20:31:55] <steeze> not necessarily, but i've seen it happen
[20:31:58] *** sssilver has joined #angularjs
[20:32:04] <steeze> not sure what algo they use to determine prices
[20:32:07] *** Guest87143 has quit IRC
[20:32:22] *** cmoneylulz has joined #angularjs
[20:32:42] *** riccoski has joined #angularjs
[20:32:50] *** aghiuru has quit IRC
[20:32:59] <Vladimirski> Imaginativeone: which ionic course do you recommend?
[20:33:09] *** Ugolin has quit IRC
[20:33:15] *** Ugolin has joined #angularjs
[20:33:20] <Imaginativeone> V: brb
[20:34:50] <Imaginativeone> back
[20:34:53] <Imaginativeone> Rapid Prototyping with Ionic: Build a Data-Driven Mobile App
[20:35:04] <Imaginativeone> That guy is awesome
[20:35:06] *** cschneid_ has joined #angularjs
[20:36:05] *** italoacasas has joined #angularjs
[20:36:11] *** bayousoft has joined #angularjs
[20:36:20] <Pookz> Anyone use Prerender?
[20:36:56] *** yky has joined #angularjs
[20:37:21] *** yky is now known as Guest1176
[20:37:41] <kitcat711_> caitp: u're right a regex would be better
[20:38:15] *** zeioth__ has joined #angularjs
[20:38:55] *** theblang has joined #angularjs
[20:40:07] *** lite_ has joined #angularjs
[20:41:02] *** mnzaki has quit IRC
[20:41:28] *** Aliks has joined #angularjs
[20:41:34] *** theblang has quit IRC
[20:42:16] *** mxrguspxrt has quit IRC
[20:42:18] *** addshore has joined #angularjs
[20:43:33] <addshore> Hi all! It's basically my first time of using angular JS promises and I appear to be wrapping myself in a big old mess. It would be great if someone could look at https://github.com/addshore/grafana-wmfpageviews-datasource/blob/improve2/datasource.js#L214 specifically around line 214!
[20:43:51] <addshore> Any comments on my terrible use of promises in there would be great >.>
[20:44:38] *** p0k0 has joined #angularjs
[20:45:34] *** Mumpsimus has joined #angularjs
[20:46:10] *** s00pcan has quit IRC
[20:46:50] *** wyu has quit IRC
[20:47:03] *** wyu has joined #angularjs
[20:47:36] *** thatslifeson has joined #angularjs
[20:47:48] *** s00pcan has joined #angularjs
[20:48:52] *** baweaver has joined #angularjs
[20:48:55] *** Shayanjm has quit IRC
[20:50:07] *** tristanp has quit IRC
[20:50:18] *** chrisbirk has quit IRC
[20:50:27] *** tristanp has joined #angularjs
[20:50:32] *** annlewis has joined #angularjs
[20:51:00] *** jhirley has quit IRC
[20:51:00] *** cvanball has joined #angularjs
[20:51:13] *** Shayanjm has joined #angularjs
[20:51:21] *** pelo88 has joined #angularjs
[20:51:52] *** jhirley has joined #angularjs
[20:54:10] <Vladimirski> Imaginativeone: Thanks :))
[20:54:34] *** baweaver has quit IRC
[20:55:31] *** annlewis has quit IRC
[20:56:16] *** andtorg has joined #angularjs
[20:57:18] <Vladimirski> Imaginativeone: Do I have to be a programmer in order to understand that course, I feel just like a basic newbie programmer atm so I'm not sure if I will understand the course..
[20:57:27] *** digisky has quit IRC
[20:57:55] *** Schalla has joined #angularjs
[20:57:56] *** Schalla has joined #angularjs
[20:58:34] *** ril has quit IRC
[20:59:01] *** afontes has joined #angularjs
[20:59:04] *** chrisbirk has joined #angularjs
[20:59:18] *** iamvfl has joined #angularjs
[20:59:23] *** geoid has joined #angularjs
[20:59:36] <iamvfl> Hi-diddly-ho folkerinos
[20:59:43] *** zeioth__ has quit IRC
[20:59:47] <Imaginativeone> You'll be fine. However, if you master the Wahlin basic videos + Wahlin's directives...you'll be jumping for joy
[21:00:11] <iamvfl> I have a question regarding where I should store my currently logged user's state
[21:00:35] <Imaginativeone> Vladimirski: Have you been working with AngularJs for a while?
[21:00:37] <iamvfl> I have an angular app with an ApplicationController which is bound to the <body> of my document
[21:01:11] <Imaginativeone> iamvfl: our team takes that from the $rootScope and stores it in a service
[21:01:16] *** pelo88 has quit IRC
[21:01:40] <iamvfl> Imaginativeone: I was thinking of using the rootScope, but was wondering if there were any caveats I should watch out for
[21:01:52] *** marthinal has quit IRC
[21:02:27] <Imaginativeone> many experts advise against using any sort of global scope
[21:02:34] *** digisky has joined #angularjs
[21:03:12] *** cebor has quit IRC
[21:03:14] *** elrabin_ has quit IRC
[21:03:50] *** elrabin has joined #angularjs
[21:04:39] <iamvfl> Imaginativeone: have you run into any problems with it yet?
[21:04:41] *** wrainbolt has quit IRC
[21:05:13] *** ngbot has joined #angularjs
[21:05:14] <ngbot> [angular.js] Narretz pushed 1 new commit to master: http://git.io/vRZPK
[21:05:14] <ngbot> angular.js/master 6e18b50 Martin Staffa: feat(ngAnimate): provide ng-[event]-prepare class for structural animations...
[21:05:14] *** ngbot has left #angularjs
[21:05:27] *** othll0 has quit IRC
[21:05:40] *** Aliks has quit IRC
[21:05:42] *** othll0 has joined #angularjs
[21:07:04] *** saysora has quit IRC
[21:07:07] *** owenjones has joined #angularjs
[21:08:04] *** elrabin has quit IRC
[21:08:37] <Imaginativeone> iamvfl: no problems yet
[21:08:39] *** cebor has joined #angularjs
[21:08:51] *** Dietrich_ has joined #angularjs
[21:09:06] <Vladimirski> Imaginativeone: no haven't done anything angular by myself only tutorials for a week
[21:09:14] <Dietrich_> let's say you want to use $resource, and you want the custom URL to contain a literal :
[21:09:22] <Dietrich_> how boned are you?
[21:09:45] <Dietrich_> because teamcity uses : in their rest api
[21:10:09] *** c00ljs has joined #angularjs
[21:10:12] <archon-> should be fine
[21:10:43] <archon-> i think you can do '/foo/:bar' and then {bar: ':baz'}
[21:10:46] <Imaginativeone> wouldn't you just filter that out?
[21:10:58] <steeze> so i'm using a third party library that takes in an html string for a template of sorts. i'm triyng to use $compile so that i can interpolate my ng-repeats before stuffing the string into the template
[21:10:59] *** blitz-_ has quit IRC
[21:11:02] <Dietrich_> ah didn't think of that approach
[21:11:05] <steeze> anyone know how to go about that?
[21:11:27] <archon-> there might be another way.. '/foo/\:bar' might work too in your declaration
[21:11:38] <archon-> just guessing
[21:11:47] *** zeioth__ has joined #angularjs
[21:11:50] *** owenjones has quit IRC
[21:11:52] <Imaginativeone> steeze: you mean "stringify"?
[21:12:02] <steeze> i guess you could call it that
[21:12:03] <Dietrich_> the url needs to be \builds\state:running
[21:12:23] <Dietrich_> i tired \builds\state/:running and it just ended up being builds\state
[21:12:28] <Imaginativeone> that sounds ambitious
[21:12:39] *** bengillies has joined #angularjs
[21:12:40] <steeze> it shouldn't be
[21:12:43] <archon-> \: not /:
[21:13:02] <steeze> i should be able to compile the string against a specified scope and stuff that in my string, but i'm just getting the object back from compile and not sure where to go from ehre
[21:13:06] <archon-> the URL uses backslashes?
[21:13:56] <Dietrich_> hey {url: /state:pstate, params: {'pstate
[21:14:06] <Dietrich_> hey {url: /state:pstate, params: {'pstate': ':running'} } did the trick
[21:14:38] <Dietrich_> no there aren't backslashes, i was hoping it would escape the : from being considered the start of a token
[21:14:48] <archon-> cool
[21:15:20] <cocao> source image with true or false
[21:15:28] <cocao> anybody help me
[21:15:59] *** thirdknife has joined #angularjs
[21:17:47] *** tplaner has joined #angularjs
[21:18:13] <steeze> cocao, huh?
[21:18:42] *** elton has joined #angularjs
[21:18:42] *** dpicky has joined #angularjs
[21:18:45] <cocao> i have a application
[21:18:55] *** bengillies has quit IRC
[21:19:04] <cocao> where i have show one img if true or another if false
[21:19:25] <archon-> use two image tags with an ng-show attribute
[21:19:30] <steeze> ng-if or ng-show or ng-hide
[21:19:31] *** Aliks has joined #angularjs
[21:19:51] <cocao> better with ng-if
[21:19:58] *** Vladimirski has quit IRC
[21:20:05] <cocao> or ng-show is better
[21:20:08] <steeze> depends on what you want
[21:20:17] <steeze> ng-if adds/removes the dom element. ng-show just hides it
[21:20:35] *** tristanp has quit IRC
[21:20:42] <steeze> if it's only happening once, i'd suggest ng-if. if it's toggling often, i'd suggest ng-show
[21:21:17] *** riccoski has quit IRC
[21:21:35] <archon-> or if you're doing something else based on the existence of that element
[21:21:38] *** venkat_330 has quit IRC
[21:21:45] *** Guest1176 has quit IRC
[21:21:53] *** tristanp has joined #angularjs
[21:21:54] <cocao> happen just on load page
[21:21:57] *** Aliks has quit IRC
[21:22:10] *** iamvfl has quit IRC
[21:22:20] <archon-> the difference in your case is probably negligable
[21:22:56] <cocao> is two pictures and i show one if true or other if false
[21:23:00] <Chadk> It probably is. But why introduce more points of failure when you're not really adding much?
[21:23:28] *** citizen-stig has joined #angularjs
[21:23:47] <steeze> cocao, well you could negate the same value in one of your ng-if checks so that they're mutually exclusive
[21:24:07] <steeze> 1st ng-if="someValue" 2nd ng-if="!someValue"
[21:24:19] *** albernazmiguel has joined #angularjs
[21:24:38] <cocao> i'm using this but i don't know if right ng-src="{{cli.servicos.encomenda == true && 'svg/encomendasA.svg' || 'svg/encomendasD.svg'}}
[21:24:38] *** eago has quit IRC
[21:25:31] <steeze> that's gonna return a boolean no?
[21:25:51] *** andtorg has quit IRC
[21:25:55] <steeze> looks like youre incorrectly trying to implement ternary?
[21:26:00] <cocao> is return the svg i want show
[21:26:23] *** Aliks has joined #angularjs
[21:26:27] *** lite_ has quit IRC
[21:26:27] <cocao> ternary is better way
[21:26:33] <steeze> a && b || c returns a boolean value
[21:26:48] *** cvanball has quit IRC
[21:27:48] *** citizen-stig has quit IRC
[21:28:05] <cocao> thanks i try now
[21:28:14] <steeze> wut
[21:28:31] <steeze> your code as is seems like it would return a boolean value and not a string to be used as src
[21:28:44] <steeze> ternary would probably be okay. it would evaluate to whatever string you want depending on the first value.
[21:28:48] <steeze> ng-if/ng-show is another way
[21:28:55] *** elton has quit IRC
[21:28:56] *** baweaver has joined #angularjs
[21:29:09] *** elfenheart has joined #angularjs
[21:29:18] *** codeme has joined #angularjs
[21:29:48] *** ngbot has joined #angularjs
[21:29:49] <ngbot> [angular.js] Narretz pushed 1 new commit to master: http://git.io/vRZQ3
[21:29:49] <ngbot> angular.js/master 6628b4f Utsav Shah: fix($http): throw if url passed is not a string...
[21:29:49] *** ngbot has left #angularjs
[21:30:22] *** chrisbirk has quit IRC
[21:30:37] <Ankhers> If I make a modification to a template in my angular application, I do not se the changes if I do a simple reload. I appear to need to clear my browsers cache and reload in order to see changes. How can I prevent needing to clear my cache and see my changes on a simple reload?
[21:30:47] *** Jay__ has joined #angularjs
[21:31:12] *** annlewis has joined #angularjs
[21:31:25] <steeze> that's a browser thing Ankhers
[21:31:26] <cocao> i use ternary and works well
[21:31:31] <steeze> what are you using to server your app?
[21:31:33] *** sctskw has joined #angularjs
[21:31:39] *** buzzedword has quit IRC
[21:31:43] <Ankhers> steeze: a rails application.
[21:31:51] *** geoid has quit IRC
[21:31:53] <steeze> might be able to modify the proxy/server to tell the browser not to cache your assets
[21:32:18] <Ankhers> steeze: I'll look into that. Thanks.
[21:32:43] <steeze> in chrome dev tools, i think there may be an option to alwasy clear cache on reload
[21:32:47] *** buzzedword has joined #angularjs
[21:32:57] <steeze> alternatively, using private browser, itll always do a clear cache reload
[21:33:08] <steeze> alternatively, ctrl shift R, or ctrl f5
[21:33:11] <steeze> Ankhers, ^
[21:33:29] <Ankhers> steeze: We have been using the dev tools trick. Unfortunately that does not scale to our clients that use the application.
[21:33:32] *** buzzedword has quit IRC
[21:33:44] <Ankhers> ctrl shift R does not fix it either (at least on a mac)
[21:33:46] *** baweaver has quit IRC
[21:33:53] <steeze> so like you dev something and push it to prod and it doesnt reload properly for the client?
[21:33:54] *** ahaeger has quit IRC
[21:34:01] *** yky has joined #angularjs
[21:34:26] *** yky is now known as Guest15413
[21:34:29] <Ankhers> steeze: I believe that is what happened. Admittedly I am not really too close to the angular side of things. I'm just trying to find a solution.
[21:34:45] <steeze> ahh thought this was just a dev issue
[21:35:11] <Ankhers> I would have to verify with someone, but I believe it is more than dev.
[21:35:22] <steeze> your server dude should have the proxy/server set up to use asset versioning
[21:35:26] <steeze> not sure exactly what it's called
[21:35:35] <steeze> but where you have asset.js?v=1.1
[21:35:36] <steeze> or something
[21:35:44] *** buzzedword has joined #angularjs
[21:35:47] <Ankhers> steeze: I'll take a look into that. I appreciate the help.
[21:36:19] <steeze> and thatll tell the browser not to use the cached version
[21:36:34] *** tristanp has quit IRC
[21:37:20] <Dietrich_> every time i try to use $resource I end up regretting the decision
[21:37:25] <Dietrich_> why do i keep doing this to myself
[21:37:32] <steeze> haha i love resource! :p
[21:37:47] *** syzygy_ has quit IRC
[21:37:47] *** ahaeger has joined #angularjs
[21:37:47] <Dietrich_> it offers so much promise
[21:39:04] <Dietrich_> https://teamcity.jetbrains.com/guestAuth/api/builds/running:true
[21:39:14] *** Scubao has quit IRC
[21:39:23] <Dietrich_> https://teamcity.jetbrains.com/guestAuth/api/builds/642554
[21:39:25] *** Ugolin has quit IRC
[21:39:31] *** chrisbirk has joined #angularjs
[21:39:36] <Dietrich_> how do I deal with that bs
[21:39:46] *** zeioth_ has joined #angularjs
[21:39:54] *** baweaver has joined #angularjs
[21:39:55] <Dietrich_> the locator returns a wrapper object, but by id returns just the object
[21:40:01] *** Ugolin has joined #angularjs
[21:40:02] <Dietrich_> two resources?
[21:40:02] *** elfenheart has quit IRC
[21:40:45] <kegster> When using ng-submit on a form, can you pass parameters to a function using values inside that form
[21:40:47] <kegster> controller?
[21:40:47] *** tristanp has joined #angularjs
[21:40:49] *** mary5030_ has joined #angularjs
[21:41:03] <kegster> oh wait nvm
[21:41:05] <steeze> kegster, yeah it should be on the model
[21:41:07] <kegster> it already is
[21:41:23] <kegster> yeah
[21:41:33] <kegster> i wasn't aware the object was available witin the js
[21:41:37] <kegster> sorry brain fart :P
[21:41:43] *** mary5030 has quit IRC
[21:41:50] *** Ugolin has quit IRC
[21:41:52] <steeze> that's the beauty of angular!
[21:41:56] *** Ugolin has joined #angularjs
[21:42:00] <steeze> dat data binding bruh
[21:42:10] *** zeioth__ has quit IRC
[21:42:24] <kegster> :)
[21:42:40] <kegster> yessir. i just somehow confused myself and once i asked the question i realized i should have not asked :P
[21:42:41] <steeze> is there a way to get the html string from $compile? i can append it to my views using jqlite, but i'm trying to pass it into a third party's template area with no luck
[21:42:46] <kegster> i was looking at an example that got me mixed up
[21:42:56] <steeze> kegster, haha happens all the time to me.
[21:43:02] <steeze> lay off the devil's lettuce ;)
[21:43:21] *** Oleander has quit IRC
[21:43:23] *** elrabin has joined #angularjs
[21:43:24] *** edrocks has joined #angularjs
[21:45:54] <kegster> can i use jquery $() selectors inside a controller function?
[21:46:00] <kegster> trying to fade something out aftera form gets submitte
[21:46:28] <steeze> kegster, the $ in angular is actually jqlite i believe. not sure what all animations come with it
[21:46:31] <steeze> look up angular element
[21:46:33] *** VictorCL_ has quit IRC
[21:46:51] *** albernazmiguel has quit IRC
[21:47:11] <kegster> so just use jQuery basically
[21:47:23] <kegster> i didnt look too much into it bc i was told jquery plays nice with angular heh
[21:47:24] <steeze> is it already in your project?
[21:47:38] <steeze> i've personally never needed jquery in my angular projects
[21:47:45] *** phrozensilver has quit IRC
[21:47:54] <steeze> but i dont see any harm in it
[21:47:56] <kegster> i got it fixed. i had the wrong wrappe ri guess heh
[21:48:04] <kegster> well to select elements by class
[21:48:05] *** codeme has quit IRC
[21:48:18] *** othll0 has quit IRC
[21:48:19] <kegster> or to include some jquery UI
[21:48:47] *** moep has quit IRC
[21:48:49] *** tristanp has quit IRC
[21:48:56] *** LeBlaaanc has joined #angularjs
[21:49:07] *** mllie has quit IRC
[21:49:07] *** sfeinste has joined #angularjs
[21:49:17] *** tristanp has joined #angularjs
[21:49:22] *** sctskw has quit IRC
[21:49:30] <kegster> u know what
[21:49:31] *** tristanp has quit IRC
[21:49:39] <kegster> i think i need a timeout with some devils lettuce :P
[21:49:50] *** jareddlc has quit IRC
[21:49:57] *** tristanp has joined #angularjs
[21:50:32] <Imaginativeone> my form pops up as an angular material dialog (modal)
[21:50:45] *** Rhaynel has quit IRC
[21:50:46] <Imaginativeone> do I need to terminate the $digest?
[21:50:57] <Imaginativeone> can that even be done?
[21:51:31] *** Zalabinsky has quit IRC
[21:52:36] *** erve has quit IRC
[21:52:54] *** Ugolin has quit IRC
[21:53:03] <kegster> Before I go, can a form submit on FormController call a function in FormController that modifies a variable in another controller?
[21:53:08] *** thirdknife has quit IRC
[21:53:20] *** Ugolin has joined #angularjs
[21:53:31] *** sixr420 has joined #angularjs
[21:53:32] *** Sky[x] has joined #angularjs
[21:53:42] *** lawd has quit IRC
[21:53:50] *** fedenunez has quit IRC
[21:53:59] *** erve has joined #angularjs
[21:53:59] *** addshore has left #angularjs
[21:54:23] *** junmin has quit IRC
[21:55:29] <Imaginativeone> kegster: yes
[21:56:01] *** Ragnar has quit IRC
[21:58:00] *** jareddlc has joined #angularjs
[21:58:07] *** junmin has joined #angularjs
[21:58:25] <steeze> kegster, haha don't we all!
[21:58:51] *** bayousoft has quit IRC
[21:59:36] *** raininja has quit IRC
[21:59:36] *** liamonade has joined #angularjs
[21:59:51] *** elrabin has quit IRC
[21:59:56] *** jareddlc has quit IRC
[22:00:01] *** dcherman2 has joined #angularjs
[22:00:06] *** bayousoft has joined #angularjs
[22:00:33] *** Ir1sh has quit IRC
[22:01:58] <kegster> Imaginativeone, do i have to use a service?
[22:02:08] <Imaginativeone> yep
[22:02:15] <kegster> i meant to ask "wuthout using a service" haha woops
[22:02:26] *** dcherman has quit IRC
[22:02:27] *** zeioth__ has joined #angularjs
[22:02:28] <kegster> ok well at least i knew what i had to do but just didn't get the answer i wanted ;)
[22:02:31] <Imaginativeone> heh heh
[22:02:35] *** citizen-stig has joined #angularjs
[22:02:37] *** doppio|Laptop is now known as doppio|Away
[22:02:46] *** liamonade has quit IRC
[22:02:52] *** arizzo has quit IRC
[22:03:17] *** cheef has joined #angularjs
[22:03:25] *** dcherman has joined #angularjs
[22:04:05] <kegster> I DON'T WANNA!!
[22:04:12] *** zeioth_ has quit IRC
[22:04:12] <cheef> evening guys, does anyone have a solutions for determining if a form has been interacted with reliably when the initial data model you're binding two has data in it?
[22:04:14] <kegster> haha. man i just need to go to sleep. been a long day i feel delirious :P
[22:04:35] *** codeme has joined #angularjs
[22:04:40] <kegster> Imaginativeone, question: when using a service, is the var still accessible via the controller for use with ng-show still?
[22:04:47] *** citizen-stig has quit IRC
[22:05:04] *** citizen-stig has joined #angularjs
[22:05:20] <archon-> cheef: $dirty
[22:05:22] <Imaginativeone> before or after the other controller has access to it?
[22:05:26] <kegster> I'm basically trying to create a globally accessible variable to determine if the user is authenticated or not, and i use ng-show="isauth"
[22:05:27] <kegster> or something
[22:05:30] *** dcherman2 has quit IRC
[22:05:54] <kegster> Imaginativeone, well i'm not sure. i thought the controller has access to it via the serivce
[22:05:58] <kegster> so maybe "after" it has access
[22:05:59] <kegster> lol
[22:06:00] *** squeakytoy has quit IRC
[22:06:08] <Imaginativeone> :-)
[22:06:21] <cheef> archon-: are you sure? what im seeing is that when the model already has data in, the fields are set to $pristine
[22:06:21] <Imaginativeone> the var is still accessible, yes
[22:06:21] *** tristanp_ has joined #angularjs
[22:06:26] *** tristanp has quit IRC
[22:06:29] <Imaginativeone> it just might have a different value
[22:06:29] *** BlinkyBill has joined #angularjs
[22:06:40] *** bkinsey808 has joined #angularjs
[22:06:41] *** Hounddog has quit IRC
[22:06:45] <kegster> OK. I'll read up on some service examples with cross-var usage and see what i can cme up with.
[22:07:09] <kegster> basically i have a div for each "screen" and the login screen is showing when auth is false, and when true it goes away and the main screen div shows
[22:07:12] <Imaginativeone> best wishes...sorry I can't help right now
[22:07:17] <kegster> oh ok :)
[22:07:26] <kegster> is this something i'm doing the wrong way, or maybe is there an $auth service haha
[22:07:31] <Imaginativeone> I mean with the details
[22:07:33] <kegster> i'm more picking brains at the moment than looking for solution
[22:07:35] *** citizen-stig has quit IRC
[22:07:40] <kegster> well maybe anotehr day m8 :D
[22:07:56] <cheef> and the docs for $dirty
[22:07:57] <cheef> True if user has already interacted with the form control
[22:09:15] *** ciawal has quit IRC
[22:09:35] *** diegoaguilar has quit IRC
[22:11:36] *** ciawal has joined #angularjs
[22:12:14] *** cotko has quit IRC
[22:13:00] <kegster> what about using rootScope vs service?
[22:13:30] *** herme5 has quit IRC
[22:14:53] *** Hink has joined #angularjs
[22:15:10] *** sbellina has quit IRC
[22:16:23] *** wrainbolt has joined #angularjs
[22:16:25] *** acalbaza has joined #angularjs
[22:16:26] *** riccoski has joined #angularjs
[22:17:28] *** wrainbolt has quit IRC
[22:17:37] *** doppio|Away is now known as doppio|Laptop
[22:18:07] *** elyssonmr has quit IRC
[22:18:18] *** tristanp_ has quit IRC
[22:19:22] *** tristanp has joined #angularjs
[22:21:26] *** mekhami has joined #angularjs
[22:21:44] *** riccoski has quit IRC
[22:22:24] *** jnap has quit IRC
[22:22:27] <mekhami> i have a route /confirm/:code and whenever i'm on, for instance, /confirm/asdf and my browser refreshes (livereload) I get a console error Unexpected token < What is causing this?
[22:22:59] <Jay__> I am having trouble getting the angularjs to work on my web server. Can anyone give me any ideas as to why?
[22:23:20] <archon-> because you didn't do it right
[22:24:07] *** cheef has quit IRC
[22:24:11] *** cotko has joined #angularjs
[22:24:23] <Jay__> lol
[22:24:29] <Jay__> thx
[22:24:45] <archon-> mekhami: probably an extra < in your code
[22:24:58] *** tristanp has quit IRC
[22:25:14] <mekhami> archon-: it doesn't happen when i load the page initially, just when i refresh, so that wouldn't make any sense.
[22:25:21] *** tristanp has joined #angularjs
[22:25:31] <archon-> couldn't say without seeing the code then
[22:25:36] *** GitGud has quit IRC
[22:26:02] <mekhami> https://gist.github.com/mekhami/bb0373fce714c79b471b
[22:26:32] <steeze> Jay__, you're going to get silly answers if you ask silly questions
[22:27:24] *** hohl has joined #angularjs
[22:27:32] <archon-> mekhami: maybe an extra < in your html
[22:27:35] *** Guest15413 is now known as yky_
[22:27:49] <archon-> around your code element maybe
[22:28:53] <mekhami> archon-: i already explained how that's not possible
[22:30:31] <mutsayu> I am using the github API to get contents of a repo and I am splitting it by line, but how do I keep the whitespaces?
[22:30:36] <mutsayu> I wanna keep the indents
[22:30:47] <mutsayu> when receiving contents of github api after I decode it
[22:30:49] <Jay__> I am new to angularjs, I'm going to try looking more closely at my code again.
[22:30:57] <archon-> mekhami, i'd have to see the whole thing.. nothing in what you pasted is revealing
[22:31:04] *** speeddragon has joined #angularjs
[22:31:25] <archon-> but perhaps that formdata.code has a definition after you reload that it didn't the first time
[22:31:39] <steeze> Jay__, yeah, are there any errors? warnings? we don't know what you mean by 'not working'
[22:31:49] *** walli has joined #angularjs
[22:31:57] *** sergey has quit IRC
[22:32:32] <archon-> mekhami: does it say what line the error is on?
[22:32:33] <mekhami> archon-: https://gist.github.com/mekhami/ddfaaacf2d9a63e4d03c
[22:32:39] <mekhami> archon-: line 1 of app.js
[22:32:49] <mekhami> https://gist.github.com/mekhami/3c67799ff20f0b7c6817
[22:32:52] *** tahj_ has quit IRC
[22:32:52] <mekhami> that's all my html and js
[22:34:17] *** codeme has quit IRC
[22:34:26] <archon-> is there a stack trace?
[22:34:27] *** Sky[x] has quit IRC
[22:34:45] *** CanyonMan has quit IRC
[22:34:46] <mekhami> no
[22:34:54] *** cotko has quit IRC
[22:35:09] *** wrainbolt has joined #angularjs
[22:35:33] <Jay__> well, I am working on the 1.1 Ramp Up tutorial and the function StoreController alert doesn't work for me. I checked my includes and app.js. And I can't seem to get it to work.
[22:36:24] <archon-> mekhami: http://stackoverflow.com/questions/26061225/why-gulp-livereload-causes-uncaught-syntaxerror-unexpected-token
[22:36:40] <archon-> maybe you need a non-relative path to your app.js
[22:36:45] <Jay__> I having trouble getting the I am {{4 + 6}} to work. It should read I am 10 but it doesn't parse for me.
[22:37:02] <Jay__> so an absolute path to the file?
[22:37:12] <archon-> jay: that was for mekhami
[22:37:19] <Jay__> oh ok
[22:37:24] <mekhami> archon-: that did it. thanks, i didn't find that on my google search.
[22:37:39] <archon-> np
[22:38:50] *** cactauz has quit IRC
[22:38:56] <archon-> jay: are you getting an error on the console?
[22:39:49] *** mischat has joined #angularjs
[22:39:55] <Jay__> I'm testing it on a live server.
[22:40:10] <archon-> your browser console
[22:40:24] <Jay__> the only files I have are an index.html, angular.min.js, and app.js
[22:40:40] *** cmoneylulz has quit IRC
[22:40:48] *** LopezT has quit IRC
[22:41:00] *** cmoneylulz has joined #angularjs
[22:41:06] *** herme5 has joined #angularjs
[22:42:03] *** ASTP001 has quit IRC
[22:43:11] *** ASTP001 has joined #angularjs
[22:43:53] *** Oleander has joined #angularjs
[22:43:53] *** Sky[x] has joined #angularjs
[22:43:58] *** phrozensilver has joined #angularjs
[22:47:14] *** bc__ has quit IRC
[22:47:32] *** bc__ has joined #angularjs
[22:47:38] *** robert__ has joined #angularjs
[22:47:43] <robert__> hey
[22:47:57] <robert__> programming something with anugular right now
[22:48:08] <robert__> and have a question
[22:48:30] <robert__> i need to add a new form every time when i click a button
[22:48:33] *** erol has joined #angularjs
[22:48:55] *** Oleander has quit IRC
[22:49:08] <robert__> should i build a new directive which is returning a template?
[22:49:17] <robert__> and than output it on every click?
[22:50:08] *** diegoaguilar has joined #angularjs
[22:50:15] *** codeme has joined #angularjs
[22:50:29] *** diegoaguilar has quit IRC
[22:50:35] *** fnx has quit IRC
[22:50:45] *** tristanp_ has joined #angularjs
[22:51:00] *** christo_m has left #angularjs
[22:51:01] *** tristanp has quit IRC
[22:51:01] *** saysora has joined #angularjs
[22:51:36] *** F1LT3R has joined #angularjs
[22:52:05] *** cotko has joined #angularjs
[22:52:50] *** raininja has joined #angularjs
[22:53:50] *** Jay__ has quit IRC
[22:56:26] *** MrBaboon has quit IRC
[22:56:27] *** afontes has quit IRC
[22:57:16] *** lite_ has joined #angularjs
[22:57:23] *** kk_drop has joined #angularjs
[22:57:27] *** leehambley has joined #angularjs
[22:58:17] *** shangxia1 has joined #angularjs
[22:59:37] *** mutsayu has quit IRC
[23:00:07] *** ahaeger has quit IRC
[23:00:25] *** mary5030_ has quit IRC
[23:00:27] *** jareddlc has joined #angularjs
[23:00:51] *** Schalla has quit IRC
[23:01:37] *** cmoneylulz has quit IRC
[23:01:43] *** Dietrich_ has quit IRC
[23:01:56] *** lite_ has quit IRC
[23:01:59] *** fly_boyz has quit IRC
[23:02:17] *** fly_boyz has joined #angularjs
[23:03:50] *** Garfield-fr has quit IRC
[23:04:44] *** dcherman has quit IRC
[23:04:45] *** italoacasas has quit IRC
[23:04:52] *** buzzedword has quit IRC
[23:05:26] *** jareddlc has quit IRC
[23:05:29] *** afontes has joined #angularjs
[23:05:32] *** dcherman has joined #angularjs
[23:05:39] *** shinnya has joined #angularjs
[23:06:07] *** acalbaza has quit IRC
[23:06:25] *** afontes has quit IRC
[23:07:01] *** Aliks has quit IRC
[23:08:25] *** chrisbirk has quit IRC
[23:09:24] *** Oleander has joined #angularjs
[23:09:30] *** erol has quit IRC
[23:09:34] *** maikowblue has joined #angularjs
[23:09:38] *** edrocks has quit IRC
[23:11:31] *** cmoneylulz has joined #angularjs
[23:11:53] *** Aliks has joined #angularjs
[23:12:59] *** chrisbirk has joined #angularjs
[23:13:03] *** eago has joined #angularjs
[23:13:59] *** rocky1138 has quit IRC
[23:14:04] *** thatslifeson has quit IRC
[23:15:18] *** morissette has quit IRC
[23:15:58] *** bengillies has joined #angularjs
[23:15:59] *** raininja has quit IRC
[23:15:59] *** jdo_dk has quit IRC
[23:16:19] *** edrocks has joined #angularjs
[23:16:40] *** jamiemcl001 has joined #angularjs
[23:16:52] *** saysora has quit IRC
[23:17:40] *** annlewis has quit IRC
[23:17:48] *** fedenunez has joined #angularjs
[23:17:51] *** jamiemcl001 has quit IRC
[23:18:14] *** baweaver has quit IRC
[23:18:19] *** tristanp_ has quit IRC
[23:18:51] *** tristanp has joined #angularjs
[23:19:24] *** chrisbirk has quit IRC
[23:19:40] *** cmoneylulz has quit IRC
[23:20:34] *** dpicky_ has joined #angularjs
[23:20:38] *** bengillies has quit IRC
[23:21:12] *** Poeticode has left #angularjs
[23:23:24] *** buzzedword has joined #angularjs
[23:23:26] *** dpicky has quit IRC
[23:24:02] *** diegoaguilar has joined #angularjs
[23:25:17] *** xtreamwayz has quit IRC
[23:26:31] *** cacts|works has joined #angularjs
[23:26:49] *** shish has joined #angularjs
[23:26:54] *** Es0teric has quit IRC
[23:26:56] <shish> Hi there!
[23:27:07] <shish> Can anyone help with default values of input fields?:)
[23:28:22] *** tristanp has quit IRC
[23:29:00] *** sonofdirt has quit IRC
[23:29:32] *** sonofdirt has joined #angularjs
[23:29:41] *** baweaver has joined #angularjs
[23:30:11] *** saysora has joined #angularjs
[23:30:24] *** phil__ has joined #angularjs
[23:31:01] *** F1LT3R has quit IRC
[23:31:07] *** zigzagzig has quit IRC
[23:33:53] *** phil__ has quit IRC
[23:36:07] *** Surya has joined #angularjs
[23:36:18] <Surya> help
[23:36:38] <mekhami> https://gist.github.com/mekhami/bb0373fce714c79b471b What's going on here with my console.logs? How do I accomplish what I'm aiming to do?
[23:36:53] <Surya> me i want to learn the angular
[23:37:24] *** bayousoft has quit IRC
[23:37:42] *** Hink has quit IRC
[23:37:53] *** Surya has quit IRC
[23:39:01] <icfantv> shish: there's not really a thing specific to that. you just set your ng-model to whatever value you want to be default
[23:39:10] *** dpicky_ has quit IRC
[23:39:17] *** Hink has joined #angularjs
[23:39:36] *** dpicky has joined #angularjs
[23:39:51] *** MrBaboon has joined #angularjs
[23:40:01] *** robert__ has quit IRC
[23:40:03] <icfantv> mekhami: you're logging the value of the variable before you've assigned it any value
[23:40:39] <icfantv> mekhami: an undeclared variable in JS has the value of undefined.
[23:41:12] *** wyu has quit IRC
[23:41:39] <icfantv> mekhami: you assign a value in the result of your promise - NOW it has a value and you can log it. promises are deferred processing via callback functions. basically, do something that takes a while and when you're done, do something else (usually with the results of the first thing).
[23:43:31] *** shangxia1 has quit IRC
[23:43:58] *** dpicky has quit IRC
[23:44:05] *** doppio|Laptop has quit IRC
[23:44:12] *** tristanp has joined #angularjs
[23:46:01] <shish> icfantv
[23:46:03] <shish> well
[23:46:18] <shish> what if my input looks like this
[23:46:19] <shish> <input type="number" ng-model="newTransaction[$index][user.email]" />
[23:46:44] *** diosney has quit IRC
[23:46:48] <icfantv> shish: your model is just your model
[23:46:57] <shish> yeah
[23:47:00] <icfantv> you set the default values to whatever you want
[23:47:04] <shish> but how do I set a default value of 0
[23:47:10] <icfantv> for an email?
[23:47:20] <shish> to be seen in the input
[23:47:35] <icfantv> is user.email for that index defined?
[23:47:44] <shish> yes
[23:48:01] <icfantv> wait, so if it's defined, why do you want a default value? it already has one
[23:48:08] <shish> I mean
[23:48:19] <shish> I want a value to appear in that input field
[23:48:24] <shish> It's hard for me to explain
[23:49:00] <shish> the input is in a <li ng-repeat="user in party.invited">
[23:49:23] <edm> im having a weird issue for some reason i cant acess any of my vm attributes from my controller in my template
[23:49:33] *** dpicky has joined #angularjs
[23:50:02] *** dcherman has quit IRC
[23:50:19] <icfantv> shish: it doesnt' matter.
[23:50:31] <edm> when routing to that view i put a console.log in the controller and it is being activated and setting things on the vm variable from the controller but nothing gets displayed on the view, anyone have any ideas?
[23:50:41] <shish> okay
[23:50:50] <icfantv> edm: did you remember to var vm = this; vm.foo = 'bar';?
[23:51:06] <edm> Yup thats there
[23:51:15] <icfantv> edm: and did you set controllerAs syntax?
[23:51:22] <edm> yup on my route
[23:51:30] <icfantv> can you gist the relevant snippets?
[23:51:47] <edm> sure thing
[23:52:10] *** Misere has joined #angularjs
[23:52:17] <icfantv> shish: JS gives you a nice way to provide a default value to variables: var foo = bar || "bat"; will assign to foo, the value of bar if it's defined, otherwise it will assign it the string "bat";
[23:52:38] <icfantv> perhaps when you retrieve your list of data, you can iterate over it and provide default values where you need them.
[23:53:06] <icfantv> i'm pretty sure there's no direct way to do it on an <input> element. you could write a directive that did it, however
[23:53:24] <icfantv> and that would obviate the need to iterate over the items and set a default value.
[23:55:03] <edm> icfantv: here you go
[23:55:04] <edm> http://pastebin.com/Gk5Sseka
[23:55:38] *** tristanp has quit IRC
[23:56:10] *** fotoflo has joined #angularjs
[23:57:52] <icfantv> edm: what happens if you just do <pre>{{ vm | json }}</pre> in your main.html? do you see anything at all?
[23:58:07] *** lite_ has joined #angularjs
[23:59:17] <icfantv> edm: also, don't store primitives on your $scope or vm. make an object and store them inside
top

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