Minor correction - when I wrote "*your Input is always parent component's
`data$` observer. Observer did not change.*" I should have said Observable
instead.
And an addition: "*If you don't subscribe to observables, they don't run,
from what I've learned so far.*" I've learned this when my
Hello,
I can try, as a method of learning myself about change detection :)
On Tuesday, June 21, 2016 at 7:35:22 PM UTC+2, Christophe HOARAU wrote:
>
> Hi,
>
> Could someone help me understand why my view is not updated in the
> following plunker
Yeah, did you check the last section of that linked article?
TL;DR: since the observable ref does not change, you need to:
- inject change detector ref to your component
- call changeDetector.markChanged() in that subscription callback.
Look for more details closer to the end of the article.
I've had a similar issue with MDL, what worked for me was wrapping the call to
the third party plugin in another `setTimeout(fn, 0);` in one of those after
init hooks. Don't know if it's your case to but maybe it can help if you don't
find a better solution.
--
You received this message
As always, the answer is "it depends".
How are you loading and bootstrapping your app? Is it systemjs, like the
quickstart example? If yes, then when with your systemjs you '*import*'
something like '*app/main*', that *app/main* will in turn *import {
bootstrap } from
.
On Sunday, June 26, 2016 at 11:32:45 AM UTC+4:30, Zlatko Đurić wrote:
On Saturday, June 25, 2016 at 9:08:30 PM UTC+2, Shiva Rowshan rad
wrote:
Hi everyone
I have a Json Data which I showed in rows with 2 columns. I
put a search box to show the search results by filter
On Saturday, June 25, 2016 at 9:08:30 PM UTC+2, Shiva Rowshan rad wrote:
>
> Hi everyone
> I have a Json Data which I showed in rows with 2 columns. I put a search
> box to show the search results by filter . but it does not work correctly .
> Sometimes it shows both data and its next index ,
Well then maybe stackoverflow or some ionic forum might be good next steps,
if you can't find the issue.
On Monday, 27 June 2016, Shiva Rowshan rad wrote:
> yes Ionic has row and col classes for grid and i used in my code.
>
> --
> You received this message because you are
I've just updated an ng2 app from router@2 to router@3(called Vladivostok btw)
and the changes, once your app is already componenty, are mostly trivial.
Granted, it's for an ng2 app, but the new router seems to be easier to grasp.
I think breaking up your app into components is a good step
On Wednesday, June 15, 2016 at 2:21:07 PM UTC+2, ömer iyiöz wrote:
>
> Hello, i'm learning angular.js. And i need to learn a backend technology
> but i cannot decide which one to choose. My plan is to develop a website
> similar to youtube. Number of users expected for this site can reach to 1
Well from the angular-pdf code you can see two things: they use pdf.js, and
they don't expose annotation capabilities.
So you would have to extend the angular-pdf code (fork it, do the changes,
maybe submit a PR back). You would have to expose the annotation functionality
yourself and wrap it.
I believe you need to
`import App from './app/app.component';`
Not sure without seeing the code in main though.
On Friday, April 8, 2016 at 8:54:06 PM UTC+2, Ana Caroline Ferreira wrote:
>
> Erro:
> app/main.ts(2,28): error TS2307: Cannot find module './app.component'.
>
> And dirs is like
I suspect this is because your response handler is ran outside of the Zone?
On Sunday, April 10, 2016 at 5:38:14 PM UTC+2, Fabio Tisci wrote:
>
> I've created one... even though is not updating properly after I get the
> successful payment:
>
> onSubmit(form):void{
> this.form = form;
>
On Monday, April 11, 2016 at 2:57:46 AM UTC+2, Hiren Modi wrote:
> Please help me to know how to save the Json Variable values globally in
> the system developed in Angularjs2 + Typescript.
>
> In Angularjs 1, we were using Rootscope to globally declared the values to
> access. Is there any
mail.com> wrote:
> @Zlatko Đurić
>
> thanks for your help.
>
> that's right, after log "this.jobs" in subscribe function, it's working
> fine.
>
> but another problem is:
> when I use ngFor to loop this.jobs, it also get an error "EXCEPTION:
> C
On Friday, April 22, 2016 at 9:07:08 PM UTC+2, Dawg wrote:
>
> Hello everybody,
>
>
>
>
Not certain, but I'm pretty sure it's working because of `[]` above. By
putting the square brackets around the property, you explicitly declare it
as a property (since there's no native html attribute
On Friday, April 22, 2016 at 9:07:08 PM UTC+2, Dawg wrote:
>
> Hello everybody,
>
>
>
>
Not certain, but I'm pretty sure it's working because of `[]` above. By
putting the square brackets around the property, you explicitly declare it
as a property (since there's no native html attribute
Oh, that's because your jobs have not been fetched yet. When ou call
getJobStatus() on jobService, it merely fires the request. It does not
complete the request.
So your code is executed like this (from ngOnInit forward):
- this.getjobsStatus() // on jobsComponent
- getjobsStatus calls
On Sunday, April 24, 2016 at 2:45:55 AM UTC+2, Star Apps wrote:
>
> Hello,
>
> I´m having troubles doing AJAX with $http
>
> I´m doing something wrong, can you help me please
>
>
Somebody probably could help you. But you didn't ask a question - just said
you have troubles doing AJAX. What kind
This message shows why moderation on Node.js list is worth a small delay in
seeing your post - no spam.
On Monday, May 16, 2016 at 8:15:24 PM UTC+2, Vinay jais wrote:
>
> Hello,
>
>
>
> Hope you are doing great!
>
> We have below Job opportunity with our reputed client.
>
> Please find
On Thursday, May 12, 2016 at 6:30:31 PM UTC+2, Kyle Thomas wrote:
>
> Is it possible to start up node and have both run on the same port?
>
Node app as a backend API and the angular app as a frontend? Yeah,
relatively simple, if you let Node serve your angular stuff. Look up
express.static()
hybrid
>> with the upgradeAdpater so I can run both. The yeoman generator was running
>> everything through the .tmp.
>>
>> I guess I'll look into seeing if I can modify the Grunt script to serve
>> everything up.
>>
>> On Sat, May 14, 2016 at 9:56
Oh, well, that's because you didn't build your Angular app for deployment.
Try running "npm build" if you're using one of the more popular packs. Then
you'll get a "dist/production" directory or something similar - _that_ is
the folder you need to serve.
(Or at the very least, look in your
I agree with Günter, you need to choose on your own. Yes, there is no
timeline. Yes, Google cares a bit less then it might about this. But
they're not building Angular for you and me, they're mostly building it for
themselves. So choosing Angular was a risk for me from the start, but the
On Monday, May 2, 2016 at 1:45:35 PM UTC+2, Bert Huygens wrote:
>
>
>
> When i try to use a url with parameters like :
> http://localhost:3000/visit/:id i get an error
>
> ReferenceError: System is not defined
>
>
>
How are you rendering your nav links? Maybe you're loading the template
files
On Sunday, May 1, 2016 at 10:34:38 PM UTC+2, Sourav Dutta wrote:
>
> I need to know, How can I achieve similar functionality in angular2.
>
>
There are several ways, depending on what you need. The simplest being -
just asign the value in the constructor. But also take a look at Lifecycle
It sounds too simple to be ok, but... Don't you need an ngModel on
too? I have a here that works when
"variable" is set programatically, so I'd expect you need the same?
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this
On Wednesday, May 4, 2016 at 11:11:14 PM UTC+2, JM wrote:
>
>
> Is there a chance to include the creation of secondsChange with the
> @Output decorator from inside the @InAndOut decorator.
> So I could reduce the lines:
>
>
> @InAndOut public seconds:number = 0;
> @Output("secondsChange")
I think you refer to regular web, not a single page app.
The answer on how to share state between controllers on completely different
pages, or on the same page after a page reload (or navigate and cone back
later) is still the same -service.
You need a service that can preserve state. Whether
On Wednesday, August 10, 2016 at 9:00:44 PM UTC+2, Przemysław Fieluba wrote:
>
>
> import { Routes, RouterModule } from '@angular/router';
>
>
> /@angular/router/index"' has no exported member 'Routes'.
>
>
If you're using router version 3+ (check in your package.json), I think
they lost the
Not sure if I understood correctly: you're saying that you want the route
data on a service? I don't think that's how it works, and frankly, I don't
see how it can work that way. If you have a service, that is by definition
*not* tied to a single route, why would you want hardcoded (from
On Thursday, February 2, 2017 at 8:54:40 AM UTC+1, Mark M wrote:
>
> I am an experience developer, but new to Angular.
>
> Is this a good place to ask for critique/code review on a new Angular
> project?
>
There are a few people here who are usually constructive in their critique.
I'm not
On Wednesday, August 31, 2016 at 1:57:21 PM UTC+2, Klaus Meier wrote:
>
>
> Now with using number type, calculation is easy, but customer wants to
> formatted numbers. What is the best way of dealing with this dilemma?
>
>
TL;DR: Use CurrencyPipe to display values. Use Pipes in general to
Did you create this project with angular2-cli tool? Did you change the
System.js config default stuff? Because the ` *const map: any = {
**'ng2-charts':
'vendor/ng2-charts'** };` *part should, by default, be done in
`src/app/system-config.ts`. You already have a System.config({ map,
Enter code here...
Everything is cool in this example (sorry for the bad pun). This is simply
the JavaScript way of doing things.
You have an object, that object has a property, which is a function, that
function is bound to the object. All cool. What angular doesn't want you to
refer to is
e already tried:
>
>
>
>
>
>
> nothing worked
>
> What worked was to put the css file in a subfolder within the app
> directory.
>
> thanks for help
>
> Em terça-feira, 4 de outubro de 2016 04:14:29 UTC-3, Zlatko Đurić escreveu:
>>
>> Hi
>>
&
Hi,
On Tuesday, October 4, 2016 at 12:12:13 AM UTC+2, Ed Thompson wrote:
>
> I have about 30 html files in my Angularjs 1.x app. For my production
> build, I am trying to decide if I should keep them separate files, or if I
> should combine them into a single file at build time as a single
I've read an article or a SO answer or similar recently, Angular binds to
HTML *properties*, not *attributes*. That's because a html attribute (e.g.
** or *el.setAttribute('class', 'my-class');* )can
only ever be a string. And a property of a HTML element (*el.className*)
can be an object
The equivalent of that would be "import { Vimeo } from 'vimeo';".
You might also need to tell your packager (Systemjs, we pack?) where it can
find 'vimeo'.
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop
What's in the EmailsView? An error there somewhere might cause the rollback.
On Tuesday, September 27, 2016 at 11:50:47 AM UTC+2, tpessegueiro wrote:
>
> I have an issue that is happening in both IE and Firefox. On Chrome it is
> working as expected.
>
> I have the following routing defined:
>
>
On Monday, September 26, 2016 at 2:16:55 AM UTC+2, Richard Kandora wrote:
>
> I don't mean all of them together but all of them individually. Like, is
> there a name that refers to the super group of them.
>
> Say for example I write 2 services, 1 provider and 2 directives. I could
> say I
Hi
On Friday, September 30, 2016 at 8:27:28 PM UTC+2, Guto Godoy wrote:
>
>
> and in index.html I inserted the line:
>
>
>
Like Elias said, strip the whitespace. Additionally, you might want to
prepend that path with */*, so it becomes
*/vendor/bootstrap/dist/css/bootstrap.min.css*.
Finally,
On Saturday, October 1, 2016 at 11:43:39 AM UTC+2, srinivas jayaram wrote:
>
>
> I have a chart on my dashboard, I need to connect this chart to the DB
> using Angular JS inorder to populate the results. Looking forward for a
> solution.
>
Typically your Angular part of the application will
Hi
On Monday, October 3, 2016 at 10:21:40 AM UTC+2, Sander Elias wrote:
>
> If you export things explicitly, it's very hard to accidentally expose a
> thing that should have been private.
>
I agree, at least in part, that explicit exports let you target specific
stuff. But if the things should
Yes, this is a simple, common issue.
To load the app, you ask Apache the index.html page, which it serves you.
While in the app, when you click "dashboard /tracker" link, angular intercepts
it and simply displays you the new page. You never touch Apache. Now, when you
refresh the page, you
On Thursday, January 5, 2017 at 2:34:16 PM UTC+1, tim garver wrote:
>
> Gotcha,
> i was really more concerned with the auto refresh of the remote data. Then
> the client to client would be automatic
>
>
That is easily achieveable. It's just not part of the Angular as a
framework. See, if server
That sounds like angular app didn't start at all.
You also need to bootstrap the angular MyApp module somewhere. Are you doing
that?
What does your index.html look like?
--
You received this message because you are subscribed to the Google Groups
"Angular" group.
To unsubscribe from this
If I understand correctly, you want to avoid the extra AJAX call/roundtrip,
right?
Two main options here:
- no need to edit the data: render the list yourself in pure html, no need
for ng-repeat. You can still add Angular components/binding or whatever
tags, but you don't need ng-repeat
On Thursday, March 16, 2017 at 8:08:06 AM UTC+1, amadese wrote:
>
> Hi,
>
> I have problem with my application in Coldfusion 11 (main page:
> http://hostname/myapplication/).
> I'm trying (with *angularJs 1*) to implement the routes.
>
> The page contents different links like:
>
>-
Well, in theory, you don't need to run your server to run stuff on app
engine, but that depends on which angular seed project are you using. You
should have something like "npm build --prod" or some such script, or if
it's angular-cli, "ng build --prod". That would create an output, usually
in
On Wednesday, April 19, 2017 at 3:25:03 AM UTC+2, rob...@leapyear.io wrote:
>
> Imagine you have an Angular 2 app that makes calls to a REST API with
> Observables. Further imagine that the response time of these calls will
> take many tens of minutes or even hours to return a response.
>
>
I agree with Juri. Docker can be quite useful. But the question is, is it
useful to *you*? What specific job you want it to do? Develop your angular
apps, and only deploy them as docker images? Or maybe use docker images of
your backend server for use in local development? Or use some
The article is interesting, although with a bit different perspective than
mine. Here's my take on the issue.
I think the perspective I've mentioned is about the proper abstraction. And
proper separation of concerns You say (or I think you do) that the goal of
your JavaScript code is to
The simplest would be `max` operatorin an observable:
https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/max.md
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and
Well it's not"after the map" that's the problem here, it's"after the map has
resolved".
So in your use case when you need to call getRefresh, you would have to chain
the two calls; first, call the refresh token endpoint, and when it comes back,
than you can use your cookie.
So your "resource"
On Wednesday, July 12, 2017 at 10:00:16 AM UTC+2, Tommaso Betti wrote:
>
> How can i return an Observable in the private method if i have to return
> the Cookie if i don't need to refresh?
> Isn't the same thing that i'm doing here?
>
> if (!Cookie.get("access_token")) {
>
I would try downloading the bootstrap libs locally:
https://v4-alpha.getbootstrap.com/getting-started/download/
Or maybe via npm: npm install bootstrap@4.0.0-alpha.6
After that, you would need to change your build process, whether it's manual,
ng-client, webpack or something else, to include
Maybe have is Disabled being a map instead?
E.g.directive would be:
ng-disabled="isDisabled[$index]"
And than your controller sets that:
addToCart(index, ...rest) {
...
this.isDisabled[index] = true;
...
}
(Or whatever the method names, typing on a phone here).
--
There are multiple ways to do this.
One is: wait until you load the config file and then *redirect to *a url
that will render the appropriate components. You might use router, or even
multiple router outlets for all that. E.g. let's say your base route is
something like /treeview.
So you read
On Monday, November 28, 2016 at 4:51:35 AM UTC+1, Sander Elias wrote:
>
>
> I also add something like this to the css of the project, to prevent items
> from briefly flashing into view:
> [has-access] {
>display:none !importand
> }
>
>
>
Well this is a cool trick that I haven't thought of
On Wednesday, July 19, 2017 at 4:03:20 AM UTC+2, kapil Budhiraja wrote:
>
>
> I'm writing an web application using Angular 4, and would like to know if
> it's safe to load a JavaScript file to connect to socketIO for emitting and
> listening on responses ?
> Also, I want to use jQuery for
with node.js
> I would also like to use same node_modules for these I do not want
> node_modules sprawl. Is that possible to have shared modules folder for
> both to use?
>
> Thanks
>
> On Wednesday, June 21, 2017 at 1:16:28 AM UTC-7, Zlatko Đurić wrote:
>
>> Hi
On Wednesday, July 26, 2017 at 2:20:21 PM UTC+2, Stéphane Ancelot wrote:
>
> I have a view that will need to refresh some data on display every 300ms.
>
> I will get these data with an xml http get request.
>
> what sounds to be the best method to do the refresh loop (getting data and
> refresh
Can't you pass it around like anything else in Angular, via a service? A simple
Subject could probably pass this around.
In any case it sounds fishy to pass those around. I assume that there might be
a case but I can't think of one right now. What is it that you're trying to
achieve? Hook to
Well, *ngFor *is* the repeater for Angular, if you want to use it. I'm not
sure if you just got the syntax wrong or you're asking for something more
complex.
In case it's just about syntax, you have to do something like this:
{{ user.name }}
Maybe you also want to show the numbers,
I would still avoid it. For one, now you have a firewall in front of your XP
box, but it still has potential built-in vulnerabilities and it's still a
bottleneck, potentially slowing down the whole service you're providing.
And the second thing, you gain nothing by it.
What's the problem you're
On Thursday, June 29, 2017 at 11:22:24 AM UTC+2, har...@rapidd.net wrote:
>
>
> I am showing some data in P-dataTable but i want to put input text field
> on click on first row of table only (I am getting inout box but get
> repeated through out of thee table).
>
This should be really easy to
Hi Tito,
Congratulations on your first production deployment! :)
There are multiple ways to run multiple "apps" from one Node (express) app.
You're saying Angular apps, but it seems like Node.js is involved too, so
I'll try to address some cases. If you have one very specific
TL;DR:
- if
Sander, can you please enlighten me? I was under the impression that
"casting" backend responses is just for static checks - when you compile
Angular to JavaScript (to deploy to prod, or even run in browser), that no
checks are actually enforced?
E.g. take something like this:
class Post {
Hi Brian,
I think overriding Http or HttpClient won't help with this - Angular uses
ResourceLoader to load templates etc. You would need to override that and
provide your own implementation. Check this ticket as a starting
point: https://github.com/angular/angular/issues/13286
Zlatko
--
You
Simply filter this in your component. When you fetch that data, do something
like this:
this.places = data.places.filter(p => p.place);
That should do it.
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe
Well, you didn't add formsModule to your *dynamic* module :)
Try this: https://plnkr.co/edit/vEEQECofC7qfvCYCJ4bg?p=preview
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop
On Thursday, October 5, 2017 at 9:59:47 PM UTC+2, Turkel wrote:
>
> Great it works perfectly now. After hours of tries I was able to combine
>> code Router, Http and HTML Converter within one component.
>>
> You are great developer, i`d love to be your student :)
>
>
Thanks, I appreciate a good
On Monday, October 16, 2017 at 10:00:46 PM UTC+2, Tito wrote:
>
> Greetings,
>
> I would like to start using socket.io so that I can display changes on
> back end to client's UI so that user does not need to refresh screen.
> Any good reads out there you recommend? and/or do you recommend
Robert, I think it's a simple scope issue. Your iframeClickHandler is
attached to a click freely, which means it's scope is the iframe, not your
component. Hence this.router is undefined. You need to bind that function
to your component, like this:
if (typeof doc.addEventListener !==
Well, that click to post went out too fast :)
I've meant to say, look at this plunk to see what I'm talking about:
https://plnkr.co/edit/ifgGessycEUdy7lL0Y57?p=preview
On Saturday, October 14, 2017 at 10:05:59 AM UTC+2, Zlatko Đurić wrote:
>
> Robert, I think it's a simple scope issue
On Friday, October 13, 2017 at 1:57:21 PM UTC+2, Vinu Prasad wrote:
>
> Hii..everyone angular2 . There are many fetching process takes place in my
> project from server-side. I want to display the data fetching status at
> client side . Plase help me how can I make it possible.
>
I'm not
Sorry, my mistake, typing that on a phone without checking.
You don't need sanitizer here. Put the "actions" prop directly into the
template.
On Oct 1, 2017 9:01 PM, "Turkel" wrote:
> The HTML which I m fetching is :
>>
>
> {"actions":"Password<\/label>\r\n\t\t\t
The problem is that such form (or anything you passed in via sanitizer) is
outside of angular scope. Simply said, angular doesn't know about your form.
You could, after you pass the form in, try and attach your own listener to the
form, but that's messy and probably buggy and has other problems
I suspect you might need to sanitize the file url. Now I don't remember exactly
for angular 1, but I think the service is called $sce, so look into that first.
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe
Did you try injecting some common service into that dynamic module, and then
communicate via that service?
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it,
Hi William,
On Tuesday, October 17, 2017 at 8:32:53 AM UTC+2, William Saxton wrote:
>
> I'd like to use AWS to host my Angular web app, as well as use all of the
> Amazon cloud services as necessary (DynamoDB, ElasticCache, etc). I
> planned on using Elastic Beanstalk because I have experience
Hi Gaurav,
Let me also take a shot at this.
If I understand this properly, you want to have a Core module which
provides NavBar as a navbar component, which can go horizontally or
vertically. Additionally, the items in navbar are implemented as NavBarItem
components. Perhaps you also have a
On Wednesday, October 18, 2017 at 2:41:49 PM UTC+2,
andre@netzwerkcenter.ch wrote:
>
> Hallo zusammen
>
> Ich habe immer wider die Situation, dass neue Methoden nicht automatisch
> bei gestartetem ng serve verfügbar sind.
> Erst nach dem ich via Ctr. + C den Server gestoppt habe, und dann
Hi Rich,
In addition to what Sander has said, I'll add one more vote for
template-driven forms. I often have to style the forms specifically, and
reasoning about that is, to me, much easier when I can see what I'm styling
- but that heavily depends on what kind of an app you're working on. I
On Wednesday, November 29, 2017 at 7:44:16 AM UTC+1, ayushsing...@gmail.com
wrote:
>
>
> Query on ngSubmit see screenshot attached
>
Screenshot of the app doesn't help, can you share code? And preferably as a
plunkr or stackblitz or similar?
--
You received this message because you are
Hey Arnaud,
On 07.11.2017 09:15, Arnaud Deman wrote:
In the associated component you just need something like :
@Input() tikersymbol: string;
As you use two way binding the value will be updated when the user enter a
value.
Here is the angular doc :
If it's a template-driven form, your component would have a property named
that.
E.g.
export class MyComponent {
tickersymbol:string;
// later in the code...
getQuote() {
this.myService.getQuote(this.tickerSymbol).subscribe();
}
}
On Tuesday, November 7, 2017 at 2:13:10 AM
Well, if it's aan array, you will have to do something like
dara[0].companyName.
What does your json look like?
Also, use data?.companyName in the template, so that it doesn't break if
your data is undefined, like when you're getting the quote.
On Nov 8, 2017 1:35 AM, "Rich Leach"
On Wednesday, November 8, 2017 at 2:07:43 AM UTC+1, Rich Leach wrote:
>
> LOL
>
> ... you would think this would be something easy
>
> {{data[0].companyName}} is not working, nothing gets returned (no errors
> either).
>
> I've included the returned json below (copied directly from the
Hi,
On Wednesday, November 8, 2017 at 5:51:39 AM UTC+1, Suhas Pansare wrote:
>
> I have AngularJs client application which displays data in table using
> dir-paginate directive of dirPagination.js
>
> current-page="vm.current_page">
>
> Here is the search input
>
>
>
>
>
>
I think something
Well the recommended pattern is to break down code by components. So try to
make at least as many folders as you have specific pages and put code for
each individual page into it's individual folder. And when you see some
code that you're repeating (it's common to all, e.g. some specific
Hi Brian,
I definitelly think you could do that. Just as you run "karma start", you
could also run "mocha". The problem karma is solving is not simply how to
run tests though. It's also how to setup the whole environment. Sure, you
can mock an HTML element, run a spy on that element. Then you
On Tuesday, October 24, 2017 at 8:40:43 AM UTC+2, forexleads wrote:
>
> I am a content management architect looking for some guidance from the
> Angular experts. Following is my thought process for a project. Please let
> me if this is doable and recommended.
> "For some pages, to deliver
Well, two things. For one, the way you define your property, *stock*, it's
undefined when the thing is initialized. So, before the *dataService* gets
the data back, it's undefined in the template, so yuou have
*undefined.symbol* - so that's what fails.
You can any of these:
[...snip...]
Well, localStorage is also not going to persist accross subdomains.
Basically it's a cross-domain problem.
But you say you'll have to reload onmce again once you have the token in
local storage? I don't think that's the case, you can simply inject Router
into your AuthComponent (whichever
On Tuesday, October 24, 2017 at 8:40:43 AM UTC+2, Felix Christo wrote:
>
> Currently I am working on Angular 2. Whats s the diff btw angular 2 and 4?
>
Better HttpClient (with proper interceptors), better animations, and
depending on which 2, much better router. Which 2 do you have? FWIW
So I assume that e.g. I login to login.app.com as *zla...@mydomain.com*,
then your login API returns something like: *{ accessToken: ..., domain:
mydomain }*, and then login form redirects me to mydomain.app.com. Yes, in
that case, you'd likely lose all that extra info.
Now, first the simpler
On Friday, October 20, 2017 at 6:06:31 PM UTC+2, Gaurav Verma wrote:
>
> Thank you Zlatko for your response. You said @Input() layout =
> 'horizontal' will allow me to configure the NavBar layout but how can I
> dynamically set the layout?
>
This particular problem is sSimple to solve:
In addition to the other two answers, I will add another line of thought,
perhaps a little controversial.
The answer to your question might be " yes", you have made a mistake by
choosing Angular. We're all focused on different fields and front-end
development might not be your strong side.
1 - 100 of 142 matches
Mail list logo