[00:00:44] *** phreest has joined #angularjs
[00:01:28] *** phreest has joined #angularjs
[00:02:04] *** phreest has joined #angularjs
[00:03:07] *** elyphas has quit IRC
[00:04:21] *** phree has quit IRC
[00:04:33] *** phree has joined #angularjs
[00:05:16] *** smccarthy has quit IRC
[00:05:21] <Faradax> oh
[00:05:38] <Faradax> might it be that I need to bootstrap this instead of using the provider property? :D
[00:05:41] *** zeioth_ has joined #angularjs
[00:05:52] *** smccarthy has joined #angularjs
[00:06:05] *** xylen_ has quit IRC
[00:06:52] *** zeioth has quit IRC
[00:06:56] <BigPoppa> is there a way to make angular aware of what the browser is and change the page according to that. without getting information about that from the backend?
[00:08:32] *** phree has left #angularjs
[00:08:43] *** phree has joined #angularjs
[00:09:06] *** Ronrun has quit IRC
[00:09:52] <phree> BigPoppa - see the link above for ng-device-detector
[00:10:15] <BigPoppa> thank u so much, friend <3
[00:10:51] <phree> NP - Happy to help! ;-)
[00:12:00] *** eyebraus__ has quit IRC
[00:12:03] <BigPoppa> phree, so the point of this would be to use angular to produce different pages for different types of browsers or even like phone browsers and phone systems too right?
[00:12:11] <BigPoppa> because thats what i was going for
[00:14:50] *** cigarshark has quit IRC
[00:14:58] *** cnap has quit IRC
[00:15:46] *** Torontoz has joined #angularjs
[00:16:12] *** ome has joined #angularjs
[00:16:23] *** db7_ has quit IRC
[00:16:54] *** db7_ has joined #angularjs
[00:18:40] *** variable has joined #angularjs
[00:19:04] *** variable is now known as Guest44291
[00:19:04] *** Madmallard has joined #angularjs
[00:19:45] <Madmallard> Hello all, I'm wondering if people can help me with an issue I'm having. I'm using a Select2 object with a javascript configuration object in my controller. I want the minimumInputLength for the Select2 object to be able to be modified dynamically. How do I do this?
[00:20:40] *** bhenslee has joined #angularjs
[00:22:31] *** brownish has quit IRC
[00:23:35] *** shadowrunner has quit IRC
[00:25:16] *** happyowl has quit IRC
[00:26:07] *** Torontoz has left #angularjs
[00:29:02] *** ilhami has quit IRC
[00:30:32] *** bhenslee_ has joined #angularjs
[00:33:32] *** cemslord has joined #angularjs
[00:33:47] *** aghiuru_ has quit IRC
[00:33:53] <cemslord> hi
[00:34:04] *** bhenslee has quit IRC
[00:34:08] <cemslord> who can halp me
[00:34:27] *** aghiuru has joined #angularjs
[00:34:46] *** cemslord has quit IRC
[00:34:49] *** freezevee has joined #angularjs
[00:34:53] *** nuizzy has joined #angularjs
[00:35:04] <freezevee> is it possible to create a websocket server in Angular ?
[00:35:10] *** jsoh has quit IRC
[00:36:24] <wafflejock> freezevee: angular is typically only used for client side applications, you can have it connect to a node socket server like sailsjs though
[00:36:24] <bosyak> freezevee, it would be very strange
[00:36:35] *** sbellina has quit IRC
[00:38:36] <freezevee> so in order to get http data like a RESTful API's json
[00:38:47] <freezevee> do I need a separate server ?
[00:38:55] *** pimlu has quit IRC
[00:39:11] <freezevee> I work in Ruby/Rails. Should I create a websocket there for example ?
[00:39:30] <wafflejock> freezevee: yeah you can make a socket server setup using ruby/rails or whatever you use on the backend
[00:39:51] <wafflejock> freezevee: on the angular side you'd use some module or write something to create the web socket connection in the browser to the server
[00:40:19] <freezevee> wafflejock: so actually Angular instead of doing HTTP requests, it does open a WebSocket channel
[00:40:40] <freezevee> I have setup angular-websocket module
[00:40:48] <wafflejock> freezevee: yeah can get your data via http or can get data via a web socket
[00:41:00] <wafflejock> freezevee: but in either case typically wouldn't use angular server side
[00:41:02] <freezevee> but I am trying to understand how RESTful API <=> Websocket data works
[00:41:25] <freezevee> wafflejock: even If it's for a tiny test app ?
[00:41:27] <wafflejock> freezevee: well both of those would be ways to connect to the server but can share the same data store
[00:41:48] <freezevee> wafflejock: I am trying to get weather.com data via a websocket
[00:41:58] *** xylen_ has joined #angularjs
[00:42:04] <wafflejock> yah should be able to do that fine with the angular socket module
[00:42:08] <freezevee> I suppose there's no other way than creating a backend websocket server
[00:42:23] <freezevee> starts to make sense finally
[00:42:25] <wafflejock> ah I see I think
[00:42:35] <wafflejock> so you're trying to proxy rest data into a web socket server then to the client/
[00:42:37] <wafflejock> ?
[00:43:18] <freezevee> exactly
[00:43:25] <wafflejock> freezevee: can really just $http poll from the client cause that's what the server is going to need to do but might save requests to the third party api to make your own proxy
[00:43:40] <freezevee> I didn't get that
[00:44:02] <freezevee> $http to the websocket ?
[00:44:28] <wafflejock> well if the weather.com API is restful you're gonna need to poll it from your rails code to get updates then have a web socket so the angular side can connect via a socket, but instead of having the server poll the API the client can just poll the API directly
[00:45:12] <wafflejock> but if you go with having your server do the polling can reduce your api requests against weather.com since each client wouldn't be doing it just the server
[00:45:42] *** nanuko has quit IRC
[00:45:47] <freezevee> I believe I undestand
[00:46:01] <freezevee> the reason I want to do this is just learning
[00:46:34] <freezevee> so it could be done exactly with $http polls (or $resource that I am using)
[00:46:57] <wafflejock> yeah wouldn't hurt to try it, but basically need some server side code to run the web socket part and do the polling for you
[00:47:50] <freezevee> but the websocket server will make http requests (GET) in order to get the data, right ?
[00:48:19] <wafflejock> your angular code <-----socket connection-----> rails web socket server ---http----> weather api
[00:48:21] <wafflejock> yah
[00:48:46] <freezevee> so what's the point ?
[00:49:02] <freezevee> the websocket server will make GET requests every once in a while
[00:49:14] <wafflejock> yah less get requests against weather.com if that mattered
[00:49:28] <freezevee> aren't they the same ?
[00:49:30] <wafflejock> front end is only notified via the socket when something is changed on the server
[00:49:33] *** Kwoth has quit IRC
[00:49:37] <wafflejock> for 1 client yah
[00:49:41] <wafflejock> but if you have many clients no
[00:49:42] *** GoddessPapa has quit IRC
[00:49:48] <wafflejock> say you have 100 clients all using your api key to poll the service
[00:49:48] <freezevee> If I did this with $timeouts and direct API calls
[00:49:56] <Madmallard> Hello all, I'm wondering if people can help me with an issue I'm having. I'm using a Select2 object with a javascript configuration object in my controller. I want the minimumInputLength for the Select2 object to be able to be modified dynamically. How do I do this?
[00:50:00] <freezevee> will be 100 GET a day for example
[00:50:03] <wafflejock> if you do it at the server you can reduce that to 1 call for all 100
[00:50:10] *** ycon_ has joined #angularjs
[00:50:18] <wafflejock> yah doesn't matter for this case really
[00:50:26] <freezevee> but If I used websockets, it wouldn't be GET requests at all
[00:50:26] <wafflejock> if the data changes more often and you have more requests it would make sense
[00:50:32] *** aghiuru has joined #angularjs
[00:50:35] <wafflejock> well the server still does them
[00:50:37] <freezevee> I see
[00:50:37] <wafflejock> but way less
[00:50:45] <freezevee> like a live sensor data
[00:50:51] <freezevee> or an oscilloscope
[00:50:57] <freezevee> when comes to IoT
[00:51:05] *** VictorCL has quit IRC
[00:51:14] <freezevee> wafflejock: you're wonderful and helped a lot
[00:51:15] <wafflejock> yeah can buffer information and only be sending updates when something actually happens
[00:51:16] <freezevee> thanks
[00:51:21] <wafflejock> np
[00:51:36] <freezevee> I am trying to get it and I thought I hit a wall
[00:51:50] <freezevee> I know the socket theory but didn't know If it's the same thing
[00:51:52] *** ferr has quit IRC
[00:52:07] <freezevee> also I 've never used it for something more than university stuff
[00:52:08] *** ycon_ has quit IRC
[00:52:09] *** cotko has quit IRC
[00:52:11] *** mellernoia-work has quit IRC
[00:52:14] <wafflejock> yeah so far as I know it's just not using HTTP just using TCP socket connections
[00:52:32] <freezevee> exactly
[00:52:35] <wafflejock> same here basically though, 1 networking in Java class and lots of IT work wiring and all but not a lot of programming with it
[00:53:13] <freezevee> well real time stuff is simple awesome
[00:53:47] <freezevee> not only impressive but opens you a new palace of ideas
[00:53:59] *** cotko has joined #angularjs
[00:54:22] <wafflejock> yeah nice to get near real time updates
[00:55:06] *** aghiuru has quit IRC
[00:55:06] <freezevee> thanks again man
[00:55:12] <freezevee> really really appreciate it
[00:55:43] <wafflejock> no problem good to talk about things people are trying gets me thinking about new things too
[00:55:50] *** compeman_ has quit IRC
[00:56:15] *** bbankes_ has quit IRC
[00:56:29] <freezevee> true
[00:56:42] <freezevee> when I first heard about websockets
[00:57:04] <freezevee> I created a whole new bunch of ideas in my mind
[00:57:18] <freezevee> every little arduino project real time to a browser window
[00:57:26] <wafflejock> heh yup
[00:57:27] <freezevee> even on off switches
[00:57:35] <wafflejock> I've typically used processing for that stuff
[00:57:46] <wafflejock> making UI for the data coming over serial to see what's going on
[00:57:49] <freezevee> knowing when someone enters a door triggers a mailer
[00:58:02] <freezevee> this is what I am talking about
[00:58:07] <freezevee> I did this once with my UPS
[00:58:09] <wafflejock> buddy of mine made a "stall sensor" at his work to show where people are using the bathroom
[00:58:20] *** compeman has joined #angularjs
[00:58:26] <wafflejock> so you don't have to go wait there
[00:58:34] <freezevee> getting data from serial and created a dash board to view temperature aand battery efficiency
[00:58:49] <freezevee> but did it with timeouts so I got lots of useless requests
[00:59:14] <wafflejock> yeah something has to poll at the lowest level and check for old matches or useless data though
[01:00:00] <wafflejock> most of the coding I've done with the Arduino it's mostly all around getting rid of noise data and calibrating/mapping values for various things
[01:00:15] <wafflejock> still lots of fun though
[01:00:21] <freezevee> indeed
[01:00:27] <wafflejock> how'd you reverse engineer the UPS data?
[01:00:35] <freezevee> not much
[01:00:41] <freezevee> I used an aps tool
[01:00:52] <freezevee> APC*
[01:01:18] <freezevee> that gets serial data from smart serial to an ubuntu console
[01:01:48] <freezevee> so I created a service, saved the data to a JSON file and then read them with jquery, displaying them to dashes
[01:01:50] <wafflejock> ah cool didn't know there were packages on ubuntu to even support APC UPSs
[01:01:57] <freezevee> but it was a 2-3 years ago
[01:01:58] <wafflejock> suppose that makes sense though
[01:02:08] <freezevee> yes true
[01:02:23] <freezevee> now I feel good with Angular and can do much mire
[01:02:27] <freezevee> more
[01:02:35] <freezevee> anyway I must go to bed
[01:02:52] <wafflejock> k 'night
[01:03:00] <freezevee> cheers
[01:03:08] *** freezevee has quit IRC
[01:05:24] *** atomicb0mb has joined #angularjs
[01:05:34] *** Imaginativeone has joined #angularjs
[01:05:59] *** atomicb0mb has quit IRC
[01:06:55] <kegster> anyone here using angular-datatables? i'm having issues with loading large amounts of data and not sure if that's a guaranteed problem with 1.x or what? (before i go into further details)
[01:07:50] *** baweaver has quit IRC
[01:08:33] *** sevcsik has joined #angularjs
[01:09:26] <sevcsik> hi
[01:10:41] <sevcsik> how does ng2 know that it has to watch FetchJsonPipe#fetchedValue? We return the value of it (which is undefined for the first time)
[01:11:10] *** ferr has joined #angularjs
[01:11:18] <sevcsik> and when the promise is fulfilled, we just assign the result to this private field
[01:11:32] <sevcsik> shouldn't we return the promise instead?
[01:12:45] *** D-Boy has quit IRC
[01:13:53] *** raininja has quit IRC
[01:14:29] *** TyrfingMjolnir has joined #angularjs
[01:15:10] *** johnnyfive has quit IRC
[01:19:21] *** wontoner has joined #angularjs
[01:19:42] *** macabre has joined #angularjs
[01:19:56] <wafflejock> kegster: try out ui-grid
[01:20:09] <Madmallard> Is there a way to set minimumInputLength on a Select2 object outside of initialization?
[01:20:14] <wafflejock> kegster: it's probably your best bet, it does row virtualization so it only makes dom elements for the rows on screen
[01:20:26] <wafflejock> Madmallard: have a link for select2?
[01:20:58] <Madmallard> might not be the same as the one i'm using
[01:21:08] <Madmallard> but looks similar
[01:21:24] <wafflejock> needs to be the same thing otherwise looking at the code there is gonna be futile
[01:21:32] <Madmallard> okay lemme make a pate
[01:22:10] <wafflejock> Madmallard: basically it depends on the directive if it's using a watch internally to update the configuration on the fly or not
[01:22:46] *** Shine-neko has quit IRC
[01:22:51] <wafflejock> Madmallard: if the one you're using currently doesn't do it you could add it in but would have to override their version of it or make a pull request to get it into the deployed version
[01:23:32] <Madmallard> so i would have to add a watch then
[01:23:50] *** johnnyfive has joined #angularjs
[01:24:13] *** xiinotulp is now known as plutoniix
[01:24:27] <wafflejock> you would want to wrap the jQuery stuff in a directive or rewrite but there's already a rewrite there
[01:24:27] <Madmallard> does that one solve the problem?
[01:24:31] <wafflejock> it probably watches the config options
[01:24:47] <wafflejock> if not would be easy to modify that
[01:25:01] <Madmallard> we are using select2 from that class all over the place T_T
[01:25:10] <wafflejock> starting from a big jQuery thing is a step back from using that library directly with angular
[01:25:51] <wafflejock> DOM stuff should always be done in directives so that's what the github repo there is, seems they rewrote it to work well with the framework so probably includes watching the params/config for changes
[01:26:01] <wafflejock> bummer though
[01:26:41] <Madmallard> do you think there is another workaround potentially?
[01:26:46] <Madmallard> like making separate objects
[01:27:02] <wafflejock> nothing worth doing more than just taking the plunge and using that module
[01:27:03] *** speeddragon has quit IRC
[01:27:18] <wafflejock> if you're using jQuery in contollers to interact with elements in the DOM then things are going wrong
[01:27:30] <wafflejock> you'll just get yourself into more trouble down the line rather than fixing it now
[01:27:47] <Madmallard> we're not i don't think
[01:27:52] *** siba has joined #angularjs
[01:28:12] *** ilhami has joined #angularjs
[01:28:23] <ilhami> how can I pass data between controllers? :P
[01:28:31] <wafflejock> if you're using what you pasted directly without a directive around it then I imagine you must be but dunno, doubt that the regular jQuery select2 from 2012 was made to work with angular and ngModel :)
[01:28:36] <wafflejock> !services-sharing
[01:28:36] *** Aliks has joined #angularjs
[01:28:43] *** sbellina has joined #angularjs
[01:28:44] *** speaking1ode has joined #angularjs
[01:29:57] <ilhami> wafflejock, what I want is that I have a .get() method in one of my controllers and an update in my other controller..
[01:30:10] <ilhami> oh wait. never mind: D
[01:30:27] <wafflejock> ilhami: yeah just promote shared logic into a service basically is the answer there
[01:30:38] *** sevcsik_ has joined #angularjs
[01:30:54] <wafflejock> ilhami: you can use the service as a "bridge" between multiple controller instances as well but typically best to just put shared logic into the service itself
[01:31:02] *** Ed_0971 has quit IRC
[01:31:15] <ilhami> there gotta be another way to do what I am doing.
[01:31:47] <wafflejock> ilhami: maybe with events but prefer using services over events, services are more explicit and not bubbling all over the place
[01:32:16] <wafflejock> ilhami: it's best to have most of your logic in services really
[01:32:29] <wafflejock> thin controllers that just take in a bunch of services and expose what's needed onto the scope/to the view
[01:32:43] <ilhami> a factory is a service afaik
[01:32:55] *** Aliks has quit IRC
[01:33:20] <wafflejock> yah basically the same, service gets created with "new" or Object.create so "this" is the instance in there so defining them is slightly different but mostly the same beast
[01:33:58] <wafflejock> if you look in the $injector source you'll see .service just makes a "new" .factory for whatever function you pass in
[01:34:08] *** j_mcnally has joined #angularjs
[01:34:23] *** cotko has quit IRC
[01:34:34] <wafflejock> er maybe it's the $provide source I forget
[01:34:55] <kegster> wafflejock, yeah i saw ui-grid but wasn't sure. i suppose it's a little more friendly
[01:35:35] <ilhami> $scope.reminder.$update is not a function
[01:35:36] <ilhami> :/
[01:35:38] <ilhami> I get this error
[01:38:15] *** enlightenmental_ has quit IRC
[01:38:15] *** encryptd_fractal has joined #angularjs
[01:38:35] *** TheNet has joined #angularjs
[01:38:45] *** encryptd_fractal has quit IRC
[01:38:58] <TheNet> Hi
[01:39:30] *** TheNet has left #angularjs
[01:39:45] *** tristanp_ has quit IRC
[01:40:12] *** tristanp has joined #angularjs
[01:41:27] *** phree has quit IRC
[01:43:10] <ilhami> Hi
[01:43:34] *** node9 has quit IRC
[01:43:42] *** phree has joined #angularjs
[01:44:18] *** phreest has joined #angularjs
[01:44:31] *** enlightenmental_ has joined #angularjs
[01:44:48] *** tristanp has quit IRC
[01:45:42] *** Imaginativeone has quit IRC
[01:46:26] *** ril has quit IRC
[01:46:34] *** ilhami has quit IRC
[01:48:18] *** phree has quit IRC
[01:48:42] *** Imaginativeone has joined #angularjs
[01:48:47] *** SteenJobs has joined #angularjs
[01:49:13] <SteenJobs> hey guys - having a lot of trouble deploying an angular app to heroku, and it doesn’t help that the first dev who worked on it seemed to deliberately try and go against every convention possible
[01:50:07] *** phreest is now known as phree
[01:51:11] *** bhenslee_ has quit IRC
[01:52:13] <SteenJobs> i presume it’s obviously because ruby and sass are only installed locally on my machine…how do i get them installed on heroku’s end so when grunt build is run, no error is thrown?
[01:53:08] <SteenJobs> nvrm, think i found my answer
[01:53:26] *** leolrrj has quit IRC
[01:54:01] *** macabre has quit IRC
[01:57:10] <kegster> with ui-grid do you have to build the json exaclty or can you write a reference point and have it pull the data out of a current set? i imagine the server side processing to a cleaner json format would be better, but not sure how it all works lol
[01:59:01] *** fiddo has joined #angularjs
[01:59:14] *** Limix has quit IRC
[02:00:52] *** aghiuru has joined #angularjs
[02:01:40] *** ril has joined #angularjs
[02:02:36] *** nuizzy has quit IRC
[02:03:34] *** stevenroose has quit IRC
[02:03:47] *** stevenroose|BNC has joined #angularjs
[02:06:09] *** aghiuru has quit IRC
[02:06:44] *** fscala has quit IRC
[02:06:46] *** Madmallard has quit IRC
[02:08:28] *** fscala has joined #angularjs
[02:08:54] *** webdev007 has quit IRC
[02:09:13] *** FIFOd has joined #angularjs
[02:09:19] *** webdev007 has joined #angularjs
[02:09:45] *** webdev007 has quit IRC
[02:10:02] *** node9 has joined #angularjs
[02:10:06] *** webdev007 has joined #angularjs
[02:10:50] *** Uptime has quit IRC
[02:17:37] *** aghiuru has joined #angularjs
[02:17:45] *** Tmo_ has joined #angularjs
[02:18:16] *** evilaliv3 has quit IRC
[02:19:25] *** tristanp has joined #angularjs
[02:20:23] *** freeall has quit IRC
[02:20:55] *** freeall has joined #angularjs
[02:21:46] *** aghiuru has quit IRC
[02:22:21] *** evilaliv3 has joined #angularjs
[02:22:26] <wafflejock> kegster: yeah either way works pretty sure you can just define columns that pull certain properties from your data but can also just use a .filter on the array client side to clean it up or transform it server side into something more conducive for the grid if that's all you're using the data for
[02:23:27] *** j_mcnally has quit IRC
[02:23:28] <wafflejock> kegster: iterating over the set with a .filter to get a new array typically doesn't take much CPU time, usually you'll run into payload size issues for the data on the network before CPU issues with filtering, just the creation/layout of all the DOM takes time
[02:23:41] *** j_mcnally has joined #angularjs
[02:23:55] *** iraj has joined #angularjs
[02:24:58] *** phrozensilver has joined #angularjs
[02:29:34] *** erol has quit IRC
[02:30:46] *** freeall has quit IRC
[02:31:06] *** ekinmur has joined #angularjs
[02:31:21] *** FIFOd has quit IRC
[02:32:27] *** tristanp has quit IRC
[02:33:00] *** tristanp has joined #angularjs
[02:33:38] *** dromar56_ has joined #angularjs
[02:33:44] *** aghiuru has joined #angularjs
[02:34:03] *** iraj has quit IRC
[02:34:18] *** iraj has joined #angularjs
[02:35:40] *** dromar56 has quit IRC
[02:35:49] <white_magic> hey guys, quick question: if i have a table displaying a list of items and then i want to add a new item/row, would it be better to just update the data server side and call a refresh on the list (actually, a table) to have the most current data from the server or should i add the item client-side and avoid a GET from the server?
[02:37:36] *** tristanp has quit IRC
[02:37:44] *** n00bdev has joined #angularjs
[02:38:06] *** aghiuru has quit IRC
[02:40:51] *** wafflejock has quit IRC
[02:41:47] *** nanuko has joined #angularjs
[02:42:53] *** asteele has joined #angularjs
[02:45:32] *** xylen_ has quit IRC
[02:48:04] *** enlightenmental_ has quit IRC
[02:48:30] *** D-Boy has joined #angularjs
[02:49:50] *** freeall has joined #angularjs
[02:49:59] *** enlightenmental_ has joined #angularjs
[02:50:08] *** tristanp has joined #angularjs
[02:51:35] *** Tmo_ has quit IRC
[02:54:13] <SteenJobs> i’m getting an error “Module 'naif.base64' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.” when accessing it on heroku, but no error when accessing it locally.
[02:54:24] *** encryptd_fractal has joined #angularjs
[02:54:26] *** freeall has quit IRC
[02:55:24] *** fairuz has joined #angularjs
[02:55:40] *** Faradax has quit IRC
[02:55:49] *** realisation has joined #angularjs
[02:56:35] *** evilaliv3 has quit IRC
[02:57:11] *** n00bdev has quit IRC
[03:00:55] *** postsneakernet has joined #angularjs
[03:01:55] *** sbellina has quit IRC
[03:02:04] *** macabre has joined #angularjs
[03:03:03] *** postsneakernet has quit IRC
[03:04:51] *** tristanp has quit IRC
[03:05:43] *** FIFOd has joined #angularjs
[03:06:05] *** phrozensilver has quit IRC
[03:06:06] *** iateadonut has joined #angularjs
[03:06:20] *** aghiuru has joined #angularjs
[03:06:20] *** zagaza has joined #angularjs
[03:06:26] *** Imaginativeone has quit IRC
[03:08:24] *** baweaver has joined #angularjs
[03:09:44] *** encryptd_fractal has quit IRC
[03:09:46] *** italoacasas has joined #angularjs
[03:10:27] *** tristanp has joined #angularjs
[03:10:35] *** SteenJobs has quit IRC
[03:10:38] <kegster> does ui-grid require grunt scripts?
[03:11:09] *** fly_boyz has quit IRC
[03:11:29] *** fly_boyz has joined #angularjs
[03:12:26] *** aghiuru has quit IRC
[03:12:55] *** baweaver has quit IRC
[03:13:43] *** Bloomer has joined #angularjs
[03:14:33] *** italoacasas has quit IRC
[03:15:10] *** devians has joined #angularjs
[03:15:56] *** tristanp has quit IRC
[03:16:12] *** j_mcnally has quit IRC
[03:16:24] *** Guest44291 has quit IRC
[03:17:13] *** ril has quit IRC
[03:17:16] *** FIFOd has quit IRC
[03:17:21] *** edrocks_ has joined #angularjs
[03:17:25] *** Ir1sh has joined #angularjs
[03:18:32] *** ferr has quit IRC
[03:19:20] *** dszmaj has joined #angularjs
[03:19:38] *** edrocks__ has joined #angularjs
[03:20:02] *** smccarthy has quit IRC
[03:21:23] *** fairuz has left #angularjs
[03:21:26] *** edrocks_ has quit IRC
[03:23:32] *** drej has quit IRC
[03:23:54] *** robert52 has quit IRC
[03:25:09] *** dromar56_ has quit IRC
[03:25:09] *** nilsi has joined #angularjs
[03:26:00] *** ril has joined #angularjs
[03:26:13] *** Falook has joined #angularjs
[03:27:01] *** heavyhorse has joined #angularjs
[03:27:50] *** ekinmur has quit IRC
[03:28:03] <Falook> why ngAnimate is not working for my ngRepeat. I also include .js into html, add it into app module but there is no class name changed when ngRepeat is added or delete.
[03:28:23] <Falook> this is my code
[03:28:38] *** white_magic has quit IRC
[03:30:29] *** Tmo_ has joined #angularjs
[03:30:35] *** macabre has quit IRC
[03:32:03] *** drej has joined #angularjs
[03:32:31] *** Croves has joined #angularjs
[03:32:35] *** heavyhorse has quit IRC
[03:35:35] *** Tmo_ has quit IRC
[03:36:32] *** trepatud- has quit IRC
[03:36:56] *** Mosh has joined #angularjs
[03:37:02] <Mosh> Hi guys
[03:37:09] <Mosh> I found something strange and need some help
[03:37:20] *** Mosh is now known as Guest5810
[03:37:34] *** OtherAllan has joined #angularjs
[03:37:37] *** nanuko has quit IRC
[03:39:07] *** kuadrosx has joined #angularjs
[03:40:58] *** trepatudo has joined #angularjs
[03:41:42] *** Guest5810 has quit IRC
[03:42:02] *** dszmaj has quit IRC
[03:42:20] *** ycon_ has joined #angularjs
[03:45:50] *** one_zero has joined #angularjs
[03:46:33] *** weberCd has joined #angularjs
[03:47:08] *** zz_dimtruck is now known as dimtruck
[03:47:26] *** weberCd has quit IRC
[03:47:38] *** bbankes_ has joined #angularjs
[03:48:26] *** smccarthy has joined #angularjs
[03:48:30] *** ZetaTwo has quit IRC
[03:50:42] *** stevenroose|BNC is now known as stevenroose
[03:51:17] *** freeall has joined #angularjs
[03:51:29] *** Marble68 has joined #angularjs
[03:51:51] *** realisation has quit IRC
[03:52:12] *** macwinner has joined #angularjs
[03:56:03] *** encryptd_fractal has joined #angularjs
[03:56:21] *** freeall has quit IRC
[03:57:11] *** nanuko has joined #angularjs
[03:57:56] *** dimtruck is now known as zz_dimtruck
[03:59:51] *** ril has quit IRC
[04:01:34] <fullstack> Is there a way to set a global variable in Angular before it starts?
[04:02:23] *** zz_dimtruck is now known as dimtruck
[04:02:38] <fullstack> is it as easy as setting $rootScope.variableName = something in my angular.module('myApp',[]).config ?
[04:02:59] *** OtherAllan has quit IRC
[04:04:12] *** drej has quit IRC
[04:04:39] *** theblang has joined #angularjs
[04:04:44] *** ycon_ has quit IRC
[04:04:52] *** maximski has quit IRC
[04:05:07] *** maximski has joined #angularjs
[04:05:30] *** benjamingr_ has quit IRC
[04:05:36] *** Widget418 has quit IRC
[04:06:59] *** quakephil has quit IRC
[04:07:15] *** pingupingu has joined #angularjs
[04:07:47] *** iraj has quit IRC
[04:08:07] *** OtherAllan has joined #angularjs
[04:08:27] *** Limix has joined #angularjs
[04:08:55] *** realisation has joined #angularjs
[04:09:02] *** Limix has quit IRC
[04:09:19] *** SteenJobs has joined #angularjs
[04:09:55] *** j_mcnally has joined #angularjs
[04:11:05] *** SteenJobs has quit IRC
[04:11:19] *** sakustar has quit IRC
[04:12:22] *** rickmak_ has joined #angularjs
[04:12:44] *** sakustar has joined #angularjs
[04:15:03] *** dimtruck is now known as zz_dimtruck
[04:15:59] *** illume has quit IRC
[04:16:16] *** sctskw has joined #angularjs
[04:16:48] *** Kz_ has joined #angularjs
[04:19:46] *** webdev007 has quit IRC
[04:19:51] *** sbellina has joined #angularjs
[04:21:23] *** iraj has joined #angularjs
[04:22:44] *** ril has joined #angularjs
[04:24:16] *** sbellina has quit IRC
[04:25:17] *** freeall has joined #angularjs
[04:25:24] *** phree has quit IRC
[04:25:54] *** phree has joined #angularjs
[04:25:56] *** freem|nd has quit IRC
[04:26:00] *** realisation has quit IRC
[04:26:43] *** venkat_330 has joined #angularjs
[04:27:21] *** maximski has quit IRC
[04:28:44] *** phree has quit IRC
[04:28:49] *** heavyhorse has joined #angularjs
[04:30:20] *** freeall has quit IRC
[04:32:34] *** encryptd_fractal has quit IRC
[04:32:36] *** sakustar has quit IRC
[04:33:26] *** heavyhorse has quit IRC
[04:33:44] *** ensyde has joined #angularjs
[04:34:44] *** rickmak_ has quit IRC
[04:35:43] <edrocks__> fullstack: take a look at angular.value()
[04:35:56] *** Ir1sh has quit IRC
[04:36:00] *** rickmak_ has joined #angularjs
[04:36:06] <edrocks__> first one
[04:37:12] *** j_mcnall_ has joined #angularjs
[04:37:55] *** j_mcnally has quit IRC
[04:38:08] *** zz_dimtruck is now known as dimtruck
[04:38:24] *** sakustar has joined #angularjs
[04:39:16] *** white_magic has joined #angularjs
[04:40:23] *** xylen_ has joined #angularjs
[04:40:26] <white_magic> quick question: if, when using angular, you're not supposed to directly manipulate the DOM, how would you clear an input box then? seems like DOM manipulation in such a case is allowed, right?
[04:42:01] *** node9 has quit IRC
[04:43:09] *** node9 has joined #angularjs
[04:44:06] *** realisation has joined #angularjs
[04:44:34] *** nanuko has quit IRC
[04:46:43] *** realisation has quit IRC
[04:47:25] <white_magic> never mind.. i think i figured it out
[04:47:41] *** Mohan_ has joined #angularjs
[04:47:43] *** node9 has quit IRC
[04:47:48] <Mohan_> hello all
[04:48:08] *** ril has quit IRC
[04:48:14] *** Mohan_ has left #angularjs
[04:50:07] *** nilsi has quit IRC
[04:51:25] *** Jardayn has quit IRC
[04:51:41] *** Ir1sh has joined #angularjs
[04:53:45] *** Ir1sh_ has joined #angularjs
[04:56:14] *** realisation has joined #angularjs
[04:56:50] *** Ir1sh has quit IRC
[04:56:50] *** donguston has quit IRC
[04:57:12] *** donguston has joined #angularjs
[04:58:48] *** lorezzed has joined #angularjs
[04:59:45] *** kp666 has joined #angularjs
[05:00:06] *** sakustar has quit IRC
[05:04:01] *** ensyde has quit IRC
[05:04:41] *** ensyde has joined #angularjs
[05:05:36] *** ensyde has joined #angularjs
[05:06:38] *** tesarek has joined #angularjs
[05:07:52] *** ensyde has quit IRC
[05:08:17] *** ensyde has joined #angularjs
[05:09:22] *** amdi_ has quit IRC
[05:09:27] *** baweaver has joined #angularjs
[05:10:21] *** rchavik has joined #angularjs
[05:11:35] *** bbankes_ has quit IRC
[05:14:55] *** baweaver has quit IRC
[05:18:08] *** smccarthy has quit IRC
[05:19:57] *** macwinner has quit IRC
[05:20:30] *** macwinner has joined #angularjs
[05:21:51] <kegster> When using Promise (bluebird), the .catch() example i've seen has .catch(InvalidTokenError, function(err) {} -- what would the InvalidTokenError be? cusstom error object?
[05:22:02] *** baweaver has joined #angularjs
[05:24:37] *** sakustar has joined #angularjs
[05:24:49] *** heavyhorse has joined #angularjs
[05:25:06] *** macwinner has quit IRC
[05:25:42] *** tesarek has quit IRC
[05:27:16] *** aghiuru has joined #angularjs
[05:27:17] *** tesarek has joined #angularjs
[05:27:29] *** ome has quit IRC
[05:29:28] *** PeterMetz has quit IRC
[05:31:22] *** wontoner has quit IRC
[05:31:59] *** aghiuru has quit IRC
[05:34:38] *** Ir1sh_ has quit IRC
[05:34:53] *** yanivkalfa has joined #angularjs
[05:35:38] *** JohnT has joined #angularjs
[05:35:58] *** tesarek has quit IRC
[05:38:09] *** BobChao87 has joined #angularjs
[05:40:11] <BobChao87> Hi, I was wondering where it might be most appropriate to report an error on the Angular site itself. Might anyone know?
[05:42:10] *** sctskw has quit IRC
[05:43:07] *** realisation has quit IRC
[05:44:46] *** Marble68 has quit IRC
[05:44:54] *** pimlu has joined #angularjs
[05:46:17] *** dlam has joined #angularjs
[05:49:02] *** yanivkalfa has quit IRC
[05:51:26] *** yky_ has joined #angularjs
[05:51:26] *** j_mcnall_ has quit IRC
[05:55:25] *** empyreany has quit IRC
[05:57:29] *** Uptime has joined #angularjs
[05:58:01] *** kman has joined #angularjs
[05:58:43] *** dimtruck is now known as zz_dimtruck
[06:01:31] *** Aliks has joined #angularjs
[06:03:16] *** yanivkalfa has joined #angularjs
[06:05:13] *** wafflejock has joined #angularjs
[06:05:18] *** tesarek has joined #angularjs
[06:05:26] *** Aliks has quit IRC
[06:05:39] *** dcherman has joined #angularjs
[06:06:11] *** db7_ has quit IRC
[06:06:15] *** theblang has quit IRC
[06:06:42] *** shinnya has quit IRC
[06:08:00] *** tesarek has quit IRC
[06:08:07] *** diegoaguilar has joined #angularjs
[06:08:49] *** nilsi has joined #angularjs
[06:13:27] *** zz_dimtruck is now known as dimtruck
[06:14:03] *** rickmak_ has quit IRC
[06:14:54] *** tesarek has joined #angularjs
[06:15:04] *** zeioth_ has quit IRC
[06:15:56] *** nanuko has joined #angularjs
[06:17:25] *** Croves has quit IRC
[06:18:57] *** sbellina has joined #angularjs
[06:20:40] *** tesarek has quit IRC
[06:21:00] *** tesarek has joined #angularjs
[06:21:53] *** sakustar has quit IRC
[06:22:20] *** Viral_ has joined #angularjs
[06:22:53] <Viral_> hi
[06:23:03] *** realisation has joined #angularjs
[06:23:14] *** kman has quit IRC
[06:23:22] *** plutoniix has quit IRC
[06:23:23] <Viral_> can u tell me use of ng-if
[06:23:35] *** BigPoppa has quit IRC
[06:24:58] *** n00bdev has joined #angularjs
[06:25:18] *** tesarek has quit IRC
[06:26:00] *** plutoniix has joined #angularjs
[06:26:26] *** realisation has quit IRC
[06:26:50] *** angularjs_bot has quit IRC
[06:26:58] *** angularjs_bot has joined #angularjs
[06:27:32] *** freeall has joined #angularjs
[06:28:09] *** Viral_ has quit IRC
[06:29:17] *** tesarek has joined #angularjs
[06:29:33] *** nanuko has quit IRC
[06:29:39] *** sakustar has joined #angularjs
[06:29:51] *** Ozd has joined #angularjs
[06:30:01] *** regedit has joined #angularjs
[06:30:12] *** nanuko has joined #angularjs
[06:32:05] *** freeall has quit IRC
[06:32:25] *** realisation has joined #angularjs
[06:34:02] *** schneider has quit IRC
[06:38:18] *** tesarek has quit IRC
[06:38:26] *** nanuko has quit IRC
[06:38:46] *** tesarek has joined #angularjs
[06:39:15] *** nanuko has joined #angularjs
[06:40:42] *** tesarek has quit IRC
[06:41:05] *** BahamutW_ has joined #angularjs
[06:42:14] *** BahamutWC|Work has quit IRC
[06:43:06] *** Voyage has quit IRC
[06:45:31] *** JohnT has quit IRC
[06:46:08] *** BahamutW_ has quit IRC
[06:46:42] *** d has joined #angularjs
[06:46:46] *** OtherAllan has quit IRC
[06:46:52] *** BahamutWC|Work has joined #angularjs
[06:47:03] *** d has quit IRC
[06:48:39] *** ycon_ has joined #angularjs
[06:49:09] *** freeall has joined #angularjs
[06:49:29] *** pingupingu has quit IRC
[06:52:44] *** fiddo has quit IRC
[06:53:10] *** ycon_ has quit IRC
[06:53:20] *** BobChao87 has quit IRC
[06:53:59] <lorezzed> Viral_ its like ng-show but removes the elements' scope instead of just hiding the element (which gives better performance)
[06:54:20] *** soee has joined #angularjs
[06:54:52] *** freeall has quit IRC
[06:56:40] *** asd has joined #angularjs
[06:57:22] *** tristanp has joined #angularjs
[06:58:33] *** cap has joined #angularjs
[06:58:39] *** tristanp has quit IRC
[06:58:47] *** josdeha_rt has joined #angularjs
[07:02:23] *** pimpin has joined #angularjs
[07:02:27] *** cap has quit IRC
[07:03:47] *** tesarek has joined #angularjs
[07:05:51] *** sbellina has quit IRC
[07:06:20] *** tesarek has quit IRC
[07:06:26] *** tristanp has joined #angularjs
[07:06:56] *** splixt has joined #angularjs
[07:08:01] *** tesarek has joined #angularjs
[07:08:44] *** benvantende has joined #angularjs
[07:09:50] *** Helheim has quit IRC
[07:10:41] *** rscata has joined #angularjs
[07:10:43] *** rickmak has joined #angularjs
[07:11:55] *** sbellina has joined #angularjs
[07:12:00] *** rickmak has quit IRC
[07:13:01] *** Danielyan has joined #angularjs
[07:14:06] *** zivester has quit IRC
[07:15:22] *** plekplek has joined #angularjs
[07:15:58] *** juddey has quit IRC
[07:17:36] *** n00bdev has quit IRC
[07:18:05] *** ModFather has quit IRC
[07:18:53] *** dimtruck is now known as zz_dimtruck
[07:19:08] *** ril has joined #angularjs
[07:19:23] *** pimlu has quit IRC
[07:19:38] *** zeezey has quit IRC
[07:19:52] *** tesarek has quit IRC
[07:23:17] *** JohnT has joined #angularjs
[07:24:25] *** fairuz has joined #angularjs
[07:24:38] *** rickmak has joined #angularjs
[07:25:43] *** speaking1ode has quit IRC
[07:27:08] *** amitkinor has quit IRC
[07:27:48] *** pimpin has quit IRC
[07:29:03] *** ferr has joined #angularjs
[07:29:56] *** fixl has joined #angularjs
[07:30:53] *** josdeha_rt has quit IRC
[07:32:35] *** p0k0 has quit IRC
[07:32:53] *** kp666 has quit IRC
[07:33:09] *** encryptd_fractal has joined #angularjs
[07:33:48] *** edrocks__ has quit IRC
[07:34:21] *** sigurding has joined #angularjs
[07:34:23] *** ferr has quit IRC
[07:34:32] *** TyrfingMjolnir has quit IRC
[07:35:30] *** nanuko has quit IRC
[07:36:40] *** juddey has joined #angularjs
[07:37:50] *** encryptd_fractal has quit IRC
[07:38:50] *** yanivkalfa has quit IRC
[07:42:16] *** p0k0 has joined #angularjs
[07:45:05] *** Limarson has joined #angularjs
[07:45:07] *** sasidhar has joined #angularjs
[07:45:48] <sasidhar> adding ROUTER_PROVIDER to bootstrap breaks the application
[07:46:04] <sasidhar> any help regarding this?
[07:46:22] <sasidhar> Error: Cannot read property 'getOptional' of undefined
[07:46:37] <sasidhar> I am using system.js with babel and es6
[07:48:21] *** cliluw has quit IRC
[07:49:12] *** punknroll has joined #angularjs
[07:49:21] *** Leon has joined #angularjs
[07:49:34] *** cliluw has joined #angularjs
[07:50:23] *** cliluw has quit IRC
[07:52:40] *** rchavik has quit IRC
[07:52:42] *** punknroll has quit IRC
[07:52:42] *** iateadonut1 has joined #angularjs
[07:52:59] *** iateadonut has quit IRC
[07:53:06] *** punknroll has joined #angularjs
[07:54:57] *** jordandotdev has joined #angularjs
[07:56:50] *** donguston has quit IRC
[07:56:56] *** rickmak has quit IRC
[07:57:12] *** donguston has joined #angularjs
[08:00:48] *** freeall has joined #angularjs
[08:05:14] *** rchavik has joined #angularjs
[08:06:11] *** xylen_ has quit IRC
[08:06:57] *** regedit has quit IRC
[08:08:03] *** aliocha has quit IRC
[08:10:15] *** Sky[x] has joined #angularjs
[08:10:23] *** Danielyan has quit IRC
[08:11:09] *** bbarke has quit IRC
[08:12:19] *** chris___ has quit IRC
[08:12:34] *** markalanevans has joined #angularjs
[08:13:40] *** ilmgb has joined #angularjs
[08:15:10] *** sbellina has quit IRC
[08:16:55] *** kp666 has joined #angularjs
[08:17:02] *** realisation has quit IRC
[08:17:03] *** kp666 has quit IRC
[08:17:12] *** JohnT has quit IRC
[08:17:30] *** kp666 has joined #angularjs
[08:19:15] *** ilmgb has quit IRC
[08:20:36] *** kp666 has joined #angularjs
[08:20:36] *** johnkevinmbasco has joined #angularjs
[08:21:20] *** kp666 has quit IRC
[08:21:44] *** kp666 has joined #angularjs
[08:23:28] *** rickmak_ has joined #angularjs
[08:26:06] *** kuadrosx has quit IRC
[08:26:38] *** Riidio has joined #angularjs
[08:29:26] *** markalanevans has quit IRC
[08:30:28] *** markalanevans has joined #angularjs
[08:30:51] *** freeall has quit IRC
[08:31:59] *** qdk has quit IRC
[08:32:53] *** ilmgb has joined #angularjs
[08:33:21] *** jstroem has joined #angularjs
[08:33:28] <sasidhar> help
[08:34:03] *** punknroll has quit IRC
[08:34:06] <sasidhar> index users
[08:34:13] *** taufans has joined #angularjs
[08:35:15] *** thirdknife has joined #angularjs
[08:35:47] *** punknroll has joined #angularjs
[08:36:05] *** taufans has quit IRC
[08:36:56] *** Debnet has joined #angularjs
[08:37:24] *** jstroem has quit IRC
[08:38:28] *** svycka has joined #angularjs
[08:40:20] *** freeall has joined #angularjs
[08:42:24] *** ycon_ has joined #angularjs
[08:43:20] *** plutoniix has quit IRC
[08:43:42] *** k1ng4400 has quit IRC
[08:44:21] *** k1ng4400 has joined #angularjs
[08:44:22] *** k1ng4400 has joined #angularjs
[08:45:15] *** freeall has quit IRC
[08:45:27] *** plutoniix has joined #angularjs
[08:45:47] *** dutis has joined #angularjs
[08:46:27] <kakashiAL> how can I use a file path for $templateCache?
[08:47:02] *** dan2k3k4 has joined #angularjs
[08:47:08] *** ycon_ has quit IRC
[08:48:35] *** dutis has quit IRC
[08:48:36] *** hefox has joined #angularjs
[08:49:26] *** icebox has joined #angularjs
[08:50:39] *** hdeshev has joined #angularjs
[08:51:13] *** jstroem has joined #angularjs
[08:53:04] *** markalanevans has quit IRC
[08:53:46] *** brollypop has joined #angularjs
[08:55:16] *** Z00t has joined #angularjs
[08:56:06] *** Oog has joined #angularjs
[08:56:06] *** fiddo has joined #angularjs
[08:56:12] *** jstroem has joined #angularjs
[08:56:18] *** zagaza has quit IRC
[08:57:28] *** Shine-neko has joined #angularjs
[08:58:56] *** squeakytoy has quit IRC
[08:59:19] *** squeakytoy has joined #angularjs
[08:59:56] *** george_v has joined #angularjs
[09:00:24] *** iateadonut has joined #angularjs
[09:01:21] *** Z00t has quit IRC
[09:01:27] <Debnet> Hello.
[09:01:40] *** Z00t has joined #angularjs
[09:01:50] *** fees has joined #angularjs
[09:02:18] *** iateadonut1 has quit IRC
[09:02:43] *** jakutis has joined #angularjs
[09:03:07] *** warpx has joined #angularjs
[09:03:27] *** TyrfingMjolnir has joined #angularjs
[09:03:46] *** asteele has quit IRC
[09:03:56] *** diegoaguilar has quit IRC
[09:06:01] *** warpx has quit IRC
[09:07:31] *** Shine-neko has quit IRC
[09:10:00] *** tarnus_ has quit IRC
[09:11:43] *** tarnus has joined #angularjs
[09:12:38] *** mchammer has joined #angularjs
[09:13:06] *** Riidio has quit IRC
[09:13:30] *** Dmitri has joined #angularjs
[09:13:32] *** Riidio has joined #angularjs
[09:13:41] *** tarnus_ has joined #angularjs
[09:14:30] *** riddle_ has joined #angularjs
[09:14:58] *** tarnus_ has quit IRC
[09:15:33] *** tarnus_ has joined #angularjs
[09:16:01] *** TyrfingMjolnir has quit IRC
[09:16:33] *** johnkevinmbasco has quit IRC
[09:16:42] *** TyrfingMjolnir has joined #angularjs
[09:16:55] *** tarnus_ has quit IRC
[09:17:25] *** tarnus_ has joined #angularjs
[09:17:38] *** tarnus has quit IRC
[09:18:26] *** yusufg has joined #angularjs
[09:18:43] *** tarnus_ has quit IRC
[09:19:06] *** dopesong has joined #angularjs
[09:19:09] *** AndrewIsh has joined #angularjs
[09:19:17] *** tarnus has joined #angularjs
[09:19:25] *** white_magic has quit IRC
[09:20:10] *** asteele has joined #angularjs
[09:20:27] *** tarnus has quit IRC
[09:20:57] *** tarnus has joined #angularjs
[09:21:11] *** yusufg has left #angularjs
[09:22:46] *** tarnus_ has joined #angularjs
[09:22:59] *** tarnus has quit IRC
[09:23:03] *** ril has quit IRC
[09:23:35] *** dopesong has quit IRC
[09:24:28] *** nocturne777 has quit IRC
[09:24:38] *** tarnus has joined #angularjs
[09:25:35] <kakashiAL> how can I use a file path for $templateCache?
[09:25:53] <kakashiAL> at the moment I just use html inline strings :/
[09:26:10] *** tarnus has quit IRC
[09:26:25] *** tarnus has joined #angularjs
[09:26:58] *** ilmgb_ has joined #angularjs
[09:27:40] *** fiddo has quit IRC
[09:27:51] *** tarnus has quit IRC
[09:28:11] *** Burgerz has joined #angularjs
[09:28:14] *** tarnus has joined #angularjs
[09:28:15] *** tarnus_ has quit IRC
[09:29:05] *** ilmgb has quit IRC
[09:29:33] *** tarnus has quit IRC
[09:29:35] *** freeall has joined #angularjs
[09:30:02] *** Hounddog has joined #angularjs
[09:30:03] *** tarnus has joined #angularjs
[09:30:25] <dan2k3k4> directives/nameDirective.js or directives/name.js ?
[09:30:42] <dan2k3k4> and also for models/<name>Model? Controllers etc.
[09:31:10] *** Burgerz has quit IRC
[09:31:15] <kakashiAL> I like name.directive.js
[09:31:23] *** dopesong has joined #angularjs
[09:31:29] <kakashiAL> name.model.js
[09:31:40] <kakashiAL> name.controller.js
[09:31:53] *** tarnus_ has joined #angularjs
[09:31:54] *** tarnus has quit IRC
[09:32:16] <kakashiAL> dan2k3k4: just search for one styleguide and stick to it
[09:32:22] <kakashiAL> consitency is much more important!
[09:32:35] <dan2k3k4> yeah the problem is this site/work is not consistent heh
[09:32:47] <dan2k3k4> there's nameDirective.js name.directive.js and name.js -_-
[09:33:10] <dan2k3k4> [for 3 diff directives - they're not named all name, just the style is different each time]
[09:33:24] *** tarnus_ has quit IRC
[09:33:41] *** tarnus has joined #angularjs
[09:34:10] <dan2k3k4> I do prefer having .controller or .model or .directive in the name - makes for easy search after in PhpStorm
[09:34:55] *** dopesong has quit IRC
[09:35:05] *** tarnus has quit IRC
[09:35:12] *** thinley has joined #angularjs
[09:35:33] *** tarnus has joined #angularjs
[09:35:35] *** tangorri has joined #angularjs
[09:35:49] *** thinley has quit IRC
[09:36:03] *** vpi has joined #angularjs
[09:37:04] *** tarnus has quit IRC
[09:37:17] *** Oog has quit IRC
[09:37:19] *** tarnus has joined #angularjs
[09:37:29] <dan2k3k4> kakashiAL what about config values? separate from module.js file into config.js or similar ?
[09:38:10] <kakashiAL> I am following the john papa style guide
[09:38:33] <kakashiAL> so it depends on you what you like and what you want to follow
[09:38:37] *** tarnus has quit IRC
[09:38:42] <kakashiAL> but stick to one
[09:39:11] *** tarnus has joined #angularjs
[09:39:55] *** ahaeger has joined #angularjs
[09:40:39] *** pbxman has joined #angularjs
[09:40:53] *** tarnus_ has joined #angularjs
[09:41:02] <pbxman> Good morning
[09:41:44] *** dlam has quit IRC
[09:42:17] *** tarnus_ has quit IRC
[09:42:43] *** tarnus_ has joined #angularjs
[09:43:23] *** riddle_ has quit IRC
[09:43:26] *** tbo_ has joined #angularjs
[09:44:07] *** tarnus_ has quit IRC
[09:44:33] *** tarnus_ has joined #angularjs
[09:44:35] *** tarnus has quit IRC
[09:45:54] *** tarnus_ has quit IRC
[09:46:00] *** Riidio has quit IRC
[09:46:15] *** Riidio has joined #angularjs
[09:46:27] *** tarnus has joined #angularjs
[09:46:33] *** w0rp has quit IRC
[09:47:51] *** guilbep has joined #angularjs
[09:48:04] *** tarnus has quit IRC
[09:48:15] *** tarnus has joined #angularjs
[09:49:27] *** Danielyan has joined #angularjs
[09:49:57] *** tarnus_ has joined #angularjs
[09:50:09] *** tarnus has quit IRC
[09:50:28] *** devians has quit IRC
[09:51:15] *** tarnus_ has quit IRC
[09:51:51] *** tarnus has joined #angularjs
[09:52:35] *** p0k0 has quit IRC
[09:53:18] *** tarnus has quit IRC
[09:53:32] *** heavyhorse has quit IRC
[09:53:38] *** tarnus has joined #angularjs
[09:54:38] *** devians has joined #angularjs
[09:54:54] *** tarnus has quit IRC
[09:55:11] *** GeekJon has joined #angularjs
[09:55:24] *** tarnus has joined #angularjs
[09:56:13] *** shadowrunner has joined #angularjs
[09:56:37] *** shadowrunner is now known as Guest46299
[09:56:46] *** devians has quit IRC
[09:56:53] *** tarnus has quit IRC
[09:57:12] *** tarnus has joined #angularjs
[09:57:37] *** devians has joined #angularjs
[09:57:47] *** Cokee has joined #angularjs
[09:58:45] *** tarnus has quit IRC
[09:59:01] *** tarnus has joined #angularjs
[09:59:45] *** marthinal has joined #angularjs
[09:59:46] *** Misere has joined #angularjs
[10:00:04] *** Dmitri has quit IRC
[10:00:22] *** tarnus has quit IRC
[10:01:08] *** erol has joined #angularjs
[10:01:08] *** tarnus has joined #angularjs
[10:01:14] *** illume has joined #angularjs
[10:01:26] *** davi has joined #angularjs
[10:01:27] *** davi has joined #angularjs
[10:02:14] *** tarnus has quit IRC
[10:02:46] *** tarnus has joined #angularjs
[10:02:48] *** freeall has quit IRC
[10:04:06] *** tarnus has quit IRC
[10:04:34] *** tarnus has joined #angularjs
[10:04:38] *** hefox has quit IRC
[10:05:47] *** tarnus has quit IRC
[10:06:19] *** tarnus has joined #angularjs
[10:07:41] *** tarnus has quit IRC
[10:08:08] *** dopesong_ has joined #angularjs
[10:08:10] *** tarnus has joined #angularjs
[10:09:32] *** aghiuru has joined #angularjs
[10:09:33] *** tarnus has quit IRC
[10:09:54] *** tarnus has joined #angularjs
[10:10:16] *** plutoniix has quit IRC
[10:11:12] *** tarnus has quit IRC
[10:11:30] *** freeall has joined #angularjs
[10:11:48] *** tarnus has joined #angularjs
[10:12:20] *** Daerist` has joined #angularjs
[10:12:49] *** Ronrun has joined #angularjs
[10:13:07] *** tarnus has quit IRC
[10:13:38] *** tarnus has joined #angularjs
[10:14:08] *** BigPoppa has joined #angularjs
[10:14:50] *** Odarys has quit IRC
[10:15:25] *** tarnus_ has joined #angularjs
[10:15:29] *** tarnus has quit IRC
[10:15:48] *** fairuz1 has joined #angularjs
[10:15:55] *** asteele has quit IRC
[10:17:11] *** tarnus has joined #angularjs
[10:17:18] *** dromar56 has joined #angularjs
[10:17:23] *** tarnus_ has quit IRC
[10:18:26] *** dromar56 has quit IRC
[10:18:27] *** drptbl has joined #angularjs
[10:18:32] *** tarnus has quit IRC
[10:18:47] *** fairuz has quit IRC
[10:19:03] *** dromar56 has joined #angularjs
[10:19:19] *** tarnus has joined #angularjs
[10:19:20] *** plutoniix has joined #angularjs
[10:20:29] *** bealtine has quit IRC
[10:20:49] *** tarnus_ has joined #angularjs
[10:22:41] *** tarnus_ has joined #angularjs
[10:22:59] *** drptbl_ has joined #angularjs
[10:23:29] *** tarnus has quit IRC
[10:23:58] *** tarnus_ has quit IRC
[10:24:25] *** tarnus has joined #angularjs
[10:24:48] *** fiddo has joined #angularjs
[10:24:57] *** drptbl has quit IRC
[10:25:31] *** devians has quit IRC
[10:25:47] *** tarnus has quit IRC
[10:26:17] *** tarnus has joined #angularjs
[10:26:20] *** riddle_ has joined #angularjs
[10:26:43] *** fscala has quit IRC
[10:27:42] *** tarnus has quit IRC
[10:27:56] *** TakumoKatekari is now known as Takumo
[10:28:03] *** tarnus has joined #angularjs
[10:28:03] *** evilaliv3 has joined #angularjs
[10:29:25] *** tarnus has quit IRC
[10:29:41] *** fscala has joined #angularjs
[10:29:58] *** tarnus has joined #angularjs
[10:31:17] *** tarnus has quit IRC
[10:31:34] *** ensyde has quit IRC
[10:31:43] *** tarnus has joined #angularjs
[10:32:15] *** jlebrech has joined #angularjs
[10:32:22] *** fairuz1 has left #angularjs
[10:32:40] *** empyreany has joined #angularjs
[10:32:58] *** kurcanu has joined #angularjs
[10:33:07] *** tarnus has quit IRC
[10:33:31] *** tarnus has joined #angularjs
[10:34:41] *** senayar has joined #angularjs
[10:35:21] *** tarnus_ has joined #angularjs
[10:35:28] *** tarnus has quit IRC
[10:36:42] *** tarnus_ has quit IRC
[10:36:55] *** tbo_ has quit IRC
[10:37:10] *** tarnus has joined #angularjs
[10:37:30] *** jenelizabeth_ has quit IRC
[10:37:31] *** kurcanu has quit IRC
[10:37:35] *** soee_ has joined #angularjs
[10:38:30] *** tarnus has quit IRC
[10:39:01] *** tarnus has joined #angularjs
[10:39:32] *** soee has quit IRC
[10:40:06] *** sbasso has joined #angularjs
[10:40:23] *** tarnus has quit IRC
[10:40:47] *** tarnus has joined #angularjs
[10:41:01] *** BigBangUDR has joined #angularjs
[10:41:23] *** lorezzed has quit IRC
[10:42:17] *** tarnus has quit IRC
[10:42:37] *** tarnus has joined #angularjs
[10:43:23] *** juddey has quit IRC
[10:43:30] *** rickmak_ has quit IRC
[10:44:06] *** tarnus has quit IRC
[10:44:30] *** tarnus has joined #angularjs
[10:45:25] *** vrockai has joined #angularjs
[10:45:45] *** tarnus has quit IRC
[10:45:59] *** Sham has joined #angularjs
[10:46:15] *** tarnus has joined #angularjs
[10:46:26] *** rickmak_ has joined #angularjs
[10:46:28] <Sham> Hi Team
[10:46:46] *** Imaginativeone has joined #angularjs
[10:46:57] *** jenelizabeth_ has joined #angularjs
[10:47:12] *** BigBangUDR has quit IRC
[10:47:34] *** tarnus has quit IRC
[10:47:40] *** rickmak_ has quit IRC
[10:48:09] *** tarnus has joined #angularjs
[10:48:55] *** Imaginativeone has quit IRC
[10:49:26] *** tarnus has quit IRC
[10:49:52] *** tarnus has joined #angularjs
[10:50:12] *** rickmak_ has joined #angularjs
[10:50:41] *** NikolaS has joined #angularjs
[10:51:12] *** tarnus has quit IRC
[10:51:20] *** NikolaS has quit IRC
[10:51:44] *** tarnus has joined #angularjs
[10:53:06] *** tarnus has quit IRC
[10:53:33] *** tarnus has joined #angularjs
[10:55:06] *** tarnus has quit IRC
[10:55:11] *** BigBangUDR has joined #angularjs
[10:55:30] *** tarnus has joined #angularjs
[10:56:46] *** tarnus has quit IRC
[10:57:08] *** tarnus has joined #angularjs
[10:57:30] <pagios> is there any alternative of wordpress/php in nodejs/javascript backend?
[10:58:40] *** tarnus has quit IRC
[10:59:15] *** riddle_ has quit IRC
[10:59:55] *** craisins has quit IRC
[11:00:26] *** bytearcher has quit IRC
[11:00:53] *** tarnus has joined #angularjs
[11:00:55] *** blindbox has quit IRC
[11:00:56] *** BigBangUDR has quit IRC
[11:00:59] *** turbolih1s has joined #angularjs
[11:01:07] *** josuebc has quit IRC
[11:01:12] *** jcara_ has quit IRC
[11:01:15] *** maxkon_ has joined #angularjs
[11:01:41] *** maxkon has quit IRC
[11:01:56] *** tuomari has quit IRC
[11:02:04] *** qdk has joined #angularjs
[11:02:09] *** tuomari has joined #angularjs
[11:02:16] *** burzum has joined #angularjs
[11:02:16] *** tarnus_ has joined #angularjs
[11:02:17]
<burzum> Any ideas how to debug this? See line 58 http://pastebin.com/RLkACFj6 The log in line 68 shows me the result, in my network tab I can see that the view is loaded and that the json data is loaded as well. but the controller is not triggered for some reason but no error at all in the console.
[11:02:17] *** tarnus_ has quit IRC
[11:02:17] *** turbolihis has quit IRC
[11:02:20] *** kegster has quit IRC
[11:02:20] *** kegster has joined #angularjs
[11:02:20] *** bytearcher has joined #angularjs
[11:02:24] *** tarnus has quit IRC
[11:02:39] *** tarnus has joined #angularjs
[11:02:41] *** kegster has quit IRC
[11:02:42] *** kegster has joined #angularjs
[11:02:55] *** craisins has joined #angularjs
[11:03:20] *** jcara has joined #angularjs
[11:03:31] *** ahaeger has quit IRC
[11:03:56] *** tarnus has quit IRC
[11:04:29] *** tarnus has joined #angularjs
[11:05:35] *** blindbox has joined #angularjs
[11:05:52] *** tarnus has quit IRC
[11:06:16] *** tarnus has joined #angularjs
[11:06:46] *** warpx has joined #angularjs
[11:07:32] *** tarnus has quit IRC
[11:08:04] *** tarnus has joined #angularjs
[11:08:21] *** Helheim has joined #angularjs
[11:08:23] *** ilmgb has joined #angularjs
[11:09:13] *** mischat has joined #angularjs
[11:09:49] *** tarnus has quit IRC
[11:09:53] *** tarnus_ has joined #angularjs
[11:10:02] *** yky_ has quit IRC
[11:10:14] *** riddle_ has joined #angularjs
[11:10:55] *** lnrdo has joined #angularjs
[11:11:41] *** tarnus has joined #angularjs
[11:11:59] *** ilmgb_ has quit IRC
[11:13:07] *** tarnus has quit IRC
[11:13:31] *** tarnus has joined #angularjs
[11:15:08] *** tarnus has quit IRC
[11:15:17] *** tarnus has joined #angularjs
[11:15:30] *** tarnus_ has quit IRC
[11:15:37] *** warpx has quit IRC
[11:15:46] *** yozilla has joined #angularjs
[11:16:39] *** tarnus has quit IRC
[11:17:12] *** tarnus has joined #angularjs
[11:18:24] *** tarnus has quit IRC
[11:18:58] *** tarnus has joined #angularjs
[11:20:10] *** tarnus has quit IRC
[11:20:46] *** tarnus has joined #angularjs
[11:21:57] *** suprgrvr has joined #angularjs
[11:22:38] *** tarnus_ has joined #angularjs
[11:22:40] <icebox> burzum: what does it mean "the controller is not triggered"? do you mean profile info are not rendered?
[11:23:08] *** Tennis has joined #angularjs
[11:23:23] <kakashiAL> how can I use a file path for $templateCache?
[11:23:24] <kakashiAL> at the moment I just use html inline strings :/
[11:23:55] *** tarnus_ has quit IRC
[11:23:58] *** fly_boyz has quit IRC
[11:24:24] *** tarnus_ has joined #angularjs
[11:25:37] *** tarnus_ has quit IRC
[11:25:41] *** ahaeger has joined #angularjs
[11:26:09] *** tarnus_ has joined #angularjs
[11:26:20] *** tarnus has quit IRC
[11:26:46] *** fly_boyz has joined #angularjs
[11:27:24] *** tarnus_ has quit IRC
[11:28:00] *** tarnus has joined #angularjs
[11:29:15] *** tarnus has quit IRC
[11:29:49] *** tarnus has joined #angularjs
[11:30:37] *** speeddragon has joined #angularjs
[11:31:04] *** tarnus has quit IRC
[11:31:16] *** db7_ has joined #angularjs
[11:31:36] *** tarnus has joined #angularjs
[11:32:21] *** j_mcnally has joined #angularjs
[11:34:15] <waka_flocka> is there a way to control calls to service
[11:34:28] <waka_flocka> i have directives that communicate to a service
[11:34:49] <waka_flocka> but i need them to call methods after the service loads data from API
[11:35:05] *** j_mcnally has quit IRC
[11:35:09] <waka_flocka> that one call to api is async
[11:35:22] <waka_flocka> so the directive approach it
[11:35:32] <waka_flocka> the service, before the a sync call is completed :\
[11:36:25] *** tarnus has quit IRC
[11:37:24] *** Tennis has left #angularjs
[11:37:32] *** heavyhorse has joined #angularjs
[11:37:49] <icebox> waka_flocka: the service should use promises
[11:38:58] <waka_flocka> thought i could avoid it
[11:39:18] <waka_flocka> so if the service uses promises this will help me keep track of the calls?
[11:39:44] <waka_flocka> i got a parent controller that initializes the service
[11:39:59] <icebox> waka_flocka: in the .then part you got the results of the async call
[11:40:42] <waka_flocka> icebox: i only have one async call to my api, inside the service
[11:40:58] <waka_flocka> and in the callback method im assiging the data to a service variable
[11:41:12] <waka_flocka> then child directive uses a method to retrive that variable
[11:41:27] <waka_flocka> thing is it gets an empty var
[11:41:29] <waka_flocka> undefined
[11:41:51] <icebox> waka_flocka: surely you are breaking the reference... because that flow is done automagically
[11:42:06] <waka_flocka> one sec
[11:42:13] <icebox> waka_flocka: check "assiging the data to a service variable"
[11:43:39] *** riddle_ has quit IRC
[11:44:20] *** sbasso has quit IRC
[11:44:50] *** _root has joined #angularjs
[11:46:36] *** plekplek_ has joined #angularjs
[11:47:03] <waka_flocka> icebox: can you take a loog
[11:47:05] <waka_flocka> look
[11:47:24] <waka_flocka> start with the parent.js - then service.js - then child.js
[11:47:58] *** soee has joined #angularjs
[11:48:23] <icebox> waka_flocka: breaking the reference... :) see angular.extend or angular.merge when you update the references passed from service to controller
[11:48:41] <kakashiAL> icebox: do you know how to tell $templateCache to use a file path rather than a html-string?
[11:48:57] <waka_flocka> icebox: thanks.
[11:49:01] <waka_flocka> will come back to update
[11:49:50] *** soee_ has quit IRC
[11:49:54] <icebox> waka_flocka: recap what I mean... are you there?
[11:50:08] <waka_flocka> yes
[11:50:12] <waka_flocka> what do you mean recap
[11:50:30] <waka_flocka> i need to re-evaluate my architecture?
[11:51:19] <icebox> waka_flocka: in controller usually we have vm.myData = myService.getMyData();... in some code of the service you cannot write myData = myNewData;
[11:51:59] <icebox> waka_flocka: because the controller has the old reference (myData) and you are overwriting it with a new reference, myNewData
[11:52:06] <icebox> waka_flocka: I hope that make sense
[11:52:41] <kakashiAL> icebox: any idea?:(
[11:53:47] <icebox> waka_flocka: very tiny examples to show the point
[11:54:30] <waka_flocka> icebox: but im making an async call on the service, and assiging a varibale on the service itself inside the callback function
[11:54:43] <waka_flocka> then a child directive call the getData
[11:55:01] <icebox> waka_flocka: same thing :)
[11:55:03] *** disconnected has joined #angularjs
[11:55:06] <disconnected> Hey, We have a web app (angular based) that causes a 100% CPU usage from time to time. Starting a profile using chrome developer tools does not help because once the browser tab peaks on cpu, it's not possible to make a memory dump - only action possible is to kill the tab using chromes task manager.
[11:55:06] <disconnected> Does anyone know a tool that will be able to make a dump containing the stack trace or can suggest a way to diagnose the problem?
[11:55:13] <waka_flocka> so your saying each directive has to be updated?
[11:55:14] *** empyreany has quit IRC
[11:55:17] <waka_flocka> with the service
[11:55:47] <waka_flocka> illill check the examples and come back to update
[11:56:07] *** sbasso has joined #angularjs
[11:56:40] <icebox> waka_flocka: automagically until the directive
[11:56:57] <icebox> waka_flocka: when data is correctly updated in the service
[11:57:08] <icebox> waka_flocka: (and maybe passed as attibute to the directive)
[11:57:27] <icebox> waka_flocka: off for a break
[11:57:55] *** pulaski has quit IRC
[11:58:12] *** CanyonMan has quit IRC
[11:58:29] *** freeall has quit IRC
[12:00:38] *** phrozensilver has joined #angularjs
[12:01:02] *** pulaski has joined #angularjs
[12:01:15] *** dan2k3k4 has quit IRC
[12:02:22] *** Daerist` has quit IRC
[12:03:04] *** maximski has joined #angularjs
[12:03:21] *** BigBangUDR has joined #angularjs
[12:05:20] *** yurinator has joined #angularjs
[12:07:59] *** Z00t has quit IRC
[12:09:40] *** yanivkalfa has joined #angularjs
[12:09:49] *** elyssonmr has joined #angularjs
[12:11:38] *** phrozensilver has quit IRC
[12:11:59] *** AndrewIsh has quit IRC
[12:12:52] *** AndrewIsh has joined #angularjs
[12:15:24] *** Sham has quit IRC
[12:16:29] *** Coldblackice has quit IRC
[12:16:36] *** pbgc has joined #angularjs
[12:16:58] *** joeco_x has quit IRC
[12:19:06] *** Bloomer has quit IRC
[12:20:44] *** spaceonline has joined #angularjs
[12:21:45] *** xdotcommer has joined #angularjs
[12:25:30] *** xdotcomm_ has quit IRC
[12:25:30] <BigPoppa> anyone here have experience with this thing called BrowserStack? what are your views/opinions of it?
[12:27:46] *** yanivkalfa has quit IRC
[12:28:39] *** Leon has quit IRC
[12:29:02] *** riddle_ has joined #angularjs
[12:29:41] *** arizzo has quit IRC
[12:31:09] *** mellernoia has joined #angularjs
[12:31:10] *** cyan__ has joined #angularjs
[12:32:00] *** rickmak_ has quit IRC
[12:34:47] *** freeall has joined #angularjs
[12:36:15] *** iraj has quit IRC
[12:40:00] *** cornerma1 has joined #angularjs
[12:42:00] *** yanivkalfa has joined #angularjs
[12:42:02] *** sbasso has quit IRC
[12:43:04] *** cornerman has quit IRC
[12:43:05] *** cornerma1 is now known as cornerman
[12:43:14] *** lnrdo has quit IRC
[12:43:47] *** lnrdo has joined #angularjs
[12:44:16] *** soee has quit IRC
[12:45:07] *** soee has joined #angularjs
[12:45:11] *** lnrdo has quit IRC
[12:45:18] *** Germanaz0 has joined #angularjs
[12:45:24] *** lnrdo has joined #angularjs
[12:48:27] *** jordandotdev has quit IRC
[12:49:38] *** iraj has joined #angularjs
[12:50:37] *** ferr has joined #angularjs
[12:54:55] *** sbasso has joined #angularjs
[12:55:12] *** Misere has quit IRC
[12:57:05] *** liamonade has joined #angularjs
[12:58:39] <littleli> Hi guys, I need to access RouteParams from an injectable service but I cannot make things work - it gives me exception like this: EXCEPTION: No provider for RouteParams! What should I do? Documentation does not help much.
[12:58:58] <littleli> ^ ng2
[13:02:15] <cyan__> littleli: have you added ngRoute module to Your app? it seems that it cannot find routeParams service, since it's located in ngRoute module
[13:02:26] <hdeshev> littleli: you need to register ROUTER_PROVIDERS with your bootstrap
[13:02:36] *** sigurding has quit IRC
[13:02:53] *** leolrrj has joined #angularjs
[13:03:03] <littleli> cyan__: does this apply to angular2 ?
[13:03:33] <littleli> hdeshev: I have it registered with bootstrap :/
[13:04:26] *** Misere has joined #angularjs
[13:05:44] *** suprgrvr has quit IRC
[13:06:11] <hdeshev> When does that injectable service get created? My next guess is the router/router outlet sets up the RouteParams provider, and the service isn't created in a child injector.
[13:07:15] *** Falook has quit IRC
[13:08:36] *** dan2k3k4 has joined #angularjs
[13:09:08] *** Misere has quit IRC
[13:09:10] <cyan__> littleli: i don't know, but the error message seems simillar to problem with Dependency Injection - wrong service name or no service in 1.4
[13:10:16] <cyan__> littleli: try to add non existing service and you will get same message
[13:10:46] *** brollypop has quit IRC
[13:12:10] *** sbasso has quit IRC
[13:12:13] *** Germanaz0 has quit IRC
[13:12:27] *** sbasso has joined #angularjs
[13:12:52] *** Germanaz0 has joined #angularjs
[13:14:12] *** schneider has joined #angularjs
[13:15:12] *** Leon has joined #angularjs
[13:16:01] *** nilsi has quit IRC
[13:16:28] *** PeterMetz has joined #angularjs
[13:16:37] *** ycon_ has joined #angularjs
[13:16:56] *** ahaeger has quit IRC
[13:16:58] *** ycon_ has quit IRC
[13:18:18] *** SSO has joined #angularjs
[13:18:20] *** siba has quit IRC
[13:18:28] <SSO> hi every one
[13:18:31] <littleli> hdeshev: I need to check this. I'll let you know.
[13:18:42] <SSO> just one little question
[13:18:46] *** arkin has quit IRC
[13:19:15] <SSO> for which date is planned to release angular 2.0 ?
[13:21:07] *** arkin has joined #angularjs
[13:21:52] *** SSO has quit IRC
[13:23:18] *** brollypop has joined #angularjs
[13:23:24] *** fixl has quit IRC
[13:23:56] *** xylen_ has joined #angularjs
[13:23:57] *** ycon_ has joined #angularjs
[13:25:44] *** miqid has joined #angularjs
[13:26:32] *** jlebrech has quit IRC
[13:26:35] *** ycon_ has quit IRC
[13:27:42] *** elsevero has joined #angularjs
[13:27:48] *** jlebrech has joined #angularjs
[13:28:06] *** davi has quit IRC
[13:28:36] <waka_flocka> icebox: it seems that the service dosent update
[13:28:39] *** Riidio has quit IRC
[13:28:40] *** diosney has joined #angularjs
[13:29:00] <waka_flocka> if i run the app i will load a blank page, but if ill enter another id in the route it will show what i need
[13:29:04] *** Misere has joined #angularjs
[13:29:34] <icebox> waka_flocka: without a plunker reproducing your issue, I cannot be more concrete
[13:30:04] <waka_flocka> just a sec
[13:30:49] *** ahaeger has joined #angularjs
[13:31:02] *** Mediogre has joined #angularjs
[13:31:03] *** senayar has quit IRC
[13:31:27] *** bluezone has quit IRC
[13:31:47] <BigPoppa> hi there. quick question here. I want to be able to load up a single page application. and load up some images into the application but not display them. only to display them later on in the progress of the application. what method can be used?
[13:31:51] *** ahaeger has quit IRC
[13:31:56] *** senayar has joined #angularjs
[13:32:21] *** leolrrj has quit IRC
[13:32:29] *** jlebrech has quit IRC
[13:32:30] *** tarnus has joined #angularjs
[13:33:55] <icebox> BigPoppa: what is your goal? loading the images and displaying them or what?
[13:34:23] *** ahaeger has joined #angularjs
[13:34:25] *** dinesh_ has joined #angularjs
[13:34:35] *** ferr has quit IRC
[13:34:36] *** elperdut_ has joined #angularjs
[13:34:49] <BigPoppa> so at time A i want to load up the images and store them in hard drive. then later on display the image. preferably as a css background-image
[13:34:55] <BigPoppa> at time B
[13:35:17] <icebox> BigPoppa: and what is the issue?
[13:35:36] <BigPoppa> well i want to know what method to use
[13:35:42] *** pbgc has quit IRC
[13:35:44] <BigPoppa> do i store the future image in localstorage?
[13:35:46] *** arkin has quit IRC
[13:35:48] <icebox> BigPoppa: :)
[13:35:58] <icebox> BigPoppa: you are asking to develop an app :)
[13:36:02] <BigPoppa> no no
[13:36:05] <BigPoppa> i have the app
[13:36:17] <BigPoppa> but right now i'm modifying css styles
[13:36:25] <BigPoppa> and theres a flicker happening in google chrome
[13:36:30] *** ModFather has joined #angularjs
[13:36:34] <icebox> BigPoppa: ng-cloack
[13:36:42] *** rchavik has quit IRC
[13:36:42] <BigPoppa> tried it. it does not work
[13:36:46] *** tarnus has quit IRC
[13:37:08] <icebox> BigPoppa: hmmm... are you sure? :)
[13:37:14] <BigPoppa> yes pal
[13:37:24] <BigPoppa> basically theres an image that is supposed to change
[13:37:29] <BigPoppa> when i hover over an element
[13:37:30] *** spaceonl_ has joined #angularjs
[13:37:32] *** leolrrj has joined #angularjs
[13:37:34] <BigPoppa> so it goes from image a to image b
[13:37:43] <BigPoppa> but when i hover the first time on firefox
[13:37:45] <BigPoppa> it flickers
[13:37:54] *** spaceonline has quit IRC
[13:37:56] <BigPoppa> i'm assuming its cause it sends a get request at hover time
[13:38:02] <icebox> BigPoppa: sure
[13:38:05] <BigPoppa> i dont want that. i want the app to load up both image a and image b
[13:38:06] <icebox> BigPoppa: and?
[13:38:08] *** arkin has joined #angularjs
[13:38:09] <BigPoppa> at startup
[13:38:18] <BigPoppa> and then just switch between the 2 at hover
[13:38:20] <BigPoppa> what can be done?
[13:38:47] *** jlebrech has joined #angularjs
[13:38:49] <icebox> BigPoppa: sure... (but it is not related to angular) :)
[13:39:34] <BigPoppa> what is it related to?
[13:39:50] <BigPoppa> is there no way to store an image in sessionStorage?
[13:40:05] <BigPoppa> i change the images at hover event using ng-style
[13:40:15] <BigPoppa> so it must be related to angular
[13:40:23] *** brollypop has quit IRC
[13:40:48] <icebox> BigPoppa: nah... if I use .css, it should related to jquery :)
[13:41:07] <icebox> BigPoppa: goggling is your friend
[13:41:15] <BigPoppa> apparently you're not -__-
[13:42:22] <icebox> BigPoppa: insulting is never a good strategy
[13:42:32] <icebox> BigPoppa: to get help
[13:42:41]
<Browser> Hello. I have this simple code: http://pastebin.com/vMtC2wAW where I am sending the uid from the service to the MainController ($scope.card). The variable tagId in the service is a string but is being copied like that {"1": "2", "4": "5"} instead of "1245". Why? Thanks
[13:42:46] <BigPoppa> well just asking produced the same result, icebox :)
[13:42:53] *** heavyhorse has quit IRC
[13:43:17] <icebox> BigPoppa: up to you as being human, if you prefer insulting
[13:43:39] <BigPoppa> well i'm sorry, icebox
[13:43:46] <BigPoppa> should not have insulted you
[13:44:18] <icebox> BigPoppa: I would look for fast loading static resources
[13:44:30] <BigPoppa> thanks, pal
[13:44:52] <icebox> BigPoppa: give a look in the source code of some carousel widget
[13:45:05] <BigPoppa> :) ur too kind
[13:45:16] *** zeezey has joined #angularjs
[13:45:18] <icebox> BigPoppa: you are welcome
[13:45:28] <BigPoppa> thanks :)
[13:45:52] *** realisation has joined #angularjs
[13:46:28] <waka_flocka> ive read about extend and didn't quite understand
[13:46:39] *** realisation has quit IRC
[13:46:53] <icebox> waka_flocka: that is not a working plunker :)
[13:47:13] *** sigurding has joined #angularjs
[13:47:32] <littleli> hdeshev: if I do the injection to a dummy @Component it actually works ok. So I wonder how DI works for @Injectable() services without UI component, it's weird.
[13:47:48] *** sasidhar has quit IRC
[13:48:01] <waka_flocka> err
[13:48:46] <waka_flocka> like i said, content isn't loaded on the first time
[13:49:00] <waka_flocka> but if change the id in the route cotent is loaded
[13:49:17] <icebox> waka_flocka: it is the same plunker... it is not working
[13:49:29] <BigPoppa> icebox, are you a web developer? may i ask?
[13:49:33] <icebox> BigPoppa: sure
[13:49:44] <BigPoppa> icebox, how do you check browser compatility?
[13:49:48] <BigPoppa> compatibility
[13:49:52] *** quakephil has joined #angularjs
[13:50:18] <icebox> BigPoppa: manually :) (or with e2e tests)
[13:50:18] *** senayar has quit IRC
[13:50:32] *** senayar has joined #angularjs
[13:50:33] *** senayar has joined #angularjs
[13:51:06] <icebox> BigPoppa: nowadays browser compatibility is overrated (unless you need to support IE8/IE9)
[13:51:17] <BigPoppa> icebox, i only have a linux machine and i vm boxed windows xp and use google chrome in that to test with chrome. i have no idea how to test with safari 9 tho
[13:51:40] <BigPoppa> yeah internet explorer fucks up my pages all the time
[13:52:14] *** pbgc has joined #angularjs
[13:52:32] <icebox> Browser: resolved?
[13:52:40] *** brollypop has joined #angularjs
[13:53:32] <Browser> not yet.
[13:54:12] *** Germanaz0 has quit IRC
[13:54:32] <icebox> Browser: what is the source object?
[13:55:10] *** zeezey has quit IRC
[13:55:13] <BigPoppa> yeah icebox i heard of browserstack and wanted to hear ur opinion of that one. also safari 5 is as high as windows will go and i dont have hardware acceleration on my laptop so mac os is prevented here :(
[13:55:16] *** Germanaz0 has joined #angularjs
[13:55:23] <burzum> how can I pass params through $state.go('search', {term: newValue});? This is just not working, the query param is never passed but thats how it should work based on the documentation.
[13:55:37] <Browser> icebox: is a string.
[13:55:42] *** donguston has quit IRC
[13:55:48] <icebox> BigPoppa: no opinion... I don't use it
[13:56:00] *** lordshion has joined #angularjs
[13:56:02] *** bve has joined #angularjs
[13:56:20] <BigPoppa> icebox, and what would u recommend for the safari 9
[13:56:27] <BigPoppa> besides vm boxing
[13:56:32] *** bve has quit IRC
[13:56:41] <icebox> Browser: are you saying ancular.copy("12345", {}) -> {"1": "2", "4": "5"} ?
[13:57:03] <icebox> BigPoppa: no other idea than vm boxing
[13:57:18] <BigPoppa> ok icebox
[13:57:22] <BigPoppa> thanks u were a friend :)
[13:57:27] *** xylen_ has quit IRC
[13:58:34] *** dinesh_ has left #angularjs
[13:58:37] <leolrrj> hey gurus... I'm really worried about SEO when using angular and ui-route for all the pages of my site... what do you think about it?
[13:59:01] <icebox> Browser: that is the behaviour expected
[13:59:24] <icebox> Browser: angular.copy("12345", {}) -> {0: "1", 1: "2", 2: "3", 3: "4", 4: "5"}
[13:59:34] <Browser> icebox: if I change {} to "", the change is not reflected in the scope.
[13:59:42] *** omar__ has joined #angularjs
[13:59:58] <icebox> Browser: it doesn't work in that way
[14:00:16] *** nav__ has joined #angularjs
[14:00:23] *** tarnus has joined #angularjs
[14:00:30] <icebox> Browser: angular.extend or angular.merge
[14:00:37] <icebox> Browser: with copy you are breaking the reference
[14:01:05] <Browser> Is there anyway possible to receive the value in the original format?
[14:01:20] *** CanyonMan has joined #angularjs
[14:01:31] <icebox> Browser: sure
[14:01:42] *** donguston has joined #angularjs
[14:02:12] *** CAPITANOOO has joined #angularjs
[14:02:18] *** aghiuru has quit IRC
[14:02:35] *** BigBangUDR has quit IRC
[14:02:43] <icebox> Browser: for a concrete help, prepare a minimal plunker reproducing your issue
[14:03:19] *** Leon has quit IRC
[14:03:28] *** BigBangUDR has joined #angularjs
[14:03:45] *** Leon has joined #angularjs
[14:04:06] *** soee has quit IRC
[14:04:50] *** one_zero has quit IRC
[14:04:55] *** spaceonl_ has quit IRC
[14:05:43] *** lnrdo has quit IRC
[14:05:50] *** marthinal has quit IRC
[14:06:00] *** lnrdo has joined #angularjs
[14:06:14] *** spaceonline has joined #angularjs
[14:06:27] *** toma has joined #angularjs
[14:06:51] <toma> hello !
[14:07:10] *** omar__ has quit IRC
[14:07:35] *** Leon has quit IRC
[14:07:52] *** roby_ has joined #angularjs
[14:07:58] *** Leon has joined #angularjs
[14:08:06] *** jieryn has joined #angularjs
[14:08:15] <roby_> hey, does anyone have a tutorial or anything on how to get started with angular 2.0 with nodejs?
[14:08:16] <lordshion> Hi I have a question on angular2 , How do you change the startsymbol and the endsymbol as in angular1.x with $interpolateProvider? thx
[14:08:19] *** soee has joined #angularjs
[14:08:30] <dan2k3k4> what is the recommended way to include a custom angularjs modules for certain pages (php)? I have injected the module.js to the head scripts for the page but obviously that doesn't work well as it doesn't include the controllers/services/models -_-
[14:09:30] *** toma has left #angularjs
[14:09:39] *** toma has joined #angularjs
[14:11:01] <icebox> roby_: typescript or es5/es6?
[14:11:27] <roby_> preferably typescript
[14:11:27] *** morissette has joined #angularjs
[14:11:46] <roby_> I checked out the 5 min start and the tutorial but nothing is nodejs related
[14:11:56] *** sbasso has quit IRC
[14:12:06] <roby_> thnx a bunch, will check it out :)
[14:12:47] <icebox> roby_: well... as you know, you can use angular with any backend :)
[14:13:14] <roby_> It's the first time I'm using it, not really sure how to render it to the client
[14:13:21] *** BigPoppa has quit IRC
[14:13:49] *** BigPoppa has joined #angularjs
[14:14:29] *** CAPITANOOO has quit IRC
[14:14:34] *** schneider has quit IRC
[14:14:42] *** zeezey has joined #angularjs
[14:15:03] *** drej has joined #angularjs
[14:15:36] <icebox> roby_: what do you mean for "how to render it"?
[14:15:38] *** lnrdo_ has joined #angularjs
[14:15:40] *** cebor_ has quit IRC
[14:15:50] *** svycka has quit IRC
[14:15:57] *** VeeWee has joined #angularjs
[14:16:25] *** Z00t has joined #angularjs
[14:16:34] *** cebor has joined #angularjs
[14:17:39] *** pbgc has quit IRC
[14:18:17] *** aghiuru has joined #angularjs
[14:18:27] *** lnrdo has quit IRC
[14:19:36] <leolrrj> imagine that you have an app with news.... so you will have #/news/rock/david-bowie-dead, #/news/it/new-windows-release, etc. is it fine for search engines? like google?
[14:19:46] <roby_> @icebox well in nodejs you usually use response.render sometimes when you want to render a specific ejs file. I was trying initially to use angular 2 in some sort of way that's similar to that
[14:20:12]
<Browser> icebox: ok, I have created the plunkr. https://embed.plnkr.co/myMzJofqzwJ9Q4fzx6s3/ where angular.copy is executed, it would be like a function outside of angularjs but I can't reproduce it on plunkr.
[14:20:24] *** k1ng4400 has quit IRC
[14:21:11] *** svycka has joined #angularjs
[14:21:12] *** D-Boy has quit IRC
[14:21:40] *** xylen_ has joined #angularjs
[14:22:29] <roby_> icebox: do I have to configure the routes and all that from within angular2 ? How should I transform that basic tutorial from lite-server to nodejs
[14:22:46] *** aghiuru has quit IRC
[14:22:51] *** Garfield-fr has quit IRC
[14:23:02] *** Garfield-fr has joined #angularjs
[14:23:47] <icebox> roby_: any experience with nodejs?
[14:24:07] <roby_> icebox: yes, a few projects. no experience with angular2 whatsoever tho.
[14:24:21] *** zeezey has quit IRC
[14:24:38] *** k1ng440 has joined #angularjs
[14:24:38] *** k1ng440 has joined #angularjs
[14:25:04] <icebox> roby_: you need to create a backend publishing your APIs... then the client side calls the endpoints (APIs) with the http service
[14:26:02] <roby_> icebox: I think that's what I tried to do but I have problems when trying to access the js files from withing node_modules on the client side, even tho I've set them to public
[14:26:32] *** vytautas_ has joined #angularjs
[14:27:37] *** evilaliv3 has quit IRC
[14:29:02] <icebox> roby_: about js access, npm is used as package manager for the client stuff
[14:29:03] <roby_> icebox: that's also using lite-server, I'm trying to eliminate that and host it on my ip or the web.
[14:29:15] <icebox> roby_: sure... but it is very easy :)
[14:29:27] <roby_> icebox: any pointers how ? :))
[14:29:28] <icebox> roby_: that is only an http server
[14:30:11] *** zeioth_ has joined #angularjs
[14:30:20] <icebox> roby_: use nodejs as you are used to
[14:30:23] *** encryptd_fractal has joined #angularjs
[14:30:41] *** encryptd_fractal has quit IRC
[14:30:41] <roby_> icebox: I'm used to making a expressjs app and setting up the server there
[14:30:51] <icebox> roby_: perfect
[14:31:18] <roby_> icebox: and in my routes i usually have res.render('index.ejs'); for example
[14:31:18] <BigPoppa> icebox, another question as a follow up. as a web dev how do you check compatiblity with phone browsers?
[14:31:56] <icebox> BigPoppa: I am afraid you need to write some code, before worrying about compatibility :)
[14:32:02] <roby_> BigPoppa: search for phone browser emulators there are quite a few nice ones out there
[14:32:03] *** cotko has joined #angularjs
[14:32:15] <BigPoppa> icebox, i have the code i just havent uploaded them yet
[14:32:23] <BigPoppa> i'm not asking u questions before doing anything
[14:32:28] <BigPoppa> i ask questions as they come up
[14:32:30] *** D-Boy has joined #angularjs
[14:32:32] <BigPoppa> thanks roby_
[14:33:05] <icebox> BigPoppa: the rendering engines int the web views (for the hybrid apps) are the same of the desktop ones
[14:33:40] <BigPoppa> so ur saying firefox and chrome of an android is the same as the firefox and chrome of a dekstop computer
[14:33:41] <icebox> BigPoppa: so need "only" to test finally responsive e2e tests
[14:33:44] <BigPoppa> and safari as well
[14:34:32] <icebox> BigPoppa: if you open a web page on iOS, what engine do you think are you using?
[14:34:40] <BigPoppa> safari
[14:34:50] <BigPoppa> but i dont know if that safari is coded diffferently than the safari on a mac
[14:34:53] <BigPoppa> but now i know :)
[14:35:06] <icebox> BigPoppa: (webkit)
[14:35:20] <BigPoppa> oh ok
[14:35:36] <lordshion> Hi I have a question on angular2 , How do you change the startsymbol and the endsymbol as in angular1.x with $interpolateProvider? thx
[14:35:39] *** hhhdev has joined #angularjs
[14:35:52] *** Bloomer has joined #angularjs
[14:35:58] <icebox> BigPoppa: you test against the rendering engine
[14:36:13] <icebox> Browser: sorry for the delay...
[14:36:24] *** VeeWee has quit IRC
[14:36:26] <roby_> icebox: just can't figure out how to access the page from within the browser
[14:36:35] <BigPoppa> icebox, basically match the rendering engine with the same one on a desktop machine
[14:36:41] <BigPoppa> and that one will work on phone as well
[14:36:50] <icebox> BigPoppa: usually yes
[14:36:58] <BigPoppa> ok thank u so much
[14:37:32] <icebox> BigPoppa: it depends on what you are testing... but usually the tests are the same
[14:37:38] *** pbgc has joined #angularjs
[14:37:57] <icebox> BigPoppa: (imagine touching on a desktop screen without touch)
[14:38:07] <BigPoppa> i'm testing the functionality of the whole application
[14:38:36] *** marr has joined #angularjs
[14:38:50] <hhhdev> hi guys, i have a ng-repeat and a ng-if in the same element. I trigged an animation on leave, but it is executed for both directives. On enter it is executed once as it should for the ng-if, the problem is on leave. Is there a way to block the ng-repeat on leave animation?
[14:39:27] *** the-erm has quit IRC
[14:39:29] *** heavyhorse has joined #angularjs
[14:39:47] <roby_> icebox: I don't wanna use the localhost
[14:40:03] *** Germanaz0 has quit IRC
[14:40:04] <icebox> roby_: use your static ip
[14:40:20] *** kborchers_ has joined #angularjs
[14:40:34] <icebox> roby_: you said "how to access the page from within the browser"
[14:40:35] <roby_> icebox: that's what I'm trying to do. Do you by any chance know of any examples using nodejs?
[14:40:41] <icebox> roby_: I am sure I don't follow you
[14:40:55] *** kp666 has quit IRC
[14:41:00] <icebox> roby_: sure... but it is the usual stuff
[14:41:03] <roby_> icebox: yeah but I gotta set it up so I can get all the scrips angular2 requires and such
[14:41:23] <roby_> icebox: might be just my stupid-hour but oh well
[14:42:12] <icebox> roby_: I am afraid you are confused because the frontend stuff is installed using npm... you need to set correctly your "document root", static folder :)
[14:42:19] *** knownasilya has joined #angularjs
[14:42:50] <icebox> roby_: better... copy manually the scripts where you want
[14:42:59] <roby_> icebox: yes, that's probably it. I tried setting it up correctly app.use(express.static('public')); app.use(express.static('app')); app.use(express.static('node_modules'));
[14:43:15] <roby_> this should give the client access to any script in node_modules yet it doesn't
[14:43:38] <roby_> still get 404s on polyfills.js rx.js etc
[14:43:52] <icebox> roby_: yep... I would suggest something like that... ok... check the urls :)
[14:44:05] <roby_> I literally made an express app
[14:44:15] *** riddle_ has quit IRC
[14:44:24] <roby_> and copy pasted the angular 2 quickstart html in the index.ejs
[14:44:27] *** Germanaz0 has joined #angularjs
[14:44:29] *** freeall has quit IRC
[14:44:32] <roby_> afterwards just installed what was needed and tried to run it
[14:44:45] *** freeall has joined #angularjs
[14:44:46] *** Misere has quit IRC
[14:45:10] *** heavyhorse has quit IRC
[14:45:18] <icebox> roby_: however, if you are using typescript, you should have also a build workflow
[14:45:36] *** iraj has quit IRC
[14:45:39] <icebox> roby_: for instance, with babel
[14:45:46] <roby_> I'll do some more research I guess and come back :)
[14:45:52] <icebox> roby_: yep, please
[14:46:03] <icebox> roby_: missing last mile, but you are there :)
[14:46:05] *** OnkelTem has quit IRC
[14:46:06] <roby_> icebox: thnx a bunch, cya around :)
[14:46:24] <icebox> roby_: you are welcome
[14:46:32] *** OnkelTem has joined #angularjs
[14:46:32] *** roby_ has quit IRC
[14:46:49] *** Browser has quit IRC
[14:49:02] *** comingsoontm_ has joined #angularjs
[14:49:43] *** praveenmora has joined #angularjs
[14:49:56] <praveenmora> Hi
[14:50:18] <praveenmora> shall anyone help me to learn Angular
[14:51:38] *** realisation has joined #angularjs
[14:52:19] *** comingsoontm has quit IRC
[14:52:30] *** illume has quit IRC
[14:52:48] *** praveenmora has quit IRC
[14:52:53] *** ngbot has joined #angularjs
[14:52:54] <ngbot> angular.js/master 2764536 Georgios Kalpakas: refct(privateMocks): remove unused argument from `createMockStyleSheet()`
[14:52:54] <ngbot> angular.js/master cb74999 Georgios Kalpakas: test: fix failing tests on MS Edge...
[14:52:54] *** ngbot has left #angularjs
[14:52:55] *** thirdknife has quit IRC
[14:53:08] *** brollypop has quit IRC
[14:54:00] *** soee has quit IRC
[14:54:00] *** tarnus has quit IRC
[14:54:11] *** evilaliv3 has joined #angularjs
[14:54:56] *** brollypop has joined #angularjs
[14:56:23] *** soee has joined #angularjs
[14:59:36] *** Riidio has joined #angularjs
[15:00:19] *** drej has quit IRC
[15:00:25] *** tarnus has joined #angularjs
[15:00:32] *** realisation has quit IRC
[15:01:42] *** marthinal has joined #angularjs
[15:01:51] *** mven has joined #angularjs
[15:01:55] *** mven has quit IRC
[15:02:44] *** maximski has quit IRC
[15:05:55] *** rhaynel has joined #angularjs
[15:07:36] *** Jardayn has joined #angularjs
[15:08:19] *** bengillies has joined #angularjs
[15:08:19] *** nikhil360 has joined #angularjs
[15:08:39] *** nikhil360 has quit IRC
[15:09:15] *** bengillies has quit IRC
[15:09:21] <fiddo> is there any known problems with wrapping an Angular 2 Service over a Javascript Library using the appropriate Typings?
[15:09:56] *** displague has joined #angularjs
[15:09:57] *** edrocks has quit IRC
[15:10:08] <lordshion> Hi I have a question on angular2 , How do you change the startsymbol and the endsymbol as in angular1.x with $interpolateProvider? THX
[15:10:08] <icebox> fiddo: no
[15:10:12] *** edrocks has joined #angularjs
[15:10:41] *** tbo_ has joined #angularjs
[15:10:51] *** italoacasas has joined #angularjs
[15:11:03] *** freeall has quit IRC
[15:11:14] <fiddo> i can use Typescript no problems as provided with the tests on Definitely Typed website, but whenever i put a command into a function in a Service, it doesnt work. the browser 'hangs' on that component,.
[15:11:20] <icebox> lordshion: did you give a look at source code?
[15:12:42] *** rho has joined #angularjs
[15:12:43] *** rho has joined #angularjs
[15:12:52] *** ESpiney has joined #angularjs
[15:12:55] *** cocao has joined #angularjs
[15:13:19] *** zivester has joined #angularjs
[15:13:26] <lordshion> icebox: yes in angular2.all.umd.min.js no trace of startsymbol neither endsymbol
[15:13:52] *** tobachi has joined #angularjs
[15:13:53] *** rossk has joined #angularjs
[15:14:15] <icebox> lordshion: well... did you give a look in the minified source code? :)
[15:15:26] *** brollypop has quit IRC
[15:15:36] *** italoacasas has quit IRC
[15:16:08] *** zivester has quit IRC
[15:16:51] *** BigBangUDR has quit IRC
[15:17:46] <icebox> fiddo: did you tried that not in angular?
[15:18:00] *** italoacasas has joined #angularjs
[15:18:02] *** encryptd_fractal has joined #angularjs
[15:18:21] <icebox> fiddo: directly in typescrypt console?
[15:18:29] *** BigBangUDR has joined #angularjs
[15:18:54] *** cocao has quit IRC
[15:19:05] *** sterns has quit IRC
[15:19:18] *** GeekJon has quit IRC
[15:19:24] *** sterns has joined #angularjs
[15:20:12] *** lnrdo_ has quit IRC
[15:20:14] <icebox> fiddo: weirdly
[15:20:33] *** ekinmur has joined #angularjs
[15:20:44] *** GeekJon has joined #angularjs
[15:20:54] <icebox> fiddo: what is the error you get?
[15:20:56] *** ekinmur has quit IRC
[15:21:29] <fiddo> Its only when i seem to put it into an Angular 2 service (i.e. @Injectable) is where it fails. The particular .TS file seems to pick up the typings ok which leads me to belive theres a problem at runtime
[15:22:01] *** realisation has joined #angularjs
[15:22:28] *** max_dev has joined #angularjs
[15:22:31] *** hdeshev has left #angularjs
[15:23:55] <icebox> fiddo: are you sure is legit import autobahn = require("autobahn"); ?
[15:24:15] *** batch4225 has joined #angularjs
[15:24:30] <icebox> fiddo: I know, I see it in the example... but are you sure it works in your build workflow?
[15:24:54] <fiddo> icebox: There is no error. The component simply 'hangs' in the browser. I get the 'Loading...' message because i have <my-app>Loading...</my-app>
[15:25:06] *** freeall has joined #angularjs
[15:25:07] <icebox> fiddo: well.. in the console any error?
[15:25:41] *** BigBangUDR has quit IRC
[15:25:57] *** soee has quit IRC
[15:26:09] *** BigBangUDR has joined #angularjs
[15:27:08] <fiddo> icebox: yes. import autobahn = require('autobahn'); seems to be correct as i have tested it in a non-angular 2 setup. This was also provided as a test example on the Definitely Typed github.
[15:27:09] <icebox> fiddo: need to go... see you later
[15:27:15] *** sbasso has joined #angularjs
[15:27:25] *** BigBangUDR has quit IRC
[15:27:26] <fiddo> icebox: no probs.. cheers
[15:27:36] *** icebox has quit IRC
[15:28:00] *** elperdut_ has quit IRC
[15:29:58] *** dman777_alter has joined #angularjs
[15:31:17] *** pbgc has quit IRC
[15:37:02] *** rossk_ has joined #angularjs
[15:38:32] <dan2k3k4> a module.js file with: (function() { 'use strict'; angular.module('Testdrive.profileManagement', ['ui.grid', 'ngResource']); });
[15:38:58] <dan2k3k4> should work if included as first in head (after angular) - and ng-app="Testdrive.profileManagement" right ? :s
[15:39:22] <dan2k3k4> instead I'm getting the model/factory complain about $resource -> $resourceProvider
[15:39:32] *** plutoniix has quit IRC
[15:40:19] *** Veejay has joined #angularjs
[15:40:25] *** rossk has quit IRC
[15:41:29] *** heavyhorse has joined #angularjs
[15:41:31] <Veejay> Is there a way to execute some code right after a controller has been instantiated? When all the controller methods have been defined and the scope is fully available?
[15:41:55] *** brollypop has joined #angularjs
[15:42:15] *** Tmo_ has joined #angularjs
[15:42:20] *** Z3R0 has joined #angularjs
[15:42:27] *** schneider has joined #angularjs
[15:43:10] *** plutoniix has joined #angularjs
[15:44:29] *** zigzagzig has joined #angularjs
[15:44:44] <sigurding> is there a group By filter in Angular 2?
[15:45:21] *** maximski has joined #angularjs
[15:45:47] *** charuru has joined #angularjs
[15:46:24] *** heavyhorse has quit IRC
[15:47:03] *** Z3R0 has quit IRC
[15:47:06] *** pbgc has joined #angularjs
[15:48:11] *** Tmo_ has quit IRC
[15:48:48] *** diegoaguilar has joined #angularjs
[15:49:20] *** zeezey has joined #angularjs
[15:49:22] *** miqui has joined #angularjs
[15:49:56] *** diegoaguilar has quit IRC
[15:50:04] *** walden|afk is now known as walden
[15:50:23] *** DJDelusional has joined #angularjs
[15:50:58] *** DJDelusional has quit IRC
[15:51:25] *** LondonAppDev has joined #angularjs
[15:52:40] *** Danielyan has quit IRC
[15:52:41] *** bayousoft has joined #angularjs
[15:52:45] *** soee has joined #angularjs
[15:52:45] *** tesarek has joined #angularjs
[15:54:09] *** lnrdo_ has joined #angularjs
[15:54:57] *** RyanHirsch has joined #angularjs
[15:58:01] *** Sky[x] has quit IRC
[15:58:28] *** macabre has joined #angularjs
[15:58:36] <fiddo> veejay: if you google component lifecycle there are hooks. i dont know which one yr after
[15:58:50] <hhhdev> hey guys, shouldn't ng-repeat re-render itself when i push or remove the item in the object array?
[15:59:09] *** lnrdo_ has quit IRC
[15:59:19] <senayar> it does it the object associated is reference and not a primitive
[15:59:24] <senayar> *if
[15:59:43] *** lnrdo has joined #angularjs
[15:59:47] *** dszmaj has joined #angularjs
[15:59:56] *** Tmo_ has joined #angularjs
[16:00:11] *** aghiuru has joined #angularjs
[16:00:43] *** rscata has quit IRC
[16:00:49] *** italoacasas has quit IRC
[16:01:15] *** dcherman has quit IRC
[16:02:01] *** Mattch has joined #angularjs
[16:02:19] *** picheli has joined #angularjs
[16:03:36] *** italoacasas has joined #angularjs
[16:03:58] *** mven has joined #angularjs
[16:04:22] *** bosyak has quit IRC
[16:05:38]
<picheli> Hey guys! I created a framework to create template using json schema and I would like to have same feedback about it. Its not finished yet, but i think its readable. https://github.com/picheli20/angular-rest
[16:06:07] *** frem has joined #angularjs
[16:06:33] <Veejay> fiddo: Well thank you
[16:07:32] *** dcherman has joined #angularjs
[16:08:05] <fiddo> Re: Angular 2 Dependency Injection: Should services be declared as public/private/(or not at all) in the constructor. Varying google searches provide differing ways.
[16:08:13] <fiddo> ?
[16:08:16] *** maximski has quit IRC
[16:09:04] *** Z3R0 has joined #angularjs
[16:09:19] *** lnrdo_ has joined #angularjs
[16:09:42] *** GeekJon has quit IRC
[16:10:32] *** bbankes_ has joined #angularjs
[16:11:05] *** shinnya has joined #angularjs
[16:11:29] *** GeekJon has joined #angularjs
[16:12:53] *** tarnus has quit IRC
[16:13:05] *** lnrdo has quit IRC
[16:13:15] *** tangorri has quit IRC
[16:13:28] *** tarnus has joined #angularjs
[16:13:44] *** dougie has joined #angularjs
[16:13:53] *** dougie has quit IRC
[16:14:13] *** dougie has joined #angularjs
[16:14:25] *** dougie is now known as smuglr
[16:14:35] *** empyreany has joined #angularjs
[16:14:39] *** jenelizabeth_ has quit IRC
[16:15:04] *** italoacasas has quit IRC
[16:16:50] *** lnrdo_ has quit IRC
[16:17:26] *** lnrdo has joined #angularjs
[16:18:10] *** kborchers_ is now known as kborchers
[16:18:36] *** tobachi has quit IRC
[16:19:25] *** tobachi has joined #angularjs
[16:20:21] <burzum> How can I change my current URL of the page I'm on using UI router? I'm trying to change the language part of my page. So for example I have /en/some-view?foo=bar I want to change that to /de/some-view?foo=bar on click on a language link. Obviously this is not possible without defining a stage using ui-sref
[16:22:57] <smuglr> Can directives require controllers which are NOT part of directives? Eg <div ng-controller=“MainCtrl”>
[16:23:28] *** floriangosse has joined #angularjs
[16:23:33] *** floriangosse has left #angularjs
[16:23:50] <tesarek> @smuglr why would you want a directive to require a controller?
[16:24:10] *** Z3R0 has quit IRC
[16:24:12] <tesarek> maybe just add logic to the directive
[16:24:16] *** italoacasas has joined #angularjs
[16:25:50] *** nanuko has joined #angularjs
[16:26:37] *** lnrdo has quit IRC
[16:26:55] *** steven10172_ is now known as steven10172
[16:27:01] *** Ir1sh has joined #angularjs
[16:27:11] <picheli> @burzum you can map to the same controller, but the template you change to the translated. You can to use same language support for angular... And no Load of the url you set the required language
[16:27:13] *** lnrdo has joined #angularjs
[16:27:26] *** Ir1sh has quit IRC
[16:27:33] *** italoacasas has quit IRC
[16:27:34] *** marthinal has quit IRC
[16:27:39] *** Tmo_ has quit IRC
[16:27:48] *** tesarek has quit IRC
[16:27:59] *** Ir1sh has joined #angularjs
[16:28:09] *** manu89 has joined #angularjs
[16:28:38] *** marthinal has joined #angularjs
[16:29:01] <manu89> hi there, i'm looking for advanced tutorial angular 2 for js
[16:29:04] *** davi has joined #angularjs
[16:29:05] *** davi has joined #angularjs
[16:30:35] *** mellernoia has quit IRC
[16:31:44] *** Z00t has quit IRC
[16:31:50] *** lnrdo has quit IRC
[16:31:54] <Veejay> Is there a way to mutualize behavior between different controllers? I call the same function in a bunch of controllers and I'd like to avoid the unnecessary duplication
[16:32:00] <Veejay> The function itself is defined in a service
[16:32:09] <Veejay> That is injected in all the controllers
[16:33:05] <picheli> @Veejay you can use a factory returnig a object... And all the controller who used the factory has the same reference
[16:33:12] *** dandaman has joined #angularjs
[16:33:24] <Veejay> picheli: But I'd still need to call the function inside each individual controller
[16:33:46] <Veejay> This is what I'd like to avoid. Having the function be called automatically in all controllers who inject the service
[16:34:00] <Veejay> Might not be possible or even make sense though, just wondering
[16:34:17] *** mellernoia has joined #angularjs
[16:34:39] <picheli> @Veejay are you using ui-router?
[16:35:11] *** yb_drowe has joined #angularjs
[16:36:01] *** Aliks has joined #angularjs
[16:36:15] <smuglr> tesarek: The MainCtrl controller contains data & methods which I would like to use in my directive. There are several levels of directives with isolated scopes between the first controller and the directive which now needs that information. I suppose I could add to the first directive and require that, but it seemed cleaner if I were able to require the controller (without making a directive).
[16:36:15] *** _root has quit IRC
[16:36:21] *** Tmo_ has joined #angularjs
[16:37:43] <burzum> picheli but it is a requirement that the URL has to change
[16:37:49] *** zz_dimtruck is now known as dimtruck
[16:37:51] *** sssilver has joined #angularjs
[16:37:55] *** sbellina has joined #angularjs
[16:38:45] <Veejay> picheli: No I'm not
[16:39:05] <picheli> @burzum Yes, but you can create a abstract model and use the parent attribute of each location... And on the abstract model you call the function
[16:39:14] *** iateadonut has left #angularjs
[16:39:46] *** lnrdo has joined #angularjs
[16:39:57] *** manu89 has quit IRC
[16:40:05] *** tesarek has joined #angularjs
[16:40:07] *** italoacasas has joined #angularjs
[16:40:30] *** Aliks has quit IRC
[16:40:40] *** bayousoft has quit IRC
[16:40:55] <picheli> @Veejay vou can reference the rootScope, its no the better way but works...
[16:41:15] *** Guest46299 has quit IRC
[16:42:18] *** heavyhorse has joined #angularjs
[16:42:18] *** jaryd has joined #angularjs
[16:43:14] *** tangorri has joined #angularjs
[16:43:22] <senayar> does scope.$watch detects change in : var myObject : { loading : {mySecondObject} };
[16:43:38] *** phree has joined #angularjs
[16:43:39] *** aghiuru has quit IRC
[16:43:42] <senayar> or I need to watch $scope.$watch('myObject.loading') ?
[16:43:54] <Veejay> picheli: Or maybe, alternatively, do Angular services support the notion of onInject/onLoad callback, as in "Once you've been injected somewhere, call that function"?
[16:44:05] *** trino has joined #angularjs
[16:44:26] *** sbellina has quit IRC
[16:45:04] *** icfantv has joined #angularjs
[16:45:59] *** brollypop has quit IRC
[16:46:32]
<trino> hey everyone. I'm trying to make a simple http-post-request with angularjs 2.0.0 beta. just a class with constructor with public http:Http
[16:46:34] <picheli> @burzum You want to change only the search params? The alert is working fine?
[16:46:41] *** heavyhorse has quit IRC
[16:46:56] *** j_mcnally has joined #angularjs
[16:46:57] <trino> i'm trying to bootstrap(App, [HTTP_BINDINGS]) and I'm getting a 404 on angular2/http
[16:46:59] *** Z00t has joined #angularjs
[16:47:02] <trino> what do I miss?
[16:47:30] <trino> the angular2 5 minute example works just fine
[16:47:43] *** freeall has quit IRC
[16:47:44] *** _root has joined #angularjs
[16:48:23] *** freeall has joined #angularjs
[16:48:32] *** italoacasas has quit IRC
[16:49:18] *** lnrdo_ has joined #angularjs
[16:49:55] *** dopesong_ has quit IRC
[16:51:24] <trino> I'd appreciate one example how a http-request would work in angularjs 2 beta. cannot find one and all I tried failed so far.
[16:51:34] <picheli> @Veejay yes, you can do this... I don't think you can do only using angular, with ui-router will solve this prob...
[16:51:53] <picheli> @Veejay Only using the rootScope i think
[16:51:56] *** lnrdo has quit IRC
[16:52:10] <chizbang> I have an $http provider... In that HTTP provider I want to somehow have it so I can record which requests are loading
[16:52:30] <chizbang> like for example i could do ng-hide="factoryOrSomething?('/users/get/all')"
[16:52:40] <chizbang> what would I need for that? A factory?
[16:53:07] <picheli> @burzum You can do using only ui-router, you dont need to create a directive... I will make same example
[16:53:11] *** italoacasas has joined #angularjs
[16:53:31] *** ilhami has joined #angularjs
[16:53:33] *** smuglr has quit IRC
[16:53:34] <ilhami> icfantv, hey
[16:53:39] <ilhami> tell me when you are here.
[16:54:18] <chizbang> I could make a factory, inject it into my controller and then put it in the $http config 0bject....
[16:54:21] *** yb_drowe has quit IRC
[16:54:46] <chizbang> and then from withijn the $http interceptor, I could call the factories set function for that particular route
[16:54:55] *** ferr has joined #angularjs
[16:56:18] *** Eudes has joined #angularjs
[16:56:25] <Eudes> Hello
[16:57:03] <Eudes> I'm having trouble with something I cannot find in the Angular 2 docs. Could anyone help me ?
[16:57:09] *** spaceonline has quit IRC
[16:57:24] *** elsevero has quit IRC
[16:57:30] *** spaceonline has joined #angularjs
[16:57:41] *** italoacasas has quit IRC
[16:58:04] *** Limarson has quit IRC
[16:58:13] *** TyrfingMjolnir has quit IRC
[16:58:39] <macabre> is there a way to set a state to active inside the controller?
[16:59:41] *** bayousoft has joined #angularjs
[16:59:42] *** aghiuru has joined #angularjs
[16:59:45] <trino> sometimes you are searching a long time, then ask people and _bang_ find it ... I was missing this piece: <script src="/node_modules/angular2/bundles/http.min.js"></script>
[16:59:46] *** diosney has quit IRC
[16:59:57] *** diosney has joined #angularjs
[17:00:20] <G1eb> trino: yup, happens a lot
[17:00:50] <displague> how do you send a multipart form post using angular2 http? any examples?
[17:00:53] <G1eb> macabre: do you mean to transition to a state from inside a controller?
[17:01:29] *** BigBangUDR has joined #angularjs
[17:01:51] *** Sky[x] has joined #angularjs
[17:02:02] *** tobachi has quit IRC
[17:02:02] *** spaceonl_ has joined #angularjs
[17:02:09] <macabre> G1eb: more like ui-sref-active="active"
[17:02:09] <macabre> but inside a controller
[17:02:11] <macabre> not html
[17:02:54] *** spaceonline has quit IRC
[17:03:13] *** BigBangUDR has quit IRC
[17:03:41] <G1eb> macabre, ah I see, let me thing
[17:03:55] <burzum> picheli im using the UI router but couldn't figure out how to do it without the directive
[17:04:00] <G1eb> s/thing/think
[17:04:06] *** aghiuru has quit IRC
[17:05:04] *** josdeha_rt has joined #angularjs
[17:05:30] *** diosney has quit IRC
[17:05:41] *** diosney has joined #angularjs
[17:06:48] <chizbang> is it possible to define a custom function in a http interceptor?
[17:07:07] <macabre> G1eb: i'm using $state.reload() , however since i'm using nested states the .reload() funciton throws off my current state
[17:07:11] *** toma has quit IRC
[17:07:25] *** graphettion has joined #angularjs
[17:07:27] <macabre> and it falls back to the default state
[17:08:02] *** ferr has quit IRC
[17:08:34] *** spaceonl_ has quit IRC
[17:08:35] *** Eudes has quit IRC
[17:09:26] *** phrozensilver has joined #angularjs
[17:09:34] *** fiddo has quit IRC
[17:11:07] *** tangorri has quit IRC
[17:11:29] *** spaceonline has joined #angularjs
[17:12:01] *** willeponken has quit IRC
[17:12:25] <burzum> picheli moment
[17:12:33] *** RangeRick has quit IRC
[17:12:49] *** spaceonline has quit IRC
[17:13:04] *** coaster has joined #angularjs
[17:13:14] *** spaceonline has joined #angularjs
[17:13:16] *** willeponken has joined #angularjs
[17:13:18] *** bayousoft has quit IRC
[17:13:19] *** Ed___ has joined #angularjs
[17:13:21] <G1eb> macabre, yeah can't find the code I used to fix this, probably using html
[17:13:24] *** RangerRick has joined #angularjs
[17:13:52] *** spaceonline has quit IRC
[17:13:56]
<burzum> picheli this will lead to tons of duplicates for all my urls, i would have to define that for every single URL for all languages. for the translation itself we use https://angular-gettext.rocketeer.be/
[17:14:04] *** spaceonline has joined #angularjs
[17:14:07] <G1eb> you can wrap the thing you want to have active class using the parent state that is active, but that is most likely a work around you don't want to invest yourself in
[17:15:04] *** rossk_ has quit IRC
[17:15:12] <Ed___> hi guys is it possible to parse a string like "T-2" as date in angular-ui datepicker
[17:15:14] <Ed___> ?
[17:15:58] <Ed___> like if type T-1 in input box calander should select previous day
[17:16:17] <Ed___> any solutions for this ?
[17:17:33] *** bayousoft has joined #angularjs
[17:17:48] <Ed___> i really need help for this
[17:18:10] *** ferr has joined #angularjs
[17:18:32] *** realisation has quit IRC
[17:19:33] <picheli> @burzum that was a example, you can put :language on the URL... Like this url: "/:language" and make the language change for the language variable... I thought you has not using this lib, srr
[17:20:06] *** rossk has joined #angularjs
[17:20:27] *** itaipu has joined #angularjs
[17:21:44] *** Debnet has quit IRC
[17:22:48] *** plutoniix has quit IRC
[17:23:09] *** sbasso has quit IRC
[17:24:18] *** freeall has quit IRC
[17:24:22] *** realisation has joined #angularjs
[17:25:07] *** maikowblue has joined #angularjs
[17:26:20] *** yb_drowe has joined #angularjs
[17:26:31] <Ed___> hi guys is it possible to parse a string like "T-2" as date in angular-ui datepicker
[17:26:45] <Ed___> like if type T-1 in input box calander should select previous day
[17:26:58] *** Mounica has joined #angularjs
[17:28:02] *** yb_drowe has quit IRC
[17:29:00] *** Germanaz0 has quit IRC
[17:29:30] <jaryd> Ed, you might need a custom directive that works with moment to parse something like that
[17:29:47] *** DoctorDalek has left #angularjs
[17:30:44] *** chairmanmow has joined #angularjs
[17:30:52] <Ed___> @jaryd I am very new to angular
[17:30:54] *** Cokee has quit IRC
[17:31:18] <Ed___> a plunker will be very helpful
[17:31:20] *** gambl0re has quit IRC
[17:31:20] *** tesarek has quit IRC
[17:32:27] *** Riidio has quit IRC
[17:32:35] *** rhp has joined #angularjs
[17:32:55] *** punknroll has quit IRC
[17:32:55] *** dcherman2 has joined #angularjs
[17:34:36] *** jstroem has quit IRC
[17:35:35] *** bayousoft has quit IRC
[17:35:45] <Ed___> hi guys is it possible to parse a string like "T-2" as date in angular-ui datepicker ,like if type T-1 in input box calander should select previous day
[17:35:50] *** asteele has joined #angularjs
[17:36:31] *** gopalindians has joined #angularjs
[17:36:35] *** plutoniix has joined #angularjs
[17:36:47] *** dcherman has quit IRC
[17:36:54] *** ferr has quit IRC
[17:37:39] *** bayousoft has joined #angularjs
[17:38:13] *** tangorri has joined #angularjs
[17:38:28] *** Ed___ has quit IRC
[17:38:51] *** aghiuru has joined #angularjs
[17:39:47] *** jaryd has quit IRC
[17:42:01] *** thirdknife has joined #angularjs
[17:42:56] *** iraj has joined #angularjs
[17:43:02] *** heavyhorse has joined #angularjs
[17:43:06] *** aghiuru has quit IRC
[17:44:15] *** realisation has quit IRC
[17:44:16] *** sssilver has quit IRC
[17:46:20] *** pbgc has quit IRC
[17:48:00] *** heavyhorse has quit IRC
[17:48:44] *** pbgc has joined #angularjs
[17:50:37] *** tesarek has joined #angularjs
[17:51:50] *** Zalabinsky has joined #angularjs
[17:52:20] *** sssilver has joined #angularjs
[17:52:57] *** beakman has joined #angularjs
[17:53:07] *** illume has joined #angularjs
[17:53:18] *** bayousoft has quit IRC
[17:54:09] *** lnrdo_ has quit IRC
[17:54:12] *** mchammer has quit IRC
[17:54:44] *** lnrdo has joined #angularjs
[17:55:10] *** rossk has quit IRC
[17:55:11] *** lnrdo has quit IRC
[17:55:27] *** lnrdo has joined #angularjs
[17:55:49] *** diosney has quit IRC
[17:55:58] *** diosney has joined #angularjs
[17:58:23] *** dcherman2 has quit IRC
[17:58:36] *** gopalindians has quit IRC
[17:58:46] *** itaipu has quit IRC
[17:58:59] *** tbo_ has quit IRC
[17:59:10] *** dcherman has joined #angularjs
[17:59:11] <icfantv> @ilhami: yo. what's up?
[17:59:41] *** Marble68 has joined #angularjs
[18:00:33] *** j_mcnall_ has joined #angularjs
[18:00:40] *** j_mcnally has quit IRC
[18:01:03] *** yozilla has quit IRC
[18:01:07] *** Leon has quit IRC
[18:01:23] *** dopesong has joined #angularjs
[18:01:28] *** Tmo_ has quit IRC
[18:01:31] *** dan2k3k4 has quit IRC
[18:01:46] *** jamesch has joined #angularjs
[18:01:58] *** chairmanmow has quit IRC
[18:02:22] *** Germanaz0 has joined #angularjs
[18:03:01] *** lordshion has quit IRC
[18:03:36] <jamesch> Hi, I’m using Angular with Restangular to make requests to my backend. I’m wanting to use cookies, not JWT. In Chrome, when sending requests, the same cookie name is set with different values. I’m having difficulty debugging this. Can anybody point to what might be going on?
[18:05:06] *** mven_ has joined #angularjs
[18:05:20] *** lnrdo has quit IRC
[18:05:40] *** lnrdo has joined #angularjs
[18:06:00] *** thirdknife has quit IRC
[18:06:03] *** dopesong has quit IRC
[18:06:06] *** LondonAppDev has quit IRC
[18:06:09] *** JohnT has joined #angularjs
[18:06:49] *** chairmanmow has joined #angularjs
[18:07:11] *** step1step2 has quit IRC
[18:08:38] *** mven has quit IRC
[18:11:38] *** drptbl_ has quit IRC
[18:13:40] *** senayar has quit IRC
[18:13:43] *** thirdknife has joined #angularjs
[18:14:10] *** nanuko has quit IRC
[18:14:30] *** randomdoude has joined #angularjs
[18:16:30] *** marthinal has quit IRC
[18:16:44] *** jstroem has joined #angularjs
[18:16:56] *** step1step2 has joined #angularjs
[18:17:02] *** maximski has joined #angularjs
[18:17:08] *** _root has quit IRC
[18:17:48] <icfantv> ilhami: did you add 'ui.bootstrap' to your module dependencies?
[18:17:49] *** lnrdo has quit IRC
[18:17:51] *** lnrdo_ has joined #angularjs
[18:18:06] <icfantv> ilhami: and did you include the appropriate UIBS JS file?
[18:18:38] <ilhami> yes I did.
[18:18:44] *** mven_ has quit IRC
[18:18:46] <icfantv> ilhami: finally, $uibModalInstance is only injectable into the controller of the modal - you can't just inject it anywhere
[18:18:55] <ilhami> aaah that's the problem then :P
[18:19:06] *** mven has joined #angularjs
[18:19:14] <ilhami> so I can't close the modal from another controller than the one I opened it from?
[18:20:05] <icfantv> ilhami: you can - you just need to be able to provide access to the modal instance
[18:20:32] <ilhami> how would I provide access to the modal instance?
[18:20:49] <icfantv> but the entire purpose of the modal is to draw focus away from the rest of the app - so why/how are you trying to close it via a different controller
[18:21:22] <ilhami> in the template where I open the modal I use a different controller
[18:21:31] <icfantv> ilhami: i want to understand your use case first before i tell you - if your use case isn't correct, i'm not going to give you a gross solution
[18:21:38] *** Riidio has joined #angularjs
[18:21:50] *** phrozensilver has quit IRC
[18:21:57] <icfantv> ilhami: typically, a modal is responsible for closing itself
[18:22:18] <icfantv> ilhami: i.e., usually via a save, close, etc… buttons
[18:22:20] *** vrockai has quit IRC
[18:22:42] *** p0k0 has joined #angularjs
[18:22:59] <ilhami> I view the reminder in the modal.. inside the modal template I have an edit controller
[18:23:06] <ilhami> ReminderEditController
[18:23:17] <icfantv> ok, so nested controller
[18:23:20] <icfantv> fine
[18:23:29] <ilhami> yeah whatever you call it :D hehe
[18:23:37] <icfantv> well, that makes a HUGE difference
[18:23:39] <ilhami> dude I have an headache. I need to go eat dinner. :)
[18:23:43] *** tobias47n9e__ has joined #angularjs
[18:23:47] <icfantv> ilhami: scopes inherit
[18:24:15] <icfantv> ilhami: if you want, you can put the modal instance on the scope of your outer controller and it will be there on the child controller's scope
[18:24:17] <ilhami> well apparently my scopes aren't since I get that error.
[18:24:37] <icfantv> you have to put it on the scope. it's not there automatically
[18:25:05] *** mven_ has joined #angularjs
[18:25:10] <ilhami> hmm
[18:25:21] <ilhami> a small example?
[18:25:44] <icfantv> $scope.data = {}; $scope.data.modalInstance = $uibModalInstance;
[18:26:08] <icfantv> but
[18:26:10] *** hhhdev has quit IRC
[18:26:23] <icfantv> your edit controller shouldn't be controlling the opening/closing of the modal
[18:26:29] <icfantv> that's the modal controller's job
[18:26:35] *** svycka has quit IRC
[18:26:50] *** mven has quit IRC
[18:27:07] <icfantv> if you have a nested editing controller, it's job is supposed to just be editing.
[18:27:19] *** vytautas_ has quit IRC
[18:27:19] *** tobias47n9e_ has quit IRC
[18:27:21] <icfantv> if you tie it to a modal, you can't reuse it anywhere else
[18:27:24] *** fairuz has joined #angularjs
[18:27:36] *** Bloomer has quit IRC
[18:28:08] <icfantv> the right solution here is to expose your form data to the parent controller (the modal controller) and return that form data when the modal resolved (closed).
[18:28:35] *** erol has quit IRC
[18:28:57] <ilhami> so everything should be inside the ViewController?
[18:29:00] <icfantv> remember that the modal instance has promises that are resolved when the modal is closed
[18:29:18] *** SteenJobs has joined #angularjs
[18:29:28] <icfantv> lemme write a quick and dirty gist
[18:30:30] *** dromar56 has quit IRC
[18:30:38] *** ngbot has joined #angularjs
[18:30:39] <ngbot> angular.js/v1.4.x da04571 Georgios Kalpakas: refct(privateMocks): remove unused argument from `createMockStyleSheet()`
[18:30:39] <ngbot> angular.js/v1.4.x 0a641c0 Georgios Kalpakas: test: fix failing tests on MS Edge...
[18:30:39] *** ngbot has left #angularjs
[18:31:05] *** realisation has joined #angularjs
[18:31:13] *** smccarth_ has joined #angularjs
[18:31:30] *** Riidio has quit IRC
[18:31:55] *** tangorri has quit IRC
[18:31:59] <ilhami> or maybe I should make a controller for the modal :)
[18:32:35] *** ferr has joined #angularjs
[18:32:50] <icfantv> ilhami: one sec, almost done
[18:33:58] *** diosney has quit IRC
[18:34:06] <ilhami> thanks man.. I appreciate it.
[18:34:06] *** diosney has joined #angularjs
[18:34:07] *** hefox has joined #angularjs
[18:34:11] <ilhami> icfantv, you are a good guy
[18:34:37] *** OtherAllan has joined #angularjs
[18:34:39] *** thirdkni_ has joined #angularjs
[18:35:02] *** thirdkni_ has quit IRC
[18:35:14] <ilhami> sorry for last time .
[18:35:27] <ilhami> I was very impatient.
[18:35:31] *** buzzedword has quit IRC
[18:35:50] *** liamonade has quit IRC
[18:35:52] *** thirdkni_ has joined #angularjs
[18:36:12] *** phree has quit IRC
[18:36:12] *** thirdknife has quit IRC
[18:36:33] *** rossk has joined #angularjs
[18:36:36] <icfantv> no worries dude
[18:36:40] <SteenJobs> i’m getting an error “Module 'naif.base64' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.” when accessing it on heroku, but no error when accessing it locally. - the library is called angular-base64-upload, but i can’t figure out why it would be fine locally but throw this error when accessing it
[18:36:40] <SteenJobs> remotely.
[18:37:51] <icfantv> ilhami: i just removed some bogus styling…css classes. refresh to get the latest
[18:38:53] *** pbxman has quit IRC
[18:40:44] <ilhami> icfantv, thanks man
[18:40:50] <ilhami> let me try it out.
[18:41:04] *** lnrdo_ has quit IRC
[18:41:27] *** lnrdo has joined #angularjs
[18:41:48] *** jstroem has quit IRC
[18:42:10] *** erol has joined #angularjs
[18:43:47] *** heavyhorse has joined #angularjs
[18:44:28] *** TyrfingMjolnir has joined #angularjs
[18:45:09] *** spaceonline has quit IRC
[18:46:26] *** illume has quit IRC
[18:46:42] <icfantv> sure
[18:47:39] *** george_v has quit IRC
[18:48:30] *** TyrfingMjolnir has quit IRC
[18:48:48] *** heavyhorse has quit IRC
[18:48:54] *** sigurding has quit IRC
[18:48:58] *** aghiuru has joined #angularjs
[18:48:58] *** zizzl has joined #angularjs
[18:49:04] *** mrbubbles has joined #angularjs
[18:50:33] *** DJDelusional has joined #angularjs
[18:50:38] <icfantv> ilhami: i added a comment to the HTML, make sure you bind your form to `data.form` so it is on the parent controller.
[18:51:28] *** xylen_ has quit IRC
[18:51:37] *** xylen_ has joined #angularjs
[18:51:42] *** Riidio has joined #angularjs
[18:51:45] <zizzl> Hey all, are there any directives out there that can help with an image zoom feature? I have an image that I'm sizing down with CSS. I'd like to have it so a user can click something to zoom in and pan, whether it's +/- or a magnifying glass, or even a hover zoom...
[18:52:03] *** Tmo_ has joined #angularjs
[18:52:27] *** thirdknife has joined #angularjs
[18:52:54] *** cmoneylulz has joined #angularjs
[18:53:23] *** squeakytoy2 has joined #angularjs
[18:54:26] <icfantv> YMMV
[18:54:45] *** TyrfingMjolnir has joined #angularjs
[18:55:04] *** tesarek has quit IRC
[18:55:28] *** aghiuru_ has joined #angularjs
[18:55:33] <zizzl> icfantv, I did a google search, hence why I'[m here
[18:55:36] <zizzl> did you look at the demo?
[18:55:56] <SteenJobs> if anyoone has any idea…it’s literally the last thing i need to do before i’m done with this project. i could remove the library, but i’d rather figure out why it’s throwing an error only in production
[18:56:28] <icfantv> zizzl: you mean the broken one? ;-)
[18:56:37] <zizzl> haha yes
[18:56:48] *** xylen_ has quit IRC
[18:57:18] <icfantv> you might try checking out his code and running the demo locally. he's got a bug on the demo page looking at the console. trying to load a module without it being defined.
[18:57:43] <icfantv> so you might have to fix his bugs first
[18:57:46] *** aghiuru has quit IRC
[18:57:58] <mrbubbles> Can anyone recommend a good Angular (2) tutorial? I'm coming from an Ember (gasp!) background :)
[18:58:25] <icfantv> zizzl: its only 250 lines, shouldn't be har dto debug. looks clean enough at first glance
[18:58:34] *** ansimation has joined #angularjs
[18:58:49] *** OtherAllan has quit IRC
[18:59:20] <BahamutWC|Work> mrbubbles: there's stuff on the angular.io site itself I believe
[18:59:33] *** buzzedword has joined #angularjs
[18:59:47] <BahamutWC|Work> there's also a Tour of Heroes demo app created by John Papa and Ward Bell I believe for ng2
[18:59:47] *** aghiuru has joined #angularjs
[18:59:51] *** ahaeger has quit IRC
[19:01:31] *** OtherAllan has joined #angularjs
[19:02:50] *** aghiuru_ has quit IRC
[19:04:10] *** schneider has quit IRC
[19:06:22] *** dabdab has joined #angularjs
[19:06:25] *** ilmgb has quit IRC
[19:07:44] *** jlebrech has quit IRC
[19:08:10] *** itaipu has joined #angularjs
[19:09:29] *** thirdknife has quit IRC
[19:09:29] *** tesarek has joined #angularjs
[19:12:07] <mrbubbles> Thannks BahamutWC|Work
[19:12:32] <mrbubbles> Regarding Angular apps, can you just embed them in a single page? Or is there an entire router system like EmberJS?
[19:12:55] *** yanivkalfa has quit IRC
[19:13:52] *** tesarek has quit IRC
[19:13:58] *** conan_the_destro has joined #angularjs
[19:14:02] *** TyrfingMjolnir has quit IRC
[19:14:11] *** ilmgb has joined #angularjs
[19:15:22] *** aphprentice has joined #angularjs
[19:15:28] <mrbubbles> It looks like EmberJS is suited to full desktop apps, whereas angular can be used in smaller 'chunks' to add funcitonality to pages. Cool!
[19:16:09] *** vgkvg has joined #angularjs
[19:16:12] *** sfan786 has joined #angularjs
[19:16:13] *** aghiuru_ has joined #angularjs
[19:16:22] *** ilmgb has quit IRC
[19:16:24] <vgkvg> hi
[19:16:38] *** vgkvg has left #angularjs
[19:18:36] *** fairuz has left #angularjs
[19:18:55] *** aghiuru has quit IRC
[19:20:26] *** meh has joined #angularjs
[19:20:28] *** ilmgb has joined #angularjs
[19:20:49] <caitp> mrbubbles: angular takes a good amount of time to bootstrap
[19:20:51] *** dabdab has quit IRC
[19:20:57] *** tesarek has joined #angularjs
[19:20:59] <caitp> so it's generally better to do that only once
[19:21:11] <caitp> rather than on each subsequent page
[19:21:17] <caitp> angular2 might have a better alternative though
[19:21:38] *** aghiuru has joined #angularjs
[19:21:44] *** Z00t has quit IRC
[19:22:43] *** aghiuru_ has quit IRC
[19:23:46] *** tesarek has quit IRC
[19:25:33] *** TyrfingMjolnir has joined #angularjs
[19:25:34] *** elyssonmr has quit IRC
[19:25:54] *** ilmgb has quit IRC
[19:25:54] *** elyssonmr has joined #angularjs
[19:26:00] *** aghiuru has quit IRC
[19:26:08] *** aghiuru_ has joined #angularjs
[19:26:37] *** ril has joined #angularjs
[19:26:45] *** picheli has quit IRC
[19:26:51] *** vpi has quit IRC
[19:27:11] *** rocky1138 has joined #angularjs
[19:27:16] *** lnrdo has quit IRC
[19:27:32] *** lnrdo has joined #angularjs
[19:27:34] *** nanuko has joined #angularjs
[19:27:43] *** Vladimir_ has joined #angularjs
[19:29:58] *** aghiuru has joined #angularjs
[19:30:07] *** Vladimir_ has quit IRC
[19:32:31] *** aghiuru_ has quit IRC
[19:32:48] *** aghiuru_ has joined #angularjs
[19:33:41] *** cliluw has joined #angularjs
[19:34:20] *** VictorCL has joined #angularjs
[19:34:42] *** bluezone has joined #angularjs
[19:35:34] *** apotry has joined #angularjs
[19:36:18] *** VictorCL has quit IRC
[19:36:20] *** Hounddog has quit IRC
[19:36:30] *** aghiuru has quit IRC
[19:36:43] *** VictorCL has joined #angularjs
[19:37:11] <chizbang> How the hell do I have form data and multiple files in one post request?
[19:37:25] <chizbang> Ive done it before, but before the form data came out as Json and I'd have to decode it server side
[19:37:27] <chizbang> I dont want that
[19:37:47] *** HalObit has joined #angularjs
[19:37:50] *** HalObit has quit IRC
[19:40:36] *** tuskkk___ has joined #angularjs
[19:41:39] *** Vladimir_ has joined #angularjs
[19:41:42] *** junovo has joined #angularjs
[19:42:00] *** freeall has joined #angularjs
[19:42:33] *** diosney has quit IRC
[19:42:43] *** diosney has joined #angularjs
[19:43:49] *** tesarek has joined #angularjs
[19:44:00] <junovo> newbie question please : getting Blocked loading resource from url not allowed by $sceDelegate policy. URL: //www.youtube.com/embed/61aM0DXpKkc ... anyone help ?
[19:44:33] *** heavyhorse has joined #angularjs
[19:45:24] *** AndrewIsh has quit IRC
[19:45:42] *** marthinal has joined #angularjs
[19:46:00] *** ril is now known as ril[away]
[19:46:06] *** lemur has joined #angularjs
[19:46:11] *** lemur has quit IRC
[19:46:25] *** freeall has quit IRC
[19:47:02] *** ril[away] is now known as ril
[19:47:12] *** lemur has joined #angularjs
[19:48:21] *** josdeha_rt has quit IRC
[19:48:25] *** maximski has quit IRC
[19:48:54] *** heavyhorse has quit IRC
[19:49:43] *** cnap has joined #angularjs
[19:50:31] *** gambl0re has joined #angularjs
[19:50:41] *** ktuncel has joined #angularjs
[19:51:18] *** guilbep has quit IRC
[19:52:26] *** mischat has quit IRC
[19:52:52] *** meh has quit IRC
[19:53:15] *** pimpin has joined #angularjs
[19:53:37] *** Z3R0 has joined #angularjs
[19:54:38] *** sfan786 has quit IRC
[19:54:50] *** ktuncel has quit IRC
[19:57:57] *** mven has joined #angularjs
[19:58:12] *** lemur has quit IRC
[19:58:35] *** rossk_ has joined #angularjs
[19:59:29] <junovo> have tried adding $sceDelegateProvider but still does not work
[19:59:57] *** lemur has joined #angularjs
[20:01:09] *** lemur has quit IRC
[20:01:19] *** Z3R0 has quit IRC
[20:01:31] *** schneider has joined #angularjs
[20:01:48] *** rossk has quit IRC
[20:02:19] *** killa_kyle has joined #angularjs
[20:03:01] *** troks has joined #angularjs
[20:03:12] *** phree has joined #angularjs
[20:03:21] *** dszmaj has quit IRC
[20:03:55] *** ansimation has quit IRC
[20:03:59] *** lnrdo has quit IRC
[20:04:36] *** freeall has joined #angularjs
[20:05:34] *** Germanaz0 has quit IRC
[20:06:08] *** yanivkalfa has joined #angularjs
[20:06:16] *** xylen_ has joined #angularjs
[20:06:41] *** yanivkalfa has quit IRC
[20:07:20] *** TyrfingMjolnir has quit IRC
[20:08:14] *** phree has quit IRC
[20:08:37] *** Riidio has quit IRC
[20:08:53] *** wonder95 has joined #angularjs
[20:09:09] *** freeall has quit IRC
[20:09:28] *** yanivkalfa has joined #angularjs
[20:09:50] *** yanivkalfa has quit IRC
[20:10:28] *** cotko has quit IRC
[20:10:52] *** lemur has joined #angularjs
[20:11:15] *** Germanaz0 has joined #angularjs
[20:11:27] *** sergey_ has joined #angularjs
[20:12:11] *** itaipu has quit IRC
[20:12:11] *** chrisyanx has joined #angularjs
[20:12:19] *** benvantende has quit IRC
[20:12:25] *** yurinator has quit IRC
[20:12:56] *** chrisyanx has quit IRC
[20:13:45] *** yurinator has joined #angularjs
[20:14:30] *** Perseus0 has joined #angularjs
[20:14:34] <Perseus0> hey bros
[20:14:57] *** itaipu has joined #angularjs
[20:15:04] <Perseus0> need to throw an alert if the error 500 is found but on specific views
[20:15:33] <Perseus0> got an already made app and im having a hard time finding where i should place the code for the purpose
[20:15:36] <Perseus0> any ideas?
[20:15:51] *** yky_ has joined #angularjs
[20:17:17] *** iamnix has joined #angularjs
[20:18:04] *** dopesong has joined #angularjs
[20:18:24] *** TyrfingMjolnir has joined #angularjs
[20:20:09] *** yky_ has quit IRC
[20:20:22] *** corioliss has quit IRC
[20:22:15] *** Perseus0 has quit IRC
[20:22:22] *** dopesong has quit IRC
[20:22:31] *** Ozd has quit IRC
[20:22:57] *** fBirD has joined #angularjs
[20:23:37] *** fBirD has quit IRC
[20:24:17] *** fBirD has joined #angularjs
[20:24:17] *** sixr420 has quit IRC
[20:24:20] *** TyrfingMjolnir has quit IRC
[20:24:42] *** j_mcnall_ has quit IRC
[20:24:56] *** fBirD has quit IRC
[20:24:58] *** adko has joined #angularjs
[20:26:10] *** sixr420 has joined #angularjs
[20:27:04] *** ajmitch_ is now known as ajmitch
[20:27:32] *** phree has joined #angularjs
[20:28:14] *** ferr has quit IRC
[20:28:55] *** fBirD has joined #angularjs
[20:29:10] *** conan_the_destro has quit IRC
[20:29:53] *** Z00t has joined #angularjs
[20:29:55] *** mattb has joined #angularjs
[20:30:00] *** sigurding has joined #angularjs
[20:30:29] *** PeterMetz has quit IRC
[20:30:36] *** davi has quit IRC
[20:30:37]
<ASUChander> So I am using angular and am considering storing data on the server related to user preference data, so when the user logs in it would load, and when the user logs out it would be destroyed. I saw this: http://stackoverflow.com/questions/23473788/clear-service-data-in-angularjs - but noticed the (only) response about "You may want to separate controlling and data." - any thoughts on using a service (with a destroy method to clean thi
[20:30:38] <ASUChander> ngs up) for this?
[20:30:56] *** iamnix is now known as ianix
[20:31:04] *** junovo has quit IRC
[20:31:26] *** lemur has quit IRC
[20:32:34] *** Riidio has joined #angularjs
[20:33:23] <icfantv> ASUChander: is your server maintaining any type of session?
[20:33:34] <ASUChander> sure
[20:33:38] *** sfan786 has joined #angularjs
[20:33:43] <icfantv> you could do it when the session is destroyed
[20:33:57] <icfantv> i.e., not rely on the UI at all.
[20:34:03] <icfantv> or, you could clear it at login time
[20:34:39] <ASUChander> I'm not sure I follow. The preference data is stored on the client (since it controls certain UI aspects.) I can clear it at login time, sure... I'm more concerned about "whats the best way to do this" rather than "how do I do it"
[20:34:52] <icfantv> in this day and age of laptop suspension, i'm hesitant to rely on the UI for anything with respect to session state.
[20:34:55] <ASUChander> right now I have the preference data stored in rootscope, and it's loaded up when the user logs in.
[20:35:18] <icfantv> ASUChander: then store it in a session cookie - it'll automatically get zapped when the session is dead
[20:35:38] <icfantv> ASUChander: ew, don't store it on rootScope
[20:35:54] <ASUChander> icfantv: yeah, rootscope seemed like a bad idea, hence the question :-)
[20:36:10] *** mattb has quit IRC
[20:36:49] <ASUChander> Putting aside the cookie (which I probably will do) for now - for my understanding, is there a downside/upside to handling this in a factory?
[20:37:16] *** juddey has joined #angularjs
[20:39:30] *** evilaliv3 has quit IRC
[20:40:40] <icfantv> ASUChander: the only difference between factories and services is that services are constructed with `new`
[20:41:18] <icfantv> ASUChander: so with that i would encourage you to use factories for factory-related things and services for service-related things.
[20:41:33] <ASUChander> So the big difference is just singleton vs non-singleton?
[20:41:36] <icfantv> …which doesn't help for utilities, but anyway.
[20:41:39] <icfantv> ASUChander: no
[20:41:45] <icfantv> ASUChander: both are singletons
[20:42:10] *** Vladimir_ has quit IRC
[20:42:39] <icfantv> ASUChander: with a service, anything prefixed with `this` is exposed (not private). with a factory, anything returned is exposed.
[20:42:56] <ASUChander> oh. ok
[20:43:37] <icfantv> ASUChander: so with factories, you typically return an object, ala, { foo: doFoo, bar: doBar, … }
[20:43:45] <icfantv> where doFoo and doBar are functions
[20:43:49] <icfantv> either handles or inline
[20:43:59] *** sbellina has joined #angularjs
[20:45:20] *** PeterMetz has joined #angularjs
[20:45:35] *** heavyhorse has joined #angularjs
[20:46:30] *** sssilver has quit IRC
[20:47:08] <ASUChander> thanks
[20:47:43] *** bayousoft has joined #angularjs
[20:47:53] *** Tmo_ has quit IRC
[20:48:11] *** xylen_ has quit IRC
[20:48:42] *** dmckenna has left #angularjs
[20:49:05] <icfantv> sure
[20:49:27] <ilhami> icfantv, I still didn't solve it hehehe
[20:49:30] *** j_mcnally has joined #angularjs
[20:49:33] <icfantv> ASUChander: so i would createa CookieService and then a PreferenceService that has the CookieService injected
[20:49:35] <ilhami> also I have an headache that is really bad.
[20:49:44] <icfantv> ilhami: sorry dude
[20:50:35] *** heavyhorse has quit IRC
[20:50:36] *** sbellina has quit IRC
[20:50:37] *** sssilver has joined #angularjs
[20:51:43] *** Vladimir_ has joined #angularjs
[20:51:44] <ilhami> most of it works :P only the update function is not working heh
[20:51:44] *** plekplek_ has quit IRC
[20:51:54] <ilhami> the cancel, close stuff works
[20:51:57] *** sbellina has joined #angularjs
[20:53:07] *** craigdragon17 has joined #angularjs
[20:54:05] *** siba has joined #angularjs
[20:55:14] *** sssilver has quit IRC
[20:55:48] *** craigdragon17 has quit IRC
[20:56:22] *** craigdragon17 has joined #angularjs
[20:56:28] *** Tmo_ has joined #angularjs
[20:57:15] *** lemur has joined #angularjs
[20:58:03] *** dopesong has joined #angularjs
[20:58:14] <jieryn> what's the best way to have a separate /admin page with a separate angular app ?
[20:58:16] *** fscala has quit IRC
[20:58:37] <jieryn> i am having problems with resource location if i stick everything in a folder admin/ because of a lot of code reuse where many resources expect to be relative path from the /
[20:58:46] *** sssilver has joined #angularjs
[20:59:28] *** cyan__ has quit IRC
[20:59:37] *** fscala has joined #angularjs
[21:00:02] *** Germanaz0 has quit IRC
[21:01:45] *** yky_ has joined #angularjs
[21:02:24] <craigdragon17> relatively new developer trying to develop an angular 2 app. chrome console is giving "Failed to load resource: the server responded with a status of 404 (Not Found)" app.component. I am also getting angular2-polyfills.js:138 error. Any advice on getting bootstrap and app.component working?
[21:02:43] <craigdragon17> When I said new I meant a few months
[21:04:05] *** Aliks has joined #angularjs
[21:06:00] *** sbellina has quit IRC
[21:06:58] *** sbellina has joined #angularjs
[21:07:35] *** coaster has quit IRC
[21:08:11] *** n00bdev has joined #angularjs
[21:10:57] <ASUChander> icfantv: So given that services and factories are almost the same (this vs no this) - whats the reasoning behind having them both? Just the idea that you can have what are unexposed attributes/methods for the service?
[21:11:35] *** mrmargolis has joined #angularjs
[21:12:22] *** ziro` has joined #angularjs
[21:13:03] *** ferr has joined #angularjs
[21:14:21] *** VictorCL has quit IRC
[21:16:20] *** elyssonmr has quit IRC
[21:16:43] *** xylen_ has joined #angularjs
[21:17:03] *** Riidio has quit IRC
[21:17:19] *** Ir1sh has quit IRC
[21:18:28] *** Vladimir_ has quit IRC
[21:19:13] *** indenihilist has joined #angularjs
[21:19:26] *** marthinal has quit IRC
[21:19:53] *** n00bdev has quit IRC
[21:20:00] *** DeoSama has joined #angularjs
[21:20:45] *** Ir1sh has joined #angularjs
[21:20:59] *** Vladimir_ has joined #angularjs
[21:21:01] <DeoSama> Hello, everyone. I have a directive on a page with a different controller than the directive. I need to be able to call a method on the directive's controller from the parent controller. Any advice on how to do this?
[21:22:13] *** p8952 has joined #angularjs
[21:22:42] <p8952> If I have href="#", when using ngRoute, should that be matched by .when('/')?
[21:22:53] *** TyrfingMjolnir has joined #angularjs
[21:24:39] *** stevenroose_ has joined #angularjs
[21:24:53] *** elsevero has joined #angularjs
[21:25:23] <p8952> Or should I instead be using href="#/"?
[21:26:00] *** SomeKittens has joined #angularjs
[21:26:02] *** dodobrain has joined #angularjs
[21:26:09] <DeoSama> why not use href="/"?
[21:26:37] <morissette> is there a way to get a label and a value using ng-options?
[21:26:44] <morissette> <select class="form-control" ng-options="item.name for item in business_roles" ng-model="user.business_role"></select>
[21:26:53] <morissette> but i need the value to be set to item.id
[21:27:58] *** ilmgb has joined #angularjs
[21:28:03] *** ril has quit IRC
[21:28:03] <DeoSama> morissette: it'd be
[21:28:13] <morissette> track by
[21:28:15] <morissette> yeah
[21:28:16] *** stfndk has joined #angularjs
[21:28:16] <morissette> figured it out
[21:28:18] <morissette> thanks!
[21:28:22] <DeoSama> morissette: <select class="form-control" ng-options="item.id as item.name for item in business_roles" ng-model="user.business_role"></select>
[21:28:39] <morissette> <select class="form-control" ng-options="item.name for item in business_roles track by item.id" ng-model="user.business_role"></select>
[21:28:41] <morissette> also works
[21:29:11] *** ilmgb has quit IRC
[21:29:13] *** gambl0re has quit IRC
[21:29:17] <morissette> Now do you know DeoSama if the selected value is based off label or value?
[21:29:25] *** ilmgb has joined #angularjs
[21:29:50] *** gambl0re has joined #angularjs
[21:30:16] *** SET002 has quit IRC
[21:30:19] <DeoSama> morissette: I'm actually not sure. I've had it work both ways. haha
[21:30:25] <morissette> fair enough
[21:30:37] <DeoSama> If you use track by, it does what you track by
[21:30:47] *** SET002 has joined #angularjs
[21:31:30] <morissette> hmmm
[21:31:34] <morissette> well i have that set
[21:31:56] *** bcSquared has quit IRC
[21:31:58] *** DeoSama has quit IRC
[21:32:24] *** bcSquared has joined #angularjs
[21:32:27] *** sigurding has quit IRC
[21:32:29] <morissette> ng-options="item.name for item in business_roles track by item.id" ng-model="item.id">
[21:32:31] <morissette> so like that?
[21:32:58] *** w00tner has joined #angularjs
[21:33:00] *** lnrdo has joined #angularjs
[21:33:01] <w00tner> hello!
[21:33:26] <morissette> ^ controller
[21:33:37] *** mven_ has joined #angularjs
[21:34:18] *** cyan__ has joined #angularjs
[21:36:49] *** talntid has left #angularjs
[21:37:16] *** mven has quit IRC
[21:38:25] *** ahhhndi has joined #angularjs
[21:38:38] *** josdeha_rt has joined #angularjs
[21:40:24] *** Aliks has quit IRC
[21:40:41] *** rossk_ has quit IRC
[21:41:17] *** ilmgb has quit IRC
[21:41:30] *** rossk has joined #angularjs
[21:42:34] *** smccarth_ is now known as smccarthy
[21:45:13] *** batch4225 has quit IRC
[21:45:15] <meekohi> Anyone here have experience with Restangular? Trying to figure out the idiomatic way to update just one field on an object (by default .put() sends all fields along).
[21:45:52] *** batch4225 has joined #angularjs
[21:46:17] *** heavyhorse has joined #angularjs
[21:46:27] *** Aliks has joined #angularjs
[21:47:03] *** Aliks has quit IRC
[21:47:19] *** Aliks has joined #angularjs
[21:49:11] *** erve has joined #angularjs
[21:49:37] *** xylen_ has quit IRC
[21:49:46] <leolrrj> imagine that you have an app with news.... so you will have #/news/rock/david-bowie-dead, #/news/it/new-windows-release, etc. is it fine for search engines? like google?
[21:51:11] *** heavyhorse has quit IRC
[21:51:35] *** CanyonMan has quit IRC
[21:53:03] <ASUChander> icfantv: does something like this make sense? I want to make sure I understand this before I move onto doing it with a cookie....
[21:53:55] *** ahhhndi has quit IRC
[21:54:05] *** arizzo has joined #angularjs
[21:54:10] *** lnrdo has quit IRC
[21:54:24] *** josdeha_rt has quit IRC
[21:55:21] *** tuskkk___ has quit IRC
[21:56:05] *** VictorCL has joined #angularjs
[21:57:34] *** fBirD has quit IRC
[21:58:18] *** fBirD has joined #angularjs
[21:58:30] *** realisation has quit IRC
[21:59:04] *** pbgc has quit IRC
[22:00:04] *** arizzo has quit IRC
[22:02:06] *** bayousoft has quit IRC
[22:02:16] *** craigdragon17 has quit IRC
[22:03:35] *** CanyonMan has joined #angularjs
[22:04:56] *** ril has joined #angularjs
[22:05:35] *** fBirD has quit IRC
[22:05:55] *** Magik6k has quit IRC
[22:06:17] <morissette> I seriously cannot get the default selected option to work... w/ ng-options
[22:06:38] *** qdk has quit IRC
[22:06:47] *** Widget418 has joined #angularjs
[22:07:28] *** pbgc has joined #angularjs
[22:07:39] *** Magik6k has joined #angularjs
[22:08:45] *** Zalabinsky has quit IRC
[22:08:58] *** ModFather has quit IRC
[22:09:33] <morissette> title_id: 2 should be defined in $scope.user.title_id as also 2
[22:09:52] <morissette> which then should in the ng-options set item.id as the selected
[22:09:58] <morissette> on the item w/ value="2"
[22:10:00] *** JohnT has quit IRC
[22:10:03] <morissette> yet
[22:10:04] <morissette> it does not
[22:10:07] <morissette> or am i missing something?
[22:10:10] *** conan_the_destro has joined #angularjs
[22:10:19] *** LabCoatNomad has quit IRC
[22:10:36] *** BigPoppa has quit IRC
[22:10:51] *** GustavoChalco has joined #angularjs
[22:11:19] *** plekplek_ has joined #angularjs
[22:11:30] *** jstroem has joined #angularjs
[22:12:21] *** maximski has joined #angularjs
[22:14:35] *** erol has quit IRC
[22:15:57] *** demosthe has joined #angularjs
[22:16:54] *** ril has quit IRC
[22:16:55] *** Sky[x] has quit IRC
[22:18:24] *** troks has quit IRC
[22:18:28] <icfantv> ASUChander: sorry,i'm in between a block of phone screens i'll try to take a look
[22:18:31] *** sbellina has quit IRC
[22:18:44] *** maximski has quit IRC
[22:18:58] *** DJDelusional has quit IRC
[22:19:46] *** FancyCamel has joined #angularjs
[22:19:54] <icfantv> ASUChander: so my restangular is pretty weak - does it return a response object or what? in $http, the contents of the response is in response.data
[22:20:09] *** Mediogre has quit IRC
[22:20:15] <icfantv> ASUChander: so i don't know if response.length is a valid check.
[22:20:23] *** jtimon has joined #angularjs
[22:20:52] *** realisation has joined #angularjs
[22:20:56] *** ngbot has joined #angularjs
[22:20:57] <ngbot> angular.js/master a801df7 Martin Staffa: fix(ngMock): ignore empty javascript animations in $animate.closeAndFlush()
[22:20:57] <ngbot> angular.js/master d4fa331 Matias Niemelä: fix(ngAnimate): only copy over the animation options once...
[22:20:57] *** ngbot has left #angularjs
[22:21:00] <icfantv> ASUChander: i would also make the preferences private and make it accessible via a getter
[22:21:13] <icfantv> ASUChander: make it immutable if possible - which is hard w/ an object
[22:21:29] *** fBirD has joined #angularjs
[22:21:46] <FancyCamel> Hey, uh, I'm just popping in here for a quick question.
[22:21:58] <icfantv> ASUChander: even .constant(…) are mutable if they're objects
[22:22:00] *** sbellina has joined #angularjs
[22:22:02] <ASUChander> icfantv: it does return a list of objects, so length is good.
[22:22:04] <icfantv> FancyCamel: ask away
[22:22:12] <icfantv> ASUChander: ok. cool.
[22:22:15] *** mrmargolis has quit IRC
[22:22:23] <ASUChander> icfantv: I will make it private - thanks, great idea:-)
[22:22:38] <icfantv> ASUChander: yea, so that's the general idea. not sure you need a cookie
[22:23:03] <FancyCamel> So, I'm a Javascript noob to say the least. I just use jQuery for small little features on sites. I want to learn Angular or React and I've been told that React helps teach people "real" javascript and become better js devs.
[22:23:07] *** luhx has joined #angularjs
[22:23:09] <icfantv> ASUChander: cookies are great for storing stuff you need sent automatically with requests and for cacheing stuff across sessions
[22:23:10] <luhx> hi!
[22:23:15] <FancyCamel> My question is if I miss out on anything going for the Typescript version of Angular.
[22:23:26] <FancyCamel> "version" .. You know what I mean, haha.
[22:23:30] <icfantv> ASUChander: if you just want to persist for the user's active UI session, just keep it in a service
[22:23:58] <FancyCamel> I'm more interested in doing the javascript route to become better at my Javascript development I think. but I wanted to know if I should reconsider doing so.
[22:24:01] *** ngbot has joined #angularjs
[22:24:02]
<ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/vzT6e
[22:24:02] <ngbot> angular.js/master 4e1b36c Georgios Kalpakas: fix($controller): allow identifiers containing `$`...
[22:24:02] *** ngbot has left #angularjs
[22:24:22] <icfantv> FancyCamel: i think that's a pretty subjective question and depending on who you talk to, you'll get a different answer
[22:24:26] *** pbgc has quit IRC
[22:24:44] <luhx> I have 2 controllers (A, B) and I want to call a function in B controller that pass a B variable from A controller. I managed to call the function in B from A, but the parameters are being passed empty!
[22:24:56] <icfantv> FancyCamel: i know very little about react. just that it's really pure UI - not really any of the meat that angular does
[22:25:10] <littleli> React is a rendering engine, Angular is a framework.
[22:25:17] <icfantv> there yo ugo
[22:25:22] <icfantv> ack. there you go
[22:25:40] *** Z3R0 has joined #angularjs
[22:25:40] <icfantv> sounds like there's no real business logic
[22:25:48] <icfantv> so you could plug in your own back end
[22:25:57] <icfantv> but not sure it makes sense to use angular
[22:26:20] *** jstroem has quit IRC
[22:26:54] *** Z3R0 has quit IRC
[22:27:46] <FancyCamel> I guess I need to learn more because the way I'd heard was that they were both different methods to doing similar tasks D:
[22:28:14] *** Coldblackice has joined #angularjs
[22:28:16] *** mischat has joined #angularjs
[22:29:06] *** liranp has joined #angularjs
[22:29:28] *** jamesch has quit IRC
[22:30:02] <morissette> this is how you do it, if anyone has been watching me and wondering the solution:
[22:30:03] *** SteenJobs has quit IRC
[22:30:18] *** conan_the_destro has quit IRC
[22:30:18] *** BOdik_ has joined #angularjs
[22:30:23] <BOdik_> Hello guys
[22:30:27] *** CanyonMan has quit IRC
[22:30:42] *** DJDelusional has joined #angularjs
[22:31:04] <BOdik_> Does someone set up angular 2 with rails?
[22:31:17] *** syzygy_ has joined #angularjs
[22:31:24] *** DJDelusional has quit IRC
[22:32:58] *** BOdik_ has quit IRC
[22:33:00] *** arizzo has joined #angularjs
[22:33:01] <FancyCamel> I guess my main question still stands, do I lose out on anything by going a js route over the ts route ?
[22:33:06] *** busticated has quit IRC
[22:33:28] *** luhx has quit IRC
[22:33:42] *** jstroem has joined #angularjs
[22:34:06] *** Z3R0 has joined #angularjs
[22:34:08] *** busticated has joined #angularjs
[22:34:34] *** lastmj has joined #angularjs
[22:35:02] *** lastmj has quit IRC
[22:35:04] *** erol has joined #angularjs
[22:35:07] *** bayousoft has joined #angularjs
[22:35:36] *** fBirD has quit IRC
[22:37:26] *** morissette has quit IRC
[22:38:38] *** disconnected has left #angularjs
[22:39:02] *** pbgc has joined #angularjs
[22:39:35] *** pimlu has joined #angularjs
[22:40:07] <demosthe> FancyCamel: all js compiles just fine as ts. So no, you don't lose anything.
[22:40:40] <demosthe> Also, the choice usually isn't best characterized as typescript or javascript. It is better to think of it as typescript or babel or traceur.
[22:40:51] <demosthe> IOW, which transpiler do you want to use?
[22:41:02] *** webdev007 has joined #angularjs
[22:41:11] <FancyCamel> demosthe: I guess I mean in terms of transferable skills.
[22:41:16] <demosthe> babel and traceur will follow ES6, 7, and on development closely.
[22:41:32] <FancyCamel> is it just to use the knowledge I learn from this, I'd have to use ts later and compile it further then ?
[22:41:35] <demosthe> typescript will also follow ES6 and 7, etc... but will add the type system
[22:41:56] <demosthe> all your JS skills will transfer to typescript.
[22:42:09] <demosthe> not all of your typescript knowledge will transfer to javscript
[22:42:24] <demosthe> (typescript is a "superset" of javscript)
[22:42:54] <FancyCamel> Yeah I meant it that way.
[22:43:06] <FancyCamel> Not all of the stuff I learn will be transferrable if I do ts
[22:43:10] <demosthe> if you are on a team with a bunch of backend developers who are just learning javascript, typescript will probably be more familiar
[22:43:47] <demosthe> not transferable to javascript, but transferable to any OO language (if you do not already know one)
[22:45:11] *** Widget418 has quit IRC
[22:45:19] <ilhami> icfantv, solved it! finally.
[22:45:34] *** bayousoft has quit IRC
[22:46:17] *** Widget418 has joined #angularjs
[22:46:34] *** displague has quit IRC
[22:47:00] *** Ir1sh has quit IRC
[22:47:10] *** heavyhorse has joined #angularjs
[22:48:23] *** cyan__ has quit IRC
[22:48:51] *** ilmgb has joined #angularjs
[22:50:08] *** erol has quit IRC
[22:50:33] *** bayousoft has joined #angularjs
[22:50:40] *** erol has joined #angularjs
[22:52:00] *** heavyhorse has quit IRC
[22:52:23] *** hefox has quit IRC
[22:53:12] *** ferr has quit IRC
[22:53:13] *** ki__ has quit IRC
[22:53:13] *** Blackshark has quit IRC
[22:53:14] *** airtonix has quit IRC
[22:53:14] *** pbgc has quit IRC
[22:53:39] *** ferr has joined #angularjs
[22:53:54] *** lexileo has quit IRC
[22:54:11] *** Blackshark has joined #angularjs
[22:54:20] *** ki__ has joined #angularjs
[22:55:19] *** xiinotulp has joined #angularjs
[22:57:05] *** ansimation has joined #angularjs
[22:57:14] *** arizzo has quit IRC
[22:57:52] *** ducklobster has joined #angularjs
[22:58:09] *** dan2k3k4 has joined #angularjs
[22:58:32] *** Ir1sh has joined #angularjs
[22:58:34] *** Aliks has quit IRC
[22:58:59] *** sfan786 has quit IRC
[22:58:59] *** plutoniix has quit IRC
[22:59:14] *** diegoaguilar has joined #angularjs
[22:59:30] *** airtonix has joined #angularjs
[23:00:54] *** bayousoft has quit IRC
[23:02:51] *** Aliks has joined #angularjs
[23:03:11] *** zigzagzig has quit IRC
[23:04:27] *** corioliss has joined #angularjs
[23:05:19] *** cnap has quit IRC
[23:06:29] <icfantv> ilhami: cool.
[23:07:33] <ilhami> icfantv, how can I use the parent controller's $uibModalInstance?
[23:07:38] <ilhami> or should I use the resolve method?
[23:08:48] *** aghiuru_ has quit IRC
[23:08:51] <ilhami> the modal is not closing after updating.
[23:08:54] <ilhami> D
[23:08:59] <ilhami> :D***
[23:09:27] <icfantv> ilhami: we talked about this and i gave you the answer. the right answer is you don't use it.
[23:09:54] <ilhami> I solved the other stuff.. just that I need to close the modal after submitting.
[23:10:09] <icfantv> ilhami: in order for the edit controller to be agnostic (and it should be - it shouldn't care how it's being used), you leave the modal instance in the parent.
[23:10:36] <ilhami> also after updating? :)
[23:11:02] *** w00tner has quit IRC
[23:11:07] <ilhami> well I need to determine when the update happens and then after that close it.
[23:11:08] <icfantv> ilhami: if you look at the example i gave you, the close button and the click handler are on the modal controller, not the edit controller
[23:11:18] <ilhami> I know that.
[23:11:21] <ilhami> I have that right.
[23:11:31] *** pimpin has quit IRC
[23:11:39] <ilhami> My update function however is in the edit controller.
[23:12:40] <icfantv> it shouldn't be
[23:12:49] *** jlebrech has joined #angularjs
[23:12:54] *** sbellina has quit IRC
[23:12:56] *** pbgc has joined #angularjs
[23:13:02] *** ilmgb has quit IRC
[23:13:48] <ilhami> hmm then what should be in my editController? then it will be empty. I can as well remove it?
[23:13:57] *** xiinotulp has quit IRC
[23:14:06] *** sbellina has joined #angularjs
[23:14:09] <icfantv> the edit controller contains your form and any logic for your form (validation, etc...)
[23:14:12] *** Astm has joined #angularjs
[23:14:19] <Astm> Hello Guys
[23:14:33] <Astm> I'm trying to store json data in ionic by angular
[23:14:41] <icfantv> ilhami: or, if you NEVER plan on using that elsewhere, you can just have one controller, the modal controller
[23:14:46] <Astm> the json has nested arrays
[23:14:52] <ilhami> icfantv, I see. :)
[23:14:59] *** rossk has quit IRC
[23:15:25] <ilhami> let me rewrite some of the code then :P
[23:15:32] <ilhami> are you on gitter too icfantv ?
[23:15:34] <Astm> i'm tried to using the command
[23:15:53] <Astm> window.localStorage['submissions'] = JSON.stringify(last_data);
[23:16:00] <icfantv> ilhami: no
[23:16:05] *** maikowblue has quit IRC
[23:16:07] <ilhami> why not?
[23:16:09] <icfantv> ilhami: i forget we actually have one
[23:16:12] *** squeakytoy2 has quit IRC
[23:16:15] <Astm> but usually it store empty array without data !!!
[23:16:19] <ilhami> there are a lot of people on gitter
[23:16:20] <icfantv> ilhami: and i'm running 9 virtual desktops
[23:16:32] <ilhami> lol
[23:16:42] <icfantv> ilhami: this may surprise you, but i also have a full time job that does not include supporting our OSS library. ;-)
[23:17:11] <icfantv> ilhami: running gitter in a browser is a recipe for me missing it
[23:17:14] *** jlebrech has quit IRC
[23:17:22] *** lemur has quit IRC
[23:17:42] <icfantv> i suppose i could download the desktop client....
[23:17:50] <icfantv> yay! another chat window!
[23:17:52] <icfantv> woooo!
[23:17:53] *** SteenJobs has joined #angularjs
[23:18:15] *** Perseus0 has joined #angularjs
[23:19:23] *** Z00t has quit IRC
[23:19:49] *** Aliks has quit IRC
[23:19:58] *** sergey_ has quit IRC
[23:20:02] *** eago has joined #angularjs
[23:20:25] <icfantv> ilhami: ok, i'm on gitter now….i hope you're happy
[23:20:54] *** Astm has quit IRC
[23:21:23] <ilhami> :D yes
[23:21:32] *** ESpiney has quit IRC
[23:21:38] <icfantv> good
[23:21:42] <icfantv> :-p
[23:21:54] <ilhami> what are you called in there?
[23:22:02] <Perseus0> gg ilhami
[23:22:21] <ilhami> Perseus0, are you also here? :P
[23:22:25] *** qdk has joined #angularjs
[23:23:21] *** cvanball has joined #angularjs
[23:24:08] *** lemur has joined #angularjs
[23:24:57] *** Aliks has joined #angularjs
[23:25:51] <icfantv> ilhami: same handle
[23:26:49] <ilhami> I found you :P
[23:26:55] <icfantv> dangit
[23:28:00] <ilhami> it works now.. want to see the code?
[23:28:32] *** Aliks has quit IRC
[23:29:33] <icfantv> if you want to share, sure
[23:29:39] *** BigPoppa has joined #angularjs
[23:30:19] *** lemur has quit IRC
[23:30:29] *** Aliks has joined #angularjs
[23:30:43] <ilhami> but it works at least lol
[23:30:54] *** leolrrj has quit IRC
[23:30:55] *** liranp has quit IRC
[23:31:35] *** ianix has quit IRC
[23:31:35] *** leolrrj has joined #angularjs
[23:31:54] *** liamonade has joined #angularjs
[23:32:01] *** tesarek has quit IRC
[23:32:20] *** diosney has quit IRC
[23:35:12] *** Z3R0 has quit IRC
[23:36:14] *** VictorCL has quit IRC
[23:36:14] <ilhami> removed line 10, 11 and 12
[23:36:18] <ilhami> those were garbage.
[23:36:57] *** erve has quit IRC
[23:40:55] *** fees has quit IRC
[23:41:38] *** jstroem has quit IRC
[23:43:09] *** beakman has quit IRC
[23:44:26] *** hefox has joined #angularjs
[23:45:25] *** realisation has quit IRC
[23:45:39] *** graphettion has quit IRC
[23:46:19] *** Z3R0 has joined #angularjs
[23:47:55] *** heavyhorse has joined #angularjs
[23:48:57] *** wafflejock has quit IRC
[23:49:57] *** soee has quit IRC
[23:50:15] *** jonno11 has joined #angularjs
[23:50:17] *** FIFOd has joined #angularjs
[23:50:51] *** Vladimir_ has quit IRC
[23:51:52] <icfantv> ilhami: if your code requires data in order to render correctly/properly, you should be injecting it via a route resolve function and not doing the http calls in the controller
[23:52:00] *** FIFOd has quit IRC
[23:52:12] <icfantv> ilhami: the route resolve function will not permit the route to resolve if the promise is rejected.
[23:52:30] <icfantv> ilhami: specifically, the Reminder.get call
[23:52:38] *** heavyhorse has quit IRC
[23:52:56] *** evilaliv3 has joined #angularjs
[23:53:03] <icfantv> ilhami: the modal's resolve feature behaves exactly the same way
[23:53:28] <icfantv> ilhami: theory is that if you cannot load the data you are editing, there's zero reason to display the modal editor window
[23:55:38] *** mrmargolis has joined #angularjs
[23:55:43] *** iraj has quit IRC
[23:56:12] *** rhaynel has quit IRC
[23:58:37] *** cmosguy has joined #angularjs
[23:59:55] <cmosguy> Do any of you have an example github repo that has a toolbar header and swaps out the main content when a user is logged in, I am trying to understand how to deal with angular-ui-router in this situation