[AngularJS] How to use $log in .config?

2015-07-30 Thread Amit Gupta
I would like to use $log in .config clock of module. following is failing. Could you please suggest the right way? angular.module('mod',[]).config(function($log){..}) -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group a

[AngularJS] Angular Dynamic Routing with Controller resolving from view template

2015-07-30 Thread Piyush Gupta
Its quite obvious but cant seem to find an answer. I am using Angular with Asp.net MVC. I can comfortably write views/templates using Razor and link js file in it for controller. It work fine as user request a page, It get served by Asp.net MVC runtime,js file having angular controller definitio

[AngularJS] Re: How to inject a service in Angular2

2015-07-30 Thread Pete Moss
Thank you, Eric. I tried appInjector, viewInjector, componentServices, and hostInjector and nothing worked. I spent hours yesterday trying to puzzle it out. Then I discovered that I had not included --emitDecoratorMetadata in my Typescript 1.5 compiler settings. Aaargh. Once I did that, things

[AngularJS] Small form inside a dropdown directive

2015-07-30 Thread julio v g
Hello everybody I need help with this plunker . On my job i need open a small dropdown, that will contain a small form. It must be a directive. 1- My directive will receive a model 2- the model must be printed on the input 3- with the save but

Re: [AngularJS] Who is caching my templates?

2015-07-30 Thread César Barone
Erick, Thanks for your response. In my development environment i disabled cache. My problem is in production. Em quinta-feira, 30 de julho de 2015 00:18:17 UTC-3, Erick Noronha Engelhardt escreveu: > > Install chrome extension "Cache Killer" > > Ou use Chrome Dev Tool -> Network -> Disable Ca

[AngularJS] Re: AngularJS Heros wanted!

2015-07-30 Thread Chiheb Ben Jemia
Hi, What do you need exactly ? - A full time developper ? - A freelancer ? - An entity that can ensure all the lifecycle of TMA (Third party Application Management) of your appli ? Best Regards On Wednesday, July 29, 2015 at 2:48:55 PM UTC+1, Marco Lehmann wrote: > > We are looking for Angular

[AngularJS] local variables in Angular2 must be lower case?

2015-07-30 Thread Pete Moss
Using 2.0.0-alpha.32 and I am finding that using local variable names that are not all lowercase is problematic. Consider: Add Todo When I look at the DOM in Chrome I see: Add Todo Somewhere along the way txtToDo was forced to lowercase. Is this a "feature" or a bug? -- You received

Re: [AngularJS] local variables in Angular2 must be lower case?

2015-07-30 Thread Pawel Kozlowski
Hi! It is a browser that lower-cases HTML attributes before Angular can do anything about it. This makes sense since HTML is not case-sensitive and not case-preserving. To work-around this we've got convention in place: you can declare variables with mixed-case like this: Hope this helps, Pawel

[AngularJS] Re: AngularJS Dialog Maximize and Minimise icons on header

2015-07-30 Thread Chiheb Ben Jemia
hi use dialogExtend .dialogExtend({ "closable": json.closable, "maximizable": json.maximizable, "minimizable": json.minimizable, "collapsable": json.collapsable,

Re: [AngularJS] local variables in Angular2 must be lower case?

2015-07-30 Thread Pete Moss
Pawel, Thank you for the clarification and prompt reply. Regards, Pete On Thursday, July 30, 2015 at 8:49:14 AM UTC-4, Pawel Kozlowski wrote: > > Hi! > > It is a browser that lower-cases HTML attributes before Angular can do > anything about it. This makes sense since HTML is not case-sensitiv

[AngularJS] Bootstrapping AngularJS for the second time - is it possible to bypass an initialization check?

2015-07-30 Thread Andrey Andreev
Hello, I have a kind of tricky question and hope someone could help. Story: A code was inherited and I want to upgrade Angular JS from 1.1.5 to 1.3.4. Due to the extensive usage of jquery on the UI, there is a segment where the angular.min.js library is being dynamically appended to the docum

[AngularJS] Re: AngularJS Dialog Maximize and Minimise icons on header

2015-07-30 Thread john . 2 . thompson
Hi The current dialog is called from a directive, can I add in the extended options there? link:function (scope, element, attrs) { var dialogOptions = { autoOpen:false, modal:true, width:(!_.isUndefined(attrs.width)) ? attrs.width : "auto",

Re: [AngularJS] Who is caching my templates?

2015-07-30 Thread Erick Engelhardt
Do you use CloudFlare or similar service? There is an option to disable cache (equal to chrome dev tools) while you are developing. Erick Engelhardt 21 99463-1994 On Thu, Jul 30, 2015 at 9:30 AM, César Barone wrote: > Erick, > > Thanks for your response. In my development environment i disab

[AngularJS] HTML by Json

2015-07-30 Thread fabio zacarias
I would like some help how to read this JSON and create a html from it I accept suggestions for creating forms I thank you angular.module('testejsonApp') .controller('MainCtrl2', (function($scope) { //Test the handling of quoted strings var test_data = {"Nome":"Fabio ", "Sobrenome":"Za

[AngularJS] HTML by Json

2015-07-30 Thread fabio zacarias
I would like some help how to read this JSON and create a html from it I accept suggestions for creating forms. I thank you angular.module('testejsonApp') .controller('MainCtrl2', (function($scope) { var te

[AngularJS] Re: How to use $log in .config?

2015-07-30 Thread Sander Elias
Hi Amit, You can only inject providers during config. Not sure if there is a $logProvider that might server your need. Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from i

[AngularJS] Re: Any plans to have a config setting to disable/enable template caching for ngRoute?

2015-07-30 Thread Sander Elias
Hi Dimitry, No, as far as I'm aware of it there is not. May I ask why you would do this? Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+un