I like to use OmniFETs for MOSFETs because they have internal protection against ESD so I am unlikely to damage them while handling and then when they don't work I don't have to wonder if it was damaged or I have a circuit mistake.  These are n-channel FETs, but now I need a p-channel FET.  I tried to find one Mouser and Digikey, but was unsuccessful.  Is there such a thing?

It would basically be a MOSFET and a diode in one package.  Other things like over-current and over-temperature protection would also be nice, but are less important.


Question: Angular service containing http get call not working with ng-repeat
Answer: $http performs asynchronously and may or may not be finished at any given point in time which is why your return statement dont work. 

Use $q or simply handle the promise inside the controller:

Service:

projectManagerApp.factory('ajaxServices', function ($http) {
    return {
         getProjects : function () {
            return $http.get('projects.json', { data: {} })           
        }
    }       
});


Controller:

function projectController($scope, ajaxServices) {
    ajaxServices.getProjects().success(function (data) {
        if (window.console &amp;&amp; console.log) {
            console.log("objects returned: " + data.length);
        }                          
        $scope.projects = data
    });
}


Plunk