Saturday, November 25, 2017

$window is not defined

$window needs to be injected.

Example:


app.controller('MyController', function MyController($scope, $window) {

    $window.location = 'http://ssteam-bd.com'
});



#JakariaAhmedShimul
#SSTEAM
we are making brotherhood

Tuesday, November 21, 2017

Page refresh after a specific time


 $('#createp').click(function () {
                setTimeout(function () { window.location.reload(); }, 100);
            });



Best Regards
Jakaria Ahmed Shimul
#SSTEAM
we are making brotherhood
http://ssteam-bd.com/

Monday, November 20, 2017

The name 'media' does not exist in the current context

The @ is a reserved character in Razor. But you can escape it using @@:

Example:  @@media screen and (max-width: 767px) {
      .sidenav {
        height: auto;
        padding: 15px;
      }





Best Regards
Jakaria Ahmed Shimul
#SSTEAM
we are making brotherhood
http://ssteam-bd.com/