Skip to content

Content Tagged "angular"

Page 1 of 1

Content Tagged "angular"

Fix TS1144 for e.g. flex-layout

September 5, 2018Category: Software
TL;DR: Update your typescript version dependency. These days we're updating some angular apps to the most recent version (6 at the time of writing this entry). Everything is nice, with the exception of various errors we get because of the other dependencies. The most recent one was a TS114…

Fix Angular 2 Tests with Karma

March 1, 2017Category: Software
Below are some fixes I had to apply in order to make Angular 2 tests work with karma . Binding Error : Can't bind to 'ngModel' since it isn't a known property of 'input' Solution : Import FormsModule in your test: Unknown component Error : 'custom-component' is not a known element Solution…

Angular 2Refresh Bound Variables from Callback

January 31, 2017Category: Software
TL;DR: Use ChangeDetectorRef 's detectChanges() at the end of your callback code. While developing my electron.js app, I've had the following workflow: I have an input element and a button The input element is capable of editing a path The button triggers a File Open dialog The…

Electron AppUse SCSS, Luke!

December 2, 2016Categories: Project Management, Software
Traditionally, I've been a LESS supporter. The way it does mixins for example seems to me more intuitive. However, I noticed that my go-to framework ( bootstrap ) is now doing SASS-first and then LESS. So, one adapts... and the option in angular-cli makes things less painful. What was painful was…

Electron and WebPack - Live Reloads

December 2, 2016Categories: Software, Tutorial
I wanted to create a skeleton with Electron, Angular 2, capable of live reload while in development. I've settled on the following framework: Electron (d'oh!) Angular 2 Angular CLI (because it makes it easy to generate boilerplate code) SASS (SCSS in fact) Webpack 2 and Babel After a lot of trial…

Electron App. Why angular-cli?

December 2, 2016Categories: Software, Tutorial
The decision has been made for me since I'm new to Angular in general and the CLI offers a package deal particularly where code generation and initial package management is concerned. There's also the boon of webpack, which is used as engine. Although the balance tilts heavily in favour of using…

Real Sticky Footer with Material Angular

August 28, 2015Category: Software
I needed to set up a sticky footer as part of my Angular and Material Design experiment. You would not believe how many resource I could find (some of them listed below)! Unfortunately, most of them had a problem; blank page looked fine (header and footer in the right places), but the page…

All tags