Michael De Abreu
Michael De Abreu
You can access the moment library directly and use that functions. I think.
Did you manage to solve this?
Just to put my penny into this: From [Code Guide](http://codeguide.co/#html-syntax): > ### Boolean attributes > > A boolean attribute is one that needs no declared value. XHTML required you to...
Thinking about this, decorators can be given arguments, so I think maybe the `@Input()` decorator could be given an object argument with `isBoolean` property. However, this would need the developer...
@vecernik I'm glad you found help, but it would be a good idea to search in the future in Stackoverflow. As someone else maybe as well be helped with your...
You could also do this only with a computed getter. I notice that Angular does create the property in the component, it just doesn't put anything to it. So, by...
@yankee42 Angular doesn't provide any value if you just set the attribute in the HTML element. So, `this.attribute` value if you use your component as ` ` (that is the...
@cameron-earl @yankee42 Seems that you are right. Thank you both. I just update my stackblitz and it does seem to pass an empty string.
It should go by ``` javascript // es6 implementation angular .module('app') .controller('LoginController', LoginController); class LoginController() { constructor(Authentication) {// injection dependency, for sure. this.credentials = {}; this.Authentication = Authentication; } authenticate()...
That follow this style guide as best as they willing to. I don't think class should be in any angular style guide, nor that any style guide should be followed...