March 2, 2016

Angular 1.5 Multi Slot Transclusion

Angular 1.5 Multi Slot Transclusion Transclusion is one of the most useful features when it comes to writing reusable Angular directives. Even if you never heard of what it is, you might have used transclusion before without knowing it. The version 1.5 of AngularJS adds a long awaited feature: Multi Slot Transclusion, that allows us developer […]
READ MORE

theCodeCampus Autor Kai Henzler

Kai Henzler
Developer at thecodecampus </>


October 16, 2015

AngularJS SEO – google will index javascript sites

Google moves yet another step forward and indicates that single page application are getting more common. They just announced to drop the support of hashbang urls and crawl javascript sites without any pre-rendering (html snapshots) of the site – which is totally cool. But there are some limits regarding canonical tags as I discovered. In order […]
READ MORE

Avatar photo

Admin Admin
Developer at thecodecampus </>


October 15, 2015

Structured End-To-End Tests With Protractor

The Angular team provides a tool set for creating end to end tests (e2e) called protractor http://www.protractortest.org based on WebDriver from Selenium. It’s extended by a deferred element finder and support for the ng-model notation, so it could be the ideal partner for testing AngularJS applications. But if wishes were horses, beggars would ride.

Avatar photo

Admin Admin
Developer at thecodecampus </>


September 14, 2015

Gulp – catch and log less errors

To work efficiently its indispensable to get detailed error messages. If you simply pipe the gulp-less task to your stream you will receive a error message – but your whole gulp task will crash.

what we get:

Avatar photo

Admin Admin
Developer at thecodecampus </>


September 10, 2015

[SEO] AngularJS remove Hashbang from URL’s – seosafe

By default AngularJS projects use the hashbang syntax for urls to handle navigation without forcing the client to reload the whole application on every state change. Since the (HTML5) History API is available in all modern browsers the usage of the hashbang is not really required anymore. Furthermore urls look way cleaner without the hashbang. […]
READ MORE

Avatar photo

Admin Admin
Developer at thecodecampus </>