[00:00:15] *** tompaw <tompaw!~tompaw@tompaw.xxx> has left #angularjs ("Textual IRC Client: www.textualapp.com")
[00:00:22] *** twisted` <twisted`!sid6794@gateway/web/irccloud.com/x-melarukllcsqelnt> has joined #angularjs
[00:00:38] *** atula <atula!~neobreed@209-6-221-20.c3-0.hdp-ubr1.sbo-hdp.ma.cable.rcn.com> has joined #angularjs
[00:00:50] *** soren <soren!uid124229@ubuntu/member/soren> has joined #angularjs
[00:00:54] *** felowe <felowe!sid180109@gateway/web/irccloud.com/x-qqmxafcfrmrljuri> has joined #angularjs
[00:01:02] *** CreateMo <CreateMo!~textual@47.146.55.67> has joined #angularjs
[00:01:08] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has joined #angularjs
[00:02:12] *** dcherman <dcherman!~dcherman@ool-457cbcbd.dyn.optonline.net> has joined #angularjs
[00:02:13] *** jpstone <jpstone!uid132209@gateway/web/irccloud.com/x-pyforyufabhqdgzf> has joined #angularjs
[00:02:18] *** netameta__ <netameta__!~netameta@24-158-128-88.dhcp.kgpt.tn.charter.com> has quit IRC (Ping timeout: 264 seconds)
[00:02:20] *** pudo <pudo!sid16951@gateway/web/irccloud.com/x-banjydemcmuhpwwd> has joined #angularjs
[00:03:08] *** beckyconning_ <beckyconning_!sid31604@gateway/web/irccloud.com/x-jvbuyrjzonhxzrgq> has joined #angularjs
[00:03:22] *** daredev <daredev!sid41659@gateway/web/irccloud.com/x-nckzuhuiaeumpier> has joined #angularjs
[00:03:44] <CreateMo> So I have this <select> with <option>s generated like this: <select name="domains" ng-model="domainObject" ng-options="domain.name for domain in domains | filter: { type: '!' + 'server' }" ng-cloak></select>, but I don't know where I would set a default/selected option using an expression like (domain.name == 'domain'). Would anyone know?
[00:04:08] *** jga <jga!sid36442@gateway/web/irccloud.com/x-idnjuljpjywlnaxq> has joined #angularjs
[00:04:34] *** DannyFritz <DannyFritz!sid182043@gateway/web/irccloud.com/x-djeuwldkpmsazxnu> has joined #angularjs
[00:04:44] *** drowngodx <drowngodx!sid162816@gateway/web/irccloud.com/x-xzpxneatfppjvcfh> has joined #angularjs
[00:04:46] *** zero7 <zero7!sid10708@gateway/web/irccloud.com/x-ezhdvwhqmncktavq> has joined #angularjs
[00:05:12] *** Eleeleth <Eleeleth!sid43850@gateway/web/irccloud.com/x-sqabvocvkunehjwi> has joined #angularjs
[00:05:38] *** italoacasas <italoacasas!sid172107@gateway/web/irccloud.com/x-nwdbmfbltcqxclqy> has joined #angularjs
[00:05:58] *** joshtau <joshtau!sid17334@gateway/web/irccloud.com/x-ptbxhyptmjjyetap> has joined #angularjs
[00:06:01] *** Kesarr <Kesarr!sid14833@gateway/web/irccloud.com/x-udibfoyxehqwdyhk> has joined #angularjs
[00:06:04] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has quit IRC (Ping timeout: 265 seconds)
[00:06:05] *** kwmiebach <kwmiebach!sid16855@gateway/web/irccloud.com/x-yecbjxdbbuiywaor> has joined #angularjs
[00:06:06] *** zigmoo <zigmoo!sid174403@gateway/web/irccloud.com/x-xomizpxqwbfmikuc> has joined #angularjs
[00:06:19] *** moogumbo <moogumbo!sid31999@gateway/web/irccloud.com/x-rwltvrnufbstbonb> has joined #angularjs
[00:06:21] *** lightstalker <lightstalker!~lightstal@unaffiliated/thebrain> has joined #angularjs
[00:07:39] *** vassagus_ <vassagus_!~vassagus@186.4.2.162> has joined #angularjs
[00:07:45] *** amatecha <amatecha!sid10006@gateway/web/irccloud.com/x-cqhlupucdwkaznon> has joined #angularjs
[00:08:14] *** prof_sadasdf <prof_sadasdf!~Josh@157.130.186.54> has quit IRC (Quit: Leaving)
[00:08:32] *** Spot__ <Spot__!sid29448@gateway/web/irccloud.com/x-igtscxfjfienmkci> has joined #angularjs
[00:08:45] *** nicksloan <nicksloan!~nicksloan@unaffiliated/iamethos> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
[00:08:55] *** atula <atula!~neobreed@209-6-221-20.c3-0.hdp-ubr1.sbo-hdp.ma.cable.rcn.com> has quit IRC (Quit: This computer has gone to sleep)
[00:08:59] *** Kamuela <Kamuela!sid111576@gateway/web/irccloud.com/x-yrbptwaczxqvdlyp> has joined #angularjs
[00:09:04] *** Ownix <Ownix!sid11917@gateway/web/irccloud.com/x-mlgmuspeqhstfdsl> has joined #angularjs
[00:09:42] *** derfj <derfj!sid19429@gateway/web/irccloud.com/x-qlpcluowjwphbqbi> has joined #angularjs
[00:09:48] *** kaseoga_ <kaseoga_!sid51225@gateway/web/irccloud.com/x-nephkgkujuamhggh> has joined #angularjs
[00:09:56] *** deeb <deeb!~dee@a85-139-8-162.cpe.netcabo.pt> has quit IRC (Quit: deeb)
[00:10:04] *** devin__ <devin__!sid177405@gateway/web/irccloud.com/x-bapimeyutclrljtz> has joined #angularjs
[00:10:07] *** Lowell <Lowell!sid43163@gateway/web/irccloud.com/x-mobdpgclynweodyw> has joined #angularjs
[00:10:14] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has quit IRC (Remote host closed the connection)
[00:10:20] *** wycats <wycats!sid79@gateway/web/irccloud.com/x-oikrgogfwpowzpif> has joined #angularjs
[00:10:50] *** vassagus <vassagus!~vassagus@186.4.2.162> has quit IRC (Ping timeout: 250 seconds)
[00:10:54] *** techntoke <techntoke!sid124863@gateway/web/irccloud.com/x-nkiutvxruwokduma> has joined #angularjs
[00:11:11] *** phtes <phtes!sid43321@gateway/web/irccloud.com/x-pgkqsfahnshwowrq> has joined #angularjs
[00:11:12] *** klobucar <klobucar!sid1012@gateway/web/irccloud.com/x-rndxlcqltuiebmty> has joined #angularjs
[00:11:31] *** alphonse23_ <alphonse23_!sid34238@gateway/web/irccloud.com/x-ssnmruwxqcyuymha> has joined #angularjs
[00:11:43] *** kutenai <kutenai!sid80151@gateway/web/irccloud.com/x-yicjmuxfphmsthql> has joined #angularjs
[00:11:49] *** Ironlink <Ironlink!sid16475@gateway/web/irccloud.com/x-shrpctqlgfokopiz> has joined #angularjs
[00:12:06] *** xtreamwayz <xtreamwayz!sid141190@gateway/web/irccloud.com/x-zhluxwpmbyfckdoc> has joined #angularjs
[00:12:13] *** wizonesolutions <wizonesolutions!sid27627@drupal.org/user/739994/view> has joined #angularjs
[00:12:17] *** solexious <solexious!sid331@gateway/web/irccloud.com/x-nbfmygtugsqxptyj> has joined #angularjs
[00:12:32] *** shennyg <shennyg!sid4021@gateway/web/irccloud.com/x-dsbllmejifphapdi> has joined #angularjs
[00:13:08] *** clode______ <clode______!sid40776@gateway/web/irccloud.com/x-ggsnicvmndhwtfyd> has joined #angularjs
[00:13:41] *** uru is now known as uru|away
[00:13:42] *** CAPITANOOO <CAPITANOOO!~CAPITANOO@host122-156-static.117-2-b.business.telecomitalia.it> has joined #angularjs
[00:13:52] *** gojira_ <gojira_!sid120399@gateway/web/irccloud.com/x-lzjboeizdfjmavbd> has joined #angularjs
[00:13:54] *** davidmichaelkarr <davidmichaelkarr!sid71216@gateway/web/irccloud.com/x-czclprvowujfmlwh> has joined #angularjs
[00:14:37] *** FritzLakritz <FritzLakritz!sid124208@gateway/web/irccloud.com/x-oztaaefpkniplykq> has joined #angularjs
[00:15:29] *** cory_ <cory_!sid180108@gateway/web/irccloud.com/x-kxzjvnpvuytpozya> has joined #angularjs
[00:15:40] *** cmosguy <cmosguy!sid130111@gateway/web/irccloud.com/x-qxxgovyotxcjuntg> has joined #angularjs
[00:15:52] *** JackMc <JackMc!sid85402@gateway/web/irccloud.com/x-tuyhryxlvauppnxd> has joined #angularjs
[00:16:15] *** ulkesh <ulkesh!sid140298@gateway/web/irccloud.com/x-kovgibyljyaumhdh> has joined #angularjs
[00:16:19] *** elijah <elijah!sid21431@gateway/web/irccloud.com/x-sxymafvzlgjpzpgn> has joined #angularjs
[00:16:50] *** andersh <andersh!sid106643@gateway/web/irccloud.com/x-diblzqenqtogcmsa> has joined #angularjs
[00:17:25] *** mrwat <mrwat!~textual@c-76-102-210-56.hsd1.ca.comcast.net> has quit IRC (Ping timeout: 260 seconds)
[00:17:32] *** dgrove <dgrove!sid36357@gateway/web/irccloud.com/x-diyrygzwthjhgpfw> has joined #angularjs
[00:17:43] *** joseph_arnstein <joseph_arnstein!sid180110@gateway/web/irccloud.com/x-rpopxqnqzyyipfer> has joined #angularjs
[00:17:48] *** prettymuchbryce <prettymuchbryce!sid52793@gateway/web/irccloud.com/x-tdzbtamxschmjwhb> has joined #angularjs
[00:18:06] *** lavalamp <lavalamp!~lavalamp@unaffiliated/lavalamp> has quit IRC (Quit: (> '.' )>)
[00:18:08] *** Srgjames <Srgjames!~Srgjames@50-252-127-147-static.hfc.comcastbusiness.net> has quit IRC (Quit: Leaving)
[00:18:24] *** snkcld <snkcld!sid54536@gateway/web/irccloud.com/x-erfyrtxjvfyhdfks> has joined #angularjs
[00:18:40] *** dboskovic <dboskovic!sid12178@gateway/web/irccloud.com/x-czefsxggwdknhxlx> has joined #angularjs
[00:18:55] *** lewq <lewq!sid73921@gateway/web/irccloud.com/x-iygpqprmloaljfng> has joined #angularjs
[00:19:01] *** Immutef <Immutef!sid17978@gateway/web/irccloud.com/x-oywwpuajeuklbkzk> has joined #angularjs
[00:19:26] *** lebster <lebster!sid17131@gateway/web/irccloud.com/x-gxjxrlgvgsihditn> has joined #angularjs
[00:19:49] *** WillMoogle <WillMoogle!sid38138@gateway/web/irccloud.com/x-fsjeuieszcrfjeyk> has joined #angularjs
[00:20:57] *** moloch <moloch!~moloch@cpe-98-150-237-205.hawaii.res.rr.com> has quit IRC (Ping timeout: 248 seconds)
[00:22:05] *** jae <jae!~jae@unaffiliated/jae> has joined #angularjs
[00:22:18] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has joined #angularjs
[00:22:39] *** mven <mven!~textual@cpe-173-174-112-125.austin.res.rr.com> has joined #angularjs
[00:23:32] *** djboz <djboz!~djboz@c-69-139-16-116.hsd1.pa.comcast.net> has joined #angularjs
[00:23:51] *** fdev <fdev!~fdev@xd9bffd74.dyn.telefonica.de> has quit IRC (Remote host closed the connection)
[00:24:40] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has quit IRC (Remote host closed the connection)
[00:28:06] *** djboz <djboz!~djboz@c-69-139-16-116.hsd1.pa.comcast.net> has quit IRC (Ping timeout: 264 seconds)
[00:35:44] *** nexus2911 <nexus2911!~nexus2911@75-132-44-61.dhcp.stls.mo.charter.com> has joined #angularjs
[00:36:14] *** avarsh <avarsh!~avarsh@137.54.5.215> has quit IRC (Remote host closed the connection)
[00:36:49] *** lavalamp <lavalamp!~lavalamp@unaffiliated/lavalamp> has joined #angularjs
[00:37:58] *** raijin <raijin!~raijin@unaffiliated/raijin> has quit IRC (Ping timeout: 255 seconds)
[00:39:45] *** fairuz <fairuz!~textual@unaffiliated/fairuz> has joined #angularjs
[00:40:40] *** eventide <eventide!uid13502@gateway/web/irccloud.com/x-hxlagihknujxrzbl> has joined #angularjs
[00:41:03] *** dodobrain <dodobrain!~dodobrain@unaffiliated/freakabcd> has quit IRC (Ping timeout: 244 seconds)
[00:41:23] *** zizzl <zizzl!62bffeb2@gateway/web/freenode/ip.98.191.254.178> has joined #angularjs
[00:42:30] *** jimklo <jimklo!~jimklo@192.12.16.110> has quit IRC (Ping timeout: 260 seconds)
[00:42:43] <zizzl> Hey all, using ui-router and pretty new to it. How can I route to a page depending on a url parameter... meaning if it's example.com/blah?source=x, navigate to state 1, example.com/blah?source=y navigate to state 2
[00:43:34] *** djboz <djboz!~djboz@c-69-139-16-116.hsd1.pa.comcast.net> has joined #angularjs
[00:43:41] *** djboz <djboz!~djboz@c-69-139-16-116.hsd1.pa.comcast.net> has quit IRC (Remote host closed the connection)
[00:43:53] *** djboz <djboz!~djboz@c-69-139-16-116.hsd1.pa.comcast.net> has joined #angularjs
[00:44:14] *** Guest78895 <Guest78895!~Jeremy@70.213.23.105> has joined #angularjs
[00:47:04] *** bengillies <bengillies!~bengillie@bengillies.net> has joined #angularjs
[00:47:05] *** dcherman <dcherman!~dcherman@ool-457cbcbd.dyn.optonline.net> has quit IRC (Ping timeout: 240 seconds)
[00:48:00] *** raijin <raijin!~raijin@unaffiliated/raijin> has joined #angularjs
[00:48:58] *** milkman_ <milkman_!~milkman@ip92348037.dynamic.kabel-deutschland.de> has joined #angularjs
[00:49:28] *** nicksloan <nicksloan!~nicksloan@unaffiliated/iamethos> has joined #angularjs
[00:51:30] *** mven <mven!~textual@cpe-173-174-112-125.austin.res.rr.com> has quit IRC (Ping timeout: 265 seconds)
[00:51:54] *** bengillies <bengillies!~bengillie@bengillies.net> has quit IRC (Ping timeout: 276 seconds)
[00:52:17] *** djboz <djboz!~djboz@c-69-139-16-116.hsd1.pa.comcast.net> has quit IRC (Remote host closed the connection)
[00:53:12] *** djboz <djboz!~djboz@c-69-139-16-116.hsd1.pa.comcast.net> has joined #angularjs
[00:53:13] *** djboz <djboz!~djboz@c-69-139-16-116.hsd1.pa.comcast.net> has quit IRC (Remote host closed the connection)
[00:53:18] *** milkman_ <milkman_!~milkman@ip92348037.dynamic.kabel-deutschland.de> has quit IRC (Ping timeout: 250 seconds)
[00:53:28] *** djboz <djboz!~djboz@c-69-139-16-116.hsd1.pa.comcast.net> has joined #angularjs
[00:54:33] *** dlam <dlam!~user@199.21.86.178> has quit IRC (Read error: Connection reset by peer)
[00:55:21] *** sbellina <sbellina!~sbellina@c-75-65-176-38.hsd1.ms.comcast.net> has joined #angularjs
[00:55:25] *** nadoneves <nadoneves!~Thunderbi@177.131.144.72> has quit IRC (Quit: nadoneves)
[00:58:07] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has quit IRC (Remote host closed the connection)
[00:59:54] *** sbellina <sbellina!~sbellina@c-75-65-176-38.hsd1.ms.comcast.net> has quit IRC (Ping timeout: 264 seconds)
[01:00:24] *** milkman_ <milkman_!~milkman@ip92348037.dynamic.kabel-deutschland.de> has joined #angularjs
[01:01:04] *** djboz <djboz!~djboz@c-69-139-16-116.hsd1.pa.comcast.net> has quit IRC ()
[01:01:35] *** wrkrcoop <wrkrcoop!~martee@adsk-nat-ip11.autodesk.com> has joined #angularjs
[01:02:24] *** mven <mven!~textual@cpe-173-174-112-125.austin.res.rr.com> has joined #angularjs
[01:03:53] *** moloch <moloch!~moloch@cpe-98-150-237-205.hawaii.res.rr.com> has joined #angularjs
[01:05:10] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has joined #angularjs
[01:05:26] *** Admin__ <Admin__!~Admin@2001:8a0:e4f2:4501:48fb:288e:81d0:8832> has quit IRC (Ping timeout: 250 seconds)
[01:05:32] *** milkman_ <milkman_!~milkman@ip92348037.dynamic.kabel-deutschland.de> has quit IRC (Ping timeout: 265 seconds)
[01:06:13] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has quit IRC (Remote host closed the connection)
[01:07:14] *** siba <siba!~textual@60-242-28-48.static.tpgi.com.au> has joined #angularjs
[01:07:24] *** CAPITANOOO <CAPITANOOO!~CAPITANOO@host122-156-static.117-2-b.business.telecomitalia.it> has quit IRC (Quit: CAPITANOOO)
[01:08:49] *** asteele <asteele!~Cronoh@4.16.207.5> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[01:09:54] *** milkman_ <milkman_!~milkman@ip92348037.dynamic.kabel-deutschland.de> has joined #angularjs
[01:11:36] *** asteele <asteele!~Cronoh@4.16.207.5> has joined #angularjs
[01:11:49] *** nexus2911 <nexus2911!~nexus2911@75-132-44-61.dhcp.stls.mo.charter.com> has left #angularjs
[01:12:47] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has joined #angularjs
[01:13:05] *** wizonesolutions <wizonesolutions!sid27627@drupal.org/user/739994/view> has quit IRC (Excess Flood)
[01:14:06] *** diogomr <diogomr!~diogomr@2001:8a0:e269:b601:a410:5714:9000:6b05> has quit IRC (Ping timeout: 250 seconds)
[01:14:08] *** wizonesolutions <wizonesolutions!sid27627@drupal.org/user/739994/view> has joined #angularjs
[01:14:19] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has joined #angularjs
[01:14:28] *** milkman_ <milkman_!~milkman@ip92348037.dynamic.kabel-deutschland.de> has quit IRC (Ping timeout: 244 seconds)
[01:15:15] *** wizonesolutions <wizonesolutions!sid27627@drupal.org/user/739994/view> has quit IRC (Excess Flood)
[01:15:37] *** fairuz <fairuz!~textual@unaffiliated/fairuz> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[01:15:51] *** wizonesolutions <wizonesolutions!sid27627@drupal.org/user/739994/view> has joined #angularjs
[01:16:18] *** Shilon <Shilon!~Shilon@dsl-174-241.bl26.telepac.pt> has joined #angularjs
[01:16:19] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has quit IRC (Remote host closed the connection)
[01:16:35] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has joined #angularjs
[01:16:39] *** milkman_ <milkman_!~milkman@ip92348037.dynamic.kabel-deutschland.de> has joined #angularjs
[01:17:04] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has quit IRC (Remote host closed the connection)
[01:17:19] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has joined #angularjs
[01:17:27] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has quit IRC (Ping timeout: 272 seconds)
[01:17:34] *** gvanderest <gvanderest!~gvanderes@S01066c709fd71834.ok.shawcable.net> has quit IRC (Quit: Leaving...)
[01:17:52] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has quit IRC (Remote host closed the connection)
[01:18:08] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has joined #angularjs
[01:18:40] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has quit IRC (Remote host closed the connection)
[01:18:59] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has joined #angularjs
[01:19:28] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has quit IRC (Remote host closed the connection)
[01:19:44] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has joined #angularjs
[01:20:16] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has quit IRC (Remote host closed the connection)
[01:20:34] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has joined #angularjs
[01:21:02] *** milkman_ <milkman_!~milkman@ip92348037.dynamic.kabel-deutschland.de> has quit IRC (Ping timeout: 250 seconds)
[01:21:04] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has quit IRC (Remote host closed the connection)
[01:22:06] *** dodobrain <dodobrain!~dodobrain@unaffiliated/freakabcd> has joined #angularjs
[01:23:38] *** jhadvig <jhadvig!~jhadvig@ip-37-188-185-254.eurotel.cz> has quit IRC (Read error: Connection reset by peer)
[01:23:55] *** iraj <iraj!~iraj@unaffiliated/iraj> has quit IRC (Ping timeout: 260 seconds)
[01:24:01]
*** Clovenhoof <Clovenhoof!~Miranda@planeshift/art/associate/clovenhoof> has quit IRC (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)
[01:25:01] *** apparition <apparition!~apparitio@unaffiliated/apparition> has quit IRC (Read error: Connection reset by peer)
[01:25:41] *** apparition <apparition!~apparitio@unaffiliated/apparition> has joined #angularjs
[01:26:30] *** lacrymology <lacrymology!~lacrymolo@188.127.100.48> has joined #angularjs
[01:30:18] <lacrymology> I've got an array of objects, and I've got a select, I've got it set up like this: <select class="md-input" ng-model="selectedType" ng-options="type as type.name for type in tagTypes track by type.value">
[01:30:35] <lacrymology> but ng-model is becoming the whole object, and I want it to be object.value only
[01:30:36] *** whitebook <whitebook!~whitebook@ool-182e2e18.dyn.optonline.net> has quit IRC (Remote host closed the connection)
[01:30:44] <lacrymology> how should I write that?
[01:31:36] *** al-damiri <al-damiri!uid142631@gateway/web/irccloud.com/x-rvcyvwgruhyjkvkp> has quit IRC (Quit: Connection closed for inactivity)
[01:40:36] <rand0m> im off to sleep, sorry I can't be of any help now
[01:40:39] <rand0m> good night
[01:40:44] * rand0m zzzz's
[01:41:14] *** jhadvig <jhadvig!~jhadvig@ip-37-188-185-254.eurotel.cz> has joined #angularjs
[01:41:35] *** Rodya_ <Rodya_!~Rodya_@c-71-224-101-129.hsd1.pa.comcast.net> has quit IRC (Remote host closed the connection)
[01:45:30] *** KermitoniT <KermitoniT!~Kermitoni@tip1948933.lnk.telstra.net> has joined #angularjs
[01:46:01] *** KermitoniT <KermitoniT!~Kermitoni@tip1948933.lnk.telstra.net> has quit IRC (Client Quit)
[01:47:31] *** jhadvig <jhadvig!~jhadvig@ip-37-188-185-254.eurotel.cz> has quit IRC (Read error: Connection reset by peer)
[01:47:46] *** bengillies <bengillies!~bengillie@bengillies.net> has joined #angularjs
[01:47:54]
*** enykeev <enykeev!~enykeev@mech.sh> has quit IRC (Quit: ZNC - 1.6.0 - http://znc.in)
[01:49:06] *** nicksloan <nicksloan!~nicksloan@unaffiliated/iamethos> has quit IRC (Ping timeout: 265 seconds)
[01:49:24] *** enykeev <enykeev!~enykeev@mech.sh> has joined #angularjs
[01:49:38] <SaltyCatFish> hold on a sec
[01:49:46] *** {DV8} <{DV8}!~Deviate@135-23-110-43.cpe.pppoe.ca> has quit IRC (Ping timeout: 244 seconds)
[01:49:55] *** wrkrcoop <wrkrcoop!~martee@adsk-nat-ip11.autodesk.com> has quit IRC (Quit: wrkrcoop)
[01:51:04] <SaltyCatFish> yeah
[01:51:13] <SaltyCatFish> follow rand0m's link
[01:51:33] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has joined #angularjs
[01:52:21] *** marr <marr!~ccc@xdsl-4373.walbrzych.dialog.net.pl> has quit IRC (Ping timeout: 276 seconds)
[01:52:40] *** rho <rho!~rho@drupal.org/user/114058/view> has quit IRC (Ping timeout: 255 seconds)
[01:52:55] *** bengillies <bengillies!~bengillie@bengillies.net> has quit IRC (Ping timeout: 272 seconds)
[01:53:17] *** Admin__ <Admin__!~Admin@2001:8a0:e4f2:4501:7995:19f7:f44e:123b> has joined #angularjs
[01:53:52] *** tompaw <tompaw!~tompaw@tompaw.xxx> has joined #angularjs
[01:54:18] *** davi-lima <davi-lima!~Davi@191.33.69.18> has quit IRC (Ping timeout: 276 seconds)
[01:55:39] *** {DV8} <{DV8}!~Deviate@135-23-110-43.cpe.pppoe.ca> has joined #angularjs
[01:56:05] *** raijin <raijin!~raijin@unaffiliated/raijin> has quit IRC (Ping timeout: 272 seconds)
[01:56:50] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has quit IRC (Ping timeout: 265 seconds)
[01:59:13] *** invinceable <invinceable!~invinceab@2601:805:8200:f5b0:5cfb:f640:4f30:d330> has joined #angularjs
[02:01:39] *** Guest78895 <Guest78895!~Jeremy@70.213.23.105> has quit IRC (Ping timeout: 244 seconds)
[02:02:08] *** zizzl <zizzl!62bffeb2@gateway/web/freenode/ip.98.191.254.178> has quit IRC (Quit: Page closed)
[02:02:59] *** asteele <asteele!~Cronoh@4.16.207.5> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[02:03:14] *** raijin <raijin!~raijin@unaffiliated/raijin> has joined #angularjs
[02:03:18] *** invinceable <invinceable!~invinceab@2601:805:8200:f5b0:5cfb:f640:4f30:d330> has quit IRC (Client Quit)
[02:03:52] *** Rodya_ <Rodya_!~Rodya_@2601:46:4001:e0b4:7026:98a:66f5:620> has joined #angularjs
[02:03:54] *** invinceable <invinceable!~invinceab@2601:805:8200:f5b0:5cfb:f640:4f30:d330> has joined #angularjs
[02:04:05] *** pwnd_nsfw` <pwnd_nsfw`!~pwnd_@cpe-2606-A000-FB05-3A00-0-0-0-1.dyn6.twc.com> has joined #angularjs
[02:04:26] *** invinceable <invinceable!~invinceab@2601:805:8200:f5b0:5cfb:f640:4f30:d330> has quit IRC (Client Quit)
[02:04:30] *** plutoniix <plutoniix!~q@118.174.206.124> has quit IRC (Quit: Leaving)
[02:04:39] *** inVINCEable <inVINCEable!~inVINCEab@2601:805:8200:f5b0:5cfb:f640:4f30:d330> has joined #angularjs
[02:05:10] *** inVINCEable <inVINCEable!~inVINCEab@2601:805:8200:f5b0:5cfb:f640:4f30:d330> has quit IRC (Client Quit)
[02:05:24] *** inVINCEable <inVINCEable!~inVINCEab@2601:805:8200:f5b0:5cfb:f640:4f30:d330> has joined #angularjs
[02:05:37] *** inVINCEable <inVINCEable!~inVINCEab@2601:805:8200:f5b0:5cfb:f640:4f30:d330> has quit IRC (Client Quit)
[02:05:54] *** inVINCEable <inVINCEable!~inVINCEab@2601:805:8200:f5b0:5cfb:f640:4f30:d330> has joined #angularjs
[02:06:34] *** inVINCEable <inVINCEable!~inVINCEab@2601:805:8200:f5b0:5cfb:f640:4f30:d330> has quit IRC (Client Quit)
[02:06:49] *** inVINCeable <inVINCeable!~inVINCeab@2601:805:8200:f5b0:5cfb:f640:4f30:d330> has joined #angularjs
[02:07:24] *** Robtop__ <Robtop__!~pwnd_@cpe-2606-A000-FB05-3A00-0-0-0-1.dyn6.twc.com> has quit IRC (Ping timeout: 250 seconds)
[02:09:06] *** inVINCeable <inVINCeable!~inVINCeab@2601:805:8200:f5b0:5cfb:f640:4f30:d330> has quit IRC (Client Quit)
[02:09:14] *** sagerdearia <sagerdearia!~necrodear@unaffiliated/necrodearia> has joined #angularjs
[02:10:52] *** ansimation <ansimation!~textual@208.185.232.10> has quit IRC (Ping timeout: 250 seconds)
[02:11:18] *** icfantv <icfantv!~icfantv@2607:fb10:16:212:a5e3:691d:460e:5e6d> has quit IRC (Ping timeout: 250 seconds)
[02:11:20] *** AnarchyAo <AnarchyAo!~andrew@dhcp.1lakeside.web-pass.com> has joined #angularjs
[02:12:10] *** Admin__ <Admin__!~Admin@2001:8a0:e4f2:4501:7995:19f7:f44e:123b> has quit IRC (Ping timeout: 250 seconds)
[02:17:54] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:95f4:d4ac:50f8:ec48> has joined #angularjs
[02:19:00] *** amcorreia <amcorreia!~amcorreia@2804:7f5:280:2459::1> has quit IRC (Ping timeout: 265 seconds)
[02:23:13] *** wrkrcoop <wrkrcoop!~martee@c-50-161-66-134.hsd1.ca.comcast.net> has joined #angularjs
[02:23:26] *** sagerdearia <sagerdearia!~necrodear@unaffiliated/necrodearia> has quit IRC (Ping timeout: 250 seconds)
[02:26:30] *** inVINCeable <inVINCeable!~inVINCeab@2601:805:8200:f5b0:505f:250f:bbc2:ccec> has joined #angularjs
[02:28:24] *** asteele <asteele!~Cronoh@192.77.237.216> has joined #angularjs
[02:29:06] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has joined #angularjs
[02:29:16] *** Germanaz0 <Germanaz0!~Germanaz0@unaffiliated/germanaz0> has joined #angularjs
[02:30:29] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:95f4:d4ac:50f8:ec48> has quit IRC (Remote host closed the connection)
[02:31:11] *** riyunoa <riyunoa!dce990a1@gateway/web/freenode/ip.220.233.144.161> has joined #angularjs
[02:31:46] <riyunoa> hey, just wondering how I can implement exception handling in an angular app which is not a single page app
[02:31:47] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:e8bc:837d:28b4:e9eb> has joined #angularjs
[02:32:26] <riyunoa> i've got the angular error handling done with $exceptionHandler and that's working. But not sure if I can somehow make it catch vanilla JS errors as well, instead of writing a separate window.onerror
[02:33:12] *** asteele <asteele!~Cronoh@192.77.237.216> has quit IRC (Client Quit)
[02:33:28] *** Limarson1 <Limarson1!~marcel.cr@p5797800A.dip0.t-ipconnect.de> has joined #angularjs
[02:33:59] *** Germanaz0 <Germanaz0!~Germanaz0@unaffiliated/germanaz0> has quit IRC (Client Quit)
[02:35:33] *** sagerdearia <sagerdearia!~necrodear@unaffiliated/necrodearia> has joined #angularjs
[02:35:45] *** Limarson <Limarson!~marcel.cr@p57978489.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 244 seconds)
[02:37:12] *** c17r_ <c17r_!~c17r@c-76-111-82-24.hsd1.va.comcast.net> has joined #angularjs
[02:37:25] *** zeioth <zeioth!~zeioth@5.red-80-39-129.dynamicip.rima-tde.net> has quit IRC (Ping timeout: 260 seconds)
[02:38:51] *** xcesariox <xcesariox!~xcesariox@103.252.203.32> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[02:39:44] *** wrkrcoop <wrkrcoop!~martee@c-50-161-66-134.hsd1.ca.comcast.net> has quit IRC (Quit: wrkrcoop)
[02:41:13] *** whitebook <whitebook!~whitebook@ool-d18c23c4.dyn.optonline.net> has joined #angularjs
[02:42:00] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has quit IRC (Remote host closed the connection)
[02:42:01] <zomg> riyunoa: the exception handler stuff will catch things that occur within angular's digest cycles
[02:42:03] *** atula <atula!~neobreed@209-6-221-20.c3-0.hdp-ubr1.sbo-hdp.ma.cable.rcn.com> has joined #angularjs
[02:42:11] *** Shilon <Shilon!~Shilon@dsl-174-241.bl26.telepac.pt> has quit IRC (Quit: Shilon)
[02:42:14] <zomg> this includes any errors that get thrown regardless of type of error
[02:42:30] <zomg> but any errors which occur outside of the digest loop would need to be dealt with in some other manner
[02:43:32] *** sbellina <sbellina!~sbellina@c-75-65-176-38.hsd1.ms.comcast.net> has joined #angularjs
[02:45:34] *** whitebook <whitebook!~whitebook@ool-d18c23c4.dyn.optonline.net> has quit IRC (Ping timeout: 265 seconds)
[02:45:37] *** Bnaya <Bnaya!~Bnaya@unaffiliated/bnaya> has joined #angularjs
[02:47:58] *** keemyb <keemyb!keemyb@gateway/shell/fnordserver.eu/x-pjiieiwpvedmecpj> has joined #angularjs
[02:48:32] *** bengillies <bengillies!~bengillie@bengillies.net> has joined #angularjs
[02:48:39] *** sbellina <sbellina!~sbellina@c-75-65-176-38.hsd1.ms.comcast.net> has quit IRC (Ping timeout: 272 seconds)
[02:51:45] *** CAPITANOOO <CAPITANOOO!~CAPITANOO@host122-156-static.117-2-b.business.telecomitalia.it> has joined #angularjs
[02:52:41] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has joined #angularjs
[02:52:48] *** bengillies <bengillies!~bengillie@bengillies.net> has quit IRC (Ping timeout: 244 seconds)
[02:54:23] *** whitebook <whitebook!~whitebook@ool-d18c23c4.dyn.optonline.net> has joined #angularjs
[02:57:44] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has quit IRC (Ping timeout: 265 seconds)
[02:59:35] *** Foxandxss <Foxandxss!~textual@angularjs/member/foxandxss> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)
[03:00:54] *** Shilon <Shilon!~Shilon@bl12-138-29.dsl.telepac.pt> has joined #angularjs
[03:00:56] *** whiteboo_ <whiteboo_!~whitebook@ool-d18c23c4.dyn.optonline.net> has joined #angularjs
[03:01:55] *** mastokley <mastokley!~mastokley@71.35.179.178> has quit IRC (Ping timeout: 260 seconds)
[03:02:00] *** whitebook <whitebook!~whitebook@ool-d18c23c4.dyn.optonline.net> has quit IRC (Ping timeout: 265 seconds)
[03:02:24] *** mastokley <mastokley!~mastokley@71.35.179.178> has joined #angularjs
[03:03:21] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has joined #angularjs
[03:03:37] *** krusty_ar <krusty_ar!~quassel@190.192.59.178> has quit IRC (Ping timeout: 248 seconds)
[03:03:46] *** platonic_ <platonic_!~platonic@51.175.98.163> has quit IRC (Ping timeout: 255 seconds)
[03:03:51] *** krusty_ar <krusty_ar!~quassel@190.192.59.178> has joined #angularjs
[03:03:58] *** cotko <cotko!~ahmed@93-103-28-46.dynamic.t-2.net> has quit IRC (Quit: Konversation terminated!)
[03:05:28] *** Girafferson <Girafferson!~dakota@2601:281:8001:663d:512e:1691:93aa:95d3> has joined #angularjs
[03:06:56] *** amcorreia <amcorreia!~amcorreia@2804:7f5:280:2459::1> has joined #angularjs
[03:07:59] *** CAPITANOOO <CAPITANOOO!~CAPITANOO@host122-156-static.117-2-b.business.telecomitalia.it> has quit IRC (Quit: CAPITANOOO)
[03:09:29] *** raijin <raijin!~raijin@unaffiliated/raijin> has quit IRC (Ping timeout: 248 seconds)
[03:09:47] *** Shilon <Shilon!~Shilon@bl12-138-29.dsl.telepac.pt> has quit IRC (Quit: Shilon)
[03:12:56] *** leolrrj <leolrrj!~leolrrj@50-243-248-21-static.hfc.comcastbusiness.net> has quit IRC (Remote host closed the connection)
[03:13:25] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has joined #angularjs
[03:15:26] *** lavalamp <lavalamp!~lavalamp@unaffiliated/lavalamp> has quit IRC (Quit: (> '.' )>)
[03:15:31] *** whiteboo_ <whiteboo_!~whitebook@ool-d18c23c4.dyn.optonline.net> has quit IRC (Remote host closed the connection)
[03:16:33] *** raijin <raijin!~raijin@unaffiliated/raijin> has joined #angularjs
[03:17:31] *** pyios <pyios!~pyios@114.111.167.255> has joined #angularjs
[03:17:36] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has quit IRC (Ping timeout: 250 seconds)
[03:20:24] *** platonic <platonic!~platonic@51.175.98.163> has joined #angularjs
[03:23:15] *** whitebook <whitebook!~whitebook@ool-d18c2890.dyn.optonline.net> has joined #angularjs
[03:23:21] *** sagerdearia <sagerdearia!~necrodear@unaffiliated/necrodearia> has quit IRC (Ping timeout: 248 seconds)
[03:24:20] *** deez79 <deez79!~deez79@52.68.197.104.bc.googleusercontent.com> has quit IRC (Remote host closed the connection)
[03:27:49] *** whitebook <whitebook!~whitebook@ool-d18c2890.dyn.optonline.net> has quit IRC (Remote host closed the connection)
[03:29:16] *** layonhands <layonhands!~sasd3d@a79-169-80-195.cpe.netcabo.pt> has joined #angularjs
[03:32:19] *** milkman_ <milkman_!~milkman@ip92348037.dynamic.kabel-deutschland.de> has joined #angularjs
[03:33:24] *** Aliks <Aliks!~aliks@c-67-180-35-94.hsd1.ca.comcast.net> has quit IRC (Remote host closed the connection)
[03:35:59] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:e8bc:837d:28b4:e9eb> has quit IRC (Remote host closed the connection)
[03:36:26] *** sagerdearia <sagerdearia!~necrodear@unaffiliated/necrodearia> has joined #angularjs
[03:37:00] *** milkman_ <milkman_!~milkman@ip92348037.dynamic.kabel-deutschland.de> has quit IRC (Ping timeout: 276 seconds)
[03:37:07] *** burzum <burzum!~burzum@p4FDF83CC.dip0.t-ipconnect.de> has joined #angularjs
[03:39:16] *** burzum2 <burzum2!~burzum@p4FDF86D9.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 250 seconds)
[03:40:31] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has quit IRC (Remote host closed the connection)
[03:42:08] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:2151:9751:b4cc:f218> has joined #angularjs
[03:42:33] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has joined #angularjs
[03:45:16] *** inVINCeable <inVINCeable!~inVINCeab@2601:805:8200:f5b0:505f:250f:bbc2:ccec> has quit IRC ()
[03:47:00] *** romerocesar <romerocesar!~cesar@c-73-97-145-30.hsd1.wa.comcast.net> has quit IRC (Remote host closed the connection)
[03:47:27] *** riyunoa <riyunoa!dce990a1@gateway/web/freenode/ip.220.233.144.161> has quit IRC (Quit: Page closed)
[03:47:30] *** Rodya_ <Rodya_!~Rodya_@2601:46:4001:e0b4:7026:98a:66f5:620> has quit IRC (Remote host closed the connection)
[03:48:04] *** Rodya_ <Rodya_!~Rodya_@2601:46:4001:e0b4:7026:98a:66f5:620> has joined #angularjs
[03:48:52] *** icfantv <icfantv!~icfantv@2601:647:4a00:8e99:3964:2b57:6b20:b312> has joined #angularjs
[03:49:18] *** bengillies <bengillies!~bengillie@bengillies.net> has joined #angularjs
[03:49:22] *** icfantv <icfantv!~icfantv@2601:647:4a00:8e99:3964:2b57:6b20:b312> has quit IRC (Client Quit)
[03:50:14] *** davi-lima <davi-lima!~Davi@191.33.69.18> has joined #angularjs
[03:52:16] *** Rodya_ <Rodya_!~Rodya_@2601:46:4001:e0b4:7026:98a:66f5:620> has quit IRC (Ping timeout: 250 seconds)
[03:53:43] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has joined #angularjs
[03:53:45] *** bengillies <bengillies!~bengillie@bengillies.net> has quit IRC (Ping timeout: 248 seconds)
[03:55:53] *** kuadrosx <kuadrosx!~kuadrosx@190.240.80.94> has quit IRC (Ping timeout: 248 seconds)
[03:55:53] *** sharkasdf <sharkasdf!~Mike@cpe-72-130-247-114.hawaii.res.rr.com> has joined #angularjs
[03:58:38] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has quit IRC (Ping timeout: 265 seconds)
[04:01:43] *** aniketh_ <aniketh_!uid171160@gateway/web/irccloud.com/x-vbgbgpipcktrlfkp> has joined #angularjs
[04:01:46] *** mangolisk <mangolisk!~mangolisk@S0106848dc7ebaa06.vc.shawcable.net> has joined #angularjs
[04:02:13] *** csk <csk!~csk@181.202.12.230> has quit IRC (Quit: ZZZzzz…)
[04:04:20] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has quit IRC (Read error: Connection reset by peer)
[04:05:10] *** php_ <php_!~php@149.202.250.22> has quit IRC (Changing host)
[04:05:10] *** php_ <php_!~php@unaffiliated/php> has joined #angularjs
[04:05:12] *** php_ is now known as php
[04:07:44] *** mangolisk <mangolisk!~mangolisk@S0106848dc7ebaa06.vc.shawcable.net> has quit IRC (Read error: Connection timed out)
[04:08:08] *** mangolisk <mangolisk!~mangolisk@S0106848dc7ebaa06.vc.shawcable.net> has joined #angularjs
[04:09:09] *** romerocesar <romerocesar!~cesar@2601:602:9300:6000:1d05:2f74:6a57:5462> has joined #angularjs
[04:11:16] *** mastokley <mastokley!~mastokley@71.35.179.178> has quit IRC (Ping timeout: 255 seconds)
[04:11:41] *** amcorreia <amcorreia!~amcorreia@2804:7f5:280:2459::1> has quit IRC (Ping timeout: 265 seconds)
[04:14:42] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:2151:9751:b4cc:f218> has quit IRC (Remote host closed the connection)
[04:16:29] *** enigma_raz <enigma_raz!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has joined #angularjs
[04:18:30] *** romerocesar <romerocesar!~cesar@2601:602:9300:6000:1d05:2f74:6a57:5462> has quit IRC (Remote host closed the connection)
[04:19:46] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:4882:b45f:d7db:e842> has joined #angularjs
[04:20:36] *** whitebook <whitebook!~whitebook@ool-d18c2a4f.dyn.optonline.net> has joined #angularjs
[04:26:24] *** dodobrain <dodobrain!~dodobrain@unaffiliated/freakabcd> has quit IRC (Ping timeout: 276 seconds)
[04:29:06] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:4882:b45f:d7db:e842> has quit IRC (Remote host closed the connection)
[04:29:17] *** quakephil <quakephil!~smuxi@cpe-69-200-246-39.nyc.res.rr.com> has quit IRC (Read error: Connection reset by peer)
[04:30:33] *** tbrb <tbrb!~skull@enucs/member/tbrb> has quit IRC (Ping timeout: 248 seconds)
[04:31:06] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:4522:e8f8:79c8:1d1e> has joined #angularjs
[04:31:31] *** quakephil <quakephil!~smuxi@cpe-69-200-246-39.nyc.res.rr.com> has joined #angularjs
[04:31:43] *** sbellina <sbellina!~sbellina@c-75-65-176-38.hsd1.ms.comcast.net> has joined #angularjs
[04:32:01] *** tbrb <tbrb!~skull@enucs/member/tbrb> has joined #angularjs
[04:32:34] *** simalexan <simalexan!~simalexan@46.101.12.144> has quit IRC (Ping timeout: 250 seconds)
[04:32:42] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has joined #angularjs
[04:33:14] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:4522:e8f8:79c8:1d1e> has quit IRC (Remote host closed the connection)
[04:34:09] *** CreateMo <CreateMo!~textual@47.146.55.67> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[04:34:51] *** node9 <node9!~node9@CPE0c473dd24701-CM0c473dd24700.cpe.net.cable.rogers.com> has joined #angularjs
[04:36:15] *** sbellina <sbellina!~sbellina@c-75-65-176-38.hsd1.ms.comcast.net> has quit IRC (Ping timeout: 265 seconds)
[04:36:35] *** boann <boann!~BOANN@ip51ceb71a.adsl-surfen.hetnet.nl> has quit IRC (Read error: Connection reset by peer)
[04:36:57] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:31d1:2aff:abfd:ceac> has joined #angularjs
[04:37:29] *** node9 <node9!~node9@CPE0c473dd24701-CM0c473dd24700.cpe.net.cable.rogers.com> has quit IRC (Client Quit)
[04:38:35] *** simalexan <simalexan!~simalexan@46.101.12.144> has joined #angularjs
[04:45:45] *** Germanaz0 <Germanaz0!~Germanaz0@unaffiliated/germanaz0> has joined #angularjs
[04:50:00] *** whiteboo_ <whiteboo_!~whitebook@ool-d18c2a4f.dyn.optonline.net> has joined #angularjs
[04:50:02] *** bengillies <bengillies!~bengillie@bengillies.net> has joined #angularjs
[04:51:16] *** whitebo__ <whitebo__!~whitebook@ool-d18c2a4f.dyn.optonline.net> has joined #angularjs
[04:51:21] *** chachasmooth <chachasmooth!~chachasmo@unaffiliated/chachasmooth> has quit IRC (Ping timeout: 248 seconds)
[04:51:54] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has quit IRC (Remote host closed the connection)
[04:52:11] *** whitebo__ <whitebo__!~whitebook@ool-d18c2a4f.dyn.optonline.net> has quit IRC (Read error: Connection reset by peer)
[04:52:18] *** mastokley <mastokley!~mastokley@64.125.192.130> has joined #angularjs
[04:52:26] *** whitebo__ <whitebo__!~whitebook@ool-d18c2a4f.dyn.optonline.net> has joined #angularjs
[04:52:33] *** whitebook <whitebook!~whitebook@ool-d18c2a4f.dyn.optonline.net> has quit IRC (Ping timeout: 240 seconds)
[04:52:48] *** whiteboo_ <whiteboo_!~whitebook@ool-d18c2a4f.dyn.optonline.net> has quit IRC (Read error: Connection reset by peer)
[04:53:28] *** {DV8} <{DV8}!~Deviate@135-23-110-43.cpe.pppoe.ca> has quit IRC (Quit: Leaving)
[04:54:36] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has joined #angularjs
[04:54:49] *** whitebook <whitebook!~whitebook@ool-d18c2a4f.dyn.optonline.net> has joined #angularjs
[04:55:00] *** bengillies <bengillies!~bengillie@bengillies.net> has quit IRC (Ping timeout: 276 seconds)
[04:55:36] *** LeBlaaanc <LeBlaaanc!~LeBlaaanc@47.188.236.163> has joined #angularjs
[04:57:37] *** whitebo__ <whitebo__!~whitebook@ool-d18c2a4f.dyn.optonline.net> has quit IRC (Ping timeout: 255 seconds)
[04:58:10] *** plutoniix <plutoniix!~q@119-46-218-2.static.asianet.co.th> has joined #angularjs
[04:58:38] *** chachasmooth <chachasmooth!~chachasmo@unaffiliated/chachasmooth> has joined #angularjs
[05:00:01] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has quit IRC (Ping timeout: 265 seconds)
[05:00:56] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:31d1:2aff:abfd:ceac> has quit IRC (Remote host closed the connection)
[05:01:09] *** sharkasdf <sharkasdf!~Mike@cpe-72-130-247-114.hawaii.res.rr.com> has quit IRC (Quit: Leaving)
[05:01:39] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:31d1:2aff:abfd:ceac> has joined #angularjs
[05:02:16] *** sbellina <sbellina!~sbellina@c-75-65-176-38.hsd1.ms.comcast.net> has joined #angularjs
[05:02:58] *** c17r_ <c17r_!~c17r@c-76-111-82-24.hsd1.va.comcast.net> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)
[05:03:29] *** whiteboo_ <whiteboo_!~whitebook@ool-182e2e18.dyn.optonline.net> has joined #angularjs
[05:07:03] *** whitebook <whitebook!~whitebook@ool-d18c2a4f.dyn.optonline.net> has quit IRC (Ping timeout: 240 seconds)
[05:07:29] *** dman777_alter <dman777_alter!~na@cpe-72-182-43-183.austin.res.rr.com> has joined #angularjs
[05:08:49] *** LeBlaaanc <LeBlaaanc!~LeBlaaanc@47.188.236.163> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
[05:10:01] *** enigma_raz <enigma_raz!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has quit IRC (Ping timeout: 248 seconds)
[05:10:22] *** enigma_raz <enigma_raz!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has joined #angularjs
[05:12:19] *** enigma_r_ <enigma_r_!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has joined #angularjs
[05:15:18] *** enigma___ <enigma___!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has joined #angularjs
[05:15:19] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has joined #angularjs
[05:15:30] *** enigma_raz <enigma_raz!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has quit IRC (Ping timeout: 260 seconds)
[05:17:50] *** enigma_r_ <enigma_r_!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has quit IRC (Ping timeout: 260 seconds)
[05:17:57] *** rickmak_ <rickmak_!~rickmak@n219076246068.netvigator.com> has joined #angularjs
[05:19:22] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has quit IRC (Ping timeout: 244 seconds)
[05:21:13] *** raijin <raijin!~raijin@unaffiliated/raijin> has quit IRC (Ping timeout: 248 seconds)
[05:21:24] *** FIFOd <FIFOd!~FIFOd@cpe-172-74-101-60.nc.res.rr.com> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
[05:27:54] *** LeBlaaanc <LeBlaaanc!~LeBlaaanc@47.188.236.163> has joined #angularjs
[05:32:37] *** milkman_ <milkman_!~milkman@ip92348037.dynamic.kabel-deutschland.de> has joined #angularjs
[05:34:10] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has joined #angularjs
[05:35:18] *** LeBlaaanc <LeBlaaanc!~LeBlaaanc@47.188.236.163> has quit IRC (Ping timeout: 265 seconds)
[05:35:38] *** LeBlaaanc <LeBlaaanc!~LeBlaaanc@mobile-166-173-061-224.mycingular.net> has joined #angularjs
[05:37:05] *** milkman_ <milkman_!~milkman@ip92348037.dynamic.kabel-deutschland.de> has quit IRC (Ping timeout: 260 seconds)
[05:37:22] *** Germanaz0 <Germanaz0!~Germanaz0@unaffiliated/germanaz0> has quit IRC (Quit: Me fui a dormir)
[05:37:33] *** AnarchyAo <AnarchyAo!~andrew@dhcp.1lakeside.web-pass.com> has quit IRC (Ping timeout: 240 seconds)
[05:42:26] *** dcherman <dcherman!~dcherman@ool-457cbcbd.dyn.optonline.net> has joined #angularjs
[05:43:01] *** Admin__ <Admin__!~Admin@2001:8a0:e4f2:4501:e91b:544a:a5d0:a85d> has joined #angularjs
[05:43:06] *** dman777_alter <dman777_alter!~na@cpe-72-182-43-183.austin.res.rr.com> has quit IRC (Quit: Lost terminal)
[05:44:25] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has quit IRC (Remote host closed the connection)
[05:46:47] *** d3m0n <d3m0n!~d3m0n@unaffiliated/d3m0n> has joined #angularjs
[05:50:48] *** bengillies <bengillies!~bengillie@bengillies.net> has joined #angularjs
[05:52:39] *** tejas <tejas!3b5ec5c9@gateway/web/freenode/ip.59.94.197.201> has joined #angularjs
[05:53:25] *** sbellina <sbellina!~sbellina@c-75-65-176-38.hsd1.ms.comcast.net> has quit IRC (Ping timeout: 260 seconds)
[05:54:54] *** tejas <tejas!3b5ec5c9@gateway/web/freenode/ip.59.94.197.201> has quit IRC (Client Quit)
[05:55:24] *** enigma_raz <enigma_raz!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has joined #angularjs
[05:56:03] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has joined #angularjs
[05:56:07] *** bengillies <bengillies!~bengillie@bengillies.net> has quit IRC (Ping timeout: 272 seconds)
[05:57:19] *** erol_ <erol_!~erol@cam44-h01-89-91-144-193.dsl.sta.abo.bbox.fr> has joined #angularjs
[05:57:35] *** enigma_r_ <enigma_r_!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has joined #angularjs
[05:57:48] *** naveenvalecha <naveenvalecha!~naveenval@unaffiliated/naveenvalecha> has joined #angularjs
[05:58:00] *** LeBlaaan_ <LeBlaaan_!~LeBlaaanc@47.188.236.163> has joined #angularjs
[05:58:01] *** enigma___ <enigma___!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has quit IRC (Ping timeout: 265 seconds)
[05:58:41] *** enigma_raz <enigma_raz!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has quit IRC (Read error: Connection reset by peer)
[05:58:54] *** LeBlaaanc <LeBlaaanc!~LeBlaaanc@mobile-166-173-061-224.mycingular.net> has quit IRC (Ping timeout: 265 seconds)
[06:01:24] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has quit IRC (Ping timeout: 265 seconds)
[06:02:41] *** Wizek <Wizek!~Wizek@catv-89-132-132-110.catv.broadband.hu> has quit IRC (Ping timeout: 240 seconds)
[06:03:29] *** mastokley <mastokley!~mastokley@64.125.192.130> has quit IRC (Ping timeout: 240 seconds)
[06:10:36] *** pspfolio <pspfolio!~pspfolio@62-121-49-2-static-dsl.ssp.fi> has joined #angularjs
[06:10:59] *** pspfolio <pspfolio!~pspfolio@62-121-49-2-static-dsl.ssp.fi> has left #angularjs
[06:13:07] *** boann <boann!~BOANN@ip51ceb71a.adsl-surfen.hetnet.nl> has joined #angularjs
[06:15:46] *** brandom <brandom!~brandon@71.252.169.205> has joined #angularjs
[06:15:55] *** enigma_raz <enigma_raz!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has joined #angularjs
[06:15:59] *** romerocesar <romerocesar!~cesar@2601:602:9300:6000:1d05:2f74:6a57:5462> has joined #angularjs
[06:17:56] *** enigma___ <enigma___!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has joined #angularjs
[06:18:15] *** enigma_r_ <enigma_r_!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has quit IRC (Ping timeout: 265 seconds)
[06:20:20] *** enigma_raz <enigma_raz!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has quit IRC (Ping timeout: 244 seconds)
[06:25:34] *** AndruhaKumych <AndruhaKumych!d44bd9de@gateway/web/freenode/ip.212.75.217.222> has joined #angularjs
[06:29:44] *** rickmak_ <rickmak_!~rickmak@n219076246068.netvigator.com> has quit IRC (Quit: rickmak_)
[06:30:42] *** naveenvalechaAFK <naveenvalechaAFK!~naveenval@unaffiliated/naveenvalecha> has joined #angularjs
[06:30:52] *** rickmak_ <rickmak_!~rickmak@203186221114.ctinets.com> has joined #angularjs
[06:31:21] <AndruhaKumych> Hi to all!
[06:31:35] *** naveenvalecha <naveenvalecha!~naveenval@unaffiliated/naveenvalecha> has quit IRC (Ping timeout: 272 seconds)
[06:31:46] <Girafferson> Hola
[06:31:46] *** rickmak_ <rickmak_!~rickmak@203186221114.ctinets.com> has quit IRC (Client Quit)
[06:33:02] *** heartburn <heartburn!~heartburn@213.21.33.24> has quit IRC (Read error: Connection reset by peer)
[06:33:11] *** heartburn <heartburn!~heartburn@213.21.33.24> has joined #angularjs
[06:33:13] *** imatefx <imatefx!imatefx@open.source.supporter.firrre.com> has quit IRC (Ping timeout: 248 seconds)
[06:33:19] <AndruhaKumych> AngularJS documentation says that ng-include directive creates new scope. Also docs says there is hierarchy of scopes in angular app. But I cannot find way to access parent scope from code in included file.
[06:33:23] *** rickmak_ <rickmak_!~rickmak@203186221114.ctinets.com> has joined #angularjs
[06:33:28] <AndruhaKumych> Has any ideas?
[06:33:28] *** blackjid <blackjid!blackjid@open.source.supporter.firrre.com> has quit IRC (Ping timeout: 255 seconds)
[06:33:56] *** erol_ <erol_!~erol@cam44-h01-89-91-144-193.dsl.sta.abo.bbox.fr> has quit IRC (Ping timeout: 244 seconds)
[06:34:17] <AndruhaKumych> Google says scope.$parent, but it not works...
[06:34:43] *** max_at <max_at!max_at_dev@gateway/shell/elitebnc/x-xwuumjmmnzsojngn> has quit IRC (Quit: see you later..)
[06:34:53] *** rickmak_ <rickmak_!~rickmak@203186221114.ctinets.com> has quit IRC (Client Quit)
[06:35:19] <da_wunder> AndruhaKumych: inspect that parent scope
[06:35:28] <da_wunder> that might not be the one you're looking for
[06:38:53] *** AndruhaKumych <AndruhaKumych!d44bd9de@gateway/web/freenode/ip.212.75.217.222> has quit IRC (Quit: Page closed)
[06:40:06] *** naveenvalechaAFK <naveenvalechaAFK!~naveenval@unaffiliated/naveenvalecha> has quit IRC (Remote host closed the connection)
[06:41:19] *** atula <atula!~neobreed@209-6-221-20.c3-0.hdp-ubr1.sbo-hdp.ma.cable.rcn.com> has quit IRC (Quit: This computer has gone to sleep)
[06:42:28] *** enigma___ <enigma___!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has quit IRC (Ping timeout: 255 seconds)
[06:42:32] *** aniketh_ <aniketh_!uid171160@gateway/web/irccloud.com/x-vbgbgpipcktrlfkp> has quit IRC (Quit: Connection closed for inactivity)
[06:43:34] *** enigma_raz <enigma_raz!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has joined #angularjs
[06:45:16] *** dopry <dopry!~dopry@ool-18b95449.dyn.optonline.net> has joined #angularjs
[06:45:41] *** naveenvalecha <naveenvalecha!~naveenval@unaffiliated/naveenvalecha> has joined #angularjs
[06:46:32] *** wrkrcoop <wrkrcoop!~martee@c-50-161-66-134.hsd1.ca.comcast.net> has joined #angularjs
[06:47:23] *** mastokley <mastokley!~mastokley@71.35.179.178> has joined #angularjs
[06:48:20] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:31d1:2aff:abfd:ceac> has quit IRC (Remote host closed the connection)
[06:51:13] *** naveenvalecha <naveenvalecha!~naveenval@unaffiliated/naveenvalecha> has quit IRC (Ping timeout: 272 seconds)
[06:51:33] *** bengillies <bengillies!~bengillie@bengillies.net> has joined #angularjs
[06:51:58] *** romerocesar <romerocesar!~cesar@2601:602:9300:6000:1d05:2f74:6a57:5462> has quit IRC (Remote host closed the connection)
[06:52:54] *** romerocesar <romerocesar!~cesar@c-73-97-145-30.hsd1.wa.comcast.net> has joined #angularjs
[06:55:12] *** sbellina <sbellina!~sbellina@c-75-65-176-38.hsd1.ms.comcast.net> has joined #angularjs
[06:56:26] *** bengillies <bengillies!~bengillie@bengillies.net> has quit IRC (Ping timeout: 265 seconds)
[06:57:30] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has joined #angularjs
[06:57:58] *** gvanderest <gvanderest!~gvanderes@S01061cabc0b0f193.ok.shawcable.net> has joined #angularjs
[06:58:51] *** naveenvalecha <naveenvalecha!~naveenval@unaffiliated/naveenvalecha> has joined #angularjs
[06:59:48] *** sbellina <sbellina!~sbellina@c-75-65-176-38.hsd1.ms.comcast.net> has quit IRC (Ping timeout: 265 seconds)
[07:00:43] *** romerocesar <romerocesar!~cesar@c-73-97-145-30.hsd1.wa.comcast.net> has quit IRC (Remote host closed the connection)
[07:00:57] *** romerocesar <romerocesar!~cesar@2601:602:9300:6000:1d05:2f74:6a57:5462> has joined #angularjs
[07:01:37] *** jimklo <jimklo!~jimklo@71-84-19-18.dhcp.trlk.ca.charter.com> has joined #angularjs
[07:04:41] *** weems <weems!~weems@unaffiliated/weems> has quit IRC (Ping timeout: 248 seconds)
[07:05:41] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has quit IRC (Ping timeout: 265 seconds)
[07:06:19] *** rscata <rscata!~cata@5.2.202.145> has joined #angularjs
[07:07:36] *** ananth_ <ananth_!c116774e@gateway/web/freenode/ip.193.22.119.78> has joined #angularjs
[07:07:48] <ananth_> Hi, i have a doubt
[07:08:03] <ananth_> is angular version 2 stable or not ?
[07:16:16] *** Aliks <Aliks!~aliks@c-50-161-64-217.hsd1.ca.comcast.net> has joined #angularjs
[07:17:23] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has joined #angularjs
[07:18:44] *** jtimon <jtimon!~quassel@150.110.132.37.dynamic.jazztel.es> has quit IRC (Ping timeout: 265 seconds)
[07:20:07] *** Garfield-fr <Garfield-fr!~Garfield-@unaffiliated/garfield-fr> has joined #angularjs
[07:20:20] *** Pandorian <Pandorian!~zenfox@ool-ad02fa96.dyn.optonline.net> has quit IRC (Ping timeout: 260 seconds)
[07:22:03]
*** Alina-malina <Alina-malina!~Alina-mal@unaffiliated/alina-malina> has quit IRC (Quit: ZNC 1.6.3 - http://znc.in)
[07:22:06] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has quit IRC (Ping timeout: 264 seconds)
[07:22:18] *** Alina-malina <Alina-malina!~Alina-mal@37.157.216.188> has joined #angularjs
[07:22:45] *** shinnya <shinnya!~shinnya@245.144.137.133.dy.bbexcite.jp> has joined #angularjs
[07:23:06] *** ewet <ewet!~ewet@unaffiliated/ewet> has joined #angularjs
[07:24:04] *** Alina-malina <Alina-malina!~Alina-mal@37.157.216.188> has quit IRC (Changing host)
[07:24:04] *** Alina-malina <Alina-malina!~Alina-mal@unaffiliated/alina-malina> has joined #angularjs
[07:24:25] *** punknroll <punknroll!~Thunderbi@p83-219-165-60.snwdip.snw.at> has joined #angularjs
[07:25:38] *** Bnaya <Bnaya!~Bnaya@unaffiliated/bnaya> has quit IRC (Quit: Bnaya)
[07:26:16] *** max_at <max_at!max_at_dev@gateway/shell/elitebnc/x-fgqjbfppbbtqxnpl> has joined #angularjs
[07:35:56] *** inVINCeable <inVINCeable!~inVINCeab@2601:805:8200:f5b0:71ff:3646:b231:de32> has joined #angularjs
[07:38:02] *** rickmak_ <rickmak_!~rickmak@n219076246068.netvigator.com> has joined #angularjs
[07:40:09] *** Pandorian <Pandorian!~zenfox@ool-ad02fa96.dyn.optonline.net> has joined #angularjs
[07:41:12] *** Girafferson <Girafferson!~dakota@2601:281:8001:663d:512e:1691:93aa:95d3> has quit IRC (Quit: Leaving)
[07:42:36] *** dodobrain <dodobrain!~dodobrain@unaffiliated/freakabcd> has joined #angularjs
[07:42:38] *** rscata <rscata!~cata@5.2.202.145> has quit IRC (Ping timeout: 244 seconds)
[07:44:01] *** one_zero <one_zero!~one_zero@ip72-203-85-109.oc.oc.cox.net> has quit IRC ()
[07:44:16] *** vijay_ <vijay_!31d52ee5@gateway/web/freenode/ip.49.213.46.229> has joined #angularjs
[07:44:25] <vijay_> how to restAPI call
[07:44:33] *** enigma_raz <enigma_raz!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has quit IRC (Ping timeout: 240 seconds)
[07:45:17] *** enigma_raz <enigma_raz!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has joined #angularjs
[07:46:09] <vijay_> hi
[07:46:58] *** rscata <rscata!~cata@5.2.202.145> has joined #angularjs
[07:47:59] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:9cb0:af8a:1ed5:e3d5> has joined #angularjs
[07:50:32] *** inVINCeable <inVINCeable!~inVINCeab@2601:805:8200:f5b0:71ff:3646:b231:de32> has quit IRC ()
[07:50:49] *** inVINCeable <inVINCeable!~inVINCeab@2601:805:8200:f5b0:71ff:3646:b231:de32> has joined #angularjs
[07:51:26] *** inVINCeable <inVINCeable!~inVINCeab@2601:805:8200:f5b0:71ff:3646:b231:de32> has quit IRC (Client Quit)
[07:51:47] *** cacts <cacts!~cactus@c-174-51-80-218.hsd1.co.comcast.net> has quit IRC (Ping timeout: 244 seconds)
[07:52:04] *** lavalamp <lavalamp!~lavalamp@unaffiliated/lavalamp> has joined #angularjs
[07:52:19] *** bengillies <bengillies!~bengillie@bengillies.net> has joined #angularjs
[07:54:41] *** punknroll <punknroll!~Thunderbi@p83-219-165-60.snwdip.snw.at> has quit IRC (Quit: punknroll)
[07:56:05] *** dcherman <dcherman!~dcherman@ool-457cbcbd.dyn.optonline.net> has quit IRC (Ping timeout: 244 seconds)
[07:56:57] *** bengillies <bengillies!~bengillie@bengillies.net> has quit IRC (Ping timeout: 244 seconds)
[07:58:08] *** bytespirit <bytespirit!~bytespiri@5.79.74.141> has joined #angularjs
[07:59:10] *** punknroll <punknroll!~Thunderbi@p83-219-165-60.snwdip.snw.at> has joined #angularjs
[07:59:39] *** naveenvalecha <naveenvalecha!~naveenval@unaffiliated/naveenvalecha> has quit IRC ()
[08:00:22] *** enigma_raz <enigma_raz!~enigma_ra@96-90-253-166-static.hfc.comcastbusiness.net> has quit IRC (Remote host closed the connection)
[08:00:44] <vijay_> how to call restAPI in angularjs
[08:01:45] *** plutoniix <plutoniix!~q@119-46-218-2.static.asianet.co.th> has quit IRC (Quit: Leaving)
[08:01:47] *** bytespirit <bytespirit!~bytespiri@5.79.74.141> has left #angularjs
[08:01:59] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has joined #angularjs
[08:06:42] <ngWalrus> $http or ngResource
[08:07:13] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:9cb0:af8a:1ed5:e3d5> has quit IRC (Remote host closed the connection)
[08:07:33] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has quit IRC (Ping timeout: 265 seconds)
[08:08:08] <ThusSpakeHarambe> 281 330 8004
[08:08:11] <ThusSpakeHarambe> is how u call it
[08:09:28] *** george_v <george_v!~george_v@77.49.223.194.dsl.dyn.forthnet.gr> has joined #angularjs
[08:10:50] <vijay_> i call restApi in angular js but some error occur
[08:11:18] *** nya_ <nya_!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has quit IRC (Remote host closed the connection)
[08:11:50] *** nya_ <nya_!~nya@210.135.96.135> has joined #angularjs
[08:12:58] <Nasp> nice
[08:13:27] <ngWalrus> okay
[08:15:38] <ananth_> Hi, angular version 2.0 is stable or not ?
[08:16:21] *** nya_ <nya_!~nya@210.135.96.135> has quit IRC (Remote host closed the connection)
[08:16:28] *** nya__ <nya__!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has joined #angularjs
[08:16:42] <ananth_> Hi ngWalrus, angular version 2.0 is stable or not ?
[08:16:47] *** theskillwithin <theskillwithin!~theskillw@unaffiliated/theskillwithin> has quit IRC (Quit: My Mac has gone to sleep.)
[08:17:25] *** Nitin_ <Nitin_!7aafa663@gateway/web/freenode/ip.122.175.166.99> has joined #angularjs
[08:17:29] <Nitin_> Hi This is nitin.
[08:18:02] <Nitin_> I'm getting problem in image upload and cropping in iphone.
[08:18:53] *** vijay_ <vijay_!31d52ee5@gateway/web/freenode/ip.49.213.46.229> has quit IRC (Quit: Page closed)
[08:19:42] *** vishal_ <vishal_!7aafa663@gateway/web/freenode/ip.122.175.166.99> has joined #angularjs
[08:20:28] <Nasp> ananth_ 2.0 would imply stable
[08:20:40] <Nasp> That's what the entire versioning scheme is used for
[08:23:52] <Nitin_> Is there anyone who can solve my problem?
[08:25:40] *** wrkrcoop <wrkrcoop!~martee@c-50-161-66-134.hsd1.ca.comcast.net> has quit IRC (Quit: wrkrcoop)
[08:26:37] *** b0neskull <b0neskull!~boneskull@c-98-246-129-128.hsd1.or.comcast.net> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)
[08:28:14] <pyios> is rest api targeting for rendering at foreend?
[08:28:58] <ananth_> <Nasp> Last week, my friend told that it is in relase Candidate version, so its not good for production environment
[08:29:23] *** ansu <ansu!~ansu@unaffiliated/ansu> has quit IRC (Ping timeout: 272 seconds)
[08:29:45] <ananth_> this week when i check the angular 2 website, it shows that "angular2 is in final release" , that means whether angular 2 is stable or in beta version?
[08:30:18] *** sbellina <sbellina!~sbellina@c-75-65-176-38.hsd1.ms.comcast.net> has joined #angularjs
[08:30:20] <ananth_> <Nasp> this week when i check the angular 2 website, it shows that "angular2 is in final release" , that means whether angular 2 is stable or in beta version?
[08:30:39] *** ngbot <ngbot!~ngbot@192.30.252.46> has joined #angularjs
[08:30:39]
<ngbot> [angular.js] petebacondarwin pushed 4 new commits to v1.5.x: https://git.io/viFEF
[08:30:39] <ngbot> angular.js/v1.5.x cb4603b Peter Bacon Darwin: revert: feat(input[number]): support step...
[08:30:39] <ngbot> angular.js/v1.5.x 5b633d8 Peter Bacon Darwin: revert: feat(input[range]): support step...
[08:30:39] <ngbot> angular.js/v1.5.x aa60491 Peter Bacon Darwin: revert: fix(input[range]): correctly handle min/max; remove ngMin/ngMax support...
[08:30:39] *** ngbot <ngbot!~ngbot@192.30.252.46> has left #angularjs
[08:31:07] <Nasp> ananth_ Read what's on their website
[08:31:10] *** ansu <ansu!~ansu@unaffiliated/ansu> has joined #angularjs
[08:31:19] *** Nitin_ <Nitin_!7aafa663@gateway/web/freenode/ip.122.175.166.99> has quit IRC (Quit: Page closed)
[08:31:59] <ananth_> ok thanks <Nasp>
[08:33:31] *** aniketh_ <aniketh_!uid171160@gateway/web/irccloud.com/x-bastdiinivmuhrnk> has joined #angularjs
[08:34:16] *** erol_ <erol_!~erol@cam44-h01-89-91-144-193.dsl.sta.abo.bbox.fr> has joined #angularjs
[08:38:13] *** mpswierczek <mpswierczek!5bc00f4d@gateway/web/freenode/ip.91.192.15.77> has joined #angularjs
[08:39:20] *** VeeWee <VeeWee!~VeeWee@lclbe-surf.cronos.be> has joined #angularjs
[08:41:17] <mpswierczek> Hello all, I would like to ask you about the project structure that you use in your project development. I am used to the package structure as I am the Java Developer (so lets say that all entity classes I keep in the package *.model).
[08:42:03] *** uru|away is now known as uru
[08:42:20] *** nya__ <nya__!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has quit IRC (Remote host closed the connection)
[08:42:47] *** nya_ <nya_!~nya@210.135.96.135> has joined #angularjs
[08:43:18] *** vishal_ <vishal_!7aafa663@gateway/web/freenode/ip.122.175.166.99> has quit IRC (Quit: Page closed)
[08:43:23] *** milkman_ <milkman_!~milkman@ip92348037.dynamic.kabel-deutschland.de> has joined #angularjs
[08:43:55] <mpswierczek> I read the suggestions on the angular site about the structuring and naming conventions, but - from your perspective - is there any other practises which are recommended by you?
[08:43:58] <ngWalrus> abgkar 1 or 2?
[08:44:03] <mpswierczek> angular 2
[08:44:10] *** nya_ <nya_!~nya@210.135.96.135> has quit IRC (Remote host closed the connection)
[08:44:11] <ngWalrus> I'm horrible at writing :(
[08:44:18] *** nya_ <nya_!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has joined #angularjs
[08:44:27] *** plutoniix <plutoniix!~q@119-46-218-2.static.asianet.co.th> has joined #angularjs
[08:44:48] *** squeakytoy <squeakytoy!~squeakyto@h87-96-232-19.cust.se.alltele.net> has quit IRC (Read error: Connection reset by peer)
[08:45:15] *** bsrd <bsrd!~ukk@0x3e2c8695.mobile.telia.dk> has joined #angularjs
[08:45:32] *** icebox <icebox!5e5fe874@gateway/web/freenode/ip.94.95.232.116> has joined #angularjs
[08:46:19] <ngWalrus> that's the official style guide for ng2
[08:46:32] *** gvanderest <gvanderest!~gvanderes@S01061cabc0b0f193.ok.shawcable.net> has quit IRC (Quit: Leaving...)
[08:46:37] *** soee <soee!~soee@user-46-112-93-152.play-internet.pl> has joined #angularjs
[08:49:58] *** Debnet <Debnet!~Marc@smtp2.sa-cim.fr> has joined #angularjs
[08:50:20] *** AndrewIsh <AndrewIsh!~andrew@mrboom.plus.com> has joined #angularjs
[08:50:38] *** stoffus <stoffus!~stoffus@83.140.0.0> has joined #angularjs
[08:53:03] *** bengillies <bengillies!~bengillie@bengillies.net> has joined #angularjs
[08:57:53] *** bengillies <bengillies!~bengillie@bengillies.net> has quit IRC (Ping timeout: 272 seconds)
[08:57:59] <arnas> hi
[08:58:00]
*** Garfield-fr <Garfield-fr!~Garfield-@unaffiliated/garfield-fr> has quit IRC (Quit: Linkinus - http://linkinus.com)
[09:01:56] *** Garfield-fr <Garfield-fr!~Garfield-@unaffiliated/garfield-fr> has joined #angularjs
[09:03:32] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has joined #angularjs
[09:04:29]
<arnas> https://jsfiddle.net/9exsr67f/1/ So let's say I have this example code in my controller. I am refactoring my code and I want to move this to a factory. I am not entirely sure how to do this properly. First of all, how can I access element in the factory? Should I pass it through arguments? Second of all, how do I access formName, someFormName, someOtherFormName etc. variables? It would be stupid to pass all of them through arguments
[09:05:41] <ngWalrus> let's wprl through these questions one at a time
[09:05:41] *** heartburn <heartburn!~heartburn@213.21.33.24> has quit IRC (Read error: Connection reset by peer)
[09:05:49] <ngWalrus> work*
[09:05:58] *** heartburn <heartburn!~heartburn@213.21.33.24> has joined #angularjs
[09:06:11] <ngWalrus> First of all, how can I access element in the factory? You don't.
[09:06:20] <ngWalrus> it's bad form
[09:06:31] <ngWalrus> Factories should only be interested in the data being passed to them
[09:06:41] *** lavalamp <lavalamp!~lavalamp@unaffiliated/lavalamp> has quit IRC (Quit: (> '.' )>)
[09:06:54] *** vuoto <vuoto!~vuoto@80-71-135-9.u.parknet.dk> has joined #angularjs
[09:07:14] <arnas> ngWalrus, um, so where should this code go?
[09:07:32] <arnas> to the directive?
[09:08:55] <ngWalrus> yeah
[09:08:56] *** mischat <mischat!~mischat@2a02:c7f:c006:1e00:2911:d852:4db0:5751> has quit IRC (Ping timeout: 265 seconds)
[09:09:14] <ngWalrus> To the directive itself and best practice dictates it goes in the link function
[09:09:59] *** tarnus <tarnus!~tarnus@108-202-169-121.lightspeed.spfdmo.sbcglobal.net> has quit IRC (Remote host closed the connection)
[09:10:14] <ngWalrus> Second of all, how do I access formName, someFormName, someOtherFormName etc. variables? You can require ^form in your directive instantiation
[09:10:21] *** nya__ <nya__!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has joined #angularjs
[09:10:24] <ngWalrus> !help
[09:11:43] *** nya_ <nya_!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has quit IRC (Read error: Connection reset by peer)
[09:12:39] *** bsrd <bsrd!~ukk@0x3e2c8695.mobile.telia.dk> has quit IRC (Quit: WeeChat 1.5)
[09:13:00] <ngWalrus> that's what I mean
[09:13:28] <ngWalrus> you get access to the formController that way inside the directive
[09:13:57] <ngWalrus> you could also attack my directive to the form element itself in which case you'd want to just require 'form'
[09:14:23] *** tomphp <tomphp!~tomphp@host86-170-198-213.range86-170.btcentralplus.com> has joined #angularjs
[09:14:30] *** tomphp <tomphp!~tomphp@host86-170-198-213.range86-170.btcentralplus.com> has quit IRC (Client Quit)
[09:14:40] <arnas> ngWalrus, what if my link functions' arguments look like this? $scope, element, attrs, controller. So the form will now be equal to controller?
[09:15:15] *** despai <despai!~despai@ip5658b122.direct-adsl.nl> has joined #angularjs
[09:15:36] <ngWalrus> exactly
[09:15:49] *** jimklo <jimklo!~jimklo@71-84-19-18.dhcp.trlk.ca.charter.com> has quit IRC (Remote host closed the connection)
[09:16:23] *** jimklo <jimklo!~jimklo@71-84-19-18.dhcp.trlk.ca.charter.com> has joined #angularjs
[09:16:50] <arnas> ngWalrus, this.someArray = ['hello', 'goodbye', 'have a great day']; so this should then also go to the directives' if statement?
[09:16:55] *** tomphp <tomphp!~tomphp@host86-170-198-213.range86-170.btcentralplus.com> has joined #angularjs
[09:17:36] *** erol_ <erol_!~erol@cam44-h01-89-91-144-193.dsl.sta.abo.bbox.fr> has quit IRC (Ping timeout: 276 seconds)
[09:17:39] *** verwilst <verwilst!~smuxi@systeembeheer.combell.com> has quit IRC (Remote host closed the connection)
[09:17:47] *** jimklo <jimklo!~jimklo@71-84-19-18.dhcp.trlk.ca.charter.com> has quit IRC (Read error: Connection reset by peer)
[09:17:51] <ngWalrus> I'm not 100% what you are trying to accomplish with your fiddle
[09:17:58] *** jimklo <jimklo!~jimklo@71-84-19-18.dhcp.trlk.ca.charter.com> has joined #angularjs
[09:18:13] *** nya__ <nya__!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has quit IRC (Remote host closed the connection)
[09:18:20] *** ikb <ikb!~ikb@151.74.56.55> has joined #angularjs
[09:18:41] *** nya_ <nya_!~nya@210.135.96.135> has joined #angularjs
[09:18:46] <arnas> ngWalrus, in a real world app, I am just setting up some error messages according to the form name
[09:18:48] <arnas> and stuff like that
[09:19:10] *** nya_ <nya_!~nya@210.135.96.135> has quit IRC (Remote host closed the connection)
[09:19:12] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has joined #angularjs
[09:19:17] *** nya_ <nya_!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has joined #angularjs
[09:19:18] <ngWalrus> "controller - the directive's required controller instance(s)" also that's the 4th parameter in the link function
[09:19:31] *** nya_ <nya_!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has quit IRC (Remote host closed the connection)
[09:19:58] *** nya_ <nya_!~nya@210.135.96.135> has joined #angularjs
[09:20:06] <ngWalrus> and remember, that these are shared. So if you need your directives to talk to each other you can use the controllers for that
[09:20:09] *** akkonrad <akkonrad!~akkonrad3@gae109.internetdsl.tpnet.pl> has joined #angularjs
[09:20:13] *** nishu-tryinghard <nishu-tryinghard!~nishanth@183.82.99.106> has joined #angularjs
[09:20:17] *** sbellina <sbellina!~sbellina@c-75-65-176-38.hsd1.ms.comcast.net> has quit IRC (Read error: Connection reset by peer)
[09:20:27] *** drej <drej!~jedimind@unaffiliated/jedimind> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[09:20:30] <arnas> ngWalrus, I only have one directive
[09:20:33] <arnas> and one controller
[09:20:33] *** nya_ <nya_!~nya@210.135.96.135> has quit IRC (Remote host closed the connection)
[09:20:38] *** nya__ <nya__!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has joined #angularjs
[09:20:40] <arnas> this might be bad, but I don't see a reason why would I need more :D
[09:21:13] <ngWalrus> you'll probably have a usecase like that at some point
[09:21:22] <ngWalrus> but don't worry about it for now
[09:22:35] *** iraj <iraj!~iraj@91.107.175.113> has joined #angularjs
[09:22:35] <arnas> ok, so I'll move this whole function to the directive
[09:22:38] *** iraj <iraj!~iraj@91.107.175.113> has quit IRC (Changing host)
[09:22:38] *** iraj <iraj!~iraj@unaffiliated/iraj> has joined #angularjs
[09:22:45] *** Pyrrhus666 <Pyrrhus666!~Pyrrhus66@095-097-155-024.static.chello.nl> has joined #angularjs
[09:23:21] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has quit IRC (Ping timeout: 248 seconds)
[09:23:31] *** despai <despai!~despai@ip5658b122.direct-adsl.nl> has quit IRC (Quit: Leaving)
[09:24:53] *** kakashiAL <kakashiAL!~kakashiAL@ip-178-202-50-70.hsi09.unitymediagroup.de> has joined #angularjs
[09:25:27] *** nya__ <nya__!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has quit IRC (Remote host closed the connection)
[09:25:53] *** nya_ <nya_!~nya@210.135.96.135> has joined #angularjs
[09:26:22] *** Shilon <Shilon!~Shilon@bl12-138-29.dsl.telepac.pt> has joined #angularjs
[09:27:41] *** nya_ <nya_!~nya@210.135.96.135> has quit IRC (Remote host closed the connection)
[09:27:46] *** nya__ <nya__!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has joined #angularjs
[09:28:47] *** gain_ <gain_!~Gianni@host207-76-dynamic.244-95-r.retail.telecomitalia.it> has joined #angularjs
[09:28:47] *** d3m0n <d3m0n!~d3m0n@unaffiliated/d3m0n> has quit IRC ()
[09:29:13] <arnas> ngWalrus, I don't really get it how this works tho
[09:29:14] <arnas> require: '^form',
[09:29:41] <arnas> because I get an error: [$compile:ctreq] Controller 'form', required by directive 'myDirectiveName', can't be found!
[09:30:32] <ngWalrus> you need to have a form element as a parent
[09:30:39] *** Debnet`Work <Debnet`Work!~Marc@48.86.2.93.rev.sfr.net> has joined #angularjs
[09:30:51] <ngWalrus> or a sibling if it usin just require:'form'
[09:31:28] *** enigma_raz <enigma_raz!~enigma_ra@c-73-15-186-175.hsd1.ca.comcast.net> has joined #angularjs
[09:31:30] *** siba <siba!~textual@60-242-28-48.static.tpgi.com.au> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)
[09:31:31] <arnas> ngWalrus, what if it's deep inside?
[09:31:41] <arnas> the directives' tempalates' hmtl
[09:31:43] <arnas> html*
[09:32:08] *** tristanp <tristanp!~tristanp@c-73-19-36-48.hsd1.wa.comcast.net> has quit IRC (Ping timeout: 265 seconds)
[09:33:55] *** Debnet <Debnet!~Marc@smtp2.sa-cim.fr> has quit IRC (Ping timeout: 255 seconds)
[09:34:00] *** Aliks <Aliks!~aliks@c-50-161-64-217.hsd1.ca.comcast.net> has quit IRC (Remote host closed the connection)
[09:34:07] *** mpswierczek <mpswierczek!5bc00f4d@gateway/web/freenode/ip.91.192.15.77> has quit IRC (Quit: Page closed)
[09:34:15] <ngWalrus> I'm pretty sure you can nest it as deeply as you want
[09:34:35] *** Shilon <Shilon!~Shilon@bl12-138-29.dsl.telepac.pt> has quit IRC (Quit: Shilon)
[09:34:35] <ngWalrus> if you are nesting form elements then it'll break because nesting form elements is invalid html
[09:34:46] <arnas> ngWalrus, no, it's not like form in a form :D
[09:35:01] <arnas> but what's the point of requiring form anyways? Why not keep it like $scope, element, attrs, controller?
[09:37:06] <ngWalrus> you lost me
[09:37:24] <ngWalrus> show code if you want specific advice
[09:37:33] <ngWalrus> otherwise you should look at the docs I've posted
[09:37:47] *** moloch <moloch!~moloch@cpe-98-150-237-205.hawaii.res.rr.com> has quit IRC (Quit: Bye)
[09:38:41] *** mastokley <mastokley!~mastokley@71.35.179.178> has quit IRC (Ping timeout: 240 seconds)
[09:40:39] <ngWalrus> I don't know if you are trying to do something very very strange or if you are not communicating your problem well enough
[09:40:52] <arnas> ngWalrus, well, you said this: "Second of all, how do I access formName, someFormName, someOtherFormName etc. variables? You can require ^form in your directive instantiation". But I just tried accesing someFormName like this: controller.someFormName in the directive and it worked
[09:41:46] *** erol_ <erol_!~erol@2a01:e35:2438:3ce0:82fa:5bff:fe15:214> has joined #angularjs
[09:41:55] *** Lomex <Lomex!~lomex@213.61.34.42> has joined #angularjs
[09:42:03] <ngWalrus> it won't work like that
[09:42:12] <ngWalrus> show your code and maybe I can help
[09:42:19] <arnas> ngWalrus, but it does work
[09:42:25] <ngWalrus> okay
[09:42:39] <arnas> why shouldn't it?
[09:42:45] <ngWalrus> I haven't even seen your code
[09:42:56] <ngWalrus> I'm not a psychic
[09:42:58] *** vpi <vpi!~vpi@195.66.82.9> has joined #angularjs
[09:43:46] <arnas> that's a lot of code to copy/paste to plunker :D
[09:43:56] <arnas> and I am pretty sure I am not allowed to post it on the internet
[09:44:31] *** Aliks <Aliks!~aliks@c-50-161-64-217.hsd1.ca.comcast.net> has joined #angularjs
[09:44:33] <ngWalrus> minimal working plunkr dude
[09:44:43] <ngWalrus> I'm not going to go through your whole codebase
[09:44:47] *** tomphp <tomphp!~tomphp@host86-170-198-213.range86-170.btcentralplus.com> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[09:45:34] *** Elarcis <Elarcis!~Elarcis@webdefence.cluster-d.websense.net> has joined #angularjs
[09:45:38] <Elarcis> Howdy!
[09:46:04] <ngWalrus> hello
[09:46:25] <Pyrrhus666> good morning all
[09:47:17] *** cotko <cotko!~ahmed@89-212-138-82.static.t-2.net> has joined #angularjs
[09:47:34] *** LeBlaaan_ <LeBlaaan_!~LeBlaaanc@47.188.236.163> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
[09:47:47] *** tomphp <tomphp!~tomphp@host86-170-198-213.range86-170.btcentralplus.com> has joined #angularjs
[09:48:26] <arnas> something like that
[09:48:29] *** mangolisk <mangolisk!~mangolisk@S0106848dc7ebaa06.vc.shawcable.net> has quit IRC (Read error: Connection reset by peer)
[09:48:32] <arnas> but it's showing empty object for some reason
[09:48:44] <ngWalrus> it won't work like that
[09:49:04] <ngWalrus> probably
[09:49:13] <ngWalrus> well not exactly like that
[09:49:56] <soee> any idea why my component is not receiving data from parent controller: Controller inside init() function loads data through promises: $q.all([promise1, promise2]).then(function (response) { vm.obj1 = response[0].data; vm.obj2 = response[1].data; }); then inside view i'm using component that has 2 way data binding attributes to read ctrl.obj1 and ctrl.obj2 but they are never send here (debugging them inside controller shows they ar
[09:49:58] <soee> eloaded there fine)
[09:50:17] <arnas> ngWalrus, why?
[09:50:30] *** siba <siba!~textual@60-242-28-48.static.tpgi.com.au> has joined #angularjs
[09:50:32] *** nya__ <nya__!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has quit IRC (Remote host closed the connection)
[09:50:50] <ngWalrus> parent elements aren't aware of child elements
[09:50:59] *** nya_ <nya_!~nya@210.135.96.135> has joined #angularjs
[09:51:19] <ngWalrus> or rather parent directives have no(non-hacky) way of accessing child directives
[09:52:53] *** nya_ <nya_!~nya@210.135.96.135> has quit IRC (Remote host closed the connection)
[09:52:58] *** nya__ <nya__!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has joined #angularjs
[09:53:36]
<arnas> ngWalrus, I think we're miss-communicating. This is what I get with console.log(controller.someFormName) http://imgur.com/a/QagUl
[09:53:47] *** bengillies <bengillies!~bengillie@bengillies.net> has joined #angularjs
[09:53:53] <arnas> even tho I don't know where did this "FormController" name came from :D
[09:54:21] *** vrockai <vrockai!~vrockai@ip-89-102-10-111.net.upcbroadband.cz> has joined #angularjs
[09:55:15] <ngWalrus> I'm not getting that
[09:55:21] <ngWalrus> console log is getting an empty object
[09:56:13] <arnas> I know, this is the screenshot from my project
[09:56:20] <arnas> I don't know why in plunker it's getting empty object :(
[09:56:48] <ngWalrus> it's because we've been over this over and over again
[09:56:54] <ngWalrus> it's not structurally the same
[09:57:26] *** Aliks <Aliks!~aliks@c-50-161-64-217.hsd1.ca.comcast.net> has quit IRC (Remote host closed the connection)
[09:57:34] <ngWalrus> if you want help you can't half ass the examples because that's all we have to go on
[09:57:49] *** bsrd <bsrd!~ukk@0133902281.0.fullrate.ninja> has joined #angularjs
[09:58:11] *** andrew <andrew!c2fb77c4@gateway/web/freenode/ip.194.251.119.196> has joined #angularjs
[09:58:43] *** bengillies <bengillies!~bengillie@bengillies.net> has quit IRC (Ping timeout: 265 seconds)
[09:58:43] <arnas> ngWalrus, but what the heck... if it's working, it must be fine :D
[09:59:21] <andrew> if we have many angular component, and i will add scrollbar for them, should i use directive or service in angular 1.5?
[10:01:00] <andrew> for example, we have panels, combox, and so on, now we need implement scrollbar function for all of them, should i use directive?
[10:01:30] <ngWalrus> arnas well if it's working fine then great
[10:01:39] <ngWalrus> but why waste my time if it's working
[10:02:07] <arnas> ngWalrus, because if not you, I would've moved this code to factory instead of moving it to directive :)
[10:02:41] <ngWalrus> plz don't move dom manipulation code in to the factory
[10:02:46] <ngWalrus> or do
[10:02:48] <arnas> I won't now
[10:02:49] <arnas> :D
[10:03:17] *** tomphp <tomphp!~tomphp@host86-170-198-213.range86-170.btcentralplus.com> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[10:03:41] <arnas> ngWalrus, what I don't like about moving my code from controller to factory tho is this: Let's say right now I have a variable in controller. I can access it in a template like so: {{ctrl.someVariable}}. If I move this variable to the factory now, first thing I have to do is add something like this to the controller: this.myFactory = myFactory; Then the only way I can access that variable in the template is {{ctrl.myFactory.myVariable}}
[10:03:47] <arnas> it adds up extra code
[10:04:28] *** bakirelived <bakirelived!~msilva@mailpri.hubel.pt> has joined #angularjs
[10:04:57] <Elarcis> ngWalrus: it depends, I believe DOM can be manipulated by a service, ex. for dynamic modal calling
[10:04:58] <ngWalrus> it makes the code more maintainable
[10:05:41] <ngWalrus> there should be a seperation of concerns
[10:05:43] <arnas> ngWalrus, was this message directed to me or to Elarcis ?
[10:05:47] <ngWalrus> you
[10:05:52] <Elarcis> no, you ngWalrus
[10:06:01] *** m8 <m8!~m8@unaffiliated/m8> has joined #angularjs
[10:06:09] <arnas> ngWalrus, how is it more maintainable?
[10:06:19] <ngWalrus> you're breaking seperation of concerns if you do that stuff in the factories/services
[10:06:35] <Elarcis> arnas: I made a component that made server requests through a service and displayed the request status. having it in a service allowed me to have another component in a sub-view display the very same request state, automatically synchronized with the first component, and at little expense.
[10:07:16] *** milkman_ <milkman_!~milkman@ip92348037.dynamic.kabel-deutschland.de> has quit IRC (Quit: Lost terminal)
[10:07:31] <arnas> Elarcis, if you had it in a controller, you could do the same
[10:07:35] <Elarcis> ngWalrus: even if it's a ModalInjectorService and its only concern is to inject and remove modals?
[10:07:43] <Elarcis> arnas: no, because controllers aren't singletons :D
[10:07:53] *** Aliks <Aliks!~aliks@c-50-161-64-217.hsd1.ca.comcast.net> has joined #angularjs
[10:08:23] <arnas> oh, right
[10:08:24] <Elarcis> arnas: and that I'd have to transmit the state up, then down the DOM, which would be tedious, unmaintainable, and rather complex compared to services
[10:08:40] <arnas> but it's good only for that kind of specific things
[10:08:41] *** cyan__ <cyan__!~cyan@217.170.162.68> has joined #angularjs
[10:08:46] <arnas> I don't get it why keeping my code in a controller is bad
[10:09:14] <ngWalrus> Elarcis I'd inject a directive that handles the dom from that point on
[10:09:25] <ngWalrus> at most
[10:09:31] <ngWalrus> but I probably wouldn't write shit like that
[10:09:31] *** [1]David <[1]David!~David@80.168.21.194> has joined #angularjs
[10:09:32] <Elarcis> ngWalrus, hm, like a modal-outlet?
[10:09:59] <Elarcis> I wonder how ngBootstrap manages it
[10:10:04] <ngWalrus> probably poorly
[10:10:08] *** nya__ <nya__!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has quit IRC (Remote host closed the connection)
[10:10:35] *** nya_ <nya_!~nya@210.135.96.135> has joined #angularjs
[10:10:45] *** eshlox <eshlox!uid44222@gateway/web/irccloud.com/x-qsssrcucwhtamcdh> has joined #angularjs
[10:11:00] <arnas> Elarcis, ngWalrus for example I have this function: if(Obj !== null && Obj !== undefined) { return Object.keys(Obj).length; } return 0; why would I want to move it from controller to a factory?
[10:11:28] <ngWalrus> and there are legit cases where you can modify the dom in service(I admit that your case could be one of them), but if you have to ask how to do it in irc or stackoverflow you probably shouldn't be doing it
[10:11:32] <Pyrrhus666> ui-bootstrap has $modal as a service that creates $modalInstances.
[10:11:40] <Elarcis> arnas: you probably would want to do if (angular.isDefined(Obj)) instead :D
[10:11:54] <Elarcis> Pyrrhus666: talking about ng-bootstrap for Angular 2
[10:12:18] <arnas> Elarcis, okay, I didn't know it existed, but let's say I had a similar function, why move it from controller to factory?
[10:12:18] *** nya_ <nya_!~nya@210.135.96.135> has quit IRC (Remote host closed the connection)
[10:12:30] <Pyrrhus666> Elarcis: ah oops :)
[10:12:34] *** bakirelived <bakirelived!~msilva@mailpri.hubel.pt> has quit IRC (Read error: Connection reset by peer)
[10:12:43] *** nya_ <nya_!~nya@210.135.96.135> has joined #angularjs
[10:13:16] *** nya_ <nya_!~nya@210.135.96.135> has quit IRC (Remote host closed the connection)
[10:13:17] <ngWalrus> arnas that's the way mv* works
[10:13:31] *** nya_ <nya_!~nya@210.135.96.135> has joined #angularjs
[10:13:57] *** Aliks <Aliks!~aliks@c-50-161-64-217.hsd1.ca.comcast.net> has quit IRC (Remote host closed the connection)
[10:14:00] <Pyrrhus666> Elarcis: it´s still the same though : service that creates instances and returns a reference to them.
[10:14:02] <ngWalrus> speaking from experience: if you dont' keep your controllers thin and tidy you'll have hard to maintain code that's a mess
[10:14:18] *** nya_ <nya_!~nya@210.135.96.135> has quit IRC (Remote host closed the connection)
[10:14:25] *** nya_ <nya_!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has joined #angularjs
[10:14:55] *** nya_ <nya_!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has quit IRC (Remote host closed the connection)
[10:15:22] *** nya_ <nya_!~nya@210.135.96.135> has joined #angularjs
[10:15:56] <arnas> ngWalrus, I see
[10:15:58] *** nya_ <nya_!~nya@210.135.96.135> has quit IRC (Remote host closed the connection)
[10:16:04] *** nya_ <nya_!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has joined #angularjs
[10:16:09] <arnas> ngWalrus, is there a reason why it works this way?
[10:17:37] *** bakirelived <bakirelived!~msilva@mailpri.hubel.pt> has joined #angularjs
[10:18:08] *** andrew <andrew!c2fb77c4@gateway/web/freenode/ip.194.251.119.196> has quit IRC (Quit: Page closed)
[10:21:15] <icebox> arnas: because the "objects" are different in the different layers: display objects, business objects, dao objects, and so on... if you mix those objects in the "wrong" layer, for instance a display object in a service or business object in a controller, the refactoring is harder
[10:21:17] <arnas> This was also in a controller. This function checks if the checkbox was checked or not. According to that it either adds or removes the error from an array of errors. Should this also be moved to the directive? Because I need to access the form
[10:21:44] <arnas> I think not, because it doesn't really manipulate DOM. But then how can I access the form? Pass it as an argument?
[10:21:57] <icebox> arnas: there are a few best practices about that, you know
[10:22:12] <arnas> icebox, I see
[10:22:36] <icebox> arnas: best practice are based on common sense and practice... they are not mathematical rules
[10:22:50] <arnas> icebox, but you could just keep display objects in a directive, and service and business objects could stay in controller
[10:23:21] <icebox> arnas: you may read a few guidelines, then you need to practice and to experiment with your base code :)
[10:23:24] <xochilpili> in angular.forEach how to break; ?
[10:24:49] <icebox> arnas: usually, after a while, after a few trial and errors, devs align code style with the best practices
[10:25:35] <arnas> icebox, you mean automatically? :D
[10:25:58] <icebox> arnas: no, I mean, devs understand the reasons behind the best practices
[10:26:03] <arnas> I mean... it just "hits" them, what's right and what's wrong?
[10:26:08] <arnas> well yea, thats what I mean
[10:26:09] <icebox> arnas: yep
[10:26:10] <arnas> meant*
[10:26:59] <arnas> well, the reason why I decided to refactor my code is because I read on the internet that my controller should be very tiny and most of the code has to go to either directive or factory
[10:27:00] <[1]David> Hi, does anyone know a good resource for style/structure? I am wondering when it is good to attach things to $scope or to the controller
[10:27:17] <icebox> arnas: yes... but why? :)
[10:27:28] <[1]David> cheers
[10:27:59] <arnas> icebox, well, you explained the reason earlier, but I still can't understand why. I mean it kind of makes sense to do DOM manipulation in the directive, but I don't see why you would want to move your code to the factory instead of a controller
[10:29:01] <Elarcis> yay, the expert yesterday finally something that made sense and looked clean
[10:29:26] <Pyrrhus666> Elarcis: congrats :)
[10:29:30] <Elarcis> and today that he's gone, the PM is telling me 'yeah, too many files, just merge those three into one, it'll be simpler'
[10:29:37] *** adhum <adhum!7a815462@gateway/web/freenode/ip.122.129.84.98> has joined #angularjs
[10:30:07] <adhum> Hi all
[10:30:08] <Elarcis> basically each day, we're undoing the expert's work, the expert comes back and recleans the stuff by making it more complex, then we 'simplify it' by mangling the thing
[10:30:17] <adhum> I am stuck in a problem
[10:30:28] <[1]David> Elarcis: That is what PMs are for
[10:30:31] <Preuk> Elarcis: then you need another expert to help him define "simple"
[10:30:39] <Elarcis> 'He's not a god, you can disagree!' yeah, I'm disagreeing with you yet you're angry about that
[10:30:47] <icebox> arnas: you don't see it, because your premise is not correct... only in a few cases you have {{ $ctrl.myFactory.myVariable }}... usually you don't use a business object (a model) in the template, but you slice it because you need less information, because you need to format in that view and so on
[10:31:41] *** fcanela <fcanela!~fcanela@unaffiliated/fcanela> has quit IRC (Quit: fcanela)
[10:31:50] <arnas> icebox, I have absolutely no idea how can I avoid using business objects in the template
[10:32:06] <arnas> icebox, if I need to show or hide some div accordingly to the action the user made, how else am I going to do that?
[10:33:20] <icebox> arnas: slicing the business object and mapping it to another one, used in the template
[10:33:35] <arnas> icebox, what do you mean?
[10:33:45] <icebox> arnas: business object !== display object
[10:34:08] <Elarcis> yay, lots of folders with one single index.ts file and a class next to it, because 'simplicity, yet we have to plan for the future even if it never comes'
[10:34:19] *** kas84 <kas84!~pablo@209.red-80-28-168.adsl.static.ccgg.telefonica.net> has joined #angularjs
[10:34:43] <Elarcis> arnas: document yourself about MVVM, which is approx. what angular 1.x is tending to be
[10:34:59] <icebox> arnas: we can stay here for hours talking about design... :)
[10:35:14] <Elarcis> arnas: Model is services, ViewModel is controllers, View is the templates
[10:35:49] <Elarcis> arnas: ViewModel is a simple bridge between the model and the view. it formats the model, carries the view's state and calls the model on user actions.
[10:36:42] *** grug <grug!~grug@64.137.226.133> has quit IRC (Quit: leaving)
[10:37:27] <icebox> arnas: you are right... this approach adds code... this is the price we pay to spend less time when we refactor that code, because it is less coupled
[10:37:51] <Elarcis> ^
[10:37:56] <arnas> icebox, Elarcis so are you saying that I should do something like this in the link function? controller.myVar = controller.sf.myVar; and then I could use it as {{ctrl.myVar}} in the code
[10:37:59] <Elarcis> better code is rarely slimmer code
[10:38:00] <icebox> arnas: and again we may talk about abstraction and complexity...
[10:38:01] <arnas> is this what you meant by mapping?
[10:38:40] *** GEEGEEGEE2 <GEEGEEGEE2!~GEEGEEGEE@cpc12-sprt2-2-0-cust478.17-2.cable.virginm.net> has joined #angularjs
[10:38:43] <Elarcis> arnas: it highly depends on the need, and I wouldn't do it in the link function :D
[10:38:55] *** blackjid <blackjid!blackjid@open.source.supporter.firrre.com> has joined #angularjs
[10:38:59] <arnas> Elarcis, so where else? In the controller function?
[10:39:25] *** jlebrech <jlebrech!~jlebrech@109.109.143.238> has joined #angularjs
[10:39:27] <Elarcis> arnas: well yes, it's not related to the DOM nor to a directive's requirements so I don't see why it would be in the link function
[10:39:47] *** enigma_raz <enigma_raz!~enigma_ra@c-73-15-186-175.hsd1.ca.comcast.net> has quit IRC (Remote host closed the connection)
[10:40:18] <arnas> Elarcis, but then I would have like 50 lines of code in the controller doing only this: controller.myVar = controller.myFactory.myVar; controller.myVar1 = controller.myFactory.myVar1; etc. etc.
[10:40:31] *** donguston <donguston!~GEEGEEGEE@cpc12-sprt2-2-0-cust478.17-2.cable.virginm.net> has quit IRC (Ping timeout: 255 seconds)
[10:41:40] *** Bnaya <Bnaya!~Bnaya@unaffiliated/bnaya> has joined #angularjs
[10:42:00] <Elarcis> arnas: so maybe if you have 50 vars you have a design problem. moreover, if you do that you'll lose automatic binding
[10:42:46] <Elarcis> arnas: please, read an angular styleguide to see how to write better things
[10:43:11] <Elarcis> arnas: although old, John Papa's is still cool, and Todd Motto's is pretty recent
[10:43:26] *** imatefx <imatefx!imatefx@open.source.supporter.firrre.com> has joined #angularjs
[10:43:32] *** nya_ <nya_!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has quit IRC (Remote host closed the connection)
[10:44:00] *** nya_ <nya_!~nya@p7902c6f7.tokynt01.ap.so-net.ne.jp> has joined #angularjs
[10:44:18] *** mischat <mischat!~mischat@62.252.235.234> has joined #angularjs
[10:44:36] *** Aliks <Aliks!~aliks@c-50-161-64-217.hsd1.ca.comcast.net> has joined #angularjs
[10:46:38] *** senayar <senayar!~senayar@unaffiliated/senayar> has joined #angularjs
[10:49:59] *** Aliks <Aliks!~aliks@c-50-161-64-217.hsd1.ca.comcast.net> has quit IRC (Ping timeout: 272 seconds)
[10:51:15] <arnas> Elarcis, the problem is that I have a lot of conditions under what I show or hide some divs
[10:51:19] <arnas> or other things
[10:51:37] *** thomaspaulb <thomaspaulb!~Tom@217.21.193.235> has joined #angularjs
[10:52:22] <Elarcis> arnas: so if you have a lot of stuff into one component, what do you do?
[10:52:54] <arnas> Elarcis, I don't know... split it to more components?
[10:53:09] <Preuk> use more services ?
[10:53:10] <Elarcis> arnas: split it into multiple reusable components, yes
[10:53:42] *** tomphp <tomphp!~tomphp@84-45-154-103.static.enta.net> has joined #angularjs
[10:53:54] <arnas> Elarcis, but that would be kind of stupid to have like 1-2 line components.
[10:54:33] *** bengillies <bengillies!~bengillie@bengillies.net> has joined #angularjs
[10:55:16] <arnas> Elarcis, I have a bunch of lines in my template like this one: <button ng-click="ctrl.something = true">some button</button> <div ng-show="ctrl.something == true">some div</div>
[10:55:17] <Elarcis> arnas: being a dev isn't just spitting out code, it's figuring out elegant and simple solutions that make work easier. if your component has a lot of stuff in it, I doubt that some of it aren't in fact doing the same things with little variations
[10:55:24] <arnas> why would I want to create separate directive for this?
[10:55:35] *** GEEGEEGEE2 <GEEGEEGEE2!~GEEGEEGEE@cpc12-sprt2-2-0-cust478.17-2.cable.virginm.net> has quit IRC (Quit: Leaving)
[10:55:52] *** donguston <donguston!~GEEGEEGEE@cpc12-sprt2-2-0-cust478.17-2.cable.virginm.net> has joined #angularjs
[10:56:09] <Elarcis> arnas: you want to create a separate ToggleableComponent which defines the button and the div ng-show, then transclude what you give it inside it
[10:56:09] <Preuk> "reusable" is not even relevant here i'd say... reuseability comes after making maintenance easier
[10:56:17] *** ewet <ewet!~ewet@unaffiliated/ewet> has quit IRC (Quit: Leaving)
[10:56:28] <Elarcis> arnas: so you could use it anywhere else easily
[10:57:42] *** ikb <ikb!~ikb@151.74.56.55> has quit IRC (Quit: Leaving)
[10:58:38] <arnas> Elarcis, but that component will still have ng-show
[10:58:42] <arnas> so what's the difference?
[10:59:29] *** bengillies <bengillies!~bengillie@bengillies.net> has quit IRC (Ping timeout: 272 seconds)
[11:01:12] *** adhum <adhum!7a815462@gateway/web/freenode/ip.122.129.84.98> has quit IRC (Ping timeout: 240 seconds)
[11:01:26] <Elarcis> arnas: no it won't since the ng-show will be inside it
[11:01:48] <arnas> Elarcis, is there an example somewhere on the internet?
[11:02:16] <Pyrrhus666> you could of course split up your toggleable component into a togglebutton and a togglepanel directive, if you liked :P
[11:02:18] *** Ziberius <Ziberius!~dvasquez@pc-11-47-46-190.cm.vtr.net> has quit IRC (Quit: Konversation terminated!)
[11:02:24] <Elarcis> arnas: I mean you could do myResult = myObject.value !== undefined && myObject.value !== null ? myObject.value : 0 everywhere, or have a returnValueOrZero() somewhere and reuse it
[11:02:32] *** aniketh_ <aniketh_!uid171160@gateway/web/irccloud.com/x-bastdiinivmuhrnk> has quit IRC (Quit: Connection closed for inactivity)
[11:02:38] <Elarcis> arnas: no I don't
[11:03:06] <Elarcis> arnas: I guess I could design one in a few minutes, but I'm busy with something else, and won't do your job for you
[11:03:20] *** bengillies <bengillies!~bengillie@bengillies.net> has joined #angularjs
[11:04:02] <[1]David> Dear experienced Angular programmers. How long did it take for you not to feel stupid using Angular?
[11:04:16] <arnas> Elarcis, I can't really imagine how it should look like
[11:04:47] <Pyrrhus666> [1]David: I´ll tell you when I reach that point :P
[11:05:18] <[1]David> :)
[11:05:39] <ngWalrus> 3 months full time
[11:06:22] <[1]David> Heh, I thought after 3 weeks I might start to feel less stupid.
[11:07:09] *** Hexoid <Hexoid!~Hexoid@2a03:3000:102e:2912:3d94:5f11:9b47:3067> has joined #angularjs
[11:08:17] *** rocktop_ <rocktop_!~rocktop@160.176.35.139> has joined #angularjs
[11:08:26] <Elarcis> [1]David: I still feel stupid
[11:08:38] <Elarcis> [1]David: And I've been working on it for a full year
[11:08:46] *** Shilon <Shilon!~Shilon@bl12-138-29.dsl.telepac.pt> has joined #angularjs
[11:08:47] <icebox> [1]David: for me, one year... until breakingthings, a former channel user, explained me how to share things in the services... it was a great ah-ah moment... and really my angular coverage is still partial
[11:09:52] *** Debnet`Laptop <Debnet`Laptop!~Marc@smtp2.sa-cim.fr> has joined #angularjs
[11:10:34] *** tarnus <tarnus!~tarnus@108-202-169-121.lightspeed.spfdmo.sbcglobal.net> has joined #angularjs
[11:10:44] <arnas> Pyrrhus666, maybe you could help me out a little bit? give me a few hints maybe? :D
[11:11:02] *** pwnd_nsfw <pwnd_nsfw!~pwnd_@cpe-2606-A000-FB05-3A00-0-0-0-1.dyn6.twc.com> has joined #angularjs
[11:11:37] *** rocktop <rocktop!~rocktop@41.250.99.218> has quit IRC (Ping timeout: 265 seconds)
[11:11:56] <ngWalrus> hurray for making tables with divs
[11:12:15] <Pyrrhus666> ngWalrus: I´m not falling for that again ;)
[11:13:09] <ngWalrus> well you're the one advocating using them
[11:13:19] <Pyrrhus666> arnas: I´ve followed the discussion, and there´s enough to go on I think. read the styleguides.
[11:13:19] <ngWalrus> since tables are not sufficient
[11:13:37] <arnas> Pyrrhus666, what does it have to do with styleguide?
[11:13:38] *** Debnet`Work <Debnet`Work!~Marc@48.86.2.93.rev.sfr.net> has quit IRC (Ping timeout: 265 seconds)
[11:13:46] <arnas> Pyrrhus666, I was talking about writing that toggle component
[11:13:49] <Pyrrhus666> ngWalrus: tables are sufficient for tabular data. if not sufficient, you´re doing it wrong :P
[11:14:16] *** pwnd_nsfw` <pwnd_nsfw`!~pwnd_@cpe-2606-A000-FB05-3A00-0-0-0-1.dyn6.twc.com> has quit IRC (Ping timeout: 255 seconds)
[11:14:33] <ngWalrus> tables are barely sufficient for tabular data
[11:14:43] <Pyrrhus666> arnas: Elarcis described in one sentence what you need to do
[11:14:55] <arnas> Pyrrhus666, I know he did, but I can't really imagine how to write it
[11:15:29] *** tarnus <tarnus!~tarnus@108-202-169-121.lightspeed.spfdmo.sbcglobal.net> has quit IRC (Ping timeout: 265 seconds)
[11:17:22] *** fcanela <fcanela!~fcanela@unaffiliated/fcanela> has joined #angularjs
[11:18:00] <ngWalrus> also as a sidenote tables are pretty shit for making pivot tables for example
[11:20:50] <Pyrrhus666> why ? as long as the logic returns a set of rows, a table is the perfect means of presenting the data.
[11:21:45] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has joined #angularjs
[11:21:49] <ngWalrus> so as long as the data is tabular, is returned in a very specific way it's good
[11:22:00] <ngWalrus> you're setting a lot of restrictions here
[11:22:17] <ngWalrus> next you're probably going to tell me that the JS date api is good
[11:22:20] <Pyrrhus666> what do you expect ? it´s for presentation purposes.
[11:22:38] <Pyrrhus666> ngWalrus: I would never say that ;)
[11:22:45] <[1]David> is a directive with a controller in it a component?
[11:25:20] <[1]David> is it me or are there many different ways of doing the same thing?
[11:25:46] <[1]David> icebox: thanks! :)
[11:26:01] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has quit IRC (Ping timeout: 248 seconds)
[11:26:03] <ngWalrus> okay I think I figured this out
[11:26:12]
<Bent0> For some reason this simple directive still allows spaces. It should remove the space from an input field. The alert which is there for testing fires so it does detect the space. http://kopy.io/CNs1a
[11:26:18] *** kas84 <kas84!~pablo@209.red-80-28-168.adsl.static.ccgg.telefonica.net> has quit IRC (Quit: kas84)
[11:26:24] <ngWalrus> I only need around like 3 nested ng-repeats to make html tables work
[11:26:45] <icebox> [1]David: There's so many different worlds / So many different suns / And we have just one world / But we live in different ones - Dire Straits, Brothers in Arms, 1985
[11:27:14] <Pyrrhus666> ngWalrus: you´re putting too much logic in your view
[11:27:33] <ngWalrus> I'm not
[11:27:41] <ngWalrus> you're talking out of your ass
[11:27:51] *** OnkelTem <OnkelTem!~onkeltem@pppoe-62-84-112-224.dubna.ru> has joined #angularjs
[11:28:43] *** Bnaya <Bnaya!~Bnaya@unaffiliated/bnaya> has quit IRC (Quit: Bnaya)
[11:28:52] <[1]David> icebox: i dont know about you but im not at the pub yet ;)
[11:28:53] <Bent0> lol
[11:30:27] <icebox> [1]David: it was a long and creative reply to your question... the short form is the following one: yes, you can
[11:31:27] *** Debnet`Work <Debnet`Work!~Marc@48.86.2.93.rev.sfr.net> has joined #angularjs
[11:31:29] *** thomaspaulb <thomaspaulb!~Tom@217.21.193.235> has quit IRC (Remote host closed the connection)
[11:31:37]
*** shinnya <shinnya!~shinnya@245.144.137.133.dy.bbexcite.jp> has quit IRC (Quit: ZNC - http://znc.in)
[11:32:25] <icebox> Bent0: well... e.preventDefault(); // return false doesn't help there
[11:32:54] <[1]David> icebox: yeah I got it, just made me laugh in my current state :)
[11:33:09] <Bent0> icebox: Cheers :-) I was reading some JQuery code where return false was used so tried that
[11:33:41] *** shinnya <shinnya!~shinnya@245.144.137.133.dy.bbexcite.jp> has joined #angularjs
[11:33:51] *** Foxandxss <Foxandxss!~textual@angularjs/member/foxandxss> has joined #angularjs
[11:33:51] *** ChanServ sets mode: +o Foxandxss
[11:34:49] *** Debnet`Laptop <Debnet`Laptop!~Marc@smtp2.sa-cim.fr> has quit IRC (Ping timeout: 265 seconds)
[11:35:30] *** Angularnewbie <Angularnewbie!51d74eba@gateway/web/cgi-irc/kiwiirc.com/ip.81.215.78.186> has joined #angularjs
[11:35:56] <Angularnewbie> Hey guys, I have an issue with my angular controller.
[11:36:16] <Angularnewbie> Is there any way to resolve a controller instance from DI container and inject some data into scope?
[11:36:39] <Angularnewbie> Like angular.controllers.resolve("XCtrl", ($scope) => $scope.data = 123);
[11:37:37] <Angularnewbie> I know Angular uses two day data binding with watchers but using it on my case is really weird
[11:37:42] <Angularnewbie> Is there a better approach?
[11:38:43] <icebox> Angularnewbie: no idea what is your use case... but $injector should help you there
[11:38:47] *** Foxandxss <Foxandxss!~textual@angularjs/member/foxandxss> has quit IRC (Read error: Connection reset by peer)
[11:39:17] <icebox> Angularnewbie: and it seems we talked about it in the past, didn't we?
[11:39:43] <Angularnewbie> @icebox: Yes we did... but I failed to understand what you mentioned I think
[11:40:18] <Angularnewbie> You told me to not remove array instance and extend it via angular.extend, which I did
[11:40:47] <icebox> Angularnewbie: I see... any minimal working plunker to review the code?
[11:41:07] <Angularnewbie> @icebox Yes! Give me a minute, I'll put them on a gist
[11:41:30] <icebox> Angularnewbie: no gist.... minimal working plunker... I cannot review a gist :)
[11:41:47] <Angularnewbie> What is a plunker? @icebox
[11:42:00] <icebox> !help
[11:42:19] <icebox> angularjs_bot: a collaborative live snippet
[11:42:33] <icebox> Angularnewbie: a collaborative live snippet
[11:43:14] <Angularnewbie> I have to load socket.io and other stuff I think
[11:43:15] <senayar> icebox: is a bot
[11:43:21] *** lexileo <lexileo!~lexii@202.149.205.17> has joined #angularjs
[11:43:30] <icebox> senayar: yep... mistell
[11:44:25] <Angularnewbie> @icebox: Give me few minutes... let me copy parts of my code into plunker
[11:46:01] <xochilpili> hi all
[11:46:12] <xochilpili> can someone please help me to make an uniq array from another ?
[11:46:20] <icebox> Angularnewbie: working minimal plunker... it is not a simple gist, copy & paste content
[11:46:35] *** thomaspaulb <thomaspaulb!~Tom@217.21.193.235> has joined #angularjs
[11:47:09] <Elarcis> icebox: what is a plunker?
[11:47:09] <icebox> Angularnewbie: what is the difference? we may give a look at the code in the gist... then we may suggest a few changes... after a few hours... results: zero :)
[11:47:29] <xochilpili> anyone?
[11:47:42] <Elarcis> xochilpili: uniq array?
[11:47:47] <icebox> xochilpili: js or angular question?
[11:47:50] <Angularnewbie> @icebox: Shouldn't I create a working Plunker for you to review?
[11:47:55] <xochilpili> Elarcis, yes
[11:48:11] <Elarcis> xochilpili: you mean unique?
[11:48:19] <xochilpili> Elarcis, yes, unique
[11:48:22] <xochilpili> sorry
[11:48:32] <Elarcis> xochilpili: ES6: newArray = [...oldArray]
[11:48:46] <Elarcis> xochilpili: angular: newArray = angular.clone(oldArray)
[11:48:48] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has joined #angularjs
[11:48:49] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has quit IRC (Remote host closed the connection)
[11:48:49] <icebox> Angularnewbie: sure... you said "let me copy parts of my code..." I hope you don't copy only
[11:48:56] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has joined #angularjs
[11:49:07] <xochilpili> Elarcis, not that simple, i have to add different values, in the new one
[11:49:12] <Elarcis> xochilpili: ES5: newArray = oldArray.slice(0)
[11:49:28] <Elarcis> xochilpili: push them afterwhile
[11:50:08] <Elarcis> [...oldArray, newValue1, newValue2, ...otherArrayToConcat]
[11:50:12] <Elarcis> I love that operator
[11:50:21] <xochilpili> Elarcis, is not that simple
[11:50:31] <xochilpili> have u seen the link i pasted?
[11:50:36] <Elarcis> xochilpili: if you're not telling me what your problem really is, I'm not a genie
[11:50:41] <Elarcis> no
[11:50:43] <Elarcis> wait
[11:51:38] *** punknroll <punknroll!~Thunderbi@p83-219-165-60.snwdip.snw.at> has quit IRC (Quit: punknroll)
[11:51:53] <Elarcis> ok xochilpili, your code is gibberish. please add comments on what you want to do, what needs to be a copy of what, and where you need to add stuff, because it's just... no
[11:52:36] <Elarcis> I gave you the syntax to copy an array, it's useable inside your code depending on the tech you're using (slice(0) is the most compatible), but of course you need to adjust to your code
[11:52:44] *** punknroll <punknroll!~Thunderbi@p83-219-165-60.snwdip.snw.at> has joined #angularjs
[11:53:25] *** punknroll <punknroll!~Thunderbi@p83-219-165-60.snwdip.snw.at> has quit IRC (Client Quit)
[11:55:13] <icebox> ngWalrus: nice reading
[11:55:29] *** Hexoid- <Hexoid-!~Hexoid@188.166.75.226> has joined #angularjs
[11:56:14] <ngWalrus> make the web great again
[11:57:11] <Pyrrhus666> the writer means well, but it won´t happen.
[11:57:53] *** Hexoid- <Hexoid-!~Hexoid@188.166.75.226> has quit IRC (Remote host closed the connection)
[11:58:28] <Elarcis> 'After doing that, a frontend developer has to commute between HTML and CSS until everything works perfectly' hm...
[11:59:14] *** Hexoid- <Hexoid-!~Hexoid@188.166.75.226> has joined #angularjs
[12:00:09] <ngWalrus> webassembly seems like the best solution
[12:00:16] *** Hexoid- <Hexoid-!~Hexoid@188.166.75.226> has quit IRC (Remote host closed the connection)
[12:00:23] <ngWalrus> you can write js still but don't force it on everyone
[12:01:09] *** Hexoid- <Hexoid-!~Hexoid@188.166.75.226> has joined #angularjs
[12:01:28] *** Ant__ <Ant__!~Ant@acll65.neoplus.adsl.tpnet.pl> has joined #angularjs
[12:02:00] <Pyrrhus666> agreed, but like all previous standards it needs vendors to implement them, and implement them well. in that sense not so different from html/css/js. and we all know what happened to those standards.
[12:02:58] *** Hexoid <Hexoid!~Hexoid@2a03:3000:102e:2912:3d94:5f11:9b47:3067> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)
[12:02:59] <Ant__> is there some angular template module which would allow me to swipe between views just like on mobile phones? I can think only of combining carousel slider + sliding entire screen and after slide is done - load new page from external html file
[12:03:11] *** Hexoid- is now known as Hexoid
[12:03:42] <[1]David> im looking at a class in a style guide. It contains things like: $onChanges(changes){...} and onSubmit(){...}. I assume these are functions without a 'function' declaration. Can anyone tell me what the $ notation does infront of onChanges?
[12:04:36] <xochilpili> Elarcis, did u see it?
[12:07:53] <Angularnewbie> @icebox: Sorry it took time
[12:09:36] *** GreenJello <GreenJello!~GreenJell@unaffiliated/greenjello> has quit IRC (Ping timeout: 244 seconds)
[12:10:00] *** vishal_ <vishal_!7aa89bd5@gateway/web/freenode/ip.122.168.155.213> has joined #angularjs
[12:10:01] *** Hexoid <Hexoid!~Hexoid@188.166.75.226> has quit IRC (Remote host closed the connection)
[12:10:34] <vishal_> how can i stop the capturing the image from camera in mobile site
[12:11:36] <vishal_> i use input type file
[12:11:58] *** Avinash <Avinash!2be11962@gateway/web/freenode/ip.43.225.25.98> has joined #angularjs
[12:12:00] *** Foxandxss <Foxandxss!~textual@angularjs/member/foxandxss> has joined #angularjs
[12:12:01] *** ChanServ sets mode: +o Foxandxss
[12:12:03] *** lacrymology <lacrymology!~lacrymolo@188.127.100.48> has quit IRC (Ping timeout: 240 seconds)
[12:12:17] <xochilpili> anyone?
[12:12:24] <xochilpili> i just need a little push
[12:12:34] <Avinash> Hi All
[12:13:08] *** Avinash <Avinash!2be11962@gateway/web/freenode/ip.43.225.25.98> has quit IRC (Client Quit)
[12:13:42] *** ananth_ <ananth_!c116774e@gateway/web/freenode/ip.193.22.119.78> has quit IRC (Ping timeout: 240 seconds)
[12:16:18] *** zeioth <zeioth!~zeioth@5.red-80-39-129.dynamicip.rima-tde.net> has joined #angularjs
[12:19:22] *** Hexoid <Hexoid!~Hexoid@188.166.75.226> has joined #angularjs
[12:20:50] *** Shilon <Shilon!~Shilon@bl12-138-29.dsl.telepac.pt> has quit IRC (Quit: Shilon)
[12:20:53] <ngWalrus> so how would you guys build a grid like this(long post inc):
[12:21:05] *** Hexoid <Hexoid!~Hexoid@188.166.75.226> has quit IRC (Remote host closed the connection)
[12:22:00] *** marr <marr!~ccc@87-205-199-154.adsl.inetia.pl> has joined #angularjs
[12:22:22] *** Hexoid <Hexoid!~Hexoid@188.166.75.226> has joined #angularjs
[12:22:38] <ngWalrus> I've got an array of json objects(ez pz just ng-repeat over it), but inside this json object I have 2 arrays of json objects, what I need is to display the two nested arrays of json objects in their own columns(grab a couple of attributes and display them) over multiple lines
[12:22:59] <Bent0> How can I check if a Bootstrap Modal is open?
[12:23:09] *** Debnet`Work <Debnet`Work!~Marc@48.86.2.93.rev.sfr.net> has quit IRC (Quit: Leaving)
[12:23:10] <ngWalrus> also this needs to actually look nice and be sortable(no idea how it'll work with the possible multi-row values)
[12:23:29] *** Debnet <Debnet!~Marc@48.86.2.93.rev.sfr.net> has joined #angularjs
[12:23:41] *** antiPoP <antiPoP!~antiPoP@unaffiliated/antipop> has joined #angularjs
[12:25:30] <Pyrrhus666> ngWalrus: sortable on those multivalued cells will be a problem. do these multivalued cells need to be presented as a table temselves, or can they be presented (for example) as a list ?
[12:26:17] <Pyrrhus666> does the main object have properties besides the 2 arrays that will be presented ?
[12:26:26] <ngWalrus> there's a couple values
[12:26:37] <ngWalrus> so probably an unordered list
[12:26:44] <ngWalrus> would be fine for the multivalued cells
[12:27:23] <ngWalrus> ordering would have to be go through both arrays and the first one to end/have a smaller value is sorted first
[12:27:29] *** vpi <vpi!~vpi@195.66.82.9> has quit IRC (Remote host closed the connection)
[12:27:29] <ngWalrus> if in ascending order
[12:27:35] <Angularnewbie> @icebox: Oh, the value in controller updates properly (added a setInterval control) but it doesn't apply to views. Hmm.
[12:28:35] <ngWalrus> I think the largest project with this currently is that our data is too complex for its own good
[12:29:00] *** mischat_ <mischat_!~mischat@62.252.235.234> has joined #angularjs
[12:29:04] <Pyrrhus666> so sorting needs some aggregation to work ? I´d do all that logic in some directive or whatever, and have the table just loop the main level objects in order the are (or use a hidden sort-property that tells the main repeater the order of the objects)
[12:29:57] <Pyrrhus666> the repeater just presents rows, with the mv data as lists in a td. buttons in th´s to call logic to re-order and re-aggregate (if needed)
[12:30:09] <ngWalrus> makes sense
[12:30:23] *** heartburn <heartburn!~heartburn@213.21.33.24> has quit IRC (Read error: Connection reset by peer)
[12:30:41] <ngWalrus> Last week I said that this thing would be done in 2 days
[12:30:45] <ngWalrus> 7 days later :|
[12:30:47] <Pyrrhus666> ouch...
[12:31:01] <ngWalrus> data ended up being harder to use
[12:31:05] <ngWalrus> it needed respeccing
[12:31:12] <ngWalrus> erm
[12:31:17] <Pyrrhus666> does the mv data need to be visible immediately ? or can it, like, fold out on a click ?
[12:31:18] <ngWalrus> the view needed respeccing
[12:31:19] *** heartburn <heartburn!~heartburn@213.21.33.24> has joined #angularjs
[12:31:28] <ngWalrus> honestly I have no idea
[12:31:32] <ngWalrus> it's a shit spec
[12:31:51] <Pyrrhus666> that´s the origin of a lot of problems...
[12:32:06] <ngWalrus> the problem is I need to aggregate multiple unrelated values in to something that makes sense
[12:32:17] <ngWalrus> around 500 loc later I'm still a bit stuck
[12:32:23] *** mralex <mralex!~user@185.8.92.146> has joined #angularjs
[12:32:45] <mralex> HI: uib-popover="I appeared on mouse enter!" popover-trigger="'mouseenter'" - for some reason popover isn't working.
[12:32:49] *** mischat <mischat!~mischat@62.252.235.234> has quit IRC (Ping timeout: 265 seconds)
[12:32:55] <Pyrrhus666> so at the core your biggest problem is the sorting logic on those mv-cells ?
[12:32:58] <mralex> No errors, and I know that the popover ui code is getting loaded
[12:33:01] *** Alina-malina <Alina-malina!~Alina-mal@unaffiliated/alina-malina> has quit IRC (Ping timeout: 255 seconds)
[12:33:01] <mralex> Is there a known issue
[12:33:02] <mralex> ?
[12:33:33] <Pyrrhus666> mralex: that exact example works in the docs, so something else is wrong.
[12:34:12] <mralex> hmmm. ok thanks
[12:35:00] <Pyrrhus666> mralex: you can fork a plunk from that example in the docs and modify it to show your problem ?
[12:35:11] <ngWalrus> the biggest problem I'm having is how the fuck I'm supposed to get the actual data
[12:35:14] <mralex> ok I will try :) thanks
[12:35:22] <ngWalrus> since they want data that does not actually exist
[12:36:10] *** imatefx <imatefx!imatefx@open.source.supporter.firrre.com> has quit IRC (Ping timeout: 250 seconds)
[12:36:34] <Angularnewbie> Do I need to add ng-model somewhere?
[12:36:45] <Pyrrhus666> ngWalrus: que ? is that data something you need to get/calculate/whaterver from the data you _do_ have ? (the nested json objects etc)
[12:36:45] <ngWalrus> no clue
[12:37:04] *** max_at <max_at!max_at_dev@gateway/shell/elitebnc/x-fgqjbfppbbtqxnpl> has quit IRC (Quit: see you later..)
[12:37:33] <ngWalrus> They want payments that are tied to specific order lines but our data doesn't work that way(we only look at that stuff at a receipt level)
[12:38:01] *** blackjid <blackjid!blackjid@open.source.supporter.firrre.com> has quit IRC (Ping timeout: 248 seconds)
[12:38:16] <ngWalrus> receipts are orders basically
[12:38:41] <ngWalrus> also they want specific receipt states, but our receipts don't have states, order lines do
[12:38:52] <ngWalrus> and if this all sounds confusing, don't worry, you aren't alone
[12:39:06] <Pyrrhus666> ngWalrus: sounds like your data needs a lot of pre-processing before actually being halfway presentable...
[12:39:23] <ngWalrus> it does
[12:39:38] <ngWalrus> my favourite part is the backend actually returns some of that
[12:39:50] <ngWalrus> but the info that is presented is pretty much useless
[12:40:50] *** fairuz <fairuz!~textual@unaffiliated/fairuz> has joined #angularjs
[12:41:03] <Pyrrhus666> sounds like the majority of the shit you have to wade through isn´t even remotely related to tabular presentation...
[12:41:59] *** grug <grug!~grug@45.62.248.26> has joined #angularjs
[12:42:05] *** pwnd_nsfw` <pwnd_nsfw`!~pwnd_@cpe-2606-A000-FB05-3A00-0-0-0-1.dyn6.twc.com> has joined #angularjs
[12:42:16] <ngWalrus> there's been some of that too
[12:42:26]
*** Angularnewbie <Angularnewbie!51d74eba@gateway/web/cgi-irc/kiwiirc.com/ip.81.215.78.186> has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
[12:42:27] <ngWalrus> and I've been super frustrated with this
[12:42:34] <ngWalrus> that's why I've been a bit grumpy
[12:43:01] <Pyrrhus666> so I noticed ;)
[12:44:41] *** Ant__ <Ant__!~Ant@acll65.neoplus.adsl.tpnet.pl> has quit IRC (Ping timeout: 240 seconds)
[12:45:29] *** pwnd_nsfw <pwnd_nsfw!~pwnd_@cpe-2606-A000-FB05-3A00-0-0-0-1.dyn6.twc.com> has quit IRC (Ping timeout: 248 seconds)
[12:46:24] <mralex> So the popover should just work?
[12:50:00] *** fairuz <fairuz!~textual@unaffiliated/fairuz> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[12:50:57] *** tangorri <tangorri!~tangorri@LPuteaux-657-1-207-68.w80-14.abo.wanadoo.fr> has joined #angularjs
[12:51:01] *** vuoto <vuoto!~vuoto@80-71-135-9.u.parknet.dk> has quit IRC (Remote host closed the connection)
[12:51:27] *** Hexoid <Hexoid!~Hexoid@188.166.75.226> has quit IRC (Remote host closed the connection)
[12:52:11] *** Hexoid <Hexoid!~Hexoid@188.166.75.226> has joined #angularjs
[12:52:42] <Pyrrhus666> at a glance I´d say that should work
[12:52:47] <mralex> Yep
[12:52:57] <Pyrrhus666> is that a fork from the docs ?
[12:53:05] <mralex> no .. I'll do thaht
[12:53:49] <Pyrrhus666> the version of ui-bootstrap in your plunk is ancient. from before the uib- prefix maybe ?
[12:54:19] <mralex> the docs is 1.5.8 ... I'm on 1.5.6
[12:54:30] <mralex> I'll try the latest version :)
[12:54:32] <Pyrrhus666> not angular, ui-bootstrap
[12:55:53] *** tango <tango!~tangorri@LPuteaux-657-1-207-68.w80-14.abo.wanadoo.fr> has joined #angularjs
[12:57:34] <arnas> !help
[12:58:39] *** raijin <raijin!~raijin@unaffiliated/raijin> has joined #angularjs
[12:58:41] *** tangorri <tangorri!~tangorri@LPuteaux-657-1-207-68.w80-14.abo.wanadoo.fr> has quit IRC (Ping timeout: 240 seconds)
[12:59:59] <Pyrrhus666> with 2.1.3 it works. you´re just missing the css.
[13:00:14] <ngWalrus> I'm also glad the mongodb docs have code embeded in to images
[13:00:23] <ngWalrus> wouldn't want people to be easily able to copy and paste them
[13:00:32] *** xochilpili <xochilpili!~xochilpil@unaffiliated/xochilpili> has quit IRC (Quit: Saliendo)
[13:00:47] <Pyrrhus666> I can never understand people doing that...
[13:01:47] <akkonrad> do you know any source for angular2 webpack with bootstrap scss?
[13:02:01] *** nishu-tryinghard <nishu-tryinghard!~nishanth@183.82.99.106> has quit IRC (Ping timeout: 248 seconds)
[13:02:20] *** GreenJello <GreenJello!~GreenJell@unaffiliated/greenjello> has joined #angularjs
[13:02:25] <bd-> angular-cli will create webpack builds you can easily dump bootstrap into
[13:03:40] <bd-> ngWalrus: i just checked that cause i thought it sounded mental and yea... they've added a bunch of images
[13:03:41] <mralex> thanks Pyrrhus666
[13:03:45] <bd-> didn't used to be that way
[13:05:03] *** fairuz <fairuz!~textual@unaffiliated/fairuz> has joined #angularjs
[13:05:24] <akkonrad> bd-, angular-cli does not work for me somehow, I have node 5.12 and npm 3.8.6
[13:05:59] *** splbio <splbio!bright@elvis.mu.org> has quit IRC (Remote host closed the connection)
[13:06:14] <bd-> akkonrad: that meets the requirements
[13:06:32] <akkonrad> yes, but I get tons of errors when trying to install
[13:06:51] <bd-> like what
[13:07:13] <ngWalrus> bd- funny thing is that some of their stuff isn't in images, and those are the docs that are actually useful
[13:08:02] <Pyrrhus666> arnas: because you´re working with a reference to the object in the factory.
[13:08:20] <Pyrrhus666> updating the ref updates the object. expected behavior.
[13:08:29] <akkonrad> db- running it again
[13:08:34] <akkonrad> bd- ^
[13:09:23] <arnas> Pyrrhus666, is there any possible way I could avoid that? Because I need the old value
[13:09:39] <bd-> arnas: return a copy/clone of the object
[13:09:45] *** pwnd_nsfw <pwnd_nsfw!~pwnd_@cpe-2606-A000-FB05-3A00-0-0-0-1.dyn6.twc.com> has joined #angularjs
[13:09:56] <bd-> or copy it after it's returned
[13:09:57] *** pwnd_nsfw` <pwnd_nsfw`!~pwnd_@cpe-2606-A000-FB05-3A00-0-0-0-1.dyn6.twc.com> has quit IRC (Ping timeout: 272 seconds)
[13:10:11] *** Lomex <Lomex!~lomex@213.61.34.42> has quit IRC (Remote host closed the connection)
[13:10:12] <bd-> angular.copy(obj)
[13:10:29] *** Lomex <Lomex!~lomex@213.61.34.42> has joined #angularjs
[13:10:31] *** thomaspaulb <thomaspaulb!~Tom@217.21.193.235> has quit IRC (Remote host closed the connection)
[13:10:37] <Pyrrhus666> arnas: I you need the old value you could also just not assign a new value ;)
[13:10:54] <arnas> Pyrrhus666, I need both old and new value :D
[13:10:58] <arnas> bd-, thanks!
[13:11:08] <Pyrrhus666> arnas: 2 vars ?
[13:11:33] <Pyrrhus666> I don´t know you usecase, but working with clones can get real nasty real fast..
[13:11:36] *** tarnus <tarnus!~tarnus@2602:306:ccaa:9790:a023:1133:418e:290d> has joined #angularjs
[13:11:49] <arnas> Pyrrhus666, why?
[13:11:51] *** thomaspaulb <thomaspaulb!~Tom@217.21.193.235> has joined #angularjs
[13:11:56] *** Pyrrhus666 is now known as MRSMITH
[13:12:07] <MRSMITH> clones are good. I love clones.
[13:12:15] *** MRSMITH is now known as Pyrrhus666
[13:12:52] <Pyrrhus666> arnas: because 20 lines down you might expect it to be a reference when it´s not.
[13:13:51] *** tangoo <tangoo!~tangorri@LPuteaux-657-1-207-68.w80-14.abo.wanadoo.fr> has joined #angularjs
[13:13:56] <arnas> Pyrrhus666, I didn't even know it was a reference :D
[13:14:09] *** plutoniix <plutoniix!~q@119-46-218-2.static.asianet.co.th> has quit IRC (Quit: Leaving)
[13:14:56] <Pyrrhus666> in javascript, references are the norm for non-primitive types. that´s why it´s expected behavior.
[13:15:25] <arnas> Pyrrhus666, what would be the best way to solve my case then?
[13:15:47] <Pyrrhus666> I have no idea what your actual case _is_ from the minimal plunk...
[13:16:09] <arnas> Pyrrhus666, let's just assume I need both new and old value
[13:16:41] *** tango <tango!~tangorri@LPuteaux-657-1-207-68.w80-14.abo.wanadoo.fr> has quit IRC (Ping timeout: 240 seconds)
[13:16:55] *** tarnus <tarnus!~tarnus@2602:306:ccaa:9790:a023:1133:418e:290d> has quit IRC (Ping timeout: 272 seconds)
[13:16:57] <Pyrrhus666> with that little information, I´d say two variables.
[13:17:16] <Pyrrhus666> you give me nothing sensible to go on here ;)
[13:18:38] <ngWalrus> wtf
[13:19:01] <ngWalrus> working with mongo is weird af
[13:19:14] <ngWalrus> queries just randomly fail and no errors ar thrown
[13:19:22] <ngWalrus> it just silently fucks up
[13:19:22] <Dev0n> hey, moving from angular to angular2, I'm finding myself having to import ../../../ back to top levels when importing shared services in nested app modules, is there a better approach to this on Angular2?
[13:19:30] <bd-> that probably means you are doing something wrong
[13:19:36] <bd-> i don't have randomly failing queries
[13:19:36] <ngWalrus> bd- no shit
[13:19:41] <ngWalrus> I'd like to know where I'm fucking up
[13:19:46] *** thomaspaulb <thomaspaulb!~Tom@217.21.193.235> has quit IRC (Remote host closed the connection)
[13:19:47] *** amcorreia <amcorreia!~amcorreia@2804:7f5:280:3da0::1> has joined #angularjs
[13:19:48] <bd-> if no errors... you're probably not checking for errors
[13:19:54] <bd-> depends in part what driver you use
[13:20:00] *** nishu-tryinghard <nishu-tryinghard!~nishanth@183.82.99.106> has joined #angularjs
[13:20:05] <arnas> Pyrrhus666, so there will be two variables referencing to the same object
[13:20:07] <arnas> how is it going to solve it?
[13:20:12] <ngWalrus> I have no idea what this is
[13:20:13] *** fairuz <fairuz!~textual@unaffiliated/fairuz> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[13:20:27] <ngWalrus> but shoving javascript in to a db is working about as well as you'd expect
[13:20:42] <bd-> if you're using javascript to do queries... probably doing it wrong
[13:21:05] <bd-> unless you mean just from the cli
[13:21:08] *** thomaspaulb <thomaspaulb!~Tom@217.21.193.235> has joined #angularjs
[13:21:16] <Elarcis> back
[13:21:18] <icebox> arnas: no... Pyrrhus666 said another thing
[13:21:46] <bd-> and how are these queries fucking up
[13:21:54] <bd-> not returning data you expect? not updating data?
[13:22:16] *** fairuz <fairuz!~textual@unaffiliated/fairuz> has joined #angularjs
[13:22:34] *** jlebrech <jlebrech!~jlebrech@109.109.143.238> has quit IRC (Remote host closed the connection)
[13:22:51] <ngWalrus> bd- just from the cli
[13:22:55] *** thomaspaulb <thomaspaulb!~Tom@217.21.193.235> has quit IRC (Remote host closed the connection)
[13:23:02] <icebox> arnas: they said you need two variables, for original and modified object, if you need that... but it is not the same reference, because one it is cloned
[13:23:08] <bd-> that usually does show errors when there are errors
[13:23:09] *** jlebrech <jlebrech!~jlebrech@109.109.143.238> has joined #angularjs
[13:23:14] <bd-> so maybe you have no errors
[13:23:24] <ngWalrus> it returns empty sets, but I just found $unwind
[13:23:36] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has joined #angularjs
[13:23:39] <arnas> icebox, ah I see. thanks
[13:23:42] <bd-> oh you're using aggregation pipeline stuff?
[13:24:04] *** thomaspaulb <thomaspaulb!~Tom@217.21.193.235> has joined #angularjs
[13:24:10] <Elarcis> angular.forEach(hotel.rooms, function(room){ [...] // iterate in hotel.rooms
[13:24:24] <Elarcis> I don't get how people can think these comments are useful
[13:24:28] *** Wizek <Wizek!~Wizek@catv-89-132-132-110.catv.broadband.hu> has joined #angularjs
[13:24:48] <Elarcis> or rather, they think they're useless (which they are), and thus don't see any value in comments
[13:25:02] *** thomaspaulb <thomaspaulb!~Tom@217.21.193.235> has quit IRC (Remote host closed the connection)
[13:25:15] <Elarcis> ...so they don't comment
[13:27:01] <icebox> ngWalrus: plenty of links, today... nice reading, thanks
[13:27:55] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has quit IRC (Ping timeout: 255 seconds)
[13:28:00] *** jlebrech <jlebrech!~jlebrech@109.109.143.238> has quit IRC (Ping timeout: 265 seconds)
[13:28:12] *** vishal_ <vishal_!7aa89bd5@gateway/web/freenode/ip.122.168.155.213> has quit IRC (Ping timeout: 240 seconds)
[13:32:06] *** arnas <arnas!~arnas@88-119-97-225.static.zebra.lt> has quit IRC (Read error: Connection reset by peer)
[13:34:36] *** thomaspaulb <thomaspaulb!~Tom@217.21.193.235> has joined #angularjs
[13:37:17] *** jlebrech <jlebrech!~jlebrech@109.109.143.238> has joined #angularjs
[13:37:17] *** fairuz <fairuz!~textual@unaffiliated/fairuz> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[13:39:18] *** thevishy <thevishy!~thevishy@111.93.187.34> has joined #angularjs
[13:40:18] *** thomaspaulb <thomaspaulb!~Tom@217.21.193.235> has quit IRC (Remote host closed the connection)
[13:41:25] <Elarcis> ngWalrus: haha, that one
[13:41:37] *** mischat_ <mischat_!~mischat@62.252.235.234> has quit IRC (Ping timeout: 272 seconds)
[13:42:27] *** tevin <tevin!~tevin@2405:204:d28e:846:7c43:ce81:fdd:69b8> has joined #angularjs
[13:42:45] <tevin> Hi
[13:42:46] *** Ant__ <Ant__!~Ant@acll65.neoplus.adsl.tpnet.pl> has joined #angularjs
[13:42:53] <Elarcis> wow, ate a beef tartare, it's a bit too much to digest
[13:42:58] <Elarcis> hi
[13:43:11] <tevin> ng-infinite-scroll is not working on some mobile devices.
[13:43:21] <tevin> Any solutions?
[13:43:42] <Elarcis> tevin: without any info? no, we don't have any solution
[13:44:33] <Pyrrhus666> don´t do infinite scrolling would be an easy solution though...
[13:44:48] *** enistara <enistara!2e630f42@gateway/web/freenode/ip.46.99.15.66> has joined #angularjs
[13:45:22] *** enistara <enistara!2e630f42@gateway/web/freenode/ip.46.99.15.66> has quit IRC (Client Quit)
[13:45:37] <ngWalrus> phew
[13:45:42] <ngWalrus> Managed to get the aggregation to work
[13:45:49] <bd-> i had veal tartare recently, ware very nice
[13:45:51] <Pyrrhus666> nice :)
[13:46:51] *** antiPoP <antiPoP!~antiPoP@unaffiliated/antipop> has quit IRC (Ping timeout: 265 seconds)
[13:46:56] <tevin> q
[13:47:20] *** Ant__ <Ant__!~Ant@acll65.neoplus.adsl.tpnet.pl> has quit IRC (Ping timeout: 265 seconds)
[13:48:51] *** antiPoP <antiPoP!~antiPoP@unaffiliated/antipop> has joined #angularjs
[13:52:03] <icebox> tevin: I understood that... does it work for you?
[13:53:01] <tevin> It worked for me on desktop and as well as on some mobile devices. However, it doesn't work in some mobile devices
[13:54:36] *** a_thakur <a_thakur!~a_thakur@49.248.250.62> has joined #angularjs
[13:57:38] *** thomaspaulb <thomaspaulb!~Tom@217.21.193.235> has joined #angularjs
[13:58:32] *** Debnet`Work <Debnet`Work!~Marc@smtp2.sa-cim.fr> has joined #angularjs
[13:59:30] *** Debnet`Laptop <Debnet`Laptop!~Marc@48.86.2.93.rev.sfr.net> has joined #angularjs
[13:59:50] *** jae <jae!~jae@unaffiliated/jae> has quit IRC (Ping timeout: 265 seconds)
[14:00:23] *** tarnus <tarnus!~tarnus@108-202-169-121.lightspeed.spfdmo.sbcglobal.net> has joined #angularjs
[14:01:00] <icebox> tevin: so... what is the question?
[14:01:35] <tevin> How can I make it work on all mobile devices?
[14:01:39] *** star_prone <star_prone!~sviatovig@81.89.12.66> has joined #angularjs
[14:01:59] <icebox> tevin: sure... it is open source... fix the issue :)
[14:02:31] *** Debnet <Debnet!~Marc@48.86.2.93.rev.sfr.net> has quit IRC (Ping timeout: 272 seconds)
[14:02:44] <Pyrrhus666> looks like that lib is in need of maintainers anyway...
[14:02:55] *** Debnet`Work <Debnet`Work!~Marc@smtp2.sa-cim.fr> has quit IRC (Ping timeout: 244 seconds)
[14:04:42] *** jae <jae!~jae@unaffiliated/jae> has joined #angularjs
[14:07:07] *** antiPoP <antiPoP!~antiPoP@unaffiliated/antipop> has quit IRC (Remote host closed the connection)
[14:07:11] *** lacrymology <lacrymology!~lacrymolo@46.36.177.85> has joined #angularjs
[14:07:12] <Elarcis> tevin: I'm afraid you'll have to gather data on what OS's/browsers are encountering the issue, and see how you can fix it, or how the dev can
[14:07:33] *** leolrrj <leolrrj!~leolrrj@50-243-248-21-static.hfc.comcastbusiness.net> has joined #angularjs
[14:08:45] *** Germanaz0 <Germanaz0!~Germanaz0@unaffiliated/germanaz0> has joined #angularjs
[14:09:05] *** iraj_ <iraj_!~iraj@91.107.151.214> has joined #angularjs
[14:09:15] *** iraj <iraj!~iraj@unaffiliated/iraj> has quit IRC (Ping timeout: 260 seconds)
[14:09:32] *** max_at <max_at!max_at_dev@gateway/shell/elitebnc/x-mcxrsyihntvdstcc> has joined #angularjs
[14:10:39] *** iateadonut <iateadonut!~dan@175.193.166.38> has joined #angularjs
[14:10:55] *** iraj_ <iraj_!~iraj@91.107.151.214> has quit IRC (Changing host)
[14:10:55] *** iraj_ <iraj_!~iraj@unaffiliated/iraj> has joined #angularjs
[14:11:07] <star_prone> Hi all on my favourite channel :D!
[14:11:23] <ngWalrus> this is like my least favourite channel
[14:13:30] <star_prone> :)))) that's why I said "my" :P
[14:13:41] <Elarcis> ngWalrus: you're like my least favourite yeast
[14:14:37] <star_prone> :)))) I should have just said "Hi"
[14:14:47] <ngWalrus> Elarcis you're my least favourite culture
[14:14:51] <star_prone> I will re-phrase before it's too late
[14:14:53] <star_prone> Hi all
[14:15:11] <Elarcis> star_prone: so we're not your favourite channel anymore?
[14:15:14] <Elarcis> star_prone: asshole
[14:15:18] <star_prone> :))))
[14:15:19] <ngWalrus> wow rude
[14:15:26] <ngWalrus> Elarcis stop being so mean
[14:16:02] <Elarcis> ngWalrus: star_prone is mean, they tell us it's their favourite channel, then we somehow lose that status simply by talking about yeast and culture
[14:16:13] <star_prone> ngWalrus: first two or three times is harder, then you get used with Elarcis being mean :D I've became immune
[14:16:34] <Elarcis> /I/ am mean?
[14:16:35] <Elarcis> D/
[14:16:36] <Elarcis> D:
[14:16:56] <Elarcis> I've been nothing but swell
[14:17:09] <star_prone> no, you're not, you have a valid point :P
[14:17:54] * Elarcis googles 'yeast', doesn't catch the autocompletion to 'yeast infection', hopes no one's monitoring the network
[14:18:33] <Elarcis> how can someone catch a 'yeast infection'?
[14:18:49] <Elarcis> does that mean they swell more when they're baked?
[14:19:38] <star_prone> :))))))
[14:19:41] <Pyrrhus666> Elarcis: dragging you vayayay over the floor of the communal shower.
[14:21:30] *** Elarcis <Elarcis!~Elarcis@webdefence.cluster-d.websense.net> has quit IRC (Remote host closed the connection)
[14:21:48] *** Elarcis <Elarcis!~Elarcis@webdefence.cluster-d.websense.net> has joined #angularjs
[14:23:24] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has joined #angularjs
[14:24:55] *** beeelio <beeelio!50d99d6c@gateway/web/freenode/ip.80.217.157.108> has joined #angularjs
[14:25:53] *** tangorri <tangorri!~tangorri@LPuteaux-657-1-207-68.w80-14.abo.wanadoo.fr> has joined #angularjs
[14:26:16] <ngWalrus> my brother got a yeast invention on his crotch
[14:26:46] *** beeelio <beeelio!50d99d6c@gateway/web/freenode/ip.80.217.157.108> has quit IRC (Client Quit)
[14:26:48]
*** joshontheweb <joshontheweb!~joshonthe@223.205.206.206> has quit IRC (Quit: Textual IRC Client: http://www.textualapp.com/)
[14:27:07] *** iraj <iraj!~iraj@91.107.151.214> has joined #angularjs
[14:27:07] *** iraj <iraj!~iraj@91.107.151.214> has quit IRC (Changing host)
[14:27:07] *** iraj <iraj!~iraj@unaffiliated/iraj> has joined #angularjs
[14:27:09] *** netameta <netameta!~netameta@24-158-128-88.dhcp.kgpt.tn.charter.com> has joined #angularjs
[14:27:56] *** iraj_ <iraj_!~iraj@unaffiliated/iraj> has quit IRC (Read error: Connection reset by peer)
[14:28:17] *** arnas <arnas!~arnas@84.15.191.224> has joined #angularjs
[14:28:41] *** tangoo <tangoo!~tangorri@LPuteaux-657-1-207-68.w80-14.abo.wanadoo.fr> has quit IRC (Ping timeout: 240 seconds)
[14:29:32] *** Debnet`Work <Debnet`Work!~Marc@smtp2.sa-cim.fr> has joined #angularjs
[14:30:17] *** joshontheweb <joshontheweb!~joshonthe@223.205.206.206> has joined #angularjs
[14:32:13] *** amcorreia <amcorreia!~amcorreia@2804:7f5:280:3da0::1> has quit IRC (Ping timeout: 265 seconds)
[14:32:26] *** csk <csk!~csk@190-21-126-177.baf.movistar.cl> has joined #angularjs
[14:32:53] *** Debnet`Laptop <Debnet`Laptop!~Marc@48.86.2.93.rev.sfr.net> has quit IRC (Ping timeout: 244 seconds)
[14:33:26] *** hahahah <hahahah!cb6d6132@gateway/web/freenode/ip.203.109.97.50> has joined #angularjs
[14:33:51] *** hahahah <hahahah!cb6d6132@gateway/web/freenode/ip.203.109.97.50> has quit IRC (Client Quit)
[14:34:36] *** ewet <ewet!~ewet@unaffiliated/ewet> has joined #angularjs
[14:37:48] *** Lomex <Lomex!~lomex@213.61.34.42> has quit IRC (Remote host closed the connection)
[14:41:01] <Elarcis> ngWalrus: that's disturbing
[14:41:13] *** tevin <tevin!~tevin@2405:204:d28e:846:7c43:ce81:fdd:69b8> has quit IRC (Ping timeout: 248 seconds)
[14:41:27] *** iraj_ <iraj_!~iraj@91.107.151.214> has joined #angularjs
[14:41:36] *** joshontheweb <joshontheweb!~joshonthe@223.205.206.206> has quit IRC (Quit: Computer has gone to sleep.)
[14:41:36] *** iraj <iraj!~iraj@unaffiliated/iraj> has quit IRC (Read error: Connection reset by peer)
[14:41:44] *** Elarcis <Elarcis!~Elarcis@webdefence.cluster-d.websense.net> has quit IRC (Remote host closed the connection)
[14:41:57] *** lexileo <lexileo!~lexii@202.149.205.17> has quit IRC (Ping timeout: 276 seconds)
[14:41:59] *** Elarcis <Elarcis!~Elarcis@webdefence.cluster-d.websense.net> has joined #angularjs
[14:42:59] *** franzip <franzip!~textual@93-51-152-124.ip267.fastwebnet.it> has joined #angularjs
[14:43:50] *** Alina-malina <Alina-malina!~Alina-mal@37.157.216.133> has joined #angularjs
[14:44:21] *** dstefanox <dstefanox!59d82592@gateway/web/freenode/ip.89.216.37.146> has joined #angularjs
[14:44:52] *** sagerdearia <sagerdearia!~necrodear@unaffiliated/necrodearia> has quit IRC (Ping timeout: 250 seconds)
[14:46:09] *** sagerdearia <sagerdearia!~necrodear@unaffiliated/necrodearia> has joined #angularjs
[14:46:26] <mdk> Hi, I'm trying to compose directives, (put a directive (not mine) in a directive of mine), I'd like to just call the remote directive "link" from my directive link, but for this I need to "instantiate it", but I can't find how to do so :(
[14:47:10] *** Alina-malina <Alina-malina!~Alina-mal@37.157.216.133> has quit IRC (Changing host)
[14:47:10] *** Alina-malina <Alina-malina!~Alina-mal@unaffiliated/alina-malina> has joined #angularjs
[14:47:25] *** Shilon <Shilon!~Shilon@a85-138-195-180.cpe.netcabo.pt> has joined #angularjs
[14:47:34] *** a_thakur <a_thakur!~a_thakur@49.248.250.62> has quit IRC ()
[14:47:35] <Pyrrhus666> link as in link function ?
[14:47:55] <mdk> yep
[14:48:59] <Pyrrhus666> that sounds impossible, tbh. but I´m not an expert at link functions by any means...
[14:49:00] <mdk> I don't see any other ways to "inherit from a directive" / "compose with a directive", as one of them is _not mine_ (don't want to patch the code and get it broken while upgrading it)
[14:49:42] <mdk> I "just need to call" the directive function (which return the dictionary) and from here I can call the link funciton myself with the right paramters (easy as I'll call it from another link function, I already have everything needed)
[14:49:53] *** bsrd <bsrd!~ukk@0133902281.0.fullrate.ninja> has quit IRC (Quit: WeeChat 1.5)
[14:50:00] <Pyrrhus666> is that function exposed through the controller ?
[14:50:10] <bd-> mdk: why do you need to call the link function of the other directive?
[14:50:17] <bd-> they should be done automagically by angular
[14:50:18] <mdk> No, I'm just compositing directives here
[14:50:22] <Elarcis> bd-: they want to override it
[14:50:26] <dstefanox> Hi There. Question. I created component (and I mean component, not a directive). I want to expose JS api from this component, so that I can invoke it from js (find element by id, then cal its function). I haven't found this and all solutions that I Google are for directives or controlers, and don't work with component
[14:50:32] *** Lomex <Lomex!~lomex@213.61.34.42> has joined #angularjs
[14:50:55]
<jeppech> Hi, can anyone tell my why my form object, in my controller, is undefined whenever i reload my site? Ie. I cannot access the validation controls of the form items. But if I instead of reloading the page, change route/state, and then back again, it works. Very minimalistic code: http://pastebin.com/Lq5DNwGW
[14:51:40] <Elarcis> mdk: it depends on how the directive you're using is coded, but as far as I know, that's hardly possible
[14:51:48] <mdk> bd-: I use the angular-inview directive, but I want to create a directive of mine, which itself use the angular-inview direcive, but does something else than calling a method on the controller. I don't want any code in the controller at this stage, I'm just building a directive but I want it to "inherit" from the in-view directive
[14:52:25] <mdk> Elarcis: the in-view directive only has a link function, calling the link from my link funcitons seems enough to achieve my "composition"
[14:52:39] <mdk> But there may be another way to compose directives, didn't find a clean way though
[14:52:50] *** joshontheweb <joshontheweb!~joshonthe@223.205.206.206> has joined #angularjs
[14:53:09] <mdk> in every case I don't want to "copy paste" the in-view code in every directive of mine needed to be aware of being in the view :(
[14:54:10] <Elarcis> mdk: what is that 'in-view' directive? what does it do? why do you need to copy its code?
[14:54:14] *** amcorreia <amcorreia!~amcorreia@2804:7f5:280:3da0::1> has joined #angularjs
[14:54:15] <Elarcis> mdk: theyre might be a simpler solution
[14:55:02] <Elarcis> mdk ok, use a directive's require option
[14:55:23] <mdk> Elarcis: I'm trying to build directives like "display image when <img> is in-view, raise a google analytics event when this div is in-view, etc. Each of them need to "inherite" from "in-view"
[14:55:42] *** Lomex <Lomex!~lomex@213.61.34.42> has quit IRC (Ping timeout: 264 seconds)
[14:55:46] *** iraj_ <iraj_!~iraj@91.107.151.214> has quit IRC (Quit: Konversation terminated!)
[14:56:02] <Elarcis> mdk: ok, then use transclusion
[14:56:25] <mdk> Elarcis: I looked at the "require" side of doing this but as "in-view" only accept to execute javascript against the scope, I don't see how I'll be able to tell my other directive that the element is in the view
[14:56:40] <mdk> transclusion, ok I'm reading docs about it I'm not fully up-to-date on this
[14:56:59] <Elarcis> mdk: this way your directive has a template with a single element using in-view and addign logic to it, and inside that element, put a ng-transclude, so basically your div just wraps what you give it with that enriched in-view behavior
[14:57:02] <bd-> what is your directive?
[14:57:08] *** jhadvig <jhadvig!~jhadvig@78-141-120-86.dynamic.orange.sk> has joined #angularjs
[14:57:17] <bd-> if it's an attribute directive, could you not put it onto the other directive and both link functions will be called accessing the same elements
[14:57:18] <Elarcis> bd-: basically an analytics one
[14:57:31] <mdk> bd-: only attributes yes
[14:57:47] <soee> any of you have website not fullt SPA but some links that points to static pages ?
[14:58:06] <mdk> bd-: putting an attribute onto un attribute? I don't get it
[14:58:13] <soee> and have problem when those links to static pages don't trigger page reload ?
[14:58:46] *** gorakh <gorakh!db5bfb4f@gateway/web/freenode/ip.219.91.251.79> has joined #angularjs
[14:58:47] <bd-> <div in-view=".." my-directive>
[14:58:49] <mdk> Elarcis: with transclude, will I be able from my directive to "catch" the call made by "in-view" on what it thiks is the "scope" ? (inview "executes given javascript expression against the scope"
[14:58:51] <Elarcis> mdk: forget it, it's not the solution to your issue
[14:58:55] <mdk> ok
[14:59:14] <Elarcis> mdk: not transclusion I mean, bd-'s suggestion
[14:59:15] *** gorakh <gorakh!db5bfb4f@gateway/web/freenode/ip.219.91.251.79> has quit IRC (Client Quit)
[14:59:23] <mdk> bd-: This way, both will be called, but I don't see any way in-view will tell my-directive that the current element is in the viewport
[14:59:28] <mdk> Elarcis: ah ok þ
[14:59:34] <mdk> Elarcis: still reading doc about transclusion
[14:59:50] <jeppech> Oh, I found out. My ng-switch, makes a new child scope (I did not know that). How can I then access a controller, that I've defined outside of this new child scope?
[14:59:53] *** tangorri <tangorri!~tangorri@LPuteaux-657-1-207-68.w80-14.abo.wanadoo.fr> has quit IRC (Ping timeout: 240 seconds)
[15:00:06] *** mischat <mischat!~mischat@62.252.235.234> has joined #angularjs
[15:00:11] <Elarcis> mdk: with transclusion, you can define a custom expression to set as in-view's expression, like in-view="updateAnalytics($inview)". your directive then calls its custom behavior, and gets a boolean wether the element is in the viewport or not
[15:00:19] <Pyrrhus666> jeppech: via $parent
[15:00:43] <Elarcis> mdk: you then get a generic directive that you can wrap anything with and will update whenever the element is entering or exiting the viewport
[15:01:12] <mdk> Elarcis: looks cool, I'm still reading the docs þ I still don't really get it but I will
[15:01:14] <Elarcis> mdk: you can of course add parameters to that directive to finely tune how the code runs
[15:01:15] <jeppech> So to declare my form, to the parent controller, I'd do something like: <form name="$parent.myForm"> ?
[15:01:23] <bd-> mdk: in-view sets something on the scope when it's in view and the other element can read it from the scope ?
[15:01:26] *** tevin <tevin!~tevin@202.164.139.225> has joined #angularjs
[15:01:40] <mdk> bd-: It executes an expresionn against the scope
[15:01:44] <bd-> yes
[15:01:47] <Elarcis> mdk: a directive that transcludes stuff is basically 'hey, I have a template, and I'll put it around the element I'm attached to'
[15:02:00] *** joshontheweb <joshontheweb!~joshonthe@223.205.206.206> has quit IRC (Quit: Computer has gone to sleep.)
[15:02:18] *** iraj_ <iraj_!~iraj@91.107.151.214> has joined #angularjs
[15:02:48] <Pyrrhus666> jeppech: yes
[15:03:03] <mdk> Elarcis: OK, but how will it "fake" the scope used by in-view so it will receive the in-view "call" (in-view expression execution)
[15:03:23] <Elarcis> mdk: the scope used by in-view will be the directive's scope
[15:03:32] <mdk> Elarcis: nice
[15:03:33] *** tangorri <tangorri!~tangorri@LPuteaux-657-1-207-68.w80-14.abo.wanadoo.fr> has joined #angularjs
[15:03:34] <Elarcis> mdk: there's no 'faking'
[15:03:38] <mdk> Elarcis: really nice
[15:04:11] <jeppech> Pyrrhus666, thanks - Would you happen to know, why my form, then gets instantiated, if I change to another route/state, and then back again?
[15:04:19] <Elarcis> mdk: it's like when you use ng-if
[15:04:30] *** fedenunez <fedenunez!~fede@r167-61-5-254.dialup.adsl.anteldata.net.uy> has joined #angularjs
[15:05:39] <Pyrrhus666> jeppech: I don´t understand that question...
[15:07:11] <bd-> idk why you need transclusion for this
[15:08:13] <jeppech> Pyrrhus666, sorry, also a bit of a vague explanation, dunno how to explain it.
[15:08:39] *** ewet <ewet!~ewet@unaffiliated/ewet> has quit IRC (Quit: Leaving)
[15:08:43] *** Rodya_ <Rodya_!~Rodya_@2601:46:4001:e0b4:5d8e:4595:3fa2:3b3e> has joined #angularjs
[15:11:14] *** Poeticode <Poeticode!~Prophesi@host-68-169-169-183.VABOLT2.epbfi.com> has joined #angularjs
[15:13:27] *** Rodya_ <Rodya_!~Rodya_@2601:46:4001:e0b4:5d8e:4595:3fa2:3b3e> has quit IRC (Ping timeout: 272 seconds)
[15:15:32] <Elarcis> bd-: because that's what it's made for - wrapping elements with a custom reusable behavior
[15:15:55] <Elarcis> bd-: *template
[15:16:11] <Elarcis> bd-: the directive in-view is made to provide a simple callback tied to a DOM element
[15:16:44] <mdk> Elarcis: I tried a simple test and it looks like to works well, thanks a lot :)
[15:16:55] <Elarcis> bd-: it makes perfect sense that if you want to fatorize a behavior using this directive, you can just transclude it on the element you want to monitor
[15:17:01] <Elarcis> mdk: no prob!
[15:17:01] <bd-> yea but why transclude and not just stick another attribute directive onto the same element as the in-view
[15:17:47] <Elarcis> bd-: because that's two attributes directives you have to copy-paste each time, additionnally to callback function
[15:17:48] *** arnas <arnas!~arnas@84.15.191.224> has quit IRC (Read error: Connection reset by peer)
[15:18:07]
<mdk> Elarcis: It look like it, tell me if I did something obviously wrong or bad, I'm continuing this way :) https://dpaste.de/bEEV
[15:18:24] <Elarcis> bd-: wether it's much simpler to have monitor-in-view="endOfArticle"
[15:19:12] <Elarcis> mdk: almost perfect, just don't use replace: true, it's just too quirky and is not supported by angularjs
[15:19:49] <Elarcis> mdk: basically they removed support because it behaves weirdly and they could not predict all its effects
[15:19:57] <mdk> Elarcis: Hi,
[15:20:01] <mdk> Elarcis: Hum*
[15:20:15] *** amcorreia_ <amcorreia_!~amcorreia@2804:7f5:280:3da0::1> has joined #angularjs
[15:20:21] <mdk> Elarcis: at first glance it won't work without this, I'm looking at the DOM
[15:21:24] <bd-> idk, i think <div in-view="endofarticle" monitor> is much cleaner
[15:21:28] *** Lomex <Lomex!~lomex@213.61.34.42> has joined #angularjs
[15:21:31] <mdk> Elarcis: Element just dissapear from my DOM if I remove "replace: true"
[15:21:34] <bd-> especially once you need to start passing custom data to different monitors
[15:21:39] *** Elarcis <Elarcis!~Elarcis@webdefence.cluster-d.websense.net> has quit IRC (Remote host closed the connection)
[15:21:46] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has quit IRC (Ping timeout: 255 seconds)
[15:21:58] *** Elarcis <Elarcis!~Elarcis@webdefence.cluster-d.websense.net> has joined #angularjs
[15:21:58] *** Rodya_ <Rodya_!~Rodya_@2601:46:4001:e0b4:e170:860:1a43:6506> has joined #angularjs
[15:21:59] <Elarcis> bd-: except that's not how in-view works
[15:22:08] <Elarcis> mdk: what does the transclude: 'element' mean? I only know of transclude: true
[15:22:28] <Elarcis> mdk: it's possible that transclude: 'element' is interpreted as false
[15:22:45] <mdk> Elarcis: nice catch
[15:22:54] <mdk> Elarcis: it works well with transclude: true without replace :)
[15:22:56] <bd-> fine. <div in-view="visible=$inview" monitor>
[15:22:56] <mdk> Elarcis: thanks
[15:22:59] <bd-> or a set call ro whatever
[15:23:11] <Elarcis> bd-: yeah, and then what does monitor do?
[15:23:27] <bd-> whatever it needs to when visible is true
[15:23:45] <Elarcis> bd-: so monitor is dependent on scope inheritance
[15:23:51] <Elarcis> bd-: perfect evil you did there
[15:24:12] <bd-> not really
[15:24:25] <Elarcis> bd-: also you'd need something to configure what monitor has to do, because you subrepticely removed 'endOfArticle'
[15:24:41] *** blackwind_123 <blackwind_123!~IceChat9@117.192.140.9> has quit IRC (Ping timeout: 240 seconds)
[15:24:47] <bd-> it works both directives have isolate scope too
[15:25:24] <Elarcis> bd-: not related, in-view just runs a callback, monitor needs access to the parent scope without knowing what it contains
[15:25:34] <bd-> what parent scope?
[15:25:37] <bd-> it's the same scope
[15:25:54] *** gain_ <gain_!~Gianni@host207-76-dynamic.244-95-r.retail.telecomitalia.it> has quit IRC (Quit: Leaving)
[15:25:55] <Elarcis> bd-: so monitor just does scope.visible?
[15:26:01] <Elarcis> bd-: *exploits
[15:27:12] *** blackwind_123 <blackwind_123!~IceChat9@117.192.151.163> has joined #angularjs
[15:27:18] <bd-> not really sure how that'd be exploiting
[15:27:37] *** jtimon <jtimon!~quassel@150.110.132.37.dynamic.jazztel.es> has joined #angularjs
[15:27:44] <Elarcis> bd-: well you're not giving monitor any parameter, so it has to know what scope variable contains what it needs, right?
[15:28:03] <Elarcis> bd-: in this case, scope.visible
[15:28:12] <bd-> sure, or pass it a paramemter for some other check
[15:28:14] <bd-> or and expression
[15:28:17] <bd-> whatever really
[15:28:22] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has joined #angularjs
[15:28:46] <Elarcis> bd-: oh yeah, so monitor watches that expression continuously until it changes?
[15:28:51] <bd-> sure
[15:29:39] <bd-> or it could add a function on the scope to be called by in-view
[15:29:50] <bd-> depends how one wants to build ti
[15:30:59] <Elarcis> bd-: so the ideal case would be to dynamically set a behavior called by in-view that's reusable and simple to maintain?
[15:31:07] *** joshontheweb <joshontheweb!~joshonthe@223.205.206.206> has joined #angularjs
[15:31:27] <bd-> depends on the use case
[15:31:39] <bd-> maybe configurability and versitility more important than simplicity
[15:32:04] *** mememan <mememan!8f357385@gateway/web/freenode/ip.143.53.115.133> has joined #angularjs
[15:32:05] <Elarcis> bd-: congratulations, you just expressed the need at the root of transclusions :D
[15:32:12] <bd-> how are you going to only monitor if it's in-view and some other condition needs to be met?
[15:33:38] *** nishu-tryinghard <nishu-tryinghard!~nishanth@183.82.99.106> has quit IRC (Quit: Leaving)
[15:33:52] <Elarcis> bd-: that's not the use-case, but if the need is expressed, you can always add a parameter for that. whatever you do, you'll always have less code than if you have to write in-view next to it
[15:34:20] <Elarcis> bd-: actually, in-view is already monitoring
[15:35:01] <bd-> whit
[15:35:09] <Elarcis> bd-: what mdk needed was automatic analytics calls when in-view's callback was called.
[15:35:24] <Elarcis> bd-: u wit m8
[15:35:30] <bd-> yes, but maybe you only want to do those analytics if it's in view and something else is true
[15:35:35] <bd-> like some toggle on page or whatever, fuck knows
[15:35:43] <Elarcis> mdk: do you?
[15:36:11] <star_prone> I want to do a check in the router controller that will help me give a value to a variable based on the route; I want to use the variable in a ng-include to conditionally include a menu; the path is /:user_id/posts/:post_id/visibility; what would be the recommended way to do it
[15:36:12] <star_prone> ?
[15:36:30] *** amundj <amundj!~textual@185.13.92.20> has quit IRC (Ping timeout: 265 seconds)
[15:38:26] <mdk> Elarcis: hum it depends, actually I started to work on the "display images when in view" so I don't have my analytics needs in mind but,
[15:38:53] *** rho <rho!~rho@drupal.org/user/114058/view> has joined #angularjs
[15:39:13] *** nikitabanthiya14 <nikitabanthiya14!6a33e3e8@gateway/web/freenode/ip.106.51.227.232> has joined #angularjs
[15:39:16] <mdk> Elarcis: question, when I dropped "replace: true" and used "true" instead of 'element' (which looks not documented you're right), instead of having my <div in-view...> wrapping my <img> I'm having my img wrapping my <div in-view> :(
[15:39:24] <mdk> Elarcis: is this expected?
[15:39:50] *** m8 <m8!~m8@unaffiliated/m8> has quit IRC (Read error: Connection reset by peer)
[15:39:51] <Elarcis> mdk: totally not :D
[15:40:05] *** tevin <tevin!~tevin@202.164.139.225> has left #angularjs ("Ex-Chat")
[15:40:38] <Elarcis> mdk: must have been deprecated
[15:40:47] <Elarcis> mdk: anyway, show me how you call your directive, please
[15:41:14] *** joshontheweb <joshontheweb!~joshonthe@223.205.206.206> has quit IRC (Quit: Computer has gone to sleep.)
[15:42:00] *** FIFOd <FIFOd!~FIFOd@cpe-172-74-101-60.nc.res.rr.com> has joined #angularjs
[15:42:21] *** FIFOd <FIFOd!~FIFOd@cpe-172-74-101-60.nc.res.rr.com> has quit IRC (Client Quit)
[15:42:22] <Elarcis> mdk: I assume sh-lazy-src is your directive?
[15:42:54] <Elarcis> mdk: are you only going to use that for img tags?
[15:43:11] *** stoffus <stoffus!~stoffus@83.140.0.0> has quit IRC (Quit: leaving)
[15:43:27] <mdk> Elarcis: In this case (shLazySrc) yes, but this pattern of reusing in-view I'll use it for analytics too, at leat
[15:43:32] <mdk> s/leat/least/
[15:44:16] <Elarcis> mdk: ok, you might need to do two directives then, one for images, and one for analytics, because in the end they're not implementing the same behavior at all
[15:44:34] *** Elarcis <Elarcis!~Elarcis@webdefence.cluster-d.websense.net> has quit IRC (Remote host closed the connection)
[15:44:52] *** Elarcis <Elarcis!~Elarcis@webdefence.cluster-d.websense.net> has joined #angularjs
[15:44:55] *** Poeticode <Poeticode!~Prophesi@host-68-169-169-183.VABOLT2.epbfi.com> has quit IRC (Ping timeout: 260 seconds)
[15:44:56] <mdk> Elarcis: Yes I'll do two directives
[15:45:16] *** FIFOd <FIFOd!~FIFOd@cpe-172-74-101-60.nc.res.rr.com> has joined #angularjs
[15:45:31] <mdk> Elarcis: both having the same pattern of "inheriting" in-view but really distinct directives (I typically don't really want to track my images view þ)
[15:45:43] <Elarcis> mdk: great, so for the img one, you don't need transclusion
[15:46:05] <mdk> Elarcis: oh ?
[15:46:29] <mdk> Elarcis: but can you enlighten me on why the elements gets reversed in my actual case?
[15:46:32] <Elarcis> mdk: ah, damn that's tricky, let me think
[15:47:10] <Elarcis> mdk: yes, because you're using the sh-lazy-src on your img tag, which puts its template inside the <img></img> tag, just as you'd expect it to do
[15:47:25] <Elarcis> mdk: sh-lazy-src is to put on the parent div, ng-transclude only applies to children elements
[15:47:43] <Elarcis> mdk: if you put it on your div.article-partials-image-container
[15:47:43] <mdk> I should have used an element directive instead of an attribute one to "get wrapped"?
[15:47:55] <Elarcis> mdk: both img and figcaption will get wrapped
[15:48:07] <Elarcis> mdk: no, it's not really necessary
[15:48:18] <Elarcis> mdk: both work well, it depends on the need
[15:48:18] <mdk> ok cool
[15:48:37] <Elarcis> mdk: Oh I know
[15:49:01] <Elarcis> mdk: in your img directive, just have an <img/> element with the in-view logic as usual
[15:49:10] <mdk> But if I put my sh-lazy-src on the div, I'll need to search for my img to apply the src on it, it's more code for like nothing ? It seems logical to put sh-lazy-src on the <img> receiving the src, but I need <div><img></div> not <img><div></img>
[15:49:12] <Elarcis> mdk: no transclusion
[15:49:52] <Elarcis> mdk: then, you don't need transclusion, but the problem here is that I don't know how you can use in-view other than what bd- described, which is still terrible
[15:49:54] <Elarcis> :P
[15:50:41] <mdk> Elarcis: You mean <img sh-lazy-src="{{item.URL}}" in-view="$inview&&actuallyDiplayIt()">? But this way I'll have "actuallyDisplayIt" called on the controller scope, not the sh-lazy-src one?
[15:50:47] <Elarcis> mdk: in your directive's template, just add the ng-src attribute to your image tag, and interpolate the URL into it /only/ when it passes into the viewport
[15:51:01] <Pyrrhus666> I´d just grab the in-view source and modify it to allow injection of my analytics service so that can get a signal when the element is in view. but that may be too pragmatic for you guys :)
[15:51:12] <Elarcis> mdk: the img will be like disabled as long as the URL is not a valid one (undefined i.e.)
[15:52:15] <mdk> Elarcis: "interpolate the URL into it /only/ when it passes into the viewport"? That's almost what I'm trying to do, I think, but using a directive to encapsultate this behavior
[15:52:15] *** FIFOd <FIFOd!~FIFOd@cpe-172-74-101-60.nc.res.rr.com> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
[15:52:30] <Elarcis> mdk: like <img ng-src="{{ lazyUrl }}" in-view="showImage($inview)" />
[15:52:48] <Elarcis> mdk: and then in showImage(), set lazyUrl to the url or to undefined depending on $inview
[15:53:03] *** jsightler <jsightler!~jsightler@redhat/jboss/jsightler> has joined #angularjs
[15:53:31] <mdk> Elarcis: yes I can do it, but this way I have to implement showImage in my controller :(
[15:53:45] <mdk> in every controllers needing this behavior :(
[15:53:57] <Elarcis> mdk: that's the template of your directive, so you only have to set it in your directive's controller
[15:54:01] <Elarcis> mdk: :D
[15:54:05] <mdk> hum
[15:54:12] *** dcherman <dcherman!~dcherman@164.55.254.106> has joined #angularjs
[15:54:16] *** plutoniix <plutoniix!~q@node-lhg.pool-101-108.dynamic.totbb.net> has joined #angularjs
[15:55:30] <mdk> Elarcis: ok so advice my directive to be an element directive with a template containing the img element with the in-view? Looks good
[15:58:13] <ngWalrus> alright, I figured the tabulation problem with _.zip
[15:58:42] <ngWalrus> _.zip is a simple sounding, but very powerful function that you should all learn to use
[15:59:13] <Pyrrhus666> isn´t that like the haskell zip ?
[16:00:44] <Pyrrhus666> ah yes, looks like it... I guess you pre-process your nested arrays with it ?
[16:02:10] <zomg> if you have two or more sets of data which are related to each other you can "zip" them together and then iterate through the relevant bits in one
[16:02:16] *** Bnaya <Bnaya!~Bnaya@unaffiliated/bnaya> has joined #angularjs
[16:02:30] <zomg> rather than doing something like things.forEach((thing, index) => { let thing2 = things2[index]
[16:03:19] <Elarcis> mdk: yeah, something like that :)
[16:04:06] <mdk> Elarcis: I'm currently tring to do so but my "isInView()" is never called, I hope I don't have to "re-evaluate" the template so the "in-view" directive is loaded?
[16:05:48] *** VeeWee <VeeWee!~VeeWee@lclbe-surf.cronos.be> has quit IRC (Quit: WeeChat 1.4)
[16:05:51] *** george_v <george_v!~george_v@77.49.223.194.dsl.dyn.forthnet.gr> has quit IRC (Quit: Leaving)
[16:05:55] *** nadoneves <nadoneves!~Thunderbi@177.131.144.72> has joined #angularjs
[16:05:55] <Elarcis> mdk: what do you mean?
[16:06:31] <mdk> I have my `template: '<img in-view="isInView($inview)"></img>',` but the `$scope.isInView = function…` is never called :(
[16:06:52] <mdk> like the "in-view" directive is not actually loaded
[16:07:05] *** Bnaya <Bnaya!~Bnaya@unaffiliated/bnaya> has quit IRC (Ping timeout: 260 seconds)
[16:09:04] *** rscata <rscata!~cata@5.2.202.145> has quit IRC (Quit: Leaving)
[16:09:17] <Pyrrhus666> hmm angular expressions with triple nested ternary operators just work... nice :)
[16:10:28] *** Shilon <Shilon!~Shilon@a85-138-195-180.cpe.netcabo.pt> has quit IRC (Quit: Shilon)
[16:10:41] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has quit IRC (Ping timeout: 240 seconds)
[16:10:54] <mdk> hum looks it's called but late, ok I can handle it from here I thin, thanks for all the help, a lot þ
[16:11:06] <Elarcis> mdk: you don't have to reevaluate your template, it's done automatically
[16:11:13] <Elarcis> mdk: np
[16:11:58] <Elarcis> Pyrrhus666: I don't get what the fuss with nested ternaries is, it's just an if/else if/else case
[16:12:14] <Elarcis> Pyrrhus666: if you do proper line breaks, it's readable :D
[16:12:22] *** mven_ <mven_!~textual@cpe-173-174-112-125.austin.res.rr.com> has joined #angularjs
[16:12:25] *** mven_ <mven_!~textual@cpe-173-174-112-125.austin.res.rr.com> has quit IRC (Excess Flood)
[16:13:55] <Pyrrhus666> no fuss, and I agree, I just didn´t expect the angular expression evaluator to accept nested ternaries :)
[16:14:12] <Elarcis> Pyrrhus666: wasn't there someone here long ago who had such a horrendous, minified condition and wanted us to help him understand it so he could code the same one on his site?
[16:14:22] <bd-> went for lunch, had a kebab and yous are still debugging transclusion
[16:14:23] <bd-> ✔
[16:14:30] <Pyrrhus666> haha, that does ring a bell yes :)
[16:14:30] <Elarcis> Pyrrhus666: aren't angular expression just js code with syntaxic sugar
[16:14:44] <Pyrrhus666> no, they are parsed
[16:15:00] <Pyrrhus666> (make a mistake and see parser errors ;))
[16:15:08] *** bbankes <bbankes!~bbankes@50-200-100-242-static.hfc.comcastbusiness.net> has joined #angularjs
[16:15:10] <Elarcis> bd-: no, we're done since 14h42 UTC
[16:15:22] <Pyrrhus666> hence not all operators are available (like << and >>)
[16:15:27] <bd-> > I don't know how you can use in-view other than what bd- described
[16:15:30] <bd-> i see
[16:15:30] *** mven <mven!~textual@cpe-173-174-112-125.austin.res.rr.com> has quit IRC (Ping timeout: 264 seconds)
[16:15:30] <Elarcis> Pyrrhus666: ah, damn
[16:15:48] *** beauby <beauby!~beauby@104.132.24.101> has joined #angularjs
[16:15:59] <Elarcis> bd-: we also solved that, your solution was avoided elegantly
[16:16:12] *** mememan <mememan!8f357385@gateway/web/freenode/ip.143.53.115.133> has quit IRC (Ping timeout: 240 seconds)
[16:16:31] <bd-> weird, cause it looks like you're putting two directives on the same element
[16:16:34] <bd-> whcih is what i first said
[16:16:35] <Pyrrhus666> I found both your solutions overengineerd :P
[16:16:52] <Elarcis> bd-: we're not, it's their template
[16:16:59] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has joined #angularjs
[16:17:09] <bd-> yes, with the two directives on it?
[16:17:21] <Elarcis> bd-: they just have to do <sh-lazy-img="theirUrl"></ng-lazy-img>
[16:17:32] <mdk> bd-: my directive just has the in-view in its template
[16:17:34] <Elarcis> bd-: yes, except it's reusable
[16:18:18] <bd-> i didn't say don't put it in a template
[16:18:22] <Elarcis> Pyrrhus666: you haven't seen overengineered until you've seen what I'm dealing with
[16:18:24] <bd-> i said don't use transclusion
[16:18:29] <Elarcis> bd-: you're literally the worst
[16:18:30] *** beauby <beauby!~beauby@104.132.24.101> has quit IRC (Remote host closed the connection)
[16:18:51] <Elarcis> bd-: anyway mdk will use transclusion, but for their analytics directive
[16:18:57] <Pyrrhus666> Elarcis: probably :)
[16:19:09] *** beauby <beauby!~beauby@104.132.24.101> has joined #angularjs
[16:19:14] *** franzip <franzip!~textual@93-51-152-124.ip267.fastwebnet.it> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)
[16:19:17] <Elarcis> bd-: since an analytics directive and a lazy loading one aren't the same thing, they're doing two directives, based on in-view
[16:19:42] *** franzip <franzip!~textual@93-51-152-124.ip267.fastwebnet.it> has joined #angularjs
[16:21:13] *** OnkelTem <OnkelTem!~onkeltem@pppoe-62-84-112-224.dubna.ru> has quit IRC (Ping timeout: 244 seconds)
[16:22:32] *** Limarson1 <Limarson1!~marcel.cr@p5797800A.dip0.t-ipconnect.de> has quit IRC (Quit: Leaving.)
[16:22:38] *** Limarson <Limarson!~marcel.cr@p5797800A.dip0.t-ipconnect.de> has joined #angularjs
[16:22:46] *** lacrymology <lacrymology!~lacrymolo@46.36.177.85> has quit IRC (Ping timeout: 244 seconds)
[16:23:33] *** OnkelTem <OnkelTem!~onkeltem@pppoe-62-84-112-224.dubna.ru> has joined #angularjs
[16:24:34] <Pyrrhus666> oooooooookaaaaaaaaaaaaaayyyyy... I want no part of that...
[16:24:43] <Elarcis> Pyrrhus666: you lucky boy
[16:25:17] *** deez79 <deez79!~deez79@52.68.197.104.bc.googleusercontent.com> has joined #angularjs
[16:25:45] <Pyrrhus666> yeah, because debugging sql generated by finicky code based on convoluted business logic is sooooo much better ;)
[16:26:16] <Pyrrhus666> (the code is my fault, but multiple iterations of business logic led to crap)
[16:26:22] <Elarcis> Pyrrhus666: LINQ ftw
[16:26:58] *** jimklo <jimklo!~jimklo@71-84-19-18.dhcp.trlk.ca.charter.com> has quit IRC (Remote host closed the connection)
[16:27:32] *** jimklo <jimklo!~jimklo@71-84-19-18.dhcp.trlk.ca.charter.com> has joined #angularjs
[16:27:52] <Pyrrhus666> I doubt that would work for me. part of the problem is that it all needs to run at near realtime speed, causing me to do weird shit in the generator code.
[16:28:18] <Elarcis> Pyrrhus666: realtime speed?
[16:28:54] *** coder_2014 <coder_2014!~oh_yeah@124.red-79-146-190.dynamicip.rima-tde.net> has joined #angularjs
[16:29:14] <Pyrrhus666> as in queries are done live and for usability can´t take more than say 250ms.
[16:29:24] <coder_2014> good afternoon!, easy one (I hope) - how can I call a function from a function I've created within a @Component? - help is appreciated - cheers!
[16:30:11] <Nasp> You should easily be ablt to do a query within 250ms
[16:30:17] <Nasp> If not then you have a lot of data or a lot of joins
[16:30:27] <Pyrrhus666> Nasp: in this case both
[16:30:59] <Pyrrhus666> esp. since a fair bit of aggregation is involved as well
[16:31:12] *** nikitabanthiya14 <nikitabanthiya14!6a33e3e8@gateway/web/freenode/ip.106.51.227.232> has quit IRC (Ping timeout: 240 seconds)
[16:31:43] *** jimklo <jimklo!~jimklo@71-84-19-18.dhcp.trlk.ca.charter.com> has quit IRC (Ping timeout: 244 seconds)
[16:31:57] *** mangolisk <mangolisk!~mangolisk@S0106848dc7ebaa06.vc.shawcable.net> has joined #angularjs
[16:31:59] *** mven <mven!~textual@32.97.110.53> has joined #angularjs
[16:32:01] *** mven <mven!~textual@32.97.110.53> has quit IRC (Excess Flood)
[16:33:11]
*** Garfield-fr <Garfield-fr!~Garfield-@unaffiliated/garfield-fr> has quit IRC (Quit: Linkinus - http://linkinus.com)
[16:33:40] *** siba <siba!~textual@60-242-28-48.static.tpgi.com.au> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
[16:33:42] *** gain_ <gain_!~Gianni@host207-76-dynamic.244-95-r.retail.telecomitalia.it> has joined #angularjs
[16:34:16] *** Shilon <Shilon!~Shilon@a79-168-104-17.cpe.netcabo.pt> has joined #angularjs
[16:34:57] <Elarcis> Pyrrhus666: looks like a job for... tam tam tam... stored procedures!
[16:34:58] *** Debnet`Work <Debnet`Work!~Marc@smtp2.sa-cim.fr> has quit IRC (Read error: Connection reset by peer)
[16:35:30] <Elarcis> Pyrrhus666: oh, the amount of crazy procedures I've seen, often 50 lines long, doing crazy data correlations
[16:35:32] <Pyrrhus666> yup also used
[16:35:44] *** Angularnewbie <Angularnewbie!51d74eba@gateway/web/cgi-irc/kiwiirc.com/ip.81.215.78.186> has joined #angularjs
[16:35:58] *** dstefanox <dstefanox!59d82592@gateway/web/freenode/ip.89.216.37.146> has quit IRC (Quit: Page closed)
[16:36:08] *** falk0n <falk0n!~falk0n@a109-49-57-182.cpe.netcabo.pt> has joined #angularjs
[16:36:47] <Elarcis> 'okay fetch only patients whose main doctor is the user, or a user this user has access to and has not been blocked by, but only fetch patients which are not deceased, and whose actual social security card number has been defined while profile status has not yet expired, while also fetching....'
[16:36:49] <Angularnewbie> Hey, I have a stateProvider endpoint like so: $stateProvider.state("auth.signout", { url: "/signout", controller: "SignoutController" });
[16:37:00] <Angularnewbie> Is it possible to specify a method like SignoutController@signout?
[16:37:04] <Nasp> Elarcis haha nice joke right?
[16:38:00] <Elarcis> Nasp indeed it was
[16:38:02] <Pyrrhus666> Elarcis: not as bad as that, luckily :)
[16:38:39] <Elarcis> Angularnewbie: can't that method just be the initialization of the controller?
[16:39:13] *** deez79 <deez79!~deez79@52.68.197.104.bc.googleusercontent.com> has quit IRC (Quit: leaving)
[16:39:34] *** pwnd_nsfw` <pwnd_nsfw`!~pwnd_@cpe-2606-A000-FB05-3A00-0-0-0-1.dyn6.twc.com> has joined #angularjs
[16:39:39] *** deez79 <deez79!~deez79@52.68.197.104.bc.googleusercontent.com> has joined #angularjs
[16:40:22] <Angularnewbie> @Elarcis: It can be, but it would be pretty ugly incase this controller gets more methods in the future
[16:40:43] <enlightenmental> ng-class="{'someClass' : someConditional}" <== how would I also add another class from a variable without a conditional ?
[16:40:48] <Elarcis> Angularnewbie: agreed
[16:41:31] <Angularnewbie> @Elarcis: In Laravel we used to follow "XController@method" syntax. Does similar one work here? I'm digging the docs but couldn't find anything so far
[16:41:45] *** pwnd_nsfw <pwnd_nsfw!~pwnd_@cpe-2606-A000-FB05-3A00-0-0-0-1.dyn6.twc.com> has quit IRC (Ping timeout: 248 seconds)
[16:42:02] <Elarcis> Angularnewbie: I don't think so, if it does I've never seen it
[16:42:31] <Angularnewbie> @Elarcis: So what do you guys use for those purposes? Keep the logic in controller constructor?
[16:42:38] *** Bnaya <Bnaya!~Bnaya@unaffiliated/bnaya> has joined #angularjs
[16:42:45] *** cotko <cotko!~ahmed@89-212-138-82.static.t-2.net> has quit IRC (Ping timeout: 272 seconds)
[16:43:08] <Elarcis> Angularnewbie: you could have something like an autoSignout parameter in your state, passed to true
[16:43:19] <icebox> Angularnewbie: sorry... I was lost in the space... resolved that issue about about the template is not updated_
[16:43:28] <Elarcis> Angularnewbie: and in your controller's init function, check that parameter, and launch the signout logic automatically or not
[16:43:43] <Angularnewbie> @icebox: Me too! Had to pass $scope.$apply() :)
[16:44:01] *** Poeticode <Poeticode!~Prophesi@host-68-169-169-183.VABOLT2.epbfi.com> has joined #angularjs
[16:44:08] *** monk12 <monk12!~kvirc@50-201-156-254-static.hfc.comcastbusiness.net> has joined #angularjs
[16:44:08] <icebox> Angularnewbie: well... $apply is evil :)
[16:44:20] <icebox> Angularnewbie: but if it work, at the moment it is ok
[16:44:21] <Elarcis> icebox: haha
[16:44:41] <icebox> Angularnewbie: about this last question... using resolve feature?
[16:44:45] <Angularnewbie> @icebox: The code is a bit retarded though... I pass $scope into SocketService, keep a reference to it, whenever I get a socket event I do this.listeners[$listener].$apply();
[16:45:25] <monk12> hey all, how does angular work with custom directives? is its html5 web components when you do something like <question questiontext="Whats heart conditions you have?" options="Heart Attack, Angina, Option3"/> i thought web components arent compliant in browsers yet so curious how it doesn't error?
[16:45:36] <icebox> Angularnewbie: ah ok... yes in the socket... well... so it is ok... maybe better a $timeout(onmessage, 0)
[16:45:52] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:41e2:f0f0:6e13:b959> has joined #angularjs
[16:45:54] <monk12> or having something like a custom tag like <question .../> is allowed and angular takes over to component-ize it via its JS code
[16:46:42] <Angularnewbie> @icebox: I'll most likely try to promisify socket.io somehow so I can do socket.emit("blabla").then(res) on controller scope
[16:46:45] *** xaxisx <xaxisx!~xaxisx@173-230-160-38.cable.teksavvy.com> has quit IRC (Read error: Connection reset by peer)
[16:47:08] <icebox> Angularnewbie: feasible
[16:47:18] *** beauby <beauby!~beauby@104.132.24.101> has quit IRC (Ping timeout: 264 seconds)
[16:47:23] *** rickmak_ <rickmak_!~rickmak@n219076246068.netvigator.com> has quit IRC (Quit: rickmak_)
[16:47:57] <Angularnewbie> @icebox: Regarding the controller question, I suppose there is no way to do it, apart from relying on onEnter / resolve methods?
[16:48:11] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:41e2:f0f0:6e13:b959> has quit IRC (Remote host closed the connection)
[16:48:11] <Angularnewbie> @icebox Right now the controller does nothing. Logout logic is written in the resolve call
[16:48:14] <icebox> Angularnewbie: I think so
[16:48:46] *** avarsh <avarsh!~avarsh@c-73-31-155-14.hsd1.va.comcast.net> has joined #angularjs
[16:49:27] <Elarcis> Angularnewbie: you could have something like an autoSignout parameter in your state, passed to true
[16:49:30] <Elarcis> and in your controller's init function, check that parameter, and launch the signout logic automatically or not
[16:50:11] <dopry> Angularnewbie, why pass $scope into the socket instead of have the controller listen to events from the SocketService?
[16:50:29] *** mllie <mllie!c3431be2@gateway/web/freenode/ip.195.67.27.226> has joined #angularjs
[16:50:31] *** eclaire <eclaire!~claire@dc.35.01a8.ip4.static.sl-reverse.com> has joined #angularjs
[16:50:47] <mllie> Anyone that have tried ngrx and have some thoughts about it?
[16:50:52] <Angularnewbie> @dopry sec I had gist for that
[16:51:34] <Angularnewbie> @dopry Nevermind I don't. SocketService works like this. SocketService.on("event", callback);
[16:51:59] <Elarcis> mllie: I haven't, but it looks sexy
[16:52:20] <dopry> AngualrNewbiw, so you're trying to do a signout and you want to put a user on a specific page on signout?
[16:52:24] <Angularnewbie> @dopry The callback requires me to connect controller and update scope parameters which doesn't seem supposed on AngularJS.
[16:52:51] <Angularnewbie> @dopry Socket question and controller question are seperate questions
[16:52:52] <Pyrrhus666> off, have a good weekend y´all !
[16:52:57] <mllie> Elarcis: Yeah, really. I like the redux architecture a lot. Have you tried any other integration between redux and ng2?
[16:53:01] *** whiteboo_ <whiteboo_!~whitebook@ool-182e2e18.dyn.optonline.net> has quit IRC (Remote host closed the connection)
[16:53:07] *** avarsh <avarsh!~avarsh@c-73-31-155-14.hsd1.va.comcast.net> has quit IRC (Ping timeout: 255 seconds)
[16:53:15] <Elarcis> mllie: haha, haven't done ng2 since RC2 sadly
[16:53:20] <Elarcis> mllie: haven't got the time
[16:53:35] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has joined #angularjs
[16:53:41] *** inoxus <inoxus!~inoxus__@78.187.121.179> has joined #angularjs
[16:53:42]
<Angularnewbie> @dopry I just want my signout endpoint (which is https://i.imgur.com/ZJQ0EiR.png) to run SignoutController@index or something. It doesn't seem doable with Angular
[16:53:54] <mllie> Elarcis: I see
[16:53:59] <dopry> Angularnewbie, I think there are better approaches to signout... it looks like you want the url signout to signout a user and redirect to the login screen yes?
[16:54:05] <mllie> Elarcis: It looks a lot better than ng1 actually
[16:54:24] *** Pyrrhus666 <Pyrrhus666!~Pyrrhus66@095-097-155-024.static.chello.nl> has quit IRC (Quit: Leaving.)
[16:54:25] <Angularnewbie> @dopry Yes, but shouldn't it be "SignoutController"'s task?
[16:54:29] *** leehambley <leehambley!~textual@p57A845E4.dip0.t-ipconnect.de> has joined #angularjs
[16:54:45] <dopry> Angularnewbie, Authentication is technically a cross cutting concern...
[16:54:53] *** c17r <c17r!~c17r@c-76-111-82-24.hsd1.va.comcast.net> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)
[16:54:56] *** zonality <zonality!~zonality@193.104.131.28> has joined #angularjs
[16:55:05] <Angularnewbie> @dopry What would you suggest instead?
[16:55:12] <dopry> Angularnewbie, I usually implement an AuthService with .login(...) and .logout(...)
[16:55:31] <dopry> Angularnewbie, that call the endpoints.
[16:55:50] <mllie> Elarcis: I see, did the guy have any arguments why?
[16:56:14] <inoxus> hi there, i've been trying to learn angular 2. its a newbie question if you wouldnt mind. do i have to use typescript to develop angular 2 apps. or is there any way to use regular js?
[16:56:15] <dopry> Angularnewbie, my auth service with fire events on login and logout that my components can listen to.
[16:56:21] <Angularnewbie> @dopry You inject the AuthService into ProfileController and listen ng-click="logout()" which calls AuthService.logout() ?
[16:56:31] <Elarcis> mllie: it makes uses of decorators and observables, and it looks clean
[16:56:32] <dopry> Angularnewbie, yep..
[16:56:34] *** angularjs095 <angularjs095!cc3f2c92@gateway/web/freenode/ip.204.63.44.146> has joined #angularjs
[16:56:35] <icebox> inoxus: regular js is ok
[16:56:37] <bd-> inoxus: you can use plain js but it's not worth the hassle imo
[16:56:47] <bd-> just use typescript, if you ignore the types it's pretty much exactly js
[16:57:00] <mllie> Elarcis: I see. but ngrx uses observables as well?
[16:57:21] <Angularnewbie> @dopry I see, I thought about keeping that logic in the controller instead of a module. Module seems like a better idea though
[16:57:27] *** c17r <c17r!~c17r@c-76-111-82-24.hsd1.va.comcast.net> has joined #angularjs
[16:57:32] <inoxus> i see, so thanks a lot. using type script is ok. no need to hassle. thanks al lot
[16:57:40] *** inoxus <inoxus!~inoxus__@78.187.121.179> has quit IRC (Quit: Leaving)
[16:57:42] <Elarcis> mllie: it seems indeed
[16:57:42] <dopry> Angularnewbie, usually I'll either have the auth controller or event listener on the rootscope handle the state transition or an
[16:57:48] *** coder_2014 <coder_2014!~oh_yeah@124.red-79-146-190.dynamicip.rima-tde.net> has quit IRC (Quit: dfk)
[16:57:49] <Elarcis> mllie: I'm no expert on that though
[16:57:57] <mllie> Elarcis: Do you know why some call their properties with an ending $? To symbolize that it's an observable?
[16:58:02] *** beauby <beauby!~beauby@104.132.24.101> has joined #angularjs
[16:58:02] <angularjs095> hi
[16:58:21] <icebox> off... bye
[16:58:22] *** star_prone <star_prone!~sviatovig@81.89.12.66> has quit IRC (Remote host closed the connection)
[16:58:26] *** angularjs095 <angularjs095!cc3f2c92@gateway/web/freenode/ip.204.63.44.146> has quit IRC (Client Quit)
[16:58:26] <icebox> have a nice weekend
[16:58:30] <Elarcis> die, icebox
[16:58:49] <Elarcis> mllie: good question
[16:58:59] <dopry> Angularnewbie, technically you can't put you code in a module... a module is a collection of directives, services, etc and acts as a container for purposes of DI and has some basic life cycle events like .run, .config etc...
[16:59:20] *** icebox <icebox!5e5fe874@gateway/web/freenode/ip.94.95.232.116> has quit IRC (Quit: Page closed)
[16:59:35] *** mg <mg!42aff501@gateway/web/freenode/ip.66.175.245.1> has joined #angularjs
[16:59:44] <dopry> Angularnewbie, gimme a sec there is a really good blog post on angular auth out there in the wild....
[16:59:45] <mg> hey
[17:00:02] <mllie> Elarcis: could be a good style to follow actually
[17:00:07] <Elarcis> mllie: agreed
[17:00:14] *** mg <mg!42aff501@gateway/web/freenode/ip.66.175.245.1> has quit IRC (Client Quit)
[17:00:21] *** leeioa528 <leeioa528!cc3f2c92@gateway/web/freenode/ip.204.63.44.146> has joined #angularjs
[17:00:24] <Elarcis> mllie: if I weren't using typescript, it'd actually help :D
[17:00:45] <dopry> Angularnewbie, but you should be binding click events and actions to functions on your controller... it's okay to put code in your controller...
[17:00:56] <mllie> Elarcis: Yeah, just thought of that as well. Typescript kind of remove that need
[17:00:56] <Elarcis> mllie: since Typescript provides strong typing, I don't think there's an actual need for that
[17:01:14] <dopry> Angularnewbie, Code that should be shared by many controllers might be a good candidate for a service...
[17:01:29] <Elarcis> dopry: depends on how rigorous you are
[17:01:49] <Elarcis> dopry: I try to put as little logic as possible in controllers
[17:02:32] <dopry> Angularnewbie, but using route resolution to set application state or trigger actions like login, logout... is something I think most people would advise against..
[17:02:33] *** beauby <beauby!~beauby@104.132.24.101> has quit IRC (Ping timeout: 248 seconds)
[17:02:48] <mllie> Elarcis: agree
[17:02:57] <mllie> Elarcis: Have you tried rxjs?
[17:03:09] <dopry> Elarcis, sure, but you aren't binding directly to you services... and I normally don't refactor behavior to a service until I have a need for re-use.
[17:04:01] <Elarcis> dopry: nah, bindings are the role of the controller
[17:04:14] <dopry> Elarcis, you still need the controller as a proxy for your services, and developers new to the framework need a little time to figure out the proper separation of concerns..
[17:05:51] *** ciroque <ciroque!~swagner@sea02-v600-nat.marchex.com> has quit IRC (Quit: Lost terminal)
[17:06:17] <dopry> Elarcis, at least when I'm training people we start out with a lot of logic in our controllers and the moment we hit a second controller needing similar logic, we refactor it into a service...
[17:06:18] <Elarcis> mllie: no I haven't
[17:06:30] <Elarcis> dopry: yes they do
[17:07:14] <Elarcis> dopry: actually I think it'd be nice to teach them how to create a service as soon as possible, like right after they've discovered how bindings work
[17:08:14] <Elarcis> dopry: again, to each project its truthes
[17:08:32] <dopry> Elarcis, I always get nervous that people will start overthinking thing if you push for abstraction before need dictates it...
[17:08:40] <Elarcis> dopry: but I've been taught that controllers should really just be as minimal as possible
[17:09:32] <dopry> But true... and ultimately I agree controllers in an ideal world should simply be proxies for services and have little or no internal logic.
[17:09:34] <Elarcis> dopry: like a code-behind element, just enough to bridge the template and the service
[17:10:37] <Elarcis> dopry: I've been traumatized by a service that stored a lot of state, and making several controllers get their state from it. It just looked divine in the UI, seeing the multiple loading icons disapearing all at the same time
[17:10:44] *** cotko <cotko!~ahmed@93-103-28-46.dynamic.t-2.net> has joined #angularjs
[17:11:11] *** cacts <cacts!~cactus@c-174-51-80-218.hsd1.co.comcast.net> has joined #angularjs
[17:11:51] <Angularnewbie> @dopry Okay, I'll rewrite my code tomorrow and use services
[17:11:51] *** whitebook <whitebook!~whitebook@ool-3f8fc143.dyn.optonline.net> has joined #angularjs
[17:11:57] <Elarcis> dopry, mllie: not /that/ far from the redux way of thinking
[17:12:08] <Preuk> dopry: that's the nice clean way... but then you end up with mostly empty controllers binding services on a 1:1 basis, with no more refactoring potential than a fat controller
[17:12:26] <Elarcis> Preuk: you shouldn't be binding servies for a start :D
[17:12:39] <Preuk> not angular specific, but i've seen it too many times in other "controller-as-facade" architectures
[17:13:25] <Elarcis> does angular2 manage Component's inheritance and DI well?
[17:13:56] <Preuk> add a few entreprisey data layers behind and you end up with a unique controller->business service->dataservice->Mapper->DAO->persistence chain per view
[17:14:07] <dopry> Elarcis, it does a decent job..
[17:14:41] *** erol_ <erol_!~erol@2a01:e35:2438:3ce0:82fa:5bff:fe15:214> has quit IRC (Ping timeout: 265 seconds)
[17:15:18] *** scs <scs!~joseph@82.20.74.94> has quit IRC (Quit: leaving)
[17:15:21] <Angularnewbie> @dopry I will now :)
[17:15:37] <dopry> Angularnewbie, no worries...
[17:16:17] <Preuk> encountered this kind of crap with JEE/JSF software; i don't know if single JSP with database logic and queries in it is better or worse
[17:16:25] *** iraj_ <iraj_!~iraj@91.107.151.214> has quit IRC (Ping timeout: 248 seconds)
[17:16:26] *** eshlox <eshlox!uid44222@gateway/web/irccloud.com/x-qsssrcucwhtamcdh> has quit IRC (Quit: Connection closed for inactivity)
[17:16:32] *** iraj <iraj!~iraj@unaffiliated/iraj> has joined #angularjs
[17:17:15] <dopry> Preuk, Elarcis, yea there are times it serves to have all the layers an ideal architecture.. in practice though abstraction purely for abstraction sake and not driven by an applications need, tends to have a performance impact in both the software and development process.
[17:17:28] <Preuk> in three words: overengineering is bad
[17:17:46] <Elarcis> dopry: I feel you there
[17:17:53] <Preuk> dopry: right on point
[17:18:34] <Elarcis> 'we have a class that has a compute() function, but some of its instance must return a promise, so let's turn EVERYTHING, EVER into promises for simplicity!'
[17:19:25] <Elarcis> and that, ladies and gentlement, is how you end up with a clusterfuck of computeSumOfMasses().then(... return computeSumOfVolumes();).then(...
[17:19:50] <Elarcis> GENTLEMENT
[17:20:40] <zomg> Mentlegen
[17:20:41] <dopry> do they have to be async.. and I really love .net's async/await I can't wait until it's fully supported in js...
[17:21:39] <Elarcis> ^
[17:21:58] <Elarcis> dopry: I hear there's some progress made in that regard
[17:22:14] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has quit IRC (Remote host closed the connection)
[17:22:38] <Elarcis> dopry: I love Tasks as well, I just forget how to write them every week
[17:22:41] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has joined #angularjs
[17:22:46] *** Bodin <Bodin!~bodinaren@c83-249-23-130.bredband.comhem.se> has joined #angularjs
[17:22:49] <dopry> but yeah if they're just math ops that someone wants to make async... they just slow down your app...
[17:23:29] *** one_zero <one_zero!~one_zero@ip72-203-85-109.oc.oc.cox.net> has joined #angularjs
[17:23:36] <Elarcis> dopry: yes they do
[17:23:40] <Elarcis> dopry: drastically
[17:23:54] <dopry> Elarcis, tasks are good you need that pause/resume/cancel behavior... ahh the world of enterprisey software development...
[17:24:12] <Elarcis> dopry: but, like three of them are actually http requests, so the previous dev decided to switch every single intermediary computation to promises
[17:24:20] <Elarcis> dopry: t'is awful
[17:24:20] *** whiteboo_ <whiteboo_!~whitebook@ool-18b81102.dyn.optonline.net> has joined #angularjs
[17:25:07] <Elarcis> but we've taken the project back, going with a full OOP design that's going to ditch those promises out the window
[17:25:09] <dopry> Elarcis, it's like shoving random process.next() every where in your code... The only thing I think you make get is more consistent response time under heavy load, in exchange for a generally slower response time.
[17:25:37] <Elarcis> dopry: I don't know what process.next() is
[17:26:02] <dopry> Elarcis, js internals... it means do a think in the next runtime event loop.
[17:26:24] <Elarcis> *SBLAM*
[17:26:43] <mllie> Elarcis: yeah, really
[17:26:52] <Elarcis> like a $timeout(0), then
[17:27:08] <mllie> Elarcis: So all state in a service in not good? :D
[17:27:18] <Elarcis> mllie: it's awesome
[17:27:22] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has quit IRC (Ping timeout: 250 seconds)
[17:27:27] <Elarcis> mllie: even more if they're streams
[17:27:35] *** whitebook <whitebook!~whitebook@ool-3f8fc143.dyn.optonline.net> has quit IRC (Ping timeout: 260 seconds)
[17:27:42] <dopry> Elarcis, you will like ES6 and TypeScript then.. I have a lot of stuff like TextInputController extends InputController....
[17:28:03] *** cotko <cotko!~ahmed@93-103-28-46.dynamic.t-2.net> has quit IRC (Ping timeout: 240 seconds)
[17:28:03] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has quit IRC (Ping timeout: 240 seconds)
[17:28:08] <Elarcis> dopry: I'm already doing TS, and have been studying the features
[17:28:15] <Elarcis> dopry: too bad my tech expert is insane
[17:28:15] <dopry> Doing normal class inheritance behind your components and services is nice...
[17:28:38] *** al-damiri <al-damiri!uid142631@gateway/web/irccloud.com/x-gcznmbbijnmgqmwq> has joined #angularjs
[17:29:20] <mllie> Elarcis: Haven't used streams at all :(
[17:29:21] <Elarcis> dopry: I'm having a hard time if his solution is absolutely brilliant or complete insanity
[17:29:45] <Elarcis> *figuring
[17:29:56] <dopry> Elarcis, well if you want a second pair of eyes on it.. PM me
[17:30:11] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has joined #angularjs
[17:30:19] <Elarcis> dopry: nah, thanks
[17:30:54] *** iateadonut <iateadonut!~dan@175.193.166.38> has quit IRC (Quit: Leaving.)
[17:30:57] *** senayar <senayar!~senayar@unaffiliated/senayar> has quit IRC ()
[17:31:43]
<dopry> Elarcis, well if you change your mind that is kind of what I do for a living. http://spry-group.com
[17:32:15] * dopry blushes from shameless self promotion.
[17:32:22] <Elarcis> dopry: that's what I do as well o/
[17:32:46] <Elarcis> I'm a consultant on this project, I just took the place of the previous dev who quit his job
[17:32:52] *** fam <fam!~bob@unaffiliated/fam> has quit IRC (Remote host closed the connection)
[17:32:57] <Elarcis> there are absolutely no red flags in this
[17:33:14] <dopry> I see it sounds like an ideal job for a fireman.
[17:35:07] <mllie> Elarcis: is it streams that's included in rxjs?
[17:36:45] <Elarcis> mllie: no idea, since I never used it
[17:37:12] *** leeioa528 <leeioa528!cc3f2c92@gateway/web/freenode/ip.204.63.44.146> has quit IRC (Ping timeout: 240 seconds)
[17:37:36] <dopry> Elarcis, well if you find you need to jump ship reach out...
[17:39:11] <Elarcis> dopry: no thanks, I'm pretty happy with what I have :D
[17:39:13] <dopry> mllie, I believe so.. I've only played with rxjs on experimental projects... I'm working on an ng2/redux seed to use on our next project...
[17:39:34] <mllie> dopry: I see
[17:39:35] <Elarcis> dopry: also, I almost doubled my salary on this project, so I'm quite contempt
[17:39:58] <mllie> dopry: Nice. Do you use ngrx, ng2-redux or something similar?
[17:40:07] <mllie> dopry: Or will you include redux as is?
[17:40:11] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:24e3:119:eb67:1bca> has joined #angularjs
[17:40:18] <dopry> mllie, ngrx for now..
[17:40:35] <mllie> dopry: I see. It looks nice
[17:40:40] *** gvanderest <gvanderest!~gvanderes@S01066c709fd71834.ok.shawcable.net> has joined #angularjs
[17:40:43] <mllie> Except that you cannot use the devtools
[17:40:55] <dopry> mllie, I'll probably end up switching out that layer a few times...
[17:41:08] <dopry> just to figure out what really works...
[17:41:13] <mllie> dopry: True
[17:41:23] <mllie> dopry: Gotta go, but we have to talk more about that :D
[17:41:33] <mllie> Elarcis, dopry: thanks for talking
[17:41:37] <dopry> right now I'm just trying to get the whole build and testing chain running smoothly.
[17:41:52] <Elarcis> dopry: good luck with that :D
[17:42:07] <Elarcis> dopry: what build tools are you using?
[17:42:08] *** mllie <mllie!c3431be2@gateway/web/freenode/ip.195.67.27.226> has quit IRC (Quit: Page closed)
[17:42:34] <dopry> Elarcis, I've been using npm + webpack lately...
[17:43:41] <Elarcis> o/
[17:44:17] <dopry> Elarcis, but still have projects with grunt, gulp, npm etc running around... I've found I spend a lot less time fighting webpack and get better build results than hodgepodges of gulp/grunt plugins and npm called bins...
[17:44:24] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has quit IRC (Remote host closed the connection)
[17:44:27] <Elarcis> dopry: have fun joining webpack, TS, unit testing, code coverage, aot and other stuff
[17:44:33] *** poosanth <poosanth!prasanthv@nat/ibm/x-ymuopgqzgmzuarii> has joined #angularjs
[17:44:38] <Elarcis> dopry: agreed
[17:44:48] *** similian <similian!~ternai@p5098ef89.dip0.t-ipconnect.de> has joined #angularjs
[17:45:02] <dopry> I still tend to have a bit of gulp in there... I have a pretty solid build chain for ES6..
[17:45:18] <similian> hi - i have a project A and Library C
[17:45:45] <similian> can I have the library C require angular -
[17:45:46] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:24e3:119:eb67:1bca> has quit IRC (Ping timeout: 255 seconds)
[17:45:55] <similian> angular 2
[17:45:57] *** wontoner <wontoner!~wontoner@2601:246:0:46b6:3127:574e:7b8c:c6f2> has joined #angularjs
[17:46:01] <dopry> I'm still having a trouble convincing our team the move to TS is worth it, so I'm moving them all to ES6 + ES6 classes to smooth the transition.
[17:46:17] <similian> so that project A only requires some build stuff and only library C
[17:46:19] *** mastokley <mastokley!~mastokley@71.35.179.178> has joined #angularjs
[17:46:21] <similian> no more angular2
[17:46:23] *** whitebook <whitebook!~whitebook@ool-18b81102.dyn.optonline.net> has joined #angularjs
[17:46:28] <similian> as that would be pulled from lib c
[17:46:29] <similian> ?
[17:46:40] <similian> or would this be a bad idea?
[17:47:00] <similian> should I use some sort of requires angular 2 in lib instead
[17:47:08] <similian> so that deps fail in project a?
[17:47:10] <bd-> that sounds a bit odd
[17:47:49] <similian> okay so what would be the suggested method
[17:47:59] *** whiteboo_ <whiteboo_!~whitebook@ool-18b81102.dyn.optonline.net> has quit IRC (Ping timeout: 272 seconds)
[17:48:13] <similian> ive only seen modules as subfolders ( in the angular2 github for example) not standalone
[17:48:14] <bd-> usually you have to go balls deep with angular, either the project is angular or it isn't
[17:48:20] <bd-> it's not that viable to use it only for little bits
[17:48:26] <similian> i see
[17:48:39] <similian> so define angular version in the project
[17:48:47] <similian> and have the lib require a certain version
[17:48:52] <bd-> yeah, and in the library if the libraray requires it too
[17:48:58] <dopry> Elarcis, We have 3 prototypical hold outs... who currently argue for core ES and minimizing transpiling.. which I can't completely disagree with... but still I want some type enforcement, better static code analysis (treeshaking, bug catching, sniff tests)
[17:49:04] <similian> I see
[17:49:09] <bd-> i can't think of many cases where a library would require angular that wasn't an angular library
[17:49:26] <similian> yes I understand - there would be no reason
[17:49:43] *** Shilon <Shilon!~Shilon@a79-168-104-17.cpe.netcabo.pt> has quit IRC (Quit: Shilon)
[17:50:02] <similian> the idea was to pull the lib for all my projects
[17:50:05] *** bayousoft <bayousoft!~textual@130.70.12.3> has joined #angularjs
[17:50:08] <similian> so i dont have to add angular 2
[17:50:18] <similian> save the angular 2 import everywhere since
[17:50:25] <similian> its the same anyway
[17:51:05] *** iraj <iraj!~iraj@unaffiliated/iraj> has quit IRC (Ping timeout: 248 seconds)
[17:51:26] <Elarcis> bd-: it's viable if C is 80% of the project and A is a wrapper for it
[17:51:57] <bd-> yea but if A doesn't work without angular then i'd say it's a dependency
[17:52:01] <Elarcis> similian: like some kind of package playlist?
[17:52:09] <similian> yeah
[17:52:16] <similian> exactly
[17:52:47] *** iraj <iraj!~iraj@unaffiliated/iraj> has joined #angularjs
[17:52:58] <similian> like some kind of parent for all of my projects
[17:53:12] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has joined #angularjs
[17:53:41] *** layonhands <layonhands!~sasd3d@a79-169-80-195.cpe.netcabo.pt> has quit IRC ()
[17:54:21] *** Rodya_ <Rodya_!~Rodya_@2601:46:4001:e0b4:e170:860:1a43:6506> has quit IRC (Remote host closed the connection)
[17:54:21] <Elarcis> similian: so A would reference the C package, and C package would have its own package soup, unbeknownst to A
[17:54:58] *** Rodya_ <Rodya_!~Rodya_@2601:46:4001:e0b4:e170:860:1a43:6506> has joined #angularjs
[17:55:41] *** shinnya <shinnya!~shinnya@245.144.137.133.dy.bbexcite.jp> has quit IRC (Ping timeout: 265 seconds)
[17:55:41] *** fairuz <fairuz!~textual@unaffiliated/fairuz> has joined #angularjs
[17:55:50] <bd-> how/where does angular get loaded
[17:57:10] *** fairuz <fairuz!~textual@unaffiliated/fairuz> has quit IRC (Client Quit)
[17:58:01] *** iraj <iraj!~iraj@unaffiliated/iraj> has quit IRC (Ping timeout: 248 seconds)
[17:58:07] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has quit IRC (Ping timeout: 265 seconds)
[17:58:19] *** geoid <geoid!~geoid@95.131.217.194> has joined #angularjs
[17:58:55] <geoid> hi
[17:59:10] *** kuadrosx <kuadrosx!~kuadrosx@181.52.216.84> has joined #angularjs
[17:59:18] <geoid> in angularjs 1.x without jQuery how can I filter arrays inside a service?
[17:59:32] *** evilaliv3 <evilaliv3!~evilaliv3@212.91.95.170> has joined #angularjs
[17:59:35] <geoid> E.g. I have an array of arrays and I want to find by value inside a service
[17:59:51] <bd-> arrays have a filter method
[18:00:00] <bd-> unless you need ie8 or soemthing
[18:00:01] *** Rodya_ <Rodya_!~Rodya_@2601:46:4001:e0b4:e170:860:1a43:6506> has quit IRC (Ping timeout: 272 seconds)
[18:00:34] *** naveenvalecha <naveenvalecha!~naveenval@unaffiliated/naveenvalecha> has joined #angularjs
[18:00:37] *** erol_ <erol_!~erol@cam44-h01-89-91-144-193.dsl.sta.abo.bbox.fr> has joined #angularjs
[18:02:27] *** thevishy <thevishy!~thevishy@111.93.187.34> has quit IRC (Ping timeout: 265 seconds)
[18:02:42] *** bayousoft <bayousoft!~textual@130.70.12.3> has quit IRC ()
[18:03:03] <geoid> ?
[18:04:06] *** Preuk is now known as Preuk_away
[18:05:38] *** lavalamp <lavalamp!~lavalamp@unaffiliated/lavalamp> has joined #angularjs
[18:06:19] <bd-> erm, i meant the filter method, if filtering was what you wanted to do
[18:07:03] *** mangolisk <mangolisk!~mangolisk@S0106848dc7ebaa06.vc.shawcable.net> has quit IRC (Read error: Connection reset by peer)
[18:07:03] <Elarcis> geoid: find only returns the first valid item, filter works the same, but return all valid items
[18:07:07] <bd-> but if you want to find a specific value then maybe indexof or find is what you need
[18:07:23]
*** Angularnewbie <Angularnewbie!51d74eba@gateway/web/cgi-irc/kiwiirc.com/ip.81.215.78.186> has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
[18:08:07] <Elarcis> geoid: then, it depends if you want only the sub-arrays to be returned, it'll need two nested loops in any case
[18:08:37] <geoid> bd Elarcis if i have [ [0001 , 1.2], [0002, 3.7] ] then I want to be able to find the index of value 0001.
[18:08:44] <geoid> which would be 0
[18:09:05] <geoid> or of 0002 (for example) which would be 1
[18:09:07] *** mischat <mischat!~mischat@62.252.235.234> has quit IRC (Remote host closed the connection)
[18:09:40] <Elarcis> geoid: yourArray.findInfex((item) => item[0] === 1;)
[18:10:00] <Elarcis> *findIndex
[18:10:07] <Elarcis> geoid: 0001 is 1
[18:10:13] <Elarcis> geoid: unless you meant '0001'
[18:10:17] *** tomphp <tomphp!~tomphp@84-45-154-103.static.enta.net> has quit IRC (Ping timeout: 248 seconds)
[18:11:19] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has joined #angularjs
[18:12:34] *** bayousoft <bayousoft!~textual@130.70.12.3> has joined #angularjs
[18:12:48] <Elarcis> geoid: ofc if you're not using ES6, use yourArray.findIndex(function (item) { return item[0] === 1 }) instead
[18:13:27] *** LeBlaaanc <LeBlaaanc!~LeBlaaanc@47.188.236.163> has joined #angularjs
[18:13:33] *** gain_ <gain_!~Gianni@host207-76-dynamic.244-95-r.retail.telecomitalia.it> has quit IRC (Ping timeout: 240 seconds)
[18:13:35] <w0rp> Does anyone have a better way of making constants available in every template scope, or does everyone just write $root.SOME_CONSTANT in their templates?
[18:14:49] <bd-> if you wanted to be crazy... you could use a filter in your templates that return a constant
[18:16:00] <w0rp> It looks like the best way is to just write {{$root.SOMETHING}} and that's it.
[18:16:06] <bd-> otherwise yea, rootscope is probably the easist
[18:16:43] <geoid> thanks
[18:17:59] <geoid> w0rp I generally add a single namespace to $rootScope for app constants.
[18:18:04] *** evilaliv3 <evilaliv3!~evilaliv3@212.91.95.170> has quit IRC (Ping timeout: 250 seconds)
[18:20:46] <Elarcis> w0rp: I'd have an angular constant hosting these, and inject it in my controllers. what constant do you require in every template?
[18:21:38] *** Zodd <Zodd!256a4639@gateway/web/cgi-irc/kiwiirc.com/ip.37.106.70.57> has joined #angularjs
[18:21:50] <Zodd> hello
[18:21:56] <w0rp> There's a Client object used everywhere which contains attributes which are usually a bunch of strings for clients, like the client name, etc.
[18:22:07] <w0rp> For different client sites.
[18:22:10] *** LeBlaaanc <LeBlaaanc!~LeBlaaanc@47.188.236.163> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
[18:22:11] *** bayousoft <bayousoft!~textual@130.70.12.3> has quit IRC ()
[18:22:45] <Elarcis> w0rp: ok, so it's not really a constant, but a global object then
[18:22:51] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has quit IRC (Remote host closed the connection)
[18:22:57] <Zodd> i would assume that angular 2 lazily download components loaded using router-outlet correct?
[18:22:57] <w0rp> Either you put it in the root scope of the templates, or you inject it into basically every controller everywhere.
[18:22:58] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:24e3:119:eb67:1bca> has joined #angularjs
[18:23:09] <Zodd> i would assume that angular 2 lazily downloads components loaded using router-outlet correct?
[18:23:12] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has joined #angularjs
[18:23:32] <w0rp> Yeah, it's a frozen global object.
[18:23:41] <Elarcis> w0rp: I'd do a mix if I were you and not wanting to inject it everywhere. define it in an angular constant and inject it in the $rootScope
[18:23:45] *** avarsh <avarsh!~avarsh@2601:5c2:104:1500:24e3:119:eb67:1bca> has quit IRC (Client Quit)
[18:23:58] <w0rp> Yeah.
[18:24:00] <Elarcis> w0rp: this way you still can DI it
[18:24:01] *** sagerdearia <sagerdearia!~necrodear@unaffiliated/necrodearia> has quit IRC (Ping timeout: 255 seconds)
[18:24:01] <w0rp> That's how it's done now.
[18:24:04] <Elarcis> w0rp: nice
[18:24:14] <w0rp> We just have to access it via $root.
[18:24:15] <Elarcis> w0rp: I try to avoid $rootScope as much as possible
[18:24:35] <Elarcis> w0rp: $root or $rootScope?
[18:24:43] <w0rp> In this case, it's immutable context used by everything.
[18:24:51] <w0rp> $root in templates.
[18:25:28] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has joined #angularjs
[18:25:58] <Elarcis> w0rp: ok, I can see that $root is not exactly equal to $rootScope, but in your case you should be fine
[18:26:32] <Elarcis> w0rp: another way of seeing the thing is that if you always have the same element showing that client info in each template, you could as well make it into a component
[18:26:32] *** amcorreia_ <amcorreia_!~amcorreia@2804:7f5:280:3da0::1> has quit IRC (Quit: Leaving)
[18:26:41] <bd-> Zodd: i don't think it does
[18:26:46] *** atula <atula!~neobreed@209-6-221-20.c3-0.hdp-ubr1.sbo-hdp.ma.cable.rcn.com> has joined #angularjs
[18:26:51] <bd-> Zodd: at least not with webpack/angular-cli
[18:27:13] *** naveenvalecha <naveenvalecha!~naveenval@unaffiliated/naveenvalecha> has quit IRC ()
[18:27:22] <Elarcis> Zodd: I think you have to configure it
[18:27:31] *** fam <fam!~bob@unaffiliated/fam> has joined #angularjs
[18:28:02] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has quit IRC (Ping timeout: 250 seconds)
[18:28:18] <Zodd> alright, this means i need to learn more
[18:28:20] <Zodd> thanks
[18:28:23] *** Zodd <Zodd!256a4639@gateway/web/cgi-irc/kiwiirc.com/ip.37.106.70.57> has left #angularjs
[18:28:43] *** JSalvo1978 <JSalvo1978!4e864c42@gateway/web/freenode/ip.78.134.76.66> has joined #angularjs
[18:28:51] *** JSalvo1978 <JSalvo1978!4e864c42@gateway/web/freenode/ip.78.134.76.66> has quit IRC (Client Quit)
[18:29:25] *** franzip <franzip!~textual@93-51-152-124.ip267.fastwebnet.it> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)
[18:29:46] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has quit IRC (Ping timeout: 250 seconds)
[18:29:57] *** jabbott <jabbott!~shine@cpe-97-99-67-97.tx.res.rr.com> has joined #angularjs
[18:30:17] *** jabbott <jabbott!~shine@cpe-97-99-67-97.tx.res.rr.com> has left #angularjs
[18:30:45] *** netcrash <netcrash!~netcrash@186-241-177-175.user.veloxzone.com.br> has joined #angularjs
[18:31:33] <netcrash> Hello, I'm new to angular and I was just looking at angular2 I don't understand one thing. Angular needs to be deployed on it's own webserver?
[18:31:58] *** zonality <zonality!~zonality@193.104.131.28> has quit IRC (Quit: WeeChat 1.4)
[18:32:02] *** kuadrosx_ <kuadrosx_!~kuadrosx@181.52.216.84> has joined #angularjs
[18:32:03] <netcrash> for production will I need to setup a proxy to the angularjs server?
[18:32:06] <da_wunder> just like every webpage
[18:32:27] *** kuadrosx <kuadrosx!~kuadrosx@181.52.216.84> has quit IRC (Ping timeout: 244 seconds)
[18:33:37] <netcrash> Yes, but usually I will serve it with apache or nginx, here it looks like it has to be node
[18:33:46] *** mralex <mralex!~user@185.8.92.146> has quit IRC (Quit: Leaving)
[18:35:34] <mst> eh?
[18:35:44] <mst> netcrash: that doesn't make any sense
[18:35:44] <Elarcis> netcrash: no, node is not mandatory
[18:35:55] <mst> netcrash: the node server is for development, no?
[18:36:03] <mst> why would you deploy your development tools into production
[18:36:08] <mst> when you could just serve static files
[18:36:08] *** sagerdearia <sagerdearia!~necrodear@unaffiliated/necrodearia> has joined #angularjs
[18:36:09] <Elarcis> netcrash: your angular app is just a js script bundled into your html, any webserver can serve it
[18:36:17] <da_wunder> ^
[18:36:24] <mst> try and avoid imagining extra problems that don't exist - programming is hard enough when you only have to deal with the real ones.
[18:36:30] <Elarcis> netcrash: node just happens to also be used as a webserver, so some devs use it both as a server and a client devtool
[18:36:44] <Elarcis> mst: please, they're beginners, you're a bit rude
[18:36:50] <JuanDaugherty> yeah but everything is setup for node, presumes it
[18:36:51] <mst> what
[18:37:10] <JuanDaugherty> at least I haven't found anything clear for 2
[18:37:16] <mst> 'try and avoid imagining extra problems that don't exist' is one of the hardest parts of programming
[18:37:16] <JuanDaugherty> and I used apache fine with 1
[18:37:20] <Elarcis> JuanDaugherty: no, angular2 is back-end agnostic as well
[18:37:34] *** whitebook <whitebook!~whitebook@ool-18b81102.dyn.optonline.net> has quit IRC (Remote host closed the connection)
[18:37:42] <Elarcis> JuanDaugherty: we're just using npm as a dependency manager for our libs and devtools
[18:37:49] <mst> JuanDaugherty: the dev envs certainly presume you'll run a node server for the devtools etc.
[18:38:03] <mst> but the final minified production artefact should be standalone just like normal
[18:38:08] <da_wunder> yep
[18:38:20] <da_wunder> and same goes to ng1 too
[18:38:40] <JuanDaugherty> well I fielded a major back office app with 1 and apache
[18:39:09] <da_wunder> JuanDaugherty: so you make manually F5 after any changes?
[18:39:17] <JuanDaugherty> and there appear to some unclear hoops to do so in 2
[18:39:44] <JuanDaugherty> da_wunder, no idea what you mean, js isn
[18:39:47] <JuanDaugherty> t compiled
[18:39:48] *** enigma_raz <enigma_raz!~enigma_ra@c-73-15-186-175.hsd1.ca.comcast.net> has joined #angularjs
[18:39:58] <JuanDaugherty> changes are instant
[18:40:06] <da_wunder> JuanDaugherty: live-reload whenever you make code changes in devstage
[18:40:10] <JuanDaugherty> subject to client caching
[18:40:21] <Elarcis> JuanDaugherty: the dev server usually is a node tool, indeed
[18:40:24] *** ansimation <ansimation!~textual@208.185.232.10> has joined #angularjs
[18:40:30] <JuanDaugherty> maybe you're referring to something in 2 i don't know about yet
[18:40:32] *** Garfield-fr <Garfield-fr!~Garfield-@unaffiliated/garfield-fr> has joined #angularjs
[18:40:33] <Elarcis> JuanDaugherty: but it could be anything
[18:41:26] *** geoid <geoid!~geoid@95.131.217.194> has left #angularjs ("Be back later ...")
[18:42:00] <netcrash> Elarcis: mst Thanks So angularjs is run in dev in node but the resulting package can be deployed in any webserver. Got it.
[18:42:48] *** ghostM <ghostM!~ghostm@163.5.208.209> has joined #angularjs
[18:43:31] <Elarcis> netcrash: well node in dev isn't mandatory, it's just a huuuge commodity
[18:44:24] <Elarcis> netcrash: you usually have tools that compile the app in realtime, refresh the browser after that, then run unit tests, or even just refresh the part of the app that was changed and not the rest of it (requires a bit of config though)
[18:45:05] *** dodobrain <dodobrain!~dodobrain@unaffiliated/freakabcd> has quit IRC (Ping timeout: 240 seconds)
[18:45:19] <Elarcis> and I'm off
[18:45:21] <Elarcis> finally
[18:45:23] <Elarcis> bye
[18:45:29] <Elarcis> please all die
[18:45:30] <netcrash> bye
[18:46:19] *** Elarcis <Elarcis!~Elarcis@webdefence.cluster-d.websense.net> has quit IRC (Quit: Leaving)
[18:46:26] *** lacrymology <lacrymology!~lacrymolo@188.127.100.48> has joined #angularjs
[18:46:35] *** jimklo <jimklo!~jimklo@192.12.16.110> has joined #angularjs
[18:46:55] <JuanDaugherty> please all die?
[18:47:36] *** kuadrosx_ is now known as kuadrosx
[18:48:10] <mst> kill() 'em all and let /bin/init sort 'em out
[18:48:22] <JuanDaugherty> i c
[18:48:24] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has quit IRC (Ping timeout: 250 seconds)
[18:48:51] *** Bnaya <Bnaya!~Bnaya@unaffiliated/bnaya> has quit IRC (Quit: Bnaya)
[18:50:03] *** akkonrad <akkonrad!~akkonrad3@gae109.internetdsl.tpnet.pl> has quit IRC (Ping timeout: 272 seconds)
[18:52:28] *** beauby <beauby!~beauby@37.167.107.32> has joined #angularjs
[18:54:08] *** Junior` <Junior`!~Juni@5-13-8-118.residential.rdsnet.ro> has joined #angularjs
[18:54:22] *** Junior` <Junior`!~Juni@5-13-8-118.residential.rdsnet.ro> has left #angularjs
[18:54:33] *** Junior <Junior!~Juni@unaffiliated/junior> has joined #angularjs
[18:54:39] *** cyan__ <cyan__!~cyan@217.170.162.68> has quit IRC (Remote host closed the connection)
[18:55:13] *** cyan__ <cyan__!~cyan@217.170.162.68> has joined #angularjs
[18:56:54] *** cyan__ <cyan__!~cyan@217.170.162.68> has quit IRC (Remote host closed the connection)
[18:57:17] *** cyan__ <cyan__!~cyan@217.170.162.68> has joined #angularjs
[19:00:33] *** beauby <beauby!~beauby@37.167.107.32> has quit IRC (Ping timeout: 240 seconds)
[19:00:57] *** mastokley <mastokley!~mastokley@71.35.179.178> has quit IRC (Ping timeout: 248 seconds)
[19:01:19] *** AnarchyAo <AnarchyAo!~andrew@8.18.217.202> has joined #angularjs
[19:02:00] *** kuadrosx <kuadrosx!~kuadrosx@181.52.216.84> has quit IRC (Quit: Konversation terminated!)
[19:02:36] *** beauby <beauby!~beauby@37.167.107.32> has joined #angularjs
[19:06:00] *** malps13 <malps13!~quassel@188.116.38.80> has quit IRC (Quit: No Ping reply in 180 seconds.)
[19:06:34] *** restless_being_ <restless_being_!ext@kernel.panic.pl> has quit IRC (Quit: No Ping reply in 180 seconds.)
[19:06:52] *** CreateMo <CreateMo!~textual@47.146.55.67> has joined #angularjs
[19:07:12] *** poosanth <poosanth!prasanthv@nat/ibm/x-ymuopgqzgmzuarii> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)
[19:07:22] *** malps13 <malps13!~quassel@188.116.38.80> has joined #angularjs
[19:08:24] *** restless_being <restless_being!ext@kernel.panic.pl> has joined #angularjs
[19:08:32] *** jrdnmdhl <jrdnmdhl!3f50e142@gateway/web/freenode/ip.63.80.225.66> has joined #angularjs
[19:08:42] *** Dave321 <Dave321!0c611902@gateway/web/freenode/ip.12.97.25.2> has joined #angularjs
[19:09:22] <Dave321> I noticed the join message pins 1.5.8 as the latest release. Is there a better room for Angular 2 questions?
[19:09:25] *** kuadrosx <kuadrosx!~kuadrosx@181.52.216.84> has joined #angularjs
[19:09:27] <jrdnmdhl> Hi all, I'm trying to find the right syntax for writing a custom validator for Angular 2 final that I can plug into Validators.compose. Trying to write one that will validate an email address...
[19:09:57] *** Cho <Cho!24e2a423@gateway/web/freenode/ip.36.226.164.35> has joined #angularjs
[19:11:14] *** Cho <Cho!24e2a423@gateway/web/freenode/ip.36.226.164.35> has quit IRC (Client Quit)
[19:11:41] *** enigma_raz <enigma_raz!~enigma_ra@c-73-15-186-175.hsd1.ca.comcast.net> has quit IRC (Remote host closed the connection)
[19:12:18] *** similian <similian!~ternai@p5098ef89.dip0.t-ipconnect.de> has quit IRC (Quit: Leaving.)
[19:12:42] *** netameta <netameta!~netameta@24-158-128-88.dhcp.kgpt.tn.charter.com> has quit IRC (Quit: Leaving)
[19:12:55] *** pwnd_nsfw <pwnd_nsfw!~pwnd_@cpe-2606-A000-FB05-3A00-0-0-0-1.dyn6.twc.com> has joined #angularjs
[19:13:47] *** sergey <sergey!~sergey@46.98.75.164> has joined #angularjs
[19:14:04] *** leehambley <leehambley!~textual@p57A845E4.dip0.t-ipconnect.de> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[19:14:08] *** whitebook <whitebook!~whitebook@ool-457bde1b.dyn.optonline.net> has joined #angularjs
[19:14:44] *** Neel <Neel!01273fb6@gateway/web/freenode/ip.1.39.63.182> has joined #angularjs
[19:14:59] <Neel> Hi
[19:15:05] <Neel> there
[19:15:11] <Neel> is there someone?
[19:15:33] <Neel> i have few doubts to ask with expet?
[19:15:47] <jrdnmdhl> I am someone, but a novice
[19:16:03] <Neel> Thank you
[19:16:06] <Neel> Your name
[19:16:11] <Neel> please
[19:16:13] *** pwnd_nsfw` <pwnd_nsfw`!~pwnd_@cpe-2606-A000-FB05-3A00-0-0-0-1.dyn6.twc.com> has quit IRC (Ping timeout: 255 seconds)
[19:16:26] <jrdnmdhl> <- that works
[19:16:52] <Neel> i would like to build like social website in agularjs
[19:17:21] <jrdnmdhl> OK
[19:17:39] <Neel> it is should be support to payment gateway,Shipping process,Order managemnt
[19:17:44] <Neel> it is like a fb
[19:17:55] *** stefanotorresi <stefanotorresi!~etienne`@84.222.150.11> has quit IRC (Ping timeout: 244 seconds)
[19:18:13] <Neel> can i build like this prodcut in angularj
[19:18:29] *** cyan__ <cyan__!~cyan@217.170.162.68> has quit IRC (Remote host closed the connection)
[19:18:40] <Neel> for an example
[19:19:11] <Neel> user can go to create their accounts and domain setup,payment details,shipping intergartion etc
[19:19:20] <Neel> from our product
[19:19:34] <Neel> is it possible to create?
[19:19:43] *** jimklo_ <jimklo_!~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com> has joined #angularjs
[19:19:48] <jrdnmdhl> Yes, all of those things can be implemented in angular.
[19:19:59] <jrdnmdhl> Or in pretty much any framework
[19:20:30] *** Harsha <Harsha!7bc9348a@gateway/web/freenode/ip.123.201.52.138> has joined #angularjs
[19:20:39] <Harsha> Hello guyz
[19:20:40] <Neel> i dont know which is one best
[19:20:47] <Neel> if you know anything
[19:20:54] <Neel> please let me know
[19:20:55] <Harsha> abt ?
[19:21:04] <Neel> if any other framework
[19:21:16] <jrdnmdhl> There is no best. That's a complicated question about very specific needs of the app and the preferences/skills of those who would program it.
[19:21:38] <Neel> okay
[19:21:44] <Harsha> now a days even vuejs also becoming popular
[19:21:53] *** whiteboo_ <whiteboo_!~whitebook@ool-3f8fc14e.dyn.optonline.net> has joined #angularjs
[19:22:00] <Neel> so i can create a website like social network
[19:22:07] <Neel> hi harsha
[19:22:12] <Harsha> Hello Neel
[19:22:24] *** wonder95 <wonder95!~wonder95@50-39-193-168.bvtn.or.frontiernet.net> has joined #angularjs
[19:22:27] <Neel> where you from
[19:22:35] <Harsha> Banglore
[19:22:46] <jrdnmdhl> Yes, you can do social network sites with e-commerce in angular.
[19:22:46] <Neel> sorry,are you developer ?
[19:22:49] <Harsha> where are u from >
[19:23:05] *** jimklo <jimklo!~jimklo@192.12.16.110> has quit IRC (Ping timeout: 260 seconds)
[19:23:05] <Harsha> Yes I am
[19:23:12] <Neel> chennai
[19:23:44] *** whitebook <whitebook!~whitebook@ool-457bde1b.dyn.optonline.net> has quit IRC (Ping timeout: 265 seconds)
[19:24:05] <Neel> okay so users can be able to set up their own ecommerce module with our product
[19:24:23] <Harsha> wat do u have ?
[19:24:24] *** star_prone <star_prone!~sviatovig@188.25.21.209> has joined #angularjs
[19:24:26] <Harsha> product
[19:24:40] <Neel> lets have idea to start to develop it
[19:24:41] *** beauby <beauby!~beauby@37.167.107.32> has quit IRC (Remote host closed the connection)
[19:24:57] *** beauby <beauby!~beauby@37.167.107.32> has joined #angularjs
[19:24:59] <Harsha> r u dev ?
[19:25:00] *** ghostM <ghostM!~ghostm@163.5.208.209> has quit IRC (Remote host closed the connection)
[19:25:00] <Neel> jrdnmklo?
[19:25:09] *** ghostM <ghostM!~ghostm@163.5.208.209> has joined #angularjs
[19:25:09] <Neel> yes
[19:25:21] <Neel> new to angularjs
[19:25:26] <Harsha> njoy bye Amma
[19:25:31] *** bengillies <bengillies!~bengillie@bengillies.net> has quit IRC (Remote host closed the connection)
[19:25:38] *** Harsha <Harsha!7bc9348a@gateway/web/freenode/ip.123.201.52.138> has quit IRC (Quit: Page closed)
[19:25:49] *** bengillies <bengillies!~bengillie@146.185.172.247> has joined #angularjs
[19:25:50] <Neel> so having a so much ideas
[19:25:56] <Neel> i want to ask with you
[19:26:00] *** bengillies <bengillies!~bengillie@146.185.172.247> has quit IRC (Remote host closed the connection)
[19:26:13] *** xinming_ <xinming_!~hyy@115.221.46.69> has joined #angularjs
[19:26:47] *** [1]David <[1]David!~David@80.168.21.194> has quit IRC (Ping timeout: 252 seconds)
[19:26:53] <Neel> are u there Harsha,Jrdnmdh
[19:27:04] <Neel> ?
[19:27:13] *** whiteboo_ <whiteboo_!~whitebook@ool-3f8fc14e.dyn.optonline.net> has quit IRC (Ping timeout: 244 seconds)
[19:28:34] <Neel> is there anyone?
[19:28:52] *** whitebook <whitebook!~whitebook@ool-3f8fc14e.dyn.optonline.net> has joined #angularjs
[19:29:15] *** star_prone <star_prone!~sviatovig@188.25.21.209> has quit IRC (Ping timeout: 276 seconds)
[19:29:42] *** jrdnmdhl <jrdnmdhl!3f50e142@gateway/web/freenode/ip.63.80.225.66> has quit IRC (Ping timeout: 240 seconds)
[19:29:57] *** xinming <xinming!~hyy@115.221.42.12> has quit IRC (Ping timeout: 272 seconds)
[19:30:36] *** jimklo_ <jimklo_!~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com> has quit IRC (Remote host closed the connection)
[19:31:09] *** jimklo <jimklo!~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com> has joined #angularjs
[19:31:26] *** avi_ <avi_!af650a7a@gateway/web/freenode/ip.175.101.10.122> has joined #angularjs
[19:31:28] *** zerd <zerd!~quassel@bat.slash.no> has quit IRC (Quit: No Ping reply in 180 seconds.)
[19:32:00] *** zerd <zerd!~quassel@bat.slash.no> has joined #angularjs
[19:32:37] *** Neel <Neel!01273fb6@gateway/web/freenode/ip.1.39.63.182> has quit IRC (Quit: Page closed)
[19:33:22] *** jlebrech <jlebrech!~jlebrech@109.109.143.238> has quit IRC ()
[19:33:54] *** mastokley <mastokley!~mastokley@71.35.179.178> has joined #angularjs
[19:34:37] <SaltyCatFish> just go angular
[19:35:05] *** Dave321 <Dave321!0c611902@gateway/web/freenode/ip.12.97.25.2> has quit IRC (Quit: Page closed)
[19:35:05] <Migs> #justgoangular
[19:35:09] <SaltyCatFish> lol
[19:35:42] *** avi_ <avi_!af650a7a@gateway/web/freenode/ip.175.101.10.122> has quit IRC (Ping timeout: 240 seconds)
[19:35:45] *** whiteboo_ <whiteboo_!~whitebook@ool-3f8fc14e.dyn.optonline.net> has joined #angularjs
[19:35:45] *** jimklo <jimklo!~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com> has quit IRC (Ping timeout: 265 seconds)
[19:36:12] *** whitebook <whitebook!~whitebook@ool-3f8fc14e.dyn.optonline.net> has quit IRC (Read error: Connection reset by peer)
[19:37:06] *** whiteboo_ <whiteboo_!~whitebook@ool-3f8fc14e.dyn.optonline.net> has quit IRC (Remote host closed the connection)
[19:37:42] *** zerd <zerd!~quassel@bat.slash.no> has quit IRC (Ping timeout: 276 seconds)
[19:39:07] *** ghostM <ghostM!~ghostm@163.5.208.209> has quit IRC (Remote host closed the connection)
[19:41:25] *** zerd <zerd!~quassel@bat.slash.no> has joined #angularjs
[19:41:52] *** bakirelived <bakirelived!~msilva@mailpri.hubel.pt> has quit IRC (Ping timeout: 255 seconds)
[19:42:12] *** Lomex <Lomex!~lomex@213.61.34.42> has quit IRC (Remote host closed the connection)
[19:43:01] *** enigma_raz <enigma_raz!~enigma_ra@amazon.gigabitethernet4-0-6.asr1.snv2.gblx.net> has joined #angularjs
[19:43:15] *** raijin <raijin!~raijin@unaffiliated/raijin> has quit IRC (Ping timeout: 272 seconds)
[19:43:40] *** Lomex <Lomex!~lomex@213.61.34.42> has joined #angularjs
[19:45:04] *** Junior <Junior!~Juni@unaffiliated/junior> has quit IRC (Read error: Connection reset by peer)
[19:47:22] *** enigma_raz <enigma_raz!~enigma_ra@amazon.gigabitethernet4-0-6.asr1.snv2.gblx.net> has quit IRC (Ping timeout: 244 seconds)
[19:48:36] *** jimklo <jimklo!~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com> has joined #angularjs
[19:48:45] *** Germanaz0 <Germanaz0!~Germanaz0@unaffiliated/germanaz0> has quit IRC (Quit: Me fui a dormir)
[19:48:57] *** Lomex <Lomex!~lomex@213.61.34.42> has quit IRC (Ping timeout: 272 seconds)
[19:49:21] *** Germanaz0 <Germanaz0!~Germanaz0@unaffiliated/germanaz0> has joined #angularjs
[19:52:50] *** whitebook <whitebook!~whitebook@ool-3f8fc350.dyn.optonline.net> has joined #angularjs
[19:53:56] *** nicksloan <nicksloan!~nicksloan@unaffiliated/iamethos> has joined #angularjs
[19:54:55] *** h2baik_ <h2baik_!~h2baik@90.63.244.57> has quit IRC (Ping timeout: 255 seconds)
[19:55:34] *** ghostM <ghostM!~ghostm@163.5.208.209> has joined #angularjs
[19:56:24] *** jimklo <jimklo!~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com> has quit IRC (Remote host closed the connection)
[19:57:10] *** moloch <moloch!~moloch@cpe-98-150-237-205.hawaii.res.rr.com> has joined #angularjs
[20:00:06] *** vrockai <vrockai!~vrockai@ip-89-102-10-111.net.upcbroadband.cz> has quit IRC (Remote host closed the connection)
[20:03:42] *** Germanaz0 <Germanaz0!~Germanaz0@unaffiliated/germanaz0> has quit IRC (Quit: Me fui a dormir)
[20:04:06] *** krusty_ar <krusty_ar!~quassel@190.192.59.178> has quit IRC (Ping timeout: 264 seconds)
[20:04:26] *** Germanaz0 <Germanaz0!~Germanaz0@unaffiliated/germanaz0> has joined #angularjs
[20:04:57] <da_wunder> :D
[20:05:24] *** kuadrosx_ <kuadrosx_!~kuadrosx@181.52.216.84> has joined #angularjs
[20:05:27] *** kuadrosx <kuadrosx!~kuadrosx@181.52.216.84> has quit IRC (Ping timeout: 244 seconds)
[20:05:27] *** sssilver <sssilver!~sssilver@38.122.48.218> has joined #angularjs
[20:06:01] *** jimklo <jimklo!~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com> has joined #angularjs
[20:06:21] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has joined #angularjs
[20:07:40] *** h2baik_ <h2baik_!~h2baik@90.63.244.57> has joined #angularjs
[20:10:16] *** jimklo <jimklo!~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com> has quit IRC (Remote host closed the connection)
[20:10:48] *** jimklo <jimklo!~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com> has joined #angularjs
[20:15:10] *** jimklo <jimklo!~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com> has quit IRC (Ping timeout: 255 seconds)
[20:15:54] *** falk0n <falk0n!~falk0n@a109-49-57-182.cpe.netcabo.pt> has quit IRC (Quit: leaving)
[20:16:05] *** beauby <beauby!~beauby@37.167.107.32> has quit IRC (Remote host closed the connection)
[20:16:21] *** beauby <beauby!~beauby@37.167.107.32> has joined #angularjs
[20:17:37] *** jimklo <jimklo!~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com> has joined #angularjs
[20:18:13] *** kuadrosx_ is now known as kuadrosx
[20:18:25] *** leehambley <leehambley!~textual@p4FC4FAD0.dip0.t-ipconnect.de> has joined #angularjs
[20:18:44] *** fedenunez1 <fedenunez1!~fede@r167-61-127-162.dialup.adsl.anteldata.net.uy> has joined #angularjs
[20:19:53] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has quit IRC (Remote host closed the connection)
[20:20:02] *** sbellina <sbellina!~sbellina@c-75-65-176-38.hsd1.ms.comcast.net> has joined #angularjs
[20:20:20] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has joined #angularjs
[20:21:40] *** fedenunez <fedenunez!~fede@r167-61-5-254.dialup.adsl.anteldata.net.uy> has quit IRC (Ping timeout: 265 seconds)
[20:23:58] *** wrkrcoop <wrkrcoop!~martee@adsk-nat-ip10.autodesk.com> has joined #angularjs
[20:24:09] <wrkrcoop> i think i heard that is a bad idea to use $scope
[20:24:11] <wrkrcoop> is taht true?
[20:24:26] *** jimklo <jimklo!~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com> has quit IRC (Remote host closed the connection)
[20:24:46] *** raijin <raijin!~raijin@unaffiliated/raijin> has joined #angularjs
[20:24:59] *** jimklo <jimklo!~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com> has joined #angularjs
[20:25:04] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has quit IRC (Ping timeout: 255 seconds)
[20:25:32] <wrkrcoop> and when i use a directive, do i need to specify the controller in my html?
[20:25:46] *** beauby <beauby!~beauby@37.167.107.32> has quit IRC (Read error: Connection reset by peer)
[20:26:25] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has joined #angularjs
[20:26:37] *** bengillies <bengillies!~bengillie@146.185.172.247> has joined #angularjs
[20:26:39] *** jimklo <jimklo!~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com> has quit IRC (Read error: Connection reset by peer)
[20:26:59] *** mastokley <mastokley!~mastokley@71.35.179.178> has quit IRC (Ping timeout: 265 seconds)
[20:27:09] *** jimklo <jimklo!~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com> has joined #angularjs
[20:29:48] *** jimklo <jimklo!~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com> has quit IRC (Remote host closed the connection)
[20:29:48] *** ansu <ansu!~ansu@unaffiliated/ansu> has quit IRC (Ping timeout: 250 seconds)
[20:31:01] *** atula <atula!~neobreed@209-6-221-20.c3-0.hdp-ubr1.sbo-hdp.ma.cable.rcn.com> has quit IRC (Quit: This computer has gone to sleep)
[20:31:48] *** ansu <ansu!~ansu@unaffiliated/ansu> has joined #angularjs
[20:32:02] *** theskillwithin <theskillwithin!~theskillw@unaffiliated/theskillwithin> has joined #angularjs
[20:32:39] *** theskillwithin <theskillwithin!~theskillw@unaffiliated/theskillwithin> has quit IRC (Client Quit)
[20:33:26] *** ghostM <ghostM!~ghostm@163.5.208.209> has quit IRC (Remote host closed the connection)
[20:34:15] *** bengillies <bengillies!~bengillie@146.185.172.247> has quit IRC (Ping timeout: 276 seconds)
[20:35:09] *** ghostM <ghostM!~ghostm@163.5.208.209> has joined #angularjs
[20:36:58] *** mrwat <mrwat!~textual@c-76-102-210-56.hsd1.ca.comcast.net> has joined #angularjs
[20:37:32] *** yottabyte <yottabyte!48008896@gateway/web/freenode/ip.72.0.136.150> has joined #angularjs
[20:37:35] <yottabyte> how hard is angular to learn
[20:37:38] <yottabyte> out of 10
[20:37:43] <dopry> wrkrcoop, depends on the version of angular you're using..
[20:37:50] <wrkrcoop> let me check
[20:37:56] <dopry> yottabyte, depends on what you already know.
[20:38:00] <grizzm0> o.O
[20:38:15] *** jimklo <jimklo!~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com> has joined #angularjs
[20:38:16] <wrkrcoop> im using 1.5.8
[20:38:21] *** sagerdearia <sagerdearia!~necrodear@unaffiliated/necrodearia> has quit IRC (Ping timeout: 272 seconds)
[20:38:40] <yottabyte> i know some js
[20:38:41] <dopry> has some good guidance you can follow.
[20:38:48] <wrkrcoop> cool ill read that
[20:38:49] <wrkrcoop> thanks
[20:38:52] <yottabyte> I know some html/css
[20:39:07] <grizzm0> Do you know any backend language?
[20:40:10] <dopry> yottabyte, then you'll need to learn javascript... if you don't have much previous programming experience (c, java, php, js, perl, python, shell, c#), it'll probably be hard.
[20:40:41] *** pwnd_nsfw <pwnd_nsfw!~pwnd_@cpe-2606-A000-FB05-3A00-0-0-0-1.dyn6.twc.com> has quit IRC (Ping timeout: 248 seconds)
[20:41:06] <dopry> yottabyte, You can of course get stuff done... but it'll be a long road to proficiency.
[20:42:15] <da_wunder> yottabyte: what are you trying to do ?
[20:42:35] *** theskillwithin <theskillwithin!~theskillw@unaffiliated/theskillwithin> has joined #angularjs
[20:42:35] <dopry> yottabyte, angular may be easier than other front end frameworks since you can actually get a lot done through the declarative templates.
[20:42:38] *** leehambley <leehambley!~textual@p4FC4FAD0.dip0.t-ipconnect.de> has quit IRC (Read error: Connection reset by peer)
[20:42:42] <da_wunder> just to get some idea how complex your application(s) might be
[20:43:02] <grizzm0> If you know any kind of OOP then angular2 and typescript shouldn't be *to* hard.
[20:43:24] <dopry> yottabyte, and that will at least syntactically similar to html and css.
[20:43:51] <da_wunder> or if you like to use ng1 and es2015 i have "seed" application for that
[20:44:12] <da_wunder> although it relies that your back- and frontends are totally separated
[20:44:21] <dopry> da_wunder, which seed?
[20:44:45] <da_wunder> dopry: i called it "seed" because i have done it :D
[20:44:53] *** pwnd_nsfw <pwnd_nsfw!~pwnd_@cpe-2606-A000-FB05-3A00-0-0-0-1.dyn6.twc.com> has joined #angularjs
[20:46:25] <wrkrcoop> why do you think ppl like react more than anuglar?
[20:46:27] <grizzm0> Aww
[20:46:32] <grizzm0> Zend framework \o/
[20:46:32] <da_wunder> and you could use admin / admin credentials to login to that
[20:46:43] <wrkrcoop> ive been doing angular for a little bit and i think its pretty good
[20:47:09] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has joined #angularjs
[20:47:44] <dopry> wrkrcoop, react takes a more programmer oriented approach. it had some performance advantages over ng1.
[20:48:17] <dopry> wrkrcoop, redux is really cool way of managing state which I really like from the react ecosystem..
[20:48:25] *** sbellina <sbellina!~sbellina@c-75-65-176-38.hsd1.ms.comcast.net> has quit IRC (Read error: Connection reset by peer)
[20:48:32] *** star_prone <star_prone!~sviatovig@188.25.21.209> has joined #angularjs
[20:48:39] <da_wunder> wrkrcoop: ng1 was founded 2010 and react.js in 2013 so there is much of stuff that has happen between that time
[20:48:39] <grizzm0> dopry, What about ng2? ;)
[20:48:57] *** [1]David <[1]David!~David@cpc65147-nmal17-2-0-cust206.19-2.cable.virginm.net> has joined #angularjs
[20:48:59] <da_wunder> so you really can't compare those
[20:49:18] *** sagerdearia <sagerdearia!~necrodear@unaffiliated/necrodearia> has joined #angularjs
[20:49:25] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has quit IRC (Remote host closed the connection)
[20:49:32] <dopry> grizzm0, wrkrcoop, I really think the decision comes down to how you like to do development.. they've reached a sort of feature parity...
[20:49:49] <wrkrcoop> im using anuglar 1 … is react way better?
[20:49:58] *** sbellina <sbellina!~sbellina@c-75-65-176-38.hsd1.ms.comcast.net> has joined #angularjs
[20:50:00] *** Aliks <Aliks!~aliks@119.sub-70-213-0.myvzw.com> has joined #angularjs
[20:50:03] <wrkrcoop> i mean im just making a regular site … not a game or anything … i should be fine rihgt?
[20:50:14] <wrkrcoop> hm interesting
[20:50:19] <wrkrcoop> idk angualr is cool for now
[20:50:23] <dopry> angular offers more in it's core... the framework/library argument...
[20:50:26] <Migs> I like angular 1
[20:50:37] <Migs> I think I'm going to stick with it for awhile instead of switching to angular 2
[20:50:46] <dopry> but when you look at react and angular and they're ecosystems.. they're both good tools...
[20:50:49] *** jimklo <jimklo!~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com> has quit IRC (Remote host closed the connection)
[20:50:59] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has joined #angularjs
[20:51:23] <dopry> moving up to ng 1.5 you start getting some ng2 goodness.
[20:51:33] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has quit IRC (Ping timeout: 240 seconds)
[20:51:36] *** sergey <sergey!~sergey@46.98.75.164> has quit IRC ()
[20:51:38] <grizzm0> Or just move to angular2 and feel the awesomeness. :)
[20:51:41] <dopry> also ng 1.5 has a bunch of features that you can implement that will help you bridge to NG2.
[20:51:48] *** thomaspaulb <thomaspaulb!~Tom@217.21.193.235> has quit IRC (Remote host closed the connection)
[20:51:51] <dopry> like .component
[20:51:58] <da_wunder> sure
[20:52:04] <wrkrcoop> i dont want to move to ng2 for my personal project because work uses ng1
[20:52:11] <dopry> if you're just learning go straight to ng2...
[20:52:12] <Migs> nah, instead of ng2 I'd sooner move to React or Vue
[20:52:12] <da_wunder> but i think that i will never migrate ng1 app to ng2
[20:52:24] <da_wunder> who is going to pay that work ?
[20:52:33] <grizzm0> Tell me about it
[20:52:41] <grizzm0> We're running a legacy backend project from 2004
[20:52:42] <grizzm0> ;)
[20:52:48] <dopry> we just do it with our apps as a matter of course..
[20:52:57] <da_wunder> grizzm0: and that is still fresh...
[20:53:23] <da_wunder> i work with app that has more than 20 years behind it...
[20:53:23] <dopry> with our legacy apps we update to 1.5 and start updating to ES6 and classes as we do maintenance and feature additions.
[20:53:39] *** sergey <sergey!~sergey@46.98.75.164> has joined #angularjs
[20:55:00] *** kuadrosx <kuadrosx!~kuadrosx@181.52.216.84> has quit IRC (Ping timeout: 265 seconds)
[20:55:05] <yottabyte> i know a little bit of java and c# dopry
[20:55:13] <yottabyte> da_wunder: this web application I'm working on is using it
[20:55:15] <dopry> although not everyone works like that or see's the value in that..
[20:55:19] <yottabyte> and some lisps
[20:55:24] *** kuadrosx <kuadrosx!~kuadrosx@181.52.216.84> has joined #angularjs
[20:55:41] <da_wunder> yottabyte: "webapplication" no shit sherlock :D
[20:55:42] <dopry> yottabyte, then I'd say it isn't too big of a leap...
[20:56:11] <dopry> but it would help a lot more if you were already well versed in javascript.
[20:56:18] <da_wunder> yep
[20:56:34] <dopry> particularly the vagaries of asychronous code in js...
[20:56:46] <da_wunder> and if you're planning to use ng2 i would first check that all 3rd party libraries are found for it
[20:57:02] <dopry> it's the thing that stumps most jr devs in my experience.. scoping, callbacks, and promises with async
[20:57:23] <da_wunder> yep
[20:57:59] *** dagda1_ <dagda1_!~dagda1@bcde521d.skybroadband.com> has joined #angularjs
[20:58:58] <grizzm0> Yeah
[20:59:19] <grizzm0> As a backend (PHP) developer I'd say async stuff is the hardest part to get a grip of.
[20:59:29] <da_wunder> yep
[20:59:30] <grizzm0> observables and stuff
[20:59:34] <yottabyte> I've made ajax calls and used promises before
[20:59:35] *** sergey <sergey!~sergey@46.98.75.164> has quit IRC ()
[20:59:38] <yottabyte> or are you talking about $http
[20:59:50] <[1]David> Evening all
[20:59:52] <dopry> yottabyte, then it sounds like you'll be fine...
[20:59:56] <da_wunder> when i started that i used async.js with old-fashion callbacks which made sense for me then
[21:00:25] *** sagerdearia <sagerdearia!~necrodear@unaffiliated/necrodearia> has quit IRC (Ping timeout: 248 seconds)
[21:00:45] <dopry> yottabyte, it took me about 2 months to really get proficient with angular.
[21:01:18] *** eago <eago!~eago@CPEbc4dfbf3d093-CMbc4dfbf3d090.cpe.net.cable.rogers.com> has quit IRC (Remote host closed the connection)
[21:01:41] <dopry> makes that stuff a bit easier now days.
[21:02:37] <grizzm0> I'm a backend developer at heart tho I'm a bit of a CSS wiz aswell. And everyonw knows HTML, right?
[21:02:46] <grizzm0> Been doing some jQuery but no native JS stuff in the past.
[21:02:59] <yottabyte> i just want to be a lisper
[21:03:02] <grizzm0> Learnt angular2 with typescript pretty fast due to OOP etc.
[21:03:02] <yottabyte> but angular is paying the bills
[21:03:14] <yottabyte> when are the angular2 js docs coming out
[21:03:32] <mst> I've found that lodash makes the lispy part of my brain a lot happier
[21:03:42] <grizzm0> Oh yeah, some minor ng1 stuff aswell. But nothing I even remembered when starting to learn angular2 a few months ago
[21:03:48] <grizzm0> lodash <3
[21:04:16] <grizzm0> Had a really hard time getting it to work with TS tho. :p
[21:04:37] <grizzm0> And the typings I'm using now are missing some arguments. :/
[21:04:46] <grizzm0> Like 3rd argument for _.find()
[21:05:05] <dopry> never got the fascination with lisp, when I was learning pascal I just thought of it as one of those old languages like cobol... ;)
[21:05:20] <grizzm0> Hah, cobol...
[21:06:16] <grizzm0> My previous work (which is swedens largest grocery-chain) uses cobol for their entire warehouse system.
[21:06:26] <grizzm0> Still today...
[21:06:44] *** soee <soee!~soee@user-46-112-93-152.play-internet.pl> has quit IRC (Quit: Konversation terminated!)
[21:06:52] <grizzm0> Brings a whole new meaning to "if it works..."
[21:06:53] <grizzm0> ;D
[21:06:55] <dopry> grizzm0, it does do it's job...
[21:07:08] <grizzm0> Yeah, my point. ;)
[21:07:10] *** AndrewIsh <AndrewIsh!~andrew@mrboom.plus.com> has quit IRC (Ping timeout: 265 seconds)
[21:08:03] *** soee <soee!~soee@user-46-112-93-152.play-internet.pl> has joined #angularjs
[21:12:02] *** sagerdearia <sagerdearia!~necrodear@unaffiliated/necrodearia> has joined #angularjs
[21:12:16] *** ghostM <ghostM!~ghostm@163.5.208.209> has quit IRC (Remote host closed the connection)
[21:12:49] <[1]David> anyone used ngMaterial?
[21:13:03] *** krusty_ar <krusty_ar!~quassel@181.199.144.78> has joined #angularjs
[21:13:18] <dopry> [1]David, da_wunder has a seed for that... maybe he knows.
[21:13:39] <[1]David> dopry: sorry to be a complete idiot, but what is a seed?
[21:15:17] <[1]David> so like a basic project to build on?
[21:16:03] *** orionstein <orionstein!~orionstei@ec2-52-90-30-33.compute-1.amazonaws.com> has quit IRC (Remote host closed the connection)
[21:17:49] <grizzm0> [1]David, seed/skeleton
[21:18:00] <grizzm0> Something to start upon. So yeah.
[21:18:08] <[1]David> cool thanks
[21:20:50] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has joined #angularjs
[21:20:54] <[1]David> ok next dumb question, how do i know if i am able to use ES6 or not? as far as i know i am using javascript and angularjs
[21:21:44] <da_wunder> [1]David: first question are you using any build tools?
[21:21:59] *** sergey <sergey!~sergey@46.98.75.164> has joined #angularjs
[21:22:42] *** dagda1_ <dagda1_!~dagda1@bcde521d.skybroadband.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[21:22:51] <[1]David> da_wunder: i am using webstorm IDE and i dont think i have installed any build tools
[21:23:36] <[1]David> da_wunder: I am a mathematician/financier who was fascinated by webdevelopment so am trying to learn
[21:23:58] <[1]David> I can code java/C# and a few others
[21:24:05] <da_wunder> [1]David: and for that i would read john papa's guide
[21:24:05] <[1]David> but this is a whole different world
[21:24:21] <da_wunder> and see some projects that are public
[21:24:43] *** orionstein <orionstein!~orionstei@ec2-54-84-28-44.compute-1.amazonaws.com> has joined #angularjs
[21:24:59] <da_wunder> yep
[21:25:29] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has quit IRC (Ping timeout: 248 seconds)
[21:25:43] <[1]David> ok will do thanks
[21:25:43] *** sergey <sergey!~sergey@46.98.75.164> has quit IRC (Client Quit)
[21:26:25] *** Elisha <Elisha!~elisha@tm.213.143.68.74.nm.telemach.net> has joined #angularjs
[21:26:40] *** el_Bromso <el_Bromso!~textual@213-209-01.netrun.cytanet.com.cy> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[21:27:04] <da_wunder> :D
[21:27:31] *** erol_ <erol_!~erol@cam44-h01-89-91-144-193.dsl.sta.abo.bbox.fr> has quit IRC (Remote host closed the connection)
[21:28:12] *** davi-lima <davi-lima!~Davi@191.33.69.18> has quit IRC (Ping timeout: 276 seconds)
[21:28:19] <[1]David> really thank you all for your help. I appreciate it!#
[21:28:55] *** erol_ <erol_!~erol@cam44-h01-89-91-144-193.dsl.sta.abo.bbox.fr> has joined #angularjs
[21:29:35] *** Aliks <Aliks!~aliks@119.sub-70-213-0.myvzw.com> has quit IRC (Remote host closed the connection)
[21:30:48] *** ok91 <ok91!~user@unaffiliated/ok91> has joined #angularjs
[21:30:53] <ok91> Hello everyone!
[21:31:07] *** beauby <beauby!~beauby@37.164.240.230> has joined #angularjs
[21:31:25] *** dagda1_ <dagda1_!~dagda1@bcde521d.skybroadband.com> has joined #angularjs
[21:32:06] *** akkonrad <akkonrad!~akkonrad3@gae109.internetdsl.tpnet.pl> has joined #angularjs
[21:32:39] <dopry> ok91, hallo!
[21:32:53] *** pwnd_nsfw` <pwnd_nsfw`!~pwnd_@cpe-2606-A000-FB05-3A00-0-0-0-1.dyn6.twc.com> has joined #angularjs
[21:33:23] <ok91> dopry: servus :)
[21:33:25] *** el_Bromso <el_Bromso!~textual@213-209-01.netrun.cytanet.com.cy> has joined #angularjs
[21:33:36] <ok91> Anyone using Semantic UI with Angular 2?
[21:34:09] <da_wunder> [1]David: np
[21:34:23] *** mrwat <mrwat!~textual@c-76-102-210-56.hsd1.ca.comcast.net> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)
[21:34:51] *** whiteboo_ <whiteboo_!~whitebook@ool-3f8fc350.dyn.optonline.net> has joined #angularjs
[21:34:58] *** el_Bromso <el_Bromso!~textual@213-209-01.netrun.cytanet.com.cy> has quit IRC (Client Quit)
[21:35:40] *** pwnd_nsfw <pwnd_nsfw!~pwnd_@cpe-2606-A000-FB05-3A00-0-0-0-1.dyn6.twc.com> has quit IRC (Ping timeout: 250 seconds)
[21:35:56] <dopry> ok91, no, but it looks neat....
[21:36:18] *** kuadrosx_ <kuadrosx_!~kuadrosx@181.52.216.84> has joined #angularjs
[21:36:52] <ok91> dopry: it does, indeed. Was just having problems trying to get it to work with an ng2 application...
[21:37:04] *** whitebook <whitebook!~whitebook@ool-3f8fc350.dyn.optonline.net> has quit IRC (Ping timeout: 255 seconds)
[21:37:15] *** kuadrosx <kuadrosx!~kuadrosx@181.52.216.84> has quit IRC (Ping timeout: 272 seconds)
[21:39:24] *** Aliks <Aliks!~aliks@119.sub-70-213-0.myvzw.com> has joined #angularjs
[21:40:22] <monk12> didnt see anyone answer earlier question... hey all, how does angular work with custom directives? is its html5 web components when you do something like <question questiontext="Whats heart conditions you have?" options="Heart Attack, Angina, Option3"/> i thought web components arent compliant in browsers yet so curious how it doesn't error?
[21:41:03] <monk12> is custom tags like <question ... /> allowed in html5, but most browsers dont know how to interpret so Angular JS takes over the directive?
[21:41:23] <dopry> monk12, well angular is a framework that enables web component like applications..
[21:41:50] <ok91> monk12: so far as I know such custom tags are not allowed... the browser just doesn't get it
[21:42:01] <dopry> monk12, you got it...
[21:42:45] <monk12> Cool. whats the future of Angular, do we have to code our apps different or Angular internally will create a 'web component' out of that <question ../> directive?
[21:42:54] <ok91> monk12: I would say Angular "teaches" the browser your custom tag
[21:42:55] *** CeZeD <CeZeD!~textual@71.244.26.94> has joined #angularjs
[21:42:55] <monk12> when web components are supported i mean
[21:43:00] <monk12> K
[21:43:29] <dopry> monk12, hopefully it'll be an easy migration.. In general I feel the angular team is committed to being web component friendly.
[21:43:32] *** beauby <beauby!~beauby@37.164.240.230> has quit IRC (Read error: Connection reset by peer)
[21:43:59] <monk12> im curious, if we have to change anything.... or angular's own will just be optimized to convert that tag into a web component
[21:44:06] <dopry> as for what the future actually holds that isn't written in stone...
[21:44:22] <dopry> monk12, no one knows yet and we won't know until web components are a thing...
[21:44:29] <monk12> gotcha ;)
[21:45:10] <dopry> you can watch some of igor minar's videos and get the spirit of the direction...
[21:45:47] <dopry> I'm sure he's done a few keynotes where he talks about the future or angular.
[21:45:58] *** CeZeD <CeZeD!~textual@71.244.26.94> has left #angularjs ("Textual IRC Client: www.textualapp.com")
[21:46:25] *** blip- <blip-!~blip-@unaffiliated/blip-> has quit IRC (Quit: Leaving)
[21:47:20] *** vectornpixel <vectornpixel!~textual@65.183.177.130> has joined #angularjs
[21:48:08] *** annoymouse <annoymouse!uid11754@gateway/web/irccloud.com/x-jqzijqwiecxpcwai> has joined #angularjs
[21:50:02] *** OnkelTem <OnkelTem!~onkeltem@pppoe-62-84-112-224.dubna.ru> has quit IRC (Quit: WeeChat 1.5)
[21:53:05] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has joined #angularjs
[21:55:23] *** Aliks <Aliks!~aliks@119.sub-70-213-0.myvzw.com> has quit IRC (Remote host closed the connection)
[21:56:12] *** leolrrj <leolrrj!~leolrrj@50-243-248-21-static.hfc.comcastbusiness.net> has quit IRC (Remote host closed the connection)
[21:59:30] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has quit IRC (Ping timeout: 250 seconds)
[22:01:25] *** dinesh_ <dinesh_!6735ea01@gateway/web/freenode/ip.103.53.234.1> has joined #angularjs
[22:02:04] *** moloch <moloch!~moloch@cpe-98-150-237-205.hawaii.res.rr.com> has quit IRC (Quit: Bye)
[22:03:19] *** wrkrcoop <wrkrcoop!~martee@adsk-nat-ip10.autodesk.com> has quit IRC (Quit: wrkrcoop)
[22:04:26] *** dinesh_ <dinesh_!6735ea01@gateway/web/freenode/ip.103.53.234.1> has quit IRC (Client Quit)
[22:06:04] *** yottabyte <yottabyte!48008896@gateway/web/freenode/ip.72.0.136.150> has left #angularjs
[22:06:17] *** sbellina <sbellina!~sbellina@c-75-65-176-38.hsd1.ms.comcast.net> has quit IRC (Ping timeout: 240 seconds)
[22:07:15] *** ok91 <ok91!~user@unaffiliated/ok91> has quit IRC (Remote host closed the connection)
[22:08:14] *** sergey <sergey!~sergey@46.98.75.164> has joined #angularjs
[22:09:28] *** raijin <raijin!~raijin@unaffiliated/raijin> has quit IRC (Ping timeout: 250 seconds)
[22:12:38] *** ghostM <ghostM!~ghostm@163.5.208.209> has joined #angularjs
[22:14:00] *** sergey <sergey!~sergey@46.98.75.164> has quit IRC ()
[22:14:51] *** Aliks <Aliks!~aliks@2600:1010:b049:f634:55ab:b1de:de4b:977e> has joined #angularjs
[22:15:07] *** Aliks <Aliks!~aliks@2600:1010:b049:f634:55ab:b1de:de4b:977e> has quit IRC (Read error: No route to host)
[22:15:21] *** sergey <sergey!~sergey@46.98.75.164> has joined #angularjs
[22:15:36] *** sergey <sergey!~sergey@46.98.75.164> has quit IRC (Remote host closed the connection)
[22:16:29] *** ghostM <ghostM!~ghostm@163.5.208.209> has quit IRC (Remote host closed the connection)
[22:16:35] *** ghostM_ <ghostM_!~ghostm@163.5.208.209> has joined #angularjs
[22:17:25] *** sergey <sergey!~sergey@46.98.75.164> has joined #angularjs
[22:18:15] *** netcrash <netcrash!~netcrash@186-241-177-175.user.veloxzone.com.br> has quit IRC (Ping timeout: 276 seconds)
[22:19:35] *** mastokley <mastokley!~mastokley@71-212-98-100.tukw.qwest.net> has joined #angularjs
[22:20:39] *** sbellina <sbellina!~sbellina@c-75-65-176-38.hsd1.ms.comcast.net> has joined #angularjs
[22:21:15] *** bayousoft <bayousoft!~textual@76.72.35.139> has joined #angularjs
[22:21:37] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has joined #angularjs
[22:22:27] *** sergey <sergey!~sergey@46.98.75.164> has quit IRC ()
[22:24:12] *** vectornpixel <vectornpixel!~textual@65.183.177.130> has quit IRC (Ping timeout: 250 seconds)
[22:25:28] *** hansl <hansl!textual@nat/google/x-ozxtiedukpboxsru> has joined #angularjs
[22:26:39] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has quit IRC (Ping timeout: 272 seconds)
[22:28:03] *** beauby <beauby!~beauby@vol75-4-82-224-160-73.fbx.proxad.net> has joined #angularjs
[22:29:46] *** jhadvig <jhadvig!~jhadvig@78-141-120-86.dynamic.orange.sk> has quit IRC (Ping timeout: 244 seconds)
[22:30:06] *** moloch <moloch!~moloch@udp060350uds.hawaiiantel.net> has joined #angularjs
[22:34:41] *** tomphp <tomphp!~tomphp@host86-170-198-213.range86-170.btcentralplus.com> has joined #angularjs
[22:40:06] *** blackwind_123 <blackwind_123!~IceChat9@117.192.151.163> has quit IRC (Ping timeout: 264 seconds)
[22:41:01] *** evilaliv3 <evilaliv3!~evilaliv3@93-41-19-219.ip79.fastwebnet.it> has joined #angularjs
[22:46:46] *** FIFO[a][a] <FIFO[a][a]!~FIFOd@cpe-172-74-101-60.nc.res.rr.com> has joined #angularjs
[22:49:37] *** kuadrosx_ is now known as kuadrosx
[22:50:47] *** davi-lima <davi-lima!~Davi@191.33.69.18> has joined #angularjs
[22:50:57] *** fedenunez1 <fedenunez1!~fede@r167-61-127-162.dialup.adsl.anteldata.net.uy> has quit IRC (Ping timeout: 244 seconds)
[22:51:31] *** davi-lima <davi-lima!~Davi@191.33.69.18> has quit IRC (Client Quit)
[22:52:49] *** Guest78895 <Guest78895!~Jeremy@70.213.7.160> has joined #angularjs
[22:54:57] *** shinnya <shinnya!~shinnya@245.144.137.133.dy.bbexcite.jp> has joined #angularjs
[22:55:43] *** blackjid <blackjid!blackjid@open.source.supporter.firrre.com> has joined #angularjs
[22:57:07] *** IChoseThisOne <IChoseThisOne!~IChoseThi@45-19-138-50.lightspeed.frokca.sbcglobal.net> has quit IRC (Remote host closed the connection)
[22:57:20] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has joined #angularjs
[23:01:28] *** tomphp <tomphp!~tomphp@host86-170-198-213.range86-170.btcentralplus.com> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[23:03:30] *** Elisha <Elisha!~elisha@tm.213.143.68.74.nm.telemach.net> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[23:03:36] *** jimklo <jimklo!~jimklo@192.12.16.110> has joined #angularjs
[23:04:29] *** ghostM <ghostM!~ghostm@37.162.214.65> has joined #angularjs
[23:06:04] *** neals <neals!~mint@unaffiliated/neals> has joined #angularjs
[23:06:48] *** wrkrcoop <wrkrcoop!~martee@adsk-nat-ip10.autodesk.com> has joined #angularjs
[23:07:29] *** ghostM_ <ghostM_!~ghostm@163.5.208.209> has quit IRC (Ping timeout: 240 seconds)
[23:07:41] *** ghostM <ghostM!~ghostm@37.162.214.65> has quit IRC (Remote host closed the connection)
[23:08:45] *** raijin <raijin!~raijin@unaffiliated/raijin> has joined #angularjs
[23:09:15] *** ghostM <ghostM!~ghostm@37.162.214.65> has joined #angularjs
[23:09:47] *** ghostM <ghostM!~ghostm@37.162.214.65> has quit IRC (Remote host closed the connection)
[23:14:02] <wrkrcoop> it seems like services are similar to models …
[23:14:18] <wrkrcoop> in the sense that it contains the code for doing what you need done
[23:14:24] <wrkrcoop> is that true?
[23:14:28] <dopry> wrkrcoop, depends on your use case...
[23:14:31] *** soee <soee!~soee@user-46-112-93-152.play-internet.pl> has quit IRC (Quit: Konversation terminated!)
[23:14:44] <dopry> I'd say closer to repositories...
[23:14:52] <wrkrcoop> repos? like moduels?
[23:15:38] *** Aliks <Aliks!~aliks@c-67-180-35-94.hsd1.ca.comcast.net> has joined #angularjs
[23:15:47] *** kuadrosx_ <kuadrosx_!~kuadrosx@181.52.216.84> has joined #angularjs
[23:15:59] <dopry> the repository pattern...
[23:16:08] *** kuadrosx <kuadrosx!~kuadrosx@181.52.216.84> has quit IRC (Ping timeout: 265 seconds)
[23:16:27] <dopry> the entities you get from services are more like models...
[23:16:52] <da_wunder> personally i use service <--> repository <--> entity
[23:16:53] <dopry> that is the pattern I've use most in my data services for angular...
[23:17:25] <dopry> although I'm starting to play with ngrx store which is a bit different.
[23:17:42] <da_wunder> entity = single database object, repository = speaks with database and uses entities, service = uses repositories to get stuff
[23:18:43] <wrkrcoop> im using mocha to test my node app
[23:18:50] <wrkrcoop> do you recommend i use karma for angular tesitng or mocha?
[23:18:55] <dopry> wrkrcoop, what da_wunder said...
[23:19:19] <wrkrcoop> thanks
[23:19:28] *** dagda1_ <dagda1_!~dagda1@bcde521d.skybroadband.com> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)
[23:19:31] <dopry> wrkrcoop, I use karma and protractor since it's the community norm...
[23:19:40] <wrkrcoop> hm ok
[23:19:59] *** wonder95 <wonder95!~wonder95@50-39-193-168.bvtn.or.frontiernet.net> has quit IRC (Quit: You can't have everything. Where would you put it?)
[23:20:30] *** Aliks <Aliks!~aliks@c-67-180-35-94.hsd1.ca.comcast.net> has quit IRC (Ping timeout: 260 seconds)
[23:21:00] *** enigma_raz <enigma_raz!~enigma_ra@amazon.gigabitethernet4-0-6.asr1.snv2.gblx.net> has joined #angularjs
[23:21:18] *** Aliks <Aliks!~aliks@c-67-180-35-94.hsd1.ca.comcast.net> has joined #angularjs
[23:21:39] <dopry> for testing I tend to follow community and doc guidelines, rather than swim against the current...
[23:21:47] *** lacrymology <lacrymology!~lacrymolo@188.127.100.48> has quit IRC (Ping timeout: 244 seconds)
[23:22:37] *** fuchstronaut <fuchstronaut!~fuchstron@p2003005BED2C0E0059C6318CFF474FE0.dip0.t-ipconnect.de> has joined #angularjs
[23:22:38] *** fuchstronaut <fuchstronaut!~fuchstron@p2003005BED2C0E0059C6318CFF474FE0.dip0.t-ipconnect.de> has quit IRC (Changing host)
[23:22:38] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has joined #angularjs
[23:22:42] <dopry> da_wunder, any particular reason you don't just expose repositories as services?
[23:23:08] *** edrocks <edrocks!~edrocks@66-194-206-178.static.twtelecom.net> has quit IRC (Ping timeout: 250 seconds)
[23:23:30] <dopry> just like the extra shim point for testing, or your re-use them else where?
[23:23:46] *** cactauz <cactauz!~cactus@c-174-51-80-218.hsd1.co.comcast.net> has joined #angularjs
[23:24:14] *** enigma_raz <enigma_raz!~enigma_ra@amazon.gigabitethernet4-0-6.asr1.snv2.gblx.net> has quit IRC (Remote host closed the connection)
[23:24:32] *** Poeticode <Poeticode!~Prophesi@host-68-169-169-183.VABOLT2.epbfi.com> has quit IRC (Quit: Leaving)
[23:24:34] <dopry> I've been playing with approaches where all my domain code and classes as separate from my angular modules and my angular modules just import and wire up DI...
[23:24:39] *** tavl <tavl!~thiago@186.234.253.18> has joined #angularjs
[23:24:55] *** skoocda <skoocda!~skoocda@76.74.139.126> has joined #angularjs
[23:26:15] *** skoocda <skoocda!~skoocda@76.74.139.126> has quit IRC (Remote host closed the connection)
[23:26:23] <dopry> da_wunder, just curious if others are doing the same and why...
[23:26:30] *** skoocda <skoocda!~skoocda@76.74.139.126> has joined #angularjs
[23:26:35] *** [1]David <[1]David!~David@cpc65147-nmal17-2-0-cust206.19-2.cable.virginm.net> has quit IRC (Ping timeout: 252 seconds)
[23:26:36] *** CreateMo <CreateMo!~textual@47.146.55.67> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[23:27:05] *** trailertrash <trailertrash!~trailertr@unaffiliated/trailertrash> has joined #angularjs
[23:27:16] *** wrkrcoop <wrkrcoop!~martee@adsk-nat-ip10.autodesk.com> has quit IRC (Quit: wrkrcoop)
[23:27:27] *** fuchstronaut <fuchstronaut!~fuchstron@unaffiliated/fuchstronaut> has quit IRC (Ping timeout: 272 seconds)
[23:27:44] *** akkonrad <akkonrad!~akkonrad3@gae109.internetdsl.tpnet.pl> has quit IRC (Ping timeout: 265 seconds)
[23:27:59] *** cacts <cacts!~cactus@c-174-51-80-218.hsd1.co.comcast.net> has quit IRC (Ping timeout: 244 seconds)
[23:29:10] *** Germanaz0 <Germanaz0!~Germanaz0@unaffiliated/germanaz0> has quit IRC (Quit: Me fui a dormir)
[23:30:02] *** regedit <regedit!uid150526@gateway/web/irccloud.com/x-zokpfovqwjotihzl> has joined #angularjs
[23:30:26] *** wrkrcoop <wrkrcoop!~martee@adsk-nat-ip10.autodesk.com> has joined #angularjs
[23:31:39] *** Germanaz0 <Germanaz0!~Germanaz0@unaffiliated/germanaz0> has joined #angularjs
[23:31:40] <wrkrcoop> so i heard this is the command to test karma
[23:31:41] <wrkrcoop> karma start test/karma.conf.js
[23:31:56] <wrkrcoop> but my conf file is not in test/
[23:32:19] <dopry> then use the proper path to your conf file.
[23:32:41] <dopry> regedit, new update?
[23:32:54] *** {DV8} <{DV8}!~Deviate@135-23-110-43.cpe.pppoe.ca> has joined #angularjs
[23:33:12] <regedit> dopry: not really i just woke up and discovered the "official" guide is there
[23:33:44] <regedit> i remember a lot of fire and brimstone back in ng1.3 or so days about style guides
[23:33:49] <regedit> particularly john papa
[23:34:06] *** jimklo <jimklo!~jimklo@192.12.16.110> has quit IRC ()
[23:34:27] <regedit> it would seem the large furry hat has been donned and an official style guide has been decreed
[23:34:31] <dopry> regedit, I think I even had a day of popping in on the subject and I rarely allow myself the distraction of IRC any more.
[23:34:32] <regedit> :D
[23:34:45] <regedit> hah
[23:35:10] <regedit> there's nothing like opinionated devs getting all nitpicky/pedantic
[23:35:23] <regedit> so.... cute
[23:35:27] <regedit> XD
[23:35:27] <dopry> I think I was papa pedantic...
[23:35:45] *** whitebook <whitebook!~whitebook@ool-3f8fc350.dyn.optonline.net> has joined #angularjs
[23:35:45] * regedit raises his sword
[23:35:48] <regedit> for or against?
[23:36:11] * dopry slides one foot back with his hand on his hilt...
[23:36:17] <dopry> for!
[23:37:01] <regedit> to arms my brethren! we have an infidel in our midst
[23:37:07] <regedit> :D:D
[23:37:30] *** nicksloan <nicksloan!~nicksloan@unaffiliated/iamethos> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
[23:37:49] <dopry> Feel free to take up arms against our cause, if you wish to die at the hands of the official armies!
[23:37:55] <wrkrcoop> thanks
[23:38:02] <dopry> :)
[23:38:19] *** whiteboo_ <whiteboo_!~whitebook@ool-3f8fc350.dyn.optonline.net> has quit IRC (Ping timeout: 244 seconds)
[23:38:28] <regedit> for the record i dont and never did care, just enjoyed the fireworks and popcorn dis gon b gud style :D
[23:38:37] *** Aliks <Aliks!~aliks@c-67-180-35-94.hsd1.ca.comcast.net> has quit IRC (Remote host closed the connection)
[23:38:45] * dopry looks around for another channel to troll since this battle has been won...
[23:39:04] *** Germanaz0 <Germanaz0!~Germanaz0@unaffiliated/germanaz0> has quit IRC (Quit: Me fui a dormir)
[23:39:07] *** FIFO[a][a] <FIFO[a][a]!~FIFOd@cpe-172-74-101-60.nc.res.rr.com> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
[23:40:07] <dopry> regedit, similar camp. I think they're good tools, but pick the one you love or love the one you're with.
[23:40:28] *** raijin <raijin!~raijin@unaffiliated/raijin> has quit IRC (Ping timeout: 250 seconds)
[23:40:40] <dopry> and definitely don't hate on people for picking the one they love.
[23:40:57] * dopry shushes his inner troll.
[23:41:06] *** Germanaz0 <Germanaz0!~Germanaz0@unaffiliated/germanaz0> has joined #angularjs
[23:42:39] *** neals <neals!~mint@unaffiliated/neals> has quit IRC (Ping timeout: 272 seconds)
[23:42:46] <dopry> regedit, you work on sails don't you?
[23:42:52] <regedit> i think the whole discussion could be reduced to - it's ok to follow papa's guide, just try to learn & understand the reasonings behind it and apply or dispose where appropriate. now put your pitchfork away thanks
[23:42:58] <regedit> sails?
[23:43:04] *** moloch <moloch!~moloch@udp060350uds.hawaiiantel.net> has quit IRC (Quit: Bye)
[23:43:20] <dopry> js... okay maybe no.. I'm conflating two old discussion.
[23:43:35] <dopry> regedit, sailsjs
[23:43:56] *** Germanaz0 <Germanaz0!~Germanaz0@unaffiliated/germanaz0> has quit IRC (Client Quit)
[23:44:03] *** evilaliv3 <evilaliv3!~evilaliv3@93-41-19-219.ip79.fastwebnet.it> has quit IRC (Ping timeout: 240 seconds)
[23:44:05] * regedit googles the next something-js on the block...
[23:44:18] <dopry> regedit, it's a node framework...
[23:44:32] <regedit> ah server side then
[23:44:35] <dopry> backend and such..
[23:44:41] *** Germanaz0 <Germanaz0!~Germanaz0@unaffiliated/germanaz0> has joined #angularjs
[23:46:08] *** ZachLanich <ZachLanich!~textual@cpe-24-165-143-127.neo.res.rr.com> has joined #angularjs
[23:47:01] <ZachLanich> Has anyone in here managed to get Angular2-CLI w/ webpack integrated into a Laravel 5.3 install? I'm at a loss here lol
[23:48:25] <dopry> ZachLanich, nope.. I haven't really played with the angular2 cli... but what does you backend have to do with your client?
[23:48:29] *** nadoneves <nadoneves!~Thunderbi@177.131.144.72> has quit IRC (Quit: nadoneves)
[23:49:11] *** Jardayn <Jardayn!~jardayn@balticom-248-43.balticom.lv> has joined #angularjs
[23:50:15] <dopry> ZachLanich, I've taken to running two separate repos for my backends and frontends so I don't have to worry about conflating them so much.
[23:50:16] <ZachLanich> Laravel serves the front end view with the compiled Angular files and my local server (was using ng serve, now using php artisan serve I guess)
[23:51:20] <dopry> ZachLanich, yeah can't help you there. I really only serve my angular apps as stand-alone static applications.
[23:51:35] *** Germanaz0 <Germanaz0!~Germanaz0@unaffiliated/germanaz0> has quit IRC (Quit: Me fui a dormir)
[23:51:52] <regedit> dopry: looks cool
[23:51:55] <dopry> I setup my backends as their on projects and package them as docker containers, then setup backends for client developmen with compose.
[23:52:01] <regedit> sails that is
[23:52:17] <dopry> regedit, it's kinda like a django written in node...
[23:52:51] <ZachLanich> Interesting. I've thought about doing that too...
[23:52:54] <dopry> without as rich of an ecosystem, but solves a lot of problems quickly and has fairly good socket.io support.
[23:53:08] <regedit> really this is how django works? interesting
[23:53:14] <dopry> ZachLanich, it's definitely alot easier...
[23:53:32] <dopry> regedit, well in django you specify models and urls and settings in modules...
[23:53:45] <dopry> then your get a whole CMS around it...
[23:54:05] <dopry> compared to drupal it's content types as code vs content types defined in the database.
[23:54:35] <dopry> regedit, I say more like django + django rest framework.
[23:54:53] <regedit> right
[23:54:55] <ZachLanich> Right. I guess I was mostly trying to get around cross-origin errors because php artisan server and ng serve serve on localhost at different port numbers, etc
[23:55:32] <ZachLanich> Thoughts on how to just get this working as quickly/easily s possible locally so I can just get back to programming and worry about production crap later? lol
[23:55:38] <dopry> ZachLanich, as long as you set your allow-origin * header on your laravel instance it won't be a problem.
[23:55:56] <ZachLanich> dopry Ok, that's easy enough
[23:56:11] <dopry> as for laravel I don't know if it does any caching or anything...
[23:56:26] *** gain_ <gain_!~Gianni@host207-76-dynamic.244-95-r.retail.telecomitalia.it> has joined #angularjs
[23:56:42] <dopry> ZachLanich, dealing with cors is just setting headers from your API to allow any client to access it...
[23:57:05] <dopry> and every project we work on has a public API...
[23:57:11] <ZachLanich> dopry Gotcha.
[23:57:42] <dopry> if it's non-public well constrain allow origin to our own hosts in production, but we normally keep it open to * in dec.
[23:57:46] <dopry> err, dev
[23:58:46] <dopry> but working around CORS is stupid easy as long as you know the right headers to set on your api.. when you don't control the backend is when it's problematic.