Some improvments which mayed be increase performance in angular applications