slave works without angular
Create slave.js - included in page transform page to slave