Category Archives: Uncategorized

how to know the bootstrap version in angular-cli

open the following file “../node_modules/bootstrap/dist/css/bootstrap.css”, can find the following from the header of the file /*! * Bootstrap v4.0.0-alpha.6 (https://getbootstrap.com) * Copyright 2011-2017 The Bootstrap Authors * Copyright 2011-2017 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ /*! normalize.css v5.0.0 … Continue reading

Posted in angular4, Bootstrap, Uncategorized | Leave a comment

install bootstrap with angular-cli

https://github.com/angular/angular-cli/wiki/stories-include-bootstrap Include Bootstrap Bootstrap is a popular CSS framework which can be used within an Angular project. This guide will walk you through adding bootstrap to your Angular CLI project and configuring it to use bootstrap. Using CSS Getting Started … Continue reading

Posted in angular4, Bootstrap, Uncategorized | Leave a comment

support IE

go to polyfills.ts and uncomments those lines for IE /** IE9, IE10 and IE11 requires all of the following polyfills. **/ // import ‘core-js/es6/symbol’; // import ‘core-js/es6/object’; // import ‘core-js/es6/function’; // import ‘core-js/es6/parse-int’; // import ‘core-js/es6/parse-float’; // import ‘core-js/es6/number’; // … Continue reading

Posted in angular4, Uncategorized | Leave a comment

config & service for each module or for app?

config does each module need it’s own config? the routing is for its own

Posted in Design, Uncategorized | Leave a comment

dynamically load all component or not?

benefit fully configurable easy for change problem where to put the component logic? not able to use the good editor not efficient for programming => how many changes can happen? is it frequent? not many changes the build will go … Continue reading

Posted in Design, Uncategorized | Leave a comment

debug grails3

grails run-app –debug-jvm setup elicpse install gradle plugin install groovy http://dist.springsource.org/snapshot/GRECLIPSE/e4.5/ import project select build xxx https://tedvinke.wordpress.com/2015/10/17/eclipse-mars-grails-3-1-with-gradle-groovy-and-gsp-support/ debug remote java application http://stackoverflow.com/questions/21847441/debug-grails-application-in-eclipse-ide You can start a Grails app (one that has an Eclipse Grails nature, i.e. it was created in … Continue reading

Posted in Grails, Uncategorized | Leave a comment

angularjs http cache expire

until the page refresh, according to this site here are the $cacheFactory specs Storage Javascript heap memory Eviction algorithm Least recently used (LRU) Time-to-live until page refresh Support for revalidation No Requires cooperation of remote server No

Posted in Angularjs, Uncategorized | Leave a comment