[AngularJS] Re: Updating View after the http service call

2017-03-14 Thread celerity12
Thank you Sander It's working as expected On Tuesday, March 14, 2017 at 1:34:00 PM UTC-7, celerity12 wrote: > > I tried the expressions > > {{}} and "" in the view/template using the component variable but the > problem is they don't get updated after the service is called. > > i.e. I am

[AngularJS] Re: Updating View after the http service call

2017-03-14 Thread celerity12
I tried the expressions {{}} and "" in the view/template using the component variable but the problem is they don't get updated after the service is called. i.e. I am trying to disable the controls and later on add some text in controls after the http web service call is completed so i can

[AngularJS] Re: Angular2+ Routing with PathLocationStrategy used in HTML for content management

2017-03-14 Thread Martin Kuhn
Hi Sander, what you did is GREAT. Thank you very much. I tried it out and it worked for me also in the production build with AOT. (maybe because all I need is the usage in a div with innerHtml) Regards Martin Am Montag, 13. März 2017 17:27:46 UTC+1 schrieb Sander Elias: > > Hi Martin, > >

[AngularJS] Can ngUpgrade allow an AngularJS Directive to Wrap an Angular Component to provide a sort of backward compatible facade to other apps that use said directive/component

2017-03-14 Thread Aaron Hunt
Currently I work on a few applications that have older versions of AngularJS each of which share directives with other AngularJS applications. We want to be able to convert our applications eventually to Angular instead of AngularJS and ngUpgrade looks promising. *The scenario:* Suppose

[AngularJS] Angular 2 Use Userdata in different objects

2017-03-14 Thread Marco Gall
Hello, i used a service to Login. This service have a field named loggedIn. Now i wan't to use this field in different modules no matter where the module is. In all Module i need the field i want to get the same data (singleton). Now i have simplified following I used in

[AngularJS] Angular 2 Data from Service

2017-03-14 Thread Marco Gall
Hello, i wan't to use the same loginServers, exactly the userdata from the service in different modules. In one Module Login, i do the loginprocess. in the loginmodule and another module (navigation) i will consume the data. In navigation i will hide some navigationoptions. All data are

[AngularJS] Re: md-tabs with angular ui-router not rendering grandchildren

2017-03-14 Thread Mike Feltman
I was able to get this working by changing the view syntax like this: .state('customers.customer.acknowledgements', { url: "/acknowledgements", role: "customers - edit", views: { "customeracknowledgements": {

[AngularJS] Angular2 service injectable determined at runtime

2017-03-14 Thread Reza Razavipour
I apologize in advance for not creating a plunker for this code, there is a number of third party controls that are needed for it to run. My question is about selecting service, dependency injection, at run time, based on some conditions. lets discuss only one service for this example. import

[AngularJS] Angular 2 deploy to Tomcat server?

2017-03-14 Thread Saju Thankathurai
Hi, I have created an Angular 2 application using angular-cli. I need to deploy it in Tomcat server. I issued a command "ng build --env=prod". Copied all files under dist folder to my tomcat/webapps folder. This was not working and getting an error Failed to load resource: the server responded

[AngularJS] md-tabs with angular ui-router not rendering grandchildren

2017-03-14 Thread Mike Feltman
I am using Angular 1.6.2 with Angular Material 1.3 and making fairly heavy use of components. I have an outer "appComponent" that wraps the rest of the app and provides a header toolbar with navigation, a footer and then my top-level app components load within a ui-view inside the app

[AngularJS] Inconsistent errors when running unit tests in karma on teamcity

2017-03-14 Thread Jens Bengtsson
Hi! We are using Angular 2.4.8 and we run a continuous build in teamcity. When running our javascript unit tests using Karma we sometimes get the following error: [Step 7/8] JavaScript Unit Tests (20s) [12:09:28][JavaScript Unit Tests] 14 03 2017 12:09:28.773:INFO [compiler.karma-typescript]:

[AngularJS] Cards to slide layout

2017-03-14 Thread hottor godwin
What is the name or the layout switch and can you please provide any resource to help achieve this https://drive.google.com/open?id=0B3RGvRFquDmqamhsY0FqbDFrMGc . Thank you. -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group.

[AngularJS] How can i add class to body when i am showing div to stop scrolling to body?

2017-03-14 Thread theromie
I am showing div on click of function with animation but i also want to add noScrolling to body when div is shown. How can i do this using HostBinding? -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from

[AngularJS] AngularJS: Getting err_blocked_by_client on $http post?

2017-03-14 Thread Karl Krasnowsky
Hello So I'm trying to implement a file upload process in angular that simply takes a csv file selected by the user, and posting this to a service at a working endpoint for continued processing. On the post attempt, the response simply generates an 'ERR_BLOCKED_BY_CLIENT' error and I'm DOA. All

[AngularJS] Call html page

2017-03-14 Thread Adnan Salahuddin
Hi folks, I followed https://gist.github.com/vojtajina/3354046 In all-templates.html, I want to get html content page. For example, we have two files called one.html and two.html *where one.html:* This is first template *how to call one.html page?* I tried but not working load I am