lineman-angular updated to ng-annotate

We use LinemanJS to automate the build process of various AngularJS projects. Two newer projects use the most excellent UI-router package, and I had some issues. The resolve section required manual protection for minification; ngmin, the automatic minify protector included with lineman-angular, did not handle resolves correctly. So this code: resolve: { liveConfig: function(ServerConfigService) {… Continue reading lineman-angular updated to ng-annotate

Intellij IDEA SCSS File Watcher

I use IntelliJ IDEA on a Centos VM for AngularJS development at work, and I have a FileWatcher configured to compile the SCSS files from the designer into CSS when they change. It stopped working one day. After days of bad behaviour because I did not have the correct CSS, I compared configs. Mine looked… Continue reading Intellij IDEA SCSS File Watcher

Why doesn’t my #!@$#$%@ console show my variables?

Given: Google Chrome, Dev Tools open, Console open. Paused at breakpoint. $scope.currentDb $scope.currentDb $scope.currentDbb $scope.currentDb Date.now() Nothing prints. Why? Give me a few hours. Finally, consider the log level selector bottom right of the console panel. Note the current selection is “Debug”. Click the “All” button. $scope.currentDbb undefined (should be) $scope.currentDb WebSource {dbName: “name”, dbIcon:… Continue reading Why doesn’t my #!@$#$%@ console show my variables?